super-page-designer 2.0.26 → 2.0.31
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/images/data/barcode.png.js +4 -0
- package/dist/es/assets/images/workflow/workflow-history-img.png.js +4 -0
- package/dist/es/components/design/utils/assemblys-config.js +115 -19
- package/dist/es/components/design/utils/data-table-util.js +14 -5
- package/dist/es/components/design/utils/form-design-util.js +3 -2
- package/dist/es/components/design/utils/page-design-util.d.ts +2 -2
- package/dist/es/components/design/utils/page-design-util.js +6 -13
- package/dist/es/components/design/utils/page-event-util.js +21 -0
- package/dist/es/components/design/utils/page-table-util.js +61 -32
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +19 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +3 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +4 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +11 -4
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +52 -66
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +188 -0
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +228 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +706 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-event.vue.js +33 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-event.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-style.vue.js +50 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue.js +5 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue2.js +80 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +91 -0
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.d.ts +16 -9
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +7 -3
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +19 -92
- package/dist/es/components/design/views/assemblys/data/component/attr-style.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +8 -22
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +449 -146
- 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 +34 -27
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +260 -225
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +2 -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 +13 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +10 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +557 -132
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-event.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +45 -58
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue2.js +12 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +17 -18
- 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 +12 -7
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue2.js +5 -1
- 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 +1 -1
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +28 -2
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +88 -42
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +33 -21
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +20 -14
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +57 -46
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +47 -9
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +44 -23
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +21 -13
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +13 -7
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +18 -23
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +8 -3
- 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 +20 -11
- 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-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -5
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +5 -3
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +14 -3
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.d.ts +0 -9
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +2 -10
- package/dist/es/components/design/views/design/page-design.vue.js +35 -41
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -8
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue2.js +3 -2
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +101 -98
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -2
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +936 -154
- package/package.json +5 -5
- package/dist/es/assets/images/workflow/workflow-history.png.js +0 -4
- package/dist/es/components/design/utils/system.d.ts +0 -6
- package/dist/es/components/design/utils/system.js +0 -26
- package/dist/es/components/design/views/assemblys/data/component/in-parameter.vue.js +0 -121
- package/dist/es/components/design/views/assemblys/data/component/in-parameter.vue2.js +0 -4
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue2.js +0 -75
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue3.js +0 -5
- package/dist/es/components/design/views/assemblys/form/common/linkage.vue.js +0 -54
- package/dist/es/components/design/views/assemblys/form/common/linkage.vue2.js +0 -4
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$3 from "../../common/common-attr-size.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../common/uploading.vue.js";
|
|
@@ -24,6 +24,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
props.configure.props.uploadConfig = {};
|
|
25
25
|
}
|
|
26
26
|
const openCollapseItems = ref(["base"]);
|
|
27
|
+
const isTable = ref(false);
|
|
28
|
+
if (props.configure.isTable) {
|
|
29
|
+
isTable.value = true;
|
|
30
|
+
}
|
|
27
31
|
function afterBindVariable(modelValue, fieldName) {
|
|
28
32
|
if (fieldName == "prop") {
|
|
29
33
|
props.configure.props.base.prop = modelValue;
|
|
@@ -40,6 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
44
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
41
45
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
42
46
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
47
|
+
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
43
48
|
const _component_el_text = resolveComponent("el-text");
|
|
44
49
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
45
50
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -130,7 +135,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
135
|
]),
|
|
131
136
|
_: 1
|
|
132
137
|
}),
|
|
133
|
-
|
|
138
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
139
|
+
key: 0,
|
|
134
140
|
label: "绑定权限",
|
|
135
141
|
class: "amb-design-attr-item"
|
|
136
142
|
}, {
|
|
@@ -141,8 +147,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
147
|
}, null, 8, ["configure"]))
|
|
142
148
|
]),
|
|
143
149
|
_: 1
|
|
144
|
-
}),
|
|
145
|
-
|
|
150
|
+
})) : createCommentVNode("", true),
|
|
151
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
152
|
+
key: 1,
|
|
146
153
|
label: "标题显示",
|
|
147
154
|
class: "amb-design-attr-item"
|
|
148
155
|
}, {
|
|
@@ -170,8 +177,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
177
|
}, 8, ["modelValue"])
|
|
171
178
|
]),
|
|
172
179
|
_: 1
|
|
173
|
-
}),
|
|
174
|
-
createVNode(_component_el_form_item, {
|
|
180
|
+
})) : createCommentVNode("", true),
|
|
181
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
175
182
|
label: "标题",
|
|
176
183
|
class: "amb-design-attr-item"
|
|
177
184
|
}, {
|
|
@@ -183,7 +190,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
183
190
|
}, null, 8, ["modelValue"])
|
|
184
191
|
]),
|
|
185
192
|
_: 1
|
|
186
|
-
}),
|
|
193
|
+
}, 512), [
|
|
194
|
+
[vShow, __props.configure.props.base.tittleShow]
|
|
195
|
+
]),
|
|
187
196
|
withDirectives(createVNode(_component_el_form_item, {
|
|
188
197
|
label: "标题宽度",
|
|
189
198
|
class: "amb-design-attr-item"
|
|
@@ -252,6 +261,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
252
261
|
uploadConfig: __props.configure.props.uploadConfig
|
|
253
262
|
}, {
|
|
254
263
|
addition: withCtx((scope) => [
|
|
264
|
+
createVNode(_component_el_form_item, {
|
|
265
|
+
label: "上传方式",
|
|
266
|
+
class: "amb-design-attr-item"
|
|
267
|
+
}, {
|
|
268
|
+
default: withCtx(() => [
|
|
269
|
+
createVNode(_component_el_radio_group, {
|
|
270
|
+
modelValue: scope.row.displayType,
|
|
271
|
+
"onUpdate:modelValue": ($event) => scope.row.displayType = $event,
|
|
272
|
+
size: "small"
|
|
273
|
+
}, {
|
|
274
|
+
default: withCtx(() => [
|
|
275
|
+
createVNode(_component_el_radio_button, {
|
|
276
|
+
label: "输入框",
|
|
277
|
+
value: "input"
|
|
278
|
+
}),
|
|
279
|
+
createVNode(_component_el_radio_button, {
|
|
280
|
+
label: "按钮",
|
|
281
|
+
value: "button"
|
|
282
|
+
}),
|
|
283
|
+
createVNode(_component_el_radio_button, {
|
|
284
|
+
label: "拖拽",
|
|
285
|
+
value: "drag"
|
|
286
|
+
})
|
|
287
|
+
]),
|
|
288
|
+
_: 2
|
|
289
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
290
|
+
]),
|
|
291
|
+
_: 2
|
|
292
|
+
}, 1024),
|
|
255
293
|
createVNode(_component_el_form_item, {
|
|
256
294
|
label: "文件类型",
|
|
257
295
|
class: "amb-design-attr-item"
|
|
@@ -331,10 +369,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
331
369
|
]),
|
|
332
370
|
_: 1
|
|
333
371
|
})),
|
|
334
|
-
(openBlock(), createBlock(_sfc_main$3, {
|
|
372
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
335
373
|
key: __props.configure.uuid,
|
|
336
374
|
size: __props.configure.props.size
|
|
337
|
-
}, null, 8, ["size"]))
|
|
375
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
338
376
|
]),
|
|
339
377
|
_: 1
|
|
340
378
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, unref } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle, caculateComponentProps } from "../../../../utils/form-design-util.js";
|
|
3
|
-
import {
|
|
3
|
+
import { FsUploadNew } from "agilebuilder-ui";
|
|
4
4
|
import "@element-plus/icons-vue";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "fileupload-design",
|
|
@@ -22,33 +22,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
const uploadConfig = defineProps.uploadConfig ? defineProps.uploadConfig : {};
|
|
23
23
|
const propBase = defineProps.base ? defineProps.base : {};
|
|
24
24
|
const tempProps = {};
|
|
25
|
+
if (uploadConfig["drag"]) {
|
|
26
|
+
tempProps["drag"] = uploadConfig["drag"];
|
|
27
|
+
}
|
|
28
|
+
tempProps["prop"] = propBase.prop;
|
|
29
|
+
tempProps["propName"] = propBase.propName;
|
|
30
|
+
tempProps["displayType"] = uploadConfig["displayType"] ? uploadConfig.displayType : "input";
|
|
25
31
|
tempProps["state"] = propBase.state;
|
|
26
|
-
|
|
32
|
+
tempProps["placeholder"] = propBase.placeholder;
|
|
27
33
|
if (uploadConfig.accept) {
|
|
28
|
-
|
|
34
|
+
tempProps.accept = uploadConfig.accept;
|
|
29
35
|
}
|
|
30
36
|
if (uploadConfig.multiple) {
|
|
31
|
-
|
|
37
|
+
tempProps.multiple = uploadConfig.multiple;
|
|
32
38
|
}
|
|
33
39
|
if (uploadConfig.limitFileSize) {
|
|
34
|
-
|
|
40
|
+
tempProps.limitFileSize = uploadConfig.limitFileSize;
|
|
35
41
|
}
|
|
36
|
-
tempProps.fileSetObj = fileSetObj;
|
|
37
42
|
tempProps["isDeleteNow"] = uploadConfig.isDeleteNow;
|
|
38
43
|
Object.assign(designProperty.value, tempProps);
|
|
39
44
|
}
|
|
40
|
-
watch(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
watch(
|
|
46
|
+
props.configure.style,
|
|
47
|
+
() => {
|
|
48
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
|
|
49
|
+
props.configure.runtime.style = designStyle.value;
|
|
50
|
+
props.configure.runtime.class = designClass.value;
|
|
51
|
+
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
52
|
+
},
|
|
53
|
+
{ immediate: true }
|
|
54
|
+
);
|
|
55
|
+
watch(
|
|
56
|
+
props.configure.props,
|
|
57
|
+
() => {
|
|
58
|
+
caculateComponentProps(props.configure, designProperty);
|
|
59
|
+
getRestsParameter();
|
|
60
|
+
props.configure.runtime.props = designProperty.value;
|
|
61
|
+
console.log("designProperty", designProperty.value);
|
|
62
|
+
},
|
|
63
|
+
{ immediate: true }
|
|
64
|
+
);
|
|
52
65
|
return (_ctx, _cache) => {
|
|
53
66
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
54
67
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
@@ -64,12 +77,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
77
|
}, toDisplayString(designProperty.value.title ? designProperty.value.title : "Files"), 5)) : createCommentVNode("", true)
|
|
65
78
|
]),
|
|
66
79
|
default: withCtx(() => [
|
|
67
|
-
createVNode(unref(
|
|
80
|
+
createVNode(unref(FsUploadNew), {
|
|
68
81
|
disabled: designProperty.value.state == "disabled",
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
82
|
+
displayType: designProperty.value.displayType,
|
|
83
|
+
accept: designProperty.value.accept,
|
|
84
|
+
multiple: designProperty.value.multiple,
|
|
85
|
+
placeholder: designProperty.value.placeholder,
|
|
86
|
+
limit: designProperty.value.limit,
|
|
87
|
+
"limit-file-size": designProperty.value.limitFileSize,
|
|
88
|
+
"file-info": _ctx.fileInfo,
|
|
89
|
+
"file-list": _ctx.fileList,
|
|
90
|
+
"on-success": _ctx.onSuccess,
|
|
91
|
+
"on-remove": _ctx.onRemove,
|
|
92
|
+
"before-upload": _ctx.beforeUpload
|
|
93
|
+
}, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])
|
|
73
94
|
]),
|
|
74
95
|
_: 1
|
|
75
96
|
}, 8, ["required", "class", "label-width", "style"]);
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
4
4
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
@@ -17,6 +17,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
setup(__props) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const openCollapseItems = ref(["base"]);
|
|
20
|
+
const isTable = ref(false);
|
|
21
|
+
if (props.configure.isTable) {
|
|
22
|
+
isTable.value = true;
|
|
23
|
+
}
|
|
20
24
|
function afterBindVariable(modelValue) {
|
|
21
25
|
props.configure.props.base.prop = modelValue;
|
|
22
26
|
}
|
|
@@ -93,7 +97,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
97
|
]),
|
|
94
98
|
_: 1
|
|
95
99
|
}),
|
|
96
|
-
|
|
100
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
101
|
+
key: 0,
|
|
97
102
|
label: "绑定变量",
|
|
98
103
|
class: "amb-design-attr-item"
|
|
99
104
|
}, {
|
|
@@ -106,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
111
|
}, null, 8, ["modelValue"]))
|
|
107
112
|
]),
|
|
108
113
|
_: 1
|
|
109
|
-
}),
|
|
114
|
+
})) : createCommentVNode("", true),
|
|
110
115
|
createVNode(_component_el_form_item, {
|
|
111
116
|
label: "默认值",
|
|
112
117
|
class: "amb-design-attr-item"
|
|
@@ -120,7 +125,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
125
|
]),
|
|
121
126
|
_: 1
|
|
122
127
|
}),
|
|
123
|
-
|
|
128
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
129
|
+
key: 1,
|
|
124
130
|
label: "绑定权限",
|
|
125
131
|
class: "amb-design-attr-item"
|
|
126
132
|
}, {
|
|
@@ -131,8 +137,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
137
|
}, null, 8, ["configure"]))
|
|
132
138
|
]),
|
|
133
139
|
_: 1
|
|
134
|
-
}),
|
|
135
|
-
|
|
140
|
+
})) : createCommentVNode("", true),
|
|
141
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
142
|
+
key: 2,
|
|
136
143
|
label: "标题显示",
|
|
137
144
|
class: "amb-design-attr-item"
|
|
138
145
|
}, {
|
|
@@ -160,8 +167,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
160
167
|
}, 8, ["modelValue"])
|
|
161
168
|
]),
|
|
162
169
|
_: 1
|
|
163
|
-
}),
|
|
164
|
-
createVNode(_component_el_form_item, {
|
|
170
|
+
})) : createCommentVNode("", true),
|
|
171
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
165
172
|
label: "标题",
|
|
166
173
|
class: "amb-design-attr-item"
|
|
167
174
|
}, {
|
|
@@ -173,7 +180,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
173
180
|
}, null, 8, ["modelValue"])
|
|
174
181
|
]),
|
|
175
182
|
_: 1
|
|
176
|
-
}),
|
|
183
|
+
}, 512), [
|
|
184
|
+
[vShow, __props.configure.props.base.tittleShow]
|
|
185
|
+
]),
|
|
177
186
|
withDirectives(createVNode(_component_el_form_item, {
|
|
178
187
|
label: "标题宽度",
|
|
179
188
|
class: "amb-design-attr-item"
|
|
@@ -436,10 +445,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
436
445
|
]),
|
|
437
446
|
_: 1
|
|
438
447
|
})),
|
|
439
|
-
(openBlock(), createBlock(_sfc_main$2, {
|
|
448
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
440
449
|
key: __props.configure.uuid,
|
|
441
450
|
size: __props.configure.props.size
|
|
442
|
-
}, null, 8, ["size"]))
|
|
451
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
443
452
|
]),
|
|
444
453
|
_: 1
|
|
445
454
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$4 from "../common/verification.vue.js";
|
|
4
4
|
import _sfc_main$5 from "../../common/common-attr-size.vue.js";
|
|
@@ -27,7 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
},
|
|
28
28
|
setup(__props) {
|
|
29
29
|
const props = __props;
|
|
30
|
-
console.log("%c描述-120122", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure);
|
|
31
30
|
if (!props.configure.props.base) {
|
|
32
31
|
props.configure.props.base = { prop: "" };
|
|
33
32
|
}
|
|
@@ -40,6 +39,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
39
|
if (!props.configure.props.scan) {
|
|
41
40
|
props.configure.props.scan = {};
|
|
42
41
|
}
|
|
42
|
+
const isTable = ref(false);
|
|
43
|
+
if (props.configure.isTable) {
|
|
44
|
+
isTable.value = true;
|
|
45
|
+
}
|
|
43
46
|
const openCollapseItems = ref(["base"]);
|
|
44
47
|
const BarCodeRuleOff = ref(false);
|
|
45
48
|
function barCodeRuleClose() {
|
|
@@ -123,7 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
126
|
]),
|
|
124
127
|
_: 1
|
|
125
128
|
}),
|
|
126
|
-
|
|
129
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
130
|
+
key: 0,
|
|
127
131
|
label: "绑定变量",
|
|
128
132
|
class: "amb-design-attr-item"
|
|
129
133
|
}, {
|
|
@@ -136,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
140
|
}, null, 8, ["modelValue"]))
|
|
137
141
|
]),
|
|
138
142
|
_: 1
|
|
139
|
-
}),
|
|
143
|
+
})) : createCommentVNode("", true),
|
|
140
144
|
createVNode(_component_el_form_item, {
|
|
141
145
|
label: "默认值",
|
|
142
146
|
class: "amb-design-attr-item"
|
|
@@ -150,7 +154,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
150
154
|
]),
|
|
151
155
|
_: 1
|
|
152
156
|
}),
|
|
153
|
-
|
|
157
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
158
|
+
key: 1,
|
|
154
159
|
label: "绑定权限",
|
|
155
160
|
class: "amb-design-attr-item"
|
|
156
161
|
}, {
|
|
@@ -161,8 +166,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
166
|
}, null, 8, ["configure"]))
|
|
162
167
|
]),
|
|
163
168
|
_: 1
|
|
164
|
-
}),
|
|
165
|
-
|
|
169
|
+
})) : createCommentVNode("", true),
|
|
170
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
171
|
+
key: 2,
|
|
166
172
|
label: "标题显示",
|
|
167
173
|
class: "amb-design-attr-item"
|
|
168
174
|
}, {
|
|
@@ -190,8 +196,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
196
|
}, 8, ["modelValue"])
|
|
191
197
|
]),
|
|
192
198
|
_: 1
|
|
193
|
-
}),
|
|
194
|
-
createVNode(_component_el_form_item, {
|
|
199
|
+
})) : createCommentVNode("", true),
|
|
200
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
195
201
|
label: "标题",
|
|
196
202
|
class: "amb-design-attr-item"
|
|
197
203
|
}, {
|
|
@@ -203,7 +209,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
209
|
}, null, 8, ["modelValue"])
|
|
204
210
|
]),
|
|
205
211
|
_: 1
|
|
206
|
-
}),
|
|
212
|
+
}, 512), [
|
|
213
|
+
[vShow, __props.configure.props.base.tittleShow]
|
|
214
|
+
]),
|
|
207
215
|
withDirectives(createVNode(_component_el_form_item, {
|
|
208
216
|
label: "标题宽度",
|
|
209
217
|
class: "amb-design-attr-item"
|
|
@@ -432,12 +440,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
432
440
|
key: __props.configure.uuid,
|
|
433
441
|
verification: __props.configure.props.verification
|
|
434
442
|
}, null, 8, ["verification"])),
|
|
435
|
-
(openBlock(), createBlock(_sfc_main$5, {
|
|
443
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
436
444
|
key: __props.configure.uuid,
|
|
437
445
|
size: __props.configure.props.size
|
|
438
|
-
}, null, 8, ["size"])),
|
|
446
|
+
}, null, 8, ["size"])) : createCommentVNode("", true),
|
|
439
447
|
BarCodeRuleOff.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
440
|
-
key:
|
|
448
|
+
key: 1,
|
|
441
449
|
ruleList: __props.configure.props.scan.ruleList,
|
|
442
450
|
onRemove: barCodeRuleRemove,
|
|
443
451
|
onClose: barCodeRuleClose
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../common/pre-suffix.vue.js";
|
|
@@ -21,6 +21,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
props.configure.props.preSuffix = {};
|
|
22
22
|
}
|
|
23
23
|
const openCollapseItems = ref(["base"]);
|
|
24
|
+
const isTable = ref(false);
|
|
25
|
+
if (props.configure.isTable) {
|
|
26
|
+
isTable.value = true;
|
|
27
|
+
}
|
|
24
28
|
function afterBindVariable(modelValue) {
|
|
25
29
|
props.configure.props.base.prop = modelValue;
|
|
26
30
|
}
|
|
@@ -94,7 +98,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
98
|
]),
|
|
95
99
|
_: 1
|
|
96
100
|
}),
|
|
97
|
-
|
|
101
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
102
|
+
key: 0,
|
|
98
103
|
label: "绑定变量",
|
|
99
104
|
class: "amb-design-attr-item"
|
|
100
105
|
}, {
|
|
@@ -107,7 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
112
|
}, null, 8, ["modelValue"]))
|
|
108
113
|
]),
|
|
109
114
|
_: 1
|
|
110
|
-
}),
|
|
115
|
+
})) : createCommentVNode("", true),
|
|
111
116
|
createVNode(_component_el_form_item, {
|
|
112
117
|
label: "默认值",
|
|
113
118
|
class: "amb-design-attr-item"
|
|
@@ -121,7 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
121
126
|
]),
|
|
122
127
|
_: 1
|
|
123
128
|
}),
|
|
124
|
-
|
|
129
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
130
|
+
key: 1,
|
|
125
131
|
label: "绑定权限",
|
|
126
132
|
class: "amb-design-attr-item"
|
|
127
133
|
}, {
|
|
@@ -132,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
132
138
|
}, null, 8, ["configure"]))
|
|
133
139
|
]),
|
|
134
140
|
_: 1
|
|
135
|
-
}),
|
|
141
|
+
})) : createCommentVNode("", true),
|
|
136
142
|
createVNode(_component_el_form_item, {
|
|
137
143
|
label: "标题显示",
|
|
138
144
|
class: "amb-design-attr-item"
|
|
@@ -207,10 +213,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
207
213
|
key: __props.configure.uuid,
|
|
208
214
|
preSuffix: __props.configure.props.preSuffix
|
|
209
215
|
}, null, 8, ["preSuffix"])),
|
|
210
|
-
(openBlock(), createBlock(_sfc_main$4, {
|
|
216
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
211
217
|
key: __props.configure.uuid,
|
|
212
218
|
size: __props.configure.props.size
|
|
213
|
-
}, null, 8, ["size"]))
|
|
219
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
214
220
|
]),
|
|
215
221
|
_: 1
|
|
216
222
|
}, 8, ["modelValue"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import _sfc_main$3 from "../common/suffixmodule.vue.js";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import IconSetDialog from "../common/icon-set-dialog.vue.js";
|
|
@@ -23,6 +23,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
props.configure.props.buttonDisplayConditionsList = [];
|
|
24
24
|
}
|
|
25
25
|
const openCollapseItems = ref(["base"]);
|
|
26
|
+
const isTable = ref(false);
|
|
27
|
+
if (props.configure.isTable) {
|
|
28
|
+
isTable.value = true;
|
|
29
|
+
}
|
|
26
30
|
function afterBindVariable(modelValue) {
|
|
27
31
|
props.configure.props.base.prop = modelValue;
|
|
28
32
|
}
|
|
@@ -47,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
51
|
default: withCtx(() => [
|
|
48
52
|
createVNode(_component_el_collapse, {
|
|
49
53
|
modelValue: openCollapseItems.value,
|
|
50
|
-
"onUpdate:modelValue": _cache[
|
|
54
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => openCollapseItems.value = $event),
|
|
51
55
|
style: { "margin-top": "6px" }
|
|
52
56
|
}, {
|
|
53
57
|
default: withCtx(() => [
|
|
@@ -96,7 +100,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
100
|
]),
|
|
97
101
|
_: 1
|
|
98
102
|
}),
|
|
99
|
-
|
|
103
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
104
|
+
key: 0,
|
|
100
105
|
label: "绑定变量",
|
|
101
106
|
class: "amb-design-attr-item"
|
|
102
107
|
}, {
|
|
@@ -109,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
114
|
}, null, 8, ["modelValue"]))
|
|
110
115
|
]),
|
|
111
116
|
_: 1
|
|
112
|
-
}),
|
|
117
|
+
})) : createCommentVNode("", true),
|
|
113
118
|
createVNode(_component_el_form_item, {
|
|
114
119
|
label: "默认值",
|
|
115
120
|
class: "amb-design-attr-item"
|
|
@@ -123,7 +128,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
128
|
]),
|
|
124
129
|
_: 1
|
|
125
130
|
}),
|
|
126
|
-
|
|
131
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
132
|
+
key: 1,
|
|
127
133
|
label: "绑定权限",
|
|
128
134
|
class: "amb-design-attr-item"
|
|
129
135
|
}, {
|
|
@@ -134,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
140
|
}, null, 8, ["configure"]))
|
|
135
141
|
]),
|
|
136
142
|
_: 1
|
|
137
|
-
}),
|
|
143
|
+
})) : createCommentVNode("", true),
|
|
138
144
|
createVNode(_component_el_form_item, {
|
|
139
145
|
label: "内容格式化",
|
|
140
146
|
class: "amb-design-attr-item"
|
|
@@ -161,7 +167,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
167
|
]),
|
|
162
168
|
_: 1
|
|
163
169
|
}),
|
|
164
|
-
|
|
170
|
+
!isTable.value ? (openBlock(), createBlock(_component_el_form_item, {
|
|
171
|
+
key: 2,
|
|
165
172
|
label: "标题显示",
|
|
166
173
|
class: "amb-design-attr-item"
|
|
167
174
|
}, {
|
|
@@ -189,7 +196,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
196
|
}, 8, ["modelValue"])
|
|
190
197
|
]),
|
|
191
198
|
_: 1
|
|
192
|
-
}),
|
|
199
|
+
})) : createCommentVNode("", true),
|
|
193
200
|
withDirectives(createVNode(_component_el_form_item, {
|
|
194
201
|
label: "标题",
|
|
195
202
|
class: "amb-design-attr-item"
|
|
@@ -311,18 +318,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
311
318
|
]),
|
|
312
319
|
_: 1
|
|
313
320
|
}),
|
|
314
|
-
createVNode(_component_el_form_item, {
|
|
315
|
-
label: "链接提示",
|
|
316
|
-
class: "amb-design-attr-item"
|
|
317
|
-
}, {
|
|
318
|
-
default: withCtx(() => [
|
|
319
|
-
createVNode(_component_el_input, {
|
|
320
|
-
modelValue: _ctx.configure.props.base.linkTips,
|
|
321
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.configure.props.base.linkTips = $event)
|
|
322
|
-
}, null, 8, ["modelValue"])
|
|
323
|
-
]),
|
|
324
|
-
_: 1
|
|
325
|
-
}),
|
|
326
321
|
createVNode(_component_el_form_item, {
|
|
327
322
|
label: "显示判断",
|
|
328
323
|
class: "amb-design-attr-item"
|
|
@@ -342,7 +337,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
342
337
|
default: withCtx(() => [
|
|
343
338
|
createVNode(_component_el_radio_group, {
|
|
344
339
|
modelValue: _ctx.configure.props.base.state,
|
|
345
|
-
"onUpdate:modelValue": _cache[
|
|
340
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.configure.props.base.state = $event),
|
|
346
341
|
class: "ml-4"
|
|
347
342
|
}, {
|
|
348
343
|
default: withCtx(() => [
|
|
@@ -384,10 +379,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
384
379
|
]),
|
|
385
380
|
_: 1
|
|
386
381
|
}),
|
|
387
|
-
(openBlock(), createBlock(_sfc_main$4, {
|
|
382
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
388
383
|
key: _ctx.configure.uuid,
|
|
389
384
|
size: _ctx.configure.props.size
|
|
390
|
-
}, null, 8, ["size"]))
|
|
385
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
391
386
|
]),
|
|
392
387
|
_: 1
|
|
393
388
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-attr-size.vue.js";
|
|
4
4
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -12,7 +12,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
default: () => ({ props: {} })
|
|
13
13
|
},
|
|
14
14
|
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
15
16
|
const openCollapseItems = ref(["base"]);
|
|
17
|
+
const isTable = ref(false);
|
|
18
|
+
if (props.configure.isTable) {
|
|
19
|
+
isTable.value = true;
|
|
20
|
+
}
|
|
16
21
|
return (_ctx, _cache) => {
|
|
17
22
|
const _component_el_option = resolveComponent("el-option");
|
|
18
23
|
const _component_el_select = resolveComponent("el-select");
|
|
@@ -81,10 +86,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
86
|
]),
|
|
82
87
|
_: 1
|
|
83
88
|
}),
|
|
84
|
-
(openBlock(), createBlock(_sfc_main$1, {
|
|
89
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
85
90
|
key: __props.configure.uuid,
|
|
86
91
|
size: __props.configure.props.size
|
|
87
|
-
}, null, 8, ["size"]))
|
|
92
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
88
93
|
]),
|
|
89
94
|
_: 1
|
|
90
95
|
}, 8, ["modelValue"])
|