super-page-runtime 2.3.47-sit2 → 2.3.47

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 (168) 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 +121 -121
  3. package/dist/es/components/runtime/utils/events/print-label.js +34 -33
  4. package/dist/es/components/runtime/utils/events/standard-event.js +22 -22
  5. package/dist/es/components/runtime/utils/events/validator-util.js +209 -206
  6. package/dist/es/components/runtime/utils/page-init-util.js +47 -45
  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-runtime2.vue.js → button-runtime.vue2.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-runtime2.vue.js → buttongroup-runtime.vue2.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-runtime2.vue.js → dropdown-runtime.vue2.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-runtime2.vue.js → exportpdf-runtime.vue2.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-runtime2.vue.js → printlabel-runtime.vue2.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-runtime2.vue.js → column-line-runtime.vue2.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 +10 -6
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -7
  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-search2.vue.js → common-homepage-search.vue2.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-runtime2.vue.js → gauge-runtime.vue2.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-runtime2.vue.js → pie-runtime.vue2.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-runtime2.vue.js → radar-runtime.vue2.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-runtime2.vue.js → scatter-runtime.vue2.js} +2 -2
  34. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -99
  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-runtime2.vue.js → table-runtime.vue2.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 +11 -9
  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-runtime2.vue.js → card-runtime.vue2.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-runtime2.vue.js → collapse-runtime.vue2.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-runtime2.vue.js → container-runtime.vue2.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/{FixedBox2.vue.js → FixedBox.vue2.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/{YxAffix2.vue.js → YxAffix.vue2.js} +4 -2
  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-runtime2.vue.js → flex-runtime.vue2.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-runtime2.vue.js → form-runtime.vue2.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-runtime2.vue.js → iframe-runtime.vue2.js} +5 -5
  66. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime2.vue.js → tabs-runtime.vue2.js} +2 -2
  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-runtime2.vue.js → tools-runtime.vue2.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-runtime2.vue.js → barcode-runtime.vue2.js} +11 -9
  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-runtime2.vue.js → table-runtime.vue2.js} +2 -2
  76. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  77. package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime2.vue.js → tree-runtime.vue2.js} +5 -5
  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-runtime2.vue.js → checkbox-runtime.vue2.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-runtime2.vue.js → custom-runtime.vue2.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-runtime.vue2.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-runtime2.vue.js → depttree-runtime.vue2.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-runtime2.vue.js → divider-runtime.vue2.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-runtime2.vue.js → fileupload-runtime.vue2.js} +7 -5
  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-runtime2.vue.js → imageupload-runtime.vue2.js} +5 -4
  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-runtime2.vue.js → input-number-runtime.vue2.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-runtime.vue2.js +81 -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-runtime2.vue.js → label-runtime.vue2.js} +5 -3
  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-runtime2.vue.js → link-runtime.vue2.js} +8 -6
  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-runtime2.vue.js → placeholder-runtime.vue2.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-runtime2.vue.js → radio-runtime.vue2.js} +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  107. package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime2.vue.js → richtext-runtime.vue2.js} +4 -4
  108. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
  109. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime2.vue.js → select-runtime.vue2.js} +8 -7
  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-runtime2.vue.js → separatelabel-runtime.vue2.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-runtime2.vue.js → switch-runtime.vue2.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-runtime2.vue.js → tag-runtime.vue2.js} +3 -3
  116. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  117. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime2.vue.js → textarea-runtime.vue2.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 +12 -10
  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 +1 -1
  122. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box2.vue.js → workflow-opinion-box.vue2.js} +3 -3
  123. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +1 -1
  124. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog2.vue.js → extract-workflow-runtime-dialog.vue2.js} +2 -2
  125. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +1 -1
  126. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime2.vue.js → extract-workflow-runtime.vue2.js} +3 -3
  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-runtime2.vue.js → pictureflow-runtime.vue2.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-runtime2.vue.js → textflow-runtime.vue2.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-runtime2.vue.js → workflowbutton-runtime.vue2.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-runtime2.vue.js → workflownode-runtime.vue2.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 +7 -6
  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-page2.vue.js → super-page.vue2.js} +99 -98
  140. package/package.json +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +0 -102
  142. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +0 -80
  143. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb2.vue.js → common-chart-header-breadcrumb.vue2.js} +0 -0
  144. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group2.vue.js → common-chart-header-group.vue2.js} +0 -0
  145. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header2.vue.js → common-chart-header.vue2.js} +0 -0
  146. /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render2.vue.js → home-chart-condition-render.vue2.js} +0 -0
  147. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item2.vue.js → group-column-item.vue2.js} +0 -0
  148. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column2.vue.js → group-column.vue2.js} +0 -0
  149. /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column2.vue.js → normal-column.vue2.js} +0 -0
  150. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination2.vue.js → table-pageination.vue2.js} +0 -0
  151. /package/dist/es/components/runtime/views/assemblys/common/{event-call-component2.vue.js → event-call-component.vue2.js} +0 -0
  152. /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog2.vue.js → export-form-report-dialog.vue2.js} +0 -0
  153. /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice2.vue.js → file-task-notice.vue2.js} +0 -0
  154. /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message2.vue.js → format-file-task-notice-message.vue2.js} +0 -0
  155. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog2.vue.js → remove-signer-dialog.vue2.js} +0 -0
  156. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table2.vue.js → remove-signer-table.vue2.js} +0 -0
  157. /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog2.vue.js → remove-transactor-dialog.vue2.js} +0 -0
  158. /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog2.vue.js → save-chart-condition-dialog.vue2.js} +0 -0
  159. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog2.vue.js → task-informition-dialog.vue2.js} +0 -0
  160. /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime2.vue.js → main-table-runtime.vue2.js} +0 -0
  161. /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime2.vue.js → sub-table-runtime.vue2.js} +0 -0
  162. /package/dist/es/components/runtime/views/assemblys/{error-render2.vue.js → error-render.vue2.js} +0 -0
  163. /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element2.vue.js → title-suffix-element.vue2.js} +0 -0
  164. /package/dist/es/components/runtime/views/assemblys/{home-chart-render2.vue.js → home-chart-render.vue2.js} +0 -0
  165. /package/dist/es/components/runtime/views/assemblys/{object-render2.vue.js → object-render.vue2.js} +0 -0
  166. /package/dist/es/components/runtime/views/assemblys/{page-bottom2.vue.js → page-bottom.vue2.js} +0 -0
  167. /package/dist/es/components/runtime/views/{home-chart2.vue.js → home-chart.vue2.js} +0 -0
  168. /package/dist/es/components/runtime/views/{super-page-dialog3.vue.js → super-page-dialog.vue3.js} +0 -0
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as e, ref as n, watch as t, onMounted as o, nextTick as a, resolveComponent as i, createBlock as c, openBlock as u, unref as l, normalizeClass as r, normalizeStyle as s, withCtx as p, createElementBlock as f, createCommentVNode as g, Fragment as d, renderList as m, createElementVNode as b, toDisplayString as y, withModifiers as v, createTextVNode as h } from "vue";
2
2
  import { ElTabs as x, ElTabPane as C } from "element-plus";
3
3
  import T from "../../object-render.vue.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -88,7 +88,7 @@ const P = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} },
88
88
  }), A.value = [...new Set(n2)];
89
89
  } }), (n2, t2) => {
90
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"]);
91
+ return u(), c(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(() => [(u(true), f(d, null, m(V.configure.items, (n3, t3) => (u(), c(l(C), { key: t3, label: n3.label, name: n3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [n3.iconType && n3.iconValue ? (u(), c(l(k), { key: 0, iconType: n3.iconType, iconValue: n3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(z)) }, y(l(O)(n3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? 1) || n3.code === _.value ? (u(true), f(d, { key: 0 }, m(n3.items, (n4) => (u(), c(T, { key: n4.uuid, pageContext: e2.pageContext, configure: n4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (u(), c(o2, { key: 0, type: "text", circle: "", onClick: v(G, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || l(O)("superPageRuntimeMessage.reset")), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
92
  };
93
93
  } });
94
94
  export {
@@ -1,4 +1,4 @@
1
- import o from "./tools-runtime2.vue.js";
1
+ import o from "./tools-runtime.vue2.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, 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";
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";
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 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)]);
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)]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -1,4 +1,4 @@
1
- import e from "./barcode-runtime2.vue.js";
1
+ import e from "./barcode-runtime.vue2.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 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";
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";
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 : {}, _ = 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([]);
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([]);
16
16
  function F(e3) {
17
17
  return h(N, k, e3);
18
18
  }
@@ -22,15 +22,16 @@ 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 || ($.value = t3);
25
+ e4 ? console.error(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);
30
31
  }
31
32
  }(e3);
32
33
  }
33
- return r(() => {
34
+ return a(() => {
34
35
  _.value.generateRule && ("fixed" === _.value.generateRuleType ? (V.value = Array.from(_.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e3) => e3[1]), V.value.forEach((e3) => {
35
36
  o(() => q.pageContext.entity.data[e3], (e4, t2) => {
36
37
  null != e4 && function() {
@@ -38,15 +39,15 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
38
39
  V.value.forEach((t3) => {
39
40
  q.pageContext.entity.data[t3] || (e5 = false);
40
41
  }), e5 && J(function(e6, t3) {
41
- const a2 = /\$\{(\w+)\}/g;
42
- return e6.replace(a2, (e7, a3) => t3.hasOwnProperty(a3) ? t3[a3] : e7);
42
+ const r2 = /\$\{(\w+)\}/g;
43
+ return e6.replace(r2, (e7, r3) => t3.hasOwnProperty(r3) ? t3[r3] : e7);
43
44
  }(_.value.generateRule, q.pageContext.entity.data));
44
45
  }();
45
46
  });
46
47
  })) : w.get(window.$vueApp.config.globalProperties.baseAPI + "/component/setting-barcode-models/by-code/" + _.value.generateRule).then((e3) => {
47
48
  const t2 = JSON.parse(e3.barcodeModelItems);
48
49
  t2.forEach((e4) => {
49
- "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, a2) => {
50
+ "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, r2) => {
50
51
  if (null != e5) {
51
52
  const e6 = b(t2, q.pageContext.entity.data);
52
53
  e6 && J(e6);
@@ -54,12 +55,13 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
54
55
  }));
55
56
  });
56
57
  }).catch((e3) => {
58
+ console.error("获取条码规则失败:", e3);
57
59
  })), A.value && L(A.value);
58
60
  }), D2({ getValue: function() {
59
61
  return x(N, k);
60
62
  }, setValue: F }), (e3, t2) => {
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"]);
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"]);
63
65
  };
64
66
  } });
65
67
  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, openBlock as l, createElementBlock 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, createElementBlock as l, openBlock 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, 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 && Y.pageContext.pageRuntimeStyle.height, 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 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);
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);
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, openBlock as i, createElementBlock as a, createBlock as r, unref as s, createCommentVNode as u, computed as c } from "vue";
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";
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 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)]);
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)]);
335
335
  };
336
336
  } });
337
337
  export {
@@ -1,4 +1,4 @@
1
- import e from "./table-runtime2.vue.js";
1
+ import e from "./table-runtime.vue2.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, openBlock as u, createElementBlock as l, unref as o, createBlock as a, createCommentVNode as r } from "vue";
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";
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) => (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"]))]));
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"]))]));
87
87
  } });
88
88
  export {
89
89
  f as default
@@ -1,4 +1,4 @@
1
- import e from "./tree-runtime2.vue.js";
1
+ import e from "./tree-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const t = r(e, [["__scopeId", "data-v-60cfad06"]]);
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as e, ref as a, computed as t, onMounted as n, nextTick as l, watch as u, resolveComponent as o, createElementBlock as s, openBlock as d, normalizeClass as i, unref as r, createBlock as c, createCommentVNode as p, withDirectives as v, normalizeStyle as g, withCtx as f, createVNode as m, createElementVNode as h, createTextVNode as y, toDisplayString as C, Fragment as x, renderList as k, vShow as N } from "vue";
2
2
  import M from "../../../../../../assets/folder.png.js";
3
3
  import I from "../../../../../../assets/file.png.js";
4
4
  import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
@@ -108,15 +108,15 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
108
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
109
  var _a2;
110
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) => {
111
+ return d(), s("div", { class: i(["amb-tree-runtime-main", r(ae)]) }, [ne.value.filter ? (d(), 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 ? (d(), c(T2, { key: 1, ref_key: "menuTreeRef", ref: te, style: g(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: f(({ node: a3, data: o2 }) => [o2.nodeId === re.value ? (d(), s("div", W, [m(n2, { modelValue: pe.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => pe.value = e3), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(l2, { type: "primary", link: "", onClick: (e3) => ((e4) => {
112
112
  "" !== pe.value ? (e4.data.name = pe.value, ce.value && e4.data.nodeId === ce.value ? b(e4, X.configure, X.pageContext).then((a4) => {
113
113
  Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
114
114
  }) : L(e4, X.configure, X.pageContext).then((a4) => {
115
115
  Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
116
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) => {
117
+ })(a3) }, { default: f(() => [y(C(r(D)("superPageRuntimeMessage.save")), 1)]), _: 1 }, 8, ["onClick"]), m(l2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e3) => {
118
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) => {
119
+ })(a3, e2.configure, e2.pageContext) }, { default: f(() => [y(C(r(D)("superPageRuntimeMessage.undo")), 1)]), _: 1 }, 8, ["onClick"])])])) : (d(), s("span", { key: 1, title: a3.label, class: "ellipsis" }, [o2.iconValue ? (d(), c(u2, { key: 0, iconType: o2.iconType, iconValue: o2.iconValue }, null, 8, ["iconType", "iconValue"])) : ne.value.iconValue ? (d(), c(u2, { key: 1, iconType: ne.value.iconType, iconValue: ne.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (d(), s(x, { key: 2 }, [o2.isLeaf ? (d(), s("div", O, [t2[3] || (t2[3] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, C(o2.name), 1)])) : (d(), s("div", B, [h("div", H, [t2[2] || (t2[2] = h("img", { src: M, class: "file" }, null, -1)), h("span", null, C(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), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: A, class: "context-menu" }, [(d(true), s(x, null, k(q.value, (e3, a3) => (d(), s("li", { key: a3, tabindex: "-1", class: "menu__item", onClick: (a4) => ((e4) => {
120
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
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
122
  Ne(e4);
@@ -127,7 +127,7 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
127
127
  const a5 = ke();
128
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
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);
130
+ })(e3) }, [h("span", null, C(e3.name), 1)], 8, U))), 128))], 512)], 512), [[N, F.value && ((_a2 = q.value) == null ? void 0 : _a2.length) > 0]])], 2);
131
131
  };
132
132
  } });
133
133
  export {
@@ -1,5 +1,5 @@
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)) });
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)) });
3
3
  export {
4
4
  c as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import e from "./checkbox-runtime2.vue.js";
1
+ import e from "./checkbox-runtime.vue2.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, 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";
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";
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 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"]);
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"]);
62
62
  };
63
63
  } });
64
64
  export {
@@ -1,4 +1,4 @@
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";
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";
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 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);
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);
34
34
  };
35
35
  } });
36
36
  export {
@@ -1,4 +1,4 @@
1
- import t from "./custom-runtime2.vue.js";
1
+ import t from "./custom-runtime.vue2.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, 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";
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";
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);
27
+ q.isHasFieldAuthPermission(G.configure) ? D(G.pageContext, e3) : console.error("没有该字段的权限,dynamicFields=", P ? P.join(".") : "");
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
- ee.value.pickFileDone(e3);
46
+ Z.value, 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 ? (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);
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);
65
65
  };
66
66
  } });
67
67
  export {
@@ -1,4 +1,4 @@
1
- import e from "./datepicker-runtime2.vue.js";
1
+ import e from "./datepicker-runtime.vue2.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -0,0 +1,102 @@
1
+ import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as r, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as d, unref as c, createSlots as p, withCtx as s, createElementVNode as v, createElementBlock as f, Fragment as g, createTextVNode as m, toDisplayString as h } from "vue";
2
+ import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
+ import { getDateShortCuts as C } from "../../../../utils/form/date-shortcuts.js";
4
+ import { getModelFieldFromPageContext as x, getValueFromVariable as b, setVariableValue as F, getVariableValue as V, isDateDataType as k } from "../../../../utils/page-helper-util.js";
5
+ import { handleAfterInitEvent as T, getCustomFunc as z, handleFormEvent as P } from "../../../../utils/events/event-util.js";
6
+ import j from "../common/title-suffix-element.vue.js";
7
+ import R from "dayjs";
8
+ import { $t as Y } from "../../../../utils/i18n-util.js";
9
+ import { addRequiredClassUtil as D } from "../../../../utils/common-util.js";
10
+ import { DatePickerRange as _, DateQuarterPicker as S } from "agilebuilder-ui";
11
+ const q = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
12
+ var _a;
13
+ const w = e2, A = a(null), B = w.pageContext.entity ? w.pageContext.entity : {}, I = w.configure.runtime ? w.configure.runtime : {}, M = I.style, U = I.class, $ = I.headerStyle, N = I.titleExceedStyle, W = a(I.props ? I.props : {});
14
+ let E = y(w.pageContext, w.configure, W.value.prop);
15
+ if (w.pageContext.modelFieldsMap && E && E.length > 0 && "data" === E[0]) {
16
+ const e3 = x(E, w.pageContext);
17
+ e3 && function(e4) {
18
+ const a2 = e4.dataType;
19
+ k(a2) && ("year" === W.value.dateType && "YYYY" === W.value.valueFormat || "month" === W.value.dateType && "YYYY-MM" === W.value.valueFormat) && (W.value.valueFormat = "x");
20
+ }(e3);
21
+ }
22
+ let O = null, G = false;
23
+ if (W.value.dateType && W.value.dateType.includes("range")) {
24
+ G = true;
25
+ let e3 = W.value.prop2;
26
+ e3 && e3.startsWith("${") || (e3 = "${page." + w.configure.uuid + "-2}");
27
+ const a2 = b(B, e3, null);
28
+ if (e3 = e3.substring(2, e3.length - 1), O = e3.split("."), !(a2 || B.data && (B.data.id || B.data.ID)) && W.value.defaultValue2) {
29
+ const e4 = b(B, W.value.defaultValue2);
30
+ if (null != e4 && "" !== e4) F(B, O, e4);
31
+ else if (((_a = W.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
32
+ const e5 = W.value.moreDefaultValue2;
33
+ for (let a3 = 0; a3 < e5.length; a3++) {
34
+ const l2 = b(B, e5[a3]);
35
+ if (null != l2 && "" !== l2) {
36
+ F(B, O, l2);
37
+ break;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ const H = a(null), J = a(null), K = a(null);
44
+ function L(e3, a2) {
45
+ if (!e3) return e3;
46
+ if (a2) {
47
+ "number" != typeof e3 || isNaN(e3) || 4 !== e3.toString().length || (e3 = e3.toString());
48
+ try {
49
+ const l2 = R(e3);
50
+ let t2 = null;
51
+ return t2 = "x" === a2 ? l2.toDate().getTime() : R(e3).format(a2), "Invalid Date" === t2 ? e3 : t2;
52
+ } catch (a3) {
53
+ return console.error("日期值格式化错误", a3), console.error(`value: ${e3} ,valueFormat: ${W.value.valueFormat}`), e3;
54
+ }
55
+ }
56
+ return e3;
57
+ }
58
+ if (l(() => {
59
+ t(() => {
60
+ const e3 = Q.value;
61
+ T(e3, w.pageContext, w.configure, { formItemRef: H.value, componentRef: J.value, titleRef: K.value, value: e3, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
62
+ });
63
+ }), E) {
64
+ const e3 = V(B, E), a2 = L(e3, W.value.valueFormat);
65
+ e3 !== a2 && F(B, E, a2);
66
+ }
67
+ if (O) {
68
+ const e3 = V(B, O), a2 = L(e3, W.value.valueFormat);
69
+ e3 !== a2 && F(B, O, a2);
70
+ }
71
+ const Q = o({ get() {
72
+ if (G) {
73
+ const e3 = [];
74
+ let a2 = V(B, E);
75
+ e3.push(L(a2, W.value.valueFormat));
76
+ let l2 = V(B, O);
77
+ return e3.push(L(l2, W.value.valueFormat)), e3;
78
+ }
79
+ return L(V(B, E), W.value.valueFormat);
80
+ }, set(e3) {
81
+ G ? Array.isArray(e3) ? (F(B, E, e3[0]), F(B, O, e3[1]), A.value = "") : null === e3 && (F(B, E, null), F(B, O, null)) : (F(B, E, e3), null != e3 && (A.value = ""));
82
+ } }), X = a(C(W.value.dateScopeDetails, W.value.sourceType, W.value.dateType));
83
+ if (W.value.shortcutsFunc) {
84
+ const e3 = z(w.pageContext, W.value.shortcutsFunc);
85
+ if (e3) {
86
+ let a2 = e3.apply(e3, [{ pageContext: w.pageContext, configureObj: w.configure }]);
87
+ if (a2) {
88
+ Array.isArray(a2) || (a2 = [a2]), X.value || (X.value = []);
89
+ for (let e4 of a2) e4.text && e4.value && X.value.push(e4);
90
+ }
91
+ }
92
+ }
93
+ return q2({ addRequiredClass: function() {
94
+ A.value = D();
95
+ } }), (a2, l2) => {
96
+ const t2 = r("el-time-picker"), o2 = r("el-date-picker"), y2 = r("el-form-item");
97
+ return n(), u(y2, { ref_key: "formItemRef", ref: H, required: W.value.required, class: d(c(U) + (A.value ? " " + A.value : "")), "label-width": W.value.labelWidth, style: i(c(M)) }, p({ default: s(() => ["time" == W.value.dateType || "timerange" == W.value.dateType ? (n(), u(t2, { key: 0, ref_key: "componentRef", ref: J, "is-range": "timerange" == W.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: W.value.clearable, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), "unlink-panels": true, format: W.value.format, "value-format": W.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => Q.value = e3), shortcuts: X.value, type: W.value.dateType, onChange: l2[1] || (l2[1] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[4] || (l2[4] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[5] || (l2[5] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[6] || (l2[6] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== W.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(W.value.dateType) ? (n(), u(c(_), { key: 1, modelValue: Q.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => Q.value = e3), type: W.value.dateType, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, clearable: W.value.clearable, format: W.value.format, "value-format": W.value.valueFormat, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), size: W.value.size, shortcuts: X.value, onChange: l2[8] || (l2[8] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[9] || (l2[9] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[10] || (l2[10] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[11] || (l2[11] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[12] || (l2[12] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[13] || (l2[13] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : "quarter" === W.value.dateType ? (n(), u(c(S), { key: 2, modelValue: Q.value, "onUpdate:modelValue": l2[14] || (l2[14] = (e3) => Q.value = e3), type: W.value.dateType, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, clearable: W.value.clearable, format: W.value.format, "value-format": W.value.valueFormat, placeholder: c(Y)(W.value.placeholder), size: W.value.size, onChange: l2[15] || (l2[15] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[16] || (l2[16] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[17] || (l2[17] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onClear: l2[18] || (l2[18] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "size"])) : (n(), u(o2, { key: 3, ref_key: "componentRef", ref: J, clearable: W.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), format: W.value.format, "value-format": W.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[19] || (l2[19] = (e3) => Q.value = e3), shortcuts: X.value, type: W.value.dateType, onChange: l2[20] || (l2[20] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[21] || (l2[21] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[22] || (l2[22] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[23] || (l2[23] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[24] || (l2[24] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[25] || (l2[25] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: s(() => [v("div", { ref_key: "titleRef", ref: K, style: i({ ...c($), ...c(N) }) }, [W.value.prefixType ? (n(), u(j, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (n(), f(g, { key: 1 }, [m(h(c(Y)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
98
+ };
99
+ } });
100
+ export {
101
+ q as default
102
+ };
@@ -1,4 +1,4 @@
1
- import e from "./depttree-runtime2.vue.js";
1
+ import e from "./depttree-runtime.vue2.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as a, watch as n, resolveComponent as i, openBlock as p, createBlock as u, normalizeStyle as r, unref as s, normalizeClass as d, createSlots as m, withCtx as f, createVNode as c, createElementVNode as g, createElementBlock as v, Fragment as y, createTextVNode as x, toDisplayString as h } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as a, watch as n, resolveComponent as i, createBlock as p, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, createSlots as m, withCtx as f, createVNode as c, createElementVNode as g, createElementBlock as v, Fragment as y, createTextVNode as x, toDisplayString as h } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
3
  import { handleAfterInitEvent as S, handleFormEvent as b } from "../../../../utils/events/event-util.js";
4
4
  import F from "../common/title-suffix-element.vue.js";
@@ -47,7 +47,7 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
47
47
  q.value = j();
48
48
  } }), (t2, l2) => {
49
49
  const o2 = i("OrganizationInput"), a2 = i("el-form-item");
50
- return p(), u(a2, { ref_key: "formItemRef", ref: K, required: A.value.required, class: d(s(G) + (q.value ? " " + q.value : "")), "label-width": A.value.labelWidth, style: r(s(B)) }, m({ default: f(() => [c(o2, { ref_key: "componentRef", ref: L, disabled: "disabled" == A.value.state, multiple: A.value.multiple, treeType: A.value.treeType, value: P.value, models: s(O), departmentInfo: W.value, limitFilterColumn: A.value.limitFilterColumn, pageModels: s($), fields: s(Q), inputShowWay: A.value.inputShowWay, autosize: A.value.autosize, size: A.value.size, displayItem: A.value.displayItem, separator: A.value.separator, onSetValue: X, onShowTree: Y }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [A.value.tittleShow ? { name: "label", fn: f(() => [g("div", { ref_key: "titleRef", ref: N, style: r({ ...s(H), ...s(J) }), class: "amb-form-item-label" }, [A.value.prefixType ? (p(), u(F, { key: 0, pageContext: e2.pageContext, property: A.value }, null, 8, ["pageContext", "property"])) : (p(), v(y, { key: 1 }, [x(h(s(I)(A.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
50
+ return u(), p(a2, { ref_key: "formItemRef", ref: K, required: A.value.required, class: s(d(G) + (q.value ? " " + q.value : "")), "label-width": A.value.labelWidth, style: r(d(B)) }, m({ default: f(() => [c(o2, { ref_key: "componentRef", ref: L, disabled: "disabled" == A.value.state, multiple: A.value.multiple, treeType: A.value.treeType, value: P.value, models: d(O), departmentInfo: W.value, limitFilterColumn: A.value.limitFilterColumn, pageModels: d($), fields: d(Q), inputShowWay: A.value.inputShowWay, autosize: A.value.autosize, size: A.value.size, displayItem: A.value.displayItem, separator: A.value.separator, onSetValue: X, onShowTree: Y }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [A.value.tittleShow ? { name: "label", fn: f(() => [g("div", { ref_key: "titleRef", ref: N, style: r({ ...d(H), ...d(J) }), class: "amb-form-item-label" }, [A.value.prefixType ? (u(), p(F, { key: 0, pageContext: e2.pageContext, property: A.value }, null, 8, ["pageContext", "property"])) : (u(), v(y, { key: 1 }, [x(h(d(I)(A.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
51
51
  };
52
52
  } });
53
53
  export {
@@ -1,4 +1,4 @@
1
- import e from "./divider-runtime2.vue.js";
1
+ import e from "./divider-runtime.vue2.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 n, onMounted as o, nextTick as r, resolveComponent as i, openBlock as u, createBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, createBlock as u, openBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
2
2
  import { formatVariableValue as f } from "../../../../utils/page-helper-util.js";
3
3
  import { handleAfterInitEvent as v, handleFormEvent as g } from "../../../../utils/events/event-util.js";
4
4
  const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
@@ -16,7 +16,7 @@ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {}
16
16
  });
17
17
  }), (t2, n2) => {
18
18
  const o2 = i("el-divider");
19
- return u(), l(o2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: n2[0] || (n2[0] = (t3) => a(g)(t3, e2.pageContext, e2.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
19
+ return l(), u(o2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: n2[0] || (n2[0] = (t3) => a(g)(t3, e2.pageContext, e2.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -1,4 +1,4 @@
1
- import e from "./fileupload-runtime2.vue.js";
1
+ import e from "./fileupload-runtime.vue2.js";
2
2
  export {
3
3
  e as default
4
4
  };