super-page-runtime 2.3.4 → 2.3.5-sit1

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 (59) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +78 -70
  2. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  3. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +45 -46
  4. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -16
  5. package/dist/es/components/runtime/utils/charts/chart-util.js +24 -26
  6. package/dist/es/components/runtime/utils/common-util.d.ts +1 -1
  7. package/dist/es/components/runtime/utils/common-util.js +62 -47
  8. package/dist/es/components/runtime/utils/events/event-util.js +119 -119
  9. package/dist/es/components/runtime/utils/events/print-label.js +25 -27
  10. package/dist/es/components/runtime/utils/events/standard-event.js +471 -481
  11. package/dist/es/components/runtime/utils/events/validator-util.js +24 -24
  12. package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
  13. package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
  14. package/dist/es/components/runtime/utils/page-init-util.d.ts +1 -1
  15. package/dist/es/components/runtime/utils/page-init-util.js +67 -60
  16. package/dist/es/components/runtime/utils/page-store.js +1 -1
  17. package/dist/es/components/runtime/utils/table-utils.d.ts +14 -0
  18. package/dist/es/components/runtime/utils/table-utils.js +62 -37
  19. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +12 -16
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  21. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -11
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +3 -3
  23. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +14 -15
  24. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +11 -12
  25. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +17 -18
  26. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +18 -19
  27. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +8 -1
  28. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +10 -15
  29. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +6 -6
  30. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +130 -131
  31. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +8 -4
  32. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +24 -26
  33. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -3
  34. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +63 -63
  35. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  36. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +40 -43
  37. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +116 -119
  38. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +42 -42
  39. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +62 -63
  41. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
  42. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +35 -34
  43. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +32 -32
  44. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +17 -17
  45. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +54 -52
  46. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -8
  47. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -10
  48. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
  49. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -1
  50. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +59 -50
  51. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +63 -61
  53. package/dist/es/components/runtime/views/home-chart.vue.js +9 -9
  54. package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -7
  55. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  56. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  57. package/dist/es/components/runtime/views/super-page.vue2.js +138 -141
  58. package/dist/es/style.css +82 -82
  59. package/package.json +2 -2
@@ -1,76 +1,78 @@
1
- import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as l, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as p, normalizeStyle as s, normalizeClass as c, unref as v, withCtx as f, createVNode as g, createCommentVNode as y, createSlots as d, createTextVNode as m, toDisplayString as x, createElementBlock as C, Fragment as w } from "vue";
2
- import { SuperIcon as k } from "agilebuilder-ui";
3
- import { getFormModelFields as I } from "../../../../utils/page-init-util.js";
4
- import { getModelFieldFromPageContext as T, isNumberDataType as V, setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as p, normalizeStyle as s, normalizeClass as c, unref as v, withCtx as f, createVNode as y, createCommentVNode as g, createSlots as m, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
2
+ import { SuperIcon as T } from "agilebuilder-ui";
3
+ import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
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 O, analysisScanValue as R, setScanAnalysisValue as D } from "../../../../utils/form/scan-util.js";
7
- import N from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as P } 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
- const q = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as D } from "../../../../utils/form/scan-util.js";
7
+ import M from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as N } from "agilebuilder-ui/src/utils/common-util";
9
+ import P from "../../../../utils/eventBus.js";
10
+ import { $t as q } from "../../../../utils/i18n-util.js";
11
+ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
12
12
  var _a, _b, _c;
13
- const z = e2, L = z.pageContext.entity ? z.pageContext.entity : {}, A = t("text");
14
- let B = I(z.pageContext, z.configure);
15
- if (z.pageContext.modelFieldsMap) {
16
- const e3 = T(B, z.pageContext);
17
- e3 && (A.value = V(e3.dataType) ? "number" : "text");
13
+ const J = e2, L = J.pageContext.entity ? J.pageContext.entity : {}, B = t("text");
14
+ let F = k(J.pageContext, J.configure);
15
+ if (J.pageContext.modelFieldsMap) {
16
+ const e3 = w(F, J.pageContext);
17
+ e3 && (B.value = V(e3.dataType) ? "number" : "text");
18
18
  }
19
- const F = t(P()), $ = z.pageContext.code, E = t(B && B.length > 0 ? $ + "__" + B.join("__") : null), U = n({ get: () => b(L, B), set(e3) {
20
- e3 = e3.trim(), h(L, B, e3);
21
- } }), W = t(null), G = t(null), H = t(null), K = z.configure.runtime ? z.configure.runtime : {}, Q = t(K.props ? K.props : {}), X = t(!!((_a = Q.value.scan) == null ? void 0 : _a.enable));
19
+ const $ = t(N()), A = J.pageContext.code, E = t(F && F.length > 0 ? A + "__" + F.join("__") : null), U = l({ get: () => b(L, F), set(e3) {
20
+ h(L, F, e3);
21
+ } }), W = t(null), G = t(null), H = t(null), K = J.configure.runtime ? J.configure.runtime : {}, Q = t(K.props ? K.props : {}), X = t(!!((_a = Q.value.scan) == null ? void 0 : _a.enable));
22
22
  let Y = false;
23
23
  const Z = window.localStorage.getItem("auth_source");
24
24
  Z && "dingtalk" === Z && (Y = true);
25
25
  let ee = "";
26
- const te = navigator.userAgent;
27
- ee = te.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
- const ne = !(!F.value || !ee || "app" !== ee), oe = t(!!((ne || Y) && X.value || F.value && X.value && "https:" === window.location.protocol));
29
- let le = {};
30
- ((_b = Q.value.scan) == null ? void 0 : _b.enable) && ((_c = Q.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (O(Q.value.scan.ruleList).then((e3) => {
31
- le = e3;
26
+ ee = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
27
+ const te = !(!$.value || !ee || "app" !== ee), le = t(!!((te || Y) && X.value || $.value && X.value && "https:" === window.location.protocol));
28
+ let ne = {};
29
+ ((_b = Q.value.scan) == null ? void 0 : _b.enable) && ((_c = Q.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Q.value.scan.ruleList).then((e3) => {
30
+ ne = e3;
32
31
  }), u(() => U.value, (e3) => {
33
32
  e3 = e3.trim();
34
- const t2 = R(e3, le);
35
- t2 && D(z.pageContext, t2.scanSet, t2.params);
33
+ const t2 = O(e3, ne);
34
+ t2 && D(J.pageContext, t2.scanSet, t2.params);
36
35
  }));
37
- const ae = K.style, ue = K.class, ie = K.headerStyle, re = K.titleExceedStyle;
38
- function pe(e3) {
39
- return h(L, B, e3);
36
+ const oe = K.style, ae = K.class, ue = K.headerStyle, ie = K.titleExceedStyle;
37
+ function re(e3) {
38
+ return h(L, F, e3);
40
39
  }
41
- o(() => {
42
- J.$on(E.value + "-scanDone", (e3) => {
43
- console.log("superPage4444---scanDone--componentId.value=", E.value, "data=", JSON.stringify(e3)), pe(e3.result), _(e3.result, z.pageContext, z.configure, "afterScanDone");
44
- }), l(() => {
40
+ n(() => {
41
+ P.$on(E.value + "-scanDone", (e3) => {
42
+ re(e3.result), _(e3.result, J.pageContext, J.configure, "afterScanDone");
43
+ }), o(() => {
45
44
  var _a2;
46
45
  const e3 = U.value;
47
- S(e3, z.pageContext, z.configure, { formItemRef: W.value, componentRef: G.value, titleRef: H.value, value: e3, entity: z.pageContext.entity.data, pageData: z.pageContext.entity.page }), oe.value && ((_a2 = Q.value.scan) == null ? void 0 : _a2.autoOpen) && ce();
48
- }), console.log("input-text");
46
+ S(e3, J.pageContext, J.configure, { formItemRef: W.value, componentRef: G.value, titleRef: H.value, value: e3, entity: J.pageContext.entity.data, pageData: J.pageContext.entity.page }), le.value && ((_a2 = Q.value.scan) == null ? void 0 : _a2.autoOpen) && se();
47
+ });
49
48
  }), a(() => {
50
- J.$off(E.value + "-scanDone");
49
+ P.$off(E.value + "-scanDone");
51
50
  });
52
- const se = t(false);
53
- function ce() {
54
- if (console.log("scanClick----userAgent=", ee), ne || Y) {
55
- const e3 = { type: "scan", componentId: E.value, systemCode: z.pageContext.systemCode };
56
- Y && (e3.type = "dingTalkScan"), window.parent.parent ? (console.log("scanClick----window.parent.parent", window.parent.parent), window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (console.log("scanClick----window.parent", window.parent), window.parent.postMessage(JSON.stringify(e3), "*"));
57
- } else if (F.value) if ("https:" === window.location.protocol) se.value = true;
51
+ const pe = t(false);
52
+ function se() {
53
+ if (te || Y) {
54
+ const e3 = { type: "scan", componentId: E.value, systemCode: J.pageContext.systemCode };
55
+ Y && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
56
+ } else if ($.value) if ("https:" === window.location.protocol) pe.value = true;
58
57
  else {
59
- const e3 = { type: "scan", componentId: E.value, systemCode: z.pageContext.systemCode };
58
+ const e3 = { type: "scan", componentId: E.value, systemCode: J.pageContext.systemCode };
60
59
  window.parent.postMessage(JSON.stringify(e3), "*");
61
60
  }
62
- else se.value = true;
61
+ else pe.value = true;
63
62
  }
64
- function ve(e3) {
65
- se.value = false, pe(e3);
63
+ function ce(e3) {
64
+ pe.value = false, re(e3);
66
65
  }
67
- return q2({ getValue: function() {
68
- return b(L, B);
69
- }, setValue: pe, scanClick: ce }), (e3, t2) => {
70
- const n2 = i("el-input"), o2 = i("scan-code-input-browser"), l2 = i("el-form-item");
71
- return p(), r(l2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: c(v(ue)), "label-width": Q.value.labelWidth, style: s(v(ae)) }, { label: f(() => [Q.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: s({ ...v(ie), ...v(re) }) }, [Q.value.prefixType ? (p(), r(N, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (p(), C(w, { key: 1 }, [m(x(v(M)(Q.value.title)), 1)], 64))], 4)) : y("", true)]), default: f(() => [g(n2, { ref_key: "componentRef", ref: G, disabled: "disabled" === Q.value.state, readonly: "readonly" === Q.value.state, size: Q.value.size, clearable: Q.value.clearable, placeholder: Q.value.placeholder, maxlength: Q.value.maxLength, "show-word-limit": Q.value.showInputNum, type: A.value, modelValue: U.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => U.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] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "blur")), 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")) }, d({ _: 2 }, ["outer" != Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prefix", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), m(" " + x(v(M)(Q.value.preText)), 1)]), key: "0" } : void 0, "outer" == Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prepend", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), m(" " + x(v(M)(Q.value.preText)), 1)]), key: "1" } : void 0, "outer" != Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "suffix", fn: f(() => [Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), m(" " + x(v(M)(Q.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (p(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ce()) })) : y("", true), Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(k), { key: 1, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), m(" " + x(v(M)(Q.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), se.value ? (p(), r(o2, { key: 0, onClose: ve })) : y("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
66
+ return z2({ getValue: function() {
67
+ return b(L, F);
68
+ }, setValue: re, scanClick: se }), (e3, t2) => {
69
+ const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
70
+ return p(), r(o2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: c(v(ae)), "label-width": Q.value.labelWidth, style: s(v(oe)) }, { label: f(() => [Q.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: s({ ...v(ue), ...v(ie) }) }, [Q.value.prefixType ? (p(), r(M, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(q)(Q.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === Q.value.state, readonly: "readonly" === Q.value.state, size: Q.value.size, clearable: Q.value.clearable, placeholder: Q.value.placeholder, maxlength: Q.value.maxLength, "show-word-limit": Q.value.showInputNum, type: B.value, modelValue: U.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => U.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) {
71
+ let t3 = b(L, F);
72
+ null != t3 && (t3 = t3.trim()), h(L, F, t3), _(e5, J.pageContext, J.configure, "blur");
73
+ }(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" != Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prefix", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(q)(Q.value.preText)), 1)]), key: "0" } : void 0, "outer" == Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prepend", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(q)(Q.value.preText)), 1)]), key: "1" } : void 0, "outer" != Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "suffix", fn: f(() => [Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(q)(Q.value.sufText)), 1)]), key: "2" } : void 0, le.value || "outer" == Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "append", fn: f(() => [le.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => se()) })) : g("", true), Q.value.sufIconType && Q.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(q)(Q.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), pe.value ? (p(), r(n2, { key: 0, onClose: ce })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
72
74
  };
73
75
  } });
74
76
  export {
75
- q as default
77
+ z as default
76
78
  };
@@ -1,16 +1,14 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as o, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as c, createElementVNode as f, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as i, createBlock as o, openBlock as p, normalizeStyle as s, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
2
2
  import { getFormModelFields as d } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as m, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
5
5
  import { getCustomFunc as w, handleAfterInitEvent as T, handleFormEvent as C } from "../../../../utils/events/event-util.js";
6
6
  import { $t as _ } from "../../../../utils/i18n-util.js";
7
7
  const I = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px", "margin-bottom": "20px" } }, b = { style: { overflow: "hidden", "white-space": "nowrap" } }, V = ["title"], j = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
8
- const R = e2, P = R.pageContext.entity ? R.pageContext.entity : {};
9
- let S = d(R.pageContext, R.configure);
10
- const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType;
11
- console.log("designProperty.value", A.value);
12
- const H = l(() => {
13
- let e3 = m(P, S);
8
+ const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
+ let P = d(R.pageContext, R.configure);
10
+ const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType, H = l(() => {
11
+ let e3 = m(S, P);
14
12
  if (G) if (A.value.hasOptions) {
15
13
  let t2 = null;
16
14
  B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
@@ -29,7 +27,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
29
27
  B.value = e3 || [];
30
28
  } }), (e3, t2) => {
31
29
  const l2 = n("el-form-item");
32
- return A.value.whetherTittle ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: L, class: r(c(z)), style: p(c(O)) }, [f("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (s(), i(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(c(z)), "label-width": A.value.labelWidth, style: p(c(O)) }, { label: y(() => [A.value.tittleShow ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: L, style: p({ ...c(D), ...c(W) }) }, v(c(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [f("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => c(C)(t3, e3.pageContext, e3.configure, "click")) }, [f("span", b, [A.value.preIconValue || A.value.preText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: p(c(F)) }, [A.value.preIconType && A.value.preIconValue ? (s(), i(c(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(c(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (s(), i(c(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), f("span", null, " " + v(c(_)(A.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: t2[1] || (t2[1] = (t3) => c(C)(t3, e3.pageContext, e3.configure, "click")) }, [f("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (s(), o("span", { key: 0, class: r(c(E)), style: p(c(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
30
+ return A.value.whetherTittle ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: s(f(O)) }, [c("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (p(), o(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(f(z)), "label-width": A.value.labelWidth, style: s(f(O)) }, { label: y(() => [A.value.tittleShow ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, style: s({ ...f(D), ...f(W) }) }, v(f(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [A.value.preIconValue || A.value.preText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: s(f(F)) }, [A.value.preIconType && A.value.preIconValue ? (p(), o(f(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(f(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (p(), o(f(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (p(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (p(), i("span", { key: 0, class: r(f(E)), style: s(f(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
33
31
  };
34
32
  } });
35
33
  export {
@@ -1,30 +1,29 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as f, createVNode as c, createTextVNode as d, toDisplayString as g, createElementBlock as m, createCommentVNode as v } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as f, createVNode as c, createTextVNode as d, toDisplayString as m, createElementBlock as g, createCommentVNode as v } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/events/event-util.js";
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
- console.log("designProperty", S.value);
9
8
  let $ = S.value.formatting;
10
- const D = _2.pageContext.entity ? _2.pageContext.entity : {}, P = l(() => {
9
+ const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
11
10
  let e3 = b(D, h);
12
11
  return e3 = null == e3 || null == e3 ? "" : e3, $ && (e3 = $.replace(/\${value}/g, e3)), e3;
13
12
  });
14
- let V = S.value.tooltip, W = null;
15
- V && (W = l(() => {
13
+ let W = S.value.tooltip, q = null;
14
+ W && (q = l(() => {
16
15
  let e3 = b(D, h);
17
- return e3 = null == e3 || null == e3 ? "" : e3, V.replace(/\${value}/g, e3);
16
+ return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
18
17
  }));
19
- const q = t(null), z = t(null), A = t(null);
18
+ const z = t(null), A = t(null), B = t(null);
20
19
  return n(() => {
21
20
  a(() => {
22
- const e3 = P.value;
23
- k(e3, _2.pageContext, _2.configure, { formItemRef: q.value, componentRef: z.value, titleRef: A.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
21
+ const e3 = V.value;
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
24
  }), (e3, t2) => {
26
25
  const l2 = i("el-link"), n2 = i("el-tooltip"), a2 = i("el-form-item");
27
- return o(), u(a2, { ref_key: "formItemRef", ref: q, class: s(p(w)), "label-width": S.value.labelWidth, style: r(p(j)) }, { label: f(() => [S.value.tittleShow ? (o(), m("div", { key: 0, ref_key: "titleRef", ref: A, style: r({ ...p(I) }) }, g(p(C)(S.value.title)), 5)) : v("", true)]), default: f(() => [c(n2, { disabled: !p(W), content: p(W) }, { default: f(() => [c(l2, { ref_key: "componentRef", ref: z, 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(g(P.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
26
+ return o(), u(a2, { ref_key: "formItemRef", ref: z, class: s(p(w)), "label-width": S.value.labelWidth, style: r(p(j)) }, { label: f(() => [S.value.tittleShow ? (o(), g("div", { key: 0, ref_key: "titleRef", ref: B, style: r({ ...p(I) }) }, m(p(C)(S.value.title)), 5)) : v("", true)]), default: f(() => [c(n2, { disabled: !p(q), content: p(q) }, { default: f(() => [c(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => p(x)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: f(() => [d(m(V.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
28
27
  };
29
28
  } });
30
29
  export {
@@ -46,7 +46,6 @@ const q = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
46
46
  Q && clearTimeout(Q), Q = setTimeout(function() {
47
47
  const e3 = L();
48
48
  e3 != N && (N = e3, S(w.pageContext, X, void 0).then((e4) => {
49
- console.log("查询失败!", e4);
50
49
  }));
51
50
  }, 200);
52
51
  }
@@ -70,7 +70,6 @@ const R = { style: { width: "100%", height: "100%" } }, S = e({ __name: "richtex
70
70
  i2.src === e5 && (i2.src = t5.url + "&jwt=" + L());
71
71
  }
72
72
  }).catch((e6) => {
73
- console.error(e6, "上传图片失败");
74
73
  });
75
74
  }
76
75
  }
@@ -1,86 +1,95 @@
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 i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as g, createVNode as v, 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 k, getVariableValue as w, getOptionDatasFromPage as _, queryOptionDatasources as S, autoSetAfterSelect as T } from "../../../../utils/page-helper-util.js";
3
- import { getFormModelFields as j } from "../../../../utils/page-init-util.js";
4
- import { handleFormEvent as R, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
5
- import q from "../common/title-suffix-element.vue.js";
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as r, resolveComponent as i, 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";
3
+ import { getFormModelFields as A } from "../../../../utils/page-init-util.js";
4
+ import { handleFormEvent as j, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
5
+ import R from "../common/title-suffix-element.vue.js";
6
6
  import { $t as z } from "../../../../utils/i18n-util.js";
7
- const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, A = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
7
+ const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, q = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
8
8
  const O = e2, P = O.pageContext.entity ? O.pageContext.entity : {};
9
- let D = j(O.pageContext, O.configure);
10
- const W = O.configure.runtime ? O.configure.runtime : {}, E = W.style, F = W.class, U = W.headerStyle, $ = W.titleExceedStyle, B = t(W.props ? W.props : {}), G = l({ get() {
11
- let e3 = w(P, D);
12
- return null != e3 && (e3 += ""), B.value.multiple && (e3 = e3 ? e3.split(",") : []), e3;
13
- }, set(e3) {
14
- B.value.multiple && e3 && e3.length > 0 && !B.value.arrayValue && (e3 = e3.join(",")), k(P, D, e3);
15
- } }), H = t(B.value.options ? B.value.options : []), J = _(O.pageContext, O.configure);
16
- J.length > 0 && (H.value = J);
17
- const K = t(false), L = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, N = L.optionValueSetType;
18
- let Q = [];
19
- const X = B.value.optionconfigInfo ? B.value.optionconfigInfo : {};
20
- if ("dynamicData" == N || "dataTable" == N || "service" == N) {
21
- if ("remote" == L.filterType) {
9
+ let D = A(O.pageContext, O.configure);
10
+ const W = O.configure.runtime ? O.configure.runtime : {}, E = W.style, F = W.class, U = W.headerStyle, $ = W.titleExceedStyle, B = t(W.props ? W.props : {});
11
+ let G = [];
12
+ function H() {
13
+ let e3 = T(P, D);
14
+ return null != e3 && (e3 = String(e3)), B.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
15
+ }
16
+ const J = l({ get: () => H(), set(e3) {
17
+ const t2 = H();
18
+ G = Array.isArray(t2) ? [...t2] : t2;
19
+ let l2 = e3;
20
+ if (B.value.multiple) {
21
+ l2 = !!B.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
22
+ }
23
+ S(P, D, l2);
24
+ } }), K = t(B.value.options ? B.value.options : []), L = k(O.pageContext, O.configure);
25
+ L.length > 0 && (K.value = L);
26
+ const N = t(false), Q = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, X = Q.optionValueSetType;
27
+ let Y = [];
28
+ const Z = B.value.optionconfigInfo ? B.value.optionconfigInfo : {};
29
+ if ("dynamicData" == X || "dataTable" == X || "service" == X) {
30
+ if ("remote" == Q.filterType) {
22
31
  let e3;
23
32
  B.value.filterable = true, B.value.remote = true, B.value.remoteShowSuffix = true, B.value.remoteMethod = function(t2) {
24
- e3 !== t2 && (e3 = t2, K.value = true, console.log("query", t2), S(O.pageContext, X, t2).then((e4) => {
25
- K.value = false;
33
+ e3 !== t2 && (e3 = t2, N.value = true, w(O.pageContext, Z, t2).then((e4) => {
34
+ N.value = false;
26
35
  }).then((e4) => {
27
- console.log("查询失败!", e4), K.value = false;
36
+ N.value = false;
28
37
  }));
29
38
  };
30
39
  }
31
- if (L.autoSets) for (let e3 of L.autoSets) e3.source && Q.push(e3);
40
+ if (Q.autoSets) for (let e3 of Q.autoSets) e3.source && Y.push(e3);
32
41
  }
33
- O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && Q.push({ source: "label", target: O.configure.props.base.optionProp }), B.value.changeMethod = function(e3) {
42
+ O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && Y.push({ source: "label", target: O.configure.props.base.optionProp }), B.value.changeMethod = function(e3) {
34
43
  let t2, l2 = null;
35
- H.value && null != e3 && null != e3 && (l2 = H.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
36
- Q.length > 0 && T(O.configure, O.pageContext, Q, l2, [B.value.prop]);
44
+ K.value && null != e3 && null != e3 && (l2 = K.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
45
+ Y.length > 0 && _(O.configure, O.pageContext, Y, l2, [B.value.prop]);
37
46
  l2 && l2.length > 0 && (t2 = l2[0]);
38
47
  let o2 = {};
39
- t2 && (o2 = { extendParams: t2 });
40
- R(e3, O.pageContext, O.configure, "change", o2);
48
+ t2 && (o2.extendParams = t2);
49
+ o2.options = K.value, o2.oldValue = G, j(e3, O.pageContext, O.configure, "change", o2);
41
50
  };
42
- const Y = B.value.monitorFields, Z = [];
43
- if (Y) {
51
+ const ee = B.value.monitorFields, te = [];
52
+ if (ee) {
44
53
  const e3 = [];
45
- for (let t2 of Y) if (t2.startsWith("${")) {
54
+ for (let t2 of ee) if (t2.startsWith("${")) {
46
55
  t2 = t2.substring(2, t2.length - 1);
47
56
  const l2 = t2.split(".");
48
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (Z.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
57
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (te.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
49
58
  }
50
59
  for (let t2 of e3) o(P[t2], () => {
51
- oe();
60
+ ue();
52
61
  });
53
62
  }
54
- function ee() {
63
+ function le() {
55
64
  let e3 = [];
56
- for (let t2 of Z) e3.push(w(P, t2));
65
+ for (let t2 of te) e3.push(T(P, t2));
57
66
  return e3.join(",");
58
67
  }
59
- let te = ee(), le = false;
60
- function oe() {
61
- le && clearTimeout(le), le = setTimeout(function() {
62
- const e3 = ee();
63
- e3 != te && (te = e3, X.watchAttrValue = e3, S(O.pageContext, X, void 0).then((e4) => {
64
- console.log("查询失败!", e4), K.value = false;
68
+ let oe = le(), ae = false;
69
+ function ue() {
70
+ ae && clearTimeout(ae), ae = setTimeout(function() {
71
+ const e3 = le();
72
+ e3 != oe && (oe = e3, Z.watchAttrValue = e3, w(O.pageContext, Z, void 0).then((e4) => {
73
+ N.value = false;
65
74
  }));
66
75
  }, 200);
67
76
  }
68
77
  a(() => {
69
- le && clearTimeout(le);
78
+ ae && clearTimeout(ae);
70
79
  });
71
- const ae = t(null), ue = t(null), ne = t(null);
80
+ const re = t(null), ie = t(null), ne = t(null);
72
81
  return u(() => {
73
- n(() => {
74
- const e3 = G.value;
75
- V(e3, O.pageContext, O.configure, { formItemRef: ae.value, componentRef: ue.value, titleRef: ne.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
82
+ r(() => {
83
+ const e3 = J.value;
84
+ V(e3, O.pageContext, O.configure, { formItemRef: re.value, componentRef: ie.value, titleRef: ne.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
76
85
  });
77
- }), A2({ updateOptions: function(e3) {
78
- H.value = e3 || [];
86
+ }), q2({ updateOptions: function(e3) {
87
+ K.value = e3 || [];
79
88
  } }), (e3, t2) => {
80
89
  const l2 = i("el-option"), o2 = i("el-select"), a2 = i("el-form-item");
81
- return s(), r(a2, { ref_key: "formItemRef", ref: ae, required: !!B.value.required, class: f(c(F)), "label-width": B.value.labelWidth, style: p(c(E)) }, { label: g(() => [B.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: ne, style: p({ ...c(U), ...c($) }) }, [B.value.prefixType ? (s(), r(q, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(z)(B.value.title)), 1)], 64))], 4)) : y("", true)]), default: g(() => [v(o2, { ref_key: "componentRef", ref: ue, style: { width: "100%" }, disabled: "disabled" === B.value.state, size: B.value.size, clearable: B.value.clearable, multiple: B.value.multiple, "collapse-tags": B.value.collapseTags, "collapse-tags-tooltip": B.value.collapseTagsTooltip, filterable: B.value.filterable, "allow-create": B.value.allowCreate, placeholder: B.value.placeholder, "remote-show-suffix": B.value.remoteShowSuffix, remote: B.value.remote, "remote-method": B.value.remoteMethod, loading: K.value, onChange: B.value.changeMethod, modelValue: G.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => G.value = e4) }, { default: g(() => [(s(true), m(d, null, h(H.value, (t3) => (s(), r(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(R)(t3.value, e3.pageContext, e3.configure, "click", { values: G.value }) }, { default: g(() => [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"]);
90
+ return s(), n(a2, { ref_key: "formItemRef", ref: re, required: !!B.value.required, class: f(c(F)), "label-width": B.value.labelWidth, style: p(c(E)) }, { label: v(() => [B.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: ne, style: p({ ...c(U), ...c($) }) }, [B.value.prefixType ? (s(), n(R, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(z)(B.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(o2, { ref_key: "componentRef", ref: ie, style: { width: "100%" }, disabled: "disabled" === B.value.state, size: B.value.size, clearable: B.value.clearable, multiple: B.value.multiple, "collapse-tags": B.value.collapseTags, "collapse-tags-tooltip": B.value.collapseTagsTooltip, filterable: B.value.filterable, "allow-create": B.value.allowCreate, placeholder: B.value.placeholder, "remote-show-suffix": B.value.remoteShowSuffix, remote: B.value.remote, "remote-method": B.value.remoteMethod, loading: N.value, onChange: B.value.changeMethod, modelValue: J.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => J.value = e4) }, { default: v(() => [(s(true), m(d, null, h(K.value, (t3) => (s(), n(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e3.pageContext, e3.configure, "click", { values: J.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"]);
82
91
  };
83
92
  } });
84
93
  export {
85
- A as default
94
+ q as default
86
95
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i, withDirectives as r, createCommentVNode as u, unref as s, createBlock as l, openBlock as c, resolveDynamicComponent as f, normalizeClass as g, normalizeStyle as a, vShow as p, nextTick as m } from "vue";
1
+ import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i, withDirectives as r, createCommentVNode as s, unref as u, createBlock as l, openBlock as c, resolveDynamicComponent as g, normalizeClass as f, normalizeStyle as a, vShow as p, nextTick as m } from "vue";
2
2
  import v from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as d } from "../../utils/assemblys-config.js";
4
4
  import { PageDimensions as y } from "../../utils/interfaces/page-design-types.js";
@@ -75,7 +75,7 @@ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure:
75
75
  };
76
76
  return (e3, o2) => {
77
77
  const t2 = i("permission");
78
- return s($)(e3.configure) ? r((c(), l(f(P.value), { key: 0, ref: D, style: a(W.value), class: g(q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, s(B)], [t2, s(N) ? s(N) : "true"]]) : u("", true);
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 {