super-page-runtime 2.3.46 → 2.3.47-sit2

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 (177) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  2. package/dist/es/components/runtime/utils/events/event-util.js +145 -137
  3. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  4. package/dist/es/components/runtime/utils/events/standard-event.js +33 -33
  5. package/dist/es/components/runtime/utils/events/validator-util.js +260 -241
  6. package/dist/es/components/runtime/utils/page-init-util.js +45 -47
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime2.vue.js} +2 -2
  10. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
  11. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +2 -2
  12. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +2 -2
  14. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime2.vue.js} +3 -3
  16. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime2.vue.js} +3 -3
  18. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  21. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +7 -9
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
  25. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +9 -9
  26. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
  28. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
  30. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
  31. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
  32. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
  33. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
  34. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
  35. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +9 -9
  41. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  42. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  43. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
  44. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
  46. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
  47. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  51. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +2 -2
  52. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +2 -2
  54. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime2.vue.js} +2 -2
  56. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
  58. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -4
  60. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
  61. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
  63. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +2 -2
  64. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +5 -5
  66. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  68. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  69. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
  70. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
  71. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +9 -11
  72. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
  73. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
  74. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
  75. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
  76. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  78. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  79. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
  80. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +2 -2
  81. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
  83. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
  84. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
  85. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  86. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
  87. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +2 -2
  88. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
  89. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +2 -2
  90. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
  91. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +5 -7
  92. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
  93. package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -5
  94. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
  95. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +2 -2
  96. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
  97. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +80 -0
  98. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  99. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +3 -5
  100. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
  101. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +6 -8
  102. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  103. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
  104. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
  105. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  107. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  108. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +7 -8
  110. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
  111. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
  113. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
  115. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +3 -3
  116. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  117. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime2.vue.js} +2 -2
  118. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
  119. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +10 -12
  120. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  121. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
  122. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  123. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  125. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  127. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
  128. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
  129. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
  130. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
  131. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  132. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
  133. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
  134. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
  135. package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
  136. package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -16
  137. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  138. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  139. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +98 -99
  140. package/dist/es/i18n/langs/cn.js +1 -1
  141. package/dist/es/i18n/langs/en.js +1 -1
  142. package/dist/es/style.css +85 -85
  143. package/package.json +2 -2
  144. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
  145. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
  146. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
  147. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
  148. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
  149. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
  150. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
  151. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
  152. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
  153. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
  154. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
  155. /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
  156. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
  157. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
  158. /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
  159. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
  160. /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
  161. /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
  162. /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
  163. /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
  164. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
  165. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
  166. /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
  167. /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
  168. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
  169. /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
  170. /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
  171. /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
  172. /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
  173. /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
  174. /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
  175. /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
  176. /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
  177. /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
@@ -0,0 +1,96 @@
1
+ import { defineComponent as e, ref as n, watch as t, onMounted as o, nextTick as a, resolveComponent as i, openBlock as c, createBlock as u, unref as l, normalizeClass as r, normalizeStyle as s, withCtx as p, createElementBlock as f, Fragment as g, renderList as d, createCommentVNode as m, createElementVNode as b, toDisplayString as y, withModifiers as v, createTextVNode as h } from "vue";
2
+ import { ElTabs as x, ElTabPane as C } from "element-plus";
3
+ import T from "../../object-render.vue.js";
4
+ import { SuperIcon as k } from "agilebuilder-ui";
5
+ import { handleAfterInitEvent as w, handleEvent as E } from "../../../../utils/events/event-util.js";
6
+ import { $t as O } from "../../../../utils/i18n-util.js";
7
+ import { isPromise as N } from "../../../../utils/page-helper-util.js";
8
+ const P = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
9
+ const V = e2, _ = n(""), A = n([]);
10
+ V.configure.items.forEach((e3) => {
11
+ e3.code || (e3.code = e3.index);
12
+ }), _.value = V.configure.props.defaultOpen ? V.configure.props.defaultOpen : 1;
13
+ const I = n(null), R = V.configure.runtime ? V.configure.runtime : {}, j = R.style, B = R.class, z = R.headerStyle;
14
+ function S(e3, n2) {
15
+ return E(e3, V.pageContext, V.configure, "before-leave", { activeName: e3, oldActiveName: n2 }) ?? true;
16
+ }
17
+ function D(e3, n2) {
18
+ const t2 = { pane: e3, ev: n2 }, o2 = e3.paneName;
19
+ return V.pageContext.activeTab = o2, V.pageContext.activeLabel = t2.label, V.pageContext.workflowOpinion && V.pageContext.workflowOpinion.boxInstance && (o2 === V.configure.items[0].code ? V.pageContext.workflowOpinion.boxInstance.show() : V.pageContext.workflowOpinion.boxInstance.hide()), E(o2, V.pageContext, V.configure, "tab-click", t2);
20
+ }
21
+ function F(e3) {
22
+ const n2 = { paneName: e3 };
23
+ return V.pageContext.activeTab = e3, E(e3, V.pageContext, V.configure, "tab-change", n2);
24
+ }
25
+ function L(e3) {
26
+ const n2 = { paneName: e3 }, t2 = E(e3, V.pageContext, V.configure, "tab-remove", n2);
27
+ N(t2) ? t2.then((n3) => {
28
+ false !== n3 && M(e3);
29
+ }) : false !== t2 && M(e3);
30
+ }
31
+ function M(e3) {
32
+ _.value === e3 && V.configure.items.forEach((n2, t2) => {
33
+ if (n2.code === e3) {
34
+ const e4 = V.configure.items[t2 + 1] || V.configure.items[t2 - 1];
35
+ e4 && void 0 !== e4.code && (_.value = e4.code);
36
+ }
37
+ }), A.value.includes(e3) || A.value.push(e3);
38
+ }
39
+ function U() {
40
+ return E(null, V.pageContext, V.configure, "tab-add");
41
+ }
42
+ function q(e3, n2) {
43
+ const t2 = { paneName: e3, action: n2 };
44
+ return E(e3, V.pageContext, V.configure, "edit", t2);
45
+ }
46
+ function G() {
47
+ const e3 = E(V.configure.items, V.pageContext, V.configure, "tab-reset");
48
+ N(e3) ? e3.then((e4) => {
49
+ A.value = [];
50
+ }) : false !== e3 && (A.value = []);
51
+ }
52
+ return t(A, (e3) => {
53
+ e3 && e3.length > 0 ? e3.forEach((e4) => {
54
+ const n2 = document.getElementById("tab-" + e4);
55
+ n2 && (n2.style.display = "none");
56
+ }) : V.configure.items.forEach((e4) => {
57
+ const n2 = document.getElementById("tab-" + e4.code);
58
+ n2 && (n2.style.display = "");
59
+ });
60
+ }, { deep: true }), o(() => {
61
+ a(() => {
62
+ let e3 = [];
63
+ V.configure.items.forEach((n2) => {
64
+ n2.code && e3.push(document.getElementById("tab-" + n2.code));
65
+ }), w(null, V.pageContext, V.configure, { componentRef: I.value, tabsDom: e3, entity: V.pageContext.entity.data, pageData: V.pageContext.entity.page });
66
+ });
67
+ }), P2({ thisRef: I, activeName: _, hiddenPanes: A, resetTab: G, hiddenTabPanes: function(e3) {
68
+ if (Array.isArray(e3)) {
69
+ const n2 = [];
70
+ e3.forEach((e4) => {
71
+ A.value.includes(e4) || n2.push(e4);
72
+ }), n2.length > 0 && A.value.push(...n2);
73
+ }
74
+ }, showTabPanes: function(e3) {
75
+ Array.isArray(e3) && e3.forEach((e4) => {
76
+ const n2 = A.value.indexOf(e4);
77
+ n2 > -1 && A.value.splice(n2, 1);
78
+ });
79
+ }, showTabPanesOnly: function(e3) {
80
+ const n2 = [];
81
+ V.configure.items.forEach((t2) => {
82
+ e3.includes(t2.code) || n2.push(t2.code);
83
+ }), A.value = [...new Set(n2)];
84
+ }, hiddenTabPanesOnly: function(e3) {
85
+ const n2 = [];
86
+ V.configure.items.forEach((t2) => {
87
+ e3.includes(t2.code) && n2.push(t2.code);
88
+ }), A.value = [...new Set(n2)];
89
+ } }), (n2, t2) => {
90
+ const o2 = i("el-button");
91
+ return c(), u(l(x), { ref_key: "thisRef", ref: I, modelValue: _.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => _.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: s(l(j)), class: r([l(B), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: U, onEdit: q }, { default: p(() => [(c(true), f(g, null, d(V.configure.items, (n3, t3) => (c(), u(l(C), { key: t3, label: n3.label, name: n3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [n3.iconType && n3.iconValue ? (c(), u(l(k), { key: 0, iconType: n3.iconType, iconValue: n3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : m("", true), b("span", { style: s(l(z)) }, y(l(O)(n3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? true) || n3.code === _.value ? (c(true), f(g, { key: 0 }, d(n3.items, (n4) => (c(), u(T, { key: n4.uuid, pageContext: e2.pageContext, configure: n4 }, null, 8, ["pageContext", "configure"]))), 128)) : m("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (c(), u(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (c(), u(o2, { key: 0, type: "text", circle: "", onClick: v(G, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || l(O)("superPageRuntimeMessage.reset")), 1)]), _: 1 })) : m("", true)]), _: 1 })) : m("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
+ };
93
+ } });
94
+ export {
95
+ P as default
96
+ };
@@ -1,4 +1,4 @@
1
- import o from "./tools-runtime.vue2.js";
1
+ import o from "./tools-runtime2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = t(o, [["__scopeId", "data-v-a9801c3f"]]);
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as o, onMounted as i, nextTick as n, onUnmounted as l, resolveComponent as a, createElementBlock as u, openBlock as s, createElementVNode as f, createBlock as r, createCommentVNode as v, withCtx as g, normalizeStyle as p, normalizeClass as c, unref as d, Fragment as m, renderList as x } from "vue";
1
+ import { defineComponent as e, ref as t, computed as o, onMounted as i, nextTick as n, onUnmounted as l, resolveComponent as a, openBlock as u, createElementBlock as s, createElementVNode as f, createBlock as r, withCtx as v, normalizeStyle as g, normalizeClass as p, unref as c, Fragment as d, renderList as m, createCommentVNode as x } from "vue";
2
2
  import y from "../../object-render.vue.js";
3
3
  import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
4
4
  /* empty css */
@@ -39,7 +39,7 @@ const k = { "data-v": "1.0.0", class: "amb-widget-tools-parent" }, w = { ref: "a
39
39
  D && B.value && (D.unobserve(B.value), D.disconnect());
40
40
  }), (e3, t2) => {
41
41
  const o2 = a("el-affix");
42
- return s(), u("div", null, [f("div", { ref_key: "referenceDivRef", ref: B, style: { height: "0" } }, null, 512), q.value && O.value ? (s(), r(C, { key: 0, position: E.value, offset: F.value }, { default: g(() => [f("div", k, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : $.value && O.value ? (s(), r(o2, { key: 1, position: E.value, offset: F.value }, { default: g(() => [f("div", w, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : O.value ? (s(), u("div", R, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : v("", true)]);
42
+ return u(), s("div", null, [f("div", { ref_key: "referenceDivRef", ref: B, style: { height: "0" } }, null, 512), q.value && O.value ? (u(), r(C, { key: 0, position: E.value, offset: F.value }, { default: v(() => [f("div", k, [f("div", { class: p(["amb-widget-container-tool amb-widget-tools", c(A)]), style: g(Y.value), ref_key: "thisRef", ref: h }, [(u(true), s(d, null, m(_2.configure.items, (e4) => (u(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : $.value && O.value ? (u(), r(o2, { key: 1, position: E.value, offset: F.value }, { default: v(() => [f("div", w, [f("div", { class: p(["amb-widget-container-tool amb-widget-tools", c(A)]), style: g(Y.value), ref_key: "thisRef", ref: h }, [(u(true), s(d, null, m(_2.configure.items, (e4) => (u(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : O.value ? (u(), s("div", R, [f("div", { class: p(["amb-widget-container-tool amb-widget-tools", c(A)]), style: g(Y.value), ref_key: "thisRef", ref: h }, [(u(true), s(d, null, m(_2.configure.items, (e4) => (u(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : x("", true)]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -1,4 +1,4 @@
1
- import e from "./barcode-runtime.vue2.js";
1
+ import e from "./barcode-runtime2.vue.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as r, onMounted as a, watch as o, resolveComponent as l, createBlock as n, openBlock as u, normalizeStyle as i, normalizeClass as s, unref as c, withCtx as p, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
1
+ import { defineComponent as e, computed as t, ref as a, onMounted as r, watch as o, resolveComponent as l, openBlock as u, createBlock as n, normalizeStyle as i, unref as s, normalizeClass as p, withCtx as c, createElementBlock as m, toDisplayString as f, createCommentVNode as g } from "vue";
2
2
  import d from "qrcode";
3
3
  import v from "jsbarcode";
4
4
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
@@ -12,7 +12,7 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
12
12
  let k = y(q.pageContext, q.configure);
13
13
  const A = t({ get: () => x(N, k), set(e3) {
14
14
  h(N, k, e3);
15
- } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = r(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = r(""), I = r(null), Q = r(_.value.brCodeFormat ?? "CODE128"), V = r([]);
15
+ } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = a(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = a(""), I = a(null), Q = a(_.value.brCodeFormat ?? "CODE128"), V = a([]);
16
16
  function F(e3) {
17
17
  return h(N, k, e3);
18
18
  }
@@ -22,16 +22,15 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
22
22
  function L(e3) {
23
23
  var t2;
24
24
  "QR-code" === _.value.type ? (t2 = e3, d.toDataURL(t2, (e4, t3) => {
25
- e4 ? console.error(e4) : $.value = t3;
25
+ e4 || ($.value = t3);
26
26
  })) : function(e4) {
27
27
  try {
28
28
  v(I.value, e4, { format: Q.value });
29
29
  } catch (e5) {
30
- console.error("生成条形码时发生错误:", e5);
31
30
  }
32
31
  }(e3);
33
32
  }
34
- return a(() => {
33
+ return r(() => {
35
34
  _.value.generateRule && ("fixed" === _.value.generateRuleType ? (V.value = Array.from(_.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e3) => e3[1]), V.value.forEach((e3) => {
36
35
  o(() => q.pageContext.entity.data[e3], (e4, t2) => {
37
36
  null != e4 && function() {
@@ -39,15 +38,15 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
39
38
  V.value.forEach((t3) => {
40
39
  q.pageContext.entity.data[t3] || (e5 = false);
41
40
  }), e5 && J(function(e6, t3) {
42
- const r2 = /\$\{(\w+)\}/g;
43
- return e6.replace(r2, (e7, r3) => t3.hasOwnProperty(r3) ? t3[r3] : e7);
41
+ const a2 = /\$\{(\w+)\}/g;
42
+ return e6.replace(a2, (e7, a3) => t3.hasOwnProperty(a3) ? t3[a3] : e7);
44
43
  }(_.value.generateRule, q.pageContext.entity.data));
45
44
  }();
46
45
  });
47
46
  })) : w.get(window.$vueApp.config.globalProperties.baseAPI + "/component/setting-barcode-models/by-code/" + _.value.generateRule).then((e3) => {
48
47
  const t2 = JSON.parse(e3.barcodeModelItems);
49
48
  t2.forEach((e4) => {
50
- "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, r2) => {
49
+ "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, a2) => {
51
50
  if (null != e5) {
52
51
  const e6 = b(t2, q.pageContext.entity.data);
53
52
  e6 && J(e6);
@@ -55,13 +54,12 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
55
54
  }));
56
55
  });
57
56
  }).catch((e3) => {
58
- console.error("获取条码规则失败:", e3);
59
57
  })), A.value && L(A.value);
60
58
  }), D2({ getValue: function() {
61
59
  return x(N, k);
62
60
  }, setValue: F }), (e3, t2) => {
63
- const r2 = l("el-form-item");
64
- return u(), n(r2, { required: !!_.value.required, class: s(c(P)), "label-width": _.value.labelWidth, style: i(c(O)) }, { label: p(() => [_.value.tittleShow ? (u(), m("div", { key: 0, style: i({ ...c(S) }) }, g(c(R)(_.value.title)), 5)) : f("", true)]), default: p(() => ["QR-code" === _.value.type ? (u(), m("img", { key: 0, src: $.value }, null, 8, j)) : (u(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
61
+ const a2 = l("el-form-item");
62
+ return u(), n(a2, { required: !!_.value.required, class: p(s(P)), "label-width": _.value.labelWidth, style: i(s(O)) }, { label: c(() => [_.value.tittleShow ? (u(), m("div", { key: 0, style: i({ ...s(S) }) }, f(s(R)(_.value.title)), 5)) : g("", true)]), default: c(() => ["QR-code" === _.value.type ? (u(), m("img", { key: 0, src: $.value }, null, 8, j)) : (u(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
65
63
  };
66
64
  } });
67
65
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, openBlock as l, createElementBlock as r, unref as u, createVNode as s } from "vue";
2
2
  import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as C, headerClick as S, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
@@ -285,7 +285,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
285
285
  }
286
286
  n(() => {
287
287
  const e3 = Xe();
288
- se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle && Y.pageContext.pageRuntimeStyle.height, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
288
+ se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
289
289
  se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
290
290
  }), H.$on(de + "_close-dialog-get-entity", () => {
291
291
  H.$emit(de + "_close-super-dialog");
@@ -375,7 +375,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
375
375
  return (_a = se.value) == null ? void 0 : _a.getColumns();
376
376
  } }), (e3, t2) => {
377
377
  const n2 = a("super-grid");
378
- return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: _e, onCellDblclick: $e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Ce }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
378
+ return l(), r("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: _e, onCellDblclick: $e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Ce }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
379
379
  };
380
380
  } });
381
381
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as i, openBlock as a, createBlock as r, createCommentVNode as s, unref as u, computed as c } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, openBlock as i, createElementBlock as a, createBlock as r, unref as s, createCommentVNode as u, computed as c } from "vue";
2
2
  import { setTableEvents as p, gridSelectRecord as d, gridSelectAllRecords as f, gridSelectionChange as b, cellClick as g, cellDblClick as m, rowClick as v, rowDblClick as h, headerClick as w, getHandleEvent as S } from "../../../../utils/events/event-util.js";
3
3
  import { caculateShowCondition as C, setVariableValue as T, getVariableValue as x, getSizeConfig as D } from "../../../../utils/page-helper-util.js";
4
4
  import { getModelFields as y, getDefaultValue as P } from "../../../../utils/page-init-util.js";
@@ -331,7 +331,7 @@ const B = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
331
331
  (_a2 = ae.value) == null ? void 0 : _a2.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
332
332
  } }), (e3, t2) => {
333
333
  const n2 = l("super-grid");
334
- return a(), i("div", null, [te.value ? (a(), r(n2, { key: 0, ref_key: "gridRef", ref: ae, url: u(ee) + "/dsc/commons/sub-table", options: le.value, code: u(G), settings: u(Q), isDialog: u(j).isDialog, onSelect: Ae, onSelectAll: Me, onSelectionChange: Ee, onCellClick: Ne, onCellDblclick: Be, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: _e, onChangeGridData: Ie, onReloadGrid: be, onRefresMainTableFields: ke, onSetSelectOptions: Oe, onChangeRowsPerPage: Re, onNewOpenGridDialog: u(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : s("", true)]);
334
+ return i(), a("div", null, [te.value ? (i(), r(n2, { key: 0, ref_key: "gridRef", ref: ae, url: s(ee) + "/dsc/commons/sub-table", options: le.value, code: s(G), settings: s(Q), isDialog: s(j).isDialog, onSelect: Ae, onSelectAll: Me, onSelectionChange: Ee, onCellClick: Ne, onCellDblclick: Be, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: _e, onChangeGridData: Ie, onReloadGrid: be, onRefresMainTableFields: ke, onSetSelectOptions: Oe, onChangeRowsPerPage: Re, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : u("", true)]);
335
335
  };
336
336
  } });
337
337
  export {
@@ -1,4 +1,4 @@
1
- import e from "./table-runtime.vue2.js";
1
+ import e from "./table-runtime2.vue.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as l, createBlock as o, createCommentVNode as a, unref as r } from "vue";
1
+ import { defineComponent as e, ref as t, onUnmounted as n, openBlock as u, createElementBlock as l, unref as o, createBlock as a, createCommentVNode as r } from "vue";
2
2
  import i from "./sub-table-runtime.vue.js";
3
3
  import c from "./main-table-runtime.vue.js";
4
4
  const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: f2 }) {
@@ -83,7 +83,7 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
83
83
  }, scrollToCell: function({ fieldName: e3, rowIndex: t2, pageNum: n2 }) {
84
84
  var _a;
85
85
  (_a = m.value) == null ? void 0 : _a.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
86
- } }), (t2, n2) => (l(), u("div", null, [r(g) && "form" === r(g) && C.value ? (l(), o(i, { key: 0, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? a("", true) : (l(), o(c, { key: 1, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"]))]));
86
+ } }), (t2, n2) => (u(), l("div", null, [o(g) && "form" === o(g) && C.value ? (u(), a(i, { key: 0, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"])) : o(g) && "form" === o(g) ? r("", true) : (u(), a(c, { key: 1, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"]))]));
87
87
  } });
88
88
  export {
89
89
  f as default
@@ -1,7 +1,7 @@
1
- import e from "./tree-runtime.vue2.js";
1
+ import e from "./tree-runtime2.vue.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-89330064"]]);
4
+ const t = r(e, [["__scopeId", "data-v-60cfad06"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -0,0 +1,135 @@
1
+ import { defineComponent as e, ref as a, computed as t, onMounted as n, nextTick as l, watch as u, resolveComponent as o, openBlock as s, createElementBlock as d, normalizeClass as i, unref as r, createBlock as c, createCommentVNode as p, normalizeStyle as v, withCtx as g, createVNode as f, createElementVNode as m, createTextVNode as h, toDisplayString as y, Fragment as C, withDirectives as x, renderList as k, vShow as N } from "vue";
2
+ import M from "../../../../../../assets/folder.png.js";
3
+ import I from "../../../../../../assets/file.png.js";
4
+ import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
5
+ import { setVariableValue as P, getVariableValue as R } from "../../../../utils/page-helper-util.js";
6
+ import { getMenuTreeData as V, createTreeNode as b, updateTreeNode as L, deleteNode as w } from "../../../../utils/tree-utils.js";
7
+ import { handleAfterInitEvent as E, handleFormEvent as K } from "../../../../utils/events/event-util.js";
8
+ import { ElMessageBox as S, ElMessage as _ } from "element-plus";
9
+ import { checkPermission as j } from "agilebuilder-ui/src/utils/permission";
10
+ import { $t as D } from "../../../../utils/i18n-util.js";
11
+ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, class: "item-row" }, H = { class: "item-side" }, O = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, U = ["onClick"], $ = e({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: $2 }) {
12
+ var _a, _b, _c;
13
+ const A = a(), F = a(false), X = e2, Y = X.pageContext.entity ? X.pageContext.entity : {}, q = a([]);
14
+ ((_a = X.configure.props) == null ? void 0 : _a.contextMenus) && (X.pageContext && X.configure && !X.pageContext.isTest ? X.configure.props.contextMenus.forEach((e3) => {
15
+ if (e3.functionCodes && e3.functionCodes.length > 0) for (let a2 = 0; a2 < e3.functionCodes.length; a2++) {
16
+ const t2 = e3.functionCodes[a2];
17
+ if (j(t2, X.pageContext.systemCode)) return void q.value.push(e3);
18
+ }
19
+ else q.value.push(e3);
20
+ }) : q.value = X.configure.props.contextMenus);
21
+ let G = T(X.pageContext, X.configure);
22
+ const J = t({ get: () => R(Y, G), set(e3) {
23
+ P(Y, G, e3);
24
+ } }), Q = a(!!((_c = (_b = X.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Z = X.configure.runtime ? X.configure.runtime : {}, ee = Z.style, ae = Z.class, te = a(), ne = a(Z.props ? Z.props : {}), le = a({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), ue = a(false), oe = a([]), se = a(null), de = a(""), ie = a(false), re = a(""), ce = a(""), pe = a("");
25
+ n(() => {
26
+ l(() => {
27
+ const e3 = J.value;
28
+ E(e3, X.pageContext, X.configure, { componentRef: te.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
29
+ });
30
+ }), Q.value ? ue.value = true : V(X.pageContext, X.configure).then((e3) => {
31
+ oe.value = e3, ue.value = true;
32
+ }), u(de, (e3) => {
33
+ ie.value = true, te.value.filter(e3);
34
+ });
35
+ const ve = (e3, a2) => !e3 || a2.name.includes(e3);
36
+ function ge(e3, a2, t2) {
37
+ se.value = a2, K(null, X.pageContext, X.configure, "node-click", { data: e3, node: a2, nodeTree: t2 });
38
+ }
39
+ function fe(e3, a2) {
40
+ let t2 = "0";
41
+ t2 = 0 === e3.level ? "0" : e3.data.nodeId, function(e4, a3, t3) {
42
+ const n2 = { parentNodeId: e4, data: a3.data, searchValue: de, isSearch: ie.value };
43
+ V(X.pageContext, X.configure, e4, a3, n2).then((n3) => {
44
+ if (ie.value = false, t3(n3), "0" === e4) {
45
+ !function(e5, a4) {
46
+ const t4 = { parentNodeId: e5, data: a4.data, searchValue: de, isSearch: ie.value };
47
+ V(X.pageContext, X.configure, e5, a4, t4).then((a5) => {
48
+ ie.value = false, te.value.updateKeyChildren(e5, a5), te.value.store.nodesMap[e5] && (te.value.store.nodesMap[e5].expanded = true);
49
+ });
50
+ }(n3[0].nodeId, a3);
51
+ }
52
+ });
53
+ }(t2, e3, a2);
54
+ }
55
+ const me = a({}), he = (e3, a2, t2, n2) => {
56
+ if (re.value) return void _.warning(D("superPageRuntimeMessage.pleaseSaveCurrentNodeFirst"));
57
+ document.removeEventListener("click", ye), me.value = t2, F.value = true;
58
+ const { clientX: l2, clientY: u2 } = e3, o2 = A.value;
59
+ if (o2) {
60
+ const { innerWidth: e4, innerHeight: a3 } = window, { offsetWidth: t3, offsetHeight: n3 } = o2, s2 = l2 + t3 > e4 ? l2 - t3 : l2, d2 = u2 + n3 > a3 ? u2 - n3 : u2;
61
+ o2.style.left = `${s2}px`, o2.style.top = `${d2}px`, o2.style.display = "block";
62
+ }
63
+ document.addEventListener("click", ye);
64
+ }, ye = () => {
65
+ F.value = false, document.removeEventListener("click", ye);
66
+ }, Ce = (e3, a2) => {
67
+ if (e3.parent && e3.parent.level > 0) {
68
+ const t2 = e3.parent.data.children.findIndex((a3) => a3.nodeId === e3.data.nodeId);
69
+ e3.parent.data.children[t2] = a2, e3.data = a2;
70
+ } else {
71
+ const t2 = e3.parent.data.findIndex((a3) => a3.nodeId === e3.data.nodeId);
72
+ e3.parent.data[t2] = a2, e3.data = a2;
73
+ }
74
+ }, xe = () => {
75
+ re.value = "", pe.value = "", ce.value = "";
76
+ }, ke = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: D("superPageRuntimeMessage.addNode"), disabled: false, iconType: "custom", isLeaf: true });
77
+ function Ne(e3) {
78
+ e3.tipMessage ? S.confirm(e3.tipMessage, { confirmButtonText: D("superPageRuntimeMessage.sure"), cancelButtonText: D("superPageRuntimeMessage.cancel"), type: "error" }).then(() => {
79
+ w(me.value, X.configure, X.pageContext).then(() => {
80
+ _.success(D("superPageRuntimeMessage.successfulDelete")), Me(), me.value = null;
81
+ });
82
+ }).catch(() => {
83
+ me.value = null;
84
+ }) : w(me.value, X.configure, X.pageContext).then(() => {
85
+ _.success(D("superPageRuntimeMessage.successfulDelete")), Me(), me.value = null;
86
+ });
87
+ }
88
+ const Me = () => {
89
+ const e3 = me.value.parent;
90
+ te.value.remove(me.value), e3.childNodes && 0 === e3.childNodes.length && (e3.data.isLeaf = true), e3.data.children && e3.data.children.length > 0 && (e3.data.children = e3.data.children.filter((e4) => e4.nodeId !== me.value.data.nodeId));
91
+ };
92
+ return $2({ getSelectNode: function() {
93
+ return se.value;
94
+ }, expandNode: function(e3) {
95
+ e3.loaded = false, e3.expand();
96
+ }, loadTreeNodes: function() {
97
+ V(X.pageContext, X.configure).then((e3) => {
98
+ ie.value = false, oe.value = e3;
99
+ });
100
+ }, getNode: function(e3) {
101
+ te.value.getNode(e3);
102
+ }, getCheckedNodes: (e3, a2) => te.value.getCheckedNodes(e3, a2), setCheckedNodes: (e3) => {
103
+ te.value.setCheckedNodes(e3);
104
+ }, getCheckedKeys: (e3) => te.value.getCheckedKeysleafOnly(), setCheckedKeys: (e3, a2) => {
105
+ te.value.setCheckedKeys(e3, a2);
106
+ }, setChecked: (e3, a2, t2) => {
107
+ te.value.setChecked(e3, a2, t2);
108
+ }, getCurrentKey: () => te.value.getCurrentKey(), getCurrentNode: () => te.value.getCurrentNode(), setCurrentKey: (e3, a2 = true) => te.value.setCurrentKey(e3, a2), setCurrentNode: (e3, a2 = true) => te.value.setCurrentNode(e3, a2) }), (a2, t2) => {
109
+ var _a2;
110
+ const n2 = o("el-input"), l2 = o("el-button"), u2 = o("SuperIcon"), T2 = o("el-tree");
111
+ return s(), d("div", { class: i(["amb-tree-runtime-main", r(ae)]) }, [ne.value.filter ? (s(), c(n2, { key: 0, modelValue: de.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => de.value = e3), style: { width: "100%" }, placeholder: r(D)("superPageRuntimeMessage.pleaseInputSearchCondition") }, null, 8, ["modelValue", "placeholder"])) : p("", true), ue.value ? (s(), c(T2, { key: 1, ref_key: "menuTreeRef", ref: te, style: v(r(ee)), load: fe, data: oe.value, "node-key": "nodeId", props: le.value, "default-expand-all": ne.value.defaultExpandAll, "expand-on-click-node": ne.value.expandOnClickNode, indent: ne.value.retractWidth ? ne.value.retractWidth : 18, accordion: ne.value.accordion, "show-checkbox": !!ne.value.showCheckbox, "highlight-current": "", lazy: Q.value, "filter-node-method": ve, onNodeClick: ge, onNodeContextmenu: he }, { default: g(({ node: a3, data: o2 }) => [o2.nodeId === re.value ? (s(), d("div", W, [f(n2, { modelValue: pe.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => pe.value = e3), size: "small" }, null, 8, ["modelValue"]), m("div", null, [f(l2, { type: "primary", link: "", onClick: (e3) => ((e4) => {
112
+ "" !== pe.value ? (e4.data.name = pe.value, ce.value && e4.data.nodeId === ce.value ? b(e4, X.configure, X.pageContext).then((a4) => {
113
+ Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
114
+ }) : L(e4, X.configure, X.pageContext).then((a4) => {
115
+ Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
116
+ })) : _.warning(D("superPageRuntimeMessage.pleaseInputNodeName"));
117
+ })(a3) }, { default: g(() => [h(y(r(D)("superPageRuntimeMessage.save")), 1)]), _: 1 }, 8, ["onClick"]), f(l2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e3) => {
118
+ ce.value && e3.data.nodeId === ce.value && te.value.remove(e3), xe();
119
+ })(a3, e2.configure, e2.pageContext) }, { default: g(() => [h(y(r(D)("superPageRuntimeMessage.undo")), 1)]), _: 1 }, 8, ["onClick"])])])) : (s(), d("span", { key: 1, title: a3.label, class: "ellipsis" }, [o2.iconValue ? (s(), c(u2, { key: 0, iconType: o2.iconType, iconValue: o2.iconValue }, null, 8, ["iconType", "iconValue"])) : ne.value.iconValue ? (s(), c(u2, { key: 1, iconType: ne.value.iconType, iconValue: ne.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (s(), d(C, { key: 2 }, [o2.isLeaf ? (s(), d("div", O, [t2[3] || (t2[3] = m("img", { src: I, class: "file" }, null, -1)), m("span", null, y(o2.name), 1)])) : (s(), d("div", B, [m("div", H, [t2[2] || (t2[2] = m("img", { src: M, class: "file" }, null, -1)), m("span", null, y(o2.name), 1)])]))], 64))], 8, z))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), x(m("div", null, [m("ul", { ref_key: "contxtMenuRef", ref: A, class: "context-menu" }, [(s(true), d(C, null, k(q.value, (e3, a3) => (s(), d("li", { key: a3, tabindex: "-1", class: "menu__item", onClick: (a4) => ((e4) => {
120
+ if (me.value && "standard" === e4.type && e4.standardEvent) if ("edit" === e4.standardEvent) re.value = me.value.data.nodeId, pe.value = me.value.data.name;
121
+ else if ("delete" === e4.standardEvent) me.value.childNodes && me.value.childNodes.length > 0 && e4.deleteParentNodeTip ? (e4.deleteParentNodeTipMessage || (e4.deleteParentNodeTipMessage = D("superPageRuntimeMessage.confirmDeleteNodeWithChildren")), S.confirm(e4.deleteParentNodeTipMessage, { confirmButtonText: D("superPageRuntimeMessage.sure"), cancelButtonText: D("superPageRuntimeMessage.cancel"), type: "error" }).then(() => {
122
+ Ne(e4);
123
+ }).catch(() => {
124
+ me.value = null;
125
+ })) : Ne(e4);
126
+ else {
127
+ const a5 = ke();
128
+ re.value = a5.nodeId, ce.value = a5.nodeId, pe.value = a5.name, "addSiblingNode" === e4.standardEvent ? (a5.isLeaf = me.value.data.isLeaf, me.value.parent && me.value.parent.level > 0 ? te.value.append(a5, me.value.parent) : oe.value.push(a5)) : "addChildNode" === e4.standardEvent && (a5.isLeaf = true, me.value.data.isLeaf = false, te.value.append(a5, me.value), te.value.setCurrentKey(a5.nodeId, true));
129
+ }
130
+ })(e3) }, [m("span", null, y(e3.name), 1)], 8, U))), 128))], 512)], 512), [[N, F.value && ((_a2 = q.value) == null ? void 0 : _a2.length) > 0]])], 2);
131
+ };
132
+ } });
133
+ export {
134
+ $ as default
135
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as e, createElementBlock as t, openBlock as r, toDisplayString as n } from "vue";
2
- const o = { style: { "text-align": "center", color: "red" } }, c = e({ __name: "error-render", props: { configure: { type: Object, default: { name: "未知" } }, selectWidget: Object, indexObj: Object }, setup: (e2) => (c2, a) => (r(), t("div", o, " 不能识别的组件类型【" + n(e2.configure.name) + "】 ", 1)) });
1
+ import { defineComponent as e, openBlock as t, createElementBlock as r, toDisplayString as n } from "vue";
2
+ const o = { style: { "text-align": "center", color: "red" } }, c = e({ __name: "error-render", props: { configure: { type: Object, default: { name: "未知" } }, selectWidget: Object, indexObj: Object }, setup: (e2) => (c2, a) => (t(), r("div", o, " 不能识别的组件类型【" + n(e2.configure.name) + "】 ", 1)) });
3
3
  export {
4
4
  c as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import e from "./checkbox-runtime.vue2.js";
1
+ import e from "./checkbox-runtime2.vue.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, resolveComponent as a, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as c, createSlots as p, withCtx as f, createVNode as g, createElementBlock as v, Fragment as d, renderList as m, createElementVNode as h, toDisplayString as y } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, resolveComponent as a, openBlock as u, createBlock as i, normalizeStyle as r, unref as s, normalizeClass as c, createSlots as p, withCtx as f, createVNode as g, createElementBlock as v, Fragment as d, renderList as m, createElementVNode as h, toDisplayString as y } from "vue";
2
2
  import { setVariableValue as b, getVariableValue as x, getOptionDatasFromPage as C, putToOptionSourceMap as k, monitorFieldChange as S, autoSetAfterSelect as j, queryOptionDatasources as R } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as _ } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as I, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
@@ -58,7 +58,7 @@ const z = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
58
58
  }
59
59
  } }), (t2, l2) => {
60
60
  const o2 = a("el-checkbox"), n2 = a("el-checkbox-group"), b2 = a("el-form-item");
61
- return i(), u(b2, { ref_key: "formItemRef", ref: X, class: s(c(F) + (E.value ? " " + E.value : "")), required: !!B.value.required, "label-width": B.value.labelWidth, style: r(c(T)) }, p({ default: f(() => [g(n2, { ref_key: "componentRef", ref: Y, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => M.value = e3) }, { default: f(() => [(i(true), v(d, null, m(G.value, (t3) => (i(), u(o2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => c(I)(t3.value, e2.pageContext, e2.configure, "click", { values: M.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [B.value.tittleShow ? { name: "label", fn: f(() => [h("div", { ref_key: "titleRef", ref: Z, style: r({ ...c(U), ...c(W) }), class: "amb-form-item-label" }, y(c(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
61
+ return u(), i(b2, { ref_key: "formItemRef", ref: X, class: c(s(F) + (E.value ? " " + E.value : "")), required: !!B.value.required, "label-width": B.value.labelWidth, style: r(s(T)) }, p({ default: f(() => [g(n2, { ref_key: "componentRef", ref: Y, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => M.value = e3) }, { default: f(() => [(u(true), v(d, null, m(G.value, (t3) => (u(), i(o2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => s(I)(t3.value, e2.pageContext, e2.configure, "click", { values: M.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [B.value.tittleShow ? { name: "label", fn: f(() => [h("div", { ref_key: "titleRef", ref: Z, style: r({ ...s(U), ...s(W) }), class: "amb-form-item-label" }, y(s(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
62
62
  };
63
63
  } });
64
64
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as l, resolveComponent as r, createElementBlock as t, openBlock as p, Fragment as o, createBlock as u, createCommentVNode as a, unref as i, isRef as n } from "vue";
1
+ import { defineComponent as e, computed as l, resolveComponent as r, openBlock as t, createElementBlock as p, Fragment as o, createBlock as u, isRef as a, unref as i, createCommentVNode as n } from "vue";
2
2
  import { formatVariableValue as s, setVariableValue as y, getVariableValue as f } from "../../../../utils/page-helper-util.js";
3
3
  const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(e2) {
4
4
  const x2 = e2, c = x2.pageContext.entity;
@@ -30,7 +30,7 @@ const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property
30
30
  } else y(c, d, e3);
31
31
  } })), (l2, s2) => {
32
32
  const y2 = r("el-radio"), f2 = r("el-checkbox");
33
- return p(), t(o, null, ["radio" === e2.property.prefixType ? (p(), u(y2, { key: 0, value: e2.property.prefixValue, label: e2.property.title, modelValue: i(b), "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["value", "label", "modelValue"])) : a("", true), "checkbox" === e2.property.prefixType ? (p(), u(f2, { key: 1, label: e2.property.title, value: e2.property.prefixValue, modelValue: i(b), "onUpdate:modelValue": s2[1] || (s2[1] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["label", "value", "modelValue"])) : a("", true)], 64);
33
+ return t(), p(o, null, ["radio" === e2.property.prefixType ? (t(), u(y2, { key: 0, value: e2.property.prefixValue, label: e2.property.title, modelValue: i(b), "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => a(b) ? b.value = e3 : b = e3) }, null, 8, ["value", "label", "modelValue"])) : n("", true), "checkbox" === e2.property.prefixType ? (t(), u(f2, { key: 1, label: e2.property.title, value: e2.property.prefixValue, modelValue: i(b), "onUpdate:modelValue": s2[1] || (s2[1] = (e3) => a(b) ? b.value = e3 : b = e3) }, null, 8, ["label", "value", "modelValue"])) : n("", true)], 64);
34
34
  };
35
35
  } });
36
36
  export {
@@ -1,4 +1,4 @@
1
- import t from "./custom-runtime.vue2.js";
1
+ import t from "./custom-runtime2.vue.js";
2
2
  export {
3
3
  t as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as m, unref as f, createSlots as d, withCtx as g, resolveDynamicComponent as v, createElementVNode as C, toDisplayString as x } from "vue";
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, openBlock as l, createBlock as r, normalizeStyle as s, unref as p, normalizeClass as c, createSlots as f, withCtx as m, createElementBlock as d, resolveDynamicComponent as g, createCommentVNode as v, createElementVNode as C, toDisplayString as x } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
3
  import { setVariableValue as b, getVariableValue as h, formatVariableValue as j, getFormPropName as R, setVariableValueWithProp as k } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as V, handleEvent as _ } from "../../../../utils/events/event-util.js";
@@ -24,7 +24,7 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
24
24
  k(H, e3, t2);
25
25
  }
26
26
  function T(e3) {
27
- q.isHasFieldAuthPermission(G.configure) ? D(G.pageContext, e3) : console.error("没有该字段的权限,dynamicFields=", P ? P.join(".") : "");
27
+ q.isHasFieldAuthPermission(G.configure) && D(G.pageContext, e3);
28
28
  }
29
29
  function X() {
30
30
  const e3 = G.pageContext.tableUuids;
@@ -43,7 +43,7 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
43
43
  const t2 = e3.result;
44
44
  b(H, P, t2);
45
45
  }), U.$on(Z.value + "-pickFileDone", (e3) => {
46
- Z.value, ee.value.pickFileDone(e3);
46
+ ee.value.pickFileDone(e3);
47
47
  }), n(() => {
48
48
  const e3 = I.value;
49
49
  V(e3, G.pageContext, G.configure, { formItemRef: te.value, componentRef: ee.value, titleRef: oe.value, value: e3, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
@@ -61,7 +61,7 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
61
61
  requiredClass.value = addRequiredClassUtil();
62
62
  } }), (t2, o2) => {
63
63
  const a2 = u("el-form-item");
64
- return K.value.tittleShow ? (p(), l(a2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: m(f(W)), "label-width": K.value.labelWidth, style: c(f(B)) }, d({ default: g(() => [N.value ? (p(), r("div", $, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: f(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": f(L), modelValue: I.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": f(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[1] || (o2[1] = (t3) => f(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 2 }, [K.value.tittleShow ? { name: "label", fn: g(() => [C("div", { ref_key: "titleRef", ref: oe, style: c({ ...f(J) }), class: "amb-form-item-label" }, x(f(S)(K.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : N.value ? (p(), r("div", O, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: f(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": f(L), modelValue: I.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": f(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[3] || (o2[3] = (t3) => f(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
64
+ return K.value.tittleShow ? (l(), r(a2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: c(p(W)), "label-width": K.value.labelWidth, style: s(p(B)) }, f({ default: m(() => [N.value ? (l(), d("div", $, [(l(), r(g(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: p(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": p(L), modelValue: I.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": p(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[1] || (o2[1] = (t3) => p(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : v("", true)]), _: 2 }, [K.value.tittleShow ? { name: "label", fn: m(() => [C("div", { ref_key: "titleRef", ref: oe, style: s({ ...p(J) }), class: "amb-form-item-label" }, x(p(S)(K.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : N.value ? (l(), d("div", O, [(l(), r(g(N.value), { ref_key: "customRef", ref: ee, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: p(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": p(L), modelValue: I.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": p(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[3] || (o2[3] = (t3) => p(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : v("", true);
65
65
  };
66
66
  } });
67
67
  export {
@@ -1,4 +1,4 @@
1
- import e from "./datepicker-runtime.vue2.js";
1
+ import e from "./datepicker-runtime2.vue.js";
2
2
  export {
3
3
  e as default
4
4
  };