quasar-ui-danx 0.2.15 → 0.2.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/dist/danx.es.js +2 -2
  2. package/dist/danx.es.js.map +1 -1
  3. package/dist/danx.umd.js +1 -1
  4. package/dist/danx.umd.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/package.json +1 -1
  7. package/src/components/ActionTable/ActionMenu.vue +4 -4
  8. package/src/components/ActionTable/ActionTable.vue +12 -12
  9. package/src/components/ActionTable/ActionTableColumn.vue +11 -11
  10. package/src/components/ActionTable/Columns/ColumnListItem.vue +2 -2
  11. package/src/components/ActionTable/Columns/ColumnSettingsDialog.vue +8 -8
  12. package/src/components/ActionTable/Columns/TitleColumnFormat.vue +1 -1
  13. package/src/components/ActionTable/Columns/VisibleColumnsToggleButtons.vue +7 -7
  14. package/src/components/ActionTable/EmptyTableState.vue +4 -4
  15. package/src/components/ActionTable/Filters/CollapsableFiltersSidebar.vue +3 -3
  16. package/src/components/ActionTable/Filters/FilterFieldList.vue +6 -6
  17. package/src/components/ActionTable/Filters/FilterListToggle.vue +3 -3
  18. package/src/components/ActionTable/Filters/FilterToolbarLayout.vue +3 -3
  19. package/src/components/ActionTable/Filters/FilterableField.vue +6 -6
  20. package/src/components/ActionTable/Form/Fields/BooleanField.vue +4 -4
  21. package/src/components/ActionTable/Form/Fields/ConfirmPasswordField.vue +7 -7
  22. package/src/components/ActionTable/Form/Fields/DateField.vue +6 -6
  23. package/src/components/ActionTable/Form/Fields/DateRangeField.vue +13 -13
  24. package/src/components/ActionTable/Form/Fields/DateTimeField.vue +6 -6
  25. package/src/components/ActionTable/Form/Fields/DateTimePicker.vue +6 -6
  26. package/src/components/ActionTable/Form/Fields/EditableDiv.vue +3 -3
  27. package/src/components/ActionTable/Form/Fields/FieldLabel.vue +2 -2
  28. package/src/components/ActionTable/Form/Fields/FileUploadButton.vue +15 -15
  29. package/src/components/ActionTable/Form/Fields/InlineDateTimeField.vue +7 -7
  30. package/src/components/ActionTable/Form/Fields/IntegerField.vue +2 -2
  31. package/src/components/ActionTable/Form/Fields/LabeledInput.vue +2 -2
  32. package/src/components/ActionTable/Form/Fields/MultiFileField.vue +6 -6
  33. package/src/components/ActionTable/Form/Fields/MultiKeywordField.vue +8 -8
  34. package/src/components/ActionTable/Form/Fields/NewPasswordField.vue +6 -6
  35. package/src/components/ActionTable/Form/Fields/NumberField.vue +20 -20
  36. package/src/components/ActionTable/Form/Fields/NumberRangeField.vue +20 -20
  37. package/src/components/ActionTable/Form/Fields/SelectDrawer.vue +8 -8
  38. package/src/components/ActionTable/Form/Fields/SelectField.vue +36 -36
  39. package/src/components/ActionTable/Form/Fields/SelectWithChildrenField.vue +9 -9
  40. package/src/components/ActionTable/Form/Fields/SingleFileField.vue +6 -6
  41. package/src/components/ActionTable/Form/Fields/TextField.vue +15 -15
  42. package/src/components/ActionTable/Form/Fields/WysiwygField.vue +4 -4
  43. package/src/components/ActionTable/Form/RenderedForm.vue +5 -5
  44. package/src/components/ActionTable/TableSummaryRow.vue +8 -8
  45. package/src/components/ActionTable/listControls.ts +5 -5
  46. package/src/components/ActionTable/listHelpers.ts +1 -1
  47. package/src/components/ActionTable/tableColumns.ts +24 -1
  48. package/src/components/AuditHistory/AuditHistoryItem.vue +4 -4
  49. package/src/components/AuditHistory/AuditHistoryItemValue.vue +10 -10
  50. package/src/components/DragAndDrop/HandleDraggable.vue +8 -8
  51. package/src/components/DragAndDrop/ListItemDraggable.vue +8 -8
  52. package/src/components/DragAndDrop/dragAndDrop.ts +219 -219
  53. package/src/components/DragAndDrop/listDragAndDrop.ts +4 -4
  54. package/src/components/PanelsDrawer/PanelsDrawer.vue +8 -8
  55. package/src/components/PanelsDrawer/PanelsDrawerPanels.vue +1 -1
  56. package/src/components/PanelsDrawer/PanelsDrawerTabs.vue +4 -4
  57. package/src/components/Utility/Buttons/ExportButton.vue +4 -4
  58. package/src/components/Utility/Buttons/RefreshButton.vue +2 -2
  59. package/src/components/Utility/Controls/PreviousNextControls.vue +2 -2
  60. package/src/components/Utility/Dialogs/ConfirmDialog.vue +14 -14
  61. package/src/components/Utility/Dialogs/FullScreenDialog.vue +8 -8
  62. package/src/components/Utility/Dialogs/FullscreenCarouselDialog.vue +11 -11
  63. package/src/components/Utility/Dialogs/InfoDialog.vue +12 -12
  64. package/src/components/Utility/Dialogs/InputDialog.vue +5 -5
  65. package/src/components/Utility/Files/FilePreview.vue +10 -10
  66. package/src/components/Utility/Formats/GpsCoordinatesFormat.vue +4 -4
  67. package/src/components/Utility/Formats/IconWithTextFormat.vue +2 -2
  68. package/src/components/Utility/Formats/LabelValueFormat.vue +2 -2
  69. package/src/components/Utility/Layouts/CollapsableSidebar.vue +15 -15
  70. package/src/components/Utility/Layouts/ContentDrawer.vue +6 -6
  71. package/src/components/Utility/Popovers/InteractiveTooltip.vue +4 -4
  72. package/src/components/Utility/Popovers/PopoverMenu.vue +49 -49
  73. package/src/components/Utility/Tabs/BadgeTab.vue +1 -1
  74. package/src/components/Utility/Tabs/IndicatorTab.vue +3 -3
  75. package/src/components/Utility/Tools/ActionVnode.vue +3 -3
  76. package/src/components/Utility/Tools/RenderComponent.vue +3 -3
  77. package/src/components/Utility/Transitions/StaggeredListTransition.vue +3 -3
  78. package/src/helpers/array.ts +16 -16
  79. package/src/helpers/storage.ts +5 -5
  80. package/src/helpers/utils.ts +1 -1
  81. package/src/index.common.js +1 -2
  82. package/src/index.esm.js +1 -1
  83. package/src/index.umd.js +2 -2
  84. package/src/svg/CaretDownIcon.svg +1 -1
  85. package/src/svg/DragHandleDotsIcon.svg +3 -3
  86. package/src/svg/DragHandleIcon.svg +3 -3
  87. package/src/svg/FilterIcon.svg +5 -5
  88. package/src/svg/ImageIcon.svg +27 -27
  89. package/src/svg/PdfIcon.svg +5 -5
  90. package/src/svg/SkipNextIcon.svg +3 -3
  91. package/src/svg/SkipPreviousIcon.svg +3 -3
  92. package/src/svg/TrashIcon.svg +12 -12
  93. package/src/svg/WarningIcon.svg +3 -3
  94. package/src/svg/XIcon.svg +15 -15
  95. package/src/vue-plugin.js +5 -5
  96. package/vite.config.js +7 -0
@@ -5,56 +5,56 @@
5
5
  >
6
6
  <QTooltip v-if="$slots.tooltip || tooltip">
7
7
  <slot name="tooltip">{{ tooltip }}</slot>
8
- </QTooltip>
9
- <Transition
10
- mode="out-in"
11
- :duration="150"
12
- >
13
- <RenderComponent
14
- v-if="loading"
15
- :component="loadingComponent"
16
- />
17
- <MenuIcon
18
- v-else
19
- class="w-4 text-black"
20
- />
21
- </Transition>
22
- <QMenu
23
- v-if="!disabled"
24
- auto-close
25
- >
26
- <QList>
27
- <template v-for="item in items">
28
- <a
29
- v-if="item.url"
30
- :key="item.url"
31
- class="q-item"
32
- target="_blank"
33
- :href="item.url"
34
- :class="item.class"
35
- >
36
- {{ item.label }}
37
- </a>
38
- <QItem
39
- v-else
40
- :key="item.name || item.action"
41
- clickable
42
- :class="item.class"
43
- @click="onAction(item)"
44
- >
45
- {{ item.label }}
46
- </QItem>
47
- </template>
48
- </QList>
49
- </QMenu>
8
+ </QTooltip>
9
+ <Transition
10
+ mode="out-in"
11
+ :duration="150"
12
+ >
13
+ <RenderComponent
14
+ v-if="loading"
15
+ :component="loadingComponent"
16
+ />
17
+ <MenuIcon
18
+ v-else
19
+ class="w-4 text-black"
20
+ />
21
+ </Transition>
22
+ <QMenu
23
+ v-if="!disabled"
24
+ auto-close
25
+ >
26
+ <QList>
27
+ <template v-for="item in items">
28
+ <a
29
+ v-if="item.url"
30
+ :key="item.url"
31
+ class="q-item"
32
+ target="_blank"
33
+ :href="item.url"
34
+ :class="item.class"
35
+ >
36
+ {{ item.label }}
37
+ </a>
38
+ <QItem
39
+ v-else
40
+ :key="item.name || item.action"
41
+ clickable
42
+ :class="item.class"
43
+ @click="onAction(item)"
44
+ >
45
+ {{ item.label }}
46
+ </QItem>
47
+ </template>
48
+ </QList>
49
+ </QMenu>
50
50
  </a>
51
51
  </template>
52
52
  <script setup>
53
- import { DotsVerticalIcon as MenuIcon } from '@heroicons/vue/outline';
54
- import { QSpinner } from 'quasar';
55
- import { RenderComponent } from '../Tools';
53
+ import { DotsVerticalIcon as MenuIcon } from "@heroicons/vue/outline";
54
+ import { QSpinner } from "quasar";
55
+ import { RenderComponent } from "../Tools";
56
56
 
57
- const emit = defineEmits(['action', 'action-item']);
57
+ const emit = defineEmits(["action", "action-item"]);
58
58
  defineProps({
59
59
  items: {
60
60
  type: Array,
@@ -73,13 +73,13 @@ defineProps({
73
73
  type: [Function, Object],
74
74
  default: () => ({
75
75
  is: QSpinner,
76
- props: { class: 'w-4 h-4 text-black' }
76
+ props: { class: "w-4 h-4 text-black" }
77
77
  })
78
78
  }
79
79
  });
80
80
 
81
81
  function onAction(item) {
82
- emit('action', item.name || item.action);
83
- emit('action-item', item);
82
+ emit("action", item.name || item.action);
83
+ emit("action-item", item);
84
84
  }
85
85
  </script>
@@ -26,7 +26,7 @@ defineProps({
26
26
  },
27
27
  count: {
28
28
  type: [String, Number],
29
- default: ''
29
+ default: ""
30
30
  }
31
31
  });
32
32
  </script>
@@ -18,11 +18,11 @@
18
18
  />
19
19
  </div>
20
20
  </div>
21
- </QTab>
21
+ </QTab>
22
22
  </template>
23
23
  <script setup>
24
- import { ExclamationCircleIcon as OverdueIcon } from '@heroicons/vue/solid';
25
- import { WarningIcon } from '../../../svg';
24
+ import { ExclamationCircleIcon as OverdueIcon } from "@heroicons/vue/solid";
25
+ import { WarningIcon } from "../../../svg";
26
26
 
27
27
  defineProps({
28
28
  name: {
@@ -10,9 +10,9 @@
10
10
  </div>
11
11
  </template>
12
12
  <script setup>
13
- import { ref } from 'vue';
14
- import { activeActionVnode } from '../../../helpers';
15
- import RenderVnode from './RenderVnode';
13
+ import { ref } from "vue";
14
+ import { activeActionVnode } from "../../../helpers";
15
+ import RenderVnode from "./RenderVnode";
16
16
 
17
17
  const isSaving = ref(false);
18
18
  async function onConfirm(input) {
@@ -13,9 +13,9 @@
13
13
  />
14
14
  </template>
15
15
  <script setup>
16
- import { computed } from 'vue';
16
+ import { computed } from "vue";
17
17
 
18
- defineEmits(['action']);
18
+ defineEmits(["action"]);
19
19
  const props = defineProps({
20
20
  component: {
21
21
  type: [Function, Object],
@@ -33,7 +33,7 @@ const props = defineProps({
33
33
 
34
34
  const content = computed(() => resolvedComponent.value?.value || resolvedComponent.value?.props?.text);
35
35
  const resolvedComponent = computed(() => {
36
- if (typeof props.component === 'function') {
36
+ if (typeof props.component === "function") {
37
37
  return props.component(...props.params);
38
38
  }
39
39
  return props.component;
@@ -13,13 +13,13 @@
13
13
  </template>
14
14
 
15
15
  <script setup>
16
- import gsap from 'gsap';
17
- import { computed, ref } from 'vue';
16
+ import gsap from "gsap";
17
+ import { computed, ref } from "vue";
18
18
 
19
19
  const props = defineProps({
20
20
  height: {
21
21
  type: [String, Number],
22
- default: 'auto'
22
+ default: "auto"
23
23
  },
24
24
  duration: {
25
25
  type: Number,
@@ -6,21 +6,21 @@
6
6
  * @returns {*[]}
7
7
  */
8
8
  export function replace(array, item, newItem = undefined) {
9
- const index =
10
- typeof item === "function" ? array.findIndex(item) : array.indexOf(item);
11
- if (index === false) {
12
- console.error("Item not found in array", item, array);
13
- throw new Error("Item not found in array");
14
- }
15
- const newArray = [...array];
16
- newItem !== undefined
17
- ? newArray.splice(index, 1, newItem)
18
- : newArray.splice(index, 1);
19
- return newArray;
9
+ const index =
10
+ typeof item === "function" ? array.findIndex(item) : array.indexOf(item);
11
+ if (index === false) {
12
+ console.error("Item not found in array", item, array);
13
+ throw new Error("Item not found in array");
14
+ }
15
+ const newArray = [...array];
16
+ newItem !== undefined
17
+ ? newArray.splice(index, 1, newItem)
18
+ : newArray.splice(index, 1);
19
+ return newArray;
20
20
  }
21
21
 
22
22
  export function remove(array, item) {
23
- return replace(array, item);
23
+ return replace(array, item);
24
24
  }
25
25
 
26
26
  /**
@@ -30,8 +30,8 @@ export function remove(array, item) {
30
30
  * @returns {*}
31
31
  */
32
32
  export function uniqueBy(array, cb) {
33
- return array.filter((a, index, self) => {
34
- // Check if the current element 'a' is the first occurrence in the array
35
- return index === self.findIndex((b) => cb(a, b));
36
- });
33
+ return array.filter((a, index, self) => {
34
+ // Check if the current element 'a' is the first occurrence in the array
35
+ return index === self.findIndex((b) => cb(a, b));
36
+ });
37
37
  }
@@ -1,8 +1,8 @@
1
- export function setItem(key, value) {
2
- localStorage.setItem(key, JSON.stringify(value));
1
+ export function setItem(key: string, value: any) {
2
+ localStorage.setItem(key, JSON.stringify(value));
3
3
  }
4
4
 
5
- export function getItem(key, defaultValue = null) {
6
- const item = localStorage.getItem(key);
7
- return item ? JSON.parse(item) : defaultValue;
5
+ export function getItem(key: string, defaultValue: any = null) {
6
+ const item = localStorage.getItem(key);
7
+ return item ? JSON.parse(item) : defaultValue;
8
8
  }
@@ -73,7 +73,7 @@ export function parseCoords(location) {
73
73
  if (!isNaN(lat) && !isNaN(lng)) {
74
74
  return {
75
75
  lat,
76
- lng,
76
+ lng
77
77
  };
78
78
  }
79
79
  }
@@ -1,2 +1 @@
1
-
2
- export * from './vue-plugin'
1
+ export * from "./vue-plugin";
package/src/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './vue-plugin';
1
+ export * from "./vue-plugin";
2
2
 
package/src/index.umd.js CHANGED
@@ -1,3 +1,3 @@
1
+ import * as VuePlugin from "./vue-plugin";
1
2
 
2
- import * as VuePlugin from './vue-plugin'
3
- export default VuePlugin
3
+ export default VuePlugin;
@@ -1,3 +1,3 @@
1
1
  <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 12L6 8H14L10 12Z" fill="currentColor"/>
2
+ <path d="M10 12L6 8H14L10 12Z" fill="currentColor"/>
3
3
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path
3
- d="M7.5 16C7.08333 16 6.72933 15.854 6.438 15.562C6.146 15.2707 6 14.9167 6 14.5C6 14.0833 6.146 13.7293 6.438 13.438C6.72933 13.146 7.08333 13 7.5 13C7.91667 13 8.27067 13.146 8.562 13.438C8.854 13.7293 9 14.0833 9 14.5C9 14.9167 8.854 15.2707 8.562 15.562C8.27067 15.854 7.91667 16 7.5 16ZM12.5 16C12.0833 16 11.7293 15.854 11.438 15.562C11.146 15.2707 11 14.9167 11 14.5C11 14.0833 11.146 13.7293 11.438 13.438C11.7293 13.146 12.0833 13 12.5 13C12.9167 13 13.2707 13.146 13.562 13.438C13.854 13.7293 14 14.0833 14 14.5C14 14.9167 13.854 15.2707 13.562 15.562C13.2707 15.854 12.9167 16 12.5 16ZM7.5 11.5C7.08333 11.5 6.72933 11.354 6.438 11.062C6.146 10.7707 6 10.4167 6 10C6 9.58333 6.146 9.22933 6.438 8.938C6.72933 8.646 7.08333 8.5 7.5 8.5C7.91667 8.5 8.27067 8.646 8.562 8.938C8.854 9.22933 9 9.58333 9 10C9 10.4167 8.854 10.7707 8.562 11.062C8.27067 11.354 7.91667 11.5 7.5 11.5ZM12.5 11.5C12.0833 11.5 11.7293 11.354 11.438 11.062C11.146 10.7707 11 10.4167 11 10C11 9.58333 11.146 9.22933 11.438 8.938C11.7293 8.646 12.0833 8.5 12.5 8.5C12.9167 8.5 13.2707 8.646 13.562 8.938C13.854 9.22933 14 9.58333 14 10C14 10.4167 13.854 10.7707 13.562 11.062C13.2707 11.354 12.9167 11.5 12.5 11.5ZM7.5 7C7.08333 7 6.72933 6.854 6.438 6.562C6.146 6.27067 6 5.91667 6 5.5C6 5.08333 6.146 4.72933 6.438 4.438C6.72933 4.146 7.08333 4 7.5 4C7.91667 4 8.27067 4.146 8.562 4.438C8.854 4.72933 9 5.08333 9 5.5C9 5.91667 8.854 6.27067 8.562 6.562C8.27067 6.854 7.91667 7 7.5 7ZM12.5 7C12.0833 7 11.7293 6.854 11.438 6.562C11.146 6.27067 11 5.91667 11 5.5C11 5.08333 11.146 4.72933 11.438 4.438C11.7293 4.146 12.0833 4 12.5 4C12.9167 4 13.2707 4.146 13.562 4.438C13.854 4.72933 14 5.08333 14 5.5C14 5.91667 13.854 6.27067 13.562 6.562C13.2707 6.854 12.9167 7 12.5 7Z"
4
- fill="currentColor"/>
2
+ <path
3
+ d="M7.5 16C7.08333 16 6.72933 15.854 6.438 15.562C6.146 15.2707 6 14.9167 6 14.5C6 14.0833 6.146 13.7293 6.438 13.438C6.72933 13.146 7.08333 13 7.5 13C7.91667 13 8.27067 13.146 8.562 13.438C8.854 13.7293 9 14.0833 9 14.5C9 14.9167 8.854 15.2707 8.562 15.562C8.27067 15.854 7.91667 16 7.5 16ZM12.5 16C12.0833 16 11.7293 15.854 11.438 15.562C11.146 15.2707 11 14.9167 11 14.5C11 14.0833 11.146 13.7293 11.438 13.438C11.7293 13.146 12.0833 13 12.5 13C12.9167 13 13.2707 13.146 13.562 13.438C13.854 13.7293 14 14.0833 14 14.5C14 14.9167 13.854 15.2707 13.562 15.562C13.2707 15.854 12.9167 16 12.5 16ZM7.5 11.5C7.08333 11.5 6.72933 11.354 6.438 11.062C6.146 10.7707 6 10.4167 6 10C6 9.58333 6.146 9.22933 6.438 8.938C6.72933 8.646 7.08333 8.5 7.5 8.5C7.91667 8.5 8.27067 8.646 8.562 8.938C8.854 9.22933 9 9.58333 9 10C9 10.4167 8.854 10.7707 8.562 11.062C8.27067 11.354 7.91667 11.5 7.5 11.5ZM12.5 11.5C12.0833 11.5 11.7293 11.354 11.438 11.062C11.146 10.7707 11 10.4167 11 10C11 9.58333 11.146 9.22933 11.438 8.938C11.7293 8.646 12.0833 8.5 12.5 8.5C12.9167 8.5 13.2707 8.646 13.562 8.938C13.854 9.22933 14 9.58333 14 10C14 10.4167 13.854 10.7707 13.562 11.062C13.2707 11.354 12.9167 11.5 12.5 11.5ZM7.5 7C7.08333 7 6.72933 6.854 6.438 6.562C6.146 6.27067 6 5.91667 6 5.5C6 5.08333 6.146 4.72933 6.438 4.438C6.72933 4.146 7.08333 4 7.5 4C7.91667 4 8.27067 4.146 8.562 4.438C8.854 4.72933 9 5.08333 9 5.5C9 5.91667 8.854 6.27067 8.562 6.562C8.27067 6.854 7.91667 7 7.5 7ZM12.5 7C12.0833 7 11.7293 6.854 11.438 6.562C11.146 6.27067 11 5.91667 11 5.5C11 5.08333 11.146 4.72933 11.438 4.438C11.7293 4.146 12.0833 4 12.5 4C12.9167 4 13.2707 4.146 13.562 4.438C13.854 4.72933 14 5.08333 14 5.5C14 5.91667 13.854 6.27067 13.562 6.562C13.2707 6.854 12.9167 7 12.5 7Z"
4
+ fill="currentColor"/>
5
5
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg viewBox="0 0 7 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path
3
- d="M0.5 1L0.5 15C0.5 15.55 0.95 16 1.5 16C2.05 16 2.5 15.55 2.5 15L2.5 1C2.5 0.45 2.05 0 1.5 0C0.95 0 0.5 0.45 0.5 1ZM6.5 15L6.5 1C6.5 0.45 6.05 0 5.5 0C4.95 0 4.5 0.45 4.5 1L4.5 15C4.5 15.55 4.95 16 5.5 16C6.05 16 6.5 15.55 6.5 15Z"
4
- fill="currentColor"/>
2
+ <path
3
+ d="M0.5 1L0.5 15C0.5 15.55 0.95 16 1.5 16C2.05 16 2.5 15.55 2.5 15L2.5 1C2.5 0.45 2.05 0 1.5 0C0.95 0 0.5 0.45 0.5 1ZM6.5 15L6.5 1C6.5 0.45 6.05 0 5.5 0C4.95 0 4.5 0.45 4.5 1L4.5 15C4.5 15.55 4.95 16 5.5 16C6.05 16 6.5 15.55 6.5 15Z"
4
+ fill="currentColor"/>
5
5
  </svg>
@@ -1,7 +1,7 @@
1
1
  <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g>
3
- <path
4
- d="M9.16667 17.5V12.5H10.8333V14.1667H17.5V15.8333H10.8333V17.5H9.16667ZM2.5 15.8333V14.1667H7.5V15.8333H2.5ZM5.83333 12.5V10.8333H2.5V9.16667H5.83333V7.5H7.5V12.5H5.83333ZM9.16667 10.8333V9.16667H17.5V10.8333H9.16667ZM12.5 7.5V2.5H14.1667V4.16667H17.5V5.83333H14.1667V7.5H12.5ZM2.5 5.83333V4.16667H10.8333V5.83333H2.5Z"
5
- fill="currentColor"/>
6
- </g>
2
+ <g>
3
+ <path
4
+ d="M9.16667 17.5V12.5H10.8333V14.1667H17.5V15.8333H10.8333V17.5H9.16667ZM2.5 15.8333V14.1667H7.5V15.8333H2.5ZM5.83333 12.5V10.8333H2.5V9.16667H5.83333V7.5H7.5V12.5H5.83333ZM9.16667 10.8333V9.16667H17.5V10.8333H9.16667ZM12.5 7.5V2.5H14.1667V4.16667H17.5V5.83333H14.1667V7.5H12.5ZM2.5 5.83333V4.16667H10.8333V5.83333H2.5Z"
5
+ fill="currentColor"/>
6
+ </g>
7
7
  </svg>
@@ -1,30 +1,30 @@
1
1
  <svg
2
- viewBox="0 0 20 20"
3
- fill="none"
4
- xmlns="http://www.w3.org/2000/svg"
2
+ viewBox="0 0 20 20"
3
+ fill="none"
4
+ xmlns="http://www.w3.org/2000/svg"
5
5
  >
6
- <path
7
- fill-rule="evenodd"
8
- clip-rule="evenodd"
9
- d="M17.8587 18.5578C18.2529 18.5578 18.5725 18.2383 18.5725 17.8441L18.5725 2.1414C18.5725 1.7472 18.2529 1.42764 17.8587 1.42764L2.15604 1.42764C1.76184 1.42764 1.44228 1.7472 1.44228 2.1414L1.44228 17.8441C1.44228 18.2383 1.76184 18.5578 2.15604 18.5578L17.8587 18.5578ZM20 17.8441C20 19.0267 19.0413 19.9854 17.8587 19.9854L2.15604 19.9854C0.97345 19.9854 0.014769 19.0267 0.014769 17.8441L0.014769 2.1414C0.014769 0.958801 0.97345 0.00012055 2.15604 0.00012055L17.8587 0.00012055C19.0413 0.00012055 20 0.958801 20 2.1414L20 17.8441Z"
10
- fill="currentColor"
11
- />
12
- <path
13
- fill-rule="evenodd"
14
- clip-rule="evenodd"
15
- d="M13.2048 4.99588C12.2193 4.99588 11.4204 5.79478 11.4204 6.78027C11.4204 7.76577 12.2193 8.56467 13.2048 8.56467C14.1903 8.56467 14.9892 7.76577 14.9892 6.78027C14.9892 5.79478 14.1903 4.99588 13.2048 4.99588ZM9.99292 6.78027C9.99292 5.00638 11.4309 3.56836 13.2048 3.56836C14.9787 3.56836 16.4167 5.00638 16.4167 6.78027C16.4167 8.55416 14.9787 9.99218 13.2048 9.99218C11.4309 9.99218 9.99292 8.55416 9.99292 6.78027Z"
16
- fill="currentColor"
17
- />
18
- <path
19
- fill-rule="evenodd"
20
- clip-rule="evenodd"
21
- d="M2.84806 9.9929C5.50442 9.93497 8.09526 10.8216 10.1592 12.4951C12.2256 14.1705 13.6294 16.5256 14.1203 19.1401C14.193 19.5275 13.9379 19.9005 13.5505 19.9733C13.1631 20.046 12.79 19.7909 12.7173 19.4035C12.2889 17.1216 11.0636 15.0662 9.26019 13.6039C7.45676 12.1417 5.19246 11.3678 2.8713 11.4203C2.86529 11.4204 2.85927 11.4205 2.85326 11.4204C2.18034 11.4186 1.50881 11.4813 0.847849 11.6076C0.460656 11.6816 0.0867981 11.4277 0.0128145 11.0405C-0.0611691 10.6533 0.192737 10.2794 0.57993 10.2055C1.3275 10.0626 2.08698 9.99144 2.84806 9.9929Z"
22
- fill="currentColor"
23
- />
24
- <path
25
- fill-rule="evenodd"
26
- clip-rule="evenodd"
27
- d="M10.9536 13.8192C12.4542 13.1749 14.0708 12.8443 15.7039 12.8477C16.9949 12.8471 18.2773 13.0574 19.5005 13.4705C19.8739 13.5966 20.0745 14.0016 19.9483 14.3751C19.8222 14.7486 19.4172 14.9491 19.0437 14.823C17.9677 14.4596 16.8395 14.2746 15.7037 14.2752L15.7018 14.2752C14.263 14.2721 12.8388 14.5633 11.5168 15.1309C11.1546 15.2864 10.7348 15.1189 10.5793 14.7567C10.4238 14.3944 10.5914 13.9747 10.9536 13.8192Z"
28
- fill="currentColor"
29
- />
6
+ <path
7
+ fill-rule="evenodd"
8
+ clip-rule="evenodd"
9
+ d="M17.8587 18.5578C18.2529 18.5578 18.5725 18.2383 18.5725 17.8441L18.5725 2.1414C18.5725 1.7472 18.2529 1.42764 17.8587 1.42764L2.15604 1.42764C1.76184 1.42764 1.44228 1.7472 1.44228 2.1414L1.44228 17.8441C1.44228 18.2383 1.76184 18.5578 2.15604 18.5578L17.8587 18.5578ZM20 17.8441C20 19.0267 19.0413 19.9854 17.8587 19.9854L2.15604 19.9854C0.97345 19.9854 0.014769 19.0267 0.014769 17.8441L0.014769 2.1414C0.014769 0.958801 0.97345 0.00012055 2.15604 0.00012055L17.8587 0.00012055C19.0413 0.00012055 20 0.958801 20 2.1414L20 17.8441Z"
10
+ fill="currentColor"
11
+ />
12
+ <path
13
+ fill-rule="evenodd"
14
+ clip-rule="evenodd"
15
+ d="M13.2048 4.99588C12.2193 4.99588 11.4204 5.79478 11.4204 6.78027C11.4204 7.76577 12.2193 8.56467 13.2048 8.56467C14.1903 8.56467 14.9892 7.76577 14.9892 6.78027C14.9892 5.79478 14.1903 4.99588 13.2048 4.99588ZM9.99292 6.78027C9.99292 5.00638 11.4309 3.56836 13.2048 3.56836C14.9787 3.56836 16.4167 5.00638 16.4167 6.78027C16.4167 8.55416 14.9787 9.99218 13.2048 9.99218C11.4309 9.99218 9.99292 8.55416 9.99292 6.78027Z"
16
+ fill="currentColor"
17
+ />
18
+ <path
19
+ fill-rule="evenodd"
20
+ clip-rule="evenodd"
21
+ d="M2.84806 9.9929C5.50442 9.93497 8.09526 10.8216 10.1592 12.4951C12.2256 14.1705 13.6294 16.5256 14.1203 19.1401C14.193 19.5275 13.9379 19.9005 13.5505 19.9733C13.1631 20.046 12.79 19.7909 12.7173 19.4035C12.2889 17.1216 11.0636 15.0662 9.26019 13.6039C7.45676 12.1417 5.19246 11.3678 2.8713 11.4203C2.86529 11.4204 2.85927 11.4205 2.85326 11.4204C2.18034 11.4186 1.50881 11.4813 0.847849 11.6076C0.460656 11.6816 0.0867981 11.4277 0.0128145 11.0405C-0.0611691 10.6533 0.192737 10.2794 0.57993 10.2055C1.3275 10.0626 2.08698 9.99144 2.84806 9.9929Z"
22
+ fill="currentColor"
23
+ />
24
+ <path
25
+ fill-rule="evenodd"
26
+ clip-rule="evenodd"
27
+ d="M10.9536 13.8192C12.4542 13.1749 14.0708 12.8443 15.7039 12.8477C16.9949 12.8471 18.2773 13.0574 19.5005 13.4705C19.8739 13.5966 20.0745 14.0016 19.9483 14.3751C19.8222 14.7486 19.4172 14.9491 19.0437 14.823C17.9677 14.4596 16.8395 14.2746 15.7037 14.2752L15.7018 14.2752C14.263 14.2721 12.8388 14.5633 11.5168 15.1309C11.1546 15.2864 10.7348 15.1189 10.5793 14.7567C10.4238 14.3944 10.5914 13.9747 10.9536 13.8192Z"
28
+ fill="currentColor"
29
+ />
30
30
  </svg>
@@ -1,10 +1,10 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 550.801 550.801">
2
- <g>
3
- <path d="M160.381,282.225c0-14.832-10.299-23.684-28.474-23.684c-7.414,0-12.437,0.715-15.071,1.432V307.6
2
+ <g>
3
+ <path d="M160.381,282.225c0-14.832-10.299-23.684-28.474-23.684c-7.414,0-12.437,0.715-15.071,1.432V307.6
4
4
  c3.114,0.707,6.942,0.949,12.192,0.949C148.419,308.549,160.381,298.74,160.381,282.225z"/>
5
- <path d="M272.875,259.019c-8.145,0-13.397,0.717-16.519,1.435v105.523c3.116,0.729,8.142,0.729,12.69,0.729
5
+ <path d="M272.875,259.019c-8.145,0-13.397,0.717-16.519,1.435v105.523c3.116,0.729,8.142,0.729,12.69,0.729
6
6
  c33.017,0.231,54.554-17.946,54.554-56.474C323.842,276.719,304.215,259.019,272.875,259.019z"/>
7
- <path d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694
7
+ <path d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694
8
8
  c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419
9
9
  c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2
10
10
  c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545
@@ -17,5 +17,5 @@
17
17
  c0,15.799-5.25,29.198-14.829,38.285c-12.442,11.728-30.865,16.996-52.407,16.996c-4.778,0-9.1-0.243-12.435-0.723v57.67H80.7
18
18
  V393.499z M453.601,523.353H97.2V419.302h356.4V523.353z M484.898,262.127h-61.989v36.851h57.913v29.674h-57.913v64.848h-36.593
19
19
  V232.216h98.582V262.127z"/>
20
- </g>
20
+ </g>
21
21
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g>
3
- <path d="M16.5 18V6H18.5V18H16.5ZM5.5 18V6L14.5 12L5.5 18Z" fill="currentColor"/>
4
- </g>
2
+ <g>
3
+ <path d="M16.5 18V6H18.5V18H16.5ZM5.5 18V6L14.5 12L5.5 18Z" fill="currentColor"/>
4
+ </g>
5
5
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g>
3
- <path d="M5.5 18V6H7.5V18H5.5ZM18.5 18L9.5 12L18.5 6V18Z" fill="currentColor"/>
4
- </g>
2
+ <g>
3
+ <path d="M5.5 18V6H7.5V18H5.5ZM18.5 18L9.5 12L18.5 6V18Z" fill="currentColor"/>
4
+ </g>
5
5
  </svg>
@@ -1,15 +1,15 @@
1
1
  <svg
2
- width="18"
3
- height="20"
4
- viewBox="0 0 16 18"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
2
+ width="18"
3
+ height="20"
4
+ viewBox="0 0 16 18"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
7
  >
8
- <path
9
- d="M13.8333 4.83333L13.1108 14.9517C13.0808 15.3722 12.8927 15.7657 12.5842 16.053C12.2757 16.3403 11.8698 16.5 11.4483 16.5H4.55159C4.13004 16.5 3.72414 16.3403 3.41566 16.053C3.10717 15.7657 2.91902 15.3722 2.88909 14.9517L2.16659 4.83333M6.33325 8.16667V13.1667M9.66659 8.16667V13.1667M10.4999 4.83333V2.33333C10.4999 2.11232 10.4121 1.90036 10.2558 1.74408C10.0996 1.5878 9.8876 1.5 9.66659 1.5H6.33325C6.11224 1.5 5.90028 1.5878 5.744 1.74408C5.58772 1.90036 5.49992 2.11232 5.49992 2.33333V4.83333M1.33325 4.83333H14.6666"
10
- stroke="currentColor"
11
- stroke-width="2"
12
- stroke-linecap="round"
13
- stroke-linejoin="round"
14
- />
8
+ <path
9
+ d="M13.8333 4.83333L13.1108 14.9517C13.0808 15.3722 12.8927 15.7657 12.5842 16.053C12.2757 16.3403 11.8698 16.5 11.4483 16.5H4.55159C4.13004 16.5 3.72414 16.3403 3.41566 16.053C3.10717 15.7657 2.91902 15.3722 2.88909 14.9517L2.16659 4.83333M6.33325 8.16667V13.1667M9.66659 8.16667V13.1667M10.4999 4.83333V2.33333C10.4999 2.11232 10.4121 1.90036 10.2558 1.74408C10.0996 1.5878 9.8876 1.5 9.66659 1.5H6.33325C6.11224 1.5 5.90028 1.5878 5.744 1.74408C5.58772 1.90036 5.49992 2.11232 5.49992 2.33333V4.83333M1.33325 4.83333H14.6666"
10
+ stroke="currentColor"
11
+ stroke-width="2"
12
+ stroke-linecap="round"
13
+ stroke-linejoin="round"
14
+ />
15
15
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path
3
- d="M0 18.2727L10 1L20 18.2727H0ZM3.13636 16.4545H16.8636L10 4.63636L3.13636 16.4545ZM10 15.5455C10.2576 15.5455 10.4736 15.4582 10.6482 15.2836C10.8221 15.1097 10.9091 14.8939 10.9091 14.6364C10.9091 14.3788 10.8221 14.163 10.6482 13.9891C10.4736 13.8145 10.2576 13.7273 10 13.7273C9.74242 13.7273 9.52667 13.8145 9.35273 13.9891C9.17818 14.163 9.09091 14.3788 9.09091 14.6364C9.09091 14.8939 9.17818 15.1097 9.35273 15.2836C9.52667 15.4582 9.74242 15.5455 10 15.5455ZM9.09091 12.8182H10.9091V8.27273H9.09091V12.8182Z"
4
- fill="currentColor"/>
2
+ <path
3
+ d="M0 18.2727L10 1L20 18.2727H0ZM3.13636 16.4545H16.8636L10 4.63636L3.13636 16.4545ZM10 15.5455C10.2576 15.5455 10.4736 15.4582 10.6482 15.2836C10.8221 15.1097 10.9091 14.8939 10.9091 14.6364C10.9091 14.3788 10.8221 14.163 10.6482 13.9891C10.4736 13.8145 10.2576 13.7273 10 13.7273C9.74242 13.7273 9.52667 13.8145 9.35273 13.9891C9.17818 14.163 9.09091 14.3788 9.09091 14.6364C9.09091 14.8939 9.17818 15.1097 9.35273 15.2836C9.52667 15.4582 9.74242 15.5455 10 15.5455ZM9.09091 12.8182H10.9091V8.27273H9.09091V12.8182Z"
4
+ fill="currentColor"/>
5
5
  </svg>
package/src/svg/XIcon.svg CHANGED
@@ -1,18 +1,18 @@
1
1
  <svg
2
- viewBox="0 0 17 17"
3
- fill="none"
4
- xmlns="http://www.w3.org/2000/svg"
2
+ viewBox="0 0 17 17"
3
+ fill="none"
4
+ xmlns="http://www.w3.org/2000/svg"
5
5
  >
6
- <path
7
- fill-rule="evenodd"
8
- clip-rule="evenodd"
9
- d="M16.8222 0.177828C17.0593 0.414932 17.0593 0.799354 16.8222 1.03646L1.03646 16.8222C0.799354 17.0593 0.414932 17.0593 0.177828 16.8222C-0.059276 16.5851 -0.059276 16.2006 0.177828 15.9635L15.9635 0.177828C16.2006 -0.059276 16.5851 -0.059276 16.8222 0.177828Z"
10
- fill="currentColor"
11
- />
12
- <path
13
- fill-rule="evenodd"
14
- clip-rule="evenodd"
15
- d="M0.177828 0.177828C0.414932 -0.059276 0.799354 -0.059276 1.03646 0.177828L16.8222 15.9635C17.0593 16.2006 17.0593 16.5851 16.8222 16.8222C16.5851 17.0593 16.2006 17.0593 15.9635 16.8222L0.177828 1.03646C-0.059276 0.799354 -0.059276 0.414932 0.177828 0.177828Z"
16
- fill="currentColor"
17
- />
6
+ <path
7
+ fill-rule="evenodd"
8
+ clip-rule="evenodd"
9
+ d="M16.8222 0.177828C17.0593 0.414932 17.0593 0.799354 16.8222 1.03646L1.03646 16.8222C0.799354 17.0593 0.414932 17.0593 0.177828 16.8222C-0.059276 16.5851 -0.059276 16.2006 0.177828 15.9635L15.9635 0.177828C16.2006 -0.059276 16.5851 -0.059276 16.8222 0.177828Z"
10
+ fill="currentColor"
11
+ />
12
+ <path
13
+ fill-rule="evenodd"
14
+ clip-rule="evenodd"
15
+ d="M0.177828 0.177828C0.414932 -0.059276 0.799354 -0.059276 1.03646 0.177828L16.8222 15.9635C17.0593 16.2006 17.0593 16.5851 16.8222 16.8222C16.5851 17.0593 16.2006 17.0593 15.9635 16.8222L0.177828 1.03646C-0.059276 0.799354 -0.059276 0.414932 0.177828 0.177828Z"
16
+ fill="currentColor"
17
+ />
18
18
  </svg>
package/src/vue-plugin.js CHANGED
@@ -1,9 +1,9 @@
1
- export * from './config';
2
- export * from './helpers';
3
- export * from './components';
4
- export * from './svg';
1
+ export * from "./config";
2
+ export * from "./helpers";
3
+ export * from "./components";
4
+ export * from "./svg";
5
5
 
6
- import packageJson from '../package.json';
6
+ import packageJson from "../package.json";
7
7
 
8
8
  const { version } = packageJson;
9
9
 
package/vite.config.js CHANGED
@@ -28,5 +28,12 @@ export default defineConfig({
28
28
  }
29
29
  }
30
30
  }
31
+ },
32
+ css: {
33
+ preprocessorOptions: {
34
+ scss: {
35
+ additionalData: `@import "./src/styles/index.scss";`
36
+ }
37
+ }
31
38
  }
32
39
  });