@ibiz-template/runtime 0.7.41-alpha.97 → 0.7.41-alpha.98

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.
Files changed (36) hide show
  1. package/dist/index.esm.js +28 -7
  2. package/dist/index.system.min.js +1 -1
  3. package/out/controller/common/editor/editor.controller.d.ts.map +1 -1
  4. package/out/controller/common/editor/editor.controller.js +4 -0
  5. package/out/controller/control/md-ctrl/md-ctrl-row.state.d.ts +1 -1
  6. package/out/controller/control/md-ctrl/md-ctrl-row.state.js +1 -1
  7. package/out/controller/control/search-bar/search-bar.controller.d.ts.map +1 -1
  8. package/out/controller/control/search-bar/search-bar.controller.js +4 -0
  9. package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
  10. package/out/controller/utils/view-msg/view-msg-controller.js +5 -0
  11. package/out/interface/api/common/i-api-data-ability-params.d.ts +1 -1
  12. package/out/interface/api/controller/control/form-detail/i-api-form-container.controller.d.ts +1 -1
  13. package/out/interface/api/controller/control/i-api-control.controller.d.ts +1 -1
  14. package/out/interface/api/controller/control/i-api-dashboard.controller.d.ts +2 -2
  15. package/out/interface/api/controller/control/i-api-grid.controller.d.ts +1 -1
  16. package/out/interface/api/controller/control/i-api-md-control.controller.d.ts +3 -3
  17. package/out/interface/api/controller/control/i-api-medit-view-panel.controller.d.ts +1 -1
  18. package/out/interface/api/controller/control/i-api-tab-exp-panel.controller.d.ts +1 -1
  19. package/out/interface/api/controller/control/i-api-tree-grid-ex.controller.d.ts +2 -2
  20. package/out/interface/api/controller/control/i-api-wizard-panel.controller.d.ts +2 -2
  21. package/out/interface/api/controller/control/panel-item/i-api-panel-container.controller.d.ts +1 -1
  22. package/out/interface/api/controller/control/portlet/i-api-filter-portlet.controller.d.ts +3 -3
  23. package/out/interface/api/controller/view/i-api-view.controller.d.ts +1 -1
  24. package/out/interface/api/state/control/i-api-grid.state.d.ts +2 -2
  25. package/out/interface/api/state/control/i-api-kanban.state.d.ts +3 -3
  26. package/out/interface/api/state/control/i-api-map.state.d.ts +1 -1
  27. package/out/interface/api/state/control/i-api-md-control.state.d.ts +2 -2
  28. package/out/interface/api/state/control/i-api-mob-md-ctrl.state.d.ts +1 -1
  29. package/out/interface/api/state/control/i-api-tab-exp-panel.state.d.ts +2 -2
  30. package/out/interface/api/state/control/i-api-tree-grid-ex.state.d.ts +1 -1
  31. package/out/interface/controller/state/control/i-mob-md-ctrl.state.d.ts +1 -1
  32. package/out/locale/en/index.d.ts +1 -1
  33. package/out/locale/en/index.js +1 -1
  34. package/out/locale/zh-CN/index.d.ts +1 -1
  35. package/out/locale/zh-CN/index.js +1 -1
  36. package/package.json +2 -2
package/dist/index.esm.js CHANGED
@@ -27240,8 +27240,15 @@ var ViewMsgController = class _ViewMsgController {
27240
27240
  if (!msgDetailsViewMsgIds)
27241
27241
  return;
27242
27242
  (_c = appModel.appViewMsgs) == null ? void 0 : _c.forEach((item) => {
27243
+ var _a4;
27243
27244
  const index = msgDetailsViewMsgIds.indexOf(item.id);
27244
27245
  if (index !== -1) {
27246
+ if ((_a4 = item.contentLanguageRes) == null ? void 0 : _a4.lanResTag) {
27247
+ item.message = ibiz.i18n.t(
27248
+ item.contentLanguageRes.lanResTag,
27249
+ item.message
27250
+ );
27251
+ }
27245
27252
  this.viewMsgMap.set(item.id, item);
27246
27253
  msgDetailsViewMsgIds.splice(index, 1);
27247
27254
  }
@@ -28903,9 +28910,16 @@ var EditorController = class {
28903
28910
  await this.onInit();
28904
28911
  }
28905
28912
  async onInit() {
28913
+ var _a3, _b2;
28906
28914
  if (this.model.placeHolder) {
28907
28915
  this.placeHolder = this.model.placeHolder;
28908
28916
  }
28917
+ if ((_a3 = this.model.phlanguageRes) == null ? void 0 : _a3.lanResTag) {
28918
+ this.placeHolder = ibiz.i18n.t(
28919
+ (_b2 = this.model.phlanguageRes) == null ? void 0 : _b2.lanResTag,
28920
+ this.placeHolder
28921
+ );
28922
+ }
28909
28923
  if (this.model.editorParams) {
28910
28924
  Object.keys(this.model.editorParams).forEach((key) => {
28911
28925
  this.editorParams[key] = this.model.editorParams[key];
@@ -42473,19 +42487,26 @@ var SearchBarController = class extends ControlController {
42473
42487
  * @memberof SearchBarController
42474
42488
  */
42475
42489
  convertMultipleLanguages() {
42490
+ var _a3;
42476
42491
  const { searchBarGroups = [], searchBarFilters } = this.model;
42477
42492
  searchBarGroups.forEach((item) => {
42478
- var _a3;
42479
- if ((_a3 = item.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
42493
+ var _a4;
42494
+ if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag) {
42480
42495
  item.caption = ibiz.i18n.t(item.capLanguageRes.lanResTag, item.caption);
42481
42496
  }
42482
42497
  });
42483
42498
  searchBarFilters == null ? void 0 : searchBarFilters.forEach((item) => {
42484
- var _a3;
42485
- if ((_a3 = item.capLanguageRes) == null ? void 0 : _a3.lanResTag) {
42499
+ var _a4;
42500
+ if ((_a4 = item.capLanguageRes) == null ? void 0 : _a4.lanResTag) {
42486
42501
  item.caption = ibiz.i18n.t(item.capLanguageRes.lanResTag, item.caption);
42487
42502
  }
42488
42503
  });
42504
+ if ((_a3 = this.model.gmtlanguageRes) == null ? void 0 : _a3.lanResTag) {
42505
+ this.model.groupMoreText = ibiz.i18n.t(
42506
+ this.model.gmtlanguageRes.lanResTag,
42507
+ this.model.groupMoreText
42508
+ );
42509
+ }
42489
42510
  }
42490
42511
  };
42491
42512
 
@@ -59637,7 +59658,7 @@ var MobMDCtrlRowState = class {
59637
59658
  this.data = data;
59638
59659
  this.controller = controller;
59639
59660
  /**
59640
- * 行为状态
59661
+ * 界面行为状态,key 为界面行为组标识
59641
59662
  *
59642
59663
  * @author chitanda
59643
59664
  * @date 2023-06-19 18:06:27
@@ -90212,7 +90233,7 @@ var en = {
90212
90233
  lt_and_eq: "Less than or equal to (<=)",
90213
90234
  is_null: "Value is Nil",
90214
90235
  is_not_null: "Value not null (NotNil)",
90215
- IN: "Value In range (In)",
90236
+ in: "Value In range (In)",
90216
90237
  not_in: "Value not in range (NotIn)",
90217
90238
  like: "Text contains (%)",
90218
90239
  lift_like: "Text left contained (%#)",
@@ -90895,7 +90916,7 @@ var zhCn = {
90895
90916
  lt_and_eq: "\u5C0F\u4E8E\u7B49\u4E8E(<=)",
90896
90917
  is_null: "\u503C\u4E3A\u7A7A(Nil)",
90897
90918
  is_not_null: "\u503C\u4E0D\u4E3A\u7A7A(NotNil)",
90898
- IN: "\u503C\u5728\u8303\u56F4\u4E2D(In)",
90919
+ in: "\u503C\u5728\u8303\u56F4\u4E2D(In)",
90899
90920
  not_in: "\u503C\u4E0D\u5728\u8303\u56F4\u4E2D(NotIn)",
90900
90921
  like: "\u6587\u672C\u5305\u542B(%)",
90901
90922
  lift_like: "\u6587\u672C\u5DE6\u5305\u542B(%#)",