dlzn-ui 2.0.6 → 2.0.8

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 (187) hide show
  1. package/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  3. package/assets/main-CxSb5Gqw.css +2 -0
  4. package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
  5. package/chunks/$loading-Df3COGfW.mjs +241 -0
  6. package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  7. package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
  8. package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
  9. package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
  10. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  11. package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
  12. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  13. package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
  14. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  15. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  16. package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
  17. package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
  18. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  19. package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
  20. package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
  21. package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
  22. package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
  23. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  24. package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
  25. package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
  26. package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
  27. package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
  28. package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  29. package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  30. package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  31. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  32. package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
  33. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  34. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  35. package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
  36. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  37. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  38. package/chunks/css-Cw_qlmlv.mjs +521 -0
  39. package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  40. package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  41. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  42. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  43. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  44. package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
  45. package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
  46. package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
  47. package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
  48. package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
  49. package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
  50. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  51. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  52. package/chunks/store-C46_JI7q.mjs +112 -0
  53. package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
  54. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  55. package/components/app/index.mjs +1 -1
  56. package/components/app/src/app.mjs +1 -1
  57. package/components/button/index.mjs +1 -1
  58. package/components/button/src/button.mjs +1 -1
  59. package/components/checkbox-group/index.mjs +1 -1
  60. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  61. package/components/cron/index.mjs +1 -1
  62. package/components/cron/src/Common.mjs +1 -1
  63. package/components/cron/src/Day.mjs +1 -1
  64. package/components/cron/src/Hour.mjs +1 -1
  65. package/components/cron/src/Minute.mjs +1 -1
  66. package/components/cron/src/Month.mjs +1 -1
  67. package/components/cron/src/Picker.mjs +6206 -103
  68. package/components/cron/src/Second.mjs +1 -1
  69. package/components/cron/src/cron.mjs +1 -1
  70. package/components/custom-page-list/index.mjs +1 -1
  71. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  72. package/components/custom-page-table/index.mjs +1 -1
  73. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  74. package/components/date-picker/index.mjs +1 -1
  75. package/components/date-picker/src/date-picker.mjs +1 -1
  76. package/components/form/index.mjs +1 -1
  77. package/components/form/src/form.mjs +1 -1
  78. package/components/icon/index.mjs +1 -1
  79. package/components/icon/src/icon.mjs +1 -1
  80. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  81. package/components/index.mjs +19 -19
  82. package/components/overview/index.mjs +1 -1
  83. package/components/overview/src/DicLabel/Index.mjs +1 -1
  84. package/components/overview/src/IndexItem.mjs +1 -1
  85. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  86. package/components/overview/src/overview.mjs +1 -1
  87. package/components/page-list/index.mjs +1 -1
  88. package/components/page-list/src/page-list.d.ts +3 -3
  89. package/components/page-list/src/page-list.mjs +1 -1
  90. package/components/page-query/index.mjs +1 -1
  91. package/components/page-query/src/page-query.mjs +1 -1
  92. package/components/page-table/index.mjs +1 -1
  93. package/components/page-table/src/page-table.mjs +1 -1
  94. package/components/page-table/src/page-table.vue.d.ts +1 -1
  95. package/components/pagination/index.mjs +1 -1
  96. package/components/pagination/src/pagination.mjs +1 -1
  97. package/components/provider/index.mjs +1 -1
  98. package/components/provider/src/Provider.mjs +1 -1
  99. package/components/radio-group/index.mjs +1 -1
  100. package/components/radio-group/src/radio-group.mjs +1 -1
  101. package/components/scrollbar/index.mjs +1 -1
  102. package/components/scrollbar/src/scrollbar.mjs +1 -1
  103. package/components/select/index.mjs +2 -2
  104. package/components/select/src/select.mjs +1 -1
  105. package/components/select-sys-user/index.mjs +1 -1
  106. package/components/select-sys-user/src/Picker.mjs +2 -2
  107. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  108. package/components/table/index.mjs +1 -1
  109. package/components/table/src/table.mjs +1 -1
  110. package/components/table/src/table.vue.d.ts +1 -1
  111. package/components/tag/index.mjs +1 -1
  112. package/components/tag/src/tag.mjs +1 -1
  113. package/components/tree/index.mjs +2 -2
  114. package/components/tree/src/tree.mjs +1 -1
  115. package/components/tree-select/index.mjs +1 -1
  116. package/components/tree-select/src/tree-select.mjs +1 -1
  117. package/components/upload/index.mjs +2 -2
  118. package/components/upload/src/upload.mjs +1 -1
  119. package/hooks/useAnimateAuto/index.mjs +6 -6
  120. package/hooks/useContextMenu/menu/index.mjs +1 -1
  121. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  122. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  123. package/hooks/useDicOptions/index.mjs +2 -2
  124. package/hooks/useSysUser/index.mjs +2 -2
  125. package/index.d.ts +3 -0
  126. package/layout/Entry.mjs +1 -1
  127. package/layout/Login.mjs +6 -6
  128. package/layout/NotFound.mjs +1 -1
  129. package/layout/modules/Aside.mjs +1 -1
  130. package/layout/modules/Breadcrumb.mjs +1 -1
  131. package/layout/modules/Header.mjs +1 -1
  132. package/layout/modules/LoginBg.mjs +1 -1
  133. package/layout/modules/MenuNode.mjs +1 -1
  134. package/layout/profile/Index.mjs +4 -4
  135. package/layout/profile/ResetPwd.mjs +1 -1
  136. package/layout/profile/UserInfo.mjs +1 -1
  137. package/layout/vueBits/LightRays.mjs +47 -47
  138. package/layout/vueBits/Plasma.mjs +29 -29
  139. package/layout/vueBits/Prism.mjs +51 -51
  140. package/main.d.ts +2 -0
  141. package/main.mjs +41 -0
  142. package/package.json +17 -11
  143. package/plugins/autoImport/$alova/index.mjs +2 -2
  144. package/plugins/autoImport/$confirm/index.mjs +1 -1
  145. package/plugins/autoImport/$dialog/index.mjs +1 -1
  146. package/plugins/autoImport/$drawer/index.mjs +1 -1
  147. package/plugins/autoImport/$loading/index.mjs +2 -38
  148. package/plugins/captcha/captcha.mjs +13 -13
  149. package/plugins/captcha/index.mjs +1 -1
  150. package/plugins/echarts/index.mjs +705 -25
  151. package/plugins/initialize/index.mjs +1 -1
  152. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  153. package/plugins/tableRenders/Wrapper.mjs +1 -1
  154. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  158. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  161. package/plugins/tableRenders/cell/index.mjs +7 -7
  162. package/plugins/tableRenders/title/index.mjs +1 -1
  163. package/router/index.mjs +1 -1
  164. package/store/index.mjs +2 -7
  165. package/store/modules/common.mjs +1 -1
  166. package/store/modules/login.mjs +1 -1
  167. package/store/modules/recentRouters.mjs +1 -1
  168. package/store/modules/router.mjs +1 -1
  169. package/store/modules/user.mjs +2 -2
  170. package/utils/tool.mjs +16 -15
  171. package/views/system/dept/index.mjs +10 -10
  172. package/views/system/dept/utils.mjs +1 -1
  173. package/views/system/dict/index.mjs +18 -18
  174. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  175. package/views/system/menu/index.mjs +11 -11
  176. package/views/system/post/index.mjs +6 -6
  177. package/views/system/role/index.mjs +42 -42
  178. package/views/system/role/modules/AssignUser.mjs +1 -1
  179. package/views/system/role/modules/SelectDept.mjs +1 -1
  180. package/views/system/role/modules/SelectMenu.mjs +1 -1
  181. package/views/system/role/modules/SelectUser.mjs +1 -1
  182. package/views/system/user/index.mjs +49 -49
  183. package/views/tool/job/index.mjs +31 -31
  184. package/views/tool/job/modules/Log.mjs +1 -1
  185. package/assets/LoginBg-BTrRjkK7.css +0 -1
  186. package/chunks/date-picker-DtbDIFUH.mjs +0 -378
  187. package/chunks/icon-COjp1yrx.mjs +0 -21
@@ -1,9 +1,689 @@
1
- import { BarChart as e, LineChart as t, MapChart as n, PieChart as r, ScatterChart as i } from "echarts/charts";
2
- import { DataZoomComponent as a, GraphicComponent as o, GridComponent as s, LegendComponent as c, MarkPointComponent as l, TitleComponent as u, TooltipComponent as d, VisualMapComponent as f } from "echarts/components";
3
- import { registerMap as p, use as m } from "echarts/core";
4
- import { CanvasRenderer as h } from "echarts/renderers";
5
- import g from "vue-echarts";
6
- var _ = {
1
+ import { Teleport as e, computed as t, defineComponent as n, getCurrentInstance as r, h as i, inject as a, nextTick as o, onBeforeUnmount as s, onMounted as c, onScopeDispose as l, onUpdated as u, shallowReactive as d, shallowRef as f, toRef as p, toValue as m, warn as h, watch as g, watchSyncEffect as _ } from "vue";
2
+ import { BarChart as v, LineChart as y, MapChart as b, PieChart as x, ScatterChart as S } from "echarts/charts";
3
+ import { DataZoomComponent as C, GraphicComponent as w, GridComponent as ee, LegendComponent as te, MarkPointComponent as ne, TitleComponent as T, TooltipComponent as E, VisualMapComponent as D } from "echarts/components";
4
+ import { ComponentModel as O, init as re, registerMap as ie, throttle as ae, use as k } from "echarts/core";
5
+ import { CanvasRenderer as oe } from "echarts/renderers";
6
+ //#region ../../node_modules/.pnpm/vue-echarts@8.3.0_echarts@6.1.0_vue@3.5.41/node_modules/vue-echarts/dist/update-CWPvYl2M.js
7
+ function A(e) {
8
+ return typeof e == "function" || Array.isArray(e) && e.length > 0;
9
+ }
10
+ function j(e) {
11
+ if (typeof e == "function") return e;
12
+ if (!(!Array.isArray(e) || e.length === 0)) return (...t) => {
13
+ let n;
14
+ for (let r of e.slice()) n = r(...t) || n;
15
+ return n;
16
+ };
17
+ }
18
+ function M() {
19
+ return typeof window < "u" && typeof document < "u";
20
+ }
21
+ var N = /^on[^a-z]/, P = (e) => N.test(e);
22
+ function F(e) {
23
+ if (!P(e)) return null;
24
+ let t = e.charAt(2).toLowerCase() + e.slice(3), n = t.endsWith("Once");
25
+ return n && (t = t.slice(0, -4)), {
26
+ event: t,
27
+ once: n
28
+ };
29
+ }
30
+ function I(e) {
31
+ let t = Number(e);
32
+ return Number.isInteger(t) && t >= 0 && t < 2 ** 32 - 1 && String(t) === e;
33
+ }
34
+ function L(e) {
35
+ if (typeof e != "object" || !e) return !1;
36
+ let t = Object.getPrototypeOf(e);
37
+ return t === null || t === Object.prototype;
38
+ }
39
+ function se(e, t) {
40
+ return e === 0 || t === 0;
41
+ }
42
+ function ce(e, t) {
43
+ if (Object.is(e, t)) return typeof e != "object" || !e;
44
+ if (!L(e) || !L(t)) return !1;
45
+ let n = Object.keys(e);
46
+ return n.length === Object.keys(t).length && n.every((n) => Object.hasOwn(t, n) && Object.is(e[n], t[n]));
47
+ }
48
+ var R = "[vue-echarts]";
49
+ function z(e) {
50
+ h(`${R} ${e}`);
51
+ }
52
+ function le(e) {
53
+ return null;
54
+ }
55
+ function B(e) {
56
+ return typeof e == "string" || typeof e == "number" ? String(e) : void 0;
57
+ }
58
+ function V(e, t, n) {
59
+ if (!L(e)) return !0;
60
+ let r = Object.create(null);
61
+ for (let i of Object.keys(e)) {
62
+ let a = e[i];
63
+ if (a !== void 0) {
64
+ if (n === "graphic" && i === "$action" && (t.hasAction = !0), n === "graphic" && (i === "elements" || i === "children") && Array.isArray(a)) {
65
+ r[i] = H(a, t, "graphic", !0);
66
+ continue;
67
+ }
68
+ if (n === "option") {
69
+ let e = O.hasClass(i);
70
+ if (Array.isArray(a) || e && L(a)) {
71
+ r[i] = H(Array.isArray(a) ? a : [a], t, i === "graphic" ? "graphic" : void 0, e);
72
+ continue;
73
+ }
74
+ }
75
+ r[i] = n === "media" && i === "option" ? V(a, t, "option") : V(a, t);
76
+ }
77
+ }
78
+ return r;
79
+ }
80
+ function H(e, t, n, r) {
81
+ let i = [];
82
+ for (let a of e) {
83
+ let e = r ? a : void 0;
84
+ i.push({
85
+ id: B(e?.id),
86
+ name: B(e?.name),
87
+ ...n === "graphic" ? { type: B(e?.type) } : {},
88
+ shape: V(a, t, n)
89
+ });
90
+ }
91
+ return i;
92
+ }
93
+ function U(e) {
94
+ let t = e, n = { hasAction: !1 }, r = Object.create(null), i = Object.create(null), a = [];
95
+ for (let e of Object.keys(t)) {
96
+ let o = t[e], s = O.hasClass(e);
97
+ if (Array.isArray(o) || s && L(o)) {
98
+ let t = e === "options" ? "option" : e === "media" ? "media" : e === "graphic" ? "graphic" : void 0;
99
+ r[e] = H(Array.isArray(o) ? o : [o], n, t, s);
100
+ continue;
101
+ }
102
+ if (L(o)) {
103
+ i[e] = V(o, n, e === "baseOption" ? "option" : void 0);
104
+ continue;
105
+ }
106
+ o !== void 0 && !s && a.push(e);
107
+ }
108
+ return {
109
+ collections: r,
110
+ objectShapes: i,
111
+ leaves: a,
112
+ hasAction: n.hasAction
113
+ };
114
+ }
115
+ function W(e, t) {
116
+ return t ? t.length < e.length : e.length > 0;
117
+ }
118
+ function G(e) {
119
+ return e.id === void 0 ? e.name === void 0 ? void 0 : `name:${e.name}` : `id:${e.id}`;
120
+ }
121
+ function K(e, t) {
122
+ let n = Math.min(e.length, t.length);
123
+ for (let r = 0; r < n; r++) {
124
+ let n = G(e[r]), i = G(t[r]);
125
+ if (n !== i && (n !== void 0 || i !== void 0)) return !0;
126
+ }
127
+ return !1;
128
+ }
129
+ function ue(e, t) {
130
+ let n = /* @__PURE__ */ new Map();
131
+ for (let t = 0; t < e.length; t++) {
132
+ let r = e[t];
133
+ r.id !== void 0 && n.set(r.id, t);
134
+ }
135
+ return t.every((e, t) => {
136
+ let r = e.id === void 0 ? void 0 : n.get(e.id);
137
+ return r === void 0 || r === t;
138
+ });
139
+ }
140
+ function q(e, t) {
141
+ if (e === !0 || t === !0) return !1;
142
+ let n = Array.isArray(e), r = Array.isArray(t);
143
+ if (n || r) return !n || !r || W(e, t) || K(e, t) || J(e, t) !== 0;
144
+ for (let n in e) {
145
+ let r = t[n];
146
+ if (r === void 0 || q(e[n], r)) return !0;
147
+ }
148
+ return !1;
149
+ }
150
+ function J(e, t) {
151
+ let n = /* @__PURE__ */ new Map();
152
+ for (let e of t) e.id !== void 0 && !n.has(e.id) && n.set(e.id, e);
153
+ let r = 0;
154
+ for (let i = 0; i < e.length; i++) {
155
+ let a = e[i], o = a.id === void 0 ? t[i] : n.get(a.id);
156
+ if (o && (a.type !== o.type || q(a.shape, o.shape))) {
157
+ if (a.id !== void 0) return 2;
158
+ r = 1;
159
+ }
160
+ }
161
+ return r;
162
+ }
163
+ function Y(e, t) {
164
+ if (t.objectShapes.aria && !e.objectShapes.aria) return !0;
165
+ for (let n in t.collections) if (!e.collections[n] && !e.objectShapes[n] && !e.leaves.includes(n) && !O.hasClass(n)) return !0;
166
+ for (let n in e.objectShapes) {
167
+ let r = e.objectShapes[n], i = t.objectShapes[n];
168
+ if (r && i) {
169
+ if (q(r, i)) return !0;
170
+ continue;
171
+ }
172
+ if (!t.leaves.includes(n)) return !0;
173
+ }
174
+ for (let n of e.leaves) if (!t.leaves.includes(n) && t.collections[n] === void 0 && t.objectShapes[n] === void 0) return !0;
175
+ return !1;
176
+ }
177
+ function X(e, t) {
178
+ let n = t ? J(e, t) : 0;
179
+ return n === 2 ? n : n === 0 && !W(e, t) && !(t && K(e, t)) ? 0 : t && !ue(e, t) ? 2 : 1;
180
+ }
181
+ function de(e, t) {
182
+ let n = U(t);
183
+ if (!e) return {
184
+ signature: n,
185
+ plan: { notMerge: !1 }
186
+ };
187
+ let r = Y(e, n), i = [];
188
+ for (let t in e.collections) {
189
+ let a = n.collections[t], o = X(e.collections[t], a);
190
+ O.hasClass(t) ? o === 2 ? r = !0 : o === 1 && i.push(t) : r ||= !a || o !== 0;
191
+ }
192
+ let a = n.hasAction ? i.filter((e) => e !== "graphic") : i, o = r && !n.hasAction;
193
+ return {
194
+ signature: n,
195
+ plan: !o && a.length ? {
196
+ notMerge: o,
197
+ replaceMerge: a.sort()
198
+ } : { notMerge: o }
199
+ };
200
+ }
201
+ //#endregion
202
+ //#region ../../node_modules/.pnpm/vue-echarts@8.3.0_echarts@6.1.0_vue@3.5.41/node_modules/vue-echarts/dist/index.js
203
+ var fe = [
204
+ "getWidth",
205
+ "getHeight",
206
+ "getDom",
207
+ "getZr",
208
+ "getId",
209
+ "getOption",
210
+ "isSSR",
211
+ "getDevicePixelRatio",
212
+ "resize",
213
+ "makeActionFromEvent",
214
+ "dispatchAction",
215
+ "updateLabelLayout",
216
+ "convertToPixel",
217
+ "convertToLayout",
218
+ "convertFromPixel",
219
+ "containPixel",
220
+ "getVisual",
221
+ "renderToCanvas",
222
+ "renderToSVGString",
223
+ "getSvgDataURL",
224
+ "getDataURL",
225
+ "getConnectedDataURL",
226
+ "appendData",
227
+ "clear"
228
+ ];
229
+ function pe(e, t, n) {
230
+ let r = () => {
231
+ if (n()) throw Error("ECharts has been disposed.");
232
+ let t = e.value;
233
+ if (!t) throw Error("ECharts is not initialized yet.");
234
+ return t;
235
+ }, i = {};
236
+ for (let e of fe) i[e] = (...t) => {
237
+ let n = r();
238
+ return Reflect.apply(n[e], n, t);
239
+ };
240
+ return i.dispose = t, i.isDisposed = n, i;
241
+ }
242
+ function me(e, t, n) {
243
+ let r = () => typeof t.value == "object" ? t.value : void 0;
244
+ return g([
245
+ n,
246
+ e,
247
+ () => !!t.value,
248
+ () => r()?.throttle ?? 100
249
+ ], ([e, t, n, i], a, o) => {
250
+ if (!t || !e || !n) return;
251
+ let s = t.getWidth(), c = t.getHeight(), l = () => {
252
+ se(s, c) || s === t.getWidth() && c === t.getHeight() || (t.resize(), r()?.onResize?.());
253
+ }, u = i ? ae(l, i) : void 0, d = new ResizeObserver(([e]) => {
254
+ s = e.contentRect.width, c = e.contentRect.height, (u ?? l)();
255
+ });
256
+ d.observe(e), o(() => {
257
+ d.disconnect(), u?.clear();
258
+ });
259
+ }, { flush: "sync" });
260
+ }
261
+ var he = { autoresize: [Boolean, Object] }, ge = Symbol();
262
+ function _e(e, t, n, r) {
263
+ let i = a(ge, void 0);
264
+ return g(() => t.value ? {
265
+ instance: e.value,
266
+ visible: !0,
267
+ type: n.value || void 0,
268
+ options: {
269
+ ...m(i),
270
+ ...r.value
271
+ }
272
+ } : {
273
+ instance: e.value,
274
+ visible: !1
275
+ }, (e) => {
276
+ let { instance: t } = e;
277
+ if (!t) return;
278
+ if (!e.visible) {
279
+ t.hideLoading();
280
+ return;
281
+ }
282
+ let { type: n, options: r } = e;
283
+ n ? t.showLoading(n, r) : t.showLoading(r);
284
+ }, {
285
+ deep: !0,
286
+ immediate: !0,
287
+ flush: "sync"
288
+ });
289
+ }
290
+ var ve = {
291
+ loading: Boolean,
292
+ loadingType: String,
293
+ loadingOptions: Object
294
+ }, Z = {
295
+ tooltip: ["tooltip", "formatter"],
296
+ dataView: [
297
+ "toolbox",
298
+ "feature",
299
+ "dataView",
300
+ "optionToContent"
301
+ ]
302
+ }, ye = /-__proto__(?:-|$)/;
303
+ function be(e) {
304
+ return (e === "tooltip" || e.startsWith("tooltip-") || e === "dataView" || e.startsWith("dataView-")) && !e.endsWith("-") && !e.includes("--") && !ye.test(e);
305
+ }
306
+ function xe(e) {
307
+ let t = e.startsWith("tooltip") ? "tooltip" : "dataView", n = e.slice(t.length), r = n ? n.slice(1).split("-") : [], i = Z[t];
308
+ if (I(r[0] ?? "")) {
309
+ let e = r.shift();
310
+ r.push(i[0], e, ...i.slice(1));
311
+ } else r.push(...i);
312
+ return r;
313
+ }
314
+ function Se(e, t, n) {
315
+ let r = Array.isArray(e);
316
+ if (r !== I(t)) return;
317
+ let i = r ? e[Number(t)] : e[t], a;
318
+ if (Array.isArray(i)) a = [...i];
319
+ else if (L(i)) a = { ...i };
320
+ else if (i === void 0 && !r && !I(n)) a = {};
321
+ else return;
322
+ return Ce(e, t, a), a;
323
+ }
324
+ function Ce(e, t, n) {
325
+ if (Array.isArray(e)) {
326
+ e[Number(t)] = n;
327
+ return;
328
+ }
329
+ e[t] = n;
330
+ }
331
+ function we(e, t, n, r = !1) {
332
+ let i = e;
333
+ for (let e = 0; e < t.length - 1; e++) {
334
+ let n = Se(i, t[e], t[e + 1]);
335
+ if (!n) return !1;
336
+ i = n;
337
+ }
338
+ if (Array.isArray(i)) return !1;
339
+ let a = t[t.length - 1];
340
+ return (!r || i[a] === void 0) && Ce(i, a, n), !0;
341
+ }
342
+ function Te(t, n) {
343
+ let a = r(), o, s = d({}), l = d({}), p = f(!1), m = f(!1), h = (e = !1) => {
344
+ let n = [];
345
+ for (let r in t) r !== "graphic" && (be(r) ? n.push(r) : e && z(`Invalid slot name: ${r}`));
346
+ return n;
347
+ };
348
+ h(!0);
349
+ let g = [], _ = g, v = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Map();
350
+ function b(e) {
351
+ if (m.value = e, !e) {
352
+ v.clear();
353
+ for (let e of Object.keys(l)) delete l[e];
354
+ }
355
+ }
356
+ function x(e) {
357
+ if (e.length === g.length && g.every((t) => e.includes(t))) return !1;
358
+ for (let t of g) e.includes(t) || (delete l[t], delete s[t], y.delete(t));
359
+ return g = e, !0;
360
+ }
361
+ let S = () => {
362
+ if (_ = h(), _.length === 0 || !m.value || !p.value) return;
363
+ let n = a.vnode.el.ownerDocument;
364
+ return o ??= n.createElement("div"), i(e, { to: o }, _.map((e) => {
365
+ let n = t[e], r = e in l ? n?.(l[e]) : void 0;
366
+ return i("div", {
367
+ key: e,
368
+ ref: (t) => {
369
+ t ? s[e] = t : delete s[e];
370
+ },
371
+ style: { display: "contents" }
372
+ }, r);
373
+ }));
374
+ };
375
+ function C(e) {
376
+ let n = h();
377
+ x(n);
378
+ let r;
379
+ for (let t of v) n.includes(t) || (r ??= { ...e }, we(r, xe(t), null, !0));
380
+ n.length && (r ??= { ...e });
381
+ let i = [];
382
+ for (let e of n) {
383
+ let n = y.get(e);
384
+ n || (n = {
385
+ path: xe(e),
386
+ formatter: (n) => {
387
+ if (t[e]) return e in l && Object.is(l[e], n) && delete l[e], l[e] = n, s[e];
388
+ }
389
+ }, y.set(e, n)), we(r, n.path, n.formatter) && i.push(e);
390
+ }
391
+ return {
392
+ option: r ?? e,
393
+ commit: () => {
394
+ i.forEach((e) => v.add(e));
395
+ }
396
+ };
397
+ }
398
+ return u(() => {
399
+ x(_) && n();
400
+ }), c(() => {
401
+ g = _, p.value = !0;
402
+ }), {
403
+ render: S,
404
+ prepare: C,
405
+ setReady: b,
406
+ cancelPendingUpdate: () => {
407
+ x(h());
408
+ }
409
+ };
410
+ }
411
+ var Ee = "x-vue-echarts", Q = Symbol.for("vue-echarts.lifecycle");
412
+ function De() {
413
+ let e = globalThis.customElements;
414
+ if (!e) return !1;
415
+ let t = e.get(Ee);
416
+ if (t) return !!t[Q];
417
+ class n extends HTMLElement {
418
+ __dispose = null;
419
+ disconnectedCallback() {
420
+ this.__dispose && queueMicrotask(() => {
421
+ if (!this.isConnected && this.__dispose) {
422
+ let e = this.__dispose;
423
+ this.__dispose = null, e();
424
+ }
425
+ });
426
+ }
427
+ }
428
+ return Object.defineProperty(n, Q, { value: !0 }), e.define(Ee, n), !0;
429
+ }
430
+ var Oe = "onNative:";
431
+ function ke(e, t) {
432
+ let n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), o;
433
+ function s() {
434
+ for (let e of n.values()) e.emitter.off(e.event, e.handler);
435
+ n.clear();
436
+ }
437
+ function c() {
438
+ a.clear();
439
+ let r = e.value;
440
+ for (let [e, n] of i) t[e] !== n && i.delete(e);
441
+ if (!r) {
442
+ s(), o = void 0;
443
+ return;
444
+ }
445
+ o && o !== r && s(), o = r;
446
+ for (let e in t) {
447
+ let o = F(e);
448
+ if (!o || o.event.startsWith("native:") || o.event === "zr:") continue;
449
+ let s = o.event.startsWith("zr:"), c = (s ? o.event.slice(3) : o.event).toLowerCase(), l = t[e], u = n.get(e);
450
+ if (o.once && i.get(e) === l) continue;
451
+ if (u && u.source === l && A(l)) {
452
+ a.add(e);
453
+ continue;
454
+ }
455
+ let d = j(l);
456
+ if (u && (u.emitter.off(u.event, u.handler), n.delete(e)), !d) continue;
457
+ let f = s ? r.getZr() : r, p = d;
458
+ o.once && (p = (...t) => {
459
+ n.delete(e), i.set(e, l), f.off(c, p), d(...t);
460
+ }), f.on(c, p), n.set(e, {
461
+ emitter: f,
462
+ event: c,
463
+ source: l,
464
+ handler: p
465
+ }), a.add(e);
466
+ }
467
+ for (let [e, t] of n) a.has(e) || (t.emitter.off(t.event, t.handler), n.delete(e));
468
+ }
469
+ let d = _(c);
470
+ r() && u(c);
471
+ let f = () => {
472
+ d(), s();
473
+ };
474
+ return l(f), {
475
+ sync: c,
476
+ stop: f
477
+ };
478
+ }
479
+ function Ae(e) {
480
+ let t = {};
481
+ for (let n in e) {
482
+ if (n.startsWith(Oe)) {
483
+ let r = n.slice(9);
484
+ r && (t[`on:${r}`] = e[n]);
485
+ continue;
486
+ }
487
+ P(n) || (t[n] = e[n]);
488
+ }
489
+ return t;
490
+ }
491
+ var je = "x-vue-echarts{display:block;width:100%;height:100%;min-width:0;}\nx-vue-echarts>.echarts-host{display:block;width:100%;height:100%;min-width:0;}\nx-vue-echarts>.echarts-host>:first-child,x-vue-echarts>.echarts-host>:first-child>canvas{border-radius:inherit;}\n";
492
+ if (M()) {
493
+ if (Array.isArray(document.adoptedStyleSheets) && "replaceSync" in CSSStyleSheet.prototype) {
494
+ let e = new CSSStyleSheet();
495
+ e.replaceSync(je), document.adoptedStyleSheets = [...document.adoptedStyleSheets, e];
496
+ } else {
497
+ let e = document.createElement("style");
498
+ e.textContent = je, document.head.appendChild(e);
499
+ }
500
+ }
501
+ var Me = De(), $ = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = /* @__PURE__ */ n({
502
+ name: "Echarts",
503
+ inheritAttrs: !1,
504
+ props: {
505
+ option: Object,
506
+ theme: { type: [Object, String] },
507
+ initOptions: Object,
508
+ updateOptions: Object,
509
+ group: String,
510
+ manualUpdate: Boolean,
511
+ ...he,
512
+ ...ve
513
+ },
514
+ emits: {},
515
+ slots: Object,
516
+ setup(e, { attrs: n, expose: r, slots: l }) {
517
+ let u = f(), d = f(), h = f(), v = f(0), y = 0, b = a(Ne, null), x = a(Pe, null), S = a(Fe, null), C = p(e, "autoresize"), w = p(e, "manualUpdate"), ee = p(e, "loading"), te = p(e, "loadingType"), ne = p(e, "loadingOptions"), T = t(() => e.theme ?? m(b) ?? void 0), E = t(() => e.initOptions ?? m(x) ?? void 0), D = t(() => e.updateOptions ?? m(S)), O = f(!1), { render: ie, prepare: ae, setReady: k, cancelPendingUpdate: oe } = Te(l, K), A = le({
518
+ slots: l,
519
+ manualUpdate: w,
520
+ requestUpdate: () => K(2)
521
+ }), j, M, N = !1, P = !1, F = !1, I = !1, L = 0, R = !1;
522
+ function B() {
523
+ return e.option ?? (A && (l.graphic || I) ? {} : void 0);
524
+ }
525
+ function V(e) {
526
+ return e !== void 0 && h.value === e && !O.value;
527
+ }
528
+ function H(e, t, n) {
529
+ let r = ++L;
530
+ return j = null, R = !1, t(), !V(e) || L !== r ? !1 : (j = n, R = !0, !0);
531
+ }
532
+ function U(e) {
533
+ if (!P || N) return !1;
534
+ let t = L + 1;
535
+ N = !0;
536
+ try {
537
+ return H(e, () => e.setTheme(T.value || {}), j === void 0 ? void 0 : null);
538
+ } catch (e) {
539
+ throw L === t && (N = !1), e;
540
+ }
541
+ }
542
+ function W(e, t, n, r) {
543
+ let i = n === "manual";
544
+ F = !1;
545
+ let a = ae(t), o = a.option, s = !!(A && l.graphic), c = s ? {
546
+ ...o,
547
+ graphic: void 0
548
+ } : o, u = i ? r : D.value ?? void 0, d = null, f = n === "graphic" && s && I && R;
549
+ if (f) d = j ?? null;
550
+ else if (!i && !u) {
551
+ let e = de(j ?? void 0, c);
552
+ u = !e.signature.hasAction && j === null ? {
553
+ ...e.plan,
554
+ notMerge: !0
555
+ } : e.plan, d = e.signature;
556
+ }
557
+ let p = u?.replaceMerge, m = typeof p == "string" ? [p] : p ?? [], h = A?.prepare(o, !R || !I || !!u?.notMerge || m.includes("graphic") || i), g = h?.option ?? o;
558
+ (h?.replace || I && !s) && !u?.notMerge && !m.includes("graphic") && (u = {
559
+ ...u,
560
+ replaceMerge: [...m, "graphic"]
561
+ });
562
+ let _ = m.some((e) => e !== "graphic");
563
+ f && !u?.notMerge && !_ && (g = { graphic: g.graphic }), q(), H(e, () => e.setOption(g, u), d) && (a.commit(), h?.commit(), I = s, P = !0, i || (M = t), U(e) && !i && W(e, t));
564
+ }
565
+ function G(e) {
566
+ y |= e, v.value++;
567
+ }
568
+ function K(e = 1) {
569
+ !w.value && !F && !O.value && G(e);
570
+ }
571
+ function ue() {
572
+ let e = y;
573
+ y = 0;
574
+ let t = h.value;
575
+ if (!e || !V(t)) return;
576
+ if (e & 8) {
577
+ Y(), X();
578
+ return;
579
+ }
580
+ if (F) return;
581
+ q();
582
+ let n = e & 3 ? B() ?? M : M, r = !N && P;
583
+ r && !U(t) || !w.value && n && W(t, n, e === 2 && !r ? "graphic" : void 0);
584
+ }
585
+ l.graphic && !A && z("Detected `#graphic` slot but no extension is registered. Import from `vue-echarts/graphic` to enable it.");
586
+ let { sync: q, stop: J } = ke(h, n);
587
+ function Y() {
588
+ y = 0, A?.cancelPendingFlush(), L++;
589
+ let e = h.value;
590
+ h.value = void 0, k(!1), j = void 0, R = !1, M = void 0, F = !1, I = !1, e?.dispose();
591
+ }
592
+ function X() {
593
+ y = 0, P = !1;
594
+ let t = d.value, n = re(t, T.value, E.value);
595
+ if (h.value = n, !V(n)) return;
596
+ N = !0;
597
+ function r() {
598
+ let t = w.value ? e.option : B();
599
+ t && (w.value ? W(n, t, "manual", D.value ?? void 0) : W(n, t)), k(V(n));
600
+ }
601
+ if (C.value) {
602
+ F = !0, o(() => {
603
+ V(n) && (C.value && !se(t.offsetWidth, t.offsetHeight) && (n.resize(), !V(n)) || (F ? (F = !1, r()) : k(!0)));
604
+ });
605
+ return;
606
+ }
607
+ r();
608
+ }
609
+ let fe = (t, n, r) => {
610
+ if (!e.manualUpdate) {
611
+ z("`setOption` is only available when `manual-update` is `true`.");
612
+ return;
613
+ }
614
+ let i = h.value;
615
+ V(i) && W(i, t, "manual", typeof n == "boolean" ? {
616
+ notMerge: n,
617
+ lazyUpdate: r
618
+ } : n ?? (r === void 0 ? void 0 : { lazyUpdate: r }));
619
+ }, he = g(T, (e, t) => {
620
+ ce(e, t) || (N = !1, G(4));
621
+ }, {
622
+ deep: !0,
623
+ flush: "sync"
624
+ }), ge = g(E, (e, t) => {
625
+ ce(e, t) || G(8);
626
+ }, {
627
+ deep: !0,
628
+ flush: "sync"
629
+ });
630
+ function ve() {
631
+ return g(() => w.value ? $ : e.option, (e, t) => {
632
+ e !== $ && t !== $ && (e ?? B()) && K();
633
+ }, { deep: !0 });
634
+ }
635
+ let Z = ve(), ye = g(w, () => G(8), { flush: "sync" }), be = g(v, ue, { flush: "post" }), xe = _(() => {
636
+ let t = h.value;
637
+ V(t) && (t.group = e.group ?? "");
638
+ }), Se = _e(h, ee, te, ne), Ce = me(h, C, d);
639
+ function we() {
640
+ O.value || (O.value = !0, he(), ge(), Z(), ye(), be(), xe(), Se(), Ce(), J(), Y());
641
+ }
642
+ let Q = pe(h, we, () => O.value), De = Q.clear;
643
+ return Q.clear = () => {
644
+ let e = h.value;
645
+ if (!V(e)) return De();
646
+ F = !1, y = 0, A?.cancelPendingFlush(), oe(), Z(), Z = ve(), H(e, () => e.clear(), void 0) && (M = void 0, I = !1, P = !0);
647
+ }, c(() => {
648
+ O.value || X();
649
+ }), s(() => {
650
+ if (Z(), O.value) return;
651
+ O.value = !0;
652
+ let e = u.value;
653
+ if (Me && e?.isConnected && e.__dispose === null) {
654
+ e.__dispose = Y;
655
+ return;
656
+ }
657
+ Y();
658
+ }), r(Object.assign({
659
+ setOption: fe,
660
+ get root() {
661
+ return u.value ?? void 0;
662
+ },
663
+ get chart() {
664
+ let e = h.value;
665
+ return V(e) ? e : void 0;
666
+ }
667
+ }, Q)), (() => {
668
+ let e = [i("div", {
669
+ ref: d,
670
+ class: "echarts-host"
671
+ })];
672
+ if (!O.value) {
673
+ let t = ie();
674
+ t && e.push(t);
675
+ let n = A?.render();
676
+ n && e.push(n);
677
+ }
678
+ let t = Ae(n);
679
+ return i(Ee, {
680
+ ...t,
681
+ ref: u,
682
+ class: ["echarts", t.class]
683
+ }, e);
684
+ });
685
+ }
686
+ }), Le = {
7
687
  type: "FeatureCollection",
8
688
  features: [
9
689
  {
@@ -26549,26 +27229,26 @@ var _ = {
26549
27229
  }
26550
27230
  ]
26551
27231
  };
26552
- m([
26553
- t,
26554
- r,
26555
- e,
26556
- n,
26557
- i,
26558
- a,
26559
- s,
26560
- h,
26561
- o,
26562
- d,
26563
- c,
26564
- l,
26565
- f,
26566
- u
26567
- ]), p("china", _);
26568
- var v = _.features.filter((e) => e.properties.name !== "").map((e) => ({
27232
+ k([
27233
+ y,
27234
+ x,
27235
+ v,
27236
+ b,
27237
+ S,
27238
+ C,
27239
+ ee,
27240
+ oe,
27241
+ w,
27242
+ E,
27243
+ te,
27244
+ ne,
27245
+ D,
27246
+ T
27247
+ ]), ie("china", Le);
27248
+ var Re = Le.features.filter((e) => e.properties.name !== "").map((e) => ({
26569
27249
  adcode: e.properties.adcode,
26570
27250
  center: e.properties.center,
26571
27251
  name: e.properties.name
26572
- })), y = g;
27252
+ })), ze = Ie;
26573
27253
  //#endregion
26574
- export { y as default, v as mapFeaturesArr };
27254
+ export { ze as default, Re as mapFeaturesArr };