hs-admin-ui 17.1.8 → 17.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/h5.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { h as K, g as W, E as X, a as g, f as J, d as Q } from "./index-BQDSqEv7.js";
2
- import { defineComponent as j, computed as L, shallowRef as Z, reactive as q, watch as ee, resolveComponent as ae, resolveDirective as te, withDirectives as le, createElementBlock as B, openBlock as k, createElementVNode as u, createBlock as z, createCommentVNode as ne, createVNode as o, unref as t, withCtx as r, createTextVNode as U, ref as I, onMounted as oe, onUnmounted as re, toDisplayString as T, Fragment as se, renderList as ie } from "vue";
3
- import { K as G, H as $, b9 as A, M as H, a3 as Y, E as de, bf as ue, aP as v, bg as M, aj as pe, S as O, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-DRga4e6k.js";
1
+ import { h as K, g as W, E as X, a as h, f as J, d as Q } from "./index--fQX542M.js";
2
+ import { defineComponent as j, computed as E, shallowRef as Z, reactive as q, watch as ee, resolveComponent as ae, resolveDirective as te, withDirectives as le, createElementBlock as A, openBlock as S, createElementVNode as d, createBlock as z, createCommentVNode as ne, createVNode as o, unref as t, withCtx as s, createTextVNode as $, ref as k, onMounted as oe, onUnmounted as re, toDisplayString as M, Fragment as se, renderList as ie } from "vue";
3
+ import { K as G, H as D, b9 as F, M as H, a3 as Y, E as de, bf as ue, aP as v, bg as O, aj as pe, S as B, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-hn7VbZYW.js";
4
4
  const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ j({
5
5
  __name: "Upload",
6
6
  props: {
@@ -10,7 +10,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
10
10
  },
11
11
  proxy: {
12
12
  type: String,
13
- required: !0
13
+ default: ""
14
14
  },
15
15
  headers: {
16
16
  type: Object,
@@ -38,103 +38,103 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
38
38
  }
39
39
  },
40
40
  emits: ["success"],
41
- setup(i, { emit: C }) {
42
- const p = i, x = G(), V = L(() => x.limit || p.limit), h = L(() => $.pick(x, ["company_id"])), c = C, _ = Z(), a = q({
41
+ setup(i, { emit: x }) {
42
+ const p = i, _ = G(), V = E(() => _.limit || p.limit), c = E(() => _.proxy.replace("/", "") || p.proxy.replace("/", "")), g = E(() => D.pick(_, ["company_id"])), I = x, l = Z(), n = q({
43
43
  loading: !1,
44
44
  preview: !1,
45
45
  index: 0,
46
46
  headers: p.headers,
47
47
  fileList: []
48
- }), s = L(() => a.fileList.map((l) => l.url));
48
+ }), P = E(() => n.fileList.map((e) => e.url));
49
49
  ee(
50
- () => a.fileList.length,
51
- (l) => {
50
+ () => n.fileList.length,
51
+ (e) => {
52
52
  setTimeout(() => {
53
- const e = document.querySelector(".upload-wrapper .el-upload--picture-card");
54
- e && (e.style.display = l >= V.value && l > 0 ? "none" : "inline-flex");
53
+ const a = document.querySelector(".upload-wrapper .el-upload--picture-card");
54
+ a && (a.style.display = e >= V.value && e > 0 ? "none" : "inline-flex");
55
55
  }, 100);
56
56
  },
57
57
  {
58
58
  immediate: !0
59
59
  }
60
60
  );
61
- function E() {
61
+ function L() {
62
62
  return H({
63
- url: `${window.location.origin}/${p.proxy}/sys/get_pub_token`
64
- }).then((l) => `Bearer ${l == null ? void 0 : l.data}`);
63
+ url: `${window.location.origin}/${c.value}/sys/get_pub_token`
64
+ }).then((e) => `Bearer ${e == null ? void 0 : e.data}`);
65
65
  }
66
- async function D() {
67
- if ($.isEmpty(p.headers))
68
- return E().then((l) => {
69
- a.headers = {
70
- Authorization: l
66
+ async function N() {
67
+ if (D.isEmpty(p.headers))
68
+ return L().then((e) => {
69
+ n.headers = {
70
+ Authorization: e
71
71
  };
72
72
  });
73
73
  }
74
- function P(l) {
75
- a.index = a.fileList.findIndex((e) => e.url === l.url), a.preview = !0;
74
+ function R(e) {
75
+ n.index = n.fileList.findIndex((a) => a.url === e.url), n.preview = !0;
76
76
  }
77
77
  let w = [];
78
- async function N() {
79
- a.loading = !0, w = [], _.value.submit();
78
+ async function T() {
79
+ n.loading = !0, w = [], l.value.submit();
80
80
  }
81
- async function R(l, e, n) {
82
- if (l.data && w.push(...l.data), w.length < a.fileList.length)
81
+ async function r(e, a, u) {
82
+ if (e.data && w.push(...e.data), w.length < n.fileList.length)
83
83
  return;
84
- const d = w.map((y) => ({
85
- extname: y.suffix.replace(".", ""),
86
- id: y.id,
87
- name: y.name,
88
- path: y.path,
89
- url: p.ossUrl + y.path
84
+ const m = w.map((f) => ({
85
+ extname: f.suffix.replace(".", ""),
86
+ id: f.id,
87
+ name: f.name,
88
+ path: f.path,
89
+ url: p.ossUrl + f.path
90
90
  }));
91
- if (a.loading = !1, !d.length)
91
+ if (n.loading = !1, !m.length)
92
92
  return;
93
- const m = await E();
93
+ const C = await L();
94
94
  H({
95
- url: `${window.location.origin}/${p.proxy}/pub_token/mobile_attach_push`,
95
+ url: `${window.location.origin}/${c.value}/pub_token/mobile_attach_push`,
96
96
  method: "post",
97
97
  headers: {
98
- Authorization: m
98
+ Authorization: C
99
99
  },
100
100
  data: {
101
- attach_paths: d,
102
- ...$.pick(x, ["company_id", "user_id"])
101
+ attach_paths: m,
102
+ ...D.pick(_, ["company_id", "user_id"])
103
103
  }
104
104
  }).then(() => {
105
- a.fileList = [], c("success", { result: d, file: e, files: n });
105
+ n.fileList = [], I("success", { result: m, file: a, files: u });
106
106
  });
107
107
  }
108
- return (l, e) => {
109
- const n = ae("el-image-viewer"), d = te("loading");
110
- return le((k(), B("div", me, [
111
- u("div", ge, [
108
+ return (e, a) => {
109
+ const u = ae("el-image-viewer"), m = te("loading");
110
+ return le((S(), A("div", me, [
111
+ d("div", ge, [
112
112
  o(t(K), {
113
113
  ref_key: "uploadRef",
114
- ref: _,
115
- "file-list": a.fileList,
116
- "onUpdate:fileList": e[0] || (e[0] = (m) => a.fileList = m),
114
+ ref: l,
115
+ "file-list": n.fileList,
116
+ "onUpdate:fileList": a[0] || (a[0] = (C) => n.fileList = C),
117
117
  "list-type": i.listType,
118
118
  accept: i.accept,
119
119
  name: i.name,
120
- data: h.value,
121
- action: i.proxy + i.action,
122
- headers: a.headers,
120
+ data: g.value,
121
+ action: c.value + i.action,
122
+ headers: n.headers,
123
123
  limit: V.value,
124
124
  multiple: V.value > 1,
125
125
  "auto-upload": !1,
126
- "on-preview": P,
127
- "before-upload": D,
128
- "on-success": R
126
+ "on-preview": R,
127
+ "before-upload": N,
128
+ "on-success": r
129
129
  }, {
130
- default: r(() => [...e[2] || (e[2] = [
131
- u("svg", {
130
+ default: s(() => [...a[2] || (a[2] = [
131
+ d("svg", {
132
132
  width: "34",
133
133
  height: "34",
134
134
  viewBox: "0 0 100 100",
135
135
  xmlns: "http://www.w3.org/2000/svg"
136
136
  }, [
137
- u("rect", {
137
+ d("rect", {
138
138
  x: "45",
139
139
  y: "20",
140
140
  width: "10",
@@ -142,7 +142,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
142
142
  rx: "2",
143
143
  fill: "#1677ff"
144
144
  }),
145
- u("rect", {
145
+ d("rect", {
146
146
  x: "20",
147
147
  y: "45",
148
148
  width: "60",
@@ -155,32 +155,32 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
155
155
  _: 1
156
156
  }, 8, ["file-list", "list-type", "accept", "name", "data", "action", "headers", "limit", "multiple"])
157
157
  ]),
158
- a.preview ? (k(), z(n, {
158
+ n.preview ? (S(), z(u, {
159
159
  key: 0,
160
- "url-list": s.value,
160
+ "url-list": P.value,
161
161
  "show-progress": "",
162
- "initial-index": a.index,
163
- onClose: e[1] || (e[1] = (m) => a.preview = !1)
162
+ "initial-index": n.index,
163
+ onClose: a[1] || (a[1] = (C) => n.preview = !1)
164
164
  }, null, 8, ["url-list", "initial-index"])) : ne("", !0),
165
- o(t(A), {
165
+ o(t(F), {
166
166
  size: "large",
167
167
  type: "primary",
168
- onClick: N
168
+ onClick: T
169
169
  }, {
170
- default: r(() => [...e[3] || (e[3] = [
171
- U("上传", -1)
170
+ default: s(() => [...a[3] || (a[3] = [
171
+ $("上传", -1)
172
172
  ])]),
173
173
  _: 1
174
174
  })
175
175
  ])), [
176
- [d, a.loading]
176
+ [m, n.loading]
177
177
  ]);
178
178
  };
179
179
  }
180
- }), he = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-b7ecbaed"]]), ye = [
180
+ }), he = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-d2e8fc94"]]), ye = [
181
181
  { label: "男", value: "男" },
182
182
  { label: "女", value: "女" }
183
- ], f = {
183
+ ], y = {
184
184
  name: {
185
185
  required: !0,
186
186
  message: "请输入姓名",
@@ -230,17 +230,17 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
230
230
  address: "请输入地址",
231
231
  remark: "请输入备注",
232
232
  captcha: "请输入验证码"
233
- }, S = {
233
+ }, U = {
234
234
  phone: 11,
235
235
  idCard: 18,
236
236
  age: 3,
237
237
  captcha: 6
238
238
  }, ve = {
239
- name: [f.name, f.nameLength],
240
- phone: [f.phone, f.phonePattern],
241
- idCard: [f.idCardPattern],
242
- age: [f.agePattern],
243
- captcha: [f.captcha, f.captchaLength]
239
+ name: [y.name, y.nameLength],
240
+ phone: [y.phone, y.phonePattern],
241
+ idCard: [y.idCardPattern],
242
+ age: [y.agePattern],
243
+ captcha: [y.captcha, y.captchaLength]
244
244
  }, be = { class: "member-register-page" }, _e = { class: "page-header" }, we = { class: "page-subtitle" }, Ce = { class: "form-container" }, xe = { class: "form-content" }, Ve = { class: "sms-code-wrapper" }, Ie = { class: "submit-area" }, ke = /* @__PURE__ */ j({
245
245
  __name: "MemberRegister",
246
246
  props: {
@@ -250,7 +250,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
250
250
  }
251
251
  },
252
252
  setup(i) {
253
- const { countdownText: C, isCountingDown: p, stopCountdown: x, sendSmsCode: V } = N(), h = I(), c = I(!1), _ = i, a = q({
253
+ const { countdownText: x, isCountingDown: p, stopCountdown: _, sendSmsCode: V } = w(), c = k(), g = k(!1), I = i, l = q({
254
254
  name: "",
255
255
  gender: "男",
256
256
  phone: "",
@@ -259,40 +259,40 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
259
259
  address: "",
260
260
  remark: "",
261
261
  captcha: ""
262
- }), s = q({
262
+ }), n = q({
263
263
  topCompanyId: "",
264
264
  companyId: "",
265
265
  companyName: "",
266
266
  defaultMemberType: "",
267
267
  discount: 0
268
- }), E = async () => {
269
- if (!h.value)
268
+ }), P = async () => {
269
+ if (!c.value)
270
270
  return !1;
271
271
  try {
272
- return await h.value.validate();
272
+ return await c.value.validate();
273
273
  } catch {
274
274
  return !1;
275
275
  }
276
- }, D = async () => {
277
- if (!await E())
276
+ }, L = async () => {
277
+ if (!await P())
278
278
  return;
279
- c.value = !0;
279
+ g.value = !0;
280
280
  const e = {
281
- vip_name: a.name,
282
- sex: a.gender,
283
- telephone: a.phone,
284
- identity_card: a.idCard,
285
- age: a.age,
286
- address: a.address,
287
- remark: a.remark,
288
- valid_code: a.captcha,
289
- vip_type: s.defaultMemberType,
290
- top_company_id: s.topCompanyId,
291
- company_id: s.companyId,
292
- discount: s.discount
281
+ vip_name: l.name,
282
+ sex: l.gender,
283
+ telephone: l.phone,
284
+ identity_card: l.idCard,
285
+ age: l.age,
286
+ address: l.address,
287
+ remark: l.remark,
288
+ valid_code: l.captcha,
289
+ vip_type: n.defaultMemberType,
290
+ top_company_id: n.topCompanyId,
291
+ company_id: n.companyId,
292
+ discount: n.discount
293
293
  };
294
294
  try {
295
- await M.post(`${_.proxy}/pub/add_vip_info`, e), pe.alert("注册成功!", "提示", {
295
+ await O.post(`${I.proxy}/pub/add_vip_info`, e), pe.alert("注册成功!", "提示", {
296
296
  closeOnClickModal: !1,
297
297
  // 禁止点击遮罩关闭
298
298
  closeOnPressEscape: !1,
@@ -304,154 +304,154 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
304
304
  });
305
305
  } catch {
306
306
  } finally {
307
- c.value = !1;
307
+ g.value = !1;
308
308
  }
309
- }, P = async () => {
309
+ }, N = async () => {
310
310
  try {
311
- return (await M.get(`${_.proxy}/pub/get_list_vip_price_set?top_company_id=${s.topCompanyId}`)).data;
311
+ return (await O.get(`${I.proxy}/pub/get_list_vip_price_set?top_company_id=${n.topCompanyId}`)).data;
312
312
  } catch {
313
- O.error("获取默认会员等级失败");
313
+ B.error("获取默认会员等级失败");
314
314
  }
315
- }, w = async () => {
316
- const l = G();
317
- s.topCompanyId = l.top_company_id || "", s.companyId = l.company_id || "", s.companyName = l.company_name || "";
318
- const e = await P();
319
- s.defaultMemberType = (e == null ? void 0 : e.id) || "", s.discount = (e == null ? void 0 : e.discount) || 0;
315
+ }, R = async () => {
316
+ const r = G();
317
+ n.topCompanyId = r.top_company_id || "", n.companyId = r.company_id || "", n.companyName = r.company_name || "";
318
+ const e = await N();
319
+ n.defaultMemberType = (e == null ? void 0 : e.id) || "", n.discount = (e == null ? void 0 : e.discount) || 0;
320
320
  };
321
- function N() {
322
- const l = I(0), e = I(null), n = 60, d = I(!1), m = L(() => l.value > 0 ? `${l.value}秒后重新发送` : "获取验证码"), y = () => {
323
- l.value = n, d.value = !0, e.value = setInterval(() => {
324
- l.value--, l.value <= 0 && F();
321
+ function w() {
322
+ const r = k(0), e = k(null), a = 60, u = k(!1), m = E(() => r.value > 0 ? `${r.value}秒后重新发送` : "获取验证码"), C = () => {
323
+ r.value = a, u.value = !0, e.value = setInterval(() => {
324
+ r.value--, r.value <= 0 && f();
325
325
  }, 1e3);
326
- }, F = () => {
327
- e.value && (clearInterval(e.value), e.value = null), l.value = 0, d.value = !1;
326
+ }, f = () => {
327
+ e.value && (clearInterval(e.value), e.value = null), r.value = 0, u.value = !1;
328
328
  };
329
329
  return {
330
330
  countdownText: m,
331
- isCountingDown: d,
332
- stopCountdown: F,
331
+ isCountingDown: u,
332
+ stopCountdown: f,
333
333
  sendSmsCode: async () => {
334
- if (d.value || !h.value)
334
+ if (u.value || !c.value)
335
335
  return;
336
- if (!await h.value.validateField("phone")) {
337
- O.warning("请先输入正确的手机号");
336
+ if (!await c.value.validateField("phone")) {
337
+ B.warning("请先输入正确的手机号");
338
338
  return;
339
339
  }
340
- c.value = !0;
340
+ g.value = !0;
341
341
  try {
342
- await M.post(`${_.proxy}/pub/send_sms_vip_valid_code`, {
343
- telephone: a.phone,
344
- top_company_id: s.topCompanyId,
345
- company_id: s.companyId
346
- }), O.success("验证码发送成功"), y();
342
+ await O.post(`${I.proxy}/pub/send_sms_vip_valid_code`, {
343
+ telephone: l.phone,
344
+ top_company_id: n.topCompanyId,
345
+ company_id: n.companyId
346
+ }), B.success("验证码发送成功"), C();
347
347
  } catch {
348
348
  } finally {
349
- c.value = !1;
349
+ g.value = !1;
350
350
  }
351
351
  }
352
352
  };
353
353
  }
354
- function R() {
355
- if (a.idCard.length === 18) {
356
- const l = a.idCard.substring(6, 14), e = parseInt(l.substring(0, 4)), n = parseInt(l.substring(4, 6)), d = parseInt(l.substring(6, 8)), m = (/* @__PURE__ */ new Date()).getFullYear() - e - ((/* @__PURE__ */ new Date()).getMonth() + 1 < n || (/* @__PURE__ */ new Date()).getMonth() + 1 === n && (/* @__PURE__ */ new Date()).getDate() < d ? 1 : 0);
357
- a.age = m.toString(), a.gender = Number(a.idCard.charAt(16)) % 2 === 0 ? "女" : "男";
354
+ function T() {
355
+ if (l.idCard.length === 18) {
356
+ const r = l.idCard.substring(6, 14), e = parseInt(r.substring(0, 4)), a = parseInt(r.substring(4, 6)), u = parseInt(r.substring(6, 8)), m = (/* @__PURE__ */ new Date()).getFullYear() - e - ((/* @__PURE__ */ new Date()).getMonth() + 1 < a || (/* @__PURE__ */ new Date()).getMonth() + 1 === a && (/* @__PURE__ */ new Date()).getDate() < u ? 1 : 0);
357
+ l.age = m.toString(), l.gender = Number(l.idCard.charAt(16)) % 2 === 0 ? "女" : "男";
358
358
  }
359
359
  }
360
360
  return oe(() => {
361
- w();
361
+ R();
362
362
  }), re(() => {
363
- x();
364
- }), (l, e) => (k(), B("div", be, [
365
- u("header", _e, [
366
- e[8] || (e[8] = u("h1", { class: "page-title" }, "会员信息登记", -1)),
367
- u("p", we, [
363
+ _();
364
+ }), (r, e) => (S(), A("div", be, [
365
+ d("header", _e, [
366
+ e[8] || (e[8] = d("h1", { class: "page-title" }, "会员信息登记", -1)),
367
+ d("p", we, [
368
368
  o(t(de), null, {
369
- default: r(() => [
369
+ default: s(() => [
370
370
  o(t(ue))
371
371
  ]),
372
372
  _: 1
373
373
  }),
374
- u("span", null, T(s.companyName), 1)
374
+ d("span", null, M(n.companyName), 1)
375
375
  ])
376
376
  ]),
377
- u("main", Ce, [
377
+ d("main", Ce, [
378
378
  o(t(W), { class: "form-scroll" }, {
379
- default: r(() => [
380
- u("div", xe, [
379
+ default: s(() => [
380
+ d("div", xe, [
381
381
  o(t(X), {
382
382
  ref_key: "formRef",
383
- ref: h,
384
- model: a,
383
+ ref: c,
384
+ model: l,
385
385
  rules: t(ve),
386
386
  "label-position": "left",
387
387
  "label-width": "70px",
388
388
  class: "member-form"
389
389
  }, {
390
- default: r(() => [
391
- o(t(g), {
390
+ default: s(() => [
391
+ o(t(h), {
392
392
  label: "姓名",
393
393
  prop: "name"
394
394
  }, {
395
- default: r(() => [
395
+ default: s(() => [
396
396
  o(t(v), {
397
- modelValue: a.name,
398
- "onUpdate:modelValue": e[0] || (e[0] = (n) => a.name = n),
397
+ modelValue: l.name,
398
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => l.name = a),
399
399
  placeholder: t(b).name,
400
400
  clearable: ""
401
401
  }, null, 8, ["modelValue", "placeholder"])
402
402
  ]),
403
403
  _: 1
404
404
  }),
405
- o(t(g), {
405
+ o(t(h), {
406
406
  label: "手机号",
407
407
  prop: "phone"
408
408
  }, {
409
- default: r(() => [
409
+ default: s(() => [
410
410
  o(t(v), {
411
- modelValue: a.phone,
412
- "onUpdate:modelValue": e[1] || (e[1] = (n) => a.phone = n),
411
+ modelValue: l.phone,
412
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => l.phone = a),
413
413
  type: "tel",
414
414
  placeholder: t(b).phone,
415
- maxlength: t(S).phone,
415
+ maxlength: t(U).phone,
416
416
  clearable: ""
417
417
  }, null, 8, ["modelValue", "placeholder", "maxlength"])
418
418
  ]),
419
419
  _: 1
420
420
  }),
421
- o(t(g), {
421
+ o(t(h), {
422
422
  label: "身份证号",
423
423
  prop: "idCard"
424
424
  }, {
425
- default: r(() => [
425
+ default: s(() => [
426
426
  o(t(v), {
427
- modelValue: a.idCard,
428
- "onUpdate:modelValue": e[2] || (e[2] = (n) => a.idCard = n),
429
- onInput: R,
427
+ modelValue: l.idCard,
428
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => l.idCard = a),
429
+ onInput: T,
430
430
  placeholder: t(b).idCard,
431
- maxlength: t(S).idCard,
431
+ maxlength: t(U).idCard,
432
432
  clearable: ""
433
433
  }, null, 8, ["modelValue", "placeholder", "maxlength"])
434
434
  ]),
435
435
  _: 1
436
436
  }),
437
- o(t(g), {
437
+ o(t(h), {
438
438
  label: "性别",
439
439
  prop: "gender"
440
440
  }, {
441
- default: r(() => [
441
+ default: s(() => [
442
442
  o(t(J), {
443
- modelValue: a.gender,
444
- "onUpdate:modelValue": e[3] || (e[3] = (n) => a.gender = n),
443
+ modelValue: l.gender,
444
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => l.gender = a),
445
445
  class: "gender-radio-group"
446
446
  }, {
447
- default: r(() => [
448
- (k(!0), B(se, null, ie(t(ye), (n) => (k(), z(t(Q), {
449
- key: n.value,
450
- value: n.value,
447
+ default: s(() => [
448
+ (S(!0), A(se, null, ie(t(ye), (a) => (S(), z(t(Q), {
449
+ key: a.value,
450
+ value: a.value,
451
451
  border: ""
452
452
  }, {
453
- default: r(() => [
454
- U(T(n.label), 1)
453
+ default: s(() => [
454
+ $(M(a.label), 1)
455
455
  ]),
456
456
  _: 2
457
457
  }, 1032, ["value"]))), 128))
@@ -461,73 +461,73 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
461
461
  ]),
462
462
  _: 1
463
463
  }),
464
- o(t(g), {
464
+ o(t(h), {
465
465
  label: "年龄",
466
466
  prop: "age"
467
467
  }, {
468
- default: r(() => [
468
+ default: s(() => [
469
469
  o(t(v), {
470
470
  type: "number",
471
- modelValue: a.age,
472
- "onUpdate:modelValue": e[4] || (e[4] = (n) => a.age = n),
471
+ modelValue: l.age,
472
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => l.age = a),
473
473
  placeholder: t(b).age,
474
- maxlength: t(S).age,
474
+ maxlength: t(U).age,
475
475
  clearable: ""
476
476
  }, null, 8, ["modelValue", "placeholder", "maxlength"])
477
477
  ]),
478
478
  _: 1
479
479
  }),
480
- o(t(g), {
480
+ o(t(h), {
481
481
  label: "地址",
482
482
  prop: "address"
483
483
  }, {
484
- default: r(() => [
484
+ default: s(() => [
485
485
  o(t(v), {
486
- modelValue: a.address,
487
- "onUpdate:modelValue": e[5] || (e[5] = (n) => a.address = n),
486
+ modelValue: l.address,
487
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => l.address = a),
488
488
  placeholder: t(b).address,
489
489
  clearable: ""
490
490
  }, null, 8, ["modelValue", "placeholder"])
491
491
  ]),
492
492
  _: 1
493
493
  }),
494
- o(t(g), {
494
+ o(t(h), {
495
495
  label: "备注",
496
496
  prop: "remark"
497
497
  }, {
498
- default: r(() => [
498
+ default: s(() => [
499
499
  o(t(v), {
500
- modelValue: a.remark,
501
- "onUpdate:modelValue": e[6] || (e[6] = (n) => a.remark = n),
500
+ modelValue: l.remark,
501
+ "onUpdate:modelValue": e[6] || (e[6] = (a) => l.remark = a),
502
502
  placeholder: t(b).remark,
503
503
  clearable: ""
504
504
  }, null, 8, ["modelValue", "placeholder"])
505
505
  ]),
506
506
  _: 1
507
507
  }),
508
- o(t(g), {
508
+ o(t(h), {
509
509
  label: "验证码",
510
510
  prop: "captcha"
511
511
  }, {
512
- default: r(() => [
513
- u("div", Ve, [
512
+ default: s(() => [
513
+ d("div", Ve, [
514
514
  o(t(v), {
515
- modelValue: a.captcha,
516
- "onUpdate:modelValue": e[7] || (e[7] = (n) => a.captcha = n),
515
+ modelValue: l.captcha,
516
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => l.captcha = a),
517
517
  placeholder: t(b).captcha,
518
- maxlength: t(S).captcha,
518
+ maxlength: t(U).captcha,
519
519
  clearable: "",
520
520
  class: "sms-code-input"
521
521
  }, null, 8, ["modelValue", "placeholder", "maxlength"]),
522
- o(t(A), {
522
+ o(t(F), {
523
523
  type: "primary",
524
524
  disabled: t(p),
525
- loading: c.value,
525
+ loading: g.value,
526
526
  class: "sms-code-btn",
527
527
  onClick: t(V)
528
528
  }, {
529
- default: r(() => [
530
- U(T(t(C)), 1)
529
+ default: s(() => [
530
+ $(M(t(x)), 1)
531
531
  ]),
532
532
  _: 1
533
533
  }, 8, ["disabled", "loading", "onClick"])
@@ -538,16 +538,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
538
538
  ]),
539
539
  _: 1
540
540
  }, 8, ["model", "rules"]),
541
- u("div", Ie, [
542
- o(t(A), {
541
+ d("div", Ie, [
542
+ o(t(F), {
543
543
  type: "primary",
544
544
  round: "",
545
545
  class: "submit-btn",
546
- loading: c.value,
547
- onClick: D
546
+ loading: g.value,
547
+ onClick: L
548
548
  }, {
549
- default: r(() => [...e[9] || (e[9] = [
550
- U(" 提交 ", -1)
549
+ default: s(() => [...e[9] || (e[9] = [
550
+ $(" 提交 ", -1)
551
551
  ])]),
552
552
  _: 1
553
553
  }, 8, ["loading"])
@@ -564,11 +564,11 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
564
564
  MemberRegister: Ee
565
565
  };
566
566
  function Le(i) {
567
- for (const [C, p] of Object.entries(Se))
568
- i.component(`H${C}`, p);
567
+ for (const [x, p] of Object.entries(Se))
568
+ i.component(`H${x}`, p);
569
569
  }
570
570
  function Te(i) {
571
- $.has(i, "_context.directives.loading") || i.directive("loading", ce.directive), i.use(Le);
571
+ D.has(i, "_context.directives.loading") || i.directive("loading", ce.directive), i.use(Le);
572
572
  }
573
573
  export {
574
574
  Te as useHsAdminUi