aloha-vue 1.0.3 → 1.0.6

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 (74) hide show
  1. package/docs/package.json +1 -1
  2. package/docs/src/main.js +13 -0
  3. package/docs/src/views/PageTable/PageTable.js +44 -1
  4. package/docs/src/views/PageTable/PageTable.pug +21 -0
  5. package/package.json +4 -3
  6. package/src/AIcon/AIcon.js +46 -65
  7. package/src/AIcon/Icons/Aloha.js +18 -11
  8. package/src/AIcon/Icons/AngleDown.js +13 -6
  9. package/src/AIcon/Icons/AngleLeft.js +13 -6
  10. package/src/AIcon/Icons/AngleRight.js +13 -6
  11. package/src/AIcon/Icons/AngleUp.js +13 -6
  12. package/src/AIcon/Icons/ChevronDown.js +9 -2
  13. package/src/AIcon/Icons/ChevronLeft.js +10 -1
  14. package/src/AIcon/Icons/ChevronRight.js +10 -3
  15. package/src/AIcon/Icons/ChevronUp.js +9 -2
  16. package/src/AIcon/Icons/Close.js +18 -11
  17. package/src/AIcon/Icons/Cog.js +13 -6
  18. package/src/AIcon/Icons/Cross.js +17 -10
  19. package/src/AIcon/Icons/Dnd.js +37 -30
  20. package/src/AIcon/Icons/DoubleAngleDown.js +13 -6
  21. package/src/AIcon/Icons/DoubleAngleLeft.js +13 -6
  22. package/src/AIcon/Icons/DoubleAngleRight.js +13 -6
  23. package/src/AIcon/Icons/DoubleAngleUp.js +13 -6
  24. package/src/AIcon/Icons/EyeClose.js +13 -6
  25. package/src/AIcon/Icons/EyeOpen.js +13 -6
  26. package/src/AIcon/Icons/Lock.js +13 -6
  27. package/src/AIcon/Icons/Minus.js +13 -6
  28. package/src/AIcon/Icons/Ok.js +13 -6
  29. package/src/AIcon/Icons/OptionHorizontal.js +13 -6
  30. package/src/AIcon/Icons/OptionVertical.js +13 -6
  31. package/src/AIcon/Icons/Pause.js +19 -14
  32. package/src/AIcon/Icons/Play.js +10 -3
  33. package/src/AIcon/Icons/Plus.js +14 -6
  34. package/src/AIcon/Icons/Repeat.js +12 -5
  35. package/src/AIcon/Icons/Reset.js +13 -6
  36. package/src/AIcon/Icons/Search.js +8 -0
  37. package/src/AIcon/SVG-icons/plus.svg +2 -1
  38. package/src/AIcon/SVG-icons/search.svg +9 -0
  39. package/src/AJson/AJson.js +1 -1
  40. package/src/AResizer/AResizer.js +159 -0
  41. package/src/ATable/ATable.js +105 -11
  42. package/src/ATable/ATableActionItem/ATableActionItem.js +72 -0
  43. package/src/ATable/ATableHeaderThAction/ATableHeaderThAction.js +13 -1
  44. package/src/ATable/ATablePreviewRight/ATablePreviewRight.js +135 -0
  45. package/src/ATable/ATableTd/ATableTd.js +52 -5
  46. package/src/ATable/ATableTdAction/ATableTdAction.js +8 -2
  47. package/src/ATable/ATableTdActionItem/ATableTdActionItem.js +84 -37
  48. package/src/ATable/ATableTopPanel/ATableTopPanel.js +47 -5
  49. package/src/ATable/ATableTr/ATableTr.js +37 -3
  50. package/src/ATable/compositionAPI/ColumnAdditionalSpaceAPI.js +4 -0
  51. package/src/ATable/compositionAPI/ColumnStylesAPI.js +2 -2
  52. package/src/ATable/compositionAPI/ColumnVisibleAPI.js +6 -1
  53. package/src/ATable/compositionAPI/DragAndDropChildAPI.js +6 -2
  54. package/src/ATable/compositionAPI/PreviewAPI.js +128 -0
  55. package/src/ATable/compositionAPI/PreviewRightResizeAPI.js +73 -0
  56. package/src/ATable/compositionAPI/RowActionsAPI.js +2 -3
  57. package/src/ATable/compositionAPI/ScrollControlAPI.js +14 -2
  58. package/src/ATable/compositionAPI/TableActionsAPI.js +40 -0
  59. package/src/ATextarea/ATextarea.js +1 -1
  60. package/src/plugins/AIconPlugin.js +5 -0
  61. package/src/styles/components/ADropdown.scss +5 -0
  62. package/src/styles/components/AIcon.scss +7 -4
  63. package/src/styles/components/AResizer.scss +63 -0
  64. package/src/styles/components/ATable.scss +62 -0
  65. package/src/styles/components/ui/ASwitch.scss +99 -0
  66. package/src/styles/components/ui/ui.scss +19 -2
  67. package/src/styles/styles.scss +1 -0
  68. package/src/ui/AInput/AInput.js +30 -16
  69. package/src/{ALabel → ui/ALabel}/ALabel.js +3 -3
  70. package/src/ui/ASwitch/ASwitch.js +241 -0
  71. package/src/ui/compositionApi/UiAPI.js +29 -0
  72. package/src/ui/compositionApi/UiLabelFloatAPI.js +18 -0
  73. package/src/ui/mixins/UiMixinProps.js +7 -4
  74. package/src/utils/utils.js +0 -1
package/docs/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "build-css": "node-sass --include-path scss styles/styles.scss public/styles.css"
12
12
  },
13
13
  "dependencies": {
14
- "aloha-css": "1.0.7",
14
+ "aloha-css": "1.0.8",
15
15
  "lodash-es": "^4.17.21",
16
16
  "vue": "3.2.31",
17
17
  "vue-router": "4.0.14",
package/docs/src/main.js CHANGED
@@ -4,6 +4,7 @@ import store from "./store/index";
4
4
  import router from "./router/index";
5
5
  import i18nPlugin from "../../src/plugins/i18nPlugin";
6
6
  // import alohaPlugin from "../src/plugins/alohaPlugin";
7
+ import AIconPlugin from "../../src/plugins/AIconPlugin";
7
8
 
8
9
  import de from "./i18n/de.json";
9
10
  import en from "./i18n/en.json";
@@ -23,6 +24,18 @@ const TRANSLATIONS = {
23
24
  ru: { ...ruGlobal, ...ru },
24
25
  };
25
26
  APP.use(i18nPlugin, TRANSLATIONS, "de");
27
+ APP.use(AIconPlugin, {
28
+ Plus2: `<svg
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ viewBox="0 0 18 18"
31
+ height="18"
32
+ width="18"
33
+ >
34
+ <path
35
+ d="M 17.986481,14.773554 14.757239,17.986512 9.0000154,12.245611 3.2427918,17.986512 0.01353176,14.773554 9.0163185,5.770767 Z"
36
+ />
37
+ </svg>`,
38
+ });
26
39
  // APP.use(alohaPlugin, {
27
40
  // framework: "bootstrap",
28
41
  // });
@@ -104,6 +104,49 @@ export default {
104
104
  callback: this.clickMe,
105
105
  },
106
106
  ],
107
+ tableActions: [
108
+ {
109
+ label: "Aloha1",
110
+ title: "Aloha1 Title",
111
+ isHidden: false,
112
+ callback: this.clickMe,
113
+ disabled: true,
114
+ type: "button",
115
+ class: "a_btn a_btn_primary",
116
+ icon: "Plus",
117
+ },
118
+ {
119
+ label: "Aloha2",
120
+ title: "Aloha2 Title",
121
+ callback: this.clickMe,
122
+ disabled: false,
123
+ class: "a_btn a_btn_secondary",
124
+ },
125
+ {
126
+ label: "Aloha link",
127
+ title: "Aloha link Title",
128
+ disabled: false,
129
+ class: "a_btn a_btn_secondary",
130
+ type: "link",
131
+ to: "/spinner",
132
+ },
133
+ {
134
+ label: "Aloha3",
135
+ title: "Aloha3 Title",
136
+ disabled: false,
137
+ type: "dropdown",
138
+ class: "a_btn a_btn_secondary",
139
+ children: [
140
+ {
141
+ label: "Aloha4",
142
+ title: "Aloha4 Title",
143
+ callback: this.clickMe,
144
+ disabled: false,
145
+ },
146
+ ],
147
+ },
148
+ ],
149
+ modelQuickSearch: "",
107
150
  };
108
151
  },
109
152
  created() {
@@ -132,7 +175,7 @@ export default {
132
175
  this.data = DATA;
133
176
  },
134
177
 
135
- clickMe({ row, rowIndex }) {
178
+ clickMe({ row, rowIndex } = {}) {
136
179
  console.log("row, rowIndex", row, rowIndex);
137
180
  },
138
181
  },
@@ -6,9 +6,30 @@ div
6
6
  :is-loading-options="isLoadingOptions"
7
7
  label="Example table"
8
8
  :row-actions="rowActions"
9
+ :table-actions="tableActions"
10
+ preview="right"
11
+ :is-quick-search="true"
12
+ v-model:modelQuickSearch="modelQuickSearch"
9
13
  @change-columns-ordering="changeColumnsOrdering"
10
14
  )
11
15
  template(
12
16
  v-slot:slot1="vm"
13
17
  )
14
18
  pre {{ vm.column }}
19
+
20
+ template(
21
+ v-slot:tableDetailsLabel="vm"
22
+ )
23
+ span Details {{ vm.rowIndex }}
24
+
25
+ template(
26
+ v-slot:tableDetailsBody="vm"
27
+ )
28
+ pre {{ vm }}
29
+
30
+ template(
31
+ v-slot:tableActions
32
+ )
33
+ button.a_btn.a_btn_primary Click me
34
+
35
+ span modelQuickSearch: {{ modelQuickSearch }}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.3",
4
+ "version": "1.0.6",
5
5
  "author": "Ilia Brykin",
6
6
  "dependencies": {
7
7
  "@popperjs/core": "2.11.5",
8
- "aloha-css": "1.0.6",
9
- "lodash-es": "^4.17.21"
8
+ "aloha-css": "1.0.8",
9
+ "lodash-es": "^4.17.21",
10
+ "vue": "3.2.37"
10
11
  }
11
12
  }
@@ -1,3 +1,8 @@
1
+ import {
2
+ h,
3
+ inject,
4
+ } from "vue";
5
+
1
6
  import Aloha from "./Icons/Aloha";
2
7
  import AngleDown from "./Icons/AngleDown";
3
8
  import AngleLeft from "./Icons/AngleLeft";
@@ -24,66 +29,59 @@ import OptionHorizontal from "./Icons/OptionHorizontal";
24
29
  import OptionVertical from "./Icons/OptionVertical";
25
30
  import Plus from "./Icons/Plus";
26
31
  import Reset from "./Icons/Reset";
32
+ import Search from "./Icons/Search";
27
33
 
28
34
  import {
29
- h,
30
- } from "vue";
35
+ assign,
36
+ } from "lodash-es";
31
37
 
32
38
  export default {
33
39
  name: "AIcon",
34
40
  props: {
35
41
  icon: {
36
42
  type: String,
37
- required: false,
38
- },
39
- width: {
40
- type: [Number, String],
41
- default: 16,
42
- },
43
- height: {
44
- type: [Number, String],
45
- default: 16,
46
- },
47
- iconColor: {
48
- type: String,
49
- default: "currentColor",
50
- required: false,
43
+ required: true,
51
44
  },
52
45
  ariLabel: {
53
46
  type: String,
54
47
  required: false,
48
+ default: undefined,
55
49
  },
56
50
  },
57
- data() {
51
+ setup() {
52
+ const ICONS_PLUGIN = inject("icons", {});
53
+ const icons = assign({}, {
54
+ Aloha,
55
+ AngleDown,
56
+ AngleLeft,
57
+ AngleRight,
58
+ AngleUp,
59
+ ChevronDown,
60
+ ChevronLeft,
61
+ ChevronRight,
62
+ ChevronUp,
63
+ Cog,
64
+ Close,
65
+ Cross,
66
+ Dnd,
67
+ DoubleAngleDown,
68
+ DoubleAngleLeft,
69
+ DoubleAngleRight,
70
+ DoubleAngleUp,
71
+ EyeClose,
72
+ EyeOpen,
73
+ Lock,
74
+ Minus,
75
+ Ok,
76
+ OptionHorizontal,
77
+ OptionVertical,
78
+ Plus,
79
+ Reset,
80
+ Search,
81
+ }, ICONS_PLUGIN);
82
+
58
83
  return {
59
- icons: {
60
- Aloha,
61
- AngleDown,
62
- AngleLeft,
63
- AngleRight,
64
- AngleUp,
65
- ChevronDown,
66
- ChevronLeft,
67
- ChevronRight,
68
- ChevronUp,
69
- Cog,
70
- Close,
71
- Cross,
72
- Dnd,
73
- DoubleAngleDown,
74
- DoubleAngleLeft,
75
- DoubleAngleRight,
76
- DoubleAngleUp,
77
- EyeClose,
78
- EyeOpen,
79
- Lock,
80
- Minus,
81
- Ok,
82
- OptionHorizontal,
83
- OptionVertical,
84
- Reset,
85
- Plus,
86
- },
84
+ icons,
87
85
  };
88
86
  },
89
87
  computed: {
@@ -91,37 +89,20 @@ export default {
91
89
  return this.icons[this.icon];
92
90
  },
93
91
 
94
- attributesSvgLocal() {
95
- const ATTRIBUTES = {
96
- viewBox: "0 0 18 18",
97
- role: "presentation",
98
- width: this.width,
99
- height: this.height,
100
- class: "a_icon__svg",
101
- };
102
- return ATTRIBUTES;
103
- },
104
-
105
92
  attributesLocal() {
106
93
  const ATTRIBUTES = {
107
94
  class: "a_icon",
95
+ innerHTML: this.iconSvg,
108
96
  };
109
97
  if (this.ariLabel) {
110
98
  ATTRIBUTES["aria-label"] = this.ariLabel;
111
99
  } else {
112
- ATTRIBUTES["aria-hidden"] = "true";
100
+ ATTRIBUTES.ariaHidden = true;
113
101
  }
114
102
  return ATTRIBUTES;
115
103
  },
116
104
  },
117
105
  render() {
118
- return h("i", this.attributesLocal, [
119
- h("svg", this.attributesSvgLocal, [
120
- h("g", {
121
- fill: this.iconColor,
122
- innerHTML: this.iconSvg,
123
- }),
124
- ]),
125
- ]);
106
+ return h("i", this.attributesLocal);
126
107
  },
127
108
  };
@@ -1,20 +1,27 @@
1
- export default `<g
2
- transform="matrix(0.26617655,0,0,0.26617655,-33.607656,-85.223817)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <g
8
+ transform="matrix(0.26617655,0,0,0.26617655,-33.607656,-85.223817)"
3
9
  >
4
10
  <path
5
- style="fill:#35495e;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
6
- d="m 139.13004,365.87267 -4.53409,7.81862 h 51.05837 l -4.53409,-7.81862 z"
11
+ style="fill:#35495e;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
12
+ d="m 139.13004,365.87267 -4.53409,7.81862 h 51.05837 l -4.53409,-7.81862 z"
7
13
  />
8
14
  <path
9
- style="fill:#41b883;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
10
- d="m 134.59595,373.69129 -4.51704,7.7892 h 60.09245 l -4.51704,-7.7892 z"
15
+ style="fill:#41b883;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
16
+ d="m 134.59595,373.69129 -4.51704,7.7892 h 60.09245 l -4.51704,-7.7892 z"
11
17
  />
12
18
  <path
13
- style="fill:#41b883;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
14
- d="m 160.07266,329.49377 -16.90595,29.1543 -16.90594,29.15378 h 7.67291 l 13.03745,-22.48287 13.03745,-22.48236 13.03745,22.48236 13.03744,22.48287 h 7.80159 l -16.90594,-29.15378 z"
19
+ style="fill:#41b883;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
20
+ d="m 160.07266,329.49377 -16.90595,29.1543 -16.90594,29.15378 h 7.67291 l 13.03745,-22.48287 13.03745,-22.48236 13.03745,22.48236 13.03744,22.48287 h 7.80159 l -16.90594,-29.15378 z"
15
21
  />
16
22
  <path
17
- style="fill:#35495e;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
18
- d="m 160.00903,342.83634 -13.03745,22.48287 -13.03796,22.48286 h 8.03103 l 9.02632,-15.56546 9.02581,-15.56494 9.02632,15.56494 9.02581,15.56546 h 8.01501 l -13.03744,-22.48286 z"
23
+ style="fill:#35495e;fill-opacity:1;stroke:#ff0000;stroke-width:0;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none"
24
+ d="m 160.00903,342.83634 -13.03745,22.48287 -13.03796,22.48286 h 8.03103 l 9.02632,-15.56546 9.02581,-15.56494 9.02632,15.56494 9.02581,15.56546 h 8.01501 l -13.03744,-22.48286 z"
19
25
  />
20
- </g>`;
26
+ </g>
27
+ </svg>`;
@@ -1,7 +1,14 @@
1
- export default `<g
2
- transform="matrix(0.03156311,0,0,0.03156319,-1.3887768,-8.0260815)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
3
6
  >
4
- <path
5
- d="m 614.286,420.571 q 0,7.429 -5.714,13.143 L 342.286,700 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 49.714,433.714 Q 44,428 44,420.571 q 0,-7.429 5.714,-13.143 l 28.571,-28.571 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 L 329.142,603.428 553.713,378.857 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 28.571,28.571 q 5.714,5.714 5.714,13.143 z"
6
- />
7
- </g>`;
7
+ <g
8
+ transform="matrix(0.03156311,0,0,0.03156319,-1.3887768,-8.0260815)"
9
+ >
10
+ <path
11
+ d="m 614.286,420.571 q 0,7.429 -5.714,13.143 L 342.286,700 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 49.714,433.714 Q 44,428 44,420.571 q 0,-7.429 5.714,-13.143 l 28.571,-28.571 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 L 329.142,603.428 553.713,378.857 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 28.571,28.571 q 5.714,5.714 5.714,13.143 z"
12
+ />
13
+ </g>
14
+ </svg>`;
@@ -1,7 +1,14 @@
1
- export default `<g
2
- transform="matrix(0.03156311,0,0,0.03156311,2.9398546,-8.3145754)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
3
6
  >
4
- <path
5
- d="m 358.286,310.857 q 0,7.429 -5.714,13.143 L 128.001,548.571 352.572,773.142 q 5.714,5.714 5.714,13.143 0,7.429 -5.714,13.143 l -28.571,28.571 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 31.429,561.713 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 L 297.715,269.141 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 28.571,28.571 q 5.714,5.714 5.714,13.143 z"
6
- />
7
- </g>`;
7
+ <g
8
+ transform="matrix(0.03156311,0,0,0.03156311,2.9398546,-8.3145754)"
9
+ >
10
+ <path
11
+ d="m 358.286,310.857 q 0,7.429 -5.714,13.143 L 128.001,548.571 352.572,773.142 q 5.714,5.714 5.714,13.143 0,7.429 -5.714,13.143 l -28.571,28.571 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 31.429,561.713 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 L 297.715,269.141 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 28.571,28.571 q 5.714,5.714 5.714,13.143 z"
12
+ />
13
+ </g>
14
+ </svg>`;
@@ -1,7 +1,14 @@
1
- export default `<g
2
- transform="matrix(0.03156322,0,0,0.03156322,3.5170168,-8.314699)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
3
6
  >
4
- <path
5
- d="m 340,548.571 q 0,7.429 -5.714,13.143 L 68,828 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 13.143,799.429 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 L 237.714,548.572 13.143,324.001 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 l 28.571,-28.571 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 L 334.286,535.43 Q 340,541.144 340,548.573 Z"
6
- />
7
- </g>`;
7
+ <g
8
+ transform="matrix(0.03156322,0,0,0.03156322,3.5170168,-8.314699)"
9
+ >
10
+ <path
11
+ d="m 340,548.571 q 0,7.429 -5.714,13.143 L 68,828 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 13.143,799.429 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 L 237.714,548.572 13.143,324.001 q -5.714,-5.714 -5.714,-13.143 0,-7.429 5.714,-13.143 l 28.571,-28.571 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 L 334.286,535.43 Q 340,541.144 340,548.573 Z"
12
+ />
13
+ </g>
14
+ </svg>`;
@@ -1,7 +1,14 @@
1
- export default `<g
2
- transform="matrix(0.03156311,0,0,0.03156311,-1.38884,-8.603185)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
3
6
  >
4
- <path
5
- d="m 614.286,676.571 q 0,7.429 -5.714,13.143 l -28.571,28.571 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 329.144,493.714 104.573,718.285 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 49.716,689.714 Q 44.002,684 44.002,676.571 q 0,-7.429 5.714,-13.143 L 316.002,397.142 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 266.286,266.286 q 5.714,5.714 5.714,13.143 z"
6
- />
7
- </g>`;
7
+ <g
8
+ transform="matrix(0.03156311,0,0,0.03156311,-1.38884,-8.603185)"
9
+ >
10
+ <path
11
+ d="m 614.286,676.571 q 0,7.429 -5.714,13.143 l -28.571,28.571 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 329.144,493.714 104.573,718.285 q -5.714,5.714 -13.143,5.714 -7.429,0 -13.143,-5.714 L 49.716,689.714 Q 44.002,684 44.002,676.571 q 0,-7.429 5.714,-13.143 L 316.002,397.142 q 5.714,-5.714 13.143,-5.714 7.429,0 13.143,5.714 l 266.286,266.286 q 5.714,5.714 5.714,13.143 z"
12
+ />
13
+ </g>
14
+ </svg>`;
@@ -1,3 +1,10 @@
1
- export default `<path
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <path
2
8
  d="m 0.01351943,8.9836828 3.22924197,-3.21295 5.7572232,5.7409002 5.7572244,-5.7409002 3.22926,3.21295 -9.0027874,9.0027902 z"
3
- />`;
9
+ />
10
+ </svg>`;
@@ -1 +1,10 @@
1
- export default `<path d="M 9.0163153,0.01351902 12.229272,3.2427606 6.4883717,8.999984 12.229272,14.757207 9.0163153,17.986468 0.01352691,8.9836807 Z"></path>`;
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="18"
4
+ height="18"
5
+ viewBox="0 0 18 18"
6
+ >
7
+ <path
8
+ d="M 9.0163139,0.01351944 12.229272,3.2427614 6.4883699,8.9999844 12.229272,14.757208 9.0163139,17.986468 0.01352691,8.9836814 Z"
9
+ />
10
+ </svg>`;
@@ -1,3 +1,10 @@
1
- export default `<path
2
- d="M 3.226445,17.986481 0.01348804,14.757239 5.754389,9.0000159 0.01348804,3.2427919 3.226445,0.01353188 12.229233,9.0163189 Z"
3
- />`;
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <path
8
+ d="M 3.226445,17.986481 0.01348804,14.757239 5.754389,9.0000159 0.01348804,3.2427919 3.226445,0.01353188 12.229233,9.0163189 Z"
9
+ />
10
+ </svg>`;
@@ -1,3 +1,10 @@
1
- export default `<path
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <path
2
8
  d="M 17.986481,14.773554 14.757239,17.986512 9.0000154,12.245611 3.2427918,17.986512 0.01353176,14.773554 9.0163185,5.770767 Z"
3
- />`;
9
+ />
10
+ </svg>`;
@@ -1,16 +1,23 @@
1
- export default `<g
2
- transform="matrix(0.79646021,-0.79646021,0.79646021,0.79646021,-5.3362832,9.0000003)"
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <g
8
+ transform="matrix(0.79646021,-0.79646021,0.79646021,0.79646021,-5.3362832,9.0000003)"
3
9
  >
4
10
  <rect
5
- width="4.599999"
6
- height="18"
7
- x="6.7000003"
8
- y="-5e-07"
11
+ width="4.599999"
12
+ height="18"
13
+ x="6.7000003"
14
+ y="-5e-07"
9
15
  />
10
16
  <rect
11
- width="17.999996"
12
- height="4.5999999"
13
- x="5e-07"
14
- y="6.6999998"
17
+ width="17.999996"
18
+ height="4.5999999"
19
+ x="5e-07"
20
+ y="6.6999998"
15
21
  />
16
- </g>`;
22
+ </g>
23
+ </svg>`;
@@ -1,6 +1,13 @@
1
- export default `<g
2
- transform="matrix(0.01757813,0,0,0.01759352,0,-0.00784671)">
3
- <path
4
- d="m 512,0.446 q 29.435,0 66.007,4.46 l 33.896,135.582 4.46,0.892 q 43.707,12.488 83.846,34.787 l 4.46,1.784 119.526,-71.359 q 54.411,42.815 92.767,93.658 l -71.359,119.526 2.676,4.46 q 22.299,39.248 34.787,82.954 l 0.892,5.352 135.582,33.896 q 4.46,38.355 4.46,65.114 0,30.327 -4.46,66.007 l -135.582,33.896 -0.892,5.352 q -13.38,43.707 -34.787,82.954 l -2.676,4.46 71.359,119.526 q -42.815,54.411 -92.767,93.658 l -119.526,-72.251 -4.46,2.676 q -39.248,22.299 -83.846,34.787 l -4.46,1.784 -33.896,134.689 q -38.355,4.46 -66.007,4.46 -29.435,0 -66.007,-4.46 l -33.896,-134.689 -4.46,-1.784 Q 363.93,870.129 323.791,847.83 l -4.46,-2.676 -119.526,72.251 Q 146.286,874.59 107.038,823.747 l 71.359,-119.526 -2.676,-4.46 Q 153.422,659.622 141.825,616.807 L 140.041,611.455 5.352,577.559 Q 0,540.096 0,511.552 0,482.117 5.352,446.438 l 134.689,-33.896 1.784,-5.352 q 11.595,-42.815 33.896,-82.954 l 2.676,-4.46 -71.359,-119.526 q 41.924,-54.411 93.658,-93.658 l 118.633,71.359 4.46,-1.784 q 40.139,-22.299 83.846,-34.787 l 4.46,-0.892 33.896,-135.582 q 38.355,-4.46 66.007,-4.46 z m 0,320.222 q -79.387,0 -135.582,56.195 -56.195,56.195 -56.195,135.135 0,78.94 56.195,135.135 56.195,56.195 135.582,56.195 79.387,0 135.582,-56.195 56.195,-56.195 56.195,-135.135 0,-78.94 -56.195,-135.135 Q 591.387,320.668 512,320.668 Z"
5
- />
6
- </g>`;
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="18"
4
+ height="18"
5
+ viewBox="0 0 18 18"
6
+ >
7
+ <g
8
+ transform="matrix(0.01757813,0,0,0.01759352,0,-0.00784671)">
9
+ <path
10
+ d="m 512,0.446 q 29.435,0 66.007,4.46 l 33.896,135.582 4.46,0.892 q 43.707,12.488 83.846,34.787 l 4.46,1.784 119.526,-71.359 q 54.411,42.815 92.767,93.658 l -71.359,119.526 2.676,4.46 q 22.299,39.248 34.787,82.954 l 0.892,5.352 135.582,33.896 q 4.46,38.355 4.46,65.114 0,30.327 -4.46,66.007 l -135.582,33.896 -0.892,5.352 q -13.38,43.707 -34.787,82.954 l -2.676,4.46 71.359,119.526 q -42.815,54.411 -92.767,93.658 l -119.526,-72.251 -4.46,2.676 q -39.248,22.299 -83.846,34.787 l -4.46,1.784 -33.896,134.689 q -38.355,4.46 -66.007,4.46 -29.435,0 -66.007,-4.46 l -33.896,-134.689 -4.46,-1.784 Q 363.93,870.129 323.791,847.83 l -4.46,-2.676 -119.526,72.251 Q 146.286,874.59 107.038,823.747 l 71.359,-119.526 -2.676,-4.46 Q 153.422,659.622 141.825,616.807 L 140.041,611.455 5.352,577.559 Q 0,540.096 0,511.552 0,482.117 5.352,446.438 l 134.689,-33.896 1.784,-5.352 q 11.595,-42.815 33.896,-82.954 l 2.676,-4.46 -71.359,-119.526 q 41.924,-54.411 93.658,-93.658 l 118.633,71.359 4.46,-1.784 q 40.139,-22.299 83.846,-34.787 l 4.46,-0.892 33.896,-135.582 q 38.355,-4.46 66.007,-4.46 z m 0,320.222 q -79.387,0 -135.582,56.195 -56.195,56.195 -56.195,135.135 0,78.94 56.195,135.135 56.195,56.195 135.582,56.195 79.387,0 135.582,-56.195 56.195,-56.195 56.195,-135.135 0,-78.94 -56.195,-135.135 Q 591.387,320.668 512,320.668 Z"
11
+ />
12
+ </g>
13
+ </svg>`;
@@ -1,14 +1,21 @@
1
- export default `<g>
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 18 18"
4
+ height="18"
5
+ width="18"
6
+ >
7
+ <g>
2
8
  <rect
3
- width="4.599999"
4
- height="18"
5
- x="6.7000003"
6
- y="-5e-07"
9
+ width="4.599999"
10
+ height="18"
11
+ x="6.7000003"
12
+ y="-5e-07"
7
13
  />
8
14
  <rect
9
- width="17.999996"
10
- height="4.5999999"
11
- x="5e-07"
12
- y="6.6999998"
15
+ width="17.999996"
16
+ height="4.5999999"
17
+ x="5e-07"
18
+ y="6.6999998"
13
19
  />
14
- </g>`;
20
+ </g>
21
+ </svg>`;
@@ -1,30 +1,37 @@
1
- export default `<circle
2
- cx="5.625"
3
- cy="2.25"
4
- r="2.25"
5
- />
6
- <circle
7
- cx="5.625"
8
- cy="9"
9
- r="2.25"
10
- />
11
- <circle
12
- cx="5.625"
13
- cy="15.75"
14
- r="2.25"
15
- />
16
- <circle
17
- cx="12.375"
18
- cy="2.25"
19
- r="2.25"
20
- />
21
- <circle
22
- cx="12.375"
23
- cy="9"
24
- r="2.25"
25
- />
26
- <circle
27
- cx="12.375"
28
- cy="15.750003"
29
- r="2.25"
30
- />`;
1
+ export default `<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="18"
4
+ height="18"
5
+ viewBox="0 0 18 18"
6
+ >
7
+ <circle
8
+ cx="5.625"
9
+ cy="2.25"
10
+ r="2.25"
11
+ />
12
+ <circle
13
+ cx="5.625"
14
+ cy="9"
15
+ r="2.25"
16
+ />
17
+ <circle
18
+ cx="5.625"
19
+ cy="15.75"
20
+ r="2.25"
21
+ />
22
+ <circle
23
+ cx="12.375"
24
+ cy="2.25"
25
+ r="2.25"
26
+ />
27
+ <circle
28
+ cx="12.375"
29
+ cy="9"
30
+ r="2.25"
31
+ />
32
+ <circle
33
+ cx="12.375"
34
+ cy="15.750003"
35
+ r="2.25"
36
+ />
37
+ </svg>`;