starfish-form-custom 1.0.1 → 1.0.3
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-fcf900d7.mjs → formAction-49d001ba.mjs} +62 -60
- package/dist/{index-82e8a764.mjs → index-489c57ea.mjs} +26 -24
- package/dist/{index-ed8ce15b.mjs → index-9011c6c8.mjs} +71 -68
- package/dist/{index-d7406442.mjs → index-e75e2fc5.mjs} +11 -11
- package/dist/{main-afd364dc.mjs → main-72d58014.mjs} +261 -243
- package/dist/{starfish-form-87b82cfd.mjs → starfish-form-1d0c1e4b.mjs} +5 -4
- package/dist/starfish-form.mjs +2 -2
- package/dist/style.css +6 -5
- 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 +5 -4
- package/src/common/KeyValueConfigMult.vue +5 -3
- package/src/common/formAction.vue +3 -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/styles/keyvalueConfig.scss +57 -56
- package/stats.html +2122 -2229
|
@@ -9,11 +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-72d58014.mjs';
|
|
15
15
|
import 'element-plus/es/components/icon/style/css';
|
|
16
16
|
import 'element-plus/es/components/checkbox/style/css';
|
|
17
|
+
import '@element-plus/icons-vue';
|
|
17
18
|
import 'element-plus/es/components/loading/style/css';
|
|
18
19
|
import 'element-plus/es/components/dropdown/style/css';
|
|
19
20
|
import 'element-plus/es/components/dropdown-menu/style/css';
|
|
@@ -24,7 +25,6 @@ import 'element-plus/es/components/row/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';
|
|
@@ -194,20 +194,28 @@ const _hoisted_1 = {
|
|
|
194
194
|
key: 0,
|
|
195
195
|
class: "item_require"
|
|
196
196
|
};
|
|
197
|
-
const _hoisted_2 = { class: "
|
|
198
|
-
const _hoisted_3 =
|
|
199
|
-
const _hoisted_4 = { class: "
|
|
200
|
-
const _hoisted_5 =
|
|
201
|
-
const _hoisted_6 =
|
|
202
|
-
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 = {
|
|
203
207
|
key: 0,
|
|
204
208
|
class: "event-script-menu-action"
|
|
205
209
|
};
|
|
206
|
-
const
|
|
207
|
-
const
|
|
208
|
-
const
|
|
209
|
-
const
|
|
210
|
-
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);
|
|
211
219
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
212
220
|
const _component_el_tooltip = ElTooltip;
|
|
213
221
|
const _component_el_button = ElButton;
|
|
@@ -241,11 +249,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
241
249
|
content: _ctx.item.data.tip,
|
|
242
250
|
placement: "top"
|
|
243
251
|
}, {
|
|
244
|
-
default: withCtx(() =>
|
|
245
|
-
|
|
246
|
-
])
|
|
247
|
-
_: 1
|
|
248
|
-
__: [2]
|
|
252
|
+
default: withCtx(() => [
|
|
253
|
+
_hoisted_2
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
249
256
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
250
257
|
], 6)) : createCommentVNode("", true),
|
|
251
258
|
createElementVNode("div", {
|
|
@@ -257,15 +264,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
257
264
|
style: { "width": "100%" },
|
|
258
265
|
onClick: _ctx.onAction
|
|
259
266
|
}, {
|
|
260
|
-
default: withCtx(() =>
|
|
261
|
-
|
|
262
|
-
])
|
|
263
|
-
_: 1
|
|
264
|
-
__: [3]
|
|
267
|
+
default: withCtx(() => [
|
|
268
|
+
_hoisted_3
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
265
271
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
266
272
|
createVNode(_component_CustomDialog, { ref: "actionRef" }, {
|
|
267
273
|
default: withCtx(() => [
|
|
268
|
-
createElementVNode("div",
|
|
274
|
+
createElementVNode("div", _hoisted_4, [
|
|
269
275
|
createVNode(_component_el_container, { style: { "height": "100%", "border": "1px solid rgb(238, 238, 238)" } }, {
|
|
270
276
|
default: withCtx(() => [
|
|
271
277
|
createVNode(_component_el_container, null, {
|
|
@@ -277,24 +283,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
277
283
|
default: withCtx(() => [
|
|
278
284
|
createVNode(_component_el_container, { class: "is-vertical" }, {
|
|
279
285
|
default: withCtx(() => [
|
|
280
|
-
createElementVNode("header",
|
|
286
|
+
createElementVNode("header", _hoisted_5, [
|
|
281
287
|
createVNode(_component_el_button, {
|
|
282
288
|
type: "text",
|
|
283
289
|
size: _ctx.size,
|
|
284
290
|
onClick: _ctx.addAction
|
|
285
291
|
}, {
|
|
286
|
-
default: withCtx(() =>
|
|
287
|
-
|
|
288
|
-
])
|
|
289
|
-
_: 1
|
|
290
|
-
__: [4]
|
|
292
|
+
default: withCtx(() => [
|
|
293
|
+
_hoisted_6
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
291
296
|
}, 8, ["size", "onClick"])
|
|
292
297
|
]),
|
|
293
298
|
createVNode(_component_el_main, null, {
|
|
294
299
|
default: withCtx(() => [
|
|
295
300
|
createVNode(_component_el_scrollbar, null, {
|
|
296
301
|
default: withCtx(() => [
|
|
297
|
-
createElementVNode("div",
|
|
302
|
+
createElementVNode("div", _hoisted_7, [
|
|
298
303
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.action, (item, index) => {
|
|
299
304
|
return openBlock(), createElementBlock("div", {
|
|
300
305
|
class: normalizeClass([
|
|
@@ -304,21 +309,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
304
309
|
key: index,
|
|
305
310
|
onClick: ($event) => _ctx.handleAction(item)
|
|
306
311
|
}, [
|
|
307
|
-
|
|
308
|
-
createElementVNode("div",
|
|
309
|
-
!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, [
|
|
310
315
|
createElementVNode("i", {
|
|
311
316
|
title: "\u590D\u5236",
|
|
312
317
|
class: "iconfontui icon-fuzhi",
|
|
313
318
|
onClick: withModifiers(($event) => _ctx.copyAction(item), ["stop"])
|
|
314
|
-
}, null, 8,
|
|
319
|
+
}, null, 8, _hoisted_12),
|
|
315
320
|
createElementVNode("i", {
|
|
316
321
|
title: "\u5220\u9664",
|
|
317
322
|
class: "iconfontui icon-shanchu1",
|
|
318
323
|
onClick: withModifiers(($event) => _ctx.deleteAction(item), ["stop"])
|
|
319
|
-
}, null, 8,
|
|
324
|
+
}, null, 8, _hoisted_13)
|
|
320
325
|
])) : createCommentVNode("", true)
|
|
321
|
-
], 10,
|
|
326
|
+
], 10, _hoisted_8);
|
|
322
327
|
}), 128))
|
|
323
328
|
])
|
|
324
329
|
]),
|
|
@@ -337,38 +342,35 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
337
342
|
default: withCtx(() => [
|
|
338
343
|
createVNode(_component_el_container, { class: "is-vertical" }, {
|
|
339
344
|
default: withCtx(() => [
|
|
340
|
-
createElementVNode("header",
|
|
345
|
+
createElementVNode("header", _hoisted_14, [
|
|
341
346
|
createVNode(_component_el_button, {
|
|
342
347
|
type: "primary",
|
|
343
348
|
onClick: _ctx.onConfirm,
|
|
344
|
-
size: "
|
|
349
|
+
size: "default"
|
|
345
350
|
}, {
|
|
346
|
-
default: withCtx(() =>
|
|
347
|
-
|
|
348
|
-
])
|
|
349
|
-
_: 1
|
|
350
|
-
__: [6]
|
|
351
|
+
default: withCtx(() => [
|
|
352
|
+
_hoisted_15
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
351
355
|
}, 8, ["onClick"]),
|
|
352
356
|
createVNode(_component_el_button, {
|
|
353
357
|
type: "primary",
|
|
354
358
|
onClick: _ctx.onSave,
|
|
355
|
-
size: "
|
|
359
|
+
size: "default"
|
|
356
360
|
}, {
|
|
357
|
-
default: withCtx(() =>
|
|
358
|
-
|
|
359
|
-
])
|
|
360
|
-
_: 1
|
|
361
|
-
__: [7]
|
|
361
|
+
default: withCtx(() => [
|
|
362
|
+
_hoisted_16
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
362
365
|
}, 8, ["onClick"]),
|
|
363
366
|
createVNode(_component_el_button, {
|
|
364
367
|
onClick: _ctx.onCancel,
|
|
365
|
-
size: "
|
|
368
|
+
size: "default"
|
|
366
369
|
}, {
|
|
367
|
-
default: withCtx(() =>
|
|
368
|
-
|
|
369
|
-
])
|
|
370
|
-
_: 1
|
|
371
|
-
__: [8]
|
|
370
|
+
default: withCtx(() => [
|
|
371
|
+
_hoisted_17
|
|
372
|
+
]),
|
|
373
|
+
_: 1
|
|
372
374
|
}, 8, ["onClick"])
|
|
373
375
|
]),
|
|
374
376
|
_ctx.currentAction ? (openBlock(), createBlock(_component_el_main, {
|
|
@@ -398,8 +400,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
398
400
|
}),
|
|
399
401
|
createVNode(_component_el_form_item, { prop: "funcStr" }, {
|
|
400
402
|
default: withCtx(() => [
|
|
401
|
-
createElementVNode("div",
|
|
402
|
-
createElementVNode("div",
|
|
403
|
+
createElementVNode("div", _hoisted_18, [
|
|
404
|
+
createElementVNode("div", _hoisted_19, " function " + toDisplayString(_ctx.currentAction.funcName) + "(" + toDisplayString(_ctx.getField(_ctx.currentAction.methods)) + "){ ", 1),
|
|
403
405
|
createVNode(_component_codemirror, {
|
|
404
406
|
modelValue: _ctx.currentAction.funcStr,
|
|
405
407
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.currentAction.funcStr = $event),
|
|
@@ -410,7 +412,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
410
412
|
"indent-with-tab": true,
|
|
411
413
|
"tab-size": 2
|
|
412
414
|
}, null, 8, ["modelValue"]),
|
|
413
|
-
|
|
415
|
+
_hoisted_20
|
|
414
416
|
])
|
|
415
417
|
]),
|
|
416
418
|
_: 1
|
|
@@ -6,11 +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-72d58014.mjs';
|
|
10
10
|
import JSONEditor from 'jsoneditor';
|
|
11
11
|
import 'element-plus/es/components/icon/style/css';
|
|
12
12
|
import 'element-plus/es/components/input/style/css';
|
|
13
13
|
import 'element-plus/es/components/checkbox/style/css';
|
|
14
|
+
import '@element-plus/icons-vue';
|
|
14
15
|
import 'element-plus/es/components/loading/style/css';
|
|
15
16
|
import 'element-plus/es/components/dropdown/style/css';
|
|
16
17
|
import 'element-plus/es/components/dropdown-menu/style/css';
|
|
@@ -21,7 +22,6 @@ import 'element-plus/es/components/row/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
|
|
@@ -15,9 +15,9 @@ import 'element-plus/es/components/select/style/css';
|
|
|
15
15
|
import 'element-plus/es/components/option/style/css';
|
|
16
16
|
import 'element-plus/es/components/tooltip/style/css';
|
|
17
17
|
import { defineComponent, getCurrentInstance, inject, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, Fragment, renderList, createVNode, createTextVNode } from 'vue';
|
|
18
|
-
import { _ as _export_sfc, a as _, f as fieldProps, r as ruleList, b as ruleJsonData } from './main-
|
|
18
|
+
import { _ as _export_sfc, a as _, f as fieldProps, r as ruleList, b as ruleJsonData } from './main-72d58014.mjs';
|
|
19
19
|
import { Delete } from '@element-plus/icons-vue';
|
|
20
|
-
import Dynamicform from './starfish-form-
|
|
20
|
+
import Dynamicform from './starfish-form-1d0c1e4b.mjs';
|
|
21
21
|
import { Codemirror } from 'vue-codemirror';
|
|
22
22
|
import 'element-plus/es/components/input/style/css';
|
|
23
23
|
import 'element-plus/es/components/checkbox/style/css';
|
|
@@ -209,17 +209,31 @@ const _hoisted_1 = {
|
|
|
209
209
|
key: 0,
|
|
210
210
|
class: "weight"
|
|
211
211
|
};
|
|
212
|
-
const _hoisted_2 = {
|
|
212
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
213
|
+
const _hoisted_3 = {
|
|
213
214
|
key: 0,
|
|
214
215
|
class: "collapse_enums"
|
|
215
216
|
};
|
|
216
|
-
const
|
|
217
|
-
const
|
|
218
|
-
const
|
|
217
|
+
const _hoisted_4 = { key: 1 };
|
|
218
|
+
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u51FD\u6570\u7F16\u8F91");
|
|
219
|
+
const _hoisted_6 = { key: 2 };
|
|
220
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u89C4\u5219\u8868\u5355\u7F16\u8F91");
|
|
221
|
+
const _hoisted_8 = /* @__PURE__ */ createTextVNode(" \u65B0\u589E\u89C4\u5219");
|
|
222
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-arrow-down el-icon--right" }, null, -1);
|
|
223
|
+
const _hoisted_10 = /* @__PURE__ */ createTextVNode("\u9ED8\u8BA4\u679A\u4E3E");
|
|
224
|
+
const _hoisted_11 = /* @__PURE__ */ createTextVNode("\u81EA\u5B9A\u4E49\u51FD\u6570\u89C4\u5219");
|
|
225
|
+
const _hoisted_12 = /* @__PURE__ */ createTextVNode("\u9AD8\u7EA7\u6A21\u5F0F");
|
|
226
|
+
const _hoisted_13 = {
|
|
219
227
|
key: 0,
|
|
220
228
|
class: "sqlDialog",
|
|
221
229
|
style: { "padding": "20px", "height": "100%" }
|
|
222
230
|
};
|
|
231
|
+
const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", null, "(rule, value, callback, mainData) => {", -1);
|
|
232
|
+
const _hoisted_15 = /* @__PURE__ */ createElementVNode("div", null, "}", -1);
|
|
233
|
+
const _hoisted_16 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
234
|
+
const _hoisted_17 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
235
|
+
const _hoisted_18 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
236
|
+
const _hoisted_19 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
223
237
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
224
238
|
const _component_el_tooltip = ElTooltip;
|
|
225
239
|
const _component_el_option = ElOption;
|
|
@@ -255,11 +269,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
269
|
content: _ctx.item.data.tip,
|
|
256
270
|
placement: "bottom-start"
|
|
257
271
|
}, {
|
|
258
|
-
default: withCtx(() =>
|
|
259
|
-
|
|
260
|
-
])
|
|
261
|
-
_: 1
|
|
262
|
-
__: [2]
|
|
272
|
+
default: withCtx(() => [
|
|
273
|
+
_hoisted_2
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
263
276
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
264
277
|
], 6),
|
|
265
278
|
createElementVNode("div", {
|
|
@@ -275,7 +288,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
275
288
|
key: index
|
|
276
289
|
}, {
|
|
277
290
|
default: withCtx(() => [
|
|
278
|
-
itemList.type == "enum" ? (openBlock(), createElementBlock("div",
|
|
291
|
+
itemList.type == "enum" ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
279
292
|
createVNode(_component_el_select, {
|
|
280
293
|
modelValue: itemList.value,
|
|
281
294
|
"onUpdate:modelValue": ($event) => itemList.value = $event,
|
|
@@ -295,30 +308,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
295
308
|
_: 2
|
|
296
309
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
297
310
|
])) : createCommentVNode("", true),
|
|
298
|
-
itemList.type == "func" ? (openBlock(), createElementBlock("div",
|
|
311
|
+
itemList.type == "func" ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
299
312
|
createVNode(_component_el_button, {
|
|
300
313
|
type: "primary",
|
|
301
314
|
onClick: ($event) => _ctx.handleFuncEdit(itemList),
|
|
302
315
|
size: "mini"
|
|
303
316
|
}, {
|
|
304
|
-
default: withCtx(() =>
|
|
305
|
-
|
|
306
|
-
])
|
|
307
|
-
_: 2
|
|
308
|
-
__: [3]
|
|
317
|
+
default: withCtx(() => [
|
|
318
|
+
_hoisted_5
|
|
319
|
+
]),
|
|
320
|
+
_: 2
|
|
309
321
|
}, 1032, ["onClick"])
|
|
310
322
|
])) : createCommentVNode("", true),
|
|
311
|
-
itemList.type == "high" ? (openBlock(), createElementBlock("div",
|
|
323
|
+
itemList.type == "high" ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
312
324
|
createVNode(_component_el_button, {
|
|
313
325
|
type: "primary",
|
|
314
326
|
onClick: ($event) => _ctx.handleFormEdit(itemList),
|
|
315
327
|
size: "mini"
|
|
316
328
|
}, {
|
|
317
|
-
default: withCtx(() =>
|
|
318
|
-
|
|
319
|
-
])
|
|
320
|
-
_: 2
|
|
321
|
-
__: [4]
|
|
329
|
+
default: withCtx(() => [
|
|
330
|
+
_hoisted_7
|
|
331
|
+
]),
|
|
332
|
+
_: 2
|
|
322
333
|
}, 1032, ["onClick"])
|
|
323
334
|
])) : createCommentVNode("", true),
|
|
324
335
|
createVNode(_component_el_button, {
|
|
@@ -352,25 +363,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
352
363
|
createVNode(_component_el_dropdown_menu, null, {
|
|
353
364
|
default: withCtx(() => [
|
|
354
365
|
createVNode(_component_el_dropdown_item, { command: "enum" }, {
|
|
355
|
-
default: withCtx(() =>
|
|
356
|
-
|
|
357
|
-
])
|
|
358
|
-
_: 1
|
|
359
|
-
__: [6]
|
|
366
|
+
default: withCtx(() => [
|
|
367
|
+
_hoisted_10
|
|
368
|
+
]),
|
|
369
|
+
_: 1
|
|
360
370
|
}),
|
|
361
371
|
createVNode(_component_el_dropdown_item, { command: "func" }, {
|
|
362
|
-
default: withCtx(() =>
|
|
363
|
-
|
|
364
|
-
])
|
|
365
|
-
_: 1
|
|
366
|
-
__: [7]
|
|
372
|
+
default: withCtx(() => [
|
|
373
|
+
_hoisted_11
|
|
374
|
+
]),
|
|
375
|
+
_: 1
|
|
367
376
|
}),
|
|
368
377
|
createVNode(_component_el_dropdown_item, { command: "high" }, {
|
|
369
|
-
default: withCtx(() =>
|
|
370
|
-
|
|
371
|
-
])
|
|
372
|
-
_: 1
|
|
373
|
-
__: [8]
|
|
378
|
+
default: withCtx(() => [
|
|
379
|
+
_hoisted_12
|
|
380
|
+
]),
|
|
381
|
+
_: 1
|
|
374
382
|
})
|
|
375
383
|
]),
|
|
376
384
|
_: 1
|
|
@@ -378,12 +386,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
378
386
|
]),
|
|
379
387
|
default: withCtx(() => [
|
|
380
388
|
createVNode(_component_el_button, { type: "success" }, {
|
|
381
|
-
default: withCtx(() =>
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
])
|
|
385
|
-
_: 1
|
|
386
|
-
__: [5]
|
|
389
|
+
default: withCtx(() => [
|
|
390
|
+
_hoisted_8,
|
|
391
|
+
_hoisted_9
|
|
392
|
+
]),
|
|
393
|
+
_: 1
|
|
387
394
|
})
|
|
388
395
|
]),
|
|
389
396
|
_: 1
|
|
@@ -391,7 +398,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
391
398
|
], 4),
|
|
392
399
|
createVNode(_component_CustomDialog, { ref: "codeMyDialog" }, {
|
|
393
400
|
default: withCtx(() => [
|
|
394
|
-
_ctx.funcItem ? (openBlock(), createElementBlock("div",
|
|
401
|
+
_ctx.funcItem ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
395
402
|
createVNode(_component_el_select, {
|
|
396
403
|
modelValue: _ctx.funcValue.trigger,
|
|
397
404
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.funcValue.trigger = $event),
|
|
@@ -416,7 +423,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
416
423
|
type: "success",
|
|
417
424
|
style: { "margin-bottom": "15px" }
|
|
418
425
|
}),
|
|
419
|
-
|
|
426
|
+
_hoisted_14,
|
|
420
427
|
createVNode(_component_codemirror, {
|
|
421
428
|
modelValue: _ctx.funcValue.func,
|
|
422
429
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.funcValue.func = $event),
|
|
@@ -428,7 +435,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
428
435
|
"indent-with-tab": true,
|
|
429
436
|
"tab-size": 2
|
|
430
437
|
}, null, 8, ["modelValue"]),
|
|
431
|
-
|
|
438
|
+
_hoisted_15
|
|
432
439
|
])) : createCommentVNode("", true),
|
|
433
440
|
createVNode(_component_el_footer, {
|
|
434
441
|
class: "my-Footer",
|
|
@@ -439,18 +446,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
439
446
|
onClick: _ctx.saveFunc,
|
|
440
447
|
type: "primary"
|
|
441
448
|
}, {
|
|
442
|
-
default: withCtx(() =>
|
|
443
|
-
|
|
444
|
-
])
|
|
445
|
-
_: 1
|
|
446
|
-
__: [11]
|
|
449
|
+
default: withCtx(() => [
|
|
450
|
+
_hoisted_16
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
447
453
|
}, 8, ["onClick"]),
|
|
448
454
|
createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
|
|
449
|
-
default: withCtx(() =>
|
|
450
|
-
|
|
451
|
-
])
|
|
452
|
-
_: 1
|
|
453
|
-
__: [12]
|
|
455
|
+
default: withCtx(() => [
|
|
456
|
+
_hoisted_17
|
|
457
|
+
]),
|
|
458
|
+
_: 1
|
|
454
459
|
}, 8, ["onClick"])
|
|
455
460
|
]),
|
|
456
461
|
_: 1
|
|
@@ -487,18 +492,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
487
492
|
type: "primary",
|
|
488
493
|
onClick: _ctx.saveField
|
|
489
494
|
}, {
|
|
490
|
-
default: withCtx(() =>
|
|
491
|
-
|
|
492
|
-
])
|
|
493
|
-
_: 1
|
|
494
|
-
__: [13]
|
|
495
|
+
default: withCtx(() => [
|
|
496
|
+
_hoisted_18
|
|
497
|
+
]),
|
|
498
|
+
_: 1
|
|
495
499
|
}, 8, ["onClick"]),
|
|
496
500
|
createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
|
|
497
|
-
default: withCtx(() =>
|
|
498
|
-
|
|
499
|
-
])
|
|
500
|
-
_: 1
|
|
501
|
-
__: [14]
|
|
501
|
+
default: withCtx(() => [
|
|
502
|
+
_hoisted_19
|
|
503
|
+
]),
|
|
504
|
+
_: 1
|
|
502
505
|
}, 8, ["onClick"])
|
|
503
506
|
]),
|
|
504
507
|
_: 1
|