@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.
Files changed (317) hide show
  1. package/dist/cjs/{chunk-PMLVIUWC.cjs → chunk-D7P7KCZI.js} +342 -255
  2. package/dist/cjs/index.d.ts +8 -0
  3. package/dist/cjs/index.js +58 -0
  4. package/dist/cjs/novu-04KlkBy4.d.ts +528 -0
  5. package/dist/cjs/ui/index.d.ts +145 -0
  6. package/dist/cjs/ui/{index.cjs → index.js} +218 -141
  7. package/dist/esm/{chunk-LDGUT6MH.mjs → chunk-APRCCICD.mjs} +342 -256
  8. package/dist/esm/index.d.mts +8 -0
  9. package/dist/esm/index.mjs +1 -1
  10. package/dist/esm/novu-04KlkBy4.d.mts +528 -0
  11. package/dist/esm/ui/index.d.mts +145 -0
  12. package/dist/esm/ui/index.mjs +131 -54
  13. package/dist/novu.min.js +10 -10
  14. package/dist/novu.min.js.gz +0 -0
  15. package/package.json +24 -16
  16. package/ui/package.json +5 -0
  17. package/dist/cjs/index.cjs +0 -50
  18. package/dist/types/api/inbox-service.d.ts +0 -65
  19. package/dist/types/api/inbox-service.d.ts.map +0 -1
  20. package/dist/types/api/index.d.ts +0 -2
  21. package/dist/types/api/index.d.ts.map +0 -1
  22. package/dist/types/base-module.d.ts +0 -13
  23. package/dist/types/base-module.d.ts.map +0 -1
  24. package/dist/types/cache/in-memory-cache.d.ts +0 -13
  25. package/dist/types/cache/in-memory-cache.d.ts.map +0 -1
  26. package/dist/types/cache/index.d.ts +0 -2
  27. package/dist/types/cache/index.d.ts.map +0 -1
  28. package/dist/types/cache/notifications-cache.d.ts +0 -22
  29. package/dist/types/cache/notifications-cache.d.ts.map +0 -1
  30. package/dist/types/cache/preferences-cache.d.ts +0 -11
  31. package/dist/types/cache/preferences-cache.d.ts.map +0 -1
  32. package/dist/types/cache/types.d.ts +0 -10
  33. package/dist/types/cache/types.d.ts.map +0 -1
  34. package/dist/types/event-emitter/index.d.ts +0 -3
  35. package/dist/types/event-emitter/index.d.ts.map +0 -1
  36. package/dist/types/event-emitter/novu-event-emitter.d.ts +0 -14
  37. package/dist/types/event-emitter/novu-event-emitter.d.ts.map +0 -1
  38. package/dist/types/event-emitter/types.d.ts +0 -85
  39. package/dist/types/event-emitter/types.d.ts.map +0 -1
  40. package/dist/types/index.d.ts +0 -3
  41. package/dist/types/index.d.ts.map +0 -1
  42. package/dist/types/notifications/helpers.d.ts +0 -57
  43. package/dist/types/notifications/helpers.d.ts.map +0 -1
  44. package/dist/types/notifications/index.d.ts +0 -4
  45. package/dist/types/notifications/index.d.ts.map +0 -1
  46. package/dist/types/notifications/notification.d.ts +0 -33
  47. package/dist/types/notifications/notification.d.ts.map +0 -1
  48. package/dist/types/notifications/notifications.d.ts +0 -44
  49. package/dist/types/notifications/notifications.d.ts.map +0 -1
  50. package/dist/types/notifications/types.d.ts +0 -55
  51. package/dist/types/notifications/types.d.ts.map +0 -1
  52. package/dist/types/novu.d.ts +0 -14
  53. package/dist/types/novu.d.ts.map +0 -1
  54. package/dist/types/preferences/helpers.d.ts +0 -11
  55. package/dist/types/preferences/helpers.d.ts.map +0 -1
  56. package/dist/types/preferences/index.d.ts +0 -2
  57. package/dist/types/preferences/index.d.ts.map +0 -1
  58. package/dist/types/preferences/preference.d.ts +0 -15
  59. package/dist/types/preferences/preference.d.ts.map +0 -1
  60. package/dist/types/preferences/preferences.d.ts +0 -15
  61. package/dist/types/preferences/preferences.d.ts.map +0 -1
  62. package/dist/types/preferences/types.d.ts +0 -15
  63. package/dist/types/preferences/types.d.ts.map +0 -1
  64. package/dist/types/session/index.d.ts +0 -3
  65. package/dist/types/session/index.d.ts.map +0 -1
  66. package/dist/types/session/session.d.ts +0 -7
  67. package/dist/types/session/session.d.ts.map +0 -1
  68. package/dist/types/session/types.d.ts +0 -6
  69. package/dist/types/session/types.d.ts.map +0 -1
  70. package/dist/types/types.d.ts +0 -150
  71. package/dist/types/types.d.ts.map +0 -1
  72. package/dist/types/ui/api/hooks/index.d.ts +0 -6
  73. package/dist/types/ui/api/hooks/index.d.ts.map +0 -1
  74. package/dist/types/ui/api/hooks/useArchiveAll.d.ts +0 -10
  75. package/dist/types/ui/api/hooks/useArchiveAll.d.ts.map +0 -1
  76. package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts +0 -10
  77. package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts.map +0 -1
  78. package/dist/types/ui/api/hooks/useNotifications.d.ts +0 -17
  79. package/dist/types/ui/api/hooks/useNotifications.d.ts.map +0 -1
  80. package/dist/types/ui/api/hooks/usePreferences.d.ts +0 -9
  81. package/dist/types/ui/api/hooks/usePreferences.d.ts.map +0 -1
  82. package/dist/types/ui/api/hooks/useReadAll.d.ts +0 -10
  83. package/dist/types/ui/api/hooks/useReadAll.d.ts.map +0 -1
  84. package/dist/types/ui/api/index.d.ts +0 -2
  85. package/dist/types/ui/api/index.d.ts.map +0 -1
  86. package/dist/types/ui/components/ExternalElementRenderer.d.ts +0 -7
  87. package/dist/types/ui/components/ExternalElementRenderer.d.ts.map +0 -1
  88. package/dist/types/ui/components/Inbox.d.ts +0 -24
  89. package/dist/types/ui/components/Inbox.d.ts.map +0 -1
  90. package/dist/types/ui/components/InboxTabs/InboxTab.d.ts +0 -16
  91. package/dist/types/ui/components/InboxTabs/InboxTab.d.ts.map +0 -1
  92. package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts +0 -11
  93. package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts.map +0 -1
  94. package/dist/types/ui/components/InboxTabs/index.d.ts +0 -2
  95. package/dist/types/ui/components/InboxTabs/index.d.ts.map +0 -1
  96. package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts +0 -11
  97. package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts.map +0 -1
  98. package/dist/types/ui/components/Notification/DefaultNotification.d.ts +0 -12
  99. package/dist/types/ui/components/Notification/DefaultNotification.d.ts.map +0 -1
  100. package/dist/types/ui/components/Notification/NewMessagesCta.d.ts +0 -6
  101. package/dist/types/ui/components/Notification/NewMessagesCta.d.ts.map +0 -1
  102. package/dist/types/ui/components/Notification/Notification.d.ts +0 -12
  103. package/dist/types/ui/components/Notification/Notification.d.ts.map +0 -1
  104. package/dist/types/ui/components/Notification/NotificationList.d.ts +0 -14
  105. package/dist/types/ui/components/Notification/NotificationList.d.ts.map +0 -1
  106. package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts +0 -7
  107. package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts.map +0 -1
  108. package/dist/types/ui/components/Notification/index.d.ts +0 -3
  109. package/dist/types/ui/components/Notification/index.d.ts.map +0 -1
  110. package/dist/types/ui/components/Renderer.d.ts +0 -44
  111. package/dist/types/ui/components/Renderer.d.ts.map +0 -1
  112. package/dist/types/ui/components/elements/Bell/Bell.d.ts +0 -8
  113. package/dist/types/ui/components/elements/Bell/Bell.d.ts.map +0 -1
  114. package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts +0 -6
  115. package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts.map +0 -1
  116. package/dist/types/ui/components/elements/Bell/index.d.ts +0 -2
  117. package/dist/types/ui/components/elements/Bell/index.d.ts.map +0 -1
  118. package/dist/types/ui/components/elements/Footer.d.ts +0 -2
  119. package/dist/types/ui/components/elements/Footer.d.ts.map +0 -1
  120. package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts +0 -6
  121. package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts.map +0 -1
  122. package/dist/types/ui/components/elements/Header/Header.d.ts +0 -6
  123. package/dist/types/ui/components/elements/Header/Header.d.ts.map +0 -1
  124. package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts +0 -2
  125. package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts.map +0 -1
  126. package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts +0 -9
  127. package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts.map +0 -1
  128. package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts +0 -6
  129. package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts.map +0 -1
  130. package/dist/types/ui/components/elements/Header/index.d.ts +0 -3
  131. package/dist/types/ui/components/elements/Header/index.d.ts.map +0 -1
  132. package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts +0 -2
  133. package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts.map +0 -1
  134. package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts +0 -14
  135. package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts.map +0 -1
  136. package/dist/types/ui/components/elements/InboxStatus/constants.d.ts +0 -11
  137. package/dist/types/ui/components/elements/InboxStatus/constants.d.ts.map +0 -1
  138. package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts +0 -18
  139. package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts.map +0 -1
  140. package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts +0 -2
  141. package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts.map +0 -1
  142. package/dist/types/ui/components/elements/Preferences/Preferences.d.ts +0 -2
  143. package/dist/types/ui/components/elements/Preferences/Preferences.d.ts.map +0 -1
  144. package/dist/types/ui/components/elements/Preferences/Switch.d.ts +0 -8
  145. package/dist/types/ui/components/elements/Preferences/Switch.d.ts.map +0 -1
  146. package/dist/types/ui/components/elements/Preferences/index.d.ts +0 -2
  147. package/dist/types/ui/components/elements/Preferences/index.d.ts.map +0 -1
  148. package/dist/types/ui/components/elements/Root.d.ts +0 -3
  149. package/dist/types/ui/components/elements/Root.d.ts.map +0 -1
  150. package/dist/types/ui/components/elements/index.d.ts +0 -6
  151. package/dist/types/ui/components/elements/index.d.ts.map +0 -1
  152. package/dist/types/ui/components/index.d.ts +0 -4
  153. package/dist/types/ui/components/index.d.ts.map +0 -1
  154. package/dist/types/ui/components/primitives/Button.d.ts +0 -13
  155. package/dist/types/ui/components/primitives/Button.d.ts.map +0 -1
  156. package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts +0 -8
  157. package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts.map +0 -1
  158. package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts +0 -9
  159. package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts.map +0 -1
  160. package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts +0 -4
  161. package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts.map +0 -1
  162. package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts +0 -8
  163. package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts.map +0 -1
  164. package/dist/types/ui/components/primitives/Dropdown/index.d.ts +0 -44
  165. package/dist/types/ui/components/primitives/Dropdown/index.d.ts.map +0 -1
  166. package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts +0 -7
  167. package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts.map +0 -1
  168. package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts +0 -9
  169. package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts.map +0 -1
  170. package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts +0 -23
  171. package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts.map +0 -1
  172. package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts +0 -9
  173. package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts.map +0 -1
  174. package/dist/types/ui/components/primitives/Popover/index.d.ts +0 -28
  175. package/dist/types/ui/components/primitives/Popover/index.d.ts.map +0 -1
  176. package/dist/types/ui/components/primitives/Skeleton.d.ts +0 -14
  177. package/dist/types/ui/components/primitives/Skeleton.d.ts.map +0 -1
  178. package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts +0 -10
  179. package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts.map +0 -1
  180. package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts +0 -11
  181. package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts.map +0 -1
  182. package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts +0 -20
  183. package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts.map +0 -1
  184. package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts +0 -13
  185. package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts.map +0 -1
  186. package/dist/types/ui/components/primitives/Tabs/index.d.ts +0 -35
  187. package/dist/types/ui/components/primitives/Tabs/index.d.ts.map +0 -1
  188. package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts +0 -7
  189. package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts.map +0 -1
  190. package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts +0 -9
  191. package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts.map +0 -1
  192. package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts +0 -21
  193. package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts.map +0 -1
  194. package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts +0 -9
  195. package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts.map +0 -1
  196. package/dist/types/ui/components/primitives/Tooltip/index.d.ts +0 -21
  197. package/dist/types/ui/components/primitives/Tooltip/index.d.ts.map +0 -1
  198. package/dist/types/ui/components/primitives/index.d.ts +0 -5
  199. package/dist/types/ui/components/primitives/index.d.ts.map +0 -1
  200. package/dist/types/ui/config/appearanceKeys.d.ts +0 -2
  201. package/dist/types/ui/config/appearanceKeys.d.ts.map +0 -1
  202. package/dist/types/ui/config/defaultLocalization.d.ts +0 -26
  203. package/dist/types/ui/config/defaultLocalization.d.ts.map +0 -1
  204. package/dist/types/ui/config/defaultVariables.d.ts +0 -3
  205. package/dist/types/ui/config/defaultVariables.d.ts.map +0 -1
  206. package/dist/types/ui/config/index.d.ts +0 -4
  207. package/dist/types/ui/config/index.d.ts.map +0 -1
  208. package/dist/types/ui/context/AppearanceContext.d.ts +0 -17
  209. package/dist/types/ui/context/AppearanceContext.d.ts.map +0 -1
  210. package/dist/types/ui/context/CountContext.d.ts +0 -23
  211. package/dist/types/ui/context/CountContext.d.ts.map +0 -1
  212. package/dist/types/ui/context/FocusManagerContext.d.ts +0 -12
  213. package/dist/types/ui/context/FocusManagerContext.d.ts.map +0 -1
  214. package/dist/types/ui/context/InboxContext.d.ts +0 -25
  215. package/dist/types/ui/context/InboxContext.d.ts.map +0 -1
  216. package/dist/types/ui/context/LocalizationContext.d.ts +0 -24
  217. package/dist/types/ui/context/LocalizationContext.d.ts.map +0 -1
  218. package/dist/types/ui/context/NovuContext.d.ts +0 -11
  219. package/dist/types/ui/context/NovuContext.d.ts.map +0 -1
  220. package/dist/types/ui/context/index.d.ts +0 -7
  221. package/dist/types/ui/context/index.d.ts.map +0 -1
  222. package/dist/types/ui/helpers/browser.d.ts +0 -2
  223. package/dist/types/ui/helpers/browser.d.ts.map +0 -1
  224. package/dist/types/ui/helpers/constants.d.ts +0 -5
  225. package/dist/types/ui/helpers/constants.d.ts.map +0 -1
  226. package/dist/types/ui/helpers/createDelayedLoading.d.ts +0 -3
  227. package/dist/types/ui/helpers/createDelayedLoading.d.ts.map +0 -1
  228. package/dist/types/ui/helpers/createInfiniteScroll.d.ts +0 -19
  229. package/dist/types/ui/helpers/createInfiniteScroll.d.ts.map +0 -1
  230. package/dist/types/ui/helpers/formatToRelativeTime.d.ts +0 -6
  231. package/dist/types/ui/helpers/formatToRelativeTime.d.ts.map +0 -1
  232. package/dist/types/ui/helpers/index.d.ts +0 -7
  233. package/dist/types/ui/helpers/index.d.ts.map +0 -1
  234. package/dist/types/ui/helpers/types.d.ts +0 -4
  235. package/dist/types/ui/helpers/types.d.ts.map +0 -1
  236. package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts +0 -7
  237. package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts.map +0 -1
  238. package/dist/types/ui/helpers/useFocusTrap.d.ts +0 -7
  239. package/dist/types/ui/helpers/useFocusTrap.d.ts.map +0 -1
  240. package/dist/types/ui/helpers/useNovuEvent.d.ts +0 -6
  241. package/dist/types/ui/helpers/useNovuEvent.d.ts.map +0 -1
  242. package/dist/types/ui/helpers/useStyle.d.ts +0 -3
  243. package/dist/types/ui/helpers/useStyle.d.ts.map +0 -1
  244. package/dist/types/ui/helpers/useUncontrolledState.d.ts +0 -9
  245. package/dist/types/ui/helpers/useUncontrolledState.d.ts.map +0 -1
  246. package/dist/types/ui/helpers/useWebSocketEvent.d.ts +0 -6
  247. package/dist/types/ui/helpers/useWebSocketEvent.d.ts.map +0 -1
  248. package/dist/types/ui/helpers/utils.d.ts +0 -33
  249. package/dist/types/ui/helpers/utils.d.ts.map +0 -1
  250. package/dist/types/ui/icons/Archive.d.ts +0 -3
  251. package/dist/types/ui/icons/Archive.d.ts.map +0 -1
  252. package/dist/types/ui/icons/ArchiveRead.d.ts +0 -3
  253. package/dist/types/ui/icons/ArchiveRead.d.ts.map +0 -1
  254. package/dist/types/ui/icons/ArrowDropDown.d.ts +0 -3
  255. package/dist/types/ui/icons/ArrowDropDown.d.ts.map +0 -1
  256. package/dist/types/ui/icons/ArrowLeft.d.ts +0 -3
  257. package/dist/types/ui/icons/ArrowLeft.d.ts.map +0 -1
  258. package/dist/types/ui/icons/BellIcon.d.ts +0 -3
  259. package/dist/types/ui/icons/BellIcon.d.ts.map +0 -1
  260. package/dist/types/ui/icons/Chat.d.ts +0 -3
  261. package/dist/types/ui/icons/Chat.d.ts.map +0 -1
  262. package/dist/types/ui/icons/Check.d.ts +0 -3
  263. package/dist/types/ui/icons/Check.d.ts.map +0 -1
  264. package/dist/types/ui/icons/Dots.d.ts +0 -3
  265. package/dist/types/ui/icons/Dots.d.ts.map +0 -1
  266. package/dist/types/ui/icons/Email.d.ts +0 -3
  267. package/dist/types/ui/icons/Email.d.ts.map +0 -1
  268. package/dist/types/ui/icons/EmptyIcon.d.ts +0 -3
  269. package/dist/types/ui/icons/EmptyIcon.d.ts.map +0 -1
  270. package/dist/types/ui/icons/InApp.d.ts +0 -3
  271. package/dist/types/ui/icons/InApp.d.ts.map +0 -1
  272. package/dist/types/ui/icons/Inbox.d.ts +0 -3
  273. package/dist/types/ui/icons/Inbox.d.ts.map +0 -1
  274. package/dist/types/ui/icons/Lock.d.ts +0 -2
  275. package/dist/types/ui/icons/Lock.d.ts.map +0 -1
  276. package/dist/types/ui/icons/Novu.d.ts +0 -3
  277. package/dist/types/ui/icons/Novu.d.ts.map +0 -1
  278. package/dist/types/ui/icons/Push.d.ts +0 -3
  279. package/dist/types/ui/icons/Push.d.ts.map +0 -1
  280. package/dist/types/ui/icons/ReadAll.d.ts +0 -3
  281. package/dist/types/ui/icons/ReadAll.d.ts.map +0 -1
  282. package/dist/types/ui/icons/Settings.d.ts +0 -3
  283. package/dist/types/ui/icons/Settings.d.ts.map +0 -1
  284. package/dist/types/ui/icons/Sms.d.ts +0 -3
  285. package/dist/types/ui/icons/Sms.d.ts.map +0 -1
  286. package/dist/types/ui/icons/Unarchive.d.ts +0 -3
  287. package/dist/types/ui/icons/Unarchive.d.ts.map +0 -1
  288. package/dist/types/ui/icons/Unread.d.ts +0 -3
  289. package/dist/types/ui/icons/Unread.d.ts.map +0 -1
  290. package/dist/types/ui/icons/index.d.ts +0 -20
  291. package/dist/types/ui/icons/index.d.ts.map +0 -1
  292. package/dist/types/ui/index.d.ts +0 -6
  293. package/dist/types/ui/index.d.ts.map +0 -1
  294. package/dist/types/ui/novuUI.d.ts +0 -25
  295. package/dist/types/ui/novuUI.d.ts.map +0 -1
  296. package/dist/types/ui/themes/dark.d.ts +0 -3
  297. package/dist/types/ui/themes/dark.d.ts.map +0 -1
  298. package/dist/types/ui/themes/index.d.ts +0 -2
  299. package/dist/types/ui/themes/index.d.ts.map +0 -1
  300. package/dist/types/ui/types.d.ts +0 -57
  301. package/dist/types/ui/types.d.ts.map +0 -1
  302. package/dist/types/umd.d.ts +0 -2
  303. package/dist/types/umd.d.ts.map +0 -1
  304. package/dist/types/utils/arrays.d.ts +0 -2
  305. package/dist/types/utils/arrays.d.ts.map +0 -1
  306. package/dist/types/utils/config.d.ts +0 -2
  307. package/dist/types/utils/config.d.ts.map +0 -1
  308. package/dist/types/utils/errors.d.ts +0 -5
  309. package/dist/types/utils/errors.d.ts.map +0 -1
  310. package/dist/types/utils/inbox-service-singleton.d.ts +0 -6
  311. package/dist/types/utils/inbox-service-singleton.d.ts.map +0 -1
  312. package/dist/types/utils/notification-utils.d.ts +0 -6
  313. package/dist/types/utils/notification-utils.d.ts.map +0 -1
  314. package/dist/types/ws/index.d.ts +0 -2
  315. package/dist/types/ws/index.d.ts.map +0 -1
  316. package/dist/types/ws/socket.d.ts +0 -13
  317. 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,6 +0,0 @@
1
- export declare function formatToRelativeTime({ fromDate, locale, toDate, }: {
2
- fromDate: Date;
3
- locale?: string;
4
- toDate?: Date;
5
- }): string;
6
- //# sourceMappingURL=formatToRelativeTime.d.ts.map
@@ -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,7 +0,0 @@
1
- export * from './createInfiniteScroll';
2
- export * from './formatToRelativeTime';
3
- export * from './useStyle';
4
- export * from './useUncontrolledState';
5
- export * from './utils';
6
- export * from './constants';
7
- //# sourceMappingURL=index.d.ts.map
@@ -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,4 +0,0 @@
1
- export type Path<T, K extends string = ''> = T extends string ? K : {
2
- [P in keyof T]-?: Path<T[P], `${K}${K extends '' ? '' : '.'}${P & string}`>;
3
- }[keyof T];
4
- //# sourceMappingURL=types.d.ts.map
@@ -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,7 +0,0 @@
1
- export declare const useBrowserTabsChannel: <T = unknown>({ channelName, onMessage, }: {
2
- channelName: string;
3
- onMessage: (args: T) => void;
4
- }) => {
5
- postMessage: (data: T) => void;
6
- };
7
- //# sourceMappingURL=useBrowserTabsChannel.d.ts.map
@@ -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,7 +0,0 @@
1
- interface FocusTrapOptions {
2
- element: () => HTMLElement | null;
3
- enabled: () => boolean;
4
- }
5
- declare function createFocusTrap({ element, enabled }: FocusTrapOptions): void;
6
- export default createFocusTrap;
7
- //# sourceMappingURL=useFocusTrap.d.ts.map
@@ -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,3 +0,0 @@
1
- import type { AppearanceKey } from '../types';
2
- export declare const useStyle: () => (appearanceKey: AppearanceKey, className?: string) => string;
3
- //# sourceMappingURL=useStyle.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Archive: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Archive.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const ArchiveRead: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ArchiveRead.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const ArrowDropDown: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ArrowDropDown.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const ArrowLeft: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ArrowLeft.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare function BellIcon(props?: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
3
- //# sourceMappingURL=BellIcon.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Chat: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Chat.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Check: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Check.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Dots: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Dots.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Email: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Email.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare function EmptyIcon(props?: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
3
- //# sourceMappingURL=EmptyIcon.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const InApp: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=InApp.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Inbox: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Inbox.d.ts.map
@@ -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,2 +0,0 @@
1
- export declare const Lock: () => import("solid-js").JSX.Element;
2
- //# sourceMappingURL=Lock.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Novu: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Novu.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Push: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Push.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const ReadAll: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ReadAll.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Settings: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Settings.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Sms: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Sms.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Unarchive: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Unarchive.d.ts.map
@@ -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,3 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- export declare const Unread: (props?: JSX.HTMLAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Unread.d.ts.map
@@ -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"}
@@ -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,3 +0,0 @@
1
- import type { Theme } from '../types';
2
- export declare const dark: Theme;
3
- //# sourceMappingURL=dark.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './dark';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=umd.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"umd.d.ts","sourceRoot":"","sources":["../../src/umd.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare const arrayValuesEqual: (arr1?: Array<unknown>, arr2?: Array<unknown>) => boolean;
2
- //# sourceMappingURL=arrays.d.ts.map
@@ -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,2 +0,0 @@
1
- export declare const PRODUCTION_BACKEND_URL = "https://api.novu.co";
2
- //# sourceMappingURL=config.d.ts.map
@@ -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,5 +0,0 @@
1
- export declare class NovuError extends Error {
2
- originalError: Error;
3
- constructor(message: string, originalError: unknown);
4
- }
5
- //# sourceMappingURL=errors.d.ts.map
@@ -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,6 +0,0 @@
1
- import { InboxService, InboxServiceOptions } from '../api';
2
- export declare class InboxServiceSingleton {
3
- #private;
4
- static getInstance(options?: InboxServiceOptions): InboxService;
5
- }
6
- //# sourceMappingURL=inbox-service-singleton.d.ts.map
@@ -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"}
@@ -1,2 +0,0 @@
1
- export * from './socket';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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"}