@volverjs/ui-vue 0.0.1-beta.6 → 0.0.1
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 +101 -7
- 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 +427 -0
- package/dist/components/VvButton/VvButton.umd.js +1 -0
- package/dist/components/VvButton/VvButton.vue.d.ts +108 -199
- package/dist/components/VvButton/index.d.ts +132 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +108 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +89 -183
- 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 +594 -0
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -0
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +153 -0
- package/dist/components/{VvSelect/VvSelect.d.ts → VvCombobox/index.d.ts} +33 -36
- 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 +218 -0
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +41 -147
- package/dist/components/VvDropdown/index.d.ts +37 -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 +764 -0
- package/dist/components/VvInputText/VvInputText.umd.js +1 -0
- package/dist/components/VvInputText/VvInputText.vue.d.ts +214 -256
- package/dist/components/VvInputText/VvInputTextActions.d.ts +3 -0
- 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 +415 -0
- package/dist/components/VvSelect/VvSelect.umd.js +1 -0
- package/dist/components/VvSelect/VvSelect.vue.d.ts +112 -262
- package/dist/components/VvSelect/index.d.ts +96 -0
- package/dist/components/VvTextarea/VvTextarea.es.js +463 -0
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -0
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +147 -273
- 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 +2309 -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} +8 -1
- package/dist/composables/useDebouncedInput.d.ts +2 -0
- package/dist/composables/useModifiers.d.ts +3 -2
- 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 +2350 -0
- package/dist/index.umd.js +1 -0
- package/dist/props/index.d.ts +322 -13
- package/dist/resolvers/unplugin.d.ts +27 -0
- package/dist/resolvers/unplugin.es.js +40 -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 +200 -0
- package/dist/stories/Button/Button.test.d.ts +1 -10
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +38 -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 +267 -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 +75 -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 +265 -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 +793 -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 +198 -124
- 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 -154
- package/src/components/VvButton/index.ts +171 -0
- package/src/components/VvButtonGroup/VvButtonGroup.vue +76 -48
- package/src/components/VvButtonGroup/index.ts +19 -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 +227 -0
- package/src/components/VvCombobox/index.ts +82 -0
- package/src/components/VvDialog/VvDialog.vue +69 -67
- package/src/components/VvDialog/index.ts +10 -0
- package/src/components/VvDropdown/VvDropdown.vue +112 -114
- package/src/components/VvDropdown/index.ts +25 -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 +293 -252
- package/src/components/VvInputText/VvInputTextActions.ts +100 -0
- 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 +165 -186
- package/src/components/VvSelect/index.ts +74 -0
- package/src/components/VvTextarea/VvTextarea.vue +188 -180
- package/src/components/VvTextarea/index.ts +50 -0
- package/src/components/common/HintSlot.ts +169 -121
- 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 +21 -33
- package/src/composables/group/useProvideGroupState.ts +5 -7
- package/src/composables/useComponentFocus.ts +17 -0
- package/src/composables/useComponentIcons.ts +96 -0
- package/src/composables/useDebouncedInput.ts +25 -0
- package/src/composables/useModifiers.ts +58 -14
- 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 -15
- package/src/resolvers/unplugin.ts +103 -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 +150 -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 +28 -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/ButtonGroupToggle.stories.mdx +45 -114
- 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 +122 -0
- package/src/stories/Combobox/Combobox.stories.mdx +153 -0
- package/src/stories/Combobox/Combobox.test.ts +96 -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 +42 -0
- package/src/stories/Dropdown/Dropdown.stories.mdx +85 -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 +100 -0
- package/src/stories/Select/Select.stories.mdx +113 -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 +160 -58
- 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 +433 -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 -424
- 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 -434
- 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 -59
- package/dist/components/VvInputText/constants.d.ts +0 -55
- package/dist/components/VvInputText/useInputNumber.d.ts +0 -16
- package/dist/components/VvInputText/useInputPassword.d.ts +0 -16
- package/dist/components/VvInputText/vv-input-text.es.js +0 -596
- 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 -395
- 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 -423
- package/dist/components/VvRadioGroup/vv-radio-group.umd.js +0 -2
- package/dist/components/VvSelect/vv-select.es.js +0 -427
- package/dist/components/VvSelect/vv-select.umd.js +0 -2
- package/dist/components/VvTextarea/VvTextarea.d.ts +0 -67
- package/dist/components/VvTextarea/constants.d.ts +0 -19
- package/dist/components/VvTextarea/vv-textarea.es.js +0 -472
- package/dist/components/VvTextarea/vv-textarea.umd.js +0 -2
- package/dist/composables/focus/useComponentFocus.d.ts +0 -7
- package/dist/composables/options/useOptions.d.ts +0 -5
- package/dist/stories/Icon/IconList.vue.d.ts +0 -44
- package/dist/ui-vue.es.js +0 -2985
- 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 -49
- package/src/components/VvInputText/constants.ts +0 -34
- package/src/components/VvInputText/useInputNumber.ts +0 -40
- package/src/components/VvInputText/useInputPassword.ts +0 -38
- 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 -55
- package/src/components/VvTextarea/constants.ts +0 -14
- package/src/composables/focus/useComponentFocus.ts +0 -22
- package/src/composables/icons/useComponentIcons.ts +0 -52
- package/src/composables/options/useOptions.ts +0 -27
- 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 -15
- 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/TextareaAutocomplete.stories.mdx +0 -15
- package/src/stories/Textarea/TextareaAutofocus.stories.mdx +0 -20
- package/src/stories/Textarea/TextareaDisabled.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaError.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaFloating.stories.mdx +0 -20
- package/src/stories/Textarea/TextareaHintLabel.stories.mdx +0 -18
- package/src/stories/Textarea/TextareaIcon.stories.mdx +0 -18
- package/src/stories/Textarea/TextareaIconPosition.stories.mdx +0 -31
- package/src/stories/Textarea/TextareaLabel.stories.mdx +0 -15
- package/src/stories/Textarea/TextareaLoading.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaMaxLength.stories.mdx +0 -15
- package/src/stories/Textarea/TextareaMinLength.stories.mdx +0 -15
- package/src/stories/Textarea/TextareaPlaceholder.stories.mdx +0 -15
- package/src/stories/Textarea/TextareaReadonly.stories.mdx +0 -19
- package/src/stories/Textarea/TextareaRowsCols.stories.mdx +0 -31
- package/src/stories/Textarea/TextareaValid.stories.mdx +0 -19
- package/src/stories/stories.scss +0 -24
- package/src/stories/volver-ui-vue.stories.mdx +0 -71
- package/src/types/.README +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
label: StringConstructor;
|
|
7
|
+
labelNoResults: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
placeholder: StringConstructor;
|
|
12
|
+
searchable: BooleanConstructor;
|
|
13
|
+
searchPlaceholder: StringConstructor;
|
|
14
|
+
debounceSearch: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
multiple: BooleanConstructor;
|
|
19
|
+
maxValues: (StringConstructor | NumberConstructor)[];
|
|
20
|
+
separator: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
native: BooleanConstructor;
|
|
25
|
+
icon: {
|
|
26
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
27
|
+
};
|
|
28
|
+
iconPosition: {
|
|
29
|
+
type: import("vue").PropType<import("../../props/index.js").IconPosition>;
|
|
30
|
+
validation: (value: import("../../props/index.js").IconPosition) => boolean;
|
|
31
|
+
default: "right";
|
|
32
|
+
};
|
|
33
|
+
options: {
|
|
34
|
+
type: import("vue").PropType<(string | import("../../types/generic.js").Option)[]>;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
labelKey: {
|
|
38
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
valueKey: {
|
|
42
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
46
|
+
readonly: BooleanConstructor;
|
|
47
|
+
disabled: BooleanConstructor;
|
|
48
|
+
loading: BooleanConstructor;
|
|
49
|
+
loadingLabel: StringConstructor;
|
|
50
|
+
hintLabel: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
invalid: BooleanConstructor;
|
|
55
|
+
invalidLabel: (ArrayConstructor | StringConstructor)[];
|
|
56
|
+
valid: BooleanConstructor;
|
|
57
|
+
validLabel: (ArrayConstructor | StringConstructor)[];
|
|
58
|
+
tabindex: {
|
|
59
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
modelValue: {
|
|
64
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
label: StringConstructor;
|
|
68
|
+
labelNoResults: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
placeholder: StringConstructor;
|
|
73
|
+
searchable: BooleanConstructor;
|
|
74
|
+
searchPlaceholder: StringConstructor;
|
|
75
|
+
debounceSearch: {
|
|
76
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
multiple: BooleanConstructor;
|
|
80
|
+
maxValues: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
separator: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
native: BooleanConstructor;
|
|
86
|
+
icon: {
|
|
87
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
88
|
+
};
|
|
89
|
+
iconPosition: {
|
|
90
|
+
type: import("vue").PropType<import("../../props/index.js").IconPosition>;
|
|
91
|
+
validation: (value: import("../../props/index.js").IconPosition) => boolean;
|
|
92
|
+
default: "right";
|
|
93
|
+
};
|
|
94
|
+
options: {
|
|
95
|
+
type: import("vue").PropType<(string | import("../../types/generic.js").Option)[]>;
|
|
96
|
+
default: () => never[];
|
|
97
|
+
};
|
|
98
|
+
labelKey: {
|
|
99
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
valueKey: {
|
|
103
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
107
|
+
readonly: BooleanConstructor;
|
|
108
|
+
disabled: BooleanConstructor;
|
|
109
|
+
loading: BooleanConstructor;
|
|
110
|
+
loadingLabel: StringConstructor;
|
|
111
|
+
hintLabel: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
invalid: BooleanConstructor;
|
|
116
|
+
invalidLabel: (ArrayConstructor | StringConstructor)[];
|
|
117
|
+
valid: BooleanConstructor;
|
|
118
|
+
validLabel: (ArrayConstructor | StringConstructor)[];
|
|
119
|
+
tabindex: {
|
|
120
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
}>> & {
|
|
124
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
multiple: boolean;
|
|
129
|
+
iconPosition: import("../../props/index.js").IconPosition;
|
|
130
|
+
loading: boolean;
|
|
131
|
+
readonly: boolean;
|
|
132
|
+
hintLabel: string;
|
|
133
|
+
invalid: boolean;
|
|
134
|
+
valid: boolean;
|
|
135
|
+
tabindex: string | number;
|
|
136
|
+
options: (string | import("../../types/generic.js").Option)[];
|
|
137
|
+
labelKey: string | Function;
|
|
138
|
+
valueKey: string | Function;
|
|
139
|
+
labelNoResults: string;
|
|
140
|
+
searchable: boolean;
|
|
141
|
+
debounceSearch: string | number;
|
|
142
|
+
separator: string;
|
|
143
|
+
native: boolean;
|
|
144
|
+
}>, {
|
|
145
|
+
before: (_: {}) => any;
|
|
146
|
+
after: (_: {}) => any;
|
|
147
|
+
}>;
|
|
148
|
+
export default _default;
|
|
149
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
150
|
+
new (): {
|
|
151
|
+
$slots: S;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const VvSelectProps: {
|
|
1
|
+
export declare const VvComboboxEvents: string[];
|
|
2
|
+
export declare const VvComboboxProps: {
|
|
4
3
|
/**
|
|
5
|
-
* modelValue can be
|
|
4
|
+
* modelValue can be a string, number, boolean, object or array of string, number, boolean, object
|
|
6
5
|
*/
|
|
7
|
-
modelValue:
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
8
10
|
/**
|
|
9
11
|
* Select input label
|
|
10
12
|
*/
|
|
@@ -12,7 +14,7 @@ export declare const VvSelectProps: {
|
|
|
12
14
|
/**
|
|
13
15
|
* Label of "no results" options
|
|
14
16
|
*/
|
|
15
|
-
|
|
17
|
+
labelNoResults: {
|
|
16
18
|
type: StringConstructor;
|
|
17
19
|
default: string;
|
|
18
20
|
};
|
|
@@ -29,23 +31,12 @@ export declare const VvSelectProps: {
|
|
|
29
31
|
*/
|
|
30
32
|
searchPlaceholder: StringConstructor;
|
|
31
33
|
/**
|
|
32
|
-
*
|
|
34
|
+
* The input search debounce time in ms
|
|
33
35
|
*/
|
|
34
36
|
debounceSearch: {
|
|
35
37
|
type: (StringConstructor | NumberConstructor)[];
|
|
36
38
|
default: number;
|
|
37
39
|
};
|
|
38
|
-
/**
|
|
39
|
-
* Select options, can be string[] or object[]
|
|
40
|
-
*/
|
|
41
|
-
options: {
|
|
42
|
-
type: PropType<(string | Option)[]>;
|
|
43
|
-
required: boolean;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Use objects as modelValue (object or object[])
|
|
47
|
-
*/
|
|
48
|
-
useObject: BooleanConstructor;
|
|
49
40
|
/**
|
|
50
41
|
* Manage modelValue as string[] or object[]
|
|
51
42
|
*/
|
|
@@ -62,28 +53,30 @@ export declare const VvSelectProps: {
|
|
|
62
53
|
default: string;
|
|
63
54
|
};
|
|
64
55
|
/**
|
|
65
|
-
*
|
|
56
|
+
* Show native select
|
|
66
57
|
*/
|
|
58
|
+
native: BooleanConstructor;
|
|
59
|
+
icon: {
|
|
60
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
61
|
+
};
|
|
62
|
+
iconPosition: {
|
|
63
|
+
type: import("vue").PropType<import("@/props").IconPosition>;
|
|
64
|
+
validation: (value: import("@/props").IconPosition) => boolean;
|
|
65
|
+
default: "right";
|
|
66
|
+
};
|
|
67
|
+
options: {
|
|
68
|
+
type: import("vue").PropType<(string | import("../../types/generic").Option)[]>;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
67
71
|
labelKey: {
|
|
68
|
-
type: StringConstructor;
|
|
72
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
69
73
|
default: string;
|
|
70
74
|
};
|
|
71
|
-
/**
|
|
72
|
-
* Used when options are objects: key to use for option label
|
|
73
|
-
*/
|
|
74
75
|
valueKey: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
76
77
|
default: string;
|
|
77
78
|
};
|
|
78
|
-
|
|
79
|
-
* Icon name of icon in left position
|
|
80
|
-
*/
|
|
81
|
-
iconLeft: StringConstructor;
|
|
82
|
-
/**
|
|
83
|
-
* Icon name of icon in right position
|
|
84
|
-
*/
|
|
85
|
-
iconRight: StringConstructor;
|
|
86
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
79
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
87
80
|
readonly: BooleanConstructor;
|
|
88
81
|
disabled: BooleanConstructor;
|
|
89
82
|
loading: BooleanConstructor;
|
|
@@ -92,8 +85,12 @@ export declare const VvSelectProps: {
|
|
|
92
85
|
type: StringConstructor;
|
|
93
86
|
default: string;
|
|
94
87
|
};
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
invalid: BooleanConstructor;
|
|
89
|
+
invalidLabel: (ArrayConstructor | StringConstructor)[];
|
|
97
90
|
valid: BooleanConstructor;
|
|
98
|
-
validLabel: (
|
|
91
|
+
validLabel: (ArrayConstructor | StringConstructor)[];
|
|
92
|
+
tabindex: {
|
|
93
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
99
96
|
};
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { computed as f, unref as l, defineComponent as V, ref as S, toRefs as B, inject as F, openBlock as h, createBlock as k, mergeProps as _, createCommentVNode as y, Transition as A, toHandlers as N, withCtx as z, withDirectives as E, createElementVNode as g, createElementBlock as C, renderSlot as w, createTextVNode as I, toDisplayString as M, withModifiers as P, createVNode as O, vShow as L } from "vue";
|
|
2
|
+
import { useVModel as q, onClickOutside as T } from "@vueuse/core";
|
|
3
|
+
import { iconExists as m, Icon as Z, addIcon as j } from "@iconify/vue";
|
|
4
|
+
const H = "ds", R = {
|
|
5
|
+
color: String,
|
|
6
|
+
width: {
|
|
7
|
+
type: [String, Number]
|
|
8
|
+
},
|
|
9
|
+
height: {
|
|
10
|
+
type: [String, Number]
|
|
11
|
+
},
|
|
12
|
+
name: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: !0
|
|
15
|
+
},
|
|
16
|
+
provider: {
|
|
17
|
+
type: String
|
|
18
|
+
},
|
|
19
|
+
prefix: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "normal"
|
|
22
|
+
},
|
|
23
|
+
src: String,
|
|
24
|
+
horizontalFlip: Boolean,
|
|
25
|
+
verticalFlip: Boolean,
|
|
26
|
+
flip: String,
|
|
27
|
+
mode: String,
|
|
28
|
+
inline: Boolean,
|
|
29
|
+
rotate: [Number, String],
|
|
30
|
+
onLoad: Function,
|
|
31
|
+
svg: String,
|
|
32
|
+
modifiers: {
|
|
33
|
+
type: [String, Array]
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
function b(i) {
|
|
37
|
+
var t, n;
|
|
38
|
+
if (i)
|
|
39
|
+
return (n = (t = i.match(
|
|
40
|
+
/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g
|
|
41
|
+
)) == null ? void 0 : t.join("-")) == null ? void 0 : n.toLowerCase();
|
|
42
|
+
}
|
|
43
|
+
function W(i, t) {
|
|
44
|
+
const n = { [`${i}`]: !0 };
|
|
45
|
+
return {
|
|
46
|
+
bemCssClasses: f(() => Object.keys(t).reduce((r, a) => {
|
|
47
|
+
const s = l(t[a]) || !1;
|
|
48
|
+
if (!s)
|
|
49
|
+
return r;
|
|
50
|
+
if (a === "modifiers") {
|
|
51
|
+
const p = Array.isArray(s) ? s : s.split(" ");
|
|
52
|
+
return {
|
|
53
|
+
...r,
|
|
54
|
+
...p.reduce(
|
|
55
|
+
(v, u) => ({
|
|
56
|
+
...v,
|
|
57
|
+
[`${i}--${b(u)}`]: !0
|
|
58
|
+
}),
|
|
59
|
+
{}
|
|
60
|
+
)
|
|
61
|
+
};
|
|
62
|
+
} else
|
|
63
|
+
return {
|
|
64
|
+
...r,
|
|
65
|
+
[`${i}--${b(a)}`]: s
|
|
66
|
+
};
|
|
67
|
+
}, n) || {})
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
const J = {
|
|
71
|
+
name: "VvIcon"
|
|
72
|
+
}, X = /* @__PURE__ */ V({
|
|
73
|
+
...J,
|
|
74
|
+
props: R,
|
|
75
|
+
setup(i) {
|
|
76
|
+
const t = i, n = S(!0), { modifiers: c } = B(t), r = F(H), { bemCssClasses: a } = W("vv-icon", {
|
|
77
|
+
modifiers: c
|
|
78
|
+
}), s = f(() => t.provider || (r == null ? void 0 : r.provider)), p = f(() => {
|
|
79
|
+
const e = t.name ?? "", o = `@${s.value}:${t.prefix}:${t.name}`;
|
|
80
|
+
return m(e) ? e : m(o) ? o : (r == null ? void 0 : r.iconsCollections.find((d) => {
|
|
81
|
+
const $ = `@${s.value}:${d.prefix}:${e}`;
|
|
82
|
+
if (m($))
|
|
83
|
+
return $;
|
|
84
|
+
})) || e;
|
|
85
|
+
});
|
|
86
|
+
function v(e) {
|
|
87
|
+
let o = null;
|
|
88
|
+
if (typeof window > "u") {
|
|
89
|
+
const { JSDOM: D } = require("jsdom");
|
|
90
|
+
o = new D().window;
|
|
91
|
+
}
|
|
92
|
+
return (o ? new o.DOMParser() : new window.DOMParser()).parseFromString(e, "text/html").querySelector("svg");
|
|
93
|
+
}
|
|
94
|
+
function u(e) {
|
|
95
|
+
const o = v(e), d = (o == null ? void 0 : o.innerHTML.trim()) || "";
|
|
96
|
+
o && d && j(`@${s.value}:${t.prefix}:${t.name}`, {
|
|
97
|
+
body: d,
|
|
98
|
+
height: o.viewBox.baseVal.height,
|
|
99
|
+
width: o.viewBox.baseVal.width
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return r && (t.src && !m(`@${s.value}:${t.prefix}:${t.name}`) ? (n.value = !1, r.fetchIcon(t.src).then((e) => {
|
|
103
|
+
e && (u(e), n.value = !0);
|
|
104
|
+
}).catch((e) => {
|
|
105
|
+
throw new Error(`During fetch icon: ${e == null ? void 0 : e.message}`);
|
|
106
|
+
})) : t.svg && u(t.svg)), (e, o) => n.value ? (h(), k(l(Z), _({
|
|
107
|
+
key: 0,
|
|
108
|
+
class: l(a)
|
|
109
|
+
}, {
|
|
110
|
+
inline: e.inline,
|
|
111
|
+
width: e.width,
|
|
112
|
+
height: e.height,
|
|
113
|
+
horizontalFlip: e.horizontalFlip,
|
|
114
|
+
verticalFlip: e.verticalFlip,
|
|
115
|
+
flip: e.flip,
|
|
116
|
+
rotate: e.rotate,
|
|
117
|
+
color: e.color,
|
|
118
|
+
onLoad: e.onLoad,
|
|
119
|
+
icon: l(p)
|
|
120
|
+
}), null, 16, ["class"])) : y("", !0);
|
|
121
|
+
}
|
|
122
|
+
}), G = ["open", "close", "update:modelValue"], K = {
|
|
123
|
+
id: { type: String, required: !0 },
|
|
124
|
+
title: String,
|
|
125
|
+
modelValue: Boolean,
|
|
126
|
+
transition: { type: String, default: "fade-block" },
|
|
127
|
+
size: String,
|
|
128
|
+
autoClose: { type: Boolean, default: !0 }
|
|
129
|
+
}, Q = {
|
|
130
|
+
key: 0,
|
|
131
|
+
class: "vv-dialog__header"
|
|
132
|
+
}, U = ["onClick"], Y = { class: "vv-dialog__content" }, x = {
|
|
133
|
+
key: 1,
|
|
134
|
+
class: "vv-dialog__footer"
|
|
135
|
+
}, ee = {
|
|
136
|
+
name: "VvDialog"
|
|
137
|
+
}, se = /* @__PURE__ */ V({
|
|
138
|
+
...ee,
|
|
139
|
+
props: K,
|
|
140
|
+
emits: G,
|
|
141
|
+
setup(i, { emit: t }) {
|
|
142
|
+
const n = i, c = q(n, "modelValue", t), r = S(!0), a = S(null), s = f(() => {
|
|
143
|
+
const { id: o } = n;
|
|
144
|
+
return {
|
|
145
|
+
id: o,
|
|
146
|
+
open: r.value
|
|
147
|
+
};
|
|
148
|
+
}), p = f(() => n.size ? ["vv-dialog", `vv-dialog--${n.size}`] : "vv-dialog"), v = f(() => `vv-dialog--${n.transition}`), u = {
|
|
149
|
+
"before-enter": () => {
|
|
150
|
+
r.value = !0, t("open");
|
|
151
|
+
},
|
|
152
|
+
"after-leave": () => {
|
|
153
|
+
r.value = !1, t("close");
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
T(a, () => {
|
|
157
|
+
n.autoClose && (c.value = !1);
|
|
158
|
+
});
|
|
159
|
+
function e() {
|
|
160
|
+
c.value = !1;
|
|
161
|
+
}
|
|
162
|
+
return (o, d) => (h(), k(A, _({ name: l(v) }, N(u)), {
|
|
163
|
+
default: z(() => [
|
|
164
|
+
E(g("dialog", _(l(s), { class: l(p) }), [
|
|
165
|
+
g("article", {
|
|
166
|
+
ref_key: "modalWrapper",
|
|
167
|
+
ref: a,
|
|
168
|
+
class: "vv-dialog__wrapper"
|
|
169
|
+
}, [
|
|
170
|
+
o.$slots.header || o.title ? (h(), C("header", Q, [
|
|
171
|
+
w(o.$slots, "header", {}, () => [
|
|
172
|
+
I(M(o.title) + " ", 1),
|
|
173
|
+
g("button", {
|
|
174
|
+
type: "button",
|
|
175
|
+
"aria-label": "Close",
|
|
176
|
+
class: "vv-dialog__close",
|
|
177
|
+
onClick: P(e, ["prevent"])
|
|
178
|
+
}, [
|
|
179
|
+
O(X, { name: "close" })
|
|
180
|
+
], 8, U)
|
|
181
|
+
])
|
|
182
|
+
])) : y("", !0),
|
|
183
|
+
g("div", Y, [
|
|
184
|
+
w(o.$slots, "default")
|
|
185
|
+
]),
|
|
186
|
+
o.$slots.footer ? (h(), C("footer", x, [
|
|
187
|
+
w(o.$slots, "footer")
|
|
188
|
+
])) : y("", !0)
|
|
189
|
+
], 512)
|
|
190
|
+
], 16), [
|
|
191
|
+
[L, l(c)]
|
|
192
|
+
])
|
|
193
|
+
]),
|
|
194
|
+
_: 3
|
|
195
|
+
}, 16, ["name"]));
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
export {
|
|
199
|
+
se as default
|
|
200
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,c){typeof exports=="object"&&typeof module<"u"?module.exports=c(require("vue"),require("@vueuse/core"),require("@iconify/vue")):typeof define=="function"&&define.amd?define(["vue","@vueuse/core","@iconify/vue"],c):(e=typeof globalThis<"u"?globalThis:e||self,e.VvDialog=c(e.vue,e.core,e.vue$1))})(this,function(e,c,d){"use strict";const w="ds",y={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 S(l){var n,i;if(l)return(i=(n=l.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:n.join("-"))==null?void 0:i.toLowerCase()}function _(l,n){const i={[`${l}`]:!0};return{bemCssClasses:e.computed(()=>Object.keys(n).reduce((r,a)=>{const s=e.unref(n[a])||!1;if(!s)return r;if(a==="modifiers"){const u=Array.isArray(s)?s:s.split(" ");return{...r,...u.reduce((g,p)=>({...g,[`${l}--${S(p)}`]:!0}),{})}}else return{...r,[`${l}--${S(a)}`]:s}},i)||{})}}const C={name:"VvIcon"},V=e.defineComponent({...C,props:y,setup(l){const n=l,i=e.ref(!0),{modifiers:f}=e.toRefs(n),r=e.inject(w),{bemCssClasses:a}=_("vv-icon",{modifiers:f}),s=e.computed(()=>n.provider||(r==null?void 0:r.provider)),u=e.computed(()=>{const o=n.name??"",t=`@${s.value}:${n.prefix}:${n.name}`;return d.iconExists(o)?o:d.iconExists(t)?t:(r==null?void 0:r.iconsCollections.find(m=>{const h=`@${s.value}:${m.prefix}:${o}`;if(d.iconExists(h))return h}))||o});function g(o){let t=null;if(typeof window>"u"){const{JSDOM:D}=require("jsdom");t=new D().window}return(t?new t.DOMParser:new window.DOMParser).parseFromString(o,"text/html").querySelector("svg")}function p(o){const t=g(o),m=(t==null?void 0:t.innerHTML.trim())||"";t&&m&&d.addIcon(`@${s.value}:${n.prefix}:${n.name}`,{body:m,height:t.viewBox.baseVal.height,width:t.viewBox.baseVal.width})}return r&&(n.src&&!d.iconExists(`@${s.value}:${n.prefix}:${n.name}`)?(i.value=!1,r.fetchIcon(n.src).then(o=>{o&&(p(o),i.value=!0)}).catch(o=>{throw new Error(`During fetch icon: ${o==null?void 0:o.message}`)})):n.svg&&p(n.svg)),(o,t)=>i.value?(e.openBlock(),e.createBlock(e.unref(d.Icon),e.mergeProps({key:0,class:e.unref(a)},{inline:o.inline,width:o.width,height:o.height,horizontalFlip:o.horizontalFlip,verticalFlip:o.verticalFlip,flip:o.flip,rotate:o.rotate,color:o.color,onLoad:o.onLoad,icon:e.unref(u)}),null,16,["class"])):e.createCommentVNode("",!0)}}),$=["open","close","update:modelValue"],k={id:{type:String,required:!0},title:String,modelValue:Boolean,transition:{type:String,default:"fade-block"},size:String,autoClose:{type:Boolean,default:!0}},b={key:0,class:"vv-dialog__header"},B=["onClick"],E={class:"vv-dialog__content"},v={key:1,class:"vv-dialog__footer"},N={name:"VvDialog"};return e.defineComponent({...N,props:k,emits:$,setup(l,{emit:n}){const i=l,f=c.useVModel(i,"modelValue",n),r=e.ref(!0),a=e.ref(null),s=e.computed(()=>{const{id:t}=i;return{id:t,open:r.value}}),u=e.computed(()=>i.size?["vv-dialog",`vv-dialog--${i.size}`]:"vv-dialog"),g=e.computed(()=>`vv-dialog--${i.transition}`),p={"before-enter":()=>{r.value=!0,n("open")},"after-leave":()=>{r.value=!1,n("close")}};c.onClickOutside(a,()=>{i.autoClose&&(f.value=!1)});function o(){f.value=!1}return(t,m)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({name:e.unref(g)},e.toHandlers(p)),{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("dialog",e.mergeProps(e.unref(s),{class:e.unref(u)}),[e.createElementVNode("article",{ref_key:"modalWrapper",ref:a,class:"vv-dialog__wrapper"},[t.$slots.header||t.title?(e.openBlock(),e.createElementBlock("header",b,[e.renderSlot(t.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.createElementVNode("button",{type:"button","aria-label":"Close",class:"vv-dialog__close",onClick:e.withModifiers(o,["prevent"])},[e.createVNode(V,{name:"close"})],8,B)])])):e.createCommentVNode("",!0),e.createElementVNode("div",E,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",v,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)],512)],16),[[e.vShow,e.unref(f)]])]),_:3},16,["name"]))}})});
|
|
@@ -1,153 +1,49 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
new (...args: any[]): {
|
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: Partial<{
|
|
6
|
-
open: boolean;
|
|
7
|
-
transition: string;
|
|
8
|
-
size: string;
|
|
9
|
-
autoClose: boolean;
|
|
10
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
id: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: boolean;
|
|
14
|
-
};
|
|
15
|
-
title: StringConstructor;
|
|
16
|
-
open: BooleanConstructor;
|
|
17
|
-
transition: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
size: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
validator: (value: string) => boolean;
|
|
25
|
-
};
|
|
26
|
-
autoClose: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
}>> & {
|
|
31
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "open" | "transition" | "size" | "autoClose">;
|
|
33
|
-
$attrs: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
$refs: {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
};
|
|
39
|
-
$slots: Readonly<{
|
|
40
|
-
[name: string]: import("vue").Slot | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
43
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
44
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
45
|
-
$el: any;
|
|
46
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
id: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
required: boolean;
|
|
50
|
-
};
|
|
51
|
-
title: StringConstructor;
|
|
52
|
-
open: BooleanConstructor;
|
|
53
|
-
transition: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
size: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
validator: (value: string) => boolean;
|
|
61
|
-
};
|
|
62
|
-
autoClose: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
}>> & {
|
|
67
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
68
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
|
|
69
|
-
open: boolean;
|
|
70
|
-
transition: string;
|
|
71
|
-
size: string;
|
|
72
|
-
autoClose: boolean;
|
|
73
|
-
}, {}, string> & {
|
|
74
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
87
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
88
|
-
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;
|
|
89
|
-
};
|
|
90
|
-
$forceUpdate: () => void;
|
|
91
|
-
$nextTick: typeof import("vue").nextTick;
|
|
92
|
-
$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;
|
|
93
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
-
id: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
required: boolean;
|
|
97
|
-
};
|
|
98
|
-
title: StringConstructor;
|
|
99
|
-
open: BooleanConstructor;
|
|
100
|
-
transition: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
size: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
validator: (value: string) => boolean;
|
|
108
|
-
};
|
|
109
|
-
autoClose: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
}>> & {
|
|
114
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
115
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
116
|
-
__isFragment?: undefined;
|
|
117
|
-
__isTeleport?: undefined;
|
|
118
|
-
__isSuspense?: undefined;
|
|
119
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
120
2
|
id: {
|
|
121
3
|
type: StringConstructor;
|
|
122
4
|
required: boolean;
|
|
123
5
|
};
|
|
124
6
|
title: StringConstructor;
|
|
125
|
-
|
|
7
|
+
modelValue: BooleanConstructor;
|
|
126
8
|
transition: {
|
|
127
9
|
type: StringConstructor;
|
|
128
10
|
default: string;
|
|
129
11
|
};
|
|
130
|
-
size:
|
|
12
|
+
size: StringConstructor;
|
|
13
|
+
autoClose: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
id: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
title: StringConstructor;
|
|
23
|
+
modelValue: BooleanConstructor;
|
|
24
|
+
transition: {
|
|
131
25
|
type: StringConstructor;
|
|
132
26
|
default: string;
|
|
133
|
-
validator: (value: string) => boolean;
|
|
134
27
|
};
|
|
28
|
+
size: StringConstructor;
|
|
135
29
|
autoClose: {
|
|
136
30
|
type: BooleanConstructor;
|
|
137
31
|
default: boolean;
|
|
138
32
|
};
|
|
139
33
|
}>> & {
|
|
140
34
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
|
|
35
|
+
}, {
|
|
36
|
+
modelValue: boolean;
|
|
143
37
|
transition: string;
|
|
144
|
-
size: string;
|
|
145
38
|
autoClose: boolean;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
};
|
|
152
|
-
});
|
|
39
|
+
}>, {
|
|
40
|
+
header: (_: {}) => any;
|
|
41
|
+
default: (_: {}) => any;
|
|
42
|
+
footer: (_: {}) => any;
|
|
43
|
+
}>;
|
|
153
44
|
export default _default;
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -5,16 +5,12 @@ export declare const VvDialogProps: {
|
|
|
5
5
|
required: boolean;
|
|
6
6
|
};
|
|
7
7
|
title: StringConstructor;
|
|
8
|
-
|
|
8
|
+
modelValue: BooleanConstructor;
|
|
9
9
|
transition: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
-
size:
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
validator: (value: string) => boolean;
|
|
17
|
-
};
|
|
13
|
+
size: StringConstructor;
|
|
18
14
|
autoClose: {
|
|
19
15
|
type: BooleanConstructor;
|
|
20
16
|
default: boolean;
|