@ibiz-template/runtime 0.7.41-alpha.32 → 0.7.41-alpha.33
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 +324 -189
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.d.ts.map +1 -1
- package/out/config/global-config.js +1 -0
- package/out/controller/control/dashboard/custom-dashboard.controller.d.ts.map +1 -1
- package/out/controller/control/dashboard/custom-dashboard.controller.js +10 -0
- package/out/controller/control/dashboard/dashboard.controller.js +4 -4
- package/out/controller/control/dashboard/dashboard.util.d.ts +6 -0
- package/out/controller/control/dashboard/dashboard.util.d.ts.map +1 -1
- package/out/controller/control/dashboard/dashboard.util.js +24 -0
- package/out/controller/control/md-ctrl/md-ctrl.controller.d.ts +32 -0
- package/out/controller/control/md-ctrl/md-ctrl.controller.d.ts.map +1 -1
- package/out/controller/control/md-ctrl/md-ctrl.controller.js +76 -2
- package/out/de-logic/de-logic-node/debug-param-node/debug-param-node.d.ts +14 -0
- package/out/de-logic/de-logic-node/debug-param-node/debug-param-node.d.ts.map +1 -0
- package/out/de-logic/de-logic-node/debug-param-node/debug-param-node.js +18 -0
- package/out/de-logic/de-logic-node/index.d.ts +1 -0
- package/out/de-logic/de-logic-node/index.d.ts.map +1 -1
- package/out/de-logic/de-logic-node/index.js +1 -0
- package/out/de-logic/de-logic.d.ts.map +1 -1
- package/out/de-logic/de-logic.js +4 -1
- package/out/interface/api/common/global-config/i-api-global-app-menu-config.d.ts +6 -2
- package/out/interface/api/common/global-config/i-api-global-app-menu-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-codelist-config.d.ts +2 -0
- package/out/interface/api/common/global-config/i-api-global-codelist-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +16 -5
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-config.d.ts +11 -3
- package/out/interface/api/common/global-config/i-api-global-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-flow-drtab-config.d.ts +3 -0
- package/out/interface/api/common/global-config/i-api-global-flow-drtab-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-form-config.d.ts +11 -3
- package/out/interface/api/common/global-config/i-api-global-form-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-grid-config.d.ts +5 -0
- package/out/interface/api/common/global-config/i-api-global-grid-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-img-compress-config.d.ts +3 -0
- package/out/interface/api/common/global-config/i-api-global-img-compress-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-kanban-config.d.ts +2 -0
- package/out/interface/api/common/global-config/i-api-global-kanban-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts +14 -1
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-picker-editor-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-picker-editor-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts +3 -1
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-tree-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-tree-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-upload-editor-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-upload-editor-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts +10 -0
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-water-mark-config.d.ts +39 -4
- package/out/interface/api/common/global-config/i-api-global-water-mark-config.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts +5 -4
- package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts.map +1 -1
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +2 -0
- package/out/interface/api/controller/view/i-api-view.controller.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-control.state.d.ts +1 -1
- package/out/interface/api/state/control/i-api-mob-md-ctrl.state.d.ts +15 -3
- package/out/interface/api/state/control/i-api-mob-md-ctrl.state.d.ts.map +1 -1
- package/out/interface/common/i-drawer-options/i-drawer-options.d.ts +6 -0
- package/out/interface/common/i-drawer-options/i-drawer-options.d.ts.map +1 -1
- package/out/interface/controller/controller/control/i-mob-md-ctrl.controller.d.ts +3 -3
- package/out/interface/controller/controller/control/i-mob-md-ctrl.controller.d.ts.map +1 -1
- package/out/interface/controller/event/control/i-edit-form.event.d.ts +13 -0
- package/out/interface/controller/event/control/i-edit-form.event.d.ts.map +1 -1
- package/out/interface/controller/event/control/i-mob-md-ctrl.event.d.ts +3 -3
- package/out/interface/controller/event/control/i-mob-md-ctrl.event.d.ts.map +1 -1
- package/out/interface/controller/state/control/i-mob-md-ctrl.state.d.ts +3 -3
- package/out/interface/controller/state/control/i-mob-md-ctrl.state.d.ts.map +1 -1
- package/out/locale/en/index.d.ts +1 -0
- package/out/locale/en/index.d.ts.map +1 -1
- package/out/locale/en/index.js +1 -0
- package/out/locale/zh-CN/index.d.ts +1 -0
- package/out/locale/zh-CN/index.d.ts.map +1 -1
- package/out/locale/zh-CN/index.js +1 -0
- package/out/service/vo/control.vo.d.ts.map +1 -1
- package/out/service/vo/control.vo.js +4 -1
- package/out/ui-action/provider/front-ui-action-provider.d.ts.map +1 -1
- package/out/ui-action/provider/front-ui-action-provider.js +3 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -19475,7 +19475,8 @@ var GlobalConfig = class {
|
|
|
19475
19475
|
mobGetSignUrl: "",
|
|
19476
19476
|
mobGetSignMethod: "post",
|
|
19477
19477
|
mobWeChatDebug: false,
|
|
19478
|
-
showUploadLoading: false
|
|
19478
|
+
showUploadLoading: false,
|
|
19479
|
+
mobShowBackTop: false
|
|
19479
19480
|
};
|
|
19480
19481
|
/**
|
|
19481
19482
|
* @description 图片压缩配置
|
|
@@ -24768,8 +24769,9 @@ var ControlVO = class _ControlVO {
|
|
|
24768
24769
|
}
|
|
24769
24770
|
if (Object.prototype.hasOwnProperty.call(this.$origin, "srfuf")) {
|
|
24770
24771
|
this.$srfuf = this.$origin.srfuf;
|
|
24772
|
+
} else {
|
|
24773
|
+
this.$srfuf = this.srfkey === this.tempsrfkey ? 1 /* UPDATE */ : 0 /* CREATE */;
|
|
24771
24774
|
}
|
|
24772
|
-
this.$srfuf = this.srfkey === this.tempsrfkey ? 1 /* UPDATE */ : 0 /* CREATE */;
|
|
24773
24775
|
Object.defineProperty(this, "srfuf", {
|
|
24774
24776
|
get() {
|
|
24775
24777
|
return this.$srfuf;
|
|
@@ -30309,7 +30311,7 @@ import {
|
|
|
30309
30311
|
HttpError as HttpError6,
|
|
30310
30312
|
HttpResponse as HttpResponse3,
|
|
30311
30313
|
RuntimeError as RuntimeError21,
|
|
30312
|
-
RuntimeModelError as
|
|
30314
|
+
RuntimeModelError as RuntimeModelError21
|
|
30313
30315
|
} from "@ibiz-template/core";
|
|
30314
30316
|
import { isArray as isArray6, isNil as isNil16 } from "lodash-es";
|
|
30315
30317
|
import { ascSort } from "qx-util";
|
|
@@ -30611,7 +30613,7 @@ import { isArray as isArray5 } from "lodash-es";
|
|
|
30611
30613
|
import { clone as clone15 } from "ramda";
|
|
30612
30614
|
|
|
30613
30615
|
// src/de-logic/de-logic.ts
|
|
30614
|
-
import { ModelError as ModelError13, RuntimeModelError as
|
|
30616
|
+
import { ModelError as ModelError13, RuntimeModelError as RuntimeModelError20 } from "@ibiz-template/core";
|
|
30615
30617
|
|
|
30616
30618
|
// src/de-logic/de-logic-context.ts
|
|
30617
30619
|
import { isArray as isArray4 } from "lodash-es";
|
|
@@ -31564,6 +31566,25 @@ var AppendParamNode = class extends DELogicNode {
|
|
|
31564
31566
|
}
|
|
31565
31567
|
};
|
|
31566
31568
|
|
|
31569
|
+
// src/de-logic/de-logic-node/debug-param-node/debug-param-node.ts
|
|
31570
|
+
import { RuntimeModelError as RuntimeModelError19 } from "@ibiz-template/core";
|
|
31571
|
+
var DebugParamNode = class extends DELogicNode {
|
|
31572
|
+
async exec(ctx) {
|
|
31573
|
+
const { dstDELogicParamId, name: name2 } = this.model;
|
|
31574
|
+
if (!dstDELogicParamId) {
|
|
31575
|
+
throw new RuntimeModelError19(
|
|
31576
|
+
this.model,
|
|
31577
|
+
ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
|
|
31578
|
+
);
|
|
31579
|
+
}
|
|
31580
|
+
const param = ctx.params[dstDELogicParamId];
|
|
31581
|
+
ibiz.log.info(
|
|
31582
|
+
ibiz.i18n.t("runtime.deLogic.deLogicNode.logicalNodeOperation", { name: name2 }),
|
|
31583
|
+
param
|
|
31584
|
+
);
|
|
31585
|
+
}
|
|
31586
|
+
};
|
|
31587
|
+
|
|
31567
31588
|
// src/de-logic/de-logic-node/throw-exception-node/throw-exception-node.ts
|
|
31568
31589
|
import { HttpError as HttpError4 } from "@ibiz-template/core";
|
|
31569
31590
|
var ThrowExceptionNode = class extends DELogicNode {
|
|
@@ -31737,7 +31758,7 @@ var DELogic = class {
|
|
|
31737
31758
|
var _a3, _b2;
|
|
31738
31759
|
if (model.customCode) {
|
|
31739
31760
|
if (!model.scriptCode) {
|
|
31740
|
-
throw new
|
|
31761
|
+
throw new RuntimeModelError20(
|
|
31741
31762
|
model,
|
|
31742
31763
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.noScriptCode")
|
|
31743
31764
|
);
|
|
@@ -31748,7 +31769,7 @@ var DELogic = class {
|
|
|
31748
31769
|
return;
|
|
31749
31770
|
}
|
|
31750
31771
|
if (!((_a3 = model.delogicNodes) == null ? void 0 : _a3.length)) {
|
|
31751
|
-
throw new
|
|
31772
|
+
throw new RuntimeModelError20(
|
|
31752
31773
|
model,
|
|
31753
31774
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.noConfigurationLogicNode")
|
|
31754
31775
|
);
|
|
@@ -31793,6 +31814,9 @@ var DELogic = class {
|
|
|
31793
31814
|
case "SORTPARAM":
|
|
31794
31815
|
logicNode = new SortParamNode(node);
|
|
31795
31816
|
break;
|
|
31817
|
+
case "DEBUGPARAM":
|
|
31818
|
+
logicNode = new DebugParamNode(node);
|
|
31819
|
+
break;
|
|
31796
31820
|
default:
|
|
31797
31821
|
throw new ModelError13(
|
|
31798
31822
|
node,
|
|
@@ -31855,7 +31879,7 @@ var DELogic = class {
|
|
|
31855
31879
|
const start = this.nodes.get(startDELogicNodeId);
|
|
31856
31880
|
await this.deepExec(start, ctx);
|
|
31857
31881
|
} else {
|
|
31858
|
-
throw new
|
|
31882
|
+
throw new RuntimeModelError20(
|
|
31859
31883
|
this.model,
|
|
31860
31884
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.noSetStartNode")
|
|
31861
31885
|
);
|
|
@@ -32033,7 +32057,7 @@ var DEActionMethod = class extends Method {
|
|
|
32033
32057
|
if (this.method.actionType === "DELOGIC") {
|
|
32034
32058
|
const deLogic = findDELogic(this.method.appDELogicId, this.entity);
|
|
32035
32059
|
if (!deLogic) {
|
|
32036
|
-
throw new
|
|
32060
|
+
throw new RuntimeModelError21(
|
|
32037
32061
|
this.method,
|
|
32038
32062
|
ibiz.i18n.t("runtime.service.lackEntityLogic")
|
|
32039
32063
|
);
|
|
@@ -32423,7 +32447,7 @@ var DEActionMethod = class extends Method {
|
|
|
32423
32447
|
configs = ascSort(configs, "removeOrder");
|
|
32424
32448
|
for (const config of configs) {
|
|
32425
32449
|
if (config.rstype !== "DER1N") {
|
|
32426
|
-
throw new
|
|
32450
|
+
throw new RuntimeModelError21(
|
|
32427
32451
|
config,
|
|
32428
32452
|
ibiz.i18n.t("runtime.service.deletionDeletion")
|
|
32429
32453
|
);
|
|
@@ -32701,7 +32725,7 @@ var DeActionDeMethodProvider = class {
|
|
|
32701
32725
|
import {
|
|
32702
32726
|
HttpResponse as HttpResponse4,
|
|
32703
32727
|
ModelError as ModelError14,
|
|
32704
|
-
RuntimeModelError as
|
|
32728
|
+
RuntimeModelError as RuntimeModelError22
|
|
32705
32729
|
} from "@ibiz-template/core";
|
|
32706
32730
|
import { isArray as isArray7 } from "lodash-es";
|
|
32707
32731
|
import { clone as clone17, isEmpty as isEmpty8, isNil as isNil17 } from "ramda";
|
|
@@ -32834,7 +32858,7 @@ var FetchMethod = class extends Method {
|
|
|
32834
32858
|
async fetchCodeListSet(context, params) {
|
|
32835
32859
|
const { appCodeListId } = this.method;
|
|
32836
32860
|
if (!appCodeListId) {
|
|
32837
|
-
throw new
|
|
32861
|
+
throw new RuntimeModelError22(
|
|
32838
32862
|
this.method,
|
|
32839
32863
|
ibiz.i18n.t("runtime.service.sourceCodeTable")
|
|
32840
32864
|
);
|
|
@@ -35992,7 +36016,7 @@ async function getEntitySchema(entityId, context, params = {}) {
|
|
|
35992
36016
|
}
|
|
35993
36017
|
|
|
35994
36018
|
// src/controller/utils/view-msg/view-msg-controller.ts
|
|
35995
|
-
import { RuntimeError as RuntimeError29, RuntimeModelError as
|
|
36019
|
+
import { RuntimeError as RuntimeError29, RuntimeModelError as RuntimeModelError23 } from "@ibiz-template/core";
|
|
35996
36020
|
import { isNil as isNil23, mergeRight as mergeRight3 } from "ramda";
|
|
35997
36021
|
var VIEW_MSG_PREFIX = "VIEW_MSG";
|
|
35998
36022
|
var ViewMsgController = class _ViewMsgController {
|
|
@@ -36083,7 +36107,7 @@ var ViewMsgController = class _ViewMsgController {
|
|
|
36083
36107
|
static async fetchDataSet(msgModel, context, params) {
|
|
36084
36108
|
const { appDataEntityId, appDEDataSetId } = msgModel;
|
|
36085
36109
|
if (!appDEDataSetId) {
|
|
36086
|
-
throw new
|
|
36110
|
+
throw new RuntimeModelError23(
|
|
36087
36111
|
msgModel,
|
|
36088
36112
|
ibiz.i18n.t("runtime.controller.utils.viewMsg.unconfigured")
|
|
36089
36113
|
);
|
|
@@ -36296,7 +36320,7 @@ var ViewMsgController = class _ViewMsgController {
|
|
|
36296
36320
|
layoutPanel
|
|
36297
36321
|
} = msgModel;
|
|
36298
36322
|
if (!appDataEntityId) {
|
|
36299
|
-
throw new
|
|
36323
|
+
throw new RuntimeModelError23(
|
|
36300
36324
|
msgModel,
|
|
36301
36325
|
ibiz.i18n.t("runtime.controller.utils.viewMsg.unconfiguredEntities")
|
|
36302
36326
|
);
|
|
@@ -37679,7 +37703,7 @@ var EditorController = class {
|
|
|
37679
37703
|
};
|
|
37680
37704
|
|
|
37681
37705
|
// src/controller/common/editor/code-list-editor.controller.ts
|
|
37682
|
-
import { RuntimeModelError as
|
|
37706
|
+
import { RuntimeModelError as RuntimeModelError24 } from "@ibiz-template/core";
|
|
37683
37707
|
var CodeListEditorController = class extends EditorController {
|
|
37684
37708
|
constructor() {
|
|
37685
37709
|
super(...arguments);
|
|
@@ -37795,7 +37819,7 @@ var CodeListEditorController = class extends EditorController {
|
|
|
37795
37819
|
}
|
|
37796
37820
|
if (this.editorParams.enumOptions)
|
|
37797
37821
|
return this.editorParams.enumOptions;
|
|
37798
|
-
throw new
|
|
37822
|
+
throw new RuntimeModelError24(
|
|
37799
37823
|
this.model,
|
|
37800
37824
|
ibiz.i18n.t("runtime.controller.common.editor.editorNoConfigured", {
|
|
37801
37825
|
editorType: this.model.editorType
|
|
@@ -38350,7 +38374,7 @@ var ControlController = class extends BaseController {
|
|
|
38350
38374
|
import {
|
|
38351
38375
|
RuntimeError as RuntimeError32,
|
|
38352
38376
|
isElementSame,
|
|
38353
|
-
RuntimeModelError as
|
|
38377
|
+
RuntimeModelError as RuntimeModelError25
|
|
38354
38378
|
} from "@ibiz-template/core";
|
|
38355
38379
|
import { isNil as isNil26 } from "ramda";
|
|
38356
38380
|
import { isArray as isArray8 } from "lodash-es";
|
|
@@ -39018,7 +39042,7 @@ var MDControlController = class extends ControlController {
|
|
|
39018
39042
|
async importData() {
|
|
39019
39043
|
const { appDataEntityId, dedataImportId } = this.model;
|
|
39020
39044
|
if (!appDataEntityId || !dedataImportId) {
|
|
39021
|
-
throw new
|
|
39045
|
+
throw new RuntimeModelError25(
|
|
39022
39046
|
this.model,
|
|
39023
39047
|
ibiz.i18n.t("runtime.controller.common.control.noImportModel")
|
|
39024
39048
|
);
|
|
@@ -39228,7 +39252,7 @@ var MDControlController = class extends ControlController {
|
|
|
39228
39252
|
import {
|
|
39229
39253
|
findRecursiveChild,
|
|
39230
39254
|
RuntimeError as RuntimeError33,
|
|
39231
|
-
RuntimeModelError as
|
|
39255
|
+
RuntimeModelError as RuntimeModelError26
|
|
39232
39256
|
} from "@ibiz-template/core";
|
|
39233
39257
|
|
|
39234
39258
|
// src/controller/control/app-menu/custom-app-menu.controller.ts
|
|
@@ -39534,7 +39558,7 @@ var AppMenuController = class extends ControlController {
|
|
|
39534
39558
|
return provider.onClick(menuItem, event, this);
|
|
39535
39559
|
}
|
|
39536
39560
|
if (!menuItem.appFuncId) {
|
|
39537
|
-
throw new
|
|
39561
|
+
throw new RuntimeModelError26(
|
|
39538
39562
|
menuItem,
|
|
39539
39563
|
ibiz.i18n.t("runtime.controller.control.menu.noConfigured")
|
|
39540
39564
|
);
|
|
@@ -39684,7 +39708,7 @@ var AppMenuController = class extends ControlController {
|
|
|
39684
39708
|
import {
|
|
39685
39709
|
findRecursiveChild as findRecursiveChild2,
|
|
39686
39710
|
RuntimeError as RuntimeError34,
|
|
39687
|
-
RuntimeModelError as
|
|
39711
|
+
RuntimeModelError as RuntimeModelError27
|
|
39688
39712
|
} from "@ibiz-template/core";
|
|
39689
39713
|
var AppMenuIconViewController = class extends AppMenuController {
|
|
39690
39714
|
async onClickMenuItem(id, event) {
|
|
@@ -39702,7 +39726,7 @@ var AppMenuIconViewController = class extends AppMenuController {
|
|
|
39702
39726
|
event
|
|
39703
39727
|
});
|
|
39704
39728
|
if (!menuItem.appFuncId) {
|
|
39705
|
-
throw new
|
|
39729
|
+
throw new RuntimeModelError27(
|
|
39706
39730
|
menuItem,
|
|
39707
39731
|
ibiz.i18n.t("runtime.controller.control.menu.noConfigured")
|
|
39708
39732
|
);
|
|
@@ -39724,7 +39748,7 @@ var AppMenuIconViewController = class extends AppMenuController {
|
|
|
39724
39748
|
|
|
39725
39749
|
// src/controller/control/calendar/calendar.controller.ts
|
|
39726
39750
|
import dayjs3 from "dayjs";
|
|
39727
|
-
import { RuntimeError as RuntimeError45, RuntimeModelError as
|
|
39751
|
+
import { RuntimeError as RuntimeError45, RuntimeModelError as RuntimeModelError49 } from "@ibiz-template/core";
|
|
39728
39752
|
|
|
39729
39753
|
// src/controller/control/calendar/calendar.service.ts
|
|
39730
39754
|
import { RuntimeError as RuntimeError35 } from "@ibiz-template/core";
|
|
@@ -39940,11 +39964,11 @@ var CalendarService = class extends MDControlService {
|
|
|
39940
39964
|
import { recursiveIterate as recursiveIterate2, RuntimeError as RuntimeError44 } from "@ibiz-template/core";
|
|
39941
39965
|
|
|
39942
39966
|
// src/ui-action/provider/backend-ui-action-provider.ts
|
|
39943
|
-
import { RuntimeModelError as
|
|
39967
|
+
import { RuntimeModelError as RuntimeModelError46 } from "@ibiz-template/core";
|
|
39944
39968
|
import { isArray as isArray9 } from "qx-util";
|
|
39945
39969
|
|
|
39946
39970
|
// src/ui-action/provider/ui-action-provider-base.ts
|
|
39947
|
-
import { RuntimeModelError as
|
|
39971
|
+
import { RuntimeModelError as RuntimeModelError45 } from "@ibiz-template/core";
|
|
39948
39972
|
|
|
39949
39973
|
// src/ui-logic/index.ts
|
|
39950
39974
|
import { RuntimeError as RuntimeError41 } from "@ibiz-template/core";
|
|
@@ -39953,7 +39977,7 @@ import { RuntimeError as RuntimeError41 } from "@ibiz-template/core";
|
|
|
39953
39977
|
import {
|
|
39954
39978
|
IBizContext as IBizContext6,
|
|
39955
39979
|
ModelError as ModelError23,
|
|
39956
|
-
RuntimeModelError as
|
|
39980
|
+
RuntimeModelError as RuntimeModelError44
|
|
39957
39981
|
} from "@ibiz-template/core";
|
|
39958
39982
|
import { clone as clone25 } from "ramda";
|
|
39959
39983
|
|
|
@@ -40108,20 +40132,20 @@ var UILogicContext = class {
|
|
|
40108
40132
|
};
|
|
40109
40133
|
|
|
40110
40134
|
// src/ui-logic/ui-logic-node/de-action-node/de-action-node.ts
|
|
40111
|
-
import { RuntimeModelError as
|
|
40135
|
+
import { RuntimeModelError as RuntimeModelError30 } from "@ibiz-template/core";
|
|
40112
40136
|
|
|
40113
40137
|
// src/ui-logic/ui-logic-link/ui-logic-link.ts
|
|
40114
40138
|
import { ModelError as ModelError18 } from "@ibiz-template/core";
|
|
40115
40139
|
|
|
40116
40140
|
// src/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.ts
|
|
40117
|
-
import { RuntimeModelError as
|
|
40141
|
+
import { RuntimeModelError as RuntimeModelError29 } from "@ibiz-template/core";
|
|
40118
40142
|
|
|
40119
40143
|
// src/ui-logic/ui-logic-link/ui-logic-link-cond/ui-logic-link-cond.ts
|
|
40120
40144
|
var UILogicLinkCond = class {
|
|
40121
40145
|
};
|
|
40122
40146
|
|
|
40123
40147
|
// src/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.ts
|
|
40124
|
-
import { ModelError as ModelError17, RuntimeModelError as
|
|
40148
|
+
import { ModelError as ModelError17, RuntimeModelError as RuntimeModelError28 } from "@ibiz-template/core";
|
|
40125
40149
|
|
|
40126
40150
|
// src/ui-logic/utils/handle-src-val.ts
|
|
40127
40151
|
import { ModelError as ModelError16 } from "@ibiz-template/core";
|
|
@@ -40260,7 +40284,7 @@ var UILogicLinkSingleCond = class extends UILogicLinkCond {
|
|
|
40260
40284
|
switch (this.type) {
|
|
40261
40285
|
case "ENTITYFIELD": {
|
|
40262
40286
|
if (!this.value) {
|
|
40263
|
-
throw new
|
|
40287
|
+
throw new RuntimeModelError28(
|
|
40264
40288
|
this.model,
|
|
40265
40289
|
ibiz.i18n.t("runtime.uiLogic.currentConditionValue")
|
|
40266
40290
|
);
|
|
@@ -40272,7 +40296,7 @@ var UILogicLinkSingleCond = class extends UILogicLinkCond {
|
|
|
40272
40296
|
}
|
|
40273
40297
|
case "SRCENTITYFIELD": {
|
|
40274
40298
|
if (!this.value) {
|
|
40275
|
-
throw new
|
|
40299
|
+
throw new RuntimeModelError28(
|
|
40276
40300
|
this.model,
|
|
40277
40301
|
ibiz.i18n.t("runtime.uiLogic.sourceDataObjectAttribute")
|
|
40278
40302
|
);
|
|
@@ -40363,7 +40387,7 @@ var UILogicLinkGroupCond = class _UILogicLinkGroupCond extends UILogicLinkCond {
|
|
|
40363
40387
|
test(ctx, context, data) {
|
|
40364
40388
|
let bol = this.op !== "OR";
|
|
40365
40389
|
if (this.conds.length === 0) {
|
|
40366
|
-
throw new
|
|
40390
|
+
throw new RuntimeModelError29(
|
|
40367
40391
|
this.model,
|
|
40368
40392
|
ibiz.i18n.t("runtime.uiLogic.interfaceConnectionConditional")
|
|
40369
40393
|
);
|
|
@@ -40512,13 +40536,13 @@ var DEActionNode2 = class extends UILogicNode {
|
|
|
40512
40536
|
retDEUILogicParamId
|
|
40513
40537
|
} = this.model;
|
|
40514
40538
|
if (!dstAppDataEntityId) {
|
|
40515
|
-
throw new
|
|
40539
|
+
throw new RuntimeModelError30(
|
|
40516
40540
|
this.model,
|
|
40517
40541
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedEntity")
|
|
40518
40542
|
);
|
|
40519
40543
|
}
|
|
40520
40544
|
if (!dstAppDEActionId) {
|
|
40521
|
-
throw new
|
|
40545
|
+
throw new RuntimeModelError30(
|
|
40522
40546
|
this.model,
|
|
40523
40547
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.unspecifiedBehavior")
|
|
40524
40548
|
);
|
|
@@ -40549,7 +40573,7 @@ var DEActionNode2 = class extends UILogicNode {
|
|
|
40549
40573
|
};
|
|
40550
40574
|
|
|
40551
40575
|
// src/ui-logic/ui-logic-node/de-ui-action-node/de-ui-action-node.ts
|
|
40552
|
-
import { RuntimeModelError as
|
|
40576
|
+
import { RuntimeModelError as RuntimeModelError31 } from "@ibiz-template/core";
|
|
40553
40577
|
var DEUIActionNode = class extends UILogicNode {
|
|
40554
40578
|
async exec(ctx) {
|
|
40555
40579
|
const {
|
|
@@ -40560,7 +40584,7 @@ var DEUIActionNode = class extends UILogicNode {
|
|
|
40560
40584
|
} = this.model;
|
|
40561
40585
|
const { data, parameters } = ctx;
|
|
40562
40586
|
if (!dstAppDEUIActionId) {
|
|
40563
|
-
throw new
|
|
40587
|
+
throw new RuntimeModelError31(
|
|
40564
40588
|
this.model,
|
|
40565
40589
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredInterfaceBehavior")
|
|
40566
40590
|
);
|
|
@@ -40835,26 +40859,26 @@ var PrepareJSParamNode = class extends UILogicNode {
|
|
|
40835
40859
|
};
|
|
40836
40860
|
|
|
40837
40861
|
// src/ui-logic/ui-logic-node/view-ctrl-invoke-node/view-ctrl-invoke-node.ts
|
|
40838
|
-
import { RuntimeError as RuntimeError37, RuntimeModelError as
|
|
40862
|
+
import { RuntimeError as RuntimeError37, RuntimeModelError as RuntimeModelError32 } from "@ibiz-template/core";
|
|
40839
40863
|
import { isFunction } from "lodash-es";
|
|
40840
40864
|
var ViewCtrlInvokeNode = class extends UILogicNode {
|
|
40841
40865
|
async exec(ctx) {
|
|
40842
40866
|
ctx.isEndNode = true;
|
|
40843
40867
|
const { invokeMethod, invokeCtrlId, invokeParamId } = this.model;
|
|
40844
40868
|
if (!invokeCtrlId) {
|
|
40845
|
-
throw new
|
|
40869
|
+
throw new RuntimeModelError32(
|
|
40846
40870
|
this.model,
|
|
40847
40871
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredInterfaceObject")
|
|
40848
40872
|
);
|
|
40849
40873
|
}
|
|
40850
40874
|
if (!invokeParamId) {
|
|
40851
|
-
throw new
|
|
40875
|
+
throw new RuntimeModelError32(
|
|
40852
40876
|
this.model,
|
|
40853
40877
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredOperatingParameters")
|
|
40854
40878
|
);
|
|
40855
40879
|
}
|
|
40856
40880
|
if (!invokeMethod) {
|
|
40857
|
-
throw new
|
|
40881
|
+
throw new RuntimeModelError32(
|
|
40858
40882
|
this.model,
|
|
40859
40883
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredCallMethod")
|
|
40860
40884
|
);
|
|
@@ -40895,12 +40919,12 @@ var ViewCtrlInvokeNode = class extends UILogicNode {
|
|
|
40895
40919
|
};
|
|
40896
40920
|
|
|
40897
40921
|
// src/ui-logic/ui-logic-node/bind-param-node/bind-param-node.ts
|
|
40898
|
-
import { RuntimeModelError as
|
|
40922
|
+
import { RuntimeModelError as RuntimeModelError33 } from "@ibiz-template/core";
|
|
40899
40923
|
var BindParamNode2 = class extends UILogicNode {
|
|
40900
40924
|
async exec(ctx) {
|
|
40901
40925
|
const { dstDEUILogicParamId, srcDEUILogicParamId } = this.model;
|
|
40902
40926
|
if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
|
|
40903
|
-
throw new
|
|
40927
|
+
throw new RuntimeModelError33(
|
|
40904
40928
|
this.model,
|
|
40905
40929
|
ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
|
|
40906
40930
|
);
|
|
@@ -40919,7 +40943,7 @@ var BindParamNode2 = class extends UILogicNode {
|
|
|
40919
40943
|
};
|
|
40920
40944
|
|
|
40921
40945
|
// src/ui-logic/ui-logic-node/msg-box-node/msg-box-node.ts
|
|
40922
|
-
import { ModelError as ModelError21, RuntimeModelError as
|
|
40946
|
+
import { ModelError as ModelError21, RuntimeModelError as RuntimeModelError34 } from "@ibiz-template/core";
|
|
40923
40947
|
var MsgBoxNode = class extends UILogicNode {
|
|
40924
40948
|
constructor() {
|
|
40925
40949
|
super(...arguments);
|
|
@@ -40933,13 +40957,13 @@ var MsgBoxNode = class extends UILogicNode {
|
|
|
40933
40957
|
async exec(ctx) {
|
|
40934
40958
|
const { msgBoxType, buttonsType, msgBoxParamId } = this.model;
|
|
40935
40959
|
if (!msgBoxType) {
|
|
40936
|
-
throw new
|
|
40960
|
+
throw new RuntimeModelError34(
|
|
40937
40961
|
this.model,
|
|
40938
40962
|
ibiz.i18n.t("runtime.uiLogic.missingMessageTypeConfiguration")
|
|
40939
40963
|
);
|
|
40940
40964
|
}
|
|
40941
40965
|
if (!buttonsType) {
|
|
40942
|
-
throw new
|
|
40966
|
+
throw new RuntimeModelError34(
|
|
40943
40967
|
this.model,
|
|
40944
40968
|
ibiz.i18n.t("runtime.uiLogic.missingButtonTypeConfiguration")
|
|
40945
40969
|
);
|
|
@@ -41023,12 +41047,12 @@ var PFPluginNode = class extends UILogicNode {
|
|
|
41023
41047
|
};
|
|
41024
41048
|
|
|
41025
41049
|
// src/ui-logic/ui-logic-node/debug-param-node/debug-param-node.ts
|
|
41026
|
-
import { RuntimeModelError as
|
|
41027
|
-
var
|
|
41050
|
+
import { RuntimeModelError as RuntimeModelError35 } from "@ibiz-template/core";
|
|
41051
|
+
var DebugParamNode2 = class extends UILogicNode {
|
|
41028
41052
|
async exec(ctx) {
|
|
41029
41053
|
const { dstDEUILogicParamId, name: name2 } = this.model;
|
|
41030
41054
|
if (!dstDEUILogicParamId) {
|
|
41031
|
-
throw new
|
|
41055
|
+
throw new RuntimeModelError35(
|
|
41032
41056
|
this.model,
|
|
41033
41057
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
|
|
41034
41058
|
);
|
|
@@ -41042,12 +41066,12 @@ var DebugParamNode = class extends UILogicNode {
|
|
|
41042
41066
|
};
|
|
41043
41067
|
|
|
41044
41068
|
// src/ui-logic/ui-logic-node/reset-param-node/reset-param-node.ts
|
|
41045
|
-
import { RuntimeModelError as
|
|
41069
|
+
import { RuntimeModelError as RuntimeModelError36 } from "@ibiz-template/core";
|
|
41046
41070
|
var ResetParamNode2 = class extends UILogicNode {
|
|
41047
41071
|
async exec(ctx) {
|
|
41048
41072
|
const { dstDEUILogicParamId } = this.model;
|
|
41049
41073
|
if (!dstDEUILogicParamId) {
|
|
41050
|
-
throw new
|
|
41074
|
+
throw new RuntimeModelError36(
|
|
41051
41075
|
this.model,
|
|
41052
41076
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
|
|
41053
41077
|
);
|
|
@@ -41064,13 +41088,13 @@ var ResetParamNode2 = class extends UILogicNode {
|
|
|
41064
41088
|
};
|
|
41065
41089
|
|
|
41066
41090
|
// src/ui-logic/ui-logic-node/copy-param-node/copy-param-node.ts
|
|
41067
|
-
import { RuntimeModelError as
|
|
41091
|
+
import { RuntimeModelError as RuntimeModelError37 } from "@ibiz-template/core";
|
|
41068
41092
|
import { clone as clone24 } from "ramda";
|
|
41069
41093
|
var CopyParamNode2 = class extends UILogicNode {
|
|
41070
41094
|
async exec(ctx) {
|
|
41071
41095
|
const { dstDEUILogicParamId, srcDEUILogicParamId } = this.model;
|
|
41072
41096
|
if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
|
|
41073
|
-
throw new
|
|
41097
|
+
throw new RuntimeModelError37(
|
|
41074
41098
|
this.model,
|
|
41075
41099
|
ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
|
|
41076
41100
|
);
|
|
@@ -41089,7 +41113,7 @@ var CopyParamNode2 = class extends UILogicNode {
|
|
|
41089
41113
|
};
|
|
41090
41114
|
|
|
41091
41115
|
// src/ui-logic/ui-logic-node/append-param-node/append-param-node.ts
|
|
41092
|
-
import { RuntimeModelError as
|
|
41116
|
+
import { RuntimeModelError as RuntimeModelError38 } from "@ibiz-template/core";
|
|
41093
41117
|
var AppendParamNode2 = class extends UILogicNode {
|
|
41094
41118
|
async exec(ctx) {
|
|
41095
41119
|
const {
|
|
@@ -41100,7 +41124,7 @@ var AppendParamNode2 = class extends UILogicNode {
|
|
|
41100
41124
|
srcSize
|
|
41101
41125
|
} = this.model;
|
|
41102
41126
|
if (!dstDEUILogicParamId || !srcDEUILogicParamId) {
|
|
41103
|
-
throw new
|
|
41127
|
+
throw new RuntimeModelError38(
|
|
41104
41128
|
this.model,
|
|
41105
41129
|
ibiz.i18n.t("runtime.uiLogic.missingTargetParameter")
|
|
41106
41130
|
);
|
|
@@ -41125,12 +41149,12 @@ var AppendParamNode2 = class extends UILogicNode {
|
|
|
41125
41149
|
};
|
|
41126
41150
|
|
|
41127
41151
|
// src/ui-logic/ui-logic-node/sort-param-node/sort-param-node.ts
|
|
41128
|
-
import { RuntimeModelError as
|
|
41152
|
+
import { RuntimeModelError as RuntimeModelError39 } from "@ibiz-template/core";
|
|
41129
41153
|
var SortParamNode2 = class extends UILogicNode {
|
|
41130
41154
|
async exec(ctx) {
|
|
41131
41155
|
const { dstDEUILogicParamId, dstSortDir, dstFieldName } = this.model;
|
|
41132
41156
|
if (!dstDEUILogicParamId || !dstFieldName) {
|
|
41133
|
-
throw new
|
|
41157
|
+
throw new RuntimeModelError39(
|
|
41134
41158
|
this.model,
|
|
41135
41159
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.missingParameterProperty")
|
|
41136
41160
|
);
|
|
@@ -41154,12 +41178,12 @@ var SortParamNode2 = class extends UILogicNode {
|
|
|
41154
41178
|
};
|
|
41155
41179
|
|
|
41156
41180
|
// src/ui-logic/ui-logic-node/renew-param-node/renew-param-node.ts
|
|
41157
|
-
import { RuntimeModelError as
|
|
41181
|
+
import { RuntimeModelError as RuntimeModelError40 } from "@ibiz-template/core";
|
|
41158
41182
|
var RenewParamNode2 = class extends UILogicNode {
|
|
41159
41183
|
async exec(ctx) {
|
|
41160
41184
|
const { dstDEUILogicParamId } = this.model;
|
|
41161
41185
|
if (!dstDEUILogicParamId) {
|
|
41162
|
-
throw new
|
|
41186
|
+
throw new RuntimeModelError40(
|
|
41163
41187
|
this.model,
|
|
41164
41188
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.missingConfiguration")
|
|
41165
41189
|
);
|
|
@@ -41176,7 +41200,7 @@ var RenewParamNode2 = class extends UILogicNode {
|
|
|
41176
41200
|
};
|
|
41177
41201
|
|
|
41178
41202
|
// src/ui-logic/ui-logic-node/data-set-node/data-set-node.ts
|
|
41179
|
-
import { RuntimeModelError as
|
|
41203
|
+
import { RuntimeModelError as RuntimeModelError41 } from "@ibiz-template/core";
|
|
41180
41204
|
var DataSetNode2 = class extends UILogicNode {
|
|
41181
41205
|
async exec(ctx) {
|
|
41182
41206
|
const {
|
|
@@ -41186,7 +41210,7 @@ var DataSetNode2 = class extends UILogicNode {
|
|
|
41186
41210
|
retDEUILogicParamId
|
|
41187
41211
|
} = this.model;
|
|
41188
41212
|
if (!dstDEUILogicParamId) {
|
|
41189
|
-
throw new
|
|
41213
|
+
throw new RuntimeModelError41(
|
|
41190
41214
|
this.model,
|
|
41191
41215
|
ibiz.i18n.t("runtime.uiLogic.missingfilter")
|
|
41192
41216
|
);
|
|
@@ -41231,25 +41255,25 @@ var ThrowExceptionNode2 = class extends UILogicNode {
|
|
|
41231
41255
|
};
|
|
41232
41256
|
|
|
41233
41257
|
// src/ui-logic/ui-logic-node/view-ctrl-fire-event-node/view-ctrl-fire-event-node.ts
|
|
41234
|
-
import { RuntimeError as RuntimeError39, RuntimeModelError as
|
|
41258
|
+
import { RuntimeError as RuntimeError39, RuntimeModelError as RuntimeModelError42 } from "@ibiz-template/core";
|
|
41235
41259
|
var ViewCtrlFireEventNode = class extends UILogicNode {
|
|
41236
41260
|
async exec(ctx) {
|
|
41237
41261
|
ctx.isEndNode = true;
|
|
41238
41262
|
const { eventName, eventParamId, fireCtrlId } = this.model;
|
|
41239
41263
|
if (!fireCtrlId) {
|
|
41240
|
-
throw new
|
|
41264
|
+
throw new RuntimeModelError42(
|
|
41241
41265
|
this.model,
|
|
41242
41266
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredTriggerObject")
|
|
41243
41267
|
);
|
|
41244
41268
|
}
|
|
41245
41269
|
if (!eventName) {
|
|
41246
|
-
throw new
|
|
41270
|
+
throw new RuntimeModelError42(
|
|
41247
41271
|
this.model,
|
|
41248
41272
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredEvent")
|
|
41249
41273
|
);
|
|
41250
41274
|
}
|
|
41251
41275
|
if (!eventParamId) {
|
|
41252
|
-
throw new
|
|
41276
|
+
throw new RuntimeModelError42(
|
|
41253
41277
|
this.model,
|
|
41254
41278
|
ibiz.i18n.t("runtime.uiLogic.noConfiguredEventParameters")
|
|
41255
41279
|
);
|
|
@@ -41284,7 +41308,7 @@ var ViewCtrlFireEventNode = class extends UILogicNode {
|
|
|
41284
41308
|
};
|
|
41285
41309
|
|
|
41286
41310
|
// src/ui-logic/ui-logic-node/execute-de-logic-node/execute-de-logic-node.ts
|
|
41287
|
-
import { RuntimeError as RuntimeError40, RuntimeModelError as
|
|
41311
|
+
import { RuntimeError as RuntimeError40, RuntimeModelError as RuntimeModelError43 } from "@ibiz-template/core";
|
|
41288
41312
|
var ExecuteDELogicNode = class extends UILogicNode {
|
|
41289
41313
|
async exec(ctx) {
|
|
41290
41314
|
const {
|
|
@@ -41294,19 +41318,19 @@ var ExecuteDELogicNode = class extends UILogicNode {
|
|
|
41294
41318
|
retDEUILogicParamId
|
|
41295
41319
|
} = this.model;
|
|
41296
41320
|
if (!dstAppDataEntityId) {
|
|
41297
|
-
throw new
|
|
41321
|
+
throw new RuntimeModelError43(
|
|
41298
41322
|
this.model,
|
|
41299
41323
|
ibiz.i18n.t("runtime.uiLogic.noEntityConfigured")
|
|
41300
41324
|
);
|
|
41301
41325
|
}
|
|
41302
41326
|
if (!dstAppDELogicId) {
|
|
41303
|
-
throw new
|
|
41327
|
+
throw new RuntimeModelError43(
|
|
41304
41328
|
this.model,
|
|
41305
41329
|
ibiz.i18n.t("runtime.uiLogic.noEntityLogicConfigured")
|
|
41306
41330
|
);
|
|
41307
41331
|
}
|
|
41308
41332
|
if (!dstDEUILogicParamId) {
|
|
41309
|
-
throw new
|
|
41333
|
+
throw new RuntimeModelError43(
|
|
41310
41334
|
this.model,
|
|
41311
41335
|
ibiz.i18n.t("runtime.uiLogic.noIncomingLogic")
|
|
41312
41336
|
);
|
|
@@ -41535,7 +41559,7 @@ var UILogic = class {
|
|
|
41535
41559
|
this.params = /* @__PURE__ */ new Map();
|
|
41536
41560
|
var _a3;
|
|
41537
41561
|
if (!((_a3 = model.deuilogicNodes) == null ? void 0 : _a3.length)) {
|
|
41538
|
-
throw new
|
|
41562
|
+
throw new RuntimeModelError44(
|
|
41539
41563
|
model,
|
|
41540
41564
|
ibiz.i18n.t("runtime.uiLogic.noLogicalNodesConfigured")
|
|
41541
41565
|
);
|
|
@@ -41575,7 +41599,7 @@ var UILogic = class {
|
|
|
41575
41599
|
logicNode = new MsgBoxNode(node);
|
|
41576
41600
|
break;
|
|
41577
41601
|
case "DEBUGPARAM":
|
|
41578
|
-
logicNode = new
|
|
41602
|
+
logicNode = new DebugParamNode2(node);
|
|
41579
41603
|
break;
|
|
41580
41604
|
case "APPENDPARAM":
|
|
41581
41605
|
logicNode = new AppendParamNode2(node);
|
|
@@ -41665,7 +41689,7 @@ var UILogic = class {
|
|
|
41665
41689
|
const start = this.nodes.get(startDEUILogicNodeId);
|
|
41666
41690
|
await this.deepExec(start, ctx);
|
|
41667
41691
|
} else {
|
|
41668
|
-
throw new
|
|
41692
|
+
throw new RuntimeModelError44(
|
|
41669
41693
|
this.model,
|
|
41670
41694
|
ibiz.i18n.t("runtime.deLogic.deLogicNode.noSetStartNode")
|
|
41671
41695
|
);
|
|
@@ -41856,7 +41880,7 @@ var UIActionProviderBase = class {
|
|
|
41856
41880
|
const { appDEUILogicId, appDataEntityId, uilogicAttachMode } = action;
|
|
41857
41881
|
if (uilogicAttachMode === "REPLACE") {
|
|
41858
41882
|
if (!appDEUILogicId) {
|
|
41859
|
-
throw new
|
|
41883
|
+
throw new RuntimeModelError45(
|
|
41860
41884
|
action,
|
|
41861
41885
|
ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
|
|
41862
41886
|
);
|
|
@@ -41884,7 +41908,7 @@ var UIActionProviderBase = class {
|
|
|
41884
41908
|
}
|
|
41885
41909
|
if (action.uilogicAttachMode === "AFTER") {
|
|
41886
41910
|
if (!appDEUILogicId) {
|
|
41887
|
-
throw new
|
|
41911
|
+
throw new RuntimeModelError45(
|
|
41888
41912
|
action,
|
|
41889
41913
|
ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
|
|
41890
41914
|
);
|
|
@@ -42168,7 +42192,7 @@ var BackendUIActionProvider = class extends UIActionProviderBase {
|
|
|
42168
42192
|
const entityName = action.appDataEntityId;
|
|
42169
42193
|
const methodName = action.appDEMethodId;
|
|
42170
42194
|
if (!entityName || !methodName) {
|
|
42171
|
-
throw new
|
|
42195
|
+
throw new RuntimeModelError46(
|
|
42172
42196
|
action,
|
|
42173
42197
|
ibiz.i18n.t("runtime.uiAction.noEntityOrBehavior")
|
|
42174
42198
|
);
|
|
@@ -42303,7 +42327,7 @@ var SysUIActionProvider = class extends UIActionProviderBase {
|
|
|
42303
42327
|
// src/ui-action/provider/front-ui-action-provider.ts
|
|
42304
42328
|
import {
|
|
42305
42329
|
StringUtil as StringUtil4,
|
|
42306
|
-
RuntimeModelError as
|
|
42330
|
+
RuntimeModelError as RuntimeModelError47,
|
|
42307
42331
|
ModelError as ModelError24,
|
|
42308
42332
|
RuntimeError as RuntimeError43
|
|
42309
42333
|
} from "@ibiz-template/core";
|
|
@@ -42327,7 +42351,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
|
|
|
42327
42351
|
case "WIZARD": {
|
|
42328
42352
|
const frontPSAppView = action.frontAppViewId;
|
|
42329
42353
|
if (!frontPSAppView) {
|
|
42330
|
-
throw new
|
|
42354
|
+
throw new RuntimeModelError47(
|
|
42331
42355
|
action,
|
|
42332
42356
|
ibiz.i18n.t("runtime.uiAction.noConfiguredopenView")
|
|
42333
42357
|
);
|
|
@@ -42417,7 +42441,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
|
|
|
42417
42441
|
);
|
|
42418
42442
|
return result || {};
|
|
42419
42443
|
}
|
|
42420
|
-
throw new
|
|
42444
|
+
throw new RuntimeModelError47(
|
|
42421
42445
|
action,
|
|
42422
42446
|
ibiz.i18n.t("runtime.uiAction.missingConfigurationScriptCode")
|
|
42423
42447
|
);
|
|
@@ -42496,7 +42520,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
|
|
|
42496
42520
|
const { resultContext, resultParams, presetParams } = await this.handleParams(action, args.context, args.data, args.params);
|
|
42497
42521
|
const { appDataEntityId, appDEDataImportId, frontAppViewId } = action;
|
|
42498
42522
|
if (!appDataEntityId || !appDEDataImportId) {
|
|
42499
|
-
throw new
|
|
42523
|
+
throw new RuntimeModelError47(
|
|
42500
42524
|
action,
|
|
42501
42525
|
ibiz.i18n.t("runtime.controller.common.control.noImportModel")
|
|
42502
42526
|
);
|
|
@@ -42641,6 +42665,9 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
|
|
|
42641
42665
|
overlay.dismiss();
|
|
42642
42666
|
}
|
|
42643
42667
|
hasSave = true;
|
|
42668
|
+
},
|
|
42669
|
+
onFinish: (_eventArgs) => {
|
|
42670
|
+
overlay == null ? void 0 : overlay.dismiss();
|
|
42644
42671
|
}
|
|
42645
42672
|
},
|
|
42646
42673
|
popoverOpts
|
|
@@ -42797,7 +42824,7 @@ var LoginOutUIActionProvider = class extends UIActionProviderBase {
|
|
|
42797
42824
|
};
|
|
42798
42825
|
|
|
42799
42826
|
// src/ui-action/provider/custom-ui-action-provider.ts
|
|
42800
|
-
import { RuntimeModelError as
|
|
42827
|
+
import { RuntimeModelError as RuntimeModelError48 } from "@ibiz-template/core";
|
|
42801
42828
|
var CustomUIActionProvider = class extends UIActionProviderBase {
|
|
42802
42829
|
async execAction(action, args) {
|
|
42803
42830
|
const { scriptCode } = action;
|
|
@@ -42809,7 +42836,7 @@ var CustomUIActionProvider = class extends UIActionProviderBase {
|
|
|
42809
42836
|
);
|
|
42810
42837
|
return result || {};
|
|
42811
42838
|
}
|
|
42812
|
-
throw new
|
|
42839
|
+
throw new RuntimeModelError48(
|
|
42813
42840
|
action,
|
|
42814
42841
|
ibiz.i18n.t("runtime.uiAction.missingConfigurationScriptCode")
|
|
42815
42842
|
);
|
|
@@ -43422,7 +43449,7 @@ var CalendarController = class extends MDControlController {
|
|
|
43422
43449
|
}
|
|
43423
43450
|
));
|
|
43424
43451
|
if (result === -1)
|
|
43425
|
-
throw new
|
|
43452
|
+
throw new RuntimeModelError49(
|
|
43426
43453
|
calendarItem,
|
|
43427
43454
|
ibiz.i18n.t("runtime.controller.common.md.logicOpendata", {
|
|
43428
43455
|
itemType: calendarItem.itemType.toLowerCase()
|
|
@@ -43458,7 +43485,7 @@ var CalendarController = class extends MDControlController {
|
|
|
43458
43485
|
}
|
|
43459
43486
|
));
|
|
43460
43487
|
if (result === -1)
|
|
43461
|
-
throw new
|
|
43488
|
+
throw new RuntimeModelError49(
|
|
43462
43489
|
calendarItem,
|
|
43463
43490
|
ibiz.i18n.t("runtime.controller.common.md.logicNewdata", {
|
|
43464
43491
|
itemType: calendarItem.itemType.toLowerCase()
|
|
@@ -43849,10 +43876,10 @@ import { isObject as isObject2, isString as isString2 } from "qx-util";
|
|
|
43849
43876
|
import { RuntimeError as RuntimeError46 } from "@ibiz-template/core";
|
|
43850
43877
|
|
|
43851
43878
|
// src/controller/control/chart/generator/line-series-generator.ts
|
|
43852
|
-
import { RuntimeModelError as
|
|
43879
|
+
import { RuntimeModelError as RuntimeModelError51 } from "@ibiz-template/core";
|
|
43853
43880
|
|
|
43854
43881
|
// src/controller/control/chart/generator/base-series-generator.ts
|
|
43855
|
-
import { plus, RuntimeModelError as
|
|
43882
|
+
import { plus, RuntimeModelError as RuntimeModelError50, toNumberOrNil } from "@ibiz-template/core";
|
|
43856
43883
|
import dayjs4 from "dayjs";
|
|
43857
43884
|
import minMax from "dayjs/plugin/minMax";
|
|
43858
43885
|
import isSameOrBefore from "dayjs/plugin/isSameOrBefore";
|
|
@@ -43934,13 +43961,13 @@ var BaseSeriesGenerator = class {
|
|
|
43934
43961
|
var _a3;
|
|
43935
43962
|
const { chartSeriesEncode, caption, id, userParam } = model;
|
|
43936
43963
|
if (!model.catalogField) {
|
|
43937
|
-
throw new
|
|
43964
|
+
throw new RuntimeModelError50(
|
|
43938
43965
|
model,
|
|
43939
43966
|
ibiz.i18n.t("runtime.controller.control.chart.missingClassification")
|
|
43940
43967
|
);
|
|
43941
43968
|
}
|
|
43942
43969
|
if (!model.valueField) {
|
|
43943
|
-
throw new
|
|
43970
|
+
throw new RuntimeModelError50(
|
|
43944
43971
|
model,
|
|
43945
43972
|
ibiz.i18n.t("runtime.controller.control.chart.missingValue")
|
|
43946
43973
|
);
|
|
@@ -44687,13 +44714,13 @@ var BaseSeriesGenerator = class {
|
|
|
44687
44714
|
var LineSeriesGenerator = class extends BaseSeriesGenerator {
|
|
44688
44715
|
calcStaticOptions() {
|
|
44689
44716
|
if (this.xAxisIndex === void 0) {
|
|
44690
|
-
throw new
|
|
44717
|
+
throw new RuntimeModelError51(
|
|
44691
44718
|
this.model,
|
|
44692
44719
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
|
|
44693
44720
|
);
|
|
44694
44721
|
}
|
|
44695
44722
|
if (this.yAxisIndex === void 0) {
|
|
44696
|
-
throw new
|
|
44723
|
+
throw new RuntimeModelError51(
|
|
44697
44724
|
this.model,
|
|
44698
44725
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
|
|
44699
44726
|
);
|
|
@@ -44712,17 +44739,17 @@ var LineSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44712
44739
|
};
|
|
44713
44740
|
|
|
44714
44741
|
// src/controller/control/chart/generator/bar-series-generator.ts
|
|
44715
|
-
import { RuntimeModelError as
|
|
44742
|
+
import { RuntimeModelError as RuntimeModelError52 } from "@ibiz-template/core";
|
|
44716
44743
|
var BarSeriesGenerator = class extends BaseSeriesGenerator {
|
|
44717
44744
|
calcStaticOptions() {
|
|
44718
44745
|
if (this.xAxisIndex === void 0) {
|
|
44719
|
-
throw new
|
|
44746
|
+
throw new RuntimeModelError52(
|
|
44720
44747
|
this.model,
|
|
44721
44748
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
|
|
44722
44749
|
);
|
|
44723
44750
|
}
|
|
44724
44751
|
if (this.yAxisIndex === void 0) {
|
|
44725
|
-
throw new
|
|
44752
|
+
throw new RuntimeModelError52(
|
|
44726
44753
|
this.model,
|
|
44727
44754
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
|
|
44728
44755
|
);
|
|
@@ -44778,17 +44805,17 @@ var PieSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44778
44805
|
};
|
|
44779
44806
|
|
|
44780
44807
|
// src/controller/control/chart/generator/scatter-series-generator.ts
|
|
44781
|
-
import { RuntimeModelError as
|
|
44808
|
+
import { RuntimeModelError as RuntimeModelError53 } from "@ibiz-template/core";
|
|
44782
44809
|
var ScatterSeriesGenerator = class extends BaseSeriesGenerator {
|
|
44783
44810
|
calcStaticOptions() {
|
|
44784
44811
|
if (this.xAxisIndex === void 0) {
|
|
44785
|
-
throw new
|
|
44812
|
+
throw new RuntimeModelError53(
|
|
44786
44813
|
this.model,
|
|
44787
44814
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
|
|
44788
44815
|
);
|
|
44789
44816
|
}
|
|
44790
44817
|
if (this.yAxisIndex === void 0) {
|
|
44791
|
-
throw new
|
|
44818
|
+
throw new RuntimeModelError53(
|
|
44792
44819
|
this.model,
|
|
44793
44820
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
|
|
44794
44821
|
);
|
|
@@ -44918,7 +44945,7 @@ var RadarSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44918
44945
|
};
|
|
44919
44946
|
|
|
44920
44947
|
// src/controller/control/chart/generator/area-series-generator.ts
|
|
44921
|
-
import { RuntimeModelError as
|
|
44948
|
+
import { RuntimeModelError as RuntimeModelError54 } from "@ibiz-template/core";
|
|
44922
44949
|
var AreaSeriesGenerator = class extends BaseSeriesGenerator {
|
|
44923
44950
|
/**
|
|
44924
44951
|
* 计算静态序列的options
|
|
@@ -44927,13 +44954,13 @@ var AreaSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44927
44954
|
*/
|
|
44928
44955
|
calcStaticOptions() {
|
|
44929
44956
|
if (this.xAxisIndex === void 0) {
|
|
44930
|
-
throw new
|
|
44957
|
+
throw new RuntimeModelError54(
|
|
44931
44958
|
this.model,
|
|
44932
44959
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredX")
|
|
44933
44960
|
);
|
|
44934
44961
|
}
|
|
44935
44962
|
if (this.yAxisIndex === void 0) {
|
|
44936
|
-
throw new
|
|
44963
|
+
throw new RuntimeModelError54(
|
|
44937
44964
|
this.model,
|
|
44938
44965
|
ibiz.i18n.t("runtime.controller.control.chart.noConfiguredY")
|
|
44939
44966
|
);
|
|
@@ -44983,7 +45010,7 @@ var GaugeSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44983
45010
|
// src/controller/control/chart/generator/candlestick-series-generator.ts
|
|
44984
45011
|
import { isNil as isNil28 } from "ramda";
|
|
44985
45012
|
import { isArray as isArray10, isNumber as isNumber4 } from "qx-util";
|
|
44986
|
-
import { plus as plus2, RuntimeModelError as
|
|
45013
|
+
import { plus as plus2, RuntimeModelError as RuntimeModelError55, toNumberOrNil as toNumberOrNil2 } from "@ibiz-template/core";
|
|
44987
45014
|
var CandlestickSeriesGenerator = class extends BaseSeriesGenerator {
|
|
44988
45015
|
/**
|
|
44989
45016
|
* 初始化参数
|
|
@@ -44996,7 +45023,7 @@ var CandlestickSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
44996
45023
|
var _a3;
|
|
44997
45024
|
const { chartSeriesEncode, caption, id, userParam, navViewParamJO } = model;
|
|
44998
45025
|
if (!model.catalogField) {
|
|
44999
|
-
throw new
|
|
45026
|
+
throw new RuntimeModelError55(
|
|
45000
45027
|
model,
|
|
45001
45028
|
ibiz.i18n.t("runtime.controller.control.chart.missingClassification")
|
|
45002
45029
|
);
|
|
@@ -46812,6 +46839,24 @@ function filterPortletByConfig(config, items) {
|
|
|
46812
46839
|
}
|
|
46813
46840
|
return effectivePortlets;
|
|
46814
46841
|
}
|
|
46842
|
+
function deepFillSubAppId(model, appId2) {
|
|
46843
|
+
model.appId = appId2;
|
|
46844
|
+
const keys = Object.keys(model);
|
|
46845
|
+
keys.forEach((key) => {
|
|
46846
|
+
const value = model[key];
|
|
46847
|
+
if (value && typeof value === "object") {
|
|
46848
|
+
if (Array.isArray(value)) {
|
|
46849
|
+
value.forEach((item) => {
|
|
46850
|
+
if (item && typeof item === "object") {
|
|
46851
|
+
deepFillSubAppId(item, appId2);
|
|
46852
|
+
}
|
|
46853
|
+
});
|
|
46854
|
+
} else {
|
|
46855
|
+
deepFillSubAppId(value, appId2);
|
|
46856
|
+
}
|
|
46857
|
+
}
|
|
46858
|
+
});
|
|
46859
|
+
}
|
|
46815
46860
|
|
|
46816
46861
|
// src/controller/control/dashboard/dashboard.controller.ts
|
|
46817
46862
|
var DashboardController = class extends ControlController {
|
|
@@ -46977,7 +47022,7 @@ var DashboardController = class extends ControlController {
|
|
|
46977
47022
|
*/
|
|
46978
47023
|
async loadAllDynaPortlet() {
|
|
46979
47024
|
var _a3;
|
|
46980
|
-
const app = ibiz.hub.getApp(
|
|
47025
|
+
const app = ibiz.hub.getApp(this.model.appId);
|
|
46981
47026
|
const result = [];
|
|
46982
47027
|
if (this.controlParams.dynamiccodelist) {
|
|
46983
47028
|
const dynamicCodeListTag = this.controlParams.dynamiccodelist;
|
|
@@ -47031,7 +47076,7 @@ var DashboardController = class extends ControlController {
|
|
|
47031
47076
|
* @return {*} {(Promise<IDBPortletPart | undefined>)}
|
|
47032
47077
|
*/
|
|
47033
47078
|
async loadDynaPortletById(id) {
|
|
47034
|
-
const app = ibiz.hub.getApp(
|
|
47079
|
+
const app = ibiz.hub.getApp(this.model.appId);
|
|
47035
47080
|
const tempContext = clone31(this.context);
|
|
47036
47081
|
Object.assign(tempContext, { psappportlet: id });
|
|
47037
47082
|
const res = await app.deService.exec(
|
|
@@ -47126,7 +47171,7 @@ var DashboardController = class extends ControlController {
|
|
|
47126
47171
|
var _a3;
|
|
47127
47172
|
if (!this.customDashboard)
|
|
47128
47173
|
return;
|
|
47129
|
-
const app = ibiz.hub.getApp(
|
|
47174
|
+
const app = ibiz.hub.getApp(this.model.appId);
|
|
47130
47175
|
if (isNewFilter) {
|
|
47131
47176
|
const portletCat = (_a3 = app.model.appPortletCats) == null ? void 0 : _a3.find(
|
|
47132
47177
|
(cat) => {
|
|
@@ -47208,7 +47253,7 @@ var DashboardController = class extends ControlController {
|
|
|
47208
47253
|
var _a3, _b2;
|
|
47209
47254
|
const filterParam = this.customDashboard.portletFilter[key];
|
|
47210
47255
|
const { config, searchconds } = filterParam;
|
|
47211
|
-
const app = ibiz.hub.getApp(
|
|
47256
|
+
const app = ibiz.hub.getApp(this.model.appId);
|
|
47212
47257
|
const targetFilter = (_a3 = app.model.appPortlets) == null ? void 0 : _a3.find(
|
|
47213
47258
|
(portletModel) => {
|
|
47214
47259
|
return portletModel.id === key;
|
|
@@ -47473,6 +47518,7 @@ var CustomDashboardController = class {
|
|
|
47473
47518
|
* @Date: 2023-09-20 16:22:49
|
|
47474
47519
|
*/
|
|
47475
47520
|
async loadCustomModelData() {
|
|
47521
|
+
var _a3;
|
|
47476
47522
|
if (this.multiMode && !this.context.srfdynadashboardid) {
|
|
47477
47523
|
return { model: this.customModelData, config: this.portletConfig };
|
|
47478
47524
|
}
|
|
@@ -47489,6 +47535,7 @@ var CustomDashboardController = class {
|
|
|
47489
47535
|
if (res.model) {
|
|
47490
47536
|
for (let i = 0; i < res.model.length; i++) {
|
|
47491
47537
|
const item = res.model[i];
|
|
47538
|
+
const mainApp = ibiz.hub.getApp(ibiz.env.appId);
|
|
47492
47539
|
if (item.orignModel) {
|
|
47493
47540
|
item.portletModel = await ibiz.hub.translationModelToDsl(
|
|
47494
47541
|
item.portletModel,
|
|
@@ -47496,6 +47543,13 @@ var CustomDashboardController = class {
|
|
|
47496
47543
|
);
|
|
47497
47544
|
delete item.orignModel;
|
|
47498
47545
|
}
|
|
47546
|
+
const targetApp = (_a3 = mainApp.model.subAppRefs) == null ? void 0 : _a3.find((app) => {
|
|
47547
|
+
var _a4;
|
|
47548
|
+
return (_a4 = app.id) == null ? void 0 : _a4.endsWith(item.appCodeName);
|
|
47549
|
+
});
|
|
47550
|
+
if (targetApp && targetApp.id) {
|
|
47551
|
+
deepFillSubAppId(item.portletModel, targetApp.id);
|
|
47552
|
+
}
|
|
47499
47553
|
}
|
|
47500
47554
|
this.customModelData = res.model;
|
|
47501
47555
|
}
|
|
@@ -48167,7 +48221,7 @@ import { clone as clone34 } from "ramda";
|
|
|
48167
48221
|
import { isString as isString3 } from "lodash-es";
|
|
48168
48222
|
|
|
48169
48223
|
// src/controller/control/search-bar/search-bar-filter.controller.ts
|
|
48170
|
-
import { RuntimeModelError as
|
|
48224
|
+
import { RuntimeModelError as RuntimeModelError56 } from "@ibiz-template/core";
|
|
48171
48225
|
|
|
48172
48226
|
// src/controller/control/search-bar/util.ts
|
|
48173
48227
|
var ItemsValueOPs = [
|
|
@@ -48248,7 +48302,7 @@ var SearchBarFilterController = class {
|
|
|
48248
48302
|
async init() {
|
|
48249
48303
|
if (!this.noEditor) {
|
|
48250
48304
|
if (!this.model.editor) {
|
|
48251
|
-
throw new
|
|
48305
|
+
throw new RuntimeModelError56(
|
|
48252
48306
|
this.model,
|
|
48253
48307
|
ibiz.i18n.t("runtime.controller.control.searchBar.missingModel")
|
|
48254
48308
|
);
|
|
@@ -50163,7 +50217,7 @@ import {
|
|
|
50163
50217
|
clone as clone36,
|
|
50164
50218
|
DataTypes as DataTypes4,
|
|
50165
50219
|
isElementSame as isElementSame2,
|
|
50166
|
-
RuntimeModelError as
|
|
50220
|
+
RuntimeModelError as RuntimeModelError57
|
|
50167
50221
|
} from "@ibiz-template/core";
|
|
50168
50222
|
import { isNil as isNil30 } from "ramda";
|
|
50169
50223
|
import { createUUID as createUUID13, isBoolean } from "qx-util";
|
|
@@ -50556,7 +50610,7 @@ var DataViewControlController = class extends MDControlController {
|
|
|
50556
50610
|
const { enableGroup } = this.state;
|
|
50557
50611
|
if (enableGroup && groupMode) {
|
|
50558
50612
|
if (!groupAppDEFieldId) {
|
|
50559
|
-
throw new
|
|
50613
|
+
throw new RuntimeModelError57(
|
|
50560
50614
|
this.model,
|
|
50561
50615
|
ibiz.i18n.t(
|
|
50562
50616
|
"runtime.controller.control.dataView.propertiesNoConfigured"
|
|
@@ -50649,7 +50703,7 @@ var DataViewControlController = class extends MDControlController {
|
|
|
50649
50703
|
async handleCodeListGroup() {
|
|
50650
50704
|
const { groupAppDEFieldId, groupCodeListId } = this.model;
|
|
50651
50705
|
if (!groupCodeListId) {
|
|
50652
|
-
throw new
|
|
50706
|
+
throw new RuntimeModelError57(
|
|
50653
50707
|
this.model,
|
|
50654
50708
|
ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
|
|
50655
50709
|
);
|
|
@@ -50762,7 +50816,7 @@ var DataViewControlController = class extends MDControlController {
|
|
|
50762
50816
|
caption = ibiz.i18n.t(item.capLanguageRes.lanResTag, item.caption);
|
|
50763
50817
|
}
|
|
50764
50818
|
if (!item.appDEFieldId) {
|
|
50765
|
-
throw new
|
|
50819
|
+
throw new RuntimeModelError57(
|
|
50766
50820
|
item,
|
|
50767
50821
|
ibiz.i18n.t("runtime.controller.control.dataView.sortingItems")
|
|
50768
50822
|
);
|
|
@@ -50983,13 +51037,13 @@ var DataViewControlController = class extends MDControlController {
|
|
|
50983
51037
|
await this.updateChangedItems([draggedItem]);
|
|
50984
51038
|
} else {
|
|
50985
51039
|
if (!minorSortAppDEFieldId)
|
|
50986
|
-
throw new
|
|
51040
|
+
throw new RuntimeModelError57(
|
|
50987
51041
|
this.model,
|
|
50988
51042
|
ibiz.i18n.t("runtime.controller.common.md.sortingProperties")
|
|
50989
51043
|
);
|
|
50990
51044
|
const moveAction = moveControlAction == null ? void 0 : moveControlAction.appDEMethodId;
|
|
50991
51045
|
if (!moveAction)
|
|
50992
|
-
throw new
|
|
51046
|
+
throw new RuntimeModelError57(
|
|
50993
51047
|
this.model,
|
|
50994
51048
|
ibiz.i18n.t("runtime.controller.common.md.noMoveDataCconfig")
|
|
50995
51049
|
);
|
|
@@ -51031,14 +51085,14 @@ var DataViewControlController = class extends MDControlController {
|
|
|
51031
51085
|
};
|
|
51032
51086
|
|
|
51033
51087
|
// src/controller/control/exp-bar/calendar-exp-bar.controller.ts
|
|
51034
|
-
import { RuntimeModelError as
|
|
51088
|
+
import { RuntimeModelError as RuntimeModelError59 } from "@ibiz-template/core";
|
|
51035
51089
|
|
|
51036
51090
|
// src/controller/control/exp-bar/exp-bar.controller.ts
|
|
51037
51091
|
import {
|
|
51038
51092
|
IBizParams as IBizParams3,
|
|
51039
51093
|
IBizContext as IBizContext8,
|
|
51040
51094
|
RuntimeError as RuntimeError49,
|
|
51041
|
-
RuntimeModelError as
|
|
51095
|
+
RuntimeModelError as RuntimeModelError58
|
|
51042
51096
|
} from "@ibiz-template/core";
|
|
51043
51097
|
var ExpBarControlController = class extends ControlController {
|
|
51044
51098
|
constructor(model, context, params, ctx) {
|
|
@@ -51133,7 +51187,7 @@ var ExpBarControlController = class extends ControlController {
|
|
|
51133
51187
|
get xDataController() {
|
|
51134
51188
|
const controller = this.view.getController(this.model.xdataControlName);
|
|
51135
51189
|
if (!controller) {
|
|
51136
|
-
throw new
|
|
51190
|
+
throw new RuntimeModelError58(
|
|
51137
51191
|
this.model,
|
|
51138
51192
|
ibiz.i18n.t("runtime.controller.control.expBar.unableMore", {
|
|
51139
51193
|
xdataControlName: this.model.xdataControlName
|
|
@@ -51525,7 +51579,7 @@ var CalendarExpBarController = class extends ExpBarControlController {
|
|
|
51525
51579
|
get xDataController() {
|
|
51526
51580
|
const controller = this.view.getController(this.model.xdataControlName);
|
|
51527
51581
|
if (!controller)
|
|
51528
|
-
throw new
|
|
51582
|
+
throw new RuntimeModelError59(
|
|
51529
51583
|
this.model,
|
|
51530
51584
|
ibiz.i18n.t("runtime.controller.control.expBar.unableMore", {
|
|
51531
51585
|
xdataControlName: this.model.xdataControlName
|
|
@@ -51610,7 +51664,7 @@ var CalendarExpBarController = class extends ExpBarControlController {
|
|
|
51610
51664
|
};
|
|
51611
51665
|
|
|
51612
51666
|
// src/controller/control/exp-bar/tree-exp-bar.controller.ts
|
|
51613
|
-
import { RuntimeError as RuntimeError50, RuntimeModelError as
|
|
51667
|
+
import { RuntimeError as RuntimeError50, RuntimeModelError as RuntimeModelError60 } from "@ibiz-template/core";
|
|
51614
51668
|
var TreeExpBarController = class extends ExpBarControlController {
|
|
51615
51669
|
constructor() {
|
|
51616
51670
|
super(...arguments);
|
|
@@ -51633,7 +51687,7 @@ var TreeExpBarController = class extends ExpBarControlController {
|
|
|
51633
51687
|
get xDataController() {
|
|
51634
51688
|
const controller = this.view.getController(this.model.xdataControlName);
|
|
51635
51689
|
if (!controller) {
|
|
51636
|
-
throw new
|
|
51690
|
+
throw new RuntimeModelError60(
|
|
51637
51691
|
this.model,
|
|
51638
51692
|
ibiz.i18n.t("runtime.controller.control.expBar.unableMore", {
|
|
51639
51693
|
xdataControlName: this.model.xdataControlName
|
|
@@ -51955,7 +52009,7 @@ import { RuntimeError as RuntimeError52 } from "@ibiz-template/core";
|
|
|
51955
52009
|
|
|
51956
52010
|
// src/controller/control/form/form/form.controller.ts
|
|
51957
52011
|
import {
|
|
51958
|
-
RuntimeModelError as
|
|
52012
|
+
RuntimeModelError as RuntimeModelError61,
|
|
51959
52013
|
debounceAndAsyncMerge,
|
|
51960
52014
|
recursiveIterate as recursiveIterate6,
|
|
51961
52015
|
EntityError,
|
|
@@ -52201,7 +52255,7 @@ var FormController = class extends ControlController {
|
|
|
52201
52255
|
return;
|
|
52202
52256
|
}
|
|
52203
52257
|
if (form.details[detail.id]) {
|
|
52204
|
-
throw new
|
|
52258
|
+
throw new RuntimeModelError61(
|
|
52205
52259
|
detail,
|
|
52206
52260
|
ibiz.i18n.t(
|
|
52207
52261
|
"runtime.controller.control.form.initializationException",
|
|
@@ -54885,7 +54939,7 @@ var FormMDCtrlController = class extends FormDetailController {
|
|
|
54885
54939
|
import {
|
|
54886
54940
|
ModelError as ModelError25,
|
|
54887
54941
|
mergeInLeft as mergeInLeft2,
|
|
54888
|
-
RuntimeModelError as
|
|
54942
|
+
RuntimeModelError as RuntimeModelError62
|
|
54889
54943
|
} from "@ibiz-template/core";
|
|
54890
54944
|
var FormMDCtrlMDController = class extends FormMDCtrlController {
|
|
54891
54945
|
constructor() {
|
|
@@ -54924,7 +54978,7 @@ var FormMDCtrlMDController = class extends FormMDCtrlController {
|
|
|
54924
54978
|
if (((_a3 = this.context) == null ? void 0 : _a3.srfrunmode) === "DESIGN") {
|
|
54925
54979
|
return;
|
|
54926
54980
|
}
|
|
54927
|
-
throw new
|
|
54981
|
+
throw new RuntimeModelError62(
|
|
54928
54982
|
this.model,
|
|
54929
54983
|
ibiz.i18n.t("runtime.controller.control.form.unconfiguredWidgets")
|
|
54930
54984
|
);
|
|
@@ -55055,7 +55109,7 @@ var FormMDCtrlMDController = class extends FormMDCtrlController {
|
|
|
55055
55109
|
};
|
|
55056
55110
|
|
|
55057
55111
|
// src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-form.controller.ts
|
|
55058
|
-
import { RuntimeError as RuntimeError53, RuntimeModelError as
|
|
55112
|
+
import { RuntimeError as RuntimeError53, RuntimeModelError as RuntimeModelError63 } from "@ibiz-template/core";
|
|
55059
55113
|
import { createUUID as createUUID15 } from "qx-util";
|
|
55060
55114
|
|
|
55061
55115
|
// src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-form.state.ts
|
|
@@ -55100,7 +55154,7 @@ var FormMDCtrlFormController = class extends FormMDCtrlController {
|
|
|
55100
55154
|
if (((_a3 = this.context) == null ? void 0 : _a3.srfrunmode) === "DESIGN") {
|
|
55101
55155
|
return;
|
|
55102
55156
|
}
|
|
55103
|
-
throw new
|
|
55157
|
+
throw new RuntimeModelError63(
|
|
55104
55158
|
this.model,
|
|
55105
55159
|
ibiz.i18n.t("runtime.controller.control.form.unconfiguredWidgets")
|
|
55106
55160
|
);
|
|
@@ -56051,7 +56105,7 @@ import { clone as clone41, isNil as isNil33 } from "ramda";
|
|
|
56051
56105
|
// src/controller/control/form/edit-form/edit-form.service.ts
|
|
56052
56106
|
import {
|
|
56053
56107
|
recursiveIterate as recursiveIterate10,
|
|
56054
|
-
RuntimeModelError as
|
|
56108
|
+
RuntimeModelError as RuntimeModelError64
|
|
56055
56109
|
} from "@ibiz-template/core";
|
|
56056
56110
|
var EditFormService = class extends FormService {
|
|
56057
56111
|
/**
|
|
@@ -56175,7 +56229,7 @@ var EditFormService = class extends FormService {
|
|
|
56175
56229
|
const wizardForm = this.model;
|
|
56176
56230
|
const methodName = (_a3 = wizardForm.goBackControlAction) == null ? void 0 : _a3.appDEMethodId;
|
|
56177
56231
|
if (!methodName) {
|
|
56178
|
-
throw new
|
|
56232
|
+
throw new RuntimeModelError64(
|
|
56179
56233
|
this.model,
|
|
56180
56234
|
ibiz.i18n.t("runtime.controller.control.form.lackBehavior")
|
|
56181
56235
|
);
|
|
@@ -57421,7 +57475,7 @@ import {
|
|
|
57421
57475
|
awaitTimeout as awaitTimeout2,
|
|
57422
57476
|
RuntimeError as RuntimeError55,
|
|
57423
57477
|
recursiveIterate as recursiveIterate11,
|
|
57424
|
-
RuntimeModelError as
|
|
57478
|
+
RuntimeModelError as RuntimeModelError66,
|
|
57425
57479
|
mergeDefaultInLeft as mergeDefaultInLeft2,
|
|
57426
57480
|
debounceAndAsyncMerge as debounceAndAsyncMerge2
|
|
57427
57481
|
} from "@ibiz-template/core";
|
|
@@ -57429,7 +57483,7 @@ import { clone as clone43 } from "ramda";
|
|
|
57429
57483
|
import dayjs5 from "dayjs";
|
|
57430
57484
|
|
|
57431
57485
|
// src/controller/control/grid/grid/grid.service.ts
|
|
57432
|
-
import { RuntimeModelError as
|
|
57486
|
+
import { RuntimeModelError as RuntimeModelError65 } from "@ibiz-template/core";
|
|
57433
57487
|
var GridService = class extends MDControlService {
|
|
57434
57488
|
/**
|
|
57435
57489
|
* 初始化属性映射
|
|
@@ -57457,7 +57511,7 @@ var GridService = class extends MDControlService {
|
|
|
57457
57511
|
dataType: dataItem.dataType
|
|
57458
57512
|
});
|
|
57459
57513
|
} else {
|
|
57460
|
-
throw new
|
|
57514
|
+
throw new RuntimeModelError65(
|
|
57461
57515
|
column,
|
|
57462
57516
|
ibiz.i18n.t("runtime.controller.control.grid.corresponding", {
|
|
57463
57517
|
deField
|
|
@@ -58353,7 +58407,7 @@ var GridController = class extends MDControlController {
|
|
|
58353
58407
|
(item) => item.model.appDEFieldId === groupAppDEFieldId
|
|
58354
58408
|
);
|
|
58355
58409
|
if (!this.groupFieldColumn) {
|
|
58356
|
-
throw new
|
|
58410
|
+
throw new RuntimeModelError66(
|
|
58357
58411
|
this.model,
|
|
58358
58412
|
ibiz.i18n.t("runtime.controller.control.grid.attributeColumns")
|
|
58359
58413
|
);
|
|
@@ -58364,7 +58418,7 @@ var GridController = class extends MDControlController {
|
|
|
58364
58418
|
);
|
|
58365
58419
|
if (index !== -1 && index !== 0) {
|
|
58366
58420
|
if (this.isMultistageHeader) {
|
|
58367
|
-
throw new
|
|
58421
|
+
throw new RuntimeModelError66(
|
|
58368
58422
|
this.model,
|
|
58369
58423
|
ibiz.i18n.t("runtime.controller.control.grid.configureFirstColumn", {
|
|
58370
58424
|
groupFieldName
|
|
@@ -58376,13 +58430,13 @@ var GridController = class extends MDControlController {
|
|
|
58376
58430
|
}
|
|
58377
58431
|
if (groupMode === "CODELIST") {
|
|
58378
58432
|
if (!groupCodeListId) {
|
|
58379
|
-
throw new
|
|
58433
|
+
throw new RuntimeModelError66(
|
|
58380
58434
|
this.model,
|
|
58381
58435
|
ibiz.i18n.t("runtime.controller.control.grid.requiresCodeTable")
|
|
58382
58436
|
);
|
|
58383
58437
|
}
|
|
58384
58438
|
if (this.groupFieldColumn.model.appCodeListId !== groupCodeListId) {
|
|
58385
|
-
throw new
|
|
58439
|
+
throw new RuntimeModelError66(
|
|
58386
58440
|
this.model,
|
|
58387
58441
|
ibiz.i18n.t("runtime.controller.control.grid.noMatchCodeTable", {
|
|
58388
58442
|
groupFieldName
|
|
@@ -58541,7 +58595,7 @@ var GridController = class extends MDControlController {
|
|
|
58541
58595
|
return;
|
|
58542
58596
|
}
|
|
58543
58597
|
if (!aggAppDEDataSetId || !aggAppDataEntityId) {
|
|
58544
|
-
throw new
|
|
58598
|
+
throw new RuntimeModelError66(
|
|
58545
58599
|
this.model,
|
|
58546
58600
|
ibiz.i18n.t("runtime.controller.control.grid.missingConfiguration")
|
|
58547
58601
|
);
|
|
@@ -59588,7 +59642,7 @@ var GridController = class extends MDControlController {
|
|
|
59588
59642
|
var _a3;
|
|
59589
59643
|
const moveAction = (_a3 = this.model.moveControlAction) == null ? void 0 : _a3.appDEMethodId;
|
|
59590
59644
|
if (!moveAction) {
|
|
59591
|
-
throw new
|
|
59645
|
+
throw new RuntimeModelError66(
|
|
59592
59646
|
this.model,
|
|
59593
59647
|
ibiz.i18n.t("runtime.controller.common.md.noMoveDataCconfig")
|
|
59594
59648
|
);
|
|
@@ -60113,7 +60167,7 @@ var GridFieldColumnController = class extends GridColumnController {
|
|
|
60113
60167
|
};
|
|
60114
60168
|
|
|
60115
60169
|
// src/controller/control/grid/grid-column/grid-ua-column/grid-ua-column.controller.ts
|
|
60116
|
-
import { RuntimeModelError as
|
|
60170
|
+
import { RuntimeModelError as RuntimeModelError67 } from "@ibiz-template/core";
|
|
60117
60171
|
var GridUAColumnController = class extends GridColumnController {
|
|
60118
60172
|
/**
|
|
60119
60173
|
* 给rowController初始化操作列的状态
|
|
@@ -60126,7 +60180,7 @@ var GridUAColumnController = class extends GridColumnController {
|
|
|
60126
60180
|
var _a3;
|
|
60127
60181
|
const { deuiactionGroup } = this.model;
|
|
60128
60182
|
if (!deuiactionGroup) {
|
|
60129
|
-
throw new
|
|
60183
|
+
throw new RuntimeModelError67(
|
|
60130
60184
|
this.model,
|
|
60131
60185
|
ibiz.i18n.t("runtime.controller.control.grid.behaviorGroup")
|
|
60132
60186
|
);
|
|
@@ -60460,7 +60514,7 @@ import {
|
|
|
60460
60514
|
clone as clone46,
|
|
60461
60515
|
DataTypes as DataTypes7,
|
|
60462
60516
|
isElementSame as isElementSame4,
|
|
60463
|
-
RuntimeModelError as
|
|
60517
|
+
RuntimeModelError as RuntimeModelError68
|
|
60464
60518
|
} from "@ibiz-template/core";
|
|
60465
60519
|
import dayjs7 from "dayjs";
|
|
60466
60520
|
|
|
@@ -61147,13 +61201,13 @@ var ListController = class extends MDControlController {
|
|
|
61147
61201
|
await this.updateChangedItems([draggedItem]);
|
|
61148
61202
|
} else {
|
|
61149
61203
|
if (!minorSortAppDEFieldId)
|
|
61150
|
-
throw new
|
|
61204
|
+
throw new RuntimeModelError68(
|
|
61151
61205
|
this.model,
|
|
61152
61206
|
ibiz.i18n.t("runtime.controller.common.md.sortingProperties")
|
|
61153
61207
|
);
|
|
61154
61208
|
const moveAction = moveControlAction == null ? void 0 : moveControlAction.appDEMethodId;
|
|
61155
61209
|
if (!moveAction)
|
|
61156
|
-
throw new
|
|
61210
|
+
throw new RuntimeModelError68(
|
|
61157
61211
|
this.model,
|
|
61158
61212
|
ibiz.i18n.t("runtime.controller.common.md.noMoveDataCconfig")
|
|
61159
61213
|
);
|
|
@@ -62506,7 +62560,7 @@ var TabExpPanelController = class extends ControlController {
|
|
|
62506
62560
|
import {
|
|
62507
62561
|
RuntimeError as RuntimeError58,
|
|
62508
62562
|
recursiveIterate as recursiveIterate13,
|
|
62509
|
-
RuntimeModelError as
|
|
62563
|
+
RuntimeModelError as RuntimeModelError69
|
|
62510
62564
|
} from "@ibiz-template/core";
|
|
62511
62565
|
import { isNil as isNil36 } from "ramda";
|
|
62512
62566
|
import { isBoolean as isBoolean4 } from "qx-util";
|
|
@@ -64027,7 +64081,7 @@ var TreeController = class extends MDControlController {
|
|
|
64027
64081
|
const { moveAppDEActionId, appDataEntityId, allowOrder } = orderNodeModel;
|
|
64028
64082
|
if (allowOrder) {
|
|
64029
64083
|
if (!moveAppDEActionId) {
|
|
64030
|
-
throw new
|
|
64084
|
+
throw new RuntimeModelError69(
|
|
64031
64085
|
this.model,
|
|
64032
64086
|
ibiz.i18n.t("runtime.controller.common.md.noMoveDataCconfig")
|
|
64033
64087
|
);
|
|
@@ -64109,7 +64163,7 @@ var TreeController = class extends MDControlController {
|
|
|
64109
64163
|
async modifyNodeText(nodeData, text) {
|
|
64110
64164
|
const model = this.getNodeModel(nodeData._nodeId);
|
|
64111
64165
|
if (!model.allowEditText) {
|
|
64112
|
-
throw new
|
|
64166
|
+
throw new RuntimeModelError69(
|
|
64113
64167
|
model,
|
|
64114
64168
|
ibiz.i18n.t("runtime.controller.control.tree.editMode")
|
|
64115
64169
|
);
|
|
@@ -64222,7 +64276,7 @@ var TreeController = class extends MDControlController {
|
|
|
64222
64276
|
const nodeModel = this.getNodeModel(nodeType);
|
|
64223
64277
|
const parentNodeData = this.getNodeData(parentKey);
|
|
64224
64278
|
if (!nodeModel) {
|
|
64225
|
-
throw new
|
|
64279
|
+
throw new RuntimeModelError69(
|
|
64226
64280
|
this.model,
|
|
64227
64281
|
ibiz.i18n.t("runtime.controller.control.tree.noFoundTreeNode")
|
|
64228
64282
|
);
|
|
@@ -64354,7 +64408,7 @@ var TreeController = class extends MDControlController {
|
|
|
64354
64408
|
}
|
|
64355
64409
|
));
|
|
64356
64410
|
if (result === -1)
|
|
64357
|
-
throw new
|
|
64411
|
+
throw new RuntimeModelError69(
|
|
64358
64412
|
nodeModel,
|
|
64359
64413
|
ibiz.i18n.t("runtime.controller.common.md.logicOpendata", {
|
|
64360
64414
|
itemType: nodeModel.id.toLowerCase()
|
|
@@ -64393,7 +64447,7 @@ var TreeController = class extends MDControlController {
|
|
|
64393
64447
|
}
|
|
64394
64448
|
));
|
|
64395
64449
|
if (result === -1)
|
|
64396
|
-
throw new
|
|
64450
|
+
throw new RuntimeModelError69(
|
|
64397
64451
|
nodeModel,
|
|
64398
64452
|
ibiz.i18n.t("runtime.controller.common.md.logicNewdata", {
|
|
64399
64453
|
itemType: nodeModel.id.toLowerCase()
|
|
@@ -64928,8 +64982,9 @@ var WizardPanelController = class extends ControlController {
|
|
|
64928
64982
|
};
|
|
64929
64983
|
|
|
64930
64984
|
// src/controller/control/md-ctrl/md-ctrl.controller.ts
|
|
64931
|
-
import { RuntimeModelError as
|
|
64985
|
+
import { RuntimeModelError as RuntimeModelError70 } from "@ibiz-template/core";
|
|
64932
64986
|
import { isNil as isNil37 } from "ramda";
|
|
64987
|
+
import { createUUID as createUUID19 } from "qx-util";
|
|
64933
64988
|
|
|
64934
64989
|
// src/controller/control/md-ctrl/md-ctrl.service.ts
|
|
64935
64990
|
var MDCtrlService = class extends MDControlService {
|
|
@@ -64987,12 +65042,54 @@ var MobMDCtrlRowState = class {
|
|
|
64987
65042
|
|
|
64988
65043
|
// src/controller/control/md-ctrl/md-ctrl.controller.ts
|
|
64989
65044
|
var MDCtrlController = class extends MDControlController {
|
|
65045
|
+
/**
|
|
65046
|
+
* @description 启用分组
|
|
65047
|
+
* @readonly
|
|
65048
|
+
* @type {boolean}
|
|
65049
|
+
* @memberof MDCtrlController
|
|
65050
|
+
*/
|
|
65051
|
+
get enableGroup() {
|
|
65052
|
+
return this.model.groupMode !== "NONE";
|
|
65053
|
+
}
|
|
65054
|
+
/**
|
|
65055
|
+
* @description 分组时是否显示分组锚点导航
|
|
65056
|
+
* @readonly
|
|
65057
|
+
* @type {boolean}
|
|
65058
|
+
* @memberof MDCtrlController
|
|
65059
|
+
*/
|
|
65060
|
+
get showGroupAnchor() {
|
|
65061
|
+
return this.enableGroup && this.controlParams.showgroupanchor === "true";
|
|
65062
|
+
}
|
|
64990
65063
|
initState() {
|
|
64991
65064
|
super.initState();
|
|
64992
65065
|
this.state.rows = [];
|
|
64993
65066
|
this.state.noSort = this.model.noSort === true;
|
|
64994
65067
|
this.state.singleSelect = this.model.singleSelect === true;
|
|
64995
65068
|
this.state.mdctrlActiveMode = 1;
|
|
65069
|
+
this.state.size = this.model.pagingSize || 20;
|
|
65070
|
+
this.initSortDelistItems();
|
|
65071
|
+
}
|
|
65072
|
+
/**
|
|
65073
|
+
* @description 初始化排序配置项集合
|
|
65074
|
+
* @protected
|
|
65075
|
+
* @memberof MDCtrlController
|
|
65076
|
+
*/
|
|
65077
|
+
initSortDelistItems() {
|
|
65078
|
+
var _a3;
|
|
65079
|
+
const sortDelistItems = [];
|
|
65080
|
+
(_a3 = this.model.delistItems) == null ? void 0 : _a3.forEach((item) => {
|
|
65081
|
+
var _a4, _b2;
|
|
65082
|
+
if (item.enableSort) {
|
|
65083
|
+
sortDelistItems.push({
|
|
65084
|
+
value: item.id,
|
|
65085
|
+
label: ibiz.i18n.t(
|
|
65086
|
+
((_a4 = item == null ? void 0 : item.capLanguageRes) == null ? void 0 : _a4.lanResTag) || "",
|
|
65087
|
+
item.caption || ((_b2 = item == null ? void 0 : item.capLanguageRes) == null ? void 0 : _b2.defaultContent)
|
|
65088
|
+
)
|
|
65089
|
+
});
|
|
65090
|
+
}
|
|
65091
|
+
});
|
|
65092
|
+
this.state.sortDelistItems = sortDelistItems;
|
|
64996
65093
|
}
|
|
64997
65094
|
async onCreated() {
|
|
64998
65095
|
await super.onCreated();
|
|
@@ -65156,7 +65253,7 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65156
65253
|
const { enableGroup, groupMode, groupAppDEFieldId } = this.model;
|
|
65157
65254
|
if (enableGroup && groupMode) {
|
|
65158
65255
|
if (!groupAppDEFieldId) {
|
|
65159
|
-
throw new
|
|
65256
|
+
throw new RuntimeModelError70(
|
|
65160
65257
|
this.model,
|
|
65161
65258
|
ibiz.i18n.t(
|
|
65162
65259
|
"runtime.controller.control.dataView.propertiesNoConfigured"
|
|
@@ -65189,9 +65286,17 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65189
65286
|
if (groupAppDEFieldId) {
|
|
65190
65287
|
const { items } = this.state;
|
|
65191
65288
|
const groupMap = /* @__PURE__ */ new Map();
|
|
65289
|
+
const unclassified = {
|
|
65290
|
+
key: createUUID19(),
|
|
65291
|
+
caption: ibiz.i18n.t("runtime.controller.common.md.unclassified"),
|
|
65292
|
+
children: []
|
|
65293
|
+
};
|
|
65192
65294
|
items.forEach((item) => {
|
|
65193
65295
|
const groupVal = item[groupAppDEFieldId];
|
|
65194
65296
|
if (isNil37(groupVal)) {
|
|
65297
|
+
unclassified.children.push(
|
|
65298
|
+
new MobMDCtrlRowState(item, this)
|
|
65299
|
+
);
|
|
65195
65300
|
return;
|
|
65196
65301
|
}
|
|
65197
65302
|
if (!groupMap.has(groupVal)) {
|
|
@@ -65208,6 +65313,8 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65208
65313
|
children: [...value]
|
|
65209
65314
|
});
|
|
65210
65315
|
});
|
|
65316
|
+
if (unclassified.children.length)
|
|
65317
|
+
groups.push(unclassified);
|
|
65211
65318
|
this.state.groups = groups;
|
|
65212
65319
|
}
|
|
65213
65320
|
}
|
|
@@ -65238,13 +65345,18 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65238
65345
|
async handleCodeListGroup() {
|
|
65239
65346
|
const { groupAppDEFieldId, groupCodeListId } = this.model;
|
|
65240
65347
|
if (!groupCodeListId) {
|
|
65241
|
-
throw new
|
|
65348
|
+
throw new RuntimeModelError70(
|
|
65242
65349
|
this.model,
|
|
65243
65350
|
ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
|
|
65244
65351
|
);
|
|
65245
65352
|
}
|
|
65246
65353
|
const { items } = this.state;
|
|
65247
65354
|
const groupMap = /* @__PURE__ */ new Map();
|
|
65355
|
+
const unclassified = {
|
|
65356
|
+
key: createUUID19(),
|
|
65357
|
+
caption: ibiz.i18n.t("runtime.controller.common.md.unclassified"),
|
|
65358
|
+
children: []
|
|
65359
|
+
};
|
|
65248
65360
|
this.groupCodeListItems.forEach((item) => {
|
|
65249
65361
|
groupMap.set(item.value, []);
|
|
65250
65362
|
});
|
|
@@ -65253,6 +65365,10 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65253
65365
|
const groupArr = groupMap.get(groupVal);
|
|
65254
65366
|
if (groupArr) {
|
|
65255
65367
|
groupArr.push(new MobMDCtrlRowState(item, this));
|
|
65368
|
+
} else {
|
|
65369
|
+
unclassified.children.push(
|
|
65370
|
+
new MobMDCtrlRowState(item, this)
|
|
65371
|
+
);
|
|
65256
65372
|
}
|
|
65257
65373
|
});
|
|
65258
65374
|
const groups = [];
|
|
@@ -65266,6 +65382,8 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65266
65382
|
children: arr
|
|
65267
65383
|
});
|
|
65268
65384
|
});
|
|
65385
|
+
if (unclassified.children.length)
|
|
65386
|
+
groups.push(unclassified);
|
|
65269
65387
|
this.state.groups = groups;
|
|
65270
65388
|
}
|
|
65271
65389
|
changeCollapse(params = {}) {
|
|
@@ -65292,6 +65410,20 @@ var MDCtrlController = class extends MDControlController {
|
|
|
65292
65410
|
scrollToTop() {
|
|
65293
65411
|
throw new Error("Method not implemented.");
|
|
65294
65412
|
}
|
|
65413
|
+
/**
|
|
65414
|
+
* @description 获取部件默认排序模型
|
|
65415
|
+
* @returns {*} {({
|
|
65416
|
+
* minorSortAppDEFieldId: string | undefined;
|
|
65417
|
+
* minorSortDir: string | undefined;
|
|
65418
|
+
* })}
|
|
65419
|
+
* @memberof MDCtrlController
|
|
65420
|
+
*/
|
|
65421
|
+
getSortModel() {
|
|
65422
|
+
return {
|
|
65423
|
+
minorSortAppDEFieldId: this.model.minorSortAppDEFieldId,
|
|
65424
|
+
minorSortDir: this.model.minorSortDir
|
|
65425
|
+
};
|
|
65426
|
+
}
|
|
65295
65427
|
};
|
|
65296
65428
|
|
|
65297
65429
|
// src/controller/control/kanban/kanban.controller.ts
|
|
@@ -65299,7 +65431,7 @@ import {
|
|
|
65299
65431
|
clone as clone47,
|
|
65300
65432
|
RuntimeError as RuntimeError60,
|
|
65301
65433
|
isElementSame as isElementSame5,
|
|
65302
|
-
RuntimeModelError as
|
|
65434
|
+
RuntimeModelError as RuntimeModelError71
|
|
65303
65435
|
} from "@ibiz-template/core";
|
|
65304
65436
|
|
|
65305
65437
|
// src/controller/control/kanban/kanban.service.ts
|
|
@@ -65584,7 +65716,7 @@ var KanbanController = class extends DataViewControlController {
|
|
|
65584
65716
|
async handleCodeListGroup() {
|
|
65585
65717
|
const { groupAppDEFieldId, groupCodeListId } = this.model;
|
|
65586
65718
|
if (!groupCodeListId) {
|
|
65587
|
-
throw new
|
|
65719
|
+
throw new RuntimeModelError71(
|
|
65588
65720
|
this.model,
|
|
65589
65721
|
ibiz.i18n.t("runtime.controller.control.dataView.tableNoConfigured")
|
|
65590
65722
|
);
|
|
@@ -65648,13 +65780,13 @@ var KanbanController = class extends DataViewControlController {
|
|
|
65648
65780
|
await this.updateChangedItems([draggedItem]);
|
|
65649
65781
|
} else {
|
|
65650
65782
|
if (!minorSortAppDEFieldId)
|
|
65651
|
-
throw new
|
|
65783
|
+
throw new RuntimeModelError71(
|
|
65652
65784
|
this.model,
|
|
65653
65785
|
ibiz.i18n.t("runtime.controller.common.md.sortingProperties")
|
|
65654
65786
|
);
|
|
65655
65787
|
const moveAction = moveControlAction == null ? void 0 : moveControlAction.appDEMethodId;
|
|
65656
65788
|
if (!moveAction)
|
|
65657
|
-
throw new
|
|
65789
|
+
throw new RuntimeModelError71(
|
|
65658
65790
|
this.model,
|
|
65659
65791
|
ibiz.i18n.t("runtime.controller.common.md.noMoveDataCconfig")
|
|
65660
65792
|
);
|
|
@@ -65855,7 +65987,7 @@ import {
|
|
|
65855
65987
|
RuntimeError as RuntimeError61,
|
|
65856
65988
|
awaitTimeout as awaitTimeout3,
|
|
65857
65989
|
recursiveIterate as recursiveIterate14,
|
|
65858
|
-
RuntimeModelError as
|
|
65990
|
+
RuntimeModelError as RuntimeModelError72
|
|
65859
65991
|
} from "@ibiz-template/core";
|
|
65860
65992
|
import { clone as clone48 } from "ramda";
|
|
65861
65993
|
|
|
@@ -66240,7 +66372,7 @@ var TreeGridExController = class extends TreeController {
|
|
|
66240
66372
|
);
|
|
66241
66373
|
}
|
|
66242
66374
|
if (!updateAppDEActionId) {
|
|
66243
|
-
throw new
|
|
66375
|
+
throw new RuntimeModelError72(
|
|
66244
66376
|
nodeModel,
|
|
66245
66377
|
ibiz.i18n.t("runtime.controller.control.treeGridEx.updateBehavior")
|
|
66246
66378
|
);
|
|
@@ -66566,7 +66698,7 @@ var TreeGridExColumnController = class {
|
|
|
66566
66698
|
import {
|
|
66567
66699
|
DataTypes as DataTypes8,
|
|
66568
66700
|
RuntimeError as RuntimeError62,
|
|
66569
|
-
RuntimeModelError as
|
|
66701
|
+
RuntimeModelError as RuntimeModelError73
|
|
66570
66702
|
} from "@ibiz-template/core";
|
|
66571
66703
|
import { clone as clone49 } from "ramda";
|
|
66572
66704
|
import dayjs8 from "dayjs";
|
|
@@ -66597,7 +66729,7 @@ var TreeGridExNodeColumnController = class {
|
|
|
66597
66729
|
}
|
|
66598
66730
|
);
|
|
66599
66731
|
if (!nodeColumn || !nodeDataItem) {
|
|
66600
|
-
throw new
|
|
66732
|
+
throw new RuntimeModelError73(
|
|
66601
66733
|
nodeModel,
|
|
66602
66734
|
ibiz.i18n.t("runtime.controller.control.treeGridEx.noConfigured", {
|
|
66603
66735
|
name: this.fieldColumn.name
|
|
@@ -66613,7 +66745,7 @@ var TreeGridExNodeColumnController = class {
|
|
|
66613
66745
|
}
|
|
66614
66746
|
);
|
|
66615
66747
|
if (!nodeEditItem) {
|
|
66616
|
-
throw new
|
|
66748
|
+
throw new RuntimeModelError73(
|
|
66617
66749
|
nodeModel,
|
|
66618
66750
|
ibiz.i18n.t("runtime.controller.control.treeGridEx.editItem", {
|
|
66619
66751
|
name: this.fieldColumn.name
|
|
@@ -67122,8 +67254,8 @@ var TreeGridExUAColumnController = class extends TreeGridExColumnController {
|
|
|
67122
67254
|
};
|
|
67123
67255
|
|
|
67124
67256
|
// src/controller/control/tree-grid/tree-grid.controller.ts
|
|
67125
|
-
import { RuntimeModelError as
|
|
67126
|
-
import { createUUID as
|
|
67257
|
+
import { RuntimeModelError as RuntimeModelError74 } from "@ibiz-template/core";
|
|
67258
|
+
import { createUUID as createUUID20 } from "qx-util";
|
|
67127
67259
|
var TreeGridController = class extends GridController {
|
|
67128
67260
|
constructor() {
|
|
67129
67261
|
super(...arguments);
|
|
@@ -67167,7 +67299,7 @@ var TreeGridController = class extends GridController {
|
|
|
67167
67299
|
return item.treeColumnMode === 4 || item.treeColumnMode === 12;
|
|
67168
67300
|
});
|
|
67169
67301
|
if (!treeGridParent)
|
|
67170
|
-
throw new
|
|
67302
|
+
throw new RuntimeModelError74(
|
|
67171
67303
|
this.model,
|
|
67172
67304
|
ibiz.i18n.t("runtime.controller.control.treeGrid.columnMode")
|
|
67173
67305
|
);
|
|
@@ -67175,7 +67307,7 @@ var TreeGridController = class extends GridController {
|
|
|
67175
67307
|
return item.treeColumnMode === 2 || item.treeColumnMode === 3;
|
|
67176
67308
|
});
|
|
67177
67309
|
if (!treeGridValue)
|
|
67178
|
-
throw new
|
|
67310
|
+
throw new RuntimeModelError74(
|
|
67179
67311
|
this.model,
|
|
67180
67312
|
ibiz.i18n.t("runtime.controller.control.treeGrid.columnsSchema")
|
|
67181
67313
|
);
|
|
@@ -67194,7 +67326,7 @@ var TreeGridController = class extends GridController {
|
|
|
67194
67326
|
this.state.expandRowKeys = this.state.expandRowKeys.filter(
|
|
67195
67327
|
(key) => this.state.items.some((item) => item.srfkey === key)
|
|
67196
67328
|
);
|
|
67197
|
-
this.state.tableKey =
|
|
67329
|
+
this.state.tableKey = createUUID20();
|
|
67198
67330
|
}
|
|
67199
67331
|
async afterLoad(args, items) {
|
|
67200
67332
|
this.calcTreeGridData(this.state.items);
|
|
@@ -67272,7 +67404,7 @@ var TreeGridService = class extends GridService {
|
|
|
67272
67404
|
|
|
67273
67405
|
// src/controller/control/medit-view-panel/medit-view-panel.controller.ts
|
|
67274
67406
|
import { RuntimeError as RuntimeError63 } from "@ibiz-template/core";
|
|
67275
|
-
import { createUUID as
|
|
67407
|
+
import { createUUID as createUUID21 } from "qx-util";
|
|
67276
67408
|
|
|
67277
67409
|
// src/controller/control/medit-view-panel/medit-view-panel.service.ts
|
|
67278
67410
|
var MEditViewPanelService = class extends MDControlService {
|
|
@@ -67365,7 +67497,7 @@ var MEditViewPanelController = class extends MDControlController {
|
|
|
67365
67497
|
*/
|
|
67366
67498
|
handlePanelItemParams(arg) {
|
|
67367
67499
|
const [{ parameterName }] = this.parameters;
|
|
67368
|
-
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(
|
|
67500
|
+
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(createUUID21());
|
|
67369
67501
|
const item = {
|
|
67370
67502
|
id,
|
|
67371
67503
|
context: this.context.clone(),
|
|
@@ -72380,7 +72512,7 @@ var ThemeUtil = class {
|
|
|
72380
72512
|
};
|
|
72381
72513
|
|
|
72382
72514
|
// src/utils/ui-domain/ui-domain.ts
|
|
72383
|
-
import { QXEvent as QXEvent9, createUUID as
|
|
72515
|
+
import { QXEvent as QXEvent9, createUUID as createUUID22 } from "qx-util";
|
|
72384
72516
|
|
|
72385
72517
|
// src/utils/ui-domain/transaction.ts
|
|
72386
72518
|
var Transaction = class {
|
|
@@ -72531,7 +72663,7 @@ var UIDomain = class {
|
|
|
72531
72663
|
if (id) {
|
|
72532
72664
|
this.id = id;
|
|
72533
72665
|
} else {
|
|
72534
|
-
this.id =
|
|
72666
|
+
this.id = createUUID22();
|
|
72535
72667
|
}
|
|
72536
72668
|
this.appDataEntityId = appDataEntityId;
|
|
72537
72669
|
}
|
|
@@ -75619,7 +75751,7 @@ var BIReportUtil = class {
|
|
|
75619
75751
|
|
|
75620
75752
|
// src/utils/record-nav-util/record-nav-util.ts
|
|
75621
75753
|
import { RuntimeError as RuntimeError67 } from "@ibiz-template/core";
|
|
75622
|
-
import { createUUID as
|
|
75754
|
+
import { createUUID as createUUID23 } from "qx-util";
|
|
75623
75755
|
var RecordNavUtil = class {
|
|
75624
75756
|
constructor() {
|
|
75625
75757
|
/**
|
|
@@ -75662,7 +75794,7 @@ var RecordNavUtil = class {
|
|
|
75662
75794
|
* @param {IData} tempContext
|
|
75663
75795
|
*/
|
|
75664
75796
|
addTriggerLogic(viewId, data, tempContext) {
|
|
75665
|
-
const triggerLogicId = "".concat(viewId, ":").concat(
|
|
75797
|
+
const triggerLogicId = "".concat(viewId, ":").concat(createUUID23());
|
|
75666
75798
|
this.triggerLogicMap.set(triggerLogicId, data);
|
|
75667
75799
|
tempContext.srfnavlogicid = triggerLogicId;
|
|
75668
75800
|
}
|
|
@@ -83931,7 +84063,7 @@ var ViewEngineBase = class {
|
|
|
83931
84063
|
};
|
|
83932
84064
|
|
|
83933
84065
|
// src/engine/md-view.engine.ts
|
|
83934
|
-
import { RuntimeModelError as
|
|
84066
|
+
import { RuntimeModelError as RuntimeModelError75 } from "@ibiz-template/core";
|
|
83935
84067
|
import { clone as clone60 } from "ramda";
|
|
83936
84068
|
var MDViewEngine = class extends ViewEngineBase {
|
|
83937
84069
|
/**
|
|
@@ -84183,7 +84315,7 @@ var MDViewEngine = class extends ViewEngineBase {
|
|
|
84183
84315
|
view: this.view
|
|
84184
84316
|
}));
|
|
84185
84317
|
if (result === -1) {
|
|
84186
|
-
throw new
|
|
84318
|
+
throw new RuntimeModelError75(
|
|
84187
84319
|
this.view.model,
|
|
84188
84320
|
ibiz.i18n.t("runtime.engine.logicOpendata")
|
|
84189
84321
|
);
|
|
@@ -84215,7 +84347,7 @@ var MDViewEngine = class extends ViewEngineBase {
|
|
|
84215
84347
|
(item) => item.id === "newdata"
|
|
84216
84348
|
);
|
|
84217
84349
|
if (!openAppViewLogic) {
|
|
84218
|
-
throw new
|
|
84350
|
+
throw new RuntimeModelError75(
|
|
84219
84351
|
this.view.model,
|
|
84220
84352
|
ibiz.i18n.t("runtime.engine.logicNewdata")
|
|
84221
84353
|
);
|
|
@@ -84235,7 +84367,7 @@ var MDViewEngine = class extends ViewEngineBase {
|
|
|
84235
84367
|
view: this.view
|
|
84236
84368
|
}));
|
|
84237
84369
|
if (result === -1) {
|
|
84238
|
-
throw new
|
|
84370
|
+
throw new RuntimeModelError75(
|
|
84239
84371
|
this.view.model,
|
|
84240
84372
|
ibiz.i18n.t("runtime.engine.logicNewdata")
|
|
84241
84373
|
);
|
|
@@ -85250,13 +85382,13 @@ var ScriptExecutor = class extends LogicExecutor {
|
|
|
85250
85382
|
};
|
|
85251
85383
|
|
|
85252
85384
|
// src/logic-scheduler/executor/app-de-ui-logic-executor.ts
|
|
85253
|
-
import { RuntimeModelError as
|
|
85385
|
+
import { RuntimeModelError as RuntimeModelError76 } from "@ibiz-template/core";
|
|
85254
85386
|
var AppDEUILogicExecutor = class extends LogicExecutor {
|
|
85255
85387
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
85256
85388
|
execute(executeParams) {
|
|
85257
85389
|
const { appDEUILogicId, appDataEntityId } = this.logic;
|
|
85258
85390
|
if (!appDEUILogicId) {
|
|
85259
|
-
throw new
|
|
85391
|
+
throw new RuntimeModelError76(
|
|
85260
85392
|
this.logic,
|
|
85261
85393
|
ibiz.i18n.t("runtime.logicScheduler.executor.noConfiguredLogic")
|
|
85262
85394
|
);
|
|
@@ -85747,7 +85879,7 @@ var ItemDynaLogicTrigger = class extends LogicTrigger {
|
|
|
85747
85879
|
};
|
|
85748
85880
|
|
|
85749
85881
|
// src/logic-scheduler/trigger/timer-trigger.ts
|
|
85750
|
-
import { RuntimeError as RuntimeError78, RuntimeModelError as
|
|
85882
|
+
import { RuntimeError as RuntimeError78, RuntimeModelError as RuntimeModelError77 } from "@ibiz-template/core";
|
|
85751
85883
|
var TimerTrigger = class extends LogicTrigger {
|
|
85752
85884
|
constructor() {
|
|
85753
85885
|
super(...arguments);
|
|
@@ -85755,7 +85887,7 @@ var TimerTrigger = class extends LogicTrigger {
|
|
|
85755
85887
|
}
|
|
85756
85888
|
start() {
|
|
85757
85889
|
if (!this.logic.timer) {
|
|
85758
|
-
throw new
|
|
85890
|
+
throw new RuntimeModelError77(
|
|
85759
85891
|
this.logic,
|
|
85760
85892
|
ibiz.i18n.t("runtime.logicScheduler.trigger.timerLacks")
|
|
85761
85893
|
);
|
|
@@ -85795,7 +85927,7 @@ var TimerTrigger = class extends LogicTrigger {
|
|
|
85795
85927
|
import {
|
|
85796
85928
|
ModelError as ModelError34,
|
|
85797
85929
|
RuntimeError as RuntimeError79,
|
|
85798
|
-
RuntimeModelError as
|
|
85930
|
+
RuntimeModelError as RuntimeModelError78
|
|
85799
85931
|
} from "@ibiz-template/core";
|
|
85800
85932
|
import { notNilEmpty as notNilEmpty11 } from "qx-util";
|
|
85801
85933
|
var AppUILogicExecutor = class extends LogicExecutor {
|
|
@@ -85843,7 +85975,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85843
85975
|
} else {
|
|
85844
85976
|
openViewRef = appUILogic.openDataAppView;
|
|
85845
85977
|
if (!openViewRef) {
|
|
85846
|
-
throw new
|
|
85978
|
+
throw new RuntimeModelError78(
|
|
85847
85979
|
appUILogic,
|
|
85848
85980
|
ibiz.i18n.t(
|
|
85849
85981
|
"runtime.logicScheduler.executor.defaultOpendataViewLogic"
|
|
@@ -85853,7 +85985,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85853
85985
|
}
|
|
85854
85986
|
const openView = openViewRef.refAppViewId;
|
|
85855
85987
|
if (!openView) {
|
|
85856
|
-
throw new
|
|
85988
|
+
throw new RuntimeModelError78(
|
|
85857
85989
|
appUILogic,
|
|
85858
85990
|
ibiz.i18n.t("runtime.logicScheduler.executor.noActuallyReference")
|
|
85859
85991
|
);
|
|
@@ -85891,7 +86023,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85891
86023
|
);
|
|
85892
86024
|
const typeFileName = appDataEntity.formTypeAppDEFieldId || appDataEntity.dataTypeAppDEFieldId;
|
|
85893
86025
|
if (!typeFileName) {
|
|
85894
|
-
throw new
|
|
86026
|
+
throw new RuntimeModelError78(
|
|
85895
86027
|
appUILogic,
|
|
85896
86028
|
ibiz.i18n.t("runtime.logicScheduler.executor.attributeConfiguration", {
|
|
85897
86029
|
codeName: appDataEntity.codeName
|
|
@@ -85901,7 +86033,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85901
86033
|
const { data } = parameters;
|
|
85902
86034
|
const formTypeValue = data[0][typeFileName];
|
|
85903
86035
|
if (!formTypeValue) {
|
|
85904
|
-
throw new
|
|
86036
|
+
throw new RuntimeModelError78(
|
|
85905
86037
|
appUILogic,
|
|
85906
86038
|
ibiz.i18n.t("runtime.logicScheduler.executor.entityAttributeValues")
|
|
85907
86039
|
);
|
|
@@ -85948,7 +86080,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85948
86080
|
return viewRef.refMode.toLowerCase() !== parentDeName;
|
|
85949
86081
|
});
|
|
85950
86082
|
if (!newViewRef) {
|
|
85951
|
-
throw new
|
|
86083
|
+
throw new RuntimeModelError78(
|
|
85952
86084
|
appUILogic,
|
|
85953
86085
|
ibiz.i18n.t("runtime.logicScheduler.executor.selectionView")
|
|
85954
86086
|
);
|
|
@@ -85961,7 +86093,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
85961
86093
|
} else {
|
|
85962
86094
|
newViewRef = newDataAppView;
|
|
85963
86095
|
if (!newViewRef || !newViewRef.refAppViewId) {
|
|
85964
|
-
throw new
|
|
86096
|
+
throw new RuntimeModelError78(
|
|
85965
86097
|
appUILogic,
|
|
85966
86098
|
ibiz.i18n.t("runtime.logicScheduler.executor.newdataViewLogic")
|
|
85967
86099
|
);
|
|
@@ -86034,7 +86166,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
86034
86166
|
const { context, params, ...rest } = parameters;
|
|
86035
86167
|
const { view } = parameters;
|
|
86036
86168
|
if (!wizardAppView || !wizardAppView.refAppViewId) {
|
|
86037
|
-
throw new
|
|
86169
|
+
throw new RuntimeModelError78(
|
|
86038
86170
|
appUILogic,
|
|
86039
86171
|
ibiz.i18n.t("runtime.logicScheduler.executor.indexEntity")
|
|
86040
86172
|
);
|
|
@@ -86092,7 +86224,7 @@ var AppUILogicExecutor = class extends LogicExecutor {
|
|
|
86092
86224
|
const minorDERs = selfDe.minorAppDERSs;
|
|
86093
86225
|
const pickParentDeName = newViewRef.refMode.toLowerCase();
|
|
86094
86226
|
if (!minorDERs) {
|
|
86095
|
-
throw new
|
|
86227
|
+
throw new RuntimeModelError78(
|
|
86096
86228
|
selfDe,
|
|
86097
86229
|
ibiz.i18n.t("runtime.logicScheduler.executor.relationships")
|
|
86098
86230
|
);
|
|
@@ -86203,12 +86335,12 @@ var ControlEventTrigger = class extends LogicTrigger {
|
|
|
86203
86335
|
};
|
|
86204
86336
|
|
|
86205
86337
|
// src/logic-scheduler/executor/app-ui-action-executor.ts
|
|
86206
|
-
import { RuntimeModelError as
|
|
86338
|
+
import { RuntimeModelError as RuntimeModelError79 } from "@ibiz-template/core";
|
|
86207
86339
|
var AppDEUIActionExecutor = class extends LogicExecutor {
|
|
86208
86340
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
86209
86341
|
execute(executeParams) {
|
|
86210
86342
|
if (!this.logic.appDEUIActionId) {
|
|
86211
|
-
throw new
|
|
86343
|
+
throw new RuntimeModelError79(
|
|
86212
86344
|
this.logic,
|
|
86213
86345
|
ibiz.i18n.t("runtime.logicScheduler.executor.missingTrigger")
|
|
86214
86346
|
);
|
|
@@ -86710,7 +86842,8 @@ var en = {
|
|
|
86710
86842
|
noSetStartNode: "No start node set",
|
|
86711
86843
|
startExecuting: "Start executing entity logic, logic identifier: {id} - logic name: {name}",
|
|
86712
86844
|
endExecution: "End execution entity logic, logic identifier: {id} - logic name: {name}",
|
|
86713
|
-
noFoundEntityLogic: "{dataEntityId} entity logic not found {deDELogicId}"
|
|
86845
|
+
noFoundEntityLogic: "{dataEntityId} entity logic not found {deDELogicId}",
|
|
86846
|
+
logicalNodeOperation: "Logical node {name} operation parameter value:"
|
|
86714
86847
|
}
|
|
86715
86848
|
},
|
|
86716
86849
|
engine: {
|
|
@@ -87367,7 +87500,8 @@ var zhCn = {
|
|
|
87367
87500
|
noSetStartNode: "\u672A\u8BBE\u7F6E\u8D77\u59CB\u8282\u70B9",
|
|
87368
87501
|
startExecuting: "\u5F00\u59CB\u6267\u884C\u5B9E\u4F53\u903B\u8F91\uFF0C\u903B\u8F91\u6807\u8BC6\uFF1A{id}-\u903B\u8F91\u540D\u79F0\uFF1A{name}",
|
|
87369
87502
|
endExecution: "\u7ED3\u675F\u6267\u884C\u5B9E\u4F53\u903B\u8F91\uFF0C\u903B\u8F91\u6807\u8BC6\uFF1A{id}-\u903B\u8F91\u540D\u79F0\uFF1A{name}",
|
|
87370
|
-
noFoundEntityLogic: "{dataEntityId}\u627E\u4E0D\u5230\u5B9E\u4F53\u903B\u8F91{deDELogicId}"
|
|
87503
|
+
noFoundEntityLogic: "{dataEntityId}\u627E\u4E0D\u5230\u5B9E\u4F53\u903B\u8F91{deDELogicId}",
|
|
87504
|
+
logicalNodeOperation: "\u903B\u8F91\u8282\u70B9{name}\u64CD\u4F5C\u53C2\u6570\u503C:"
|
|
87371
87505
|
}
|
|
87372
87506
|
},
|
|
87373
87507
|
engine: {
|
|
@@ -88043,6 +88177,7 @@ export {
|
|
|
88043
88177
|
convertNavDataByArray,
|
|
88044
88178
|
convertObjectToNavParams,
|
|
88045
88179
|
createImportSchema,
|
|
88180
|
+
deepFillSubAppId,
|
|
88046
88181
|
deleteImportSchema,
|
|
88047
88182
|
downloadImportTemplate,
|
|
88048
88183
|
en,
|