@ibiz-template/runtime 0.7.19 → 0.7.20
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 +35 -31
- package/dist/index.system.min.js +1 -1
- package/out/controller/common/control/md-control.controller.js +1 -1
- package/out/controller/control/chart/generator/base-series-generator.js +1 -1
- package/out/controller/control/gantt/gantt.controller.js +8 -8
- package/out/controller/control/gantt/gantt.service.js +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +3 -3
- package/out/controller/control/tree/tree.service.js +1 -1
- package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +4 -4
- package/out/locale/en/index.d.ts +8 -6
- package/out/locale/en/index.d.ts.map +1 -1
- package/out/locale/en/index.js +8 -6
- package/out/locale/zh-CN/index.d.ts +8 -6
- package/out/locale/zh-CN/index.d.ts.map +1 -1
- package/out/locale/zh-CN/index.js +8 -6
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -18850,7 +18850,7 @@ var MDControlController = class extends ControlController {
|
|
|
18850
18850
|
if ((args == null ? void 0 : args.silent) !== true) {
|
|
18851
18851
|
this.actionNotification("REMOVESUCCESS", {
|
|
18852
18852
|
data,
|
|
18853
|
-
default: ibiz.i18n.t("runtime.controller.
|
|
18853
|
+
default: ibiz.i18n.t("runtime.controller.common.md.dataDeleted", {
|
|
18854
18854
|
str: data.map((item) => item.srfmajortext).join("\u3001")
|
|
18855
18855
|
})
|
|
18856
18856
|
});
|
|
@@ -20054,7 +20054,7 @@ var BaseSeriesGenerator = class {
|
|
|
20054
20054
|
} else {
|
|
20055
20055
|
this.prepareChartData(
|
|
20056
20056
|
groupData,
|
|
20057
|
-
{ [this.valueField]: groupData[group].get(catalog).value },
|
|
20057
|
+
{ ...item, [this.valueField]: groupData[group].get(catalog).value },
|
|
20058
20058
|
catalog,
|
|
20059
20059
|
group
|
|
20060
20060
|
);
|
|
@@ -30536,7 +30536,7 @@ var GridController = class extends MDControlController {
|
|
|
30536
30536
|
const editingRow = this.state.rows.find((item) => item.showRowEdit);
|
|
30537
30537
|
if (editingRow) {
|
|
30538
30538
|
throw new RuntimeError56(
|
|
30539
|
-
ibiz.i18n.t("runtime.controller.
|
|
30539
|
+
ibiz.i18n.t("runtime.controller.common.md.firstComplete")
|
|
30540
30540
|
);
|
|
30541
30541
|
}
|
|
30542
30542
|
}
|
|
@@ -30579,11 +30579,11 @@ var GridController = class extends MDControlController {
|
|
|
30579
30579
|
const rowState = this.findRowState(data);
|
|
30580
30580
|
if (!rowState) {
|
|
30581
30581
|
throw new RuntimeError56(
|
|
30582
|
-
ibiz.i18n.t("runtime.controller.
|
|
30582
|
+
ibiz.i18n.t("runtime.controller.common.md.rowData")
|
|
30583
30583
|
);
|
|
30584
30584
|
}
|
|
30585
30585
|
if (!rowState.modified) {
|
|
30586
|
-
ibiz.log.debug(ibiz.i18n.t("runtime.controller.
|
|
30586
|
+
ibiz.log.debug(ibiz.i18n.t("runtime.controller.common.md.noChange"));
|
|
30587
30587
|
return;
|
|
30588
30588
|
}
|
|
30589
30589
|
if (rowState.processing) {
|
|
@@ -34826,7 +34826,7 @@ var TreeService = class extends MDControlService {
|
|
|
34826
34826
|
default:
|
|
34827
34827
|
throw new ModelError30(
|
|
34828
34828
|
nodeModel,
|
|
34829
|
-
ibiz.i18n.t("runtime.controller.control.
|
|
34829
|
+
ibiz.i18n.t("runtime.controller.control.gantt.noSupport", {
|
|
34830
34830
|
treeNodeType: nodeModel.treeNodeType
|
|
34831
34831
|
})
|
|
34832
34832
|
);
|
|
@@ -37460,22 +37460,22 @@ var TreeGridExController = class extends TreeController {
|
|
|
37460
37460
|
}
|
|
37461
37461
|
async save(nodeData) {
|
|
37462
37462
|
if (this.state.isSimple) {
|
|
37463
|
-
ibiz.log.debug(ibiz.i18n.t("runtime.controller.
|
|
37463
|
+
ibiz.log.debug(ibiz.i18n.t("runtime.controller.common.md.simpleMode"));
|
|
37464
37464
|
return;
|
|
37465
37465
|
}
|
|
37466
37466
|
if (nodeData._nodeType !== "DE") {
|
|
37467
37467
|
throw new RuntimeError63(
|
|
37468
|
-
ibiz.i18n.t("runtime.controller.control.
|
|
37468
|
+
ibiz.i18n.t("runtime.controller.control.gantt.nonentity")
|
|
37469
37469
|
);
|
|
37470
37470
|
}
|
|
37471
37471
|
const rowState = this.state.rows[nodeData._uuid];
|
|
37472
37472
|
if (!rowState) {
|
|
37473
37473
|
throw new RuntimeError63(
|
|
37474
|
-
ibiz.i18n.t("runtime.controller.
|
|
37474
|
+
ibiz.i18n.t("runtime.controller.common.md.rowData")
|
|
37475
37475
|
);
|
|
37476
37476
|
}
|
|
37477
37477
|
if (!rowState.modified) {
|
|
37478
|
-
ibiz.log.debug(ibiz.i18n.t("runtime.controller.
|
|
37478
|
+
ibiz.log.debug(ibiz.i18n.t("runtime.controller.common.md.noChange"));
|
|
37479
37479
|
return;
|
|
37480
37480
|
}
|
|
37481
37481
|
if (rowState.processing) {
|
|
@@ -39278,7 +39278,7 @@ var GanttService = class extends TreeService {
|
|
|
39278
39278
|
default:
|
|
39279
39279
|
throw new ModelError31(
|
|
39280
39280
|
nodeModel,
|
|
39281
|
-
ibiz.i18n.t("runtime.controller.control.
|
|
39281
|
+
ibiz.i18n.t("runtime.controller.control.gantt.noSupport", {
|
|
39282
39282
|
treeNodeType: nodeModel.treeNodeType
|
|
39283
39283
|
})
|
|
39284
39284
|
);
|
|
@@ -39673,13 +39673,13 @@ var GanttController = class extends TreeGridExController {
|
|
|
39673
39673
|
async modifyNodeTime(nodeData, { begin, end }) {
|
|
39674
39674
|
if (nodeData._nodeType !== "DE") {
|
|
39675
39675
|
throw new RuntimeError66(
|
|
39676
|
-
ibiz.i18n.t("runtime.controller.control.
|
|
39676
|
+
ibiz.i18n.t("runtime.controller.control.gantt.noNode")
|
|
39677
39677
|
);
|
|
39678
39678
|
}
|
|
39679
39679
|
const rowState = this.getRowState(nodeData._id);
|
|
39680
39680
|
if (!rowState) {
|
|
39681
39681
|
throw new RuntimeError66(
|
|
39682
|
-
ibiz.i18n.t("runtime.controller.
|
|
39682
|
+
ibiz.i18n.t("runtime.controller.common.md.rowData")
|
|
39683
39683
|
);
|
|
39684
39684
|
}
|
|
39685
39685
|
const { beginDataItemName, endDataItemName } = this.model;
|
|
@@ -39696,22 +39696,22 @@ var GanttController = class extends TreeGridExController {
|
|
|
39696
39696
|
*/
|
|
39697
39697
|
async save(nodeData) {
|
|
39698
39698
|
if (this.state.isSimple) {
|
|
39699
|
-
ibiz.log.debug(ibiz.i18n.t("runtime.controller.
|
|
39699
|
+
ibiz.log.debug(ibiz.i18n.t("runtime.controller.common.md.simpleMode"));
|
|
39700
39700
|
return;
|
|
39701
39701
|
}
|
|
39702
39702
|
if (nodeData._nodeType !== "DE") {
|
|
39703
39703
|
throw new RuntimeError66(
|
|
39704
|
-
ibiz.i18n.t("runtime.controller.control.
|
|
39704
|
+
ibiz.i18n.t("runtime.controller.control.gantt.nonentity")
|
|
39705
39705
|
);
|
|
39706
39706
|
}
|
|
39707
39707
|
const rowState = this.state.rows[nodeData._uuid];
|
|
39708
39708
|
if (!rowState) {
|
|
39709
39709
|
throw new RuntimeError66(
|
|
39710
|
-
ibiz.i18n.t("runtime.controller.
|
|
39710
|
+
ibiz.i18n.t("runtime.controller.common.md.rowData")
|
|
39711
39711
|
);
|
|
39712
39712
|
}
|
|
39713
39713
|
if (!rowState.modified) {
|
|
39714
|
-
ibiz.log.debug(ibiz.i18n.t("runtime.controller.
|
|
39714
|
+
ibiz.log.debug(ibiz.i18n.t("runtime.controller.common.md.noChange"));
|
|
39715
39715
|
return;
|
|
39716
39716
|
}
|
|
39717
39717
|
if (rowState.processing) {
|
|
@@ -39813,7 +39813,7 @@ var GanttController = class extends TreeGridExController {
|
|
|
39813
39813
|
if ((args == null ? void 0 : args.silent) !== true) {
|
|
39814
39814
|
this.actionNotification("REMOVESUCCESS", {
|
|
39815
39815
|
data,
|
|
39816
|
-
default: ibiz.i18n.t("runtime.controller.
|
|
39816
|
+
default: ibiz.i18n.t("runtime.controller.common.md.dataDeleted", {
|
|
39817
39817
|
str: data.map((item) => item.srfmajortext).join("\u3001")
|
|
39818
39818
|
})
|
|
39819
39819
|
});
|
|
@@ -39880,7 +39880,7 @@ var GanttController = class extends TreeGridExController {
|
|
|
39880
39880
|
);
|
|
39881
39881
|
if (editingRow) {
|
|
39882
39882
|
throw new RuntimeError66(
|
|
39883
|
-
ibiz.i18n.t("runtime.controller.
|
|
39883
|
+
ibiz.i18n.t("runtime.controller.common.md.firstComplete")
|
|
39884
39884
|
);
|
|
39885
39885
|
}
|
|
39886
39886
|
}
|
|
@@ -43143,6 +43143,13 @@ var en = {
|
|
|
43143
43143
|
confirmDataDeletion: "Confirm deletion of data?",
|
|
43144
43144
|
noImportModel: "No import model is configured!"
|
|
43145
43145
|
},
|
|
43146
|
+
md: {
|
|
43147
|
+
rowData: "Row data does not exist",
|
|
43148
|
+
simpleMode: "Simple mode, no saving",
|
|
43149
|
+
dataDeleted: "Data [{str}] deleted successfully!",
|
|
43150
|
+
noChange: "The value has not changed",
|
|
43151
|
+
firstComplete: "Please complete the current line in the line editor first"
|
|
43152
|
+
},
|
|
43146
43153
|
editor: {
|
|
43147
43154
|
editorNoConfigured: "Editor type [{editorType}], code table not configured"
|
|
43148
43155
|
},
|
|
@@ -43205,14 +43212,9 @@ var en = {
|
|
|
43205
43212
|
searchTerms: "No search terms found to apply",
|
|
43206
43213
|
saveSearch: "No saved search criteria found"
|
|
43207
43214
|
},
|
|
43208
|
-
|
|
43215
|
+
gantt: {
|
|
43209
43216
|
noNode: "Not entity gantt node data",
|
|
43210
|
-
rowData: "Row data does not exist",
|
|
43211
|
-
simpleMode: "Simple mode, no saving",
|
|
43212
43217
|
nonentity: "Non-entity node data cannot be saved",
|
|
43213
|
-
noChange: "The value has not changed",
|
|
43214
|
-
dataDeleted: "Data [{str}] deleted successfully!",
|
|
43215
|
-
firstComplete: "Please complete the current line in the line editor first",
|
|
43216
43218
|
noSupport: "{treeNodeType} node type not supported"
|
|
43217
43219
|
},
|
|
43218
43220
|
grid: {
|
|
@@ -43716,6 +43718,13 @@ var zhCn = {
|
|
|
43716
43718
|
confirmDataDeletion: "\u786E\u8BA4\u5220\u9664\u6570\u636E\uFF1F",
|
|
43717
43719
|
noImportModel: "\u6CA1\u6709\u914D\u7F6E\u5BFC\u5165\u6A21\u578B\uFF01"
|
|
43718
43720
|
},
|
|
43721
|
+
md: {
|
|
43722
|
+
rowData: "\u884C\u6570\u636E\u4E0D\u5B58\u5728",
|
|
43723
|
+
simpleMode: "\u7B80\u5355\u6A21\u5F0F\uFF0C\u4E0D\u4FDD\u5B58",
|
|
43724
|
+
dataDeleted: "\u6570\u636E[{str}]\u5220\u9664\u6210\u529F!",
|
|
43725
|
+
noChange: "\u503C\u6CA1\u6709\u53D1\u751F\u6539\u53D8",
|
|
43726
|
+
firstComplete: "\u8BF7\u5148\u5B8C\u6210\u5F53\u524D\u884C\u7F16\u8F91\u4E2D\u7684\u884C\u7684\u64CD\u4F5C"
|
|
43727
|
+
},
|
|
43719
43728
|
editor: {
|
|
43720
43729
|
editorNoConfigured: "\u7F16\u8F91\u5668\u7C7B\u578B[{editorType}]\uFF0C\u672A\u914D\u7F6E\u4EE3\u7801\u8868"
|
|
43721
43730
|
},
|
|
@@ -43778,14 +43787,9 @@ var zhCn = {
|
|
|
43778
43787
|
searchTerms: "\u6CA1\u6709\u627E\u5230\u53EF\u4EE5\u5E94\u7528\u7684\u641C\u7D22\u6761\u4EF6",
|
|
43779
43788
|
saveSearch: "\u6CA1\u6709\u627E\u5230\u4FDD\u5B58\u7684\u641C\u7D22\u6761\u4EF6"
|
|
43780
43789
|
},
|
|
43781
|
-
|
|
43790
|
+
gantt: {
|
|
43782
43791
|
noNode: "\u4E0D\u662F\u5B9E\u4F53\u7518\u7279\u8282\u70B9\u6570\u636E",
|
|
43783
|
-
rowData: "\u884C\u6570\u636E\u4E0D\u5B58\u5728",
|
|
43784
|
-
simpleMode: "\u7B80\u5355\u6A21\u5F0F\uFF0C\u4E0D\u4FDD\u5B58",
|
|
43785
43792
|
nonentity: "\u975E\u5B9E\u4F53\u8282\u70B9\u6570\u636E\u4E0D\u80FD\u4FDD\u5B58",
|
|
43786
|
-
noChange: "\u503C\u6CA1\u6709\u53D1\u751F\u6539\u53D8",
|
|
43787
|
-
dataDeleted: "\u6570\u636E[{str}]\u5220\u9664\u6210\u529F!",
|
|
43788
|
-
firstComplete: "\u8BF7\u5148\u5B8C\u6210\u5F53\u524D\u884C\u7F16\u8F91\u4E2D\u7684\u884C\u7684\u64CD\u4F5C",
|
|
43789
43793
|
noSupport: "{treeNodeType}\u8282\u70B9\u7C7B\u578B\u672A\u652F\u6301"
|
|
43790
43794
|
},
|
|
43791
43795
|
grid: {
|