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,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const vueI18n = require("../../../../../node_modules/.pnpm/vue-i18n@9.10.2_vue@3.4.21/node_modules/vue-i18n/dist/vue-i18n.js");
|
|
4
|
+
const index = require("../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/message/index.js");
|
|
5
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "remove-signer-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
taskId: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
// 当前环节所有待办任务集合
|
|
14
|
+
activeTasks: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: null
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
emits: ["open", "opend", "close", "closed", "result"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
vueI18n.useI18n();
|
|
22
|
+
const props = __props;
|
|
23
|
+
const emits = __emit;
|
|
24
|
+
const selections = Vue.ref([]);
|
|
25
|
+
const canRemoveTasks = Vue.ref([]);
|
|
26
|
+
Vue.onMounted(() => {
|
|
27
|
+
canRemoveTasks.value = getCanRemoveTasks();
|
|
28
|
+
});
|
|
29
|
+
function select(selection) {
|
|
30
|
+
selections.value = selection;
|
|
31
|
+
}
|
|
32
|
+
function selectRemoveUsers() {
|
|
33
|
+
if (selections.value.length === 0) {
|
|
34
|
+
index.ElMessage({
|
|
35
|
+
showClose: true,
|
|
36
|
+
type: "warning",
|
|
37
|
+
message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers")
|
|
38
|
+
});
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
emits("result", selections.value);
|
|
42
|
+
}
|
|
43
|
+
function getCanRemoveTasks() {
|
|
44
|
+
if (props.activeTasks && props.taskId) {
|
|
45
|
+
return props.activeTasks.filter(
|
|
46
|
+
(task) => props.taskId !== task["id"] ? task["id"] : task["ID"] ? task["ID"] : null
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
return (_ctx, _cache) => {
|
|
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
|
+
"model-value": "",
|
|
59
|
+
title: _ctx.$t("superPageRuntimeMessage.selectRemoveUsers"),
|
|
60
|
+
"close-on-click-modal": false,
|
|
61
|
+
"append-to-body": "",
|
|
62
|
+
width: "30%",
|
|
63
|
+
"max-height": "400",
|
|
64
|
+
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
65
|
+
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
66
|
+
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
67
|
+
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
68
|
+
}, {
|
|
69
|
+
footer: Vue.withCtx(() => [
|
|
70
|
+
Vue.createElementVNode("div", _hoisted_1, [
|
|
71
|
+
Vue.createVNode(_component_el_button, {
|
|
72
|
+
type: "primary",
|
|
73
|
+
onClick: selectRemoveUsers
|
|
74
|
+
}, {
|
|
75
|
+
default: Vue.withCtx(() => [
|
|
76
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}),
|
|
80
|
+
Vue.createVNode(_component_el_button, {
|
|
81
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
82
|
+
}, {
|
|
83
|
+
default: Vue.withCtx(() => [
|
|
84
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
])
|
|
89
|
+
]),
|
|
90
|
+
default: Vue.withCtx(() => [
|
|
91
|
+
Vue.createVNode(_component_el_table, {
|
|
92
|
+
data: canRemoveTasks.value,
|
|
93
|
+
border: "",
|
|
94
|
+
style: { "width": "100%" },
|
|
95
|
+
onSelect: select
|
|
96
|
+
}, {
|
|
97
|
+
default: Vue.withCtx(() => [
|
|
98
|
+
Vue.createVNode(_component_el_table_column, {
|
|
99
|
+
type: "selection",
|
|
100
|
+
width: "55"
|
|
101
|
+
}),
|
|
102
|
+
Vue.createVNode(_component_el_table_column, {
|
|
103
|
+
prop: "transactorName",
|
|
104
|
+
label: _ctx.$t("superPageRuntimeMessage.transactorName"),
|
|
105
|
+
width: "180"
|
|
106
|
+
}, null, 8, ["label"]),
|
|
107
|
+
Vue.createVNode(_component_el_table_column, {
|
|
108
|
+
prop: "transactor",
|
|
109
|
+
label: _ctx.$t("superPageRuntimeMessage.transactor"),
|
|
110
|
+
width: "180"
|
|
111
|
+
}, null, 8, ["label"]),
|
|
112
|
+
Vue.createVNode(_component_el_table_column, {
|
|
113
|
+
prop: "trustorName",
|
|
114
|
+
label: _ctx.$t("superPageRuntimeMessage.trustorName"),
|
|
115
|
+
width: "180"
|
|
116
|
+
}, null, 8, ["label"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["data"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["title"])
|
|
123
|
+
]);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
taskInformitions: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: (...args: any[]) => void;
|
|
8
|
+
result: (...args: any[]) => void;
|
|
9
|
+
open: (...args: any[]) => void;
|
|
10
|
+
opend: (...args: any[]) => void;
|
|
11
|
+
closed: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
taskInformitions: {
|
|
14
|
+
type: ArrayConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
}>> & {
|
|
18
|
+
onClose?: (...args: any[]) => any;
|
|
19
|
+
onResult?: (...args: any[]) => any;
|
|
20
|
+
onOpen?: (...args: any[]) => any;
|
|
21
|
+
onOpend?: (...args: any[]) => any;
|
|
22
|
+
onClosed?: (...args: any[]) => any;
|
|
23
|
+
}, {
|
|
24
|
+
taskInformitions: unknown[];
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const vueI18n = require("../../../../../node_modules/.pnpm/vue-i18n@9.10.2_vue@3.4.21/node_modules/vue-i18n/dist/vue-i18n.js");
|
|
4
|
+
const index = require("../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/message/index.js");
|
|
5
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "task-informition-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
taskInformitions: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: null
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["open", "opend", "close", "closed", "result"],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
|
+
const { t } = vueI18n.useI18n();
|
|
17
|
+
const emits = __emit;
|
|
18
|
+
const selections = Vue.ref([]);
|
|
19
|
+
function selectNode() {
|
|
20
|
+
if (selections.value.length === 0 || selections.value.length > 1) {
|
|
21
|
+
index.ElMessage({
|
|
22
|
+
showClose: true,
|
|
23
|
+
type: "warning",
|
|
24
|
+
message: t("superPageRuntimeMessage.pleaseSelectNode")
|
|
25
|
+
});
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
emits("result", this.selections[0]);
|
|
29
|
+
}
|
|
30
|
+
function select(selection) {
|
|
31
|
+
selections.value = selection;
|
|
32
|
+
}
|
|
33
|
+
return (_ctx, _cache) => {
|
|
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
|
+
"model-value": "",
|
|
41
|
+
title: _ctx.$t("superPageRuntimeMessage.selectNode"),
|
|
42
|
+
"close-on-click-modal": false,
|
|
43
|
+
"append-to-body": "",
|
|
44
|
+
width: "30%",
|
|
45
|
+
"max-height": "400",
|
|
46
|
+
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
47
|
+
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
48
|
+
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
49
|
+
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
50
|
+
}, {
|
|
51
|
+
footer: Vue.withCtx(() => [
|
|
52
|
+
Vue.createElementVNode("div", _hoisted_1, [
|
|
53
|
+
Vue.createVNode(_component_el_button, {
|
|
54
|
+
type: "primary",
|
|
55
|
+
onClick: selectNode
|
|
56
|
+
}, {
|
|
57
|
+
default: Vue.withCtx(() => [
|
|
58
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
Vue.createVNode(_component_el_button, {
|
|
63
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emits("close"))
|
|
64
|
+
}, {
|
|
65
|
+
default: Vue.withCtx(() => [
|
|
66
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
})
|
|
70
|
+
])
|
|
71
|
+
]),
|
|
72
|
+
default: Vue.withCtx(() => [
|
|
73
|
+
Vue.createVNode(_component_el_table, {
|
|
74
|
+
data: __props.taskInformitions,
|
|
75
|
+
border: "",
|
|
76
|
+
style: { "width": "100%" },
|
|
77
|
+
onSelect: select
|
|
78
|
+
}, {
|
|
79
|
+
default: Vue.withCtx(() => [
|
|
80
|
+
Vue.createVNode(_component_el_table_column, {
|
|
81
|
+
type: "selection",
|
|
82
|
+
width: "55"
|
|
83
|
+
}),
|
|
84
|
+
Vue.createVNode(_component_el_table_column, {
|
|
85
|
+
prop: "nodeName",
|
|
86
|
+
label: _ctx.$t("superPageRuntimeMessage.nodeName"),
|
|
87
|
+
width: "180"
|
|
88
|
+
}, null, 8, ["label"]),
|
|
89
|
+
Vue.createVNode(_component_el_table_column, {
|
|
90
|
+
prop: "nodeId",
|
|
91
|
+
label: _ctx.$t("superPageRuntimeMessage.nodeId"),
|
|
92
|
+
width: "180"
|
|
93
|
+
}, null, 8, ["label"])
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}, 8, ["data"])
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["title"])
|
|
100
|
+
]);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
4
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
5
|
+
const index = require("../../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/card/index.js");
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "card-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props, { expose: __expose }) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
if (!props.configure.items) {
|
|
15
|
+
props.configure.items = [];
|
|
16
|
+
}
|
|
17
|
+
const thisRef = Vue.ref(null);
|
|
18
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
19
|
+
const runtimeStyle = runtimeInfo.style;
|
|
20
|
+
const runtimeClass = runtimeInfo.class;
|
|
21
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
22
|
+
const contentClass = runtimeInfo.contentClass;
|
|
23
|
+
function test() {
|
|
24
|
+
props.configure.props.title = "teee";
|
|
25
|
+
}
|
|
26
|
+
__expose({
|
|
27
|
+
test
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return Vue.openBlock(), Vue.createBlock(Vue.unref(index.ElCard), {
|
|
31
|
+
ref_key: "thisRef",
|
|
32
|
+
ref: thisRef,
|
|
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
|
+
}, [
|
|
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
|
+
key: element.uuid,
|
|
43
|
+
pageContext: _ctx.pageContext,
|
|
44
|
+
configure: element
|
|
45
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
46
|
+
}), 128))
|
|
47
|
+
], 2)
|
|
48
|
+
]),
|
|
49
|
+
_: 2
|
|
50
|
+
}, [
|
|
51
|
+
_ctx.configure.props.base.tittleShow ? {
|
|
52
|
+
name: "header",
|
|
53
|
+
fn: Vue.withCtx(() => [
|
|
54
|
+
Vue.createElementVNode("div", {
|
|
55
|
+
style: Vue.normalizeStyle(Vue.unref(headerStyle))
|
|
56
|
+
}, [
|
|
57
|
+
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
|
|
58
|
+
key: 0,
|
|
59
|
+
iconType: _ctx.configure.props.iconType,
|
|
60
|
+
iconValue: _ctx.configure.props.iconValue,
|
|
61
|
+
style: { "margin-right": "2px" }
|
|
62
|
+
}, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
|
|
63
|
+
Vue.createTextVNode(" " + Vue.toDisplayString(_ctx.configure.props.base.title), 1)
|
|
64
|
+
], 4)
|
|
65
|
+
]),
|
|
66
|
+
key: "0"
|
|
67
|
+
} : void 0
|
|
68
|
+
]), 1032, ["style", "class"]);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
require("../../../../utils/global-refs.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "collapse-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
if (!props.configure.props) {
|
|
14
|
+
props.configure.props = {};
|
|
15
|
+
}
|
|
16
|
+
const activeName = props.configure.props.defaultOpens ? props.configure.props.defaultOpens : [1];
|
|
17
|
+
const accordion = props.configure.props.accordion ? true : false;
|
|
18
|
+
const thisRef = Vue.ref(null);
|
|
19
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
20
|
+
const runtimeStyle = runtimeInfo.style;
|
|
21
|
+
const runtimeClass = runtimeInfo.class;
|
|
22
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
23
|
+
return (_ctx, _cache) => {
|
|
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
|
+
ref_key: "thisRef",
|
|
29
|
+
ref: thisRef,
|
|
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
|
+
}, {
|
|
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
|
+
name: item.index
|
|
40
|
+
}, {
|
|
41
|
+
title: Vue.withCtx(() => [
|
|
42
|
+
Vue.createElementVNode("div", {
|
|
43
|
+
style: Vue.normalizeStyle([Vue.unref(headerStyle), { "width": "100%" }])
|
|
44
|
+
}, [
|
|
45
|
+
item.iconType && item.iconValue ? (Vue.openBlock(), Vue.createBlock(_component_SuperIcon, {
|
|
46
|
+
key: 0,
|
|
47
|
+
iconType: item.iconType,
|
|
48
|
+
iconValue: item.iconValue,
|
|
49
|
+
style: { "margin-right": "2px" }
|
|
50
|
+
}, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
|
|
51
|
+
Vue.createTextVNode(" " + Vue.toDisplayString(item.label), 1)
|
|
52
|
+
], 4)
|
|
53
|
+
]),
|
|
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
|
+
key: element.uuid,
|
|
59
|
+
configure: element,
|
|
60
|
+
pageContext: _ctx.pageContext
|
|
61
|
+
}, null, 8, ["configure", "pageContext"]);
|
|
62
|
+
}), 128))
|
|
63
|
+
])
|
|
64
|
+
]),
|
|
65
|
+
_: 2
|
|
66
|
+
}, 1032, ["name"]);
|
|
67
|
+
}), 256))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["modelValue", "style", "accordion", "class"]);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
require("../../../../utils/global-refs.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "container-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const thisRef = Vue.ref(null);
|
|
14
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
|
+
const leftStyle = runtimeInfo.leftStyle;
|
|
16
|
+
const rightStyle = runtimeInfo.rightStyle;
|
|
17
|
+
const mainStyle = runtimeInfo.style;
|
|
18
|
+
const mainClass = runtimeInfo.class;
|
|
19
|
+
return (_ctx, _cache) => {
|
|
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
|
+
ref_key: "thisRef",
|
|
25
|
+
ref: thisRef
|
|
26
|
+
}, {
|
|
27
|
+
default: Vue.withCtx(() => [
|
|
28
|
+
_ctx.configure.props.useLeft ? (Vue.openBlock(), Vue.createBlock(_component_el_aside, {
|
|
29
|
+
key: 0,
|
|
30
|
+
style: Vue.normalizeStyle(Vue.unref(leftStyle))
|
|
31
|
+
}, {
|
|
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
|
+
key: element.uuid,
|
|
36
|
+
pageContext: _ctx.pageContext,
|
|
37
|
+
configure: element
|
|
38
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
39
|
+
}), 128))
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
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
|
+
}, {
|
|
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
|
+
key: element.uuid,
|
|
51
|
+
pageContext: _ctx.pageContext,
|
|
52
|
+
configure: element
|
|
53
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
54
|
+
}), 128))
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["style", "class"]),
|
|
58
|
+
_ctx.configure.props.useRight ? (Vue.openBlock(), Vue.createBlock(_component_el_aside, {
|
|
59
|
+
key: 1,
|
|
60
|
+
style: Vue.normalizeStyle(Vue.unref(rightStyle))
|
|
61
|
+
}, {
|
|
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
|
+
key: element.uuid,
|
|
66
|
+
pageContext: _ctx.pageContext,
|
|
67
|
+
configure: element
|
|
68
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
69
|
+
}), 128))
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["style"])) : Vue.createCommentVNode("", true)
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
}, 512);
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
require("../../../../utils/global-refs.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "flex-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const thisRef = Vue.ref(null);
|
|
14
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
|
+
const runtimeStyle = runtimeInfo.style;
|
|
16
|
+
const runtimeClass = runtimeInfo.class;
|
|
17
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_el_row = Vue.resolveComponent("el-row");
|
|
20
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_row, {
|
|
21
|
+
ref_key: "thisRef",
|
|
22
|
+
ref: thisRef,
|
|
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
|
+
}, {
|
|
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
|
+
key: element.uuid,
|
|
33
|
+
pageContext: _ctx.pageContext,
|
|
34
|
+
configure: element
|
|
35
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
36
|
+
}), 128))
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
}, 8, ["justify", "gutter", "align", "style", "class"]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
require("../../../../utils/global-refs.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "form-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
if (!props.configure.items) {
|
|
14
|
+
props.configure.items = [];
|
|
15
|
+
}
|
|
16
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
17
|
+
const runtimeProps = runtimeInfo.props ? runtimeInfo.props : {};
|
|
18
|
+
const runtimeStyle = runtimeInfo.style;
|
|
19
|
+
const runtimeClass = runtimeInfo.class;
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
const _component_el_form = Vue.resolveComponent("el-form");
|
|
22
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_form, {
|
|
23
|
+
ref: "thisRef",
|
|
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
|
+
}, {
|
|
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
|
+
key: element.uuid,
|
|
34
|
+
pageContext: _ctx.pageContext,
|
|
35
|
+
configure: element
|
|
36
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
37
|
+
}), 128))
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["label-width", "label-position", "size", "style", "class"]);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
require("../../../../utils/global-refs.js");
|
|
4
|
+
const _hoisted_1 = ["src"];
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "iframe-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {},
|
|
10
|
+
indexObj: {},
|
|
11
|
+
selectWidget: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const thisRef = Vue.ref(null);
|
|
16
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
17
|
+
const runtimeStyle = runtimeInfo.style;
|
|
18
|
+
const runtimeClass = runtimeInfo.class;
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return Vue.openBlock(), Vue.createElementBlock("iframe", {
|
|
21
|
+
ref_key: "thisRef",
|
|
22
|
+
ref: thisRef,
|
|
23
|
+
src: _ctx.configure.props.src,
|
|
24
|
+
class: Vue.normalizeClass(["amb-widget-container-iframe", Vue.unref(runtimeClass)]),
|
|
25
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
26
|
+
}, null, 14, _hoisted_1);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
module.exports = _sfc_main;
|