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

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 (34) hide show
  1. package/dist/index.esm.js +204 -103
  2. package/dist/index.system.min.js +1 -1
  3. package/out/controller/control/dashboard/dashboard.controller.d.ts +6 -0
  4. package/out/controller/control/dashboard/dashboard.controller.d.ts.map +1 -1
  5. package/out/controller/control/dashboard/dashboard.controller.js +16 -0
  6. package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts.map +1 -1
  7. package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.js +4 -8
  8. package/out/controller/control/search-bar/search-bar-filter.controller.d.ts +2 -2
  9. package/out/controller/control/search-bar/search-bar-filter.controller.d.ts.map +1 -1
  10. package/out/controller/control/search-bar/search-bar.controller.d.ts +29 -40
  11. package/out/controller/control/search-bar/search-bar.controller.d.ts.map +1 -1
  12. package/out/controller/control/search-bar/search-bar.controller.js +28 -39
  13. package/out/interface/api/controller/control/i-api-drbar.controller.d.ts +10 -2
  14. package/out/interface/api/controller/control/i-api-drbar.controller.d.ts.map +1 -1
  15. package/out/interface/api/controller/control/i-api-drtab.controller.d.ts +1 -1
  16. package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts +50 -1
  17. package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts.map +1 -1
  18. package/out/interface/api/controller/control/index.d.ts +1 -1
  19. package/out/interface/api/controller/control/index.d.ts.map +1 -1
  20. package/out/interface/api/util/i-api-app-util.d.ts +7 -0
  21. package/out/interface/api/util/i-api-app-util.d.ts.map +1 -1
  22. package/out/locale/en/index.d.ts +17 -0
  23. package/out/locale/en/index.d.ts.map +1 -1
  24. package/out/locale/en/index.js +17 -0
  25. package/out/locale/zh-CN/index.d.ts +17 -0
  26. package/out/locale/zh-CN/index.d.ts.map +1 -1
  27. package/out/locale/zh-CN/index.js +17 -0
  28. package/out/model/utils/util.d.ts +2 -4
  29. package/out/model/utils/util.d.ts.map +1 -1
  30. package/out/model/utils/util.js +11 -1
  31. package/out/utils/jsonschema-util/jsonschema-util.d.ts +4 -6
  32. package/out/utils/jsonschema-util/jsonschema-util.d.ts.map +1 -1
  33. package/out/utils/jsonschema-util/jsonschema-util.js +71 -25
  34. package/package.json +2 -2
package/dist/index.esm.js CHANGED
@@ -20796,7 +20796,13 @@ function getPFPlugin(id, appId2) {
20796
20796
  function getControlPanel(control) {
20797
20797
  let layoutPanel;
20798
20798
  if (control.controlRenders) {
20799
- const panelRender = control.controlRenders.find(
20799
+ let { controlRenders } = control;
20800
+ if (controlRenders && controlRenders.length > 0 && control.controlType === "DASHBOARD") {
20801
+ controlRenders = controlRenders.filter(
20802
+ (item) => !(item.id.endsWith("_header") || item.id.endsWith("_header_caption") || item.id.endsWith("_header_bg") || item.id.endsWith("_header_action"))
20803
+ );
20804
+ }
20805
+ const panelRender = controlRenders.find(
20800
20806
  (item) => item.renderType === "LAYOUTPANEL" && !!item.layoutPanel && !Object.values(PredefinedControlRender).includes(
20801
20807
  item.id
20802
20808
  )
@@ -39088,6 +39094,7 @@ var CaptionBarController = class extends ControlController {
39088
39094
 
39089
39095
  // src/controller/control/dashboard/dashboard.controller.ts
39090
39096
  import { clone as clone20 } from "ramda";
39097
+ import { recursiveIterate as recursiveIterate4 } from "@ibiz-template/core";
39091
39098
 
39092
39099
  // src/controller/control/dashboard/dashboard.util.ts
39093
39100
  import { clone as clone19 } from "ramda";
@@ -39769,6 +39776,25 @@ var DashboardController = class extends ControlController {
39769
39776
  getPortlet(type, id) {
39770
39777
  return this.portlets[id];
39771
39778
  }
39779
+ /**
39780
+ * @description 转换各类多语言
39781
+ * @protected
39782
+ * @memberof IDashboardController
39783
+ */
39784
+ convertMultipleLanguages() {
39785
+ recursiveIterate4(
39786
+ this.model,
39787
+ (item) => {
39788
+ var _a3;
39789
+ if ((_a3 = item.titleLanguageRes) == null ? void 0 : _a3.lanResTag) {
39790
+ item.title = ibiz.i18n.t(item.titleLanguageRes.lanResTag, item.title);
39791
+ }
39792
+ },
39793
+ {
39794
+ childrenFields: ["controls"]
39795
+ }
39796
+ );
39797
+ }
39772
39798
  };
39773
39799
 
39774
39800
  // src/controller/control/dashboard/custom-dashboard.controller.ts
@@ -40212,7 +40238,7 @@ var PortletPartController = class {
40212
40238
  */
40213
40239
  async onInit() {
40214
40240
  this.onDataChange = this.onDataChange.bind(this);
40215
- const { layoutPos, sysCss, title, titleLanguageRes } = this.model;
40241
+ const { layoutPos, sysCss, title } = this.model;
40216
40242
  if (layoutPos) {
40217
40243
  const { width, height } = calcLayoutHeightWidth(this.model);
40218
40244
  this.state.layout.width = "".concat(width);
@@ -40221,7 +40247,7 @@ var PortletPartController = class {
40221
40247
  if (sysCss == null ? void 0 : sysCss.cssName) {
40222
40248
  this.state.class.container.push(sysCss.cssName);
40223
40249
  }
40224
- this.state.title = (titleLanguageRes == null ? void 0 : titleLanguageRes.lanResTag) ? ibiz.i18n.t(titleLanguageRes.lanResTag, title) : title;
40250
+ this.state.title = title;
40225
40251
  this.config = { srftitle: this.state.title };
40226
40252
  Object.assign(this.params, this.config);
40227
40253
  await this.initUIActions();
@@ -40296,9 +40322,9 @@ var PortletPartController = class {
40296
40322
  * @memberof PortletPartController
40297
40323
  */
40298
40324
  resetConfig() {
40299
- const { title, titleLanguageRes } = this.model;
40325
+ const { title } = this.model;
40300
40326
  this.params = new IBizParams2({}, this.dashboard.params);
40301
- this.state.title = (titleLanguageRes == null ? void 0 : titleLanguageRes.lanResTag) ? ibiz.i18n.t(titleLanguageRes.lanResTag, title) : title;
40327
+ this.state.title = title;
40302
40328
  this.config = { srftitle: this.state.title };
40303
40329
  Object.assign(this.params, this.config);
40304
40330
  }
@@ -40638,10 +40664,10 @@ var ReportPortletController = class extends PortletPartController {
40638
40664
  };
40639
40665
 
40640
40666
  // src/controller/control/dashboard/portlet/filter-portlet/filter-portlet.controller.ts
40641
- import { recursiveIterate as recursiveIterate6 } from "@ibiz-template/core";
40667
+ import { recursiveIterate as recursiveIterate7 } from "@ibiz-template/core";
40642
40668
 
40643
40669
  // src/controller/control/search-bar/search-bar.controller.ts
40644
- import { mergeInLeft, recursiveIterate as recursiveIterate5 } from "@ibiz-template/core";
40670
+ import { mergeInLeft, recursiveIterate as recursiveIterate6 } from "@ibiz-template/core";
40645
40671
  import { clone as clone23 } from "ramda";
40646
40672
  import { isString as isString3 } from "lodash-es";
40647
40673
 
@@ -41278,7 +41304,7 @@ var SearchBarFilterItemsController = class extends SearchBarFilterController {
41278
41304
  };
41279
41305
 
41280
41306
  // src/controller/control/search-bar/interface-util.ts
41281
- import { recursiveIterate as recursiveIterate4 } from "@ibiz-template/core";
41307
+ import { recursiveIterate as recursiveIterate5 } from "@ibiz-template/core";
41282
41308
  import { isNil as isNil17 } from "ramda";
41283
41309
  function getOriginFilterNodes() {
41284
41310
  return [
@@ -41295,7 +41321,7 @@ function validateFilterNodes(filterNodes) {
41295
41321
  const result = { pass: false };
41296
41322
  let hasFilter = false;
41297
41323
  let hasError = false;
41298
- recursiveIterate4(filterNodes[0], (node) => {
41324
+ recursiveIterate5(filterNodes[0], (node) => {
41299
41325
  if (hasError) {
41300
41326
  return;
41301
41327
  }
@@ -41816,31 +41842,26 @@ var SearchBarController = class extends ControlController {
41816
41842
  }
41817
41843
  }
41818
41844
  /**
41819
- * 处理输入
41845
+ * @description 处理快速搜索值输入
41820
41846
  * @param {string} val
41821
- * @return {*}
41822
- * @author: zhujiamin
41823
- * @Date: 2023-06-01 18:08:07
41847
+ * @memberof SearchBarController
41824
41848
  */
41825
41849
  handleInput(val) {
41826
41850
  this.state.query = val;
41827
41851
  }
41828
41852
  /**
41829
- * 处理搜索
41830
- * @return {*}
41831
- * @author: zhujiamin
41832
- * @Date: 2023-06-01 18:08:18
41853
+ * @description 搜索
41854
+ * @memberof SearchBarController
41833
41855
  */
41834
41856
  onSearch() {
41835
41857
  this.evt.emit("onSearch", void 0);
41836
41858
  }
41837
41859
  /**
41838
- * 找到过滤项控制器
41839
- * @author lxm
41840
- * @date 2024-02-04 11:29:31
41860
+ * @description 查找过滤项控制器
41841
41861
  * @param {(string | null)} fieldName
41842
41862
  * @param {(string | null)} valueOP
41843
- * @return {*} {(SearchBarFilterController | undefined)}
41863
+ * @returns {*} {(SearchBarFilterController | undefined)}
41864
+ * @memberof SearchBarController
41844
41865
  */
41845
41866
  findFilterController(fieldName, valueOP) {
41846
41867
  return this.filterControllers.find((item) => {
@@ -41851,10 +41872,9 @@ var SearchBarController = class extends ControlController {
41851
41872
  });
41852
41873
  }
41853
41874
  /**
41854
- * 获取搜索栏的过滤参数(包括快速搜索,快速分组和过滤器的参数)
41855
- * @author lxm
41856
- * @date 2023-10-16 03:54:07
41857
- * @return {*} {IParams}
41875
+ * @description 获取搜索栏当前的过滤条件参数
41876
+ * @returns {*} {IParams}
41877
+ * @memberof SearchBarController
41858
41878
  */
41859
41879
  getFilterParams() {
41860
41880
  var _a3, _b2, _c;
@@ -41888,9 +41908,8 @@ var SearchBarController = class extends ControlController {
41888
41908
  return params;
41889
41909
  }
41890
41910
  /**
41891
- * 重置过滤器
41892
- * @author lxm
41893
- * @date 2023-10-16 03:52:44
41911
+ * @description 重置
41912
+ * @memberof SearchBarController
41894
41913
  */
41895
41914
  resetFilter() {
41896
41915
  this.state.filterNodes = getOriginFilterNodes();
@@ -42159,10 +42178,9 @@ var SearchBarController = class extends ControlController {
42159
42178
  }
42160
42179
  }
42161
42180
  /**
42162
- * 点击默认选中
42163
- * @return {*}
42164
- * @author: zhujiamin
42165
- * @Date: 2024-01-24 11:12:43
42181
+ * @description 设置默认选中
42182
+ * @returns {*} {void}
42183
+ * @memberof SearchBarController
42166
42184
  */
42167
42185
  setDefaultSelect() {
42168
42186
  var _a3;
@@ -42191,10 +42209,9 @@ var SearchBarController = class extends ControlController {
42191
42209
  }
42192
42210
  }
42193
42211
  /**
42194
- * 处理保存
42195
- * @return {*}
42196
- * @author: zhujiamin
42197
- * @Date: 2023-12-19 16:17:15
42212
+ * @description 处理后台分组保存
42213
+ * @returns {*} {Promise<void>}
42214
+ * @memberof SearchBarController
42198
42215
  */
42199
42216
  async handleSave() {
42200
42217
  if (this.grid && this.state.selectedSearchGroupItem) {
@@ -42258,10 +42275,10 @@ var SearchBarController = class extends ControlController {
42258
42275
  }
42259
42276
  }
42260
42277
  /**
42261
- * 处理点击后台分组
42262
- * @return {*}
42263
- * @author: zhujiamin
42264
- * @Date: 2023-12-21 10:29:24
42278
+ * @description 处理点击后台分组
42279
+ * @param {IBackendSearchBarGroup} groupItem
42280
+ * @returns {*} {Promise<void>}
42281
+ * @memberof SearchBarController
42265
42282
  */
42266
42283
  async handleGroupClick(groupItem) {
42267
42284
  var _a3, _b2;
@@ -42305,7 +42322,7 @@ var SearchBarController = class extends ControlController {
42305
42322
  this.state.customCond = "";
42306
42323
  this.state.filterMode = "default";
42307
42324
  }
42308
- recursiveIterate5(this.state.filterNodes[0], (node) => {
42325
+ recursiveIterate6(this.state.filterNodes[0], (node) => {
42309
42326
  if (node.nodeType === "FIELD") {
42310
42327
  if (node.field && node.valueOP && isString3(node.value) && ScriptValueRegex2.test(node.value)) {
42311
42328
  node.disabled = true;
@@ -42321,10 +42338,9 @@ var SearchBarController = class extends ControlController {
42321
42338
  }
42322
42339
  }
42323
42340
  /**
42324
- * 初始化高级搜索
42325
- * @author lxm
42326
- * @date 2024-04-11 11:44:10
42341
+ * @description 初始化高级搜索
42327
42342
  * @protected
42343
+ * @memberof SearchBarController
42328
42344
  */
42329
42345
  initAdvancedQuickSearch() {
42330
42346
  var _a3;
@@ -42345,9 +42361,8 @@ var SearchBarController = class extends ControlController {
42345
42361
  }
42346
42362
  }
42347
42363
  /**
42348
- * 计算快速搜索占位符
42349
- * @author lxm
42350
- * @date 2024-04-11 05:36:52
42364
+ * @description 计算快速搜索占位符
42365
+ * @memberof SearchBarController
42351
42366
  */
42352
42367
  calcQuickSearchPlaceHolder() {
42353
42368
  if (this.state.advancedQuickSearch) {
@@ -42365,7 +42380,7 @@ var SearchBarController = class extends ControlController {
42365
42380
  }
42366
42381
  }
42367
42382
  /**
42368
- * @description 切换分组
42383
+ * @description 切换后台分组项
42369
42384
  * @param {string} tabId
42370
42385
  * @memberof SearchBarController
42371
42386
  */
@@ -42525,7 +42540,7 @@ var FilterPortletController = class extends PortletPartController {
42525
42540
  );
42526
42541
  if (modelSearchConds && modelSearchConds.length > 0) {
42527
42542
  const tempFieldSearchConds = [];
42528
- recursiveIterate6(
42543
+ recursiveIterate7(
42529
42544
  modelSearchConds[0],
42530
42545
  (item) => {
42531
42546
  if (item.condtype === "DEFIELD") {
@@ -44726,7 +44741,7 @@ import { RuntimeError as RuntimeError37 } from "@ibiz-template/core";
44726
44741
  import {
44727
44742
  RuntimeModelError as RuntimeModelError50,
44728
44743
  debounceAndAsyncMerge,
44729
- recursiveIterate as recursiveIterate7,
44744
+ recursiveIterate as recursiveIterate8,
44730
44745
  EntityError,
44731
44746
  RuntimeError as RuntimeError36
44732
44747
  } from "@ibiz-template/core";
@@ -45225,7 +45240,7 @@ var FormController = class extends ControlController {
45225
45240
  */
45226
45241
  initControlScheduler(logics = []) {
45227
45242
  const actualLogics = [...logics];
45228
- recursiveIterate7(
45243
+ recursiveIterate8(
45229
45244
  this.model,
45230
45245
  (item) => {
45231
45246
  if (item.controlLogics) {
@@ -45384,10 +45399,10 @@ var FormController = class extends ControlController {
45384
45399
  };
45385
45400
 
45386
45401
  // src/controller/control/form/search-form/search-form.service.ts
45387
- import { recursiveIterate as recursiveIterate9 } from "@ibiz-template/core";
45402
+ import { recursiveIterate as recursiveIterate10 } from "@ibiz-template/core";
45388
45403
 
45389
45404
  // src/controller/control/form/form/form.service.ts
45390
- import { recursiveIterate as recursiveIterate8 } from "@ibiz-template/core";
45405
+ import { recursiveIterate as recursiveIterate9 } from "@ibiz-template/core";
45391
45406
  import { clone as clone27, isNil as isNil19, isNotNil as isNotNil5 } from "ramda";
45392
45407
  var FormService = class extends ControlService {
45393
45408
  constructor() {
@@ -45411,7 +45426,7 @@ var FormService = class extends ControlService {
45411
45426
  */
45412
45427
  setDefault(data, context, params, type) {
45413
45428
  const { defaultData } = this.getLoadParams(params);
45414
- recursiveIterate8(
45429
+ recursiveIterate9(
45415
45430
  this.model,
45416
45431
  (item, parent) => {
45417
45432
  if (parent.detailType === "MDCTRL")
@@ -45470,7 +45485,7 @@ var FormService = class extends ControlService {
45470
45485
  */
45471
45486
  initUIDataMap() {
45472
45487
  super.initUIDataMap();
45473
- recursiveIterate8(
45488
+ recursiveIterate9(
45474
45489
  this.model,
45475
45490
  (item, parent) => {
45476
45491
  if (parent.detailType === "MDCTRL")
@@ -45553,7 +45568,7 @@ var SearchFormService = class extends FormService {
45553
45568
  * @date 2022-08-31 18:08:37
45554
45569
  */
45555
45570
  initUIDataMap() {
45556
- recursiveIterate9(
45571
+ recursiveIterate10(
45557
45572
  this.model,
45558
45573
  (item) => {
45559
45574
  if (item.detailType === "FORMITEM") {
@@ -48332,7 +48347,7 @@ var FormMDCtrlFormController = class extends FormMDCtrlController {
48332
48347
  };
48333
48348
 
48334
48349
  // src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.ts
48335
- import { ModelError as ModelError21, recursiveIterate as recursiveIterate10 } from "@ibiz-template/core";
48350
+ import { ModelError as ModelError21, recursiveIterate as recursiveIterate11 } from "@ibiz-template/core";
48336
48351
  import { clone as clone29, isNil as isNil20 } from "ramda";
48337
48352
  var FormMDCtrlRepeaterController = class extends FormMDCtrlController {
48338
48353
  constructor() {
@@ -48458,7 +48473,7 @@ var FormMDCtrlRepeaterController = class extends FormMDCtrlController {
48458
48473
  * @memberof FormMDCtrlRepeaterController
48459
48474
  */
48460
48475
  convertMultipleLanguages() {
48461
- recursiveIterate10(
48476
+ recursiveIterate11(
48462
48477
  this.repeatedForm,
48463
48478
  (item) => {
48464
48479
  var _a3;
@@ -48626,7 +48641,7 @@ var FormMDCtrlRepeaterController = class extends FormMDCtrlController {
48626
48641
  * @memberof FormMDCtrlRepeaterController
48627
48642
  */
48628
48643
  setDefaultValue(data, type) {
48629
- recursiveIterate10(
48644
+ recursiveIterate11(
48630
48645
  this.model,
48631
48646
  (item, parent) => {
48632
48647
  if (parent.detailType === "MDCTRL" && parent.id !== this.model.id)
@@ -49117,7 +49132,7 @@ import { clone as clone30, isNil as isNil21 } from "ramda";
49117
49132
 
49118
49133
  // src/controller/control/form/edit-form/edit-form.service.ts
49119
49134
  import {
49120
- recursiveIterate as recursiveIterate11,
49135
+ recursiveIterate as recursiveIterate12,
49121
49136
  RuntimeModelError as RuntimeModelError53
49122
49137
  } from "@ibiz-template/core";
49123
49138
  var EditFormService = class extends FormService {
@@ -49351,7 +49366,7 @@ var EditFormService = class extends FormService {
49351
49366
  // 向导预置
49352
49367
  "srfnextform"
49353
49368
  ];
49354
- recursiveIterate11(
49369
+ recursiveIterate12(
49355
49370
  this.model,
49356
49371
  (item, parent) => {
49357
49372
  if (parent.detailType === "MDCTRL") {
@@ -50497,7 +50512,7 @@ import {
50497
50512
  EntityError as EntityError2,
50498
50513
  awaitTimeout as awaitTimeout2,
50499
50514
  RuntimeError as RuntimeError40,
50500
- recursiveIterate as recursiveIterate12,
50515
+ recursiveIterate as recursiveIterate13,
50501
50516
  RuntimeModelError as RuntimeModelError55,
50502
50517
  mergeDefaultInLeft as mergeDefaultInLeft2,
50503
50518
  debounceAndAsyncMerge as debounceAndAsyncMerge2
@@ -51264,7 +51279,7 @@ var GridController = class extends MDControlController {
51264
51279
  */
51265
51280
  async initUIActions() {
51266
51281
  const asyncTasks = [];
51267
- recursiveIterate12(
51282
+ recursiveIterate13(
51268
51283
  this.model,
51269
51284
  (column) => {
51270
51285
  if (column.deuiactionGroup) {
@@ -51859,7 +51874,7 @@ var GridController = class extends MDControlController {
51859
51874
  */
51860
51875
  initControlScheduler(logics = []) {
51861
51876
  const actualLogics = [...logics];
51862
- recursiveIterate12(
51877
+ recursiveIterate13(
51863
51878
  this.model,
51864
51879
  (item) => {
51865
51880
  if (item.controlLogics) {
@@ -51880,7 +51895,7 @@ var GridController = class extends MDControlController {
51880
51895
  initColumnStates() {
51881
51896
  this.state.columnStates = [];
51882
51897
  if (this.state.columnStates.length === 0) {
51883
- recursiveIterate12(
51898
+ recursiveIterate13(
51884
51899
  this.model,
51885
51900
  (column) => {
51886
51901
  if (column.columnType !== "GROUPGRIDCOLUMN" && !(column.hiddenDataItem || column.hideMode === 2)) {
@@ -52530,7 +52545,7 @@ var GridController = class extends MDControlController {
52530
52545
  emptyText
52531
52546
  );
52532
52547
  }
52533
- recursiveIterate12(
52548
+ recursiveIterate13(
52534
52549
  this.model,
52535
52550
  (item) => {
52536
52551
  var _a3;
@@ -54410,7 +54425,7 @@ var ListController = class extends MDControlController {
54410
54425
  import {
54411
54426
  RuntimeError as RuntimeError42,
54412
54427
  recursiveExecute,
54413
- recursiveIterate as recursiveIterate13
54428
+ recursiveIterate as recursiveIterate14
54414
54429
  } from "@ibiz-template/core";
54415
54430
  import { AsyncSeriesHook as AsyncSeriesHook2 } from "qx-util";
54416
54431
 
@@ -55981,7 +55996,7 @@ var PanelController = class extends ControlController {
55981
55996
  }
55982
55997
  initControlScheduler(logics = []) {
55983
55998
  const actualLogics = [...logics];
55984
- recursiveIterate13(
55999
+ recursiveIterate14(
55985
56000
  this.model,
55986
56001
  (item) => {
55987
56002
  if (item.controlLogics) {
@@ -57000,7 +57015,7 @@ var TabExpPanelController = class extends ControlController {
57000
57015
  // src/controller/control/tree/tree.controller.ts
57001
57016
  import {
57002
57017
  RuntimeError as RuntimeError43,
57003
- recursiveIterate as recursiveIterate14,
57018
+ recursiveIterate as recursiveIterate15,
57004
57019
  RuntimeModelError as RuntimeModelError58
57005
57020
  } from "@ibiz-template/core";
57006
57021
  import { isNil as isNil27 } from "ramda";
@@ -57855,7 +57870,7 @@ var TreeController = class extends MDControlController {
57855
57870
  this.model.detreeNodes.forEach((node) => {
57856
57871
  var _a3, _b2;
57857
57872
  if ((_b2 = (_a3 = node.decontextMenu) == null ? void 0 : _a3.detoolbarItems) == null ? void 0 : _b2.length) {
57858
- recursiveIterate14(
57873
+ recursiveIterate15(
57859
57874
  node.decontextMenu,
57860
57875
  (item) => {
57861
57876
  const groupItem = item;
@@ -58043,7 +58058,7 @@ var TreeController = class extends MDControlController {
58043
58058
  if ((_a4 = contextMenu == null ? void 0 : contextMenu.detoolbarItems) == null ? void 0 : _a4.length) {
58044
58059
  let itemNum = 0;
58045
58060
  const items = [];
58046
- recursiveIterate14(
58061
+ recursiveIterate15(
58047
58062
  contextMenu,
58048
58063
  (item) => {
58049
58064
  if (item.itemType === "DEUIACTION") {
@@ -58167,7 +58182,7 @@ var TreeController = class extends MDControlController {
58167
58182
  */
58168
58183
  async afterLoadNodes(nodes) {
58169
58184
  this.state.items = [];
58170
- recursiveIterate14(
58185
+ recursiveIterate15(
58171
58186
  { _children: this.state.rootNodes },
58172
58187
  (node) => {
58173
58188
  this.state.items.push(node);
@@ -58403,7 +58418,7 @@ var TreeController = class extends MDControlController {
58403
58418
  */
58404
58419
  calcExpandedKeys(nodes) {
58405
58420
  let expandedKeys = [...this.state.expandedKeys];
58406
- recursiveIterate14(
58421
+ recursiveIterate15(
58407
58422
  { _children: nodes },
58408
58423
  (node) => {
58409
58424
  var _a3;
@@ -58494,7 +58509,7 @@ var TreeController = class extends MDControlController {
58494
58509
  */
58495
58510
  validateDrop(draggingNode, dropNode) {
58496
58511
  let state = true;
58497
- recursiveIterate14(
58512
+ recursiveIterate15(
58498
58513
  { _children: [draggingNode] },
58499
58514
  (node) => {
58500
58515
  if (node._id === dropNode._id) {
@@ -60865,7 +60880,7 @@ var KanbanController = class extends DataViewControlController {
60865
60880
  import {
60866
60881
  RuntimeError as RuntimeError47,
60867
60882
  awaitTimeout as awaitTimeout3,
60868
- recursiveIterate as recursiveIterate15,
60883
+ recursiveIterate as recursiveIterate16,
60869
60884
  RuntimeModelError as RuntimeModelError61
60870
60885
  } from "@ibiz-template/core";
60871
60886
  import { clone as clone40 } from "ramda";
@@ -61217,7 +61232,7 @@ var TreeGridExController = class extends TreeController {
61217
61232
  }
61218
61233
  async afterLoadNodes(nodes) {
61219
61234
  await super.afterLoadNodes(nodes);
61220
- recursiveIterate15(
61235
+ recursiveIterate16(
61221
61236
  { _children: nodes },
61222
61237
  (node) => {
61223
61238
  this.state.rows[node._uuid] = new TreeGridExRowState(node, this);
@@ -66008,7 +66023,7 @@ var ReportPanelController = class extends ControlController {
66008
66023
  import {
66009
66024
  awaitTimeout as awaitTimeout4,
66010
66025
  RuntimeError as RuntimeError50,
66011
- recursiveIterate as recursiveIterate16
66026
+ recursiveIterate as recursiveIterate17
66012
66027
  } from "@ibiz-template/core";
66013
66028
 
66014
66029
  // src/controller/control/gantt/gantt.service.ts
@@ -67054,7 +67069,7 @@ var GanttController = class extends TreeGridExController {
67054
67069
  break;
67055
67070
  case "NODEDATA":
67056
67071
  default:
67057
- recursiveIterate16(
67072
+ recursiveIterate17(
67058
67073
  { _children: this.state.rootNodes },
67059
67074
  (node) => {
67060
67075
  var _a3, _b2;
@@ -78817,30 +78832,6 @@ import qs5 from "qs";
78817
78832
  import { clone as clone58 } from "ramda";
78818
78833
  var JsonSchemaUtil = class {
78819
78834
  constructor() {
78820
- /**
78821
- * 值操作数组
78822
- *
78823
- * @author tony001
78824
- * @date 2024-07-25 00:07:57
78825
- * @private
78826
- */
78827
- this.valueOPArray = [
78828
- { valueOP: "EQ" /* EQ */, label: "\u7B49\u4E8E", sqlOP: "=" },
78829
- { valueOP: "NOTEQ" /* NOT_EQ */, label: "\u4E0D\u7B49\u4E8E", sqlOP: "<>" },
78830
- { valueOP: "GT" /* GT */, label: "\u5927\u4E8E", sqlOP: ">" },
78831
- { valueOP: "GTANDEQ" /* GT_AND_EQ */, label: "\u5927\u4E8E\u7B49\u4E8E", sqlOP: ">=" },
78832
- { valueOP: "LT" /* LT */, label: "\u5C0F\u4E8E", sqlOP: "<" },
78833
- { valueOP: "LTANDEQ" /* LT_AND_EQ */, label: "\u5C0F\u4E8E\u7B49\u4E8E", sqlOP: "<=" },
78834
- { valueOP: "ISNULL" /* IS_NULL */, label: "\u4E3A\u7A7A", sqlOP: "IS NULL" },
78835
- { valueOP: "ISNOTNULL" /* IS_NOT_NULL */, label: "\u975E\u7A7A", sqlOP: "IS NOT NULL" },
78836
- { valueOP: "IN" /* IN */, label: "\u5C5E\u4E8E", sqlOP: "IN" },
78837
- { valueOP: "NOTIN" /* NOT_IN */, label: "\u4E0D\u5C5E\u4E8E", sqlOP: "NOT IN" },
78838
- { valueOP: "LIKE" /* LIKE */, label: "\u6587\u672C\u5305\u542B", sqlOP: "LIKE" },
78839
- { valueOP: "LIFTLIKE" /* LIFT_LIKE */, label: "\u6587\u672C\u5DE6\u5305\u542B", sqlOP: "" },
78840
- { valueOP: "RIGHT_LIKE" /* RIGHT_LIKE */, label: "\u6587\u672C\u53F3\u5305\u542B", sqlOP: "" },
78841
- { valueOP: "EXISTS" /* EXISTS */, label: "\u5B58\u5728", sqlOP: "" },
78842
- { valueOP: "NOTEXISTS" /* NOT_EXISTS */, label: "\u4E0D\u5B58\u5728", sqlOP: "" }
78843
- ];
78844
78835
  /**
78845
78836
  * 数据类型映射操作符
78846
78837
  *
@@ -78965,6 +78956,81 @@ var JsonSchemaUtil = class {
78965
78956
  ["CHILD" /* CHILD */]: void 0
78966
78957
  };
78967
78958
  }
78959
+ /**
78960
+ * @description 获取值操作数组
78961
+ * @returns {*} {IData[]}
78962
+ * @memberof JsonSchemaUtil
78963
+ */
78964
+ getValueOPArray() {
78965
+ return [
78966
+ {
78967
+ valueOP: "EQ" /* EQ */,
78968
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.eq")
78969
+ },
78970
+ {
78971
+ valueOP: "NOTEQ" /* NOT_EQ */,
78972
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.not_eq")
78973
+ },
78974
+ {
78975
+ valueOP: "GT" /* GT */,
78976
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.gt")
78977
+ },
78978
+ {
78979
+ valueOP: "GTANDEQ" /* GT_AND_EQ */,
78980
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.gt_and_eq")
78981
+ },
78982
+ {
78983
+ valueOP: "LT" /* LT */,
78984
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.lt")
78985
+ },
78986
+ {
78987
+ valueOP: "LTANDEQ" /* LT_AND_EQ */,
78988
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.lt_and_eq")
78989
+ },
78990
+ {
78991
+ valueOP: "ISNULL" /* IS_NULL */,
78992
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.is_null")
78993
+ },
78994
+ {
78995
+ valueOP: "ISNOTNULL" /* IS_NOT_NULL */,
78996
+ label: ibiz.i18n.t(
78997
+ "runtime.controller.utils.jsonSchemaUtil.is_not_null"
78998
+ )
78999
+ },
79000
+ {
79001
+ valueOP: "IN" /* IN */,
79002
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.in")
79003
+ },
79004
+ {
79005
+ valueOP: "NOTIN" /* NOT_IN */,
79006
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.not_in")
79007
+ },
79008
+ {
79009
+ valueOP: "LIKE" /* LIKE */,
79010
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.like")
79011
+ },
79012
+ {
79013
+ valueOP: "LIFTLIKE" /* LIFT_LIKE */,
79014
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.lift_like")
79015
+ },
79016
+ {
79017
+ valueOP: "RIGHT_LIKE" /* RIGHT_LIKE */,
79018
+ label: ibiz.i18n.t(
79019
+ "runtime.controller.utils.jsonSchemaUtil.right_like"
79020
+ )
79021
+ },
79022
+ {
79023
+ valueOP: "EXISTS" /* EXISTS */,
79024
+ label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.exists")
79025
+ },
79026
+ {
79027
+ valueOP: "NOTEXISTS" /* NOT_EXISTS */,
79028
+ label: ibiz.i18n.t(
79029
+ "runtime.controller.utils.jsonSchemaUtil.not_exists"
79030
+ )
79031
+ }
79032
+ ];
79033
+ }
78968
79034
  /**
78969
79035
  * 获取jsonschema属性数据
78970
79036
  *
@@ -79050,7 +79116,8 @@ var JsonSchemaUtil = class {
79050
79116
  */
79051
79117
  getValueOPsByDataType(dataType) {
79052
79118
  let result = [];
79053
- result = this.valueOPArray.filter(
79119
+ const valueOPArray = this.getValueOPArray();
79120
+ result = valueOPArray.filter(
79054
79121
  (mode) => this.DataTypeToOPs[dataType].includes(mode.valueOP)
79055
79122
  );
79056
79123
  return result;
@@ -90103,6 +90170,23 @@ var en = {
90103
90170
  quarter: "Quarter",
90104
90171
  month: "Month",
90105
90172
  week: "Week"
90173
+ },
90174
+ jsonSchemaUtil: {
90175
+ eq: "Equal to (=)",
90176
+ not_eq: "Not equal to (<> )",
90177
+ gt: "Greater than (>)",
90178
+ gt_and_eq: "Greater than or equal to (>=)",
90179
+ lt: "Less than (<)",
90180
+ lt_and_eq: "Less than or equal to (<=)",
90181
+ is_null: "Value is Nil",
90182
+ is_not_null: "Value not null (NotNil)",
90183
+ IN: "Value In range (In)",
90184
+ not_in: "Value not in range (NotIn)",
90185
+ like: "Text contains (%)",
90186
+ lift_like: "Text left contained (%#)",
90187
+ right_like: "Text right included (#%)",
90188
+ exists: "exists(EXISTS)",
90189
+ not_exists: "Does not exist (NOTEXISTS)"
90106
90190
  }
90107
90191
  }
90108
90192
  },
@@ -90769,6 +90853,23 @@ var zhCn = {
90769
90853
  quarter: "\u5B63\u5EA6",
90770
90854
  month: "\u6708",
90771
90855
  week: "\u5468"
90856
+ },
90857
+ jsonSchemaUtil: {
90858
+ eq: "\u7B49\u4E8E(=)",
90859
+ not_eq: "\u4E0D\u7B49\u4E8E(<>)",
90860
+ gt: "\u5927\u4E8E(>)",
90861
+ gt_and_eq: "\u5927\u4E8E\u7B49\u4E8E(>=)",
90862
+ lt: "\u5C0F\u4E8E(<)",
90863
+ lt_and_eq: "\u5C0F\u4E8E\u7B49\u4E8E(<=)",
90864
+ is_null: "\u503C\u4E3A\u7A7A(Nil)",
90865
+ is_not_null: "\u503C\u4E0D\u4E3A\u7A7A(NotNil)",
90866
+ IN: "\u503C\u5728\u8303\u56F4\u4E2D(In)",
90867
+ not_in: "\u503C\u4E0D\u5728\u8303\u56F4\u4E2D(NotIn)",
90868
+ like: "\u6587\u672C\u5305\u542B(%)",
90869
+ lift_like: "\u6587\u672C\u5DE6\u5305\u542B(%#)",
90870
+ right_like: "\u6587\u672C\u53F3\u5305\u542B(#%)",
90871
+ exists: "\u5B58\u5728(EXISTS)",
90872
+ not_exists: "\u4E0D\u5B58\u5728(NOTEXISTS)"
90772
90873
  }
90773
90874
  }
90774
90875
  },