@volverjs/ui-vue 0.0.1-beta.8 → 0.0.2
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/LICENSE +21 -0
- package/README.md +108 -56
- package/bin/icons.cjs +73 -0
- package/bin/icons.js +75 -0
- package/dist/{DesignSystem.d.ts → Volver.d.ts} +22 -18
- package/dist/components/VvAccordion/VvAccordion.es.js +165 -0
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -0
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +32 -97
- package/dist/components/VvAccordion/index.d.ts +46 -0
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +243 -0
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -0
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +77 -151
- package/dist/components/VvAccordionGroup/{VvAccordionGroup.d.ts → index.d.ts} +30 -13
- package/dist/components/VvBadge/VvBadge.es.js +62 -0
- package/dist/components/VvBadge/VvBadge.umd.js +1 -0
- package/dist/components/VvBadge/VvBadge.vue.d.ts +13 -54
- package/dist/components/VvBadge/{VvBadge.d.ts → index.d.ts} +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +93 -0
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -0
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +33 -107
- package/dist/components/VvBreadcrumb/{VvBreadcrumb.d.ts → index.d.ts} +2 -3
- package/dist/components/VvButton/VvButton.es.js +439 -0
- package/dist/components/VvButton/VvButton.umd.js +1 -0
- package/dist/components/VvButton/VvButton.vue.d.ts +100 -199
- package/dist/components/VvButton/index.d.ts +132 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +107 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +92 -186
- package/dist/components/VvButtonGroup/index.d.ts +54 -0
- package/dist/components/VvCard/VvCard.es.js +77 -0
- package/dist/components/VvCard/VvCard.umd.js +1 -0
- package/dist/components/VvCard/VvCard.vue.d.ts +16 -61
- package/dist/components/VvCard/{VvCard.d.ts → index.d.ts} +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +357 -0
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -0
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +74 -0
- package/dist/components/VvCheckbox/index.d.ts +54 -0
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +435 -0
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -0
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +82 -0
- package/dist/components/VvCheckboxGroup/index.d.ts +32 -0
- package/dist/components/VvCombobox/VvCombobox.es.js +775 -0
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -0
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +175 -0
- package/dist/components/VvCombobox/index.d.ts +108 -0
- package/dist/components/VvDialog/VvDialog.es.js +200 -0
- package/dist/components/VvDialog/VvDialog.umd.js +1 -0
- package/dist/components/VvDialog/VvDialog.vue.d.ts +28 -132
- package/dist/components/VvDialog/{VvDialog.d.ts → index.d.ts} +2 -6
- package/dist/components/VvDropdown/VvDropdown.es.js +227 -0
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +59 -146
- package/dist/components/VvDropdown/index.d.ts +49 -0
- package/dist/components/VvIcon/VvIcon.es.js +124 -0
- package/dist/components/VvIcon/VvIcon.umd.js +1 -0
- package/dist/components/VvIcon/VvIcon.vue.d.ts +36 -150
- package/dist/components/VvIcon/{VvIcon.d.ts → index.d.ts} +9 -0
- package/dist/components/VvInputText/VvInputClearAction.d.ts +36 -0
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +56 -0
- package/dist/components/VvInputText/VvInputStepAction.d.ts +37 -0
- package/dist/components/VvInputText/VvInputText.es.js +772 -0
- package/dist/components/VvInputText/VvInputText.umd.js +1 -0
- package/dist/components/VvInputText/VvInputText.vue.d.ts +211 -288
- package/dist/components/VvInputText/VvInputTextActions.d.ts +1 -1
- package/dist/components/VvInputText/index.d.ts +182 -0
- package/dist/components/VvProgress/VvProgress.es.js +71 -0
- package/dist/components/VvProgress/VvProgress.umd.js +1 -0
- package/dist/components/VvProgress/VvProgress.vue.d.ts +20 -107
- package/dist/components/VvProgress/index.d.ts +30 -0
- package/dist/components/VvRadio/VvRadio.es.js +320 -0
- package/dist/components/VvRadio/VvRadio.umd.js +1 -0
- package/dist/components/VvRadio/VvRadio.vue.d.ts +55 -125
- package/dist/components/VvRadio/index.d.ts +40 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +398 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +56 -238
- package/dist/components/VvRadioGroup/index.d.ts +32 -0
- package/dist/components/VvSelect/VvSelect.es.js +434 -0
- package/dist/components/VvSelect/VvSelect.umd.js +1 -0
- package/dist/components/VvSelect/VvSelect.vue.d.ts +125 -263
- package/dist/components/VvSelect/index.d.ts +89 -0
- package/dist/components/VvTextarea/VvTextarea.es.js +471 -0
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -0
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +140 -321
- package/dist/components/VvTextarea/index.d.ts +102 -0
- package/dist/components/common/HintSlot.d.ts +12 -6
- package/dist/components/index.d.ts +19 -12
- package/dist/components/index.es.js +2379 -0
- package/dist/components/index.umd.js +1 -0
- package/dist/composables/group/types/IAccordionGroupState.d.ts +3 -4
- package/dist/composables/group/types/IButtonGroupState.d.ts +5 -11
- package/dist/composables/group/types/IGroupState.d.ts +3 -6
- package/dist/composables/group/types/IInputGroup.d.ts +1 -4
- package/dist/composables/group/useInjectedGroupState.d.ts +4 -4
- package/dist/composables/group/useProvideGroupState.d.ts +2 -2
- package/dist/composables/useComponentFocus.d.ts +4 -0
- package/dist/composables/{icons/useComponentIcons.d.ts → useComponentIcons.d.ts} +3 -2
- package/dist/composables/useDebouncedInput.d.ts +2 -0
- package/dist/composables/useOptions.d.ts +6 -0
- package/dist/composables/useTextCount.d.ts +10 -0
- package/dist/constants.d.ts +4 -4
- package/dist/icons.d.ts +1881 -0
- package/dist/icons.es.js +12 -14
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.es.js +2420 -0
- package/dist/index.umd.js +1 -0
- package/dist/props/index.d.ts +328 -30
- package/dist/resolvers/unplugin.d.ts +27 -0
- package/dist/resolvers/unplugin.es.js +42 -0
- package/dist/resolvers/unplugin.umd.js +1 -0
- package/dist/stories/Accordion/Accordion.settings.d.ts +63 -0
- package/dist/stories/Accordion/Accordion.test.d.ts +2 -0
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +58 -0
- package/dist/stories/AccordionGroup/AccordionGroup.test.d.ts +2 -0
- package/dist/stories/Badge/Badge.settings.d.ts +32 -0
- package/dist/stories/Badge/Badge.test.d.ts +2 -0
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +29 -0
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +2 -0
- package/dist/stories/Button/Button.settings.d.ts +198 -0
- package/dist/stories/Button/Button.test.d.ts +1 -10
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +47 -0
- package/dist/stories/ButtonGroup/ButtonGroup.test.d.ts +2 -0
- package/dist/stories/Card/Card.settings.d.ts +70 -0
- package/dist/stories/Card/Card.test.d.ts +2 -0
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +165 -0
- package/dist/stories/Checkbox/Checkbox.test.d.ts +2 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +164 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.test.d.ts +2 -0
- package/dist/stories/Combobox/Combobox.settings.d.ts +286 -0
- package/dist/stories/Combobox/Combobox.test.d.ts +2 -0
- package/dist/stories/Dialog/Dialog.settings.d.ts +55 -0
- package/dist/stories/Dialog/Dialog.test.d.ts +2 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +85 -0
- package/dist/stories/Dropdown/Dropdown.test.d.ts +2 -0
- package/dist/stories/Icon/Icon.settings.d.ts +74 -0
- package/dist/stories/InputText/InputText.settings.d.ts +445 -0
- package/dist/stories/InputText/InputText.test.d.ts +2 -0
- package/dist/stories/Progress/Progress.settings.d.ts +38 -0
- package/dist/stories/Progress/Progress.test.d.ts +2 -0
- package/dist/stories/Radio/Radio.settings.d.ts +139 -0
- package/dist/stories/Radio/Radio.test.d.ts +2 -0
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +164 -0
- package/dist/stories/RadioGroup/RadioGroup.test.d.ts +2 -0
- package/dist/stories/Select/Select.settings.d.ts +284 -0
- package/dist/stories/Select/Select.test.d.ts +2 -0
- package/dist/stories/Textarea/Textarea.settings.d.ts +336 -0
- package/dist/stories/Textarea/Textarea.test.d.ts +2 -0
- package/dist/stories/argTypes.d.ts +842 -0
- package/dist/test/expect.d.ts +3 -0
- package/dist/test/options.d.ts +1 -0
- package/dist/test/sleep.d.ts +1 -0
- package/dist/utils/ObjectUtilities.d.ts +82 -95
- package/env.d.ts +1 -0
- package/package.json +199 -126
- package/src/{DesignSystem.ts → Volver.ts} +57 -29
- 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 +94 -78
- package/src/components/VvAccordion/index.ts +72 -0
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +93 -53
- package/src/components/VvAccordionGroup/{VvAccordionGroup.ts → index.ts} +18 -14
- package/src/components/VvBadge/VvBadge.vue +17 -8
- package/src/components/VvBadge/index.ts +6 -0
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +26 -24
- package/src/components/VvBreadcrumb/{VvBreadcrumb.ts → index.ts} +1 -2
- package/src/components/VvButton/VvButton.vue +174 -153
- package/src/components/VvButton/index.ts +189 -0
- package/src/components/VvButtonGroup/VvButtonGroup.vue +76 -48
- package/src/components/VvButtonGroup/index.ts +16 -0
- package/src/components/VvCard/VvCard.vue +20 -22
- package/src/components/VvCard/{VvCard.ts → index.ts} +1 -1
- package/src/components/VvCheckbox/VvCheckbox.vue +172 -0
- package/src/components/VvCheckbox/index.ts +60 -0
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +85 -0
- package/src/components/VvCheckboxGroup/index.ts +5 -0
- package/src/components/VvCombobox/VvCombobox.vue +261 -0
- package/src/components/VvCombobox/index.ts +88 -0
- package/src/components/VvDialog/VvDialog.vue +69 -67
- package/src/components/VvDialog/index.ts +10 -0
- package/src/components/VvDropdown/VvDropdown.vue +115 -114
- package/src/components/VvDropdown/index.ts +35 -0
- package/src/components/VvIcon/README.md +64 -0
- package/src/components/VvIcon/VvIcon.vue +122 -107
- package/src/components/VvIcon/{VvIcon.ts → index.ts} +17 -8
- package/src/components/VvInputText/VvInputClearAction.ts +53 -0
- package/src/components/VvInputText/VvInputPasswordAction.ts +70 -0
- package/src/components/VvInputText/VvInputStepAction.ts +49 -0
- package/src/components/VvInputText/VvInputText.vue +307 -238
- package/src/components/VvInputText/VvInputTextActions.ts +63 -114
- package/src/components/VvInputText/index.ts +140 -0
- package/src/components/VvProgress/VvProgress.vue +29 -29
- package/src/components/VvProgress/index.ts +32 -0
- package/src/components/VvRadio/VvRadio.vue +90 -119
- package/src/components/VvRadio/index.ts +40 -0
- package/src/components/VvRadioGroup/VvRadioGroup.vue +76 -69
- package/src/components/VvRadioGroup/index.ts +5 -0
- package/src/components/VvSelect/VvSelect.vue +187 -186
- package/src/components/VvSelect/index.ts +71 -0
- package/src/components/VvTextarea/VvTextarea.vue +188 -174
- package/src/components/VvTextarea/index.ts +50 -0
- package/src/components/common/HintSlot.ts +167 -137
- package/src/components/index.ts +19 -12
- package/src/composables/group/types/IAccordionGroupState.ts +3 -4
- package/src/composables/group/types/IButtonGroupState.ts +5 -11
- package/src/composables/group/types/IGroupState.ts +4 -6
- package/src/composables/group/types/IInputGroup.ts +1 -4
- package/src/composables/group/useInjectedGroupState.ts +23 -35
- package/src/composables/group/useProvideGroupState.ts +5 -7
- package/src/composables/useComponentFocus.ts +17 -0
- package/src/composables/{icons/useComponentIcons.ts → useComponentIcons.ts} +29 -20
- package/src/composables/useDebouncedInput.ts +25 -0
- package/src/composables/useModifiers.ts +18 -20
- package/src/composables/useOptions.ts +31 -0
- package/src/composables/useTextCount.ts +57 -0
- package/src/constants.ts +5 -7
- package/src/directives/{.README → .gitkeep} +0 -0
- package/src/icons.ts +7 -0
- package/src/index.ts +12 -5
- package/src/props/index.ts +204 -36
- package/src/resolvers/unplugin.ts +112 -0
- package/src/shims.d.ts +13 -0
- package/src/stories/Accordion/Accordion.settings.ts +46 -0
- package/src/stories/Accordion/Accordion.stories.mdx +21 -21
- package/src/stories/Accordion/Accordion.test.ts +61 -0
- package/src/stories/Accordion/AccordionSlots.stories.mdx +46 -70
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +55 -0
- package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +24 -27
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +50 -0
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +56 -0
- package/src/stories/Badge/Badge.settings.ts +26 -0
- package/src/stories/Badge/Badge.stories.mdx +36 -24
- package/src/stories/Badge/Badge.test.ts +12 -0
- package/src/stories/Badge/BadgeSlots.stories.mdx +20 -0
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +32 -29
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +50 -0
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.mdx +43 -0
- package/src/stories/Button/Button.settings.ts +145 -0
- package/src/stories/Button/Button.stories.mdx +20 -54
- package/src/stories/Button/Button.test.ts +35 -46
- package/src/stories/Button/ButtonIcon.stories.mdx +139 -29
- package/src/stories/Button/ButtonLink.stories.mdx +58 -111
- package/src/stories/Button/ButtonLoading.stories.mdx +89 -62
- package/src/stories/Button/ButtonModifiers.stories.mdx +198 -121
- package/src/stories/Button/ButtonSlots.stories.mdx +83 -95
- package/src/stories/Button/ButtonState.stories.mdx +75 -0
- package/src/stories/Button/ButtonToggle.stories.mdx +50 -0
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +33 -0
- package/src/stories/ButtonGroup/ButtonGroup.stories.mdx +16 -18
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +35 -0
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.mdx +52 -0
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +37 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.mdx +52 -110
- package/src/stories/Card/Card.settings.ts +55 -0
- package/src/stories/Card/Card.stories.mdx +27 -11
- package/src/stories/Card/Card.test.ts +23 -0
- package/src/stories/Card/CardSlots.stories.mdx +80 -24
- package/src/stories/Checkbox/Checkbox.settings.ts +43 -0
- package/src/stories/Checkbox/Checkbox.stories.mdx +163 -0
- package/src/stories/Checkbox/Checkbox.test.ts +81 -0
- package/src/stories/Checkbox/CheckboxBinary.stories.mdx +68 -0
- package/src/stories/Checkbox/CheckboxSlots.stories.mdx +46 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +15 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +134 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +83 -0
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.mdx +100 -0
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +67 -0
- package/src/stories/Combobox/Combobox.settings.ts +127 -0
- package/src/stories/Combobox/Combobox.stories.mdx +204 -0
- package/src/stories/Combobox/Combobox.test.ts +103 -0
- package/src/stories/Combobox/ComboboxMultiple.stories.mdx +74 -0
- package/src/stories/Combobox/ComboboxOptions.stories.mdx +100 -0
- package/src/stories/Combobox/ComboboxSlots.stories.mdx +48 -0
- package/src/stories/Dialog/Dialog.settings.ts +45 -0
- package/src/stories/Dialog/Dialog.stories.mdx +42 -16
- package/src/stories/Dialog/Dialog.test.ts +69 -0
- package/src/stories/Dialog/DialogSlots.stories.mdx +63 -0
- package/src/stories/Dropdown/Dropdown.settings.ts +51 -0
- package/src/stories/Dropdown/Dropdown.stories.mdx +102 -29
- package/src/stories/Dropdown/Dropdown.test.ts +43 -0
- package/src/stories/Dropdown/DropdownOptions.stories.mdx +87 -67
- package/src/stories/Icon/Icon.settings.ts +72 -0
- package/src/stories/Icon/Icon.stories.mdx +76 -59
- package/src/stories/Icon/IconsCollection.stories.mdx +68 -0
- package/src/stories/InputText/InputText.settings.ts +221 -0
- package/src/stories/InputText/InputText.stories.mdx +142 -69
- package/src/stories/InputText/InputText.test.ts +125 -0
- package/src/stories/InputText/InputTextIconPosition.stories.mdx +63 -16
- package/src/stories/InputText/InputTextLength.stories.mdx +110 -0
- package/src/stories/InputText/InputTextMinMax.stories.mdx +112 -0
- package/src/stories/InputText/InputTextSlots.stories.mdx +61 -22
- package/src/stories/InputText/InputTextType.stories.mdx +207 -29
- package/src/stories/Progress/Progress.settings.ts +33 -0
- package/src/stories/Progress/Progress.stories.mdx +12 -14
- package/src/stories/Progress/Progress.test.ts +9 -0
- package/src/stories/Radio/Radio.settings.ts +15 -0
- package/src/stories/Radio/Radio.stories.mdx +102 -42
- package/src/stories/Radio/Radio.test.ts +70 -0
- package/src/stories/Radio/RadioSlots.stories.mdx +39 -22
- package/src/stories/RadioGroup/RadioGroup.settings.ts +15 -0
- package/src/stories/RadioGroup/RadioGroup.stories.mdx +115 -54
- package/src/stories/RadioGroup/RadioGroup.test.ts +83 -0
- package/src/stories/RadioGroup/RadioGroupOptions.stories.mdx +83 -41
- package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +49 -144
- package/src/stories/Select/Select.settings.ts +86 -0
- package/src/stories/Select/Select.stories.mdx +173 -33
- package/src/stories/Select/Select.test.ts +82 -0
- package/src/stories/Select/SelectOptions.stories.mdx +91 -69
- package/src/stories/Select/SelectSlots.stories.mdx +48 -0
- package/src/stories/Textarea/Textarea.settings.ts +96 -0
- package/src/stories/Textarea/Textarea.stories.mdx +167 -47
- package/src/stories/Textarea/Textarea.test.ts +90 -0
- package/src/stories/Textarea/TextareaLength.stories.mdx +110 -0
- package/src/stories/Textarea/TextareaSlots.stories.mdx +61 -23
- package/src/stories/Textarea/TextareatIconPosition.stories.mdx +78 -0
- package/src/stories/argTypes.ts +457 -0
- package/src/test/expect.ts +27 -6
- package/src/test/options.ts +17 -0
- package/src/test/sleep.ts +2 -0
- package/src/test/types.d.ts +14 -0
- package/src/types/generic.d.ts +5 -0
- package/src/utils/ObjectUtilities.ts +253 -244
- package/dist/components/VvAccordion/VvAccordion.d.ts +0 -32
- package/dist/components/VvAccordion/useAccordionProps.d.ts +0 -16
- package/dist/components/VvAccordion/vv-accordion.es.js +0 -262
- package/dist/components/VvAccordion/vv-accordion.umd.js +0 -1
- package/dist/components/VvAccordionGroup/vv-accordion-group.es.js +0 -315
- package/dist/components/VvAccordionGroup/vv-accordion-group.umd.js +0 -1
- package/dist/components/VvBadge/vv-badge.es.js +0 -18
- package/dist/components/VvBadge/vv-badge.umd.js +0 -1
- package/dist/components/VvBreadcrumb/vv-breadcrumb.es.js +0 -206
- package/dist/components/VvBreadcrumb/vv-breadcrumb.umd.js +0 -1
- package/dist/components/VvButton/VvButton.d.ts +0 -115
- package/dist/components/VvButton/useButtonGroupProps.d.ts +0 -23
- package/dist/components/VvButton/vv-button.es.js +0 -422
- package/dist/components/VvButton/vv-button.umd.js +0 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.d.ts +0 -57
- package/dist/components/VvButtonGroup/vv-button-group.es.js +0 -210
- package/dist/components/VvButtonGroup/vv-button-group.umd.js +0 -1
- package/dist/components/VvCard/vv-card.es.js +0 -188
- package/dist/components/VvCard/vv-card.umd.js +0 -1
- package/dist/components/VvCheck/VvCheck.d.ts +0 -47
- package/dist/components/VvCheck/VvCheck.vue.d.ts +0 -165
- package/dist/components/VvCheck/useCheckProps.d.ts +0 -16
- package/dist/components/VvCheck/vv-check.es.js +0 -321
- package/dist/components/VvCheck/vv-check.umd.js +0 -1
- package/dist/components/VvCheckGroup/VvCheckGroup.d.ts +0 -65
- package/dist/components/VvCheckGroup/VvCheckGroup.vue.d.ts +0 -272
- package/dist/components/VvCheckGroup/vv-check-group.es.js +0 -452
- package/dist/components/VvCheckGroup/vv-check-group.umd.js +0 -2
- package/dist/components/VvDialog/constants.d.ts +0 -5
- package/dist/components/VvDialog/vv-dialog.es.js +0 -315
- package/dist/components/VvDialog/vv-dialog.umd.js +0 -1
- package/dist/components/VvDropdown/VvDropdown.d.ts +0 -52
- package/dist/components/VvDropdown/vv-dropdown.es.js +0 -236
- package/dist/components/VvDropdown/vv-dropdown.umd.js +0 -1
- package/dist/components/VvIcon/vv-icon.es.js +0 -229
- package/dist/components/VvIcon/vv-icon.umd.js +0 -1
- package/dist/components/VvInputText/VvInputText.d.ts +0 -73
- package/dist/components/VvInputText/constants.d.ts +0 -55
- package/dist/components/VvInputText/vv-input-text.es.js +0 -725
- package/dist/components/VvInputText/vv-input-text.umd.js +0 -2
- package/dist/components/VvNativeSelect/VvNativeSelect.d.ts +0 -70
- package/dist/components/VvNativeSelect/VvNativeSelect.vue.d.ts +0 -228
- package/dist/components/VvNativeSelect/vv-native-select.es.js +0 -414
- package/dist/components/VvNativeSelect/vv-native-select.umd.js +0 -2
- package/dist/components/VvProgress/VvProgress.d.ts +0 -29
- package/dist/components/VvProgress/vv-progress.es.js +0 -185
- package/dist/components/VvProgress/vv-progress.umd.js +0 -1
- package/dist/components/VvRadio/VvRadio.d.ts +0 -22
- package/dist/components/VvRadio/useRadioProps.d.ts +0 -15
- package/dist/components/VvRadio/vv-radio.es.js +0 -309
- package/dist/components/VvRadio/vv-radio.umd.js +0 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.d.ts +0 -54
- package/dist/components/VvRadioGroup/vv-radio-group.es.js +0 -441
- package/dist/components/VvRadioGroup/vv-radio-group.umd.js +0 -2
- package/dist/components/VvSelect/VvSelect.d.ts +0 -99
- package/dist/components/VvSelect/vv-select.es.js +0 -445
- package/dist/components/VvSelect/vv-select.umd.js +0 -2
- package/dist/components/VvTextarea/VvTextarea.d.ts +0 -88
- package/dist/components/VvTextarea/constants.d.ts +0 -19
- package/dist/components/VvTextarea/vv-textarea.es.js +0 -548
- package/dist/components/VvTextarea/vv-textarea.umd.js +0 -2
- package/dist/composables/debouncedInput/useDebouncedInput.d.ts +0 -2
- package/dist/composables/focus/useComponentFocus.d.ts +0 -7
- package/dist/composables/options/useOptions.d.ts +0 -5
- package/dist/composables/textLimit/useTextLimit.d.ts +0 -14
- package/dist/stories/Icon/IconList.vue.d.ts +0 -44
- package/dist/stories/utils.d.ts +0 -5
- package/dist/ui-vue.es.js +0 -3001
- package/dist/ui-vue.umd.js +0 -2
- package/src/assets/icons/index.js +0 -7
- package/src/components/VvAccordion/VvAccordion.ts +0 -34
- package/src/components/VvAccordion/useAccordionProps.ts +0 -45
- package/src/components/VvBadge/VvBadge.ts +0 -4
- package/src/components/VvButton/VvButton.ts +0 -117
- package/src/components/VvButton/useButtonGroupProps.ts +0 -51
- package/src/components/VvButtonGroup/VvButtonGroup.ts +0 -37
- package/src/components/VvCheck/VvCheck.ts +0 -48
- package/src/components/VvCheck/VvCheck.vue +0 -149
- package/src/components/VvCheck/useCheckProps.ts +0 -41
- package/src/components/VvCheckGroup/VvCheckGroup.ts +0 -34
- package/src/components/VvCheckGroup/VvCheckGroup.vue +0 -84
- package/src/components/VvDialog/VvDialog.ts +0 -17
- package/src/components/VvDialog/constants.ts +0 -5
- package/src/components/VvDropdown/VvDropdown.ts +0 -46
- package/src/components/VvInputText/VvInputText.ts +0 -66
- package/src/components/VvInputText/constants.ts +0 -34
- package/src/components/VvNativeSelect/VvNativeSelect.ts +0 -70
- package/src/components/VvNativeSelect/VvNativeSelect.vue +0 -106
- package/src/components/VvProgress/VvProgress.ts +0 -28
- package/src/components/VvRadio/VvRadio.ts +0 -25
- package/src/components/VvRadio/useRadioProps.ts +0 -40
- package/src/components/VvRadioGroup/VvRadioGroup.ts +0 -25
- package/src/components/VvSelect/VvSelect.ts +0 -91
- package/src/components/VvTextarea/VvTextarea.ts +0 -64
- package/src/components/VvTextarea/constants.ts +0 -14
- package/src/composables/debouncedInput/useDebouncedInput.ts +0 -19
- package/src/composables/focus/useComponentFocus.ts +0 -22
- package/src/composables/options/useOptions.ts +0 -27
- package/src/composables/textLimit/useTextLimit.ts +0 -44
- package/src/stories/Accordion/AccordionBordered.stories.mdx +0 -26
- package/src/stories/Accordion/AccordionIconRight.stories.mdx +0 -32
- package/src/stories/Accordion/accordionTest.js +0 -36
- package/src/stories/AccordionGroup/Accordion.stories.mdx +0 -42
- package/src/stories/AccordionGroup/AccordionItems.stories.mdx +0 -51
- package/src/stories/AccordionGroup/accordionGroupTest.js +0 -51
- package/src/stories/Badge/BadgeColor.stories.mdx +0 -54
- package/src/stories/Badge/BadgeDot.stories.mdx +0 -20
- package/src/stories/Badge/BadgeTest.js +0 -21
- package/src/stories/Breadcrumb/BreadcrumbMultiline.stories.mdx +0 -41
- package/src/stories/Button/ButtonBadge.stories.mdx +0 -34
- package/src/stories/Button/ButtonIconPosition.stories.mdx +0 -106
- package/src/stories/Button/ButtonVariant.stories.mdx +0 -205
- package/src/stories/Button/test.js +0 -41
- package/src/stories/ButtonGroup/ButtonGroupAction.stories.mdx +0 -83
- package/src/stories/ButtonGroup/ButtonGroupActionQuiet.stories.mdx +0 -50
- package/src/stories/ButtonGroup/ButtonGroupBlock.stories.mdx +0 -40
- package/src/stories/ButtonGroup/ButtonGroupCompact.stories.mdx +0 -38
- package/src/stories/ButtonGroup/ButtonGroupRounded.stories.mdx +0 -77
- package/src/stories/ButtonGroup/ButtonGroupTest.js +0 -61
- package/src/stories/ButtonGroup/ButtonGroupVertical.stories.mdx +0 -38
- package/src/stories/Card/CardVariant.stories.mdx +0 -37
- package/src/stories/Check/Check.stories.mdx +0 -62
- package/src/stories/Check/CheckBinary.stories.mdx +0 -80
- package/src/stories/Check/CheckDisabled.stories.mdx +0 -30
- package/src/stories/Check/CheckError.stories.mdx +0 -64
- package/src/stories/Check/CheckErrorTests.js +0 -72
- package/src/stories/Check/CheckHintLabel.stories.mdx +0 -30
- package/src/stories/Check/CheckPropertyTest.js +0 -101
- package/src/stories/Check/CheckReadonly.stories.mdx +0 -30
- package/src/stories/Check/CheckSlots.stories.mdx +0 -51
- package/src/stories/Check/CheckSwitch.stories.mdx +0 -30
- package/src/stories/CheckGroup/CheckGroup.stories.mdx +0 -69
- package/src/stories/CheckGroup/CheckGroupDisabled.stories.mdx +0 -26
- package/src/stories/CheckGroup/CheckGroupError.stories.mdx +0 -28
- package/src/stories/CheckGroup/CheckGroupHintLabel.stories.mdx +0 -27
- package/src/stories/CheckGroup/CheckGroupLabel.stories.mdx +0 -26
- package/src/stories/CheckGroup/CheckGroupOptionLabel.stories.mdx +0 -48
- package/src/stories/CheckGroup/CheckGroupOptionValue.stories.mdx +0 -48
- package/src/stories/CheckGroup/CheckGroupOptions.stories.mdx +0 -40
- package/src/stories/CheckGroup/CheckGroupReadonly.stories.mdx +0 -26
- package/src/stories/CheckGroup/CheckGroupSlots.stories.mdx +0 -152
- package/src/stories/CheckGroup/CheckGroupValid.stories.mdx +0 -28
- package/src/stories/CheckGroup/CheckGroupVertical.stories.mdx +0 -26
- package/src/stories/Dialog/DialogAutoClose.stories.mdx +0 -18
- package/src/stories/Dialog/DialogSize.stories.mdx +0 -36
- package/src/stories/Dropdown/DropdownDisabled.stories.mdx +0 -25
- package/src/stories/Dropdown/DropdownLabelNoResults.stories.mdx +0 -25
- package/src/stories/Dropdown/DropdownMaxValues.stories.mdx +0 -26
- package/src/stories/Dropdown/DropdownMultiple.stories.mdx +0 -56
- package/src/stories/Dropdown/DropdownUseObject.stories.mdx +0 -58
- package/src/stories/Icon/IconList.vue +0 -34
- package/src/stories/Icon/IconPrefix.stories.mdx +0 -79
- package/src/stories/Icon/IconRemote.stories.mdx +0 -39
- package/src/stories/Icon/IconTest.js +0 -27
- package/src/stories/Icon/IconsList.stories.mdx +0 -35
- package/src/stories/InputText/InputTextAutocomplete.stories.mdx +0 -15
- package/src/stories/InputText/InputTextAutofocus.stories.mdx +0 -20
- package/src/stories/InputText/InputTextDisabled.stories.mdx +0 -19
- package/src/stories/InputText/InputTextError.stories.mdx +0 -19
- package/src/stories/InputText/InputTextFloating.stories.mdx +0 -20
- package/src/stories/InputText/InputTextHintLabel.stories.mdx +0 -18
- package/src/stories/InputText/InputTextIcon.stories.mdx +0 -18
- package/src/stories/InputText/InputTextLabel.stories.mdx +0 -15
- package/src/stories/InputText/InputTextLoading.stories.mdx +0 -19
- package/src/stories/InputText/InputTextMax.stories.mdx +0 -31
- package/src/stories/InputText/InputTextMaxLength.stories.mdx +0 -36
- package/src/stories/InputText/InputTextMin.stories.mdx +0 -31
- package/src/stories/InputText/InputTextMinLength.stories.mdx +0 -15
- package/src/stories/InputText/InputTextPlaceholder.stories.mdx +0 -15
- package/src/stories/InputText/InputTextReadonly.stories.mdx +0 -19
- package/src/stories/InputText/InputTextStep.stories.mdx +0 -31
- package/src/stories/InputText/InputTextValid.stories.mdx +0 -19
- package/src/stories/NativeSelect/NativeSelect.stories.mdx +0 -53
- package/src/stories/NativeSelect/NativeSelectDisabled.stories.mdx +0 -32
- package/src/stories/NativeSelect/NativeSelectError.stories.mdx +0 -36
- package/src/stories/NativeSelect/NativeSelectHintLabel.stories.mdx +0 -34
- package/src/stories/NativeSelect/NativeSelectIconLeftRight.stories.mdx +0 -42
- package/src/stories/NativeSelect/NativeSelectLoading.stories.mdx +0 -27
- package/src/stories/NativeSelect/NativeSelectOptions.stories.mdx +0 -78
- package/src/stories/NativeSelect/NativeSelectReadonly.stories.mdx +0 -34
- package/src/stories/NativeSelect/NativeSelectUseObject.stories.mdx +0 -66
- package/src/stories/NativeSelect/NativeSelectValid.stories.mdx +0 -36
- package/src/stories/NativeSelect/NativeSelectValueKey.stories.mdx +0 -66
- package/src/stories/Progress/ProgressDeterminate.stories.mdx +0 -19
- package/src/stories/Radio/RadioDisabled.stories.mdx +0 -30
- package/src/stories/Radio/RadioError.stories.mdx +0 -64
- package/src/stories/Radio/RadioHintLabel.stories.mdx +0 -30
- package/src/stories/Radio/RadioTest.js +0 -89
- package/src/stories/RadioGroup/RadioGroupDisabled.stories.mdx +0 -29
- package/src/stories/RadioGroup/RadioGroupError.stories.mdx +0 -31
- package/src/stories/RadioGroup/RadioGroupHintLabel.stories.mdx +0 -28
- package/src/stories/RadioGroup/RadioGroupLabel.stories.mdx +0 -29
- package/src/stories/RadioGroup/RadioGroupOptionLabel.stories.mdx +0 -65
- package/src/stories/RadioGroup/RadioGroupOptionValue.stories.mdx +0 -65
- package/src/stories/RadioGroup/RadioGroupReadonly.stories.mdx +0 -29
- package/src/stories/RadioGroup/RadioGroupValid.stories.mdx +0 -31
- package/src/stories/RadioGroup/RadioGroupVertical.stories.mdx +0 -29
- package/src/stories/RadioGroup/RadioOptionsTest.js +0 -78
- package/src/stories/RadioGroup/RadioPropertyTest.js +0 -131
- package/src/stories/RadioGroup/RadioSlotsTest.js +0 -20
- package/src/stories/Select/SelectDisabled.stories.mdx +0 -32
- package/src/stories/Select/SelectMaxValues.stories.mdx +0 -33
- package/src/stories/Select/SelectMultiple.stories.mdx +0 -64
- package/src/stories/Select/SelectSearchable.stories.mdx +0 -80
- package/src/stories/Select/SelectSeparator.stories.mdx +0 -64
- package/src/stories/Select/SelectUseObject.stories.mdx +0 -66
- package/src/stories/Textarea/TextareaAutoclear.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaAutocomplete.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaAutofocus.stories.mdx +0 -24
- package/src/stories/Textarea/TextareaDebounce.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaDisabled.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaError.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaErrorLabel.stories.mdx +0 -37
- package/src/stories/Textarea/TextareaFloating.stories.mdx +0 -25
- package/src/stories/Textarea/TextareaHintLabel.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaIcon.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaIconPosition.stories.mdx +0 -39
- package/src/stories/Textarea/TextareaId.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaLabel.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaLimit.stories.mdx +0 -50
- package/src/stories/Textarea/TextareaLoading.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaLoadingLabel.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaMaxLength.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaMinLength.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaModifiers.stories.mdx +0 -24
- package/src/stories/Textarea/TextareaName.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaPlaceholder.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaReadonly.stories.mdx +0 -23
- package/src/stories/Textarea/TextareaRequired.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaResizable.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaRowsCols.stories.mdx +0 -39
- package/src/stories/Textarea/TextareaValid.stories.mdx +0 -22
- package/src/stories/Textarea/TextareaValidLabel.stories.mdx +0 -35
- package/src/stories/stories.scss +0 -35
- package/src/stories/utils.ts +0 -12
- package/src/stories/volver-ui-vue.stories.mdx +0 -77
- package/src/types/.README +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(function(e,P){typeof exports=="object"&&typeof module<"u"?module.exports=P(require("vue"),require("@iconify/vue"),require("@vueuse/core")):typeof define=="function"&&define.amd?define(["vue","@iconify/vue","@vueuse/core"],P):(e=typeof globalThis<"u"?globalThis:e||self,e.VvInputText=P(e.vue,e.vue$1,e.core))})(this,function(e,P,O){"use strict";const S={equals(n,r,t){return t?this.resolveFieldData(n,t)===this.resolveFieldData(r,t):this.deepEquals(n,r)},deepEquals(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){const t=Array.isArray(n),s=Array.isArray(r);let o,i,a;if(t&&s){if(i=n.length,i!=r.length)return!1;for(o=i;o--!==0;)if(!this.deepEquals(n[o],r[o]))return!1;return!0}if(t!=s)return!1;const f=n instanceof Date,c=r instanceof Date;if(f!=c)return!1;if(f&&c)return n.getTime()==r.getTime();const A=n instanceof RegExp,l=r instanceof RegExp;if(A!=l)return!1;if(A&&l)return n.toString()==r.toString();const u=Object.keys(n);if(i=u.length,i!==Object.keys(r).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,u[o]))return!1;for(o=i;o--!==0;)if(a=u[o],!this.deepEquals(n[a],r[a]))return!1;return!0}return n!==n&&r!==r},resolveFieldData(n,r){if(n&&Object.keys(n).length&&r){if(r.indexOf(".")===-1)return n[r];{const t=r.split(".");let s=n;for(let o=0,i=t.length;o<i;++o){if(n==null)return null;s=s[t[o]]}return s}}else return null},isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)},findIndexInList(n,r){let t=-1;if(r){for(let s=0;s<r.length;s++)if(this.equals(r[s],n)){t=s;break}}return t},contains(n,r){if(n!=null&&r&&r.length){for(const t of r)if(this.equals(n,t))return!0}return!1},isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&typeof n=="object"&&Object.keys(n).length===0},isNotEmpty(n){return!this.isEmpty(n)},pickBy(n,r){return Object.fromEntries(Object.entries(n).filter(([t])=>r(t)))},removeFromList(n,r){const t=this.findIndexInList(n,r);return t>-1?r.filter((s,o)=>o!==t):r},isString(n){return typeof n=="string"||n instanceof String},propsToObject(n){return Object.keys(n).reduce((r,t)=>{var s,o,i,a,f;return this.isFunction(n[t])?r[t]=n[t]():Array.isArray(n[t])?r[t]=n[t][0]():(s=n[t])!=null&&s.type&&(Array.isArray(n[t].type)?r[t]=((o=n[t])==null?void 0:o.default)||((i=n[t])==null?void 0:i.type[0]()):r[t]=((a=n[t])==null?void 0:a.default)||((f=n[t])==null?void 0:f.type())),r},{})},filterArray(n,r,t){return n.filter(s=>r.some(o=>typeof o=="string"?s[t]==o:this.equals(s[t],o[t])))},kebabCase(n){var r,t;if(n)return(t=(r=n.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g))==null?void 0:r.join("-"))==null?void 0:t.toLowerCase()}},Y={valid:Boolean,validLabel:[String,Array]},q={error:Boolean,errorLabel:[String,Array]},H={loading:Boolean,loadingLabel:String},U={modifiers:[String,Array]},W={hintLabel:{type:String,default:""}},z={limit:{type:[Boolean,String],default:!1,validator:n=>[!0,!1,"countdown"].includes(n)}},_={TEXT:"text",PASSWORD:"password",DATE:"date",DATETIME_LOCAL:"datetime-local",NUMBER:"number",TIME:"time",EMAIL:"email",TEL:"tel",URL:"url",COLOR:"color",SEARCH:"search",FILE:"file"},k={LEFT:"left",RIGHT:"right"},w={PASSWORD_ON:"eye-on",PASSWORD_OFF:"eye-off",DATE:"calendar",TIME:"time",COLOR:"color",SEARCH:"search"},m={TYPES:_,ICON_POSITIONS:k,TYPES_ICON:w},Z=["update:modelValue","focus","blur"],G={...Y,...q,...W,...H,...U,...z,modelValue:null,type:{type:String,default:_.TEXT,validator:n=>Object.values(_).includes(n)},id:String,name:{type:String,required:!0},autocomplete:{type:String,default:"off"},autofocus:Boolean,minlength:Number,maxlength:Number,min:[Number,Date],max:[Number,Date],step:Number,label:String,disabled:Boolean,readonly:Boolean,placeholder:String,icon:{type:String,default:""},iconPosition:{type:String,validation:n=>Object.values(k).includes(n),default:k.RIGHT},floating:Boolean,debounce:Number,autoclear:Boolean},X={color:String,width:{type:[String,Number]},height:{type:[String,Number]},name:{type:String,required:!0},provider:{type:String},prefix:{type:String,default:"normal"},src:String,horizontalFlip:Boolean,verticalFlip:Boolean,flip:String,mode:String,inline:Boolean,rotate:[Number,String],onLoad:Function,svg:String,modifiers:{type:[String,Array]}};function J(n,r){const t={[`${n}`]:!0};return{bemCssClasses:e.computed(()=>Object.keys(r).reduce((o,i)=>{const a=e.unref(r[i])||!1;if(!a)return o;if(i==="modifiers"){const f=Array.isArray(a)?a:[a];return{...o,...f.reduce((c,A)=>({...c,[`${n}--${S.kebabCase(A)}`]:!0}),{})}}else return{...o,[`${n}--${S.kebabCase(i)}`]:a}},t)||{})}}function K(n,r){const t={[`${n}`]:!0};return Object.keys(r).reduce((s,o)=>{const i=e.unref(r[o])||!1;if(!i)return s;if(o==="modifiers"){const a=Array.isArray(i)?i:[i];return{...s,...a.reduce((f,c)=>({...f,[`${n}--${S.kebabCase(c)}`]:!0}),{})}}else return{...s,[`${n}--${S.kebabCase(o)}`]:i}},t)||{}}const T=e.defineComponent({__name:"VvIcon",props:X,setup(n){const r=n,t=e.ref(!0),{modifiers:s}=e.toRefs(r),o=e.inject("ds"),{bemCssClasses:i}=J("vv-icon",{modifiers:s}),a=e.computed(()=>r.provider||(o==null?void 0:o.provider)),f=e.computed(()=>{const l=r.name||"",u=`@${a.value}:${r.prefix}:${r.name}`;return P.iconExists(l)?l:P.iconExists(u)?u:(o==null?void 0:o.iconsCollections.find(h=>{const d=`@${a.value}:${h.prefix}:${l}`;if(P.iconExists(d))return d}))||l});function c(l){let u=null;if(typeof window>"u"){const{JSDOM:b}=require("jsdom");u=new b().window}return(u?new u.DOMParser:new window.DOMParser).parseFromString(l,"text/html").querySelector("svg")}function A(l){const u=c(l),h=(u==null?void 0:u.innerHTML.trim())||"";u&&h&&P.addIcon(`@${a.value}:${r.prefix}:${r.name}`,{body:h,height:u.viewBox.baseVal.height,width:u.viewBox.baseVal.width})}return o&&(r.src?(t.value=!1,o.fetchIcon(r.src).then(l=>{l&&(A(l),t.value=!0)}).catch(l=>{throw new Error(`During fetch icon: ${l==null?void 0:l.message}`)})):r.svg&&A(r.svg)),(l,u)=>t.value?(e.openBlock(),e.createBlock(e.unref(P.Icon),e.mergeProps({key:0,class:e.unref(i)},{...l.$props,provider:e.unref(a),icon:e.unref(f)}),null,16,["class"])):e.createCommentVNode("",!0)}});function D(n){return Array.isArray(n)?n.filter(r=>S.isString(r)).reduce((r,t)=>r.length>0?r+`
|
|
2
|
-
`+t:t,""):n}function Q(n,r){return{name:"HintSlot",props:{params:{type:Object,default:()=>{}}},setup(t){const s=e.toRefs(n),{error:o,valid:i,hint:a,loading:f}=r,{hintLabel:c,modelValue:A,valid:l,validLabel:u,error:h,errorLabel:d}=s,y=S.resolveFieldData(s,"loading"),b=S.resolveFieldData(s,"loadingLabel"),I=e.computed(()=>h.value?!!(h.value&&o||(d==null?void 0:d.value)&&Array.isArray(d.value)&&d.value.length>0||(d==null?void 0:d.value)&&S.isNotEmpty(d.value)):!1),x=e.computed(()=>!!(c&&c.value||a||i||u&&u.value||I.value||(y==null?void 0:y.value)&&f||(y==null?void 0:y.value)&&(b==null?void 0:b.value))),B=e.computed(()=>{const C=O.toReactive({hintLabel:c,modelValue:A,valid:l,validLabel:u,error:h,errorLabel:d,loading:y,loadingLabel:b,...t.params});return h!=null&&h.value?(o==null?void 0:o(C))||D(d==null?void 0:d.value)||(c==null?void 0:c.value):l!=null&&l.value?(i==null?void 0:i(C))||D(u==null?void 0:u.value)||(c==null?void 0:c.value):y!=null&&y.value?(f==null?void 0:f(C))||D(b==null?void 0:b.value)||(c==null?void 0:c.value):(a==null?void 0:a(C))||D(c==null?void 0:c.value)||(c==null?void 0:c.value)});return{hasHint:x,hintContent:B}},render(){if(this.hasHint)return e.h("pre",{style:{"white-space":"pre"}},this.hintContent)}}}const $=e.defineComponent({components:{VvIcon:T},props:{disabled:Boolean},setup(n,{emit:r}){const t=e.ref(!1),s=e.computed(()=>t.value?w.PASSWORD_OFF:w.PASSWORD_ON);function o(){n.disabled||(t.value=!t.value,r(t.value?"action-password-on":"action-password-off"))}return{activeIcon:s,onClick:o}},render(){const n=e.h(T,{name:this.activeIcon});return e.h("button",{disabled:this.disabled,class:["vv-input-text__action"],onClick:this.onClick},n)}}),N=e.defineComponent({components:{VvIcon:T},props:{disabled:Boolean,mode:{type:String,validator:n=>["up","down"].includes(n),default:"up"}},setup(n,{emit:r}){function t(){n.disabled||r(n.mode==="up"?"action-step-up":"action-step-down")}return{onClick:t}},render(){return e.h("button",{class:["vv-input-text__action-chevron",this.mode==="up"&&"vv-input-text__action-chevron-up"],disabled:this.disabled,onClick:this.onClick})}});function L(n,r){return{name:"VvInputTextActions",components:{VvIcon:T,VvInputPasswordAction:$,VvInputStepAction:N},setup(){return{isDisabled:e.computed(()=>r.disabled||r.readonly)}},render(){let t=null;switch(n){case _.PASSWORD:{const{onActionPasswordOn:s,onActionPasswordOff:o}=this.$attrs;t=[e.h($,{disabled:this.isDisabled,onActionPasswordOn:s,onActionPasswordOff:o})];break}case _.NUMBER:{const{onActionStepUp:s,onActionStepDown:o}=this.$attrs;t=[e.h(N,{mode:"up",disabled:this.isDisabled,onActionStepUp:s,onActionStepDown:o}),e.h(N,{mode:"down",disabled:this.isDisabled,onActionStepUp:s,onActionStepDown:o})];break}default:{t=null;break}}return Array.isArray(t)?e.h("div",{class:"vv-input-text__actions-group"},t):t}}}function ee(n,r,t){const s=e.computed(()=>!!(n.value&&r.value==="left"||t.iconLeft)),o=e.computed(()=>!!(n.value&&r.value==="right"||t.iconRight)),i=e.computed(()=>!!(n.value&&r.value==="top"||t.iconTop)),a=e.computed(()=>!!(n.value&&r.value==="bottom"||t.iconBottom));return{hasIconLeft:s,hasIconRight:o,hasIconTop:i,hasIconBottom:a}}function te(n,r){const{focused:t}=O.useFocus(n);return e.watch(t,s=>{r(s?"focus":"blur",n.value)}),{focused:t}}function ne(n,r,t){const s=e.ref(n==null?void 0:n.value),o=O.refDebounced(s,r||0);return e.watch(o,i=>t("update:modelValue",i)),s}function re(n,r){const t=e.computed(()=>{const i=e.unref(n);return O.isString(i)?i.length:0}),s=e.computed(()=>{const i=e.unref(n)||"";return!O.isString(i)||r.mode===!1?0:r.mode===!0?i.length:e.unref(r.upperLimit)-i.length}),o=e.computed(()=>r.mode===!1?"":r.mode===!0&&r.upperLimit&&r.upperLimit>0?`${s.value}/${e.unref(r.upperLimit)}`:s.value);return{textLength:t,textLimitLength:s,formattedTextLimitLength:o}}const oe=["for"],se={class:"vv-input-text__wrapper"},ie={key:2,class:"vv-input-text__limit"},ae={inheritAttrs:!1};return e.defineComponent({...ae,__name:"VvInputText",props:G,emits:Z,setup(n,{emit:r}){const t=n,s=e.useSlots(),o=e.useAttrs(),i=e.ref(),{icon:a,iconPosition:f,label:c,modelValue:A,autoclear:l,limit:u}=e.toRefs(t),h=t.id||t.name,d=`${t.name}-label`,y=`${t.name}-hint`,b=e.computed(()=>t.floating&&S.isEmpty(t.placeholder)?" ":t.placeholder),I=ne(A,t.debounce,r),x=e.ref(!1),B=e.computed(()=>t.type===m.TYPES.PASSWORD),C=e.computed(()=>t.type===m.TYPES.NUMBER);function ce(){const g=t.max;!j.value&&I.value+1<=g&&(i.value.stepUp(),I.value=e.unref(i.value).value)}function le(){const g=t.min;!j.value&&I.value-1<=g&&(i.value.stepDown(),I.value=e.unref(i.value).value)}const{hasIconLeft:V,hasIconRight:F}=ee(a,f,{iconLeft:s["icon-left"],iconRight:s["icon-right"]}),R=e.computed(()=>{switch(t.type){case m.TYPES.PASSWORD:return m.TYPES_ICON.PASSWORD_OFF;case m.TYPES.COLOR:return m.TYPES_ICON.COLOR;case m.TYPES.DATE:case m.TYPES.DATETIME_LOCAL:return m.TYPES_ICON.DATE;case m.TYPES.TIME:return m.TYPES_ICON.TIME;case m.TYPES.SEARCH:return m.TYPES_ICON.SEARCH;default:return""}}),{textLength:ue,formattedTextLimitLength:de}=re(I,{mode:t.limit,upperLimit:t.maxlength||0}),{focused:M}=te(i,r),j=e.computed(()=>t.disabled||t.readonly),fe=e.computed(()=>{const g=F.value||S.isNotEmpty(R.value),p=t.floating&&S.isNotEmpty(t.label),E=S.isNotEmpty(A==null?void 0:A.value);return[K("vv-input-text",{modifiers:t.modifiers,readonly:t.readonly,valid:t.valid,invalid:t.error,loading:t.loading,iconLeft:V,iconRight:g,floating:p,dirty:E}),o.class]}),pe=e.computed(()=>{const{style:g}=o,p=S.pickBy(o,E=>E.startsWith("data-"));return{style:g,...p}}),me=e.computed(()=>{const g=B.value&&x.value?"text":t.type,p=S.pickBy(o,E=>E.startsWith("aria-"));return{id:h,type:g,placeholder:b.value,name:t.name,autocomplete:t.autocomplete,disabled:t.disabled,readonly:t.readonly,minlength:t.minlength,maxlength:t.maxlength,min:t.min,max:t.max,step:t.step,"aria-invalid":t.error,"aria-valid":!t.valid,"aria-labeledby":d,"aria-describedby":y,"aria-errormessage":y,...p}}),v=e.computed(()=>{const{modelValue:g,valid:p,error:E}=t;return{valid:p,error:E,modelValue:g}}),he=Q(t,s),ye=L(m.TYPES.PASSWORD,t),ge=L(m.TYPES.NUMBER,t);function Se(){I.value=null}return e.onMounted(()=>{t.autofocus&&(M.value=!0),console.log("Focused",M.value)}),(g,p)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps(e.unref(pe),{class:e.unref(fe)}),[e.unref(c)?(e.openBlock(),e.createElementBlock("label",{key:0,for:e.unref(h)},e.toDisplayString(e.unref(c)),9,oe)):e.createCommentVNode("",!0),e.createElementVNode("div",se,[e.unref(V)?e.renderSlot(g.$slots,"icon-left",e.normalizeProps(e.mergeProps({key:0},e.unref(v))),()=>[e.createVNode(T,{class:"vv-input-text__icon-left",name:e.unref(a)},null,8,["name"])]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_key:"input",ref:i},e.unref(me),{"onUpdate:modelValue":p[0]||(p[0]=E=>e.isRef(I)?I.value=E:null),onInput:p[1]||(p[1]=E=>r("input",E))}),null,16),[[e.vModelDynamic,e.unref(I)]]),e.unref(l)&&e.unref(ue)>0?(e.openBlock(),e.createElementBlock("button",{key:1,class:"vv-button vv-button--ghost",onClick:Se},[e.createVNode(T,{name:"clear-field"})])):e.createCommentVNode("",!0),e.renderSlot(g.$slots,"icon-right",e.normalizeProps(e.guardReactiveProps(e.unref(v))),()=>[e.unref(B)?(e.openBlock(),e.createBlock(e.unref(ye),{key:0,onActionPasswordOn:p[2]||(p[2]=E=>x.value=!0),onActionPasswordOff:p[3]||(p[3]=E=>x.value=!1)})):e.unref(C)?(e.openBlock(),e.createBlock(e.unref(ge),{key:1,onActionStepUp:ce,onActionStepDown:le})):e.unref(F)||e.unref(R)?(e.openBlock(),e.createBlock(T,{key:2,name:e.unref(a)||e.unref(R)},null,8,["name"])):e.createCommentVNode("",!0)]),e.unref(u)?(e.openBlock(),e.createElementBlock("span",ie,[e.renderSlot(g.$slots,"limit",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(de)),1)])])):e.createCommentVNode("",!0)]),e.createVNode(e.unref(he),{id:y,class:"vv-input-text__hint"})],16))}})});
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
export interface Option {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const VvNativeSelectProps: {
|
|
6
|
-
/**
|
|
7
|
-
* modelValue can be an Object, a String or an Array of Object/String
|
|
8
|
-
*/
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
11
|
-
required: boolean;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Select input label
|
|
15
|
-
*/
|
|
16
|
-
label: StringConstructor;
|
|
17
|
-
/**
|
|
18
|
-
* Select input placeholder
|
|
19
|
-
*/
|
|
20
|
-
placeholder: StringConstructor;
|
|
21
|
-
/**
|
|
22
|
-
* Select options, can be an Array of string or an array of objects
|
|
23
|
-
*/
|
|
24
|
-
options: {
|
|
25
|
-
type: PropType<(string | Option)[]>;
|
|
26
|
-
required: boolean;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Use objects as modelValue (object or object[])
|
|
30
|
-
*/
|
|
31
|
-
useObject: BooleanConstructor;
|
|
32
|
-
/**
|
|
33
|
-
* Used when options are objects: key to use for option label
|
|
34
|
-
*/
|
|
35
|
-
labelKey: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Used when options are objects: key to use for option label
|
|
41
|
-
*/
|
|
42
|
-
valueKey: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Icon name of icon in left position
|
|
48
|
-
*/
|
|
49
|
-
iconLeft: StringConstructor;
|
|
50
|
-
/**
|
|
51
|
-
* Icon name of icon in right position
|
|
52
|
-
*/
|
|
53
|
-
iconRight: StringConstructor;
|
|
54
|
-
/**
|
|
55
|
-
* String or String[] of css classes (modifiers) that will be concatenated to prefix 'vv-native-select--'
|
|
56
|
-
*/
|
|
57
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
58
|
-
readonly: BooleanConstructor;
|
|
59
|
-
disabled: BooleanConstructor;
|
|
60
|
-
loading: BooleanConstructor;
|
|
61
|
-
loadingLabel: StringConstructor;
|
|
62
|
-
hintLabel: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
error: BooleanConstructor;
|
|
67
|
-
errorLabel: (StringConstructor | ArrayConstructor)[];
|
|
68
|
-
valid: BooleanConstructor;
|
|
69
|
-
validLabel: (StringConstructor | ArrayConstructor)[];
|
|
70
|
-
};
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import { type Option } from './VvNativeSelect';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
readonly: boolean;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
error: boolean;
|
|
11
|
-
valid: boolean;
|
|
12
|
-
hintLabel: string;
|
|
13
|
-
useObject: boolean;
|
|
14
|
-
labelKey: string;
|
|
15
|
-
valueKey: string;
|
|
16
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
modelValue: {
|
|
18
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
19
|
-
required: boolean;
|
|
20
|
-
};
|
|
21
|
-
label: StringConstructor;
|
|
22
|
-
placeholder: StringConstructor;
|
|
23
|
-
options: {
|
|
24
|
-
type: import("vue").PropType<(string | Option)[]>;
|
|
25
|
-
required: boolean;
|
|
26
|
-
};
|
|
27
|
-
useObject: BooleanConstructor;
|
|
28
|
-
labelKey: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
valueKey: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
iconLeft: StringConstructor;
|
|
37
|
-
iconRight: StringConstructor;
|
|
38
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
39
|
-
readonly: BooleanConstructor;
|
|
40
|
-
disabled: BooleanConstructor;
|
|
41
|
-
loading: BooleanConstructor;
|
|
42
|
-
loadingLabel: StringConstructor;
|
|
43
|
-
hintLabel: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
error: BooleanConstructor;
|
|
48
|
-
errorLabel: (StringConstructor | ArrayConstructor)[];
|
|
49
|
-
valid: BooleanConstructor;
|
|
50
|
-
validLabel: (StringConstructor | ArrayConstructor)[];
|
|
51
|
-
}>> & {
|
|
52
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "readonly" | "loading" | "error" | "valid" | "hintLabel" | "useObject" | "labelKey" | "valueKey">;
|
|
54
|
-
$attrs: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
};
|
|
57
|
-
$refs: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
};
|
|
60
|
-
$slots: Readonly<{
|
|
61
|
-
[name: string]: import("vue").Slot | undefined;
|
|
62
|
-
}>;
|
|
63
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
64
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
65
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
66
|
-
$el: any;
|
|
67
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
modelValue: {
|
|
69
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
70
|
-
required: boolean;
|
|
71
|
-
};
|
|
72
|
-
label: StringConstructor;
|
|
73
|
-
placeholder: StringConstructor;
|
|
74
|
-
options: {
|
|
75
|
-
type: import("vue").PropType<(string | Option)[]>;
|
|
76
|
-
required: boolean;
|
|
77
|
-
};
|
|
78
|
-
useObject: BooleanConstructor;
|
|
79
|
-
labelKey: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
valueKey: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
iconLeft: StringConstructor;
|
|
88
|
-
iconRight: StringConstructor;
|
|
89
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
90
|
-
readonly: BooleanConstructor;
|
|
91
|
-
disabled: BooleanConstructor;
|
|
92
|
-
loading: BooleanConstructor;
|
|
93
|
-
loadingLabel: StringConstructor;
|
|
94
|
-
hintLabel: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
error: BooleanConstructor;
|
|
99
|
-
errorLabel: (StringConstructor | ArrayConstructor)[];
|
|
100
|
-
valid: BooleanConstructor;
|
|
101
|
-
validLabel: (StringConstructor | ArrayConstructor)[];
|
|
102
|
-
}>> & {
|
|
103
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
105
|
-
disabled: boolean;
|
|
106
|
-
readonly: boolean;
|
|
107
|
-
loading: boolean;
|
|
108
|
-
error: boolean;
|
|
109
|
-
valid: boolean;
|
|
110
|
-
hintLabel: string;
|
|
111
|
-
useObject: boolean;
|
|
112
|
-
labelKey: string;
|
|
113
|
-
valueKey: string;
|
|
114
|
-
}, {}, string> & {
|
|
115
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
120
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
121
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
122
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
125
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
126
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
127
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
128
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
129
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
130
|
-
};
|
|
131
|
-
$forceUpdate: () => void;
|
|
132
|
-
$nextTick: typeof import("vue").nextTick;
|
|
133
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
134
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
-
modelValue: {
|
|
136
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
137
|
-
required: boolean;
|
|
138
|
-
};
|
|
139
|
-
label: StringConstructor;
|
|
140
|
-
placeholder: StringConstructor;
|
|
141
|
-
options: {
|
|
142
|
-
type: import("vue").PropType<(string | Option)[]>;
|
|
143
|
-
required: boolean;
|
|
144
|
-
};
|
|
145
|
-
useObject: BooleanConstructor;
|
|
146
|
-
labelKey: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
valueKey: {
|
|
151
|
-
type: StringConstructor;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
iconLeft: StringConstructor;
|
|
155
|
-
iconRight: StringConstructor;
|
|
156
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
157
|
-
readonly: BooleanConstructor;
|
|
158
|
-
disabled: BooleanConstructor;
|
|
159
|
-
loading: BooleanConstructor;
|
|
160
|
-
loadingLabel: StringConstructor;
|
|
161
|
-
hintLabel: {
|
|
162
|
-
type: StringConstructor;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
error: BooleanConstructor;
|
|
166
|
-
errorLabel: (StringConstructor | ArrayConstructor)[];
|
|
167
|
-
valid: BooleanConstructor;
|
|
168
|
-
validLabel: (StringConstructor | ArrayConstructor)[];
|
|
169
|
-
}>> & {
|
|
170
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
171
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
172
|
-
__isFragment?: undefined;
|
|
173
|
-
__isTeleport?: undefined;
|
|
174
|
-
__isSuspense?: undefined;
|
|
175
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
176
|
-
modelValue: {
|
|
177
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
178
|
-
required: boolean;
|
|
179
|
-
};
|
|
180
|
-
label: StringConstructor;
|
|
181
|
-
placeholder: StringConstructor;
|
|
182
|
-
options: {
|
|
183
|
-
type: import("vue").PropType<(string | Option)[]>;
|
|
184
|
-
required: boolean;
|
|
185
|
-
};
|
|
186
|
-
useObject: BooleanConstructor;
|
|
187
|
-
labelKey: {
|
|
188
|
-
type: StringConstructor;
|
|
189
|
-
default: string;
|
|
190
|
-
};
|
|
191
|
-
valueKey: {
|
|
192
|
-
type: StringConstructor;
|
|
193
|
-
default: string;
|
|
194
|
-
};
|
|
195
|
-
iconLeft: StringConstructor;
|
|
196
|
-
iconRight: StringConstructor;
|
|
197
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
198
|
-
readonly: BooleanConstructor;
|
|
199
|
-
disabled: BooleanConstructor;
|
|
200
|
-
loading: BooleanConstructor;
|
|
201
|
-
loadingLabel: StringConstructor;
|
|
202
|
-
hintLabel: {
|
|
203
|
-
type: StringConstructor;
|
|
204
|
-
default: string;
|
|
205
|
-
};
|
|
206
|
-
error: BooleanConstructor;
|
|
207
|
-
errorLabel: (StringConstructor | ArrayConstructor)[];
|
|
208
|
-
valid: BooleanConstructor;
|
|
209
|
-
validLabel: (StringConstructor | ArrayConstructor)[];
|
|
210
|
-
}>> & {
|
|
211
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
212
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
213
|
-
disabled: boolean;
|
|
214
|
-
readonly: boolean;
|
|
215
|
-
loading: boolean;
|
|
216
|
-
error: boolean;
|
|
217
|
-
valid: boolean;
|
|
218
|
-
hintLabel: string;
|
|
219
|
-
useObject: boolean;
|
|
220
|
-
labelKey: string;
|
|
221
|
-
valueKey: string;
|
|
222
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
223
|
-
$slots: {
|
|
224
|
-
'icon-left': (_: {}) => any;
|
|
225
|
-
'icon-right': (_: {}) => any;
|
|
226
|
-
};
|
|
227
|
-
});
|
|
228
|
-
export default _default;
|