@ibiz-template/runtime 0.7.41-alpha.6 → 0.7.41-alpha.7
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 +775 -467
- 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/constant/index.d.ts +1 -0
- package/out/constant/index.d.ts.map +1 -1
- package/out/constant/index.js +1 -0
- package/out/constant/predefined-control-render.d.ts +16 -0
- package/out/constant/predefined-control-render.d.ts.map +1 -0
- package/out/constant/predefined-control-render.js +17 -0
- package/out/controller/common/control/control.controller.d.ts.map +1 -1
- package/out/controller/common/control/control.controller.js +4 -1
- package/out/controller/common/editor/editor.controller.d.ts +8 -0
- package/out/controller/common/editor/editor.controller.d.ts.map +1 -1
- package/out/controller/common/editor/editor.controller.js +12 -0
- package/out/controller/control/chart/generator/index.d.ts +12 -0
- package/out/controller/control/chart/generator/index.d.ts.map +1 -0
- package/out/controller/control/chart/generator/index.js +11 -0
- package/out/controller/control/chart/index.d.ts +1 -0
- package/out/controller/control/chart/index.d.ts.map +1 -1
- package/out/controller/control/chart/index.js +1 -0
- package/out/controller/control/kanban/kanban.controller.d.ts +9 -1
- package/out/controller/control/kanban/kanban.controller.d.ts.map +1 -1
- package/out/controller/control/kanban/kanban.controller.js +22 -3
- package/out/controller/control/tree/tree.controller.d.ts +17 -2
- package/out/controller/control/tree/tree.controller.d.ts.map +1 -1
- package/out/controller/control/tree/tree.controller.js +79 -3
- package/out/controller/control/tree/tree.service.d.ts +75 -0
- package/out/controller/control/tree/tree.service.d.ts.map +1 -1
- package/out/controller/control/tree/tree.service.js +145 -8
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +7 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/api/controller/common/i-api-mask-option.d.ts +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/model/utils/util.d.ts.map +1 -1
- package/out/model/utils/util.js +2 -1
- package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts.map +1 -1
- package/out/service/utils/dynamic-code-list/dynamic-code-list.js +1 -1
- package/out/utils/handlebars/helpers/abs/abs.d.ts +14 -0
- package/out/utils/handlebars/helpers/abs/abs.d.ts.map +1 -0
- package/out/utils/handlebars/helpers/abs/abs.js +19 -0
- package/out/utils/handlebars/helpers/index.d.ts.map +1 -1
- package/out/utils/handlebars/helpers/index.js +2 -0
- package/out/utils/handlebars/utils/helper/helper.d.ts.map +1 -1
- package/out/utils/handlebars/utils/helper/helper.js +1 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -19209,7 +19209,8 @@ var GlobalConfig = class {
|
|
|
19209
19209
|
};
|
|
19210
19210
|
// 全局通用配置
|
|
19211
19211
|
this.common = {
|
|
19212
|
-
emptyText: "-"
|
|
19212
|
+
emptyText: "-",
|
|
19213
|
+
emptyShowMode: "DEFAULT"
|
|
19213
19214
|
};
|
|
19214
19215
|
// 多数据部件默认排序配置
|
|
19215
19216
|
this.mdctrldefaultsort = "";
|
|
@@ -19410,6 +19411,7 @@ HelperUtil.helperNames = [
|
|
|
19410
19411
|
"lookup",
|
|
19411
19412
|
"log",
|
|
19412
19413
|
"and",
|
|
19414
|
+
"abs",
|
|
19413
19415
|
"camelCase",
|
|
19414
19416
|
"concat",
|
|
19415
19417
|
"eq",
|
|
@@ -19696,8 +19698,21 @@ var HelperUpperCase = class extends HelperBase {
|
|
|
19696
19698
|
}
|
|
19697
19699
|
};
|
|
19698
19700
|
|
|
19701
|
+
// src/utils/handlebars/helpers/abs/abs.ts
|
|
19702
|
+
var HelperAbs = class extends HelperBase {
|
|
19703
|
+
constructor(hbs) {
|
|
19704
|
+
super(hbs, "abs");
|
|
19705
|
+
}
|
|
19706
|
+
onExecute(str) {
|
|
19707
|
+
if (!str)
|
|
19708
|
+
return "";
|
|
19709
|
+
return Math.abs(Number(str)).toString();
|
|
19710
|
+
}
|
|
19711
|
+
};
|
|
19712
|
+
|
|
19699
19713
|
// src/utils/handlebars/helpers/index.ts
|
|
19700
19714
|
function installHelpers(hsb) {
|
|
19715
|
+
new HelperAbs(hsb);
|
|
19701
19716
|
new HelperAnd(hsb);
|
|
19702
19717
|
new HelperCamelCase(hsb);
|
|
19703
19718
|
new HelperConcat(hsb);
|
|
@@ -19947,6 +19962,455 @@ import qs from "qs";
|
|
|
19947
19962
|
|
|
19948
19963
|
// src/model/utils/util.ts
|
|
19949
19964
|
import { RuntimeModelError as RuntimeModelError2 } from "@ibiz-template/core";
|
|
19965
|
+
|
|
19966
|
+
// src/constant/control-type.ts
|
|
19967
|
+
var ControlType = /* @__PURE__ */ ((ControlType2) => {
|
|
19968
|
+
ControlType2["APP_MENU"] = "APPMENU";
|
|
19969
|
+
ControlType2["GRID"] = "GRID";
|
|
19970
|
+
ControlType2["FORM"] = "FORM";
|
|
19971
|
+
ControlType2["SEARCHFORM"] = "SEARCHFORM";
|
|
19972
|
+
ControlType2["TOOLBAR"] = "TOOLBAR";
|
|
19973
|
+
ControlType2["DRBAR"] = "DRBAR";
|
|
19974
|
+
ControlType2["VIEWPANEL"] = "VIEWPANEL";
|
|
19975
|
+
ControlType2["PICKUP_VIEW_PANEL"] = "PICKUPVIEWPANEL";
|
|
19976
|
+
ControlType2["DATAVIEW"] = "DATAVIEW";
|
|
19977
|
+
ControlType2["TREEGRID"] = "TREEGRID";
|
|
19978
|
+
ControlType2["WF_EXPBAR"] = "WFEXPBAR";
|
|
19979
|
+
ControlType2["TREEVIEW"] = "TREEVIEW";
|
|
19980
|
+
ControlType2["TREE_EXP_BAR"] = "TREEEXPBAR";
|
|
19981
|
+
ControlType2["TAB_VIEWPANEL"] = "TABVIEWPANEL";
|
|
19982
|
+
ControlType2["DRTAB"] = "DRTAB";
|
|
19983
|
+
ControlType2["CHART"] = "CHART";
|
|
19984
|
+
ControlType2["REPORT_PANEL"] = "REPORTPANEL";
|
|
19985
|
+
ControlType2["LIST"] = "LIST";
|
|
19986
|
+
ControlType2["MOB_MDCTRL"] = "MOBMDCTRL";
|
|
19987
|
+
ControlType2["MULTI_EDIT_VIEWPANEL"] = "MULTIEDITVIEWPANEL";
|
|
19988
|
+
ControlType2["WIZARD_PANEL"] = "WIZARDPANEL";
|
|
19989
|
+
ControlType2["UPDATE_PANEL"] = "UPDATEPANEL";
|
|
19990
|
+
ControlType2["SEARCHBAR"] = "SEARCHBAR";
|
|
19991
|
+
ControlType2["DASHBOARD"] = "DASHBOARD";
|
|
19992
|
+
ControlType2["CALENDAR"] = "CALENDAR";
|
|
19993
|
+
ControlType2["PANEL"] = "PANEL";
|
|
19994
|
+
ControlType2["VIEW_LAYOUT_PANEL"] = "VIEWLAYOUTPANEL";
|
|
19995
|
+
ControlType2["MAP"] = "MAP";
|
|
19996
|
+
ControlType2["GANTT"] = "GANTT";
|
|
19997
|
+
ControlType2["TREE_GRIDEX"] = "TREEGRIDEX";
|
|
19998
|
+
ControlType2["KANBAN"] = "KANBAN";
|
|
19999
|
+
ControlType2["CALENDAR_EXPBAR"] = "CALENDAREXPBAR";
|
|
20000
|
+
ControlType2["CHART_EXPBAR"] = "CHARTEXPBAR";
|
|
20001
|
+
ControlType2["DATA_VIEW_EXPBAR"] = "DATAVIEWEXPBAR";
|
|
20002
|
+
ControlType2["GANTT_EXPBAR"] = "GANTTEXPBAR";
|
|
20003
|
+
ControlType2["GRID_EXPBAR"] = "GRIDEXPBAR";
|
|
20004
|
+
ControlType2["LIST_EXPBAR"] = "LISTEXPBAR";
|
|
20005
|
+
ControlType2["MAP_EXPBAR"] = "MAPEXPBAR";
|
|
20006
|
+
ControlType2["STATE_WIZARD_PANEL"] = "STATEWIZARDPANEL";
|
|
20007
|
+
ControlType2["TAB_EXP_PANEL"] = "TABEXPPANEL";
|
|
20008
|
+
ControlType2["CUSTOM"] = "CUSTOM";
|
|
20009
|
+
ControlType2["CAPTIONBAR"] = "CAPTIONBAR";
|
|
20010
|
+
ControlType2["CONTEXT_MENU"] = "CONTEXTMENU";
|
|
20011
|
+
return ControlType2;
|
|
20012
|
+
})(ControlType || {});
|
|
20013
|
+
var MDControlTypes = [
|
|
20014
|
+
"CALENDAR" /* CALENDAR */,
|
|
20015
|
+
"CHART" /* CHART */,
|
|
20016
|
+
"DATAVIEW" /* DATAVIEW */,
|
|
20017
|
+
"GANTT" /* GANTT */,
|
|
20018
|
+
"GRID" /* GRID */,
|
|
20019
|
+
"KANBAN" /* KANBAN */,
|
|
20020
|
+
"LIST" /* LIST */,
|
|
20021
|
+
"MAP" /* MAP */,
|
|
20022
|
+
"MOBMDCTRL" /* MOB_MDCTRL */,
|
|
20023
|
+
"MULTIEDITVIEWPANEL" /* MULTI_EDIT_VIEWPANEL */,
|
|
20024
|
+
"TREEGRID" /* TREEGRID */,
|
|
20025
|
+
"TREEVIEW" /* TREEVIEW */,
|
|
20026
|
+
"TREEGRIDEX" /* TREE_GRIDEX */
|
|
20027
|
+
];
|
|
20028
|
+
|
|
20029
|
+
// src/constant/platform-type.ts
|
|
20030
|
+
var PlatformType = /* @__PURE__ */ ((PlatformType2) => {
|
|
20031
|
+
PlatformType2["IOS"] = "IOS";
|
|
20032
|
+
PlatformType2["ANDROID"] = "Android";
|
|
20033
|
+
PlatformType2["WECHAT"] = "WeChat";
|
|
20034
|
+
PlatformType2["QQ"] = "QQ";
|
|
20035
|
+
PlatformType2["DINGTALK"] = "DingTalk";
|
|
20036
|
+
PlatformType2["BROWSER"] = "Browser";
|
|
20037
|
+
PlatformType2["WCMP"] = "WeChatMiniProgram";
|
|
20038
|
+
PlatformType2["DESKTOP"] = "Desktop";
|
|
20039
|
+
return PlatformType2;
|
|
20040
|
+
})(PlatformType || {});
|
|
20041
|
+
|
|
20042
|
+
// src/constant/route.ts
|
|
20043
|
+
var RouteConst = /* @__PURE__ */ ((RouteConst2) => {
|
|
20044
|
+
RouteConst2["ROUTE_MODAL_TAG"] = "route-modal";
|
|
20045
|
+
return RouteConst2;
|
|
20046
|
+
})(RouteConst || {});
|
|
20047
|
+
|
|
20048
|
+
// src/constant/studio-event.ts
|
|
20049
|
+
var StudioViewEvents = class {
|
|
20050
|
+
};
|
|
20051
|
+
/**
|
|
20052
|
+
* 视图加载
|
|
20053
|
+
*/
|
|
20054
|
+
StudioViewEvents.onViewMounted = "onMounted";
|
|
20055
|
+
/**
|
|
20056
|
+
* 视图销毁
|
|
20057
|
+
*/
|
|
20058
|
+
StudioViewEvents.onViewDestroyed = "onDestroyed";
|
|
20059
|
+
var StudioPanelEvents = class {
|
|
20060
|
+
};
|
|
20061
|
+
/**
|
|
20062
|
+
* 点击事件
|
|
20063
|
+
*/
|
|
20064
|
+
StudioPanelEvents.onClick = "onClick";
|
|
20065
|
+
/**
|
|
20066
|
+
* 值变更事件
|
|
20067
|
+
*/
|
|
20068
|
+
StudioPanelEvents.onChange = "onChange";
|
|
20069
|
+
/**
|
|
20070
|
+
* 输入事件
|
|
20071
|
+
*/
|
|
20072
|
+
StudioPanelEvents.onEnter = "onEnter";
|
|
20073
|
+
/**
|
|
20074
|
+
* 离开事件
|
|
20075
|
+
*/
|
|
20076
|
+
StudioPanelEvents.onLeave = "onLeave";
|
|
20077
|
+
var StudioControlEvents = class {
|
|
20078
|
+
};
|
|
20079
|
+
/**
|
|
20080
|
+
* 加载之前
|
|
20081
|
+
*/
|
|
20082
|
+
StudioControlEvents.onBeforeLoad = "onBeforeLoad";
|
|
20083
|
+
/**
|
|
20084
|
+
* 加载成功
|
|
20085
|
+
*/
|
|
20086
|
+
StudioControlEvents.onLoadSuccess = "onLoadSuccess";
|
|
20087
|
+
/**
|
|
20088
|
+
* 加载失败
|
|
20089
|
+
*/
|
|
20090
|
+
StudioControlEvents.onLoadError = "onLoadError";
|
|
20091
|
+
/**
|
|
20092
|
+
* 加载草稿之前
|
|
20093
|
+
*/
|
|
20094
|
+
StudioControlEvents.onBeforeLoadDraft = "onBeforeLoadDraft";
|
|
20095
|
+
/**
|
|
20096
|
+
* 加载草稿成功
|
|
20097
|
+
*/
|
|
20098
|
+
StudioControlEvents.onLoadDraftSuccess = "onLoadDraftSuccess";
|
|
20099
|
+
/**
|
|
20100
|
+
* 加载草稿失败
|
|
20101
|
+
*/
|
|
20102
|
+
StudioControlEvents.onLoadDraftError = "onLoadDraftError";
|
|
20103
|
+
/**
|
|
20104
|
+
* 保存之前
|
|
20105
|
+
*/
|
|
20106
|
+
StudioControlEvents.onBeforeSave = "onBeforeSave";
|
|
20107
|
+
/**
|
|
20108
|
+
* 保存成功
|
|
20109
|
+
*/
|
|
20110
|
+
StudioControlEvents.onSaveSuccess = "onSaveSuccess";
|
|
20111
|
+
/**
|
|
20112
|
+
* 保存失败
|
|
20113
|
+
*/
|
|
20114
|
+
StudioControlEvents.onSaveError = "onSaveError";
|
|
20115
|
+
/**
|
|
20116
|
+
* 删除之前
|
|
20117
|
+
*/
|
|
20118
|
+
StudioControlEvents.onBeforeRemove = "onBeforeRemove";
|
|
20119
|
+
/**
|
|
20120
|
+
* 删除成功
|
|
20121
|
+
*/
|
|
20122
|
+
StudioControlEvents.onRemoveSuccess = "onRemoveSuccess";
|
|
20123
|
+
/**
|
|
20124
|
+
* 删除失败
|
|
20125
|
+
*/
|
|
20126
|
+
StudioControlEvents.onRemoveError = "onRemoveError";
|
|
20127
|
+
/**
|
|
20128
|
+
* 原生默认工具栏的点击事件名称
|
|
20129
|
+
*/
|
|
20130
|
+
StudioControlEvents.CLICK = "onClick";
|
|
20131
|
+
|
|
20132
|
+
// src/constant/sys-uiaction-tag.ts
|
|
20133
|
+
var SysUIActionTag = /* @__PURE__ */ ((SysUIActionTag2) => {
|
|
20134
|
+
SysUIActionTag2["NEW"] = "New";
|
|
20135
|
+
SysUIActionTag2["EDIT"] = "Edit";
|
|
20136
|
+
SysUIActionTag2["REFRESH"] = "Refresh";
|
|
20137
|
+
SysUIActionTag2["EXIT"] = "Exit";
|
|
20138
|
+
SysUIActionTag2["SAVE_AND_EXIT"] = "SaveAndExit";
|
|
20139
|
+
SysUIActionTag2["SAVE_AND_NEW"] = "SaveAndNew";
|
|
20140
|
+
SysUIActionTag2["SAVE"] = "Save";
|
|
20141
|
+
SysUIActionTag2["SAVE_ROW"] = "SaveRow";
|
|
20142
|
+
SysUIActionTag2["REMOVE"] = "Remove";
|
|
20143
|
+
SysUIActionTag2["REMOVE_AND_EXIT"] = "RemoveAndExit";
|
|
20144
|
+
SysUIActionTag2["NEW_ROW"] = "NewRow";
|
|
20145
|
+
SysUIActionTag2["TOGGLE_FILTER"] = "ToggleFilter";
|
|
20146
|
+
SysUIActionTag2["IMPORT"] = "Import";
|
|
20147
|
+
SysUIActionTag2["EXPORT_EXCEL"] = "ExportExcel";
|
|
20148
|
+
SysUIActionTag2["SAVE_AND_START"] = "SaveAndStart";
|
|
20149
|
+
SysUIActionTag2["VIEW_WF_STEP"] = "ViewWFStep";
|
|
20150
|
+
SysUIActionTag2["NO"] = "No";
|
|
20151
|
+
SysUIActionTag2["YES"] = "Yes";
|
|
20152
|
+
SysUIActionTag2["CANCEL"] = "Cancel";
|
|
20153
|
+
SysUIActionTag2["OK"] = "Ok";
|
|
20154
|
+
SysUIActionTag2["SEARCH"] = "Search";
|
|
20155
|
+
SysUIActionTag2["RESET"] = "Reset";
|
|
20156
|
+
SysUIActionTag2["FINISH"] = "Finish";
|
|
20157
|
+
SysUIActionTag2["NEXT_STEP"] = "NextStep";
|
|
20158
|
+
SysUIActionTag2["PREV_STEP"] = "PrevStep";
|
|
20159
|
+
SysUIActionTag2["ADD_SELECTION"] = "AddSelection";
|
|
20160
|
+
SysUIActionTag2["REMOVE_SELECTION"] = "RemoveSelection";
|
|
20161
|
+
SysUIActionTag2["REMOVE_ALL"] = "RemoveAll";
|
|
20162
|
+
SysUIActionTag2["ADD_ALL"] = "AddAll";
|
|
20163
|
+
SysUIActionTag2["LOGOUT"] = "Logout";
|
|
20164
|
+
SysUIActionTag2["LOGIN"] = "Login";
|
|
20165
|
+
SysUIActionTag2["CANCEL_CHANGES"] = "CancelChanges";
|
|
20166
|
+
SysUIActionTag2["COPY"] = "Copy";
|
|
20167
|
+
SysUIActionTag2["VIEW"] = "View";
|
|
20168
|
+
SysUIActionTag2["TOGGLE_ROW_EDIT"] = "ToggleRowEdit";
|
|
20169
|
+
SysUIActionTag2["REFRESH_ALL"] = "RefreshAll";
|
|
20170
|
+
SysUIActionTag2["REFRESH_PARENT"] = "RefreshParent";
|
|
20171
|
+
SysUIActionTag2["FIRST_RECORD"] = "FirstRecord";
|
|
20172
|
+
SysUIActionTag2["LAST_RECORD"] = "LastRecord";
|
|
20173
|
+
SysUIActionTag2["PREV_RECORD"] = "PrevRecord";
|
|
20174
|
+
SysUIActionTag2["NEXT_RECORD"] = "NextRecord";
|
|
20175
|
+
SysUIActionTag2["LOAD_MORE"] = "LoadMore";
|
|
20176
|
+
SysUIActionTag2["SHOTR_CUT"] = "ShortCut";
|
|
20177
|
+
SysUIActionTag2["EXPAND"] = "Expand";
|
|
20178
|
+
SysUIActionTag2["COLLAPSE"] = "Collapse";
|
|
20179
|
+
SysUIActionTag2["EXPANDALL"] = "ExpandAll";
|
|
20180
|
+
SysUIActionTag2["COLLAPSEALL"] = "CollapseAll";
|
|
20181
|
+
return SysUIActionTag2;
|
|
20182
|
+
})(SysUIActionTag || {});
|
|
20183
|
+
|
|
20184
|
+
// src/constant/value-op.ts
|
|
20185
|
+
var ValueOP = /* @__PURE__ */ ((ValueOP2) => {
|
|
20186
|
+
ValueOP2["EQ"] = "EQ";
|
|
20187
|
+
ValueOP2["NOT_EQ"] = "NOTEQ";
|
|
20188
|
+
ValueOP2["GT"] = "GT";
|
|
20189
|
+
ValueOP2["GT_AND_EQ"] = "GTANDEQ";
|
|
20190
|
+
ValueOP2["LT"] = "LT";
|
|
20191
|
+
ValueOP2["LT_AND_EQ"] = "LTANDEQ";
|
|
20192
|
+
ValueOP2["IS_NULL"] = "ISNULL";
|
|
20193
|
+
ValueOP2["IS_NOT_NULL"] = "ISNOTNULL";
|
|
20194
|
+
ValueOP2["IN"] = "IN";
|
|
20195
|
+
ValueOP2["NOT_IN"] = "NOTIN";
|
|
20196
|
+
ValueOP2["LIKE"] = "LIKE";
|
|
20197
|
+
ValueOP2["LIFT_LIKE"] = "LIFTLIKE";
|
|
20198
|
+
ValueOP2["RIGHT_LIKE"] = "RIGHT_LIKE";
|
|
20199
|
+
ValueOP2["CHILD_OF"] = "CHILDOF";
|
|
20200
|
+
ValueOP2["USER_LIKE"] = "USERLIKE";
|
|
20201
|
+
ValueOP2["BIT_AND"] = "BITAND";
|
|
20202
|
+
ValueOP2["EXISTS"] = "EXISTS";
|
|
20203
|
+
ValueOP2["NOT_EXISTS"] = "NOTEXISTS";
|
|
20204
|
+
return ValueOP2;
|
|
20205
|
+
})(ValueOP || {});
|
|
20206
|
+
|
|
20207
|
+
// src/constant/view-call-tag.ts
|
|
20208
|
+
var ViewCallTag = /* @__PURE__ */ ((ViewCallTag2) => {
|
|
20209
|
+
ViewCallTag2["LOAD"] = "Load";
|
|
20210
|
+
ViewCallTag2["GET_DATA"] = "GetData";
|
|
20211
|
+
ViewCallTag2["GET_ALL_DATA"] = "GetAllData";
|
|
20212
|
+
ViewCallTag2["VALIDATE"] = "Validate";
|
|
20213
|
+
ViewCallTag2["TOGGLE_COLLAPSE"] = "ToggleCollapse";
|
|
20214
|
+
ViewCallTag2["WF_WITHDRAW"] = "WFWithdraw";
|
|
20215
|
+
ViewCallTag2["COPY_PATH"] = "CopyPath";
|
|
20216
|
+
return ViewCallTag2;
|
|
20217
|
+
})(ViewCallTag || {});
|
|
20218
|
+
|
|
20219
|
+
// src/constant/view-mode.ts
|
|
20220
|
+
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
20221
|
+
ViewMode2["ROUTE"] = "ROUTE";
|
|
20222
|
+
ViewMode2["ROUTE_MODAL"] = "ROUTE_MODAL";
|
|
20223
|
+
ViewMode2["MODAL"] = "MODAL";
|
|
20224
|
+
ViewMode2["DRAWER"] = "DRAWER";
|
|
20225
|
+
ViewMode2["EMBED"] = "EMBED";
|
|
20226
|
+
ViewMode2["POPOVER"] = "POPOVER";
|
|
20227
|
+
return ViewMode2;
|
|
20228
|
+
})(ViewMode || {});
|
|
20229
|
+
|
|
20230
|
+
// src/constant/view-type.ts
|
|
20231
|
+
var ViewType = /* @__PURE__ */ ((ViewType2) => {
|
|
20232
|
+
ViewType2["APP_INDEX_VIEW"] = "APPINDEXVIEW";
|
|
20233
|
+
ViewType2["DE_GRID_VIEW"] = "DEGRIDVIEW";
|
|
20234
|
+
ViewType2["DE_EDIT_VIEW"] = "DEEDITVIEW";
|
|
20235
|
+
ViewType2["APP_DATA_UPLOAD_VIEW"] = "APPDATAUPLOADVIEW";
|
|
20236
|
+
ViewType2["APP_ERROR_VIEW"] = "APPERRORVIEW";
|
|
20237
|
+
ViewType2["APP_FILE_UPLOAD_VIEW"] = "APPFILEUPLOADVIEW";
|
|
20238
|
+
ViewType2["APP_FUN_PICKUP_VIEW"] = "APPFUNCPICKUPVIEW";
|
|
20239
|
+
ViewType2["APP_LOGIN_VIEW"] = "APPLOGINVIEW";
|
|
20240
|
+
ViewType2["APP_LOGOUT_VIEW"] = "APPLOGOUTVIEW";
|
|
20241
|
+
ViewType2["APP_PANEL_VIEW"] = "APPPANELVIEW";
|
|
20242
|
+
ViewType2["APP_PIC_UPLOAD_VIEW"] = "APPPICUPLOADVIEW";
|
|
20243
|
+
ViewType2["APP_PORTAL_VIEW"] = "APPPORTALVIEW";
|
|
20244
|
+
ViewType2["APP_REDIRECT_VIEW"] = "APPREDIRECTVIEW";
|
|
20245
|
+
ViewType2["APP_START_VIEW"] = "APPSTARTVIEW";
|
|
20246
|
+
ViewType2["APP_WELCOME_VIEW"] = "APPWELCOMEVIEW";
|
|
20247
|
+
ViewType2["APP_WF_ADD_STEP_AFTER_VIEW"] = "APPWFADDSTEPAFTERVIEW";
|
|
20248
|
+
ViewType2["APP_WF_ADD_STEP_BEFORE_VIEW"] = "APPWFADDSTEPBEFOREVIEW";
|
|
20249
|
+
ViewType2["APP_WF_REDIRECT_VIEW"] = "APPWFREDIRECTVIEW";
|
|
20250
|
+
ViewType2["APP_WF_SENDBAC_VIEW"] = "APPWFSENDBACKVIEW";
|
|
20251
|
+
ViewType2["APP_WF_STEP_ACTOR_VIEW"] = "APPWFSTEPACTORVIEW";
|
|
20252
|
+
ViewType2["APP_WF_STEP_DATA_VIEW"] = "APPWFSTEPDATAVIEW";
|
|
20253
|
+
ViewType2["APP_WF_STEP_TRACE_VIEW"] = "APPWFSTEPTRACEVIEW";
|
|
20254
|
+
ViewType2["APP_WF_SUPPLY_INFO_VIEW"] = "APPWFSUPPLYINFOVIEW";
|
|
20255
|
+
ViewType2["APP_WF_TAKE_ADVICE_VIEW"] = "APPWFTAKEADVICEVIEW";
|
|
20256
|
+
ViewType2["DE_CALENDAR_EXP_VIEW"] = "DECALENDAREXPVIEW";
|
|
20257
|
+
ViewType2["DE_CALENDAR_VIEW"] = "DECALENDARVIEW";
|
|
20258
|
+
ViewType2["DE_CHART_EXP_VIEW"] = "DECHARTEXPVIEW";
|
|
20259
|
+
ViewType2["DE_CHART_VIEW"] = "DECHARTVIEW";
|
|
20260
|
+
ViewType2["DE_CHART_VIEW9"] = "DECHARTVIEW9";
|
|
20261
|
+
ViewType2["DE_CUSTOM_VIEW"] = "DECUSTOMVIEW";
|
|
20262
|
+
ViewType2["DE_DATA_VIEW"] = "DEDATAVIEW";
|
|
20263
|
+
ViewType2["DE_DATA_VIEW9"] = "DEDATAVIEW9";
|
|
20264
|
+
ViewType2["DE_DATAVIEW_EXP_VIEW"] = "DEDATAVIEWEXPVIEW";
|
|
20265
|
+
ViewType2["DE_EDIT_VIEW2"] = "DEEDITVIEW2";
|
|
20266
|
+
ViewType2["DE_EDIT_VIEW3"] = "DEEDITVIEW3";
|
|
20267
|
+
ViewType2["DE_EDIT_VIEW4"] = "DEEDITVIEW4";
|
|
20268
|
+
ViewType2["DE_EDIT_VIEW9"] = "DEEDITVIEW9";
|
|
20269
|
+
ViewType2["DE_FORM_PICKUP_DATA_VIEW"] = "DEFORMPICKUPDATAVIEW";
|
|
20270
|
+
ViewType2["DE_GANTT_EXP_VIEW"] = "DEGANTTEXPVIEW";
|
|
20271
|
+
ViewType2["DE_GANTT_VIEW"] = "DEGANTTVIEW";
|
|
20272
|
+
ViewType2["DE_GANTT_VIEW9"] = "DEGANTTVIEW9";
|
|
20273
|
+
ViewType2["DE_GRID_EXP_VIEW"] = "DEGRIDEXPVIEW";
|
|
20274
|
+
ViewType2["DE_GRID_VIEW2"] = "DEGRIDVIEW2";
|
|
20275
|
+
ViewType2["DE_GRID_VIEW4"] = "DEGRIDVIEW4";
|
|
20276
|
+
ViewType2["DE_GRID_VIEW8"] = "DEGRIDVIEW8";
|
|
20277
|
+
ViewType2["DE_GRID_VIEW9"] = "DEGRIDVIEW9";
|
|
20278
|
+
ViewType2["DE_HTML_VIEW"] = "DEHTMLVIEW";
|
|
20279
|
+
ViewType2["DE_INDEX_PICKUP_DATA_VIEW"] = "DEINDEXPICKUPDATAVIEW";
|
|
20280
|
+
ViewType2["DE_INDEX_VIEW"] = "DEINDEXVIEW";
|
|
20281
|
+
ViewType2["DE_KANBAN_VIEW"] = "DEKANBANVIEW";
|
|
20282
|
+
ViewType2["DE_KANBAN_VIEW9"] = "DEKANBANVIEW9";
|
|
20283
|
+
ViewType2["DE_LIST_EXP_VIEW"] = "DELISTEXPVIEW";
|
|
20284
|
+
ViewType2["DE_LIST_VIEW"] = "DELISTVIEW";
|
|
20285
|
+
ViewType2["DE_LIST_VIEW9"] = "DELISTVIEW9";
|
|
20286
|
+
ViewType2["DE_MAP_EXP_VIEW"] = "DEMAPEXPVIEW";
|
|
20287
|
+
ViewType2["DE_MAP_VIEW"] = "DEMAPVIEW";
|
|
20288
|
+
ViewType2["DE_MAP_VIEW9"] = "DEMAPVIEW9";
|
|
20289
|
+
ViewType2["DE_MD_CUSTOM_VIEW"] = "DEMDCUSTOMVIEW";
|
|
20290
|
+
ViewType2["DE_MEDITVIEW9"] = "DEMEDITVIEW9";
|
|
20291
|
+
ViewType2["DE_MOB_CALENDAR_EXP_VIEW"] = "DEMOBCALENDAREXPVIEW";
|
|
20292
|
+
ViewType2["DE_MOB_CALENDAR_VIEW"] = "DEMOBCALENDARVIEW";
|
|
20293
|
+
ViewType2["DE_MOB_CALENDAR_VIEW9"] = "DEMOBCALENDARVIEW9";
|
|
20294
|
+
ViewType2["DE_MOB_CHART_EXP_VIEW"] = "DEMOBCHARTEXPVIEW";
|
|
20295
|
+
ViewType2["DE_MO_BCHART_VIEW"] = "DEMOBCHARTVIEW";
|
|
20296
|
+
ViewType2["D_EMOB_CHART_VIEW9"] = "DEMOBCHARTVIEW9";
|
|
20297
|
+
ViewType2["DE_MOB_CUSTOM_VIEW"] = "DEMOBCUSTOMVIEW";
|
|
20298
|
+
ViewType2["DE_MOB_DATA_VIEW"] = "DEMOBDATAVIEW";
|
|
20299
|
+
ViewType2["DE_MOB_DATA_VIEW_EXP_VIEW"] = "DEMOBDATAVIEWEXPVIEW";
|
|
20300
|
+
ViewType2["DE_MOB_EDIT_VIEW"] = "DEMOBEDITVIEW";
|
|
20301
|
+
ViewType2["DE_MOB_EDIT_VIEW3"] = "DEMOBEDITVIEW3";
|
|
20302
|
+
ViewType2["DE_MOB_EDITVIEW9"] = "DEMOBEDITVIEW9";
|
|
20303
|
+
ViewType2["DE_MOB_FORM_PICKUP_MDVIEW"] = "DEMOBFORMPICKUPMDVIEW";
|
|
20304
|
+
ViewType2["DE_MOB_GANTT_EXP_VIEW"] = "DEMOBGANTTEXPVIEW";
|
|
20305
|
+
ViewType2["DE_MOB_GANTT_VIEW"] = "DEMOBGANTTVIEW";
|
|
20306
|
+
ViewType2["DE_MOB_GANTT_VIEW9"] = "DEMOBGANTTVIEW9";
|
|
20307
|
+
ViewType2["DE_MOB_HTML_VIEW"] = "DEMOBHTMLVIEW";
|
|
20308
|
+
ViewType2["DE_MOB_INDEX_PICKUP_MDVIEW"] = "DEMOBINDEXPICKUPMDVIEW";
|
|
20309
|
+
ViewType2["DE_MOB_LIST_EXP_VIEW"] = "DEMOBLISTEXPVIEW";
|
|
20310
|
+
ViewType2["DE_MOB_LIST_VIEW"] = "DEMOBLISTVIEW";
|
|
20311
|
+
ViewType2["DE_MOB_MAP_VIEW"] = "DEMOBMAPVIEW";
|
|
20312
|
+
ViewType2["DE_MOB_MAP_VIEW9"] = "DEMOBMAPVIEW9";
|
|
20313
|
+
ViewType2["DE_MOB_MDVIEW"] = "DEMOBMDVIEW";
|
|
20314
|
+
ViewType2["DE_MOB_MDVIEW9"] = "DEMOBMDVIEW9";
|
|
20315
|
+
ViewType2["DE_MOB_MEDIT_VIEW9"] = "DEMOBMEDITVIEW9";
|
|
20316
|
+
ViewType2["DE_MOB_MPICKUP_VIEW"] = "DEMOBMPICKUPVIEW";
|
|
20317
|
+
ViewType2["DE_MOB_OPT_VIEW"] = "DEMOBOPTVIEW";
|
|
20318
|
+
ViewType2["DE_MOB_PANEL_VIEW"] = "DEMOBPANELVIEW";
|
|
20319
|
+
ViewType2["DE_MOB_PANEL_VIEW9"] = "DEMOBPANELVIEW9";
|
|
20320
|
+
ViewType2["DE_MOB_PICKUP_LIST_VIEW"] = "DEMOBPICKUPLISTVIEW";
|
|
20321
|
+
ViewType2["DE_MOB_PICKUP_MDVIEW"] = "DEMOBPICKUPMDVIEW";
|
|
20322
|
+
ViewType2["DE_MOB_PICKUP_TREE_VIEW"] = "DEMOBPICKUPTREEVIEW";
|
|
20323
|
+
ViewType2["DE_MOB_PICKUP_VIEW"] = "DEMOBPICKUPVIEW";
|
|
20324
|
+
ViewType2["DE_MOB_PORTAL_VIEW"] = "DEMOBPORTALVIEW";
|
|
20325
|
+
ViewType2["DE_MOB_PORTAL_VIEW9"] = "DEMOBPORTALVIEW9";
|
|
20326
|
+
ViewType2["DE_MOB_REDIRECT_VIEW"] = "DEMOBREDIRECTVIEW";
|
|
20327
|
+
ViewType2["DE_MOB_REPORT_VIEW"] = "DEMOBREPORTVIEW";
|
|
20328
|
+
ViewType2["DE_MOB_TAB_EXP_VIEW"] = "DEMOBTABEXPVIEW";
|
|
20329
|
+
ViewType2["DE_MOB_TAB_EXP_VIEW9"] = "DEMOBTABEXPVIEW9";
|
|
20330
|
+
ViewType2["DE_MOB_TAB_SEARCH_VIEW"] = "DEMOBTABSEARCHVIEW";
|
|
20331
|
+
ViewType2["DE_MOB_TAB_SEARCH_VIEW9"] = "DEMOBTABSEARCHVIEW9";
|
|
20332
|
+
ViewType2["DE_MOB_TREE_EXP_VIEW"] = "DEMOBTREEEXPVIEW";
|
|
20333
|
+
ViewType2["DEMOBTREEEXPVIEW9"] = "DEMOBTREEEXPVIEW9";
|
|
20334
|
+
ViewType2["DE_MOB_TREE_VIEW"] = "DEMOBTREEVIEW";
|
|
20335
|
+
ViewType2["DE_MOB_WFACTION_VIEW"] = "DEMOBWFACTIONVIEW";
|
|
20336
|
+
ViewType2["DE_MOB_WF_DATA_REDIRECT_VIEW"] = "DEMOBWFDATAREDIRECTVIEW";
|
|
20337
|
+
ViewType2["DE_MOB_WF_DYNAACTIO_NVIEW"] = "DEMOBWFDYNAACTIONVIEW";
|
|
20338
|
+
ViewType2["DE_MOB_WFDYNA_EDIT_VIEW"] = "DEMOBWFDYNAEDITVIEW";
|
|
20339
|
+
ViewType2["DE_MOB_WF_DYNA_EDIT_VIEW3"] = "DEMOBWFDYNAEDITVIEW3";
|
|
20340
|
+
ViewType2["DE_MOB_WF_DYNA_EXP_MDVIEW"] = "DEMOBWFDYNAEXPMDVIEW";
|
|
20341
|
+
ViewType2["DE_MO_BWF_DYNA_START_VIEW"] = "DEMOBWFDYNASTARTVIEW";
|
|
20342
|
+
ViewType2["DE_MOB_WF_EDIT_VIEW"] = "DEMOBWFEDITVIEW";
|
|
20343
|
+
ViewType2["DE_MOB_WF_EDIT_VIEW3"] = "DEMOBWFEDITVIEW3";
|
|
20344
|
+
ViewType2["DE_MOB_WF_MDVIEW"] = "DEMOBWFMDVIEW";
|
|
20345
|
+
ViewType2["DE_MOB_WF_PROXY_RESULT_VIEW"] = "DEMOBWFPROXYRESULTVIEW";
|
|
20346
|
+
ViewType2["DE_MOB_WF_PROXY_START_VIEW"] = "DEMOBWFPROXYSTARTVIEW";
|
|
20347
|
+
ViewType2["DE_MOB_WF_START_VIEW"] = "DEMOBWFSTARTVIEW";
|
|
20348
|
+
ViewType2["DE_MOB_WIZARD_VIEW"] = "DEMOBWIZARDVIEW";
|
|
20349
|
+
ViewType2["DE_MPICKUP_VIEW"] = "DEMPICKUPVIEW";
|
|
20350
|
+
ViewType2["DE_MPICKUP_VIEW2"] = "DEMPICKUPVIEW2";
|
|
20351
|
+
ViewType2["DE_OPT_VIEW"] = "DEOPTVIEW";
|
|
20352
|
+
ViewType2["DE_PANEL_VIEW"] = "DEPANELVIEW";
|
|
20353
|
+
ViewType2["DE_PANEL_VIEW9"] = "DEPANELVIEW9";
|
|
20354
|
+
ViewType2["DE_PICKUP_DATA_VIEW"] = "DEPICKUPDATAVIEW";
|
|
20355
|
+
ViewType2["DE_PICKUP_GRID_VIEW"] = "DEPICKUPGRIDVIEW";
|
|
20356
|
+
ViewType2["DE_PICKUP_TREE_VIEW"] = "DEPICKUPTREEVIEW";
|
|
20357
|
+
ViewType2["DE_PICKUP_VIEW"] = "DEPICKUPVIEW";
|
|
20358
|
+
ViewType2["DE_PICKUP_VIEW2"] = "DEPICKUPVIEW2";
|
|
20359
|
+
ViewType2["DE_PICK_UP_VIEW3"] = "DEPICKUPVIEW3";
|
|
20360
|
+
ViewType2["DE_PORTAL_VIEW"] = "DEPORTALVIEW";
|
|
20361
|
+
ViewType2["DE_PORTAL_VIEW9"] = "DEPORTALVIEW9";
|
|
20362
|
+
ViewType2["DE_REDIRECT_VIEW"] = "DEREDIRECTVIEW";
|
|
20363
|
+
ViewType2["DE_REPORT_VIEW"] = "DEREPORTVIEW";
|
|
20364
|
+
ViewType2["DE_TAB_EXP_VIEW"] = "DETABEXPVIEW";
|
|
20365
|
+
ViewType2["DE_TAB_EXP_VIEW9"] = "DETABEXPVIEW9";
|
|
20366
|
+
ViewType2["DE_TAB_SEARCH_VIEW"] = "DETABSEARCHVIEW";
|
|
20367
|
+
ViewType2["DE_TAB_SEARCH_VIEW9"] = "DETABSEARCHVIEW9";
|
|
20368
|
+
ViewType2["DE_TREE_EXP_VIEW"] = "DETREEEXPVIEW";
|
|
20369
|
+
ViewType2["DE_TREE_EXP_VIEW2"] = "DETREEEXPVIEW2";
|
|
20370
|
+
ViewType2["DE_TREE_EXP_VIEW3"] = "DETREEEXPVIEW3";
|
|
20371
|
+
ViewType2["DE_TREE_GRID_EXVIEW"] = "DETREEGRIDEXVIEW";
|
|
20372
|
+
ViewType2["DE_TREE_GRID_EXVIEW9"] = "DETREEGRIDEXVIEW9";
|
|
20373
|
+
ViewType2["DE_TREE_GRID_VIEW"] = "DETREEGRIDVIEW";
|
|
20374
|
+
ViewType2["DE_TREE_GRID_VIEW9"] = "DETREEGRIDVIEW9";
|
|
20375
|
+
ViewType2["DE_TREE_VIEW"] = "DETREEVIEW";
|
|
20376
|
+
ViewType2["DE_TREE_VIEW9"] = "DETREEVIEW9";
|
|
20377
|
+
ViewType2["DE_WF_ACTION_VIEW"] = "DEWFACTIONVIEW";
|
|
20378
|
+
ViewType2["DE_WF_DATA_REDIRECT_VIEW"] = "DEWFDATAREDIRECTVIEW";
|
|
20379
|
+
ViewType2["DE_WF_DYNA_ACTION_VIEW"] = "DEWFDYNAACTIONVIEW";
|
|
20380
|
+
ViewType2["DE_WF_DYNA_EDIT_VIEW"] = "DEWFDYNAEDITVIEW";
|
|
20381
|
+
ViewType2["DE_WF_DYNA_EDIT_VIEW3"] = "DEWFDYNAEDITVIEW3";
|
|
20382
|
+
ViewType2["DE_WF_DYNA_EXP_GRID_VIEW"] = "DEWFDYNAEXPGRIDVIEW";
|
|
20383
|
+
ViewType2["DE_WF_DYNA_START_VIEW"] = "DEWFDYNASTARTVIEW";
|
|
20384
|
+
ViewType2["DE_WF_EDIT_PROXY_DATA_VIEW"] = "DEWFEDITPROXYDATAVIEW";
|
|
20385
|
+
ViewType2["DE_WF_EDIT_VIEW"] = "DEWFEDITVIEW";
|
|
20386
|
+
ViewType2["DE_WF_EDIT_VIEW2"] = "DEWFEDITVIEW2";
|
|
20387
|
+
ViewType2["DE_WF_EDIT_VIEW3"] = "DEWFEDITVIEW3";
|
|
20388
|
+
ViewType2["DE_WF_EDIT_VIEW9"] = "DEWFEDITVIEW9";
|
|
20389
|
+
ViewType2["DE_WF_EXP_VIEW"] = "DEWFEXPVIEW";
|
|
20390
|
+
ViewType2["DE_WF_GRID_VIEW"] = "DEWFGRIDVIEW";
|
|
20391
|
+
ViewType2["DE_WF_PROXY_DATA_VIEW"] = "DEWFPROXYDATAVIEW";
|
|
20392
|
+
ViewType2["DE_WF_PROXY_RESULT_VIEW"] = "DEWFPROXYRESULTVIEW";
|
|
20393
|
+
ViewType2["DE_WF_PROXY_START_VIEW"] = "DEWFPROXYSTARTVIEW";
|
|
20394
|
+
ViewType2["DE_WF_START_VIEW"] = "DEWFSTARTVIEW";
|
|
20395
|
+
ViewType2["DE_WIZARD_VIEW"] = "DEWIZARDVIEW";
|
|
20396
|
+
ViewType2["DE_SUB_APP_REF_VIEW"] = "DESUBAPPREFVIEW";
|
|
20397
|
+
return ViewType2;
|
|
20398
|
+
})(ViewType || {});
|
|
20399
|
+
|
|
20400
|
+
// src/constant/preset-identifier.ts
|
|
20401
|
+
var PresetIdentifier = /* @__PURE__ */ ((PresetIdentifier2) => {
|
|
20402
|
+
PresetIdentifier2["MESSAGE"] = "preset-message";
|
|
20403
|
+
return PresetIdentifier2;
|
|
20404
|
+
})(PresetIdentifier || {});
|
|
20405
|
+
|
|
20406
|
+
// src/constant/predefined-control-render.ts
|
|
20407
|
+
var PredefinedControlRender = /* @__PURE__ */ ((PredefinedControlRender2) => {
|
|
20408
|
+
PredefinedControlRender2["EMPTYPANEL"] = "emptypanel";
|
|
20409
|
+
PredefinedControlRender2["DISABLEPANEL"] = "disablepanel";
|
|
20410
|
+
return PredefinedControlRender2;
|
|
20411
|
+
})(PredefinedControlRender || {});
|
|
20412
|
+
|
|
20413
|
+
// src/model/utils/util.ts
|
|
19950
20414
|
function findModelChild(models, id) {
|
|
19951
20415
|
if (models && id) {
|
|
19952
20416
|
const model = models.find((item) => {
|
|
@@ -20033,7 +20497,9 @@ function getControlPanel(control) {
|
|
|
20033
20497
|
let layoutPanel;
|
|
20034
20498
|
if (control.controlRenders) {
|
|
20035
20499
|
const panelRender = control.controlRenders.find(
|
|
20036
|
-
(item) => item.renderType === "LAYOUTPANEL" && !!item.layoutPanel &&
|
|
20500
|
+
(item) => item.renderType === "LAYOUTPANEL" && !!item.layoutPanel && !Object.values(PredefinedControlRender).includes(
|
|
20501
|
+
item.id
|
|
20502
|
+
)
|
|
20037
20503
|
);
|
|
20038
20504
|
layoutPanel = panelRender == null ? void 0 : panelRender.layoutPanel;
|
|
20039
20505
|
}
|
|
@@ -21760,448 +22226,6 @@ function getWFSubmitViewId(view, link) {
|
|
|
21760
22226
|
|
|
21761
22227
|
// src/utils/modal/modal.ts
|
|
21762
22228
|
import { AsyncSeriesHook } from "qx-util";
|
|
21763
|
-
|
|
21764
|
-
// src/constant/control-type.ts
|
|
21765
|
-
var ControlType = /* @__PURE__ */ ((ControlType2) => {
|
|
21766
|
-
ControlType2["APP_MENU"] = "APPMENU";
|
|
21767
|
-
ControlType2["GRID"] = "GRID";
|
|
21768
|
-
ControlType2["FORM"] = "FORM";
|
|
21769
|
-
ControlType2["SEARCHFORM"] = "SEARCHFORM";
|
|
21770
|
-
ControlType2["TOOLBAR"] = "TOOLBAR";
|
|
21771
|
-
ControlType2["DRBAR"] = "DRBAR";
|
|
21772
|
-
ControlType2["VIEWPANEL"] = "VIEWPANEL";
|
|
21773
|
-
ControlType2["PICKUP_VIEW_PANEL"] = "PICKUPVIEWPANEL";
|
|
21774
|
-
ControlType2["DATAVIEW"] = "DATAVIEW";
|
|
21775
|
-
ControlType2["TREEGRID"] = "TREEGRID";
|
|
21776
|
-
ControlType2["WF_EXPBAR"] = "WFEXPBAR";
|
|
21777
|
-
ControlType2["TREEVIEW"] = "TREEVIEW";
|
|
21778
|
-
ControlType2["TREE_EXP_BAR"] = "TREEEXPBAR";
|
|
21779
|
-
ControlType2["TAB_VIEWPANEL"] = "TABVIEWPANEL";
|
|
21780
|
-
ControlType2["DRTAB"] = "DRTAB";
|
|
21781
|
-
ControlType2["CHART"] = "CHART";
|
|
21782
|
-
ControlType2["REPORT_PANEL"] = "REPORTPANEL";
|
|
21783
|
-
ControlType2["LIST"] = "LIST";
|
|
21784
|
-
ControlType2["MOB_MDCTRL"] = "MOBMDCTRL";
|
|
21785
|
-
ControlType2["MULTI_EDIT_VIEWPANEL"] = "MULTIEDITVIEWPANEL";
|
|
21786
|
-
ControlType2["WIZARD_PANEL"] = "WIZARDPANEL";
|
|
21787
|
-
ControlType2["UPDATE_PANEL"] = "UPDATEPANEL";
|
|
21788
|
-
ControlType2["SEARCHBAR"] = "SEARCHBAR";
|
|
21789
|
-
ControlType2["DASHBOARD"] = "DASHBOARD";
|
|
21790
|
-
ControlType2["CALENDAR"] = "CALENDAR";
|
|
21791
|
-
ControlType2["PANEL"] = "PANEL";
|
|
21792
|
-
ControlType2["VIEW_LAYOUT_PANEL"] = "VIEWLAYOUTPANEL";
|
|
21793
|
-
ControlType2["MAP"] = "MAP";
|
|
21794
|
-
ControlType2["GANTT"] = "GANTT";
|
|
21795
|
-
ControlType2["TREE_GRIDEX"] = "TREEGRIDEX";
|
|
21796
|
-
ControlType2["KANBAN"] = "KANBAN";
|
|
21797
|
-
ControlType2["CALENDAR_EXPBAR"] = "CALENDAREXPBAR";
|
|
21798
|
-
ControlType2["CHART_EXPBAR"] = "CHARTEXPBAR";
|
|
21799
|
-
ControlType2["DATA_VIEW_EXPBAR"] = "DATAVIEWEXPBAR";
|
|
21800
|
-
ControlType2["GANTT_EXPBAR"] = "GANTTEXPBAR";
|
|
21801
|
-
ControlType2["GRID_EXPBAR"] = "GRIDEXPBAR";
|
|
21802
|
-
ControlType2["LIST_EXPBAR"] = "LISTEXPBAR";
|
|
21803
|
-
ControlType2["MAP_EXPBAR"] = "MAPEXPBAR";
|
|
21804
|
-
ControlType2["STATE_WIZARD_PANEL"] = "STATEWIZARDPANEL";
|
|
21805
|
-
ControlType2["TAB_EXP_PANEL"] = "TABEXPPANEL";
|
|
21806
|
-
ControlType2["CUSTOM"] = "CUSTOM";
|
|
21807
|
-
ControlType2["CAPTIONBAR"] = "CAPTIONBAR";
|
|
21808
|
-
ControlType2["CONTEXT_MENU"] = "CONTEXTMENU";
|
|
21809
|
-
return ControlType2;
|
|
21810
|
-
})(ControlType || {});
|
|
21811
|
-
var MDControlTypes = [
|
|
21812
|
-
"CALENDAR" /* CALENDAR */,
|
|
21813
|
-
"CHART" /* CHART */,
|
|
21814
|
-
"DATAVIEW" /* DATAVIEW */,
|
|
21815
|
-
"GANTT" /* GANTT */,
|
|
21816
|
-
"GRID" /* GRID */,
|
|
21817
|
-
"KANBAN" /* KANBAN */,
|
|
21818
|
-
"LIST" /* LIST */,
|
|
21819
|
-
"MAP" /* MAP */,
|
|
21820
|
-
"MOBMDCTRL" /* MOB_MDCTRL */,
|
|
21821
|
-
"MULTIEDITVIEWPANEL" /* MULTI_EDIT_VIEWPANEL */,
|
|
21822
|
-
"TREEGRID" /* TREEGRID */,
|
|
21823
|
-
"TREEVIEW" /* TREEVIEW */,
|
|
21824
|
-
"TREEGRIDEX" /* TREE_GRIDEX */
|
|
21825
|
-
];
|
|
21826
|
-
|
|
21827
|
-
// src/constant/platform-type.ts
|
|
21828
|
-
var PlatformType = /* @__PURE__ */ ((PlatformType2) => {
|
|
21829
|
-
PlatformType2["IOS"] = "IOS";
|
|
21830
|
-
PlatformType2["ANDROID"] = "Android";
|
|
21831
|
-
PlatformType2["WECHAT"] = "WeChat";
|
|
21832
|
-
PlatformType2["QQ"] = "QQ";
|
|
21833
|
-
PlatformType2["DINGTALK"] = "DingTalk";
|
|
21834
|
-
PlatformType2["BROWSER"] = "Browser";
|
|
21835
|
-
PlatformType2["WCMP"] = "WeChatMiniProgram";
|
|
21836
|
-
PlatformType2["DESKTOP"] = "Desktop";
|
|
21837
|
-
return PlatformType2;
|
|
21838
|
-
})(PlatformType || {});
|
|
21839
|
-
|
|
21840
|
-
// src/constant/route.ts
|
|
21841
|
-
var RouteConst = /* @__PURE__ */ ((RouteConst2) => {
|
|
21842
|
-
RouteConst2["ROUTE_MODAL_TAG"] = "route-modal";
|
|
21843
|
-
return RouteConst2;
|
|
21844
|
-
})(RouteConst || {});
|
|
21845
|
-
|
|
21846
|
-
// src/constant/studio-event.ts
|
|
21847
|
-
var StudioViewEvents = class {
|
|
21848
|
-
};
|
|
21849
|
-
/**
|
|
21850
|
-
* 视图加载
|
|
21851
|
-
*/
|
|
21852
|
-
StudioViewEvents.onViewMounted = "onMounted";
|
|
21853
|
-
/**
|
|
21854
|
-
* 视图销毁
|
|
21855
|
-
*/
|
|
21856
|
-
StudioViewEvents.onViewDestroyed = "onDestroyed";
|
|
21857
|
-
var StudioPanelEvents = class {
|
|
21858
|
-
};
|
|
21859
|
-
/**
|
|
21860
|
-
* 点击事件
|
|
21861
|
-
*/
|
|
21862
|
-
StudioPanelEvents.onClick = "onClick";
|
|
21863
|
-
/**
|
|
21864
|
-
* 值变更事件
|
|
21865
|
-
*/
|
|
21866
|
-
StudioPanelEvents.onChange = "onChange";
|
|
21867
|
-
/**
|
|
21868
|
-
* 输入事件
|
|
21869
|
-
*/
|
|
21870
|
-
StudioPanelEvents.onEnter = "onEnter";
|
|
21871
|
-
/**
|
|
21872
|
-
* 离开事件
|
|
21873
|
-
*/
|
|
21874
|
-
StudioPanelEvents.onLeave = "onLeave";
|
|
21875
|
-
var StudioControlEvents = class {
|
|
21876
|
-
};
|
|
21877
|
-
/**
|
|
21878
|
-
* 加载之前
|
|
21879
|
-
*/
|
|
21880
|
-
StudioControlEvents.onBeforeLoad = "onBeforeLoad";
|
|
21881
|
-
/**
|
|
21882
|
-
* 加载成功
|
|
21883
|
-
*/
|
|
21884
|
-
StudioControlEvents.onLoadSuccess = "onLoadSuccess";
|
|
21885
|
-
/**
|
|
21886
|
-
* 加载失败
|
|
21887
|
-
*/
|
|
21888
|
-
StudioControlEvents.onLoadError = "onLoadError";
|
|
21889
|
-
/**
|
|
21890
|
-
* 加载草稿之前
|
|
21891
|
-
*/
|
|
21892
|
-
StudioControlEvents.onBeforeLoadDraft = "onBeforeLoadDraft";
|
|
21893
|
-
/**
|
|
21894
|
-
* 加载草稿成功
|
|
21895
|
-
*/
|
|
21896
|
-
StudioControlEvents.onLoadDraftSuccess = "onLoadDraftSuccess";
|
|
21897
|
-
/**
|
|
21898
|
-
* 加载草稿失败
|
|
21899
|
-
*/
|
|
21900
|
-
StudioControlEvents.onLoadDraftError = "onLoadDraftError";
|
|
21901
|
-
/**
|
|
21902
|
-
* 保存之前
|
|
21903
|
-
*/
|
|
21904
|
-
StudioControlEvents.onBeforeSave = "onBeforeSave";
|
|
21905
|
-
/**
|
|
21906
|
-
* 保存成功
|
|
21907
|
-
*/
|
|
21908
|
-
StudioControlEvents.onSaveSuccess = "onSaveSuccess";
|
|
21909
|
-
/**
|
|
21910
|
-
* 保存失败
|
|
21911
|
-
*/
|
|
21912
|
-
StudioControlEvents.onSaveError = "onSaveError";
|
|
21913
|
-
/**
|
|
21914
|
-
* 删除之前
|
|
21915
|
-
*/
|
|
21916
|
-
StudioControlEvents.onBeforeRemove = "onBeforeRemove";
|
|
21917
|
-
/**
|
|
21918
|
-
* 删除成功
|
|
21919
|
-
*/
|
|
21920
|
-
StudioControlEvents.onRemoveSuccess = "onRemoveSuccess";
|
|
21921
|
-
/**
|
|
21922
|
-
* 删除失败
|
|
21923
|
-
*/
|
|
21924
|
-
StudioControlEvents.onRemoveError = "onRemoveError";
|
|
21925
|
-
/**
|
|
21926
|
-
* 原生默认工具栏的点击事件名称
|
|
21927
|
-
*/
|
|
21928
|
-
StudioControlEvents.CLICK = "onClick";
|
|
21929
|
-
|
|
21930
|
-
// src/constant/sys-uiaction-tag.ts
|
|
21931
|
-
var SysUIActionTag = /* @__PURE__ */ ((SysUIActionTag2) => {
|
|
21932
|
-
SysUIActionTag2["NEW"] = "New";
|
|
21933
|
-
SysUIActionTag2["EDIT"] = "Edit";
|
|
21934
|
-
SysUIActionTag2["REFRESH"] = "Refresh";
|
|
21935
|
-
SysUIActionTag2["EXIT"] = "Exit";
|
|
21936
|
-
SysUIActionTag2["SAVE_AND_EXIT"] = "SaveAndExit";
|
|
21937
|
-
SysUIActionTag2["SAVE_AND_NEW"] = "SaveAndNew";
|
|
21938
|
-
SysUIActionTag2["SAVE"] = "Save";
|
|
21939
|
-
SysUIActionTag2["SAVE_ROW"] = "SaveRow";
|
|
21940
|
-
SysUIActionTag2["REMOVE"] = "Remove";
|
|
21941
|
-
SysUIActionTag2["REMOVE_AND_EXIT"] = "RemoveAndExit";
|
|
21942
|
-
SysUIActionTag2["NEW_ROW"] = "NewRow";
|
|
21943
|
-
SysUIActionTag2["TOGGLE_FILTER"] = "ToggleFilter";
|
|
21944
|
-
SysUIActionTag2["IMPORT"] = "Import";
|
|
21945
|
-
SysUIActionTag2["EXPORT_EXCEL"] = "ExportExcel";
|
|
21946
|
-
SysUIActionTag2["SAVE_AND_START"] = "SaveAndStart";
|
|
21947
|
-
SysUIActionTag2["VIEW_WF_STEP"] = "ViewWFStep";
|
|
21948
|
-
SysUIActionTag2["NO"] = "No";
|
|
21949
|
-
SysUIActionTag2["YES"] = "Yes";
|
|
21950
|
-
SysUIActionTag2["CANCEL"] = "Cancel";
|
|
21951
|
-
SysUIActionTag2["OK"] = "Ok";
|
|
21952
|
-
SysUIActionTag2["SEARCH"] = "Search";
|
|
21953
|
-
SysUIActionTag2["RESET"] = "Reset";
|
|
21954
|
-
SysUIActionTag2["FINISH"] = "Finish";
|
|
21955
|
-
SysUIActionTag2["NEXT_STEP"] = "NextStep";
|
|
21956
|
-
SysUIActionTag2["PREV_STEP"] = "PrevStep";
|
|
21957
|
-
SysUIActionTag2["ADD_SELECTION"] = "AddSelection";
|
|
21958
|
-
SysUIActionTag2["REMOVE_SELECTION"] = "RemoveSelection";
|
|
21959
|
-
SysUIActionTag2["REMOVE_ALL"] = "RemoveAll";
|
|
21960
|
-
SysUIActionTag2["ADD_ALL"] = "AddAll";
|
|
21961
|
-
SysUIActionTag2["LOGOUT"] = "Logout";
|
|
21962
|
-
SysUIActionTag2["LOGIN"] = "Login";
|
|
21963
|
-
SysUIActionTag2["CANCEL_CHANGES"] = "CancelChanges";
|
|
21964
|
-
SysUIActionTag2["COPY"] = "Copy";
|
|
21965
|
-
SysUIActionTag2["VIEW"] = "View";
|
|
21966
|
-
SysUIActionTag2["TOGGLE_ROW_EDIT"] = "ToggleRowEdit";
|
|
21967
|
-
SysUIActionTag2["REFRESH_ALL"] = "RefreshAll";
|
|
21968
|
-
SysUIActionTag2["REFRESH_PARENT"] = "RefreshParent";
|
|
21969
|
-
SysUIActionTag2["FIRST_RECORD"] = "FirstRecord";
|
|
21970
|
-
SysUIActionTag2["LAST_RECORD"] = "LastRecord";
|
|
21971
|
-
SysUIActionTag2["PREV_RECORD"] = "PrevRecord";
|
|
21972
|
-
SysUIActionTag2["NEXT_RECORD"] = "NextRecord";
|
|
21973
|
-
SysUIActionTag2["LOAD_MORE"] = "LoadMore";
|
|
21974
|
-
SysUIActionTag2["SHOTR_CUT"] = "ShortCut";
|
|
21975
|
-
SysUIActionTag2["EXPAND"] = "Expand";
|
|
21976
|
-
SysUIActionTag2["COLLAPSE"] = "Collapse";
|
|
21977
|
-
SysUIActionTag2["EXPANDALL"] = "ExpandAll";
|
|
21978
|
-
SysUIActionTag2["COLLAPSEALL"] = "CollapseAll";
|
|
21979
|
-
return SysUIActionTag2;
|
|
21980
|
-
})(SysUIActionTag || {});
|
|
21981
|
-
|
|
21982
|
-
// src/constant/value-op.ts
|
|
21983
|
-
var ValueOP = /* @__PURE__ */ ((ValueOP2) => {
|
|
21984
|
-
ValueOP2["EQ"] = "EQ";
|
|
21985
|
-
ValueOP2["NOT_EQ"] = "NOTEQ";
|
|
21986
|
-
ValueOP2["GT"] = "GT";
|
|
21987
|
-
ValueOP2["GT_AND_EQ"] = "GTANDEQ";
|
|
21988
|
-
ValueOP2["LT"] = "LT";
|
|
21989
|
-
ValueOP2["LT_AND_EQ"] = "LTANDEQ";
|
|
21990
|
-
ValueOP2["IS_NULL"] = "ISNULL";
|
|
21991
|
-
ValueOP2["IS_NOT_NULL"] = "ISNOTNULL";
|
|
21992
|
-
ValueOP2["IN"] = "IN";
|
|
21993
|
-
ValueOP2["NOT_IN"] = "NOTIN";
|
|
21994
|
-
ValueOP2["LIKE"] = "LIKE";
|
|
21995
|
-
ValueOP2["LIFT_LIKE"] = "LIFTLIKE";
|
|
21996
|
-
ValueOP2["RIGHT_LIKE"] = "RIGHT_LIKE";
|
|
21997
|
-
ValueOP2["CHILD_OF"] = "CHILDOF";
|
|
21998
|
-
ValueOP2["USER_LIKE"] = "USERLIKE";
|
|
21999
|
-
ValueOP2["BIT_AND"] = "BITAND";
|
|
22000
|
-
ValueOP2["EXISTS"] = "EXISTS";
|
|
22001
|
-
ValueOP2["NOT_EXISTS"] = "NOTEXISTS";
|
|
22002
|
-
return ValueOP2;
|
|
22003
|
-
})(ValueOP || {});
|
|
22004
|
-
|
|
22005
|
-
// src/constant/view-call-tag.ts
|
|
22006
|
-
var ViewCallTag = /* @__PURE__ */ ((ViewCallTag2) => {
|
|
22007
|
-
ViewCallTag2["LOAD"] = "Load";
|
|
22008
|
-
ViewCallTag2["GET_DATA"] = "GetData";
|
|
22009
|
-
ViewCallTag2["GET_ALL_DATA"] = "GetAllData";
|
|
22010
|
-
ViewCallTag2["VALIDATE"] = "Validate";
|
|
22011
|
-
ViewCallTag2["TOGGLE_COLLAPSE"] = "ToggleCollapse";
|
|
22012
|
-
ViewCallTag2["WF_WITHDRAW"] = "WFWithdraw";
|
|
22013
|
-
ViewCallTag2["COPY_PATH"] = "CopyPath";
|
|
22014
|
-
return ViewCallTag2;
|
|
22015
|
-
})(ViewCallTag || {});
|
|
22016
|
-
|
|
22017
|
-
// src/constant/view-mode.ts
|
|
22018
|
-
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
22019
|
-
ViewMode2["ROUTE"] = "ROUTE";
|
|
22020
|
-
ViewMode2["ROUTE_MODAL"] = "ROUTE_MODAL";
|
|
22021
|
-
ViewMode2["MODAL"] = "MODAL";
|
|
22022
|
-
ViewMode2["DRAWER"] = "DRAWER";
|
|
22023
|
-
ViewMode2["EMBED"] = "EMBED";
|
|
22024
|
-
ViewMode2["POPOVER"] = "POPOVER";
|
|
22025
|
-
return ViewMode2;
|
|
22026
|
-
})(ViewMode || {});
|
|
22027
|
-
|
|
22028
|
-
// src/constant/view-type.ts
|
|
22029
|
-
var ViewType = /* @__PURE__ */ ((ViewType2) => {
|
|
22030
|
-
ViewType2["APP_INDEX_VIEW"] = "APPINDEXVIEW";
|
|
22031
|
-
ViewType2["DE_GRID_VIEW"] = "DEGRIDVIEW";
|
|
22032
|
-
ViewType2["DE_EDIT_VIEW"] = "DEEDITVIEW";
|
|
22033
|
-
ViewType2["APP_DATA_UPLOAD_VIEW"] = "APPDATAUPLOADVIEW";
|
|
22034
|
-
ViewType2["APP_ERROR_VIEW"] = "APPERRORVIEW";
|
|
22035
|
-
ViewType2["APP_FILE_UPLOAD_VIEW"] = "APPFILEUPLOADVIEW";
|
|
22036
|
-
ViewType2["APP_FUN_PICKUP_VIEW"] = "APPFUNCPICKUPVIEW";
|
|
22037
|
-
ViewType2["APP_LOGIN_VIEW"] = "APPLOGINVIEW";
|
|
22038
|
-
ViewType2["APP_LOGOUT_VIEW"] = "APPLOGOUTVIEW";
|
|
22039
|
-
ViewType2["APP_PANEL_VIEW"] = "APPPANELVIEW";
|
|
22040
|
-
ViewType2["APP_PIC_UPLOAD_VIEW"] = "APPPICUPLOADVIEW";
|
|
22041
|
-
ViewType2["APP_PORTAL_VIEW"] = "APPPORTALVIEW";
|
|
22042
|
-
ViewType2["APP_REDIRECT_VIEW"] = "APPREDIRECTVIEW";
|
|
22043
|
-
ViewType2["APP_START_VIEW"] = "APPSTARTVIEW";
|
|
22044
|
-
ViewType2["APP_WELCOME_VIEW"] = "APPWELCOMEVIEW";
|
|
22045
|
-
ViewType2["APP_WF_ADD_STEP_AFTER_VIEW"] = "APPWFADDSTEPAFTERVIEW";
|
|
22046
|
-
ViewType2["APP_WF_ADD_STEP_BEFORE_VIEW"] = "APPWFADDSTEPBEFOREVIEW";
|
|
22047
|
-
ViewType2["APP_WF_REDIRECT_VIEW"] = "APPWFREDIRECTVIEW";
|
|
22048
|
-
ViewType2["APP_WF_SENDBAC_VIEW"] = "APPWFSENDBACKVIEW";
|
|
22049
|
-
ViewType2["APP_WF_STEP_ACTOR_VIEW"] = "APPWFSTEPACTORVIEW";
|
|
22050
|
-
ViewType2["APP_WF_STEP_DATA_VIEW"] = "APPWFSTEPDATAVIEW";
|
|
22051
|
-
ViewType2["APP_WF_STEP_TRACE_VIEW"] = "APPWFSTEPTRACEVIEW";
|
|
22052
|
-
ViewType2["APP_WF_SUPPLY_INFO_VIEW"] = "APPWFSUPPLYINFOVIEW";
|
|
22053
|
-
ViewType2["APP_WF_TAKE_ADVICE_VIEW"] = "APPWFTAKEADVICEVIEW";
|
|
22054
|
-
ViewType2["DE_CALENDAR_EXP_VIEW"] = "DECALENDAREXPVIEW";
|
|
22055
|
-
ViewType2["DE_CALENDAR_VIEW"] = "DECALENDARVIEW";
|
|
22056
|
-
ViewType2["DE_CHART_EXP_VIEW"] = "DECHARTEXPVIEW";
|
|
22057
|
-
ViewType2["DE_CHART_VIEW"] = "DECHARTVIEW";
|
|
22058
|
-
ViewType2["DE_CHART_VIEW9"] = "DECHARTVIEW9";
|
|
22059
|
-
ViewType2["DE_CUSTOM_VIEW"] = "DECUSTOMVIEW";
|
|
22060
|
-
ViewType2["DE_DATA_VIEW"] = "DEDATAVIEW";
|
|
22061
|
-
ViewType2["DE_DATA_VIEW9"] = "DEDATAVIEW9";
|
|
22062
|
-
ViewType2["DE_DATAVIEW_EXP_VIEW"] = "DEDATAVIEWEXPVIEW";
|
|
22063
|
-
ViewType2["DE_EDIT_VIEW2"] = "DEEDITVIEW2";
|
|
22064
|
-
ViewType2["DE_EDIT_VIEW3"] = "DEEDITVIEW3";
|
|
22065
|
-
ViewType2["DE_EDIT_VIEW4"] = "DEEDITVIEW4";
|
|
22066
|
-
ViewType2["DE_EDIT_VIEW9"] = "DEEDITVIEW9";
|
|
22067
|
-
ViewType2["DE_FORM_PICKUP_DATA_VIEW"] = "DEFORMPICKUPDATAVIEW";
|
|
22068
|
-
ViewType2["DE_GANTT_EXP_VIEW"] = "DEGANTTEXPVIEW";
|
|
22069
|
-
ViewType2["DE_GANTT_VIEW"] = "DEGANTTVIEW";
|
|
22070
|
-
ViewType2["DE_GANTT_VIEW9"] = "DEGANTTVIEW9";
|
|
22071
|
-
ViewType2["DE_GRID_EXP_VIEW"] = "DEGRIDEXPVIEW";
|
|
22072
|
-
ViewType2["DE_GRID_VIEW2"] = "DEGRIDVIEW2";
|
|
22073
|
-
ViewType2["DE_GRID_VIEW4"] = "DEGRIDVIEW4";
|
|
22074
|
-
ViewType2["DE_GRID_VIEW8"] = "DEGRIDVIEW8";
|
|
22075
|
-
ViewType2["DE_GRID_VIEW9"] = "DEGRIDVIEW9";
|
|
22076
|
-
ViewType2["DE_HTML_VIEW"] = "DEHTMLVIEW";
|
|
22077
|
-
ViewType2["DE_INDEX_PICKUP_DATA_VIEW"] = "DEINDEXPICKUPDATAVIEW";
|
|
22078
|
-
ViewType2["DE_INDEX_VIEW"] = "DEINDEXVIEW";
|
|
22079
|
-
ViewType2["DE_KANBAN_VIEW"] = "DEKANBANVIEW";
|
|
22080
|
-
ViewType2["DE_KANBAN_VIEW9"] = "DEKANBANVIEW9";
|
|
22081
|
-
ViewType2["DE_LIST_EXP_VIEW"] = "DELISTEXPVIEW";
|
|
22082
|
-
ViewType2["DE_LIST_VIEW"] = "DELISTVIEW";
|
|
22083
|
-
ViewType2["DE_LIST_VIEW9"] = "DELISTVIEW9";
|
|
22084
|
-
ViewType2["DE_MAP_EXP_VIEW"] = "DEMAPEXPVIEW";
|
|
22085
|
-
ViewType2["DE_MAP_VIEW"] = "DEMAPVIEW";
|
|
22086
|
-
ViewType2["DE_MAP_VIEW9"] = "DEMAPVIEW9";
|
|
22087
|
-
ViewType2["DE_MD_CUSTOM_VIEW"] = "DEMDCUSTOMVIEW";
|
|
22088
|
-
ViewType2["DE_MEDITVIEW9"] = "DEMEDITVIEW9";
|
|
22089
|
-
ViewType2["DE_MOB_CALENDAR_EXP_VIEW"] = "DEMOBCALENDAREXPVIEW";
|
|
22090
|
-
ViewType2["DE_MOB_CALENDAR_VIEW"] = "DEMOBCALENDARVIEW";
|
|
22091
|
-
ViewType2["DE_MOB_CALENDAR_VIEW9"] = "DEMOBCALENDARVIEW9";
|
|
22092
|
-
ViewType2["DE_MOB_CHART_EXP_VIEW"] = "DEMOBCHARTEXPVIEW";
|
|
22093
|
-
ViewType2["DE_MO_BCHART_VIEW"] = "DEMOBCHARTVIEW";
|
|
22094
|
-
ViewType2["D_EMOB_CHART_VIEW9"] = "DEMOBCHARTVIEW9";
|
|
22095
|
-
ViewType2["DE_MOB_CUSTOM_VIEW"] = "DEMOBCUSTOMVIEW";
|
|
22096
|
-
ViewType2["DE_MOB_DATA_VIEW"] = "DEMOBDATAVIEW";
|
|
22097
|
-
ViewType2["DE_MOB_DATA_VIEW_EXP_VIEW"] = "DEMOBDATAVIEWEXPVIEW";
|
|
22098
|
-
ViewType2["DE_MOB_EDIT_VIEW"] = "DEMOBEDITVIEW";
|
|
22099
|
-
ViewType2["DE_MOB_EDIT_VIEW3"] = "DEMOBEDITVIEW3";
|
|
22100
|
-
ViewType2["DE_MOB_EDITVIEW9"] = "DEMOBEDITVIEW9";
|
|
22101
|
-
ViewType2["DE_MOB_FORM_PICKUP_MDVIEW"] = "DEMOBFORMPICKUPMDVIEW";
|
|
22102
|
-
ViewType2["DE_MOB_GANTT_EXP_VIEW"] = "DEMOBGANTTEXPVIEW";
|
|
22103
|
-
ViewType2["DE_MOB_GANTT_VIEW"] = "DEMOBGANTTVIEW";
|
|
22104
|
-
ViewType2["DE_MOB_GANTT_VIEW9"] = "DEMOBGANTTVIEW9";
|
|
22105
|
-
ViewType2["DE_MOB_HTML_VIEW"] = "DEMOBHTMLVIEW";
|
|
22106
|
-
ViewType2["DE_MOB_INDEX_PICKUP_MDVIEW"] = "DEMOBINDEXPICKUPMDVIEW";
|
|
22107
|
-
ViewType2["DE_MOB_LIST_EXP_VIEW"] = "DEMOBLISTEXPVIEW";
|
|
22108
|
-
ViewType2["DE_MOB_LIST_VIEW"] = "DEMOBLISTVIEW";
|
|
22109
|
-
ViewType2["DE_MOB_MAP_VIEW"] = "DEMOBMAPVIEW";
|
|
22110
|
-
ViewType2["DE_MOB_MAP_VIEW9"] = "DEMOBMAPVIEW9";
|
|
22111
|
-
ViewType2["DE_MOB_MDVIEW"] = "DEMOBMDVIEW";
|
|
22112
|
-
ViewType2["DE_MOB_MDVIEW9"] = "DEMOBMDVIEW9";
|
|
22113
|
-
ViewType2["DE_MOB_MEDIT_VIEW9"] = "DEMOBMEDITVIEW9";
|
|
22114
|
-
ViewType2["DE_MOB_MPICKUP_VIEW"] = "DEMOBMPICKUPVIEW";
|
|
22115
|
-
ViewType2["DE_MOB_OPT_VIEW"] = "DEMOBOPTVIEW";
|
|
22116
|
-
ViewType2["DE_MOB_PANEL_VIEW"] = "DEMOBPANELVIEW";
|
|
22117
|
-
ViewType2["DE_MOB_PANEL_VIEW9"] = "DEMOBPANELVIEW9";
|
|
22118
|
-
ViewType2["DE_MOB_PICKUP_LIST_VIEW"] = "DEMOBPICKUPLISTVIEW";
|
|
22119
|
-
ViewType2["DE_MOB_PICKUP_MDVIEW"] = "DEMOBPICKUPMDVIEW";
|
|
22120
|
-
ViewType2["DE_MOB_PICKUP_TREE_VIEW"] = "DEMOBPICKUPTREEVIEW";
|
|
22121
|
-
ViewType2["DE_MOB_PICKUP_VIEW"] = "DEMOBPICKUPVIEW";
|
|
22122
|
-
ViewType2["DE_MOB_PORTAL_VIEW"] = "DEMOBPORTALVIEW";
|
|
22123
|
-
ViewType2["DE_MOB_PORTAL_VIEW9"] = "DEMOBPORTALVIEW9";
|
|
22124
|
-
ViewType2["DE_MOB_REDIRECT_VIEW"] = "DEMOBREDIRECTVIEW";
|
|
22125
|
-
ViewType2["DE_MOB_REPORT_VIEW"] = "DEMOBREPORTVIEW";
|
|
22126
|
-
ViewType2["DE_MOB_TAB_EXP_VIEW"] = "DEMOBTABEXPVIEW";
|
|
22127
|
-
ViewType2["DE_MOB_TAB_EXP_VIEW9"] = "DEMOBTABEXPVIEW9";
|
|
22128
|
-
ViewType2["DE_MOB_TAB_SEARCH_VIEW"] = "DEMOBTABSEARCHVIEW";
|
|
22129
|
-
ViewType2["DE_MOB_TAB_SEARCH_VIEW9"] = "DEMOBTABSEARCHVIEW9";
|
|
22130
|
-
ViewType2["DE_MOB_TREE_EXP_VIEW"] = "DEMOBTREEEXPVIEW";
|
|
22131
|
-
ViewType2["DEMOBTREEEXPVIEW9"] = "DEMOBTREEEXPVIEW9";
|
|
22132
|
-
ViewType2["DE_MOB_TREE_VIEW"] = "DEMOBTREEVIEW";
|
|
22133
|
-
ViewType2["DE_MOB_WFACTION_VIEW"] = "DEMOBWFACTIONVIEW";
|
|
22134
|
-
ViewType2["DE_MOB_WF_DATA_REDIRECT_VIEW"] = "DEMOBWFDATAREDIRECTVIEW";
|
|
22135
|
-
ViewType2["DE_MOB_WF_DYNAACTIO_NVIEW"] = "DEMOBWFDYNAACTIONVIEW";
|
|
22136
|
-
ViewType2["DE_MOB_WFDYNA_EDIT_VIEW"] = "DEMOBWFDYNAEDITVIEW";
|
|
22137
|
-
ViewType2["DE_MOB_WF_DYNA_EDIT_VIEW3"] = "DEMOBWFDYNAEDITVIEW3";
|
|
22138
|
-
ViewType2["DE_MOB_WF_DYNA_EXP_MDVIEW"] = "DEMOBWFDYNAEXPMDVIEW";
|
|
22139
|
-
ViewType2["DE_MO_BWF_DYNA_START_VIEW"] = "DEMOBWFDYNASTARTVIEW";
|
|
22140
|
-
ViewType2["DE_MOB_WF_EDIT_VIEW"] = "DEMOBWFEDITVIEW";
|
|
22141
|
-
ViewType2["DE_MOB_WF_EDIT_VIEW3"] = "DEMOBWFEDITVIEW3";
|
|
22142
|
-
ViewType2["DE_MOB_WF_MDVIEW"] = "DEMOBWFMDVIEW";
|
|
22143
|
-
ViewType2["DE_MOB_WF_PROXY_RESULT_VIEW"] = "DEMOBWFPROXYRESULTVIEW";
|
|
22144
|
-
ViewType2["DE_MOB_WF_PROXY_START_VIEW"] = "DEMOBWFPROXYSTARTVIEW";
|
|
22145
|
-
ViewType2["DE_MOB_WF_START_VIEW"] = "DEMOBWFSTARTVIEW";
|
|
22146
|
-
ViewType2["DE_MOB_WIZARD_VIEW"] = "DEMOBWIZARDVIEW";
|
|
22147
|
-
ViewType2["DE_MPICKUP_VIEW"] = "DEMPICKUPVIEW";
|
|
22148
|
-
ViewType2["DE_MPICKUP_VIEW2"] = "DEMPICKUPVIEW2";
|
|
22149
|
-
ViewType2["DE_OPT_VIEW"] = "DEOPTVIEW";
|
|
22150
|
-
ViewType2["DE_PANEL_VIEW"] = "DEPANELVIEW";
|
|
22151
|
-
ViewType2["DE_PANEL_VIEW9"] = "DEPANELVIEW9";
|
|
22152
|
-
ViewType2["DE_PICKUP_DATA_VIEW"] = "DEPICKUPDATAVIEW";
|
|
22153
|
-
ViewType2["DE_PICKUP_GRID_VIEW"] = "DEPICKUPGRIDVIEW";
|
|
22154
|
-
ViewType2["DE_PICKUP_TREE_VIEW"] = "DEPICKUPTREEVIEW";
|
|
22155
|
-
ViewType2["DE_PICKUP_VIEW"] = "DEPICKUPVIEW";
|
|
22156
|
-
ViewType2["DE_PICKUP_VIEW2"] = "DEPICKUPVIEW2";
|
|
22157
|
-
ViewType2["DE_PICK_UP_VIEW3"] = "DEPICKUPVIEW3";
|
|
22158
|
-
ViewType2["DE_PORTAL_VIEW"] = "DEPORTALVIEW";
|
|
22159
|
-
ViewType2["DE_PORTAL_VIEW9"] = "DEPORTALVIEW9";
|
|
22160
|
-
ViewType2["DE_REDIRECT_VIEW"] = "DEREDIRECTVIEW";
|
|
22161
|
-
ViewType2["DE_REPORT_VIEW"] = "DEREPORTVIEW";
|
|
22162
|
-
ViewType2["DE_TAB_EXP_VIEW"] = "DETABEXPVIEW";
|
|
22163
|
-
ViewType2["DE_TAB_EXP_VIEW9"] = "DETABEXPVIEW9";
|
|
22164
|
-
ViewType2["DE_TAB_SEARCH_VIEW"] = "DETABSEARCHVIEW";
|
|
22165
|
-
ViewType2["DE_TAB_SEARCH_VIEW9"] = "DETABSEARCHVIEW9";
|
|
22166
|
-
ViewType2["DE_TREE_EXP_VIEW"] = "DETREEEXPVIEW";
|
|
22167
|
-
ViewType2["DE_TREE_EXP_VIEW2"] = "DETREEEXPVIEW2";
|
|
22168
|
-
ViewType2["DE_TREE_EXP_VIEW3"] = "DETREEEXPVIEW3";
|
|
22169
|
-
ViewType2["DE_TREE_GRID_EXVIEW"] = "DETREEGRIDEXVIEW";
|
|
22170
|
-
ViewType2["DE_TREE_GRID_EXVIEW9"] = "DETREEGRIDEXVIEW9";
|
|
22171
|
-
ViewType2["DE_TREE_GRID_VIEW"] = "DETREEGRIDVIEW";
|
|
22172
|
-
ViewType2["DE_TREE_GRID_VIEW9"] = "DETREEGRIDVIEW9";
|
|
22173
|
-
ViewType2["DE_TREE_VIEW"] = "DETREEVIEW";
|
|
22174
|
-
ViewType2["DE_TREE_VIEW9"] = "DETREEVIEW9";
|
|
22175
|
-
ViewType2["DE_WF_ACTION_VIEW"] = "DEWFACTIONVIEW";
|
|
22176
|
-
ViewType2["DE_WF_DATA_REDIRECT_VIEW"] = "DEWFDATAREDIRECTVIEW";
|
|
22177
|
-
ViewType2["DE_WF_DYNA_ACTION_VIEW"] = "DEWFDYNAACTIONVIEW";
|
|
22178
|
-
ViewType2["DE_WF_DYNA_EDIT_VIEW"] = "DEWFDYNAEDITVIEW";
|
|
22179
|
-
ViewType2["DE_WF_DYNA_EDIT_VIEW3"] = "DEWFDYNAEDITVIEW3";
|
|
22180
|
-
ViewType2["DE_WF_DYNA_EXP_GRID_VIEW"] = "DEWFDYNAEXPGRIDVIEW";
|
|
22181
|
-
ViewType2["DE_WF_DYNA_START_VIEW"] = "DEWFDYNASTARTVIEW";
|
|
22182
|
-
ViewType2["DE_WF_EDIT_PROXY_DATA_VIEW"] = "DEWFEDITPROXYDATAVIEW";
|
|
22183
|
-
ViewType2["DE_WF_EDIT_VIEW"] = "DEWFEDITVIEW";
|
|
22184
|
-
ViewType2["DE_WF_EDIT_VIEW2"] = "DEWFEDITVIEW2";
|
|
22185
|
-
ViewType2["DE_WF_EDIT_VIEW3"] = "DEWFEDITVIEW3";
|
|
22186
|
-
ViewType2["DE_WF_EDIT_VIEW9"] = "DEWFEDITVIEW9";
|
|
22187
|
-
ViewType2["DE_WF_EXP_VIEW"] = "DEWFEXPVIEW";
|
|
22188
|
-
ViewType2["DE_WF_GRID_VIEW"] = "DEWFGRIDVIEW";
|
|
22189
|
-
ViewType2["DE_WF_PROXY_DATA_VIEW"] = "DEWFPROXYDATAVIEW";
|
|
22190
|
-
ViewType2["DE_WF_PROXY_RESULT_VIEW"] = "DEWFPROXYRESULTVIEW";
|
|
22191
|
-
ViewType2["DE_WF_PROXY_START_VIEW"] = "DEWFPROXYSTARTVIEW";
|
|
22192
|
-
ViewType2["DE_WF_START_VIEW"] = "DEWFSTARTVIEW";
|
|
22193
|
-
ViewType2["DE_WIZARD_VIEW"] = "DEWIZARDVIEW";
|
|
22194
|
-
ViewType2["DE_SUB_APP_REF_VIEW"] = "DESUBAPPREFVIEW";
|
|
22195
|
-
return ViewType2;
|
|
22196
|
-
})(ViewType || {});
|
|
22197
|
-
|
|
22198
|
-
// src/constant/preset-identifier.ts
|
|
22199
|
-
var PresetIdentifier = /* @__PURE__ */ ((PresetIdentifier2) => {
|
|
22200
|
-
PresetIdentifier2["MESSAGE"] = "preset-message";
|
|
22201
|
-
return PresetIdentifier2;
|
|
22202
|
-
})(PresetIdentifier || {});
|
|
22203
|
-
|
|
22204
|
-
// src/utils/modal/modal.ts
|
|
22205
22229
|
var Modal = class {
|
|
22206
22230
|
constructor(opts) {
|
|
22207
22231
|
this.mode = "EMBED" /* EMBED */;
|
|
@@ -25984,7 +26008,7 @@ var DynamicCodeListCache = class {
|
|
|
25984
26008
|
if (!this.codeList.enableCache) {
|
|
25985
26009
|
return this.load(context, params);
|
|
25986
26010
|
}
|
|
25987
|
-
const key = this.isOperatorType ? this.codeList.codeListTag : JSON.stringify(context) + JSON.stringify(params);
|
|
26011
|
+
const key = this.isOperatorType ? this.codeList.codeListTag : JSON.stringify(context.getTempContext()) + JSON.stringify(params);
|
|
25988
26012
|
if (this.cache.has(key)) {
|
|
25989
26013
|
const cacheData2 = this.cache.get(key);
|
|
25990
26014
|
if (cacheData2.expirationTime > (/* @__PURE__ */ new Date()).getTime()) {
|
|
@@ -36664,6 +36688,18 @@ var EditorController = class {
|
|
|
36664
36688
|
}
|
|
36665
36689
|
return "blur";
|
|
36666
36690
|
}
|
|
36691
|
+
/**
|
|
36692
|
+
* 无数据时是否显示占位文本
|
|
36693
|
+
*
|
|
36694
|
+
* @readonly
|
|
36695
|
+
* @type {boolean}
|
|
36696
|
+
* @memberof EditorController
|
|
36697
|
+
*/
|
|
36698
|
+
get emptyShowPlaceholder() {
|
|
36699
|
+
if (!this.placeHolder)
|
|
36700
|
+
return false;
|
|
36701
|
+
return ibiz.config.common.emptyShowMode === "PLACEHOLDER";
|
|
36702
|
+
}
|
|
36667
36703
|
/**
|
|
36668
36704
|
* @description 当前视图
|
|
36669
36705
|
* @readonly
|
|
@@ -36936,7 +36972,8 @@ import {
|
|
|
36936
36972
|
IBizContext as IBizContext5,
|
|
36937
36973
|
IBizParams,
|
|
36938
36974
|
NoticeError as NoticeError2,
|
|
36939
|
-
RuntimeError as RuntimeError31
|
|
36975
|
+
RuntimeError as RuntimeError31,
|
|
36976
|
+
StringUtil
|
|
36940
36977
|
} from "@ibiz-template/core";
|
|
36941
36978
|
import { clone as clone20, isNil as isNil24 } from "ramda";
|
|
36942
36979
|
import { notNilEmpty as notNilEmpty9 } from "qx-util";
|
|
@@ -37451,6 +37488,13 @@ var ControlController = class extends BaseController {
|
|
|
37451
37488
|
*/
|
|
37452
37489
|
disabled(options = { mode: "BLANK" }) {
|
|
37453
37490
|
this.state.disabled = true;
|
|
37491
|
+
if (options.maskInfo) {
|
|
37492
|
+
options.maskInfo = StringUtil.fill(
|
|
37493
|
+
options.maskInfo,
|
|
37494
|
+
this.context,
|
|
37495
|
+
this.params
|
|
37496
|
+
);
|
|
37497
|
+
}
|
|
37454
37498
|
this.state.maskOption = options;
|
|
37455
37499
|
}
|
|
37456
37500
|
};
|
|
@@ -41246,7 +41290,7 @@ var SysUIActionProvider = class extends UIActionProviderBase {
|
|
|
41246
41290
|
|
|
41247
41291
|
// src/ui-action/provider/front-ui-action-provider.ts
|
|
41248
41292
|
import {
|
|
41249
|
-
StringUtil,
|
|
41293
|
+
StringUtil as StringUtil2,
|
|
41250
41294
|
RuntimeModelError as RuntimeModelError46,
|
|
41251
41295
|
ModelError as ModelError24,
|
|
41252
41296
|
RuntimeError as RuntimeError43
|
|
@@ -41258,7 +41302,7 @@ var FrontUIActionProvider = class extends UIActionProviderBase {
|
|
|
41258
41302
|
let actionResult = {};
|
|
41259
41303
|
switch (action.frontProcessType) {
|
|
41260
41304
|
case "OPENHTMLPAGE": {
|
|
41261
|
-
const url =
|
|
41305
|
+
const url = StringUtil2.fill(
|
|
41262
41306
|
action.htmlPageUrl,
|
|
41263
41307
|
context,
|
|
41264
41308
|
params,
|
|
@@ -59648,6 +59692,17 @@ import { isBoolean as isBoolean4 } from "qx-util";
|
|
|
59648
59692
|
// src/controller/control/tree/tree.service.ts
|
|
59649
59693
|
import { ModelError as ModelError28 } from "@ibiz-template/core";
|
|
59650
59694
|
var TreeService = class extends MDControlService {
|
|
59695
|
+
constructor() {
|
|
59696
|
+
super(...arguments);
|
|
59697
|
+
/**
|
|
59698
|
+
* @description 加载更多信息项映射
|
|
59699
|
+
* @type {{
|
|
59700
|
+
* [parentDataId: string]: LoadMoreInfoItem[];
|
|
59701
|
+
* }}
|
|
59702
|
+
* @memberof TreeService
|
|
59703
|
+
*/
|
|
59704
|
+
this.loadMoreMap = {};
|
|
59705
|
+
}
|
|
59651
59706
|
/**
|
|
59652
59707
|
* 获取子节点数据
|
|
59653
59708
|
*
|
|
@@ -59879,6 +59934,7 @@ var TreeService = class extends MDControlService {
|
|
|
59879
59934
|
navParams: {}
|
|
59880
59935
|
};
|
|
59881
59936
|
params.size = nodeModel.maxSize || 1e3;
|
|
59937
|
+
this.initPageParams(nodeModel, parentNodeData, opts, params);
|
|
59882
59938
|
if (nodeModel.sortAppDEFieldId) {
|
|
59883
59939
|
Object.assign(params, {
|
|
59884
59940
|
sort: "".concat(nodeModel.sortAppDEFieldId.toLowerCase(), ",").concat(nodeModel.sortDir ? nodeModel.sortDir.toLowerCase() : "asc")
|
|
@@ -59951,6 +60007,13 @@ var TreeService = class extends MDControlService {
|
|
|
59951
60007
|
defaultExpand
|
|
59952
60008
|
});
|
|
59953
60009
|
});
|
|
60010
|
+
this.updatePageItems(
|
|
60011
|
+
nodeModel,
|
|
60012
|
+
parentNodeData,
|
|
60013
|
+
opts,
|
|
60014
|
+
dataSourceType,
|
|
60015
|
+
nodeDatas
|
|
60016
|
+
);
|
|
59954
60017
|
return nodeDatas;
|
|
59955
60018
|
}
|
|
59956
60019
|
return [];
|
|
@@ -60105,6 +60168,7 @@ var TreeService = class extends MDControlService {
|
|
|
60105
60168
|
* @memberof TreeService
|
|
60106
60169
|
*/
|
|
60107
60170
|
async getDENodeDatasByDEDataset(nodeModel, parentNodeData, opts) {
|
|
60171
|
+
var _a3;
|
|
60108
60172
|
const { appDEDataSetId, appDataEntityId } = nodeModel;
|
|
60109
60173
|
const { context, params } = opts;
|
|
60110
60174
|
let result = [];
|
|
@@ -60116,6 +60180,12 @@ var TreeService = class extends MDControlService {
|
|
|
60116
60180
|
params
|
|
60117
60181
|
);
|
|
60118
60182
|
if (response.ok && response.data) {
|
|
60183
|
+
this.updatePageInfo(
|
|
60184
|
+
nodeModel,
|
|
60185
|
+
parentNodeData,
|
|
60186
|
+
opts,
|
|
60187
|
+
Number((_a3 = response.headers) == null ? void 0 : _a3["x-total-pages"]) || 0
|
|
60188
|
+
);
|
|
60119
60189
|
result = response.data;
|
|
60120
60190
|
}
|
|
60121
60191
|
}
|
|
@@ -60144,14 +60214,24 @@ var TreeService = class extends MDControlService {
|
|
|
60144
60214
|
);
|
|
60145
60215
|
if (items.length) {
|
|
60146
60216
|
const nodeDatas = items.map((item, index) => {
|
|
60147
|
-
const
|
|
60148
|
-
|
|
60149
|
-
|
|
60150
|
-
|
|
60151
|
-
|
|
60152
|
-
|
|
60153
|
-
|
|
60154
|
-
|
|
60217
|
+
const fillChildren = (codeListItem, parent, i) => {
|
|
60218
|
+
var _a3;
|
|
60219
|
+
const defaultExpand = this.calcExpand(nodeModel, i);
|
|
60220
|
+
const node = new TreeCodeListNodeData(nodeModel, parent, {
|
|
60221
|
+
data: codeListItem,
|
|
60222
|
+
leaf: !!opts.leaf && !((_a3 = codeListItem.children) == null ? void 0 : _a3.length),
|
|
60223
|
+
navContext,
|
|
60224
|
+
navParams,
|
|
60225
|
+
defaultExpand
|
|
60226
|
+
});
|
|
60227
|
+
if (codeListItem.children && codeListItem.children.length) {
|
|
60228
|
+
node._children = codeListItem.children.map((child, j) => {
|
|
60229
|
+
return fillChildren(child, node, j);
|
|
60230
|
+
});
|
|
60231
|
+
}
|
|
60232
|
+
return node;
|
|
60233
|
+
};
|
|
60234
|
+
return fillChildren(item, parentNodeData, index);
|
|
60155
60235
|
});
|
|
60156
60236
|
return nodeDatas;
|
|
60157
60237
|
}
|
|
@@ -60223,6 +60303,122 @@ var TreeService = class extends MDControlService {
|
|
|
60223
60303
|
const { expandFirstOnly, expanded } = nodeModel;
|
|
60224
60304
|
return !!expanded || !!expandFirstOnly;
|
|
60225
60305
|
}
|
|
60306
|
+
/**
|
|
60307
|
+
* @description 初始化分页参数
|
|
60308
|
+
* @param {IDETreeDataSetNode} nodeModel
|
|
60309
|
+
* @param {(ITreeNodeData | undefined)} parentNodeData
|
|
60310
|
+
* @param {TreeFetchOpts} opts
|
|
60311
|
+
* @param {IParams} params
|
|
60312
|
+
* @memberof TreeService
|
|
60313
|
+
*/
|
|
60314
|
+
initPageParams(nodeModel, parentNodeData, opts, params) {
|
|
60315
|
+
if (nodeModel.enablePaging && nodeModel.pagingSize) {
|
|
60316
|
+
params.size = nodeModel.pagingSize;
|
|
60317
|
+
}
|
|
60318
|
+
if (parentNodeData) {
|
|
60319
|
+
if (!this.loadMoreMap[parentNodeData._id]) {
|
|
60320
|
+
this.loadMoreMap[parentNodeData._id] = [];
|
|
60321
|
+
}
|
|
60322
|
+
if (opts.isLoadMore) {
|
|
60323
|
+
let info = this.loadMoreMap[parentNodeData._id].find(
|
|
60324
|
+
(item) => item.nodeModelId === nodeModel.id
|
|
60325
|
+
);
|
|
60326
|
+
if (!info) {
|
|
60327
|
+
info = {
|
|
60328
|
+
nodeModelId: nodeModel.id,
|
|
60329
|
+
curPage: 0,
|
|
60330
|
+
totalPage: 0,
|
|
60331
|
+
items: []
|
|
60332
|
+
};
|
|
60333
|
+
this.loadMoreMap[parentNodeData._id].push(info);
|
|
60334
|
+
}
|
|
60335
|
+
params.page = info.curPage + 1;
|
|
60336
|
+
} else {
|
|
60337
|
+
const index = this.loadMoreMap[parentNodeData._id].findIndex(
|
|
60338
|
+
(item) => item.nodeModelId === nodeModel.id
|
|
60339
|
+
);
|
|
60340
|
+
if (index === -1) {
|
|
60341
|
+
this.loadMoreMap[parentNodeData._id].push({
|
|
60342
|
+
nodeModelId: nodeModel.id,
|
|
60343
|
+
curPage: 0,
|
|
60344
|
+
totalPage: 0,
|
|
60345
|
+
items: []
|
|
60346
|
+
});
|
|
60347
|
+
} else {
|
|
60348
|
+
this.loadMoreMap[parentNodeData._id][index] = {
|
|
60349
|
+
nodeModelId: nodeModel.id,
|
|
60350
|
+
curPage: 0,
|
|
60351
|
+
totalPage: 0,
|
|
60352
|
+
items: []
|
|
60353
|
+
};
|
|
60354
|
+
}
|
|
60355
|
+
}
|
|
60356
|
+
}
|
|
60357
|
+
}
|
|
60358
|
+
/**
|
|
60359
|
+
* @description 更新分页节点数据
|
|
60360
|
+
* @param {IDETreeDataSetNode} nodeModel
|
|
60361
|
+
* @param {(ITreeNodeData | undefined)} parentNodeData
|
|
60362
|
+
* @param {TreeFetchOpts} opts
|
|
60363
|
+
* @param {(string | undefined)} dataSourceType
|
|
60364
|
+
* @param {TreeDataSetNodeData[]} nodeDatas
|
|
60365
|
+
* @memberof TreeService
|
|
60366
|
+
*/
|
|
60367
|
+
updatePageItems(nodeModel, parentNodeData, opts, dataSourceType, nodeDatas) {
|
|
60368
|
+
if (parentNodeData) {
|
|
60369
|
+
if (!this.loadMoreMap[parentNodeData._id]) {
|
|
60370
|
+
this.loadMoreMap[parentNodeData._id] = [];
|
|
60371
|
+
}
|
|
60372
|
+
let info = this.loadMoreMap[parentNodeData._id].find(
|
|
60373
|
+
(item) => item.nodeModelId === nodeModel.id
|
|
60374
|
+
);
|
|
60375
|
+
if (!info) {
|
|
60376
|
+
info = {
|
|
60377
|
+
nodeModelId: nodeModel.id,
|
|
60378
|
+
curPage: 0,
|
|
60379
|
+
totalPage: 0,
|
|
60380
|
+
items: []
|
|
60381
|
+
};
|
|
60382
|
+
this.loadMoreMap[parentNodeData._id].push(info);
|
|
60383
|
+
}
|
|
60384
|
+
if (dataSourceType === "DEDATASET" && opts.isLoadMore) {
|
|
60385
|
+
info.items.push(...nodeDatas);
|
|
60386
|
+
} else {
|
|
60387
|
+
info.items = [...nodeDatas];
|
|
60388
|
+
}
|
|
60389
|
+
}
|
|
60390
|
+
}
|
|
60391
|
+
/**
|
|
60392
|
+
* @description 更新分页信息
|
|
60393
|
+
* @param {IDETreeDataSetNode} nodeModel
|
|
60394
|
+
* @param {(ITreeNodeData | undefined)} parentNodeData
|
|
60395
|
+
* @param {TreeFetchOpts} opts
|
|
60396
|
+
* @param {number} totalPage
|
|
60397
|
+
* @memberof TreeService
|
|
60398
|
+
*/
|
|
60399
|
+
updatePageInfo(nodeModel, parentNodeData, opts, totalPage) {
|
|
60400
|
+
if (parentNodeData && nodeModel.enablePaging && nodeModel.pagingSize) {
|
|
60401
|
+
if (!this.loadMoreMap[parentNodeData._id]) {
|
|
60402
|
+
this.loadMoreMap[parentNodeData._id] = [];
|
|
60403
|
+
}
|
|
60404
|
+
let info = this.loadMoreMap[parentNodeData._id].find(
|
|
60405
|
+
(item) => item.nodeModelId === nodeModel.id
|
|
60406
|
+
);
|
|
60407
|
+
if (!info) {
|
|
60408
|
+
info = {
|
|
60409
|
+
nodeModelId: nodeModel.id,
|
|
60410
|
+
curPage: 0,
|
|
60411
|
+
totalPage: 0,
|
|
60412
|
+
items: []
|
|
60413
|
+
};
|
|
60414
|
+
this.loadMoreMap[parentNodeData._id].push(info);
|
|
60415
|
+
}
|
|
60416
|
+
if (opts.isLoadMore) {
|
|
60417
|
+
info.curPage += 1;
|
|
60418
|
+
}
|
|
60419
|
+
info.totalPage = totalPage;
|
|
60420
|
+
}
|
|
60421
|
+
}
|
|
60226
60422
|
};
|
|
60227
60423
|
|
|
60228
60424
|
// src/controller/control/tree/tree.controller.ts
|
|
@@ -60486,7 +60682,7 @@ var TreeController = class extends MDControlController {
|
|
|
60486
60682
|
* @returns {*}
|
|
60487
60683
|
* @memberof TreeController
|
|
60488
60684
|
*/
|
|
60489
|
-
async loadNodes(parentNode) {
|
|
60685
|
+
async loadNodes(parentNode, isLoadMore = false) {
|
|
60490
60686
|
const params = await this.getFetchParams();
|
|
60491
60687
|
const hasQuery = !!params.query;
|
|
60492
60688
|
this.state.isLoading = true;
|
|
@@ -60496,6 +60692,7 @@ var TreeController = class extends MDControlController {
|
|
|
60496
60692
|
context: this.context.clone(),
|
|
60497
60693
|
params,
|
|
60498
60694
|
hasQuery,
|
|
60695
|
+
isLoadMore,
|
|
60499
60696
|
ctrl: this,
|
|
60500
60697
|
view: this.view,
|
|
60501
60698
|
defaultExpandedKeys: this.state.expandedKeys
|
|
@@ -60527,8 +60724,17 @@ var TreeController = class extends MDControlController {
|
|
|
60527
60724
|
this.state.isLoading = false;
|
|
60528
60725
|
}
|
|
60529
60726
|
if (parentNode) {
|
|
60530
|
-
|
|
60727
|
+
if (isLoadMore) {
|
|
60728
|
+
parentNode._children = this.getLoadMoreNodes(parentNode, hasQuery);
|
|
60729
|
+
} else {
|
|
60730
|
+
parentNode._children = nodes;
|
|
60731
|
+
}
|
|
60531
60732
|
} else {
|
|
60733
|
+
if (isLoadMore) {
|
|
60734
|
+
nodes.forEach((node) => {
|
|
60735
|
+
node._children = this.getLoadMoreNodes(node, hasQuery);
|
|
60736
|
+
});
|
|
60737
|
+
}
|
|
60532
60738
|
this.state.rootNodes = nodes;
|
|
60533
60739
|
}
|
|
60534
60740
|
await this.afterLoadNodes(nodes);
|
|
@@ -61156,6 +61362,68 @@ var TreeController = class extends MDControlController {
|
|
|
61156
61362
|
})
|
|
61157
61363
|
);
|
|
61158
61364
|
}
|
|
61365
|
+
/**
|
|
61366
|
+
* @description 获取加载更多信息项
|
|
61367
|
+
* @param {string} id
|
|
61368
|
+
* @returns {*} {(LoadMoreInfoItem[] | undefined)}
|
|
61369
|
+
* @memberof TreeController
|
|
61370
|
+
*/
|
|
61371
|
+
getLoadMoreInfoItems(id) {
|
|
61372
|
+
return this.service.loadMoreMap[id];
|
|
61373
|
+
}
|
|
61374
|
+
/**
|
|
61375
|
+
* @description 获取加载更多最终节点数据
|
|
61376
|
+
* @param {ITreeNodeData} parentNode
|
|
61377
|
+
* @param {boolean} hasQuery
|
|
61378
|
+
* @returns {*} {ITreeNodeData[]}
|
|
61379
|
+
* @memberof TreeController
|
|
61380
|
+
*/
|
|
61381
|
+
getLoadMoreNodes(parentNode, hasQuery) {
|
|
61382
|
+
const items = [];
|
|
61383
|
+
const infoItems = this.getLoadMoreInfoItems(parentNode._id);
|
|
61384
|
+
if (infoItems) {
|
|
61385
|
+
const childNodeRSs = getChildNodeRSs(this.model, {
|
|
61386
|
+
parentId: parentNode._nodeId,
|
|
61387
|
+
hasQuery
|
|
61388
|
+
});
|
|
61389
|
+
childNodeRSs == null ? void 0 : childNodeRSs.forEach((item) => {
|
|
61390
|
+
const nodeModel = getTreeNode(this.model, item.childDETreeNodeId);
|
|
61391
|
+
if (!nodeModel) {
|
|
61392
|
+
return;
|
|
61393
|
+
}
|
|
61394
|
+
const infoItem = infoItems.find(
|
|
61395
|
+
(_item) => _item.nodeModelId === nodeModel.id
|
|
61396
|
+
);
|
|
61397
|
+
if (!infoItem) {
|
|
61398
|
+
return;
|
|
61399
|
+
}
|
|
61400
|
+
items.push(...infoItem.items || []);
|
|
61401
|
+
});
|
|
61402
|
+
}
|
|
61403
|
+
const targetNodes = [];
|
|
61404
|
+
items.forEach((child) => {
|
|
61405
|
+
var _a3;
|
|
61406
|
+
const targetNode = (_a3 = this.model.detreeNodes) == null ? void 0 : _a3.find((item) => {
|
|
61407
|
+
return item.id === child._nodeId;
|
|
61408
|
+
});
|
|
61409
|
+
if (targetNode && targetNode.distinctMode && targetNode.idAppDEFieldId) {
|
|
61410
|
+
const index = targetNodes.findIndex((item) => {
|
|
61411
|
+
var _a4, _b2;
|
|
61412
|
+
const id = targetNode.idAppDEFieldId;
|
|
61413
|
+
if (id) {
|
|
61414
|
+
return ((_a4 = item._deData) == null ? void 0 : _a4[id]) === ((_b2 = child._deData) == null ? void 0 : _b2[id]);
|
|
61415
|
+
}
|
|
61416
|
+
return false;
|
|
61417
|
+
});
|
|
61418
|
+
if (index < 0) {
|
|
61419
|
+
targetNodes.push(child);
|
|
61420
|
+
}
|
|
61421
|
+
} else {
|
|
61422
|
+
targetNodes.push(child);
|
|
61423
|
+
}
|
|
61424
|
+
});
|
|
61425
|
+
return targetNodes;
|
|
61426
|
+
}
|
|
61159
61427
|
};
|
|
61160
61428
|
|
|
61161
61429
|
// src/controller/control/wizard-panel/wizard-panel.controller.ts
|
|
@@ -62009,7 +62277,11 @@ var MDCtrlController = class extends MDControlController {
|
|
|
62009
62277
|
};
|
|
62010
62278
|
|
|
62011
62279
|
// src/controller/control/kanban/kanban.controller.ts
|
|
62012
|
-
import {
|
|
62280
|
+
import {
|
|
62281
|
+
DataTypes as DataTypes6,
|
|
62282
|
+
RuntimeError as RuntimeError60,
|
|
62283
|
+
RuntimeModelError as RuntimeModelError69
|
|
62284
|
+
} from "@ibiz-template/core";
|
|
62013
62285
|
import { clone as clone45, isNil as isNil37 } from "ramda";
|
|
62014
62286
|
|
|
62015
62287
|
// src/controller/control/kanban/kanban.service.ts
|
|
@@ -62099,6 +62371,15 @@ var KanbanController = class extends DataViewControlController {
|
|
|
62099
62371
|
await super.onCreated();
|
|
62100
62372
|
this.setToolbarHooks();
|
|
62101
62373
|
}
|
|
62374
|
+
/**
|
|
62375
|
+
* @description 执行分组
|
|
62376
|
+
* @param {IApiMDGroupParams[]} _arg
|
|
62377
|
+
* @param {IParams} [_params]
|
|
62378
|
+
* @returns {*} {Promise<void>}
|
|
62379
|
+
* @memberof KanbanController
|
|
62380
|
+
*/
|
|
62381
|
+
async execGroup(_arg, _params) {
|
|
62382
|
+
}
|
|
62102
62383
|
/**
|
|
62103
62384
|
* 本地排序items
|
|
62104
62385
|
* @author lxm
|
|
@@ -62106,19 +62387,32 @@ var KanbanController = class extends DataViewControlController {
|
|
|
62106
62387
|
* @param {IData[]} items
|
|
62107
62388
|
*/
|
|
62108
62389
|
sortItems(items) {
|
|
62390
|
+
var _a3;
|
|
62109
62391
|
const sortField = this.model.minorSortAppDEFieldId;
|
|
62110
62392
|
const { minorSortDir } = this.model;
|
|
62111
62393
|
if (!sortField) {
|
|
62112
|
-
|
|
62113
|
-
|
|
62394
|
+
this.state.draggable = false;
|
|
62395
|
+
ibiz.log.warn(
|
|
62114
62396
|
ibiz.i18n.t("runtime.controller.control.kanban.sortingProperties")
|
|
62115
62397
|
);
|
|
62398
|
+
return;
|
|
62116
62399
|
}
|
|
62117
62400
|
if (!minorSortDir) {
|
|
62118
|
-
|
|
62119
|
-
|
|
62401
|
+
this.state.draggable = false;
|
|
62402
|
+
ibiz.log.warn(
|
|
62120
62403
|
ibiz.i18n.t("runtime.controller.control.kanban.sortDirection")
|
|
62121
62404
|
);
|
|
62405
|
+
return;
|
|
62406
|
+
}
|
|
62407
|
+
const sortFieldItem = (_a3 = this.dataEntity.appDEFields) == null ? void 0 : _a3.find(
|
|
62408
|
+
(_item) => _item.codeName === sortField
|
|
62409
|
+
);
|
|
62410
|
+
if (!sortFieldItem || !DataTypes6.isNumber(sortFieldItem.stdDataType)) {
|
|
62411
|
+
this.state.draggable = false;
|
|
62412
|
+
ibiz.log.warn(
|
|
62413
|
+
ibiz.i18n.t("runtime.controller.control.kanban.invalidSortType")
|
|
62414
|
+
);
|
|
62415
|
+
return;
|
|
62122
62416
|
}
|
|
62123
62417
|
const isAsc = minorSortDir === "ASC";
|
|
62124
62418
|
items.forEach((item) => {
|
|
@@ -63389,7 +63683,7 @@ var TreeGridExColumnController = class {
|
|
|
63389
63683
|
|
|
63390
63684
|
// src/controller/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-node-column.controller.ts
|
|
63391
63685
|
import {
|
|
63392
|
-
DataTypes as
|
|
63686
|
+
DataTypes as DataTypes7,
|
|
63393
63687
|
RuntimeError as RuntimeError62,
|
|
63394
63688
|
RuntimeModelError as RuntimeModelError71
|
|
63395
63689
|
} from "@ibiz-template/core";
|
|
@@ -63690,7 +63984,7 @@ var TreeGridExNodeColumnController = class {
|
|
|
63690
63984
|
if (!this.valueFormat) {
|
|
63691
63985
|
return strVal;
|
|
63692
63986
|
}
|
|
63693
|
-
const isDate =
|
|
63987
|
+
const isDate = DataTypes7.isDate(this.dataType);
|
|
63694
63988
|
if (isDate || this.fieldColumn.name === "createdate") {
|
|
63695
63989
|
const formatVal = dayjs8(strVal).format(this.valueFormat);
|
|
63696
63990
|
if (formatVal !== "Invalid Date") {
|
|
@@ -78813,7 +79107,8 @@ var en = {
|
|
|
78813
79107
|
sortDirection: "Sort direction is not configured",
|
|
78814
79108
|
groupedOn: "Kanban components must be grouped on",
|
|
78815
79109
|
adjustmentsGroup: "The current Kanban does not allow adjustments to the grouping!",
|
|
78816
|
-
noAllowReorder: "Current Kanban does not allow reordering!"
|
|
79110
|
+
noAllowReorder: "Current Kanban does not allow reordering!",
|
|
79111
|
+
invalidSortType: "Sorting property is not a numeric type"
|
|
78817
79112
|
},
|
|
78818
79113
|
meditViewPanel: {
|
|
78819
79114
|
DraftNew: "Draft - New",
|
|
@@ -79460,7 +79755,8 @@ var zhCn = {
|
|
|
79460
79755
|
sortDirection: "\u6392\u5E8F\u65B9\u5411\u6CA1\u914D\u7F6E",
|
|
79461
79756
|
groupedOn: "\u770B\u677F\u90E8\u4EF6\u5FC5\u987B\u5F00\u542F\u5206\u7EC4",
|
|
79462
79757
|
adjustmentsGroup: "\u5F53\u524D\u770B\u677F\u4E0D\u5141\u8BB8\u8C03\u6574\u5206\u7EC4\uFF01",
|
|
79463
|
-
noAllowReorder: "\u5F53\u524D\u770B\u677F\u4E0D\u5141\u8BB8\u8C03\u6574\u6B21\u5E8F\uFF01"
|
|
79758
|
+
noAllowReorder: "\u5F53\u524D\u770B\u677F\u4E0D\u5141\u8BB8\u8C03\u6574\u6B21\u5E8F\uFF01",
|
|
79759
|
+
invalidSortType: "\u6392\u5E8F\u5C5E\u6027\u4E0D\u662F\u6570\u503C\u7C7B\u578B"
|
|
79464
79760
|
},
|
|
79465
79761
|
meditViewPanel: {
|
|
79466
79762
|
DraftNew: "\u8349\u7A3F--\u65B0\u5EFA",
|
|
@@ -79976,11 +80272,14 @@ export {
|
|
|
79976
80272
|
AppMenuController,
|
|
79977
80273
|
AppMenuIconViewController,
|
|
79978
80274
|
Application,
|
|
80275
|
+
AreaSeriesGenerator,
|
|
79979
80276
|
AsyncActionService,
|
|
79980
80277
|
AuthorityService,
|
|
79981
80278
|
BIReportUtil,
|
|
79982
80279
|
BackendUIActionProvider,
|
|
80280
|
+
BarSeriesGenerator,
|
|
79983
80281
|
BaseController,
|
|
80282
|
+
BaseSeriesGenerator,
|
|
79984
80283
|
BrowserPlatformProvider,
|
|
79985
80284
|
ButtonContainerState,
|
|
79986
80285
|
CONTROL_PROVIDER_PREFIX,
|
|
@@ -79990,10 +80289,12 @@ export {
|
|
|
79990
80289
|
CalendarExpBarController,
|
|
79991
80290
|
CalendarItemData,
|
|
79992
80291
|
CalendarService,
|
|
80292
|
+
CandlestickSeriesGenerator,
|
|
79993
80293
|
CaptionBarController,
|
|
79994
80294
|
ChartController,
|
|
79995
80295
|
ChartData,
|
|
79996
80296
|
ChartExpBarController,
|
|
80297
|
+
ChartOptionsGenerator3 as ChartOptionsGenerator,
|
|
79997
80298
|
ChartPortletController,
|
|
79998
80299
|
ChartService,
|
|
79999
80300
|
CodeListDataItem,
|
|
@@ -80069,12 +80370,14 @@ export {
|
|
|
80069
80370
|
FormTabPanelController,
|
|
80070
80371
|
FormTabPanelState,
|
|
80071
80372
|
FrontUIActionProvider,
|
|
80373
|
+
FunnelSeriesGenerator,
|
|
80072
80374
|
GRIDCOLUMN_PROVIDER_PREFIX,
|
|
80073
80375
|
GanttCodeListNodeData,
|
|
80074
80376
|
GanttController,
|
|
80075
80377
|
GanttDataSetNodeData,
|
|
80076
80378
|
GanttService,
|
|
80077
80379
|
GanttStaticNodeData,
|
|
80380
|
+
GaugeSeriesGenerator,
|
|
80078
80381
|
GridColumnController,
|
|
80079
80382
|
GridController,
|
|
80080
80383
|
GridFieldColumnController,
|
|
@@ -80095,6 +80398,7 @@ export {
|
|
|
80095
80398
|
KanbanController,
|
|
80096
80399
|
KanbanService,
|
|
80097
80400
|
LayoutPanelUtil,
|
|
80401
|
+
LineSeriesGenerator,
|
|
80098
80402
|
ListController,
|
|
80099
80403
|
ListPortletController,
|
|
80100
80404
|
ListService,
|
|
@@ -80132,13 +80436,16 @@ export {
|
|
|
80132
80436
|
PanelItemState,
|
|
80133
80437
|
PanelNotifyState,
|
|
80134
80438
|
PickupViewPanelController,
|
|
80439
|
+
PieSeriesGenerator,
|
|
80135
80440
|
PlatformProviderBase,
|
|
80136
80441
|
PlatformType,
|
|
80137
80442
|
PluginStaticResource,
|
|
80138
80443
|
PortletPartController,
|
|
80139
80444
|
PortletPartState,
|
|
80445
|
+
PredefinedControlRender,
|
|
80140
80446
|
PresetIdentifier,
|
|
80141
80447
|
QXEventEx,
|
|
80448
|
+
RadarSeriesGenerator,
|
|
80142
80449
|
RawItemPortletController,
|
|
80143
80450
|
RawValueUtil,
|
|
80144
80451
|
RecordNavUtil,
|
|
@@ -80148,6 +80455,7 @@ export {
|
|
|
80148
80455
|
ReportPanelService,
|
|
80149
80456
|
ReportPortletController,
|
|
80150
80457
|
RouteConst,
|
|
80458
|
+
ScatterSeriesGenerator,
|
|
80151
80459
|
ScriptFactory,
|
|
80152
80460
|
ScriptFunction,
|
|
80153
80461
|
SearchBarController,
|