@ibiz-template/runtime 0.7.29-alpha.0 → 0.7.29
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.
- package/dist/index.esm.js +32 -4
- package/dist/index.system.min.js +1 -1
- package/out/controller/control/dashboard/custom-dashboard.controller.d.ts.map +1 -1
- package/out/controller/control/dashboard/custom-dashboard.controller.js +6 -0
- package/out/controller/control/dashboard/dashboard.controller.d.ts +8 -0
- package/out/controller/control/dashboard/dashboard.controller.d.ts.map +1 -1
- package/out/controller/control/dashboard/dashboard.controller.js +9 -0
- package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +3 -1
- package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.js +1 -1
- package/out/controller/control/search-bar/search-bar.controller.d.ts.map +1 -1
- package/out/controller/control/search-bar/search-bar.controller.js +3 -1
- package/out/interface/util/i-fullscreen-util/i-fullscreen-util.d.ts +15 -0
- package/out/interface/util/i-fullscreen-util/i-fullscreen-util.d.ts.map +1 -0
- package/out/interface/util/i-fullscreen-util/i-fullscreen-util.js +1 -0
- package/out/interface/util/index.d.ts +1 -0
- package/out/interface/util/index.d.ts.map +1 -1
- package/out/types.d.ts +8 -1
- package/out/types.d.ts.map +1 -1
- package/out/utils/bi-report-util/bi-report-util.js +1 -1
- package/out/utils/nav-params/nav-params.d.ts.map +1 -1
- package/out/utils/nav-params/nav-params.js +7 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -635,6 +635,12 @@ function convertNavData(navParams, ...origins) {
|
|
|
635
635
|
return convertNavDataByArray(navParamsArr, ...origins);
|
|
636
636
|
}
|
|
637
637
|
function getVal(origins, key) {
|
|
638
|
+
if (key === "srfcurtime") {
|
|
639
|
+
return {
|
|
640
|
+
find: true,
|
|
641
|
+
value: (/* @__PURE__ */ new Date()).getTime()
|
|
642
|
+
};
|
|
643
|
+
}
|
|
638
644
|
const keys = key.split(".");
|
|
639
645
|
let currentVal;
|
|
640
646
|
const findOrigin = origins.find((item) => {
|
|
@@ -15190,7 +15196,7 @@ var BIReportUtil = class {
|
|
|
15190
15196
|
biReportItems.dimension_col = [];
|
|
15191
15197
|
}
|
|
15192
15198
|
biReportItems.dimension_col.push(tempDimension);
|
|
15193
|
-
} else if (biReportUIModel && biReportUIModel.group && biReportUIModel.group.
|
|
15199
|
+
} else if (biReportUIModel && biReportUIModel.group && biReportUIModel.group.indexOf(item.pssysbicubedimensionid) !== -1) {
|
|
15194
15200
|
if (!biReportItems.group) {
|
|
15195
15201
|
biReportItems.group = [];
|
|
15196
15202
|
}
|
|
@@ -25732,6 +25738,14 @@ var DashboardController = class extends ControlController {
|
|
|
25732
25738
|
* @type {{ [key: string]: IPortletController }}
|
|
25733
25739
|
*/
|
|
25734
25740
|
this.portlets = {};
|
|
25741
|
+
/**
|
|
25742
|
+
* 动态门户部件Map
|
|
25743
|
+
*
|
|
25744
|
+
* @author tony001
|
|
25745
|
+
* @date 2024-07-09 17:07:57
|
|
25746
|
+
* @type {Map<string, IData>}
|
|
25747
|
+
*/
|
|
25748
|
+
this.dynaPortletMap = /* @__PURE__ */ new Map();
|
|
25735
25749
|
}
|
|
25736
25750
|
initState() {
|
|
25737
25751
|
super.initState();
|
|
@@ -25895,6 +25909,7 @@ var DashboardController = class extends ControlController {
|
|
|
25895
25909
|
tempContext,
|
|
25896
25910
|
this.params
|
|
25897
25911
|
);
|
|
25912
|
+
this.dynaPortletMap.set(id, res.data);
|
|
25898
25913
|
if (res && res.data && res.data.controlmodel) {
|
|
25899
25914
|
const controlModel = JSON.parse(res.data.controlmodel);
|
|
25900
25915
|
return await ibiz.hub.translationModelToDsl(
|
|
@@ -26085,6 +26100,15 @@ var CustomDashboardController = class {
|
|
|
26085
26100
|
res = await this.config.load();
|
|
26086
26101
|
}
|
|
26087
26102
|
if (res.model) {
|
|
26103
|
+
for (let i = 0; i < res.model.length; i++) {
|
|
26104
|
+
const item = res.model[i];
|
|
26105
|
+
if (item.orignModel) {
|
|
26106
|
+
item.portletModel = await ibiz.hub.translationModelToDsl(
|
|
26107
|
+
item.portletModel,
|
|
26108
|
+
"CTRL"
|
|
26109
|
+
);
|
|
26110
|
+
}
|
|
26111
|
+
}
|
|
26088
26112
|
this.customModelData = res.model;
|
|
26089
26113
|
}
|
|
26090
26114
|
if (res.colNum) {
|
|
@@ -32046,10 +32070,12 @@ var GridController = class extends MDControlController {
|
|
|
32046
32070
|
if (!this.addSchemaColumn) {
|
|
32047
32071
|
return;
|
|
32048
32072
|
}
|
|
32073
|
+
const tempParams = clone31(this.jsonSchemaParams);
|
|
32074
|
+
Object.assign(tempParams, this.params);
|
|
32049
32075
|
const json = await getEntitySchema(
|
|
32050
32076
|
this.model.appDataEntityId,
|
|
32051
32077
|
this.context,
|
|
32052
|
-
|
|
32078
|
+
tempParams
|
|
32053
32079
|
);
|
|
32054
32080
|
if (!json) {
|
|
32055
32081
|
return;
|
|
@@ -33320,7 +33346,7 @@ var GridFieldColumnController = class extends GridColumnController {
|
|
|
33320
33346
|
leading: true,
|
|
33321
33347
|
trailing: false
|
|
33322
33348
|
});
|
|
33323
|
-
this.loadCodeList();
|
|
33349
|
+
await this.loadCodeList();
|
|
33324
33350
|
}
|
|
33325
33351
|
/**
|
|
33326
33352
|
* 初始化属性列界面行为组按钮状态
|
|
@@ -35967,10 +35993,12 @@ var SearchBarController = class extends ControlController {
|
|
|
35967
35993
|
if (!this.addSchemaFilters) {
|
|
35968
35994
|
return;
|
|
35969
35995
|
}
|
|
35996
|
+
const tempParams = clone34(this.jsonSchemaParams);
|
|
35997
|
+
Object.assign(tempParams, this.params);
|
|
35970
35998
|
const json = await getEntitySchema(
|
|
35971
35999
|
this.model.appDataEntityId,
|
|
35972
36000
|
this.context,
|
|
35973
|
-
|
|
36001
|
+
tempParams
|
|
35974
36002
|
);
|
|
35975
36003
|
if (!json) {
|
|
35976
36004
|
return;
|