@gooddata/sdk-ui-ext 10.19.0-alpha.7 → 10.19.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/esm/index.d.ts +0 -2
  2. package/esm/index.d.ts.map +1 -1
  3. package/esm/index.js +0 -1
  4. package/esm/index.js.map +1 -1
  5. package/esm/internal/translations/de-DE.json +17 -1
  6. package/esm/internal/translations/en-AU.json +17 -1
  7. package/esm/internal/translations/en-GB.json +17 -1
  8. package/esm/internal/translations/en-US.json +15 -0
  9. package/esm/internal/translations/es-419.json +17 -1
  10. package/esm/internal/translations/es-ES.json +17 -1
  11. package/esm/internal/translations/fi-FI.json +17 -1
  12. package/esm/internal/translations/fr-CA.json +17 -1
  13. package/esm/internal/translations/fr-FR.json +17 -1
  14. package/esm/internal/translations/it-IT.json +17 -1
  15. package/esm/internal/translations/ja-JP.json +17 -1
  16. package/esm/internal/translations/nl-NL.json +17 -1
  17. package/esm/internal/translations/pt-BR.json +17 -1
  18. package/esm/internal/translations/pt-PT.json +17 -1
  19. package/esm/internal/translations/zh-HK.json +17 -1
  20. package/esm/internal/translations/zh-Hans.json +17 -1
  21. package/esm/internal/translations/zh-Hant.json +17 -1
  22. package/esm/notificationsPanel/Notification/AlertNotification.d.ts.map +1 -1
  23. package/esm/notificationsPanel/Notification/AlertNotification.js +26 -3
  24. package/esm/notificationsPanel/Notification/AlertNotification.js.map +1 -1
  25. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.d.ts.map +1 -1
  26. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js +3 -1
  27. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js.map +1 -1
  28. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js +3 -1
  29. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js.map +1 -1
  30. package/esm/notificationsPanel/components/Popup.d.ts +9 -0
  31. package/esm/notificationsPanel/components/Popup.d.ts.map +1 -0
  32. package/esm/notificationsPanel/components/Popup.js +15 -0
  33. package/esm/notificationsPanel/components/Popup.js.map +1 -0
  34. package/esm/notificationsPanel/data/useNotifications.d.ts +2 -2
  35. package/esm/notificationsPanel/data/useNotifications.js +1 -1
  36. package/esm/sdk-ui-ext.d.ts +0 -48
  37. package/package.json +17 -17
  38. package/src/notificationsPanel/Notification/DefaultNotification.scss +28 -5
  39. package/src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.scss +1 -0
  40. package/src/notificationsPanel/notificationPanel.scss +1 -0
  41. package/styles/css/main.css +520 -3
  42. package/styles/css/main.css.map +1 -1
package/esm/index.d.ts CHANGED
@@ -34,8 +34,6 @@ export declare function getInsightVisualizationMeta(insight: IInsightDefinition,
34
34
  export * from "./internal/components/dialogs/userManagementDialogs/index.js";
35
35
  export * from "./internal/components/attributeHierarchies/index.js";
36
36
  export * from "./internal/components/pluggableVisualizations/alerts.js";
37
- export { useNotifications } from "./notificationsPanel/data/useNotifications.js";
38
- export type { IUseNotificationsProps } from "./notificationsPanel/data/useNotifications.js";
39
37
  export { NotificationsPanel } from "./notificationsPanel/NotificationsPanel/NotificationsPanel.js";
40
38
  export type { INotificationsPanelProps, INotificationsPanelCustomComponentsProps, } from "./notificationsPanel/NotificationsPanel/NotificationsPanel.js";
41
39
  export { DefaultNotificationsPanel } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAGH,oBAAoB,EACpB,sBAA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uCAAuC,EAAE,MAAM,+DAA+D,CAAC;AAC7H,YAAY,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC"}
package/esm/index.js CHANGED
@@ -40,7 +40,6 @@ export function getInsightVisualizationMeta(insight, settings) {
40
40
  export * from "./internal/components/dialogs/userManagementDialogs/index.js";
41
41
  export * from "./internal/components/attributeHierarchies/index.js";
42
42
  export * from "./internal/components/pluggableVisualizations/alerts.js";
43
- export { useNotifications } from "./notificationsPanel/data/useNotifications.js";
44
43
  export { NotificationsPanel } from "./notificationsPanel/NotificationsPanel/NotificationsPanel.js";
45
44
  export { DefaultNotificationsPanel } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js";
46
45
  export { DefaultNotificationsPanelButton } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js";
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC;;;;;;;;;;GAUG;AAKH,OAAO,EACH,qBAAqB,EACrB,wBAAwB,GAI3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,cAAc,wBAAwB,CAAC;AAgBvC,OAAO,EACH,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,gCAAgC,EAChC,+BAA+B,EAC/B,sCAAsC,EACtC,gCAAgC,EAChC,uCAAuC,EACvC,oCAAoC,EACpC,4BAA4B,EAC5B,mCAAmC,EACnC,iCAAiC,EACjC,kCAAkC,EAClC,sCAAsC,EACtC,+CAA+C,EAC/C,mDAAmD,EACnD,yCAAyC,EACzC,uBAAuB,EACvB,kBAAkB,GACrB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,mHAAmH;AACnH;;GAEG;AACH,MAAM,UAAU,kBAA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OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC1E,CAAC;AAED,cAAc,8DAA8D,CAAC;AAE7E,cAAc,qDAAqD,CAAC;AAEpE,cAAc,yDAAyD,CAAC;AAExE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;AAKnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,OAAO,EAAE,+BAA+B,EAAE,MAAM,4EAA4E,CAAC;AAE7H,OAAO,EAAE,+BAA+B,EAAE,MAAM,4EAA4E,CAAC;AAE7H,OAAO,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AAE9G,OAAO,EAAE,kCAAkC,EAAE,MAAM,8EAA8E,CAAC;AAElI,OAAO,EAAE,kCAAkC,EAAE,MAAM,8EAA8E,CAAC;AAElI,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAE/F,OAAO,EAAE,+BAA+B,EAAE,MAAM,+DAA+D,CAAC"}
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Erweiterte Anpassung",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Snippets",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Übernehmen",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Abbrechen"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Abbrechen",
375
+ "gs.date.yesterday": "Gestern",
376
+ "notifications.panel.tab.unread": "Ungelesen ({count})",
377
+ "notifications.panel.tab.all": "Alle ",
378
+ "notifications.panel.markAllAsRead": "Alle als gelesen markieren",
379
+ "notifications.panel.error.loading": "Fehler beim Laden der Benachrichtigungen",
380
+ "notifications.panel.empty.all": "Keine Benachrichtigungen",
381
+ "notifications.panel.empty.unread": "Keine ungelesenen Benachrichtigungen",
382
+ "notifications.panel.unsupported.notification.type": "Nicht unterstützter Benachrichtigungstyp",
383
+ "notifications.panel.markAsRead": "Als gelesen markieren",
384
+ "notifications.filters.buttonLabel": "Filter anzeigen",
385
+ "notifications.filters.dialog.title": "Angewandte Filter",
386
+ "notifications.filters.dialog.dateRange": "Datumsbereich",
387
+ "notifications.panel.triggers.title": "für {triggeredCount}/{totalCount} Artikel",
388
+ "notifications.panel.triggers.dialog.newValue": "Neuer Wert",
389
+ "close": "Schließen",
390
+ "notifications.panel.triggers.dialog.title": "Ausgelöst durch"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Advanced customisation",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Snippets",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Apply",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancel"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancel",
375
+ "gs.date.yesterday": "Yesterday",
376
+ "notifications.panel.tab.unread": "Unread ({count})",
377
+ "notifications.panel.tab.all": "All",
378
+ "notifications.panel.markAllAsRead": "Mark all as read",
379
+ "notifications.panel.error.loading": "Error loading notifications",
380
+ "notifications.panel.empty.all": "No notifications",
381
+ "notifications.panel.empty.unread": "No unread notifications",
382
+ "notifications.panel.unsupported.notification.type": "Unsupported notification type",
383
+ "notifications.panel.markAsRead": "Mark as read",
384
+ "notifications.filters.buttonLabel": "Show filters",
385
+ "notifications.filters.dialog.title": "Applied filters",
386
+ "notifications.filters.dialog.dateRange": "Date Range",
387
+ "notifications.panel.triggers.title": "for {triggeredCount}/{totalCount} items",
388
+ "notifications.panel.triggers.dialog.newValue": "New value",
389
+ "close": "Close",
390
+ "notifications.panel.triggers.dialog.title": "Triggered for"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Advanced customisation",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Snippets",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Apply",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancel"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancel",
375
+ "gs.date.yesterday": "Yesterday",
376
+ "notifications.panel.tab.unread": "Unread ({count})",
377
+ "notifications.panel.tab.all": "All",
378
+ "notifications.panel.markAllAsRead": "Mark all as read",
379
+ "notifications.panel.error.loading": "Error loading notifications",
380
+ "notifications.panel.empty.all": "No notifications",
381
+ "notifications.panel.empty.unread": "No unread notifications",
382
+ "notifications.panel.unsupported.notification.type": "Unsupported notification type",
383
+ "notifications.panel.markAsRead": "Mark as read",
384
+ "notifications.filters.buttonLabel": "Show filters",
385
+ "notifications.filters.dialog.title": "Applied filters",
386
+ "notifications.filters.dialog.dateRange": "Date Range",
387
+ "notifications.panel.triggers.title": "for {triggeredCount}/{totalCount} items",
388
+ "notifications.panel.triggers.dialog.newValue": "New value",
389
+ "close": "Close",
390
+ "notifications.panel.triggers.dialog.title": "Triggered for"
375
391
  }
@@ -2087,5 +2087,20 @@
2087
2087
  "value": "Triggered for",
2088
2088
  "comment": "",
2089
2089
  "limit": 0
2090
+ },
2091
+ "notifications.panel.error.learnMore": {
2092
+ "value": "Learn more",
2093
+ "comment": "",
2094
+ "limit": 0
2095
+ },
2096
+ "notifications.panel.error.traceId": {
2097
+ "value": "Trace ID",
2098
+ "comment": "",
2099
+ "limit": 0
2100
+ },
2101
+ "notifications.panel.error.message": {
2102
+ "value": "The alert could not be processed.",
2103
+ "comment": "",
2104
+ "limit": 0
2090
2105
  }
2091
2106
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personalización avanzada",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Fragmentos",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Aplicar",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancelar"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancelar",
375
+ "gs.date.yesterday": "Ayer",
376
+ "notifications.panel.tab.unread": "Sin leer ({count})",
377
+ "notifications.panel.tab.all": "Todo",
378
+ "notifications.panel.markAllAsRead": "Marcar todo como leído",
379
+ "notifications.panel.error.loading": "Notificaciones de errores de carga",
380
+ "notifications.panel.empty.all": "Sin notificaciones",
381
+ "notifications.panel.empty.unread": "Notificaciones no leídas",
382
+ "notifications.panel.unsupported.notification.type": "Tipo de notificación no compatible",
383
+ "notifications.panel.markAsRead": "Marcar como leído",
384
+ "notifications.filters.buttonLabel": "Mostrar filtros",
385
+ "notifications.filters.dialog.title": "Filtros aplicados",
386
+ "notifications.filters.dialog.dateRange": "Intervalo de fechas",
387
+ "notifications.panel.triggers.title": "para {triggeredCount}/{totalCount} artículos",
388
+ "notifications.panel.triggers.dialog.newValue": "Nuevo valor",
389
+ "close": "Cerrar",
390
+ "notifications.panel.triggers.dialog.title": "Activado por"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personalización avanzada",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Fragmentos",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Aplicar",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancelar"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancelar",
375
+ "gs.date.yesterday": "Ayer",
376
+ "notifications.panel.tab.unread": "Sin leer ({count})",
377
+ "notifications.panel.tab.all": "Todo",
378
+ "notifications.panel.markAllAsRead": "Marcar todo como leído",
379
+ "notifications.panel.error.loading": "Notificaciones de errores de carga",
380
+ "notifications.panel.empty.all": "Sin notificaciones",
381
+ "notifications.panel.empty.unread": "Notificaciones no leídas",
382
+ "notifications.panel.unsupported.notification.type": "Tipo de notificación no compatible",
383
+ "notifications.panel.markAsRead": "Marcar como leído",
384
+ "notifications.filters.buttonLabel": "Mostrar filtros",
385
+ "notifications.filters.dialog.title": "Filtros aplicados",
386
+ "notifications.filters.dialog.dateRange": "Intervalo de fechas",
387
+ "notifications.panel.triggers.title": "para {triggeredCount}/{totalCount} artículos",
388
+ "notifications.panel.triggers.dialog.newValue": "Nuevo valor",
389
+ "close": "Cerrar",
390
+ "notifications.panel.triggers.dialog.title": "Activado por"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Edistynyt mukautus",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Katkelmat",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Käytä",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Peruuta"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Peruuta",
375
+ "gs.date.yesterday": "Eilen",
376
+ "notifications.panel.tab.unread": "Lukematon ({count})",
377
+ "notifications.panel.tab.all": "Kaikki",
378
+ "notifications.panel.markAllAsRead": "Merkitse kaikki luetuksi",
379
+ "notifications.panel.error.loading": "Virhe ilmoitusten lataamisessa",
380
+ "notifications.panel.empty.all": "Ei ilmoituksia",
381
+ "notifications.panel.empty.unread": "Ei lukemattomia ilmoituksia",
382
+ "notifications.panel.unsupported.notification.type": "Ilmoitustyyppiä ei tueta",
383
+ "notifications.panel.markAsRead": "Merkitse luetuksi",
384
+ "notifications.filters.buttonLabel": "Näytä suodattimet",
385
+ "notifications.filters.dialog.title": "Käytetyt suodattimet",
386
+ "notifications.filters.dialog.dateRange": "Ajanjakso",
387
+ "notifications.panel.triggers.title": "kohteelle {triggeredCount}/{totalCount}items",
388
+ "notifications.panel.triggers.dialog.newValue": "Uusi arvo",
389
+ "close": "Sulje",
390
+ "notifications.panel.triggers.dialog.title": "Laukaistu kohteelle"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personnalisation avancée",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Fragments",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Appliquer",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Annuler"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Annuler",
375
+ "gs.date.yesterday": "Hier",
376
+ "notifications.panel.tab.unread": "Non lu ({count})",
377
+ "notifications.panel.tab.all": "Tout",
378
+ "notifications.panel.markAllAsRead": "Marquer tous les textes comme lus",
379
+ "notifications.panel.error.loading": "Erreurs de chargement des notifications",
380
+ "notifications.panel.empty.all": "Aucune notification",
381
+ "notifications.panel.empty.unread": "Aucunes notifications non lues",
382
+ "notifications.panel.unsupported.notification.type": "Type de notification non prise en charge",
383
+ "notifications.panel.markAsRead": "Marquer comme lue",
384
+ "notifications.filters.buttonLabel": "Afficher les filtres",
385
+ "notifications.filters.dialog.title": "Filtres appliqués",
386
+ "notifications.filters.dialog.dateRange": "Plage de dates",
387
+ "notifications.panel.triggers.title": "pour les articles {triggeredCount}/{totalCount} ",
388
+ "notifications.panel.triggers.dialog.newValue": "Nouvelle valeur",
389
+ "close": "Fermer",
390
+ "notifications.panel.triggers.dialog.title": "Déclenché pour"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personnalisation avancée",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Snippets",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Appliquer",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Annuler"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Annuler",
375
+ "gs.date.yesterday": "Hier",
376
+ "notifications.panel.tab.unread": "Non lu ({count})",
377
+ "notifications.panel.tab.all": "Tout",
378
+ "notifications.panel.markAllAsRead": "Marquer tous les textes comme lus",
379
+ "notifications.panel.error.loading": "Erreurs lors du chargement des notifications",
380
+ "notifications.panel.empty.all": "Aucune notification",
381
+ "notifications.panel.empty.unread": "Aucune notification non lue",
382
+ "notifications.panel.unsupported.notification.type": "Type de notification non pris en charge",
383
+ "notifications.panel.markAsRead": "Marquer le texte comme lu",
384
+ "notifications.filters.buttonLabel": "Afficher les filtres",
385
+ "notifications.filters.dialog.title": "Filtres appliqués",
386
+ "notifications.filters.dialog.dateRange": "Plage de dates",
387
+ "notifications.panel.triggers.title": "pour les articles {triggeredCount}/{totalCount}",
388
+ "notifications.panel.triggers.dialog.newValue": "Nouvelle valeur",
389
+ "close": "Fermer",
390
+ "notifications.panel.triggers.dialog.title": "Déclenché pour"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personalizzazione avanzata",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Snippet",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Applica",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Annulla"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Annulla",
375
+ "gs.date.yesterday": "Ieri",
376
+ "notifications.panel.tab.unread": "Non letto ({count})",
377
+ "notifications.panel.tab.all": "Tutto",
378
+ "notifications.panel.markAllAsRead": "Contrassegnare tutti come letti",
379
+ "notifications.panel.error.loading": "Notifiche di errori di caricamento",
380
+ "notifications.panel.empty.all": "Nessuna notifica",
381
+ "notifications.panel.empty.unread": "Nessuna notifica non letta",
382
+ "notifications.panel.unsupported.notification.type": "Tipo di notifica non supportato",
383
+ "notifications.panel.markAsRead": "Segna come letto",
384
+ "notifications.filters.buttonLabel": "Mostra filtri",
385
+ "notifications.filters.dialog.title": "Filtri applicati",
386
+ "notifications.filters.dialog.dateRange": "Intervallo di date",
387
+ "notifications.panel.triggers.title": "per {triggeredCount}/{totalCount} articoli",
388
+ "notifications.panel.triggers.dialog.newValue": "Nuovo valore",
389
+ "close": "Chiudere",
390
+ "notifications.panel.triggers.dialog.title": "Attivato per"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "高度なカスタマイズ",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "抜粋",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "適用",
374
- "properties.advanced.chartConfigOverride.button.cancel": "キャンセル"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "キャンセル",
375
+ "gs.date.yesterday": "昨日",
376
+ "notifications.panel.tab.unread": "未読 ({count}件)",
377
+ "notifications.panel.tab.all": "すべて",
378
+ "notifications.panel.markAllAsRead": "すべて既読にする",
379
+ "notifications.panel.error.loading": "通知の読み込みエラー",
380
+ "notifications.panel.empty.all": "通知なし",
381
+ "notifications.panel.empty.unread": "未読通知なし",
382
+ "notifications.panel.unsupported.notification.type": "サポートされていない通知タイプ",
383
+ "notifications.panel.markAsRead": "既読にする",
384
+ "notifications.filters.buttonLabel": "フィルターを表示",
385
+ "notifications.filters.dialog.title": "適用されたフィルター",
386
+ "notifications.filters.dialog.dateRange": "日付範囲",
387
+ "notifications.panel.triggers.title": "{triggeredCount}/{totalCount} 件のアイテム用",
388
+ "notifications.panel.triggers.dialog.newValue": "新しい価値",
389
+ "close": "閉じる",
390
+ "notifications.panel.triggers.dialog.title": "トリガー済み:"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Geavanceerde aanpassing",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Fragmenten ",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Toepassen",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Annuleren"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Annuleren",
375
+ "gs.date.yesterday": "Gisteren",
376
+ "notifications.panel.tab.unread": "Ongelezen ({count})",
377
+ "notifications.panel.tab.all": "Alles",
378
+ "notifications.panel.markAllAsRead": "Alles als gelezen markeren",
379
+ "notifications.panel.error.loading": "Fout bij het laden van meldingen",
380
+ "notifications.panel.empty.all": "Geen meldingen",
381
+ "notifications.panel.empty.unread": "Geen ongelezen meldingen",
382
+ "notifications.panel.unsupported.notification.type": "Niet-ondersteund meldingstype",
383
+ "notifications.panel.markAsRead": "Als gelezen markeren",
384
+ "notifications.filters.buttonLabel": "Filters tonen",
385
+ "notifications.filters.dialog.title": "Toegepaste filters",
386
+ "notifications.filters.dialog.dateRange": "Datumbereik",
387
+ "notifications.panel.triggers.title": "voor {triggeredCount}/{totalCount} items",
388
+ "notifications.panel.triggers.dialog.newValue": "Nieuwe waarde",
389
+ "close": "Sluiten",
390
+ "notifications.panel.triggers.dialog.title": "Geactiveerd voor"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personalização avançada",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Trechos",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Aplicar",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancelar"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancelar",
375
+ "gs.date.yesterday": "Ontem",
376
+ "notifications.panel.tab.unread": "Não lido ({count})",
377
+ "notifications.panel.tab.all": "Todos",
378
+ "notifications.panel.markAllAsRead": "Marcar tudo como lido",
379
+ "notifications.panel.error.loading": "Erro ao carregar notificações",
380
+ "notifications.panel.empty.all": "Nenhuma notificação",
381
+ "notifications.panel.empty.unread": "Nenhuma notificação não lida",
382
+ "notifications.panel.unsupported.notification.type": "Tipo de notificação não suportado",
383
+ "notifications.panel.markAsRead": "Marcar como lido",
384
+ "notifications.filters.buttonLabel": "Mostrar filtros",
385
+ "notifications.filters.dialog.title": "Filtros aplicados",
386
+ "notifications.filters.dialog.dateRange": "Intervalo de Datas",
387
+ "notifications.panel.triggers.title": "para {triggeredCount}/{totalCount} itens",
388
+ "notifications.panel.triggers.dialog.newValue": "Novo valor",
389
+ "close": "Fechar",
390
+ "notifications.panel.triggers.dialog.title": "Acionado para"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "Personalização avançada",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "Fragmentos",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "Aplicar",
374
- "properties.advanced.chartConfigOverride.button.cancel": "Cancelar"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "Cancelar",
375
+ "gs.date.yesterday": "Ontem",
376
+ "notifications.panel.tab.unread": "Não lido ({count})",
377
+ "notifications.panel.tab.all": "Todos",
378
+ "notifications.panel.markAllAsRead": "Marcar tudo como lido",
379
+ "notifications.panel.error.loading": "Erro ao carregar notificações",
380
+ "notifications.panel.empty.all": "Sem notificações",
381
+ "notifications.panel.empty.unread": "Sem notificações não lidas",
382
+ "notifications.panel.unsupported.notification.type": "Tipo de notificação não suportado",
383
+ "notifications.panel.markAsRead": "Marcar como lido",
384
+ "notifications.filters.buttonLabel": "Mostrar filtros",
385
+ "notifications.filters.dialog.title": "Filtros aplicados",
386
+ "notifications.filters.dialog.dateRange": "Intervalo de Datas",
387
+ "notifications.panel.triggers.title": "para {triggeredCount}/{totalCount} itens",
388
+ "notifications.panel.triggers.dialog.newValue": "Novo valor",
389
+ "close": "Fechar",
390
+ "notifications.panel.triggers.dialog.title": "Acionado para"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "高級定製",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "片段",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "應用",
374
- "properties.advanced.chartConfigOverride.button.cancel": "取消"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "取消",
375
+ "gs.date.yesterday": "琴日",
376
+ "notifications.panel.tab.unread": "未讀({count})",
377
+ "notifications.panel.tab.all": "都",
378
+ "notifications.panel.markAllAsRead": "全部標記為已讀",
379
+ "notifications.panel.error.loading": "加載通知時出錯",
380
+ "notifications.panel.empty.all": "無通知",
381
+ "notifications.panel.empty.unread": "無未讀通知",
382
+ "notifications.panel.unsupported.notification.type": "不支持的通知類型",
383
+ "notifications.panel.markAsRead": "標記為已讀",
384
+ "notifications.filters.buttonLabel": "顯示篩選條件",
385
+ "notifications.filters.dialog.title": "應用的篩選條件",
386
+ "notifications.filters.dialog.dateRange": "日期範圍",
387
+ "notifications.panel.triggers.title": "{triggeredCount}/{totalCount}項",
388
+ "notifications.panel.triggers.dialog.newValue": "新值",
389
+ "close": "關閉",
390
+ "notifications.panel.triggers.dialog.title": "觸發條件"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "高级定制",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "片段",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "应用",
374
- "properties.advanced.chartConfigOverride.button.cancel": "取消"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "取消",
375
+ "gs.date.yesterday": "昨天",
376
+ "notifications.panel.tab.unread": "未读 ({count} )",
377
+ "notifications.panel.tab.all": "全部",
378
+ "notifications.panel.markAllAsRead": "全部标记为已读",
379
+ "notifications.panel.error.loading": "加载通知时出错",
380
+ "notifications.panel.empty.all": "无通知",
381
+ "notifications.panel.empty.unread": "无未读通知",
382
+ "notifications.panel.unsupported.notification.type": "不支持的通知类型",
383
+ "notifications.panel.markAsRead": "标记为已读",
384
+ "notifications.filters.buttonLabel": "显示筛选条件",
385
+ "notifications.filters.dialog.title": "应用的筛选条件",
386
+ "notifications.filters.dialog.dateRange": "日期范围",
387
+ "notifications.panel.triggers.title": "针对{triggeredCount}/{totalCount}项",
388
+ "notifications.panel.triggers.dialog.newValue": "新数值",
389
+ "close": "关",
390
+ "notifications.panel.triggers.dialog.title": "触发对象:"
375
391
  }
@@ -371,5 +371,21 @@
371
371
  "properties.advanced.chartConfigOverride.title": "高級訂製",
372
372
  "properties.advanced.chartConfigOverride.snippets.header": "片段",
373
373
  "properties.advanced.chartConfigOverride.button.apply": "申請",
374
- "properties.advanced.chartConfigOverride.button.cancel": "取消"
374
+ "properties.advanced.chartConfigOverride.button.cancel": "取消",
375
+ "gs.date.yesterday": "昨天",
376
+ "notifications.panel.tab.unread": "未讀({count})",
377
+ "notifications.panel.tab.all": "全部",
378
+ "notifications.panel.markAllAsRead": "全部標記為已讀",
379
+ "notifications.panel.error.loading": "載入通知時出錯",
380
+ "notifications.panel.empty.all": "沒有通知",
381
+ "notifications.panel.empty.unread": "沒有未讀通知",
382
+ "notifications.panel.unsupported.notification.type": "不支援的通知類型",
383
+ "notifications.panel.markAsRead": "標記為已讀",
384
+ "notifications.filters.buttonLabel": "顯示篩選器",
385
+ "notifications.filters.dialog.title": "應用篩選器",
386
+ "notifications.filters.dialog.dateRange": "日期範圍",
387
+ "notifications.panel.triggers.title": "適用於 {triggeredCount}/{totalCount} 個項目",
388
+ "notifications.panel.triggers.dialog.newValue": "新值",
389
+ "close": "關閉",
390
+ "notifications.panel.triggers.dialog.title": "觸發原因"
375
391
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AlertNotification.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/AlertNotification.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAqB,kBAAkB,EAAiB,MAAM,qBAAqB,CAAC;AAQ3F;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,YAAY,EAAE,kBAAkB,CAAC;IACjC,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,mBAAmB,EAAE,CAAC,YAAY,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnE;AAID;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,GACtB,EAAE,wBAAwB,qBA6D1B"}
1
+ {"version":3,"file":"AlertNotification.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/AlertNotification.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAqB,kBAAkB,EAAiB,MAAM,qBAAqB,CAAC;AAS3F;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,YAAY,EAAE,kBAAkB,CAAC;IACjC,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,mBAAmB,EAAE,CAAC,YAAY,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnE;AAID;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,GACtB,EAAE,wBAAwB,qBAqG1B"}
@@ -3,6 +3,7 @@ import React, { useCallback } from "react";
3
3
  import { getDateTimeConfig, UiIcon } from "@gooddata/sdk-ui-kit";
4
4
  import { bem } from "../bem.js";
5
5
  import { Tooltip } from "../components/Tooltip.js";
6
+ import { Popup } from "../components/Popup.js";
6
7
  // import { NotificationFiltersDetail } from "../NotificationFiltersDetail/NotificationFiltersDetail.js";
7
8
  import { NotificationTriggerDetail } from "../NotificationTriggersDetail/NotificationTriggersDetail.js";
8
9
  import { defineMessages, FormattedDate, FormattedMessage, FormattedTime, useIntl } from "react-intl";
@@ -19,7 +20,9 @@ export function AlertNotification({ notification, markNotificationAsRead, onNoti
19
20
  const clickNotification = useCallback((event) => {
20
21
  const target = event.target;
21
22
  const targetIsElement = target instanceof Element;
22
- const isNotificationsDetailsLink = targetIsElement && target.closest(`[data-id="notification-detail"]`);
23
+ const isNotificationsDetailsLink = targetIsElement &&
24
+ (target.closest(`[data-id="notification-detail"]`) ||
25
+ target.closest(`[data-id="notification-error"]`));
23
26
  if (isNotificationsDetailsLink) {
24
27
  return;
25
28
  }
@@ -30,14 +33,34 @@ export function AlertNotification({ notification, markNotificationAsRead, onNoti
30
33
  // const isSliced = notification.details.data.alert.attribute;
31
34
  // const showSeparator = filterCount && filterCount > 0 && isSliced;
32
35
  const notificationTitle = getNotificationTitle(notification);
36
+ const isSliced = notification.details.data.alert.attribute;
37
+ const hasTriggers = notification.details.data.alert.totalValueCount > 0;
38
+ const isError = notification.details.data.alert.status !== "SUCCESS";
39
+ const errorMessage = notification.details.data.alert.errorMessage;
40
+ const traceId = notification.details.data.alert.traceId;
33
41
  return (React.createElement("div", { className: b({ isRead: notification.isRead }), onClick: clickNotification },
34
42
  React.createElement("div", { className: e("icon") },
35
43
  !notification.isRead && React.createElement("div", { className: e("unread-status") }),
36
44
  React.createElement(UiIcon, { type: "alert", size: 14, color: "complementary-6" })),
37
45
  React.createElement("div", { className: e("details") },
38
46
  React.createElement("div", { className: e("title", { isRead: notification.isRead }), title: notificationTitle }, notificationTitle),
39
- React.createElement("div", { className: e("links") },
40
- React.createElement(NotificationTriggerDetail, { notification: notification }))),
47
+ isError ? (React.createElement("div", { className: e("error") },
48
+ React.createElement("div", { className: e("error-icon") },
49
+ React.createElement(UiIcon, { type: "crossCircle", size: 12, color: "error" })),
50
+ React.createElement("div", null,
51
+ React.createElement(FormattedMessage, { id: "notifications.panel.error.message" }),
52
+ " ",
53
+ React.createElement(Popup, { popup: React.createElement("div", { className: e("error-popup") },
54
+ errorMessage,
55
+ React.createElement("br", null),
56
+ React.createElement(FormattedMessage, { id: "notifications.panel.error.traceId" }),
57
+ ": ",
58
+ traceId) }, ({ toggle, id }) => (React.createElement("u", { "data-id": "notification-error", id: id, onClick: () => {
59
+ toggle();
60
+ } },
61
+ React.createElement(FormattedMessage, { id: "notifications.panel.error.learnMore" }))))))) : null,
62
+ !isError && isSliced && hasTriggers ? (React.createElement("div", { className: e("links") },
63
+ React.createElement(NotificationTriggerDetail, { notification: notification }))) : null),
41
64
  React.createElement("div", { className: e("time") },
42
65
  React.createElement(NotificationTime, { config: getDateTimeConfig(notification.createdAt) })),
43
66
  React.createElement("div", { className: e("mark-as-read-button") },
@@ -1 +1 @@
1
- {"version":3,"file":"AlertNotification.js","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/AlertNotification.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAe,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,yGAAyG;AACzG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAWrG,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,wBAAwB,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BAAgB,CAAC,MAAM,CAAC;IACvC,MAAM,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC7C,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,kBAAkB,CAAC;IAE/D,8FAA8F;IAC9F,OAAO,GAAG,MAAM,OAAO,SAAS,IAAI,kBAAkB,EAAE,CAAC;AAC7D,CAAC;AAED,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAA2B,EAAE,EAAE;IAC7D,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,oBAAC,aAAa,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,KAAK,GAAI,CAAC;IAC9E,CAAC;SAAM,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QAC5B,OAAO,CACH;YACI,oBAAC,gBAAgB,IAAC,EAAE,EAAC,mBAAmB,GAAG,CACxC,CACV,CAAC;IACN,CAAC;IAED,OAAO,oBAAC,aAAa,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAC,eAAe,GAAG,CAAC;AACxE,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,UAAU,EAAE;QACR,EAAE,EAAE,gCAAgC;KACvC;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"AlertNotification.js","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/AlertNotification.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAe,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,yGAAyG;AACzG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ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAE9C;;OAEG;IACH,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAElC;;OAEG;IACH,sBAAsB,EAAE,MAAM,IAAI,CAAC;IAEnC;;OAEG;IACH,uBAAuB,EAAE,MAAM,IAAI,CAAC;IAEpC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACzB,EAAE,uCAAuC,qBAazC"}
1
+ {"version":3,"file":"DefaultNotificationsPanelButton.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAE9C;;OAEG;IACH,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAElC;;OAEG;IACH,sBAAsB,EAAE,MAAM,IAAI,CAAC;IAEnC;;OAEG;IACH,uBAAuB,EAAE,MAAM,IAAI,CAAC;IAEpC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACzB,EAAE,uCAAuC,qBAczC"}
@@ -3,14 +3,16 @@ import React from "react";
3
3
  import cx from "classnames";
4
4
  import { UiIcon } from "@gooddata/sdk-ui-kit";
5
5
  import { bem } from "../bem.js";
6
+ import { useIsDarkTheme } from "@gooddata/sdk-ui-theme-provider";
6
7
  const { b, e } = bem("gd-ui-ext-notifications-panel-button");
7
8
  /**
8
9
  * @internal
9
10
  */
10
11
  export function DefaultNotificationsPanelButton({ buttonRef, isNotificationPanelOpen, toggleNotificationPanel, hasUnreadNotifications, }) {
12
+ const isDarkTheme = useIsDarkTheme();
11
13
  return (React.createElement("button", { ref: buttonRef, className: cx(`gd-button gd-header-button ${b({ isOpen: isNotificationPanelOpen })}`), onClick: toggleNotificationPanel },
12
14
  React.createElement("span", { className: e("icon") },
13
15
  hasUnreadNotifications ? React.createElement("span", { className: e("unread-status") }) : null,
14
- React.createElement(UiIcon, { type: "alert", size: 14, color: "complementary-0" }))));
16
+ React.createElement(UiIcon, { type: "alert", size: 14, color: isDarkTheme ? "complementary-9" : "complementary-0" }))));
15
17
  }
16
18
  //# sourceMappingURL=DefaultNotificationsPanelButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultNotificationsPanelButton.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,sCAAsC,CAAC,CAAC;AAuC7D;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,EAC5C,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACgB;IACtC,OAAO,CACH,gCACI,GAAG,EAAE,SAAS,EACd,SAAS,EAAE,EAAE,CAAC,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC,EAAE,CAAC,EACrF,OAAO,EAAE,uBAAuB;QAEhC,8BAAM,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,sBAAsB,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI;YACxE,oBAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,iBAAiB,GAAG,CACtD,CACF,CACZ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DefaultNotificationsPanelButton.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,sCAAsC,CAAC,CAAC;AAuC7D;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,EAC5C,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACgB;IACtC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,OAAO,CACH,gCACI,GAAG,EAAE,SAAS,EACd,SAAS,EAAE,EAAE,CAAC,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC,EAAE,CAAC,EACrF,OAAO,EAAE,uBAAuB;QAEhC,8BAAM,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,sBAAsB,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI;YACxE,oBAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,GAAI,CAC1F,CACF,CACZ,CAAC;AACN,CAAC"}
@@ -44,7 +44,9 @@ function NotificationsPanelController({ NotificationsPanelButton, NotificationsP
44
44
  //
45
45
  status, error, loadNextPage, hasNextPage, } = useNotificationsPanelController();
46
46
  const handleNotificationClick = useCallback((notification) => {
47
- markNotificationAsRead(notification.id);
47
+ if (!notification.isRead) {
48
+ markNotificationAsRead(notification.id);
49
+ }
48
50
  closeNotificationsPanel();
49
51
  onNotificationClick?.(notification);
50
52
  }, [markNotificationAsRead, closeNotificationsPanel, onNotificationClick]);