super-page-runtime 2.3.31-sit2 → 2.3.31

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 (68) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +131 -131
  2. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  3. package/dist/es/components/runtime/utils/events/print-label.js +26 -25
  4. package/dist/es/components/runtime/utils/events/standard-event.js +135 -135
  5. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  6. package/dist/es/components/runtime/utils/page-init-util.js +41 -39
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  9. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
  22. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  23. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  24. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
  25. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  27. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
  30. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  33. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  35. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  36. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  38. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  40. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  41. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
  42. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +4 -4
  45. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +38 -37
  47. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +7 -5
  48. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +4 -3
  49. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  50. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  51. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +48 -47
  52. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  54. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  55. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  56. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +16 -14
  58. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +4 -4
  60. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  61. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  62. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  63. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  64. package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
  65. package/dist/es/components/runtime/views/super-page.vue2.js +32 -31
  66. package/dist/es/i18n/langs/cn.js +1 -1
  67. package/dist/es/i18n/langs/en.js +1 -1
  68. package/package.json +2 -2
@@ -3,13 +3,13 @@ import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { getModelFieldFromPageContext as w, isNumberDataType as V, setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
5
5
  import { handleFormEvent as _, handleAfterInitEvent as S, doSuffixOrPrefixClickEvent as j } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as q } from "../../../../utils/form/scan-util.js";
7
- import D from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as M } from "agilebuilder-ui/src/utils/common-util";
9
- import N from "../../../../utils/eventBus.js";
10
- import { $t as P } from "../../../../utils/i18n-util.js";
11
- import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
12
- const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as N } from "../../../../utils/form/scan-util.js";
7
+ import q from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
9
+ import J from "../../../../utils/eventBus.js";
10
+ import { $t as M } from "../../../../utils/i18n-util.js";
11
+ import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
12
+ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
13
13
  var _a, _b, _c;
14
14
  const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {}, F = t("text");
15
15
  let $ = k(L.pageContext, L.configure);
@@ -17,65 +17,66 @@ const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
17
17
  const e3 = w($, L.pageContext);
18
18
  e3 && (F.value = V(e3.dataType) ? "number" : "text");
19
19
  }
20
- const A = t(M()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
20
+ const A = t(D()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
21
21
  h(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
22
22
  } }), H = t(null), K = t(null), Q = t(null), X = L.configure.runtime ? L.configure.runtime : {}, Y = t(X.props ? X.props : {}), Z = t(!!((_a = Y.value.scan) == null ? void 0 : _a.enable));
23
23
  let ee = false;
24
24
  const te = window.localStorage.getItem("auth_source");
25
25
  te && "dingtalk" === te && (ee = true);
26
26
  let le = "";
27
- le = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
- const ne = !(!A.value || !le || "app" !== le), oe = t(!!((ne || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
29
- let ae = {};
27
+ const ne = navigator.userAgent;
28
+ le = ne.indexOf(" uni-app ") > 0 ? "app" : "browser";
29
+ const oe = !(!A.value || !le || "app" !== le), ae = t(!!((oe || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
30
+ let ue = {};
30
31
  ((_b = Y.value.scan) == null ? void 0 : _b.enable) && ((_c = Y.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Y.value.scan.ruleList).then((e3) => {
31
- ae = e3;
32
+ ue = e3;
32
33
  }), u(() => G.value, (e3) => {
33
34
  e3 = e3.trim();
34
- const t2 = O(e3, ae);
35
- t2 && q(L.pageContext, t2.scanSet, t2.params);
35
+ const t2 = O(e3, ue);
36
+ t2 && N(L.pageContext, t2.scanSet, t2.params);
36
37
  }));
37
- const ue = X.style, ie = X.class, re = X.headerStyle, pe = X.titleExceedStyle;
38
- function se(e3) {
38
+ const ie = X.style, re = X.class, pe = X.headerStyle, se = X.titleExceedStyle;
39
+ function ce(e3) {
39
40
  return h(B, $, e3);
40
41
  }
41
42
  n(() => {
42
- N.$on(U.value + "-scanDone", (e3) => {
43
- se(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
43
+ J.$on(U.value + "-scanDone", (e3) => {
44
+ U.value, JSON.stringify(e3), ce(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
44
45
  }), o(() => {
45
46
  var _a2;
46
47
  const e3 = G.value;
47
- S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), oe.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && ve();
48
+ S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), ae.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
48
49
  });
49
50
  }), a(() => {
50
- N.$off(U.value + "-scanDone");
51
+ J.$off(U.value + "-scanDone");
51
52
  });
52
- const ce = t(false);
53
- function ve() {
54
- if (ne || ee) {
53
+ const ve = t(false);
54
+ function fe() {
55
+ if (oe || ee) {
55
56
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
56
- ee && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
57
- } else if (A.value) if ("https:" === window.location.protocol) ce.value = true;
57
+ ee && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
58
+ } else if (A.value) if ("https:" === window.location.protocol) ve.value = true;
58
59
  else {
59
60
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
60
61
  window.parent.postMessage(JSON.stringify(e3), "*");
61
62
  }
62
- else ce.value = true;
63
+ else ve.value = true;
63
64
  }
64
- function fe(e3) {
65
- ce.value = false, se(e3);
65
+ function ye(e3) {
66
+ ve.value = false, ce(e3);
66
67
  }
67
- return J2({ getValue: function() {
68
+ return z2({ getValue: function() {
68
69
  return b(B, $);
69
- }, setValue: se, scanClick: ve, addRequiredClass: function() {
70
- W.value = z();
71
- } }), (e3, t2) => {
72
- const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
73
- return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(ie) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ue)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(re), ...v(pe) }) }, [Y.value.prefixType ? (p(), r(D, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(P)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
70
+ }, setValue: ce, scanClick: fe, addRequiredClass: function() {
71
+ W.value = P();
72
+ } }), (t2, l2) => {
73
+ const n2 = i("el-input"), o2 = i("scan-code-input-browser"), a2 = i("el-form-item");
74
+ return p(), r(a2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ie)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(pe), ...v(se) }) }, [Y.value.prefixType ? (p(), r(q, { key: 0, pageContext: e2.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(M)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => G.value = e3), onInput: l2[6] || (l2[6] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[7] || (l2[7] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[8] || (l2[8] = (e3) => function(e4) {
74
75
  let t3 = b(B, $);
75
- null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e5, L.pageContext, L.configure, "blur");
76
- }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ve()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ce.value ? (p(), r(n2, { key: 0, onClose: fe })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
76
+ null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e4, L.pageContext, L.configure, "blur");
77
+ }(e3)), onFocus: l2[9] || (l2[9] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[10] || (l2[10] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "click")), onClear: l2[11] || (l2[11] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: l2[0] || (l2[0] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: l2[1] || (l2[1] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: l2[2] || (l2[2] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [ae.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e3) => fe()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: l2[4] || (l2[4] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (p(), r(o2, { key: 0, onClose: ye })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
77
78
  };
78
79
  } });
79
80
  export {
80
- J as default
81
+ z as default
81
82
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as o, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as d, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -8,7 +8,9 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
8
8
  const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let P = x(R.pageContext, R.configure);
10
10
  const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, A = q.class, z = q.headerStyle, D = q.appendClass, E = q.appendStyle, F = q.titleExceedStyle, N = t(q.props ? q.props : {});
11
- const W = t(N.value.options ? N.value.options : []), B = N.value.formatType, G = l(() => {
11
+ const W = t(N.value.options ? N.value.options : []), B = N.value.formatType;
12
+ N.value;
13
+ const G = l(() => {
12
14
  let e3 = d(S, P);
13
15
  if (B) if (N.value.hasOptions) {
14
16
  let t2 = null;
@@ -26,9 +28,9 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
26
28
  });
27
29
  }), j2({ updateOptions: function(e3) {
28
30
  W.value = e3 || [];
29
- } }), (e3, t2) => {
30
- const l2 = u("el-form-item");
31
- return N.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), 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: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
31
+ } }), (t2, l2) => {
32
+ const n2 = u("el-form-item");
33
+ return N.value.whetherTittle ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), i(n2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: l2[0] || (l2[0] = (t3) => f(C)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), i(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), i(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: l2[1] || (l2[1] = (t3) => f(C)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), o("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
32
34
  };
33
35
  } });
34
36
  export {
@@ -5,6 +5,7 @@ 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;
8
9
  let $ = S.value.formatting;
9
10
  const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
10
11
  let e3 = b(D, h);
@@ -21,9 +22,9 @@ const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
21
22
  const e3 = V.value;
22
23
  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 });
23
24
  });
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"]);
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"]);
27
28
  };
28
29
  } });
29
30
  export {
@@ -72,9 +72,9 @@ const w = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
72
72
  l2.value === e3 && (t2 = t2 + l2.label + ",");
73
73
  }), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
74
74
  }
75
- } }), (e3, t2) => {
76
- const l2 = i("el-radio"), o2 = i("el-radio-group"), n2 = i("el-form-item");
77
- return s(), r(n2, { ref_key: "formItemRef", ref: te, required: A.value.required, class: p(c(F) + (O.value ? " " + O.value : "")), "label-width": A.value.labelWidth, style: f(c(W)) }, { label: g(() => [A.value.tittleShow ? (s(), d("div", { key: 0, ref_key: "titleRef", ref: oe, style: f({ ...c(U), ...c($) }) }, b(c(q)(A.value.title)), 5)) : C("", true)]), default: g(() => [v(o2, { ref_key: "componentRef", ref: le, disabled: "disabled" === A.value.state, size: A.value.size, onChange: A.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => M.value = e4) }, { default: g(() => [(s(true), d(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: M.value }) }, { default: g(() => [y(b(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
75
+ } }), (t2, l2) => {
76
+ const o2 = i("el-radio"), n2 = i("el-radio-group"), u2 = i("el-form-item");
77
+ return s(), r(u2, { ref_key: "formItemRef", ref: te, required: A.value.required, class: p(c(F) + (O.value ? " " + O.value : "")), "label-width": A.value.labelWidth, style: f(c(W)) }, { label: g(() => [A.value.tittleShow ? (s(), d("div", { key: 0, ref_key: "titleRef", ref: oe, style: f({ ...c(U), ...c($) }) }, b(c(q)(A.value.title)), 5)) : C("", true)]), default: g(() => [v(n2, { ref_key: "componentRef", ref: le, disabled: "disabled" === A.value.state, size: A.value.size, onChange: A.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => M.value = e3) }, { default: g(() => [(s(true), d(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: M.value }) }, { default: g(() => [y(b(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
78
78
  };
79
79
  } });
80
80
  export {
@@ -159,7 +159,7 @@ const N = { class: "toolbar-right-btns" }, R = ["title"], _ = { class: "richtext
159
159
  const l2 = le.root.getElementsByTagName("img");
160
160
  for (const e6 of l2) e6.src === t4 && (e6.width = 300, e6.src = n2.url, e6.setAttribute("data-uuid", n2.uuid));
161
161
  } catch (e5) {
162
- Ee();
162
+ console.error("上传图片失败", e5), Ee();
163
163
  } finally {
164
164
  ae.value = false;
165
165
  }
@@ -189,7 +189,7 @@ const N = { class: "toolbar-right-btns" }, R = ["title"], _ = { class: "richtext
189
189
  return le ? le.root.innerHTML : "";
190
190
  } }), (e3, t2) => {
191
191
  const n2 = a("View"), l2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), y2 = a("el-form-item"), x2 = a("el-image-viewer"), k2 = a("el-dialog");
192
- return u(), r(s, null, [c(y2, { required: X.value.required, class: m(v(Y) + (P.value ? " " + P.value : "")), "label-width": X.value.labelWidth, style: f(v(O)) }, { label: g(() => [X.value.tittleShow ? (u(), r("div", { key: 0, style: f({ ...v(J), ...v(Q) }) }, b(v(E)(X.value.title)), 5)) : p("", true)]), default: g(() => [h("div", { class: m(["richtext-wrapper", { "is-fullscreen": oe.value }]) }, [h("div", { ref_key: "quillEditorRef", ref: ne, style: { width: "100%" } }, null, 512), h("div", N, [h("button", { type: "button", class: "toolbar-btn", onClick: Te, title: "预览" }, [c(l2, null, { default: g(() => [c(n2)]), _: 1 })]), h("button", { type: "button", class: "toolbar-btn", onClick: qe, title: oe.value ? "退出全屏" : "全屏编辑" }, [oe.value ? (u(), d(l2, { key: 1 }, { default: g(() => [c(i2)]), _: 1 })) : (u(), d(l2, { key: 0 }, { default: g(() => [c(o2)]), _: 1 }))], 8, R)]), h("div", _, [h("span", j, "字数:" + b(ie.value), 1)]), ae.value ? (u(), r("div", V, t2[2] || (t2[2] = [h("div", { class: "loading-spinner" }, null, -1), h("span", null, "图片上传中...", -1)]))) : p("", true)], 2)]), _: 1 }, 8, ["required", "class", "label-width", "style"]), ge.value ? (u(), d(x2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
192
+ return u(), r(s, null, [c(y2, { required: X.value.required, class: m(v(Y) + (P.value ? " " + P.value : "")), "label-width": X.value.labelWidth, style: f(v(O)) }, { label: g(() => [X.value.tittleShow ? (u(), r("div", { key: 0, style: f({ ...v(J), ...v(Q) }) }, b(v(E)(X.value.title)), 5)) : p("", true)]), default: g(() => [h("div", { class: m(["richtext-wrapper", { "is-fullscreen": oe.value }]) }, [h("div", { ref_key: "quillEditorRef", ref: ne, style: { width: "100%" } }, null, 512), h("div", N, [h("button", { type: "button", class: "toolbar-btn", onClick: Te, title: "预览" }, [c(l2, null, { default: g(() => [c(n2)]), _: 1 })]), h("button", { type: "button", class: "toolbar-btn", onClick: qe, title: oe.value ? "退出全屏" : "全屏编辑" }, [oe.value ? (u(), d(l2, { key: 1 }, { default: g(() => [c(i2)]), _: 1 })) : (u(), d(l2, { key: 0 }, { default: g(() => [c(o2)]), _: 1 }))], 8, R)]), h("div", _, [h("span", j, "字数:" + b(ie.value), 1)]), ae.value ? (u(), r("div", V, [...t2[2] || (t2[2] = [h("div", { class: "loading-spinner" }, null, -1), h("span", null, "图片上传中...", -1)])])) : p("", true)], 2)]), _: 1 }, 8, ["required", "class", "label-width", "style"]), ge.value ? (u(), d(x2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
193
193
  ge.value = false;
194
194
  }), "url-list": ve.value }, null, 8, ["url-list"])) : p("", true), c(k2, { modelValue: re.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => re.value = e4), title: "内容预览", width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: g(() => [h("div", { class: "richtext-preview-content ql-editor", innerHTML: ue.value }, null, 8, $)]), _: 1 }, 8, ["modelValue"])], 64);
195
195
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as n, nextTick as i, resolveComponent as u, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as h, createElementBlock as y, Fragment as x, renderList as b, createCommentVNode as C, toDisplayString as w, createTextVNode as _ } from "vue";
1
+ import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as n, nextTick as i, resolveComponent as u, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as h, createElementBlock as y, Fragment as x, renderList as b, createCommentVNode as C, toDisplayString as w, createTextVNode as _ } from "vue";
2
2
  import { setVariableValue as k, getOptionDatasFromPage as S, queryOptionDatasources as T, autoSetAfterSelect as j, getVariableValue as A } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as R } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as V, handleAfterInitEvent as M } from "../../../../utils/events/event-util.js";
@@ -10,33 +10,33 @@ import z from "clipboard";
10
10
  import { ElMessage as E } from "element-plus";
11
11
  import { useI18n as O } from "vue-i18n";
12
12
  const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }, F = { key: 0, style: { display: "flex", "flex-direction": "column" } }, K = { style: { color: "var(--el-text-color-secondary)", "font-size": "13px" } }, L = { style: { float: "left" } }, U = { style: { float: "right", color: "var(--el-text-color-secondary)" } }, $ = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: $2 }) {
13
- const { t: G } = O(), H = e2, J = t(null), N = H.pageContext.entity ? H.pageContext.entity : {};
13
+ const { t: G } = O(), H = e2, J = l(null), N = H.pageContext.entity ? H.pageContext.entity : {};
14
14
  let Q = R(H.pageContext, H.configure);
15
- const X = H.configure.runtime ? H.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.headerStyle, te = X.titleExceedStyle, le = t(X.props ? X.props : {});
16
- let oe = t(le.value.optionDescriptionPosition && "default" !== le.value.optionDescriptionPosition), ae = [];
15
+ const X = H.configure.runtime ? H.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.headerStyle, le = X.titleExceedStyle, te = l(X.props ? X.props : {});
16
+ let oe = l(te.value.optionDescriptionPosition && "default" !== te.value.optionDescriptionPosition), ae = [];
17
17
  const ne = "copyBtn_" + H.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
18
  function ie() {
19
19
  let e3 = A(N, Q);
20
- return null != e3 && (e3 = String(e3)), le.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
20
+ return null != e3 && (e3 = String(e3)), te.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
21
21
  }
22
- const ue = l({ get: () => ie(), set(e3) {
23
- const t2 = ie();
24
- ae = Array.isArray(t2) ? [...t2] : t2;
25
- let l2 = e3;
26
- if (le.value.multiple) {
27
- l2 = !!le.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
22
+ const ue = t({ get: () => ie(), set(e3) {
23
+ const l2 = ie();
24
+ ae = Array.isArray(l2) ? [...l2] : l2;
25
+ let t2 = e3;
26
+ if (te.value.multiple) {
27
+ t2 = !!te.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
28
28
  }
29
- void 0 === l2 && (l2 = null), k(N, Q, l2), null != l2 && (J.value = "");
30
- } }), re = t(le.value.options ? le.value.options : []), se = S(H.pageContext, H.configure);
29
+ void 0 === t2 && (t2 = null), k(N, Q, t2), null != t2 && (J.value = "");
30
+ } }), re = l(te.value.options ? te.value.options : []), se = S(H.pageContext, H.configure);
31
31
  se.length > 0 && (re.value = se);
32
- const pe = t(false), ce = H.configure.props && H.configure.props.dataOrigin ? H.configure.props.dataOrigin : {}, fe = ce.optionValueSetType;
32
+ const pe = l(false), ce = H.configure.props && H.configure.props.dataOrigin ? H.configure.props.dataOrigin : {}, fe = ce.optionValueSetType;
33
33
  let ve = [];
34
- const ge = le.value.optionconfigInfo ? le.value.optionconfigInfo : {};
34
+ const ge = te.value.optionconfigInfo ? te.value.optionconfigInfo : {};
35
35
  if ("dynamicData" == fe || "dataTable" == fe || "service" == fe) {
36
36
  if ("remote" == ce.filterType) {
37
37
  let e3;
38
- le.value.filterable = true, le.value.remote = true, le.value.remoteShowSuffix = true, le.value.remoteMethod = function(t2) {
39
- e3 !== t2 && (e3 = t2, pe.value = true, T(H.pageContext, ge, t2).then((e4) => {
38
+ te.value.filterable = true, te.value.remote = true, te.value.remoteShowSuffix = true, te.value.remoteMethod = function(l2) {
39
+ e3 !== l2 && (e3 = l2, pe.value = true, T(H.pageContext, ge, l2).then((e4) => {
40
40
  pe.value = false;
41
41
  }).then((e4) => {
42
42
  pe.value = false;
@@ -45,24 +45,24 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
45
45
  }
46
46
  if (ce.autoSets) for (let e3 of ce.autoSets) e3.source && ve.push(e3);
47
47
  }
48
- H.configure && H.configure.props && H.configure.props.base && H.configure.props.base.optionProp && ve.push({ source: "label", target: H.configure.props.base.optionProp }), le.value.changeMethod = function(e3) {
49
- let t2, l2 = null;
50
- re.value && null != e3 && null != e3 && (l2 = re.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
51
- ve.length > 0 && j(H.configure, H.pageContext, ve, l2, [le.value.prop]);
52
- l2 && l2.length > 0 && (t2 = l2[0]);
48
+ H.configure && H.configure.props && H.configure.props.base && H.configure.props.base.optionProp && ve.push({ source: "label", target: H.configure.props.base.optionProp }), te.value.changeMethod = function(e3) {
49
+ let l2, t2 = null;
50
+ re.value && null != e3 && null != e3 && (t2 = re.value.filter((l3) => Array.isArray(e3) ? e3.includes(l3.value) : e3 === l3.value));
51
+ ve.length > 0 && j(H.configure, H.pageContext, ve, t2, [te.value.prop]);
52
+ t2 && t2.length > 0 && (l2 = t2[0]);
53
53
  let o2 = {};
54
- t2 && (o2.extendParams = t2);
54
+ l2 && (o2.extendParams = l2);
55
55
  o2.options = re.value, o2.oldValue = ae, V(e3, H.pageContext, H.configure, "change", o2);
56
56
  };
57
- const me = le.value.monitorFields, de = [];
57
+ const me = te.value.monitorFields, de = [];
58
58
  if (me) {
59
59
  const e3 = [];
60
- for (let t2 of me) if (t2.startsWith("${")) {
61
- t2 = t2.substring(2, t2.length - 1);
62
- const l2 = t2.split(".");
63
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (de.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
60
+ for (let l2 of me) if (l2.startsWith("${")) {
61
+ l2 = l2.substring(2, l2.length - 1);
62
+ const t2 = l2.split(".");
63
+ "page" !== t2[0] && "task" !== t2[0] && "data" !== t2[0] || (de.push(t2), e3.includes(t2[0]) || e3.push(t2[0]));
64
64
  }
65
- for (let t2 of e3) o(N[t2], () => {
65
+ for (let l2 of e3) o(N[l2], () => {
66
66
  xe();
67
67
  });
68
68
  }
@@ -71,7 +71,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
71
71
  ye && clearTimeout(ye), ye = setTimeout(function() {
72
72
  const e3 = function() {
73
73
  let e4 = [];
74
- for (let t2 of de) e4.push(A(N, t2));
74
+ for (let l2 of de) e4.push(A(N, l2));
75
75
  return e4.join(",");
76
76
  }();
77
77
  e3 != he && (he = e3, ge.watchAttrValue = e3, T(H.pageContext, ge, void 0).then((e4) => {
@@ -83,18 +83,18 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
83
83
  ye && clearTimeout(ye);
84
84
  });
85
85
  let be = false;
86
- const Ce = t(null), we = t(null), _e = t(null);
86
+ const Ce = l(null), we = l(null), _e = l(null);
87
87
  function ke() {
88
88
  const e3 = ie();
89
89
  if (null != e3 && "" !== e3 && e3.length > 0) {
90
- let t2 = "";
91
- return "string" == typeof e3 ? re.value.length > 0 ? re.value.forEach((l2) => {
92
- l2.value === e3 && (t2 = l2.label);
93
- }) : t2 = e3 : re.value.length > 0 ? (re.value.forEach((l2) => {
90
+ let l2 = "";
91
+ return "string" == typeof e3 ? re.value.length > 0 ? re.value.forEach((t2) => {
92
+ t2.value === e3 && (l2 = t2.label);
93
+ }) : l2 = e3 : re.value.length > 0 ? (re.value.forEach((t2) => {
94
94
  e3.forEach((e4) => {
95
- l2.value === e4 && (t2 = t2 + l2.label + ",");
95
+ t2.value === e4 && (l2 = l2 + t2.label + ",");
96
96
  });
97
- }), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
97
+ }), l2 = l2.slice(0, l2.length - 1)) : l2 = e3.join(","), l2;
98
98
  }
99
99
  }
100
100
  return n(() => {
@@ -104,6 +104,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
104
104
  e3.on("success", () => {
105
105
  E({ showClose: true, type: "success", message: G("superPageRuntimeMessage.copySuccess") });
106
106
  }), e3.on("error", (e4) => {
107
+ console.error("复制失败", e4);
107
108
  }), i(() => {
108
109
  const e4 = ue.value;
109
110
  M(e4, H.pageContext, H.configure, { formItemRef: Ce.value, componentRef: we.value, titleRef: _e.value, value: e4, entity: H.pageContext.entity.data, pageData: H.pageContext.entity.page });
@@ -112,14 +113,14 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
112
113
  if (re.value = e3 || [], !be) {
113
114
  const e4 = ie();
114
115
  if (null != e4 && "" !== e4 && re.value.length > 0) {
115
- let t2 = false;
116
- for (let l2 of re.value) if (l2.value == e4) {
117
- t2 = true;
116
+ let l2 = false;
117
+ for (let t2 of re.value) if (t2.value == e4) {
118
+ l2 = true;
118
119
  break;
119
120
  }
120
- if (!t2) {
121
- for (let t3 of re.value) if (t3.label == e4) {
122
- ue.value = t3.value;
121
+ if (!l2) {
122
+ for (let l3 of re.value) if (l3.label == e4) {
123
+ ue.value = l3.value;
123
124
  break;
124
125
  }
125
126
  }
@@ -130,10 +131,10 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
130
131
  J.value = I();
131
132
  }, getSelectItemsTitle: ke, getOptions: function() {
132
133
  return re.value;
133
- } }), (e3, t2) => {
134
- const l2 = u("el-icon"), o2 = u("el-option"), a2 = u("el-select"), n2 = u("el-popover"), i2 = u("el-form-item");
135
- return s(), r(i2, { ref_key: "formItemRef", ref: Ce, required: !!le.value.required, class: c(f(Z) + (J.value ? " " + J.value : "")), "label-width": le.value.labelWidth, style: p(f(Y)) }, { label: v(() => [le.value.tittleShow ? (s(), y("div", { key: 0, ref_key: "titleRef", ref: _e, style: p({ ...f(ee), ...f(te) }) }, [le.value.prefixType ? (s(), r(P, { key: 0, pageContext: e3.pageContext, property: le.value }, null, 8, ["pageContext", "property"])) : (s(), y(x, { key: 1 }, [_(w(f(D)(le.value.title)), 1)], 64))], 4)) : C("", true)]), default: v(() => [g(n2, { placement: "top", trigger: "hover" }, { reference: v(() => [m("div", B, [g(a2, { ref_key: "componentRef", ref: we, style: { width: "100%" }, disabled: "disabled" === le.value.state, size: le.value.size, clearable: le.value.clearable, multiple: le.value.multiple, "collapse-tags": le.value.collapseTags, "collapse-tags-tooltip": le.value.collapseTagsTooltip, filterable: le.value.filterable, "allow-create": le.value.allowCreate, placeholder: le.value.placeholder, "remote-show-suffix": le.value.remoteShowSuffix, remote: le.value.remote, "remote-method": le.value.remoteMethod, loading: pe.value, onKeydown: t2[0] || (t2[0] = d(h(() => {
136
- }, ["stop"]), ["space"])), onChange: le.value.changeMethod, onClear: le.value.changeMethod, modelValue: ue.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ue.value = e4) }, { default: v(() => [(s(true), y(x, null, b(re.value, (t3) => (s(), r(o2, { key: t3.value, label: t3.label, value: t3.value, class: c({ "option-description-newLine": f(oe) }), onClick: (l3) => f(V)(t3.value, e3.pageContext, e3.configure, "click", { values: ue.value }) }, { default: v(() => [t3._description_ ? (s(), y(x, { key: 0 }, [f(oe) ? (s(), y("div", F, [m("span", null, w(t3.label), 1), m("span", K, w(t3._description_), 1)])) : (s(), y(x, { key: 1 }, [m("span", L, w(t3.label), 1), m("span", U, w(t3._description_), 1)], 64))], 64)) : C("", true)]), _: 2 }, 1032, ["label", "value", "class", "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", "onClear", "modelValue"])])]), default: v(() => [m("span", W, [g(l2, { id: ne }, { default: v(() => [g(f(q))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
134
+ } }), (l2, t2) => {
135
+ const o2 = u("el-icon"), a2 = u("el-option"), n2 = u("el-select"), i2 = u("el-popover"), k2 = u("el-form-item");
136
+ return s(), r(k2, { ref_key: "formItemRef", ref: Ce, required: !!te.value.required, class: c(f(Z) + (J.value ? " " + J.value : "")), "label-width": te.value.labelWidth, style: p(f(Y)) }, { label: v(() => [te.value.tittleShow ? (s(), y("div", { key: 0, ref_key: "titleRef", ref: _e, style: p({ ...f(ee), ...f(le) }) }, [te.value.prefixType ? (s(), r(P, { key: 0, pageContext: e2.pageContext, property: te.value }, null, 8, ["pageContext", "property"])) : (s(), y(x, { key: 1 }, [_(w(f(D)(te.value.title)), 1)], 64))], 4)) : C("", true)]), default: v(() => [g(i2, { placement: "top", trigger: "hover" }, { reference: v(() => [m("div", B, [g(n2, { ref_key: "componentRef", ref: we, style: { width: "100%" }, disabled: "disabled" === te.value.state, size: te.value.size, clearable: te.value.clearable, multiple: te.value.multiple, "collapse-tags": te.value.collapseTags, "collapse-tags-tooltip": te.value.collapseTagsTooltip, filterable: te.value.filterable, "allow-create": te.value.allowCreate, placeholder: te.value.placeholder, "remote-show-suffix": te.value.remoteShowSuffix, remote: te.value.remote, "remote-method": te.value.remoteMethod, loading: pe.value, onKeydown: t2[0] || (t2[0] = d(h(() => {
137
+ }, ["stop"]), ["space"])), onChange: te.value.changeMethod, onClear: te.value.changeMethod, modelValue: ue.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => ue.value = e3) }, { default: v(() => [(s(true), y(x, null, b(re.value, (l3) => (s(), r(a2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(oe) }), onClick: (t3) => f(V)(l3.value, e2.pageContext, e2.configure, "click", { values: ue.value }) }, { default: v(() => [l3._description_ ? (s(), y(x, { key: 0 }, [f(oe) ? (s(), y("div", F, [m("span", null, w(l3.label), 1), m("span", K, w(l3._description_), 1)])) : (s(), y(x, { key: 1 }, [m("span", L, w(l3.label), 1), m("span", U, w(l3._description_), 1)], 64))], 64)) : C("", true)]), _: 2 }, 1032, ["label", "value", "class", "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", "onClear", "modelValue"])])]), default: v(() => [m("span", W, [g(o2, { id: ne }, { default: v(() => [g(f(q))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
137
138
  };
138
139
  } });
139
140
  export {
@@ -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({}), (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));
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));
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
- } }), (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"]);
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"]);
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
- }), (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) {
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) {
30
30
  if (I.value.closable) {
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);
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);
37
37
  }
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"]);
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"]);
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
- } }), (e3, t2) => {
22
- const l2 = n("el-input"), a2 = n("el-form-item");
23
- return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: U, 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(), u("div", { key: 0, ref_key: "titleRef", ref: A, style: s({ ...m(N), ...m(T) }) }, [D.value.prefixType ? (r(), c(k, { key: 0, pageContext: e3.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), u(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [i(l2, { ref_key: "componentRef", ref: W, 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, minlength: D.value.minlength, "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", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
21
+ } }), (t2, l2) => {
22
+ const a2 = n("el-input"), o2 = n("el-form-item");
23
+ return r(), u("div", null, [i(o2, { ref_key: "formItemRef", ref: U, 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(), u("div", { key: 0, ref_key: "titleRef", ref: A, style: s({ ...m(N), ...m(T) }) }, [D.value.prefixType ? (r(), c(k, { key: 0, pageContext: e2.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), u(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [i(a2, { ref_key: "componentRef", ref: W, 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, minlength: D.value.minlength, "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", "minlength", "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 (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);
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);
79
79
  };
80
80
  } });
81
81
  export {