super-page-runtime 1.0.1 → 1.0.2
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/utils/api/api-util.js +3 -3
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -1
- package/dist/es/components/runtime/utils/common-util.js +2 -2
- package/dist/es/components/runtime/utils/eventBus.js +1 -1
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/standard-event.js +6 -6
- package/dist/es/components/runtime/utils/events/validator-util.js +3 -3
- package/dist/es/components/runtime/utils/global-refs.js +1 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +3 -3
- package/dist/es/components/runtime/utils/page-init-util.js +2 -2
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue.js +6 -6
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +2 -1
- package/dist/es/components/wf-editor/wf-editor.vue.js +1 -1
- package/dist/lib/components/runtime/utils/api/api-util.js +10 -10
- package/dist/lib/components/runtime/utils/assemblys-config.js +35 -35
- package/dist/lib/components/runtime/utils/common-util.js +4 -4
- package/dist/lib/components/runtime/utils/eventBus.js +1 -1
- package/dist/lib/components/runtime/utils/events/event-util.js +8 -8
- package/dist/lib/components/runtime/utils/events/standard-event.js +66 -66
- package/dist/lib/components/runtime/utils/events/validator-util.js +14 -14
- package/dist/lib/components/runtime/utils/global-refs.js +1 -1
- package/dist/lib/components/runtime/utils/page-helper-util.js +4 -4
- package/dist/lib/components/runtime/utils/page-init-util.js +3 -3
- package/dist/lib/components/runtime/utils/table-utils.js +1 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +31 -31
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +30 -30
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +20 -20
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +13 -13
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +6 -6
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +15 -15
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +11 -11
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +39 -39
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -58
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +42 -42
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +8 -8
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +28 -28
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +18 -18
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/super-page.vue.js +60 -60
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +15 -14
- package/dist/lib/components/wf-editor/wf-editor.vue.js +4 -4
- package/package.json +1 -1
- package/dist/super-page-runtime.umd.js +0 -213932
package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const iconsVue = require("@element-plus/icons-vue");
|
|
4
4
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
5
|
const _hoisted_1 = { key: 1 };
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "dropdown-runtime",
|
|
8
8
|
props: {
|
|
9
9
|
pageContext: {},
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
19
19
|
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
20
20
|
const valueType = dataOrigin.optionValueSetType;
|
|
21
21
|
if (valueType == "variable") {
|
|
22
|
-
listOptions =
|
|
22
|
+
listOptions = vue.computed(() => {
|
|
23
23
|
let options;
|
|
24
24
|
const menuValues = pageHelperUtil.formatVariableValue(props.pageContext, designProperty.menuField);
|
|
25
25
|
if (menuValues && Array.isArray(menuValues)) {
|
|
@@ -43,32 +43,32 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
43
43
|
return options;
|
|
44
44
|
});
|
|
45
45
|
} else {
|
|
46
|
-
listOptions =
|
|
46
|
+
listOptions = vue.ref(designProperty.options ? designProperty.options : []);
|
|
47
47
|
}
|
|
48
48
|
return (_ctx, _cache) => {
|
|
49
|
-
const _component_el_button =
|
|
50
|
-
const _component_el_icon =
|
|
51
|
-
const _component_el_text =
|
|
52
|
-
const _component_el_dropdown_item =
|
|
53
|
-
const _component_el_dropdown_menu =
|
|
54
|
-
const _component_el_dropdown =
|
|
55
|
-
return
|
|
56
|
-
class:
|
|
57
|
-
style:
|
|
58
|
-
placement:
|
|
59
|
-
"split-button":
|
|
60
|
-
disabled:
|
|
61
|
-
type:
|
|
62
|
-
size:
|
|
63
|
-
trigger:
|
|
49
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
50
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
51
|
+
const _component_el_text = vue.resolveComponent("el-text");
|
|
52
|
+
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
53
|
+
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
54
|
+
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
55
|
+
return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
|
|
56
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
57
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
58
|
+
placement: vue.unref(designProperty).placement,
|
|
59
|
+
"split-button": vue.unref(designProperty).splitButton,
|
|
60
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
61
|
+
type: vue.unref(designProperty).buttonType,
|
|
62
|
+
size: vue.unref(designProperty).size,
|
|
63
|
+
trigger: vue.unref(designProperty).trigger
|
|
64
64
|
}, {
|
|
65
|
-
dropdown:
|
|
66
|
-
|
|
67
|
-
default:
|
|
68
|
-
(
|
|
69
|
-
return
|
|
70
|
-
default:
|
|
71
|
-
|
|
65
|
+
dropdown: vue.withCtx(() => [
|
|
66
|
+
vue.createVNode(_component_el_dropdown_menu, null, {
|
|
67
|
+
default: vue.withCtx(() => [
|
|
68
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(listOptions), (item, index) => {
|
|
69
|
+
return vue.openBlock(), vue.createBlock(_component_el_dropdown_item, { key: item }, {
|
|
70
|
+
default: vue.withCtx(() => [
|
|
71
|
+
vue.createTextVNode(vue.toDisplayString(item.label), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, 1024);
|
|
@@ -77,24 +77,24 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
77
77
|
_: 1
|
|
78
78
|
})
|
|
79
79
|
]),
|
|
80
|
-
default:
|
|
81
|
-
|
|
82
|
-
!
|
|
80
|
+
default: vue.withCtx(() => [
|
|
81
|
+
vue.unref(designProperty).triggerElement === "button" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
82
|
+
!vue.unref(designProperty).splitButton ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
83
83
|
key: 0,
|
|
84
|
-
size:
|
|
85
|
-
type:
|
|
84
|
+
size: vue.unref(designProperty).size,
|
|
85
|
+
type: vue.unref(designProperty).buttonType
|
|
86
86
|
}, {
|
|
87
|
-
default:
|
|
88
|
-
|
|
87
|
+
default: vue.withCtx(() => [
|
|
88
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title), 1)
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
91
|
-
}, 8, ["size", "type"])) : (
|
|
92
|
-
], 64)) : (
|
|
93
|
-
default:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
default:
|
|
97
|
-
|
|
91
|
+
}, 8, ["size", "type"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(vue.unref(designProperty).title), 1))
|
|
92
|
+
], 64)) : (vue.openBlock(), vue.createBlock(_component_el_text, { key: 1 }, {
|
|
93
|
+
default: vue.withCtx(() => [
|
|
94
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title) + " ", 1),
|
|
95
|
+
vue.createVNode(_component_el_icon, null, {
|
|
96
|
+
default: vue.withCtx(() => [
|
|
97
|
+
vue.createVNode(vue.unref(iconsVue.ArrowDown))
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
100
|
})
|
package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const VChart = require("
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "column-line-runtime",
|
|
11
11
|
props: {
|
|
12
12
|
pageContext: {},
|
|
13
13
|
configure: {}
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.LineChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
charts.BarChart,
|
|
24
|
+
components.ToolboxComponent,
|
|
25
|
+
components.DataZoomComponent
|
|
26
26
|
]);
|
|
27
27
|
const props = __props;
|
|
28
|
-
const thisRef =
|
|
28
|
+
const thisRef = vue.ref(null);
|
|
29
29
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
30
30
|
const runtimeStyle = runtimeInfo.style;
|
|
31
31
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -34,16 +34,16 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
34
34
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
35
35
|
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
|
-
return
|
|
38
|
-
style:
|
|
39
|
-
class:
|
|
37
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
38
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
39
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
40
40
|
ref_key: "thisRef",
|
|
41
41
|
ref: thisRef
|
|
42
42
|
}, [
|
|
43
|
-
|
|
43
|
+
vue.createVNode(vue.unref(VChart), {
|
|
44
44
|
ref: "chartRef",
|
|
45
|
-
theme:
|
|
46
|
-
option:
|
|
45
|
+
theme: vue.unref(customTheme),
|
|
46
|
+
option: vue.unref(chartOption),
|
|
47
47
|
autoresize: ""
|
|
48
48
|
}, null, 8, ["theme", "option"])
|
|
49
49
|
], 6);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const VChart = require("
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "gauge-runtime",
|
|
11
11
|
props: {
|
|
12
12
|
pageContext: {},
|
|
13
13
|
configure: {}
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.GaugeChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.TitleComponent,
|
|
21
|
+
components.TooltipComponent,
|
|
22
|
+
components.ToolboxComponent
|
|
23
23
|
]);
|
|
24
24
|
const props = __props;
|
|
25
|
-
const thisRef =
|
|
25
|
+
const thisRef = vue.ref(null);
|
|
26
26
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
27
27
|
const runtimeStyle = runtimeInfo.style;
|
|
28
28
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -30,16 +30,16 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
30
30
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
31
31
|
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return
|
|
34
|
-
style:
|
|
35
|
-
class:
|
|
33
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
35
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
36
36
|
ref_key: "thisRef",
|
|
37
37
|
ref: thisRef
|
|
38
38
|
}, [
|
|
39
|
-
|
|
39
|
+
vue.createVNode(vue.unref(VChart), {
|
|
40
40
|
ref: "chartRef",
|
|
41
|
-
theme:
|
|
42
|
-
option:
|
|
41
|
+
theme: vue.unref(customTheme),
|
|
42
|
+
option: vue.unref(chartOption),
|
|
43
43
|
autoresize: ""
|
|
44
44
|
}, null, 8, ["theme", "option"])
|
|
45
45
|
], 6);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const VChart = require("
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "pie-runtime",
|
|
11
11
|
props: {
|
|
12
12
|
pageContext: {},
|
|
13
13
|
configure: {}
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.PieChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
components.ToolboxComponent
|
|
24
24
|
]);
|
|
25
25
|
const props = __props;
|
|
26
|
-
const thisRef =
|
|
26
|
+
const thisRef = vue.ref(null);
|
|
27
27
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
28
|
const runtimeStyle = runtimeInfo.style;
|
|
29
29
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -31,16 +31,16 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
31
31
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
32
|
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
-
style:
|
|
36
|
-
class:
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
36
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
37
37
|
ref_key: "thisRef",
|
|
38
38
|
ref: thisRef
|
|
39
39
|
}, [
|
|
40
|
-
|
|
40
|
+
vue.createVNode(vue.unref(VChart), {
|
|
41
41
|
ref: "chartRef",
|
|
42
|
-
theme:
|
|
43
|
-
option:
|
|
42
|
+
theme: vue.unref(customTheme),
|
|
43
|
+
option: vue.unref(chartOption),
|
|
44
44
|
autoresize: ""
|
|
45
45
|
}, null, 8, ["theme", "option"])
|
|
46
46
|
], 6);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const VChart = require("
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "radar-runtime",
|
|
11
11
|
props: {
|
|
12
12
|
pageContext: {},
|
|
13
13
|
configure: {}
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.RadarChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.TitleComponent,
|
|
21
|
+
components.TooltipComponent,
|
|
22
|
+
components.ToolboxComponent,
|
|
23
|
+
components.LegendComponent
|
|
24
24
|
]);
|
|
25
25
|
const props = __props;
|
|
26
|
-
const thisRef =
|
|
26
|
+
const thisRef = vue.ref(null);
|
|
27
27
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
28
|
const runtimeStyle = runtimeInfo.style;
|
|
29
29
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -31,16 +31,16 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
31
31
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
32
|
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
-
style:
|
|
36
|
-
class:
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
36
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
37
37
|
ref_key: "thisRef",
|
|
38
38
|
ref: thisRef
|
|
39
39
|
}, [
|
|
40
|
-
|
|
40
|
+
vue.createVNode(vue.unref(VChart), {
|
|
41
41
|
ref: "chartRef",
|
|
42
|
-
theme:
|
|
43
|
-
option:
|
|
42
|
+
theme: vue.unref(customTheme),
|
|
43
|
+
option: vue.unref(chartOption),
|
|
44
44
|
autoresize: ""
|
|
45
45
|
}, null, 8, ["theme", "option"])
|
|
46
46
|
], 6);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const VChart = require("
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "scatter-runtime",
|
|
11
11
|
props: {
|
|
12
12
|
pageContext: {},
|
|
13
13
|
configure: {}
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.ScatterChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
components.ToolboxComponent,
|
|
24
|
+
components.DataZoomComponent
|
|
25
25
|
]);
|
|
26
26
|
const props = __props;
|
|
27
|
-
const thisRef =
|
|
27
|
+
const thisRef = vue.ref(null);
|
|
28
28
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
29
29
|
const runtimeStyle = runtimeInfo.style;
|
|
30
30
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -32,16 +32,16 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
32
32
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
33
33
|
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
34
34
|
return (_ctx, _cache) => {
|
|
35
|
-
return
|
|
36
|
-
style:
|
|
37
|
-
class:
|
|
35
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
37
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
38
38
|
ref_key: "thisRef",
|
|
39
39
|
ref: thisRef
|
|
40
40
|
}, [
|
|
41
|
-
|
|
41
|
+
vue.createVNode(vue.unref(VChart), {
|
|
42
42
|
ref: "chartRef",
|
|
43
|
-
theme:
|
|
44
|
-
option:
|
|
43
|
+
theme: vue.unref(customTheme),
|
|
44
|
+
option: vue.unref(chartOption),
|
|
45
45
|
autoresize: ""
|
|
46
46
|
}, null, 8, ["theme", "option"])
|
|
47
47
|
], 6);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const commonUtil = require("../../../utils/common-util.js");
|
|
4
4
|
const prefix = "${";
|
|
5
5
|
const suffix = "}";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "export-form-report-dialog",
|
|
8
8
|
props: {
|
|
9
9
|
configure: {
|
|
@@ -18,11 +18,11 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
18
18
|
setup(__props, { emit: __emit }) {
|
|
19
19
|
const props = __props;
|
|
20
20
|
const emits = __emit;
|
|
21
|
-
const templateFiles =
|
|
22
|
-
const fields =
|
|
21
|
+
const templateFiles = vue.ref([]);
|
|
22
|
+
const fields = vue.ref([]);
|
|
23
23
|
const configureBase = props.configure.props.base;
|
|
24
24
|
const dataModel = props.pageContext.entity.data;
|
|
25
|
-
|
|
25
|
+
vue.onMounted(() => {
|
|
26
26
|
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
27
27
|
templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
|
|
28
28
|
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
@@ -90,45 +90,45 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
90
90
|
emits("close");
|
|
91
91
|
}
|
|
92
92
|
return (_ctx, _cache) => {
|
|
93
|
-
const _component_el_table_column =
|
|
94
|
-
const _component_el_button =
|
|
95
|
-
const _component_el_table =
|
|
96
|
-
const _component_el_dialog =
|
|
97
|
-
return
|
|
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
98
|
"show-close": true,
|
|
99
99
|
"append-to-body": true,
|
|
100
100
|
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
101
101
|
"model-value": "",
|
|
102
102
|
onClose: closeExportForm
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
104
|
+
default: vue.withCtx(() => [
|
|
105
|
+
vue.createVNode(_component_el_table, {
|
|
106
106
|
data: templateFiles.value,
|
|
107
107
|
style: { "width": "100%" }
|
|
108
108
|
}, {
|
|
109
|
-
default:
|
|
110
|
-
|
|
109
|
+
default: vue.withCtx(() => [
|
|
110
|
+
vue.createVNode(_component_el_table_column, {
|
|
111
111
|
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
112
112
|
prop: "templateShowPath"
|
|
113
113
|
}, {
|
|
114
|
-
default:
|
|
115
|
-
|
|
114
|
+
default: vue.withCtx((scope) => [
|
|
115
|
+
vue.createTextVNode(vue.toDisplayString(scope.row.templateShowPath), 1)
|
|
116
116
|
]),
|
|
117
117
|
_: 1
|
|
118
118
|
}, 8, ["label"]),
|
|
119
|
-
|
|
119
|
+
vue.createVNode(_component_el_table_column, {
|
|
120
120
|
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
121
121
|
width: "200",
|
|
122
122
|
fixed: "right"
|
|
123
123
|
}, {
|
|
124
|
-
default:
|
|
125
|
-
|
|
124
|
+
default: vue.withCtx((scope) => [
|
|
125
|
+
vue.createVNode(_component_el_button, {
|
|
126
126
|
type: "text",
|
|
127
127
|
size: "small",
|
|
128
128
|
onClick: ($event) => exportForm(scope.row)
|
|
129
129
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
130
|
+
default: vue.withCtx(() => [
|
|
131
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
132
132
|
]),
|
|
133
133
|
_: 2
|
|
134
134
|
}, 1032, ["onClick"])
|