@groupteknology/vuno 2.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 -611
- package/dist/module.d.mts +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +26 -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 +19 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +32 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +36 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +12 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +30 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +19 -0
- 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 +11 -33
- package/dist/runtime/app/components/Button/Button.theme.d.ts +171 -64
- package/dist/runtime/app/components/Button/Button.theme.js +83 -48
- package/dist/runtime/app/components/Button/Button.types.d.ts +43 -0
- package/dist/runtime/app/components/Button/Button.vue +89 -43
- package/dist/runtime/app/components/Button/Button.vue.d.ts +11 -33
- 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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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 +51 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +180 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +175 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +154 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.js +0 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue +210 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue.d.ts +51 -0
- 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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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 -49
- 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 -0
- package/dist/runtime/app/components/Form/Form.types.js +0 -0
- package/dist/runtime/app/components/Form/Form.vue +9 -119
- package/dist/runtime/app/components/Form/Form.vue.d.ts +14 -49
- 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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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 -22
- 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 +16 -0
- package/dist/runtime/app/components/Menu/Menu.types.js +0 -0
- package/dist/runtime/app/components/Menu/Menu.vue +41 -121
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +24 -22
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +56 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +133 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +56 -0
- 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.types.js +0 -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.types.js +0 -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 -20
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +83 -43
- package/dist/runtime/app/components/Modal/Modal.theme.js +73 -37
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +88 -0
- package/dist/runtime/app/components/Modal/Modal.types.js +0 -0
- package/dist/runtime/app/components/Modal/Modal.vue +258 -74
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -20
- 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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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 -25
- 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 +13 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.js +0 -0
- package/dist/runtime/app/components/Pagination/Pagination.vue +69 -96
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +19 -25
- 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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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.types.js +0 -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 -77
- package/dist/runtime/app/components/Table/Table.vue +33 -470
- package/dist/runtime/app/components/Table/Table.vue.d.ts +17 -77
- 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 -38
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +103 -16
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +101 -14
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +40 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.js +0 -0
- package/dist/runtime/app/components/Tabs/Tabs.vue +62 -103
- package/dist/runtime/app/components/Tabs/Tabs.vue.d.ts +19 -38
- 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 -26
- 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 +86 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.js +0 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.vue +164 -70
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +16 -26
- 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 +11 -8
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.d.vue.ts +38 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +35 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +30 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +27 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue.d.ts +38 -0
- 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 +49 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +24 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +19 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue +64 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.vue.d.ts +49 -0
- 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 +55 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +117 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +107 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +234 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts +55 -0
- 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 +3075 -818
- package/dist/runtime/app/theme/index.js +91 -101
- package/dist/runtime/app/theme/messages.d.ts +2 -2
- package/dist/runtime/app/theme/messages.js +11 -16
- package/dist/runtime/app/theme/shared.d.ts +2 -42
- package/dist/runtime/app/theme/shared.js +1 -24
- package/dist/runtime/app/types/app-config.d.ts +2 -2
- package/dist/runtime/app/types/base.d.ts +11 -53
- 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 -62
- package/dist/runtime/app/types/index.d.ts +98 -16
- 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 +14 -10
- package/dist/runtime/app/types/theme.d.ts +52 -78
- package/dist/runtime/app/utils/format.js +3 -2
- package/dist/runtime/app/utils/pagination.d.ts +2 -2
- package/dist/runtime/app/utils/path.js +1 -1
- package/dist/runtime/app/utils/slots.d.ts +22 -0
- package/dist/runtime/app/utils/theme.d.ts +10 -43
- package/dist/runtime/app/utils/theme.js +31 -29
- package/package.json +9 -19
- 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 -13
- package/dist/runtime/app/components/Alert/Alert.theme.js +0 -13
- package/dist/runtime/app/components/Alert/Alert.vue +0 -59
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +0 -20
- package/dist/runtime/app/components/App/App.d.vue.ts +0 -52
- package/dist/runtime/app/components/App/App.vue +0 -150
- package/dist/runtime/app/components/App/App.vue.d.ts +0 -52
- 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 -19
- 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 -18
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +0 -64
- 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 -27
- 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.vue +0 -51
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +0 -27
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +0 -40
- 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.vue +0 -28
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +0 -40
- package/dist/runtime/app/components/Card/Card.d.vue.ts +0 -94
- package/dist/runtime/app/components/Card/Card.theme.d.ts +0 -57
- package/dist/runtime/app/components/Card/Card.theme.js +0 -62
- package/dist/runtime/app/components/Card/Card.vue +0 -45
- package/dist/runtime/app/components/Card/Card.vue.d.ts +0 -94
- package/dist/runtime/app/components/Code/Code.d.vue.ts +0 -19
- 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.vue +0 -109
- package/dist/runtime/app/components/Code/Code.vue.d.ts +0 -19
- package/dist/runtime/app/components/Confirm/Confirm.d.vue.ts +0 -35
- 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.vue +0 -83
- package/dist/runtime/app/components/Confirm/Confirm.vue.d.ts +0 -35
- package/dist/runtime/app/components/Container/Container.d.vue.ts +0 -42
- 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.vue +0 -20
- package/dist/runtime/app/components/Container/Container.vue.d.ts +0 -42
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +0 -26
- 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.vue +0 -26
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +0 -26
- 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.vue +0 -173
- 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.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 -40
- 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 -40
- 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.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.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.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 -66
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +0 -88
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +0 -55
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue +0 -187
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.vue.d.ts +0 -66
- 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.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.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.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 -13
- 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.vue +0 -41
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +0 -13
- 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 -80
- 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.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 -13
- 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.vue +0 -45
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +0 -13
- 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 -196
- 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.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.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 -26
- 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 -26
- 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.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 -97
- 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.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 -34
- 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 -34
- 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 -35
- 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.vue +0 -124
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +0 -35
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +0 -63
- 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.vue +0 -95
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +0 -63
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +0 -15
- 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.vue +0 -45
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +0 -15
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +0 -6
- package/dist/runtime/app/components/Icon/Icon.vue +0 -32
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +0 -6
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +0 -45
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +0 -31
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +0 -32
- package/dist/runtime/app/components/Navbar/Navbar.vue +0 -47
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +0 -45
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +0 -38
- 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.vue +0 -187
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +0 -38
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +0 -31
- 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.vue +0 -236
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +0 -31
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +0 -14
- 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.vue +0 -81
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +0 -14
- package/dist/runtime/app/components/Page/Page.d.vue.ts +0 -40
- package/dist/runtime/app/components/Page/Page.theme.d.ts +0 -32
- package/dist/runtime/app/components/Page/Page.theme.js +0 -31
- package/dist/runtime/app/components/Page/Page.vue +0 -132
- package/dist/runtime/app/components/Page/Page.vue.d.ts +0 -40
- package/dist/runtime/app/components/Slideover/Slideover.d.vue.ts +0 -43
- 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.vue +0 -58
- package/dist/runtime/app/components/Slideover/Slideover.vue.d.ts +0 -43
- 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.vue +0 -66
- package/dist/runtime/app/components/State/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/Table/Table.theme.d.ts +0 -50
- package/dist/runtime/app/components/Table/Table.theme.js +0 -64
- 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 -32
- 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 -16
- 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 -21
- 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 -17
- 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 -16
- 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 -9
- package/dist/runtime/app/components/Table/internal/column.js +0 -5
- package/dist/runtime/app/components/Table/internal/query.d.ts +0 -18
- package/dist/runtime/app/components/Table/internal/query.js +0 -8
- 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/useVunoTable.d.ts +0 -93
- package/dist/runtime/app/components/Table/internal/useVunoTable.js +0 -153
- 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/internal/ControlShell/ControlShell.d.vue.ts +0 -41
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.d.ts +0 -50
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.theme.js +0 -38
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue +0 -33
- package/dist/runtime/app/components/internal/ControlShell/ControlShell.vue.d.ts +0 -41
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.d.vue.ts +0 -23
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue +0 -63
- package/dist/runtime/app/components/internal/FieldShell/FieldShell.vue.d.ts +0 -23
- package/dist/runtime/app/components/internal/Input/Input.d.vue.ts +0 -52
- package/dist/runtime/app/components/internal/Input/Input.theme.d.ts +0 -30
- package/dist/runtime/app/components/internal/Input/Input.theme.js +0 -21
- package/dist/runtime/app/components/internal/Input/Input.vue +0 -66
- package/dist/runtime/app/components/internal/Input/Input.vue.d.ts +0 -52
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.d.vue.ts +0 -36
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.d.ts +0 -31
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.theme.js +0 -26
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue +0 -221
- package/dist/runtime/app/components/internal/NumberInput/NumberInput.vue.d.ts +0 -36
- 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/useVunoControlGroup.d.ts +0 -17
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +0 -18
- 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 -9
- 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 -9
- 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/internal/keys.d.ts +0 -43
- package/dist/runtime/app/internal/keys.js +0 -8
- package/dist/runtime/app/internal/slots.d.ts +0 -22
- 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/alert.d.ts +0 -13
- package/dist/runtime/app/types/app.d.ts +0 -83
- 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 -233
- package/dist/runtime/app/types/page.d.ts +0 -61
- 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/state.d.ts +0 -35
- package/dist/runtime/app/types/table.d.ts +0 -287
- 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/{types/alert.js → components/AILabel/AILabel.types.js} +0 -0
- /package/dist/runtime/app/{types/app.js → components/Accordion/Accordion.types.js} +0 -0
- /package/dist/runtime/app/{types/confirm.js → components/AccordionItem/AccordionItem.types.js} +0 -0
- /package/dist/runtime/app/{types/crud.js → components/ActionableNotification/ActionableNotification.types.js} +0 -0
- /package/dist/runtime/app/{types/field-type.js → components/Breadcrumb/Breadcrumb.types.js} +0 -0
- /package/dist/runtime/app/{types/field.js → components/BreadcrumbItem/BreadcrumbItem.types.js} +0 -0
- /package/dist/runtime/app/{types/page.js → components/Button/Button.types.js} +0 -0
- /package/dist/runtime/app/{types/responsive.js → components/ButtonSet/ButtonSet.types.js} +0 -0
- /package/dist/runtime/app/{types/shortcuts.js → components/Callout/Callout.types.js} +0 -0
- /package/dist/runtime/app/{types/state.js → components/Checkbox/Checkbox.types.js} +0 -0
- /package/dist/runtime/app/{types/table.js → components/CheckboxGroup/CheckboxGroup.types.js} +0 -0
- /package/dist/runtime/app/components/{FieldSelect/internal/Select → Dropdown}/option.js +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.d.ts +0 -0
- /package/dist/runtime/app/{components/internal/NumberInput → primitives/PrimitiveNumberInput}/number.js +0 -0
- /package/dist/runtime/app/{internal → utils}/slots.js +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const numberInputTheme: Record<"numberInput", {
|
|
2
|
-
/**
|
|
3
|
-
* El campo numérico. La caja la pone `baseControl`; aquí solo el control de
|
|
4
|
-
* dentro y cómo se colocan sus dos botones.
|
|
5
|
-
*
|
|
6
|
-
* Los dos botones permanecen juntos al final. En vertical se apilan; en
|
|
7
|
-
* horizontal quedan lado a lado con el tamaño normal del control. La caja
|
|
8
|
-
* compartida elimina el relleno final en ambos casos.
|
|
9
|
-
*/
|
|
10
|
-
readonly slots: {
|
|
11
|
-
readonly base: "w-full min-w-0 bg-transparent text-right tabular-nums outline-none placeholder:text-vuno-subtle disabled:cursor-not-allowed";
|
|
12
|
-
};
|
|
13
|
-
readonly variants: {
|
|
14
|
-
readonly orientation: {
|
|
15
|
-
readonly horizontal: {
|
|
16
|
-
readonly actions: "flex items-center";
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Apilados tienen que caber dos dentro de la altura de la caja,
|
|
20
|
-
* así que el botón pierde su altura propia. Con la del tamaño
|
|
21
|
-
* `xs` —24 px cada uno— el campo crecía a 49 px de alto en vez
|
|
22
|
-
* de los 32 que mide un control normal.
|
|
23
|
-
*/
|
|
24
|
-
readonly vertical: {
|
|
25
|
-
readonly actions: "flex flex-col-reverse";
|
|
26
|
-
readonly stepper: "h-3.5 w-7 p-0";
|
|
27
|
-
readonly stepperIcon: "size-3";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineTheme } from "#vuno/utils/theme";
|
|
2
|
-
export const numberInputTheme = defineTheme("numberInput", {
|
|
3
|
-
/**
|
|
4
|
-
* El campo numérico. La caja la pone `baseControl`; aquí solo el control de
|
|
5
|
-
* dentro y cómo se colocan sus dos botones.
|
|
6
|
-
*
|
|
7
|
-
* Los dos botones permanecen juntos al final. En vertical se apilan; en
|
|
8
|
-
* horizontal quedan lado a lado con el tamaño normal del control. La caja
|
|
9
|
-
* compartida elimina el relleno final en ambos casos.
|
|
10
|
-
*/
|
|
11
|
-
slots: {
|
|
12
|
-
base: "w-full min-w-0 bg-transparent text-right tabular-nums outline-none placeholder:text-vuno-subtle disabled:cursor-not-allowed"
|
|
13
|
-
},
|
|
14
|
-
variants: {
|
|
15
|
-
orientation: {
|
|
16
|
-
horizontal: { actions: "flex items-center" },
|
|
17
|
-
/**
|
|
18
|
-
* Apilados tienen que caber dos dentro de la altura de la caja,
|
|
19
|
-
* así que el botón pierde su altura propia. Con la del tamaño
|
|
20
|
-
* `xs` —24 px cada uno— el campo crecía a 49 px de alto en vez
|
|
21
|
-
* de los 32 que mide un control normal.
|
|
22
|
-
*/
|
|
23
|
-
vertical: { actions: "flex flex-col-reverse", stepper: "h-3.5 w-7 p-0", stepperIcon: "size-3" }
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
});
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, nextTick, ref } from "vue";
|
|
3
|
-
import { useIcons, useLocale, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
4
|
-
import Button from "#vuno/components/Button/Button.vue";
|
|
5
|
-
import ControlShell from "#vuno/components/internal/ControlShell/ControlShell.vue";
|
|
6
|
-
import { addStep, clampNumber, isPotentialNumber, parseNumber, snapToStep } from "#vuno/components/internal/NumberInput/number";
|
|
7
|
-
defineOptions({ name: "VunoNumberInput", inheritAttrs: false });
|
|
8
|
-
const model = defineModel({ type: null, ...{ default: void 0 } });
|
|
9
|
-
const props = defineProps({
|
|
10
|
-
currency: { type: String, required: false, default: void 0 },
|
|
11
|
-
decimals: { type: Number, required: false, default: void 0 },
|
|
12
|
-
disabled: { type: Boolean, required: false },
|
|
13
|
-
max: { type: Number, required: false, default: void 0 },
|
|
14
|
-
min: { type: Number, required: false, default: void 0 },
|
|
15
|
-
orientation: { type: String, required: false, default: "horizontal" },
|
|
16
|
-
size: { type: String, required: false, default: "md" },
|
|
17
|
-
step: { type: Number, required: false, default: void 0 },
|
|
18
|
-
ui: { type: Object, required: false, default: void 0 }
|
|
19
|
-
});
|
|
20
|
-
const icons = useIcons();
|
|
21
|
-
const locale = useLocale();
|
|
22
|
-
const messages = useMessages();
|
|
23
|
-
const ui = useTheme(
|
|
24
|
-
"numberInput",
|
|
25
|
-
() => props.ui,
|
|
26
|
-
() => ({ orientation: props.orientation, size: props.size })
|
|
27
|
-
);
|
|
28
|
-
const pointerFocus = ref(false);
|
|
29
|
-
const typing = ref();
|
|
30
|
-
const isVertical = computed(() => props.orientation === "vertical");
|
|
31
|
-
const buttonSize = computed(() => isVertical.value ? "xs" : props.size);
|
|
32
|
-
const stepperUi = computed(() => ({ base: ui.value.stepper, icon: ui.value.stepperIcon }));
|
|
33
|
-
const decimals = computed(() => {
|
|
34
|
-
if (props.decimals === void 0 || !Number.isFinite(props.decimals)) return void 0;
|
|
35
|
-
return Math.min(20, Math.max(0, Math.trunc(props.decimals)));
|
|
36
|
-
});
|
|
37
|
-
const digits = computed(() => decimals.value === void 0 ? {} : { maximumFractionDigits: decimals.value, minimumFractionDigits: decimals.value });
|
|
38
|
-
const formatter = computed(() => {
|
|
39
|
-
return new Intl.NumberFormat(locale.value, props.currency ? { ...digits.value, currency: props.currency, style: "currency" } : digits.value);
|
|
40
|
-
});
|
|
41
|
-
const editingFormatter = computed(() => {
|
|
42
|
-
const resolved = formatter.value.resolvedOptions();
|
|
43
|
-
return new Intl.NumberFormat(locale.value, {
|
|
44
|
-
maximumFractionDigits: resolved.maximumFractionDigits,
|
|
45
|
-
minimumFractionDigits: 0,
|
|
46
|
-
useGrouping: false
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
const step = computed(() => props.step ?? (props.currency ? 10 ** -(formatter.value.resolvedOptions().maximumFractionDigits ?? 0) : 1));
|
|
50
|
-
const display = computed(() => {
|
|
51
|
-
if (typing.value !== void 0) return typing.value;
|
|
52
|
-
return model.value === void 0 ? "" : formatter.value.format(model.value);
|
|
53
|
-
});
|
|
54
|
-
const atMin = computed(() => props.min !== void 0 && model.value !== void 0 && model.value <= props.min);
|
|
55
|
-
const atMax = computed(() => props.max !== void 0 && model.value !== void 0 && model.value >= props.max);
|
|
56
|
-
function formatEditing(value) {
|
|
57
|
-
return editingFormatter.value.formatToParts(value).filter((part) => part.type !== "group" && part.type !== "literal").map((part) => part.value).join("");
|
|
58
|
-
}
|
|
59
|
-
function commit(value) {
|
|
60
|
-
if (value === void 0) {
|
|
61
|
-
model.value = void 0;
|
|
62
|
-
return void 0;
|
|
63
|
-
}
|
|
64
|
-
const committed = clampNumber(snapToStep(value, step.value, props.min), props.min, props.max);
|
|
65
|
-
model.value = committed;
|
|
66
|
-
return committed;
|
|
67
|
-
}
|
|
68
|
-
function nudge(direction, multiplier = 1) {
|
|
69
|
-
if (props.disabled) return void 0;
|
|
70
|
-
const draft = typing.value === void 0 ? void 0 : parseNumber(typing.value, locale.value);
|
|
71
|
-
const from = draft ?? model.value ?? props.min ?? 0;
|
|
72
|
-
return commit(draft === void 0 && model.value === void 0 ? from : addStep(from, direction * step.value * multiplier));
|
|
73
|
-
}
|
|
74
|
-
function onKeydown(event) {
|
|
75
|
-
if (props.disabled) return;
|
|
76
|
-
const actions = {
|
|
77
|
-
End: props.max === void 0 ? void 0 : () => commit(props.max),
|
|
78
|
-
Home: props.min === void 0 ? void 0 : () => commit(props.min),
|
|
79
|
-
ArrowDown: () => nudge(-1),
|
|
80
|
-
ArrowUp: () => nudge(1),
|
|
81
|
-
PageDown: () => nudge(-1, 10),
|
|
82
|
-
PageUp: () => nudge(1, 10)
|
|
83
|
-
};
|
|
84
|
-
const action = actions[event.key];
|
|
85
|
-
if (!action) return;
|
|
86
|
-
event.preventDefault();
|
|
87
|
-
const value = action();
|
|
88
|
-
typing.value = value === void 0 ? "" : formatEditing(value);
|
|
89
|
-
}
|
|
90
|
-
function onWheel(event) {
|
|
91
|
-
if (props.disabled || event.target !== document.activeElement) return;
|
|
92
|
-
if (Math.abs(event.deltaY) <= Math.abs(event.deltaX)) return;
|
|
93
|
-
event.preventDefault();
|
|
94
|
-
const value = nudge(event.deltaY < 0 ? 1 : -1);
|
|
95
|
-
typing.value = value === void 0 ? "" : formatEditing(value);
|
|
96
|
-
}
|
|
97
|
-
function onInput(event) {
|
|
98
|
-
const input = event.target;
|
|
99
|
-
if (isPotentialNumber(input.value, locale.value)) {
|
|
100
|
-
typing.value = input.value;
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
input.value = typing.value ?? display.value;
|
|
104
|
-
}
|
|
105
|
-
async function beginEditing(input, selectAll) {
|
|
106
|
-
const formatted = input.value;
|
|
107
|
-
const formattedCaret = input.selectionStart ?? formatted.length;
|
|
108
|
-
const editing = model.value === void 0 ? "" : formatEditing(model.value);
|
|
109
|
-
const editingCharacters = new Set(editing);
|
|
110
|
-
let charactersBeforeCaret = 0;
|
|
111
|
-
for (const character of formatted.slice(0, formattedCaret)) {
|
|
112
|
-
if (editingCharacters.has(character)) charactersBeforeCaret++;
|
|
113
|
-
}
|
|
114
|
-
typing.value = editing;
|
|
115
|
-
await nextTick();
|
|
116
|
-
if (selectAll) {
|
|
117
|
-
input.select();
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
let editingCaret = 0;
|
|
121
|
-
for (const character of [...editing].slice(0, charactersBeforeCaret)) editingCaret += character.length;
|
|
122
|
-
input.setSelectionRange(editingCaret, editingCaret);
|
|
123
|
-
}
|
|
124
|
-
async function onClick(event) {
|
|
125
|
-
const input = event.currentTarget;
|
|
126
|
-
if (typing.value === void 0) await beginEditing(input, false);
|
|
127
|
-
pointerFocus.value = false;
|
|
128
|
-
}
|
|
129
|
-
function onFocus(event) {
|
|
130
|
-
if (props.disabled) return;
|
|
131
|
-
if (pointerFocus.value) return;
|
|
132
|
-
void beginEditing(event.currentTarget, true);
|
|
133
|
-
}
|
|
134
|
-
function onPointerdown() {
|
|
135
|
-
pointerFocus.value = true;
|
|
136
|
-
}
|
|
137
|
-
function onPointercancel() {
|
|
138
|
-
pointerFocus.value = false;
|
|
139
|
-
}
|
|
140
|
-
function onBlur() {
|
|
141
|
-
pointerFocus.value = false;
|
|
142
|
-
if (typing.value === void 0) return;
|
|
143
|
-
const parsed = parseNumber(typing.value, locale.value);
|
|
144
|
-
if (!typing.value.trim()) commit(void 0);
|
|
145
|
-
else if (parsed !== void 0) commit(parsed);
|
|
146
|
-
typing.value = void 0;
|
|
147
|
-
}
|
|
148
|
-
</script>
|
|
149
|
-
|
|
150
|
-
<template>
|
|
151
|
-
<ControlShell
|
|
152
|
-
:size="props.size"
|
|
153
|
-
:ui="props.ui"
|
|
154
|
-
>
|
|
155
|
-
<!--
|
|
156
|
-
`type="text"` y no `number`: el nativo acepta texto que no es un
|
|
157
|
-
número, se anuncia como caja de texto y cambia con la rueda sin
|
|
158
|
-
tener el foco. El papel de `spinbutton` con sus tres `aria-value*`
|
|
159
|
-
es lo que lo convierte en un control de número para quien no ve la
|
|
160
|
-
pantalla.
|
|
161
|
-
-->
|
|
162
|
-
<input
|
|
163
|
-
v-bind="$attrs"
|
|
164
|
-
:aria-valuemax="props.max"
|
|
165
|
-
:aria-valuemin="props.min"
|
|
166
|
-
:aria-valuenow="model"
|
|
167
|
-
:aria-valuetext="props.currency && model !== void 0 ? formatter.format(model) : void 0"
|
|
168
|
-
autocomplete="off"
|
|
169
|
-
autocorrect="off"
|
|
170
|
-
:class="ui.base"
|
|
171
|
-
:disabled="props.disabled"
|
|
172
|
-
inputmode="decimal"
|
|
173
|
-
role="spinbutton"
|
|
174
|
-
spellcheck="false"
|
|
175
|
-
type="text"
|
|
176
|
-
:value="display"
|
|
177
|
-
@blur="onBlur"
|
|
178
|
-
@click="onClick"
|
|
179
|
-
@focus="onFocus"
|
|
180
|
-
@input="onInput"
|
|
181
|
-
@keydown="onKeydown"
|
|
182
|
-
@pointercancel="onPointercancel"
|
|
183
|
-
@pointerdown="onPointerdown"
|
|
184
|
-
@wheel="onWheel"
|
|
185
|
-
/>
|
|
186
|
-
|
|
187
|
-
<template #trailing>
|
|
188
|
-
<!--
|
|
189
|
-
Los botones quedan fuera del tabulador a propósito: el control ya
|
|
190
|
-
sube y baja con las flechas, y dos paradas más por campo numérico
|
|
191
|
-
alargan el recorrido del teclado sin añadir nada que no se
|
|
192
|
-
pudiera hacer.
|
|
193
|
-
-->
|
|
194
|
-
<div :class="ui.actions">
|
|
195
|
-
<Button
|
|
196
|
-
:aria-label="messages.numberDecrement"
|
|
197
|
-
color="neutral"
|
|
198
|
-
:disabled="props.disabled || atMin"
|
|
199
|
-
:icon="icons.numberDecrement"
|
|
200
|
-
:size="buttonSize"
|
|
201
|
-
tabindex="-1"
|
|
202
|
-
:ui="stepperUi"
|
|
203
|
-
variant="ghost"
|
|
204
|
-
@click="nudge(-1)"
|
|
205
|
-
/>
|
|
206
|
-
|
|
207
|
-
<Button
|
|
208
|
-
:aria-label="messages.numberIncrement"
|
|
209
|
-
color="neutral"
|
|
210
|
-
:disabled="props.disabled || atMax"
|
|
211
|
-
:icon="icons.numberIncrement"
|
|
212
|
-
:size="buttonSize"
|
|
213
|
-
tabindex="-1"
|
|
214
|
-
:ui="stepperUi"
|
|
215
|
-
variant="ghost"
|
|
216
|
-
@click="nudge(1)"
|
|
217
|
-
/>
|
|
218
|
-
</div>
|
|
219
|
-
</template>
|
|
220
|
-
</ControlShell>
|
|
221
|
-
</template>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { VunoSize } from '#vuno/types/base';
|
|
2
|
-
import type { VunoControlOrientation } from '#vuno/types/field';
|
|
3
|
-
import type { VunoUi } from '#vuno/types/slots';
|
|
4
|
-
type __VLS_Props = Props;
|
|
5
|
-
type Props = {
|
|
6
|
-
currency?: string;
|
|
7
|
-
decimals?: number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
max?: number;
|
|
10
|
-
min?: number;
|
|
11
|
-
/** En vertical los botones se apilan; en horizontal, quedan lado a lado. */
|
|
12
|
-
orientation?: VunoControlOrientation;
|
|
13
|
-
size?: VunoSize;
|
|
14
|
-
step?: number;
|
|
15
|
-
ui?: VunoUi<'control' | 'input' | 'numberInput'>;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_ModelProps = {
|
|
18
|
-
modelValue?: number | undefined;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: number | undefined) => any;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
currency: string;
|
|
27
|
-
size: VunoSize;
|
|
28
|
-
orientation: VunoControlOrientation;
|
|
29
|
-
ui: VunoUi<"control" | "input" | "numberInput">;
|
|
30
|
-
decimals: number;
|
|
31
|
-
max: number;
|
|
32
|
-
min: number;
|
|
33
|
-
step: number;
|
|
34
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const _default: typeof __VLS_export;
|
|
36
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type { VunoShortcuts, VunoShortcutsOptions } from '#vuno/types/shortcuts';
|
|
3
|
-
/**
|
|
4
|
-
* Atajos de teclado, declarados donde se usan.
|
|
5
|
-
*
|
|
6
|
-
* Se llama `define…` y no `use…` aunque viva en `composables/`, y es
|
|
7
|
-
* deliberado: no devuelve estado sino una forma de parar, y lo que hace es
|
|
8
|
-
* **declarar** algo que se recoge solo al desmontar. `useShortcuts` prometería
|
|
9
|
-
* un valor que nadie lee.
|
|
10
|
-
*
|
|
11
|
-
* Se engancha **una vez** al documento y no un oyente por atajo: con quince
|
|
12
|
-
* atajos declarados en una pantalla, lo segundo instala quince manejadores que
|
|
13
|
-
* corren todos en cada pulsación.
|
|
14
|
-
*
|
|
15
|
-
* @param config El mapa de atajos. Admite un `ref` o un getter para cambiarlos sin volver a montar.
|
|
16
|
-
* @param options Retardo de la secuencia y comparación por posición física.
|
|
17
|
-
* @returns Una función que desengancha, por si hay que parar antes de desmontar.
|
|
18
|
-
*/
|
|
19
|
-
export declare function defineShortcuts(config: MaybeRefOrGetter<VunoShortcuts>, options?: VunoShortcutsOptions): () => void;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { onScopeDispose, toValue } from "vue";
|
|
2
|
-
export function defineShortcuts(config, options = {}) {
|
|
3
|
-
if (typeof document === "undefined") return () => {
|
|
4
|
-
};
|
|
5
|
-
const { chainDelay = 800, layoutIndependent = false } = options;
|
|
6
|
-
const platform = navigator.userAgentData?.platform ?? navigator.platform ?? "";
|
|
7
|
-
const isApple = /ipad|iphone|ipod|mac/i.test(platform);
|
|
8
|
-
let chain = [];
|
|
9
|
-
let chainedAt = 0;
|
|
10
|
-
const stop = () => document.removeEventListener("keydown", onKeydown);
|
|
11
|
-
document.addEventListener("keydown", onKeydown);
|
|
12
|
-
onScopeDispose(stop, true);
|
|
13
|
-
return stop;
|
|
14
|
-
function onKeydown(event) {
|
|
15
|
-
const entries = Object.entries(toValue(config)).filter(([, shortcut]) => Boolean(shortcut));
|
|
16
|
-
const now = Date.now();
|
|
17
|
-
chain = now - chainedAt > chainDelay ? [describe(event)] : [...chain, describe(event)];
|
|
18
|
-
chainedAt = now;
|
|
19
|
-
for (let length = chain.length; length > 0; length--) {
|
|
20
|
-
const candidate = chain.slice(-length).join("-");
|
|
21
|
-
const found = entries.find(([name]) => normalize(name) === candidate);
|
|
22
|
-
if (!found) continue;
|
|
23
|
-
const shortcut = resolve(found[1]);
|
|
24
|
-
if (!allowed(shortcut.usingInput, event)) continue;
|
|
25
|
-
event.preventDefault();
|
|
26
|
-
chain = [];
|
|
27
|
-
shortcut.handler(event);
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function describe(event) {
|
|
32
|
-
const parts = [];
|
|
33
|
-
if (isApple ? event.metaKey : event.ctrlKey) parts.push("meta");
|
|
34
|
-
if (isApple ? event.ctrlKey : false) parts.push("ctrl");
|
|
35
|
-
if (event.altKey) parts.push("alt");
|
|
36
|
-
if (event.shiftKey) parts.push("shift");
|
|
37
|
-
parts.push(key(event));
|
|
38
|
-
return parts.join("_");
|
|
39
|
-
}
|
|
40
|
-
function key(event) {
|
|
41
|
-
if (layoutIndependent)
|
|
42
|
-
return event.code.replace(/^Digit/, "").replace(/^Key/, "").toLowerCase();
|
|
43
|
-
return event.key === " " ? "space" : event.key.toLowerCase();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function normalize(name) {
|
|
47
|
-
return name.split("-").map((step) => {
|
|
48
|
-
const parts = step.toLowerCase().split("_");
|
|
49
|
-
const pressed = parts.at(-1) ?? "";
|
|
50
|
-
const modifiers = new Set(
|
|
51
|
-
parts.slice(0, -1).map((modifier) => {
|
|
52
|
-
if (modifier === "command") return "meta";
|
|
53
|
-
return modifier === "option" ? "alt" : modifier;
|
|
54
|
-
})
|
|
55
|
-
);
|
|
56
|
-
return [...["meta", "ctrl", "alt", "shift"].filter((modifier) => modifiers.has(modifier)), pressed].join("_");
|
|
57
|
-
}).join("-");
|
|
58
|
-
}
|
|
59
|
-
function resolve(shortcut) {
|
|
60
|
-
return typeof shortcut === "function" ? { handler: shortcut } : shortcut;
|
|
61
|
-
}
|
|
62
|
-
function allowed(usingInput, event) {
|
|
63
|
-
const target = event.target;
|
|
64
|
-
const editing = Boolean(target?.closest('input, textarea, select, [contenteditable=""], [contenteditable="true"]'));
|
|
65
|
-
if (!editing || usingInput === true) return true;
|
|
66
|
-
if (typeof usingInput === "string") return target?.closest("[name]")?.getAttribute("name") === usingInput;
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { ComputePositionReturn, Middleware } from '@floating-ui/dom';
|
|
2
|
-
import type { MaybeRefOrGetter } from 'vue';
|
|
3
|
-
import type { VunoPlacement } from '#vuno/types/base';
|
|
4
|
-
/**
|
|
5
|
-
* Anclar algo flotante a algo que está en la página, y mantenerlo anclado.
|
|
6
|
-
*
|
|
7
|
-
* Lo usan el menú, el aviso y la lista del combobox. Antes lo escribía cada uno
|
|
8
|
-
* y las tres copias **ya habían divergido**: dos comprobaban que
|
|
9
|
-
* `ResizeObserver` existe antes de pedirle a `autoUpdate` que observe el tamaño
|
|
10
|
-
* y la tercera no, dos volvían a mirar el elemento después del `await` y la
|
|
11
|
-
* tercera lo hacía de otra forma. Hoy eso no cuesta nada —el DOM de las pruebas
|
|
12
|
-
* trae los dos observadores— y por eso vale como aviso y no como avería: es la
|
|
13
|
-
* misma decisión tomada tres veces, y ya iba por caminos distintos.
|
|
14
|
-
*
|
|
15
|
-
* Lo que queda aquí es lo que los tres hacen igual. Lo que los distingue —dónde
|
|
16
|
-
* se coloca, cuánto se separa, qué mide además— entra por parámetro.
|
|
17
|
-
*/
|
|
18
|
-
type VunoAnchorOptions = {
|
|
19
|
-
/**
|
|
20
|
-
* Se llama con la posición ya resuelta, después de colocar.
|
|
21
|
-
*
|
|
22
|
-
* Existe por el `placement` **resuelto**: con `flip`, un aviso pedido arriba
|
|
23
|
-
* que no cabe acaba abajo, y quien pinte una flecha leyendo el prop la deja
|
|
24
|
-
* pegada al lado que ya no toca.
|
|
25
|
-
*/
|
|
26
|
-
onPlaced?: (position: ComputePositionReturn) => void;
|
|
27
|
-
/** El elemento de la flecha, si lo hay. Su posición llega en `onPlaced`. */
|
|
28
|
-
arrowElement?: MaybeRefOrGetter<HTMLElement | undefined>;
|
|
29
|
-
/**
|
|
30
|
-
* Contra qué se recorta. Para una lista dentro de un `<dialog>` es el
|
|
31
|
-
* diálogo: sin esto voltea contra la ventana y se sale de la caja que de
|
|
32
|
-
* verdad la contiene.
|
|
33
|
-
*/
|
|
34
|
-
boundary?: MaybeRefOrGetter<Element | undefined>;
|
|
35
|
-
/** Separación entre el ancla y lo flotante, en píxeles. */
|
|
36
|
-
distance?: MaybeRefOrGetter<number | undefined>;
|
|
37
|
-
placement?: MaybeRefOrGetter<VunoPlacement>;
|
|
38
|
-
/** Lo que este control necesite además de la base: medir, recortar, lo que sea. */
|
|
39
|
-
middleware?: () => Middleware[];
|
|
40
|
-
};
|
|
41
|
-
export declare function useVunoAnchor(options?: VunoAnchorOptions): {
|
|
42
|
-
anchor: (reference: HTMLElement | undefined, floating: HTMLElement | undefined) => void;
|
|
43
|
-
release: () => void;
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { arrow, autoUpdate, computePosition, flip, offset, shift } from "@floating-ui/dom";
|
|
2
|
-
import { onScopeDispose, toValue } from "vue";
|
|
3
|
-
export function useVunoAnchor(options = {}) {
|
|
4
|
-
let stop;
|
|
5
|
-
async function place(reference, floating) {
|
|
6
|
-
const edge = toValue(options.boundary);
|
|
7
|
-
const overflow = { padding: 8, ...edge ? { boundary: edge } : {} };
|
|
8
|
-
const middleware = [offset(toValue(options.distance) ?? 4), flip(overflow), shift(overflow)];
|
|
9
|
-
const arrowElement = toValue(options.arrowElement);
|
|
10
|
-
if (arrowElement) middleware.push(arrow({ element: arrowElement }));
|
|
11
|
-
middleware.push(...options.middleware?.() ?? []);
|
|
12
|
-
const position = await computePosition(reference, floating, {
|
|
13
|
-
middleware,
|
|
14
|
-
placement: toValue(options.placement) ?? "bottom-start",
|
|
15
|
-
strategy: "fixed"
|
|
16
|
-
});
|
|
17
|
-
if (!floating.isConnected) return;
|
|
18
|
-
Object.assign(floating.style, { left: `${position.x}px`, top: `${position.y}px` });
|
|
19
|
-
options.onPlaced?.(position);
|
|
20
|
-
}
|
|
21
|
-
function anchor(reference, floating) {
|
|
22
|
-
release();
|
|
23
|
-
if (!reference || !floating) return;
|
|
24
|
-
stop = autoUpdate(reference, floating, () => void place(reference, floating), {
|
|
25
|
-
elementResize: typeof ResizeObserver !== "undefined",
|
|
26
|
-
layoutShift: typeof IntersectionObserver !== "undefined"
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function release() {
|
|
30
|
-
stop?.();
|
|
31
|
-
stop = void 0;
|
|
32
|
-
}
|
|
33
|
-
onScopeDispose(release, true);
|
|
34
|
-
return { anchor, release };
|
|
35
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef, type MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type { VunoSize } from '#vuno/types/base';
|
|
3
|
-
import type { VunoControlOrientation } from '#vuno/types/field';
|
|
4
|
-
type VunoControlGroupContext = {
|
|
5
|
-
orientation?: VunoControlOrientation;
|
|
6
|
-
size?: VunoSize;
|
|
7
|
-
};
|
|
8
|
-
/** Provee el contexto sin exponer la clave de inyección a sus consumidores. */
|
|
9
|
-
export declare function provideVunoControlGroup(context: MaybeRefOrGetter<VunoControlGroupContext>): void;
|
|
10
|
-
/** Contexto visual del grupo más cercano; no añade semántica al control. */
|
|
11
|
-
export declare function useVunoControlGroup(): {
|
|
12
|
-
orientation: ComputedRef<VunoControlOrientation | undefined>;
|
|
13
|
-
size: ComputedRef<VunoSize | undefined>;
|
|
14
|
-
};
|
|
15
|
-
/** Impide que las acciones internas de un control se comporten como hijos del grupo exterior. */
|
|
16
|
-
export declare function resetControlGroup(): void;
|
|
17
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { computed, inject, provide, toValue } from "vue";
|
|
2
|
-
const vunoControlGroupInjectionKey = Symbol("vuno.control-group");
|
|
3
|
-
export function provideVunoControlGroup(context) {
|
|
4
|
-
provide(
|
|
5
|
-
vunoControlGroupInjectionKey,
|
|
6
|
-
computed(() => toValue(context))
|
|
7
|
-
);
|
|
8
|
-
}
|
|
9
|
-
export function useVunoControlGroup() {
|
|
10
|
-
const group = inject(vunoControlGroupInjectionKey, void 0);
|
|
11
|
-
return {
|
|
12
|
-
orientation: computed(() => group?.value.orientation),
|
|
13
|
-
size: computed(() => group?.value.size)
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export function resetControlGroup() {
|
|
17
|
-
provideVunoControlGroup({});
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type { VunoPortalTarget } from '#vuno/types/base';
|
|
3
|
-
/**
|
|
4
|
-
* Dónde montar un desplegable para que se vea.
|
|
5
|
-
*
|
|
6
|
-
* Un `<dialog>` abierto con `showModal()` vive en la **capa superior** del
|
|
7
|
-
* navegador, que está por encima de cualquier `z-index`. Un desplegable que se
|
|
8
|
-
* monte en `body` —lo que hacen por defecto los componentes de Nuxt UI— queda
|
|
9
|
-
* por debajo de esa capa: se abre de verdad, con su `aria-expanded` y su
|
|
10
|
-
* `listbox` en el DOM, colocado en el sitio correcto, y no se ve. El campo
|
|
11
|
-
* parece roto sin que nada falle.
|
|
12
|
-
*
|
|
13
|
-
* La salida es montarlo **dentro** del propio diálogo, que ya está en la capa
|
|
14
|
-
* superior. Fuera de un modal no hay nada que proveer y se usa `body`.
|
|
15
|
-
*/
|
|
16
|
-
export declare function useVunoPortal(target?: MaybeRefOrGetter<undefined | VunoPortalTarget>): ComputedRef<string>;
|
|
17
|
-
/** Lo llama quien abre una capa superior, para que sus campos la encuentren. */
|
|
18
|
-
export declare function provideVunoPortal(target: VunoPortalTarget): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { computed, inject, provide, toValue } from "vue";
|
|
2
|
-
const vunoPortalInjectionKey = Symbol("vuno-portal");
|
|
3
|
-
export function useVunoPortal(target) {
|
|
4
|
-
const injected = inject(vunoPortalInjectionKey, true);
|
|
5
|
-
return computed(() => {
|
|
6
|
-
const resolved = toValue(target) ?? injected;
|
|
7
|
-
return resolved === true ? "body" : resolved;
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
export function provideVunoPortal(target) {
|
|
11
|
-
provide(vunoPortalInjectionKey, target);
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { VunoConfirmRequest } from '#vuno/types/app';
|
|
2
|
-
/**
|
|
3
|
-
* Pide confirmación desde el código y espera la respuesta.
|
|
4
|
-
*
|
|
5
|
-
* ```ts
|
|
6
|
-
* if (await confirm({ title: `¿Eliminar ${row.sku}?` })) await borrar(row)
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* El componente `VConfirm` sigue estando para quien quiera colocarlo y
|
|
10
|
-
* controlarlo. Esto existe porque lo otro obliga a llevar un `ref` de apertura y
|
|
11
|
-
* otro de la fila pendiente por cada acción confirmable, y eso se abandona: los
|
|
12
|
-
* dos primeros proyectos que usaron el módulo se quedaron con su diálogo propio,
|
|
13
|
-
* y los dos tenían una función como esta.
|
|
14
|
-
*/
|
|
15
|
-
export declare function useConfirm(): (request: VunoConfirmRequest) => Promise<boolean>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { VunoContext } from '#vuno/types/app';
|
|
2
|
-
export type { VunoContext } from '#vuno/types/app';
|
|
3
|
-
/**
|
|
4
|
-
* El contexto global del módulo, provisto por `<VApp>`.
|
|
5
|
-
*
|
|
6
|
-
* Lanza en vez de degradar a un valor vacío: lo que hay aquí —los overlays—
|
|
7
|
-
* necesita un sitio del árbol donde pintarse, y sin `<VApp>` una llamada a
|
|
8
|
-
* `confirm()` devolvería una promesa que no resuelve nunca. Es mejor un error
|
|
9
|
-
* en la primera ejecución que un diálogo que no aparece.
|
|
10
|
-
*/
|
|
11
|
-
export declare function useContext(): VunoContext;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { inject } from "vue";
|
|
2
|
-
import { vunoContextInjectionKey } from "#vuno/internal/keys";
|
|
3
|
-
export function useContext() {
|
|
4
|
-
const context = inject(vunoContextInjectionKey, null);
|
|
5
|
-
if (!context) {
|
|
6
|
-
throw new Error("[Vuno] useContext() debe utilizarse dentro de <VApp>.");
|
|
7
|
-
}
|
|
8
|
-
return context;
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { VunoCrud, VunoCrudOptions } from '#vuno/types/crud';
|
|
2
|
-
import type { VunoTableRow } from '#vuno/types/table';
|
|
3
|
-
/**
|
|
4
|
-
* El ciclo completo de una pantalla de mantenimiento: listar, dar de alta o
|
|
5
|
-
* editar en un modal, borrar con confirmación, refrescar la caché y avisar.
|
|
6
|
-
*
|
|
7
|
-
* Existe porque ese ciclo es idéntico en todas las entidades y, escrito a mano,
|
|
8
|
-
* son unas cien líneas por pantalla en las que es fácil olvidar justo lo que no
|
|
9
|
-
* se ve: invalidar la caché, avisar del fallo o distinguir un listado vacío de
|
|
10
|
-
* uno que no se pudo cargar.
|
|
11
|
-
*
|
|
12
|
-
* ```ts
|
|
13
|
-
* const crud = useCrud({
|
|
14
|
-
* key: 'brands',
|
|
15
|
-
* list: (query) => $fetch('/api/brands', { query }),
|
|
16
|
-
* create: (form) => $fetch('/api/brands', { body: form, method: 'POST' }),
|
|
17
|
-
* update: (id, form) => $fetch(`/api/brands/${id}`, { body: form, method: 'PATCH' }),
|
|
18
|
-
* remove: (row) => $fetch(`/api/brands/${row.id}`, { method: 'DELETE' }),
|
|
19
|
-
* emptyForm: () => ({ name: '', slug: '' }),
|
|
20
|
-
* })
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useCrud<TRow extends VunoTableRow, TForm extends Record<string, unknown>>(options: VunoCrudOptions<TRow, TForm>): VunoCrud<TRow, TForm>;
|