super-page-runtime 2.2.29-tmp1 → 2.2.29-tmp2

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 (165) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +7 -5
  2. package/dist/es/assets/chart-themes/theme1.js +6 -2
  3. package/dist/es/assets/chart-themes/theme2.js +6 -2
  4. package/dist/es/assets/chart-themes/theme3.js +6 -2
  5. package/dist/es/components/runtime/utils/api/api-util.js +7 -4
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +443 -135
  7. package/dist/es/components/runtime/utils/assemblys-config.js +369 -13
  8. package/dist/es/components/runtime/utils/barcode-util.js +33 -9
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +306 -122
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +68 -29
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +152 -69
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +124 -46
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +99 -38
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +522 -226
  15. package/dist/es/components/runtime/utils/common-util.js +156 -76
  16. package/dist/es/components/runtime/utils/eventBus.js +8 -3
  17. package/dist/es/components/runtime/utils/events/event-util.js +775 -362
  18. package/dist/es/components/runtime/utils/events/print-label.js +140 -73
  19. package/dist/es/components/runtime/utils/events/standard-event.js +2320 -820
  20. package/dist/es/components/runtime/utils/events/validator-util.js +560 -224
  21. package/dist/es/components/runtime/utils/form/date-shortcuts.js +88 -28
  22. package/dist/es/components/runtime/utils/form/scan-util.js +162 -62
  23. package/dist/es/components/runtime/utils/global-refs.js +84 -53
  24. package/dist/es/components/runtime/utils/i18n-util.js +20 -11
  25. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +7 -2
  26. package/dist/es/components/runtime/utils/page-helper-util.js +660 -280
  27. package/dist/es/components/runtime/utils/page-init-util.js +405 -144
  28. package/dist/es/components/runtime/utils/page-permission-util.js +531 -22
  29. package/dist/es/components/runtime/utils/page-store.js +68 -23
  30. package/dist/es/components/runtime/utils/store-util.js +13 -9
  31. package/dist/es/components/runtime/utils/store.js +2 -2
  32. package/dist/es/components/runtime/utils/table-utils.js +81 -40
  33. package/dist/es/components/runtime/utils/tree-utils.js +37 -17
  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 +83 -21
  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 +46 -14
  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 +132 -36
  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 +18 -4
  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 +107 -17
  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 +198 -54
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +42 -12
  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 +60 -11
  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 +203 -54
  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/common/common-homepage-search.vue.js +4 -4
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +162 -46
  54. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +109 -33
  56. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +166 -44
  58. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +117 -33
  60. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +118 -33
  62. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +599 -253
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +42 -4
  64. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +62 -8
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +160 -29
  68. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +62 -13
  70. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +594 -213
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +139 -33
  74. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
  75. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +125 -21
  76. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +102 -16
  78. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
  79. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
  80. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +81 -18
  81. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +82 -17
  83. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +86 -14
  85. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
  86. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +79 -21
  87. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +61 -16
  89. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
  90. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +37 -10
  91. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +127 -38
  93. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
  94. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +76 -28
  95. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
  96. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +178 -63
  97. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +810 -305
  98. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
  99. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +635 -265
  100. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
  101. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
  102. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +115 -40
  103. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  104. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +215 -56
  105. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +21 -3
  106. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
  107. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
  108. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +154 -43
  109. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +98 -34
  110. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
  111. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +200 -52
  113. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +239 -70
  115. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +109 -31
  117. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +59 -21
  119. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +188 -56
  121. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
  122. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +103 -22
  123. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +246 -59
  125. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +174 -34
  127. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
  128. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +107 -29
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -4
  130. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +50 -13
  131. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
  132. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +194 -65
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  134. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +249 -89
  135. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  136. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +263 -80
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
  138. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +57 -13
  139. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
  140. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +155 -30
  141. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
  142. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +129 -40
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  144. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +107 -22
  145. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +188 -89
  146. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +2 -2
  147. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +272 -133
  148. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
  149. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
  150. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +46 -18
  151. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
  152. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +49 -21
  153. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
  154. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +58 -20
  155. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
  156. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +53 -16
  157. package/dist/es/components/runtime/views/home-chart.vue.js +160 -41
  158. package/dist/es/components/runtime/views/home-chart.vue2.js +2 -2
  159. package/dist/es/components/runtime/views/super-page-dialog.vue.js +139 -21
  160. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
  161. package/dist/es/components/runtime/views/super-page.vue.js +756 -230
  162. package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
  163. package/dist/es/i18n/langs/cn.js +55 -2
  164. package/dist/es/i18n/langs/en.js +55 -2
  165. package/package.json +2 -2
@@ -1,51 +1,92 @@
1
1
  import "agilebuilder-ui/src/utils/common-util";
2
2
  import "agilebuilder-ui/src/utils/util";
3
3
  import "agilebuilder-ui/src/utils/request";
4
- import t from "./eventBus.js";
5
- import { getPermissionCodes as e } from "./page-init-util.js";
6
- import { getCustomFunc as o } from "./events/event-util.js";
7
- import { $t as i } from "./i18n-util.js";
8
- import { ExpressionEvaluator as s } from "../views/assemblys/chart/table/chart-table-util.js";
9
- function n(e2) {
10
- const o2 = e2.pageContext && e2.pageContext.code;
11
- console.log("弹框显示页面--popupToPage====params=", e2), t.$emit(o2 + "_open-dialog", e2);
4
+ import bus from "./eventBus.js";
5
+ import { getPermissionCodes } from "./page-init-util.js";
6
+ import { getCustomFunc } from "./events/event-util.js";
7
+ import { $t } from "./i18n-util.js";
8
+ import { ExpressionEvaluator } from "../views/assemblys/chart/table/chart-table-util.js";
9
+ function popupToPage(params) {
10
+ const pageCode = params.pageContext && params.pageContext.code;
11
+ console.log("弹框显示页面--popupToPage====params=", params);
12
+ bus.$emit(pageCode + "_open-dialog", params);
12
13
  }
13
- function r(t2, e2) {
14
- const o2 = t2.tableName;
15
- if (!e2 && o2) return o2;
16
- let i2;
17
- return t2.tableRuntimes && e2 && t2.tableRuntimes[e2] && (i2 = JSON.parse(t2.tableRuntimes[e2].configure)), i2 && i2.props && i2.props.dataOrigin ? i2.props.dataOrigin.tableName : null;
14
+ function getTableNameByTableUuid(pageContext, tableUuid) {
15
+ const tableName = pageContext.tableName;
16
+ if (!tableUuid && tableName) {
17
+ return tableName;
18
+ }
19
+ let tableConfigure;
20
+ if (pageContext.tableRuntimes && tableUuid && pageContext.tableRuntimes[tableUuid]) {
21
+ tableConfigure = JSON.parse(pageContext.tableRuntimes[tableUuid].configure);
22
+ }
23
+ return tableConfigure && tableConfigure.props && tableConfigure.props.dataOrigin ? tableConfigure.props.dataOrigin.tableName : null;
18
24
  }
19
- function u(t2, o2, s2, n2) {
20
- const r2 = !(!o2.props || !o2.props.base) && o2.props.base.showOperation, u2 = o2.btnList;
21
- console.log("configure.btnList===", o2.btnList, "configure====", o2), r2 && u2 && u2.forEach((o3) => {
22
- const r3 = {}, u3 = Object.assign({}, o3.props.base);
23
- if ("custom" === o3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === o3.isPermission || o3.isPermission + "" == "true") {
24
- const i2 = e(o3, t2);
25
- i2 && (u3.permission = i2);
26
- }
27
- u3.label = i(u3.title), u3.sourceButton = { uuid: o3.uuid }, r3.props = u3, void 0 !== n2 && (r3.onClick = n2(o3)), s2.push(r3);
28
- });
25
+ function getOperationButtons(pageContext, configure, operations, clickEventFunc) {
26
+ const showOperation = configure.props && configure.props.base ? configure.props.base.showOperation : false;
27
+ const operationButtonSettings = configure.btnList;
28
+ console.log("configure.btnList===", configure.btnList, "configure====", configure);
29
+ if (showOperation && operationButtonSettings) {
30
+ operationButtonSettings.forEach((buttonConfigure) => {
31
+ const myButtonSet = {};
32
+ const myButtonProps = Object.assign({}, buttonConfigure.props.base);
33
+ if (buttonConfigure.name === "custom") {
34
+ myButtonProps.customControl = myButtonProps.name;
35
+ } else {
36
+ myButtonProps.elementType = "el-button";
37
+ }
38
+ if (buttonConfigure.isPermission === void 0 || buttonConfigure.isPermission + "" === "true") {
39
+ const functionCodes = getPermissionCodes(buttonConfigure, pageContext);
40
+ if (functionCodes) {
41
+ myButtonProps.permission = functionCodes;
42
+ }
43
+ }
44
+ myButtonProps.label = $t(myButtonProps.title);
45
+ myButtonProps.sourceButton = { uuid: buttonConfigure.uuid };
46
+ myButtonSet["props"] = myButtonProps;
47
+ if (clickEventFunc !== void 0) {
48
+ myButtonSet["onClick"] = clickEventFunc(buttonConfigure);
49
+ }
50
+ operations.push(myButtonSet);
51
+ });
52
+ }
29
53
  }
30
- function l(t2, e2, i2, n2) {
31
- let r2;
32
- const u2 = i2 == null ? void 0 : i2.some((i3) => {
33
- let u3 = false;
34
- if (i3.scopeFunc) {
35
- const s2 = o(t2, i3.scopeFunc);
36
- if (s2) {
37
- s2.apply(s2, [{ pageContext: t2, configureObj: e2, row: n2 }]) && (u3 = true);
54
+ function expressJump(pageContext, configure, linkPage, row) {
55
+ let toPage;
56
+ const show = linkPage == null ? void 0 : linkPage.some((item) => {
57
+ let canShow = false;
58
+ if (item.scopeFunc) {
59
+ const func = getCustomFunc(pageContext, item.scopeFunc);
60
+ if (func) {
61
+ const result = func.apply(func, [
62
+ {
63
+ pageContext,
64
+ configureObj: configure,
65
+ row
66
+ }
67
+ ]);
68
+ if (result) {
69
+ canShow = true;
70
+ }
71
+ }
72
+ } else if (item.showCondition && item.showCondition.length > 0) {
73
+ const result = ExpressionEvaluator.evaluate(pageContext, item.showCondition, row);
74
+ if (result) {
75
+ canShow = true;
38
76
  }
39
- } else if (i3.showCondition && i3.showCondition.length > 0) {
40
- s.evaluate(t2, i3.showCondition, n2) && (u3 = true);
41
- } else u3 = true;
42
- if (u3) return r2 = i3, true;
77
+ } else {
78
+ canShow = true;
79
+ }
80
+ if (canShow) {
81
+ toPage = item;
82
+ return true;
83
+ }
43
84
  });
44
- return { show: u2, toPage: r2 };
85
+ return { show, toPage };
45
86
  }
46
87
  export {
47
- l as expressJump,
48
- u as getOperationButtons,
49
- r as getTableNameByTableUuid,
50
- n as popupToPage
88
+ expressJump,
89
+ getOperationButtons,
90
+ getTableNameByTableUuid,
91
+ popupToPage
51
92
  };
@@ -1,7 +1,7 @@
1
- import { getBaseUrl as i, getRealRestApiPath as e } from "./common-util.js";
2
- import t from "agilebuilder-ui/src/utils/request";
1
+ import { getBaseUrl, getRealRestApiPath } from "./common-util.js";
2
+ import http from "agilebuilder-ui/src/utils/request";
3
3
  import "./eventBus.js";
4
- import { getPermissionCodes as o } from "./page-init-util.js";
4
+ import { getPermissionCodes } from "./page-init-util.js";
5
5
  import "agilebuilder-ui/src/utils/common-util";
6
6
  import "agilebuilder-ui/src/utils/util";
7
7
  import "element-plus";
@@ -16,24 +16,44 @@ import "./page-store.js";
16
16
  import "agilebuilder-ui/src/utils/i18n-util";
17
17
  import "vue-i18n";
18
18
  import "async-validator";
19
- function r(r2, s, a, l, u) {
20
- return new Promise((a2, l2) => {
19
+ function getMenuTreeData(pageContext, configure, parentNodeId, node, loadParams) {
20
+ return new Promise((resolve, reject) => {
21
21
  var _a, _b;
22
- if (s && ((_a = s.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) if ("beanName" === ((_b = s.props.dataOrigin) == null ? void 0 : _b.optionValueSetType)) {
23
- const l3 = r2.backendUrl, m = r2.systemCode, p = o(s, r2);
24
- let n = i(l3, r2.isTest) + "/dsc/commons/load-tree-node";
25
- n = e(n, m, l3, r2.isTest);
26
- const c = { pageCode: r2.code, pageVersion: r2.version, tableName: r2.tableName, systemCode: m, functionCode: p, beanName: r2.beanName };
27
- u && Object.assign(c, u), t.post(n, c).then((i2) => {
28
- a2(i2);
29
- });
22
+ if (configure && ((_a = configure.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
23
+ if (((_b = configure.props.dataOrigin) == null ? void 0 : _b.optionValueSetType) === "beanName") {
24
+ const backendUrl = pageContext.backendUrl;
25
+ const systemCode = pageContext.systemCode;
26
+ const functionCodes = getPermissionCodes(configure, pageContext);
27
+ let path = getBaseUrl(backendUrl, pageContext.isTest) + "/dsc/commons/load-tree-node";
28
+ path = getRealRestApiPath(path, systemCode, backendUrl, pageContext.isTest);
29
+ const param = {
30
+ pageCode: pageContext.code,
31
+ pageVersion: pageContext.version,
32
+ tableName: pageContext.tableName,
33
+ systemCode,
34
+ functionCode: functionCodes,
35
+ beanName: pageContext.beanName
36
+ };
37
+ if (loadParams) {
38
+ Object.assign(param, loadParams);
39
+ }
40
+ http.post(path, param).then((data) => {
41
+ resolve(data);
42
+ });
43
+ } else {
44
+ const runtimeInfo = configure.runtime ? configure.runtime : {};
45
+ const designProperty = runtimeInfo.props;
46
+ if (designProperty && designProperty.staticData) {
47
+ resolve(designProperty.staticData);
48
+ } else {
49
+ resolve([]);
50
+ }
51
+ }
30
52
  } else {
31
- const i2 = (s.runtime ? s.runtime : {}).props;
32
- i2 && i2.staticData ? a2(i2.staticData) : a2([]);
53
+ resolve([]);
33
54
  }
34
- else a2([]);
35
55
  });
36
56
  }
37
57
  export {
38
- r as getMenuTreeData
58
+ getMenuTreeData
39
59
  };
@@ -1,4 +1,4 @@
1
- import t from "./button-runtime.vue2.js";
1
+ import _sfc_main from "./button-runtime.vue2.js";
2
2
  export {
3
- t as default
3
+ _sfc_main as default
4
4
  };
@@ -1,24 +1,86 @@
1
- import { defineComponent as e, ref as t, onMounted as i, nextTick as n, resolveComponent as l, createElementBlock as a, openBlock as o, createVNode as u, unref as c, normalizeStyle as p, normalizeClass as r, withCtx as s, createCommentVNode as v, createBlock as g, Fragment as d, createTextVNode as y, toDisplayString as f } from "vue";
2
- import { SuperIcon as m } from "agilebuilder-ui";
3
- import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/events/event-util.js";
4
- import { $t as C } from "../../../../utils/i18n-util.js";
5
- const b = { class: "page-runtime-header-btn" }, V = e({ __name: "button-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: V2 }) {
6
- const T = e2, _ = T.configure.runtime ? T.configure.runtime : {}, h = t(_.props ? _.props : {}), z = _.style, j = _.class;
7
- function P() {
8
- return void 0 !== T.pageContext.canClick && void 0 !== T.pageContext.clickUuid && (!T.pageContext.canClick && T.pageContext.clickUuid === T.configure.uuid);
9
- }
10
- const R = t(null);
11
- return i(() => {
12
- n(() => {
13
- k(null, T.pageContext, T.configure, { componentRef: R.value, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
1
+ import { defineComponent, ref, onMounted, nextTick, resolveComponent, createElementBlock, openBlock, createVNode, unref, normalizeStyle, normalizeClass, withCtx, createCommentVNode, createBlock, Fragment, createTextVNode, toDisplayString } from "vue";
2
+ import { SuperIcon } from "agilebuilder-ui";
3
+ import { handleAfterInitEvent, handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { $t } from "../../../../utils/i18n-util.js";
5
+ const _hoisted_1 = { class: "page-runtime-header-btn" };
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "button-runtime",
8
+ props: {
9
+ pageContext: {},
10
+ configure: {}
11
+ },
12
+ setup(__props, { expose: __expose }) {
13
+ const props = __props;
14
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
15
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
16
+ const runtimeStyle = runtimeInfo.style;
17
+ const runtimeClass = runtimeInfo.class;
18
+ function isDisable() {
19
+ return designProperty.value.state === "disabled" || isButtongLoading();
20
+ }
21
+ function isButtongLoading() {
22
+ return props.pageContext.canClick !== void 0 && props.pageContext.clickUuid !== void 0 ? !props.pageContext.canClick && props.pageContext.clickUuid === props.configure.uuid : false;
23
+ }
24
+ const componentRef = ref(null);
25
+ onMounted(() => {
26
+ nextTick(() => {
27
+ handleAfterInitEvent(null, props.pageContext, props.configure, {
28
+ componentRef: componentRef.value,
29
+ entity: props.pageContext.entity.data,
30
+ pageData: props.pageContext.entity.page
31
+ });
32
+ });
33
+ });
34
+ function triggerButtonClick() {
35
+ if (componentRef.value) {
36
+ componentRef.value.$el.click();
37
+ }
38
+ }
39
+ __expose({
40
+ click: triggerButtonClick
14
41
  });
15
- }), V2({ click: function() {
16
- R.value && R.value.$el.click();
17
- } }), (e3, t2) => {
18
- const i2 = l("el-button");
19
- return o(), a("span", b, [u(i2, { ref_key: "componentRef", ref: R, disabled: "disabled" === h.value.state || P(), class: r(c(j)), style: p(c(z)), type: h.value.type, size: h.value.size, text: h.value.text, round: h.value.round, plain: h.value.plain, loading: P(), onClick: t2[0] || (t2[0] = (t3) => c(x)(t3, e3.pageContext, e3.configure, "click")) }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (o(), a(d, { key: 0 }, [y(f(c(C)(h.value.title)) + " ", 1), h.value.iconValue ? (o(), a(d, { key: 0 }, [y("   ")], 64)) : v("", true)], 64)) : v("", true), h.value.iconType && h.value.iconValue ? (o(), g(c(m), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : v("", true), h.value.title && "right" != h.value.iconPosition ? (o(), a(d, { key: 2 }, [h.value.iconValue ? (o(), a(d, { key: 0 }, [y("   ")], 64)) : v("", true), y(" " + f(c(C)(h.value.title)), 1)], 64)) : v("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain", "loading"])]);
20
- };
21
- } });
42
+ return (_ctx, _cache) => {
43
+ const _component_el_button = resolveComponent("el-button");
44
+ return openBlock(), createElementBlock("span", _hoisted_1, [
45
+ createVNode(_component_el_button, {
46
+ ref_key: "componentRef",
47
+ ref: componentRef,
48
+ disabled: isDisable(),
49
+ class: normalizeClass(unref(runtimeClass)),
50
+ style: normalizeStyle(unref(runtimeStyle)),
51
+ type: designProperty.value.type,
52
+ size: designProperty.value.size,
53
+ text: designProperty.value.text,
54
+ round: designProperty.value.round,
55
+ plain: designProperty.value.plain,
56
+ loading: isButtongLoading(),
57
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
58
+ }, {
59
+ default: withCtx(() => [
60
+ designProperty.value.title && designProperty.value.iconPosition == "right" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
61
+ createTextVNode(toDisplayString(unref($t)(designProperty.value.title)) + " ", 1),
62
+ designProperty.value.iconValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
63
+ createTextVNode("   ")
64
+ ], 64)) : createCommentVNode("", true)
65
+ ], 64)) : createCommentVNode("", true),
66
+ designProperty.value.iconType && designProperty.value.iconValue ? (openBlock(), createBlock(unref(SuperIcon), {
67
+ key: 1,
68
+ iconType: designProperty.value.iconType,
69
+ iconValue: designProperty.value.iconValue
70
+ }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
71
+ designProperty.value.title && designProperty.value.iconPosition != "right" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
72
+ designProperty.value.iconValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
73
+ createTextVNode("   ")
74
+ ], 64)) : createCommentVNode("", true),
75
+ createTextVNode(" " + toDisplayString(unref($t)(designProperty.value.title)), 1)
76
+ ], 64)) : createCommentVNode("", true)
77
+ ]),
78
+ _: 1
79
+ }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain", "loading"])
80
+ ]);
81
+ };
82
+ }
83
+ });
22
84
  export {
23
- V as default
85
+ _sfc_main as default
24
86
  };
@@ -1,4 +1,4 @@
1
- import t from "./buttongroup-runtime.vue2.js";
1
+ import _sfc_main from "./buttongroup-runtime.vue2.js";
2
2
  export {
3
- t as default
3
+ _sfc_main as default
4
4
  };
@@ -1,17 +1,49 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u, createBlock as r, openBlock as a, normalizeStyle as i, normalizeClass as l, unref as p, withCtx as s, createElementBlock as g, Fragment as c, renderList as f } from "vue";
2
- import m from "../../object-render.vue.js";
3
- import { handleAfterInitEvent as x } from "../../../../utils/events/event-util.js";
4
- const y = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
5
- const y2 = e2, C = y2.configure.runtime ? y2.configure.runtime : {}, d = C.style, v = C.class, _ = t(null);
6
- return n(() => {
7
- o(() => {
8
- x(null, y2.pageContext, y2.configure, { componentRef: _.value, entity: y2.pageContext.entity.data, pageData: y2.pageContext.entity.page });
1
+ import { defineComponent, ref, onMounted, nextTick, resolveComponent, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, createElementBlock, Fragment, renderList } from "vue";
2
+ import _sfc_main$1 from "../../object-render.vue.js";
3
+ import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "buttongroup-runtime",
6
+ props: {
7
+ pageContext: {},
8
+ configure: {}
9
+ },
10
+ setup(__props) {
11
+ const props = __props;
12
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
13
+ const runtimeStyle = runtimeInfo.style;
14
+ const runtimeClass = runtimeInfo.class;
15
+ const componentRef = ref(null);
16
+ onMounted(() => {
17
+ nextTick(() => {
18
+ handleAfterInitEvent(null, props.pageContext, props.configure, {
19
+ componentRef: componentRef.value,
20
+ entity: props.pageContext.entity.data,
21
+ pageData: props.pageContext.entity.page
22
+ });
23
+ });
9
24
  });
10
- }), (e3, t2) => {
11
- const n2 = u("el-button-group");
12
- return a(), r(n2, { ref_key: "componentRef", ref: _, class: l(p(v)), style: i(p(d)) }, { default: s(() => [(a(true), g(c, null, f(e3.configure.items, (t3, n3) => (a(), r(m, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
13
- };
14
- } });
25
+ return (_ctx, _cache) => {
26
+ const _component_el_button_group = resolveComponent("el-button-group");
27
+ return openBlock(), createBlock(_component_el_button_group, {
28
+ ref_key: "componentRef",
29
+ ref: componentRef,
30
+ class: normalizeClass(unref(runtimeClass)),
31
+ style: normalizeStyle(unref(runtimeStyle))
32
+ }, {
33
+ default: withCtx(() => [
34
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
35
+ return openBlock(), createBlock(_sfc_main$1, {
36
+ key: element.uuid,
37
+ pageContext: _ctx.pageContext,
38
+ configure: element
39
+ }, null, 8, ["pageContext", "configure"]);
40
+ }), 128))
41
+ ]),
42
+ _: 1
43
+ }, 8, ["class", "style"]);
44
+ };
45
+ }
46
+ });
15
47
  export {
16
- y as default
48
+ _sfc_main as default
17
49
  };
@@ -1,4 +1,4 @@
1
- import o from "./dropdown-runtime.vue2.js";
1
+ import _sfc_main from "./dropdown-runtime.vue2.js";
2
2
  export {
3
- o as default
3
+ _sfc_main as default
4
4
  };
@@ -1,41 +1,137 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, resolveComponent as u, createBlock as i, openBlock as a, normalizeStyle as r, normalizeClass as p, unref as s, withCtx as c, createElementBlock as g, Fragment as f, createTextVNode as m, toDisplayString as d, createVNode as v, renderList as y } from "vue";
2
- import { ArrowDown as b } from "@element-plus/icons-vue";
3
- import { formatVariableValue as C } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as k, handleEvent as x, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
5
- import { $t as w } from "../../../../utils/i18n-util.js";
6
- const z = { key: 1 }, h = e({ __name: "dropdown-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
- const h2 = e2, j = h2.configure.runtime ? h2.configure.runtime : {}, T = j.style, A = j.class, B = t(j.props ? j.props : {});
8
- let O = null;
9
- const R = (h2.configure.props && h2.configure.props.dataOrigin ? h2.configure.props.dataOrigin : {}).optionValueSetType;
10
- function S(e3) {
11
- _(e3, h2.pageContext, h2.configure, e3 ? "menuShow" : "menuHidden");
12
- }
13
- O = "variable" == R ? l(() => {
14
- let e3;
15
- const t2 = C(h2.pageContext, B.value.menuField);
16
- if (t2 && Array.isArray(t2)) {
17
- e3 = t2;
18
- for (let t3 = 0; t3 < e3.length; t3++) {
19
- const l2 = e3[t3];
20
- l2.label || (l2.label = t3 + 1);
21
- }
1
+ import { defineComponent, ref, computed, onMounted, nextTick, resolveComponent, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, renderList } from "vue";
2
+ import { ArrowDown } from "@element-plus/icons-vue";
3
+ import { formatVariableValue } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent, handleEvent, handleFormEvent } from "../../../../utils/events/event-util.js";
5
+ import { $t } from "../../../../utils/i18n-util.js";
6
+ const _hoisted_1 = { key: 1 };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "dropdown-runtime",
9
+ props: {
10
+ pageContext: {},
11
+ configure: {}
12
+ },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
16
+ const runtimeStyle = runtimeInfo.style;
17
+ const runtimeClass = runtimeInfo.class;
18
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
19
+ let listOptions = null;
20
+ const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
21
+ const valueType = dataOrigin.optionValueSetType;
22
+ if (valueType == "variable") {
23
+ listOptions = computed(() => {
24
+ let options;
25
+ const menuValues = formatVariableValue(props.pageContext, designProperty.value.menuField);
26
+ if (menuValues && Array.isArray(menuValues)) {
27
+ options = menuValues;
28
+ for (let i = 0; i < options.length; i++) {
29
+ const option = options[i];
30
+ if (!option.label) {
31
+ option.label = i + 1;
32
+ }
33
+ }
34
+ } else {
35
+ const strs = (menuValues ? menuValues + "" : "").trim().split(",");
36
+ options = [];
37
+ for (let str of strs) {
38
+ options.push({
39
+ value: str,
40
+ label: str
41
+ });
42
+ }
43
+ }
44
+ return options;
45
+ });
22
46
  } else {
23
- const l2 = (t2 ? t2 + "" : "").trim().split(",");
24
- e3 = [];
25
- for (let t3 of l2) e3.push({ value: t3, label: t3 });
47
+ listOptions = ref(designProperty.value.options ? designProperty.value.options : []);
26
48
  }
27
- return e3;
28
- }) : t(B.value.options ? B.value.options : []);
29
- const V = t(null);
30
- return n(() => {
31
- o(() => {
32
- k(null, h2.pageContext, h2.configure, { componentRef: V.value, entity: h2.pageContext.entity.data, pageData: h2.pageContext.entity.page });
49
+ function visibleChange(isVisible) {
50
+ if (isVisible) {
51
+ handleFormEvent(isVisible, props.pageContext, props.configure, "menuShow");
52
+ } else {
53
+ handleFormEvent(isVisible, props.pageContext, props.configure, "menuHidden");
54
+ }
55
+ }
56
+ const componentRef = ref(null);
57
+ onMounted(() => {
58
+ nextTick(() => {
59
+ handleAfterInitEvent(null, props.pageContext, props.configure, {
60
+ componentRef: componentRef.value,
61
+ entity: props.pageContext.entity.data,
62
+ pageData: props.pageContext.entity.page
63
+ });
64
+ });
33
65
  });
34
- }), (e3, t2) => {
35
- const l2 = u("el-button"), n2 = u("el-icon"), o2 = u("el-text"), C2 = u("el-dropdown-item"), k2 = u("el-dropdown-menu"), _2 = u("el-dropdown");
36
- return a(), i(_2, { ref_key: "componentRef", ref: V, class: p(s(A)), style: r(s(T)), placement: B.value.placement, "split-button": B.value.splitButton, disabled: "disabled" === B.value.state, type: B.value.buttonType, size: B.value.size, trigger: B.value.trigger, onVisibleChange: S }, { dropdown: c(() => [v(k2, null, { default: c(() => [(a(true), g(f, null, y(s(O), (t3, l3) => (a(), i(C2, { key: t3, onClick: (l4) => s(x)(l4, e3.pageContext, e3.configure, "menuClick", { menuItem: t3 }) }, { default: c(() => [m(d(s(w)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: c(() => ["button" === B.value.triggerElement ? (a(), g(f, { key: 0 }, [B.value.splitButton ? (a(), g("span", z, d(B.value.title), 1)) : (a(), i(l2, { key: 0, size: B.value.size, type: B.value.buttonType, onClick: t2[0] || (t2[0] = (t3) => s(x)(t3, e3.pageContext, e3.configure, "menuClick")) }, { default: c(() => [m(d(s(w)(B.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), i(o2, { key: 1 }, { default: c(() => [m(d(s(w)(B.value.title)) + " ", 1), v(n2, null, { default: c(() => [v(s(b))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
37
- };
38
- } });
66
+ return (_ctx, _cache) => {
67
+ const _component_el_button = resolveComponent("el-button");
68
+ const _component_el_icon = resolveComponent("el-icon");
69
+ const _component_el_text = resolveComponent("el-text");
70
+ const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
71
+ const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
72
+ const _component_el_dropdown = resolveComponent("el-dropdown");
73
+ return openBlock(), createBlock(_component_el_dropdown, {
74
+ ref_key: "componentRef",
75
+ ref: componentRef,
76
+ class: normalizeClass(unref(runtimeClass)),
77
+ style: normalizeStyle(unref(runtimeStyle)),
78
+ placement: designProperty.value.placement,
79
+ "split-button": designProperty.value.splitButton,
80
+ disabled: designProperty.value.state === "disabled",
81
+ type: designProperty.value.buttonType,
82
+ size: designProperty.value.size,
83
+ trigger: designProperty.value.trigger,
84
+ onVisibleChange: visibleChange
85
+ }, {
86
+ dropdown: withCtx(() => [
87
+ createVNode(_component_el_dropdown_menu, null, {
88
+ default: withCtx(() => [
89
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(listOptions), (item, index) => {
90
+ return openBlock(), createBlock(_component_el_dropdown_item, {
91
+ key: item,
92
+ onClick: ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "menuClick", { menuItem: item })
93
+ }, {
94
+ default: withCtx(() => [
95
+ createTextVNode(toDisplayString(unref($t)(item.label)), 1)
96
+ ]),
97
+ _: 2
98
+ }, 1032, ["onClick"]);
99
+ }), 128))
100
+ ]),
101
+ _: 1
102
+ })
103
+ ]),
104
+ default: withCtx(() => [
105
+ designProperty.value.triggerElement === "button" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
106
+ !designProperty.value.splitButton ? (openBlock(), createBlock(_component_el_button, {
107
+ key: 0,
108
+ size: designProperty.value.size,
109
+ type: designProperty.value.buttonType,
110
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "menuClick"))
111
+ }, {
112
+ default: withCtx(() => [
113
+ createTextVNode(toDisplayString(unref($t)(designProperty.value.title)), 1)
114
+ ]),
115
+ _: 1
116
+ }, 8, ["size", "type"])) : (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(designProperty.value.title), 1))
117
+ ], 64)) : (openBlock(), createBlock(_component_el_text, { key: 1 }, {
118
+ default: withCtx(() => [
119
+ createTextVNode(toDisplayString(unref($t)(designProperty.value.title)) + " ", 1),
120
+ createVNode(_component_el_icon, null, {
121
+ default: withCtx(() => [
122
+ createVNode(unref(ArrowDown))
123
+ ]),
124
+ _: 1
125
+ })
126
+ ]),
127
+ _: 1
128
+ }))
129
+ ]),
130
+ _: 1
131
+ }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
132
+ };
133
+ }
134
+ });
39
135
  export {
40
- h as default
136
+ _sfc_main as default
41
137
  };
@@ -1,4 +1,4 @@
1
- import e from "./exportpdf-runtime.vue2.js";
1
+ import _sfc_main from "./exportpdf-runtime.vue2.js";
2
2
  export {
3
- e as default
3
+ _sfc_main as default
4
4
  };
@@ -1,6 +1,20 @@
1
- import { defineComponent as e, createBlock as t, openBlock as o } from "vue";
2
- import n from "../button/button-runtime.vue2.js";
3
- const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (e3, r2) => (o(), t(n, { configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"])) });
1
+ import { defineComponent, createBlock, openBlock } from "vue";
2
+ import _sfc_main$1 from "../button/button-runtime.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "exportpdf-runtime",
5
+ props: {
6
+ pageContext: {},
7
+ configure: {}
8
+ },
9
+ setup(__props) {
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createBlock(_sfc_main$1, {
12
+ configure: _ctx.configure,
13
+ pageContext: _ctx.pageContext
14
+ }, null, 8, ["configure", "pageContext"]);
15
+ };
16
+ }
17
+ });
4
18
  export {
5
- r as default
19
+ _sfc_main as default
6
20
  };
@@ -1,4 +1,4 @@
1
- import e from "./printlabel-runtime.vue2.js";
1
+ import _sfc_main from "./printlabel-runtime.vue2.js";
2
2
  export {
3
- e as default
3
+ _sfc_main as default
4
4
  };