super-page-runtime 2.1.933 → 2.2.0
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/es/_virtual/_plugin-vue_export-helper.js +6 -7
- package/dist/es/assets/chart-themes/theme1.js +2 -6
- package/dist/es/assets/chart-themes/theme2.js +2 -6
- package/dist/es/assets/chart-themes/theme3.js +2 -6
- package/dist/es/components/runtime/utils/api/api-util.js +4 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +137 -433
- package/dist/es/components/runtime/utils/assemblys-config.js +12 -366
- package/dist/es/components/runtime/utils/barcode-util.js +10 -33
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +138 -300
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -66
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +71 -147
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +52 -122
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +40 -98
- package/dist/es/components/runtime/utils/charts/chart-util.js +237 -478
- package/dist/es/components/runtime/utils/common-util.js +82 -152
- package/dist/es/components/runtime/utils/eventBus.js +3 -9
- package/dist/es/components/runtime/utils/events/event-util.js +361 -727
- package/dist/es/components/runtime/utils/events/print-label.js +73 -140
- package/dist/es/components/runtime/utils/events/standard-event.js +838 -2285
- package/dist/es/components/runtime/utils/events/validator-util.js +237 -536
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +29 -88
- package/dist/es/components/runtime/utils/form/scan-util.js +60 -154
- package/dist/es/components/runtime/utils/global-refs.js +45 -69
- package/dist/es/components/runtime/utils/i18n-util.js +12 -20
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
- package/dist/es/components/runtime/utils/page-helper-util.js +298 -628
- package/dist/es/components/runtime/utils/page-init-util.js +134 -368
- package/dist/es/components/runtime/utils/page-permission-util.js +24 -531
- package/dist/es/components/runtime/utils/page-store.js +8 -12
- package/dist/es/components/runtime/utils/store-util.js +9 -13
- package/dist/es/components/runtime/utils/store.js +2 -2
- package/dist/es/components/runtime/utils/table-utils.js +49 -84
- package/dist/es/components/runtime/utils/tree-utils.js +18 -36
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +19 -75
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -46
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +37 -132
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +4 -18
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -107
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +54 -198
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +12 -42
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +7 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +48 -169
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +32 -107
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +43 -164
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +32 -115
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +32 -116
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +208 -439
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +4 -42
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +8 -62
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +63 -226
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -62
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +168 -512
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +29 -139
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +23 -125
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +16 -102
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +18 -81
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -82
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -86
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +21 -79
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -61
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -37
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +38 -127
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +28 -76
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +61 -178
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +311 -800
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +251 -592
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +43 -115
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +56 -215
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +3 -21
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +44 -154
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +36 -98
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +54 -200
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +69 -239
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +28 -98
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +22 -59
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +52 -173
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +22 -103
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -249
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +34 -174
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -107
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +66 -189
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -243
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +82 -261
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +13 -57
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +30 -155
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +41 -129
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +22 -107
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +133 -252
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +19 -46
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +22 -49
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +21 -58
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +16 -53
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +18 -134
- package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +233 -708
- package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
- package/dist/es/i18n/langs/cn.js +2 -55
- package/dist/es/i18n/langs/en.js +2 -55
- package/package.json +74 -73
|
@@ -1,178 +1,108 @@
|
|
|
1
|
-
import { getSystemBackendUrl } from "agilebuilder-ui/src/utils/common-util";
|
|
2
|
-
import { getLanguageWithLocale } from "agilebuilder-ui/src/utils/util";
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
return Array.isArray(value);
|
|
6
|
-
} else {
|
|
7
|
-
return Object.prototype.toString.call(value) === "[object Array]";
|
|
8
|
-
}
|
|
1
|
+
import { getSystemBackendUrl as e } from "agilebuilder-ui/src/utils/common-util";
|
|
2
|
+
import { getLanguageWithLocale as t } from "agilebuilder-ui/src/utils/util";
|
|
3
|
+
function r(e2) {
|
|
4
|
+
return "function" == typeof Array.isArray ? Array.isArray(e2) : "[object Array]" === Object.prototype.toString.call(e2);
|
|
9
5
|
}
|
|
10
|
-
function
|
|
11
|
-
if (
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
const { baseURL, projectModel } = window
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
return baseUrl;
|
|
18
|
-
}
|
|
19
|
-
if (backendUrl) {
|
|
20
|
-
baseUrl = getSystemBackendUrl(backendUrl);
|
|
21
|
-
}
|
|
22
|
-
return baseUrl;
|
|
6
|
+
function n(t2, r2) {
|
|
7
|
+
if (r2)
|
|
8
|
+
return t2;
|
|
9
|
+
{
|
|
10
|
+
const { baseURL: r3, projectModel: n2 } = window.$vueApp.config.globalProperties;
|
|
11
|
+
let o2 = r3;
|
|
12
|
+
return "developing.model" === n2 || t2 && (o2 = e(t2)), o2;
|
|
23
13
|
}
|
|
24
14
|
}
|
|
25
|
-
function
|
|
26
|
-
let
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
15
|
+
function o(e2, t2, r2, o2) {
|
|
16
|
+
let i2 = e2;
|
|
17
|
+
if (e2 && r2 && !function(e3) {
|
|
18
|
+
return 0 === e3.indexOf("http:") || 0 === e3.indexOf("https:");
|
|
19
|
+
}(e2)) {
|
|
20
|
+
i2 = n(r2, o2) + "/" + t2 + e2;
|
|
32
21
|
}
|
|
33
|
-
return
|
|
34
|
-
}
|
|
35
|
-
function isFullPath(path) {
|
|
36
|
-
return path.indexOf("http:") === 0 || path.indexOf("https:") === 0;
|
|
22
|
+
return i2;
|
|
37
23
|
}
|
|
38
|
-
function
|
|
39
|
-
if (!
|
|
40
|
-
return
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
showName.indexOf(fileSeperate) + fileSeperate.length,
|
|
53
|
-
showName.lastIndexOf(fileSeperate)
|
|
54
|
-
);
|
|
55
|
-
const fileName = showName.substring(
|
|
56
|
-
showName.lastIndexOf(fileSeperate) + fileSeperate.length
|
|
57
|
-
);
|
|
58
|
-
if (currentLocale === fileLanguage && fileCodes.indexOf(fileCode) < 0) {
|
|
59
|
-
templateFilesResult.push({
|
|
60
|
-
templateUuid: template.templateUuid,
|
|
61
|
-
templateName: fileName
|
|
62
|
-
});
|
|
63
|
-
fileCodes.push(fileCode);
|
|
64
|
-
}
|
|
65
|
-
} else {
|
|
66
|
-
templateFilesResult.push(template);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
return templateFilesResult;
|
|
24
|
+
function i(e2) {
|
|
25
|
+
if (!e2)
|
|
26
|
+
return e2;
|
|
27
|
+
const r2 = t();
|
|
28
|
+
if (Array.isArray(e2)) {
|
|
29
|
+
const t2 = [], n2 = [], o2 = "~-~-";
|
|
30
|
+
return e2.forEach((e3) => {
|
|
31
|
+
const i2 = e3.templateName;
|
|
32
|
+
if (i2.indexOf(o2) > 0) {
|
|
33
|
+
const u2 = i2.substring(0, i2.indexOf(o2)), s2 = i2.substring(i2.indexOf(o2) + o2.length, i2.lastIndexOf(o2)), f2 = i2.substring(i2.lastIndexOf(o2) + o2.length);
|
|
34
|
+
r2 === s2 && n2.indexOf(u2) < 0 && (t2.push({ templateUuid: e3.templateUuid, templateName: f2 }), n2.push(u2));
|
|
35
|
+
} else
|
|
36
|
+
t2.push(e3);
|
|
37
|
+
}), t2;
|
|
70
38
|
}
|
|
71
39
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
40
|
+
function u(e2) {
|
|
41
|
+
return e2.toLowerCase().replace(/( |^)[a-z]/g, (e3) => e3.toUpperCase());
|
|
74
42
|
}
|
|
75
|
-
function
|
|
76
|
-
return "V" +
|
|
43
|
+
function s(e2, t2, r2) {
|
|
44
|
+
return "V" + t2 + "__" + e2 + "__" + r2;
|
|
77
45
|
}
|
|
78
|
-
function
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
}
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
copyObj[key] = deepCopy(srcObj[key]);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return copyObj;
|
|
46
|
+
function f(e2) {
|
|
47
|
+
if ("object" != typeof e2 || null == e2)
|
|
48
|
+
return e2;
|
|
49
|
+
const t2 = Array.isArray(e2) ? [] : {};
|
|
50
|
+
for (const r2 in e2)
|
|
51
|
+
e2.hasOwnProperty(r2) && (t2[r2] = f(e2[r2]));
|
|
52
|
+
return t2;
|
|
89
53
|
}
|
|
90
|
-
function
|
|
91
|
-
let
|
|
92
|
-
|
|
93
|
-
workflowId = pageContext.entity.data["WORKFLOW_ID"];
|
|
94
|
-
if (!workflowId) {
|
|
95
|
-
workflowId = pageContext.entity.data["workflow_id"];
|
|
96
|
-
}
|
|
97
|
-
if (!workflowId) {
|
|
98
|
-
workflowId = pageContext.entity.data["workflowId"];
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return workflowId;
|
|
54
|
+
function l(e2) {
|
|
55
|
+
let t2;
|
|
56
|
+
return e2.entity && e2.entity.data && (t2 = e2.entity.data.WORKFLOW_ID, t2 || (t2 = e2.entity.data.workflow_id), t2 || (t2 = e2.entity.data.workflowId)), t2;
|
|
102
57
|
}
|
|
103
|
-
function
|
|
58
|
+
function a(e2) {
|
|
104
59
|
var _a, _b, _c, _d;
|
|
105
|
-
let
|
|
106
|
-
if (
|
|
107
|
-
let
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} else if (props.length === 3) {
|
|
115
|
-
propClassName = props[1] + "__" + props[2];
|
|
116
|
-
}
|
|
117
|
-
} else if (configure.code) {
|
|
118
|
-
propClassName = configure.code;
|
|
119
|
-
}
|
|
120
|
-
return propClassName;
|
|
60
|
+
let t2;
|
|
61
|
+
if (e2 && ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop)) {
|
|
62
|
+
let r2 = (_d = (_c = e2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop;
|
|
63
|
+
r2.indexOf("${") >= 0 && (r2 = r2.substring(2, r2.lastIndexOf("}")));
|
|
64
|
+
const n2 = r2.split(".");
|
|
65
|
+
2 === n2.length ? t2 = n2[1] : 3 === n2.length && (t2 = n2[1] + "__" + n2[2]);
|
|
66
|
+
} else
|
|
67
|
+
e2.code && (t2 = e2.code);
|
|
68
|
+
return t2;
|
|
121
69
|
}
|
|
122
|
-
function
|
|
70
|
+
function p(e2) {
|
|
123
71
|
try {
|
|
124
|
-
if (
|
|
125
|
-
const
|
|
126
|
-
if (Number.isInteger(
|
|
72
|
+
if (null != e2) {
|
|
73
|
+
const t2 = parseInt(e2 + "");
|
|
74
|
+
if (Number.isInteger(t2))
|
|
127
75
|
return true;
|
|
128
|
-
}
|
|
129
76
|
}
|
|
130
77
|
return false;
|
|
131
|
-
} catch (
|
|
78
|
+
} catch (e3) {
|
|
132
79
|
return false;
|
|
133
80
|
}
|
|
134
81
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
return isWorkflow;
|
|
82
|
+
function c(e2) {
|
|
83
|
+
return !!e2.isWorkflowEntity || !!e2.workflowCode;
|
|
138
84
|
}
|
|
139
|
-
function
|
|
140
|
-
if (
|
|
141
|
-
let
|
|
142
|
-
|
|
143
|
-
if (jumpPageSetting.jumpPageOpenMode) {
|
|
144
|
-
openMode = jumpPageSetting.jumpPageOpenMode;
|
|
145
|
-
if (openMode === "newTab") {
|
|
146
|
-
openMode = "refresh";
|
|
147
|
-
}
|
|
148
|
-
} else {
|
|
149
|
-
openMode = "refresh";
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
if (openMode === "refresh") {
|
|
153
|
-
jumpPageSetting.dialogType = "drawer";
|
|
154
|
-
jumpPageSetting.jumpPageWidth = "100%";
|
|
155
|
-
jumpPageSetting.isRefreshWhenClosePopup = true;
|
|
156
|
-
}
|
|
157
|
-
jumpPageSetting.jumpMode = openMode;
|
|
158
|
-
jumpPageSetting.jumpPageMobileOpenMode = openMode;
|
|
85
|
+
function d(e2, t2) {
|
|
86
|
+
if (e2 && t2) {
|
|
87
|
+
let t3 = e2.jumpPageMobileOpenMode;
|
|
88
|
+
t3 || (e2.jumpPageOpenMode ? (t3 = e2.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e2.dialogType = "drawer", e2.jumpPageWidth = "100%", e2.isRefreshWhenClosePopup = true), e2.jumpMode = t3, e2.jumpPageMobileOpenMode = t3;
|
|
159
89
|
}
|
|
160
90
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
91
|
+
function g(e2, t2) {
|
|
92
|
+
return null === e2[t2] || void 0 === e2[t2] || "" === e2[t2];
|
|
163
93
|
}
|
|
164
94
|
export {
|
|
165
|
-
deepCopy,
|
|
166
|
-
getBaseUrl,
|
|
167
|
-
getListCode,
|
|
168
|
-
getPropClassName,
|
|
169
|
-
getRealRestApiPath,
|
|
170
|
-
getWorkflowId,
|
|
171
|
-
isArrayFn,
|
|
172
|
-
isNumber,
|
|
173
|
-
isVariableInvalidValue,
|
|
174
|
-
isWorkflowPage,
|
|
175
|
-
packageTemplateFiles,
|
|
176
|
-
refreshMobileDialogType,
|
|
177
|
-
upperFirstCase
|
|
95
|
+
f as deepCopy,
|
|
96
|
+
n as getBaseUrl,
|
|
97
|
+
s as getListCode,
|
|
98
|
+
a as getPropClassName,
|
|
99
|
+
o as getRealRestApiPath,
|
|
100
|
+
l as getWorkflowId,
|
|
101
|
+
r as isArrayFn,
|
|
102
|
+
p as isNumber,
|
|
103
|
+
g as isVariableInvalidValue,
|
|
104
|
+
c as isWorkflowPage,
|
|
105
|
+
i as packageTemplateFiles,
|
|
106
|
+
d as refreshMobileDialogType,
|
|
107
|
+
u as upperFirstCase
|
|
178
108
|
};
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
const bus = {
|
|
4
|
-
$on: emitter.on,
|
|
5
|
-
$emit: emitter.emit,
|
|
6
|
-
$off: emitter.off
|
|
7
|
-
};
|
|
8
|
-
const eventBus = bus;
|
|
1
|
+
import o from "mitt";
|
|
2
|
+
const t = o(), f = { $on: t.on, $emit: t.emit, $off: t.off };
|
|
9
3
|
export {
|
|
10
|
-
|
|
4
|
+
f as default
|
|
11
5
|
};
|