@ibiz-template/runtime 0.7.41-alpha.93 → 0.7.41-alpha.94

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 CHANGED
@@ -42445,13 +42445,19 @@ var SearchBarController = class extends ControlController {
42445
42445
  * @memberof SearchBarController
42446
42446
  */
42447
42447
  convertMultipleLanguages() {
42448
- const { searchBarGroups = [] } = this.model;
42448
+ const { searchBarGroups = [], searchBarFilters } = this.model;
42449
42449
  searchBarGroups.forEach((item) => {
42450
42450
  var _a3;
42451
42451
  if ((_a3 = item.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
42452
42452
  item.caption = ibiz.i18n.t(item.capLanguageRes.lanResTag, item.caption);
42453
42453
  }
42454
42454
  });
42455
+ searchBarFilters == null ? void 0 : searchBarFilters.forEach((item) => {
42456
+ var _a3;
42457
+ if ((_a3 = item.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
42458
+ item.caption = ibiz.i18n.t(item.capLanguageRes.lanResTag, item.caption);
42459
+ }
42460
+ });
42455
42461
  }
42456
42462
  };
42457
42463
 
@@ -46490,6 +46496,12 @@ var FormButtonController = class extends FormDetailController {
46490
46496
  async onInit() {
46491
46497
  super.onInit();
46492
46498
  await this.initActionStates();
46499
+ const { tooltip, tooltipLanguageRes, capLanguageRes } = this.model;
46500
+ if (tooltipLanguageRes == null ? void 0 : tooltipLanguageRes.lanResTag) {
46501
+ this.model.tooltip = ibiz.i18n.t(tooltipLanguageRes.lanResTag, tooltip);
46502
+ } else if (capLanguageRes == null ? void 0 : capLanguageRes.lanResTag) {
46503
+ this.model.tooltip = ibiz.i18n.t(capLanguageRes.lanResTag, tooltip);
46504
+ }
46493
46505
  }
46494
46506
  /**
46495
46507
  * 初始化界面行为按钮的状态