sit-onyx 1.0.0-beta.98 → 1.0.0-dev-20250912111044
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 +1 -5
- package/dist/components/OnyxAccordion/OnyxAccordion.d.vue.ts +26 -0
- package/dist/components/OnyxAccordion/types.d.ts +45 -0
- package/dist/components/OnyxAccordionItem/OnyxAccordionItem.d.vue.ts +37 -0
- package/dist/components/OnyxAccordionItem/types.d.ts +17 -0
- package/dist/components/OnyxAlertModal/OnyxAlertModal.d.vue.ts +69 -0
- package/dist/components/OnyxAlertModal/types.d.ts +8 -0
- package/dist/components/OnyxAppLayout/OnyxAppLayout.d.vue.ts +50 -0
- package/dist/components/OnyxAppLayout/types.d.ts +3 -1
- package/dist/components/OnyxAvatar/OnyxAvatar.d.vue.ts +5 -0
- package/dist/components/OnyxAvatar/types.d.ts +16 -4
- package/dist/components/OnyxAvatarStack/{OnyxAvatarStack.vue.d.ts → OnyxAvatarStack.d.vue.ts} +1 -1
- package/dist/components/OnyxBadge/{OnyxBadge.vue.d.ts → OnyxBadge.d.vue.ts} +4 -4
- package/dist/components/OnyxBadge/types.d.ts +2 -2
- package/dist/components/{OnyxDialog/OnyxDialog.vue.d.ts → OnyxBasicDialog/OnyxBasicDialog.d.vue.ts} +12 -7
- package/dist/components/OnyxBasicDialog/types.d.ts +35 -0
- package/dist/components/OnyxBasicPopover/OnyxBasicPopover.d.vue.ts +64 -0
- package/dist/components/OnyxBasicPopover/types.d.ts +37 -0
- package/dist/components/OnyxBottomBar/OnyxBottomBar.d.vue.ts +36 -0
- package/dist/components/OnyxBottomBar/types.d.ts +7 -0
- package/dist/components/OnyxBreadcrumb/OnyxBreadcrumb.d.vue.ts +32 -0
- package/dist/components/OnyxBreadcrumb/types.d.ts +32 -0
- package/dist/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.d.vue.ts +33 -0
- package/dist/components/OnyxBreadcrumbItem/types.d.ts +15 -0
- package/dist/components/OnyxButton/ButtonOrLinkLayout.d.vue.ts +33 -0
- package/dist/components/OnyxButton/OnyxButton.d.vue.ts +26 -0
- package/dist/components/OnyxButton/types.d.ts +14 -4
- package/dist/components/{OnyxHeadline/OnyxHeadline.vue.d.ts → OnyxCard/OnyxCard.d.vue.ts} +6 -4
- package/dist/components/OnyxCard/types.d.ts +9 -0
- package/dist/components/OnyxCheckbox/{OnyxCheckbox.vue.d.ts → OnyxCheckbox.d.vue.ts} +7 -7
- package/dist/components/OnyxCheckbox/types.d.ts +3 -5
- package/dist/components/OnyxCheckboxGroup/{OnyxCheckboxGroup.vue.d.ts → OnyxCheckboxGroup.d.vue.ts} +7 -7
- package/dist/components/OnyxCheckboxGroup/types.d.ts +9 -20
- package/dist/components/OnyxDataGrid/OnyxDataGrid.d.vue.ts +16 -0
- package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/{OnyxDataGridRenderer.vue.d.ts → OnyxDataGridRenderer.d.vue.ts} +6 -8
- package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/types.d.ts +34 -14
- package/dist/components/OnyxDataGrid/features/{HeaderCell.vue.d.ts → HeaderCell.d.vue.ts} +1 -1
- package/dist/components/OnyxDataGrid/features/all.d.ts +15 -2
- package/dist/components/OnyxDataGrid/features/base/base.d.ts +52 -0
- package/dist/components/OnyxDataGrid/features/base/types.d.ts +8 -0
- package/dist/components/OnyxDataGrid/features/filtering/filtering.d.ts +31 -0
- package/dist/components/OnyxDataGrid/features/filtering/types.d.ts +66 -0
- package/dist/components/OnyxDataGrid/features/hideColumns/hideColumns.d.ts +43 -0
- package/dist/components/OnyxDataGrid/features/hideColumns/types.d.ts +13 -0
- package/dist/components/OnyxDataGrid/features/index.d.ts +225 -15
- package/dist/components/OnyxDataGrid/features/pagination/pagination.d.ts +28 -0
- package/dist/components/OnyxDataGrid/features/pagination/types.d.ts +51 -0
- package/dist/components/OnyxDataGrid/features/renderer.d.ts +71 -0
- package/dist/components/OnyxDataGrid/features/resizing/resizing.d.ts +51 -0
- package/dist/components/OnyxDataGrid/features/resizing/types.d.ts +7 -0
- package/dist/components/OnyxDataGrid/features/selection/selection.d.ts +17 -0
- package/dist/components/OnyxDataGrid/features/selection/types.d.ts +39 -0
- package/dist/components/OnyxDataGrid/features/sorting/{SortAction.vue.d.ts → SortAction.d.vue.ts} +2 -2
- package/dist/components/OnyxDataGrid/features/sorting/defaults.d.ts +9 -0
- package/dist/components/OnyxDataGrid/features/sorting/sorting.d.ts +34 -4
- package/dist/components/OnyxDataGrid/features/sorting/types.d.ts +13 -18
- package/dist/components/OnyxDataGrid/features/stickyColumns/stickyColumns.d.ts +13 -0
- package/dist/components/OnyxDataGrid/features/stickyColumns/types.d.ts +14 -0
- package/dist/components/OnyxDataGrid/types.d.ts +79 -5
- package/dist/components/OnyxDataGrid/types.spec-d.d.ts +1 -0
- package/dist/components/OnyxDatePicker/OnyxDatePicker.d.vue.ts +20 -0
- package/dist/components/OnyxDatePicker/types.d.ts +3 -2
- package/dist/components/OnyxDialog/OnyxDialog.d.vue.ts +68 -0
- package/dist/components/OnyxDialog/types.d.ts +4 -24
- package/dist/components/OnyxEmpty/{OnyxEmpty.vue.d.ts → OnyxEmpty.d.vue.ts} +10 -2
- package/dist/components/OnyxErrorTooltip/{OnyxErrorTooltip.vue.d.ts → OnyxErrorTooltip.d.vue.ts} +7 -3
- package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.d.vue.ts +5 -0
- package/dist/components/OnyxExternalLinkIcon/types.d.ts +2 -5
- package/dist/components/OnyxFAB/OnyxFAB.d.vue.ts +34 -0
- package/dist/components/OnyxFAB/types.d.ts +13 -0
- package/dist/components/OnyxFABButton/OnyxFABButton.d.vue.ts +5 -0
- package/dist/components/OnyxFABButton/types.d.ts +22 -0
- package/dist/components/OnyxFABItem/OnyxFABItem.d.vue.ts +3 -0
- package/dist/components/OnyxFABItem/types.d.ts +17 -0
- package/dist/components/OnyxFileCard/OnyxFileCard.d.vue.ts +34 -0
- package/dist/components/OnyxFileCard/types.d.ts +49 -0
- package/dist/components/OnyxFileTypeIcon/OnyxFileTypeIcon.d.vue.ts +3 -0
- package/dist/components/OnyxFileTypeIcon/types.d.ts +13 -0
- package/dist/components/OnyxFileUpload/OnyxFileUpload.d.vue.ts +40 -0
- package/dist/components/OnyxFileUpload/types.d.ts +91 -0
- package/dist/components/OnyxFilterTag/OnyxFilterTag.d.vue.ts +10 -0
- package/dist/components/OnyxFilterTag/types.d.ts +8 -0
- package/dist/components/OnyxForm/OnyxForm.core.d.ts +46 -17
- package/dist/components/OnyxForm/{OnyxForm.vue.d.ts → OnyxForm.d.vue.ts} +4 -4
- package/dist/components/OnyxForm/types.d.ts +3 -3
- package/dist/components/OnyxFormElement/FormMessage.d.vue.ts +13 -0
- package/dist/components/OnyxFormElement/OnyxFormElement.ct-utils.d.ts +2 -2
- package/dist/components/OnyxFormElement/OnyxFormElement.d.vue.ts +27 -0
- package/dist/components/OnyxFormElement/types.d.ts +22 -19
- package/dist/components/OnyxGlobalFAB/OnyxGlobalFAB.d.vue.ts +2 -0
- package/dist/components/OnyxGlobalFAB/useGlobalFAB.d.ts +56 -0
- package/dist/components/OnyxHeadline/OnyxHeadline.d.vue.ts +28 -0
- package/dist/components/OnyxHeadline/types.d.ts +18 -2
- package/dist/components/OnyxIcon/OnyxIcon.d.vue.ts +3 -0
- package/dist/components/OnyxIcon/types.d.ts +5 -1
- package/dist/components/OnyxIconButton/OnyxIconButton.d.vue.ts +27 -0
- package/dist/components/OnyxIconButton/types.d.ts +6 -6
- package/dist/components/OnyxImage/OnyxImage.d.vue.ts +6 -0
- package/dist/components/OnyxImage/types.d.ts +43 -0
- package/dist/components/OnyxInfoCard/OnyxInfoCard.d.vue.ts +42 -0
- package/dist/components/OnyxInfoCard/types.d.ts +21 -0
- package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.d.vue.ts +12 -0
- package/dist/components/OnyxInfoTooltip/types.d.ts +2 -2
- package/dist/components/OnyxInput/OnyxInput.d.vue.ts +62 -0
- package/dist/components/OnyxInput/types.d.ts +5 -64
- package/dist/components/OnyxLink/{OnyxLink.vue.d.ts → OnyxLink.d.vue.ts} +4 -4
- package/dist/components/OnyxLink/types.d.ts +3 -10
- package/dist/components/OnyxListItem/{OnyxListItem.vue.d.ts → OnyxListItem.d.vue.ts} +4 -4
- package/dist/components/OnyxListItem/types.d.ts +2 -2
- package/dist/components/OnyxLoadingIndicator/OnyxCircleSpinner.d.vue.ts +2 -0
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingDots.d.vue.ts +2 -0
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.d.vue.ts +5 -0
- package/dist/components/OnyxMiniSearch/OnyxMiniSearch.d.vue.ts +16 -0
- package/dist/components/OnyxMiniSearch/types.d.ts +5 -3
- package/dist/components/OnyxMobileNavButton/{OnyxMobileNavButton.vue.d.ts → OnyxMobileNavButton.d.vue.ts} +4 -4
- package/dist/components/OnyxMobileNavButton/types.d.ts +4 -0
- package/dist/components/OnyxModal/OnyxModal.d.vue.ts +57 -0
- package/dist/components/OnyxModal/types.d.ts +2 -0
- package/dist/components/OnyxMoreList/{OnyxMoreList.vue.d.ts → OnyxMoreList.d.vue.ts} +11 -6
- package/dist/components/OnyxMoreList/types.d.ts +12 -3
- package/dist/components/OnyxNavAppArea/{OnyxNavAppArea.vue.d.ts → OnyxNavAppArea.d.vue.ts} +5 -3
- package/dist/components/OnyxNavAppArea/types.d.ts +2 -1
- package/dist/components/OnyxNavBar/OnyxNavBar.d.vue.ts +44 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.d.vue.ts +12 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/types.d.ts +3 -3
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.d.vue.ts +8 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/types.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/{OnyxFlyoutMenu.vue.d.ts → OnyxFlyoutMenu.d.vue.ts} +9 -12
- package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/types.d.ts +11 -7
- package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.d.vue.ts +16 -0
- package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/types.d.ts +11 -0
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.d.vue.ts +427 -0
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/types.d.ts +13 -9
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.d.vue.ts +185 -0
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/types.d.ts +19 -2
- package/dist/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.d.vue.ts +41 -0
- package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.d.vue.ts +12 -0
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/{OnyxUserMenu.vue.d.ts → OnyxUserMenu.d.vue.ts} +7 -7
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/{UserMenuLayout.vue.d.ts → UserMenuLayout.d.vue.ts} +13 -13
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/types.d.ts +13 -7
- package/dist/components/OnyxNavBar/modules/index.d.ts +17 -17
- package/dist/components/OnyxNavBar/types.d.ts +53 -12
- package/dist/components/OnyxNotificationCard/OnyxNotificationCard.d.vue.ts +48 -0
- package/dist/components/OnyxNotificationCard/types.d.ts +25 -0
- package/dist/components/OnyxNotificationDot/OnyxNotificationDot.d.vue.ts +29 -0
- package/dist/components/OnyxNotificationDot/types.d.ts +11 -0
- package/dist/components/OnyxNotificationMessage/OnyxNotificationMessage.d.vue.ts +40 -0
- package/dist/components/OnyxNotificationMessage/types.d.ts +17 -0
- package/dist/components/OnyxNotifications/OnyxNotifications.d.vue.ts +2 -0
- package/dist/components/OnyxNotifications/useNotification.d.ts +60 -0
- package/dist/components/OnyxPageLayout/OnyxPageLayout.d.vue.ts +66 -0
- package/dist/components/OnyxPageLayout/types.d.ts +11 -8
- package/dist/components/OnyxPagination/OnyxPagination.d.vue.ts +10 -0
- package/dist/components/OnyxPagination/OnyxSelectPagination.d.vue.ts +9 -0
- package/dist/components/OnyxPagination/types.d.ts +6 -1
- package/dist/components/OnyxProgressItem/OnyxProgressItem.d.vue.ts +31 -0
- package/dist/components/OnyxProgressItem/types.d.ts +31 -0
- package/dist/components/OnyxProgressSteps/OnyxProgressSteps.d.vue.ts +41 -0
- package/dist/components/OnyxProgressSteps/types.d.ts +30 -0
- package/dist/components/OnyxRadioButton/{OnyxRadioButton.vue.d.ts → OnyxRadioButton.d.vue.ts} +7 -7
- package/dist/components/OnyxRadioButton/types.d.ts +2 -10
- package/dist/components/OnyxRadioGroup/{OnyxRadioGroup.vue.d.ts → OnyxRadioGroup.d.vue.ts} +9 -9
- package/dist/components/OnyxRadioGroup/types.d.ts +6 -19
- package/dist/components/OnyxResizeHandle/OnyxResizeHandle.d.vue.ts +16 -0
- package/dist/components/OnyxResizeHandle/types.d.ts +23 -0
- package/dist/components/OnyxRipple/OnyxRipple.d.vue.ts +6 -0
- package/dist/components/OnyxRouterLink/OnyxRouterLink.d.vue.ts +21 -0
- package/dist/components/OnyxRouterLink/types.d.ts +22 -0
- package/dist/components/OnyxSegmentedControl/OnyxSegmentedControl.d.vue.ts +17 -0
- package/dist/components/OnyxSegmentedControl/types.d.ts +28 -0
- package/dist/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.d.vue.ts +7 -0
- package/dist/components/OnyxSegmentedControlElement/types.d.ts +5 -0
- package/dist/components/OnyxSelect/{OnyxSelect.vue.d.ts → OnyxSelect.d.vue.ts} +13 -12
- package/dist/components/OnyxSelect/types.d.ts +34 -47
- package/dist/components/OnyxSelectDialog/OnyxSelectDialog.d.vue.ts +28 -0
- package/dist/components/OnyxSelectDialog/types.d.ts +30 -0
- package/dist/components/OnyxSelectInput/{OnyxSelectInput.vue.d.ts → OnyxSelectInput.d.vue.ts} +6 -8
- package/dist/components/OnyxSelectInput/types.d.ts +2 -24
- package/dist/components/OnyxSelectOption/{OnyxSelectOption.vue.d.ts → OnyxSelectOption.d.vue.ts} +5 -5
- package/dist/components/OnyxSelectOption/types.d.ts +2 -2
- package/dist/components/OnyxSeparator/OnyxSeparator.d.vue.ts +5 -0
- package/dist/components/OnyxSeparator/types.d.ts +7 -0
- package/dist/components/OnyxSidebar/OnyxSidebar.d.vue.ts +190 -0
- package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.d.vue.ts +28 -0
- package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/types.d.ts +9 -0
- package/dist/components/OnyxSidebar/modules/index.d.ts +2 -0
- package/dist/components/OnyxSidebar/types.d.ts +40 -0
- package/dist/components/OnyxSkeleton/OnyxSkeleton.d.vue.ts +2 -0
- package/dist/components/OnyxStepper/OnyxStepper.d.vue.ts +22 -0
- package/dist/components/OnyxStepper/types.d.ts +26 -32
- package/dist/components/OnyxSwitch/OnyxSwitch.d.vue.ts +22 -0
- package/dist/components/OnyxSwitch/types.d.ts +3 -29
- package/dist/components/OnyxSystemButton/OnyxSystemButton.d.vue.ts +8 -0
- package/dist/components/OnyxSystemButton/types.d.ts +2 -2
- package/dist/components/OnyxTab/{OnyxTab.vue.d.ts → OnyxTab.d.vue.ts} +4 -4
- package/dist/components/OnyxTab/types.d.ts +2 -2
- package/dist/components/OnyxTable/OnyxTable.d.vue.ts +24 -0
- package/dist/components/OnyxTable/types.d.ts +43 -1
- package/dist/components/OnyxTabs/{OnyxTabs.vue.d.ts → OnyxTabs.d.vue.ts} +4 -6
- package/dist/components/OnyxTabs/types.d.ts +6 -6
- package/dist/components/OnyxTag/OnyxTag.d.vue.ts +6 -0
- package/dist/components/OnyxTag/types.d.ts +25 -2
- package/dist/components/OnyxTextarea/OnyxTextarea.d.vue.ts +22 -0
- package/dist/components/OnyxTextarea/types.d.ts +2 -5
- package/dist/components/OnyxToast/OnyxToast.d.vue.ts +2 -0
- package/dist/components/OnyxToast/useToast.d.ts +2 -2
- package/dist/components/OnyxToastMessage/OnyxToastMessage.d.vue.ts +12 -0
- package/dist/components/OnyxToastMessage/types.d.ts +2 -2
- package/dist/components/OnyxTooltip/OnyxTooltip.ct-utils.d.ts +1 -1
- package/dist/components/OnyxTooltip/{OnyxTooltip.vue.d.ts → OnyxTooltip.d.vue.ts} +22 -12
- package/dist/components/OnyxTooltip/types.d.ts +31 -15
- package/dist/components/OnyxVisuallyHidden/{OnyxVisuallyHidden.vue.d.ts → OnyxVisuallyHidden.d.vue.ts} +3 -3
- package/dist/components/examples/ComponentShowcase/ComponentShowcase.d.vue.ts +9 -0
- package/dist/components/illustrations/OnyxErrorSVG/OnyxErrorSVG.d.vue.ts +2 -0
- package/dist/components/illustrations/OnyxFileUploadSVG/OnyxFileUploadSVG.d.vue.ts +3 -0
- package/dist/components/illustrations/OnyxFileUploadSVG/types.d.ts +10 -0
- package/dist/components/illustrations/index.d.ts +3 -0
- package/dist/composables/animation.d.ts +5 -0
- package/dist/composables/checkAll.d.ts +3 -3
- package/dist/composables/density.d.ts +1 -1
- package/dist/composables/required.d.ts +6 -12
- package/dist/composables/scrollEnd.d.ts +2 -2
- package/dist/composables/themeTransition.d.ts +2 -2
- package/dist/composables/useAnchorPositionPolyfill.d.ts +20 -0
- package/dist/composables/useAutoFocus.d.ts +5 -0
- package/dist/composables/useCustomValidity.d.ts +21 -13
- package/dist/composables/useErrorClass.d.ts +2 -2
- package/dist/composables/useFileSize.d.ts +10 -0
- package/dist/composables/useIntersectionObserver.d.ts +25 -0
- package/dist/composables/useLenientMaxLengthValidation.ct-utils.d.ts +3 -0
- package/dist/composables/useLenientMaxLengthValidation.d.ts +93 -0
- package/dist/composables/useLink.d.ts +29 -0
- package/dist/composables/useLink.spec-d.d.ts +1 -0
- package/dist/composables/useMoreList.d.ts +15 -7
- package/dist/composables/useOpenAlignment.d.ts +13 -0
- package/dist/composables/useOpenDirection.d.ts +5 -5
- package/dist/composables/useRelativeTimeFormat.d.ts +23 -0
- package/dist/composables/useResizeObserver.d.ts +6 -2
- package/dist/composables/useRipple.d.ts +5 -5
- package/dist/composables/useSkeletonState.d.ts +1 -1
- package/dist/composables/useTimer.d.ts +3 -3
- package/dist/composables/useVModel.d.ts +34 -0
- package/dist/composables/useVModel.spec-d.d.ts +1 -0
- package/dist/i18n/datetime-formats.d.ts +22 -0
- package/dist/i18n/index.d.ts +24 -12
- package/dist/i18n/locales/de-DE.json +96 -2
- package/dist/i18n/locales/en-US.json +94 -9
- package/{src/i18n/locales/en-US.json → dist/i18n/locales/en-US.json.d.ts} +98 -10
- package/dist/i18n/number-formats.d.ts +6 -0
- package/dist/index.d.ts +176 -106
- package/dist/index.esm-bundler.js +13471 -0
- package/dist/index.esm-bundler.js.map +1 -0
- package/dist/index.js +9618 -4746
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +7 -9
- package/dist/types/index.d.ts +7 -8
- package/dist/types/utils.d.ts +66 -1
- package/dist/types/utils.spec-d.d.ts +1 -0
- package/dist/utils/attrs.d.ts +35 -4
- package/dist/utils/breakpoints.d.ts +17 -0
- package/dist/utils/console.d.ts +11 -0
- package/dist/utils/dom.d.ts +5 -0
- package/dist/utils/feature.d.ts +15 -0
- package/dist/utils/file.d.ts +10 -0
- package/dist/utils/numbers.d.ts +29 -9
- package/dist/utils/objects.d.ts +18 -0
- package/dist/utils/plugin.d.ts +11 -2
- package/dist/utils/router.d.ts +9 -0
- package/dist/utils/storybook.d.ts +43 -2
- package/dist/utils/strings.d.ts +13 -0
- package/package.json +34 -24
- package/src/styles/breakpoints.scss +14 -10
- package/src/styles/fonts.scss +7 -7
- package/src/styles/global.css +3 -3
- package/src/styles/grid.ct.tsx +186 -73
- package/src/styles/grid.scss +139 -38
- package/src/styles/index.scss +1 -2
- package/src/styles/layers.scss +1 -1
- package/src/styles/mixins/checkbox.scss +18 -4
- package/src/styles/mixins/input.scss +24 -5
- package/src/styles/mixins/layers.scss +6 -0
- package/src/styles/mixins/list.scss +1 -1
- package/src/styles/mixins/sizes.scss +12 -8
- package/src/styles/mixins/visibility.scss +11 -0
- package/src/styles/root.scss +7 -2
- package/src/styles/variables/density-compact.css +2 -2
- package/src/styles/variables/density-cozy.css +2 -2
- package/src/styles/variables/density-default.css +2 -2
- package/src/styles/variables/spacing.css +1 -1
- package/src/styles/variables/themes/onyx.css +387 -0
- package/src/styles/variables/themes/value.css +217 -159
- package/dist/components/OnyxAlertDialog/OnyxAlertDialog.vue.d.ts +0 -58
- package/dist/components/OnyxAlertDialog/types.d.ts +0 -8
- package/dist/components/OnyxAppLayout/OnyxAppLayout.vue.d.ts +0 -36
- package/dist/components/OnyxAvatar/OnyxAvatar.vue.d.ts +0 -28
- package/dist/components/OnyxButton/OnyxButton.vue.d.ts +0 -10
- package/dist/components/OnyxDataGrid/OnyxDataGrid.vue.d.ts +0 -17
- package/dist/components/OnyxDataGrid/features/sorting/TestCase.vue.d.ts +0 -9
- package/dist/components/OnyxDatePicker/OnyxDatePicker.vue.d.ts +0 -17
- package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue.d.ts +0 -5
- package/dist/components/OnyxFormElement/FormMessage.vue.d.ts +0 -13
- package/dist/components/OnyxFormElement/OnyxFormElement.vue.d.ts +0 -29
- package/dist/components/OnyxIcon/OnyxIcon.vue.d.ts +0 -3
- package/dist/components/OnyxIconButton/OnyxIconButton.vue.d.ts +0 -27
- package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.vue.d.ts +0 -6
- package/dist/components/OnyxInput/OnyxInput.vue.d.ts +0 -24
- package/dist/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue.d.ts +0 -2
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingDots.vue.d.ts +0 -2
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue.d.ts +0 -5
- package/dist/components/OnyxMiniSearch/OnyxMiniSearch.vue.d.ts +0 -14
- package/dist/components/OnyxModalDialog/OnyxModalDialog.vue.d.ts +0 -46
- package/dist/components/OnyxModalDialog/types.d.ts +0 -2
- package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +0 -91
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue.d.ts +0 -11
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue.d.ts +0 -8
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +0 -28
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonLayout.vue.d.ts +0 -48
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +0 -122
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/types.d.ts +0 -19
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +0 -31
- package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/OnyxNavSeparator.vue.d.ts +0 -5
- package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/types.d.ts +0 -3
- package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue.d.ts +0 -7
- package/dist/components/OnyxPageLayout/OnyxPageLayout.vue.d.ts +0 -30
- package/dist/components/OnyxPagination/OnyxPagination.vue.d.ts +0 -9
- package/dist/components/OnyxPagination/OnyxSelectPagination.vue.d.ts +0 -7
- package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +0 -4
- package/dist/components/OnyxSkeleton/OnyxSkeleton.vue.d.ts +0 -2
- package/dist/components/OnyxStepper/OnyxStepper.vue.d.ts +0 -21
- package/dist/components/OnyxSwitch/OnyxSwitch.vue.d.ts +0 -15
- package/dist/components/OnyxSystemButton/OnyxSystemButton.vue.d.ts +0 -8
- package/dist/components/OnyxSystemButton/examples/WithFlyoutMenu.vue.d.ts +0 -2
- package/dist/components/OnyxSystemButton/examples/WithTooltip.vue.d.ts +0 -2
- package/dist/components/OnyxTable/OnyxTable.vue.d.ts +0 -57
- package/dist/components/OnyxTag/OnyxTag.vue.d.ts +0 -5
- package/dist/components/OnyxTextarea/OnyxTextarea.vue.d.ts +0 -17
- package/dist/components/OnyxToast/OnyxToast.vue.d.ts +0 -2
- package/dist/components/OnyxToast/StorybookExample.vue.d.ts +0 -2
- package/dist/components/OnyxToastMessage/OnyxToastMessage.vue.d.ts +0 -12
- package/dist/components/examples/ComponentShowcase/ComponentShowcase.vue.d.ts +0 -9
- package/dist/components/examples/DataGrid/SortingDataGrid.vue.d.ts +0 -26
- package/dist/components/examples/FormExample/FormExample.vue.d.ts +0 -3
- package/dist/components/examples/GridPlayground/EditGridElementDialog/EditGridElementDialog.vue.d.ts +0 -26
- package/dist/components/examples/GridPlayground/GridBadge/GridBadge.vue.d.ts +0 -17
- package/dist/components/examples/GridPlayground/GridElement/GridElement.vue.d.ts +0 -42
- package/dist/components/examples/GridPlayground/GridOverlay/GridOverlay.vue.d.ts +0 -10
- package/dist/components/examples/GridPlayground/GridPlayground.vue.d.ts +0 -2
- package/dist/composables/asymmetricComputed.d.ts +0 -13
- package/dist/composables/useManagedState.d.ts +0 -31
- package/dist/composables/useWedgePosition.d.ts +0 -13
- package/dist/index.cjs +0 -183
- package/dist/playwright/a11y.d.ts +0 -28
- package/dist/playwright/screenshots.d.ts +0 -33
- package/dist/types/themes.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -4
- package/src/i18n/locales/de-DE.json +0 -135
- package/src/i18n/locales/ko-KR.json +0 -27
- package/src/styles/variables/themes/digits-dark.css +0 -129
- package/src/styles/variables/themes/digits-light.css +0 -129
- package/src/styles/variables/themes/kaufland-dark.css +0 -129
- package/src/styles/variables/themes/kaufland-light.css +0 -129
- package/src/styles/variables/themes/lidl-dark.css +0 -129
- package/src/styles/variables/themes/lidl-light.css +0 -129
- package/src/styles/variables/themes/onyx-dark.css +0 -129
- package/src/styles/variables/themes/onyx-light.css +0 -129
- package/src/styles/variables/themes/schwarz-dark.css +0 -129
- package/src/styles/variables/themes/schwarz-light.css +0 -129
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
import { iconArrowSmallLeft, iconChevronRightSmall } from '@sit-onyx/icons';
|
|
2
|
+
import { nextTick } from 'vue';
|
|
3
|
+
import { mergeVueProps } from '../../../../utils/attrs.js';
|
|
4
|
+
import { extractLinkProps } from '../../../../utils/router.js';
|
|
5
|
+
import { default as ButtonOrLinkLayout } from '../../../OnyxButton/ButtonOrLinkLayout.vue';
|
|
6
|
+
import { default as OnyxExternalLinkIcon } from '../../../OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue';
|
|
7
|
+
import { default as OnyxIcon } from '../../../OnyxIcon/OnyxIcon.vue';
|
|
8
|
+
import { default as OnyxListItem } from '../../../OnyxListItem/OnyxListItem.vue';
|
|
9
|
+
import { OnyxMenuItemProps } from './types.js';
|
|
10
|
+
declare const t: Readonly<import('vue').Ref<import('../../../../i18n/index.js', { with: { "resolution-mode": "import" } }).TranslationFunction, import('../../../../i18n/index.js', { with: { "resolution-mode": "import" } }).TranslationFunction>>;
|
|
11
|
+
declare const rootAttrs: import('vue').ComputedRef<Pick<Pick<import('vue').HTMLAttributes, "style" | "class">, "style" | "class">>, restAttrs: import('vue').ComputedRef<Omit<Pick<import('vue').HTMLAttributes, "style" | "class">, "style" | "class">>;
|
|
12
|
+
declare const slots: Readonly<{
|
|
13
|
+
/**
|
|
14
|
+
* Button/link text and additional inline content.
|
|
15
|
+
*/
|
|
16
|
+
default(): unknown;
|
|
17
|
+
/**
|
|
18
|
+
* Children menuitems.
|
|
19
|
+
*/
|
|
20
|
+
children(): unknown;
|
|
21
|
+
}> & {
|
|
22
|
+
/**
|
|
23
|
+
* Button/link text and additional inline content.
|
|
24
|
+
*/
|
|
25
|
+
default(): unknown;
|
|
26
|
+
/**
|
|
27
|
+
* Children menuitems.
|
|
28
|
+
*/
|
|
29
|
+
children(): unknown;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Controls the open state.
|
|
33
|
+
*/
|
|
34
|
+
declare const open: import('vue').Ref<NonNullable<import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>>, NonNullable<import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>>>;
|
|
35
|
+
declare const listItem: {
|
|
36
|
+
role: string;
|
|
37
|
+
};
|
|
38
|
+
declare const isActive: import('vue').ComputedRef<boolean>;
|
|
39
|
+
declare const menuItemProps: import('vue').ComputedRef<{
|
|
40
|
+
"aria-current": "page" | undefined;
|
|
41
|
+
"aria-disabled": boolean | undefined;
|
|
42
|
+
role: string;
|
|
43
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
44
|
+
}>;
|
|
45
|
+
declare const hasChildren: import('vue').ComputedRef<boolean>;
|
|
46
|
+
declare const childrenClickHandler: import('vue').ComputedRef<{
|
|
47
|
+
onClick: () => boolean;
|
|
48
|
+
} | null>;
|
|
49
|
+
declare const handleBackButtonKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
50
|
+
declare function __VLS_template(): {
|
|
51
|
+
attrs: Partial<{}>;
|
|
52
|
+
slots: Readonly<{
|
|
53
|
+
/**
|
|
54
|
+
* Button/link text and additional inline content.
|
|
55
|
+
*/
|
|
56
|
+
default(): unknown;
|
|
57
|
+
/**
|
|
58
|
+
* Children menuitems.
|
|
59
|
+
*/
|
|
60
|
+
children(): unknown;
|
|
61
|
+
}> & {
|
|
62
|
+
/**
|
|
63
|
+
* Button/link text and additional inline content.
|
|
64
|
+
*/
|
|
65
|
+
default(): unknown;
|
|
66
|
+
/**
|
|
67
|
+
* Children menuitems.
|
|
68
|
+
*/
|
|
69
|
+
children(): unknown;
|
|
70
|
+
};
|
|
71
|
+
refs: {
|
|
72
|
+
menuItemRef: ({
|
|
73
|
+
$: import('vue').ComponentInternalInstance;
|
|
74
|
+
$data: {};
|
|
75
|
+
$props: {
|
|
76
|
+
readonly disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
77
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
78
|
+
readonly autofocus?: boolean | undefined;
|
|
79
|
+
readonly loading?: boolean | undefined;
|
|
80
|
+
readonly type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
81
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
82
|
+
$attrs: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
$refs: {
|
|
86
|
+
[x: string]: unknown;
|
|
87
|
+
} & {
|
|
88
|
+
buttonRef: HTMLButtonElement;
|
|
89
|
+
};
|
|
90
|
+
$slots: Readonly<{
|
|
91
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
94
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
95
|
+
$host: Element | null;
|
|
96
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
97
|
+
$el: any;
|
|
98
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
99
|
+
disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
100
|
+
link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
101
|
+
autofocus?: boolean | undefined;
|
|
102
|
+
loading?: boolean | undefined;
|
|
103
|
+
type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
104
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
105
|
+
type: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
106
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
107
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
108
|
+
created?: (() => void) | (() => void)[];
|
|
109
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
110
|
+
mounted?: (() => void) | (() => void)[];
|
|
111
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
112
|
+
updated?: (() => void) | (() => void)[];
|
|
113
|
+
activated?: (() => void) | (() => void)[];
|
|
114
|
+
deactivated?: (() => void) | (() => void)[];
|
|
115
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
116
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
117
|
+
destroyed?: (() => void) | (() => void)[];
|
|
118
|
+
unmounted?: (() => void) | (() => void)[];
|
|
119
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
120
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
121
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
122
|
+
};
|
|
123
|
+
$forceUpdate: () => void;
|
|
124
|
+
$nextTick: typeof nextTick;
|
|
125
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
126
|
+
} & Readonly<{
|
|
127
|
+
type: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
128
|
+
}> & Omit<Readonly<{
|
|
129
|
+
disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
130
|
+
link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
131
|
+
autofocus?: boolean | undefined;
|
|
132
|
+
loading?: boolean | undefined;
|
|
133
|
+
type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
134
|
+
}> & Readonly<{}>, "type"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
135
|
+
$slots: Readonly<{
|
|
136
|
+
default(): unknown;
|
|
137
|
+
}> & {
|
|
138
|
+
default(): unknown;
|
|
139
|
+
};
|
|
140
|
+
}) | null;
|
|
141
|
+
backButtonRef: ({
|
|
142
|
+
$: import('vue').ComponentInternalInstance;
|
|
143
|
+
$data: {};
|
|
144
|
+
$props: {
|
|
145
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
146
|
+
readonly open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
147
|
+
readonly label?: string | undefined;
|
|
148
|
+
readonly active?: boolean | "auto" | undefined;
|
|
149
|
+
readonly disabled?: boolean | undefined;
|
|
150
|
+
readonly color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger"> | undefined;
|
|
151
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
152
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
153
|
+
$attrs: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
};
|
|
156
|
+
$refs: {
|
|
157
|
+
[x: string]: unknown;
|
|
158
|
+
};
|
|
159
|
+
$slots: Readonly<{
|
|
160
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
161
|
+
}>;
|
|
162
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
163
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
164
|
+
$host: Element | null;
|
|
165
|
+
$emit: (event: "update:open", value: boolean) => void;
|
|
166
|
+
$el: any;
|
|
167
|
+
$options: import('vue').ComponentOptionsBase<Readonly<OnyxMenuItemProps> & Readonly<{
|
|
168
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
169
|
+
}>, {
|
|
170
|
+
iconArrowSmallLeft: typeof iconArrowSmallLeft;
|
|
171
|
+
iconChevronRightSmall: typeof iconChevronRightSmall;
|
|
172
|
+
mergeVueProps: typeof mergeVueProps;
|
|
173
|
+
extractLinkProps: typeof extractLinkProps;
|
|
174
|
+
ButtonOrLinkLayout: typeof ButtonOrLinkLayout;
|
|
175
|
+
OnyxExternalLinkIcon: typeof OnyxExternalLinkIcon;
|
|
176
|
+
OnyxIcon: typeof OnyxIcon;
|
|
177
|
+
OnyxListItem: typeof OnyxListItem;
|
|
178
|
+
t: typeof t;
|
|
179
|
+
rootAttrs: typeof rootAttrs;
|
|
180
|
+
restAttrs: typeof restAttrs;
|
|
181
|
+
open: typeof open;
|
|
182
|
+
listItem: typeof listItem;
|
|
183
|
+
isActive: typeof isActive;
|
|
184
|
+
menuItemProps: typeof menuItemProps;
|
|
185
|
+
hasChildren: typeof hasChildren;
|
|
186
|
+
childrenClickHandler: typeof childrenClickHandler;
|
|
187
|
+
handleBackButtonKeydown: typeof handleBackButtonKeydown;
|
|
188
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
189
|
+
"update:open": (value: boolean) => any;
|
|
190
|
+
}, string, {
|
|
191
|
+
open: boolean | null;
|
|
192
|
+
active: boolean | "auto";
|
|
193
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
194
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
195
|
+
created?: (() => void) | (() => void)[];
|
|
196
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
197
|
+
mounted?: (() => void) | (() => void)[];
|
|
198
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
199
|
+
updated?: (() => void) | (() => void)[];
|
|
200
|
+
activated?: (() => void) | (() => void)[];
|
|
201
|
+
deactivated?: (() => void) | (() => void)[];
|
|
202
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
203
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
204
|
+
destroyed?: (() => void) | (() => void)[];
|
|
205
|
+
unmounted?: (() => void) | (() => void)[];
|
|
206
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
207
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
208
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
209
|
+
};
|
|
210
|
+
$forceUpdate: () => void;
|
|
211
|
+
$nextTick: typeof nextTick;
|
|
212
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
213
|
+
} & Readonly<{
|
|
214
|
+
open: boolean | null;
|
|
215
|
+
active: boolean | "auto";
|
|
216
|
+
}> & Omit<Readonly<OnyxMenuItemProps> & Readonly<{
|
|
217
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
218
|
+
}>, "t" | "OnyxIcon" | "isActive" | "ButtonOrLinkLayout" | "mergeVueProps" | "listItem" | "OnyxExternalLinkIcon" | "OnyxListItem" | "rootAttrs" | "restAttrs" | "iconArrowSmallLeft" | "iconChevronRightSmall" | "extractLinkProps" | "menuItemProps" | "hasChildren" | "childrenClickHandler" | "handleBackButtonKeydown" | ("open" | "active")> & import('vue').ShallowUnwrapRef<{
|
|
219
|
+
iconArrowSmallLeft: typeof iconArrowSmallLeft;
|
|
220
|
+
iconChevronRightSmall: typeof iconChevronRightSmall;
|
|
221
|
+
mergeVueProps: typeof mergeVueProps;
|
|
222
|
+
extractLinkProps: typeof extractLinkProps;
|
|
223
|
+
ButtonOrLinkLayout: typeof ButtonOrLinkLayout;
|
|
224
|
+
OnyxExternalLinkIcon: typeof OnyxExternalLinkIcon;
|
|
225
|
+
OnyxIcon: typeof OnyxIcon;
|
|
226
|
+
OnyxListItem: typeof OnyxListItem;
|
|
227
|
+
t: typeof t;
|
|
228
|
+
rootAttrs: typeof rootAttrs;
|
|
229
|
+
restAttrs: typeof restAttrs;
|
|
230
|
+
open: typeof open;
|
|
231
|
+
listItem: typeof listItem;
|
|
232
|
+
isActive: typeof isActive;
|
|
233
|
+
menuItemProps: typeof menuItemProps;
|
|
234
|
+
hasChildren: typeof hasChildren;
|
|
235
|
+
childrenClickHandler: typeof childrenClickHandler;
|
|
236
|
+
handleBackButtonKeydown: typeof handleBackButtonKeydown;
|
|
237
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
238
|
+
$slots: typeof slots;
|
|
239
|
+
}) | null;
|
|
240
|
+
};
|
|
241
|
+
rootEl: any;
|
|
242
|
+
};
|
|
243
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
244
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxMenuItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
245
|
+
"update:open": (value: boolean) => any;
|
|
246
|
+
}, string, import('vue').PublicProps, Readonly<OnyxMenuItemProps> & Readonly<{
|
|
247
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
248
|
+
}>, {
|
|
249
|
+
open: boolean | null;
|
|
250
|
+
active: boolean | "auto";
|
|
251
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
252
|
+
menuItemRef: ({
|
|
253
|
+
$: import('vue').ComponentInternalInstance;
|
|
254
|
+
$data: {};
|
|
255
|
+
$props: {
|
|
256
|
+
readonly disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
257
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
258
|
+
readonly autofocus?: boolean | undefined;
|
|
259
|
+
readonly loading?: boolean | undefined;
|
|
260
|
+
readonly type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
261
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
262
|
+
$attrs: {
|
|
263
|
+
[x: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
$refs: {
|
|
266
|
+
[x: string]: unknown;
|
|
267
|
+
} & {
|
|
268
|
+
buttonRef: HTMLButtonElement;
|
|
269
|
+
};
|
|
270
|
+
$slots: Readonly<{
|
|
271
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
272
|
+
}>;
|
|
273
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
274
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
275
|
+
$host: Element | null;
|
|
276
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
277
|
+
$el: any;
|
|
278
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
279
|
+
disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
280
|
+
link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
281
|
+
autofocus?: boolean | undefined;
|
|
282
|
+
loading?: boolean | undefined;
|
|
283
|
+
type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
284
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
285
|
+
type: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
286
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
287
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
288
|
+
created?: (() => void) | (() => void)[];
|
|
289
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
290
|
+
mounted?: (() => void) | (() => void)[];
|
|
291
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
292
|
+
updated?: (() => void) | (() => void)[];
|
|
293
|
+
activated?: (() => void) | (() => void)[];
|
|
294
|
+
deactivated?: (() => void) | (() => void)[];
|
|
295
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
296
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
297
|
+
destroyed?: (() => void) | (() => void)[];
|
|
298
|
+
unmounted?: (() => void) | (() => void)[];
|
|
299
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
300
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
301
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
302
|
+
};
|
|
303
|
+
$forceUpdate: () => void;
|
|
304
|
+
$nextTick: typeof nextTick;
|
|
305
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
306
|
+
} & Readonly<{
|
|
307
|
+
type: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
308
|
+
}> & Omit<Readonly<{
|
|
309
|
+
disabled?: import('../../../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean> | undefined;
|
|
310
|
+
link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
311
|
+
autofocus?: boolean | undefined;
|
|
312
|
+
loading?: boolean | undefined;
|
|
313
|
+
type?: import('../../../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
314
|
+
}> & Readonly<{}>, "type"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
315
|
+
$slots: Readonly<{
|
|
316
|
+
default(): unknown;
|
|
317
|
+
}> & {
|
|
318
|
+
default(): unknown;
|
|
319
|
+
};
|
|
320
|
+
}) | null;
|
|
321
|
+
backButtonRef: ({
|
|
322
|
+
$: import('vue').ComponentInternalInstance;
|
|
323
|
+
$data: {};
|
|
324
|
+
$props: {
|
|
325
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
326
|
+
readonly open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
327
|
+
readonly label?: string | undefined;
|
|
328
|
+
readonly active?: boolean | "auto" | undefined;
|
|
329
|
+
readonly disabled?: boolean | undefined;
|
|
330
|
+
readonly color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger"> | undefined;
|
|
331
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
332
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
333
|
+
$attrs: {
|
|
334
|
+
[x: string]: unknown;
|
|
335
|
+
};
|
|
336
|
+
$refs: {
|
|
337
|
+
[x: string]: unknown;
|
|
338
|
+
};
|
|
339
|
+
$slots: Readonly<{
|
|
340
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
341
|
+
}>;
|
|
342
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
343
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
344
|
+
$host: Element | null;
|
|
345
|
+
$emit: (event: "update:open", value: boolean) => void;
|
|
346
|
+
$el: any;
|
|
347
|
+
$options: import('vue').ComponentOptionsBase<Readonly<OnyxMenuItemProps> & Readonly<{
|
|
348
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
349
|
+
}>, {
|
|
350
|
+
iconArrowSmallLeft: typeof iconArrowSmallLeft;
|
|
351
|
+
iconChevronRightSmall: typeof iconChevronRightSmall;
|
|
352
|
+
mergeVueProps: typeof mergeVueProps;
|
|
353
|
+
extractLinkProps: typeof extractLinkProps;
|
|
354
|
+
ButtonOrLinkLayout: typeof ButtonOrLinkLayout;
|
|
355
|
+
OnyxExternalLinkIcon: typeof OnyxExternalLinkIcon;
|
|
356
|
+
OnyxIcon: typeof OnyxIcon;
|
|
357
|
+
OnyxListItem: typeof OnyxListItem;
|
|
358
|
+
t: typeof t;
|
|
359
|
+
rootAttrs: typeof rootAttrs;
|
|
360
|
+
restAttrs: typeof restAttrs;
|
|
361
|
+
open: typeof open;
|
|
362
|
+
listItem: typeof listItem;
|
|
363
|
+
isActive: typeof isActive;
|
|
364
|
+
menuItemProps: typeof menuItemProps;
|
|
365
|
+
hasChildren: typeof hasChildren;
|
|
366
|
+
childrenClickHandler: typeof childrenClickHandler;
|
|
367
|
+
handleBackButtonKeydown: typeof handleBackButtonKeydown;
|
|
368
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
369
|
+
"update:open": (value: boolean) => any;
|
|
370
|
+
}, string, {
|
|
371
|
+
open: boolean | null;
|
|
372
|
+
active: boolean | "auto";
|
|
373
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
374
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
375
|
+
created?: (() => void) | (() => void)[];
|
|
376
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
377
|
+
mounted?: (() => void) | (() => void)[];
|
|
378
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
379
|
+
updated?: (() => void) | (() => void)[];
|
|
380
|
+
activated?: (() => void) | (() => void)[];
|
|
381
|
+
deactivated?: (() => void) | (() => void)[];
|
|
382
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
383
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
384
|
+
destroyed?: (() => void) | (() => void)[];
|
|
385
|
+
unmounted?: (() => void) | (() => void)[];
|
|
386
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
387
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
388
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
389
|
+
};
|
|
390
|
+
$forceUpdate: () => void;
|
|
391
|
+
$nextTick: typeof nextTick;
|
|
392
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
393
|
+
} & Readonly<{
|
|
394
|
+
open: boolean | null;
|
|
395
|
+
active: boolean | "auto";
|
|
396
|
+
}> & Omit<Readonly<OnyxMenuItemProps> & Readonly<{
|
|
397
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
398
|
+
}>, "t" | "OnyxIcon" | "isActive" | "ButtonOrLinkLayout" | "mergeVueProps" | "listItem" | "OnyxExternalLinkIcon" | "OnyxListItem" | "rootAttrs" | "restAttrs" | "iconArrowSmallLeft" | "iconChevronRightSmall" | "extractLinkProps" | "menuItemProps" | "hasChildren" | "childrenClickHandler" | "handleBackButtonKeydown" | ("open" | "active")> & import('vue').ShallowUnwrapRef<{
|
|
399
|
+
iconArrowSmallLeft: typeof iconArrowSmallLeft;
|
|
400
|
+
iconChevronRightSmall: typeof iconChevronRightSmall;
|
|
401
|
+
mergeVueProps: typeof mergeVueProps;
|
|
402
|
+
extractLinkProps: typeof extractLinkProps;
|
|
403
|
+
ButtonOrLinkLayout: typeof ButtonOrLinkLayout;
|
|
404
|
+
OnyxExternalLinkIcon: typeof OnyxExternalLinkIcon;
|
|
405
|
+
OnyxIcon: typeof OnyxIcon;
|
|
406
|
+
OnyxListItem: typeof OnyxListItem;
|
|
407
|
+
t: typeof t;
|
|
408
|
+
rootAttrs: typeof rootAttrs;
|
|
409
|
+
restAttrs: typeof restAttrs;
|
|
410
|
+
open: typeof open;
|
|
411
|
+
listItem: typeof listItem;
|
|
412
|
+
isActive: typeof isActive;
|
|
413
|
+
menuItemProps: typeof menuItemProps;
|
|
414
|
+
hasChildren: typeof hasChildren;
|
|
415
|
+
childrenClickHandler: typeof childrenClickHandler;
|
|
416
|
+
handleBackButtonKeydown: typeof handleBackButtonKeydown;
|
|
417
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
418
|
+
$slots: typeof slots;
|
|
419
|
+
}) | null;
|
|
420
|
+
}, any>;
|
|
421
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
422
|
+
export default _default;
|
|
423
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
424
|
+
new (): {
|
|
425
|
+
$slots: S;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type OnyxMenuItemProps =
|
|
1
|
+
import { Nullable, OnyxColor } from '../../../../types/index.js';
|
|
2
|
+
import { WithLinkProp } from '../../../OnyxRouterLink/types.js';
|
|
3
|
+
export type OnyxMenuItemProps = WithLinkProp & {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* If the property is set the menuitem will act as an anchor, otherwise it will act as an button.
|
|
5
|
+
* If the children of the menu item are visible.
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
open?: Nullable<boolean>;
|
|
9
8
|
/**
|
|
10
|
-
*
|
|
11
|
-
* This is the case if the given link is currently opened.
|
|
9
|
+
* Label text for the menu item.
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
label?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the item is currently active.
|
|
14
|
+
* This is the case if the page of the given link is currently open.
|
|
15
|
+
* If "auto" and a [router](https://onyx.schwarz/development/router.html) is provided, the active state will be determined automatically based on the current route.
|
|
16
|
+
*/
|
|
17
|
+
active?: boolean | "auto";
|
|
14
18
|
/**
|
|
15
19
|
* Whether the menu item is disabled.
|
|
16
20
|
*/
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { OnyxNavItemProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* You can replace the label of the menuitem with your custom content.
|
|
7
|
+
*/
|
|
8
|
+
default?(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* OnyxNavItem Children can be nested here.
|
|
11
|
+
*/
|
|
12
|
+
children?(): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/**
|
|
15
|
+
* You can replace the label of the menuitem with your custom content.
|
|
16
|
+
*/
|
|
17
|
+
default?(): unknown;
|
|
18
|
+
/**
|
|
19
|
+
* OnyxNavItem Children can be nested here.
|
|
20
|
+
*/
|
|
21
|
+
children?(): unknown;
|
|
22
|
+
};
|
|
23
|
+
refs: {
|
|
24
|
+
componentRef: ({
|
|
25
|
+
$: import('vue').ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: {
|
|
28
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
29
|
+
readonly open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
30
|
+
readonly label?: string | undefined;
|
|
31
|
+
readonly active?: boolean | "auto" | undefined;
|
|
32
|
+
readonly disabled?: boolean | undefined;
|
|
33
|
+
readonly color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger"> | undefined;
|
|
34
|
+
readonly context: "mobile" | "list" | "navbar";
|
|
35
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
36
|
+
$attrs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
$refs: {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
$slots: Readonly<{
|
|
43
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
46
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
47
|
+
$host: Element | null;
|
|
48
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
49
|
+
$el: any;
|
|
50
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).WithLinkProp & {
|
|
51
|
+
open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
52
|
+
label?: string;
|
|
53
|
+
active?: boolean | "auto";
|
|
54
|
+
disabled?: boolean;
|
|
55
|
+
color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger">;
|
|
56
|
+
} & {
|
|
57
|
+
context: "mobile" | "list" | "navbar";
|
|
58
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
59
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
60
|
+
created?: (() => void) | (() => void)[];
|
|
61
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
62
|
+
mounted?: (() => void) | (() => void)[];
|
|
63
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
64
|
+
updated?: (() => void) | (() => void)[];
|
|
65
|
+
activated?: (() => void) | (() => void)[];
|
|
66
|
+
deactivated?: (() => void) | (() => void)[];
|
|
67
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
68
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
69
|
+
destroyed?: (() => void) | (() => void)[];
|
|
70
|
+
unmounted?: (() => void) | (() => void)[];
|
|
71
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
72
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
73
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
74
|
+
};
|
|
75
|
+
$forceUpdate: () => void;
|
|
76
|
+
$nextTick: typeof import('vue').nextTick;
|
|
77
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
78
|
+
} & Readonly<{}> & Omit<Readonly<import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).WithLinkProp & {
|
|
79
|
+
open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
80
|
+
label?: string;
|
|
81
|
+
active?: boolean | "auto";
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger">;
|
|
84
|
+
} & {
|
|
85
|
+
context: "mobile" | "list" | "navbar";
|
|
86
|
+
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
87
|
+
$slots: Readonly<{
|
|
88
|
+
default(): unknown;
|
|
89
|
+
children(): unknown;
|
|
90
|
+
}> & {
|
|
91
|
+
default(): unknown;
|
|
92
|
+
children(): unknown;
|
|
93
|
+
};
|
|
94
|
+
}) | null;
|
|
95
|
+
};
|
|
96
|
+
rootEl: any;
|
|
97
|
+
};
|
|
98
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
99
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxNavItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
100
|
+
"update:open": (value: boolean) => any;
|
|
101
|
+
}, string, import('vue').PublicProps, Readonly<OnyxNavItemProps> & Readonly<{
|
|
102
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
open: boolean | null;
|
|
105
|
+
active: boolean | "auto";
|
|
106
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
107
|
+
componentRef: ({
|
|
108
|
+
$: import('vue').ComponentInternalInstance;
|
|
109
|
+
$data: {};
|
|
110
|
+
$props: {
|
|
111
|
+
readonly link?: string | import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).SharedLinkProps | undefined;
|
|
112
|
+
readonly open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
113
|
+
readonly label?: string | undefined;
|
|
114
|
+
readonly active?: boolean | "auto" | undefined;
|
|
115
|
+
readonly disabled?: boolean | undefined;
|
|
116
|
+
readonly color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger"> | undefined;
|
|
117
|
+
readonly context: "mobile" | "list" | "navbar";
|
|
118
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
119
|
+
$attrs: {
|
|
120
|
+
[x: string]: unknown;
|
|
121
|
+
};
|
|
122
|
+
$refs: {
|
|
123
|
+
[x: string]: unknown;
|
|
124
|
+
};
|
|
125
|
+
$slots: Readonly<{
|
|
126
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
129
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
130
|
+
$host: Element | null;
|
|
131
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
132
|
+
$el: any;
|
|
133
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).WithLinkProp & {
|
|
134
|
+
open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
135
|
+
label?: string;
|
|
136
|
+
active?: boolean | "auto";
|
|
137
|
+
disabled?: boolean;
|
|
138
|
+
color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger">;
|
|
139
|
+
} & {
|
|
140
|
+
context: "mobile" | "list" | "navbar";
|
|
141
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
142
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
143
|
+
created?: (() => void) | (() => void)[];
|
|
144
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
145
|
+
mounted?: (() => void) | (() => void)[];
|
|
146
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
147
|
+
updated?: (() => void) | (() => void)[];
|
|
148
|
+
activated?: (() => void) | (() => void)[];
|
|
149
|
+
deactivated?: (() => void) | (() => void)[];
|
|
150
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
151
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
152
|
+
destroyed?: (() => void) | (() => void)[];
|
|
153
|
+
unmounted?: (() => void) | (() => void)[];
|
|
154
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
155
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
156
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
157
|
+
};
|
|
158
|
+
$forceUpdate: () => void;
|
|
159
|
+
$nextTick: typeof import('vue').nextTick;
|
|
160
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
161
|
+
} & Readonly<{}> & Omit<Readonly<import('../../../OnyxRouterLink/types.js', { with: { "resolution-mode": "import" } }).WithLinkProp & {
|
|
162
|
+
open?: import('../../../../index.js', { with: { "resolution-mode": "import" } }).Nullable<boolean>;
|
|
163
|
+
label?: string;
|
|
164
|
+
active?: boolean | "auto";
|
|
165
|
+
disabled?: boolean;
|
|
166
|
+
color?: Extract<import('../../../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "primary" | "danger">;
|
|
167
|
+
} & {
|
|
168
|
+
context: "mobile" | "list" | "navbar";
|
|
169
|
+
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
170
|
+
$slots: Readonly<{
|
|
171
|
+
default(): unknown;
|
|
172
|
+
children(): unknown;
|
|
173
|
+
}> & {
|
|
174
|
+
default(): unknown;
|
|
175
|
+
children(): unknown;
|
|
176
|
+
};
|
|
177
|
+
}) | null;
|
|
178
|
+
}, any>;
|
|
179
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
180
|
+
export default _default;
|
|
181
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
182
|
+
new (): {
|
|
183
|
+
$slots: S;
|
|
184
|
+
};
|
|
185
|
+
};
|