@volverjs/ui-vue 0.0.3-beta.2 → 0.0.3-beta.4

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 (131) hide show
  1. package/dist/components/VvAccordion/VvAccordion.es.js +63 -131
  2. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  3. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +2 -2
  4. package/dist/components/VvAccordion/index.d.ts +2 -2
  5. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +97 -176
  6. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  7. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +4 -4
  8. package/dist/components/VvAccordionGroup/index.d.ts +2 -2
  9. package/dist/components/VvBadge/VvBadge.es.js +16 -50
  10. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  11. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +38 -45
  12. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  13. package/dist/components/VvButton/VvButton.es.js +170 -306
  14. package/dist/components/VvButton/VvButton.umd.js +1 -1
  15. package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
  16. package/dist/components/VvButton/index.d.ts +3 -3
  17. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +39 -84
  18. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  19. package/dist/components/VvCard/VvCard.es.js +26 -60
  20. package/dist/components/VvCard/VvCard.umd.js +1 -1
  21. package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
  22. package/dist/components/VvCard/index.d.ts +1 -1
  23. package/dist/components/VvCheckbox/VvCheckbox.es.js +144 -282
  24. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  25. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +6 -6
  26. package/dist/components/VvCheckbox/index.d.ts +10 -4
  27. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +190 -346
  28. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  29. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +7 -7
  30. package/dist/components/VvCheckboxGroup/index.d.ts +3 -3
  31. package/dist/components/VvCombobox/VvCombobox.es.js +330 -487
  32. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  33. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +8 -8
  34. package/dist/components/VvCombobox/index.d.ts +4 -4
  35. package/dist/components/VvDialog/VvDialog.es.js +66 -102
  36. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  37. package/dist/components/VvDropdown/VvDropdown.es.js +61 -185
  38. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  39. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +2 -2
  40. package/dist/components/VvDropdown/index.d.ts +1 -1
  41. package/dist/components/VvIcon/VvIcon.es.js +30 -65
  42. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  43. package/dist/components/VvInputText/VvInputText.es.js +304 -407
  44. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  45. package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -10
  46. package/dist/components/VvInputText/VvInputTextActions.d.ts +1 -1
  47. package/dist/components/VvInputText/index.d.ts +5 -5
  48. package/dist/components/VvProgress/VvProgress.es.js +17 -51
  49. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  50. package/dist/components/VvRadio/VvRadio.es.js +110 -249
  51. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  52. package/dist/components/VvRadio/VvRadio.vue.d.ts +6 -6
  53. package/dist/components/VvRadio/index.d.ts +3 -3
  54. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +161 -318
  55. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  56. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +7 -7
  57. package/dist/components/VvRadioGroup/index.d.ts +3 -3
  58. package/dist/components/VvSelect/VvSelect.es.js +200 -292
  59. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  60. package/dist/components/VvSelect/VvSelect.vue.d.ts +8 -8
  61. package/dist/components/VvSelect/index.d.ts +4 -4
  62. package/dist/components/VvTextarea/VvTextarea.es.js +195 -254
  63. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  64. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +6 -6
  65. package/dist/components/VvTextarea/index.d.ts +3 -3
  66. package/dist/components/common/HintSlot.d.ts +1 -1
  67. package/dist/components/index.es.js +1168 -1360
  68. package/dist/components/index.umd.js +1 -1
  69. package/dist/composables/group/useInjectedGroupState.d.ts +1 -1
  70. package/dist/composables/useComponentFocus.d.ts +1 -1
  71. package/dist/composables/useComponentIcons.d.ts +1 -1
  72. package/dist/composables/useDebouncedInput.d.ts +1 -1
  73. package/dist/composables/useModifiers.d.ts +1 -1
  74. package/dist/composables/useTextCount.d.ts +1 -1
  75. package/dist/icons.es.js +3 -3
  76. package/dist/icons.umd.js +1 -1
  77. package/dist/index.es.js +1203 -1396
  78. package/dist/index.umd.js +1 -1
  79. package/dist/props/index.d.ts +12 -12
  80. package/dist/utils/ObjectUtilities.d.ts +1 -1
  81. package/package.json +2 -1
  82. package/src/assets/icons/detailed.json +1 -1
  83. package/src/assets/icons/normal.json +1 -1
  84. package/src/assets/icons/simple.json +1 -1
  85. package/src/components/VvAccordion/VvAccordion.vue +0 -3
  86. package/src/components/VvAccordion/index.ts +1 -2
  87. package/src/components/VvAccordionGroup/VvAccordionGroup.vue +1 -3
  88. package/src/components/VvBadge/VvBadge.vue +0 -1
  89. package/src/components/VvButton/VvButton.vue +0 -3
  90. package/src/components/VvButton/index.ts +2 -10
  91. package/src/components/VvButtonGroup/VvButtonGroup.vue +0 -3
  92. package/src/components/VvCard/VvCard.vue +0 -1
  93. package/src/components/VvCheckbox/VvCheckbox.vue +0 -3
  94. package/src/components/VvCheckbox/index.ts +1 -2
  95. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +0 -5
  96. package/src/components/VvCombobox/VvCombobox.vue +0 -7
  97. package/src/components/VvDialog/VvDialog.vue +1 -2
  98. package/src/components/VvDropdown/VvDropdown.vue +0 -4
  99. package/src/components/VvIcon/VvIcon.vue +0 -2
  100. package/src/components/VvInputText/VvInputClearAction.ts +0 -1
  101. package/src/components/VvInputText/VvInputPasswordAction.ts +0 -1
  102. package/src/components/VvInputText/VvInputStepAction.ts +0 -1
  103. package/src/components/VvInputText/VvInputText.vue +1 -16
  104. package/src/components/VvInputText/VvInputTextActions.ts +1 -1
  105. package/src/components/VvProgress/VvProgress.vue +0 -2
  106. package/src/components/VvRadio/VvRadio.vue +0 -3
  107. package/src/components/VvRadio/index.ts +0 -1
  108. package/src/components/VvRadioGroup/VvRadioGroup.vue +0 -5
  109. package/src/components/VvSelect/VvSelect.vue +1 -14
  110. package/src/components/common/HintSlot.ts +1 -11
  111. package/src/composables/group/types/IAccordionGroupState.ts +0 -1
  112. package/src/composables/group/types/IButtonGroupState.ts +0 -1
  113. package/src/composables/group/types/IInputGroup.ts +0 -1
  114. package/src/composables/group/useInjectedGroupState.ts +1 -2
  115. package/src/composables/group/useProvideGroupState.ts +0 -1
  116. package/src/composables/useComponentFocus.ts +1 -2
  117. package/src/composables/useComponentIcons.ts +1 -1
  118. package/src/composables/useDebouncedInput.ts +1 -1
  119. package/src/composables/useModifiers.ts +1 -2
  120. package/src/composables/useOptions.ts +0 -1
  121. package/src/composables/useTextCount.ts +1 -1
  122. package/src/stories/Breadcrumb/Breadcrumb.settings.ts +0 -1
  123. package/src/stories/ButtonGroup/ButtonGroup.settings.ts +0 -1
  124. package/src/stories/Combobox/Combobox.settings.ts +0 -1
  125. package/src/stories/Dropdown/Dropdown.settings.ts +0 -1
  126. package/src/stories/Icon/Icon.settings.ts +0 -1
  127. package/src/stories/InputText/InputText.settings.ts +0 -1
  128. package/src/stories/Select/Select.settings.ts +0 -1
  129. package/src/stories/Textarea/Textarea.settings.ts +0 -1
  130. package/src/stories/Tooltip/Tooltip.settings.ts +0 -1
  131. package/src/utils/ObjectUtilities.ts +1 -1
@@ -5,10 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, useAttrs, ref } from 'vue'
9
- import { useToggle } from '@vueuse/core'
10
8
  import { nanoid } from 'nanoid'
11
- import { useBemModifiers } from '@/composables/useModifiers'
12
9
  import {
13
10
  VvAccordionEvents,
14
11
  VvAccordionProps,
@@ -1,6 +1,5 @@
1
- import { type ExtractPropTypes, toRefs, type Ref } from 'vue'
1
+ import type { ExtractPropTypes, Ref } from 'vue'
2
2
  import type IAccordionGroupState from '@/composables/group/types/IAccordionGroupState'
3
- import { useInjectedGroupState } from '@/composables/group/useInjectedGroupState'
4
3
  import { VV_ACCORDION_GROUP } from '@/constants'
5
4
 
6
5
  export const VvAccordionProps = {
@@ -5,11 +5,9 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { type Ref, computed, ref, toRefs, watchEffect } from 'vue'
8
+ import type { Ref } from 'vue'
9
9
  import type IAccordionGroupState from '@/composables/group/types/IAccordionGroupState'
10
10
  import { VV_ACCORDION_GROUP } from '@/constants'
11
- import { useProvideGroupState } from '@/composables/group/useProvideGroupState'
12
- import { useBemModifiers } from '@/composables/useModifiers'
13
11
  import VvAccordion from '@/components/VvAccordion/VvAccordion.vue'
14
12
  import {
15
13
  VvAccordionGroupProps,
@@ -5,7 +5,6 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { useBemModifiers } from '@/composables/useModifiers'
9
8
  import { VvBadgeProps } from '@/components/VvBadge'
10
9
 
11
10
  const props = defineProps(VvBadgeProps)
@@ -5,11 +5,8 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { inject, useAttrs, useSlots, computed } from 'vue'
9
8
  import { nanoid } from 'nanoid'
10
- import { contains, equals } from '@/utils/ObjectUtilities'
11
9
  import { type IVolver, VOLVER_PREFIX } from '@/Volver'
12
- import { useBemModifiers } from '@/composables/useModifiers'
13
10
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
14
11
  import {
15
12
  ButtonIconPosition,
@@ -1,14 +1,6 @@
1
- import {
2
- type Ref,
3
- type PropType,
4
- type ExtractPropTypes,
5
- toRefs,
6
- ref,
7
- computed,
8
- } from 'vue'
9
- import { DisabledProps, ModifiersProps, UnselectableProps } from '@/props'
1
+ import type { Ref, PropType, ExtractPropTypes } from 'vue'
10
2
  import type IButtonGroupState from '@/composables/group/types/IButtonGroupState'
11
- import { useInjectedGroupState } from '@/composables/group/useInjectedGroupState'
3
+ import { DisabledProps, ModifiersProps, UnselectableProps } from '@/props'
12
4
  import { VV_BUTTON_GROUP } from '@/constants'
13
5
 
14
6
  export enum ButtonIconPosition {
@@ -6,10 +6,7 @@
6
6
 
7
7
  <script setup lang="ts">
8
8
  import type IButtonGroupState from '@/composables/group/types/IButtonGroupState'
9
- import { toRefs, watchEffect, computed } from 'vue'
10
9
  import { VV_BUTTON_GROUP } from '@/constants'
11
- import { useProvideGroupState } from '@/composables/group/useProvideGroupState'
12
- import { useBemModifiers } from '@/composables/useModifiers'
13
10
  import {
14
11
  VvButtonGroupProps,
15
12
  VvButtonGroupEvents,
@@ -5,7 +5,6 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { useBemModifiers } from '@/composables/useModifiers'
9
8
  import { VvCardProps } from '@/components/VvCard'
10
9
 
11
10
  // props and attrs
@@ -5,10 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, ref, useSlots, watchEffect, watch, onMounted } from 'vue'
9
8
  import { nanoid } from 'nanoid'
10
- import { contains, equals } from '@/utils/ObjectUtilities'
11
- import { useBemModifiers } from '@/composables/useModifiers'
12
9
  import {
13
10
  VvCheckboxProps,
14
11
  VvCheckboxEvents,
@@ -1,6 +1,5 @@
1
- import { type ExtractPropTypes, type Ref, toRefs } from 'vue'
1
+ import type { ExtractPropTypes, Ref } from 'vue'
2
2
  import type { IInputGroupState } from '@/composables/group/types/IInputGroup'
3
- import { useInjectedGroupState } from '@/composables/group/useInjectedGroupState'
4
3
  import { CheckboxRadioProps } from '@/props'
5
4
  import { VV_CHECK_GROUP } from '@/constants'
6
5
 
@@ -7,12 +7,7 @@
7
7
  <script setup lang="ts">
8
8
  import type { Option } from '@/types/generic'
9
9
  import type { IInputGroupState } from '@/composables/group/types/IInputGroup'
10
- import { useSlots, computed, toRefs } from 'vue'
11
10
  import { VV_CHECK_GROUP } from '@/constants'
12
- import { useVModel } from '@vueuse/core'
13
- import { useProvideGroupState } from '@/composables/group/useProvideGroupState'
14
- import { useOptions } from '@/composables/useOptions'
15
- import { useBemModifiers } from '@/composables/useModifiers'
16
11
  import { HintSlotFactory } from '@/components/common/HintSlot'
17
12
  import VvCheckbox from '@/components/VvCheckbox/VvCheckbox.vue'
18
13
  import {
@@ -5,14 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, ref, toRefs, useSlots, watch } from 'vue'
9
8
  import { nanoid } from 'nanoid'
10
- import { onClickOutside, refDebounced } from '@vueuse/core'
11
- import { isEmpty } from '@/utils/ObjectUtilities'
12
- import { useBemModifiers } from '@/composables/useModifiers'
13
- import { useComponentIcon } from '@/composables/useComponentIcons'
14
- import { useOptions } from '@/composables/useOptions'
15
- import { useComponentFocus } from '@/composables/useComponentFocus'
16
9
  import VvDropdown from '@/components/VvDropdown/VvDropdown.vue'
17
10
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
18
11
  import VvSelect from '@/components/VvSelect/VvSelect.vue'
@@ -5,8 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { type DialogHTMLAttributes, computed, ref } from 'vue'
9
- import { useVModel, onClickOutside } from '@vueuse/core'
8
+ import type { DialogHTMLAttributes } from 'vue'
10
9
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
11
10
  import { VvDialogEvents, VvDialogProps } from '@/components/VvDialog'
12
11
 
@@ -5,11 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, toRefs } from 'vue'
9
8
  import { nanoid } from 'nanoid'
10
- import { useBemModifiers } from '@/composables/useModifiers'
11
- import { useOptions } from '@/composables/useOptions'
12
- import { contains, equals, removeFromList } from '@/utils/ObjectUtilities'
13
9
  import { VvDropdownProps } from '@/components/VvDropdown'
14
10
  import type { Option } from '@/types/generic'
15
11
 
@@ -5,11 +5,9 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { inject, toRefs, ref, computed } from 'vue'
9
8
  import { Icon, addIcon, iconExists, type IconifyJSON } from '@iconify/vue'
10
9
  import { type IVolver, VOLVER_PREFIX } from '@/Volver'
11
10
  import { VvIconProps } from '@/components/VvIcon'
12
- import { useBemModifiers } from '@/composables/useModifiers'
13
11
 
14
12
  // props
15
13
  const props = defineProps(VvIconProps)
@@ -1,4 +1,3 @@
1
- import { defineComponent, h } from 'vue'
2
1
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
3
2
 
4
3
  export default defineComponent({
@@ -1,4 +1,3 @@
1
- import { defineComponent, ref, computed, h } from 'vue'
2
1
  import { TYPES_ICON } from '@/components/VvInputText'
3
2
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
4
3
 
@@ -1,4 +1,3 @@
1
- import { computed, defineComponent, h } from 'vue'
2
1
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
3
2
 
4
3
  export default defineComponent({
@@ -5,24 +5,9 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import {
9
- computed,
10
- useSlots,
11
- ref,
12
- toRefs,
13
- unref,
14
- watch,
15
- type InputHTMLAttributes,
16
- } from 'vue'
17
- import { useElementVisibility } from '@vueuse/core'
8
+ import type { InputHTMLAttributes } from 'vue'
18
9
  import { nanoid } from 'nanoid'
19
- import { isEmpty } from '@/utils/ObjectUtilities'
20
10
  import HintSlotFactory from '@/components/common/HintSlot'
21
- import { useComponentIcon } from '@/composables/useComponentIcons'
22
- import { useComponentFocus } from '@/composables/useComponentFocus'
23
- import { useDebouncedInput } from '@/composables/useDebouncedInput'
24
- import { useTextCount } from '@/composables/useTextCount'
25
- import { useBemModifiers } from '@/composables/useModifiers'
26
11
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
27
12
  import VvInputTextActionsFactory from '@/components/VvInputText/VvInputTextActions'
28
13
  import {
@@ -1,4 +1,4 @@
1
- import { type Component, h, computed } from 'vue'
1
+ import type { Component } from 'vue'
2
2
  import {
3
3
  type VvInputTextPropsTypes,
4
4
  INPUT_TYPES,
@@ -5,8 +5,6 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, toRefs } from 'vue'
9
- import { useBemModifiers } from '@/composables/useModifiers'
10
8
  import { VvProgressProps } from '@/components/VvProgress'
11
9
 
12
10
  // props
@@ -5,10 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { computed, ref, useSlots } from 'vue'
9
8
  import { nanoid } from 'nanoid'
10
- import { contains, equals } from '@/utils/ObjectUtilities'
11
- import { useBemModifiers } from '@/composables/useModifiers'
12
9
  import {
13
10
  VvRadioProps,
14
11
  VvRadioEvents,
@@ -1,7 +1,6 @@
1
1
  import type { ExtractPropTypes, Ref } from 'vue'
2
2
  import type { IInputGroupState } from '@/composables/group/types/IInputGroup'
3
3
  import { CheckboxRadioProps } from '@/props'
4
- import { useInjectedGroupState } from '@/composables/group/useInjectedGroupState'
5
4
  import { VV_RADIO_GROUP } from '@/constants'
6
5
 
7
6
  export const VvRadioProps = CheckboxRadioProps
@@ -7,11 +7,6 @@
7
7
  <script setup lang="ts">
8
8
  import type { Option } from '@/types/generic'
9
9
  import type { IInputGroupState } from '@/composables/group/types/IInputGroup'
10
- import { useSlots, computed, toRefs } from 'vue'
11
- import { useVModel } from '@vueuse/core'
12
- import { useProvideGroupState } from '@/composables/group/useProvideGroupState'
13
- import { useOptions } from '@/composables/useOptions'
14
- import { useBemModifiers } from '@/composables/useModifiers'
15
10
  import { VV_RADIO_GROUP } from '@/constants'
16
11
  import { HintSlotFactory } from '@/components/common/HintSlot'
17
12
  import VvRadio from '@/components/VvRadio/VvRadio.vue'
@@ -6,24 +6,11 @@
6
6
 
7
7
  <script setup lang="ts">
8
8
  import type { Option } from '@/types/generic'
9
- import {
10
- computed,
11
- toRefs,
12
- useSlots,
13
- ref,
14
- watch,
15
- type SelectHTMLAttributes,
16
- } from 'vue'
9
+ import type { SelectHTMLAttributes } from 'vue'
17
10
  import { nanoid } from 'nanoid'
18
- import { isEmpty } from '@/utils/ObjectUtilities'
19
- import { useBemModifiers } from '@/composables/useModifiers'
20
- import { useComponentIcon } from '@/composables/useComponentIcons'
21
- import { useOptions } from '@/composables/useOptions'
22
- import { useComponentFocus } from '@/composables/useComponentFocus'
23
11
  import VvIcon from '@/components/VvIcon/VvIcon.vue'
24
12
  import HintSlotFactory from '@/components/common/HintSlot'
25
13
  import { VvSelectProps, VvSelectEmits } from '@/components/VvSelect'
26
- import { useElementVisibility } from '@vueuse/core'
27
14
 
28
15
  // props, emit and slots
29
16
  const props = defineProps(VvSelectProps)
@@ -1,14 +1,4 @@
1
- import {
2
- type Component,
3
- type ExtractPropTypes,
4
- type Slots,
5
- type Ref,
6
- computed,
7
- toRefs,
8
- h,
9
- } from 'vue'
10
- import { toReactive } from '@vueuse/core'
11
- import { isString, resolveFieldData, isEmpty } from '@/utils/ObjectUtilities'
1
+ import type { Component, ExtractPropTypes, Slots, Ref } from 'vue'
12
2
 
13
3
  /**
14
4
  * Merge errors from Array<string> to string errors separated from new line (\n)
@@ -1,5 +1,4 @@
1
1
  import type { Ref } from 'vue'
2
-
3
2
  import type IGroupState from './IGroupState'
4
3
 
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  import type { Ref } from 'vue'
2
-
3
2
  import type IGroupState from './IGroupState'
4
3
 
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  import type { Ref } from 'vue'
2
-
3
2
  import type IGroupState from './IGroupState'
4
3
 
5
4
  /**
@@ -1,6 +1,5 @@
1
- import { type Ref, toRef, unref, inject, computed } from 'vue'
1
+ import type { Ref } from 'vue'
2
2
  import type IGroupState from '@/composables/group/types/IGroupState'
3
- import { isEmpty } from '@/utils/ObjectUtilities'
4
3
 
5
4
  /**
6
5
  * Injects a group state
@@ -1,4 +1,3 @@
1
- import { provide, computed, isRef } from 'vue'
2
1
  import type IGroupState from '@/composables/group/types/IGroupState'
3
2
 
4
3
  /**
@@ -1,5 +1,4 @@
1
- import { watch, unref } from 'vue'
2
- import { useFocus, type MaybeElement, type MaybeElementRef } from '@vueuse/core'
1
+ import type { MaybeElement, MaybeElementRef } from '@vueuse/core'
3
2
 
4
3
  export function useComponentFocus(
5
4
  inputTemplateRef: MaybeElementRef<MaybeElement>,
@@ -1,4 +1,4 @@
1
- import { type Slot, type Ref, computed } from 'vue'
1
+ import type { Slot, Ref } from 'vue'
2
2
 
3
3
  interface ComponentIconProps {
4
4
  icon: Ref<string>
@@ -1,4 +1,4 @@
1
- import { type Ref, computed } from 'vue'
1
+ import type { Ref } from 'vue'
2
2
 
3
3
  export function useDebouncedInput(
4
4
  modelValue: Ref | undefined,
@@ -1,5 +1,4 @@
1
- import { computed, unref, type Ref } from 'vue'
2
- import { kebabCase } from '@/utils/ObjectUtilities'
1
+ import type { Ref } from 'vue'
3
2
 
4
3
  interface IBemModifiers {
5
4
  [key: string]:
@@ -1,4 +1,3 @@
1
- import { toRefs } from 'vue'
2
1
  import type { Option } from '@/types/generic'
3
2
 
4
3
  // eslint-disable-next-line
@@ -1,4 +1,4 @@
1
- import { computed, unref, type Ref } from 'vue'
1
+ import type { Ref } from 'vue'
2
2
 
3
3
  export function useTextCount(
4
4
  text: Ref<string | undefined | null> | string,
@@ -1,5 +1,4 @@
1
1
  import { VvBreadcrumbProps } from '@/components/VvBreadcrumb'
2
- import { propsToObject } from '@/utils/ObjectUtilities'
3
2
 
4
3
  export const defaultArgs = {
5
4
  ...propsToObject(VvBreadcrumbProps),
@@ -3,7 +3,6 @@ import {
3
3
  ModifiersArgTypes,
4
4
  UnselectableArgTypes,
5
5
  } from '@/stories/argTypes'
6
- import { propsToObject } from '@/utils/ObjectUtilities'
7
6
  import { VvButtonGroupProps } from '@/components/VvButtonGroup'
8
7
  import { argTypes as buttonArgTypes } from '../Button/Button.settings'
9
8
 
@@ -13,7 +13,6 @@ import {
13
13
  UnselectableArgTypes,
14
14
  } from '@/stories/argTypes'
15
15
  import { VvComboboxProps } from '@/components/VvCombobox'
16
- import { propsToObject } from '@/utils/ObjectUtilities'
17
16
 
18
17
  export const defaultArgs = {
19
18
  ...propsToObject(VvComboboxProps),
@@ -1,5 +1,4 @@
1
1
  import { VvDropdownProps } from '@/components/VvDropdown'
2
- import { propsToObject } from '@/utils/ObjectUtilities'
3
2
  import {
4
3
  ModifiersArgTypes,
5
4
  OptionsArgTypes,
@@ -1,4 +1,3 @@
1
- import { propsToObject } from '@/utils/ObjectUtilities'
2
1
  import { VvIconProps } from '@/components/VvIcon'
3
2
  import normal from '@/assets/icons/normal.json'
4
3
  import { ModifiersArgTypes } from '@/stories/argTypes'
@@ -1,7 +1,6 @@
1
1
  import { InputTextareaArgTypes } from '@/stories/argTypes'
2
2
  import { VvInputTextProps } from '@/components/VvInputText'
3
3
  import normal from '@/assets/icons/normal.json'
4
- import { propsToObject } from '@/utils/ObjectUtilities'
5
4
 
6
5
  export const defaultArgs = {
7
6
  ...propsToObject(VvInputTextProps),
@@ -15,7 +15,6 @@ import {
15
15
  AutofocusArgTypes,
16
16
  AutocompleteArgTypes,
17
17
  } from '@/stories/argTypes'
18
- import { propsToObject } from '@/utils/ObjectUtilities'
19
18
  import { VvSelectProps } from '@/components/VvSelect'
20
19
 
21
20
  export const defaultArgs = {
@@ -1,6 +1,5 @@
1
1
  import { InputTextareaArgTypes } from '@/stories/argTypes'
2
2
  import { VvTextareaProps } from '@/components/VvTextarea'
3
- import { propsToObject } from '@/utils/ObjectUtilities'
4
3
 
5
4
  export const defaultArgs = {
6
5
  ...propsToObject(VvTextareaProps),
@@ -1,4 +1,3 @@
1
- import { propsToObject } from '@/utils/ObjectUtilities'
2
1
  import { VvTooltipProps } from '@/components/VvTooltip'
3
2
  import { DefaultSlotArgTypes, ModifiersArgTypes } from '@/stories/argTypes'
4
3
 
@@ -1,4 +1,4 @@
1
- import { unref, type Ref } from 'vue'
1
+ import type { Ref } from 'vue'
2
2
 
3
3
  /**
4
4
  * Compare objects, primitives, array, dates, regexp