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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
5
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "remove-signer-dialog",
|
|
8
8
|
props: {
|
|
9
9
|
taskId: {
|
|
@@ -18,12 +18,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["open", "opend", "close", "closed", "result"],
|
|
20
20
|
setup(__props, { emit: __emit }) {
|
|
21
|
-
|
|
21
|
+
vueI18n.useI18n();
|
|
22
22
|
const props = __props;
|
|
23
23
|
const emits = __emit;
|
|
24
|
-
const selections =
|
|
25
|
-
const canRemoveTasks =
|
|
26
|
-
|
|
24
|
+
const selections = vue.ref([]);
|
|
25
|
+
const canRemoveTasks = vue.ref([]);
|
|
26
|
+
vue.onMounted(() => {
|
|
27
27
|
canRemoveTasks.value = getCanRemoveTasks();
|
|
28
28
|
});
|
|
29
29
|
function select(selection) {
|
|
@@ -31,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
31
31
|
}
|
|
32
32
|
function selectRemoveUsers() {
|
|
33
33
|
if (selections.value.length === 0) {
|
|
34
|
-
|
|
34
|
+
elementPlus.ElMessage({
|
|
35
35
|
showClose: true,
|
|
36
36
|
type: "warning",
|
|
37
37
|
message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers")
|
|
@@ -49,12 +49,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
49
49
|
return [];
|
|
50
50
|
}
|
|
51
51
|
return (_ctx, _cache) => {
|
|
52
|
-
const _component_el_table_column =
|
|
53
|
-
const _component_el_table =
|
|
54
|
-
const _component_el_button =
|
|
55
|
-
const _component_el_dialog =
|
|
56
|
-
return
|
|
57
|
-
|
|
52
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
53
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
54
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
55
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
56
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
57
|
+
vue.createVNode(_component_el_dialog, {
|
|
58
58
|
"model-value": "",
|
|
59
59
|
title: _ctx.$t("superPageRuntimeMessage.selectRemoveUsers"),
|
|
60
60
|
"close-on-click-modal": false,
|
|
@@ -66,50 +66,50 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
66
66
|
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
67
67
|
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
68
68
|
}, {
|
|
69
|
-
footer:
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
footer: vue.withCtx(() => [
|
|
70
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
71
|
+
vue.createVNode(_component_el_button, {
|
|
72
72
|
type: "primary",
|
|
73
73
|
onClick: selectRemoveUsers
|
|
74
74
|
}, {
|
|
75
|
-
default:
|
|
76
|
-
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
79
|
}),
|
|
80
|
-
|
|
80
|
+
vue.createVNode(_component_el_button, {
|
|
81
81
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
82
82
|
}, {
|
|
83
|
-
default:
|
|
84
|
-
|
|
83
|
+
default: vue.withCtx(() => [
|
|
84
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
85
85
|
]),
|
|
86
86
|
_: 1
|
|
87
87
|
})
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
90
|
-
default:
|
|
91
|
-
|
|
90
|
+
default: vue.withCtx(() => [
|
|
91
|
+
vue.createVNode(_component_el_table, {
|
|
92
92
|
data: canRemoveTasks.value,
|
|
93
93
|
border: "",
|
|
94
94
|
style: { "width": "100%" },
|
|
95
95
|
onSelect: select
|
|
96
96
|
}, {
|
|
97
|
-
default:
|
|
98
|
-
|
|
97
|
+
default: vue.withCtx(() => [
|
|
98
|
+
vue.createVNode(_component_el_table_column, {
|
|
99
99
|
type: "selection",
|
|
100
100
|
width: "55"
|
|
101
101
|
}),
|
|
102
|
-
|
|
102
|
+
vue.createVNode(_component_el_table_column, {
|
|
103
103
|
prop: "transactorName",
|
|
104
104
|
label: _ctx.$t("superPageRuntimeMessage.transactorName"),
|
|
105
105
|
width: "180"
|
|
106
106
|
}, null, 8, ["label"]),
|
|
107
|
-
|
|
107
|
+
vue.createVNode(_component_el_table_column, {
|
|
108
108
|
prop: "transactor",
|
|
109
109
|
label: _ctx.$t("superPageRuntimeMessage.transactor"),
|
|
110
110
|
width: "180"
|
|
111
111
|
}, null, 8, ["label"]),
|
|
112
|
-
|
|
112
|
+
vue.createVNode(_component_el_table_column, {
|
|
113
113
|
prop: "trustorName",
|
|
114
114
|
label: _ctx.$t("superPageRuntimeMessage.trustorName"),
|
|
115
115
|
width: "180"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
5
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "task-informition-dialog",
|
|
8
8
|
props: {
|
|
9
9
|
taskInformitions: {
|
|
@@ -13,12 +13,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["open", "opend", "close", "closed", "result"],
|
|
15
15
|
setup(__props, { emit: __emit }) {
|
|
16
|
-
const { t } =
|
|
16
|
+
const { t } = vueI18n.useI18n();
|
|
17
17
|
const emits = __emit;
|
|
18
|
-
const selections =
|
|
18
|
+
const selections = vue.ref([]);
|
|
19
19
|
function selectNode() {
|
|
20
20
|
if (selections.value.length === 0 || selections.value.length > 1) {
|
|
21
|
-
|
|
21
|
+
elementPlus.ElMessage({
|
|
22
22
|
showClose: true,
|
|
23
23
|
type: "warning",
|
|
24
24
|
message: t("superPageRuntimeMessage.pleaseSelectNode")
|
|
@@ -31,12 +31,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
31
31
|
selections.value = selection;
|
|
32
32
|
}
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
const _component_el_table_column =
|
|
35
|
-
const _component_el_table =
|
|
36
|
-
const _component_el_button =
|
|
37
|
-
const _component_el_dialog =
|
|
38
|
-
return
|
|
39
|
-
|
|
34
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
35
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
36
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
37
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
38
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
39
|
+
vue.createVNode(_component_el_dialog, {
|
|
40
40
|
"model-value": "",
|
|
41
41
|
title: _ctx.$t("superPageRuntimeMessage.selectNode"),
|
|
42
42
|
"close-on-click-modal": false,
|
|
@@ -48,45 +48,45 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
48
48
|
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
49
49
|
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
50
50
|
}, {
|
|
51
|
-
footer:
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
footer: vue.withCtx(() => [
|
|
52
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
53
|
+
vue.createVNode(_component_el_button, {
|
|
54
54
|
type: "primary",
|
|
55
55
|
onClick: selectNode
|
|
56
56
|
}, {
|
|
57
|
-
default:
|
|
58
|
-
|
|
57
|
+
default: vue.withCtx(() => [
|
|
58
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
}),
|
|
62
|
-
|
|
62
|
+
vue.createVNode(_component_el_button, {
|
|
63
63
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("close"))
|
|
64
64
|
}, {
|
|
65
|
-
default:
|
|
66
|
-
|
|
65
|
+
default: vue.withCtx(() => [
|
|
66
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
})
|
|
70
70
|
])
|
|
71
71
|
]),
|
|
72
|
-
default:
|
|
73
|
-
|
|
72
|
+
default: vue.withCtx(() => [
|
|
73
|
+
vue.createVNode(_component_el_table, {
|
|
74
74
|
data: __props.taskInformitions,
|
|
75
75
|
border: "",
|
|
76
76
|
style: { "width": "100%" },
|
|
77
77
|
onSelect: select
|
|
78
78
|
}, {
|
|
79
|
-
default:
|
|
80
|
-
|
|
79
|
+
default: vue.withCtx(() => [
|
|
80
|
+
vue.createVNode(_component_el_table_column, {
|
|
81
81
|
type: "selection",
|
|
82
82
|
width: "55"
|
|
83
83
|
}),
|
|
84
|
-
|
|
84
|
+
vue.createVNode(_component_el_table_column, {
|
|
85
85
|
prop: "nodeName",
|
|
86
86
|
label: _ctx.$t("superPageRuntimeMessage.nodeName"),
|
|
87
87
|
width: "180"
|
|
88
88
|
}, null, 8, ["label"]),
|
|
89
|
-
|
|
89
|
+
vue.createVNode(_component_el_table_column, {
|
|
90
90
|
prop: "nodeId",
|
|
91
91
|
label: _ctx.$t("superPageRuntimeMessage.nodeId"),
|
|
92
92
|
width: "180"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
5
5
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "card-runtime",
|
|
8
8
|
props: {
|
|
9
9
|
pageContext: {},
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
14
14
|
if (!props.configure.items) {
|
|
15
15
|
props.configure.items = [];
|
|
16
16
|
}
|
|
17
|
-
const thisRef =
|
|
17
|
+
const thisRef = vue.ref(null);
|
|
18
18
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
19
19
|
const runtimeStyle = runtimeInfo.style;
|
|
20
20
|
const runtimeClass = runtimeInfo.class;
|
|
@@ -27,18 +27,18 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
27
27
|
test
|
|
28
28
|
});
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
|
-
return
|
|
30
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCard), {
|
|
31
31
|
ref_key: "thisRef",
|
|
32
32
|
ref: thisRef,
|
|
33
|
-
style:
|
|
34
|
-
class:
|
|
35
|
-
},
|
|
36
|
-
default:
|
|
37
|
-
|
|
38
|
-
class:
|
|
33
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
34
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
35
|
+
}, vue.createSlots({
|
|
36
|
+
default: vue.withCtx(() => [
|
|
37
|
+
vue.createElementVNode("div", {
|
|
38
|
+
class: vue.normalizeClass(vue.unref(contentClass))
|
|
39
39
|
}, [
|
|
40
|
-
(
|
|
41
|
-
return
|
|
40
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
41
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
42
42
|
key: element.uuid,
|
|
43
43
|
pageContext: _ctx.pageContext,
|
|
44
44
|
configure: element
|
|
@@ -50,17 +50,17 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
50
50
|
}, [
|
|
51
51
|
_ctx.configure.props.base.tittleShow ? {
|
|
52
52
|
name: "header",
|
|
53
|
-
fn:
|
|
54
|
-
|
|
55
|
-
style:
|
|
53
|
+
fn: vue.withCtx(() => [
|
|
54
|
+
vue.createElementVNode("div", {
|
|
55
|
+
style: vue.normalizeStyle(vue.unref(headerStyle))
|
|
56
56
|
}, [
|
|
57
|
-
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (
|
|
57
|
+
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
58
58
|
key: 0,
|
|
59
59
|
iconType: _ctx.configure.props.iconType,
|
|
60
60
|
iconValue: _ctx.configure.props.iconValue,
|
|
61
61
|
style: { "margin-right": "2px" }
|
|
62
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
63
|
-
|
|
62
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
63
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.configure.props.base.title), 1)
|
|
64
64
|
], 4)
|
|
65
65
|
]),
|
|
66
66
|
key: "0"
|
package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
4
|
require("../../../../utils/global-refs.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "collapse-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -15,46 +15,46 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
const activeName = props.configure.props.defaultOpens ? props.configure.props.defaultOpens : [1];
|
|
17
17
|
const accordion = props.configure.props.accordion ? true : false;
|
|
18
|
-
const thisRef =
|
|
18
|
+
const thisRef = vue.ref(null);
|
|
19
19
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
20
20
|
const runtimeStyle = runtimeInfo.style;
|
|
21
21
|
const runtimeClass = runtimeInfo.class;
|
|
22
22
|
const headerStyle = runtimeInfo.headerStyle;
|
|
23
23
|
return (_ctx, _cache) => {
|
|
24
|
-
const _component_SuperIcon =
|
|
25
|
-
const _component_el_collapse_item =
|
|
26
|
-
const _component_el_collapse =
|
|
27
|
-
return
|
|
24
|
+
const _component_SuperIcon = vue.resolveComponent("SuperIcon");
|
|
25
|
+
const _component_el_collapse_item = vue.resolveComponent("el-collapse-item");
|
|
26
|
+
const _component_el_collapse = vue.resolveComponent("el-collapse");
|
|
27
|
+
return vue.openBlock(), vue.createBlock(_component_el_collapse, {
|
|
28
28
|
ref_key: "thisRef",
|
|
29
29
|
ref: thisRef,
|
|
30
|
-
modelValue:
|
|
31
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
32
|
-
style:
|
|
33
|
-
accordion:
|
|
34
|
-
class:
|
|
30
|
+
modelValue: vue.unref(activeName),
|
|
31
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null),
|
|
32
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
33
|
+
accordion: vue.unref(accordion),
|
|
34
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
35
35
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
(
|
|
38
|
-
return
|
|
36
|
+
default: vue.withCtx(() => [
|
|
37
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (item, index) => {
|
|
38
|
+
return vue.openBlock(), vue.createBlock(_component_el_collapse_item, {
|
|
39
39
|
name: item.index
|
|
40
40
|
}, {
|
|
41
|
-
title:
|
|
42
|
-
|
|
43
|
-
style:
|
|
41
|
+
title: vue.withCtx(() => [
|
|
42
|
+
vue.createElementVNode("div", {
|
|
43
|
+
style: vue.normalizeStyle([vue.unref(headerStyle), { "width": "100%" }])
|
|
44
44
|
}, [
|
|
45
|
-
item.iconType && item.iconValue ? (
|
|
45
|
+
item.iconType && item.iconValue ? (vue.openBlock(), vue.createBlock(_component_SuperIcon, {
|
|
46
46
|
key: 0,
|
|
47
47
|
iconType: item.iconType,
|
|
48
48
|
iconValue: item.iconValue,
|
|
49
49
|
style: { "margin-right": "2px" }
|
|
50
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
51
|
-
|
|
50
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
51
|
+
vue.createTextVNode(" " + vue.toDisplayString(item.label), 1)
|
|
52
52
|
], 4)
|
|
53
53
|
]),
|
|
54
|
-
default:
|
|
55
|
-
|
|
56
|
-
(
|
|
57
|
-
return
|
|
54
|
+
default: vue.withCtx(() => [
|
|
55
|
+
vue.createElementVNode("div", null, [
|
|
56
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (element, itemIndex) => {
|
|
57
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
58
58
|
key: element.uuid,
|
|
59
59
|
configure: element,
|
|
60
60
|
pageContext: _ctx.pageContext
|
package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
4
|
require("../../../../utils/global-refs.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "container-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -10,28 +10,28 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
10
10
|
},
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const props = __props;
|
|
13
|
-
const thisRef =
|
|
13
|
+
const thisRef = vue.ref(null);
|
|
14
14
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
15
|
const leftStyle = runtimeInfo.leftStyle;
|
|
16
16
|
const rightStyle = runtimeInfo.rightStyle;
|
|
17
17
|
const mainStyle = runtimeInfo.style;
|
|
18
18
|
const mainClass = runtimeInfo.class;
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
const _component_el_aside =
|
|
21
|
-
const _component_el_main =
|
|
22
|
-
const _component_el_container =
|
|
23
|
-
return
|
|
20
|
+
const _component_el_aside = vue.resolveComponent("el-aside");
|
|
21
|
+
const _component_el_main = vue.resolveComponent("el-main");
|
|
22
|
+
const _component_el_container = vue.resolveComponent("el-container");
|
|
23
|
+
return vue.openBlock(), vue.createBlock(_component_el_container, {
|
|
24
24
|
ref_key: "thisRef",
|
|
25
25
|
ref: thisRef
|
|
26
26
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
_ctx.configure.props.useLeft ? (
|
|
27
|
+
default: vue.withCtx(() => [
|
|
28
|
+
_ctx.configure.props.useLeft ? (vue.openBlock(), vue.createBlock(_component_el_aside, {
|
|
29
29
|
key: 0,
|
|
30
|
-
style:
|
|
30
|
+
style: vue.normalizeStyle(vue.unref(leftStyle))
|
|
31
31
|
}, {
|
|
32
|
-
default:
|
|
33
|
-
(
|
|
34
|
-
return
|
|
32
|
+
default: vue.withCtx(() => [
|
|
33
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.leftAslides, (element, itemIndex) => {
|
|
34
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
35
35
|
key: element.uuid,
|
|
36
36
|
pageContext: _ctx.pageContext,
|
|
37
37
|
configure: element
|
|
@@ -39,14 +39,14 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
39
39
|
}), 128))
|
|
40
40
|
]),
|
|
41
41
|
_: 1
|
|
42
|
-
}, 8, ["style"])) :
|
|
43
|
-
|
|
44
|
-
style:
|
|
45
|
-
class:
|
|
42
|
+
}, 8, ["style"])) : vue.createCommentVNode("", true),
|
|
43
|
+
vue.createVNode(_component_el_main, {
|
|
44
|
+
style: vue.normalizeStyle(vue.unref(mainStyle)),
|
|
45
|
+
class: vue.normalizeClass(vue.unref(mainClass))
|
|
46
46
|
}, {
|
|
47
|
-
default:
|
|
48
|
-
(
|
|
49
|
-
return
|
|
47
|
+
default: vue.withCtx(() => [
|
|
48
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
49
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
50
50
|
key: element.uuid,
|
|
51
51
|
pageContext: _ctx.pageContext,
|
|
52
52
|
configure: element
|
|
@@ -55,13 +55,13 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}, 8, ["style", "class"]),
|
|
58
|
-
_ctx.configure.props.useRight ? (
|
|
58
|
+
_ctx.configure.props.useRight ? (vue.openBlock(), vue.createBlock(_component_el_aside, {
|
|
59
59
|
key: 1,
|
|
60
|
-
style:
|
|
60
|
+
style: vue.normalizeStyle(vue.unref(rightStyle))
|
|
61
61
|
}, {
|
|
62
|
-
default:
|
|
63
|
-
(
|
|
64
|
-
return
|
|
62
|
+
default: vue.withCtx(() => [
|
|
63
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.rightAslides, (element, itemIndex) => {
|
|
64
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
65
65
|
key: element.uuid,
|
|
66
66
|
pageContext: _ctx.pageContext,
|
|
67
67
|
configure: element
|
|
@@ -69,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
69
69
|
}), 128))
|
|
70
70
|
]),
|
|
71
71
|
_: 1
|
|
72
|
-
}, 8, ["style"])) :
|
|
72
|
+
}, 8, ["style"])) : vue.createCommentVNode("", true)
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
75
75
|
}, 512);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
4
|
require("../../../../utils/global-refs.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "flex-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -10,25 +10,25 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
10
10
|
},
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const props = __props;
|
|
13
|
-
const thisRef =
|
|
13
|
+
const thisRef = vue.ref(null);
|
|
14
14
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
15
|
const runtimeStyle = runtimeInfo.style;
|
|
16
16
|
const runtimeClass = runtimeInfo.class;
|
|
17
17
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
const _component_el_row =
|
|
20
|
-
return
|
|
19
|
+
const _component_el_row = vue.resolveComponent("el-row");
|
|
20
|
+
return vue.openBlock(), vue.createBlock(_component_el_row, {
|
|
21
21
|
ref_key: "thisRef",
|
|
22
22
|
ref: thisRef,
|
|
23
|
-
justify:
|
|
24
|
-
gutter:
|
|
25
|
-
align:
|
|
26
|
-
style:
|
|
27
|
-
class:
|
|
23
|
+
justify: vue.unref(designProperty).flexJustify,
|
|
24
|
+
gutter: vue.unref(designProperty).flexGutter,
|
|
25
|
+
align: vue.unref(designProperty).alignItems,
|
|
26
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
27
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
28
28
|
}, {
|
|
29
|
-
default:
|
|
30
|
-
(
|
|
31
|
-
return
|
|
29
|
+
default: vue.withCtx(() => [
|
|
30
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
31
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
32
32
|
key: element.uuid,
|
|
33
33
|
pageContext: _ctx.pageContext,
|
|
34
34
|
configure: element
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
4
|
require("../../../../utils/global-refs.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "form-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -18,18 +18,18 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
18
18
|
const runtimeStyle = runtimeInfo.style;
|
|
19
19
|
const runtimeClass = runtimeInfo.class;
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
const _component_el_form =
|
|
22
|
-
return
|
|
21
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
|
22
|
+
return vue.openBlock(), vue.createBlock(_component_el_form, {
|
|
23
23
|
ref: "thisRef",
|
|
24
|
-
"label-width":
|
|
25
|
-
"label-position":
|
|
26
|
-
size:
|
|
27
|
-
style:
|
|
28
|
-
class:
|
|
24
|
+
"label-width": vue.unref(runtimeProps).labelWidth,
|
|
25
|
+
"label-position": vue.unref(runtimeProps).labelPosition,
|
|
26
|
+
size: vue.unref(runtimeProps).componentSize,
|
|
27
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
28
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
(
|
|
32
|
-
return
|
|
30
|
+
default: vue.withCtx(() => [
|
|
31
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
32
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
33
33
|
key: element.uuid,
|
|
34
34
|
pageContext: _ctx.pageContext,
|
|
35
35
|
configure: element
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
require("../../../../utils/global-refs.js");
|
|
4
4
|
const _hoisted_1 = ["src"];
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "iframe-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -12,17 +12,17 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
12
12
|
},
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const props = __props;
|
|
15
|
-
const thisRef =
|
|
15
|
+
const thisRef = vue.ref(null);
|
|
16
16
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
17
17
|
const runtimeStyle = runtimeInfo.style;
|
|
18
18
|
const runtimeClass = runtimeInfo.class;
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return
|
|
20
|
+
return vue.openBlock(), vue.createElementBlock("iframe", {
|
|
21
21
|
ref_key: "thisRef",
|
|
22
22
|
ref: thisRef,
|
|
23
23
|
src: _ctx.configure.props.src,
|
|
24
|
-
class:
|
|
25
|
-
style:
|
|
24
|
+
class: vue.normalizeClass(["amb-widget-container-iframe", vue.unref(runtimeClass)]),
|
|
25
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
26
26
|
}, null, 14, _hoisted_1);
|
|
27
27
|
};
|
|
28
28
|
}
|