super-page-runtime 2.0.8 → 2.0.10
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/components/runtime/index.d.ts +3 -3
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +4 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +196 -18
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +76 -6
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +2 -2
- package/dist/lib/_virtual/AttributeMap.js +4 -0
- package/dist/lib/_virtual/Delta.js +4 -0
- package/dist/lib/_virtual/Op.js +4 -0
- package/dist/lib/_virtual/OpIterator.js +4 -0
- package/dist/lib/_virtual/__vite-browser-external.js +3 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +8 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/_virtual/dayjs.min.js +4 -0
- package/dist/lib/_virtual/index.js +4 -0
- package/dist/lib/_virtual/index2.js +4 -0
- package/dist/lib/_virtual/index3.js +4 -0
- package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/components/runtime/index.d.ts +4 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +28 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +16 -0
- package/dist/lib/components/runtime/utils/common-util.js +94 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +10 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1625 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
- package/dist/lib/components/runtime/utils/global-refs.js +65 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +106 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +622 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +525 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +432 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +126 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +52 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +56 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +88 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +164 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +73 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +496 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +8 -0
- package/dist/lib/index.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonChartHeaderGroup_vue_vue_type_script_setup_true_lang = require("./common-chart-header-group.vue.js");
|
|
4
|
+
const commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang = require("./common-chart-header-breadcrumb.vue.js");
|
|
5
|
+
const _hoisted_1 = { class: "amb-widget-chart-header" };
|
|
6
|
+
const _hoisted_2 = { class: "amb-widget-chart-header-item" };
|
|
7
|
+
const _hoisted_3 = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" };
|
|
8
|
+
const _hoisted_4 = { class: "amb-widget-chart-header-item" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
10
|
+
__name: "common-chart-header",
|
|
11
|
+
props: {
|
|
12
|
+
headerInfo: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["drill-end"],
|
|
18
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const drillObjRef = Vue.ref(null);
|
|
21
|
+
const $emits = __emit;
|
|
22
|
+
if (!props.headerInfo.drillOptions) {
|
|
23
|
+
props.headerInfo.drillOptions = [];
|
|
24
|
+
}
|
|
25
|
+
function closeDrill(closeIndex) {
|
|
26
|
+
const drillLen = props.headerInfo.drillOptions.length;
|
|
27
|
+
if (closeIndex >= drillLen) {
|
|
28
|
+
console.log("无效的取消操作,", closeIndex, props.headerInfo.drillOptions);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
for (let i = drillLen - 1; i >= closeIndex; i--) {
|
|
32
|
+
props.headerInfo.drillOptions.splice(i, 1);
|
|
33
|
+
}
|
|
34
|
+
toDrillLevel(closeIndex);
|
|
35
|
+
}
|
|
36
|
+
function drill(params, datas) {
|
|
37
|
+
const currentIndex = props.headerInfo.drillOptions.length;
|
|
38
|
+
if (currentIndex + 1 >= props.headerInfo.options.length) {
|
|
39
|
+
console.log("钻取到最底层了!");
|
|
40
|
+
$emits("drill-end", params);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
console.log("props.headerInfo.options", currentIndex, props.headerInfo.options);
|
|
44
|
+
const targetGroup = props.headerInfo.options[currentIndex];
|
|
45
|
+
const drillOption = {
|
|
46
|
+
fieldName: targetGroup.target ? targetGroup.target.replace(".", "_") : "",
|
|
47
|
+
label: params.name,
|
|
48
|
+
value: params.name
|
|
49
|
+
};
|
|
50
|
+
props.headerInfo.drillOptions.push(drillOption);
|
|
51
|
+
toDrillLevel(currentIndex + 1);
|
|
52
|
+
}
|
|
53
|
+
function toDrillLevel(drillIndex) {
|
|
54
|
+
const drillParams = {};
|
|
55
|
+
for (let o of props.headerInfo.drillOptions) {
|
|
56
|
+
if (o.fieldName) {
|
|
57
|
+
drillParams[o.fieldName] = o.value;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
props.headerInfo.drillParams = drillParams;
|
|
61
|
+
props.headerInfo.groupValue = props.headerInfo.options[drillIndex].value;
|
|
62
|
+
}
|
|
63
|
+
__expose({
|
|
64
|
+
drill
|
|
65
|
+
});
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
68
|
+
Vue.createElementVNode("div", _hoisted_2, [
|
|
69
|
+
Vue.withDirectives(Vue.createElementVNode("label", {
|
|
70
|
+
style: Vue.normalizeStyle(__props.headerInfo.style)
|
|
71
|
+
}, Vue.toDisplayString(__props.headerInfo.title) + " ", 5), [
|
|
72
|
+
[Vue.vShow, __props.headerInfo.title && (!__props.headerInfo.textAlign || __props.headerInfo.textAlign == "left")]
|
|
73
|
+
]),
|
|
74
|
+
__props.headerInfo.showDrill && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
|
|
75
|
+
key: 0,
|
|
76
|
+
ref_key: "drillObjRef",
|
|
77
|
+
ref: drillObjRef,
|
|
78
|
+
headerInfo: __props.headerInfo,
|
|
79
|
+
onCloseDrill: closeDrill
|
|
80
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
|
|
81
|
+
__props.headerInfo.showGroup && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
|
|
82
|
+
key: 1,
|
|
83
|
+
headerInfo: __props.headerInfo
|
|
84
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
|
|
85
|
+
]),
|
|
86
|
+
Vue.createElementVNode("div", _hoisted_3, [
|
|
87
|
+
Vue.withDirectives(Vue.createElementVNode("label", {
|
|
88
|
+
style: Vue.normalizeStyle(__props.headerInfo.style)
|
|
89
|
+
}, Vue.toDisplayString(__props.headerInfo.title) + " ", 5), [
|
|
90
|
+
[Vue.vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "center"]
|
|
91
|
+
]),
|
|
92
|
+
__props.headerInfo.showDrill && __props.headerInfo.groupPosition == "center" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
|
|
93
|
+
key: 0,
|
|
94
|
+
headerInfo: __props.headerInfo,
|
|
95
|
+
onCloseDrill: closeDrill,
|
|
96
|
+
ref_key: "drillObjRef",
|
|
97
|
+
ref: drillObjRef
|
|
98
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
|
|
99
|
+
__props.headerInfo.showGroup && __props.headerInfo.groupPosition == "center" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
|
|
100
|
+
key: 1,
|
|
101
|
+
headerInfo: __props.headerInfo
|
|
102
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
|
|
103
|
+
]),
|
|
104
|
+
Vue.createElementVNode("div", _hoisted_4, [
|
|
105
|
+
Vue.withDirectives(Vue.createElementVNode("label", {
|
|
106
|
+
style: Vue.normalizeStyle(__props.headerInfo.style)
|
|
107
|
+
}, Vue.toDisplayString(__props.headerInfo.title) + " ", 5), [
|
|
108
|
+
[Vue.vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "right"]
|
|
109
|
+
]),
|
|
110
|
+
__props.headerInfo.showDrill && __props.headerInfo.groupPosition == "right" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderBreadcrumb_vue_vue_type_script_setup_true_lang, {
|
|
111
|
+
key: 0,
|
|
112
|
+
headerInfo: __props.headerInfo,
|
|
113
|
+
onCloseDrill: closeDrill,
|
|
114
|
+
ref_key: "drillObjRef",
|
|
115
|
+
ref: drillObjRef
|
|
116
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true),
|
|
117
|
+
__props.headerInfo.showGroup && __props.headerInfo.groupPosition == "right" ? (Vue.openBlock(), Vue.createBlock(commonChartHeaderGroup_vue_vue_type_script_setup_true_lang, {
|
|
118
|
+
key: 1,
|
|
119
|
+
headerInfo: __props.headerInfo
|
|
120
|
+
}, null, 8, ["headerInfo"])) : Vue.createCommentVNode("", true)
|
|
121
|
+
])
|
|
122
|
+
]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
5
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/gauge/install.js");
|
|
6
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
7
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
8
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
9
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
10
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
11
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
13
|
+
__name: "gauge-runtime",
|
|
14
|
+
props: {
|
|
15
|
+
pageContext: {},
|
|
16
|
+
configure: {}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
extension.use([
|
|
20
|
+
installCanvasRenderer.install,
|
|
21
|
+
install.install,
|
|
22
|
+
install$1.install,
|
|
23
|
+
install$2.install,
|
|
24
|
+
install$3.install,
|
|
25
|
+
install$4.install
|
|
26
|
+
]);
|
|
27
|
+
const props = __props;
|
|
28
|
+
const thisRef = Vue.ref(null);
|
|
29
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
30
|
+
const runtimeStyle = runtimeInfo.style;
|
|
31
|
+
const runtimeClass = runtimeInfo.class;
|
|
32
|
+
const chartOption = runtimeInfo.chartOption;
|
|
33
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
34
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
37
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
38
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
39
|
+
ref_key: "thisRef",
|
|
40
|
+
ref: thisRef
|
|
41
|
+
}, [
|
|
42
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
43
|
+
ref: "chartRef",
|
|
44
|
+
theme: Vue.unref(customTheme),
|
|
45
|
+
option: Vue.unref(chartOption),
|
|
46
|
+
autoresize: ""
|
|
47
|
+
}, null, 8, ["theme", "option"])
|
|
48
|
+
], 6);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
5
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/pie/install.js");
|
|
6
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
7
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
8
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
9
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
10
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
11
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
12
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
14
|
+
__name: "pie-runtime",
|
|
15
|
+
props: {
|
|
16
|
+
pageContext: {},
|
|
17
|
+
configure: {}
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
extension.use([
|
|
21
|
+
installCanvasRenderer.install,
|
|
22
|
+
install.install,
|
|
23
|
+
install$1.install,
|
|
24
|
+
install$2.install,
|
|
25
|
+
install$3.install,
|
|
26
|
+
install$4.install,
|
|
27
|
+
install$5.install
|
|
28
|
+
]);
|
|
29
|
+
const props = __props;
|
|
30
|
+
const thisRef = Vue.ref(null);
|
|
31
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
32
|
+
const runtimeStyle = runtimeInfo.style;
|
|
33
|
+
const runtimeClass = runtimeInfo.class;
|
|
34
|
+
const chartOption = runtimeInfo.chartOption;
|
|
35
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
36
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
39
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
40
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
41
|
+
ref_key: "thisRef",
|
|
42
|
+
ref: thisRef
|
|
43
|
+
}, [
|
|
44
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
45
|
+
ref: "chartRef",
|
|
46
|
+
theme: Vue.unref(customTheme),
|
|
47
|
+
option: Vue.unref(chartOption),
|
|
48
|
+
autoresize: ""
|
|
49
|
+
}, null, 8, ["theme", "option"])
|
|
50
|
+
], 6);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
5
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/radar/install.js");
|
|
6
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
7
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
8
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
9
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
10
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
11
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
12
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
14
|
+
__name: "radar-runtime",
|
|
15
|
+
props: {
|
|
16
|
+
pageContext: {},
|
|
17
|
+
configure: {}
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
extension.use([
|
|
21
|
+
installCanvasRenderer.install,
|
|
22
|
+
install.install,
|
|
23
|
+
install$1.install,
|
|
24
|
+
install$2.install,
|
|
25
|
+
install$3.install,
|
|
26
|
+
install$4.install,
|
|
27
|
+
install$5.install
|
|
28
|
+
]);
|
|
29
|
+
const props = __props;
|
|
30
|
+
const thisRef = Vue.ref(null);
|
|
31
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
32
|
+
const runtimeStyle = runtimeInfo.style;
|
|
33
|
+
const runtimeClass = runtimeInfo.class;
|
|
34
|
+
const chartOption = runtimeInfo.chartOption;
|
|
35
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
36
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
39
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
40
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
41
|
+
ref_key: "thisRef",
|
|
42
|
+
ref: thisRef
|
|
43
|
+
}, [
|
|
44
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
45
|
+
ref: "chartRef",
|
|
46
|
+
theme: Vue.unref(customTheme),
|
|
47
|
+
option: Vue.unref(chartOption),
|
|
48
|
+
autoresize: ""
|
|
49
|
+
}, null, 8, ["theme", "option"])
|
|
50
|
+
], 6);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
5
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/scatter/install.js");
|
|
6
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
7
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
8
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
9
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
10
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
11
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
12
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
13
|
+
const install$6 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/dataZoom/install.js");
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
15
|
+
__name: "scatter-runtime",
|
|
16
|
+
props: {
|
|
17
|
+
pageContext: {},
|
|
18
|
+
configure: {}
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
extension.use([
|
|
22
|
+
installCanvasRenderer.install,
|
|
23
|
+
install.install,
|
|
24
|
+
install$1.install,
|
|
25
|
+
install$2.install,
|
|
26
|
+
install$3.install,
|
|
27
|
+
install$4.install,
|
|
28
|
+
install$5.install,
|
|
29
|
+
install$6.install
|
|
30
|
+
]);
|
|
31
|
+
const props = __props;
|
|
32
|
+
const thisRef = Vue.ref(null);
|
|
33
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
34
|
+
const runtimeStyle = runtimeInfo.style;
|
|
35
|
+
const runtimeClass = runtimeInfo.class;
|
|
36
|
+
const chartOption = runtimeInfo.chartOption;
|
|
37
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
38
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
41
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
42
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
43
|
+
ref_key: "thisRef",
|
|
44
|
+
ref: thisRef
|
|
45
|
+
}, [
|
|
46
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
47
|
+
ref: "chartRef",
|
|
48
|
+
theme: Vue.unref(customTheme),
|
|
49
|
+
option: Vue.unref(chartOption),
|
|
50
|
+
autoresize: ""
|
|
51
|
+
}, null, 8, ["theme", "option"])
|
|
52
|
+
], 6);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
configure: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
pageContext: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
close: (...args: any[]) => void;
|
|
11
|
+
export: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
configure: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
pageContext: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
onClose?: (...args: any[]) => any;
|
|
22
|
+
onExport?: (...args: any[]) => any;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../utils/common-util.js");
|
|
4
|
+
const prefix = "${";
|
|
5
|
+
const suffix = "}";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "export-form-report-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
configure: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
pageContext: {
|
|
14
|
+
type: Object
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["export", "close"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
21
|
+
const templateFiles = Vue.ref([]);
|
|
22
|
+
const fields = Vue.ref([]);
|
|
23
|
+
const configureBase = props.configure.props.base;
|
|
24
|
+
const dataModel = props.pageContext.entity.data;
|
|
25
|
+
Vue.onMounted(() => {
|
|
26
|
+
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
27
|
+
templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
|
|
28
|
+
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
29
|
+
templateFiles.value.push({
|
|
30
|
+
templateUUID: configureBase.templateUUID,
|
|
31
|
+
templateShowPath: configureBase.templateShowPath
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
templateFiles.value.forEach((item) => {
|
|
35
|
+
if (item && item.templateShowPath) {
|
|
36
|
+
item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
function getFileds(templateShowPath) {
|
|
41
|
+
console.log("templateShowPath", templateShowPath);
|
|
42
|
+
let field;
|
|
43
|
+
let formatStr;
|
|
44
|
+
let newValue = templateShowPath;
|
|
45
|
+
const prefixIndex = newValue.indexOf(prefix);
|
|
46
|
+
const suffixIndex = newValue.indexOf(suffix);
|
|
47
|
+
console.log("prefixIndex", prefixIndex);
|
|
48
|
+
console.log("suffixIndex", suffixIndex);
|
|
49
|
+
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
50
|
+
if (prefixIndex > suffixIndex) {
|
|
51
|
+
newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
|
|
52
|
+
console.log("non replacement value === newValue", newValue);
|
|
53
|
+
} else {
|
|
54
|
+
field = newValue.substring(
|
|
55
|
+
prefixIndex + prefix.length,
|
|
56
|
+
suffixIndex
|
|
57
|
+
);
|
|
58
|
+
formatStr = newValue.substring(
|
|
59
|
+
prefixIndex,
|
|
60
|
+
suffixIndex + suffix.length
|
|
61
|
+
);
|
|
62
|
+
console.log("field", field);
|
|
63
|
+
console.log("formatStr", formatStr);
|
|
64
|
+
fields.value.push(field);
|
|
65
|
+
console.log("fields", fields.value);
|
|
66
|
+
newValue = newValue.replace(formatStr, "");
|
|
67
|
+
console.log("newValue", newValue);
|
|
68
|
+
}
|
|
69
|
+
return getFileds(newValue);
|
|
70
|
+
}
|
|
71
|
+
return fields.value;
|
|
72
|
+
}
|
|
73
|
+
function formatTemplateShowPath(templateShowPath) {
|
|
74
|
+
const fields2 = getFileds(templateShowPath);
|
|
75
|
+
console.log("fields", fields2);
|
|
76
|
+
fields2.forEach((field) => {
|
|
77
|
+
const formatStr = prefix + field + suffix;
|
|
78
|
+
let formatValue;
|
|
79
|
+
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
80
|
+
formatValue = dataModel[field] ? dataModel[field] : "";
|
|
81
|
+
templateShowPath = templateShowPath.replace(formatStr, formatValue);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
return templateShowPath;
|
|
85
|
+
}
|
|
86
|
+
function exportForm(row) {
|
|
87
|
+
emits("export", row);
|
|
88
|
+
}
|
|
89
|
+
function closeExportForm() {
|
|
90
|
+
emits("close");
|
|
91
|
+
}
|
|
92
|
+
return (_ctx, _cache) => {
|
|
93
|
+
const _component_el_table_column = Vue.resolveComponent("el-table-column");
|
|
94
|
+
const _component_el_button = Vue.resolveComponent("el-button");
|
|
95
|
+
const _component_el_table = Vue.resolveComponent("el-table");
|
|
96
|
+
const _component_el_dialog = Vue.resolveComponent("el-dialog");
|
|
97
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
|
|
98
|
+
"show-close": true,
|
|
99
|
+
"append-to-body": true,
|
|
100
|
+
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
101
|
+
"model-value": "",
|
|
102
|
+
onClose: closeExportForm
|
|
103
|
+
}, {
|
|
104
|
+
default: Vue.withCtx(() => [
|
|
105
|
+
Vue.createVNode(_component_el_table, {
|
|
106
|
+
data: templateFiles.value,
|
|
107
|
+
style: { "width": "100%" }
|
|
108
|
+
}, {
|
|
109
|
+
default: Vue.withCtx(() => [
|
|
110
|
+
Vue.createVNode(_component_el_table_column, {
|
|
111
|
+
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
112
|
+
prop: "templateShowPath"
|
|
113
|
+
}, {
|
|
114
|
+
default: Vue.withCtx((scope) => [
|
|
115
|
+
Vue.createTextVNode(Vue.toDisplayString(scope.row.templateShowPath), 1)
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["label"]),
|
|
119
|
+
Vue.createVNode(_component_el_table_column, {
|
|
120
|
+
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
121
|
+
width: "200",
|
|
122
|
+
fixed: "right"
|
|
123
|
+
}, {
|
|
124
|
+
default: Vue.withCtx((scope) => [
|
|
125
|
+
Vue.createVNode(_component_el_button, {
|
|
126
|
+
type: "text",
|
|
127
|
+
size: "small",
|
|
128
|
+
onClick: ($event) => exportForm(scope.row)
|
|
129
|
+
}, {
|
|
130
|
+
default: Vue.withCtx(() => [
|
|
131
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 2
|
|
134
|
+
}, 1032, ["onClick"])
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 8, ["label"])
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["data"])
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["title"]);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
taskId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
activeTasks: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: any;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
close: (...args: any[]) => void;
|
|
12
|
+
result: (...args: any[]) => void;
|
|
13
|
+
open: (...args: any[]) => void;
|
|
14
|
+
opend: (...args: any[]) => void;
|
|
15
|
+
closed: (...args: any[]) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
taskId: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
activeTasks: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onClose?: (...args: any[]) => any;
|
|
27
|
+
onResult?: (...args: any[]) => any;
|
|
28
|
+
onOpen?: (...args: any[]) => any;
|
|
29
|
+
onOpend?: (...args: any[]) => any;
|
|
30
|
+
onClosed?: (...args: any[]) => any;
|
|
31
|
+
}, {
|
|
32
|
+
taskId: number;
|
|
33
|
+
activeTasks: unknown[];
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|