super-page-runtime 2.1.933 → 2.2.1
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 +5 -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/index.d.ts +2 -1
- package/dist/es/components/runtime/utils/api/api-util.js +4 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +137 -435
- package/dist/es/components/runtime/utils/assemblys-config.js +11 -367
- package/dist/es/components/runtime/utils/barcode-util.js +9 -33
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +122 -306
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -68
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +68 -152
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +46 -124
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +36 -99
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +226 -485
- package/dist/es/components/runtime/utils/common-util.js +76 -153
- package/dist/es/components/runtime/utils/eventBus.js +3 -9
- package/dist/es/components/runtime/utils/events/event-util.js +343 -727
- package/dist/es/components/runtime/utils/events/print-label.js +72 -140
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -2
- package/dist/es/components/runtime/utils/events/standard-event.js +810 -2299
- package/dist/es/components/runtime/utils/events/validator-util.js +222 -552
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +28 -88
- package/dist/es/components/runtime/utils/form/scan-util.js +61 -162
- package/dist/es/components/runtime/utils/global-refs.js +53 -84
- package/dist/es/components/runtime/utils/i18n-util.js +11 -20
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
- package/dist/es/components/runtime/utils/page-helper-util.js +278 -658
- package/dist/es/components/runtime/utils/page-init-util.d.ts +6 -1
- package/dist/es/components/runtime/utils/page-init-util.js +132 -370
- package/dist/es/components/runtime/utils/page-permission-util.js +22 -531
- package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
- 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 +45 -84
- package/dist/es/components/runtime/utils/tree-utils.js +17 -37
- 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 +36 -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 +50 -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 +52 -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/common/common-homepage-search.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
- 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.d.ts +34 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +253 -449
- 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 +37 -231
- 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 +197 -510
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
- 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.d.ts +6 -6
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +21 -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.d.ts +6 -6
- 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 +302 -803
- 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 +249 -594
- 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 +40 -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.d.ts +4 -4
- 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 +42 -154
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +34 -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 +52 -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 +66 -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 +31 -104
- 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 +21 -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 +51 -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 +57 -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 +32 -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 +4 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
- 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 +61 -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 +87 -244
- 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 +77 -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 +40 -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/home-chart-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +125 -254
- 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 +18 -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 +21 -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 +20 -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/home-chart.vue.d.ts +23 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
- package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +20 -134
- package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/super-page.vue.d.ts +15 -6
- package/dist/es/components/runtime/views/super-page.vue.js +222 -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/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +6 -4
- package/package.json +3 -2
|
@@ -1,61 +1,23 @@
|
|
|
1
|
-
import { defineComponent, ref
|
|
2
|
-
import
|
|
3
|
-
import { getClickEventFuncByType } from "../../../../utils/events/event-util.js";
|
|
4
|
-
import { isVisibleWorkflowButton } from "../../../../utils/events/standard-event.js";
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
16
|
-
runtimeInfo.class;
|
|
17
|
-
const buttonInfo = props.pageContext.workflowButtonComponent;
|
|
18
|
-
const completeTaskParam = props.pageContext.completeTaskParam;
|
|
19
|
-
const visibleBtns = ref([]);
|
|
20
|
-
props.configure.items.forEach((item) => {
|
|
21
|
-
if (isVisibleBtn(item)) {
|
|
22
|
-
visibleBtns.value.push(item);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
function getStandardClickEvent(events) {
|
|
26
|
-
const clickEventFunObj = getClickEventFuncByType(props.pageContext, events, "click");
|
|
27
|
-
if (clickEventFunObj) {
|
|
28
|
-
const isStandardEvent = clickEventFunObj.isStandard;
|
|
29
|
-
if (isStandardEvent) {
|
|
30
|
-
return clickEventFunObj.event.eventName;
|
|
1
|
+
import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as s, createCommentVNode as i } from "vue";
|
|
2
|
+
import a from "../../object-render.vue.js";
|
|
3
|
+
import { getClickEventFuncByType as c } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
|
|
5
|
+
const l = { class: "page-runtime-header-btn" }, p = e({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const p2 = e2, f = p2.configure.runtime ? p2.configure.runtime : {};
|
|
7
|
+
t(f.style ? f.style : {}), f.class;
|
|
8
|
+
const g = p2.pageContext.workflowButtonComponent, v = p2.pageContext.completeTaskParam, x = t([]);
|
|
9
|
+
return p2.configure.items.forEach((e3) => {
|
|
10
|
+
(function(e4) {
|
|
11
|
+
const t2 = function(e5) {
|
|
12
|
+
const t3 = c(p2.pageContext, e5, "click");
|
|
13
|
+
if (t3) {
|
|
14
|
+
if (t3.isStandard) return t3.event.eventName;
|
|
31
15
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const isVisible = isVisibleWorkflowButton(
|
|
38
|
-
workflowStandardEventName,
|
|
39
|
-
buttonInfo,
|
|
40
|
-
completeTaskParam
|
|
41
|
-
);
|
|
42
|
-
return isVisible;
|
|
43
|
-
}
|
|
44
|
-
return (_ctx, _cache) => {
|
|
45
|
-
return openBlock(), createElementBlock("span", _hoisted_1, [
|
|
46
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleBtns.value, (element, itemIndex) => {
|
|
47
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
48
|
-
element.check ? (openBlock(), createBlock(_sfc_main$1, {
|
|
49
|
-
key: itemIndex,
|
|
50
|
-
pageContext: _ctx.pageContext,
|
|
51
|
-
configure: element
|
|
52
|
-
}, null, 8, ["pageContext", "configure"])) : createCommentVNode("", true)
|
|
53
|
-
], 64);
|
|
54
|
-
}), 256))
|
|
55
|
-
]);
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
16
|
+
}(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
|
|
17
|
+
return m(t2, g, v);
|
|
18
|
+
})(e3) && x.value.push(e3);
|
|
19
|
+
}), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(x.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), s(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
|
|
20
|
+
} });
|
|
59
21
|
export {
|
|
60
|
-
|
|
22
|
+
p as default
|
|
61
23
|
};
|
|
@@ -1,55 +1,18 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted
|
|
2
|
-
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
|
-
import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
17
|
-
const runtimeClass = runtimeInfo.class;
|
|
18
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
19
|
-
let taskName = ref("");
|
|
20
|
-
if (props.pageContext.pageType === "form") {
|
|
21
|
-
if (props.pageContext.entity && props.pageContext.entity.data) {
|
|
22
|
-
taskName.value = props.pageContext.entity.data["CURRENT_ACTIVITY_NAME"] || props.pageContext.entity.data["current_activity_name"];
|
|
23
|
-
showTaskName.value = props.pageContext.entity.data["WORKFLOW_ID"] ? true : false;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
onMounted(() => {
|
|
27
|
-
});
|
|
28
|
-
function getValue() {
|
|
29
|
-
return getVariableValue(entity, dynamicFields);
|
|
30
|
-
}
|
|
31
|
-
function setValue(value) {
|
|
32
|
-
return setVariableValue(entity, dynamicFields, value);
|
|
33
|
-
}
|
|
34
|
-
__expose({
|
|
35
|
-
getValue,
|
|
36
|
-
setValue
|
|
37
|
-
});
|
|
38
|
-
return (_ctx, _cache) => {
|
|
39
|
-
return showTaskName.value ? (openBlock(), createElementBlock("span", {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: normalizeClass(unref(runtimeClass))
|
|
42
|
-
}, [
|
|
43
|
-
createElementVNode("span", {
|
|
44
|
-
style: normalizeStyle(unref(headerStyle))
|
|
45
|
-
}, [
|
|
46
|
-
createElementVNode("span", null, toDisplayString(designProperty.value.title), 1),
|
|
47
|
-
createElementVNode("span", null, toDisplayString(unref(taskName)), 1)
|
|
48
|
-
], 4)
|
|
49
|
-
], 2)) : createCommentVNode("", true);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
});
|
|
1
|
+
import { defineComponent as t, ref as e, onMounted as n, createElementBlock as a, createCommentVNode as o, openBlock as p, normalizeClass as r, unref as i, createElementVNode as u, normalizeStyle as l, toDisplayString as s } from "vue";
|
|
2
|
+
import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getVariableValue as c, setVariableValue as f } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
const m = t({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(t2, { expose: m2 }) {
|
|
5
|
+
const x = t2, y = e(false), C = x.pageContext.entity ? x.pageContext.entity : {};
|
|
6
|
+
let d = g(x.pageContext, x.configure);
|
|
7
|
+
const _ = x.configure.runtime ? x.configure.runtime : {}, v = e(_.props ? _.props : {}), T = _.class, I = _.headerStyle;
|
|
8
|
+
let R = e("");
|
|
9
|
+
return "form" === x.pageContext.pageType && x.pageContext.entity && x.pageContext.entity.data && (R.value = x.pageContext.entity.data.CURRENT_ACTIVITY_NAME || x.pageContext.entity.data.current_activity_name, y.value = !!x.pageContext.entity.data.WORKFLOW_ID), n(() => {
|
|
10
|
+
}), m2({ getValue: function() {
|
|
11
|
+
return c(C, d);
|
|
12
|
+
}, setValue: function(t3) {
|
|
13
|
+
return f(C, d, t3);
|
|
14
|
+
} }), (t3, e2) => y.value ? (p(), a("span", { key: 0, class: r(i(T)) }, [u("span", { style: l(i(I)) }, [u("span", null, s(v.value.title), 1), u("span", null, s(i(R)), 1)], 4)], 2)) : o("", true);
|
|
15
|
+
} });
|
|
53
16
|
export {
|
|
54
|
-
|
|
17
|
+
m as default
|
|
55
18
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
chartCode: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
homeChartSettingUserId: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
chartCode: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
homeChartSettingUserId: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
chartCode: string;
|
|
21
|
+
homeChartSettingUserId: number;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, resolveDirective as a, withDirectives as i, createElementBlock as n, openBlock as r, createBlock as o, createCommentVNode as s, unref as l } from "vue";
|
|
2
|
+
import { deepCopy as m } from "../utils/common-util.js";
|
|
3
|
+
import u from "./assemblys/home-chart-render.vue.js";
|
|
4
|
+
import h from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
import { updateOptionDatasources as g, updateChartDatasources as p } from "../utils/page-helper-util.js";
|
|
6
|
+
import { initPageEvents as d } from "../utils/events/event-util.js";
|
|
7
|
+
import { setHomeChartInitConfigValue as c } from "../utils/charts/chart-util.js";
|
|
8
|
+
const f = { "element-loading-text": "加载中..." }, v = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartCode: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
|
|
9
|
+
const v2 = e2, C = t(true), y = t(false), b = t({});
|
|
10
|
+
let S = t(null);
|
|
11
|
+
return v2.chartCode && h.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/home-chart-layout/" + v2.chartCode).then((e3) => {
|
|
12
|
+
if (e3 && e3.designJson) {
|
|
13
|
+
const t2 = JSON.parse(e3.designJson), a2 = window.frameElement;
|
|
14
|
+
b.value = t2.chartJson, b.value.homeChartSettingUserId = v2.homeChartSettingUserId, a2 && (b.value.runtime.common.style.pc_style.height = a2.clientHeight + "px");
|
|
15
|
+
const i2 = { showHomepageSearch: true, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
16
|
+
if (t2.variables) {
|
|
17
|
+
const e4 = i2.entity.page;
|
|
18
|
+
for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
|
|
19
|
+
}
|
|
20
|
+
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && g(i2, t2.initOptionConfigs, void 0), c(b.value.pushHomepage.initConfig, i2, v2.homeChartSettingUserId), d(t2, i2), S.value = i2, setTimeout(() => {
|
|
21
|
+
!function(e4, t3) {
|
|
22
|
+
if (!t3 || 0 == t3.length) return;
|
|
23
|
+
e4.initChartData = {}, e4.initChartData.data = m(e4.entity.data), e4.initChartData.page = m(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
|
|
24
|
+
}(S.value, [t2.initChartServiceConfigs]);
|
|
25
|
+
}, 200);
|
|
26
|
+
} else y.value = true;
|
|
27
|
+
}).finally(() => {
|
|
28
|
+
C.value = false;
|
|
29
|
+
}), (e3, t2) => {
|
|
30
|
+
const m2 = a("loading");
|
|
31
|
+
return i((r(), n("div", f, [C.value ? s("", true) : (r(), o(u, { key: 0, configure: b.value, pageContext: l(S) }, null, 8, ["configure", "pageContext"]))])), [[m2, C.value]]);
|
|
32
|
+
};
|
|
33
|
+
} });
|
|
34
|
+
export {
|
|
35
|
+
v as default
|
|
36
|
+
};
|
|
@@ -17,17 +17,17 @@ interface MyProps {
|
|
|
17
17
|
default: null;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps
|
|
20
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
21
|
close: (...args: any[]) => void;
|
|
22
22
|
open: (...args: any[]) => void;
|
|
23
23
|
closed: (...args: any[]) => void;
|
|
24
24
|
opened: (...args: any[]) => void;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & {
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{
|
|
26
26
|
onClose?: (...args: any[]) => any;
|
|
27
27
|
onOpen?: (...args: any[]) => any;
|
|
28
28
|
onClosed?: (...args: any[]) => any;
|
|
29
29
|
onOpened?: (...args: any[]) => any;
|
|
30
|
-
}, {}, {}>;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
33
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,139 +1,25 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
emits: ["open", "opened", "close", "closed"],
|
|
15
|
-
setup(__props, { emit: __emit }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const emits = __emit;
|
|
18
|
-
const showContent = ref(true);
|
|
19
|
-
const myJumpPageSetting = props.jumpPageSetting ? props.jumpPageSetting : null;
|
|
20
|
-
const width = ref(null);
|
|
21
|
-
const title = ref(null);
|
|
22
|
-
const pageCode = ref(null);
|
|
23
|
-
const dataId = ref(null);
|
|
24
|
-
const taskId = ref(null);
|
|
25
|
-
const dialogType = ref(null);
|
|
26
|
-
const pageRequest = ref({});
|
|
27
|
-
const draggable = ref(false);
|
|
28
|
-
const overflow = ref(false);
|
|
29
|
-
const showPosition = ref("rtl");
|
|
30
|
-
const contentHeight = ref(null);
|
|
31
|
-
const isIframe = ref(false);
|
|
32
|
-
const pageUrl = ref(null);
|
|
33
|
-
if (myJumpPageSetting) {
|
|
34
|
-
console.log("弹出页面myJumpPageSetting=", myJumpPageSetting);
|
|
35
|
-
isIframe.value = myJumpPageSetting && myJumpPageSetting["_isIframe"] !== void 0 ? myJumpPageSetting["_isIframe"] : false;
|
|
36
|
-
pageUrl.value = myJumpPageSetting && myJumpPageSetting["_path"] ? myJumpPageSetting["_path"] : null;
|
|
37
|
-
dialogType.value = myJumpPageSetting && myJumpPageSetting["dialogType"] ? myJumpPageSetting["dialogType"] : "dialog";
|
|
38
|
-
draggable.value = myJumpPageSetting && myJumpPageSetting["draggable"] ? myJumpPageSetting["draggable"] : false;
|
|
39
|
-
overflow.value = myJumpPageSetting && myJumpPageSetting["overflow"] ? myJumpPageSetting["overflow"] : false;
|
|
40
|
-
showPosition.value = myJumpPageSetting && myJumpPageSetting["showPosition"] ? myJumpPageSetting["showPosition"] : "rtl";
|
|
41
|
-
title.value = myJumpPageSetting && myJumpPageSetting["jumpPageTitle"] ? myJumpPageSetting["jumpPageTitle"] : null;
|
|
42
|
-
width.value = myJumpPageSetting && myJumpPageSetting["jumpPageWidth"] ? myJumpPageSetting["jumpPageWidth"] : "100%";
|
|
43
|
-
contentHeight.value = myJumpPageSetting && myJumpPageSetting["jumpPageHeight"] ? myJumpPageSetting["jumpPageHeight"] : null;
|
|
44
|
-
pageCode.value = myJumpPageSetting && myJumpPageSetting["pageCode"];
|
|
45
|
-
dataId.value = myJumpPageSetting && myJumpPageSetting["dataId"] ? myJumpPageSetting["dataId"] : null;
|
|
46
|
-
taskId.value = myJumpPageSetting && myJumpPageSetting["taskId"] ? myJumpPageSetting["taskId"] : null;
|
|
47
|
-
if (props.parentPageEventParams) {
|
|
48
|
-
try {
|
|
49
|
-
const pageParams = JSON.parse(JSON.stringify(props.parentPageEventParams));
|
|
50
|
-
if (pageParams["pageContext"]) {
|
|
51
|
-
delete pageParams["pageContext"];
|
|
52
|
-
}
|
|
53
|
-
if (pageParams["configureObj"]) {
|
|
54
|
-
delete pageParams["configureObj"];
|
|
55
|
-
}
|
|
56
|
-
Object.assign(pageRequest.value, pageParams);
|
|
57
|
-
} catch (error) {
|
|
58
|
-
console.error(error);
|
|
59
|
-
}
|
|
60
|
-
if (dataId.value === null || dataId.value === void 0) {
|
|
61
|
-
dataId.value = props.parentPageEventParams["id"];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
pageRequest.value["parentPageCode"] = myJumpPageSetting && myJumpPageSetting["parentPageCode"] ? myJumpPageSetting["parentPageCode"] : null;
|
|
65
|
-
pageRequest.value["parentPageVersion"] = myJumpPageSetting && myJumpPageSetting["parentPageVersion"] ? myJumpPageSetting["parentPageVersion"] : null;
|
|
66
|
-
pageRequest.value["jumpMode"] = myJumpPageSetting ? myJumpPageSetting["jumpMode"] : null;
|
|
67
|
-
pageRequest.value["id"] = dataId.value;
|
|
68
|
-
pageRequest.value["taskId"] = taskId.value;
|
|
69
|
-
if (props.customParams) {
|
|
70
|
-
Object.assign(pageRequest.value, props.customParams);
|
|
1
|
+
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as u, withCtx as o, createElementBlock as n, createCommentVNode as r } from "vue";
|
|
2
|
+
import i from "./super-page.vue.js";
|
|
3
|
+
const d = ["src"], s = ["src"], p = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: p2 }) {
|
|
4
|
+
const g = e2, v = p2, m = a(true), c = g.jumpPageSetting ? g.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), j = a(null), C = a(null), w = a(null), y = a({}), b = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), V = a(null);
|
|
5
|
+
if (c) {
|
|
6
|
+
_.value = !(!c || void 0 === c._isIframe) && c._isIframe, V.value = c && c._path ? c._path : null, w.value = c && c.dialogType ? c.dialogType : "dialog", b.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, j.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
|
|
7
|
+
const e3 = !!c.isNeedId;
|
|
8
|
+
if (g.parentPageEventParams) {
|
|
9
|
+
try {
|
|
10
|
+
const e4 = JSON.parse(JSON.stringify(g.parentPageEventParams));
|
|
11
|
+
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(y.value, e4);
|
|
12
|
+
} catch (e4) {
|
|
71
13
|
}
|
|
14
|
+
null !== j.value && void 0 !== j.value || (j.value = g.parentPageEventParams.id);
|
|
72
15
|
}
|
|
73
|
-
|
|
74
|
-
const _component_el_drawer = resolveComponent("el-drawer");
|
|
75
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
76
|
-
return dialogType.value && dialogType.value === "drawer" ? (openBlock(), createBlock(_component_el_drawer, {
|
|
77
|
-
key: 0,
|
|
78
|
-
modelValue: showContent.value,
|
|
79
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showContent.value = $event),
|
|
80
|
-
title: title.value,
|
|
81
|
-
direction: showPosition.value,
|
|
82
|
-
size: width.value,
|
|
83
|
-
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
84
|
-
onOpened: _cache[2] || (_cache[2] = ($event) => emits("opened")),
|
|
85
|
-
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
86
|
-
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
87
|
-
}, {
|
|
88
|
-
default: withCtx(() => [
|
|
89
|
-
!isIframe.value && pageCode.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
90
|
-
key: 0,
|
|
91
|
-
pageCode: pageCode.value,
|
|
92
|
-
pageRequest: pageRequest.value
|
|
93
|
-
}, null, 8, ["pageCode", "pageRequest"])) : isIframe.value ? (openBlock(), createElementBlock("iframe", {
|
|
94
|
-
key: 1,
|
|
95
|
-
height: "98%",
|
|
96
|
-
width: "100%",
|
|
97
|
-
src: pageUrl.value,
|
|
98
|
-
frameborder: "0",
|
|
99
|
-
allowtransparency: "no"
|
|
100
|
-
}, null, 8, _hoisted_1)) : createCommentVNode("", true)
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
}, 8, ["modelValue", "title", "direction", "size"])) : (openBlock(), createBlock(_component_el_dialog, {
|
|
104
|
-
key: 1,
|
|
105
|
-
"model-value": "",
|
|
106
|
-
title: title.value,
|
|
107
|
-
"close-on-click-modal": false,
|
|
108
|
-
"append-to-body": "",
|
|
109
|
-
width: width.value,
|
|
110
|
-
draggable: draggable.value,
|
|
111
|
-
overflow: overflow.value,
|
|
112
|
-
onOpen: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("open")),
|
|
113
|
-
onOpend: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("opend")),
|
|
114
|
-
onClose: _cache[7] || (_cache[7] = ($event) => emits("close")),
|
|
115
|
-
onClosed: _cache[8] || (_cache[8] = ($event) => _ctx.$emit("closed"))
|
|
116
|
-
}, {
|
|
117
|
-
default: withCtx(() => [
|
|
118
|
-
!isIframe.value && pageCode.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
119
|
-
key: 0,
|
|
120
|
-
pageCode: pageCode.value,
|
|
121
|
-
pageRequest: pageRequest.value,
|
|
122
|
-
contentHeight: contentHeight.value
|
|
123
|
-
}, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : isIframe.value ? (openBlock(), createElementBlock("iframe", {
|
|
124
|
-
key: 1,
|
|
125
|
-
height: "98%",
|
|
126
|
-
width: "100%",
|
|
127
|
-
src: pageUrl.value,
|
|
128
|
-
frameborder: "0",
|
|
129
|
-
allowtransparency: "no"
|
|
130
|
-
}, null, 8, _hoisted_2)) : createCommentVNode("", true)
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
}, 8, ["title", "width", "draggable", "overflow"]));
|
|
134
|
-
};
|
|
16
|
+
y.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, y.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, y.value.jumpMode = c ? c.jumpMode : null, y.value.id = j.value, y.value.isNeedId = e3, y.value.taskId = C.value, g.customParams && Object.assign(y.value, g.customParams);
|
|
135
17
|
}
|
|
136
|
-
|
|
18
|
+
return (e3, a2) => {
|
|
19
|
+
const p3 = l("el-drawer"), g2 = l("el-dialog");
|
|
20
|
+
return w.value && "drawer" === w.value ? (u(), t(p3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: o(() => [!_.value && h.value ? (u(), t(i, { key: 0, pageCode: h.value, pageRequest: y.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (u(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, d)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (u(), t(g2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, draggable: b.value, overflow: k.value, onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: o(() => [!_.value && h.value ? (u(), t(i, { key: 0, pageCode: h.value, pageRequest: y.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (u(), n("iframe", { key: 1, height: "98%", width: "100%", src: V.value, frameborder: "0", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["title", "width", "draggable", "overflow"]));
|
|
21
|
+
};
|
|
22
|
+
} });
|
|
137
23
|
export {
|
|
138
|
-
|
|
24
|
+
p as default
|
|
139
25
|
};
|
|
@@ -4,7 +4,7 @@ import { PageDesign } from '../utils/interfaces/page-design-types';
|
|
|
4
4
|
declare function pickFileDone(data: any): void;
|
|
5
5
|
declare function uploadFileDone(data: any): void;
|
|
6
6
|
declare function scanDone(data: any): void;
|
|
7
|
-
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
8
|
pageCode: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
required: false;
|
|
@@ -49,11 +49,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
49
49
|
type: (NumberConstructor | StringConstructor)[];
|
|
50
50
|
default: any;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
isDialog: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
}>, {
|
|
53
57
|
pickFileDone: typeof pickFileDone;
|
|
54
58
|
uploadFileDone: typeof uploadFileDone;
|
|
55
59
|
scanDone: typeof scanDone;
|
|
56
|
-
},
|
|
60
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
61
|
close: (...args: any[]) => void;
|
|
58
62
|
open: (...args: any[]) => void;
|
|
59
63
|
closed: (...args: any[]) => void;
|
|
@@ -103,13 +107,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
103
107
|
type: (NumberConstructor | StringConstructor)[];
|
|
104
108
|
default: any;
|
|
105
109
|
};
|
|
106
|
-
|
|
110
|
+
isDialog: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{
|
|
107
115
|
onClose?: (...args: any[]) => any;
|
|
108
116
|
onOpen?: (...args: any[]) => any;
|
|
109
117
|
onClosed?: (...args: any[]) => any;
|
|
110
118
|
onOpened?: (...args: any[]) => any;
|
|
111
|
-
}
|
|
119
|
+
}>, {
|
|
112
120
|
isTest: boolean;
|
|
113
121
|
contentHeight: string | number;
|
|
114
|
-
|
|
122
|
+
isDialog: boolean;
|
|
123
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
124
|
export default _default;
|