starfish-editor-custom 1.0.42 → 1.0.43
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/ConditionModule.js +46 -56
- package/dist/ConditionSelect.js +23 -29
- package/dist/CustomDialog.js +1 -1
- package/dist/formStyle.js +26 -20
- package/dist/jsonCode.js +1 -1
- package/dist/jsonEditor.js +1 -1
- package/dist/main.js +275 -247
- package/dist/types/editor/src/common/ConditionSelect/ConditionGroup.vue.d.ts +0 -18
- package/dist/types/editor/src/common/ConditionSelect/ConditionModule.vue.d.ts +0 -17
- package/dist/types/editor/src/common/ConditionSelect/ConditionTanc.vue.d.ts +0 -30
- package/dist/types/editor/src/common/ConditionSelect.vue.d.ts +36 -14
- package/dist/types/editor/src/common/CustomDialog.vue.d.ts +11 -12
- package/dist/types/editor/src/common/Loading.vue.d.ts +2 -2
- package/dist/types/editor/src/common/jsonCode.vue.d.ts +104 -9
- package/dist/types/editor/src/components/ComponentList.vue.d.ts +31 -2
- package/dist/types/editor/src/components/FormPreview.vue.d.ts +56 -8
- package/dist/types/editor/src/components/Nav.vue.d.ts +2 -2
- package/dist/types/editor/src/components/PropsPanel.vue.d.ts +24 -16
- package/dist/types/editor/src/components/Shape.vue.d.ts +9 -10
- package/dist/types/editor/src/components/Workspace.vue.d.ts +8 -9
- package/dist/types/editor/src/components/globalFormList.vue.d.ts +2 -3
- package/dist/types/editor/src/components/jsonEditor.vue.d.ts +3 -4
- package/dist/types/editor/src/controller/action.d.ts +1 -1
- package/dist/types/editor/src/controller/form.d.ts +1 -1
- package/dist/types/editor/src/controller/history.d.ts +1 -1
- package/dist/types/editor/src/controller/shortcut.d.ts +1 -1
- package/dist/types/editor/src/controller/ui.d.ts +1 -1
- package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +12 -6
- package/dist/types/editor/src/layouts/Framework.vue.d.ts +18 -6
- package/dist/types/editor/src/layouts/Resizer.vue.d.ts +6 -7
- package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +4 -4
- package/dist/types/editor/src/starfish-editor.vue.d.ts +16 -10
- package/dist/types/editor/src/type.d.ts +7 -7
- package/dist/types/editor/src/utils/formKeycon.d.ts +1 -1
- package/package.json +55 -65
- package/src/controller/shortcut.ts +1 -1
- package/src/styles/component-list.scss +74 -74
- package/src/styles/custom-dialog.scss +110 -110
- package/src/styles/form-preview.scss +50 -50
- package/src/styles/framework.scss +150 -150
- package/src/styles/nav-list.scss +60 -60
- package/src/styles/props-panel.scss +124 -124
- package/src/styles/work-space.scss +129 -129
- package/stats.html +3690 -4918
package/dist/ConditionModule.js
CHANGED
|
@@ -234,10 +234,6 @@ const _sfc_main$2 = {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
|
-
const _hoisted_1$2 = /* @__PURE__ */ createTextVNode(" \u5220\u9664 ");
|
|
238
|
-
const _hoisted_2$2 = /* @__PURE__ */ createTextVNode("+\u6761\u4EF6");
|
|
239
|
-
const _hoisted_3$2 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
240
|
-
const _hoisted_4$2 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
241
237
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
242
238
|
const _component_el_option = ElOption;
|
|
243
239
|
const _component_el_select = ElSelect;
|
|
@@ -293,8 +289,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
293
289
|
}, null, 8, ["label", "value"]);
|
|
294
290
|
}), 128))
|
|
295
291
|
]),
|
|
296
|
-
_:
|
|
297
|
-
},
|
|
292
|
+
_: 1
|
|
293
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])
|
|
298
294
|
]),
|
|
299
295
|
_: 1
|
|
300
296
|
}),
|
|
@@ -317,8 +313,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
317
313
|
}, null, 8, ["label", "value"]);
|
|
318
314
|
}), 128))
|
|
319
315
|
]),
|
|
320
|
-
_:
|
|
321
|
-
},
|
|
316
|
+
_: 1
|
|
317
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])
|
|
322
318
|
]),
|
|
323
319
|
_: 1
|
|
324
320
|
}),
|
|
@@ -342,8 +338,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
342
338
|
}, null, 8, ["label", "value"]);
|
|
343
339
|
}), 128))
|
|
344
340
|
]),
|
|
345
|
-
_:
|
|
346
|
-
},
|
|
341
|
+
_: 1
|
|
342
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
347
343
|
]),
|
|
348
344
|
_: 1
|
|
349
345
|
}),
|
|
@@ -393,8 +389,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
393
389
|
}, null, 8, ["label", "value"]);
|
|
394
390
|
}), 128))
|
|
395
391
|
]),
|
|
396
|
-
_:
|
|
397
|
-
},
|
|
392
|
+
_: 1
|
|
393
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "multiple"])) : createCommentVNode("", true),
|
|
398
394
|
scope.row.type == "\u5E03\u5C14" ? (openBlock(), createBlock(_component_el_switch, {
|
|
399
395
|
key: 2,
|
|
400
396
|
modelValue: scope.row.value,
|
|
@@ -416,11 +412,11 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
416
412
|
type: "danger",
|
|
417
413
|
onClick: withModifiers(($event) => $options.deleteRow(scope.$index, _ctx.index), ["prevent"])
|
|
418
414
|
}, {
|
|
419
|
-
default: withCtx(() => [
|
|
420
|
-
|
|
421
|
-
]),
|
|
422
|
-
_:
|
|
423
|
-
},
|
|
415
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
416
|
+
createTextVNode(" \u5220\u9664 ", -1)
|
|
417
|
+
])]),
|
|
418
|
+
_: 1
|
|
419
|
+
}, 8, ["onClick"])
|
|
424
420
|
]),
|
|
425
421
|
_: 1
|
|
426
422
|
})
|
|
@@ -434,9 +430,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
434
430
|
onClick: $options.onAddItem,
|
|
435
431
|
style: { "width": "100%" }
|
|
436
432
|
}, {
|
|
437
|
-
default: withCtx(() => [
|
|
438
|
-
|
|
439
|
-
]),
|
|
433
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
434
|
+
createTextVNode("+\u6761\u4EF6", -1)
|
|
435
|
+
])]),
|
|
440
436
|
_: 1
|
|
441
437
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
442
438
|
]),
|
|
@@ -451,15 +447,15 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
451
447
|
type: "primary",
|
|
452
448
|
onClick: $options.saveJson
|
|
453
449
|
}, {
|
|
454
|
-
default: withCtx(() => [
|
|
455
|
-
|
|
456
|
-
]),
|
|
450
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
451
|
+
createTextVNode("\u4FDD\u5B58", -1)
|
|
452
|
+
])]),
|
|
457
453
|
_: 1
|
|
458
454
|
}, 8, ["onClick"]),
|
|
459
455
|
createVNode(_component_el_button, { onClick: $options.closeDialog }, {
|
|
460
|
-
default: withCtx(() => [
|
|
461
|
-
|
|
462
|
-
]),
|
|
456
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
457
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
458
|
+
])]),
|
|
463
459
|
_: 1
|
|
464
460
|
}, 8, ["onClick"])
|
|
465
461
|
]),
|
|
@@ -610,10 +606,7 @@ const _sfc_main$1 = {
|
|
|
610
606
|
}
|
|
611
607
|
};
|
|
612
608
|
const _hoisted_1$1 = { class: "control" };
|
|
613
|
-
const _hoisted_2$1 =
|
|
614
|
-
const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u5220\u9664");
|
|
615
|
-
const _hoisted_4$1 = /* @__PURE__ */ createTextVNode("\u7F16\u8F91");
|
|
616
|
-
const _hoisted_5$1 = { class: "moreCondition" };
|
|
609
|
+
const _hoisted_2$1 = { class: "moreCondition" };
|
|
617
610
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
618
611
|
const _component_el_option = ElOption;
|
|
619
612
|
const _component_el_select = ElSelect;
|
|
@@ -659,9 +652,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
659
652
|
size: "default",
|
|
660
653
|
disabled: !$props.result.type || $props.result.type == "data"
|
|
661
654
|
}, {
|
|
662
|
-
default: withCtx(() => [
|
|
663
|
-
|
|
664
|
-
]),
|
|
655
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
656
|
+
createTextVNode("\u589E\u52A0\u6761\u4EF6", -1)
|
|
657
|
+
])]),
|
|
665
658
|
_: 1
|
|
666
659
|
}, 8, ["onClick", "disabled"]),
|
|
667
660
|
createVNode(_component_el_button, {
|
|
@@ -669,9 +662,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
669
662
|
onClick: $options.onDeleteItem,
|
|
670
663
|
size: "default"
|
|
671
664
|
}, {
|
|
672
|
-
default: withCtx(() => [
|
|
673
|
-
|
|
674
|
-
]),
|
|
665
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
666
|
+
createTextVNode("\u5220\u9664", -1)
|
|
667
|
+
])]),
|
|
675
668
|
_: 1
|
|
676
669
|
}, 8, ["onClick"]),
|
|
677
670
|
$props.result.type == "data" ? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -680,14 +673,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
680
673
|
onClick: $options.onEditData,
|
|
681
674
|
size: "default"
|
|
682
675
|
}, {
|
|
683
|
-
default: withCtx(() => [
|
|
684
|
-
|
|
685
|
-
]),
|
|
676
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
677
|
+
createTextVNode("\u7F16\u8F91", -1)
|
|
678
|
+
])]),
|
|
686
679
|
_: 1
|
|
687
680
|
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
688
681
|
createVNode(Transition, null, {
|
|
689
682
|
default: withCtx(() => [
|
|
690
|
-
withDirectives(createElementVNode("div",
|
|
683
|
+
withDirectives(createElementVNode("div", _hoisted_2$1, [
|
|
691
684
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.result.result, (item, index) => {
|
|
692
685
|
return openBlock(), createElementBlock("div", {
|
|
693
686
|
key: index,
|
|
@@ -816,12 +809,9 @@ const _sfc_main = {
|
|
|
816
809
|
}
|
|
817
810
|
}
|
|
818
811
|
};
|
|
819
|
-
const _hoisted_1 =
|
|
820
|
-
const _hoisted_2 = { class: "
|
|
821
|
-
const _hoisted_3 =
|
|
822
|
-
const _hoisted_4 = ["innerHTML"];
|
|
823
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
824
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
812
|
+
const _hoisted_1 = { class: "conditionContainer" };
|
|
813
|
+
const _hoisted_2 = { class: "stringlist" };
|
|
814
|
+
const _hoisted_3 = ["innerHTML"];
|
|
825
815
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
826
816
|
const _component_ConditionGroup = resolveComponent("ConditionGroup");
|
|
827
817
|
const _component_el_main = ElMain;
|
|
@@ -840,15 +830,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
840
830
|
default: withCtx(() => [
|
|
841
831
|
createVNode(_component_el_main, { class: "my-pageMain" }, {
|
|
842
832
|
default: withCtx(() => [
|
|
843
|
-
|
|
844
|
-
createElementVNode("div",
|
|
833
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "tipContent" }, "\u6EE1\u8DB3\u4EE5\u4E0B\u6240\u6709\u6761\u4EF6\u65F6,\u6B64\u7EC4\u4EF6\u53EF\u7528", -1)),
|
|
834
|
+
createElementVNode("div", _hoisted_1, [
|
|
845
835
|
createVNode(_component_ConditionGroup, {
|
|
846
836
|
result: $data.result,
|
|
847
837
|
onUpdate: $options.handleUpdateForce,
|
|
848
838
|
fieldList: $data.leftField
|
|
849
839
|
}, null, 8, ["result", "onUpdate", "fieldList"]),
|
|
850
|
-
createElementVNode("div",
|
|
851
|
-
createElementVNode("pre", { innerHTML: $data.stringLink }, null, 8,
|
|
840
|
+
createElementVNode("div", _hoisted_2, [
|
|
841
|
+
createElementVNode("pre", { innerHTML: $data.stringLink }, null, 8, _hoisted_3)
|
|
852
842
|
])
|
|
853
843
|
])
|
|
854
844
|
]),
|
|
@@ -863,15 +853,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
863
853
|
type: "primary",
|
|
864
854
|
onClick: $options.saveJson
|
|
865
855
|
}, {
|
|
866
|
-
default: withCtx(() => [
|
|
867
|
-
|
|
868
|
-
]),
|
|
856
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
857
|
+
createTextVNode("\u4FDD\u5B58", -1)
|
|
858
|
+
])]),
|
|
869
859
|
_: 1
|
|
870
860
|
}, 8, ["onClick"]),
|
|
871
861
|
createVNode(_component_el_button, { onClick: $options.closeDialog }, {
|
|
872
|
-
default: withCtx(() => [
|
|
873
|
-
|
|
874
|
-
]),
|
|
862
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
863
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
864
|
+
])]),
|
|
875
865
|
_: 1
|
|
876
866
|
}, 8, ["onClick"])
|
|
877
867
|
]),
|
package/dist/ConditionSelect.js
CHANGED
|
@@ -12,7 +12,7 @@ import "element-plus/es/components/input/style/css";
|
|
|
12
12
|
import "element-plus/es/components/table-column/style/css";
|
|
13
13
|
import "element-plus/es/components/select/style/css";
|
|
14
14
|
import "element-plus/es/components/option/style/css";
|
|
15
|
-
import { defineComponent, ref, reactive, toRefs, toRaw, resolveComponent, openBlock, createBlock, Teleport, createVNode, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, withModifiers,
|
|
15
|
+
import { defineComponent, ref, reactive, toRefs, toRaw, resolveComponent, openBlock, createBlock, Teleport, createVNode, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, withModifiers, createTextVNode } from "vue";
|
|
16
16
|
import { _ as _export_sfc, f as formStore } from "./main.js";
|
|
17
17
|
import "element-plus/dist/index.css";
|
|
18
18
|
import "jsoneditor/dist/jsoneditor.min.css";
|
|
@@ -222,12 +222,6 @@ const _sfc_main = defineComponent({
|
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
|
-
const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "tipContent" }, "\u6EE1\u8DB3\u4EE5\u4E0B\u6240\u6709\u6761\u4EF6\u65F6,\u6B64\u7EC4\u4EF6\u53EF\u7528", -1);
|
|
226
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u5220\u9664 ");
|
|
227
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("+\u5E76\u6761\u4EF6");
|
|
228
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("+\u6216\u6761\u4EF6");
|
|
229
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
230
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
231
225
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
232
226
|
const _component_el_option = ElOption;
|
|
233
227
|
const _component_el_select = ElSelect;
|
|
@@ -254,7 +248,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
248
|
default: withCtx(() => [
|
|
255
249
|
createVNode(_component_el_main, { class: "my-pageMain" }, {
|
|
256
250
|
default: withCtx(() => [
|
|
257
|
-
|
|
251
|
+
_cache[3] || (_cache[3] = createElementVNode("div", { class: "tipContent" }, "\u6EE1\u8DB3\u4EE5\u4E0B\u6240\u6709\u6761\u4EF6\u65F6,\u6B64\u7EC4\u4EF6\u53EF\u7528", -1)),
|
|
258
252
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.andData, (table, index) => {
|
|
259
253
|
return openBlock(), createElementBlock("div", {
|
|
260
254
|
class: "tableContainer",
|
|
@@ -285,8 +279,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
285
279
|
}, null, 8, ["label", "value"]);
|
|
286
280
|
}), 128))
|
|
287
281
|
]),
|
|
288
|
-
_:
|
|
289
|
-
},
|
|
282
|
+
_: 1
|
|
283
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])
|
|
290
284
|
]),
|
|
291
285
|
_: 1
|
|
292
286
|
}),
|
|
@@ -407,11 +401,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
407
401
|
type: "danger",
|
|
408
402
|
onClick: withModifiers(($event) => _ctx.deleteRow(scope.$index, index), ["prevent"])
|
|
409
403
|
}, {
|
|
410
|
-
default: withCtx(() => [
|
|
411
|
-
|
|
412
|
-
]),
|
|
413
|
-
_:
|
|
414
|
-
},
|
|
404
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
405
|
+
createTextVNode(" \u5220\u9664 ", -1)
|
|
406
|
+
])]),
|
|
407
|
+
_: 1
|
|
408
|
+
}, 8, ["onClick"])
|
|
415
409
|
]),
|
|
416
410
|
_: 2
|
|
417
411
|
}, 1024)
|
|
@@ -424,11 +418,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
424
418
|
text: "",
|
|
425
419
|
onClick: ($event) => _ctx.onAddItem(index)
|
|
426
420
|
}, {
|
|
427
|
-
default: withCtx(() => [
|
|
428
|
-
|
|
429
|
-
]),
|
|
430
|
-
_:
|
|
431
|
-
},
|
|
421
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
422
|
+
createTextVNode("+\u5E76\u6761\u4EF6", -1)
|
|
423
|
+
])]),
|
|
424
|
+
_: 1
|
|
425
|
+
}, 8, ["onClick"])
|
|
432
426
|
]);
|
|
433
427
|
}), 128)),
|
|
434
428
|
createVNode(_component_el_button, {
|
|
@@ -436,9 +430,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
436
430
|
text: "",
|
|
437
431
|
onClick: _ctx.onOrItem
|
|
438
432
|
}, {
|
|
439
|
-
default: withCtx(() => [
|
|
440
|
-
|
|
441
|
-
]),
|
|
433
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
434
|
+
createTextVNode("+\u6216\u6761\u4EF6", -1)
|
|
435
|
+
])]),
|
|
442
436
|
_: 1
|
|
443
437
|
}, 8, ["onClick"])
|
|
444
438
|
]),
|
|
@@ -453,15 +447,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
453
447
|
type: "primary",
|
|
454
448
|
onClick: _ctx.saveJson
|
|
455
449
|
}, {
|
|
456
|
-
default: withCtx(() => [
|
|
457
|
-
|
|
458
|
-
]),
|
|
450
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
451
|
+
createTextVNode("\u4FDD\u5B58", -1)
|
|
452
|
+
])]),
|
|
459
453
|
_: 1
|
|
460
454
|
}, 8, ["onClick"]),
|
|
461
455
|
createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
|
|
462
|
-
default: withCtx(() => [
|
|
463
|
-
|
|
464
|
-
]),
|
|
456
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
457
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
458
|
+
])]),
|
|
465
459
|
_: 1
|
|
466
460
|
}, 8, ["onClick"])
|
|
467
461
|
]),
|
package/dist/CustomDialog.js
CHANGED
|
@@ -28,7 +28,7 @@ import "element-plus/es/components/tree/style/css";
|
|
|
28
28
|
import "element-plus/es/components/tooltip/style/css";
|
|
29
29
|
import "gesto";
|
|
30
30
|
import "keycon";
|
|
31
|
-
var CustomDialog_vue_vue_type_style_index_0_scoped_true_lang =
|
|
31
|
+
var CustomDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
32
32
|
const _sfc_main = defineComponent({
|
|
33
33
|
props: {
|
|
34
34
|
dialogclass: String,
|
package/dist/formStyle.js
CHANGED
|
@@ -29,7 +29,7 @@ import "element-plus/es/components/drawer/style/css";
|
|
|
29
29
|
import "element-plus/es/components/tree/style/css";
|
|
30
30
|
import "gesto";
|
|
31
31
|
import "keycon";
|
|
32
|
-
var formStyle_vue_vue_type_style_index_0_lang =
|
|
32
|
+
var formStyle_vue_vue_type_style_index_0_lang = "";
|
|
33
33
|
const _sfc_main = defineComponent({
|
|
34
34
|
ControlType: "FormStyle",
|
|
35
35
|
isHide: true,
|
|
@@ -83,18 +83,27 @@ const _sfc_main = defineComponent({
|
|
|
83
83
|
classArray.forEach((cItem) => {
|
|
84
84
|
const caItem = cItem.trim();
|
|
85
85
|
if (caItem.indexOf(".", 1) !== -1) {
|
|
86
|
-
const newClass = caItem.substring(
|
|
86
|
+
const newClass = caItem.substring(
|
|
87
|
+
caItem.indexOf(".") + 1,
|
|
88
|
+
caItem.indexOf(".", 1)
|
|
89
|
+
);
|
|
87
90
|
if (newClass) {
|
|
88
91
|
cssNameArray.push(newClass.trim());
|
|
89
92
|
}
|
|
90
93
|
} else if (caItem.indexOf(" ") !== -1) {
|
|
91
|
-
const newClass = caItem.substring(
|
|
94
|
+
const newClass = caItem.substring(
|
|
95
|
+
caItem.indexOf(".") + 1,
|
|
96
|
+
caItem.indexOf(" ")
|
|
97
|
+
);
|
|
92
98
|
if (newClass) {
|
|
93
99
|
cssNameArray.push(newClass.trim());
|
|
94
100
|
}
|
|
95
101
|
} else {
|
|
96
102
|
if (caItem.indexOf("{") !== -1) {
|
|
97
|
-
const newClass = caItem.substring(
|
|
103
|
+
const newClass = caItem.substring(
|
|
104
|
+
caItem.indexOf(".") + 1,
|
|
105
|
+
caItem.indexOf("{")
|
|
106
|
+
);
|
|
98
107
|
cssNameArray.push(newClass.trim());
|
|
99
108
|
} else {
|
|
100
109
|
const newClass = caItem.substring(caItem.indexOf(".") + 1);
|
|
@@ -146,11 +155,8 @@ const _hoisted_3 = {
|
|
|
146
155
|
key: 0,
|
|
147
156
|
class: "item_require"
|
|
148
157
|
};
|
|
149
|
-
const _hoisted_4 =
|
|
150
|
-
const _hoisted_5 = { class: "
|
|
151
|
-
const _hoisted_6 = { class: "custom_code" };
|
|
152
|
-
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
|
|
153
|
-
const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
158
|
+
const _hoisted_4 = { class: "control" };
|
|
159
|
+
const _hoisted_5 = { class: "custom_code" };
|
|
154
160
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
155
161
|
const _component_el_tooltip = ElTooltip;
|
|
156
162
|
const _component_el_button = ElButton;
|
|
@@ -168,13 +174,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168
174
|
content: _ctx.item.data.tip,
|
|
169
175
|
placement: "top"
|
|
170
176
|
}, {
|
|
171
|
-
default: withCtx(() => [
|
|
172
|
-
|
|
173
|
-
]),
|
|
177
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
178
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
179
|
+
])]),
|
|
174
180
|
_: 1
|
|
175
181
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
176
182
|
]),
|
|
177
|
-
createElementVNode("div",
|
|
183
|
+
createElementVNode("div", _hoisted_4, [
|
|
178
184
|
createVNode(_component_el_button, {
|
|
179
185
|
style: { "width": "100%" },
|
|
180
186
|
onClick: _ctx.onStyleSet,
|
|
@@ -191,7 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
197
|
width: "1000"
|
|
192
198
|
}, {
|
|
193
199
|
default: withCtx(() => [
|
|
194
|
-
createElementVNode("div",
|
|
200
|
+
createElementVNode("div", _hoisted_5, [
|
|
195
201
|
createVNode(_component_codemirror, {
|
|
196
202
|
modelValue: _ctx.code,
|
|
197
203
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.code = $event),
|
|
@@ -212,15 +218,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
218
|
type: "primary",
|
|
213
219
|
onClick: _ctx.saveCssStyle
|
|
214
220
|
}, {
|
|
215
|
-
default: withCtx(() => [
|
|
216
|
-
|
|
217
|
-
]),
|
|
221
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
222
|
+
createTextVNode("\u786E\u5B9A", -1)
|
|
223
|
+
])]),
|
|
218
224
|
_: 1
|
|
219
225
|
}, 8, ["onClick"]),
|
|
220
226
|
createVNode(_component_el_button, { onClick: _ctx.closeCodeDialog }, {
|
|
221
|
-
default: withCtx(() => [
|
|
222
|
-
|
|
223
|
-
]),
|
|
227
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
228
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
229
|
+
])]),
|
|
224
230
|
_: 1
|
|
225
231
|
}, 8, ["onClick"])
|
|
226
232
|
]),
|
package/dist/jsonCode.js
CHANGED
|
@@ -29,7 +29,7 @@ import "element-plus/es/components/tree/style/css";
|
|
|
29
29
|
import "element-plus/es/components/tooltip/style/css";
|
|
30
30
|
import "gesto";
|
|
31
31
|
import "keycon";
|
|
32
|
-
var jsonCode_vue_vue_type_style_index_0_lang =
|
|
32
|
+
var jsonCode_vue_vue_type_style_index_0_lang = "";
|
|
33
33
|
const _sfc_main = defineComponent({
|
|
34
34
|
components: {
|
|
35
35
|
Codemirror
|
package/dist/jsonEditor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, inject, computed, onMounted,
|
|
1
|
+
import { defineComponent, ref, inject, computed, onMounted, openBlock, createElementBlock, toRaw } from "vue";
|
|
2
2
|
import JSONEditor from "jsoneditor";
|
|
3
3
|
import { _ as _export_sfc } from "./main.js";
|
|
4
4
|
import "element-plus/dist/index.css";
|