super-page-runtime 2.3.5 → 2.3.6

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 (28) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +60 -52
  2. package/dist/es/components/runtime/utils/common-util.d.ts +1 -1
  3. package/dist/es/components/runtime/utils/common-util.js +62 -47
  4. package/dist/es/components/runtime/utils/events/standard-event.js +3 -1
  5. package/dist/es/components/runtime/utils/events/validator-util.js +22 -22
  6. package/dist/es/components/runtime/utils/page-init-util.d.ts +1 -1
  7. package/dist/es/components/runtime/utils/page-init-util.js +60 -47
  8. package/dist/es/components/runtime/utils/table-utils.d.ts +14 -0
  9. package/dist/es/components/runtime/utils/table-utils.js +57 -32
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +10 -2
  12. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +29 -21
  13. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +6 -6
  14. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +129 -129
  15. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +8 -4
  16. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +24 -22
  17. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +48 -48
  18. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +42 -42
  19. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
  21. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +23 -22
  22. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +60 -51
  24. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +69 -67
  25. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  26. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  27. package/dist/es/style.css +82 -82
  28. package/package.json +2 -2
@@ -1,86 +1,95 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as n, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as 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 k, getVariableValue as w, getOptionDatasFromPage as _, queryOptionDatasources as S, autoSetAfterSelect as T } from "../../../../utils/page-helper-util.js";
3
- import { getFormModelFields as j } from "../../../../utils/page-init-util.js";
4
- import { handleFormEvent as R, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
5
- import z from "../common/title-suffix-element.vue.js";
6
- import { $t as I } from "../../../../utils/i18n-util.js";
7
- const M = { style: { float: "left" } }, q = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, A = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as r, resolveComponent as i, createBlock as n, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as v, createVNode as g, createElementBlock as m, Fragment as d, renderList as h, createCommentVNode as y, createElementVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
+ import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as _, getVariableValue as T } from "../../../../utils/page-helper-util.js";
3
+ import { getFormModelFields as A } from "../../../../utils/page-init-util.js";
4
+ import { handleFormEvent as j, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
5
+ import R from "../common/title-suffix-element.vue.js";
6
+ import { $t as z } from "../../../../utils/i18n-util.js";
7
+ const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, q = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
8
8
  const O = e2, P = O.pageContext.entity ? O.pageContext.entity : {};
9
- let D = j(O.pageContext, O.configure);
10
- const W = O.configure.runtime ? O.configure.runtime : {}, E = W.style, F = W.class, U = W.headerStyle, $ = W.titleExceedStyle, B = t(W.props ? W.props : {}), G = l({ get() {
11
- let e3 = w(P, D);
12
- return null != e3 && (e3 += ""), B.value.multiple && (e3 = e3 ? e3.split(",") : []), e3;
13
- }, set(e3) {
14
- B.value.multiple && e3 && e3.length > 0 && !B.value.arrayValue && (e3 = e3.join(",")), k(P, D, e3);
15
- } }), H = t(B.value.options ? B.value.options : []), J = _(O.pageContext, O.configure);
16
- J.length > 0 && (H.value = J);
17
- const K = t(false), L = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, N = L.optionValueSetType;
18
- let Q = [];
19
- const X = B.value.optionconfigInfo ? B.value.optionconfigInfo : {};
20
- if ("dynamicData" == N || "dataTable" == N || "service" == N) {
21
- if ("remote" == L.filterType) {
9
+ let D = A(O.pageContext, O.configure);
10
+ const W = O.configure.runtime ? O.configure.runtime : {}, E = W.style, F = W.class, U = W.headerStyle, $ = W.titleExceedStyle, B = t(W.props ? W.props : {});
11
+ let G = [];
12
+ function H() {
13
+ let e3 = T(P, D);
14
+ return null != e3 && (e3 = String(e3)), B.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
15
+ }
16
+ const J = l({ get: () => H(), set(e3) {
17
+ const t2 = H();
18
+ G = Array.isArray(t2) ? [...t2] : t2;
19
+ let l2 = e3;
20
+ if (B.value.multiple) {
21
+ l2 = !!B.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
22
+ }
23
+ S(P, D, l2);
24
+ } }), K = t(B.value.options ? B.value.options : []), L = k(O.pageContext, O.configure);
25
+ L.length > 0 && (K.value = L);
26
+ const N = t(false), Q = O.configure.props && O.configure.props.dataOrigin ? O.configure.props.dataOrigin : {}, X = Q.optionValueSetType;
27
+ let Y = [];
28
+ const Z = B.value.optionconfigInfo ? B.value.optionconfigInfo : {};
29
+ if ("dynamicData" == X || "dataTable" == X || "service" == X) {
30
+ if ("remote" == Q.filterType) {
22
31
  let e3;
23
32
  B.value.filterable = true, B.value.remote = true, B.value.remoteShowSuffix = true, B.value.remoteMethod = function(t2) {
24
- e3 !== t2 && (e3 = t2, K.value = true, S(O.pageContext, X, t2).then((e4) => {
25
- K.value = false;
33
+ e3 !== t2 && (e3 = t2, N.value = true, w(O.pageContext, Z, t2).then((e4) => {
34
+ N.value = false;
26
35
  }).then((e4) => {
27
- K.value = false;
36
+ N.value = false;
28
37
  }));
29
38
  };
30
39
  }
31
- if (L.autoSets) for (let e3 of L.autoSets) e3.source && Q.push(e3);
40
+ if (Q.autoSets) for (let e3 of Q.autoSets) e3.source && Y.push(e3);
32
41
  }
33
- O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && Q.push({ source: "label", target: O.configure.props.base.optionProp }), B.value.changeMethod = function(e3) {
42
+ O.configure && O.configure.props && O.configure.props.base && O.configure.props.base.optionProp && Y.push({ source: "label", target: O.configure.props.base.optionProp }), B.value.changeMethod = function(e3) {
34
43
  let t2, l2 = null;
35
- H.value && null != e3 && null != e3 && (l2 = H.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
36
- Q.length > 0 && T(O.configure, O.pageContext, Q, l2, [B.value.prop]);
44
+ K.value && null != e3 && null != e3 && (l2 = K.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
45
+ Y.length > 0 && _(O.configure, O.pageContext, Y, l2, [B.value.prop]);
37
46
  l2 && l2.length > 0 && (t2 = l2[0]);
38
47
  let o2 = {};
39
- t2 && (o2 = { extendParams: t2 });
40
- R(e3, O.pageContext, O.configure, "change", o2);
48
+ t2 && (o2.extendParams = t2);
49
+ o2.options = K.value, o2.oldValue = G, j(e3, O.pageContext, O.configure, "change", o2);
41
50
  };
42
- const Y = B.value.monitorFields, Z = [];
43
- if (Y) {
51
+ const ee = B.value.monitorFields, te = [];
52
+ if (ee) {
44
53
  const e3 = [];
45
- for (let t2 of Y) if (t2.startsWith("${")) {
54
+ for (let t2 of ee) if (t2.startsWith("${")) {
46
55
  t2 = t2.substring(2, t2.length - 1);
47
56
  const l2 = t2.split(".");
48
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (Z.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
57
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (te.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
49
58
  }
50
59
  for (let t2 of e3) o(P[t2], () => {
51
- oe();
60
+ ue();
52
61
  });
53
62
  }
54
- function ee() {
63
+ function le() {
55
64
  let e3 = [];
56
- for (let t2 of Z) e3.push(w(P, t2));
65
+ for (let t2 of te) e3.push(T(P, t2));
57
66
  return e3.join(",");
58
67
  }
59
- let te = ee(), le = false;
60
- function oe() {
61
- le && clearTimeout(le), le = setTimeout(function() {
62
- const e3 = ee();
63
- e3 != te && (te = e3, X.watchAttrValue = e3, S(O.pageContext, X, void 0).then((e4) => {
64
- K.value = false;
68
+ let oe = le(), ae = false;
69
+ function ue() {
70
+ ae && clearTimeout(ae), ae = setTimeout(function() {
71
+ const e3 = le();
72
+ e3 != oe && (oe = e3, Z.watchAttrValue = e3, w(O.pageContext, Z, void 0).then((e4) => {
73
+ N.value = false;
65
74
  }));
66
75
  }, 200);
67
76
  }
68
77
  a(() => {
69
- le && clearTimeout(le);
78
+ ae && clearTimeout(ae);
70
79
  });
71
- const ae = t(null), ue = t(null), ne = t(null);
80
+ const re = t(null), ie = t(null), ne = t(null);
72
81
  return u(() => {
73
- n(() => {
74
- const e3 = G.value;
75
- V(e3, O.pageContext, O.configure, { formItemRef: ae.value, componentRef: ue.value, titleRef: ne.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
82
+ r(() => {
83
+ const e3 = J.value;
84
+ V(e3, O.pageContext, O.configure, { formItemRef: re.value, componentRef: ie.value, titleRef: ne.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
76
85
  });
77
- }), A2({ updateOptions: function(e3) {
78
- H.value = e3 || [];
86
+ }), q2({ updateOptions: function(e3) {
87
+ K.value = e3 || [];
79
88
  } }), (e3, t2) => {
80
89
  const l2 = i("el-option"), o2 = i("el-select"), a2 = i("el-form-item");
81
- return s(), r(a2, { ref_key: "formItemRef", ref: ae, required: !!B.value.required, class: f(c(F)), "label-width": B.value.labelWidth, style: p(c(E)) }, { label: v(() => [B.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: ne, style: p({ ...c(U), ...c($) }) }, [B.value.prefixType ? (s(), r(z, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(I)(B.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(o2, { ref_key: "componentRef", ref: ue, style: { width: "100%" }, disabled: "disabled" === B.value.state, size: B.value.size, clearable: B.value.clearable, multiple: B.value.multiple, "collapse-tags": B.value.collapseTags, "collapse-tags-tooltip": B.value.collapseTagsTooltip, filterable: B.value.filterable, "allow-create": B.value.allowCreate, placeholder: B.value.placeholder, "remote-show-suffix": B.value.remoteShowSuffix, remote: B.value.remote, "remote-method": B.value.remoteMethod, loading: K.value, onChange: B.value.changeMethod, modelValue: G.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => G.value = e4) }, { default: v(() => [(s(true), m(d, null, h(H.value, (t3) => (s(), r(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(R)(t3.value, e3.pageContext, e3.configure, "click", { values: G.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", M, b(t3.label), 1), x("span", q, b(t3._description_), 1)], 64)) : y("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
90
+ return s(), n(a2, { ref_key: "formItemRef", ref: re, required: !!B.value.required, class: f(c(F)), "label-width": B.value.labelWidth, style: p(c(E)) }, { label: v(() => [B.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: ne, style: p({ ...c(U), ...c($) }) }, [B.value.prefixType ? (s(), n(R, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(z)(B.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(o2, { ref_key: "componentRef", ref: ie, style: { width: "100%" }, disabled: "disabled" === B.value.state, size: B.value.size, clearable: B.value.clearable, multiple: B.value.multiple, "collapse-tags": B.value.collapseTags, "collapse-tags-tooltip": B.value.collapseTagsTooltip, filterable: B.value.filterable, "allow-create": B.value.allowCreate, placeholder: B.value.placeholder, "remote-show-suffix": B.value.remoteShowSuffix, remote: B.value.remote, "remote-method": B.value.remoteMethod, loading: N.value, onChange: B.value.changeMethod, modelValue: J.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => J.value = e4) }, { default: v(() => [(s(true), m(d, null, h(K.value, (t3) => (s(), n(l2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e3.pageContext, e3.configure, "click", { values: J.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", I, b(t3.label), 1), x("span", M, b(t3._description_), 1)], 64)) : y("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
82
91
  };
83
92
  } });
84
93
  export {
85
- A as default
94
+ q as default
86
95
  };
@@ -1,126 +1,128 @@
1
- import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as s, onUnmounted as i, resolveDirective as r, withDirectives as u, createCommentVNode as l, unref as a, createBlock as p, openBlock as c, resolveDynamicComponent as g, normalizeClass as f, normalizeStyle as m, vShow as d, nextTick as C } from "vue";
2
- import v from "./error-render.vue.js";
3
- import { getRuntimeComponentByName as b } from "../../utils/assemblys-config.js";
4
- import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
- import { addComponentRef as h, addComponentRefByCode as y } from "../../utils/global-refs.js";
6
- import { getPermissionCodes as w, packageFormRules as j, controlObjectRenderState as N } from "../../utils/page-init-util.js";
7
- import { caculateShowCondition as _, getFormPropName as L, getSizeConfig as O } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as P, getPropClassName as S, isNumber as T } from "../../utils/common-util.js";
9
- import { isShowMobileEvent as $, isShowComponent as H } from "../../utils/events/event-util.js";
10
- import { usePageContextStore as M } from "../../utils/page-store.js";
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";
2
+ import C from "./error-render.vue.js";
3
+ import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
4
+ import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as x, addComponentRefByCode as h } from "../../utils/global-refs.js";
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";
11
13
  const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
12
14
  var _a, _b;
13
15
  const k2 = e2;
14
16
  null == k2.configure.style && (k2.configure.style = {});
15
- const B = w(k2.configure, k2.pageContext);
16
- k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.functionCode = B), j(k2.pageContext, k2.configure);
17
- let E = o(null), F = o(true), J = o("");
17
+ const A = y(k2.configure, k2.pageContext);
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;
20
+ k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.isHasFieldAuthPermission = J), j(k2.pageContext, k2.configure, J);
21
+ let R = o(null), W = o(true), q = o("");
18
22
  if (k2.configure && k2.configure.props) {
19
23
  let e3 = [];
20
- ((_a = k2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof k2.configure.props.base.showConditions ? JSON.parse(k2.configure.props.base.showConditions) : k2.configure.props.base.showConditions), F = t(() => {
24
+ ((_a = k2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof k2.configure.props.base.showConditions ? JSON.parse(k2.configure.props.base.showConditions) : k2.configure.props.base.showConditions), W = t(() => {
21
25
  var _a2;
22
26
  let o2 = true;
23
- if (E.value && null !== E.value) o2 = "show" === E.value;
24
- else if ($(k2.pageContext, k2.configure)) if (e3 && e3.length > 0) o2 = _(k2.pageContext, e3);
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);
25
29
  else {
26
30
  const e4 = (_a2 = k2.configure.props.base) == null ? void 0 : _a2.state;
27
31
  e4 && "hidden" === e4 && (o2 = false);
28
32
  }
29
33
  else o2 = false;
34
+ else o2 = false;
30
35
  return o2;
31
36
  });
32
- if (k2.configure._dynamicShowFlag = F, (_b = k2.configure.props.base) == null ? void 0 : _b.editConditions) {
37
+ if (k2.configure._dynamicShowFlag = W, (_b = k2.configure.props.base) == null ? void 0 : _b.editConditions) {
33
38
  const e4 = k2.configure.props.base.editConditions;
34
39
  if (e4.length > 0) {
35
40
  const o2 = k2.configure.runtime ? k2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
36
- if (n2.rawSate = n2.state, P(k2.pageContext) && k2.pageContext.fieldPermissionMap) {
41
+ if (n2.rawSate = n2.state, L(k2.pageContext) && k2.pageContext.fieldPermissionMap) {
37
42
  const e5 = k2.configure.props.base;
38
43
  if (e5 && e5.prop) {
39
44
  let o3 = e5.prop;
40
- o3 = L(o3);
45
+ o3 = _(o3);
41
46
  const t2 = k2.pageContext.fieldPermissionMap.get(o3);
42
- t2 && false === t2.canEdit && (J.value = "disabled");
47
+ t2 && false === t2.canEdit && (q.value = "disabled");
43
48
  }
44
49
  }
45
50
  n2.state = t({ get() {
46
- if ("disabled" === J.value) return J.value;
47
- return _(k2.pageContext, e4) ? "" : "disabled";
51
+ if ("disabled" === q.value) return q.value;
52
+ return N(k2.pageContext, e4) ? "" : "disabled";
48
53
  }, set() {
49
54
  } });
50
55
  }
51
56
  }
52
57
  }
53
- const R = o({});
54
- R.value = n(b(k2.configure.name));
55
- const W = o(true);
56
- null == R.value && (R.value = v, W.value = false);
57
- const q = o(null), z = o({}), A = o(""), D = S(k2.configure);
58
- D && (A.value = D);
59
- const G = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
60
- if (G.class && (A.value += " " + G.class), G.style) {
61
- Object.assign(z.value, G.style);
62
- const e3 = k2.pageContext && k2.pageContext.dimensions ? k2.pageContext.dimensions : x.PC, o2 = G.style[e3 + "_style"];
63
- o2 && Object.assign(z.value, o2);
64
- const t2 = G.style[e3 + "_class"];
65
- t2 && (A.value += " " + t2);
58
+ const z = o({});
59
+ z.value = n(v(k2.configure.name));
60
+ const D = o(true);
61
+ null == z.value && (z.value = C, D.value = false);
62
+ const G = o(null), I = o({}), K = o(""), Q = O(k2.configure);
63
+ Q && (K.value = Q);
64
+ const U = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
65
+ if (U.class && (K.value += " " + U.class), U.style) {
66
+ Object.assign(I.value, U.style);
67
+ const e3 = k2.pageContext && k2.pageContext.dimensions ? k2.pageContext.dimensions : b.PC, o2 = U.style[e3 + "_style"];
68
+ o2 && Object.assign(I.value, o2);
69
+ const t2 = U.style[e3 + "_class"];
70
+ t2 && (K.value += " " + t2);
66
71
  }
67
- const I = M();
68
- function K(e3) {
69
- if (q.value = e3, e3 && !e3.show && (e3.show = function() {
70
- E.value = "show";
72
+ const V = $();
73
+ function X(e3) {
74
+ if (G.value = e3, e3 && !e3.show && (e3.show = function() {
75
+ R.value = "show";
71
76
  }), e3 && !e3.hide && (e3.hide = function() {
72
- E.value = "hide";
77
+ R.value = "hide";
73
78
  }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
74
79
  return k2.configure;
75
- }), k2.configure.uuid && h(k2.pageContext, k2.configure.uuid, q), k2.configure.code) y(k2.pageContext, k2.configure.code, q);
76
- else if ("table" === k2.configure.name) y(k2.pageContext, k2.configure.uuid, q);
80
+ }), k2.configure.uuid && x(k2.pageContext, k2.configure.uuid, G), k2.configure.code) h(k2.pageContext, k2.configure.code, G);
81
+ else if ("table" === k2.configure.name) h(k2.pageContext, k2.configure.uuid, G);
77
82
  else if (k2.configure.props && k2.configure.props.base) {
78
83
  const e4 = k2.configure.props.base;
79
84
  if (e4.prop) {
80
85
  let o3 = e4.prop;
81
- o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), y(k2.pageContext, o3, q);
86
+ o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), h(k2.pageContext, o3, G);
82
87
  }
83
88
  }
84
89
  const o2 = k2.configure.props ? k2.configure.props.base : null;
85
90
  if (o2 && o2.prop) {
86
91
  let e4 = o2.prop;
87
- e4 = L(e4), N(k2.pageContext, e4);
92
+ e4 = _(e4), w(k2.pageContext, e4);
88
93
  }
89
94
  !function() {
90
- if (!q.value) return;
91
- const e4 = O(k2.pageContext, k2.configure);
92
- "table" !== k2.configure.name && e4 && e4.isCalcHeight && C(() => {
93
- let e5 = q.value.$el;
94
- e5 || (e5 = q.value);
95
+ if (!G.value) return;
96
+ const e4 = P(k2.pageContext, k2.configure);
97
+ "table" !== k2.configure.name && e4 && e4.isCalcHeight && d(() => {
98
+ let e5 = G.value.$el;
99
+ e5 || (e5 = G.value);
95
100
  const o3 = e5.parentNode;
96
101
  if (!e5 || !o3) return;
97
102
  const t2 = e5.getBoundingClientRect();
98
- let n2 = window.innerHeight - t2.y - 80, s2 = n2 + "";
99
- T(n2) && (s2 = n2 + "px"), z.value.height = s2, z.value["overflow-y"] = "auto", z.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = s2;
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;
100
105
  });
101
106
  }();
102
107
  }
103
- let Q;
104
- s(() => {
105
- U(), I.countComponentsLoadedNumber(), Q = setTimeout(() => {
106
- I.componentsTotalNmber !== I.componentsLoadedNumber || I.pageComponentsLoaded || I.setPageComponentsLoaded(true);
108
+ let Y;
109
+ i(() => {
110
+ Z(), V.countComponentsLoadedNumber(), Y = setTimeout(() => {
111
+ V.componentsTotalNmber !== V.componentsLoadedNumber || V.pageComponentsLoaded || V.setPageComponentsLoaded(true);
107
112
  }, 30);
108
- }), i(() => {
109
- Q && clearTimeout(Q);
113
+ }), s(() => {
114
+ Y && clearTimeout(Y);
110
115
  });
111
- const U = () => {
112
- if (!q.value) return;
113
- let e3 = q.value.$el;
114
- e3 || (e3 = q.value);
116
+ const Z = () => {
117
+ if (!G.value) return;
118
+ let e3 = G.value.$el;
119
+ e3 || (e3 = G.value);
115
120
  const o2 = e3.parentNode;
116
121
  if (!e3 || !o2) return;
117
- const t2 = k2.configure.props ? k2.configure.props : {}, n2 = k2.configure.style ? k2.configure.style : {}, s2 = t2.position;
118
- "top" == s2 || "bottom" == s2 || n2.position;
119
- };
120
- return (e3, o2) => {
121
- const t2 = r("permission");
122
- return a(H)(e3.configure) ? u((c(), p(g(R.value), { key: 0, ref: K, style: m(z.value), class: f(A.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, a(F)], [t2, { codes: a(B) ? a(B) : "true", systemCode: e3.pageContext.systemCode }]]) : l("", true);
122
+ const t2 = k2.configure.props ? k2.configure.props : {}, n2 = k2.configure.style ? k2.configure.style : {}, i2 = t2.position;
123
+ "top" == i2 || "bottom" == i2 || n2.position;
123
124
  };
125
+ return (e3, o2) => l(J) && l(T)(e3.configure) ? r((a(), p(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
124
126
  } });
125
127
  export {
126
128
  k as default
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
46
46
  required: false;
47
47
  };
48
48
  contentHeight: {
49
- type: (NumberConstructor | StringConstructor)[];
49
+ type: (StringConstructor | NumberConstructor)[];
50
50
  default: any;
51
51
  };
52
52
  isDialog: {
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
104
104
  required: false;
105
105
  };
106
106
  contentHeight: {
107
- type: (NumberConstructor | StringConstructor)[];
107
+ type: (StringConstructor | NumberConstructor)[];
108
108
  default: any;
109
109
  };
110
110
  isDialog: {
@@ -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-1cd9ea13"]]);
4
+ const r = p(e, [["__scopeId", "data-v-5ed222b6"]]);
5
5
  export {
6
6
  r as default
7
7
  };