@ibiz-template/runtime 0.5.7-alpha.6 → 0.5.7-alpha.8

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 (37) hide show
  1. package/dist/index.esm.js +32 -5
  2. package/dist/index.system.min.js +1 -1
  3. package/out/application.d.ts.map +1 -1
  4. package/out/application.js +1 -0
  5. package/out/controller/control/grid/grid/grid.controller.d.ts +1 -0
  6. package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
  7. package/out/controller/control/grid/grid/grid.controller.js +6 -0
  8. package/out/controller/control/search-bar/search-bar.controller.d.ts.map +1 -1
  9. package/out/controller/control/search-bar/search-bar.controller.js +1 -1
  10. package/out/engine/view-base.engine.d.ts.map +1 -1
  11. package/out/engine/view-base.engine.js +4 -2
  12. package/out/install.d.ts.map +1 -1
  13. package/out/install.js +2 -5
  14. package/out/interface/service/service/i-mark-open-data.service.d.ts +13 -0
  15. package/out/interface/service/service/i-mark-open-data.service.d.ts.map +1 -0
  16. package/out/interface/service/service/i-mark-open-data.service.js +1 -0
  17. package/out/interface/service/service/index.d.ts +1 -0
  18. package/out/interface/service/service/index.d.ts.map +1 -1
  19. package/out/service/service/index.d.ts +1 -0
  20. package/out/service/service/index.d.ts.map +1 -1
  21. package/out/service/service/index.js +1 -0
  22. package/out/service/service/mark-open-data/mark-open-data.service.d.ts +12 -0
  23. package/out/service/service/mark-open-data/mark-open-data.service.d.ts.map +1 -0
  24. package/out/service/service/mark-open-data/mark-open-data.service.js +14 -0
  25. package/out/types.d.ts +8 -17
  26. package/out/types.d.ts.map +1 -1
  27. package/package.json +2 -2
  28. package/src/application.ts +2 -0
  29. package/src/controller/control/grid/grid/grid.controller.ts +7 -0
  30. package/src/controller/control/search-bar/search-bar.controller.ts +1 -1
  31. package/src/engine/view-base.engine.ts +5 -2
  32. package/src/install.ts +2 -6
  33. package/src/interface/service/service/i-mark-open-data.service.ts +18 -0
  34. package/src/interface/service/service/index.ts +4 -0
  35. package/src/service/service/index.ts +1 -0
  36. package/src/service/service/mark-open-data/mark-open-data.service.ts +25 -0
  37. package/src/types.ts +9 -20
package/dist/index.esm.js CHANGED
@@ -11430,6 +11430,24 @@ var InternalMessageService = class {
11430
11430
  }
11431
11431
  };
11432
11432
 
11433
+ // src/service/service/mark-open-data/mark-open-data.service.ts
11434
+ var MarkOpenDataService = class {
11435
+ constructor() {
11436
+ /**
11437
+ * 基础路径
11438
+ * @author lxm
11439
+ * @date 2024-01-23 02:06:47
11440
+ */
11441
+ this.baseUrl = "/portal/markopendata";
11442
+ }
11443
+ async action(deName, key, action) {
11444
+ const res = await ibiz.net.get(
11445
+ "".concat(this.baseUrl, "/").concat(deName, "/").concat(key, "/").concat(action)
11446
+ );
11447
+ return res;
11448
+ }
11449
+ };
11450
+
11433
11451
  // src/service/vo/tree-node-data/tree-node-data.ts
11434
11452
  import { createUUID as createUUID5 } from "qx-util";
11435
11453
  var TreeNodeData = class {
@@ -12919,6 +12937,7 @@ var Application = class {
12919
12937
  this.model.appId
12920
12938
  );
12921
12939
  this.mqtt.evt.on("message", (message) => {
12940
+ console.log("message", message);
12922
12941
  ibiz.mc.command.next(message);
12923
12942
  });
12924
12943
  await this.mqtt.connect();
@@ -25291,6 +25310,12 @@ var GridController = class extends MDControlController {
25291
25310
  [this.state.remoteAggResult] = res.data;
25292
25311
  }
25293
25312
  }
25313
+ async getFetchParams(extraParams = {}) {
25314
+ if (this.model.enableItemPrivilege === true) {
25315
+ extraParams.srfdataaccessaction = true;
25316
+ }
25317
+ return super.getFetchParams(extraParams);
25318
+ }
25294
25319
  /**
25295
25320
  * 计算当前页的聚合数据
25296
25321
  * @author lxm
@@ -28082,7 +28107,7 @@ var SearchBarController = class extends ControlController {
28082
28107
  * @author lxm
28083
28108
  * @date 2024-01-05 10:10:37
28084
28109
  */
28085
- this.addSchemaFilters = true;
28110
+ this.addSchemaFilters = false;
28086
28111
  }
28087
28112
  /**
28088
28113
  * 启用自定义过滤项
@@ -33904,8 +33929,10 @@ var ViewEngineBase = class {
33904
33929
  if (!this.calcViewHeaderVisible()) {
33905
33930
  names.push("view_header");
33906
33931
  }
33907
- if (!this.calcViewFooterVisible()) {
33908
- names.push("view_footer");
33932
+ if (ibiz.env.isMob) {
33933
+ if (!this.calcViewFooterVisible()) {
33934
+ names.push("view_footer");
33935
+ }
33909
33936
  }
33910
33937
  return names;
33911
33938
  }
@@ -35584,10 +35611,9 @@ function install2() {
35584
35611
  ibiz2.register = new RegisterCenter();
35585
35612
  ibiz2.config = new GlobalConfig();
35586
35613
  ibiz2.auth = new V7AuthService();
35587
- ibiz2.asyncAction = new AsyncActionService();
35588
- ibiz2.internalMessage = new InternalMessageService();
35589
35614
  ibiz2.engine = new EngineFactory();
35590
35615
  ibiz2.uiDomainManager = new UIDomainManager();
35616
+ ibiz2.markOpenData = new MarkOpenDataService();
35591
35617
  installCommand();
35592
35618
  presetUIActionProvider();
35593
35619
  presetDEMethodProvider();
@@ -35814,6 +35840,7 @@ export {
35814
35840
  MapController,
35815
35841
  MapData,
35816
35842
  MapService,
35843
+ MarkOpenDataService,
35817
35844
  MenuPortletController,
35818
35845
  Method,
35819
35846
  MethodDto,