@duxweb/dvha-pro 0.0.6 → 0.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 (121) hide show
  1. package/dist/cjs/component.cjs +1 -1
  2. package/dist/cjs/components/card/card.cjs +1 -1
  3. package/dist/cjs/components/chart/echart.cjs +1 -0
  4. package/dist/cjs/components/dialog/dialog.cjs +1 -1
  5. package/dist/cjs/components/drawer/drawer.cjs +1 -1
  6. package/dist/cjs/components/form/modalForm.cjs +1 -1
  7. package/dist/cjs/components/form/pageForm.cjs +1 -1
  8. package/dist/cjs/components/form/settingForm.cjs +1 -1
  9. package/dist/cjs/components/layout/list.cjs +1 -1
  10. package/dist/cjs/components/layout/table.cjs +1 -1
  11. package/dist/cjs/components/list/card.cjs +1 -1
  12. package/dist/cjs/components/list/list.cjs +1 -1
  13. package/dist/cjs/components/modal/modal.cjs +1 -1
  14. package/dist/cjs/components/modal/modalPage.cjs +1 -1
  15. package/dist/cjs/components/modal/modalTab.cjs +1 -1
  16. package/dist/cjs/components/select/cardSelect.cjs +1 -0
  17. package/dist/cjs/components/table/tablePage.cjs +1 -1
  18. package/dist/cjs/config/echart.cjs +1 -0
  19. package/dist/cjs/dvha-pro.css +1 -1
  20. package/dist/cjs/hooks/action.cjs +1 -1
  21. package/dist/cjs/hooks/dialog.cjs +1 -1
  22. package/dist/cjs/hooks/drawer.cjs +1 -1
  23. package/dist/cjs/hooks/echart.cjs +1 -0
  24. package/dist/cjs/hooks/modal.cjs +1 -1
  25. package/dist/cjs/hooks/table/media.cjs +1 -1
  26. package/dist/cjs/index.cjs +1 -1
  27. package/dist/cjs/main.cjs +1 -1
  28. package/dist/cjs/pages/authLayout.cjs +1 -1
  29. package/dist/cjs/pages/layout/global.cjs +1 -1
  30. package/dist/cjs/pages/layout/page.cjs +1 -1
  31. package/dist/cjs/pages/login.cjs +1 -1
  32. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  33. package/dist/cjs/pages/menu/button.cjs +1 -1
  34. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  35. package/dist/cjs/pages/menu/main.cjs +1 -1
  36. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  37. package/dist/cjs/pages/page.cjs +1 -1
  38. package/dist/cjs/pages/page404.cjs +1 -1
  39. package/dist/cjs/pages/pageStatus.cjs +1 -1
  40. package/dist/cjs/theme/naiveTheme.cjs +1 -1
  41. package/dist/cjs/theme/uno.css.cjs +28 -7
  42. package/dist/esm/component.js +43 -41
  43. package/dist/esm/components/card/card.js +1 -1
  44. package/dist/esm/components/chart/echart.js +75 -0
  45. package/dist/esm/components/dialog/dialog.js +87 -93
  46. package/dist/esm/components/drawer/drawer.js +34 -32
  47. package/dist/esm/components/form/modalForm.js +1 -1
  48. package/dist/esm/components/form/pageForm.js +23 -19
  49. package/dist/esm/components/form/settingForm.js +22 -18
  50. package/dist/esm/components/layout/list.js +203 -142
  51. package/dist/esm/components/layout/table.js +210 -145
  52. package/dist/esm/components/list/card.js +42 -32
  53. package/dist/esm/components/list/list.js +27 -16
  54. package/dist/esm/components/modal/modal.js +46 -86
  55. package/dist/esm/components/modal/modalPage.js +23 -18
  56. package/dist/esm/components/modal/modalTab.js +11 -11
  57. package/dist/esm/components/select/cardSelect.js +103 -0
  58. package/dist/esm/components/table/tablePage.js +21 -18
  59. package/dist/esm/config/echart.js +456 -0
  60. package/dist/esm/dvha-pro.css +1 -1
  61. package/dist/esm/hooks/action.js +46 -45
  62. package/dist/esm/hooks/dialog.js +24 -7
  63. package/dist/esm/hooks/drawer.js +12 -8
  64. package/dist/esm/hooks/echart.js +469 -0
  65. package/dist/esm/hooks/modal.js +25 -9
  66. package/dist/esm/hooks/table/media.js +18 -14
  67. package/dist/esm/index.js +158 -135
  68. package/dist/esm/main.js +11 -8
  69. package/dist/esm/pages/authLayout.js +3 -2
  70. package/dist/esm/pages/layout/global.js +46 -33
  71. package/dist/esm/pages/layout/page.js +13 -9
  72. package/dist/esm/pages/login.js +25 -21
  73. package/dist/esm/pages/menu/avatar.js +14 -14
  74. package/dist/esm/pages/menu/button.js +14 -10
  75. package/dist/esm/pages/menu/cmd.js +26 -22
  76. package/dist/esm/pages/menu/main.js +26 -22
  77. package/dist/esm/pages/menu/mobile.js +11 -7
  78. package/dist/esm/pages/page.js +16 -16
  79. package/dist/esm/pages/page404.js +24 -20
  80. package/dist/esm/pages/pageStatus.js +12 -8
  81. package/dist/esm/theme/naiveTheme.js +57 -51
  82. package/dist/esm/theme/uno.css.js +28 -7
  83. package/dist/types/components/chart/echart.d.ts +284 -0
  84. package/dist/types/components/chart/index.d.ts +1 -0
  85. package/dist/types/components/dialog/dialog.d.ts +1 -20
  86. package/dist/types/components/drawer/drawer.d.ts +14 -4
  87. package/dist/types/components/form/formLayout.d.ts +1 -1
  88. package/dist/types/components/form/modalForm.d.ts +1 -1
  89. package/dist/types/components/index.d.ts +3 -0
  90. package/dist/types/components/layout/list.d.ts +18 -0
  91. package/dist/types/components/layout/table.d.ts +22 -1
  92. package/dist/types/components/list/card.d.ts +38 -0
  93. package/dist/types/components/list/list.d.ts +43 -2
  94. package/dist/types/components/modal/modal.d.ts +13 -31
  95. package/dist/types/components/modal/modalPage.d.ts +3 -6
  96. package/dist/types/components/panel/alert.d.ts +1 -1
  97. package/dist/types/components/select/cardSelect.d.ts +88 -0
  98. package/dist/types/components/select/index.d.ts +1 -0
  99. package/dist/types/components/table/tablePage.d.ts +28 -2
  100. package/dist/types/config/echart.d.ts +4 -0
  101. package/dist/types/config/index.d.ts +1 -0
  102. package/dist/types/hooks/drawer.d.ts +3 -2
  103. package/dist/types/hooks/echart.d.ts +166 -0
  104. package/dist/types/hooks/index.d.ts +2 -0
  105. package/dist/types/hooks/modal.d.ts +10 -5
  106. package/dist/types/hooks/table/types.d.ts +1 -0
  107. package/dist/types/main.d.ts +1 -0
  108. package/dist/types/pages/layout/global.d.ts +1 -0
  109. package/dist/types/pages/menu/avatar.d.ts +3 -3
  110. package/dist/types/pages/menu/button.d.ts +3 -3
  111. package/dist/types/pages/menu/main.d.ts +3 -3
  112. package/dist/types/pages/page.d.ts +1 -1
  113. package/package.json +8 -3
  114. package/dist/cjs/node_modules/.pnpm/@vueuse_integrations@13.3.0_async-validator@4.2.5_axios@1.10.0_focus-trap@7.6.5_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/integrations/useFocusTrap.cjs +0 -1
  115. package/dist/cjs/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.cjs +0 -1
  116. package/dist/cjs/node_modules/.pnpm/focus-trap@7.6.5/node_modules/focus-trap/dist/focus-trap.esm.cjs +0 -5
  117. package/dist/cjs/node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/dist/index.esm.cjs +0 -4
  118. package/dist/esm/node_modules/.pnpm/@vueuse_integrations@13.3.0_async-validator@4.2.5_axios@1.10.0_focus-trap@7.6.5_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/integrations/useFocusTrap.js +0 -43
  119. package/dist/esm/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +0 -6
  120. package/dist/esm/node_modules/.pnpm/focus-trap@7.6.5/node_modules/focus-trap/dist/focus-trap.esm.js +0 -473
  121. package/dist/esm/node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/dist/index.esm.js +0 -202
@@ -0,0 +1,469 @@
1
+ import { add as A } from "lodash-es";
2
+ import { computed as m, ref as x, watch as w } from "vue";
3
+ function f(e) {
4
+ const t = (e == null ? void 0 : e.min) ?? !1;
5
+ return {
6
+ grid: {
7
+ left: t ? "0%" : "10",
8
+ right: t ? "0%" : "10",
9
+ top: t ? "2%" : "15%",
10
+ bottom: t ? "0%" : "10%",
11
+ containLabel: !t
12
+ },
13
+ tooltip: {
14
+ show: !0
15
+ },
16
+ legend: {
17
+ show: !t,
18
+ top: "0",
19
+ bottom: "0"
20
+ }
21
+ };
22
+ }
23
+ function r(e) {
24
+ const t = f(e), n = (e == null ? void 0 : e.min) ?? !1, d = m(() => e != null && e.labels && e.labels.length > 0 ? e.labels : Array.isArray(e == null ? void 0 : e.data) && e.data.length > 0 && typeof e.data[0] == "object" && e.data[0] !== null && "name" in e.data[0] ? e.data.map((i) => i.name) : []), c = m(() => {
25
+ if (!(e != null && e.data) || !Array.isArray(e.data) || e.data.length === 0)
26
+ return [{
27
+ name: (e == null ? void 0 : e.name) || "Series",
28
+ data: [],
29
+ stack: void 0
30
+ }];
31
+ const i = e.data[0];
32
+ if (typeof i == "object" && i !== null && "data" in i && Array.isArray(i.data))
33
+ return e.data;
34
+ if (typeof i == "object" && i !== null && "name" in i && "value" in i) {
35
+ const l = e.data.map((u) => u.value);
36
+ return [{
37
+ name: (e == null ? void 0 : e.name) || "Series",
38
+ data: l,
39
+ stack: void 0
40
+ }];
41
+ }
42
+ return typeof i == "number" ? [{
43
+ name: (e == null ? void 0 : e.name) || "Series",
44
+ data: e.data,
45
+ stack: void 0
46
+ }] : [{
47
+ name: (e == null ? void 0 : e.name) || "Series",
48
+ data: [],
49
+ stack: void 0
50
+ }];
51
+ });
52
+ return {
53
+ commonOption: t,
54
+ xAxisData: d,
55
+ seriesData: c,
56
+ axisConfig: {
57
+ axisLabel: { show: !n },
58
+ axisLine: { show: !n },
59
+ axisTick: { show: !n },
60
+ splitLine: { show: !1 },
61
+ // 迷你图和普通图都不显示网格线
62
+ splitArea: { show: !0 }
63
+ // 普通图和迷你图都显示背景间隔
64
+ },
65
+ isMin: n
66
+ };
67
+ }
68
+ function v(e) {
69
+ const { commonOption: t, xAxisData: n, seriesData: d, axisConfig: c, isMin: a } = r(e);
70
+ return { option: m(() => ({
71
+ ...t,
72
+ tooltip: {
73
+ ...t.tooltip,
74
+ trigger: "axis"
75
+ },
76
+ xAxis: {
77
+ type: e != null && e.horizontal ? "value" : "category",
78
+ data: e != null && e.horizontal ? void 0 : n.value,
79
+ ...c,
80
+ splitArea: { show: !(e != null && e.horizontal) }
81
+ // 水平柱状图显示X轴背景间隔
82
+ },
83
+ yAxis: {
84
+ type: e != null && e.horizontal ? "category" : "value",
85
+ data: e != null && e.horizontal ? n.value : void 0,
86
+ ...c,
87
+ splitArea: { show: !!(e != null && e.horizontal) }
88
+ // 垂直柱状图显示Y轴背景间隔
89
+ },
90
+ series: d.value.map((l, u) => {
91
+ const g = !!(e != null && e.stack || l.stack), y = u === 0, b = u === d.value.length - 1;
92
+ let h = a ? 2 : 4;
93
+ return g && (y && b ? h = a ? 2 : 4 : y ? h = [0, 0, h, h] : b ? h = [h, h, 0, 0] : h = 0), {
94
+ type: "bar",
95
+ name: l.name,
96
+ stack: (e == null ? void 0 : e.stack) || l.stack,
97
+ data: l.data,
98
+ barMaxWidth: 40,
99
+ itemStyle: {
100
+ borderRadius: h
101
+ }
102
+ };
103
+ })
104
+ })) };
105
+ }
106
+ function S(e) {
107
+ const { commonOption: t, xAxisData: n, seriesData: d, axisConfig: c, isMin: a } = r(e);
108
+ return { option: m(() => ({
109
+ ...t,
110
+ tooltip: {
111
+ ...t.tooltip,
112
+ trigger: "axis"
113
+ },
114
+ xAxis: {
115
+ type: "category",
116
+ data: n.value,
117
+ ...c,
118
+ splitArea: { show: !1 }
119
+ // X轴不显示背景间隔
120
+ },
121
+ yAxis: {
122
+ type: "value",
123
+ ...c,
124
+ splitArea: { show: !a }
125
+ // Y轴不显示背景间隔
126
+ },
127
+ series: d.value.map((l) => ({
128
+ type: "line",
129
+ name: l.name,
130
+ stack: (e == null ? void 0 : e.stack) || l.stack,
131
+ data: l.data,
132
+ smooth: (e == null ? void 0 : e.smooth) ?? !1,
133
+ symbol: a ? "none" : "circle",
134
+ symbolSize: a ? 0 : 6,
135
+ lineStyle: {
136
+ width: 2
137
+ // 迷你图也加粗到2px
138
+ }
139
+ }))
140
+ })) };
141
+ }
142
+ function o(e) {
143
+ const t = f(e), n = (e == null ? void 0 : e.min) ?? !1, d = m(() => {
144
+ var i, l;
145
+ return ((l = (i = e == null ? void 0 : e.data) == null ? void 0 : i.map) == null ? void 0 : l.call(i, (u) => ({
146
+ name: u.name,
147
+ value: u.value
148
+ }))) || [];
149
+ }), c = x([]);
150
+ w(() => e == null ? void 0 : e.data, () => {
151
+ var i, l;
152
+ c.value = ((l = (i = e == null ? void 0 : e.data) == null ? void 0 : i.map) == null ? void 0 : l.call(i, (u) => ({
153
+ ...u,
154
+ status: !0
155
+ }))) || [];
156
+ }, { immediate: !0 });
157
+ const a = m(() => {
158
+ var i;
159
+ return (i = c.value) == null ? void 0 : i.reduce((l, u) => (l[u.name] = u.status, l), {});
160
+ });
161
+ return {
162
+ commonOption: t,
163
+ data: d,
164
+ legendData: c,
165
+ selected: a,
166
+ isMin: n
167
+ };
168
+ }
169
+ function s(e) {
170
+ const { commonOption: t, data: n, legendData: d, selected: c, isMin: a } = o(e);
171
+ return { option: m(() => {
172
+ const l = { ...t };
173
+ return delete l.grid, {
174
+ ...l,
175
+ tooltip: {
176
+ ...t.tooltip,
177
+ trigger: "item"
178
+ },
179
+ legend: {
180
+ ...t.legend,
181
+ selected: c.value
182
+ },
183
+ series: {
184
+ type: "pie",
185
+ top: a ? "0%" : "10%",
186
+ radius: a ? "100%" : "65%",
187
+ center: ["50%", "50%"],
188
+ label: { show: !a },
189
+ labelLine: { show: !a },
190
+ emphasis: {
191
+ scale: !a,
192
+ // 迷你图不放大
193
+ scaleSize: a ? 0 : 10
194
+ },
195
+ data: n.value
196
+ }
197
+ };
198
+ }), legendData: d };
199
+ }
200
+ function M(e) {
201
+ const { commonOption: t, data: n, legendData: d, selected: c, isMin: a } = o(e), i = m(() => {
202
+ var u;
203
+ return ((u = d.value) == null ? void 0 : u.reduce((g, y) => A(g, Number(y.value)), 0)) || 0;
204
+ });
205
+ return { option: m(() => {
206
+ const u = { ...t };
207
+ return delete u.grid, {
208
+ ...u,
209
+ tooltip: {
210
+ ...t.tooltip,
211
+ trigger: "item"
212
+ },
213
+ legend: {
214
+ ...t.legend,
215
+ selected: c.value
216
+ },
217
+ graphic: a ? [] : [
218
+ {
219
+ type: "text",
220
+ left: "center",
221
+ top: "45%",
222
+ style: {
223
+ text: (e == null ? void 0 : e.ringLabel) || "Total",
224
+ textAlign: "center",
225
+ fontSize: 14
226
+ }
227
+ },
228
+ {
229
+ type: "text",
230
+ left: "center",
231
+ top: "55%",
232
+ style: {
233
+ text: String(i.value),
234
+ textAlign: "center",
235
+ fontSize: 16
236
+ }
237
+ }
238
+ ],
239
+ series: {
240
+ top: a ? "0%" : "10%",
241
+ type: "pie",
242
+ radius: a ? ["30%", "100%"] : ["40%", "70%"],
243
+ center: ["50%", "50%"],
244
+ label: { show: !a },
245
+ labelLine: { show: !a },
246
+ emphasis: {
247
+ scale: !a,
248
+ // 迷你图不放大
249
+ scaleSize: a ? 0 : 10
250
+ },
251
+ data: n.value
252
+ }
253
+ };
254
+ }), legendData: d };
255
+ }
256
+ function k(e) {
257
+ const { commonOption: t, data: n, legendData: d, selected: c, isMin: a } = o(e);
258
+ return { option: m(() => {
259
+ const l = { ...t };
260
+ return delete l.grid, {
261
+ ...l,
262
+ tooltip: {
263
+ ...t.tooltip,
264
+ trigger: "item"
265
+ },
266
+ legend: {
267
+ ...t.legend,
268
+ selected: c.value
269
+ },
270
+ series: {
271
+ type: "pie",
272
+ top: a ? "0%" : "10%",
273
+ radius: a ? "100%" : "70%",
274
+ center: ["50%", "50%"],
275
+ roseType: "area",
276
+ label: { show: !a },
277
+ labelLine: { show: !a },
278
+ emphasis: {
279
+ scale: !a,
280
+ // 迷你图不放大
281
+ scaleSize: a ? 0 : 10
282
+ },
283
+ data: n.value
284
+ }
285
+ };
286
+ }), legendData: d };
287
+ }
288
+ function O(e) {
289
+ const { commonOption: t, data: n, legendData: d, selected: c, isMin: a } = o(e);
290
+ return { option: m(() => {
291
+ const l = { ...t };
292
+ return delete l.grid, {
293
+ ...l,
294
+ tooltip: {
295
+ ...t.tooltip,
296
+ trigger: "item"
297
+ },
298
+ legend: {
299
+ ...t.legend,
300
+ selected: c.value
301
+ },
302
+ series: {
303
+ type: "funnel",
304
+ top: a ? "0%" : "15%",
305
+ left: a ? "0%" : "10%",
306
+ right: a ? "0%" : "10%",
307
+ bottom: a ? "0%" : "5%",
308
+ label: { show: !a },
309
+ data: n.value
310
+ }
311
+ };
312
+ }), legendData: d };
313
+ }
314
+ function E(e) {
315
+ const t = f(e), n = (e == null ? void 0 : e.min) ?? !1;
316
+ return { option: m(() => {
317
+ const c = { ...t };
318
+ return delete c.grid, {
319
+ ...c,
320
+ tooltip: {
321
+ ...t.tooltip,
322
+ trigger: "item"
323
+ },
324
+ legend: {
325
+ ...t.legend,
326
+ left: "center"
327
+ },
328
+ radar: {
329
+ indicator: (e == null ? void 0 : e.indicator) || [],
330
+ splitArea: { show: !n },
331
+ center: ["50%", "50%"],
332
+ radius: n ? "100%" : "50%",
333
+ axisName: {
334
+ color: n ? "transparent" : void 0
335
+ }
336
+ },
337
+ series: [{
338
+ type: "radar",
339
+ data: (e == null ? void 0 : e.data) || [],
340
+ lineStyle: { width: n ? 1 : 2 },
341
+ areaStyle: { opacity: n ? 0.3 : 0.5 }
342
+ }]
343
+ };
344
+ }) };
345
+ }
346
+ function z(e) {
347
+ const t = f(e), n = (e == null ? void 0 : e.min) ?? !1;
348
+ return { option: m(() => {
349
+ var c;
350
+ return {
351
+ ...t,
352
+ tooltip: {
353
+ ...t.tooltip,
354
+ trigger: "item"
355
+ },
356
+ visualMap: {
357
+ show: !n,
358
+ min: 0,
359
+ max: Math.max(...((c = e == null ? void 0 : e.data) == null ? void 0 : c.map((a) => a.value)) || [100]),
360
+ left: "left",
361
+ top: "bottom",
362
+ calculable: !0
363
+ },
364
+ series: [{
365
+ type: "map",
366
+ map: (e == null ? void 0 : e.mapName) || "china",
367
+ data: (e == null ? void 0 : e.data) || [],
368
+ label: { show: !n }
369
+ }]
370
+ };
371
+ }) };
372
+ }
373
+ function D(e) {
374
+ const t = f(e), n = (e == null ? void 0 : e.min) ?? !1;
375
+ return { option: m(() => {
376
+ const c = Array.isArray(e == null ? void 0 : e.data) && (e == null ? void 0 : e.data.length) > 0 && Array.isArray(e == null ? void 0 : e.data[0]);
377
+ let a;
378
+ if (c) {
379
+ const i = e == null ? void 0 : e.data, l = Array.isArray(e == null ? void 0 : e.name) ? e == null ? void 0 : e.name : [(e == null ? void 0 : e.name) || "TreeMap"];
380
+ a = i.map((u, g) => ({
381
+ name: l[g] || `TreeMap ${g + 1}`,
382
+ type: "treemap",
383
+ data: u,
384
+ label: { show: !n },
385
+ itemStyle: { borderWidth: n ? 1 : 2 },
386
+ top: `${15 + g * (60 / i.length)}%`,
387
+ height: `${70 / i.length - 5}%`,
388
+ breadcrumb: { show: !1 },
389
+ roam: n ? !1 : "move",
390
+ nodeClick: !n,
391
+ levels: [{
392
+ itemStyle: {
393
+ borderWidth: 0,
394
+ gapWidth: n ? 1 : 2
395
+ }
396
+ }]
397
+ }));
398
+ } else
399
+ a = [{
400
+ name: Array.isArray(e == null ? void 0 : e.name) ? e == null ? void 0 : e.name[0] : (e == null ? void 0 : e.name) || "TreeMap",
401
+ type: "treemap",
402
+ data: (e == null ? void 0 : e.data) || [],
403
+ label: { show: !n },
404
+ itemStyle: { borderWidth: n ? 1 : 2 },
405
+ breadcrumb: { show: !n },
406
+ roam: n ? !1 : "move",
407
+ nodeClick: !n,
408
+ levels: [{
409
+ itemStyle: {
410
+ borderWidth: 0,
411
+ gapWidth: n ? 1 : 2
412
+ }
413
+ }]
414
+ }];
415
+ return {
416
+ ...t,
417
+ legend: {
418
+ ...t.legend
419
+ },
420
+ tooltip: {
421
+ ...t.tooltip,
422
+ trigger: "item"
423
+ },
424
+ grid: {
425
+ ...t.grid,
426
+ top: c ? "15%" : "10%",
427
+ bottom: c ? "15%" : "5%"
428
+ },
429
+ series: a
430
+ };
431
+ }) };
432
+ }
433
+ function C(e, t) {
434
+ switch (e) {
435
+ case "bar":
436
+ return v(t);
437
+ case "line":
438
+ return S(t);
439
+ case "pie":
440
+ return s(t);
441
+ case "ring":
442
+ return M(t);
443
+ case "rose":
444
+ return k(t);
445
+ case "radar":
446
+ return E(t);
447
+ case "map":
448
+ return z(t);
449
+ case "funnel":
450
+ return O(t);
451
+ case "treemap":
452
+ return D(t);
453
+ default:
454
+ return v(t);
455
+ }
456
+ }
457
+ export {
458
+ v as useEchartBar,
459
+ f as useEchartCommon,
460
+ O as useEchartFunnel,
461
+ S as useEchartLine,
462
+ z as useEchartMap,
463
+ s as useEchartPie,
464
+ E as useEchartRadar,
465
+ M as useEchartRing,
466
+ k as useEchartRose,
467
+ D as useEchartTreeMap,
468
+ C as useEchartType
469
+ };
@@ -1,14 +1,30 @@
1
- import { useOverlay as e } from "@duxweb/dvha-core";
2
- function s() {
3
- const r = e();
1
+ import { useOverlayInject as t } from "@overlastic/vue";
2
+ import "vue";
3
+ import "naive-ui";
4
+ import "vue-echarts";
5
+ import "@duxweb/dvha-core";
6
+ import "vue-router";
7
+ import "lodash-es";
8
+ import "@duxweb/dvha-naiveui";
9
+ import "@vueuse/core";
10
+ import "pinia";
11
+ import "clsx";
12
+ import "jinrishici";
13
+ import "vee-validate";
14
+ import { DuxModal as m } from "../components/modal/modal.js";
15
+ import "@vee-validate/i18n";
16
+ import "colorizr";
17
+ import "echarts";
18
+ import "@ant-design/colors";
19
+ import "@unocss/preset-typography";
20
+ import "vue-command-palette";
21
+ import "../pages/page404.js";
22
+ function g() {
23
+ const o = t(m);
4
24
  return {
5
- show: (o) => r.show({
6
- component: () => import("../components/modal/modal.js"),
7
- componentProps: o,
8
- mask: !o.draggable
9
- })
25
+ show: (r) => o(r)
10
26
  };
11
27
  }
12
28
  export {
13
- s as useModal
29
+ g as useModal
14
30
  };
@@ -1,29 +1,33 @@
1
- import { createVNode as r } from "vue";
2
- import { get as i } from "lodash-es";
1
+ import { createVNode as n } from "vue";
2
+ import { get as e } from "lodash-es";
3
3
  import "naive-ui";
4
- import "clsx";
5
- import "jinrishici";
6
- import "@overlastic/vue";
7
- import "@vueuse/core";
8
- import "vee-validate";
4
+ import "vue-echarts";
9
5
  import "@duxweb/dvha-core";
10
6
  import "vue-router";
7
+ import "@overlastic/vue";
11
8
  import "@duxweb/dvha-naiveui";
9
+ import "@vueuse/core";
12
10
  import "pinia";
11
+ import "clsx";
12
+ import "jinrishici";
13
+ import "vee-validate";
13
14
  import "@vee-validate/i18n";
14
15
  import "colorizr";
16
+ import "echarts";
17
+ import "@ant-design/colors";
18
+ import "@unocss/preset-typography";
15
19
  import "vue-command-palette";
16
20
  import "../../pages/page404.js";
17
21
  import { DuxMedia as c } from "../../components/media/media.js";
18
- function _() {
22
+ function q() {
19
23
  return {
20
- render: (t) => (e, g) => {
21
- const m = typeof t.title == "function" ? t.title(e) : i(e, t.title || ""), n = typeof t.desc == "function" ? t.desc(e) : i(e, t.desc || ""), o = typeof t.image == "function" ? t.image(e) : i(e, t.image || "");
22
- return r(c, {
24
+ render: (t) => (i, g) => {
25
+ const m = typeof t.title == "function" ? t.title(i) : e(i, t.title || ""), o = typeof t.desc == "function" ? t.desc(i) : e(i, t.desc || ""), r = typeof t.image == "function" ? t.image(i) : e(i, t.image || "");
26
+ return n(c, {
23
27
  title: m,
24
- desc: n,
28
+ desc: o,
25
29
  avatar: t.avatar,
26
- image: o,
30
+ image: r,
27
31
  imageWidth: t.imageWidth,
28
32
  imageHeight: t.imageHeight
29
33
  }, null);
@@ -31,5 +35,5 @@ function _() {
31
35
  };
32
36
  }
33
37
  export {
34
- _ as useTableColumnMedia
38
+ q as useTableColumnMedia
35
39
  };