super-page-runtime 2.3.46 → 2.3.47-sit2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  2. package/dist/es/components/runtime/utils/events/event-util.js +145 -137
  3. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  4. package/dist/es/components/runtime/utils/events/standard-event.js +33 -33
  5. package/dist/es/components/runtime/utils/events/validator-util.js +260 -241
  6. package/dist/es/components/runtime/utils/page-init-util.js +45 -47
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime2.vue.js} +2 -2
  10. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
  11. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +2 -2
  12. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +2 -2
  14. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime2.vue.js} +3 -3
  16. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime2.vue.js} +3 -3
  18. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  21. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +7 -9
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
  25. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +9 -9
  26. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
  28. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
  30. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
  31. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
  32. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
  33. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
  34. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
  35. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +9 -9
  41. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  42. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  43. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
  44. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
  46. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
  47. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  51. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +2 -2
  52. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +2 -2
  54. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime2.vue.js} +2 -2
  56. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
  58. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -4
  60. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
  61. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
  63. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +2 -2
  64. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +5 -5
  66. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  68. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  69. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
  70. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
  71. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +9 -11
  72. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
  73. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
  74. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
  75. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
  76. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  78. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  79. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
  80. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +2 -2
  81. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
  83. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
  84. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
  85. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  86. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
  87. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +2 -2
  88. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
  89. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +2 -2
  90. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
  91. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +5 -7
  92. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
  93. package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -5
  94. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
  95. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +2 -2
  96. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
  97. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +80 -0
  98. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  99. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +3 -5
  100. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
  101. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +6 -8
  102. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  103. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
  104. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
  105. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  107. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  108. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +7 -8
  110. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
  111. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
  113. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
  115. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +3 -3
  116. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  117. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime2.vue.js} +2 -2
  118. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
  119. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +10 -12
  120. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  121. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
  122. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  123. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  125. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  127. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
  128. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
  129. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
  130. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
  131. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  132. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
  133. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
  134. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
  135. package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
  136. package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -16
  137. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  138. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  139. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +98 -99
  140. package/dist/es/i18n/langs/cn.js +1 -1
  141. package/dist/es/i18n/langs/en.js +1 -1
  142. package/dist/es/style.css +85 -85
  143. package/package.json +2 -2
  144. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
  145. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
  146. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
  147. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
  148. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
  149. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
  150. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
  151. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
  152. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
  153. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
  154. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
  155. /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
  156. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
  157. /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
  158. /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
  159. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
  160. /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
  161. /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
  162. /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
  163. /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
  164. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
  165. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
  166. /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
  167. /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
  168. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
  169. /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
  170. /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
  171. /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
  172. /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
  173. /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
  174. /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
  175. /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
  176. /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
  177. /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
@@ -1,7 +1,7 @@
1
- import o from "./extract-workflow-runtime-dialog.vue2.js";
1
+ import o from "./extract-workflow-runtime-dialog2.vue.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(o, [["__scopeId", "data-v-a6bc44c9"]]);
4
+ const t = r(o, [["__scopeId", "data-v-05f9ea1f"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -0,0 +1,29 @@
1
+ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, openBlock as t, createBlock as n, unref as i, withCtx as u, createVNode as r, createCommentVNode as s, createElementVNode as p, createTextVNode as m, toDisplayString as g } from "vue";
2
+ import { extractWorkflowFunc as d } from "../../../../utils/events/standard-event.js";
3
+ import { DepartmentUserTree as c } from "agilebuilder-ui";
4
+ import { Search as v, Delete as f } from "@element-plus/icons-vue";
5
+ import { $t as _ } from "../../../../utils/i18n-util.js";
6
+ const x = { class: "dialog-footer" }, y = e({ __name: "extract-workflow-runtime-dialog", props: { pageContext: {}, configure: {} }, emits: ["destroy"], setup(e2, { emit: y2 }) {
7
+ const b = y2, C = e2, M = l(), R = l(false), h = l(true), k = l({}), N = l({ loginName: [], opinion: [] }), P = C.configure.runtime ? C.configure.runtime : {};
8
+ function w() {
9
+ R.value = true;
10
+ }
11
+ function V(e3) {
12
+ R.value = false, k.value.loginName = e3 ? e3.loginName : "", k.value.name = e3 ? e3.name : "";
13
+ }
14
+ function T() {
15
+ M.value.validate((e3, l2) => {
16
+ e3 && d({ pageContext: C.pageContext, configureObj: C.configure, _value: { loginName: k.value.loginName, opinion: k.value.opinion } }).then(() => {
17
+ h.value = false, b("destroy");
18
+ });
19
+ });
20
+ }
21
+ return P.props && (true === P.props.requireExtractTransactor && (N.value.loginName = [{ required: true, message: _("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === P.props.isMustOpinion && (N.value.opinion = [{ required: true, message: _("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }])), a(() => {
22
+ }), (e3, l2) => {
23
+ const a2 = o("el-icon"), d2 = o("el-input"), y3 = o("el-form-item"), b2 = o("el-form"), C2 = o("el-button"), P2 = o("el-dialog");
24
+ return t(), n(P2, { modelValue: h.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => h.value = e4), title: i(_)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: u(() => [p("div", x, [r(C2, { onClick: l2[4] || (l2[4] = (e4) => h.value = false) }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), r(C2, { type: "primary", onClick: T }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: u(() => [r(b2, { ref_key: "ruleFormRef", ref: M, style: { "max-width": "600px" }, model: k.value, rules: N.value, "label-width": "auto" }, { default: u(() => [r(y3, { label: i(_)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: u(() => [r(d2, { "model-value": k.value.name, readonly: true, type: "text", placeholder: i(_)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[2] || (l2[2] = (e4) => w()) }, { append: u(() => [r(a2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => w()) }, { default: u(() => [r(i(v))]), _: 1 }), r(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (k.value.loginName = "", void (k.value.name = ""))) }, { default: u(() => [r(i(f))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), r(y3, { label: i(_)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: u(() => [r(d2, { modelValue: k.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => k.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), R.value ? (t(), n(i(c), { key: 0, width: "60%", multiple: false, onClose: V })) : s("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"]);
25
+ };
26
+ } });
27
+ export {
28
+ y as default
29
+ };
@@ -1,7 +1,7 @@
1
- import r from "./extract-workflow-runtime.vue2.js";
1
+ import r from "./extract-workflow-runtime2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = t(r, [["__scopeId", "data-v-86931fd4"]]);
4
+ const e = t(r, [["__scopeId", "data-v-1a7971b9"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -0,0 +1,45 @@
1
+ import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t, openBlock as o, createElementBlock as i, createVNode as u, normalizeStyle as r, unref as s, normalizeClass as p, withCtx as c, createTextVNode as m, toDisplayString as g, createBlock as d, createCommentVNode as f, createElementVNode as v } from "vue";
2
+ import { handleAfterInitEvent as x, handleEvent as C, getDefaultEventParams as y, canExecuteButton as _ } from "../../../../utils/events/event-util.js";
3
+ import { $t as k } from "../../../../utils/i18n-util.js";
4
+ import { DepartmentUserTree as b } from "agilebuilder-ui";
5
+ import { Search as R, Delete as h } from "@element-plus/icons-vue";
6
+ const M = { class: "page-runtime-header-btn" }, N = { class: "dialog-footer" }, P = e({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
7
+ const w = e2, V = l(), U = l(false), T = l(false), q = l({}), z = l({ loginName: [], opinion: [] }), j = w.configure.runtime ? w.configure.runtime : {}, E = l(j.props ? j.props : {}), O = j.style, S = j.class;
8
+ function D() {
9
+ return void 0 !== w.pageContext.canClick && void 0 !== w.pageContext.clickUuid && (!w.pageContext.canClick && w.pageContext.clickUuid === w.configure.uuid);
10
+ }
11
+ j.props && (true === j.props.requireExtractTransactor && (z.value.loginName = [{ required: true, message: k("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === j.props.isMustOpinion && (z.value.opinion = [{ required: true, message: k("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }]));
12
+ const F = l(null);
13
+ function I() {
14
+ U.value = true;
15
+ }
16
+ function $(e3) {
17
+ U.value = false, q.value.loginName = e3 ? e3.loginName : "", q.value.name = e3 ? e3.name : "";
18
+ }
19
+ function A() {
20
+ V.value.validate((e3, l2) => {
21
+ if (e3) {
22
+ const e4 = { loginName: q.value.loginName, opinion: q.value.opinion };
23
+ C(e4, w.pageContext, w.configure, "click");
24
+ }
25
+ });
26
+ }
27
+ return a(() => {
28
+ n(() => {
29
+ x(null, w.pageContext, w.configure, { componentRef: F.value, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
30
+ });
31
+ }), P2({ click: function() {
32
+ F.value && F.value.$el.click();
33
+ } }), (e3, l2) => {
34
+ const a2 = t("el-button"), n2 = t("el-icon"), x2 = t("el-input"), C2 = t("el-form-item"), P3 = t("el-form"), j2 = t("el-dialog");
35
+ return o(), i("span", M, [u(a2, { ref_key: "componentRef", ref: F, disabled: D(), class: p(s(S)), style: r(s(O)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: D(), onClick: l2[0] || (l2[0] = (e4) => function(e5) {
36
+ const l3 = y(e5, w.pageContext, w.configure, {});
37
+ _(l3).then((e6) => {
38
+ e6.canExecute && (T.value = true);
39
+ });
40
+ }()) }, { default: c(() => [m(g(s(k)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(j2, { modelValue: T.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => T.value = e4), title: s(k)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: c(() => [v("div", N, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => T.value = false) }, { default: c(() => [m(g(s(k)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), u(a2, { type: "primary", onClick: A }, { default: c(() => [m(g(s(k)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: c(() => [u(P3, { ref_key: "ruleFormRef", ref: V, style: { "max-width": "600px" }, model: q.value, rules: z.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: s(k)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: c(() => [u(x2, { "model-value": q.value.name, readonly: true, type: "text", placeholder: s(k)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[3] || (l2[3] = (e4) => I()) }, { append: c(() => [u(n2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => I()) }, { default: c(() => [u(s(R))]), _: 1 }), u(n2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (q.value.loginName = "", void (q.value.name = ""))) }, { default: c(() => [u(s(h))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), u(C2, { label: s(k)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: c(() => [u(x2, { modelValue: q.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), U.value ? (o(), d(s(b), { key: 0, width: "60%", multiple: false, onClose: $ })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"])]);
41
+ };
42
+ } });
43
+ export {
44
+ P as default
45
+ };
@@ -1,4 +1,4 @@
1
- import e from "./pictureflow-runtime.vue2.js";
1
+ import e from "./pictureflow-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 n, resolveComponent as o, createElementBlock as i, createBlock as r, unref as s, openBlock as a, toDisplayString as l, normalizeStyle as u } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as r, createElementBlock as s, toDisplayString as a, createBlock as l, normalizeStyle as u } from "vue";
2
2
  import { getWorkflowId as p } from "../../../../utils/common-util.js";
3
3
  const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
4
  var _a;
@@ -12,7 +12,7 @@ const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContex
12
12
  c && y.value && y.value.refresh();
13
13
  }, { immediate: true }), (e3, t2) => {
14
14
  const n2 = o("workflow-history");
15
- return s(c) ? (a(), r(n2, { key: 1, id: s(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (a(), i("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
15
+ return i(c) ? (r(), l(n2, { key: 1, id: i(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (r(), s("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
16
16
  };
17
17
  } });
18
18
  export {
@@ -1,4 +1,4 @@
1
- import t from "./textflow-runtime.vue2.js";
1
+ import t from "./textflow-runtime2.vue.js";
2
2
  export {
3
3
  t as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as n, resolveComponent as o, createElementBlock as i, createBlock as s, unref as r, openBlock as l, toDisplayString as a, normalizeStyle as u } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as s, createElementBlock as r, toDisplayString as l, createBlock as a, normalizeStyle as u } from "vue";
2
2
  import { getWorkflowId as p } from "../../../../utils/common-util.js";
3
3
  const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
4
  var _a;
@@ -15,7 +15,7 @@ const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext:
15
15
  w && y.value && g2.pageContext.entity.task && y.value.refresh();
16
16
  }, { immediate: true }), (e3, t2) => {
17
17
  const n2 = o("workflow-history-list");
18
- return r(w) ? (l(), s(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": r(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (l(), i("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
18
+ return i(w) ? (s(), a(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": i(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (s(), r("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
19
19
  };
20
20
  } });
21
21
  export {
@@ -1,4 +1,4 @@
1
- import o from "./workflowbutton-runtime.vue2.js";
1
+ import o from "./workflowbutton-runtime2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = t(o, [["__scopeId", "data-v-23637db8"]]);
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, ref as e, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as i, createCommentVNode as a } from "vue";
1
+ import { defineComponent as t, ref as e, openBlock as n, createElementBlock as o, Fragment as r, renderList as u, createBlock as i, createCommentVNode as a } from "vue";
2
2
  import s from "../../object-render.vue.js";
3
3
  import { getClickEventFuncByType as p } from "../../../../utils/events/event-util.js";
4
4
  import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
@@ -25,7 +25,7 @@ const c = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
25
25
  if (!o2 || o2.startsWith("initVal")) return;
26
26
  ((_b2 = (_a2 = t4 == null ? void 0 : t4.runtime) == null ? void 0 : _a2.props) == null ? void 0 : _b2.title) && (t4.runtime.props.title = o2);
27
27
  }(t3), k.value.push(t3));
28
- }), (e2, p2) => (o(), n("span", c, [(o(true), n(r, null, u(k.value, (e3, u2) => (o(), n(r, null, [e3.check ? (o(), i(s, { key: u2, pageContext: t2.pageContext, configure: e3 }, null, 8, ["pageContext", "configure"])) : a("", true)], 64))), 256))]));
28
+ }), (e2, p2) => (n(), o("span", c, [(n(true), o(r, null, u(k.value, (e3, u2) => (n(), o(r, null, [e3.check ? (n(), i(s, { key: u2, pageContext: t2.pageContext, configure: e3 }, null, 8, ["pageContext", "configure"])) : a("", true)], 64))), 256))]));
29
29
  } });
30
30
  export {
31
31
  l as default
@@ -1,4 +1,4 @@
1
- import o from "./workflownode-runtime.vue2.js";
1
+ import o from "./workflownode-runtime2.vue.js";
2
2
  export {
3
3
  o as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, ref as e, onMounted as a, createElementBlock as n, createCommentVNode as o, openBlock as r, normalizeClass as s, unref as i, createElementVNode as p, normalizeStyle as u, toDisplayString as l } from "vue";
1
+ import { defineComponent as t, ref as e, onMounted as a, openBlock as n, createElementBlock as o, normalizeClass as r, unref as s, createElementVNode as i, normalizeStyle as p, toDisplayString as u, createCommentVNode as l } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as m, setVariableValue as C } from "../../../../utils/page-helper-util.js";
4
4
  import { useI18n as c } from "vue-i18n";
@@ -20,7 +20,7 @@ const f = t({ __name: "workflownode-runtime", props: { pageContext: {}, configur
20
20
  return m(d, v);
21
21
  }, setValue: function(t3) {
22
22
  return C(d, v, t3);
23
- } }), (t3, e2) => y.value ? (r(), n("span", { key: 0, class: s(i(A)) }, [p("span", { style: u(i(N)) }, [p("span", null, l(E.value.title), 1), p("span", null, l(i(k)), 1)], 4)], 2)) : o("", true);
23
+ } }), (t3, e2) => y.value ? (n(), o("span", { key: 0, class: r(s(A)) }, [i("span", { style: p(s(N)) }, [i("span", null, u(E.value.title), 1), i("span", null, u(s(k)), 1)], 4)], 2)) : l("", true);
24
24
  } });
25
25
  export {
26
26
  f as default
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as r, openBlock as o, createBlock as s, createCommentVNode as l, unref as u, toDisplayString as m } from "vue";
1
+ import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, openBlock as r, createElementBlock as o, createBlock as s, unref as l, toDisplayString as u, createCommentVNode as m } from "vue";
2
2
  import { deepCopy as h } from "../utils/common-util.js";
3
3
  import g from "./assemblys/home-chart-render.vue.js";
4
4
  import c from "agilebuilder-ui/src/utils/request";
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
7
7
  import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
8
8
  import { useI18n as C } from "vue-i18n";
9
9
  const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
10
- const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
10
+ const { t: b2 } = C(), I = e2, U = t(true), w = t(false), H = t(null);
11
11
  let x, A = t(null);
12
12
  return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
13
13
  var _a, _b;
14
14
  if (e3 && e3.designJson) {
15
- w.value = {};
15
+ H.value = {};
16
16
  const t2 = JSON.parse(e3.designJson);
17
17
  let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
18
18
  if (a2) {
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
20
20
  e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
21
21
  }
22
22
  const i2 = window.frameElement;
23
- w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
23
+ H.value = t2.chartJson, H.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (H.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
24
24
  const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
25
- if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
25
+ if (((_a = H.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = H.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
26
26
  const e4 = n2.entity.page;
27
27
  for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
28
28
  }
29
- t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
29
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(H.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
30
30
  !function(e4, t3) {
31
31
  if (!t3 || 0 == t3.length) return;
32
32
  e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
33
33
  }(A.value, [t2.initChartServiceConfigs]);
34
34
  }, 200);
35
- } else H.value = true, U.value = false;
35
+ } else w.value = true, U.value = false;
36
36
  }).finally(() => {
37
37
  U.value = false;
38
38
  }), a(() => {
39
39
  x && clearTimeout(x);
40
40
  }), (e3, t2) => {
41
41
  const a2 = i("loading");
42
- return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
42
+ return n((r(), o("div", y, [!U.value && H.value ? (r(), s(g, { key: 0, configure: H.value, pageContext: l(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? m("", true) : (r(), o("div", S, u(l(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -1,29 +1,29 @@
1
- import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, createBlock as o, openBlock as t, withCtx as n, createElementBlock as r, createCommentVNode as i } from "vue";
1
+ import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, openBlock as t, createBlock as o, withCtx as n, createElementBlock as r, createCommentVNode as i } from "vue";
2
2
  import d from "./super-page.vue.js";
3
- const s = ["src"], g = ["src"], v = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: v2 }) {
4
- const p = e2, m = v2, c = a(true), P = p.jumpPageSetting ? p.jumpPageSetting : null, f = a(null), h = a(null), w = a(null), b = a(null), C = a(null), j = a(null), y = a({}), I = a(false), k = a(false), O = a("rtl"), S = a(null), _ = a(false), x = a(null), V = a(true), M = a(false), T = a(true), q = a(false);
5
- if (P) {
6
- V.value = (P == null ? void 0 : P.alignCenter) ?? true, M.value = (P == null ? void 0 : P.fullscreen) ?? false, _.value = !(!P || void 0 === P._isIframe) && P._isIframe, x.value = P && P._path ? P._path : null, j.value = P && P.dialogType ? P.dialogType : "dialog", I.value = !(!P || !P.draggable) && P.draggable, k.value = !(!P || !P.overflow) && P.overflow, O.value = P && P.showPosition ? P.showPosition : "rtl", h.value = P && P.jumpPageTitle ? P.jumpPageTitle : null, f.value = P && P.jumpPageWidth ? P.jumpPageWidth : "dialog" === j.value ? "calc(100% - 30px)" : "100%", T.value = P == null ? void 0 : P.showDialogModal, false === T.value ? q.value = P == null ? void 0 : P.dialogModalPenetrable : null !== T.value && void 0 !== T.value || true === (P == null ? void 0 : P.dialogModalPenetrable) && (q.value = true, T.value = false), S.value = P && P.jumpPageHeight ? P.jumpPageHeight : null, w.value = P && P.pageCode, b.value = P && P.dataId ? P.dataId : null, C.value = P && P.taskId ? P.taskId : null;
7
- const e3 = !!P.isNeedId;
8
- if (p.parentPageEventParams) {
3
+ import { $t as s } from "../utils/i18n-util.js";
4
+ const g = ["src"], v = ["src"], p = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: p2 }) {
5
+ const m = e2, c = p2, P = a(true), f = m.jumpPageSetting ? m.jumpPageSetting : null, h = a(null), w = a(null), b = a(null), C = a(null), j = a(null), y = a(null), I = a({}), k = a(false), O = a(false), S = a("rtl"), _ = a(null), x = a(false), V = a(null), M = a(true), T = a(false), q = a(true), E = a(false);
6
+ if (f) {
7
+ M.value = (f == null ? void 0 : f.alignCenter) ?? true, T.value = (f == null ? void 0 : f.fullscreen) ?? false, x.value = !(!f || void 0 === f._isIframe) && f._isIframe, V.value = f && f._path ? f._path : null, y.value = f && f.dialogType ? f.dialogType : "dialog", k.value = !(!f || !f.draggable) && f.draggable, O.value = !(!f || !f.overflow) && f.overflow, S.value = f && f.showPosition ? f.showPosition : "rtl", w.value = f && f.jumpPageTitle ? s(f.jumpPageTitle) : null, h.value = f && f.jumpPageWidth ? f.jumpPageWidth : "dialog" === y.value ? "calc(100% - 30px)" : "100%", q.value = f == null ? void 0 : f.showDialogModal, false === q.value ? E.value = f == null ? void 0 : f.dialogModalPenetrable : null !== q.value && void 0 !== q.value || true === (f == null ? void 0 : f.dialogModalPenetrable) && (E.value = true, q.value = false), _.value = f && f.jumpPageHeight ? f.jumpPageHeight : null, b.value = f && f.pageCode, C.value = f && f.dataId ? f.dataId : null, j.value = f && f.taskId ? f.taskId : null;
8
+ const e3 = !!f.isNeedId;
9
+ if (m.parentPageEventParams) {
9
10
  try {
10
- const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
11
- e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(y.value, e4);
11
+ const e4 = JSON.parse(JSON.stringify(m.parentPageEventParams));
12
+ e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(I.value, e4);
12
13
  } catch (e4) {
13
- console.error(e4);
14
14
  }
15
- null !== b.value && void 0 !== b.value || (b.value = p.parentPageEventParams.id);
15
+ null !== C.value && void 0 !== C.value || (C.value = m.parentPageEventParams.id);
16
16
  }
17
- y.value.parentPageCode = P && P.parentPageCode ? P.parentPageCode : null, y.value.parentPageVersion = P && P.parentPageVersion ? P.parentPageVersion : null, y.value.jumpMode = P ? P.jumpMode : null, y.value.id = b.value, y.value.isNeedId = e3, y.value.taskId = C.value, p.customParams && Object.assign(y.value, p.customParams);
17
+ I.value.parentPageCode = f && f.parentPageCode ? f.parentPageCode : null, I.value.parentPageVersion = f && f.parentPageVersion ? f.parentPageVersion : null, I.value.jumpMode = f ? f.jumpMode : null, I.value.id = C.value, I.value.isNeedId = e3, I.value.taskId = j.value, m.customParams && Object.assign(I.value, m.customParams);
18
18
  }
19
19
  return l(() => {
20
20
  var _a;
21
- ((_a = y.value) == null ? void 0 : _a.dialogParamStoreId) && sessionStorage.removeItem(y.value.dialogParamStoreId);
21
+ ((_a = I.value) == null ? void 0 : _a.dialogParamStoreId) && sessionStorage.removeItem(I.value.dialogParamStoreId);
22
22
  }), (e3, a2) => {
23
- const l2 = u("el-drawer"), v3 = u("el-dialog");
24
- return j.value && "drawer" === j.value ? (t(), o(l2, { key: 0, modelValue: c.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => c.value = e4), title: h.value, direction: O.value, size: f.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => m("open")), onOpened: a2[2] || (a2[2] = (e4) => m("opened")), onClose: a2[3] || (a2[3] = (e4) => m("close")), onClosed: a2[4] || (a2[4] = (e4) => m("closed")) }, { default: n(() => [!_.value && w.value ? (t(), o(d, { key: 0, pageCode: w.value, pageRequest: y.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), r("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, s)) : i("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), o(v3, { key: 1, "model-value": "", title: h.value, "close-on-click-modal": false, "append-to-body": "", width: f.value, modal: T.value, "modal-penetrable": q.value, fullscreen: M.value, alignCenter: V.value, draggable: I.value, overflow: k.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => m("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && w.value ? (t(), o(d, { key: 0, style: { "min-height": "100px" }, pageCode: w.value, pageRequest: y.value, contentHeight: S.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), r("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, g)) : i("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
23
+ const l2 = u("el-drawer"), s2 = u("el-dialog");
24
+ return y.value && "drawer" === y.value ? (t(), o(l2, { key: 0, modelValue: P.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => P.value = e4), title: w.value, direction: S.value, size: h.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => c("open")), onOpened: a2[2] || (a2[2] = (e4) => c("opened")), onClose: a2[3] || (a2[3] = (e4) => c("close")), onClosed: a2[4] || (a2[4] = (e4) => c("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(d, { key: 0, pageCode: b.value, pageRequest: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : x.value ? (t(), r("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, g)) : i("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), o(s2, { key: 1, "model-value": "", title: w.value, "close-on-click-modal": false, "append-to-body": "", width: h.value, modal: q.value, "modal-penetrable": E.value, fullscreen: T.value, alignCenter: M.value, draggable: k.value, overflow: O.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => c("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(d, { key: 0, style: { "min-height": "100px" }, pageCode: b.value, pageRequest: I.value, contentHeight: _.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : x.value ? (t(), r("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, v)) : i("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
25
25
  };
26
26
  } });
27
27
  export {
28
- v as default
28
+ p as default
29
29
  };
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
48
48
  required: false;
49
49
  };
50
50
  contentHeight: {
51
- type: (StringConstructor | NumberConstructor)[];
51
+ type: (NumberConstructor | StringConstructor)[];
52
52
  default: any;
53
53
  };
54
54
  isDialog: {
@@ -112,7 +112,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
112
112
  required: false;
113
113
  };
114
114
  contentHeight: {
115
- type: (StringConstructor | NumberConstructor)[];
115
+ type: (NumberConstructor | StringConstructor)[];
116
116
  default: any;
117
117
  };
118
118
  isDialog: {
@@ -1,4 +1,4 @@
1
- import e from "./super-page.vue2.js";
1
+ import e from "./super-page2.vue.js";
2
2
  /* empty css */
3
3
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = p(e, [["__scopeId", "data-v-da15af72"]]);