@memobit/libs 1.0.2 → 1.0.4
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/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2834
- package/dist/index.esm.js +1589 -1578
- package/dist/src/components/Accordion/Accordion.d.ts +17 -0
- package/dist/src/components/Accordion/index.d.ts +2 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +10 -0
- package/dist/src/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/components/AppHeader/AppHeader.d.ts +13 -0
- package/dist/src/components/AppHeader/index.d.ts +2 -0
- package/dist/src/components/Auth/ChangePasswordModal/ChangePasswordModal.d.ts +7 -0
- package/dist/src/components/Auth/ChangePasswordModal/index.d.ts +1 -0
- package/dist/src/components/Auth/Login/Login.d.ts +5 -0
- package/dist/src/components/Auth/Login/index.d.ts +1 -0
- package/dist/src/components/Auth/index.d.ts +3 -0
- package/dist/src/components/AvatarInitials/AvatarInitials.d.ts +11 -0
- package/dist/src/components/AvatarInitials/index.d.ts +1 -0
- package/dist/src/components/BMI/BMI.d.ts +12 -0
- package/dist/src/components/BMI/bmiUtils.d.ts +15 -0
- package/dist/src/components/BMI/index.d.ts +2 -0
- package/dist/src/components/Badge/Badge.d.ts +14 -0
- package/dist/src/components/Badge/index.d.ts +1 -0
- package/dist/src/components/Banner/Banner.d.ts +17 -0
- package/dist/src/components/Banner/index.d.ts +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +13 -0
- package/dist/src/components/Breadcrumb/index.d.ts +2 -0
- package/dist/src/components/BulkActionBar/BulkActionBar.d.ts +29 -0
- package/dist/src/components/BulkActionBar/index.d.ts +1 -0
- package/dist/src/components/Button/Button.d.ts +26 -0
- package/dist/src/components/Button/index.d.ts +1 -0
- package/dist/src/components/Calendar/Calendar.d.ts +25 -0
- package/dist/src/components/Calendar/index.d.ts +2 -0
- package/dist/src/components/CalendarHeatmap/CalendarHeatmap.d.ts +13 -0
- package/dist/src/components/CalendarHeatmap/index.d.ts +1 -0
- package/dist/src/components/Card/Card.d.ts +24 -0
- package/dist/src/components/Card/index.d.ts +2 -0
- package/dist/src/components/ChatBot/ChatBot.d.ts +5 -0
- package/dist/src/components/ChatBot/index.d.ts +1 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +13 -0
- package/dist/src/components/Checkbox/index.d.ts +1 -0
- package/dist/src/components/Chip/Chip.d.ts +17 -0
- package/dist/src/components/Chip/index.d.ts +1 -0
- package/dist/src/components/CollapsibleSection/CollapsibleSection.d.ts +23 -0
- package/dist/src/components/CollapsibleSection/index.d.ts +1 -0
- package/dist/src/components/ColorPicker/ColorPicker.d.ts +6 -0
- package/dist/src/components/ColorPicker/index.d.ts +1 -0
- package/dist/src/components/CommandPalette/CommandPalette.d.ts +18 -0
- package/dist/src/components/CommandPalette/index.d.ts +1 -0
- package/dist/src/components/Confetti/Confetti.d.ts +15 -0
- package/dist/src/components/Confetti/index.d.ts +2 -0
- package/dist/src/components/ConfirmDialog/ConfirmDialog.d.ts +12 -0
- package/dist/src/components/ConfirmDialog/index.d.ts +1 -0
- package/dist/src/components/ConfirmPopover/ConfirmPopover.d.ts +24 -0
- package/dist/src/components/ConfirmPopover/index.d.ts +1 -0
- package/dist/src/components/ContextMenu/ContextMenu.d.ts +9 -0
- package/dist/src/components/ContextMenu/index.d.ts +1 -0
- package/dist/src/components/ContextToast/ContextToast.d.ts +30 -0
- package/dist/src/components/ContextToast/index.d.ts +1 -0
- package/dist/src/components/ControlPanel/ControlPanel.d.ts +4 -0
- package/dist/src/components/ControlPanel/ControlPanel.types.d.ts +208 -0
- package/dist/src/components/ControlPanel/ControlPanelContext.d.ts +15 -0
- package/dist/src/components/ControlPanel/ControlPanelFilter.d.ts +8 -0
- package/dist/src/components/ControlPanel/ControlPanelNav.d.ts +7 -0
- package/dist/src/components/ControlPanel/ControlPanelOptions.d.ts +11 -0
- package/dist/src/components/ControlPanel/index.d.ts +2 -0
- package/dist/src/components/CopyButton/CopyButton.d.ts +20 -0
- package/dist/src/components/CopyButton/index.d.ts +1 -0
- package/dist/src/components/CountryWithFlag/CountryWithFlag.d.ts +9 -0
- package/dist/src/components/CountryWithFlag/index.d.ts +1 -0
- package/dist/src/components/DataView/DataView.CardView.d.ts +29 -0
- package/dist/src/components/DataView/DataView.MiniSort.d.ts +10 -0
- package/dist/src/components/DataView/DataView.d.ts +2 -0
- package/dist/src/components/DataView/DataView.types.d.ts +133 -0
- package/dist/src/components/DataView/index.d.ts +2 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +16 -0
- package/dist/src/components/DatePicker/index.d.ts +2 -0
- package/dist/src/components/DateRangePicker/DateRangePicker.d.ts +21 -0
- package/dist/src/components/DateRangePicker/index.d.ts +1 -0
- package/dist/src/components/DiffViewer/DiffViewer.d.ts +15 -0
- package/dist/src/components/DiffViewer/index.d.ts +2 -0
- package/dist/src/components/Drawer/Drawer.d.ts +45 -0
- package/dist/src/components/Drawer/index.d.ts +2 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +43 -0
- package/dist/src/components/Dropdown/index.d.ts +1 -0
- package/dist/src/components/EmojiPicker/EmojiPicker.d.ts +6 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/activities.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/animals.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/food.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/index.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/objects.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/people.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/smileys.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/symbols.d.ts +1 -0
- package/dist/src/components/EmojiPicker/emojiKeywords/travel.d.ts +1 -0
- package/dist/src/components/EmojiPicker/index.d.ts +1 -0
- package/dist/src/components/EmptyState/EmptyState.d.ts +13 -0
- package/dist/src/components/EmptyState/index.d.ts +1 -0
- package/dist/src/components/ErrorBoundary/ErrorBoundary.d.ts +30 -0
- package/dist/src/components/ErrorBoundary/index.d.ts +1 -0
- package/dist/src/components/FileDropzone/FileDropzone.d.ts +9 -0
- package/dist/src/components/FileDropzone/index.d.ts +1 -0
- package/dist/src/components/Flag/Flag.d.ts +8 -0
- package/dist/src/components/Flag/index.d.ts +1 -0
- package/dist/src/components/FloatButton/FloatButton.d.ts +12 -0
- package/dist/src/components/FloatButton/index.d.ts +2 -0
- package/dist/src/components/FolderBrowserModal/FolderBrowserModal.d.ts +26 -0
- package/dist/src/components/FolderBrowserModal/index.d.ts +2 -0
- package/dist/src/components/Icon/Icon.d.ts +18 -0
- package/dist/src/components/Icon/iconMap.d.ts +3 -0
- package/dist/src/components/Icon/iconNames.d.ts +1 -0
- package/dist/src/components/Icon/index.d.ts +2 -0
- package/dist/src/components/InfiniteScroll/InfiniteScroll.d.ts +23 -0
- package/dist/src/components/InfiniteScroll/index.d.ts +2 -0
- package/dist/src/components/InputDate/InputDate.d.ts +25 -0
- package/dist/src/components/InputDate/index.d.ts +1 -0
- package/dist/src/components/InputEmail/InputEmail.d.ts +26 -0
- package/dist/src/components/InputEmail/index.d.ts +2 -0
- package/dist/src/components/InputFile/InputFile.d.ts +18 -0
- package/dist/src/components/InputFile/index.d.ts +1 -0
- package/dist/src/components/InputMask/InputMask.d.ts +59 -0
- package/dist/src/components/InputMask/index.d.ts +1 -0
- package/dist/src/components/InputNumber/InputNumber.d.ts +23 -0
- package/dist/src/components/InputNumber/index.d.ts +1 -0
- package/dist/src/components/InputPassword/InputPassword.d.ts +23 -0
- package/dist/src/components/InputPassword/index.d.ts +1 -0
- package/dist/src/components/InputPhone/InputPhone.d.ts +21 -0
- package/dist/src/components/InputPhone/index.d.ts +1 -0
- package/dist/src/components/InputSearch/InputSearch.d.ts +19 -0
- package/dist/src/components/InputSearch/index.d.ts +2 -0
- package/dist/src/components/InputText/InputText.d.ts +23 -0
- package/dist/src/components/InputText/index.d.ts +1 -0
- package/dist/src/components/InputTextarea/InputTextarea.d.ts +23 -0
- package/dist/src/components/InputTextarea/index.d.ts +1 -0
- package/dist/src/components/InputTime/InputTime.d.ts +22 -0
- package/dist/src/components/InputTime/index.d.ts +1 -0
- package/dist/src/components/InputUrl/InputUrl.d.ts +24 -0
- package/dist/src/components/InputUrl/index.d.ts +1 -0
- package/dist/src/components/JourneyWizard/JourneyWizard.d.ts +23 -0
- package/dist/src/components/JourneyWizard/index.d.ts +1 -0
- package/dist/src/components/List/List.d.ts +16 -0
- package/dist/src/components/List/index.d.ts +1 -0
- package/dist/src/components/Loading/Loading.d.ts +2 -0
- package/dist/src/components/Loading/index.d.ts +1 -0
- package/dist/src/components/MenuHamburger/MenuHamburger.d.ts +19 -0
- package/dist/src/components/MenuHamburger/index.d.ts +2 -0
- package/dist/src/components/MiniSort/MiniSort.d.ts +23 -0
- package/dist/src/components/MiniSort/index.d.ts +2 -0
- package/dist/src/components/MiniStatsCard/MiniStatsCard.d.ts +34 -0
- package/dist/src/components/MiniStatsCard/index.d.ts +2 -0
- package/dist/src/components/Minimap/Minimap.d.ts +24 -0
- package/dist/src/components/Minimap/index.d.ts +2 -0
- package/dist/src/components/Modal/Modal.d.ts +20 -0
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/NavBar/NavBar.d.ts +22 -0
- package/dist/src/components/NavBar/index.d.ts +1 -0
- package/dist/src/components/NotificationPanel/NotificationPanel.d.ts +14 -0
- package/dist/src/components/NotificationPanel/index.d.ts +2 -0
- package/dist/src/components/Pagination/Pagination.d.ts +15 -0
- package/dist/src/components/Pagination/index.d.ts +1 -0
- package/dist/src/components/PieChart/PieChart.d.ts +19 -0
- package/dist/src/components/PieChart/index.d.ts +1 -0
- package/dist/src/components/Popover/Popover.d.ts +18 -0
- package/dist/src/components/Popover/hooks/Popover.hook.d.ts +11 -0
- package/dist/src/components/Popover/index.d.ts +2 -0
- package/dist/src/components/ProgressBar/ProgressBar.d.ts +20 -0
- package/dist/src/components/ProgressBar/index.d.ts +1 -0
- package/dist/src/components/ProgressRing/ProgressRing.d.ts +16 -0
- package/dist/src/components/ProgressRing/index.d.ts +1 -0
- package/dist/src/components/QuantitySelector/QuantitySelector.d.ts +17 -0
- package/dist/src/components/QuantitySelector/index.d.ts +1 -0
- package/dist/src/components/QuickAdd/QuickAdd.d.ts +14 -0
- package/dist/src/components/QuickAdd/index.d.ts +1 -0
- package/dist/src/components/QuickNumberUpdate/QuickNumberUpdate.d.ts +14 -0
- package/dist/src/components/QuickNumberUpdate/index.d.ts +1 -0
- package/dist/src/components/QuickOptionUpdate/QuickOptionUpdate.d.ts +16 -0
- package/dist/src/components/QuickOptionUpdate/index.d.ts +1 -0
- package/dist/src/components/Radio/Radio.d.ts +12 -0
- package/dist/src/components/Radio/index.d.ts +1 -0
- package/dist/src/components/Rating/Rating.d.ts +17 -0
- package/dist/src/components/Rating/RatingIcon.d.ts +12 -0
- package/dist/src/components/Rating/index.d.ts +1 -0
- package/dist/src/components/RichTextEditor/RichTextEditor.d.ts +16 -0
- package/dist/src/components/RichTextEditor/RteLinkPrompt.d.ts +12 -0
- package/dist/src/components/RichTextEditor/RteTableToolbar.d.ts +15 -0
- package/dist/src/components/RichTextEditor/RteToolbar.d.ts +14 -0
- package/dist/src/components/RichTextEditor/helpers.d.ts +17 -0
- package/dist/src/components/RichTextEditor/hooks/useEditorHistory.d.ts +6 -0
- package/dist/src/components/RichTextEditor/hooks/useLinkPrompt.d.ts +18 -0
- package/dist/src/components/RichTextEditor/hooks/useTableOps.d.ts +24 -0
- package/dist/src/components/RichTextEditor/index.d.ts +1 -0
- package/dist/src/components/ScrollToTop/ScrollToTop.d.ts +8 -0
- package/dist/src/components/ScrollToTop/index.d.ts +1 -0
- package/dist/src/components/Separator/Separator.d.ts +14 -0
- package/dist/src/components/Separator/index.d.ts +2 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +39 -0
- package/dist/src/components/Sidebar/SidebarContext.d.ts +15 -0
- package/dist/src/components/Sidebar/index.d.ts +2 -0
- package/dist/src/components/SignalStrength/SignalStrength.d.ts +13 -0
- package/dist/src/components/SignalStrength/index.d.ts +1 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/Slider/Slider.d.ts +25 -0
- package/dist/src/components/Slider/index.d.ts +1 -0
- package/dist/src/components/SplitPanel/SplitPanel.d.ts +20 -0
- package/dist/src/components/SplitPanel/index.d.ts +1 -0
- package/dist/src/components/StackedBar/StackedBar.d.ts +22 -0
- package/dist/src/components/StackedBar/index.d.ts +1 -0
- package/dist/src/components/Stats/Stats.d.ts +20 -0
- package/dist/src/components/Stats/index.d.ts +2 -0
- package/dist/src/components/StickyBar/StickyBar.d.ts +19 -0
- package/dist/src/components/StickyBar/index.d.ts +2 -0
- package/dist/src/components/SuggestionsList/SuggestionsList.d.ts +15 -0
- package/dist/src/components/SuggestionsList/index.d.ts +1 -0
- package/dist/src/components/ThemeSettings/ThemeContext.d.ts +10 -0
- package/dist/src/components/ThemeSettings/ThemeContextValue.d.ts +19 -0
- package/dist/src/components/ThemeSettings/ThemeSettings.d.ts +12 -0
- package/dist/src/components/ThemeSettings/index.d.ts +5 -0
- package/dist/src/components/ThemeSettings/themeConfig.d.ts +14 -0
- package/dist/src/components/ThemeSettings/useTheme.d.ts +2 -0
- package/dist/src/components/Timeline/Timeline.d.ts +28 -0
- package/dist/src/components/Timeline/index.d.ts +1 -0
- package/dist/src/components/TimelineMarkers/TimelineMarkers.d.ts +26 -0
- package/dist/src/components/TimelineMarkers/index.d.ts +1 -0
- package/dist/src/components/TipsOfTheDay/TipsOfTheDay.d.ts +6 -0
- package/dist/src/components/TipsOfTheDay/index.d.ts +1 -0
- package/dist/src/components/Toast/Toast.d.ts +19 -0
- package/dist/src/components/Toast/index.d.ts +1 -0
- package/dist/src/components/ToggleButtons/ToggleButtons.d.ts +19 -0
- package/dist/src/components/ToggleButtons/index.d.ts +1 -0
- package/dist/src/components/ToggleSwitch/ToggleSwitch.d.ts +14 -0
- package/dist/src/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/src/components/Toolbar/Toolbar.d.ts +70 -0
- package/dist/src/components/Toolbar/index.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +14 -0
- package/dist/src/components/Tooltip/index.d.ts +2 -0
- package/dist/src/components/TourHud/TourHud.d.ts +22 -0
- package/dist/src/components/TourHud/index.d.ts +2 -0
- package/dist/src/components/Tree/Tree.d.ts +28 -0
- package/dist/src/components/Tree/index.d.ts +1 -0
- package/dist/src/components/WHtR/WHtR.d.ts +10 -0
- package/dist/src/components/WHtR/index.d.ts +1 -0
- package/dist/src/contexts/AuthContext/AuthContext.d.ts +9 -0
- package/dist/src/contexts/AuthContext/index.d.ts +1 -0
- package/dist/src/helpers/AppPersistenceStorage.d.ts +12 -0
- package/dist/src/helpers/Datetime.d.ts +61 -0
- package/dist/src/helpers/Format.d.ts +3 -0
- package/dist/src/helpers/Highlight.d.ts +2 -0
- package/dist/src/helpers/HtmlContent.d.ts +24 -0
- package/dist/src/helpers/LogicalOperators.d.ts +2 -0
- package/dist/src/helpers/Numbers.d.ts +6 -0
- package/dist/src/helpers/Pagination.d.ts +1 -0
- package/dist/src/helpers/Search.d.ts +2 -0
- package/dist/src/helpers/Strings.d.ts +6 -0
- package/dist/src/helpers/Urls.d.ts +3 -0
- package/dist/src/helpers/VersionInfo.d.ts +18 -0
- package/dist/src/hooks/useAppPersistence.d.ts +13 -0
- package/dist/src/hooks/useAuth/index.d.ts +1 -0
- package/dist/src/hooks/useAuth/useAuth.d.ts +2 -0
- package/dist/src/hooks/useBodyScrollLock.d.ts +1 -0
- package/dist/src/hooks/useBreakpoint.d.ts +32 -0
- package/dist/src/hooks/useComponentEffect.d.ts +1 -0
- package/dist/src/icons/active.d.ts +1 -0
- package/dist/src/icons/afternoon.d.ts +1 -0
- package/dist/src/icons/ajax.d.ts +1 -0
- package/dist/src/icons/alarm.d.ts +1 -0
- package/dist/src/icons/analysis.d.ts +1 -0
- package/dist/src/icons/angular.d.ts +1 -0
- package/dist/src/icons/announcement.d.ts +1 -0
- package/dist/src/icons/anomaly.d.ts +1 -0
- package/dist/src/icons/ant.d.ts +1 -0
- package/dist/src/icons/antenna.d.ts +1 -0
- package/dist/src/icons/api.d.ts +1 -0
- package/dist/src/icons/appliances.d.ts +1 -0
- package/dist/src/icons/archive.d.ts +1 -0
- package/dist/src/icons/arrow-bidirectional-horizontal.d.ts +1 -0
- package/dist/src/icons/arrow-bidirectional-vertical.d.ts +1 -0
- package/dist/src/icons/arrow-down.d.ts +1 -0
- package/dist/src/icons/arrow-left.d.ts +1 -0
- package/dist/src/icons/arrow-right.d.ts +1 -0
- package/dist/src/icons/arrow-up.d.ts +1 -0
- package/dist/src/icons/atom.d.ts +1 -0
- package/dist/src/icons/avocado.d.ts +1 -0
- package/dist/src/icons/badge.d.ts +1 -0
- package/dist/src/icons/ball.d.ts +1 -0
- package/dist/src/icons/balloon.d.ts +1 -0
- package/dist/src/icons/banana.d.ts +1 -0
- package/dist/src/icons/bank.d.ts +1 -0
- package/dist/src/icons/bat.d.ts +1 -0
- package/dist/src/icons/bath.d.ts +1 -0
- package/dist/src/icons/battery-charging.d.ts +1 -0
- package/dist/src/icons/battery-empty.d.ts +1 -0
- package/dist/src/icons/battery-full.d.ts +1 -0
- package/dist/src/icons/battery-half.d.ts +1 -0
- package/dist/src/icons/beans.d.ts +1 -0
- package/dist/src/icons/bear.d.ts +1 -0
- package/dist/src/icons/bed.d.ts +1 -0
- package/dist/src/icons/bee.d.ts +1 -0
- package/dist/src/icons/beer.d.ts +1 -0
- package/dist/src/icons/bell.d.ts +1 -0
- package/dist/src/icons/benefit.d.ts +1 -0
- package/dist/src/icons/birthday-cake.d.ts +1 -0
- package/dist/src/icons/blood.d.ts +1 -0
- package/dist/src/icons/blueberries.d.ts +1 -0
- package/dist/src/icons/bones.d.ts +1 -0
- package/dist/src/icons/book.d.ts +1 -0
- package/dist/src/icons/bow.d.ts +1 -0
- package/dist/src/icons/brain.d.ts +1 -0
- package/dist/src/icons/bread.d.ts +1 -0
- package/dist/src/icons/breakfast.d.ts +1 -0
- package/dist/src/icons/briefcase.d.ts +1 -0
- package/dist/src/icons/brightness.d.ts +1 -0
- package/dist/src/icons/broken-heart.d.ts +1 -0
- package/dist/src/icons/broom.d.ts +1 -0
- package/dist/src/icons/bug.d.ts +1 -0
- package/dist/src/icons/building.d.ts +1 -0
- package/dist/src/icons/bullet.d.ts +1 -0
- package/dist/src/icons/bunny.d.ts +1 -0
- package/dist/src/icons/burst.d.ts +1 -0
- package/dist/src/icons/bus.d.ts +1 -0
- package/dist/src/icons/butterfly.d.ts +1 -0
- package/dist/src/icons/button-device.d.ts +1 -0
- package/dist/src/icons/cake.d.ts +1 -0
- package/dist/src/icons/calculator.d.ts +1 -0
- package/dist/src/icons/calendar-day.d.ts +1 -0
- package/dist/src/icons/calendar-month.d.ts +1 -0
- package/dist/src/icons/calendar-week.d.ts +1 -0
- package/dist/src/icons/calendar-year.d.ts +1 -0
- package/dist/src/icons/calendar.d.ts +1 -0
- package/dist/src/icons/calibrate.d.ts +1 -0
- package/dist/src/icons/camera.d.ts +1 -0
- package/dist/src/icons/candy.d.ts +1 -0
- package/dist/src/icons/car.d.ts +1 -0
- package/dist/src/icons/carbs.d.ts +1 -0
- package/dist/src/icons/caret-down.d.ts +1 -0
- package/dist/src/icons/caret-left.d.ts +1 -0
- package/dist/src/icons/caret-right.d.ts +1 -0
- package/dist/src/icons/caret-up.d.ts +1 -0
- package/dist/src/icons/carrot.d.ts +1 -0
- package/dist/src/icons/cat.d.ts +1 -0
- package/dist/src/icons/categories.d.ts +1 -0
- package/dist/src/icons/caterpillar.d.ts +1 -0
- package/dist/src/icons/cd-dvd.d.ts +1 -0
- package/dist/src/icons/certificate.d.ts +1 -0
- package/dist/src/icons/chart.d.ts +1 -0
- package/dist/src/icons/checkmark.d.ts +1 -0
- package/dist/src/icons/cheese.d.ts +1 -0
- package/dist/src/icons/cherries.d.ts +1 -0
- package/dist/src/icons/chestnut.d.ts +1 -0
- package/dist/src/icons/chicken.d.ts +1 -0
- package/dist/src/icons/chocolate.d.ts +1 -0
- package/dist/src/icons/christmas-tree.d.ts +1 -0
- package/dist/src/icons/cigarette.d.ts +1 -0
- package/dist/src/icons/clear.d.ts +1 -0
- package/dist/src/icons/clipboard.d.ts +1 -0
- package/dist/src/icons/cloud.d.ts +1 -0
- package/dist/src/icons/coffee.d.ts +1 -0
- package/dist/src/icons/comment.d.ts +1 -0
- package/dist/src/icons/compass.d.ts +1 -0
- package/dist/src/icons/confetti.d.ts +1 -0
- package/dist/src/icons/connected.d.ts +1 -0
- package/dist/src/icons/context.d.ts +1 -0
- package/dist/src/icons/cook.d.ts +1 -0
- package/dist/src/icons/cookies.d.ts +1 -0
- package/dist/src/icons/cooling.d.ts +1 -0
- package/dist/src/icons/corn.d.ts +1 -0
- package/dist/src/icons/correlation.d.ts +1 -0
- package/dist/src/icons/cow.d.ts +1 -0
- package/dist/src/icons/cpu.d.ts +1 -0
- package/dist/src/icons/credit-card.d.ts +1 -0
- package/dist/src/icons/crystal-globe.d.ts +1 -0
- package/dist/src/icons/cube.d.ts +1 -0
- package/dist/src/icons/cucumber.d.ts +1 -0
- package/dist/src/icons/dashboard.d.ts +1 -0
- package/dist/src/icons/death.d.ts +1 -0
- package/dist/src/icons/defect.d.ts +1 -0
- package/dist/src/icons/delete.d.ts +1 -0
- package/dist/src/icons/dental.d.ts +1 -0
- package/dist/src/icons/deselect-all.d.ts +1 -0
- package/dist/src/icons/dessert.d.ts +1 -0
- package/dist/src/icons/detach.d.ts +1 -0
- package/dist/src/icons/devices.d.ts +1 -0
- package/dist/src/icons/digestive.d.ts +1 -0
- package/dist/src/icons/dinner.d.ts +1 -0
- package/dist/src/icons/dinosaur.d.ts +1 -0
- package/dist/src/icons/dishwasher.d.ts +1 -0
- package/dist/src/icons/dns.d.ts +1 -0
- package/dist/src/icons/doctor.d.ts +1 -0
- package/dist/src/icons/document.d.ts +1 -0
- package/dist/src/icons/documents.d.ts +1 -0
- package/dist/src/icons/dog.d.ts +1 -0
- package/dist/src/icons/dolphin.d.ts +1 -0
- package/dist/src/icons/door.d.ts +1 -0
- package/dist/src/icons/dot.d.ts +1 -0
- package/dist/src/icons/download.d.ts +1 -0
- package/dist/src/icons/dragon.d.ts +1 -0
- package/dist/src/icons/drying-machine.d.ts +1 -0
- package/dist/src/icons/duck.d.ts +1 -0
- package/dist/src/icons/duplicates.d.ts +1 -0
- package/dist/src/icons/ears.d.ts +1 -0
- package/dist/src/icons/earth.d.ts +1 -0
- package/dist/src/icons/edit.d.ts +1 -0
- package/dist/src/icons/egg.d.ts +1 -0
- package/dist/src/icons/eggplant.d.ts +1 -0
- package/dist/src/icons/elephant.d.ts +1 -0
- package/dist/src/icons/empty.d.ts +1 -0
- package/dist/src/icons/endocrine.d.ts +1 -0
- package/dist/src/icons/enlarge.d.ts +1 -0
- package/dist/src/icons/equalizer.d.ts +1 -0
- package/dist/src/icons/evening.d.ts +1 -0
- package/dist/src/icons/expense.d.ts +1 -0
- package/dist/src/icons/export.d.ts +1 -0
- package/dist/src/icons/external-link.d.ts +1 -0
- package/dist/src/icons/fan.d.ts +1 -0
- package/dist/src/icons/favorite.d.ts +1 -0
- package/dist/src/icons/fibers.d.ts +1 -0
- package/dist/src/icons/file.d.ts +1 -0
- package/dist/src/icons/filetype-avi.d.ts +1 -0
- package/dist/src/icons/filetype-bat.d.ts +1 -0
- package/dist/src/icons/filetype-c.d.ts +1 -0
- package/dist/src/icons/filetype-css.d.ts +1 -0
- package/dist/src/icons/filetype-csv.d.ts +1 -0
- package/dist/src/icons/filetype-doc.d.ts +1 -0
- package/dist/src/icons/filetype-docx.d.ts +1 -0
- package/dist/src/icons/filetype-gif.d.ts +1 -0
- package/dist/src/icons/filetype-html.d.ts +1 -0
- package/dist/src/icons/filetype-ico.d.ts +1 -0
- package/dist/src/icons/filetype-ini.d.ts +1 -0
- package/dist/src/icons/filetype-javascript.d.ts +1 -0
- package/dist/src/icons/filetype-jpeg.d.ts +1 -0
- package/dist/src/icons/filetype-jpg.d.ts +1 -0
- package/dist/src/icons/filetype-json.d.ts +1 -0
- package/dist/src/icons/filetype-less.d.ts +1 -0
- package/dist/src/icons/filetype-mp3.d.ts +1 -0
- package/dist/src/icons/filetype-mp4.d.ts +1 -0
- package/dist/src/icons/filetype-mpg.d.ts +1 -0
- package/dist/src/icons/filetype-pdf.d.ts +1 -0
- package/dist/src/icons/filetype-php.d.ts +1 -0
- package/dist/src/icons/filetype-png.d.ts +1 -0
- package/dist/src/icons/filetype-ppt.d.ts +1 -0
- package/dist/src/icons/filetype-psd.d.ts +1 -0
- package/dist/src/icons/filetype-rar.d.ts +1 -0
- package/dist/src/icons/filetype-sass.d.ts +1 -0
- package/dist/src/icons/filetype-sql.d.ts +1 -0
- package/dist/src/icons/filetype-tiff.d.ts +1 -0
- package/dist/src/icons/filetype-txt.d.ts +1 -0
- package/dist/src/icons/filetype-typescript.d.ts +1 -0
- package/dist/src/icons/filetype-wav.d.ts +1 -0
- package/dist/src/icons/filetype-xls.d.ts +1 -0
- package/dist/src/icons/filetype-xlsx.d.ts +1 -0
- package/dist/src/icons/filetype-xml.d.ts +1 -0
- package/dist/src/icons/filetype-zip.d.ts +1 -0
- package/dist/src/icons/filters.d.ts +1 -0
- package/dist/src/icons/fire.d.ts +1 -0
- package/dist/src/icons/firewall.d.ts +1 -0
- package/dist/src/icons/fireworks.d.ts +1 -0
- package/dist/src/icons/fish.d.ts +1 -0
- package/dist/src/icons/fishing-rod.d.ts +1 -0
- package/dist/src/icons/fog.d.ts +1 -0
- package/dist/src/icons/folder-open.d.ts +1 -0
- package/dist/src/icons/folder.d.ts +1 -0
- package/dist/src/icons/fondue.d.ts +1 -0
- package/dist/src/icons/food.d.ts +1 -0
- package/dist/src/icons/french-fries.d.ts +1 -0
- package/dist/src/icons/fridge.d.ts +1 -0
- package/dist/src/icons/fruits.d.ts +1 -0
- package/dist/src/icons/gallery.d.ts +1 -0
- package/dist/src/icons/gas-detector.d.ts +1 -0
- package/dist/src/icons/gateway.d.ts +1 -0
- package/dist/src/icons/gauge-high.d.ts +1 -0
- package/dist/src/icons/gauge-low.d.ts +1 -0
- package/dist/src/icons/gauge-medium.d.ts +1 -0
- package/dist/src/icons/gift-box.d.ts +1 -0
- package/dist/src/icons/girl.d.ts +1 -0
- package/dist/src/icons/github.d.ts +1 -0
- package/dist/src/icons/glass.d.ts +1 -0
- package/dist/src/icons/gloves.d.ts +1 -0
- package/dist/src/icons/glycemic-index.d.ts +1 -0
- package/dist/src/icons/goat.d.ts +1 -0
- package/dist/src/icons/graduation.d.ts +1 -0
- package/dist/src/icons/grid.d.ts +1 -0
- package/dist/src/icons/group.d.ts +1 -0
- package/dist/src/icons/gun.d.ts +1 -0
- package/dist/src/icons/hammer.d.ts +1 -0
- package/dist/src/icons/handshake.d.ts +1 -0
- package/dist/src/icons/hd.d.ts +1 -0
- package/dist/src/icons/headphones.d.ts +1 -0
- package/dist/src/icons/heart.d.ts +1 -0
- package/dist/src/icons/heating.d.ts +1 -0
- package/dist/src/icons/help.d.ts +1 -0
- package/dist/src/icons/hiking.d.ts +1 -0
- package/dist/src/icons/history.d.ts +1 -0
- package/dist/src/icons/home.d.ts +1 -0
- package/dist/src/icons/hospital.d.ts +1 -0
- package/dist/src/icons/humidity.d.ts +1 -0
- package/dist/src/icons/ice-cream.d.ts +1 -0
- package/dist/src/icons/identity.d.ts +1 -0
- package/dist/src/icons/image.d.ts +1 -0
- package/dist/src/icons/import.d.ts +1 -0
- package/dist/src/icons/inactive.d.ts +1 -0
- package/dist/src/icons/incognito.d.ts +1 -0
- package/dist/src/icons/information.d.ts +1 -0
- package/dist/src/icons/ingredients.d.ts +1 -0
- package/dist/src/icons/ink-cartridge.d.ts +1 -0
- package/dist/src/icons/ir-emitter.d.ts +1 -0
- package/dist/src/icons/joystick.d.ts +1 -0
- package/dist/src/icons/jupiter.d.ts +1 -0
- package/dist/src/icons/key.d.ts +1 -0
- package/dist/src/icons/knife.d.ts +1 -0
- package/dist/src/icons/laboratory.d.ts +1 -0
- package/dist/src/icons/language.d.ts +1 -0
- package/dist/src/icons/lantern.d.ts +1 -0
- package/dist/src/icons/layers.d.ts +1 -0
- package/dist/src/icons/leaf.d.ts +1 -0
- package/dist/src/icons/lemon.d.ts +1 -0
- package/dist/src/icons/light-bulb.d.ts +1 -0
- package/dist/src/icons/light-switch.d.ts +1 -0
- package/dist/src/icons/lightning.d.ts +1 -0
- package/dist/src/icons/link.d.ts +1 -0
- package/dist/src/icons/linkedin.d.ts +1 -0
- package/dist/src/icons/lipids.d.ts +1 -0
- package/dist/src/icons/list.d.ts +1 -0
- package/dist/src/icons/liver.d.ts +1 -0
- package/dist/src/icons/location.d.ts +1 -0
- package/dist/src/icons/lock-open.d.ts +1 -0
- package/dist/src/icons/lock.d.ts +1 -0
- package/dist/src/icons/logout.d.ts +1 -0
- package/dist/src/icons/lollipop.d.ts +1 -0
- package/dist/src/icons/lunch.d.ts +1 -0
- package/dist/src/icons/lungs.d.ts +1 -0
- package/dist/src/icons/magnet.d.ts +1 -0
- package/dist/src/icons/mail.d.ts +1 -0
- package/dist/src/icons/manage.d.ts +1 -0
- package/dist/src/icons/map.d.ts +1 -0
- package/dist/src/icons/mapping.d.ts +1 -0
- package/dist/src/icons/mars.d.ts +1 -0
- package/dist/src/icons/meat.d.ts +1 -0
- package/dist/src/icons/melon.d.ts +1 -0
- package/dist/src/icons/memory.d.ts +1 -0
- package/dist/src/icons/mental.d.ts +1 -0
- package/dist/src/icons/menu-hamburger.d.ts +1 -0
- package/dist/src/icons/mercury.d.ts +1 -0
- package/dist/src/icons/microphone.d.ts +1 -0
- package/dist/src/icons/microscope.d.ts +1 -0
- package/dist/src/icons/microwave.d.ts +1 -0
- package/dist/src/icons/milk.d.ts +1 -0
- package/dist/src/icons/minimum.d.ts +1 -0
- package/dist/src/icons/minus.d.ts +1 -0
- package/dist/src/icons/money.d.ts +1 -0
- package/dist/src/icons/monitor.d.ts +1 -0
- package/dist/src/icons/monkey.d.ts +1 -0
- package/dist/src/icons/moon.d.ts +1 -0
- package/dist/src/icons/morning.d.ts +1 -0
- package/dist/src/icons/motion.d.ts +1 -0
- package/dist/src/icons/mouse.d.ts +1 -0
- package/dist/src/icons/movie.d.ts +1 -0
- package/dist/src/icons/mushroom.d.ts +1 -0
- package/dist/src/icons/musical-note.d.ts +1 -0
- package/dist/src/icons/mute.d.ts +1 -0
- package/dist/src/icons/nas.d.ts +1 -0
- package/dist/src/icons/neptune.d.ts +1 -0
- package/dist/src/icons/nervous.d.ts +1 -0
- package/dist/src/icons/network.d.ts +1 -0
- package/dist/src/icons/next.d.ts +1 -0
- package/dist/src/icons/night.d.ts +1 -0
- package/dist/src/icons/ninja.d.ts +1 -0
- package/dist/src/icons/noon.d.ts +1 -0
- package/dist/src/icons/nose.d.ts +1 -0
- package/dist/src/icons/not-found.d.ts +1 -0
- package/dist/src/icons/notes.d.ts +1 -0
- package/dist/src/icons/notice.d.ts +1 -0
- package/dist/src/icons/offline.d.ts +1 -0
- package/dist/src/icons/olives.d.ts +1 -0
- package/dist/src/icons/online.d.ts +1 -0
- package/dist/src/icons/optimization.d.ts +1 -0
- package/dist/src/icons/other.d.ts +1 -0
- package/dist/src/icons/outdoor.d.ts +1 -0
- package/dist/src/icons/ownership.d.ts +1 -0
- package/dist/src/icons/pause.d.ts +1 -0
- package/dist/src/icons/pawn.d.ts +1 -0
- package/dist/src/icons/peanut.d.ts +1 -0
- package/dist/src/icons/pear.d.ts +1 -0
- package/dist/src/icons/penguin.d.ts +1 -0
- package/dist/src/icons/pepper.d.ts +1 -0
- package/dist/src/icons/pharmacy.d.ts +1 -0
- package/dist/src/icons/phone.d.ts +1 -0
- package/dist/src/icons/pig.d.ts +1 -0
- package/dist/src/icons/pill.d.ts +1 -0
- package/dist/src/icons/pin.d.ts +1 -0
- package/dist/src/icons/pizza.d.ts +1 -0
- package/dist/src/icons/plane.d.ts +1 -0
- package/dist/src/icons/play.d.ts +1 -0
- package/dist/src/icons/plug.d.ts +1 -0
- package/dist/src/icons/plus.d.ts +1 -0
- package/dist/src/icons/pluto.d.ts +1 -0
- package/dist/src/icons/polenta.d.ts +1 -0
- package/dist/src/icons/police-man.d.ts +1 -0
- package/dist/src/icons/police.d.ts +1 -0
- package/dist/src/icons/popcorn.d.ts +1 -0
- package/dist/src/icons/portions.d.ts +1 -0
- package/dist/src/icons/potato.d.ts +1 -0
- package/dist/src/icons/power.d.ts +1 -0
- package/dist/src/icons/predictions.d.ts +1 -0
- package/dist/src/icons/prescription.d.ts +1 -0
- package/dist/src/icons/previous.d.ts +1 -0
- package/dist/src/icons/printer.d.ts +1 -0
- package/dist/src/icons/proteins.d.ts +1 -0
- package/dist/src/icons/pudding.d.ts +1 -0
- package/dist/src/icons/pumpkin.d.ts +1 -0
- package/dist/src/icons/purifier.d.ts +1 -0
- package/dist/src/icons/puzzle.d.ts +1 -0
- package/dist/src/icons/radio.d.ts +1 -0
- package/dist/src/icons/rain.d.ts +1 -0
- package/dist/src/icons/rainbow.d.ts +1 -0
- package/dist/src/icons/raspberry.d.ts +1 -0
- package/dist/src/icons/reading.d.ts +1 -0
- package/dist/src/icons/referral.d.ts +1 -0
- package/dist/src/icons/reload.d.ts +1 -0
- package/dist/src/icons/repeat.d.ts +1 -0
- package/dist/src/icons/report.d.ts +1 -0
- package/dist/src/icons/reproductive.d.ts +1 -0
- package/dist/src/icons/return.d.ts +1 -0
- package/dist/src/icons/rice.d.ts +1 -0
- package/dist/src/icons/robot.d.ts +1 -0
- package/dist/src/icons/rocket.d.ts +1 -0
- package/dist/src/icons/romania-flag.d.ts +1 -0
- package/dist/src/icons/rooms.d.ts +1 -0
- package/dist/src/icons/router.d.ts +1 -0
- package/dist/src/icons/ruler.d.ts +1 -0
- package/dist/src/icons/running.d.ts +1 -0
- package/dist/src/icons/salad.d.ts +1 -0
- package/dist/src/icons/salt.d.ts +1 -0
- package/dist/src/icons/santa.d.ts +1 -0
- package/dist/src/icons/satellite.d.ts +1 -0
- package/dist/src/icons/saturn.d.ts +1 -0
- package/dist/src/icons/save.d.ts +1 -0
- package/dist/src/icons/scales.d.ts +1 -0
- package/dist/src/icons/scan.d.ts +1 -0
- package/dist/src/icons/school.d.ts +1 -0
- package/dist/src/icons/scissors.d.ts +1 -0
- package/dist/src/icons/score.d.ts +1 -0
- package/dist/src/icons/scss.d.ts +1 -0
- package/dist/src/icons/sd.d.ts +1 -0
- package/dist/src/icons/search.d.ts +1 -0
- package/dist/src/icons/security.d.ts +1 -0
- package/dist/src/icons/seeds.d.ts +1 -0
- package/dist/src/icons/sequence.d.ts +1 -0
- package/dist/src/icons/settings.d.ts +1 -0
- package/dist/src/icons/shield.d.ts +1 -0
- package/dist/src/icons/ship.d.ts +1 -0
- package/dist/src/icons/shopping-cart.d.ts +1 -0
- package/dist/src/icons/shrink.d.ts +1 -0
- package/dist/src/icons/signal-full.d.ts +1 -0
- package/dist/src/icons/signal-low.d.ts +1 -0
- package/dist/src/icons/signal-medium.d.ts +1 -0
- package/dist/src/icons/skin.d.ts +1 -0
- package/dist/src/icons/skull.d.ts +1 -0
- package/dist/src/icons/smartphone.d.ts +1 -0
- package/dist/src/icons/smb.d.ts +1 -0
- package/dist/src/icons/smoke-detector.d.ts +1 -0
- package/dist/src/icons/snake.d.ts +1 -0
- package/dist/src/icons/snow.d.ts +1 -0
- package/dist/src/icons/snowman.d.ts +1 -0
- package/dist/src/icons/soft-drink.d.ts +1 -0
- package/dist/src/icons/soup.d.ts +1 -0
- package/dist/src/icons/sources.d.ts +1 -0
- package/dist/src/icons/sparkle.d.ts +1 -0
- package/dist/src/icons/speaker.d.ts +1 -0
- package/dist/src/icons/speedometer.d.ts +1 -0
- package/dist/src/icons/square.d.ts +1 -0
- package/dist/src/icons/ssl.d.ts +1 -0
- package/dist/src/icons/staple.d.ts +1 -0
- package/dist/src/icons/star.d.ts +1 -0
- package/dist/src/icons/status.d.ts +1 -0
- package/dist/src/icons/stethoscope.d.ts +1 -0
- package/dist/src/icons/stop-sign.d.ts +1 -0
- package/dist/src/icons/stop.d.ts +1 -0
- package/dist/src/icons/storm.d.ts +1 -0
- package/dist/src/icons/strawberry.d.ts +1 -0
- package/dist/src/icons/streaming.d.ts +1 -0
- package/dist/src/icons/strength.d.ts +1 -0
- package/dist/src/icons/sugar.d.ts +1 -0
- package/dist/src/icons/sun.d.ts +1 -0
- package/dist/src/icons/surgery.d.ts +1 -0
- package/dist/src/icons/synchronize.d.ts +1 -0
- package/dist/src/icons/table.d.ts +1 -0
- package/dist/src/icons/target.d.ts +1 -0
- package/dist/src/icons/taxi.d.ts +1 -0
- package/dist/src/icons/technical.d.ts +1 -0
- package/dist/src/icons/teeth.d.ts +1 -0
- package/dist/src/icons/telescope.d.ts +1 -0
- package/dist/src/icons/theater.d.ts +1 -0
- package/dist/src/icons/theme-picker.d.ts +1 -0
- package/dist/src/icons/thermometer.d.ts +1 -0
- package/dist/src/icons/threshold.d.ts +1 -0
- package/dist/src/icons/time.d.ts +1 -0
- package/dist/src/icons/toggle-off.d.ts +1 -0
- package/dist/src/icons/toggle-on.d.ts +1 -0
- package/dist/src/icons/tomato.d.ts +1 -0
- package/dist/src/icons/toolbox.d.ts +1 -0
- package/dist/src/icons/train.d.ts +1 -0
- package/dist/src/icons/transactions.d.ts +1 -0
- package/dist/src/icons/transport-box.d.ts +1 -0
- package/dist/src/icons/tree.d.ts +1 -0
- package/dist/src/icons/trend-down.d.ts +1 -0
- package/dist/src/icons/trend-up.d.ts +1 -0
- package/dist/src/icons/trip.d.ts +1 -0
- package/dist/src/icons/trophy.d.ts +1 -0
- package/dist/src/icons/turkey.d.ts +1 -0
- package/dist/src/icons/turtle.d.ts +1 -0
- package/dist/src/icons/tv.d.ts +1 -0
- package/dist/src/icons/unarchive.d.ts +1 -0
- package/dist/src/icons/unassociated.d.ts +1 -0
- package/dist/src/icons/ungroup.d.ts +1 -0
- package/dist/src/icons/unmute.d.ts +1 -0
- package/dist/src/icons/upload.d.ts +1 -0
- package/dist/src/icons/upnp.d.ts +1 -0
- package/dist/src/icons/uranus.d.ts +1 -0
- package/dist/src/icons/user.d.ts +1 -0
- package/dist/src/icons/users.d.ts +1 -0
- package/dist/src/icons/vacuum.d.ts +1 -0
- package/dist/src/icons/vegetables.d.ts +1 -0
- package/dist/src/icons/venus.d.ts +1 -0
- package/dist/src/icons/vertical-dots.d.ts +1 -0
- package/dist/src/icons/video.d.ts +1 -0
- package/dist/src/icons/view.d.ts +1 -0
- package/dist/src/icons/virus.d.ts +1 -0
- package/dist/src/icons/wait.d.ts +1 -0
- package/dist/src/icons/wan.d.ts +1 -0
- package/dist/src/icons/warning.d.ts +1 -0
- package/dist/src/icons/washing-machine.d.ts +1 -0
- package/dist/src/icons/water-leak.d.ts +1 -0
- package/dist/src/icons/web.d.ts +1 -0
- package/dist/src/icons/website-crawl.d.ts +1 -0
- package/dist/src/icons/wifi.d.ts +1 -0
- package/dist/src/icons/wind.d.ts +1 -0
- package/dist/src/icons/workout.d.ts +1 -0
- package/dist/src/icons/wrench.d.ts +1 -0
- package/dist/src/icons/yoga.d.ts +1 -0
- package/dist/src/icons/youtube.d.ts +1 -0
- package/dist/src/index.d.ts +123 -0
- package/dist/src/types/auth.types.d.ts +37 -0
- package/dist/src/validators/Vin.d.ts +5 -0
- package/dist/src/version.d.ts +5 -0
- package/dist/version.json +4 -4
- package/package.json +14 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ListItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface ListProps {
|
|
8
|
+
items: ListItem[];
|
|
9
|
+
direction?: 'vertical' | 'horizontal';
|
|
10
|
+
selectable?: boolean;
|
|
11
|
+
defaultSelectedId?: string | number;
|
|
12
|
+
onSelect?: (item: ListItem) => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const List: React.FC<ListProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { List } from './List';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Loading } from './Loading';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export interface MenuHamburgerItem {
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: IconName;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
separator?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface MenuHamburgerProps {
|
|
11
|
+
icon?: IconName;
|
|
12
|
+
isCompact?: boolean;
|
|
13
|
+
items: MenuHamburgerItem[];
|
|
14
|
+
label?: string;
|
|
15
|
+
showLabel?: boolean;
|
|
16
|
+
disableResponsive?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const MenuHamburger: FC<MenuHamburgerProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export type MiniSortDirection = 'asc' | 'desc';
|
|
4
|
+
export type MiniSortAlign = 'left' | 'center' | 'right';
|
|
5
|
+
export interface MiniSortItem {
|
|
6
|
+
value: string;
|
|
7
|
+
label?: React.ReactNode;
|
|
8
|
+
icon?: IconName;
|
|
9
|
+
/** Fixed direction for this item. Used only when `showDirectionToggle` is false. */
|
|
10
|
+
direction?: MiniSortDirection;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface MiniSortProps {
|
|
14
|
+
items: MiniSortItem[];
|
|
15
|
+
sortKey: string | null;
|
|
16
|
+
sortDirection: MiniSortDirection;
|
|
17
|
+
onSort: (value: string, direction: MiniSortDirection) => void;
|
|
18
|
+
align?: MiniSortAlign;
|
|
19
|
+
/** Render a trailing button that flips the active sort direction. */
|
|
20
|
+
showDirectionToggle?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const MiniSort: React.FC<MiniSortProps>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type MiniStatsCardVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
+
export type MiniStatsCardAlign = 'left' | 'center' | 'right';
|
|
4
|
+
export type MiniStatsCardLabelPosition = 'top' | 'bottom';
|
|
5
|
+
export type MiniStatsCardTrendVariant = 'success' | 'danger' | 'warning';
|
|
6
|
+
export interface MiniStatsCardProps {
|
|
7
|
+
/** The label/title of the stat */
|
|
8
|
+
label: string;
|
|
9
|
+
/** The main value to display */
|
|
10
|
+
value: string | number;
|
|
11
|
+
/** Optional unit text (e.g., "km", "kg", "min") */
|
|
12
|
+
unit?: string;
|
|
13
|
+
/** Color variant for the value */
|
|
14
|
+
variant?: MiniStatsCardVariant;
|
|
15
|
+
/** Content alignment */
|
|
16
|
+
align?: MiniStatsCardAlign;
|
|
17
|
+
/** Label position */
|
|
18
|
+
labelPosition?: MiniStatsCardLabelPosition;
|
|
19
|
+
/** Optional trend value (percentage by default) */
|
|
20
|
+
trend?: number;
|
|
21
|
+
/** Unit for the trend value (defaults to '%') */
|
|
22
|
+
trendUnit?: string;
|
|
23
|
+
/** Optional label displayed after the trend (overrides trendUnit) */
|
|
24
|
+
trendLabel?: string;
|
|
25
|
+
/** Color variant for the trend */
|
|
26
|
+
trendVariant?: MiniStatsCardTrendVariant;
|
|
27
|
+
/** Optional footer content */
|
|
28
|
+
footer?: React.ReactNode;
|
|
29
|
+
/** Tint the whole card with a soft background matching the variant. */
|
|
30
|
+
filled?: boolean;
|
|
31
|
+
/** Additional CSS class */
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const MiniStatsCard: React.FC<MiniStatsCardProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface MinimapBand {
|
|
3
|
+
/** Region start as a fraction of total width (0..1). */
|
|
4
|
+
start: number;
|
|
5
|
+
/** Region end as a fraction of total width (0..1). */
|
|
6
|
+
end: number;
|
|
7
|
+
color: string;
|
|
8
|
+
}
|
|
9
|
+
export interface MinimapProps {
|
|
10
|
+
/** Density value per bucket, ordered left to right. */
|
|
11
|
+
buckets: number[];
|
|
12
|
+
/** Visible window start as a fraction of total width (0..1). */
|
|
13
|
+
viewportStart: number;
|
|
14
|
+
/** Visible window end as a fraction of total width (0..1). */
|
|
15
|
+
viewportEnd: number;
|
|
16
|
+
/** Called with the desired window start fraction (0..1) when the user scrubs. */
|
|
17
|
+
onScrub: (startFraction: number) => void;
|
|
18
|
+
/** Optional colored regions drawn beneath the density bars. */
|
|
19
|
+
bands?: MinimapBand[];
|
|
20
|
+
/** Optional caption shown above the strip. */
|
|
21
|
+
caption?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const Minimap: React.FC<MinimapProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { ExternalButtonConfig } from '../Button';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
interface ModalProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
noPadding?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onOverlayClick?: (event: MouseEvent) => void;
|
|
11
|
+
primary?: ExternalButtonConfig;
|
|
12
|
+
secondary?: ExternalButtonConfig;
|
|
13
|
+
size?: 'small' | 'medium' | 'large' | 'auto';
|
|
14
|
+
tertiary?: ExternalButtonConfig;
|
|
15
|
+
title?: string;
|
|
16
|
+
titleIcon?: IconName;
|
|
17
|
+
usePortal?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const Modal: FC<ModalProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Modal } from './Modal';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export interface NavBarItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
icon?: IconName;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface NavBarProps {
|
|
12
|
+
items: NavBarItem[];
|
|
13
|
+
logo?: ReactNode;
|
|
14
|
+
actions?: ReactNode;
|
|
15
|
+
position?: 'fixed' | 'sticky' | 'static';
|
|
16
|
+
className?: string;
|
|
17
|
+
renderItem?: (item: NavBarItem) => ReactNode;
|
|
18
|
+
collapsible?: boolean;
|
|
19
|
+
noPadding?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const NavBar: React.FC<NavBarProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NavBar, type NavBarItem } from './NavBar';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface NotificationPanelItem {
|
|
3
|
+
id: string;
|
|
4
|
+
severity: 'critical' | 'warning';
|
|
5
|
+
message: string;
|
|
6
|
+
}
|
|
7
|
+
interface NotificationPanelProps {
|
|
8
|
+
items: NotificationPanelItem[];
|
|
9
|
+
buttonLabel?: string;
|
|
10
|
+
panelTitle?: string;
|
|
11
|
+
emptyMessage?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const NotificationPanel: FC<NotificationPanelProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface PaginationProps {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalPages: number;
|
|
5
|
+
totalItems?: number;
|
|
6
|
+
onPageChange: (page: number) => void;
|
|
7
|
+
showPagesNumbers?: boolean;
|
|
8
|
+
pageSizeOptions?: number[];
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
11
|
+
pageSizeLabel?: string;
|
|
12
|
+
horizontalAlign?: 'left' | 'center' | 'right';
|
|
13
|
+
}
|
|
14
|
+
export declare const Pagination: FC<PaginationProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pagination } from './Pagination';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type PieChartVariant = 'default' | 'warning' | 'danger' | 'info' | 'success' | 'random' | 'custom';
|
|
3
|
+
export type PieChartValuePosition = 'inside' | 'outside' | 'none';
|
|
4
|
+
export type PieChartSize = 'small' | 'medium' | 'large';
|
|
5
|
+
export interface PieChartDataPoint {
|
|
6
|
+
value: number;
|
|
7
|
+
variant?: PieChartVariant;
|
|
8
|
+
customColor?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface PieChartProps {
|
|
11
|
+
className?: string;
|
|
12
|
+
data?: PieChartDataPoint[];
|
|
13
|
+
emptyLabel?: React.ReactNode;
|
|
14
|
+
gap?: number;
|
|
15
|
+
size?: PieChartSize;
|
|
16
|
+
valueFormatter?: (value: number, slice: PieChartDataPoint, index: number) => React.ReactNode;
|
|
17
|
+
valuePosition?: PieChartValuePosition;
|
|
18
|
+
}
|
|
19
|
+
export declare const PieChart: React.FC<PieChartProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PieChart, type PieChartDataPoint, type PieChartProps, type PieChartSize, type PieChartValuePosition, type PieChartVariant } from './PieChart';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type Placement = 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
3
|
+
interface PopoverProps {
|
|
4
|
+
/** Popover content */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Whether the popover is visible */
|
|
7
|
+
visible: boolean;
|
|
8
|
+
/** Function to close the popover */
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
/** Reference to the trigger element */
|
|
11
|
+
anchorEl: HTMLElement | null;
|
|
12
|
+
/** Offset from the anchor element */
|
|
13
|
+
offset?: number;
|
|
14
|
+
/** Preferred placement of the popover (defaults to 'auto' which picks the best position) */
|
|
15
|
+
placement?: Placement;
|
|
16
|
+
}
|
|
17
|
+
export declare const Popover: FC<PopoverProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook pentru multiple popover-uri cu ID-uri
|
|
3
|
+
* Util când ai multe popover-uri și vrei să le controlezi individual
|
|
4
|
+
*/
|
|
5
|
+
export declare const usePopover: () => {
|
|
6
|
+
show: (id: string, element: HTMLElement | React.MouseEvent) => void;
|
|
7
|
+
hide: (id: string) => void;
|
|
8
|
+
toggle: (id: string, element: HTMLElement | React.MouseEvent) => void;
|
|
9
|
+
isVisible: (id: string) => boolean;
|
|
10
|
+
getAnchorEl: (id: string) => HTMLElement | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export type ProgressBarState = 'default' | 'danger' | 'success' | 'warning' | 'info';
|
|
3
|
+
export type ProgressBarOrientation = 'horizontal' | 'vertical';
|
|
4
|
+
export type ProgressBarLabelPosition = 'inside' | 'above' | 'below' | 'before' | 'after';
|
|
5
|
+
export type ProgressBarLabelAlign = 'left' | 'center' | 'right';
|
|
6
|
+
export interface ProgressBarProps {
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
height?: CSSProperties['height'];
|
|
9
|
+
label?: string;
|
|
10
|
+
labelAfterValue?: boolean;
|
|
11
|
+
labelAlign?: ProgressBarLabelAlign;
|
|
12
|
+
labelPosition?: ProgressBarLabelPosition;
|
|
13
|
+
orientation?: ProgressBarOrientation;
|
|
14
|
+
showPercentage?: boolean;
|
|
15
|
+
state?: ProgressBarState;
|
|
16
|
+
striped?: boolean;
|
|
17
|
+
thin?: boolean;
|
|
18
|
+
value: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const ProgressBar: ({ animated, height, label, labelAfterValue, labelAlign, labelPosition, orientation, showPercentage, state, striped, thin, value, }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressBar, type ProgressBarLabelAlign, type ProgressBarLabelPosition, type ProgressBarOrientation, type ProgressBarProps, type ProgressBarState, } from './ProgressBar';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ProgressRingState = 'default' | 'danger' | 'success' | 'warning' | 'info';
|
|
3
|
+
export type ProgressRingSize = 'small' | 'medium' | 'large' | number;
|
|
4
|
+
export interface ProgressRingProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
label?: React.ReactNode;
|
|
8
|
+
labelPosition?: 'inside' | 'below';
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
showPercentage?: boolean;
|
|
11
|
+
size?: ProgressRingSize;
|
|
12
|
+
state?: ProgressRingState;
|
|
13
|
+
thickness?: number;
|
|
14
|
+
value: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const ProgressRing: React.FC<ProgressRingProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressRing, type ProgressRingProps, type ProgressRingSize, type ProgressRingState } from './ProgressRing';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
export interface QuantitySelectorProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
error?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
inputWidth?: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
max?: number;
|
|
9
|
+
min?: number;
|
|
10
|
+
onChange?: (value: number | undefined) => void;
|
|
11
|
+
readOnlyInput?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
step?: number;
|
|
14
|
+
success?: string;
|
|
15
|
+
value?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const QuantitySelector: ForwardRefExoticComponent<QuantitySelectorProps & RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QuantitySelector, type QuantitySelectorProps } from './QuantitySelector';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
interface QuickAddProps {
|
|
4
|
+
isOpen?: boolean;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
title: string;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onSave: (value: string | undefined) => Promise<void> | void;
|
|
9
|
+
titleIcon?: IconName;
|
|
10
|
+
value?: string;
|
|
11
|
+
usePortal?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const QuickAdd: React.FC<QuickAddProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QuickAdd } from './QuickAdd';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
interface QuickNumberUpdateProps {
|
|
4
|
+
icon?: IconName;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
max?: number;
|
|
7
|
+
min?: number;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onSave: (value: number | undefined) => Promise<void> | void;
|
|
10
|
+
title: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const QuickNumberUpdate: FC<QuickNumberUpdateProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QuickNumberUpdate } from './QuickNumberUpdate';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
interface QuickOptionUpdateProps {
|
|
4
|
+
icon?: IconName;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
list: {
|
|
7
|
+
key: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onSave: (value: string | number) => Promise<void> | void;
|
|
12
|
+
title: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const QuickOptionUpdate: React.FC<QuickOptionUpdateProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QuickOptionUpdate } from './QuickOptionUpdate';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface RadioProps {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
onChange?: (value: string | number | boolean) => void;
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
id?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Radio: FC<RadioProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Radio, type RadioProps } from './Radio';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { RatingIconType, RatingVariant } from './RatingIcon';
|
|
3
|
+
interface RatingProps {
|
|
4
|
+
align?: 'left' | 'right' | 'space-between';
|
|
5
|
+
icon?: RatingIconType;
|
|
6
|
+
maxRate?: number;
|
|
7
|
+
onHover?: (value: number) => void;
|
|
8
|
+
onHoverEnd?: () => void;
|
|
9
|
+
onSelect?: (value: number) => void;
|
|
10
|
+
rating: number;
|
|
11
|
+
selectable?: boolean;
|
|
12
|
+
showValue?: boolean;
|
|
13
|
+
useHalf?: boolean;
|
|
14
|
+
variant?: RatingVariant;
|
|
15
|
+
}
|
|
16
|
+
export declare const Rating: FC<RatingProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export type RatingIconType = 'star' | 'bullet' | 'bar';
|
|
3
|
+
export type RatingVariant = 'success' | 'info' | 'warning' | 'danger';
|
|
4
|
+
export type RatingFilled = 'full' | 'half' | 'empty';
|
|
5
|
+
interface RatingIconProps {
|
|
6
|
+
type: RatingIconType;
|
|
7
|
+
filled: RatingFilled;
|
|
8
|
+
variant: RatingVariant;
|
|
9
|
+
size?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const RatingIcon: FC<RatingIconProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Rating } from './Rating';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FocusEvent } from 'react';
|
|
2
|
+
type OutputFormat = 'html' | 'markdown';
|
|
3
|
+
interface RichTextEditorProps {
|
|
4
|
+
advanced?: boolean;
|
|
5
|
+
error?: string;
|
|
6
|
+
format?: OutputFormat;
|
|
7
|
+
id?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
onBlur?: (event: FocusEvent<HTMLDivElement>) => void;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
value?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const RichTextEditor: ({ advanced, error, format, id, label, onBlur, onChange, placeholder, required, value, }: RichTextEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface RteLinkPromptProps {
|
|
3
|
+
isEditing: boolean;
|
|
4
|
+
linkText: string;
|
|
5
|
+
linkUrl: string;
|
|
6
|
+
setLinkText: (value: string) => void;
|
|
7
|
+
setLinkUrl: (value: string) => void;
|
|
8
|
+
confirmLink: () => void;
|
|
9
|
+
cancelLink: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const RteLinkPrompt: React.FC<RteLinkPromptProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React, RefObject } from 'react';
|
|
2
|
+
import { TableToolbarPos } from './hooks/useTableOps';
|
|
3
|
+
interface RteTableToolbarProps {
|
|
4
|
+
pos: TableToolbarPos;
|
|
5
|
+
toolbarRef: RefObject<HTMLDivElement | null>;
|
|
6
|
+
addRowAbove: () => void;
|
|
7
|
+
addRowBelow: () => void;
|
|
8
|
+
removeRow: () => void;
|
|
9
|
+
addColumnLeft: () => void;
|
|
10
|
+
addColumnRight: () => void;
|
|
11
|
+
removeColumn: () => void;
|
|
12
|
+
deleteTable: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const RteTableToolbar: React.FC<RteTableToolbarProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface RteToolbarProps {
|
|
3
|
+
advanced: boolean;
|
|
4
|
+
isActive: (command: string) => boolean;
|
|
5
|
+
exec: (command: string, value?: string) => void;
|
|
6
|
+
applyHeading: (level: number) => void;
|
|
7
|
+
insertTaskList: () => void;
|
|
8
|
+
openLinkPrompt: () => void;
|
|
9
|
+
insertTable: () => void;
|
|
10
|
+
undo: () => void;
|
|
11
|
+
redo: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const RteToolbar: React.FC<RteToolbarProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ToolbarButton {
|
|
2
|
+
command: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
title: string;
|
|
6
|
+
isAdvanced?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TOOLBAR_BUTTONS: ToolbarButton[];
|
|
9
|
+
export declare const HISTORY_BUTTONS: ToolbarButton[];
|
|
10
|
+
export declare const HEADING_LEVELS: number[];
|
|
11
|
+
export declare const ADVANCED_BUTTONS: ToolbarButton[];
|
|
12
|
+
/**
|
|
13
|
+
* Builds a new `<tr>` with `colCount` editable cells. Used when inserting
|
|
14
|
+
* rows into an existing `<table>` element from the RichTextEditor.
|
|
15
|
+
*/
|
|
16
|
+
export declare const makeTableRow: (colCount: number) => HTMLTableRowElement;
|
|
17
|
+
export declare const DEFAULT_TABLE_HTML = "\n <table class=\"rte-table\">\n <thead>\n <tr><th contenteditable=\"true\">Header 1</th><th contenteditable=\"true\">Header 2</th><th contenteditable=\"true\">Header 3</th></tr>\n </thead>\n <tbody>\n <tr><td contenteditable=\"true\">Cell</td><td contenteditable=\"true\">Cell</td><td contenteditable=\"true\">Cell</td></tr>\n <tr><td contenteditable=\"true\">Cell</td><td contenteditable=\"true\">Cell</td><td contenteditable=\"true\">Cell</td></tr>\n </tbody>\n </table><p><br></p>\n ";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
export declare const useEditorHistory: (editorRef: MutableRefObject<HTMLDivElement | null>, isInternalUpdate: MutableRefObject<boolean>, emitChange: () => void) => {
|
|
3
|
+
snapshotForUndo: () => void;
|
|
4
|
+
undo: () => void;
|
|
5
|
+
redo: () => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MutableRefObject, Dispatch, SetStateAction, RefObject } from 'react';
|
|
2
|
+
interface UseLinkPromptArgs {
|
|
3
|
+
editorRef: MutableRefObject<HTMLDivElement | null>;
|
|
4
|
+
snapshotForUndo: () => void;
|
|
5
|
+
emitChange: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const useLinkPrompt: ({ editorRef, snapshotForUndo, emitChange }: UseLinkPromptArgs) => {
|
|
8
|
+
showLinkPrompt: boolean;
|
|
9
|
+
linkUrl: string;
|
|
10
|
+
setLinkUrl: Dispatch<SetStateAction<string>>;
|
|
11
|
+
linkText: string;
|
|
12
|
+
setLinkText: Dispatch<SetStateAction<string>>;
|
|
13
|
+
editingAnchorRef: RefObject<HTMLAnchorElement | null>;
|
|
14
|
+
openLinkPrompt: (anchor?: HTMLAnchorElement) => void;
|
|
15
|
+
confirmLink: () => void;
|
|
16
|
+
cancelLink: () => void;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
interface UseTableOpsArgs {
|
|
3
|
+
editorRef: MutableRefObject<HTMLDivElement | null>;
|
|
4
|
+
snapshotForUndo: () => void;
|
|
5
|
+
emitChange: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface TableToolbarPos {
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const useTableOps: ({ editorRef, snapshotForUndo, emitChange }: UseTableOpsArgs) => {
|
|
12
|
+
activeTable: HTMLTableElement | null;
|
|
13
|
+
tableToolbarPos: TableToolbarPos | null;
|
|
14
|
+
showTableToolbar: (table: HTMLTableElement) => void;
|
|
15
|
+
hideTableToolbar: () => void;
|
|
16
|
+
addRowAbove: () => void;
|
|
17
|
+
addRowBelow: () => void;
|
|
18
|
+
removeRow: () => void;
|
|
19
|
+
addColumnLeft: () => void;
|
|
20
|
+
addColumnRight: () => void;
|
|
21
|
+
removeColumn: () => void;
|
|
22
|
+
deleteTable: () => void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RichTextEditor } from './RichTextEditor';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScrollToTop } from './ScrollToTop';
|