dlzn-ui 2.0.89 → 2.0.91

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.
Files changed (162) hide show
  1. package/assets/pagination-BpKuirTF.css +1 -0
  2. package/assets/table-CVArV2Pt.css +1 -0
  3. package/chunks/{AssignUser-vDx4D82G.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
  4. package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
  5. package/chunks/{ColumnInfo-BYddY4ID.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
  6. package/chunks/{Common-DgFtn6uk.mjs → Common-Bq9qdi2i.mjs} +1 -1
  7. package/chunks/{Day-D57OuSr1.mjs → Day-BUVcUtFu.mjs} +1 -1
  8. package/chunks/{DictTypeDetail-Bgcoi5BX.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
  9. package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-DJq_EewR.mjs} +1 -1
  10. package/chunks/{Hour-C2kHsnWx.mjs → Hour-CwQQPXaR.mjs} +1 -1
  11. package/chunks/{Import-CUwSBuu3.mjs → Import-rJdKqVqG.mjs} +2 -2
  12. package/chunks/{Index-BHTir2BG.mjs → Index-C_K9w486.mjs} +1 -1
  13. package/chunks/{Index-qbd9CTh4.mjs → Index-DVPHy-2h.mjs} +1 -1
  14. package/chunks/{Index-C_Gf0Jgf.mjs → Index-Wsuv1_GI.mjs} +1 -1
  15. package/chunks/{Index-BLw1K1xl.mjs → Index-xm96pJY-.mjs} +1 -1
  16. package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-mkv5naiz.mjs} +1 -1
  17. package/chunks/{Log-uPhl0QJF.mjs → Log-i0vc4tLi.mjs} +14 -16
  18. package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-BtYLzpau.mjs} +1 -1
  19. package/chunks/{Minute-cq4gHso5.mjs → Minute-DVOyQfoM.mjs} +1 -1
  20. package/chunks/{Month-RO9Bk7PX.mjs → Month-C9EsJdGm.mjs} +1 -1
  21. package/chunks/{Preview-Gx0BbBT4.mjs → Preview-DT31fnBR.mjs} +1 -1
  22. package/chunks/{Second-CKdMmksB.mjs → Second-2dWCZLjn.mjs} +1 -1
  23. package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
  24. package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
  25. package/chunks/{SelectUser-sanLPSrz.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
  26. package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
  27. package/chunks/{app-Cd7qvZaM.mjs → app-MIQr7kNK.mjs} +1 -1
  28. package/chunks/{custom-page-list-BZCbj6h1.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
  29. package/chunks/{custom-page-table-Cm72ycKd.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
  30. package/chunks/{job-dsXPTFKb.mjs → job-D6_vm6Ii.mjs} +24 -24
  31. package/chunks/{overview-ub_GTqi8.mjs → overview-amJc1B-Y.mjs} +1 -1
  32. package/chunks/{page-list-CX7BUCM4.mjs → page-list-nd2K6s0p.mjs} +3 -3
  33. package/chunks/page-query-Bp2Wfk95.mjs +119 -0
  34. package/chunks/{page-table-B4zES_VU.mjs → page-table-Bgq2mekF.mjs} +57 -57
  35. package/chunks/{pagination-D9VeheYA.mjs → pagination-BlUizDPX.mjs} +3 -3
  36. package/chunks/{provider-BeVE1nWg.mjs → provider-6bwbdidw.mjs} +76 -76
  37. package/chunks/{table-DTNEiuNZ.mjs → table-C-19SNwB.mjs} +12 -12
  38. package/components/app/index.mjs +1 -1
  39. package/components/app/src/app.mjs +1 -1
  40. package/components/button/index.mjs +1 -1
  41. package/components/button/src/button.mjs +1 -1
  42. package/components/checkbox-group/index.mjs +1 -1
  43. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  44. package/components/cron/index.mjs +1 -1
  45. package/components/cron/src/Common.mjs +1 -1
  46. package/components/cron/src/Day.mjs +1 -1
  47. package/components/cron/src/Hour.mjs +1 -1
  48. package/components/cron/src/Minute.mjs +1 -1
  49. package/components/cron/src/Month.mjs +1 -1
  50. package/components/cron/src/Picker.mjs +6 -6
  51. package/components/cron/src/Second.mjs +1 -1
  52. package/components/cron/src/cron.mjs +1 -1
  53. package/components/custom-page-list/index.mjs +1 -1
  54. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  55. package/components/custom-page-table/index.mjs +1 -1
  56. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  57. package/components/dialog/index.mjs +1 -1
  58. package/components/dialog/src/dialog.mjs +1 -1
  59. package/components/form/index.mjs +1 -1
  60. package/components/form/src/form.mjs +1 -1
  61. package/components/index.mjs +10 -10
  62. package/components/overview/index.mjs +1 -1
  63. package/components/overview/src/DicLabel/Index.mjs +1 -1
  64. package/components/overview/src/IndexItem.mjs +1 -1
  65. package/components/overview/src/overview.mjs +1 -1
  66. package/components/page-list/index.mjs +1 -1
  67. package/components/page-list/src/page-list.mjs +1 -1
  68. package/components/page-query/index.mjs +1 -1
  69. package/components/page-query/src/page-query.mjs +1 -1
  70. package/components/page-query/src/page-query.vue.d.ts +1 -2
  71. package/components/page-table/index.mjs +1 -1
  72. package/components/page-table/src/page-table.d.ts +1 -1
  73. package/components/page-table/src/page-table.mjs +1 -1
  74. package/components/pagination/index.mjs +1 -1
  75. package/components/pagination/src/pagination.mjs +1 -1
  76. package/components/provider/index.mjs +1 -1
  77. package/components/provider/src/Provider.mjs +1 -1
  78. package/components/radio-group/index.mjs +1 -1
  79. package/components/radio-group/src/radio-group.mjs +1 -1
  80. package/components/select/index.mjs +1 -1
  81. package/components/select/src/select.mjs +1 -1
  82. package/components/select-sys-user/index.mjs +1 -1
  83. package/components/select-sys-user/src/Picker.mjs +2 -2
  84. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  85. package/components/table/index.mjs +1 -1
  86. package/components/table/src/table.mjs +1 -1
  87. package/components/tree/index.mjs +1 -1
  88. package/components/tree/src/tree.mjs +1 -1
  89. package/components/tree-select/index.mjs +1 -1
  90. package/components/tree-select/src/tree-select.mjs +1 -1
  91. package/components/upload/index.mjs +1 -1
  92. package/components/upload/src/upload.mjs +1 -1
  93. package/hooks/useDicOptions/index.mjs +1 -1
  94. package/hooks/useMountedPromise/index.d.ts +2 -0
  95. package/hooks/useMountedPromise/index.mjs +14 -0
  96. package/hooks/useSysUser/index.mjs +1 -1
  97. package/layout/Entry.mjs +1 -1
  98. package/layout/Home.mjs +5 -5
  99. package/layout/Home1.mjs +2 -2
  100. package/layout/Login.mjs +3 -3
  101. package/layout/NotFound.mjs +1 -1
  102. package/layout/modules/Aside.mjs +1 -1
  103. package/layout/modules/Breadcrumb.mjs +1 -1
  104. package/layout/modules/Header.mjs +1 -1
  105. package/layout/modules/LoginBg.mjs +1 -1
  106. package/layout/profile/Index.mjs +2 -2
  107. package/layout/profile/ResetPwd.mjs +1 -1
  108. package/layout/profile/UserInfo.mjs +1 -1
  109. package/main.mjs +3 -3
  110. package/package.json +1 -1
  111. package/plugins/autoImport/$alova/index.d.ts +1 -0
  112. package/plugins/autoImport/$alova/index.mjs +1 -1
  113. package/plugins/autoImport/$confirm/index.mjs +1 -1
  114. package/plugins/autoImport/$dialog/index.mjs +1 -1
  115. package/plugins/autoImport/$drawer/index.mjs +1 -1
  116. package/plugins/captcha/captcha.mjs +1 -1
  117. package/plugins/captcha/index.mjs +1 -1
  118. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  119. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  120. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  121. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  122. package/plugins/tableRenders/cell/index.mjs +3 -3
  123. package/router/index.mjs +1 -1
  124. package/store/modules/common.mjs +1 -1
  125. package/store/modules/login.mjs +1 -1
  126. package/store/modules/recentRouters.mjs +1 -1
  127. package/store/modules/router.mjs +1 -1
  128. package/store/modules/user.mjs +1 -1
  129. package/views/monitor/cache/index.mjs +2 -2
  130. package/views/monitor/cacheList/index.mjs +2 -2
  131. package/views/monitor/job/index.mjs +1 -1
  132. package/views/monitor/logininfor/index.mjs +2 -2
  133. package/views/monitor/online/index.mjs +2 -2
  134. package/views/monitor/operlog/index.mjs +10 -10
  135. package/views/monitor/server/index.mjs +2 -2
  136. package/views/system/config/index.mjs +11 -11
  137. package/views/system/dept/index.mjs +15 -15
  138. package/views/system/dept/utils.mjs +1 -1
  139. package/views/system/dict/index.mjs +15 -15
  140. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  141. package/views/system/menu/index.mjs +19 -19
  142. package/views/system/menu/utils.mjs +1 -1
  143. package/views/system/notice/index.mjs +6 -6
  144. package/views/system/post/index.mjs +6 -6
  145. package/views/system/role/index.mjs +31 -31
  146. package/views/system/role/modules/AssignUser.mjs +1 -1
  147. package/views/system/role/modules/SelectDept.mjs +1 -1
  148. package/views/system/role/modules/SelectMenu.mjs +1 -1
  149. package/views/system/role/modules/SelectUser.mjs +1 -1
  150. package/views/system/user/index.mjs +41 -41
  151. package/views/tool/gen/editTable/index.mjs +30 -30
  152. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  153. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  154. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  155. package/views/tool/gen/index.mjs +11 -11
  156. package/views/tool/gen/modules/Import.mjs +1 -1
  157. package/views/tool/gen/modules/Preview.mjs +1 -1
  158. package/views/tool/job/index.mjs +1 -1
  159. package/views/tool/job/modules/Log.mjs +1 -1
  160. package/assets/pagination-B9tRH6dt.css +0 -1
  161. package/assets/table-D9WewhPF.css +0 -1
  162. package/chunks/page-query-BmWKqp80.mjs +0 -121
@@ -360,7 +360,7 @@ function Pt(e, t, n) {
360
360
  ...At,
361
361
  closeWhenCloseAll: !0,
362
362
  ...t ?? {},
363
- body: () => k(Un, {}, { default: () => r.value })
363
+ body: () => k(Wn, {}, { default: () => r.value })
364
364
  }, l, u = {
365
365
  ...c,
366
366
  onClosed: () => {
@@ -737,7 +737,7 @@ var an = V("login", () => {
737
737
  e.value = n.token, await Q().getUserInfo();
738
738
  }
739
739
  function i() {
740
- e.value = "", g().clear(), Gt().clear(), Q().clear(), Sn(), $t(), oe();
740
+ e.value = "", g().clear(), Gt().clear(), Q().clear(), Cn(), $t(), oe();
741
741
  }
742
742
  z(() => t.name, () => {
743
743
  t.name === "Login" && i();
@@ -954,7 +954,7 @@ function un(e, t) {
954
954
  lazy: !0,
955
955
  sizeDraggable: !0,
956
956
  ...e ?? {},
957
- body: () => k(Un, {}, { default: () => n.value })
957
+ body: () => k(Wn, {}, { default: () => n.value })
958
958
  }, i, a = {
959
959
  ...r,
960
960
  onClose: (e) => {
@@ -1080,16 +1080,22 @@ function Y(e) {
1080
1080
  }
1081
1081
  // ../../packages/dlzn-ui/plugins/autoImport/$alova/index.ts
1082
1082
  var pn = 15e3, mn = "网络错误,请稍后再试";
1083
- function hn(e, t = !0) {
1083
+ function hn(e, t = !1) {
1084
1084
  let n = {};
1085
1085
  return Object.keys(e).forEach((r) => {
1086
- (!t || (Array.isArray(e[r]) ? e[r].length > 0 : !s(e[r]))) && (n[r] = e[r]);
1086
+ t && s(e[r]) || (n[r] = e[r]);
1087
1087
  }), n;
1088
1088
  }
1089
1089
  function gn(e, t = !0) {
1090
- return new URLSearchParams(hn(e, t)).toString();
1090
+ let n = {};
1091
+ return Object.keys(e).forEach((r) => {
1092
+ (!t || (Array.isArray(e[r]) ? e[r].length > 0 : !s(e[r]))) && (n[r] = e[r]);
1093
+ }), n;
1094
+ }
1095
+ function _n(e, t = !0) {
1096
+ return new URLSearchParams(gn(e, t)).toString();
1091
1097
  }
1092
- function _n(e) {
1098
+ function vn(e) {
1093
1099
  let { data: t, response: n, useDownload: r } = e;
1094
1100
  if (typeof r == "string") f(t, r);
1095
1101
  else {
@@ -1119,22 +1125,16 @@ var X = Ct({
1119
1125
  useToken: !e.url.startsWith("http"),
1120
1126
  ...e.meta ?? {}
1121
1127
  };
1122
- let i = an(), { useEmptyData: a, useEmptyParams: o, useFormData: c, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
1123
- l || G().requestActive(), f && (i.token ? e.config.headers.Authorization = i.token : e.abort()), u !== !1 && n.show(u === !0 ? void 0 : u);
1124
- let p = e.config.params;
1125
- if (typeof p != "string" && (e.config.params = gn(p, o)), a && _t(e.data)) {
1126
- let t = {}, n = e.data;
1127
- Object.keys(n).forEach((e) => {
1128
- s(n[e]) || (t[e] = n[e]);
1129
- }), e.data = t;
1130
- }
1131
- if (c) {
1128
+ let i = an(), { useEmptyData: a, useEmptyParams: o, useFormData: s, useInPolling: c, useLoading: l, useResponseBlob: u, useToken: d } = e.meta;
1129
+ c || G().requestActive(), d && (i.token ? e.config.headers.Authorization = i.token : e.abort()), l !== !1 && n.show(l === !0 ? void 0 : l);
1130
+ let f = e.config.params;
1131
+ if (typeof f != "string" && (e.config.params = _n(f, o)), _t(e.data) && (e.data = hn(e.data, a)), s) {
1132
1132
  let t = new FormData();
1133
1133
  Object.keys(e.data).forEach((n) => {
1134
1134
  t.append(n, e.data[n]);
1135
1135
  }), e.data = t;
1136
1136
  }
1137
- e.config.timeout === pn && (c || e.data instanceof FormData || d) && (e.config.timeout = 0);
1137
+ e.config.timeout === pn && (s || e.data instanceof FormData || u) && (e.config.timeout = 0);
1138
1138
  },
1139
1139
  cacheFor: null,
1140
1140
  requestAdapter: wt(),
@@ -1172,7 +1172,7 @@ var X = Ct({
1172
1172
  } catch (e) {
1173
1173
  return a.error("返回的 response 不能被blob() 方法所解析"), Promise.reject(e);
1174
1174
  }
1175
- return r !== !1 && _n({
1175
+ return r !== !1 && vn({
1176
1176
  data: t,
1177
1177
  response: e,
1178
1178
  useDownload: r
@@ -1212,7 +1212,7 @@ var X = Ct({
1212
1212
  data: s,
1213
1213
  msg: u
1214
1214
  });
1215
- return i === void 0 ? (r !== !1 && (typeof r == "string" ? _n({
1215
+ return i === void 0 ? (r !== !1 && (typeof r == "string" ? vn({
1216
1216
  data: s,
1217
1217
  response: e,
1218
1218
  useDownload: r
@@ -1225,8 +1225,8 @@ var X = Ct({
1225
1225
  shareRequest: !1,
1226
1226
  statesHook: Tt,
1227
1227
  timeout: pn
1228
- }), vn = /* @__PURE__ */ new Map();
1229
- function yn(e) {
1228
+ }), yn = /* @__PURE__ */ new Map();
1229
+ function bn(e) {
1230
1230
  let t = X.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
1231
1231
  cssClass: e.cssClass,
1232
1232
  dictType: e.dictType,
@@ -1235,41 +1235,41 @@ function yn(e) {
1235
1235
  value: e.dictValue
1236
1236
  })));
1237
1237
  e.forEach((e) => {
1238
- vn.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1238
+ yn.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
1239
1239
  });
1240
1240
  }
1241
- var bn = [];
1242
- function xn(e) {
1243
- return bn.includes(e) || bn.push(e), new Promise((t) => {
1241
+ var xn = [];
1242
+ function Sn(e) {
1243
+ return xn.includes(e) || xn.push(e), new Promise((t) => {
1244
1244
  setTimeout(() => {
1245
- let n = bn.filter((e) => !vn.has(e));
1246
- n.length > 0 && yn(n), bn.length = 0, vn.get(e).then((e) => {
1245
+ let n = xn.filter((e) => !yn.has(e));
1246
+ n.length > 0 && bn(n), xn.length = 0, yn.get(e).then((e) => {
1247
1247
  t(e);
1248
1248
  });
1249
1249
  });
1250
1250
  });
1251
1251
  }
1252
1252
  var Z = /* @__PURE__ */ new Map();
1253
- function Sn() {
1254
- bn.length = 0, vn.clear(), Z.clear();
1253
+ function Cn() {
1254
+ xn.length = 0, yn.clear(), Z.clear();
1255
1255
  }
1256
- function Cn(e, t) {
1257
- let n = wn(e);
1256
+ function wn(e, t) {
1257
+ let n = Tn(e);
1258
1258
  return t === void 0 ? i(n) : i(n, t);
1259
1259
  }
1260
- function wn(e, t) {
1260
+ function Tn(e, t) {
1261
1261
  let n;
1262
- return Z.has(e) ? n = Z.get(e) : (n = P([]), Z.set(e, n), xn(e).then((e) => {
1262
+ return Z.has(e) ? n = Z.get(e) : (n = P([]), Z.set(e, n), Sn(e).then((e) => {
1263
1263
  n.value = e;
1264
1264
  })), b(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
1265
1265
  }
1266
- function Tn(e) {
1267
- vn.delete(e), Z.has(e) && xn(e).then((t) => {
1266
+ function En(e) {
1267
+ yn.delete(e), Z.has(e) && Sn(e).then((t) => {
1268
1268
  Z.get(e).value = t;
1269
1269
  });
1270
1270
  }
1271
1271
  // ../../packages/dlzn-ui/components/checkbox-group/src/checkbox-group.vue
1272
- var En = /* @__PURE__ */ E({
1272
+ var Dn = /* @__PURE__ */ E({
1273
1273
  inheritAttrs: !1,
1274
1274
  name: "TCheckboxGroup",
1275
1275
  __name: "checkbox-group",
@@ -1302,7 +1302,7 @@ var En = /* @__PURE__ */ E({
1302
1302
  }
1303
1303
  let l = b(() => {
1304
1304
  let e;
1305
- return n.dicCode ? (n.options && a.error("TCheckboxGroup: dicCode and options cannot be used together"), e = wn(n.dicCode).value) : e = typeof n.options == "string" ? ae(n.options).value : n.options, n.showCheckAll && (e === void 0 ? a.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1305
+ return n.dicCode ? (n.options && a.error("TCheckboxGroup: dicCode and options cannot be used together"), e = Tn(n.dicCode).value) : e = typeof n.options == "string" ? ae(n.options).value : n.options, n.showCheckAll && (e === void 0 ? a.error("TCheckboxGroup: options is required, when showCheckAll is true") : e.unshift({
1306
1306
  checkAll: !0,
1307
1307
  label: "全选"
1308
1308
  })), e;
@@ -1330,7 +1330,7 @@ var En = /* @__PURE__ */ E({
1330
1330
  ref: o
1331
1331
  }), e.$slots))));
1332
1332
  }
1333
- }), Dn = /* @__PURE__ */ E({
1333
+ }), On = /* @__PURE__ */ E({
1334
1334
  inheritAttrs: !1,
1335
1335
  __name: "cron",
1336
1336
  props: /*@__PURE__*/ A({
@@ -1425,7 +1425,7 @@ var En = /* @__PURE__ */ E({
1425
1425
  }));
1426
1426
  return (e, t) => (N(), x(R(le), M(O(u.value)), null, 16));
1427
1427
  }
1428
- }), On = /* @__PURE__ */ E({
1428
+ }), kn = /* @__PURE__ */ E({
1429
1429
  inheritAttrs: !1,
1430
1430
  name: "TRadioGroup",
1431
1431
  __name: "radio-group",
@@ -1459,7 +1459,7 @@ var En = /* @__PURE__ */ E({
1459
1459
  function o(e) {
1460
1460
  i.exposed = e ?? {};
1461
1461
  }
1462
- let l = b(() => n.dicCode ? (n.options && a.error("TRadioGroup: dicCode and options cannot be used together"), wn(n.dicCode).value) : typeof n.options == "string" ? ae(n.options).value : n.options), d = b(() => {
1462
+ let l = b(() => n.dicCode ? (n.options && a.error("TRadioGroup: dicCode and options cannot be used together"), Tn(n.dicCode).value) : typeof n.options == "string" ? ae(n.options).value : n.options), d = b(() => {
1463
1463
  let e = { ...n };
1464
1464
  return delete e.dicCode, Object.keys(e).forEach((t) => {
1465
1465
  e[t] === void 0 && delete e[t];
@@ -1483,7 +1483,7 @@ var En = /* @__PURE__ */ E({
1483
1483
  ref: o
1484
1484
  }), e.$slots))));
1485
1485
  }
1486
- }), kn = {
1486
+ }), An = {
1487
1487
  clearable: !0,
1488
1488
  disabled: void 0,
1489
1489
  filterable: void 0,
@@ -1504,7 +1504,7 @@ var En = /* @__PURE__ */ E({
1504
1504
  }),
1505
1505
  showArrow: !0,
1506
1506
  showCheckAll: !1
1507
- }, An = /* @__PURE__ */ E({
1507
+ }, jn = /* @__PURE__ */ E({
1508
1508
  inheritAttrs: !1,
1509
1509
  name: "TSelect",
1510
1510
  __name: "select",
@@ -1568,7 +1568,7 @@ var En = /* @__PURE__ */ E({
1568
1568
  onPopupVisibleChange: { type: Function },
1569
1569
  onRemove: { type: Function },
1570
1570
  onSearch: { type: Function }
1571
- }, kn),
1571
+ }, An),
1572
1572
  setup(e) {
1573
1573
  let t = e, n = D();
1574
1574
  function r(e) {
@@ -1576,7 +1576,7 @@ var En = /* @__PURE__ */ E({
1576
1576
  }
1577
1577
  let i = b(() => {
1578
1578
  let e;
1579
- return t.dicCode === void 0 ? e = typeof t.options == "string" ? ae(t.options).value : t.options : (t.options && a.error("TSelect: dicCode and options cannot be used together"), e = wn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? a.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1579
+ return t.dicCode === void 0 ? e = typeof t.options == "string" ? ae(t.options).value : t.options : (t.options && a.error("TSelect: dicCode and options cannot be used together"), e = Tn(t.dicCode).value), t.showCheckAll && (t.multiple ? e === void 0 ? a.error("TSelect: options is required, when showCheckAll is true") : e.unshift({
1580
1580
  checkAll: !0,
1581
1581
  [t.keys?.label ?? "label"]: "全选"
1582
1582
  }) : a.error("TSelect: showCheckAll is supported only for multiple select")), e;
@@ -1632,7 +1632,7 @@ var En = /* @__PURE__ */ E({
1632
1632
  default: () => k(R(at), p.value, t.$slots)
1633
1633
  })), { key: 0 })) : (N(), x(I(k(R(at), j(t.$attrs, p.value), t.$slots)), { key: 1 }));
1634
1634
  }
1635
- }), jn = /* @__PURE__ */ E({
1635
+ }), Mn = /* @__PURE__ */ E({
1636
1636
  inheritAttrs: !1,
1637
1637
  __name: "select-sys-user",
1638
1638
  props: /*@__PURE__*/ A({
@@ -1728,7 +1728,7 @@ var En = /* @__PURE__ */ E({
1728
1728
  _: 1
1729
1729
  }, 16));
1730
1730
  }
1731
- }), Mn = {
1731
+ }), Nn = {
1732
1732
  checkable: !1,
1733
1733
  disabled: void 0,
1734
1734
  expandOnClickNode: void 0,
@@ -1747,7 +1747,7 @@ var En = /* @__PURE__ */ E({
1747
1747
  line: !0,
1748
1748
  transition: !0,
1749
1749
  valueMode: "all"
1750
- }, Nn = /* @__PURE__ */ E({
1750
+ }, Pn = /* @__PURE__ */ E({
1751
1751
  inheritAttrs: !1,
1752
1752
  name: "TTree",
1753
1753
  __name: "tree",
@@ -1805,7 +1805,7 @@ var En = /* @__PURE__ */ E({
1805
1805
  onLoad: { type: Function },
1806
1806
  onScroll: { type: Function },
1807
1807
  treeStore: {}
1808
- }, Mn),
1808
+ }, Nn),
1809
1809
  setup(e, { expose: t }) {
1810
1810
  let n = e, r = Le(), i = b(() => {
1811
1811
  let e = { ...n };
@@ -1821,7 +1821,7 @@ var En = /* @__PURE__ */ E({
1821
1821
  ref: o
1822
1822
  }), e.$slots))));
1823
1823
  }
1824
- }), Pn = /* @__PURE__ */ E({
1824
+ }), Fn = /* @__PURE__ */ E({
1825
1825
  inheritAttrs: !1,
1826
1826
  name: "TTreeSelect",
1827
1827
  __name: "tree-select",
@@ -1894,10 +1894,10 @@ var En = /* @__PURE__ */ E({
1894
1894
  minCollapsedNum: 2,
1895
1895
  ...e.selectInputProps ?? {}
1896
1896
  }, e.treeProps = {
1897
- ...Mn,
1897
+ ...Nn,
1898
1898
  checkable: !!t.multiple,
1899
1899
  expandOnClickNode: !!t.multiple,
1900
- icon: Mn.icon(),
1900
+ icon: Nn.icon(),
1901
1901
  ...e.treeProps ?? {}
1902
1902
  }, Object.keys(e).forEach((t) => {
1903
1903
  e[t] === void 0 && delete e[t];
@@ -1925,10 +1925,10 @@ var En = /* @__PURE__ */ E({
1925
1925
  }
1926
1926
  }), e.$slots))));
1927
1927
  }
1928
- }), Fn = ".xlsx,.xls", In = { class: "flex items-center" }, Ln = {
1928
+ }), In = ".xlsx,.xls", Ln = { class: "flex items-center" }, Rn = {
1929
1929
  key: 1,
1930
1930
  class: "ml-3 text-xs text-(--td-text-color-placeholder)"
1931
- }, Rn = /*#__PURE__*/ y(/* @__PURE__ */ E({
1931
+ }, zn = /*#__PURE__*/ y(/* @__PURE__ */ E({
1932
1932
  inheritAttrs: !1,
1933
1933
  name: "TUpload",
1934
1934
  __name: "upload",
@@ -1937,7 +1937,7 @@ var En = /* @__PURE__ */ E({
1937
1937
  "onUpdate:modelValue": {},
1938
1938
  requestMethod: {},
1939
1939
  abridgeName: {},
1940
- accept: { default: Fn },
1940
+ accept: { default: In },
1941
1941
  allowUploadDuplicateFile: { type: Boolean },
1942
1942
  autoUpload: { type: Boolean },
1943
1943
  beforeAllFilesUpload: {},
@@ -2048,7 +2048,7 @@ var En = /* @__PURE__ */ E({
2048
2048
  fn: B((n) => [Ne(t.$slots, e, M(O(n)), void 0, !0)])
2049
2049
  })), a.value.theme === "file" && !Object.hasOwn(t.$slots, "trigger") ? {
2050
2050
  name: "trigger",
2051
- fn: B(({ files: t }) => [Ce("div", In, [
2051
+ fn: B(({ files: t }) => [Ce("div", Ln, [
2052
2052
  T(R($), { theme: "primary" }, {
2053
2053
  default: B(() => [w(L(t.length > 0 ? a.value.multiple ? "继续上传" : "重新上传" : "选择文件"), 1)]),
2054
2054
  _: 2
@@ -2062,12 +2062,12 @@ var En = /* @__PURE__ */ E({
2062
2062
  default: B(() => [...o[0] ||= [w("下载模板", -1)]]),
2063
2063
  _: 1
2064
2064
  })) : S("v-if", !0),
2065
- n.tips ? (N(), C("span", Ln, L(n.tips), 1)) : S("v-if", !0)
2065
+ n.tips ? (N(), C("span", Rn, L(n.tips), 1)) : S("v-if", !0)
2066
2066
  ])]),
2067
2067
  key: "0"
2068
2068
  } : void 0]), 1024));
2069
2069
  }
2070
- }), [["__scopeId", "data-v-51889a3b"]]), zn = /*#__PURE__*/ y(/* @__PURE__ */ E({
2070
+ }), [["__scopeId", "data-v-51889a3b"]]), Bn = /*#__PURE__*/ y(/* @__PURE__ */ E({
2071
2071
  inheritAttrs: !1,
2072
2072
  name: "TForm",
2073
2073
  __name: "form",
@@ -2145,23 +2145,23 @@ var En = /* @__PURE__ */ E({
2145
2145
  });
2146
2146
  let p = /* @__PURE__ */ new Map(), m = {
2147
2147
  TCheckbox: r,
2148
- TCheckboxGroup: En,
2148
+ TCheckboxGroup: Dn,
2149
2149
  TColorPicker: se,
2150
- TCron: Dn,
2150
+ TCron: On,
2151
2151
  TDatePicker: ue,
2152
2152
  TInput: le,
2153
2153
  TInputNumber: de,
2154
- TRadioGroup: On,
2154
+ TRadioGroup: kn,
2155
2155
  TRangeInput: fe,
2156
- TSelect: An,
2157
- TSelectSysUser: jn,
2156
+ TSelect: jn,
2157
+ TSelectSysUser: Mn,
2158
2158
  TSlider: he,
2159
2159
  TSwitch: ge,
2160
2160
  TTagInput: me,
2161
2161
  TTextarea: _e,
2162
- TTree: Nn,
2163
- TTreeSelect: Pn,
2164
- TUpload: Rn
2162
+ TTree: Pn,
2163
+ TTreeSelect: Fn,
2164
+ TUpload: zn
2165
2165
  };
2166
2166
  function ee(e) {
2167
2167
  return typeof e == "string" ? o.has(e) ? (p.has(e) || p.set(e, Te(o.get(e))), p.get(e)) : m[e] : le;
@@ -2297,7 +2297,7 @@ var En = /* @__PURE__ */ E({
2297
2297
  _: 3
2298
2298
  }, 16))], 2112));
2299
2299
  }
2300
- }), [["__scopeId", "data-v-761be9bc"]]), Bn = /* @__PURE__ */ E({
2300
+ }), [["__scopeId", "data-v-761be9bc"]]), Vn = /* @__PURE__ */ E({
2301
2301
  __name: "ResetPwd",
2302
2302
  props: { showFooter: {
2303
2303
  type: Boolean,
@@ -2352,7 +2352,7 @@ var En = /* @__PURE__ */ E({
2352
2352
  }
2353
2353
  }), an().logout();
2354
2354
  }
2355
- return t({ handleSubmit: o }), (e, t) => (N(), x(R(zn), {
2355
+ return t({ handleSubmit: o }), (e, t) => (N(), x(R(Bn), {
2356
2356
  ref: "form",
2357
2357
  items: r,
2358
2358
  "label-align": "right",
@@ -2374,13 +2374,13 @@ var En = /* @__PURE__ */ E({
2374
2374
  }
2375
2375
  });
2376
2376
  // ../../packages/dlzn-ui/store/modules/user.ts
2377
- function Vn() {
2377
+ function Hn() {
2378
2378
  return X.Get("getInfo", { meta: {
2379
2379
  useFailMsg: "获取用户信息失败",
2380
2380
  useLoading: "正在获取用户信息..."
2381
2381
  } });
2382
2382
  }
2383
- var Hn = {
2383
+ var Un = {
2384
2384
  admin: !1,
2385
2385
  dept: { deptName: "" },
2386
2386
  needChangePwd: 0,
@@ -2389,20 +2389,20 @@ var Hn = {
2389
2389
  userName: "",
2390
2390
  ...vt.defaultUserInfo ?? {}
2391
2391
  }, Q = V("user", () => {
2392
- let e = P(gt(Hn)), t = P([]), n = P([]);
2392
+ let e = P(gt(Un)), t = P([]), n = P([]);
2393
2393
  function r() {
2394
- e.value = gt(Hn), t.value = [], n.value = [];
2394
+ e.value = gt(Un), t.value = [], n.value = [];
2395
2395
  }
2396
2396
  let i = b(() => e.value.admin), a = P("");
2397
2397
  async function o(r = !0) {
2398
- let i = await Vn();
2398
+ let i = await Hn();
2399
2399
  e.value = i.user, a.value !== e.value.userId && K().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await Gt().getRouters();
2400
2400
  }
2401
2401
  z(() => e.value.needChangePwd, (e) => {
2402
2402
  e === 1 && VITE_FORCE_PWD_CHANGE && Oe(() => {
2403
2403
  let e = P(null);
2404
2404
  W({
2405
- body: () => k(Bn, {
2405
+ body: () => k(Vn, {
2406
2406
  labelAlign: "top",
2407
2407
  ref: e,
2408
2408
  showFooter: !1
@@ -2630,7 +2630,7 @@ var Hn = {
2630
2630
  fn: B((t) => [Ne(n.$slots, e, M(O(t)), void 0, !0)])
2631
2631
  }))]), 1536))], 64)) : S("v-if", !0);
2632
2632
  }
2633
- }), [["__scopeId", "data-v-2ba81aa7"]]), Un = /* @__PURE__ */ E({
2633
+ }), [["__scopeId", "data-v-2ba81aa7"]]), Wn = /* @__PURE__ */ E({
2634
2634
  name: "TProvider",
2635
2635
  __name: "Provider",
2636
2636
  setup(e) {
@@ -2666,4 +2666,4 @@ var Hn = {
2666
2666
  }, 8, ["locale"]));
2667
2667
  }
2668
2668
  });
2669
- export { sn as A, G as B, hn as C, J as D, fn as E, Jt as F, kt as G, Ft as H, qt as I, Ot as K, Lt as L, $t as M, en as N, dn as O, tn as P, Gt as R, X as S, Y as T, jt as U, W as V, At as W, En as _, Bn as a, wn as b, Fn as c, Mn as d, jn as f, Dn as g, On as h, Q as i, an as j, cn as k, Pn as l, kn as m, $ as n, zn as o, An as p, Vn as r, Rn as s, Un as t, Nn as u, Sn as v, gn as w, Tn as x, Cn as y, K as z };
2669
+ export { cn as A, K as B, hn as C, fn as D, Y as E, tn as F, At as G, W as H, Jt as I, kt as K, qt as L, an as M, $t as N, J as O, en as P, Lt as R, X as S, _n as T, Ft as U, G as V, jt as W, Dn as _, Vn as a, Tn as b, In as c, Nn as d, Mn as f, On as g, kn as h, Q as i, sn as j, dn as k, Fn as l, An as m, $ as n, Bn as o, jn as p, Ot as q, Hn as r, zn as s, Wn as t, Pn as u, Cn as v, gn as w, En as x, wn as y, Gt as z };
@@ -1,4 +1,4 @@
1
- import { H as e, _ as t, n } from "./provider-BeVE1nWg.mjs";
1
+ import { U as e, _ as t, n } from "./provider-6bwbdidw.mjs";
2
2
  import { t as r } from "./icon-DnBGEq-n.mjs";
3
3
  import "../components/icon/index.mjs";
4
4
  import ee from "../hooks/useMQ/index.mjs";
@@ -13,7 +13,7 @@ import { Empty as he, EnhancedTable as ge, Tooltip as w } from "tdesign-vue-next
13
13
  import { refDebounced as T, useElementSize as E, useLocalStorage as _e } from "@vueuse/core";
14
14
  import { difference as ve, uniqueId as ye } from "lodash-es";
15
15
  import { useRoute as be } from "vue-router";
16
- import '../assets/table-D9WewhPF.css';// ../../packages/dlzn-ui/components/table/src/table.ts
16
+ import '../assets/table-CVArV2Pt.css';// ../../packages/dlzn-ui/components/table/src/table.ts
17
17
  var D = {
18
18
  attach: "body",
19
19
  bordered: !0,
@@ -178,9 +178,9 @@ var D = {
178
178
  }, D),
179
179
  setup(a, { expose: d }) {
180
180
  pe((e) => ({
181
- v676abc94: x(J),
182
- v463858a2: x(Y),
183
- e8ced730: x(X)
181
+ ecf62d0e: x(J),
182
+ v68528587: x(Y),
183
+ ed507266: x(X)
184
184
  }));
185
185
  let m = a, D = be();
186
186
  function O(e) {
@@ -290,12 +290,12 @@ var D = {
290
290
  function Ae(e) {
291
291
  e !== null && (e.selectedRows = o(() => A.value.filter((e) => Q.value.includes(e[V.value.rowKey]))), e.selectedRowKeys = Q, e.rowKey = o(() => V.value.rowKey)), $.exposed = e ?? {};
292
292
  }
293
- S([M, R], () => {
294
- se(() => {
295
- $.exposed.refreshTable();
296
- });
297
- }, { deep: !0 }), le(() => {
298
- W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content");
293
+ le(() => {
294
+ W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content"), S([M, R], () => {
295
+ se(() => {
296
+ $.exposed.refreshTable();
297
+ });
298
+ }, { deep: !0 });
299
299
  });
300
300
  function je() {
301
301
  W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content");
@@ -387,5 +387,5 @@ var D = {
387
387
  })), void 0, !0)
388
388
  ], 16)], 8, ["disabled"]));
389
389
  }
390
- }), [["__scopeId", "data-v-ea754182"]]);
390
+ }), [["__scopeId", "data-v-277adbcb"]]);
391
391
  export { D as n, O as t };
@@ -1 +1 @@
1
- export { t as TApp } from "../../chunks/app-Cd7qvZaM.mjs";
1
+ export { t as TApp } from "../../chunks/app-MIQr7kNK.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/app-Cd7qvZaM.mjs";
1
+ export { t as default } from "../../../chunks/app-MIQr7kNK.mjs";
@@ -1 +1 @@
1
- export { n as TButton, K as buttonPropsInit } from "../../chunks/provider-BeVE1nWg.mjs";
1
+ export { n as TButton, q as buttonPropsInit } from "../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { n as default } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ export { n as default } from "../../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { _ as TCheckboxGroup } from "../../chunks/provider-BeVE1nWg.mjs";
1
+ export { _ as TCheckboxGroup } from "../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { _ as default } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ export { _ as default } from "../../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { g as TCron } from "../../chunks/provider-BeVE1nWg.mjs";
1
+ export { g as TCron } from "../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Common-DgFtn6uk.mjs";
1
+ export { t as default } from "../../../chunks/Common-Bq9qdi2i.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Day-D57OuSr1.mjs";
1
+ export { t as default } from "../../../chunks/Day-BUVcUtFu.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Hour-C2kHsnWx.mjs";
1
+ export { t as default } from "../../../chunks/Hour-CwQQPXaR.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Minute-cq4gHso5.mjs";
1
+ export { t as default } from "../../../chunks/Minute-DVOyQfoM.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Month-RO9Bk7PX.mjs";
1
+ export { t as default } from "../../../chunks/Month-C9EsJdGm.mjs";
@@ -1,4 +1,4 @@
1
- import { o as e } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ import { o as e } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../input/index.mjs";
3
3
  import "../../tab-panel/index.mjs";
4
4
  import { t } from "../../../chunks/input-CiSr3rcu.mjs";
@@ -7,11 +7,11 @@ import n from "../../../plugins/autoImport/$msg/index.mjs";
7
7
  import { t as r } from "../../../chunks/textarea-C9VbFXpr.mjs";
8
8
  import i from "../../../plugins/autoImport/dayjs/index.mjs";
9
9
  import { t as a } from "../../../chunks/tab-panel-CX3iLfSb.mjs";
10
- import { t as o } from "../../../chunks/Day-D57OuSr1.mjs";
11
- import { t as s } from "../../../chunks/Hour-C2kHsnWx.mjs";
12
- import { t as c } from "../../../chunks/Minute-cq4gHso5.mjs";
13
- import { t as l } from "../../../chunks/Month-RO9Bk7PX.mjs";
14
- import { t as u } from "../../../chunks/Second-CKdMmksB.mjs";
10
+ import { t as o } from "../../../chunks/Day-BUVcUtFu.mjs";
11
+ import { t as s } from "../../../chunks/Hour-CwQQPXaR.mjs";
12
+ import { t as c } from "../../../chunks/Minute-DVOyQfoM.mjs";
13
+ import { t as l } from "../../../chunks/Month-C9EsJdGm.mjs";
14
+ import { t as u } from "../../../chunks/Second-2dWCZLjn.mjs";
15
15
  import { t as d } from "../../../chunks/plugin-vue_export-helper-Djzt4Yr7.mjs";
16
16
  import { computed as f, createBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, openBlock as _, ref as v, unref as y, watch as b, withCtx as x } from "vue";
17
17
  import { Tabs as S } from "tdesign-vue-next";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/Second-CKdMmksB.mjs";
1
+ export { t as default } from "../../../chunks/Second-2dWCZLjn.mjs";
@@ -1 +1 @@
1
- export { g as default } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ export { g as default } from "../../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { t as TCustomPageList } from "../../chunks/custom-page-list-BZCbj6h1.mjs";
1
+ export { t as TCustomPageList } from "../../chunks/custom-page-list-DHK_NW0i.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/custom-page-list-BZCbj6h1.mjs";
1
+ export { t as default } from "../../../chunks/custom-page-list-DHK_NW0i.mjs";
@@ -1 +1 @@
1
- export { t as TCustomPageTable } from "../../chunks/custom-page-table-Cm72ycKd.mjs";
1
+ export { t as TCustomPageTable } from "../../chunks/custom-page-table-1gOvwcJL.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/custom-page-table-Cm72ycKd.mjs";
1
+ export { t as default } from "../../../chunks/custom-page-table-1gOvwcJL.mjs";
@@ -1 +1 @@
1
- export { U as TDialog, W as dialogPropsInit } from "../../chunks/provider-BeVE1nWg.mjs";
1
+ export { W as TDialog, G as dialogPropsInit } from "../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { U as default } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ export { W as default } from "../../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { o as TForm, G as formPropsInit } from "../../chunks/provider-BeVE1nWg.mjs";
1
+ export { o as TForm, K as formPropsInit } from "../../chunks/provider-6bwbdidw.mjs";
@@ -1 +1 @@
1
- export { o as default } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ export { o as default } from "../../../chunks/provider-6bwbdidw.mjs";