@selfcommunity/react-core 0.4.0-alpha.1 → 0.4.0-alpha.100
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/lib/cjs/components/provider/SCAlertMessagesProvider/index.js +2 -24
- package/lib/cjs/components/provider/SCAlertMessagesProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCContextProvider/index.js +3 -28
- package/lib/cjs/components/provider/SCContextProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCLocaleProvider/index.js +2 -24
- package/lib/cjs/components/provider/SCLocaleProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCNotificationProvider/index.d.ts.map +1 -1
- package/lib/cjs/components/provider/SCNotificationProvider/index.js +7 -30
- package/lib/cjs/components/provider/SCNotificationProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCPreferencesProvider/index.js +2 -24
- package/lib/cjs/components/provider/SCPreferencesProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCRoutingProvider/index.d.ts.map +1 -1
- package/lib/cjs/components/provider/SCRoutingProvider/index.js +6 -27
- package/lib/cjs/components/provider/SCRoutingProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCThemeProvider/index.js +3 -28
- package/lib/cjs/components/provider/SCThemeProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCUserProvider/index.d.ts.map +1 -1
- package/lib/cjs/components/provider/SCUserProvider/index.js +37 -47
- package/lib/cjs/components/provider/SCUserProvider/index.js.map +1 -1
- package/lib/cjs/components/provider/SCVoteProvider/index.d.ts +38 -0
- package/lib/cjs/components/provider/SCVoteProvider/index.d.ts.map +1 -0
- package/lib/cjs/components/provider/SCVoteProvider/index.js +113 -0
- package/lib/cjs/components/provider/SCVoteProvider/index.js.map +1 -0
- package/lib/cjs/components/router/index.js +5 -38
- package/lib/cjs/components/router/index.js.map +1 -1
- package/lib/cjs/constants/Cache.d.ts +29 -14
- package/lib/cjs/constants/Cache.d.ts.map +1 -1
- package/lib/cjs/constants/Cache.js +36 -16
- package/lib/cjs/constants/Cache.js.map +1 -1
- package/lib/cjs/constants/ContextProviders.d.ts.map +1 -1
- package/lib/cjs/constants/ContextProviders.js +12 -12
- package/lib/cjs/constants/ContextProviders.js.map +1 -1
- package/lib/cjs/constants/Device.d.ts +22 -0
- package/lib/cjs/constants/Device.d.ts.map +1 -1
- package/lib/cjs/constants/Device.js +27 -1
- package/lib/cjs/constants/Device.js.map +1 -1
- package/lib/cjs/constants/Features.d.ts +0 -42
- package/lib/cjs/constants/Features.d.ts.map +1 -1
- package/lib/cjs/constants/Features.js +1 -43
- package/lib/cjs/constants/Features.js.map +1 -1
- package/lib/cjs/constants/Notification.d.ts +8 -0
- package/lib/cjs/constants/Notification.d.ts.map +1 -1
- package/lib/cjs/constants/Notification.js +9 -1
- package/lib/cjs/constants/Notification.js.map +1 -1
- package/lib/cjs/constants/Notifications.d.ts +3 -0
- package/lib/cjs/constants/Notifications.d.ts.map +1 -1
- package/lib/cjs/constants/Notifications.js +7 -1
- package/lib/cjs/constants/Notifications.js.map +1 -1
- package/lib/cjs/constants/Preferences.d.ts +13 -1
- package/lib/cjs/constants/Preferences.d.ts.map +1 -1
- package/lib/cjs/constants/Preferences.js +21 -4
- package/lib/cjs/constants/Preferences.js.map +1 -1
- package/lib/cjs/constants/Routes.d.ts +4 -2
- package/lib/cjs/constants/Routes.d.ts.map +1 -1
- package/lib/cjs/constants/Routes.js +10 -6
- package/lib/cjs/constants/Routes.js.map +1 -1
- package/lib/cjs/constants/Vote.d.ts +7 -0
- package/lib/cjs/constants/Vote.d.ts.map +1 -0
- package/lib/cjs/constants/Vote.js +10 -0
- package/lib/cjs/constants/Vote.js.map +1 -0
- package/lib/cjs/hooks/useSCAuth.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCAuth.js +34 -50
- package/lib/cjs/hooks/useSCAuth.js.map +1 -1
- package/lib/cjs/hooks/useSCBlockedUsersManager.d.ts +31 -0
- package/lib/cjs/hooks/useSCBlockedUsersManager.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCBlockedUsersManager.js +109 -0
- package/lib/cjs/hooks/useSCBlockedUsersManager.js.map +1 -0
- package/lib/cjs/hooks/useSCCachingManager.d.ts +5 -4
- package/lib/cjs/hooks/useSCCachingManager.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCCachingManager.js +21 -5
- package/lib/cjs/hooks/useSCCachingManager.js.map +1 -1
- package/lib/cjs/hooks/useSCConnectionsManager.d.ts +8 -4
- package/lib/cjs/hooks/useSCConnectionsManager.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCConnectionsManager.js +141 -90
- package/lib/cjs/hooks/useSCConnectionsManager.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchAddressingTagList.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchAddressingTagList.js +2 -25
- package/lib/cjs/hooks/useSCFetchAddressingTagList.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchBroadcastMessages.d.ts +31 -0
- package/lib/cjs/hooks/useSCFetchBroadcastMessages.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCFetchBroadcastMessages.js +92 -0
- package/lib/cjs/hooks/useSCFetchBroadcastMessages.js.map +1 -0
- package/lib/cjs/hooks/useSCFetchCategories.js +2 -10
- package/lib/cjs/hooks/useSCFetchCategories.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchCategory.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchCategory.js +13 -11
- package/lib/cjs/hooks/useSCFetchCategory.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchCommentObject.js +1 -1
- package/lib/cjs/hooks/useSCFetchCommentObject.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchCommentObjects.d.ts +2 -2
- package/lib/cjs/hooks/useSCFetchCommentObjects.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchCommentObjects.js +2 -4
- package/lib/cjs/hooks/useSCFetchCommentObjects.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchContributors.d.ts +2 -2
- package/lib/cjs/hooks/useSCFetchContributors.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchContributors.js +2 -4
- package/lib/cjs/hooks/useSCFetchContributors.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchCustomAdv.js +2 -4
- package/lib/cjs/hooks/useSCFetchCustomAdv.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchFeed.js +3 -5
- package/lib/cjs/hooks/useSCFetchFeed.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchFeedObject.d.ts +3 -4
- package/lib/cjs/hooks/useSCFetchFeedObject.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchFeedObject.js +15 -9
- package/lib/cjs/hooks/useSCFetchFeedObject.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchIncubator.d.ts +4 -1
- package/lib/cjs/hooks/useSCFetchIncubator.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchIncubator.js +28 -7
- package/lib/cjs/hooks/useSCFetchIncubator.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.d.ts +26 -0
- package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.js +102 -0
- package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.js.map +1 -0
- package/lib/cjs/hooks/useSCFetchReactions.d.ts +1 -0
- package/lib/cjs/hooks/useSCFetchReactions.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchReactions.js +9 -55
- package/lib/cjs/hooks/useSCFetchReactions.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchUser.d.ts +2 -0
- package/lib/cjs/hooks/useSCFetchUser.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFetchUser.js +33 -7
- package/lib/cjs/hooks/useSCFetchUser.js.map +1 -1
- package/lib/cjs/hooks/useSCFetchUserBlockedBy.d.ts +18 -0
- package/lib/cjs/hooks/useSCFetchUserBlockedBy.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCFetchUserBlockedBy.js +84 -0
- package/lib/cjs/hooks/useSCFetchUserBlockedBy.js.map +1 -0
- package/lib/cjs/hooks/useSCFetchVote.d.ts +58 -0
- package/lib/cjs/hooks/useSCFetchVote.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCFetchVote.js +195 -0
- package/lib/cjs/hooks/useSCFetchVote.js.map +1 -0
- package/lib/cjs/hooks/useSCFollowedCategoriesManager.d.ts +4 -4
- package/lib/cjs/hooks/useSCFollowedCategoriesManager.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFollowedCategoriesManager.js +26 -16
- package/lib/cjs/hooks/useSCFollowedCategoriesManager.js.map +1 -1
- package/lib/cjs/hooks/useSCFollowedManager.d.ts +4 -4
- package/lib/cjs/hooks/useSCFollowedManager.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCFollowedManager.js +38 -23
- package/lib/cjs/hooks/useSCFollowedManager.js.map +1 -1
- package/lib/cjs/hooks/useSCFollowersManager.d.ts +4 -4
- package/lib/cjs/hooks/useSCFollowersManager.js +7 -9
- package/lib/cjs/hooks/useSCFollowersManager.js.map +1 -1
- package/lib/cjs/hooks/useSCMobileNativePushMessaging.d.ts +20 -0
- package/lib/cjs/hooks/useSCMobileNativePushMessaging.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCMobileNativePushMessaging.js +144 -0
- package/lib/cjs/hooks/useSCMobileNativePushMessaging.js.map +1 -0
- package/lib/cjs/hooks/useSCSettingsManager.d.ts +23 -0
- package/lib/cjs/hooks/useSCSettingsManager.d.ts.map +1 -0
- package/lib/cjs/hooks/useSCSettingsManager.js +101 -0
- package/lib/cjs/hooks/useSCSettingsManager.js.map +1 -0
- package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.d.ts +12 -2
- package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.js +39 -31
- package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.js.map +1 -1
- package/lib/cjs/hooks/useSCWebPushMessaging.d.ts +12 -1
- package/lib/cjs/hooks/useSCWebPushMessaging.d.ts.map +1 -1
- package/lib/cjs/hooks/useSCWebPushMessaging.js +188 -105
- package/lib/cjs/hooks/useSCWebPushMessaging.js.map +1 -1
- package/lib/cjs/hooks/useSCWebSocket.d.ts +1 -1
- package/lib/cjs/hooks/useSCWebSocket.js +3 -5
- package/lib/cjs/hooks/useSCWebSocket.js.map +1 -1
- package/lib/cjs/index.d.ts +6 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +42 -59
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/themes/theme.d.ts.map +1 -1
- package/lib/cjs/themes/theme.js +2 -77
- package/lib/cjs/themes/theme.js.map +1 -1
- package/lib/cjs/types/context.d.ts +119 -5
- package/lib/cjs/types/context.d.ts.map +1 -1
- package/lib/cjs/types/index.d.ts +2 -2
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/utils/errors.d.ts +5 -5
- package/lib/cjs/utils/errors.d.ts.map +1 -1
- package/lib/cjs/utils/errors.js +13 -33
- package/lib/cjs/utils/errors.js.map +1 -1
- package/lib/cjs/utils/hooks/index.js +6 -8
- package/lib/cjs/utils/hooks/index.js.map +1 -1
- package/lib/cjs/utils/locale.js +2 -4
- package/lib/cjs/utils/locale.js.map +1 -1
- package/lib/cjs/utils/notification.d.ts +9 -0
- package/lib/cjs/utils/notification.d.ts.map +1 -0
- package/lib/cjs/utils/notification.js +21 -0
- package/lib/cjs/utils/notification.js.map +1 -0
- package/lib/cjs/utils/validator.d.ts +49 -2
- package/lib/cjs/utils/validator.d.ts.map +1 -1
- package/lib/cjs/utils/validator.js +144 -40
- package/lib/cjs/utils/validator.js.map +1 -1
- package/lib/esm/components/provider/SCNotificationProvider/index.d.ts.map +1 -1
- package/lib/esm/components/provider/SCNotificationProvider/index.js +3 -1
- package/lib/esm/components/provider/SCNotificationProvider/index.js.map +1 -1
- package/lib/esm/components/provider/SCRoutingProvider/index.d.ts.map +1 -1
- package/lib/esm/components/provider/SCRoutingProvider/index.js +3 -2
- package/lib/esm/components/provider/SCRoutingProvider/index.js.map +1 -1
- package/lib/esm/components/provider/SCUserProvider/index.d.ts.map +1 -1
- package/lib/esm/components/provider/SCUserProvider/index.js +28 -13
- package/lib/esm/components/provider/SCUserProvider/index.js.map +1 -1
- package/lib/esm/components/provider/SCVoteProvider/index.d.ts +38 -0
- package/lib/esm/components/provider/SCVoteProvider/index.d.ts.map +1 -0
- package/lib/esm/components/provider/SCVoteProvider/index.js +107 -0
- package/lib/esm/components/provider/SCVoteProvider/index.js.map +1 -0
- package/lib/esm/components/router/index.js +2 -12
- package/lib/esm/components/router/index.js.map +1 -1
- package/lib/esm/constants/Cache.d.ts +29 -14
- package/lib/esm/constants/Cache.d.ts.map +1 -1
- package/lib/esm/constants/Cache.js +29 -14
- package/lib/esm/constants/Cache.js.map +1 -1
- package/lib/esm/constants/ContextProviders.d.ts.map +1 -1
- package/lib/esm/constants/ContextProviders.js +4 -2
- package/lib/esm/constants/ContextProviders.js.map +1 -1
- package/lib/esm/constants/Device.d.ts +22 -0
- package/lib/esm/constants/Device.d.ts.map +1 -1
- package/lib/esm/constants/Device.js +26 -0
- package/lib/esm/constants/Device.js.map +1 -1
- package/lib/esm/constants/Features.d.ts +0 -42
- package/lib/esm/constants/Features.d.ts.map +1 -1
- package/lib/esm/constants/Features.js +0 -42
- package/lib/esm/constants/Features.js.map +1 -1
- package/lib/esm/constants/Notification.d.ts +8 -0
- package/lib/esm/constants/Notification.d.ts.map +1 -1
- package/lib/esm/constants/Notification.js +8 -0
- package/lib/esm/constants/Notification.js.map +1 -1
- package/lib/esm/constants/Notifications.d.ts +3 -0
- package/lib/esm/constants/Notifications.d.ts.map +1 -1
- package/lib/esm/constants/Notifications.js +6 -0
- package/lib/esm/constants/Notifications.js.map +1 -1
- package/lib/esm/constants/Preferences.d.ts +13 -1
- package/lib/esm/constants/Preferences.d.ts.map +1 -1
- package/lib/esm/constants/Preferences.js +18 -2
- package/lib/esm/constants/Preferences.js.map +1 -1
- package/lib/esm/constants/Routes.d.ts +4 -2
- package/lib/esm/constants/Routes.d.ts.map +1 -1
- package/lib/esm/constants/Routes.js +9 -5
- package/lib/esm/constants/Routes.js.map +1 -1
- package/lib/esm/constants/Vote.d.ts +7 -0
- package/lib/esm/constants/Vote.d.ts.map +1 -0
- package/lib/esm/constants/Vote.js +7 -0
- package/lib/esm/constants/Vote.js.map +1 -0
- package/lib/esm/hooks/useSCAuth.d.ts.map +1 -1
- package/lib/esm/hooks/useSCAuth.js +31 -21
- package/lib/esm/hooks/useSCAuth.js.map +1 -1
- package/lib/esm/hooks/useSCBlockedUsersManager.d.ts +31 -0
- package/lib/esm/hooks/useSCBlockedUsersManager.d.ts.map +1 -0
- package/lib/esm/hooks/useSCBlockedUsersManager.js +106 -0
- package/lib/esm/hooks/useSCBlockedUsersManager.js.map +1 -0
- package/lib/esm/hooks/useSCCachingManager.d.ts +5 -4
- package/lib/esm/hooks/useSCCachingManager.d.ts.map +1 -1
- package/lib/esm/hooks/useSCCachingManager.js +21 -5
- package/lib/esm/hooks/useSCCachingManager.js.map +1 -1
- package/lib/esm/hooks/useSCConnectionsManager.d.ts +8 -4
- package/lib/esm/hooks/useSCConnectionsManager.d.ts.map +1 -1
- package/lib/esm/hooks/useSCConnectionsManager.js +138 -85
- package/lib/esm/hooks/useSCConnectionsManager.js.map +1 -1
- package/lib/esm/hooks/useSCFetchAddressingTagList.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchAddressingTagList.js +3 -3
- package/lib/esm/hooks/useSCFetchAddressingTagList.js.map +1 -1
- package/lib/esm/hooks/useSCFetchBroadcastMessages.d.ts +31 -0
- package/lib/esm/hooks/useSCFetchBroadcastMessages.d.ts.map +1 -0
- package/lib/esm/hooks/useSCFetchBroadcastMessages.js +90 -0
- package/lib/esm/hooks/useSCFetchBroadcastMessages.js.map +1 -0
- package/lib/esm/hooks/useSCFetchCategories.js +1 -9
- package/lib/esm/hooks/useSCFetchCategories.js.map +1 -1
- package/lib/esm/hooks/useSCFetchCategory.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchCategory.js +15 -13
- package/lib/esm/hooks/useSCFetchCategory.js.map +1 -1
- package/lib/esm/hooks/useSCFetchCommentObject.js +1 -1
- package/lib/esm/hooks/useSCFetchCommentObject.js.map +1 -1
- package/lib/esm/hooks/useSCFetchCommentObjects.d.ts +2 -2
- package/lib/esm/hooks/useSCFetchCommentObjects.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchCommentObjects.js.map +1 -1
- package/lib/esm/hooks/useSCFetchContributors.d.ts +2 -2
- package/lib/esm/hooks/useSCFetchContributors.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchContributors.js.map +1 -1
- package/lib/esm/hooks/useSCFetchFeed.js +1 -1
- package/lib/esm/hooks/useSCFetchFeed.js.map +1 -1
- package/lib/esm/hooks/useSCFetchFeedObject.d.ts +3 -4
- package/lib/esm/hooks/useSCFetchFeedObject.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchFeedObject.js +12 -6
- package/lib/esm/hooks/useSCFetchFeedObject.js.map +1 -1
- package/lib/esm/hooks/useSCFetchIncubator.d.ts +4 -1
- package/lib/esm/hooks/useSCFetchIncubator.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchIncubator.js +29 -8
- package/lib/esm/hooks/useSCFetchIncubator.js.map +1 -1
- package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.d.ts +26 -0
- package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.js +100 -0
- package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.js.map +1 -0
- package/lib/esm/hooks/useSCFetchReactions.d.ts +1 -0
- package/lib/esm/hooks/useSCFetchReactions.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchReactions.js +11 -34
- package/lib/esm/hooks/useSCFetchReactions.js.map +1 -1
- package/lib/esm/hooks/useSCFetchUser.d.ts +2 -0
- package/lib/esm/hooks/useSCFetchUser.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFetchUser.js +34 -8
- package/lib/esm/hooks/useSCFetchUser.js.map +1 -1
- package/lib/esm/hooks/useSCFetchUserBlockedBy.d.ts +18 -0
- package/lib/esm/hooks/useSCFetchUserBlockedBy.d.ts.map +1 -0
- package/lib/esm/hooks/useSCFetchUserBlockedBy.js +81 -0
- package/lib/esm/hooks/useSCFetchUserBlockedBy.js.map +1 -0
- package/lib/esm/hooks/useSCFetchVote.d.ts +58 -0
- package/lib/esm/hooks/useSCFetchVote.d.ts.map +1 -0
- package/lib/esm/hooks/useSCFetchVote.js +191 -0
- package/lib/esm/hooks/useSCFetchVote.js.map +1 -0
- package/lib/esm/hooks/useSCFollowedCategoriesManager.d.ts +4 -4
- package/lib/esm/hooks/useSCFollowedCategoriesManager.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFollowedCategoriesManager.js +25 -13
- package/lib/esm/hooks/useSCFollowedCategoriesManager.js.map +1 -1
- package/lib/esm/hooks/useSCFollowedManager.d.ts +4 -4
- package/lib/esm/hooks/useSCFollowedManager.d.ts.map +1 -1
- package/lib/esm/hooks/useSCFollowedManager.js +37 -20
- package/lib/esm/hooks/useSCFollowedManager.js.map +1 -1
- package/lib/esm/hooks/useSCFollowersManager.d.ts +4 -4
- package/lib/esm/hooks/useSCFollowersManager.js +4 -4
- package/lib/esm/hooks/useSCFollowersManager.js.map +1 -1
- package/lib/esm/hooks/useSCMobileNativePushMessaging.d.ts +20 -0
- package/lib/esm/hooks/useSCMobileNativePushMessaging.d.ts.map +1 -0
- package/lib/esm/hooks/useSCMobileNativePushMessaging.js +141 -0
- package/lib/esm/hooks/useSCMobileNativePushMessaging.js.map +1 -0
- package/lib/esm/hooks/useSCSettingsManager.d.ts +23 -0
- package/lib/esm/hooks/useSCSettingsManager.d.ts.map +1 -0
- package/lib/esm/hooks/useSCSettingsManager.js +98 -0
- package/lib/esm/hooks/useSCSettingsManager.js.map +1 -0
- package/lib/esm/hooks/useSCSubscribedIncubatorsManager.d.ts +12 -2
- package/lib/esm/hooks/useSCSubscribedIncubatorsManager.d.ts.map +1 -1
- package/lib/esm/hooks/useSCSubscribedIncubatorsManager.js +38 -28
- package/lib/esm/hooks/useSCSubscribedIncubatorsManager.js.map +1 -1
- package/lib/esm/hooks/useSCWebPushMessaging.d.ts +12 -1
- package/lib/esm/hooks/useSCWebPushMessaging.d.ts.map +1 -1
- package/lib/esm/hooks/useSCWebPushMessaging.js +185 -81
- package/lib/esm/hooks/useSCWebPushMessaging.js.map +1 -1
- package/lib/esm/hooks/useSCWebSocket.d.ts +1 -1
- package/lib/esm/hooks/useSCWebSocket.js +1 -1
- package/lib/esm/index.d.ts +6 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +5 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/themes/theme.d.ts.map +1 -1
- package/lib/esm/themes/theme.js +0 -73
- package/lib/esm/themes/theme.js.map +1 -1
- package/lib/esm/types/context.d.ts +119 -5
- package/lib/esm/types/context.d.ts.map +1 -1
- package/lib/esm/types/index.d.ts +2 -2
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/utils/errors.d.ts +5 -5
- package/lib/esm/utils/errors.d.ts.map +1 -1
- package/lib/esm/utils/errors.js +10 -7
- package/lib/esm/utils/errors.js.map +1 -1
- package/lib/esm/utils/notification.d.ts +9 -0
- package/lib/esm/utils/notification.d.ts.map +1 -0
- package/lib/esm/utils/notification.js +16 -0
- package/lib/esm/utils/notification.js.map +1 -0
- package/lib/esm/utils/validator.d.ts +49 -2
- package/lib/esm/utils/validator.d.ts.map +1 -1
- package/lib/esm/utils/validator.js +129 -7
- package/lib/esm/utils/validator.js.map +1 -1
- package/lib/umd/react-core.js +1 -1
- package/lib/umd/react-core.js.LICENSE.txt +1 -1
- package/package.json +16 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1,51 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.useSCFetchReactions = exports.useNoInitialEffect = exports.useEffectOnce = exports.useIsomorphicLayoutEffect = void 0;
|
|
3
|
+
exports.useIsComponentMountedRef = exports.useSCFetchFeed = exports.useSCFetchContributors = exports.useSCMediaClick = exports.useSCFetchIncubator = exports.useSCFetchCategories = exports.useSCFetchCategory = exports.useSCFetchAddressingTagList = exports.useSCFetchTag = exports.useSCFetchCustomAdv = exports.useSCFetchCommentObjects = exports.useSCFetchCommentObject = exports.useSCFetchFeedObject = exports.useSCFetchVote = exports.useSCFetchUserProviders = exports.useSCFetchUser = exports.Locale = exports.UserUtils = exports.SCCache = exports.SCRoutes = exports.Link = exports.useSCAlertMessages = exports.SCAlertMessagesContext = exports.SCAlertMessagesProvider = exports.useSCNotification = exports.SCNotificationContext = exports.SCNotificationProvider = exports.SCNotification = exports.SCFeatures = exports.SCPreferences = exports.SCPreferencesProvider = exports.withSCLocale = exports.useSCLocale = exports.SCLocaleProvider = exports.useSCRouting = exports.SCRoutingProvider = exports.withSCTheme = exports.useSCTheme = exports.SCThemeProvider = exports.useSCPreferences = exports.useSCUser = exports.SCUserProvider = exports.SCContextProvider = exports.useSCContext = exports.SCPreferencesContext = exports.SCLocaleContext = exports.SCRoutingContext = exports.SCThemeContext = exports.SCUserContext = exports.SCContext = void 0;
|
|
4
|
+
exports.useSCFetchUserBlockedBy = exports.useSCFetchBroadcastMessages = exports.useSCFetchPrivateMessageSnippets = exports.useSCFetchReactions = exports.useNoInitialEffect = exports.useEffectOnce = exports.useIsomorphicLayoutEffect = exports.usePreviousValue = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
31
6
|
/**
|
|
32
7
|
* ContextProvider component
|
|
33
8
|
*/
|
|
34
|
-
const SCContextProvider_1 = __importStar(require("./components/provider/SCContextProvider"));
|
|
9
|
+
const SCContextProvider_1 = tslib_1.__importStar(require("./components/provider/SCContextProvider"));
|
|
35
10
|
exports.SCContextProvider = SCContextProvider_1.default;
|
|
36
11
|
Object.defineProperty(exports, "SCContext", { enumerable: true, get: function () { return SCContextProvider_1.SCContext; } });
|
|
37
12
|
Object.defineProperty(exports, "useSCContext", { enumerable: true, get: function () { return SCContextProvider_1.useSCContext; } });
|
|
38
13
|
/**
|
|
39
14
|
* AuthProvider component
|
|
40
15
|
*/
|
|
41
|
-
const SCUserProvider_1 = __importStar(require("./components/provider/SCUserProvider"));
|
|
16
|
+
const SCUserProvider_1 = tslib_1.__importStar(require("./components/provider/SCUserProvider"));
|
|
42
17
|
exports.SCUserProvider = SCUserProvider_1.default;
|
|
43
18
|
Object.defineProperty(exports, "SCUserContext", { enumerable: true, get: function () { return SCUserProvider_1.SCUserContext; } });
|
|
44
19
|
Object.defineProperty(exports, "useSCUser", { enumerable: true, get: function () { return SCUserProvider_1.useSCUser; } });
|
|
45
20
|
/**
|
|
46
21
|
* ThemeProvider component
|
|
47
22
|
*/
|
|
48
|
-
const SCThemeProvider_1 = __importStar(require("./components/provider/SCThemeProvider"));
|
|
23
|
+
const SCThemeProvider_1 = tslib_1.__importStar(require("./components/provider/SCThemeProvider"));
|
|
49
24
|
exports.SCThemeProvider = SCThemeProvider_1.default;
|
|
50
25
|
Object.defineProperty(exports, "SCThemeContext", { enumerable: true, get: function () { return SCThemeProvider_1.SCThemeContext; } });
|
|
51
26
|
Object.defineProperty(exports, "useSCTheme", { enumerable: true, get: function () { return SCThemeProvider_1.useSCTheme; } });
|
|
@@ -53,14 +28,14 @@ Object.defineProperty(exports, "withSCTheme", { enumerable: true, get: function
|
|
|
53
28
|
/**
|
|
54
29
|
* RoutingProvider component
|
|
55
30
|
*/
|
|
56
|
-
const SCRoutingProvider_1 = __importStar(require("./components/provider/SCRoutingProvider"));
|
|
31
|
+
const SCRoutingProvider_1 = tslib_1.__importStar(require("./components/provider/SCRoutingProvider"));
|
|
57
32
|
exports.SCRoutingProvider = SCRoutingProvider_1.default;
|
|
58
33
|
Object.defineProperty(exports, "SCRoutingContext", { enumerable: true, get: function () { return SCRoutingProvider_1.SCRoutingContext; } });
|
|
59
34
|
Object.defineProperty(exports, "useSCRouting", { enumerable: true, get: function () { return SCRoutingProvider_1.useSCRouting; } });
|
|
60
35
|
/**
|
|
61
36
|
* LocaleProvider component
|
|
62
37
|
*/
|
|
63
|
-
const SCLocaleProvider_1 = __importStar(require("./components/provider/SCLocaleProvider"));
|
|
38
|
+
const SCLocaleProvider_1 = tslib_1.__importStar(require("./components/provider/SCLocaleProvider"));
|
|
64
39
|
exports.SCLocaleProvider = SCLocaleProvider_1.default;
|
|
65
40
|
Object.defineProperty(exports, "SCLocaleContext", { enumerable: true, get: function () { return SCLocaleProvider_1.SCLocaleContext; } });
|
|
66
41
|
Object.defineProperty(exports, "useSCLocale", { enumerable: true, get: function () { return SCLocaleProvider_1.useSCLocale; } });
|
|
@@ -68,77 +43,85 @@ Object.defineProperty(exports, "withSCLocale", { enumerable: true, get: function
|
|
|
68
43
|
/**
|
|
69
44
|
* NotificationProvider component
|
|
70
45
|
*/
|
|
71
|
-
const SCNotificationProvider_1 = __importStar(require("./components/provider/SCNotificationProvider"));
|
|
46
|
+
const SCNotificationProvider_1 = tslib_1.__importStar(require("./components/provider/SCNotificationProvider"));
|
|
72
47
|
exports.SCNotificationProvider = SCNotificationProvider_1.default;
|
|
73
48
|
Object.defineProperty(exports, "SCNotificationContext", { enumerable: true, get: function () { return SCNotificationProvider_1.SCNotificationContext; } });
|
|
74
49
|
Object.defineProperty(exports, "useSCNotification", { enumerable: true, get: function () { return SCNotificationProvider_1.useSCNotification; } });
|
|
75
50
|
/**
|
|
76
51
|
* AlertMessagesProvider component
|
|
77
52
|
*/
|
|
78
|
-
const SCAlertMessagesProvider_1 = __importStar(require("./components/provider/SCAlertMessagesProvider"));
|
|
53
|
+
const SCAlertMessagesProvider_1 = tslib_1.__importStar(require("./components/provider/SCAlertMessagesProvider"));
|
|
79
54
|
exports.SCAlertMessagesProvider = SCAlertMessagesProvider_1.default;
|
|
80
55
|
Object.defineProperty(exports, "SCAlertMessagesContext", { enumerable: true, get: function () { return SCAlertMessagesProvider_1.SCAlertMessagesContext; } });
|
|
81
56
|
Object.defineProperty(exports, "useSCAlertMessages", { enumerable: true, get: function () { return SCAlertMessagesProvider_1.useSCAlertMessages; } });
|
|
82
57
|
/**
|
|
83
58
|
* PreferencesProvider component
|
|
84
59
|
*/
|
|
85
|
-
const SCPreferencesProvider_1 = __importStar(require("./components/provider/SCPreferencesProvider"));
|
|
60
|
+
const SCPreferencesProvider_1 = tslib_1.__importStar(require("./components/provider/SCPreferencesProvider"));
|
|
86
61
|
exports.SCPreferencesProvider = SCPreferencesProvider_1.default;
|
|
87
62
|
Object.defineProperty(exports, "SCPreferencesContext", { enumerable: true, get: function () { return SCPreferencesProvider_1.SCPreferencesContext; } });
|
|
88
63
|
Object.defineProperty(exports, "useSCPreferences", { enumerable: true, get: function () { return SCPreferencesProvider_1.useSCPreferences; } });
|
|
89
|
-
const SCPreferences = __importStar(require("./constants/Preferences"));
|
|
64
|
+
const SCPreferences = tslib_1.__importStar(require("./constants/Preferences"));
|
|
90
65
|
exports.SCPreferences = SCPreferences;
|
|
91
|
-
const SCFeatures = __importStar(require("./constants/Features"));
|
|
66
|
+
const SCFeatures = tslib_1.__importStar(require("./constants/Features"));
|
|
92
67
|
exports.SCFeatures = SCFeatures;
|
|
93
|
-
const SCNotification = __importStar(require("./constants/Notification"));
|
|
68
|
+
const SCNotification = tslib_1.__importStar(require("./constants/Notification"));
|
|
94
69
|
exports.SCNotification = SCNotification;
|
|
95
|
-
const SCCache = __importStar(require("./constants/Cache"));
|
|
70
|
+
const SCCache = tslib_1.__importStar(require("./constants/Cache"));
|
|
96
71
|
exports.SCCache = SCCache;
|
|
97
72
|
/**
|
|
98
73
|
* Custom Hooks
|
|
99
74
|
*/
|
|
100
|
-
const useSCFetchUser_1 = __importDefault(require("./hooks/useSCFetchUser"));
|
|
75
|
+
const useSCFetchUser_1 = tslib_1.__importDefault(require("./hooks/useSCFetchUser"));
|
|
101
76
|
exports.useSCFetchUser = useSCFetchUser_1.default;
|
|
102
|
-
const useSCFetchUserProviders_1 = __importDefault(require("./hooks/useSCFetchUserProviders"));
|
|
77
|
+
const useSCFetchUserProviders_1 = tslib_1.__importDefault(require("./hooks/useSCFetchUserProviders"));
|
|
103
78
|
exports.useSCFetchUserProviders = useSCFetchUserProviders_1.default;
|
|
104
|
-
const
|
|
79
|
+
const useSCFetchVote_1 = tslib_1.__importDefault(require("./hooks/useSCFetchVote"));
|
|
80
|
+
exports.useSCFetchVote = useSCFetchVote_1.default;
|
|
81
|
+
const useSCFetchFeedObject_1 = tslib_1.__importDefault(require("./hooks/useSCFetchFeedObject"));
|
|
105
82
|
exports.useSCFetchFeedObject = useSCFetchFeedObject_1.default;
|
|
106
|
-
const useSCFetchCommentObject_1 = __importDefault(require("./hooks/useSCFetchCommentObject"));
|
|
83
|
+
const useSCFetchCommentObject_1 = tslib_1.__importDefault(require("./hooks/useSCFetchCommentObject"));
|
|
107
84
|
exports.useSCFetchCommentObject = useSCFetchCommentObject_1.default;
|
|
108
|
-
const useSCFetchCommentObjects_1 = __importDefault(require("./hooks/useSCFetchCommentObjects"));
|
|
85
|
+
const useSCFetchCommentObjects_1 = tslib_1.__importDefault(require("./hooks/useSCFetchCommentObjects"));
|
|
109
86
|
exports.useSCFetchCommentObjects = useSCFetchCommentObjects_1.default;
|
|
110
|
-
const useSCFetchCustomAdv_1 = __importDefault(require("./hooks/useSCFetchCustomAdv"));
|
|
87
|
+
const useSCFetchCustomAdv_1 = tslib_1.__importDefault(require("./hooks/useSCFetchCustomAdv"));
|
|
111
88
|
exports.useSCFetchCustomAdv = useSCFetchCustomAdv_1.default;
|
|
112
|
-
const useSCFetchTag_1 = __importDefault(require("./hooks/useSCFetchTag"));
|
|
89
|
+
const useSCFetchTag_1 = tslib_1.__importDefault(require("./hooks/useSCFetchTag"));
|
|
113
90
|
exports.useSCFetchTag = useSCFetchTag_1.default;
|
|
114
|
-
const useSCFetchAddressingTagList_1 = __importDefault(require("./hooks/useSCFetchAddressingTagList"));
|
|
91
|
+
const useSCFetchAddressingTagList_1 = tslib_1.__importDefault(require("./hooks/useSCFetchAddressingTagList"));
|
|
115
92
|
exports.useSCFetchAddressingTagList = useSCFetchAddressingTagList_1.default;
|
|
116
|
-
const useSCFetchCategory_1 = __importDefault(require("./hooks/useSCFetchCategory"));
|
|
93
|
+
const useSCFetchCategory_1 = tslib_1.__importDefault(require("./hooks/useSCFetchCategory"));
|
|
117
94
|
exports.useSCFetchCategory = useSCFetchCategory_1.default;
|
|
118
|
-
const useSCFetchCategories_1 = __importDefault(require("./hooks/useSCFetchCategories"));
|
|
95
|
+
const useSCFetchCategories_1 = tslib_1.__importDefault(require("./hooks/useSCFetchCategories"));
|
|
119
96
|
exports.useSCFetchCategories = useSCFetchCategories_1.default;
|
|
120
|
-
const useSCFetchIncubator_1 = __importDefault(require("./hooks/useSCFetchIncubator"));
|
|
97
|
+
const useSCFetchIncubator_1 = tslib_1.__importDefault(require("./hooks/useSCFetchIncubator"));
|
|
121
98
|
exports.useSCFetchIncubator = useSCFetchIncubator_1.default;
|
|
122
|
-
const useSCMediaClick_1 = __importDefault(require("./hooks/useSCMediaClick"));
|
|
99
|
+
const useSCMediaClick_1 = tslib_1.__importDefault(require("./hooks/useSCMediaClick"));
|
|
123
100
|
exports.useSCMediaClick = useSCMediaClick_1.default;
|
|
124
|
-
const useSCFetchContributors_1 = __importDefault(require("./hooks/useSCFetchContributors"));
|
|
101
|
+
const useSCFetchContributors_1 = tslib_1.__importDefault(require("./hooks/useSCFetchContributors"));
|
|
125
102
|
exports.useSCFetchContributors = useSCFetchContributors_1.default;
|
|
126
|
-
const useSCFetchFeed_1 = __importDefault(require("./hooks/useSCFetchFeed"));
|
|
103
|
+
const useSCFetchFeed_1 = tslib_1.__importDefault(require("./hooks/useSCFetchFeed"));
|
|
127
104
|
exports.useSCFetchFeed = useSCFetchFeed_1.default;
|
|
128
|
-
const useSCFetchReactions_1 = __importDefault(require("./hooks/useSCFetchReactions"));
|
|
105
|
+
const useSCFetchReactions_1 = tslib_1.__importDefault(require("./hooks/useSCFetchReactions"));
|
|
129
106
|
exports.useSCFetchReactions = useSCFetchReactions_1.default;
|
|
107
|
+
const useSCFetchPrivateMessageSnippets_1 = tslib_1.__importDefault(require("./hooks/useSCFetchPrivateMessageSnippets"));
|
|
108
|
+
exports.useSCFetchPrivateMessageSnippets = useSCFetchPrivateMessageSnippets_1.default;
|
|
109
|
+
const useSCFetchBroadcastMessages_1 = tslib_1.__importDefault(require("./hooks/useSCFetchBroadcastMessages"));
|
|
110
|
+
exports.useSCFetchBroadcastMessages = useSCFetchBroadcastMessages_1.default;
|
|
111
|
+
const useSCFetchUserBlockedBy_1 = tslib_1.__importDefault(require("./hooks/useSCFetchUserBlockedBy"));
|
|
112
|
+
exports.useSCFetchUserBlockedBy = useSCFetchUserBlockedBy_1.default;
|
|
130
113
|
/**
|
|
131
114
|
* Routing component
|
|
132
115
|
*/
|
|
133
|
-
const router_1 = __importDefault(require("./components/router"));
|
|
116
|
+
const router_1 = tslib_1.__importDefault(require("./components/router"));
|
|
134
117
|
exports.Link = router_1.default;
|
|
135
|
-
const SCRoutes = __importStar(require("./constants/Routes"));
|
|
118
|
+
const SCRoutes = tslib_1.__importStar(require("./constants/Routes"));
|
|
136
119
|
exports.SCRoutes = SCRoutes;
|
|
137
120
|
/**
|
|
138
121
|
* Utilities:
|
|
139
122
|
* User, hooks (useIsComponentMountedRef)
|
|
140
123
|
*/
|
|
141
|
-
const UserUtils = __importStar(require("./utils/user"));
|
|
124
|
+
const UserUtils = tslib_1.__importStar(require("./utils/user"));
|
|
142
125
|
exports.UserUtils = UserUtils;
|
|
143
126
|
const hooks_1 = require("./utils/hooks");
|
|
144
127
|
Object.defineProperty(exports, "useIsComponentMountedRef", { enumerable: true, get: function () { return hooks_1.useIsComponentMountedRef; } });
|
|
@@ -150,6 +133,6 @@ Object.defineProperty(exports, "useNoInitialEffect", { enumerable: true, get: fu
|
|
|
150
133
|
* Constants:
|
|
151
134
|
* Locale
|
|
152
135
|
*/
|
|
153
|
-
const Locale = __importStar(require("./constants/Locale"));
|
|
136
|
+
const Locale = tslib_1.__importStar(require("./constants/Locale"));
|
|
154
137
|
exports.Locale = Locale;
|
|
155
138
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AA6BA;;GAEG;AACH,qGAAmG;AAqHjG,4BArHK,2BAAiB,CAqHL;AAPjB,0FA9GyB,6BAAS,OA8GzB;AAMT,6FApHoC,gCAAY,OAoHpC;AAlHd;;GAEG;AACH,+FAA8F;AAiH5F,yBAjHK,wBAAc,CAiHL;AAPd,8FA1GsB,8BAAa,OA0GtB;AAQb,0FAlHqC,0BAAS,OAkHrC;AAhHX;;GAEG;AACH,iGAA+G;AA+G7G,0BA/GK,yBAAe,CA+GL;AATf,+FAtGuB,gCAAc,OAsGvB;AAUd,2FAhHuC,4BAAU,OAgHvC;AACV,4FAjHmD,6BAAW,OAiHnD;AA/Gb;;GAEG;AACH,qGAA0G;AA6GxG,4BA7GK,2BAAiB,CA6GL;AAXjB,iGAlGyB,oCAAgB,OAkGzB;AAYhB,6FA9G2C,gCAAY,OA8G3C;AA5Gd;;GAEG;AACH,mGAAoH;AA0GlH,2BA1GK,0BAAgB,CA0GL;AAZhB,gGA9FwB,kCAAe,OA8FxB;AAaf,4FA3GyC,8BAAW,OA2GzC;AACX,6FA5GsD,+BAAY,OA4GtD;AA1Gd;;GAEG;AACH,+GAA8H;AA4G5H,iCA5GK,gCAAsB,CA4GL;AACtB,sGA7G8B,8CAAqB,OA6G9B;AACrB,kGA9GqD,0CAAiB,OA8GrD;AA5GnB;;GAEG;AACH,iHAAkI;AA0GhI,kCA1GK,iCAAuB,CA0GL;AACvB,uGA3G+B,gDAAsB,OA2G/B;AACtB,mGA5GuD,4CAAkB,OA4GvD;AA1GpB;;GAEG;AACH,6GAA0H;AA8FxH,gCA9FK,+BAAqB,CA8FL;AAdrB,qGAhF6B,4CAAoB,OAgF7B;AAKpB,iGArFmD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,gCAAwB,OAoFN;AACxB,iGArFgC,wBAAgB,OAqFhC;AAChB,0GAtFkD,iCAAyB,OAsFlD;AACzB,8FAvF6E,qBAAa,OAuF7E;AACb,mGAxF4F,0BAAkB,OAwF5F;AAtFpB;;;GAGG;AACH,mEAA6C;AA8D3C,wBAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/themes/theme.ts"],"names":[],"mappings":"AAYA,OAAO,EAAuB,WAAW,EAAC,MAAM,UAAU,CAAC;AAiB3D;;;;;GAKG;AACH,QAAA,MAAM,QAAQ,sCAA2B,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/themes/theme.ts"],"names":[],"mappings":"AAYA,OAAO,EAAuB,WAAW,EAAC,MAAM,UAAU,CAAC;AAiB3D;;;;;GAKG;AACH,QAAA,MAAM,QAAQ,sCAA2B,WAmCxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/lib/cjs/themes/theme.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
6
4
|
const styles_1 = require("@mui/material/styles");
|
|
7
5
|
const utils_1 = require("@selfcommunity/utils");
|
|
8
|
-
const validate_color_1 = __importDefault(require("validate-color"));
|
|
6
|
+
const validate_color_1 = tslib_1.__importDefault(require("validate-color"));
|
|
9
7
|
const Preferences_1 = require("../constants/Preferences");
|
|
10
8
|
const utils_2 = require("@selfcommunity/utils");
|
|
11
9
|
/**
|
|
@@ -50,79 +48,6 @@ const getTheme = (options, preferences) => {
|
|
|
50
48
|
? {
|
|
51
49
|
palette: Object.assign(Object.assign(Object.assign(Object.assign({}, (isValidPreference(preferences, Preferences_1.COLORS_COLORBACK, validate_color_1.default) && { background: { default: preferences[Preferences_1.COLORS_COLORBACK].value } })), (isValidPreference(preferences, Preferences_1.COLORS_COLORFONT, validate_color_1.default) && { text: { primary: preferences[Preferences_1.COLORS_COLORFONT].value } })), (isValidPreference(preferences, Preferences_1.COLORS_COLORPRIMARY, validate_color_1.default) && { primary: { main: preferences[Preferences_1.COLORS_COLORPRIMARY].value } })), (isValidPreference(preferences, Preferences_1.COLORS_COLORSECONDARY, validate_color_1.default) && Object.assign({ secondary: { main: preferences[Preferences_1.COLORS_COLORSECONDARY].value } }, (isValidPreference(preferences, Preferences_1.COLORS_NAVBARBACK, validate_color_1.default) && { navbar: { main: preferences[Preferences_1.COLORS_NAVBARBACK].value } })))),
|
|
52
50
|
typography: Object.assign({}, (isValidPreference(preferences, Preferences_1.STYLE_FONT_FAMILY, utils_2.isString) && { fontFamily: preferences[Preferences_1.STYLE_FONT_FAMILY].value })),
|
|
53
|
-
components: {
|
|
54
|
-
MuiPaper: {
|
|
55
|
-
// styleOverrides: {
|
|
56
|
-
// rounded: {
|
|
57
|
-
// borderRadius: 3,
|
|
58
|
-
// },
|
|
59
|
-
// },
|
|
60
|
-
},
|
|
61
|
-
SCWidget: {
|
|
62
|
-
// variants: [
|
|
63
|
-
// {
|
|
64
|
-
// props: {elevation: 0},
|
|
65
|
-
// style: {
|
|
66
|
-
// border: 0,
|
|
67
|
-
// boxShadow: 'none',
|
|
68
|
-
// marginBottom: '0 !important',
|
|
69
|
-
// },
|
|
70
|
-
// },
|
|
71
|
-
// {
|
|
72
|
-
// props: {variant: 'outlined'},
|
|
73
|
-
// style: {
|
|
74
|
-
// border: '1px solid rgba(0, 0, 0, 0.12)',
|
|
75
|
-
// boxShadow: 'none',
|
|
76
|
-
// },
|
|
77
|
-
// },
|
|
78
|
-
// ],
|
|
79
|
-
// styleOverrides: {
|
|
80
|
-
// root: {
|
|
81
|
-
// border: '0 none',
|
|
82
|
-
// boxShadow: '0px 5px 20px rgba(0, 0, 0, 0.1)',
|
|
83
|
-
// borderRadius: '15px',
|
|
84
|
-
// },
|
|
85
|
-
// },
|
|
86
|
-
},
|
|
87
|
-
SCNotificationItem: {
|
|
88
|
-
// styleOverrides: {
|
|
89
|
-
// root: {
|
|
90
|
-
// '&.SCNotificationItem-new-snippet': {
|
|
91
|
-
// '&::before': {
|
|
92
|
-
// backgroundColor: 'yellow',
|
|
93
|
-
// },
|
|
94
|
-
// },
|
|
95
|
-
// },
|
|
96
|
-
// },
|
|
97
|
-
},
|
|
98
|
-
SCSnippetNotifications: {
|
|
99
|
-
styleOverrides: {
|
|
100
|
-
root: {
|
|
101
|
-
'& .SCSnippetNotifications-list': {
|
|
102
|
-
// wrap notifications list (ul)
|
|
103
|
-
},
|
|
104
|
-
'& .SCSnippetNotifications-item': {
|
|
105
|
-
// single notification item (li)
|
|
106
|
-
},
|
|
107
|
-
['& .SCUserFollowNotification-username, .SCUserFollowNotification-username, .SCCommentNotification-username,' +
|
|
108
|
-
'SCContributionFollowNotification-username, .SCContributionFollowNotification-username, .SCUserNotificationMention-username,' +
|
|
109
|
-
'.SCUserNotificationMention-username, .SCUserNotificationPrivateMessage-message-sender, .SCVoteUpNotification-username']: {
|
|
110
|
-
// username for notification types: user follow, comment/nested comment,
|
|
111
|
-
// follow contribution, mention, private message, vote up
|
|
112
|
-
},
|
|
113
|
-
['& .SCUserFollowNotification-list-item-snippet-new, .SCVoteUpNotification-list-item-snippet-new, ' +
|
|
114
|
-
'.SCUserBlockedNotification-list-item-snippet-new, .SCUndeletedForNotification-list-item-snippet-new, ' +
|
|
115
|
-
'.SCUserNotificationPrivateMessage-list-item-snippet-new, .SCUserNotificationMention-list-item-snippet-new,' +
|
|
116
|
-
'.SCKindlyNoticeForNotification-list-item-snippet-new, .SCKindlyNoticeFlagNotification-list-item-snippet-new,' +
|
|
117
|
-
'.SCIncubatorApprovedNotification-list-item-snippet-new, .SCDeletedForNotification-list-item-snippet-new,' +
|
|
118
|
-
'.SCContributionFollowNotification-list-item-snippet-new, .SCCommentNotification-list-item-snippet-new,' +
|
|
119
|
-
'.SCCollapsedForNotification-list-item-snippet-new']: {
|
|
120
|
-
// border left indicate new notification of various type
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
51
|
}
|
|
127
52
|
: {};
|
|
128
53
|
return (0, styles_1.createTheme)((0, utils_1.mergeDeep)(Object.assign({ selfcommunity }, defaultOptions), options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/themes/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/themes/theme.ts"],"names":[],"mappings":";;;AAAA,iDAAiD;AACjD,gDAA+C;AAC/C,4EAA2C;AAC3C,0DAOkC;AAClC,gDAA8C;AAG9C;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACrD,iDAAiD;IACjD,IAAI,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;QACjF,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;KACvC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,WAAW,EAAe,EAAE;IACrD,MAAM,aAAa,GAAyB;QAC1C,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,EAAE;gBACd,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,GAAG;aAChB;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,EA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AAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { SCAuthTokenType, SCIncubatorType, SCCategoryType, SCUserType } from
|
|
2
|
+
import { SCAuthTokenType, SCIncubatorType, SCCategoryType, SCUserType, SCUserSettingsType, SCReactionType } from "@selfcommunity/types";
|
|
3
3
|
import { SCThemeType } from './theme';
|
|
4
4
|
/**
|
|
5
5
|
* Interface SCSettingsType
|
|
@@ -28,7 +28,11 @@ export interface SCSettingsType {
|
|
|
28
28
|
/**
|
|
29
29
|
* Object conf of preferences.
|
|
30
30
|
*/
|
|
31
|
-
preferences?:
|
|
31
|
+
preferences?: SCPreferencesType;
|
|
32
|
+
/**
|
|
33
|
+
* Vote conf
|
|
34
|
+
*/
|
|
35
|
+
vote?: SCVoteType;
|
|
32
36
|
/**
|
|
33
37
|
* Object conf of notification.
|
|
34
38
|
*/
|
|
@@ -60,6 +64,28 @@ export interface SCLocaleType {
|
|
|
60
64
|
*/
|
|
61
65
|
messages?: Record<string, any>;
|
|
62
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Interface SCPreferencesType
|
|
69
|
+
*/
|
|
70
|
+
export interface SCPreferencesType {
|
|
71
|
+
/**
|
|
72
|
+
* List of all community preferences
|
|
73
|
+
*/
|
|
74
|
+
preferences: Record<string, any>;
|
|
75
|
+
/**
|
|
76
|
+
* List of all community enabled features
|
|
77
|
+
*/
|
|
78
|
+
features: string[];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Interface SCVoteType
|
|
82
|
+
*/
|
|
83
|
+
export interface SCVoteType {
|
|
84
|
+
/**
|
|
85
|
+
* List of all reactions
|
|
86
|
+
*/
|
|
87
|
+
reactions: SCReactionType[];
|
|
88
|
+
}
|
|
63
89
|
/**
|
|
64
90
|
* Interface SCUserContextType
|
|
65
91
|
*/
|
|
@@ -102,20 +128,44 @@ export interface SCUserContextType {
|
|
|
102
128
|
setUnseenNotificationBannersCounter: (counter: number) => void;
|
|
103
129
|
/**
|
|
104
130
|
* Handle refresh user notification counters
|
|
105
|
-
* Interactions, BroadcastMessages
|
|
131
|
+
* Interactions, BroadcastMessages, Followers, Followings, Categories, etc.
|
|
106
132
|
*/
|
|
107
|
-
|
|
133
|
+
refreshCounters: () => Promise<any>;
|
|
108
134
|
/**
|
|
109
135
|
* Managers: followed, connections, categories, incubators, etc...
|
|
110
136
|
*/
|
|
111
137
|
managers: {
|
|
138
|
+
settings?: SCSettingsManagerType;
|
|
112
139
|
followed?: SCFollowedManagerType;
|
|
113
140
|
followers?: SCFollowersManagerType;
|
|
114
141
|
connections?: SCConnectionsManagerType;
|
|
115
142
|
categories: SCFollowedCategoriesManagerType;
|
|
116
143
|
incubators?: SCSubscribedIncubatorsManagerType;
|
|
144
|
+
blockedUsers?: SCBlockedUsersManagerType;
|
|
117
145
|
};
|
|
118
146
|
}
|
|
147
|
+
export interface SCSettingsManagerType {
|
|
148
|
+
/**
|
|
149
|
+
* Get a settings
|
|
150
|
+
*/
|
|
151
|
+
get?: (p: any) => any;
|
|
152
|
+
/**
|
|
153
|
+
* Get all settings
|
|
154
|
+
*/
|
|
155
|
+
all?: () => SCUserSettingsType;
|
|
156
|
+
/**
|
|
157
|
+
* Update a settings
|
|
158
|
+
*/
|
|
159
|
+
update?: (p: any, v: any) => any;
|
|
160
|
+
/**
|
|
161
|
+
* Refresh settings
|
|
162
|
+
*/
|
|
163
|
+
refresh?: () => void;
|
|
164
|
+
/**
|
|
165
|
+
* Check if component is loading
|
|
166
|
+
*/
|
|
167
|
+
isLoading: () => boolean;
|
|
168
|
+
}
|
|
119
169
|
export interface SCFollowedManagerType {
|
|
120
170
|
/**
|
|
121
171
|
* List of all user ids followed by the authenticated user
|
|
@@ -215,6 +265,14 @@ export interface SCConnectionsManagerType {
|
|
|
215
265
|
* Handle request connection
|
|
216
266
|
*/
|
|
217
267
|
requestConnection?: (user: SCUserType) => Promise<any>;
|
|
268
|
+
/**
|
|
269
|
+
* Handle cancel request connection
|
|
270
|
+
*/
|
|
271
|
+
cancelRequestConnection?: (user: SCUserType) => Promise<any>;
|
|
272
|
+
/**
|
|
273
|
+
* Handle remove connection
|
|
274
|
+
*/
|
|
275
|
+
removeConnection?: (user: SCUserType) => Promise<any>;
|
|
218
276
|
/**
|
|
219
277
|
* Handle accept connection
|
|
220
278
|
*/
|
|
@@ -232,6 +290,32 @@ export interface SCConnectionsManagerType {
|
|
|
232
290
|
*/
|
|
233
291
|
emptyCache?: () => void;
|
|
234
292
|
}
|
|
293
|
+
export interface SCBlockedUsersManagerType {
|
|
294
|
+
/**
|
|
295
|
+
* List of all blocked users
|
|
296
|
+
*/
|
|
297
|
+
blocked: number[];
|
|
298
|
+
/**
|
|
299
|
+
* Loading state
|
|
300
|
+
*/
|
|
301
|
+
loading: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* List of current user in loading state
|
|
304
|
+
*/
|
|
305
|
+
isLoading: () => boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Handle user block/unblock
|
|
308
|
+
*/
|
|
309
|
+
block?: (user: SCUserType) => Promise<any>;
|
|
310
|
+
/**
|
|
311
|
+
* Handle check if a user is blocked
|
|
312
|
+
*/
|
|
313
|
+
isBlocked?: (user: SCUserType) => boolean;
|
|
314
|
+
/**
|
|
315
|
+
* Refresh blocked user list
|
|
316
|
+
*/
|
|
317
|
+
refresh?: () => Promise<any>;
|
|
318
|
+
}
|
|
235
319
|
export interface SCSubscribedIncubatorsManagerType {
|
|
236
320
|
/**
|
|
237
321
|
* List of all incubators ids subscribed by the authenticated user
|
|
@@ -314,7 +398,7 @@ export interface SCContextProviderType {
|
|
|
314
398
|
children: ReactNode;
|
|
315
399
|
}
|
|
316
400
|
/**
|
|
317
|
-
* Interface
|
|
401
|
+
* Interface SCPreferencesContextType
|
|
318
402
|
*/
|
|
319
403
|
export interface SCPreferencesContextType {
|
|
320
404
|
/**
|
|
@@ -326,6 +410,19 @@ export interface SCPreferencesContextType {
|
|
|
326
410
|
*/
|
|
327
411
|
features: string[];
|
|
328
412
|
}
|
|
413
|
+
/**
|
|
414
|
+
* Interface SCVoteContextType
|
|
415
|
+
*/
|
|
416
|
+
export interface SCVoteContextType {
|
|
417
|
+
/**
|
|
418
|
+
* List of all reactions
|
|
419
|
+
*/
|
|
420
|
+
reactions: SCReactionType[];
|
|
421
|
+
/**
|
|
422
|
+
* Refresh reactions
|
|
423
|
+
*/
|
|
424
|
+
refreshReactions: () => Promise<SCReactionType[]>;
|
|
425
|
+
}
|
|
329
426
|
/**
|
|
330
427
|
* Interface SCThemeContextType
|
|
331
428
|
*/
|
|
@@ -374,6 +471,10 @@ export interface SCNotificationsType {
|
|
|
374
471
|
* Web push messaging notification
|
|
375
472
|
*/
|
|
376
473
|
webPushMessaging?: SCNotificationsWebPushMessagingType;
|
|
474
|
+
/**
|
|
475
|
+
* Mobile native push messaging
|
|
476
|
+
*/
|
|
477
|
+
mobileNativePushMessaging?: SCNotificationsMobileNativePushMessagingType;
|
|
377
478
|
}
|
|
378
479
|
/**
|
|
379
480
|
* Interface SCNotificationsWebSocketType
|
|
@@ -407,6 +508,15 @@ export interface SCNotificationsWebPushMessagingType {
|
|
|
407
508
|
*/
|
|
408
509
|
applicationServerKey?: boolean;
|
|
409
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* Interface SCNotificationsMobileNativePushMessagingType
|
|
513
|
+
*/
|
|
514
|
+
export interface SCNotificationsMobileNativePushMessagingType {
|
|
515
|
+
/**
|
|
516
|
+
* Disable
|
|
517
|
+
*/
|
|
518
|
+
disable?: boolean;
|
|
519
|
+
}
|
|
410
520
|
/**
|
|
411
521
|
* Interface SCRoutingContextType
|
|
412
522
|
*/
|
|
@@ -436,6 +546,10 @@ export interface SCNotificationContextType {
|
|
|
436
546
|
* wp subscription
|
|
437
547
|
*/
|
|
438
548
|
wpSubscription: any;
|
|
549
|
+
/**
|
|
550
|
+
* mobile native push instance
|
|
551
|
+
*/
|
|
552
|
+
mnpmInstance?: any;
|
|
439
553
|
}
|
|
440
554
|
/**
|
|
441
555
|
* Interface SCLocaleContextType
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/types/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACvC,OAAO,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/types/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACvC,OAAO,EACL,eAAe,EACf,eAAe,EACf,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,cAAc,EACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEnC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,CAAC,QAAQ,KAAA,KAAK,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAA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AM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAE3B;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE7B;;OAEG;IACH,UAAU,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;CAC/B"}
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SCUserContextType, SCFollowedManagerType, SCFollowersManagerType, SCFollowedCategoriesManagerType, SCSubscribedIncubatorsManagerType, SCConnectionsManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCPreferencesContextType, SCNotificationContextType, SCLocaleType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType } from './context';
|
|
1
|
+
import { SCUserContextType, SCFollowedManagerType, SCFollowersManagerType, SCFollowedCategoriesManagerType, SCSettingsManagerType, SCSubscribedIncubatorsManagerType, SCConnectionsManagerType, SCBlockedUsersManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCPreferencesContextType, SCNotificationContextType, SCLocaleType, SCVoteType, SCVoteContextType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType } from './context';
|
|
2
2
|
import { SCThemeAvatarVariableType, SCThemeUserVariableType, SCThemeCategoryIconVariableType, SCThemeCategoryVariableType, SCThemeVariablesType, SCThemeType } from './theme';
|
|
3
|
-
export { SCUserContextType, SCFollowedCategoriesManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCFollowedManagerType, SCFollowersManagerType, SCConnectionsManagerType, SCSubscribedIncubatorsManagerType, SCLocaleType, SCNotificationContextType, SCPreferencesContextType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType, SCThemeAvatarVariableType, SCThemeUserVariableType, SCThemeCategoryIconVariableType, SCThemeCategoryVariableType, SCThemeVariablesType, SCThemeType, };
|
|
3
|
+
export { SCUserContextType, SCFollowedCategoriesManagerType, SCSettingsManagerType, SCContextProviderType, SCContextType, SCSettingsType, SCSessionType, SCFollowedManagerType, SCFollowersManagerType, SCConnectionsManagerType, SCBlockedUsersManagerType, SCSubscribedIncubatorsManagerType, SCLocaleType, SCVoteType, SCVoteContextType, SCNotificationContextType, SCPreferencesContextType, SCThemeContextType, SCRoutingContextType, SCLocaleContextType, SCAlertMessagesContextType, SCThemeAvatarVariableType, SCThemeUserVariableType, SCThemeCategoryIconVariableType, SCThemeCategoryVariableType, SCThemeVariablesType, SCThemeType, };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,iCAAiC,EACjC,YAAY,EACZ,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,GACZ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,qBAAqB,EACrB,iCAAiC,EACjC,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,iCAAiC,EACjC,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,2BAA2B,EAC3B,oBAAoB,EACpB,WAAW,GACZ,CAAC"}
|
|
@@ -24,9 +24,14 @@ export declare class ValidationError {
|
|
|
24
24
|
static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING: number;
|
|
25
25
|
static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING_DISABLE_TOAST_MESSAGE: number;
|
|
26
26
|
static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING_APPLICATION_SERVER_KEY: number;
|
|
27
|
+
static ERROR_INVALID_NOTIFICATIONS_MOBILE_PUSH_MESSAGING_DISABLE: number;
|
|
28
|
+
static ERROR_INVALID_NOTIFICATIONS_MOBILE_NATIVE_PUSH_MESSAGING: number;
|
|
27
29
|
static ERROR_INVALID_PREFERENCES: number;
|
|
28
30
|
static ERROR_INVALID_GLOBAL_PREFERENCES: number;
|
|
29
31
|
static ERROR_INVALID_PREFERENCES_FEATURES: number;
|
|
32
|
+
static ERROR_INVALID_VOTE: number;
|
|
33
|
+
static ERROR_INVALID_VOTE_REACTIONS: number;
|
|
34
|
+
static ERROR_INVALID_VOTE_REACTIONS_STRUCTURE: number;
|
|
30
35
|
static defaultErrorMessageMap: {
|
|
31
36
|
[x: number]: string;
|
|
32
37
|
};
|
|
@@ -95,9 +100,4 @@ export declare class ValidationResult {
|
|
|
95
100
|
*/
|
|
96
101
|
emit(): void;
|
|
97
102
|
}
|
|
98
|
-
/**
|
|
99
|
-
* Check if v is a func
|
|
100
|
-
* @param v
|
|
101
|
-
*/
|
|
102
|
-
export declare function isFunc(v: any): boolean;
|
|
103
103
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/utils/errors.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,qBAAa,eAAe;IAC1B,MAAM,CAAC,kBAAkB,SAAQ;IACjC,MAAM,CAAC,qBAAqB,SAAQ;IACpC,MAAM,CAAC,0BAA0B,SAAQ;IACzC,MAAM,CAAC,gCAAgC,SAAQ;IAC/C,MAAM,CAAC,+BAA+B,SAAQ;IAC9C,MAAM,CAAC,4CAA4C,SAAQ;IAC3D,MAAM,CAAC,qCAAqC,SAAQ;IACpD,MAAM,CAAC,oBAAoB,SAAQ;IACnC,MAAM,CAAC,oBAAoB,SAAQ;IACnC,MAAM,CAAC,0BAA0B,SAAQ;IACzC,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