@tmagic/editor 1.8.0-beta.7 → 1.8.0-manmanyu.10

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 (194) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +15 -5
  2. package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +3 -3
  3. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +11 -7
  5. package/dist/es/components/ContentMenu.vue_vue_type_script_setup_true_lang.js +12 -5
  6. package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +11 -6
  7. package/dist/es/components/Icon.vue_vue_type_script_setup_true_lang.js +1 -1
  8. package/dist/es/components/Resizer.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/dist/es/components/ScrollBar.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/dist/es/components/ScrollViewer.vue_vue_type_script_setup_true_lang.js +1 -1
  11. package/dist/es/components/SearchInput.vue_vue_type_script_setup_true_lang.js +1 -1
  12. package/dist/es/components/SplitView.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/dist/es/components/ToolButton.vue_vue_type_script_setup_true_lang.js +1 -1
  14. package/dist/es/components/Tree.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/dist/es/components/TreeNode.vue_vue_type_script_setup_true_lang.js +1 -1
  16. package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +5 -2
  17. package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +5 -2
  18. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +69 -44
  19. package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +6 -2
  20. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +5 -2
  21. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +3 -3
  22. package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +11 -8
  23. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +7 -4
  24. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +5 -2
  25. package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +5 -2
  26. package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +5 -2
  27. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +7 -4
  28. package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +5 -2
  29. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +9 -3
  30. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +102 -65
  31. package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +5 -2
  32. package/dist/es/fields/PageFragmentSelect.vue_vue_type_script_setup_true_lang.js +5 -2
  33. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +6 -5
  34. package/dist/es/fields/StyleSetter/components/BackgroundPosition.vue_vue_type_script_setup_true_lang.js +5 -2
  35. package/dist/es/fields/StyleSetter/components/Border.vue_vue_type_script_setup_true_lang.js +2 -2
  36. package/dist/es/fields/StyleSetter/components/Box.vue_vue_type_script_setup_true_lang.js +1 -1
  37. package/dist/es/fields/StyleSetter/icons/align-items/Center.js +31 -0
  38. package/dist/es/fields/StyleSetter/icons/align-items/FlexEnd.js +31 -0
  39. package/dist/es/fields/StyleSetter/icons/align-items/FlexStart.js +31 -0
  40. package/dist/es/fields/StyleSetter/icons/align-items/SpaceAround.js +50 -0
  41. package/dist/es/fields/StyleSetter/icons/align-items/SpaceBetween.js +50 -0
  42. package/dist/es/fields/StyleSetter/icons/background-repeat/NoRepeat.js +7 -7
  43. package/dist/es/fields/StyleSetter/icons/background-repeat/Repeat.js +6 -3
  44. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatX.js +29 -6
  45. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatY.js +32 -6
  46. package/dist/es/fields/StyleSetter/icons/display/Block.js +1 -1
  47. package/dist/es/fields/StyleSetter/icons/display/Flex.js +1 -1
  48. package/dist/es/fields/StyleSetter/icons/display/Inline.js +1 -1
  49. package/dist/es/fields/StyleSetter/icons/display/InlineBlock.js +1 -1
  50. package/dist/es/fields/StyleSetter/icons/display/None.js +1 -1
  51. package/dist/es/fields/StyleSetter/icons/flex-direction/Column.js +11 -3
  52. package/dist/es/fields/StyleSetter/icons/flex-direction/ColumnReverse.js +11 -3
  53. package/dist/es/fields/StyleSetter/icons/flex-direction/Row.js +11 -3
  54. package/dist/es/fields/StyleSetter/icons/flex-direction/RowReverse.js +11 -3
  55. package/dist/es/fields/StyleSetter/icons/justify-content/Center.js +17 -3
  56. package/dist/es/fields/StyleSetter/icons/justify-content/FlexEnd.js +19 -3
  57. package/dist/es/fields/StyleSetter/icons/justify-content/FlexStart.js +19 -3
  58. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceAround.js +37 -3
  59. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceBetween.js +33 -3
  60. package/dist/es/fields/StyleSetter/icons/text-align/Center.js +1 -1
  61. package/dist/es/fields/StyleSetter/icons/text-align/Left.js +1 -1
  62. package/dist/es/fields/StyleSetter/icons/text-align/Right.js +1 -1
  63. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +12 -7
  64. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +7 -4
  66. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +83 -47
  67. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +1 -1
  68. package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +1 -1
  69. package/dist/es/fields/UISelect.vue_vue_type_script_setup_true_lang.js +5 -2
  70. package/dist/es/icons/CenterIcon.vue_vue_type_script_setup_true_lang.js +1 -1
  71. package/dist/es/icons/CodeIcon.vue_vue_type_script_setup_true_lang.js +1 -1
  72. package/dist/es/icons/DatasourceIcon.js +17 -0
  73. package/dist/es/icons/FolderMinusIcon.vue_vue_type_script_setup_true_lang.js +1 -1
  74. package/dist/es/index.js +6 -4
  75. package/dist/es/layouts/AddPageBox.vue_vue_type_script_setup_true_lang.js +1 -1
  76. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +1 -1
  77. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +15 -11
  78. package/dist/es/layouts/NavMenu.vue_vue_type_script_setup_true_lang.js +3 -3
  79. package/dist/es/layouts/NavMenuColumn.vue_vue_type_script_setup_true_lang.js +1 -1
  80. package/dist/es/layouts/history-list/Bucket.vue_vue_type_script_setup_true_lang.js +1 -1
  81. package/dist/es/layouts/history-list/BucketTab.vue_vue_type_script_setup_true_lang.js +1 -1
  82. package/dist/es/layouts/history-list/GroupRow.vue_vue_type_script_setup_true_lang.js +39 -27
  83. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +6 -2
  84. package/dist/es/layouts/history-list/HistoryListPanel.vue_vue_type_script_setup_true_lang.js +159 -302
  85. package/dist/es/layouts/history-list/InitialRow.vue_vue_type_script_setup_true_lang.js +1 -1
  86. package/dist/es/layouts/history-list/PageTab.vue_vue_type_script_setup_true_lang.js +1 -1
  87. package/dist/es/layouts/history-list/composables.js +23 -55
  88. package/dist/es/layouts/history-list/useHistoryList.js +56 -0
  89. package/dist/es/layouts/history-list/useHistoryRevert.js +304 -0
  90. package/dist/es/layouts/page-bar/AddButton.vue_vue_type_script_setup_true_lang.js +1 -1
  91. package/dist/es/layouts/page-bar/PageBar.vue_vue_type_script_setup_true_lang.js +1 -1
  92. package/dist/es/layouts/page-bar/PageBarScrollContainer.vue_vue_type_script_setup_true_lang.js +1 -1
  93. package/dist/es/layouts/page-bar/PageList.vue_vue_type_script_setup_true_lang.js +1 -1
  94. package/dist/es/layouts/page-bar/Search.vue_vue_type_script_setup_true_lang.js +2 -2
  95. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  96. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +11 -2
  97. package/dist/es/layouts/sidebar/ComponentListPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  98. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +1 -1
  99. package/dist/es/layouts/sidebar/code-block/CodeBlockList.vue_vue_type_script_setup_true_lang.js +1 -1
  100. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  101. package/dist/es/layouts/sidebar/data-source/DataSourceAddButton.vue_vue_type_script_setup_true_lang.js +1 -1
  102. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +3 -3
  103. package/dist/es/layouts/sidebar/data-source/DataSourceList.vue_vue_type_script_setup_true_lang.js +1 -1
  104. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  105. package/dist/es/layouts/sidebar/layer/LayerMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  106. package/dist/es/layouts/sidebar/layer/LayerNodeTool.vue_vue_type_script_setup_true_lang.js +1 -1
  107. package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  108. package/dist/es/layouts/workspace/Breadcrumb.vue_vue_type_script_setup_true_lang.js +1 -1
  109. package/dist/es/layouts/workspace/Workspace.vue_vue_type_script_setup_true_lang.js +1 -1
  110. package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  111. package/dist/es/layouts/workspace/viewer/Stage.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/dist/es/layouts/workspace/viewer/StageOverlay.vue_vue_type_script_setup_true_lang.js +1 -1
  113. package/dist/es/layouts/workspace/viewer/ViewerMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  114. package/dist/es/services/codeBlock.js +32 -28
  115. package/dist/es/services/dataSource.js +43 -34
  116. package/dist/es/services/editor.js +31 -26
  117. package/dist/es/services/history.js +268 -384
  118. package/dist/es/style.css +306 -37
  119. package/dist/es/utils/const.js +1 -1
  120. package/dist/es/utils/dep/worker.js +1 -1
  121. package/dist/es/utils/history.js +35 -47
  122. package/dist/es/utils/props.js +48 -29
  123. package/dist/style.css +306 -37
  124. package/dist/themes/magic-admin.css +2805 -0
  125. package/dist/tmagic-editor.umd.cjs +6855 -5579
  126. package/package.json +8 -8
  127. package/src/Editor.vue +13 -1
  128. package/src/components/CompareForm.vue +14 -6
  129. package/src/components/ContentMenu.vue +10 -2
  130. package/src/components/FloatingBox.vue +13 -2
  131. package/src/editorProps.ts +9 -0
  132. package/src/fields/CodeSelect.vue +51 -40
  133. package/src/fields/CodeSelectCol.vue +1 -0
  134. package/src/fields/DataSourceFieldSelect/Index.vue +14 -5
  135. package/src/fields/DisplayConds.vue +4 -1
  136. package/src/fields/EventSelect.vue +58 -32
  137. package/src/fields/StyleSetter/Index.vue +1 -4
  138. package/src/fields/StyleSetter/components/Border.vue +1 -1
  139. package/src/fields/StyleSetter/icons/align-items/Center.vue +19 -0
  140. package/src/fields/StyleSetter/icons/align-items/FlexEnd.vue +19 -0
  141. package/src/fields/StyleSetter/icons/align-items/FlexStart.vue +19 -0
  142. package/src/fields/StyleSetter/icons/align-items/SpaceAround.vue +34 -0
  143. package/src/fields/StyleSetter/icons/align-items/SpaceBetween.vue +34 -0
  144. package/src/fields/StyleSetter/icons/align-items/index copy.ts +5 -0
  145. package/src/fields/StyleSetter/icons/align-items/index.ts +5 -0
  146. package/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue +20 -4
  147. package/src/fields/StyleSetter/icons/background-repeat/Repeat.vue +10 -28
  148. package/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue +4 -5
  149. package/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue +4 -5
  150. package/src/fields/StyleSetter/icons/flex-direction/Column.vue +4 -3
  151. package/src/fields/StyleSetter/icons/flex-direction/ColumnReverse.vue +4 -3
  152. package/src/fields/StyleSetter/icons/flex-direction/Row.vue +4 -3
  153. package/src/fields/StyleSetter/icons/flex-direction/RowReverse.vue +4 -3
  154. package/src/fields/StyleSetter/icons/justify-content/Center.vue +5 -2
  155. package/src/fields/StyleSetter/icons/justify-content/FlexEnd.vue +15 -2
  156. package/src/fields/StyleSetter/icons/justify-content/FlexStart.vue +15 -2
  157. package/src/fields/StyleSetter/icons/justify-content/SpaceAround.vue +28 -3
  158. package/src/fields/StyleSetter/icons/justify-content/SpaceBetween.vue +28 -2
  159. package/src/fields/StyleSetter/pro/Background.vue +11 -5
  160. package/src/fields/StyleSetter/pro/Font.vue +3 -3
  161. package/src/fields/StyleSetter/pro/Layout.vue +105 -28
  162. package/src/fields/UISelect.vue +1 -1
  163. package/src/icons/DatasourceIcon.vue +7 -0
  164. package/src/index.ts +2 -0
  165. package/src/layouts/Framework.vue +7 -1
  166. package/src/layouts/NavMenu.vue +2 -2
  167. package/src/layouts/history-list/GroupRow.vue +10 -0
  168. package/src/layouts/history-list/HistoryDiffDialog.vue +6 -1
  169. package/src/layouts/history-list/HistoryListPanel.vue +53 -250
  170. package/src/layouts/history-list/PageTab.vue +4 -4
  171. package/src/layouts/history-list/composables.ts +52 -90
  172. package/src/layouts/history-list/useHistoryList.ts +60 -0
  173. package/src/layouts/history-list/useHistoryRevert.ts +400 -0
  174. package/src/layouts/props-panel/PropsPanel.vue +19 -1
  175. package/src/services/codeBlock.ts +30 -29
  176. package/src/services/dataSource.ts +37 -37
  177. package/src/services/editor.ts +32 -29
  178. package/src/services/history.ts +340 -430
  179. package/src/theme/code-block.scss +37 -0
  180. package/src/theme/common/var.scss +1 -1
  181. package/src/theme/component-list-panel.scss +2 -2
  182. package/src/theme/data-source-field.scss +4 -0
  183. package/src/theme/display-conds.scss +11 -0
  184. package/src/theme/event.scss +55 -1
  185. package/src/theme/history-list-panel.scss +23 -9
  186. package/src/theme/props-panel.scss +2 -1
  187. package/src/theme/style-setter/border.scss +14 -5
  188. package/src/theme/theme.scss +1 -0
  189. package/src/theme/themes/magic-admin/index.scss +124 -0
  190. package/src/type.ts +174 -92
  191. package/src/utils/const.ts +2 -1
  192. package/src/utils/history.ts +52 -67
  193. package/src/utils/props.ts +30 -9
  194. package/types/index.d.ts +471 -287
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z"
5
+ />
6
+ <rect
7
+ x="13.75"
8
+ y="12.25"
9
+ width="0.5"
10
+ height="11.5"
11
+ rx="0.25"
12
+ transform="rotate(90 13.75 12.25)"
13
+ stroke="black"
14
+ stroke-opacity="0.3"
15
+ style="stroke: black; stroke-opacity: 0.3"
16
+ stroke-width="0.5"
17
+ />
18
+ </svg>
19
+ </template>
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z"
5
+ />
6
+ <rect
7
+ x="13.75"
8
+ y="3.25"
9
+ width="0.5"
10
+ height="11.5"
11
+ rx="0.25"
12
+ transform="rotate(90 13.75 3.25)"
13
+ stroke="white"
14
+ stroke-opacity="0.3"
15
+ style="stroke: white; stroke-opacity: 0.3"
16
+ stroke-width="0.5"
17
+ />
18
+ </svg>
19
+ </template>
@@ -0,0 +1,34 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M12 8C12.5523 8 13 8.44772 13 9V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V9C3 8.44772 3.44772 8 4 8H12ZM4.5 9C4.22386 9 4 9.22386 4 9.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V9.5C12 9.22386 11.7761 9 11.5 9H4.5Z"
5
+ />
6
+ <path
7
+ d="M12 2C12.5523 2 13 2.44772 13 3V6C13 6.55228 12.5523 7 12 7H4C3.44772 7 3 6.55228 3 6V3C3 2.44772 3.44772 2 4 2H12ZM4.5 3C4.22386 3 4 3.22386 4 3.5V5.5C4 5.77614 4.22386 6 4.5 6H11.5C11.7761 6 12 5.77614 12 5.5V3.5C12 3.22386 11.7761 3 11.5 3H4.5Z"
8
+ />
9
+ <rect
10
+ x="13.75"
11
+ y="10.25"
12
+ width="0.5"
13
+ height="11.5"
14
+ rx="0.25"
15
+ transform="rotate(90 13.75 10.25)"
16
+ stroke="black"
17
+ stroke-opacity="0.3"
18
+ style="stroke: black; stroke-opacity: 0.3"
19
+ stroke-width="0.5"
20
+ />
21
+ <rect
22
+ x="13.75"
23
+ y="4.25"
24
+ width="0.5"
25
+ height="11.5"
26
+ rx="0.25"
27
+ transform="rotate(90 13.75 4.25)"
28
+ stroke="black"
29
+ stroke-opacity="0.3"
30
+ style="stroke: black; stroke-opacity: 0.3"
31
+ stroke-width="0.5"
32
+ />
33
+ </svg>
34
+ </template>
@@ -0,0 +1,34 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M12 9C12.5523 9 13 9.44772 13 10V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V10C3 9.44772 3.44772 9 4 9H12ZM4.5 10C4.22386 10 4 10.2239 4 10.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V10.5C12 10.2239 11.7761 10 11.5 10H4.5Z"
5
+ />
6
+ <path
7
+ d="M12 3C12.5523 3 13 3.44772 13 4V6C13 6.55228 12.5523 7 12 7H4C3.44772 7 3 6.55228 3 6V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V5.5C4 5.77614 4.22386 6 4.5 6H11.5C11.7761 6 12 5.77614 12 5.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z"
8
+ />
9
+ <rect
10
+ x="13.75"
11
+ y="14.25"
12
+ width="0.5"
13
+ height="11.5"
14
+ rx="0.25"
15
+ transform="rotate(90 13.75 14.25)"
16
+ stroke="black"
17
+ stroke-opacity="0.3"
18
+ style="stroke: black; stroke-opacity: 0.3"
19
+ stroke-width="0.5"
20
+ />
21
+ <rect
22
+ x="13.75"
23
+ y="1.25"
24
+ width="0.5"
25
+ height="11.5"
26
+ rx="0.25"
27
+ transform="rotate(90 13.75 1.25)"
28
+ stroke="black"
29
+ stroke-opacity="0.3"
30
+ style="stroke: black; stroke-opacity: 0.3"
31
+ stroke-width="0.5"
32
+ />
33
+ </svg>
34
+ </template>
@@ -0,0 +1,5 @@
1
+ export { default as JustifyContentCenter } from './Center.vue';
2
+ export { default as JustifyContentFlexEnd } from './FlexEnd.vue';
3
+ export { default as JustifyContentFlexStart } from './FlexStart.vue';
4
+ export { default as JustifyContentSpaceAround } from './SpaceAround.vue';
5
+ export { default as JustifyContentSpaceBetween } from './SpaceBetween.vue';
@@ -0,0 +1,5 @@
1
+ export { default as AlignItemsCenter } from './Center.vue';
2
+ export { default as AlignItemsFlexEnd } from './FlexEnd.vue';
3
+ export { default as AlignItemsFlexStart } from './FlexStart.vue';
4
+ export { default as AlignItemsSpaceAround } from './SpaceAround.vue';
5
+ export { default as AlignItemsSpaceBetween } from './SpaceBetween.vue';
@@ -1,8 +1,24 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="currentColor">
3
3
  <path
4
- 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"
5
- fill="#5D5D5D"
6
- ></path>
4
+ d="M0 0.625C0 0.279822 0.248731 0 0.555556 0H9.44444C9.75127 0 10 0.279822 10 0.625C10 0.970178 9.75127 1.25 9.44444 1.25H0.555556C0.248731 1.25 0 0.970178 0 0.625Z"
5
+ fill-opacity="0.3"
6
+ />
7
+ <path
8
+ d="M0 9.375C0 9.02982 0.248731 8.75 0.555556 8.75H9.44444C9.75127 8.75 10 9.02982 10 9.375C10 9.72018 9.75127 10 9.44444 10H0.555556C0.248731 10 0 9.72018 0 9.375Z"
9
+ fill-opacity="0.3"
10
+ />
11
+ <path
12
+ d="M0.555556 4.375C0.248731 4.375 0 4.65482 0 5C0 5.34518 0.248731 5.625 0.555556 5.625H2.87307L3.42868 4.99994L2.87318 4.375H0.555556Z"
13
+ fill-opacity="0.3"
14
+ />
15
+ <path
16
+ d="M9.44444 5.625H7.12699L6.57138 4.99994L7.12688 4.375H9.44444C9.75127 4.375 10 4.65482 10 5C10 5.34518 9.75127 5.625 9.44444 5.625Z"
17
+ fill-opacity="0.3"
18
+ />
19
+ <path
20
+ transform="translate(0 2.6072)"
21
+ d="M3.30542 0.183058C3.52237 -0.0610194 3.87413 -0.0610194 4.09109 0.183058C4.30805 0.427136 4.30805 0.822864 4.09109 1.06694L2.91256 2.39279L4.0911 3.71865C4.30806 3.96273 4.30806 4.35846 4.0911 4.60253C3.87414 4.84661 3.52239 4.84661 3.30543 4.60253L2.12688 3.27667L0.948393 4.60248C0.731435 4.84655 0.379676 4.84655 0.162719 4.60248C-0.0542395 4.3584 -0.0542395 3.96267 0.162719 3.71859L1.34121 2.39279L0.162731 1.067C-0.0542269 0.822922 -0.0542268 0.427194 0.162731 0.183116C0.379689 -0.0609612 0.731447 -0.0609612 0.948405 0.183116L2.12688 1.50891L3.30542 0.183058Z"
22
+ />
7
23
  </svg>
8
24
  </template>
@@ -1,31 +1,13 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path
4
- 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"
5
- ></path>
6
- <path
7
- 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"
8
- ></path>
9
- <path
10
- 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"
11
- ></path>
12
- <path
13
- 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"
14
- ></path>
15
- <path
16
- 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"
17
- ></path>
18
- <path
19
- 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"
20
- ></path>
21
- <path
22
- 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"
23
- ></path>
24
- <path
25
- 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"
26
- ></path>
27
- <path
28
- 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"
29
- ></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <rect x="13" y="3" width="2" height="2" rx="0.5" transform="rotate(90 13 3)" fill-opacity="0.3" />
4
+ <rect x="13" y="7" width="2" height="2" rx="0.5" transform="rotate(90 13 7)" fill-opacity="0.3" />
5
+ <rect x="13" y="11" width="2" height="2" rx="0.5" transform="rotate(90 13 11)" fill-opacity="0.3" />
6
+ <rect x="9" y="3" width="2" height="2" rx="0.5" transform="rotate(90 9 3)" />
7
+ <rect x="9" y="7" width="2" height="2" rx="0.5" transform="rotate(90 9 7)" />
8
+ <rect x="9" y="11" width="2" height="2" rx="0.5" transform="rotate(90 9 11)" fill-opacity="0.3" />
9
+ <rect x="5" y="3" width="2" height="2" rx="0.5" transform="rotate(90 5 3)" />
10
+ <rect x="5" y="7" width="2" height="2" rx="0.5" transform="rotate(90 5 7)" />
11
+ <rect x="5" y="11" width="2" height="2" rx="0.5" transform="rotate(90 5 11)" fill-opacity="0.3" />
30
12
  </svg>
31
13
  </template>
@@ -1,8 +1,7 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path
4
- 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"
5
- fill="#333333"
6
- ></path>
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="3" width="2" height="10" rx="1" />
4
+ <rect x="7" y="3" width="2" height="10" rx="1" />
5
+ <rect x="11" y="3" width="2" height="10" rx="1" fill-opacity="0.3" />
7
6
  </svg>
8
7
  </template>
@@ -1,8 +1,7 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path
4
- 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"
5
- fill="#333333"
6
- ></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <rect x="13" y="3" width="2" height="10" rx="1" transform="rotate(90 13 3)" />
4
+ <rect x="13" y="7" width="2" height="10" rx="1" transform="rotate(90 13 7)" />
5
+ <rect x="13" y="11" width="2" height="10" rx="1" transform="rotate(90 13 11)" fill-opacity="0.3" />
7
6
  </svg>
8
7
  </template>
@@ -1,7 +1,8 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
3
  <path
4
- d="M896 320H128V0h768v320z m0 320H128v-256h768v256z m-128 192l-256 192-256-192 192-0.032V704h128v128h192z"
5
- ></path>
4
+ d="M12 3C12.5523 3 13 3.44772 13 4V10C13 10.5523 12.5523 11 12 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H12ZM4.5 4C4.22386 4 4 4.22386 4 4.5V9.5C4 9.77614 4.22386 10 4.5 10H11.5C11.7761 10 12 9.77614 12 9.5V4.5C12 4.22386 11.7761 4 11.5 4H4.5Z"
5
+ />
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 12L8 15L5 12L11 12Z" fill-opacity="0.3" />
6
7
  </svg>
7
8
  </template>
@@ -1,7 +1,8 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
3
  <path
4
- d="M896 704H128v320h768V704z m0-320H128v256h768v-256z m-128-192l-256-192-256 192 192 0.032V320h128V192h192z"
5
- ></path>
4
+ d="M12 5C12.5523 5 13 5.44772 13 6V12C13 12.5523 12.5523 13 12 13H4C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H12ZM4.5 6C4.22386 6 4 6.22386 4 6.5V11.5C4 11.7761 4.22386 12 4.5 12H11.5C11.7761 12 12 11.7761 12 11.5V6.5C12 6.22386 11.7761 6 11.5 6H4.5Z"
5
+ />
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5 4L8 1L11 4L5 4Z" fill-opacity="0.3" />
6
7
  </svg>
7
8
  </template>
@@ -1,7 +1,8 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
3
  <path
4
- d="M320 128v768H0V128h320z m320 0v768h-256V128h256z m192 128l192 256-192 256-0.032-192H704v-128h128V256z"
5
- ></path>
4
+ d="M10 4C10.5523 4 11 4.44772 11 5V11C11 11.5523 10.5523 12 10 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H10ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H9.5C9.77614 11 10 10.7761 10 10.5V5.5C10 5.22386 9.77614 5 9.5 5H2.5Z"
5
+ />
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 5L15 8L12 11L12 5Z" fill-opacity="0.3" />
6
7
  </svg>
7
8
  </template>
@@ -1,7 +1,8 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
3
  <path
4
- d="M704 128v768h320V128H704zM384 128v768h256V128h-256zM192 256l-192 256 192 256 0.032-192H320v-128H192V256z"
5
- ></path>
4
+ d="M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H6C5.44772 12 5 11.5523 5 11V5C5 4.44772 5.44772 4 6 4H14ZM6.5 5C6.22386 5 6 5.22386 6 5.5V10.5C6 10.7761 6.22386 11 6.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H6.5Z"
5
+ />
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4 11L1 8L4 5L4 11Z" fill-opacity="0.3" />
6
7
  </svg>
7
8
  </template>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path d="M480 1024V0h64v1024h-64z m128-64V64h320v896H608zM96 960V64h320v896H96z"></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M13 4C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12H3C2.44772 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H13ZM3.59082 5C3.31472 5.00005 3.09082 5.22389 3.09082 5.5V10.5C3.09082 10.7761 3.31472 11 3.59082 11H12.4092C12.6853 11 12.9092 10.7761 12.9092 10.5V5.5C12.9092 5.22389 12.6853 5.00005 12.4092 5H3.59082Z"
5
+ />
6
+ <rect x="7.5" y="2" width="1" height="12" rx="0.5" fill-opacity="0.3" style="fill: black; fill-opacity: 0.3" />
4
7
  </svg>
5
8
  </template>
@@ -1,5 +1,18 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path d="M416 160H96v704h320V160z m384 0H480v704h320V160z m128-160h-64v1024h64V0z"></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M11 4C11.5523 4 12 4.44772 12 5V11C12 11.5523 11.5523 12 11 12H2C1.44772 12 1 11.5523 1 11V5C1 4.44772 1.44772 4 2 4H11ZM2.5 5C2.22386 5 2 5.22386 2 5.5V10.5C2 10.7761 2.22386 11 2.5 11H10.5C10.7761 11 11 10.7761 11 10.5V5.5C11 5.22386 10.7761 5 10.5 5H2.5Z"
5
+ />
6
+ <rect
7
+ x="14.25"
8
+ y="2.25"
9
+ width="0.5"
10
+ height="11.5"
11
+ rx="0.25"
12
+ stroke="black"
13
+ stroke-opacity="0.3"
14
+ style="stroke: black; stroke-opacity: 0.3"
15
+ stroke-width="0.5"
16
+ />
4
17
  </svg>
5
18
  </template>
@@ -1,5 +1,18 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path d="M608 160h320v704H608V160zM224 160h320v704H224V160zM96 0h64v1024H96V0z"></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M14 4C14.5523 4 15 4.44772 15 5V11C15 11.5523 14.5523 12 14 12H5C4.44772 12 4 11.5523 4 11V5C4 4.44772 4.44772 4 5 4H14ZM5.5 5C5.22386 5 5 5.22386 5 5.5V10.5C5 10.7761 5.22386 11 5.5 11H13.5C13.7761 11 14 10.7761 14 10.5V5.5C14 5.22386 13.7761 5 13.5 5H5.5Z"
5
+ />
6
+ <rect
7
+ x="1.25"
8
+ y="2.25"
9
+ width="0.5"
10
+ height="11.5"
11
+ rx="0.25"
12
+ stroke="white"
13
+ stroke-opacity="0.3"
14
+ style="stroke: white; stroke-opacity: 0.3"
15
+ stroke-width="0.5"
16
+ />
4
17
  </svg>
5
18
  </template>
@@ -1,7 +1,32 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
3
  <path
4
- d="M320 864H192v160H128v-160H0V160h128V0h64v160h128v704z m704 0h-128v160h-64v-160h-128V160h128V0h64v160h128v704z"
5
- ></path>
4
+ d="M6 4C6.55228 4 7 4.44772 7 5V11C7 11.5523 6.55228 12 6 12H3C2.44772 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H6ZM3.5 5C3.22386 5 3 5.22386 3 5.5V10.5C3 10.7761 3.22386 11 3.5 11H5.5C5.77614 11 6 10.7761 6 10.5V5.5C6 5.22386 5.77614 5 5.5 5H3.5Z"
5
+ />
6
+ <path
7
+ d="M13 4C13.5523 4 14 4.44772 14 5V11C14 11.5523 13.5523 12 13 12H10C9.44772 12 9 11.5523 9 11V5C9 4.44772 9.44772 4 10 4H13ZM10.5 5C10.2239 5 10 5.22386 10 5.5V10.5C10 10.7761 10.2239 11 10.5 11H12.5C12.7761 11 13 10.7761 13 10.5V5.5C13 5.22386 12.7761 5 12.5 5H10.5Z"
8
+ />
9
+ <rect
10
+ x="11.25"
11
+ y="2.25"
12
+ width="0.5"
13
+ height="11.5"
14
+ rx="0.25"
15
+ stroke="black"
16
+ stroke-opacity="0.3"
17
+ style="stroke: black; stroke-opacity: 0.3"
18
+ stroke-width="0.5"
19
+ />
20
+ <rect
21
+ x="4.25"
22
+ y="2.25"
23
+ width="0.5"
24
+ height="11.5"
25
+ rx="0.25"
26
+ stroke="black"
27
+ stroke-opacity="0.3"
28
+ style="stroke: black; stroke-opacity: 0.3"
29
+ stroke-width="0.5"
30
+ />
6
31
  </svg>
7
32
  </template>
@@ -1,5 +1,31 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
- <path d="M64 1024H0V0h64v1024z m384-160H128V160h320v704z m448 0H576V160h320v704z m128 160h-64V0h64v1024z"></path>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
3
+ <path
4
+ d="M6 4C6.55228 4 7 4.44772 7 5V11C7 11.5523 6.55228 12 6 12H4C3.44772 12 3 11.5523 3 11V5C3 4.44772 3.44772 4 4 4H6ZM4.5 5C4.22386 5 4 5.22386 4 5.5V10.5C4 10.7761 4.22386 11 4.5 11H5.5C5.77614 11 6 10.7761 6 10.5V5.5C6 5.22386 5.77614 5 5.5 5H4.5Z"
5
+ />
6
+ <path
7
+ d="M12 4C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H10C9.44772 12 9 11.5523 9 11V5C9 4.44772 9.44772 4 10 4H12ZM10.5 5C10.2239 5 10 5.22386 10 5.5V10.5C10 10.7761 10.2239 11 10.5 11H11.5C11.7761 11 12 10.7761 12 10.5V5.5C12 5.22386 11.7761 5 11.5 5H10.5Z"
8
+ />
9
+ <rect
10
+ x="14.25"
11
+ y="2.25"
12
+ width="0.5"
13
+ height="11.5"
14
+ rx="0.25"
15
+ stroke="black"
16
+ stroke-opacity="0.3"
17
+ stroke-width="0.5"
18
+ />
19
+ <rect
20
+ x="1.25"
21
+ y="2.25"
22
+ width="0.5"
23
+ height="11.5"
24
+ rx="0.25"
25
+ stroke="black"
26
+ stroke-opacity="0.3"
27
+ style="stroke: black; stroke-opacity: 0.3"
28
+ stroke-width="0.5"
29
+ />
4
30
  </svg>
5
31
  </template>
@@ -26,6 +26,7 @@ defineProps<{
26
26
  isCompare?: boolean;
27
27
  disabled?: boolean;
28
28
  size?: 'large' | 'default' | 'small';
29
+ theme?: string;
29
30
  }>();
30
31
 
31
32
  const emit = defineEmits<{
@@ -57,7 +58,7 @@ const config = defineFormItem({
57
58
  name: 'backgroundSize',
58
59
  text: '背景尺寸',
59
60
  type: 'radioGroup',
60
- childType: 'button',
61
+ childType: 'default',
61
62
  labelWidth: '68px',
62
63
  options: [
63
64
  { value: 'auto', text: '默认', tooltip: '默认 auto' },
@@ -72,10 +73,15 @@ const config = defineFormItem({
72
73
  childType: 'button',
73
74
  labelWidth: '68px',
74
75
  options: [
75
- { value: 'repeat', icon: markRaw(BackgroundRepeat), tooltip: '垂直和水平方向重复 repeat' },
76
- { value: 'repeat-x', icon: markRaw(BackgroundRepeatX), tooltip: '水平方向重复 repeat-x' },
77
- { value: 'repeat-y', icon: markRaw(BackgroundRepeatY), tooltip: '垂直方向重复 repeat-y' },
78
- { value: 'no-repeat', icon: markRaw(BackgroundNoRepeat), tooltip: '不重复 no-repeat' },
76
+ {
77
+ value: 'repeat',
78
+ icon: markRaw(BackgroundRepeat),
79
+ tooltip: '垂直和水平方向重复 repeat',
80
+ text: '垂直与水平重复',
81
+ },
82
+ { value: 'repeat-x', icon: markRaw(BackgroundRepeatX), tooltip: '水平方向重复 repeat-x', text: '水平方向重复' },
83
+ { value: 'repeat-y', icon: markRaw(BackgroundRepeatY), tooltip: '垂直方向重复 repeat-y', text: '垂直方向重复' },
84
+ { value: 'no-repeat', icon: markRaw(BackgroundNoRepeat), tooltip: '不重复 no-repeat', text: '不重复' },
79
85
  ],
80
86
  },
81
87
  {
@@ -92,9 +92,9 @@ const config = defineFormItem({
92
92
  childType: 'button',
93
93
  labelWidth: '68px',
94
94
  options: [
95
- { value: 'left', icon: markRaw(AlignLeft), tooltip: '左对齐 row' },
96
- { value: 'center', icon: markRaw(AlignCenter), tooltip: '居中对齐 center' },
97
- { value: 'right', icon: markRaw(AlignRight), tooltip: '右对齐 right' },
95
+ { value: 'left', icon: markRaw(AlignLeft), tooltip: '左对齐 row', text: '左对齐' },
96
+ { value: 'center', icon: markRaw(AlignCenter), tooltip: '居中对齐 center', text: '居中对齐' },
97
+ { value: 'right', icon: markRaw(AlignRight), tooltip: '右对齐 right', text: '右对齐' },
98
98
  ],
99
99
  },
100
100
  ],