super-page-runtime 2.2.3 → 2.2.6

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 (110) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -72
  4. package/dist/es/components/runtime/utils/assemblys-config.js +2 -4
  5. package/dist/es/components/runtime/utils/barcode-util.js +1 -2
  6. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +59 -81
  7. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +2 -4
  8. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +8 -16
  9. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +10 -18
  10. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +20 -25
  11. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/charts/chart-util.js +200 -218
  13. package/dist/es/components/runtime/utils/common-util.js +7 -14
  14. package/dist/es/components/runtime/utils/events/event-util.js +97 -115
  15. package/dist/es/components/runtime/utils/events/print-label.js +20 -21
  16. package/dist/es/components/runtime/utils/events/standard-event.js +276 -326
  17. package/dist/es/components/runtime/utils/events/validator-util.js +85 -116
  18. package/dist/es/components/runtime/utils/form/date-shortcuts.js +1 -2
  19. package/dist/es/components/runtime/utils/form/scan-util.js +10 -17
  20. package/dist/es/components/runtime/utils/global-refs.js +7 -14
  21. package/dist/es/components/runtime/utils/i18n-util.js +1 -2
  22. package/dist/es/components/runtime/utils/page-helper-util.js +58 -104
  23. package/dist/es/components/runtime/utils/page-init-util.js +30 -37
  24. package/dist/es/components/runtime/utils/page-permission-util.js +2 -4
  25. package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
  26. package/dist/es/components/runtime/utils/table-utils.js +4 -8
  27. package/dist/es/components/runtime/utils/tree-utils.js +13 -15
  28. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  29. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +2 -2
  30. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -4
  31. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +2 -2
  33. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -28
  34. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +44 -40
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +44 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +20 -20
  40. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +20 -20
  41. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +20 -20
  42. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +22 -22
  43. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +33 -1
  44. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +114 -113
  45. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  46. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +123 -116
  50. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
  51. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +6 -6
  53. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +9 -11
  54. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +6 -6
  55. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  56. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +2 -2
  58. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +2 -2
  60. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
  64. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +7 -7
  65. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +46 -57
  66. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +13 -21
  67. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +6 -9
  68. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +5 -5
  69. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  70. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  71. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +6 -8
  72. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -6
  73. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -9
  74. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +10 -13
  75. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +5 -5
  76. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -4
  77. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -4
  78. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +5 -5
  79. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +9 -10
  80. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +9 -11
  81. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  83. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +15 -20
  85. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +20 -25
  86. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +15 -20
  87. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  89. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +4 -5
  90. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  91. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  92. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
  93. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  94. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  95. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +33 -43
  96. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +3 -4
  97. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +3 -4
  98. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +3 -4
  99. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +2 -2
  100. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  101. package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
  102. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  103. package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
  104. package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -2
  105. package/dist/es/components/runtime/views/super-page.vue.d.ts +6 -6
  106. package/dist/es/components/runtime/views/super-page.vue.js +25 -38
  107. package/dist/es/index.d.ts +2 -2
  108. package/dist/es/index.js +6 -4
  109. package/package.json +74 -74
  110. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +0 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, openBlock as l, createBlock as r, normalizeClass as s, unref as p, normalizeStyle as g, withCtx as c, createElementBlock as m, toDisplayString as f, createCommentVNode as d, resolveDynamicComponent as v } from "vue";
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as g, normalizeClass as c, unref as m, withCtx as f, resolveDynamicComponent as d, toDisplayString as v } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as x, setVariableValue as y, formatVariableValue as b, getFormPropName as h, setVariableValueWithProp as j } from "../../../../utils/page-helper-util.js";
3
+ import { setVariableValue as x, getVariableValue as y, formatVariableValue as b, getFormPropName as h, setVariableValueWithProp as j } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as R, handleEvent as k } from "../../../../utils/events/event-util.js";
5
5
  import { updateFormItemEditState as V } from "../../../../utils/events/validator-util.js";
6
6
  import { getListCode as _ } from "../../../../utils/common-util.js";
@@ -9,12 +9,10 @@ import { getAdditionalParamMap as E } from "../../../../utils/events/standard-ev
9
9
  import { $t as w } from "../../../../utils/i18n-util.js";
10
10
  import S from "../../../../utils/eventBus.js";
11
11
  const U = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, $ = e({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: $2 }) {
12
- const q = e2, z = q.pageContext.entity ? q.pageContext.entity : {}, F = C(q.pageContext, q.configure), G = t({ get: () => x(z, F), set(e3) {
13
- y(z, F, e3);
12
+ const q = e2, z = q.pageContext.entity ? q.pageContext.entity : {}, F = C(q.pageContext, q.configure), G = t({ get: () => y(z, F), set(e3) {
13
+ x(z, F, e3);
14
14
  } }), H = q.configure.runtime ? q.configure.runtime : {}, I = H.style, P = H.class, B = H.headerStyle, W = o(H.props ? H.props : {}), A = function(e3) {
15
- if (e3)
16
- for (let t2 in e3)
17
- e3.value[t2] = b(q.pageContext, t2);
15
+ if (e3) for (let t2 in e3) e3.value[t2] = b(q.pageContext, t2);
18
16
  }(H.customParams ? H.customParams : {}), J = E(q.pageContext), K = o(q.configure.props && q.configure.props.base ? q.configure.props.base.name : null);
19
17
  function L(e3, t2) {
20
18
  j(z, e3, t2);
@@ -37,7 +35,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
37
35
  return a(() => {
38
36
  S.$on(T.value + "-scanDone", (e3) => {
39
37
  const t2 = e3.result;
40
- y(z, F, t2);
38
+ x(z, F, t2);
41
39
  }), S.$on(T.value + "-pickFileDone", (e3) => {
42
40
  X.value.pickFileDone(e3);
43
41
  }), n(() => {
@@ -50,7 +48,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
50
48
  return X.value;
51
49
  } }), (e3, t2) => {
52
50
  const o2 = u("el-form-item");
53
- return W.value.tittleShow ? (l(), r(o2, { key: 0, ref_key: "formItemRef", ref: Y, required: W.value.required, class: s(p(P)), "label-width": W.value.labelWidth, style: g(p(I)) }, { label: c(() => [W.value.tittleShow ? (l(), m("div", { key: 0, ref_key: "titleRef", ref: Z, style: g({ ...p(B) }) }, f(p(w)(W.value.title)), 5)) : d("", true)]), default: c(() => [K.value ? (l(), m("div", U, [(l(), r(v(K.value), { ref_key: "customRef", ref: X, size: W.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: p(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": p(A), modelValue: G.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => G.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": p(J), "component-id": T.value, onSetEntityValue: L, onSetCustomRules: M, onRestoreGridEdit: N, onHandleEvent: ee, onChange: t2[1] || (t2[1] = (t3) => p(k)(G.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : d("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : K.value ? (l(), m("div", O, [(l(), r(v(K.value), { ref_key: "customRef", ref: X, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: p(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": p(A), modelValue: G.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => G.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": p(J), "component-id": T.value, onSetEntityValue: L, onSetCustomRules: M, onRestoreGridEdit: N, onHandleEvent: ee, onChange: t2[3] || (t2[3] = (t3) => p(k)(G.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : d("", true);
51
+ return W.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: Y, required: W.value.required, class: c(m(P)), "label-width": W.value.labelWidth, style: g(m(I)) }, { label: f(() => [W.value.tittleShow ? (p(), r("div", { key: 0, ref_key: "titleRef", ref: Z, style: g({ ...m(B) }) }, v(m(w)(W.value.title)), 5)) : s("", true)]), default: f(() => [K.value ? (p(), r("div", U, [(p(), l(d(K.value), { ref_key: "customRef", ref: X, size: W.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(A), modelValue: G.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => G.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": m(J), "component-id": T.value, onSetEntityValue: L, onSetCustomRules: M, onRestoreGridEdit: N, onHandleEvent: ee, onChange: t2[1] || (t2[1] = (t3) => m(k)(G.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : K.value ? (p(), r("div", O, [(p(), l(d(K.value), { ref_key: "customRef", ref: X, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(A), modelValue: G.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => G.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": m(J), "component-id": T.value, onSetEntityValue: L, onSetCustomRules: M, onRestoreGridEdit: N, onHandleEvent: ee, onChange: t2[3] || (t2[3] = (t3) => m(k)(G.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
54
52
  };
55
53
  } });
56
54
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as r, resolveComponent as o, openBlock as u, createBlock as n, normalizeClass as i, unref as p, normalizeStyle as s, withCtx as c, createElementBlock as d, Fragment as v, createTextVNode as f, toDisplayString as g, createCommentVNode as m } from "vue";
1
+ import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as r, resolveComponent as o, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as p, unref as s, withCtx as c, createElementBlock as d, createCommentVNode as v, Fragment as f, createTextVNode as g, toDisplayString as m } from "vue";
2
2
  import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
3
  import { getDateShortCuts as y } from "../../../../utils/form/date-shortcuts.js";
4
4
  import { getValueFromVariable as C, setVariableValue as x, getVariableValue as b } from "../../../../utils/page-helper-util.js";
@@ -19,16 +19,14 @@ const _ = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
19
19
  }
20
20
  const W = a(null), $ = a(null), E = a(null);
21
21
  function O(e3, a2) {
22
- if (!e3)
22
+ if (!e3) return e3;
23
+ if (a2) try {
24
+ const l2 = j(e3);
25
+ let t2 = null;
26
+ return t2 = "x" === a2 ? l2.toDate().getTime() : j(e3).format(a2), t2;
27
+ } catch (a3) {
23
28
  return e3;
24
- if (a2)
25
- try {
26
- const l2 = j(e3);
27
- let t2 = null;
28
- return t2 = "x" === a2 ? l2.toDate().getTime() : j(e3).format(a2), t2;
29
- } catch (a3) {
30
- return e3;
31
- }
29
+ }
32
30
  return e3;
33
31
  }
34
32
  if (l(() => {
@@ -62,14 +60,13 @@ const _ = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
62
60
  let a2 = e3.apply(e3, [{ pageContext: _2.pageContext, configureObj: _2.configure }]);
63
61
  if (a2) {
64
62
  Array.isArray(a2) || (a2 = [a2]), H.value || (H.value = []);
65
- for (let e4 of a2)
66
- e4.text && e4.value && H.value.push(e4);
63
+ for (let e4 of a2) e4.text && e4.value && H.value.push(e4);
67
64
  }
68
65
  }
69
66
  }
70
67
  return (e3, a2) => {
71
68
  const l2 = o("el-time-picker"), t2 = o("el-date-picker"), r2 = o("el-form-item");
72
- return u(), n(r2, { ref_key: "formItemRef", ref: W, required: q.value.required, class: i(p(A)), "label-width": q.value.labelWidth, style: s(p(w)) }, { label: c(() => [q.value.tittleShow ? (u(), d("div", { key: 0, ref_key: "titleRef", ref: E, style: s({ ...p(D), ...p(S) }) }, [q.value.prefixType ? (u(), n(V, { key: 0, pageContext: e3.pageContext, property: q.value }, null, 8, ["pageContext", "property"])) : (u(), d(v, { key: 1 }, [f(g(p(R)(q.value.title)), 1)], 64))], 4)) : m("", true)]), default: c(() => ["time" == q.value.dateType || "timerange" == q.value.dateType ? (u(), n(l2, { key: 0, ref_key: "componentRef", ref: $, "is-range": "timerange" == q.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: q.value.clearable, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: G.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => G.value = e4), shortcuts: H.value, type: q.value.dateType, onChange: a2[1] || (a2[1] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (u(), n(t2, { key: 1, ref_key: "componentRef", ref: $, clearable: q.value.clearable, style: { width: "100%" }, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: G.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => G.value = e4), shortcuts: H.value, type: q.value.dateType, onChange: a2[8] || (a2[8] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => p(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
69
+ return n(), u(r2, { ref_key: "formItemRef", ref: W, required: q.value.required, class: p(s(A)), "label-width": q.value.labelWidth, style: i(s(w)) }, { label: c(() => [q.value.tittleShow ? (n(), d("div", { key: 0, ref_key: "titleRef", ref: E, style: i({ ...s(D), ...s(S) }) }, [q.value.prefixType ? (n(), u(V, { key: 0, pageContext: e3.pageContext, property: q.value }, null, 8, ["pageContext", "property"])) : (n(), d(f, { key: 1 }, [g(m(s(R)(q.value.title)), 1)], 64))], 4)) : v("", true)]), default: c(() => ["time" == q.value.dateType || "timerange" == q.value.dateType ? (n(), u(l2, { key: 0, ref_key: "componentRef", ref: $, "is-range": "timerange" == q.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: q.value.clearable, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: G.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => G.value = e4), shortcuts: H.value, type: q.value.dateType, onChange: a2[1] || (a2[1] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (n(), u(t2, { key: 1, ref_key: "componentRef", ref: $, clearable: q.value.clearable, style: { width: "100%" }, disabled: "disabled" === q.value.state, readonly: "readonly" === q.value.state, size: q.value.size, placeholder: q.value.placeholder, "start-placeholder": q.value.placeholder, "end-placeholder": q.value.endPlaceholder ? q.value.endPlaceholder : q.value.placeholder, format: q.value.format, "value-format": q.value.valueFormat, modelValue: G.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => G.value = e4), shortcuts: H.value, type: q.value.dateType, onChange: a2[8] || (a2[8] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => s(T)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
73
70
  };
74
71
  } });
75
72
  export {
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as a, computed as o, resolveComponent as i, openBlock as u, createBlock as n, normalizeClass as r, unref as p, normalizeStyle as s, withCtx as f, createElementBlock as g, Fragment as m, createTextVNode as d, toDisplayString as c, createCommentVNode as v, createVNode as y } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as a, computed as o, resolveComponent as i, createBlock as u, openBlock as n, normalizeStyle as r, normalizeClass as p, unref as s, withCtx as f, createVNode as g, createElementBlock as m, createCommentVNode as d, Fragment as c, createTextVNode as v, toDisplayString as y } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { handleAfterInitEvent as C, handleFormEvent as h } from "../../../../utils/events/event-util.js";
4
4
  import b from "../common/title-suffix-element.vue.js";
5
5
  import { $t as k } from "../../../../utils/i18n-util.js";
6
- import { getVariableValue as S, setVariableValue as R } from "../../../../utils/page-helper-util.js";
6
+ import { setVariableValue as S, getVariableValue as R } from "../../../../utils/page-helper-util.js";
7
7
  const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
8
8
  const _2 = e2, j = _2.pageContext.entity ? _2.pageContext.entity : {};
9
9
  j.data || (j.data = {});
@@ -16,8 +16,8 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
16
16
  C(e3, _2.pageContext, _2.configure, { formItemRef: V.value, componentRef: W.value, titleRef: A.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
17
17
  });
18
18
  });
19
- const B = o({ get: () => S(j, z), set(e3) {
20
- R(j, z, e3);
19
+ const B = o({ get: () => R(j, z), set(e3) {
20
+ S(j, z, e3);
21
21
  } }), G = F.value.autoSetFields ? F.value.autoSetFields : [];
22
22
  function H(e3, t2) {
23
23
  e3 === q && h(t2, _2.pageContext, _2.configure, "change");
@@ -27,7 +27,7 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
27
27
  }
28
28
  return (e3, t2) => {
29
29
  const l2 = i("OrganizationInput"), a2 = i("el-form-item");
30
- return u(), n(a2, { ref_key: "formItemRef", ref: V, required: F.value.required, class: r(p(D)), "label-width": F.value.labelWidth, style: s(p(M)) }, { label: f(() => [F.value.tittleShow ? (u(), g("div", { key: 0, ref_key: "titleRef", ref: A, style: s({ ...p(E), ...p(O) }) }, [F.value.prefixType ? (u(), n(b, { key: 0, pageContext: e3.pageContext, property: F.value }, null, 8, ["pageContext", "property"])) : (u(), g(m, { key: 1 }, [d(c(p(k)(F.value.title)), 1)], 64))], 4)) : v("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: W, disabled: "disabled" == F.value.state, multiple: F.value.multiple, treeType: F.value.treeType, value: B.value, models: p(T), pageModels: p(w), fields: p(G), size: F.value.size, separator: F.value.separator, onSetValue: H, onShowTree: J }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
30
+ return n(), u(a2, { ref_key: "formItemRef", ref: V, required: F.value.required, class: p(s(D)), "label-width": F.value.labelWidth, style: r(s(M)) }, { label: f(() => [F.value.tittleShow ? (n(), m("div", { key: 0, ref_key: "titleRef", ref: A, style: r({ ...s(E), ...s(O) }) }, [F.value.prefixType ? (n(), u(b, { key: 0, pageContext: e3.pageContext, property: F.value }, null, 8, ["pageContext", "property"])) : (n(), m(c, { key: 1 }, [v(y(s(k)(F.value.title)), 1)], 64))], 4)) : d("", true)]), default: f(() => [g(l2, { ref_key: "componentRef", ref: W, disabled: "disabled" == F.value.state, multiple: F.value.multiple, treeType: F.value.treeType, value: B.value, models: s(T), pageModels: s(w), fields: s(G), size: F.value.size, separator: F.value.separator, onSetValue: H, onShowTree: J }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
31
31
  };
32
32
  } });
33
33
  export {
@@ -1,12 +1,11 @@
1
- import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, openBlock as u, createBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, createBlock as u, openBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
2
2
  import { formatVariableValue as f } from "../../../../utils/page-helper-util.js";
3
3
  import { handleAfterInitEvent as v, handleFormEvent as g } from "../../../../utils/events/event-util.js";
4
4
  const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
5
5
  const m2 = e2, y = m2.configure.runtime ? m2.configure.runtime : {}, x = y.headerStyle, C = t(y.props ? y.props : {});
6
6
  let _ = C.value.value;
7
7
  const b = n(() => {
8
- if (!_)
9
- return "";
8
+ if (!_) return "";
10
9
  const e3 = f(m2.pageContext, _);
11
10
  return null == e3 || null == e3 ? "" : e3;
12
11
  }), k = t(null);
@@ -17,7 +16,7 @@ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {}
17
16
  });
18
17
  }), (e3, t2) => {
19
18
  const n2 = i("el-divider");
20
- return u(), l(n2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => a(g)(t3, e3.pageContext, e3.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
19
+ return l(), u(n2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => a(g)(t3, e3.pageContext, e3.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
21
20
  };
22
21
  } });
23
22
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as i, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as p, unref as u, normalizeStyle as r, withCtx as m, createElementBlock as f, toDisplayString as c, createCommentVNode as d, createVNode as v } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as i, resolveComponent as a, createBlock as s, openBlock as n, normalizeStyle as p, normalizeClass as u, unref as r, withCtx as m, createVNode as f, createElementBlock as c, createCommentVNode as d, toDisplayString as v } from "vue";
2
2
  import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
3
3
  import { handleAfterInitEvent as g, fileUploadBeforeUpload as C } from "../../../../utils/events/event-util.js";
4
4
  import x from "agilebuilder-ui/src/utils/request";
@@ -33,8 +33,7 @@ const w = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
33
33
  J();
34
34
  }, J = () => {
35
35
  const e3 = [], t2 = [];
36
- for (let l2 = 0; l2 < W.value.length; l2++)
37
- e3.push(W.value[l2].showName), t2.push(W.value[l2].serverPath);
36
+ for (let l2 = 0; l2 < W.value.length; l2++) e3.push(W.value[l2].showName), t2.push(W.value[l2].serverPath);
38
37
  y(w2.pageContext.entity, F, t2.join(",")), y(w2.pageContext.entity, N, e3.join(","));
39
38
  }, K = t(null), L = t(null);
40
39
  return l(() => {
@@ -48,7 +47,7 @@ const w = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
48
47
  k.$off(D.value + "-pickFileDone");
49
48
  }), (e3, t2) => {
50
49
  const l2 = a("el-form-item");
51
- return j.value.tittleShow ? (s(), n(l2, { key: 0, ref_key: "formItemRef", ref: K, required: j.value.required, class: p(u(T)), "label-width": j.value.labelWidth, style: r(u(R)) }, { label: m(() => [j.value.tittleShow ? (s(), f("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...u(z), ...u(I) }) }, c(u(_)(j.value.title)), 5)) : d("", true)]), default: m(() => [v(u(b), { ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": B.value, "file-list": W.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": G, "on-remove": H, "before-upload": A, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), n(u(b), { key: 1, ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": B.value, "file-list": W.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": G, "on-remove": H, "before-upload": A, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"]));
50
+ return j.value.tittleShow ? (n(), s(l2, { key: 0, ref_key: "formItemRef", ref: K, required: j.value.required, class: u(r(T)), "label-width": j.value.labelWidth, style: p(r(R)) }, { label: m(() => [j.value.tittleShow ? (n(), c("div", { key: 0, ref_key: "titleRef", ref: L, style: p({ ...r(z), ...r(I) }) }, v(r(_)(j.value.title)), 5)) : d("", true)]), default: m(() => [f(r(b), { ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": B.value, "file-list": W.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": G, "on-remove": H, "before-upload": A, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (n(), s(r(b), { key: 1, ref_key: "fileUploadRef", ref: $, style: { width: "100%" }, disabled: "disabled" === j.value.state, displayType: j.value.displayType, accept: j.value.accept, multiple: j.value.multiple, placeholder: j.value.placeholder, limit: j.value.limit, "limit-file-size": j.value.limitFileSize, openCameraOrChoosePhoto: j.value.openCameraOrChoosePhoto, "file-info": B.value, "file-list": W.value, "system-code": e3.pageContext.systemCode, componentId: D.value, "on-success": G, "on-remove": H, "before-upload": A, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "pageContext"]));
52
51
  };
53
52
  } });
54
53
  export {
@@ -1,14 +1,14 @@
1
- import { defineComponent as e, computed as t, ref as l, onMounted as o, nextTick as a, resolveComponent as n, openBlock as u, createBlock as r, normalizeClass as i, unref as p, normalizeStyle as s, withCtx as m, createElementBlock as f, Fragment as c, createTextVNode as d, toDisplayString as g, createCommentVNode as v, createVNode as y } from "vue";
1
+ import { defineComponent as e, computed as t, ref as l, onMounted as o, nextTick as a, resolveComponent as n, createBlock as u, openBlock as r, normalizeStyle as i, normalizeClass as p, unref as s, withCtx as m, createVNode as f, createElementBlock as c, createCommentVNode as d, Fragment as g, createTextVNode as v, toDisplayString as y } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as C, setVariableValue as h } from "../../../../utils/page-helper-util.js";
3
+ import { setVariableValue as C, getVariableValue as h } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as b, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
5
  import R from "../common/title-suffix-element.vue.js";
6
6
  import { $t as _ } from "../../../../utils/i18n-util.js";
7
7
  const j = e({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
8
8
  const j2 = e2, w = j2.pageContext.entity ? j2.pageContext.entity : {};
9
9
  let q = x(j2.pageContext, j2.configure);
10
- const z = t({ get: () => C(w, q), set(e3) {
11
- h(w, q, e3);
10
+ const z = t({ get: () => h(w, q), set(e3) {
11
+ C(w, q, e3);
12
12
  } }), S = j2.configure.runtime ? j2.configure.runtime : {}, V = S.style, B = S.class, I = S.headerStyle, D = S.titleExceedStyle, E = l(S.props ? S.props : {}), F = l(null), T = l(null), U = l(null);
13
13
  return o(() => {
14
14
  a(() => {
@@ -17,7 +17,7 @@ const j = e({ __name: "input-number-runtime", props: { pageContext: {}, configur
17
17
  });
18
18
  }), (e3, t2) => {
19
19
  const l2 = n("el-input-number"), o2 = n("el-form-item");
20
- return u(), r(o2, { ref_key: "formItemRef", ref: F, required: E.value.required, class: i(p(B)), "label-width": E.value.labelWidth, style: s(p(V)) }, { label: m(() => [E.value.tittleShow ? (u(), f("div", { key: 0, ref_key: "titleRef", ref: U, style: s({ ...p(I), ...p(D) }) }, [E.value.prefixType ? (u(), r(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (u(), f(c, { key: 1 }, [d(g(p(_)(E.value.title)), 1)], 64))], 4)) : v("", true)]), default: m(() => [y(l2, { ref_key: "componentRef", ref: T, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, controls: E.value.showButton, size: E.value.size, placeholder: E.value.placeholder, modelValue: z.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => z.value = e4), precision: E.value.precision, step: E.value.step, min: E.value.min, max: E.value.max, onChange: t2[1] || (t2[1] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
20
+ return r(), u(o2, { ref_key: "formItemRef", ref: F, required: E.value.required, class: p(s(B)), "label-width": E.value.labelWidth, style: i(s(V)) }, { label: m(() => [E.value.tittleShow ? (r(), c("div", { key: 0, ref_key: "titleRef", ref: U, style: i({ ...s(I), ...s(D) }) }, [E.value.prefixType ? (r(), u(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (r(), c(g, { key: 1 }, [v(y(s(_)(E.value.title)), 1)], 64))], 4)) : d("", true)]), default: m(() => [f(l2, { ref_key: "componentRef", ref: T, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, controls: E.value.showButton, size: E.value.size, placeholder: E.value.placeholder, modelValue: z.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => z.value = e4), precision: E.value.precision, step: E.value.step, min: E.value.min, max: E.value.max, onChange: t2[1] || (t2[1] = (t3) => s(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => s(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => s(k)(t3, e3.pageContext, e3.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as l, computed as n, onMounted as o, nextTick as u, onUnmounted as t, watch as a, resolveComponent as i, openBlock as r, createBlock as c, normalizeClass as p, unref as s, normalizeStyle as v, withCtx as f, createElementBlock as y, Fragment as m, createTextVNode as g, toDisplayString as d, createCommentVNode as x, createVNode as C, createSlots as I } from "vue";
1
+ import { defineComponent as e, ref as l, computed as n, onMounted as o, nextTick as u, onUnmounted as t, watch as a, resolveComponent as i, createBlock as r, openBlock as c, normalizeStyle as p, normalizeClass as s, unref as v, withCtx as f, createVNode as y, createCommentVNode as m, createSlots as g, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
2
2
  import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
- import { getVariableValue as V, setVariableValue as h } from "../../../../utils/page-helper-util.js";
4
+ import { setVariableValue as V, getVariableValue as h } from "../../../../utils/page-helper-util.js";
5
5
  import { handleAfterInitEvent as b, handleFormEvent as w } from "../../../../utils/events/event-util.js";
6
6
  import { formatScanRuleSets as _, analysisScanValue as j, setScanAnalysisValue as R } from "../../../../utils/form/scan-util.js";
7
7
  import S from "../common/title-suffix-element.vue.js";
@@ -12,8 +12,8 @@ const D = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
12
12
  var _a, _b, _c;
13
13
  const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {};
14
14
  let N = k(L.pageContext, L.configure);
15
- const O = l(P()), $ = L.pageContext.code, A = l(N && N.length > 0 ? $ + "__" + N.join("__") : null), E = n({ get: () => V(B, N), set(e3) {
16
- e3 = e3.trim(), h(B, N, e3);
15
+ const O = l(P()), $ = L.pageContext.code, A = l(N && N.length > 0 ? $ + "__" + N.join("__") : null), E = n({ get: () => h(B, N), set(e3) {
16
+ e3 = e3.trim(), V(B, N, e3);
17
17
  } }), F = l(null), J = l(null), M = l(null);
18
18
  o(() => {
19
19
  q.$on(A.value + "-scanDone", (e3) => {
@@ -38,23 +38,22 @@ const D = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
38
38
  }));
39
39
  const Y = U.style, Z = U.class, ee = U.headerStyle, le = U.titleExceedStyle;
40
40
  function ne(e3) {
41
- return h(B, N, e3);
41
+ return V(B, N, e3);
42
42
  }
43
43
  const oe = l(false);
44
44
  function ue(e3) {
45
45
  oe.value = false, ne(e3);
46
46
  }
47
47
  return D2({ getValue: function() {
48
- return V(B, N);
48
+ return h(B, N);
49
49
  }, setValue: ne }), (e3, l2) => {
50
50
  const n2 = i("el-input"), o2 = i("scan-code-input-browser"), u2 = i("el-form-item");
51
- return r(), c(u2, { ref_key: "formItemRef", ref: F, required: !!W.value.required, class: p(s(Z)), "label-width": W.value.labelWidth, style: v(s(Y)) }, { label: f(() => [W.value.tittleShow ? (r(), y("div", { key: 0, ref_key: "titleRef", ref: M, style: v({ ...s(ee), ...s(le) }) }, [W.value.prefixType ? (r(), c(S, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (r(), y(m, { key: 1 }, [g(d(s(z)(W.value.title)), 1)], 64))], 4)) : x("", true)]), default: f(() => [C(n2, { ref_key: "componentRef", ref: J, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, clearable: W.value.clearable, placeholder: W.value.placeholder, maxlength: W.value.maxLength, "show-word-limit": W.value.showInputNum, modelValue: E.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => E.value = e4), onInput: l2[6] || (l2[6] = (l3) => s(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => s(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => s(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => s(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => s(w)(l3, e3.pageContext, e3.configure, "click")) }, I({ _: 2 }, ["outer" != W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prefix", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (r(), c(s(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => s(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : x("", true), g(" " + d(s(z)(W.value.preText)), 1)]), key: "0" } : void 0, "outer" == W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prepend", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (r(), c(s(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => s(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : x("", true), g(" " + d(s(z)(W.value.preText)), 1)]), key: "1" } : void 0, "outer" != W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "suffix", fn: f(() => [W.value.sufIconType && W.value.sufIconValue ? (r(), c(s(T), { key: 0, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => s(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : x("", true), g(" " + d(s(z)(W.value.sufText)), 1)]), key: "2" } : void 0, Q.value || "outer" == W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "append", fn: f(() => [Q.value ? (r(), c(s(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
51
+ return c(), r(u2, { ref_key: "formItemRef", ref: F, required: !!W.value.required, class: s(v(Z)), "label-width": W.value.labelWidth, style: p(v(Y)) }, { label: f(() => [W.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: M, style: p({ ...v(ee), ...v(le) }) }, [W.value.prefixType ? (c(), r(S, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(z)(W.value.title)), 1)], 64))], 4)) : m("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: J, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, clearable: W.value.clearable, placeholder: W.value.placeholder, maxlength: W.value.maxLength, "show-word-limit": W.value.showInputNum, modelValue: E.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => E.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "click")) }, g({ _: 2 }, ["outer" != W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prefix", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "0" } : void 0, "outer" == W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prepend", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "1" } : void 0, "outer" != W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "suffix", fn: f(() => [W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "2" } : void 0, Q.value || "outer" == W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "append", fn: f(() => [Q.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
52
52
  if (K) {
53
53
  const e5 = { type: "scan", componentId: A.value, systemCode: L.pageContext.systemCode };
54
54
  window.parent.postMessage(JSON.stringify(e5), "*");
55
- } else
56
- oe.value = true;
57
- }()) })) : x("", true), W.value.sufIconType && W.value.sufIconValue ? (r(), c(s(T), { key: 1, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => s(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : x("", true), g(" " + d(s(z)(W.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), oe.value ? (r(), c(o2, { key: 0, onClose: ue })) : x("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
55
+ } else oe.value = true;
56
+ }()) })) : m("", true), W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), oe.value ? (c(), r(o2, { key: 0, onClose: ue })) : m("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
58
57
  };
59
58
  } });
60
59
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, openBlock as i, createElementBlock as o, normalizeClass as p, unref as s, normalizeStyle as r, createElementVNode as f, toDisplayString as c, createBlock as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as i, createBlock as o, openBlock as p, normalizeStyle as s, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
2
2
  import { getFormModelFields as d } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as m, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -9,15 +9,13 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
9
9
  let P = d(R.pageContext, R.configure);
10
10
  const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType, H = l(() => {
11
11
  let e3 = m(S, P);
12
- if (G)
13
- if (A.value.hasOptions) {
14
- let t2 = null;
15
- B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
16
- } else if ("custom" === G) {
17
- const t2 = w(R.pageContext, A.value.formatFunc);
18
- t2 && (e3 = t2.apply(t2, [{ pageContext: R.pageContext, configureObj: R.configure, value: e3 }]));
19
- } else
20
- e3 = h(e3, G, A.value);
12
+ if (G) if (A.value.hasOptions) {
13
+ let t2 = null;
14
+ B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
15
+ } else if ("custom" === G) {
16
+ const t2 = w(R.pageContext, A.value.formatFunc);
17
+ t2 && (e3 = t2.apply(t2, [{ pageContext: R.pageContext, configureObj: R.configure, value: e3 }]));
18
+ } else e3 = h(e3, G, A.value);
21
19
  return e3 = null == e3 ? "" : e3, e3;
22
20
  }), J = t(null), K = t(null), L = t(null);
23
21
  return u(() => {
@@ -29,7 +27,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
29
27
  B.value = e3 || [];
30
28
  } }), (e3, t2) => {
31
29
  const l2 = n("el-form-item");
32
- return A.value.whetherTittle ? (i(), o("div", { key: 0, ref_key: "titleRef", ref: L, class: p(s(z)), style: r(s(O)) }, [f("div", I, c(A.value.title), 1)], 6)) : A.value.tittleShow ? (i(), v(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: p(s(z)), "label-width": A.value.labelWidth, style: r(s(O)) }, { label: y(() => [A.value.tittleShow ? (i(), o("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...s(D), ...s(W) }) }, c(s(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [f("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => s(C)(t3, e3.pageContext, e3.configure, "click")) }, [f("span", b, [A.value.preIconValue || A.value.preText ? (i(), o("span", { key: 0, class: p({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: r(s(F)) }, [A.value.preIconType && A.value.preIconValue ? (i(), v(s(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + c(s(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + c(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (i(), o("span", { key: 0, class: p({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (i(), v(s(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), f("span", null, " " + c(s(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (i(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => s(C)(t3, e3.pageContext, e3.configure, "click")) }, [f("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, c(A.value.prefixIcon) + " " + c(H.value), 9, V), A.value.suffixTxt ? (i(), o("span", { key: 0, class: p(s(E)), style: r(s(F)) }, c(A.value.suffixTxt), 7)) : g("", true)]));
30
+ return A.value.whetherTittle ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: s(f(O)) }, [c("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (p(), o(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(f(z)), "label-width": A.value.labelWidth, style: s(f(O)) }, { label: y(() => [A.value.tittleShow ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, style: s({ ...f(D), ...f(W) }) }, v(f(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [A.value.preIconValue || A.value.preText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: s(f(F)) }, [A.value.preIconType && A.value.preIconValue ? (p(), o(f(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(f(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (p(), o(f(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (p(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (p(), i("span", { key: 0, class: r(f(E)), style: s(f(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
33
31
  };
34
32
  } });
35
33
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, openBlock as u, createBlock as o, normalizeClass as r, unref as s, normalizeStyle as p, withCtx as f, createElementBlock as c, toDisplayString as d, createCommentVNode as m, createVNode as g, createTextVNode as v } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as f, createVNode as c, createTextVNode as d, toDisplayString as m, createElementBlock as g, createCommentVNode as v } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/events/event-util.js";
@@ -23,7 +23,7 @@ const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
23
23
  });
24
24
  }), (e3, t2) => {
25
25
  const l2 = i("el-link"), n2 = i("el-tooltip"), a2 = i("el-form-item");
26
- return u(), o(a2, { ref_key: "formItemRef", ref: z, class: r(s(w)), "label-width": S.value.labelWidth, style: p(s(j)) }, { label: f(() => [S.value.tittleShow ? (u(), c("div", { key: 0, ref_key: "titleRef", ref: B, style: p({ ...s(I) }) }, d(s(C)(S.value.title)), 5)) : m("", true)]), default: f(() => [g(n2, { disabled: !s(q), content: s(q) }, { default: f(() => [g(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => s(x)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: f(() => [v(d(V.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
26
+ return o(), u(a2, { ref_key: "formItemRef", ref: z, class: s(p(w)), "label-width": S.value.labelWidth, style: r(p(j)) }, { label: f(() => [S.value.tittleShow ? (o(), g("div", { key: 0, ref_key: "titleRef", ref: B, style: r({ ...p(I) }) }, m(p(C)(S.value.title)), 5)) : v("", true)]), default: f(() => [c(n2, { disabled: !p(q), content: p(q) }, { default: f(() => [c(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => p(x)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: f(() => [d(m(V.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
27
27
  };
28
28
  } });
29
29
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "./placeholder-runtime.vue2.js";
2
- import "./placeholder-runtime.vue3.js";
2
+ /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const o = r(e, [["__scopeId", "data-v-96fc65d8"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as r, openBlock as l, createBlock as a, normalizeClass as u, unref as f, normalizeStyle as s, withCtx as i, createElementVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as r, createBlock as l, openBlock as a, normalizeStyle as u, normalizeClass as f, unref as s, withCtx as i, createElementVNode as m } from "vue";
2
2
  import { handleAfterInitEvent as p } from "../../../../utils/events/event-util.js";
3
3
  const c = e({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
4
  const c2 = e2, g = c2.configure.runtime ? c2.configure.runtime : {}, y = g.style, d = g.class, v = t(null), x = t(null);
@@ -8,7 +8,7 @@ const c = e({ __name: "placeholder-runtime", props: { pageContext: {}, configure
8
8
  });
9
9
  }), (e3, t2) => {
10
10
  const n2 = r("el-form-item");
11
- return l(), a(n2, { ref_key: "formItemRef", ref: v, class: u(f(d)), style: s(f(y)) }, { default: i(() => [m("div", { ref_key: "componentRef", ref: x, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
11
+ return a(), l(n2, { ref_key: "formItemRef", ref: v, class: f(s(d)), style: u(s(y)) }, { default: i(() => [m("div", { ref_key: "componentRef", ref: x, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
12
12
  };
13
13
  } });
14
14
  export {
@@ -1,5 +1,5 @@
1
- import { defineComponent as e, computed as t, ref as o, watch as l, onMounted as n, nextTick as a, resolveComponent as u, openBlock as i, createBlock as r, normalizeClass as s, unref as p, normalizeStyle as f, withCtx as c, createElementBlock as g, toDisplayString as d, createCommentVNode as v, createVNode as m, Fragment as h, renderList as y, createTextVNode as b } from "vue";
2
- import { getVariableValue as C, setVariableValue as x, getOptionDatasFromPage as k, autoSetAfterSelect as _, queryOptionDatasources as R } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, computed as t, ref as o, watch as l, onMounted as n, nextTick as a, resolveComponent as u, createBlock as i, openBlock as r, normalizeStyle as s, normalizeClass as p, unref as f, withCtx as c, createVNode as g, createElementBlock as d, Fragment as v, renderList as m, createTextVNode as h, toDisplayString as y, createCommentVNode as b } from "vue";
2
+ import { setVariableValue as C, getVariableValue as x, getOptionDatasFromPage as k, autoSetAfterSelect as _, queryOptionDatasources as R } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as S } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as j, handleAfterInitEvent as I } from "../../../../utils/events/event-util.js";
5
5
  import { $t as T } from "../../../../utils/i18n-util.js";
@@ -7,17 +7,15 @@ const V = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
7
7
  const q = e2, w = q.pageContext.entity ? q.pageContext.entity : {};
8
8
  let z = S(q.pageContext, q.configure);
9
9
  const O = t({ get() {
10
- let e3 = C(w, z);
10
+ let e3 = x(w, z);
11
11
  return null != e3 && (e3 += ""), e3;
12
12
  }, set(e3) {
13
- x(w, z, e3);
13
+ C(w, z, e3);
14
14
  } }), D = q.configure.runtime ? q.configure.runtime : {}, M = D.style, P = D.class, W = D.headerStyle, E = D.titleExceedStyle, F = o(D.props ? D.props : {}), U = o(F.value.options ? F.value.options : []), $ = k(q.pageContext, q.configure);
15
15
  $.length > 0 && (U.value = $);
16
16
  const A = q.configure.props && q.configure.props.dataOrigin ? q.configure.props.dataOrigin : {}, B = A.optionValueSetType;
17
17
  let G = [];
18
- if (("dynamicData" == B || "dataTable" == B || "service" == B) && A.autoSets)
19
- for (let e3 of A.autoSets)
20
- e3.source && G.push(e3);
18
+ if (("dynamicData" == B || "dataTable" == B || "service" == B) && A.autoSets) for (let e3 of A.autoSets) e3.source && G.push(e3);
21
19
  q.configure && q.configure.props && q.configure.props.base && q.configure.props.base.optionProp && G.push({ source: "label", target: q.configure.props.base.optionProp }), F.value.changeMethod = function(e3) {
22
20
  if (G.length > 0) {
23
21
  let t2 = null;
@@ -28,21 +26,18 @@ const V = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
28
26
  const H = F.value.monitorFields, J = [];
29
27
  if (H) {
30
28
  const e3 = [];
31
- for (let t2 of H)
32
- if (t2.startsWith("${")) {
33
- t2 = t2.substring(2, t2.length - 1);
34
- const o2 = t2.split(".");
35
- "page" !== o2[0] && "task" !== o2[0] && "data" !== o2[0] || (J.push(o2), e3.includes(o2[0]) || e3.push(o2[0]));
36
- }
37
- for (let t2 of e3)
38
- l(w[t2], () => {
39
- X();
40
- });
29
+ for (let t2 of H) if (t2.startsWith("${")) {
30
+ t2 = t2.substring(2, t2.length - 1);
31
+ const o2 = t2.split(".");
32
+ "page" !== o2[0] && "task" !== o2[0] && "data" !== o2[0] || (J.push(o2), e3.includes(o2[0]) || e3.push(o2[0]));
33
+ }
34
+ for (let t2 of e3) l(w[t2], () => {
35
+ X();
36
+ });
41
37
  }
42
38
  function K() {
43
39
  let e3 = "";
44
- for (let t2 of J)
45
- e3 += "_" + C(w, t2);
40
+ for (let t2 of J) e3 += "_" + x(w, t2);
46
41
  return e3;
47
42
  }
48
43
  let L = K(), N = false;
@@ -64,7 +59,7 @@ const V = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
64
59
  U.value = e3 || [];
65
60
  } }), (e3, t2) => {
66
61
  const o2 = u("el-radio"), l2 = u("el-radio-group"), n2 = u("el-form-item");
67
- return i(), r(n2, { ref_key: "formItemRef", ref: Y, required: F.value.required, class: s(p(P)), "label-width": F.value.labelWidth, style: f(p(M)) }, { label: c(() => [F.value.tittleShow ? (i(), g("div", { key: 0, ref_key: "titleRef", ref: ee, style: f({ ...p(W), ...p(E) }) }, d(p(T)(F.value.title)), 5)) : v("", true)]), default: c(() => [m(l2, { ref_key: "componentRef", ref: Z, disabled: "disabled" === F.value.state, size: F.value.size, onChange: F.value.changeMethod, modelValue: O.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => O.value = e4) }, { default: c(() => [(i(true), g(h, null, y(U.value, (t3) => (i(), r(o2, { key: t3.value, label: t3.value, onClick: (o3) => p(j)(t3.value, e3.pageContext, e3.configure, "click", { values: O.value }) }, { default: c(() => [b(d(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
62
+ return r(), i(n2, { ref_key: "formItemRef", ref: Y, required: F.value.required, class: p(f(P)), "label-width": F.value.labelWidth, style: s(f(M)) }, { label: c(() => [F.value.tittleShow ? (r(), d("div", { key: 0, ref_key: "titleRef", ref: ee, style: s({ ...f(W), ...f(E) }) }, y(f(T)(F.value.title)), 5)) : b("", true)]), default: c(() => [g(l2, { ref_key: "componentRef", ref: Z, disabled: "disabled" === F.value.state, size: F.value.size, onChange: F.value.changeMethod, modelValue: O.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => O.value = e4) }, { default: c(() => [(r(true), d(v, null, m(U.value, (t3) => (r(), i(o2, { key: t3.value, label: t3.value, onClick: (o3) => f(j)(t3.value, e3.pageContext, e3.configure, "click", { values: O.value }) }, { default: c(() => [h(y(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
68
63
  };
69
64
  } });
70
65
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as i, onBeforeUnmount as o, resolveComponent as r, openBlock as a, createElementBlock as u, Fragment as s, createBlock as c, normalizeClass as p, unref as d, normalizeStyle as g, withCtx as m, toDisplayString as f, createCommentVNode as v, createElementVNode as h } from "vue";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as i, onBeforeUnmount as o, resolveComponent as r, createElementBlock as a, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { formatVariableValue as y, setVariableValue as b, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
4
  import w from "quill";
@@ -40,8 +40,7 @@ const R = { style: { width: "100%", height: "100%" } }, S = e({ __name: "richtex
40
40
  }
41
41
  function ee(e3, t2) {
42
42
  let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], i2 = atob(l2[1]), o2 = i2.length, r2 = new Uint8Array(o2);
43
- for (; o2--; )
44
- r2[o2] = i2.charCodeAt(o2);
43
+ for (; o2--; ) r2[o2] = i2.charCodeAt(o2);
45
44
  return new File([r2], t2, { type: n2 });
46
45
  }
47
46
  return n(() => {
@@ -49,27 +48,23 @@ const R = { style: { width: "100%", height: "100%" } }, S = e({ __name: "richtex
49
48
  I = new w(z.value, K.value);
50
49
  const e3 = I.clipboard.convertHTML(W);
51
50
  I.setContents(e3.ops), (_a = z.value) == null ? void 0 : _a.addEventListener("focusout", Z), I.on("text-change", async function(e4, t2, l2) {
52
- if (e4.ops && e4.ops.length > 0)
53
- for (let t3 = 0; t3 < e4.ops.length; t3++) {
54
- const l3 = e4.ops[t3];
55
- if (l3.insert && l3.insert.image) {
56
- const e5 = l3.insert.image;
57
- if (!e5.startsWith("data:image"))
58
- return;
59
- const t4 = ee(e5, "image.png");
60
- await $(t4).then((t5) => {
61
- if (!I)
62
- return;
63
- const l4 = I.root.getElementsByTagName("img");
64
- if (l4 && l4.length > 0)
65
- for (let n2 = 0; n2 < l4.length; n2++) {
66
- const i2 = l4[n2];
67
- i2.src === e5 && (i2.src = t5.url + "&jwt=" + E());
68
- }
69
- }).catch((e6) => {
70
- });
71
- }
51
+ if (e4.ops && e4.ops.length > 0) for (let t3 = 0; t3 < e4.ops.length; t3++) {
52
+ const l3 = e4.ops[t3];
53
+ if (l3.insert && l3.insert.image) {
54
+ const e5 = l3.insert.image;
55
+ if (!e5.startsWith("data:image")) return;
56
+ const t4 = ee(e5, "image.png");
57
+ await $(t4).then((t5) => {
58
+ if (!I) return;
59
+ const l4 = I.root.getElementsByTagName("img");
60
+ if (l4 && l4.length > 0) for (let n2 = 0; n2 < l4.length; n2++) {
61
+ const i2 = l4[n2];
62
+ i2.src === e5 && (i2.src = t5.url + "&jwt=" + E());
63
+ }
64
+ }).catch((e6) => {
65
+ });
72
66
  }
67
+ }
73
68
  b(_, B, I.root.innerHTML);
74
69
  });
75
70
  I.container.addEventListener("click", function(e4) {
@@ -92,9 +87,9 @@ const R = { style: { width: "100%", height: "100%" } }, S = e({ __name: "richtex
92
87
  z.value && z.value.removeEventListener("focusout", Z);
93
88
  }), (e3, t2) => {
94
89
  const l2 = r("el-form-item"), n2 = r("el-image-viewer");
95
- return a(), u(s, null, [F.value.tittleShow ? (a(), c(l2, { key: 0, required: F.value.required, class: p(d(N)), "label-width": F.value.labelWidth, style: g(d(M)) }, { label: m(() => [F.value.tittleShow ? (a(), u("div", { key: 0, style: g({ ...d(A), ...d(D) }) }, f(d(j)(F.value.title)), 5)) : v("", true)]), default: m(() => [h("div", R, [h("div", { ref_key: "quillEditorRef", ref: z, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : v("", true), Q.value ? (a(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
90
+ return u(), a(s, null, [F.value.tittleShow ? (u(), c(l2, { key: 0, required: F.value.required, class: g(m(N)), "label-width": F.value.labelWidth, style: d(m(M)) }, { label: f(() => [F.value.tittleShow ? (u(), a("div", { key: 0, style: d({ ...m(A), ...m(D) }) }, h(m(j)(F.value.title)), 5)) : p("", true)]), default: f(() => [v("div", R, [v("div", { ref_key: "quillEditorRef", ref: z, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Q.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
96
91
  Q.value = false;
97
- }), "url-list": P.value }, null, 8, ["url-list"])) : v("", true)], 64);
92
+ }), "url-list": P.value }, null, 8, ["url-list"])) : p("", true)], 64);
98
93
  };
99
94
  } });
100
95
  export {