super-page-runtime 2.3.47-sit1 → 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 (173) hide show
  1. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
  2. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
  3. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
  4. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +4 -4
  5. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
  6. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +4 -4
  7. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
  9. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
  11. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
  13. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +2 -2
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
  18. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +2 -2
  19. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
  21. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
  23. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
  25. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
  27. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  28. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  29. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
  30. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
  32. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +12 -11
  33. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +2 -2
  34. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
  40. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  42. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +4 -4
  44. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
  45. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +4 -4
  46. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
  47. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
  48. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
  49. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
  50. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  51. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -2
  52. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +4 -4
  54. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +4 -4
  56. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +2 -2
  58. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  60. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  61. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
  63. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +2 -2
  64. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
  66. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
  68. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  70. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  71. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
  72. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +4 -4
  73. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -4
  74. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
  75. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
  76. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
  77. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  78. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
  79. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +4 -4
  80. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
  81. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +4 -4
  82. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
  83. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +4 -4
  84. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
  85. package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -4
  86. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
  87. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +4 -4
  88. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
  89. package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime2.vue.js} +6 -6
  90. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  91. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +4 -4
  92. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
  93. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +4 -4
  94. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  95. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
  96. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
  97. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +4 -4
  98. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  99. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  100. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  101. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +5 -5
  102. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
  103. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
  104. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
  105. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +4 -4
  106. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
  107. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +12 -12
  108. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
  110. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +4 -4
  111. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
  112. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +3 -3
  113. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
  114. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  115. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  117. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  119. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
  120. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
  121. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
  122. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
  123. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  124. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
  125. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
  126. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
  127. package/dist/es/components/runtime/views/home-chart.vue.js +2 -2
  128. package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -15
  129. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  130. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  131. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +3 -3
  132. package/dist/es/i18n/langs/cn.js +1 -1
  133. package/dist/es/i18n/langs/en.js +1 -1
  134. package/dist/es/style.css +85 -85
  135. package/package.json +1 -1
  136. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
  137. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
  138. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
  139. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
  140. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
  141. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
  142. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
  143. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
  144. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
  145. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
  146. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
  147. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
  148. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
  149. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
  150. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
  151. /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
  152. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
  153. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
  154. /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
  155. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
  156. /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
  157. /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
  158. /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
  159. /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
  160. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
  161. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
  162. /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
  163. /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
  164. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
  165. /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
  166. /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
  167. /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
  168. /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
  169. /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
  170. /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
  171. /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
  172. /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
  173. /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as a, onMounted as r, watch as o, resolveComponent as l, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as s, unref as p, withCtx as c, 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";
@@ -59,7 +59,7 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
59
59
  return x(N, k);
60
60
  }, setValue: F }), (e3, t2) => {
61
61
  const a2 = l("el-form-item");
62
- return n(), u(a2, { required: !!_.value.required, class: s(p(P)), "label-width": _.value.labelWidth, style: i(p(O)) }, { label: c(() => [_.value.tittleShow ? (n(), m("div", { key: 0, style: i({ ...p(S) }) }, g(p(R)(_.value.title)), 5)) : f("", true)]), default: c(() => ["QR-code" === _.value.type ? (n(), m("img", { key: 0, src: $.value }, null, 8, j)) : (n(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
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
63
  };
64
64
  } });
65
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";
@@ -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
- } }), (e3, t2) => (l(), u("div", null, [r(g) && "form" === r(g) && C.value ? (l(), o(i, { key: 0, ref_key: "gridRef", ref: m, pageContext: e3.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: e3.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";
@@ -56,9 +56,9 @@ const z = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
56
56
  });
57
57
  }), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
58
58
  }
59
- } }), (e3, t2) => {
60
- const l2 = a("el-checkbox"), o2 = a("el-checkbox-group"), n2 = a("el-form-item");
61
- return i(), u(n2, { 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(o2, { ref_key: "componentRef", ref: Y, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => M.value = e4) }, { default: f(() => [(i(true), v(d, null, m(G.value, (t3) => (i(), u(l2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => c(I)(t3.value, e3.pageContext, e3.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"]);
59
+ } }), (t2, l2) => {
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"]);
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;
@@ -28,9 +28,9 @@ const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property
28
28
  const r2 = l2.indexOf(h);
29
29
  e3 ? -1 == r2 && l2.push(h) : r2 > -1 && l2.splice(r2, 1), y(c, d, l2);
30
30
  } else y(c, d, e3);
31
- } })), (e3, l2) => {
32
- const s2 = r("el-radio"), y2 = r("el-checkbox");
33
- return p(), t(o, null, ["radio" === e3.property.prefixType ? (p(), u(s2, { key: 0, value: e3.property.prefixValue, label: e3.property.title, modelValue: i(b), "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => n(b) ? b.value = e4 : b = e4) }, null, 8, ["value", "label", "modelValue"])) : a("", true), "checkbox" === e3.property.prefixType ? (p(), u(y2, { key: 1, label: e3.property.title, value: e3.property.prefixValue, modelValue: i(b), "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => n(b) ? b.value = e4 : b = e4) }, null, 8, ["label", "value", "modelValue"])) : a("", true)], 64);
31
+ } })), (l2, s2) => {
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);
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 f, unref as m, 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";
@@ -59,9 +59,9 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
59
59
  return ee.value && "function" == typeof ee.value[e3];
60
60
  }, addRequiredClass: function() {
61
61
  requiredClass.value = addRequiredClassUtil();
62
- } }), (e3, t2) => {
63
- const o2 = u("el-form-item");
64
- return K.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: f(m(W)), "label-width": K.value.labelWidth, style: c(m(B)) }, d({ default: g(() => [N.value ? (p(), r("div", $, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: t2[1] || (t2[1] = (t3) => m(_)(I.value, e3.pageContext, e3.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({ ...m(J) }), class: "amb-form-item-label" }, x(m(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: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: t2[3] || (t2[3] = (t3) => m(_)(I.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
62
+ } }), (t2, o2) => {
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);
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
  };
@@ -0,0 +1,102 @@
1
+ import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as u, openBlock as r, createBlock as n, normalizeStyle as i, unref as d, normalizeClass 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, N = I.headerStyle, W = I.titleExceedStyle, $ = a(I.props ? I.props : {});
14
+ let E = y(w.pageContext, w.configure, $.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" === $.value.dateType && "YYYY" === $.value.valueFormat || "month" === $.value.dateType && "YYYY-MM" === $.value.valueFormat) && ($.value.valueFormat = "x");
20
+ }(e3);
21
+ }
22
+ let O = null, G = false;
23
+ if ($.value.dateType && $.value.dateType.includes("range")) {
24
+ G = true;
25
+ let e3 = $.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)) && $.value.defaultValue2) {
29
+ const e4 = b(B, $.value.defaultValue2);
30
+ if (null != e4 && "" !== e4) F(B, O, e4);
31
+ else if (((_a = $.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
32
+ const e5 = $.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 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, $.value.valueFormat);
65
+ e3 !== a2 && F(B, E, a2);
66
+ }
67
+ if (O) {
68
+ const e3 = V(B, O), a2 = L(e3, $.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, $.value.valueFormat));
76
+ let l2 = V(B, O);
77
+ return e3.push(L(l2, $.value.valueFormat)), e3;
78
+ }
79
+ return L(V(B, E), $.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($.value.dateScopeDetails, $.value.sourceType, $.value.dateType));
83
+ if ($.value.shortcutsFunc) {
84
+ const e3 = z(w.pageContext, $.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 = u("el-time-picker"), o2 = u("el-date-picker"), y2 = u("el-form-item");
97
+ return r(), n(y2, { ref_key: "formItemRef", ref: H, required: $.value.required, class: c(d(U) + (A.value ? " " + A.value : "")), "label-width": $.value.labelWidth, style: i(d(M)) }, p({ default: s(() => ["time" == $.value.dateType || "timerange" == $.value.dateType ? (r(), n(t2, { key: 0, ref_key: "componentRef", ref: J, "is-range": "timerange" == $.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: $.value.clearable, disabled: "disabled" === $.value.state, readonly: "readonly" === $.value.state, size: $.value.size, placeholder: d(Y)($.value.placeholder), "start-placeholder": d(Y)($.value.placeholder), "end-placeholder": d(Y)($.value.endPlaceholder ? $.value.endPlaceholder : $.value.placeholder), "unlink-panels": true, format: $.value.format, "value-format": $.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => Q.value = e3), shortcuts: X.value, type: $.value.dateType, onChange: l2[1] || (l2[1] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[4] || (l2[4] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[5] || (l2[5] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[6] || (l2[6] = (a3) => d(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" !== $.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes($.value.dateType) ? (r(), n(d(_), { key: 1, modelValue: Q.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => Q.value = e3), type: $.value.dateType, disabled: "disabled" === $.value.state, readonly: "readonly" === $.value.state, clearable: $.value.clearable, format: $.value.format, "value-format": $.value.valueFormat, placeholder: d(Y)($.value.placeholder), "start-placeholder": d(Y)($.value.placeholder), "end-placeholder": d(Y)($.value.endPlaceholder ? $.value.endPlaceholder : $.value.placeholder), size: $.value.size, shortcuts: X.value, onChange: l2[8] || (l2[8] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[9] || (l2[9] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[10] || (l2[10] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[11] || (l2[11] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[12] || (l2[12] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[13] || (l2[13] = (a3) => d(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" === $.value.dateType ? (r(), n(d(S), { key: 2, modelValue: Q.value, "onUpdate:modelValue": l2[14] || (l2[14] = (e3) => Q.value = e3), type: $.value.dateType, disabled: "disabled" === $.value.state, readonly: "readonly" === $.value.state, clearable: $.value.clearable, format: $.value.format, "value-format": $.value.valueFormat, placeholder: d(Y)($.value.placeholder), size: $.value.size, onChange: l2[15] || (l2[15] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[16] || (l2[16] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[17] || (l2[17] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "focus")), onClear: l2[18] || (l2[18] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "size"])) : (r(), n(o2, { key: 3, ref_key: "componentRef", ref: J, clearable: $.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === $.value.state, readonly: "readonly" === $.value.state, size: $.value.size, placeholder: d(Y)($.value.placeholder), "start-placeholder": d(Y)($.value.placeholder), "end-placeholder": d(Y)($.value.endPlaceholder ? $.value.endPlaceholder : $.value.placeholder), format: $.value.format, "value-format": $.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[19] || (l2[19] = (e3) => Q.value = e3), shortcuts: X.value, type: $.value.dateType, onChange: l2[20] || (l2[20] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[21] || (l2[21] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[22] || (l2[22] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[23] || (l2[23] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[24] || (l2[24] = (a3) => d(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[25] || (l2[25] = (a3) => d(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 }, [$.value.tittleShow ? { name: "label", fn: s(() => [v("div", { ref_key: "titleRef", ref: K, style: i({ ...d(N), ...d(W) }) }, [$.value.prefixType ? (r(), n(j, { key: 0, pageContext: e2.pageContext, property: $.value }, null, 8, ["pageContext", "property"])) : (r(), f(g, { key: 1 }, [m(h(d(Y)($.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-runtime.vue2.js";
1
+ import e from "./depttree-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, 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";
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";
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";
@@ -45,9 +45,9 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
45
45
  }
46
46
  return Q.length - 1 > 0 && Q[Q.length - 1] && Q[Q.length - 1].model && (U = z(Q[Q.length - 1].model)), _2({ addRequiredClass: function() {
47
47
  q.value = j();
48
- } }), (e3, t2) => {
49
- const l2 = i("OrganizationInput"), o2 = i("el-form-item");
50
- return u(), p(o2, { 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(l2, { 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: e3.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"]);
48
+ } }), (t2, l2) => {
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"]);
51
51
  };
52
52
  } });
53
53
  export {
@@ -1,4 +1,4 @@
1
- import e from "./divider-runtime.vue2.js";
1
+ import e from "./divider-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 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";
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";
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) {
@@ -14,9 +14,9 @@ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {}
14
14
  const e3 = b.value;
15
15
  v(e3, m2.pageContext, m2.configure, { componentRef: k.value, value: e3, entity: m2.pageContext.entity.data, pageData: m2.pageContext.entity.page });
16
16
  });
17
- }), (e3, t2) => {
18
- const n2 = i("el-divider");
19
- return l(), u(n2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => a(g)(t3, e3.pageContext, e3.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
17
+ }), (t2, n2) => {
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"]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -1,4 +1,4 @@
1
- import e from "./fileupload-runtime.vue2.js";
1
+ import e from "./fileupload-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, watch as l, onMounted as o, nextTick as a, onUnmounted as i, resolveComponent as n, createBlock as u, createCommentVNode as r, openBlock as p, normalizeStyle as s, normalizeClass as f, unref as d, createSlots as m, withCtx as c, createElementVNode as v, toDisplayString as g } from "vue";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as o, nextTick as a, onUnmounted as i, resolveComponent as n, openBlock as u, createBlock as r, normalizeStyle as p, unref as s, normalizeClass as f, createSlots as d, withCtx as m, createCommentVNode as c, createElementVNode as v, toDisplayString as g } from "vue";
2
2
  import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
3
3
  import { handleAfterInitEvent as C, fileUploadBeforeUpload as w, fileUploadBeforeDelete as b, fileUploadUploaded as x, fileUploadDeleted as k } from "../../../../utils/events/event-util.js";
4
4
  import I from "agilebuilder-ui/src/utils/request";
@@ -103,9 +103,9 @@ const _ = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
103
103
  N.$off(K.value + "-pickFileDone");
104
104
  }), _2({ addRequiredClass: function() {
105
105
  R.value = j();
106
- } }), (e3, t2) => {
107
- const l2 = n("el-form-item");
108
- return O.value.tittleShow ? (p(), u(l2, { key: 0, ref_key: "formItemRef", ref: re, required: O.value.required, class: f(d(W) + (R.value ? " " + R.value : "")), "label-width": O.value.labelWidth, style: s(d(q)) }, m({ default: c(() => [Q.value ? (p(), u(d(P), { key: 0, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: O.value.placeholder, limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e3.pageContext.systemCode, componentId: K.value, watermark: d(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e3.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true)]), _: 2 }, [O.value.tittleShow ? { name: "label", fn: c(() => [v("div", { ref_key: "titleRef", ref: pe, style: s({ ...d(V), ...d($) }), class: "amb-form-item-label" }, g(d(S)(O.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : Q.value ? (p(), u(d(P), { key: 1, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: O.value.placeholder, limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e3.pageContext.systemCode, componentId: K.value, watermark: d(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e3.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true);
106
+ } }), (t2, l2) => {
107
+ const o2 = n("el-form-item");
108
+ return O.value.tittleShow ? (u(), r(o2, { key: 0, ref_key: "formItemRef", ref: re, required: O.value.required, class: f(s(W) + (R.value ? " " + R.value : "")), "label-width": O.value.labelWidth, style: p(s(q)) }, d({ default: m(() => [Q.value ? (u(), r(s(P), { key: 0, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: s(S)(O.value.placeholder), limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e2.pageContext.systemCode, componentId: K.value, watermark: s(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e2.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : c("", true)]), _: 2 }, [O.value.tittleShow ? { name: "label", fn: m(() => [v("div", { ref_key: "titleRef", ref: pe, style: p({ ...s(V), ...s($) }), class: "amb-form-item-label" }, g(s(S)(O.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : Q.value ? (u(), r(s(P), { key: 1, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: s(S)(O.value.placeholder), limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e2.pageContext.systemCode, componentId: K.value, watermark: s(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e2.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : c("", true);
109
109
  };
110
110
  } });
111
111
  export {
@@ -1,4 +1,4 @@
1
- import e from "./imageupload-runtime.vue2.js";
1
+ import e from "./imageupload-runtime2.vue.js";
2
2
  export {
3
3
  e as default
4
4
  };