@gooddata/sdk-ui-ext 10.18.0-alpha.1 → 10.18.0-alpha.3

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 (136) hide show
  1. package/NOTICE +102 -3
  2. package/esm/index.d.ts +11 -0
  3. package/esm/index.d.ts.map +1 -1
  4. package/esm/index.js +2 -0
  5. package/esm/index.js.map +1 -1
  6. package/esm/internal/translations/en-US.json +80 -0
  7. package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.d.ts +12 -0
  8. package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.d.ts.map +1 -0
  9. package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.js +18 -0
  10. package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.js.map +1 -0
  11. package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.d.ts +22 -0
  12. package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.d.ts.map +1 -0
  13. package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.js +15 -0
  14. package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.js.map +1 -0
  15. package/esm/notificationsPanel/Notification/AlertNotification.d.ts +15 -0
  16. package/esm/notificationsPanel/Notification/AlertNotification.d.ts.map +1 -0
  17. package/esm/notificationsPanel/Notification/AlertNotification.js +74 -0
  18. package/esm/notificationsPanel/Notification/AlertNotification.js.map +1 -0
  19. package/esm/notificationsPanel/Notification/DefaultNotification.d.ts +15 -0
  20. package/esm/notificationsPanel/Notification/DefaultNotification.d.ts.map +1 -0
  21. package/esm/notificationsPanel/Notification/DefaultNotification.js +26 -0
  22. package/esm/notificationsPanel/Notification/DefaultNotification.js.map +1 -0
  23. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.d.ts +13 -0
  24. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.d.ts.map +1 -0
  25. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.js +37 -0
  26. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.js.map +1 -0
  27. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.d.ts +14 -0
  28. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.d.ts.map +1 -0
  29. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js +24 -0
  30. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js.map +1 -0
  31. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.d.ts +10 -0
  32. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.d.ts.map +1 -0
  33. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js +42 -0
  34. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js.map +1 -0
  35. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts +12 -0
  36. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts.map +1 -0
  37. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js +27 -0
  38. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js.map +1 -0
  39. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts +28 -0
  40. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts.map +1 -0
  41. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.js +23 -0
  42. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.js.map +1 -0
  43. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts +13 -0
  44. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts.map +1 -0
  45. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.js +23 -0
  46. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.js.map +1 -0
  47. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.d.ts +13 -0
  48. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.d.ts.map +1 -0
  49. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.js +18 -0
  50. package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.js.map +1 -0
  51. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts +38 -0
  52. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts.map +1 -0
  53. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js +13 -0
  54. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js.map +1 -0
  55. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts +32 -0
  56. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts.map +1 -0
  57. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js +41 -0
  58. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js.map +1 -0
  59. package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.d.ts +35 -0
  60. package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.d.ts.map +1 -0
  61. package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.js +16 -0
  62. package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.js.map +1 -0
  63. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.d.ts +58 -0
  64. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.d.ts.map +1 -0
  65. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js +93 -0
  66. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js.map +1 -0
  67. package/esm/notificationsPanel/bem.d.ts +5 -0
  68. package/esm/notificationsPanel/bem.d.ts.map +1 -0
  69. package/esm/notificationsPanel/bem.js +4 -0
  70. package/esm/notificationsPanel/bem.js.map +1 -0
  71. package/esm/notificationsPanel/components/DetailsDialog.d.ts +9 -0
  72. package/esm/notificationsPanel/components/DetailsDialog.d.ts.map +1 -0
  73. package/esm/notificationsPanel/components/DetailsDialog.js +23 -0
  74. package/esm/notificationsPanel/components/DetailsDialog.js.map +1 -0
  75. package/esm/notificationsPanel/components/Skeleton.d.ts +8 -0
  76. package/esm/notificationsPanel/components/Skeleton.d.ts.map +1 -0
  77. package/esm/notificationsPanel/components/Skeleton.js +11 -0
  78. package/esm/notificationsPanel/components/Skeleton.js.map +1 -0
  79. package/esm/notificationsPanel/components/Tooltip.d.ts +6 -0
  80. package/esm/notificationsPanel/components/Tooltip.d.ts.map +1 -0
  81. package/esm/notificationsPanel/components/Tooltip.js +10 -0
  82. package/esm/notificationsPanel/components/Tooltip.js.map +1 -0
  83. package/esm/notificationsPanel/components/VirtualList.d.ts +15 -0
  84. package/esm/notificationsPanel/components/VirtualList.d.ts.map +1 -0
  85. package/esm/notificationsPanel/components/VirtualList.js +77 -0
  86. package/esm/notificationsPanel/components/VirtualList.js.map +1 -0
  87. package/esm/notificationsPanel/data/NotificationsContext.d.ts +26 -0
  88. package/esm/notificationsPanel/data/NotificationsContext.d.ts.map +1 -0
  89. package/esm/notificationsPanel/data/NotificationsContext.js +18 -0
  90. package/esm/notificationsPanel/data/NotificationsContext.js.map +1 -0
  91. package/esm/notificationsPanel/data/attributeFilterNaming.d.ts +4 -0
  92. package/esm/notificationsPanel/data/attributeFilterNaming.d.ts.map +1 -0
  93. package/esm/notificationsPanel/data/attributeFilterNaming.js +9 -0
  94. package/esm/notificationsPanel/data/attributeFilterNaming.js.map +1 -0
  95. package/esm/notificationsPanel/data/dateFilterNaming.d.ts +4 -0
  96. package/esm/notificationsPanel/data/dateFilterNaming.d.ts.map +1 -0
  97. package/esm/notificationsPanel/data/dateFilterNaming.js +15 -0
  98. package/esm/notificationsPanel/data/dateFilterNaming.js.map +1 -0
  99. package/esm/notificationsPanel/data/useFetchNotifications.d.ts +29 -0
  100. package/esm/notificationsPanel/data/useFetchNotifications.d.ts.map +1 -0
  101. package/esm/notificationsPanel/data/useFetchNotifications.js +52 -0
  102. package/esm/notificationsPanel/data/useFetchNotifications.js.map +1 -0
  103. package/esm/notificationsPanel/data/useNotificationFiltersDetail.d.ts +12 -0
  104. package/esm/notificationsPanel/data/useNotificationFiltersDetail.d.ts.map +1 -0
  105. package/esm/notificationsPanel/data/useNotificationFiltersDetail.js +96 -0
  106. package/esm/notificationsPanel/data/useNotificationFiltersDetail.js.map +1 -0
  107. package/esm/notificationsPanel/data/useNotifications.d.ts +27 -0
  108. package/esm/notificationsPanel/data/useNotifications.d.ts.map +1 -0
  109. package/esm/notificationsPanel/data/useNotifications.js +92 -0
  110. package/esm/notificationsPanel/data/useNotifications.js.map +1 -0
  111. package/esm/notificationsPanel/localization/IntlWrapper.d.ts +13 -0
  112. package/esm/notificationsPanel/localization/IntlWrapper.d.ts.map +1 -0
  113. package/esm/notificationsPanel/localization/IntlWrapper.js +32 -0
  114. package/esm/notificationsPanel/localization/IntlWrapper.js.map +1 -0
  115. package/esm/notificationsPanel/types.d.ts +5 -0
  116. package/esm/notificationsPanel/types.d.ts.map +1 -0
  117. package/esm/notificationsPanel/types.js +3 -0
  118. package/esm/notificationsPanel/types.js.map +1 -0
  119. package/esm/sdk-ui-ext.d.ts +183 -0
  120. package/package.json +20 -16
  121. package/src/notificationsPanel/Notification/DefaultNotification.scss +134 -0
  122. package/src/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.scss +29 -0
  123. package/src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.scss +72 -0
  124. package/src/notificationsPanel/NotificationsList/DefaultNotificationsList.scss +7 -0
  125. package/src/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.scss +21 -0
  126. package/src/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.scss +21 -0
  127. package/src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.scss +18 -0
  128. package/src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.scss +28 -0
  129. package/src/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.scss +34 -0
  130. package/src/notificationsPanel/components/DetailsDialog.scss +51 -0
  131. package/src/notificationsPanel/components/Skeleton.scss +25 -0
  132. package/src/notificationsPanel/components/VirtualList.scss +26 -0
  133. package/src/notificationsPanel/notificationPanel.scss +19 -0
  134. package/styles/css/main.css +407 -0
  135. package/styles/css/main.css.map +1 -1
  136. package/styles/scss/main.scss +1 -0
@@ -0,0 +1,10 @@
1
+ import { IAlertNotification } from "@gooddata/sdk-model";
2
+ import React from "react";
3
+ export interface INotificationTriggerDetailProps {
4
+ notification: IAlertNotification;
5
+ }
6
+ /**
7
+ * @alpha
8
+ */
9
+ export declare function NotificationTriggerDetail({ notification }: INotificationTriggerDetailProps): React.JSX.Element;
10
+ //# sourceMappingURL=NotificationTriggersDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTriggersDetail.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE5E,OAAO,KAA2B,MAAM,OAAO,CAAC;AAkBhD,MAAM,WAAW,+BAA+B;IAC5C,YAAY,EAAE,kBAAkB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,YAAY,EAAE,EAAE,+BAA+B,qBAyC1F"}
@@ -0,0 +1,42 @@
1
+ import { alignConfigToAlignPoint, Overlay, UiButton } from "@gooddata/sdk-ui-kit";
2
+ import React, { useRef, useState } from "react";
3
+ import { NotificationTriggersDetailDialog } from "./NotificationTriggersDetailDialog.js";
4
+ import { defineMessages, useIntl } from "react-intl";
5
+ const ALIGN_POINTS = [
6
+ alignConfigToAlignPoint({
7
+ triggerAlignPoint: "bottom-right",
8
+ overlayAlignPoint: "top-right",
9
+ offset: { x: 2, y: 3 },
10
+ }),
11
+ ];
12
+ const messages = defineMessages({
13
+ triggersTitle: {
14
+ id: "notifications.panel.triggers.title",
15
+ },
16
+ });
17
+ /**
18
+ * @alpha
19
+ */
20
+ export function NotificationTriggerDetail({ notification }) {
21
+ const [isTriggersDialogOpen, setIsTriggersDialogOpen] = useState(false);
22
+ const closeTriggersDialog = () => setIsTriggersDialogOpen(false);
23
+ const toggleTriggersDialog = () => setIsTriggersDialogOpen((x) => !x);
24
+ const intl = useIntl();
25
+ const ref = useRef(null);
26
+ const isSliced = notification.details.data.alert.attribute;
27
+ const triggersTitle = isSliced ? getTriggersTitle(intl, notification.details.data.alert) : "";
28
+ return (React.createElement(React.Fragment, null,
29
+ React.createElement(UiButton, { buttonRef: ref, onClick: (e) => {
30
+ e.stopPropagation();
31
+ toggleTriggersDialog();
32
+ }, variant: "tertiary", size: "small", label: triggersTitle }),
33
+ isTriggersDialogOpen ? (React.createElement(Overlay, { isModal: false, alignTo: ref.current, alignPoints: ALIGN_POINTS, closeOnEscape: true, closeOnOutsideClick: true, closeOnParentScroll: false, closeOnMouseDrag: false, onClose: closeTriggersDialog, ignoreClicksOnByClass: [".gd-bubble"] },
34
+ React.createElement(NotificationTriggersDetailDialog, { notification: notification, onClose: closeTriggersDialog }))) : null));
35
+ }
36
+ function getTriggersTitle(intl, alertDescription) {
37
+ return intl.formatMessage(messages.triggersTitle, {
38
+ triggeredCount: alertDescription.triggeredCount,
39
+ totalCount: alertDescription.totalValueCount,
40
+ });
41
+ }
42
+ //# sourceMappingURL=NotificationTriggersDetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTriggersDetail.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.tsx"],"names":[],"mappings":"AAE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E,CAAC;IAE9F,OAAO,CACH;QACI,oBAAC,QAAQ,IACL,SAAS,EAAE,GAAG,EACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gBACX,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,oBAAoB,EAAE,CAAC;YAC3B,CAAC,EACD,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,aAAa,GACtB;QACD,oBAAoB,CAAC,CAAC,CAAC,CACpB,oBAAC,OAAO,IACJ,OAAO,EAAE,KAAK,EACd,OAAO,EAAE,GAAG,CAAC,OAAO,EACpB,WAAW,EAAE,YAAY,EACzB,aAAa,QACb,mBAAmB,QACnB,mBAAmB,EAAE,KAAK,EAC1B,gBAAgB,EAAE,KAAK,EACvB,OAAO,EAAE,mBAAmB,EAC5B,qBAAqB,EAAE,CAAC,YAAY,CAAC;YAErC,oBAAC,gCAAgC,IAC7B,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,mBAAmB,GAC9B,CACI,CACb,CAAC,CAAC,CAAC,IAAI,CACT,CACN,CAAC;AACN,CAAC;AAED,SAAS,gBAAgB,CAAC,IAAe,EAAE,gBAAmC;IAC1E,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,EAAE;QAC9C,cAAc,EAAE,gBAAgB,CAAC,cAAc;QAC/C,UAAU,EAAE,gBAAgB,CAAC,eAAe;KAC/C,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { IAlertNotification } from "@gooddata/sdk-model";
2
+ import React from "react";
3
+ interface INotificationTriggersDetailDialogProps {
4
+ notification: IAlertNotification;
5
+ onClose: () => void;
6
+ }
7
+ /**
8
+ * @alpha
9
+ */
10
+ export declare function NotificationTriggersDetailDialog({ notification, onClose, }: INotificationTriggersDetailDialogProps): React.JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=NotificationTriggersDetailDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTriggersDetailDialog.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,sCAAsC;IAC5C,YAAY,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAWD;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,YAAY,EACZ,OAAO,GACV,EAAE,sCAAsC,qBAgCxC"}
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ import { DetailsDialog } from "../components/DetailsDialog.js";
3
+ import { bem } from "../bem.js";
4
+ import { useIntl, defineMessages } from "react-intl";
5
+ const { b, e } = bem("gd-ui-ext-notification-triggers-detail-dialog");
6
+ const messages = defineMessages({
7
+ triggersTitle: {
8
+ id: "notifications.panel.triggers.dialog.title",
9
+ },
10
+ newValue: {
11
+ id: "notifications.panel.triggers.dialog.newValue",
12
+ },
13
+ });
14
+ /**
15
+ * @alpha
16
+ */
17
+ export function NotificationTriggersDetailDialog({ notification, onClose, }) {
18
+ const intl = useIntl();
19
+ return (React.createElement(DetailsDialog, { title: intl.formatMessage(messages.triggersTitle), content: React.createElement("div", { className: b() },
20
+ React.createElement("div", { className: e("header") },
21
+ React.createElement("div", { className: e("header-title") }, notification.details.data.alert.metric),
22
+ React.createElement("div", { className: e("header-title") }, intl.formatMessage(messages.newValue))),
23
+ React.createElement("div", { className: e("table") },
24
+ React.createElement("div", { className: e("values-labels") }, notification.details.data.alert.currentValues?.map((item, i) => (React.createElement("div", { key: i, className: e("values-label") }, item.labelValue)))),
25
+ React.createElement("div", { className: e("values") }, notification.details.data.alert.currentValues?.map((item, i) => (React.createElement("div", { key: i, className: e("values-value") }, item.primaryMetric.formattedValue)))))), onClose: onClose }));
26
+ }
27
+ //# sourceMappingURL=NotificationTriggersDetailDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTriggersDetailDialog.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,+CAA+C,CAAC,CAAC;AAOtE,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,aAAa,EAAE;QACX,EAAE,EAAE,2CAA2C;KAClD;IACD,QAAQ,EAAE;QACN,EAAE,EAAE,8CAA8C;KACrD;CACJ,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,EAC7C,YAAY,EACZ,OAAO,GAC8B;IACrC,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,OAAO,CACH,oBAAC,aAAa,IACV,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,EACjD,OAAO,EACH,6BAAK,SAAS,EAAE,CAAC,EAAE;YACf,6BAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC;gBACvB,6BAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,IAAG,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAM,CAAC,MAAM,CAAO;gBAClF,6BAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,IAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAO,CAC9E;YACN,6BAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC;gBACtB,6BAAK,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC,IAC7B,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC7D,6BAAK,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,IACpC,IAAI,CAAC,UAAU,CACd,CACT,CAAC,CACA;gBACN,6BAAK,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,IACtB,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC7D,6BAAK,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,IACpC,IAAI,CAAC,aAAc,CAAC,cAAc,CACjC,CACT,CAAC,CACA,CACJ,CACJ,EAEV,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;AACN,CAAC"}
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+ import { GoodDataSdkError, UseCancelablePromiseStatus } from "@gooddata/sdk-ui";
3
+ import { INotificationComponentProps } from "../Notification/DefaultNotification.js";
4
+ import { INotification } from "@gooddata/sdk-model";
5
+ import { INotificationsPanelView } from "../types.js";
6
+ import { INotificationsListEmptyStateComponentProps } from "./DefaultNotificationsListEmptyState.js";
7
+ import { INotificationsListErrorStateComponentProps } from "./DefaultNotificationsListErrorState.js";
8
+ /**
9
+ * @alpha
10
+ */
11
+ export interface INotificationsListComponentProps {
12
+ NotificationsListEmptyState: React.ComponentType<INotificationsListEmptyStateComponentProps>;
13
+ NotificationsListErrorState: React.ComponentType<INotificationsListErrorStateComponentProps>;
14
+ Notification: React.ComponentType<INotificationComponentProps>;
15
+ activeView: INotificationsPanelView;
16
+ status: UseCancelablePromiseStatus;
17
+ error?: GoodDataSdkError;
18
+ notifications?: INotification[];
19
+ markNotificationAsRead: (notificationId: string) => Promise<void>;
20
+ onNotificationClick: (notification: INotification) => void;
21
+ hasNextPage: boolean;
22
+ loadNextPage: () => void;
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare function DefaultNotificationsList({ Notification, activeView, status, error, notifications, markNotificationAsRead, onNotificationClick, hasNextPage, loadNextPage, }: INotificationsListComponentProps): React.JSX.Element;
28
+ //# sourceMappingURL=DefaultNotificationsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsList.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAErF,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,OAAO,EAEH,0CAA0C,EAC7C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAEH,0CAA0C,EAC7C,MAAM,yCAAyC,CAAC;AAIjD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C,2BAA2B,EAAE,KAAK,CAAC,aAAa,CAAC,0CAA0C,CAAC,CAAC;IAC7F,2BAA2B,EAAE,KAAK,CAAC,aAAa,CAAC,0CAA0C,CAAC,CAAC;IAC7F,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC;IAC/D,UAAU,EAAE,uBAAuB,CAAC;IACpC,MAAM,EAAE,0BAA0B,CAAC;IACnC,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,sBAAsB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,mBAAmB,EAAE,CAAC,YAAY,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3D,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC5B;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACrC,YAAY,EACZ,UAAU,EACV,MAAM,EACN,KAAK,EACL,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,YAAY,GACf,EAAE,gCAAgC,qBAkClC"}
@@ -0,0 +1,23 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React from "react";
3
+ import { bem } from "../bem.js";
4
+ import { PagedVirtualList } from "../components/VirtualList.js";
5
+ import { DefaultNotificationsListEmptyState, } from "./DefaultNotificationsListEmptyState.js";
6
+ import { DefaultNotificationsListErrorState, } from "./DefaultNotificationsListErrorState.js";
7
+ const NOTIFICATION_ITEM_HEIGHT = 52;
8
+ const { b, e } = bem("gd-ui-ext-notifications-list");
9
+ /**
10
+ * @internal
11
+ */
12
+ export function DefaultNotificationsList({ Notification, activeView, status, error, notifications, markNotificationAsRead, onNotificationClick, hasNextPage, loadNextPage, }) {
13
+ const isError = status === "error";
14
+ const isEmpty = status === "success" && notifications?.length === 0;
15
+ const isLoading = status === "loading" || status === "pending";
16
+ const isSuccess = status === "success" && (notifications?.length ?? 0) > 0;
17
+ return (React.createElement("div", { className: b() },
18
+ isError ? React.createElement(DefaultNotificationsListErrorState, { error: error }) : null,
19
+ isEmpty ? React.createElement(DefaultNotificationsListEmptyState, { activeView: activeView }) : null,
20
+ isLoading || isSuccess ? (React.createElement(PagedVirtualList, { items: notifications, itemHeight: NOTIFICATION_ITEM_HEIGHT, itemsGap: 10, itemPadding: 15, skeletonItemsCount: 5, hasNextPage: hasNextPage, loadNextPage: loadNextPage, isLoading: isLoading }, (notification) => (React.createElement("div", { className: e("notification") },
21
+ React.createElement(Notification, { notification: notification, markAsRead: markNotificationAsRead, onNotificationClick: onNotificationClick }))))) : null));
22
+ }
23
+ //# sourceMappingURL=DefaultNotificationsList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsList.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsList.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EACH,kCAAkC,GAErC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACH,kCAAkC,GAErC,MAAM,yCAAyC,CAAC;AAEjD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAmBpC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,8BAA8B,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,UAAU,wBAAwB,CAAC,EACrC,YAAY,EACZ,UAAU,EACV,MAAM,EACN,KAAK,EACL,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACnB,WAAW,EACX,YAAY,GACmB;IAC/B,MAAM,OAAO,GAAG,MAAM,KAAK,OAAO,CAAC;IACnC,MAAM,OAAO,GAAG,MAAM,KAAK,SAAS,IAAI,aAAa,EAAE,MAAM,KAAK,CAAC,CAAC;IACpE,MAAM,SAAS,GAAG,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,CAAC;IAC/D,MAAM,SAAS,GAAG,MAAM,KAAK,SAAS,IAAI,CAAC,aAAa,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAE3E,OAAO,CACH,6BAAK,SAAS,EAAE,CAAC,EAAE;QACd,OAAO,CAAC,CAAC,CAAC,oBAAC,kCAAkC,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI;QACrE,OAAO,CAAC,CAAC,CAAC,oBAAC,kCAAkC,IAAC,UAAU,EAAE,UAAU,GAAI,CAAC,CAAC,CAAC,IAAI;QAC/E,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,CACtB,oBAAC,gBAAgB,IACb,KAAK,EAAE,aAAa,EACpB,UAAU,EAAE,wBAAwB,EACpC,QAAQ,EAAE,EAAE,EACZ,WAAW,EAAE,EAAE,EACf,kBAAkB,EAAE,CAAC,EACrB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,IAEnB,CAAC,YAAY,EAAE,EAAE,CAAC,CACf,6BAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC;YAC7B,oBAAC,YAAY,IACT,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,sBAAsB,EAClC,mBAAmB,EAAE,mBAAmB,GAC1C,CACA,CACT,CACc,CACtB,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { INotificationsPanelView } from "../types.js";
3
+ /**
4
+ * @alpha
5
+ */
6
+ export interface INotificationsListEmptyStateComponentProps {
7
+ activeView: INotificationsPanelView;
8
+ }
9
+ /**
10
+ * @internal
11
+ */
12
+ export declare function DefaultNotificationsListEmptyState({ activeView, }: INotificationsListEmptyStateComponentProps): React.JSX.Element;
13
+ //# sourceMappingURL=DefaultNotificationsListEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsListEmptyState.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAKtD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD,UAAU,EAAE,uBAAuB,CAAC;CACvC;AAWD;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,EAC/C,UAAU,GACb,EAAE,0CAA0C,qBAS5C"}
@@ -0,0 +1,23 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React from "react";
3
+ import { bem } from "../bem.js";
4
+ import { defineMessages, useIntl } from "react-intl";
5
+ const { b } = bem("gd-ui-ext-notifications-list-empty-state");
6
+ const messages = defineMessages({
7
+ emptyStateAll: {
8
+ id: "notifications.panel.empty.all",
9
+ },
10
+ emptyStateUnread: {
11
+ id: "notifications.panel.empty.unread",
12
+ },
13
+ });
14
+ /**
15
+ * @internal
16
+ */
17
+ export function DefaultNotificationsListEmptyState({ activeView, }) {
18
+ const intl = useIntl();
19
+ return (React.createElement("div", { className: b() }, activeView === "all"
20
+ ? intl.formatMessage(messages.emptyStateAll)
21
+ : intl.formatMessage(messages.emptyStateUnread)));
22
+ }
23
+ //# sourceMappingURL=DefaultNotificationsListEmptyState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsListEmptyState.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,0CAA0C,CAAC,CAAC;AAS9D,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,aAAa,EAAE;QACX,EAAE,EAAE,+BAA+B;KACtC;IACD,gBAAgB,EAAE;QACd,EAAE,EAAE,kCAAkC;KACzC;CACJ,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,kCAAkC,CAAC,EAC/C,UAAU,GAC+B;IACzC,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,OAAO,CACH,6BAAK,SAAS,EAAE,CAAC,EAAE,IACd,UAAU,KAAK,KAAK;QACjB,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC5C,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CACjD,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { GoodDataSdkError } from "@gooddata/sdk-ui";
3
+ /**
4
+ * @alpha
5
+ */
6
+ export interface INotificationsListErrorStateComponentProps {
7
+ error?: GoodDataSdkError;
8
+ }
9
+ /**
10
+ * @internal
11
+ */
12
+ export declare function DefaultNotificationsListErrorState({ error }: INotificationsListErrorStateComponentProps): React.JSX.Element;
13
+ //# sourceMappingURL=DefaultNotificationsListErrorState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsListErrorState.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC5B;AAQD;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,EAAE,KAAK,EAAE,EAAE,0CAA0C,qBAKvG"}
@@ -0,0 +1,18 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React from "react";
3
+ import { bem } from "../bem.js";
4
+ import { defineMessages, useIntl } from "react-intl";
5
+ const { b } = bem("gd-ui-ext-notifications-list-error-state");
6
+ const messages = defineMessages({
7
+ errorLoadingNotifications: {
8
+ id: "notifications.panel.error.loading",
9
+ },
10
+ });
11
+ /**
12
+ * @internal
13
+ */
14
+ export function DefaultNotificationsListErrorState({ error }) {
15
+ const intl = useIntl();
16
+ return (React.createElement("div", { className: b() }, error?.message ?? intl.formatMessage(messages.errorLoadingNotifications)));
17
+ }
18
+ //# sourceMappingURL=DefaultNotificationsListErrorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsListErrorState.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErD,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,0CAA0C,CAAC,CAAC;AAS9D,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,yBAAyB,EAAE;QACvB,EAAE,EAAE,mCAAmC;KAC1C;CACJ,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,kCAAkC,CAAC,EAAE,KAAK,EAA8C;IACpG,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,OAAO,CACH,6BAAK,SAAS,EAAE,CAAC,EAAE,IAAG,KAAK,EAAE,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAO,CACxG,CAAC;AACN,CAAC"}
@@ -0,0 +1,38 @@
1
+ import React from "react";
2
+ import { GoodDataSdkError, UseCancelablePromiseStatus } from "@gooddata/sdk-ui";
3
+ import { INotificationsPanelHeaderComponentProps } from "./DefaultNotificationsPanelHeader.js";
4
+ import { INotificationsListComponentProps } from "../NotificationsList/DefaultNotificationsList.js";
5
+ import { INotification } from "@gooddata/sdk-model";
6
+ import { INotificationsPanelView } from "../types.js";
7
+ import { INotificationsListEmptyStateComponentProps } from "../NotificationsList/DefaultNotificationsListEmptyState.js";
8
+ import { INotificationsListErrorStateComponentProps } from "../NotificationsList/DefaultNotificationsListErrorState.js";
9
+ import { INotificationComponentProps } from "../Notification/DefaultNotification.js";
10
+ /**
11
+ * @alpha
12
+ */
13
+ export interface INotificationsPanelComponentProps {
14
+ NotificationsPanelHeader: React.ComponentType<INotificationsPanelHeaderComponentProps>;
15
+ NotificationsList: React.ComponentType<INotificationsListComponentProps>;
16
+ NotificationsListEmptyState: React.ComponentType<INotificationsListEmptyStateComponentProps>;
17
+ NotificationsListErrorState: React.ComponentType<INotificationsListErrorStateComponentProps>;
18
+ Notification: React.ComponentType<INotificationComponentProps>;
19
+ toggleNotificationsPanel: () => void;
20
+ openNotificationsPanel: () => void;
21
+ closeNotificationsPanel: () => void;
22
+ activeView: INotificationsPanelView;
23
+ changeActiveView: (view: INotificationsPanelView) => void;
24
+ markNotificationAsRead: (notificationId: string) => Promise<void>;
25
+ markAllNotificationsAsRead: () => Promise<void>;
26
+ unreadNotificationsCount: number;
27
+ activeNotifications: INotification[];
28
+ onNotificationClick: (notification: INotification) => void;
29
+ status: UseCancelablePromiseStatus;
30
+ error?: GoodDataSdkError;
31
+ loadNextPage: () => void;
32
+ hasNextPage: boolean;
33
+ }
34
+ /**
35
+ * @internal
36
+ */
37
+ export declare function DefaultNotificationsPanel({ NotificationsPanelHeader, NotificationsList, NotificationsListEmptyState, NotificationsListErrorState, Notification, activeView, changeActiveView, markNotificationAsRead, markAllNotificationsAsRead, unreadNotificationsCount, activeNotifications, onNotificationClick, status, error, loadNextPage, hasNextPage, }: INotificationsPanelComponentProps): React.JSX.Element;
38
+ //# sourceMappingURL=DefaultNotificationsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsPanel.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,OAAO,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAA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AAC,EACtC,wBAAwB,EACxB,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,YAAY,EAEZ,UAAU,EACV,gBAAgB,EAEhB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EAEnB,MAAM,EACN,KAAK,EACL,YAAY,EACZ,WAAW,GACd,EAAE,iCAAiC,qBAyBnC"}
@@ -0,0 +1,13 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React from "react";
3
+ import { bem } from "../bem.js";
4
+ const { b } = bem("gd-ui-ext-notifications-panel");
5
+ /**
6
+ * @internal
7
+ */
8
+ export function DefaultNotificationsPanel({ NotificationsPanelHeader, NotificationsList, NotificationsListEmptyState, NotificationsListErrorState, Notification, activeView, changeActiveView, markNotificationAsRead, markAllNotificationsAsRead, unreadNotificationsCount, activeNotifications, onNotificationClick, status, error, loadNextPage, hasNextPage, }) {
9
+ return (React.createElement("div", { className: b() },
10
+ React.createElement(NotificationsPanelHeader, { activeView: activeView, changeActiveView: changeActiveView, markAllAsRead: markAllNotificationsAsRead, hasUnreadNotifications: unreadNotificationsCount > 0, unreadNotificationsCount: unreadNotificationsCount }),
11
+ React.createElement(NotificationsList, { NotificationsListEmptyState: NotificationsListEmptyState, NotificationsListErrorState: NotificationsListErrorState, Notification: Notification, activeView: activeView, onNotificationClick: onNotificationClick, notifications: activeNotifications, markNotificationAsRead: markNotificationAsRead, status: status, error: error, loadNextPage: loadNextPage, hasNextPage: hasNextPage })));
12
+ }
13
+ //# sourceMappingURL=DefaultNotificationsPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsPanel.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAQhC,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,+BAA+B,CAAC,CAAC;AA+BnD;;GAEG;AACH,MAAM,UAAU,yBAAyB,CAAC,EACtC,wBAAwB,EACxB,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,YAAY,EAEZ,UAAU,EACV,gBAAgB,EAEhB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EAEnB,MAAM,EACN,KAAK,EACL,YAAY,EACZ,WAAW,GACqB;IAChC,OAAO,CACH,6BAAK,SAAS,EAAE,CAAC,EAAE;QACf,oBAAC,wBAAwB,IACrB,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,0BAA0B,EACzC,sBAAsB,EAAE,wBAAwB,GAAG,CAAC,EACpD,wBAAwB,EAAE,wBAAwB,GACpD;QACF,oBAAC,iBAAiB,IACd,2BAA2B,EAAE,2BAA2B,EACxD,2BAA2B,EAAE,2BAA2B,EACxD,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,EACxC,aAAa,EAAE,mBAAmB,EAClC,sBAAsB,EAAE,sBAAsB,EAC9C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,GAC1B,CACA,CACT,CAAC;AACN,CAAC"}
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ import { INotificationsPanelView } from "../types.js";
3
+ /**
4
+ * @alpha
5
+ */
6
+ export interface INotificationsPanelHeaderComponentProps {
7
+ /**
8
+ * The currently active view of the notifications panel.
9
+ */
10
+ activeView: INotificationsPanelView;
11
+ /**
12
+ * The callback to change the active view.
13
+ */
14
+ changeActiveView: (view: INotificationsPanelView) => void;
15
+ /**
16
+ * Indicates if there are unread notifications.
17
+ */
18
+ hasUnreadNotifications: boolean;
19
+ /**
20
+ * The number of unread notifications.
21
+ */
22
+ unreadNotificationsCount: number;
23
+ /**
24
+ * The callback to mark all notifications as read.
25
+ */
26
+ markAllAsRead: () => void;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare function DefaultNotificationsPanelHeader({ activeView, changeActiveView, markAllAsRead, hasUnreadNotifications, unreadNotificationsCount, }: INotificationsPanelHeaderComponentProps): React.JSX.Element;
32
+ //# sourceMappingURL=DefaultNotificationsPanelHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsPanelHeader.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGtD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,UAAU,EAAE,uBAAuB,CAAC;IAEpC;;OAEG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAE1D;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GAC3B,EAAE,uCAAuC,qBA8BzC"}
@@ -0,0 +1,41 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React, { useCallback, useMemo } from "react";
3
+ import { Tabs, UiButton } from "@gooddata/sdk-ui-kit";
4
+ import { bem } from "../bem.js";
5
+ import { defineMessages, useIntl } from "react-intl";
6
+ const { b, e } = bem("gd-ui-ext-notifications-panel-header");
7
+ /**
8
+ * @internal
9
+ */
10
+ export function DefaultNotificationsPanelHeader({ activeView, changeActiveView, markAllAsRead, hasUnreadNotifications, unreadNotificationsCount, }) {
11
+ const intl = useIntl();
12
+ const tabs = useMemo(() => getTabs(unreadNotificationsCount), [unreadNotificationsCount]);
13
+ const activeTabId = activeView === "unread" ? messages.tabUnread.id : messages.tabAll.id;
14
+ const onTabSelect = useCallback((tab) => {
15
+ const targetView = tab.id === messages.tabUnread.id ? "unread" : "all";
16
+ changeActiveView(targetView);
17
+ }, [changeActiveView]);
18
+ return (React.createElement("div", { className: b() },
19
+ React.createElement("div", { className: e("tabs") },
20
+ React.createElement(Tabs, { tabs: tabs, selectedTabId: activeTabId, onTabSelect: onTabSelect })),
21
+ React.createElement("div", { className: e("mark-all-as-read-button") },
22
+ React.createElement(UiButton, { variant: "popout", size: "small", label: intl.formatMessage(messages.markAllAsRead), onClick: markAllAsRead, isDisabled: !hasUnreadNotifications }))));
23
+ }
24
+ function getTabs(unreadNotificationsCount = 0) {
25
+ return [
26
+ { id: messages.tabUnread.id, values: { count: unreadNotificationsCount } },
27
+ { id: messages.tabAll.id },
28
+ ];
29
+ }
30
+ const messages = defineMessages({
31
+ tabUnread: {
32
+ id: "notifications.panel.tab.unread",
33
+ },
34
+ tabAll: {
35
+ id: "notifications.panel.tab.all",
36
+ },
37
+ markAllAsRead: {
38
+ id: "notifications.panel.markAllAsRead",
39
+ },
40
+ });
41
+ //# sourceMappingURL=DefaultNotificationsPanelHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNotificationsPanelHeader.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAQ,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,OA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EACtB,UAAU,EAAE,CAAC,sBAAsB,GACrC,CACA,CACJ,CACT,CAAC;AACN,CAAC;AAED,SAAS,OAAO,CAAC,2BAAmC,CAAC;IACjD,OAAO;QACH,EAAE,EAAE,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAE;QAC1E,EAAE,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,EAAE;KAC7B,CAAC;AACN,CAAC;AAED,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,SAAS,EAAE;QACP,EAAE,EAAE,gCAAgC;KACvC;IACD,MAAM,EAAE;QACJ,EAAE,EAAE,6BAA6B;KACpC;IACD,aAAa,EAAE;QACX,EAAE,EAAE,mCAAmC;KAC1C;CACJ,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import React, { RefObject } from "react";
2
+ /**
3
+ * @alpha
4
+ */
5
+ export interface IOpenNotificationsPanelButtonComponentProps {
6
+ /**
7
+ * Ref to the button element - is required for proper alignment of the notification panel.
8
+ */
9
+ buttonRef: RefObject<HTMLElement | null>;
10
+ /**
11
+ * Opens the notification panel.
12
+ */
13
+ openNotificationPanel: () => void;
14
+ /**
15
+ * Closes the notification panel.
16
+ */
17
+ closeNotificationPanel: () => void;
18
+ /**
19
+ * Toggles the notification panel.
20
+ */
21
+ toggleNotificationPanel: () => void;
22
+ /**
23
+ * Indicates whether the notification panel is open.
24
+ */
25
+ isNotificationPanelOpen: boolean;
26
+ /**
27
+ * Indicates whether there are unread notifications.
28
+ */
29
+ hasUnreadNotifications: boolean;
30
+ }
31
+ /**
32
+ * @internal
33
+ */
34
+ export declare function DefaultOpenNotificationsPanelButton({ buttonRef, isNotificationPanelOpen, toggleNotificationPanel, hasUnreadNotifications, }: IOpenNotificationsPanelButtonComponentProps): React.JSX.Element;
35
+ //# sourceMappingURL=DefaultOpenNotificationsPanelButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultOpenNotificationsPanelButton.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzC;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAEzC;;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,mCAAmC,CAAC,EAChD,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACzB,EAAE,2CAA2C,qBAa7C"}
@@ -0,0 +1,16 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import React from "react";
3
+ import cx from "classnames";
4
+ import { UiIcon } from "@gooddata/sdk-ui-kit";
5
+ import { bem } from "../bem.js";
6
+ const { b, e } = bem("gd-ui-ext-open-notifications-button");
7
+ /**
8
+ * @internal
9
+ */
10
+ export function DefaultOpenNotificationsPanelButton({ buttonRef, isNotificationPanelOpen, toggleNotificationPanel, hasUnreadNotifications, }) {
11
+ return (React.createElement("button", { ref: buttonRef, className: cx(`gd-button gd-header-button ${b({ isOpen: isNotificationPanelOpen })}`), onClick: toggleNotificationPanel },
12
+ React.createElement("span", { className: e("icon") },
13
+ hasUnreadNotifications ? React.createElement("span", { className: e("unread-status") }) : null,
14
+ React.createElement(UiIcon, { type: "alert", size: 14, color: "complementary-0" }))));
15
+ }
16
+ //# sourceMappingURL=DefaultOpenNotificationsPanelButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultOpenNotificationsPanelButton.js","sourceRoot":"","sources":["../../../src/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,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,qCAAqC,CAAC,CAAC;AAqC5D;;GAEG;AACH,MAAM,UAAU,mCAAmC,CAAC,EAChD,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACoB;IAC1C,OAAO,CACH,gCACI,GAAG,EAAE,SAAyC,EAC9C,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"}
@@ -0,0 +1,58 @@
1
+ import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
2
+ import React from "react";
3
+ import { ILocale } from "@gooddata/sdk-ui";
4
+ import { INotification } from "@gooddata/sdk-model";
5
+ import { INotificationsPanelHeaderComponentProps } from "./DefaultNotificationsPanelHeader.js";
6
+ import { IOpenNotificationsPanelButtonComponentProps } from "./DefaultOpenNotificationsPanelButton.js";
7
+ import { INotificationsPanelComponentProps } from "./DefaultNotificationsPanel.js";
8
+ import { INotificationsListComponentProps } from "../NotificationsList/DefaultNotificationsList.js";
9
+ import { INotificationsListEmptyStateComponentProps } from "../NotificationsList/DefaultNotificationsListEmptyState.js";
10
+ import { INotificationsListErrorStateComponentProps } from "../NotificationsList/DefaultNotificationsListErrorState.js";
11
+ import { INotificationComponentProps } from "../Notification/DefaultNotification.js";
12
+ /**
13
+ * @alpha
14
+ */
15
+ export interface INotificationsPanelCustomComponentsProps {
16
+ /**
17
+ * Custom open notifications panel button component.
18
+ */
19
+ OpenNotificationsPanelButton: React.ComponentType<IOpenNotificationsPanelButtonComponentProps>;
20
+ /**
21
+ * Custom notifications panel component.
22
+ */
23
+ NotificationsPanel?: React.ComponentType<INotificationsPanelComponentProps>;
24
+ /**
25
+ * Custom notifications panel header component.
26
+ */
27
+ NotificationsPanelHeader?: React.ComponentType<INotificationsPanelHeaderComponentProps>;
28
+ /**
29
+ * Custom notifications list component.
30
+ */
31
+ NotificationsList?: React.ComponentType<INotificationsListComponentProps>;
32
+ /**
33
+ * Custom notifications list empty state component.
34
+ */
35
+ NotificationsListEmptyState?: React.ComponentType<INotificationsListEmptyStateComponentProps>;
36
+ /**
37
+ * Custom notifications list error state component.
38
+ */
39
+ NotificationsListErrorState?: React.ComponentType<INotificationsListErrorStateComponentProps>;
40
+ /**
41
+ * Custom notification component.
42
+ */
43
+ Notification?: React.ComponentType<INotificationComponentProps>;
44
+ }
45
+ /**
46
+ * @alpha
47
+ */
48
+ export interface INotificationsPanelProps extends INotificationsPanelCustomComponentsProps {
49
+ workspace?: string;
50
+ backend?: IAnalyticalBackend;
51
+ locale?: ILocale;
52
+ onNotificationClick: (notification: INotification) => void;
53
+ }
54
+ /**
55
+ * @alpha
56
+ */
57
+ export declare function NotificationsPanel(props: INotificationsPanelProps): React.JSX.Element;
58
+ //# sourceMappingURL=NotificationsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification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