super-page-runtime 2.0.4 → 2.0.9

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 (183) hide show
  1. package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
  2. package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
  3. package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
  4. package/dist/es/components/runtime/index.d.ts +4 -0
  5. package/dist/es/components/runtime/utils/api/api-util.d.ts +11 -0
  6. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +11 -0
  7. package/dist/es/components/runtime/utils/common-util.d.ts +16 -0
  8. package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
  9. package/dist/es/components/runtime/utils/events/event-util.d.ts +48 -0
  10. package/dist/es/components/runtime/utils/events/standard-event.d.ts +61 -0
  11. package/dist/es/components/runtime/utils/events/validator-util.d.ts +4 -0
  12. package/dist/es/components/runtime/utils/global-refs.d.ts +59 -0
  13. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
  14. package/dist/es/components/runtime/utils/page-helper-util.d.ts +106 -0
  15. package/dist/es/components/runtime/utils/page-helper-util.js +4 -1
  16. package/dist/es/components/runtime/utils/page-init-util.d.ts +38 -0
  17. package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
  18. package/dist/es/components/runtime/utils/store-util.d.ts +15 -0
  19. package/dist/es/components/runtime/utils/store.d.ts +2 -0
  20. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +196 -18
  21. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +76 -6
  24. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
  25. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  26. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  27. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  28. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  29. package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
  30. package/dist/es/components/runtime/views/super-page.vue.d.ts +91 -0
  31. package/dist/es/index.d.ts +2 -2
  32. package/dist/es/index.js +2 -2
  33. package/dist/lib/_virtual/AttributeMap.js +4 -0
  34. package/dist/lib/_virtual/Delta.js +4 -0
  35. package/dist/lib/_virtual/Op.js +4 -0
  36. package/dist/lib/_virtual/OpIterator.js +4 -0
  37. package/dist/lib/_virtual/__vite-browser-external.js +3 -0
  38. package/dist/lib/_virtual/_commonjsHelpers.js +8 -0
  39. package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
  40. package/dist/lib/_virtual/dayjs.min.js +4 -0
  41. package/dist/lib/_virtual/index.js +4 -0
  42. package/dist/lib/_virtual/index2.js +4 -0
  43. package/dist/lib/_virtual/index3.js +4 -0
  44. package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
  45. package/dist/lib/assets/chart-themes/theme1.js +7 -0
  46. package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
  47. package/dist/lib/assets/chart-themes/theme2.js +7 -0
  48. package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
  49. package/dist/lib/assets/chart-themes/theme3.js +7 -0
  50. package/dist/lib/components/runtime/index.d.ts +4 -0
  51. package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
  52. package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
  53. package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
  54. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +11 -0
  55. package/dist/lib/components/runtime/utils/charts/chart-util.js +28 -0
  56. package/dist/lib/components/runtime/utils/common-util.d.ts +16 -0
  57. package/dist/lib/components/runtime/utils/common-util.js +94 -0
  58. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  59. package/dist/lib/components/runtime/utils/eventBus.js +10 -0
  60. package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
  61. package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
  62. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
  63. package/dist/lib/components/runtime/utils/events/standard-event.js +1625 -0
  64. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
  65. package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
  66. package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
  67. package/dist/lib/components/runtime/utils/global-refs.js +65 -0
  68. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
  69. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
  70. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +106 -0
  71. package/dist/lib/components/runtime/utils/page-helper-util.js +622 -0
  72. package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
  73. package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
  74. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  75. package/dist/lib/components/runtime/utils/page-permission-util.js +525 -0
  76. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  77. package/dist/lib/components/runtime/utils/store-util.js +17 -0
  78. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  79. package/dist/lib/components/runtime/utils/store.js +3 -0
  80. package/dist/lib/components/runtime/utils/table-utils.js +24 -0
  81. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
  82. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
  83. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
  84. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
  85. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
  86. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
  87. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
  88. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +432 -0
  89. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
  90. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
  91. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
  92. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
  93. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +126 -0
  94. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
  95. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
  96. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +52 -0
  97. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
  98. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +54 -0
  99. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
  100. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +54 -0
  101. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
  102. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +56 -0
  103. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
  104. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
  105. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
  106. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  107. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
  108. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
  109. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  110. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
  111. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
  112. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
  113. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
  114. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
  115. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
  116. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
  117. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
  118. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
  119. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
  120. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
  121. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
  122. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
  123. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
  124. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
  125. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
  126. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
  127. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
  128. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
  129. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
  130. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
  131. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
  132. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
  133. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +88 -0
  134. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  135. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
  136. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
  137. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
  138. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
  139. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
  140. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
  141. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
  142. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
  143. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
  144. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
  145. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
  146. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
  147. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
  148. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
  149. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
  150. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
  151. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
  152. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
  153. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
  154. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
  155. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
  156. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
  157. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
  158. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
  159. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
  160. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +164 -0
  161. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
  162. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
  163. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
  164. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
  165. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
  166. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
  167. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
  168. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
  169. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  170. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
  171. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
  172. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
  173. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
  174. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
  175. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +73 -0
  176. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +3 -0
  177. package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
  178. package/dist/lib/components/runtime/views/super-page.vue.js +496 -0
  179. package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
  180. package/dist/lib/favicon.ico +0 -0
  181. package/dist/lib/index.d.ts +8 -0
  182. package/dist/lib/index.js +15 -0
  183. package/package.json +1 -2
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const commonChartHeaderGroup_vue_vue_type_script_setup_true_lang = require("./common-chart-header-group.vue.js");
4
+ const commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang = require("./common-chart-header-breadcrumb.vue.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__ */ Vue.defineComponent({
10
+ __name: "common-chart-header",
11
+ props: {
12
+ headerInfo: {
13
+ type: Object,
14
+ required: true
15
+ }
16
+ },
17
+ emits: ["drill-end"],
18
+ setup(__props, { expose: __expose, emit: __emit }) {
19
+ const props = __props;
20
+ const drillObjRef = Vue.ref(null);
21
+ const $emits = __emit;
22
+ if (!props.headerInfo.drillOptions) {
23
+ props.headerInfo.drillOptions = [];
24
+ }
25
+ function closeDrill(closeIndex) {
26
+ const drillLen = props.headerInfo.drillOptions.length;
27
+ if (closeIndex >= drillLen) {
28
+ console.log("无效的取消操作,", closeIndex, props.headerInfo.drillOptions);
29
+ return;
30
+ }
31
+ for (let i = drillLen - 1; i >= closeIndex; i--) {
32
+ props.headerInfo.drillOptions.splice(i, 1);
33
+ }
34
+ toDrillLevel(closeIndex);
35
+ }
36
+ function drill(params, datas) {
37
+ const currentIndex = props.headerInfo.drillOptions.length;
38
+ if (currentIndex + 1 >= props.headerInfo.options.length) {
39
+ console.log("钻取到最底层了!");
40
+ $emits("drill-end", params);
41
+ return;
42
+ }
43
+ console.log("props.headerInfo.options", currentIndex, props.headerInfo.options);
44
+ const targetGroup = props.headerInfo.options[currentIndex];
45
+ const drillOption = {
46
+ fieldName: targetGroup.target ? targetGroup.target.replace(".", "_") : "",
47
+ label: params.name,
48
+ value: params.name
49
+ };
50
+ props.headerInfo.drillOptions.push(drillOption);
51
+ toDrillLevel(currentIndex + 1);
52
+ }
53
+ function toDrillLevel(drillIndex) {
54
+ const drillParams = {};
55
+ for (let o of props.headerInfo.drillOptions) {
56
+ if (o.fieldName) {
57
+ drillParams[o.fieldName] = o.value;
58
+ }
59
+ }
60
+ props.headerInfo.drillParams = drillParams;
61
+ props.headerInfo.groupValue = props.headerInfo.options[drillIndex].value;
62
+ }
63
+ __expose({
64
+ drill
65
+ });
66
+ return (_ctx, _cache) => {
67
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
68
+ Vue.createElementVNode("div", _hoisted_2, [
69
+ Vue.withDirectives(Vue.createElementVNode("label", {
70
+ style: Vue.normalizeStyle(__props.headerInfo.style)
71
+ }, Vue.toDisplayString(__props.headerInfo.title) + "  ", 5), [
72
+ [Vue.vShow, __props.headerInfo.title && (!__props.headerInfo.textAlign || __props.headerInfo.textAlign == "left")]
73
+ ]),
74
+ __props.headerInfo.showDrill && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
75
+ key: 0,
76
+ ref_key: "drillObjRef",
77
+ ref: drillObjRef,
78
+ headerInfo: __props.headerInfo,
79
+ onCloseDrill: closeDrill
80
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
81
+ __props.headerInfo.showGroup && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
82
+ key: 1,
83
+ headerInfo: __props.headerInfo
84
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
85
+ ]),
86
+ Vue.createElementVNode("div", _hoisted_3, [
87
+ Vue.withDirectives(Vue.createElementVNode("label", {
88
+ style: Vue.normalizeStyle(__props.headerInfo.style)
89
+ }, Vue.toDisplayString(__props.headerInfo.title) + "  ", 5), [
90
+ [Vue.vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "center"]
91
+ ]),
92
+ __props.headerInfo.showDrill && __props.headerInfo.groupPosition == "center" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
93
+ key: 0,
94
+ headerInfo: __props.headerInfo,
95
+ onCloseDrill: closeDrill,
96
+ ref_key: "drillObjRef",
97
+ ref: drillObjRef
98
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
99
+ __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "center" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
100
+ key: 1,
101
+ headerInfo: __props.headerInfo
102
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
103
+ ]),
104
+ Vue.createElementVNode("div", _hoisted_4, [
105
+ Vue.withDirectives(Vue.createElementVNode("label", {
106
+ style: Vue.normalizeStyle(__props.headerInfo.style)
107
+ }, Vue.toDisplayString(__props.headerInfo.title) + "  ", 5), [
108
+ [Vue.vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "right"]
109
+ ]),
110
+ __props.headerInfo.showDrill && __props.headerInfo.groupPosition == "right" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
111
+ key: 0,
112
+ headerInfo: __props.headerInfo,
113
+ onCloseDrill: closeDrill,
114
+ ref_key: "drillObjRef",
115
+ ref: drillObjRef
116
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
117
+ __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "right" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
118
+ key: 1,
119
+ headerInfo: __props.headerInfo
120
+ }, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
121
+ ])
122
+ ]);
123
+ };
124
+ }
125
+ });
126
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const commonChartHeader_vue_vue_type_script_setup_true_lang = require("./common-chart-header.vue.js");
3
+ module.exports = commonChartHeader_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const gaugeRuntime_vue_vue_type_script_setup_true_lang = require("./gauge-runtime.vue2.js");
3
+ module.exports = gaugeRuntime_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const chartUtil = require("../../../../utils/charts/chart-util.js");
4
+ const index_esm_min = require("../../../../../../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");
5
+ const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/gauge/install.js");
6
+ const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
7
+ const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
8
+ const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
9
+ const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
10
+ const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
11
+ const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
12
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
13
+ __name: "gauge-runtime",
14
+ props: {
15
+ pageContext: {},
16
+ configure: {}
17
+ },
18
+ setup(__props) {
19
+ extension.use([
20
+ installCanvasRenderer.install,
21
+ install.install,
22
+ install$1.install,
23
+ install$2.install,
24
+ install$3.install,
25
+ install$4.install
26
+ ]);
27
+ const props = __props;
28
+ const thisRef = Vue.ref(null);
29
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
30
+ const runtimeStyle = runtimeInfo.style;
31
+ const runtimeClass = runtimeInfo.class;
32
+ const chartOption = runtimeInfo.chartOption;
33
+ const configureProps = props.configure.props ? props.configure.props : {};
34
+ const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
35
+ return (_ctx, _cache) => {
36
+ return Vue.openBlock(), Vue.createElementBlock("div", {
37
+ style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
38
+ class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
39
+ ref_key: "thisRef",
40
+ ref: thisRef
41
+ }, [
42
+ Vue.createVNode(Vue.unref(index_esm_min.default), {
43
+ ref: "chartRef",
44
+ theme: Vue.unref(customTheme),
45
+ option: Vue.unref(chartOption),
46
+ autoresize: ""
47
+ }, null, 8, ["theme", "option"])
48
+ ], 6);
49
+ };
50
+ }
51
+ });
52
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const pieRuntime_vue_vue_type_script_setup_true_lang = require("./pie-runtime.vue2.js");
3
+ module.exports = pieRuntime_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const chartUtil = require("../../../../utils/charts/chart-util.js");
4
+ const index_esm_min = require("../../../../../../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");
5
+ const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/pie/install.js");
6
+ const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
7
+ const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
8
+ const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
9
+ const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
10
+ const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
11
+ const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
12
+ const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
13
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
14
+ __name: "pie-runtime",
15
+ props: {
16
+ pageContext: {},
17
+ configure: {}
18
+ },
19
+ setup(__props) {
20
+ extension.use([
21
+ installCanvasRenderer.install,
22
+ install.install,
23
+ install$1.install,
24
+ install$2.install,
25
+ install$3.install,
26
+ install$4.install,
27
+ install$5.install
28
+ ]);
29
+ const props = __props;
30
+ const thisRef = Vue.ref(null);
31
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
32
+ const runtimeStyle = runtimeInfo.style;
33
+ const runtimeClass = runtimeInfo.class;
34
+ const chartOption = runtimeInfo.chartOption;
35
+ const configureProps = props.configure.props ? props.configure.props : {};
36
+ const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
37
+ return (_ctx, _cache) => {
38
+ return Vue.openBlock(), Vue.createElementBlock("div", {
39
+ style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
40
+ class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
41
+ ref_key: "thisRef",
42
+ ref: thisRef
43
+ }, [
44
+ Vue.createVNode(Vue.unref(index_esm_min.default), {
45
+ ref: "chartRef",
46
+ theme: Vue.unref(customTheme),
47
+ option: Vue.unref(chartOption),
48
+ autoresize: ""
49
+ }, null, 8, ["theme", "option"])
50
+ ], 6);
51
+ };
52
+ }
53
+ });
54
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const radarRuntime_vue_vue_type_script_setup_true_lang = require("./radar-runtime.vue2.js");
3
+ module.exports = radarRuntime_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const chartUtil = require("../../../../utils/charts/chart-util.js");
4
+ const index_esm_min = require("../../../../../../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");
5
+ const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/radar/install.js");
6
+ const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
7
+ const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
8
+ const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
9
+ const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
10
+ const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
11
+ const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
12
+ const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
13
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
14
+ __name: "radar-runtime",
15
+ props: {
16
+ pageContext: {},
17
+ configure: {}
18
+ },
19
+ setup(__props) {
20
+ extension.use([
21
+ installCanvasRenderer.install,
22
+ install.install,
23
+ install$1.install,
24
+ install$2.install,
25
+ install$3.install,
26
+ install$4.install,
27
+ install$5.install
28
+ ]);
29
+ const props = __props;
30
+ const thisRef = Vue.ref(null);
31
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
32
+ const runtimeStyle = runtimeInfo.style;
33
+ const runtimeClass = runtimeInfo.class;
34
+ const chartOption = runtimeInfo.chartOption;
35
+ const configureProps = props.configure.props ? props.configure.props : {};
36
+ const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
37
+ return (_ctx, _cache) => {
38
+ return Vue.openBlock(), Vue.createElementBlock("div", {
39
+ style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
40
+ class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
41
+ ref_key: "thisRef",
42
+ ref: thisRef
43
+ }, [
44
+ Vue.createVNode(Vue.unref(index_esm_min.default), {
45
+ ref: "chartRef",
46
+ theme: Vue.unref(customTheme),
47
+ option: Vue.unref(chartOption),
48
+ autoresize: ""
49
+ }, null, 8, ["theme", "option"])
50
+ ], 6);
51
+ };
52
+ }
53
+ });
54
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const scatterRuntime_vue_vue_type_script_setup_true_lang = require("./scatter-runtime.vue2.js");
3
+ module.exports = scatterRuntime_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const chartUtil = require("../../../../utils/charts/chart-util.js");
4
+ const index_esm_min = require("../../../../../../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");
5
+ const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/scatter/install.js");
6
+ const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
7
+ const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
8
+ const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
9
+ const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
10
+ const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
11
+ const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
12
+ const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
13
+ const install$6 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/dataZoom/install.js");
14
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
15
+ __name: "scatter-runtime",
16
+ props: {
17
+ pageContext: {},
18
+ configure: {}
19
+ },
20
+ setup(__props) {
21
+ extension.use([
22
+ installCanvasRenderer.install,
23
+ install.install,
24
+ install$1.install,
25
+ install$2.install,
26
+ install$3.install,
27
+ install$4.install,
28
+ install$5.install,
29
+ install$6.install
30
+ ]);
31
+ const props = __props;
32
+ const thisRef = Vue.ref(null);
33
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
34
+ const runtimeStyle = runtimeInfo.style;
35
+ const runtimeClass = runtimeInfo.class;
36
+ const chartOption = runtimeInfo.chartOption;
37
+ const configureProps = props.configure.props ? props.configure.props : {};
38
+ const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
39
+ return (_ctx, _cache) => {
40
+ return Vue.openBlock(), Vue.createElementBlock("div", {
41
+ style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
42
+ class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
43
+ ref_key: "thisRef",
44
+ ref: thisRef
45
+ }, [
46
+ Vue.createVNode(Vue.unref(index_esm_min.default), {
47
+ ref: "chartRef",
48
+ theme: Vue.unref(customTheme),
49
+ option: Vue.unref(chartOption),
50
+ autoresize: ""
51
+ }, null, 8, ["theme", "option"])
52
+ ], 6);
53
+ };
54
+ }
55
+ });
56
+ module.exports = _sfc_main;
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ configure: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ };
6
+ pageContext: {
7
+ type: ObjectConstructor;
8
+ };
9
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ close: (...args: any[]) => void;
11
+ export: (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ configure: {
14
+ type: ObjectConstructor;
15
+ required: true;
16
+ };
17
+ pageContext: {
18
+ type: ObjectConstructor;
19
+ };
20
+ }>> & {
21
+ onClose?: (...args: any[]) => any;
22
+ onExport?: (...args: any[]) => any;
23
+ }, {}, {}>;
24
+ export default _default;
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+ const Vue = require("vue");
3
+ const commonUtil = require("../../../utils/common-util.js");
4
+ const prefix = "${";
5
+ const suffix = "}";
6
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
7
+ __name: "export-form-report-dialog",
8
+ props: {
9
+ configure: {
10
+ type: Object,
11
+ required: true
12
+ },
13
+ pageContext: {
14
+ type: Object
15
+ }
16
+ },
17
+ emits: ["export", "close"],
18
+ setup(__props, { emit: __emit }) {
19
+ const props = __props;
20
+ const emits = __emit;
21
+ const templateFiles = Vue.ref([]);
22
+ const fields = Vue.ref([]);
23
+ const configureBase = props.configure.props.base;
24
+ const dataModel = props.pageContext.entity.data;
25
+ Vue.onMounted(() => {
26
+ if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
27
+ templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
28
+ } else if (configureBase.templateUUID && configureBase.templateShowPath) {
29
+ templateFiles.value.push({
30
+ templateUUID: configureBase.templateUUID,
31
+ templateShowPath: configureBase.templateShowPath
32
+ });
33
+ }
34
+ templateFiles.value.forEach((item) => {
35
+ if (item && item.templateShowPath) {
36
+ item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
37
+ }
38
+ });
39
+ });
40
+ function getFileds(templateShowPath) {
41
+ console.log("templateShowPath", templateShowPath);
42
+ let field;
43
+ let formatStr;
44
+ let newValue = templateShowPath;
45
+ const prefixIndex = newValue.indexOf(prefix);
46
+ const suffixIndex = newValue.indexOf(suffix);
47
+ console.log("prefixIndex", prefixIndex);
48
+ console.log("suffixIndex", suffixIndex);
49
+ if (prefixIndex !== -1 && suffixIndex !== -1) {
50
+ if (prefixIndex > suffixIndex) {
51
+ newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
52
+ console.log("non replacement value === newValue", newValue);
53
+ } else {
54
+ field = newValue.substring(
55
+ prefixIndex + prefix.length,
56
+ suffixIndex
57
+ );
58
+ formatStr = newValue.substring(
59
+ prefixIndex,
60
+ suffixIndex + suffix.length
61
+ );
62
+ console.log("field", field);
63
+ console.log("formatStr", formatStr);
64
+ fields.value.push(field);
65
+ console.log("fields", fields.value);
66
+ newValue = newValue.replace(formatStr, "");
67
+ console.log("newValue", newValue);
68
+ }
69
+ return getFileds(newValue);
70
+ }
71
+ return fields.value;
72
+ }
73
+ function formatTemplateShowPath(templateShowPath) {
74
+ const fields2 = getFileds(templateShowPath);
75
+ console.log("fields", fields2);
76
+ fields2.forEach((field) => {
77
+ const formatStr = prefix + field + suffix;
78
+ let formatValue;
79
+ if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
80
+ formatValue = dataModel[field] ? dataModel[field] : "";
81
+ templateShowPath = templateShowPath.replace(formatStr, formatValue);
82
+ }
83
+ });
84
+ return templateShowPath;
85
+ }
86
+ function exportForm(row) {
87
+ emits("export", row);
88
+ }
89
+ function closeExportForm() {
90
+ emits("close");
91
+ }
92
+ return (_ctx, _cache) => {
93
+ const _component_el_table_column = Vue.resolveComponent("el-table-column");
94
+ const _component_el_button = Vue.resolveComponent("el-button");
95
+ const _component_el_table = Vue.resolveComponent("el-table");
96
+ const _component_el_dialog = Vue.resolveComponent("el-dialog");
97
+ return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
98
+ "show-close": true,
99
+ "append-to-body": true,
100
+ title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
101
+ "model-value": "",
102
+ onClose: closeExportForm
103
+ }, {
104
+ default: Vue.withCtx(() => [
105
+ Vue.createVNode(_component_el_table, {
106
+ data: templateFiles.value,
107
+ style: { "width": "100%" }
108
+ }, {
109
+ default: Vue.withCtx(() => [
110
+ Vue.createVNode(_component_el_table_column, {
111
+ label: _ctx.$t("superPageRuntimeMessage.temlpate"),
112
+ prop: "templateShowPath"
113
+ }, {
114
+ default: Vue.withCtx((scope) => [
115
+ Vue.createTextVNode(Vue.toDisplayString(scope.row.templateShowPath), 1)
116
+ ]),
117
+ _: 1
118
+ }, 8, ["label"]),
119
+ Vue.createVNode(_component_el_table_column, {
120
+ label: _ctx.$t("superPageRuntimeMessage.operating"),
121
+ width: "200",
122
+ fixed: "right"
123
+ }, {
124
+ default: Vue.withCtx((scope) => [
125
+ Vue.createVNode(_component_el_button, {
126
+ type: "text",
127
+ size: "small",
128
+ onClick: ($event) => exportForm(scope.row)
129
+ }, {
130
+ default: Vue.withCtx(() => [
131
+ Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
132
+ ]),
133
+ _: 2
134
+ }, 1032, ["onClick"])
135
+ ]),
136
+ _: 1
137
+ }, 8, ["label"])
138
+ ]),
139
+ _: 1
140
+ }, 8, ["data"])
141
+ ]),
142
+ _: 1
143
+ }, 8, ["title"]);
144
+ };
145
+ }
146
+ });
147
+ module.exports = _sfc_main;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const exportFormReportDialog_vue_vue_type_script_setup_true_lang = require("./export-form-report-dialog.vue.js");
3
+ module.exports = exportFormReportDialog_vue_vue_type_script_setup_true_lang;
@@ -0,0 +1,35 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ taskId: {
3
+ type: NumberConstructor;
4
+ default: any;
5
+ };
6
+ activeTasks: {
7
+ type: ArrayConstructor;
8
+ default: any;
9
+ };
10
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ close: (...args: any[]) => void;
12
+ result: (...args: any[]) => void;
13
+ open: (...args: any[]) => void;
14
+ opend: (...args: any[]) => void;
15
+ closed: (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ taskId: {
18
+ type: NumberConstructor;
19
+ default: any;
20
+ };
21
+ activeTasks: {
22
+ type: ArrayConstructor;
23
+ default: any;
24
+ };
25
+ }>> & {
26
+ onClose?: (...args: any[]) => any;
27
+ onResult?: (...args: any[]) => any;
28
+ onOpen?: (...args: any[]) => any;
29
+ onOpend?: (...args: any[]) => any;
30
+ onClosed?: (...args: any[]) => any;
31
+ }, {
32
+ taskId: number;
33
+ activeTasks: unknown[];
34
+ }, {}>;
35
+ export default _default;