starfish-editor-custom 1.0.42 → 1.0.44

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.
Files changed (44) hide show
  1. package/dist/ConditionModule.js +46 -56
  2. package/dist/ConditionSelect.js +23 -29
  3. package/dist/CustomDialog.js +1 -1
  4. package/dist/formStyle.js +26 -20
  5. package/dist/jsonCode.js +1 -1
  6. package/dist/jsonEditor.js +1 -1
  7. package/dist/main.js +275 -247
  8. package/dist/types/editor/src/common/ConditionSelect/ConditionGroup.vue.d.ts +0 -18
  9. package/dist/types/editor/src/common/ConditionSelect/ConditionModule.vue.d.ts +0 -17
  10. package/dist/types/editor/src/common/ConditionSelect/ConditionTanc.vue.d.ts +0 -30
  11. package/dist/types/editor/src/common/ConditionSelect.vue.d.ts +36 -14
  12. package/dist/types/editor/src/common/CustomDialog.vue.d.ts +11 -12
  13. package/dist/types/editor/src/common/Loading.vue.d.ts +2 -2
  14. package/dist/types/editor/src/common/jsonCode.vue.d.ts +104 -9
  15. package/dist/types/editor/src/components/ComponentList.vue.d.ts +31 -2
  16. package/dist/types/editor/src/components/FormPreview.vue.d.ts +65 -8
  17. package/dist/types/editor/src/components/Nav.vue.d.ts +2 -2
  18. package/dist/types/editor/src/components/PropsPanel.vue.d.ts +24 -16
  19. package/dist/types/editor/src/components/Shape.vue.d.ts +9 -10
  20. package/dist/types/editor/src/components/Workspace.vue.d.ts +8 -9
  21. package/dist/types/editor/src/components/globalFormList.vue.d.ts +2 -3
  22. package/dist/types/editor/src/components/jsonEditor.vue.d.ts +3 -4
  23. package/dist/types/editor/src/controller/action.d.ts +1 -1
  24. package/dist/types/editor/src/controller/form.d.ts +1 -1
  25. package/dist/types/editor/src/controller/history.d.ts +1 -1
  26. package/dist/types/editor/src/controller/shortcut.d.ts +1 -1
  27. package/dist/types/editor/src/controller/ui.d.ts +1 -1
  28. package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +12 -6
  29. package/dist/types/editor/src/layouts/Framework.vue.d.ts +18 -6
  30. package/dist/types/editor/src/layouts/Resizer.vue.d.ts +6 -7
  31. package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +4 -4
  32. package/dist/types/editor/src/starfish-editor.vue.d.ts +16 -10
  33. package/dist/types/editor/src/type.d.ts +7 -7
  34. package/dist/types/editor/src/utils/formKeycon.d.ts +1 -1
  35. package/package.json +55 -65
  36. package/src/controller/shortcut.ts +1 -1
  37. package/src/styles/component-list.scss +74 -74
  38. package/src/styles/custom-dialog.scss +110 -110
  39. package/src/styles/form-preview.scss +50 -50
  40. package/src/styles/framework.scss +150 -150
  41. package/src/styles/nav-list.scss +60 -60
  42. package/src/styles/props-panel.scss +124 -124
  43. package/src/styles/work-space.scss +129 -129
  44. package/stats.html +3690 -4918
@@ -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
- _: 2
297
- }, 1032, ["modelValue", "onUpdate:modelValue"])
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
- _: 2
321
- }, 1032, ["modelValue", "onUpdate:modelValue"])
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
- _: 2
346
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
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
- _: 2
397
- }, 1032, ["modelValue", "onUpdate:modelValue", "multiple"])) : createCommentVNode("", true),
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
- _hoisted_1$2
421
- ]),
422
- _: 2
423
- }, 1032, ["onClick"])
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
- _hoisted_2$2
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
- _hoisted_3$2
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
- _hoisted_4$2
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 = /* @__PURE__ */ createTextVNode("\u589E\u52A0\u6761\u4EF6");
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
- _hoisted_2$1
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
- _hoisted_3$1
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
- _hoisted_4$1
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", _hoisted_5$1, [
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 = /* @__PURE__ */ createElementVNode("div", { class: "tipContent" }, "\u6EE1\u8DB3\u4EE5\u4E0B\u6240\u6709\u6761\u4EF6\u65F6,\u6B64\u7EC4\u4EF6\u53EF\u7528", -1);
820
- const _hoisted_2 = { class: "conditionContainer" };
821
- const _hoisted_3 = { class: "stringlist" };
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
- _hoisted_1,
844
- createElementVNode("div", _hoisted_2, [
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", _hoisted_3, [
851
- createElementVNode("pre", { innerHTML: $data.stringLink }, null, 8, _hoisted_4)
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
- _hoisted_5
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
- _hoisted_6
874
- ]),
862
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
863
+ createTextVNode("\u5173\u95ED", -1)
864
+ ])]),
875
865
  _: 1
876
866
  }, 8, ["onClick"])
877
867
  ]),
@@ -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, createElementVNode, createTextVNode } from "vue";
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
- _hoisted_1,
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
- _: 2
289
- }, 1032, ["modelValue", "onUpdate:modelValue"])
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
- _hoisted_2
412
- ]),
413
- _: 2
414
- }, 1032, ["onClick"])
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
- _hoisted_3
429
- ]),
430
- _: 2
431
- }, 1032, ["onClick"])
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
- _hoisted_4
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
- _hoisted_5
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
- _hoisted_6
464
- ]),
456
+ default: withCtx(() => [..._cache[5] || (_cache[5] = [
457
+ createTextVNode("\u5173\u95ED", -1)
458
+ ])]),
465
459
  _: 1
466
460
  }, 8, ["onClick"])
467
461
  ]),
@@ -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 = /* @__PURE__ */ (() => ".MyDialogBody[data-v-81022734]{position:relative}.fullscreen[data-v-81022734]{width:100%!important;height:100%!important;margin:0;padding:0}\n")();
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 = /* @__PURE__ */ (() => ".cm-gutters.cm-gutters-before{background:#133F63}\n")();
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(caItem.indexOf(".") + 1, caItem.indexOf(".", 1));
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(caItem.indexOf(".") + 1, caItem.indexOf(" "));
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(caItem.indexOf(".") + 1, caItem.indexOf("{"));
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 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
150
- const _hoisted_5 = { class: "control" };
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
- _hoisted_4
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", _hoisted_5, [
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", _hoisted_6, [
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
- _hoisted_7
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
- _hoisted_8
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 = /* @__PURE__ */ (() => ".\\37c 2 .cm-gutters{background:#133F63;border-right:1px solid #1C4E7E}\n")();
32
+ var jsonCode_vue_vue_type_style_index_0_lang = "";
33
33
  const _sfc_main = defineComponent({
34
34
  components: {
35
35
  Codemirror
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, inject, computed, onMounted, toRaw, openBlock, createElementBlock } from "vue";
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";