@memobit/libs 2.1.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.css +1 -0
- package/dist/components/Accordion/Accordion2.js +79 -0
- package/dist/components/AlertDialog/AlertDialog.css +1 -0
- package/dist/components/AlertDialog/AlertDialog2.js +26 -0
- package/dist/components/AnalogClock/AnalogClock.css +1 -0
- package/dist/components/AnalogClock/AnalogClock2.js +293 -0
- package/dist/components/AngleSlider/AngleSlider.css +1 -0
- package/dist/components/AngleSlider/AngleSlider2.js +135 -0
- package/dist/components/AppHeader/AppHeader.css +1 -0
- package/dist/components/AppHeader/AppHeader2.js +44 -0
- package/dist/components/Auth/ChangePasswordModal/ChangePasswordModal.css +1 -0
- package/dist/components/Auth/ChangePasswordModal/ChangePasswordModal2.js +138 -0
- package/dist/components/Auth/Login/Login.css +1 -0
- package/dist/components/Auth/Login/Login2.js +155 -0
- package/dist/components/Auth/MfaSetupModal/MfaSetupModal.css +1 -0
- package/dist/components/Auth/MfaSetupModal/MfaSetupModal2.js +327 -0
- package/dist/components/AvatarInitials/AvatarInitials.css +1 -0
- package/dist/components/AvatarInitials/AvatarInitials2.js +73 -0
- package/dist/components/BMI/BMI.css +1 -0
- package/dist/components/BMI/BMI2.js +53 -0
- package/dist/components/BMI/bmiUtils.js +265 -0
- package/dist/components/Badge/Badge.css +1 -0
- package/dist/components/Badge/Badge2.js +30 -0
- package/dist/components/Banner/Banner.css +1 -0
- package/dist/components/Banner/Banner2.js +57 -0
- package/dist/components/Blockquote/Blockquote.css +1 -0
- package/dist/components/Blockquote/Blockquote2.js +55 -0
- package/dist/components/Breadcrumb/Breadcrumb.css +1 -0
- package/dist/components/Breadcrumb/Breadcrumb2.js +36 -0
- package/dist/components/BulkActionBar/BulkActionBar.css +1 -0
- package/dist/components/BulkActionBar/BulkActionBar2.js +39 -0
- package/dist/components/Button/Button.css +1 -0
- package/dist/components/Button/Button2.js +32 -0
- package/dist/components/Calendar/Calendar.css +1 -0
- package/dist/components/Calendar/Calendar2.js +279 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap.css +1 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap2.js +91 -0
- package/dist/components/Card/Card.css +1 -0
- package/dist/components/Card/Card2.js +47 -0
- package/dist/components/Checkbox/Checkbox.css +1 -0
- package/dist/components/Checkbox/Checkbox2.js +35 -0
- package/dist/components/Chip/Chip.css +1 -0
- package/dist/components/Chip/Chip2.js +31 -0
- package/dist/components/CollapsibleSection/CollapsibleSection.css +1 -0
- package/dist/components/CollapsibleSection/CollapsibleSection2.js +68 -0
- package/dist/components/ColorPicker/ColorPicker.css +1 -0
- package/dist/components/ColorPicker/ColorPicker2.js +257 -0
- package/dist/components/CommandPalette/CommandPalette.css +1 -0
- package/dist/components/CommandPalette/CommandPalette2.js +97 -0
- package/dist/components/Confetti/Confetti.css +1 -0
- package/dist/components/Confetti/Confetti2.js +175 -0
- package/dist/components/ConfirmDialog/ConfirmDialog.css +1 -0
- package/dist/components/ConfirmDialog/ConfirmDialog2.js +37 -0
- package/dist/components/ConfirmPopover/ConfirmPopover.css +1 -0
- package/dist/components/ConfirmPopover/ConfirmPopover2.js +55 -0
- package/dist/components/ContextMenu/ContextMenu.css +1 -0
- package/dist/components/ContextMenu/ContextMenu2.js +53 -0
- package/dist/components/ContextToast/ContextToast.css +1 -0
- package/dist/components/ContextToast/ContextToast2.js +96 -0
- package/dist/components/ControlPanel/ControlPanel.css +1 -0
- package/dist/components/ControlPanel/ControlPanel.types.js +21 -0
- package/dist/components/ControlPanel/ControlPanel2.js +137 -0
- package/dist/components/ControlPanel/ControlPanelContext.js +31 -0
- package/dist/components/ControlPanel/ControlPanelFilter.js +386 -0
- package/dist/components/ControlPanel/ControlPanelNav.js +74 -0
- package/dist/components/ControlPanel/ControlPanelOptions.js +197 -0
- package/dist/components/CopyButton/CopyButton.css +1 -0
- package/dist/components/CopyButton/CopyButton2.js +48 -0
- package/dist/components/CountryWithFlag/CountryWithFlag.css +1 -0
- package/dist/components/CountryWithFlag/CountryWithFlag2.js +21 -0
- package/dist/components/DataView/DataView.CardView.js +189 -0
- package/dist/components/DataView/DataView.ColumnSelector.js +51 -0
- package/dist/components/DataView/DataView.MiniSort.js +25 -0
- package/dist/components/DataView/DataView.css +1 -0
- package/dist/components/DataView/DataView2.js +433 -0
- package/dist/components/DatePicker/DatePicker.css +1 -0
- package/dist/components/DatePicker/DatePicker2.js +151 -0
- package/dist/components/DateRangePicker/DateRangePicker.css +1 -0
- package/dist/components/DateRangePicker/DateRangePicker2.js +223 -0
- package/dist/components/DayAgenda/DayAgenda.css +1 -0
- package/dist/components/DayAgenda/DayAgenda2.js +120 -0
- package/dist/components/DiffViewer/DiffViewer.css +1 -0
- package/dist/components/DiffViewer/DiffViewer2.js +270 -0
- package/dist/components/Drawer/Drawer.css +1 -0
- package/dist/components/Drawer/Drawer2.js +119 -0
- package/dist/components/Dropdown/Dropdown.css +1 -0
- package/dist/components/Dropdown/Dropdown2.js +413 -0
- package/dist/components/EmojiPicker/EmojiPicker.css +1 -0
- package/dist/components/EmojiPicker/EmojiPicker2.js +789 -0
- package/dist/components/EmojiPicker/emojiKeywords/activities.js +508 -0
- package/dist/components/EmojiPicker/emojiKeywords/animals.js +501 -0
- package/dist/components/EmojiPicker/emojiKeywords/food.js +540 -0
- package/dist/components/EmojiPicker/emojiKeywords/index.js +21 -0
- package/dist/components/EmojiPicker/emojiKeywords/objects.js +652 -0
- package/dist/components/EmojiPicker/emojiKeywords/people.js +488 -0
- package/dist/components/EmojiPicker/emojiKeywords/smileys.js +538 -0
- package/dist/components/EmojiPicker/emojiKeywords/symbols.js +597 -0
- package/dist/components/EmojiPicker/emojiKeywords/travel.js +507 -0
- package/dist/components/EmptyState/EmptyState.css +1 -0
- package/dist/components/EmptyState/EmptyState2.js +47 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.css +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary2.js +37 -0
- package/dist/components/EventCalendar/EventCalendar.Chip.js +45 -0
- package/dist/components/EventCalendar/EventCalendar.Month.js +118 -0
- package/dist/components/EventCalendar/EventCalendar.Week.js +131 -0
- package/dist/components/EventCalendar/EventCalendar.css +1 -0
- package/dist/components/EventCalendar/EventCalendar.helpers.js +72 -0
- package/dist/components/EventCalendar/EventCalendar2.js +157 -0
- package/dist/components/FileDropzone/FileDropzone.css +1 -0
- package/dist/components/FileDropzone/FileDropzone2.js +71 -0
- package/dist/components/Flag/Flag.css +1 -0
- package/dist/components/Flag/Flag2.js +36 -0
- package/dist/components/FloatButton/FloatButton.css +1 -0
- package/dist/components/FloatButton/FloatButton2.js +68 -0
- package/dist/components/FloatingWindow/FloatingWindow.css +1 -0
- package/dist/components/FloatingWindow/FloatingWindow2.js +203 -0
- package/dist/components/FolderBrowserModal/FolderBrowserModal.css +1 -0
- package/dist/components/FolderBrowserModal/FolderBrowserModal2.js +144 -0
- package/dist/components/Grid/Col.js +17 -0
- package/dist/components/Grid/Grid.css +1 -0
- package/dist/components/Grid/Grid2.js +28 -0
- package/dist/components/Icon/Icon.css +1 -0
- package/dist/components/Icon/Icon2.js +23 -0
- package/dist/components/IconPicker/IconPicker.css +1 -0
- package/dist/components/IconPicker/IconPicker2.js +51 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.css +1 -0
- package/dist/components/InfiniteScroll/InfiniteScroll2.js +66 -0
- package/dist/components/InputDate/InputDate.css +1 -0
- package/dist/components/InputDate/InputDate2.js +87 -0
- package/dist/components/InputEmail/InputEmail.css +1 -0
- package/dist/components/InputEmail/InputEmail2.js +73 -0
- package/dist/components/InputFile/InputFile.css +1 -0
- package/dist/components/InputFile/InputFile2.js +41 -0
- package/dist/components/InputMask/InputMask.css +1 -0
- package/dist/components/InputMask/InputMask2.js +163 -0
- package/dist/components/InputNumber/InputNumber.css +1 -0
- package/dist/components/InputNumber/InputNumber2.js +60 -0
- package/dist/components/InputPIN/InputPIN.css +1 -0
- package/dist/components/InputPIN/InputPIN2.js +121 -0
- package/dist/components/InputPassword/InputPassword.css +1 -0
- package/dist/components/InputPassword/InputPassword2.js +47 -0
- package/dist/components/InputPhone/InputPhone.css +1 -0
- package/dist/components/InputPhone/InputPhone2.js +82 -0
- package/dist/components/InputSearch/InputSearch.css +1 -0
- package/dist/components/InputSearch/InputSearch2.js +53 -0
- package/dist/components/InputText/InputText.css +1 -0
- package/dist/components/InputText/InputText2.js +47 -0
- package/dist/components/InputTextarea/InputTextarea.css +1 -0
- package/dist/components/InputTextarea/InputTextarea2.js +46 -0
- package/dist/components/InputTime/InputTime.css +1 -0
- package/dist/components/InputTime/InputTime2.js +85 -0
- package/dist/components/InputUrl/InputUrl.css +1 -0
- package/dist/components/InputUrl/InputUrl2.js +65 -0
- package/dist/components/JourneyWizard/JourneyWizard.css +1 -0
- package/dist/components/JourneyWizard/JourneyWizard2.js +147 -0
- package/dist/components/List/List.css +1 -0
- package/dist/components/List/List2.js +28 -0
- package/dist/components/Loading/Loading.css +1 -0
- package/dist/components/Loading/Loading2.js +11 -0
- package/dist/components/MenuHamburger/MenuHamburger.css +1 -0
- package/dist/components/MenuHamburger/MenuHamburger2.js +65 -0
- package/dist/components/MiniSort/MiniSort.css +1 -0
- package/dist/components/MiniSort/MiniSort2.js +52 -0
- package/dist/components/MiniStatsCard/MiniStatsCard.css +1 -0
- package/dist/components/MiniStatsCard/MiniStatsCard2.js +67 -0
- package/dist/components/Minimap/Minimap.css +1 -0
- package/dist/components/Minimap/Minimap2.js +62 -0
- package/dist/components/Modal/Modal.css +1 -0
- package/dist/components/Modal/Modal2.js +87 -0
- package/dist/components/NavBar/NavBar.css +1 -0
- package/dist/components/NavBar/NavBar2.js +64 -0
- package/dist/components/NotificationPanel/NotificationPanel.css +1 -0
- package/dist/components/NotificationPanel/NotificationPanel2.js +66 -0
- package/dist/components/Pagination/Pagination.css +1 -0
- package/dist/components/Pagination/Pagination2.js +92 -0
- package/dist/components/PieChart/PieChart.css +1 -0
- package/dist/components/PieChart/PieChart2.js +142 -0
- package/dist/components/Popover/Popover.css +1 -0
- package/dist/components/Popover/Popover2.js +109 -0
- package/dist/components/Popover/hooks/Popover.hook.js +33 -0
- package/dist/components/ProgressBar/ProgressBar.css +1 -0
- package/dist/components/ProgressBar/ProgressBar2.js +48 -0
- package/dist/components/ProgressRing/ProgressRing.css +1 -0
- package/dist/components/ProgressRing/ProgressRing2.js +54 -0
- package/dist/components/QuantitySelector/QuantitySelector.css +1 -0
- package/dist/components/QuantitySelector/QuantitySelector2.js +94 -0
- package/dist/components/QuickAdd/QuickAdd.css +1 -0
- package/dist/components/QuickAdd/QuickAdd2.js +56 -0
- package/dist/components/QuickNumberUpdate/QuickNumberUpdate.css +1 -0
- package/dist/components/QuickNumberUpdate/QuickNumberUpdate2.js +52 -0
- package/dist/components/QuickOptionUpdate/QuickOptionUpdate.css +1 -0
- package/dist/components/QuickOptionUpdate/QuickOptionUpdate2.js +67 -0
- package/dist/components/Radio/Radio.css +1 -0
- package/dist/components/Radio/Radio2.js +36 -0
- package/dist/components/RangeSlider/RangeSlider.css +1 -0
- package/dist/components/RangeSlider/RangeSlider2.js +157 -0
- package/dist/components/Rating/Rating.css +1 -0
- package/dist/components/Rating/Rating2.js +148 -0
- package/dist/components/Rating/RatingIcon.js +102 -0
- package/dist/components/RichTextEditor/RichTextEditor.css +1 -0
- package/dist/components/RichTextEditor/RichTextEditor2.js +212 -0
- package/dist/components/RichTextEditor/RteLinkPrompt.js +42 -0
- package/dist/components/RichTextEditor/RteTableToolbar.js +95 -0
- package/dist/components/RichTextEditor/RteToolbar.js +106 -0
- package/dist/components/RichTextEditor/helpers.js +73 -0
- package/dist/components/RichTextEditor/hooks/useEditorHistory.js +39 -0
- package/dist/components/RichTextEditor/hooks/useLinkPrompt.js +61 -0
- package/dist/components/RichTextEditor/hooks/useTableOps.js +134 -0
- package/dist/components/RollingNumber/RollingNumber.css +1 -0
- package/dist/components/RollingNumber/RollingNumber2.js +71 -0
- package/dist/components/ScrollToTop/ScrollToTop.css +1 -0
- package/dist/components/ScrollToTop/ScrollToTop2.js +40 -0
- package/dist/components/Separator/Separator.css +1 -0
- package/dist/components/Separator/Separator2.js +39 -0
- package/dist/components/Sidebar/Sidebar.css +1 -0
- package/dist/components/Sidebar/Sidebar2.js +115 -0
- package/dist/components/Sidebar/SidebarContext.js +31 -0
- package/dist/components/SignalStrength/SignalStrength.css +1 -0
- package/dist/components/SignalStrength/SignalStrength2.js +56 -0
- package/dist/components/Skeleton/Skeleton.css +1 -0
- package/dist/components/Skeleton/Skeleton2.js +50 -0
- package/dist/components/Slider/Slider.css +1 -0
- package/dist/components/Slider/Slider2.js +39 -0
- package/dist/components/SplitPanel/SplitPanel.css +1 -0
- package/dist/components/SplitPanel/SplitPanel2.js +69 -0
- package/dist/components/Splitter/Splitter.css +1 -0
- package/dist/components/Splitter/Splitter2.js +89 -0
- package/dist/components/StackedBar/StackedBar.css +1 -0
- package/dist/components/StackedBar/StackedBar2.js +50 -0
- package/dist/components/Stats/Stats.css +1 -0
- package/dist/components/Stats/Stats2.js +26 -0
- package/dist/components/StickyBar/StickyBar.css +1 -0
- package/dist/components/StickyBar/StickyBar2.js +29 -0
- package/dist/components/SuggestionsList/SuggestionsList.css +1 -0
- package/dist/components/SuggestionsList/SuggestionsList2.js +121 -0
- package/dist/components/ThemeSettings/ThemeContext.js +138 -0
- package/dist/components/ThemeSettings/ThemeContextValue.js +5 -0
- package/dist/components/ThemeSettings/ThemeSettings.css +1 -0
- package/dist/components/ThemeSettings/ThemeSettings2.js +245 -0
- package/dist/components/ThemeSettings/themeConfig.js +7 -0
- package/dist/components/ThemeSettings/useTheme.js +10 -0
- package/dist/components/TimePicker/TimePicker.css +1 -0
- package/dist/components/TimePicker/TimePicker2.js +118 -0
- package/dist/components/TimePicker/TimeSpinner.js +59 -0
- package/dist/components/Timeline/Timeline.css +1 -0
- package/dist/components/Timeline/Timeline2.js +57 -0
- package/dist/components/TimelineMarkers/TimelineMarkers.css +1 -0
- package/dist/components/TimelineMarkers/TimelineMarkers2.js +73 -0
- package/dist/components/TipsOfTheDay/TipsOfTheDay.css +1 -0
- package/dist/components/TipsOfTheDay/TipsOfTheDay2.js +24 -0
- package/dist/components/Toast/Toast.css +1 -0
- package/dist/components/Toast/Toast2.js +39 -0
- package/dist/components/ToggleButtons/ToggleButtons.css +1 -0
- package/dist/components/ToggleButtons/ToggleButtons2.js +47 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.css +1 -0
- package/dist/components/ToggleSwitch/ToggleSwitch2.js +27 -0
- package/dist/components/Toolbar/Toolbar.css +1 -0
- package/dist/components/Toolbar/Toolbar2.js +129 -0
- package/dist/components/Tooltip/Tooltip.css +1 -0
- package/dist/components/Tooltip/Tooltip2.js +93 -0
- package/dist/components/TourHud/TourHud.css +1 -0
- package/dist/components/TourHud/TourHud2.js +70 -0
- package/dist/components/Transition/Transition.css +1 -0
- package/dist/components/Transition/Transition2.js +68 -0
- package/dist/components/Tree/Tree.css +1 -0
- package/dist/components/Tree/Tree2.js +95 -0
- package/dist/components/VirtualList/VirtualList.css +1 -0
- package/dist/components/VirtualList/VirtualList2.js +64 -0
- package/dist/components/WHtR/WHtR.css +1 -0
- package/dist/components/WHtR/WHtR2.js +115 -0
- package/dist/contexts/AuthContext/AuthContext.js +113 -0
- package/dist/helpers/AppPersistenceStorage.js +50 -0
- package/dist/helpers/Datetime.js +114 -0
- package/dist/helpers/Format.js +21 -0
- package/dist/helpers/Highlight.js +36 -0
- package/dist/helpers/HtmlContent.js +118 -0
- package/dist/helpers/LogicalOperators.js +15 -0
- package/dist/helpers/Numbers.js +15 -0
- package/dist/helpers/Pagination.js +7 -0
- package/dist/helpers/Search.js +15 -0
- package/dist/helpers/Strings.js +10 -0
- package/dist/helpers/Urls.js +68 -0
- package/dist/helpers/VersionInfo.js +36 -0
- package/dist/hooks/useAppPersistence.js +51 -0
- package/dist/hooks/useAuth/useAuth.js +10 -0
- package/dist/hooks/useBodyScrollLock.js +31 -0
- package/dist/hooks/useBreakpoint.js +65 -0
- package/dist/hooks/useComponentEffect.js +8 -0
- package/dist/hooks/useSwipe.js +45 -0
- package/dist/index.css +1 -2
- package/dist/index.d.ts +6 -10
- package/dist/index.esm.js +1 -17738
- package/dist/index.js +348 -0
- package/dist/mfa.js +4 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js +979 -0
- package/dist/validators/Vin.js +69 -0
- package/dist/version.js +8 -0
- package/dist/version.json +4 -4
- package/package.json +11 -75
- package/dist/mfa.esm.js +0 -1293
- package/dist/styles/themes.scss +0 -74
- package/dist/styles/theming/_profile-theme.scss +0 -317
- package/dist/styles/theming/amber-meridian.scss +0 -271
- package/dist/styles/theming/archive-indigo.scss +0 -270
- package/dist/styles/theming/arctic-blue.scss +0 -266
- package/dist/styles/theming/asphalt-code.scss +0 -271
- package/dist/styles/theming/atelier-media.scss +0 -272
- package/dist/styles/theming/audit-ember.scss +0 -286
- package/dist/styles/theming/azure-night.scss +0 -269
- package/dist/styles/theming/blossom-meadow.scss +0 -273
- package/dist/styles/theming/blueprint-clay.scss +0 -271
- package/dist/styles/theming/blush-market.scss +0 -271
- package/dist/styles/theming/brass-chronicle.scss +0 -271
- package/dist/styles/theming/carbon-velocity.scss +0 -270
- package/dist/styles/theming/chalk-circuit.scss +0 -271
- package/dist/styles/theming/chrono-atlas.scss +0 -279
- package/dist/styles/theming/citrus-vital.scss +0 -34
- package/dist/styles/theming/clinical-aqua.scss +0 -270
- package/dist/styles/theming/cobalt-pulse.scss +0 -272
- package/dist/styles/theming/command-slate.scss +0 -34
- package/dist/styles/theming/crawler-dusk.scss +0 -270
- package/dist/styles/theming/crimson-dusk.scss +0 -269
- package/dist/styles/theming/cyber-forest.scss +0 -269
- package/dist/styles/theming/dashdarkx.scss +0 -269
- package/dist/styles/theming/ember-night.scss +0 -269
- package/dist/styles/theming/emerald-ledger.scss +0 -271
- package/dist/styles/theming/frost-petal.scss +0 -269
- package/dist/styles/theming/garden-harvest.scss +0 -271
- package/dist/styles/theming/gilded-bear.scss +0 -271
- package/dist/styles/theming/graphite-shell.scss +0 -270
- package/dist/styles/theming/horizon-amber.scss +0 -270
- package/dist/styles/theming/horizon-drift.scss +0 -271
- package/dist/styles/theming/ivory-serif.scss +0 -271
- package/dist/styles/theming/lavender-mist.scss +0 -269
- package/dist/styles/theming/light-blue.scss +0 -269
- package/dist/styles/theming/lumen.scss +0 -276
- package/dist/styles/theming/luna.scss +0 -269
- package/dist/styles/theming/mesh-circuit.scss +0 -271
- package/dist/styles/theming/midnight-amber.scss +0 -273
- package/dist/styles/theming/midnight-atlas.scss +0 -35
- package/dist/styles/theming/midnight-folio.scss +0 -34
- package/dist/styles/theming/mint-meadow.scss +0 -269
- package/dist/styles/theming/mintone.scss +0 -269
- package/dist/styles/theming/neon-tokyo.scss +0 -269
- package/dist/styles/theming/noir-marquee.scss +0 -34
- package/dist/styles/theming/ocean-breeze.scss +0 -269
- package/dist/styles/theming/ocean-depths.scss +0 -269
- package/dist/styles/theming/orbital-night.scss +0 -276
- package/dist/styles/theming/sandstone.scss +0 -269
- package/dist/styles/theming/sandy-parchment.scss +0 -270
- package/dist/styles/theming/screening-room.scss +0 -34
- package/dist/styles/theming/signal-burst.scss +0 -271
- package/dist/styles/theming/signal-clarity.scss +0 -34
- package/dist/styles/theming/slate-bazaar.scss +0 -34
- package/dist/styles/theming/slate-focus.scss +0 -270
- package/dist/styles/theming/spectrum-vault.scss +0 -271
- package/dist/styles/theming/tailwind-vue-dark.scss +0 -269
- package/dist/styles/theming/terminal-phosphor.scss +0 -272
- package/dist/styles/theming/terracotta-kitchen.scss +0 -271
- package/dist/styles/theming/twilight-pulse.scss +0 -269
- package/dist/styles/theming/vault-guard.scss +0 -271
- package/dist/styles/theming/velvet-reel.scss +0 -272
- package/dist/styles/theming/velvet-tome.scss +0 -271
- package/dist/styles/theming/verdant-pulse.scss +0 -34
- package/dist/styles/theming/vital-aurora.scss +0 -45
- package/dist/styles/theming/vital-signal.scss +0 -270
- package/dist/useAuth-BBqdDG2z.js +0 -467
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
var e = {
|
|
2
|
+
"🚗": [
|
|
3
|
+
"car",
|
|
4
|
+
"automobile",
|
|
5
|
+
"vehicle",
|
|
6
|
+
"drive",
|
|
7
|
+
"red"
|
|
8
|
+
],
|
|
9
|
+
"🚕": [
|
|
10
|
+
"taxi",
|
|
11
|
+
"cab",
|
|
12
|
+
"car",
|
|
13
|
+
"vehicle",
|
|
14
|
+
"yellow"
|
|
15
|
+
],
|
|
16
|
+
"🚙": [
|
|
17
|
+
"suv",
|
|
18
|
+
"car",
|
|
19
|
+
"vehicle",
|
|
20
|
+
"drive",
|
|
21
|
+
"blue"
|
|
22
|
+
],
|
|
23
|
+
"🚌": [
|
|
24
|
+
"bus",
|
|
25
|
+
"public",
|
|
26
|
+
"transport",
|
|
27
|
+
"vehicle"
|
|
28
|
+
],
|
|
29
|
+
"🚎": [
|
|
30
|
+
"trolleybus",
|
|
31
|
+
"bus",
|
|
32
|
+
"transport",
|
|
33
|
+
"vehicle"
|
|
34
|
+
],
|
|
35
|
+
"🏎️": [
|
|
36
|
+
"racing",
|
|
37
|
+
"car",
|
|
38
|
+
"formula",
|
|
39
|
+
"speed",
|
|
40
|
+
"fast"
|
|
41
|
+
],
|
|
42
|
+
"🚓": [
|
|
43
|
+
"police",
|
|
44
|
+
"car",
|
|
45
|
+
"cop",
|
|
46
|
+
"vehicle",
|
|
47
|
+
"patrol"
|
|
48
|
+
],
|
|
49
|
+
"🚑": [
|
|
50
|
+
"ambulance",
|
|
51
|
+
"emergency",
|
|
52
|
+
"hospital",
|
|
53
|
+
"medical",
|
|
54
|
+
"vehicle"
|
|
55
|
+
],
|
|
56
|
+
"🚒": [
|
|
57
|
+
"fire",
|
|
58
|
+
"engine",
|
|
59
|
+
"truck",
|
|
60
|
+
"emergency",
|
|
61
|
+
"vehicle"
|
|
62
|
+
],
|
|
63
|
+
"🚐": [
|
|
64
|
+
"minibus",
|
|
65
|
+
"van",
|
|
66
|
+
"vehicle",
|
|
67
|
+
"transport"
|
|
68
|
+
],
|
|
69
|
+
"🛻": [
|
|
70
|
+
"pickup",
|
|
71
|
+
"truck",
|
|
72
|
+
"vehicle",
|
|
73
|
+
"drive"
|
|
74
|
+
],
|
|
75
|
+
"🚚": [
|
|
76
|
+
"truck",
|
|
77
|
+
"delivery",
|
|
78
|
+
"moving",
|
|
79
|
+
"vehicle"
|
|
80
|
+
],
|
|
81
|
+
"🚛": [
|
|
82
|
+
"truck",
|
|
83
|
+
"semi",
|
|
84
|
+
"trailer",
|
|
85
|
+
"vehicle",
|
|
86
|
+
"cargo"
|
|
87
|
+
],
|
|
88
|
+
"🚜": [
|
|
89
|
+
"tractor",
|
|
90
|
+
"farm",
|
|
91
|
+
"vehicle",
|
|
92
|
+
"agriculture"
|
|
93
|
+
],
|
|
94
|
+
"🏍️": [
|
|
95
|
+
"motorcycle",
|
|
96
|
+
"motorbike",
|
|
97
|
+
"vehicle",
|
|
98
|
+
"bike",
|
|
99
|
+
"ride"
|
|
100
|
+
],
|
|
101
|
+
"🛵": [
|
|
102
|
+
"scooter",
|
|
103
|
+
"motor",
|
|
104
|
+
"vehicle",
|
|
105
|
+
"vespa",
|
|
106
|
+
"ride"
|
|
107
|
+
],
|
|
108
|
+
"🛺": [
|
|
109
|
+
"rickshaw",
|
|
110
|
+
"auto",
|
|
111
|
+
"vehicle",
|
|
112
|
+
"tuk tuk"
|
|
113
|
+
],
|
|
114
|
+
"🚲": [
|
|
115
|
+
"bicycle",
|
|
116
|
+
"bike",
|
|
117
|
+
"cycle",
|
|
118
|
+
"ride",
|
|
119
|
+
"pedal"
|
|
120
|
+
],
|
|
121
|
+
"🛴": [
|
|
122
|
+
"scooter",
|
|
123
|
+
"kick",
|
|
124
|
+
"ride",
|
|
125
|
+
"vehicle"
|
|
126
|
+
],
|
|
127
|
+
"🛹": [
|
|
128
|
+
"skateboard",
|
|
129
|
+
"skate",
|
|
130
|
+
"board",
|
|
131
|
+
"ride"
|
|
132
|
+
],
|
|
133
|
+
"🛼": [
|
|
134
|
+
"roller",
|
|
135
|
+
"skate",
|
|
136
|
+
"skating",
|
|
137
|
+
"ride"
|
|
138
|
+
],
|
|
139
|
+
"🚁": [
|
|
140
|
+
"helicopter",
|
|
141
|
+
"chopper",
|
|
142
|
+
"fly",
|
|
143
|
+
"aircraft"
|
|
144
|
+
],
|
|
145
|
+
"🛸": [
|
|
146
|
+
"ufo",
|
|
147
|
+
"flying",
|
|
148
|
+
"saucer",
|
|
149
|
+
"alien",
|
|
150
|
+
"spaceship"
|
|
151
|
+
],
|
|
152
|
+
"✈️": [
|
|
153
|
+
"airplane",
|
|
154
|
+
"plane",
|
|
155
|
+
"fly",
|
|
156
|
+
"travel",
|
|
157
|
+
"flight"
|
|
158
|
+
],
|
|
159
|
+
"🛩️": [
|
|
160
|
+
"airplane",
|
|
161
|
+
"small",
|
|
162
|
+
"plane",
|
|
163
|
+
"fly",
|
|
164
|
+
"private"
|
|
165
|
+
],
|
|
166
|
+
"🛫": [
|
|
167
|
+
"departure",
|
|
168
|
+
"takeoff",
|
|
169
|
+
"plane",
|
|
170
|
+
"airplane",
|
|
171
|
+
"fly"
|
|
172
|
+
],
|
|
173
|
+
"🛬": [
|
|
174
|
+
"arrival",
|
|
175
|
+
"landing",
|
|
176
|
+
"plane",
|
|
177
|
+
"airplane",
|
|
178
|
+
"fly"
|
|
179
|
+
],
|
|
180
|
+
"🚀": [
|
|
181
|
+
"rocket",
|
|
182
|
+
"space",
|
|
183
|
+
"launch",
|
|
184
|
+
"ship",
|
|
185
|
+
"fast"
|
|
186
|
+
],
|
|
187
|
+
"🛶": [
|
|
188
|
+
"canoe",
|
|
189
|
+
"boat",
|
|
190
|
+
"paddle",
|
|
191
|
+
"water",
|
|
192
|
+
"kayak"
|
|
193
|
+
],
|
|
194
|
+
"⛵": [
|
|
195
|
+
"sailboat",
|
|
196
|
+
"boat",
|
|
197
|
+
"sail",
|
|
198
|
+
"wind",
|
|
199
|
+
"sea"
|
|
200
|
+
],
|
|
201
|
+
"🚤": [
|
|
202
|
+
"speedboat",
|
|
203
|
+
"boat",
|
|
204
|
+
"fast",
|
|
205
|
+
"water"
|
|
206
|
+
],
|
|
207
|
+
"🛥️": [
|
|
208
|
+
"motorboat",
|
|
209
|
+
"boat",
|
|
210
|
+
"yacht",
|
|
211
|
+
"water"
|
|
212
|
+
],
|
|
213
|
+
"🛳️": [
|
|
214
|
+
"cruise",
|
|
215
|
+
"ship",
|
|
216
|
+
"boat",
|
|
217
|
+
"passenger",
|
|
218
|
+
"sea"
|
|
219
|
+
],
|
|
220
|
+
"⛴️": [
|
|
221
|
+
"ferry",
|
|
222
|
+
"boat",
|
|
223
|
+
"ship",
|
|
224
|
+
"transport",
|
|
225
|
+
"water"
|
|
226
|
+
],
|
|
227
|
+
"🚢": [
|
|
228
|
+
"ship",
|
|
229
|
+
"boat",
|
|
230
|
+
"cruise",
|
|
231
|
+
"vessel",
|
|
232
|
+
"sea"
|
|
233
|
+
],
|
|
234
|
+
"⚓": [
|
|
235
|
+
"anchor",
|
|
236
|
+
"ship",
|
|
237
|
+
"boat",
|
|
238
|
+
"port",
|
|
239
|
+
"dock"
|
|
240
|
+
],
|
|
241
|
+
"🗺️": [
|
|
242
|
+
"map",
|
|
243
|
+
"world",
|
|
244
|
+
"globe",
|
|
245
|
+
"travel",
|
|
246
|
+
"explore"
|
|
247
|
+
],
|
|
248
|
+
"🧭": [
|
|
249
|
+
"compass",
|
|
250
|
+
"navigate",
|
|
251
|
+
"direction",
|
|
252
|
+
"explore"
|
|
253
|
+
],
|
|
254
|
+
"🏔️": [
|
|
255
|
+
"mountain",
|
|
256
|
+
"snow",
|
|
257
|
+
"peak",
|
|
258
|
+
"nature",
|
|
259
|
+
"landscape"
|
|
260
|
+
],
|
|
261
|
+
"⛰️": [
|
|
262
|
+
"mountain",
|
|
263
|
+
"nature",
|
|
264
|
+
"peak",
|
|
265
|
+
"landscape",
|
|
266
|
+
"hike"
|
|
267
|
+
],
|
|
268
|
+
"🌋": [
|
|
269
|
+
"volcano",
|
|
270
|
+
"eruption",
|
|
271
|
+
"mountain",
|
|
272
|
+
"lava",
|
|
273
|
+
"nature"
|
|
274
|
+
],
|
|
275
|
+
"🗻": [
|
|
276
|
+
"mount",
|
|
277
|
+
"fuji",
|
|
278
|
+
"mountain",
|
|
279
|
+
"japan",
|
|
280
|
+
"nature"
|
|
281
|
+
],
|
|
282
|
+
"🏕️": [
|
|
283
|
+
"camping",
|
|
284
|
+
"tent",
|
|
285
|
+
"outdoor",
|
|
286
|
+
"nature",
|
|
287
|
+
"camp"
|
|
288
|
+
],
|
|
289
|
+
"🏖️": [
|
|
290
|
+
"beach",
|
|
291
|
+
"umbrella",
|
|
292
|
+
"sand",
|
|
293
|
+
"ocean",
|
|
294
|
+
"vacation"
|
|
295
|
+
],
|
|
296
|
+
"🏜️": [
|
|
297
|
+
"desert",
|
|
298
|
+
"sand",
|
|
299
|
+
"dry",
|
|
300
|
+
"cactus",
|
|
301
|
+
"hot"
|
|
302
|
+
],
|
|
303
|
+
"🏝️": [
|
|
304
|
+
"island",
|
|
305
|
+
"tropical",
|
|
306
|
+
"palm",
|
|
307
|
+
"beach",
|
|
308
|
+
"paradise"
|
|
309
|
+
],
|
|
310
|
+
"🏞️": [
|
|
311
|
+
"national",
|
|
312
|
+
"park",
|
|
313
|
+
"nature",
|
|
314
|
+
"landscape",
|
|
315
|
+
"scenic"
|
|
316
|
+
],
|
|
317
|
+
"🏟️": [
|
|
318
|
+
"stadium",
|
|
319
|
+
"arena",
|
|
320
|
+
"sports",
|
|
321
|
+
"venue",
|
|
322
|
+
"field"
|
|
323
|
+
],
|
|
324
|
+
"🏛️": [
|
|
325
|
+
"classical",
|
|
326
|
+
"building",
|
|
327
|
+
"museum",
|
|
328
|
+
"greek",
|
|
329
|
+
"column",
|
|
330
|
+
"temple"
|
|
331
|
+
],
|
|
332
|
+
"🏗️": [
|
|
333
|
+
"construction",
|
|
334
|
+
"building",
|
|
335
|
+
"crane",
|
|
336
|
+
"site",
|
|
337
|
+
"work"
|
|
338
|
+
],
|
|
339
|
+
"🧱": [
|
|
340
|
+
"brick",
|
|
341
|
+
"wall",
|
|
342
|
+
"building",
|
|
343
|
+
"construction"
|
|
344
|
+
],
|
|
345
|
+
"🏘️": [
|
|
346
|
+
"houses",
|
|
347
|
+
"neighborhood",
|
|
348
|
+
"suburban",
|
|
349
|
+
"residential"
|
|
350
|
+
],
|
|
351
|
+
"🏚️": [
|
|
352
|
+
"house",
|
|
353
|
+
"abandoned",
|
|
354
|
+
"derelict",
|
|
355
|
+
"old",
|
|
356
|
+
"haunted"
|
|
357
|
+
],
|
|
358
|
+
"🏠": [
|
|
359
|
+
"house",
|
|
360
|
+
"home",
|
|
361
|
+
"building",
|
|
362
|
+
"residence"
|
|
363
|
+
],
|
|
364
|
+
"🏡": [
|
|
365
|
+
"house",
|
|
366
|
+
"garden",
|
|
367
|
+
"home",
|
|
368
|
+
"yard",
|
|
369
|
+
"nature"
|
|
370
|
+
],
|
|
371
|
+
"🏢": [
|
|
372
|
+
"office",
|
|
373
|
+
"building",
|
|
374
|
+
"work",
|
|
375
|
+
"business",
|
|
376
|
+
"corporate"
|
|
377
|
+
],
|
|
378
|
+
"🏣": [
|
|
379
|
+
"post",
|
|
380
|
+
"office",
|
|
381
|
+
"japan",
|
|
382
|
+
"building",
|
|
383
|
+
"mail"
|
|
384
|
+
],
|
|
385
|
+
"🏤": [
|
|
386
|
+
"post",
|
|
387
|
+
"office",
|
|
388
|
+
"building",
|
|
389
|
+
"mail",
|
|
390
|
+
"european"
|
|
391
|
+
],
|
|
392
|
+
"🏥": [
|
|
393
|
+
"hospital",
|
|
394
|
+
"medical",
|
|
395
|
+
"building",
|
|
396
|
+
"health",
|
|
397
|
+
"doctor"
|
|
398
|
+
],
|
|
399
|
+
"🏦": [
|
|
400
|
+
"bank",
|
|
401
|
+
"building",
|
|
402
|
+
"money",
|
|
403
|
+
"finance"
|
|
404
|
+
],
|
|
405
|
+
"🏨": [
|
|
406
|
+
"hotel",
|
|
407
|
+
"building",
|
|
408
|
+
"accommodation",
|
|
409
|
+
"travel",
|
|
410
|
+
"stay"
|
|
411
|
+
],
|
|
412
|
+
"🏩": [
|
|
413
|
+
"love",
|
|
414
|
+
"hotel",
|
|
415
|
+
"building",
|
|
416
|
+
"heart"
|
|
417
|
+
],
|
|
418
|
+
"🏪": [
|
|
419
|
+
"convenience",
|
|
420
|
+
"store",
|
|
421
|
+
"shop",
|
|
422
|
+
"building",
|
|
423
|
+
"retail"
|
|
424
|
+
],
|
|
425
|
+
"🏫": [
|
|
426
|
+
"school",
|
|
427
|
+
"building",
|
|
428
|
+
"education",
|
|
429
|
+
"institute",
|
|
430
|
+
"study"
|
|
431
|
+
],
|
|
432
|
+
"🏬": [
|
|
433
|
+
"department",
|
|
434
|
+
"store",
|
|
435
|
+
"mall",
|
|
436
|
+
"shopping",
|
|
437
|
+
"building"
|
|
438
|
+
],
|
|
439
|
+
"🏭": [
|
|
440
|
+
"factory",
|
|
441
|
+
"building",
|
|
442
|
+
"industry",
|
|
443
|
+
"manufacturing"
|
|
444
|
+
],
|
|
445
|
+
"🏯": [
|
|
446
|
+
"castle",
|
|
447
|
+
"japanese",
|
|
448
|
+
"building",
|
|
449
|
+
"fortress"
|
|
450
|
+
],
|
|
451
|
+
"🏰": [
|
|
452
|
+
"castle",
|
|
453
|
+
"european",
|
|
454
|
+
"building",
|
|
455
|
+
"fortress",
|
|
456
|
+
"medieval"
|
|
457
|
+
],
|
|
458
|
+
"💒": [
|
|
459
|
+
"wedding",
|
|
460
|
+
"chapel",
|
|
461
|
+
"church",
|
|
462
|
+
"marriage",
|
|
463
|
+
"love"
|
|
464
|
+
],
|
|
465
|
+
"🗼": [
|
|
466
|
+
"tower",
|
|
467
|
+
"tokyo",
|
|
468
|
+
"building",
|
|
469
|
+
"landmark"
|
|
470
|
+
],
|
|
471
|
+
"🗽": [
|
|
472
|
+
"statue",
|
|
473
|
+
"liberty",
|
|
474
|
+
"new york",
|
|
475
|
+
"usa",
|
|
476
|
+
"landmark"
|
|
477
|
+
],
|
|
478
|
+
"⛪": [
|
|
479
|
+
"church",
|
|
480
|
+
"chapel",
|
|
481
|
+
"building",
|
|
482
|
+
"religion",
|
|
483
|
+
"christian"
|
|
484
|
+
],
|
|
485
|
+
"🕌": [
|
|
486
|
+
"mosque",
|
|
487
|
+
"building",
|
|
488
|
+
"religion",
|
|
489
|
+
"islam",
|
|
490
|
+
"minaret"
|
|
491
|
+
],
|
|
492
|
+
"🛕": [
|
|
493
|
+
"hindu",
|
|
494
|
+
"temple",
|
|
495
|
+
"building",
|
|
496
|
+
"religion"
|
|
497
|
+
],
|
|
498
|
+
"🗾": [
|
|
499
|
+
"japan",
|
|
500
|
+
"map",
|
|
501
|
+
"country",
|
|
502
|
+
"asia"
|
|
503
|
+
]
|
|
504
|
+
};
|
|
505
|
+
export {
|
|
506
|
+
e as travelKeywords
|
|
507
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.empty-state{text-align:center;align-items:center;gap:var(--spacing-12);padding:var(--spacing-24);border:1px dashed var(--delimiter-color);border-radius:var(--radius);background:var(--card-background-color);-webkit-backdrop-filter:var(--card-backdrop-filter,none);box-sizing:border-box;flex-direction:column;width:100%;display:flex}.empty-state__icon{display:flex}.empty-state__title{color:var(--card-title-color,inherit);font-family:var(--card-title-font-family,var(--font-family,sans-serif));font-size:var(--card-title-font-size,inherit);font-style:var(--card-title-font-style,normal);font-weight:var(--card-title-font-weight,inherit);letter-spacing:var(--card-title-letter-spacing,normal);text-transform:var(--card-title-text-transform,none);margin:0}.empty-state__description{color:var(--body-color-muted);max-width:420px;margin:0}.empty-state__actions{gap:var(--spacing-12);flex-wrap:wrap;justify-content:center;display:flex}.empty-state--no-card{-webkit-backdrop-filter:none;background:0 0;border:none;padding:0}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import './EmptyState.css';
|
|
2
|
+
import { Icon as h } from "../Icon/Icon2.js";
|
|
3
|
+
import { Button as c } from "../Button/Button2.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import "react";
|
|
6
|
+
import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
7
|
+
var N = ({ icon: n, title: l, description: o, noCard: m, primary: t, secondary: e, children: r }) => {
|
|
8
|
+
const p = t || e, a = typeof n == "string" ? /* @__PURE__ */ i(h, {
|
|
9
|
+
name: n,
|
|
10
|
+
size: "xxxl"
|
|
11
|
+
}) : n;
|
|
12
|
+
return /* @__PURE__ */ s("div", {
|
|
13
|
+
className: `empty-state${m ? " empty-state--no-card" : ""}`,
|
|
14
|
+
children: [
|
|
15
|
+
a && /* @__PURE__ */ i("div", {
|
|
16
|
+
className: "empty-state__icon",
|
|
17
|
+
children: a
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ i("h3", {
|
|
20
|
+
className: "empty-state__title",
|
|
21
|
+
children: l
|
|
22
|
+
}),
|
|
23
|
+
o && /* @__PURE__ */ i("p", {
|
|
24
|
+
className: "empty-state__description",
|
|
25
|
+
children: o
|
|
26
|
+
}),
|
|
27
|
+
r,
|
|
28
|
+
p && /* @__PURE__ */ s("div", {
|
|
29
|
+
className: "empty-state__actions",
|
|
30
|
+
children: [t && /* @__PURE__ */ i(c, {
|
|
31
|
+
variant: t.variant || "info",
|
|
32
|
+
icon: t.icon,
|
|
33
|
+
onClick: t.onClick,
|
|
34
|
+
children: t.text
|
|
35
|
+
}), e && /* @__PURE__ */ i(c, {
|
|
36
|
+
variant: e.variant || "default",
|
|
37
|
+
icon: e.icon,
|
|
38
|
+
onClick: e.onClick,
|
|
39
|
+
children: e.text
|
|
40
|
+
})]
|
|
41
|
+
})
|
|
42
|
+
]
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
N as EmptyState
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.error-boundary{min-height:60vh;padding:var(--spacing-24);box-sizing:border-box;justify-content:center;align-items:center;display:flex}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import './ErrorBoundary.css';
|
|
2
|
+
import { EmptyState as i } from "../EmptyState/EmptyState2.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { Component as a } from "react";
|
|
5
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
+
var u = class extends a {
|
|
7
|
+
constructor(...r) {
|
|
8
|
+
super(...r), this.state = { error: null }, this.reset = () => {
|
|
9
|
+
this.setState({ error: null });
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
static getDerivedStateFromError(r) {
|
|
13
|
+
return { error: r };
|
|
14
|
+
}
|
|
15
|
+
componentDidCatch(r, t) {
|
|
16
|
+
console.error("ErrorBoundary caught:", r, t.componentStack), this.props.onError?.(r, t);
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const { error: r } = this.state, { children: t, title: n, resetLabel: s, fallback: e } = this.props;
|
|
20
|
+
return r ? e ? e(r, this.reset) : /* @__PURE__ */ o("div", {
|
|
21
|
+
className: "error-boundary",
|
|
22
|
+
children: /* @__PURE__ */ o(i, {
|
|
23
|
+
icon: "warning",
|
|
24
|
+
title: n ?? "Something went wrong",
|
|
25
|
+
description: r.message || "An unexpected error occurred.",
|
|
26
|
+
primary: {
|
|
27
|
+
text: s ?? "Try again",
|
|
28
|
+
variant: "info",
|
|
29
|
+
onClick: this.reset
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
}) : t;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
u as ErrorBoundary
|
|
37
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { formatEventTime as m } from "./EventCalendar.helpers.js";
|
|
2
|
+
import { Fragment as f, jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
3
|
+
function N({ className: t, dragEnabled: d, event: a, isDragging: o, onClick: e, onDragEnd: s, onDragStart: p, renderEvent: c, showTime: h = !1, style: i }) {
|
|
4
|
+
const n = d && a.draggable !== !1, g = (l) => {
|
|
5
|
+
l.stopPropagation(), e?.(a);
|
|
6
|
+
}, _ = (l) => {
|
|
7
|
+
l.dataTransfer.effectAllowed = "move", l.dataTransfer.setData("text/plain", String(a.id)), p(a);
|
|
8
|
+
};
|
|
9
|
+
return /* @__PURE__ */ r("div", {
|
|
10
|
+
className: [
|
|
11
|
+
"event-calendar__chip",
|
|
12
|
+
`event-calendar__chip--${a.variant ?? "default"}`,
|
|
13
|
+
o ? "event-calendar__chip--dragging" : "",
|
|
14
|
+
n ? "event-calendar__chip--draggable" : "",
|
|
15
|
+
e ? "event-calendar__chip--clickable" : "",
|
|
16
|
+
t ?? ""
|
|
17
|
+
].filter(Boolean).join(" "),
|
|
18
|
+
draggable: n,
|
|
19
|
+
onClick: g,
|
|
20
|
+
onDragEnd: s,
|
|
21
|
+
onDragStart: _,
|
|
22
|
+
style: a.color ? {
|
|
23
|
+
...i,
|
|
24
|
+
"--event-calendar-chip-color": a.color
|
|
25
|
+
} : i,
|
|
26
|
+
title: a.title,
|
|
27
|
+
children: c ? c(a) : /* @__PURE__ */ b(f, { children: [
|
|
28
|
+
a.leading && /* @__PURE__ */ r("span", {
|
|
29
|
+
className: "event-calendar__chip-leading",
|
|
30
|
+
children: a.leading
|
|
31
|
+
}),
|
|
32
|
+
h && !a.allDay && /* @__PURE__ */ r("span", {
|
|
33
|
+
className: "event-calendar__chip-time",
|
|
34
|
+
children: m(a.start)
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ r("span", {
|
|
37
|
+
className: "event-calendar__chip-title",
|
|
38
|
+
children: a.title
|
|
39
|
+
})
|
|
40
|
+
] })
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
N as EventCalendarChip
|
|
45
|
+
};
|