@tmagic/editor 1.5.2 → 1.5.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.
Files changed (60) hide show
  1. package/dist/style.css +366 -6
  2. package/dist/tmagic-editor.js +1421 -509
  3. package/dist/tmagic-editor.umd.cjs +1436 -523
  4. package/package.json +7 -7
  5. package/src/components/SplitView.vue +1 -1
  6. package/src/fields/DisplayConds.vue +2 -1
  7. package/src/fields/StyleSetter/Index.vue +69 -0
  8. package/src/fields/StyleSetter/components/BackgroundPosition.vue +71 -0
  9. package/src/fields/StyleSetter/components/Border.vue +104 -0
  10. package/src/fields/StyleSetter/components/Box.vue +73 -0
  11. package/src/fields/StyleSetter/components/Position.vue +54 -0
  12. package/src/fields/StyleSetter/icons/background-position/LeftBottom.vue +7 -0
  13. package/src/fields/StyleSetter/icons/background-position/LeftCenter.vue +7 -0
  14. package/src/fields/StyleSetter/icons/background-position/LeftTop.vue +12 -0
  15. package/src/fields/StyleSetter/icons/background-position/index.ts +3 -0
  16. package/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue +8 -0
  17. package/src/fields/StyleSetter/icons/background-repeat/Repeat.vue +31 -0
  18. package/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue +8 -0
  19. package/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue +8 -0
  20. package/src/fields/StyleSetter/icons/background-repeat/index.ts +4 -0
  21. package/src/fields/StyleSetter/icons/display/Block.vue +7 -0
  22. package/src/fields/StyleSetter/icons/display/Flex.vue +7 -0
  23. package/src/fields/StyleSetter/icons/display/Inline.vue +7 -0
  24. package/src/fields/StyleSetter/icons/display/InlineBlock.vue +7 -0
  25. package/src/fields/StyleSetter/icons/display/None.vue +7 -0
  26. package/src/fields/StyleSetter/icons/display/index.ts +5 -0
  27. package/src/fields/StyleSetter/icons/flex-direction/Column.vue +7 -0
  28. package/src/fields/StyleSetter/icons/flex-direction/ColumnReverse.vue +7 -0
  29. package/src/fields/StyleSetter/icons/flex-direction/Row.vue +7 -0
  30. package/src/fields/StyleSetter/icons/flex-direction/RowReverse.vue +7 -0
  31. package/src/fields/StyleSetter/icons/flex-direction/index.ts +4 -0
  32. package/src/fields/StyleSetter/icons/justify-content/Center.vue +5 -0
  33. package/src/fields/StyleSetter/icons/justify-content/FlexEnd.vue +5 -0
  34. package/src/fields/StyleSetter/icons/justify-content/FlexStart.vue +5 -0
  35. package/src/fields/StyleSetter/icons/justify-content/SpaceAround.vue +7 -0
  36. package/src/fields/StyleSetter/icons/justify-content/SpaceBetween.vue +5 -0
  37. package/src/fields/StyleSetter/icons/justify-content/index.ts +5 -0
  38. package/src/fields/StyleSetter/icons/text-align/Center.vue +7 -0
  39. package/src/fields/StyleSetter/icons/text-align/Left.vue +7 -0
  40. package/src/fields/StyleSetter/icons/text-align/Right.vue +7 -0
  41. package/src/fields/StyleSetter/icons/text-align/index.ts +3 -0
  42. package/src/fields/StyleSetter/pro/Background.vue +78 -0
  43. package/src/fields/StyleSetter/pro/Border.vue +35 -0
  44. package/src/fields/StyleSetter/pro/Font.vue +90 -0
  45. package/src/fields/StyleSetter/pro/Layout.vue +164 -0
  46. package/src/fields/StyleSetter/pro/Position.vue +48 -0
  47. package/src/fields/StyleSetter/pro/index.ts +5 -0
  48. package/src/index.ts +3 -0
  49. package/src/layouts/props-panel/FormPanel.vue +1 -1
  50. package/src/layouts/props-panel/PropsPanel.vue +32 -2
  51. package/src/services/editor.ts +2 -2
  52. package/src/theme/props-panel.scss +13 -0
  53. package/src/theme/resizer.scss +2 -2
  54. package/src/theme/style-setter/background.scss +113 -0
  55. package/src/theme/style-setter/border.scss +53 -0
  56. package/src/theme/style-setter/index.scss +28 -0
  57. package/src/theme/style-setter/layout.scss +199 -0
  58. package/src/theme/theme.scss +1 -0
  59. package/src/utils/props.ts +52 -297
  60. package/types/index.d.ts +425 -110
@@ -23,8 +23,8 @@
23
23
 
24
24
  const monaco__namespace = /*#__PURE__*/_interopNamespaceDefault(monaco);
25
25
 
26
- const _hoisted_1$y = ["src"];
27
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
26
+ const _hoisted_1$Y = ["src"];
27
+ const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
28
28
  ...{
29
29
  name: "MEditorIcon"
30
30
  },
@@ -48,7 +48,7 @@
48
48
  class: "magic-editor-icon"
49
49
  }, {
50
50
  default: vue.withCtx(() => [
51
- vue.createElementVNode("img", { src: _ctx.icon }, null, 8, _hoisted_1$y)
51
+ vue.createElementVNode("img", { src: _ctx.icon }, null, 8, _hoisted_1$Y)
52
52
  ]),
53
53
  _: 1
54
54
  })) : typeof _ctx.icon === "string" ? (vue.openBlock(), vue.createElementBlock("i", {
@@ -76,10 +76,10 @@
76
76
  emmetMonacoEs.emmetHTML(monaco__namespace);
77
77
  emmetMonacoEs.emmetCSS(monaco__namespace, ["css", "scss"]);
78
78
 
79
- const _hoisted_1$x = {
79
+ const _hoisted_1$X = {
80
80
  class: /* @__PURE__ */ vue.normalizeClass(`magic-code-editor`)
81
81
  };
82
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
82
+ const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
83
83
  ...{
84
84
  name: "MEditorCodeEditor"
85
85
  },
@@ -236,7 +236,7 @@
236
236
  }
237
237
  });
238
238
  return (_ctx, _cache) => {
239
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
239
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
240
240
  (vue.openBlock(), vue.createBlock(vue.Teleport, {
241
241
  to: "body",
242
242
  disabled: !fullScreen.value
@@ -252,7 +252,7 @@
252
252
  onClick: fullScreenHandler
253
253
  }, {
254
254
  default: vue.withCtx(() => [
255
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.FullScreen) }, null, 8, ["icon"])
255
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.FullScreen) }, null, 8, ["icon"])
256
256
  ]),
257
257
  _: 1
258
258
  }),
@@ -268,7 +268,7 @@
268
268
  }
269
269
  });
270
270
 
271
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
271
+ const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
272
272
  ...{
273
273
  name: "MFieldsVsCode"
274
274
  },
@@ -291,7 +291,7 @@
291
291
  emit("change", v);
292
292
  };
293
293
  return (_ctx, _cache) => {
294
- return vue.openBlock(), vue.createBlock(_sfc_main$Y, {
294
+ return vue.openBlock(), vue.createBlock(_sfc_main$1r, {
295
295
  height: _ctx.config.height,
296
296
  "init-values": _ctx.model[_ctx.name],
297
297
  language: _ctx.config.language,
@@ -306,7 +306,7 @@
306
306
  }
307
307
  });
308
308
 
309
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
309
+ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
310
310
  ...{
311
311
  name: "MFieldsCodeLink"
312
312
  },
@@ -385,7 +385,7 @@
385
385
  }
386
386
  });
387
387
 
388
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
388
+ const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
389
389
  ...{
390
390
  name: "MFieldsCodeSelect"
391
391
  },
@@ -528,303 +528,60 @@
528
528
  items: [
529
529
  {
530
530
  name: "style",
531
+ labelWidth: "100px",
532
+ type: "style-setter",
531
533
  items: [
532
534
  {
533
- type: "fieldset",
534
- legend: "位置",
535
- items: [
536
- {
537
- type: "data-source-field-select",
538
- name: "position",
539
- text: "固定定位",
540
- labelPosition: "left",
541
- checkStrictly: false,
542
- dataSourceFieldType: ["string"],
543
- fieldConfig: {
544
- type: "checkbox",
545
- activeValue: "fixed",
546
- inactiveValue: "absolute",
547
- defaultValue: "absolute"
548
- }
549
- },
550
- {
551
- type: "data-source-field-select",
552
- name: "left",
553
- text: "left",
554
- checkStrictly: false,
555
- dataSourceFieldType: ["string", "number"],
556
- fieldConfig: {
557
- type: "text"
558
- }
559
- },
560
- {
561
- type: "data-source-field-select",
562
- name: "top",
563
- text: "top",
564
- checkStrictly: false,
565
- dataSourceFieldType: ["string", "number"],
566
- fieldConfig: {
567
- type: "text"
568
- },
569
- disabled: (_vm, { model }) => model.position === "fixed" && model._magic_position === "fixedBottom"
570
- },
571
- {
572
- type: "data-source-field-select",
573
- name: "right",
574
- text: "right",
575
- checkStrictly: false,
576
- dataSourceFieldType: ["string", "number"],
577
- fieldConfig: {
578
- type: "text"
579
- }
580
- },
581
- {
582
- type: "data-source-field-select",
583
- name: "bottom",
584
- text: "bottom",
585
- checkStrictly: false,
586
- dataSourceFieldType: ["string", "number"],
587
- fieldConfig: {
588
- type: "text"
589
- },
590
- disabled: (_vm, { model }) => model.position === "fixed" && model._magic_position === "fixedTop"
591
- }
592
- ]
593
- },
594
- {
595
- type: "fieldset",
596
- legend: "盒子",
597
- items: [
598
- {
599
- type: "data-source-field-select",
600
- name: "display",
601
- text: "display",
602
- checkStrictly: false,
603
- dataSourceFieldType: ["string"],
604
- fieldConfig: {
605
- type: "select",
606
- clearable: true,
607
- allowCreate: true,
608
- options: [
609
- { text: "block", value: "block" },
610
- { text: "flex", value: "flex" },
611
- { text: "none", value: "none" },
612
- { text: "inline-block", value: "inline-block" },
613
- { text: "grid", value: "grid" },
614
- { text: "inline", value: "inline" },
615
- { text: "initial", value: "initial" }
616
- ]
617
- }
618
- },
619
- {
620
- type: "data-source-field-select",
621
- name: "width",
622
- text: "宽度",
623
- checkStrictly: false,
624
- dataSourceFieldType: ["string", "number"],
625
- fieldConfig: {
626
- type: "text"
627
- }
628
- },
629
- {
630
- type: "data-source-field-select",
631
- name: "height",
632
- text: "高度",
633
- checkStrictly: false,
634
- dataSourceFieldType: ["string", "number"],
635
- fieldConfig: {
636
- type: "text"
637
- }
638
- },
639
- {
640
- type: "data-source-field-select",
641
- text: "overflow",
642
- name: "overflow",
643
- checkStrictly: false,
644
- dataSourceFieldType: ["string"],
645
- fieldConfig: {
646
- type: "select",
647
- clearable: true,
648
- allowCreate: true,
649
- options: [
650
- { text: "visible", value: "visible" },
651
- { text: "hidden", value: "hidden" },
652
- { text: "clip", value: "clip" },
653
- { text: "scroll", value: "scroll" },
654
- { text: "auto", value: "auto" },
655
- { text: "overlay", value: "overlay" },
656
- { text: "initial", value: "initial" }
657
- ]
658
- }
659
- }
660
- ]
661
- },
662
- {
663
- type: "fieldset",
664
- legend: "边框",
665
- items: [
666
- {
667
- type: "data-source-field-select",
668
- name: "borderWidth",
669
- text: "宽度",
670
- defaultValue: "0",
671
- checkStrictly: false,
672
- dataSourceFieldType: ["string", "number"],
673
- fieldConfig: {
674
- type: "text"
675
- }
676
- },
677
- {
678
- type: "data-source-field-select",
679
- name: "borderColor",
680
- text: "颜色",
681
- checkStrictly: false,
682
- dataSourceFieldType: ["string"],
683
- fieldConfig: {
684
- type: "text"
685
- }
686
- },
687
- {
688
- type: "data-source-field-select",
689
- name: "borderStyle",
690
- text: "样式",
691
- defaultValue: "none",
692
- checkStrictly: false,
693
- dataSourceFieldType: ["string"],
694
- fieldConfig: {
695
- type: "select",
696
- options: [
697
- { text: "none", value: "none" },
698
- { text: "hidden", value: "hidden" },
699
- { text: "dotted", value: "dotted" },
700
- { text: "dashed", value: "dashed" },
701
- { text: "solid", value: "solid" },
702
- { text: "double", value: "double" },
703
- { text: "groove", value: "groove" },
704
- { text: "ridge", value: "ridge" },
705
- { text: "inset", value: "inset" },
706
- { text: "outset", value: "outset" }
707
- ]
708
- }
709
- }
710
- ]
711
- },
712
- {
713
- type: "fieldset",
714
- legend: "背景",
715
- items: [
716
- {
717
- type: "data-source-field-select",
718
- name: "backgroundImage",
719
- text: "背景图",
720
- checkStrictly: false,
721
- dataSourceFieldType: ["string"],
722
- fieldConfig: {
723
- type: "img-upload"
724
- }
725
- },
726
- {
727
- type: "data-source-field-select",
728
- name: "backgroundColor",
729
- text: "背景颜色",
730
- checkStrictly: false,
731
- dataSourceFieldType: ["string"],
732
- fieldConfig: {
733
- type: "colorPicker"
734
- }
735
- },
736
- {
737
- type: "data-source-field-select",
738
- name: "backgroundRepeat",
739
- text: "背景图重复",
740
- defaultValue: "no-repeat",
741
- checkStrictly: false,
742
- dataSourceFieldType: ["string"],
743
- fieldConfig: {
744
- type: "select",
745
- options: [
746
- { text: "repeat", value: "repeat" },
747
- { text: "repeat-x", value: "repeat-x" },
748
- { text: "repeat-y", value: "repeat-y" },
749
- { text: "no-repeat", value: "no-repeat" },
750
- { text: "inherit", value: "inherit" }
751
- ]
752
- }
753
- },
754
- {
755
- type: "data-source-field-select",
756
- name: "backgroundSize",
757
- text: "背景图大小",
758
- defaultValue: "100% 100%",
759
- checkStrictly: false,
760
- dataSourceFieldType: ["string"],
761
- fieldConfig: {
762
- type: "text"
763
- }
764
- }
765
- ]
766
- },
767
- {
768
- type: "fieldset",
769
- legend: "字体",
770
- items: [
771
- {
772
- type: "data-source-field-select",
773
- name: "color",
774
- text: "颜色",
775
- checkStrictly: false,
776
- dataSourceFieldType: ["string"],
777
- fieldConfig: {
778
- type: "colorPicker"
779
- }
780
- },
781
- {
782
- type: "data-source-field-select",
783
- name: "fontSize",
784
- text: "大小",
785
- checkStrictly: false,
786
- dataSourceFieldType: ["string", "number"],
787
- fieldConfig: {
788
- type: "text"
789
- }
790
- },
791
- {
792
- type: "data-source-field-select",
793
- name: "fontWeight",
794
- text: "粗细",
795
- checkStrictly: false,
796
- dataSourceFieldType: ["string", "number"],
797
- fieldConfig: {
798
- type: "text"
799
- }
800
- }
801
- ]
802
- },
803
- {
804
- type: "fieldset",
805
- legend: "变形",
806
- name: "transform",
807
- items: [
808
- {
809
- type: "data-source-field-select",
810
- name: "rotate",
811
- text: "旋转角度",
812
- checkStrictly: false,
813
- dataSourceFieldType: ["string"],
814
- fieldConfig: {
815
- type: "text"
816
- }
817
- },
818
- {
819
- type: "data-source-field-select",
820
- name: "scale",
821
- text: "缩放",
822
- checkStrictly: false,
823
- dataSourceFieldType: ["number", "string"],
824
- fieldConfig: {
825
- type: "text"
826
- }
827
- }
535
+ names: [
536
+ "display",
537
+ "flexDirection",
538
+ "justifyContent",
539
+ "alignItems",
540
+ "flexWrap",
541
+ "marginTop",
542
+ "marginRight",
543
+ "marginBottom",
544
+ "marginLeft",
545
+ "paddingTop",
546
+ "paddingRight",
547
+ "paddingBottom",
548
+ "paddingLeft",
549
+ "width",
550
+ "height",
551
+ "overflow",
552
+ "fontSize",
553
+ "lineHeight",
554
+ "fontWeight",
555
+ "color",
556
+ "textAlign",
557
+ "backgroundColor",
558
+ "backgroundImage",
559
+ "backgroundSize",
560
+ "backgroundPosition",
561
+ "backgroundRepeat",
562
+ "position",
563
+ "zIndex",
564
+ "top",
565
+ "right",
566
+ "bottom",
567
+ "left",
568
+ "borderRadius",
569
+ "borderTopWidth",
570
+ "borderTopStyle",
571
+ "borderTopColor",
572
+ "borderRightColor",
573
+ "borderRightWidth",
574
+ "borderRightStyle",
575
+ "borderRightColor",
576
+ "borderBottomWidth",
577
+ "borderBottomStyle",
578
+ "borderBottomColor",
579
+ "borderLeftStyle",
580
+ "borderLeftWidth",
581
+ "borderLeftColor",
582
+ "borderWidth",
583
+ "borderStyle",
584
+ "borderColor"
828
585
  ]
829
586
  }
830
587
  ]
@@ -2209,8 +1966,8 @@
2209
1966
  if (!info.node) throw new Error(`获取不到id为${config.id}的节点`);
2210
1967
  const node = vue.toRaw(info.node);
2211
1968
  let newConfig = await this.toggleFixedPosition(vue.toRaw(config), node, root);
2212
- newConfig = lodashEs.mergeWith(lodashEs.cloneDeep(node), newConfig, (objValue, srcValue, key) => {
2213
- if (typeof srcValue === "undefined" && Object.hasOwn(newConfig, key)) {
1969
+ newConfig = lodashEs.mergeWith(lodashEs.cloneDeep(node), newConfig, (objValue, srcValue, key, object, source) => {
1970
+ if (typeof srcValue === "undefined" && Object.hasOwn(source, key)) {
2214
1971
  return "";
2215
1972
  }
2216
1973
  if (lodashEs.isObject(srcValue) && Array.isArray(objValue)) {
@@ -3268,7 +3025,7 @@
3268
3025
  });
3269
3026
  };
3270
3027
 
3271
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
3028
+ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
3272
3029
  ...{
3273
3030
  name: "MEditorCodeParams"
3274
3031
  },
@@ -3328,9 +3085,9 @@
3328
3085
  }
3329
3086
  });
3330
3087
 
3331
- const _hoisted_1$w = { class: "m-fields-code-select-col" };
3332
- const _hoisted_2$i = { class: "code-select-container" };
3333
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
3088
+ const _hoisted_1$W = { class: "m-fields-code-select-col" };
3089
+ const _hoisted_2$m = { class: "code-select-container" };
3090
+ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
3334
3091
  ...{
3335
3092
  name: "MFieldsCodeSelectCol"
3336
3093
  },
@@ -3426,8 +3183,8 @@
3426
3183
  eventBus?.emit("edit-code", id);
3427
3184
  };
3428
3185
  return (_ctx, _cache) => {
3429
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
3430
- vue.createElementVNode("div", _hoisted_2$i, [
3186
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
3187
+ vue.createElementVNode("div", _hoisted_2$m, [
3431
3188
  vue.createVNode(vue.unref(formPlugin.MContainer), {
3432
3189
  class: "select",
3433
3190
  config: selectConfig,
@@ -3442,14 +3199,14 @@
3442
3199
  onClick: _cache[0] || (_cache[0] = ($event) => editCode(_ctx.model[_ctx.name]))
3443
3200
  }, {
3444
3201
  default: vue.withCtx(() => [
3445
- vue.createVNode(_sfc_main$Z, {
3202
+ vue.createVNode(_sfc_main$1s, {
3446
3203
  icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
3447
3204
  }, null, 8, ["icon"])
3448
3205
  ]),
3449
3206
  _: 1
3450
3207
  }, 8, ["size"])) : vue.createCommentVNode("", true)
3451
3208
  ]),
3452
- paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$U, {
3209
+ paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
3453
3210
  name: "params",
3454
3211
  key: _ctx.model[_ctx.name],
3455
3212
  model: _ctx.model,
@@ -3462,7 +3219,7 @@
3462
3219
  }
3463
3220
  });
3464
3221
 
3465
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
3222
+ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
3466
3223
  ...{
3467
3224
  name: "MFieldsCondOpSelect"
3468
3225
  },
@@ -3548,7 +3305,7 @@
3548
3305
  }
3549
3306
  });
3550
3307
 
3551
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
3308
+ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
3552
3309
  __name: "FloatingBox",
3553
3310
  props: /* @__PURE__ */ vue.mergeModels({
3554
3311
  position: { default: () => ({ left: 0, top: 0 }) },
@@ -3703,7 +3460,7 @@
3703
3460
  onClick: closeHandler
3704
3461
  }, {
3705
3462
  default: vue.withCtx(() => [
3706
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
3463
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
3707
3464
  ]),
3708
3465
  _: 1
3709
3466
  })
@@ -4226,9 +3983,9 @@
4226
3983
  };
4227
3984
  };
4228
3985
 
4229
- const _hoisted_1$v = { class: "m-editor-data-source-fields" };
4230
- const _hoisted_2$h = { class: "m-editor-data-source-fields-footer" };
4231
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
3986
+ const _hoisted_1$V = { class: "m-editor-data-source-fields" };
3987
+ const _hoisted_2$l = { class: "m-editor-data-source-fields-footer" };
3988
+ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
4232
3989
  ...{
4233
3990
  name: "MFieldsDataSourceFields"
4234
3991
  },
@@ -4492,12 +4249,12 @@
4492
4249
  const parentFloating = vue.inject("parentFloating", vue.ref(null));
4493
4250
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(services?.uiService, parentFloating);
4494
4251
  return (_ctx, _cache) => {
4495
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
4252
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
4496
4253
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
4497
4254
  data: _ctx.model[_ctx.name],
4498
4255
  columns: fieldColumns
4499
4256
  }, null, 8, ["data"]),
4500
- vue.createElementVNode("div", _hoisted_2$h, [
4257
+ vue.createElementVNode("div", _hoisted_2$l, [
4501
4258
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
4502
4259
  size: "small",
4503
4260
  disabled: _ctx.disabled,
@@ -4522,7 +4279,7 @@
4522
4279
  _: 1
4523
4280
  }, 8, ["disabled"])
4524
4281
  ]),
4525
- vue.createVNode(_sfc_main$R, {
4282
+ vue.createVNode(_sfc_main$1k, {
4526
4283
  visible: addDialogVisible.value,
4527
4284
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => addDialogVisible.value = $event),
4528
4285
  width: width.value,
@@ -4545,7 +4302,7 @@
4545
4302
  ]),
4546
4303
  _: 1
4547
4304
  }, 8, ["visible", "width", "height", "title", "position"]),
4548
- vue.createVNode(_sfc_main$R, {
4305
+ vue.createVNode(_sfc_main$1k, {
4549
4306
  visible: addFromJsonDialogVisible.value,
4550
4307
  "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => addFromJsonDialogVisible.value = $event),
4551
4308
  width: width.value,
@@ -4570,8 +4327,8 @@
4570
4327
  }
4571
4328
  });
4572
4329
 
4573
- const _hoisted_1$u = { class: "m-editor-data-source-field-select" };
4574
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
4330
+ const _hoisted_1$U = { class: "m-editor-data-source-field-select" };
4331
+ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
4575
4332
  __name: "FieldSelect",
4576
4333
  props: /* @__PURE__ */ vue.mergeModels({
4577
4334
  value: {},
@@ -4652,7 +4409,7 @@
4652
4409
  eventBus?.emit("edit-data-source", removeDataSourceFieldPrefix(id));
4653
4410
  };
4654
4411
  return (_ctx, _cache) => {
4655
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
4412
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
4656
4413
  _ctx.checkStrictly ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
4657
4414
  vue.createVNode(vue.unref(designPlugin.TMagicSelect), {
4658
4415
  "model-value": selectDataSourceId.value,
@@ -4720,7 +4477,7 @@
4720
4477
  onClick: _cache[0] || (_cache[0] = ($event) => editHandler(selectDataSourceId.value))
4721
4478
  }, {
4722
4479
  default: vue.withCtx(() => [
4723
- vue.createVNode(_sfc_main$Z, {
4480
+ vue.createVNode(_sfc_main$1s, {
4724
4481
  icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
4725
4482
  }, null, 8, ["icon"])
4726
4483
  ]),
@@ -4734,8 +4491,8 @@
4734
4491
  }
4735
4492
  });
4736
4493
 
4737
- const _hoisted_1$t = { class: "m-fields-data-source-field-select" };
4738
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
4494
+ const _hoisted_1$T = { class: "m-fields-data-source-field-select" };
4495
+ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
4739
4496
  ...{
4740
4497
  name: "MFieldsDataSourceFieldSelect"
4741
4498
  },
@@ -4836,8 +4593,8 @@
4836
4593
  }
4837
4594
  };
4838
4595
  return (_ctx, _cache) => {
4839
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
4840
- showDataSourceFieldSelect.value || !_ctx.config.fieldConfig ? (vue.openBlock(), vue.createBlock(_sfc_main$P, {
4596
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
4597
+ showDataSourceFieldSelect.value || !_ctx.config.fieldConfig ? (vue.openBlock(), vue.createBlock(_sfc_main$1i, {
4841
4598
  key: 0,
4842
4599
  "model-value": _ctx.model[_ctx.name],
4843
4600
  disabled: _ctx.disabled,
@@ -4872,7 +4629,7 @@
4872
4629
  onClick: _cache[0] || (_cache[0] = ($event) => showDataSourceFieldSelect.value = !showDataSourceFieldSelect.value)
4873
4630
  }, {
4874
4631
  default: vue.withCtx(() => [
4875
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
4632
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
4876
4633
  ]),
4877
4634
  _: 1
4878
4635
  }, 8, ["type", "size"])
@@ -4884,10 +4641,10 @@
4884
4641
  }
4885
4642
  });
4886
4643
 
4887
- const _hoisted_1$s = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
4888
- const _hoisted_2$g = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
4889
- const _hoisted_3$4 = { class: "el-input__inner t-input__inner" };
4890
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
4644
+ const _hoisted_1$S = { style: { "display": "flex", "flex-direction": "column", "line-height": "1.2em" } };
4645
+ const _hoisted_2$k = { style: { "font-size": "10px", "color": "rgba(0, 0, 0, 0.6)" } };
4646
+ const _hoisted_3$8 = { class: "el-input__inner t-input__inner" };
4647
+ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
4891
4648
  ...{
4892
4649
  name: "MFieldsDataSourceInput"
4893
4650
  },
@@ -5087,12 +4844,12 @@
5087
4844
  }
5088
4845
  ), {
5089
4846
  suffix: vue.withCtx(() => [
5090
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
4847
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Coin) }, null, 8, ["icon"])
5091
4848
  ]),
5092
4849
  default: vue.withCtx(({ item }) => [
5093
- vue.createElementVNode("div", _hoisted_1$s, [
4850
+ vue.createElementVNode("div", _hoisted_1$S, [
5094
4851
  vue.createElementVNode("div", null, vue.toDisplayString(item.text), 1),
5095
- vue.createElementVNode("span", _hoisted_2$g, vue.toDisplayString(item.value), 1)
4852
+ vue.createElementVNode("span", _hoisted_2$k, vue.toDisplayString(item.value), 1)
5096
4853
  ])
5097
4854
  ]),
5098
4855
  _: 1
@@ -5104,7 +4861,7 @@
5104
4861
  vue.createElementVNode("div", {
5105
4862
  class: vue.normalizeClass(`tmagic-data-source-input-text-wrapper el-input__wrapper ${isFocused.value ? " is-focus" : ""}`)
5106
4863
  }, [
5107
- vue.createElementVNode("div", _hoisted_3$4, [
4864
+ vue.createElementVNode("div", _hoisted_3$8, [
5108
4865
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayState.value, (item, index) => {
5109
4866
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
5110
4867
  item.type === "text" ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -5122,7 +4879,7 @@
5122
4879
  }, 1032, ["size"])) : vue.createCommentVNode("", true)
5123
4880
  ], 64);
5124
4881
  }), 256)),
5125
- vue.createVNode(_sfc_main$Z, {
4882
+ vue.createVNode(_sfc_main$1s, {
5126
4883
  class: "tmagic-data-source-input-icon",
5127
4884
  icon: vue.unref(iconsVue.Coin)
5128
4885
  }, null, 8, ["icon"])
@@ -5133,11 +4890,11 @@
5133
4890
  }
5134
4891
  });
5135
4892
 
5136
- const _hoisted_1$r = { style: { "display": "flex", "margin-bottom": "10px" } };
5137
- const _hoisted_2$f = { style: { "flex": "1" } };
5138
- const _hoisted_3$3 = { style: { "flex": "1" } };
5139
- const _hoisted_4$3 = { class: "dialog-footer" };
5140
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
4893
+ const _hoisted_1$R = { style: { "display": "flex", "margin-bottom": "10px" } };
4894
+ const _hoisted_2$j = { style: { "flex": "1" } };
4895
+ const _hoisted_3$7 = { style: { "flex": "1" } };
4896
+ const _hoisted_4$5 = { class: "dialog-footer" };
4897
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
5141
4898
  ...{
5142
4899
  name: "MEditorCodeBlockEditor"
5143
4900
  },
@@ -5310,7 +5067,7 @@
5310
5067
  });
5311
5068
  return (_ctx, _cache) => {
5312
5069
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
5313
- vue.createVNode(_sfc_main$R, {
5070
+ vue.createVNode(_sfc_main$1k, {
5314
5071
  visible: boxVisible.value,
5315
5072
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => boxVisible.value = $event),
5316
5073
  width: width.value,
@@ -5364,7 +5121,7 @@
5364
5121
  fullscreen: ""
5365
5122
  }, {
5366
5123
  footer: vue.withCtx(() => [
5367
- vue.createElementVNode("span", _hoisted_4$3, [
5124
+ vue.createElementVNode("span", _hoisted_4$5, [
5368
5125
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
5369
5126
  size: "small",
5370
5127
  onClick: _cache[4] || (_cache[4] = ($event) => difVisible.value = false)
@@ -5387,8 +5144,8 @@
5387
5144
  ])
5388
5145
  ]),
5389
5146
  default: vue.withCtx(() => [
5390
- vue.createElementVNode("div", _hoisted_1$r, [
5391
- vue.createElementVNode("div", _hoisted_2$f, [
5147
+ vue.createElementVNode("div", _hoisted_1$R, [
5148
+ vue.createElementVNode("div", _hoisted_2$j, [
5392
5149
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
5393
5150
  size: "small",
5394
5151
  type: "info"
@@ -5399,7 +5156,7 @@
5399
5156
  _: 1
5400
5157
  })
5401
5158
  ]),
5402
- vue.createElementVNode("div", _hoisted_3$3, [
5159
+ vue.createElementVNode("div", _hoisted_3$7, [
5403
5160
  vue.createVNode(vue.unref(designPlugin.TMagicTag), {
5404
5161
  size: "small",
5405
5162
  type: "success"
@@ -5411,7 +5168,7 @@
5411
5168
  })
5412
5169
  ])
5413
5170
  ]),
5414
- difVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
5171
+ difVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
5415
5172
  key: 0,
5416
5173
  ref_key: "magicVsEditor",
5417
5174
  ref: magicVsEditor,
@@ -5430,9 +5187,9 @@
5430
5187
  }
5431
5188
  });
5432
5189
 
5433
- const _hoisted_1$q = { class: "m-editor-data-source-methods" };
5434
- const _hoisted_2$e = { class: "m-editor-data-source-methods-footer" };
5435
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5190
+ const _hoisted_1$Q = { class: "m-editor-data-source-methods" };
5191
+ const _hoisted_2$i = { class: "m-editor-data-source-methods-footer" };
5192
+ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
5436
5193
  ...{
5437
5194
  name: "MFieldsDataSourceMethods"
5438
5195
  },
@@ -5553,12 +5310,12 @@
5553
5310
  codeBlockEditor.value?.hide();
5554
5311
  };
5555
5312
  return (_ctx, _cache) => {
5556
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
5313
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
5557
5314
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
5558
5315
  data: _ctx.model[_ctx.name],
5559
5316
  columns: methodColumns
5560
5317
  }, null, 8, ["data"]),
5561
- vue.createElementVNode("div", _hoisted_2$e, [
5318
+ vue.createElementVNode("div", _hoisted_2$i, [
5562
5319
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
5563
5320
  size: "small",
5564
5321
  type: "primary",
@@ -5572,7 +5329,7 @@
5572
5329
  _: 1
5573
5330
  }, 8, ["disabled"])
5574
5331
  ]),
5575
- codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
5332
+ codeConfig.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1f, {
5576
5333
  key: 0,
5577
5334
  ref_key: "codeBlockEditor",
5578
5335
  ref: codeBlockEditor,
@@ -5587,9 +5344,9 @@
5587
5344
  }
5588
5345
  });
5589
5346
 
5590
- const _hoisted_1$p = { class: "m-fields-data-source-method-select" };
5591
- const _hoisted_2$d = { class: "data-source-method-select-container" };
5592
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5347
+ const _hoisted_1$P = { class: "m-fields-data-source-method-select" };
5348
+ const _hoisted_2$h = { class: "data-source-method-select-container" };
5349
+ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
5593
5350
  ...{
5594
5351
  name: "MFieldsDataSourceMethodSelect"
5595
5352
  },
@@ -5675,8 +5432,8 @@
5675
5432
  eventBus?.emit("edit-data-source", id);
5676
5433
  };
5677
5434
  return (_ctx, _cache) => {
5678
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
5679
- vue.createElementVNode("div", _hoisted_2$d, [
5435
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
5436
+ vue.createElementVNode("div", _hoisted_2$h, [
5680
5437
  vue.createVNode(vue.unref(formPlugin.MContainer), {
5681
5438
  class: "select",
5682
5439
  config: cascaderConfig.value,
@@ -5695,7 +5452,7 @@
5695
5452
  onClick: editCodeHandler
5696
5453
  }, {
5697
5454
  default: vue.withCtx(() => [
5698
- vue.createVNode(_sfc_main$Z, {
5455
+ vue.createVNode(_sfc_main$1s, {
5699
5456
  icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
5700
5457
  }, null, 8, ["icon"])
5701
5458
  ]),
@@ -5705,7 +5462,7 @@
5705
5462
  _: 1
5706
5463
  }, 8, ["content"])) : vue.createCommentVNode("", true)
5707
5464
  ]),
5708
- paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$U, {
5465
+ paramsConfig.value.length ? (vue.openBlock(), vue.createBlock(_sfc_main$1n, {
5709
5466
  key: 0,
5710
5467
  name: "params",
5711
5468
  model: _ctx.model,
@@ -5719,9 +5476,9 @@
5719
5476
  }
5720
5477
  });
5721
5478
 
5722
- const _hoisted_1$o = { class: "m-editor-data-source-fields" };
5723
- const _hoisted_2$c = { class: "m-editor-data-source-fields-footer" };
5724
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5479
+ const _hoisted_1$O = { class: "m-editor-data-source-fields" };
5480
+ const _hoisted_2$g = { class: "m-editor-data-source-fields-footer" };
5481
+ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
5725
5482
  ...{
5726
5483
  name: "MFieldsDataSourceMocks"
5727
5484
  },
@@ -5810,7 +5567,7 @@
5810
5567
  const columns = [
5811
5568
  {
5812
5569
  type: "expand",
5813
- component: _sfc_main$Y,
5570
+ component: _sfc_main$1r,
5814
5571
  props: (row) => ({
5815
5572
  initValues: row.data,
5816
5573
  language: "json",
@@ -5925,12 +5682,12 @@
5925
5682
  const parentFloating = vue.inject("parentFloating", vue.ref(null));
5926
5683
  const { boxPosition, calcBoxPosition } = useNextFloatBoxPosition(services?.uiService, parentFloating);
5927
5684
  return (_ctx, _cache) => {
5928
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
5685
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
5929
5686
  vue.createVNode(vue.unref(tablePlugin.MagicTable), {
5930
5687
  data: _ctx.model[_ctx.name],
5931
5688
  columns
5932
5689
  }, null, 8, ["data"]),
5933
- vue.createElementVNode("div", _hoisted_2$c, [
5690
+ vue.createElementVNode("div", _hoisted_2$g, [
5934
5691
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
5935
5692
  size: "small",
5936
5693
  type: "primary",
@@ -5944,7 +5701,7 @@
5944
5701
  _: 1
5945
5702
  }, 8, ["disabled"])
5946
5703
  ]),
5947
- vue.createVNode(_sfc_main$R, {
5704
+ vue.createVNode(_sfc_main$1k, {
5948
5705
  visible: addDialogVisible.value,
5949
5706
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => addDialogVisible.value = $event),
5950
5707
  width: width.value,
@@ -5971,8 +5728,8 @@
5971
5728
  }
5972
5729
  });
5973
5730
 
5974
- const _hoisted_1$n = { class: "m-fields-data-source-select" };
5975
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
5731
+ const _hoisted_1$N = { class: "m-fields-data-source-select" };
5732
+ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
5976
5733
  ...{
5977
5734
  name: "MFieldsDataSourceSelect"
5978
5735
  },
@@ -6029,7 +5786,7 @@
6029
5786
  eventBus?.emit("edit-data-source", id);
6030
5787
  };
6031
5788
  return (_ctx, _cache) => {
6032
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
5789
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
6033
5790
  vue.createVNode(vue.unref(formPlugin.MSelect), {
6034
5791
  model: _ctx.model,
6035
5792
  name: _ctx.name,
@@ -6051,7 +5808,7 @@
6051
5808
  onClick: editHandler
6052
5809
  }, {
6053
5810
  default: vue.withCtx(() => [
6054
- vue.createVNode(_sfc_main$Z, {
5811
+ vue.createVNode(_sfc_main$1s, {
6055
5812
  icon: !notEditable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View)
6056
5813
  }, null, 8, ["icon"])
6057
5814
  ]),
@@ -6065,7 +5822,7 @@
6065
5822
  }
6066
5823
  });
6067
5824
 
6068
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
5825
+ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
6069
5826
  ...{
6070
5827
  name: "m-fields-display-conds"
6071
5828
  },
@@ -6097,7 +5854,8 @@
6097
5854
  {
6098
5855
  type: "table",
6099
5856
  name: "cond",
6100
- operateColWidth: 50,
5857
+ operateColWidth: 100,
5858
+ enableToggleMode: false,
6101
5859
  items: [
6102
5860
  parentFields.value.length ? {
6103
5861
  type: "cascader",
@@ -6196,12 +5954,12 @@
6196
5954
  }
6197
5955
  });
6198
5956
 
6199
- const _hoisted_1$m = { class: "m-fields-event-select" };
6200
- const _hoisted_2$b = {
5957
+ const _hoisted_1$M = { class: "m-fields-event-select" };
5958
+ const _hoisted_2$f = {
6201
5959
  key: 1,
6202
5960
  class: "fullWidth"
6203
5961
  };
6204
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
5962
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
6205
5963
  ...{
6206
5964
  name: "MFieldsEventSelect"
6207
5965
  },
@@ -6477,7 +6235,7 @@
6477
6235
  const onChangeHandler = (v, eventData) => emit("change", props.model[props.name], eventData);
6478
6236
  return (_ctx, _cache) => {
6479
6237
  const _component_m_form_table = vue.resolveComponent("m-form-table");
6480
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
6238
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
6481
6239
  isOldVersion.value ? (vue.openBlock(), vue.createBlock(_component_m_form_table, {
6482
6240
  key: 0,
6483
6241
  name: "events",
@@ -6486,7 +6244,7 @@
6486
6244
  model: _ctx.model,
6487
6245
  config: tableConfig.value,
6488
6246
  onChange: onChangeHandler
6489
- }, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, [
6247
+ }, null, 8, ["size", "disabled", "model", "config"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
6490
6248
  vue.createVNode(vue.unref(designPlugin.TMagicButton), {
6491
6249
  class: "create-button",
6492
6250
  type: "primary",
@@ -6538,29 +6296,29 @@
6538
6296
  }
6539
6297
  });
6540
6298
 
6541
- const _hoisted_1$l = {
6299
+ const _hoisted_1$L = {
6542
6300
  viewBox: "0 0 32 32",
6543
6301
  version: "1.1",
6544
6302
  xmlns: "http://www.w3.org/2000/svg",
6545
6303
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
6546
6304
  };
6547
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6305
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
6548
6306
  ...{
6549
6307
  name: "MEditorCodeIcon"
6550
6308
  },
6551
6309
  __name: "CodeIcon",
6552
6310
  setup(__props) {
6553
6311
  return (_ctx, _cache) => {
6554
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$l, _cache[0] || (_cache[0] = [
6312
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$L, _cache[0] || (_cache[0] = [
6555
6313
  vue.createStaticVNode('<defs><rect id="path-1" x="0" y="0" width="32" height="32"></rect></defs><g id="组件规范" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="03图标" transform="translate(-561.000000, -2356.000000)"><g id="icon/line/Universal/code" transform="translate(561.000000, 2356.000000)"><g id="路径"><mask id="mask-2" fill="white"><use xlink:href="#path-1"></use></mask><use id="蒙版" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use><path d="M21.9284587,7.9482233 L29.8079004,15.827665 C29.9055315,15.9252961 29.9055315,16.0835874 29.8079004,16.1812184 L21.9284587,24.0606602 C21.8308276,24.1582912 21.6725364,24.1582912 21.5749053,24.0606602 L20.3374684,22.8232233 C20.2419143,22.7276698 20.2398813,22.5740096 20.331369,22.4759832 L20.3374687,22.4696702 L26.8027181,16.0044417 L20.3374687,9.53921328 C20.2398372,9.44158265 20.2398369,9.2832914 20.3374679,9.18566017 L21.5749053,7.9482233 C21.6725364,7.85059223 21.8308276,7.85059223 21.9284587,7.9482233 Z M10.3999684,7.9482233 L11.6374053,9.18566017 C11.7329594,9.28121371 11.7349925,9.43487387 11.6435048,9.53290029 L11.637405,9.53921328 L5.17215562,16.0044417 L11.637405,22.4696702 C11.7329593,22.5652236 11.7349926,22.7188837 11.643505,22.8169103 L11.6374053,22.8232233 L10.3999684,24.0606602 C10.3023374,24.1582912 10.1440461,24.1582912 10.046415,24.0606602 L2.1669733,16.1812184 C2.06934223,16.0835874 2.06934223,15.9252961 2.1669733,15.827665 L10.046415,7.9482233 C10.1440461,7.85059223 10.3023374,7.85059223 10.3999684,7.9482233 Z M17.2612532,9.29310422 L18.9262468,9.83189578 C19.0576112,9.87440526 19.1296423,10.0153579 19.0871328,10.1467222 L15.0848232,22.514807 C15.0423138,22.6461714 14.9013612,22.7182025 14.7699968,22.675693 L13.1050032,22.1369014 C12.9736388,22.0943919 12.9016077,21.9534393 12.9441172,21.822075 L16.9464268,9.45399022 C16.9889362,9.32262585 17.1298888,9.25059474 17.2612532,9.29310422 Z" id="形状" fill="#1D1F24" mask="url(#mask-2)"></path></g></g><g id="icon切图" transform="translate(226.000000, 1782.000000)"></g></g></g>', 2)
6556
6314
  ]));
6557
6315
  };
6558
6316
  }
6559
6317
  });
6560
6318
 
6561
- const _hoisted_1$k = { class: "m-fields-key-value" };
6562
- const _hoisted_2$a = { key: 0 };
6563
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
6319
+ const _hoisted_1$K = { class: "m-fields-key-value" };
6320
+ const _hoisted_2$e = { key: 0 };
6321
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
6564
6322
  ...{
6565
6323
  name: "MFieldsKeyValue"
6566
6324
  },
@@ -6622,8 +6380,8 @@
6622
6380
  emit("change", v);
6623
6381
  };
6624
6382
  return (_ctx, _cache) => {
6625
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
6626
- !showCode.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
6383
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
6384
+ !showCode.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
6627
6385
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(records.value, (item, index) => {
6628
6386
  return vue.openBlock(), vue.createElementBlock("div", {
6629
6387
  class: "m-fields-key-value-item",
@@ -6672,7 +6430,7 @@
6672
6430
  _: 1
6673
6431
  }, 8, ["size", "disabled", "icon"])
6674
6432
  ])) : vue.createCommentVNode("", true),
6675
- _ctx.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
6433
+ _ctx.config.advanced && showCode.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
6676
6434
  key: 1,
6677
6435
  height: "200px",
6678
6436
  "init-values": _ctx.model[_ctx.name],
@@ -6688,7 +6446,7 @@
6688
6446
  size: "default",
6689
6447
  disabled: _ctx.disabled,
6690
6448
  link: "",
6691
- icon: _sfc_main$F,
6449
+ icon: _sfc_main$18,
6692
6450
  onClick: _cache[0] || (_cache[0] = ($event) => showCode.value = !showCode.value)
6693
6451
  }, null, 8, ["disabled"])) : vue.createCommentVNode("", true)
6694
6452
  ]);
@@ -6696,9 +6454,9 @@
6696
6454
  }
6697
6455
  });
6698
6456
 
6699
- const _hoisted_1$j = { class: "m-fields-page-fragment-select" };
6700
- const _hoisted_2$9 = { class: "page-fragment-select-container" };
6701
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
6457
+ const _hoisted_1$J = { class: "m-fields-page-fragment-select" };
6458
+ const _hoisted_2$d = { class: "page-fragment-select-container" };
6459
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
6702
6460
  ...{
6703
6461
  name: "MFieldsPageFragmentSelect"
6704
6462
  },
@@ -6744,8 +6502,8 @@
6744
6502
  };
6745
6503
  return (_ctx, _cache) => {
6746
6504
  const _component_m_form_container = vue.resolveComponent("m-form-container");
6747
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
6748
- vue.createElementVNode("div", _hoisted_2$9, [
6505
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
6506
+ vue.createElementVNode("div", _hoisted_2$d, [
6749
6507
  vue.createVNode(_component_m_form_container, {
6750
6508
  class: "select",
6751
6509
  config: selectConfig,
@@ -6753,7 +6511,7 @@
6753
6511
  size: _ctx.size,
6754
6512
  onChange: changeHandler
6755
6513
  }, null, 8, ["model", "size"]),
6756
- _ctx.model[_ctx.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
6514
+ _ctx.model[_ctx.name] ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
6757
6515
  key: 0,
6758
6516
  class: "icon",
6759
6517
  icon: vue.unref(iconsVue.Edit),
@@ -6765,16 +6523,11 @@
6765
6523
  }
6766
6524
  });
6767
6525
 
6768
- const _hoisted_1$i = {
6769
- key: 1,
6770
- class: "m-fields-ui-select",
6771
- style: { "display": "flex" }
6772
- };
6773
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6774
- ...{
6775
- name: "MFieldsUISelect"
6776
- },
6777
- __name: "UISelect",
6526
+ const _hoisted_1$I = { class: "background-position-container" };
6527
+ const _hoisted_2$c = { class: "presets-value-list" };
6528
+ const _hoisted_3$6 = { class: "custom-value" };
6529
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
6530
+ __name: "BackgroundPosition",
6778
6531
  props: {
6779
6532
  config: {},
6780
6533
  model: {},
@@ -6788,54 +6541,1184 @@
6788
6541
  },
6789
6542
  emits: ["change"],
6790
6543
  setup(__props, { emit: __emit }) {
6791
- const props = __props;
6792
6544
  const emit = __emit;
6793
- const services = vue.inject("services");
6794
- const mForm = vue.inject("mForm");
6795
- const val = vue.computed(() => props.model[props.name]);
6796
- const uiSelectMode = vue.ref(false);
6797
- const cancelHandler = () => {
6798
- if (!services?.uiService) return;
6799
- services.uiService.set("uiSelectMode", false);
6800
- uiSelectMode.value = false;
6801
- globalThis.document.removeEventListener(UI_SELECT_MODE_EVENT_NAME, clickHandler);
6802
- };
6803
- const clickHandler = ({ detail }) => {
6804
- let { id } = detail;
6805
- if (detail.nodeType) {
6806
- id = utils.getIdFromEl()(detail) || id;
6807
- }
6808
- if (id) {
6809
- props.model[props.name] = id;
6810
- emit("change", id);
6811
- mForm?.$emit("field-change", props.prop, id);
6812
- }
6813
- if (cancelHandler) {
6814
- cancelHandler();
6545
+ const horizontalList = [
6546
+ {
6547
+ value: "left",
6548
+ text: "左"
6549
+ },
6550
+ {
6551
+ value: "center",
6552
+ text: "中"
6553
+ },
6554
+ {
6555
+ value: "right",
6556
+ text: "右"
6815
6557
  }
6816
- };
6817
- const toName = vue.computed(() => {
6818
- const config = services?.editorService.getNodeById(val.value);
6819
- return config?.name || "";
6820
- });
6821
- const startSelect = () => {
6822
- if (!services?.uiService) return;
6823
- services.uiService.set("uiSelectMode", true);
6824
- uiSelectMode.value = true;
6825
- globalThis.document.addEventListener(UI_SELECT_MODE_EVENT_NAME, clickHandler);
6826
- };
6827
- const deleteHandler = () => {
6828
- if (props.model) {
6829
- props.model[props.name] = "";
6830
- emit("change", "");
6831
- mForm?.$emit("field-change", props.prop, "");
6558
+ ];
6559
+ const verticalList = [
6560
+ {
6561
+ value: "top",
6562
+ text: "上"
6563
+ },
6564
+ {
6565
+ value: "center",
6566
+ text: "中"
6567
+ },
6568
+ {
6569
+ value: "bottom",
6570
+ text: "下"
6832
6571
  }
6572
+ ];
6573
+ const list = verticalList.map(
6574
+ (vertical) => horizontalList.map((horizontal) => ({
6575
+ value: `${horizontal.value} ${vertical.value}`,
6576
+ tips: `${horizontal.text}${vertical.text}`,
6577
+ class: `${horizontal.value}-${vertical.value}`
6578
+ }))
6579
+ ).flat();
6580
+ const changeHandler = (v) => {
6581
+ emit("change", v);
6833
6582
  };
6834
- const selectNode = async (id) => {
6835
- if (!services) return;
6836
- await services.editorService.select(id);
6837
- services.editorService.get("stage")?.select(id);
6838
- services.stageOverlayService.get("stage")?.select(id);
6583
+ return (_ctx, _cache) => {
6584
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
6585
+ vue.createElementVNode("div", _hoisted_2$c, [
6586
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(list), (item, index) => {
6587
+ return vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
6588
+ key: index,
6589
+ link: "",
6590
+ class: vue.normalizeClass(_ctx.model[_ctx.name] === item.value && "btn-active"),
6591
+ onClick: ($event) => changeHandler(item.value)
6592
+ }, {
6593
+ default: vue.withCtx(() => [
6594
+ vue.createElementVNode("div", {
6595
+ class: vue.normalizeClass(["position-icon", item.class, _ctx.model[_ctx.name] === item.value && "active"])
6596
+ }, null, 2)
6597
+ ]),
6598
+ _: 2
6599
+ }, 1032, ["class", "onClick"]);
6600
+ }), 128))
6601
+ ]),
6602
+ vue.createElementVNode("div", _hoisted_3$6, [
6603
+ vue.createVNode(vue.unref(designPlugin.TMagicInput), {
6604
+ modelValue: _ctx.model[_ctx.name],
6605
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model[_ctx.name] = $event),
6606
+ size: "small",
6607
+ placeholder: "自定义背景位置",
6608
+ clearable: "",
6609
+ onChange: changeHandler
6610
+ }, null, 8, ["modelValue"])
6611
+ ])
6612
+ ]);
6613
+ };
6614
+ }
6615
+ });
6616
+
6617
+ const _export_sfc = (sfc, props) => {
6618
+ const target = sfc.__vccOpts || sfc;
6619
+ for (const [key, val] of props) {
6620
+ target[key] = val;
6621
+ }
6622
+ return target;
6623
+ };
6624
+
6625
+ const _sfc_main$14 = {};
6626
+
6627
+ const _hoisted_1$H = {
6628
+ xmlns: "http://www.w3.org/2000/svg",
6629
+ viewBox: "0 0 1024 1024"
6630
+ };
6631
+
6632
+ function _sfc_render$k(_ctx, _cache) {
6633
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$H, _cache[0] || (_cache[0] = [
6634
+ vue.createStaticVNode("<path d=\"M884.736 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C696.32 311.296 712.704 327.68 733.184 327.68l147.456 0c20.48 0 36.864-16.384 36.864-36.864L917.504 139.264C921.6 118.784 905.216 102.4 884.736 102.4zM884.736 290.816l-147.456 0L737.28 139.264l147.456 0L884.736 290.816z\"></path><path d=\"M884.736 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 712.704 905.216 696.32 884.736 696.32zM884.736 884.736l-147.456 0 0-147.456 147.456 0L884.736 884.736z\"></path><path d=\"M884.736 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C921.6 417.792 905.216 401.408 884.736 401.408zM884.736 585.728l-147.456 0 0-147.456 147.456 0L884.736 585.728z\"></path><path d=\"M585.728 401.408l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 417.792 606.208 401.408 585.728 401.408zM585.728 585.728l-147.456 0 0-147.456 147.456 0L585.728 585.728z\"></path><path d=\"M585.728 102.4l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864L622.592 139.264C622.592 118.784 606.208 102.4 585.728 102.4zM585.728 290.816l-147.456 0L438.272 139.264l147.456 0L585.728 290.816z\"></path><path d=\"M585.728 696.32l-147.456 0c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C622.592 712.704 606.208 696.32 585.728 696.32zM585.728 884.736l-147.456 0 0-147.456 147.456 0L585.728 884.736z\"></path><path d=\"M290.816 696.32 139.264 696.32c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 712.704 311.296 696.32 290.816 696.32zM290.816 884.736 139.264 884.736l0-147.456 147.456 0L286.72 884.736z\"></path><path d=\"M290.816 401.408 139.264 401.408c-20.48 0-36.864 16.384-36.864 36.864l0 147.456c0 20.48 16.384 36.864 36.864 36.864l147.456 0c20.48 0 36.864-16.384 36.864-36.864l0-147.456C327.68 417.792 311.296 401.408 290.816 401.408zM290.816 585.728 139.264 585.728l0-147.456 147.456 0L286.72 585.728z\"></path><path d=\"M290.816 102.4 139.264 102.4c-20.48 0-36.864 16.384-36.864 36.864l0 147.456C102.4 311.296 118.784 327.68 139.264 327.68l147.456 0C311.296 327.68 327.68 311.296 327.68 290.816L327.68 139.264C327.68 118.784 311.296 102.4 290.816 102.4zM290.816 290.816 139.264 290.816 139.264 139.264l147.456 0L286.72 290.816z\"></path>", 9)
6635
+ ])))
6636
+ }
6637
+ const BackgroundRepeat = /*#__PURE__*/_export_sfc(_sfc_main$14, [['render',_sfc_render$k]]);
6638
+
6639
+ const _sfc_main$13 = {};
6640
+
6641
+ const _hoisted_1$G = {
6642
+ xmlns: "http://www.w3.org/2000/svg",
6643
+ viewBox: "0 0 1024 1024"
6644
+ };
6645
+
6646
+ function _sfc_render$j(_ctx, _cache) {
6647
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$G, _cache[0] || (_cache[0] = [
6648
+ vue.createElementVNode("path", {
6649
+ d: "M796.444444 170.666667h-227.555555v682.666666h227.555555V170.666667z m-56.888888 625.777777h-113.777778V227.555556h113.777778v568.888888zM455.111111 170.666667H227.555556v682.666666h227.555555V170.666667zM398.222222 796.444444H284.444444V227.555556h113.777778v568.888888zM910.222222 56.888889h56.888889v910.222222h-56.888889zM56.888889 56.888889h56.888889v910.222222H56.888889z",
6650
+ fill: "#333333"
6651
+ }, null, -1)
6652
+ ])))
6653
+ }
6654
+ const BackgroundRepeatX = /*#__PURE__*/_export_sfc(_sfc_main$13, [['render',_sfc_render$j]]);
6655
+
6656
+ const _sfc_main$12 = {};
6657
+
6658
+ const _hoisted_1$F = {
6659
+ xmlns: "http://www.w3.org/2000/svg",
6660
+ viewBox: "0 0 1024 1024"
6661
+ };
6662
+
6663
+ function _sfc_render$i(_ctx, _cache) {
6664
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$F, _cache[0] || (_cache[0] = [
6665
+ vue.createElementVNode("path", {
6666
+ d: "M170.666667 227.555556v227.555555h682.666666V227.555556H170.666667z m625.777777 56.888888v113.777778H227.555556V284.444444h568.888888zM170.666667 568.888889v227.555555h682.666666v-227.555555H170.666667z m625.777777 56.888889v113.777778H227.555556v-113.777778h568.888888zM56.888889 56.888889h910.222222v56.888889H56.888889zM56.888889 910.222222h910.222222v56.888889H56.888889z",
6667
+ fill: "#333333"
6668
+ }, null, -1)
6669
+ ])))
6670
+ }
6671
+ const BackgroundRepeatY = /*#__PURE__*/_export_sfc(_sfc_main$12, [['render',_sfc_render$i]]);
6672
+
6673
+ const _sfc_main$11 = {};
6674
+
6675
+ const _hoisted_1$E = {
6676
+ xmlns: "http://www.w3.org/2000/svg",
6677
+ viewBox: "0 0 1024 1024"
6678
+ };
6679
+
6680
+ function _sfc_render$h(_ctx, _cache) {
6681
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$E, _cache[0] || (_cache[0] = [
6682
+ vue.createElementVNode("path", {
6683
+ d: "M912.526651 867.741144 555.540144 510.712681l356.986507-357.000833c11.171434-11.18576 11.171434-29.257348 0-40.443108-11.20111-11.18576-29.272697-11.18576-40.444131 0L515.096013 470.267527 158.096203 113.267716c-11.187807-11.159154-29.258371-11.159154-40.444131 0-11.186783 11.186783-11.186783 29.286 0 40.47176L474.623229 510.712681 117.623419 867.741144c-11.159154 11.172457-11.159154 29.216415 0 40.443108 11.18576 11.17348 29.284977 11.17348 40.47176 0l357.000833-357.027439 356.985484 357.027439c11.171434 11.17348 29.243021 11.17348 40.444131 0C923.698085 896.957559 923.725714 878.913601 912.526651 867.741144z",
6684
+ fill: "#5D5D5D"
6685
+ }, null, -1)
6686
+ ])))
6687
+ }
6688
+ const BackgroundNoRepeat = /*#__PURE__*/_export_sfc(_sfc_main$11, [['render',_sfc_render$h]]);
6689
+
6690
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
6691
+ __name: "Background",
6692
+ props: {
6693
+ values: {}
6694
+ },
6695
+ emits: ["change"],
6696
+ setup(__props, { emit: __emit }) {
6697
+ const emit = __emit;
6698
+ const config = {
6699
+ items: [
6700
+ {
6701
+ name: "backgroundColor",
6702
+ text: "背景色",
6703
+ labelWidth: "68px",
6704
+ type: "data-source-field-select",
6705
+ fieldConfig: {
6706
+ type: "colorPicker"
6707
+ }
6708
+ },
6709
+ {
6710
+ name: "backgroundImage",
6711
+ text: "背景图",
6712
+ labelWidth: "68px",
6713
+ type: "data-source-field-select",
6714
+ fieldConfig: {
6715
+ type: "img-upload"
6716
+ }
6717
+ },
6718
+ {
6719
+ name: "backgroundSize",
6720
+ text: "背景尺寸",
6721
+ type: "radioGroup",
6722
+ childType: "button",
6723
+ labelWidth: "68px",
6724
+ options: [
6725
+ { value: "auto", text: "默认", tooltip: "默认 auto" },
6726
+ { value: "contain", text: "等比填充", tooltip: "等比填充 contain" },
6727
+ { value: "cover", text: "等比覆盖", tooltip: "等比覆盖 cover" }
6728
+ ]
6729
+ },
6730
+ {
6731
+ name: "backgroundRepeat",
6732
+ text: "重复显示",
6733
+ type: "radioGroup",
6734
+ childType: "button",
6735
+ labelWidth: "68px",
6736
+ options: [
6737
+ { value: "repeat", icon: vue.markRaw(BackgroundRepeat), tooltip: "垂直和水平方向重复 repeat" },
6738
+ { value: "repeat-x", icon: vue.markRaw(BackgroundRepeatX), tooltip: "水平方向重复 repeat-x" },
6739
+ { value: "repeat-y", icon: vue.markRaw(BackgroundRepeatY), tooltip: "垂直方向重复 repeat-y" },
6740
+ { value: "no-repeat", icon: vue.markRaw(BackgroundNoRepeat), tooltip: "不重复 no-repeat" }
6741
+ ]
6742
+ },
6743
+ {
6744
+ name: "backgroundPosition",
6745
+ text: "背景定位",
6746
+ type: "component",
6747
+ component: _sfc_main$15,
6748
+ labelWidth: "68px"
6749
+ }
6750
+ ]
6751
+ };
6752
+ const change = (value, eventData) => {
6753
+ emit("change", value, eventData);
6754
+ };
6755
+ return (_ctx, _cache) => {
6756
+ return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
6757
+ config,
6758
+ model: _ctx.values,
6759
+ onChange: change
6760
+ }, null, 8, ["model"]);
6761
+ };
6762
+ }
6763
+ });
6764
+
6765
+ const _sfc_main$$ = {};
6766
+
6767
+ const _hoisted_1$D = {
6768
+ xmlns: "http://www.w3.org/2000/svg",
6769
+ viewBox: "0 0 1024 1024"
6770
+ };
6771
+
6772
+ function _sfc_render$g(_ctx, _cache) {
6773
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, _cache[0] || (_cache[0] = [
6774
+ vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m0-170.666667h512v85.333333H128z m0-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m0 170.666667h512v85.333333H128z" }, null, -1)
6775
+ ])))
6776
+ }
6777
+ const AlignLeft = /*#__PURE__*/_export_sfc(_sfc_main$$, [['render',_sfc_render$g]]);
6778
+
6779
+ const _sfc_main$_ = {};
6780
+
6781
+ const _hoisted_1$C = {
6782
+ xmlns: "http://www.w3.org/2000/svg",
6783
+ viewBox: "0 0 1024 1024"
6784
+ };
6785
+
6786
+ function _sfc_render$f(_ctx, _cache) {
6787
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$C, _cache[0] || (_cache[0] = [
6788
+ vue.createElementVNode("path", { d: "M128 810.666667h768v85.333333H128z m128-170.666667h512v85.333333H256z m-128-170.666667h768v85.333334H128z m0-341.333333h768v85.333333H128z m128 170.666667h512v85.333333H256z" }, null, -1)
6789
+ ])))
6790
+ }
6791
+ const AlignCenter = /*#__PURE__*/_export_sfc(_sfc_main$_, [['render',_sfc_render$f]]);
6792
+
6793
+ const _sfc_main$Z = {};
6794
+
6795
+ const _hoisted_1$B = {
6796
+ xmlns: "http://www.w3.org/2000/svg",
6797
+ viewBox: "0 0 1024 1024"
6798
+ };
6799
+
6800
+ function _sfc_render$e(_ctx, _cache) {
6801
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$B, _cache[0] || (_cache[0] = [
6802
+ vue.createElementVNode("path", { d: "M128 128h768v85.333333H128z m0 682.666667h768v85.333333H128z m213.333333-170.666667h554.666667v85.333333H341.333333z m-213.333333-170.666667h768v85.333334H128z m213.333333-170.666666h554.666667v85.333333H341.333333z" }, null, -1)
6803
+ ])))
6804
+ }
6805
+ const AlignRight = /*#__PURE__*/_export_sfc(_sfc_main$Z, [['render',_sfc_render$e]]);
6806
+
6807
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6808
+ __name: "Font",
6809
+ props: {
6810
+ values: {}
6811
+ },
6812
+ emits: ["change"],
6813
+ setup(__props, { emit: __emit }) {
6814
+ const emit = __emit;
6815
+ const config = {
6816
+ items: [
6817
+ {
6818
+ type: "row",
6819
+ items: [
6820
+ {
6821
+ labelWidth: "68px",
6822
+ name: "fontSize",
6823
+ text: "字号",
6824
+ type: "data-source-field-select",
6825
+ fieldConfig: {
6826
+ type: "text"
6827
+ }
6828
+ },
6829
+ {
6830
+ labelWidth: "68px",
6831
+ name: "lineHeight",
6832
+ text: "行高",
6833
+ type: "data-source-field-select",
6834
+ fieldConfig: {
6835
+ type: "text"
6836
+ }
6837
+ }
6838
+ ]
6839
+ },
6840
+ {
6841
+ name: "fontWeight",
6842
+ text: "字重",
6843
+ labelWidth: "68px",
6844
+ type: "data-source-field-select",
6845
+ fieldConfig: {
6846
+ type: "select",
6847
+ options: ["normal", "bold"].concat(
6848
+ Array(7).fill(1).map((x, i) => `${i + 1}00`)
6849
+ ).map((item) => ({
6850
+ value: item,
6851
+ text: item
6852
+ }))
6853
+ }
6854
+ },
6855
+ {
6856
+ labelWidth: "68px",
6857
+ name: "color",
6858
+ text: "颜色",
6859
+ type: "data-source-field-select",
6860
+ fieldConfig: {
6861
+ type: "colorPicker"
6862
+ }
6863
+ },
6864
+ {
6865
+ name: "textAlign",
6866
+ text: "对齐",
6867
+ type: "radioGroup",
6868
+ childType: "button",
6869
+ labelWidth: "68px",
6870
+ options: [
6871
+ { value: "left", icon: vue.markRaw(AlignLeft), tooltip: "左对齐 row" },
6872
+ { value: "center", icon: vue.markRaw(AlignCenter), tooltip: "居中对齐 center" },
6873
+ { value: "right", icon: vue.markRaw(AlignRight), tooltip: "右对齐 right" }
6874
+ ]
6875
+ }
6876
+ ]
6877
+ };
6878
+ const change = (value, eventData) => {
6879
+ emit("change", value, eventData);
6880
+ };
6881
+ return (_ctx, _cache) => {
6882
+ return vue.openBlock(), vue.createBlock(vue.unref(formPlugin.MContainer), {
6883
+ config,
6884
+ model: _ctx.values,
6885
+ onChange: change
6886
+ }, null, 8, ["model"]);
6887
+ };
6888
+ }
6889
+ });
6890
+
6891
+ const _hoisted_1$A = { class: "layout-box-container" };
6892
+ const _hoisted_2$b = {
6893
+ key: 0,
6894
+ class: "help-txt"
6895
+ };
6896
+ const _hoisted_3$5 = { class: "next-input" };
6897
+ const _hoisted_4$4 = ["onUpdate:modelValue", "title", "onChange"];
6898
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
6899
+ __name: "Box",
6900
+ props: {
6901
+ model: {}
6902
+ },
6903
+ emits: ["change"],
6904
+ setup(__props, { emit: __emit }) {
6905
+ const list = [
6906
+ {
6907
+ name: "marginTop",
6908
+ class: "outer-top-border"
6909
+ },
6910
+ {
6911
+ name: "marginRight",
6912
+ class: "outer-right-border"
6913
+ },
6914
+ {
6915
+ name: "marginBottom",
6916
+ text: "MARGIN",
6917
+ class: "outer-bottom-border"
6918
+ },
6919
+ {
6920
+ name: "marginLeft",
6921
+ class: "outer-left-border"
6922
+ },
6923
+ {
6924
+ name: "paddingTop",
6925
+ class: "inner-top-border"
6926
+ },
6927
+ {
6928
+ name: "paddingRight",
6929
+ class: "inner-right-border"
6930
+ },
6931
+ {
6932
+ name: "paddingBottom",
6933
+ text: "PADDING",
6934
+ class: "inner-bottom-border"
6935
+ },
6936
+ {
6937
+ name: "paddingLeft",
6938
+ class: "inner-left-border"
6939
+ }
6940
+ ];
6941
+ const emit = __emit;
6942
+ const change = (event, name) => {
6943
+ emit("change", event.target.value, {
6944
+ modifyKey: name
6945
+ });
6946
+ };
6947
+ return (_ctx, _cache) => {
6948
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
6949
+ (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(list, (item, index) => {
6950
+ return vue.createElementVNode("div", {
6951
+ key: index,
6952
+ class: vue.normalizeClass(item.class)
6953
+ }, [
6954
+ item.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$b, vue.toDisplayString(item.text), 1)) : vue.createCommentVNode("", true),
6955
+ vue.createElementVNode("span", _hoisted_3$5, [
6956
+ vue.withDirectives(vue.createElementVNode("input", {
6957
+ "onUpdate:modelValue": ($event) => _ctx.model[item.name] = $event,
6958
+ title: _ctx.model[item.name],
6959
+ onChange: ($event) => change($event, item.name),
6960
+ placeholder: "0"
6961
+ }, null, 40, _hoisted_4$4), [
6962
+ [vue.vModelText, _ctx.model[item.name]]
6963
+ ])
6964
+ ])
6965
+ ], 2);
6966
+ }), 64))
6967
+ ]);
6968
+ };
6969
+ }
6970
+ });
6971
+
6972
+ const _sfc_main$W = {};
6973
+
6974
+ const _hoisted_1$z = {
6975
+ xmlns: "http://www.w3.org/2000/svg",
6976
+ viewBox: "0 0 1024 1024"
6977
+ };
6978
+
6979
+ function _sfc_render$d(_ctx, _cache) {
6980
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$z, _cache[0] || (_cache[0] = [
6981
+ vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-96 64a32 32 0 0 1 32 32v448a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32h704z" }, null, -1)
6982
+ ])))
6983
+ }
6984
+ const DisplayBlock = /*#__PURE__*/_export_sfc(_sfc_main$W, [['render',_sfc_render$d]]);
6985
+
6986
+ const _sfc_main$V = {};
6987
+
6988
+ const _hoisted_1$y = {
6989
+ xmlns: "http://www.w3.org/2000/svg",
6990
+ viewBox: "0 0 1024 1024"
6991
+ };
6992
+
6993
+ function _sfc_render$c(_ctx, _cache) {
6994
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, _cache[0] || (_cache[0] = [
6995
+ vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192zM352 256v512H160V256h192z m256 0v512h-192V256h192z m256 0v512h-192V256h192z" }, null, -1)
6996
+ ])))
6997
+ }
6998
+ const DisplayFlex = /*#__PURE__*/_export_sfc(_sfc_main$V, [['render',_sfc_render$c]]);
6999
+
7000
+ const _sfc_main$U = {};
7001
+
7002
+ const _hoisted_1$x = {
7003
+ xmlns: "http://www.w3.org/2000/svg",
7004
+ viewBox: "0 0 1024 1024"
7005
+ };
7006
+
7007
+ function _sfc_render$b(_ctx, _cache) {
7008
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, _cache[0] || (_cache[0] = [
7009
+ vue.createElementVNode("path", { d: "M787.616 651.36a142.72 142.72 0 0 0 52.864 31.904 205.504 205.504 0 0 0 67.264 10.848 245.76 245.76 0 0 0 38.784-2.4c9.504-1.6 19.36-4 30.208-7.04 8.16-2.24 15.968-5.12 23.36-8.32l23.392-10.816V587.52h-8.736c-3.968 3.424-8.96 7.648-15.104 12.544a190.272 190.272 0 0 1-19.936 13.504 120.32 120.32 0 0 1-27.616 12.544 102.528 102.528 0 0 1-62.72-0.576 80 80 0 0 1-29.824-17.088 89.28 89.28 0 0 1-21.664-32.512c-5.696-13.664-8.64-30.784-8.64-51.296 0-19.744 2.72-36.384 7.968-50.08 5.248-13.664 12.384-24.896 20.992-33.056 9.12-8.832 18.816-14.816 29.632-18.816a101.824 101.824 0 0 1 63.68-0.736c9.408 3.136 18.08 7.04 26.112 11.68 13.024 7.808 25.28 16.768 36.672 26.784H1024v-78.72c-6.08-2.88-13.12-6.08-21.12-9.6a205.984 205.984 0 0 0-57.152-15.36 270.016 270.016 0 0 0-37.056-2.304c-24.864 0-47.744 4-68.704 11.84-20.992 7.776-38.432 18.784-52.64 33.6a144.256 144.256 0 0 0-33.632 54.176 207.68 207.68 0 0 0-12.48 70.176c0 27.84 3.968 52.352 12.16 73.568a146.08 146.08 0 0 0 34.176 53.184l0.064 0.416z m-186.112 34.656a122.912 122.912 0 0 0 42.784-21.504c11.2-8.32 20.224-19.296 26.24-31.936 6.56-13.664 9.888-28.704 9.664-43.904 0-22.784-6.272-41.024-18.912-54.72-12.544-13.92-29.664-23.04-51.104-27.36v-2.304c14.4-6.24 26.688-16.448 35.52-29.408 8.384-12.544 12.544-27.008 12.544-43.52 0-14.24-2.944-26.784-9.12-37.6a65.696 65.696 0 0 0-27.936-26.24 117.44 117.44 0 0 0-36.48-12.096A437.312 437.312 0 0 0 526.656 352h-127.552v340.384h143.392c23.84 0 43.52-2.112 59.008-6.4z m-118.112-271.584h7.968c16.544 0 29.472 0.128 38.656 0.352 9.248 0.576 16.864 1.728 23.04 4a26.24 26.24 0 0 1 14.4 13.12c2.656 5.28 4.064 11.072 4.128 16.96 0.16 6.656-1.056 13.248-3.52 19.392a28.064 28.064 0 0 1-15.04 13.696c-7.04 2.912-14.56 4.48-22.208 4.576-9.472 0.32-20.864 0.544-34.24 0.544h-13.184v-72.64z m6.144 215.52h-6.144v-84.8h18.464c12.64 0 24.736 0 36.384 0.256 9.216-0.16 18.432 0.896 27.36 3.2 9.696 2.848 16.544 7.232 20.512 13.12 4 5.92 6.08 14.24 6.08 25.088 0 8.192-1.728 15.488-4.992 21.824-3.232 6.336-9.696 11.392-18.24 15.392-8.544 4-18.24 5.696-28.48 6.272-10.304 0.224-27.392 0.224-51.328 0.224l0.384-0.576z m-378.56-6.016h124.672l23.36 68.416H348.8L224.32 353.728H124.416L0 692.384h87.52l23.488-68.416-0.064-0.032z m62.336-183.552l41.472 121.44h-82.88l41.408-121.44z" }, null, -1)
7010
+ ])))
7011
+ }
7012
+ const DisplayInline = /*#__PURE__*/_export_sfc(_sfc_main$U, [['render',_sfc_render$b]]);
7013
+
7014
+ const _sfc_main$T = {};
7015
+
7016
+ const _hoisted_1$w = {
7017
+ xmlns: "http://www.w3.org/2000/svg",
7018
+ viewBox: "0 0 1024 1024"
7019
+ };
7020
+
7021
+ function _sfc_render$a(_ctx, _cache) {
7022
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, _cache[0] || (_cache[0] = [
7023
+ vue.createElementVNode("path", { d: "M960 128a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64h896z m0 64H64v640h896V192z m-131.936 158.496c65.984 1.824 109.024 32.512 129.184 92.064l-65.952 15.136-1.856-5.664c-9.984-27.52-30.432-42.112-61.376-43.84-46.72 2.784-71.456 35.296-74.208 97.6 1.856 63.2 26.56 96.64 74.24 100.32 37.536-0.928 59.52-23.36 65.92-67.328L960 559.36l-1.792 7.232c-16.96 63.872-60.352 95.84-130.144 95.84-93.44-4.608-142.464-56.8-147.04-156.672 4.576-98.048 53.6-149.792 147.04-155.296z m-568.928 4.128l114.08 302.336H297.6l-22.016-65.984H160.192L138.24 656.96H64l112.672-302.336h82.464z m278.976 0l7.68 0.32c62.816 3.36 96 27.104 99.52 71.136 0 35.744-19.712 59.552-59.104 71.456 42.144 9.184 65.952 32.544 71.456 70.08 0 59.552-37.568 89.344-112.672 89.344h-148.416v-302.336h141.536z m-4.128 173.152H465.28v81.088h67.328c33.92 0 51.296-13.76 52.224-41.248-2.752-25.632-19.68-38.912-50.848-39.84zM217.92 408.224h-1.376l-0.96 7.36c-1.184 7.232-3.168 13.92-5.92 20.128l-34.336 103.04h87.936l-38.464-104.416-2.624-9.024c-1.6-5.888-3.04-11.584-4.256-17.088z m309.184-2.752H465.28v71.456h61.824c29.344-0.928 44.448-13.76 45.376-38.464-0.96-22.016-16.032-32.992-45.376-32.992z" }, null, -1)
7024
+ ])))
7025
+ }
7026
+ const DisplayInlineBlock = /*#__PURE__*/_export_sfc(_sfc_main$T, [['render',_sfc_render$a]]);
7027
+
7028
+ const _sfc_main$S = {};
7029
+
7030
+ const _hoisted_1$v = {
7031
+ xmlns: "http://www.w3.org/2000/svg",
7032
+ viewBox: "0 0 1024 1024"
7033
+ };
7034
+
7035
+ function _sfc_render$9(_ctx, _cache) {
7036
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, _cache[0] || (_cache[0] = [
7037
+ vue.createElementVNode("path", { d: "M931.37 477.14c-43.94-69.49-93.39-125.03-147.99-166.35L663.31 441.46c8.79 21.36 13.63 44.91 13.63 69.62 0 96.27-73.84 174.32-164.95 174.32-21.63 0-42.28-4.39-61.32-12.47l-94.09 102.52a455.097 455.097 0 0 0 155.41 26.2c172.62 0 312.43-85.54 419.59-256.63 12.83-20.43 12.72-47.45-0.21-67.88zM795.52 127.99L682.24 252.82C627.73 231 570.1 220.04 512.11 220.5c-171.15 0-310.99 85.66-419.48 256.75-12.93 20.43-13.04 47.33-0.2 67.78 46.95 75.15 100.3 133.68 160.01 175.82L131.9 853.65l38.9 42.36 663.6-725.76-38.88-42.26zM519.68 438.37c-3.72-0.59-7.46-0.81-11.27-0.81-45.63 0-82.43 39.03-82.43 87.16 0 4.97 0.42 9.81 1.14 14.54l-57.15 60.14-5.92 8.33c-13.15-24.94-20.5-53.68-20.5-84.28 0-96.3 73.84-174.45 164.95-174.45 27.2 0 52.76 6.93 75.4 19.29l-64.22 70.08z m52.05 135.53c21.74-23.26 27.17-55.48 16.31-81.39l-96.42 103.16c26.59 9.08 58.38 1.48 80.11-21.77z" }, null, -1)
7038
+ ])))
7039
+ }
7040
+ const DisplayNone = /*#__PURE__*/_export_sfc(_sfc_main$S, [['render',_sfc_render$9]]);
7041
+
7042
+ const _sfc_main$R = {};
7043
+
7044
+ const _hoisted_1$u = {
7045
+ xmlns: "http://www.w3.org/2000/svg",
7046
+ viewBox: "0 0 1024 1024"
7047
+ };
7048
+
7049
+ function _sfc_render$8(_ctx, _cache) {
7050
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$u, _cache[0] || (_cache[0] = [
7051
+ vue.createElementVNode("path", { d: "M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z" }, null, -1)
7052
+ ])))
7053
+ }
7054
+ const FlexDirectionColumn = /*#__PURE__*/_export_sfc(_sfc_main$R, [['render',_sfc_render$8]]);
7055
+
7056
+ const _sfc_main$Q = {};
7057
+
7058
+ const _hoisted_1$t = {
7059
+ xmlns: "http://www.w3.org/2000/svg",
7060
+ viewBox: "0 0 1024 1024"
7061
+ };
7062
+
7063
+ function _sfc_render$7(_ctx, _cache) {
7064
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$t, _cache[0] || (_cache[0] = [
7065
+ vue.createElementVNode("path", { d: "M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z" }, null, -1)
7066
+ ])))
7067
+ }
7068
+ const FlexDirectionColumnReverse = /*#__PURE__*/_export_sfc(_sfc_main$Q, [['render',_sfc_render$7]]);
7069
+
7070
+ const _sfc_main$P = {};
7071
+
7072
+ const _hoisted_1$s = {
7073
+ xmlns: "http://www.w3.org/2000/svg",
7074
+ viewBox: "0 0 1024 1024"
7075
+ };
7076
+
7077
+ function _sfc_render$6(_ctx, _cache) {
7078
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$s, _cache[0] || (_cache[0] = [
7079
+ vue.createElementVNode("path", { d: "M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z" }, null, -1)
7080
+ ])))
7081
+ }
7082
+ const FlexDirectionRow = /*#__PURE__*/_export_sfc(_sfc_main$P, [['render',_sfc_render$6]]);
7083
+
7084
+ const _sfc_main$O = {};
7085
+
7086
+ const _hoisted_1$r = {
7087
+ xmlns: "http://www.w3.org/2000/svg",
7088
+ viewBox: "0 0 1024 1024"
7089
+ };
7090
+
7091
+ function _sfc_render$5(_ctx, _cache) {
7092
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, _cache[0] || (_cache[0] = [
7093
+ vue.createElementVNode("path", { d: "M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z" }, null, -1)
7094
+ ])))
7095
+ }
7096
+ const FlexDirectionRowReverse = /*#__PURE__*/_export_sfc(_sfc_main$O, [['render',_sfc_render$5]]);
7097
+
7098
+ const _sfc_main$N = {};
7099
+
7100
+ const _hoisted_1$q = {
7101
+ xmlns: "http://www.w3.org/2000/svg",
7102
+ viewBox: "0 0 1024 1024"
7103
+ };
7104
+
7105
+ function _sfc_render$4(_ctx, _cache) {
7106
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$q, _cache[0] || (_cache[0] = [
7107
+ vue.createElementVNode("path", { d: "M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z" }, null, -1)
7108
+ ])))
7109
+ }
7110
+ const JustifyContentCenter = /*#__PURE__*/_export_sfc(_sfc_main$N, [['render',_sfc_render$4]]);
7111
+
7112
+ const _sfc_main$M = {};
7113
+
7114
+ const _hoisted_1$p = {
7115
+ xmlns: "http://www.w3.org/2000/svg",
7116
+ viewBox: "0 0 1024 1024"
7117
+ };
7118
+
7119
+ function _sfc_render$3(_ctx, _cache) {
7120
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$p, _cache[0] || (_cache[0] = [
7121
+ vue.createElementVNode("path", { d: "M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z" }, null, -1)
7122
+ ])))
7123
+ }
7124
+ const JustifyContentFlexEnd = /*#__PURE__*/_export_sfc(_sfc_main$M, [['render',_sfc_render$3]]);
7125
+
7126
+ const _sfc_main$L = {};
7127
+
7128
+ const _hoisted_1$o = {
7129
+ xmlns: "http://www.w3.org/2000/svg",
7130
+ viewBox: "0 0 1024 1024"
7131
+ };
7132
+
7133
+ function _sfc_render$2(_ctx, _cache) {
7134
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$o, _cache[0] || (_cache[0] = [
7135
+ vue.createElementVNode("path", { d: "M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z" }, null, -1)
7136
+ ])))
7137
+ }
7138
+ const JustifyContentFlexStart = /*#__PURE__*/_export_sfc(_sfc_main$L, [['render',_sfc_render$2]]);
7139
+
7140
+ const _sfc_main$K = {};
7141
+
7142
+ const _hoisted_1$n = {
7143
+ xmlns: "http://www.w3.org/2000/svg",
7144
+ viewBox: "0 0 1024 1024"
7145
+ };
7146
+
7147
+ function _sfc_render$1(_ctx, _cache) {
7148
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$n, _cache[0] || (_cache[0] = [
7149
+ vue.createElementVNode("path", { d: "M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z" }, null, -1)
7150
+ ])))
7151
+ }
7152
+ const JustifyContentSpaceAround = /*#__PURE__*/_export_sfc(_sfc_main$K, [['render',_sfc_render$1]]);
7153
+
7154
+ const _sfc_main$J = {};
7155
+
7156
+ const _hoisted_1$m = {
7157
+ xmlns: "http://www.w3.org/2000/svg",
7158
+ viewBox: "0 0 1024 1024"
7159
+ };
7160
+
7161
+ function _sfc_render(_ctx, _cache) {
7162
+ return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$m, _cache[0] || (_cache[0] = [
7163
+ vue.createElementVNode("path", { d: "M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z" }, null, -1)
7164
+ ])))
7165
+ }
7166
+ const JustifyContentSpaceBetween = /*#__PURE__*/_export_sfc(_sfc_main$J, [['render',_sfc_render]]);
7167
+
7168
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
7169
+ __name: "Layout",
7170
+ props: {
7171
+ values: {}
7172
+ },
7173
+ emits: ["change"],
7174
+ setup(__props, { emit: __emit }) {
7175
+ const emit = __emit;
7176
+ const config = {
7177
+ items: [
7178
+ {
7179
+ name: "display",
7180
+ text: "模式",
7181
+ type: "radioGroup",
7182
+ childType: "button",
7183
+ labelWidth: "68px",
7184
+ options: [
7185
+ { value: "inline", icon: vue.markRaw(DisplayInline), tooltip: "内联布局 inline" },
7186
+ { value: "flex", icon: vue.markRaw(DisplayFlex), tooltip: "弹性布局 flex" },
7187
+ { value: "block", icon: vue.markRaw(DisplayBlock), tooltip: "块级布局 block" },
7188
+ { value: "inline-block", icon: vue.markRaw(DisplayInlineBlock), tooltip: "内联块布局 inline-block" },
7189
+ { value: "none", icon: vue.markRaw(DisplayNone), tooltip: "隐藏 none" }
7190
+ ]
7191
+ },
7192
+ {
7193
+ name: "flexDirection",
7194
+ text: "主轴方向",
7195
+ type: "radioGroup",
7196
+ childType: "button",
7197
+ labelWidth: "68px",
7198
+ options: [
7199
+ { value: "row", icon: vue.markRaw(FlexDirectionRow), tooltip: "水平方向 起点在左侧 row" },
7200
+ { value: "row-reverse", icon: vue.markRaw(FlexDirectionRowReverse), tooltip: "水平方向 起点在右侧 row-reverse" },
7201
+ { value: "column", icon: vue.markRaw(FlexDirectionColumn), tooltip: "垂直方向 起点在上沿 column" },
7202
+ {
7203
+ value: "column-reverse",
7204
+ icon: vue.markRaw(FlexDirectionColumnReverse),
7205
+ tooltip: "垂直方向 起点在下沿 column-reverse"
7206
+ }
7207
+ ],
7208
+ display: (mForm, { model }) => model.display === "flex"
7209
+ },
7210
+ {
7211
+ name: "justifyContent",
7212
+ text: "主轴对齐",
7213
+ type: "radioGroup",
7214
+ childType: "button",
7215
+ labelWidth: "68px",
7216
+ options: [
7217
+ { value: "flex-start", icon: vue.markRaw(JustifyContentFlexStart), tooltip: "左对齐 flex-start" },
7218
+ { value: "flex-end", icon: vue.markRaw(JustifyContentFlexEnd), tooltip: "右对齐 flex-end" },
7219
+ { value: "center", icon: vue.markRaw(JustifyContentCenter), tooltip: "居中 center" },
7220
+ { value: "space-between", icon: vue.markRaw(JustifyContentSpaceBetween), tooltip: "两端对齐 space-between" },
7221
+ { value: "space-around", icon: vue.markRaw(JustifyContentSpaceAround), tooltip: "横向平分 space-around" }
7222
+ ],
7223
+ display: (mForm, { model }) => model.display === "flex"
7224
+ },
7225
+ {
7226
+ name: "alignItems",
7227
+ text: "辅轴对齐",
7228
+ type: "radioGroup",
7229
+ childType: "button",
7230
+ labelWidth: "68px",
7231
+ options: [
7232
+ { value: "flex-start", icon: vue.markRaw(JustifyContentFlexStart), tooltip: "左对齐 flex-start" },
7233
+ { value: "flex-end", icon: vue.markRaw(JustifyContentFlexEnd), tooltip: "右对齐 flex-end" },
7234
+ { value: "center", icon: vue.markRaw(JustifyContentCenter), tooltip: "居中 center" },
7235
+ { value: "space-between", icon: vue.markRaw(JustifyContentSpaceBetween), tooltip: "两端对齐 space-between" },
7236
+ { value: "space-around", icon: vue.markRaw(JustifyContentSpaceAround), tooltip: "横向平分 space-around" }
7237
+ ],
7238
+ display: (mForm, { model }) => model.display === "flex"
7239
+ },
7240
+ {
7241
+ name: "flexWrap",
7242
+ text: "换行",
7243
+ type: "radioGroup",
7244
+ childType: "button",
7245
+ labelWidth: "68px",
7246
+ options: [
7247
+ { value: "nowrap", text: "不换行", tooltip: "不换行 nowrap" },
7248
+ { value: "wrap", text: "正换行", tooltip: "第一行在上方 wrap" },
7249
+ { value: "wrap-reverse", text: "逆换行", tooltip: "第一行在下方 wrap-reverse" }
7250
+ ],
7251
+ display: (mForm, { model }) => model.display === "flex"
7252
+ },
7253
+ {
7254
+ type: "row",
7255
+ items: [
7256
+ {
7257
+ name: "width",
7258
+ text: "宽度",
7259
+ labelWidth: "68px",
7260
+ type: "data-source-field-select",
7261
+ fieldConfig: {
7262
+ type: "text"
7263
+ }
7264
+ },
7265
+ {
7266
+ name: "height",
7267
+ text: "宽度",
7268
+ labelWidth: "68px",
7269
+ type: "data-source-field-select",
7270
+ fieldConfig: {
7271
+ type: "text"
7272
+ }
7273
+ }
7274
+ ]
7275
+ },
7276
+ {
7277
+ type: "data-source-field-select",
7278
+ text: "overflow",
7279
+ name: "overflow",
7280
+ checkStrictly: false,
7281
+ dataSourceFieldType: ["string"],
7282
+ fieldConfig: {
7283
+ type: "select",
7284
+ clearable: true,
7285
+ allowCreate: true,
7286
+ options: [
7287
+ { text: "visible", value: "visible" },
7288
+ { text: "hidden", value: "hidden" },
7289
+ { text: "clip", value: "clip" },
7290
+ { text: "scroll", value: "scroll" },
7291
+ { text: "auto", value: "auto" },
7292
+ { text: "overlay", value: "overlay" },
7293
+ { text: "initial", value: "initial" }
7294
+ ]
7295
+ }
7296
+ }
7297
+ ]
7298
+ };
7299
+ const change = (value, eventData) => {
7300
+ emit("change", value, eventData);
7301
+ };
7302
+ return (_ctx, _cache) => {
7303
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
7304
+ vue.createVNode(vue.unref(formPlugin.MContainer), {
7305
+ config,
7306
+ model: _ctx.values,
7307
+ onChange: change
7308
+ }, null, 8, ["model"]),
7309
+ vue.createVNode(_sfc_main$X, {
7310
+ model: _ctx.values,
7311
+ onChange: change
7312
+ }, null, 8, ["model"])
7313
+ ], 64);
7314
+ };
7315
+ }
7316
+ });
7317
+
7318
+ const _hoisted_1$l = { class: "layout-box-container" };
7319
+ const _hoisted_2$a = { class: "next-input" };
7320
+ const _hoisted_3$4 = ["onUpdate:modelValue", "title", "onChange"];
7321
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
7322
+ __name: "Position",
7323
+ props: {
7324
+ model: {}
7325
+ },
7326
+ emits: ["change"],
7327
+ setup(__props, { emit: __emit }) {
7328
+ const list = [
7329
+ {
7330
+ name: "top",
7331
+ class: "outer-top-border"
7332
+ },
7333
+ {
7334
+ name: "right",
7335
+ class: "outer-right-border"
7336
+ },
7337
+ {
7338
+ name: "bottom",
7339
+ class: "outer-bottom-border"
7340
+ },
7341
+ {
7342
+ name: "left",
7343
+ class: "outer-left-border"
7344
+ }
7345
+ ];
7346
+ const emit = __emit;
7347
+ const change = (event, name) => {
7348
+ emit("change", event.target.value, {
7349
+ modifyKey: name
7350
+ });
7351
+ };
7352
+ return (_ctx, _cache) => {
7353
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
7354
+ (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(list, (item, index) => {
7355
+ return vue.createElementVNode("div", {
7356
+ key: index,
7357
+ class: vue.normalizeClass(item.class)
7358
+ }, [
7359
+ vue.createElementVNode("span", _hoisted_2$a, [
7360
+ vue.withDirectives(vue.createElementVNode("input", {
7361
+ "onUpdate:modelValue": ($event) => _ctx.model[item.name] = $event,
7362
+ title: _ctx.model[item.name],
7363
+ onChange: ($event) => change($event, item.name),
7364
+ placeholder: "0"
7365
+ }, null, 40, _hoisted_3$4), [
7366
+ [vue.vModelText, _ctx.model[item.name]]
7367
+ ])
7368
+ ])
7369
+ ], 2);
7370
+ }), 64))
7371
+ ]);
7372
+ };
7373
+ }
7374
+ });
7375
+
7376
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
7377
+ __name: "Position",
7378
+ props: {
7379
+ values: {}
7380
+ },
7381
+ emits: ["change"],
7382
+ setup(__props, { emit: __emit }) {
7383
+ const emit = __emit;
7384
+ const config = {
7385
+ items: [
7386
+ {
7387
+ name: "position",
7388
+ text: "定位",
7389
+ labelWidth: "68px",
7390
+ type: "data-source-field-select",
7391
+ fieldConfig: {
7392
+ type: "select",
7393
+ options: ["static", "relative", "absolute", "fixed", "sticky"].map((item) => ({
7394
+ value: item,
7395
+ text: item
7396
+ }))
7397
+ }
7398
+ },
7399
+ {
7400
+ labelWidth: "68px",
7401
+ name: "zIndex",
7402
+ text: "zIndex",
7403
+ type: "data-source-field-select",
7404
+ fieldConfig: {
7405
+ type: "text"
7406
+ }
7407
+ }
7408
+ ]
7409
+ };
7410
+ const change = (value, eventData) => {
7411
+ emit("change", value, eventData);
7412
+ };
7413
+ return (_ctx, _cache) => {
7414
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
7415
+ vue.createVNode(vue.unref(formPlugin.MContainer), {
7416
+ config,
7417
+ model: _ctx.values,
7418
+ onChange: change
7419
+ }, null, 8, ["model"]),
7420
+ vue.withDirectives(vue.createVNode(_sfc_main$H, {
7421
+ model: _ctx.values,
7422
+ onChange: change
7423
+ }, null, 8, ["model"]), [
7424
+ [vue.vShow, _ctx.values["position"] !== "static"]
7425
+ ])
7426
+ ], 64);
7427
+ };
7428
+ }
7429
+ });
7430
+
7431
+ const _hoisted_1$k = { class: "border-box-container" };
7432
+ const _hoisted_2$9 = { class: "border-icon-container" };
7433
+ const _hoisted_3$3 = { class: "border-icon-container-row" };
7434
+ const _hoisted_4$3 = { class: "border-icon-container-row" };
7435
+ const _hoisted_5$1 = { class: "border-icon-container-row" };
7436
+ const _hoisted_6 = { class: "border-value-container" };
7437
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7438
+ __name: "Border",
7439
+ props: {
7440
+ model: {}
7441
+ },
7442
+ emits: ["change"],
7443
+ setup(__props, { emit: __emit }) {
7444
+ const direction = vue.ref("");
7445
+ const config = vue.computed(() => ({
7446
+ items: [
7447
+ {
7448
+ name: `border${direction.value}Width`,
7449
+ text: "边框宽度",
7450
+ labelWidth: "68px",
7451
+ type: "data-source-field-select",
7452
+ fieldConfig: {
7453
+ type: "text"
7454
+ }
7455
+ },
7456
+ {
7457
+ name: `border${direction.value}Color`,
7458
+ text: "边框颜色",
7459
+ labelWidth: "68px",
7460
+ type: "data-source-field-select",
7461
+ fieldConfig: {
7462
+ type: "colorPicker"
7463
+ }
7464
+ },
7465
+ {
7466
+ name: `border${direction.value}Style`,
7467
+ text: "边框样式",
7468
+ labelWidth: "68px",
7469
+ type: "data-source-field-select",
7470
+ fieldConfig: {
7471
+ type: "select",
7472
+ options: ["solid", "dashed", "dotted"].map((item) => ({
7473
+ value: item,
7474
+ text: item
7475
+ }))
7476
+ }
7477
+ }
7478
+ ]
7479
+ }));
7480
+ const selectDirection = (d) => direction.value = d || "";
7481
+ const emit = __emit;
7482
+ const change = (value, eventData) => {
7483
+ eventData.changeRecords?.forEach((record) => {
7484
+ emit("change", record.value, {
7485
+ modifyKey: record.propPath
7486
+ });
7487
+ });
7488
+ };
7489
+ return (_ctx, _cache) => {
7490
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
7491
+ vue.createElementVNode("div", _hoisted_2$9, [
7492
+ vue.createElementVNode("div", _hoisted_3$3, [
7493
+ vue.createElementVNode("div", {
7494
+ class: vue.normalizeClass(["border-icon border-icon-top", { active: direction.value === "Top" }]),
7495
+ onClick: _cache[0] || (_cache[0] = ($event) => selectDirection("Top"))
7496
+ }, null, 2)
7497
+ ]),
7498
+ vue.createElementVNode("div", _hoisted_4$3, [
7499
+ vue.createElementVNode("div", {
7500
+ class: vue.normalizeClass(["border-icon border-icon-left", { active: direction.value === "Left" }]),
7501
+ onClick: _cache[1] || (_cache[1] = ($event) => selectDirection("Left"))
7502
+ }, null, 2),
7503
+ vue.createElementVNode("div", {
7504
+ class: vue.normalizeClass(["border-icon", { active: direction.value === "" }]),
7505
+ onClick: _cache[2] || (_cache[2] = ($event) => selectDirection())
7506
+ }, null, 2),
7507
+ vue.createElementVNode("div", {
7508
+ class: vue.normalizeClass(["border-icon border-icon-right", { active: direction.value === "Right" }]),
7509
+ onClick: _cache[3] || (_cache[3] = ($event) => selectDirection("Right"))
7510
+ }, null, 2)
7511
+ ]),
7512
+ vue.createElementVNode("div", _hoisted_5$1, [
7513
+ vue.createElementVNode("div", {
7514
+ class: vue.normalizeClass(["border-icon border-icon-bottom", { active: direction.value === "Bottom" }]),
7515
+ onClick: _cache[4] || (_cache[4] = ($event) => selectDirection("Bottom"))
7516
+ }, null, 2)
7517
+ ])
7518
+ ]),
7519
+ vue.createElementVNode("div", _hoisted_6, [
7520
+ vue.createVNode(vue.unref(formPlugin.MContainer), {
7521
+ config: config.value,
7522
+ model: _ctx.model,
7523
+ onChange: change
7524
+ }, null, 8, ["config", "model"])
7525
+ ])
7526
+ ]);
7527
+ };
7528
+ }
7529
+ });
7530
+
7531
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7532
+ __name: "Border",
7533
+ props: {
7534
+ values: {}
7535
+ },
7536
+ emits: ["change"],
7537
+ setup(__props, { emit: __emit }) {
7538
+ const emit = __emit;
7539
+ const config = {
7540
+ items: [
7541
+ {
7542
+ labelWidth: "68px",
7543
+ name: "borderRadius",
7544
+ text: "圆角",
7545
+ type: "data-source-field-select",
7546
+ fieldConfig: {
7547
+ type: "text"
7548
+ }
7549
+ }
7550
+ ]
7551
+ };
7552
+ const change = (value, eventData) => {
7553
+ emit("change", value, eventData);
7554
+ };
7555
+ return (_ctx, _cache) => {
7556
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
7557
+ vue.createVNode(vue.unref(formPlugin.MContainer), {
7558
+ config,
7559
+ model: _ctx.values,
7560
+ onChange: change
7561
+ }, null, 8, ["model"]),
7562
+ vue.createVNode(_sfc_main$F, {
7563
+ model: _ctx.values,
7564
+ onChange: change
7565
+ }, null, 8, ["model"])
7566
+ ], 64);
7567
+ };
7568
+ }
7569
+ });
7570
+
7571
+ const _hoisted_1$j = { class: "m-fields-style-setter" };
7572
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7573
+ ...{
7574
+ name: "MFieldsStyleSetter"
7575
+ },
7576
+ __name: "Index",
7577
+ props: {
7578
+ config: {},
7579
+ model: {},
7580
+ initValues: {},
7581
+ values: {},
7582
+ name: {},
7583
+ prop: {},
7584
+ disabled: { type: Boolean },
7585
+ size: {},
7586
+ lastValues: {}
7587
+ },
7588
+ emits: ["change"],
7589
+ setup(__props, { emit: __emit }) {
7590
+ const emit = __emit;
7591
+ const list = [
7592
+ {
7593
+ name: "font",
7594
+ title: "布局",
7595
+ component: _sfc_main$I
7596
+ },
7597
+ {
7598
+ title: "位置",
7599
+ component: _sfc_main$G
7600
+ },
7601
+ {
7602
+ title: "背景",
7603
+ component: _sfc_main$10
7604
+ },
7605
+ {
7606
+ title: "文字",
7607
+ component: _sfc_main$Y
7608
+ },
7609
+ {
7610
+ title: "边框与圆角",
7611
+ component: _sfc_main$E
7612
+ }
7613
+ ];
7614
+ const collapseValue = vue.shallowRef(
7615
+ Array(list.length).fill(1).map((x, i) => `${i}`)
7616
+ );
7617
+ const change = (v, eventData) => {
7618
+ emit("change", v, eventData);
7619
+ };
7620
+ return (_ctx, _cache) => {
7621
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
7622
+ vue.createVNode(vue.unref(designPlugin.TMagicCollapse), { "model-value": collapseValue.value }, {
7623
+ default: vue.withCtx(() => [
7624
+ (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(list, (item, index) => {
7625
+ return vue.createVNode(vue.unref(designPlugin.TMagicCollapseItem), {
7626
+ key: index,
7627
+ name: `${index}`
7628
+ }, {
7629
+ title: vue.withCtx(() => [
7630
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
7631
+ vue.createTextVNode(vue.toDisplayString(item.title), 1)
7632
+ ]),
7633
+ default: vue.withCtx(() => [
7634
+ item.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.component), {
7635
+ key: 0,
7636
+ values: _ctx.model[_ctx.name],
7637
+ onChange: change
7638
+ }, null, 40, ["values"])) : vue.createCommentVNode("", true)
7639
+ ]),
7640
+ _: 2
7641
+ }, 1032, ["name"]);
7642
+ }), 64))
7643
+ ]),
7644
+ _: 1
7645
+ }, 8, ["model-value"])
7646
+ ]);
7647
+ };
7648
+ }
7649
+ });
7650
+
7651
+ const _hoisted_1$i = {
7652
+ key: 1,
7653
+ class: "m-fields-ui-select",
7654
+ style: { "display": "flex" }
7655
+ };
7656
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7657
+ ...{
7658
+ name: "MFieldsUISelect"
7659
+ },
7660
+ __name: "UISelect",
7661
+ props: {
7662
+ config: {},
7663
+ model: {},
7664
+ initValues: {},
7665
+ values: {},
7666
+ name: {},
7667
+ prop: {},
7668
+ disabled: { type: Boolean },
7669
+ size: {},
7670
+ lastValues: {}
7671
+ },
7672
+ emits: ["change"],
7673
+ setup(__props, { emit: __emit }) {
7674
+ const props = __props;
7675
+ const emit = __emit;
7676
+ const services = vue.inject("services");
7677
+ const mForm = vue.inject("mForm");
7678
+ const val = vue.computed(() => props.model[props.name]);
7679
+ const uiSelectMode = vue.ref(false);
7680
+ const cancelHandler = () => {
7681
+ if (!services?.uiService) return;
7682
+ services.uiService.set("uiSelectMode", false);
7683
+ uiSelectMode.value = false;
7684
+ globalThis.document.removeEventListener(UI_SELECT_MODE_EVENT_NAME, clickHandler);
7685
+ };
7686
+ const clickHandler = ({ detail }) => {
7687
+ let { id } = detail;
7688
+ if (detail.nodeType) {
7689
+ id = utils.getIdFromEl()(detail) || id;
7690
+ }
7691
+ if (id) {
7692
+ props.model[props.name] = id;
7693
+ emit("change", id);
7694
+ mForm?.$emit("field-change", props.prop, id);
7695
+ }
7696
+ if (cancelHandler) {
7697
+ cancelHandler();
7698
+ }
7699
+ };
7700
+ const toName = vue.computed(() => {
7701
+ const config = services?.editorService.getNodeById(val.value);
7702
+ return config?.name || "";
7703
+ });
7704
+ const startSelect = () => {
7705
+ if (!services?.uiService) return;
7706
+ services.uiService.set("uiSelectMode", true);
7707
+ uiSelectMode.value = true;
7708
+ globalThis.document.addEventListener(UI_SELECT_MODE_EVENT_NAME, clickHandler);
7709
+ };
7710
+ const deleteHandler = () => {
7711
+ if (props.model) {
7712
+ props.model[props.name] = "";
7713
+ emit("change", "");
7714
+ mForm?.$emit("field-change", props.prop, "");
7715
+ }
7716
+ };
7717
+ const selectNode = async (id) => {
7718
+ if (!services) return;
7719
+ await services.editorService.select(id);
7720
+ services.editorService.get("stage")?.select(id);
7721
+ services.stageOverlayService.get("stage")?.select(id);
6839
7722
  };
6840
7723
  const highlight = lodashEs.throttle((id) => {
6841
7724
  if (!services) return;
@@ -7207,7 +8090,7 @@
7207
8090
  disabled: disabled.value
7208
8091
  }, {
7209
8092
  default: vue.withCtx(() => [
7210
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
8093
+ _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
7211
8094
  key: 0,
7212
8095
  icon: _ctx.data.icon
7213
8096
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -7225,7 +8108,7 @@
7225
8108
  title: _ctx.data.text
7226
8109
  }, {
7227
8110
  default: vue.withCtx(() => [
7228
- _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
8111
+ _ctx.data.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
7229
8112
  key: 0,
7230
8113
  icon: _ctx.data.icon
7231
8114
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -7309,7 +8192,7 @@
7309
8192
  return showAddPageButton.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
7310
8193
  vue.createVNode(vue.unref(designPlugin.TMagicPopover), { "popper-class": "data-source-list-panel-add-menu" }, {
7311
8194
  reference: vue.withCtx(() => [
7312
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
8195
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
7313
8196
  ]),
7314
8197
  default: vue.withCtx(() => [
7315
8198
  vue.createVNode(_sfc_main$z, {
@@ -7477,14 +8360,14 @@
7477
8360
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-item-left-icon",
7478
8361
  onClick: _cache[0] || (_cache[0] = ($event) => scroll("left"))
7479
8362
  }, [
7480
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.ArrowLeftBold) }, null, 8, ["icon"])
8363
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.ArrowLeftBold) }, null, 8, ["icon"])
7481
8364
  ])) : vue.createCommentVNode("", true),
7482
8365
  canScroll.value ? (vue.openBlock(), vue.createElementBlock("div", {
7483
8366
  key: 2,
7484
8367
  class: "m-editor-page-bar-item m-editor-page-bar-item-icon m-editor-page-bar-item-right-icon",
7485
8368
  onClick: _cache[1] || (_cache[1] = ($event) => scroll("right"))
7486
8369
  }, [
7487
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.ArrowRightBold) }, null, 8, ["icon"])
8370
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.ArrowRightBold) }, null, 8, ["icon"])
7488
8371
  ])) : vue.createCommentVNode("", true)
7489
8372
  ], 512);
7490
8373
  };
@@ -7594,7 +8477,7 @@
7594
8477
  };
7595
8478
  return (_ctx, _cache) => {
7596
8479
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
7597
- vue.createVNode(_sfc_main$Z, {
8480
+ vue.createVNode(_sfc_main$1s, {
7598
8481
  icon: vue.unref(iconsVue.Search),
7599
8482
  onClick: _cache[0] || (_cache[0] = ($event) => visible.value = !visible.value),
7600
8483
  class: vue.normalizeClass({ "icon-active": visible.value })
@@ -7818,7 +8701,7 @@
7818
8701
  onClick: _cache[0] || (_cache[0] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE))
7819
8702
  }, [
7820
8703
  vue.createElementVNode("div", null, [
7821
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
8704
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
7822
8705
  ]),
7823
8706
  _cache[2] || (_cache[2] = vue.createElementVNode("p", null, "新增页面", -1))
7824
8707
  ]),
@@ -7828,7 +8711,7 @@
7828
8711
  onClick: _cache[1] || (_cache[1] = ($event) => clickHandler(vue.unref(core.NodeType).PAGE_FRAGMENT))
7829
8712
  }, [
7830
8713
  vue.createElementVNode("div", null, [
7831
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
8714
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Plus) }, null, 8, ["icon"])
7832
8715
  ]),
7833
8716
  _cache[3] || (_cache[3] = vue.createElementVNode("p", null, "新增页面片", -1))
7834
8717
  ])) : vue.createCommentVNode("", true)
@@ -7920,7 +8803,7 @@
7920
8803
  vue.renderSlot(_ctx.$slots, "nav"),
7921
8804
  vue.renderSlot(_ctx.$slots, "content-before"),
7922
8805
  showSrc.value ? vue.renderSlot(_ctx.$slots, "src-code", { key: 0 }, () => [
7923
- vue.createVNode(_sfc_main$Y, {
8806
+ vue.createVNode(_sfc_main$1r, {
7924
8807
  class: "m-editor-content",
7925
8808
  "init-values": root.value,
7926
8809
  options: vue.unref(codeOptions),
@@ -8218,7 +9101,7 @@
8218
9101
  });
8219
9102
  const internalInstance = vue.getCurrentInstance();
8220
9103
  vue.onMounted(() => {
8221
- emit("mounted", internalInstance);
9104
+ emit("mounted", internalInstance?.proxy);
8222
9105
  });
8223
9106
  const submit = async (v, eventData) => {
8224
9107
  try {
@@ -8266,11 +9149,11 @@
8266
9149
  onClick: _cache[0] || (_cache[0] = ($event) => showSrc.value = !showSrc.value)
8267
9150
  }, {
8268
9151
  default: vue.withCtx(() => [
8269
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Document) }, null, 8, ["icon"])
9152
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Document) }, null, 8, ["icon"])
8270
9153
  ]),
8271
9154
  _: 1
8272
9155
  }, 8, ["type"])) : vue.createCommentVNode("", true),
8273
- showSrc.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
9156
+ showSrc.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1r, {
8274
9157
  key: 1,
8275
9158
  class: "m-editor-props-panel-src-code",
8276
9159
  height: `${vue.unref(editorContentHeight)}px`,
@@ -8308,7 +9191,10 @@
8308
9191
  };
8309
9192
  };
8310
9193
 
8311
- const _hoisted_1$a = { class: "m-editor-props-panel" };
9194
+ const _hoisted_1$a = {
9195
+ ref: "propsPanel",
9196
+ class: "m-editor-props-panel"
9197
+ };
8312
9198
  const _hoisted_2$4 = { class: "m-editor-props-style-panel-title" };
8313
9199
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
8314
9200
  ...{
@@ -8352,7 +9238,18 @@
8352
9238
  if (!v.id) {
8353
9239
  v.id = values.value.id;
8354
9240
  }
8355
- services?.editorService.update(v, { changeRecords: eventData?.changeRecords });
9241
+ const newValue = {
9242
+ ...v,
9243
+ style: {}
9244
+ };
9245
+ if (v.style) {
9246
+ Object.entries(v.style).forEach(([key, value]) => {
9247
+ if (value !== "" && newValue.style) {
9248
+ newValue.style[key] = value;
9249
+ }
9250
+ });
9251
+ }
9252
+ services?.editorService.update(newValue, { changeRecords: eventData?.changeRecords });
8356
9253
  } catch (e) {
8357
9254
  emit("submit-error", e);
8358
9255
  }
@@ -8363,6 +9260,16 @@
8363
9260
  const mountedHandler = (e) => {
8364
9261
  emit("mounted", e);
8365
9262
  };
9263
+ const propsPanelEl = vue.useTemplateRef("propsPanel");
9264
+ const widthChange = ({ deltaX }) => {
9265
+ if (!propsPanelEl.value) {
9266
+ return;
9267
+ }
9268
+ const width = globalThis.parseFloat(
9269
+ getComputedStyle(propsPanelEl.value).getPropertyValue("--props-style-panel-width")
9270
+ );
9271
+ propsPanelEl.value.style.setProperty("--props-style-panel-width", `${width - deltaX}px`);
9272
+ };
8366
9273
  const { showStylePanel, showStylePanelHandler, closeStylePanelHandler } = useStylePanel(services);
8367
9274
  const propertyFormPanelRef = vue.useTemplateRef("propertyFormPanel");
8368
9275
  __expose({
@@ -8386,8 +9293,12 @@
8386
9293
  onFormError: errorHandler,
8387
9294
  onMounted: mountedHandler
8388
9295
  }, null, 8, ["class", "config", "values", "disabledShowSrc", "extendState"]),
8389
- vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
9296
+ vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
8390
9297
  key: 0,
9298
+ onChange: widthChange
9299
+ })) : vue.createCommentVNode("", true),
9300
+ vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
9301
+ key: 1,
8391
9302
  class: "m-editor-props-style-panel",
8392
9303
  "label-position": "top",
8393
9304
  "code-value-key": "style",
@@ -8409,7 +9320,7 @@
8409
9320
  onClick: vue.unref(closeStylePanelHandler)
8410
9321
  }, {
8411
9322
  default: vue.withCtx(() => [
8412
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
9323
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Close) }, null, 8, ["icon"])
8413
9324
  ]),
8414
9325
  _: 1
8415
9326
  }, 8, ["onClick"])
@@ -8419,14 +9330,14 @@
8419
9330
  _: 1
8420
9331
  }, 8, ["values", "disabledShowSrc", "extendState"])) : vue.createCommentVNode("", true),
8421
9332
  !vue.unref(showStylePanel) ? (vue.openBlock(), vue.createBlock(vue.unref(designPlugin.TMagicButton), {
8422
- key: 1,
9333
+ key: 2,
8423
9334
  class: "m-editor-props-panel-style-icon",
8424
9335
  circle: "",
8425
9336
  type: vue.unref(showStylePanel) ? "primary" : "",
8426
9337
  onClick: vue.unref(showStylePanelHandler)
8427
9338
  }, {
8428
9339
  default: vue.withCtx(() => [
8429
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Sugar) }, null, 8, ["icon"])
9340
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Sugar) }, null, 8, ["icon"])
8430
9341
  ]),
8431
9342
  _: 1
8432
9343
  }, 8, ["type", "onClick"])) : vue.createCommentVNode("", true)
@@ -8726,7 +9637,7 @@
8726
9637
  onContextmenu: nodeContentmenuHandler,
8727
9638
  onMouseenter: mouseenterHandler
8728
9639
  }, [
8729
- vue.createVNode(_sfc_main$Z, {
9640
+ vue.createVNode(_sfc_main$1s, {
8730
9641
  class: "expand-icon",
8731
9642
  style: vue.normalizeStyle(hasChildren.value ? "" : "color: transparent; cursor: default"),
8732
9643
  icon: expanded.value ? vue.unref(iconsVue.ArrowDown) : vue.unref(iconsVue.ArrowRight),
@@ -8976,7 +9887,7 @@
8976
9887
  placement: "bottom"
8977
9888
  }, {
8978
9889
  default: vue.withCtx(() => [
8979
- vue.createVNode(_sfc_main$Z, {
9890
+ vue.createVNode(_sfc_main$1s, {
8980
9891
  icon: editable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View),
8981
9892
  class: "edit-icon",
8982
9893
  onClick: vue.withModifiers(($event) => editCode(`${data.key}`), ["stop"])
@@ -8991,7 +9902,7 @@
8991
9902
  placement: "bottom"
8992
9903
  }, {
8993
9904
  default: vue.withCtx(() => [
8994
- vue.createVNode(_sfc_main$Z, {
9905
+ vue.createVNode(_sfc_main$1s, {
8995
9906
  icon: vue.unref(iconsVue.Close),
8996
9907
  class: "edit-icon",
8997
9908
  onClick: vue.withModifiers(($event) => deleteCode(`${data.key}`), ["stop"])
@@ -9152,7 +10063,7 @@
9152
10063
  ]),
9153
10064
  _: 3
9154
10065
  }),
9155
- vue.unref(codeConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
10066
+ vue.unref(codeConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$1f, {
9156
10067
  key: 0,
9157
10068
  ref_key: "codeBlockEditor",
9158
10069
  ref: codeBlockEditor,
@@ -9252,7 +10163,7 @@
9252
10163
  }
9253
10164
  });
9254
10165
  return (_ctx, _cache) => {
9255
- return vue.openBlock(), vue.createBlock(_sfc_main$R, {
10166
+ return vue.openBlock(), vue.createBlock(_sfc_main$1k, {
9256
10167
  visible: boxVisible.value,
9257
10168
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => boxVisible.value = $event),
9258
10169
  width: width.value,
@@ -9416,7 +10327,7 @@
9416
10327
  placement: "bottom"
9417
10328
  }, {
9418
10329
  default: vue.withCtx(() => [
9419
- vue.createVNode(_sfc_main$Z, {
10330
+ vue.createVNode(_sfc_main$1s, {
9420
10331
  icon: editable.value ? vue.unref(iconsVue.Edit) : vue.unref(iconsVue.View),
9421
10332
  class: "edit-icon",
9422
10333
  onClick: vue.withModifiers(($event) => editHandler(`${data.key}`), ["stop"])
@@ -9431,7 +10342,7 @@
9431
10342
  placement: "bottom"
9432
10343
  }, {
9433
10344
  default: vue.withCtx(() => [
9434
- vue.createVNode(_sfc_main$Z, {
10345
+ vue.createVNode(_sfc_main$1s, {
9435
10346
  icon: vue.unref(iconsVue.Close),
9436
10347
  class: "edit-icon",
9437
10348
  onClick: vue.withModifiers(($event) => removeHandler(`${data.key}`), ["stop"])
@@ -9870,12 +10781,12 @@
9870
10781
  };
9871
10782
  return (_ctx, _cache) => {
9872
10783
  return _ctx.data.type !== "page" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
9873
- _ctx.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
10784
+ _ctx.data.visible === false ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
9874
10785
  key: 0,
9875
10786
  icon: vue.unref(iconsVue.Hide),
9876
10787
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => setNodeVisible(true), ["stop"])),
9877
10788
  title: "点击显示"
9878
- }, null, 8, ["icon"])) : (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
10789
+ }, null, 8, ["icon"])) : (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
9879
10790
  key: 1,
9880
10791
  icon: vue.unref(iconsVue.View),
9881
10792
  onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => setNodeVisible(false), ["stop"])),
@@ -10536,7 +11447,7 @@
10536
11447
  name: `${index}`
10537
11448
  }, {
10538
11449
  title: vue.withCtx(() => [
10539
- vue.createVNode(_sfc_main$Z, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
11450
+ vue.createVNode(_sfc_main$1s, { icon: vue.unref(iconsVue.Grid) }, null, 8, ["icon"]),
10540
11451
  vue.createTextVNode(vue.toDisplayString(group.title), 1)
10541
11452
  ]),
10542
11453
  default: vue.withCtx(() => [
@@ -10557,7 +11468,7 @@
10557
11468
  content: item.desc
10558
11469
  }, {
10559
11470
  default: vue.withCtx(() => [
10560
- vue.createVNode(_sfc_main$Z, {
11471
+ vue.createVNode(_sfc_main$1s, {
10561
11472
  icon: item.icon
10562
11473
  }, null, 8, ["icon"])
10563
11474
  ]),
@@ -10748,7 +11659,7 @@
10748
11659
  (...args) => vue.unref(dragstartHandler) && vue.unref(dragstartHandler)(...args)),
10749
11660
  onDragend: ($event) => vue.unref(dragendHandler)(config.$key, $event)
10750
11661
  }, [
10751
- config.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
11662
+ config.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$1s, {
10752
11663
  key: 0,
10753
11664
  icon: config.icon
10754
11665
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -10894,7 +11805,7 @@
10894
11805
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
10895
11806
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(sideBarItems.value, (config, index) => {
10896
11807
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
10897
- vue.unref(floatBoxStates)[config.$key]?.status ? (vue.openBlock(), vue.createBlock(_sfc_main$R, {
11808
+ vue.unref(floatBoxStates)[config.$key]?.status ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
10898
11809
  key: config.$key ?? index,
10899
11810
  visible: vue.unref(floatBoxStates)[config.$key].status,
10900
11811
  "onUpdate:visible": ($event) => vue.unref(floatBoxStates)[config.$key].status = $event,
@@ -11197,7 +12108,7 @@
11197
12108
  ]),
11198
12109
  _: 1
11199
12110
  })) : vue.createCommentVNode("", true),
11200
- page.value && vue.unref(nodeStatusMap) && buttonVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$R, {
12111
+ page.value && vue.unref(nodeStatusMap) && buttonVisible.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1k, {
11201
12112
  key: 1,
11202
12113
  ref_key: "box",
11203
12114
  ref: box,
@@ -13375,24 +14286,25 @@
13375
14286
  app.config.globalProperties.$TMAGIC_EDITOR = option;
13376
14287
  setEditorConfig(option);
13377
14288
  app.component(`${_sfc_main.name || "MEditor"}`, _sfc_main);
13378
- app.component("magic-code-editor", _sfc_main$Y);
14289
+ app.component("magic-code-editor", _sfc_main$1r);
13379
14290
  app.component("m-fields-ui-select", _sfc_main$C);
13380
- app.component("m-fields-code-link", _sfc_main$W);
13381
- app.component("m-fields-vs-code", _sfc_main$X);
13382
- app.component("m-fields-code-select", _sfc_main$V);
13383
- app.component("m-fields-code-select-col", _sfc_main$T);
13384
- app.component("m-fields-event-select", _sfc_main$G);
13385
- app.component("m-fields-data-source-fields", _sfc_main$Q);
13386
- app.component("m-fields-data-source-mocks", _sfc_main$J);
13387
- app.component("m-fields-key-value", _sfc_main$E);
13388
- app.component("m-fields-data-source-input", _sfc_main$N);
13389
- app.component("m-fields-data-source-select", _sfc_main$I);
13390
- app.component("m-fields-data-source-methods", _sfc_main$L);
13391
- app.component("m-fields-data-source-method-select", _sfc_main$K);
13392
- app.component("m-fields-data-source-field-select", _sfc_main$O);
13393
- app.component("m-fields-page-fragment-select", _sfc_main$D);
13394
- app.component("m-fields-display-conds", _sfc_main$H);
13395
- app.component("m-fields-cond-op-select", _sfc_main$S);
14291
+ app.component("m-fields-code-link", _sfc_main$1p);
14292
+ app.component("m-fields-vs-code", _sfc_main$1q);
14293
+ app.component("m-fields-code-select", _sfc_main$1o);
14294
+ app.component("m-fields-code-select-col", _sfc_main$1m);
14295
+ app.component("m-fields-event-select", _sfc_main$19);
14296
+ app.component("m-fields-data-source-fields", _sfc_main$1j);
14297
+ app.component("m-fields-data-source-mocks", _sfc_main$1c);
14298
+ app.component("m-fields-key-value", _sfc_main$17);
14299
+ app.component("m-fields-data-source-input", _sfc_main$1g);
14300
+ app.component("m-fields-data-source-select", _sfc_main$1b);
14301
+ app.component("m-fields-data-source-methods", _sfc_main$1e);
14302
+ app.component("m-fields-data-source-method-select", _sfc_main$1d);
14303
+ app.component("m-fields-data-source-field-select", _sfc_main$1h);
14304
+ app.component("m-fields-page-fragment-select", _sfc_main$16);
14305
+ app.component("m-fields-display-conds", _sfc_main$1a);
14306
+ app.component("m-fields-cond-op-select", _sfc_main$1l);
14307
+ app.component("m-form-style-setter", _sfc_main$D);
13396
14308
  }
13397
14309
  };
13398
14310
 
@@ -13408,47 +14320,48 @@
13408
14320
  exports.COPY_CODE_STORAGE_KEY = COPY_CODE_STORAGE_KEY;
13409
14321
  exports.COPY_DS_STORAGE_KEY = COPY_DS_STORAGE_KEY;
13410
14322
  exports.COPY_STORAGE_KEY = COPY_STORAGE_KEY;
13411
- exports.CodeBlockEditor = _sfc_main$M;
14323
+ exports.CodeBlockEditor = _sfc_main$1f;
13412
14324
  exports.CodeBlockList = _sfc_main$k;
13413
14325
  exports.CodeBlockListPanel = _sfc_main$j;
13414
14326
  exports.CodeDeleteErrorType = CodeDeleteErrorType;
13415
- exports.CodeSelect = _sfc_main$V;
13416
- exports.CodeSelectCol = _sfc_main$T;
14327
+ exports.CodeSelect = _sfc_main$1o;
14328
+ exports.CodeSelectCol = _sfc_main$1m;
13417
14329
  exports.ColumnLayout = ColumnLayout;
13418
14330
  exports.ComponentListPanel = _sfc_main$b;
13419
- exports.CondOpSelect = _sfc_main$S;
14331
+ exports.CondOpSelect = _sfc_main$1l;
13420
14332
  exports.ContentMenu = _sfc_main$o;
13421
14333
  exports.DataSourceConfigPanel = _sfc_main$i;
13422
- exports.DataSourceFieldSelect = _sfc_main$O;
13423
- exports.DataSourceFields = _sfc_main$Q;
13424
- exports.DataSourceInput = _sfc_main$N;
13425
- exports.DataSourceMethodSelect = _sfc_main$K;
13426
- exports.DataSourceMethods = _sfc_main$L;
13427
- exports.DataSourceMocks = _sfc_main$J;
13428
- exports.DataSourceSelect = _sfc_main$I;
13429
- exports.DisplayConds = _sfc_main$H;
14334
+ exports.DataSourceFieldSelect = _sfc_main$1h;
14335
+ exports.DataSourceFields = _sfc_main$1j;
14336
+ exports.DataSourceInput = _sfc_main$1g;
14337
+ exports.DataSourceMethodSelect = _sfc_main$1d;
14338
+ exports.DataSourceMethods = _sfc_main$1e;
14339
+ exports.DataSourceMocks = _sfc_main$1c;
14340
+ exports.DataSourceSelect = _sfc_main$1b;
14341
+ exports.DisplayConds = _sfc_main$1a;
13430
14342
  exports.DragType = DragType;
13431
- exports.EventSelect = _sfc_main$G;
14343
+ exports.EventSelect = _sfc_main$19;
13432
14344
  exports.Fixed2Other = Fixed2Other;
13433
- exports.FloatingBox = _sfc_main$R;
14345
+ exports.FloatingBox = _sfc_main$1k;
13434
14346
  exports.H_GUIDE_LINE_STORAGE_KEY = H_GUIDE_LINE_STORAGE_KEY;
13435
- exports.Icon = _sfc_main$Z;
14347
+ exports.Icon = _sfc_main$1s;
13436
14348
  exports.IdleTask = IdleTask;
13437
14349
  exports.KeyBindingCommand = KeyBindingCommand;
13438
- exports.KeyValue = _sfc_main$E;
14350
+ exports.KeyValue = _sfc_main$17;
13439
14351
  exports.Keys = Keys;
13440
14352
  exports.LayerOffset = LayerOffset;
13441
14353
  exports.LayerPanel = _sfc_main$c;
13442
14354
  exports.Layout = Layout;
13443
14355
  exports.LayoutContainer = _sfc_main$A;
13444
- exports.PageFragmentSelect = _sfc_main$D;
14356
+ exports.PageFragmentSelect = _sfc_main$16;
13445
14357
  exports.PropsFormPanel = _sfc_main$q;
13446
14358
  exports.PropsPanel = _sfc_main$p;
13447
14359
  exports.Resizer = _sfc_main$B;
13448
14360
  exports.ScrollViewer = ScrollViewer;
13449
14361
  exports.SideItemKey = SideItemKey;
13450
14362
  exports.SplitView = _sfc_main$A;
13451
- exports.TMagicCodeEditor = _sfc_main$Y;
14363
+ exports.StyleSetter = _sfc_main$D;
14364
+ exports.TMagicCodeEditor = _sfc_main$1r;
13452
14365
  exports.TMagicEditor = _sfc_main;
13453
14366
  exports.ToolButton = _sfc_main$z;
13454
14367
  exports.Tree = _sfc_main$l;