super-page-runtime 2.3.14 → 2.3.15-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 (79) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  2. package/dist/es/components/runtime/utils/api/page-expose-util.js +50 -50
  3. package/dist/es/components/runtime/utils/events/event-util.js +29 -29
  4. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  5. package/dist/es/components/runtime/utils/events/standard-event.d.ts +5 -0
  6. package/dist/es/components/runtime/utils/events/standard-event.js +128 -79
  7. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  8. package/dist/es/components/runtime/utils/page-init-util.js +109 -92
  9. package/dist/es/components/runtime/utils/page-permission-util.js +1 -1
  10. package/dist/es/components/runtime/utils/page-store.js +10 -10
  11. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  15. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  16. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  17. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  19. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
  26. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  27. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  28. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +11 -18
  29. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  30. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  31. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +4 -0
  32. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  33. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  34. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  36. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  38. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  40. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  45. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +18 -18
  46. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +19 -18
  47. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  48. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  49. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  50. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  51. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  52. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +53 -42
  53. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  54. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +4 -4
  56. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +37 -38
  58. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
  59. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -4
  60. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  61. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +14 -15
  62. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +65 -56
  63. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  64. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  65. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  66. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  67. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  68. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -17
  69. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  70. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  71. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  72. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  73. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -0
  74. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  75. package/dist/es/components/runtime/views/super-page.vue2.js +200 -185
  76. package/dist/es/i18n/langs/cn.js +1 -1
  77. package/dist/es/i18n/langs/en.js +1 -1
  78. package/dist/es/style.css +76 -76
  79. package/package.json +3 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, resolveComponent as r, createElementBlock as a, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as i, onBeforeUnmount as o, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { formatVariableValue as y, setVariableValue as b, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
4
  import w from "quill";
@@ -40,16 +40,16 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
40
40
  X.value.push(t2), Y.value = true;
41
41
  }
42
42
  }
43
- function oe(e3) {
43
+ function ie(e3) {
44
44
  const t2 = new FormData();
45
45
  t2.append("file", e3);
46
46
  const l2 = B.pageContext.backendUrl, n2 = R(l2, B.pageContext.isTest);
47
47
  return T.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
48
48
  }
49
- function ie(e3, t2) {
50
- let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], o2 = atob(l2[1]), i2 = o2.length, r2 = new Uint8Array(i2);
51
- for (; i2--; ) r2[i2] = o2.charCodeAt(i2);
52
- return new File([r2], t2, { type: n2 });
49
+ function oe(e3, t2) {
50
+ let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], i2 = atob(l2[1]), o2 = i2.length, a2 = new Uint8Array(o2);
51
+ for (; o2--; ) a2[o2] = i2.charCodeAt(o2);
52
+ return new File([a2], t2, { type: n2 });
53
53
  }
54
54
  return n(() => {
55
55
  var _a;
@@ -61,16 +61,15 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
61
61
  if (l3.insert && l3.insert.image) {
62
62
  const e5 = l3.insert.image;
63
63
  if (!e5.startsWith("data:image")) return;
64
- const t4 = ie(e5, "image.png");
65
- await oe(t4).then((t5) => {
64
+ const t4 = oe(e5, "image.png");
65
+ await ie(t4).then((t5) => {
66
66
  if (!J) return;
67
67
  const l4 = J.root.getElementsByTagName("img");
68
68
  if (l4 && l4.length > 0) for (let n3 = 0; n3 < l4.length; n3++) {
69
- const o2 = l4[n3];
70
- o2.src === e5 && (o2.src = t5.url + "&jwt=" + L());
69
+ const i2 = l4[n3];
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
  }
@@ -82,17 +81,17 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
82
81
  let l2 = e4.height - (t2.top - e4.top);
83
82
  l2 < 100 && (l2 = 100), J.container.style.height = l2 + "px";
84
83
  }
85
- }(), o(() => {
84
+ }(), i(() => {
86
85
  const e4 = C(M, N);
87
86
  k(e4, B.pageContext, B.configure, { formItemRef: Z.value, componentRef: $.value, titleRef: ee.value, value: e4, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
88
87
  });
89
- }), i(() => {
88
+ }), o(() => {
90
89
  G.value && G.value.removeEventListener("focusout", le), te && te.removeEventListener("click", ne);
91
90
  }), _2({ addRequiredClass: function() {
92
91
  H.value = j();
93
92
  } }), (e3, t2) => {
94
- const l2 = r("el-form-item"), n2 = r("el-image-viewer");
95
- return u(), a(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), a("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
93
+ const l2 = a("el-form-item"), n2 = a("el-image-viewer");
94
+ return u(), r(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), r("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
96
95
  Y.value = false;
97
96
  }), "url-list": X.value }, null, 8, ["url-list"])) : p("", true)], 64);
98
97
  };
@@ -1,97 +1,106 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as i, resolveComponent as r, createBlock as n, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as v, createVNode as g, createElementBlock as m, Fragment as d, renderList as h, createCommentVNode as y, createElementVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
- import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as _, getVariableValue as T } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as n, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, createElementBlock as d, Fragment as h, renderList as y, createCommentVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
+ import { setVariableValue as _, getOptionDatasFromPage as w, queryOptionDatasources as S, autoSetAfterSelect as k, getVariableValue as T } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as A } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as j, handleAfterInitEvent as R } from "../../../../utils/events/event-util.js";
5
5
  import V from "../common/title-suffix-element.vue.js";
6
6
  import { $t as q } from "../../../../utils/i18n-util.js";
7
7
  import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
8
- const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, O = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: O2 }) {
9
- const P = e2, D = t(null), W = P.pageContext.entity ? P.pageContext.entity : {};
10
- let E = A(P.pageContext, P.configure);
11
- const F = P.configure.runtime ? P.configure.runtime : {}, U = F.style, $ = F.class, B = F.headerStyle, G = F.titleExceedStyle, H = t(F.props ? F.props : {});
12
- let J = [];
13
- function K() {
14
- let e3 = T(W, E);
15
- return null != e3 && (e3 = String(e3)), H.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
8
+ import { CopyDocument as I } from "@element-plus/icons-vue";
9
+ import M from "clipboard";
10
+ const D = { style: { "padding-left": "5px" } }, O = { style: { float: "left" } }, P = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, W = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: W2 }) {
11
+ const B = e2, E = t(null), F = B.pageContext.entity ? B.pageContext.entity : {};
12
+ let L = A(B.pageContext, B.configure);
13
+ const U = B.configure.runtime ? B.configure.runtime : {}, $ = U.style, G = U.class, H = U.headerStyle, J = U.titleExceedStyle, K = t(U.props ? U.props : {});
14
+ let N = [];
15
+ const Q = "copyBtn_" + B.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
16
+ function X() {
17
+ let e3 = T(F, L);
18
+ return null != e3 && (e3 = String(e3)), K.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
16
19
  }
17
- const L = l({ get: () => K(), set(e3) {
18
- const t2 = K();
19
- J = Array.isArray(t2) ? [...t2] : t2;
20
+ const Y = l({ get: () => X(), set(e3) {
21
+ const t2 = X();
22
+ N = Array.isArray(t2) ? [...t2] : t2;
20
23
  let l2 = e3;
21
- if (H.value.multiple) {
22
- l2 = !!H.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
24
+ if (K.value.multiple) {
25
+ l2 = !!K.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
23
26
  }
24
- S(W, E, l2), null != l2 && (D.value = "");
25
- } }), N = t(H.value.options ? H.value.options : []), Q = k(P.pageContext, P.configure);
26
- Q.length > 0 && (N.value = Q);
27
- const X = t(false), Y = P.configure.props && P.configure.props.dataOrigin ? P.configure.props.dataOrigin : {}, Z = Y.optionValueSetType;
28
- let ee = [];
29
- const te = H.value.optionconfigInfo ? H.value.optionconfigInfo : {};
30
- if ("dynamicData" == Z || "dataTable" == Z || "service" == Z) {
31
- if ("remote" == Y.filterType) {
27
+ _(F, L, l2), null != l2 && (E.value = "");
28
+ } }), Z = t(K.value.options ? K.value.options : []), ee = w(B.pageContext, B.configure);
29
+ ee.length > 0 && (Z.value = ee);
30
+ const te = t(false), le = B.configure.props && B.configure.props.dataOrigin ? B.configure.props.dataOrigin : {}, oe = le.optionValueSetType;
31
+ let ae = [];
32
+ const ue = K.value.optionconfigInfo ? K.value.optionconfigInfo : {};
33
+ if ("dynamicData" == oe || "dataTable" == oe || "service" == oe) {
34
+ if ("remote" == le.filterType) {
32
35
  let e3;
33
- H.value.filterable = true, H.value.remote = true, H.value.remoteShowSuffix = true, H.value.remoteMethod = function(t2) {
34
- e3 !== t2 && (e3 = t2, X.value = true, w(P.pageContext, te, t2).then((e4) => {
35
- X.value = false;
36
+ K.value.filterable = true, K.value.remote = true, K.value.remoteShowSuffix = true, K.value.remoteMethod = function(t2) {
37
+ e3 !== t2 && (e3 = t2, te.value = true, S(B.pageContext, ue, t2).then((e4) => {
38
+ te.value = false;
36
39
  }).then((e4) => {
37
- X.value = false;
40
+ te.value = false;
38
41
  }));
39
42
  };
40
43
  }
41
- if (Y.autoSets) for (let e3 of Y.autoSets) e3.source && ee.push(e3);
44
+ if (le.autoSets) for (let e3 of le.autoSets) e3.source && ae.push(e3);
42
45
  }
43
- P.configure && P.configure.props && P.configure.props.base && P.configure.props.base.optionProp && ee.push({ source: "label", target: P.configure.props.base.optionProp }), H.value.changeMethod = function(e3) {
46
+ B.configure && B.configure.props && B.configure.props.base && B.configure.props.base.optionProp && ae.push({ source: "label", target: B.configure.props.base.optionProp }), K.value.changeMethod = function(e3) {
44
47
  let t2, l2 = null;
45
- N.value && null != e3 && null != e3 && (l2 = N.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
46
- ee.length > 0 && _(P.configure, P.pageContext, ee, l2, [H.value.prop]);
48
+ Z.value && null != e3 && null != e3 && (l2 = Z.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
49
+ ae.length > 0 && k(B.configure, B.pageContext, ae, l2, [K.value.prop]);
47
50
  l2 && l2.length > 0 && (t2 = l2[0]);
48
51
  let o2 = {};
49
52
  t2 && (o2.extendParams = t2);
50
- o2.options = N.value, o2.oldValue = J, j(e3, P.pageContext, P.configure, "change", o2);
53
+ o2.options = Z.value, o2.oldValue = N, j(e3, B.pageContext, B.configure, "change", o2);
51
54
  };
52
- const le = H.value.monitorFields, oe = [];
53
- if (le) {
55
+ const ne = K.value.monitorFields, re = [];
56
+ if (ne) {
54
57
  const e3 = [];
55
- for (let t2 of le) if (t2.startsWith("${")) {
58
+ for (let t2 of ne) if (t2.startsWith("${")) {
56
59
  t2 = t2.substring(2, t2.length - 1);
57
60
  const l2 = t2.split(".");
58
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (oe.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
61
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (re.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
59
62
  }
60
- for (let t2 of e3) o(W[t2], () => {
61
- ie();
63
+ for (let t2 of e3) o(F[t2], () => {
64
+ pe();
62
65
  });
63
66
  }
64
- let ae = "", ue = false;
65
- function ie() {
66
- ue && clearTimeout(ue), ue = setTimeout(function() {
67
+ let ie = "", se = false;
68
+ function pe() {
69
+ se && clearTimeout(se), se = setTimeout(function() {
67
70
  const e3 = function() {
68
71
  let e4 = [];
69
- for (let t2 of oe) e4.push(T(W, t2));
72
+ for (let t2 of re) e4.push(T(F, t2));
70
73
  return e4.join(",");
71
74
  }();
72
- e3 != ae && (ae = e3, te.watchAttrValue = e3, w(P.pageContext, te, void 0).then((e4) => {
73
- X.value = false;
75
+ e3 != ie && (ie = e3, ue.watchAttrValue = e3, S(B.pageContext, ue, void 0).then((e4) => {
76
+ te.value = false;
74
77
  }));
75
78
  }, 200);
76
79
  }
77
80
  a(() => {
78
- ue && clearTimeout(ue);
81
+ se && clearTimeout(se);
79
82
  });
80
- const re = t(null), ne = t(null), se = t(null);
83
+ const ce = t(null), fe = t(null), ve = t(null);
81
84
  return u(() => {
82
- i(() => {
83
- const e3 = L.value;
84
- R(e3, P.pageContext, P.configure, { formItemRef: re.value, componentRef: ne.value, titleRef: se.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
85
+ const e3 = new M("#" + Q, { text: function() {
86
+ var _a;
87
+ return (_a = fe.value) == null ? void 0 : _a.selectedLabel;
88
+ } });
89
+ e3.on("success", () => {
90
+ }), e3.on("error", (e4) => {
91
+ }), n(() => {
92
+ const e4 = Y.value;
93
+ R(e4, B.pageContext, B.configure, { formItemRef: ce.value, componentRef: fe.value, titleRef: ve.value, value: e4, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
85
94
  });
86
- }), O2({ updateOptions: function(e3) {
87
- N.value = e3 || [];
95
+ }), W2({ updateOptions: function(e3) {
96
+ Z.value = e3 || [];
88
97
  }, addRequiredClass: function() {
89
- D.value = z();
90
- } }), (t2, l2) => {
91
- const o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-form-item");
92
- return s(), n(u2, { ref_key: "formItemRef", ref: re, required: !!H.value.required, class: f(c($) + (D.value ? " " + D.value : "")), "label-width": H.value.labelWidth, style: p(c(U)) }, { label: v(() => [H.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: se, style: p({ ...c(B), ...c(G) }) }, [H.value.prefixType ? (s(), n(V, { key: 0, pageContext: e2.pageContext, property: H.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(q)(H.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(a2, { ref_key: "componentRef", ref: ne, style: { width: "100%" }, disabled: "disabled" === H.value.state, size: H.value.size, clearable: H.value.clearable, multiple: H.value.multiple, "collapse-tags": H.value.collapseTags, "collapse-tags-tooltip": H.value.collapseTagsTooltip, filterable: H.value.filterable, "allow-create": H.value.allowCreate, placeholder: H.value.placeholder, "remote-show-suffix": H.value.remoteShowSuffix, remote: H.value.remote, "remote-method": H.value.remoteMethod, loading: X.value, onChange: H.value.changeMethod, modelValue: L.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => L.value = e3) }, { default: v(() => [(s(true), m(d, null, h(N.value, (t3) => (s(), n(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e2.pageContext, e2.configure, "click", { values: L.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", I, b(t3.label), 1), x("span", M, b(t3._description_), 1)], 64)) : y("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
98
+ E.value = z();
99
+ } }), (e3, t2) => {
100
+ const l2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-popover"), n2 = r("el-form-item");
101
+ return s(), i(n2, { ref_key: "formItemRef", ref: ce, required: !!K.value.required, class: c(f(G) + (E.value ? " " + E.value : "")), "label-width": K.value.labelWidth, style: p(f($)) }, { label: v(() => [K.value.tittleShow ? (s(), d("div", { key: 0, ref_key: "titleRef", ref: ve, style: p({ ...f(H), ...f(J) }) }, [K.value.prefixType ? (s(), i(V, { key: 0, pageContext: e3.pageContext, property: K.value }, null, 8, ["pageContext", "property"])) : (s(), d(h, { key: 1 }, [C(b(f(q)(K.value.title)), 1)], 64))], 4)) : x("", true)]), default: v(() => [g(u2, { placement: "top", trigger: "hover" }, { reference: v(() => [g(a2, { ref_key: "componentRef", ref: fe, style: { width: "100%" }, disabled: "disabled" === K.value.state, size: K.value.size, clearable: K.value.clearable, multiple: K.value.multiple, "collapse-tags": K.value.collapseTags, "collapse-tags-tooltip": K.value.collapseTagsTooltip, filterable: K.value.filterable, "allow-create": K.value.allowCreate, placeholder: K.value.placeholder, "remote-show-suffix": K.value.remoteShowSuffix, remote: K.value.remote, "remote-method": K.value.remoteMethod, loading: te.value, onChange: K.value.changeMethod, modelValue: Y.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => Y.value = e4) }, { default: v(() => [(s(true), d(h, null, y(Z.value, (t3) => (s(), i(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => f(j)(t3.value, e3.pageContext, e3.configure, "click", { values: Y.value }) }, { default: v(() => [t3._description_ ? (s(), d(h, { key: 0 }, [m("span", O, b(t3.label), 1), m("span", P, b(t3._description_), 1)], 64)) : x("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), default: v(() => [m("span", D, [g(l2, { id: Q }, { default: v(() => [g(f(I))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
93
102
  };
94
103
  } });
95
104
  export {
96
- O as default
105
+ W as default
97
106
  };
@@ -9,7 +9,7 @@ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configu
9
9
  const e3 = y(v.configure.props.base.title);
10
10
  b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
11
11
  });
12
- }), d2({}), (t2, i2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e2.configure.props.base.title)), 1)], 4)], 6));
12
+ }), d2({}), (e3, t2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e3.configure.props.base.title)), 1)], 4)], 6));
13
13
  } });
14
14
  export {
15
15
  d as default
@@ -26,9 +26,9 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
26
26
  });
27
27
  }), w2({ addRequiredClass: function() {
28
28
  _.value = b();
29
- } }), (t2, l2) => {
30
- const a2 = i("el-switch"), u2 = i("el-form-item");
31
- return v(), n(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(a2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => c(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
29
+ } }), (e3, t2) => {
30
+ const l2 = i("el-switch"), a2 = i("el-form-item");
31
+ return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -24,19 +24,19 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
24
24
  const e3 = E.value;
25
25
  h(e3, j2.pageContext, j2.configure, { formItemRef: O.value, titleRef: W.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
26
26
  });
27
- }), (t2, l2) => {
28
- const a2 = o("el-tag"), i2 = o("el-form-item");
29
- return r(), n(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (t3) => (r(), n(a2, { key: t3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, t4) {
27
+ }), (e3, t2) => {
28
+ const l2 = o("el-tag"), a2 = o("el-form-item");
29
+ return r(), n(a2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (a3) => (r(), n(l2, { key: a3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e4) => function(e5, t3) {
30
30
  if (I.value.closable) {
31
- let e5 = C(D, A);
32
- null == e5 && (e5 = []);
33
- const l3 = Array.isArray(e5);
34
- l3 || (e5 = (e5 + "").split(","));
35
- const a3 = e5.indexOf(t4.value);
36
- a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
31
+ let e6 = C(D, A);
32
+ null == e6 && (e6 = []);
33
+ const l3 = Array.isArray(e6);
34
+ l3 || (e6 = (e6 + "").split(","));
35
+ const a4 = e6.indexOf(t3.value);
36
+ a4 > -1 && e6.splice(a4, 1), l3 || (e6 = e6.join(",")), b(D, A, e6);
37
37
  }
38
- k(e4, j2.pageContext, j2.configure, "remove");
39
- }(e3, t3), onClick: l2[0] || (l2[0] = (t4) => p(k)(t4, e2.pageContext, e2.configure, "click")) }, { default: c(() => [v(y(t3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
38
+ k(e5, j2.pageContext, j2.configure, "remove");
39
+ }(e4, a3), onClick: t2[0] || (t2[0] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "click")) }, { default: c(() => [v(y(a3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
40
  };
41
41
  } });
42
42
  export {
@@ -18,9 +18,9 @@ const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {
18
18
  });
19
19
  }), _2({ addRequiredClass: function() {
20
20
  I.value = j();
21
- } }), (t2, l2) => {
22
- const a2 = u("el-input"), o2 = u("el-form-item");
23
- return r(), n("div", null, [i(o2, { ref_key: "formItemRef", ref: T, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), n("div", { key: 0, ref_key: "titleRef", ref: W, style: s({ ...m(L), ...m(N) }) }, [D.value.prefixType ? (r(), g(k, { key: 0, pageContext: e2.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), n(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : c("", true)]), default: f(() => [i(a2, { ref_key: "componentRef", ref: U, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => V.value = e3), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxLength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: l2[1] || (l2[1] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
21
+ } }), (e3, t2) => {
22
+ const l2 = u("el-input"), a2 = u("el-form-item");
23
+ return r(), n("div", null, [i(a2, { ref_key: "formItemRef", ref: T, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), n("div", { key: 0, ref_key: "titleRef", ref: W, style: s({ ...m(L), ...m(N) }) }, [D.value.prefixType ? (r(), g(k, { key: 0, pageContext: e3.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), n(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : c("", true)]), default: f(() => [i(l2, { ref_key: "componentRef", ref: U, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => V.value = e4), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxLength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -73,9 +73,9 @@ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure:
73
73
  const t2 = H2.configure.props ? H2.configure.props : {}, n2 = H2.configure.style ? H2.configure.style : {}, i2 = t2.position;
74
74
  "top" == i2 || "bottom" == i2 || n2.position;
75
75
  };
76
- return (o2, t2) => {
77
- const n2 = i("permission");
78
- return u($)(e2.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [n2, { codes: u(N) ? u(N) : "true", systemCode: e2.pageContext.systemCode }]]) : s("", true);
76
+ return (e3, o2) => {
77
+ const t2 = i("permission");
78
+ return u($)(e3.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [t2, { codes: u(N) ? u(N) : "true", systemCode: e3.pageContext.systemCode }]]) : s("", true);
79
79
  };
80
80
  } });
81
81
  export {
@@ -1,22 +1,22 @@
1
- import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as p, openBlock as a, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
1
+ import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as p, createBlock as l, openBlock as a, resolveDynamicComponent as g, normalizeClass as c, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
2
2
  import C from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
4
4
  import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
5
  import { addComponentRef as x, addComponentRefByCode as h } from "../../utils/global-refs.js";
6
6
  import { getPermissionCodes as y, packageFormRules as j, controlObjectRenderState as w } from "../../utils/page-init-util.js";
7
- import { caculateShowCondition as N, getFormPropName as _, getSizeConfig as P } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as L, getPropClassName as O, isNumber as S } from "../../utils/common-util.js";
9
- import { isShowMobileEvent as H, isShowComponent as T } from "../../utils/events/event-util.js";
10
- import { usePageContextStore as $ } from "../../utils/page-store.js";
11
- import { isHasFieldAuth as F } from "../../utils/table-utils.js";
12
- import { checkPermission as M } from "agilebuilder-ui/src/utils/permission.js";
7
+ import { caculateShowCondition as N, getFormPropName as T, getSizeConfig as _ } from "../../utils/page-helper-util.js";
8
+ import { isWorkflowPage as M, getPropClassName as P, isNumber as L } from "../../utils/common-util.js";
9
+ import { isShowMobileEvent as O, isShowComponent as S } from "../../utils/events/event-util.js";
10
+ import { usePageContextStore as H } from "../../utils/page-store.js";
11
+ import { isHasFieldAuth as $ } from "../../utils/table-utils.js";
12
+ import { checkPermission as F } from "agilebuilder-ui/src/utils/permission.js";
13
13
  const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
14
14
  var _a, _b;
15
15
  const k2 = e2;
16
16
  null == k2.configure.style && (k2.configure.style = {});
17
17
  const A = y(k2.configure, k2.pageContext);
18
18
  k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.functionCode = A);
19
- const B = M(A || "true", k2.pageContext.systemCode), E = F(k2.pageContext, k2.configure), J = B && E;
19
+ const B = F(A || "true", k2.pageContext.systemCode), E = $(k2.pageContext, k2.configure), J = B && E;
20
20
  k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.isHasFieldAuthPermission = J), j(k2.pageContext, k2.configure, J);
21
21
  let R = o(null), W = o(true), q = o("");
22
22
  if (k2.configure && k2.configure.props) {
@@ -25,7 +25,7 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
25
25
  var _a2;
26
26
  let o2 = true;
27
27
  if (J) if (R.value && null !== R.value) o2 = "show" === R.value;
28
- else if (H(k2.pageContext, k2.configure)) if (e3 && e3.length > 0) o2 = N(k2.pageContext, e3);
28
+ else if (O(k2.pageContext, k2.configure)) if (e3 && e3.length > 0) o2 = N(k2.pageContext, e3);
29
29
  else {
30
30
  const e4 = (_a2 = k2.configure.props.base) == null ? void 0 : _a2.state;
31
31
  e4 && "hidden" === e4 && (o2 = false);
@@ -38,11 +38,11 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
38
38
  const e4 = k2.configure.props.base.editConditions;
39
39
  if (e4.length > 0) {
40
40
  const o2 = k2.configure.runtime ? k2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
41
- if (n2.rawSate = n2.state, L(k2.pageContext) && k2.pageContext.fieldPermissionMap) {
41
+ if (n2.rawSate = n2.state, M(k2.pageContext) && k2.pageContext.fieldPermissionMap) {
42
42
  const e5 = k2.configure.props.base;
43
43
  if (e5 && e5.prop) {
44
44
  let o3 = e5.prop;
45
- o3 = _(o3);
45
+ o3 = T(o3);
46
46
  const t2 = k2.pageContext.fieldPermissionMap.get(o3);
47
47
  t2 && false === t2.canEdit && (q.value = "disabled");
48
48
  }
@@ -59,7 +59,7 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
59
59
  z.value = n(v(k2.configure.name));
60
60
  const D = o(true);
61
61
  null == z.value && (z.value = C, D.value = false);
62
- const G = o(null), I = o({}), K = o(""), Q = O(k2.configure);
62
+ const G = o(null), I = o({}), K = o(""), Q = P(k2.configure);
63
63
  Q && (K.value = Q);
64
64
  const U = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
65
65
  if (U.class && (K.value += " " + U.class), U.style) {
@@ -69,7 +69,7 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
69
69
  const t2 = U.style[e3 + "_class"];
70
70
  t2 && (K.value += " " + t2);
71
71
  }
72
- const V = $();
72
+ const V = H();
73
73
  function X(e3) {
74
74
  if (G.value = e3, e3 && !e3.show && (e3.show = function() {
75
75
  R.value = "show";
@@ -89,11 +89,11 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
89
89
  const o2 = k2.configure.props ? k2.configure.props.base : null;
90
90
  if (o2 && o2.prop) {
91
91
  let e4 = o2.prop;
92
- e4 = _(e4), w(k2.pageContext, e4);
92
+ e4 = T(e4), w(k2.pageContext, e4), k2.pageContext.propTitleMap = k2.pageContext.propTitleMap || {}, k2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
93
93
  }
94
94
  !function() {
95
95
  if (!G.value) return;
96
- const e4 = P(k2.pageContext, k2.configure);
96
+ const e4 = _(k2.pageContext, k2.configure);
97
97
  "table" !== k2.configure.name && e4 && e4.isCalcHeight && d(() => {
98
98
  let e5 = G.value.$el;
99
99
  e5 || (e5 = G.value);
@@ -101,7 +101,7 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
101
101
  if (!e5 || !o3) return;
102
102
  const t2 = e5.getBoundingClientRect();
103
103
  let n2 = window.innerHeight - t2.y - 80, i2 = n2 + "";
104
- S(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = i2;
104
+ L(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = i2;
105
105
  });
106
106
  }();
107
107
  }
@@ -122,7 +122,7 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
122
122
  const t2 = k2.configure.props ? k2.configure.props : {}, n2 = k2.configure.style ? k2.configure.style : {}, i2 = t2.position;
123
123
  "top" == i2 || "bottom" == i2 || n2.position;
124
124
  };
125
- return (o2, t2) => l(J) && l(T)(e2.configure) ? r((a(), p(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
125
+ return (e3, o2) => p(J) && p(S)(e3.configure) ? r((a(), l(g(z.value), { key: 0, ref: X, style: f(I.value), class: c(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, p(W)]]) : u("", true);
126
126
  } });
127
127
  export {
128
128
  k as default
@@ -32,7 +32,7 @@ const N = { class: "page-runtime-header-btn" }, h = { class: "dialog-footer" },
32
32
  T.value && T.value.$el.click();
33
33
  } }), (e3, l2) => {
34
34
  const a2 = n("el-button"), o2 = n("el-icon"), y2 = n("el-input"), C2 = n("el-form-item"), w3 = n("el-form"), V2 = n("el-dialog");
35
- return i(), t("span", N, [u(a2, { ref_key: "componentRef", ref: T, disabled: O(), class: p(s(M)), style: r(s(F)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: O(), onClick: l2[0] || (l2[0] = (e4) => z.value = true) }, { default: c(() => [d(m(s(_)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(V2, { modelValue: z.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => z.value = e4), title: "选择办理人", width: "500" }, { footer: c(() => [g("div", h, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => z.value = false) }, { default: c(() => [...l2[7] || (l2[7] = [d("取消", -1)])]), _: 1 }), u(a2, { type: "primary", onClick: B }, { default: c(() => [...l2[8] || (l2[8] = [d(" 确定 ", -1)])]), _: 1 })])]), default: c(() => [u(w3, { ref_key: "ruleFormRef", ref: U, style: { "max-width": "600px" }, model: R.value, rules: j.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: "办理人", prop: "loginName" }, { default: c(() => [u(y2, { "model-value": R.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => $()) }, { append: c(() => [u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => $()) }, { default: c(() => [u(s(x))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (R.value.loginName = "", void (R.value.name = ""))) }, { default: c(() => [u(s(b))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(C2, { label: "意见", prop: "opinion" }, { default: c(() => [u(y2, { modelValue: R.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => R.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), q.value ? (i(), v(s(k), { key: 0, width: "60%", multiple: false, onClose: A })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
35
+ return i(), t("span", N, [u(a2, { ref_key: "componentRef", ref: T, disabled: O(), class: p(s(M)), style: r(s(F)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: O(), onClick: l2[0] || (l2[0] = (e4) => z.value = true) }, { default: c(() => [d(m(s(_)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(V2, { modelValue: z.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => z.value = e4), title: "选择办理人", width: "500" }, { footer: c(() => [g("div", h, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => z.value = false) }, { default: c(() => l2[7] || (l2[7] = [d("取消")])), _: 1 }), u(a2, { type: "primary", onClick: B }, { default: c(() => l2[8] || (l2[8] = [d(" 确定 ")])), _: 1 })])]), default: c(() => [u(w3, { ref_key: "ruleFormRef", ref: U, style: { "max-width": "600px" }, model: R.value, rules: j.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: "办理人", prop: "loginName" }, { default: c(() => [u(y2, { "model-value": R.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => $()) }, { append: c(() => [u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => $()) }, { default: c(() => [u(s(x))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (R.value.loginName = "", void (R.value.name = ""))) }, { default: c(() => [u(s(b))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(C2, { label: "意见", prop: "opinion" }, { default: c(() => [u(y2, { modelValue: R.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => R.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), q.value ? (i(), v(s(k), { key: 0, width: "60%", multiple: false, onClose: A })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
36
36
  };
37
37
  } });
38
38
  export {
@@ -17,7 +17,7 @@ const l = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
17
17
  }(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
18
18
  return c(t2, g, v, e4, x);
19
19
  })(e3) && C.value.push(e3);
20
- }), (t2, m2) => (o(), n("span", l, [(o(true), n(r, null, u(C.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), a(s, { key: u2, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
20
+ }), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(C.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), a(s, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
21
21
  } });
22
22
  export {
23
23
  p as default
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
7
7
  import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
8
8
  import { useI18n as C } from "vue-i18n";
9
9
  const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
10
- const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
10
+ const { t: b2 } = C(), I = e2, U = t(true), w = t(false), H = t(null);
11
11
  let x, A = t(null);
12
12
  return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
13
13
  var _a, _b;
14
14
  if (e3 && e3.designJson) {
15
- w.value = {};
15
+ H.value = {};
16
16
  const t2 = JSON.parse(e3.designJson);
17
17
  let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
18
18
  if (a2) {
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
20
20
  e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
21
21
  }
22
22
  const i2 = window.frameElement;
23
- w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
23
+ H.value = t2.chartJson, H.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (H.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
24
24
  const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
25
- if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
25
+ if (((_a = H.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = H.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
26
26
  const e4 = n2.entity.page;
27
27
  for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
28
28
  }
29
- t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
29
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(H.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
30
30
  !function(e4, t3) {
31
31
  if (!t3 || 0 == t3.length) return;
32
32
  e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
33
33
  }(A.value, [t2.initChartServiceConfigs]);
34
34
  }, 200);
35
- } else H.value = true, U.value = false;
35
+ } else w.value = true, U.value = false;
36
36
  }).finally(() => {
37
37
  U.value = false;
38
38
  }), a(() => {
39
39
  x && clearTimeout(x);
40
40
  }), (e3, t2) => {
41
41
  const a2 = i("loading");
42
- return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
42
+ return n((o(), r("div", y, [!U.value && H.value ? (o(), s(g, { key: 0, configure: H.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -10,7 +10,6 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
10
10
  const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
11
11
  e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
12
12
  } catch (e4) {
13
- console.error(e4);
14
13
  }
15
14
  null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
16
15
  }
@@ -4,6 +4,7 @@ import { PageDesign } from '../utils/interfaces/page-design-types';
4
4
  declare function pickFileDone(data: any): void;
5
5
  declare function uploadFileDone(data: any): void;
6
6
  declare function scanDone(data: any): void;
7
+ declare function getFormFormatData(): any;
7
8
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
9
  pageCode: {
9
10
  type: StringConstructor;
@@ -57,6 +58,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
57
58
  pickFileDone: typeof pickFileDone;
58
59
  uploadFileDone: typeof uploadFileDone;
59
60
  scanDone: typeof scanDone;
61
+ getFormFormatData: typeof getFormFormatData;
60
62
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
63
  close: (...args: any[]) => void;
62
64
  open: (...args: any[]) => void;
@@ -1,7 +1,7 @@
1
1
  import e from "./super-page.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = p(e, [["__scopeId", "data-v-8e808d13"]]);
4
+ const r = p(e, [["__scopeId", "data-v-390fe557"]]);
5
5
  export {
6
6
  r as default
7
7
  };