@ibiz-template/runtime 0.6.9 → 0.6.10

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 (29) hide show
  1. package/dist/index.esm.js +310 -84
  2. package/dist/index.system.min.js +1 -1
  3. package/out/controller/control/search-bar/index.d.ts +1 -0
  4. package/out/controller/control/search-bar/index.d.ts.map +1 -1
  5. package/out/controller/control/search-bar/index.js +1 -0
  6. package/out/controller/control/search-bar/search-bar-filter-items.controller.d.ts +81 -0
  7. package/out/controller/control/search-bar/search-bar-filter-items.controller.d.ts.map +1 -0
  8. package/out/controller/control/search-bar/search-bar-filter-items.controller.js +134 -0
  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-filter.controller.js +2 -0
  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 +26 -2
  13. package/out/controller/control/search-bar/use-searchcond.d.ts.map +1 -1
  14. package/out/controller/control/search-bar/use-searchcond.js +17 -0
  15. package/out/interface/controller/state/control/i-search-bar.state.d.ts +8 -1
  16. package/out/interface/controller/state/control/i-search-bar.state.d.ts.map +1 -1
  17. package/out/interface/service/service/i-app-de-authority.service.d.ts +2 -1
  18. package/out/interface/service/service/i-app-de-authority.service.d.ts.map +1 -1
  19. package/out/interface/service/service/i-auth.service.d.ts +7 -0
  20. package/out/interface/service/service/i-auth.service.d.ts.map +1 -1
  21. package/out/service/service/auth/v7-auth.service.d.ts +1 -0
  22. package/out/service/service/auth/v7-auth.service.d.ts.map +1 -1
  23. package/out/service/service/auth/v7-auth.service.js +29 -6
  24. package/out/service/service/authority/authority.service.d.ts.map +1 -1
  25. package/out/service/service/authority/authority.service.js +1 -1
  26. package/out/service/service/authority/de-authority.service.d.ts +2 -1
  27. package/out/service/service/authority/de-authority.service.d.ts.map +1 -1
  28. package/out/service/service/authority/de-authority.service.js +12 -5
  29. package/package.json +3 -3
package/dist/index.esm.js CHANGED
@@ -3327,8 +3327,8 @@ var baseStyle = {
3327
3327
  position: "fixed",
3328
3328
  zIndex: "10000"
3329
3329
  };
3330
- function cloneElement(clone34, teleport = document.body, isRemoveChild = true) {
3331
- const element = getAnimationElement(clone34);
3330
+ function cloneElement(clone35, teleport = document.body, isRemoveChild = true) {
3331
+ const element = getAnimationElement(clone35);
3332
3332
  if (element == null) {
3333
3333
  throw new Error("Cannot clone a null or undefined element.");
3334
3334
  }
@@ -3747,11 +3747,11 @@ function arrayContains(arr, val) {
3747
3747
  });
3748
3748
  }
3749
3749
  function cloneObject(o) {
3750
- var clone34 = {};
3750
+ var clone35 = {};
3751
3751
  for (var p in o) {
3752
- clone34[p] = o[p];
3752
+ clone35[p] = o[p];
3753
3753
  }
3754
- return clone34;
3754
+ return clone35;
3755
3755
  }
3756
3756
  function replaceObjectProps(o1, o2) {
3757
3757
  var o = cloneObject(o1);
@@ -9294,16 +9294,19 @@ var DeAuthorityService = class {
9294
9294
  * @param {string} dataAccessAction 操作标识
9295
9295
  * @param {IData} data 实体数据
9296
9296
  * @param {IContext} context 上下文
9297
+ * @param {boolean} enablePermission 是否启用权限
9297
9298
  * @return {*} {Promise<boolean>}
9298
9299
  */
9299
- async calcByDataAccessAction(dataAccessAction, data, context) {
9300
- const deDataAccActionResult = await this.calcDeDataAccAction(
9301
- dataAccessAction,
9302
- data,
9303
- context
9304
- );
9305
- if (!deDataAccActionResult) {
9306
- return false;
9300
+ async calcByDataAccessAction(dataAccessAction, data, context, enablePermission) {
9301
+ if (enablePermission) {
9302
+ const deDataAccActionResult = await this.calcDeDataAccAction(
9303
+ dataAccessAction,
9304
+ data,
9305
+ context
9306
+ );
9307
+ if (!deDataAccActionResult) {
9308
+ return false;
9309
+ }
9307
9310
  }
9308
9311
  const mainStateResult = await this.calcByDeMainState(
9309
9312
  dataAccessAction,
@@ -9394,6 +9397,9 @@ var DeAuthorityService = class {
9394
9397
  */
9395
9398
  async calcByDeMainState(dataAccessAction, data = {}) {
9396
9399
  let result = true;
9400
+ if (Object.keys(data).length === 0) {
9401
+ return result;
9402
+ }
9397
9403
  const appDataEntity = this.entityModel;
9398
9404
  if (!appDataEntity.enableDEMainState) {
9399
9405
  ibiz.log.debug(
@@ -9552,7 +9558,12 @@ var AuthorityService = class {
9552
9558
  }
9553
9559
  if (appDeId) {
9554
9560
  const service = await this.getService(appDeId);
9555
- return service.calcByDataAccessAction(dataAccessAction, data, context);
9561
+ return service.calcByDataAccessAction(
9562
+ dataAccessAction,
9563
+ data,
9564
+ context,
9565
+ this.enablePermission
9566
+ );
9556
9567
  }
9557
9568
  return result;
9558
9569
  }
@@ -9596,18 +9607,18 @@ var V7AuthService = class {
9596
9607
  });
9597
9608
  const { data } = res;
9598
9609
  if (data && data.token) {
9599
- const cacheDays = remember ? 7 : 0;
9610
+ const cacheDay = remember ? 30 : 0;
9600
9611
  if (remember) {
9601
- setCookie(CoreConst.TOKEN_REMEMBER, "1", cacheDays, true);
9612
+ setCookie(CoreConst.TOKEN_REMEMBER, "1", cacheDay, true);
9602
9613
  }
9603
- setCookie(CoreConst.TOKEN, data.token, cacheDays, true);
9614
+ setCookie(CoreConst.TOKEN, data.token, cacheDay, true);
9604
9615
  const expiredDate = (/* @__PURE__ */ new Date()).getTime() + (data.expirein || 7199) * 1e3;
9605
- setCookie(CoreConst.TOKEN_EXPIRES, "".concat(expiredDate), cacheDays, true);
9616
+ setCookie(CoreConst.TOKEN_EXPIRES, "".concat(expiredDate), cacheDay, true);
9606
9617
  if (data.refresh_token) {
9607
9618
  setCookie(
9608
9619
  CoreConst.REFRESH_TOKEN,
9609
9620
  data.refresh_token,
9610
- cacheDays,
9621
+ cacheDay,
9611
9622
  true
9612
9623
  );
9613
9624
  }
@@ -9654,7 +9665,7 @@ var V7AuthService = class {
9654
9665
  setTimeout(async () => {
9655
9666
  const remember = getCookie(CoreConst.TOKEN_REMEMBER);
9656
9667
  const refreshToken = getCookie(CoreConst.REFRESH_TOKEN);
9657
- const cacheDay = remember ? 7 : 0;
9668
+ const cacheDay = remember ? 30 : 0;
9658
9669
  let res;
9659
9670
  if (refreshToken != null && refreshToken !== "") {
9660
9671
  res = await ibiz.net.get("/uaa/refresh_token/".concat(refreshToken));
@@ -9662,6 +9673,9 @@ var V7AuthService = class {
9662
9673
  res = await ibiz.net.get("/uaa/refreshtoken2");
9663
9674
  }
9664
9675
  if (res.ok) {
9676
+ if (remember) {
9677
+ setCookie(CoreConst.TOKEN_REMEMBER, "1", cacheDay, true);
9678
+ }
9665
9679
  setCookie(CoreConst.TOKEN, res.data.token, cacheDay, true);
9666
9680
  const expiredDate = (/* @__PURE__ */ new Date()).getTime() + (res.data.expirein || 7199) * 1e3;
9667
9681
  setCookie(CoreConst.TOKEN_EXPIRES, "".concat(expiredDate), cacheDay, true);
@@ -9682,6 +9696,31 @@ var V7AuthService = class {
9682
9696
  }, wait);
9683
9697
  }
9684
9698
  }
9699
+ async refreshToken() {
9700
+ const remember = getCookie(CoreConst.TOKEN_REMEMBER);
9701
+ const refreshToken = getCookie(CoreConst.REFRESH_TOKEN);
9702
+ if (refreshToken != null && refreshToken !== "") {
9703
+ const res = await ibiz.net.get("/uaa/refresh_token/".concat(refreshToken));
9704
+ if (res.ok) {
9705
+ const cacheDay = remember ? 30 : 0;
9706
+ if (remember) {
9707
+ setCookie(CoreConst.TOKEN_REMEMBER, "1", cacheDay, true);
9708
+ }
9709
+ setCookie(CoreConst.TOKEN, res.data.token, cacheDay, true);
9710
+ const expiredDate = (/* @__PURE__ */ new Date()).getTime() + (res.data.expirein || 7199) * 1e3;
9711
+ setCookie(CoreConst.TOKEN_EXPIRES, "".concat(expiredDate), cacheDay, true);
9712
+ if (res.data.refresh_token) {
9713
+ setCookie(
9714
+ CoreConst.REFRESH_TOKEN,
9715
+ res.data.refresh_token,
9716
+ cacheDay,
9717
+ true
9718
+ );
9719
+ }
9720
+ clearCookie(CoreConst.IS_ANONYMOUS);
9721
+ }
9722
+ }
9723
+ }
9685
9724
  getAuthInfo() {
9686
9725
  const token = getCookie(CoreConst.TOKEN);
9687
9726
  const isAnonymous = !!getCookie(CoreConst.IS_ANONYMOUS);
@@ -13352,7 +13391,7 @@ function installCommand() {
13352
13391
  }
13353
13392
 
13354
13393
  // src/app-hub.ts
13355
- import { RuntimeError as RuntimeError66 } from "@ibiz-template/core";
13394
+ import { RuntimeError as RuntimeError67 } from "@ibiz-template/core";
13356
13395
 
13357
13396
  // src/application.ts
13358
13397
  import { Net, getToken } from "@ibiz-template/core";
@@ -28754,14 +28793,16 @@ var PickupViewPanelController = class extends ControlController {
28754
28793
 
28755
28794
  // src/controller/control/search-bar/search-bar.controller.ts
28756
28795
  import { mergeInLeft as mergeInLeft3, recursiveIterate as recursiveIterate10 } from "@ibiz-template/core";
28757
- import { clone as clone29, isNil as isNil28 } from "ramda";
28796
+ import { clone as clone30, isNil as isNil28 } from "ramda";
28758
28797
  import { isString as isString2 } from "lodash-es";
28759
28798
 
28760
28799
  // src/controller/control/search-bar/search-bar-filter.controller.ts
28761
28800
  import { RuntimeModelError as RuntimeModelError64 } from "@ibiz-template/core";
28762
28801
  var ExcludeOPs = [
28763
28802
  "ISNULL" /* IS_NULL */,
28764
- "ISNOTNULL" /* IS_NOT_NULL */
28803
+ "ISNOTNULL" /* IS_NOT_NULL */,
28804
+ "EXISTS" /* EXISTS */,
28805
+ "NOTEXISTS" /* NOT_EXISTS */
28765
28806
  ];
28766
28807
  var ScriptValueRegex = /\$\{[^}]*\}/;
28767
28808
  var SearchBarFilterController = class {
@@ -29208,6 +29249,14 @@ function getOriginFilterNodes() {
29208
29249
  }
29209
29250
  function formatFilters(node) {
29210
29251
  if (!node.leaf) {
29252
+ if (node.logicType === "ITEMS") {
29253
+ return {
29254
+ condtype: "ITEMS",
29255
+ fieldname: node.field,
29256
+ condop: node.valueOP,
29257
+ searchconds: node.children.map((item) => formatFilters(item))
29258
+ };
29259
+ }
29211
29260
  return {
29212
29261
  condtype: "GROUP",
29213
29262
  condop: node.logicType,
@@ -29237,6 +29286,17 @@ function parseFilters(data) {
29237
29286
  )
29238
29287
  };
29239
29288
  }
29289
+ if (data.condtype === "ITEMS") {
29290
+ return {
29291
+ leaf: false,
29292
+ logicType: "ITEMS",
29293
+ field: data.fieldname || null,
29294
+ valueOP: data.condop || null,
29295
+ children: (data.searchconds || []).map(
29296
+ (item) => parseFilters(item)
29297
+ )
29298
+ };
29299
+ }
29240
29300
  if (data.condtype === "DEFIELD") {
29241
29301
  return {
29242
29302
  leaf: true,
@@ -29266,6 +29326,140 @@ function calcSearchConds(filterNodes) {
29266
29326
  }
29267
29327
  }
29268
29328
 
29329
+ // src/controller/control/search-bar/search-bar-filter-items.controller.ts
29330
+ import { RuntimeError as RuntimeError59 } from "@ibiz-template/core";
29331
+ import { clone as clone29 } from "ramda";
29332
+ var ExcludeOPs2 = [
29333
+ "ISNULL" /* IS_NULL */,
29334
+ "ISNOTNULL" /* IS_NOT_NULL */
29335
+ ];
29336
+ var SubFieldRegex = /^N_(.\w+)_(.\w+)$/;
29337
+ var SearchBarFilterItemsController = class extends SearchBarFilterController {
29338
+ constructor(filterModels, appDataEntity, context, params) {
29339
+ super(filterModels[0], appDataEntity, context, params);
29340
+ this.filterModels = filterModels;
29341
+ /**
29342
+ * 所有可以配置的子属性集合
29343
+ * @author lxm
29344
+ * @date 2024-03-14 04:20:10
29345
+ * @type {Array<FieldInfo>}
29346
+ */
29347
+ this.allFields = [];
29348
+ /**
29349
+ * 子编辑项控制器
29350
+ * @author lxm
29351
+ * @date 2024-03-14 04:53:26
29352
+ * @protected
29353
+ * @type {Map<string, SearchBarFilterController>}
29354
+ */
29355
+ this.subFilterCMap = /* @__PURE__ */ new Map();
29356
+ }
29357
+ /**
29358
+ * 计算标识
29359
+ * @author lxm
29360
+ * @date 2024-03-14 05:06:14
29361
+ * @protected
29362
+ * @param {string} field
29363
+ * @param {string} op
29364
+ * @return {*} {string}
29365
+ */
29366
+ calcKey(field, op) {
29367
+ return "".concat(field.toUpperCase(), "_").concat(op.toUpperCase());
29368
+ }
29369
+ /**
29370
+ * 初始化子实体
29371
+ * @author lxm
29372
+ * @date 2024-03-14 04:43:04
29373
+ * @protected
29374
+ * @return {*} {Promise<void>}
29375
+ */
29376
+ async initMinorAppDE() {
29377
+ var _a;
29378
+ const targetField = this.filterModels[0].appDEFieldId;
29379
+ let minorDEId = "";
29380
+ (_a = this.appDataEntity.appDEMethodDTOs) == null ? void 0 : _a.find((item) => {
29381
+ var _a2;
29382
+ const field = (_a2 = item.appDEMethodDTOFields) == null ? void 0 : _a2.find((x) => {
29383
+ return x.appDEFieldId === targetField;
29384
+ });
29385
+ if (field) {
29386
+ minorDEId = field.refAppDataEntityId;
29387
+ return true;
29388
+ }
29389
+ return false;
29390
+ });
29391
+ if (!minorDEId) {
29392
+ throw new RuntimeError59("\u627E\u4E0D\u5230\u5C5E\u6027".concat(targetField, "\u5BF9\u5E94\u7684\u5173\u8054\u5B9E\u4F53"));
29393
+ }
29394
+ this.minorAppDE = await ibiz.hub.getAppDataEntity(
29395
+ minorDEId,
29396
+ this.context.srfappid
29397
+ );
29398
+ }
29399
+ /**
29400
+ * 初始化子实体目标属性相关信息
29401
+ * @author lxm
29402
+ * @date 2024-03-14 04:42:32
29403
+ * @protected
29404
+ * @return {*} {Promise<void>}
29405
+ */
29406
+ async initAllFields() {
29407
+ var _a;
29408
+ const fieldMap = /* @__PURE__ */ new Map();
29409
+ this.filterModels.forEach((item) => {
29410
+ var _a2;
29411
+ const subStr = (_a2 = item.defsearchMode.codeName) == null ? void 0 : _a2.split("__")[1];
29412
+ const matches = subStr.match(SubFieldRegex);
29413
+ const subField = matches[1];
29414
+ const subOP = matches[2];
29415
+ if (!fieldMap.has(subField)) {
29416
+ fieldMap.set(subField, {
29417
+ name: subField,
29418
+ label: "",
29419
+ valueOPs: []
29420
+ });
29421
+ }
29422
+ fieldMap.get(subField).valueOPs.push(subOP);
29423
+ const cloneItem = clone29(item);
29424
+ cloneItem.defsearchMode.valueOP = subOP;
29425
+ this.subFilterCMap.set(
29426
+ this.calcKey(subField, subOP),
29427
+ new SearchBarFilterController(
29428
+ cloneItem,
29429
+ this.appDataEntity,
29430
+ this.context,
29431
+ this.params
29432
+ )
29433
+ );
29434
+ });
29435
+ (_a = this.minorAppDE.appDEFields) == null ? void 0 : _a.forEach((item) => {
29436
+ const codeName = item.codeName.toUpperCase();
29437
+ if (fieldMap.has(codeName)) {
29438
+ fieldMap.get(codeName).label = item.logicName;
29439
+ }
29440
+ });
29441
+ this.allFields = Array.from(fieldMap.values());
29442
+ await Promise.all(
29443
+ Array.from(this.subFilterCMap.values()).map((item) => item.init())
29444
+ );
29445
+ }
29446
+ async init() {
29447
+ await this.initMinorAppDE();
29448
+ await this.initAllFields();
29449
+ }
29450
+ /**
29451
+ * 获取子搜索栏控制器
29452
+ * @author lxm
29453
+ * @date 2024-03-15 02:51:02
29454
+ * @param {string} field
29455
+ * @param {string} op
29456
+ * @return {*} {SearchBarFilterController}
29457
+ */
29458
+ getSubFilterController(field, op) {
29459
+ return this.subFilterCMap.get(this.calcKey(field, op));
29460
+ }
29461
+ };
29462
+
29269
29463
  // src/controller/control/search-bar/search-bar.controller.ts
29270
29464
  var ScriptValueRegex2 = /\$\{[^}]*\}/;
29271
29465
  var SearchBarController = class extends ControlController {
@@ -29406,7 +29600,7 @@ var SearchBarController = class extends ControlController {
29406
29600
  }
29407
29601
  });
29408
29602
  if (addSearchBarFilters.length > 0) {
29409
- this.model = clone29(this.model);
29603
+ this.model = clone30(this.model);
29410
29604
  this.model.searchBarFilters = addSearchBarFilters.concat(...mergeFilters);
29411
29605
  this.model.enableFilter = true;
29412
29606
  }
@@ -29523,7 +29717,17 @@ var SearchBarController = class extends ControlController {
29523
29717
  async initSearchBarFilters() {
29524
29718
  var _a;
29525
29719
  if ((_a = this.searchBarFilters) == null ? void 0 : _a.length) {
29720
+ const itemsMap = /* @__PURE__ */ new Map();
29526
29721
  this.searchBarFilters.forEach((item) => {
29722
+ var _a2;
29723
+ if (((_a2 = item.defsearchMode) == null ? void 0 : _a2.valueOP) && ["EXISTS", "NOTEXISTS"].includes(item.defsearchMode.valueOP)) {
29724
+ const key = "".concat(item.appDEFieldId, "_").concat(item.defsearchMode.valueOP);
29725
+ if (!itemsMap.has(key)) {
29726
+ itemsMap.set(key, []);
29727
+ }
29728
+ itemsMap.get(key).push(item);
29729
+ return;
29730
+ }
29527
29731
  const filterController = new SearchBarFilterController(
29528
29732
  item,
29529
29733
  this.appDataEntity,
@@ -29532,6 +29736,17 @@ var SearchBarController = class extends ControlController {
29532
29736
  );
29533
29737
  this.filterControllers.push(filterController);
29534
29738
  });
29739
+ if (itemsMap.size > 0) {
29740
+ itemsMap.forEach((items) => {
29741
+ const filterController = new SearchBarFilterItemsController(
29742
+ items,
29743
+ this.appDataEntity,
29744
+ this.context,
29745
+ this.params
29746
+ );
29747
+ this.filterControllers.push(filterController);
29748
+ });
29749
+ }
29535
29750
  await Promise.all(
29536
29751
  this.filterControllers.map((controller) => controller.init())
29537
29752
  );
@@ -29551,12 +29766,22 @@ var SearchBarController = class extends ControlController {
29551
29766
  if (valueFormat && searchconds) {
29552
29767
  recursiveIterate10(
29553
29768
  searchconds[0],
29554
- (node) => {
29769
+ (node, parent) => {
29555
29770
  if (node.condtype === "DEFIELD" && !isNil28(node.value)) {
29556
- const controller = this.findFilterController(
29771
+ let controller = this.findFilterController(
29557
29772
  node.fieldname,
29558
29773
  node.condop
29559
29774
  );
29775
+ if (!controller && parent.condtype === "ITEMS") {
29776
+ const itemC = this.findFilterController(
29777
+ parent.fieldname,
29778
+ parent.condop
29779
+ );
29780
+ controller = itemC.getSubFilterController(
29781
+ node.fieldname,
29782
+ node.condop
29783
+ );
29784
+ }
29560
29785
  if (controller) {
29561
29786
  if (controller.valueItem && node.valueItem) {
29562
29787
  node.value = node.valueItem;
@@ -29994,7 +30219,7 @@ var TabExpPanelController = class extends ControlController {
29994
30219
 
29995
30220
  // src/controller/control/tree/tree.controller.ts
29996
30221
  import {
29997
- RuntimeError as RuntimeError59,
30222
+ RuntimeError as RuntimeError60,
29998
30223
  RuntimeModelError as RuntimeModelError65,
29999
30224
  recursiveIterate as recursiveIterate11
30000
30225
  } from "@ibiz-template/core";
@@ -31031,7 +31256,7 @@ var TreeController = class extends MDControlController {
31031
31256
  throw new RuntimeModelError65(model, "\u6811\u8282\u70B9\u6CA1\u6709\u914D\u7F6E\u7F16\u8F91\u6A21\u5F0F\uFF1A\u540D\u79F0");
31032
31257
  }
31033
31258
  if (nodeData._nodeType !== "DE") {
31034
- throw new RuntimeError59("\u4E0D\u662F\u5B9E\u4F53\u6811\u8282\u70B9\u6570\u636E");
31259
+ throw new RuntimeError60("\u4E0D\u662F\u5B9E\u4F53\u6811\u8282\u70B9\u6570\u636E");
31035
31260
  }
31036
31261
  nodeData._text = text;
31037
31262
  await this.updateDeNodeData([nodeData]);
@@ -31046,7 +31271,7 @@ var TreeController = class extends MDControlController {
31046
31271
  let needRefresh = false;
31047
31272
  const treeNode = this.getNodeModel(item._nodeId);
31048
31273
  if (!treeNode) {
31049
- throw new RuntimeError59("\u672A\u627E\u5230\u6811\u8282\u70B9");
31274
+ throw new RuntimeError60("\u672A\u627E\u5230\u6811\u8282\u70B9");
31050
31275
  }
31051
31276
  const nodeAppDataEntityId = treeNode.appDataEntityId;
31052
31277
  if (nodeAppDataEntityId) {
@@ -31065,7 +31290,7 @@ var TreeController = class extends MDControlController {
31065
31290
  };
31066
31291
 
31067
31292
  // src/controller/control/wizard-panel/wizard-panel.controller.ts
31068
- import { RuntimeError as RuntimeError60 } from "@ibiz-template/core";
31293
+ import { RuntimeError as RuntimeError61 } from "@ibiz-template/core";
31069
31294
 
31070
31295
  // src/controller/control/wizard-panel/wizard-panel.service.ts
31071
31296
  var WizardPanelService = class extends ControlService {
@@ -31231,7 +31456,7 @@ var WizardPanelController = class extends ControlController {
31231
31456
  const { activeFormTag } = this.state;
31232
31457
  const controller = this.formControllers.get(activeFormTag);
31233
31458
  if (!controller) {
31234
- throw new RuntimeError60("\u627E\u4E0D\u5230".concat(activeFormTag, "\u7684\u8868\u5355\u63A7\u5236\u5668"));
31459
+ throw new RuntimeError61("\u627E\u4E0D\u5230".concat(activeFormTag, "\u7684\u8868\u5355\u63A7\u5236\u5668"));
31235
31460
  }
31236
31461
  return controller;
31237
31462
  }
@@ -31273,7 +31498,7 @@ var WizardPanelController = class extends ControlController {
31273
31498
  getWizardFormByTag(tag) {
31274
31499
  var _a;
31275
31500
  if (!((_a = this.model.dewizard) == null ? void 0 : _a.dewizardForms)) {
31276
- throw new RuntimeError60("\u6CA1\u6709\u914D\u7F6E\u5411\u5BFC\u8868\u5355\u96C6\u5408");
31501
+ throw new RuntimeError61("\u6CA1\u6709\u914D\u7F6E\u5411\u5BFC\u8868\u5355\u96C6\u5408");
31277
31502
  return;
31278
31503
  }
31279
31504
  const wizardForm = this.model.dewizard.dewizardForms.find(
@@ -31282,7 +31507,7 @@ var WizardPanelController = class extends ControlController {
31282
31507
  }
31283
31508
  );
31284
31509
  if (!wizardForm) {
31285
- throw new RuntimeError60("\u627E\u4E0D\u5230\u6807\u8BC6\u4E3A".concat(tag, "\u7684\u5411\u5BFC\u8868\u5355"));
31510
+ throw new RuntimeError61("\u627E\u4E0D\u5230\u6807\u8BC6\u4E3A".concat(tag, "\u7684\u5411\u5BFC\u8868\u5355"));
31286
31511
  }
31287
31512
  return wizardForm;
31288
31513
  }
@@ -31353,7 +31578,7 @@ var WizardPanelController = class extends ControlController {
31353
31578
  prevTag = this.tagHistory[this.tagHistory.length - 1];
31354
31579
  }
31355
31580
  if (!prevTag) {
31356
- throw new RuntimeError60("\u6CA1\u6709\u4E0A\u4E00\u4E2A\u8868\u5355");
31581
+ throw new RuntimeError61("\u6CA1\u6709\u4E0A\u4E00\u4E2A\u8868\u5355");
31357
31582
  }
31358
31583
  this.state.activeFormTag = prevTag;
31359
31584
  }
@@ -31389,7 +31614,7 @@ var WizardPanelController = class extends ControlController {
31389
31614
  });
31390
31615
  const nextWizardStep = wizardSteps[index + 1];
31391
31616
  if (!nextWizardStep) {
31392
- throw new RuntimeError60("\u627E\u4E0D\u5230\u4E0B\u4E00\u4E2A\u5411\u5BFC\u6B65\u9AA4");
31617
+ throw new RuntimeError61("\u627E\u4E0D\u5230\u4E0B\u4E00\u4E2A\u5411\u5BFC\u6B65\u9AA4");
31393
31618
  }
31394
31619
  const nextWizardForm = this.getWizardFormByTag(nextWizardStep.stepTag);
31395
31620
  if (nextWizardForm && nextWizardForm.formTag) {
@@ -31398,7 +31623,7 @@ var WizardPanelController = class extends ControlController {
31398
31623
  }
31399
31624
  }
31400
31625
  if (!nextTag) {
31401
- throw new RuntimeError60("\u627E\u4E0D\u5230\u4E0B\u4E00\u4E2A\u5411\u5BFC\u8868\u5355");
31626
+ throw new RuntimeError61("\u627E\u4E0D\u5230\u4E0B\u4E00\u4E2A\u5411\u5BFC\u8868\u5355");
31402
31627
  }
31403
31628
  this.state.activeFormTag = nextTag;
31404
31629
  this.tagHistory.push(nextTag);
@@ -31721,7 +31946,7 @@ var MDCtrlController = class extends MDControlController {
31721
31946
  };
31722
31947
 
31723
31948
  // src/controller/control/kanban/kanban.controller.ts
31724
- import { RuntimeError as RuntimeError61, RuntimeModelError as RuntimeModelError67 } from "@ibiz-template/core";
31949
+ import { RuntimeError as RuntimeError62, RuntimeModelError as RuntimeModelError67 } from "@ibiz-template/core";
31725
31950
  import { isNil as isNil30 } from "ramda";
31726
31951
 
31727
31952
  // src/controller/control/kanban/kanban.service.ts
@@ -31812,7 +32037,7 @@ var KanbanController = class extends DataViewControlController {
31812
32037
  } else {
31813
32038
  const toNum = Number(sortValue);
31814
32039
  if (Number.isNaN(toNum)) {
31815
- throw new RuntimeError61(
32040
+ throw new RuntimeError62(
31816
32041
  "".concat(item.srfmajortext, "\u7684\u6392\u5E8F\u5C5E\u6027\u65E0\u6CD5\u8F6C\u6362\u6210\u6570\u503C")
31817
32042
  );
31818
32043
  }
@@ -31898,7 +32123,7 @@ var KanbanController = class extends DataViewControlController {
31898
32123
  }
31899
32124
  handleDataGroup() {
31900
32125
  if (!this.model.enableGroup || this.model.groupMode === "NONE") {
31901
- throw new RuntimeError61("\u770B\u677F\u90E8\u4EF6\u5FC5\u987B\u5F00\u542F\u5206\u7EC4");
32126
+ throw new RuntimeError62("\u770B\u677F\u90E8\u4EF6\u5FC5\u987B\u5F00\u542F\u5206\u7EC4");
31902
32127
  }
31903
32128
  return super.handleDataGroup();
31904
32129
  }
@@ -32241,12 +32466,12 @@ var KanbanController = class extends DataViewControlController {
32241
32466
 
32242
32467
  // src/controller/control/tree-grid-ex/tree-grid-ex.controller.ts
32243
32468
  import {
32244
- RuntimeError as RuntimeError62,
32469
+ RuntimeError as RuntimeError63,
32245
32470
  RuntimeModelError as RuntimeModelError68,
32246
32471
  awaitTimeout as awaitTimeout3,
32247
32472
  recursiveIterate as recursiveIterate12
32248
32473
  } from "@ibiz-template/core";
32249
- import { clone as clone30 } from "ramda";
32474
+ import { clone as clone31 } from "ramda";
32250
32475
 
32251
32476
  // src/controller/control/tree-grid-ex/tree-grid-ex.service.ts
32252
32477
  var TreeGridExService = class extends TreeService {
@@ -32501,11 +32726,11 @@ var TreeGridExController = class extends TreeController {
32501
32726
  return;
32502
32727
  }
32503
32728
  if (nodeData._nodeType !== "DE") {
32504
- throw new RuntimeError62("\u975E\u5B9E\u4F53\u8282\u70B9\u6570\u636E\u4E0D\u80FD\u4FDD\u5B58");
32729
+ throw new RuntimeError63("\u975E\u5B9E\u4F53\u8282\u70B9\u6570\u636E\u4E0D\u80FD\u4FDD\u5B58");
32505
32730
  }
32506
32731
  const rowState = this.state.rows[nodeData._uuid];
32507
32732
  if (!rowState) {
32508
- throw new RuntimeError62("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
32733
+ throw new RuntimeError63("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
32509
32734
  }
32510
32735
  if (!rowState.modified) {
32511
32736
  ibiz.log.debug("\u503C\u6CA1\u6709\u53D1\u751F\u6539\u53D8");
@@ -32519,7 +32744,7 @@ var TreeGridExController = class extends TreeController {
32519
32744
  const { appDataEntityId, updateAppDEActionId } = nodeModel;
32520
32745
  const isCreate = nodeData._deData.srfuf === 0 /* CREATE */;
32521
32746
  if (isCreate) {
32522
- throw new RuntimeError62("\u6682\u4E0D\u652F\u6301\u65B0\u5EFA");
32747
+ throw new RuntimeError63("\u6682\u4E0D\u652F\u6301\u65B0\u5EFA");
32523
32748
  }
32524
32749
  if (!updateAppDEActionId) {
32525
32750
  throw new RuntimeModelError68(nodeModel, "\u6811\u8282\u70B9\u6CA1\u6709\u914D\u7F6E\u66F4\u65B0\u5B9E\u4F53\u884C\u4E3A");
@@ -32679,10 +32904,10 @@ var TreeGridExController = class extends TreeController {
32679
32904
  (item) => item.showRowEdit
32680
32905
  );
32681
32906
  if (editingRow) {
32682
- throw new RuntimeError62("\u540C\u65F6\u53EA\u80FD\u6709\u4E00\u884C\u5F00\u542F\u884C\u7F16\u8F91");
32907
+ throw new RuntimeError63("\u540C\u65F6\u53EA\u80FD\u6709\u4E00\u884C\u5F00\u542F\u884C\u7F16\u8F91");
32683
32908
  }
32684
32909
  if (row.data._deData.srfuf === 1 /* UPDATE */) {
32685
- row.cacheData = clone30(row.data);
32910
+ row.cacheData = clone31(row.data);
32686
32911
  const defaultVal = this.calcDefaultValue(row.data, false);
32687
32912
  Object.assign(row.data, defaultVal);
32688
32913
  }
@@ -32792,10 +33017,10 @@ var TreeGridExColumnController = class {
32792
33017
  // src/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.ts
32793
33018
  import {
32794
33019
  DataTypes as DataTypes5,
32795
- RuntimeError as RuntimeError63,
33020
+ RuntimeError as RuntimeError64,
32796
33021
  RuntimeModelError as RuntimeModelError69
32797
33022
  } from "@ibiz-template/core";
32798
- import { clone as clone31 } from "ramda";
33023
+ import { clone as clone32 } from "ramda";
32799
33024
  import dayjs6 from "dayjs";
32800
33025
  var TreeGridExNodeColumnController = class {
32801
33026
  /**
@@ -32993,7 +33218,7 @@ var TreeGridExNodeColumnController = class {
32993
33218
  const valueItem = this.nodeColumn.linkValueItem || "srfkey";
32994
33219
  const value = row.data[valueItem];
32995
33220
  if (value == null) {
32996
- throw new RuntimeError63("\u672A\u5728\u884C\u6570\u636E\u4E2D\u53D6\u5230 ".concat(valueItem, " \u7684\u503C"));
33221
+ throw new RuntimeError64("\u672A\u5728\u884C\u6570\u636E\u4E2D\u53D6\u5230 ".concat(valueItem, " \u7684\u503C"));
32997
33222
  }
32998
33223
  const { linkAppViewId } = this.nodeColumn;
32999
33224
  if (!linkAppViewId) {
@@ -33004,7 +33229,7 @@ var TreeGridExNodeColumnController = class {
33004
33229
  srfkey: value,
33005
33230
  ...wfContext
33006
33231
  });
33007
- const tempParams = clone31(this.params);
33232
+ const tempParams = clone32(this.params);
33008
33233
  const { userParam } = this.nodeColumn;
33009
33234
  if (userParam) {
33010
33235
  const { navigateContexts, navigateParams } = parseUserParams(userParam);
@@ -33406,7 +33631,7 @@ var TreeGridService = class extends GridService {
33406
33631
  };
33407
33632
 
33408
33633
  // src/controller/control/medit-view-panel/medit-view-panel.controller.ts
33409
- import { RuntimeError as RuntimeError64 } from "@ibiz-template/core";
33634
+ import { RuntimeError as RuntimeError65 } from "@ibiz-template/core";
33410
33635
  import { createUUID as createUUID13 } from "qx-util";
33411
33636
 
33412
33637
  // src/controller/control/medit-view-panel/medit-view-panel.service.ts
@@ -33622,7 +33847,7 @@ var MEditViewPanelController = class extends MDControlController {
33622
33847
  (item) => item.id === id
33623
33848
  );
33624
33849
  if (panelUiItemIndex < 0) {
33625
- throw new RuntimeError64("\u7F16\u8F91\u89C6\u56FE\u9762\u677F\u90E8\u4EF6UI\u6570\u636E\u4E0D\u5B58\u5728");
33850
+ throw new RuntimeError65("\u7F16\u8F91\u89C6\u56FE\u9762\u677F\u90E8\u4EF6UI\u6570\u636E\u4E0D\u5B58\u5728");
33626
33851
  }
33627
33852
  const tempUiItem = this.state.panelUiItems[panelUiItemIndex];
33628
33853
  if (tempUiItem.id.startsWith("mockId:")) {
@@ -34130,7 +34355,7 @@ var ReportPanelController = class extends ControlController {
34130
34355
  // src/controller/control/gantt/gantt.controller.ts
34131
34356
  import {
34132
34357
  awaitTimeout as awaitTimeout4,
34133
- RuntimeError as RuntimeError65,
34358
+ RuntimeError as RuntimeError66,
34134
34359
  RuntimeModelError as RuntimeModelError71
34135
34360
  } from "@ibiz-template/core";
34136
34361
 
@@ -34574,11 +34799,11 @@ var GanttController = class extends TreeGridExController {
34574
34799
  */
34575
34800
  async modifyNodeTime(nodeData, { begin, end }) {
34576
34801
  if (nodeData._nodeType !== "DE") {
34577
- throw new RuntimeError65("\u4E0D\u662F\u5B9E\u4F53\u7518\u7279\u8282\u70B9\u6570\u636E");
34802
+ throw new RuntimeError66("\u4E0D\u662F\u5B9E\u4F53\u7518\u7279\u8282\u70B9\u6570\u636E");
34578
34803
  }
34579
34804
  const rowState = this.getRowState(nodeData._id);
34580
34805
  if (!rowState) {
34581
- throw new RuntimeError65("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
34806
+ throw new RuntimeError66("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
34582
34807
  }
34583
34808
  const { beginDataItemName, endDataItemName } = this.model;
34584
34809
  this.setRowValue(rowState, beginDataItemName, begin);
@@ -34598,11 +34823,11 @@ var GanttController = class extends TreeGridExController {
34598
34823
  return;
34599
34824
  }
34600
34825
  if (nodeData._nodeType !== "DE") {
34601
- throw new RuntimeError65("\u975E\u5B9E\u4F53\u8282\u70B9\u6570\u636E\u4E0D\u80FD\u4FDD\u5B58");
34826
+ throw new RuntimeError66("\u975E\u5B9E\u4F53\u8282\u70B9\u6570\u636E\u4E0D\u80FD\u4FDD\u5B58");
34602
34827
  }
34603
34828
  const rowState = this.state.rows[nodeData._uuid];
34604
34829
  if (!rowState) {
34605
- throw new RuntimeError65("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
34830
+ throw new RuntimeError66("\u884C\u6570\u636E\u4E0D\u5B58\u5728");
34606
34831
  }
34607
34832
  if (!rowState.modified) {
34608
34833
  ibiz.log.debug("\u503C\u6CA1\u6709\u53D1\u751F\u6539\u53D8");
@@ -34650,7 +34875,7 @@ var GanttController = class extends TreeGridExController {
34650
34875
  async remove(args) {
34651
34876
  const { context, params, data } = this.handlerAbilityParams(args);
34652
34877
  if (!(data == null ? void 0 : data.length)) {
34653
- throw new RuntimeError65("\u672A\u9009\u4E2D\u6570\u636E");
34878
+ throw new RuntimeError66("\u672A\u9009\u4E2D\u6570\u636E");
34654
34879
  }
34655
34880
  if ((args == null ? void 0 : args.silent) !== true) {
34656
34881
  const del = await ibiz.confirm.error({
@@ -34759,7 +34984,7 @@ var GanttController = class extends TreeGridExController {
34759
34984
  (item) => item.showRowEdit
34760
34985
  );
34761
34986
  if (editingRow) {
34762
- throw new RuntimeError65("\u8BF7\u5148\u5B8C\u6210\u5F53\u524D\u884C\u7F16\u8F91\u4E2D\u7684\u884C\u7684\u64CD\u4F5C");
34987
+ throw new RuntimeError66("\u8BF7\u5148\u5B8C\u6210\u5F53\u524D\u884C\u7F16\u8F91\u4E2D\u7684\u884C\u7684\u64CD\u4F5C");
34763
34988
  }
34764
34989
  }
34765
34990
  let parentModel;
@@ -34853,7 +35078,7 @@ import { QXEvent as QXEvent9 } from "qx-util";
34853
35078
 
34854
35079
  // src/controller/notification/async-action.controller.ts
34855
35080
  import { QXEvent as QXEvent7 } from "qx-util";
34856
- import { clone as clone32 } from "ramda";
35081
+ import { clone as clone33 } from "ramda";
34857
35082
  import { isNil as isNil31, isNumber as isNumber2 } from "lodash-es";
34858
35083
  import dayjs7 from "dayjs";
34859
35084
  var AsyncActionController = class {
@@ -34961,7 +35186,7 @@ var AsyncActionController = class {
34961
35186
  } else {
34962
35187
  this.noticeResult(action);
34963
35188
  }
34964
- this.evt.emit("add", clone32(action));
35189
+ this.evt.emit("add", clone33(action));
34965
35190
  this.evt.emit("dataChange");
34966
35191
  }
34967
35192
  /**
@@ -34983,7 +35208,7 @@ var AsyncActionController = class {
34983
35208
  }
34984
35209
  this.noticeResult(action);
34985
35210
  }
34986
- this.evt.emit("change", clone32(action));
35211
+ this.evt.emit("change", clone33(action));
34987
35212
  this.evt.emit("dataChange");
34988
35213
  }
34989
35214
  noticeResult(action) {
@@ -35379,7 +35604,7 @@ var AppHub = class {
35379
35604
  this.registerAppView(appView);
35380
35605
  return appView;
35381
35606
  }
35382
- throw new RuntimeError66("\u89C6\u56FE[".concat(id, "]\u4E0D\u5B58\u5728"));
35607
+ throw new RuntimeError67("\u89C6\u56FE[".concat(id, "]\u4E0D\u5B58\u5728"));
35383
35608
  }
35384
35609
  /**
35385
35610
  * 根据视图模型路径,加参数重新计算视图模型
@@ -35400,7 +35625,7 @@ var AppHub = class {
35400
35625
  );
35401
35626
  return model;
35402
35627
  }
35403
- throw new RuntimeError66("\u89C6\u56FE[".concat(modelPath, "]\u4E0D\u5B58\u5728"));
35628
+ throw new RuntimeError67("\u89C6\u56FE[".concat(modelPath, "]\u4E0D\u5B58\u5728"));
35404
35629
  }
35405
35630
  /**
35406
35631
  * 根据应用实体代码名称查找应用视图
@@ -35431,7 +35656,7 @@ var AppHub = class {
35431
35656
  this.registerAppDataEntity(entity, appId2);
35432
35657
  return entity;
35433
35658
  }
35434
- throw new RuntimeError66("\u672A\u627E\u5230\u5E94\u7528\u5B9E\u4F53[".concat(id, "]"));
35659
+ throw new RuntimeError67("\u672A\u627E\u5230\u5E94\u7528\u5B9E\u4F53[".concat(id, "]"));
35435
35660
  }
35436
35661
  /**
35437
35662
  * 新建 hub 应用
@@ -35446,7 +35671,7 @@ var AppHub = class {
35446
35671
  return this.appMap.get(id);
35447
35672
  }
35448
35673
  if (!this.modelLoaderProvider) {
35449
- throw new RuntimeError66("\u8BF7\u5148\u6CE8\u518C\u6A21\u578B\u52A0\u8F7D\u9002\u914D\u5668");
35674
+ throw new RuntimeError67("\u8BF7\u5148\u6CE8\u518C\u6A21\u578B\u52A0\u8F7D\u9002\u914D\u5668");
35450
35675
  }
35451
35676
  const appModel = await this.modelLoaderProvider.getApp(id);
35452
35677
  const app = new Application(appModel);
@@ -35577,7 +35802,7 @@ var EngineFactory = class {
35577
35802
  };
35578
35803
 
35579
35804
  // src/engine/view-base.engine.ts
35580
- import { RuntimeError as RuntimeError67, findRecursiveChild as findRecursiveChild3 } from "@ibiz-template/core";
35805
+ import { RuntimeError as RuntimeError68, findRecursiveChild as findRecursiveChild3 } from "@ibiz-template/core";
35581
35806
  var ViewEngineBase = class {
35582
35807
  /**
35583
35808
  * 构造函数在视图控制器的构造函数逻辑内部执行
@@ -35845,7 +36070,7 @@ var ViewEngineBase = class {
35845
36070
  const { appDataEntityId } = this.view.model;
35846
36071
  const { evt, context, params } = this.view;
35847
36072
  if (!appDataEntityId) {
35848
- throw new RuntimeError67("\u8BE5\u89C6\u56FE\u6CA1\u6709\u5B9E\u4F53\uFF0C\u65E0\u6CD5\u52A0\u8F7D\u5B9E\u4F53\u6570\u636E");
36073
+ throw new RuntimeError68("\u8BE5\u89C6\u56FE\u6CA1\u6709\u5B9E\u4F53\uFF0C\u65E0\u6CD5\u52A0\u8F7D\u5B9E\u4F53\u6570\u636E");
35849
36074
  }
35850
36075
  const app = ibiz.hub.getApp(context.srfappid);
35851
36076
  const res = await app.deService.exec(
@@ -35867,7 +36092,7 @@ var ViewEngineBase = class {
35867
36092
 
35868
36093
  // src/engine/md-view.engine.ts
35869
36094
  import { RuntimeModelError as RuntimeModelError72 } from "@ibiz-template/core";
35870
- import { clone as clone33 } from "ramda";
36095
+ import { clone as clone34 } from "ramda";
35871
36096
  var MDViewEngine = class extends ViewEngineBase {
35872
36097
  /**
35873
36098
  * 多数据部件名称
@@ -36091,7 +36316,7 @@ var MDViewEngine = class extends ViewEngineBase {
36091
36316
  if (!openAppViewLogic) {
36092
36317
  throw new RuntimeModelError72(this.view.model, "\u7F3A\u5C11newdata\u7684\u89C6\u56FE\u903B\u8F91");
36093
36318
  }
36094
- const params = clone33(this.view.params);
36319
+ const params = clone34(this.view.params);
36095
36320
  if (copyMode) {
36096
36321
  params.srfcopymode = copyMode;
36097
36322
  }
@@ -36389,7 +36614,7 @@ var GlobalUtil = class {
36389
36614
  };
36390
36615
 
36391
36616
  // src/logic-scheduler/executor/logic-executor.ts
36392
- import { RuntimeError as RuntimeError68 } from "@ibiz-template/core";
36617
+ import { RuntimeError as RuntimeError69 } from "@ibiz-template/core";
36393
36618
  var LogicExecutor = class {
36394
36619
  /**
36395
36620
  * @author lxm
@@ -36410,7 +36635,7 @@ var LogicExecutor = class {
36410
36635
  */
36411
36636
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
36412
36637
  execute(_executeParams) {
36413
- throw new RuntimeError68("Method not implemented.");
36638
+ throw new RuntimeError69("Method not implemented.");
36414
36639
  }
36415
36640
  /**
36416
36641
  * 销毁方法
@@ -36847,7 +37072,7 @@ var LogicSchedulerCenter = class {
36847
37072
  };
36848
37073
 
36849
37074
  // src/logic-scheduler/trigger/logic-trigger.ts
36850
- import { RuntimeError as RuntimeError69 } from "@ibiz-template/core";
37075
+ import { RuntimeError as RuntimeError70 } from "@ibiz-template/core";
36851
37076
  var LogicTrigger = class {
36852
37077
  /**
36853
37078
  * @author lxm
@@ -36907,7 +37132,7 @@ var LogicTrigger = class {
36907
37132
  if (this.executor) {
36908
37133
  return this.executor.execute(executeParams);
36909
37134
  }
36910
- throw new RuntimeError69("".concat(this.logic.id, "\u6CA1\u6709\u7ED1\u5B9Aexecutor"));
37135
+ throw new RuntimeError70("".concat(this.logic.id, "\u6CA1\u6709\u7ED1\u5B9Aexecutor"));
36911
37136
  }
36912
37137
  /**
36913
37138
  * 销毁方法
@@ -36924,12 +37149,12 @@ var CustomTrigger = class extends LogicTrigger {
36924
37149
  };
36925
37150
 
36926
37151
  // src/logic-scheduler/trigger/item-dyna-logic-trigger.ts
36927
- import { RuntimeError as RuntimeError70 } from "@ibiz-template/core";
37152
+ import { RuntimeError as RuntimeError71 } from "@ibiz-template/core";
36928
37153
  var ItemDynaLogicTrigger = class extends LogicTrigger {
36929
37154
  bindExecutor(executor) {
36930
37155
  super.bindExecutor(executor);
36931
37156
  if (this.executor.type !== "SCRIPT") {
36932
- throw new RuntimeError70(
37157
+ throw new RuntimeError71(
36933
37158
  "\u9884\u5B9A\u4E49\u903B\u8F91\u7C7B\u578B".concat(this.type, "\u7684\u89E6\u53D1\u5668\u7C7B\u578B\u53EA\u80FD\u662F\u811A\u672C")
36934
37159
  );
36935
37160
  }
@@ -36966,7 +37191,7 @@ var ItemDynaLogicTrigger = class extends LogicTrigger {
36966
37191
  };
36967
37192
 
36968
37193
  // src/logic-scheduler/trigger/timer-trigger.ts
36969
- import { RuntimeError as RuntimeError71, RuntimeModelError as RuntimeModelError74 } from "@ibiz-template/core";
37194
+ import { RuntimeError as RuntimeError72, RuntimeModelError as RuntimeModelError74 } from "@ibiz-template/core";
36970
37195
  var TimerTrigger = class extends LogicTrigger {
36971
37196
  constructor() {
36972
37197
  super(...arguments);
@@ -36978,7 +37203,7 @@ var TimerTrigger = class extends LogicTrigger {
36978
37203
  }
36979
37204
  this.timer = setInterval(() => {
36980
37205
  if (!this.scheduler.defaultParamsCb) {
36981
- throw new RuntimeError71("\u5B9A\u65F6\u5668\u7F3A\u5C11\u9ED8\u8BA4\u53C2\u6570\u56DE\u8C03");
37206
+ throw new RuntimeError72("\u5B9A\u65F6\u5668\u7F3A\u5C11\u9ED8\u8BA4\u53C2\u6570\u56DE\u8C03");
36982
37207
  }
36983
37208
  const params = this.scheduler.defaultParamsCb();
36984
37209
  this.executor.execute(params);
@@ -36995,7 +37220,7 @@ var TimerTrigger = class extends LogicTrigger {
36995
37220
  // src/logic-scheduler/executor/app-ui-logic-executor.ts
36996
37221
  import {
36997
37222
  ModelError as ModelError34,
36998
- RuntimeError as RuntimeError72,
37223
+ RuntimeError as RuntimeError73,
36999
37224
  RuntimeModelError as RuntimeModelError75
37000
37225
  } from "@ibiz-template/core";
37001
37226
  import { notNilEmpty as notNilEmpty9 } from "qx-util";
@@ -37033,7 +37258,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
37033
37258
  const { context, params, ...rest } = parameters;
37034
37259
  const { data } = parameters;
37035
37260
  if (!(data == null ? void 0 : data[0])) {
37036
- throw new RuntimeError72("opendata\u6CA1\u6709\u53EF\u64CD\u4F5C\u6570\u636E\uFF01");
37261
+ throw new RuntimeError73("opendata\u6CA1\u6709\u53EF\u64CD\u4F5C\u6570\u636E\uFF01");
37037
37262
  }
37038
37263
  const openViewRefs = appUILogic.openDataAppViews;
37039
37264
  let openViewRef;
@@ -37093,7 +37318,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
37093
37318
  const openViewRefs = appUILogic.openDataAppViews;
37094
37319
  const findView = openViewRefs == null ? void 0 : openViewRefs.find((item) => item.refMode === formTypeValue);
37095
37320
  if (!findView) {
37096
- throw new RuntimeError72(
37321
+ throw new RuntimeError73(
37097
37322
  "\u6CA1\u6709\u627E\u5230\u4E0E\u8868\u5355\u7C7B\u578B".concat(formTypeValue, "\u76F8\u5173\u7684\u5B9E\u4F53\u7684\u7F16\u8F91\u89C6\u56FE")
37098
37323
  );
37099
37324
  }
@@ -37218,7 +37443,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
37218
37443
  }
37219
37444
  const selectData = (_a = result.data) == null ? void 0 : _a[0];
37220
37445
  if (!selectData) {
37221
- throw new RuntimeError72("\u8BF7\u9009\u4E2D\u4E00\u6761\u6570\u636E");
37446
+ throw new RuntimeError73("\u8BF7\u9009\u4E2D\u4E00\u6761\u6570\u636E");
37222
37447
  }
37223
37448
  const indexType = selectData.srfkey;
37224
37449
  const findView = newDataAppViews == null ? void 0 : newDataAppViews.find(
@@ -37228,7 +37453,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
37228
37453
  }
37229
37454
  );
37230
37455
  if (!findView) {
37231
- throw new RuntimeError72(
37456
+ throw new RuntimeError73(
37232
37457
  "\u6CA1\u6709\u627E\u5230\u4E0E\u7D22\u5F15\u7C7B\u578B".concat(indexType, "\u76F8\u5173\u7684\u5B9E\u4F53\u7684\u7F16\u8F91\u89C6\u56FE")
37233
37458
  );
37234
37459
  }
@@ -37265,7 +37490,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
37265
37490
  }
37266
37491
  });
37267
37492
  if (pickParentFieldName === void 0) {
37268
- throw new RuntimeError72(
37493
+ throw new RuntimeError73(
37269
37494
  "\u6CA1\u6709\u627E\u5230".concat(pickParentDeName, "\u5728\u5F53\u524D\u5B9E\u4F53\u7684\u5916\u952E\u5C5E\u6027")
37270
37495
  );
37271
37496
  }
@@ -37712,6 +37937,7 @@ export {
37712
37937
  ScriptFunction,
37713
37938
  SearchBarController,
37714
37939
  SearchBarFilterController,
37940
+ SearchBarFilterItemsController,
37715
37941
  SearchFilter,
37716
37942
  SearchFormController,
37717
37943
  SearchFormService,