@ibiz-template/runtime 0.4.8-dev.0 → 0.4.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.
- package/dist/index.esm.js +23 -13
- package/dist/index.system.min.js +1 -1
- package/out/logic-scheduler/executor/app-ui-logic-executor.d.ts +1 -1
- package/out/logic-scheduler/executor/app-ui-logic-executor.d.ts.map +1 -1
- package/out/logic-scheduler/executor/app-ui-logic-executor.js +15 -8
- package/out/model/ui-action/ui-action.d.ts +4 -2
- package/out/model/ui-action/ui-action.d.ts.map +1 -1
- package/out/model/ui-action/ui-action.js +4 -2
- package/package.json +2 -2
- package/src/logic-scheduler/executor/app-ui-logic-executor.ts +22 -15
- package/src/model/ui-action/ui-action.ts +4 -2
package/dist/index.esm.js
CHANGED
|
@@ -28201,19 +28201,24 @@ import {
|
|
|
28201
28201
|
import { notNilEmpty as notNilEmpty9 } from "qx-util";
|
|
28202
28202
|
var AppUILogicExecutor = class extends LogicExecutor {
|
|
28203
28203
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
28204
|
-
execute(executeParams) {
|
|
28205
|
-
|
|
28206
|
-
|
|
28207
|
-
|
|
28208
|
-
|
|
28209
|
-
|
|
28210
|
-
|
|
28211
|
-
|
|
28212
|
-
|
|
28213
|
-
this.
|
|
28214
|
-
|
|
28215
|
-
|
|
28204
|
+
async execute(executeParams) {
|
|
28205
|
+
let result;
|
|
28206
|
+
try {
|
|
28207
|
+
if (this.logic.id === "opendata" && this.logic.builtinAppUILogic) {
|
|
28208
|
+
result = await this.executeOpenDataAppUILogic(
|
|
28209
|
+
this.logic.builtinAppUILogic,
|
|
28210
|
+
executeParams
|
|
28211
|
+
);
|
|
28212
|
+
} else if (this.logic.id === "newdata" && this.logic.builtinAppUILogic) {
|
|
28213
|
+
result = await this.executeNewDataAppUILogic(
|
|
28214
|
+
this.logic.builtinAppUILogic,
|
|
28215
|
+
executeParams
|
|
28216
|
+
);
|
|
28217
|
+
}
|
|
28218
|
+
} catch (error) {
|
|
28219
|
+
ibiz.log.error(error);
|
|
28216
28220
|
}
|
|
28221
|
+
return result;
|
|
28217
28222
|
}
|
|
28218
28223
|
/**
|
|
28219
28224
|
* 执行应用预置界面逻辑 opendata
|
|
@@ -28410,7 +28415,12 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
28410
28415
|
throw new RuntimeError64("\u8BF7\u9009\u4E2D\u4E00\u6761\u6570\u636E");
|
|
28411
28416
|
}
|
|
28412
28417
|
const indexType = selectData.srfkey;
|
|
28413
|
-
const findView = newDataAppViews == null ? void 0 : newDataAppViews.find(
|
|
28418
|
+
const findView = newDataAppViews == null ? void 0 : newDataAppViews.find(
|
|
28419
|
+
(item) => {
|
|
28420
|
+
var _a2;
|
|
28421
|
+
return ((_a2 = item.refMode) == null ? void 0 : _a2.toUpperCase()) === indexType.toUpperCase();
|
|
28422
|
+
}
|
|
28423
|
+
);
|
|
28414
28424
|
if (!findView) {
|
|
28415
28425
|
throw new RuntimeError64(
|
|
28416
28426
|
"\u6CA1\u6709\u627E\u5230\u4E0E\u7D22\u5F15\u7C7B\u578B".concat(indexType, "\u76F8\u5173\u7684\u5B9E\u4F53\u7684\u7F16\u8F91\u89C6\u56FE")
|