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,5 +1,5 @@
1
1
  import { isMobileBrowser as e, isPromise as n } from "agilebuilder-ui/src/utils/common-util";
2
- import { getAdditionalParamMap as t, standardEvents as o, judgeDataNumber as i, checkAndTipFileUploading as r, dealAfterOperate as u } from "./standard-event.js";
2
+ import { getAdditionalParamMap as t, standardEvents as i, judgeDataNumber as o, checkAndTipFileUploading as r, dealAfterOperate as u } from "./standard-event.js";
3
3
  import { isNotNeedValidateRequired as c, validateDataModelFunc as l } from "./validator-util.js";
4
4
  import { getComponentRef as a, getComponentRefByCode as s } from "../global-refs.js";
5
5
  import { ElMessage as f } from "element-plus";
@@ -24,7 +24,7 @@ function j(e2, n2) {
24
24
  n3[e4.eventName] = t3;
25
25
  } catch (n4) {
26
26
  const t4 = `自定义方法${e4.eventName}解析失败,请检查函数体是否正确`;
27
- console.error(t4, n4), f.error(t4);
27
+ f.error(t4);
28
28
  }
29
29
  } else {
30
30
  let t3 = e4.componentUuid + "_";
@@ -33,7 +33,7 @@ function j(e2, n2) {
33
33
  n3[t3] = new Function("params", e4.jsContent);
34
34
  } catch (n4) {
35
35
  let t4 = "";
36
- e4.title && (t4 += e4.title + "的"), e4.label && (t4 += e4.label), t4 += "事件解析失败,请检查事件函数体是否正确", f.error(t4), console.error(t4, n4);
36
+ e4.title && (t4 += e4.title + "的"), e4.label && (t4 += e4.label), t4 += "事件解析失败,请检查事件函数体是否正确", f.error(t4);
37
37
  }
38
38
  }
39
39
  }), n3;
@@ -41,15 +41,15 @@ function j(e2, n2) {
41
41
  !function(e3, n3) {
42
42
  if (!n3) return;
43
43
  for (const t3 in n3) {
44
- k(n3[t3], e3);
44
+ O(n3[t3], e3);
45
45
  }
46
46
  }(n2, t2), n2.customEvents = t2;
47
47
  }
48
48
  }
49
- function O(e2, n2) {
49
+ function k(e2, n2) {
50
50
  if (e2.customEvents) return e2.customEvents[n2];
51
51
  }
52
- function k(e2, n2) {
52
+ function O(e2, n2) {
53
53
  e2.get = function(e3) {
54
54
  return e3 ? s(n2, e3) : void 0;
55
55
  }, e2.getByUuid = function(e3) {
@@ -70,7 +70,7 @@ function k(e2, n2) {
70
70
  }, e2.getPage = function() {
71
71
  return n2 && n2.entity ? n2.entity.page : {};
72
72
  }, e2.getCustomFunc = function(e3) {
73
- return O(n2, e3);
73
+ return k(n2, e3);
74
74
  };
75
75
  }
76
76
  function h(e2) {
@@ -81,153 +81,161 @@ function h(e2) {
81
81
  });
82
82
  }
83
83
  }
84
- function y(e2, n2, t2, o2, i2) {
85
- return S(e2, n2, t2, o2, true, i2, false);
84
+ function y(e2, n2, t2, i2, o2) {
85
+ return P(e2, n2, t2, i2, true, o2, false);
86
86
  }
87
- function E(e2, n2, t2, o2, i2) {
87
+ function E(e2, n2, t2, i2, o2) {
88
88
  var _a, _b;
89
- if (o2 && "change" === o2) {
89
+ if (i2 && "change" === i2) {
90
90
  const e3 = n2.subTableWatchProps;
91
91
  if (e3) for (const n3 in e3) {
92
- const o3 = e3[n3], i3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
93
- o3 && o3.indexOf(i3) >= 0 && d.$emit("_refreshSubTable_" + n3, { propName: i3 });
92
+ const i3 = e3[n3], o3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
93
+ i3 && i3.indexOf(o3) >= 0 && d.$emit("_refreshSubTable_" + n3, { propName: o3 });
94
94
  }
95
95
  }
96
- return S(e2, n2, t2, o2, true, i2, true);
96
+ return P(e2, n2, t2, i2, true, o2, true);
97
97
  }
98
- function N(e2, n2, t2, o2) {
99
- return E(e2, n2, t2, "afterInit", o2);
98
+ function N(e2, n2, t2, i2) {
99
+ return E(e2, n2, t2, "afterInit", i2);
100
100
  }
101
- function w(e2, n2, t2, o2, i2) {
102
- return S(e2, n2, t2, o2, false, i2, false);
101
+ function w(e2, n2, t2, i2, o2) {
102
+ return P(e2, n2, t2, i2, false, o2, false);
103
103
  }
104
- function S(e2, t2, o2, u2, c2, l2, a2) {
105
- const s2 = o2 && o2.runtime && o2.runtime.events ? o2.runtime.events : [];
104
+ function P(e2, t2, i2, u2, c2, l2, a2) {
105
+ const s2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
106
106
  let f2;
107
107
  if (a2 || !function(e3) {
108
- return e3 && P.indexOf(e3) >= 0;
108
+ return e3 && S.indexOf(e3) >= 0;
109
109
  }(u2)) {
110
110
  if (f2 = B(t2, s2, u2), c2) {
111
- return G(t2, o2, f2, T(t2, o2, e2, l2));
111
+ return G(t2, i2, f2, T(t2, i2, e2, l2));
112
112
  }
113
113
  return f2;
114
114
  }
115
- !function(e3, t3, o3) {
116
- const u3 = i(t3, o3.ids);
115
+ !function(e3, t3, i3) {
116
+ const u3 = o(t3, i3.ids);
117
117
  if (!u3) return;
118
118
  if (void 0 !== e3.canClick && false === e3.canClick) return;
119
119
  if (r(e3)) return;
120
- Q(o3).then((i2) => {
121
- if (true === i2.canExecute) {
120
+ Q(i3).then((o2) => {
121
+ if (true === o2.canExecute) {
122
122
  e3.clickUuid = t3.uuid, e3.canClick = false;
123
- const i3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r2 = B(e3, i3, "beforeValidateForm");
123
+ const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r2 = B(e3, o3, "beforeValidateForm");
124
124
  let u4;
125
- if (r2 && (u4 = G(e3, t3, r2, o3)), void 0 === u4 && (u4 = true), !u4) return void (e3.canClick = true);
125
+ if (r2 && (u4 = G(e3, t3, r2, i3)), void 0 === u4 && (u4 = true), !u4) return void (e3.canClick = true);
126
126
  n(u4) ? u4.then((n2) => {
127
- n2 && true === n2 ? F(e3, t3, o3) : e3.canClick = true;
127
+ n2 && true === n2 ? U(e3, t3, i3) : e3.canClick = true;
128
128
  }).catch((n2) => {
129
129
  e3.canClick = true;
130
- }) : F(e3, t3, o3);
130
+ }) : U(e3, t3, i3);
131
131
  }
132
132
  });
133
- }(t2, o2, D(e2, t2, o2, l2));
133
+ }(t2, i2, L(e2, t2, i2, l2));
134
134
  }
135
- const P = ["click", "suffixClick", "prefixClick", "menuClick"];
135
+ const S = ["click", "suffixClick", "prefixClick", "menuClick"];
136
136
  function R(e2, n2) {
137
137
  return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
138
138
  }
139
- function T(e2, n2, t2, o2) {
140
- const i2 = {};
141
- if (o2) for (const e3 in o2) i2[e3] = o2[e3];
142
- return null != t2 && (i2._value = t2), e2 && (i2.pageContext = e2), n2 && (i2.configureObj = n2), i2;
139
+ function T(e2, n2, t2, i2) {
140
+ const o2 = {};
141
+ if (i2) for (const e3 in i2) o2[e3] = i2[e3];
142
+ return null != t2 && (o2._value = t2), e2 && (o2.pageContext = e2), n2 && (o2.configureObj = n2), o2;
143
143
  }
144
- function F(e2, t2, o2) {
145
- const i2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
144
+ function U(e2, t2, i2) {
145
+ const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
146
146
  let r2 = true;
147
- (o2 == null ? void 0 : o2.skipValidate) && (r2 = false);
148
- const u2 = z(e2, i2, "click");
147
+ (i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
148
+ const u2 = z(e2, o2, "click");
149
149
  if (u2) {
150
150
  const e3 = u2.isStandard, n2 = u2.event;
151
151
  c(e3, n2) && (r2 = false);
152
152
  }
153
- l(e2, t2, u2, r2).then((i3) => {
154
- if (!i3) return void (e2.canClick = true);
155
- const r3 = L(e2, t2, o2);
153
+ l(e2, t2, u2, r2).then((o3) => {
154
+ if (!o3) return void (e2.canClick = true);
155
+ const r3 = D(e2, t2, i2);
156
156
  r3 ? n(r3) ? r3.then((n2) => {
157
- n2 ? A(e2, t2, u2, o2) : e2.canClick = true;
157
+ n2 ? q(e2, t2, u2, i2) : e2.canClick = true;
158
158
  }).catch((n2) => {
159
- console.error(n2), e2.canClick = true;
160
- }) : A(e2, t2, u2, o2) : e2.canClick = true;
159
+ e2.canClick = true;
160
+ }) : q(e2, t2, u2, i2) : e2.canClick = true;
161
161
  }).catch((n2) => {
162
- console.error(n2), e2.canClick = true;
162
+ e2.canClick = true;
163
163
  });
164
164
  }
165
- function U(e2, n2, t2, o2, i2) {
166
- const r2 = D(e2, n2, t2, i2);
167
- A(n2, t2, z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], o2), r2);
168
- }
169
- function D(e2, n2, t2, o2) {
170
- const i2 = n2.code, r2 = n2.version, u2 = R(n2, t2);
165
+ function F(e2, n2, t2, i2, o2) {
166
+ const r2 = L(e2, n2, t2, o2), u2 = z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2);
167
+ q(n2, function(e3) {
168
+ const n3 = e3 && e3.props ? e3.props.suffixLinkPage : null;
169
+ if (!function(e4) {
170
+ if (!e4) return false;
171
+ if (Array.isArray(e4)) return e4.length > 0;
172
+ return !!e4.jumpPageUrl;
173
+ }(n3)) return e3;
174
+ return { ...e3, props: { ...e3.props, linkPage: n3 } };
175
+ }(t2), u2, r2);
176
+ }
177
+ function L(e2, n2, t2, i2) {
178
+ const o2 = n2.code, r2 = n2.version, u2 = R(n2, t2);
171
179
  if (u2) {
172
180
  const e3 = a(n2, u2), t3 = e3 ? e3.getSelections() : null, c2 = e3 ? e3.getSelectionIds() : null;
173
- o2 || (o2 = {}), o2.tableUuid = u2, o2.listCode = m(i2, r2, u2);
174
- I(n2) && (o2.selections = t3, o2.id = c2 && c2.length > 0 ? c2[0] : null, o2.ids = c2);
181
+ i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = m(o2, r2, u2);
182
+ A(n2) && (i2.selections = t3, i2.id = c2 && c2.length > 0 ? c2[0] : null, i2.ids = c2);
175
183
  const l2 = e3 ? e3.getTableConfigure() : null;
176
- o2.tableConfigure = l2;
184
+ i2.tableConfigure = l2;
177
185
  }
178
- return T(n2, t2, e2, o2);
186
+ return T(n2, t2, e2, i2);
179
187
  }
180
- function L(e2, n2, t2) {
181
- const o2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
182
- let i2;
183
- return o2 && (i2 = G(e2, n2, o2, null, t2)), void 0 === i2 || i2;
188
+ function D(e2, n2, t2) {
189
+ const i2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
190
+ let o2;
191
+ return i2 && (o2 = G(e2, n2, i2, null, t2)), void 0 === o2 || o2;
184
192
  }
185
193
  function _(e2, n2, t2) {
186
- const o2 = e2.code + "_";
187
- d.$emit(o2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
194
+ const i2 = e2.code + "_";
195
+ d.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
188
196
  }
189
- function I(e2, n2) {
197
+ function A(e2, n2) {
190
198
  return !(!e2.pageType || "list" !== e2.pageType);
191
199
  }
192
- function V(e2, t2, o2) {
193
- const i2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = B(e2, i2, "afterClick");
200
+ function I(e2, t2, i2) {
201
+ const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = B(e2, o2, "afterClick");
194
202
  if (r2) {
195
- const i3 = G(e2, t2, r2, null, o2);
196
- n(i3) ? i3.finally(() => {
203
+ const o3 = G(e2, t2, r2, null, i2);
204
+ n(o3) ? o3.finally(() => {
197
205
  e2.canClick = true;
198
206
  }) : e2.canClick = true;
199
207
  } else e2.canClick = true;
200
208
  }
201
- function q(e2, n2, t2, o2, i2, r2) {
202
- o2 ? (e2.result = i2, e2.canClick = true) : u(e2, n2, i2, "", r2);
209
+ function V(e2, n2, t2, i2, o2, r2) {
210
+ i2 ? (e2.result = o2, e2.canClick = true) : u(e2, n2, o2, "", r2);
203
211
  const c2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
204
212
  c2 && G(e2, n2, c2, t2);
205
213
  }
206
- function A(e2, t2, o2, i2) {
214
+ function q(e2, t2, i2, o2) {
207
215
  let r2 = t2, u2 = t2.props.linkPage;
208
216
  if (u2 && u2 instanceof Array) {
209
217
  const n2 = function(e3) {
210
218
  let n3 = e3 ? e3.row : null;
211
219
  n3 || (n3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
212
220
  return n3;
213
- }(i2), o3 = v(e2, t2, u2, n2);
221
+ }(o2), i3 = v(e2, t2, u2, n2);
214
222
  let c2, l2 = false;
215
- o3 && (l2 = o3.show, c2 = l2 ? o3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = p(t2), r2.props.linkPage = u2);
223
+ i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = p(t2), r2.props.linkPage = u2);
216
224
  }
217
- u2 && u2.jumpPageUrl ? (e2.canClick = true, _(e2, r2, i2)) : function(e3, t3, o3, i3) {
218
- const r3 = o3, u3 = I(e3);
225
+ u2 && u2.jumpPageUrl ? (e2.canClick = true, _(e2, r2, o2)) : function(e3, t3, i3, o3) {
226
+ const r3 = i3, u3 = A(e3);
219
227
  if (r3) {
220
- const o4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = G(e3, t3, o4, i3);
228
+ const i4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = G(e3, t3, i4, o3);
221
229
  if (function(e4, n2) {
222
230
  return e4 && ("exportForm" === n2.eventName || "exportPDF" === n2.eventName || "import" === n2.eventName || "assign" === n2.eventName || "copyTask" === n2.eventName || "addSigner" === n2.eventName || "returnTaskTo" === n2.eventName || "removeSigner" === n2.eventName || "saveQueryCharts" === n2.eventName || "addTransactor" === n2.eventName || "removeTransactor" === n2.eventName);
223
231
  }(c2, l2)) return void (e3.canClick = true);
224
232
  n(a2) ? a2.then((n2) => {
225
- n2 ? q(e3, t3, i3, c2, n2, u3) : e3.canClick = true;
233
+ n2 ? V(e3, t3, o3, c2, n2, u3) : e3.canClick = true;
226
234
  }).catch((n2) => {
227
- console.error(n2), e3.canClick = true;
228
- }) : q(e3, t3, i3, c2, a2, u3);
229
- } else q(e3, t3, i3, false, null, u3);
230
- }(e2, t2, o2, i2);
235
+ e3.canClick = true;
236
+ }) : V(e3, t3, o3, c2, a2, u3);
237
+ } else V(e3, t3, o3, false, null, u3);
238
+ }(e2, t2, i2, o2);
231
239
  }
232
240
  function $(e2, n2) {
233
241
  const t2 = e2.customEvents;
@@ -238,10 +246,10 @@ function $(e2, n2) {
238
246
  }
239
247
  function B(e2, n2, t2) {
240
248
  if (n2 && t2) {
241
- const i2 = n2.filter((e3) => e3.name === t2);
242
- if (i2 && i2.length > 0) {
243
- const n3 = i2[0];
244
- return n3.isStandard ? o[n3.eventName] : $(e2, n3);
249
+ const o2 = n2.filter((e3) => e3.name === t2);
250
+ if (o2 && o2.length > 0) {
251
+ const n3 = o2[0];
252
+ return n3.isStandard ? i[n3.eventName] : $(e2, n3);
245
253
  }
246
254
  }
247
255
  }
@@ -255,49 +263,49 @@ function H(e2, n2) {
255
263
  }
256
264
  function z(e2, n2, t2) {
257
265
  if (n2 && t2) {
258
- const i2 = n2.filter((e3) => e3.name === t2);
259
- if (i2 && i2.length > 0) {
260
- const n3 = i2[0];
261
- return n3.isStandard ? { func: o[n3.eventName], isStandard: true, event: n3 } : { func: $(e2, n3), isStandard: false, event: n3 };
266
+ const o2 = n2.filter((e3) => e3.name === t2);
267
+ if (o2 && o2.length > 0) {
268
+ const n3 = o2[0];
269
+ return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: $(e2, n3), isStandard: false, event: n3 };
262
270
  }
263
271
  }
264
272
  }
265
- function G(e2, n2, t2, o2, i2) {
273
+ function G(e2, n2, t2, i2, o2) {
266
274
  if (t2) {
267
- if (o2 || (o2 = { pageContext: e2, configureObj: n2 }), i2 && o2) for (const e3 in i2) o2[e3] = i2[e3];
275
+ if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
268
276
  try {
269
- return t2.apply(t2, [o2]);
277
+ return t2.apply(t2, [i2]);
270
278
  } catch (e3) {
271
- throw function(e4, n3) {
279
+ throw function(e4) {
272
280
  var _a, _b, _c, _d;
273
- let t3 = "";
274
- const o3 = (e4 == null ? void 0 : e4.title) || ((_b = (_a = e4 == null ? void 0 : e4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.title), i3 = (e4 == null ? void 0 : e4.label) || ((_d = (_c = e4 == null ? void 0 : e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.label);
275
- o3 && (t3 += o3 + "的");
276
- i3 && (t3 += i3);
277
- t3 += "事件执行失败,请检查事件函数体是否正确", f.error(t3), console.error(t3, n3);
278
- }(n2, e3), e3;
281
+ let n3 = "";
282
+ const t3 = (e4 == null ? void 0 : e4.title) || ((_b = (_a = e4 == null ? void 0 : e4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.title), i3 = (e4 == null ? void 0 : e4.label) || ((_d = (_c = e4 == null ? void 0 : e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.label);
283
+ t3 && (n3 += t3 + "的");
284
+ i3 && (n3 += i3);
285
+ n3 += "事件执行失败,请检查事件函数体是否正确", f.error(n3);
286
+ }(n2), e3;
279
287
  }
280
288
  }
281
289
  }
282
290
  function Q(e2) {
283
- const n2 = e2.pageContext, o2 = e2.configureObj, i2 = I(n2);
291
+ const n2 = e2.pageContext, i2 = e2.configureObj, o2 = A(n2);
284
292
  let r2 = [];
285
- if (i2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
293
+ if (o2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
286
294
  else {
287
295
  const e3 = n2.entity.data;
288
296
  r2.push(e3);
289
297
  }
290
- const u2 = o2.props.base.condition;
291
- return new Promise((e3, o3) => {
298
+ const u2 = i2.props.base.condition;
299
+ return new Promise((e3, i3) => {
292
300
  if (null == u2 || "" === u2 || null == r2 || 0 === r2.length) e3({ canExecute: true });
293
301
  else {
294
- const o4 = n2.entity.context, i3 = t(n2), c2 = true, l2 = n2.tableName;
302
+ const i4 = n2.entity.context, o3 = t(n2), c2 = true, l2 = n2.tableName;
295
303
  let a2, s2, m2 = true;
296
304
  for (let e4 = 0; e4 < r2.length; e4++) {
297
305
  const t2 = r2[e4];
298
306
  for (let e5 = 0; e5 < u2.length; e5++) {
299
307
  const r3 = u2[e5], f2 = r3.toolTips, p2 = r3.conditionList;
300
- if (!g(p2, t2, i3, o4, c2, l2, null, n2)) {
308
+ if (!g(p2, t2, o3, i4, c2, l2, null, n2)) {
301
309
  m2 = false, a2 = f2, s2 = t2;
302
310
  break;
303
311
  }
@@ -307,35 +315,35 @@ function Q(e2) {
307
315
  }
308
316
  });
309
317
  }
310
- function W(e2, n2, t2, o2) {
311
- var i2;
312
- n2 && (J("afterGridConfigInit", w(null, (i2 = { pageContext: t2, configureObj: o2 }).pageContext, i2.configureObj, "afterGridConfigInit", i2), e2), J("loadBeforeSend", function(e3) {
318
+ function W(e2, n2, t2, i2) {
319
+ var o2;
320
+ n2 && (J("afterGridConfigInit", w(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "afterGridConfigInit", o2), e2), J("loadBeforeSend", function(e3) {
313
321
  return w(null, e3.pageContext, e3.configureObj, "beforeListLoad", e3);
314
- }({ pageContext: t2, configureObj: o2 }), e2), J("beforeRequest", function(e3) {
322
+ }({ pageContext: t2, configureObj: i2 }), e2), J("beforeRequest", function(e3) {
315
323
  return w(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
316
- }({ pageContext: t2, configureObj: o2 }), e2), J("gridDataLoaded", function(e3) {
324
+ }({ pageContext: t2, configureObj: i2 }), e2), J("gridDataLoaded", function(e3) {
317
325
  return w(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
318
- }({ pageContext: t2, configureObj: o2 }), e2), J("gridComplete", function(e3) {
326
+ }({ pageContext: t2, configureObj: i2 }), e2), J("gridComplete", function(e3) {
319
327
  return w(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
320
- }({ pageContext: t2, configureObj: o2 }), e2), J("resizeHeight", function(e3) {
328
+ }({ pageContext: t2, configureObj: i2 }), e2), J("resizeHeight", function(e3) {
321
329
  return w(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
322
- }({ pageContext: t2, configureObj: o2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), J("beforeInsertRow", function(e3) {
330
+ }({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), J("beforeInsertRow", function(e3) {
323
331
  return w(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
324
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("afterInsertRow", function(e3) {
332
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("afterInsertRow", function(e3) {
325
333
  return w(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
326
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeDelete", function(e3) {
334
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeDelete", function(e3) {
327
335
  return w(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
328
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("afterDelete", function(e3) {
336
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("afterDelete", function(e3) {
329
337
  return w(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
330
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeEdit", function(e3) {
338
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeEdit", function(e3) {
331
339
  return w(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
332
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeRestore", function(e3) {
340
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeRestore", function(e3) {
333
341
  return w(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
334
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), J("beforeRestoreValidate", function(e3) {
342
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), J("beforeRestoreValidate", function(e3) {
335
343
  return w(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
336
- }({ pageContext: t2, configureObj: o2 }), e2.lineEditOptions), function(e3, n3, t3) {
344
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
337
345
  n3 && (t3[e3] = n3);
338
- }("filterDataEvent", w(null, t2, o2, "filter-data", { pageContext: t2, configureObj: o2 }), e2));
346
+ }("filterDataEvent", w(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
339
347
  }
340
348
  function J(e2, n2, t2) {
341
349
  n2 && (t2[e2] = n2);
@@ -364,10 +372,10 @@ function ne(e2, n2, t2) {
364
372
  function te(e2, n2, t2) {
365
373
  return y(null, e2, n2, "header-click", t2);
366
374
  }
367
- function oe(e2) {
375
+ function ie(e2) {
368
376
  return y(null, e2.pageContext, e2.configureObj, "before-upload", e2);
369
377
  }
370
- function ie(e2, n2, t2) {
378
+ function oe(e2, n2, t2) {
371
379
  return y(null, e2, n2, "uploaded", t2);
372
380
  }
373
381
  function re(e2, n2, t2) {
@@ -387,36 +395,36 @@ function ce(n2) {
387
395
  }
388
396
  return t2;
389
397
  }
390
- function le(e2, n2, t2, o2, i2) {
391
- return G(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: o2, ...i2 });
398
+ function le(e2, n2, t2, i2, o2) {
399
+ return G(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
392
400
  }
393
401
  function ae(n2, t2) {
394
- let o2 = true;
402
+ let i2 = true;
395
403
  if (e()) {
396
404
  const e2 = z(n2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], "click");
397
405
  if (e2) {
398
- const n3 = e2.isStandard, t3 = e2.event, i2 = navigator ? navigator.userAgent : null;
399
- n3 && i2 && (i2.indexOf("Html5Plus") > 0 ? (C.includes(t3.eventName) || x.includes(t3.eventName)) && (o2 = false) : x.includes(t3.eventName) && (o2 = false));
406
+ const n3 = e2.isStandard, t3 = e2.event, o2 = navigator ? navigator.userAgent : null;
407
+ n3 && o2 && (o2.indexOf("Html5Plus") > 0 ? (C.includes(t3.eventName) || x.includes(t3.eventName)) && (i2 = false) : x.includes(t3.eventName) && (i2 = false));
400
408
  }
401
409
  }
402
- return o2;
410
+ return i2;
403
411
  }
404
412
  export {
405
- k as appendDefaultMethods,
413
+ O as appendDefaultMethods,
406
414
  Q as canExecuteButton,
407
415
  Y as cellClick,
408
416
  Z as cellDblClick,
409
- V as doAfterClickEvent,
410
- L as doBeforeClickEvent,
417
+ I as doAfterClickEvent,
418
+ D as doBeforeClickEvent,
411
419
  _ as doClickJumpPageEvent,
412
- U as doSuffixOrPrefixClickEvent,
420
+ F as doSuffixOrPrefixClickEvent,
413
421
  re as fileUploadBeforeDelete,
414
- oe as fileUploadBeforeUpload,
422
+ ie as fileUploadBeforeUpload,
415
423
  ue as fileUploadDeleted,
416
- ie as fileUploadUploaded,
424
+ oe as fileUploadUploaded,
417
425
  z as getClickEventFuncByType,
418
- O as getCustomFunc,
419
- D as getDefaultEventParams,
426
+ k as getCustomFunc,
427
+ L as getDefaultEventParams,
420
428
  B as getEventFuncByType,
421
429
  H as getEventNameByType,
422
430
  w as getHandleEvent,
@@ -3,27 +3,26 @@ import { hiprint as t, disAutoConnect as n } from "vue-plugin-hiprint";
3
3
  import { generateCodeByRule as o } from "../barcode-util.js";
4
4
  function a(n2, a2) {
5
5
  e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/print-models/by-codes", [a2]).then((e2) => {
6
- const a3 = JSON.parse(e2[0].template), r2 = [];
6
+ const a3 = JSON.parse(e2[0].template), i2 = [];
7
7
  a3.panels.forEach((e3) => {
8
8
  e3.printElements.forEach((e4) => {
9
- "barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || r2.push(e4.options);
9
+ "barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || i2.push(e4.options);
10
10
  });
11
11
  });
12
- const i = new t.PrintTemplate({ template: a3 }), l = { callback: () => {
12
+ const l = new t.PrintTemplate({ template: a3 }), r = { callback: () => {
13
13
  }, styleHandler: () => "" }, c = { leftOffset: -1, topOffset: -1 }, f = {};
14
14
  a3.panels[0].printElements.forEach((e3) => {
15
15
  if ("datetime" === e3.options.dataType && e3.options.field) {
16
16
  const t2 = e3.options.field.substring(6);
17
17
  f[t2] = e3.options.dateFormat;
18
18
  }
19
- }), n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, s2, r3) {
20
- const i2 = JSON.parse(JSON.stringify(e3.selections));
21
- if (i2.forEach((e4) => {
19
+ }), n2.pageContext.pageType ? "list" === n2.pageContext.pageType ? function(e3, t2, n3, a4, p2, i3) {
20
+ const l2 = JSON.parse(JSON.stringify(e3.selections));
21
+ if (l2.forEach((e4) => {
22
22
  Object.keys(t2).forEach((t3) => {
23
23
  if (e4[t3] && "number" == typeof e4[t3] && !isNaN(e4[t3])) try {
24
24
  e4[t3] = new Date(e4[t3]);
25
25
  } catch (e5) {
26
- console.error(`日期格式化失败: ${e5}`);
27
26
  }
28
27
  });
29
28
  }), n3.length > 0) {
@@ -31,70 +30,70 @@ function a(n2, a2) {
31
30
  n3.forEach((t3) => {
32
31
  e4.push(function(e5, t4) {
33
32
  return new Promise((n4, a5) => {
34
- const s3 = e5.field.split("."), r4 = [];
35
- s3.length < 2 && n4([]);
33
+ const p3 = e5.field.split("."), i4 = [];
34
+ p3.length < 2 && n4([]);
36
35
  try {
37
- p(s3[1]).then((e6) => {
36
+ s(p3[1]).then((e6) => {
38
37
  t4.forEach((t5, n5) => {
39
- const a6 = { type: s3[0], name: s3[1], value: null, index: n5 };
40
- a6.value = o(JSON.parse(e6.barcodeModelItems), t5), r4.push(a6);
41
- }), n4(r4);
38
+ const a6 = { type: p3[0], name: p3[1], value: null, index: n5 };
39
+ a6.value = o(JSON.parse(e6.barcodeModelItems), t5), i4.push(a6);
40
+ }), n4(i4);
42
41
  });
43
42
  } catch (e6) {
44
- console.error("获取条码规则失败:", e6), n4([]);
43
+ n4([]);
45
44
  }
46
45
  });
47
- }(t3, i2));
46
+ }(t3, l2));
48
47
  }), Promise.all(e4).then((e5) => {
49
48
  e5.forEach((e6) => {
50
49
  e6.forEach((e7) => {
51
- const t3 = e7.index, n4 = i2[t3];
50
+ const t3 = e7.index, n4 = l2[t3];
52
51
  n4[e7.type] || (n4[e7.type] = {}), n4[e7.type][e7.name] = e7.value;
53
52
  });
54
- }), a4.print(i2, s2, r3);
53
+ }), a4.print(l2, p2, i3);
55
54
  });
56
- } else a4.print(i2, s2, r3);
57
- }(n2, f, r2, i, c, l) : "form" === n2.pageContext.pageType && s(n2, r2, i, c, l) : s(n2, r2, i, c, l);
55
+ } else a4.print(l2, p2, i3);
56
+ }(n2, f, i2, l, c, r) : "form" === n2.pageContext.pageType && p(n2, i2, l, c, r) : p(n2, i2, l, c, r);
58
57
  });
59
58
  }
60
- function s(e2, t2, n2, a2, s2) {
59
+ function p(e2, t2, n2, a2, p2) {
61
60
  if (t2.length > 0) {
62
- const r2 = [];
61
+ const i2 = [];
63
62
  t2.forEach((t3) => {
64
- r2.push(function(e3, t4) {
63
+ i2.push(function(e3, t4) {
65
64
  return new Promise((n3, a3) => {
66
- const s3 = t4.field.split("."), r3 = { type: null, name: null, value: null };
67
- s3.length < 2 && n3(r3), r3.type = s3[0], r3.name = s3[1];
65
+ const p3 = t4.field.split("."), i3 = { type: null, name: null, value: null };
66
+ p3.length < 2 && n3(i3), i3.type = p3[0], i3.name = p3[1];
68
67
  try {
69
- p(r3.name).then((t5) => {
68
+ s(i3.name).then((t5) => {
70
69
  const a4 = JSON.parse(t5.barcodeModelItems);
71
- r3.value = o(a4, e3.entity.data), n3(r3);
70
+ i3.value = o(a4, e3.entity.data), n3(i3);
72
71
  });
73
72
  } catch (e4) {
74
- console.error("获取条码规则失败:", e4), n3(r3);
73
+ n3(i3);
75
74
  }
76
75
  });
77
76
  }(e2.pageContext, t3));
78
- }), Promise.all(r2).then((t3) => {
77
+ }), Promise.all(i2).then((t3) => {
79
78
  const o2 = {};
80
79
  t3.forEach((e3) => {
81
80
  e3.type && e3.name && e3.value && (o2[e3.type] || (o2[e3.type] = {}), o2[e3.type][e3.name] = e3.value);
82
81
  });
83
- const p2 = { table: {} };
84
- Object.assign(p2, e2.pageContext.entity, o2), p2.table = e2.pageContext.entity.data, n2.print(p2, a2, s2);
82
+ const s2 = { table: {} };
83
+ Object.assign(s2, e2.pageContext.entity, o2), s2.table = e2.pageContext.entity.data, n2.print(s2, a2, p2);
85
84
  });
86
85
  } else {
87
86
  const t3 = { table: {} };
88
- Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, s2);
87
+ Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, n2.print(t3, a2, p2);
89
88
  }
90
89
  }
91
- function p(t2) {
90
+ function s(t2) {
92
91
  const n2 = encodeURIComponent(t2);
93
92
  return e.get(window.$vueApp.config.globalProperties.baseAPI + `/component/setting-barcode-models/by-name?name=${n2}`);
94
93
  }
95
94
  n();
96
- const r = { printLabel: a };
95
+ const i = { printLabel: a };
97
96
  export {
98
- r as default,
97
+ i as default,
99
98
  a as printLabel
100
99
  };