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
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -98,11 +98,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
98
|
class: "amb-design-attr-item"
|
|
99
99
|
}, {
|
|
100
100
|
default: withCtx(() => [
|
|
101
|
-
|
|
101
|
+
(openBlock(), createBlock(BindVariable, {
|
|
102
|
+
key: __props.configure.uuid,
|
|
102
103
|
modelValue: __props.configure.props.base.prop,
|
|
103
104
|
paramTypes: ["data", "page"],
|
|
104
105
|
"onUpdate:modelValue": afterBindVariable
|
|
105
|
-
}, null, 8, ["modelValue"])
|
|
106
|
+
}, null, 8, ["modelValue"]))
|
|
106
107
|
]),
|
|
107
108
|
_: 1
|
|
108
109
|
}),
|
|
@@ -111,10 +112,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
112
|
class: "amb-design-attr-item"
|
|
112
113
|
}, {
|
|
113
114
|
default: withCtx(() => [
|
|
114
|
-
|
|
115
|
+
(openBlock(), createBlock(BindVariable, {
|
|
116
|
+
key: __props.configure.uuid,
|
|
115
117
|
modelValue: __props.configure.props.base.defaultValue,
|
|
116
118
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
117
|
-
}, null, 8, ["modelValue"])
|
|
119
|
+
}, null, 8, ["modelValue"]))
|
|
118
120
|
]),
|
|
119
121
|
_: 1
|
|
120
122
|
}),
|
|
@@ -123,7 +125,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
125
|
class: "amb-design-attr-item"
|
|
124
126
|
}, {
|
|
125
127
|
default: withCtx(() => [
|
|
126
|
-
|
|
128
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
129
|
+
key: __props.configure.uuid,
|
|
130
|
+
configure: __props.configure
|
|
131
|
+
}, null, 8, ["configure"]))
|
|
127
132
|
]),
|
|
128
133
|
_: 1
|
|
129
134
|
}),
|
|
@@ -195,6 +200,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
195
200
|
createVNode(_component_el_input, {
|
|
196
201
|
modelValue: __props.configure.props.base.placeholder,
|
|
197
202
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.placeholder = $event),
|
|
203
|
+
modelModifiers: { number: true },
|
|
198
204
|
placeholder: "请输入"
|
|
199
205
|
}, null, 8, ["modelValue"])
|
|
200
206
|
]),
|
|
@@ -208,6 +214,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
214
|
createVNode(_component_el_input, {
|
|
209
215
|
modelValue: __props.configure.props.base.min,
|
|
210
216
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.min = $event),
|
|
217
|
+
modelModifiers: { number: true },
|
|
218
|
+
type: "number",
|
|
211
219
|
placeholder: "请输入"
|
|
212
220
|
}, null, 8, ["modelValue"])
|
|
213
221
|
]),
|
|
@@ -221,6 +229,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
221
229
|
createVNode(_component_el_input, {
|
|
222
230
|
modelValue: __props.configure.props.base.max,
|
|
223
231
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.max = $event),
|
|
232
|
+
modelModifiers: { number: true },
|
|
233
|
+
type: "number",
|
|
224
234
|
placeholder: "请输入"
|
|
225
235
|
}, null, 8, ["modelValue"])
|
|
226
236
|
]),
|
|
@@ -234,6 +244,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
244
|
createVNode(_component_el_input, {
|
|
235
245
|
modelValue: __props.configure.props.base.step,
|
|
236
246
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.step = $event),
|
|
247
|
+
modelModifiers: { number: true },
|
|
248
|
+
type: "number",
|
|
237
249
|
placeholder: "请输入"
|
|
238
250
|
}, null, 8, ["modelValue"])
|
|
239
251
|
]),
|
|
@@ -247,6 +259,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
247
259
|
createVNode(_component_el_select, {
|
|
248
260
|
modelValue: __props.configure.props.base.precision,
|
|
249
261
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.precision = $event),
|
|
262
|
+
modelModifiers: { number: true },
|
|
250
263
|
placeholder: "请选择"
|
|
251
264
|
}, {
|
|
252
265
|
default: withCtx(() => [
|
|
@@ -366,9 +379,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
366
379
|
]),
|
|
367
380
|
_: 1
|
|
368
381
|
}),
|
|
369
|
-
|
|
382
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
370
383
|
title: "校验",
|
|
371
384
|
name: "verification",
|
|
385
|
+
key: __props.configure.uuid,
|
|
372
386
|
class: "amb-design-attr-group-header"
|
|
373
387
|
}, {
|
|
374
388
|
default: withCtx(() => [
|
|
@@ -421,10 +435,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
421
435
|
])
|
|
422
436
|
]),
|
|
423
437
|
_: 1
|
|
424
|
-
}),
|
|
425
|
-
|
|
438
|
+
})),
|
|
439
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
440
|
+
key: __props.configure.uuid,
|
|
426
441
|
size: __props.configure.props.size
|
|
427
|
-
}, null, 8, ["size"])
|
|
442
|
+
}, null, 8, ["size"]))
|
|
428
443
|
]),
|
|
429
444
|
_: 1
|
|
430
445
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -47,6 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
watch(props.configure.props, () => {
|
|
48
48
|
caculateComponentProps(props.configure, designProperty);
|
|
49
49
|
getRestsParameter();
|
|
50
|
+
console.log("%c描述-104448", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", designProperty.value);
|
|
50
51
|
props.configure.runtime.props = designProperty.value;
|
|
51
52
|
}, { immediate: true });
|
|
52
53
|
return (_ctx, _cache) => {
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -127,11 +127,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
127
|
class: "amb-design-attr-item"
|
|
128
128
|
}, {
|
|
129
129
|
default: withCtx(() => [
|
|
130
|
-
|
|
130
|
+
(openBlock(), createBlock(BindVariable, {
|
|
131
|
+
key: __props.configure.uuid,
|
|
131
132
|
modelValue: __props.configure.props.base.prop,
|
|
132
133
|
paramTypes: ["data", "page"],
|
|
133
134
|
"onUpdate:modelValue": afterBindVariable
|
|
134
|
-
}, null, 8, ["modelValue"])
|
|
135
|
+
}, null, 8, ["modelValue"]))
|
|
135
136
|
]),
|
|
136
137
|
_: 1
|
|
137
138
|
}),
|
|
@@ -140,10 +141,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
141
|
class: "amb-design-attr-item"
|
|
141
142
|
}, {
|
|
142
143
|
default: withCtx(() => [
|
|
143
|
-
|
|
144
|
+
(openBlock(), createBlock(BindVariable, {
|
|
145
|
+
key: __props.configure.uuid,
|
|
144
146
|
modelValue: __props.configure.props.base.defaultValue,
|
|
145
147
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
146
|
-
}, null, 8, ["modelValue"])
|
|
148
|
+
}, null, 8, ["modelValue"]))
|
|
147
149
|
]),
|
|
148
150
|
_: 1
|
|
149
151
|
}),
|
|
@@ -152,7 +154,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
152
154
|
class: "amb-design-attr-item"
|
|
153
155
|
}, {
|
|
154
156
|
default: withCtx(() => [
|
|
155
|
-
|
|
157
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
158
|
+
key: __props.configure.uuid,
|
|
159
|
+
configure: __props.configure
|
|
160
|
+
}, null, 8, ["configure"]))
|
|
156
161
|
]),
|
|
157
162
|
_: 1
|
|
158
163
|
}),
|
|
@@ -401,9 +406,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
401
406
|
]),
|
|
402
407
|
_: 1
|
|
403
408
|
}),
|
|
404
|
-
|
|
409
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
410
|
+
key: __props.configure.uuid,
|
|
405
411
|
preSuffix: __props.configure.props.preSuffix
|
|
406
|
-
}, null, 8, ["preSuffix"]),
|
|
412
|
+
}, null, 8, ["preSuffix"])),
|
|
407
413
|
withDirectives(createVNode(_component_el_collapse_item, {
|
|
408
414
|
title: "后缀图标跳转配置",
|
|
409
415
|
name: "linkPage",
|
|
@@ -421,12 +427,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
421
427
|
}, 512), [
|
|
422
428
|
[vShow, __props.configure.props.preSuffix.sufIconType]
|
|
423
429
|
]),
|
|
424
|
-
|
|
430
|
+
(openBlock(), createBlock(_sfc_main$4, {
|
|
431
|
+
key: __props.configure.uuid,
|
|
425
432
|
verification: __props.configure.props.verification
|
|
426
|
-
}, null, 8, ["verification"]),
|
|
427
|
-
|
|
433
|
+
}, null, 8, ["verification"])),
|
|
434
|
+
(openBlock(), createBlock(_sfc_main$5, {
|
|
435
|
+
key: __props.configure.uuid,
|
|
428
436
|
size: __props.configure.props.size
|
|
429
|
-
}, null, 8, ["size"]),
|
|
437
|
+
}, null, 8, ["size"])),
|
|
430
438
|
BarCodeRuleOff.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
431
439
|
key: 0,
|
|
432
440
|
ruleList: __props.configure.props.scan.ruleList,
|
|
@@ -41,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
}
|
|
42
42
|
watch(props.configure.style, () => {
|
|
43
43
|
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
|
|
44
|
+
console.log("%c描述-102351", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", designStyle.value);
|
|
44
45
|
props.configure.runtime.style = designStyle.value;
|
|
45
46
|
props.configure.runtime.class = designClass.value;
|
|
46
47
|
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
@@ -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
|
}),
|
|
@@ -194,13 +199,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
199
|
]),
|
|
195
200
|
_: 1
|
|
196
201
|
}),
|
|
197
|
-
|
|
198
|
-
|
|
202
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
203
|
+
key: __props.configure.uuid,
|
|
204
|
+
configure: __props.configure
|
|
205
|
+
}, null, 8, ["configure"])),
|
|
206
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
207
|
+
key: __props.configure.uuid,
|
|
199
208
|
preSuffix: __props.configure.props.preSuffix
|
|
200
|
-
}, null, 8, ["preSuffix"]),
|
|
201
|
-
|
|
209
|
+
}, null, 8, ["preSuffix"])),
|
|
210
|
+
(openBlock(), createBlock(_sfc_main$4, {
|
|
211
|
+
key: __props.configure.uuid,
|
|
202
212
|
size: __props.configure.props.size
|
|
203
|
-
}, null, 8, ["size"])
|
|
213
|
+
}, null, 8, ["size"]))
|
|
204
214
|
]),
|
|
205
215
|
_: 1
|
|
206
216
|
}, 8, ["modelValue"])
|
|
@@ -101,11 +101,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
101
|
class: "amb-design-attr-item"
|
|
102
102
|
}, {
|
|
103
103
|
default: withCtx(() => [
|
|
104
|
-
|
|
104
|
+
(openBlock(), createBlock(BindVariable, {
|
|
105
|
+
key: _ctx.configure.uuid,
|
|
105
106
|
modelValue: _ctx.configure.props.base.prop,
|
|
106
107
|
paramTypes: ["data", "page"],
|
|
107
108
|
"onUpdate:modelValue": afterBindVariable
|
|
108
|
-
}, null, 8, ["modelValue"])
|
|
109
|
+
}, null, 8, ["modelValue"]))
|
|
109
110
|
]),
|
|
110
111
|
_: 1
|
|
111
112
|
}),
|
|
@@ -114,10 +115,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
115
|
class: "amb-design-attr-item"
|
|
115
116
|
}, {
|
|
116
117
|
default: withCtx(() => [
|
|
117
|
-
|
|
118
|
+
(openBlock(), createBlock(BindVariable, {
|
|
119
|
+
key: _ctx.configure.uuid,
|
|
118
120
|
modelValue: _ctx.configure.props.base.defaultValue,
|
|
119
121
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
120
|
-
}, null, 8, ["modelValue"])
|
|
122
|
+
}, null, 8, ["modelValue"]))
|
|
121
123
|
]),
|
|
122
124
|
_: 1
|
|
123
125
|
}),
|
|
@@ -126,7 +128,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
128
|
class: "amb-design-attr-item"
|
|
127
129
|
}, {
|
|
128
130
|
default: withCtx(() => [
|
|
129
|
-
|
|
131
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
132
|
+
key: _ctx.configure.uuid,
|
|
133
|
+
configure: _ctx.configure
|
|
134
|
+
}, null, 8, ["configure"]))
|
|
130
135
|
]),
|
|
131
136
|
_: 1
|
|
132
137
|
}),
|
|
@@ -370,17 +375,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
370
375
|
}, {
|
|
371
376
|
default: withCtx(() => [
|
|
372
377
|
createElementVNode("div", _hoisted_2, [
|
|
373
|
-
|
|
378
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
379
|
+
key: _ctx.configure.uuid,
|
|
374
380
|
configure: _ctx.configure,
|
|
375
381
|
pageDesign: _ctx.pageDesign
|
|
376
|
-
}, null, 8, ["configure", "pageDesign"])
|
|
382
|
+
}, null, 8, ["configure", "pageDesign"]))
|
|
377
383
|
])
|
|
378
384
|
]),
|
|
379
385
|
_: 1
|
|
380
386
|
}),
|
|
381
|
-
|
|
387
|
+
(openBlock(), createBlock(_sfc_main$4, {
|
|
388
|
+
key: _ctx.configure.uuid,
|
|
382
389
|
size: _ctx.configure.props.size
|
|
383
|
-
}, null, 8, ["size"])
|
|
390
|
+
}, null, 8, ["size"]))
|
|
384
391
|
]),
|
|
385
392
|
_: 1
|
|
386
393
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -81,9 +81,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
]),
|
|
82
82
|
_: 1
|
|
83
83
|
}),
|
|
84
|
-
|
|
84
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
85
|
+
key: __props.configure.uuid,
|
|
85
86
|
size: __props.configure.props.size
|
|
86
|
-
}, null, 8, ["size"])
|
|
87
|
+
}, null, 8, ["size"]))
|
|
87
88
|
]),
|
|
88
89
|
_: 1
|
|
89
90
|
}, 8, ["modelValue"])
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-style.vue.js
CHANGED
|
@@ -12,6 +12,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
// 是否显示标题字体
|
|
13
13
|
showBackground: false,
|
|
14
14
|
// 是否显示背景
|
|
15
|
+
showPosition: true,
|
|
16
|
+
// 显示定位
|
|
17
|
+
showMargin: true,
|
|
18
|
+
// 外边距
|
|
19
|
+
showPadding: true,
|
|
20
|
+
// 内边距
|
|
15
21
|
showBorder: true,
|
|
16
22
|
// 是否显示边框
|
|
17
23
|
showShadow: true,
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-design.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, watch,
|
|
1
|
+
import { defineComponent, ref, watch, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle, caculateComponentProps } from "../../../../utils/form-design-util.js";
|
|
3
|
-
const _hoisted_1 =
|
|
3
|
+
const _hoisted_1 = { style: { "background-color": "rgba(88,147,239,0.06)" } };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "placeholder-design",
|
|
6
6
|
props: {
|
|
@@ -29,17 +29,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
props.configure.runtime.props = designProperty.value;
|
|
30
30
|
}, { immediate: true });
|
|
31
31
|
return (_ctx, _cache) => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
default: withCtx(() => [
|
|
39
|
-
_hoisted_1
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
-
}, 8, ["required", "class", "style"]);
|
|
32
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
|
+
createElementVNode("div", {
|
|
34
|
+
style: normalizeStyle([{ "width": "100%", "height": "100%", "text-align": "center" }, designStyle.value]),
|
|
35
|
+
class: normalizeClass(designClass.value)
|
|
36
|
+
}, "占位符", 6)
|
|
37
|
+
]);
|
|
43
38
|
};
|
|
44
39
|
}
|
|
45
40
|
});
|
|
@@ -97,11 +97,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
class: "amb-design-attr-item"
|
|
98
98
|
}, {
|
|
99
99
|
default: withCtx(() => [
|
|
100
|
-
|
|
100
|
+
(openBlock(), createBlock(BindVariable, {
|
|
101
|
+
key: __props.configure.uuid,
|
|
101
102
|
modelValue: __props.configure.props.base.prop,
|
|
102
103
|
paramTypes: ["data", "page"],
|
|
103
104
|
"onUpdate:modelValue": afterBindVariable
|
|
104
|
-
}, null, 8, ["modelValue"])
|
|
105
|
+
}, null, 8, ["modelValue"]))
|
|
105
106
|
]),
|
|
106
107
|
_: 1
|
|
107
108
|
}),
|
|
@@ -110,10 +111,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
111
|
class: "amb-design-attr-item"
|
|
111
112
|
}, {
|
|
112
113
|
default: withCtx(() => [
|
|
113
|
-
|
|
114
|
+
(openBlock(), createBlock(BindVariable, {
|
|
115
|
+
key: __props.configure.uuid,
|
|
114
116
|
modelValue: __props.configure.props.base.defaultValue,
|
|
115
117
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
116
|
-
}, null, 8, ["modelValue"])
|
|
118
|
+
}, null, 8, ["modelValue"]))
|
|
117
119
|
]),
|
|
118
120
|
_: 1
|
|
119
121
|
}),
|
|
@@ -122,7 +124,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
124
|
class: "amb-design-attr-item"
|
|
123
125
|
}, {
|
|
124
126
|
default: withCtx(() => [
|
|
125
|
-
|
|
127
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
128
|
+
key: __props.configure.uuid,
|
|
129
|
+
configure: __props.configure
|
|
130
|
+
}, null, 8, ["configure"]))
|
|
126
131
|
]),
|
|
127
132
|
_: 1
|
|
128
133
|
}),
|
|
@@ -260,15 +265,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
265
|
]),
|
|
261
266
|
_: 1
|
|
262
267
|
}),
|
|
263
|
-
|
|
268
|
+
(openBlock(), createBlock(DataOrigin, {
|
|
269
|
+
key: __props.configure.uuid,
|
|
264
270
|
configure: __props.configure,
|
|
265
271
|
remote: true
|
|
266
|
-
}, null, 8, ["configure"]),
|
|
267
|
-
|
|
272
|
+
}, null, 8, ["configure"])),
|
|
273
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
274
|
+
key: __props.configure.uuid,
|
|
268
275
|
configureProps: __props.configure.props
|
|
269
|
-
}, null, 8, ["configureProps"]),
|
|
270
|
-
|
|
276
|
+
}, null, 8, ["configureProps"])),
|
|
277
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
271
278
|
title: "校验",
|
|
279
|
+
key: __props.configure.uuid,
|
|
272
280
|
name: "verification",
|
|
273
281
|
class: "amb-design-attr-group-header"
|
|
274
282
|
}, {
|
|
@@ -322,10 +330,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
330
|
])
|
|
323
331
|
]),
|
|
324
332
|
_: 1
|
|
325
|
-
}),
|
|
326
|
-
|
|
333
|
+
})),
|
|
334
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
335
|
+
key: __props.configure.uuid,
|
|
327
336
|
size: __props.configure.props.size
|
|
328
|
-
}, null, 8, ["size"])
|
|
337
|
+
}, null, 8, ["size"]))
|
|
329
338
|
]),
|
|
330
339
|
_: 1
|
|
331
340
|
}, 8, ["modelValue"])
|
|
@@ -98,11 +98,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
98
|
class: "amb-design-attr-item"
|
|
99
99
|
}, {
|
|
100
100
|
default: withCtx(() => [
|
|
101
|
-
|
|
101
|
+
(openBlock(), createBlock(BindVariable, {
|
|
102
|
+
key: __props.configure.uuid,
|
|
102
103
|
modelValue: __props.configure.props.base.prop,
|
|
103
104
|
paramTypes: ["data", "page"],
|
|
104
105
|
"onUpdate:modelValue": afterBindVariable
|
|
105
|
-
}, null, 8, ["modelValue"])
|
|
106
|
+
}, null, 8, ["modelValue"]))
|
|
106
107
|
]),
|
|
107
108
|
_: 1
|
|
108
109
|
}),
|
|
@@ -111,10 +112,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
112
|
class: "amb-design-attr-item"
|
|
112
113
|
}, {
|
|
113
114
|
default: withCtx(() => [
|
|
114
|
-
|
|
115
|
+
(openBlock(), createBlock(BindVariable, {
|
|
116
|
+
key: __props.configure.uuid,
|
|
115
117
|
modelValue: __props.configure.props.base.defaultValue,
|
|
116
118
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
117
|
-
}, null, 8, ["modelValue"])
|
|
119
|
+
}, null, 8, ["modelValue"]))
|
|
118
120
|
]),
|
|
119
121
|
_: 1
|
|
120
122
|
}),
|
|
@@ -123,7 +125,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
125
|
class: "amb-design-attr-item"
|
|
124
126
|
}, {
|
|
125
127
|
default: withCtx(() => [
|
|
126
|
-
|
|
128
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
129
|
+
key: __props.configure.uuid,
|
|
130
|
+
configure: __props.configure
|
|
131
|
+
}, null, 8, ["configure"]))
|
|
127
132
|
]),
|
|
128
133
|
_: 1
|
|
129
134
|
}),
|
|
@@ -233,9 +238,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
233
238
|
]),
|
|
234
239
|
_: 1
|
|
235
240
|
}),
|
|
236
|
-
|
|
241
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
237
242
|
title: "校验",
|
|
238
243
|
name: "verification",
|
|
244
|
+
key: __props.configure.uuid,
|
|
239
245
|
class: "amb-design-attr-group-header"
|
|
240
246
|
}, {
|
|
241
247
|
default: withCtx(() => [
|
|
@@ -288,10 +294,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
288
294
|
])
|
|
289
295
|
]),
|
|
290
296
|
_: 1
|
|
291
|
-
}),
|
|
292
|
-
|
|
297
|
+
})),
|
|
298
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
299
|
+
key: __props.configure.uuid,
|
|
293
300
|
size: __props.configure.props.size
|
|
294
|
-
}, null, 8, ["size"])
|
|
301
|
+
}, null, 8, ["size"]))
|
|
295
302
|
]),
|
|
296
303
|
_: 1
|
|
297
304
|
}, 8, ["modelValue"])
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, cr
|
|
|
2
2
|
import { caculateDetailComponentStyle, caculateComponentProps } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import Quill from "quill";
|
|
4
4
|
import "quill/dist/quill.snow.css";
|
|
5
|
-
const _hoisted_1 = { style: { "height": "100%" } };
|
|
5
|
+
const _hoisted_1 = { style: { "height": "100%", "width": "100%" } };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "richtext-design",
|
|
8
8
|
props: {
|
|
@@ -162,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
162
162
|
createElementVNode("div", {
|
|
163
163
|
ref_key: "quillEditorRef",
|
|
164
164
|
ref: quillEditorRef,
|
|
165
|
-
style: normalizeStyle({ ...quillStyle.value
|
|
165
|
+
style: normalizeStyle({ ...quillStyle.value })
|
|
166
166
|
}, null, 4),
|
|
167
167
|
createElementVNode("input", {
|
|
168
168
|
type: "file",
|
|
@@ -103,11 +103,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
class: "amb-design-attr-item"
|
|
104
104
|
}, {
|
|
105
105
|
default: withCtx(() => [
|
|
106
|
-
|
|
106
|
+
(openBlock(), createBlock(BindVariable, {
|
|
107
|
+
key: __props.configure.uuid,
|
|
107
108
|
modelValue: __props.configure.props.base.prop,
|
|
108
109
|
paramTypes: ["data", "page"],
|
|
109
110
|
"onUpdate:modelValue": afterBindVariable
|
|
110
|
-
}, null, 8, ["modelValue"])
|
|
111
|
+
}, null, 8, ["modelValue"]))
|
|
111
112
|
]),
|
|
112
113
|
_: 1
|
|
113
114
|
}),
|
|
@@ -116,7 +117,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
117
|
class: "amb-design-attr-item"
|
|
117
118
|
}, {
|
|
118
119
|
default: withCtx(() => [
|
|
119
|
-
|
|
120
|
+
(openBlock(), createBlock(_sfc_main$1, {
|
|
121
|
+
key: __props.configure.uuid,
|
|
122
|
+
configure: __props.configure
|
|
123
|
+
}, null, 8, ["configure"]))
|
|
120
124
|
]),
|
|
121
125
|
_: 1
|
|
122
126
|
}),
|
|
@@ -125,11 +129,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
129
|
class: "amb-design-attr-item"
|
|
126
130
|
}, {
|
|
127
131
|
default: withCtx(() => [
|
|
128
|
-
|
|
132
|
+
(openBlock(), createBlock(BindVariable, {
|
|
133
|
+
key: __props.configure.uuid,
|
|
129
134
|
modelValue: __props.configure.props.base.optionProp,
|
|
130
135
|
paramTypes: ["data", "page"],
|
|
131
136
|
"onUpdate:modelValue": afterBindLabelVariable
|
|
132
|
-
}, null, 8, ["modelValue"])
|
|
137
|
+
}, null, 8, ["modelValue"]))
|
|
133
138
|
]),
|
|
134
139
|
_: 1
|
|
135
140
|
}),
|
|
@@ -138,10 +143,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
143
|
class: "amb-design-attr-item"
|
|
139
144
|
}, {
|
|
140
145
|
default: withCtx(() => [
|
|
141
|
-
|
|
146
|
+
(openBlock(), createBlock(BindVariable, {
|
|
147
|
+
key: __props.configure.uuid,
|
|
142
148
|
modelValue: __props.configure.props.base.defaultValue,
|
|
143
149
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
144
|
-
}, null, 8, ["modelValue"])
|
|
150
|
+
}, null, 8, ["modelValue"]))
|
|
145
151
|
]),
|
|
146
152
|
_: 1
|
|
147
153
|
}),
|
|
@@ -433,16 +439,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
433
439
|
]),
|
|
434
440
|
_: 1
|
|
435
441
|
}),
|
|
436
|
-
|
|
442
|
+
(openBlock(), createBlock(DataOrigin, {
|
|
443
|
+
key: __props.configure.uuid,
|
|
437
444
|
configure: __props.configure,
|
|
438
445
|
remote: true
|
|
439
|
-
}, null, 8, ["configure"]),
|
|
440
|
-
|
|
446
|
+
}, null, 8, ["configure"])),
|
|
447
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
448
|
+
key: __props.configure.uuid,
|
|
441
449
|
configureProps: __props.configure.props
|
|
442
|
-
}, null, 8, ["configureProps"]),
|
|
443
|
-
|
|
450
|
+
}, null, 8, ["configureProps"])),
|
|
451
|
+
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
444
452
|
title: "校验",
|
|
445
453
|
name: "verification",
|
|
454
|
+
key: __props.configure.uuid,
|
|
446
455
|
class: "amb-design-attr-group-header"
|
|
447
456
|
}, {
|
|
448
457
|
default: withCtx(() => [
|
|
@@ -495,10 +504,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
495
504
|
])
|
|
496
505
|
]),
|
|
497
506
|
_: 1
|
|
498
|
-
}),
|
|
499
|
-
|
|
507
|
+
})),
|
|
508
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
509
|
+
key: __props.configure.uuid,
|
|
500
510
|
size: __props.configure.props.size
|
|
501
|
-
}, null, 8, ["size"])
|
|
511
|
+
}, null, 8, ["size"]))
|
|
502
512
|
]),
|
|
503
513
|
_: 1
|
|
504
514
|
}, 8, ["modelValue"])
|