dlzn-ui 2.0.6 → 2.0.7

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 (144) hide show
  1. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  2. package/assets/main-CxSb5Gqw.css +2 -0
  3. package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
  4. package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-BPrzGjCg.mjs} +3 -3
  5. package/chunks/{Common-DQbblaTl.mjs → Common-Ds4A0g73.mjs} +7 -7
  6. package/chunks/{Day-9BKmHuZl.mjs → Day-CWWVjsXu.mjs} +13 -13
  7. package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-ijxK2MDm.mjs} +7 -7
  8. package/chunks/{Hour-CrFFADzT.mjs → Hour-D-2s4xgR.mjs} +1 -1
  9. package/chunks/{Index-ChH8kYUs.mjs → Index-D0dEcWw2.mjs} +1 -1
  10. package/chunks/{Index-DloA1g7z.mjs → Index-DhkEiAro.mjs} +5 -5
  11. package/chunks/{Index-QUCWrT4d.mjs → Index-DoPLbOv7.mjs} +1 -1
  12. package/chunks/{Index-CZ0ICyCx.mjs → Index-az-w01U3.mjs} +1 -1
  13. package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-KlRJte7i.mjs} +6 -6
  14. package/chunks/{Log-DdemNjDW.mjs → Log-LYCmf0zI.mjs} +8 -8
  15. package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
  16. package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-6Nca-v9i.mjs} +2 -2
  17. package/chunks/{Minute-xZNOCy8Q.mjs → Minute-8BpPY8V6.mjs} +1 -1
  18. package/chunks/{Month-CvWOcD_9.mjs → Month-C5iIZpY7.mjs} +1 -1
  19. package/chunks/{Second-BvMnEOms.mjs → Second-BKF09AKl.mjs} +1 -1
  20. package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-C78pnJtp.mjs} +1 -1
  21. package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-B2-QkHU2.mjs} +1 -1
  22. package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-BuE4Lgm0.mjs} +2 -2
  23. package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-uDVj4WPH.mjs} +11 -11
  24. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  25. package/chunks/{app-CggLqjRQ.mjs → app-BXskd1Ae.mjs} +4 -4
  26. package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-r5EUcg98.mjs} +4 -4
  27. package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-D1FmkEop.mjs} +2 -2
  28. package/chunks/{overview-BEtKbidZ.mjs → overview-BCXuALeB.mjs} +1 -1
  29. package/chunks/{page-list-C3nqGnnX.mjs → page-list-Zp_EiMZd.mjs} +36 -36
  30. package/chunks/{page-query-C6oSW1je.mjs → page-query-CxZBtQht.mjs} +5 -5
  31. package/chunks/{page-table-3DTiPP9H.mjs → page-table-BpyyKTMq.mjs} +9 -9
  32. package/chunks/{pagination-C6-VAj4W.mjs → pagination-y5tkmGDM.mjs} +1 -1
  33. package/chunks/{button-Dk3CiB69.mjs → provider-C6TTHGoz.mjs} +427 -431
  34. package/chunks/{table-Cp9NQHjQ.mjs → table-2Eqd8Kcx.mjs} +10 -10
  35. package/components/app/index.mjs +1 -1
  36. package/components/app/src/app.mjs +1 -1
  37. package/components/button/index.mjs +1 -1
  38. package/components/button/src/button.mjs +1 -1
  39. package/components/checkbox-group/index.mjs +1 -1
  40. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  41. package/components/cron/index.mjs +1 -1
  42. package/components/cron/src/Common.mjs +1 -1
  43. package/components/cron/src/Day.mjs +1 -1
  44. package/components/cron/src/Hour.mjs +1 -1
  45. package/components/cron/src/Minute.mjs +1 -1
  46. package/components/cron/src/Month.mjs +1 -1
  47. package/components/cron/src/Picker.mjs +6 -6
  48. package/components/cron/src/Second.mjs +1 -1
  49. package/components/cron/src/cron.mjs +1 -1
  50. package/components/custom-page-list/index.mjs +1 -1
  51. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  52. package/components/custom-page-table/index.mjs +1 -1
  53. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  54. package/components/date-picker/index.mjs +1 -1
  55. package/components/date-picker/src/date-picker.mjs +1 -1
  56. package/components/form/index.mjs +1 -1
  57. package/components/form/src/form.mjs +1 -1
  58. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  59. package/components/index.mjs +11 -11
  60. package/components/overview/index.mjs +1 -1
  61. package/components/overview/src/DicLabel/Index.mjs +1 -1
  62. package/components/overview/src/IndexItem.mjs +1 -1
  63. package/components/overview/src/overview.mjs +1 -1
  64. package/components/page-list/index.mjs +1 -1
  65. package/components/page-list/src/page-list.d.ts +3 -3
  66. package/components/page-list/src/page-list.mjs +1 -1
  67. package/components/page-query/index.mjs +1 -1
  68. package/components/page-query/src/page-query.mjs +1 -1
  69. package/components/page-table/index.mjs +1 -1
  70. package/components/page-table/src/page-table.mjs +1 -1
  71. package/components/page-table/src/page-table.vue.d.ts +1 -1
  72. package/components/pagination/index.mjs +1 -1
  73. package/components/pagination/src/pagination.mjs +1 -1
  74. package/components/provider/index.mjs +1 -1
  75. package/components/provider/src/Provider.mjs +1 -1
  76. package/components/radio-group/index.mjs +1 -1
  77. package/components/radio-group/src/radio-group.mjs +1 -1
  78. package/components/select/index.mjs +2 -2
  79. package/components/select/src/select.mjs +1 -1
  80. package/components/select-sys-user/index.mjs +1 -1
  81. package/components/select-sys-user/src/Picker.mjs +2 -2
  82. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  83. package/components/table/index.mjs +1 -1
  84. package/components/table/src/table.mjs +1 -1
  85. package/components/table/src/table.vue.d.ts +1 -1
  86. package/components/tree/index.mjs +2 -2
  87. package/components/tree/src/tree.mjs +1 -1
  88. package/components/tree-select/index.mjs +1 -1
  89. package/components/tree-select/src/tree-select.mjs +1 -1
  90. package/components/upload/index.mjs +2 -2
  91. package/components/upload/src/upload.mjs +1 -1
  92. package/hooks/useDicOptions/index.mjs +2 -2
  93. package/hooks/useSysUser/index.mjs +2 -2
  94. package/index.d.ts +3 -0
  95. package/layout/Entry.mjs +1 -1
  96. package/layout/Login.mjs +5 -5
  97. package/layout/NotFound.mjs +1 -1
  98. package/layout/modules/Aside.mjs +1 -1
  99. package/layout/modules/Breadcrumb.mjs +1 -1
  100. package/layout/modules/Header.mjs +1 -1
  101. package/layout/modules/LoginBg.mjs +1 -1
  102. package/layout/modules/MenuNode.mjs +1 -1
  103. package/layout/profile/Index.mjs +4 -4
  104. package/layout/profile/ResetPwd.mjs +1 -1
  105. package/layout/profile/UserInfo.mjs +1 -1
  106. package/main.d.ts +2 -0
  107. package/main.mjs +14 -0
  108. package/package.json +7 -3
  109. package/plugins/autoImport/$alova/index.mjs +2 -2
  110. package/plugins/autoImport/$confirm/index.mjs +1 -1
  111. package/plugins/autoImport/$dialog/index.mjs +1 -1
  112. package/plugins/autoImport/$drawer/index.mjs +1 -1
  113. package/plugins/captcha/captcha.mjs +12 -12
  114. package/plugins/captcha/index.mjs +1 -1
  115. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  116. package/plugins/tableRenders/Wrapper.mjs +1 -1
  117. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  118. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  119. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  120. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  121. package/plugins/tableRenders/cell/index.mjs +4 -4
  122. package/plugins/tableRenders/title/index.mjs +1 -1
  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 +2 -2
  129. package/views/system/dept/index.mjs +10 -10
  130. package/views/system/dept/utils.mjs +1 -1
  131. package/views/system/dict/index.mjs +18 -18
  132. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  133. package/views/system/menu/index.mjs +10 -10
  134. package/views/system/post/index.mjs +6 -6
  135. package/views/system/role/index.mjs +42 -42
  136. package/views/system/role/modules/AssignUser.mjs +1 -1
  137. package/views/system/role/modules/SelectDept.mjs +1 -1
  138. package/views/system/role/modules/SelectMenu.mjs +1 -1
  139. package/views/system/role/modules/SelectUser.mjs +1 -1
  140. package/views/system/user/index.mjs +49 -49
  141. package/views/tool/job/index.mjs +31 -31
  142. package/views/tool/job/modules/Log.mjs +1 -1
  143. package/assets/LoginBg-BTrRjkK7.css +0 -1
  144. package/chunks/{date-picker-DtbDIFUH.mjs → date-picker-D15OhWnK.mjs} +1 -1
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/button-Dk3CiB69.mjs";
1
+ import { n as e } from "../chunks/provider-C6TTHGoz.mjs";
2
2
  import { createBlock as t, createTextVNode as n, createVNode as r, defineComponent as i, openBlock as a, unref as o, withCtx as s } from "vue";
3
3
  import { Empty as c } from "tdesign-vue-next";
4
4
  import { useRouter as l } from "vue-router";
@@ -1,2 +1,2 @@
1
- import { R as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { R as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { L as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { L as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { k as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { A as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/LoginBg-BD6ChYvu.mjs";
1
+ import { t as e } from "../../chunks/LoginBg-BtuSDFUq.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/MenuNode-DXgE629W.mjs";
1
+ import { t as e } from "../../chunks/MenuNode-6Nca-v9i.mjs";
2
2
  export { e as default };
@@ -1,11 +1,11 @@
1
- import { i as e, x as t } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { S as e, a as t } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { isFalsy as n } from "../../utils/boolean.mjs";
3
3
  import "../../utils/index.mjs";
4
4
  import { t as r } from "../../chunks/card-BfHb58zl.mjs";
5
5
  import "../../components/card/index.mjs";
6
6
  import { t as i } from "../../chunks/tab-panel-CtYeK29i.mjs";
7
7
  import "../../components/tab-panel/index.mjs";
8
- import { t as a } from "../../chunks/UserInfo-qrNR9tve.mjs";
8
+ import { t as a } from "../../chunks/UserInfo-uDVj4WPH.mjs";
9
9
  import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, markRaw as f, openBlock as p, provide as m, ref as h, renderList as g, resolveDynamicComponent as _, unref as v, withCtx as y } from "vue";
10
10
  import { List as b, ListItem as x, ListItemMeta as S, Tabs as C } from "tdesign-vue-next";
11
11
  import { useRequest as w } from "alova/client";
@@ -13,7 +13,7 @@ import { useRequest as w } from "alova/client";
13
13
  var T = { class: "flex gap-4" }, E = /* @__PURE__ */ d({
14
14
  __name: "Index",
15
15
  setup(d) {
16
- let { data: E, send: D } = w(t.Get("system/user/profile", { meta: { useDataResult: !1 } }), { initialData: {} }), O = s(() => {
16
+ let { data: E, send: D } = w(e.Get("system/user/profile", { meta: { useDataResult: !1 } }), { initialData: {} }), O = s(() => {
17
17
  let e = E.value.data;
18
18
  return e === void 0 ? [] : [
19
19
  {
@@ -46,7 +46,7 @@ var T = { class: "flex gap-4" }, E = /* @__PURE__ */ d({
46
46
  label: "基本资料",
47
47
  value: "userInfo"
48
48
  }, {
49
- component: f(e),
49
+ component: f(t),
50
50
  label: "修改密码",
51
51
  value: "resetPwd"
52
52
  }], A = h(k[0].value);
@@ -1,2 +1,2 @@
1
- import { i as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { a as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/UserInfo-qrNR9tve.mjs";
1
+ import { t as e } from "../../chunks/UserInfo-uDVj4WPH.mjs";
2
2
  export { e as default };
package/main.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const app: import('vue').App<Element>;
2
+ export default app;
package/main.mjs ADDED
@@ -0,0 +1,14 @@
1
+ import { D as e, H as t } from "./chunks/provider-C6TTHGoz.mjs";
2
+ import { t as n } from "./chunks/app-BXskd1Ae.mjs";
3
+ import "./components/app/index.mjs";
4
+ import r from "./plugins/directive/index.mjs";
5
+ import i from "./store/index.mjs";
6
+ import "./plugins/initialize/index.mjs";
7
+ import { autoAnimatePlugin as a } from "@formkit/auto-animate/vue";
8
+ import { createApp as o } from "vue";
9
+ import "tdesign-vue-next/es/style/index.css";
10
+ import './assets/main-CxSb5Gqw.css';//#region ../../packages/dlzn-ui/main.ts
11
+ var s = o(n);
12
+ s.config.throwUnhandledErrorInProduction = !0, s.use(i), s.use(e), s.use(r), s.use(a), t().getAppInfo();
13
+ //#endregion
14
+ export { s as default };
package/package.json CHANGED
@@ -6,6 +6,10 @@
6
6
  ".": {
7
7
  "types": "./index.d.ts"
8
8
  },
9
+ "./main": {
10
+ "types": "./main.d.ts",
11
+ "import": "./main.mjs"
12
+ },
9
13
  "./components/*": {
10
14
  "types": "./components/*/index.d.ts",
11
15
  "import": "./components/*/index.mjs"
@@ -41,11 +45,11 @@
41
45
  "./index.css": {
42
46
  "import": "./assets/css/index.css"
43
47
  },
44
- "./layout/*.vue": {
48
+ "./layout/*": {
45
49
  "types": "./layout/*.vue.d.ts",
46
50
  "import": "./layout/*.mjs"
47
51
  },
48
- "./views/*.vue": {
52
+ "./views/*": {
49
53
  "types": "./views/*.vue.d.ts",
50
54
  "import": "./views/*.mjs"
51
55
  }
@@ -101,5 +105,5 @@
101
105
  "> 1%",
102
106
  "not dead"
103
107
  ],
104
- "version": "2.0.6"
108
+ "version": "2.0.7"
105
109
  }
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, x as n } from "../../../chunks/button-Dk3CiB69.mjs";
2
- export { n as default, t as getFilterEmptyParamsObj, e as getParamsString };
1
+ import { C as e, S as t, w as n } from "../../../chunks/provider-C6TTHGoz.mjs";
2
+ export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
@@ -1,2 +1,2 @@
1
- import { P as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { F as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { I as e } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { D as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { O as e } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,18 +1,18 @@
1
- import { t as e, x as t } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { S as e, n as t } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { t as n } from "../../chunks/icon-COjp1yrx.mjs";
3
3
  import "../../components/icon/index.mjs";
4
4
  import { aesEncrypt as r } from "../../utils/tool.mjs";
5
5
  import "../../utils/index.mjs";
6
6
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, vShow as y, withCtx as b, withDirectives as x } from "vue";
7
- import { useDraggable as S, useElementSize as C } from "@vueuse/core";
8
- import { LoadingDirective as w } from "tdesign-vue-next";
7
+ import { LoadingDirective as S } from "tdesign-vue-next";
8
+ import { useDraggable as C, useElementSize as w } from "@vueuse/core";
9
9
  import { useRequest as T } from "alova/client";
10
10
  //#region ../../packages/dlzn-ui/plugins/captcha/captcha.vue?vue&type=script&setup=true&lang.ts
11
11
  var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
12
12
  __name: "captcha",
13
13
  emits: ["success"],
14
14
  setup(u, { emit: k }) {
15
- let A = k, j = w, M = {
15
+ let A = k, j = S, M = {
16
16
  barHeight: 40,
17
17
  imgHeight: O,
18
18
  imgWidth: 310
@@ -32,14 +32,14 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
32
32
  bgColor: "#d9534f",
33
33
  color: "#fff",
34
34
  icon: "icon-close"
35
- }), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } = C(L, void 0, { box: "border-box" }), { x: G } = S(U, {
35
+ }), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } = w(L, void 0, { box: "border-box" }), { x: G } = C(U, {
36
36
  axis: "x",
37
37
  containerElement: L,
38
- onEnd: async ({ x: e }) => {
38
+ onEnd: async ({ x: t }) => {
39
39
  let n = Date.now();
40
- (await t.Post("captcha/check", {
40
+ (await e.Post("captcha/check", {
41
41
  pointJson: await r(JSON.stringify({
42
- x: e,
42
+ x: t,
43
43
  y: 5
44
44
  }), H.value),
45
45
  token: V.value
@@ -48,7 +48,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
48
48
  useToken: !1
49
49
  } })).repCode === "0000" ? (R.value = "success", I.value = `${((n - B.value) / 1e3).toFixed(2)}s验证成功`, setTimeout(async () => {
50
50
  A("success", await r(`${V.value}---${JSON.stringify({
51
- x: e,
51
+ x: t,
52
52
  y: 5
53
53
  })}`, H.value));
54
54
  }, 500)) : (R.value = "fail", I.value = "验证失败", setTimeout(() => {
@@ -61,7 +61,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
61
61
  },
62
62
  preventDefault: !0,
63
63
  stopPropagation: !0
64
- }), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(t.Post("captcha/get", {}, { meta: {
64
+ }), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(e.Post("captcha/get", {}, { meta: {
65
65
  useLoading: !1,
66
66
  useToken: !1
67
67
  } }), { immediate: !1 });
@@ -75,7 +75,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
75
75
  function X() {
76
76
  I.value = "", G.value = 0, R.value = "default", H.value = "", Y();
77
77
  }
78
- return (t, r) => x((m(), s("div", {
78
+ return (e, r) => x((m(), s("div", {
79
79
  class: "relative overflow-hidden",
80
80
  style: f({ width: `${M.imgWidth}px` }),
81
81
  onSelectstart: () => !1
@@ -87,7 +87,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
87
87
  class: "block h-full w-full",
88
88
  src: P.value ? `data:image/png;base64,${P.value}` : _(N)
89
89
  }, null, 8, E),
90
- l(_(e), {
90
+ l(_(t), {
91
91
  class: "absolute! top-0 right-0",
92
92
  shape: "square",
93
93
  variant: "text",
@@ -1,4 +1,4 @@
1
- import { F as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { I as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { defineAsyncComponent as t, h as n } from "vue";
3
3
  //#region ../../packages/dlzn-ui/plugins/captcha/index.ts
4
4
  var r = () => new Promise((r) => {
@@ -1,4 +1,4 @@
1
- import { P as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { nextTick as t, ref as n } from "vue";
3
3
  //#region ../../packages/dlzn-ui/plugins/initialize/webUpdateNotify.ts
4
4
  var r = !1;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/Wrapper-LEchQmDn.mjs";
1
+ import { t as e } from "../../chunks/Wrapper-C6BtJDSa.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-ChH8kYUs.mjs";
1
+ import { t as e } from "../../../../chunks/Index-D0dEcWw2.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-QUCWrT4d.mjs";
1
+ import { t as e } from "../../../../chunks/Index-DoPLbOv7.mjs";
2
2
  export { e as default };
@@ -1,9 +1,9 @@
1
1
  declare const __VLS_export: import('vue').DefineComponent<import('../../../../components/image-viewer').ImageViewerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../../../components/image-viewer').ImageViewerProps> & Readonly<{}>, {
2
2
  visible: boolean;
3
3
  closeBtn: boolean | import('tdesign-vue-next').TNode;
4
- showOverlay: boolean;
5
4
  closeOnEscKeydown: boolean;
6
5
  draggable: boolean;
6
+ showOverlay: boolean;
7
7
  closeOnOverlay: boolean;
8
8
  navigationArrow: boolean | import('tdesign-vue-next').TNode;
9
9
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-DloA1g7z.mjs";
1
+ import { t as e } from "../../../../chunks/Index-DhkEiAro.mjs";
2
2
  export { e as default };
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
2
2
  import { t } from "../../../chunks/Index-BChP9CTL.mjs";
3
- import { t as n } from "../../../chunks/Index-ChH8kYUs.mjs";
3
+ import { t as n } from "../../../chunks/Index-D0dEcWw2.mjs";
4
4
  import { t as r } from "../../../chunks/Index-BuqrJDKe.mjs";
5
- import { t as i } from "../../../chunks/Index-QUCWrT4d.mjs";
5
+ import { t as i } from "../../../chunks/Index-DoPLbOv7.mjs";
6
6
  import { t as a } from "../../../chunks/Index-Bye0GY_j.mjs";
7
7
  import { t as o } from "../../../chunks/Index-BwWS0oPl.mjs";
8
8
  import { t as s } from "../../../chunks/Index-bEWcnIHJ.mjs";
@@ -12,12 +12,12 @@ import { t as u } from "../../../chunks/Index-CwksT4hO.mjs";
12
12
  import { t as d } from "../../../chunks/Index-CS1bfxu7.mjs";
13
13
  import { t as f } from "../../../chunks/Index-DC0L_zaY.mjs";
14
14
  import { t as p } from "../../../chunks/Index-Bi44jQm2.mjs";
15
- import { t as m } from "../../../chunks/Index-DloA1g7z.mjs";
15
+ import { t as m } from "../../../chunks/Index-DhkEiAro.mjs";
16
16
  import { t as h } from "../../../chunks/Index--rlVexBg.mjs";
17
17
  import { t as g } from "../../../chunks/Index-De48YIRG.mjs";
18
18
  import { t as _ } from "../../../chunks/Index-CZnP6jHo.mjs";
19
19
  import { t as v } from "../../../chunks/Index-7ubKF9v4.mjs";
20
- import { t as y } from "../../../chunks/Wrapper-LEchQmDn.mjs";
20
+ import { t as y } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
21
21
  //#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
22
22
  var b = /* #__PURE__ */ Object.assign({
23
23
  "./Avatar/Index.vue": t,
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../chunks/Wrapper-LEchQmDn.mjs";
1
+ import { t as e } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
2
2
  import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
3
3
  //#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
4
4
  var n = /* #__PURE__ */ Object.assign({ "./Default/Index.vue": t });
package/router/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { E as e, T as t, w as n } from "../chunks/button-Dk3CiB69.mjs";
1
+ import { D as e, E as t, T as n } from "../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default, n as getRoute, t as getTopRoute };
@@ -1,2 +1,2 @@
1
- import { H as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { H as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { A as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { j as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { V as e } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { V as e } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { B as e, z as t } from "../../chunks/button-Dk3CiB69.mjs";
1
+ import { B as e, z as t } from "../../chunks/provider-C6TTHGoz.mjs";
2
2
  export { e as default, t as getRoutersMethod };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t } from "../../chunks/button-Dk3CiB69.mjs";
2
- export { t as default, e as getUserInfoMethod };
1
+ import { i as e, r as t } from "../../chunks/provider-C6TTHGoz.mjs";
2
+ export { e as default, t as getUserInfoMethod };
@@ -1,8 +1,8 @@
1
- import { P as e, a as t, x as n } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, S as t, o as n } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  import r from "../../../plugins/autoImport/$msg/index.mjs";
3
3
  import { flatArrToTree as i } from "../../../utils/tree.mjs";
4
4
  import "../../../utils/index.mjs";
5
- import { t as a } from "../../../chunks/page-list-C3nqGnnX.mjs";
5
+ import { t as a } from "../../../chunks/page-list-Zp_EiMZd.mjs";
6
6
  import "../../../components/page-list/index.mjs";
7
7
  import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
8
8
  import { createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g, watch as _ } from "vue";
@@ -64,7 +64,7 @@ var v = /* @__PURE__ */ l({
64
64
  model: "status"
65
65
  }
66
66
  }, x = {
67
- apis: { list: { method: (e) => n.Get("system/dept/list", {
67
+ apis: { list: { method: (e) => t.Get("system/dept/list", {
68
68
  params: {
69
69
  ...e,
70
70
  pageNum: void 0,
@@ -130,7 +130,7 @@ var v = /* @__PURE__ */ l({
130
130
  _(a, () => {
131
131
  a.value.setFormData(i);
132
132
  }, { once: !0 }), e({
133
- body: () => u(t, {
133
+ body: () => u(n, {
134
134
  items: [
135
135
  b.parentId,
136
136
  b.deptName,
@@ -145,7 +145,7 @@ var v = /* @__PURE__ */ l({
145
145
  header: "编辑部门",
146
146
  onConfirmCallback: async () => {
147
147
  let e = await a.value.validate();
148
- await n.Put("system/dept", {
148
+ await t.Put("system/dept", {
149
149
  ...e,
150
150
  deptId: i.deptId
151
151
  }), s(), r.success("部门修改成功"), v.value.query();
@@ -160,7 +160,7 @@ var v = /* @__PURE__ */ l({
160
160
  onClick: () => {
161
161
  let a = m(null);
162
162
  e({
163
- body: () => u(t, {
163
+ body: () => u(n, {
164
164
  data: p({
165
165
  parentId: i.deptId,
166
166
  status: "0"
@@ -181,7 +181,7 @@ var v = /* @__PURE__ */ l({
181
181
  }),
182
182
  header: "新增部门",
183
183
  onConfirmCallback: async () => {
184
- await n.Post("system/dept", await a.value.validate()), s(), r.success("部门添加成功"), v.value.query();
184
+ await t.Post("system/dept", await a.value.validate()), s(), r.success("部门添加成功"), v.value.query();
185
185
  },
186
186
  width: 730
187
187
  });
@@ -194,7 +194,7 @@ var v = /* @__PURE__ */ l({
194
194
  popconfirm: {
195
195
  content: "确认删除吗",
196
196
  onConfirm: async () => {
197
- await n.Delete(`system/dept/${e.deptId}`), s(), r("删除成功"), v.value.query();
197
+ await t.Delete(`system/dept/${e.deptId}`), s(), r("删除成功"), v.value.query();
198
198
  }
199
199
  },
200
200
  show: e.parentId !== "0"
@@ -215,7 +215,7 @@ var v = /* @__PURE__ */ l({
215
215
  onClick: () => {
216
216
  let i = m(null);
217
217
  e({
218
- body: () => u(t, {
218
+ body: () => u(n, {
219
219
  data: p({ status: "0" }),
220
220
  items: [
221
221
  b.parentId,
@@ -230,7 +230,7 @@ var v = /* @__PURE__ */ l({
230
230
  }),
231
231
  header: "添加部门",
232
232
  onConfirmCallback: async () => {
233
- await n.Post("system/dept", await i.value.validate()), s(), r.success("部门添加成功"), v.value.query();
233
+ await t.Post("system/dept", await i.value.validate()), s(), r.success("部门添加成功"), v.value.query();
234
234
  },
235
235
  width: 730
236
236
  });
@@ -1,4 +1,4 @@
1
- import { x as e } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { S as e } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { flatArrToTree as t } from "../../../utils/tree.mjs";
3
3
  import "../../../utils/index.mjs";
4
4
  import { useRequest as n } from "alova/client";
@@ -1,8 +1,8 @@
1
- import { F as e, P as t, a as n, x as r } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-C3nqGnnX.mjs";
3
+ import { t as a } from "../../../chunks/page-list-Zp_EiMZd.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/DictTypeDetail-e14bGyiZ.mjs";
5
+ import { t as o } from "../../../chunks/DictTypeDetail-ijxK2MDm.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  //#endregion
8
8
  //#region ../../packages/dlzn-ui/views/system/dict/index.vue
@@ -50,7 +50,7 @@ var _ = /* @__PURE__ */ c({
50
50
  method: "system/dict/type/export",
51
51
  permission: "system:dict:export"
52
52
  },
53
- list: { method: (e) => r.Get("system/dict/type/list", { params: {
53
+ list: { method: (e) => n.Get("system/dict/type/list", { params: {
54
54
  ...e,
55
55
  dateRange: void 0,
56
56
  "params[beginTime]": e.dateRange[0] ?? "",
@@ -67,10 +67,10 @@ var _ = /* @__PURE__ */ c({
67
67
  title: "字典名称"
68
68
  },
69
69
  {
70
- cell: (t, { row: n }) => ({
70
+ cell: (e, { row: n }) => ({
71
71
  component: "TypographyTextLink",
72
72
  link: { onClick: () => {
73
- e({
73
+ t({
74
74
  body: () => l(o, { dictType: n.dictType }),
75
75
  footer: !1,
76
76
  header: `字典类型: ${n.dictName}(${n.dictType})`,
@@ -103,14 +103,14 @@ var _ = /* @__PURE__ */ c({
103
103
  },
104
104
  {
105
105
  cell: {
106
- buttons: [({ row: e }) => ({
106
+ buttons: [({ row: t }) => ({
107
107
  default: "编辑",
108
108
  onClick: () => {
109
109
  let a = p(null);
110
110
  g(a, () => {
111
- a.value.setFormData(e);
112
- }, { once: !0 }), t({
113
- body: () => l(n, {
111
+ a.value.setFormData(t);
112
+ }, { once: !0 }), e({
113
+ body: () => l(r, {
114
114
  items: [
115
115
  v.dictName,
116
116
  v.dictType,
@@ -126,9 +126,9 @@ var _ = /* @__PURE__ */ c({
126
126
  }),
127
127
  header: "修改字典类型",
128
128
  onConfirmCallback: async () => {
129
- await r.Put("system/dict/type", {
129
+ await n.Put("system/dict/type", {
130
130
  ...await a.value.validate(),
131
- dictId: e.dictId
131
+ dictId: t.dictId
132
132
  }), i.success("字典类型修改成功"), _.value.query();
133
133
  },
134
134
  width: 430
@@ -151,9 +151,9 @@ var _ = /* @__PURE__ */ c({
151
151
  operations: [{
152
152
  default: "新增",
153
153
  onClick: () => {
154
- let e = p(null);
155
- t({
156
- body: () => l(n, {
154
+ let t = p(null);
155
+ e({
156
+ body: () => l(r, {
157
157
  data: f({ status: "0" }),
158
158
  items: [
159
159
  v.dictName,
@@ -166,11 +166,11 @@ var _ = /* @__PURE__ */ c({
166
166
  ],
167
167
  labelAlign: "right",
168
168
  layout: "vertical",
169
- ref: e
169
+ ref: t
170
170
  }),
171
171
  header: "添加字典类型",
172
172
  onConfirmCallback: async () => {
173
- await r.Post("system/dict/type", await e.value.validate()), i.success("字典添加成功"), _.value.query();
173
+ await n.Post("system/dict/type", await t.value.validate()), i.success("字典添加成功"), _.value.query();
174
174
  },
175
175
  width: 430
176
176
  });
@@ -179,7 +179,7 @@ var _ = /* @__PURE__ */ c({
179
179
  }, {
180
180
  default: "刷新缓存",
181
181
  onClick: async () => {
182
- await r.Delete("system/dict/type/refreshCache", void 0, { meta: { useSuccessMsg: !0 } }), _.value.query();
182
+ await n.Delete("system/dict/type/refreshCache", void 0, { meta: { useSuccessMsg: !0 } }), _.value.query();
183
183
  },
184
184
  permission: "system:dict:remove"
185
185
  }],
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/DictTypeDetail-e14bGyiZ.mjs";
1
+ import { t as e } from "../../../../chunks/DictTypeDetail-ijxK2MDm.mjs";
2
2
  export { e as default };
@@ -1,11 +1,11 @@
1
- import { P as e, a as t, t as n, x as r } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, S as t, n, o as r } from "../../../chunks/provider-C6TTHGoz.mjs";
2
2
  import { t as i } from "../../../chunks/icon-COjp1yrx.mjs";
3
3
  import "../../../components/icon/index.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { isFalsy as o } from "../../../utils/boolean.mjs";
6
6
  import { flatArrToTree as s } from "../../../utils/tree.mjs";
7
7
  import "../../../utils/index.mjs";
8
- import { t as c } from "../../../chunks/page-list-C3nqGnnX.mjs";
8
+ import { t as c } from "../../../chunks/page-list-Zp_EiMZd.mjs";
9
9
  import "../../../components/page-list/index.mjs";
10
10
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
11
11
  import { useRequest as y } from "alova/client";
@@ -14,7 +14,7 @@ import { useRequest as y } from "alova/client";
14
14
  var b = /* @__PURE__ */ u({
15
15
  __name: "index",
16
16
  setup(u) {
17
- let { data: b, send: x } = y(r.Get("system/menu/list", { transform: (e) => s(e.map((e) => ({
17
+ let { data: b, send: x } = y(t.Get("system/menu/list", { transform: (e) => s(e.map((e) => ({
18
18
  ...e,
19
19
  label: e.menuName,
20
20
  value: e.menuId
@@ -162,7 +162,7 @@ var b = /* @__PURE__ */ u({
162
162
  method: "system/menu",
163
163
  permission: "system:menu:remove"
164
164
  },
165
- list: { method: (e) => r.Get("system/menu/list", {
165
+ list: { method: (e) => t.Get("system/menu/list", {
166
166
  params: {
167
167
  ...e,
168
168
  pageNum: void 0,
@@ -248,7 +248,7 @@ var b = /* @__PURE__ */ u({
248
248
  parentId: n.parentId === "0" ? "" : n.parentId
249
249
  }, { numberToStringKeys: ["isFrame"] });
250
250
  }, { once: !0 }), e({
251
- body: () => d(t, {
251
+ body: () => d(r, {
252
252
  data: m({
253
253
  isCache: "0",
254
254
  isFrame: "1",
@@ -283,7 +283,7 @@ var b = /* @__PURE__ */ u({
283
283
  "isFrame"
284
284
  ].forEach((t) => {
285
285
  t in e || (e[t] = "");
286
- }), T(e), await r.Put("system/menu", {
286
+ }), T(e), await t.Put("system/menu", {
287
287
  ...e,
288
288
  menuId: n.menuId,
289
289
  parentId: o(e.parentId) ? "0" : e.parentId
@@ -298,7 +298,7 @@ var b = /* @__PURE__ */ u({
298
298
  onClick: () => {
299
299
  let i = h(null);
300
300
  e({
301
- body: () => d(t, {
301
+ body: () => d(r, {
302
302
  data: m({
303
303
  isCache: "0",
304
304
  isFrame: "1",
@@ -329,7 +329,7 @@ var b = /* @__PURE__ */ u({
329
329
  header: "新增菜单",
330
330
  onConfirmCallback: async () => {
331
331
  let e = await i.value.validate();
332
- T(e), await r.Post("system/menu", e), x(), a.success("菜单修改成功"), S.value.query();
332
+ T(e), await t.Post("system/menu", e), x(), a.success("菜单修改成功"), S.value.query();
333
333
  },
334
334
  width: 730
335
335
  });
@@ -351,7 +351,7 @@ var b = /* @__PURE__ */ u({
351
351
  onClick: () => {
352
352
  let n = h(null);
353
353
  e({
354
- body: () => d(t, {
354
+ body: () => d(r, {
355
355
  data: m({
356
356
  isCache: "0",
357
357
  isFrame: "1",
@@ -378,7 +378,7 @@ var b = /* @__PURE__ */ u({
378
378
  header: "添加菜单",
379
379
  onConfirmCallback: async () => {
380
380
  let e = await n.value.validate();
381
- T(e), await r.Post("system/menu", {
381
+ T(e), await t.Post("system/menu", {
382
382
  ...e,
383
383
  parentId: o(e.parentId) ? "0" : e.parentId
384
384
  }), x(), a.success("菜单添加成功"), S.value.query();