@duxweb/dvha-pro 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +8 -2
- package/dist/esm/components/chart/echart.js +16 -28
- package/dist/esm/components/dialog/dialog.js +7 -7
- package/dist/esm/components/drawer/drawer.js +13 -13
- package/dist/esm/components/editor/aiEditor.js +62 -54
- package/dist/esm/components/modal/modal.js +11 -11
- package/dist/esm/hooks/dialog.js +3 -3
- package/dist/esm/hooks/drawer.js +3 -3
- package/dist/esm/hooks/modal.js +1 -1
- package/dist/esm/pages/menu/menuApp.js +13 -13
- package/dist/esm/pages/menu/notice.js +8 -8
- package/dist/esm/theme/uno.css.js +8 -2
- package/dist/types/components/chart/echart.d.ts +3 -247
- package/package.json +31 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as c, defineAsyncComponent as s, createVNode as t, mergeProps as n, Suspense as m } from "vue";
|
|
2
|
+
import { useDisclosure as f } from "@overlastic/vue";
|
|
3
3
|
import { NModal as g, NSpin as b } from "naive-ui";
|
|
4
|
-
const
|
|
4
|
+
const y = /* @__PURE__ */ c({
|
|
5
5
|
name: "DuxModal",
|
|
6
6
|
props: {
|
|
7
7
|
title: {
|
|
@@ -26,19 +26,19 @@ const w = /* @__PURE__ */ s({
|
|
|
26
26
|
setup(e) {
|
|
27
27
|
const {
|
|
28
28
|
visible: l,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
vanish:
|
|
29
|
+
confirm: d,
|
|
30
|
+
cancel: a,
|
|
31
|
+
vanish: i
|
|
32
32
|
} = f({
|
|
33
33
|
duration: 1e3
|
|
34
34
|
}), o = e?.componentProps || {};
|
|
35
35
|
o.title = e.title, o.onConfirm = d, o.onClose = a;
|
|
36
|
-
const
|
|
36
|
+
const r = typeof e.component == "function" ? s(e.component) : e.component;
|
|
37
37
|
return () => t(g, n({
|
|
38
38
|
displayDirective: "show",
|
|
39
39
|
show: l.value,
|
|
40
40
|
onAfterLeave: () => {
|
|
41
|
-
|
|
41
|
+
i();
|
|
42
42
|
},
|
|
43
43
|
onClose: () => {
|
|
44
44
|
a();
|
|
@@ -61,7 +61,7 @@ const w = /* @__PURE__ */ s({
|
|
|
61
61
|
width: typeof e.width == "number" ? `${e.width}px` : e.width
|
|
62
62
|
}
|
|
63
63
|
}, [t(m, null, {
|
|
64
|
-
default: () => t(
|
|
64
|
+
default: () => t(r, n(o, {
|
|
65
65
|
title: e.title,
|
|
66
66
|
handle: u
|
|
67
67
|
}), null),
|
|
@@ -77,6 +77,6 @@ const w = /* @__PURE__ */ s({
|
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
y as DuxModal,
|
|
81
|
+
y as default
|
|
82
82
|
};
|
package/dist/esm/hooks/dialog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useOverlay as p } from "@overlastic/vue";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "naive-ui";
|
|
@@ -61,7 +61,7 @@ import "@vue-flow/background";
|
|
|
61
61
|
import "@iconify-json/tabler/icons.json";
|
|
62
62
|
import "../components/posterEditor/elements/index.js";
|
|
63
63
|
import "fabric";
|
|
64
|
-
function
|
|
64
|
+
function wr() {
|
|
65
65
|
const t = p(m), o = (r) => t(r);
|
|
66
66
|
return {
|
|
67
67
|
confirm: (r) => o({
|
|
@@ -87,5 +87,5 @@ function hr() {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
wr as useDialog
|
|
91
91
|
};
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useOverlay as t } from "@overlastic/vue";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "naive-ui";
|
|
@@ -61,12 +61,12 @@ import "@vue-flow/background";
|
|
|
61
61
|
import "@iconify-json/tabler/icons.json";
|
|
62
62
|
import "../components/posterEditor/elements/index.js";
|
|
63
63
|
import "fabric";
|
|
64
|
-
function
|
|
64
|
+
function hr() {
|
|
65
65
|
const r = t(m);
|
|
66
66
|
return {
|
|
67
67
|
show: (o) => r(o)
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
hr as useDrawer
|
|
72
72
|
};
|
package/dist/esm/hooks/modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as C, onMounted as
|
|
2
|
-
import { useManage as
|
|
1
|
+
import { defineComponent as C, onMounted as z, computed as u, createVNode as e, Transition as N, createTextVNode as m, h as c } from "vue";
|
|
2
|
+
import { useManage as A, useI18n as D, useMenu as T, DuxLogoIcon as I } from "@duxweb/dvha-core";
|
|
3
3
|
import { cloneDeep as d } from "lodash-es";
|
|
4
4
|
import { NScrollbar as f, NTooltip as L, NButton as V, NTag as v, NMenu as j } from "naive-ui";
|
|
5
5
|
import { useRouter as B, RouterLink as F } from "vue-router";
|
|
@@ -73,13 +73,13 @@ const Xe = /* @__PURE__ */ C({
|
|
|
73
73
|
},
|
|
74
74
|
setup() {
|
|
75
75
|
const {
|
|
76
|
-
setCmdVisible:
|
|
77
|
-
setMenuCollapsed:
|
|
76
|
+
setCmdVisible: h,
|
|
77
|
+
setMenuCollapsed: x
|
|
78
78
|
} = R(), {
|
|
79
79
|
config: l
|
|
80
|
-
} =
|
|
80
|
+
} = A(), {
|
|
81
81
|
t: g
|
|
82
|
-
} =
|
|
82
|
+
} = D(), i = B(), {
|
|
83
83
|
mainMenu: b,
|
|
84
84
|
subMenu: y,
|
|
85
85
|
appActive: n,
|
|
@@ -88,8 +88,8 @@ const Xe = /* @__PURE__ */ C({
|
|
|
88
88
|
} = T({
|
|
89
89
|
doubleMenu: !0
|
|
90
90
|
});
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
z(() => {
|
|
92
|
+
x(!1);
|
|
93
93
|
});
|
|
94
94
|
const a = (t) => t.map((r) => {
|
|
95
95
|
const o = {
|
|
@@ -108,7 +108,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
108
108
|
}) : r.label
|
|
109
109
|
};
|
|
110
110
|
return o.children && o.children.length > 0 && (o.children = a(o.children)), o;
|
|
111
|
-
}),
|
|
111
|
+
}), w = u(() => a(d(b.value))), M = u(() => a(d(y.value)));
|
|
112
112
|
return () => e("div", {
|
|
113
113
|
class: "flex h-screen gap-2 pr-2"
|
|
114
114
|
}, [e("div", {
|
|
@@ -130,7 +130,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
130
130
|
}, [e(f, null, {
|
|
131
131
|
default: () => [e("div", {
|
|
132
132
|
class: "flex flex-col px-2 gap-2"
|
|
133
|
-
}, [
|
|
133
|
+
}, [w.value.map((t, p) => e("div", {
|
|
134
134
|
key: p,
|
|
135
135
|
class: ["flex flex-col gap-1 justify-center items-center py-1.5 cursor-pointer rounded transition-all", t.key === n.value ? "bg-primary/50 text-primary-200" : "text-white/60 hover:text-white"],
|
|
136
136
|
onClick: () => {
|
|
@@ -170,7 +170,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
170
170
|
collapsed: !0
|
|
171
171
|
}, null), e(S, null, null), e(O, {
|
|
172
172
|
collapsed: !0
|
|
173
|
-
}, null)])])]), e(
|
|
173
|
+
}, null)])])]), e(N, {
|
|
174
174
|
name: "submenu-slide",
|
|
175
175
|
enterActiveClass: "transition-all duration-150 ease-out",
|
|
176
176
|
enterFromClass: "opacity-0 translate-x-[-50%]",
|
|
@@ -185,7 +185,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
185
185
|
class: "py-2 flex-none"
|
|
186
186
|
}, [e("div", {
|
|
187
187
|
class: "rounded-md relative py-2 px-3 bg-white dark:bg-elevated shadow-xs hover:shadow flex items-center gap-2 cursor-pointer transition-all",
|
|
188
|
-
onClick: () =>
|
|
188
|
+
onClick: () => h(!0)
|
|
189
189
|
}, [e("div", {
|
|
190
190
|
class: "i-tabler:search size-4 icon-gradient"
|
|
191
191
|
}, null), e("div", {
|
|
@@ -211,7 +211,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
211
211
|
rootIndent: 20,
|
|
212
212
|
indent: 15,
|
|
213
213
|
class: "app-menu",
|
|
214
|
-
options:
|
|
214
|
+
options: M.value,
|
|
215
215
|
value: s.value,
|
|
216
216
|
collapsed: !1,
|
|
217
217
|
onUpdateValue: (t) => s.value = t
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, computed as d, ref as C, createVNode as t, Fragment as F, isVNode as S } from "vue";
|
|
2
|
-
import { useI18n as z, useManage as B, useList as
|
|
3
|
-
import { NPopover as
|
|
2
|
+
import { useI18n as z, useManage as B, useList as R, useCustomMutation as M } from "@duxweb/dvha-core";
|
|
3
|
+
import { NPopover as _, NButton as u, NSpin as j, NTooltip as A, NBadge as D } from "naive-ui";
|
|
4
4
|
import { useRouter as L } from "vue-router";
|
|
5
5
|
import { DuxCard as O } from "../../components/card/card.js";
|
|
6
6
|
import "clsx";
|
|
@@ -83,7 +83,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
83
83
|
data: f,
|
|
84
84
|
isLoading: v,
|
|
85
85
|
refetch: h
|
|
86
|
-
} =
|
|
86
|
+
} = R({
|
|
87
87
|
path: o.notice?.path || "notice",
|
|
88
88
|
pagination: {
|
|
89
89
|
page: 1,
|
|
@@ -91,7 +91,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
91
91
|
}
|
|
92
92
|
}), {
|
|
93
93
|
mutate: p
|
|
94
|
-
} =
|
|
94
|
+
} = M({
|
|
95
95
|
path: `${o.notice?.path || "notice"}`,
|
|
96
96
|
method: "POST",
|
|
97
97
|
onSuccess: () => {
|
|
@@ -111,7 +111,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
111
111
|
}
|
|
112
112
|
}), r.value = !1;
|
|
113
113
|
};
|
|
114
|
-
return () => t(
|
|
114
|
+
return () => t(_, {
|
|
115
115
|
trigger: "click",
|
|
116
116
|
arrowClass: "ml-2.5",
|
|
117
117
|
placement: "bottom-start",
|
|
@@ -120,7 +120,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
120
120
|
show: r.value,
|
|
121
121
|
onClickoutside: () => r.value = !1
|
|
122
122
|
}, {
|
|
123
|
-
trigger: () => t(
|
|
123
|
+
trigger: () => t(A, {
|
|
124
124
|
trigger: "hover",
|
|
125
125
|
placement: "right"
|
|
126
126
|
}, {
|
|
@@ -129,7 +129,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
129
129
|
onClick: () => r.value = !0,
|
|
130
130
|
quaternary: !0
|
|
131
131
|
}, {
|
|
132
|
-
icon: () => t(
|
|
132
|
+
icon: () => t(D, {
|
|
133
133
|
dot: s.value,
|
|
134
134
|
offset: [-8, 8]
|
|
135
135
|
}, {
|
|
@@ -148,7 +148,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
148
148
|
contentSize: "none",
|
|
149
149
|
title: i("components.menu.notice", "Notice")
|
|
150
150
|
}, {
|
|
151
|
-
default: () => t(F, null, [t(
|
|
151
|
+
default: () => t(F, null, [t(j, {
|
|
152
152
|
show: v.value
|
|
153
153
|
}, {
|
|
154
154
|
default: () => [l.value.length > 0 ? t("div", {
|
|
@@ -1092,15 +1092,19 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1092
1092
|
.mx-auto{margin-inline:auto;}
|
|
1093
1093
|
.my-2{margin-block:calc(var(--spacing) * 2);}
|
|
1094
1094
|
.my-6{margin-block:calc(var(--spacing) * 6);}
|
|
1095
|
+
.mb{margin-bottom:calc(var(--spacing) * 4);}
|
|
1095
1096
|
.mb-2{margin-bottom:calc(var(--spacing) * 2);}
|
|
1097
|
+
.ml{margin-left:calc(var(--spacing) * 4);}
|
|
1096
1098
|
.ml-2{margin-left:calc(var(--spacing) * 2);}
|
|
1097
1099
|
.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5);}
|
|
1100
|
+
.mr{margin-right:calc(var(--spacing) * 4);}
|
|
1098
1101
|
.mr-1\\!{margin-right:calc(var(--spacing) * 1) !important;}
|
|
1099
1102
|
.mr-2{margin-right:calc(var(--spacing) * 2);}
|
|
1103
|
+
.mt,
|
|
1104
|
+
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1100
1105
|
.mt-1{margin-top:calc(var(--spacing) * 1);}
|
|
1101
1106
|
.mt-2{margin-top:calc(var(--spacing) * 2);}
|
|
1102
1107
|
.mt-3{margin-top:calc(var(--spacing) * 3);}
|
|
1103
|
-
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1104
1108
|
.mt-auto{margin-top:auto;}
|
|
1105
1109
|
.p-1{padding:calc(var(--spacing) * 1);}
|
|
1106
1110
|
.p-2{padding:calc(var(--spacing) * 2);}
|
|
@@ -1111,11 +1115,12 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1111
1115
|
.p-8{padding:calc(var(--spacing) * 8);}
|
|
1112
1116
|
.\\!px-1{padding-inline:calc(var(--spacing) * 1) !important;}
|
|
1113
1117
|
.\\!px-4{padding-inline:calc(var(--spacing) * 4) !important;}
|
|
1118
|
+
.px,
|
|
1119
|
+
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1114
1120
|
.px-1{padding-inline:calc(var(--spacing) * 1);}
|
|
1115
1121
|
.px-2{padding-inline:calc(var(--spacing) * 2);}
|
|
1116
1122
|
.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5);}
|
|
1117
1123
|
.px-3{padding-inline:calc(var(--spacing) * 3);}
|
|
1118
|
-
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1119
1124
|
.px-6{padding-inline:calc(var(--spacing) * 6);}
|
|
1120
1125
|
.py-1{padding-block:calc(var(--spacing) * 1);}
|
|
1121
1126
|
.py-1\\.5{padding-block:calc(var(--spacing) * 1.5);}
|
|
@@ -1144,6 +1149,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1144
1149
|
.pt-2{padding-top:calc(var(--spacing) * 2);}
|
|
1145
1150
|
.pt-4{padding-top:calc(var(--spacing) * 4);}
|
|
1146
1151
|
.pt-6{padding-top:calc(var(--spacing) * 6);}
|
|
1152
|
+
.pie{padding-inline-end:calc(var(--spacing) * 4);}
|
|
1147
1153
|
.text-center{text-align:center;}
|
|
1148
1154
|
.text-left{text-align:left;}
|
|
1149
1155
|
.outline-0{outline-style:var(--un-outline-style);outline-width:0px;}
|
|
@@ -13,248 +13,9 @@ export declare const DuxChart: import("vue").DefineComponent<import("vue").Extra
|
|
|
13
13
|
};
|
|
14
14
|
option: {
|
|
15
15
|
type: ObjectConstructor;
|
|
16
|
-
default: {};
|
|
16
|
+
default: () => {};
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<{
|
|
23
|
-
theme?: string | object;
|
|
24
|
-
initOptions?: import("echarts/core").EChartsInitOpts;
|
|
25
|
-
updateOptions?: import("echarts/core").SetOptionOpts;
|
|
26
|
-
loadingOptions?: {
|
|
27
|
-
text?: string;
|
|
28
|
-
textColor?: string;
|
|
29
|
-
fontSize?: number | string;
|
|
30
|
-
fontWeight?: number | string;
|
|
31
|
-
fontStyle?: string;
|
|
32
|
-
fontFamily?: string;
|
|
33
|
-
maskColor?: string;
|
|
34
|
-
showSpinner?: boolean;
|
|
35
|
-
color?: string;
|
|
36
|
-
spinnerRadius?: number;
|
|
37
|
-
lineWidth?: number;
|
|
38
|
-
zlevel?: number;
|
|
39
|
-
};
|
|
40
|
-
option?: import("echarts/core").EChartsCoreOption;
|
|
41
|
-
autoresize?: boolean | {
|
|
42
|
-
throttle?: number;
|
|
43
|
-
onResize?: () => void;
|
|
44
|
-
};
|
|
45
|
-
loading?: boolean;
|
|
46
|
-
group?: string;
|
|
47
|
-
manualUpdate?: boolean;
|
|
48
|
-
} & {
|
|
49
|
-
onClick?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
50
|
-
onContextmenu?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
51
|
-
onDblclick?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
52
|
-
onMousedown?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
53
|
-
onMousemove?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
54
|
-
onMouseout?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
55
|
-
onMouseover?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
56
|
-
onMouseup?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
57
|
-
onGlobalout?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
58
|
-
onBrush?: ((params: any) => void) | undefined;
|
|
59
|
-
onHighlight?: ((params: any) => void) | undefined;
|
|
60
|
-
onDownplay?: ((params: any) => void) | undefined;
|
|
61
|
-
onSelectchanged?: ((params: any) => void) | undefined;
|
|
62
|
-
onLegendselectchanged?: ((params: any) => void) | undefined;
|
|
63
|
-
onLegendselected?: ((params: any) => void) | undefined;
|
|
64
|
-
onLegendunselected?: ((params: any) => void) | undefined;
|
|
65
|
-
onLegendselectall?: ((params: any) => void) | undefined;
|
|
66
|
-
onLegendinverseselect?: ((params: any) => void) | undefined;
|
|
67
|
-
onLegendscroll?: ((params: any) => void) | undefined;
|
|
68
|
-
onDatazoom?: ((params: any) => void) | undefined;
|
|
69
|
-
onDatarangeselected?: ((params: any) => void) | undefined;
|
|
70
|
-
onGraphroam?: ((params: any) => void) | undefined;
|
|
71
|
-
onGeoroam?: ((params: any) => void) | undefined;
|
|
72
|
-
onTreeroam?: ((params: any) => void) | undefined;
|
|
73
|
-
onTimelinechanged?: ((params: any) => void) | undefined;
|
|
74
|
-
onTimelineplaychanged?: ((params: any) => void) | undefined;
|
|
75
|
-
onRestore?: ((params: any) => void) | undefined;
|
|
76
|
-
onDataviewchanged?: ((params: any) => void) | undefined;
|
|
77
|
-
onMagictypechanged?: ((params: any) => void) | undefined;
|
|
78
|
-
onGeoselectchanged?: ((params: any) => void) | undefined;
|
|
79
|
-
onGeoselected?: ((params: any) => void) | undefined;
|
|
80
|
-
onGeounselected?: ((params: any) => void) | undefined;
|
|
81
|
-
onAxisareaselected?: ((params: any) => void) | undefined;
|
|
82
|
-
onBrushEnd?: ((params: any) => void) | undefined;
|
|
83
|
-
onBrushselected?: ((params: any) => void) | undefined;
|
|
84
|
-
onGlobalcursortaken?: ((params: any) => void) | undefined;
|
|
85
|
-
onRendered?: ((params: {
|
|
86
|
-
elapsedTime: number;
|
|
87
|
-
}) => void) | undefined;
|
|
88
|
-
onFinished?: (() => void) | undefined;
|
|
89
|
-
"onZr:drag"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
90
|
-
"onZr:dragend"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
91
|
-
"onZr:dragenter"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
92
|
-
"onZr:dragleave"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
93
|
-
"onZr:dragover"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
94
|
-
"onZr:dragstart"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
95
|
-
"onZr:drop"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
96
|
-
"onZr:mousewheel"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
97
|
-
"onZr:click"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
98
|
-
"onZr:contextmenu"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
99
|
-
"onZr:dblclick"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
100
|
-
"onZr:mousedown"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
101
|
-
"onZr:mousemove"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
102
|
-
"onZr:mouseout"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
103
|
-
"onZr:mouseover"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
104
|
-
"onZr:mouseup"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
105
|
-
"onZr:globalout"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
root: import("vue").Ref<HTMLElement | undefined>;
|
|
108
|
-
chart: import("vue").Ref<import("echarts/core").ECharts | undefined>;
|
|
109
|
-
}, {}, {}, {
|
|
110
|
-
clear: () => void;
|
|
111
|
-
resize: (opts?: import("echarts/core").ResizeOpts) => void;
|
|
112
|
-
getWidth: () => number;
|
|
113
|
-
getHeight: () => number;
|
|
114
|
-
getDom: () => HTMLElement;
|
|
115
|
-
getOption: () => import("echarts/core").EChartsCoreOption;
|
|
116
|
-
dispatchAction: (payload: import("echarts/core").Payload, opt?: boolean | {
|
|
117
|
-
silent?: boolean;
|
|
118
|
-
flush?: boolean | undefined;
|
|
119
|
-
}) => void;
|
|
120
|
-
convertToPixel: {
|
|
121
|
-
(finder: string | {
|
|
122
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
123
|
-
seriesId?: (string | number) | (string | number)[];
|
|
124
|
-
seriesName?: (string | number) | (string | number)[];
|
|
125
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
126
|
-
geoId?: (string | number) | (string | number)[];
|
|
127
|
-
geoName?: (string | number) | (string | number)[];
|
|
128
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
129
|
-
bmapId?: (string | number) | (string | number)[];
|
|
130
|
-
bmapName?: (string | number) | (string | number)[];
|
|
131
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
132
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
133
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
134
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
135
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
136
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
137
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
138
|
-
gridId?: (string | number) | (string | number)[];
|
|
139
|
-
gridName?: (string | number) | (string | number)[];
|
|
140
|
-
dataIndex?: number;
|
|
141
|
-
dataIndexInside?: number;
|
|
142
|
-
}, value: Date | (string | number)): number;
|
|
143
|
-
(finder: string | {
|
|
144
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
145
|
-
seriesId?: (string | number) | (string | number)[];
|
|
146
|
-
seriesName?: (string | number) | (string | number)[];
|
|
147
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
148
|
-
geoId?: (string | number) | (string | number)[];
|
|
149
|
-
geoName?: (string | number) | (string | number)[];
|
|
150
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
151
|
-
bmapId?: (string | number) | (string | number)[];
|
|
152
|
-
bmapName?: (string | number) | (string | number)[];
|
|
153
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
154
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
155
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
156
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
157
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
158
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
159
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
160
|
-
gridId?: (string | number) | (string | number)[];
|
|
161
|
-
gridName?: (string | number) | (string | number)[];
|
|
162
|
-
dataIndex?: number;
|
|
163
|
-
dataIndexInside?: number;
|
|
164
|
-
}, value: (Date | (string | number))[]): number[];
|
|
165
|
-
};
|
|
166
|
-
convertFromPixel: {
|
|
167
|
-
(finder: string | {
|
|
168
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
169
|
-
seriesId?: (string | number) | (string | number)[];
|
|
170
|
-
seriesName?: (string | number) | (string | number)[];
|
|
171
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
172
|
-
geoId?: (string | number) | (string | number)[];
|
|
173
|
-
geoName?: (string | number) | (string | number)[];
|
|
174
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
175
|
-
bmapId?: (string | number) | (string | number)[];
|
|
176
|
-
bmapName?: (string | number) | (string | number)[];
|
|
177
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
178
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
179
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
180
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
181
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
182
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
183
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
184
|
-
gridId?: (string | number) | (string | number)[];
|
|
185
|
-
gridName?: (string | number) | (string | number)[];
|
|
186
|
-
dataIndex?: number;
|
|
187
|
-
dataIndexInside?: number;
|
|
188
|
-
}, value: number): number;
|
|
189
|
-
(finder: string | {
|
|
190
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
191
|
-
seriesId?: (string | number) | (string | number)[];
|
|
192
|
-
seriesName?: (string | number) | (string | number)[];
|
|
193
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
194
|
-
geoId?: (string | number) | (string | number)[];
|
|
195
|
-
geoName?: (string | number) | (string | number)[];
|
|
196
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
197
|
-
bmapId?: (string | number) | (string | number)[];
|
|
198
|
-
bmapName?: (string | number) | (string | number)[];
|
|
199
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
200
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
201
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
202
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
203
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
204
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
205
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
206
|
-
gridId?: (string | number) | (string | number)[];
|
|
207
|
-
gridName?: (string | number) | (string | number)[];
|
|
208
|
-
dataIndex?: number;
|
|
209
|
-
dataIndexInside?: number;
|
|
210
|
-
}, value: number[]): number[];
|
|
211
|
-
};
|
|
212
|
-
containPixel: (finder: string | {
|
|
213
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
214
|
-
seriesId?: (string | number) | (string | number)[];
|
|
215
|
-
seriesName?: (string | number) | (string | number)[];
|
|
216
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
217
|
-
geoId?: (string | number) | (string | number)[];
|
|
218
|
-
geoName?: (string | number) | (string | number)[];
|
|
219
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
220
|
-
bmapId?: (string | number) | (string | number)[];
|
|
221
|
-
bmapName?: (string | number) | (string | number)[];
|
|
222
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
223
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
224
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
225
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
226
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
227
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
228
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
229
|
-
gridId?: (string | number) | (string | number)[];
|
|
230
|
-
gridName?: (string | number) | (string | number)[];
|
|
231
|
-
dataIndex?: number;
|
|
232
|
-
dataIndexInside?: number;
|
|
233
|
-
}, value: number[]) => boolean;
|
|
234
|
-
getDataURL: (opts?: {
|
|
235
|
-
type?: "png" | "jpeg" | "svg";
|
|
236
|
-
pixelRatio?: number;
|
|
237
|
-
backgroundColor?: import("echarts/core").Color;
|
|
238
|
-
excludeComponents?: string[];
|
|
239
|
-
}) => string;
|
|
240
|
-
getConnectedDataURL: (opts?: {
|
|
241
|
-
type?: "png" | "jpeg" | "svg";
|
|
242
|
-
pixelRatio?: number;
|
|
243
|
-
backgroundColor?: import("echarts/core").Color;
|
|
244
|
-
connectedBackgroundColor?: import("echarts/core").Color;
|
|
245
|
-
excludeComponents?: string[];
|
|
246
|
-
}) => string;
|
|
247
|
-
appendData: (params: {
|
|
248
|
-
seriesIndex: number;
|
|
249
|
-
data: any;
|
|
250
|
-
}) => void;
|
|
251
|
-
isDisposed: () => boolean;
|
|
252
|
-
dispose: () => void;
|
|
253
|
-
setOption: {
|
|
254
|
-
<Opt extends import("echarts/core").EChartsCoreOption>(option: Opt, notMerge?: boolean, lazyUpdate?: boolean): void;
|
|
255
|
-
<Opt extends import("echarts/core").EChartsCoreOption>(option: Opt, opts?: import("echarts/core").SetOptionOpts): void;
|
|
256
|
-
};
|
|
257
|
-
}>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
258
19
|
height: {
|
|
259
20
|
type: StringConstructor;
|
|
260
21
|
default: string;
|
|
@@ -269,16 +30,11 @@ export declare const DuxChart: import("vue").DefineComponent<import("vue").Extra
|
|
|
269
30
|
};
|
|
270
31
|
option: {
|
|
271
32
|
type: ObjectConstructor;
|
|
272
|
-
default: {};
|
|
273
|
-
};
|
|
274
|
-
class: {
|
|
275
|
-
type: StringConstructor;
|
|
276
|
-
default: string;
|
|
33
|
+
default: () => {};
|
|
277
34
|
};
|
|
278
35
|
}>> & Readonly<{}>, {
|
|
279
36
|
option: Record<string, any>;
|
|
280
37
|
type: string;
|
|
281
38
|
height: string;
|
|
282
|
-
class: string;
|
|
283
39
|
min: boolean;
|
|
284
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.12",
|
|
5
5
|
"author": "DuxWeb",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,60 +33,57 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@ant-design/colors": "^7.2.1",
|
|
36
|
-
"@duxweb/dvha-core": "^1.1.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.1.
|
|
38
|
-
"@iconify-json/tabler": "^1.2.
|
|
39
|
-
"@overlastic/vue": "^0.8.
|
|
40
|
-
"@tanstack/vue-query": "^5.
|
|
41
|
-
"@unocss/preset-icons": "^66.
|
|
42
|
-
"@unocss/preset-typography": "^66.
|
|
43
|
-
"@unocss/runtime": "^66.
|
|
36
|
+
"@duxweb/dvha-core": "^1.1.12",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.1.12",
|
|
38
|
+
"@iconify-json/tabler": "^1.2.23",
|
|
39
|
+
"@overlastic/vue": "^0.8.3",
|
|
40
|
+
"@tanstack/vue-query": "^5.90.7",
|
|
41
|
+
"@unocss/preset-icons": "^66.5.5",
|
|
42
|
+
"@unocss/preset-typography": "^66.5.5",
|
|
43
|
+
"@unocss/runtime": "^66.5.5",
|
|
44
44
|
"@vee-validate/i18n": "^4.15.1",
|
|
45
45
|
"@vee-validate/rules": "^4.15.1",
|
|
46
|
-
"@visactor/vchart": "^2.0.0",
|
|
47
46
|
"@vue-flow/background": "^1.3.2",
|
|
48
|
-
"@vue-flow/controls": "^1.1.
|
|
49
|
-
"@vue-flow/core": "^1.
|
|
50
|
-
"@vue-flow/minimap": "^1.5.
|
|
47
|
+
"@vue-flow/controls": "^1.1.3",
|
|
48
|
+
"@vue-flow/core": "^1.47.0",
|
|
49
|
+
"@vue-flow/minimap": "^1.5.4",
|
|
51
50
|
"@vue-flow/node-resizer": "^1.5.0",
|
|
52
51
|
"@vue-flow/node-toolbar": "^1.1.1",
|
|
53
|
-
"@vueuse/core": "^
|
|
54
|
-
"@vueuse/integrations": "^
|
|
52
|
+
"@vueuse/core": "^14.0.0",
|
|
53
|
+
"@vueuse/integrations": "^14.0.0",
|
|
55
54
|
"ace-builds": "^1.43.4",
|
|
56
|
-
"aieditor": "^1.4.
|
|
55
|
+
"aieditor": "^1.4.2",
|
|
57
56
|
"clsx": "^2.1.1",
|
|
58
57
|
"colorizr": "^3.0.8",
|
|
59
|
-
"dayjs": "^1.11.
|
|
60
|
-
"echarts": "^
|
|
61
|
-
"fabric": "^6.7.
|
|
58
|
+
"dayjs": "^1.11.19",
|
|
59
|
+
"echarts": "^6.0.0",
|
|
60
|
+
"fabric": "^6.7.1",
|
|
62
61
|
"highlight.js": "^11.11.1",
|
|
63
62
|
"jinrishici": "^1.0.6",
|
|
64
63
|
"jsep": "^1.4.0",
|
|
65
|
-
"konva": "^9.3.20",
|
|
66
64
|
"lodash-es": "^4.17.21",
|
|
67
|
-
"mathjs": "^
|
|
68
|
-
"mime": "^4.0
|
|
69
|
-
"naive-ui": "^2.
|
|
70
|
-
"pinia": "^3.0.
|
|
71
|
-
"pinia-plugin-persistedstate": "^4.
|
|
65
|
+
"mathjs": "^15.1.0",
|
|
66
|
+
"mime": "^4.1.0",
|
|
67
|
+
"naive-ui": "^2.43.1",
|
|
68
|
+
"pinia": "^3.0.4",
|
|
69
|
+
"pinia-plugin-persistedstate": "^4.7.1",
|
|
72
70
|
"short-unique-id": "^5.3.2",
|
|
73
|
-
"unocss": "^66.
|
|
71
|
+
"unocss": "^66.5.5",
|
|
74
72
|
"vee-validate": "^4.15.1",
|
|
75
|
-
"vue": "^3.5.
|
|
73
|
+
"vue": "^3.5.24",
|
|
76
74
|
"vue-command-palette": "^0.2.3",
|
|
77
75
|
"vue-cropper": "^1.1.4",
|
|
78
76
|
"vue-draggable-plus": "^0.6.0",
|
|
79
|
-
"vue-echarts": "^
|
|
80
|
-
"vue-
|
|
81
|
-
"vue-router": "^4.5.1",
|
|
77
|
+
"vue-echarts": "^8.0.1",
|
|
78
|
+
"vue-router": "^4.6.3",
|
|
82
79
|
"vue3-ace-editor": "^2.2.4"
|
|
83
80
|
},
|
|
84
81
|
"devDependencies": {
|
|
85
|
-
"@unocss/cli": "^66.
|
|
86
|
-
"rimraf": "^6.0
|
|
87
|
-
"sass-embedded": "^1.
|
|
82
|
+
"@unocss/cli": "^66.5.5",
|
|
83
|
+
"rimraf": "^6.1.0",
|
|
84
|
+
"sass-embedded": "^1.93.3",
|
|
88
85
|
"tslib": "^2.8.1",
|
|
89
|
-
"vue-tsc": "^
|
|
86
|
+
"vue-tsc": "^3.1.3"
|
|
90
87
|
},
|
|
91
88
|
"scripts": {
|
|
92
89
|
"clean": "rimraf dist",
|