@ibiz-template/runtime 0.7.41-alpha.51 → 0.7.41-alpha.53
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 +272 -86
- package/dist/index.system.min.js +1 -1
- package/out/controller/common/control/md-control.controller.d.ts +6 -0
- package/out/controller/common/control/md-control.controller.d.ts.map +1 -1
- package/out/controller/common/control/md-control.controller.js +7 -0
- package/out/controller/control/chart/chart.controller.d.ts.map +1 -1
- package/out/controller/control/chart/chart.controller.js +3 -2
- package/out/controller/control/form/form/form.controller.d.ts +7 -0
- package/out/controller/control/form/form/form.controller.d.ts.map +1 -1
- package/out/controller/control/form/form/form.controller.js +11 -0
- package/out/controller/control/grid/grid/grid.controller.d.ts +6 -0
- package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +19 -1
- package/out/controller/control/report-panel/generator/base-generator.d.ts +3 -2
- package/out/controller/control/report-panel/generator/base-generator.d.ts.map +1 -1
- package/out/controller/control/report-panel/generator/base-generator.js +1 -0
- package/out/controller/control/toolbar/toolbar.controller.d.ts.map +1 -1
- package/out/controller/control/toolbar/toolbar.controller.js +16 -8
- package/out/controller/ctx/ctx.d.ts +6 -4
- package/out/controller/ctx/ctx.d.ts.map +1 -1
- package/out/controller/ctx/ctx.js +1 -0
- package/out/controller/hub.controller.d.ts +8 -4
- package/out/controller/hub.controller.d.ts.map +1 -1
- package/out/controller/hub.controller.js +5 -3
- package/out/interface/api/app/i-api-app-hub-controller.d.ts +23 -19
- package/out/interface/api/app/i-api-app-hub-controller.d.ts.map +1 -1
- package/out/interface/api/app/i-api-app-hub-service.d.ts +9 -9
- package/out/interface/api/app/i-micro-app-config-center.d.ts +3 -3
- package/out/interface/api/call/i-api-data-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-edit-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-grid-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-list-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-login-view.call.d.ts +21 -5
- package/out/interface/api/call/i-api-login-view.call.d.ts.map +1 -1
- package/out/interface/api/call/i-api-md-custom-view.call.d.ts +3 -3
- package/out/interface/api/call/i-api-md-view.call.d.ts +6 -6
- package/out/interface/api/call/i-api-mob-wf-dyna-edit-view.call.d.ts +1 -1
- package/out/interface/api/call/i-api-tree-exp-view.call.d.ts +4 -4
- package/out/interface/api/call/i-api-tree-grid-ex-view.call.d.ts +1 -1
- package/out/interface/api/call/i-api-tree-grid-view.call.d.ts +4 -7
- package/out/interface/api/call/i-api-tree-grid-view.call.d.ts.map +1 -1
- package/out/interface/api/call/i-api-tree-view.call.d.ts +4 -4
- package/out/interface/api/call/i-api-view.call.d.ts +1 -1
- package/out/interface/api/common/global-config/i-api-global-form-config.d.ts +0 -1
- 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-search-form-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts.map +1 -1
- package/out/interface/api/common/i-api-ctx.d.ts +41 -0
- package/out/interface/api/common/i-api-ctx.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ctx.js +1 -0
- package/out/interface/api/common/i-api-error-handler.d.ts +15 -0
- package/out/interface/api/common/i-api-error-handler.d.ts.map +1 -0
- package/out/interface/api/common/i-api-error-handler.js +1 -0
- package/out/interface/api/common/i-api-modal-option.d.ts +50 -0
- package/out/interface/api/common/i-api-modal-option.d.ts.map +1 -0
- package/out/interface/api/common/i-api-modal-option.js +1 -0
- package/out/interface/api/common/i-api-overlay-container-options.d.ts +3 -3
- package/out/interface/api/common/i-api-overlay-container-options.d.ts.map +1 -1
- package/out/interface/api/common/i-api-ui-action-result.d.ts +51 -0
- package/out/interface/api/common/i-api-ui-action-result.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ui-action-result.js +1 -0
- package/out/interface/api/common/i-api-ui-logic-params.d.ts +52 -0
- package/out/interface/api/common/i-api-ui-logic-params.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ui-logic-params.js +1 -0
- package/out/interface/api/common/index.d.ts +5 -0
- package/out/interface/api/common/index.d.ts.map +1 -1
- package/out/interface/api/controller/common/i-api-enforceable.controller.d.ts +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-button-controller.d.ts +3 -3
- package/out/interface/api/controller/control/form-detail/i-api-form-button-list.controller.d.ts +6 -6
- package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts +1 -0
- package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-group-panel.controller.d.ts +3 -3
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts +1 -7
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-repeater.controller.d.ts +2 -2
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl.controller.d.ts +2 -2
- package/out/interface/api/controller/control/grid-column/i-api-grid-column.controller.d.ts +1 -1
- package/out/interface/api/controller/control/grid-column/i-api-grid-field-column.controller.d.ts +6 -6
- package/out/interface/api/controller/control/grid-column/i-api-grid-field-edit-column.controller.d.ts +3 -3
- package/out/interface/api/controller/control/grid-column/i-api-grid-ua-column.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-calendar.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-chart.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-control.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-data-view-control.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-drbar.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-drtab.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts +7 -6
- package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-exp-bar-control.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-form.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-gantt.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-grid.controller.d.ts +4 -4
- package/out/interface/api/controller/control/i-api-kanban.controller.d.ts +2 -3
- package/out/interface/api/controller/control/i-api-kanban.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-list.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-map.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-md-control.controller.d.ts +7 -7
- package/out/interface/api/controller/control/i-api-medit-view-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-pickup-view-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts +4 -3
- package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts +4 -3
- package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-search-form.controller.d.ts +3 -2
- package/out/interface/api/controller/control/i-api-search-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-tab-exp-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-toolbar.controller.d.ts +4 -4
- package/out/interface/api/controller/control/i-api-tree-grid-ex.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-tree-grid.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-tree.controller.d.ts +3 -3
- package/out/interface/api/controller/control/index.d.ts +2 -1
- package/out/interface/api/controller/control/index.d.ts.map +1 -1
- package/out/interface/api/controller/control/index.js +1 -0
- package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts +11 -7
- package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts +33 -0
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts.map +1 -0
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.js +1 -0
- package/out/interface/api/controller/control/report-panel/index.d.ts +2 -0
- package/out/interface/api/controller/control/report-panel/index.d.ts.map +1 -0
- package/out/interface/api/controller/control/report-panel/index.js +1 -0
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +3 -3
- package/out/interface/api/service/i-api-app-de.service.d.ts +46 -44
- package/out/interface/api/service/i-api-app-de.service.d.ts.map +1 -1
- package/out/interface/api/service/i-api-auth-result.d.ts +4 -4
- package/out/interface/api/service/i-api-auth-result.d.ts.map +1 -1
- package/out/interface/api/service/i-api-code-list.service.d.ts +5 -5
- package/out/interface/api/service/i-api-de-service-util.d.ts +7 -7
- package/out/interface/api/service/index.d.ts +1 -0
- package/out/interface/api/service/index.d.ts.map +1 -1
- package/out/interface/api/service/vo/i-api-control.vo.d.ts +89 -0
- package/out/interface/api/service/vo/i-api-control.vo.d.ts.map +1 -0
- package/out/interface/api/service/vo/i-api-control.vo.js +1 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.d.ts +54 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.d.ts.map +1 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.js +1 -0
- package/out/interface/api/service/vo/index.d.ts +3 -0
- package/out/interface/api/service/vo/index.d.ts.map +1 -0
- package/out/interface/api/service/vo/index.js +1 -0
- package/out/interface/api/state/common/i-api-button-container.state.d.ts +1 -1
- package/out/interface/api/state/common/i-api-button.state.d.ts +1 -1
- package/out/interface/api/state/control/i-api-app-menu.state.d.ts +1 -1
- package/out/interface/api/state/control/i-api-calendar.state.d.ts +33 -2
- package/out/interface/api/state/control/i-api-calendar.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-chart.state.d.ts +48 -9
- package/out/interface/api/state/control/i-api-chart.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-control.state.d.ts +0 -1
- package/out/interface/api/state/control/i-api-control.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-grid.state.d.ts +4 -3
- package/out/interface/api/state/control/i-api-grid.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts +8 -8
- package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts.map +1 -1
- package/out/interface/api/state/control/portlet/i-api-portlet.state.d.ts +1 -1
- package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
- package/out/interface/api/util/i-api-ai-chat-util.d.ts +99 -22
- package/out/interface/api/util/i-api-ai-chat-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-app-util.d.ts +31 -27
- package/out/interface/api/util/i-api-app-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
- package/out/interface/api/util/i-api-encryption-util.d.ts +15 -0
- package/out/interface/api/util/i-api-encryption-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-encryption-util.js +1 -0
- package/out/interface/api/util/i-api-error-handle-center.d.ts +21 -0
- package/out/interface/api/util/i-api-error-handle-center.d.ts.map +1 -0
- package/out/interface/api/util/i-api-error-handle-center.js +1 -0
- package/out/interface/api/util/i-api-excel-util.d.ts +25 -0
- package/out/interface/api/util/i-api-excel-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-excel-util.js +1 -0
- package/out/interface/api/util/i-api-file-util.d.ts +17 -17
- package/out/interface/api/util/i-api-file-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-fullscreen-util.d.ts +5 -4
- package/out/interface/api/util/i-api-fullscreen-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-global-util.d.ts +58 -1
- package/out/interface/api/util/i-api-global-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-handlebars-util.d.ts +4 -4
- package/out/interface/api/util/i-api-html2canvas-util.d.ts +4 -4
- package/out/interface/api/util/i-api-inline-ai-util.d.ts +12 -12
- package/out/interface/api/util/i-api-inline-ai-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-json-util.d.ts +15 -14
- package/out/interface/api/util/i-api-json-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-message-util.d.ts +2 -3
- package/out/interface/api/util/i-api-message-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-modal-util.d.ts +6 -6
- package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
- package/out/interface/api/util/i-api-open-view-util.d.ts +33 -29
- package/out/interface/api/util/i-api-open-view-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-qrcode-util.d.ts +5 -4
- package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
- package/out/interface/api/util/i-api-short-cut-util.d.ts +24 -8
- package/out/interface/api/util/i-api-short-cut-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-text-util.d.ts +7 -0
- package/out/interface/api/util/i-api-text-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-ui-action-util.d.ts +36 -0
- package/out/interface/api/util/i-api-ui-action-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-ui-action-util.js +1 -0
- package/out/interface/api/util/i-api-voice-util.d.ts +3 -4
- package/out/interface/api/util/i-api-voice-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-water-mark-util.d.ts +3 -3
- package/out/interface/api/util/i-api-wechat-util.d.ts +11 -3
- package/out/interface/api/util/i-api-wechat-util.d.ts.map +1 -1
- package/out/interface/api/util/index.d.ts +4 -0
- package/out/interface/api/util/index.d.ts.map +1 -1
- package/out/interface/common/i-error-handler/i-error-handler.d.ts +3 -8
- package/out/interface/common/i-error-handler/i-error-handler.d.ts.map +1 -1
- package/out/interface/common/i-modal-options/i-modal-options.d.ts +2 -55
- package/out/interface/common/i-modal-options/i-modal-options.d.ts.map +1 -1
- package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts +3 -57
- package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts.map +1 -1
- package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts +3 -36
- package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts.map +1 -1
- package/out/interface/controller/controller/i.controller.d.ts +6 -0
- package/out/interface/controller/controller/i.controller.d.ts.map +1 -1
- package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts +3 -10
- package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts.map +1 -1
- package/out/interface/util/i-excel-util/i-excel-util.d.ts +3 -12
- package/out/interface/util/i-excel-util/i-excel-util.d.ts.map +1 -1
- package/out/model/utils/util.d.ts +28 -1
- package/out/model/utils/util.d.ts.map +1 -1
- package/out/model/utils/util.js +138 -0
- package/out/ui-action/uiaction-util.d.ts +8 -0
- package/out/ui-action/uiaction-util.d.ts.map +1 -1
- package/out/ui-action/uiaction-util.js +12 -0
- package/out/utils/error-handler/error-handler-center.d.ts +3 -2
- package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
- package/out/utils/error-handler/error-handler-center.js +1 -0
- package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
- package/out/utils/open-redirect-view/open-redirect-view.js +4 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -20245,6 +20245,7 @@ import { isNumber } from "lodash-es";
|
|
|
20245
20245
|
|
|
20246
20246
|
// src/model/utils/util.ts
|
|
20247
20247
|
import { RuntimeModelError as RuntimeModelError2 } from "@ibiz-template/core";
|
|
20248
|
+
import { createUUID as createUUID2, isArray as isArray2 } from "qx-util";
|
|
20248
20249
|
|
|
20249
20250
|
// src/constant/control-type.ts
|
|
20250
20251
|
var ControlType = /* @__PURE__ */ ((ControlType2) => {
|
|
@@ -20825,6 +20826,118 @@ function getCtrlTeleportParams(control) {
|
|
|
20825
20826
|
teleportFlag
|
|
20826
20827
|
};
|
|
20827
20828
|
}
|
|
20829
|
+
async function calcDyUiactionGroup(refUIActionGroup, context, params) {
|
|
20830
|
+
const {
|
|
20831
|
+
appId: appId2,
|
|
20832
|
+
detailAppDataEntityId,
|
|
20833
|
+
detailAppDEDataSetId,
|
|
20834
|
+
// 界面行为标记
|
|
20835
|
+
uiactionTagAppDEFieldId,
|
|
20836
|
+
// 文本属性
|
|
20837
|
+
textAppDEFieldId,
|
|
20838
|
+
// 提示值属性
|
|
20839
|
+
tipsAppDEFieldId,
|
|
20840
|
+
// 可见逻辑属性
|
|
20841
|
+
visibleScriptAppDEFieldId,
|
|
20842
|
+
// 图标样式属性
|
|
20843
|
+
iconClsAppDEFieldId,
|
|
20844
|
+
// 样式表属性
|
|
20845
|
+
clsAppDEFieldId,
|
|
20846
|
+
// 按钮样式属性
|
|
20847
|
+
buttonStyleAppDEFieldId,
|
|
20848
|
+
// 行为级别属性
|
|
20849
|
+
actionLevelAppDEFieldId,
|
|
20850
|
+
// 启用逻辑属性
|
|
20851
|
+
enableScriptAppDEFieldId
|
|
20852
|
+
} = refUIActionGroup;
|
|
20853
|
+
const details = [];
|
|
20854
|
+
try {
|
|
20855
|
+
if (detailAppDEDataSetId && detailAppDataEntityId) {
|
|
20856
|
+
const response = await ibiz.hub.getApp(appId2).deService.exec(
|
|
20857
|
+
detailAppDataEntityId,
|
|
20858
|
+
detailAppDEDataSetId,
|
|
20859
|
+
context,
|
|
20860
|
+
params
|
|
20861
|
+
);
|
|
20862
|
+
if (response.ok && isArray2(response.data)) {
|
|
20863
|
+
response.data.forEach((_item) => {
|
|
20864
|
+
const action = {
|
|
20865
|
+
uiactionId: _item[uiactionTagAppDEFieldId],
|
|
20866
|
+
caption: _item[textAppDEFieldId],
|
|
20867
|
+
tooltip: _item[tipsAppDEFieldId],
|
|
20868
|
+
visibleScriptCode: _item[visibleScriptAppDEFieldId],
|
|
20869
|
+
sysImage: _item[iconClsAppDEFieldId],
|
|
20870
|
+
sysCss: _item[clsAppDEFieldId],
|
|
20871
|
+
buttonStyle: _item[buttonStyleAppDEFieldId],
|
|
20872
|
+
actionLevel: _item[actionLevelAppDEFieldId],
|
|
20873
|
+
enableScriptCode: _item[enableScriptAppDEFieldId],
|
|
20874
|
+
// 适配显示逻辑
|
|
20875
|
+
showCaption: !!_item[textAppDEFieldId],
|
|
20876
|
+
showIcon: !!_item[iconClsAppDEFieldId],
|
|
20877
|
+
detailType: "DEUIACTION",
|
|
20878
|
+
itemType: "DEUIACTION",
|
|
20879
|
+
id: "".concat(createUUID2()),
|
|
20880
|
+
appId: appId2
|
|
20881
|
+
};
|
|
20882
|
+
if (action.uiactionId)
|
|
20883
|
+
details.push(action);
|
|
20884
|
+
});
|
|
20885
|
+
}
|
|
20886
|
+
}
|
|
20887
|
+
} catch (error) {
|
|
20888
|
+
ibiz.log.error(error);
|
|
20889
|
+
}
|
|
20890
|
+
return details;
|
|
20891
|
+
}
|
|
20892
|
+
async function calcUIActionDetails(uiactionGroupDetails, context, params) {
|
|
20893
|
+
const refActionDetails = [];
|
|
20894
|
+
uiactionGroupDetails.forEach((detail, index) => {
|
|
20895
|
+
var _a3;
|
|
20896
|
+
if (detail.detailType === "DEUIACTIONGROUP" && detail.refUIActionGroup && !((_a3 = detail.refUIActionGroup) == null ? void 0 : _a3.uiactionGroupDetails)) {
|
|
20897
|
+
refActionDetails.push({ detail, index });
|
|
20898
|
+
}
|
|
20899
|
+
});
|
|
20900
|
+
const asyncTasks = [];
|
|
20901
|
+
refActionDetails.forEach(({ detail }) => {
|
|
20902
|
+
const { refUIActionGroup } = detail;
|
|
20903
|
+
const task = calcDyUiactionGroup(refUIActionGroup, context, params);
|
|
20904
|
+
asyncTasks.push(task);
|
|
20905
|
+
});
|
|
20906
|
+
const replaceDataList = await Promise.all(asyncTasks);
|
|
20907
|
+
const sortedRefDetails = [...refActionDetails].sort(
|
|
20908
|
+
(a, b) => b.index - a.index
|
|
20909
|
+
);
|
|
20910
|
+
sortedRefDetails.forEach(({ index }, i) => {
|
|
20911
|
+
const replaceData = replaceDataList[i];
|
|
20912
|
+
uiactionGroupDetails.splice(index, 1, ...replaceData);
|
|
20913
|
+
});
|
|
20914
|
+
return uiactionGroupDetails;
|
|
20915
|
+
}
|
|
20916
|
+
async function calcAllUIActionDetails(details, context, params) {
|
|
20917
|
+
const actions = [];
|
|
20918
|
+
const asyncTasks = [];
|
|
20919
|
+
const addAction = (items) => {
|
|
20920
|
+
if (!isArray2(items) || !(items == null ? void 0 : items.length))
|
|
20921
|
+
return;
|
|
20922
|
+
const task = calcUIActionDetails(items, context, params);
|
|
20923
|
+
asyncTasks.push(task);
|
|
20924
|
+
items.forEach((item) => {
|
|
20925
|
+
var _a3, _b2;
|
|
20926
|
+
if (item.detailType === "DEUIACTIONGROUP") {
|
|
20927
|
+
if ((_b2 = (_a3 = item.refUIActionGroup) == null ? void 0 : _a3.uiactionGroupDetails) == null ? void 0 : _b2.length)
|
|
20928
|
+
addAction(item.refUIActionGroup.uiactionGroupDetails);
|
|
20929
|
+
}
|
|
20930
|
+
});
|
|
20931
|
+
};
|
|
20932
|
+
addAction(details || []);
|
|
20933
|
+
const allActionDetails = await Promise.all(asyncTasks);
|
|
20934
|
+
allActionDetails.forEach((_details) => {
|
|
20935
|
+
_details.forEach((detail) => {
|
|
20936
|
+
actions.push(detail);
|
|
20937
|
+
});
|
|
20938
|
+
});
|
|
20939
|
+
return actions;
|
|
20940
|
+
}
|
|
20828
20941
|
function getAllUIActionItems(details = []) {
|
|
20829
20942
|
const actions = [];
|
|
20830
20943
|
const addAction = (items) => {
|
|
@@ -20844,7 +20957,7 @@ function getAllUIActionItems(details = []) {
|
|
|
20844
20957
|
}
|
|
20845
20958
|
|
|
20846
20959
|
// src/model/layout/layout.ts
|
|
20847
|
-
import { isArray as
|
|
20960
|
+
import { isArray as isArray3, isObject, isString } from "lodash-es";
|
|
20848
20961
|
function calcLayoutHeightWidth(layoutPos) {
|
|
20849
20962
|
const { width, height, widthMode, heightMode } = layoutPos;
|
|
20850
20963
|
const result = { width: "", height: "" };
|
|
@@ -20946,7 +21059,7 @@ function calcDynaClass(expression, data) {
|
|
|
20946
21059
|
});
|
|
20947
21060
|
if (isString(result)) {
|
|
20948
21061
|
classArr.push(result);
|
|
20949
|
-
} else if (
|
|
21062
|
+
} else if (isArray3(result)) {
|
|
20950
21063
|
classArr.push(...result);
|
|
20951
21064
|
} else if (isObject(result)) {
|
|
20952
21065
|
Object.keys(result).forEach((key) => {
|
|
@@ -21400,6 +21513,9 @@ async function getLocalOpenWFRedirectView(context, linkUrl, opts = {}) {
|
|
|
21400
21513
|
context.srfprocessinstanceid = params.srfprocessinstanceid;
|
|
21401
21514
|
delete params.srfprocessinstanceid;
|
|
21402
21515
|
}
|
|
21516
|
+
if (deRdView && deRdView.appId !== context.srfappid) {
|
|
21517
|
+
context.srfappid = deRdView.appId;
|
|
21518
|
+
}
|
|
21403
21519
|
return {
|
|
21404
21520
|
context,
|
|
21405
21521
|
params,
|
|
@@ -24693,7 +24809,7 @@ import { clone as clone6, isNil as isNil10 } from "ramda";
|
|
|
24693
24809
|
import { QXEvent as QXEvent3, notNilEmpty as notNilEmpty6 } from "qx-util";
|
|
24694
24810
|
|
|
24695
24811
|
// src/service/vo/control.vo.ts
|
|
24696
|
-
import { createUUID as
|
|
24812
|
+
import { createUUID as createUUID3 } from "qx-util";
|
|
24697
24813
|
import { clone as clone3, isNil as isNil6 } from "ramda";
|
|
24698
24814
|
|
|
24699
24815
|
// src/service/constant/srfuf.ts
|
|
@@ -24793,7 +24909,7 @@ var ControlVO = class _ControlVO {
|
|
|
24793
24909
|
enumerable: false,
|
|
24794
24910
|
configurable: true,
|
|
24795
24911
|
writable: true,
|
|
24796
|
-
value: isNil6(this.srfkey) ?
|
|
24912
|
+
value: isNil6(this.srfkey) ? createUUID3() : this.srfkey
|
|
24797
24913
|
});
|
|
24798
24914
|
}
|
|
24799
24915
|
if (Object.prototype.hasOwnProperty.call(this.$origin, "srfuf")) {
|
|
@@ -24922,11 +25038,11 @@ var ControlVO = class _ControlVO {
|
|
|
24922
25038
|
};
|
|
24923
25039
|
|
|
24924
25040
|
// src/service/vo/tree-node-data/tree-node-data.ts
|
|
24925
|
-
import { createUUID as
|
|
25041
|
+
import { createUUID as createUUID4 } from "qx-util";
|
|
24926
25042
|
import { isBase64Image } from "@ibiz-template/core";
|
|
24927
25043
|
var TreeNodeData = class {
|
|
24928
25044
|
constructor(model, parentNodeData, opts) {
|
|
24929
|
-
this._uuid =
|
|
25045
|
+
this._uuid = createUUID4();
|
|
24930
25046
|
this._leaf = false;
|
|
24931
25047
|
this._defaultExpand = false;
|
|
24932
25048
|
this._draggable = false;
|
|
@@ -25751,7 +25867,7 @@ var PanelData = class {
|
|
|
25751
25867
|
};
|
|
25752
25868
|
|
|
25753
25869
|
// src/service/vo/chart-data/chart-data.ts
|
|
25754
|
-
import { createUUID as
|
|
25870
|
+
import { createUUID as createUUID5 } from "qx-util";
|
|
25755
25871
|
function updateKeyDefine5(target, keys) {
|
|
25756
25872
|
keys.forEach((key) => {
|
|
25757
25873
|
if (!Object.prototype.hasOwnProperty.call(target, key)) {
|
|
@@ -25771,7 +25887,7 @@ var ChartData = class {
|
|
|
25771
25887
|
this._seriesModelId = seriesModel == null ? void 0 : seriesModel.id;
|
|
25772
25888
|
this._catalog = catalog;
|
|
25773
25889
|
this._groupName = groupName;
|
|
25774
|
-
this._uuid =
|
|
25890
|
+
this._uuid = createUUID5();
|
|
25775
25891
|
this._chartid = chartId;
|
|
25776
25892
|
this._catalogLevelData = catalogLevelData;
|
|
25777
25893
|
return new Proxy(this, {
|
|
@@ -25961,10 +26077,10 @@ var GanttCodeListNodeData = class extends TreeCodeListNodeData {
|
|
|
25961
26077
|
};
|
|
25962
26078
|
|
|
25963
26079
|
// src/service/vo/gantt-node-data/gantt-node-link-data.ts
|
|
25964
|
-
import { createUUID as
|
|
26080
|
+
import { createUUID as createUUID6 } from "qx-util";
|
|
25965
26081
|
var GanttNodeLinkData = class {
|
|
25966
26082
|
constructor(opts) {
|
|
25967
|
-
this._uuid =
|
|
26083
|
+
this._uuid = createUUID6();
|
|
25968
26084
|
const { data, fromData, toData, fromDataItemName, toDataItemName } = opts;
|
|
25969
26085
|
this._deData = data;
|
|
25970
26086
|
this._fromData = fromData;
|
|
@@ -26776,7 +26892,7 @@ var DynamicCodeListCache = class {
|
|
|
26776
26892
|
|
|
26777
26893
|
// src/service/utils/de-cache/de-cache.ts
|
|
26778
26894
|
import { where, equals, clone as clone7, isNil as isNil12, isEmpty as isEmpty6 } from "ramda";
|
|
26779
|
-
import { createUUID as
|
|
26895
|
+
import { createUUID as createUUID7 } from "qx-util";
|
|
26780
26896
|
import { RuntimeError as RuntimeError15 } from "@ibiz-template/core";
|
|
26781
26897
|
|
|
26782
26898
|
// src/service/utils/service-exist-util/service-exist-util.ts
|
|
@@ -26905,7 +27021,7 @@ var DECache = class {
|
|
|
26905
27021
|
try {
|
|
26906
27022
|
isExistSessionId("add", context);
|
|
26907
27023
|
if (isNil12(entity.srfkey) || isEmpty6(entity.srfkey)) {
|
|
26908
|
-
entity.srfkey =
|
|
27024
|
+
entity.srfkey = createUUID7();
|
|
26909
27025
|
}
|
|
26910
27026
|
entity.srftempdate = (/* @__PURE__ */ new Date()).getTime();
|
|
26911
27027
|
const commit = () => {
|
|
@@ -27055,7 +27171,7 @@ var DECache = class {
|
|
|
27055
27171
|
for (let i = 0; i < entities.length; i++) {
|
|
27056
27172
|
const entity = entities[i];
|
|
27057
27173
|
if (isNil12(entity.srfkey) || isEmpty6(entity.srfkey)) {
|
|
27058
|
-
entity.srfkey =
|
|
27174
|
+
entity.srfkey = createUUID7();
|
|
27059
27175
|
}
|
|
27060
27176
|
entity.srftempdate = (/* @__PURE__ */ new Date()).getTime();
|
|
27061
27177
|
const data = clone7(entity);
|
|
@@ -28103,7 +28219,7 @@ import {
|
|
|
28103
28219
|
RuntimeError as RuntimeError18,
|
|
28104
28220
|
RuntimeModelError as RuntimeModelError8
|
|
28105
28221
|
} from "@ibiz-template/core";
|
|
28106
|
-
import { createUUID as
|
|
28222
|
+
import { createUUID as createUUID9 } from "qx-util";
|
|
28107
28223
|
|
|
28108
28224
|
// src/service/service/work-flow/work-flow.service.ts
|
|
28109
28225
|
import { RuntimeError as RuntimeError17 } from "@ibiz-template/core";
|
|
@@ -28477,7 +28593,7 @@ var FileService = class {
|
|
|
28477
28593
|
// src/service/app-data-entity/app-data-entity.ts
|
|
28478
28594
|
import { clone as clone8, isNil as isNil14 } from "ramda";
|
|
28479
28595
|
import { DataTypes as DataTypes2 } from "@ibiz-template/core";
|
|
28480
|
-
import { createUUID as
|
|
28596
|
+
import { createUUID as createUUID8 } from "qx-util";
|
|
28481
28597
|
var AppDataEntity = class _AppDataEntity {
|
|
28482
28598
|
get srfuf() {
|
|
28483
28599
|
return this.srfkey === this.tempsrfkey ? 1 /* UPDATE */ : 0 /* CREATE */;
|
|
@@ -28567,7 +28683,7 @@ var AppDataEntity = class _AppDataEntity {
|
|
|
28567
28683
|
enumerable: false,
|
|
28568
28684
|
configurable: true,
|
|
28569
28685
|
writable: true,
|
|
28570
|
-
value: isNil14(this.srfkey) ?
|
|
28686
|
+
value: isNil14(this.srfkey) ? createUUID8() : this.srfkey
|
|
28571
28687
|
});
|
|
28572
28688
|
Object.defineProperty(this, "srfunionkey", {
|
|
28573
28689
|
enumerable: false,
|
|
@@ -29107,7 +29223,7 @@ var DEService = class {
|
|
|
29107
29223
|
const tempContext = IBizContext3.create(result);
|
|
29108
29224
|
const method = await this.getMethod(id);
|
|
29109
29225
|
if (method) {
|
|
29110
|
-
const processTag =
|
|
29226
|
+
const processTag = createUUID9();
|
|
29111
29227
|
this.methodProcesser.increment(processTag, method);
|
|
29112
29228
|
try {
|
|
29113
29229
|
const response = await method.exec(
|
|
@@ -29476,7 +29592,7 @@ var ControlService = class {
|
|
|
29476
29592
|
};
|
|
29477
29593
|
|
|
29478
29594
|
// src/service/service/control/md-control.service.ts
|
|
29479
|
-
import { isArray as
|
|
29595
|
+
import { isArray as isArray4 } from "qx-util";
|
|
29480
29596
|
var MDControlService = class extends ControlService {
|
|
29481
29597
|
/**
|
|
29482
29598
|
* 执行查询多条数据的方法
|
|
@@ -29643,7 +29759,7 @@ var MDControlService = class extends ControlService {
|
|
|
29643
29759
|
}
|
|
29644
29760
|
}
|
|
29645
29761
|
if (res.ok) {
|
|
29646
|
-
if (
|
|
29762
|
+
if (isArray4(res.data)) {
|
|
29647
29763
|
res.data = res.data.map((item) => this.toUIData(item));
|
|
29648
29764
|
} else {
|
|
29649
29765
|
res.data = this.toUIData(res.data);
|
|
@@ -30357,7 +30473,7 @@ import {
|
|
|
30357
30473
|
RuntimeError as RuntimeError21,
|
|
30358
30474
|
RuntimeModelError as RuntimeModelError21
|
|
30359
30475
|
} from "@ibiz-template/core";
|
|
30360
|
-
import { isArray as
|
|
30476
|
+
import { isArray as isArray7, isNil as isNil16 } from "lodash-es";
|
|
30361
30477
|
import { ascSort } from "qx-util";
|
|
30362
30478
|
import { clone as clone16 } from "ramda";
|
|
30363
30479
|
|
|
@@ -30653,14 +30769,14 @@ var Method = class {
|
|
|
30653
30769
|
|
|
30654
30770
|
// src/de-logic/index.ts
|
|
30655
30771
|
import { HttpError as HttpError5, HttpResponse as HttpResponse2, RuntimeError as RuntimeError20 } from "@ibiz-template/core";
|
|
30656
|
-
import { isArray as
|
|
30772
|
+
import { isArray as isArray6 } from "lodash-es";
|
|
30657
30773
|
import { clone as clone15 } from "ramda";
|
|
30658
30774
|
|
|
30659
30775
|
// src/de-logic/de-logic.ts
|
|
30660
30776
|
import { ModelError as ModelError13, RuntimeModelError as RuntimeModelError20 } from "@ibiz-template/core";
|
|
30661
30777
|
|
|
30662
30778
|
// src/de-logic/de-logic-context.ts
|
|
30663
|
-
import { isArray as
|
|
30779
|
+
import { isArray as isArray5 } from "lodash-es";
|
|
30664
30780
|
var DELogicContext = class {
|
|
30665
30781
|
/**
|
|
30666
30782
|
* Creates an instance of DELogicContext.
|
|
@@ -30707,7 +30823,7 @@ var DELogicContext = class {
|
|
|
30707
30823
|
* @type {string}
|
|
30708
30824
|
*/
|
|
30709
30825
|
this.defaultParamName = "Default";
|
|
30710
|
-
this.parameters = { context, data:
|
|
30826
|
+
this.parameters = { context, data: isArray5(data) ? data : [data], params };
|
|
30711
30827
|
}
|
|
30712
30828
|
/**
|
|
30713
30829
|
* 上下文
|
|
@@ -32035,7 +32151,7 @@ async function execFieldLogics(entity, type, context, data, params = {}) {
|
|
|
32035
32151
|
if (!data) {
|
|
32036
32152
|
return;
|
|
32037
32153
|
}
|
|
32038
|
-
if (
|
|
32154
|
+
if (isArray6(data)) {
|
|
32039
32155
|
await Promise.all(
|
|
32040
32156
|
data.map(
|
|
32041
32157
|
(item) => execSingleFieldLogics(entity, type, context, item, params)
|
|
@@ -32057,7 +32173,7 @@ var DEActionMethod = class extends Method {
|
|
|
32057
32173
|
* @return {*} {(Promise<IData | IData[]>)}
|
|
32058
32174
|
*/
|
|
32059
32175
|
async inputHandle(context, data) {
|
|
32060
|
-
if (
|
|
32176
|
+
if (isArray7(data)) {
|
|
32061
32177
|
return data;
|
|
32062
32178
|
}
|
|
32063
32179
|
return this.input.handle(context, data);
|
|
@@ -32163,7 +32279,7 @@ var DEActionMethod = class extends Method {
|
|
|
32163
32279
|
if (this.method.needResourceKey) {
|
|
32164
32280
|
let srfkey = context[this.entity.codeName.toLowerCase()];
|
|
32165
32281
|
if (isNil16(srfkey)) {
|
|
32166
|
-
srfkey =
|
|
32282
|
+
srfkey = isArray7(data) ? null : data == null ? void 0 : data[this.entity.keyAppDEFieldId];
|
|
32167
32283
|
}
|
|
32168
32284
|
path2 = "".concat(path2, "/").concat(srfkey);
|
|
32169
32285
|
}
|
|
@@ -32377,7 +32493,7 @@ var DEActionMethod = class extends Method {
|
|
|
32377
32493
|
try {
|
|
32378
32494
|
const addData = this.createEntity(entity);
|
|
32379
32495
|
let resultData;
|
|
32380
|
-
if (
|
|
32496
|
+
if (isArray7(addData)) {
|
|
32381
32497
|
const result = await Promise.all(
|
|
32382
32498
|
addData.map(
|
|
32383
32499
|
(item) => this.service.local.add(context, this.attach(context, item))
|
|
@@ -32586,7 +32702,7 @@ var DEActionMethod = class extends Method {
|
|
|
32586
32702
|
try {
|
|
32587
32703
|
const updateData = this.createEntity(entity);
|
|
32588
32704
|
let resultData;
|
|
32589
|
-
if (
|
|
32705
|
+
if (isArray7(updateData)) {
|
|
32590
32706
|
const result = await Promise.all(
|
|
32591
32707
|
updateData.map(
|
|
32592
32708
|
(item) => this.service.local.update(context, this.attach(context, item))
|
|
@@ -32771,7 +32887,7 @@ import {
|
|
|
32771
32887
|
ModelError as ModelError14,
|
|
32772
32888
|
RuntimeModelError as RuntimeModelError22
|
|
32773
32889
|
} from "@ibiz-template/core";
|
|
32774
|
-
import { isArray as
|
|
32890
|
+
import { isArray as isArray8 } from "lodash-es";
|
|
32775
32891
|
import { clone as clone17, isEmpty as isEmpty8, isNil as isNil17 } from "ramda";
|
|
32776
32892
|
import { ascSort as ascSort2, descSort } from "qx-util";
|
|
32777
32893
|
var FetchMethod = class extends Method {
|
|
@@ -32780,7 +32896,7 @@ var FetchMethod = class extends Method {
|
|
|
32780
32896
|
if (!context.srfappid) {
|
|
32781
32897
|
return new HttpResponse4([]);
|
|
32782
32898
|
}
|
|
32783
|
-
const searchParams = params && !
|
|
32899
|
+
const searchParams = params && !isArray8(params) ? params : params2 || {};
|
|
32784
32900
|
let res;
|
|
32785
32901
|
if (this.isLocalMode) {
|
|
32786
32902
|
const orderField = (_a3 = this.entity.appDEFields) == null ? void 0 : _a3.find((appDEField) => {
|
|
@@ -34174,7 +34290,7 @@ var AIUtilService = class {
|
|
|
34174
34290
|
|
|
34175
34291
|
// src/service/mqtt/mqtt.service.ts
|
|
34176
34292
|
import { clone as clone18 } from "lodash-es";
|
|
34177
|
-
import { QXEvent as QXEvent5, createUUID as
|
|
34293
|
+
import { QXEvent as QXEvent5, createUUID as createUUID10 } from "qx-util";
|
|
34178
34294
|
var MqttService = class {
|
|
34179
34295
|
/**
|
|
34180
34296
|
* Creates an instance of MqttService.
|
|
@@ -34208,7 +34324,7 @@ var MqttService = class {
|
|
|
34208
34324
|
// 超时时间
|
|
34209
34325
|
connectTimeout: 6e3,
|
|
34210
34326
|
// 认证信息
|
|
34211
|
-
clientId:
|
|
34327
|
+
clientId: createUUID10(),
|
|
34212
34328
|
username: "",
|
|
34213
34329
|
password: "",
|
|
34214
34330
|
// 心跳时间
|
|
@@ -34309,7 +34425,7 @@ var MqttService = class {
|
|
|
34309
34425
|
};
|
|
34310
34426
|
|
|
34311
34427
|
// src/service/mqtt/collaborate.service.ts
|
|
34312
|
-
import { createUUID as
|
|
34428
|
+
import { createUUID as createUUID11, QXEvent as QXEvent6 } from "qx-util";
|
|
34313
34429
|
var CollaborateService = class {
|
|
34314
34430
|
/**
|
|
34315
34431
|
* Creates an instance of CollaborateService.
|
|
@@ -34352,7 +34468,7 @@ var CollaborateService = class {
|
|
|
34352
34468
|
// 超时时间
|
|
34353
34469
|
connectTimeout: 6e3,
|
|
34354
34470
|
// 认证信息
|
|
34355
|
-
clientId:
|
|
34471
|
+
clientId: createUUID11(),
|
|
34356
34472
|
username: "",
|
|
34357
34473
|
password: "",
|
|
34358
34474
|
// 心跳时间
|
|
@@ -35337,7 +35453,7 @@ var CTX = class {
|
|
|
35337
35453
|
};
|
|
35338
35454
|
|
|
35339
35455
|
// src/controller/common/base.controller.ts
|
|
35340
|
-
import { createUUID as
|
|
35456
|
+
import { createUUID as createUUID13 } from "qx-util";
|
|
35341
35457
|
|
|
35342
35458
|
// src/controller/utils/counter/mounted-counter.ts
|
|
35343
35459
|
var ActivityCounter = class extends Counter {
|
|
@@ -36083,7 +36199,7 @@ var ValueExUtil = class {
|
|
|
36083
36199
|
// src/controller/utils/value-default/value-default.ts
|
|
36084
36200
|
import { RuntimeError as RuntimeError28, ModelError as ModelError15 } from "@ibiz-template/core";
|
|
36085
36201
|
import dayjs from "dayjs";
|
|
36086
|
-
import { createUUID as
|
|
36202
|
+
import { createUUID as createUUID12 } from "qx-util";
|
|
36087
36203
|
import { isNil as isNil22, isNotNil } from "ramda";
|
|
36088
36204
|
function getDefaultValue(opts, origins) {
|
|
36089
36205
|
var _a3;
|
|
@@ -36130,7 +36246,7 @@ function getDefaultValue(opts, origins) {
|
|
|
36130
36246
|
case "CONTEXT":
|
|
36131
36247
|
return params[defaultValue];
|
|
36132
36248
|
case "UNIQUEID":
|
|
36133
|
-
return
|
|
36249
|
+
return createUUID12();
|
|
36134
36250
|
default:
|
|
36135
36251
|
throw new ModelError15(
|
|
36136
36252
|
{},
|
|
@@ -36901,7 +37017,7 @@ var BaseController = class {
|
|
|
36901
37017
|
this.model = model;
|
|
36902
37018
|
this.params = params;
|
|
36903
37019
|
this.ctx = ctx;
|
|
36904
|
-
this.id =
|
|
37020
|
+
this.id = createUUID13();
|
|
36905
37021
|
this.state = {};
|
|
36906
37022
|
/**
|
|
36907
37023
|
* 控制器名称,作为检索控制器的唯一标识
|
|
@@ -38902,7 +39018,7 @@ import {
|
|
|
38902
39018
|
RuntimeModelError as RuntimeModelError25
|
|
38903
39019
|
} from "@ibiz-template/core";
|
|
38904
39020
|
import { isNil as isNil26 } from "ramda";
|
|
38905
|
-
import { isArray as
|
|
39021
|
+
import { isArray as isArray9 } from "lodash-es";
|
|
38906
39022
|
var MDControlController = class extends ControlController {
|
|
38907
39023
|
constructor() {
|
|
38908
39024
|
super(...arguments);
|
|
@@ -39055,6 +39171,7 @@ var MDControlController = class extends ControlController {
|
|
|
39055
39171
|
async onCreated() {
|
|
39056
39172
|
var _a3;
|
|
39057
39173
|
await super.onCreated();
|
|
39174
|
+
await this.initUIActions();
|
|
39058
39175
|
if (this.model.appDataEntityId) {
|
|
39059
39176
|
this.dataEntity = await ibiz.hub.getAppDataEntity(
|
|
39060
39177
|
this.model.appDataEntityId,
|
|
@@ -39074,6 +39191,13 @@ var MDControlController = class extends ControlController {
|
|
|
39074
39191
|
this.load({ isInitialLoad: true });
|
|
39075
39192
|
}
|
|
39076
39193
|
}
|
|
39194
|
+
/**
|
|
39195
|
+
* @description 初始化界面行为组
|
|
39196
|
+
* @protected
|
|
39197
|
+
* @memberof MDControlController
|
|
39198
|
+
*/
|
|
39199
|
+
async initUIActions() {
|
|
39200
|
+
}
|
|
39077
39201
|
/**
|
|
39078
39202
|
* @description 执行多数据分组
|
|
39079
39203
|
* - 子类实现
|
|
@@ -39191,7 +39315,7 @@ var MDControlController = class extends ControlController {
|
|
|
39191
39315
|
Object.assign(resultParams, extraParams);
|
|
39192
39316
|
}
|
|
39193
39317
|
if (resultParams.srfsearchconds) {
|
|
39194
|
-
const srfsearchconds =
|
|
39318
|
+
const srfsearchconds = isArray9(resultParams.srfsearchconds) ? resultParams.srfsearchconds : [resultParams.srfsearchconds];
|
|
39195
39319
|
if (resultParams.searchconds && resultParams.searchconds.length > 0) {
|
|
39196
39320
|
resultParams.searchconds = [
|
|
39197
39321
|
{
|
|
@@ -40699,7 +40823,7 @@ import { recursiveIterate as recursiveIterate2, RuntimeError as RuntimeError45 }
|
|
|
40699
40823
|
|
|
40700
40824
|
// src/ui-action/provider/backend-ui-action-provider.ts
|
|
40701
40825
|
import { RuntimeModelError as RuntimeModelError46 } from "@ibiz-template/core";
|
|
40702
|
-
import { isArray as
|
|
40826
|
+
import { isArray as isArray10 } from "qx-util";
|
|
40703
40827
|
|
|
40704
40828
|
// src/ui-action/provider/ui-action-provider-base.ts
|
|
40705
40829
|
import { RuntimeModelError as RuntimeModelError45 } from "@ibiz-template/core";
|
|
@@ -42547,6 +42671,19 @@ var UIActionUtil = class {
|
|
|
42547
42671
|
const provider = await getUIActionProvider(action);
|
|
42548
42672
|
return provider.exec(action, params);
|
|
42549
42673
|
}
|
|
42674
|
+
/**
|
|
42675
|
+
* 执行界面逻辑
|
|
42676
|
+
* @param appDEUILogicId
|
|
42677
|
+
* @param appDataEntityId
|
|
42678
|
+
* @param args
|
|
42679
|
+
* @returns
|
|
42680
|
+
*/
|
|
42681
|
+
static async execUILogic(appDEUILogicId, appDataEntityId, args) {
|
|
42682
|
+
const result = await execUILogic(appDEUILogicId, appDataEntityId, {
|
|
42683
|
+
...args
|
|
42684
|
+
});
|
|
42685
|
+
return result;
|
|
42686
|
+
}
|
|
42550
42687
|
/**
|
|
42551
42688
|
* @description 执行界面行为并处理返回值
|
|
42552
42689
|
* @static
|
|
@@ -43027,7 +43164,7 @@ var BackendUIActionProvider = class extends UIActionProviderBase {
|
|
|
43027
43164
|
}
|
|
43028
43165
|
}
|
|
43029
43166
|
Object.assign(actionResult, {
|
|
43030
|
-
data:
|
|
43167
|
+
data: isArray10(res.data) ? res.data : [res.data],
|
|
43031
43168
|
nextContext: resultContext,
|
|
43032
43169
|
nextParams: tempParams
|
|
43033
43170
|
});
|
|
@@ -43828,6 +43965,7 @@ var ToolbarController = class extends ControlController {
|
|
|
43828
43965
|
async onCreated() {
|
|
43829
43966
|
await super.onCreated();
|
|
43830
43967
|
this.state.viewMode = this.ctx.view.modal.mode;
|
|
43968
|
+
const asyncTasks = [];
|
|
43831
43969
|
recursiveIterate2(
|
|
43832
43970
|
this.model,
|
|
43833
43971
|
(item) => {
|
|
@@ -43853,24 +43991,31 @@ var ToolbarController = class extends ControlController {
|
|
|
43853
43991
|
}
|
|
43854
43992
|
const groupItem = item;
|
|
43855
43993
|
if (groupItem.groupExtractMode && groupItem.uiactionGroup && groupItem.uiactionGroup.uiactionGroupDetails) {
|
|
43856
|
-
|
|
43857
|
-
|
|
43858
|
-
|
|
43859
|
-
|
|
43860
|
-
const buttonState = new UIActionButtonState(
|
|
43861
|
-
detail.id,
|
|
43862
|
-
detail.appId,
|
|
43863
|
-
actionid,
|
|
43864
|
-
detail
|
|
43865
|
-
);
|
|
43866
|
-
this.state.buttonsState.addState(detail.id, buttonState);
|
|
43867
|
-
}
|
|
43868
|
-
}
|
|
43994
|
+
const calcTask = calcUIActionDetails(
|
|
43995
|
+
groupItem.uiactionGroup.uiactionGroupDetails,
|
|
43996
|
+
this.context,
|
|
43997
|
+
this.params
|
|
43869
43998
|
);
|
|
43999
|
+
asyncTasks.push(calcTask);
|
|
43870
44000
|
}
|
|
43871
44001
|
},
|
|
43872
44002
|
{ childrenFields: ["detoolbarItems"] }
|
|
43873
44003
|
);
|
|
44004
|
+
const allActionDetails = await Promise.all(asyncTasks);
|
|
44005
|
+
allActionDetails.forEach((details) => {
|
|
44006
|
+
details.forEach((detail) => {
|
|
44007
|
+
const actionid = detail.uiactionId;
|
|
44008
|
+
if (actionid) {
|
|
44009
|
+
const buttonState = new UIActionButtonState(
|
|
44010
|
+
detail.id,
|
|
44011
|
+
detail.appId,
|
|
44012
|
+
actionid,
|
|
44013
|
+
detail
|
|
44014
|
+
);
|
|
44015
|
+
this.state.buttonsState.addState(detail.id, buttonState);
|
|
44016
|
+
}
|
|
44017
|
+
});
|
|
44018
|
+
});
|
|
43874
44019
|
await this.initToolbarItemProviders();
|
|
43875
44020
|
if (!this.state.manualCalcButtonState) {
|
|
43876
44021
|
await this.calcButtonState(void 0, this.model.appDataEntityId, {
|
|
@@ -45852,7 +45997,7 @@ var GaugeSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
45852
45997
|
|
|
45853
45998
|
// src/controller/control/chart/generator/candlestick-series-generator.ts
|
|
45854
45999
|
import { isNil as isNil28 } from "ramda";
|
|
45855
|
-
import { isArray as
|
|
46000
|
+
import { isArray as isArray11, isNumber as isNumber4 } from "qx-util";
|
|
45856
46001
|
import { plus as plus2, RuntimeModelError as RuntimeModelError55, toNumberOrNil as toNumberOrNil2 } from "@ibiz-template/core";
|
|
45857
46002
|
var CandlestickSeriesGenerator = class extends BaseSeriesGenerator {
|
|
45858
46003
|
/**
|
|
@@ -46121,7 +46266,7 @@ var CandlestickSeriesGenerator = class extends BaseSeriesGenerator {
|
|
|
46121
46266
|
xAxisData.push(key);
|
|
46122
46267
|
temData.push({ name: key, value: catalog.value });
|
|
46123
46268
|
});
|
|
46124
|
-
if (this.chartGenerator &&
|
|
46269
|
+
if (this.chartGenerator && isArray11(this.chartGenerator.staticOptions.xAxis) && isNumber4(this.xAxisIndex)) {
|
|
46125
46270
|
this.chartGenerator.staticOptions.xAxis[this.xAxisIndex].data = xAxisData;
|
|
46126
46271
|
}
|
|
46127
46272
|
return temData;
|
|
@@ -47426,7 +47571,7 @@ var ChartController = class extends MDControlController {
|
|
|
47426
47571
|
this.setActive(activeData);
|
|
47427
47572
|
}
|
|
47428
47573
|
});
|
|
47429
|
-
if (this.state.optionsReady) {
|
|
47574
|
+
if (this.state.optionsReady && this.chart) {
|
|
47430
47575
|
this.updateChart();
|
|
47431
47576
|
}
|
|
47432
47577
|
}
|
|
@@ -47458,9 +47603,10 @@ var ChartController = class extends MDControlController {
|
|
|
47458
47603
|
*/
|
|
47459
47604
|
async updateChart() {
|
|
47460
47605
|
if (!this.chart) {
|
|
47461
|
-
|
|
47606
|
+
ibiz.log.error(
|
|
47462
47607
|
ibiz.i18n.t("runtime.controller.control.chart.noInitialised")
|
|
47463
47608
|
);
|
|
47609
|
+
return;
|
|
47464
47610
|
}
|
|
47465
47611
|
if (!this.options) {
|
|
47466
47612
|
throw new RuntimeError48(
|
|
@@ -51284,7 +51430,7 @@ import {
|
|
|
51284
51430
|
RuntimeModelError as RuntimeModelError57
|
|
51285
51431
|
} from "@ibiz-template/core";
|
|
51286
51432
|
import { isNil as isNil30, isNotNil as isNotNil3 } from "ramda";
|
|
51287
|
-
import { createUUID as
|
|
51433
|
+
import { createUUID as createUUID14, isBoolean } from "qx-util";
|
|
51288
51434
|
|
|
51289
51435
|
// src/controller/control/data-view/data-view.service.ts
|
|
51290
51436
|
import { clone as clone35 } from "@ibiz-template/core";
|
|
@@ -51751,7 +51897,7 @@ var DataViewControlController = class extends MDControlController {
|
|
|
51751
51897
|
const dateFormat = this.groupDateFormat[0];
|
|
51752
51898
|
const groupMap = /* @__PURE__ */ new Map();
|
|
51753
51899
|
const unclassified = {
|
|
51754
|
-
key:
|
|
51900
|
+
key: createUUID14(),
|
|
51755
51901
|
caption: ibiz.i18n.t("runtime.controller.common.md.unclassified"),
|
|
51756
51902
|
children: []
|
|
51757
51903
|
};
|
|
@@ -53217,6 +53363,17 @@ var FormController = class extends ControlController {
|
|
|
53217
53363
|
return this.controlParams.srfcachepos === "true";
|
|
53218
53364
|
return ibiz.config.form.srfCachePos;
|
|
53219
53365
|
}
|
|
53366
|
+
/**
|
|
53367
|
+
* @description 是否显示提示图标
|
|
53368
|
+
* @readonly
|
|
53369
|
+
* @type {boolean}
|
|
53370
|
+
* @memberof FormController
|
|
53371
|
+
*/
|
|
53372
|
+
get showTipsIcon() {
|
|
53373
|
+
if (this.controlParams.showtipsicon)
|
|
53374
|
+
return this.controlParams.showtipsicon === "true";
|
|
53375
|
+
return ibiz.config.form.showTipsIcon;
|
|
53376
|
+
}
|
|
53220
53377
|
/**
|
|
53221
53378
|
* @description 缓存标识
|
|
53222
53379
|
* @readonly
|
|
@@ -54977,7 +55134,7 @@ var FormButtonController = class extends FormDetailController {
|
|
|
54977
55134
|
|
|
54978
55135
|
// src/controller/control/form/form-detail/form-druipart/form-druipart.controller.ts
|
|
54979
55136
|
import { isOverlap as isOverlap2 } from "@ibiz-template/core";
|
|
54980
|
-
import { createUUID as
|
|
55137
|
+
import { createUUID as createUUID15, notNilEmpty as notNilEmpty10 } from "qx-util";
|
|
54981
55138
|
|
|
54982
55139
|
// src/controller/control/form/form-detail/form-druipart/form-druipart.state.ts
|
|
54983
55140
|
var FormDruipartState = class extends FormDetailState {
|
|
@@ -55125,7 +55282,7 @@ var FormDRUIPartController = class extends FormDetailController {
|
|
|
55125
55282
|
this.form.context
|
|
55126
55283
|
);
|
|
55127
55284
|
if (!this.state.viewComponentKey) {
|
|
55128
|
-
this.state.viewComponentKey =
|
|
55285
|
+
this.state.viewComponentKey = createUUID15();
|
|
55129
55286
|
this.navContext = newContext;
|
|
55130
55287
|
this.navParams = newParams;
|
|
55131
55288
|
} else if (JSON.stringify(this.navContext) !== JSON.stringify(newContext) || JSON.stringify(this.navParams) !== JSON.stringify(newParams)) {
|
|
@@ -56301,7 +56458,7 @@ var FormMDCtrlMDController = class extends FormMDCtrlController {
|
|
|
56301
56458
|
|
|
56302
56459
|
// src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-form.controller.ts
|
|
56303
56460
|
import { RuntimeError as RuntimeError54, RuntimeModelError as RuntimeModelError63 } from "@ibiz-template/core";
|
|
56304
|
-
import { createUUID as
|
|
56461
|
+
import { createUUID as createUUID16 } from "qx-util";
|
|
56305
56462
|
|
|
56306
56463
|
// src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-form.state.ts
|
|
56307
56464
|
var FormMDCtrlFormState = class extends FormMDCtrlState {
|
|
@@ -56505,7 +56662,7 @@ var FormMDCtrlFormController = class extends FormMDCtrlController {
|
|
|
56505
56662
|
this.state.items = [];
|
|
56506
56663
|
}
|
|
56507
56664
|
const item = {
|
|
56508
|
-
id:
|
|
56665
|
+
id: createUUID16(),
|
|
56509
56666
|
context,
|
|
56510
56667
|
params
|
|
56511
56668
|
};
|
|
@@ -57307,7 +57464,7 @@ import {
|
|
|
57307
57464
|
RuntimeError as RuntimeError55
|
|
57308
57465
|
} from "@ibiz-template/core";
|
|
57309
57466
|
import { debounce } from "lodash-es";
|
|
57310
|
-
import { createUUID as
|
|
57467
|
+
import { createUUID as createUUID17 } from "qx-util";
|
|
57311
57468
|
import { clone as clone41, isNil as isNil33 } from "ramda";
|
|
57312
57469
|
|
|
57313
57470
|
// src/controller/control/form/edit-form/edit-form.service.ts
|
|
@@ -57775,7 +57932,7 @@ var EditFormController = class extends FormController {
|
|
|
57775
57932
|
await this.endLoading();
|
|
57776
57933
|
}
|
|
57777
57934
|
res.data.srfkey = void 0;
|
|
57778
|
-
res.data.tempsrfkey =
|
|
57935
|
+
res.data.tempsrfkey = createUUID17();
|
|
57779
57936
|
res.data.srfuf = 0 /* CREATE */;
|
|
57780
57937
|
this.state.modified = false;
|
|
57781
57938
|
this.state.data = res.data;
|
|
@@ -59442,6 +59599,30 @@ var GridController = class extends MDControlController {
|
|
|
59442
59599
|
await this.initExportData();
|
|
59443
59600
|
this.initAutoSaveTimer();
|
|
59444
59601
|
}
|
|
59602
|
+
/**
|
|
59603
|
+
* @description 初始化界面行为组
|
|
59604
|
+
* @protected
|
|
59605
|
+
* @memberof GridController
|
|
59606
|
+
*/
|
|
59607
|
+
async initUIActions() {
|
|
59608
|
+
const asyncTasks = [];
|
|
59609
|
+
recursiveIterate11(
|
|
59610
|
+
this.model,
|
|
59611
|
+
(column) => {
|
|
59612
|
+
var _a3, _b2;
|
|
59613
|
+
if ((_b2 = (_a3 = column.deuiactionGroup) == null ? void 0 : _a3.uiactionGroupDetails) == null ? void 0 : _b2.length) {
|
|
59614
|
+
const task = calcAllUIActionDetails(
|
|
59615
|
+
column.deuiactionGroup.uiactionGroupDetails,
|
|
59616
|
+
this.context,
|
|
59617
|
+
this.params
|
|
59618
|
+
);
|
|
59619
|
+
asyncTasks.push(task);
|
|
59620
|
+
}
|
|
59621
|
+
},
|
|
59622
|
+
{ childrenFields: ["degridColumns"] }
|
|
59623
|
+
);
|
|
59624
|
+
await Promise.all(asyncTasks);
|
|
59625
|
+
}
|
|
59445
59626
|
/**
|
|
59446
59627
|
* @description 初始化自动保存定时器
|
|
59447
59628
|
* @protected
|
|
@@ -61715,7 +61896,7 @@ var GridGroupColumnController = class extends GridColumnController {
|
|
|
61715
61896
|
};
|
|
61716
61897
|
|
|
61717
61898
|
// src/controller/control/list/list.controller.ts
|
|
61718
|
-
import { createUUID as
|
|
61899
|
+
import { createUUID as createUUID18, isBoolean as isBoolean3 } from "qx-util";
|
|
61719
61900
|
import { isNil as isNil35 } from "ramda";
|
|
61720
61901
|
import {
|
|
61721
61902
|
clone as clone46,
|
|
@@ -62112,7 +62293,7 @@ var ListController = class extends MDControlController {
|
|
|
62112
62293
|
const dateFormat = this.groupDateFormat[0];
|
|
62113
62294
|
const groupMap = /* @__PURE__ */ new Map();
|
|
62114
62295
|
const unclassified = {
|
|
62115
|
-
key:
|
|
62296
|
+
key: createUUID18(),
|
|
62116
62297
|
caption: ibiz.i18n.t("runtime.controller.common.md.unclassified"),
|
|
62117
62298
|
children: []
|
|
62118
62299
|
};
|
|
@@ -63489,7 +63670,7 @@ var PickupViewPanelController = class extends ControlController {
|
|
|
63489
63670
|
};
|
|
63490
63671
|
|
|
63491
63672
|
// src/controller/control/tab-exp-panel/tab-exp-panel.controller.ts
|
|
63492
|
-
import { createUUID as
|
|
63673
|
+
import { createUUID as createUUID19 } from "qx-util";
|
|
63493
63674
|
var TabExpPanelController = class extends ControlController {
|
|
63494
63675
|
constructor() {
|
|
63495
63676
|
super(...arguments);
|
|
@@ -63733,7 +63914,7 @@ var TabExpPanelController = class extends ControlController {
|
|
|
63733
63914
|
}
|
|
63734
63915
|
refresh() {
|
|
63735
63916
|
const navViewMsg = this.getNavViewMsg(this.activeTabViewPanelModel);
|
|
63736
|
-
navViewMsg.key +=
|
|
63917
|
+
navViewMsg.key += createUUID19();
|
|
63737
63918
|
this.evt.emit("onNavViewChange", { navViewMsg });
|
|
63738
63919
|
}
|
|
63739
63920
|
/**
|
|
@@ -66255,7 +66436,7 @@ var WizardPanelController = class extends ControlController {
|
|
|
66255
66436
|
// src/controller/control/md-ctrl/md-ctrl.controller.ts
|
|
66256
66437
|
import { RuntimeError as RuntimeError61, RuntimeModelError as RuntimeModelError70 } from "@ibiz-template/core";
|
|
66257
66438
|
import { clone as clone47, isNil as isNil37, isNotNil as isNotNil5 } from "ramda";
|
|
66258
|
-
import { createUUID as
|
|
66439
|
+
import { createUUID as createUUID20 } from "qx-util";
|
|
66259
66440
|
|
|
66260
66441
|
// src/controller/control/md-ctrl/md-ctrl.service.ts
|
|
66261
66442
|
var MDCtrlService = class extends MDControlService {
|
|
@@ -66584,7 +66765,7 @@ var MDCtrlController = class extends MDControlController {
|
|
|
66584
66765
|
const { items } = this.state;
|
|
66585
66766
|
const groupMap = /* @__PURE__ */ new Map();
|
|
66586
66767
|
const unclassified = {
|
|
66587
|
-
key:
|
|
66768
|
+
key: createUUID20(),
|
|
66588
66769
|
caption: ibiz.i18n.t("runtime.controller.common.md.unclassified"),
|
|
66589
66770
|
children: []
|
|
66590
66771
|
};
|
|
@@ -68806,7 +68987,7 @@ var TreeGridExUAColumnController = class extends TreeGridExColumnController {
|
|
|
68806
68987
|
|
|
68807
68988
|
// src/controller/control/tree-grid/tree-grid.controller.ts
|
|
68808
68989
|
import { RuntimeModelError as RuntimeModelError74 } from "@ibiz-template/core";
|
|
68809
|
-
import { createUUID as
|
|
68990
|
+
import { createUUID as createUUID21 } from "qx-util";
|
|
68810
68991
|
var TreeGridController = class extends GridController {
|
|
68811
68992
|
constructor() {
|
|
68812
68993
|
super(...arguments);
|
|
@@ -68877,7 +69058,7 @@ var TreeGridController = class extends GridController {
|
|
|
68877
69058
|
this.state.expandRowKeys = this.state.expandRowKeys.filter(
|
|
68878
69059
|
(key) => this.state.items.some((item) => item.srfkey === key)
|
|
68879
69060
|
);
|
|
68880
|
-
this.state.tableKey =
|
|
69061
|
+
this.state.tableKey = createUUID21();
|
|
68881
69062
|
}
|
|
68882
69063
|
async afterLoad(args, items) {
|
|
68883
69064
|
this.calcTreeGridData(this.state.items);
|
|
@@ -68955,7 +69136,7 @@ var TreeGridService = class extends GridService {
|
|
|
68955
69136
|
|
|
68956
69137
|
// src/controller/control/medit-view-panel/medit-view-panel.controller.ts
|
|
68957
69138
|
import { RuntimeError as RuntimeError65 } from "@ibiz-template/core";
|
|
68958
|
-
import { createUUID as
|
|
69139
|
+
import { createUUID as createUUID22 } from "qx-util";
|
|
68959
69140
|
|
|
68960
69141
|
// src/controller/control/medit-view-panel/medit-view-panel.service.ts
|
|
68961
69142
|
var MEditViewPanelService = class extends MDControlService {
|
|
@@ -69048,7 +69229,7 @@ var MEditViewPanelController = class extends MDControlController {
|
|
|
69048
69229
|
*/
|
|
69049
69230
|
handlePanelItemParams(arg) {
|
|
69050
69231
|
const [{ parameterName }] = this.parameters;
|
|
69051
|
-
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(
|
|
69232
|
+
const id = arg[parameterName] ? arg[parameterName] : "mockId:".concat(createUUID22());
|
|
69052
69233
|
const item = {
|
|
69053
69234
|
id,
|
|
69054
69235
|
context: this.context.clone(),
|
|
@@ -73791,9 +73972,11 @@ var HubController = class {
|
|
|
73791
73972
|
}
|
|
73792
73973
|
/**
|
|
73793
73974
|
* @description 变更密码
|
|
73794
|
-
* @param {string} oldPwd
|
|
73795
|
-
* @param {string} newPwd
|
|
73796
|
-
* @param {
|
|
73975
|
+
* @param {string} oldPwd 旧密码
|
|
73976
|
+
* @param {string} newPwd 新密码
|
|
73977
|
+
* @param {{
|
|
73978
|
+
* surePwd: string; // 确认密码
|
|
73979
|
+
* }} [opts] 变更密码配置
|
|
73797
73980
|
* @returns {*} {Promise<IAuthResult>}
|
|
73798
73981
|
* @memberof HubController
|
|
73799
73982
|
*/
|
|
@@ -74063,7 +74246,7 @@ var ThemeUtil = class {
|
|
|
74063
74246
|
};
|
|
74064
74247
|
|
|
74065
74248
|
// src/utils/ui-domain/ui-domain.ts
|
|
74066
|
-
import { QXEvent as QXEvent9, createUUID as
|
|
74249
|
+
import { QXEvent as QXEvent9, createUUID as createUUID23 } from "qx-util";
|
|
74067
74250
|
|
|
74068
74251
|
// src/utils/ui-domain/transaction.ts
|
|
74069
74252
|
var Transaction = class {
|
|
@@ -74214,7 +74397,7 @@ var UIDomain = class {
|
|
|
74214
74397
|
if (id) {
|
|
74215
74398
|
this.id = id;
|
|
74216
74399
|
} else {
|
|
74217
|
-
this.id =
|
|
74400
|
+
this.id = createUUID23();
|
|
74218
74401
|
}
|
|
74219
74402
|
this.appDataEntityId = appDataEntityId;
|
|
74220
74403
|
}
|
|
@@ -77327,7 +77510,7 @@ var BIReportUtil = class {
|
|
|
77327
77510
|
|
|
77328
77511
|
// src/utils/record-nav-util/record-nav-util.ts
|
|
77329
77512
|
import { RuntimeError as RuntimeError69 } from "@ibiz-template/core";
|
|
77330
|
-
import { createUUID as
|
|
77513
|
+
import { createUUID as createUUID24 } from "qx-util";
|
|
77331
77514
|
var RecordNavUtil = class {
|
|
77332
77515
|
constructor() {
|
|
77333
77516
|
/**
|
|
@@ -77370,7 +77553,7 @@ var RecordNavUtil = class {
|
|
|
77370
77553
|
* @param {IData} tempContext
|
|
77371
77554
|
*/
|
|
77372
77555
|
addTriggerLogic(viewId, data, tempContext) {
|
|
77373
|
-
const triggerLogicId = "".concat(viewId, ":").concat(
|
|
77556
|
+
const triggerLogicId = "".concat(viewId, ":").concat(createUUID24());
|
|
77374
77557
|
this.triggerLogicMap.set(triggerLogicId, data);
|
|
77375
77558
|
tempContext.srfnavlogicid = triggerLogicId;
|
|
77376
77559
|
}
|
|
@@ -82478,7 +82661,7 @@ var ViewShellHooks = class {
|
|
|
82478
82661
|
};
|
|
82479
82662
|
|
|
82480
82663
|
// src/utils/water-mark-util/water-mark-util.ts
|
|
82481
|
-
import { isArray as
|
|
82664
|
+
import { isArray as isArray12 } from "lodash-es";
|
|
82482
82665
|
|
|
82483
82666
|
// src/utils/water-mark-util/water-mark-manager/water-mark-manager.ts
|
|
82484
82667
|
var WaterMarkManager = class {
|
|
@@ -82817,7 +83000,7 @@ var WaterMarkUtil = class {
|
|
|
82817
83000
|
return null;
|
|
82818
83001
|
const _opts = { ...option };
|
|
82819
83002
|
if (_opts.text) {
|
|
82820
|
-
_opts.text =
|
|
83003
|
+
_opts.text = isArray12(_opts.text) ? _opts.text.map(
|
|
82821
83004
|
(_textItem) => ScriptFactory.execSingleLine("`".concat(_textItem, "`"), {
|
|
82822
83005
|
context,
|
|
82823
83006
|
params,
|
|
@@ -90171,9 +90354,11 @@ export {
|
|
|
90171
90354
|
ZoneLineConverter,
|
|
90172
90355
|
asyncImportData,
|
|
90173
90356
|
asyncImportData2,
|
|
90357
|
+
calcAllUIActionDetails,
|
|
90174
90358
|
calcContentAlignStyle,
|
|
90175
90359
|
calcDateRangeByScale,
|
|
90176
90360
|
calcDeCodeNameById,
|
|
90361
|
+
calcDyUiactionGroup,
|
|
90177
90362
|
calcDynaClass,
|
|
90178
90363
|
calcDynaSysParams,
|
|
90179
90364
|
calcFilterModelBySchema,
|
|
@@ -90188,6 +90373,7 @@ export {
|
|
|
90188
90373
|
calcSearchCondExs,
|
|
90189
90374
|
calcSearchConds,
|
|
90190
90375
|
calcThresholdRange,
|
|
90376
|
+
calcUIActionDetails,
|
|
90191
90377
|
compare,
|
|
90192
90378
|
compareDateEqualByScale,
|
|
90193
90379
|
compareNumber,
|