super-page-designer 2.0.17 → 2.0.23
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/assets/fonts/iconfont.css.js +1 -0
- package/dist/es/components/design/utils/assemblys-config.js +125 -63
- package/dist/es/components/design/utils/data-table-util.js +4 -4
- package/dist/es/components/design/utils/form-design-util.js +11 -0
- package/dist/es/components/design/utils/page-service-util.js +1 -1
- package/dist/es/components/design/utils/page-table-util.js +3 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +13 -7
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +16 -8
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +16 -12
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +10 -8
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +10 -7
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +31 -9
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +6 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +17 -7
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +17 -7
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +18 -8
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +14 -8
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +33 -16
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +37 -34
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +112 -13
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +0 -5
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +18 -9
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +31 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +10 -9
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +13 -8
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +64 -75
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +44 -37
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +22 -13
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +2 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +15 -50
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -3
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +3 -42
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +19 -13
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +5 -68
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +24 -14
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +21 -11
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +6 -4
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-event.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-style.vue.js +6 -0
- package/dist/es/components/design/views/assemblys/form/divider/divider-design.vue2.js +17 -16
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +24 -9
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +19 -11
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +20 -10
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-style.vue.js +6 -0
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-design.vue2.js +8 -13
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +22 -13
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +25 -15
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-advanced.vue.js +40 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +142 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-style.vue.js +53 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +93 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +56 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +13 -7
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/object-design.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +2 -2
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.d.ts +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -11
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js +20 -5
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +9 -7
- package/dist/es/components/design/views/design/page-design.vue.js +135 -133
- package/dist/es/components/design/views/design/view/attr-container.vue.js +1 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +678 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.d.ts +16 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +602 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design-display.vue.d.ts +4 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +82 -39
- package/dist/es/components/design/views/design/view/view-design.vue.d.ts +13 -1
- package/dist/es/components/design/views/design/view/view-design.vue.js +13 -3
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/stores/page-store.js +1 -1
- package/dist/es/stores/undo-redo-store.d.ts +13 -0
- package/dist/es/stores/undo-redo-store.js +44 -0
- package/dist/es/style.css +977 -177
- package/package.json +6 -4
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +0 -539
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue2.js +0 -4
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../../common/common-advanced-basic.vue.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "separatelabel-attr-advanced",
|
|
5
|
+
props: {
|
|
6
|
+
configure: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: true
|
|
9
|
+
},
|
|
10
|
+
default: () => ({ props: {} })
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const openCollapseItems = ref(["base"]);
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
const _component_el_collapse = resolveComponent("el-collapse");
|
|
16
|
+
const _component_el_form = resolveComponent("el-form");
|
|
17
|
+
return openBlock(), createBlock(_component_el_form, {
|
|
18
|
+
"label-width": "80px",
|
|
19
|
+
size: "small"
|
|
20
|
+
}, {
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
createVNode(_component_el_collapse, {
|
|
23
|
+
modelValue: openCollapseItems.value,
|
|
24
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => openCollapseItems.value = $event),
|
|
25
|
+
style: { "margin-top": "6px" }
|
|
26
|
+
}, {
|
|
27
|
+
default: withCtx(() => [
|
|
28
|
+
createVNode(_sfc_main$1, { configure: __props.configure }, null, 8, ["configure"])
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["modelValue"])
|
|
32
|
+
]),
|
|
33
|
+
_: 1
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
_sfc_main as default
|
|
40
|
+
};
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import _sfc_main$3 from "../../common/common-attr-size.vue.js";
|
|
3
|
+
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../../common/common-icon-bind.vue.js";
|
|
5
|
+
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "separatelabel-attr-base",
|
|
8
|
+
props: {
|
|
9
|
+
configure: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: {}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const openCollapseItems = ref(["1", "attrSize"]);
|
|
17
|
+
function afterBindIcon(iconType, iconValue) {
|
|
18
|
+
props.configure.props.iconType = iconType;
|
|
19
|
+
props.configure.props.iconValue = iconValue;
|
|
20
|
+
}
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
const _component_el_text = resolveComponent("el-text");
|
|
23
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
24
|
+
const _component_el_input = resolveComponent("el-input");
|
|
25
|
+
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
26
|
+
const _component_el_collapse = resolveComponent("el-collapse");
|
|
27
|
+
const _component_el_form = resolveComponent("el-form");
|
|
28
|
+
return openBlock(), createBlock(_component_el_form, {
|
|
29
|
+
"label-width": "80px",
|
|
30
|
+
size: "small"
|
|
31
|
+
}, {
|
|
32
|
+
default: withCtx(() => [
|
|
33
|
+
createVNode(_component_el_collapse, {
|
|
34
|
+
modelValue: openCollapseItems.value,
|
|
35
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => openCollapseItems.value = $event),
|
|
36
|
+
style: { "margin-top": "6px" }
|
|
37
|
+
}, {
|
|
38
|
+
default: withCtx(() => [
|
|
39
|
+
createVNode(_component_el_collapse_item, {
|
|
40
|
+
title: "基本",
|
|
41
|
+
name: "1",
|
|
42
|
+
class: "amb-design-attr-group-header"
|
|
43
|
+
}, {
|
|
44
|
+
default: withCtx(() => [
|
|
45
|
+
createElementVNode("div", _hoisted_1, [
|
|
46
|
+
createVNode(_component_el_form_item, { label: "组件类型" }, {
|
|
47
|
+
default: withCtx(() => [
|
|
48
|
+
createVNode(_component_el_text, null, {
|
|
49
|
+
default: withCtx(() => [
|
|
50
|
+
createTextVNode(toDisplayString(__props.configure.label) + "(" + toDisplayString(__props.configure.name) + ")", 1)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
})
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
}),
|
|
57
|
+
createVNode(_component_el_form_item, {
|
|
58
|
+
label: "唯一编码",
|
|
59
|
+
style: { "margin-top": "-10px" }
|
|
60
|
+
}, {
|
|
61
|
+
default: withCtx(() => [
|
|
62
|
+
createVNode(_component_el_input, {
|
|
63
|
+
modelValue: __props.configure.uuid,
|
|
64
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.configure.uuid = $event),
|
|
65
|
+
readonly: "",
|
|
66
|
+
title: __props.configure.uuid
|
|
67
|
+
}, null, 8, ["modelValue", "title"])
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
71
|
+
createVNode(_component_el_form_item, {
|
|
72
|
+
label: "自定义编码",
|
|
73
|
+
style: { "margin-top": "-10px" }
|
|
74
|
+
}, {
|
|
75
|
+
default: withCtx(() => [
|
|
76
|
+
createVNode(_component_el_input, {
|
|
77
|
+
modelValue: __props.configure.code,
|
|
78
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.code = $event),
|
|
79
|
+
placeholder: "请输入"
|
|
80
|
+
}, null, 8, ["modelValue"])
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}),
|
|
84
|
+
createVNode(_component_el_form_item, {
|
|
85
|
+
label: "绑定权限",
|
|
86
|
+
style: { "margin-top": "-10px" }
|
|
87
|
+
}, {
|
|
88
|
+
default: withCtx(() => [
|
|
89
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
90
|
+
key: __props.configure.uuid,
|
|
91
|
+
configure: __props.configure
|
|
92
|
+
}, null, 8, ["configure"]))
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
}),
|
|
96
|
+
createVNode(_component_el_form_item, {
|
|
97
|
+
label: "标题",
|
|
98
|
+
style: { "margin-top": "-10px" }
|
|
99
|
+
}, {
|
|
100
|
+
default: withCtx(() => [
|
|
101
|
+
createVNode(_component_el_input, {
|
|
102
|
+
modelValue: __props.configure.props.base.title,
|
|
103
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.base.title = $event),
|
|
104
|
+
placeholder: "请输入"
|
|
105
|
+
}, null, 8, ["modelValue"])
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}),
|
|
109
|
+
createVNode(_component_el_form_item, {
|
|
110
|
+
label: "标题图标",
|
|
111
|
+
style: { "margin-top": "-10px", "margin-bottom": "-15px" }
|
|
112
|
+
}, {
|
|
113
|
+
default: withCtx(() => [
|
|
114
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
115
|
+
key: __props.configure.uuid,
|
|
116
|
+
iconType: __props.configure.props.iconType,
|
|
117
|
+
iconValue: __props.configure.props.iconValue,
|
|
118
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
119
|
+
}, null, 8, ["iconType", "iconValue"]))
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
])
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}),
|
|
127
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
128
|
+
key: __props.configure.uuid,
|
|
129
|
+
size: __props.configure.props.size
|
|
130
|
+
}, null, 8, ["size"]))
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}, 8, ["modelValue"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
export {
|
|
141
|
+
_sfc_main as default
|
|
142
|
+
};
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-style.vue.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode } from "vue";
|
|
2
|
+
import _sfc_main$4 from "../../common/common-style-padding.vue.js";
|
|
3
|
+
import _sfc_main$2 from "../../common/common-style-background.vue.js";
|
|
4
|
+
import _sfc_main$8 from "../../common/common-style-custom.vue.js";
|
|
5
|
+
import _sfc_main$3 from "../../common/common-style-margin.vue.js";
|
|
6
|
+
import _sfc_main$5 from "../../common/common-style-border.vue.js";
|
|
7
|
+
import _sfc_main$6 from "../../common/common-style-shadow.vue.js";
|
|
8
|
+
import _sfc_main$7 from "../../common/common-style-position.vue.js";
|
|
9
|
+
import _sfc_main$1 from "../../common/common-style-font-head.vue.js";
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "separatelabel-attr-style",
|
|
12
|
+
props: {
|
|
13
|
+
configure: Object
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const openCollapseItems = ref(["styleFontHead"]);
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
const _component_el_collapse = resolveComponent("el-collapse");
|
|
19
|
+
const _component_el_form = resolveComponent("el-form");
|
|
20
|
+
return openBlock(), createBlock(_component_el_form, {
|
|
21
|
+
"label-width": "80px",
|
|
22
|
+
size: "small"
|
|
23
|
+
}, {
|
|
24
|
+
default: withCtx(() => [
|
|
25
|
+
createVNode(_component_el_collapse, {
|
|
26
|
+
modelValue: openCollapseItems.value,
|
|
27
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => openCollapseItems.value = $event),
|
|
28
|
+
style: { "margin-top": "6px" }
|
|
29
|
+
}, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
createVNode(_sfc_main$1, {
|
|
32
|
+
configure: __props.configure,
|
|
33
|
+
headerTextAlign: false
|
|
34
|
+
}, null, 8, ["configure"]),
|
|
35
|
+
createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]),
|
|
36
|
+
createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]),
|
|
37
|
+
createVNode(_sfc_main$4, { configure: __props.configure }, null, 8, ["configure"]),
|
|
38
|
+
createVNode(_sfc_main$5, { configure: __props.configure }, null, 8, ["configure"]),
|
|
39
|
+
createVNode(_sfc_main$6, { configure: __props.configure }, null, 8, ["configure"]),
|
|
40
|
+
createVNode(_sfc_main$7, { configure: __props.configure }, null, 8, ["configure"]),
|
|
41
|
+
createVNode(_sfc_main$8, { configure: __props.configure }, null, 8, ["configure"])
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["modelValue"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
_sfc_main as default
|
|
53
|
+
};
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, isRef, createTextVNode, createBlock, createCommentVNode, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
+
import _sfc_main$1 from "./separatelabel-attr-base.vue.js";
|
|
3
|
+
import _sfc_main$2 from "./separatelabel-attr-style.vue.js";
|
|
4
|
+
import _sfc_main$3 from "../../common-attr-events.vue.js";
|
|
5
|
+
import _sfc_main$4 from "./separatelabel-attr-advanced.vue.js";
|
|
6
|
+
const _hoisted_1 = { class: "amb-design-attr-content" };
|
|
7
|
+
const _hoisted_2 = { class: "amb-design-attr-header" };
|
|
8
|
+
const _hoisted_3 = { class: "amb-design-attr-header-type" };
|
|
9
|
+
const _hoisted_4 = { class: "amb-design-attr-list" };
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "separatelabel-attr",
|
|
12
|
+
props: {
|
|
13
|
+
configure: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: {}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
emits: [],
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
if (props.configure.props == void 0) {
|
|
22
|
+
props.configure.props = {};
|
|
23
|
+
}
|
|
24
|
+
if (props.configure.props.title == void 0) {
|
|
25
|
+
props.configure.props.title = "标题";
|
|
26
|
+
}
|
|
27
|
+
let selAsselbyType = ref("base");
|
|
28
|
+
if (props.configure.events == void 0) {
|
|
29
|
+
props.configure.events = [];
|
|
30
|
+
}
|
|
31
|
+
const selEventCount = ref(0);
|
|
32
|
+
caculateSelEventCount();
|
|
33
|
+
function caculateSelEventCount() {
|
|
34
|
+
const allEvents = props.configure.events;
|
|
35
|
+
for (let index = 0; index < allEvents.length; index++) {
|
|
36
|
+
if (allEvents[index].selLogicCode) {
|
|
37
|
+
selEventCount.value++;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
watch(props.configure.events, (newValue) => {
|
|
42
|
+
caculateSelEventCount();
|
|
43
|
+
});
|
|
44
|
+
return (_ctx, _cache) => {
|
|
45
|
+
const _component_el_badge = resolveComponent("el-badge");
|
|
46
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
47
|
+
createElementVNode("div", _hoisted_2, [
|
|
48
|
+
createElementVNode("div", _hoisted_3, [
|
|
49
|
+
createElementVNode("label", {
|
|
50
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "base" }),
|
|
51
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "base" : selAsselbyType = "base")
|
|
52
|
+
}, "属性", 2),
|
|
53
|
+
createElementVNode("label", {
|
|
54
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "style" }),
|
|
55
|
+
onClick: _cache[1] || (_cache[1] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "style" : selAsselbyType = "style")
|
|
56
|
+
}, "样式", 2),
|
|
57
|
+
createElementVNode("label", {
|
|
58
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "event" }),
|
|
59
|
+
onClick: _cache[2] || (_cache[2] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "event" : selAsselbyType = "event")
|
|
60
|
+
}, [
|
|
61
|
+
createTextVNode(" 事件 "),
|
|
62
|
+
selEventCount.value > 0 ? (openBlock(), createBlock(_component_el_badge, {
|
|
63
|
+
key: 0,
|
|
64
|
+
value: selEventCount.value
|
|
65
|
+
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
66
|
+
], 2),
|
|
67
|
+
createElementVNode("label", {
|
|
68
|
+
class: normalizeClass({ selected: unref(selAsselbyType) == "advanced" }),
|
|
69
|
+
onClick: _cache[3] || (_cache[3] = ($event) => isRef(selAsselbyType) ? selAsselbyType.value = "advanced" : selAsselbyType = "advanced")
|
|
70
|
+
}, "高级", 2)
|
|
71
|
+
])
|
|
72
|
+
]),
|
|
73
|
+
createElementVNode("div", _hoisted_4, [
|
|
74
|
+
withDirectives(createVNode(_sfc_main$1, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
75
|
+
[vShow, unref(selAsselbyType) == "base"]
|
|
76
|
+
]),
|
|
77
|
+
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
78
|
+
[vShow, unref(selAsselbyType) == "style"]
|
|
79
|
+
]),
|
|
80
|
+
withDirectives(createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
81
|
+
[vShow, unref(selAsselbyType) == "event"]
|
|
82
|
+
]),
|
|
83
|
+
withDirectives(createVNode(_sfc_main$4, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
84
|
+
[vShow, unref(selAsselbyType) == "advanced"]
|
|
85
|
+
])
|
|
86
|
+
])
|
|
87
|
+
]);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
_sfc_main as default
|
|
93
|
+
};
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import "vue-draggable-plus";
|
|
3
|
+
import "uuid";
|
|
4
|
+
import { caculateComponentStyle } from "../../../../utils/container-design-util.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "separatelabel-design",
|
|
7
|
+
props: {
|
|
8
|
+
pageDesign: {},
|
|
9
|
+
configure: {},
|
|
10
|
+
indexObj: {},
|
|
11
|
+
selectWidget: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const designStyle = ref({});
|
|
16
|
+
const designClass = ref("");
|
|
17
|
+
const designHeaderStyle = ref({});
|
|
18
|
+
caculateThisStyle();
|
|
19
|
+
watch(props.configure.style, () => {
|
|
20
|
+
caculateThisStyle();
|
|
21
|
+
});
|
|
22
|
+
function caculateThisStyle() {
|
|
23
|
+
caculateComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
|
|
24
|
+
if (!props.configure.runtime) {
|
|
25
|
+
props.configure.runtime = {};
|
|
26
|
+
}
|
|
27
|
+
props.configure.runtime.style = designStyle.value;
|
|
28
|
+
props.configure.runtime.class = designClass.value;
|
|
29
|
+
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
30
|
+
}
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
const _component_SuperIcon = resolveComponent("SuperIcon");
|
|
33
|
+
return openBlock(), createElementBlock("div", {
|
|
34
|
+
style: normalizeStyle(designStyle.value),
|
|
35
|
+
class: normalizeClass([designClass.value, "amb-widget-separatelabel"]),
|
|
36
|
+
ref: "thisRef"
|
|
37
|
+
}, [
|
|
38
|
+
createElementVNode("div", {
|
|
39
|
+
class: "label",
|
|
40
|
+
style: normalizeStyle(designHeaderStyle.value)
|
|
41
|
+
}, [
|
|
42
|
+
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (openBlock(), createBlock(_component_SuperIcon, {
|
|
43
|
+
key: 0,
|
|
44
|
+
iconType: _ctx.configure.props.iconType,
|
|
45
|
+
iconValue: _ctx.configure.props.iconValue,
|
|
46
|
+
style: { "margin-right": "2px" }
|
|
47
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
48
|
+
createTextVNode(" " + toDisplayString(_ctx.configure.props.base.title), 1)
|
|
49
|
+
], 4)
|
|
50
|
+
], 6);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
_sfc_main as default
|
|
56
|
+
};
|
|
@@ -99,11 +99,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
99
|
class: "amb-design-attr-item"
|
|
100
100
|
}, {
|
|
101
101
|
default: withCtx(() => [
|
|
102
|
-
|
|
102
|
+
(openBlock(), createBlock(BindVariable, {
|
|
103
|
+
key: __props.configure.uuid,
|
|
103
104
|
modelValue: __props.configure.props.base.prop,
|
|
104
105
|
paramTypes: ["data", "page"],
|
|
105
106
|
"onUpdate:modelValue": afterBindVariable
|
|
106
|
-
}, null, 8, ["modelValue"])
|
|
107
|
+
}, null, 8, ["modelValue"]))
|
|
107
108
|
]),
|
|
108
109
|
_: 1
|
|
109
110
|
}),
|
|
@@ -112,10 +113,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
113
|
class: "amb-design-attr-item"
|
|
113
114
|
}, {
|
|
114
115
|
default: withCtx(() => [
|
|
115
|
-
|
|
116
|
+
(openBlock(), createBlock(BindVariable, {
|
|
117
|
+
key: __props.configure.uuid,
|
|
116
118
|
modelValue: __props.configure.props.base.defaultValue,
|
|
117
119
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
118
|
-
}, null, 8, ["modelValue"])
|
|
120
|
+
}, null, 8, ["modelValue"]))
|
|
119
121
|
]),
|
|
120
122
|
_: 1
|
|
121
123
|
}),
|
|
@@ -124,7 +126,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
126
|
class: "amb-design-attr-item"
|
|
125
127
|
}, {
|
|
126
128
|
default: withCtx(() => [
|
|
127
|
-
|
|
129
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
130
|
+
key: __props.configure.uuid,
|
|
131
|
+
configure: __props.configure
|
|
132
|
+
}, null, 8, ["configure"]))
|
|
128
133
|
]),
|
|
129
134
|
_: 1
|
|
130
135
|
}),
|
|
@@ -348,9 +353,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
348
353
|
]),
|
|
349
354
|
_: 1
|
|
350
355
|
}),
|
|
351
|
-
|
|
356
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
352
357
|
title: "校验",
|
|
353
358
|
name: "verification",
|
|
359
|
+
key: __props.configure.uuid,
|
|
354
360
|
class: "amb-design-attr-group-header"
|
|
355
361
|
}, {
|
|
356
362
|
default: withCtx(() => [
|
|
@@ -403,10 +409,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
403
409
|
])
|
|
404
410
|
]),
|
|
405
411
|
_: 1
|
|
406
|
-
}),
|
|
407
|
-
|
|
412
|
+
})),
|
|
413
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
414
|
+
key: __props.configure.uuid,
|
|
408
415
|
size: __props.configure.props.size
|
|
409
|
-
}, null, 8, ["size"])
|
|
416
|
+
}, null, 8, ["size"]))
|
|
410
417
|
]),
|
|
411
418
|
_: 1
|
|
412
419
|
}, 8, ["modelValue"])
|
|
@@ -94,11 +94,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
94
|
class: "amb-design-attr-item"
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
|
-
|
|
97
|
+
(openBlock(), createBlock(BindVariable, {
|
|
98
|
+
key: __props.configure.uuid,
|
|
98
99
|
modelValue: __props.configure.props.base.prop,
|
|
99
100
|
paramTypes: ["data", "page"],
|
|
100
101
|
"onUpdate:modelValue": afterBindVariable
|
|
101
|
-
}, null, 8, ["modelValue"])
|
|
102
|
+
}, null, 8, ["modelValue"]))
|
|
102
103
|
]),
|
|
103
104
|
_: 1
|
|
104
105
|
}),
|
|
@@ -107,10 +108,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
108
|
class: "amb-design-attr-item"
|
|
108
109
|
}, {
|
|
109
110
|
default: withCtx(() => [
|
|
110
|
-
|
|
111
|
+
(openBlock(), createBlock(BindVariable, {
|
|
112
|
+
key: __props.configure.uuid,
|
|
111
113
|
modelValue: __props.configure.props.base.defaultValue,
|
|
112
114
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
113
|
-
}, null, 8, ["modelValue"])
|
|
115
|
+
}, null, 8, ["modelValue"]))
|
|
114
116
|
]),
|
|
115
117
|
_: 1
|
|
116
118
|
}),
|
|
@@ -119,7 +121,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
121
|
class: "amb-design-attr-item"
|
|
120
122
|
}, {
|
|
121
123
|
default: withCtx(() => [
|
|
122
|
-
|
|
124
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
125
|
+
key: __props.configure.uuid,
|
|
126
|
+
configure: __props.configure
|
|
127
|
+
}, null, 8, ["configure"]))
|
|
123
128
|
]),
|
|
124
129
|
_: 1
|
|
125
130
|
}),
|
|
@@ -313,9 +318,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
313
318
|
]),
|
|
314
319
|
_: 1
|
|
315
320
|
}),
|
|
316
|
-
|
|
321
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
322
|
+
key: __props.configure.uuid,
|
|
317
323
|
size: __props.configure.props.size
|
|
318
|
-
}, null, 8, ["size"])
|
|
324
|
+
}, null, 8, ["size"]))
|
|
319
325
|
]),
|
|
320
326
|
_: 1
|
|
321
327
|
}, 8, ["modelValue"])
|
|
@@ -99,11 +99,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
99
|
class: "amb-design-attr-item"
|
|
100
100
|
}, {
|
|
101
101
|
default: withCtx(() => [
|
|
102
|
-
|
|
102
|
+
(openBlock(), createBlock(BindVariable, {
|
|
103
|
+
key: __props.configure.uuid,
|
|
103
104
|
modelValue: __props.configure.props.base.prop,
|
|
104
105
|
paramTypes: ["data", "page"],
|
|
105
106
|
"onUpdate:modelValue": afterBindVariable
|
|
106
|
-
}, null, 8, ["modelValue"])
|
|
107
|
+
}, null, 8, ["modelValue"]))
|
|
107
108
|
]),
|
|
108
109
|
_: 1
|
|
109
110
|
}),
|
|
@@ -112,10 +113,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
113
|
class: "amb-design-attr-item"
|
|
113
114
|
}, {
|
|
114
115
|
default: withCtx(() => [
|
|
115
|
-
|
|
116
|
+
(openBlock(), createBlock(BindVariable, {
|
|
117
|
+
key: __props.configure.uuid,
|
|
116
118
|
modelValue: __props.configure.props.base.defaultValue,
|
|
117
119
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
118
|
-
}, null, 8, ["modelValue"])
|
|
120
|
+
}, null, 8, ["modelValue"]))
|
|
119
121
|
]),
|
|
120
122
|
_: 1
|
|
121
123
|
}),
|
|
@@ -124,7 +126,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
126
|
class: "amb-design-attr-item"
|
|
125
127
|
}, {
|
|
126
128
|
default: withCtx(() => [
|
|
127
|
-
|
|
129
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
130
|
+
key: __props.configure.uuid,
|
|
131
|
+
configure: __props.configure
|
|
132
|
+
}, null, 8, ["configure"]))
|
|
128
133
|
]),
|
|
129
134
|
_: 1
|
|
130
135
|
}),
|
|
@@ -341,9 +346,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
341
346
|
]),
|
|
342
347
|
_: 1
|
|
343
348
|
}),
|
|
344
|
-
|
|
349
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
345
350
|
title: "校验",
|
|
346
351
|
name: "verification",
|
|
352
|
+
key: __props.configure.uuid,
|
|
347
353
|
class: "amb-design-attr-group-header"
|
|
348
354
|
}, {
|
|
349
355
|
default: withCtx(() => [
|
|
@@ -491,10 +497,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
491
497
|
])
|
|
492
498
|
]),
|
|
493
499
|
_: 1
|
|
494
|
-
}),
|
|
495
|
-
|
|
500
|
+
})),
|
|
501
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
502
|
+
key: __props.configure.uuid,
|
|
496
503
|
size: __props.configure.props.size
|
|
497
|
-
}, null, 8, ["size"])
|
|
504
|
+
}, null, 8, ["size"]))
|
|
498
505
|
]),
|
|
499
506
|
_: 1
|
|
500
507
|
}, 8, ["modelValue"])
|
|
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
batchRemovePermissions(props.pageDesign, props.configure.uuid);
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
-
if (props.configure.
|
|
81
|
+
if (props.configure.props.linkPage && props.pageDesign) {
|
|
82
82
|
watch(
|
|
83
83
|
props.configure.props.linkPage,
|
|
84
84
|
(newVal) => {
|
|
@@ -103,6 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
if (!props.configure.runtime) {
|
|
104
104
|
props.configure.runtime = {};
|
|
105
105
|
}
|
|
106
|
+
console.log("%c描述-183859", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.runtime.customParams);
|
|
106
107
|
props.configure.runtime.customParams = customParams;
|
|
107
108
|
},
|
|
108
109
|
{ immediate: true }
|
|
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
close: (...args: any[]) => void;
|
|
12
12
|
open: (...args: any[]) => void;
|
|
13
|
-
closed: (...args: any[]) => void;
|
|
14
13
|
opend: (...args: any[]) => void;
|
|
14
|
+
closed: (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
code: {
|
|
17
17
|
type: StringConstructor;
|
|
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
24
|
}>> & {
|
|
25
25
|
onClose?: (...args: any[]) => any;
|
|
26
26
|
onOpen?: (...args: any[]) => any;
|
|
27
|
-
onClosed?: (...args: any[]) => any;
|
|
28
27
|
onOpend?: (...args: any[]) => any;
|
|
28
|
+
onClosed?: (...args: any[]) => any;
|
|
29
29
|
}, {
|
|
30
30
|
code: string;
|
|
31
31
|
rowId: number;
|
package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js
CHANGED
|
@@ -54,13 +54,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
settingFormNoRuleBase.value.publishVersion = getPublishVersion();
|
|
55
55
|
});
|
|
56
56
|
function create(data) {
|
|
57
|
-
return http.post("/mms/setting-form-rule-base", data);
|
|
57
|
+
return http.post(window["$vueApp"].config.globalProperties.baseAPI + "/mms/setting-form-rule-base", data);
|
|
58
58
|
}
|
|
59
59
|
function update(id, data) {
|
|
60
|
-
return http.put(`/mms/setting-form-rule-base/${id}`);
|
|
60
|
+
return http.put(window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${id}`);
|
|
61
61
|
}
|
|
62
62
|
function preview(data) {
|
|
63
|
-
return http.post("/mms/setting-form-rule-base/preview", data);
|
|
63
|
+
return http.post(window["$vueApp"].config.globalProperties.baseAPI + "/mms/setting-form-rule-base/preview", data);
|
|
64
64
|
}
|
|
65
65
|
function previewFormNun() {
|
|
66
66
|
preview(settingFormNoRuleBase.value).then((data) => {
|