super-page-runtime 2.2.29-tmp2 → 2.2.32

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 (167) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +5 -7
  2. package/dist/es/assets/chart-themes/theme1.js +2 -6
  3. package/dist/es/assets/chart-themes/theme2.js +2 -6
  4. package/dist/es/assets/chart-themes/theme3.js +2 -6
  5. package/dist/es/components/runtime/utils/api/api-util.js +4 -7
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +135 -443
  7. package/dist/es/components/runtime/utils/assemblys-config.js +13 -369
  8. package/dist/es/components/runtime/utils/barcode-util.js +9 -33
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +122 -306
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -68
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +68 -152
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +46 -124
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +36 -99
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +224 -522
  15. package/dist/es/components/runtime/utils/common-util.js +76 -156
  16. package/dist/es/components/runtime/utils/eventBus.js +3 -8
  17. package/dist/es/components/runtime/utils/events/event-util.js +362 -775
  18. package/dist/es/components/runtime/utils/events/print-label.js +72 -140
  19. package/dist/es/components/runtime/utils/events/standard-event.js +808 -2320
  20. package/dist/es/components/runtime/utils/events/validator-util.js +224 -560
  21. package/dist/es/components/runtime/utils/form/date-shortcuts.js +28 -88
  22. package/dist/es/components/runtime/utils/form/scan-util.js +61 -162
  23. package/dist/es/components/runtime/utils/global-refs.js +53 -84
  24. package/dist/es/components/runtime/utils/i18n-util.js +11 -20
  25. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +6 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
  27. package/dist/es/components/runtime/utils/page-helper-util.js +280 -660
  28. package/dist/es/components/runtime/utils/page-init-util.js +141 -406
  29. package/dist/es/components/runtime/utils/page-permission-util.js +22 -531
  30. package/dist/es/components/runtime/utils/page-store.js +23 -68
  31. package/dist/es/components/runtime/utils/store-util.js +9 -13
  32. package/dist/es/components/runtime/utils/store.js +2 -2
  33. package/dist/es/components/runtime/utils/table-utils.d.ts +4 -0
  34. package/dist/es/components/runtime/utils/table-utils.js +40 -81
  35. package/dist/es/components/runtime/utils/tree-utils.js +17 -37
  36. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +21 -83
  38. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -46
  40. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +2 -2
  41. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +36 -132
  42. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +2 -2
  43. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +4 -18
  44. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -107
  46. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +50 -198
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +12 -42
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +7 -60
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +52 -203
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +2 -2
  54. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +4 -4
  55. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +46 -162
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +32 -109
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +43 -166
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +32 -117
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +32 -118
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +246 -597
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +4 -42
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +8 -62
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +29 -160
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -62
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +212 -594
  75. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +29 -139
  76. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +21 -125
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
  79. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +16 -102
  80. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
  81. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +18 -81
  83. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -82
  85. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
  86. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -86
  87. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +21 -79
  89. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
  90. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -61
  91. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -37
  93. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  94. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +38 -127
  95. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
  96. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +28 -76
  97. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
  98. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +61 -178
  99. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +317 -810
  100. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
  101. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +262 -635
  102. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
  103. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
  104. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +40 -115
  105. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  106. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +56 -215
  107. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +3 -21
  108. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
  110. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +42 -154
  111. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +34 -98
  112. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
  113. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +52 -200
  115. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +68 -239
  117. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +31 -109
  119. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +21 -59
  121. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
  122. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +56 -188
  123. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +22 -103
  125. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +57 -245
  127. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
  128. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +32 -174
  129. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
  130. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -107
  131. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -4
  132. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
  133. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
  134. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +64 -194
  135. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  136. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +88 -249
  137. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  138. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +80 -263
  139. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
  140. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +13 -57
  141. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
  142. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +30 -155
  143. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
  144. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +40 -129
  145. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  146. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +22 -107
  147. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +89 -188
  148. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +2 -2
  149. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +133 -272
  150. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
  151. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
  152. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +18 -46
  153. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
  154. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +21 -49
  155. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
  156. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +20 -58
  157. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
  158. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +16 -53
  159. package/dist/es/components/runtime/views/home-chart.vue.js +41 -160
  160. package/dist/es/components/runtime/views/home-chart.vue2.js +2 -2
  161. package/dist/es/components/runtime/views/super-page-dialog.vue.js +20 -139
  162. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
  163. package/dist/es/components/runtime/views/super-page.vue.js +226 -754
  164. package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
  165. package/dist/es/i18n/langs/cn.js +2 -55
  166. package/dist/es/i18n/langs/en.js +2 -55
  167. package/package.json +2 -2
@@ -14,3 +14,7 @@ export declare function expressJump(pageContext: any, configure: any, linkPage:
14
14
  show: any;
15
15
  toPage: any;
16
16
  };
17
+ export declare function getDistanceToAppContainer(tableDivRef: any): {
18
+ distanceToTop: number;
19
+ distanceToBottom: number;
20
+ };
@@ -1,92 +1,51 @@
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 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);
4
+ import t from "./eventBus.js";
5
+ import { getPermissionCodes as e } from "./page-init-util.js";
6
+ import { getCustomFunc as i } from "./events/event-util.js";
7
+ import { $t as o } from "./i18n-util.js";
8
+ import { ExpressionEvaluator as s } from "../views/assemblys/chart/table/chart-table-util.js";
9
+ function n(e2) {
10
+ const i2 = e2.pageContext && e2.pageContext.code;
11
+ t.$emit(i2 + "_open-dialog", e2);
13
12
  }
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;
13
+ function r(t2, e2) {
14
+ const i2 = t2.tableName;
15
+ if (!e2 && i2) return i2;
16
+ let o2;
17
+ return t2.tableRuntimes && e2 && t2.tableRuntimes[e2] && (o2 = JSON.parse(t2.tableRuntimes[e2].configure)), o2 && o2.props && o2.props.dataOrigin ? o2.props.dataOrigin.tableName : null;
24
18
  }
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
- }
19
+ function u(t2, i2, s2, n2) {
20
+ const r2 = !(!i2.props || !i2.props.base) && i2.props.base.showOperation, u2 = i2.btnList;
21
+ r2 && u2 && u2.forEach((i3) => {
22
+ const r3 = {}, u3 = Object.assign({}, i3.props.base);
23
+ if ("custom" === i3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === i3.isPermission || i3.isPermission + "" == "true") {
24
+ const o2 = e(i3, t2);
25
+ o2 && (u3.permission = o2);
26
+ }
27
+ u3.label = o(u3.title), u3.sourceButton = { uuid: i3.uuid }, r3.props = u3, void 0 !== n2 && (r3.onClick = n2(i3)), s2.push(r3);
28
+ });
53
29
  }
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;
30
+ function l(t2, e2, o2, n2) {
31
+ let r2;
32
+ const u2 = o2 == null ? void 0 : o2.some((o3) => {
33
+ let u3 = false;
34
+ if (o3.scopeFunc) {
35
+ const s2 = i(t2, o3.scopeFunc);
36
+ if (s2) {
37
+ s2.apply(s2, [{ pageContext: t2, configureObj: e2, row: n2 }]) && (u3 = true);
76
38
  }
77
- } else {
78
- canShow = true;
79
- }
80
- if (canShow) {
81
- toPage = item;
82
- return true;
83
- }
39
+ } else if (o3.showCondition && o3.showCondition.length > 0) {
40
+ s.evaluate(t2, o3.showCondition, n2) && (u3 = true);
41
+ } else u3 = true;
42
+ if (u3) return r2 = o3, true;
84
43
  });
85
- return { show, toPage };
44
+ return { show: u2, toPage: r2 };
86
45
  }
87
46
  export {
88
- expressJump,
89
- getOperationButtons,
90
- getTableNameByTableUuid,
91
- popupToPage
47
+ l as expressJump,
48
+ u as getOperationButtons,
49
+ r as getTableNameByTableUuid,
50
+ n as popupToPage
92
51
  };
@@ -1,7 +1,7 @@
1
- import { getBaseUrl, getRealRestApiPath } from "./common-util.js";
2
- import http from "agilebuilder-ui/src/utils/request";
1
+ import { getBaseUrl as i, getRealRestApiPath as e } from "./common-util.js";
2
+ import t from "agilebuilder-ui/src/utils/request";
3
3
  import "./eventBus.js";
4
- import { getPermissionCodes } from "./page-init-util.js";
4
+ import { getPermissionCodes as o } 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,44 +16,24 @@ 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 getMenuTreeData(pageContext, configure, parentNodeId, node, loadParams) {
20
- return new Promise((resolve, reject) => {
19
+ function r(r2, s, a, l, u) {
20
+ return new Promise((a2, l2) => {
21
21
  var _a, _b;
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
- }
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
+ });
52
30
  } else {
53
- resolve([]);
31
+ const i2 = (s.runtime ? s.runtime : {}).props;
32
+ i2 && i2.staticData ? a2(i2.staticData) : a2([]);
54
33
  }
34
+ else a2([]);
55
35
  });
56
36
  }
57
37
  export {
58
- getMenuTreeData
38
+ r as getMenuTreeData
59
39
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./button-runtime.vue2.js";
1
+ import t from "./button-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ t as default
4
4
  };
@@ -1,86 +1,24 @@
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
41
- });
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
- };
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);
82
9
  }
83
- });
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 });
14
+ });
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
+ } });
84
22
  export {
85
- _sfc_main as default
23
+ V as default
86
24
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./buttongroup-runtime.vue2.js";
1
+ import t from "./buttongroup-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ t as default
4
4
  };
@@ -1,49 +1,17 @@
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
- });
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 });
24
9
  });
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
- });
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
+ } });
47
15
  export {
48
- _sfc_main as default
16
+ y as default
49
17
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./dropdown-runtime.vue2.js";
1
+ import o from "./dropdown-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ o as default
4
4
  };
@@ -1,137 +1,41 @@
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
- });
46
- } else {
47
- listOptions = ref(designProperty.value.options ? designProperty.value.options : []);
48
- }
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");
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);
54
21
  }
22
+ } else {
23
+ const l2 = (t2 ? t2 + "" : "").trim().split(",");
24
+ e3 = [];
25
+ for (let t3 of l2) e3.push({ value: t3, label: t3 });
55
26
  }
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
- });
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 });
65
33
  });
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
- });
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
+ } });
135
39
  export {
136
- _sfc_main as default
40
+ h as default
137
41
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./exportpdf-runtime.vue2.js";
1
+ import e from "./exportpdf-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,20 +1,6 @@
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
- });
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"])) });
18
4
  export {
19
- _sfc_main as default
5
+ r as default
20
6
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./printlabel-runtime.vue2.js";
1
+ import e from "./printlabel-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };