go-view-worker 0.0.1
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/LICENSE +21 -0
- package/README.md +221 -0
- package/dist/chunks/403-382550a8.js +42 -0
- package/dist/chunks/404-3d357d75.js +42 -0
- package/dist/chunks/500-96d14fb0.js +43 -0
- package/dist/chunks/StylesSetting-952ff564.js +338 -0
- package/dist/chunks/chartEditStore-a725b558.js +4975 -0
- package/dist/chunks/designStore-fe92c2ba.js +6268 -0
- package/dist/chunks/index-00b6339d.js +588 -0
- package/dist/chunks/index-0472b3a5.js +173 -0
- package/dist/chunks/index-097ae4b0.js +436 -0
- package/dist/chunks/index-09e62bb4.js +284 -0
- package/dist/chunks/index-1cb69ab6.js +136 -0
- package/dist/chunks/index-32d13283.js +26 -0
- package/dist/chunks/index-3fd591ea.js +81 -0
- package/dist/chunks/index-51458edb.js +143 -0
- package/dist/chunks/index-54f304ef.js +89 -0
- package/dist/chunks/index-62a7855c.js +51 -0
- package/dist/chunks/index-82d00e13.js +300 -0
- package/dist/chunks/index-9502bd7e.js +155 -0
- package/dist/chunks/index-95c5f0a0.js +1664 -0
- package/dist/chunks/index-a410a1d3.js +250 -0
- package/dist/chunks/index-da8ddb02.js +13 -0
- package/dist/chunks/index-de0a1234.js +482 -0
- package/dist/chunks/index-e31a7881.js +32 -0
- package/dist/chunks/index-f266153a.js +1985 -0
- package/dist/chunks/index-f97e5ffc.js +13 -0
- package/dist/chunks/index-fdf7dc1e.js +88 -0
- package/dist/chunks/index-fec9f9f8.js +368 -0
- package/dist/chunks/index.vue_vue_type_script_setup_true_lang-c6159a17.js +3357 -0
- package/dist/chunks/lodash-c80b695e.js +3680 -0
- package/dist/chunks/router-106a6abc.js +57 -0
- package/dist/chunks/useKeyboard.hook-da88451a.js +341 -0
- package/dist/chunks/useSyncUpdate.hook-5517a8ad.js +40 -0
- package/dist/chunks/useTargetData.hook-28a7e43b.js +12 -0
- package/dist/chunks/wrapper-4c15ca94.js +28 -0
- package/dist/favicon.ico +0 -0
- package/dist/go-view-worker.js +23 -0
- package/dist/init.js +688 -0
- package/dist/style.css +7 -0
- package/dist/types/packages/index.d.ts +12 -0
- package/dist/types/packages/init.d.ts +6 -0
- package/dist/types/packages/utils/resize.d.ts +1 -0
- package/dist/types/src/components/GoAppProvider/index.d.ts +3 -0
- package/dist/types/src/components/GoIconify/index.d.ts +3 -0
- package/dist/types/src/components/GoLoading/index.d.ts +5 -0
- package/dist/types/src/components/GoReload/index.d.ts +3 -0
- package/dist/types/src/components/GoSkeleton/index.d.ts +3 -0
- package/dist/types/src/components/GoSystemInfo/index.d.ts +3 -0
- package/dist/types/src/components/GoSystemSet/index.d.ts +3 -0
- package/dist/types/src/components/GoThemeSelect/index.d.ts +3 -0
- package/dist/types/src/components/GoUserInfo/index.d.ts +3 -0
- package/dist/types/src/components/Pages/ChartGlobImage/index.d.ts +3 -0
- package/dist/types/src/components/Pages/ChartItemSetting/index.d.ts +11 -0
- package/dist/types/src/components/Pages/Flipper/index.d.ts +4 -0
- package/dist/types/src/components/Pages/ThemeColorSelect/index.d.ts +3 -0
- package/dist/types/src/components/Pages/VChartItemSetting/index.d.ts +8 -0
- package/dist/types/src/components/Plugins/DialogContent/index.d.ts +3 -0
- package/dist/types/src/components/Plugins/LoadingContent/index.d.ts +3 -0
- package/dist/types/src/components/Plugins/MessageContent/index.d.ts +3 -0
- package/dist/types/src/components/Tips/MacOsControlBtn/index.d.ts +3 -0
- package/dist/types/src/directives/index.d.ts +2 -0
- package/dist/types/src/enums/editPageEnum.d.ts +55 -0
- package/dist/types/src/enums/eventEnum.d.ts +32 -0
- package/dist/types/src/enums/fileTypeEnum.d.ts +7 -0
- package/dist/types/src/enums/httpEnum.d.ts +96 -0
- package/dist/types/src/enums/pageEnum.d.ts +34 -0
- package/dist/types/src/enums/pluginEnum.d.ts +6 -0
- package/dist/types/src/enums/storageEnum.d.ts +10 -0
- package/dist/types/src/enums/styleEnum.d.ts +14 -0
- package/dist/types/src/hooks/index.d.ts +6 -0
- package/dist/types/src/hooks/useCanvasInitOptions.hook.d.ts +8 -0
- package/dist/types/src/hooks/useChartDataPondFetch.hook.d.ts +8 -0
- package/dist/types/src/hooks/useChartInteract.hook.d.ts +9 -0
- package/dist/types/src/hooks/useLang.hook.d.ts +126 -0
- package/dist/types/src/hooks/useLifeHandler.hook.d.ts +10 -0
- package/dist/types/src/hooks/usePreviewScale.hook.d.ts +32 -0
- package/dist/types/src/hooks/useTheme.hook.d.ts +7 -0
- package/dist/types/src/layout/components/LayoutFooter/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutHeader/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutHeaderPro/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutMain/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutTransitionMain/index.d.ts +3 -0
- package/dist/types/src/main.d.ts +1 -0
- package/dist/types/src/packages/chartConfiguration/echarts/axis.d.ts +24 -0
- package/dist/types/src/packages/chartConfiguration/echarts/index.d.ts +4 -0
- package/dist/types/src/packages/chartConfiguration/echarts/label.d.ts +10 -0
- package/dist/types/src/packages/chartConfiguration/echarts/legend.d.ts +18 -0
- package/dist/types/src/packages/chartConfiguration/echarts/line.d.ts +8 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/index.d.ts +3 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/label.d.ts +14 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/legends.d.ts +27 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/style.d.ts +18 -0
- package/dist/types/src/packages/components/Charts/Bars/BarCommon/config.d.ts +63 -0
- package/dist/types/src/packages/components/Charts/Bars/BarCommon/index.d.ts +3 -0
- package/dist/types/src/packages/components/Charts/Bars/index.d.ts +2 -0
- package/dist/types/src/packages/components/Charts/index.d.ts +8 -0
- package/dist/types/src/packages/components/Photos/Private/index.d.ts +17 -0
- package/dist/types/src/packages/components/Photos/Share/index.d.ts +14 -0
- package/dist/types/src/packages/components/Photos/index.d.ts +9 -0
- package/dist/types/src/packages/index.d.ts +214 -0
- package/dist/types/src/packages/public/index.d.ts +2 -0
- package/dist/types/src/packages/public/publicConfig.d.ts +81 -0
- package/dist/types/src/packages/public/vChart.d.ts +14 -0
- package/dist/types/src/plugins/customComponents.d.ts +7 -0
- package/dist/types/src/plugins/directives.d.ts +7 -0
- package/dist/types/src/plugins/icon.d.ts +111 -0
- package/dist/types/src/plugins/index.d.ts +5 -0
- package/dist/types/src/plugins/initFunction.d.ts +4 -0
- package/dist/types/src/plugins/naive.d.ts +3 -0
- package/dist/types/src/router/base.d.ts +7 -0
- package/dist/types/src/router/constant.d.ts +5 -0
- package/dist/types/src/router/index.d.ts +6 -0
- package/dist/types/src/router/modules/chart.route.d.ts +4 -0
- package/dist/types/src/router/modules/index.d.ts +5 -0
- package/dist/types/src/router/modules/preview.route.d.ts +4 -0
- package/dist/types/src/router/router-guards.d.ts +3 -0
- package/dist/types/src/router/types.d.ts +26 -0
- package/dist/types/src/settings/animations/index.d.ts +7 -0
- package/dist/types/src/settings/chartThemes/index.d.ts +195 -0
- package/dist/types/src/settings/designSetting.d.ts +33 -0
- package/dist/types/src/settings/pathConst.d.ts +3 -0
- package/dist/types/src/settings/systemSetting.d.ts +11 -0
- package/dist/types/src/settings/vchartThemes/index.d.ts +139 -0
- package/dist/types/src/store/index.d.ts +5 -0
- package/dist/types/src/store/modules/chartEditStore/chartEditStore.d.ts +215 -0
- package/dist/types/src/store/modules/chartHistoryStore/chartHistoryDefine.d.ts +20 -0
- package/dist/types/src/store/modules/chartHistoryStore/chartHistoryStore.d.ts +79 -0
- package/dist/types/src/store/modules/chartLayoutStore/chartLayoutStore.d.ts +36 -0
- package/dist/types/src/store/modules/designStore/designStore.d.ts +20 -0
- package/dist/types/src/store/modules/globalConfigStore/globalConfigStore.d.ts +183 -0
- package/dist/types/src/store/modules/langStore/langStore.d.ts +6 -0
- package/dist/types/src/store/modules/packagesStore/packagesStore.d.ts +10 -0
- package/dist/types/src/store/modules/settingStore/settingStore.d.ts +31 -0
- package/dist/types/src/utils/components.d.ts +13 -0
- package/dist/types/src/utils/file.d.ts +19 -0
- package/dist/types/src/utils/index.d.ts +8 -0
- package/dist/types/src/utils/plugin.d.ts +30 -0
- package/dist/types/src/utils/router.d.ts +77 -0
- package/dist/types/src/utils/storage.d.ts +35 -0
- package/dist/types/src/utils/style.d.ts +154 -0
- package/dist/types/src/utils/type.d.ts +8 -0
- package/dist/types/src/utils/utils.d.ts +128 -0
- package/dist/types/src/views/chart/ContentBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsItemBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsOptionContent/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsSearch/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/hooks/useAside.hook.d.ts +11 -0
- package/dist/types/src/views/chart/ContentCharts/hooks/useLayout.hook.d.ts +10 -0
- package/dist/types/src/views/chart/ContentCharts/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/barOptions.d.ts +2 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/lineOptions.d.ts +2 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.d.ts +57 -0
- package/dist/types/src/views/chart/ContentConfigurations/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditAlignLine/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditBottom/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditGroup/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditHistory/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditRange/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditRule/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditSelect/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditShapeBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditShortcutKey/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/hooks/useFile.hooks.d.ts +9 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/hooks/useSyncUpdate.hook.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/utils/index.d.ts +1 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditWatermark/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useDrag.hook.d.ts +13 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useLayout.hook.d.ts +1 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useStyle.hook.d.ts +17 -0
- package/dist/types/src/views/chart/ContentEdit/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerLeftBtn/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerRightBtn/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerTitle/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersGroupListItem/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersListItem/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersStatus/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/enums.d.ts +0 -0
- package/dist/types/src/views/chart/ContentLayers/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLoad/index.d.ts +3 -0
- package/dist/types/src/views/chart/hooks/useContextMenu.hook.d.ts +12 -0
- package/dist/types/src/views/chart/hooks/useKeyboard.hook.d.ts +38 -0
- package/dist/types/src/views/chart/hooks/useSync.hook.d.ts +5 -0
- package/dist/types/src/views/preview/components/PreviewRenderGroup/index.d.ts +3 -0
- package/dist/types/src/views/preview/components/PreviewRenderList/index.d.ts +3 -0
- package/dist/types/src/views/preview/hooks/useComInstall.hook.d.ts +5 -0
- package/dist/types/src/views/preview/hooks/useScale.hook.d.ts +17 -0
- package/dist/types/src/views/preview/hooks/useStore.hook.d.ts +3 -0
- package/dist/types/src/views/preview/utils/drag.d.ts +1 -0
- package/dist/types/src/views/preview/utils/index.d.ts +4 -0
- package/dist/types/src/views/preview/utils/keyboard.d.ts +1 -0
- package/dist/types/src/views/preview/utils/storage.d.ts +6 -0
- package/dist/types/src/views/preview/utils/style.d.ts +26 -0
- package/package.json +99 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { defineComponent as K, toRefs as Q, ref as k, computed as W, watch as X, resolveComponent as l, openBlock as o, createBlock as a, withCtx as e, createVNode as n, unref as E, createElementBlock as b, Fragment as x, renderList as N, createElementVNode as G, toDisplayString as H, resolveDynamicComponent as i, createCommentVNode as L } from "vue";
|
|
2
|
+
import "naive-ui";
|
|
3
|
+
import { A as Y } from "./designStore-fe92c2ba.js";
|
|
4
|
+
import "vue-router";
|
|
5
|
+
import { l as p } from "./index-82d00e13.js";
|
|
6
|
+
import { u as Z, i as $ } from "./chartEditStore-a725b558.js";
|
|
7
|
+
import { C as ee } from "./index-51458edb.js";
|
|
8
|
+
import { u as R, C as D } from "./index-097ae4b0.js";
|
|
9
|
+
import "pinia";
|
|
10
|
+
import "./index.vue_vue_type_script_setup_true_lang-c6159a17.js";
|
|
11
|
+
import "./router-106a6abc.js";
|
|
12
|
+
var r = /* @__PURE__ */ ((s) => (s.PAGE_SETTING = "pageSetting", s.CHART_SETTING = "chartSetting", s.CHART_ANIMATION = "chartAnimation", s.CHART_DATA = "chartData", s.CHART_EVENT = "chartEvent", s))(r || {});
|
|
13
|
+
const te = /* @__PURE__ */ K({
|
|
14
|
+
__name: "index",
|
|
15
|
+
setup(s) {
|
|
16
|
+
const { getDetails: y } = Q(R()), { setItem: T } = R(), d = Z(), { ConstructIcon: w, FlashIcon: oe, DesktopOutlineIcon: z, LeafIcon: B, RocketIcon: ne } = $.ionicons5, V = p(() => import("./index-95c5f0a0.js")), O = p(() => import("./index-a410a1d3.js")), P = p(() => import("./index-09e62bb4.js")), F = p(() => import("./index-1cb69ab6.js")), u = k(y.value), _ = k(r.CHART_SETTING), C = () => {
|
|
17
|
+
u.value = !0, T(D.DETAILS, !0);
|
|
18
|
+
}, h = () => {
|
|
19
|
+
u.value = !1, T(D.DETAILS, !1);
|
|
20
|
+
}, m = W(() => {
|
|
21
|
+
if (d.getTargetChart.selectId.length !== 1)
|
|
22
|
+
return;
|
|
23
|
+
const c = d.componentList[d.fetchTargetIndex()];
|
|
24
|
+
return c?.isGroup && (_.value = r.CHART_SETTING), c;
|
|
25
|
+
});
|
|
26
|
+
X(y, (f) => {
|
|
27
|
+
f ? C() : h();
|
|
28
|
+
});
|
|
29
|
+
const M = [
|
|
30
|
+
{
|
|
31
|
+
key: r.PAGE_SETTING,
|
|
32
|
+
title: "页面配置",
|
|
33
|
+
icon: z,
|
|
34
|
+
render: O
|
|
35
|
+
}
|
|
36
|
+
], v = [
|
|
37
|
+
{
|
|
38
|
+
key: r.CHART_SETTING,
|
|
39
|
+
title: "定制",
|
|
40
|
+
icon: w,
|
|
41
|
+
render: P
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
key: r.CHART_ANIMATION,
|
|
45
|
+
title: "动画",
|
|
46
|
+
icon: B,
|
|
47
|
+
render: F
|
|
48
|
+
}
|
|
49
|
+
], U = [...v];
|
|
50
|
+
return (f, c) => {
|
|
51
|
+
const j = l("n-layout-content"), g = l("n-icon"), I = l("n-space"), A = l("n-tab-pane"), S = l("n-tabs"), q = l("n-layout-sider"), J = l("n-layout");
|
|
52
|
+
return o(), a(J, {
|
|
53
|
+
"has-sider": "",
|
|
54
|
+
"sider-placement": "right"
|
|
55
|
+
}, {
|
|
56
|
+
default: e(() => [
|
|
57
|
+
n(j, null, {
|
|
58
|
+
default: e(() => [
|
|
59
|
+
n(E(V))
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}),
|
|
63
|
+
n(q, {
|
|
64
|
+
"collapse-mode": "transform",
|
|
65
|
+
"collapsed-width": 0,
|
|
66
|
+
width: 350,
|
|
67
|
+
collapsed: u.value,
|
|
68
|
+
"native-scrollbar": !1,
|
|
69
|
+
"show-trigger": "bar",
|
|
70
|
+
onCollapse: C,
|
|
71
|
+
onExpand: h
|
|
72
|
+
}, {
|
|
73
|
+
default: e(() => [
|
|
74
|
+
n(E(ee), {
|
|
75
|
+
class: "go-content-configurations go-boderbox",
|
|
76
|
+
"show-top": !1,
|
|
77
|
+
depth: 2
|
|
78
|
+
}, {
|
|
79
|
+
default: e(() => [
|
|
80
|
+
m.value ? L("", !0) : (o(), a(S, {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "tabs-box",
|
|
83
|
+
size: "small",
|
|
84
|
+
type: "segment"
|
|
85
|
+
}, {
|
|
86
|
+
default: e(() => [
|
|
87
|
+
(o(), b(x, null, N(M, (t) => n(A, {
|
|
88
|
+
key: t.key,
|
|
89
|
+
name: t.key,
|
|
90
|
+
size: "small",
|
|
91
|
+
"display-directive": "show:lazy"
|
|
92
|
+
}, {
|
|
93
|
+
tab: e(() => [
|
|
94
|
+
n(I, null, {
|
|
95
|
+
default: e(() => [
|
|
96
|
+
G("span", null, H(t.title), 1),
|
|
97
|
+
n(g, {
|
|
98
|
+
size: "16",
|
|
99
|
+
class: "icon-position"
|
|
100
|
+
}, {
|
|
101
|
+
default: e(() => [
|
|
102
|
+
(o(), a(i(t.icon)))
|
|
103
|
+
]),
|
|
104
|
+
_: 2
|
|
105
|
+
}, 1024)
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1024)
|
|
109
|
+
]),
|
|
110
|
+
default: e(() => [
|
|
111
|
+
(o(), a(i(t.render)))
|
|
112
|
+
]),
|
|
113
|
+
_: 2
|
|
114
|
+
}, 1032, ["name"])), 64))
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
})),
|
|
118
|
+
m.value ? (o(), a(S, {
|
|
119
|
+
key: 1,
|
|
120
|
+
value: _.value,
|
|
121
|
+
"onUpdate:value": c[0] || (c[0] = (t) => _.value = t),
|
|
122
|
+
class: "tabs-box",
|
|
123
|
+
size: "small",
|
|
124
|
+
type: "segment"
|
|
125
|
+
}, {
|
|
126
|
+
default: e(() => [
|
|
127
|
+
(o(!0), b(x, null, N(m.value.isGroup ? v : U, (t) => (o(), a(A, {
|
|
128
|
+
key: t.key,
|
|
129
|
+
name: t.key,
|
|
130
|
+
size: "small",
|
|
131
|
+
"display-directive": "show:lazy"
|
|
132
|
+
}, {
|
|
133
|
+
tab: e(() => [
|
|
134
|
+
n(I, null, {
|
|
135
|
+
default: e(() => [
|
|
136
|
+
G("span", null, H(t.title), 1),
|
|
137
|
+
n(g, {
|
|
138
|
+
size: "16",
|
|
139
|
+
class: "icon-position"
|
|
140
|
+
}, {
|
|
141
|
+
default: e(() => [
|
|
142
|
+
(o(), a(i(t.icon)))
|
|
143
|
+
]),
|
|
144
|
+
_: 2
|
|
145
|
+
}, 1024)
|
|
146
|
+
]),
|
|
147
|
+
_: 2
|
|
148
|
+
}, 1024)
|
|
149
|
+
]),
|
|
150
|
+
default: e(() => [
|
|
151
|
+
(o(), a(i(t.render)))
|
|
152
|
+
]),
|
|
153
|
+
_: 2
|
|
154
|
+
}, 1032, ["name"]))), 128))
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["value"])) : L("", !0)
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
})
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 8, ["collapsed"])
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
const fe = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-997af9d9"]]);
|
|
171
|
+
export {
|
|
172
|
+
fe as default
|
|
173
|
+
};
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as T, createBlock as L, unref as v, withCtx as h, createVNode as p, renderSlot as G, computed as P, onMounted as I, createElementBlock as ee, provide as E, watch as te, onBeforeUnmount as ne } from "vue";
|
|
2
|
+
import { useMessage as re, useDialog as ae, useLoadingBar as ie, NLoadingBarProvider as oe, NDialogProvider as se, NNotificationProvider as le, NMessageProvider as ue, darkTheme as ce, NConfigProvider as fe } from "naive-ui";
|
|
3
|
+
import { u as de, _ as ve, f as pe, a as _e, c as ge } from "./index.vue_vue_type_script_setup_true_lang-c6159a17.js";
|
|
4
|
+
import { D as he } from "./index-82d00e13.js";
|
|
5
|
+
import { g as me, s as Ce, S as ye, _ as Te, e as U, i as V, a as D, b as Ee, c as Oe, d as Se, k, f as $e, h as be, j as Le, l as we, m as Pe, n as Ae, o as Ne, p as xe, q as w, r as Me, t as Be, u as Re, v as Fe, w as Ge, x as O } from "./designStore-fe92c2ba.js";
|
|
6
|
+
import "vue-router";
|
|
7
|
+
import { u as H, a as Ie, C as S, P as Ue, B as y, E as A } from "./chartEditStore-a725b558.js";
|
|
8
|
+
import { defineStore as Ve } from "pinia";
|
|
9
|
+
const De = /* @__PURE__ */ m({
|
|
10
|
+
__name: "index",
|
|
11
|
+
setup(e) {
|
|
12
|
+
return window.$message = re(), (t, n) => null;
|
|
13
|
+
}
|
|
14
|
+
}), ke = /* @__PURE__ */ m({
|
|
15
|
+
__name: "index",
|
|
16
|
+
setup(e) {
|
|
17
|
+
return window.$dialog = ae(), (t, n) => null;
|
|
18
|
+
}
|
|
19
|
+
}), He = /* @__PURE__ */ m({
|
|
20
|
+
__name: "index",
|
|
21
|
+
setup(e) {
|
|
22
|
+
return window.$loading = ie(), window.$loading.finish(), (t, n) => null;
|
|
23
|
+
}
|
|
24
|
+
}), ze = /* @__PURE__ */ m({
|
|
25
|
+
__name: "index",
|
|
26
|
+
setup(e) {
|
|
27
|
+
return (t, n) => (T(), L(v(oe), null, {
|
|
28
|
+
default: h(() => [
|
|
29
|
+
p(v(se), null, {
|
|
30
|
+
default: h(() => [
|
|
31
|
+
p(v(ke)),
|
|
32
|
+
p(v(He)),
|
|
33
|
+
p(v(le), null, {
|
|
34
|
+
default: h(() => [
|
|
35
|
+
p(v(ue), null, {
|
|
36
|
+
default: h(() => [
|
|
37
|
+
p(v(De)),
|
|
38
|
+
G(t.$slots, "default")
|
|
39
|
+
]),
|
|
40
|
+
_: 3
|
|
41
|
+
})
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
})
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
})
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
}), Ke = ["data-theme"], Ye = /* @__PURE__ */ m({
|
|
53
|
+
__name: "index",
|
|
54
|
+
props: {
|
|
55
|
+
theme: {}
|
|
56
|
+
},
|
|
57
|
+
setup(e) {
|
|
58
|
+
const t = e, n = de(), r = P(() => t.theme ?? (n.isDarkMode ? "dark" : "light") ?? "light"), a = P(() => r.value === "dark" ? ce : null);
|
|
59
|
+
return I(() => {
|
|
60
|
+
}), (o, l) => (T(), ee("div", {
|
|
61
|
+
class: "go-view-container",
|
|
62
|
+
"data-theme": r.value
|
|
63
|
+
}, [
|
|
64
|
+
p(v(fe), { theme: a.value }, {
|
|
65
|
+
default: h(() => [
|
|
66
|
+
p(v(ze), null, {
|
|
67
|
+
default: h(() => [
|
|
68
|
+
G(o.$slots, "default")
|
|
69
|
+
]),
|
|
70
|
+
_: 3
|
|
71
|
+
})
|
|
72
|
+
]),
|
|
73
|
+
_: 3
|
|
74
|
+
}, 8, ["theme"])
|
|
75
|
+
], 8, Ke));
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
const qe = /* @__PURE__ */ m({
|
|
79
|
+
__name: "index",
|
|
80
|
+
props: {
|
|
81
|
+
data: {
|
|
82
|
+
type: Object,
|
|
83
|
+
default: null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
setup(e) {
|
|
87
|
+
return (t, n) => (T(), L(ve));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
var z = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.DOUBLE = "double", e))(z || {}), K = /* @__PURE__ */ ((e) => (e.THUMBNAIL = "thumbnail", e.TEXT = "text", e))(K || {}), b = /* @__PURE__ */ ((e) => (e.LAYERS = "layers", e.CHARTS = "charts", e.DETAILS = "details", e.Chart_TYPE = "chartType", e.LAYER_TYPE = "layerType", e.PERCENTAGE = "percentage", e.RE_POSITION_CANVAS = "rePositionCanvas", e))(b || {});
|
|
91
|
+
const je = () => H(), { GO_CHART_LAYOUT_STORE: Y } = ye, We = me(Y), Qe = Ve({
|
|
92
|
+
id: "useChartLayoutStore",
|
|
93
|
+
state: () => ({
|
|
94
|
+
// 图层控制
|
|
95
|
+
layers: !0,
|
|
96
|
+
// 图表组件
|
|
97
|
+
charts: !0,
|
|
98
|
+
// 详情设置(收缩为true)
|
|
99
|
+
details: !1,
|
|
100
|
+
// 组件列表展示类型(默认单列)
|
|
101
|
+
chartType: z.SINGLE,
|
|
102
|
+
// 图层类型(默认图片)
|
|
103
|
+
layerType: K.THUMBNAIL,
|
|
104
|
+
// 当前加载数量
|
|
105
|
+
percentage: 0,
|
|
106
|
+
// 是否重置当前画布位置
|
|
107
|
+
rePositionCanvas: !1,
|
|
108
|
+
// 防止值不存在
|
|
109
|
+
...We
|
|
110
|
+
}),
|
|
111
|
+
getters: {
|
|
112
|
+
getLayers() {
|
|
113
|
+
return this.layers;
|
|
114
|
+
},
|
|
115
|
+
getCharts() {
|
|
116
|
+
return this.charts;
|
|
117
|
+
},
|
|
118
|
+
getDetails() {
|
|
119
|
+
return this.details;
|
|
120
|
+
},
|
|
121
|
+
getChartType() {
|
|
122
|
+
return this.chartType;
|
|
123
|
+
},
|
|
124
|
+
getLayerType() {
|
|
125
|
+
return this.layerType;
|
|
126
|
+
},
|
|
127
|
+
getPercentage() {
|
|
128
|
+
return this.percentage;
|
|
129
|
+
},
|
|
130
|
+
getRePositionCanvas() {
|
|
131
|
+
return this.rePositionCanvas;
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
actions: {
|
|
135
|
+
setItem(e, t, n = !0) {
|
|
136
|
+
this.$patch((r) => {
|
|
137
|
+
r[e] = t;
|
|
138
|
+
}), Ce(Y, this.$state), this.rePositionCanvas = !0, n && setTimeout(() => {
|
|
139
|
+
je().computedScale();
|
|
140
|
+
}, 500);
|
|
141
|
+
},
|
|
142
|
+
setItemUnHandle(e, t) {
|
|
143
|
+
this.$patch((n) => {
|
|
144
|
+
n[e] = t;
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
var Xe = Te, Je = U;
|
|
150
|
+
function Ze(e, t, n) {
|
|
151
|
+
(n !== void 0 && !Je(e[t], n) || n === void 0 && !(t in e)) && Xe(e, t, n);
|
|
152
|
+
}
|
|
153
|
+
var q = Ze;
|
|
154
|
+
function et(e) {
|
|
155
|
+
return function(t, n, r) {
|
|
156
|
+
for (var a = -1, o = Object(t), l = r(t), u = l.length; u--; ) {
|
|
157
|
+
var i = l[e ? u : ++a];
|
|
158
|
+
if (n(o[i], i, o) === !1)
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
return t;
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
var tt = et, nt = tt, rt = nt(), at = rt, it = V, ot = D;
|
|
165
|
+
function st(e) {
|
|
166
|
+
return ot(e) && it(e);
|
|
167
|
+
}
|
|
168
|
+
var lt = st, ut = Ee, ct = Oe, ft = D, dt = "[object Object]", vt = Function.prototype, pt = Object.prototype, j = vt.toString, _t = pt.hasOwnProperty, gt = j.call(Object);
|
|
169
|
+
function ht(e) {
|
|
170
|
+
if (!ft(e) || ut(e) != dt)
|
|
171
|
+
return !1;
|
|
172
|
+
var t = ct(e);
|
|
173
|
+
if (t === null)
|
|
174
|
+
return !0;
|
|
175
|
+
var n = _t.call(t, "constructor") && t.constructor;
|
|
176
|
+
return typeof n == "function" && n instanceof n && j.call(n) == gt;
|
|
177
|
+
}
|
|
178
|
+
var mt = ht;
|
|
179
|
+
function Ct(e, t) {
|
|
180
|
+
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
181
|
+
return e[t];
|
|
182
|
+
}
|
|
183
|
+
var W = Ct, yt = Se, Tt = k;
|
|
184
|
+
function Et(e) {
|
|
185
|
+
return yt(e, Tt(e));
|
|
186
|
+
}
|
|
187
|
+
var Ot = Et, N = q, St = $e, $t = be, bt = Le, Lt = we, x = Pe, M = Ae, wt = lt, Pt = Ne, At = xe, Nt = w, xt = mt, Mt = Me, B = W, Bt = Ot;
|
|
188
|
+
function Rt(e, t, n, r, a, o, l) {
|
|
189
|
+
var u = B(e, n), i = B(t, n), c = l.get(i);
|
|
190
|
+
if (c) {
|
|
191
|
+
N(e, n, c);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
var s = o ? o(u, i, n + "", e, t, l) : void 0, f = s === void 0;
|
|
195
|
+
if (f) {
|
|
196
|
+
var g = M(i), d = !g && Pt(i), C = !g && !d && Mt(i);
|
|
197
|
+
s = i, g || d || C ? M(u) ? s = u : wt(u) ? s = bt(u) : d ? (f = !1, s = St(i, !0)) : C ? (f = !1, s = $t(i, !0)) : s = [] : xt(i) || x(i) ? (s = u, x(u) ? s = Bt(u) : (!Nt(u) || At(u)) && (s = Lt(i))) : f = !1;
|
|
198
|
+
}
|
|
199
|
+
f && (l.set(i, s), a(s, i, r, o, l), l.delete(i)), N(e, n, s);
|
|
200
|
+
}
|
|
201
|
+
var Ft = Rt, Gt = Be, It = q, Ut = at, Vt = Ft, Dt = w, kt = k, Ht = W;
|
|
202
|
+
function Q(e, t, n, r, a) {
|
|
203
|
+
e !== t && Ut(t, function(o, l) {
|
|
204
|
+
if (a || (a = new Gt()), Dt(o))
|
|
205
|
+
Vt(e, t, l, n, Q, r, a);
|
|
206
|
+
else {
|
|
207
|
+
var u = r ? r(Ht(e, l), o, l + "", e, t, a) : void 0;
|
|
208
|
+
u === void 0 && (u = o), It(e, l, u);
|
|
209
|
+
}
|
|
210
|
+
}, kt);
|
|
211
|
+
}
|
|
212
|
+
var zt = Q;
|
|
213
|
+
function Kt(e) {
|
|
214
|
+
return e;
|
|
215
|
+
}
|
|
216
|
+
var X = Kt;
|
|
217
|
+
function Yt(e, t, n) {
|
|
218
|
+
switch (n.length) {
|
|
219
|
+
case 0:
|
|
220
|
+
return e.call(t);
|
|
221
|
+
case 1:
|
|
222
|
+
return e.call(t, n[0]);
|
|
223
|
+
case 2:
|
|
224
|
+
return e.call(t, n[0], n[1]);
|
|
225
|
+
case 3:
|
|
226
|
+
return e.call(t, n[0], n[1], n[2]);
|
|
227
|
+
}
|
|
228
|
+
return e.apply(t, n);
|
|
229
|
+
}
|
|
230
|
+
var qt = Yt, jt = qt, R = Math.max;
|
|
231
|
+
function Wt(e, t, n) {
|
|
232
|
+
return t = R(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
233
|
+
for (var r = arguments, a = -1, o = R(r.length - t, 0), l = Array(o); ++a < o; )
|
|
234
|
+
l[a] = r[t + a];
|
|
235
|
+
a = -1;
|
|
236
|
+
for (var u = Array(t + 1); ++a < t; )
|
|
237
|
+
u[a] = r[a];
|
|
238
|
+
return u[t] = n(l), jt(e, this, u);
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
var Qt = Wt;
|
|
242
|
+
function Xt(e) {
|
|
243
|
+
return function() {
|
|
244
|
+
return e;
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
var Jt = Xt, Zt = Jt, F = Re, en = X, tn = F ? function(e, t) {
|
|
248
|
+
return F(e, "toString", {
|
|
249
|
+
configurable: !0,
|
|
250
|
+
enumerable: !1,
|
|
251
|
+
value: Zt(t),
|
|
252
|
+
writable: !0
|
|
253
|
+
});
|
|
254
|
+
} : en, nn = tn, rn = 800, an = 16, on = Date.now;
|
|
255
|
+
function sn(e) {
|
|
256
|
+
var t = 0, n = 0;
|
|
257
|
+
return function() {
|
|
258
|
+
var r = on(), a = an - (r - n);
|
|
259
|
+
if (n = r, a > 0) {
|
|
260
|
+
if (++t >= rn)
|
|
261
|
+
return arguments[0];
|
|
262
|
+
} else
|
|
263
|
+
t = 0;
|
|
264
|
+
return e.apply(void 0, arguments);
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
var ln = sn, un = nn, cn = ln, fn = cn(un), dn = fn, vn = X, pn = Qt, _n = dn;
|
|
268
|
+
function gn(e, t) {
|
|
269
|
+
return _n(pn(e, t, vn), e + "");
|
|
270
|
+
}
|
|
271
|
+
var hn = gn, mn = U, Cn = V, yn = Fe, Tn = w;
|
|
272
|
+
function En(e, t, n) {
|
|
273
|
+
if (!Tn(n))
|
|
274
|
+
return !1;
|
|
275
|
+
var r = typeof t;
|
|
276
|
+
return (r == "number" ? Cn(n) && yn(t, n.length) : r == "string" && t in n) ? mn(n[t], e) : !1;
|
|
277
|
+
}
|
|
278
|
+
var On = En, Sn = hn, $n = On;
|
|
279
|
+
function bn(e) {
|
|
280
|
+
return Sn(function(t, n) {
|
|
281
|
+
var r = -1, a = n.length, o = a > 1 ? n[a - 1] : void 0, l = a > 2 ? n[2] : void 0;
|
|
282
|
+
for (o = e.length > 3 && typeof o == "function" ? (a--, o) : void 0, l && $n(n[0], n[1], l) && (o = a < 3 ? void 0 : o, a = 1), t = Object(t); ++r < a; ) {
|
|
283
|
+
var u = n[r];
|
|
284
|
+
u && e(t, u, r, o);
|
|
285
|
+
}
|
|
286
|
+
return t;
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
var Ln = bn, wn = zt, Pn = Ln, An = Pn(function(e, t, n) {
|
|
290
|
+
wn(e, t, n);
|
|
291
|
+
}), Nn = An;
|
|
292
|
+
const $ = /* @__PURE__ */ Ge(Nn), xn = (e) => e, Mn = (e, t) => {
|
|
293
|
+
try {
|
|
294
|
+
if (t.id) {
|
|
295
|
+
const n = "vnodeBeforeMount" in t.events, r = "vnodeMounted" in t.events;
|
|
296
|
+
return n && (e.events.advancedEvents.vnodeBeforeMount = t?.events.vnodeBeforeMount), r && (e.events.advancedEvents.vnodeMounted = t?.events.vnodeMounted), (n || r) && (t.events = {
|
|
297
|
+
baseEvent: {
|
|
298
|
+
[y.ON_CLICK]: void 0,
|
|
299
|
+
[y.ON_DBL_CLICK]: void 0,
|
|
300
|
+
[y.ON_MOUSE_ENTER]: void 0,
|
|
301
|
+
[y.ON_MOUSE_LEAVE]: void 0
|
|
302
|
+
},
|
|
303
|
+
advancedEvents: {
|
|
304
|
+
[A.VNODE_MOUNTED]: void 0,
|
|
305
|
+
[A.VNODE_BEFORE_MOUNT]: void 0
|
|
306
|
+
},
|
|
307
|
+
interactEvents: []
|
|
308
|
+
}), e;
|
|
309
|
+
}
|
|
310
|
+
} catch {
|
|
311
|
+
return e;
|
|
312
|
+
}
|
|
313
|
+
}, _ = (e, t, n = !1) => {
|
|
314
|
+
if (Mn(e, t), n)
|
|
315
|
+
return $(e, t);
|
|
316
|
+
const r = t.option;
|
|
317
|
+
if (!r)
|
|
318
|
+
return $(e, t);
|
|
319
|
+
if (t.option = void 0, r)
|
|
320
|
+
return {
|
|
321
|
+
...$(e, t),
|
|
322
|
+
option: r
|
|
323
|
+
};
|
|
324
|
+
}, Bn = () => {
|
|
325
|
+
const e = H(), t = Ie(), n = Qe();
|
|
326
|
+
return {
|
|
327
|
+
updateComponent: async (a, o = !1, l = !1) => {
|
|
328
|
+
o && (e.componentList = [], t.clearBackStack(), t.clearForwardStack()), a.editCanvasConfig = xn(a.editCanvasConfig), a.componentList.forEach(async (i) => {
|
|
329
|
+
const c = (s) => {
|
|
330
|
+
window.$vue.component(s.chartConfig.chartKey) || (window.$vue.component(s.chartConfig.chartKey, pe(s.chartConfig)), window.$vue.component(s.chartConfig.conKey, _e(s.chartConfig)));
|
|
331
|
+
};
|
|
332
|
+
i.isGroup ? i.groupList.forEach((s) => {
|
|
333
|
+
c(s);
|
|
334
|
+
}) : c(i);
|
|
335
|
+
});
|
|
336
|
+
const u = async (i, c) => {
|
|
337
|
+
let s = await ge(i.chartConfig);
|
|
338
|
+
i.chartConfig.redirectComponent && (i.chartConfig.dataset && (s.option.dataset = i.chartConfig.dataset), s.chartConfig.title = i.chartConfig.title, s.chartConfig.chartFrame = i.chartConfig.chartFrame), c ? c(l ? _(s, { ...i, id: O() }) : _(s, i)) : l ? e.addComponentList(
|
|
339
|
+
_(s, { ...i, id: O() }),
|
|
340
|
+
!1,
|
|
341
|
+
!0
|
|
342
|
+
) : e.addComponentList(_(s, i), !1, !0);
|
|
343
|
+
};
|
|
344
|
+
for (const i in a)
|
|
345
|
+
if (i === S.COMPONENT_LIST) {
|
|
346
|
+
let c = 0;
|
|
347
|
+
const s = a[i].length;
|
|
348
|
+
for (const f of a[i]) {
|
|
349
|
+
let g = parseInt((parseFloat(`${++c / s}`) * 100).toString());
|
|
350
|
+
if (n.setItemUnHandle(b.PERCENTAGE, g), f.isGroup) {
|
|
351
|
+
let d = new Ue();
|
|
352
|
+
l ? d = _(d, { ...f, id: O() }) : d = _(d, f);
|
|
353
|
+
const C = [];
|
|
354
|
+
for (const J of f.groupList)
|
|
355
|
+
await u(J, (Z) => {
|
|
356
|
+
C.push(Z);
|
|
357
|
+
});
|
|
358
|
+
d.groupList = C, e.addComponentList(d, !1, !0);
|
|
359
|
+
} else
|
|
360
|
+
await u(f);
|
|
361
|
+
g === 100 && (t.clearBackStack(), t.clearForwardStack());
|
|
362
|
+
}
|
|
363
|
+
} else
|
|
364
|
+
(i === S.EDIT_CANVAS_CONFIG || i === S.REQUEST_GLOBAL_CONFIG) && _(e[i], a[i], !0);
|
|
365
|
+
n.setItemUnHandle(b.PERCENTAGE, 0);
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
}, Rn = {
|
|
369
|
+
__name: "index",
|
|
370
|
+
props: {
|
|
371
|
+
//外部传入渲染数据
|
|
372
|
+
data: {
|
|
373
|
+
type: Object,
|
|
374
|
+
default: () => {
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
emits: ["back", "preview", "save"],
|
|
379
|
+
setup(e, { emit: t }) {
|
|
380
|
+
const n = e, r = t;
|
|
381
|
+
E("saveData", (o) => {
|
|
382
|
+
r("save", o);
|
|
383
|
+
}), E("previewChart", (o) => {
|
|
384
|
+
r("preview");
|
|
385
|
+
}), E("backHome", (o) => {
|
|
386
|
+
r("back");
|
|
387
|
+
});
|
|
388
|
+
const { updateComponent: a } = Bn();
|
|
389
|
+
return te(
|
|
390
|
+
() => n.data,
|
|
391
|
+
async (o) => {
|
|
392
|
+
if (o)
|
|
393
|
+
try {
|
|
394
|
+
await a(o, !0, !0);
|
|
395
|
+
} catch (l) {
|
|
396
|
+
console.error("[go-view-worker] Failed to load data:", l);
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{ immediate: !0 }
|
|
400
|
+
), (o, l) => (T(), L(he, { data: e.data }, null, 8, ["data"]));
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
function zn(e = 1920, t = 14) {
|
|
404
|
+
let n;
|
|
405
|
+
const r = () => {
|
|
406
|
+
n && clearTimeout(n), n = setTimeout(() => {
|
|
407
|
+
const a = e, o = document.documentElement.clientWidth / a * t;
|
|
408
|
+
document.documentElement.style.fontSize = o + "px", document.body.style.fontSize = o + "px";
|
|
409
|
+
}, 300);
|
|
410
|
+
};
|
|
411
|
+
I(() => {
|
|
412
|
+
r(), window.addEventListener("resize", r);
|
|
413
|
+
}), ne(() => {
|
|
414
|
+
window.removeEventListener("resize", r), n && clearTimeout(n);
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
const Kn = {
|
|
418
|
+
install: (e) => {
|
|
419
|
+
e.component("Configurator", Ye), e.component("Renderer", qe), e.component("Designer", Rn);
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
export {
|
|
423
|
+
b as C,
|
|
424
|
+
K as L,
|
|
425
|
+
Qt as _,
|
|
426
|
+
z as a,
|
|
427
|
+
dn as b,
|
|
428
|
+
Bn as c,
|
|
429
|
+
Ye as d,
|
|
430
|
+
qe as e,
|
|
431
|
+
Rn as f,
|
|
432
|
+
Kn as g,
|
|
433
|
+
zn as h,
|
|
434
|
+
mt as i,
|
|
435
|
+
Qe as u
|
|
436
|
+
};
|