@ibiz-template/runtime 0.2.1 → 0.2.2

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
@@ -18904,7 +18904,15 @@ function getViewEngines(view) {
18904
18904
  if (viewLayoutPanel) {
18905
18905
  appViewEngines.push(...viewLayoutPanel.appViewEngines || []);
18906
18906
  }
18907
- return appViewEngines;
18907
+ return appViewEngines.filter((engine) => {
18908
+ switch (engine.engineCat) {
18909
+ case "CTRL":
18910
+ ibiz.log.warn("\u672A\u652F\u6301\u7684\u5F15\u64CE\u5206\u7C7B\uFF1A".concat(engine.engineType));
18911
+ return false;
18912
+ default:
18913
+ return true;
18914
+ }
18915
+ });
18908
18916
  }
18909
18917
 
18910
18918
  // src/model/panel/data-container.ts
@@ -25277,10 +25285,11 @@ var DEService = class {
25277
25285
  };
25278
25286
 
25279
25287
  // src/service/service/control/control.service.ts
25280
- import { clone as clone12 } from "ramda";
25288
+ import { clone as clone12 } from "@ibiz-template/core";
25281
25289
 
25282
25290
  // src/service/vo/control.vo.ts
25283
25291
  import { clone as clone11, isNil as isNil10 } from "ramda";
25292
+ var unEnumerableKeys = ["srfkey", "srfmajortext"];
25284
25293
  var ControlVO = class _ControlVO {
25285
25294
  /**
25286
25295
  * Creates an instance of ControlVO.
@@ -25381,7 +25390,7 @@ var ControlVO = class _ControlVO {
25381
25390
  }
25382
25391
  if (isOriginField || Object.prototype.hasOwnProperty.call(this.$origin, uiKey)) {
25383
25392
  Object.defineProperty(this, uiKey, {
25384
- enumerable: true,
25393
+ enumerable: !unEnumerableKeys.includes(uiKey),
25385
25394
  configurable: true,
25386
25395
  get() {
25387
25396
  return uiKey === "srfkey" ? this.$origin[dataKey] || this.$origin[uiKey] : this.$origin[dataKey];
@@ -28265,6 +28274,8 @@ var ViewController = class extends BaseController {
28265
28274
  const ins = ibiz.engine.getEngine(engine, this);
28266
28275
  if (ins) {
28267
28276
  this.engines.push(ins);
28277
+ } else {
28278
+ ibiz.log.warn("\u672A\u627E\u5230\u89C6\u56FE\u5F15\u64CE\u5B9E\u73B0\uFF1A", engine);
28268
28279
  }
28269
28280
  });
28270
28281
  } else {