super-page-runtime 2.2.0 → 2.2.1

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 (113) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -72
  4. package/dist/es/components/runtime/utils/assemblys-config.js +2 -4
  5. package/dist/es/components/runtime/utils/barcode-util.js +1 -2
  6. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +59 -81
  7. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +2 -4
  8. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +8 -16
  9. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +10 -18
  10. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +20 -25
  11. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/charts/chart-util.js +200 -218
  13. package/dist/es/components/runtime/utils/common-util.js +7 -14
  14. package/dist/es/components/runtime/utils/events/event-util.js +97 -115
  15. package/dist/es/components/runtime/utils/events/print-label.js +20 -21
  16. package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -2
  17. package/dist/es/components/runtime/utils/events/standard-event.js +295 -337
  18. package/dist/es/components/runtime/utils/events/validator-util.js +85 -116
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.js +1 -2
  20. package/dist/es/components/runtime/utils/form/scan-util.js +10 -17
  21. package/dist/es/components/runtime/utils/global-refs.js +7 -14
  22. package/dist/es/components/runtime/utils/i18n-util.js +1 -2
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  24. package/dist/es/components/runtime/utils/page-helper-util.js +66 -116
  25. package/dist/es/components/runtime/utils/page-init-util.d.ts +6 -1
  26. package/dist/es/components/runtime/utils/page-init-util.js +65 -69
  27. package/dist/es/components/runtime/utils/page-permission-util.js +2 -4
  28. package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
  29. package/dist/es/components/runtime/utils/table-utils.js +4 -8
  30. package/dist/es/components/runtime/utils/tree-utils.js +13 -15
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +2 -2
  33. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -4
  34. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -28
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +44 -40
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +44 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +20 -20
  43. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +20 -20
  44. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +20 -20
  45. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +22 -22
  46. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +34 -1
  47. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +205 -170
  48. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +19 -50
  51. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +151 -120
  53. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
  54. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +6 -6
  56. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +9 -11
  57. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +6 -6
  58. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +2 -2
  60. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +2 -2
  64. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +2 -2
  66. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +7 -7
  68. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +60 -72
  69. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +91 -95
  70. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +6 -9
  71. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +5 -5
  72. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  73. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  74. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +6 -8
  75. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -6
  76. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -9
  77. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +10 -13
  78. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -28
  79. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -4
  80. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -4
  81. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +5 -5
  82. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +9 -10
  83. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +9 -11
  84. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  85. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  86. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
  87. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +15 -20
  88. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +20 -25
  89. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +15 -20
  90. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
  91. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +4 -5
  93. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  94. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  95. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
  96. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  97. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  98. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +33 -43
  99. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +3 -4
  100. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +3 -4
  101. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +3 -4
  102. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +2 -2
  103. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  104. package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
  105. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  106. package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
  107. package/dist/es/components/runtime/views/super-page-dialog.vue.js +15 -13
  108. package/dist/es/components/runtime/views/super-page.vue.d.ts +15 -6
  109. package/dist/es/components/runtime/views/super-page.vue.js +171 -182
  110. package/dist/es/index.d.ts +2 -2
  111. package/dist/es/index.js +6 -4
  112. package/package.json +74 -74
  113. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onMounted as a, nextTick as u, resolveComponent as n, openBlock as i, createBlock as r, normalizeClass as s, unref as p, normalizeStyle as f, withCtx as c, createElementBlock as v, Fragment as g, createTextVNode as m, toDisplayString as d, createCommentVNode as h, createVNode as y, renderList as x, createElementVNode as b } from "vue";
2
- import { getVariableValue as C, setVariableValue as _, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as S } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onMounted as a, nextTick as u, resolveComponent as n, createBlock as i, openBlock as r, normalizeStyle as s, normalizeClass as p, unref as f, withCtx as c, createVNode as v, createElementBlock as g, Fragment as m, renderList as d, createCommentVNode as h, createElementVNode as y, toDisplayString as x, createTextVNode as b } from "vue";
2
+ import { setVariableValue as C, getVariableValue as _, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as S } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as j, handleAfterInitEvent as R } from "../../../../utils/events/event-util.js";
5
5
  import z from "../common/title-suffix-element.vue.js";
@@ -8,10 +8,10 @@ const M = { style: { float: "left" } }, V = { style: { float: "right", color: "v
8
8
  const O = e2, P = O.pageContext.entity ? O.pageContext.entity : {};
9
9
  let A = T(O.pageContext, O.configure);
10
10
  const D = O.configure.runtime ? O.configure.runtime : {}, W = D.style, E = D.class, F = D.headerStyle, U = D.titleExceedStyle, $ = t(D.props ? D.props : {}), B = l({ get() {
11
- let e3 = C(P, A);
11
+ let e3 = _(P, A);
12
12
  return null != e3 && (e3 += ""), $.value.multiple && e3 && (e3 = e3.split(",")), e3;
13
13
  }, set(e3) {
14
- $.value.multiple && e3 && e3.length > 0 && (e3 = e3.join(",")), _(P, A, e3);
14
+ $.value.multiple && e3 && e3.length > 0 && (e3 = e3.join(",")), C(P, A, e3);
15
15
  } }), G = t($.value.options ? $.value.options : []), H = k(O.pageContext, O.configure);
16
16
  H.length > 0 && (G.value = H);
17
17
  const J = t(false), K = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, L = K.optionValueSetType;
@@ -28,9 +28,7 @@ const M = { style: { float: "left" } }, V = { style: { float: "right", color: "v
28
28
  }));
29
29
  };
30
30
  }
31
- if (K.autoSets)
32
- for (let e3 of K.autoSets)
33
- e3.source && N.push(e3);
31
+ if (K.autoSets) for (let e3 of K.autoSets) e3.source && N.push(e3);
34
32
  }
35
33
  O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && N.push({ source: "label", target: O.configure.props.base.optionProp }), $.value.changeMethod = function(e3) {
36
34
  let t2, l2 = null;
@@ -44,21 +42,18 @@ const M = { style: { float: "left" } }, V = { style: { float: "right", color: "v
44
42
  const X = $.value.monitorFields, Y = [];
45
43
  if (X) {
46
44
  const e3 = [];
47
- for (let t2 of X)
48
- if (t2.startsWith("${")) {
49
- t2 = t2.substring(2, t2.length - 1);
50
- const l2 = t2.split(".");
51
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (Y.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
52
- }
53
- for (let t2 of e3)
54
- o(P[t2], () => {
55
- le();
56
- });
45
+ for (let t2 of X) if (t2.startsWith("${")) {
46
+ t2 = t2.substring(2, t2.length - 1);
47
+ const l2 = t2.split(".");
48
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (Y.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
49
+ }
50
+ for (let t2 of e3) o(P[t2], () => {
51
+ le();
52
+ });
57
53
  }
58
54
  function Z() {
59
55
  let e3 = "";
60
- for (let t2 of Y)
61
- e3 += "_" + C(P, t2);
56
+ for (let t2 of Y) e3 += "_" + _(P, t2);
62
57
  return e3;
63
58
  }
64
59
  let ee = Z(), te = false;
@@ -80,7 +75,7 @@ const M = { style: { float: "left" } }, V = { style: { float: "right", color: "v
80
75
  G.value = e3 || [];
81
76
  } }), (e3, t2) => {
82
77
  const l2 = n("el-option"), o2 = n("el-select"), a2 = n("el-form-item");
83
- return i(), r(a2, { ref_key: "formItemRef", ref: oe, required: !!$.value.required, class: s(p(E)), "label-width": $.value.labelWidth, style: f(p(W)) }, { label: c(() => [$.value.tittleShow ? (i(), v("div", { key: 0, ref_key: "titleRef", ref: ue, style: f({ ...p(F), ...p(U) }) }, [$.value.prefixType ? (i(), r(z, { key: 0, pageContext: e3.pageContext, property: $.value }, null, 8, ["pageContext", "property"])) : (i(), v(g, { key: 1 }, [m(d(p(I)($.value.title)), 1)], 64))], 4)) : h("", true)]), default: c(() => [y(o2, { ref_key: "componentRef", ref: ae, style: { width: "100%" }, disabled: "disabled" === $.value.state, size: $.value.size, clearable: $.value.clearable, multiple: $.value.multiple, "collapse-tags": $.value.collapseTags, "collapse-tags-tooltip": $.value.collapseTagsTooltip, filterable: $.value.filterable, "allow-create": $.value.allowCreate, placeholder: $.value.placeholder, "remote-show-suffix": $.value.remoteShowSuffix, remote: $.value.remote, "remote-method": $.value.remoteMethod, loading: J.value, onChange: $.value.changeMethod, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4) }, { default: c(() => [(i(true), v(g, null, x(G.value, (t3) => (i(), r(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => p(j)(t3.value, e3.pageContext, e3.configure, "click", { values: B.value }) }, { default: c(() => [t3._description_ ? (i(), v(g, { key: 0 }, [b("span", M, d(t3.label), 1), b("span", V, d(t3._description_), 1)], 64)) : h("", 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"]);
78
+ return r(), i(a2, { ref_key: "formItemRef", ref: oe, required: !!$.value.required, class: p(f(E)), "label-width": $.value.labelWidth, style: s(f(W)) }, { label: c(() => [$.value.tittleShow ? (r(), g("div", { key: 0, ref_key: "titleRef", ref: ue, style: s({ ...f(F), ...f(U) }) }, [$.value.prefixType ? (r(), i(z, { key: 0, pageContext: e3.pageContext, property: $.value }, null, 8, ["pageContext", "property"])) : (r(), g(m, { key: 1 }, [b(x(f(I)($.value.title)), 1)], 64))], 4)) : h("", true)]), default: c(() => [v(o2, { ref_key: "componentRef", ref: ae, style: { width: "100%" }, disabled: "disabled" === $.value.state, size: $.value.size, clearable: $.value.clearable, multiple: $.value.multiple, "collapse-tags": $.value.collapseTags, "collapse-tags-tooltip": $.value.collapseTagsTooltip, filterable: $.value.filterable, "allow-create": $.value.allowCreate, placeholder: $.value.placeholder, "remote-show-suffix": $.value.remoteShowSuffix, remote: $.value.remote, "remote-method": $.value.remoteMethod, loading: J.value, onChange: $.value.changeMethod, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4) }, { default: c(() => [(r(true), g(m, null, d(G.value, (t3) => (r(), i(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => f(j)(t3.value, e3.pageContext, e3.configure, "click", { values: B.value }) }, { default: c(() => [t3._description_ ? (r(), g(m, { key: 0 }, [y("span", M, x(t3.label), 1), y("span", V, x(t3._description_), 1)], 64)) : h("", 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"]);
84
79
  };
85
80
  } });
86
81
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as i, nextTick as o, openBlock as n, createElementBlock as r, normalizeStyle as a, unref as p, normalizeClass as l, createElementVNode as s, createBlock as u, createCommentVNode as c, createTextVNode as g, toDisplayString as f } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as i, nextTick as o, createElementBlock as n, openBlock as r, normalizeClass as a, normalizeStyle as p, unref as l, createElementVNode as s, createBlock as u, createCommentVNode as c, createTextVNode as g, toDisplayString as f } from "vue";
2
2
  import { SuperIcon as m } from "agilebuilder-ui";
3
3
  import { $t as y } from "../../../../utils/i18n-util.js";
4
4
  import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
@@ -9,7 +9,7 @@ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configu
9
9
  const e3 = y(v.configure.props.base.title);
10
10
  b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
11
11
  });
12
- }), d2({}), (e3, t2) => (n(), r("div", { style: a(p(T)), class: l([p(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: a(p(h)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (n(), u(p(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(p(y)(e3.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
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as u, openBlock as n, createBlock as v, normalizeClass as o, unref as c, normalizeStyle as r, withCtx as s, createElementBlock as f, toDisplayString as p, createCommentVNode as d, createVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as u, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as c, unref as r, withCtx as s, createVNode as f, createElementBlock as p, createCommentVNode as d, toDisplayString as m } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
@@ -25,7 +25,7 @@ const C = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
25
25
  });
26
26
  }), (e3, t2) => {
27
27
  const l2 = u("el-switch"), a2 = u("el-form-item");
28
- return n(), v(a2, { ref_key: "formItemRef", ref: E, required: z.value.required, class: o(c(k)), "label-width": z.value.labelWidth, style: r(c(j)) }, { label: s(() => [z.value.tittleShow ? (n(), f("div", { key: 0, ref_key: "titleRef", ref: U, style: r({ ...c(S), ...c(q) }) }, p(c(b)(z.value.title)), 5)) : d("", true)]), default: s(() => [m(l2, { ref_key: "componentRef", ref: O, disabled: "disabled" === z.value.state, "active-value": z.value.activeValue, "active-text": z.value.activeText, "inactive-value": z.value.inactiveValue, "inactive-text": z.value.inactiveText, width: z.value.offOnWidth, size: z.value.size, style: r(c(W)), modelValue: D.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => D.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"]);
28
+ return v(), n(a2, { ref_key: "formItemRef", ref: E, required: z.value.required, class: c(r(k)), "label-width": z.value.labelWidth, style: o(r(j)) }, { label: s(() => [z.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: U, style: o({ ...r(S), ...r(q) }) }, m(r(b)(z.value.title)), 5)) : d("", true)]), default: s(() => [f(l2, { ref_key: "componentRef", ref: O, disabled: "disabled" === z.value.state, "active-value": z.value.activeValue, "active-text": z.value.activeText, "inactive-value": z.value.inactiveValue, "inactive-text": z.value.inactiveText, width: z.value.offOnWidth, size: z.value.size, style: o(r(W)), modelValue: D.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => D.value = e4), onChange: t2[1] || (t2[1] = (t3) => r(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
29
29
  };
30
30
  } });
31
31
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, openBlock as n, createBlock as r, normalizeClass as u, unref as s, normalizeStyle as p, withCtx as c, createElementBlock as f, toDisplayString as g, createCommentVNode as m, Fragment as v, renderList as y, createTextVNode as d } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, createBlock as n, openBlock as r, normalizeStyle as u, normalizeClass as s, unref as p, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createTextVNode as v, toDisplayString as y, createCommentVNode as d } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as C, setVariableValue as b } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as h, handleFormEvent as k } from "../../../../utils/events/event-util.js";
@@ -12,8 +12,7 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
12
12
  const t2 = [];
13
13
  let l2 = 1;
14
14
  for (const a2 of e3) {
15
- if (null == a2 || "" === a2)
16
- continue;
15
+ if (null == a2 || "" === a2) continue;
17
16
  const e4 = { value: a2, label: a2 };
18
17
  $ && (e4.label = $.replace(/\${value}/g, e4.value).replace(/\${no}/g, l2)), t2.push(e4), l2++;
19
18
  }
@@ -27,7 +26,7 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
27
26
  });
28
27
  }), (e3, t2) => {
29
28
  const l2 = o("el-tag"), a2 = o("el-form-item");
30
- return n(), r(a2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: u(s(w)), "label-width": I.value.labelWidth, style: p(s(q)) }, { label: c(() => [I.value.tittleShow ? (n(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: p({ ...s(z), ...s(S) }) }, g(s(_)(I.value.title)), 5)) : m("", true)]), default: c(() => [(n(true), f(v, null, y(E.value, (a3) => (n(), r(l2, { key: a3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e4) => function(e5, t3) {
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) {
31
30
  if (I.value.closable) {
32
31
  let e6 = C(D, A);
33
32
  null == e6 && (e6 = []);
@@ -37,7 +36,7 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
37
36
  a4 > -1 && e6.splice(a4, 1), l3 || (e6 = e6.join(",")), b(D, A, e6);
38
37
  }
39
38
  k(e5, j2.pageContext, j2.configure, "remove");
40
- }(e4, a3), onClick: t2[0] || (t2[0] = (t3) => s(k)(t3, e3.pageContext, e3.configure, "click")) }, { default: c(() => [d(g(a3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
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"]);
41
40
  };
42
41
  } });
43
42
  export {
@@ -1,14 +1,14 @@
1
- import { defineComponent as e, computed as t, ref as l, onMounted as a, nextTick as o, resolveComponent as n, openBlock as r, createElementBlock as u, createVNode as i, normalizeClass as p, unref as s, normalizeStyle as f, withCtx as m, createBlock as g, Fragment as c, createTextVNode as d, toDisplayString as v, createCommentVNode as x } from "vue";
1
+ import { defineComponent as e, computed as t, ref as l, onMounted as a, nextTick as o, resolveComponent as n, createElementBlock as r, openBlock as u, createVNode as i, normalizeStyle as p, normalizeClass as s, unref as f, withCtx as m, createCommentVNode as g, createBlock as c, Fragment as d, createTextVNode as v, toDisplayString as x } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as h, setVariableValue as C } from "../../../../utils/page-helper-util.js";
3
+ import { setVariableValue as h, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as w, handleFormEvent as b } from "../../../../utils/events/event-util.js";
5
5
  import k from "../common/title-suffix-element.vue.js";
6
6
  import { $t as R } from "../../../../utils/i18n-util.js";
7
7
  const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
8
8
  const _2 = e2, j = _2.pageContext.entity ? _2.pageContext.entity : {};
9
9
  let I = y(_2.pageContext, _2.configure);
10
- const q = t({ get: () => h(j, I), set(e3) {
11
- C(j, I, e3);
10
+ const q = t({ get: () => C(j, I), set(e3) {
11
+ h(j, I, e3);
12
12
  } }), z = _2.configure.runtime ? _2.configure.runtime : {}, S = l(z.props ? z.props : {}), V = z.style, B = z.class, D = z.headerStyle, E = z.titleExceedStyle, F = l(null), L = l(null), N = l(null);
13
13
  return a(() => {
14
14
  o(() => {
@@ -17,7 +17,7 @@ const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {
17
17
  });
18
18
  }), (e3, t2) => {
19
19
  const l2 = n("el-input"), a2 = n("el-form-item");
20
- return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: F, required: !!S.value.required, class: p(s(B)), "label-width": S.value.labelWidth, style: f(s(V)) }, { label: m(() => [S.value.tittleShow ? (r(), u("div", { key: 0, ref_key: "titleRef", ref: N, style: f({ ...s(D), ...s(E) }) }, [S.value.prefixType ? (r(), g(k, { key: 0, pageContext: e3.pageContext, property: S.value }, null, 8, ["pageContext", "property"])) : (r(), u(c, { key: 1 }, [d(v(s(R)(S.value.title)), 1)], 64))], 4)) : x("", true)]), default: m(() => [i(l2, { ref_key: "componentRef", ref: L, disabled: "disabled" === S.value.state, readonly: "readonly" === S.value.state, size: S.value.size, clearable: S.value.clearable, placeholder: S.value.placeholder, modelValue: q.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => q.value = e4), rows: S.value.rows ? S.value.rows : 2, maxlength: S.value.maxLength, "show-word-limit": S.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => s(b)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => s(b)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => s(b)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => s(b)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => s(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"])]);
20
+ return u(), r("div", null, [i(a2, { ref_key: "formItemRef", ref: F, required: !!S.value.required, class: s(f(B)), "label-width": S.value.labelWidth, style: p(f(V)) }, { label: m(() => [S.value.tittleShow ? (u(), r("div", { key: 0, ref_key: "titleRef", ref: N, style: p({ ...f(D), ...f(E) }) }, [S.value.prefixType ? (u(), c(k, { key: 0, pageContext: e3.pageContext, property: S.value }, null, 8, ["pageContext", "property"])) : (u(), r(d, { key: 1 }, [v(x(f(R)(S.value.title)), 1)], 64))], 4)) : g("", true)]), default: m(() => [i(l2, { ref_key: "componentRef", ref: L, disabled: "disabled" === S.value.state, readonly: "readonly" === S.value.state, size: S.value.size, clearable: S.value.clearable, placeholder: S.value.placeholder, modelValue: q.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => q.value = e4), rows: S.value.rows ? S.value.rows : 2, maxlength: S.value.maxLength, "show-word-limit": S.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => f(b)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => f(b)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => f(b)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => f(b)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => f(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"])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -0,0 +1,17 @@
1
+ import { PageContext, Component } from '../../utils/interfaces/page-design-types.js';
2
+
3
+ interface MyProps {
4
+ pageContext: PageContext;
5
+ configure: Component;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,97 @@
1
+ import { defineComponent as e, ref as t, markRaw as o, onMounted as n, resolveDirective as i, withDirectives as u, createCommentVNode as s, unref as r, createBlock as l, openBlock as c, resolveDynamicComponent as p, normalizeClass as a, normalizeStyle as f, vShow as g, nextTick as v } from "vue";
2
+ import m from "./error-render.vue.js";
3
+ import { getRuntimeComponentByName as d } from "../../utils/assemblys-config.js";
4
+ import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as h, addComponentRefByCode as C } from "../../utils/global-refs.js";
6
+ import { getPermissionCodes as y, controlObjectRenderState as b } from "../../utils/page-init-util.js";
7
+ import { getFormPropName as w, getSizeConfig as j } from "../../utils/page-helper-util.js";
8
+ import { getPropClassName as _, isNumber as B } from "../../utils/common-util.js";
9
+ import { isShowComponent as R } from "../../utils/events/event-util.js";
10
+ const O = e({ __name: "home-chart-render", props: { pageContext: {}, configure: {} }, setup(e2) {
11
+ const O2 = e2;
12
+ null == O2.configure.style && (O2.configure.style = {});
13
+ const $ = y(O2.configure, O2.pageContext);
14
+ O2.configure && O2.configure.props && O2.configure.props.base && (O2.configure.props.base.functionCode = $);
15
+ let H = t(true), N = t(true);
16
+ const k = t({});
17
+ k.value = o(d(O2.configure.name));
18
+ const P = t(true);
19
+ null == k.value && (k.value = m, P.value = false);
20
+ const S = t(null), W = t({}), q = t(""), z = _(O2.configure);
21
+ z && (q.value = z);
22
+ const A = O2.configure.runtime && O2.configure.runtime.common ? O2.configure.runtime.common : {};
23
+ if (A.class && (q.value += " " + A.class), A.style) {
24
+ Object.assign(W.value, A.style);
25
+ const e3 = O2.pageContext && O2.pageContext.dimensions ? O2.pageContext.dimensions : x.PC, t2 = A.style[e3 + "_style"];
26
+ t2 && Object.assign(W.value, t2);
27
+ const o2 = A.style[e3 + "_class"];
28
+ o2 && (q.value += " " + o2);
29
+ }
30
+ function D(e3) {
31
+ if (S.value = e3, e3 && !e3.show && (e3.show = function() {
32
+ H.value = true;
33
+ }), e3 && !e3.hide && (e3.hide = function() {
34
+ H.value = false;
35
+ }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
36
+ return O2.configure;
37
+ }), O2.configure.uuid && h(O2.pageContext, O2.configure.uuid, S), O2.configure.code) C(O2.pageContext, O2.configure.code, S);
38
+ else if (O2.configure.props && O2.configure.props.base) {
39
+ const e4 = O2.configure.props.base;
40
+ if (e4.prop) {
41
+ let t3 = e4.prop;
42
+ t3.startsWith("${") && (t3 = t3.substring(2, t3.length - 1)), t3.includes(".") && (t3 = t3.substring(t3.indexOf(".") + 1)), C(O2.pageContext, t3, S);
43
+ }
44
+ }
45
+ const t2 = O2.configure.props ? O2.configure.props.base : null;
46
+ if (t2 && t2.prop) {
47
+ let e4 = t2.prop;
48
+ e4 = w(e4), b(O2.pageContext, e4);
49
+ }
50
+ !function() {
51
+ if (!S.value) return;
52
+ const e4 = j(O2.pageContext, O2.configure);
53
+ "table" !== O2.configure.name && e4 && e4.isCalcHeight && v(() => {
54
+ let e5 = S.value.$el;
55
+ e5 || (e5 = S.value);
56
+ const t3 = e5.parentNode;
57
+ if (!e5 || !t3) return;
58
+ const o2 = e5.getBoundingClientRect();
59
+ let n2 = window.innerHeight - o2.y - 80, i2 = n2 + "";
60
+ B(n2) && (i2 = n2 + "px"), W.value.height = i2, W.value["overflow-y"] = "auto", W.value["overflow-x"] = "hidden", O2.configure.sytle || (O2.configure.sytle = {}), O2.configure.sytle._heightStyle = i2;
61
+ });
62
+ }();
63
+ }
64
+ n(() => {
65
+ E();
66
+ });
67
+ const E = () => {
68
+ if (!S.value) return;
69
+ let e3 = S.value.$el;
70
+ e3 || (e3 = S.value);
71
+ const t2 = e3.parentNode;
72
+ if (!e3 || !t2) return;
73
+ const o2 = O2.configure.props ? O2.configure.props : {}, n2 = O2.configure.style ? O2.configure.style : {}, i2 = o2.position;
74
+ if ("top" == i2 || "bottom" == i2) {
75
+ const o3 = [t2];
76
+ if (o3 && o3.length > 0) {
77
+ const e4 = o3[0].getBoundingClientRect();
78
+ "top" == i2 && (W.value.top = e4.top + "px"), "bottom" == i2 && (W.value.bottom = "10px");
79
+ }
80
+ const n3 = e3.getBoundingClientRect();
81
+ W.value.width = n3.width + "px";
82
+ } else if (n2.position && (W.value.position = n2.position, "relative" != W.value.position)) {
83
+ if (!W.value.width) {
84
+ const t3 = e3.getBoundingClientRect();
85
+ W.value.width = t3.width + "px";
86
+ }
87
+ n2.left && (W.value.left = n2.left + "px"), n2.top && (W.value.top = n2.top + "px");
88
+ }
89
+ };
90
+ return (e3, t2) => {
91
+ const o2 = i("permission");
92
+ return r(R)(e3.configure) ? u((c(), l(p(k.value), { key: 0, ref: D, style: f(W.value), class: a(q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[g, r(N)], [o2, r($) ? r($) : "true"]]) : s("", true);
93
+ };
94
+ } });
95
+ export {
96
+ O as default
97
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./home-chart-render.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -4,7 +4,7 @@ interface MyProps {
4
4
  pageContext: PageContext;
5
5
  configure: Component;
6
6
  }
7
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>>, {}, {}>;
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
8
  export default _default;
9
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
10
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,11 +1,11 @@
1
- import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, resolveDirective as s, unref as r, withDirectives as u, openBlock as l, createBlock as p, resolveDynamicComponent as a, normalizeStyle as c, normalizeClass as f, vShow as g, createCommentVNode as d, nextTick as v } from "vue";
1
+ import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, resolveDirective 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 d, nextTick as v } from "vue";
2
2
  import m from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as C } from "../../utils/assemblys-config.js";
4
4
  import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
- import { addComponentRef as b, addComponentRefByCode as h } from "../../utils/global-refs.js";
5
+ import { addComponentRef as h, addComponentRefByCode as b } from "../../utils/global-refs.js";
6
6
  import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
7
- import { caculateShowCondition as _, getFormPropName as B, getSizeConfig as O } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as P, getPropClassName as R, isNumber as S } from "../../utils/common-util.js";
7
+ import { caculateShowCondition as _, getFormPropName as S, getSizeConfig as B } from "../../utils/page-helper-util.js";
8
+ import { isWorkflowPage as O, getPropClassName as P, isNumber as R } from "../../utils/common-util.js";
9
9
  import { isShowComponent as M } from "../../utils/events/event-util.js";
10
10
  const N = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
11
11
  var _a, _b;
@@ -13,55 +13,50 @@ const N = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
13
13
  null == N2.configure.style && (N2.configure.style = {});
14
14
  const $ = y(N2.configure, N2.pageContext);
15
15
  N2.configure && N2.configure.props && N2.configure.props.base && (N2.configure.props.base.functionCode = $), w(N2.pageContext, N2.configure);
16
- let E = o(true), H = o(true), k = o("");
16
+ let E = o(true), F = o(true), H = o("");
17
17
  if (N2.configure && N2.configure.props) {
18
18
  let e3 = [];
19
- ((_a = N2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof N2.configure.props.base.showConditions ? JSON.parse(N2.configure.props.base.showConditions) : N2.configure.props.base.showConditions), H = t(() => {
19
+ ((_a = N2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof N2.configure.props.base.showConditions ? JSON.parse(N2.configure.props.base.showConditions) : N2.configure.props.base.showConditions), F = t(() => {
20
20
  var _a2;
21
21
  let o2 = true;
22
- if (E.value)
23
- if (e3 && e3.length > 0)
24
- o2 = _(N2.pageContext, e3);
25
- else {
26
- const e4 = (_a2 = N2.configure.props.base) == null ? void 0 : _a2.state;
27
- e4 && "hidden" === e4 && (o2 = false);
28
- }
29
- else
30
- o2 = false;
31
- return o2;
22
+ if (E.value) if (e3 && e3.length > 0) o2 = _(N2.pageContext, e3);
23
+ else {
24
+ const e4 = (_a2 = N2.configure.props.base) == null ? void 0 : _a2.state;
25
+ e4 && "hidden" === e4 && (o2 = false);
26
+ }
27
+ else o2 = false;
28
+ return N2.configure._dynamicShowFlag = o2, o2;
32
29
  });
33
- if (N2.configure._dynamicShowFlag = H, (_b = N2.configure.props.base) == null ? void 0 : _b.editConditions) {
30
+ if (N2.configure._dynamicShowFlag = F, (_b = N2.configure.props.base) == null ? void 0 : _b.editConditions) {
34
31
  const e4 = N2.configure.props.base.editConditions;
35
32
  if (e4.length > 0) {
36
33
  const o2 = N2.configure.runtime ? N2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
37
- if (n2.rawSate = n2.state, P(N2.pageContext) && N2.pageContext.fieldPermissionMap) {
34
+ if (n2.rawSate = n2.state, O(N2.pageContext) && N2.pageContext.fieldPermissionMap) {
38
35
  const e5 = N2.pageContext.fieldPermissionMap.get("all_fields");
39
- if (false === (e5 == null ? void 0 : e5.canEdit))
40
- k.value = "disabled";
36
+ if (false === (e5 == null ? void 0 : e5.canEdit)) H.value = "disabled";
41
37
  else {
42
38
  const e6 = N2.configure.props.base;
43
39
  if (e6 && e6.prop) {
44
40
  let o3 = e6.prop;
45
- o3 = B(o3);
41
+ o3 = S(o3);
46
42
  const t2 = N2.pageContext.fieldPermissionMap.get(o3);
47
- t2 && false === t2.canEdit && (k.value = "disabled");
43
+ t2 && false === t2.canEdit && (H.value = "disabled");
48
44
  }
49
45
  }
50
46
  }
51
47
  n2.state = t({ get() {
52
- if ("disabled" === k.value)
53
- return k.value;
48
+ if ("disabled" === H.value) return H.value;
54
49
  return _(N2.pageContext, e4) ? "" : "disabled";
55
50
  }, set() {
56
51
  } });
57
52
  }
58
53
  }
59
54
  }
60
- const F = o({});
61
- F.value = n(C(N2.configure.name));
55
+ const k = o({});
56
+ k.value = n(C(N2.configure.name));
62
57
  const J = o(true);
63
- null == F.value && (F.value = m, J.value = false);
64
- const W = o(null), q = o({}), z = o(""), A = R(N2.configure);
58
+ null == k.value && (k.value = m, J.value = false);
59
+ const W = o(null), q = o({}), z = o(""), A = P(N2.configure);
65
60
  A && (z.value = A);
66
61
  const D = N2.configure.runtime && N2.configure.runtime.common ? N2.configure.runtime.common : {};
67
62
  if (D.class && (z.value += " " + D.class), D.style) {
@@ -78,33 +73,30 @@ const N = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
78
73
  E.value = false;
79
74
  }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
80
75
  return N2.configure;
81
- }), N2.configure.uuid && b(N2.pageContext, N2.configure.uuid, W), N2.configure.code)
82
- h(N2.pageContext, N2.configure.code, W);
76
+ }), N2.configure.uuid && h(N2.pageContext, N2.configure.uuid, W), N2.configure.code) b(N2.pageContext, N2.configure.code, W);
83
77
  else if (N2.configure.props && N2.configure.props.base) {
84
78
  const e4 = N2.configure.props.base;
85
79
  if (e4.prop) {
86
80
  let o3 = e4.prop;
87
- o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), h(N2.pageContext, o3, W);
81
+ o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), b(N2.pageContext, o3, W);
88
82
  }
89
83
  }
90
84
  const o2 = N2.configure.props ? N2.configure.props.base : null;
91
85
  if (o2 && o2.prop) {
92
86
  let e4 = o2.prop;
93
- e4 = B(e4), j(N2.pageContext, e4);
87
+ e4 = S(e4), j(N2.pageContext, e4);
94
88
  }
95
89
  !function() {
96
- if (!W.value)
97
- return;
98
- const e4 = O(N2.pageContext, N2.configure);
90
+ if (!W.value) return;
91
+ const e4 = B(N2.pageContext, N2.configure);
99
92
  "table" !== N2.configure.name && e4 && e4.isCalcHeight && v(() => {
100
93
  let e5 = W.value.$el;
101
94
  e5 || (e5 = W.value);
102
95
  const o3 = e5.parentNode;
103
- if (!e5 || !o3)
104
- return;
96
+ if (!e5 || !o3) return;
105
97
  const t2 = e5.getBoundingClientRect();
106
98
  let n2 = window.innerHeight - t2.y - 80, i2 = n2 + "";
107
- S(n2) && (i2 = n2 + "px"), q.value.height = i2, q.value["overflow-y"] = "auto", q.value["overflow-x"] = "hidden", N2.configure.sytle || (N2.configure.sytle = {}), N2.configure.sytle._heightStyle = i2;
99
+ R(n2) && (i2 = n2 + "px"), q.value.height = i2, q.value["overflow-y"] = "auto", q.value["overflow-x"] = "hidden", N2.configure.sytle || (N2.configure.sytle = {}), N2.configure.sytle._heightStyle = i2;
108
100
  });
109
101
  }();
110
102
  }
@@ -112,13 +104,11 @@ const N = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
112
104
  I();
113
105
  });
114
106
  const I = () => {
115
- if (!W.value)
116
- return;
107
+ if (!W.value) return;
117
108
  let e3 = W.value.$el;
118
109
  e3 || (e3 = W.value);
119
110
  const o2 = e3.parentNode;
120
- if (!e3 || !o2)
121
- return;
111
+ if (!e3 || !o2) return;
122
112
  const t2 = N2.configure.props ? N2.configure.props : {}, n2 = N2.configure.style ? N2.configure.style : {}, i2 = t2.position;
123
113
  if ("top" == i2 || "bottom" == i2) {
124
114
  const t3 = [o2];
@@ -138,7 +128,7 @@ const N = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
138
128
  };
139
129
  return (e3, o2) => {
140
130
  const t2 = s("permission");
141
- return r(M)(e3.configure) ? u((l(), p(a(F.value), { key: 0, ref: G, style: c(q.value), class: f(z.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[g, r(H)], [t2, r($) ? r($) : "true"]]) : d("", true);
131
+ return l(M)(e3.configure) ? r((a(), p(c(k.value), { key: 0, ref: G, style: f(q.value), class: g(z.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, l(F)], [t2, l($) ? l($) : "true"]]) : u("", true);
142
132
  };
143
133
  } });
144
134
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as r, createElementBlock as s, toDisplayString as a, createBlock as l, normalizeStyle as u } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, resolveComponent as o, createElementBlock as i, createBlock as r, unref as s, openBlock as a, toDisplayString as l, normalizeStyle as u } from "vue";
2
2
  import { getWorkflowId as p } from "../../../../utils/common-util.js";
3
3
  const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
4
  var _a;
@@ -6,14 +6,13 @@ const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContex
6
6
  if (x && (x + "").indexOf("px") > 0) {
7
7
  const e3 = x.substring(0, x.lastIndexOf("px"));
8
8
  m.value = Number(e3) - 20;
9
- } else
10
- m.value = window.innerHeight - 120;
9
+ } else m.value = window.innerHeight - 120;
11
10
  const y = t(null), c = p(g2.pageContext);
12
11
  return g2.pageContext.entity && g2.pageContext.entity.task && n(g2.pageContext.entity.task.id, () => {
13
12
  c && y.value && y.value.refresh();
14
13
  }, { immediate: true }), (e3, t2) => {
15
14
  const n2 = o("workflow-history");
16
- return i(c) ? (r(), l(n2, { key: 1, id: i(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (r(), s("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
15
+ return s(c) ? (a(), r(n2, { key: 1, id: s(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (a(), i("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
17
16
  };
18
17
  } });
19
18
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as s, createElementBlock as r, toDisplayString as l, createBlock as a, normalizeStyle as u } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, resolveComponent as o, createElementBlock as i, createBlock as s, unref as r, openBlock as l, toDisplayString as a, normalizeStyle as u } from "vue";
2
2
  import { getWorkflowId as p } from "../../../../utils/common-util.js";
3
3
  const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
4
  var _a;
@@ -6,8 +6,7 @@ const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext:
6
6
  if (m && (m + "").indexOf("px") > 0) {
7
7
  const e3 = m.substring(0, m.lastIndexOf("px"));
8
8
  x.value = Number(e3) - 20;
9
- } else
10
- x.value = window.innerHeight - 120;
9
+ } else x.value = window.innerHeight - 120;
11
10
  const y = t(null), w = p(g2.pageContext);
12
11
  return g2.pageContext.entity && g2.pageContext.entity.task && n(() => {
13
12
  var _a2;
@@ -16,7 +15,7 @@ const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext:
16
15
  w && y.value && g2.pageContext.entity.task && y.value.refresh();
17
16
  }, { immediate: true }), (e3, t2) => {
18
17
  const n2 = o("workflow-history-list");
19
- return i(w) ? (s(), a(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": i(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (s(), r("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
18
+ return r(w) ? (l(), s(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": r(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (l(), i("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
20
19
  };
21
20
  } });
22
21
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, openBlock as n, createElementBlock as o, Fragment as r, renderList as u, createBlock as s, createCommentVNode as i } from "vue";
1
+ import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as s, createCommentVNode as i } from "vue";
2
2
  import a from "../../object-render.vue.js";
3
3
  import { getClickEventFuncByType as c } from "../../../../utils/events/event-util.js";
4
4
  import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
@@ -11,13 +11,12 @@ const l = { class: "page-runtime-header-btn" }, p = e({ __name: "workflowbutton-
11
11
  const t2 = function(e5) {
12
12
  const t3 = c(p2.pageContext, e5, "click");
13
13
  if (t3) {
14
- if (t3.isStandard)
15
- return t3.event.eventName;
14
+ if (t3.isStandard) return t3.event.eventName;
16
15
  }
17
16
  }(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
18
17
  return m(t2, g, v);
19
18
  })(e3) && x.value.push(e3);
20
- }), (e3, t2) => (n(), o("span", l, [(n(true), o(r, null, u(x.value, (t3, u2) => (n(), o(r, null, [t3.check ? (n(), s(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
19
+ }), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(x.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), s(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
21
20
  } });
22
21
  export {
23
22
  p as default
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, ref as e, onMounted as n, openBlock as a, createElementBlock as o, normalizeClass as p, unref as r, createElementVNode as i, normalizeStyle as u, toDisplayString as l, createCommentVNode as s } from "vue";
1
+ import { defineComponent as t, ref as e, onMounted as n, createElementBlock as a, createCommentVNode as o, openBlock as p, normalizeClass as r, unref as i, createElementVNode as u, normalizeStyle as l, toDisplayString as s } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as c, setVariableValue as f } from "../../../../utils/page-helper-util.js";
4
4
  const m = t({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(t2, { expose: m2 }) {
@@ -11,7 +11,7 @@ const m = t({ __name: "workflownode-runtime", props: { pageContext: {}, configur
11
11
  return c(C, d);
12
12
  }, setValue: function(t3) {
13
13
  return f(C, d, t3);
14
- } }), (t3, e2) => y.value ? (a(), o("span", { key: 0, class: p(r(T)) }, [i("span", { style: u(r(I)) }, [i("span", null, l(v.value.title), 1), i("span", null, l(r(R)), 1)], 4)], 2)) : s("", true);
14
+ } }), (t3, e2) => y.value ? (p(), a("span", { key: 0, class: r(i(T)) }, [u("span", { style: l(i(I)) }, [u("span", null, s(v.value.title), 1), u("span", null, s(i(R)), 1)], 4)], 2)) : o("", true);
15
15
  } });
16
16
  export {
17
17
  m as default
@@ -0,0 +1,23 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ chartCode: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ homeChartSettingUserId: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ chartCode: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ homeChartSettingUserId: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ chartCode: string;
21
+ homeChartSettingUserId: number;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ export default _default;