super-page-runtime 0.0.2-tmp7 → 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/index.d.ts +1 -3
- package/dist/es/components/runtime/index.js +4 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -8
- package/dist/es/components/runtime/utils/charts/chart-util.js +1 -14
- package/dist/es/components/runtime/utils/common-util.d.ts +0 -5
- package/dist/es/components/runtime/utils/common-util.js +0 -13
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -19
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -116
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +3 -198
- package/dist/es/components/runtime/views/super-page.vue.js +2 -16
- package/dist/es/components/super-page-dialog/index.d.ts +3 -0
- package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.js +1 -1
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +4 -0
- package/dist/es/components/wf-editor/index.d.ts +3 -0
- package/dist/es/components/wf-editor/index.js +4 -0
- package/dist/es/components/wf-editor/wf-editor.css +4 -0
- package/dist/es/components/wf-editor/wf-editor.vue.js +16 -0
- package/dist/es/index.d.ts +4 -7
- package/dist/es/index.js +3 -12
- package/dist/favicon.ico +0 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/components/runtime/index.d.ts +3 -0
- package/dist/lib/components/runtime/index.js +3 -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.js +15 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/common-util.js +81 -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 +1624 -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 +221 -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 +87 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +503 -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/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 +53 -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 +49 -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 +50 -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 +50 -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 +51 -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 +87 -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 +63 -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 +162 -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.vue.d.ts +91 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +481 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/components/super-page-dialog/index.d.ts +3 -0
- package/dist/lib/components/super-page-dialog/index.js +3 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +74 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/wf-editor/index.d.ts +3 -0
- package/dist/lib/components/wf-editor/index.js +3 -0
- package/dist/lib/components/wf-editor/wf-editor.css +4 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +2 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.js +15 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/index.js +8 -0
- package/package.json +68 -70
- package/dist/es/assets/chart-themes/theme1.d.ts +0 -4
- package/dist/es/assets/chart-themes/theme2.d.ts +0 -4
- package/dist/es/assets/chart-themes/theme3.d.ts +0 -4
- package/dist/es/assets/images/button/button-group.png.js +0 -4
- package/dist/es/assets/images/button/button.png.js +0 -4
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/es/components/runtime/utils/page-permission-util.js +0 -525
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -62
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -57
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/wf-editor.vue.js +0 -7
- package/dist/es/components/runtime/views/wf-editor.vue2.js +0 -25
- package/dist/es/components/runtime/views/wf-editor.vue3.js +0 -1
- package/dist/es/style.css +0 -4
- /package/dist/es/components/{runtime/views/super-page-dialog.vue2.js → super-page-dialog/index.js} +0 -0
- /package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.d.ts +0 -0
- /package/dist/es/components/{runtime/views → wf-editor}/wf-editor.vue.d.ts +0 -0
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;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
5
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
6
|
+
require("../../../../utils/global-refs.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
|
+
__name: "tabs-runtime",
|
|
9
|
+
props: {
|
|
10
|
+
pageContext: {},
|
|
11
|
+
configure: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const activeName = props.configure.props.defaultOpen ? props.configure.props.defaultOpen : 1;
|
|
16
|
+
const thisRef = vue.ref(null);
|
|
17
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
18
|
+
const runtimeStyle = runtimeInfo.style;
|
|
19
|
+
const runtimeClass = runtimeInfo.class;
|
|
20
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabs), {
|
|
23
|
+
ref_key: "thisRef",
|
|
24
|
+
ref: thisRef,
|
|
25
|
+
modelValue: vue.unref(activeName),
|
|
26
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null),
|
|
27
|
+
type: _ctx.configure.props.cardType,
|
|
28
|
+
"tab-position": _ctx.configure.props.tabPosition,
|
|
29
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
30
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
31
|
+
}, {
|
|
32
|
+
default: vue.withCtx(() => [
|
|
33
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (item, index) => {
|
|
34
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), {
|
|
35
|
+
label: item.label,
|
|
36
|
+
name: item.index
|
|
37
|
+
}, {
|
|
38
|
+
label: vue.withCtx(() => [
|
|
39
|
+
item.iconType && item.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
40
|
+
key: 0,
|
|
41
|
+
iconType: item.iconType,
|
|
42
|
+
iconValue: item.iconValue,
|
|
43
|
+
style: { "margin-right": "2px" }
|
|
44
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
45
|
+
vue.createElementVNode("span", {
|
|
46
|
+
style: vue.normalizeStyle(vue.unref(headerStyle))
|
|
47
|
+
}, vue.toDisplayString(item.label), 5)
|
|
48
|
+
]),
|
|
49
|
+
default: vue.withCtx(() => [
|
|
50
|
+
vue.createElementVNode("div", null, [
|
|
51
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (element, itemIndex) => {
|
|
52
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
53
|
+
key: element.uuid,
|
|
54
|
+
pageContext: _ctx.pageContext,
|
|
55
|
+
configure: element
|
|
56
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
57
|
+
}), 128))
|
|
58
|
+
])
|
|
59
|
+
]),
|
|
60
|
+
_: 2
|
|
61
|
+
}, 1032, ["label", "name"]);
|
|
62
|
+
}), 256))
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["modelValue", "type", "tab-position", "style", "class"]);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 _hoisted_1 = { class: "amb-widget-tools-parent" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "tools-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const thisRef = vue.ref(null);
|
|
15
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
16
|
+
const runtimeStyle = vue.ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
17
|
+
const runtimeClass = runtimeInfo.class;
|
|
18
|
+
vue.onMounted(() => {
|
|
19
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
20
|
+
const resizeObserver2 = new ResizeObserver((entries) => {
|
|
21
|
+
for (let entry of entries) {
|
|
22
|
+
}
|
|
23
|
+
caculatePositionStyle();
|
|
24
|
+
});
|
|
25
|
+
resizeObserver2.observe(thisRef.value.parentNode);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
vue.onUnmounted(() => {
|
|
29
|
+
});
|
|
30
|
+
function caculatePositionStyle() {
|
|
31
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
32
|
+
const thisProps = props.configure.props;
|
|
33
|
+
const position = thisProps.position;
|
|
34
|
+
if (position == "top1" || position == "bottom1") {
|
|
35
|
+
const tempStyle = {};
|
|
36
|
+
tempStyle["position"] = "fixed !important";
|
|
37
|
+
tempStyle["z-index"] = "1";
|
|
38
|
+
const contentObj = [thisRef.value.parentNode];
|
|
39
|
+
if (contentObj && contentObj.length > 0) {
|
|
40
|
+
const contentRec = contentObj[0].getBoundingClientRect();
|
|
41
|
+
if (position == "top") {
|
|
42
|
+
tempStyle["top"] = contentRec.top + "px";
|
|
43
|
+
}
|
|
44
|
+
if (position == "bottom") {
|
|
45
|
+
tempStyle["bottom"] = "10px";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const parentRec = thisRef.value.parentNode.getBoundingClientRect();
|
|
49
|
+
console.log("parentRec", parentRec);
|
|
50
|
+
tempStyle["width"] = parentRec.width - 25 + "px";
|
|
51
|
+
Object.assign(runtimeStyle.value, tempStyle);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
57
|
+
vue.createElementVNode("div", {
|
|
58
|
+
class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(runtimeClass)]),
|
|
59
|
+
style: vue.normalizeStyle(runtimeStyle.value),
|
|
60
|
+
ref_key: "thisRef",
|
|
61
|
+
ref: thisRef
|
|
62
|
+
}, [
|
|
63
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (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
|
+
], 6)
|
|
71
|
+
]);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
module.exports = _sfc_main;
|