super-page-runtime 2.3.24 → 2.3.25

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.
@@ -972,7 +972,7 @@ function Ie(e2, t2, n2, s2, o2, i2) {
972
972
  return false;
973
973
  }(n2)));
974
974
  if ((o2 == null ? void 0 : o2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) && a2 && e2) {
975
- e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = true : e2.workflowOpinion = { showOpinionBox: true };
975
+ e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = false : e2.workflowOpinion = { showOpinionBox: false };
976
976
  let t3 = false;
977
977
  if ((_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) {
978
978
  if (t3 = true, true === t3) {
@@ -84,11 +84,13 @@ function g(e2, n2, r2) {
84
84
  if (u4 && u4.notEmpty) {
85
85
  let r8 = false;
86
86
  if (n5[o5] ? Array.isArray(n5[o5]) && 0 === n5[o5].length && (r8 = true) : r8 = true, r8) {
87
- const r9 = s(e5, o5).getConfigure();
87
+ const r9 = s(e5, o5);
88
+ if (!r9) return true;
89
+ const l4 = r9.getConfigure();
88
90
  if ((_a = u4.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
89
91
  if (false === a(u4.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, n5, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
90
92
  }
91
- return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: r9.title ? r9.title : o5 }), type: "warning" }), false;
93
+ return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: l4.title ? l4.title : o5 }), type: "warning" }), false;
92
94
  }
93
95
  }
94
96
  }
@@ -251,7 +251,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
251
251
  }(r2), columns: e3, title: oe == null ? void 0 : oe.title };
252
252
  } }), (o2, r2) => {
253
253
  const t2 = i("el-table");
254
- return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": je, "row-style": $e, "cell-style": Fe, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(N, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(I, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(R, { key: 0, configure: e2.configure, "table-data": ne.value, total: ye.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
254
+ return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": je, "row-style": $e, "cell-style": Fe, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(N, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(I, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(R, { key: 0, configure: e2.configure, "table-data": ne.value, total: ye.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
255
255
  };
256
256
  } });
257
257
  export {
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
2
- import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as S, rowDblClick as w, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
2
+ import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
- import { isMobileBrowser as N, isPromise as B } from "agilebuilder-ui/src/utils/common-util";
6
- import { getOperationButtons as P, popupToPage as F } from "../../../../utils/table-utils.js";
5
+ import { isMobileBrowser as N, isPromise as P } from "agilebuilder-ui/src/utils/common-util";
6
+ import { getOperationButtons as B, popupToPage as F } from "../../../../utils/table-utils.js";
7
7
  import H from "../../../../utils/eventBus.js";
8
8
  import { getDefaultValue as U } from "../../../../utils/page-init-util.js";
9
- import { getSizeConfig as M, caculateShowCondition as L, decomposeVariable as $ } from "../../../../utils/page-helper-util.js";
10
- import { getComponentRefByCode as _ } from "../../../../utils/global-refs.js";
11
- import { getRowStyleUtil as A, getCellStyleUtil as G, getHeaderCellStyleUtil as z } from "../../chart/table/chart-table-util.js";
9
+ import { getSizeConfig as M, caculateShowCondition as $, decomposeVariable as _ } from "../../../../utils/page-helper-util.js";
10
+ import { getComponentRefByCode as A } from "../../../../utils/global-refs.js";
11
+ import { getRowStyleUtil as L, getCellStyleUtil as G, getHeaderCellStyleUtil as z } from "../../chart/table/chart-table-util.js";
12
12
  const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: q2, emit: Q }) {
13
13
  const Y = e2, J = Y.pageContext;
14
14
  let K = Y.configure;
@@ -19,18 +19,18 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
19
19
  ie || (ie = window.$vueApp.config.globalProperties.baseURL);
20
20
  const ae = t({}), le = [], re = t({});
21
21
  re.value = function() {
22
- var _a;
22
+ var _a, _b, _c;
23
23
  const e3 = J.systemCode, t2 = J.code;
24
24
  let n2 = K.props && K.props.dataOrigin && "[]" !== K.props.dataOrigin.sqlFilterCondition ? K.props.dataOrigin.sqlFilterCondition : null;
25
25
  null == n2 && (n2 = []);
26
- const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Ce, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: !(!K.props || !K.props.otherSettings || void 0 !== K.props.otherSettings.isBreakLine && false !== K.props.otherSettings.isBreakLine), isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze };
26
+ const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Ce, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: (_c = (_b = K == null ? void 0 : K.props) == null ? void 0 : _b.otherSettings) == null ? void 0 : _c.showOverflowTooltip, isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze };
27
27
  return function(e4) {
28
28
  var _a2;
29
29
  ((_a2 = K.props.highOrder) == null ? void 0 : _a2.mergeFields) && K.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = K.props.highOrder.mergeFields.join(","));
30
30
  }(i2), function(e4) {
31
31
  const t3 = [];
32
32
  e4.operations || (e4.operations = {});
33
- P(J, K, t3, xe), e4.operations.operation = t3;
33
+ B(J, K, t3, xe), e4.operations.operation = t3;
34
34
  }(i2), function(e4) {
35
35
  K.props && K.props.dataOrigin && K.props.dataOrigin.sortField && (e4.initSortInfo = [], K.props.dataOrigin.sortField.forEach((t3) => {
36
36
  const n3 = { order: "desc" === t3.type ? "desc" : "asc" };
@@ -59,16 +59,16 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
59
59
  let e3 = ie + "/dsc/commons/list";
60
60
  e3 && (e3 = O(e3, te, ne, J.isTest));
61
61
  return e3;
62
- }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), Se = Q;
63
- function we() {
62
+ }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), we = Q;
63
+ function Se() {
64
64
  K.props.linkages && K.props.linkages.length > 0 && (K.props.linkages.forEach((e3) => {
65
- const t2 = $(e3.fieldName);
65
+ const t2 = _(e3.fieldName);
66
66
  t2 && t2.length > 1 && le.push(t2[1]);
67
67
  }), le.length > 0 && function() {
68
68
  let e3 = [];
69
69
  Y.pageContext.toolsInputComponents && Y.pageContext.toolsInputComponents.length > 0 && Y.pageContext.toolsInputComponents.forEach((t2) => {
70
70
  if (K.props.linkages.some((e4) => e4.fieldName === t2.prop) && t2.defaultValue) {
71
- const n2 = $(t2.prop);
71
+ const n2 = _(t2.prop);
72
72
  n2 && n2.length > 1 && e3.push(n2[1]);
73
73
  }
74
74
  });
@@ -105,7 +105,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
105
105
  if (ae.value[n2] = e3, "lineEditSave" === n2 ? t2 = ye : "restoreEdit" === n2 ? t2 = Oe : "lineEditUpdate" === n2 ? t2 = Re : "lineEditDelete" === n2 && (t2 = Ie), !t2) {
106
106
  t2 = x(J, e3.events, "click");
107
107
  }
108
- } else ae.value[e3.uuid] = e3, t2 = Pe;
108
+ } else ae.value[e3.uuid] = e3, t2 = Be;
109
109
  return { onClick: t2, eventName: n2 };
110
110
  }
111
111
  function De({ row: e3, columns: t2, additionalParamMap: n2 }) {
@@ -132,7 +132,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
132
132
  a2.props.base.tableUuid = l2.uuid;
133
133
  const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
134
134
  if (!r2) return;
135
- B(r2) ? r2.then((e4) => {
135
+ P(r2) ? r2.then((e4) => {
136
136
  e4 && se.value.restoreRow(i2, pe);
137
137
  }) : se.value.restoreRow(i2, pe);
138
138
  d(J, K, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
@@ -141,7 +141,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
141
141
  const a2 = ae.value.lineEditUpdate, l2 = K;
142
142
  a2.props.base.tableUuid = l2.uuid;
143
143
  const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
144
- r2 && (B(r2) ? r2.then((l3) => {
144
+ r2 && (P(r2) ? r2.then((l3) => {
145
145
  l3 && ke(e3, t2, n2, o2, i2, a2);
146
146
  }) : ke(e3, t2, n2, o2, i2, a2));
147
147
  }
@@ -159,7 +159,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
159
159
  const a2 = ae.value.lineEditDelete, l2 = K;
160
160
  a2.props.base.tableUuid = l2.uuid;
161
161
  const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
162
- r2 && (B(r2) ? r2.then((l3) => {
162
+ r2 && (P(r2) ? r2.then((l3) => {
163
163
  l3 && Ve(e3, t2, n2, o2, i2, a2);
164
164
  }) : Ve(e3, t2, n2, o2, i2, a2));
165
165
  }
@@ -200,13 +200,13 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
200
200
  se.value.toolbarRefresh(null, null, n2);
201
201
  }
202
202
  function Ne(e3) {
203
- const t2 = Be();
203
+ const t2 = Pe();
204
204
  if (t2) {
205
205
  let n2 = 0;
206
206
  return e3.searchHeight && (n2 = e3.searchHeight), t2 - 10 - n2;
207
207
  }
208
208
  }
209
- function Be() {
209
+ function Pe() {
210
210
  if (!se.value) return;
211
211
  const e3 = M(Y.pageContext, Y.configure);
212
212
  if (e3) {
@@ -219,7 +219,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
219
219
  if (e3.fixHeight && se.value && (se.value.tableHeight = e3.fixHeight), e3.maxHeight) return e3.maxHeight;
220
220
  }
221
221
  }
222
- function Pe(e3, t2, n2, o2, i2, a2) {
222
+ function Be(e3, t2, n2, o2, i2, a2) {
223
223
  const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ae.value[a2.sourceButton.uuid], u2 = K;
224
224
  r2.props.base.tableUuid = u2.uuid, D(null, J, r2, "click", l2);
225
225
  }
@@ -237,18 +237,18 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
237
237
  function Me(e3) {
238
238
  v(J, K, { newSelection: e3 });
239
239
  }
240
- function Le(e3, t2, n2, o2) {
240
+ function $e(e3, t2, n2, o2) {
241
241
  h(J, K, { row: e3, column: t2, cell: n2, event: o2 });
242
242
  }
243
- function $e(e3, t2, n2, o2) {
243
+ function _e(e3, t2, n2, o2) {
244
244
  b(J, K, { row: e3, column: t2, cell: n2, event: o2 });
245
245
  }
246
- function _e(e3, t2, n2) {
247
- S(J, K, { row: e3, column: t2, event: n2 });
248
- }
249
246
  function Ae(e3, t2, n2) {
250
247
  w(J, K, { row: e3, column: t2, event: n2 });
251
248
  }
249
+ function Le(e3, t2, n2) {
250
+ S(J, K, { row: e3, column: t2, event: n2 });
251
+ }
252
252
  function Ge(e3, t2) {
253
253
  C(J, K, { column: e3, event: t2 });
254
254
  }
@@ -259,7 +259,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
259
259
  be.value = true;
260
260
  }
261
261
  function qe(e3) {
262
- return A(e3, [], Y);
262
+ return L(e3, [], Y);
263
263
  }
264
264
  function Qe(e3) {
265
265
  return G(e3, e3.cellStyle, Y);
@@ -291,7 +291,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
291
291
  se.value.pickFileDone(e4);
292
292
  }), H.$on(pe + "-scanDone", (e4) => {
293
293
  se.value.scanDone(e4);
294
- }), re.value.formSetMaxHeight = Be(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && Se("setSafeDeleteTableCode", re.value.extraParam.tableName);
294
+ }), re.value.formSetMaxHeight = Pe(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && we("setSafeDeleteTableCode", re.value.extraParam.tableName);
295
295
  }), o(() => Y.pageContext.searchFormData, (e3) => {
296
296
  me.value.data = e3;
297
297
  }), o(() => Y.pageContext.entity.data, (e3) => {
@@ -308,10 +308,10 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
308
308
  };
309
309
  function Ze({ row: e3, editConditions: t2 }) {
310
310
  let n2 = true;
311
- return t2 && t2.length > 0 && (n2 = L(Y.pageContext, t2, e3)), n2;
311
+ return t2 && t2.length > 0 && (n2 = $(Y.pageContext, t2, e3)), n2;
312
312
  }
313
313
  function et(e3, t2) {
314
- const n2 = _(Y.pageContext, t2);
314
+ const n2 = A(Y.pageContext, t2);
315
315
  if (n2) {
316
316
  const t3 = n2.getConfigure();
317
317
  if ("datePicker" === t3.name) {
@@ -373,7 +373,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
373
373
  return (_a = se.value) == null ? void 0 : _a.getColumns();
374
374
  } }), (e3, t2) => {
375
375
  const n2 = a("super-grid");
376
- return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: Le, onCellDblclick: $e, onRowClick: _e, onRowDblclick: Ae, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
376
+ return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: $e, onCellDblclick: _e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
377
377
  };
378
378
  } });
379
379
  export {
@@ -4,26 +4,26 @@ import { caculateShowCondition as w, setVariableValue as T, getVariableValue as
4
4
  import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
5
5
  import P from "../../../../utils/eventBus.js";
6
6
  import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
7
- import { getListCode as O, getBaseUrl as k } from "../../../../utils/common-util.js";
8
- import { getAdditionalParamMap as _ } from "../../../../utils/events/standard-event.js";
7
+ import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
8
+ import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
9
9
  import { getRowStyleUtil as A, getCellStyleUtil as M, getHeaderCellStyleUtil as E } from "../../chart/table/chart-table-util.js";
10
10
  const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: F2, emit: $ }) {
11
11
  var _a;
12
12
  const j = e2, z = j.pageContext;
13
- let L = j.configure;
14
- const N = j.configure.runtime ? j.configure.runtime : {};
15
- z.isTest ? N.value = j.configure.runtime ? j.configure.runtime : {} : z.tableRuntimes && z.tableRuntimes[L.uuid] && (L = JSON.parse(z.tableRuntimes[L.uuid].configure), N.value = L.runtime ? L.runtime : {});
16
- const B = O(z.code, z.version, L.uuid), V = z.entity.data, G = L.code ? L.code : B, H = _(z), U = N && N.events ? N.events : [], q = t([]), J = z.superGridItems, K = J ? J[L.uuid] : null, Q = N.style, W = N.class, X = j.pageContext.entity ? j.pageContext.entity : {};
17
- let Y = D(j.configure, G), Z = k(z.backendUrl, z.isTest);
13
+ let N = j.configure;
14
+ const V = j.configure.runtime ? j.configure.runtime : {};
15
+ z.isTest ? V.value = j.configure.runtime ? j.configure.runtime : {} : z.tableRuntimes && z.tableRuntimes[N.uuid] && (N = JSON.parse(z.tableRuntimes[N.uuid].configure), V.value = N.runtime ? N.runtime : {});
16
+ const G = O(z.code, z.version, N.uuid), H = z.entity.data, L = N.code ? N.code : G, U = k(z), B = V && V.events ? V.events : [], q = t([]), J = z.superGridItems, K = J ? J[N.uuid] : null, Q = V.style, W = V.class, X = j.pageContext.entity ? j.pageContext.entity : {};
17
+ let Y = D(j.configure, L), Z = _(z.backendUrl, z.isTest);
18
18
  Z || (Z = window.$vueApp.config.globalProperties.baseURL);
19
19
  const ee = t(false);
20
20
  let te = t(0);
21
- const ne = (_a = L.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = $;
21
+ const ne = (_a = N.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = $;
22
22
  oe.value = function() {
23
- var _a2, _b;
24
- const e3 = { title: (L == null ? void 0 : L.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: z.code, pageVersion: z.version, pageContext: z, configureObj: L, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!L.props || !L.props.otherSettings || void 0 !== L.props.otherSettings.isBreakLine && false !== L.props.otherSettings.isBreakLine), backendUrl: Z, cellStyleRender: Ve, rowStyleRender: Be, titleStyleRender: Ge, allEditable: (_b = (_a2 = L.props) == null ? void 0 : _a2.base) == null ? void 0 : _b.allEditable };
25
- return Q && (e3.tableStyle = Q), W && (e3.tableClass = W), L.props && L.props.base && true === L.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, L.props.base.showRowForm && (e3.showRowForm = L.props.base.showRowForm), function(e4) {
26
- const t2 = L.props ? L.props.dataOrigin : {};
23
+ var _a2, _b, _c, _d;
24
+ const e3 = { title: (N == null ? void 0 : N.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: z.code, pageVersion: z.version, pageContext: z, configureObj: N, showPageArea: false, showRowForm: false, showOverflowTooltip: (_b = (_a2 = N == null ? void 0 : N.props) == null ? void 0 : _a2.otherSettings) == null ? void 0 : _b.showOverflowTooltip, backendUrl: Z, cellStyleRender: He, rowStyleRender: Ge, titleStyleRender: Le, allEditable: (_d = (_c = N.props) == null ? void 0 : _c.base) == null ? void 0 : _d.allEditable };
25
+ return Q && (e3.tableStyle = Q), W && (e3.tableClass = W), N.props && N.props.base && true === N.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, N.props.base.showRowForm && (e3.showRowForm = N.props.base.showRowForm), function(e4) {
26
+ const t2 = N.props ? N.props.dataOrigin : {};
27
27
  if (t2.treeTable) {
28
28
  let n2;
29
29
  const o2 = t2.rowKey;
@@ -38,23 +38,23 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
38
38
  }();
39
39
  const ie = t(null);
40
40
  function ae() {
41
- ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(B));
41
+ ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(G));
42
42
  }
43
43
  function ue(e3, t2) {
44
- if (t2 || (t2 = oe.value), void 0 === e3 && (e3 = re()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = se, t2.getGridData = ce, t2.extraParam.subTableListViewCode = B, t2.extraParam.beanName = z.beanName, t2.extraParam.subtableSetting = L.props && L.props.otherSettings ? JSON.stringify(L.props.otherSettings) : null, t2.extraParam.additionalParamMap = H, t2.extraParam.entityMap = z.entity.data, t2.extraParam.contextMap = z.entity.context, t2.extraParam.taskMap = z.entity.task, !(L.props && L.props.base && L.props.base.showOperation)) {
44
+ if (t2 || (t2 = oe.value), void 0 === e3 && (e3 = re()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = se, t2.getGridData = ce, t2.extraParam.subTableListViewCode = G, t2.extraParam.beanName = z.beanName, t2.extraParam.subtableSetting = N.props && N.props.otherSettings ? JSON.stringify(N.props.otherSettings) : null, t2.extraParam.additionalParamMap = U, t2.extraParam.entityMap = z.entity.data, t2.extraParam.contextMap = z.entity.context, t2.extraParam.taskMap = z.entity.task, !(N.props && N.props.base && N.props.base.showOperation)) {
45
45
  let e4 = t2.hiddenColumns;
46
46
  e4 ? e4.push("operation") : e4 = ["operation"], t2.hiddenColumns = e4;
47
47
  }
48
- t2.showOperationButton = !(!L.props || !L.props.base) && L.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = L.props && L.props.otherSettings ? L.props.otherSettings.tableRecordMaxNum : null;
49
- let n2 = C(z, L);
50
- n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = He;
48
+ t2.showOperationButton = !(!N.props || !N.props.base) && N.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = N.props && N.props.otherSettings ? N.props.otherSettings.tableRecordMaxNum : null;
49
+ let n2 = C(z, N);
50
+ n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = Ue;
51
51
  }
52
52
  function re() {
53
- if (L.props && L.props.otherSettings) {
54
- if (L.props.otherSettings.sourceQueryTableData && L.props.otherSettings.timeToInitializeSubTable && L.props.otherSettings.timeToInitializeSubTable.length > 0) {
53
+ if (N.props && N.props.otherSettings) {
54
+ if (N.props.otherSettings.sourceQueryTableData && N.props.otherSettings.timeToInitializeSubTable && N.props.otherSettings.timeToInitializeSubTable.length > 0) {
55
55
  let e3 = false;
56
- if (-1 !== L.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !V.id && !V.ID), -1 !== L.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
57
- const t2 = V[G];
56
+ if (-1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
57
+ const t2 = H[L];
58
58
  (!t2 || t2.length <= 0) && (e3 = true);
59
59
  }
60
60
  return e3;
@@ -79,7 +79,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
79
79
  e4 || (e4 = oe.value);
80
80
  const t3 = z.fieldPermissionMap, n2 = z.actionPermissionMap;
81
81
  if (t3 && null != t3) {
82
- let n3 = t3.get(G);
82
+ let n3 = t3.get(L);
83
83
  if (!n3) {
84
84
  const e5 = t3.get("all_fields");
85
85
  e5 && (n3 = [e5]);
@@ -87,12 +87,12 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
87
87
  e4.validateRules = n3 || null;
88
88
  }
89
89
  if (n2 && null != n2) {
90
- let t4 = n2.get(G);
90
+ let t4 = n2.get(L);
91
91
  t4 || (t4 = n2.get("all_sub_tables")), e4.actionPermission = t4;
92
92
  }
93
93
  e4.operations || (e4.operations = {});
94
94
  const o2 = function() {
95
- let e5 = [], t4 = w(j.pageContext, L.props.base.showOperationCondition);
95
+ let e5 = [], t4 = w(j.pageContext, N.props.base.showOperationCondition);
96
96
  if (t4 && Se(null, null, null, null, null, true, "canAdd")) {
97
97
  const t5 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: we };
98
98
  e5.push(t5);
@@ -101,18 +101,18 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
101
101
  const t5 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: xe };
102
102
  e5.push(t5);
103
103
  }
104
- return I(z, L, e5, ve), e5;
104
+ return I(z, N, e5, ve), e5;
105
105
  }();
106
106
  e4.operations.operation = o2, e4.subTableCanAdd = Se(null, null, null, null, null, true, "canAdd"), e4.subTableCanDelete = Se(null, null, null, null, null, true, "canDelete");
107
- }(e3), c(e3, U, z, L);
107
+ }(e3), c(e3, B, z, N);
108
108
  const t2 = z.customEvents;
109
109
  t2 && (e3.eventCallBack = t2), ee.value = true, ge();
110
110
  }
111
111
  function ge() {
112
- z.tableUuids || (z.tableUuids = []), z.tableUuids.indexOf(L.uuid) < 0 && z.tableUuids.push(L.uuid);
112
+ z.tableUuids || (z.tableUuids = []), z.tableUuids.indexOf(N.uuid) < 0 && z.tableUuids.push(N.uuid);
113
113
  }
114
114
  n(() => {
115
- const e3 = L.uuid, t2 = z.subTableWatchProps;
115
+ const e3 = N.uuid, t2 = z.subTableWatchProps;
116
116
  P.$on("_refreshSubTable_" + e3, (n2) => {
117
117
  const o2 = n2.propName;
118
118
  if (t2 && t2[e3] && t2[e3].length > 0) {
@@ -122,19 +122,19 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
122
122
  ae();
123
123
  }), P.$on("_refreshChildData_" + e3, (e4) => {
124
124
  !function(e5) {
125
- Ne(e5), de = setTimeout(() => {
126
- ie.value && (ie.value.refreshChildData(B, e5, L.props && L.props.base && true === L.props.base.subPaging), oe.value.extraParam.entityMap = z.entity.data);
125
+ Ve(e5), de = setTimeout(() => {
126
+ ie.value && (ie.value.refreshChildData(G, e5, N.props && N.props.base && true === N.props.base.subPaging), oe.value.extraParam.entityMap = z.entity.data);
127
127
  }, 10);
128
128
  }(e4);
129
- }), P.$on(B + "-pickFileDone", (e4) => {
129
+ }), P.$on(G + "-pickFileDone", (e4) => {
130
130
  ie.value.pickFileDone(e4);
131
- }), P.$on(B + "-scanDone", (e4) => {
131
+ }), P.$on(G + "-scanDone", (e4) => {
132
132
  ie.value.scanDone(e4);
133
133
  }), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
134
134
  }), o(() => {
135
135
  pe && clearTimeout(pe), de && clearTimeout(de);
136
- const e3 = L.uuid;
137
- P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(B + "-pickFileDone"), P.$off(B + "-scanDone");
136
+ const e3 = N.uuid;
137
+ P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(G + "-pickFileDone"), P.$off(G + "-scanDone");
138
138
  });
139
139
  const me = t({});
140
140
  function ve(e3) {
@@ -142,27 +142,27 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
142
142
  return me.value[e3.uuid] = e3, he;
143
143
  }
144
144
  function he(e3, t2, n2, o2, l2, i2) {
145
- const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 = L;
145
+ const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 = N;
146
146
  u2.props.base.tableUuid = r2.uuid, S(null, z, u2, "click", a2);
147
147
  }
148
148
  function Se(e3, t2, n2, o2, l2, i2, a2) {
149
149
  a2 || (a2 = "canAdd");
150
- if (!w(j.pageContext, L.props.base.showOperationCondition)) return false;
150
+ if (!w(j.pageContext, N.props.base.showOperationCondition)) return false;
151
151
  const u2 = z.fieldPermissionMap, r2 = z.actionPermissionMap;
152
152
  let s2 = true;
153
153
  if (u2 && null !== u2) {
154
154
  const e4 = u2.get("all_fields");
155
155
  void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
156
156
  }
157
- if (true === s2 && G && r2 && null !== r2) {
158
- let e4 = r2.get(G);
157
+ if (true === s2 && L && r2 && null !== r2) {
158
+ let e4 = r2.get(L);
159
159
  e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4[a2] && false === e4[a2] && (s2 = false);
160
160
  }
161
161
  return s2;
162
162
  }
163
163
  function we(e3, t2, n2, o2, l2, i2) {
164
164
  let a2 = Se(0, 0, 0, 0, 0, 0, "canAdd");
165
- return true === a2 && (a2 = w(j.pageContext, L.props.base.showAddBtnCondition, n2)), a2;
165
+ return true === a2 && (a2 = w(j.pageContext, N.props.base.showAddBtnCondition, n2)), a2;
166
166
  }
167
167
  function Te(e3, t2, n2, o2, l2, i2) {
168
168
  const a2 = z.fieldPermissionMap, u2 = z.actionPermissionMap;
@@ -171,8 +171,8 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
171
171
  const e4 = a2.get("all_fields");
172
172
  void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
173
173
  }
174
- if (true === r2 && G && u2 && null !== u2) {
175
- let e4 = u2.get(G);
174
+ if (true === r2 && L && u2 && null !== u2) {
175
+ let e4 = u2.get(L);
176
176
  if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (r2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (i2) r2 = true;
177
177
  else {
178
178
  const t3 = function(e5) {
@@ -186,19 +186,19 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
186
186
  }
187
187
  function xe(e3, t2, n2, o2, l2, i2) {
188
188
  let a2 = Te(0, 0, n2, 0, 0, i2);
189
- return true === a2 && (a2 = w(j.pageContext, L.props.base.showDeleteBtnCondition, n2)), a2;
189
+ return true === a2 && (a2 = w(j.pageContext, N.props.base.showDeleteBtnCondition, n2)), a2;
190
190
  }
191
191
  function Ce(e3, t2, n2, o2, l2) {
192
- ie.value.createRow(B, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
192
+ ie.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 });
193
193
  }
194
194
  function De(e3, t2, n2, o2, l2) {
195
- ie.value.deleteRow(l2, B, false);
195
+ ie.value.deleteRow(l2, G, false);
196
196
  }
197
197
  function ye(e3) {
198
198
  T(X, Y, e3);
199
199
  }
200
200
  function Pe(e3) {
201
- z.subTablePageInfo || (z.subTablePageInfo = {}), z.subTablePageInfo[G] || (z.subTablePageInfo[G] = {}), z.subTablePageInfo[G].pageSize = e3;
201
+ z.subTablePageInfo || (z.subTablePageInfo = {}), z.subTablePageInfo[L] || (z.subTablePageInfo[L] = {}), z.subTablePageInfo[L].pageSize = e3;
202
202
  }
203
203
  function Re(e3) {
204
204
  const t2 = e3.key, n2 = e3.value;
@@ -212,62 +212,62 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
212
212
  const t2 = z.entity.data;
213
213
  if (e3) for (const n2 in e3) t2[n2] = e3[n2];
214
214
  }
215
- function ke(e3, t2) {
215
+ function _e(e3, t2) {
216
216
  if (void 0 !== t2) {
217
217
  q.value = e3;
218
- p(z, L, { selection: e3, row: t2 });
218
+ p(z, N, { selection: e3, row: t2 });
219
219
  }
220
220
  }
221
- function _e(e3) {
221
+ function ke(e3) {
222
222
  q.value = e3;
223
- d(z, L, { selection: e3 });
223
+ d(z, N, { selection: e3 });
224
224
  }
225
225
  function Ae(e3) {
226
- f(z, L, { newSelection: e3 });
226
+ f(z, N, { newSelection: e3 });
227
227
  }
228
228
  function Me(e3, t2, n2, o2) {
229
- b(z, L, { row: e3, column: t2, cell: n2, event: o2 });
229
+ b(z, N, { row: e3, column: t2, cell: n2, event: o2 });
230
230
  }
231
231
  function Ee(e3, t2, n2, o2) {
232
- g(z, L, { row: e3, column: t2, cell: n2, event: o2 });
232
+ g(z, N, { row: e3, column: t2, cell: n2, event: o2 });
233
233
  }
234
234
  function Fe(e3, t2, n2) {
235
- m(z, L, { row: e3, column: t2, event: n2 });
235
+ m(z, N, { row: e3, column: t2, event: n2 });
236
236
  }
237
237
  function $e(e3, t2, n2) {
238
- v(z, L, { row: e3, column: t2, event: n2 });
238
+ v(z, N, { row: e3, column: t2, event: n2 });
239
239
  }
240
240
  function je(e3, t2) {
241
- h(z, L, { column: e3, event: t2 });
241
+ h(z, N, { column: e3, event: t2 });
242
242
  }
243
243
  function ze(e3) {
244
244
  z.entity.data = e3;
245
245
  }
246
- function Le() {
246
+ function Ne() {
247
247
  return x(X, Y);
248
248
  }
249
- function Ne(e3) {
249
+ function Ve(e3) {
250
250
  return T(X, Y, e3);
251
251
  }
252
- function Be(e3) {
252
+ function Ge(e3) {
253
253
  return A(e3, null, j);
254
254
  }
255
- function Ve(e3) {
255
+ function He(e3) {
256
256
  return M(e3, e3.cellStyle, j);
257
257
  }
258
- function Ge(e3) {
258
+ function Le(e3) {
259
259
  const t2 = e3.titleStyle, n2 = j.configure.style.titleStyle;
260
260
  return E(e3, { cellTitleStyle: t2, titleStyle: n2 }, j);
261
261
  }
262
- function He({ row: e3, editConditions: t2 }) {
262
+ function Ue({ row: e3, editConditions: t2 }) {
263
263
  let n2 = true;
264
264
  return t2 && t2.length > 0 && (n2 = w(j.pageContext, t2, e3)), n2;
265
265
  }
266
266
  return function(e3) {
267
267
  const t2 = re();
268
- t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Le(), be(e3));
268
+ t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Ne(), be(e3));
269
269
  }(oe.value), F2({ createRow: function() {
270
- return ie.value.createRow(B);
270
+ return ie.value.createRow(G);
271
271
  }, getSelections: function() {
272
272
  return q.value;
273
273
  }, getSelectionIds: function() {
@@ -278,11 +278,11 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
278
278
  }, clearSelections: function() {
279
279
  q.value = [];
280
280
  }, getTableConfigure: function() {
281
- return L;
281
+ return N;
282
282
  }, validatorSunTableListData: function() {
283
283
  return ie.value.validatorSunTableListData();
284
- }, getValue: Le, setValue: Ne, getTableSelectOptions: function() {
285
- if (ie.value) return ie.value.getTableSelectOptions(B);
284
+ }, getValue: Ne, setValue: Ve, getTableSelectOptions: function() {
285
+ if (ie.value) return ie.value.getTableSelectOptions(G);
286
286
  }, dynamicControlTableEdit: function(e3, t2, n2) {
287
287
  ie.value && ie.value.dynamicControlTableEdit(e3, t2, n2);
288
288
  }, doLayout: function(e3) {
@@ -310,13 +310,13 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
310
310
  return (_a2 = ie.value) == null ? void 0 : _a2.getTableData();
311
311
  }, addRequiredClass: function(e3, t2, n2) {
312
312
  var _a2;
313
- (_a2 = ie.value) == null ? void 0 : _a2.addRequiredClass(e3, B, t2, n2);
313
+ (_a2 = ie.value) == null ? void 0 : _a2.addRequiredClass(e3, G, t2, n2);
314
314
  }, getColumns: function() {
315
315
  var _a2;
316
316
  return (_a2 = ie.value) == null ? void 0 : _a2.getColumns();
317
317
  } }), (e3, t2) => {
318
318
  const n2 = l("super-grid");
319
- return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(B), settings: s(K), isDialog: s(z).isDialog, onSelect: ke, onSelectAll: _e, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
319
+ return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), isDialog: s(z).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
320
320
  };
321
321
  } });
322
322
  export {
@@ -1,55 +1,55 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as p, createBlock as a, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as c, createElementBlock as m, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
2
- import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
- import { handleAfterInitEvent as h, handleFormEvent as S } from "../../../../utils/events/event-util.js";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as a, createBlock as u, openBlock as p, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as c, createElementBlock as m, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
2
+ import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
+ import { handleAfterInitEvent as C, handleFormEvent as S } from "../../../../utils/events/event-util.js";
4
4
  import F from "../common/title-suffix-element.vue.js";
5
5
  import { $t as b } from "../../../../utils/i18n-util.js";
6
- import { setVariableValue as k, getVariableValue as R, getFormPropName as j, getValueFromVariable as _ } from "../../../../utils/page-helper-util.js";
7
- import { addRequiredClassUtil as I } from "../../../../utils/common-util.js";
8
- const T = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
9
- const q = e2, w = t(null), z = t([]), M = q.pageContext.entity ? q.pageContext.entity : {};
10
- M.data || (M.data = {});
11
- const O = M.data, $ = M.page;
12
- let D = C(q.pageContext, q.configure);
13
- const E = D.length > 0 ? D[D.length - 1] : q.configure.uuid, V = q.configure.runtime ? q.configure.runtime : {}, W = t(V.props ? V.props : {}), A = V.style, B = V.class, G = V.headerStyle, H = V.titleExceedStyle;
14
- V.props.deptScope && ("field" == V.props.deptScope && V.props.deptScopeField ? (Y(), function(e3, t2) {
6
+ import { setVariableValue as k, getVariableValue as w, getFormPropName as z, getValueFromVariable as R } from "../../../../utils/page-helper-util.js";
7
+ import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
8
+ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
+ const I = e2, T = t(null), q = t([]), W = I.pageContext.entity ? I.pageContext.entity : {};
10
+ W.data || (W.data = {});
11
+ const M = W.data, O = W.page;
12
+ let $ = h(I.pageContext, I.configure);
13
+ const D = $.length > 0 ? $[$.length - 1] : I.configure.uuid, E = I.configure.runtime ? I.configure.runtime : {}, V = t(E.props ? E.props : {}), A = E.style, B = E.class, G = E.headerStyle, H = E.titleExceedStyle;
14
+ E.props.deptScope && ("field" == E.props.deptScope && E.props.deptScopeField ? (Y(), function(e3, t2) {
15
15
  if (0 === e3.indexOf("${fixed.")) return;
16
16
  const l2 = e3.match(/\${(.*?)}/);
17
17
  if (!l2) return;
18
18
  const o2 = l2 ? l2[1].split(".") : [];
19
- o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], q.pageContext.entity), (e4, l3) => {
19
+ o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], I.pageContext.entity), (e4, l3) => {
20
20
  t2(e4, l3);
21
21
  });
22
- }(V.props.deptScopeField, (e3, t2) => {
22
+ }(E.props.deptScopeField, (e3, t2) => {
23
23
  Y();
24
- })) : "depts" == V.props.deptScope && V.props.deptScopeCodes && (z.value = V.props.deptScopeCodes.split(",")));
24
+ })) : "depts" == E.props.deptScope && E.props.deptScopeCodes && (q.value = E.props.deptScopeCodes.split(",")));
25
25
  const J = t(null), K = t(null), L = t(null);
26
26
  l(() => {
27
27
  o(() => {
28
- const e3 = O ? O[E] : null;
29
- h(e3, q.pageContext, q.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
28
+ const e3 = M ? M[D] : null;
29
+ C(e3, I.pageContext, I.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
30
30
  });
31
31
  });
32
- const N = n({ get: () => R(M, D), set(e3) {
33
- k(M, D, e3), null != e3 && (w.value = "");
34
- } }), P = W.value.autoSetFields ? W.value.autoSetFields : [];
32
+ const N = n({ get: () => w(W, $), set(e3) {
33
+ k(W, $, e3), null != e3 && (T.value = "");
34
+ } }), P = V.value.autoSetFields ? V.value.autoSetFields : [];
35
35
  let Q = null;
36
36
  function U(e3, t2) {
37
- Q ? Q === e3 && (D.length > 0 ? S(R(M, D), q.pageContext, q.configure, "change") : S(t2, q.pageContext, q.configure, "change")) : e3 === E && S(t2, q.pageContext, q.configure, "change");
37
+ Q ? Q === e3 && ($.length > 0 ? S(w(W, $), I.pageContext, I.configure, "change") : S(t2, I.pageContext, I.configure, "change")) : e3 === D && S(t2, I.pageContext, I.configure, "change");
38
38
  }
39
39
  function X() {
40
- S(null, q.pageContext, q.configure, "click");
40
+ S(null, I.pageContext, I.configure, "click");
41
41
  }
42
42
  function Y() {
43
- const e3 = _(q.pageContext.entity, V.props.deptScopeField);
44
- z.value = e3 ? e3.split(",") : [];
43
+ const e3 = R(I.pageContext.entity, E.props.deptScopeField);
44
+ q.value = e3 ? e3.split(",") : [];
45
45
  }
46
- return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = j(P[P.length - 1].model)), T2({ addRequiredClass: function() {
47
- w.value = I();
46
+ return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = z(P[P.length - 1].model)), _2({ addRequiredClass: function() {
47
+ T.value = j();
48
48
  } }), (t2, l2) => {
49
- const o2 = p("OrganizationInput"), n2 = p("el-form-item");
50
- return u(), a(n2, { ref_key: "formItemRef", ref: J, required: W.value.required, class: s(d(B) + (w.value ? " " + w.value : "")), "label-width": W.value.labelWidth, style: r(d(A)) }, { label: f(() => [W.value.tittleShow ? (u(), m("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [W.value.prefixType ? (u(), a(F, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (u(), m(v, { key: 1 }, [y(x(d(b)(W.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [c(o2, { ref_key: "componentRef", ref: K, disabled: "disabled" == W.value.state, multiple: W.value.multiple, treeType: W.value.treeType, value: N.value, models: d(O), departmentInfo: z.value, limitFilterColumn: W.value.limitFilterColumn, pageModels: d($), fields: d(P), size: W.value.size, separator: W.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
49
+ const o2 = a("OrganizationInput"), n2 = a("el-form-item");
50
+ return p(), u(n2, { ref_key: "formItemRef", ref: J, required: V.value.required, class: s(d(B) + (T.value ? " " + T.value : "")), "label-width": V.value.labelWidth, style: r(d(A)) }, { label: f(() => [V.value.tittleShow ? (p(), m("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [V.value.prefixType ? (p(), u(F, { key: 0, pageContext: e2.pageContext, property: V.value }, null, 8, ["pageContext", "property"])) : (p(), m(v, { key: 1 }, [y(x(d(b)(V.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [c(o2, { ref_key: "componentRef", ref: K, disabled: "disabled" == V.value.state, multiple: V.value.multiple, treeType: V.value.treeType, value: N.value, models: d(M), departmentInfo: q.value, limitFilterColumn: V.value.limitFilterColumn, pageModels: d(O), fields: d(P), inputShowWay: V.value.inputShowWay, autosize: V.value.autosize, size: V.value.size, separator: V.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
51
51
  };
52
52
  } });
53
53
  export {
54
- T as default
54
+ _ as default
55
55
  };
@@ -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-8954a922"]]);
4
+ const r = p(e, [["__scopeId", "data-v-e96bdd44"]]);
5
5
  export {
6
6
  r as default
7
7
  };
package/dist/es/style.css CHANGED
@@ -100,7 +100,7 @@
100
100
  min-height: 60px;
101
101
  resize: vertical;
102
102
  }
103
- .runtime-page-container[data-v-8954a922] {
103
+ .runtime-page-container[data-v-e96bdd44] {
104
104
  overflow: hidden;
105
105
  max-height: 100vh;
106
106
  padding: var(--app-main-padding, 15px);
@@ -108,269 +108,269 @@
108
108
  height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
109
109
  }
110
110
  @media (max-width: 768px) {
111
- .runtime-page-container[data-v-8954a922] .el-col-1 {
111
+ .runtime-page-container[data-v-e96bdd44] .el-col-1 {
112
112
  flex: 0 0 100%;
113
113
  max-width: 100%;
114
114
  }
115
115
  }
116
- .runtime-page-container[data-v-8954a922] .el-col-1 > .el-form-item:only-child {
116
+ .runtime-page-container[data-v-e96bdd44] .el-col-1 > .el-form-item:only-child {
117
117
  margin-bottom: 0;
118
118
  }
119
- .runtime-page-container[data-v-8954a922] .el-col-2 {
119
+ .runtime-page-container[data-v-e96bdd44] .el-col-2 {
120
120
  flex: 0 0 calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
121
121
  max-width: calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
122
122
  }
123
123
  @media (max-width: 768px) {
124
- .runtime-page-container[data-v-8954a922] .el-col-2 {
124
+ .runtime-page-container[data-v-e96bdd44] .el-col-2 {
125
125
  flex: 0 0 100%;
126
126
  max-width: 100%;
127
127
  }
128
128
  }
129
- .runtime-page-container[data-v-8954a922] .el-col-2 > .el-form-item:only-child {
129
+ .runtime-page-container[data-v-e96bdd44] .el-col-2 > .el-form-item:only-child {
130
130
  margin-bottom: 0;
131
131
  }
132
132
  @media (max-width: 768px) {
133
- .runtime-page-container[data-v-8954a922] .el-col-3 {
133
+ .runtime-page-container[data-v-e96bdd44] .el-col-3 {
134
134
  flex: 0 0 100%;
135
135
  max-width: 100%;
136
136
  }
137
137
  }
138
- .runtime-page-container[data-v-8954a922] .el-col-3 > .el-form-item:only-child {
138
+ .runtime-page-container[data-v-e96bdd44] .el-col-3 > .el-form-item:only-child {
139
139
  margin-bottom: 0;
140
140
  }
141
- .runtime-page-container[data-v-8954a922] .el-col-4 {
141
+ .runtime-page-container[data-v-e96bdd44] .el-col-4 {
142
142
  flex: 0 0 calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
143
143
  max-width: calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
144
144
  }
145
145
  @media (max-width: 768px) {
146
- .runtime-page-container[data-v-8954a922] .el-col-4 {
146
+ .runtime-page-container[data-v-e96bdd44] .el-col-4 {
147
147
  flex: 0 0 100%;
148
148
  max-width: 100%;
149
149
  }
150
150
  }
151
- .runtime-page-container[data-v-8954a922] .el-col-4 > .el-form-item:only-child {
151
+ .runtime-page-container[data-v-e96bdd44] .el-col-4 > .el-form-item:only-child {
152
152
  margin-bottom: 0;
153
153
  }
154
154
  @media (max-width: 768px) {
155
- .runtime-page-container[data-v-8954a922] .el-col-5 {
155
+ .runtime-page-container[data-v-e96bdd44] .el-col-5 {
156
156
  flex: 0 0 100%;
157
157
  max-width: 100%;
158
158
  }
159
159
  }
160
- .runtime-page-container[data-v-8954a922] .el-col-5 > .el-form-item:only-child {
160
+ .runtime-page-container[data-v-e96bdd44] .el-col-5 > .el-form-item:only-child {
161
161
  margin-bottom: 0;
162
162
  }
163
- .runtime-page-container[data-v-8954a922] .el-col-6 {
163
+ .runtime-page-container[data-v-e96bdd44] .el-col-6 {
164
164
  flex: 0 0 calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
165
165
  max-width: calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
166
166
  }
167
167
  @media (max-width: 768px) {
168
- .runtime-page-container[data-v-8954a922] .el-col-6 {
168
+ .runtime-page-container[data-v-e96bdd44] .el-col-6 {
169
169
  flex: 0 0 100%;
170
170
  max-width: 100%;
171
171
  }
172
172
  }
173
- .runtime-page-container[data-v-8954a922] .el-col-6 > .el-form-item:only-child {
173
+ .runtime-page-container[data-v-e96bdd44] .el-col-6 > .el-form-item:only-child {
174
174
  margin-bottom: 0;
175
175
  }
176
176
  @media (max-width: 768px) {
177
- .runtime-page-container[data-v-8954a922] .el-col-7 {
177
+ .runtime-page-container[data-v-e96bdd44] .el-col-7 {
178
178
  flex: 0 0 100%;
179
179
  max-width: 100%;
180
180
  }
181
181
  }
182
- .runtime-page-container[data-v-8954a922] .el-col-7 > .el-form-item:only-child {
182
+ .runtime-page-container[data-v-e96bdd44] .el-col-7 > .el-form-item:only-child {
183
183
  margin-bottom: 0;
184
184
  }
185
- .runtime-page-container[data-v-8954a922] .el-col-8 {
185
+ .runtime-page-container[data-v-e96bdd44] .el-col-8 {
186
186
  flex: 0 0 calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
187
187
  max-width: calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
188
188
  }
189
189
  @media (max-width: 768px) {
190
- .runtime-page-container[data-v-8954a922] .el-col-8 {
190
+ .runtime-page-container[data-v-e96bdd44] .el-col-8 {
191
191
  flex: 0 0 100%;
192
192
  max-width: 100%;
193
193
  }
194
194
  }
195
- .runtime-page-container[data-v-8954a922] .el-col-8 > .el-form-item:only-child {
195
+ .runtime-page-container[data-v-e96bdd44] .el-col-8 > .el-form-item:only-child {
196
196
  margin-bottom: 0;
197
197
  }
198
198
  @media (max-width: 768px) {
199
- .runtime-page-container[data-v-8954a922] .el-col-9 {
199
+ .runtime-page-container[data-v-e96bdd44] .el-col-9 {
200
200
  flex: 0 0 100%;
201
201
  max-width: 100%;
202
202
  }
203
203
  }
204
- .runtime-page-container[data-v-8954a922] .el-col-9 > .el-form-item:only-child {
204
+ .runtime-page-container[data-v-e96bdd44] .el-col-9 > .el-form-item:only-child {
205
205
  margin-bottom: 0;
206
206
  }
207
- .runtime-page-container[data-v-8954a922] .el-col-10 {
207
+ .runtime-page-container[data-v-e96bdd44] .el-col-10 {
208
208
  flex: 0 0 calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
209
209
  max-width: calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
210
210
  }
211
211
  @media (max-width: 768px) {
212
- .runtime-page-container[data-v-8954a922] .el-col-10 {
212
+ .runtime-page-container[data-v-e96bdd44] .el-col-10 {
213
213
  flex: 0 0 100%;
214
214
  max-width: 100%;
215
215
  }
216
216
  }
217
- .runtime-page-container[data-v-8954a922] .el-col-10 > .el-form-item:only-child {
217
+ .runtime-page-container[data-v-e96bdd44] .el-col-10 > .el-form-item:only-child {
218
218
  margin-bottom: 0;
219
219
  }
220
220
  @media (max-width: 768px) {
221
- .runtime-page-container[data-v-8954a922] .el-col-11 {
221
+ .runtime-page-container[data-v-e96bdd44] .el-col-11 {
222
222
  flex: 0 0 100%;
223
223
  max-width: 100%;
224
224
  }
225
225
  }
226
- .runtime-page-container[data-v-8954a922] .el-col-11 > .el-form-item:only-child {
226
+ .runtime-page-container[data-v-e96bdd44] .el-col-11 > .el-form-item:only-child {
227
227
  margin-bottom: 0;
228
228
  }
229
- .runtime-page-container[data-v-8954a922] .el-col-12 {
229
+ .runtime-page-container[data-v-e96bdd44] .el-col-12 {
230
230
  flex: 0 0 calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
231
231
  max-width: calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
232
232
  }
233
233
  @media (max-width: 768px) {
234
- .runtime-page-container[data-v-8954a922] .el-col-12 {
234
+ .runtime-page-container[data-v-e96bdd44] .el-col-12 {
235
235
  flex: 0 0 100%;
236
236
  max-width: 100%;
237
237
  }
238
238
  }
239
- .runtime-page-container[data-v-8954a922] .el-col-12 > .el-form-item:only-child {
239
+ .runtime-page-container[data-v-e96bdd44] .el-col-12 > .el-form-item:only-child {
240
240
  margin-bottom: 0;
241
241
  }
242
242
  @media (max-width: 768px) {
243
- .runtime-page-container[data-v-8954a922] .el-col-13 {
243
+ .runtime-page-container[data-v-e96bdd44] .el-col-13 {
244
244
  flex: 0 0 100%;
245
245
  max-width: 100%;
246
246
  }
247
247
  }
248
- .runtime-page-container[data-v-8954a922] .el-col-13 > .el-form-item:only-child {
248
+ .runtime-page-container[data-v-e96bdd44] .el-col-13 > .el-form-item:only-child {
249
249
  margin-bottom: 0;
250
250
  }
251
- .runtime-page-container[data-v-8954a922] .el-col-14 {
251
+ .runtime-page-container[data-v-e96bdd44] .el-col-14 {
252
252
  flex: 0 0 calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
253
253
  max-width: calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
254
254
  }
255
255
  @media (max-width: 768px) {
256
- .runtime-page-container[data-v-8954a922] .el-col-14 {
256
+ .runtime-page-container[data-v-e96bdd44] .el-col-14 {
257
257
  flex: 0 0 100%;
258
258
  max-width: 100%;
259
259
  }
260
260
  }
261
- .runtime-page-container[data-v-8954a922] .el-col-14 > .el-form-item:only-child {
261
+ .runtime-page-container[data-v-e96bdd44] .el-col-14 > .el-form-item:only-child {
262
262
  margin-bottom: 0;
263
263
  }
264
264
  @media (max-width: 768px) {
265
- .runtime-page-container[data-v-8954a922] .el-col-15 {
265
+ .runtime-page-container[data-v-e96bdd44] .el-col-15 {
266
266
  flex: 0 0 100%;
267
267
  max-width: 100%;
268
268
  }
269
269
  }
270
- .runtime-page-container[data-v-8954a922] .el-col-15 > .el-form-item:only-child {
270
+ .runtime-page-container[data-v-e96bdd44] .el-col-15 > .el-form-item:only-child {
271
271
  margin-bottom: 0;
272
272
  }
273
- .runtime-page-container[data-v-8954a922] .el-col-16 {
273
+ .runtime-page-container[data-v-e96bdd44] .el-col-16 {
274
274
  flex: 0 0 calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
275
275
  max-width: calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
276
276
  }
277
277
  @media (max-width: 768px) {
278
- .runtime-page-container[data-v-8954a922] .el-col-16 {
278
+ .runtime-page-container[data-v-e96bdd44] .el-col-16 {
279
279
  flex: 0 0 100%;
280
280
  max-width: 100%;
281
281
  }
282
282
  }
283
- .runtime-page-container[data-v-8954a922] .el-col-16 > .el-form-item:only-child {
283
+ .runtime-page-container[data-v-e96bdd44] .el-col-16 > .el-form-item:only-child {
284
284
  margin-bottom: 0;
285
285
  }
286
286
  @media (max-width: 768px) {
287
- .runtime-page-container[data-v-8954a922] .el-col-17 {
287
+ .runtime-page-container[data-v-e96bdd44] .el-col-17 {
288
288
  flex: 0 0 100%;
289
289
  max-width: 100%;
290
290
  }
291
291
  }
292
- .runtime-page-container[data-v-8954a922] .el-col-17 > .el-form-item:only-child {
292
+ .runtime-page-container[data-v-e96bdd44] .el-col-17 > .el-form-item:only-child {
293
293
  margin-bottom: 0;
294
294
  }
295
- .runtime-page-container[data-v-8954a922] .el-col-18 {
295
+ .runtime-page-container[data-v-e96bdd44] .el-col-18 {
296
296
  flex: 0 0 calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
297
297
  max-width: calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
298
298
  }
299
299
  @media (max-width: 768px) {
300
- .runtime-page-container[data-v-8954a922] .el-col-18 {
300
+ .runtime-page-container[data-v-e96bdd44] .el-col-18 {
301
301
  flex: 0 0 100%;
302
302
  max-width: 100%;
303
303
  }
304
304
  }
305
- .runtime-page-container[data-v-8954a922] .el-col-18 > .el-form-item:only-child {
305
+ .runtime-page-container[data-v-e96bdd44] .el-col-18 > .el-form-item:only-child {
306
306
  margin-bottom: 0;
307
307
  }
308
308
  @media (max-width: 768px) {
309
- .runtime-page-container[data-v-8954a922] .el-col-19 {
309
+ .runtime-page-container[data-v-e96bdd44] .el-col-19 {
310
310
  flex: 0 0 100%;
311
311
  max-width: 100%;
312
312
  }
313
313
  }
314
- .runtime-page-container[data-v-8954a922] .el-col-19 > .el-form-item:only-child {
314
+ .runtime-page-container[data-v-e96bdd44] .el-col-19 > .el-form-item:only-child {
315
315
  margin-bottom: 0;
316
316
  }
317
- .runtime-page-container[data-v-8954a922] .el-col-20 {
317
+ .runtime-page-container[data-v-e96bdd44] .el-col-20 {
318
318
  flex: 0 0 calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
319
319
  max-width: calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
320
320
  }
321
321
  @media (max-width: 768px) {
322
- .runtime-page-container[data-v-8954a922] .el-col-20 {
322
+ .runtime-page-container[data-v-e96bdd44] .el-col-20 {
323
323
  flex: 0 0 100%;
324
324
  max-width: 100%;
325
325
  }
326
326
  }
327
- .runtime-page-container[data-v-8954a922] .el-col-20 > .el-form-item:only-child {
327
+ .runtime-page-container[data-v-e96bdd44] .el-col-20 > .el-form-item:only-child {
328
328
  margin-bottom: 0;
329
329
  }
330
330
  @media (max-width: 768px) {
331
- .runtime-page-container[data-v-8954a922] .el-col-21 {
331
+ .runtime-page-container[data-v-e96bdd44] .el-col-21 {
332
332
  flex: 0 0 100%;
333
333
  max-width: 100%;
334
334
  }
335
335
  }
336
- .runtime-page-container[data-v-8954a922] .el-col-21 > .el-form-item:only-child {
336
+ .runtime-page-container[data-v-e96bdd44] .el-col-21 > .el-form-item:only-child {
337
337
  margin-bottom: 0;
338
338
  }
339
- .runtime-page-container[data-v-8954a922] .el-col-22 {
339
+ .runtime-page-container[data-v-e96bdd44] .el-col-22 {
340
340
  flex: 0 0 calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
341
341
  max-width: calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
342
342
  }
343
343
  @media (max-width: 768px) {
344
- .runtime-page-container[data-v-8954a922] .el-col-22 {
344
+ .runtime-page-container[data-v-e96bdd44] .el-col-22 {
345
345
  flex: 0 0 100%;
346
346
  max-width: 100%;
347
347
  }
348
348
  }
349
- .runtime-page-container[data-v-8954a922] .el-col-22 > .el-form-item:only-child {
349
+ .runtime-page-container[data-v-e96bdd44] .el-col-22 > .el-form-item:only-child {
350
350
  margin-bottom: 0;
351
351
  }
352
352
  @media (max-width: 768px) {
353
- .runtime-page-container[data-v-8954a922] .el-col-23 {
353
+ .runtime-page-container[data-v-e96bdd44] .el-col-23 {
354
354
  flex: 0 0 100%;
355
355
  max-width: 100%;
356
356
  }
357
357
  }
358
- .runtime-page-container[data-v-8954a922] .el-col-23 > .el-form-item:only-child {
358
+ .runtime-page-container[data-v-e96bdd44] .el-col-23 > .el-form-item:only-child {
359
359
  margin-bottom: 0;
360
360
  }
361
361
  @media (max-width: 768px) {
362
- .runtime-page-container[data-v-8954a922] .el-col-24 {
362
+ .runtime-page-container[data-v-e96bdd44] .el-col-24 {
363
363
  flex: 0 0 100%;
364
364
  max-width: 100%;
365
365
  }
366
366
  }
367
- .runtime-page-container[data-v-8954a922] .el-col-24 > .el-form-item:only-child {
367
+ .runtime-page-container[data-v-e96bdd44] .el-col-24 > .el-form-item:only-child {
368
368
  margin-bottom: 0;
369
369
  }
370
- .runtime-page-container[data-v-8954a922] .el-input-group > .el-input-group__append > .el-button + .el-button {
370
+ .runtime-page-container[data-v-e96bdd44] .el-input-group > .el-input-group__append > .el-button + .el-button {
371
371
  margin-left: 12px;
372
372
  }
373
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view, .runtime-page-container[data-v-8954a922] .el-container > .el-main, .runtime-page-container[data-v-8954a922] .el-container > .el-aside {
373
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside {
374
374
  display: flex;
375
375
  flex-direction: row;
376
376
  align-items: flex-start;
@@ -378,52 +378,52 @@
378
378
  flex-wrap: wrap;
379
379
  gap: var(--runtime-page-container-view-gap, 15px);
380
380
  min-height: 100%;
381
- height: 100%;
381
+ height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
382
382
  overflow: auto;
383
383
  }
384
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-8954a922] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-8954a922] .el-container > [style*="padding: 10px"].el-aside {
384
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-e96bdd44] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-e96bdd44] .el-container > [style*="padding: 10px"].el-aside {
385
385
  padding: 0 !important;
386
386
  }
387
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-form, .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-form, .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-form {
387
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form {
388
388
  width: 100%;
389
389
  display: flex;
390
390
  flex-wrap: wrap;
391
391
  gap: var(--runtime-page-container-view-gap, 15px);
392
392
  }
393
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-form > div {
393
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form > div {
394
394
  width: 100%;
395
395
  }
396
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
396
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
397
397
  width: auto;
398
398
  }
399
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view > div, .runtime-page-container[data-v-8954a922] .el-container > .el-main > div, .runtime-page-container[data-v-8954a922] .el-container > .el-aside > div {
399
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div {
400
400
  width: 100%;
401
401
  }
402
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-aside > div[style*="display: inline-block"] {
402
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[style*="display: inline-block"] {
403
403
  width: auto;
404
404
  }
405
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-8954a922] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-8954a922] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-8954a922] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-8954a922] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-8954a922] .el-container > .el-aside > div[style="flex:"] {
405
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > div[style="flex:"] {
406
406
  flex: none !important;
407
407
  }
408
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-aside > [style*="display: inline-block"] {
408
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > [style*="display: inline-block"] {
409
409
  width: auto;
410
410
  }
411
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-8954a922] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-8954a922] .el-container > .el-aside > .el-row[class*=el-col-] {
411
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside > .el-row[class*=el-col-] {
412
412
  flex: none;
413
413
  }
414
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-row, .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-row, .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-row {
414
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row {
415
415
  gap: var(--layout-form-flex-gap, 15px);
416
416
  }
417
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-row > div {
417
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row > div {
418
418
  width: 100%;
419
419
  }
420
- .runtime-page-container[data-v-8954a922] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-8954a922] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
420
+ .runtime-page-container[data-v-e96bdd44] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
421
421
  width: auto;
422
422
  }
423
- .runtime-page-container[data-v-8954a922] .el-container {
423
+ .runtime-page-container[data-v-e96bdd44] .el-container {
424
424
  gap: var(--runtime-page-container-view-gap, 15px);
425
425
  }
426
- .runtime-page-container[data-v-8954a922] .el-container > .el-main, .runtime-page-container[data-v-8954a922] .el-container > .el-aside {
426
+ .runtime-page-container[data-v-e96bdd44] .el-container > .el-main, .runtime-page-container[data-v-e96bdd44] .el-container > .el-aside {
427
427
  padding: 0;
428
428
  }.yx-affix[data-v-a994b02d]:empty {
429
429
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.24",
3
+ "version": "2.3.25",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",