starfish-form-custom 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{formAction-28d86b6a.mjs → formAction-f22cc5f4.mjs} +65 -61
- package/dist/{index-f7ea052c.mjs → index-07a56f42.mjs} +27 -25
- package/dist/{index-04830c0b.mjs → index-6414efee.mjs} +12 -12
- package/dist/{index-eab8ef70.mjs → index-6e5bd506.mjs} +71 -68
- package/dist/{main-96327b2e.mjs → main-2d947b2c.mjs} +290 -237
- package/dist/{starfish-form-a18a5409.mjs → starfish-form-a993ec26.mjs} +6 -5
- package/dist/starfish-form.mjs +3 -3
- package/dist/style.css +7 -2
- package/dist/types/form/src/common/Loading.vue.d.ts +2 -2
- package/dist/types/form/src/common/formAction.vue.d.ts +85 -0
- package/dist/types/form/src/main.d.ts +10 -8
- package/dist/types/form/src/starfish-form.vue.d.ts +10 -8
- package/package.json +1 -1
- package/src/common/KeyValueConfig.vue +7 -4
- package/src/common/KeyValueConfigMult.vue +7 -4
- package/src/common/formAction.vue +8 -3
- package/src/common/listConfig.vue +3 -3
- package/src/common/panel.vue +3 -3
- package/src/components/ColorSelect/index.vue +2 -2
- package/src/components/Rule/index.vue +3 -0
- package/stats.html +2122 -2229
|
@@ -9,10 +9,12 @@ import 'element-plus/es/components/main/style/css';
|
|
|
9
9
|
import 'element-plus/es/components/scrollbar/style/css';
|
|
10
10
|
import 'element-plus/es/components/button/style/css';
|
|
11
11
|
import 'element-plus/es/components/tooltip/style/css';
|
|
12
|
-
import { defineComponent, inject, ref, getCurrentInstance, reactive, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, createBlock, withCtx,
|
|
12
|
+
import { defineComponent, inject, ref, getCurrentInstance, reactive, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, Fragment, renderList, withModifiers, createTextVNode } from 'vue';
|
|
13
13
|
import { Codemirror } from 'vue-codemirror';
|
|
14
|
-
import { _ as _export_sfc } from './main-
|
|
14
|
+
import { _ as _export_sfc } from './main-2d947b2c.mjs';
|
|
15
|
+
import 'element-plus/es/components/icon/style/css';
|
|
15
16
|
import 'element-plus/es/components/checkbox/style/css';
|
|
17
|
+
import '@element-plus/icons-vue';
|
|
16
18
|
import 'element-plus/es/components/loading/style/css';
|
|
17
19
|
import 'element-plus/es/components/dropdown/style/css';
|
|
18
20
|
import 'element-plus/es/components/dropdown-menu/style/css';
|
|
@@ -20,11 +22,9 @@ import 'element-plus/es/components/dropdown-item/style/css';
|
|
|
20
22
|
import 'element-plus/es/components/collapse/style/css';
|
|
21
23
|
import 'element-plus/es/components/collapse-item/style/css';
|
|
22
24
|
import 'element-plus/es/components/row/style/css';
|
|
23
|
-
import 'element-plus/es/components/icon/style/css';
|
|
24
25
|
import 'element-plus/es/components/col/style/css';
|
|
25
26
|
import 'element-plus/es/components/select/style/css';
|
|
26
27
|
import 'element-plus/es/components/option/style/css';
|
|
27
|
-
import '@element-plus/icons-vue';
|
|
28
28
|
import 'element-plus/es/components/input-number/style/css';
|
|
29
29
|
import 'element-plus/es/components/radio-group/style/css';
|
|
30
30
|
import 'element-plus/es/components/radio-button/style/css';
|
|
@@ -41,6 +41,8 @@ import 'element-plus/es/components/tabs/style/css';
|
|
|
41
41
|
import 'element-plus/es/components/tab-pane/style/css';
|
|
42
42
|
import 'element-plus';
|
|
43
43
|
|
|
44
|
+
/* unplugin-vue-components disabled */const formAction_vue_vue_type_style_index_0_lang = '';
|
|
45
|
+
|
|
44
46
|
const _sfc_main = defineComponent({
|
|
45
47
|
ControlType: "FormAction",
|
|
46
48
|
isHide: true,
|
|
@@ -192,20 +194,28 @@ const _hoisted_1 = {
|
|
|
192
194
|
key: 0,
|
|
193
195
|
class: "item_require"
|
|
194
196
|
};
|
|
195
|
-
const _hoisted_2 = { class: "
|
|
196
|
-
const _hoisted_3 =
|
|
197
|
-
const _hoisted_4 = { class: "
|
|
198
|
-
const _hoisted_5 =
|
|
199
|
-
const _hoisted_6 =
|
|
200
|
-
const _hoisted_7 = {
|
|
197
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
198
|
+
const _hoisted_3 = /* @__PURE__ */ createTextVNode(" \u8BBE\u7F6E ");
|
|
199
|
+
const _hoisted_4 = { class: "common-layout" };
|
|
200
|
+
const _hoisted_5 = { class: "action-header" };
|
|
201
|
+
const _hoisted_6 = /* @__PURE__ */ createTextVNode(" +\u6DFB\u52A0\u52A8\u4F5C");
|
|
202
|
+
const _hoisted_7 = { class: "action-list" };
|
|
203
|
+
const _hoisted_8 = ["onClick"];
|
|
204
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { class: "event-script-menu-i" }, "Function", -1);
|
|
205
|
+
const _hoisted_10 = { class: "event-script-menu-label" };
|
|
206
|
+
const _hoisted_11 = {
|
|
201
207
|
key: 0,
|
|
202
208
|
class: "event-script-menu-action"
|
|
203
209
|
};
|
|
204
|
-
const
|
|
205
|
-
const
|
|
206
|
-
const
|
|
207
|
-
const
|
|
208
|
-
const
|
|
210
|
+
const _hoisted_12 = ["onClick"];
|
|
211
|
+
const _hoisted_13 = ["onClick"];
|
|
212
|
+
const _hoisted_14 = { class: "action-header event-script-main-header" };
|
|
213
|
+
const _hoisted_15 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
|
|
214
|
+
const _hoisted_16 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
215
|
+
const _hoisted_17 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
|
|
216
|
+
const _hoisted_18 = { class: "coding" };
|
|
217
|
+
const _hoisted_19 = { class: "header" };
|
|
218
|
+
const _hoisted_20 = /* @__PURE__ */ createElementVNode("div", { class: "footer" }, "}", -1);
|
|
209
219
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
210
220
|
const _component_el_tooltip = ElTooltip;
|
|
211
221
|
const _component_el_button = ElButton;
|
|
@@ -239,11 +249,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
239
249
|
content: _ctx.item.data.tip,
|
|
240
250
|
placement: "top"
|
|
241
251
|
}, {
|
|
242
|
-
default: withCtx(() =>
|
|
243
|
-
|
|
244
|
-
])
|
|
245
|
-
_: 1
|
|
246
|
-
__: [2]
|
|
252
|
+
default: withCtx(() => [
|
|
253
|
+
_hoisted_2
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
247
256
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
248
257
|
], 6)) : createCommentVNode("", true),
|
|
249
258
|
createElementVNode("div", {
|
|
@@ -255,15 +264,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
264
|
style: { "width": "100%" },
|
|
256
265
|
onClick: _ctx.onAction
|
|
257
266
|
}, {
|
|
258
|
-
default: withCtx(() =>
|
|
259
|
-
|
|
260
|
-
])
|
|
261
|
-
_: 1
|
|
262
|
-
__: [3]
|
|
267
|
+
default: withCtx(() => [
|
|
268
|
+
_hoisted_3
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
263
271
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
264
272
|
createVNode(_component_CustomDialog, { ref: "actionRef" }, {
|
|
265
273
|
default: withCtx(() => [
|
|
266
|
-
createElementVNode("div",
|
|
274
|
+
createElementVNode("div", _hoisted_4, [
|
|
267
275
|
createVNode(_component_el_container, { style: { "height": "100%", "border": "1px solid rgb(238, 238, 238)" } }, {
|
|
268
276
|
default: withCtx(() => [
|
|
269
277
|
createVNode(_component_el_container, null, {
|
|
@@ -275,24 +283,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
275
283
|
default: withCtx(() => [
|
|
276
284
|
createVNode(_component_el_container, { class: "is-vertical" }, {
|
|
277
285
|
default: withCtx(() => [
|
|
278
|
-
createElementVNode("header",
|
|
286
|
+
createElementVNode("header", _hoisted_5, [
|
|
279
287
|
createVNode(_component_el_button, {
|
|
280
288
|
type: "text",
|
|
281
289
|
size: _ctx.size,
|
|
282
290
|
onClick: _ctx.addAction
|
|
283
291
|
}, {
|
|
284
|
-
default: withCtx(() =>
|
|
285
|
-
|
|
286
|
-
])
|
|
287
|
-
_: 1
|
|
288
|
-
__: [4]
|
|
292
|
+
default: withCtx(() => [
|
|
293
|
+
_hoisted_6
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
289
296
|
}, 8, ["size", "onClick"])
|
|
290
297
|
]),
|
|
291
298
|
createVNode(_component_el_main, null, {
|
|
292
299
|
default: withCtx(() => [
|
|
293
300
|
createVNode(_component_el_scrollbar, null, {
|
|
294
301
|
default: withCtx(() => [
|
|
295
|
-
createElementVNode("div",
|
|
302
|
+
createElementVNode("div", _hoisted_7, [
|
|
296
303
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.action, (item, index) => {
|
|
297
304
|
return openBlock(), createElementBlock("div", {
|
|
298
305
|
class: normalizeClass([
|
|
@@ -302,21 +309,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
302
309
|
key: index,
|
|
303
310
|
onClick: ($event) => _ctx.handleAction(item)
|
|
304
311
|
}, [
|
|
305
|
-
|
|
306
|
-
createElementVNode("div",
|
|
307
|
-
!item.disabled ? (openBlock(), createElementBlock("div",
|
|
312
|
+
_hoisted_9,
|
|
313
|
+
createElementVNode("div", _hoisted_10, toDisplayString(item.funcName), 1),
|
|
314
|
+
!item.disabled ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
308
315
|
createElementVNode("i", {
|
|
309
316
|
title: "\u590D\u5236",
|
|
310
317
|
class: "iconfontui icon-fuzhi",
|
|
311
318
|
onClick: withModifiers(($event) => _ctx.copyAction(item), ["stop"])
|
|
312
|
-
}, null, 8,
|
|
319
|
+
}, null, 8, _hoisted_12),
|
|
313
320
|
createElementVNode("i", {
|
|
314
321
|
title: "\u5220\u9664",
|
|
315
322
|
class: "iconfontui icon-shanchu1",
|
|
316
323
|
onClick: withModifiers(($event) => _ctx.deleteAction(item), ["stop"])
|
|
317
|
-
}, null, 8,
|
|
324
|
+
}, null, 8, _hoisted_13)
|
|
318
325
|
])) : createCommentVNode("", true)
|
|
319
|
-
], 10,
|
|
326
|
+
], 10, _hoisted_8);
|
|
320
327
|
}), 128))
|
|
321
328
|
])
|
|
322
329
|
]),
|
|
@@ -335,38 +342,35 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
335
342
|
default: withCtx(() => [
|
|
336
343
|
createVNode(_component_el_container, { class: "is-vertical" }, {
|
|
337
344
|
default: withCtx(() => [
|
|
338
|
-
createElementVNode("header",
|
|
345
|
+
createElementVNode("header", _hoisted_14, [
|
|
339
346
|
createVNode(_component_el_button, {
|
|
340
347
|
type: "primary",
|
|
341
348
|
onClick: _ctx.onConfirm,
|
|
342
|
-
size: "
|
|
349
|
+
size: "default"
|
|
343
350
|
}, {
|
|
344
|
-
default: withCtx(() =>
|
|
345
|
-
|
|
346
|
-
])
|
|
347
|
-
_: 1
|
|
348
|
-
__: [6]
|
|
351
|
+
default: withCtx(() => [
|
|
352
|
+
_hoisted_15
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
349
355
|
}, 8, ["onClick"]),
|
|
350
356
|
createVNode(_component_el_button, {
|
|
351
357
|
type: "primary",
|
|
352
358
|
onClick: _ctx.onSave,
|
|
353
|
-
size: "
|
|
359
|
+
size: "default"
|
|
354
360
|
}, {
|
|
355
|
-
default: withCtx(() =>
|
|
356
|
-
|
|
357
|
-
])
|
|
358
|
-
_: 1
|
|
359
|
-
__: [7]
|
|
361
|
+
default: withCtx(() => [
|
|
362
|
+
_hoisted_16
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
360
365
|
}, 8, ["onClick"]),
|
|
361
366
|
createVNode(_component_el_button, {
|
|
362
367
|
onClick: _ctx.onCancel,
|
|
363
|
-
size: "
|
|
368
|
+
size: "default"
|
|
364
369
|
}, {
|
|
365
|
-
default: withCtx(() =>
|
|
366
|
-
|
|
367
|
-
])
|
|
368
|
-
_: 1
|
|
369
|
-
__: [8]
|
|
370
|
+
default: withCtx(() => [
|
|
371
|
+
_hoisted_17
|
|
372
|
+
]),
|
|
373
|
+
_: 1
|
|
370
374
|
}, 8, ["onClick"])
|
|
371
375
|
]),
|
|
372
376
|
_ctx.currentAction ? (openBlock(), createBlock(_component_el_main, {
|
|
@@ -396,8 +400,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
396
400
|
}),
|
|
397
401
|
createVNode(_component_el_form_item, { prop: "funcStr" }, {
|
|
398
402
|
default: withCtx(() => [
|
|
399
|
-
createElementVNode("div",
|
|
400
|
-
createElementVNode("div",
|
|
403
|
+
createElementVNode("div", _hoisted_18, [
|
|
404
|
+
createElementVNode("div", _hoisted_19, " function " + toDisplayString(_ctx.currentAction.funcName) + "(" + toDisplayString(_ctx.getField(_ctx.currentAction.methods)) + "){ ", 1),
|
|
401
405
|
createVNode(_component_codemirror, {
|
|
402
406
|
modelValue: _ctx.currentAction.funcStr,
|
|
403
407
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.currentAction.funcStr = $event),
|
|
@@ -408,7 +412,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
408
412
|
"indent-with-tab": true,
|
|
409
413
|
"tab-size": 2
|
|
410
414
|
}, null, 8, ["modelValue"]),
|
|
411
|
-
|
|
415
|
+
_hoisted_20
|
|
412
416
|
])
|
|
413
417
|
]),
|
|
414
418
|
_: 1
|
|
@@ -6,10 +6,12 @@ import 'element-plus/es/components/button/style/css';
|
|
|
6
6
|
import 'element-plus/es/components/main/style/css';
|
|
7
7
|
import 'element-plus/es/components/tooltip/style/css';
|
|
8
8
|
import { defineComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, createTextVNode } from 'vue';
|
|
9
|
-
import { _ as _export_sfc, a as _, g as getFormConfig, f as fieldProps, u as useWatch } from './main-
|
|
9
|
+
import { _ as _export_sfc, a as _, g as getFormConfig, f as fieldProps, u as useWatch } from './main-2d947b2c.mjs';
|
|
10
10
|
import JSONEditor from 'jsoneditor';
|
|
11
|
+
import 'element-plus/es/components/icon/style/css';
|
|
11
12
|
import 'element-plus/es/components/input/style/css';
|
|
12
13
|
import 'element-plus/es/components/checkbox/style/css';
|
|
14
|
+
import '@element-plus/icons-vue';
|
|
13
15
|
import 'element-plus/es/components/loading/style/css';
|
|
14
16
|
import 'element-plus/es/components/dropdown/style/css';
|
|
15
17
|
import 'element-plus/es/components/dropdown-menu/style/css';
|
|
@@ -17,11 +19,9 @@ import 'element-plus/es/components/dropdown-item/style/css';
|
|
|
17
19
|
import 'element-plus/es/components/collapse/style/css';
|
|
18
20
|
import 'element-plus/es/components/collapse-item/style/css';
|
|
19
21
|
import 'element-plus/es/components/row/style/css';
|
|
20
|
-
import 'element-plus/es/components/icon/style/css';
|
|
21
22
|
import 'element-plus/es/components/col/style/css';
|
|
22
23
|
import 'element-plus/es/components/select/style/css';
|
|
23
24
|
import 'element-plus/es/components/option/style/css';
|
|
24
|
-
import '@element-plus/icons-vue';
|
|
25
25
|
import 'element-plus/es/components/input-number/style/css';
|
|
26
26
|
import 'element-plus/es/components/radio-group/style/css';
|
|
27
27
|
import 'element-plus/es/components/radio-button/style/css';
|
|
@@ -130,14 +130,21 @@ const _hoisted_1 = {
|
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "item_require"
|
|
132
132
|
};
|
|
133
|
-
const _hoisted_2 = {
|
|
133
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
134
|
+
const _hoisted_3 = {
|
|
134
135
|
id: "jsoneditor",
|
|
135
136
|
ref: "jsoneditor"
|
|
136
137
|
};
|
|
137
|
-
const
|
|
138
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("i", { class: "iconfontui icon-quanping" }, null, -1);
|
|
139
|
+
const _hoisted_5 = [
|
|
140
|
+
_hoisted_4
|
|
141
|
+
];
|
|
142
|
+
const _hoisted_6 = {
|
|
138
143
|
ref: "JsonViewerDialogDom",
|
|
139
144
|
style: { "height": "calc(100% - 24px)" }
|
|
140
145
|
};
|
|
146
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
147
|
+
const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
141
148
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
142
149
|
const _component_el_tooltip = ElTooltip;
|
|
143
150
|
const _component_el_main = ElMain;
|
|
@@ -165,24 +172,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
172
|
content: _ctx.item.data.tip,
|
|
166
173
|
placement: "top"
|
|
167
174
|
}, {
|
|
168
|
-
default: withCtx(() =>
|
|
169
|
-
|
|
170
|
-
])
|
|
171
|
-
_: 1
|
|
172
|
-
__: [1]
|
|
175
|
+
default: withCtx(() => [
|
|
176
|
+
_hoisted_2
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
173
179
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
174
180
|
], 6),
|
|
175
181
|
createElementVNode("div", {
|
|
176
182
|
class: "control",
|
|
177
183
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
178
184
|
}, [
|
|
179
|
-
createElementVNode("div",
|
|
185
|
+
createElementVNode("div", _hoisted_3, [
|
|
180
186
|
createElementVNode("div", {
|
|
181
187
|
class: "fullScreen",
|
|
182
188
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.showCustomDialog && _ctx.showCustomDialog(...args))
|
|
183
|
-
},
|
|
184
|
-
createElementVNode("i", { class: "iconfontui icon-quanping" }, null, -1)
|
|
185
|
-
]))
|
|
189
|
+
}, _hoisted_5)
|
|
186
190
|
], 512)
|
|
187
191
|
], 4),
|
|
188
192
|
createVNode(_component_CustomDialog, {
|
|
@@ -196,7 +200,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
196
200
|
default: withCtx(() => [
|
|
197
201
|
createVNode(_component_el_main, { class: "my-pageMain" }, {
|
|
198
202
|
default: withCtx(() => [
|
|
199
|
-
createElementVNode("div",
|
|
203
|
+
createElementVNode("div", _hoisted_6, null, 512)
|
|
200
204
|
]),
|
|
201
205
|
_: 1
|
|
202
206
|
}),
|
|
@@ -209,18 +213,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
209
213
|
type: "primary",
|
|
210
214
|
onClick: _ctx.saveJson
|
|
211
215
|
}, {
|
|
212
|
-
default: withCtx(() =>
|
|
213
|
-
|
|
214
|
-
])
|
|
215
|
-
_: 1
|
|
216
|
-
__: [3]
|
|
216
|
+
default: withCtx(() => [
|
|
217
|
+
_hoisted_7
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
217
220
|
}, 8, ["onClick"]),
|
|
218
221
|
createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
|
|
219
|
-
default: withCtx(() =>
|
|
220
|
-
|
|
221
|
-
])
|
|
222
|
-
_: 1
|
|
223
|
-
__: [4]
|
|
222
|
+
default: withCtx(() => [
|
|
223
|
+
_hoisted_8
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
224
226
|
}, 8, ["onClick"])
|
|
225
227
|
]),
|
|
226
228
|
_: 1
|
|
@@ -3,9 +3,11 @@ import 'element-plus/es/components/base/style/css';
|
|
|
3
3
|
import 'element-plus/es/components/tooltip/style/css';
|
|
4
4
|
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx } from 'vue';
|
|
5
5
|
import E from 'wangeditor';
|
|
6
|
-
import { _ as _export_sfc, g as getFormConfig, f as fieldProps, u as useWatch } from './main-
|
|
6
|
+
import { _ as _export_sfc, g as getFormConfig, f as fieldProps, u as useWatch } from './main-2d947b2c.mjs';
|
|
7
|
+
import 'element-plus/es/components/icon/style/css';
|
|
7
8
|
import 'element-plus/es/components/input/style/css';
|
|
8
9
|
import 'element-plus/es/components/checkbox/style/css';
|
|
10
|
+
import '@element-plus/icons-vue';
|
|
9
11
|
import 'element-plus/es/components/loading/style/css';
|
|
10
12
|
import 'element-plus/es/components/dropdown/style/css';
|
|
11
13
|
import 'element-plus/es/components/dropdown-menu/style/css';
|
|
@@ -14,11 +16,9 @@ import 'element-plus/es/components/collapse/style/css';
|
|
|
14
16
|
import 'element-plus/es/components/collapse-item/style/css';
|
|
15
17
|
import 'element-plus/es/components/row/style/css';
|
|
16
18
|
import 'element-plus/es/components/button/style/css';
|
|
17
|
-
import 'element-plus/es/components/icon/style/css';
|
|
18
19
|
import 'element-plus/es/components/col/style/css';
|
|
19
20
|
import 'element-plus/es/components/select/style/css';
|
|
20
21
|
import 'element-plus/es/components/option/style/css';
|
|
21
|
-
import '@element-plus/icons-vue';
|
|
22
22
|
import 'element-plus/es/components/input-number/style/css';
|
|
23
23
|
import 'element-plus/es/components/radio-group/style/css';
|
|
24
24
|
import 'element-plus/es/components/radio-button/style/css';
|
|
@@ -79,11 +79,12 @@ const _hoisted_1 = {
|
|
|
79
79
|
key: 0,
|
|
80
80
|
class: "item_require"
|
|
81
81
|
};
|
|
82
|
-
const _hoisted_2 = {
|
|
82
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
83
|
+
const _hoisted_3 = {
|
|
83
84
|
key: 0,
|
|
84
85
|
ref: "richText"
|
|
85
86
|
};
|
|
86
|
-
const
|
|
87
|
+
const _hoisted_4 = {
|
|
87
88
|
key: 1,
|
|
88
89
|
ref: "richText"
|
|
89
90
|
};
|
|
@@ -105,19 +106,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
105
106
|
content: _ctx.item.data.tip,
|
|
106
107
|
placement: "top"
|
|
107
108
|
}, {
|
|
108
|
-
default: withCtx(() =>
|
|
109
|
-
|
|
110
|
-
])
|
|
111
|
-
_: 1
|
|
112
|
-
__: [0]
|
|
109
|
+
default: withCtx(() => [
|
|
110
|
+
_hoisted_2
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
113
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
114
114
|
], 6),
|
|
115
115
|
createElementVNode("div", {
|
|
116
116
|
class: "control",
|
|
117
117
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
118
118
|
}, [
|
|
119
|
-
_ctx.drag ? (openBlock(), createElementBlock("div",
|
|
120
|
-
!_ctx.drag ? (openBlock(), createElementBlock("div",
|
|
119
|
+
_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3, null, 512)) : createCommentVNode("", true),
|
|
120
|
+
!_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_4, null, 512)) : createCommentVNode("", true)
|
|
121
121
|
], 4)
|
|
122
122
|
], 2);
|
|
123
123
|
}
|