@veltdev/react 5.0.2-beta.32 → 5.0.2-beta.33
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 +160 -6
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBanner.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatar.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarUserImage/VeltCommentDialogAgentSuggestionBannerAvatarUserImage.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarUserImage/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerLabel/VeltCommentDialogAgentSuggestionBannerLabel.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerLabel/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerResolverUserName/VeltCommentDialogAgentSuggestionBannerResolverUserName.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerResolverUserName/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerSeparator/VeltCommentDialogAgentSuggestionBannerSeparator.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerSeparator/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerTimestamp/VeltCommentDialogAgentSuggestionBannerTimestamp.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerTimestamp/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe.d.ts +12 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerWireframe.d.ts +18 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionWireframe.d.ts +2 -0
- package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +13 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +13 -0
- package/cjs/types/components/index.d.ts +16 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +145 -7
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBanner.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatar.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarUserImage/VeltCommentDialogAgentSuggestionBannerAvatarUserImage.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/VeltCommentDialogAgentSuggestionBannerAvatarUserImage/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerAvatar/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerLabel/VeltCommentDialogAgentSuggestionBannerLabel.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerLabel/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerResolverUserName/VeltCommentDialogAgentSuggestionBannerResolverUserName.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerResolverUserName/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerSeparator/VeltCommentDialogAgentSuggestionBannerSeparator.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerSeparator/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerTimestamp/VeltCommentDialogAgentSuggestionBannerTimestamp.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/VeltCommentDialogAgentSuggestionBannerTimestamp/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogAgentSuggestion/VeltCommentDialogAgentSuggestionBanner/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe.d.ts +12 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerAvatarWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerSeparatorWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerTimestampWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/VeltCommentDialogAgentSuggestionBannerWireframe.d.ts +18 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionBannerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogAgentSuggestionWireframe/VeltCommentDialogAgentSuggestionWireframe.d.ts +2 -0
- package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +13 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +13 -0
- package/esm/types/components/index.d.ts +16 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +127 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -212,13 +212,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
var VELT_SDK_VERSION = '5.0.2-beta.
|
|
215
|
+
var VELT_SDK_VERSION = '5.0.2-beta.33';
|
|
216
216
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
217
217
|
var VELT_TAB_ID = 'veltTabId';
|
|
218
218
|
// integrity map for the Velt SDK
|
|
219
219
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
220
220
|
var INTEGRITY_MAP = {
|
|
221
|
-
'5.0.2-beta.
|
|
221
|
+
'5.0.2-beta.33': 'sha384-Bpzld7MuVVmBZR+Ptwex4stSbbtH/IPk8TJv+SZwCePZ5NeX0bkW30er/arxexEl',
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
var validProps = ['veltIf', 'veltClass', 'className', 'variant'];
|
|
@@ -1147,7 +1147,7 @@ var VeltCommentThread = function (props) {
|
|
|
1147
1147
|
};
|
|
1148
1148
|
|
|
1149
1149
|
var VeltNotificationsTool = function (props) {
|
|
1150
|
-
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, selfNotifications = props.selfNotifications, considerAllNotifications = props.considerAllNotifications, pageSize = props.pageSize, settingsLayout = props.settingsLayout, enableSettingsAtOrganizationLevel = props.enableSettingsAtOrganizationLevel;
|
|
1150
|
+
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, selfNotifications = props.selfNotifications, considerAllNotifications = props.considerAllNotifications, pageSize = props.pageSize, settingsLayout = props.settingsLayout, enableSettingsAtOrganizationLevel = props.enableSettingsAtOrganizationLevel, enableCrossOrganization = props.enableCrossOrganization;
|
|
1151
1151
|
var ref = React.useRef();
|
|
1152
1152
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
1153
1153
|
// Update the ref to always point to the latest callback function
|
|
@@ -1173,7 +1173,24 @@ var VeltNotificationsTool = function (props) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
1175
|
}, []);
|
|
1176
|
-
|
|
1176
|
+
var enableCrossOrganizationValue = React.useMemo(function () {
|
|
1177
|
+
try {
|
|
1178
|
+
if (typeof enableCrossOrganization === 'boolean') {
|
|
1179
|
+
return enableCrossOrganization ? 'true' : 'false';
|
|
1180
|
+
}
|
|
1181
|
+
else if (typeof enableCrossOrganization === 'string') {
|
|
1182
|
+
return enableCrossOrganization;
|
|
1183
|
+
}
|
|
1184
|
+
else if (typeof enableCrossOrganization === 'object') {
|
|
1185
|
+
return JSON.stringify(enableCrossOrganization);
|
|
1186
|
+
}
|
|
1187
|
+
return undefined;
|
|
1188
|
+
}
|
|
1189
|
+
catch (error) {
|
|
1190
|
+
return undefined;
|
|
1191
|
+
}
|
|
1192
|
+
}, [enableCrossOrganization]);
|
|
1193
|
+
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, "self-notifications": [true, false].includes(selfNotifications) ? (selfNotifications ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "consider-all-notifications": [true, false].includes(considerAllNotifications) ? (considerAllNotifications ? 'true' : 'false') : undefined, "page-size": (pageSize && pageSize > 0) ? pageSize + '' : undefined, "settings-layout": settingsLayout, "enable-settings-at-organization-level": [true, false].includes(enableSettingsAtOrganizationLevel) ? (enableSettingsAtOrganizationLevel ? 'true' : 'false') : undefined, "enable-cross-organization": enableCrossOrganizationValue }, children));
|
|
1177
1194
|
};
|
|
1178
1195
|
|
|
1179
1196
|
var VeltNotificationsToolIcon = function (props) {
|
|
@@ -1201,7 +1218,7 @@ var VeltNotificationsToolUnreadCount = function (props) {
|
|
|
1201
1218
|
};
|
|
1202
1219
|
|
|
1203
1220
|
var VeltNotificationsPanel = function (props) {
|
|
1204
|
-
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, selfNotifications = props.selfNotifications, pageSize = props.pageSize, settingsLayout = props.settingsLayout, enableSettingsAtOrganizationLevel = props.enableSettingsAtOrganizationLevel;
|
|
1221
|
+
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, selfNotifications = props.selfNotifications, pageSize = props.pageSize, settingsLayout = props.settingsLayout, enableSettingsAtOrganizationLevel = props.enableSettingsAtOrganizationLevel, enableCrossOrganization = props.enableCrossOrganization;
|
|
1205
1222
|
var ref = React.useRef();
|
|
1206
1223
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
1207
1224
|
// Update the ref to always point to the latest callback function
|
|
@@ -1227,7 +1244,24 @@ var VeltNotificationsPanel = function (props) {
|
|
|
1227
1244
|
}
|
|
1228
1245
|
};
|
|
1229
1246
|
}, []);
|
|
1230
|
-
|
|
1247
|
+
var enableCrossOrganizationValue = React.useMemo(function () {
|
|
1248
|
+
try {
|
|
1249
|
+
if (typeof enableCrossOrganization === 'boolean') {
|
|
1250
|
+
return enableCrossOrganization ? 'true' : 'false';
|
|
1251
|
+
}
|
|
1252
|
+
else if (typeof enableCrossOrganization === 'string') {
|
|
1253
|
+
return enableCrossOrganization;
|
|
1254
|
+
}
|
|
1255
|
+
else if (typeof enableCrossOrganization === 'object') {
|
|
1256
|
+
return JSON.stringify(enableCrossOrganization);
|
|
1257
|
+
}
|
|
1258
|
+
return undefined;
|
|
1259
|
+
}
|
|
1260
|
+
catch (error) {
|
|
1261
|
+
return undefined;
|
|
1262
|
+
}
|
|
1263
|
+
}, [enableCrossOrganization]);
|
|
1264
|
+
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, "self-notifications": [true, false].includes(selfNotifications) ? (selfNotifications ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode, "page-size": (pageSize && pageSize > 0) ? pageSize + '' : undefined, "settings-layout": settingsLayout, "enable-settings-at-organization-level": [true, false].includes(enableSettingsAtOrganizationLevel) ? (enableSettingsAtOrganizationLevel ? 'true' : 'false') : undefined, "enable-cross-organization": enableCrossOrganizationValue }));
|
|
1231
1265
|
};
|
|
1232
1266
|
|
|
1233
1267
|
var VeltNotificationsPanelTitle = function (props) {
|
|
@@ -4642,6 +4676,61 @@ var VeltCommentDialogAgentSuggestionActionsWireframe = function (props) {
|
|
|
4642
4676
|
VeltCommentDialogAgentSuggestionActionsWireframe.Accept = VeltCommentDialogAgentSuggestionActionAcceptWireframe;
|
|
4643
4677
|
VeltCommentDialogAgentSuggestionActionsWireframe.Reject = VeltCommentDialogAgentSuggestionActionRejectWireframe;
|
|
4644
4678
|
|
|
4679
|
+
var VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe = function (props) {
|
|
4680
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4681
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4682
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar-user-image-wireframe", __assign({}, transformedProps), children));
|
|
4683
|
+
};
|
|
4684
|
+
|
|
4685
|
+
var VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe = function (props) {
|
|
4686
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4687
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4688
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar-status-icon-wireframe", __assign({}, transformedProps), children));
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4691
|
+
var VeltCommentDialogAgentSuggestionBannerAvatarWireframe = function (props) {
|
|
4692
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4693
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4694
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar-wireframe", __assign({}, transformedProps), children));
|
|
4695
|
+
};
|
|
4696
|
+
VeltCommentDialogAgentSuggestionBannerAvatarWireframe.UserImage = VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe;
|
|
4697
|
+
VeltCommentDialogAgentSuggestionBannerAvatarWireframe.StatusIcon = VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe;
|
|
4698
|
+
|
|
4699
|
+
var VeltCommentDialogAgentSuggestionBannerLabelWireframe = function (props) {
|
|
4700
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4701
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4702
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-label-wireframe", __assign({}, transformedProps), children));
|
|
4703
|
+
};
|
|
4704
|
+
|
|
4705
|
+
var VeltCommentDialogAgentSuggestionBannerSeparatorWireframe = function (props) {
|
|
4706
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4707
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4708
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-separator-wireframe", __assign({}, transformedProps), children));
|
|
4709
|
+
};
|
|
4710
|
+
|
|
4711
|
+
var VeltCommentDialogAgentSuggestionBannerTimestampWireframe = function (props) {
|
|
4712
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4713
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4714
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-timestamp-wireframe", __assign({}, transformedProps), children));
|
|
4715
|
+
};
|
|
4716
|
+
|
|
4717
|
+
var VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe = function (props) {
|
|
4718
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4719
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4720
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-resolver-user-name-wireframe", __assign({}, transformedProps), children));
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
var VeltCommentDialogAgentSuggestionBannerWireframe = function (props) {
|
|
4724
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4725
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4726
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-wireframe", __assign({}, transformedProps), children));
|
|
4727
|
+
};
|
|
4728
|
+
VeltCommentDialogAgentSuggestionBannerWireframe.Avatar = VeltCommentDialogAgentSuggestionBannerAvatarWireframe;
|
|
4729
|
+
VeltCommentDialogAgentSuggestionBannerWireframe.Label = VeltCommentDialogAgentSuggestionBannerLabelWireframe;
|
|
4730
|
+
VeltCommentDialogAgentSuggestionBannerWireframe.Separator = VeltCommentDialogAgentSuggestionBannerSeparatorWireframe;
|
|
4731
|
+
VeltCommentDialogAgentSuggestionBannerWireframe.Timestamp = VeltCommentDialogAgentSuggestionBannerTimestampWireframe;
|
|
4732
|
+
VeltCommentDialogAgentSuggestionBannerWireframe.ResolverUserName = VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe;
|
|
4733
|
+
|
|
4645
4734
|
var VeltCommentDialogAgentSuggestionWireframe = function (props) {
|
|
4646
4735
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4647
4736
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4651,6 +4740,7 @@ VeltCommentDialogAgentSuggestionWireframe.Body = VeltCommentDialogAgentSuggestio
|
|
|
4651
4740
|
VeltCommentDialogAgentSuggestionWireframe.Header = VeltCommentDialogAgentSuggestionHeaderWireframe;
|
|
4652
4741
|
VeltCommentDialogAgentSuggestionWireframe.Footer = VeltCommentDialogAgentSuggestionFooterWireframe;
|
|
4653
4742
|
VeltCommentDialogAgentSuggestionWireframe.Actions = VeltCommentDialogAgentSuggestionActionsWireframe;
|
|
4743
|
+
VeltCommentDialogAgentSuggestionWireframe.Banner = VeltCommentDialogAgentSuggestionBannerWireframe;
|
|
4654
4744
|
|
|
4655
4745
|
var VeltCommentDialogThreadCardAttachmentsImagePreview = function (props) {
|
|
4656
4746
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -9532,6 +9622,54 @@ var VeltCommentDialogAgentSuggestionActionReject = function (props) {
|
|
|
9532
9622
|
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-action-reject", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9533
9623
|
};
|
|
9534
9624
|
|
|
9625
|
+
var VeltCommentDialogAgentSuggestionBanner = function (props) {
|
|
9626
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9627
|
+
var ref = React.useRef(null);
|
|
9628
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9629
|
+
};
|
|
9630
|
+
|
|
9631
|
+
var VeltCommentDialogAgentSuggestionBannerAvatar = function (props) {
|
|
9632
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9633
|
+
var ref = React.useRef(null);
|
|
9634
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9635
|
+
};
|
|
9636
|
+
|
|
9637
|
+
var VeltCommentDialogAgentSuggestionBannerAvatarUserImage = function (props) {
|
|
9638
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9639
|
+
var ref = React.useRef(null);
|
|
9640
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar-user-image", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9641
|
+
};
|
|
9642
|
+
|
|
9643
|
+
var VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon = function (props) {
|
|
9644
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9645
|
+
var ref = React.useRef(null);
|
|
9646
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-avatar-status-icon", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9647
|
+
};
|
|
9648
|
+
|
|
9649
|
+
var VeltCommentDialogAgentSuggestionBannerLabel = function (props) {
|
|
9650
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9651
|
+
var ref = React.useRef(null);
|
|
9652
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-label", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9653
|
+
};
|
|
9654
|
+
|
|
9655
|
+
var VeltCommentDialogAgentSuggestionBannerSeparator = function (props) {
|
|
9656
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9657
|
+
var ref = React.useRef(null);
|
|
9658
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-separator", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9659
|
+
};
|
|
9660
|
+
|
|
9661
|
+
var VeltCommentDialogAgentSuggestionBannerTimestamp = function (props) {
|
|
9662
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9663
|
+
var ref = React.useRef(null);
|
|
9664
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-timestamp", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9665
|
+
};
|
|
9666
|
+
|
|
9667
|
+
var VeltCommentDialogAgentSuggestionBannerResolverUserName = function (props) {
|
|
9668
|
+
var annotationId = props.annotationId, defaultCondition = props.defaultCondition, inlineCommentSectionMode = props.inlineCommentSectionMode, children = props.children;
|
|
9669
|
+
var ref = React.useRef(null);
|
|
9670
|
+
return (React__default["default"].createElement("velt-comment-dialog-agent-suggestion-banner-resolver-user-name", { ref: ref, "annotation-id": annotationId, "default-condition": [true, false].includes(defaultCondition) ? (defaultCondition ? 'true' : 'false') : undefined, "inline-comment-section-mode": [true, false].includes(inlineCommentSectionMode) ? (inlineCommentSectionMode ? 'true' : 'false') : undefined }, children));
|
|
9671
|
+
};
|
|
9672
|
+
|
|
9535
9673
|
function useClient() {
|
|
9536
9674
|
var client = useVeltClient().client;
|
|
9537
9675
|
var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
|
|
@@ -11862,6 +12000,22 @@ exports.VeltCommentDialogAgentSuggestionAuthorAvatarWireframe = VeltCommentDialo
|
|
|
11862
12000
|
exports.VeltCommentDialogAgentSuggestionAuthorName = VeltCommentDialogAgentSuggestionAuthorName;
|
|
11863
12001
|
exports.VeltCommentDialogAgentSuggestionAuthorNameWireframe = VeltCommentDialogAgentSuggestionAuthorNameWireframe;
|
|
11864
12002
|
exports.VeltCommentDialogAgentSuggestionAuthorWireframe = VeltCommentDialogAgentSuggestionAuthorWireframe;
|
|
12003
|
+
exports.VeltCommentDialogAgentSuggestionBanner = VeltCommentDialogAgentSuggestionBanner;
|
|
12004
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatar = VeltCommentDialogAgentSuggestionBannerAvatar;
|
|
12005
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon = VeltCommentDialogAgentSuggestionBannerAvatarStatusIcon;
|
|
12006
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe = VeltCommentDialogAgentSuggestionBannerAvatarStatusIconWireframe;
|
|
12007
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatarUserImage = VeltCommentDialogAgentSuggestionBannerAvatarUserImage;
|
|
12008
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe = VeltCommentDialogAgentSuggestionBannerAvatarUserImageWireframe;
|
|
12009
|
+
exports.VeltCommentDialogAgentSuggestionBannerAvatarWireframe = VeltCommentDialogAgentSuggestionBannerAvatarWireframe;
|
|
12010
|
+
exports.VeltCommentDialogAgentSuggestionBannerLabel = VeltCommentDialogAgentSuggestionBannerLabel;
|
|
12011
|
+
exports.VeltCommentDialogAgentSuggestionBannerLabelWireframe = VeltCommentDialogAgentSuggestionBannerLabelWireframe;
|
|
12012
|
+
exports.VeltCommentDialogAgentSuggestionBannerResolverUserName = VeltCommentDialogAgentSuggestionBannerResolverUserName;
|
|
12013
|
+
exports.VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe = VeltCommentDialogAgentSuggestionBannerResolverUserNameWireframe;
|
|
12014
|
+
exports.VeltCommentDialogAgentSuggestionBannerSeparator = VeltCommentDialogAgentSuggestionBannerSeparator;
|
|
12015
|
+
exports.VeltCommentDialogAgentSuggestionBannerSeparatorWireframe = VeltCommentDialogAgentSuggestionBannerSeparatorWireframe;
|
|
12016
|
+
exports.VeltCommentDialogAgentSuggestionBannerTimestamp = VeltCommentDialogAgentSuggestionBannerTimestamp;
|
|
12017
|
+
exports.VeltCommentDialogAgentSuggestionBannerTimestampWireframe = VeltCommentDialogAgentSuggestionBannerTimestampWireframe;
|
|
12018
|
+
exports.VeltCommentDialogAgentSuggestionBannerWireframe = VeltCommentDialogAgentSuggestionBannerWireframe;
|
|
11865
12019
|
exports.VeltCommentDialogAgentSuggestionBody = VeltCommentDialogAgentSuggestionBody;
|
|
11866
12020
|
exports.VeltCommentDialogAgentSuggestionBodyWireframe = VeltCommentDialogAgentSuggestionBodyWireframe;
|
|
11867
12021
|
exports.VeltCommentDialogAgentSuggestionFooter = VeltCommentDialogAgentSuggestionFooter;
|