super-page-designer 2.0.61 → 2.0.70
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/design/utils/form-design-util.js +6 -0
- package/dist/es/components/design/utils/page-table-util.js +17 -14
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +702 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -702
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- 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 +10 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- 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 +9 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +217 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue3.js +1 -217
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +27 -8
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +2 -2
- package/dist/es/stores/table-store.js +3 -1
- package/dist/es/style.css +74 -66
- package/package.json +4 -4
|
@@ -1 +1,217 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent, ref, reactive, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode, renderList, normalizeClass, createBlock, resolveDynamicComponent, toDisplayString, pushScopeId, popScopeId } from "vue";
|
|
2
|
+
import { Search, Plus, ChatLineRound, Unlock, MuteNotification, Operation, WarningFilled } from "@element-plus/icons-vue";
|
|
3
|
+
const _withScopeId = (n) => (pushScopeId("data-v-4aa5ce08"), n = n(), popScopeId(), n);
|
|
4
|
+
const _hoisted_1 = { class: "icon-set-center-body" };
|
|
5
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "新建", -1));
|
|
6
|
+
const _hoisted_3 = ["onClick"];
|
|
7
|
+
const _hoisted_4 = { class: "dialog-footer" };
|
|
8
|
+
const _hoisted_5 = { class: "dialog-footer" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "icon-set-dialog",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emit = __emit;
|
|
21
|
+
const iconValue = ref(props.modelValue);
|
|
22
|
+
const dialogVisible = ref(false);
|
|
23
|
+
const selectIconName = ref("");
|
|
24
|
+
const addIconDialogVisible = ref(false);
|
|
25
|
+
const form = reactive({});
|
|
26
|
+
const iconList = [
|
|
27
|
+
{ name: "ChatLineRound", icon: ChatLineRound },
|
|
28
|
+
{ name: "Unlock", icon: Unlock },
|
|
29
|
+
{ name: "MuteNotification", icon: MuteNotification },
|
|
30
|
+
{ name: "Operation", icon: Operation },
|
|
31
|
+
{ name: "WarningFilled", icon: WarningFilled }
|
|
32
|
+
];
|
|
33
|
+
watch(() => props.modelValue, (newVal) => {
|
|
34
|
+
iconValue.value = newVal;
|
|
35
|
+
});
|
|
36
|
+
function selectIcon(name) {
|
|
37
|
+
selectIconName.value = name;
|
|
38
|
+
}
|
|
39
|
+
function openDialog() {
|
|
40
|
+
dialogVisible.value = true;
|
|
41
|
+
}
|
|
42
|
+
function addIcon() {
|
|
43
|
+
console.log("%c描述-105701", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", selectIconName.value);
|
|
44
|
+
emit("update:modelValue", selectIconName.value);
|
|
45
|
+
dialogVisible.value = false;
|
|
46
|
+
}
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
const _component_el_button = resolveComponent("el-button");
|
|
49
|
+
const _component_el_input = resolveComponent("el-input");
|
|
50
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
51
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
52
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
53
|
+
const _component_el_option = resolveComponent("el-option");
|
|
54
|
+
const _component_el_select = resolveComponent("el-select");
|
|
55
|
+
const _component_el_form = resolveComponent("el-form");
|
|
56
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
|
+
createVNode(_component_el_input, {
|
|
58
|
+
modelValue: iconValue.value,
|
|
59
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => iconValue.value = $event),
|
|
60
|
+
onClick: openDialog
|
|
61
|
+
}, {
|
|
62
|
+
append: withCtx(() => [
|
|
63
|
+
createVNode(_component_el_button, {
|
|
64
|
+
icon: unref(Search),
|
|
65
|
+
onClick: openDialog
|
|
66
|
+
}, null, 8, ["icon"])
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, ["modelValue"]),
|
|
70
|
+
createVNode(_component_el_dialog, {
|
|
71
|
+
modelValue: dialogVisible.value,
|
|
72
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
|
|
73
|
+
title: "选择icon",
|
|
74
|
+
width: "40%"
|
|
75
|
+
}, {
|
|
76
|
+
footer: withCtx(() => [
|
|
77
|
+
createElementVNode("div", _hoisted_4, [
|
|
78
|
+
createVNode(_component_el_button, {
|
|
79
|
+
onClick: _cache[2] || (_cache[2] = ($event) => dialogVisible.value = false)
|
|
80
|
+
}, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
createTextVNode("取消")
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}),
|
|
86
|
+
createVNode(_component_el_button, {
|
|
87
|
+
type: "primary",
|
|
88
|
+
onClick: addIcon
|
|
89
|
+
}, {
|
|
90
|
+
default: withCtx(() => [
|
|
91
|
+
createTextVNode(" 确定 ")
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
})
|
|
95
|
+
])
|
|
96
|
+
]),
|
|
97
|
+
default: withCtx(() => [
|
|
98
|
+
createElementVNode("div", _hoisted_1, [
|
|
99
|
+
createElementVNode("div", {
|
|
100
|
+
class: "icon-set-center-creation",
|
|
101
|
+
onClick: _cache[1] || (_cache[1] = ($event) => addIconDialogVisible.value = true)
|
|
102
|
+
}, [
|
|
103
|
+
createVNode(_component_el_icon, null, {
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
createVNode(unref(Plus))
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}),
|
|
109
|
+
_hoisted_2
|
|
110
|
+
]),
|
|
111
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(iconList, (item, index) => {
|
|
112
|
+
return createElementVNode("div", {
|
|
113
|
+
key: index,
|
|
114
|
+
class: normalizeClass(selectIconName.value === item.name ? "icon-set-center-item icon-set-center-item-border" : "icon-set-center-item"),
|
|
115
|
+
onClick: ($event) => selectIcon(item.name)
|
|
116
|
+
}, [
|
|
117
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { style: { "width": "40px", "height": "40px" } })),
|
|
118
|
+
createElementVNode("span", null, toDisplayString(item.name), 1)
|
|
119
|
+
], 10, _hoisted_3);
|
|
120
|
+
}), 64))
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["modelValue"]),
|
|
125
|
+
createVNode(_component_el_dialog, {
|
|
126
|
+
modelValue: addIconDialogVisible.value,
|
|
127
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => addIconDialogVisible.value = $event),
|
|
128
|
+
title: "创建icon",
|
|
129
|
+
width: "30%"
|
|
130
|
+
}, {
|
|
131
|
+
footer: withCtx(() => [
|
|
132
|
+
createElementVNode("div", _hoisted_5, [
|
|
133
|
+
createVNode(_component_el_button, {
|
|
134
|
+
onClick: _cache[7] || (_cache[7] = ($event) => addIconDialogVisible.value = false)
|
|
135
|
+
}, {
|
|
136
|
+
default: withCtx(() => [
|
|
137
|
+
createTextVNode("取消")
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}),
|
|
141
|
+
createVNode(_component_el_button, {
|
|
142
|
+
type: "primary",
|
|
143
|
+
onClick: _cache[8] || (_cache[8] = ($event) => addIconDialogVisible.value = false)
|
|
144
|
+
}, {
|
|
145
|
+
default: withCtx(() => [
|
|
146
|
+
createTextVNode(" 确定 ")
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
})
|
|
150
|
+
])
|
|
151
|
+
]),
|
|
152
|
+
default: withCtx(() => [
|
|
153
|
+
createVNode(_component_el_form, {
|
|
154
|
+
model: form,
|
|
155
|
+
"label-width": "80px"
|
|
156
|
+
}, {
|
|
157
|
+
default: withCtx(() => [
|
|
158
|
+
createVNode(_component_el_form_item, {
|
|
159
|
+
label: "类名",
|
|
160
|
+
prop: "name",
|
|
161
|
+
rules: [{ required: true, message: "请输入类名", trigger: "blur" }]
|
|
162
|
+
}, {
|
|
163
|
+
default: withCtx(() => [
|
|
164
|
+
createVNode(_component_el_input, {
|
|
165
|
+
size: "default",
|
|
166
|
+
modelValue: form.name,
|
|
167
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.name = $event)
|
|
168
|
+
}, null, 8, ["modelValue"])
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}),
|
|
172
|
+
createVNode(_component_el_form_item, { label: "标准按钮" }, {
|
|
173
|
+
default: withCtx(() => [
|
|
174
|
+
createVNode(_component_el_select, {
|
|
175
|
+
size: "default",
|
|
176
|
+
modelValue: form.region,
|
|
177
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.region = $event),
|
|
178
|
+
placeholder: "please select your zone"
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [
|
|
181
|
+
createVNode(_component_el_option, {
|
|
182
|
+
label: "Zone one",
|
|
183
|
+
value: "shanghai"
|
|
184
|
+
}),
|
|
185
|
+
createVNode(_component_el_option, {
|
|
186
|
+
label: "Zone two",
|
|
187
|
+
value: "beijing"
|
|
188
|
+
})
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["modelValue"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}),
|
|
195
|
+
createVNode(_component_el_form_item, { label: "备注" }, {
|
|
196
|
+
default: withCtx(() => [
|
|
197
|
+
createVNode(_component_el_input, {
|
|
198
|
+
size: "default",
|
|
199
|
+
modelValue: form.name,
|
|
200
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.name = $event)
|
|
201
|
+
}, null, 8, ["modelValue"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["model"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["modelValue"])
|
|
211
|
+
], 64);
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
export {
|
|
216
|
+
_sfc_main as default
|
|
217
|
+
};
|
|
@@ -1,217 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Search, Plus, ChatLineRound, Unlock, MuteNotification, Operation, WarningFilled } from "@element-plus/icons-vue";
|
|
3
|
-
const _withScopeId = (n) => (pushScopeId("data-v-4aa5ce08"), n = n(), popScopeId(), n);
|
|
4
|
-
const _hoisted_1 = { class: "icon-set-center-body" };
|
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "新建", -1));
|
|
6
|
-
const _hoisted_3 = ["onClick"];
|
|
7
|
-
const _hoisted_4 = { class: "dialog-footer" };
|
|
8
|
-
const _hoisted_5 = { class: "dialog-footer" };
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "icon-set-dialog",
|
|
11
|
-
props: {
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: ""
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:modelValue"],
|
|
18
|
-
setup(__props, { emit: __emit }) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const emit = __emit;
|
|
21
|
-
const iconValue = ref(props.modelValue);
|
|
22
|
-
const dialogVisible = ref(false);
|
|
23
|
-
const selectIconName = ref("");
|
|
24
|
-
const addIconDialogVisible = ref(false);
|
|
25
|
-
const form = reactive({});
|
|
26
|
-
const iconList = [
|
|
27
|
-
{ name: "ChatLineRound", icon: ChatLineRound },
|
|
28
|
-
{ name: "Unlock", icon: Unlock },
|
|
29
|
-
{ name: "MuteNotification", icon: MuteNotification },
|
|
30
|
-
{ name: "Operation", icon: Operation },
|
|
31
|
-
{ name: "WarningFilled", icon: WarningFilled }
|
|
32
|
-
];
|
|
33
|
-
watch(() => props.modelValue, (newVal) => {
|
|
34
|
-
iconValue.value = newVal;
|
|
35
|
-
});
|
|
36
|
-
function selectIcon(name) {
|
|
37
|
-
selectIconName.value = name;
|
|
38
|
-
}
|
|
39
|
-
function openDialog() {
|
|
40
|
-
dialogVisible.value = true;
|
|
41
|
-
}
|
|
42
|
-
function addIcon() {
|
|
43
|
-
console.log("%c描述-105701", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", selectIconName.value);
|
|
44
|
-
emit("update:modelValue", selectIconName.value);
|
|
45
|
-
dialogVisible.value = false;
|
|
46
|
-
}
|
|
47
|
-
return (_ctx, _cache) => {
|
|
48
|
-
const _component_el_button = resolveComponent("el-button");
|
|
49
|
-
const _component_el_input = resolveComponent("el-input");
|
|
50
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
51
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
52
|
-
const _component_el_form_item = resolveComponent("el-form-item");
|
|
53
|
-
const _component_el_option = resolveComponent("el-option");
|
|
54
|
-
const _component_el_select = resolveComponent("el-select");
|
|
55
|
-
const _component_el_form = resolveComponent("el-form");
|
|
56
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
|
-
createVNode(_component_el_input, {
|
|
58
|
-
modelValue: iconValue.value,
|
|
59
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => iconValue.value = $event),
|
|
60
|
-
onClick: openDialog
|
|
61
|
-
}, {
|
|
62
|
-
append: withCtx(() => [
|
|
63
|
-
createVNode(_component_el_button, {
|
|
64
|
-
icon: unref(Search),
|
|
65
|
-
onClick: openDialog
|
|
66
|
-
}, null, 8, ["icon"])
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 8, ["modelValue"]),
|
|
70
|
-
createVNode(_component_el_dialog, {
|
|
71
|
-
modelValue: dialogVisible.value,
|
|
72
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
|
|
73
|
-
title: "选择icon",
|
|
74
|
-
width: "40%"
|
|
75
|
-
}, {
|
|
76
|
-
footer: withCtx(() => [
|
|
77
|
-
createElementVNode("div", _hoisted_4, [
|
|
78
|
-
createVNode(_component_el_button, {
|
|
79
|
-
onClick: _cache[2] || (_cache[2] = ($event) => dialogVisible.value = false)
|
|
80
|
-
}, {
|
|
81
|
-
default: withCtx(() => [
|
|
82
|
-
createTextVNode("取消")
|
|
83
|
-
]),
|
|
84
|
-
_: 1
|
|
85
|
-
}),
|
|
86
|
-
createVNode(_component_el_button, {
|
|
87
|
-
type: "primary",
|
|
88
|
-
onClick: addIcon
|
|
89
|
-
}, {
|
|
90
|
-
default: withCtx(() => [
|
|
91
|
-
createTextVNode(" 确定 ")
|
|
92
|
-
]),
|
|
93
|
-
_: 1
|
|
94
|
-
})
|
|
95
|
-
])
|
|
96
|
-
]),
|
|
97
|
-
default: withCtx(() => [
|
|
98
|
-
createElementVNode("div", _hoisted_1, [
|
|
99
|
-
createElementVNode("div", {
|
|
100
|
-
class: "icon-set-center-creation",
|
|
101
|
-
onClick: _cache[1] || (_cache[1] = ($event) => addIconDialogVisible.value = true)
|
|
102
|
-
}, [
|
|
103
|
-
createVNode(_component_el_icon, null, {
|
|
104
|
-
default: withCtx(() => [
|
|
105
|
-
createVNode(unref(Plus))
|
|
106
|
-
]),
|
|
107
|
-
_: 1
|
|
108
|
-
}),
|
|
109
|
-
_hoisted_2
|
|
110
|
-
]),
|
|
111
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(iconList, (item, index) => {
|
|
112
|
-
return createElementVNode("div", {
|
|
113
|
-
key: index,
|
|
114
|
-
class: normalizeClass(selectIconName.value === item.name ? "icon-set-center-item icon-set-center-item-border" : "icon-set-center-item"),
|
|
115
|
-
onClick: ($event) => selectIcon(item.name)
|
|
116
|
-
}, [
|
|
117
|
-
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { style: { "width": "40px", "height": "40px" } })),
|
|
118
|
-
createElementVNode("span", null, toDisplayString(item.name), 1)
|
|
119
|
-
], 10, _hoisted_3);
|
|
120
|
-
}), 64))
|
|
121
|
-
])
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, ["modelValue"]),
|
|
125
|
-
createVNode(_component_el_dialog, {
|
|
126
|
-
modelValue: addIconDialogVisible.value,
|
|
127
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => addIconDialogVisible.value = $event),
|
|
128
|
-
title: "创建icon",
|
|
129
|
-
width: "30%"
|
|
130
|
-
}, {
|
|
131
|
-
footer: withCtx(() => [
|
|
132
|
-
createElementVNode("div", _hoisted_5, [
|
|
133
|
-
createVNode(_component_el_button, {
|
|
134
|
-
onClick: _cache[7] || (_cache[7] = ($event) => addIconDialogVisible.value = false)
|
|
135
|
-
}, {
|
|
136
|
-
default: withCtx(() => [
|
|
137
|
-
createTextVNode("取消")
|
|
138
|
-
]),
|
|
139
|
-
_: 1
|
|
140
|
-
}),
|
|
141
|
-
createVNode(_component_el_button, {
|
|
142
|
-
type: "primary",
|
|
143
|
-
onClick: _cache[8] || (_cache[8] = ($event) => addIconDialogVisible.value = false)
|
|
144
|
-
}, {
|
|
145
|
-
default: withCtx(() => [
|
|
146
|
-
createTextVNode(" 确定 ")
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
})
|
|
150
|
-
])
|
|
151
|
-
]),
|
|
152
|
-
default: withCtx(() => [
|
|
153
|
-
createVNode(_component_el_form, {
|
|
154
|
-
model: form,
|
|
155
|
-
"label-width": "80px"
|
|
156
|
-
}, {
|
|
157
|
-
default: withCtx(() => [
|
|
158
|
-
createVNode(_component_el_form_item, {
|
|
159
|
-
label: "类名",
|
|
160
|
-
prop: "name",
|
|
161
|
-
rules: [{ required: true, message: "请输入类名", trigger: "blur" }]
|
|
162
|
-
}, {
|
|
163
|
-
default: withCtx(() => [
|
|
164
|
-
createVNode(_component_el_input, {
|
|
165
|
-
size: "default",
|
|
166
|
-
modelValue: form.name,
|
|
167
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.name = $event)
|
|
168
|
-
}, null, 8, ["modelValue"])
|
|
169
|
-
]),
|
|
170
|
-
_: 1
|
|
171
|
-
}),
|
|
172
|
-
createVNode(_component_el_form_item, { label: "标准按钮" }, {
|
|
173
|
-
default: withCtx(() => [
|
|
174
|
-
createVNode(_component_el_select, {
|
|
175
|
-
size: "default",
|
|
176
|
-
modelValue: form.region,
|
|
177
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.region = $event),
|
|
178
|
-
placeholder: "please select your zone"
|
|
179
|
-
}, {
|
|
180
|
-
default: withCtx(() => [
|
|
181
|
-
createVNode(_component_el_option, {
|
|
182
|
-
label: "Zone one",
|
|
183
|
-
value: "shanghai"
|
|
184
|
-
}),
|
|
185
|
-
createVNode(_component_el_option, {
|
|
186
|
-
label: "Zone two",
|
|
187
|
-
value: "beijing"
|
|
188
|
-
})
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
}, 8, ["modelValue"])
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
}),
|
|
195
|
-
createVNode(_component_el_form_item, { label: "备注" }, {
|
|
196
|
-
default: withCtx(() => [
|
|
197
|
-
createVNode(_component_el_input, {
|
|
198
|
-
size: "default",
|
|
199
|
-
modelValue: form.name,
|
|
200
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.name = $event)
|
|
201
|
-
}, null, 8, ["modelValue"])
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
})
|
|
205
|
-
]),
|
|
206
|
-
_: 1
|
|
207
|
-
}, 8, ["model"])
|
|
208
|
-
]),
|
|
209
|
-
_: 1
|
|
210
|
-
}, 8, ["modelValue"])
|
|
211
|
-
], 64);
|
|
212
|
-
};
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
export {
|
|
216
|
-
_sfc_main as default
|
|
217
|
-
};
|
|
1
|
+
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, withModifiers, unref, renderList, withDirectives, vShow, createBlock, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { Search, Close } from "@element-plus/icons";
|
|
3
|
-
import _sfc_main$
|
|
4
|
-
import _sfc_main$
|
|
5
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$4 from "./linkpage-page-callback.vue.js";
|
|
4
|
+
import _sfc_main$5 from "../../common/common-select-page.vue.js";
|
|
5
|
+
import _sfc_main$3 from "./parameter-table.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "./condition.vue.js";
|
|
8
|
+
import _sfc_main$2 from "../../common/common-icon-bind.vue.js";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "suffixmodule",
|
|
10
11
|
props: {
|
|
@@ -104,6 +105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
104
105
|
function handleClose(tag, index) {
|
|
105
106
|
linkPage.value.dynamicTags.splice(index, 1);
|
|
106
107
|
}
|
|
108
|
+
function afterBindIcon(iconType, iconValue) {
|
|
109
|
+
linkPage.value.iconType = iconType;
|
|
110
|
+
linkPage.value.icon = iconValue;
|
|
111
|
+
}
|
|
107
112
|
return (_ctx, _cache) => {
|
|
108
113
|
const _component_el_radio = resolveComponent("el-radio");
|
|
109
114
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -445,6 +450,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
450
|
})) : createCommentVNode("", true),
|
|
446
451
|
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
447
452
|
key: 2,
|
|
453
|
+
label: "图标",
|
|
454
|
+
class: "amb-design-attr-item"
|
|
455
|
+
}, {
|
|
456
|
+
default: withCtx(() => [
|
|
457
|
+
createVNode(_sfc_main$2, {
|
|
458
|
+
iconType: linkPage.value.iconType,
|
|
459
|
+
iconValue: linkPage.value.icon,
|
|
460
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
461
|
+
}, null, 8, ["iconType", "iconValue"])
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
})) : createCommentVNode("", true),
|
|
465
|
+
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
466
|
+
key: 3,
|
|
448
467
|
label: "显示值",
|
|
449
468
|
class: "amb-design-attr-item"
|
|
450
469
|
}, {
|
|
@@ -476,24 +495,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
476
495
|
_: 1
|
|
477
496
|
}),
|
|
478
497
|
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
479
|
-
key:
|
|
498
|
+
key: 4,
|
|
480
499
|
label: "自动拼接id",
|
|
481
500
|
class: "amb-design-attr-item"
|
|
482
501
|
}, {
|
|
483
502
|
default: withCtx(() => [
|
|
484
503
|
createVNode(_component_el_switch, {
|
|
485
504
|
modelValue: linkPage.value.isNeedId,
|
|
486
|
-
"onUpdate:modelValue": _cache[
|
|
505
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => linkPage.value.isNeedId = $event)
|
|
487
506
|
}, null, 8, ["modelValue"])
|
|
488
507
|
]),
|
|
489
508
|
_: 1
|
|
490
509
|
})) : createCommentVNode("", true),
|
|
491
|
-
createVNode(_sfc_main$
|
|
510
|
+
createVNode(_sfc_main$3, {
|
|
492
511
|
data: linkPage.value.jumpPageAdditional,
|
|
493
512
|
onDataChange: ParameterDataChange
|
|
494
513
|
}, null, 8, ["data"]),
|
|
495
|
-
createVNode(_sfc_main$
|
|
496
|
-
createVNode(_sfc_main$
|
|
514
|
+
createVNode(_sfc_main$4, { linkPage: linkPage.value }, null, 8, ["linkPage"]),
|
|
515
|
+
createVNode(_sfc_main$5, {
|
|
497
516
|
ref_key: "selectPageDialog",
|
|
498
517
|
ref: selectPageDialog,
|
|
499
518
|
onSelectPage,
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js
CHANGED
|
@@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
"range-separator": "-",
|
|
109
109
|
clearable: designProperty.value.clearable,
|
|
110
110
|
disabled: designProperty.value.state === "disabled",
|
|
111
|
-
readonly:
|
|
111
|
+
readonly: "",
|
|
112
112
|
size: designProperty.value.size,
|
|
113
113
|
style: { "width": "100%" },
|
|
114
114
|
placeholder: designProperty.value.placeholder,
|
|
@@ -119,11 +119,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
119
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => designProperty.value.value = $event),
|
|
120
120
|
shortcuts: shortCuts.value,
|
|
121
121
|
type: designProperty.value.dateType
|
|
122
|
-
}, null, 8, ["is-range", "clearable", "disabled", "
|
|
122
|
+
}, null, 8, ["is-range", "clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
|
|
123
123
|
key: 1,
|
|
124
124
|
clearable: designProperty.value.clearable,
|
|
125
125
|
disabled: designProperty.value.state === "disabled",
|
|
126
|
-
readonly:
|
|
126
|
+
readonly: "",
|
|
127
127
|
size: designProperty.value.size,
|
|
128
128
|
style: { "width": "100%" },
|
|
129
129
|
placeholder: designProperty.value.placeholder,
|
|
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => designProperty.value.value = $event),
|
|
135
135
|
shortcuts: shortCuts.value,
|
|
136
136
|
type: designProperty.value.dateType
|
|
137
|
-
}, null, 8, ["clearable", "disabled", "
|
|
137
|
+
}, null, 8, ["clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
|
|
138
138
|
]),
|
|
139
139
|
_: 1
|
|
140
140
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -26,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
props.configure.props.base.otherFieldSets = [];
|
|
27
27
|
}
|
|
28
28
|
const propsBase = props.configure.props.base;
|
|
29
|
-
console.log("%c描述-175029", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.isTable);
|
|
30
29
|
const otherFieldSets = propsBase.otherFieldSets;
|
|
31
30
|
if (otherFieldSets.length == 0) {
|
|
32
31
|
addData(null);
|
|
@@ -106,6 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
value: tempModels.value.value,
|
|
107
107
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => tempModels.value.value = $event),
|
|
108
108
|
models: tempModels.value,
|
|
109
|
+
openTree: false,
|
|
109
110
|
fields: [],
|
|
110
111
|
placeholder: "请选择",
|
|
111
112
|
separator: ",",
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -89,6 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
"file-list": _ctx.fileList,
|
|
90
90
|
"on-success": _ctx.onSuccess,
|
|
91
91
|
"on-remove": _ctx.onRemove,
|
|
92
|
+
openFsUpload: false,
|
|
92
93
|
"before-upload": _ctx.beforeUpload
|
|
93
94
|
}, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])
|
|
94
95
|
]),
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
default: withCtx(() => [
|
|
86
86
|
createVNode(_component_el_input_number, {
|
|
87
87
|
disabled: designProperty.value.state === "disabled",
|
|
88
|
-
readonly:
|
|
88
|
+
readonly: "",
|
|
89
89
|
controls: designProperty.value.showButton,
|
|
90
90
|
size: designProperty.value.size,
|
|
91
91
|
placeholder: designProperty.value.placeholder,
|
|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
step: designProperty.value.step,
|
|
96
96
|
min: designProperty.value.min,
|
|
97
97
|
max: designProperty.value.max
|
|
98
|
-
}, null, 8, ["disabled", "
|
|
98
|
+
}, null, 8, ["disabled", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
|
|
99
99
|
]),
|
|
100
100
|
_: 1
|
|
101
101
|
}, 8, ["required", "class", "label-width", "style"])
|
|
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
default: withCtx(() => [
|
|
83
83
|
createVNode(_component_el_input, {
|
|
84
84
|
disabled: designProperty.value.state === "disabled",
|
|
85
|
-
readonly:
|
|
85
|
+
readonly: "",
|
|
86
86
|
size: designProperty.value.size,
|
|
87
87
|
clearable: designProperty.value.clearable,
|
|
88
88
|
placeholder: designProperty.value.placeholder,
|
|
@@ -139,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
139
|
]),
|
|
140
140
|
key: "3"
|
|
141
141
|
} : void 0
|
|
142
|
-
]), 1032, ["disabled", "
|
|
142
|
+
]), 1032, ["disabled", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
|
|
143
143
|
]),
|
|
144
144
|
_: 1
|
|
145
145
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
createVNode(_component_el_select, {
|
|
108
108
|
ref_key: "thisRef",
|
|
109
109
|
ref: thisRef,
|
|
110
|
-
disabled:
|
|
110
|
+
disabled: "",
|
|
111
111
|
size: designProperty.value.size,
|
|
112
112
|
clearable: designProperty.value.clearable,
|
|
113
113
|
multiple: designProperty.value.multiple,
|
|
@@ -130,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
130
|
}), 128))
|
|
131
131
|
]),
|
|
132
132
|
_: 1
|
|
133
|
-
}, 8, ["
|
|
133
|
+
}, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|