@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 +14 -3
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/out/controller/common/view/view.controller.d.ts.map +1 -1
- package/out/controller/common/view/view.controller.js +3 -0
- package/out/model/view/view.d.ts.map +1 -1
- package/out/model/view/view.js +9 -1
- package/out/service/service/control/control.service.d.ts.map +1 -1
- package/out/service/service/control/control.service.js +1 -1
- package/out/service/vo/control.vo.d.ts.map +1 -1
- package/out/service/vo/control.vo.js +2 -1
- package/package.json +3 -3
- package/src/controller/common/view/view.controller.ts +2 -0
- package/src/model/view/view.ts +9 -1
- package/src/service/service/control/control.service.ts +1 -2
- package/src/service/vo/control.vo.ts +3 -1
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 "
|
|
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:
|
|
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 {
|