super-page-runtime 2.0.10 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/es/_virtual/AttributeMap.js +4 -0
  2. package/dist/es/_virtual/Delta.js +4 -0
  3. package/dist/es/_virtual/Op.js +4 -0
  4. package/dist/es/_virtual/OpIterator.js +4 -0
  5. package/dist/es/_virtual/__vite-browser-external.js +4 -0
  6. package/dist/es/_virtual/_commonjsHelpers.js +8 -0
  7. package/dist/es/_virtual/_plugin-vue_export-helper.js +10 -0
  8. package/dist/es/_virtual/dayjs.min.js +4 -0
  9. package/dist/es/_virtual/index.js +4 -0
  10. package/dist/es/_virtual/index2.js +4 -0
  11. package/dist/es/_virtual/index3.js +4 -0
  12. package/dist/es/components/runtime/index.d.ts +3 -3
  13. package/dist/es/components/runtime/utils/api/api-util.js +3 -3
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +1 -14
  15. package/dist/es/components/runtime/utils/common-util.d.ts +0 -5
  16. package/dist/es/components/runtime/utils/common-util.js +2 -15
  17. package/dist/es/components/runtime/utils/eventBus.js +1 -1
  18. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  19. package/dist/es/components/runtime/utils/events/standard-event.js +7 -6
  20. package/dist/es/components/runtime/utils/events/validator-util.js +4 -4
  21. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
  22. package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -19
  23. package/dist/es/components/runtime/utils/page-helper-util.js +3 -122
  24. package/dist/es/components/runtime/utils/page-init-util.js +2 -2
  25. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  27. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
  28. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +25 -392
  29. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +15 -12
  30. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +17 -13
  31. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +17 -13
  32. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +19 -14
  33. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
  34. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +5 -5
  37. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -4
  39. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -3
  40. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +5 -5
  41. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +4 -2
  43. package/dist/es/components/runtime/views/super-page-dialog.vue.js +4 -5
  44. package/dist/es/components/runtime/views/super-page.vue.js +7 -20
  45. package/dist/es/index.d.ts +2 -7
  46. package/dist/es/index.js +2 -11
  47. package/dist/lib/components/runtime/index.d.ts +3 -3
  48. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -13
  49. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -5
  50. package/dist/lib/components/runtime/utils/common-util.js +0 -13
  51. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
  52. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -19
  53. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -119
  54. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +3 -376
  55. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +4 -4
  56. package/dist/lib/components/runtime/views/super-page.vue.js +0 -14
  57. package/dist/lib/index.d.ts +2 -7
  58. package/dist/lib/index.js +2 -11
  59. package/package.json +69 -70
  60. package/dist/es/assets/chart-themes/theme1.d.ts +0 -4
  61. package/dist/es/assets/chart-themes/theme2.d.ts +0 -4
  62. package/dist/es/assets/chart-themes/theme3.d.ts +0 -4
  63. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -11
  64. package/dist/es/components/runtime/utils/page-permission-util.d.ts +0 -26
  65. package/dist/es/components/runtime/utils/page-permission-util.js +0 -525
  66. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -44
  67. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  68. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -62
  69. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  70. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -127
  71. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  72. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  73. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  74. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  75. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  76. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  77. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  78. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  79. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  80. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  81. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  82. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  83. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
@@ -1,401 +1,43 @@
1
- import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
1
+ import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
2
2
  import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
3
- import { deepCopy } from "../../../../utils/common-util.js";
4
- import { getChartDatasFromPage, updateChartDatasources, getValueFromSource, formatVariableValue } from "../../../../utils/page-helper-util.js";
5
- import _sfc_main$1 from "../common/common-chart-header.vue.js";
6
- import { use } from "echarts/core";
7
- import { CanvasRenderer } from "echarts/renderers";
8
- import { LineChart, BarChart } from "echarts/charts";
9
- import { GridComponent, LegendComponent, TitleComponent, TooltipComponent, ToolboxComponent, DataZoomComponent } from "echarts/components";
10
- import VChart from "vue-echarts";
3
+ import B from "../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js";
4
+ import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
5
+ import { install } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js";
6
+ import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/line/install.js";
7
+ import { install as install$2 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js";
8
+ import { install as install$3 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js";
9
+ import { install as install$4 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js";
10
+ import { install as install$5 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js";
11
+ import { install as install$6 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/bar/install.js";
12
+ import { install as install$7 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js";
13
+ import { install as install$8 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/dataZoom/install.js";
11
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
15
  __name: "column-line-runtime",
13
16
  props: {
14
17
  pageContext: {},
15
18
  configure: {}
16
19
  },
17
- setup(__props, { expose: __expose }) {
20
+ setup(__props) {
18
21
  use([
19
- CanvasRenderer,
20
- LineChart,
21
- GridComponent,
22
- LegendComponent,
23
- TitleComponent,
24
- TooltipComponent,
25
- BarChart,
26
- ToolboxComponent,
27
- DataZoomComponent
22
+ install,
23
+ install$1,
24
+ install$2,
25
+ install$3,
26
+ install$4,
27
+ install$5,
28
+ install$6,
29
+ install$7,
30
+ install$8
28
31
  ]);
29
32
  const props = __props;
30
33
  const thisRef = ref(null);
31
- const chartRef = ref(null);
32
- const headerRef = ref(null);
33
- const enableDrill = props.configure.props ? props.configure.props.enableDrill : null;
34
34
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
35
35
  const runtimeStyle = runtimeInfo.style;
36
36
  const runtimeClass = runtimeInfo.class;
37
- const dataConfig = runtimeInfo.dataConfig;
38
- const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
39
- let cacheDatas = null;
40
37
  const chartOption = runtimeInfo.chartOption;
41
- const defaultSeries = chartOption.series;
42
- if (defaultSeries && defaultSeries.length > 0) {
43
- for (let s of defaultSeries) {
44
- s.data = [];
45
- }
46
- }
47
- const defaultXaxis = chartOption.xAxis;
48
- if (defaultXaxis && defaultXaxis.length > 0 && defaultXaxis[0].data) {
49
- defaultXaxis[0].data = [];
50
- }
51
- const defaultYaxis = chartOption.yAxis;
52
- if (defaultYaxis) {
53
- for (let yAxis of defaultYaxis) {
54
- if (yAxis.data) {
55
- yAxis.data = [];
56
- }
57
- }
58
- }
59
- console.log("chartOption", chartOption);
38
+ console.log("chartOption-runtime", chartOption);
60
39
  const configureProps = props.configure.props ? props.configure.props : {};
61
40
  const customTheme = getCustomTheme(configureProps.customTheme);
62
- function updateChartDatas(resultData) {
63
- if (!resultData) {
64
- resultData = [];
65
- }
66
- resultData = resultData.length > 0 ? resultData[0] : {};
67
- if (!resultData) {
68
- resultData = {};
69
- }
70
- if (resultData.hasRender) {
71
- resultData.hasRender = true;
72
- console.log("重复更新!", resultData);
73
- return;
74
- }
75
- resultData.hasRender = true;
76
- updateChartOption(resultData);
77
- }
78
- onMounted(() => {
79
- const resultData = getChartDatasFromPage(props.pageContext, props.configure);
80
- if (resultData) {
81
- updateChartDatas(resultData);
82
- }
83
- if (enableDrill && chartRef.value) {
84
- chartRef.value.chart.on("click", function(params) {
85
- if (headerRef.value && headerRef.value.drill) {
86
- headerRef.value.drill(params, cacheDatas);
87
- }
88
- });
89
- }
90
- });
91
- function onDrillEnd(params) {
92
- }
93
- let hisGroupValue = headerInfo.groupValue;
94
- watch(headerInfo, () => {
95
- if (hisGroupValue == headerInfo.groupValue) {
96
- return;
97
- }
98
- hisGroupValue = headerInfo.groupValue;
99
- refresh();
100
- });
101
- function refresh() {
102
- if (!dataConfig) {
103
- console.log("无数据源配置,不需要查询!");
104
- return;
105
- }
106
- dataConfig.services[0].groupValue = headerInfo.groupValue;
107
- updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
108
- }
109
- function updateChartOption(resultData) {
110
- if (!resultData || !resultData.result) {
111
- return;
112
- }
113
- const result = resultData && resultData.result ? resultData.result : {};
114
- const groupValue = resultData && resultData.groupValue ? resultData.groupValue : [];
115
- const dataSetField = props.configure.serviceDataField;
116
- let datas = null;
117
- if (dataSetField) {
118
- datas = result[dataSetField];
119
- } else {
120
- if (result) {
121
- if (Array.isArray(result)) {
122
- datas = result;
123
- } else {
124
- datas = [result];
125
- }
126
- }
127
- }
128
- if (!datas) {
129
- datas = [];
130
- }
131
- let confGroups = props.configure.props ? props.configure.props.groups : null;
132
- if (!confGroups) {
133
- confGroups = [];
134
- }
135
- const groupMap = {};
136
- const groupFields = [];
137
- for (let g of confGroups) {
138
- groupMap[g.group] = g.target;
139
- if (g.target && !groupFields.includes(g.target)) {
140
- groupFields.push(g.target);
141
- }
142
- }
143
- let mulGroupShow = props.configure.props ? props.configure.props.mulGroupShow : "";
144
- mulGroupShow = mulGroupShow == "break" ? "<br/>" : " ";
145
- const xFieldName = "__x";
146
- for (let d of datas) {
147
- if (!d) {
148
- continue;
149
- }
150
- const xValues2 = [];
151
- for (let g of groupValue) {
152
- const fieldName = groupMap[g];
153
- const value = getValueFromSource(d, fieldName, void 0);
154
- if (value) {
155
- xValues2.push(value);
156
- }
157
- }
158
- const xValue = xValues2.join(mulGroupShow);
159
- d[xFieldName] = xValue;
160
- }
161
- const itemConfs = props.configure.items ? props.configure.items : [];
162
- const serieValues = [];
163
- const serieValueMap = {};
164
- const dynamicFileds = [];
165
- const dynamicValueField = {};
166
- const allValueFields = [];
167
- for (let item of itemConfs) {
168
- const itemProps = item.props ? item.props : {};
169
- const sourceType = itemProps.yaxisSource;
170
- const yaxisField = itemProps.yaxisField;
171
- let serieValue = null;
172
- if (yaxisField && (!sourceType || sourceType == "variable")) {
173
- serieValue = {
174
- uuid: item.uuid,
175
- type: "variable",
176
- field: yaxisField,
177
- data: [],
178
- dynamicDatas: []
179
- //动态系列数据
180
- };
181
- if (yaxisField && !allValueFields.includes(yaxisField)) {
182
- allValueFields.push(yaxisField);
183
- }
184
- } else {
185
- serieValue = {
186
- uuid: item.uuid,
187
- type: "fixed",
188
- field: itemProps.yaxisFix,
189
- data: [],
190
- dynamicDatas: []
191
- //动态系列数据
192
- };
193
- }
194
- if (serieValue != null) {
195
- serieValues.push(serieValue);
196
- serieValueMap[item.uuid] = serieValue;
197
- }
198
- if (itemProps.dynamicSeriesField && // !groupFields.includes(itemProps.dynamicSeriesField) &&
199
- !dynamicFileds.includes(itemProps.dynamicSeriesField) && serieValue && yaxisField) {
200
- serieValue.dynamicField = itemProps.dynamicSeriesField;
201
- serieValue.dynamicSeriesTitle = itemProps.dynamicSeriesTitle;
202
- serieValue.dynamicShowStack = itemProps.dynamicShowStack;
203
- dynamicFileds.push(itemProps.dynamicSeriesField);
204
- dynamicValueField[itemProps.dynamicSeriesField] = yaxisField;
205
- }
206
- }
207
- const dynamicLabelMap = {};
208
- if (dynamicFileds.length > 0) {
209
- const newDatas = [];
210
- const dataMap = {};
211
- for (let d of datas) {
212
- if (!d) {
213
- continue;
214
- }
215
- for (let valueField of allValueFields) {
216
- const groupValue2 = d[xFieldName];
217
- let newData = dataMap[groupValue2];
218
- if (!newData) {
219
- newData = {};
220
- for (let gField of groupFields) {
221
- newData[gField] = d[gField];
222
- }
223
- newData[xFieldName] = d[xFieldName];
224
- dataMap[groupValue2] = newData;
225
- newDatas.push(newData);
226
- }
227
- let newValue = getValueFromSource(d, valueField, void 0);
228
- if (!isNaN(newValue)) {
229
- const hisValue = newData[valueField];
230
- if (!isNaN) {
231
- newValue += hisValue;
232
- }
233
- newData[valueField] = newValue;
234
- }
235
- }
236
- }
237
- for (let dynamicField of dynamicFileds) {
238
- const dynamicLabels = [];
239
- for (let d of datas) {
240
- if (!d) {
241
- continue;
242
- }
243
- const groupValue2 = d[xFieldName];
244
- let newData = dataMap[groupValue2];
245
- if (!newData) {
246
- continue;
247
- }
248
- let dynamicLabel = getValueFromSource(d, dynamicField, void 0);
249
- dynamicLabel = dynamicLabel == null || dynamicLabel == void 0 ? "" : dynamicLabel;
250
- if (!dynamicLabels.includes(dynamicLabel)) {
251
- dynamicLabels.push(dynamicLabel);
252
- }
253
- const valueField = dynamicValueField[dynamicField];
254
- let newValue = getValueFromSource(d, valueField, void 0);
255
- if (!isNaN(newValue)) {
256
- const hisValue = newData[dynamicLabel];
257
- if (!isNaN) {
258
- newValue += hisValue;
259
- }
260
- newData[dynamicLabel] = newValue;
261
- }
262
- }
263
- dynamicLabelMap[dynamicField] = dynamicLabels;
264
- }
265
- datas = newDatas;
266
- }
267
- sortDatas(datas);
268
- const xValues = [];
269
- for (let data of datas) {
270
- if (!data) {
271
- continue;
272
- }
273
- xValues.push(data[xFieldName]);
274
- for (let item of serieValues) {
275
- let serieData = item.data;
276
- const dynamicDatas = item.dynamicDatas;
277
- if (item.dynamicField) {
278
- let dynamicLabels = dynamicLabelMap[item.dynamicField];
279
- dynamicLabels = dynamicLabels ? dynamicLabels : [];
280
- for (let i = 0; i < dynamicLabels.length; i++) {
281
- if (i >= dynamicDatas.length) {
282
- dynamicDatas.push([]);
283
- }
284
- serieData = dynamicDatas[i];
285
- const fieldName = dynamicLabels[i];
286
- const value = getValueFromSource(data, fieldName, void 0);
287
- serieData.push(value);
288
- }
289
- } else if (item.type == "fixed") {
290
- serieData.push(item.field);
291
- } else if (item.type == "variable") {
292
- const value = getValueFromSource(data, item.field, void 0);
293
- serieData.push(value);
294
- } else {
295
- serieData.push(void 0);
296
- }
297
- }
298
- }
299
- const tempSeries = deepCopy(defaultSeries == null ? [] : defaultSeries);
300
- const newSeries = [];
301
- for (let serie of tempSeries) {
302
- const serieValue = serieValueMap[serie.uuid];
303
- if (serieValue.dynamicField) {
304
- let dynamicLabels = dynamicLabelMap[serieValue.dynamicField];
305
- dynamicLabels = dynamicLabels ? dynamicLabels : [];
306
- const dynamicDatas = serieValue.dynamicDatas ? serieValue.dynamicDatas : [];
307
- for (let i = 0; i < dynamicLabels.length; i++) {
308
- let label = dynamicLabels[i];
309
- const newSerie = deepCopy(serie);
310
- if (serieValue.dynamicSeriesTitle) {
311
- const dynamicSeriesTitle = serieValue.dynamicSeriesTitle.replace("${name}", label);
312
- newSerie.name = formatVariableValue(props.pageContext, dynamicSeriesTitle);
313
- } else {
314
- newSerie.name = label;
315
- }
316
- newSerie.data = i < dynamicDatas.length ? dynamicDatas[i] : [];
317
- if (serie.type == "bar" && serieValue.dynamicShowStack) {
318
- newSerie.stack = serie.uuid;
319
- }
320
- newSeries.push(newSerie);
321
- }
322
- } else {
323
- serie.data = serieValue ? serieValue.data : [];
324
- newSeries.push(serie);
325
- }
326
- }
327
- chartOption.series = newSeries;
328
- if (chartOption.isBar) {
329
- if (defaultYaxis) {
330
- for (let tempYaxis of defaultYaxis) {
331
- tempYaxis.data = xValues;
332
- }
333
- }
334
- chartOption.xAxis = defaultXaxis;
335
- chartOption.yAxis = defaultYaxis;
336
- } else {
337
- if (defaultXaxis && defaultXaxis.length > 0) {
338
- defaultXaxis[0].data = xValues;
339
- }
340
- chartOption.xAxis = defaultXaxis;
341
- chartOption.yAxis = defaultYaxis;
342
- }
343
- cacheDatas = datas;
344
- console.log("chartOption", chartOption);
345
- }
346
- function sortDatas(datas) {
347
- const itemConfs = props.configure.items ? props.configure.items : [];
348
- let orderByTarget = props.configure.props ? props.configure.props.orderByTarget : "";
349
- let orderField = null;
350
- if (orderByTarget == "x" || orderByTarget == "X") {
351
- orderField = "__x";
352
- } else if (orderByTarget) {
353
- for (let item of itemConfs) {
354
- if (item.uuid == orderByTarget) {
355
- const itemProps = item.props ? item.props : {};
356
- const sourceType = itemProps.yaxisSource;
357
- const yaxisField = itemProps.yaxisField;
358
- if (yaxisField && (!sourceType || sourceType == "variable")) {
359
- orderField = yaxisField;
360
- break;
361
- }
362
- }
363
- }
364
- }
365
- if (!orderField) {
366
- return;
367
- }
368
- let orderSource = props.configure.props ? props.configure.props.orderSource : "";
369
- let orderValue = props.configure.props ? props.configure.props.orderFix : "";
370
- if (orderSource == "variable") {
371
- let orderVariable = props.configure.props ? props.configure.props.orderVariable : "";
372
- orderValue = formatVariableValue(props.pageContext, orderVariable);
373
- }
374
- orderValue = orderValue == "desc" || orderValue == "DESC" ? "desc" : "asc";
375
- let maxLen = datas.length;
376
- for (let i = 0; i < maxLen - 1; i++) {
377
- let vali = getValueFromSource(datas[i], orderField, void 0);
378
- for (let j = i + 1; j < maxLen; j++) {
379
- let valj = getValueFromSource(datas[j], orderField, void 0);
380
- let isSwap = false;
381
- if ("desc" == orderValue) {
382
- if (vali < valj) {
383
- isSwap = true;
384
- }
385
- } else {
386
- if (vali > valj) {
387
- isSwap = true;
388
- }
389
- }
390
- if (isSwap) {
391
- [datas[i], datas[j]] = [datas[j], datas[i]];
392
- }
393
- }
394
- }
395
- }
396
- __expose({
397
- updateChartDatas
398
- });
399
41
  return (_ctx, _cache) => {
400
42
  return openBlock(), createElementBlock("div", {
401
43
  style: normalizeStyle(unref(runtimeStyle)),
@@ -403,17 +45,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
403
45
  ref_key: "thisRef",
404
46
  ref: thisRef
405
47
  }, [
406
- withDirectives(createVNode(_sfc_main$1, {
407
- ref_key: "headerRef",
408
- ref: headerRef,
409
- headerInfo: unref(headerInfo),
410
- onDrillEnd
411
- }, null, 8, ["headerInfo"]), [
412
- [vShow, unref(headerInfo).showHeader]
413
- ]),
414
- createVNode(unref(VChart), {
415
- ref_key: "chartRef",
416
- ref: chartRef,
48
+ createVNode(unref(B), {
49
+ ref: "chartRef",
417
50
  theme: unref(customTheme),
418
51
  option: unref(chartOption),
419
52
  autoresize: ""
@@ -1,10 +1,13 @@
1
1
  import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
2
2
  import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
3
- import { use } from "echarts/core";
4
- import { CanvasRenderer } from "echarts/renderers";
5
- import { GaugeChart } from "echarts/charts";
6
- import { GridComponent, TitleComponent, TooltipComponent, ToolboxComponent } from "echarts/components";
7
- import VChart from "vue-echarts";
3
+ import B from "../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js";
4
+ import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/gauge/install.js";
5
+ import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
6
+ import { install } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js";
7
+ import { install as install$2 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js";
8
+ import { install as install$3 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js";
9
+ import { install as install$4 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js";
10
+ import { install as install$5 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js";
8
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
12
  __name: "gauge-runtime",
10
13
  props: {
@@ -13,12 +16,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
16
  },
14
17
  setup(__props) {
15
18
  use([
16
- CanvasRenderer,
17
- GaugeChart,
18
- GridComponent,
19
- TitleComponent,
20
- TooltipComponent,
21
- ToolboxComponent
19
+ install,
20
+ install$1,
21
+ install$2,
22
+ install$3,
23
+ install$4,
24
+ install$5
22
25
  ]);
23
26
  const props = __props;
24
27
  const thisRef = ref(null);
@@ -35,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
38
  ref_key: "thisRef",
36
39
  ref: thisRef
37
40
  }, [
38
- createVNode(unref(VChart), {
41
+ createVNode(unref(B), {
39
42
  ref: "chartRef",
40
43
  theme: unref(customTheme),
41
44
  option: unref(chartOption),
@@ -1,10 +1,14 @@
1
1
  import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
2
2
  import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
3
- import { use } from "echarts/core";
4
- import { CanvasRenderer } from "echarts/renderers";
5
- import { PieChart } from "echarts/charts";
6
- import { GridComponent, LegendComponent, TitleComponent, TooltipComponent, ToolboxComponent } from "echarts/components";
7
- import VChart from "vue-echarts";
3
+ import B from "../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js";
4
+ import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/pie/install.js";
5
+ import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
6
+ import { install } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js";
7
+ import { install as install$2 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js";
8
+ import { install as install$3 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js";
9
+ import { install as install$4 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js";
10
+ import { install as install$5 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js";
11
+ import { install as install$6 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js";
8
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
13
  __name: "pie-runtime",
10
14
  props: {
@@ -13,13 +17,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
17
  },
14
18
  setup(__props) {
15
19
  use([
16
- CanvasRenderer,
17
- PieChart,
18
- GridComponent,
19
- LegendComponent,
20
- TitleComponent,
21
- TooltipComponent,
22
- ToolboxComponent
20
+ install,
21
+ install$1,
22
+ install$2,
23
+ install$3,
24
+ install$4,
25
+ install$5,
26
+ install$6
23
27
  ]);
24
28
  const props = __props;
25
29
  const thisRef = ref(null);
@@ -36,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
40
  ref_key: "thisRef",
37
41
  ref: thisRef
38
42
  }, [
39
- createVNode(unref(VChart), {
43
+ createVNode(unref(B), {
40
44
  ref: "chartRef",
41
45
  theme: unref(customTheme),
42
46
  option: unref(chartOption),
@@ -1,10 +1,14 @@
1
1
  import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
2
2
  import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
3
- import { use } from "echarts/core";
4
- import { CanvasRenderer } from "echarts/renderers";
5
- import { RadarChart } from "echarts/charts";
6
- import { GridComponent, TitleComponent, TooltipComponent, ToolboxComponent, LegendComponent } from "echarts/components";
7
- import VChart from "vue-echarts";
3
+ import B from "../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js";
4
+ import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/radar/install.js";
5
+ import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
6
+ import { install } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js";
7
+ import { install as install$2 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js";
8
+ import { install as install$3 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js";
9
+ import { install as install$4 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js";
10
+ import { install as install$5 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js";
11
+ import { install as install$6 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js";
8
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
13
  __name: "radar-runtime",
10
14
  props: {
@@ -13,13 +17,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
17
  },
14
18
  setup(__props) {
15
19
  use([
16
- CanvasRenderer,
17
- RadarChart,
18
- GridComponent,
19
- TitleComponent,
20
- TooltipComponent,
21
- ToolboxComponent,
22
- LegendComponent
20
+ install,
21
+ install$1,
22
+ install$2,
23
+ install$3,
24
+ install$4,
25
+ install$5,
26
+ install$6
23
27
  ]);
24
28
  const props = __props;
25
29
  const thisRef = ref(null);
@@ -36,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
40
  ref_key: "thisRef",
37
41
  ref: thisRef
38
42
  }, [
39
- createVNode(unref(VChart), {
43
+ createVNode(unref(B), {
40
44
  ref: "chartRef",
41
45
  theme: unref(customTheme),
42
46
  option: unref(chartOption),
@@ -1,10 +1,15 @@
1
1
  import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
2
2
  import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
3
- import { use } from "echarts/core";
4
- import { CanvasRenderer } from "echarts/renderers";
5
- import { ScatterChart } from "echarts/charts";
6
- import { GridComponent, LegendComponent, TitleComponent, TooltipComponent, ToolboxComponent, DataZoomComponent } from "echarts/components";
7
- import VChart from "vue-echarts";
3
+ import B from "../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js";
4
+ import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/scatter/install.js";
5
+ import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
6
+ import { install } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js";
7
+ import { install as install$2 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js";
8
+ import { install as install$3 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js";
9
+ import { install as install$4 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js";
10
+ import { install as install$5 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js";
11
+ import { install as install$6 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js";
12
+ import { install as install$7 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/dataZoom/install.js";
8
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
14
  __name: "scatter-runtime",
10
15
  props: {
@@ -13,14 +18,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
18
  },
14
19
  setup(__props) {
15
20
  use([
16
- CanvasRenderer,
17
- ScatterChart,
18
- GridComponent,
19
- LegendComponent,
20
- TitleComponent,
21
- TooltipComponent,
22
- ToolboxComponent,
23
- DataZoomComponent
21
+ install,
22
+ install$1,
23
+ install$2,
24
+ install$3,
25
+ install$4,
26
+ install$5,
27
+ install$6,
28
+ install$7
24
29
  ]);
25
30
  const props = __props;
26
31
  const thisRef = ref(null);
@@ -37,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
42
  ref_key: "thisRef",
38
43
  ref: thisRef
39
44
  }, [
40
- createVNode(unref(VChart), {
45
+ createVNode(unref(B), {
41
46
  ref: "chartRef",
42
47
  theme: unref(customTheme),
43
48
  option: unref(chartOption),
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
- import { ElMessage } from "element-plus";
3
- import { useI18n } from "vue-i18n";
2
+ import { useI18n } from "../../../../../node_modules/.pnpm/vue-i18n@9.10.2_vue@3.4.21/node_modules/vue-i18n/dist/vue-i18n.js";
3
+ import { ElMessage } from "../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/message/index.js";
4
4
  const _hoisted_1 = { class: "dialog-footer" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "remove-signer-dialog",