super-page-runtime 2.2.0 → 2.2.3

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 (22) hide show
  1. package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -2
  2. package/dist/es/components/runtime/utils/events/standard-event.js +49 -41
  3. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  4. package/dist/es/components/runtime/utils/page-helper-util.js +8 -12
  5. package/dist/es/components/runtime/utils/page-init-util.d.ts +6 -1
  6. package/dist/es/components/runtime/utils/page-init-util.js +38 -35
  7. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +1 -0
  13. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +146 -112
  14. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +19 -50
  15. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +129 -105
  16. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +16 -17
  17. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +86 -82
  18. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -28
  19. package/dist/es/components/runtime/views/super-page-dialog.vue.js +14 -12
  20. package/dist/es/components/runtime/views/super-page.vue.d.ts +9 -0
  21. package/dist/es/components/runtime/views/super-page.vue.js +163 -161
  22. package/package.json +2 -2
@@ -57,7 +57,7 @@ export declare function getSaveFormRequest(pageContext: PageContext, configureOb
57
57
  */
58
58
  export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
59
59
  export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any): void;
60
- export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any): void;
60
+ export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any, mySuccessOperation: any): void;
61
61
  export declare function doImportFinally(params: any, fileObj: any): void;
62
62
  export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
63
63
  export declare function dealCompleteTaskParam(commonEntity: any, isInit: any, pageContext: any, params?: any, operationResult?: any): boolean;
@@ -79,4 +79,4 @@ export declare function refreshPage(pageContext: PageContext, id?: any): void;
79
79
  * 获得表单数据
80
80
  * @param pageContext
81
81
  */
82
- export declare function getFormData(pageContext: PageContext, id?: any): Promise<unknown>;
82
+ export declare function getFormData(pageContext: PageContext, id?: any, isNeedId?: boolean): Promise<unknown>;
@@ -241,7 +241,8 @@ const E = { save: function(e2) {
241
241
  s2.entity.data = e((_a = s2.initChartData) == null ? void 0 : _a.data), s2.entity.page = e((_b = s2.initChartData) == null ? void 0 : _b.page), t2.isInitChart = true, _(t2);
242
242
  }, exportCharts: function(e2) {
243
243
  !function(e3) {
244
- const s2 = e3.pageContext, n2 = s2.initChartServiceConfigs;
244
+ const s2 = e3.pageContext;
245
+ const n2 = s2.allChartUuids;
245
246
  if (!n2 || 0 == n2.length)
246
247
  return;
247
248
  const o2 = e3.configureObj;
@@ -251,7 +252,7 @@ const E = { save: function(e2) {
251
252
  i2 && (i2.state = "disabled");
252
253
  const r2 = [];
253
254
  for (let e4 = 0; e4 < n2.length; e4++) {
254
- const t2 = n2[e4].uuid, o3 = g(s2, t2);
255
+ const t2 = n2[e4], o3 = g(s2, t2);
255
256
  if (o3) {
256
257
  const e5 = o3.getConfigure();
257
258
  e5 && e5.exportable && o3.exportChart && r2.push(o3.exportChart());
@@ -429,18 +430,19 @@ function F(e2, t2, s2, n2) {
429
430
  }
430
431
  }(s2, o2, e2), y(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
431
432
  }
432
- function $(e2, t2, s2) {
433
+ function $(e2, t2, s2, n2) {
433
434
  var _a;
434
435
  t2 && !t2.props.base && (t2.props.base = {});
435
- let n2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation;
436
- const o2 = q(e2, t2);
437
- if (o2 && "list" === o2 && !n2 && (n2 = "refresh"), "refresh" === n2) {
438
- if (o2 && "list" === o2) {
436
+ let o2 = n2;
437
+ o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
438
+ const i2 = q(e2, t2);
439
+ if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
440
+ if (i2 && "list" === i2) {
439
441
  const s3 = T(e2, t2);
440
442
  if (s3) {
441
443
  g(e2, s3).refresh();
442
444
  }
443
- } else if (o2 && "form" === o2) {
445
+ } else if (i2 && "form" === i2) {
444
446
  const t3 = e2.entity.data;
445
447
  ue(e2, t3.ID ? t3.ID : t3.id);
446
448
  }
@@ -792,23 +794,26 @@ function ue(e2, t2) {
792
794
  e2.isRefresh = true;
793
795
  });
794
796
  }
795
- function le(e2, s2) {
796
- const n2 = e2.pageType;
797
- if (n2 && "form" === n2) {
797
+ function le(e2, s2, n2) {
798
+ const i2 = e2.pageType;
799
+ if (i2 && "form" === i2) {
798
800
  e2.canClick = false;
799
- return o(e2) ? function(e3, s3) {
800
- return new Promise((n3, o2) => {
801
- const i2 = e3.systemCode, a2 = e3.code, u2 = e3.version, l2 = ee(e3), p2 = s3 || (l2 && l2.id ? l2.id : null), d2 = s3 ? [s3] : l2 ? l2.ids : null, f2 = l2 ? l2.taskId : null, g2 = a2, C2 = { pageCode: a2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: i2, functionCode: g2 + ".workflowGets", listCodesMap: e3.listCodesMap };
801
+ return o(e2) ? function(e3, s3, n3) {
802
+ return new Promise((o2, i3) => {
803
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ee(e3);
804
+ let d2 = s3 || null, f2 = s3 ? [s3] : null;
805
+ void 0 === n3 || n3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
806
+ const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap };
802
807
  if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
803
808
  const t2 = {};
804
809
  e3.tableUuids.forEach((e4) => {
805
- const s4 = r(a2, u2, e4);
810
+ const s4 = r(u2, l2, e4);
806
811
  t2[s4] = s4;
807
- }), C2.listCodesMap = t2;
812
+ }), b2.listCodesMap = t2;
808
813
  }
809
- d2 && (C2.ids = pe(d2)), f2 ? C2.taskId = f2 : p2 ? C2.id = p2 : (l2 && l2._t_ && m(l2._t_ + "_id") && (C2.id = m(l2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), l2 && (C2.additionalParamMap = l2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
810
- const b2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets";
811
- c.post(b2, C2).then((t2) => {
814
+ f2 && (b2.ids = pe(f2)), g2 ? b2.taskId = g2 : d2 ? b2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (b2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
815
+ const T2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets";
816
+ c.post(T2, b2).then((t2) => {
812
817
  e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, K(t2, true, e3), e3.workflowRules = U(e3);
813
818
  const s4 = e3.pageType;
814
819
  if (s4 && "form" === s4) {
@@ -820,12 +825,12 @@ function le(e2, s2) {
820
825
  const n4 = s5[e6].name;
821
826
  if (n4)
822
827
  if (0 === n4.indexOf("$") && n4.indexOf(".") > 0) {
823
- const o3 = s5[e6], i3 = JSON.parse(JSON.stringify(o3)), a3 = n4.substring(1, n4.indexOf(".")), r2 = n4.substring(n4.indexOf(".") + 1);
824
- if (i3.name = r2, i3 && "all_fields" === i3.name)
825
- false === i3.canEdit ? i3.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i3.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: false }]) : i3.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i3.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: true }]);
828
+ const o3 = s5[e6], i4 = JSON.parse(JSON.stringify(o3)), a3 = n4.substring(1, n4.indexOf(".")), r2 = n4.substring(n4.indexOf(".") + 1);
829
+ if (i4.name = r2, i4 && "all_fields" === i4.name)
830
+ false === i4.canEdit ? i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t4.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t4.set(a3, [{ name: "all_fields", canEdit: true }]);
826
831
  else {
827
832
  let e7 = t4.get(a3);
828
- e7 || (e7 = []), e7.push(i3), t4.set(a3, e7);
833
+ e7 || (e7 = []), e7.push(i4), t4.set(a3, e7);
829
834
  }
830
835
  } else
831
836
  t4.set(n4, s5[e6]);
@@ -835,8 +840,8 @@ function le(e2, s2) {
835
840
  const t4 = e5.fieldPermissionMap, s5 = /* @__PURE__ */ new Map(), n4 = e5.actionPermissions;
836
841
  if (null != n4) {
837
842
  Object.keys(n4).forEach((e6) => {
838
- const o3 = n4[e6], i3 = t4.get(e6);
839
- if (i3 && i3.length > 0 && "all_fields" === i3[0].name && false === i3[0].canEdit)
843
+ const o3 = n4[e6], i4 = t4.get(e6);
844
+ if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit)
840
845
  o3.canUpdate = false, o3.canAdd = false;
841
846
  else {
842
847
  const s6 = o3.canUpdate, n5 = o3.updateRowIndexes;
@@ -851,34 +856,37 @@ function le(e2, s2) {
851
856
  const t3 = { runtime: { events: e3.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
852
857
  y(null, e3, t3, "load");
853
858
  }
854
- e3.canClick = true, n3(t2);
855
- }).catch((t2) => {
856
859
  e3.canClick = true, o2(t2);
860
+ }).catch((t2) => {
861
+ e3.canClick = true, i3(t2);
857
862
  });
858
863
  });
859
- }(e2, s2) : function(e3, s3) {
860
- return new Promise((n3, o2) => {
861
- const i2 = e3.systemCode, a2 = e3.code, u2 = e3.version, l2 = ee(e3), p2 = s3 || (l2 && l2.id ? l2.id : null), d2 = s3 ? [s3] : l2 ? l2.ids : null, f2 = l2 ? l2.taskId : null, g2 = a2, C2 = t(e3.backendUrl, e3.isTest), b2 = { pageCode: a2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: p2, systemCode: i2, functionCode: g2 + ".gets", listCodesMap: e3.listCodesMap };
862
- if (!b2.id && l2 && l2._t_ && m(l2._t_ + "_id") && (b2.id = m(l2._t_ + "_id")), d2 && (b2.ids = pe(d2)), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), l2 && (b2.additionalParamMap = l2), e3.beanName && (b2.beanName = e3.beanName), f2 && (b2.taskId = f2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
864
+ }(e2, s2, n2) : function(e3, s3, n3) {
865
+ return new Promise((o2, i3) => {
866
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ee(e3);
867
+ let d2 = s3 || null, f2 = s3 ? [s3] : null;
868
+ void 0 === n3 || n3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
869
+ const g2 = p2 ? p2.taskId : null, C2 = u2, b2 = t(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap };
870
+ if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = pe(f2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
863
871
  const t2 = {};
864
872
  e3.tableUuids.forEach((e4) => {
865
- const s4 = r(a2, u2, e4);
873
+ const s4 = r(u2, l2, e4);
866
874
  t2[s4] = s4;
867
- }), b2.listCodesMap = t2;
875
+ }), T2.listCodesMap = t2;
868
876
  }
869
- e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
870
- const T2 = C2 + "/dsc/commons/gets";
871
- c.post(T2, b2).then((t2) => {
877
+ e3.refercePropMap && (T2.refercePropMap = e3.refercePropMap);
878
+ const w2 = b2 + "/dsc/commons/gets";
879
+ c.post(w2, T2).then((t2) => {
872
880
  t2 && (e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
873
- const s4 = e3.customRules, o3 = e3.rules, i3 = A(s4, o3);
874
- e3.rules = i3;
881
+ const s4 = e3.customRules, n4 = e3.rules, i4 = A(s4, n4);
882
+ e3.rules = i4;
875
883
  const a3 = { runtime: { events: e3.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
876
- y(null, e3, a3, "load"), e3.canClick = true, n3(t2);
884
+ y(null, e3, a3, "load"), e3.canClick = true, o2(t2);
877
885
  }).catch((t2) => {
878
- e3.canClick = true, o2(t2);
886
+ e3.canClick = true, i3(t2);
879
887
  });
880
888
  });
881
- }(e2, s2);
889
+ }(e2, s2, n2);
882
890
  }
883
891
  return new Promise((e3, t2) => {
884
892
  e3(true);
@@ -71,6 +71,7 @@ export interface PageDesign extends Component {
71
71
  contextParam?: object;
72
72
  systemtParam?: object;
73
73
  subTableWatchProps?: object;
74
+ allChartUuids: Array<string>;
74
75
  }
75
76
  /**
76
77
  * 运行时页面对象
@@ -141,6 +142,7 @@ export interface PageContext extends Component {
141
142
  refercePropMap?: object;
142
143
  subTableWatchProps?: object;
143
144
  [otherProp: string]: any;
145
+ allChartUuids: Array<string>;
144
146
  }
145
147
  /**
146
148
  * 事件对象
@@ -76,17 +76,13 @@ function updateChartDatasources(t, e, o, n) {
76
76
  return void r(new Error("无需查询的统计图配置!"));
77
77
  const s = deepCopy(e);
78
78
  s.forEach((e2) => {
79
- var _a;
80
- const o2 = e2.uuid, n2 = getComponentRef(t, o2);
81
- if (n2) {
82
- const o3 = n2.getConfigure(), a2 = (_a = o3 == null ? void 0 : o3.props.dataOrigin) == null ? void 0 : _a.serviceInputs;
83
- if (a2) {
84
- const o4 = e2.services;
85
- o4 && o4.length > 0 && (o4[0].serviceInParams = {}, a2.forEach((e3) => {
86
- const n3 = e3.name, a3 = e3.value;
87
- o4[0].serviceInParams[n3] = getValueFromVariable(t.entity, a3);
88
- }));
89
- }
79
+ const o2 = e2.services;
80
+ if (o2 && o2.length > 0) {
81
+ let e3 = o2[0].serviceInputs;
82
+ e3 && (o2[0].serviceInParams = {}, e3.forEach((e4) => {
83
+ const n2 = e4.name, a2 = e4.value;
84
+ o2[0].serviceInParams[n2] = getValueFromVariable(t.entity, a2);
85
+ }), delete o2[0].serviceInputs);
90
86
  }
91
87
  });
92
88
  const i = t.entity ? t.entity : {}, u = {};
@@ -102,7 +98,7 @@ function updateChartDatasources(t, e, o, n) {
102
98
  const a2 = getComponentRef(t, o2);
103
99
  if (a2) {
104
100
  const r2 = a2.getConfigure();
105
- if ((!n || r2 && r2.initializationQuery) && a2.updateChartDatas && (a2.updateChartDatas(e2[o2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
101
+ if ((!n || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(e2[o2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
106
102
  const n2 = e2[o2] && e2[o2].length > 0 ? e2[o2][0] : {}, a3 = n2 && n2.result ? n2.result : {};
107
103
  let s2 = null;
108
104
  r2.serviceDataField ? s2 = a3[r2.serviceDataField] : a3 && (s2 = Array.isArray(a3) ? a3 : [a3]), s2 || (s2 = []), setValueForVariableName(t.entity, r2.runtime.dataConfig.resultSet, s2);
@@ -16,7 +16,12 @@ export declare function queryPageDesignByCode(pageCode: string): Promise<any>;
16
16
  * 转换页面设计对象为运行时对象
17
17
  * @param pageDesign 页面设计对象
18
18
  */
19
- export declare function convertToPageContext(pageDesign: PageDesign, pageRequest: object): PageContext | null;
19
+ export declare function convertToPageContext(pageDesign: PageDesign): PageContext | null;
20
+ /**
21
+ * 获取请求对象的值
22
+ */
23
+ export declare function packageAdditionalMapWithLocationSearch(requestObj: any): any;
24
+ export declare function packageAdditionalMapWithPageRequest(pageRequest: object, requestObj: any): void;
20
25
  export declare function packageAdditionalMapWithRoute(route: any, requestObj: any): void;
21
26
  export declare function getModelFields(formItemConfigure: any, prop?: string): string[];
22
27
  /**
@@ -9,26 +9,26 @@ import { packageCustomValidator as u } from "./events/validator-util.js";
9
9
  function d(t2) {
10
10
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t2);
11
11
  }
12
- function m(e2, t2) {
12
+ function m(e2) {
13
13
  var _a;
14
14
  if (null == e2)
15
15
  return null;
16
- const n2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: c(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: e2.isWorkflowEntity, entity: { data: {}, task: {}, request: f(t2), page: {}, context: e2.contextParam, system: e2.systemParam } };
16
+ const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: c(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam } };
17
17
  if (e2.props && e2.props.notIdInitializationList) {
18
- let t3 = e2.props.notIdInitializationList;
19
- "string" == typeof t3 && (t3 = JSON.parse(t3)), t3.length > 0 && (n2.notIdInitializationList = t3);
18
+ let s2 = e2.props.notIdInitializationList;
19
+ "string" == typeof s2 && (s2 = JSON.parse(s2)), s2.length > 0 && (t2.notIdInitializationList = s2);
20
20
  }
21
21
  if (e2.variables) {
22
- const t3 = n2.entity.page;
23
- for (const s2 of e2.variables)
24
- s2.name && (s2.isArrayElement ? t3[s2.name] = [] : s2.defaultValue ? t3[s2.name] = s2.defaultValue : t3[s2.name] = void 0);
22
+ const s2 = t2.entity.page;
23
+ for (const t3 of e2.variables)
24
+ t3.name && (t3.isArrayElement ? s2[t3.name] = [] : t3.defaultValue ? s2[t3.name] = t3.defaultValue : s2[t3.name] = void 0);
25
25
  }
26
- return Object.assign(n2, e2), n2.dimensions = function() {
26
+ return Object.assign(t2, e2), t2.dimensions = function() {
27
27
  const e3 = window.outerWidth;
28
28
  if (!e3)
29
29
  return s.PC;
30
30
  return e3 > 768 ? s.PC : e3 > 414 ? s.IPAD : s.PHONE;
31
- }(), n2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], n2;
31
+ }(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
32
32
  }
33
33
  function c(e2) {
34
34
  try {
@@ -39,28 +39,29 @@ function c(e2) {
39
39
  }
40
40
  }
41
41
  function f(e2) {
42
- const t2 = {};
43
- if (e2) {
44
- b(e2.paramStoreId, t2), delete e2.paramStoreId, Object.assign(t2, e2);
45
- }
46
- let s2 = decodeURI(window.location.href);
47
- if (s2 && s2.includes("?")) {
48
- s2 = s2.substring(s2.lastIndexOf("?") + 1);
49
- const e3 = s2.split("&");
50
- for (const s3 of e3) {
51
- const e4 = s3.split("=");
52
- t2[e4[0]] = e4.length > 1 ? e4[1] : "";
42
+ let t2 = decodeURI(window.location.href);
43
+ if (t2 && t2.includes("?")) {
44
+ t2 = t2.substring(t2.lastIndexOf("?") + 1);
45
+ const s2 = t2.split("&");
46
+ for (const t3 of s2) {
47
+ const s3 = t3.split("=");
48
+ e2[s3[0]] = s3.length > 1 ? s3[1] : "";
53
49
  }
54
50
  }
55
- return t2._t_, t2;
51
+ e2._t_;
56
52
  }
57
53
  function g(e2, t2) {
54
+ if (e2) {
55
+ h(e2.paramStoreId, t2), delete e2.paramStoreId, Object.assign(t2, e2);
56
+ }
57
+ }
58
+ function b(e2, t2) {
58
59
  if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
59
60
  Object.assign(t2, e2.query);
60
- b(e2.query.paramStoreId, t2);
61
+ h(e2.query.paramStoreId, t2);
61
62
  }
62
63
  }
63
- function b(e2, t2) {
64
+ function h(e2, t2) {
64
65
  if (e2) {
65
66
  const s2 = r(e2);
66
67
  if (s2) {
@@ -75,17 +76,17 @@ function y(e2, t2) {
75
76
  let i2 = null;
76
77
  return t2 && !t2.startsWith("${") ? i2 = ["data", t2] : !e2 || n2 && n2.startsWith("${") ? n2.startsWith("${") ? (n2 = n2.substring(2, n2.length - 1), i2 = n2.split("."), e2 && i2.length < 2 && (i2 = [e2.uuid])) : e2 && (i2 = ["page", e2.uuid]) : i2 = ["page", e2.uuid], i2 || e2 ? i2 : ["temp"];
77
78
  }
78
- function h(e2, t2, s2) {
79
+ function E(e2, t2, s2) {
79
80
  const i2 = y(t2, s2), o2 = e2.entity;
80
81
  if (null == o2.data.ID && null == o2.data.id) {
81
82
  let s3, r2, l2 = false;
82
83
  t2 && (s3 = t2.props.base ? t2.props.base : {}, r2 = t2.name, l2 = s3.multiple);
83
- const a2 = E(e2, s3 ? s3.defaultValue : null, r2, l2);
84
+ const a2 = v(e2, s3 ? s3.defaultValue : null, r2, l2);
84
85
  null != a2 && n(o2, i2, a2);
85
86
  }
86
87
  return i2;
87
88
  }
88
- function E(e2, t2, s2, n2) {
89
+ function v(e2, t2, s2, n2) {
89
90
  let o2;
90
91
  if (t2 && (o2 = i(e2, t2), null != o2 && null != o2 && s2)) {
91
92
  let e3 = false;
@@ -93,7 +94,7 @@ function E(e2, t2, s2, n2) {
93
94
  }
94
95
  return o2;
95
96
  }
96
- function v(e2, t2) {
97
+ function P(e2, t2) {
97
98
  if (!t2 || !e2 || t2.isTest)
98
99
  return "true";
99
100
  const s2 = [];
@@ -110,13 +111,13 @@ function v(e2, t2) {
110
111
  }
111
112
  return s2.join(",");
112
113
  }
113
- function P(s2, n2, i2) {
114
+ function w(s2, n2, i2) {
114
115
  const o2 = s2.tableRuntimes, r2 = t(n2);
115
116
  let l2;
116
117
  const a2 = n2.code;
117
118
  return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: l2, pageCode: a2, publishVersion: i2, pageType: s2.pageType });
118
119
  }
119
- function w(e2, t2) {
120
+ function C(e2, t2) {
120
121
  var _a, _b;
121
122
  const s2 = t2.props && t2.props.base ? t2.props.base.prop : null;
122
123
  let n2 = false;
@@ -155,12 +156,14 @@ function I(e2, t2) {
155
156
  export {
156
157
  I as controlObjectRenderState,
157
158
  m as convertToPageContext,
158
- E as getDefaultValue,
159
- h as getFormModelFields,
159
+ v as getDefaultValue,
160
+ E as getFormModelFields,
160
161
  y as getModelFields,
161
- v as getPermissionCodes,
162
- g as packageAdditionalMapWithRoute,
163
- w as packageFormRules,
162
+ P as getPermissionCodes,
163
+ f as packageAdditionalMapWithLocationSearch,
164
+ g as packageAdditionalMapWithPageRequest,
165
+ b as packageAdditionalMapWithRoute,
166
+ C as packageFormRules,
164
167
  d as queryPageDesignByCode,
165
- P as queryPageSuperGrids
168
+ w as queryPageSuperGrids
166
169
  };
@@ -49,7 +49,7 @@ const N = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
49
49
  return C(U.pageContext, re, () => {
50
50
  ee(true);
51
51
  }), N2({ updateChartDatas: oe, exportChart: function() {
52
- d(F.value);
52
+ return d(F.value);
53
53
  }, chartOption: Q }), (e3, r2) => (n(), a("div", { style: i(u(J)), class: s([u(K), "amb-widget-chart"]), ref_key: "thisRef", ref: z }, [l(c(R, { ref_key: "headerRef", ref: H, headerInfo: u(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, u(M).showHeader]]), c(u(w), { ref_key: "chartRef", ref: F, theme: u(X), option: u(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
54
54
  } });
55
55
  export {
@@ -27,7 +27,7 @@ const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
27
27
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, B, e3));
28
28
  }
29
29
  return x(z.pageContext, L, K), b2({ updateChartDatas: M, exportChart: function() {
30
- h(F.value);
30
+ return h(F.value);
31
31
  } }), (e3, r2) => (a(), n("div", { style: u(s(P)), class: i([s(T), "amb-widget-chart"]), ref_key: "thisRef", ref: D }, [c(p(v, { ref_key: "headerRef", ref: H, headerInfo: s(A) }, null, 8, ["headerInfo"]), [[f, s(A).showHeader]]), p(s(w), { ref_key: "chartRef", ref: F, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
@@ -38,7 +38,7 @@ const T = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
38
38
  return j(U.pageContext, Z, () => {
39
39
  Y(true);
40
40
  }), T2({ updateChartDatas: $, exportChart: function() {
41
- d(F.value);
41
+ return d(F.value);
42
42
  } }), (e3, r2) => (n(), u("div", { style: a(l(B)), class: i([l(G), "amb-widget-chart"]), ref_key: "thisRef", ref: z }, [c(p(k, { ref_key: "headerRef", ref: H, headerInfo: l(K), onDrillEnd: Q }, null, 8, ["headerInfo"]), [[s, l(K).showHeader]]), p(l(w), { ref_key: "chartRef", ref: F, theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, openBlock as a, createElementBlock as n, normalizeStyle as s, unref as u, normalizeClass as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, openBlock as a, createElementBlock as n, normalizeStyle as u, unref as s, normalizeClass as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
2
2
  import { getCustomTheme as m, initChartOption as l, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
3
3
  import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-radar-util.js";
@@ -27,8 +27,8 @@ const z = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
27
27
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(D.pageContext, D.configure, E, e3));
28
28
  }
29
29
  return x(D.pageContext, M, L), z2({ updateChartDatas: N, exportChart: function() {
30
- h(H.value);
31
- } }), (e3, r2) => (a(), n("div", { style: s(u(T)), class: i([u(q), "amb-widget-chart"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: O, headerInfo: u(B) }, null, 8, ["headerInfo"]), [[f, u(B).showHeader]]), p(u(b), { ref_key: "chartRef", ref: H, theme: u(J), option: u(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
30
+ return h(H.value);
31
+ } }), (e3, r2) => (a(), n("div", { style: u(s(T)), class: i([s(q), "amb-widget-chart"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: O, headerInfo: s(B) }, null, 8, ["headerInfo"]), [[f, s(B).showHeader]]), p(s(b), { ref_key: "chartRef", ref: H, theme: s(J), option: s(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  z as default
@@ -27,7 +27,7 @@ const D = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
27
27
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(F.pageContext, F.configure, G, e3));
28
28
  }
29
29
  return x(F.pageContext, N, M), D2({ updateChartDatas: Q, exportChart: function() {
30
- h(O.value);
30
+ return h(O.value);
31
31
  } }), (e3, r2) => (a(), n("div", { style: s(u(q)), class: i([u(A), "amb-widget-chart"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: P, headerInfo: u(E) }, null, 8, ["headerInfo"]), [[f, u(E).showHeader]]), p(u(z), { ref_key: "chartRef", ref: O, theme: u(K), option: u(G), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
@@ -76,4 +76,5 @@ export declare function getIndexColumn(): {
76
76
  };
77
77
  };
78
78
  export declare function computeFormula(itemConfs: any, datas: any, entity: any): void;
79
+ export declare function formatColContent(row: any, format: any, column: any, pageContext: any, configure: any): any;
79
80
  export {};