@ibiz-template/runtime 0.6.10 → 0.6.11
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 +21 -9
- package/dist/index.system.min.js +1 -1
- package/out/controller/common/base.controller.d.ts +1 -1
- package/out/controller/common/base.controller.d.ts.map +1 -1
- package/out/controller/common/control/control.controller.d.ts +1 -1
- package/out/controller/common/control/control.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +10 -2
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts +1 -0
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts.map +1 -1
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.js +8 -1
- package/out/controller/control/toolbar/toolbar.controllerr.js +1 -1
- package/out/de-logic/de-logic-node/prepare-param-node/prepare-param-node.js +2 -2
- package/out/interface/controller/controller/control/i-tab-exp-panel.controller.d.ts +6 -0
- package/out/interface/controller/controller/control/i-tab-exp-panel.controller.d.ts.map +1 -1
- package/out/interface/controller/event/view/i-tab-search-view.event.d.ts +12 -0
- package/out/interface/controller/event/view/i-tab-search-view.event.d.ts.map +1 -0
- package/out/interface/controller/event/view/i-tab-search-view.event.js +1 -0
- package/out/interface/controller/event/view/index.d.ts +1 -0
- package/out/interface/controller/event/view/index.d.ts.map +1 -1
- package/out/interface/controller/event/view/index.js +1 -0
- package/out/interface/controller/state/control/i-drbar.state.d.ts +14 -0
- package/out/interface/controller/state/control/i-drbar.state.d.ts.map +1 -1
- package/out/interface/controller/state/control/i-tab-exp-panel.state.d.ts +7 -0
- package/out/interface/controller/state/control/i-tab-exp-panel.state.d.ts.map +1 -1
- package/out/interface/controller/state/view/i-tab-search-view.state.d.ts +20 -0
- package/out/interface/controller/state/view/i-tab-search-view.state.d.ts.map +1 -0
- package/out/interface/controller/state/view/i-tab-search-view.state.js +1 -0
- package/out/interface/controller/state/view/index.d.ts +1 -0
- package/out/interface/controller/state/view/index.d.ts.map +1 -1
- package/out/interface/controller/state/view/index.js +1 -0
- package/out/ui-action/provider/loginout-ui-action-provider.js +1 -1
- package/out/ui-logic/ui-logic-node/prepare-js-param-node/prepare-js-param-node.js +2 -2
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -10562,7 +10562,7 @@ var PrepareParamNode = class extends DELogicNode {
|
|
|
10562
10562
|
nodeParams.map((nodeParam) => {
|
|
10563
10563
|
let result;
|
|
10564
10564
|
let originValue;
|
|
10565
|
-
if (nodeParam.dstDELogicParamId) {
|
|
10565
|
+
if (nodeParam.dstDELogicParamId && ibiz.env.logLevel === "DEBUG") {
|
|
10566
10566
|
originValue = clone10(ctx.params[nodeParam.dstDELogicParamId]);
|
|
10567
10567
|
}
|
|
10568
10568
|
switch (nodeParam.paramAction) {
|
|
@@ -18975,7 +18975,7 @@ var PrepareJSParamNode = class extends UILogicNode {
|
|
|
18975
18975
|
}
|
|
18976
18976
|
for (const nodeParam of nodeParams) {
|
|
18977
18977
|
let originValue;
|
|
18978
|
-
if (nodeParam.dstDEUILogicParamId) {
|
|
18978
|
+
if (nodeParam.dstDEUILogicParamId && ibiz.env.logLevel === "DEBUG") {
|
|
18979
18979
|
originValue = clone22(ctx.params[nodeParam.dstDEUILogicParamId]);
|
|
18980
18980
|
}
|
|
18981
18981
|
switch (nodeParam.paramAction) {
|
|
@@ -20639,7 +20639,7 @@ var LoginOutUIActionProvider = class extends UIActionProviderBase {
|
|
|
20639
20639
|
async execAction(_action, _params) {
|
|
20640
20640
|
const confirm = await ibiz.confirm.info({
|
|
20641
20641
|
title: "\u786E\u8BA4\u9000\u51FA\u767B\u5F55",
|
|
20642
|
-
desc: "\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F
|
|
20642
|
+
desc: "\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"
|
|
20643
20643
|
});
|
|
20644
20644
|
if (confirm) {
|
|
20645
20645
|
const bol = await ibiz.hub.controller.logout();
|
|
@@ -20729,7 +20729,7 @@ var ToolbarController = class extends ControlController {
|
|
|
20729
20729
|
recursiveIterate2(
|
|
20730
20730
|
this.model,
|
|
20731
20731
|
(item) => {
|
|
20732
|
-
if (item.itemType
|
|
20732
|
+
if (item.itemType) {
|
|
20733
20733
|
const uiItem = item;
|
|
20734
20734
|
const buttonState = new UIActionButtonState(
|
|
20735
20735
|
uiItem.id,
|
|
@@ -27030,11 +27030,16 @@ var GridController = class extends MDControlController {
|
|
|
27030
27030
|
const fields = Object.keys(item);
|
|
27031
27031
|
fields.forEach((key) => {
|
|
27032
27032
|
var _a3;
|
|
27033
|
+
let value = item[key];
|
|
27034
|
+
const fieldColumnC = this.fieldColumns[key];
|
|
27033
27035
|
if (codeListMap.get(key)) {
|
|
27034
|
-
|
|
27036
|
+
value = ((_a3 = codeListMap.get(key).find((_item) => {
|
|
27035
27037
|
return _item.value === item[key];
|
|
27036
|
-
})) == null ? void 0 : _a3.text) ||
|
|
27038
|
+
})) == null ? void 0 : _a3.text) || value;
|
|
27039
|
+
} else if (fieldColumnC) {
|
|
27040
|
+
value = fieldColumnC.formatValue(value) + (fieldColumnC.model.unitName || "");
|
|
27037
27041
|
}
|
|
27042
|
+
item[key] = value;
|
|
27038
27043
|
});
|
|
27039
27044
|
});
|
|
27040
27045
|
return cloneData;
|
|
@@ -29981,6 +29986,7 @@ var SearchBarController = class extends ControlController {
|
|
|
29981
29986
|
};
|
|
29982
29987
|
|
|
29983
29988
|
// src/controller/control/tab-exp-panel/tab-exp-panel.controller.ts
|
|
29989
|
+
import { createUUID as createUUID13 } from "qx-util";
|
|
29984
29990
|
var TabExpPanelController = class extends ControlController {
|
|
29985
29991
|
constructor() {
|
|
29986
29992
|
super(...arguments);
|
|
@@ -30039,6 +30045,7 @@ var TabExpPanelController = class extends ControlController {
|
|
|
30039
30045
|
super.initState();
|
|
30040
30046
|
this.state.tabPages = [];
|
|
30041
30047
|
this.state.activeName = "";
|
|
30048
|
+
this.state.expViewParams = {};
|
|
30042
30049
|
}
|
|
30043
30050
|
/**
|
|
30044
30051
|
* 创建完成
|
|
@@ -30192,7 +30199,7 @@ var TabExpPanelController = class extends ControlController {
|
|
|
30192
30199
|
const context = Object.assign(this.context.clone(), resultContext, {
|
|
30193
30200
|
currentSrfNav: this.state.activeName
|
|
30194
30201
|
});
|
|
30195
|
-
const params = { ...resultParams };
|
|
30202
|
+
const params = { ...resultParams, ...this.state.expViewParams };
|
|
30196
30203
|
return { context, params };
|
|
30197
30204
|
}
|
|
30198
30205
|
/**
|
|
@@ -30215,6 +30222,11 @@ var TabExpPanelController = class extends ControlController {
|
|
|
30215
30222
|
modalOptions: { replace: true }
|
|
30216
30223
|
};
|
|
30217
30224
|
}
|
|
30225
|
+
refresh() {
|
|
30226
|
+
const navViewMsg = this.getNavViewMsg(this.activeTabViewPanelModel);
|
|
30227
|
+
navViewMsg.key += createUUID13();
|
|
30228
|
+
this.evt.emit("onNavViewChange", { navViewMsg });
|
|
30229
|
+
}
|
|
30218
30230
|
};
|
|
30219
30231
|
|
|
30220
30232
|
// src/controller/control/tree/tree.controller.ts
|
|
@@ -33632,7 +33644,7 @@ var TreeGridService = class extends GridService {
|
|
|
33632
33644
|
|
|
33633
33645
|
// src/controller/control/medit-view-panel/medit-view-panel.controller.ts
|
|
33634
33646
|
import { RuntimeError as RuntimeError65 } from "@ibiz-template/core";
|
|
33635
|
-
import { createUUID as
|
|
33647
|
+
import { createUUID as createUUID14 } from "qx-util";
|
|
33636
33648
|
|
|
33637
33649
|
// src/controller/control/medit-view-panel/medit-view-panel.service.ts
|
|
33638
33650
|
var MEditViewPanelService = class extends MDControlService {
|
|
@@ -33719,7 +33731,7 @@ var MEditViewPanelController = class extends MDControlController {
|
|
|
33719
33731
|
*/
|
|
33720
33732
|
handlePanelItemParams(arg) {
|
|
33721
33733
|
const [{ parameterName }] = this.parameters;
|
|
33722
|
-
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(
|
|
33734
|
+
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(createUUID14());
|
|
33723
33735
|
const item = {
|
|
33724
33736
|
id,
|
|
33725
33737
|
context: this.context.clone(),
|