super-page-runtime 2.0.19 → 2.0.25

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 (195) hide show
  1. package/dist/es/components/runtime/utils/api/api-util.js +18 -16
  2. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +206 -0
  4. package/dist/es/components/runtime/utils/assemblys-config.js +16 -7
  5. package/dist/es/components/runtime/utils/common-util.d.ts +2 -2
  6. package/dist/es/components/runtime/utils/common-util.js +8 -12
  7. package/dist/es/components/runtime/utils/events/event-util.d.ts +14 -0
  8. package/dist/es/components/runtime/utils/events/event-util.js +101 -32
  9. package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -0
  10. package/dist/es/components/runtime/utils/events/standard-event.js +189 -133
  11. package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
  12. package/dist/es/components/runtime/utils/form/scan-util.js +191 -0
  13. package/dist/es/components/runtime/utils/global-refs.js +12 -0
  14. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  15. package/dist/es/components/runtime/utils/page-helper-util.js +20 -4
  16. package/dist/es/components/runtime/utils/page-init-util.js +9 -15
  17. package/dist/es/components/runtime/utils/table-utils.js +4 -5
  18. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
  19. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +17 -17
  20. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  21. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  22. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +5 -5
  23. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  24. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +207 -0
  25. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +99 -68
  26. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +3 -2
  27. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +11 -11
  28. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
  29. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +12 -12
  30. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
  31. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
  32. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -15
  33. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +24 -1
  34. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
  35. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
  36. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +13 -13
  37. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +96 -26
  38. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  39. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +13 -13
  40. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +10 -10
  41. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
  42. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -2
  43. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +5 -7
  44. package/dist/es/components/runtime/views/super-page.vue.js +18 -7
  45. package/package.json +3 -2
  46. package/dist/lib/_virtual/AttributeMap.js +0 -4
  47. package/dist/lib/_virtual/Delta.js +0 -4
  48. package/dist/lib/_virtual/Op.js +0 -4
  49. package/dist/lib/_virtual/OpIterator.js +0 -4
  50. package/dist/lib/_virtual/__vite-browser-external.js +0 -3
  51. package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
  52. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  53. package/dist/lib/_virtual/dayjs.min.js +0 -4
  54. package/dist/lib/_virtual/index.js +0 -4
  55. package/dist/lib/_virtual/index2.js +0 -4
  56. package/dist/lib/_virtual/index3.js +0 -4
  57. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  58. package/dist/lib/assets/chart-themes/theme1.js +0 -7
  59. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  60. package/dist/lib/assets/chart-themes/theme2.js +0 -7
  61. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  62. package/dist/lib/assets/chart-themes/theme3.js +0 -7
  63. package/dist/lib/components/runtime/index.d.ts +0 -4
  64. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  65. package/dist/lib/components/runtime/utils/api/api-util.js +0 -128
  66. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -258
  67. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  68. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -28
  69. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -16
  70. package/dist/lib/components/runtime/utils/common-util.js +0 -94
  71. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  72. package/dist/lib/components/runtime/utils/eventBus.js +0 -10
  73. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  74. package/dist/lib/components/runtime/utils/events/event-util.js +0 -526
  75. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  76. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1625
  77. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  78. package/dist/lib/components/runtime/utils/events/validator-util.js +0 -389
  79. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  80. package/dist/lib/components/runtime/utils/global-refs.js +0 -65
  81. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -223
  82. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
  83. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -106
  84. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -622
  85. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  86. package/dist/lib/components/runtime/utils/page-init-util.js +0 -200
  87. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  88. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  89. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  90. package/dist/lib/components/runtime/utils/store-util.js +0 -17
  91. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  92. package/dist/lib/components/runtime/utils/store.js +0 -3
  93. package/dist/lib/components/runtime/utils/table-utils.js +0 -24
  94. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  95. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  96. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  97. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  98. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  99. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  100. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  101. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -432
  102. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  103. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  104. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  105. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  106. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  107. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  108. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  109. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
  110. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  111. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
  112. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  113. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
  114. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  115. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
  116. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  117. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
  118. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  119. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  120. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  121. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  122. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  123. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  124. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  125. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  126. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  127. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  128. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  129. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  130. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  131. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  132. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
  133. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  134. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
  135. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  136. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  137. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  138. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
  139. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  140. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  141. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  142. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  143. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  144. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  145. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  146. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  147. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  148. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
  149. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  150. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  151. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  152. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  153. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  154. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  155. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  156. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  157. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  158. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  159. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  160. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  161. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  162. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  163. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  164. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  165. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -127
  166. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  167. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  168. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  169. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  170. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  171. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  172. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  173. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -164
  174. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  175. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  176. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  177. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  178. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  179. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  180. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  181. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  182. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  183. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -142
  184. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  185. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  186. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  187. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
  188. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -73
  189. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
  190. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  191. package/dist/lib/components/runtime/views/super-page.vue.js +0 -496
  192. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
  193. package/dist/lib/favicon.ico +0 -0
  194. package/dist/lib/index.d.ts +0 -8
  195. package/dist/lib/index.js +0 -15
@@ -1,126 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,52 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,54 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,54 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,56 +0,0 @@
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;
@@ -1,24 +0,0 @@
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;
@@ -1,147 +0,0 @@
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;
@@ -1,3 +0,0 @@
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;
@@ -1,35 +0,0 @@
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;