@livetiles/reach-components-react 0.3.107 → 0.3.116

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.
@@ -9,10 +9,10 @@ interface LibraryProps<TItem extends PublishableItem = PublishableItem> {
9
9
  initialGroupId?: string;
10
10
  hidePagination?: boolean;
11
11
  emptyMessageResources: string[];
12
- emptyListIcon: string;
12
+ emptyListSvg: ReactNode;
13
13
  additionalFilterComponents?: ReactNode;
14
14
  additionalFilters?: PublishableItemFilterDefinition;
15
15
  className?: string;
16
16
  }
17
- export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListIcon, additionalFilterComponents, additionalFilters: incomingFilters, className, }: LibraryProps<TItem>) => JSX.Element;
17
+ export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListSvg, additionalFilterComponents, additionalFilters: incomingFilters, className, }: LibraryProps<TItem>) => JSX.Element;
18
18
  export {};
@@ -1,15 +1,16 @@
1
1
  import { PublishableItem } from '@livetiles/reach/util/common';
2
2
  import { ItemLoader } from '@livetiles/reach/ui/common';
3
+ import { ReactNode } from 'react';
3
4
  interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenType = unknown> {
4
5
  onRenderCard: (item: TItem) => unknown;
5
6
  dataLoader: ItemLoader<TItem, TTokenType>;
6
7
  minColumnWidth: number;
7
8
  emptyMessageResources: string[];
8
- emptyListIcon: string;
9
+ emptyListSvg: ReactNode;
9
10
  hidePagination?: boolean;
10
11
  maxColumnCount?: number;
11
12
  rowCount?: number;
12
13
  className?: string;
13
14
  }
14
- export declare const PublishableItemGrid: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderCard, dataLoader, minColumnWidth, emptyMessageResources, emptyListIcon, hidePagination, maxColumnCount, rowCount, className, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
15
+ export declare const PublishableItemGrid: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderCard, dataLoader, minColumnWidth, emptyMessageResources, emptyListSvg, hidePagination, maxColumnCount, rowCount, className, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
15
16
  export {};
@@ -1,12 +1,13 @@
1
1
  import { PublishableItem } from '@livetiles/reach/util/common';
2
2
  import { ItemLoader } from '@livetiles/reach/ui/common';
3
+ import { ReactNode } from 'react';
3
4
  interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenType = unknown> {
4
5
  onRenderList: (items: TItem[]) => unknown;
5
6
  dataLoader: ItemLoader<TItem, TTokenType>;
6
7
  emptyMessageResources: string[];
7
- emptyListIcon: string;
8
+ emptyListSvg: ReactNode;
8
9
  hidePagination?: boolean;
9
10
  pageSize?: number;
10
11
  }
11
- export declare const PublishableItemList: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderList, dataLoader, emptyMessageResources, emptyListIcon, hidePagination, pageSize, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
12
+ export declare const PublishableItemList: <TItem extends PublishableItem, TTokenType = unknown>({ onRenderList, dataLoader, emptyMessageResources, emptyListSvg, hidePagination, pageSize, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
12
13
  export {};
@@ -2043,6 +2043,7 @@ var de = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Name des Abonnements",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Abonnements Id",
2045
2045
  "Lib.newsList.noItems": "Keine News zu zeigen",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Zur ersten Seite gehen",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Wählen Sie den logischen Operator für den Kanalfilter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Wählen Sie den logischen Operator für Schlagwörter Filter",
@@ -291,6 +291,7 @@ var en = {
291
291
  "Generic.showMore": "show more",
292
292
  "Generic.showManageView": "Show manage view",
293
293
  "Generic.apply": "Apply",
294
+ "Generic.noUnreadInfo": "You have read everything",
294
295
  "PageTitle.news": "News",
295
296
  "PageTitle.manageProfile": "Manage Profile",
296
297
  "PageTitle.events": "Events",
@@ -344,7 +345,7 @@ var en = {
344
345
  "MetaInfo.writtenBy": "Written by {author}",
345
346
  "NewsList.noBookmarksInfo": "You haven't bookmarked anything yet",
346
347
  "NewsList.emptyInfo": "No news items have been published yet",
347
- "NewsList.noUnreadNewsInfo": "There are no unread articles",
348
+ "NewsList.showAll": "Show all news",
348
349
  "NewsList.error": "Error, no news from backend",
349
350
  "NewsList.PageLoading": "Loading more news articles...",
350
351
  "NewsList.AllItemsLoaded": "There are no more news articles",
@@ -932,6 +933,7 @@ var en = {
932
933
  "Profile.notificationItemSettings.info.chat": "When a user sends you a message in a chat.",
933
934
  "Profile.subscriptions": "Subscriptions",
934
935
  "NotFound.message": "This item does not exist",
936
+ "AccessDenied.noAccessToTheItem": "You don't have access to this item",
935
937
  "AccessDenied.genericMessage": "Access is denied.",
936
938
  "AccessDenied.personalizedMessage": "Access for the account {name} ({upn}) is denied.",
937
939
  "AccessDenied.genericExplanation": "You may contact your LiveTiles Reach administrator to request access.",
@@ -975,9 +977,11 @@ var en = {
975
977
  "Subscription.activate.loginRequired": "Please login before trying to activate your account",
976
978
  "Subscription.activate.login": "Login",
977
979
  "Subscription.activate.emailVerified": "E-mail verified!",
980
+ "FatalError.generic.error.happened": "An error happened",
978
981
  "FatalError.genericMessage": "Something went wrong and we can't tell what the reason is at the moment.",
979
982
  "FatalError.newsNotLoaded": "Something went wrong when trying to load the requested item.",
980
983
  "FatalError.genericLoginError": "An authentication error occurred",
984
+ "FatalError.loginError": "Failed to sign in",
981
985
  "FatalError.ieLoginError": "A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com).",
982
986
  "About.title": "About LiveTiles Reach",
983
987
  "About.subscriptionContact": "Your support contact",
@@ -1627,6 +1631,7 @@ var en = {
1627
1631
  "Events.noUpcoming": "There are no events planned at the moment",
1628
1632
  "Events.noBooked": "You aren't registered for any upcoming events",
1629
1633
  "Events.browse": "Browse events",
1634
+ "Events.showAll": "Show all events",
1630
1635
  "Events.noPast": "You'll see past events here once there are some",
1631
1636
  "Events.upcoming": "Upcoming Events",
1632
1637
  "Events.myEvents": "My Booked Events",
@@ -2041,6 +2046,7 @@ var en = {
2041
2046
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2042
2047
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2043
2048
  "Lib.newsList.noItems": "No News to show",
2049
+ "Lib.eventsList.noItems": "No Events to show",
2044
2050
  "Lib.paging.goToFirstPage": "Go to first page",
2045
2051
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2046
2052
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",
@@ -2083,6 +2089,7 @@ var en = {
2083
2089
  "SkipLinks.toFilter": "Skip to filter",
2084
2090
  "Stream.allLoaded": "You have reached the end of your stream",
2085
2091
  "Stream.emptyList": "Your stream is empty at the moment",
2092
+ "Stream.showAll": "Show full stream",
2086
2093
  "Stream.toast.markAllAsReadSuccessMessage": "{count, plural, =0 {No unread items found. All items were already read.} one {One item has been marked as read.} other {{count} items have been marked as read.}}",
2087
2094
  "Page.header.unread.only": "View only unread",
2088
2095
  "Page.header.unread.showAll": "View all",
@@ -2043,6 +2043,7 @@ var es = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2045
2045
  "Lib.newsList.noItems": "No hay noticias para mostrar",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Ir a la primera pagina",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",
@@ -2043,6 +2043,7 @@ var fr = {
2043
2043
  "AriaLabel.customization.applicationNameInput": "Subscription name",
2044
2044
  "AriaLabel.customization.applicationHandleInput": "Subscription handle",
2045
2045
  "Lib.newsList.noItems": "Aucune actualité à afficher",
2046
+ "Lib.eventsList.noItems": "No Events to show",
2046
2047
  "Lib.paging.goToFirstPage": "Aller à la première page",
2047
2048
  "Lib.channelFilter.choiceGroupLabel": "Select the logical operator for channels filter",
2048
2049
  "Lib.keywordsFilter.choiceGroupLabel": "Select the logical operator for keywords filter",