jojotaoo_components 0.0.1-beta.0
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/assets/maps/heilongjiang.json +25543 -0
- package/dist/components/charts/BackgroundCard.vue.d.ts +17 -0
- package/dist/components/charts/BackgroundCard.vue.d.ts.map +1 -0
- package/dist/components/charts/BackgroundCard.vue.js +140 -0
- package/dist/components/charts/BarChart.vue.d.ts +20 -0
- package/dist/components/charts/BarChart.vue.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.js +109 -0
- package/dist/components/charts/CustomLegend.vue.d.ts +28 -0
- package/dist/components/charts/CustomLegend.vue.d.ts.map +1 -0
- package/dist/components/charts/CustomLegend.vue.js +198 -0
- package/dist/components/charts/DataFetchManager.vue.d.ts +10 -0
- package/dist/components/charts/DataFetchManager.vue.d.ts.map +1 -0
- package/dist/components/charts/DataFetchManager.vue.js +127 -0
- package/dist/components/charts/DateTimeDisplay.vue.d.ts +17 -0
- package/dist/components/charts/DateTimeDisplay.vue.d.ts.map +1 -0
- package/dist/components/charts/DateTimeDisplay.vue.js +112 -0
- package/dist/components/charts/GroupComponent.vue.d.ts +13 -0
- package/dist/components/charts/GroupComponent.vue.d.ts.map +1 -0
- package/dist/components/charts/GroupComponent.vue.js +106 -0
- package/dist/components/charts/GroupPreview.vue.d.ts +10 -0
- package/dist/components/charts/GroupPreview.vue.d.ts.map +1 -0
- package/dist/components/charts/GroupPreview.vue.js +76 -0
- package/dist/components/charts/HeaderLineChart.vue.d.ts +17 -0
- package/dist/components/charts/HeaderLineChart.vue.d.ts.map +1 -0
- package/dist/components/charts/HeaderLineChart.vue.js +62 -0
- package/dist/components/charts/ImageDisplay.vue.d.ts +17 -0
- package/dist/components/charts/ImageDisplay.vue.d.ts.map +1 -0
- package/dist/components/charts/ImageDisplay.vue.js +106 -0
- package/dist/components/charts/LineChart.vue.d.ts +20 -0
- package/dist/components/charts/LineChart.vue.d.ts.map +1 -0
- package/dist/components/charts/LineChart.vue.js +116 -0
- package/dist/components/charts/MapChart.vue.d.ts +22 -0
- package/dist/components/charts/MapChart.vue.d.ts.map +1 -0
- package/dist/components/charts/MapChart.vue.js +680 -0
- package/dist/components/charts/PieChart.vue.d.ts +20 -0
- package/dist/components/charts/PieChart.vue.d.ts.map +1 -0
- package/dist/components/charts/PieChart.vue.js +106 -0
- package/dist/components/charts/PieGridChart.vue.d.ts +20 -0
- package/dist/components/charts/PieGridChart.vue.d.ts.map +1 -0
- package/dist/components/charts/PieGridChart.vue.js +214 -0
- package/dist/components/charts/RiskScrollList.vue.d.ts +15 -0
- package/dist/components/charts/RiskScrollList.vue.d.ts.map +1 -0
- package/dist/components/charts/RiskScrollList.vue.js +294 -0
- package/dist/components/charts/ScrollList.vue.d.ts +15 -0
- package/dist/components/charts/ScrollList.vue.d.ts.map +1 -0
- package/dist/components/charts/ScrollList.vue.js +149 -0
- package/dist/components/charts/TextDisplay.vue.d.ts +17 -0
- package/dist/components/charts/TextDisplay.vue.d.ts.map +1 -0
- package/dist/components/charts/TextDisplay.vue.js +209 -0
- package/dist/composables/useChartDataFetch.d.ts +18 -0
- package/dist/composables/useChartDataFetch.d.ts.map +1 -0
- package/dist/composables/useChartDataFetch.js +131 -0
- package/dist/composables/useComponentRender.d.ts +20 -0
- package/dist/composables/useComponentRender.d.ts.map +1 -0
- package/dist/composables/useComponentRender.js +45 -0
- package/dist/composables/useDataPondManager.d.ts +20 -0
- package/dist/composables/useDataPondManager.d.ts.map +1 -0
- package/dist/composables/useDataPondManager.js +105 -0
- package/dist/composables/useECharts.d.ts +9 -0
- package/dist/composables/useECharts.d.ts.map +1 -0
- package/dist/composables/useECharts.js +118 -0
- package/dist/composables/useEventListener.d.ts +2 -0
- package/dist/composables/useEventListener.d.ts.map +1 -0
- package/dist/composables/useEventListener.js +5 -0
- package/dist/composables/useId.d.ts +3 -0
- package/dist/composables/useId.d.ts.map +1 -0
- package/dist/composables/useId.js +6 -0
- package/dist/composables/useInteractClear.d.ts +4 -0
- package/dist/composables/useInteractClear.d.ts.map +1 -0
- package/dist/composables/useInteractClear.js +26 -0
- package/dist/composables/useInteractDispatch.d.ts +5 -0
- package/dist/composables/useInteractDispatch.d.ts.map +1 -0
- package/dist/composables/useInteractDispatch.js +44 -0
- package/dist/composables/useInteractFilter.d.ts +5 -0
- package/dist/composables/useInteractFilter.d.ts.map +1 -0
- package/dist/composables/useInteractFilter.js +24 -0
- package/dist/composables/usePollingManager.d.ts +10 -0
- package/dist/composables/usePollingManager.d.ts.map +1 -0
- package/dist/composables/usePollingManager.js +42 -0
- package/dist/composables/useRequestMerge.d.ts +32 -0
- package/dist/composables/useRequestMerge.d.ts.map +1 -0
- package/dist/composables/useRequestMerge.js +131 -0
- package/dist/config/chartThemes.d.ts +26 -0
- package/dist/config/chartThemes.d.ts.map +1 -0
- package/dist/config/chartThemes.js +221 -0
- package/dist/config/componentDefinitions.d.ts +12 -0
- package/dist/config/componentDefinitions.d.ts.map +1 -0
- package/dist/config/componentDefinitions.js +503 -0
- package/dist/index.cjs +1 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +38 -0
- package/dist/stores/dashboard.d.ts +3240 -0
- package/dist/stores/dashboard.d.ts.map +1 -0
- package/dist/stores/dashboard.js +666 -0
- package/dist/stores/utils.d.ts +15 -0
- package/dist/stores/utils.d.ts.map +1 -0
- package/dist/stores/utils.js +28 -0
- package/dist/types/canvas.d.ts +36 -0
- package/dist/types/canvas.d.ts.map +1 -0
- package/dist/types/canvas.js +1 -0
- package/dist/types/component.d.ts +175 -0
- package/dist/types/component.d.ts.map +1 -0
- package/dist/types/component.js +63 -0
- package/dist/types/events.d.ts +43 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/events.js +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/request.d.ts +43 -0
- package/dist/types/request.d.ts.map +1 -0
- package/dist/types/request.js +18 -0
- package/package.json +33 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
const props = withDefaults(defineProps(), {
|
|
3
|
+
option: () => ({}),
|
|
4
|
+
width: 400,
|
|
5
|
+
height: 300,
|
|
6
|
+
scrollProps: () => ({}),
|
|
7
|
+
});
|
|
8
|
+
const sp = computed(() => props.scrollProps ?? {});
|
|
9
|
+
const scrollSpeed = computed(() => sp.value.scrollSpeed ?? 30);
|
|
10
|
+
const visibleRows = computed(() => sp.value.visibleRows ?? 5);
|
|
11
|
+
const rowHeight = computed(() => sp.value.rowHeight ?? 36);
|
|
12
|
+
const showHeader = computed(() => sp.value.showHeader ?? true);
|
|
13
|
+
const headerBg = computed(() => sp.value.headerBg ?? '#313244');
|
|
14
|
+
const headerColor = computed(() => sp.value.headerColor ?? '#cdd6f4');
|
|
15
|
+
const zebraOdd = computed(() => sp.value.zebraOdd ?? '#1e1e2e');
|
|
16
|
+
const zebraEven = computed(() => sp.value.zebraEven ?? '#181825');
|
|
17
|
+
const fontSize = computed(() => sp.value.fontSize ?? 13);
|
|
18
|
+
const textColor = computed(() => sp.value.textColor ?? '#cdd6f4');
|
|
19
|
+
const highlightColor = computed(() => sp.value.highlightColor ?? '#89b4fa');
|
|
20
|
+
const ds = computed(() => props.option?.dataset ?? { dimensions: [], source: [] });
|
|
21
|
+
const dimensions = computed(() => ds.value.dimensions ?? []);
|
|
22
|
+
const source = computed(() => ds.value.source ?? []);
|
|
23
|
+
const doubledSource = computed(() => [...source.value, ...source.value]);
|
|
24
|
+
const headerHeight = computed(() => showHeader.value ? 32 : 0);
|
|
25
|
+
const totalContentHeight = computed(() => source.value.length * rowHeight.value);
|
|
26
|
+
const viewportHeight = computed(() => visibleRows.value * rowHeight.value);
|
|
27
|
+
const duration = computed(() => totalContentHeight.value / scrollSpeed.value);
|
|
28
|
+
const containerStyle = computed(() => ({
|
|
29
|
+
width: '100%',
|
|
30
|
+
height: '100%',
|
|
31
|
+
overflow: 'hidden',
|
|
32
|
+
fontFamily: "'Inter', 'PingFang SC', sans-serif",
|
|
33
|
+
}));
|
|
34
|
+
const headerStyle = computed(() => ({
|
|
35
|
+
display: 'flex',
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
height: headerHeight.value + 'px',
|
|
38
|
+
background: headerColor.value ? headerBg.value : '#313244',
|
|
39
|
+
borderBottom: '1px solid #45475a',
|
|
40
|
+
flexShrink: '0',
|
|
41
|
+
}));
|
|
42
|
+
const viewportStyle = computed(() => ({
|
|
43
|
+
height: viewportHeight.value + 'px',
|
|
44
|
+
overflow: 'hidden',
|
|
45
|
+
}));
|
|
46
|
+
const contentClass = computed(() => 'scroll-content scroll-animate');
|
|
47
|
+
const contentStyle = computed(() => ({
|
|
48
|
+
'--scroll-duration': duration.value + 's',
|
|
49
|
+
}));
|
|
50
|
+
function rowStyle(ri) {
|
|
51
|
+
const bgColor = ri % 2 === 0 ? zebraOdd.value : zebraEven.value;
|
|
52
|
+
return {
|
|
53
|
+
display: 'flex',
|
|
54
|
+
alignItems: 'center',
|
|
55
|
+
height: rowHeight.value + 'px',
|
|
56
|
+
background: bgColor,
|
|
57
|
+
borderBottom: '1px solid #313244',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function cellStyle(ci) {
|
|
61
|
+
const cols = dimensions.value.length;
|
|
62
|
+
const flexBasis = cols > 0 ? (100 / cols) + '%' : 'auto';
|
|
63
|
+
return {
|
|
64
|
+
flex: '1',
|
|
65
|
+
padding: '0 12px',
|
|
66
|
+
fontSize: fontSize.value + 'px',
|
|
67
|
+
color: textColor.value,
|
|
68
|
+
overflow: 'hidden',
|
|
69
|
+
textOverflow: 'ellipsis',
|
|
70
|
+
whiteSpace: 'nowrap',
|
|
71
|
+
textAlign: (ci === 0 ? 'left' : 'center'),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
const __VLS_defaults = {
|
|
75
|
+
option: () => ({}),
|
|
76
|
+
width: 400,
|
|
77
|
+
height: 300,
|
|
78
|
+
scrollProps: () => ({}),
|
|
79
|
+
};
|
|
80
|
+
const __VLS_ctx = {
|
|
81
|
+
...{},
|
|
82
|
+
...{},
|
|
83
|
+
...{},
|
|
84
|
+
...{},
|
|
85
|
+
};
|
|
86
|
+
let __VLS_components;
|
|
87
|
+
let __VLS_intrinsics;
|
|
88
|
+
let __VLS_directives;
|
|
89
|
+
/** @type {__VLS_StyleScopedClasses['scroll-row']} */ ;
|
|
90
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
91
|
+
...{ class: "scroll-list" },
|
|
92
|
+
...{ style: (__VLS_ctx.containerStyle) },
|
|
93
|
+
});
|
|
94
|
+
/** @type {__VLS_StyleScopedClasses['scroll-list']} */ ;
|
|
95
|
+
if (__VLS_ctx.showHeader && __VLS_ctx.dimensions.length > 0) {
|
|
96
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
97
|
+
...{ class: "scroll-header" },
|
|
98
|
+
...{ style: (__VLS_ctx.headerStyle) },
|
|
99
|
+
});
|
|
100
|
+
/** @type {__VLS_StyleScopedClasses['scroll-header']} */ ;
|
|
101
|
+
for (const [dim, ci] of __VLS_vFor((__VLS_ctx.dimensions))) {
|
|
102
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
103
|
+
key: (ci),
|
|
104
|
+
...{ class: "scroll-cell" },
|
|
105
|
+
...{ style: (__VLS_ctx.cellStyle(+ci)) },
|
|
106
|
+
});
|
|
107
|
+
/** @type {__VLS_StyleScopedClasses['scroll-cell']} */ ;
|
|
108
|
+
(dim);
|
|
109
|
+
// @ts-ignore
|
|
110
|
+
[containerStyle, showHeader, dimensions, dimensions, headerStyle, cellStyle,];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
114
|
+
...{ class: "scroll-viewport" },
|
|
115
|
+
...{ style: (__VLS_ctx.viewportStyle) },
|
|
116
|
+
});
|
|
117
|
+
/** @type {__VLS_StyleScopedClasses['scroll-viewport']} */ ;
|
|
118
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
119
|
+
...{ class: (__VLS_ctx.contentClass) },
|
|
120
|
+
...{ style: (__VLS_ctx.contentStyle) },
|
|
121
|
+
});
|
|
122
|
+
for (const [row, ri] of __VLS_vFor((__VLS_ctx.doubledSource))) {
|
|
123
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
124
|
+
key: (ri),
|
|
125
|
+
...{ class: "scroll-row" },
|
|
126
|
+
...{ style: (__VLS_ctx.rowStyle(+ri)) },
|
|
127
|
+
});
|
|
128
|
+
/** @type {__VLS_StyleScopedClasses['scroll-row']} */ ;
|
|
129
|
+
for (const [cell, ci] of __VLS_vFor((row))) {
|
|
130
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
131
|
+
key: (ci),
|
|
132
|
+
...{ class: "scroll-cell" },
|
|
133
|
+
...{ style: (__VLS_ctx.cellStyle(+ci)) },
|
|
134
|
+
});
|
|
135
|
+
/** @type {__VLS_StyleScopedClasses['scroll-cell']} */ ;
|
|
136
|
+
(cell);
|
|
137
|
+
// @ts-ignore
|
|
138
|
+
[cellStyle, viewportStyle, contentClass, contentStyle, doubledSource, rowStyle,];
|
|
139
|
+
}
|
|
140
|
+
// @ts-ignore
|
|
141
|
+
[];
|
|
142
|
+
}
|
|
143
|
+
// @ts-ignore
|
|
144
|
+
[];
|
|
145
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
146
|
+
__typeProps: {},
|
|
147
|
+
props: {},
|
|
148
|
+
});
|
|
149
|
+
export default {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
componentId?: string;
|
|
3
|
+
option?: Record<string, any>;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
textProps?: Record<string, any>;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
height: number;
|
|
10
|
+
option: Record<string, any>;
|
|
11
|
+
width: number;
|
|
12
|
+
componentId: string;
|
|
13
|
+
textProps: Record<string, any>;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=TextDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/charts/TextDisplay.vue"],"names":[],"mappings":"AA2NA,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAChC,CAAC;AA6OF,QAAA,MAAM,YAAY;YA/OP,MAAM;YAFN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;WACpB,MAAM;iBAFA,MAAM;eAIR,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;6EAiP/B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { ref, computed, watch, toRef } from 'vue';
|
|
2
|
+
import { useInteractFilter } from '../../composables/useInteractFilter';
|
|
3
|
+
const props = withDefaults(defineProps(), {
|
|
4
|
+
componentId: '',
|
|
5
|
+
option: () => ({}),
|
|
6
|
+
width: 400,
|
|
7
|
+
height: 200,
|
|
8
|
+
textProps: () => ({}),
|
|
9
|
+
});
|
|
10
|
+
const componentIdRef = toRef(props, 'componentId');
|
|
11
|
+
const dimensions = computed(() => props.option?.dataset?.dimensions ?? []);
|
|
12
|
+
const source = computed(() => props.option?.dataset?.source ?? []);
|
|
13
|
+
const { filteredSource } = useInteractFilter(componentIdRef, dimensions, source);
|
|
14
|
+
const rawText = ref('文本内容');
|
|
15
|
+
const localBgColor = ref('transparent');
|
|
16
|
+
const localPaddingTop = ref(12);
|
|
17
|
+
const localPaddingRight = ref(12);
|
|
18
|
+
const localPaddingBottom = ref(12);
|
|
19
|
+
const localPaddingLeft = ref(12);
|
|
20
|
+
const localFontSize = ref(32);
|
|
21
|
+
const localFontWeight = ref('bold');
|
|
22
|
+
const localTextAlign = ref('center');
|
|
23
|
+
const localLineHeight = ref(1.5);
|
|
24
|
+
const localLetterSpacing = ref(0);
|
|
25
|
+
const localColorMode = ref('solid');
|
|
26
|
+
const localTextColor = ref('#cdd6f4');
|
|
27
|
+
const localGradientStart = ref('#89b4fa');
|
|
28
|
+
const localGradientEnd = ref('#cba6f7');
|
|
29
|
+
const localGradientDirection = ref('to right');
|
|
30
|
+
const rawSubText = ref('');
|
|
31
|
+
const localSubFontSize = ref(16);
|
|
32
|
+
const localSubFontWeight = ref('normal');
|
|
33
|
+
const localSubTextColor = ref('#a6adc8');
|
|
34
|
+
const localSubTextAlign = ref('center');
|
|
35
|
+
const localSubLineHeight = ref(1.5);
|
|
36
|
+
const localTextDefault = ref('');
|
|
37
|
+
const localSubTextDefault = ref('');
|
|
38
|
+
const localBorderColor = ref('transparent');
|
|
39
|
+
const localBorderWidth = ref(0);
|
|
40
|
+
const localBorderRadius = ref(8);
|
|
41
|
+
const localShadowColor = ref('transparent');
|
|
42
|
+
const localShadowX = ref(0);
|
|
43
|
+
const localShadowY = ref(0);
|
|
44
|
+
const localShadowBlur = ref(0);
|
|
45
|
+
function buildDatasetMap() {
|
|
46
|
+
const ds = props.option?.dataset;
|
|
47
|
+
if (!('source' in ds) && !('dimensions' in ds)) {
|
|
48
|
+
return ds;
|
|
49
|
+
}
|
|
50
|
+
if (!ds?.dimensions || !filteredSource.value.length)
|
|
51
|
+
return {};
|
|
52
|
+
const row = filteredSource.value[0];
|
|
53
|
+
const map = {};
|
|
54
|
+
ds.dimensions.forEach((dim, i) => {
|
|
55
|
+
map[dim] = row[i];
|
|
56
|
+
});
|
|
57
|
+
return map;
|
|
58
|
+
}
|
|
59
|
+
function replacePlaceholders(text, dataMap, defaultValue = '') {
|
|
60
|
+
return text.replace(/\{\{(.+?)\}\}/g, (_, key) => {
|
|
61
|
+
const trimmedKey = key.trim();
|
|
62
|
+
if (trimmedKey in dataMap)
|
|
63
|
+
return String(dataMap[trimmedKey]);
|
|
64
|
+
return defaultValue || `{{${trimmedKey}}}`;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
const displayText = computed(() => {
|
|
68
|
+
const dataMap = buildDatasetMap();
|
|
69
|
+
return replacePlaceholders(rawText.value, dataMap, localTextDefault.value);
|
|
70
|
+
});
|
|
71
|
+
const displaySubText = computed(() => {
|
|
72
|
+
if (!rawSubText.value)
|
|
73
|
+
return '';
|
|
74
|
+
const dataMap = buildDatasetMap();
|
|
75
|
+
return replacePlaceholders(rawSubText.value, dataMap, localSubTextDefault.value);
|
|
76
|
+
});
|
|
77
|
+
function syncFromProps() {
|
|
78
|
+
const tp = props.textProps ?? {};
|
|
79
|
+
rawText.value = tp.text ?? props.option?.title ?? '文本内容';
|
|
80
|
+
localBgColor.value = tp.bgColor ?? 'transparent';
|
|
81
|
+
localPaddingTop.value = tp.paddingTop ?? 12;
|
|
82
|
+
localPaddingRight.value = tp.paddingRight ?? 12;
|
|
83
|
+
localPaddingBottom.value = tp.paddingBottom ?? 12;
|
|
84
|
+
localPaddingLeft.value = tp.paddingLeft ?? 12;
|
|
85
|
+
localFontSize.value = tp.fontSize ?? 32;
|
|
86
|
+
localFontWeight.value = tp.fontWeight ?? 'bold';
|
|
87
|
+
localTextAlign.value = tp.textAlign ?? 'center';
|
|
88
|
+
localLineHeight.value = tp.lineHeight ?? 1.5;
|
|
89
|
+
localLetterSpacing.value = tp.letterSpacing ?? 0;
|
|
90
|
+
localColorMode.value = tp.colorMode ?? 'solid';
|
|
91
|
+
localTextColor.value = tp.textColor ?? '#cdd6f4';
|
|
92
|
+
localGradientStart.value = tp.gradientStart ?? '#89b4fa';
|
|
93
|
+
localGradientEnd.value = tp.gradientEnd ?? '#cba6f7';
|
|
94
|
+
localGradientDirection.value = tp.gradientDirection ?? 'to right';
|
|
95
|
+
rawSubText.value = tp.subText ?? '';
|
|
96
|
+
localSubFontSize.value = tp.subFontSize ?? 16;
|
|
97
|
+
localSubFontWeight.value = tp.subFontWeight ?? 'normal';
|
|
98
|
+
localSubTextColor.value = tp.subTextColor ?? '#a6adc8';
|
|
99
|
+
localSubTextAlign.value = tp.subTextAlign ?? 'center';
|
|
100
|
+
localSubLineHeight.value = tp.subLineHeight ?? 1.5;
|
|
101
|
+
localTextDefault.value = tp.textDefault ?? '';
|
|
102
|
+
localSubTextDefault.value = tp.subTextDefault ?? '';
|
|
103
|
+
localBorderColor.value = tp.borderColor ?? 'transparent';
|
|
104
|
+
localBorderWidth.value = tp.borderWidth ?? 0;
|
|
105
|
+
localBorderRadius.value = tp.borderRadius ?? 8;
|
|
106
|
+
localShadowColor.value = tp.shadowColor ?? 'transparent';
|
|
107
|
+
localShadowX.value = tp.shadowX ?? 0;
|
|
108
|
+
localShadowY.value = tp.shadowY ?? 0;
|
|
109
|
+
localShadowBlur.value = tp.shadowBlur ?? 0;
|
|
110
|
+
}
|
|
111
|
+
watch(() => props.textProps, syncFromProps, { deep: true, immediate: true });
|
|
112
|
+
watch(() => props.option, syncFromProps, { deep: true, immediate: true });
|
|
113
|
+
const containerStyle = ref({});
|
|
114
|
+
const textStyle = ref({});
|
|
115
|
+
const subtitleStyle = ref({});
|
|
116
|
+
function rebuildStyles() {
|
|
117
|
+
containerStyle.value = {
|
|
118
|
+
backgroundColor: localBgColor.value,
|
|
119
|
+
padding: `${localPaddingTop.value}px ${localPaddingRight.value}px ${localPaddingBottom.value}px ${localPaddingLeft.value}px`,
|
|
120
|
+
display: 'flex',
|
|
121
|
+
flexDirection: 'column',
|
|
122
|
+
alignItems: 'center',
|
|
123
|
+
justifyContent: 'center',
|
|
124
|
+
width: '100%',
|
|
125
|
+
height: '100%',
|
|
126
|
+
boxSizing: 'border-box',
|
|
127
|
+
borderRadius: localBorderRadius.value + 'px',
|
|
128
|
+
border: localBorderWidth.value > 0 ? `${localBorderWidth.value}px solid ${localBorderColor.value}` : 'none',
|
|
129
|
+
};
|
|
130
|
+
const isGradient = localColorMode.value === 'gradient';
|
|
131
|
+
const dir = localGradientDirection.value;
|
|
132
|
+
const gradientColors = `linear-gradient(${dir}, ${localGradientStart.value}, ${localGradientEnd.value})`;
|
|
133
|
+
const base = {
|
|
134
|
+
fontSize: `${localFontSize.value}px`,
|
|
135
|
+
fontWeight: localFontWeight.value,
|
|
136
|
+
textAlign: localTextAlign.value,
|
|
137
|
+
lineHeight: localLineHeight.value,
|
|
138
|
+
letterSpacing: `${localLetterSpacing.value}px`,
|
|
139
|
+
width: '100%',
|
|
140
|
+
wordBreak: 'break-word',
|
|
141
|
+
};
|
|
142
|
+
if (isGradient) {
|
|
143
|
+
base.background = gradientColors;
|
|
144
|
+
base.backgroundClip = 'text';
|
|
145
|
+
base.webkitBackgroundClip = 'text';
|
|
146
|
+
base.webkitTextFillColor = 'transparent';
|
|
147
|
+
base.color = 'transparent';
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
base.color = localTextColor.value;
|
|
151
|
+
}
|
|
152
|
+
if (localShadowBlur.value > 0 || localShadowX.value !== 0 || localShadowY.value !== 0) {
|
|
153
|
+
base.textShadow = `${localShadowX.value}px ${localShadowY.value}px ${localShadowBlur.value}px ${localShadowColor.value}`;
|
|
154
|
+
}
|
|
155
|
+
textStyle.value = base;
|
|
156
|
+
subtitleStyle.value = {
|
|
157
|
+
fontSize: `${localSubFontSize.value}px`,
|
|
158
|
+
fontWeight: localSubFontWeight.value,
|
|
159
|
+
textAlign: localSubTextAlign.value,
|
|
160
|
+
lineHeight: localSubLineHeight.value,
|
|
161
|
+
color: localSubTextColor.value,
|
|
162
|
+
marginTop: '8px',
|
|
163
|
+
width: '100%',
|
|
164
|
+
wordBreak: 'break-word',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
watch([rawText, localBgColor, localPaddingTop, localPaddingRight, localPaddingBottom, localPaddingLeft, localFontSize, localFontWeight, localTextAlign, localLineHeight, localLetterSpacing, localColorMode, localTextColor, localGradientStart, localGradientEnd, localGradientDirection, rawSubText, localSubFontSize, localSubFontWeight, localSubTextColor, localSubTextAlign, localSubLineHeight, localTextDefault, localSubTextDefault, localBorderColor, localBorderWidth, localBorderRadius, localShadowColor, localShadowX, localShadowY, localShadowBlur], rebuildStyles, { immediate: true });
|
|
168
|
+
const __VLS_defaults = {
|
|
169
|
+
componentId: '',
|
|
170
|
+
option: () => ({}),
|
|
171
|
+
width: 400,
|
|
172
|
+
height: 200,
|
|
173
|
+
textProps: () => ({}),
|
|
174
|
+
};
|
|
175
|
+
const __VLS_ctx = {
|
|
176
|
+
...{},
|
|
177
|
+
...{},
|
|
178
|
+
...{},
|
|
179
|
+
...{},
|
|
180
|
+
};
|
|
181
|
+
let __VLS_components;
|
|
182
|
+
let __VLS_intrinsics;
|
|
183
|
+
let __VLS_directives;
|
|
184
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
185
|
+
...{ class: "text-display" },
|
|
186
|
+
...{ style: (__VLS_ctx.containerStyle) },
|
|
187
|
+
});
|
|
188
|
+
/** @type {__VLS_StyleScopedClasses['text-display']} */ ;
|
|
189
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
190
|
+
...{ class: "text-content" },
|
|
191
|
+
...{ style: (__VLS_ctx.textStyle) },
|
|
192
|
+
});
|
|
193
|
+
/** @type {__VLS_StyleScopedClasses['text-content']} */ ;
|
|
194
|
+
(__VLS_ctx.displayText);
|
|
195
|
+
if (__VLS_ctx.displaySubText) {
|
|
196
|
+
__VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
197
|
+
...{ class: "text-subtitle" },
|
|
198
|
+
...{ style: (__VLS_ctx.subtitleStyle) },
|
|
199
|
+
});
|
|
200
|
+
/** @type {__VLS_StyleScopedClasses['text-subtitle']} */ ;
|
|
201
|
+
(__VLS_ctx.displayText.trim() && __VLS_ctx.displaySubText);
|
|
202
|
+
}
|
|
203
|
+
// @ts-ignore
|
|
204
|
+
[containerStyle, textStyle, displayText, displayText, displaySubText, displaySubText, subtitleStyle,];
|
|
205
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
206
|
+
__typeProps: {},
|
|
207
|
+
props: {},
|
|
208
|
+
});
|
|
209
|
+
export default {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { RequestConfigType, RequestGlobalConfigType } from '../types';
|
|
3
|
+
export interface UseChartDataFetchOptions {
|
|
4
|
+
componentKey: Ref<string>;
|
|
5
|
+
request: Ref<RequestConfigType | undefined>;
|
|
6
|
+
globalConfig: Ref<RequestGlobalConfigType>;
|
|
7
|
+
filter: Ref<string | undefined>;
|
|
8
|
+
onDataSet: (data: any) => void;
|
|
9
|
+
httpClient?: (config: any) => Promise<any>;
|
|
10
|
+
interactOverrides?: Ref<Record<string, any> | undefined>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useChartDataFetch(options: UseChartDataFetchOptions): {
|
|
13
|
+
loading: Ref<boolean, boolean>;
|
|
14
|
+
error: Ref<Error | null, Error | null>;
|
|
15
|
+
lastResponse: Ref<any, any>;
|
|
16
|
+
refresh: () => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=useChartDataFetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartDataFetch.d.ts","sourceRoot":"","sources":["../../src/composables/useChartDataFetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAS1E,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACzB,OAAO,EAAE,GAAG,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAA;IAC3C,YAAY,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAA;IAC1C,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC/B,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;IAC9B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;IAC1C,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,CAAA;CACzD;AAaD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB;;;;;EAgJlE"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ref, onMounted, onUnmounted, watch } from 'vue';
|
|
2
|
+
import { mergeRequestConfig, executeFilter } from './useRequestMerge';
|
|
3
|
+
import { startPolling, stopPolling } from './usePollingManager';
|
|
4
|
+
import { initPond, subscribePond, unsubscribePond, } from './useDataPondManager';
|
|
5
|
+
function defaultHttpClient(config) {
|
|
6
|
+
return fetch(config.url, {
|
|
7
|
+
method: config.method?.toUpperCase() ?? 'GET',
|
|
8
|
+
headers: {
|
|
9
|
+
'Content-Type': 'application/json',
|
|
10
|
+
...config.headers,
|
|
11
|
+
},
|
|
12
|
+
body: config.data ? JSON.stringify(config.data) : undefined,
|
|
13
|
+
}).then((res) => res.json());
|
|
14
|
+
}
|
|
15
|
+
export function useChartDataFetch(options) {
|
|
16
|
+
const { componentKey, request, globalConfig, filter, onDataSet, httpClient = defaultHttpClient, } = options;
|
|
17
|
+
const loading = ref(false);
|
|
18
|
+
const error = ref(null);
|
|
19
|
+
const lastResponse = ref(null);
|
|
20
|
+
let pollingKey = '';
|
|
21
|
+
async function fetchData() {
|
|
22
|
+
if (!request.value)
|
|
23
|
+
return;
|
|
24
|
+
const config = request.value;
|
|
25
|
+
if (config.requestDataType === 0) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (config.requestDataType === 2) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
loading.value = true;
|
|
32
|
+
error.value = null;
|
|
33
|
+
try {
|
|
34
|
+
const merged = mergeRequestConfig(config, globalConfig.value, options.interactOverrides?.value);
|
|
35
|
+
if (!merged) {
|
|
36
|
+
loading.value = false;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const response = await httpClient({
|
|
40
|
+
url: merged.url,
|
|
41
|
+
method: merged.method,
|
|
42
|
+
headers: merged.headers,
|
|
43
|
+
params: merged.params,
|
|
44
|
+
data: merged.body,
|
|
45
|
+
});
|
|
46
|
+
const responseData = response?.data ?? response;
|
|
47
|
+
lastResponse.value = response;
|
|
48
|
+
const filteredData = executeFilter(responseData, response, filter.value ?? null);
|
|
49
|
+
onDataSet(filteredData);
|
|
50
|
+
}
|
|
51
|
+
catch (err) {
|
|
52
|
+
error.value = err;
|
|
53
|
+
console.error(`[ChartDataFetch] Request failed for "${componentKey.value}":`, err);
|
|
54
|
+
}
|
|
55
|
+
finally {
|
|
56
|
+
loading.value = false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function startPollingIfNeeded() {
|
|
60
|
+
if (!request.value || request.value.requestDataType !== 1)
|
|
61
|
+
return;
|
|
62
|
+
if (!request.value.requestInterval)
|
|
63
|
+
return;
|
|
64
|
+
pollingKey = `chart-${componentKey.value}`;
|
|
65
|
+
const interval = request.value.requestInterval;
|
|
66
|
+
const unit = request.value.requestIntervalUnit ?? 'second';
|
|
67
|
+
startPolling(pollingKey, fetchData, interval, unit);
|
|
68
|
+
}
|
|
69
|
+
function stopPollingIfNeeded() {
|
|
70
|
+
if (pollingKey) {
|
|
71
|
+
stopPolling(pollingKey);
|
|
72
|
+
pollingKey = '';
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function initPondMode() {
|
|
76
|
+
if (!request.value || request.value.requestDataType !== 2)
|
|
77
|
+
return;
|
|
78
|
+
if (!request.value.requestDataPondId)
|
|
79
|
+
return;
|
|
80
|
+
const pondId = request.value.requestDataPondId;
|
|
81
|
+
initPond({ dataPondId: pondId, dataPondName: '', dataPondRequestConfig: request.value });
|
|
82
|
+
subscribePond(pondId, componentKey.value, (data) => {
|
|
83
|
+
const filteredData = executeFilter(data, data, filter.value ?? null);
|
|
84
|
+
onDataSet(filteredData);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function cleanupPondMode() {
|
|
88
|
+
if (!request.value || request.value.requestDataType !== 2)
|
|
89
|
+
return;
|
|
90
|
+
if (!request.value.requestDataPondId)
|
|
91
|
+
return;
|
|
92
|
+
unsubscribePond(request.value.requestDataPondId, componentKey.value);
|
|
93
|
+
}
|
|
94
|
+
function handleConfigChange() {
|
|
95
|
+
stopPollingIfNeeded();
|
|
96
|
+
cleanupPondMode();
|
|
97
|
+
if (!request.value)
|
|
98
|
+
return;
|
|
99
|
+
if (request.value.requestDataType === 0) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (request.value.requestDataType === 1) {
|
|
103
|
+
fetchData();
|
|
104
|
+
startPollingIfNeeded();
|
|
105
|
+
}
|
|
106
|
+
else if (request.value.requestDataType === 2) {
|
|
107
|
+
initPondMode();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
onMounted(() => {
|
|
111
|
+
handleConfigChange();
|
|
112
|
+
});
|
|
113
|
+
onUnmounted(() => {
|
|
114
|
+
stopPollingIfNeeded();
|
|
115
|
+
cleanupPondMode();
|
|
116
|
+
});
|
|
117
|
+
watch(request, handleConfigChange, { deep: true });
|
|
118
|
+
watch(globalConfig, handleConfigChange, { deep: true });
|
|
119
|
+
watch(filter, () => {
|
|
120
|
+
if (lastResponse.value && request.value?.requestDataType === 1) {
|
|
121
|
+
const filteredData = executeFilter(lastResponse.value?.data ?? lastResponse.value, lastResponse.value, filter.value ?? null);
|
|
122
|
+
onDataSet(filteredData);
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
return {
|
|
126
|
+
loading,
|
|
127
|
+
error,
|
|
128
|
+
lastResponse,
|
|
129
|
+
refresh: fetchData,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { CreateComponentType } from '../types';
|
|
3
|
+
export declare const componentMap: Record<string, Component>;
|
|
4
|
+
export declare function getComponentProps(comp: CreateComponentType): {
|
|
5
|
+
componentId: string;
|
|
6
|
+
option: Record<string, any>;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
chartStyle: import("..").ChartStyleConfig | undefined;
|
|
10
|
+
bgColor: any;
|
|
11
|
+
scrollProps: any;
|
|
12
|
+
textProps: any;
|
|
13
|
+
bgProps: any;
|
|
14
|
+
imageProps: any;
|
|
15
|
+
lineProps: any;
|
|
16
|
+
riskProps: any;
|
|
17
|
+
datetimeProps: any;
|
|
18
|
+
geoKey: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=useComponentRender.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useComponentRender.d.ts","sourceRoot":"","sources":["../../src/composables/useComponentRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAcnD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAalD,CAAA;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB;;;;;;;;;;;;;;;EAkB1D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import BarChart from '../components/charts/BarChart.vue';
|
|
2
|
+
import LineChart from '../components/charts/LineChart.vue';
|
|
3
|
+
import PieChart from '../components/charts/PieChart.vue';
|
|
4
|
+
import PieGridChart from '../components/charts/PieGridChart.vue';
|
|
5
|
+
import MapChart from '../components/charts/MapChart.vue';
|
|
6
|
+
import ScrollList from '../components/charts/ScrollList.vue';
|
|
7
|
+
import RiskScrollList from '../components/charts/RiskScrollList.vue';
|
|
8
|
+
import TextDisplay from '../components/charts/TextDisplay.vue';
|
|
9
|
+
import ImageDisplay from '../components/charts/ImageDisplay.vue';
|
|
10
|
+
import HeaderLineChart from '../components/charts/HeaderLineChart.vue';
|
|
11
|
+
import DateTimeDisplay from '../components/charts/DateTimeDisplay.vue';
|
|
12
|
+
import BackgroundCard from '../components/charts/BackgroundCard.vue';
|
|
13
|
+
export const componentMap = {
|
|
14
|
+
BarCommon: BarChart,
|
|
15
|
+
LineCommon: LineChart,
|
|
16
|
+
PieCommon: PieChart,
|
|
17
|
+
PieGrid: PieGridChart,
|
|
18
|
+
HeilongjiangMap: MapChart,
|
|
19
|
+
ScrollList: ScrollList,
|
|
20
|
+
RiskScrollList: RiskScrollList,
|
|
21
|
+
TextDisplay: TextDisplay,
|
|
22
|
+
ImageDisplay: ImageDisplay,
|
|
23
|
+
HeaderLine: HeaderLineChart,
|
|
24
|
+
DateTimeDisplay: DateTimeDisplay,
|
|
25
|
+
BackgroundCard: BackgroundCard,
|
|
26
|
+
};
|
|
27
|
+
export function getComponentProps(comp) {
|
|
28
|
+
const props = comp.props ?? {};
|
|
29
|
+
return {
|
|
30
|
+
componentId: comp.id,
|
|
31
|
+
option: comp.option,
|
|
32
|
+
width: comp.attr.w,
|
|
33
|
+
height: comp.attr.h,
|
|
34
|
+
chartStyle: comp.chartStyle,
|
|
35
|
+
bgColor: props.bgColor,
|
|
36
|
+
scrollProps: props,
|
|
37
|
+
textProps: props,
|
|
38
|
+
bgProps: props,
|
|
39
|
+
imageProps: props,
|
|
40
|
+
lineProps: props,
|
|
41
|
+
riskProps: props,
|
|
42
|
+
datetimeProps: props,
|
|
43
|
+
geoKey: 'heilongjiang',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DataPondItem, RequestGlobalConfigType } from '../types';
|
|
2
|
+
interface PondState {
|
|
3
|
+
config: DataPondItem;
|
|
4
|
+
subscribers: Set<string>;
|
|
5
|
+
lastResponse: any;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
|
+
}
|
|
9
|
+
type PondEventHandler = (data: any) => void;
|
|
10
|
+
export declare function subscribePond(pondId: string, componentKey: string, handler: PondEventHandler): void;
|
|
11
|
+
export declare function unsubscribePond(pondId: string, componentKey: string): void;
|
|
12
|
+
export declare function initPond(pond: DataPondItem): void;
|
|
13
|
+
export declare function removePond(pondId: string): void;
|
|
14
|
+
export declare function dispatchPondData(pondId: string, data: any): void;
|
|
15
|
+
export declare function fetchPondData(pondId: string, globalConfig: RequestGlobalConfigType, httpClient: (config: any) => Promise<any>): Promise<any>;
|
|
16
|
+
export declare function getPondState(pondId: string): PondState | undefined;
|
|
17
|
+
export declare function hasPond(pondId: string): boolean;
|
|
18
|
+
export declare function getSubscriberCount(pondId: string): number;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useDataPondManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDataPondManager.d.ts","sourceRoot":"","sources":["../../src/composables/useDataPondManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAGrE,UAAU,SAAS;IACjB,MAAM,EAAE,YAAY,CAAA;IACpB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,EAAE,GAAG,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CACpB;AAID,KAAK,gBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;AAI3C,wBAAgB,aAAa,CAC3B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,gBAAgB,GACxB,IAAI,CAcN;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAa1E;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAUjD;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAG/C;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI,CAkBhE;AAED,wBAAsB,aAAa,CACjC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,uBAAuB,EACrC,UAAU,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GACxC,OAAO,CAAC,GAAG,CAAC,CAiCd;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAElE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzD"}
|