@groupteknology/vuno 3.0.0 → 4.0.0
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/README.md +23 -629
- package/dist/module.d.mts +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +20 -27
- package/dist/runtime/app/AGENTS.md +30 -0
- package/dist/runtime/app/assets/css/dialog.css +1 -1
- package/dist/runtime/app/assets/css/main.css +1 -1
- package/dist/runtime/app/assets/css/skeleton.css +1 -0
- package/dist/runtime/app/assets/css/theme.css +1 -1
- package/dist/runtime/app/assets/css/tokens.css +1 -1
- package/dist/runtime/app/components/AILabel/AILabel.d.vue.ts +31 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.d.ts +89 -0
- package/dist/runtime/app/components/AILabel/AILabel.theme.js +146 -0
- package/dist/runtime/app/components/AILabel/AILabel.types.d.ts +28 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue +63 -0
- package/dist/runtime/app/components/AILabel/AILabel.vue.d.ts +31 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue +8 -0
- package/dist/runtime/app/components/AILabelActions/AILabelActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue +11 -0
- package/dist/runtime/app/components/AILabelContent/AILabelContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.d.ts +14 -0
- package/dist/runtime/app/components/Accordion/Accordion.context.js +1 -0
- package/dist/runtime/app/components/Accordion/Accordion.d.vue.ts +21 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.d.ts +73 -0
- package/dist/runtime/app/components/Accordion/Accordion.theme.js +56 -0
- package/dist/runtime/app/components/Accordion/Accordion.types.d.ts +20 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue +26 -0
- package/dist/runtime/app/components/Accordion/Accordion.vue.d.ts +21 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.d.vue.ts +38 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.types.d.ts +16 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue +64 -0
- package/dist/runtime/app/components/AccordionItem/AccordionItem.vue.d.ts +38 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.d.vue.ts +33 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.types.d.ts +15 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue +137 -0
- package/dist/runtime/app/components/ActionableNotification/ActionableNotification.vue.d.ts +33 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.d.vue.ts +16 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.d.ts +31 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.types.js +1 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue +24 -0
- package/dist/runtime/app/components/AspectRatio/AspectRatio.vue.d.ts +16 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.d.ts +13 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.context.js +1 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.d.vue.ts +16 -4
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +26 -9
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +29 -9
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +11 -6
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +15 -94
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +16 -4
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.d.vue.ts +27 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.types.d.ts +13 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue +65 -0
- package/dist/runtime/app/components/BreadcrumbItem/BreadcrumbItem.vue.d.ts +27 -0
- package/dist/runtime/app/components/Button/Button.d.vue.ts +10 -12
- package/dist/runtime/app/components/Button/Button.theme.d.ts +170 -77
- package/dist/runtime/app/components/Button/Button.theme.js +81 -54
- package/dist/runtime/app/components/Button/Button.types.d.ts +31 -12
- package/dist/runtime/app/components/Button/Button.vue +75 -80
- package/dist/runtime/app/components/Button/Button.vue.d.ts +10 -12
- package/dist/runtime/app/components/ButtonSet/ButtonSet.d.vue.ts +17 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.d.ts +15 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.theme.js +12 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.types.d.ts +13 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue +19 -0
- package/dist/runtime/app/components/ButtonSet/ButtonSet.vue.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.d.vue.ts +26 -0
- package/dist/runtime/app/components/Callout/Callout.types.d.ts +17 -0
- package/dist/runtime/app/components/Callout/Callout.vue +80 -0
- package/dist/runtime/app/components/Callout/Callout.vue.d.ts +26 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.d.vue.ts +35 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.d.ts +63 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.theme.js +29 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.types.d.ts +27 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue +118 -0
- package/dist/runtime/app/components/Checkbox/Checkbox.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.d.vue.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.d.ts +63 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.theme.js +24 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.types.d.ts +42 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue +104 -0
- package/dist/runtime/app/components/CheckboxGroup/CheckboxGroup.vue.d.ts +35 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.d.ts +19 -0
- package/dist/runtime/app/components/CheckboxGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.d.vue.ts +21 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.types.d.ts +25 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue +67 -0
- package/dist/runtime/app/components/ClickableTile/ClickableTile.vue.d.ts +21 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.d.vue.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.d.ts +101 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.theme.js +84 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.types.d.ts +53 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue +232 -0
- package/dist/runtime/app/components/CodeSnippet/CodeSnippet.vue.d.ts +25 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.d.ts +8 -0
- package/dist/runtime/app/components/CodeSnippet/syntax.js +28 -0
- package/dist/runtime/app/components/Column/Column.d.vue.ts +21 -0
- package/dist/runtime/app/components/Column/Column.types.d.ts +52 -0
- package/dist/runtime/app/components/Column/Column.vue +31 -0
- package/dist/runtime/app/components/Column/Column.vue.d.ts +21 -0
- package/dist/runtime/app/components/Column/span.d.ts +22 -0
- package/dist/runtime/app/components/Column/span.js +42 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.d.vue.ts +55 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.types.d.ts +69 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue +290 -0
- package/dist/runtime/app/components/ComboBox/ComboBox.vue.d.ts +55 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.d.ts +44 -0
- package/dist/runtime/app/components/ComboBox/useComboBoxState.js +205 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.types.d.ts +22 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue +78 -0
- package/dist/runtime/app/components/ComboButton/ComboButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.d.ts +14 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.context.js +1 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.d.vue.ts +21 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.d.ts +104 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.theme.js +48 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.types.d.ts +25 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue +55 -0
- package/dist/runtime/app/components/ContainedList/ContainedList.vue.d.ts +21 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.d.vue.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.types.d.ts +20 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue +90 -0
- package/dist/runtime/app/components/ContainedListItem/ContainedListItem.vue.d.ts +20 -0
- package/dist/runtime/app/components/Content/Content.d.vue.ts +23 -0
- package/dist/runtime/app/components/Content/Content.vue +21 -0
- package/dist/runtime/app/components/Content/Content.vue.d.ts +23 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.d.ts +18 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.context.js +1 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.d.vue.ts +32 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.d.ts +51 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.theme.js +43 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.types.d.ts +21 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue +56 -0
- package/dist/runtime/app/components/ContentSwitcher/ContentSwitcher.vue.d.ts +32 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.d.vue.ts +18 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.d.ts +7 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.theme.js +8 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.types.d.ts +29 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue +76 -0
- package/dist/runtime/app/components/CopyButton/CopyButton.vue.d.ts +18 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.d.ts +50 -0
- package/dist/runtime/app/components/DataTable/DataTable.context.js +16 -0
- package/dist/runtime/app/components/DataTable/DataTable.d.vue.ts +48 -61
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +176 -13
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +170 -14
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +153 -12
- package/dist/runtime/app/components/DataTable/DataTable.vue +187 -333
- package/dist/runtime/app/components/DataTable/DataTable.vue.d.ts +48 -61
- package/dist/runtime/app/components/DatePicker/DatePicker.d.vue.ts +45 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.d.ts +151 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.theme.js +149 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.types.d.ts +64 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue +473 -0
- package/dist/runtime/app/components/DatePicker/DatePicker.vue.d.ts +45 -0
- package/dist/runtime/app/components/DatePicker/date.d.ts +104 -0
- package/dist/runtime/app/components/DatePicker/date.js +151 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.d.vue.ts +25 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.d.ts +66 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.theme.js +23 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.types.d.ts +43 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue +171 -0
- package/dist/runtime/app/components/DefinitionTooltip/DefinitionTooltip.vue.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.d.vue.ts +180 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.d.ts +109 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.theme.js +206 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.types.d.ts +65 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue +346 -0
- package/dist/runtime/app/components/Dropdown/Dropdown.vue.d.ts +180 -0
- package/dist/runtime/app/components/Dropdown/option.d.ts +25 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.d.ts +33 -0
- package/dist/runtime/app/components/Dropdown/useDropdownState.js +182 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.d.vue.ts +31 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.types.d.ts +27 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue +103 -0
- package/dist/runtime/app/components/ExpandableTile/ExpandableTile.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.d.vue.ts +35 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.d.ts +109 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.theme.js +87 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.types.d.ts +68 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue +140 -0
- package/dist/runtime/app/components/FileUploader/FileUploader.vue.d.ts +35 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.d.vue.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue +72 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderButton/FileUploaderButton.vue.d.ts +31 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.d.vue.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue +109 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderDropContainer/FileUploaderDropContainer.vue.d.ts +27 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue +107 -0
- package/dist/runtime/app/components/FileUploader/internal/FileUploaderItem/FileUploaderItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/FileUploader/internal/files.d.ts +62 -0
- package/dist/runtime/app/components/FileUploader/internal/files.js +59 -0
- package/dist/runtime/app/components/Form/Form.d.vue.ts +14 -33
- package/dist/runtime/app/components/Form/Form.theme.d.ts +20 -5
- package/dist/runtime/app/components/Form/Form.theme.js +6 -6
- package/dist/runtime/app/components/Form/Form.types.d.ts +1 -8
- package/dist/runtime/app/components/Form/Form.vue +9 -119
- package/dist/runtime/app/components/Form/Form.vue.d.ts +14 -33
- package/dist/runtime/app/components/FormGroup/FormGroup.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.d.ts +45 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.theme.js +24 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.types.d.ts +1 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue +48 -0
- package/dist/runtime/app/components/FormGroup/FormGroup.vue.d.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.d.ts +42 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.theme.js +24 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.types.d.ts +1 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue +28 -0
- package/dist/runtime/app/components/FormLabel/FormLabel.vue.d.ts +21 -0
- package/dist/runtime/app/components/Grid/Grid.context.d.ts +11 -0
- package/dist/runtime/app/components/Grid/Grid.context.js +1 -0
- package/dist/runtime/app/components/Grid/Grid.d.vue.ts +19 -0
- package/dist/runtime/app/components/Grid/Grid.types.d.ts +39 -0
- package/dist/runtime/app/components/Grid/Grid.vue +29 -0
- package/dist/runtime/app/components/Grid/Grid.vue.d.ts +19 -0
- package/dist/runtime/app/components/Header/Header.d.vue.ts +18 -0
- package/dist/runtime/app/components/Header/Header.theme.d.ts +105 -0
- package/dist/runtime/app/components/Header/Header.theme.js +89 -0
- package/dist/runtime/app/components/Header/Header.types.d.ts +23 -0
- package/dist/runtime/app/components/Header/Header.vue +20 -0
- package/dist/runtime/app/components/Header/Header.vue.d.ts +18 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.d.ts +7 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.context.js +1 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue +26 -0
- package/dist/runtime/app/components/HeaderContainer/HeaderContainer.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.d.vue.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue +28 -0
- package/dist/runtime/app/components/HeaderGlobalAction/HeaderGlobalAction.vue.d.ts +13 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.d.vue.ts +19 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue +14 -0
- package/dist/runtime/app/components/HeaderGlobalBar/HeaderGlobalBar.vue.d.ts +19 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.d.ts +18 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.context.js +1 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.d.vue.ts +26 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue +90 -0
- package/dist/runtime/app/components/HeaderMenu/HeaderMenu.vue.d.ts +26 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.d.vue.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue +47 -0
- package/dist/runtime/app/components/HeaderMenuButton/HeaderMenuButton.vue.d.ts +25 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.d.vue.ts +32 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue +52 -0
- package/dist/runtime/app/components/HeaderMenuItem/HeaderMenuItem.vue.d.ts +32 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.d.vue.ts +24 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue +31 -0
- package/dist/runtime/app/components/HeaderName/HeaderName.vue.d.ts +24 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.d.vue.ts +23 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue +22 -0
- package/dist/runtime/app/components/HeaderNavigation/HeaderNavigation.vue.d.ts +23 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.d.vue.ts +37 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue +56 -0
- package/dist/runtime/app/components/HeaderPanel/HeaderPanel.vue.d.ts +37 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue +19 -0
- package/dist/runtime/app/components/HeaderSideNavItems/HeaderSideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/Heading/Heading.context.d.ts +38 -0
- package/dist/runtime/app/components/Heading/Heading.context.js +11 -0
- package/dist/runtime/app/components/Heading/Heading.d.vue.ts +12 -0
- package/dist/runtime/app/components/Heading/Heading.types.d.ts +11 -0
- package/dist/runtime/app/components/Heading/Heading.types.js +1 -0
- package/dist/runtime/app/components/Heading/Heading.vue +14 -0
- package/dist/runtime/app/components/Heading/Heading.vue.d.ts +12 -0
- package/dist/runtime/app/components/IconButton/IconButton.d.vue.ts +29 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.d.ts +6 -0
- package/dist/runtime/app/components/IconButton/IconButton.theme.js +7 -0
- package/dist/runtime/app/components/IconButton/IconButton.types.d.ts +60 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue +62 -0
- package/dist/runtime/app/components/IconButton/IconButton.vue.d.ts +29 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.d.vue.ts +35 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue +42 -0
- package/dist/runtime/app/components/IconSwitch/IconSwitch.vue.d.ts +35 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.d.vue.ts +23 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.d.ts +21 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.theme.js +18 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.types.d.ts +14 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue +70 -0
- package/dist/runtime/app/components/InlineLoading/InlineLoading.vue.d.ts +23 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.d.vue.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.d.ts +132 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.theme.js +116 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.types.d.ts +44 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue +82 -0
- package/dist/runtime/app/components/InlineNotification/InlineNotification.vue.d.ts +27 -0
- package/dist/runtime/app/components/InlineNotification/notification.d.ts +14 -0
- package/dist/runtime/app/components/InlineNotification/notification.js +12 -0
- package/dist/runtime/app/components/Layer/Layer.context.d.ts +43 -0
- package/dist/runtime/app/components/Layer/Layer.context.js +11 -0
- package/dist/runtime/app/components/Layer/Layer.d.vue.ts +17 -0
- package/dist/runtime/app/components/Layer/Layer.types.d.ts +41 -0
- package/dist/runtime/app/components/Layer/Layer.types.js +1 -0
- package/dist/runtime/app/components/Layer/Layer.vue +32 -0
- package/dist/runtime/app/components/Layer/Layer.vue.d.ts +17 -0
- package/dist/runtime/app/components/Link/Link.d.vue.ts +26 -0
- package/dist/runtime/app/components/Link/Link.theme.d.ts +40 -0
- package/dist/runtime/app/components/Link/Link.theme.js +28 -0
- package/dist/runtime/app/components/Link/Link.types.d.ts +44 -0
- package/dist/runtime/app/components/Link/Link.vue +72 -0
- package/dist/runtime/app/components/Link/Link.vue.d.ts +26 -0
- package/dist/runtime/app/components/ListItem/ListItem.d.vue.ts +16 -0
- package/dist/runtime/app/components/ListItem/ListItem.types.d.ts +10 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue +19 -0
- package/dist/runtime/app/components/ListItem/ListItem.vue.d.ts +16 -0
- package/dist/runtime/app/components/Loading/Loading.d.vue.ts +10 -0
- package/dist/runtime/app/components/Loading/Loading.theme.d.ts +29 -0
- package/dist/runtime/app/components/Loading/Loading.theme.js +24 -0
- package/dist/runtime/app/components/Loading/Loading.types.d.ts +8 -0
- package/dist/runtime/app/components/Loading/Loading.vue +71 -0
- package/dist/runtime/app/components/Loading/Loading.vue.d.ts +10 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.d.vue.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue +33 -0
- package/dist/runtime/app/components/Loading/internal/LoadingOverlay/LoadingOverlay.vue.d.ts +25 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.d.ts +14 -0
- package/dist/runtime/app/components/Loading/internal/focusTrap.js +81 -0
- package/dist/runtime/app/components/Menu/Menu.context.d.ts +51 -0
- package/dist/runtime/app/components/Menu/Menu.context.js +1 -0
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +24 -5
- package/dist/runtime/app/components/Menu/Menu.theme.d.ts +102 -11
- package/dist/runtime/app/components/Menu/Menu.theme.js +61 -13
- package/dist/runtime/app/components/Menu/Menu.types.d.ts +15 -6
- package/dist/runtime/app/components/Menu/Menu.vue +28 -16
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +24 -5
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +42 -12
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +101 -135
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +42 -12
- package/dist/runtime/app/components/MenuButton/MenuButton.d.vue.ts +33 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.types.d.ts +41 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue +67 -0
- package/dist/runtime/app/components/MenuButton/MenuButton.vue.d.ts +33 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.d.ts +32 -0
- package/dist/runtime/app/components/MenuButton/useMenuWidth.js +34 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.d.vue.ts +25 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.types.d.ts +19 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue +191 -0
- package/dist/runtime/app/components/MenuItem/MenuItem.vue.d.ts +25 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue +15 -0
- package/dist/runtime/app/components/MenuItemDivider/MenuItemDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/Modal/Modal.d.vue.ts +31 -8
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +83 -47
- package/dist/runtime/app/components/Modal/Modal.theme.js +74 -34
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +86 -10
- package/dist/runtime/app/components/Modal/Modal.vue +258 -108
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -8
- package/dist/runtime/app/components/MultiSelect/MultiSelect.d.vue.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.types.d.ts +105 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue +479 -0
- package/dist/runtime/app/components/MultiSelect/MultiSelect.vue.d.ts +63 -0
- package/dist/runtime/app/components/MultiSelect/sort.d.ts +20 -0
- package/dist/runtime/app/components/MultiSelect/sort.js +10 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.d.vue.ts +36 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.types.d.ts +29 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue +112 -0
- package/dist/runtime/app/components/NumberInput/NumberInput.vue.d.ts +36 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.d.vue.ts +19 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.types.d.ts +32 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue +31 -0
- package/dist/runtime/app/components/OrderedList/OrderedList.vue.d.ts +19 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.d.vue.ts +30 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.types.d.ts +29 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue +57 -0
- package/dist/runtime/app/components/OverflowMenu/OverflowMenu.vue.d.ts +30 -0
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +19 -7
- package/dist/runtime/app/components/Pagination/Pagination.theme.d.ts +43 -8
- package/dist/runtime/app/components/Pagination/Pagination.theme.js +38 -9
- package/dist/runtime/app/components/Pagination/Pagination.types.d.ts +10 -8
- package/dist/runtime/app/components/Pagination/Pagination.vue +69 -100
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +19 -7
- package/dist/runtime/app/components/PaginationNav/PaginationNav.d.vue.ts +15 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.types.d.ts +10 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue +116 -0
- package/dist/runtime/app/components/PaginationNav/PaginationNav.vue.d.ts +15 -0
- package/dist/runtime/app/components/Popover/Popover.d.vue.ts +41 -0
- package/dist/runtime/app/components/Popover/Popover.theme.d.ts +113 -0
- package/dist/runtime/app/components/Popover/Popover.theme.js +68 -0
- package/dist/runtime/app/components/Popover/Popover.types.d.ts +50 -0
- package/dist/runtime/app/components/Popover/Popover.vue +211 -0
- package/dist/runtime/app/components/Popover/Popover.vue.d.ts +41 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.d.vue.ts +13 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.d.ts +68 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.theme.js +44 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.types.d.ts +26 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue +89 -0
- package/dist/runtime/app/components/ProgressBar/ProgressBar.vue.d.ts +13 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.d.ts +21 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.context.js +1 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.d.vue.ts +31 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.d.ts +121 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.theme.js +107 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.types.d.ts +25 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue +56 -0
- package/dist/runtime/app/components/ProgressIndicator/ProgressIndicator.vue.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.d.vue.ts +11 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.types.d.ts +31 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue +83 -0
- package/dist/runtime/app/components/ProgressStep/ProgressStep.vue.d.ts +11 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.d.vue.ts +22 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.d.ts +64 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.theme.js +39 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.types.d.ts +16 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue +76 -0
- package/dist/runtime/app/components/RadioButton/RadioButton.vue.d.ts +22 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.d.vue.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.d.ts +52 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.theme.js +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.types.d.ts +21 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue +99 -0
- package/dist/runtime/app/components/RadioButtonGroup/RadioButtonGroup.vue.d.ts +36 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.d.ts +24 -0
- package/dist/runtime/app/components/RadioButtonGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.d.vue.ts +29 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.types.d.ts +19 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue +71 -0
- package/dist/runtime/app/components/RadioTile/RadioTile.vue.d.ts +29 -0
- package/dist/runtime/app/components/Search/Search.d.vue.ts +37 -0
- package/dist/runtime/app/components/Search/Search.theme.d.ts +121 -0
- package/dist/runtime/app/components/Search/Search.theme.js +94 -0
- package/dist/runtime/app/components/Search/Search.types.d.ts +59 -0
- package/dist/runtime/app/components/Search/Search.vue +172 -0
- package/dist/runtime/app/components/Search/Search.vue.d.ts +37 -0
- package/dist/runtime/app/components/Section/Section.d.vue.ts +16 -0
- package/dist/runtime/app/components/Section/Section.types.d.ts +23 -0
- package/dist/runtime/app/components/Section/Section.vue +25 -0
- package/dist/runtime/app/components/Section/Section.vue.d.ts +16 -0
- package/dist/runtime/app/components/Select/Select.d.vue.ts +31 -0
- package/dist/runtime/app/components/Select/Select.theme.d.ts +114 -0
- package/dist/runtime/app/components/Select/Select.theme.js +107 -0
- package/dist/runtime/app/components/Select/Select.types.d.ts +64 -0
- package/dist/runtime/app/components/Select/Select.vue +190 -0
- package/dist/runtime/app/components/Select/Select.vue.d.ts +31 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.d.vue.ts +34 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.d.ts +23 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.types.js +0 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue +65 -0
- package/dist/runtime/app/components/SelectableTile/SelectableTile.vue.d.ts +34 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.d.ts +13 -0
- package/dist/runtime/app/components/SideNav/SideNav.context.js +1 -0
- package/dist/runtime/app/components/SideNav/SideNav.d.vue.ts +43 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.d.ts +128 -0
- package/dist/runtime/app/components/SideNav/SideNav.theme.js +103 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.d.ts +27 -0
- package/dist/runtime/app/components/SideNav/SideNav.types.js +0 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue +125 -0
- package/dist/runtime/app/components/SideNav/SideNav.vue.d.ts +43 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue +14 -0
- package/dist/runtime/app/components/SideNavDivider/SideNavDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.d.vue.ts +21 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue +25 -0
- package/dist/runtime/app/components/SideNavItems/SideNavItems.vue.d.ts +21 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.d.vue.ts +33 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue +66 -0
- package/dist/runtime/app/components/SideNavLink/SideNavLink.vue.d.ts +33 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.d.ts +14 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.context.js +1 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.d.vue.ts +32 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue +80 -0
- package/dist/runtime/app/components/SideNavMenu/SideNavMenu.vue.d.ts +32 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.d.vue.ts +29 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue +52 -0
- package/dist/runtime/app/components/SideNavMenuItem/SideNavMenuItem.vue.d.ts +29 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.d.ts +5 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.types.js +0 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue +19 -0
- package/dist/runtime/app/components/SkeletonIcon/SkeletonIcon.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.d.vue.ts +6 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.d.ts +9 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.types.js +0 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue +19 -0
- package/dist/runtime/app/components/SkeletonPlaceholder/SkeletonPlaceholder.vue.d.ts +6 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.d.vue.ts +10 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.d.ts +39 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.theme.js +32 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.d.ts +21 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.types.js +0 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue +53 -0
- package/dist/runtime/app/components/SkeletonText/SkeletonText.vue.d.ts +10 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.d.vue.ts +23 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue +20 -0
- package/dist/runtime/app/components/SkipToContent/SkipToContent.vue.d.ts +23 -0
- package/dist/runtime/app/components/Slider/Slider.d.vue.ts +50 -0
- package/dist/runtime/app/components/Slider/Slider.theme.d.ts +67 -0
- package/dist/runtime/app/components/Slider/Slider.theme.js +93 -0
- package/dist/runtime/app/components/Slider/Slider.types.d.ts +85 -0
- package/dist/runtime/app/components/Slider/Slider.types.js +0 -0
- package/dist/runtime/app/components/Slider/Slider.vue +414 -0
- package/dist/runtime/app/components/Slider/Slider.vue.d.ts +50 -0
- package/dist/runtime/app/components/Slider/handles.d.ts +38 -0
- package/dist/runtime/app/components/Slider/handles.js +10 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.d.vue.ts +16 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue +53 -0
- package/dist/runtime/app/components/Slider/internal/SliderThumb/SliderThumb.vue.d.ts +16 -0
- package/dist/runtime/app/components/Stack/Stack.d.vue.ts +17 -0
- package/dist/runtime/app/components/Stack/Stack.types.d.ts +44 -0
- package/dist/runtime/app/components/Stack/Stack.types.js +0 -0
- package/dist/runtime/app/components/Stack/Stack.vue +31 -0
- package/dist/runtime/app/components/Stack/Stack.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue +18 -0
- package/dist/runtime/app/components/StructuredListBody/StructuredListBody.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.d.vue.ts +17 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.d.ts +16 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.types.js +0 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue +29 -0
- package/dist/runtime/app/components/StructuredListCell/StructuredListCell.vue.d.ts +17 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue +18 -0
- package/dist/runtime/app/components/StructuredListHead/StructuredListHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.d.vue.ts +10 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.types.js +0 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue +39 -0
- package/dist/runtime/app/components/StructuredListInput/StructuredListInput.vue.d.ts +10 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.d.vue.ts +19 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.d.ts +25 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.types.js +0 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue +58 -0
- package/dist/runtime/app/components/StructuredListRow/StructuredListRow.vue.d.ts +19 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.d.ts +50 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.context.js +22 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.d.vue.ts +28 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.d.ts +99 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.theme.js +42 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.d.ts +30 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.types.js +0 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue +49 -0
- package/dist/runtime/app/components/StructuredListWrapper/StructuredListWrapper.vue.d.ts +28 -0
- package/dist/runtime/app/components/Switch/Switch.d.vue.ts +19 -0
- package/dist/runtime/app/components/Switch/Switch.types.d.ts +23 -0
- package/dist/runtime/app/components/Switch/Switch.types.js +0 -0
- package/dist/runtime/app/components/Switch/Switch.vue +43 -0
- package/dist/runtime/app/components/Switch/Switch.vue.d.ts +19 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.d.ts +13 -0
- package/dist/runtime/app/components/Switcher/Switcher.context.js +1 -0
- package/dist/runtime/app/components/Switcher/Switcher.d.vue.ts +25 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue +32 -0
- package/dist/runtime/app/components/Switcher/Switcher.vue.d.ts +25 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.d.vue.ts +9 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue +14 -0
- package/dist/runtime/app/components/SwitcherDivider/SwitcherDivider.vue.d.ts +9 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.d.vue.ts +34 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue +66 -0
- package/dist/runtime/app/components/SwitcherItem/SwitcherItem.vue.d.ts +34 -0
- package/dist/runtime/app/components/Tab/Tab.d.vue.ts +21 -0
- package/dist/runtime/app/components/Tab/Tab.types.d.ts +20 -0
- package/dist/runtime/app/components/Tab/Tab.types.js +0 -0
- package/dist/runtime/app/components/Tab/Tab.vue +130 -0
- package/dist/runtime/app/components/Tab/Tab.vue.d.ts +21 -0
- package/dist/runtime/app/components/TabList/TabList.context.d.ts +12 -0
- package/dist/runtime/app/components/TabList/TabList.context.js +1 -0
- package/dist/runtime/app/components/TabList/TabList.d.vue.ts +23 -0
- package/dist/runtime/app/components/TabList/TabList.types.d.ts +34 -0
- package/dist/runtime/app/components/TabList/TabList.types.js +0 -0
- package/dist/runtime/app/components/TabList/TabList.vue +166 -0
- package/dist/runtime/app/components/TabList/TabList.vue.d.ts +23 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.types.js +0 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue +33 -0
- package/dist/runtime/app/components/TabPanel/TabPanel.vue.d.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.d.vue.ts +16 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.d.ts +4 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.types.js +0 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue +22 -0
- package/dist/runtime/app/components/TabPanels/TabPanels.vue.d.ts +16 -0
- package/dist/runtime/app/components/Table/Table.d.vue.ts +17 -30
- package/dist/runtime/app/components/Table/Table.vue +30 -195
- package/dist/runtime/app/components/Table/Table.vue.d.ts +17 -30
- package/dist/runtime/app/components/TableActionList/TableActionList.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue +15 -0
- package/dist/runtime/app/components/TableActionList/TableActionList.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.d.vue.ts +30 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue +28 -0
- package/dist/runtime/app/components/TableBatchAction/TableBatchAction.vue.d.ts +30 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.d.vue.ts +23 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue +65 -0
- package/dist/runtime/app/components/TableBatchActions/TableBatchActions.vue.d.ts +23 -0
- package/dist/runtime/app/components/TableBody/TableBody.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue +19 -0
- package/dist/runtime/app/components/TableBody/TableBody.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableCell/TableCell.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue +27 -0
- package/dist/runtime/app/components/TableCell/TableCell.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.d.vue.ts +22 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue +65 -0
- package/dist/runtime/app/components/TableContainer/TableContainer.vue.d.ts +22 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.d.vue.ts +27 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue +53 -0
- package/dist/runtime/app/components/TableExpandHeader/TableExpandHeader.vue.d.ts +27 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.d.vue.ts +28 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue +58 -0
- package/dist/runtime/app/components/TableExpandRow/TableExpandRow.vue.d.ts +28 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.d.vue.ts +21 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue +34 -0
- package/dist/runtime/app/components/TableExpandedRow/TableExpandedRow.vue.d.ts +21 -0
- package/dist/runtime/app/components/TableHead/TableHead.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue +15 -0
- package/dist/runtime/app/components/TableHead/TableHead.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue +82 -0
- package/dist/runtime/app/components/TableHeader/TableHeader.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue +25 -0
- package/dist/runtime/app/components/TableRow/TableRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue +44 -0
- package/dist/runtime/app/components/TableSelectAll/TableSelectAll.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.d.vue.ts +20 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue +62 -0
- package/dist/runtime/app/components/TableSelectRow/TableSelectRow.vue.d.ts +20 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.d.vue.ts +17 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue +28 -0
- package/dist/runtime/app/components/TableToolbar/TableToolbar.vue.d.ts +17 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue +21 -0
- package/dist/runtime/app/components/TableToolbarAction/TableToolbarAction.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.d.vue.ts +18 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue +15 -0
- package/dist/runtime/app/components/TableToolbarContent/TableToolbarContent.vue.d.ts +18 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue +43 -0
- package/dist/runtime/app/components/TableToolbarMenu/TableToolbarMenu.vue.d.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.d.vue.ts +25 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue +46 -0
- package/dist/runtime/app/components/TableToolbarSearch/TableToolbarSearch.vue.d.ts +25 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.d.ts +30 -0
- package/dist/runtime/app/components/Tabs/Tabs.context.js +1 -0
- package/dist/runtime/app/components/Tabs/Tabs.d.vue.ts +19 -19
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +100 -22
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +97 -19
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +39 -9
- package/dist/runtime/app/components/Tabs/Tabs.vue +60 -175
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +19 -19
- package/dist/runtime/app/components/Tag/Tag.d.vue.ts +42 -0
- package/dist/runtime/app/components/Tag/Tag.theme.d.ts +144 -0
- package/dist/runtime/app/components/Tag/Tag.theme.js +78 -0
- package/dist/runtime/app/components/Tag/Tag.types.d.ts +65 -0
- package/dist/runtime/app/components/Tag/Tag.types.js +0 -0
- package/dist/runtime/app/components/Tag/Tag.vue +125 -0
- package/dist/runtime/app/components/Tag/Tag.vue.d.ts +42 -0
- package/dist/runtime/app/components/TextArea/TextArea.d.vue.ts +44 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.d.ts +149 -0
- package/dist/runtime/app/components/TextArea/TextArea.theme.js +142 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.d.ts +45 -0
- package/dist/runtime/app/components/TextArea/TextArea.types.js +0 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue +230 -0
- package/dist/runtime/app/components/TextArea/TextArea.vue.d.ts +44 -0
- package/dist/runtime/app/components/TextInput/TextInput.d.vue.ts +56 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.d.ts +252 -0
- package/dist/runtime/app/components/TextInput/TextInput.theme.js +205 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.d.ts +81 -0
- package/dist/runtime/app/components/TextInput/TextInput.types.js +0 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue +256 -0
- package/dist/runtime/app/components/TextInput/TextInput.vue.d.ts +56 -0
- package/dist/runtime/app/components/Tile/Tile.d.vue.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.theme.d.ts +106 -0
- package/dist/runtime/app/components/Tile/Tile.theme.js +115 -0
- package/dist/runtime/app/components/Tile/Tile.types.d.ts +16 -0
- package/dist/runtime/app/components/Tile/Tile.types.js +0 -0
- package/dist/runtime/app/components/Tile/Tile.vue +19 -0
- package/dist/runtime/app/components/Tile/Tile.vue.d.ts +16 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileAboveTheFoldContent/TileAboveTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.d.vue.ts +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue +12 -0
- package/dist/runtime/app/components/TileBelowTheFoldContent/TileBelowTheFoldContent.vue.d.ts +12 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.d.vue.ts +28 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.d.ts +30 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.types.js +0 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue +47 -0
- package/dist/runtime/app/components/TileGroup/TileGroup.vue.d.ts +28 -0
- package/dist/runtime/app/components/TileGroup/internal/context.d.ts +21 -0
- package/dist/runtime/app/components/TileGroup/internal/context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.d.ts +23 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.context.js +1 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.d.vue.ts +40 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.d.ts +147 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.theme.js +112 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.d.ts +65 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.types.js +0 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue +113 -0
- package/dist/runtime/app/components/TimePicker/TimePicker.vue.d.ts +40 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.d.vue.ts +21 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.d.ts +43 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.types.js +0 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue +106 -0
- package/dist/runtime/app/components/TimePickerSelect/TimePickerSelect.vue.d.ts +21 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.d.vue.ts +29 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.d.ts +12 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.types.js +0 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue +103 -0
- package/dist/runtime/app/components/ToastNotification/ToastNotification.vue.d.ts +29 -0
- package/dist/runtime/app/components/Toggle/Toggle.d.vue.ts +31 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.d.ts +94 -0
- package/dist/runtime/app/components/Toggle/Toggle.theme.js +65 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.d.ts +42 -0
- package/dist/runtime/app/components/Toggle/Toggle.types.js +0 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue +108 -0
- package/dist/runtime/app/components/Toggle/Toggle.vue.d.ts +31 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.d.ts +27 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.context.js +1 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.d.vue.ts +29 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.d.ts +62 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.theme.js +45 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.d.ts +25 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.types.js +0 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue +163 -0
- package/dist/runtime/app/components/Toggletip/Toggletip.vue.d.ts +29 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.d.vue.ts +13 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue +11 -0
- package/dist/runtime/app/components/ToggletipActions/ToggletipActions.vue.d.ts +13 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.d.vue.ts +16 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.d.ts +11 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.types.js +0 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue +35 -0
- package/dist/runtime/app/components/ToggletipButton/ToggletipButton.vue.d.ts +16 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.d.vue.ts +14 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue +43 -0
- package/dist/runtime/app/components/ToggletipContent/ToggletipContent.vue.d.ts +14 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.d.vue.ts +16 -5
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.d.ts +74 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.js +34 -8
- package/dist/runtime/app/components/Tooltip/Tooltip.types.d.ts +82 -7
- package/dist/runtime/app/components/Tooltip/Tooltip.vue +163 -69
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +16 -5
- package/dist/runtime/app/components/TreeView/TreeView.d.vue.ts +29 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.d.ts +99 -0
- package/dist/runtime/app/components/TreeView/TreeView.theme.js +82 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.d.ts +48 -0
- package/dist/runtime/app/components/TreeView/TreeView.types.js +0 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue +200 -0
- package/dist/runtime/app/components/TreeView/TreeView.vue.d.ts +29 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.d.vue.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue +122 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewNode/TreeViewNode.vue.d.ts +22 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.d.vue.ts +15 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue +50 -0
- package/dist/runtime/app/components/TreeView/internal/TreeViewRow/TreeViewRow.vue.d.ts +15 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.d.ts +31 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.context.js +1 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.d.vue.ts +18 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.d.ts +55 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.theme.js +35 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.d.ts +19 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.types.js +0 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue +30 -0
- package/dist/runtime/app/components/UnorderedList/UnorderedList.vue.d.ts +18 -0
- package/dist/runtime/app/composables/internal/useAnchor.d.ts +47 -0
- package/dist/runtime/app/composables/internal/useAnchor.js +37 -0
- package/dist/runtime/app/composables/internal/useDirection.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useDirection.js +8 -0
- package/dist/runtime/app/composables/internal/usePortal.d.ts +18 -0
- package/dist/runtime/app/composables/internal/usePortal.js +12 -0
- package/dist/runtime/app/composables/useTheme.d.ts +8 -8
- package/dist/runtime/app/composables/useTheme.js +6 -6
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.d.vue.ts +6 -10
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +4 -19
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +4 -12
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +2 -8
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue.d.ts +6 -10
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.d.vue.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.d.ts +3 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.types.js +0 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue +28 -0
- package/dist/runtime/app/primitives/PrimitiveIcon/PrimitiveIcon.vue.d.ts +4 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.d.vue.ts +6 -10
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +2 -8
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +3 -5
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue +2 -4
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue.d.ts +6 -10
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.d.vue.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue +90 -0
- package/dist/runtime/app/primitives/PrimitiveNotification/PrimitiveNotification.vue.d.ts +29 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts +33 -13
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +85 -2
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +81 -3
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +32 -21
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts +33 -13
- package/dist/runtime/app/theme/icons.d.ts +2 -2
- package/dist/runtime/app/theme/icons.js +35 -41
- package/dist/runtime/app/theme/index.d.ts +3049 -950
- package/dist/runtime/app/theme/index.js +85 -103
- package/dist/runtime/app/theme/messages.d.ts +2 -2
- package/dist/runtime/app/theme/messages.js +10 -16
- package/dist/runtime/app/theme/shared.d.ts +2 -43
- package/dist/runtime/app/theme/shared.js +1 -25
- package/dist/runtime/app/types/app-config.d.ts +2 -2
- package/dist/runtime/app/types/base.d.ts +11 -35
- package/dist/runtime/app/types/control.d.ts +30 -0
- package/dist/runtime/app/types/control.js +0 -0
- package/dist/runtime/app/types/form.d.ts +57 -61
- package/dist/runtime/app/types/index.d.ts +89 -55
- package/dist/runtime/app/types/index.js +0 -1
- package/dist/runtime/app/types/input.d.ts +2 -0
- package/dist/runtime/app/types/input.js +0 -0
- package/dist/runtime/app/types/slots.d.ts +8 -8
- package/dist/runtime/app/types/theme.d.ts +49 -84
- package/dist/runtime/app/utils/pagination.d.ts +2 -2
- package/dist/runtime/app/utils/theme.d.ts +5 -5
- package/package.json +3 -13
- package/dist/runtime/app/assets/css/stylesheet.css +0 -1
- package/dist/runtime/app/components/Alert/Alert.d.vue.ts +0 -20
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +0 -14
- package/dist/runtime/app/components/Alert/Alert.theme.js +0 -14
- package/dist/runtime/app/components/Alert/Alert.types.d.ts +0 -10
- package/dist/runtime/app/components/Alert/Alert.vue +0 -68
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +0 -20
- package/dist/runtime/app/components/App/App.d.vue.ts +0 -36
- package/dist/runtime/app/components/App/App.types.d.ts +0 -4
- package/dist/runtime/app/components/App/App.vue +0 -169
- package/dist/runtime/app/components/App/App.vue.d.ts +0 -36
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.d.vue.ts +0 -7
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue +0 -39
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue.d.ts +0 -7
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.d.vue.ts +0 -8
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +0 -18
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue.d.ts +0 -8
- package/dist/runtime/app/components/App/internal/Toast/Toast.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +0 -13
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +0 -16
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +0 -55
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue.d.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.d.vue.ts +0 -11
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +0 -15
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +0 -16
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue +0 -100
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.vue.d.ts +0 -11
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +0 -10
- package/dist/runtime/app/components/Avatar/Avatar.theme.d.ts +0 -30
- package/dist/runtime/app/components/Avatar/Avatar.theme.js +0 -22
- package/dist/runtime/app/components/Avatar/Avatar.types.d.ts +0 -10
- package/dist/runtime/app/components/Avatar/Avatar.vue +0 -51
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +0 -10
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +0 -21
- package/dist/runtime/app/components/Badge/Badge.theme.d.ts +0 -40
- package/dist/runtime/app/components/Badge/Badge.theme.js +0 -22
- package/dist/runtime/app/components/Badge/Badge.types.d.ts +0 -12
- package/dist/runtime/app/components/Badge/Badge.vue +0 -28
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +0 -21
- package/dist/runtime/app/components/Card/Card.d.vue.ts +0 -32
- package/dist/runtime/app/components/Card/Card.theme.d.ts +0 -100
- package/dist/runtime/app/components/Card/Card.theme.js +0 -82
- package/dist/runtime/app/components/Card/Card.types.d.ts +0 -12
- package/dist/runtime/app/components/Card/Card.vue +0 -51
- package/dist/runtime/app/components/Card/Card.vue.d.ts +0 -32
- package/dist/runtime/app/components/Code/Code.d.vue.ts +0 -9
- package/dist/runtime/app/components/Code/Code.theme.d.ts +0 -11
- package/dist/runtime/app/components/Code/Code.theme.js +0 -12
- package/dist/runtime/app/components/Code/Code.types.d.ts +0 -8
- package/dist/runtime/app/components/Code/Code.vue +0 -116
- package/dist/runtime/app/components/Code/Code.vue.d.ts +0 -9
- package/dist/runtime/app/components/Collapsible/Collapsible.d.vue.ts +0 -31
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.d.ts +0 -6
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.js +0 -7
- package/dist/runtime/app/components/Collapsible/Collapsible.types.d.ts +0 -4
- package/dist/runtime/app/components/Collapsible/Collapsible.vue +0 -72
- package/dist/runtime/app/components/Collapsible/Collapsible.vue.d.ts +0 -31
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.d.vue.ts +0 -12
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.d.ts +0 -13
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue +0 -55
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue.d.ts +0 -12
- package/dist/runtime/app/components/Confirm/Confirm.d.vue.ts +0 -31
- package/dist/runtime/app/components/Confirm/Confirm.theme.d.ts +0 -12
- package/dist/runtime/app/components/Confirm/Confirm.theme.js +0 -13
- package/dist/runtime/app/components/Confirm/Confirm.types.d.ts +0 -6
- package/dist/runtime/app/components/Confirm/Confirm.vue +0 -83
- package/dist/runtime/app/components/Confirm/Confirm.vue.d.ts +0 -31
- package/dist/runtime/app/components/Container/Container.d.vue.ts +0 -18
- package/dist/runtime/app/components/Container/Container.theme.d.ts +0 -53
- package/dist/runtime/app/components/Container/Container.theme.js +0 -31
- package/dist/runtime/app/components/Container/Container.types.d.ts +0 -9
- package/dist/runtime/app/components/Container/Container.vue +0 -20
- package/dist/runtime/app/components/Container/Container.vue.d.ts +0 -18
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +0 -17
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.d.ts +0 -16
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.js +0 -13
- package/dist/runtime/app/components/ControlGroup/ControlGroup.types.d.ts +0 -9
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +0 -17
- package/dist/runtime/app/components/DataTable/internal/query.d.ts +0 -18
- package/dist/runtime/app/components/DataTable/internal/query.js +0 -8
- package/dist/runtime/app/components/DataTable/internal/useVunoDataTable.d.ts +0 -70
- package/dist/runtime/app/components/DataTable/internal/useVunoDataTable.js +0 -126
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.d.ts +0 -12
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.js +0 -13
- package/dist/runtime/app/components/FieldArray/FieldArray.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +0 -180
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.js +0 -2
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue +0 -39
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.d.vue.ts +0 -41
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.d.ts +0 -30
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.js +0 -10
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue +0 -40
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.vue.d.ts +0 -41
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.d.ts +0 -27
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.js +0 -18
- package/dist/runtime/app/components/FieldColor/FieldColor.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldColor/FieldColor.vue +0 -88
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.js +0 -2
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue +0 -51
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldFile/FieldFile.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.js +0 -2
- package/dist/runtime/app/components/FieldFile/FieldFile.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldFile/FieldFile.vue +0 -99
- package/dist/runtime/app/components/FieldFile/FieldFile.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.d.vue.ts +0 -67
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +0 -89
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +0 -56
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +0 -208
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +0 -67
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +0 -24
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.js +0 -2
- package/dist/runtime/app/components/FieldInput/FieldInput.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldInput/FieldInput.vue +0 -61
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +0 -24
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.js +0 -2
- package/dist/runtime/app/components/FieldNumber/FieldNumber.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue +0 -47
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.js +0 -2
- package/dist/runtime/app/components/FieldPassword/FieldPassword.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue +0 -62
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +0 -14
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.js +0 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +0 -41
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +0 -14
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.d.vue.ts +0 -32
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.d.ts +0 -54
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.js +0 -31
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue +0 -84
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.vue.d.ts +0 -32
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +0 -17
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.d.ts +0 -6
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.js +0 -7
- package/dist/runtime/app/components/FieldSearch/FieldSearch.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue +0 -74
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +0 -17
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +0 -14
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.js +0 -2
- package/dist/runtime/app/components/FieldSelect/FieldSelect.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +0 -45
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +0 -14
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.js +0 -49
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +0 -206
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +0 -97
- package/dist/runtime/app/components/FieldSelect/internal/Select/option.d.ts +0 -25
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.d.ts +0 -30
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.js +0 -142
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.js +0 -2
- package/dist/runtime/app/components/FieldSlug/FieldSlug.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue +0 -113
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.js +0 -2
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue +0 -37
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +0 -27
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.d.ts +0 -39
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.js +0 -20
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue +0 -46
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +0 -27
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +0 -13
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.js +0 -2
- package/dist/runtime/app/components/FieldTags/FieldTags.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldTags/FieldTags.vue +0 -41
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +0 -13
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.d.ts +0 -34
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.js +0 -20
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +0 -107
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.d.vue.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.d.ts +0 -5
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.js +0 -2
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.types.d.ts +0 -2
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue +0 -45
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue.d.ts +0 -26
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.d.vue.ts +0 -35
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.d.ts +0 -36
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.js +0 -37
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue +0 -43
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.vue.d.ts +0 -35
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.d.vue.ts +0 -7
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue +0 -67
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue.d.ts +0 -7
- package/dist/runtime/app/components/Form/internal/grid.d.ts +0 -9
- package/dist/runtime/app/components/Form/internal/grid.js +0 -91
- package/dist/runtime/app/components/Form/internal/standard-schema.d.ts +0 -29
- package/dist/runtime/app/components/Form/internal/standard-schema.js +0 -15
- package/dist/runtime/app/components/Form/internal/useVunoFormState.d.ts +0 -43
- package/dist/runtime/app/components/Form/internal/useVunoFormState.js +0 -81
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +0 -21
- package/dist/runtime/app/components/FormField/FormField.theme.d.ts +0 -62
- package/dist/runtime/app/components/FormField/FormField.theme.js +0 -28
- package/dist/runtime/app/components/FormField/FormField.types.d.ts +0 -14
- package/dist/runtime/app/components/FormField/FormField.vue +0 -140
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +0 -21
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.d.vue.ts +0 -22
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue +0 -63
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue.d.ts +0 -22
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +0 -44
- package/dist/runtime/app/components/FormModal/FormModal.theme.d.ts +0 -8
- package/dist/runtime/app/components/FormModal/FormModal.theme.js +0 -9
- package/dist/runtime/app/components/FormModal/FormModal.types.d.ts +0 -14
- package/dist/runtime/app/components/FormModal/FormModal.vue +0 -105
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +0 -44
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +0 -4
- package/dist/runtime/app/components/FormSection/FormSection.theme.d.ts +0 -12
- package/dist/runtime/app/components/FormSection/FormSection.theme.js +0 -14
- package/dist/runtime/app/components/FormSection/FormSection.types.d.ts +0 -7
- package/dist/runtime/app/components/FormSection/FormSection.vue +0 -52
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +0 -4
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +0 -4
- package/dist/runtime/app/components/Icon/Icon.types.d.ts +0 -3
- package/dist/runtime/app/components/Icon/Icon.vue +0 -32
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +0 -4
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +0 -20
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +0 -30
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +0 -31
- package/dist/runtime/app/components/Navbar/Navbar.types.d.ts +0 -4
- package/dist/runtime/app/components/Navbar/Navbar.vue +0 -47
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +0 -20
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +0 -9
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.d.ts +0 -3
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.js +0 -1
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.d.ts +0 -32
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.js +0 -35
- package/dist/runtime/app/components/NavigationList/NavigationList.types.d.ts +0 -9
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +0 -233
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +0 -9
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +0 -10
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.d.ts +0 -7
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.js +0 -3
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.d.ts +0 -26
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.js +0 -27
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.d.ts +0 -10
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +0 -268
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +0 -10
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +0 -7
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.d.ts +0 -9
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.js +0 -10
- package/dist/runtime/app/components/NavigationToc/NavigationToc.types.d.ts +0 -7
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +0 -88
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +0 -7
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +0 -34
- package/dist/runtime/app/components/Slideover/Slideover.theme.d.ts +0 -35
- package/dist/runtime/app/components/Slideover/Slideover.theme.js +0 -24
- package/dist/runtime/app/components/Slideover/Slideover.types.d.ts +0 -12
- package/dist/runtime/app/components/Slideover/Slideover.vue +0 -58
- package/dist/runtime/app/components/Slideover/Slideover.vue.d.ts +0 -34
- package/dist/runtime/app/components/State/State.d.vue.ts +0 -14
- package/dist/runtime/app/components/State/State.theme.d.ts +0 -19
- package/dist/runtime/app/components/State/State.theme.js +0 -26
- package/dist/runtime/app/components/State/State.types.d.ts +0 -15
- package/dist/runtime/app/components/State/State.vue +0 -76
- package/dist/runtime/app/components/State/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/Table/Table.theme.d.ts +0 -32
- package/dist/runtime/app/components/Table/Table.theme.js +0 -31
- package/dist/runtime/app/components/Table/Table.types.d.ts +0 -9
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue +0 -26
- package/dist/runtime/app/components/Table/internal/CellBadge/CellBadge.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +0 -42
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue +0 -23
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue +0 -28
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue +0 -24
- package/dist/runtime/app/components/Table/internal/CellImage/CellImage.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.js +0 -4
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue +0 -24
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.d.vue.ts +0 -5
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.d.ts +0 -13
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.js +0 -11
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue +0 -23
- package/dist/runtime/app/components/Table/internal/CellText/CellText.vue.d.ts +0 -5
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.d.vue.ts +0 -22
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue +0 -48
- package/dist/runtime/app/components/Table/internal/TableCell/TableCell.vue.d.ts +0 -22
- package/dist/runtime/app/components/Table/internal/column.d.ts +0 -18
- package/dist/runtime/app/components/Table/internal/column.js +0 -20
- package/dist/runtime/app/components/Table/internal/selection.d.ts +0 -29
- package/dist/runtime/app/components/Table/internal/selection.js +0 -10
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +0 -21
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +0 -29
- package/dist/runtime/app/components/Text/Text.d.vue.ts +0 -19
- package/dist/runtime/app/components/Text/Text.theme.d.ts +0 -55
- package/dist/runtime/app/components/Text/Text.theme.js +0 -28
- package/dist/runtime/app/components/Text/Text.types.d.ts +0 -9
- package/dist/runtime/app/components/Text/Text.vue +0 -37
- package/dist/runtime/app/components/Text/Text.vue.d.ts +0 -19
- package/dist/runtime/app/components/Toolbar/Toolbar.d.vue.ts +0 -17
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.d.ts +0 -5
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.js +0 -6
- package/dist/runtime/app/components/Toolbar/Toolbar.types.d.ts +0 -9
- package/dist/runtime/app/components/Toolbar/Toolbar.vue +0 -76
- package/dist/runtime/app/components/Toolbar/Toolbar.vue.d.ts +0 -17
- package/dist/runtime/app/composables/defineShortcuts.d.ts +0 -19
- package/dist/runtime/app/composables/defineShortcuts.js +0 -68
- package/dist/runtime/app/composables/internal/useVunoAnchor.d.ts +0 -45
- package/dist/runtime/app/composables/internal/useVunoAnchor.js +0 -35
- package/dist/runtime/app/composables/internal/useVunoContext.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoContext.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +0 -16
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +0 -18
- package/dist/runtime/app/composables/internal/useVunoDirection.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoDirection.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoFormContext.d.ts +0 -5
- package/dist/runtime/app/composables/internal/useVunoFormContext.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.d.ts +0 -6
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.js +0 -8
- package/dist/runtime/app/composables/internal/useVunoPortal.d.ts +0 -18
- package/dist/runtime/app/composables/internal/useVunoPortal.js +0 -12
- package/dist/runtime/app/composables/useConfirm.d.ts +0 -15
- package/dist/runtime/app/composables/useConfirm.js +0 -5
- package/dist/runtime/app/composables/useContext.d.ts +0 -11
- package/dist/runtime/app/composables/useContext.js +0 -8
- package/dist/runtime/app/composables/useCrud.d.ts +0 -23
- package/dist/runtime/app/composables/useCrud.js +0 -153
- package/dist/runtime/app/composables/useField.d.ts +0 -10
- package/dist/runtime/app/composables/useField.js +0 -42
- package/dist/runtime/app/composables/useForm.d.ts +0 -5
- package/dist/runtime/app/composables/useForm.js +0 -8
- package/dist/runtime/app/composables/useModal.d.ts +0 -21
- package/dist/runtime/app/composables/useModal.js +0 -24
- package/dist/runtime/app/composables/useOverlay.d.ts +0 -22
- package/dist/runtime/app/composables/useOverlay.js +0 -10
- package/dist/runtime/app/composables/useTableQuery.d.ts +0 -10
- package/dist/runtime/app/composables/useTableQuery.js +0 -126
- package/dist/runtime/app/composables/useToast.d.ts +0 -28
- package/dist/runtime/app/composables/useToast.js +0 -13
- package/dist/runtime/app/plugins/vue-query.d.ts +0 -8
- package/dist/runtime/app/plugins/vue-query.js +0 -13
- package/dist/runtime/app/types/app.d.ts +0 -85
- package/dist/runtime/app/types/confirm.d.ts +0 -19
- package/dist/runtime/app/types/crud.d.ts +0 -108
- package/dist/runtime/app/types/field-type.d.ts +0 -4
- package/dist/runtime/app/types/field.d.ts +0 -235
- package/dist/runtime/app/types/menu.d.ts +0 -22
- package/dist/runtime/app/types/page.d.ts +0 -57
- package/dist/runtime/app/types/responsive.d.ts +0 -8
- package/dist/runtime/app/types/shortcuts.d.ts +0 -44
- package/dist/runtime/app/types/table.d.ts +0 -287
- package/dist/runtime/app/types/text.d.ts +0 -6
- package/dist/runtime/app/utils/query-key.d.ts +0 -20
- package/dist/runtime/app/utils/query-key.js +0 -7
- /package/dist/runtime/app/components/{Alert/Alert.types.js → AILabel/AILabel.types.js} +0 -0
- /package/dist/runtime/app/components/{App/App.types.js → Accordion/Accordion.types.js} +0 -0
- /package/dist/runtime/app/components/{Avatar/Avatar.types.js → AccordionItem/AccordionItem.types.js} +0 -0
- /package/dist/runtime/app/components/{Badge/Badge.types.js → ActionableNotification/ActionableNotification.types.js} +0 -0
- /package/dist/runtime/app/components/{Card/Card.types.js → BreadcrumbItem/BreadcrumbItem.types.js} +0 -0
- /package/dist/runtime/app/components/{Code/Code.types.js → ButtonSet/ButtonSet.types.js} +0 -0
- /package/dist/runtime/app/components/{Collapsible/Collapsible.types.js → Callout/Callout.types.js} +0 -0
- /package/dist/runtime/app/components/{ColorModeButton/ColorModeButton.types.js → Checkbox/Checkbox.types.js} +0 -0
- /package/dist/runtime/app/components/{Confirm/Confirm.types.js → CheckboxGroup/CheckboxGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{Container/Container.types.js → ClickableTile/ClickableTile.types.js} +0 -0
- /package/dist/runtime/app/components/{ControlGroup/ControlGroup.types.js → CodeSnippet/CodeSnippet.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldArray/FieldArray.types.js → Column/Column.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldCheckbox/FieldCheckbox.types.js → ComboBox/ComboBox.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldColor/FieldColor.types.js → ComboButton/ComboButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldCurrency/FieldCurrency.types.js → ContainedList/ContainedList.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldFile/FieldFile.types.js → ContainedListItem/ContainedListItem.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldInput/FieldInput.types.js → ContentSwitcher/ContentSwitcher.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldNumber/FieldNumber.types.js → CopyButton/CopyButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldPassword/FieldPassword.types.js → DatePicker/DatePicker.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldRadio/FieldRadio.types.js → DefinitionTooltip/DefinitionTooltip.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSearch/FieldSearch.types.js → Dropdown/Dropdown.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSelect/internal/Select → Dropdown}/option.js +0 -0
- /package/dist/runtime/app/components/{FieldSelect/FieldSelect.types.js → ExpandableTile/ExpandableTile.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSlug/FieldSlug.types.js → FileUploader/FileUploader.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSwitch/FieldSwitch.types.js → FormGroup/FormGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldTags/FieldTags.types.js → FormLabel/FormLabel.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldTextarea/FieldTextarea.types.js → Grid/Grid.types.js} +0 -0
- /package/dist/runtime/app/components/{FormField/FormField.types.js → Header/Header.types.js} +0 -0
- /package/dist/runtime/app/components/{FormModal/FormModal.types.js → IconButton/IconButton.types.js} +0 -0
- /package/dist/runtime/app/components/{FormSection/FormSection.types.js → InlineLoading/InlineLoading.types.js} +0 -0
- /package/dist/runtime/app/components/{Icon/Icon.types.js → InlineNotification/InlineNotification.types.js} +0 -0
- /package/dist/runtime/app/components/{Navbar/Navbar.types.js → Link/Link.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationList/NavigationList.types.js → ListItem/ListItem.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationMenu/NavigationMenu.types.js → Loading/Loading.types.js} +0 -0
- /package/dist/runtime/app/components/{NavigationToc/NavigationToc.types.js → MenuButton/MenuButton.types.js} +0 -0
- /package/dist/runtime/app/components/{Slideover/Slideover.types.js → MenuItem/MenuItem.types.js} +0 -0
- /package/dist/runtime/app/components/{State/State.types.js → MultiSelect/MultiSelect.types.js} +0 -0
- /package/dist/runtime/app/components/{Table/Table.types.js → NumberInput/NumberInput.types.js} +0 -0
- /package/dist/runtime/app/components/{Text/Text.types.js → OrderedList/OrderedList.types.js} +0 -0
- /package/dist/runtime/app/components/{Toolbar/Toolbar.types.js → OverflowMenu/OverflowMenu.types.js} +0 -0
- /package/dist/runtime/app/{types/app.js → components/PaginationNav/PaginationNav.types.js} +0 -0
- /package/dist/runtime/app/{types/confirm.js → components/Popover/Popover.types.js} +0 -0
- /package/dist/runtime/app/{types/crud.js → components/ProgressBar/ProgressBar.types.js} +0 -0
- /package/dist/runtime/app/{types/field-type.js → components/ProgressIndicator/ProgressIndicator.types.js} +0 -0
- /package/dist/runtime/app/{types/field.js → components/ProgressStep/ProgressStep.types.js} +0 -0
- /package/dist/runtime/app/{types/menu.js → components/RadioButton/RadioButton.types.js} +0 -0
- /package/dist/runtime/app/{types/page.js → components/RadioButtonGroup/RadioButtonGroup.types.js} +0 -0
- /package/dist/runtime/app/{types/responsive.js → components/RadioTile/RadioTile.types.js} +0 -0
- /package/dist/runtime/app/{types/shortcuts.js → components/Search/Search.types.js} +0 -0
- /package/dist/runtime/app/{types/table.js → components/Section/Section.types.js} +0 -0
- /package/dist/runtime/app/{types/text.js → components/Select/Select.types.js} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { useField } from "#vuno/composables/useField";
|
|
3
|
-
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
-
import FieldShell from "#vuno/components/FormField/internal/FieldShell/FieldShell.vue";
|
|
5
|
-
import PrimitiveNumberInput from "#vuno/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue";
|
|
6
|
-
defineOptions({ name: "VunoFieldCurrency" });
|
|
7
|
-
const model = defineModel({ type: null, ...{ default: void 0 } });
|
|
8
|
-
const props = defineProps({
|
|
9
|
-
name: { type: String, required: false },
|
|
10
|
-
class: { type: String, required: false },
|
|
11
|
-
description: { type: String, required: false },
|
|
12
|
-
disabled: { type: Boolean, required: false },
|
|
13
|
-
error: { type: String, required: false },
|
|
14
|
-
help: { type: String, required: false },
|
|
15
|
-
hint: { type: String, required: false },
|
|
16
|
-
label: { type: String, required: false },
|
|
17
|
-
orientation: { type: String, required: false },
|
|
18
|
-
required: { type: Boolean, required: false },
|
|
19
|
-
size: { type: String, required: false },
|
|
20
|
-
ui: { type: Object, required: false },
|
|
21
|
-
controlsOrientation: { type: String, required: false },
|
|
22
|
-
currency: { type: String, required: true },
|
|
23
|
-
decimals: { type: Number, required: false },
|
|
24
|
-
max: { type: Number, required: false },
|
|
25
|
-
min: { type: Number, required: false },
|
|
26
|
-
placeholder: { type: String, required: false },
|
|
27
|
-
step: { type: Number, required: false }
|
|
28
|
-
});
|
|
29
|
-
const { value } = useField(() => props.name, model);
|
|
30
|
-
const ui = useTheme("fieldCurrency", () => props.ui);
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<template>
|
|
34
|
-
<FieldShell v-bind="props">
|
|
35
|
-
<template #default="control">
|
|
36
|
-
<PrimitiveNumberInput
|
|
37
|
-
v-bind="control"
|
|
38
|
-
v-model="value"
|
|
39
|
-
:currency="props.currency"
|
|
40
|
-
:decimals="props.decimals"
|
|
41
|
-
:disabled="props.disabled"
|
|
42
|
-
:max="props.max"
|
|
43
|
-
:min="props.min"
|
|
44
|
-
:orientation="props.controlsOrientation ?? 'horizontal'"
|
|
45
|
-
:placeholder="props.placeholder"
|
|
46
|
-
:step="props.step"
|
|
47
|
-
:ui="ui"
|
|
48
|
-
/>
|
|
49
|
-
</template>
|
|
50
|
-
</FieldShell>
|
|
51
|
-
</template>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldCurrencyProps } from './FieldCurrency.types.js';
|
|
2
|
-
type __VLS_Props = VunoFieldCurrencyProps;
|
|
3
|
-
type __VLS_ModelProps = {
|
|
4
|
-
modelValue?: number | undefined;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (value: number | undefined) => any;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldFileProps } from './FieldFile.types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Los tres booleanos llevan `withDefaults` y no un `?? true` en el uso.
|
|
4
|
-
*
|
|
5
|
-
* Vue convierte un prop declarado `boolean` que no viene en `false`, nunca
|
|
6
|
-
* en `undefined`, así que `props.multiple ?? true` no se ejecuta jamás: da
|
|
7
|
-
* `false` y el campo queda de un solo archivo salvo que la definición
|
|
8
|
-
* escriba `multiple: true`. Lo mismo hacía que `dropzone` llegara en
|
|
9
|
-
* `false` al control, pisando el `true` que este sí traía por defecto.
|
|
10
|
-
*/
|
|
11
|
-
type __VLS_Props = VunoFieldFileProps;
|
|
12
|
-
type __VLS_ModelProps = {
|
|
13
|
-
modelValue?: File[] | null | undefined;
|
|
14
|
-
};
|
|
15
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (value: File[] | null | undefined) => any;
|
|
18
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: File[] | null | undefined) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
dropzone: boolean;
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
reorderable: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const _default: typeof __VLS_export;
|
|
26
|
-
export default _default;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed } from "vue";
|
|
3
|
-
import { useField } from "#vuno/composables/useField";
|
|
4
|
-
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
5
|
-
import Button from "#vuno/components/Button/Button.vue";
|
|
6
|
-
import FileUpload from "#vuno/components/FieldFile/internal/FileUpload/FileUpload.vue";
|
|
7
|
-
import FieldShell from "#vuno/components/FormField/internal/FieldShell/FieldShell.vue";
|
|
8
|
-
import Tooltip from "#vuno/components/Tooltip/Tooltip.vue";
|
|
9
|
-
defineOptions({ name: "VunoFieldFile" });
|
|
10
|
-
const model = defineModel({ type: null, ...{ default: void 0 } });
|
|
11
|
-
const props = defineProps({
|
|
12
|
-
name: { type: String, required: false },
|
|
13
|
-
class: { type: String, required: false },
|
|
14
|
-
description: { type: String, required: false },
|
|
15
|
-
disabled: { type: Boolean, required: false },
|
|
16
|
-
error: { type: String, required: false },
|
|
17
|
-
help: { type: String, required: false },
|
|
18
|
-
hint: { type: String, required: false },
|
|
19
|
-
label: { type: String, required: false },
|
|
20
|
-
orientation: { type: String, required: false },
|
|
21
|
-
required: { type: Boolean, required: false },
|
|
22
|
-
size: { type: String, required: false },
|
|
23
|
-
ui: { type: Object, required: false },
|
|
24
|
-
accept: { type: String, required: false },
|
|
25
|
-
dropzone: { type: Boolean, required: false, default: true },
|
|
26
|
-
layout: { type: String, required: false },
|
|
27
|
-
multiple: { type: Boolean, required: false, default: true },
|
|
28
|
-
reorderable: { type: Boolean, required: false, default: true }
|
|
29
|
-
});
|
|
30
|
-
const { value } = useField(() => props.name, model);
|
|
31
|
-
const icons = useIcons();
|
|
32
|
-
const messages = useMessages();
|
|
33
|
-
const ui = useTheme("fieldFile", () => props.ui);
|
|
34
|
-
const isReorderable = computed(() => props.reorderable && props.multiple);
|
|
35
|
-
const files = computed(() => value.value ?? []);
|
|
36
|
-
function move(index, offset) {
|
|
37
|
-
const next = [...files.value];
|
|
38
|
-
const target = index + offset;
|
|
39
|
-
if (target < 0 || target >= next.length) return;
|
|
40
|
-
const [moved] = next.splice(index, 1);
|
|
41
|
-
if (!moved) return;
|
|
42
|
-
next.splice(target, 0, moved);
|
|
43
|
-
value.value = next;
|
|
44
|
-
}
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<template>
|
|
48
|
-
<FieldShell v-bind="props">
|
|
49
|
-
<template #default="control">
|
|
50
|
-
<FileUpload
|
|
51
|
-
v-bind="control"
|
|
52
|
-
v-model="value"
|
|
53
|
-
:accept="props.accept"
|
|
54
|
-
:disabled="props.disabled"
|
|
55
|
-
:dropzone="props.dropzone"
|
|
56
|
-
:layout="props.layout ?? 'list'"
|
|
57
|
-
:multiple="props.multiple"
|
|
58
|
-
:ui="ui"
|
|
59
|
-
>
|
|
60
|
-
<!--
|
|
61
|
-
Solo las flechas: el botón de quitar lo pone el control, que es
|
|
62
|
-
quien sabe cómo se borra de su lista. Aquí se añade lo que es propio
|
|
63
|
-
del campo, que es poder reordenar.
|
|
64
|
-
-->
|
|
65
|
-
<template #fileTrailing="{ actionClass, file, index }">
|
|
66
|
-
<Tooltip
|
|
67
|
-
v-if="isReorderable && index > 0"
|
|
68
|
-
:text="messages.fileMoveUp"
|
|
69
|
-
>
|
|
70
|
-
<Button
|
|
71
|
-
:aria-label="`${messages.fileMoveUp} ${file.name}`"
|
|
72
|
-
color="neutral"
|
|
73
|
-
:icon="icons.fileMoveUp"
|
|
74
|
-
size="xs"
|
|
75
|
-
:ui="{ base: actionClass }"
|
|
76
|
-
variant="soft"
|
|
77
|
-
@click="move(index, -1)"
|
|
78
|
-
/>
|
|
79
|
-
</Tooltip>
|
|
80
|
-
|
|
81
|
-
<Tooltip
|
|
82
|
-
v-if="isReorderable && index < files.length - 1"
|
|
83
|
-
:text="messages.fileMoveDown"
|
|
84
|
-
>
|
|
85
|
-
<Button
|
|
86
|
-
:aria-label="`${messages.fileMoveDown} ${file.name}`"
|
|
87
|
-
color="neutral"
|
|
88
|
-
:icon="icons.fileMoveDown"
|
|
89
|
-
size="xs"
|
|
90
|
-
:ui="{ base: actionClass }"
|
|
91
|
-
variant="soft"
|
|
92
|
-
@click="move(index, 1)"
|
|
93
|
-
/>
|
|
94
|
-
</Tooltip>
|
|
95
|
-
</template>
|
|
96
|
-
</FileUpload>
|
|
97
|
-
</template>
|
|
98
|
-
</FieldShell>
|
|
99
|
-
</template>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldFileProps } from './FieldFile.types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Los tres booleanos llevan `withDefaults` y no un `?? true` en el uso.
|
|
4
|
-
*
|
|
5
|
-
* Vue convierte un prop declarado `boolean` que no viene en `false`, nunca
|
|
6
|
-
* en `undefined`, así que `props.multiple ?? true` no se ejecuta jamás: da
|
|
7
|
-
* `false` y el campo queda de un solo archivo salvo que la definición
|
|
8
|
-
* escriba `multiple: true`. Lo mismo hacía que `dropzone` llegara en
|
|
9
|
-
* `false` al control, pisando el `true` que este sí traía por defecto.
|
|
10
|
-
*/
|
|
11
|
-
type __VLS_Props = VunoFieldFileProps;
|
|
12
|
-
type __VLS_ModelProps = {
|
|
13
|
-
modelValue?: File[] | null | undefined;
|
|
14
|
-
};
|
|
15
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (value: File[] | null | undefined) => any;
|
|
18
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: File[] | null | undefined) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
dropzone: boolean;
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
reorderable: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const _default: typeof __VLS_export;
|
|
26
|
-
export default _default;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { VunoRadius } from '#vuno/types/base';
|
|
2
|
-
import type { VunoFieldSize } from '#vuno/types/field';
|
|
3
|
-
import type { VunoUi } from '#vuno/types/slots';
|
|
4
|
-
type __VLS_Props = Props;
|
|
5
|
-
type __VLS_Slots = {
|
|
6
|
-
/**
|
|
7
|
-
* Acciones extra por archivo: reordenar, previsualizar.
|
|
8
|
-
*
|
|
9
|
-
* Entrega `actionClass` porque lo que se añada aquí va al lado del
|
|
10
|
-
* botón de quitar y tiene que parecerse a él. Sin eso, quien use el
|
|
11
|
-
* hueco copia las clases, y una copia deja de seguir al tema en cuanto
|
|
12
|
-
* alguien cambia el original.
|
|
13
|
-
*/
|
|
14
|
-
fileTrailing?: (props: {
|
|
15
|
-
actionClass: string | undefined;
|
|
16
|
-
file: File;
|
|
17
|
-
index: number;
|
|
18
|
-
removeFile: (index: number) => void;
|
|
19
|
-
}) => unknown;
|
|
20
|
-
};
|
|
21
|
-
type Props = {
|
|
22
|
-
name?: string;
|
|
23
|
-
/** Filtro del selector nativo: `image/*`, `.pdf`, ... */
|
|
24
|
-
accept?: string;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
/** Admite soltar archivos encima, además del clic. */
|
|
27
|
-
dropzone?: boolean;
|
|
28
|
-
/** Texto de la zona de caída. Sin él solo se ve el icono. */
|
|
29
|
-
hint?: string;
|
|
30
|
-
/** En rejilla se ve la miniatura; en lista, el nombre y el tamaño. */
|
|
31
|
-
layout?: 'grid' | 'list';
|
|
32
|
-
multiple?: boolean;
|
|
33
|
-
/** La curvatura. Sin valor, la que traiga el tema. */
|
|
34
|
-
radius?: VunoRadius;
|
|
35
|
-
required?: boolean;
|
|
36
|
-
size?: VunoFieldSize;
|
|
37
|
-
ui?: VunoUi<'fieldFile' | 'fileUpload'>;
|
|
38
|
-
};
|
|
39
|
-
type __VLS_ModelProps = {
|
|
40
|
-
modelValue?: File[] | null | undefined;
|
|
41
|
-
};
|
|
42
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
43
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
44
|
-
inputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
45
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
-
"update:modelValue": (value: File[] | null | undefined) => any;
|
|
47
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
48
|
-
"onUpdate:modelValue"?: ((value: File[] | null | undefined) => any) | undefined;
|
|
49
|
-
}>, {
|
|
50
|
-
radius: VunoRadius;
|
|
51
|
-
size: VunoFieldSize;
|
|
52
|
-
name: string;
|
|
53
|
-
dropzone: boolean;
|
|
54
|
-
hint: string;
|
|
55
|
-
layout: "grid" | "list";
|
|
56
|
-
ui: VunoUi<"fieldFile" | "fileUpload">;
|
|
57
|
-
accept: string;
|
|
58
|
-
multiple: boolean;
|
|
59
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
61
|
-
declare const _default: typeof __VLS_export;
|
|
62
|
-
export default _default;
|
|
63
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
64
|
-
new (): {
|
|
65
|
-
$slots: S;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* La subida de archivos. La zona de caída es una `<label>`, así que el clic
|
|
3
|
-
* en cualquier punto abre el selector sin manejadores; lo que se pinta aquí
|
|
4
|
-
* es solo su aspecto y el de la lista de lo elegido.
|
|
5
|
-
*
|
|
6
|
-
* La miniatura y el icono de respaldo comparten hueco a propósito: si un
|
|
7
|
-
* archivo sin vista previa ocupara menos, la lista bailaría al mezclar
|
|
8
|
-
* imágenes con documentos.
|
|
9
|
-
*/
|
|
10
|
-
export declare const fileUploadTheme: Record<"fileUpload", {
|
|
11
|
-
readonly slots: {
|
|
12
|
-
readonly name: "truncate text-vuno-body";
|
|
13
|
-
readonly actions: "ms-auto flex shrink-0 items-center gap-1.5";
|
|
14
|
-
readonly dropzone: "flex cursor-pointer items-center rounded-sm border border-vuno-border-strong bg-vuno-surface-1 text-vuno-muted transition-[background-color,border-color,color] focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-vuno-primary hover:border-vuno-primary hover:bg-vuno-surface-2 hover:text-vuno-body";
|
|
15
|
-
readonly dropzoneActive: "border-vuno-primary bg-vuno-surface-2 text-vuno-body";
|
|
16
|
-
readonly dropzoneDisabled: "cursor-not-allowed opacity-50";
|
|
17
|
-
readonly fileIcon: "shrink-0 text-vuno-muted";
|
|
18
|
-
readonly hint: "leading-snug";
|
|
19
|
-
readonly icon: "";
|
|
20
|
-
readonly item: "flex items-center gap-2 rounded-sm border border-vuno-border bg-vuno-surface p-1.5";
|
|
21
|
-
readonly itemAction: "rounded-sm";
|
|
22
|
-
readonly list: "flex w-full flex-col gap-1.5";
|
|
23
|
-
readonly preview: "shrink-0 rounded-sm object-cover";
|
|
24
|
-
readonly root: "flex w-full flex-col gap-2";
|
|
25
|
-
readonly size: "text-vuno-muted";
|
|
26
|
-
readonly texts: "flex min-w-0 flex-col";
|
|
27
|
-
};
|
|
28
|
-
readonly variants: {
|
|
29
|
-
readonly dropzone: {
|
|
30
|
-
readonly false: {
|
|
31
|
-
readonly dropzone: "w-full justify-start gap-2 border-solid bg-vuno-surface px-3 py-2";
|
|
32
|
-
readonly hint: "text-start";
|
|
33
|
-
};
|
|
34
|
-
readonly true: {
|
|
35
|
-
readonly dropzone: "min-h-24 w-full flex-col justify-center gap-2 border-dashed px-4 py-6";
|
|
36
|
-
readonly hint: "text-center font-medium text-vuno-body";
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
readonly layout: {
|
|
40
|
-
/** En rejilla manda la imagen: la lista pasa a columnas y el texto se va debajo. */
|
|
41
|
-
readonly grid: {
|
|
42
|
-
readonly item: "flex-col items-start";
|
|
43
|
-
readonly list: "grid grid-cols-[repeat(auto-fill,minmax(8rem,1fr))] gap-2";
|
|
44
|
-
readonly preview: "h-24 w-full";
|
|
45
|
-
};
|
|
46
|
-
readonly list: {
|
|
47
|
-
readonly preview: "size-9";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
readonly radius: Record<import("../../../../types/base.js").VunoRadius, Record<"dropzone", string>>;
|
|
51
|
-
readonly size: {
|
|
52
|
-
readonly xs: {
|
|
53
|
-
readonly name: "text-xs";
|
|
54
|
-
readonly fileIcon: "size-6";
|
|
55
|
-
readonly hint: "text-xs";
|
|
56
|
-
readonly icon: "size-6";
|
|
57
|
-
readonly size: "text-xs";
|
|
58
|
-
};
|
|
59
|
-
readonly sm: {
|
|
60
|
-
readonly name: "text-sm";
|
|
61
|
-
readonly fileIcon: "size-7";
|
|
62
|
-
readonly hint: "text-xs";
|
|
63
|
-
readonly icon: "size-7";
|
|
64
|
-
readonly size: "text-xs";
|
|
65
|
-
};
|
|
66
|
-
readonly md: {
|
|
67
|
-
readonly name: "text-sm";
|
|
68
|
-
readonly fileIcon: "size-8";
|
|
69
|
-
readonly hint: "text-sm";
|
|
70
|
-
readonly icon: "size-8";
|
|
71
|
-
readonly size: "text-xs";
|
|
72
|
-
};
|
|
73
|
-
readonly lg: {
|
|
74
|
-
readonly name: "text-base";
|
|
75
|
-
readonly fileIcon: "size-9";
|
|
76
|
-
readonly hint: "text-sm";
|
|
77
|
-
readonly icon: "size-9";
|
|
78
|
-
readonly size: "text-sm";
|
|
79
|
-
};
|
|
80
|
-
readonly xl: {
|
|
81
|
-
readonly name: "text-base";
|
|
82
|
-
readonly fileIcon: "size-10";
|
|
83
|
-
readonly hint: "text-base";
|
|
84
|
-
readonly icon: "size-10";
|
|
85
|
-
readonly size: "text-sm";
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { radiusByStep } from "#vuno/theme/shared";
|
|
2
|
-
import { defineTheme } from "#vuno/utils/theme";
|
|
3
|
-
export const fileUploadTheme = defineTheme("fileUpload", {
|
|
4
|
-
slots: {
|
|
5
|
-
name: "truncate text-vuno-body",
|
|
6
|
-
actions: "ms-auto flex shrink-0 items-center gap-1.5",
|
|
7
|
-
dropzone: "flex cursor-pointer items-center rounded-sm border border-vuno-border-strong bg-vuno-surface-1 text-vuno-muted transition-[background-color,border-color,color] focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-vuno-primary hover:border-vuno-primary hover:bg-vuno-surface-2 hover:text-vuno-body",
|
|
8
|
-
dropzoneActive: "border-vuno-primary bg-vuno-surface-2 text-vuno-body",
|
|
9
|
-
dropzoneDisabled: "cursor-not-allowed opacity-50",
|
|
10
|
-
fileIcon: "shrink-0 text-vuno-muted",
|
|
11
|
-
hint: "leading-snug",
|
|
12
|
-
icon: "",
|
|
13
|
-
item: "flex items-center gap-2 rounded-sm border border-vuno-border bg-vuno-surface p-1.5",
|
|
14
|
-
/*
|
|
15
|
-
* Los botones de cada archivo: quitar, y los de reordenar que
|
|
16
|
-
* `FieldFile` añade por el hueco. El radio estaba escrito a mano en
|
|
17
|
-
* los tres sitios, y por `ui` de instancia, así que no había forma
|
|
18
|
-
* de cambiarlo desde el proyecto. Ahora sale de aquí y el hueco lo
|
|
19
|
-
* reparte, de modo que los tres siguen pareciéndose entre sí.
|
|
20
|
-
*/
|
|
21
|
-
itemAction: "rounded-sm",
|
|
22
|
-
list: "flex w-full flex-col gap-1.5",
|
|
23
|
-
preview: "shrink-0 rounded-sm object-cover",
|
|
24
|
-
root: "flex w-full flex-col gap-2",
|
|
25
|
-
size: "text-vuno-muted",
|
|
26
|
-
texts: "flex min-w-0 flex-col"
|
|
27
|
-
},
|
|
28
|
-
variants: {
|
|
29
|
-
/*
|
|
30
|
-
* **Sin zona de caída el control cambia de forma, no solo de
|
|
31
|
-
* comportamiento.** Antes `dropzone: false` apagaba los manejadores
|
|
32
|
-
* y dejaba el mismo recuadro de rayas: medido, idéntico píxel a
|
|
33
|
-
* píxel al de al lado. O sea un área que invita a soltar y no acepta
|
|
34
|
-
* nada, que es la peor manera de apagar algo. Ahora se encoge a una
|
|
35
|
-
* fila, que es lo que su propia documentación prometía para un
|
|
36
|
-
* formulario apretado.
|
|
37
|
-
*/
|
|
38
|
-
dropzone: {
|
|
39
|
-
false: { dropzone: "w-full justify-start gap-2 border-solid bg-vuno-surface px-3 py-2", hint: "text-start" },
|
|
40
|
-
true: { dropzone: "min-h-24 w-full flex-col justify-center gap-2 border-dashed px-4 py-6", hint: "text-center font-medium text-vuno-body" }
|
|
41
|
-
},
|
|
42
|
-
layout: {
|
|
43
|
-
/** En rejilla manda la imagen: la lista pasa a columnas y el texto se va debajo. */
|
|
44
|
-
grid: { item: "flex-col items-start", list: "grid grid-cols-[repeat(auto-fill,minmax(8rem,1fr))] gap-2", preview: "h-24 w-full" },
|
|
45
|
-
list: { preview: "size-9" }
|
|
46
|
-
},
|
|
47
|
-
radius: radiusByStep("dropzone"),
|
|
48
|
-
size: {
|
|
49
|
-
xs: { name: "text-xs", fileIcon: "size-6", hint: "text-xs", icon: "size-6", size: "text-xs" },
|
|
50
|
-
sm: { name: "text-sm", fileIcon: "size-7", hint: "text-xs", icon: "size-7", size: "text-xs" },
|
|
51
|
-
md: { name: "text-sm", fileIcon: "size-8", hint: "text-sm", icon: "size-8", size: "text-xs" },
|
|
52
|
-
lg: { name: "text-base", fileIcon: "size-9", hint: "text-sm", icon: "size-9", size: "text-sm" },
|
|
53
|
-
xl: { name: "text-base", fileIcon: "size-10", hint: "text-base", icon: "size-10", size: "text-sm" }
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
});
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, onBeforeUnmount, ref, watch } from "vue";
|
|
3
|
-
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
4
|
-
import Button from "#vuno/components/Button/Button.vue";
|
|
5
|
-
import Icon from "#vuno/components/Icon/Icon.vue";
|
|
6
|
-
import Text from "#vuno/components/Text/Text.vue";
|
|
7
|
-
defineOptions({ name: "VunoFileUpload", inheritAttrs: false });
|
|
8
|
-
const model = defineModel({ type: null, ...{ default: void 0 } });
|
|
9
|
-
const props = defineProps({
|
|
10
|
-
name: { type: String, required: false, default: void 0 },
|
|
11
|
-
accept: { type: String, required: false, default: void 0 },
|
|
12
|
-
disabled: { type: Boolean, required: false },
|
|
13
|
-
dropzone: { type: Boolean, required: false, default: true },
|
|
14
|
-
hint: { type: String, required: false, default: void 0 },
|
|
15
|
-
layout: { type: String, required: false, default: "list" },
|
|
16
|
-
multiple: { type: Boolean, required: false, default: true },
|
|
17
|
-
radius: { type: String, required: false, default: void 0 },
|
|
18
|
-
required: { type: Boolean, required: false },
|
|
19
|
-
size: { type: String, required: false, default: "md" },
|
|
20
|
-
ui: { type: Object, required: false, default: void 0 }
|
|
21
|
-
});
|
|
22
|
-
defineSlots();
|
|
23
|
-
const icons = useIcons();
|
|
24
|
-
const messages = useMessages();
|
|
25
|
-
const ui = useTheme(
|
|
26
|
-
"fileUpload",
|
|
27
|
-
() => props.ui,
|
|
28
|
-
() => ({
|
|
29
|
-
dropzone: props.dropzone ? "true" : "false",
|
|
30
|
-
layout: props.layout,
|
|
31
|
-
radius: props.radius,
|
|
32
|
-
size: props.size
|
|
33
|
-
})
|
|
34
|
-
);
|
|
35
|
-
const inputRef = ref(null);
|
|
36
|
-
const isDragging = ref(false);
|
|
37
|
-
const previews = ref(/* @__PURE__ */ new Map());
|
|
38
|
-
const files = computed(() => model.value ?? []);
|
|
39
|
-
function releasePreviews(keep = []) {
|
|
40
|
-
for (const [file, url] of previews.value) {
|
|
41
|
-
if (keep.includes(file)) continue;
|
|
42
|
-
URL.revokeObjectURL(url);
|
|
43
|
-
previews.value.delete(file);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function formatSize(bytes) {
|
|
47
|
-
if (bytes < 1024) return `${bytes} B`;
|
|
48
|
-
const units = ["KB", "MB", "GB"];
|
|
49
|
-
let value = bytes / 1024;
|
|
50
|
-
let unit = 0;
|
|
51
|
-
while (value >= 1024 && unit < units.length - 1) {
|
|
52
|
-
value /= 1024;
|
|
53
|
-
unit += 1;
|
|
54
|
-
}
|
|
55
|
-
return `${value.toFixed(value >= 10 || unit === 0 ? 0 : 1)} ${units[unit]}`;
|
|
56
|
-
}
|
|
57
|
-
function accepted(list) {
|
|
58
|
-
const next = [...list];
|
|
59
|
-
return props.multiple ? [...files.value, ...next] : next.slice(0, 1);
|
|
60
|
-
}
|
|
61
|
-
function onChange(event) {
|
|
62
|
-
const input = event.target;
|
|
63
|
-
if (!input.files || input.files.length === 0) return;
|
|
64
|
-
model.value = accepted(input.files);
|
|
65
|
-
input.value = "";
|
|
66
|
-
}
|
|
67
|
-
function removeFile(index) {
|
|
68
|
-
const next = [...files.value];
|
|
69
|
-
next.splice(index, 1);
|
|
70
|
-
model.value = next.length > 0 ? next : void 0;
|
|
71
|
-
}
|
|
72
|
-
function onDrop(event) {
|
|
73
|
-
isDragging.value = false;
|
|
74
|
-
if (props.disabled || !props.dropzone) return;
|
|
75
|
-
const dropped = event.dataTransfer?.files;
|
|
76
|
-
if (!dropped || dropped.length === 0) return;
|
|
77
|
-
model.value = accepted(dropped);
|
|
78
|
-
}
|
|
79
|
-
function onDragOver() {
|
|
80
|
-
if (props.disabled || !props.dropzone) return;
|
|
81
|
-
isDragging.value = true;
|
|
82
|
-
}
|
|
83
|
-
watch(
|
|
84
|
-
files,
|
|
85
|
-
(next) => {
|
|
86
|
-
releasePreviews(next);
|
|
87
|
-
for (const file of next) {
|
|
88
|
-
if (!file.type.startsWith("image/") || previews.value.has(file)) continue;
|
|
89
|
-
previews.value.set(file, URL.createObjectURL(file));
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{ immediate: true }
|
|
93
|
-
);
|
|
94
|
-
onBeforeUnmount(() => releasePreviews());
|
|
95
|
-
defineExpose({ inputRef });
|
|
96
|
-
</script>
|
|
97
|
-
|
|
98
|
-
<template>
|
|
99
|
-
<div :class="ui.root">
|
|
100
|
-
<!--
|
|
101
|
-
La etiqueta envuelve al input, así que el clic en cualquier punto de
|
|
102
|
-
la zona abre el selector sin necesitar un manejador. `dragover` se
|
|
103
|
-
cancela siempre —también deshabilitado— porque lo que hace por
|
|
104
|
-
defecto el navegador es abrir el archivo y perder el formulario.
|
|
105
|
-
-->
|
|
106
|
-
<!--
|
|
107
|
-
La etiqueta **envuelve** al control en vez de apuntarlo con `for`:
|
|
108
|
-
el envoltorio de campo le pone su propio `id` al input, así que un
|
|
109
|
-
`for` escrito aquí señalaría a un elemento que ya no existe y el
|
|
110
|
-
clic dejaría de abrir el selector sin que nada fallara.
|
|
111
|
-
-->
|
|
112
|
-
<label
|
|
113
|
-
:class="[ui.dropzone, isDragging && ui.dropzoneActive, props.disabled && ui.dropzoneDisabled]"
|
|
114
|
-
@dragleave="isDragging = false"
|
|
115
|
-
@dragover.prevent="onDragOver"
|
|
116
|
-
@drop.prevent="onDrop"
|
|
117
|
-
>
|
|
118
|
-
<Icon
|
|
119
|
-
:class="ui.icon"
|
|
120
|
-
:name="icons.fileUpload"
|
|
121
|
-
/>
|
|
122
|
-
|
|
123
|
-
<Text
|
|
124
|
-
v-if="props.hint"
|
|
125
|
-
:class="ui.hint"
|
|
126
|
-
tag="span"
|
|
127
|
-
tone="inherit"
|
|
128
|
-
variant="inherit"
|
|
129
|
-
>{{ props.hint }}</Text
|
|
130
|
-
>
|
|
131
|
-
|
|
132
|
-
<input
|
|
133
|
-
ref="inputRef"
|
|
134
|
-
v-bind="$attrs"
|
|
135
|
-
:accept="props.accept"
|
|
136
|
-
class="sr-only"
|
|
137
|
-
:disabled="props.disabled"
|
|
138
|
-
:multiple="props.multiple"
|
|
139
|
-
:name="props.name"
|
|
140
|
-
:required="props.required && files.length === 0"
|
|
141
|
-
type="file"
|
|
142
|
-
@change="onChange"
|
|
143
|
-
/>
|
|
144
|
-
</label>
|
|
145
|
-
|
|
146
|
-
<ul
|
|
147
|
-
v-if="files.length > 0"
|
|
148
|
-
:class="ui.list"
|
|
149
|
-
>
|
|
150
|
-
<li
|
|
151
|
-
v-for="(file, index) in files"
|
|
152
|
-
:key="`${file.name}-${index}`"
|
|
153
|
-
:class="ui.item"
|
|
154
|
-
>
|
|
155
|
-
<img
|
|
156
|
-
v-if="previews.get(file)"
|
|
157
|
-
:alt="file.name"
|
|
158
|
-
:class="ui.preview"
|
|
159
|
-
:src="previews.get(file)"
|
|
160
|
-
/>
|
|
161
|
-
|
|
162
|
-
<Icon
|
|
163
|
-
v-else
|
|
164
|
-
:class="ui.fileIcon"
|
|
165
|
-
:name="icons.fileUpload"
|
|
166
|
-
/>
|
|
167
|
-
|
|
168
|
-
<div :class="ui.texts">
|
|
169
|
-
<Text
|
|
170
|
-
:class="ui.name"
|
|
171
|
-
tag="span"
|
|
172
|
-
tone="inherit"
|
|
173
|
-
variant="inherit"
|
|
174
|
-
>{{ file.name }}</Text
|
|
175
|
-
>
|
|
176
|
-
<Text
|
|
177
|
-
:class="ui.size"
|
|
178
|
-
tag="span"
|
|
179
|
-
tone="inherit"
|
|
180
|
-
variant="inherit"
|
|
181
|
-
>{{ formatSize(file.size) }}</Text
|
|
182
|
-
>
|
|
183
|
-
</div>
|
|
184
|
-
|
|
185
|
-
<div :class="ui.actions">
|
|
186
|
-
<slot
|
|
187
|
-
:actionClass="ui.itemAction"
|
|
188
|
-
:file="file"
|
|
189
|
-
:index="index"
|
|
190
|
-
name="fileTrailing"
|
|
191
|
-
:removeFile="removeFile"
|
|
192
|
-
/>
|
|
193
|
-
|
|
194
|
-
<Button
|
|
195
|
-
:aria-label="`${messages.fileRemove} ${file.name}`"
|
|
196
|
-
color="neutral"
|
|
197
|
-
:disabled="props.disabled"
|
|
198
|
-
:icon="icons.fileRemove"
|
|
199
|
-
size="xs"
|
|
200
|
-
:ui="{ base: ui.itemAction }"
|
|
201
|
-
variant="soft"
|
|
202
|
-
@click="removeFile(index)"
|
|
203
|
-
/>
|
|
204
|
-
</div>
|
|
205
|
-
</li>
|
|
206
|
-
</ul>
|
|
207
|
-
</div>
|
|
208
|
-
</template>
|