@ibiz-template/runtime 0.7.41-alpha.88 → 0.7.41-alpha.89
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 +41 -14
- package/dist/index.system.min.js +1 -1
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts +7 -0
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts.map +1 -1
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.js +20 -13
- package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts.map +1 -1
- package/out/controller/control/wizard-panel/wizard-panel.controller.js +10 -2
- package/out/interface/api/util/i-api-inline-ai-util.d.ts +1 -1
- package/out/interface/api/util/i-api-print-preview-util.d.ts +3 -3
- package/out/interface/api/util/i-api-print-preview-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-qrcode-util.d.ts +2 -2
- package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -40166,13 +40166,10 @@ var PortletPartController = class {
|
|
|
40166
40166
|
if (sysCss == null ? void 0 : sysCss.cssName) {
|
|
40167
40167
|
this.state.class.container.push(sysCss.cssName);
|
|
40168
40168
|
}
|
|
40169
|
-
|
|
40170
|
-
this.state.title = ibiz.i18n.t(titleLanguageRes.lanResTag, title);
|
|
40171
|
-
} else {
|
|
40172
|
-
this.state.title = title;
|
|
40173
|
-
}
|
|
40169
|
+
this.state.title = (titleLanguageRes == null ? void 0 : titleLanguageRes.lanResTag) ? ibiz.i18n.t(titleLanguageRes.lanResTag, title) : title;
|
|
40174
40170
|
this.config = { srftitle: this.state.title };
|
|
40175
40171
|
Object.assign(this.params, this.config);
|
|
40172
|
+
await this.initUIActions();
|
|
40176
40173
|
await this.initActionStates();
|
|
40177
40174
|
}
|
|
40178
40175
|
/**
|
|
@@ -40246,11 +40243,7 @@ var PortletPartController = class {
|
|
|
40246
40243
|
resetConfig() {
|
|
40247
40244
|
const { title, titleLanguageRes } = this.model;
|
|
40248
40245
|
this.params = new IBizParams2({}, this.dashboard.params);
|
|
40249
|
-
|
|
40250
|
-
this.state.title = ibiz.i18n.t(titleLanguageRes.lanResTag, title);
|
|
40251
|
-
} else {
|
|
40252
|
-
this.state.title = title;
|
|
40253
|
-
}
|
|
40246
|
+
this.state.title = (titleLanguageRes == null ? void 0 : titleLanguageRes.lanResTag) ? ibiz.i18n.t(titleLanguageRes.lanResTag, title) : title;
|
|
40254
40247
|
this.config = { srftitle: this.state.title };
|
|
40255
40248
|
Object.assign(this.params, this.config);
|
|
40256
40249
|
}
|
|
@@ -40274,6 +40267,18 @@ var PortletPartController = class {
|
|
|
40274
40267
|
);
|
|
40275
40268
|
}
|
|
40276
40269
|
}
|
|
40270
|
+
/**
|
|
40271
|
+
* @description 初始化界面行为组
|
|
40272
|
+
* @protected
|
|
40273
|
+
* @returns {*} {Promise<void>}
|
|
40274
|
+
* @memberof PortletPartController
|
|
40275
|
+
*/
|
|
40276
|
+
async initUIActions() {
|
|
40277
|
+
const { uiactionGroup } = this.model;
|
|
40278
|
+
if (!uiactionGroup)
|
|
40279
|
+
return;
|
|
40280
|
+
await calcUIActionGroup(uiactionGroup, this.context, this.params);
|
|
40281
|
+
}
|
|
40277
40282
|
/**
|
|
40278
40283
|
* 初始化标题右侧界面行为按钮的状态
|
|
40279
40284
|
*
|
|
@@ -59362,11 +59367,33 @@ var WizardPanelController = class extends ControlController {
|
|
|
59362
59367
|
* @memberof WizardPanelController
|
|
59363
59368
|
*/
|
|
59364
59369
|
convertMultipleLanguages() {
|
|
59365
|
-
|
|
59366
|
-
|
|
59370
|
+
const { dewizard } = this.model;
|
|
59371
|
+
if (!dewizard)
|
|
59372
|
+
return;
|
|
59373
|
+
const {
|
|
59374
|
+
dewizardSteps,
|
|
59375
|
+
prevCapLanResTag,
|
|
59376
|
+
nextCapLanResTag,
|
|
59377
|
+
finishCapLanResTag
|
|
59378
|
+
} = dewizard;
|
|
59379
|
+
if (prevCapLanResTag)
|
|
59380
|
+
dewizard.prevCaption = ibiz.i18n.t(
|
|
59381
|
+
prevCapLanResTag,
|
|
59382
|
+
dewizard.prevCaption
|
|
59383
|
+
);
|
|
59384
|
+
if (nextCapLanResTag)
|
|
59385
|
+
dewizard.nextCaption = ibiz.i18n.t(
|
|
59386
|
+
nextCapLanResTag,
|
|
59387
|
+
dewizard.nextCaption
|
|
59388
|
+
);
|
|
59389
|
+
if (finishCapLanResTag)
|
|
59390
|
+
dewizard.finishCaption = ibiz.i18n.t(
|
|
59391
|
+
finishCapLanResTag,
|
|
59392
|
+
dewizard.finishCaption
|
|
59393
|
+
);
|
|
59367
59394
|
dewizardSteps == null ? void 0 : dewizardSteps.forEach((step) => {
|
|
59368
|
-
var
|
|
59369
|
-
if ((
|
|
59395
|
+
var _a3;
|
|
59396
|
+
if ((_a3 = step.titleLanguageRes) == null ? void 0 : _a3.lanResTag)
|
|
59370
59397
|
step.title = ibiz.i18n.t(step.titleLanguageRes.lanResTag, step.title);
|
|
59371
59398
|
});
|
|
59372
59399
|
}
|