@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
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.8.
|
|
2
|
+
"version": "1.8.5",
|
|
3
3
|
"name": "@tmagic/editor",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@element-plus/icons-vue": "^2.3.2",
|
|
61
|
-
"@tmagic/design": "1.8.
|
|
62
|
-
"@tmagic/form": "1.8.
|
|
63
|
-
"@tmagic/stage": "1.8.
|
|
64
|
-
"@tmagic/table": "1.8.
|
|
65
|
-
"@tmagic/utils": "1.8.
|
|
61
|
+
"@tmagic/design": "1.8.5",
|
|
62
|
+
"@tmagic/form": "1.8.5",
|
|
63
|
+
"@tmagic/stage": "1.8.5",
|
|
64
|
+
"@tmagic/table": "1.8.5",
|
|
65
|
+
"@tmagic/utils": "1.8.5",
|
|
66
66
|
"buffer": "^6.0.3",
|
|
67
67
|
"deep-object-diff": "^1.1.9",
|
|
68
68
|
"emmet-monaco-es": "^5.7.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@vue/test-utils": "^2.5.1"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@tmagic/core": "1.8.
|
|
85
|
+
"@tmagic/core": "1.8.5",
|
|
86
86
|
"monaco-editor": "^0.55.1 ",
|
|
87
87
|
"type-fest": "^5.2.0",
|
|
88
88
|
"typescript": "^6.0.3",
|
|
@@ -8,14 +8,35 @@ import type { validateDataSourceFieldSelect } from '@editor/utils/type-match-rul
|
|
|
8
8
|
|
|
9
9
|
import BackgroundPosition from './components/BackgroundPosition.vue';
|
|
10
10
|
import {
|
|
11
|
+
AlignItemsBaseline,
|
|
11
12
|
AlignItemsCenter,
|
|
13
|
+
AlignItemsEnd,
|
|
12
14
|
AlignItemsFlexEnd,
|
|
13
15
|
AlignItemsFlexStart,
|
|
16
|
+
AlignItemsNormal,
|
|
14
17
|
AlignItemsSpaceAround,
|
|
15
18
|
AlignItemsSpaceBetween,
|
|
19
|
+
AlignItemsStart,
|
|
20
|
+
AlignItemsStretch,
|
|
16
21
|
} from './icons/align-items';
|
|
17
|
-
import {
|
|
18
|
-
|
|
22
|
+
import {
|
|
23
|
+
BackgroundNoRepeat,
|
|
24
|
+
BackgroundRepeat,
|
|
25
|
+
BackgroundRepeatRound,
|
|
26
|
+
BackgroundRepeatSpace,
|
|
27
|
+
BackgroundRepeatX,
|
|
28
|
+
BackgroundRepeatY,
|
|
29
|
+
} from './icons/background-repeat';
|
|
30
|
+
import {
|
|
31
|
+
DisplayBlock,
|
|
32
|
+
DisplayFlex,
|
|
33
|
+
DisplayGrid,
|
|
34
|
+
DisplayInline,
|
|
35
|
+
DisplayInlineBlock,
|
|
36
|
+
DisplayInlineFlex,
|
|
37
|
+
DisplayInlineGrid,
|
|
38
|
+
DisplayNone,
|
|
39
|
+
} from './icons/display';
|
|
19
40
|
import {
|
|
20
41
|
FlexDirectionColumn,
|
|
21
42
|
FlexDirectionColumnReverse,
|
|
@@ -28,8 +49,17 @@ import {
|
|
|
28
49
|
JustifyContentFlexStart,
|
|
29
50
|
JustifyContentSpaceAround,
|
|
30
51
|
JustifyContentSpaceBetween,
|
|
52
|
+
JustifyContentSpaceEvenly,
|
|
31
53
|
} from './icons/justify-content';
|
|
32
|
-
import {
|
|
54
|
+
import {
|
|
55
|
+
AlignCenter,
|
|
56
|
+
AlignEnd,
|
|
57
|
+
AlignJustify,
|
|
58
|
+
AlignLeft,
|
|
59
|
+
AlignMatchParent,
|
|
60
|
+
AlignRight,
|
|
61
|
+
AlignStart,
|
|
62
|
+
} from './icons/text-align';
|
|
33
63
|
|
|
34
64
|
/**
|
|
35
65
|
* 「布局」面板配置。
|
|
@@ -71,6 +101,9 @@ export const createLayoutConfig = (theme: string): FormConfig => [
|
|
|
71
101
|
icon: markRaw(DisplayNone),
|
|
72
102
|
tooltip: '隐藏 none',
|
|
73
103
|
},
|
|
104
|
+
{ value: 'inline-flex', icon: markRaw(DisplayInlineFlex), tooltip: '内联弹性布局 inline-flex' },
|
|
105
|
+
{ value: 'grid', icon: markRaw(DisplayGrid), tooltip: '网格布局 grid' },
|
|
106
|
+
{ value: 'inline-grid', icon: markRaw(DisplayInlineGrid), tooltip: '内联网格布局 inline-grid' },
|
|
74
107
|
],
|
|
75
108
|
}),
|
|
76
109
|
defineFormItem({
|
|
@@ -121,6 +154,7 @@ export const createLayoutConfig = (theme: string): FormConfig => [
|
|
|
121
154
|
icon: markRaw(JustifyContentSpaceAround),
|
|
122
155
|
tooltip: '横向平分 space-around',
|
|
123
156
|
},
|
|
157
|
+
{ value: 'space-evenly', icon: markRaw(JustifyContentSpaceEvenly), tooltip: '等间距分布 space-evenly' },
|
|
124
158
|
],
|
|
125
159
|
display: (_mForm, { model }: { model: Record<any, any> }) => model.display === 'flex',
|
|
126
160
|
}),
|
|
@@ -145,6 +179,11 @@ export const createLayoutConfig = (theme: string): FormConfig => [
|
|
|
145
179
|
icon: markRaw(AlignItemsSpaceAround),
|
|
146
180
|
tooltip: '横向平分 space-around',
|
|
147
181
|
},
|
|
182
|
+
{ value: 'stretch', icon: markRaw(AlignItemsStretch), tooltip: '拉伸填满 stretch' },
|
|
183
|
+
{ value: 'baseline', icon: markRaw(AlignItemsBaseline), tooltip: '基线对齐 baseline' },
|
|
184
|
+
{ value: 'normal', icon: markRaw(AlignItemsNormal), tooltip: '默认 normal' },
|
|
185
|
+
{ value: 'start', icon: markRaw(AlignItemsStart), tooltip: '起始对齐 start' },
|
|
186
|
+
{ value: 'end', icon: markRaw(AlignItemsEnd), tooltip: '结束对齐 end' },
|
|
148
187
|
],
|
|
149
188
|
display: (_mForm, { model }: { model: Record<any, any> }) => model.display === 'flex',
|
|
150
189
|
}),
|
|
@@ -222,9 +261,9 @@ export const createLayoutConfig = (theme: string): FormConfig => [
|
|
|
222
261
|
items: [
|
|
223
262
|
{
|
|
224
263
|
type: 'data-source-field-select',
|
|
225
|
-
text: '
|
|
264
|
+
text: '透明度(0-1)',
|
|
226
265
|
name: 'opacity',
|
|
227
|
-
labelWidth: '
|
|
266
|
+
labelWidth: '100px',
|
|
228
267
|
dataSourceFieldType: ['string', 'number'],
|
|
229
268
|
fieldConfig: {
|
|
230
269
|
type: 'text',
|
|
@@ -445,6 +484,8 @@ export const createBackgroundConfig = (): FormConfig => [
|
|
|
445
484
|
icon: markRaw(BackgroundRepeat),
|
|
446
485
|
tooltip: '垂直和水平方向重复 repeat',
|
|
447
486
|
},
|
|
487
|
+
{ value: 'space', icon: markRaw(BackgroundRepeatSpace), tooltip: '不裁剪、均匀留白 space' },
|
|
488
|
+
{ value: 'round', icon: markRaw(BackgroundRepeatRound), tooltip: '缩放铺满 round' },
|
|
448
489
|
],
|
|
449
490
|
}),
|
|
450
491
|
defineFormItem({
|
|
@@ -502,9 +543,9 @@ export const createFontConfig = (validateDataSourceField: typeof validateDataSou
|
|
|
502
543
|
fieldConfig: {
|
|
503
544
|
type: 'select',
|
|
504
545
|
allowCreate: true,
|
|
505
|
-
options: ['normal', 'bold']
|
|
546
|
+
options: ['normal', 'bold', 'bolder', 'lighter']
|
|
506
547
|
.concat(
|
|
507
|
-
Array(
|
|
548
|
+
Array(9)
|
|
508
549
|
.fill(1)
|
|
509
550
|
.map((x, i) => `${i + 1}00`),
|
|
510
551
|
)
|
|
@@ -575,10 +616,16 @@ export const createFontConfig = (validateDataSourceField: typeof validateDataSou
|
|
|
575
616
|
type: 'radioGroup',
|
|
576
617
|
childType: 'button',
|
|
577
618
|
labelWidth: '68px',
|
|
619
|
+
// 7 个值统一用图标按钮:带中文文案会因字数不同撑出不同宽度,换行后列线和边框错开。
|
|
620
|
+
// 中文说明放在 tooltip 里,与 display / justifyContent 等布局选项保持一致。
|
|
578
621
|
options: [
|
|
579
|
-
{ value: 'left', icon: markRaw(AlignLeft), tooltip: '左对齐
|
|
580
|
-
{ value: 'center', icon: markRaw(AlignCenter), tooltip: '居中对齐 center'
|
|
581
|
-
{ value: 'right', icon: markRaw(AlignRight), tooltip: '右对齐 right'
|
|
622
|
+
{ value: 'left', icon: markRaw(AlignLeft), tooltip: '左对齐 left' },
|
|
623
|
+
{ value: 'center', icon: markRaw(AlignCenter), tooltip: '居中对齐 center' },
|
|
624
|
+
{ value: 'right', icon: markRaw(AlignRight), tooltip: '右对齐 right' },
|
|
625
|
+
{ value: 'start', icon: markRaw(AlignStart), tooltip: '起始对齐 start' },
|
|
626
|
+
{ value: 'end', icon: markRaw(AlignEnd), tooltip: '结束对齐 end' },
|
|
627
|
+
{ value: 'justify', icon: markRaw(AlignJustify), tooltip: '两端对齐 justify' },
|
|
628
|
+
{ value: 'match-parent', icon: markRaw(AlignMatchParent), tooltip: '按父级方向对齐 match-parent' },
|
|
582
629
|
],
|
|
583
630
|
}),
|
|
584
631
|
];
|
|
@@ -680,10 +727,12 @@ export const createBorderDirectionConfig = (direction: string) =>
|
|
|
680
727
|
type: 'data-source-field-select',
|
|
681
728
|
fieldConfig: {
|
|
682
729
|
type: 'select',
|
|
683
|
-
options: ['
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
730
|
+
options: ['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'].map(
|
|
731
|
+
(item) => ({
|
|
732
|
+
value: item,
|
|
733
|
+
text: item,
|
|
734
|
+
}),
|
|
735
|
+
),
|
|
687
736
|
},
|
|
688
737
|
},
|
|
689
738
|
],
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="2" y="3" width="2.5" height="8" rx="0.5" />
|
|
4
|
+
<rect x="6.75" y="6" width="2.5" height="5" rx="0.5" />
|
|
5
|
+
<rect x="11.5" y="1" width="2.5" height="10" rx="0.5" />
|
|
6
|
+
<rect x="0.75" y="11.25" width="14.5" height="0.75" rx="0.375" />
|
|
7
|
+
</svg>
|
|
8
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="2" y="2" width="9" height="1" rx="0.5" />
|
|
4
|
+
<path d="M11 0.75L14 2.5 11 4.25Z" />
|
|
5
|
+
<rect x="3" y="10" width="10" height="4" rx="0.5" fill="none" stroke="currentColor" />
|
|
6
|
+
<rect x="1" y="14.5" width="14" height="0.5" rx="0.25" fill-opacity="0.3" />
|
|
7
|
+
</svg>
|
|
8
|
+
</template>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="1" y="1" width="14" height="14" rx="1" fill="none" stroke="currentColor" stroke-opacity="0.3" />
|
|
4
|
+
<rect x="3" y="5.5" width="10" height="5" rx="0.5" fill="none" stroke="currentColor" />
|
|
5
|
+
</svg>
|
|
6
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="2" y="2" width="9" height="1" rx="0.5" />
|
|
4
|
+
<path d="M11 0.75L14 2.5 11 4.25Z" />
|
|
5
|
+
<rect x="3" y="6" width="10" height="4" rx="0.5" fill="none" stroke="currentColor" />
|
|
6
|
+
<rect x="1" y="5" width="14" height="0.5" rx="0.25" fill-opacity="0.3" />
|
|
7
|
+
</svg>
|
|
8
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="1" y="1" width="14" height="14" rx="1" fill="none" stroke="currentColor" stroke-opacity="0.3" />
|
|
4
|
+
<rect x="3" y="2" width="10" height="12" rx="0.5" fill="none" stroke="currentColor" />
|
|
5
|
+
<path d="M8 4.5L9.75 6.5H8.75V9.5H9.75L8 11.5 6.25 9.5H7.25V6.5H6.25Z" />
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
export { default as AlignItemsBaseline } from './Baseline.vue';
|
|
1
2
|
export { default as AlignItemsCenter } from './Center.vue';
|
|
3
|
+
export { default as AlignItemsEnd } from './End.vue';
|
|
2
4
|
export { default as AlignItemsFlexEnd } from './FlexEnd.vue';
|
|
3
5
|
export { default as AlignItemsFlexStart } from './FlexStart.vue';
|
|
6
|
+
export { default as AlignItemsNormal } from './Normal.vue';
|
|
4
7
|
export { default as AlignItemsSpaceAround } from './SpaceAround.vue';
|
|
5
8
|
export { default as AlignItemsSpaceBetween } from './SpaceBetween.vue';
|
|
9
|
+
export { default as AlignItemsStart } from './Start.vue';
|
|
10
|
+
export { default as AlignItemsStretch } from './Stretch.vue';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="1" y="1" width="6.5" height="6.5" rx="0.5" />
|
|
4
|
+
<rect x="8.5" y="1" width="6.5" height="6.5" rx="0.5" />
|
|
5
|
+
<rect x="1" y="8.5" width="6.5" height="6.5" rx="0.5" />
|
|
6
|
+
<rect x="8.5" y="8.5" width="6.5" height="6.5" rx="0.5" />
|
|
7
|
+
</svg>
|
|
8
|
+
</template>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="0.5" y="0.5" width="15" height="15" rx="1" fill="none" stroke="currentColor" stroke-opacity="0.3" />
|
|
4
|
+
<rect x="3.5" y="3.5" width="3" height="3" rx="0.5" />
|
|
5
|
+
<rect x="9.5" y="3.5" width="3" height="3" rx="0.5" />
|
|
6
|
+
<rect x="3.5" y="9.5" width="3" height="3" rx="0.5" />
|
|
7
|
+
<rect x="9.5" y="9.5" width="3" height="3" rx="0.5" />
|
|
8
|
+
</svg>
|
|
9
|
+
</template>
|
|
@@ -2,3 +2,5 @@ export { default as BackgroundRepeat } from './Repeat.vue';
|
|
|
2
2
|
export { default as BackgroundRepeatX } from './RepeatX.vue';
|
|
3
3
|
export { default as BackgroundRepeatY } from './RepeatY.vue';
|
|
4
4
|
export { default as BackgroundNoRepeat } from './NoRepeat.vue';
|
|
5
|
+
export { default as BackgroundRepeatRound } from './Round.vue';
|
|
6
|
+
export { default as BackgroundRepeatSpace } from './Space.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
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"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
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"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
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"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { default as DisplayBlock } from './Block.vue';
|
|
2
2
|
export { default as DisplayFlex } from './Flex.vue';
|
|
3
|
+
export { default as DisplayGrid } from './Grid.vue';
|
|
3
4
|
export { default as DisplayInline } from './Inline.vue';
|
|
4
5
|
export { default as DisplayInlineBlock } from './InlineBlock.vue';
|
|
6
|
+
export { default as DisplayInlineFlex } from './InlineFlex.vue';
|
|
7
|
+
export { default as DisplayInlineGrid } from './InlineGrid.vue';
|
|
5
8
|
export { default as DisplayNone } from './None.vue';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
3
|
+
<rect x="3" y="4.5" width="1.5" height="7" rx="0.25" fill="none" stroke="currentColor" />
|
|
4
|
+
<rect x="7.5" y="4.5" width="1.5" height="7" rx="0.25" fill="none" stroke="currentColor" />
|
|
5
|
+
<rect x="12" y="4.5" width="1.5" height="7" rx="0.25" fill="none" stroke="currentColor" />
|
|
6
|
+
<rect x="1.25" y="2" width="0.5" height="12" rx="0.25" fill-opacity="0.3" />
|
|
7
|
+
<rect x="6" y="2" width="0.5" height="12" rx="0.25" fill-opacity="0.3" />
|
|
8
|
+
<rect x="10.5" y="2" width="0.5" height="12" rx="0.25" fill-opacity="0.3" />
|
|
9
|
+
<rect x="15" y="2" width="0.5" height="12" rx="0.25" fill-opacity="0.3" />
|
|
10
|
+
</svg>
|
|
11
|
+
</template>
|
|
@@ -3,3 +3,4 @@ export { default as JustifyContentFlexEnd } from './FlexEnd.vue';
|
|
|
3
3
|
export { default as JustifyContentFlexStart } from './FlexStart.vue';
|
|
4
4
|
export { default as JustifyContentSpaceAround } from './SpaceAround.vue';
|
|
5
5
|
export { default as JustifyContentSpaceBetween } from './SpaceBetween.vue';
|
|
6
|
+
export { default as JustifyContentSpaceEvenly } from './SpaceEvenly.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
d="M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM256 384h640v64H256zM128 512h768v64H128zM384 640h512v64H384zM192 768h704v64H192z"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
d="M128 128h768v85.333333H128z m0 170.666667h768v85.333333H128z m0 170.666666h768v85.333334H128z m0 170.666667h768v85.333333H128z m0 170.666667h768v85.333333H128z"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
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"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
|
3
|
+
<path
|
|
4
|
+
d="M128 96h64v192H128zM224 160h544v64H224zM768 96L896 192 768 288zM128 384h640v64H128zM128 512h768v64H128zM128 640h512v64H128zM128 768h704v64H128z"
|
|
5
|
+
></path>
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export { default as AlignLeft } from './Left.vue';
|
|
2
2
|
export { default as AlignCenter } from './Center.vue';
|
|
3
3
|
export { default as AlignRight } from './Right.vue';
|
|
4
|
+
export { default as AlignEnd } from './End.vue';
|
|
5
|
+
export { default as AlignJustify } from './Justify.vue';
|
|
6
|
+
export { default as AlignMatchParent } from './MatchParent.vue';
|
|
7
|
+
export { default as AlignStart } from './Start.vue';
|