@tmagic/editor 1.8.4 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/fields/StyleSetter/configs.js +110 -11
- package/dist/es/fields/StyleSetter/icons/align-items/Baseline.js +45 -0
- package/dist/es/fields/StyleSetter/icons/align-items/End.js +42 -0
- package/dist/es/fields/StyleSetter/icons/align-items/Normal.js +33 -0
- package/dist/es/fields/StyleSetter/icons/align-items/Start.js +42 -0
- package/dist/es/fields/StyleSetter/icons/align-items/Stretch.js +37 -0
- package/dist/es/fields/StyleSetter/icons/background-repeat/Round.js +45 -0
- package/dist/es/fields/StyleSetter/icons/background-repeat/Space.js +16 -0
- package/dist/es/fields/StyleSetter/icons/display/Grid.js +13 -0
- package/dist/es/fields/StyleSetter/icons/display/InlineFlex.js +13 -0
- package/dist/es/fields/StyleSetter/icons/display/InlineGrid.js +13 -0
- package/dist/es/fields/StyleSetter/icons/justify-content/SpaceEvenly.js +16 -0
- package/dist/es/fields/StyleSetter/icons/text-align/End.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Justify.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/MatchParent.js +13 -0
- package/dist/es/fields/StyleSetter/icons/text-align/Start.js +13 -0
- package/dist/tmagic-editor-headless.umd.cjs +533 -134
- package/dist/tmagic-editor.umd.cjs +646 -240
- package/package.json +7 -7
- package/src/fields/StyleSetter/configs.ts +63 -14
- package/src/fields/StyleSetter/icons/align-items/Baseline.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/End.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/Normal.vue +6 -0
- package/src/fields/StyleSetter/icons/align-items/Start.vue +8 -0
- package/src/fields/StyleSetter/icons/align-items/Stretch.vue +7 -0
- package/src/fields/StyleSetter/icons/align-items/index.ts +5 -0
- package/src/fields/StyleSetter/icons/background-repeat/Round.vue +8 -0
- package/src/fields/StyleSetter/icons/background-repeat/Space.vue +9 -0
- package/src/fields/StyleSetter/icons/background-repeat/index.ts +2 -0
- package/src/fields/StyleSetter/icons/display/Grid.vue +7 -0
- package/src/fields/StyleSetter/icons/display/InlineFlex.vue +7 -0
- package/src/fields/StyleSetter/icons/display/InlineGrid.vue +7 -0
- package/src/fields/StyleSetter/icons/display/index.ts +3 -0
- package/src/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue +11 -0
- package/src/fields/StyleSetter/icons/justify-content/index.ts +1 -0
- package/src/fields/StyleSetter/icons/text-align/End.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Justify.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/MatchParent.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Start.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/index.ts +4 -0
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
import BackgroundPosition_default from "./components/BackgroundPosition.js";
|
|
2
|
+
import Baseline_default from "./icons/align-items/Baseline.js";
|
|
2
3
|
import Center_default from "./icons/align-items/Center.js";
|
|
4
|
+
import End_default from "./icons/align-items/End.js";
|
|
3
5
|
import FlexEnd_default from "./icons/align-items/FlexEnd.js";
|
|
4
6
|
import FlexStart_default from "./icons/align-items/FlexStart.js";
|
|
7
|
+
import Normal_default from "./icons/align-items/Normal.js";
|
|
5
8
|
import SpaceAround_default from "./icons/align-items/SpaceAround.js";
|
|
6
9
|
import SpaceBetween_default from "./icons/align-items/SpaceBetween.js";
|
|
10
|
+
import Start_default from "./icons/align-items/Start.js";
|
|
11
|
+
import Stretch_default from "./icons/align-items/Stretch.js";
|
|
7
12
|
import NoRepeat_default from "./icons/background-repeat/NoRepeat.js";
|
|
8
13
|
import Repeat_default from "./icons/background-repeat/Repeat.js";
|
|
14
|
+
import Round_default from "./icons/background-repeat/Round.js";
|
|
15
|
+
import Space_default from "./icons/background-repeat/Space.js";
|
|
9
16
|
import RepeatX_default from "./icons/background-repeat/RepeatX.js";
|
|
10
17
|
import RepeatY_default from "./icons/background-repeat/RepeatY.js";
|
|
11
18
|
import Block_default from "./icons/display/Block.js";
|
|
12
19
|
import Flex_default from "./icons/display/Flex.js";
|
|
20
|
+
import Grid_default from "./icons/display/Grid.js";
|
|
13
21
|
import Inline_default from "./icons/display/Inline.js";
|
|
14
22
|
import InlineBlock_default from "./icons/display/InlineBlock.js";
|
|
23
|
+
import InlineFlex_default from "./icons/display/InlineFlex.js";
|
|
24
|
+
import InlineGrid_default from "./icons/display/InlineGrid.js";
|
|
15
25
|
import None_default from "./icons/display/None.js";
|
|
16
26
|
import Column_default from "./icons/flex-direction/Column.js";
|
|
17
27
|
import ColumnReverse_default from "./icons/flex-direction/ColumnReverse.js";
|
|
@@ -22,9 +32,14 @@ import FlexEnd_default$1 from "./icons/justify-content/FlexEnd.js";
|
|
|
22
32
|
import FlexStart_default$1 from "./icons/justify-content/FlexStart.js";
|
|
23
33
|
import SpaceAround_default$1 from "./icons/justify-content/SpaceAround.js";
|
|
24
34
|
import SpaceBetween_default$1 from "./icons/justify-content/SpaceBetween.js";
|
|
35
|
+
import SpaceEvenly_default from "./icons/justify-content/SpaceEvenly.js";
|
|
25
36
|
import Center_default$2 from "./icons/text-align/Center.js";
|
|
37
|
+
import End_default$1 from "./icons/text-align/End.js";
|
|
38
|
+
import Justify_default from "./icons/text-align/Justify.js";
|
|
26
39
|
import Left_default from "./icons/text-align/Left.js";
|
|
40
|
+
import MatchParent_default from "./icons/text-align/MatchParent.js";
|
|
27
41
|
import Right_default from "./icons/text-align/Right.js";
|
|
42
|
+
import Start_default$1 from "./icons/text-align/Start.js";
|
|
28
43
|
import { markRaw } from "vue";
|
|
29
44
|
import { defineFormItem } from "@tmagic/form/headless";
|
|
30
45
|
import { appendValidateSuggestion } from "@tmagic/design/headless";
|
|
@@ -68,6 +83,21 @@ var createLayoutConfig = (theme) => [
|
|
|
68
83
|
value: "none",
|
|
69
84
|
icon: markRaw(None_default),
|
|
70
85
|
tooltip: "隐藏 none"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
value: "inline-flex",
|
|
89
|
+
icon: markRaw(InlineFlex_default),
|
|
90
|
+
tooltip: "内联弹性布局 inline-flex"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
value: "grid",
|
|
94
|
+
icon: markRaw(Grid_default),
|
|
95
|
+
tooltip: "网格布局 grid"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
value: "inline-grid",
|
|
99
|
+
icon: markRaw(InlineGrid_default),
|
|
100
|
+
tooltip: "内联网格布局 inline-grid"
|
|
71
101
|
}
|
|
72
102
|
]
|
|
73
103
|
}),
|
|
@@ -134,6 +164,11 @@ var createLayoutConfig = (theme) => [
|
|
|
134
164
|
value: "space-around",
|
|
135
165
|
icon: markRaw(SpaceAround_default$1),
|
|
136
166
|
tooltip: "横向平分 space-around"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
value: "space-evenly",
|
|
170
|
+
icon: markRaw(SpaceEvenly_default),
|
|
171
|
+
tooltip: "等间距分布 space-evenly"
|
|
137
172
|
}
|
|
138
173
|
],
|
|
139
174
|
display: (_mForm, { model }) => model.display === "flex"
|
|
@@ -170,6 +205,31 @@ var createLayoutConfig = (theme) => [
|
|
|
170
205
|
value: "space-around",
|
|
171
206
|
icon: markRaw(SpaceAround_default),
|
|
172
207
|
tooltip: "横向平分 space-around"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
value: "stretch",
|
|
211
|
+
icon: markRaw(Stretch_default),
|
|
212
|
+
tooltip: "拉伸填满 stretch"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
value: "baseline",
|
|
216
|
+
icon: markRaw(Baseline_default),
|
|
217
|
+
tooltip: "基线对齐 baseline"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
value: "normal",
|
|
221
|
+
icon: markRaw(Normal_default),
|
|
222
|
+
tooltip: "默认 normal"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: "start",
|
|
226
|
+
icon: markRaw(Start_default),
|
|
227
|
+
tooltip: "起始对齐 start"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
value: "end",
|
|
231
|
+
icon: markRaw(End_default),
|
|
232
|
+
tooltip: "结束对齐 end"
|
|
173
233
|
}
|
|
174
234
|
],
|
|
175
235
|
display: (_mForm, { model }) => model.display === "flex"
|
|
@@ -270,9 +330,9 @@ var createLayoutConfig = (theme) => [
|
|
|
270
330
|
type: "row",
|
|
271
331
|
items: [{
|
|
272
332
|
type: "data-source-field-select",
|
|
273
|
-
text: "
|
|
333
|
+
text: "透明度(0-1)",
|
|
274
334
|
name: "opacity",
|
|
275
|
-
labelWidth: "
|
|
335
|
+
labelWidth: "100px",
|
|
276
336
|
dataSourceFieldType: ["string", "number"],
|
|
277
337
|
fieldConfig: { type: "text" }
|
|
278
338
|
}]
|
|
@@ -460,6 +520,16 @@ var createBackgroundConfig = () => [
|
|
|
460
520
|
value: "repeat",
|
|
461
521
|
icon: markRaw(Repeat_default),
|
|
462
522
|
tooltip: "垂直和水平方向重复 repeat"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
value: "space",
|
|
526
|
+
icon: markRaw(Space_default),
|
|
527
|
+
tooltip: "不裁剪、均匀留白 space"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
value: "round",
|
|
531
|
+
icon: markRaw(Round_default),
|
|
532
|
+
tooltip: "缩放铺满 round"
|
|
463
533
|
}
|
|
464
534
|
]
|
|
465
535
|
}),
|
|
@@ -508,7 +578,12 @@ var createFontConfig = (validateDataSourceField) => [
|
|
|
508
578
|
fieldConfig: {
|
|
509
579
|
type: "select",
|
|
510
580
|
allowCreate: true,
|
|
511
|
-
options: [
|
|
581
|
+
options: [
|
|
582
|
+
"normal",
|
|
583
|
+
"bold",
|
|
584
|
+
"bolder",
|
|
585
|
+
"lighter"
|
|
586
|
+
].concat(Array(9).fill(1).map((x, i) => `${i + 1}00`)).map((item) => ({
|
|
512
587
|
value: item,
|
|
513
588
|
text: item
|
|
514
589
|
}))
|
|
@@ -555,20 +630,37 @@ var createFontConfig = (validateDataSourceField) => [
|
|
|
555
630
|
{
|
|
556
631
|
value: "left",
|
|
557
632
|
icon: markRaw(Left_default),
|
|
558
|
-
tooltip: "左对齐
|
|
559
|
-
text: "左对齐"
|
|
633
|
+
tooltip: "左对齐 left"
|
|
560
634
|
},
|
|
561
635
|
{
|
|
562
636
|
value: "center",
|
|
563
637
|
icon: markRaw(Center_default$2),
|
|
564
|
-
tooltip: "居中对齐 center"
|
|
565
|
-
text: "居中对齐"
|
|
638
|
+
tooltip: "居中对齐 center"
|
|
566
639
|
},
|
|
567
640
|
{
|
|
568
641
|
value: "right",
|
|
569
642
|
icon: markRaw(Right_default),
|
|
570
|
-
tooltip: "右对齐 right"
|
|
571
|
-
|
|
643
|
+
tooltip: "右对齐 right"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
value: "start",
|
|
647
|
+
icon: markRaw(Start_default$1),
|
|
648
|
+
tooltip: "起始对齐 start"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
value: "end",
|
|
652
|
+
icon: markRaw(End_default$1),
|
|
653
|
+
tooltip: "结束对齐 end"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
value: "justify",
|
|
657
|
+
icon: markRaw(Justify_default),
|
|
658
|
+
tooltip: "两端对齐 justify"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
value: "match-parent",
|
|
662
|
+
icon: markRaw(MatchParent_default),
|
|
663
|
+
tooltip: "按父级方向对齐 match-parent"
|
|
572
664
|
}
|
|
573
665
|
]
|
|
574
666
|
})
|
|
@@ -649,9 +741,16 @@ var createBorderDirectionConfig = (direction) => defineFormItem({ items: [
|
|
|
649
741
|
fieldConfig: {
|
|
650
742
|
type: "select",
|
|
651
743
|
options: [
|
|
652
|
-
"
|
|
744
|
+
"none",
|
|
745
|
+
"hidden",
|
|
746
|
+
"dotted",
|
|
653
747
|
"dashed",
|
|
654
|
-
"
|
|
748
|
+
"solid",
|
|
749
|
+
"double",
|
|
750
|
+
"groove",
|
|
751
|
+
"ridge",
|
|
752
|
+
"inset",
|
|
753
|
+
"outset"
|
|
655
754
|
].map((item) => ({
|
|
656
755
|
value: item,
|
|
657
756
|
text: item
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Baseline.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "3",
|
|
17
|
+
width: "2.5",
|
|
18
|
+
height: "8",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("rect", {
|
|
22
|
+
x: "6.75",
|
|
23
|
+
y: "6",
|
|
24
|
+
width: "2.5",
|
|
25
|
+
height: "5",
|
|
26
|
+
rx: "0.5"
|
|
27
|
+
}, null, -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "11.5",
|
|
30
|
+
y: "1",
|
|
31
|
+
width: "2.5",
|
|
32
|
+
height: "10",
|
|
33
|
+
rx: "0.5"
|
|
34
|
+
}, null, -1),
|
|
35
|
+
createElementVNode("rect", {
|
|
36
|
+
x: "0.75",
|
|
37
|
+
y: "11.25",
|
|
38
|
+
width: "14.5",
|
|
39
|
+
height: "0.75",
|
|
40
|
+
rx: "0.375"
|
|
41
|
+
}, null, -1)
|
|
42
|
+
])]);
|
|
43
|
+
}
|
|
44
|
+
var Baseline_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
45
|
+
export { Baseline_default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/End.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "2",
|
|
17
|
+
width: "9",
|
|
18
|
+
height: "1",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
|
|
22
|
+
createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "10",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "4",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1),
|
|
31
|
+
createElementVNode("rect", {
|
|
32
|
+
x: "1",
|
|
33
|
+
y: "14.5",
|
|
34
|
+
width: "14",
|
|
35
|
+
height: "0.5",
|
|
36
|
+
rx: "0.25",
|
|
37
|
+
"fill-opacity": "0.3"
|
|
38
|
+
}, null, -1)
|
|
39
|
+
])]);
|
|
40
|
+
}
|
|
41
|
+
var End_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
42
|
+
export { End_default as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Normal.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("rect", {
|
|
14
|
+
x: "1",
|
|
15
|
+
y: "1",
|
|
16
|
+
width: "14",
|
|
17
|
+
height: "14",
|
|
18
|
+
rx: "1",
|
|
19
|
+
fill: "none",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
"stroke-opacity": "0.3"
|
|
22
|
+
}, null, -1), createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "5.5",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "5",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1)])]);
|
|
31
|
+
}
|
|
32
|
+
var Normal_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
33
|
+
export { Normal_default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Start.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "2",
|
|
17
|
+
width: "9",
|
|
18
|
+
height: "1",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("path", { d: "M11 0.75L14 2.5 11 4.25Z" }, null, -1),
|
|
22
|
+
createElementVNode("rect", {
|
|
23
|
+
x: "3",
|
|
24
|
+
y: "6",
|
|
25
|
+
width: "10",
|
|
26
|
+
height: "4",
|
|
27
|
+
rx: "0.5",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor"
|
|
30
|
+
}, null, -1),
|
|
31
|
+
createElementVNode("rect", {
|
|
32
|
+
x: "1",
|
|
33
|
+
y: "5",
|
|
34
|
+
width: "14",
|
|
35
|
+
height: "0.5",
|
|
36
|
+
rx: "0.25",
|
|
37
|
+
"fill-opacity": "0.3"
|
|
38
|
+
}, null, -1)
|
|
39
|
+
])]);
|
|
40
|
+
}
|
|
41
|
+
var Start_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
42
|
+
export { Start_default as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/align-items/Stretch.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "1",
|
|
16
|
+
y: "1",
|
|
17
|
+
width: "14",
|
|
18
|
+
height: "14",
|
|
19
|
+
rx: "1",
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
"stroke-opacity": "0.3"
|
|
23
|
+
}, null, -1),
|
|
24
|
+
createElementVNode("rect", {
|
|
25
|
+
x: "3",
|
|
26
|
+
y: "2",
|
|
27
|
+
width: "10",
|
|
28
|
+
height: "12",
|
|
29
|
+
rx: "0.5",
|
|
30
|
+
fill: "none",
|
|
31
|
+
stroke: "currentColor"
|
|
32
|
+
}, null, -1),
|
|
33
|
+
createElementVNode("path", { d: "M8 4.5L9.75 6.5H8.75V9.5H9.75L8 11.5 6.25 9.5H7.25V6.5H6.25Z" }, null, -1)
|
|
34
|
+
])]);
|
|
35
|
+
}
|
|
36
|
+
var Stretch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
37
|
+
export { Stretch_default as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/Round.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("rect", {
|
|
15
|
+
x: "1",
|
|
16
|
+
y: "1",
|
|
17
|
+
width: "6.5",
|
|
18
|
+
height: "6.5",
|
|
19
|
+
rx: "0.5"
|
|
20
|
+
}, null, -1),
|
|
21
|
+
createElementVNode("rect", {
|
|
22
|
+
x: "8.5",
|
|
23
|
+
y: "1",
|
|
24
|
+
width: "6.5",
|
|
25
|
+
height: "6.5",
|
|
26
|
+
rx: "0.5"
|
|
27
|
+
}, null, -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "1",
|
|
30
|
+
y: "8.5",
|
|
31
|
+
width: "6.5",
|
|
32
|
+
height: "6.5",
|
|
33
|
+
rx: "0.5"
|
|
34
|
+
}, null, -1),
|
|
35
|
+
createElementVNode("rect", {
|
|
36
|
+
x: "8.5",
|
|
37
|
+
y: "8.5",
|
|
38
|
+
width: "6.5",
|
|
39
|
+
height: "6.5",
|
|
40
|
+
rx: "0.5"
|
|
41
|
+
}, null, -1)
|
|
42
|
+
])]);
|
|
43
|
+
}
|
|
44
|
+
var Round_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
45
|
+
export { Round_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createStaticVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/background-repeat/Space.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<rect x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-opacity=\"0.3\"></rect><rect x=\"3.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"3.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"3.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect><rect x=\"9.5\" y=\"9.5\" width=\"3\" height=\"3\" rx=\"0.5\"></rect>", 5)])]);
|
|
14
|
+
}
|
|
15
|
+
var Space_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
+
export { Space_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/display/Grid.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [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 64H64v640h896V192zM416 256v512H368V256h48zM656 256v512H608V256h48zM768 368v48H256V368h512zM768 608v48H256V608h512z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var Grid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { Grid_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/display/InlineFlex.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [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 64H64v640h896V192zM288 400v48H128V400h160zM288 576v48H128V576h160zM896 400v48H736V400h160zM896 576v48H736V576h160zM704 320v384H320V320h384zM656 368H368v288h288V368zM448 416v192H384V416h64zM544 416v192H480V416h64zM640 416v192H576V416h64z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var InlineFlex_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { InlineFlex_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/display/InlineGrid.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [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 64H64v640h896V192zM288 400v48H128V400h160zM288 576v48H128V576h160zM896 400v48H736V400h160zM896 576v48H736V576h160zM704 320v384H320V320h384zM656 368H368v288h288V368zM496 384v112H384V384h112zM640 384v112H528V384h112zM496 528v112H384V528h112zM640 528v112H528V528h112z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var InlineGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { InlineGrid_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createStaticVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/justify-content/SpaceEvenly.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache) {
|
|
13
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createStaticVNode("<rect x=\"3\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"7.5\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"12\" y=\"4.5\" width=\"1.5\" height=\"7\" rx=\"0.25\" fill=\"none\" stroke=\"currentColor\"></rect><rect x=\"1.25\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"6\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"10.5\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect><rect x=\"15\" y=\"2\" width=\"0.5\" height=\"12\" rx=\"0.25\" fill-opacity=\"0.3\"></rect>", 7)])]);
|
|
14
|
+
}
|
|
15
|
+
var SpaceEvenly_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
+
export { SpaceEvenly_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/text-align/End.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM256 384h640v64H256zM128 512h768v64H128zM384 640h512v64H384zM192 768h704v64H192z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var End_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { End_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/text-align/Justify.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M128 128h768v85.333333H128z m0 170.666667h768v85.333333H128z m0 170.666666h768v85.333334H128z m0 170.666667h768v85.333333H128z m0 170.666667h768v85.333333H128z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var Justify_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { Justify_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/text-align/MatchParent.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M64 64h896v48H64z m0 848h896v48H64z m0-800h48v800H64z m848 0h48v800h-48zM192 208h416v64H192z m416-48L768 240 608 320zM464 368h96v96h-96z m-64 96h224l-112 128zM192 608h640v56H192z m0 112h512v56H192z m0 112h576v56H192z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var MatchParent_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { MatchParent_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
3
|
+
// packages/editor/src/fields/StyleSetter/icons/text-align/Start.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 1024 1024"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM128 384h640v64H128zM128 512h768v64H128zM128 640h512v64H128zM128 768h704v64H128z" }, null, -1)])]);
|
|
11
|
+
}
|
|
12
|
+
var Start_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
export { Start_default as default };
|