@novu/js 2.0.1 → 2.1.1
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/cjs/{chunk-PMLVIUWC.cjs → chunk-D7P7KCZI.js} +342 -255
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.js +58 -0
- package/dist/cjs/novu-04KlkBy4.d.ts +528 -0
- package/dist/cjs/ui/index.d.ts +145 -0
- package/dist/cjs/ui/{index.cjs → index.js} +218 -141
- package/dist/esm/{chunk-LDGUT6MH.mjs → chunk-APRCCICD.mjs} +342 -256
- package/dist/esm/index.d.mts +8 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/novu-04KlkBy4.d.mts +528 -0
- package/dist/esm/ui/index.d.mts +145 -0
- package/dist/esm/ui/index.mjs +131 -54
- package/dist/novu.min.js +10 -10
- package/dist/novu.min.js.gz +0 -0
- package/package.json +24 -16
- package/ui/package.json +5 -0
- package/dist/cjs/index.cjs +0 -50
- package/dist/types/api/inbox-service.d.ts +0 -65
- package/dist/types/api/inbox-service.d.ts.map +0 -1
- package/dist/types/api/index.d.ts +0 -2
- package/dist/types/api/index.d.ts.map +0 -1
- package/dist/types/base-module.d.ts +0 -13
- package/dist/types/base-module.d.ts.map +0 -1
- package/dist/types/cache/in-memory-cache.d.ts +0 -13
- package/dist/types/cache/in-memory-cache.d.ts.map +0 -1
- package/dist/types/cache/index.d.ts +0 -2
- package/dist/types/cache/index.d.ts.map +0 -1
- package/dist/types/cache/notifications-cache.d.ts +0 -22
- package/dist/types/cache/notifications-cache.d.ts.map +0 -1
- package/dist/types/cache/preferences-cache.d.ts +0 -11
- package/dist/types/cache/preferences-cache.d.ts.map +0 -1
- package/dist/types/cache/types.d.ts +0 -10
- package/dist/types/cache/types.d.ts.map +0 -1
- package/dist/types/event-emitter/index.d.ts +0 -3
- package/dist/types/event-emitter/index.d.ts.map +0 -1
- package/dist/types/event-emitter/novu-event-emitter.d.ts +0 -14
- package/dist/types/event-emitter/novu-event-emitter.d.ts.map +0 -1
- package/dist/types/event-emitter/types.d.ts +0 -85
- package/dist/types/event-emitter/types.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/notifications/helpers.d.ts +0 -57
- package/dist/types/notifications/helpers.d.ts.map +0 -1
- package/dist/types/notifications/index.d.ts +0 -4
- package/dist/types/notifications/index.d.ts.map +0 -1
- package/dist/types/notifications/notification.d.ts +0 -33
- package/dist/types/notifications/notification.d.ts.map +0 -1
- package/dist/types/notifications/notifications.d.ts +0 -44
- package/dist/types/notifications/notifications.d.ts.map +0 -1
- package/dist/types/notifications/types.d.ts +0 -55
- package/dist/types/notifications/types.d.ts.map +0 -1
- package/dist/types/novu.d.ts +0 -14
- package/dist/types/novu.d.ts.map +0 -1
- package/dist/types/preferences/helpers.d.ts +0 -11
- package/dist/types/preferences/helpers.d.ts.map +0 -1
- package/dist/types/preferences/index.d.ts +0 -2
- package/dist/types/preferences/index.d.ts.map +0 -1
- package/dist/types/preferences/preference.d.ts +0 -15
- package/dist/types/preferences/preference.d.ts.map +0 -1
- package/dist/types/preferences/preferences.d.ts +0 -15
- package/dist/types/preferences/preferences.d.ts.map +0 -1
- package/dist/types/preferences/types.d.ts +0 -15
- package/dist/types/preferences/types.d.ts.map +0 -1
- package/dist/types/session/index.d.ts +0 -3
- package/dist/types/session/index.d.ts.map +0 -1
- package/dist/types/session/session.d.ts +0 -7
- package/dist/types/session/session.d.ts.map +0 -1
- package/dist/types/session/types.d.ts +0 -6
- package/dist/types/session/types.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -150
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/index.d.ts +0 -6
- package/dist/types/ui/api/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useArchiveAll.d.ts +0 -10
- package/dist/types/ui/api/hooks/useArchiveAll.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts +0 -10
- package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useNotifications.d.ts +0 -17
- package/dist/types/ui/api/hooks/useNotifications.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/usePreferences.d.ts +0 -9
- package/dist/types/ui/api/hooks/usePreferences.d.ts.map +0 -1
- package/dist/types/ui/api/hooks/useReadAll.d.ts +0 -10
- package/dist/types/ui/api/hooks/useReadAll.d.ts.map +0 -1
- package/dist/types/ui/api/index.d.ts +0 -2
- package/dist/types/ui/api/index.d.ts.map +0 -1
- package/dist/types/ui/components/ExternalElementRenderer.d.ts +0 -7
- package/dist/types/ui/components/ExternalElementRenderer.d.ts.map +0 -1
- package/dist/types/ui/components/Inbox.d.ts +0 -24
- package/dist/types/ui/components/Inbox.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/InboxTab.d.ts +0 -16
- package/dist/types/ui/components/InboxTabs/InboxTab.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts +0 -11
- package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/index.d.ts +0 -2
- package/dist/types/ui/components/InboxTabs/index.d.ts.map +0 -1
- package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts +0 -11
- package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/DefaultNotification.d.ts +0 -12
- package/dist/types/ui/components/Notification/DefaultNotification.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NewMessagesCta.d.ts +0 -6
- package/dist/types/ui/components/Notification/NewMessagesCta.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/Notification.d.ts +0 -12
- package/dist/types/ui/components/Notification/Notification.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NotificationList.d.ts +0 -14
- package/dist/types/ui/components/Notification/NotificationList.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts +0 -7
- package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts.map +0 -1
- package/dist/types/ui/components/Notification/index.d.ts +0 -3
- package/dist/types/ui/components/Notification/index.d.ts.map +0 -1
- package/dist/types/ui/components/Renderer.d.ts +0 -44
- package/dist/types/ui/components/Renderer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/Bell.d.ts +0 -8
- package/dist/types/ui/components/elements/Bell/Bell.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts +0 -6
- package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Bell/index.d.ts +0 -2
- package/dist/types/ui/components/elements/Bell/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Footer.d.ts +0 -2
- package/dist/types/ui/components/elements/Footer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/Header.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/Header.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts +0 -2
- package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts +0 -9
- package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts +0 -6
- package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Header/index.d.ts +0 -3
- package/dist/types/ui/components/elements/Header/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts +0 -2
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts +0 -14
- package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts.map +0 -1
- package/dist/types/ui/components/elements/InboxStatus/constants.d.ts +0 -11
- package/dist/types/ui/components/elements/InboxStatus/constants.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts +0 -18
- package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/Preferences.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/Preferences.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/Switch.d.ts +0 -8
- package/dist/types/ui/components/elements/Preferences/Switch.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Preferences/index.d.ts +0 -2
- package/dist/types/ui/components/elements/Preferences/index.d.ts.map +0 -1
- package/dist/types/ui/components/elements/Root.d.ts +0 -3
- package/dist/types/ui/components/elements/Root.d.ts.map +0 -1
- package/dist/types/ui/components/elements/index.d.ts +0 -6
- package/dist/types/ui/components/elements/index.d.ts.map +0 -1
- package/dist/types/ui/components/index.d.ts +0 -4
- package/dist/types/ui/components/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Button.d.ts +0 -13
- package/dist/types/ui/components/primitives/Button.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts +0 -8
- package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts +0 -9
- package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts +0 -4
- package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts +0 -8
- package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Dropdown/index.d.ts +0 -44
- package/dist/types/ui/components/primitives/Dropdown/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts +0 -7
- package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts +0 -9
- package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts +0 -23
- package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts +0 -9
- package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Popover/index.d.ts +0 -28
- package/dist/types/ui/components/primitives/Popover/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Skeleton.d.ts +0 -14
- package/dist/types/ui/components/primitives/Skeleton.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts +0 -10
- package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts +0 -11
- package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts +0 -20
- package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts +0 -13
- package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/index.d.ts +0 -35
- package/dist/types/ui/components/primitives/Tabs/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts +0 -7
- package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts +0 -9
- package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts +0 -21
- package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts +0 -9
- package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/Tooltip/index.d.ts +0 -21
- package/dist/types/ui/components/primitives/Tooltip/index.d.ts.map +0 -1
- package/dist/types/ui/components/primitives/index.d.ts +0 -5
- package/dist/types/ui/components/primitives/index.d.ts.map +0 -1
- package/dist/types/ui/config/appearanceKeys.d.ts +0 -2
- package/dist/types/ui/config/appearanceKeys.d.ts.map +0 -1
- package/dist/types/ui/config/defaultLocalization.d.ts +0 -26
- package/dist/types/ui/config/defaultLocalization.d.ts.map +0 -1
- package/dist/types/ui/config/defaultVariables.d.ts +0 -3
- package/dist/types/ui/config/defaultVariables.d.ts.map +0 -1
- package/dist/types/ui/config/index.d.ts +0 -4
- package/dist/types/ui/config/index.d.ts.map +0 -1
- package/dist/types/ui/context/AppearanceContext.d.ts +0 -17
- package/dist/types/ui/context/AppearanceContext.d.ts.map +0 -1
- package/dist/types/ui/context/CountContext.d.ts +0 -23
- package/dist/types/ui/context/CountContext.d.ts.map +0 -1
- package/dist/types/ui/context/FocusManagerContext.d.ts +0 -12
- package/dist/types/ui/context/FocusManagerContext.d.ts.map +0 -1
- package/dist/types/ui/context/InboxContext.d.ts +0 -25
- package/dist/types/ui/context/InboxContext.d.ts.map +0 -1
- package/dist/types/ui/context/LocalizationContext.d.ts +0 -24
- package/dist/types/ui/context/LocalizationContext.d.ts.map +0 -1
- package/dist/types/ui/context/NovuContext.d.ts +0 -11
- package/dist/types/ui/context/NovuContext.d.ts.map +0 -1
- package/dist/types/ui/context/index.d.ts +0 -7
- package/dist/types/ui/context/index.d.ts.map +0 -1
- package/dist/types/ui/helpers/browser.d.ts +0 -2
- package/dist/types/ui/helpers/browser.d.ts.map +0 -1
- package/dist/types/ui/helpers/constants.d.ts +0 -5
- package/dist/types/ui/helpers/constants.d.ts.map +0 -1
- package/dist/types/ui/helpers/createDelayedLoading.d.ts +0 -3
- package/dist/types/ui/helpers/createDelayedLoading.d.ts.map +0 -1
- package/dist/types/ui/helpers/createInfiniteScroll.d.ts +0 -19
- package/dist/types/ui/helpers/createInfiniteScroll.d.ts.map +0 -1
- package/dist/types/ui/helpers/formatToRelativeTime.d.ts +0 -6
- package/dist/types/ui/helpers/formatToRelativeTime.d.ts.map +0 -1
- package/dist/types/ui/helpers/index.d.ts +0 -7
- package/dist/types/ui/helpers/index.d.ts.map +0 -1
- package/dist/types/ui/helpers/types.d.ts +0 -4
- package/dist/types/ui/helpers/types.d.ts.map +0 -1
- package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts +0 -7
- package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts.map +0 -1
- package/dist/types/ui/helpers/useFocusTrap.d.ts +0 -7
- package/dist/types/ui/helpers/useFocusTrap.d.ts.map +0 -1
- package/dist/types/ui/helpers/useNovuEvent.d.ts +0 -6
- package/dist/types/ui/helpers/useNovuEvent.d.ts.map +0 -1
- package/dist/types/ui/helpers/useStyle.d.ts +0 -3
- package/dist/types/ui/helpers/useStyle.d.ts.map +0 -1
- package/dist/types/ui/helpers/useUncontrolledState.d.ts +0 -9
- package/dist/types/ui/helpers/useUncontrolledState.d.ts.map +0 -1
- package/dist/types/ui/helpers/useWebSocketEvent.d.ts +0 -6
- package/dist/types/ui/helpers/useWebSocketEvent.d.ts.map +0 -1
- package/dist/types/ui/helpers/utils.d.ts +0 -33
- package/dist/types/ui/helpers/utils.d.ts.map +0 -1
- package/dist/types/ui/icons/Archive.d.ts +0 -3
- package/dist/types/ui/icons/Archive.d.ts.map +0 -1
- package/dist/types/ui/icons/ArchiveRead.d.ts +0 -3
- package/dist/types/ui/icons/ArchiveRead.d.ts.map +0 -1
- package/dist/types/ui/icons/ArrowDropDown.d.ts +0 -3
- package/dist/types/ui/icons/ArrowDropDown.d.ts.map +0 -1
- package/dist/types/ui/icons/ArrowLeft.d.ts +0 -3
- package/dist/types/ui/icons/ArrowLeft.d.ts.map +0 -1
- package/dist/types/ui/icons/BellIcon.d.ts +0 -3
- package/dist/types/ui/icons/BellIcon.d.ts.map +0 -1
- package/dist/types/ui/icons/Chat.d.ts +0 -3
- package/dist/types/ui/icons/Chat.d.ts.map +0 -1
- package/dist/types/ui/icons/Check.d.ts +0 -3
- package/dist/types/ui/icons/Check.d.ts.map +0 -1
- package/dist/types/ui/icons/Dots.d.ts +0 -3
- package/dist/types/ui/icons/Dots.d.ts.map +0 -1
- package/dist/types/ui/icons/Email.d.ts +0 -3
- package/dist/types/ui/icons/Email.d.ts.map +0 -1
- package/dist/types/ui/icons/EmptyIcon.d.ts +0 -3
- package/dist/types/ui/icons/EmptyIcon.d.ts.map +0 -1
- package/dist/types/ui/icons/InApp.d.ts +0 -3
- package/dist/types/ui/icons/InApp.d.ts.map +0 -1
- package/dist/types/ui/icons/Inbox.d.ts +0 -3
- package/dist/types/ui/icons/Inbox.d.ts.map +0 -1
- package/dist/types/ui/icons/Lock.d.ts +0 -2
- package/dist/types/ui/icons/Lock.d.ts.map +0 -1
- package/dist/types/ui/icons/Novu.d.ts +0 -3
- package/dist/types/ui/icons/Novu.d.ts.map +0 -1
- package/dist/types/ui/icons/Push.d.ts +0 -3
- package/dist/types/ui/icons/Push.d.ts.map +0 -1
- package/dist/types/ui/icons/ReadAll.d.ts +0 -3
- package/dist/types/ui/icons/ReadAll.d.ts.map +0 -1
- package/dist/types/ui/icons/Settings.d.ts +0 -3
- package/dist/types/ui/icons/Settings.d.ts.map +0 -1
- package/dist/types/ui/icons/Sms.d.ts +0 -3
- package/dist/types/ui/icons/Sms.d.ts.map +0 -1
- package/dist/types/ui/icons/Unarchive.d.ts +0 -3
- package/dist/types/ui/icons/Unarchive.d.ts.map +0 -1
- package/dist/types/ui/icons/Unread.d.ts +0 -3
- package/dist/types/ui/icons/Unread.d.ts.map +0 -1
- package/dist/types/ui/icons/index.d.ts +0 -20
- package/dist/types/ui/icons/index.d.ts.map +0 -1
- package/dist/types/ui/index.d.ts +0 -6
- package/dist/types/ui/index.d.ts.map +0 -1
- package/dist/types/ui/novuUI.d.ts +0 -25
- package/dist/types/ui/novuUI.d.ts.map +0 -1
- package/dist/types/ui/themes/dark.d.ts +0 -3
- package/dist/types/ui/themes/dark.d.ts.map +0 -1
- package/dist/types/ui/themes/index.d.ts +0 -2
- package/dist/types/ui/themes/index.d.ts.map +0 -1
- package/dist/types/ui/types.d.ts +0 -57
- package/dist/types/ui/types.d.ts.map +0 -1
- package/dist/types/umd.d.ts +0 -2
- package/dist/types/umd.d.ts.map +0 -1
- package/dist/types/utils/arrays.d.ts +0 -2
- package/dist/types/utils/arrays.d.ts.map +0 -1
- package/dist/types/utils/config.d.ts +0 -2
- package/dist/types/utils/config.d.ts.map +0 -1
- package/dist/types/utils/errors.d.ts +0 -5
- package/dist/types/utils/errors.d.ts.map +0 -1
- package/dist/types/utils/inbox-service-singleton.d.ts +0 -6
- package/dist/types/utils/inbox-service-singleton.d.ts.map +0 -1
- package/dist/types/utils/notification-utils.d.ts +0 -6
- package/dist/types/utils/notification-utils.d.ts.map +0 -1
- package/dist/types/ws/index.d.ts +0 -2
- package/dist/types/ws/index.d.ts.map +0 -1
- package/dist/types/ws/socket.d.ts +0 -13
- package/dist/types/ws/socket.d.ts.map +0 -1
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Accessor, Setter } from 'solid-js';
|
|
2
|
-
export declare function createInfiniteScroll<T>(fetcher: (page: number) => Promise<{
|
|
3
|
-
data: T[];
|
|
4
|
-
hasMore: boolean;
|
|
5
|
-
}>): [
|
|
6
|
-
data: Accessor<T[]>,
|
|
7
|
-
options: {
|
|
8
|
-
initialLoading: Accessor<boolean>;
|
|
9
|
-
setEl: (el: Element) => void;
|
|
10
|
-
offset: Accessor<number>;
|
|
11
|
-
end: Accessor<boolean>;
|
|
12
|
-
reset: () => Promise<void>;
|
|
13
|
-
mutate: Setter<{
|
|
14
|
-
data: T[];
|
|
15
|
-
hasMore: boolean;
|
|
16
|
-
} | undefined>;
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
//# sourceMappingURL=createInfiniteScroll.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createInfiniteScroll.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/createInfiniteScroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAkE,MAAM,EAAE,MAAM,UAAU,CAAC;AAI5G,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,GAAG;IAC5G,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC;IACnB,OAAO,EAAE;QACP,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;QAClC,KAAK,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;QAC7B,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;QACzB,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;QACvB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAC3B,MAAM,EAAE,MAAM,CACV;YACE,IAAI,EAAE,CAAC,EAAE,CAAC;YACV,OAAO,EAAE,OAAO,CAAC;SAClB,GACD,SAAS,CACZ,CAAC;KACH;CACF,CAuDA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatToRelativeTime.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/formatToRelativeTime.ts"],"names":[],"mappings":"AAUA,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,MAAuB,EACvB,MAAmB,GACpB,EAAE;IACD,QAAQ,EAAE,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,UA4BA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,MAAM,GACzD,CAAC,GACD;KACG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,CAAC,GAAG,MAAM,EAAE,CAAC;CAC5E,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBrowserTabsChannel.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useBrowserTabsChannel.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;iBAInB,MAAM;4BACK,IAAI;;;CAuB7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusTrap.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useFocusTrap.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,MAAM,OAAO,CAAC;CACxB;AAED,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,gBAAgB,QAkD9D;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { EventHandler, Events } from '../../event-emitter';
|
|
2
|
-
export declare const useNovuEvent: <E extends ("session.initialize.pending" | "session.initialize.resolved") | ("notifications.list.pending" | "notifications.list.resolved") | ("notifications.count.pending" | "notifications.count.resolved") | ("preferences.list.pending" | "preferences.list.resolved") | ("preference.update.pending" | "preference.update.resolved") | ("socket.connect.pending" | "socket.connect.resolved") | "notifications.notification_received" | "notifications.unseen_count_changed" | "notifications.unread_count_changed" | ("notification.read.pending" | "notification.read.resolved") | ("notification.unread.pending" | "notification.unread.resolved") | ("notification.archive.pending" | "notification.archive.resolved") | ("notification.unarchive.pending" | "notification.unarchive.resolved") | ("notification.complete_action.pending" | "notification.complete_action.resolved") | ("notification.revert_action.pending" | "notification.revert_action.resolved") | ("notifications.read_all.pending" | "notifications.read_all.resolved") | ("notifications.archive_all.pending" | "notifications.archive_all.resolved") | ("notifications.archive_all_read.pending" | "notifications.archive_all_read.resolved") | "notifications.list.updated" | "preferences.list.updated">({ event, eventHandler, }: {
|
|
3
|
-
event: E;
|
|
4
|
-
eventHandler: EventHandler<Events[E]>;
|
|
5
|
-
}) => void;
|
|
6
|
-
//# sourceMappingURL=useNovuEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useNovuEvent.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useNovuEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAc,MAAM,qBAAqB,CAAC;AAG5E,eAAO,MAAM,YAAY;;;UAgBxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useStyle.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useStyle.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,UAAU,CAAC;AAGxD,eAAO,MAAM,QAAQ,wBAQoC,aAAa,cAAc,MAAM,WAwDzF,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Accessor, Setter } from 'solid-js';
|
|
2
|
-
type UseUncontrolledState = {
|
|
3
|
-
value?: boolean;
|
|
4
|
-
fallbackValue?: boolean;
|
|
5
|
-
};
|
|
6
|
-
type UseUncontrolledStateOutput = [Accessor<boolean>, Setter<boolean>];
|
|
7
|
-
export declare function useUncontrolledState(props: UseUncontrolledState): UseUncontrolledStateOutput;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useUncontrolledState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useUncontrolledState.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useUncontrolledState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA8B,MAAM,EAAE,MAAM,UAAU,CAAC;AAExE,KAAK,oBAAoB,GAAG;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,0BAA0B,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAEvE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,oBAAoB,GAAG,0BAA0B,CAgB5F"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Events } from '../../event-emitter';
|
|
2
|
-
export declare const useWebSocketEvent: <E extends "notifications.notification_received" | "notifications.unseen_count_changed" | "notifications.unread_count_changed">({ event: webSocketEvent, eventHandler: onMessage, }: {
|
|
3
|
-
event: E;
|
|
4
|
-
eventHandler: (args: Events[E]) => void;
|
|
5
|
-
}) => void;
|
|
6
|
-
//# sourceMappingURL=useWebSocketEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useWebSocketEvent.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/useWebSocketEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkC,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAKlF,eAAO,MAAM,iBAAiB;;uCAKO,IAAI;UAoBxC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
import { type ClassNameValue } from 'tailwind-merge';
|
|
3
|
-
import type { CSSProperties, Elements, Variables } from '../types';
|
|
4
|
-
export type ClassName = ClassNameValue;
|
|
5
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
6
|
-
export declare function generateRandomString(length: number): string;
|
|
7
|
-
export declare function cssObjectToString(styles: CSSProperties): string;
|
|
8
|
-
export declare function createClassAndRuleFromCssString(classNameSet: Set<string>, styles: string): {
|
|
9
|
-
className: string;
|
|
10
|
-
rule: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function generateDefaultColor(props: {
|
|
13
|
-
color: string;
|
|
14
|
-
key: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}): string;
|
|
17
|
-
export declare function generatesSolidShadesFromColor(props: {
|
|
18
|
-
color: string;
|
|
19
|
-
key: string;
|
|
20
|
-
id: string;
|
|
21
|
-
}): string[];
|
|
22
|
-
export declare function generatesAlphaShadesFromColor(props: {
|
|
23
|
-
color: string;
|
|
24
|
-
key: string;
|
|
25
|
-
id: string;
|
|
26
|
-
}): string[];
|
|
27
|
-
export declare const parseVariables: (variables: Required<Variables>, id: string) => string[];
|
|
28
|
-
export declare const parseElements: (elements: Elements) => {
|
|
29
|
-
key: string;
|
|
30
|
-
rule: string;
|
|
31
|
-
className: string;
|
|
32
|
-
}[];
|
|
33
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/ui/helpers/utils.ts"],"names":[],"mappings":"AAAA,OAAa,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMnE,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC;AAEvC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAS3D;AAWD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAQ/D;AAED,wBAAgB,+BAA+B,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM;;;EAOxF;AAGD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,UAIrF;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,YAW9F;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,YAW9F;AAED,eAAO,MAAM,cAAc,cAAe,SAAS,SAAS,CAAC,MAAM,MAAM,aA4BxE,CAAC;AAEF,eAAO,MAAM,aAAa,aAAc,QAAQ;SACd,MAAM;UAAQ,MAAM;eAAa,MAAM;GAexE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Archive.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Archive.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,eAAO,MAAM,OAAO,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAShE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArchiveRead.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/ArchiveRead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,WAAW,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAUpE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowDropDown.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/ArrowDropDown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,aAAa,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAMtE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowLeft.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/ArrowLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,SAAS,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBASlE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BellIcon.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/BellIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,eASjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Check.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Check.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,KAAK,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAM9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dots.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Dots.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Email.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,KAAK,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyIcon.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/EmptyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,eASlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InApp.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/InApp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,KAAK,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Inbox.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Inbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,KAAK,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lock.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Lock.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,sCAShB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Novu.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Novu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAkB7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Push.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Push.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadAll.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/ReadAll.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,OAAO,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAUhE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,QAAQ,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAUjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sms.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Sms.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,GAAG,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Unarchive.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Unarchive.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,SAAS,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBASlE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Unread.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/Unread.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAO,MAAM,MAAM,WAAY,IAAI,cAAc,CAAC,aAAa,CAAC,gBAU/D,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export * from './Archive';
|
|
2
|
-
export * from './ArchiveRead';
|
|
3
|
-
export * from './ArrowDropDown';
|
|
4
|
-
export * from './ArrowLeft';
|
|
5
|
-
export * from './BellIcon';
|
|
6
|
-
export * from './Chat';
|
|
7
|
-
export * from './Check';
|
|
8
|
-
export * from './Dots';
|
|
9
|
-
export * from './Email';
|
|
10
|
-
export * from './InApp';
|
|
11
|
-
export * from './Inbox';
|
|
12
|
-
export * from './Novu';
|
|
13
|
-
export * from './Push';
|
|
14
|
-
export * from './ReadAll';
|
|
15
|
-
export * from './Settings';
|
|
16
|
-
export * from './Sms';
|
|
17
|
-
export * from './Unarchive';
|
|
18
|
-
export * from './Unread';
|
|
19
|
-
export * from './Lock';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
package/dist/types/ui/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type { Notification } from '../notifications';
|
|
2
|
-
export type { InboxPage, InboxProps } from './components';
|
|
3
|
-
export { NovuUI } from './novuUI';
|
|
4
|
-
export type { BaseNovuUIOptions, NovuUIOptions } from './novuUI';
|
|
5
|
-
export * from './types';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,cAAc,SAAS,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'solid-js';
|
|
2
|
-
import { MountableElement } from 'solid-js/web';
|
|
3
|
-
import type { NovuOptions } from '../types';
|
|
4
|
-
import { NovuComponentName, novuComponents } from './components/Renderer';
|
|
5
|
-
import type { Appearance, BaseNovuProviderProps, Localization, NovuProviderProps, RouterPush, Tab } from './types';
|
|
6
|
-
export type NovuUIOptions = NovuProviderProps;
|
|
7
|
-
export type BaseNovuUIOptions = BaseNovuProviderProps;
|
|
8
|
-
export declare class NovuUI {
|
|
9
|
-
#private;
|
|
10
|
-
id: string;
|
|
11
|
-
constructor(props: NovuProviderProps);
|
|
12
|
-
mountComponent<T extends NovuComponentName>({ name, element, props: componentProps, }: {
|
|
13
|
-
name: T;
|
|
14
|
-
element: MountableElement;
|
|
15
|
-
props?: ComponentProps<(typeof novuComponents)[T]>;
|
|
16
|
-
}): void;
|
|
17
|
-
unmountComponent(element: MountableElement): void;
|
|
18
|
-
updateAppearance(appearance?: Appearance): void;
|
|
19
|
-
updateLocalization(localization?: Localization): void;
|
|
20
|
-
updateOptions(options: NovuOptions): void;
|
|
21
|
-
updateTabs(tabs?: Array<Tab>): void;
|
|
22
|
-
updateRouterPush(routerPush?: RouterPush): void;
|
|
23
|
-
unmount(): void;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=novuUI.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"novuUI.d.ts","sourceRoot":"","sources":["../../../src/ui/novuUI.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAgB,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAU,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAiB,iBAAiB,EAAE,cAAc,EAAY,MAAM,uBAAuB,CAAC;AAEnG,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAWnH,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AACtD,qBAAa,MAAM;;IAejB,EAAE,EAAE,MAAM,CAAC;gBAEC,KAAK,EAAE,iBAAiB;IAgEpC,cAAc,CAAC,CAAC,SAAS,iBAAiB,EAAE,EAC1C,IAAI,EACJ,OAAO,EACP,KAAK,EAAE,cAAc,GACtB,EAAE;QACD,IAAI,EAAE,CAAC,CAAC;QACR,OAAO,EAAE,gBAAgB,CAAC;QAC1B,KAAK,CAAC,EAAE,cAAc,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACpD;IAaD,gBAAgB,CAAC,OAAO,EAAE,gBAAgB;IAS1C,gBAAgB,CAAC,UAAU,CAAC,EAAE,UAAU;IAIxC,kBAAkB,CAAC,YAAY,CAAC,EAAE,YAAY;IAI9C,aAAa,CAAC,OAAO,EAAE,WAAW;IAIlC,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC;IAI5B,gBAAgB,CAAC,UAAU,CAAC,EAAE,UAAU;IAIxC,OAAO,IAAI,IAAI;CAKhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../../src/ui/themes/dark.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,eAAO,MAAM,IAAI,EAAE,KAQlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
package/dist/types/ui/types.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { Notification } from '../notifications';
|
|
2
|
-
import type { NovuOptions } from '../types';
|
|
3
|
-
import { appearanceKeys } from './config';
|
|
4
|
-
import { Localization } from './context/LocalizationContext';
|
|
5
|
-
export type NotificationClickHandler = (notification: Notification) => void;
|
|
6
|
-
export type NotificationActionClickHandler = (notification: Notification) => void;
|
|
7
|
-
export type NotificationRenderer = (el: HTMLDivElement, notification: Notification) => () => void;
|
|
8
|
-
export type BellRenderer = (el: HTMLDivElement, unreadCount: number) => () => void;
|
|
9
|
-
export type RouterPush = (path: string) => void;
|
|
10
|
-
export type Tab = {
|
|
11
|
-
label: string;
|
|
12
|
-
value: Array<string>;
|
|
13
|
-
};
|
|
14
|
-
export type CSSProperties = {
|
|
15
|
-
[key: string]: string | number;
|
|
16
|
-
};
|
|
17
|
-
export type ElementStyles = string | CSSProperties;
|
|
18
|
-
export type Variables = {
|
|
19
|
-
colorBackground?: string;
|
|
20
|
-
colorForeground?: string;
|
|
21
|
-
colorPrimary?: string;
|
|
22
|
-
colorPrimaryForeground?: string;
|
|
23
|
-
colorSecondary?: string;
|
|
24
|
-
colorSecondaryForeground?: string;
|
|
25
|
-
colorCounter?: string;
|
|
26
|
-
colorCounterForeground?: string;
|
|
27
|
-
colorNeutral?: string;
|
|
28
|
-
fontSize?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
};
|
|
31
|
-
export type AppearanceKey = (typeof appearanceKeys)[number];
|
|
32
|
-
export type Elements = Partial<Record<AppearanceKey, ElementStyles>>;
|
|
33
|
-
export type Theme = {
|
|
34
|
-
variables?: Variables;
|
|
35
|
-
elements?: Elements;
|
|
36
|
-
};
|
|
37
|
-
export type Appearance = Theme & {
|
|
38
|
-
baseTheme?: Theme | Theme[];
|
|
39
|
-
};
|
|
40
|
-
export type BaseNovuProviderProps = {
|
|
41
|
-
appearance?: Appearance;
|
|
42
|
-
localization?: Localization;
|
|
43
|
-
options: NovuOptions;
|
|
44
|
-
tabs?: Array<Tab>;
|
|
45
|
-
routerPush?: RouterPush;
|
|
46
|
-
};
|
|
47
|
-
export type NovuProviderProps = BaseNovuProviderProps & {
|
|
48
|
-
renderNotification?: NotificationRenderer;
|
|
49
|
-
renderBell?: BellRenderer;
|
|
50
|
-
};
|
|
51
|
-
export declare enum NotificationStatus {
|
|
52
|
-
UNREAD_READ = "unreadRead",
|
|
53
|
-
UNREAD = "unread",
|
|
54
|
-
ARCHIVED = "archived"
|
|
55
|
-
}
|
|
56
|
-
export { Localization, LocalizationKey } from './context/LocalizationContext';
|
|
57
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ui/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,MAAM,MAAM,wBAAwB,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;AAC5E,MAAM,MAAM,8BAA8B,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;AAElF,MAAM,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,KAAK,MAAM,IAAI,CAAC;AAClG,MAAM,MAAM,YAAY,GAAG,CAAC,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAEhD,MAAM,MAAM,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,aAAa,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;AAErE,MAAM,MAAM,KAAK,GAAG;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG;IAAE,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,CAAA;CAAE,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GAAG;IACtD,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,oBAAY,kBAAkB;IAC5B,WAAW,eAAe;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/types/umd.d.ts
DELETED
package/dist/types/umd.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"umd.d.ts","sourceRoot":"","sources":["../../src/umd.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../../src/utils/arrays.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAAW,MAAM,OAAO,CAAC,SAAS,MAAM,OAAO,CAAC,YAc5E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/utils/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/utils/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,SAAU,SAAQ,KAAK;IAClC,aAAa,EAAE,KAAK,CAAC;gBAET,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO;CAIpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inbox-service-singleton.d.ts","sourceRoot":"","sources":["../../../src/utils/inbox-service-singleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAE3D,qBAAa,qBAAqB;;IAGhC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,YAAY;CAQhE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NotificationFilter, NotificationStatus } from '../types';
|
|
2
|
-
export declare const SEEN_OR_UNSEEN: NotificationStatus[];
|
|
3
|
-
export declare const READ_OR_UNREAD: NotificationStatus[];
|
|
4
|
-
export declare const areTagsEqual: (tags1?: string[], tags2?: string[]) => boolean;
|
|
5
|
-
export declare const isSameFilter: (filter1: NotificationFilter, filter2: NotificationFilter) => boolean;
|
|
6
|
-
//# sourceMappingURL=notification-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/notification-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGlE,eAAO,MAAM,cAAc,sBAAuD,CAAC;AACnF,eAAO,MAAM,cAAc,sBAAuD,CAAC;AAEnF,eAAO,MAAM,YAAY,WAAY,MAAM,EAAE,UAAU,MAAM,EAAE,YAE9D,CAAC;AAEF,eAAO,MAAM,YAAY,YAAa,kBAAkB,WAAW,kBAAkB,YAIpF,CAAC"}
|
package/dist/types/ws/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ws/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseModule } from '../base-module';
|
|
2
|
-
import { SocketEventNames } from '../event-emitter';
|
|
3
|
-
import { Session } from '../types';
|
|
4
|
-
export declare class Socket extends BaseModule {
|
|
5
|
-
#private;
|
|
6
|
-
constructor({ socketUrl }: {
|
|
7
|
-
socketUrl?: string;
|
|
8
|
-
});
|
|
9
|
-
protected onSessionSuccess({ token }: Session): void;
|
|
10
|
-
isSocketEvent(eventName: string): eventName is SocketEventNames;
|
|
11
|
-
initialize(): void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=socket.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../src/ws/socket.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAKL,gBAAgB,EACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAIL,OAAO,EAIR,MAAM,UAAU,CAAC;AA8ElB,qBAAa,MAAO,SAAQ,UAAU;;gBAMxB,EAAE,SAAS,EAAE,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE;IAMjD,SAAS,CAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,GAAG,IAAI;IAoDpD,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,IAAI,gBAAgB;IAM/D,UAAU,IAAI,IAAI;CAiBnB"}
|