super-page-runtime 2.1.92 → 2.1.95

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 (159) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +6 -7
  2. package/dist/es/assets/chart-themes/theme1.js +2 -6
  3. package/dist/es/assets/chart-themes/theme2.js +2 -6
  4. package/dist/es/assets/chart-themes/theme3.js +2 -6
  5. package/dist/es/components/runtime/utils/api/api-util.js +4 -7
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +137 -433
  7. package/dist/es/components/runtime/utils/assemblys-config.js +12 -366
  8. package/dist/es/components/runtime/utils/barcode-util.js +10 -33
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +138 -303
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -66
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +71 -147
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +52 -122
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +40 -98
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +237 -478
  15. package/dist/es/components/runtime/utils/common-util.js +82 -152
  16. package/dist/es/components/runtime/utils/eventBus.js +3 -9
  17. package/dist/es/components/runtime/utils/events/event-util.js +361 -727
  18. package/dist/es/components/runtime/utils/events/print-label.js +73 -140
  19. package/dist/es/components/runtime/utils/events/standard-event.js +835 -2283
  20. package/dist/es/components/runtime/utils/events/validator-util.js +236 -555
  21. package/dist/es/components/runtime/utils/form/date-shortcuts.js +29 -88
  22. package/dist/es/components/runtime/utils/form/scan-util.js +60 -154
  23. package/dist/es/components/runtime/utils/global-refs.js +45 -69
  24. package/dist/es/components/runtime/utils/i18n-util.js +12 -20
  25. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
  26. package/dist/es/components/runtime/utils/page-helper-util.js +295 -603
  27. package/dist/es/components/runtime/utils/page-init-util.js +134 -369
  28. package/dist/es/components/runtime/utils/page-permission-util.js +24 -531
  29. package/dist/es/components/runtime/utils/page-store.js +8 -12
  30. package/dist/es/components/runtime/utils/store-util.js +9 -13
  31. package/dist/es/components/runtime/utils/store.js +2 -2
  32. package/dist/es/components/runtime/utils/table-utils.js +49 -84
  33. package/dist/es/components/runtime/utils/tree-utils.js +18 -36
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +19 -75
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -46
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +37 -132
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +2 -2
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +4 -18
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +2 -2
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -107
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +54 -198
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +12 -42
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +7 -60
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +48 -169
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
  53. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +32 -107
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +43 -164
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +32 -115
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +32 -116
  60. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +208 -439
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +4 -42
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +8 -62
  64. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +63 -226
  66. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -62
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
  70. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +168 -513
  71. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +29 -139
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
  73. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +23 -125
  74. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
  75. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +16 -102
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
  78. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +18 -81
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -82
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -86
  83. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +21 -79
  85. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
  86. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -61
  87. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -37
  89. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  90. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +38 -127
  91. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +28 -76
  93. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
  94. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +61 -178
  95. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +311 -800
  96. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
  97. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +251 -592
  98. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
  99. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
  100. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +43 -115
  101. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  102. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +56 -216
  103. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +3 -21
  104. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
  105. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +44 -154
  107. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +36 -98
  108. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +54 -200
  111. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +69 -239
  113. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +28 -98
  115. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +22 -59
  117. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +52 -173
  119. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +22 -103
  121. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -249
  123. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +34 -174
  125. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -107
  127. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -4
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
  129. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +66 -189
  131. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -243
  133. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +82 -261
  135. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +13 -57
  137. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +30 -155
  139. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +41 -129
  141. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +22 -107
  143. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +133 -252
  144. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
  145. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
  146. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +19 -46
  147. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
  148. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +22 -49
  149. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
  150. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +21 -58
  151. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
  152. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +16 -53
  153. package/dist/es/components/runtime/views/super-page-dialog.vue.js +18 -134
  154. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
  155. package/dist/es/components/runtime/views/super-page.vue.js +232 -708
  156. package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
  157. package/dist/es/i18n/langs/cn.js +2 -55
  158. package/dist/es/i18n/langs/en.js +2 -55
  159. package/package.json +74 -73
@@ -1,175 +1,54 @@
1
- import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, withDirectives, normalizeStyle, toDisplayString, vShow, createBlock, createCommentVNode } from "vue";
2
- import _sfc_main$2 from "./common-chart-header-group.vue.js";
3
- import _sfc_main$1 from "./common-chart-header-breadcrumb.vue.js";
4
- import { setVariableValueWithProp, getValueFromSource, setValueForVariableName } from "../../../../utils/page-helper-util.js";
5
- const _hoisted_1 = { class: "amb-widget-chart-header" };
6
- const _hoisted_2 = { class: "amb-widget-chart-header-item" };
7
- const _hoisted_3 = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" };
8
- const _hoisted_4 = { class: "amb-widget-chart-header-item" };
9
- const _sfc_main = /* @__PURE__ */ defineComponent({
10
- __name: "common-chart-header",
11
- props: {
12
- headerInfo: {
13
- type: Object,
14
- required: true
15
- },
16
- configure: {
17
- type: Object,
18
- required: true
19
- },
20
- pageContext: {
21
- type: Object,
22
- required: true
1
+ import { defineComponent as e, ref as r, openBlock as o, createElementBlock as n, createElementVNode as a, withDirectives as t, normalizeStyle as l, toDisplayString as d, vShow as i, createBlock as f, createCommentVNode as h } from "vue";
2
+ import s from "./common-chart-header-group.vue.js";
3
+ import I from "./common-chart-header-breadcrumb.vue.js";
4
+ import { setVariableValueWithProp as c, getValueFromSource as u, setValueForVariableName as p } from "../../../../utils/page-helper-util.js";
5
+ const g = { class: "amb-widget-chart-header" }, m = { class: "amb-widget-chart-header-item" }, b = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, v = { class: "amb-widget-chart-header-item" }, y = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: y2, emit: O }) {
6
+ const w = e2, x = r(null), j = O;
7
+ function k(e3) {
8
+ const r2 = w.headerInfo.drillOptions.length;
9
+ if (!(e3 >= r2)) {
10
+ for (let o2 = r2 - 1; o2 >= e3; o2--)
11
+ w.headerInfo.drillOptions.splice(o2, 1);
12
+ P(e3);
23
13
  }
24
- },
25
- emits: ["drill-end"],
26
- setup(__props, { expose: __expose, emit: __emit }) {
27
- const props = __props;
28
- const drillObjRef = ref(null);
29
- const $emits = __emit;
30
- if (!props.headerInfo.drillOptions) {
31
- props.headerInfo.drillOptions = [];
32
- }
33
- function closeDrill(closeIndex) {
34
- const drillLen = props.headerInfo.drillOptions.length;
35
- if (closeIndex >= drillLen) {
36
- console.log("无效的取消操作,", closeIndex, props.headerInfo.drillOptions);
37
- return;
38
- }
39
- for (let i = drillLen - 1; i >= closeIndex; i--) {
40
- props.headerInfo.drillOptions.splice(i, 1);
41
- }
42
- toDrillLevel(closeIndex);
43
- }
44
- function drill(params, datas) {
45
- const currentIndex = props.headerInfo.drillOptions.length;
46
- if (currentIndex + 1 >= props.headerInfo.options.length) {
47
- const data2 = datas && params.dataIndex < datas.length ? datas[params.dataIndex] : void 0;
48
- updateClickVariables(data2);
49
- console.log("钻取到最底层了!");
50
- $emits("drill-end", params);
51
- return;
52
- }
53
- console.log("props.headerInfo.options", currentIndex, props.headerInfo.options);
54
- const targetGroup = props.headerInfo.options[currentIndex];
55
- const data = datas && params.dataIndex < datas.length ? datas[params.dataIndex] : null;
56
- const drillOption = {
57
- fieldName: targetGroup.target ? targetGroup.target.replace(".", "_") : "",
58
- rawFieldName: targetGroup.target ? targetGroup.target : "",
59
- label: params.name,
60
- value: params.name,
61
- data
62
- };
63
- props.headerInfo.drillOptions.push(drillOption);
64
- toDrillLevel(currentIndex + 1);
65
- }
66
- function toDrillLevel(drillIndex) {
67
- const drillParams = {};
68
- for (let o of props.headerInfo.drillOptions) {
69
- if (o.fieldName) {
70
- drillParams[o.fieldName] = o.value;
71
- }
72
- }
73
- props.headerInfo.drillParams = drillParams;
74
- props.headerInfo.groupValue = props.headerInfo.options[drillIndex].value;
75
- updateClickVariables();
14
+ }
15
+ function P(e3) {
16
+ const r2 = {};
17
+ for (let e4 of w.headerInfo.drillOptions)
18
+ e4.fieldName && (r2[e4.fieldName] = e4.value);
19
+ w.headerInfo.drillParams = r2, w.headerInfo.groupValue = w.headerInfo.options[e3].value, N();
20
+ }
21
+ function N(e3) {
22
+ const r2 = w.configure.clickSet;
23
+ if (!r2 || !r2.variables || 0 === r2.variables.length)
24
+ return;
25
+ const o2 = {};
26
+ e3 && Object.assign(o2, e3);
27
+ const n2 = w.headerInfo.drillOptions;
28
+ if (n2.length > 0) {
29
+ if (!e3) {
30
+ const e4 = n2[n2.length - 1];
31
+ e4.data && Object.assign(o2, e4.data);
32
+ }
33
+ for (let e4 of n2)
34
+ e4.rawFieldName && c(o2, e4.rawFieldName, e4.value);
76
35
  }
77
- function updateClickVariables(endData) {
78
- const clickSet = props.configure.clickSet;
79
- if (!clickSet || !clickSet.variables || clickSet.variables.length === 0) {
80
- return;
81
- }
82
- const data = {};
83
- if (endData) {
84
- Object.assign(data, endData);
85
- }
86
- const drillOptions = props.headerInfo.drillOptions;
87
- if (drillOptions.length > 0) {
88
- if (!endData) {
89
- const endOption = drillOptions[drillOptions.length - 1];
90
- if (endOption.data) {
91
- Object.assign(data, endOption.data);
92
- }
93
- }
94
- for (let o of drillOptions) {
95
- if (!o.rawFieldName) {
96
- continue;
97
- }
98
- setVariableValueWithProp(data, o.rawFieldName, o.value);
99
- }
100
- }
101
- for (let v of clickSet.variables) {
102
- if (!v.fieldName || !v.variable) {
103
- continue;
104
- }
105
- const value = getValueFromSource(data, v.fieldName, void 0);
106
- setValueForVariableName(props.pageContext.entity, v.variable, value);
107
- }
36
+ for (let e4 of r2.variables) {
37
+ if (!e4.fieldName || !e4.variable)
38
+ continue;
39
+ const r3 = u(o2, e4.fieldName, void 0);
40
+ p(w.pageContext.entity, e4.variable, r3);
108
41
  }
109
- __expose({
110
- drill,
111
- closeDrill
112
- });
113
- return (_ctx, _cache) => {
114
- return openBlock(), createElementBlock("div", _hoisted_1, [
115
- createElementVNode("div", _hoisted_2, [
116
- withDirectives(createElementVNode("label", {
117
- style: normalizeStyle(__props.headerInfo.style)
118
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
119
- [vShow, __props.headerInfo.title && (!__props.headerInfo.textAlign || __props.headerInfo.textAlign == "left")]
120
- ]),
121
- __props.headerInfo.showDrill && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (openBlock(), createBlock(_sfc_main$1, {
122
- key: 0,
123
- ref_key: "drillObjRef",
124
- ref: drillObjRef,
125
- headerInfo: __props.headerInfo,
126
- onCloseDrill: closeDrill
127
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true),
128
- __props.headerInfo.showGroup && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (openBlock(), createBlock(_sfc_main$2, {
129
- key: 1,
130
- headerInfo: __props.headerInfo
131
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
132
- ]),
133
- createElementVNode("div", _hoisted_3, [
134
- withDirectives(createElementVNode("label", {
135
- style: normalizeStyle(__props.headerInfo.style)
136
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
137
- [vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "center"]
138
- ]),
139
- __props.headerInfo.showDrill && __props.headerInfo.groupPosition == "center" ? (openBlock(), createBlock(_sfc_main$1, {
140
- key: 0,
141
- headerInfo: __props.headerInfo,
142
- onCloseDrill: closeDrill,
143
- ref_key: "drillObjRef",
144
- ref: drillObjRef
145
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true),
146
- __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "center" ? (openBlock(), createBlock(_sfc_main$2, {
147
- key: 1,
148
- headerInfo: __props.headerInfo
149
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
150
- ]),
151
- createElementVNode("div", _hoisted_4, [
152
- withDirectives(createElementVNode("label", {
153
- style: normalizeStyle(__props.headerInfo.style)
154
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
155
- [vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "right"]
156
- ]),
157
- __props.headerInfo.showDrill && __props.headerInfo.groupPosition == "right" ? (openBlock(), createBlock(_sfc_main$1, {
158
- key: 0,
159
- headerInfo: __props.headerInfo,
160
- onCloseDrill: closeDrill,
161
- ref_key: "drillObjRef",
162
- ref: drillObjRef
163
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true),
164
- __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "right" ? (openBlock(), createBlock(_sfc_main$2, {
165
- key: 1,
166
- headerInfo: __props.headerInfo
167
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
168
- ])
169
- ]);
170
- };
171
42
  }
172
- });
43
+ return w.headerInfo.drillOptions || (w.headerInfo.drillOptions = []), y2({ drill: function(e3, r2) {
44
+ const o2 = w.headerInfo.drillOptions.length;
45
+ if (o2 + 1 >= w.headerInfo.options.length) {
46
+ return N(r2 && e3.dataIndex < r2.length ? r2[e3.dataIndex] : void 0), void j("drill-end", e3);
47
+ }
48
+ const n2 = w.headerInfo.options[o2], a2 = r2 && e3.dataIndex < r2.length ? r2[e3.dataIndex] : null, t2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: a2 };
49
+ w.headerInfo.drillOptions.push(t2), P(o2 + 1);
50
+ }, closeDrill: k }), (r2, c2) => (o(), n("div", g, [a("div", m, [t(a("label", { style: l(e2.headerInfo.style) }, d(e2.headerInfo.title) + "  ", 5), [[i, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? h("", true) : (o(), f(I, { key: 0, ref_key: "drillObjRef", ref: x, headerInfo: e2.headerInfo, onCloseDrill: k }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? h("", true) : (o(), f(s, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", b, [t(a("label", { style: l(e2.headerInfo.style) }, d(e2.headerInfo.title) + "  ", 5), [[i, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (o(), f(I, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: k, ref_key: "drillObjRef", ref: x }, null, 8, ["headerInfo"])) : h("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (o(), f(s, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : h("", true)]), a("div", v, [t(a("label", { style: l(e2.headerInfo.style) }, d(e2.headerInfo.title) + "  ", 5), [[i, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (o(), f(I, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: k, ref_key: "drillObjRef", ref: x }, null, 8, ["headerInfo"])) : h("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (o(), f(s, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : h("", true)])]));
51
+ } });
173
52
  export {
174
- _sfc_main as default
53
+ y as default
175
54
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./common-chart-header.vue.js";
1
+ import e from "./common-chart-header.vue.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./gauge-runtime.vue2.js";
1
+ import e from "./gauge-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,110 +1,35 @@
1
- import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
2
- import { getCustomTheme, initChartOption, exportCommonChart } from "../../../../utils/charts/chart-util.js";
3
- import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
4
- import { updateChartOption } from "../../../../utils/charts/chart-gauge-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 { GaugeChart } from "echarts/charts";
9
- import { GridComponent, TitleComponent, TooltipComponent, ToolboxComponent } from "echarts/components";
10
- import VChart from "vue-echarts";
11
- const _sfc_main = /* @__PURE__ */ defineComponent({
12
- __name: "gauge-runtime",
13
- props: {
14
- pageContext: {},
15
- configure: {}
16
- },
17
- setup(__props, { expose: __expose }) {
18
- use([CanvasRenderer, GaugeChart, GridComponent, TitleComponent, TooltipComponent, ToolboxComponent]);
19
- const props = __props;
20
- const thisRef = ref(null);
21
- const chartRef = ref(null);
22
- const headerRef = ref(null);
23
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
24
- const runtimeStyle = runtimeInfo.style;
25
- const runtimeClass = runtimeInfo.class;
26
- const dataConfig = runtimeInfo.dataConfig;
27
- const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
28
- const chartOption = runtimeInfo.chartOption;
29
- const configureProps = props.configure.props ? props.configure.props : {};
30
- const customTheme = getCustomTheme(configureProps.customTheme);
31
- initChartOption(props.configure, chartOption);
32
- onMounted(() => {
33
- const resultData = getChartDatasFromPage(props.pageContext, props.configure);
34
- if (resultData) {
35
- updateChartDatas(resultData);
36
- }
37
- });
38
- let hisGroupValue = headerInfo.groupValue;
39
- watch(headerInfo, () => {
40
- if (hisGroupValue == headerInfo.groupValue) {
41
- return;
42
- }
43
- hisGroupValue = headerInfo.groupValue;
44
- if (dataConfig) {
45
- dataConfig.services[0].groupValue = headerInfo.groupValue;
46
- }
47
- refresh();
48
- });
49
- function refresh() {
50
- if (!dataConfig) {
51
- console.log("无数据源配置,不需要查询!");
52
- return;
53
- }
54
- updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
55
- }
56
- const monitorFields = headerInfo.monitorFields;
57
- monitorFieldChange(props.pageContext, monitorFields, refresh);
58
- function updateChartDatas(resultData) {
59
- if (!resultData) {
60
- resultData = [];
61
- }
62
- resultData = resultData.length > 0 ? resultData[0] : {};
63
- if (!resultData) {
64
- resultData = {};
65
- }
66
- if (resultData.hasRender) {
67
- resultData.hasRender = true;
68
- console.log("重复更新!", resultData);
69
- return;
70
- }
71
- resultData.hasRender = true;
72
- console.log("gauge resultData", resultData);
73
- updateChartOption(props.pageContext, props.configure, chartOption, resultData);
74
- console.log("chartOption", chartOption);
75
- }
76
- function exportChart() {
77
- exportCommonChart(chartRef.value);
78
- }
79
- __expose({
80
- updateChartDatas,
81
- exportChart
82
- });
83
- return (_ctx, _cache) => {
84
- return openBlock(), createElementBlock("div", {
85
- style: normalizeStyle(unref(runtimeStyle)),
86
- class: normalizeClass([unref(runtimeClass), "amb-widget-chart"]),
87
- ref_key: "thisRef",
88
- ref: thisRef
89
- }, [
90
- withDirectives(createVNode(_sfc_main$1, {
91
- ref_key: "headerRef",
92
- ref: headerRef,
93
- headerInfo: unref(headerInfo)
94
- }, null, 8, ["headerInfo"]), [
95
- [vShow, unref(headerInfo).showHeader]
96
- ]),
97
- createVNode(unref(VChart), {
98
- ref_key: "chartRef",
99
- ref: chartRef,
100
- theme: unref(customTheme),
101
- option: unref(chartOption),
102
- autoresize: ""
103
- }, null, 8, ["theme", "option"])
104
- ], 6);
105
- };
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, openBlock as a, createElementBlock as n, normalizeStyle as u, unref as s, normalizeClass as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
2
+ import { getCustomTheme as m, initChartOption as l, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
3
+ import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
+ import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
5
+ import v from "../common/common-chart-header.vue.js";
6
+ import { use as R } from "echarts/core";
7
+ import { CanvasRenderer as y } from "echarts/renderers";
8
+ import { GaugeChart as V } from "echarts/charts";
9
+ import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k } from "echarts/components";
10
+ import w from "vue-echarts";
11
+ const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
+ R([y, V, _, j, I, k]);
13
+ const z = e2, D = r(null), F = r(null), H = r(null), O = z.configure.runtime ? z.configure.runtime : {}, P = O.style, T = O.class, q = O.dataConfig, A = O.headerInfo ? O.headerInfo : {}, B = O.chartOption, E = z.configure.props ? z.configure.props : {}, G = m(E.customTheme);
14
+ l(z.configure, B), t(() => {
15
+ const e3 = g(z.pageContext, z.configure);
16
+ e3 && M(e3);
17
+ });
18
+ let J = A.groupValue;
19
+ function K() {
20
+ q && d(z.pageContext, [q], A.drillParams);
106
21
  }
107
- });
22
+ o(A, () => {
23
+ J != A.groupValue && (J = A.groupValue, q && (q.services[0].groupValue = A.groupValue), K());
24
+ });
25
+ const L = A.monitorFields;
26
+ function M(e3) {
27
+ e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, B, e3));
28
+ }
29
+ return x(z.pageContext, L, K), b2({ updateChartDatas: M, exportChart: function() {
30
+ h(F.value);
31
+ } }), (e3, r2) => (a(), n("div", { style: u(s(P)), class: i([s(T), "amb-widget-chart"]), ref_key: "thisRef", ref: D }, [c(p(v, { ref_key: "headerRef", ref: H, headerInfo: s(A) }, null, 8, ["headerInfo"]), [[f, s(A).showHeader]]), p(s(w), { ref_key: "chartRef", ref: F, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
+ } });
108
33
  export {
109
- _sfc_main as default
34
+ b as default
110
35
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./pie-runtime.vue2.js";
1
+ import e from "./pie-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,167 +1,46 @@
1
- import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
2
- import { getCustomTheme, initChartOption, monitorChartClickToVariable, clearChartSelected, exportCommonChart } from "../../../../utils/charts/chart-util.js";
3
- import { updateChartOption } from "../../../../utils/charts/chart-pie-util.js";
4
- import { doClickJumpPageEvent } from "../../../../utils/events/event-util.js";
5
- import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
6
- import _sfc_main$1 from "../common/common-chart-header.vue.js";
7
- import { use } from "echarts/core";
8
- import { CanvasRenderer } from "echarts/renderers";
9
- import { PieChart } from "echarts/charts";
10
- import { GridComponent, LegendComponent, TitleComponent, TooltipComponent, ToolboxComponent } from "echarts/components";
11
- import VChart from "vue-echarts";
12
- const _sfc_main = /* @__PURE__ */ defineComponent({
13
- __name: "pie-runtime",
14
- props: {
15
- pageContext: {},
16
- configure: {}
17
- },
18
- setup(__props, { expose: __expose }) {
19
- use([
20
- CanvasRenderer,
21
- PieChart,
22
- GridComponent,
23
- LegendComponent,
24
- TitleComponent,
25
- TooltipComponent,
26
- ToolboxComponent
27
- ]);
28
- const props = __props;
29
- const thisRef = ref(null);
30
- const chartRef = ref(null);
31
- const headerRef = ref(null);
32
- const enableDrill = props.configure.props ? props.configure.props.enableDrill : null;
33
- const drillEndTrigger = props.configure.props ? props.configure.props.drillEndTrigger : null;
34
- const linkPage = props.configure.props ? props.configure.props.linkPage : null;
35
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
36
- const runtimeStyle = runtimeInfo.style;
37
- const runtimeClass = runtimeInfo.class;
38
- const dataConfig = runtimeInfo.dataConfig;
39
- const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
40
- const chartOption = runtimeInfo.chartOption;
41
- const configureProps = props.configure.props ? props.configure.props : {};
42
- const customTheme = getCustomTheme(configureProps.customTheme);
43
- initChartOption(props.configure, chartOption);
44
- onMounted(() => {
45
- const resultData = getChartDatasFromPage(props.pageContext, props.configure);
46
- if (resultData) {
47
- updateChartDatas(resultData);
48
- }
49
- if (chartRef.value && (enableDrill || linkPage && linkPage.jumpPageUrl)) {
50
- chartRef.value.chart.on("click", function(params) {
51
- if (enableDrill) {
52
- if (headerRef.value && headerRef.value.drill) {
53
- headerRef.value.drill(params, props.configure.cacheDatas);
54
- }
55
- } else {
56
- clickToLink();
57
- }
58
- });
59
- }
60
- if (!enableDrill && props.configure.clickSet && chartRef.value) {
61
- monitorChartClickToVariable(props.pageContext, props.configure, chartRef.value.chart);
62
- }
63
- });
64
- function onDrillEnd(params) {
65
- if (drillEndTrigger == "clearDrill") {
66
- if (headerRef.value && headerRef.value.closeDrill) {
67
- headerRef.value.closeDrill(0);
68
- }
69
- } else if (drillEndTrigger == "clickEvent") {
70
- clickToLink();
71
- }
72
- }
73
- function clickToLink() {
74
- if (!linkPage || !linkPage.jumpPageUrl) {
75
- return;
76
- }
77
- doClickJumpPageEvent(props.pageContext, props.configure, void 0);
78
- }
79
- let hisGroupValue = headerInfo.groupValue;
80
- watch(headerInfo, () => {
81
- if (hisGroupValue == headerInfo.groupValue) {
82
- return;
83
- }
84
- hisGroupValue = headerInfo.groupValue;
85
- if (dataConfig) {
86
- dataConfig.services[0].groupValue = headerInfo.groupValue;
87
- }
88
- refresh(false);
89
- });
90
- function refresh(isHandle) {
91
- if (!dataConfig) {
92
- console.log("无数据源配置,不需要查询!");
93
- return;
94
- }
95
- if (isHandle !== true) {
96
- dataConfig.autoRefresh = true;
97
- }
98
- updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
99
- }
100
- const monitorFields = headerInfo.monitorFields;
101
- monitorFieldChange(props.pageContext, monitorFields, () => {
102
- refresh(true);
103
- });
104
- function updateChartDatas(resultData) {
105
- if (!resultData) {
106
- resultData = [];
107
- }
108
- resultData = resultData.length > 0 ? resultData[0] : {};
109
- if (!resultData) {
110
- resultData = {};
111
- }
112
- if (resultData.hasRender) {
113
- resultData.hasRender = true;
114
- console.log("重复更新!", resultData);
115
- return;
116
- }
117
- resultData.hasRender = true;
118
- if (!dataConfig.autoRefresh) {
119
- hisGroupValue = resultData.groupValue;
120
- if (hisGroupValue && headerInfo.groupComponent !== "checkbox") {
121
- hisGroupValue = hisGroupValue.join(",");
122
- }
123
- headerInfo.groupValue = hisGroupValue;
124
- }
125
- if (!dataConfig.autoRefresh || !enableDrill) {
126
- clearChartSelected(props.pageContext, props.configure, chartRef.value.chart);
127
- }
128
- dataConfig.autoRefresh = false;
129
- updateChartOption(props.pageContext, props.configure, chartOption, resultData);
130
- console.log("chartOption--pie", chartOption);
131
- }
132
- function exportChart() {
133
- exportCommonChart(chartRef.value);
134
- }
135
- __expose({
136
- updateChartDatas,
137
- exportChart
138
- });
139
- return (_ctx, _cache) => {
140
- return openBlock(), createElementBlock("div", {
141
- style: normalizeStyle(unref(runtimeStyle)),
142
- class: normalizeClass([unref(runtimeClass), "amb-widget-chart"]),
143
- ref_key: "thisRef",
144
- ref: thisRef
145
- }, [
146
- withDirectives(createVNode(_sfc_main$1, {
147
- ref_key: "headerRef",
148
- ref: headerRef,
149
- headerInfo: unref(headerInfo),
150
- onDrillEnd
151
- }, null, 8, ["headerInfo"]), [
152
- [vShow, unref(headerInfo).showHeader]
153
- ]),
154
- createVNode(unref(VChart), {
155
- ref_key: "chartRef",
156
- ref: chartRef,
157
- theme: unref(customTheme),
158
- option: unref(chartOption),
159
- autoresize: ""
160
- }, null, 8, ["theme", "option"])
161
- ], 6);
162
- };
1
+ import { defineComponent as e, ref as r, onMounted as o, watch as t, openBlock as n, createElementBlock as u, normalizeStyle as a, unref as l, normalizeClass as i, withDirectives as c, createVNode as p, vShow as s } from "vue";
2
+ import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
+ import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
4
+ import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
5
+ import { getChartDatasFromPage as C, updateChartDatasources as R, monitorFieldChange as j } from "../../../../utils/page-helper-util.js";
6
+ import k from "../common/common-chart-header.vue.js";
7
+ import { use as D } from "echarts/core";
8
+ import { CanvasRenderer as V } from "echarts/renderers";
9
+ import { PieChart as y } from "echarts/charts";
10
+ import { GridComponent as _, LegendComponent as I, TitleComponent as P, TooltipComponent as b, ToolboxComponent as E } from "echarts/components";
11
+ import w from "vue-echarts";
12
+ const T = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
13
+ D([V, y, _, I, P, b, E]);
14
+ const U = e2, z = r(null), F = r(null), H = r(null), O = U.configure.props ? U.configure.props.enableDrill : null, S = U.configure.props ? U.configure.props.drillEndTrigger : null, q = U.configure.props ? U.configure.props.linkPage : null, A = U.configure.runtime ? U.configure.runtime : {}, B = A.style, G = A.class, J = A.dataConfig, K = A.headerInfo ? A.headerInfo : {}, L = A.chartOption, M = U.configure.props ? U.configure.props : {}, N = f(M.customTheme);
15
+ function Q(e3) {
16
+ "clearDrill" == S ? H.value && H.value.closeDrill && H.value.closeDrill(0) : "clickEvent" == S && W();
163
17
  }
164
- });
18
+ function W() {
19
+ q && q.jumpPageUrl && x(U.pageContext, U.configure, void 0);
20
+ }
21
+ g(U.configure, L), o(() => {
22
+ const e3 = C(U.pageContext, U.configure);
23
+ e3 && $(e3), F.value && (O || q && q.jumpPageUrl) && F.value.chart.on("click", function(e4) {
24
+ O ? H.value && H.value.drill && H.value.drill(e4, U.configure.cacheDatas) : W();
25
+ }), !O && U.configure.clickSet && F.value && h(U.pageContext, U.configure, F.value.chart);
26
+ });
27
+ let X = K.groupValue;
28
+ function Y(e3) {
29
+ J && (true !== e3 && (J.autoRefresh = true), R(U.pageContext, [J], K.drillParams));
30
+ }
31
+ t(K, () => {
32
+ X != K.groupValue && (X = K.groupValue, J && (J.services[0].groupValue = K.groupValue), Y(false));
33
+ });
34
+ const Z = K.monitorFields;
35
+ function $(e3) {
36
+ e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && O || m(U.pageContext, U.configure, F.value.chart), J.autoRefresh = false, v(U.pageContext, U.configure, L, e3));
37
+ }
38
+ return j(U.pageContext, Z, () => {
39
+ Y(true);
40
+ }), T2({ updateChartDatas: $, exportChart: function() {
41
+ d(F.value);
42
+ } }), (e3, r2) => (n(), u("div", { style: a(l(B)), class: i([l(G), "amb-widget-chart"]), ref_key: "thisRef", ref: z }, [c(p(k, { ref_key: "headerRef", ref: H, headerInfo: l(K), onDrillEnd: Q }, null, 8, ["headerInfo"]), [[s, l(K).showHeader]]), p(l(w), { ref_key: "chartRef", ref: F, theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
+ } });
165
44
  export {
166
- _sfc_main as default
45
+ T as default
167
46
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./radar-runtime.vue2.js";
1
+ import r from "./radar-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ r as default
4
4
  };