super-page-runtime 2.3.14 → 2.3.15-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 (79) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  2. package/dist/es/components/runtime/utils/api/page-expose-util.js +50 -50
  3. package/dist/es/components/runtime/utils/events/event-util.js +29 -29
  4. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  5. package/dist/es/components/runtime/utils/events/standard-event.d.ts +5 -0
  6. package/dist/es/components/runtime/utils/events/standard-event.js +163 -114
  7. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  8. package/dist/es/components/runtime/utils/page-init-util.js +117 -88
  9. package/dist/es/components/runtime/utils/page-permission-util.js +1 -1
  10. package/dist/es/components/runtime/utils/page-store.js +10 -10
  11. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  15. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  16. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  17. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  19. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
  26. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  27. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  28. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +11 -18
  29. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  30. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  31. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +4 -0
  32. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  33. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  34. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  36. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  38. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  40. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  45. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +18 -18
  46. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +19 -18
  47. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  48. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  49. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  50. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  51. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  52. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +53 -42
  53. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  54. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +4 -4
  56. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +37 -38
  58. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
  59. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -4
  60. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  61. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +61 -62
  62. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +81 -58
  63. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  64. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  65. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  66. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  67. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  68. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -17
  69. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  70. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  71. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  72. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  73. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -0
  74. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  75. package/dist/es/components/runtime/views/super-page.vue2.js +200 -185
  76. package/dist/es/i18n/langs/cn.js +1 -1
  77. package/dist/es/i18n/langs/en.js +1 -1
  78. package/dist/es/style.css +76 -76
  79. package/package.json +3 -2
@@ -5,7 +5,6 @@ import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/e
5
5
  import { $t as C } from "../../../../utils/i18n-util.js";
6
6
  const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
7
  const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
- S.value;
9
8
  let $ = S.value.formatting;
10
9
  const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
11
10
  let e3 = b(D, h);
@@ -22,9 +21,9 @@ const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
22
21
  const e3 = V.value;
23
22
  k(e3, _2.pageContext, _2.configure, { formItemRef: z.value, componentRef: A.value, titleRef: B.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
24
23
  });
25
- }), (t2, l2) => {
26
- const n2 = i("el-link"), a2 = i("el-tooltip"), y2 = i("el-form-item");
27
- return o(), u(y2, { 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(a2, { disabled: !p(q), content: p(q) }, { default: f(() => [c(n2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(x)(t3, e2.pageContext, e2.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"]);
24
+ }), (e3, t2) => {
25
+ const l2 = i("el-link"), n2 = i("el-tooltip"), a2 = i("el-form-item");
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"]);
28
27
  };
29
28
  } });
30
29
  export {
@@ -63,9 +63,9 @@ const w = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
63
63
  B.value = e3 || [];
64
64
  }, addRequiredClass: function() {
65
65
  O.value = V();
66
- } }), (t2, l2) => {
67
- const o2 = i("el-radio"), n2 = i("el-radio-group"), a2 = i("el-form-item");
68
- return s(), r(a2, { ref_key: "formItemRef", ref: te, required: A.value.required, class: f(c(F) + (O.value ? " " + O.value : "")), "label-width": A.value.labelWidth, style: p(c(E)) }, { label: g(() => [A.value.tittleShow ? (s(), v("div", { key: 0, ref_key: "titleRef", ref: oe, style: p({ ...c(U), ...c($) }) }, C(c(I)(A.value.title)), 5)) : b("", true)]), default: g(() => [d(n2, { ref_key: "componentRef", ref: le, disabled: "disabled" === A.value.state, size: A.value.size, onChange: A.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => P.value = e3) }, { default: g(() => [(s(true), v(m, null, h(B.value, (t3) => (s(), r(o2, { key: t3.value, label: t3.value, onClick: (l3) => c(T)(t3.value, e2.pageContext, e2.configure, "click", { values: P.value }) }, { default: g(() => [y(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
66
+ } }), (e3, t2) => {
67
+ const l2 = i("el-radio"), o2 = i("el-radio-group"), n2 = i("el-form-item");
68
+ return s(), r(n2, { ref_key: "formItemRef", ref: te, required: A.value.required, class: f(c(F) + (O.value ? " " + O.value : "")), "label-width": A.value.labelWidth, style: p(c(E)) }, { label: g(() => [A.value.tittleShow ? (s(), v("div", { key: 0, ref_key: "titleRef", ref: oe, style: p({ ...c(U), ...c($) }) }, C(c(I)(A.value.title)), 5)) : b("", true)]), default: g(() => [d(o2, { ref_key: "componentRef", ref: le, disabled: "disabled" === A.value.state, size: A.value.size, onChange: A.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => P.value = e4) }, { default: g(() => [(s(true), v(m, null, h(B.value, (t3) => (s(), r(l2, { key: t3.value, label: t3.value, onClick: (l3) => c(T)(t3.value, e3.pageContext, e3.configure, "click", { values: P.value }) }, { default: g(() => [y(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
69
69
  };
70
70
  } });
71
71
  export {
@@ -1,102 +1,101 @@
1
- import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, 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
- import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
- import { formatVariableValue as y, setVariableValue as b, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
- import w from "quill";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createVNode as c, createBlock as p, createCommentVNode as d, normalizeStyle as g, normalizeClass as m, unref as f, withCtx as v, createElementVNode as h, toDisplayString as x } from "vue";
2
+ import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
+ import { getSizeConfig as C, formatVariableValue as b, setVariableValue as w, getVariableValue as k } from "../../../../utils/page-helper-util.js";
4
+ import q from "quill";
5
5
  import "quill/dist/quill.snow.css";
6
- import { handleAfterInitEvent as k, handleFormEvent as q } from "../../../../utils/events/event-util.js";
7
- import T from "agilebuilder-ui/src/utils/request";
8
- import { $t as E } from "../../../../utils/i18n-util.js";
9
- import { getToken as L } from "agilebuilder-ui/src/utils/auth";
10
- import { getBaseUrl as R, addRequiredClassUtil as j } from "../../../../utils/common-util.js";
11
- const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
12
- const B = e2, H = t(null), M = B.pageContext.entity ? B.pageContext.entity : {}, N = x(B.pageContext, B.configure), A = B.configure.runtime ? B.configure.runtime : {}, D = A.style, F = A.class, U = A.headerStyle, W = A.titleExceedStyle, z = t(A.props ? A.props : {});
13
- let I = z.value.value;
14
- const O = y(B.pageContext, I), G = t(null);
15
- let J = null;
6
+ import { handleAfterInitEvent as T, handleFormEvent as E } from "../../../../utils/events/event-util.js";
7
+ import L from "agilebuilder-ui/src/utils/request";
8
+ import { $t as R } from "../../../../utils/i18n-util.js";
9
+ import { getBaseUrl as j, addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
10
+ const B = { style: { width: "100%", height: "100%" } }, H = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
11
+ const M = e2, N = t(null), S = M.pageContext.entity ? M.pageContext.entity : {}, A = y(M.pageContext, M.configure), D = M.configure.runtime ? M.configure.runtime : {}, F = D.style, U = D.class, W = D.headerStyle, z = D.titleExceedStyle, I = t(D.props ? D.props : {});
12
+ C(M.pageContext, M.configure);
13
+ let O = I.value.value;
14
+ const G = b(M.pageContext, O), J = t(null);
15
+ let K = null;
16
16
  t(null);
17
- let K = z.value.state;
18
- function P(e3) {
17
+ let P = I.value.state;
18
+ function Q(e3) {
19
19
  return "readonly" == e3 || "disabled" == e3;
20
20
  }
21
- const Q = P(K), V = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: Q ? "" : z.value.placeholder, readOnly: Q });
22
- l(z.value, () => {
23
- const e3 = z.value.state;
24
- if (null != e3 && e3 !== K) {
25
- K = e3;
26
- const t2 = P(K);
27
- J && (J.enable(!t2), J.root.dataset.placeholder = t2 ? "" : z.value.placeholder);
21
+ const V = Q(P), X = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: V ? "" : I.value.placeholder, readOnly: V });
22
+ l(I.value, () => {
23
+ const e3 = I.value.state;
24
+ if (null != e3 && e3 !== P) {
25
+ P = e3;
26
+ const t2 = Q(P);
27
+ K && (K.enable(!t2), K.root.dataset.placeholder = t2 ? "" : I.value.placeholder);
28
28
  }
29
29
  });
30
- const X = t([]), Y = t(false), Z = t(null), $ = t(null), ee = t(null);
31
- let te;
32
- function le(e3) {
30
+ const Y = t([]), Z = t(false), $ = t(null), ee = t(null), te = t(null);
31
+ let le;
32
+ function ne(e3) {
33
33
  var _a;
34
- null !== e3.relatedTarget && ((_a = G.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || q(J.root.innerHTML, B.pageContext, B.configure, "change", { entity: M });
34
+ null !== e3.relatedTarget && ((_a = J.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || E(K.root.innerHTML, M.pageContext, M.configure, "change", { entity: S });
35
35
  }
36
- function ne(e3) {
36
+ function oe(e3) {
37
37
  if ("img" === e3.target.localName) {
38
- X.value = [];
38
+ Y.value = [];
39
39
  let t2 = e3.target.src;
40
- X.value.push(t2), Y.value = true;
40
+ Y.value.push(t2), Z.value = true;
41
41
  }
42
42
  }
43
- function oe(e3) {
43
+ function ie(e3) {
44
44
  const t2 = new FormData();
45
45
  t2.append("file", e3);
46
- const l2 = B.pageContext.backendUrl, n2 = R(l2, B.pageContext.isTest);
47
- return T.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
46
+ const l2 = M.pageContext.backendUrl, n2 = j(l2, M.pageContext.isTest);
47
+ return L.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
48
48
  }
49
- function ie(e3, t2) {
50
- let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], o2 = atob(l2[1]), i2 = o2.length, r2 = new Uint8Array(i2);
51
- for (; i2--; ) r2[i2] = o2.charCodeAt(i2);
52
- return new File([r2], t2, { type: n2 });
49
+ function ae(e3, t2) {
50
+ let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], o2 = atob(l2[1]), i2 = o2.length, a2 = new Uint8Array(i2);
51
+ for (; i2--; ) a2[i2] = o2.charCodeAt(i2);
52
+ return new File([a2], t2, { type: n2 });
53
53
  }
54
54
  return n(() => {
55
55
  var _a;
56
- J = new w(G.value, V.value);
57
- const e3 = J.clipboard.convertHTML(O);
58
- J.setContents(e3.ops), (_a = G.value) == null ? void 0 : _a.addEventListener("focusout", le), J.on("text-change", async function(e4, t2, l2) {
56
+ K = new q(J.value, X.value);
57
+ const e3 = K.clipboard.convertHTML(G);
58
+ K.setContents(e3.ops), (_a = J.value) == null ? void 0 : _a.addEventListener("focusout", ne), K.on("text-change", async function(e4, t2, l2) {
59
59
  if (e4.ops && e4.ops.length > 0) for (let t3 = 0; t3 < e4.ops.length; t3++) {
60
60
  const l3 = e4.ops[t3];
61
61
  if (l3.insert && l3.insert.image) {
62
62
  const e5 = l3.insert.image;
63
63
  if (!e5.startsWith("data:image")) return;
64
- const t4 = ie(e5, "image.png");
65
- await oe(t4).then((t5) => {
66
- if (!J) return;
67
- const l4 = J.root.getElementsByTagName("img");
64
+ const t4 = ae(e5, "image.png");
65
+ await ie(t4).then((t5) => {
66
+ if (!K) return;
67
+ const l4 = K.root.getElementsByTagName("img");
68
68
  if (l4 && l4.length > 0) for (let n3 = 0; n3 < l4.length; n3++) {
69
69
  const o2 = l4[n3];
70
- o2.src === e5 && (o2.src = t5.url + "&jwt=" + L());
70
+ o2.src === e5 && (o2.src = t5.url);
71
71
  }
72
72
  }).catch((e6) => {
73
- console.error(e6, "上传图片失败");
74
73
  });
75
74
  }
76
75
  }
77
- const n2 = J.root.innerHTML;
78
- b(M, N, n2), null != n2 && "" !== n2 && (H.value = "");
79
- }), te = J.container, te.addEventListener("click", ne), function() {
80
- if (J && J.container) {
81
- const e4 = J.container.parentNode.getBoundingClientRect(), t2 = J.container.getBoundingClientRect();
76
+ const n2 = K.root.innerHTML;
77
+ w(S, A, n2), null != n2 && "" !== n2 && (N.value = "");
78
+ }), le = K.container, le.addEventListener("click", oe), function() {
79
+ if (K && K.container) {
80
+ const e4 = K.container.parentNode.getBoundingClientRect(), t2 = K.container.getBoundingClientRect();
82
81
  let l2 = e4.height - (t2.top - e4.top);
83
- l2 < 100 && (l2 = 100), J.container.style.height = l2 + "px";
82
+ l2 < 100 && (l2 = 100), K.container.style.height = l2 + "px";
84
83
  }
85
84
  }(), o(() => {
86
- const e4 = C(M, N);
87
- k(e4, B.pageContext, B.configure, { formItemRef: Z.value, componentRef: $.value, titleRef: ee.value, value: e4, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
85
+ const e4 = k(S, A);
86
+ T(e4, M.pageContext, M.configure, { formItemRef: $.value, componentRef: ee.value, titleRef: te.value, value: e4, entity: M.pageContext.entity.data, pageData: M.pageContext.entity.page });
88
87
  });
89
88
  }), i(() => {
90
- G.value && G.value.removeEventListener("focusout", le), te && te.removeEventListener("click", ne);
91
- }), _2({ addRequiredClass: function() {
92
- H.value = j();
89
+ J.value && J.value.removeEventListener("focusout", ne), le && le.removeEventListener("click", oe);
90
+ }), H2({ addRequiredClass: function() {
91
+ N.value = _();
93
92
  } }), (e3, t2) => {
94
- const l2 = r("el-form-item"), n2 = r("el-image-viewer");
95
- return u(), a(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), a("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
96
- Y.value = false;
97
- }), "url-list": X.value }, null, 8, ["url-list"])) : p("", true)], 64);
93
+ const l2 = a("el-form-item"), n2 = a("el-image-viewer");
94
+ return u(), r(s, null, [c(l2, { required: I.value.required, class: m(f(U) + (N.value ? " " + N.value : "")), "label-width": I.value.labelWidth, style: g(f(F)) }, { label: v(() => [I.value.tittleShow ? (u(), r("div", { key: 0, style: g({ ...f(W), ...f(z) }) }, x(f(R)(I.value.title)), 5)) : d("", true)]), default: v(() => [h("div", B, [h("div", { ref_key: "quillEditorRef", ref: J, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]), Z.value ? (u(), p(n2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
95
+ Z.value = false;
96
+ }), "url-list": Y.value }, null, 8, ["url-list"])) : d("", true)], 64);
98
97
  };
99
98
  } });
100
99
  export {
101
- _ as default
100
+ H as default
102
101
  };
@@ -1,97 +1,120 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as i, resolveComponent as r, createBlock as n, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as v, createVNode as g, createElementBlock as m, Fragment as d, renderList as h, createCommentVNode as y, createElementVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
- import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as _, getVariableValue as T } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as n, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, createElementBlock as d, Fragment as h, renderList as y, createCommentVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
+ import { setVariableValue as _, getOptionDatasFromPage as w, queryOptionDatasources as S, autoSetAfterSelect as k, getVariableValue as T } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as A } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as j, handleAfterInitEvent as R } from "../../../../utils/events/event-util.js";
5
5
  import V from "../common/title-suffix-element.vue.js";
6
- import { $t as q } from "../../../../utils/i18n-util.js";
7
- import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
8
- const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, O = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: O2 }) {
9
- const P = e2, D = t(null), W = P.pageContext.entity ? P.pageContext.entity : {};
10
- let E = A(P.pageContext, P.configure);
11
- const F = P.configure.runtime ? P.configure.runtime : {}, U = F.style, $ = F.class, B = F.headerStyle, G = F.titleExceedStyle, H = t(F.props ? F.props : {});
12
- let J = [];
13
- function K() {
14
- let e3 = T(W, E);
15
- return null != e3 && (e3 = String(e3)), H.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
6
+ import { $t as M } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as q } from "../../../../utils/common-util.js";
8
+ import { CopyDocument as z } from "@element-plus/icons-vue";
9
+ import E from "clipboard";
10
+ import { ElMessage as I } from "element-plus";
11
+ import { useI18n as P } from "vue-i18n";
12
+ const D = { style: { "padding-left": "5px" } }, O = { style: { float: "left" } }, W = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, B = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: B2 }) {
13
+ const { t: F } = P(), U = e2, $ = t(null), G = U.pageContext.entity ? U.pageContext.entity : {};
14
+ let H = A(U.pageContext, U.configure);
15
+ const J = U.configure.runtime ? U.configure.runtime : {}, K = J.style, L = J.class, N = J.headerStyle, Q = J.titleExceedStyle, X = t(J.props ? J.props : {});
16
+ let Y = [];
17
+ const Z = "copyBtn_" + U.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
+ function ee() {
19
+ let e3 = T(G, H);
20
+ return null != e3 && (e3 = String(e3)), X.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
16
21
  }
17
- const L = l({ get: () => K(), set(e3) {
18
- const t2 = K();
19
- J = Array.isArray(t2) ? [...t2] : t2;
22
+ const te = l({ get: () => ee(), set(e3) {
23
+ const t2 = ee();
24
+ Y = Array.isArray(t2) ? [...t2] : t2;
20
25
  let l2 = e3;
21
- if (H.value.multiple) {
22
- l2 = !!H.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
26
+ if (X.value.multiple) {
27
+ l2 = !!X.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
23
28
  }
24
- S(W, E, l2), null != l2 && (D.value = "");
25
- } }), N = t(H.value.options ? H.value.options : []), Q = k(P.pageContext, P.configure);
26
- Q.length > 0 && (N.value = Q);
27
- const X = t(false), Y = P.configure.props && P.configure.props.dataOrigin ? P.configure.props.dataOrigin : {}, Z = Y.optionValueSetType;
28
- let ee = [];
29
- const te = H.value.optionconfigInfo ? H.value.optionconfigInfo : {};
30
- if ("dynamicData" == Z || "dataTable" == Z || "service" == Z) {
31
- if ("remote" == Y.filterType) {
29
+ _(G, H, l2), null != l2 && ($.value = "");
30
+ } }), le = t(X.value.options ? X.value.options : []), oe = w(U.pageContext, U.configure);
31
+ oe.length > 0 && (le.value = oe);
32
+ const ae = t(false), ue = U.configure.props && U.configure.props.dataOrigin ? U.configure.props.dataOrigin : {}, ne = ue.optionValueSetType;
33
+ let re = [];
34
+ const ie = X.value.optionconfigInfo ? X.value.optionconfigInfo : {};
35
+ if ("dynamicData" == ne || "dataTable" == ne || "service" == ne) {
36
+ if ("remote" == ue.filterType) {
32
37
  let e3;
33
- H.value.filterable = true, H.value.remote = true, H.value.remoteShowSuffix = true, H.value.remoteMethod = function(t2) {
34
- e3 !== t2 && (e3 = t2, X.value = true, w(P.pageContext, te, t2).then((e4) => {
35
- X.value = false;
38
+ X.value.filterable = true, X.value.remote = true, X.value.remoteShowSuffix = true, X.value.remoteMethod = function(t2) {
39
+ e3 !== t2 && (e3 = t2, ae.value = true, S(U.pageContext, ie, t2).then((e4) => {
40
+ ae.value = false;
36
41
  }).then((e4) => {
37
- X.value = false;
42
+ ae.value = false;
38
43
  }));
39
44
  };
40
45
  }
41
- if (Y.autoSets) for (let e3 of Y.autoSets) e3.source && ee.push(e3);
46
+ if (ue.autoSets) for (let e3 of ue.autoSets) e3.source && re.push(e3);
42
47
  }
43
- P.configure && P.configure.props && P.configure.props.base && P.configure.props.base.optionProp && ee.push({ source: "label", target: P.configure.props.base.optionProp }), H.value.changeMethod = function(e3) {
48
+ U.configure && U.configure.props && U.configure.props.base && U.configure.props.base.optionProp && re.push({ source: "label", target: U.configure.props.base.optionProp }), X.value.changeMethod = function(e3) {
44
49
  let t2, l2 = null;
45
- N.value && null != e3 && null != e3 && (l2 = N.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
46
- ee.length > 0 && _(P.configure, P.pageContext, ee, l2, [H.value.prop]);
50
+ le.value && null != e3 && null != e3 && (l2 = le.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
51
+ re.length > 0 && k(U.configure, U.pageContext, re, l2, [X.value.prop]);
47
52
  l2 && l2.length > 0 && (t2 = l2[0]);
48
53
  let o2 = {};
49
54
  t2 && (o2.extendParams = t2);
50
- o2.options = N.value, o2.oldValue = J, j(e3, P.pageContext, P.configure, "change", o2);
55
+ o2.options = le.value, o2.oldValue = Y, j(e3, U.pageContext, U.configure, "change", o2);
51
56
  };
52
- const le = H.value.monitorFields, oe = [];
53
- if (le) {
57
+ const se = X.value.monitorFields, pe = [];
58
+ if (se) {
54
59
  const e3 = [];
55
- for (let t2 of le) if (t2.startsWith("${")) {
60
+ for (let t2 of se) if (t2.startsWith("${")) {
56
61
  t2 = t2.substring(2, t2.length - 1);
57
62
  const l2 = t2.split(".");
58
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (oe.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
63
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (pe.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
59
64
  }
60
- for (let t2 of e3) o(W[t2], () => {
61
- ie();
65
+ for (let t2 of e3) o(G[t2], () => {
66
+ ve();
62
67
  });
63
68
  }
64
- let ae = "", ue = false;
65
- function ie() {
66
- ue && clearTimeout(ue), ue = setTimeout(function() {
69
+ let ce = "", fe = false;
70
+ function ve() {
71
+ fe && clearTimeout(fe), fe = setTimeout(function() {
67
72
  const e3 = function() {
68
73
  let e4 = [];
69
- for (let t2 of oe) e4.push(T(W, t2));
74
+ for (let t2 of pe) e4.push(T(G, t2));
70
75
  return e4.join(",");
71
76
  }();
72
- e3 != ae && (ae = e3, te.watchAttrValue = e3, w(P.pageContext, te, void 0).then((e4) => {
73
- X.value = false;
77
+ e3 != ce && (ce = e3, ie.watchAttrValue = e3, S(U.pageContext, ie, void 0).then((e4) => {
78
+ ae.value = false;
74
79
  }));
75
80
  }, 200);
76
81
  }
77
82
  a(() => {
78
- ue && clearTimeout(ue);
83
+ fe && clearTimeout(fe);
79
84
  });
80
- const re = t(null), ne = t(null), se = t(null);
85
+ const ge = t(null), me = t(null), de = t(null);
81
86
  return u(() => {
82
- i(() => {
83
- const e3 = L.value;
84
- R(e3, P.pageContext, P.configure, { formItemRef: re.value, componentRef: ne.value, titleRef: se.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
87
+ const e3 = new E("#" + Z, { text: function() {
88
+ return function() {
89
+ const e4 = ee();
90
+ if (null != e4 && "" !== e4 && e4.length > 0) {
91
+ let t2 = "";
92
+ return "string" == typeof e4 ? le.value.forEach((l2) => {
93
+ l2.value === e4 && (t2 = l2.label);
94
+ }) : (le.value.forEach((l2) => {
95
+ e4.forEach((e5) => {
96
+ l2.value === e5 && (t2 = t2 + l2.label + ",");
97
+ });
98
+ }), t2 = t2.slice(0, t2.length - 1)), t2;
99
+ }
100
+ }();
101
+ } });
102
+ e3.on("success", () => {
103
+ I({ showClose: true, type: "success", message: F("superPageRuntimeMessage.copySuccess") });
104
+ }), e3.on("error", (e4) => {
105
+ }), n(() => {
106
+ const e4 = te.value;
107
+ R(e4, U.pageContext, U.configure, { formItemRef: ge.value, componentRef: me.value, titleRef: de.value, value: e4, entity: U.pageContext.entity.data, pageData: U.pageContext.entity.page });
85
108
  });
86
- }), O2({ updateOptions: function(e3) {
87
- N.value = e3 || [];
109
+ }), B2({ updateOptions: function(e3) {
110
+ le.value = e3 || [];
88
111
  }, addRequiredClass: function() {
89
- D.value = z();
90
- } }), (t2, l2) => {
91
- const o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-form-item");
92
- return s(), n(u2, { ref_key: "formItemRef", ref: re, required: !!H.value.required, class: f(c($) + (D.value ? " " + D.value : "")), "label-width": H.value.labelWidth, style: p(c(U)) }, { label: v(() => [H.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: se, style: p({ ...c(B), ...c(G) }) }, [H.value.prefixType ? (s(), n(V, { key: 0, pageContext: e2.pageContext, property: H.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(q)(H.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(a2, { ref_key: "componentRef", ref: ne, style: { width: "100%" }, disabled: "disabled" === H.value.state, size: H.value.size, clearable: H.value.clearable, multiple: H.value.multiple, "collapse-tags": H.value.collapseTags, "collapse-tags-tooltip": H.value.collapseTagsTooltip, filterable: H.value.filterable, "allow-create": H.value.allowCreate, placeholder: H.value.placeholder, "remote-show-suffix": H.value.remoteShowSuffix, remote: H.value.remote, "remote-method": H.value.remoteMethod, loading: X.value, onChange: H.value.changeMethod, modelValue: L.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => L.value = e3) }, { default: v(() => [(s(true), m(d, null, h(N.value, (t3) => (s(), n(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e2.pageContext, e2.configure, "click", { values: L.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", I, b(t3.label), 1), x("span", M, b(t3._description_), 1)], 64)) : y("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
112
+ $.value = q();
113
+ } }), (e3, t2) => {
114
+ const l2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-popover"), n2 = r("el-form-item");
115
+ return s(), i(n2, { ref_key: "formItemRef", ref: ge, required: !!X.value.required, class: c(f(L) + ($.value ? " " + $.value : "")), "label-width": X.value.labelWidth, style: p(f(K)) }, { label: v(() => [X.value.tittleShow ? (s(), d("div", { key: 0, ref_key: "titleRef", ref: de, style: p({ ...f(N), ...f(Q) }) }, [X.value.prefixType ? (s(), i(V, { key: 0, pageContext: e3.pageContext, property: X.value }, null, 8, ["pageContext", "property"])) : (s(), d(h, { key: 1 }, [C(b(f(M)(X.value.title)), 1)], 64))], 4)) : x("", true)]), default: v(() => [g(u2, { placement: "top", trigger: "hover" }, { reference: v(() => [g(a2, { ref_key: "componentRef", ref: me, style: { width: "100%" }, disabled: "disabled" === X.value.state, size: X.value.size, clearable: X.value.clearable, multiple: X.value.multiple, "collapse-tags": X.value.collapseTags, "collapse-tags-tooltip": X.value.collapseTagsTooltip, filterable: X.value.filterable, "allow-create": X.value.allowCreate, placeholder: X.value.placeholder, "remote-show-suffix": X.value.remoteShowSuffix, remote: X.value.remote, "remote-method": X.value.remoteMethod, loading: ae.value, onChange: X.value.changeMethod, modelValue: te.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => te.value = e4) }, { default: v(() => [(s(true), d(h, null, y(le.value, (t3) => (s(), i(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => f(j)(t3.value, e3.pageContext, e3.configure, "click", { values: te.value }) }, { default: v(() => [t3._description_ ? (s(), d(h, { key: 0 }, [m("span", O, b(t3.label), 1), m("span", W, b(t3._description_), 1)], 64)) : x("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), default: v(() => [m("span", D, [g(l2, { id: Z }, { default: v(() => [g(f(z))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
93
116
  };
94
117
  } });
95
118
  export {
96
- O as default
119
+ B as default
97
120
  };
@@ -9,7 +9,7 @@ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configu
9
9
  const e3 = y(v.configure.props.base.title);
10
10
  b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
11
11
  });
12
- }), d2({}), (t2, i2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e2.configure.props.base.title)), 1)], 4)], 6));
12
+ }), d2({}), (e3, t2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e3.configure.props.base.title)), 1)], 4)], 6));
13
13
  } });
14
14
  export {
15
15
  d as default
@@ -26,9 +26,9 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
26
26
  });
27
27
  }), w2({ addRequiredClass: function() {
28
28
  _.value = b();
29
- } }), (t2, l2) => {
30
- const a2 = i("el-switch"), u2 = i("el-form-item");
31
- return v(), n(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(a2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => c(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
29
+ } }), (e3, t2) => {
30
+ const l2 = i("el-switch"), a2 = i("el-form-item");
31
+ return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -24,19 +24,19 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
24
24
  const e3 = E.value;
25
25
  h(e3, j2.pageContext, j2.configure, { formItemRef: O.value, titleRef: W.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
26
26
  });
27
- }), (t2, l2) => {
28
- const a2 = o("el-tag"), i2 = o("el-form-item");
29
- return r(), n(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (t3) => (r(), n(a2, { key: t3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, t4) {
27
+ }), (e3, t2) => {
28
+ const l2 = o("el-tag"), a2 = o("el-form-item");
29
+ return r(), n(a2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (a3) => (r(), n(l2, { key: a3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e4) => function(e5, t3) {
30
30
  if (I.value.closable) {
31
- let e5 = C(D, A);
32
- null == e5 && (e5 = []);
33
- const l3 = Array.isArray(e5);
34
- l3 || (e5 = (e5 + "").split(","));
35
- const a3 = e5.indexOf(t4.value);
36
- a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
31
+ let e6 = C(D, A);
32
+ null == e6 && (e6 = []);
33
+ const l3 = Array.isArray(e6);
34
+ l3 || (e6 = (e6 + "").split(","));
35
+ const a4 = e6.indexOf(t3.value);
36
+ a4 > -1 && e6.splice(a4, 1), l3 || (e6 = e6.join(",")), b(D, A, e6);
37
37
  }
38
- k(e4, j2.pageContext, j2.configure, "remove");
39
- }(e3, t3), onClick: l2[0] || (l2[0] = (t4) => p(k)(t4, e2.pageContext, e2.configure, "click")) }, { default: c(() => [v(y(t3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
38
+ k(e5, j2.pageContext, j2.configure, "remove");
39
+ }(e4, a3), onClick: t2[0] || (t2[0] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "click")) }, { default: c(() => [v(y(a3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
40
  };
41
41
  } });
42
42
  export {
@@ -18,9 +18,9 @@ const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {
18
18
  });
19
19
  }), _2({ addRequiredClass: function() {
20
20
  I.value = j();
21
- } }), (t2, l2) => {
22
- const a2 = u("el-input"), o2 = u("el-form-item");
23
- return r(), n("div", null, [i(o2, { ref_key: "formItemRef", ref: T, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), n("div", { key: 0, ref_key: "titleRef", ref: W, style: s({ ...m(L), ...m(N) }) }, [D.value.prefixType ? (r(), g(k, { key: 0, pageContext: e2.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), n(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : c("", true)]), default: f(() => [i(a2, { ref_key: "componentRef", ref: U, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => V.value = e3), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxLength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: l2[1] || (l2[1] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
21
+ } }), (e3, t2) => {
22
+ const l2 = u("el-input"), a2 = u("el-form-item");
23
+ return r(), n("div", null, [i(a2, { ref_key: "formItemRef", ref: T, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), n("div", { key: 0, ref_key: "titleRef", ref: W, style: s({ ...m(L), ...m(N) }) }, [D.value.prefixType ? (r(), g(k, { key: 0, pageContext: e3.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), n(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : c("", true)]), default: f(() => [i(l2, { ref_key: "componentRef", ref: U, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => V.value = e4), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxLength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -73,9 +73,9 @@ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure:
73
73
  const t2 = H2.configure.props ? H2.configure.props : {}, n2 = H2.configure.style ? H2.configure.style : {}, i2 = t2.position;
74
74
  "top" == i2 || "bottom" == i2 || n2.position;
75
75
  };
76
- return (o2, t2) => {
77
- const n2 = i("permission");
78
- return u($)(e2.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [n2, { codes: u(N) ? u(N) : "true", systemCode: e2.pageContext.systemCode }]]) : s("", true);
76
+ return (e3, o2) => {
77
+ const t2 = i("permission");
78
+ return u($)(e3.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [t2, { codes: u(N) ? u(N) : "true", systemCode: e3.pageContext.systemCode }]]) : s("", true);
79
79
  };
80
80
  } });
81
81
  export {