@ibiz-template/runtime 0.7.41-alpha.87 → 0.7.41-alpha.88
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 +71 -21
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.js +2 -2
- package/out/controller/common/view/view.controller.js +2 -1
- package/out/controller/control/app-menu/app-menu.controller.js +4 -4
- package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts +2 -1
- package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +2 -1
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts +6 -0
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts.map +1 -1
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.js +13 -0
- package/out/controller/control/toolbar/toolbar.controller.d.ts.map +1 -1
- package/out/controller/control/toolbar/toolbar.controller.js +9 -7
- package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -1
- package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts +6 -0
- package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts.map +1 -1
- package/out/controller/control/wizard-panel/wizard-panel.controller.js +14 -0
- package/out/interface/api/app/i-api-app-hub-service.d.ts +7 -7
- package/out/interface/api/app/i-api-app-service.d.ts +1 -1
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +4 -6
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-config.d.ts +15 -15
- package/out/interface/api/common/global-config/i-api-global-img-compress-config.d.ts +3 -3
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts +4 -4
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts +5 -5
- package/out/interface/api/common/global-config/i-api-global-water-mark-config.d.ts +14 -14
- package/out/interface/api/common/i-api-data-ability-params.d.ts +4 -4
- package/out/interface/api/common/i-api-modal-data.d.ts +1 -1
- package/out/interface/api/common/i-api-ui-action-result.d.ts +1 -1
- package/out/interface/api/controller/common/i-api.controller.d.ts +2 -2
- package/out/interface/api/controller/control/form-detail/i-api-form-item.controller.d.ts +5 -5
- package/out/interface/api/controller/control/i-api-form.controller.d.ts +7 -6
- package/out/interface/api/controller/control/i-api-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +1 -1
- package/out/interface/api/i-api-runtime-ibizsys.d.ts +12 -12
- package/out/interface/api/service/i-api-code-list.service.d.ts +1 -1
- package/out/interface/api/service/i-api-de-service-util.d.ts +1 -1
- package/out/interface/api/state/common/i-api-button-container.state.d.ts +3 -3
- package/out/interface/api/state/common/i-api-button.state.d.ts +3 -3
- package/out/interface/api/state/control/i-api-form.state.d.ts +2 -2
- package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
- package/out/interface/api/util/i-api-app-util.d.ts +7 -7
- package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
- package/out/interface/api/util/i-api-file-util.d.ts +6 -6
- package/out/interface/api/util/i-api-fullscreen-util.d.ts +2 -2
- package/out/interface/api/util/i-api-global-util.d.ts +11 -11
- package/out/interface/api/util/i-api-html2canvas-util.d.ts +2 -2
- package/out/interface/api/util/i-api-message-util.d.ts +5 -5
- package/out/interface/api/util/i-api-modal-util.d.ts +9 -9
- package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
- package/out/interface/api/util/i-api-open-view-util.d.ts +7 -7
- package/out/interface/api/util/i-api-print-preview-util.d.ts +2 -2
- package/out/interface/api/util/i-api-qrcode-util.d.ts +4 -5
- package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
- package/out/interface/api/util/i-api-text-util.d.ts +6 -6
- package/out/interface/api/util/i-api-theme-util.d.ts +3 -3
- package/out/interface/api/util/i-api-ui-action-util.d.ts +3 -3
- package/out/interface/api/util/i-api-water-mark-util.d.ts +1 -1
- package/out/model/utils/util.d.ts.map +1 -1
- package/out/model/utils/util.js +7 -3
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -19442,8 +19442,8 @@ var GlobalConfig = class {
|
|
|
19442
19442
|
enableKnowledgeBaseSelect: true,
|
|
19443
19443
|
enableRecallConfigSetting: true,
|
|
19444
19444
|
reRankDefaultValue: 2,
|
|
19445
|
-
maxChunksDefaultValue:
|
|
19446
|
-
chunkThresholdDefaultValue: 0
|
|
19445
|
+
maxChunksDefaultValue: void 0,
|
|
19446
|
+
chunkThresholdDefaultValue: void 0,
|
|
19447
19447
|
chunkPageIndexDefaultValue: void 0,
|
|
19448
19448
|
enableAsyncActionNotice: false,
|
|
19449
19449
|
aiChunkView: "",
|
|
@@ -20923,12 +20923,24 @@ async function calcDyUiactionGroup(refUIActionGroup, context, params) {
|
|
|
20923
20923
|
}
|
|
20924
20924
|
async function calcUIActionDetails(uiactionGroupDetails, context, params) {
|
|
20925
20925
|
const refActionDetails = [];
|
|
20926
|
-
uiactionGroupDetails.forEach(
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20926
|
+
uiactionGroupDetails.forEach(
|
|
20927
|
+
(detail, index) => {
|
|
20928
|
+
var _a3, _b2, _c, _d;
|
|
20929
|
+
if ((_a3 = detail.capLanguageRes) == null ? void 0 : _a3.lanResTag)
|
|
20930
|
+
detail.caption = ibiz.i18n.t(
|
|
20931
|
+
detail.capLanguageRes.lanResTag,
|
|
20932
|
+
detail.caption
|
|
20933
|
+
);
|
|
20934
|
+
if ((_b2 = detail.tooltipLanguageRes) == null ? void 0 : _b2.lanResTag)
|
|
20935
|
+
detail.tooltip = ibiz.i18n.t(
|
|
20936
|
+
detail.tooltipLanguageRes.lanResTag,
|
|
20937
|
+
detail.tooltip
|
|
20938
|
+
);
|
|
20939
|
+
if (detail.detailType === "DEUIACTIONGROUP" && ((_c = detail.refUIActionGroup) == null ? void 0 : _c.dynamicMode) === 1 && !((_d = detail.refUIActionGroup) == null ? void 0 : _d.uiactionGroupDetails)) {
|
|
20940
|
+
refActionDetails.push({ detail, index });
|
|
20941
|
+
}
|
|
20930
20942
|
}
|
|
20931
|
-
|
|
20943
|
+
);
|
|
20932
20944
|
const asyncTasks = [];
|
|
20933
20945
|
refActionDetails.forEach(({ detail }) => {
|
|
20934
20946
|
const { refUIActionGroup } = detail;
|
|
@@ -28521,7 +28533,8 @@ var ViewController = class extends BaseController {
|
|
|
28521
28533
|
* @protected
|
|
28522
28534
|
*/
|
|
28523
28535
|
convertMultipleLanguages() {
|
|
28524
|
-
|
|
28536
|
+
var _a3;
|
|
28537
|
+
if ((_a3 = this.model.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
28525
28538
|
this.model.caption = ibiz.i18n.t(
|
|
28526
28539
|
this.model.capLanguageRes.lanResTag,
|
|
28527
28540
|
this.model.caption
|
|
@@ -31204,18 +31217,18 @@ var AppMenuController = class extends ControlController {
|
|
|
31204
31217
|
var _a3;
|
|
31205
31218
|
const convertItemLang = (menuItems) => {
|
|
31206
31219
|
menuItems.forEach((item) => {
|
|
31207
|
-
var _a4;
|
|
31208
|
-
if (item.capLanguageRes
|
|
31220
|
+
var _a4, _b2, _c;
|
|
31221
|
+
if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag)
|
|
31209
31222
|
item.caption = ibiz.i18n.t(
|
|
31210
31223
|
item.capLanguageRes.lanResTag,
|
|
31211
31224
|
item.caption
|
|
31212
31225
|
);
|
|
31213
|
-
if (item.tooltipLanguageRes
|
|
31226
|
+
if ((_b2 = item.tooltipLanguageRes) == null ? void 0 : _b2.lanResTag)
|
|
31214
31227
|
item.tooltip = ibiz.i18n.t(
|
|
31215
31228
|
item.tooltipLanguageRes.lanResTag,
|
|
31216
31229
|
item.tooltip
|
|
31217
31230
|
);
|
|
31218
|
-
if ((
|
|
31231
|
+
if ((_c = item.appMenuItems) == null ? void 0 : _c.length)
|
|
31219
31232
|
convertItemLang(item.appMenuItems);
|
|
31220
31233
|
});
|
|
31221
31234
|
};
|
|
@@ -35485,22 +35498,27 @@ var ToolbarController = class extends ControlController {
|
|
|
35485
35498
|
* @protected
|
|
35486
35499
|
*/
|
|
35487
35500
|
convertMultipleLanguages() {
|
|
35488
|
-
|
|
35501
|
+
var _a3;
|
|
35502
|
+
const convertItemLang = (items) => {
|
|
35489
35503
|
items.forEach((item) => {
|
|
35490
|
-
|
|
35504
|
+
var _a4, _b2;
|
|
35505
|
+
if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag)
|
|
35491
35506
|
item.caption = ibiz.i18n.t(
|
|
35492
35507
|
item.capLanguageRes.lanResTag,
|
|
35493
35508
|
item.caption
|
|
35494
35509
|
);
|
|
35495
|
-
|
|
35510
|
+
if ((_b2 = item.tooltipLanguageRes) == null ? void 0 : _b2.lanResTag)
|
|
35511
|
+
item.tooltip = ibiz.i18n.t(
|
|
35512
|
+
item.tooltipLanguageRes.lanResTag,
|
|
35513
|
+
item.tooltip
|
|
35514
|
+
);
|
|
35496
35515
|
if (item.itemType === "ITEMS" && item.detoolbarItems) {
|
|
35497
|
-
|
|
35516
|
+
convertItemLang(item.detoolbarItems);
|
|
35498
35517
|
}
|
|
35499
35518
|
});
|
|
35500
35519
|
};
|
|
35501
|
-
if (
|
|
35502
|
-
|
|
35503
|
-
}
|
|
35520
|
+
if ((_a3 = this.model.detoolbarItems) == null ? void 0 : _a3.length)
|
|
35521
|
+
convertItemLang(this.model.detoolbarItems);
|
|
35504
35522
|
}
|
|
35505
35523
|
};
|
|
35506
35524
|
|
|
@@ -52385,7 +52403,8 @@ var GridController = class extends MDControlController {
|
|
|
52385
52403
|
convertMultipleLanguages() {
|
|
52386
52404
|
const convertColumnCaption = (columns) => {
|
|
52387
52405
|
columns.forEach((column) => {
|
|
52388
|
-
|
|
52406
|
+
var _a3;
|
|
52407
|
+
if ((_a3 = column.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
52389
52408
|
column.caption = ibiz.i18n.t(
|
|
52390
52409
|
column.capLanguageRes.lanResTag,
|
|
52391
52410
|
column.caption
|
|
@@ -56818,6 +56837,22 @@ var TabExpPanelController = class extends ControlController {
|
|
|
56818
56837
|
this.counter.destroy();
|
|
56819
56838
|
}
|
|
56820
56839
|
}
|
|
56840
|
+
/**
|
|
56841
|
+
* @description 转换各类多语言
|
|
56842
|
+
* @protected
|
|
56843
|
+
* @memberof TabExpPanelController
|
|
56844
|
+
*/
|
|
56845
|
+
convertMultipleLanguages() {
|
|
56846
|
+
const viewPanel = this.model.controls;
|
|
56847
|
+
viewPanel == null ? void 0 : viewPanel.forEach((panel) => {
|
|
56848
|
+
var _a3;
|
|
56849
|
+
if ((_a3 = panel.capLanguageRes) == null ? void 0 : _a3.lanResTag)
|
|
56850
|
+
panel.caption = ibiz.i18n.t(
|
|
56851
|
+
panel.capLanguageRes.lanResTag,
|
|
56852
|
+
panel.caption
|
|
56853
|
+
);
|
|
56854
|
+
});
|
|
56855
|
+
}
|
|
56821
56856
|
};
|
|
56822
56857
|
|
|
56823
56858
|
// src/controller/control/tree/tree.controller.ts
|
|
@@ -59321,6 +59356,20 @@ var WizardPanelController = class extends ControlController {
|
|
|
59321
59356
|
});
|
|
59322
59357
|
}
|
|
59323
59358
|
}
|
|
59359
|
+
/**
|
|
59360
|
+
* @description 转换各类多语言
|
|
59361
|
+
* @protected
|
|
59362
|
+
* @memberof WizardPanelController
|
|
59363
|
+
*/
|
|
59364
|
+
convertMultipleLanguages() {
|
|
59365
|
+
var _a3;
|
|
59366
|
+
const dewizardSteps = (_a3 = this.model.dewizard) == null ? void 0 : _a3.dewizardSteps;
|
|
59367
|
+
dewizardSteps == null ? void 0 : dewizardSteps.forEach((step) => {
|
|
59368
|
+
var _a4;
|
|
59369
|
+
if ((_a4 = step.titleLanguageRes) == null ? void 0 : _a4.lanResTag)
|
|
59370
|
+
step.title = ibiz.i18n.t(step.titleLanguageRes.lanResTag, step.title);
|
|
59371
|
+
});
|
|
59372
|
+
}
|
|
59324
59373
|
};
|
|
59325
59374
|
|
|
59326
59375
|
// src/controller/control/md-ctrl/md-ctrl.controller.ts
|
|
@@ -60998,7 +61047,8 @@ var TreeGridExController = class extends TreeController {
|
|
|
60998
61047
|
convertMultipleLanguages() {
|
|
60999
61048
|
const convertColumnCaption = (columns) => {
|
|
61000
61049
|
columns.forEach((column) => {
|
|
61001
|
-
|
|
61050
|
+
var _a3;
|
|
61051
|
+
if ((_a3 = column.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
61002
61052
|
column.caption = ibiz.i18n.t(
|
|
61003
61053
|
column.capLanguageRes.lanResTag,
|
|
61004
61054
|
column.caption
|