@veltdev/react 4.5.0-beta.13 → 4.5.0-beta.15
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/cjs/index.js +183 -8
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/NotificationsActions.d.ts +2 -0
- package/cjs/types/hooks/index.d.ts +1 -0
- package/esm/index.js +183 -9
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/NotificationsActions.d.ts +2 -0
- package/esm/types/hooks/index.d.ts +1 -0
- package/index.d.ts +133 -2
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -144,13 +144,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
var VELT_SDK_VERSION = '4.5.0-beta.
|
|
147
|
+
var VELT_SDK_VERSION = '4.5.0-beta.15';
|
|
148
148
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
149
149
|
var VELT_TAB_ID = 'veltTabId';
|
|
150
150
|
// integrity map for the Velt SDK
|
|
151
151
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
152
152
|
var INTEGRITY_MAP = {
|
|
153
|
-
'4.5.0-beta.
|
|
153
|
+
'4.5.0-beta.15': 'sha384-5jIt3L1LDFTn1BCj4zZ7S4tIQq21pbm/VyPs24aiv6TW7dEItdbi7BtjKnF+BuV7',
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
var SnippylyProvider = function (props) {
|
|
@@ -274,7 +274,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
274
274
|
};
|
|
275
275
|
|
|
276
276
|
var SnippylyComments = function (props) {
|
|
277
|
-
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode;
|
|
277
|
+
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode;
|
|
278
278
|
var ref = React.useRef();
|
|
279
279
|
var onSignInRef = React.useRef(onSignIn);
|
|
280
280
|
var onUpgradeRef = React.useRef(onUpgrade);
|
|
@@ -399,7 +399,7 @@ var SnippylyComments = function (props) {
|
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
401
|
}, []);
|
|
402
|
-
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined }, children));
|
|
402
|
+
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined }, children));
|
|
403
403
|
};
|
|
404
404
|
|
|
405
405
|
var SnippylyCommentsSidebar = function (props) {
|
|
@@ -875,7 +875,7 @@ var VeltCommentThread = function (props) {
|
|
|
875
875
|
};
|
|
876
876
|
|
|
877
877
|
var VeltNotificationsTool = function (props) {
|
|
878
|
-
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab;
|
|
878
|
+
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, settings = props.settings;
|
|
879
879
|
var ref = React.useRef();
|
|
880
880
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
881
881
|
// Update the ref to always point to the latest callback function
|
|
@@ -901,11 +901,11 @@ var VeltNotificationsTool = function (props) {
|
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
}, []);
|
|
904
|
-
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
|
|
904
|
+
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
|
|
905
905
|
};
|
|
906
906
|
|
|
907
907
|
var VeltNotificationsPanel = function (props) {
|
|
908
|
-
var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode;
|
|
908
|
+
var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode, settings = props.settings;
|
|
909
909
|
var ref = React.useRef();
|
|
910
910
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
911
911
|
// Update the ref to always point to the latest callback function
|
|
@@ -931,7 +931,7 @@ var VeltNotificationsPanel = function (props) {
|
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
933
|
}, []);
|
|
934
|
-
return (React__default["default"].createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
|
|
934
|
+
return (React__default["default"].createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
|
|
935
935
|
};
|
|
936
936
|
|
|
937
937
|
var VeltNotificationsHistoryPanel = function (props) {
|
|
@@ -3836,6 +3836,151 @@ var VeltNotificationsPanelSkeletonWireframe = function (props) {
|
|
|
3836
3836
|
return (React__default["default"].createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
|
|
3837
3837
|
};
|
|
3838
3838
|
|
|
3839
|
+
var VeltNotificationsPanelSettingsButtonWireframe = function (props) {
|
|
3840
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3841
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3842
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-button-wireframe", __assign({}, transformedProps), children));
|
|
3843
|
+
};
|
|
3844
|
+
|
|
3845
|
+
var VeltNotificationsPanelSettingsDescriptionWireframe = function (props) {
|
|
3846
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3847
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3848
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-description-wireframe", __assign({}, transformedProps), children));
|
|
3849
|
+
};
|
|
3850
|
+
|
|
3851
|
+
var VeltNotificationsPanelSettingsBackButtonWireframe = function (props) {
|
|
3852
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3853
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3854
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-back-button-wireframe", __assign({}, transformedProps), children));
|
|
3855
|
+
};
|
|
3856
|
+
|
|
3857
|
+
var VeltNotificationsPanelSettingsFooterWireframe = function (props) {
|
|
3858
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3859
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3860
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-footer-wireframe", __assign({}, transformedProps), children));
|
|
3861
|
+
};
|
|
3862
|
+
|
|
3863
|
+
var VeltNotificationsPanelSettingsHeaderTitleWireframe = function (props) {
|
|
3864
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3865
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3866
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-header-title-wireframe", __assign({}, transformedProps), children));
|
|
3867
|
+
};
|
|
3868
|
+
|
|
3869
|
+
var VeltNotificationsPanelSettingsHeaderWireframe = function (props) {
|
|
3870
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3871
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3872
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-header-wireframe", __assign({}, transformedProps), children));
|
|
3873
|
+
};
|
|
3874
|
+
VeltNotificationsPanelSettingsHeaderWireframe.Title = VeltNotificationsPanelSettingsHeaderTitleWireframe;
|
|
3875
|
+
|
|
3876
|
+
var VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe = function (props) {
|
|
3877
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3878
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3879
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-selected-value-wireframe", __assign({}, transformedProps), children));
|
|
3880
|
+
};
|
|
3881
|
+
|
|
3882
|
+
var VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe = function (props) {
|
|
3883
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3884
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3885
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-label-wireframe", __assign({}, transformedProps), children));
|
|
3886
|
+
};
|
|
3887
|
+
|
|
3888
|
+
var VeltNotificationsPanelSettingsAccordionTriggerIconWireframe = function (props) {
|
|
3889
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3890
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3891
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-icon-wireframe", __assign({}, transformedProps), children));
|
|
3892
|
+
};
|
|
3893
|
+
|
|
3894
|
+
var VeltNotificationsPanelSettingsAccordionTriggerWireframe = function (props) {
|
|
3895
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3896
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3897
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-wireframe", __assign({}, transformedProps), children));
|
|
3898
|
+
};
|
|
3899
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.SelectedValue = VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe;
|
|
3900
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.Label = VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe;
|
|
3901
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.Icon = VeltNotificationsPanelSettingsAccordionTriggerIconWireframe;
|
|
3902
|
+
|
|
3903
|
+
var VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe = function (props) {
|
|
3904
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3905
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3906
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-label-wireframe", __assign({}, transformedProps), children));
|
|
3907
|
+
};
|
|
3908
|
+
|
|
3909
|
+
var VeltNotificationsPanelSettingsAccordionContentItemIconWireframe = function (props) {
|
|
3910
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3911
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3912
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-icon-wireframe", __assign({}, transformedProps), children));
|
|
3913
|
+
};
|
|
3914
|
+
|
|
3915
|
+
var VeltNotificationsPanelSettingsAccordionContentItemWireframe = function (props) {
|
|
3916
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3917
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3918
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-wireframe", __assign({}, transformedProps), children));
|
|
3919
|
+
};
|
|
3920
|
+
VeltNotificationsPanelSettingsAccordionContentItemWireframe.Icon = VeltNotificationsPanelSettingsAccordionContentItemIconWireframe;
|
|
3921
|
+
VeltNotificationsPanelSettingsAccordionContentItemWireframe.Label = VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe;
|
|
3922
|
+
|
|
3923
|
+
var VeltNotificationsPanelSettingsAccordionContentWireframe = function (props) {
|
|
3924
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3925
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3926
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-wireframe", __assign({}, transformedProps), children));
|
|
3927
|
+
};
|
|
3928
|
+
VeltNotificationsPanelSettingsAccordionContentWireframe.Item = VeltNotificationsPanelSettingsAccordionContentItemWireframe;
|
|
3929
|
+
|
|
3930
|
+
var VeltNotificationsPanelSettingsAccordionWireframe = function (props) {
|
|
3931
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3932
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3933
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-wireframe", __assign({}, transformedProps), children));
|
|
3934
|
+
};
|
|
3935
|
+
VeltNotificationsPanelSettingsAccordionWireframe.Trigger = VeltNotificationsPanelSettingsAccordionTriggerWireframe;
|
|
3936
|
+
VeltNotificationsPanelSettingsAccordionWireframe.Content = VeltNotificationsPanelSettingsAccordionContentWireframe;
|
|
3937
|
+
|
|
3938
|
+
var VeltNotificationsPanelSettingsListWireframe = function (props) {
|
|
3939
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3940
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3941
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-list-wireframe", __assign({}, transformedProps), children));
|
|
3942
|
+
};
|
|
3943
|
+
VeltNotificationsPanelSettingsListWireframe.Accordion = VeltNotificationsPanelSettingsAccordionWireframe;
|
|
3944
|
+
|
|
3945
|
+
var VeltNotificationsPanelSettingsMuteAllDescriptionWireframe = function (props) {
|
|
3946
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3947
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3948
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-description-wireframe", __assign({}, transformedProps), children));
|
|
3949
|
+
};
|
|
3950
|
+
|
|
3951
|
+
var VeltNotificationsPanelSettingsMuteAllTitleWireframe = function (props) {
|
|
3952
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3953
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3954
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-title-wireframe", __assign({}, transformedProps), children));
|
|
3955
|
+
};
|
|
3956
|
+
|
|
3957
|
+
var VeltNotificationsPanelSettingsMuteAllToggleWireframe = function (props) {
|
|
3958
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3959
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3960
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-toggle-wireframe", __assign({}, transformedProps), children));
|
|
3961
|
+
};
|
|
3962
|
+
|
|
3963
|
+
var VeltNotificationsPanelSettingsTitleWireframe = function (props) {
|
|
3964
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3965
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3966
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-title-wireframe", __assign({}, transformedProps), children));
|
|
3967
|
+
};
|
|
3968
|
+
|
|
3969
|
+
var VeltNotificationsPanelSettingsWireframe = function (props) {
|
|
3970
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3971
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3972
|
+
return (React__default["default"].createElement("velt-notifications-panel-settings-wireframe", __assign({}, transformedProps), children));
|
|
3973
|
+
};
|
|
3974
|
+
VeltNotificationsPanelSettingsWireframe.BackButton = VeltNotificationsPanelSettingsBackButtonWireframe;
|
|
3975
|
+
VeltNotificationsPanelSettingsWireframe.Description = VeltNotificationsPanelSettingsDescriptionWireframe;
|
|
3976
|
+
VeltNotificationsPanelSettingsWireframe.Footer = VeltNotificationsPanelSettingsFooterWireframe;
|
|
3977
|
+
VeltNotificationsPanelSettingsWireframe.Header = VeltNotificationsPanelSettingsHeaderWireframe;
|
|
3978
|
+
VeltNotificationsPanelSettingsWireframe.List = VeltNotificationsPanelSettingsListWireframe;
|
|
3979
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllDescription = VeltNotificationsPanelSettingsMuteAllDescriptionWireframe;
|
|
3980
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSettingsMuteAllTitleWireframe;
|
|
3981
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
|
|
3982
|
+
VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
|
|
3983
|
+
|
|
3839
3984
|
var VeltNotificationsPanelWireframe = function (props) {
|
|
3840
3985
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3841
3986
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3848,6 +3993,8 @@ VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
|
|
|
3848
3993
|
VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
|
|
3849
3994
|
VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
|
|
3850
3995
|
VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
|
|
3996
|
+
VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
|
|
3997
|
+
VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
|
|
3851
3998
|
|
|
3852
3999
|
var VeltNotificationsToolIconWireframe = function (props) {
|
|
3853
4000
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -6933,6 +7080,33 @@ function useUnreadNotificationsCount() {
|
|
|
6933
7080
|
return data;
|
|
6934
7081
|
}
|
|
6935
7082
|
|
|
7083
|
+
function useNotificationEventCallback(action) {
|
|
7084
|
+
var notificationElement = useNotificationUtils();
|
|
7085
|
+
var _a = React.useState(null), data = _a[0], setData = _a[1];
|
|
7086
|
+
var subscriptionRef = React.useRef(null);
|
|
7087
|
+
var memoizedAction = React.useMemo(function () { return action; }, [action]);
|
|
7088
|
+
React.useEffect(function () {
|
|
7089
|
+
var _a;
|
|
7090
|
+
if (!(notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on))
|
|
7091
|
+
return;
|
|
7092
|
+
if (subscriptionRef.current) {
|
|
7093
|
+
subscriptionRef.current.unsubscribe();
|
|
7094
|
+
}
|
|
7095
|
+
var subscription = (_a = notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
|
|
7096
|
+
setData(data);
|
|
7097
|
+
});
|
|
7098
|
+
// Store the new subscription
|
|
7099
|
+
subscriptionRef.current = subscription;
|
|
7100
|
+
// Cleanup function
|
|
7101
|
+
return function () {
|
|
7102
|
+
if (subscriptionRef.current) {
|
|
7103
|
+
subscriptionRef.current.unsubscribe();
|
|
7104
|
+
}
|
|
7105
|
+
};
|
|
7106
|
+
}, [notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on, memoizedAction]);
|
|
7107
|
+
return data;
|
|
7108
|
+
}
|
|
7109
|
+
|
|
6936
7110
|
function useAutocompleteUtils() {
|
|
6937
7111
|
var _a = React__default["default"].useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
|
|
6938
7112
|
var client = useVeltClient().client;
|
|
@@ -7291,6 +7465,7 @@ exports.useLiveState = useLiveState;
|
|
|
7291
7465
|
exports.useLiveStateData = useLiveStateData;
|
|
7292
7466
|
exports.useLiveStateSyncEventCallback = useLiveStateSyncEventCallback;
|
|
7293
7467
|
exports.useLiveStateSyncUtils = useLiveStateSyncUtils;
|
|
7468
|
+
exports.useNotificationEventCallback = useNotificationEventCallback;
|
|
7294
7469
|
exports.useNotificationUtils = useNotificationUtils;
|
|
7295
7470
|
exports.useNotificationsData = useNotificationsData;
|
|
7296
7471
|
exports.usePresenceData = usePresenceData;
|