@mantine-vue/core 3.0.0 → 3.2.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/cjs/index.cjs +21151 -17122
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +21141 -17114
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +47 -535
- package/lib/components/Accordion/Accordion.types.d.ts +86 -0
- package/lib/components/Accordion/Accordion.vue.d.ts +37 -0
- package/lib/components/Accordion/AccordionChevron.d.ts +2 -16
- package/lib/components/Accordion/AccordionChevron.types.d.ts +10 -0
- package/lib/components/Accordion/AccordionChevron.vue.d.ts +4 -0
- package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +8 -95
- package/lib/components/Accordion/AccordionControl/AccordionControl.types.d.ts +47 -0
- package/lib/components/Accordion/AccordionControl/AccordionControl.vue.d.ts +28 -0
- package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +7 -43
- package/lib/components/Accordion/AccordionItem/AccordionItem.types.d.ts +25 -0
- package/lib/components/Accordion/AccordionItem/AccordionItem.vue.d.ts +13 -0
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +12 -53
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.types.d.ts +32 -0
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.vue.d.ts +19 -0
- package/lib/components/Accordion/index.d.ts +4 -3
- package/lib/components/ActionIcon/ActionIcon.d.ts +20 -365
- package/lib/components/ActionIcon/ActionIcon.types.d.ts +92 -0
- package/lib/components/ActionIcon/ActionIcon.vue.d.ts +12 -0
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +9 -54
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.types.d.ts +38 -0
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue.d.ts +13 -0
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +9 -85
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.types.d.ts +39 -0
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.vue.d.ts +13 -0
- package/lib/components/Affix/Affix.d.ts +12 -86
- package/lib/components/Affix/Affix.types.d.ts +55 -0
- package/lib/components/Affix/Affix.vue.d.ts +13 -0
- package/lib/components/Affix/index.d.ts +1 -1
- package/lib/components/Alert/Alert.d.ts +10 -142
- package/lib/components/Alert/Alert.types.d.ts +79 -0
- package/lib/components/Alert/Alert.vue.d.ts +18 -0
- package/lib/components/Anchor/Anchor.d.ts +14 -72
- package/lib/components/Anchor/Anchor.types.d.ts +47 -0
- package/lib/components/Anchor/Anchor.vue.d.ts +11 -0
- package/lib/components/AngleSlider/AngleSlider.d.ts +7 -230
- package/lib/components/AngleSlider/AngleSlider.types.d.ts +63 -0
- package/lib/components/AngleSlider/AngleSlider.vue.d.ts +23 -0
- package/lib/components/AngleSlider/index.d.ts +1 -1
- package/lib/components/AppShell/AppShell.d.ts +20 -799
- package/lib/components/AppShell/AppShell.types.d.ts +107 -0
- package/lib/components/AppShell/AppShell.vue.d.ts +30 -0
- package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +6 -6
- package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +6 -6
- package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +6 -6
- package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +7 -20
- package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +28 -0
- package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +13 -0
- package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +6 -6
- package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +12 -72
- package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +38 -0
- package/lib/components/AppShell/AppShellSection/AppShellSection.vue.d.ts +11 -0
- package/lib/components/AppShell/create-app-shell-component.d.ts +6 -6
- package/lib/components/AppShell/index.d.ts +2 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +8 -51
- package/lib/components/AspectRatio/AspectRatio.types.d.ts +26 -0
- package/lib/components/AspectRatio/AspectRatio.vue.d.ts +16 -0
- package/lib/components/Autocomplete/Autocomplete.d.ts +61 -155
- package/lib/components/Autocomplete/Autocomplete.types.d.ts +111 -0
- package/lib/components/Autocomplete/Autocomplete.vue.d.ts +25 -0
- package/lib/components/Autocomplete/index.d.ts +1 -1
- package/lib/components/Avatar/Avatar.d.ts +18 -304
- package/lib/components/Avatar/Avatar.types.d.ts +82 -0
- package/lib/components/Avatar/Avatar.vue.d.ts +12 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.context.d.ts +6 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +11 -53
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +34 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +12 -0
- package/lib/components/Avatar/AvatarPlaceholderIcon.d.ts +2 -3
- package/lib/components/Avatar/AvatarPlaceholderIcon.types.d.ts +6 -0
- package/lib/components/Avatar/AvatarPlaceholderIcon.vue.d.ts +3 -0
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +13 -54
- package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +39 -0
- package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +16 -0
- package/lib/components/Badge/Badge.d.ts +14 -140
- package/lib/components/Badge/Badge.types.d.ts +92 -0
- package/lib/components/Badge/Badge.vue.d.ts +14 -0
- package/lib/components/Blockquote/Blockquote.d.ts +8 -89
- package/lib/components/Blockquote/Blockquote.types.d.ts +53 -0
- package/lib/components/Blockquote/Blockquote.vue.d.ts +11 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +12 -59
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +43 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +12 -0
- package/lib/components/Burger/Burger.d.ts +9 -84
- package/lib/components/Burger/Burger.types.d.ts +54 -0
- package/lib/components/Burger/Burger.vue.d.ts +12 -0
- package/lib/components/Button/Button.d.ts +20 -500
- package/lib/components/Button/Button.types.d.ts +126 -0
- package/lib/components/Button/Button.vue.d.ts +17 -0
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +9 -54
- package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +38 -0
- package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +13 -0
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +9 -85
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +39 -0
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +13 -0
- package/lib/components/Card/Card.d.ts +17 -223
- package/lib/components/Card/Card.types.d.ts +66 -0
- package/lib/components/Card/Card.vue.d.ts +12 -0
- package/lib/components/Card/CardSection/CardSection.d.ts +13 -70
- package/lib/components/Card/CardSection/CardSection.types.d.ts +50 -0
- package/lib/components/Card/CardSection/CardSection.vue.d.ts +11 -0
- package/lib/components/Cascader/Cascader.d.ts +68 -315
- package/lib/components/Cascader/Cascader.types.d.ts +213 -0
- package/lib/components/Cascader/Cascader.vue.d.ts +27 -0
- package/lib/components/Cascader/cascader-helpers.d.ts +5 -0
- package/lib/components/Center/Center.d.ts +12 -60
- package/lib/components/Center/Center.types.d.ts +37 -0
- package/lib/components/Center/Center.vue.d.ts +13 -0
- package/lib/components/Checkbox/CheckIcon.d.ts +3 -31
- package/lib/components/Checkbox/CheckIcon.types.d.ts +15 -0
- package/lib/components/Checkbox/CheckIcon.vue.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.d.ts +20 -899
- package/lib/components/Checkbox/Checkbox.types.d.ts +156 -0
- package/lib/components/Checkbox/Checkbox.vue.d.ts +37 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.context.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +10 -124
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +52 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +22 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.context.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +34 -195
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +78 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.vue.d.ts +19 -0
- package/lib/components/Checkbox/CheckboxIcon.vue.d.ts +4 -0
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +10 -151
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +78 -0
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +13 -0
- package/lib/components/Checkbox/index.d.ts +4 -3
- package/lib/components/Chip/Chip.d.ts +15 -411
- package/lib/components/Chip/Chip.types.d.ts +104 -0
- package/lib/components/Chip/Chip.vue.d.ts +27 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.context.d.ts +5 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +33 -62
- package/lib/components/Chip/ChipGroup/ChipGroup.types.d.ts +28 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.vue.d.ts +17 -0
- package/lib/components/Chip/index.d.ts +2 -2
- package/lib/components/CloseButton/CloseButton.d.ts +14 -100
- package/lib/components/CloseButton/CloseButton.types.d.ts +75 -0
- package/lib/components/CloseButton/CloseButton.vue.d.ts +11 -0
- package/lib/components/CloseButton/CloseIcon.d.ts +2 -15
- package/lib/components/CloseButton/CloseIcon.types.d.ts +8 -0
- package/lib/components/CloseButton/CloseIcon.vue.d.ts +4 -0
- package/lib/components/Code/Code.d.ts +9 -62
- package/lib/components/Code/Code.types.d.ts +36 -0
- package/lib/components/Code/Code.vue.d.ts +14 -0
- package/lib/components/Collapse/Collapse.d.ts +7 -78
- package/lib/components/Collapse/Collapse.types.d.ts +52 -0
- package/lib/components/Collapse/Collapse.vue.d.ts +17 -0
- package/lib/components/ColorInput/ColorInput.d.ts +48 -125
- package/lib/components/ColorInput/ColorInput.types.d.ts +85 -0
- package/lib/components/ColorInput/ColorInput.vue.d.ts +19 -0
- package/lib/components/ColorInput/EyeDropperIcon.d.ts +2 -3
- package/lib/components/ColorInput/EyeDropperIcon.types.d.ts +6 -0
- package/lib/components/ColorInput/EyeDropperIcon.vue.d.ts +3 -0
- package/lib/components/ColorInput/index.d.ts +1 -1
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +47 -99
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.types.d.ts +9 -0
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.vue.d.ts +25 -0
- package/lib/components/ColorPicker/ColorPicker.d.ts +42 -229
- package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +72 -0
- package/lib/components/ColorPicker/ColorPicker.vue.d.ts +27 -0
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +47 -161
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +44 -0
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.vue.d.ts +16 -0
- package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +47 -91
- package/lib/components/ColorPicker/HueSlider/HueSlider.types.d.ts +9 -0
- package/lib/components/ColorPicker/HueSlider/HueSlider.vue.d.ts +23 -0
- package/lib/components/ColorPicker/Saturation/Saturation.d.ts +13 -84
- package/lib/components/ColorPicker/Saturation/Saturation.types.d.ts +21 -0
- package/lib/components/ColorPicker/Saturation/Saturation.vue.d.ts +18 -0
- package/lib/components/ColorPicker/Swatches/Swatches.d.ts +7 -50
- package/lib/components/ColorPicker/Swatches/Swatches.types.d.ts +18 -0
- package/lib/components/ColorPicker/Swatches/Swatches.vue.d.ts +8 -0
- package/lib/components/ColorPicker/Thumb/Thumb.d.ts +3 -20
- package/lib/components/ColorPicker/Thumb/Thumb.types.d.ts +11 -0
- package/lib/components/ColorPicker/Thumb/Thumb.vue.d.ts +4 -0
- package/lib/components/ColorPicker/index.d.ts +4 -2
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +13 -65
- package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +51 -0
- package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +12 -0
- package/lib/components/Combobox/Combobox.d.ts +247 -541
- package/lib/components/Combobox/Combobox.types.d.ts +215 -0
- package/lib/components/Combobox/Combobox.vue.d.ts +15 -0
- package/lib/components/Combobox/ComboboxChevron.vue.d.ts +3 -0
- package/lib/components/Combobox/ComboboxClearButton.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxDropdown.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxDropdownTarget.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxGroup.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxHiddenInput.vue.d.ts +3 -0
- package/lib/components/Combobox/ComboboxOption.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxOptions.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxSearch.vue.d.ts +9 -0
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +2 -123
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +103 -0
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.vue.d.ts +23 -0
- package/lib/components/Combobox/combobox-utils.d.ts +12 -0
- package/lib/components/Combobox/create-combobox-section.d.ts +9 -0
- package/lib/components/Combobox/create-combobox-target.d.ts +64 -0
- package/lib/components/Combobox/index.d.ts +1 -1
- package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +92 -986
- package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +72 -1
- package/lib/components/ComboboxPopover/ComboboxPopover.vue.d.ts +25 -0
- package/lib/components/ComboboxPopover/ComboboxPopoverTarget.d.ts +8 -0
- package/lib/components/ComboboxPopover/render-popover-option.d.ts +28 -0
- package/lib/components/Container/Container.d.ts +8 -64
- package/lib/components/Container/Container.types.d.ts +38 -0
- package/lib/components/Container/Container.vue.d.ts +19 -0
- package/lib/components/CopyButton/CopyButton.d.ts +2 -23
- package/lib/components/CopyButton/CopyButton.types.d.ts +25 -0
- package/lib/components/CopyButton/CopyButton.vue.d.ts +9 -0
- package/lib/components/DataList/DataList.d.ts +15 -302
- package/lib/components/DataList/DataList.types.d.ts +50 -0
- package/lib/components/DataList/DataList.vue.d.ts +17 -0
- package/lib/components/DataList/DataListItem/DataListItem.d.ts +8 -44
- package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +28 -0
- package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +13 -0
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +8 -44
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +28 -0
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +13 -0
- package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +8 -44
- package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +28 -0
- package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +13 -0
- package/lib/components/DataList/index.d.ts +4 -4
- package/lib/components/Dialog/Dialog.d.ts +29 -184
- package/lib/components/Dialog/Dialog.types.d.ts +91 -0
- package/lib/components/Dialog/Dialog.vue.d.ts +14 -0
- package/lib/components/Dialog/index.d.ts +1 -2
- package/lib/components/Divider/Divider.d.ts +10 -96
- package/lib/components/Divider/Divider.types.d.ts +58 -0
- package/lib/components/Divider/Divider.vue.d.ts +13 -0
- package/lib/components/Drawer/Drawer.compound.d.ts +124 -0
- package/lib/components/Drawer/Drawer.context.d.ts +28 -0
- package/lib/components/Drawer/Drawer.d.ts +55 -635
- package/lib/components/Drawer/Drawer.types.d.ts +121 -0
- package/lib/components/Drawer/Drawer.vue.d.ts +15 -0
- package/lib/components/Drawer/DrawerRoot.vue.d.ts +21 -0
- package/lib/components/Drawer/DrawerStack.vue.d.ts +11 -0
- package/lib/components/Drawer/create-drawer-compound-component.d.ts +29 -0
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Drawer/use-drawers-stack.d.ts +25 -0
- package/lib/components/EmptyState/EmptyState.d.ts +18 -399
- package/lib/components/EmptyState/EmptyState.types.d.ts +94 -0
- package/lib/components/EmptyState/EmptyState.vue.d.ts +24 -0
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +8 -55
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +30 -0
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +13 -0
- package/lib/components/EmptyState/index.d.ts +5 -5
- package/lib/components/Fieldset/Fieldset.d.ts +10 -77
- package/lib/components/Fieldset/Fieldset.types.d.ts +44 -0
- package/lib/components/Fieldset/Fieldset.vue.d.ts +13 -0
- package/lib/components/Fieldset/index.d.ts +1 -0
- package/lib/components/FileButton/FileButton.d.ts +35 -111
- package/lib/components/FileButton/FileButton.types.d.ts +43 -0
- package/lib/components/FileButton/FileButton.vue.d.ts +17 -0
- package/lib/components/FileButton/index.d.ts +1 -0
- package/lib/components/FileInput/FileInput.d.ts +33 -294
- package/lib/components/FileInput/FileInput.types.d.ts +127 -0
- package/lib/components/FileInput/FileInput.vue.d.ts +24 -0
- package/lib/components/FileInput/index.d.ts +1 -0
- package/lib/components/Flex/Flex.d.ts +12 -67
- package/lib/components/Flex/Flex.types.d.ts +47 -0
- package/lib/components/Flex/Flex.vue.d.ts +16 -0
- package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +11 -116
- package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +58 -0
- package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +18 -0
- package/lib/components/FloatingIndicator/index.d.ts +1 -4
- package/lib/components/FloatingWindow/FloatingWindow.context.d.ts +3 -3
- package/lib/components/FloatingWindow/FloatingWindow.d.ts +65 -244
- package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +66 -0
- package/lib/components/FloatingWindow/FloatingWindow.vue.d.ts +35 -0
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +7 -27
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +36 -0
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +23 -0
- package/lib/components/FloatingWindow/index.d.ts +2 -1
- package/lib/components/Grid/Grid.d.ts +14 -306
- package/lib/components/Grid/Grid.types.d.ts +81 -0
- package/lib/components/Grid/Grid.vue.d.ts +12 -0
- package/lib/components/Grid/GridCol/GridCol.d.ts +11 -72
- package/lib/components/Grid/GridCol/GridCol.types.d.ts +44 -0
- package/lib/components/Grid/GridCol/GridCol.vue.d.ts +11 -0
- package/lib/components/Grid/GridCol/GridColVariables.d.ts +2 -53
- package/lib/components/Grid/GridCol/GridColVariables.vue.d.ts +30 -0
- package/lib/components/Grid/GridVariables.d.ts +2 -63
- package/lib/components/Grid/GridVariables.vue.d.ts +23 -0
- package/lib/components/Group/Group.d.ts +12 -91
- package/lib/components/Group/Group.types.d.ts +65 -0
- package/lib/components/Group/Group.vue.d.ts +13 -0
- package/lib/components/Highlight/Highlight.d.ts +17 -119
- package/lib/components/Highlight/Highlight.types.d.ts +86 -0
- package/lib/components/Highlight/Highlight.vue.d.ts +11 -0
- package/lib/components/Highlight/index.d.ts +2 -1
- package/lib/components/HoverCard/HoverCard.d.ts +52 -93
- package/lib/components/HoverCard/HoverCard.types.d.ts +30 -0
- package/lib/components/HoverCard/HoverCard.vue.d.ts +17 -0
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.d.ts +16 -6
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.types.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.vue.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.context.d.ts +3 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.d.ts +18 -35
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.types.d.ts +28 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.vue.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardTarget/HoverCardTarget.d.ts +8 -0
- package/lib/components/HoverCard/index.d.ts +3 -3
- package/lib/components/Image/Image.d.ts +13 -75
- package/lib/components/Image/Image.types.d.ts +46 -0
- package/lib/components/Image/Image.vue.d.ts +11 -0
- package/lib/components/Indicator/Indicator.d.ts +9 -172
- package/lib/components/Indicator/Indicator.types.d.ts +105 -0
- package/lib/components/Indicator/Indicator.vue.d.ts +13 -0
- package/lib/components/Input/Input.d.ts +30 -1159
- package/lib/components/Input/Input.types.d.ts +205 -0
- package/lib/components/Input/Input.vue.d.ts +33 -0
- package/lib/components/Input/InputClearButton/InputClearButton.d.ts +10 -44
- package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +31 -0
- package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +13 -0
- package/lib/components/Input/InputDescription/InputDescription.d.ts +9 -63
- package/lib/components/Input/InputDescription/InputDescription.types.d.ts +39 -0
- package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +14 -0
- package/lib/components/Input/InputError/InputError.d.ts +9 -63
- package/lib/components/Input/InputError/InputError.types.d.ts +39 -0
- package/lib/components/Input/InputError/InputError.vue.d.ts +14 -0
- package/lib/components/Input/InputLabel/InputLabel.d.ts +9 -90
- package/lib/components/Input/InputLabel/InputLabel.types.d.ts +48 -0
- package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +17 -0
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +7 -53
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +35 -0
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +13 -0
- package/lib/components/Input/InputWrapper/InputWrapper.d.ts +19 -187
- package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +88 -0
- package/lib/components/Input/InputWrapper/InputWrapper.vue.d.ts +22 -0
- package/lib/components/Input/InputWrapper.context.d.ts +1 -1
- package/lib/components/Input/index.d.ts +7 -6
- package/lib/components/InputBase/InputBase.d.ts +10 -478
- package/lib/components/InputBase/InputBase.types.d.ts +210 -0
- package/lib/components/InputBase/InputBase.vue.d.ts +24 -0
- package/lib/components/InputBase/index.d.ts +1 -1
- package/lib/components/JsonInput/JsonInput.d.ts +33 -118
- package/lib/components/JsonInput/JsonInput.types.d.ts +48 -0
- package/lib/components/JsonInput/JsonInput.vue.d.ts +18 -0
- package/lib/components/JsonInput/index.d.ts +1 -0
- package/lib/components/Kbd/Kbd.d.ts +9 -46
- package/lib/components/Kbd/Kbd.types.d.ts +31 -0
- package/lib/components/Kbd/Kbd.vue.d.ts +14 -0
- package/lib/components/List/List.context.d.ts +2 -1
- package/lib/components/List/List.d.ts +11 -279
- package/lib/components/List/List.types.d.ts +76 -0
- package/lib/components/List/List.vue.d.ts +12 -0
- package/lib/components/List/ListItem/ListItem.d.ts +8 -57
- package/lib/components/List/ListItem/ListItem.types.d.ts +28 -0
- package/lib/components/List/ListItem/ListItem.vue.d.ts +13 -0
- package/lib/components/Loader/Loader.d.ts +17 -75
- package/lib/components/Loader/Loader.types.d.ts +42 -1
- package/lib/components/Loader/Loader.vue.d.ts +14 -0
- package/lib/components/Loader/loaders/Bars.d.ts +1 -3
- package/lib/components/Loader/loaders/Bars.vue.d.ts +3 -0
- package/lib/components/Loader/loaders/Dots.d.ts +1 -3
- package/lib/components/Loader/loaders/Dots.vue.d.ts +3 -0
- package/lib/components/Loader/loaders/Oval.d.ts +1 -3
- package/lib/components/Loader/loaders/Oval.vue.d.ts +3 -0
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +11 -117
- package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +49 -0
- package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +18 -0
- package/lib/components/Mark/Mark.d.ts +9 -53
- package/lib/components/Mark/Mark.types.d.ts +31 -0
- package/lib/components/Mark/Mark.vue.d.ts +17 -0
- package/lib/components/Marquee/Marquee.d.ts +9 -135
- package/lib/components/Marquee/Marquee.types.d.ts +82 -0
- package/lib/components/Marquee/Marquee.vue.d.ts +12 -0
- package/lib/components/Marquee/index.d.ts +1 -2
- package/lib/components/MaskInput/MaskInput.d.ts +43 -190
- package/lib/components/MaskInput/MaskInput.types.d.ts +82 -0
- package/lib/components/MaskInput/MaskInput.vue.d.ts +22 -0
- package/lib/components/MaskInput/index.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +503 -1185
- package/lib/components/Menu/Menu.select-context.d.ts +10 -0
- package/lib/components/Menu/Menu.types.d.ts +298 -0
- package/lib/components/Menu/Menu.vue.d.ts +19 -0
- package/lib/components/Menu/MenuCheckboxItem.vue.d.ts +17 -0
- package/lib/components/Menu/MenuContextMenu.vue.d.ts +11 -0
- package/lib/components/Menu/MenuDivider.vue.d.ts +3 -0
- package/lib/components/Menu/MenuDropdown.vue.d.ts +11 -0
- package/lib/components/Menu/MenuItem.vue.d.ts +11 -0
- package/lib/components/Menu/MenuLabel.vue.d.ts +11 -0
- package/lib/components/Menu/MenuRadioItem.vue.d.ts +15 -0
- package/lib/components/Menu/MenuSearch.vue.d.ts +9 -0
- package/lib/components/Menu/MenuSub.vue.d.ts +15 -0
- package/lib/components/Menu/MenuSubDropdown.vue.d.ts +11 -0
- package/lib/components/Menu/MenuSubItem.vue.d.ts +11 -0
- package/lib/components/Menu/MenuSubTarget.vue.d.ts +11 -0
- package/lib/components/Menu/MenuTarget.vue.d.ts +11 -0
- package/lib/components/Menu/create-menu-select-group.d.ts +37 -0
- package/lib/components/Menu/index.d.ts +1 -1
- package/lib/components/Menu/menu-utils.d.ts +25 -0
- package/lib/components/Menubar/Menubar.d.ts +13 -280
- package/lib/components/Menubar/Menubar.types.d.ts +55 -0
- package/lib/components/Menubar/Menubar.vue.d.ts +31 -0
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.d.ts +16 -10
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.types.d.ts +18 -0
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.vue.d.ts +11 -0
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.d.ts +17 -49
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +20 -0
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.vue.d.ts +11 -0
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.d.ts +17 -35
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.types.d.ts +27 -0
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.vue.d.ts +20 -0
- package/lib/components/Menubar/index.d.ts +3 -2
- package/lib/components/Modal/Modal.compound.d.ts +121 -0
- package/lib/components/Modal/Modal.context.d.ts +11 -0
- package/lib/components/Modal/Modal.d.ts +36 -586
- package/lib/components/Modal/Modal.types.d.ts +130 -0
- package/lib/components/Modal/Modal.vue.d.ts +15 -0
- package/lib/components/Modal/ModalRoot.vue.d.ts +16 -0
- package/lib/components/Modal/create-modal-compound-component.d.ts +27 -0
- package/lib/components/Modal/index.d.ts +1 -1
- package/lib/components/ModalBase/ModalBase.d.ts +10 -180
- package/lib/components/ModalBase/ModalBase.types.d.ts +101 -0
- package/lib/components/ModalBase/ModalBase.vue.d.ts +17 -0
- package/lib/components/ModalBase/ModalBaseBody.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseBody.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseBody.vue.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseCloseButton.d.ts +26 -6
- package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +13 -0
- package/lib/components/ModalBase/ModalBaseCloseButton.vue.d.ts +15 -0
- package/lib/components/ModalBase/ModalBaseContent.d.ts +11 -29
- package/lib/components/ModalBase/ModalBaseContent.types.d.ts +30 -0
- package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +13 -0
- package/lib/components/ModalBase/ModalBaseHeader.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseHeader.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseHeader.vue.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseOverlay.d.ts +2 -29
- package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseOverlay.vue.d.ts +4 -0
- package/lib/components/ModalBase/ModalBaseTitle.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseTitle.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseTitle.vue.d.ts +11 -0
- package/lib/components/ModalBase/NativeScrollArea.d.ts +16 -3
- package/lib/components/ModalBase/NativeScrollArea.types.d.ts +5 -0
- package/lib/components/ModalBase/NativeScrollArea.vue.d.ts +11 -0
- package/lib/components/ModalBase/index.d.ts +12 -7
- package/lib/components/MultiSelect/MultiSelect.d.ts +83 -209
- package/lib/components/MultiSelect/MultiSelect.types.d.ts +181 -0
- package/lib/components/MultiSelect/MultiSelect.vue.d.ts +38 -0
- package/lib/components/MultiSelect/index.d.ts +1 -1
- package/lib/components/NativeSelect/NativeSelect.d.ts +8 -242
- package/lib/components/NativeSelect/NativeSelect.types.d.ts +108 -0
- package/lib/components/NativeSelect/NativeSelect.vue.d.ts +22 -0
- package/lib/components/NativeSelect/NativeSelectChevron.vue.d.ts +3 -0
- package/lib/components/NativeSelect/index.d.ts +1 -1
- package/lib/components/NavLink/NavLink.d.ts +15 -213
- package/lib/components/NavLink/NavLink.types.d.ts +118 -0
- package/lib/components/NavLink/NavLink.vue.d.ts +17 -0
- package/lib/components/NavLink/index.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +9 -149
- package/lib/components/Notification/Notification.types.d.ts +70 -0
- package/lib/components/Notification/Notification.vue.d.ts +17 -0
- package/lib/components/Notification/index.d.ts +1 -1
- package/lib/components/NumberFormatter/NumberFormatter.d.ts +17 -100
- package/lib/components/NumberFormatter/NumberFormatter.types.d.ts +27 -0
- package/lib/components/NumberFormatter/NumberFormatter.vue.d.ts +4 -0
- package/lib/components/NumberFormatter/format-number.d.ts +2 -0
- package/lib/components/NumberFormatter/index.d.ts +1 -1
- package/lib/components/NumberInput/NumberInput.d.ts +9 -457
- package/lib/components/NumberInput/NumberInput.types.d.ts +239 -0
- package/lib/components/NumberInput/NumberInput.vue.d.ts +29 -0
- package/lib/components/NumberInput/NumberInputChevron.d.ts +2 -14
- package/lib/components/NumberInput/NumberInputChevron.types.d.ts +6 -0
- package/lib/components/NumberInput/NumberInputChevron.vue.d.ts +4 -0
- package/lib/components/NumberInput/index.d.ts +2 -2
- package/lib/components/NumberInput/number-input-utils.d.ts +19 -0
- package/lib/components/OverflowList/OverflowList.d.ts +9 -114
- package/lib/components/OverflowList/OverflowList.types.d.ts +76 -0
- package/lib/components/OverflowList/OverflowList.vue.d.ts +26 -0
- package/lib/components/OverflowList/index.d.ts +1 -1
- package/lib/components/Overlay/Overlay.d.ts +13 -104
- package/lib/components/Overlay/Overlay.types.d.ts +81 -0
- package/lib/components/Overlay/Overlay.vue.d.ts +19 -0
- package/lib/components/Pagination/Pagination.d.ts +95 -699
- package/lib/components/Pagination/Pagination.icons.d.ts +6 -15
- package/lib/components/Pagination/Pagination.types.d.ts +81 -0
- package/lib/components/Pagination/Pagination.vue.d.ts +18 -0
- package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +9 -70
- package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +50 -0
- package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +13 -0
- package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +7 -19
- package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +23 -0
- package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +13 -0
- package/lib/components/Pagination/PaginationDotsIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +27 -0
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +32 -100
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +36 -0
- package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationFirstIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationIcon.types.d.ts +6 -0
- package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +3 -6
- package/lib/components/Pagination/PaginationItems/PaginationItems.types.d.ts +12 -0
- package/lib/components/Pagination/PaginationItems/PaginationItems.vue.d.ts +4 -0
- package/lib/components/Pagination/PaginationItems/PaginationItemsGroup.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.d.ts +6 -3
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.types.d.ts +15 -0
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationLastIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationNextIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationPreviousIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +40 -171
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.types.d.ts +73 -0
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.vue.d.ts +25 -0
- package/lib/components/Pagination/index.d.ts +6 -2
- package/lib/components/Paper/Paper.d.ts +13 -73
- package/lib/components/Paper/Paper.types.d.ts +48 -0
- package/lib/components/Paper/Paper.vue.d.ts +14 -0
- package/lib/components/PasswordInput/PasswordInput.d.ts +41 -365
- package/lib/components/PasswordInput/PasswordInput.types.d.ts +150 -0
- package/lib/components/PasswordInput/PasswordInput.vue.d.ts +27 -0
- package/lib/components/PasswordInput/PasswordToggleIcon.d.ts +3 -15
- package/lib/components/PasswordInput/PasswordToggleIcon.types.d.ts +9 -0
- package/lib/components/PasswordInput/PasswordToggleIcon.vue.d.ts +4 -0
- package/lib/components/PasswordInput/index.d.ts +2 -1
- package/lib/components/Pill/Pill.d.ts +12 -279
- package/lib/components/Pill/Pill.types.d.ts +66 -0
- package/lib/components/Pill/Pill.vue.d.ts +17 -0
- package/lib/components/Pill/PillGroup/PillGroup.context.d.ts +4 -0
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +11 -77
- package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +40 -0
- package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +12 -0
- package/lib/components/Pill/index.d.ts +3 -2
- package/lib/components/PillsInput/PillsInput.d.ts +11 -427
- package/lib/components/PillsInput/PillsInput.types.d.ts +99 -0
- package/lib/components/PillsInput/PillsInput.vue.d.ts +14 -0
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +7 -137
- package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +49 -0
- package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +12 -0
- package/lib/components/PillsInput/index.d.ts +2 -1
- package/lib/components/PinInput/PinInput.d.ts +12 -350
- package/lib/components/PinInput/PinInput.types.d.ts +137 -0
- package/lib/components/PinInput/PinInput.vue.d.ts +37 -0
- package/lib/components/PinInput/index.d.ts +1 -1
- package/lib/components/Popover/Popover.d.ts +122 -483
- package/lib/components/Popover/Popover.types.d.ts +234 -0
- package/lib/components/Popover/Popover.vue.d.ts +45 -0
- package/lib/components/Popover/PopoverContextMenu.vue.d.ts +11 -0
- package/lib/components/Popover/PopoverDropdown.vue.d.ts +11 -0
- package/lib/components/Popover/PopoverTarget.vue.d.ts +11 -0
- package/lib/components/Popover/index.d.ts +1 -1
- package/lib/components/Popover/popover-utils.d.ts +13 -0
- package/lib/components/Portal/OptionalPortal.d.ts +2 -35
- package/lib/components/Portal/OptionalPortal.types.d.ts +37 -0
- package/lib/components/Portal/OptionalPortal.vue.d.ts +11 -0
- package/lib/components/Portal/Portal.d.ts +16 -25
- package/lib/components/Portal/Portal.types.d.ts +29 -0
- package/lib/components/Portal/Portal.vue.d.ts +11 -0
- package/lib/components/Progress/Progress.context.d.ts +2 -0
- package/lib/components/Progress/Progress.d.ts +19 -446
- package/lib/components/Progress/Progress.types.d.ts +75 -0
- package/lib/components/Progress/Progress.vue.d.ts +6 -0
- package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +8 -43
- package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +30 -0
- package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +13 -0
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +9 -99
- package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +54 -0
- package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +13 -0
- package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +8 -88
- package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +56 -0
- package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +11 -0
- package/lib/components/Progress/index.d.ts +5 -2
- package/lib/components/Radio/Radio.d.ts +20 -855
- package/lib/components/Radio/Radio.types.d.ts +148 -0
- package/lib/components/Radio/Radio.vue.d.ts +37 -0
- package/lib/components/Radio/RadioCard/RadioCard.context.d.ts +5 -0
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +10 -133
- package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +54 -0
- package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +22 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.context.d.ts +5 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +34 -169
- package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +70 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.vue.d.ts +17 -0
- package/lib/components/Radio/RadioIcon.d.ts +2 -3
- package/lib/components/Radio/RadioIcon.types.d.ts +3 -0
- package/lib/components/Radio/RadioIcon.vue.d.ts +3 -0
- package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +10 -141
- package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +71 -0
- package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +13 -0
- package/lib/components/Radio/index.d.ts +4 -4
- package/lib/components/Rating/Rating.d.ts +8 -209
- package/lib/components/Rating/Rating.types.d.ts +94 -0
- package/lib/components/Rating/Rating.vue.d.ts +31 -0
- package/lib/components/Rating/RatingItem/RatingItem.d.ts +7 -124
- package/lib/components/Rating/RatingItem/RatingItem.types.d.ts +44 -0
- package/lib/components/Rating/RatingItem/RatingItem.vue.d.ts +17 -0
- package/lib/components/Rating/StarSymbol/StarIcon.d.ts +2 -3
- package/lib/components/Rating/StarSymbol/StarIcon.types.d.ts +6 -0
- package/lib/components/Rating/StarSymbol/StarIcon.vue.d.ts +3 -0
- package/lib/components/Rating/StarSymbol/StarSymbol.d.ts +3 -14
- package/lib/components/Rating/StarSymbol/StarSymbol.types.d.ts +5 -0
- package/lib/components/Rating/StarSymbol/StarSymbol.vue.d.ts +4 -0
- package/lib/components/Rating/index.d.ts +3 -1
- package/lib/components/RingProgress/Curve/Curve.d.ts +3 -84
- package/lib/components/RingProgress/Curve/Curve.types.d.ts +28 -0
- package/lib/components/RingProgress/Curve/Curve.vue.d.ts +4 -0
- package/lib/components/RingProgress/RingProgress.d.ts +9 -148
- package/lib/components/RingProgress/RingProgress.types.d.ts +73 -0
- package/lib/components/RingProgress/RingProgress.vue.d.ts +32 -0
- package/lib/components/RingProgress/index.d.ts +1 -1
- package/lib/components/RollingNumber/DigitColumn.d.ts +3 -49
- package/lib/components/RollingNumber/DigitColumn.types.d.ts +17 -0
- package/lib/components/RollingNumber/DigitColumn.vue.d.ts +10 -0
- package/lib/components/RollingNumber/RollingNumber.d.ts +8 -172
- package/lib/components/RollingNumber/RollingNumber.types.d.ts +72 -0
- package/lib/components/RollingNumber/RollingNumber.vue.d.ts +15 -0
- package/lib/components/RollingNumber/index.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollArea.d.ts +24 -505
- package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +94 -0
- package/lib/components/ScrollArea/ScrollArea.vue.d.ts +39 -0
- package/lib/components/ScrollArea/ScrollAreaAutosize.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.d.ts +2 -3
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.types.d.ts +6 -0
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.vue.d.ts +3 -0
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +7 -43
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +40 -0
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +16 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.d.ts +17 -24
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.types.d.ts +25 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +20 -16
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.d.ts +31 -106
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.types.d.ts +40 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.vue.d.ts +15 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.d.ts +16 -79
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.vue.d.ts +12 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.d.ts +16 -79
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.vue.d.ts +12 -0
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.d.ts +2 -3
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.types.d.ts +9 -0
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.vue.d.ts +4 -0
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +8 -25
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +27 -0
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +19 -0
- package/lib/components/ScrollArea/index.d.ts +1 -1
- package/lib/components/Scroller/Scroller.d.ts +9 -160
- package/lib/components/Scroller/Scroller.types.d.ts +50 -0
- package/lib/components/Scroller/Scroller.vue.d.ts +13 -0
- package/lib/components/Scroller/index.d.ts +1 -1
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +32 -223
- package/lib/components/SegmentedControl/SegmentedControl.types.d.ts +85 -0
- package/lib/components/SegmentedControl/SegmentedControl.vue.d.ts +11 -0
- package/lib/components/SegmentedControl/index.d.ts +1 -2
- package/lib/components/Select/Select.d.ts +73 -240
- package/lib/components/Select/Select.types.d.ts +178 -0
- package/lib/components/Select/Select.vue.d.ts +30 -0
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +9 -137
- package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +78 -0
- package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +13 -0
- package/lib/components/SemiCircleProgress/index.d.ts +1 -1
- package/lib/components/SimpleGrid/SimpleGrid.d.ts +11 -101
- package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +59 -0
- package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +11 -0
- package/lib/components/SimpleGrid/SimpleGridContainerVariables.vue.d.ts +4 -0
- package/lib/components/SimpleGrid/SimpleGridMediaVariables.vue.d.ts +4 -0
- package/lib/components/SimpleGrid/SimpleGridVariables.d.ts +3 -107
- package/lib/components/SimpleGrid/simple-grid-variables.d.ts +22 -0
- package/lib/components/Skeleton/Skeleton.d.ts +8 -76
- package/lib/components/Skeleton/Skeleton.types.d.ts +56 -0
- package/lib/components/Skeleton/Skeleton.vue.d.ts +20 -0
- package/lib/components/Slider/Marks/Marks.d.ts +3 -77
- package/lib/components/Slider/Marks/Marks.types.d.ts +28 -0
- package/lib/components/Slider/Marks/Marks.vue.d.ts +17 -0
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +13 -346
- package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +77 -0
- package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +41 -0
- package/lib/components/Slider/Slider/Slider.d.ts +13 -335
- package/lib/components/Slider/Slider/Slider.types.d.ts +169 -0
- package/lib/components/Slider/Slider/Slider.vue.d.ts +39 -0
- package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +7 -42
- package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +37 -0
- package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +13 -0
- package/lib/components/Slider/Thumb/Thumb.d.ts +37 -133
- package/lib/components/Slider/Thumb/Thumb.types.d.ts +63 -0
- package/lib/components/Slider/Thumb/Thumb.vue.d.ts +30 -0
- package/lib/components/Slider/Track/Track.d.ts +17 -103
- package/lib/components/Slider/Track/Track.types.d.ts +43 -0
- package/lib/components/Slider/Track/Track.vue.d.ts +11 -0
- package/lib/components/Slider/index.d.ts +3 -3
- package/lib/components/Space/Space.d.ts +6 -14
- package/lib/components/Space/Space.types.d.ts +22 -0
- package/lib/components/Space/Space.vue.d.ts +16 -0
- package/lib/components/Splitter/GripHorizontalIcon.vue.d.ts +3 -0
- package/lib/components/Splitter/GripIcon.d.ts +3 -6
- package/lib/components/Splitter/GripIcon.types.d.ts +6 -0
- package/lib/components/Splitter/GripVerticalIcon.vue.d.ts +3 -0
- package/lib/components/Splitter/Splitter.d.ts +12 -451
- package/lib/components/Splitter/Splitter.types.d.ts +103 -0
- package/lib/components/Splitter/Splitter.vue.d.ts +50 -0
- package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +8 -109
- package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +46 -0
- package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +13 -0
- package/lib/components/Splitter/index.d.ts +1 -1
- package/lib/components/Spoiler/Spoiler.d.ts +10 -140
- package/lib/components/Spoiler/Spoiler.types.d.ts +70 -0
- package/lib/components/Spoiler/Spoiler.vue.d.ts +22 -0
- package/lib/components/Spoiler/index.d.ts +2 -0
- package/lib/components/Stack/Stack.d.ts +8 -64
- package/lib/components/Stack/Stack.types.d.ts +38 -0
- package/lib/components/Stack/Stack.vue.d.ts +21 -0
- package/lib/components/Stepper/Stepper.d.ts +14 -541
- package/lib/components/Stepper/Stepper.types.d.ts +119 -0
- package/lib/components/Stepper/Stepper.vue.d.ts +34 -0
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.d.ts +2 -1
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.types.d.ts +1 -0
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.vue.d.ts +3 -0
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +8 -200
- package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +92 -0
- package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +13 -0
- package/lib/components/Stepper/index.d.ts +3 -3
- package/lib/components/Switch/Switch.d.ts +15 -621
- package/lib/components/Switch/Switch.types.d.ts +138 -0
- package/lib/components/Switch/Switch.vue.d.ts +36 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.context.d.ts +5 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +34 -195
- package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +78 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.vue.d.ts +19 -0
- package/lib/components/Switch/index.d.ts +2 -2
- package/lib/components/Table/Table.components.d.ts +44 -577
- package/lib/components/Table/Table.d.ts +22 -1064
- package/lib/components/Table/Table.types.d.ts +130 -0
- package/lib/components/Table/Table.vue.d.ts +18 -0
- package/lib/components/Table/TableCaption.vue.d.ts +11 -0
- package/lib/components/Table/TableElement.types.d.ts +33 -0
- package/lib/components/Table/TableElement.vue.d.ts +31 -0
- package/lib/components/Table/TableScrollContainer.d.ts +12 -86
- package/lib/components/Table/TableScrollContainer.types.d.ts +38 -0
- package/lib/components/Table/TableScrollContainer.vue.d.ts +13 -0
- package/lib/components/Table/TableTbody.vue.d.ts +11 -0
- package/lib/components/Table/TableTd.vue.d.ts +11 -0
- package/lib/components/Table/TableTfoot.vue.d.ts +11 -0
- package/lib/components/Table/TableTh.vue.d.ts +11 -0
- package/lib/components/Table/TableThead.vue.d.ts +11 -0
- package/lib/components/Table/TableTr.vue.d.ts +11 -0
- package/lib/components/Table/index.d.ts +3 -2
- package/lib/components/TableOfContents/TableOfContents.d.ts +12 -160
- package/lib/components/TableOfContents/TableOfContents.types.d.ts +80 -0
- package/lib/components/TableOfContents/TableOfContents.vue.d.ts +7 -0
- package/lib/components/TableOfContents/index.d.ts +1 -2
- package/lib/components/Tabs/Tabs.d.ts +43 -534
- package/lib/components/Tabs/Tabs.types.d.ts +88 -0
- package/lib/components/Tabs/Tabs.vue.d.ts +32 -0
- package/lib/components/Tabs/TabsList/TabsList.d.ts +7 -54
- package/lib/components/Tabs/TabsList/TabsList.types.d.ts +39 -0
- package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +13 -0
- package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +8 -52
- package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +36 -0
- package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +13 -0
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +9 -119
- package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +59 -0
- package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +19 -0
- package/lib/components/Tabs/index.d.ts +4 -4
- package/lib/components/TagsInput/TagsInput.d.ts +89 -195
- package/lib/components/TagsInput/TagsInput.types.d.ts +186 -0
- package/lib/components/TagsInput/TagsInput.vue.d.ts +35 -0
- package/lib/components/TagsInput/get-splitted-tags.d.ts +9 -0
- package/lib/components/TagsInput/index.d.ts +1 -1
- package/lib/components/Text/Text.d.ts +14 -159
- package/lib/components/Text/Text.types.d.ts +84 -0
- package/lib/components/Text/Text.vue.d.ts +12 -0
- package/lib/components/TextInput/TextInput.d.ts +33 -37
- package/lib/components/TextInput/TextInput.types.d.ts +13 -0
- package/lib/components/TextInput/TextInput.vue.d.ts +17 -0
- package/lib/components/TextInput/index.d.ts +1 -0
- package/lib/components/Textarea/Autosize.d.ts +2 -38
- package/lib/components/Textarea/Autosize.vue.d.ts +15 -0
- package/lib/components/Textarea/Textarea.d.ts +8 -105
- package/lib/components/Textarea/Textarea.types.d.ts +65 -0
- package/lib/components/Textarea/Textarea.vue.d.ts +19 -0
- package/lib/components/Textarea/autosize-utils.d.ts +17 -0
- package/lib/components/Textarea/index.d.ts +1 -1
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +10 -85
- package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +59 -0
- package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +14 -0
- package/lib/components/Timeline/Timeline.context.d.ts +1 -1
- package/lib/components/Timeline/Timeline.d.ts +14 -383
- package/lib/components/Timeline/Timeline.types.d.ts +74 -0
- package/lib/components/Timeline/Timeline.vue.d.ts +12 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +8 -168
- package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +108 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +13 -0
- package/lib/components/Timeline/index.d.ts +2 -3
- package/lib/components/Title/Title.d.ts +8 -73
- package/lib/components/Title/Title.types.d.ts +37 -0
- package/lib/components/Title/Title.vue.d.ts +15 -0
- package/lib/components/Tooltip/Tooltip.d.ts +47 -360
- package/lib/components/Tooltip/Tooltip.types.d.ts +161 -5
- package/lib/components/Tooltip/Tooltip.vue.d.ts +51 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.d.ts +2 -69
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +88 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.vue.d.ts +27 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.context.d.ts +3 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.d.ts +18 -35
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.types.d.ts +28 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.vue.d.ts +11 -0
- package/lib/components/Tooltip/index.d.ts +3 -4
- package/lib/components/Transition/Transition.d.ts +38 -105
- package/lib/components/Transition/Transition.types.d.ts +36 -0
- package/lib/components/Transition/Transition.vue.d.ts +21 -0
- package/lib/components/Tree/FlatTreeNode.d.ts +2 -145
- package/lib/components/Tree/FlatTreeNode.vue.d.ts +64 -0
- package/lib/components/Tree/Tree.d.ts +9 -242
- package/lib/components/Tree/Tree.types.d.ts +154 -0
- package/lib/components/Tree/Tree.vue.d.ts +25 -0
- package/lib/components/Tree/TreeNode.d.ts +2 -2
- package/lib/components/Tree/TreeNode.vue.d.ts +58 -0
- package/lib/components/Tree/index.d.ts +1 -1
- package/lib/components/TreeSelect/TreeSelect.d.ts +75 -364
- package/lib/components/TreeSelect/TreeSelect.types.d.ts +164 -0
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +30 -0
- package/lib/components/TreeSelect/TreeSelectOption.vue.d.ts +36 -0
- package/lib/components/TreeSelect/index.d.ts +1 -1
- package/lib/components/TreeSelect/tree-select-utils.d.ts +32 -0
- package/lib/components/Typography/Typography.d.ts +6 -34
- package/lib/components/Typography/Typography.types.d.ts +11 -0
- package/lib/components/Typography/Typography.vue.d.ts +14 -0
- package/lib/components/Typography/index.d.ts +1 -0
- package/lib/components/UnstyledButton/UnstyledButton.d.ts +12 -79
- package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +42 -0
- package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +13 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +6 -43
- package/lib/components/VisuallyHidden/VisuallyHidden.types.d.ts +11 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.vue.d.ts +14 -0
- package/lib/components/component-props.d.ts +7 -170
- package/lib/core/Box/Box.d.ts +25 -3
- package/lib/core/InlineStyles/InlineStyles.d.ts +2 -2
- package/lib/core/MantineProvider/Mantine.context.d.ts +2 -2
- package/lib/core/MantineProvider/MantineProvider.d.ts +19 -19
- package/lib/core/MantineProvider/MantineThemeProvider.d.ts +9 -9
- package/lib/core/MantineProvider/use-props.d.ts +14 -1
- package/lib/core/factory/create-factory.d.ts +3 -0
- package/lib/core/factory/create-polymorphic-component.d.ts +69 -0
- package/lib/core/factory/factory-payload.d.ts +73 -0
- package/lib/core/factory/factory-styles-api.d.ts +39 -0
- package/lib/core/factory/factory.d.ts +83 -23
- package/lib/core/factory/index.d.ts +10 -4
- package/lib/core/factory/polymorphic-factory.d.ts +32 -1
- package/lib/core/factory/use-forwarded-ref.d.ts +6 -34
- package/lib/core/renderable-node.d.ts +6 -1
- package/lib/core/styles-api/styles-api.types.d.ts +57 -6
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/core/utils/omit-attrs.d.ts +7 -0
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.d.ts +3 -55
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.types.d.ts +24 -0
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.vue.d.ts +4 -0
- package/lib/utils/InlineInput/InlineInput.d.ts +5 -5
- package/lib/utils/InputsGroupFieldset.d.ts +10 -3
- package/lib/utils/InputsGroupFieldset.types.d.ts +17 -0
- package/lib/utils/InputsGroupFieldset.vue.d.ts +11 -0
- package/lib/utils/use-slot-revision.d.ts +13 -0
- package/package.json +13 -3
- package/lib/core/factory/with-box-props.d.ts +0 -18
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
import type { FlatTreeLineState } from './flatten-tree-data/flatten-tree-data';
|
|
3
|
+
import type { RenderNode, TreeNodeData } from './Tree.types';
|
|
4
|
+
import type { TreeController } from './use-tree';
|
|
5
|
+
/**
|
|
6
|
+
* Props of `FlatTreeNode`.
|
|
7
|
+
*
|
|
8
|
+
* Unlike `TreeNode` this component is not recursive: it renders a single row of an
|
|
9
|
+
* already flattened tree, which is what makes virtualisation possible. Depth is
|
|
10
|
+
* expressed with an indent and with the connector lines in `linesPath`.
|
|
11
|
+
*/
|
|
12
|
+
export interface FlatTreeNodeProps {
|
|
13
|
+
/** Data of the node. */
|
|
14
|
+
node: TreeNodeData;
|
|
15
|
+
/** Depth of the node, starting at 1. */
|
|
16
|
+
level: number;
|
|
17
|
+
/** Value of the parent node, or `null` for a root node. */
|
|
18
|
+
parent?: string | null;
|
|
19
|
+
/** Whether the node has children. */
|
|
20
|
+
hasChildren: boolean;
|
|
21
|
+
/** Expanded state of the node. */
|
|
22
|
+
expanded: boolean;
|
|
23
|
+
/** Controller of the owning tree. */
|
|
24
|
+
tree: TreeController;
|
|
25
|
+
/**
|
|
26
|
+
* If set, the node expands and collapses when it is clicked.
|
|
27
|
+
*
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
expandOnClick?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If set, the node is selected when it is clicked.
|
|
33
|
+
*
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
selectOnClick?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If set, the node expands and collapses when `Space` is pressed.
|
|
39
|
+
*
|
|
40
|
+
* @default true
|
|
41
|
+
*/
|
|
42
|
+
expandOnSpace?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* If set, the node is checked and unchecked when `Space` is pressed.
|
|
45
|
+
*
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
checkOnSpace?: boolean;
|
|
49
|
+
/** Custom markup for the node. */
|
|
50
|
+
renderNode?: RenderNode;
|
|
51
|
+
/** Inline style applied to the row, used by the virtualiser for positioning. */
|
|
52
|
+
style?: CSSProperties;
|
|
53
|
+
/**
|
|
54
|
+
* `tabindex` of the row. Only one row of the tree should be in the tab order.
|
|
55
|
+
*
|
|
56
|
+
* @default -1
|
|
57
|
+
*/
|
|
58
|
+
tabIndex?: number;
|
|
59
|
+
/** Connector line state for each ancestor level. */
|
|
60
|
+
linesPath?: FlatTreeLineState[];
|
|
61
|
+
}
|
|
62
|
+
declare const _default: typeof __VLS_export;
|
|
63
|
+
export default _default;
|
|
64
|
+
declare const __VLS_export: import("vue").DefineComponent<FlatTreeNodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlatTreeNodeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,242 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
children?: TreeNodeData[];
|
|
11
|
-
hasChildren?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface RenderTreeNodePayload {
|
|
14
|
-
level: number;
|
|
15
|
-
expanded: boolean;
|
|
16
|
-
hasChildren: boolean;
|
|
17
|
-
selected: boolean;
|
|
18
|
-
isRoot: boolean;
|
|
19
|
-
isLoading: boolean;
|
|
20
|
-
loadError: Error | null;
|
|
21
|
-
node: TreeNodeData;
|
|
22
|
-
tree: TreeController;
|
|
23
|
-
elementProps: Record<string, any>;
|
|
24
|
-
dragHandleProps: TreeDragHandleProps | undefined;
|
|
25
|
-
}
|
|
26
|
-
export type RenderNode = (payload: RenderTreeNodePayload) => VNodeChild;
|
|
27
|
-
export type TreeStylesNames = 'root' | 'node' | 'subtree' | 'label';
|
|
28
|
-
export type TreeCssVariables = {
|
|
29
|
-
root: '--level-offset';
|
|
30
|
-
};
|
|
31
|
-
export interface TreeDragState {
|
|
32
|
-
draggedValue: string | null;
|
|
33
|
-
currentDropTarget: HTMLElement | null;
|
|
34
|
-
}
|
|
35
|
-
export interface TreeProps extends BoxProps {
|
|
36
|
-
data: TreeNodeData[];
|
|
37
|
-
levelOffset?: string | number;
|
|
38
|
-
expandOnClick?: boolean;
|
|
39
|
-
expandOnSpace?: boolean;
|
|
40
|
-
checkOnSpace?: boolean;
|
|
41
|
-
selectOnClick?: boolean;
|
|
42
|
-
tree?: TreeController;
|
|
43
|
-
renderNode?: RenderNode;
|
|
44
|
-
clearSelectionOnOutsideClick?: boolean;
|
|
45
|
-
allowRangeSelection?: boolean;
|
|
46
|
-
keepMounted?: boolean;
|
|
47
|
-
onDragDrop?: (payload: TreeDragDropPayload) => void;
|
|
48
|
-
allowDrop?: TreeAllowDrop;
|
|
49
|
-
withDragHandle?: boolean;
|
|
50
|
-
withLines?: boolean;
|
|
51
|
-
}
|
|
52
|
-
export type TreeFactory = any;
|
|
53
|
-
export interface TreeSlots {
|
|
54
|
-
default?: () => VNodeChild;
|
|
55
|
-
node?: (payload: RenderTreeNodePayload) => VNodeChild;
|
|
56
|
-
renderNode?: (payload: RenderTreeNodePayload) => VNodeChild;
|
|
57
|
-
}
|
|
58
|
-
export declare const Tree: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
59
|
-
component: {
|
|
60
|
-
type: PropType<string | Component>;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
data: {
|
|
64
|
-
type: PropType<TreeNodeData[]>;
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
levelOffset: {
|
|
68
|
-
type: PropType<string | number>;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
expandOnClick: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
expandOnSpace: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
checkOnSpace: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
selectOnClick: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
tree: {
|
|
88
|
-
type: PropType<TreeController>;
|
|
89
|
-
default: undefined;
|
|
90
|
-
};
|
|
91
|
-
renderNode: {
|
|
92
|
-
type: PropType<RenderNode>;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
|
-
clearSelectionOnOutsideClick: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
allowRangeSelection: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
keepMounted: {
|
|
104
|
-
type: BooleanConstructor;
|
|
105
|
-
default: boolean;
|
|
106
|
-
};
|
|
107
|
-
onDragDrop: {
|
|
108
|
-
type: PropType<(payload: TreeDragDropPayload) => void>;
|
|
109
|
-
default: undefined;
|
|
110
|
-
};
|
|
111
|
-
allowDrop: {
|
|
112
|
-
type: PropType<TreeAllowDrop>;
|
|
113
|
-
default: undefined;
|
|
114
|
-
};
|
|
115
|
-
withDragHandle: {
|
|
116
|
-
type: BooleanConstructor;
|
|
117
|
-
default: boolean;
|
|
118
|
-
};
|
|
119
|
-
withLines: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
classNames: {
|
|
124
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
125
|
-
default: undefined;
|
|
126
|
-
};
|
|
127
|
-
styles: {
|
|
128
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
129
|
-
default: undefined;
|
|
130
|
-
};
|
|
131
|
-
vars: {
|
|
132
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
133
|
-
default: undefined;
|
|
134
|
-
};
|
|
135
|
-
unstyled: {
|
|
136
|
-
type: BooleanConstructor;
|
|
137
|
-
default: boolean;
|
|
138
|
-
};
|
|
139
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
140
|
-
[key: string]: any;
|
|
141
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
-
component: {
|
|
143
|
-
type: PropType<string | Component>;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
|
-
data: {
|
|
147
|
-
type: PropType<TreeNodeData[]>;
|
|
148
|
-
required: true;
|
|
149
|
-
};
|
|
150
|
-
levelOffset: {
|
|
151
|
-
type: PropType<string | number>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
expandOnClick: {
|
|
155
|
-
type: BooleanConstructor;
|
|
156
|
-
default: boolean;
|
|
157
|
-
};
|
|
158
|
-
expandOnSpace: {
|
|
159
|
-
type: BooleanConstructor;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
checkOnSpace: {
|
|
163
|
-
type: BooleanConstructor;
|
|
164
|
-
default: boolean;
|
|
165
|
-
};
|
|
166
|
-
selectOnClick: {
|
|
167
|
-
type: BooleanConstructor;
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
|
-
tree: {
|
|
171
|
-
type: PropType<TreeController>;
|
|
172
|
-
default: undefined;
|
|
173
|
-
};
|
|
174
|
-
renderNode: {
|
|
175
|
-
type: PropType<RenderNode>;
|
|
176
|
-
default: undefined;
|
|
177
|
-
};
|
|
178
|
-
clearSelectionOnOutsideClick: {
|
|
179
|
-
type: BooleanConstructor;
|
|
180
|
-
default: boolean;
|
|
181
|
-
};
|
|
182
|
-
allowRangeSelection: {
|
|
183
|
-
type: BooleanConstructor;
|
|
184
|
-
default: boolean;
|
|
185
|
-
};
|
|
186
|
-
keepMounted: {
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
default: boolean;
|
|
189
|
-
};
|
|
190
|
-
onDragDrop: {
|
|
191
|
-
type: PropType<(payload: TreeDragDropPayload) => void>;
|
|
192
|
-
default: undefined;
|
|
193
|
-
};
|
|
194
|
-
allowDrop: {
|
|
195
|
-
type: PropType<TreeAllowDrop>;
|
|
196
|
-
default: undefined;
|
|
197
|
-
};
|
|
198
|
-
withDragHandle: {
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
withLines: {
|
|
203
|
-
type: BooleanConstructor;
|
|
204
|
-
default: boolean;
|
|
205
|
-
};
|
|
206
|
-
classNames: {
|
|
207
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
208
|
-
default: undefined;
|
|
209
|
-
};
|
|
210
|
-
styles: {
|
|
211
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
212
|
-
default: undefined;
|
|
213
|
-
};
|
|
214
|
-
vars: {
|
|
215
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
216
|
-
default: undefined;
|
|
217
|
-
};
|
|
218
|
-
unstyled: {
|
|
219
|
-
type: BooleanConstructor;
|
|
220
|
-
default: boolean;
|
|
221
|
-
};
|
|
222
|
-
}>> & Readonly<{}>, {
|
|
223
|
-
classNames: Function | Record<string, any>;
|
|
224
|
-
styles: Function | Record<string, any>;
|
|
225
|
-
keepMounted: boolean;
|
|
226
|
-
component: string | Component;
|
|
227
|
-
vars: Function | Record<string, any>;
|
|
228
|
-
unstyled: boolean;
|
|
229
|
-
expandOnClick: boolean;
|
|
230
|
-
renderNode: RenderNode;
|
|
231
|
-
selectOnClick: boolean;
|
|
232
|
-
allowRangeSelection: boolean;
|
|
233
|
-
expandOnSpace: boolean;
|
|
234
|
-
checkOnSpace: boolean;
|
|
235
|
-
onDragDrop: (payload: TreeDragDropPayload) => void;
|
|
236
|
-
allowDrop: TreeAllowDrop;
|
|
237
|
-
withDragHandle: boolean;
|
|
238
|
-
levelOffset: string | number;
|
|
239
|
-
tree: import("./use-tree").UseTreeReturnType;
|
|
240
|
-
clearSelectionOnOutsideClick: boolean;
|
|
241
|
-
withLines: boolean;
|
|
242
|
-
}, SlotsType<TreeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
1
|
+
export declare const Tree: import("../..").MantineComponent<{
|
|
2
|
+
props: Omit<import("./Tree.types").TreeProps, "rootRef">;
|
|
3
|
+
ref: HTMLUListElement;
|
|
4
|
+
slots: import("./Tree.types").TreeSlots;
|
|
5
|
+
element: "ul";
|
|
6
|
+
stylesNames: import("./Tree.types").TreeStylesNames;
|
|
7
|
+
vars: import("./Tree.types").TreeCssVariables;
|
|
8
|
+
}>;
|
|
9
|
+
export type { RenderNode, RenderTreeNodePayload, TreeCssVariables, TreeDragState, TreeFactory, TreeNodeData, TreeOwnProps, TreeProps, TreeSlots, TreeStylesNames, } from './Tree.types';
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { Component, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, StylesApiProps, Factory } from '../../core';
|
|
3
|
+
import type { TreeAllowDrop, TreeDragHandleProps } from './use-tree-node-drag-drop';
|
|
4
|
+
import type { TreeController } from './use-tree';
|
|
5
|
+
export interface TreeNodeData {
|
|
6
|
+
/** Content rendered as the node label. */
|
|
7
|
+
label: VNodeChild | (() => VNodeChild);
|
|
8
|
+
/** Value of the node. Must be unique across the whole tree. */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Props passed down to the node element. */
|
|
11
|
+
nodeProps?: Record<string, any>;
|
|
12
|
+
/** Child nodes. */
|
|
13
|
+
children?: TreeNodeData[];
|
|
14
|
+
/** Marks the node as expandable before its children have been loaded. */
|
|
15
|
+
hasChildren?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** Payload passed to `renderNode` and to the `node` slot. */
|
|
18
|
+
export interface RenderTreeNodePayload {
|
|
19
|
+
/** Depth of the node, starting at 1 for the root nodes. */
|
|
20
|
+
level: number;
|
|
21
|
+
/** Expanded state of the node. */
|
|
22
|
+
expanded: boolean;
|
|
23
|
+
/** Whether the node has children, including children that have not loaded yet. */
|
|
24
|
+
hasChildren: boolean;
|
|
25
|
+
/** Selected state of the node. */
|
|
26
|
+
selected: boolean;
|
|
27
|
+
/** Whether the node is one of the root nodes. */
|
|
28
|
+
isRoot: boolean;
|
|
29
|
+
/** Whether the children of the node are currently loading. */
|
|
30
|
+
isLoading: boolean;
|
|
31
|
+
/** Error thrown while the children of the node were loading. */
|
|
32
|
+
loadError: Error | null;
|
|
33
|
+
/** Data of the node. */
|
|
34
|
+
node: TreeNodeData;
|
|
35
|
+
/** Controller of the tree the node belongs to. */
|
|
36
|
+
tree: TreeController;
|
|
37
|
+
/** Props that must be spread onto the element rendered for the node. */
|
|
38
|
+
elementProps: Record<string, any>;
|
|
39
|
+
/** Props for the drag handle. Only set when `withDragHandle` is set. */
|
|
40
|
+
dragHandleProps: TreeDragHandleProps | undefined;
|
|
41
|
+
}
|
|
42
|
+
export type RenderNode = (payload: RenderTreeNodePayload) => VNodeChild;
|
|
43
|
+
export type TreeStylesNames = 'root' | 'node' | 'subtree' | 'label';
|
|
44
|
+
export type TreeCssVariables = {
|
|
45
|
+
root: '--level-offset';
|
|
46
|
+
};
|
|
47
|
+
/** Drag and drop state shared with every node of the tree. */
|
|
48
|
+
export interface TreeDragState {
|
|
49
|
+
/** Value of the node currently being dragged. */
|
|
50
|
+
draggedValue: string | null;
|
|
51
|
+
/** Element the dragged node is currently hovering over. */
|
|
52
|
+
currentDropTarget: HTMLElement | null;
|
|
53
|
+
}
|
|
54
|
+
export type TreeFactory = Factory<{
|
|
55
|
+
props: Omit<TreeProps, 'rootRef'>;
|
|
56
|
+
ref: HTMLUListElement;
|
|
57
|
+
slots: TreeSlots;
|
|
58
|
+
element: 'ul';
|
|
59
|
+
stylesNames: TreeStylesNames;
|
|
60
|
+
vars: TreeCssVariables;
|
|
61
|
+
}>;
|
|
62
|
+
export interface TreeSlots {
|
|
63
|
+
/** Unused – nodes are generated from `data`. */
|
|
64
|
+
default?: () => VNodeChild;
|
|
65
|
+
/** Custom markup for a node. Alias of `renderNode`. */
|
|
66
|
+
node?: (payload: RenderTreeNodePayload) => VNodeChild;
|
|
67
|
+
/** Custom markup for a node. Takes precedence over the `node` slot. */
|
|
68
|
+
renderNode?: (payload: RenderTreeNodePayload) => VNodeChild;
|
|
69
|
+
}
|
|
70
|
+
/** Props declared by `Tree` itself. See `TreeProps` for the full public type. */
|
|
71
|
+
export interface TreeOwnProps extends StylesApiProps<TreeFactory> {
|
|
72
|
+
/** Receives the root DOM node. */
|
|
73
|
+
rootRef?: VueRefTarget<Element>;
|
|
74
|
+
/**
|
|
75
|
+
* Element or component rendered as the root.
|
|
76
|
+
*
|
|
77
|
+
* @default 'ul'
|
|
78
|
+
*/
|
|
79
|
+
component?: string | Component;
|
|
80
|
+
/** Data used to render the nodes. */
|
|
81
|
+
data: TreeNodeData[];
|
|
82
|
+
/**
|
|
83
|
+
* Key of `theme.spacing` or any valid CSS value used to indent each level.
|
|
84
|
+
*
|
|
85
|
+
* @default 'lg'
|
|
86
|
+
*/
|
|
87
|
+
levelOffset?: string | number;
|
|
88
|
+
/**
|
|
89
|
+
* If set, a node expands and collapses when it is clicked.
|
|
90
|
+
*
|
|
91
|
+
* @default true
|
|
92
|
+
*/
|
|
93
|
+
expandOnClick?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* If set, the focused node expands and collapses when `Space` is pressed.
|
|
96
|
+
*
|
|
97
|
+
* @default true
|
|
98
|
+
*/
|
|
99
|
+
expandOnSpace?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* If set, the focused node is checked and unchecked when `Space` is pressed.
|
|
102
|
+
*
|
|
103
|
+
* @default false
|
|
104
|
+
*/
|
|
105
|
+
checkOnSpace?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* If set, a node is selected when it is clicked.
|
|
108
|
+
*
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
selectOnClick?: boolean;
|
|
112
|
+
/** Controller returned by `useTree`. An internal one is created when not set. */
|
|
113
|
+
tree?: TreeController;
|
|
114
|
+
/**
|
|
115
|
+
* Custom markup for a node.
|
|
116
|
+
* Can also be set with the scoped `renderNode` or `node` slot – the slot takes precedence.
|
|
117
|
+
*/
|
|
118
|
+
renderNode?: RenderNode;
|
|
119
|
+
/**
|
|
120
|
+
* If set, the selection is cleared when a click lands outside the tree.
|
|
121
|
+
*
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
clearSelectionOnOutsideClick?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* If set, a range of nodes can be selected by holding `Shift`.
|
|
127
|
+
*
|
|
128
|
+
* @default true
|
|
129
|
+
*/
|
|
130
|
+
allowRangeSelection?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* If set, the children of collapsed nodes stay mounted.
|
|
133
|
+
*
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
keepMounted?: boolean;
|
|
137
|
+
/** Decides whether a node may be dropped at a given position. */
|
|
138
|
+
allowDrop?: TreeAllowDrop;
|
|
139
|
+
/**
|
|
140
|
+
* If set, nodes are dragged with a dedicated handle instead of by the node itself.
|
|
141
|
+
*
|
|
142
|
+
* @default false
|
|
143
|
+
*/
|
|
144
|
+
withDragHandle?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* If set, lines connecting a node with its children are rendered.
|
|
147
|
+
*
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
150
|
+
withLines?: boolean;
|
|
151
|
+
}
|
|
152
|
+
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
153
|
+
export interface TreeProps extends Omit<BoxProps, keyof TreeOwnProps>, TreeOwnProps {
|
|
154
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TreeDragDropPayload } from './move-tree-node/move-tree-node';
|
|
2
|
+
import type { TreeOwnProps, TreeSlots } from './Tree.types';
|
|
3
|
+
import type { TreeNodeData } from './Tree.types';
|
|
4
|
+
/** Module scope: created once, not per component instance. */
|
|
5
|
+
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
6
|
+
/**
|
|
7
|
+
* The flat list of every value in tree order. Range selection needs it to work out
|
|
8
|
+
* which nodes lie between the anchor and the clicked node.
|
|
9
|
+
*/
|
|
10
|
+
declare function getFlatValues(data: TreeNodeData[]): string[];
|
|
11
|
+
export { varsResolver, getFlatValues };
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TreeOwnProps, {
|
|
15
|
+
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"drag-drop": (payload: TreeDragDropPayload) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<TreeOwnProps> & Readonly<{
|
|
19
|
+
"onDrag-drop"?: ((payload: TreeDragDropPayload) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TreeSlots>;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as TreeNode } from './TreeNode.vue';
|
|
2
|
+
export type { TreeNodeProps } from './TreeNode.vue';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { TreeDragDropPayload } from './move-tree-node/move-tree-node';
|
|
2
|
+
import type { TreeAllowDrop } from './use-tree-node-drag-drop';
|
|
3
|
+
import type { TreeController } from './use-tree';
|
|
4
|
+
import type { RenderNode, TreeDragState, TreeNodeData } from './Tree.types';
|
|
5
|
+
/** Props of `TreeNode`. This component is internal to `Tree`. */
|
|
6
|
+
export interface TreeNodeProps {
|
|
7
|
+
/** Data of the node. */
|
|
8
|
+
node: TreeNodeData;
|
|
9
|
+
/** `getStyles` of the owning `Tree`, so every node shares one Styles API instance. */
|
|
10
|
+
getStyles: any;
|
|
11
|
+
/** Index among the root nodes. Only the first root node is in the tab order. */
|
|
12
|
+
rootIndex?: number;
|
|
13
|
+
/** Controller of the owning tree. */
|
|
14
|
+
controller: TreeController;
|
|
15
|
+
/** If set, the node expands and collapses when it is clicked. */
|
|
16
|
+
expandOnClick?: boolean;
|
|
17
|
+
/** Every value of the tree in tree order, used to resolve range selections. */
|
|
18
|
+
flatValues: string[];
|
|
19
|
+
/** Whether this node is nested inside another node. */
|
|
20
|
+
isSubtree?: boolean;
|
|
21
|
+
/** Depth of the node, starting at 1. */
|
|
22
|
+
level?: number;
|
|
23
|
+
/** Custom markup for the node. */
|
|
24
|
+
renderNode?: RenderNode;
|
|
25
|
+
/** If set, the node is selected when it is clicked. */
|
|
26
|
+
selectOnClick?: boolean;
|
|
27
|
+
/** If set, a range of nodes can be selected by holding `Shift`. */
|
|
28
|
+
allowRangeSelection?: boolean;
|
|
29
|
+
/** If set, the node expands and collapses when `Space` is pressed. */
|
|
30
|
+
expandOnSpace?: boolean;
|
|
31
|
+
/** If set, the node is checked and unchecked when `Space` is pressed. */
|
|
32
|
+
checkOnSpace?: boolean;
|
|
33
|
+
/** If set, the children stay mounted while the node is collapsed. */
|
|
34
|
+
keepMounted?: boolean;
|
|
35
|
+
/** Called when a node is dropped onto another node. */
|
|
36
|
+
onDragDrop?: (payload: TreeDragDropPayload) => void;
|
|
37
|
+
/** Decides whether a node may be dropped at a given position. */
|
|
38
|
+
allowDrop?: TreeAllowDrop;
|
|
39
|
+
/** If set, the node is dragged with a dedicated handle. */
|
|
40
|
+
withDragHandle?: boolean;
|
|
41
|
+
/** Drag and drop state shared by every node of the tree. */
|
|
42
|
+
dragState: {
|
|
43
|
+
value: TreeDragState;
|
|
44
|
+
};
|
|
45
|
+
/** Data of the whole tree, needed to resolve drop targets. */
|
|
46
|
+
data: TreeNodeData[];
|
|
47
|
+
}
|
|
48
|
+
/** Every value between the anchor and the clicked node, in tree order. */
|
|
49
|
+
declare function getValuesRange(anchor: string | null, value: string | undefined, flatValues: string[]): string[];
|
|
50
|
+
/**
|
|
51
|
+
* `keepMounted` hides collapsed subtrees with `display: none` instead of unmounting
|
|
52
|
+
* them, so arrow key navigation has to skip anything inside a hidden ancestor.
|
|
53
|
+
*/
|
|
54
|
+
declare function visible(node: HTMLElement, root: Element): boolean;
|
|
55
|
+
export { getValuesRange, visible };
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
57
|
+
export default _default;
|
|
58
|
+
declare const __VLS_export: import("vue").DefineComponent<TreeNodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeNodeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,7 +5,7 @@ export { mergeAsyncChildren } from './merge-async-children/merge-async-children'
|
|
|
5
5
|
export { moveTreeNode } from './move-tree-node/move-tree-node';
|
|
6
6
|
export { filterTreeData, defaultTreeNodeFilter } from './filter-tree-data/filter-tree-data';
|
|
7
7
|
export { flattenTreeData } from './flatten-tree-data/flatten-tree-data';
|
|
8
|
-
export type { TreeProps, TreeStylesNames, TreeFactory, TreeCssVariables, TreeNodeData, RenderTreeNodePayload, RenderNode, TreeSlots, } from './Tree';
|
|
8
|
+
export type { TreeOwnProps, TreeProps, TreeDragState, TreeStylesNames, TreeFactory, TreeCssVariables, TreeNodeData, RenderTreeNodePayload, RenderNode, TreeSlots, } from './Tree';
|
|
9
9
|
export type { UseTreeInput, UseTreeReturnType, TreeController, TreeExpandedState } from './use-tree';
|
|
10
10
|
export type { CheckedNodeStatus } from './get-all-checked-nodes/get-all-checked-nodes';
|
|
11
11
|
export type { TreeNodeFilter } from './filter-tree-data/filter-tree-data';
|