@volverjs/ui-vue 0.0.3-beta.2 → 0.0.3-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/VvAccordion/VvAccordion.es.js +63 -131
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +2 -2
- package/dist/components/VvAccordion/index.d.ts +2 -2
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +97 -176
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +4 -4
- package/dist/components/VvAccordionGroup/index.d.ts +2 -2
- package/dist/components/VvBadge/VvBadge.es.js +16 -50
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +38 -45
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +170 -306
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
- package/dist/components/VvButton/index.d.ts +3 -3
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +39 -84
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +26 -60
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
- package/dist/components/VvCard/index.d.ts +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +144 -282
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +6 -6
- package/dist/components/VvCheckbox/index.d.ts +10 -4
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +190 -346
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +7 -7
- package/dist/components/VvCheckboxGroup/index.d.ts +3 -3
- package/dist/components/VvCombobox/VvCombobox.es.js +330 -487
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +8 -8
- package/dist/components/VvCombobox/index.d.ts +4 -4
- package/dist/components/VvDialog/VvDialog.es.js +66 -102
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +61 -185
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +2 -2
- package/dist/components/VvDropdown/index.d.ts +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +30 -65
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +304 -407
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -10
- package/dist/components/VvInputText/VvInputTextActions.d.ts +1 -1
- package/dist/components/VvInputText/index.d.ts +5 -5
- package/dist/components/VvProgress/VvProgress.es.js +17 -51
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +110 -249
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +6 -6
- package/dist/components/VvRadio/index.d.ts +3 -3
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +161 -318
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +7 -7
- package/dist/components/VvRadioGroup/index.d.ts +3 -3
- package/dist/components/VvSelect/VvSelect.es.js +200 -292
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +8 -8
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTextarea/VvTextarea.es.js +195 -254
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +6 -6
- package/dist/components/VvTextarea/index.d.ts +3 -3
- package/dist/components/common/HintSlot.d.ts +1 -1
- package/dist/components/index.es.js +1168 -1360
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/group/useInjectedGroupState.d.ts +1 -1
- package/dist/composables/useComponentFocus.d.ts +1 -1
- package/dist/composables/useComponentIcons.d.ts +1 -1
- package/dist/composables/useDebouncedInput.d.ts +1 -1
- package/dist/composables/useModifiers.d.ts +1 -1
- package/dist/composables/useTextCount.d.ts +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1203 -1396
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +12 -12
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +1 -1
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAccordion/VvAccordion.vue +0 -3
- package/src/components/VvAccordion/index.ts +1 -2
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +1 -3
- package/src/components/VvBadge/VvBadge.vue +0 -1
- package/src/components/VvButton/VvButton.vue +0 -3
- package/src/components/VvButton/index.ts +2 -10
- package/src/components/VvButtonGroup/VvButtonGroup.vue +0 -3
- package/src/components/VvCard/VvCard.vue +0 -1
- package/src/components/VvCheckbox/VvCheckbox.vue +0 -3
- package/src/components/VvCheckbox/index.ts +1 -2
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +0 -5
- package/src/components/VvCombobox/VvCombobox.vue +0 -7
- package/src/components/VvDialog/VvDialog.vue +1 -2
- package/src/components/VvDropdown/VvDropdown.vue +0 -4
- package/src/components/VvIcon/VvIcon.vue +0 -2
- package/src/components/VvInputText/VvInputClearAction.ts +0 -1
- package/src/components/VvInputText/VvInputPasswordAction.ts +0 -1
- package/src/components/VvInputText/VvInputStepAction.ts +0 -1
- package/src/components/VvInputText/VvInputText.vue +1 -16
- package/src/components/VvInputText/VvInputTextActions.ts +1 -1
- package/src/components/VvProgress/VvProgress.vue +0 -2
- package/src/components/VvRadio/VvRadio.vue +0 -3
- package/src/components/VvRadio/index.ts +0 -1
- package/src/components/VvRadioGroup/VvRadioGroup.vue +0 -5
- package/src/components/VvSelect/VvSelect.vue +1 -14
- package/src/components/common/HintSlot.ts +1 -11
- package/src/composables/group/types/IAccordionGroupState.ts +0 -1
- package/src/composables/group/types/IButtonGroupState.ts +0 -1
- package/src/composables/group/types/IInputGroup.ts +0 -1
- package/src/composables/group/useInjectedGroupState.ts +1 -2
- package/src/composables/group/useProvideGroupState.ts +0 -1
- package/src/composables/useComponentFocus.ts +1 -2
- package/src/composables/useComponentIcons.ts +1 -1
- package/src/composables/useDebouncedInput.ts +1 -1
- package/src/composables/useModifiers.ts +1 -2
- package/src/composables/useOptions.ts +0 -1
- package/src/composables/useTextCount.ts +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +0 -1
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +0 -1
- package/src/stories/Combobox/Combobox.settings.ts +0 -1
- package/src/stories/Dropdown/Dropdown.settings.ts +0 -1
- package/src/stories/Icon/Icon.settings.ts +0 -1
- package/src/stories/InputText/InputText.settings.ts +0 -1
- package/src/stories/Select/Select.settings.ts +0 -1
- package/src/stories/Textarea/Textarea.settings.ts +0 -1
- package/src/stories/Tooltip/Tooltip.settings.ts +0 -1
- 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 {
|
|
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 {
|
|
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,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 {
|
|
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,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 {
|
|
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 {
|
|
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)
|
|
@@ -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 {
|
|
@@ -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
|
-
import {
|
|
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>,
|
|
@@ -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
|
|
|
@@ -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),
|