@ibiz-template/runtime 0.7.41-alpha.86 → 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 +89 -37
- 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.d.ts.map +1 -1
- package/out/controller/control/app-menu/app-menu.controller.js +11 -12
- package/out/controller/control/data-view/data-view.controller.d.ts +1 -1
- package/out/controller/control/data-view/data-view.controller.js +1 -1
- package/out/controller/control/form/form/form.controller.d.ts +1 -1
- package/out/controller/control/form/form/form.controller.js +1 -1
- 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/gantt/gantt.controller.d.ts +1 -1
- package/out/controller/control/gantt/gantt.controller.js +1 -1
- package/out/controller/control/grid/grid/grid.controller.d.ts +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +3 -2
- package/out/controller/control/list/list.controller.d.ts +1 -1
- package/out/controller/control/list/list.controller.js +1 -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/tree.controller.d.ts +1 -1
- package/out/controller/control/tree/tree.controller.js +1 -1
- package/out/controller/control/tree-grid/tree-grid.controller.d.ts +1 -1
- package/out/controller/control/tree-grid/tree-grid.controller.js +1 -1
- 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/grid-column/i-api-grid-column.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-data-view-control.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-form.controller.d.ts +8 -7
- package/out/interface/api/controller/control/i-api-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-grid.controller.d.ts +6 -6
- package/out/interface/api/controller/control/i-api-list.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-md-control.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-tree.controller.d.ts +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/control/i-api-grid.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/out/ui-action/provider/sys-ui-action-provider.d.ts.map +1 -1
- package/out/ui-action/provider/sys-ui-action-provider.js +1 -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
|
|
@@ -31201,23 +31214,26 @@ var AppMenuController = class extends ControlController {
|
|
|
31201
31214
|
* @protected
|
|
31202
31215
|
*/
|
|
31203
31216
|
convertMultipleLanguages() {
|
|
31204
|
-
|
|
31217
|
+
var _a3;
|
|
31218
|
+
const convertItemLang = (menuItems) => {
|
|
31205
31219
|
menuItems.forEach((item) => {
|
|
31206
|
-
var
|
|
31207
|
-
if (item.capLanguageRes
|
|
31220
|
+
var _a4, _b2, _c;
|
|
31221
|
+
if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag)
|
|
31208
31222
|
item.caption = ibiz.i18n.t(
|
|
31209
31223
|
item.capLanguageRes.lanResTag,
|
|
31210
31224
|
item.caption
|
|
31211
31225
|
);
|
|
31212
|
-
|
|
31213
|
-
|
|
31214
|
-
|
|
31215
|
-
|
|
31226
|
+
if ((_b2 = item.tooltipLanguageRes) == null ? void 0 : _b2.lanResTag)
|
|
31227
|
+
item.tooltip = ibiz.i18n.t(
|
|
31228
|
+
item.tooltipLanguageRes.lanResTag,
|
|
31229
|
+
item.tooltip
|
|
31230
|
+
);
|
|
31231
|
+
if ((_c = item.appMenuItems) == null ? void 0 : _c.length)
|
|
31232
|
+
convertItemLang(item.appMenuItems);
|
|
31216
31233
|
});
|
|
31217
31234
|
};
|
|
31218
|
-
if (
|
|
31219
|
-
|
|
31220
|
-
}
|
|
31235
|
+
if ((_a3 = this.model.appMenuItems) == null ? void 0 : _a3.length)
|
|
31236
|
+
convertItemLang(this.model.appMenuItems);
|
|
31221
31237
|
}
|
|
31222
31238
|
/**
|
|
31223
31239
|
* @description 获取默认打开菜单项
|
|
@@ -31249,9 +31265,8 @@ var AppMenuController = class extends ControlController {
|
|
|
31249
31265
|
*/
|
|
31250
31266
|
async onDestroyed() {
|
|
31251
31267
|
await super.onDestroyed();
|
|
31252
|
-
if (this.counter)
|
|
31268
|
+
if (this.counter)
|
|
31253
31269
|
this.counter.destroy();
|
|
31254
|
-
}
|
|
31255
31270
|
}
|
|
31256
31271
|
};
|
|
31257
31272
|
|
|
@@ -34502,7 +34517,7 @@ var SysUIActionProvider = class extends UIActionProviderBase {
|
|
|
34502
34517
|
return { closeView: true };
|
|
34503
34518
|
}
|
|
34504
34519
|
const result = await view.callUIAction(uIActionTag, args);
|
|
34505
|
-
return result
|
|
34520
|
+
return result || {};
|
|
34506
34521
|
}
|
|
34507
34522
|
};
|
|
34508
34523
|
|
|
@@ -35483,22 +35498,27 @@ var ToolbarController = class extends ControlController {
|
|
|
35483
35498
|
* @protected
|
|
35484
35499
|
*/
|
|
35485
35500
|
convertMultipleLanguages() {
|
|
35486
|
-
|
|
35501
|
+
var _a3;
|
|
35502
|
+
const convertItemLang = (items) => {
|
|
35487
35503
|
items.forEach((item) => {
|
|
35488
|
-
|
|
35504
|
+
var _a4, _b2;
|
|
35505
|
+
if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag)
|
|
35489
35506
|
item.caption = ibiz.i18n.t(
|
|
35490
35507
|
item.capLanguageRes.lanResTag,
|
|
35491
35508
|
item.caption
|
|
35492
35509
|
);
|
|
35493
|
-
|
|
35510
|
+
if ((_b2 = item.tooltipLanguageRes) == null ? void 0 : _b2.lanResTag)
|
|
35511
|
+
item.tooltip = ibiz.i18n.t(
|
|
35512
|
+
item.tooltipLanguageRes.lanResTag,
|
|
35513
|
+
item.tooltip
|
|
35514
|
+
);
|
|
35494
35515
|
if (item.itemType === "ITEMS" && item.detoolbarItems) {
|
|
35495
|
-
|
|
35516
|
+
convertItemLang(item.detoolbarItems);
|
|
35496
35517
|
}
|
|
35497
35518
|
});
|
|
35498
35519
|
};
|
|
35499
|
-
if (
|
|
35500
|
-
|
|
35501
|
-
}
|
|
35520
|
+
if ((_a3 = this.model.detoolbarItems) == null ? void 0 : _a3.length)
|
|
35521
|
+
convertItemLang(this.model.detoolbarItems);
|
|
35502
35522
|
}
|
|
35503
35523
|
};
|
|
35504
35524
|
|
|
@@ -43426,7 +43446,7 @@ var DataViewControlController = class extends MDControlController {
|
|
|
43426
43446
|
}
|
|
43427
43447
|
}
|
|
43428
43448
|
/**
|
|
43429
|
-
* @description
|
|
43449
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
43430
43450
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
43431
43451
|
* @memberof DataViewControlController
|
|
43432
43452
|
*/
|
|
@@ -45197,7 +45217,7 @@ var FormController = class extends ControlController {
|
|
|
45197
45217
|
);
|
|
45198
45218
|
}
|
|
45199
45219
|
/**
|
|
45200
|
-
* @description
|
|
45220
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
45201
45221
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
45202
45222
|
* @memberof FormController
|
|
45203
45223
|
*/
|
|
@@ -52383,7 +52403,8 @@ var GridController = class extends MDControlController {
|
|
|
52383
52403
|
convertMultipleLanguages() {
|
|
52384
52404
|
const convertColumnCaption = (columns) => {
|
|
52385
52405
|
columns.forEach((column) => {
|
|
52386
|
-
|
|
52406
|
+
var _a3;
|
|
52407
|
+
if ((_a3 = column.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
52387
52408
|
column.caption = ibiz.i18n.t(
|
|
52388
52409
|
column.capLanguageRes.lanResTag,
|
|
52389
52410
|
column.caption
|
|
@@ -52581,7 +52602,7 @@ var GridController = class extends MDControlController {
|
|
|
52581
52602
|
this.state.totalResult = totalResult;
|
|
52582
52603
|
}
|
|
52583
52604
|
/**
|
|
52584
|
-
* 切换折叠(分组表格使用)
|
|
52605
|
+
* 切换折叠(分组表格使用),tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
52585
52606
|
* @author: zzq
|
|
52586
52607
|
* @date 2024-08-23 17:12:58
|
|
52587
52608
|
* @return {*} {void}
|
|
@@ -53916,7 +53937,7 @@ var ListController = class extends MDControlController {
|
|
|
53916
53937
|
}
|
|
53917
53938
|
}
|
|
53918
53939
|
/**
|
|
53919
|
-
* @description
|
|
53940
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
53920
53941
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
53921
53942
|
* @memberof ListController
|
|
53922
53943
|
*/
|
|
@@ -56816,6 +56837,22 @@ var TabExpPanelController = class extends ControlController {
|
|
|
56816
56837
|
this.counter.destroy();
|
|
56817
56838
|
}
|
|
56818
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
|
+
}
|
|
56819
56856
|
};
|
|
56820
56857
|
|
|
56821
56858
|
// src/controller/control/tree/tree.controller.ts
|
|
@@ -58577,7 +58614,7 @@ var TreeController = class extends MDControlController {
|
|
|
58577
58614
|
);
|
|
58578
58615
|
}
|
|
58579
58616
|
/**
|
|
58580
|
-
* @description
|
|
58617
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
58581
58618
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
58582
58619
|
* @memberof TreeController
|
|
58583
58620
|
*/
|
|
@@ -59319,6 +59356,20 @@ var WizardPanelController = class extends ControlController {
|
|
|
59319
59356
|
});
|
|
59320
59357
|
}
|
|
59321
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
|
+
}
|
|
59322
59373
|
};
|
|
59323
59374
|
|
|
59324
59375
|
// src/controller/control/md-ctrl/md-ctrl.controller.ts
|
|
@@ -60996,7 +61047,8 @@ var TreeGridExController = class extends TreeController {
|
|
|
60996
61047
|
convertMultipleLanguages() {
|
|
60997
61048
|
const convertColumnCaption = (columns) => {
|
|
60998
61049
|
columns.forEach((column) => {
|
|
60999
|
-
|
|
61050
|
+
var _a3;
|
|
61051
|
+
if ((_a3 = column.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
61000
61052
|
column.caption = ibiz.i18n.t(
|
|
61001
61053
|
column.capLanguageRes.lanResTag,
|
|
61002
61054
|
column.caption
|
|
@@ -62047,7 +62099,7 @@ var TreeGridController = class extends GridController {
|
|
|
62047
62099
|
this.state.showTreeGrid = !this.state.showTreeGrid;
|
|
62048
62100
|
}
|
|
62049
62101
|
/**
|
|
62050
|
-
* @description
|
|
62102
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
62051
62103
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
62052
62104
|
* @memberof TreeGridController
|
|
62053
62105
|
*/
|
|
@@ -66664,7 +66716,7 @@ var GanttController = class extends TreeGridExController {
|
|
|
66664
66716
|
onDEDataChange(msg) {
|
|
66665
66717
|
}
|
|
66666
66718
|
/**
|
|
66667
|
-
* @description
|
|
66719
|
+
* @description 切换折叠,tag=指定分组标识(不传则全部),expand=目标状态(不传则反转)
|
|
66668
66720
|
* @param {{ tag?: string; expand?: boolean }} [params={}]
|
|
66669
66721
|
* @memberof GanttController
|
|
66670
66722
|
*/
|