@livetiles/reach-plugin-types 0.4.0-preview.34 → 0.4.0-preview.340

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 (2) hide show
  1. package/lib/index.d.ts +2124 -873
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -207,7 +207,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
207
207
  clientId: string;
208
208
  basePolicyUrl: string;
209
209
  signInPolicy: string;
210
- forgotPasswordPolicy: string;
210
+ forgotPasswordPolicy?: string;
211
211
  apiScope: string;
212
212
  scopes: string[];
213
213
  extraScopes: string[];
@@ -233,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
233
233
  export interface AppConfiguration {
234
234
  configType: ConfigType;
235
235
  authentication: {
236
- useSingleAuthType: AuthenticationType;
236
+ useSingleAuthType?: AuthenticationType;
237
237
  azuread: MsalConfiguration;
238
- b2c: MsalConfiguration;
239
- keycloak: KeycloakConfiguration;
240
- teams: MsalConfiguration;
241
- teamsAustralia: MsalConfiguration;
238
+ b2c?: MsalConfiguration;
239
+ keycloak?: KeycloakConfiguration;
240
+ teams?: MsalConfiguration;
241
+ teamsAustralia?: MsalConfiguration;
242
242
  };
243
243
  apiEndpoint: string;
244
244
  api2Endpoint: string;
@@ -247,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
247
247
  webAppUrl: string;
248
248
  productWebsite: string;
249
249
  supportUrl: string;
250
+ releaseNotesUrl: string;
250
251
  privacyUrl: string;
251
252
  eulaUrl: string;
252
253
  appInsightsKey: string;
@@ -415,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
415
416
  paginationToken?: any;
416
417
  nextItem?: TItem;
417
418
  hasMoreUnreadComments?: boolean;
419
+ hasNextPage?: boolean;
418
420
  }
419
421
  }
420
422
  declare module "libs/reach/util/common/src/SortDirection" {
@@ -520,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
520
522
  getLocaleFromLocalStorage: () => Promise<string>;
521
523
  };
522
524
  }
525
+ declare module "libs/reach/util/common/src/resources/languages/da.async" {
526
+ import '@formatjs/intl-pluralrules/dist/locale-data/da';
527
+ import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
528
+ import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
529
+ export default da;
530
+ }
523
531
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
524
532
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
525
533
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -575,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
575
583
  export default en;
576
584
  }
577
585
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
578
- export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
586
+ export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
579
587
  }
580
588
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
581
589
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1068,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
1068
1076
  [key: string]: string;
1069
1077
  };
1070
1078
  mode: AudienceMatchMode;
1079
+ includeDirectoryUsers?: boolean;
1080
+ includeNonDirectoryUsers?: boolean;
1071
1081
  }
1072
1082
  }
1073
1083
  declare module "libs/reach/util/common/src/content/Language" {
@@ -1093,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1093
1103
  import { Account } from "libs/reach/util/common/src/user/Account";
1094
1104
  import { Audience } from "libs/reach/util/common/src/user/Audience";
1095
1105
  import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
1096
- import { SubscriptionInfo as BaseSubscriptionInfo, IdentityProviderSettings, IdentityProviderNames } from "libs/shared/util/authentication/src/index";
1106
+ import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
1097
1107
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1098
1108
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1099
1109
  domains?: string[];
@@ -1126,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1126
1136
  useInAppBrowser?: boolean;
1127
1137
  tenantId?: string;
1128
1138
  signInSettings?: SignInSettings;
1129
- logoUrl?: string;
1130
1139
  faviconUrl?: string;
1131
1140
  theme?: Theme;
1132
1141
  allowPublicAccess?: boolean;
1133
1142
  redirectToContent?: boolean;
1143
+ allowZendesk?: boolean;
1144
+ logoInfo: LogoInfo;
1134
1145
  }
1135
1146
  export interface SignInSettings {
1136
1147
  customIdentityProviders: IdentityProviderSettings[];
@@ -1144,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1144
1155
  contact: Account;
1145
1156
  theme: Theme;
1146
1157
  defaultLanguage: string;
1147
- logoUrl: string;
1148
1158
  faviconUrl?: string;
1149
1159
  navigation: NavigationNode[];
1150
1160
  regionSettings?: RegionSettings;
@@ -1153,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1153
1163
  hasUnreadItems: boolean;
1154
1164
  pageTrackingInfo: PageTrackingInfo;
1155
1165
  termsAndConditionsHash?: string;
1166
+ logoInfo: LogoInfo;
1167
+ }
1168
+ export enum LogoSize {
1169
+ large = "large",
1170
+ small = "small"
1171
+ }
1172
+ export interface LogoInfo {
1173
+ smallUrl: string;
1174
+ largeUrl: string;
1175
+ isLegacyLogo: boolean;
1156
1176
  }
1157
1177
  export interface TermsAndConditions {
1158
1178
  value?: string;
@@ -1252,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1252
1272
  componentName: string;
1253
1273
  route: string;
1254
1274
  navigationNode?: {
1275
+ componentName?: string;
1255
1276
  iconName?: string;
1256
1277
  label?: string;
1257
1278
  translations?: {
@@ -1475,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
1475
1496
  export interface UserInvitationResult {
1476
1497
  type: UserInvitationResultType;
1477
1498
  message?: string;
1478
- user?: HashUser;
1499
+ user?: Account;
1479
1500
  isSuccess: boolean;
1480
1501
  }
1481
1502
  export enum UserRegistrationResultType {
@@ -1705,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
1705
1726
  GenericUrl = 3,
1706
1727
  Kaltura = 4
1707
1728
  }
1729
+ export function convertStringToVideoSource(videoSource: string): VideoSource;
1708
1730
  }
1709
1731
  declare module "libs/reach/util/common/src/content/BaseItem" {
1710
1732
  import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
@@ -1712,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1712
1734
  id?: string;
1713
1735
  statistics?: ItemStatistics;
1714
1736
  poll?: Poll;
1737
+ searchHighlights?: SearchHighlightSummary;
1738
+ }
1739
+ export interface SearchHighlightSummary {
1740
+ title: SearchHighlight[];
1741
+ content: SearchHighlight[];
1742
+ }
1743
+ export interface SearchHighlight {
1744
+ language: string;
1745
+ texts: {
1746
+ value: string;
1747
+ type: 'text' | 'hit';
1748
+ }[];
1749
+ score: number;
1715
1750
  }
1716
1751
  export interface Poll {
1717
1752
  questions: PollQuestion[];
@@ -1779,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1779
1814
  headline?: string;
1780
1815
  intro?: string;
1781
1816
  body?: string;
1782
- bodyRaw?: string;
1783
1817
  customProperties?: {
1784
1818
  [key: string]: any;
1785
1819
  };
@@ -2049,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
2049
2083
  hasUnreadReplies?: boolean;
2050
2084
  isDemoContent?: boolean;
2051
2085
  }
2052
- interface CommentStatistics {
2086
+ export interface CommentStatistics {
2053
2087
  likeCount?: number;
2054
2088
  replyCount?: number;
2055
2089
  }
@@ -2289,7 +2323,10 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2289
2323
  declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2290
2324
  import { FC } from 'react';
2291
2325
  import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2292
- export const PluginWrapper: FC<PluginAndExtension>;
2326
+ export const PluginWrapper: FC<PluginAndExtension & {
2327
+ navigationNodeProps?: any;
2328
+ renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
2329
+ }>;
2293
2330
  }
2294
2331
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2295
2332
  import { FC } from 'react';
@@ -2610,10 +2647,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
2610
2647
  useExternalContent?: boolean;
2611
2648
  isSearchMatch?: boolean;
2612
2649
  topLevelFolderName?: string;
2650
+ uploadToken?: string;
2613
2651
  }
2614
2652
  export interface PageNavigationContext {
2615
2653
  parent?: PageNavigationNode;
2616
- siblings: PageNavigationNode[];
2654
+ siblings?: PageNavigationNode[];
2617
2655
  children?: PageNavigationNode[];
2618
2656
  }
2619
2657
  export enum PageType {
@@ -2715,7 +2753,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
2715
2753
  onStarted?: () => unknown;
2716
2754
  onFinished?: () => unknown;
2717
2755
  }
2718
- export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
2756
+ export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
2757
+ }
2758
+ declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
2759
+ export function useClearUnreadOnlyFilter(): {
2760
+ clearUnreadOnlyFilter: () => void;
2761
+ };
2762
+ }
2763
+ declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
2764
+ export function useUnreadItemsTogglerHandler(): {
2765
+ toggleUnreadItems: () => void;
2766
+ };
2719
2767
  }
2720
2768
  declare module "libs/reach/util/common/src/content/index" {
2721
2769
  export * from "libs/reach/util/common/src/content/Attachment";
@@ -2740,6 +2788,8 @@ declare module "libs/reach/util/common/src/content/index" {
2740
2788
  export * from "libs/reach/util/common/src/content/useFileApi";
2741
2789
  export * from "libs/reach/util/common/src/content/content-keyword-utils";
2742
2790
  export * from "libs/reach/util/common/src/content/useClearUnreadItems";
2791
+ export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
2792
+ export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
2743
2793
  }
2744
2794
  declare module "libs/reach/util/common/src/Variables" {
2745
2795
  export const maxContentWidth = 985;
@@ -2840,6 +2890,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
2840
2890
  }
2841
2891
  declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
2842
2892
  import { FC } from 'react';
2893
+ import 'react-toastify/dist/ReactToastify.min.css';
2843
2894
  export const ToastNotificationHost: FC;
2844
2895
  }
2845
2896
  declare module "libs/reach/util/common/src/notification/index" {
@@ -2858,6 +2909,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
2858
2909
  selectedKeywordGroups?: KeywordGroup[];
2859
2910
  }
2860
2911
  export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
2912
+ getChannels: () => Promise<Channel[]>;
2861
2913
  refreshSubscription: () => void;
2862
2914
  }>;
2863
2915
  export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
@@ -2909,7 +2961,7 @@ declare module "libs/reach/util/common/src/Models" {
2909
2961
  import { Account } from "libs/reach/util/common/src/user/Account";
2910
2962
  export interface Chat {
2911
2963
  id: string;
2912
- members: Account[];
2964
+ members: (Account & ChatMember)[];
2913
2965
  memberIds: string[];
2914
2966
  groupName?: string;
2915
2967
  lastMessageInfo?: {
@@ -2920,6 +2972,10 @@ declare module "libs/reach/util/common/src/Models" {
2920
2972
  deleteDate?: string;
2921
2973
  deleteState?: DeleteState;
2922
2974
  messageType?: ChatMessageType;
2975
+ messageValues?: {
2976
+ groupName?: string;
2977
+ userId?: string;
2978
+ };
2923
2979
  };
2924
2980
  messages: ChatMessage[];
2925
2981
  hasNewMessages: boolean;
@@ -2932,7 +2988,19 @@ declare module "libs/reach/util/common/src/Models" {
2932
2988
  }
2933
2989
  export enum ChatMessageType {
2934
2990
  Default = "DEFAULT",
2935
- GroupNameChange = "GROUP_NAME_CHANGE"
2991
+ GroupNameChange = "GROUP_NAME_CHANGE",
2992
+ UserLeftGroup = "USER_LEFT_GROUP"
2993
+ }
2994
+ export enum MemberStatus {
2995
+ Normal = "NORMAL",
2996
+ LeftGroupChat = "LEFT_GROUP_CHAT",
2997
+ LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
2998
+ }
2999
+ export interface ChatMember {
3000
+ id?: string;
3001
+ status?: MemberStatus;
3002
+ joinDate?: string;
3003
+ leftDate?: string;
2936
3004
  }
2937
3005
  export interface ChatMessage {
2938
3006
  itemId: string;
@@ -3146,6 +3214,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3146
3214
  placeholderStringResourceKey?: string;
3147
3215
  autoFocus?: boolean;
3148
3216
  inputId?: string;
3217
+ required?: boolean;
3149
3218
  className?: string;
3150
3219
  }
3151
3220
  export const PeoplePicker: FC<Props>;
@@ -3183,7 +3252,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3183
3252
  }
3184
3253
  declare module "libs/reach/ui/common/src/NotificationBar" {
3185
3254
  import { FC } from 'react';
3186
- import 'react-toastify/dist/ReactToastify.min.css';
3187
3255
  export const NotificationBar: FC;
3188
3256
  }
3189
3257
  declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
@@ -3228,7 +3296,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3228
3296
  export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3229
3297
  }
3230
3298
  declare module "libs/reach/ui/common/src/common/Utils" {
3231
- import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3299
+ import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3232
3300
  import { IntlShape } from 'react-intl';
3233
3301
  import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3234
3302
  export function isValidUrl(url: string): boolean;
@@ -3240,9 +3308,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
3240
3308
  export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3241
3309
  export function getSubscriptionName(subscription: SubscriptionSummary): string;
3242
3310
  export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
3243
- export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3244
- logo: any;
3245
- subscriptionName: any;
3311
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3312
+ logoInfo: LogoInfo;
3313
+ subscriptionName: string;
3246
3314
  };
3247
3315
  export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3248
3316
  export function delay(delayInMs: number): Promise<unknown>;
@@ -3262,8 +3330,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
3262
3330
  }
3263
3331
  declare module "libs/reach/ui/common/src/common/Callout" {
3264
3332
  import { FC } from 'react';
3265
- import { ICalloutProps } from 'office-ui-fabric-react';
3266
- export const Callout: FC<ICalloutProps>;
3333
+ import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
3334
+ export const Callout: FC<IFocusTrapCalloutProps>;
3267
3335
  }
3268
3336
  declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
3269
3337
  export type CommentInputTheme = 'light' | 'dark';
@@ -3340,12 +3408,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
3340
3408
  export const Dropdown: FC<IDropdownProps>;
3341
3409
  }
3342
3410
  declare module "libs/reach/ui/common/src/common/EmptyList" {
3411
+ import { FC } from 'react';
3343
3412
  interface EmptyListProps {
3344
3413
  icon?: string;
3345
3414
  emptyMessageResources?: string[];
3346
3415
  className?: string;
3347
3416
  }
3348
- export const EmptyList: React.FC<EmptyListProps>;
3417
+ export const EmptyList: FC<EmptyListProps>;
3349
3418
  }
3350
3419
  declare module "libs/reach/ui/common/src/common/EnumHelpers" {
3351
3420
  export const hasFlag: (baseValue: any, flag: any) => boolean;
@@ -3496,18 +3565,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
3496
3565
  date: string;
3497
3566
  }>;
3498
3567
  }
3499
- declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
3500
- import { FC } from 'react';
3501
- export const IconHeaderButton: FC<{
3502
- icon: string;
3503
- isActive?: boolean;
3504
- disabled?: boolean;
3505
- tooltipResourceKey?: string;
3506
- onClick?: (ref: React.RefObject<Element>) => unknown;
3507
- link?: string;
3508
- className?: string;
3509
- }>;
3510
- }
3511
3568
  declare module "libs/reach/ui/common/src/common/IconLabel" {
3512
3569
  import { FC, ReactNode } from 'react';
3513
3570
  export const IconLabel: FC<{
@@ -3562,7 +3619,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
3562
3619
  export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
3563
3620
  export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
3564
3621
  export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
3565
- export { ReactComponent as LogoWithName } from './logos/logo-with-name.svg';
3622
+ export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
3566
3623
  }
3567
3624
  declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3568
3625
  import { FC } from 'react';
@@ -3622,11 +3679,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
3622
3679
  }
3623
3680
  export const Prompt: FC<Props>;
3624
3681
  }
3682
+ declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
3683
+ import { FC } from 'react';
3684
+ export const IconHeaderButton: FC<{
3685
+ icon: string;
3686
+ isActive?: boolean;
3687
+ disabled?: boolean;
3688
+ tooltipResourceKey?: string;
3689
+ onClick?: (ref: React.RefObject<Element>) => unknown;
3690
+ link?: string;
3691
+ className?: string;
3692
+ }>;
3693
+ }
3625
3694
  declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
3626
3695
  import { FC } from 'react';
3627
3696
  export interface ToolbarIconButtonProps {
3628
3697
  iconName: string;
3629
- ariaLabelResourceKey: string;
3698
+ ariaLabel?: string;
3699
+ ariaLabelResourceKey?: string;
3630
3700
  onClick?: () => unknown;
3631
3701
  to?: string;
3632
3702
  target?: string;
@@ -3655,6 +3725,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
3655
3725
  onSearchTextChange?: (text: string) => void;
3656
3726
  onExecuteSearch?: (text: string) => void;
3657
3727
  searchText?: string;
3728
+ showSearchBoxInput?: boolean;
3658
3729
  }
3659
3730
  export const SearchBox: FC<SearchBoxProps & {
3660
3731
  onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
@@ -3733,8 +3804,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
3733
3804
  }
3734
3805
  declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
3735
3806
  import { FC } from 'react';
3736
- import { Comment } from "libs/reach/util/common/src/index";
3737
- import { Account } from "libs/reach/util/common/src/index";
3807
+ import { Account, Comment } from "libs/reach/util/common/src/index";
3738
3808
  export const CommentActionMenu: FC<{
3739
3809
  comment: Comment;
3740
3810
  showEdit: boolean;
@@ -3780,6 +3850,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
3780
3850
  }
3781
3851
  export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
3782
3852
  }
3853
+ declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
3854
+ import { FC } from 'react';
3855
+ export const UnreadItemsToggler: FC<{
3856
+ disabled: boolean;
3857
+ className?: string;
3858
+ }>;
3859
+ }
3860
+ declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
3861
+ import { FC } from 'react';
3862
+ import { IContextualMenuItem } from 'office-ui-fabric-react';
3863
+ export const HeaderMenuButton: FC<{
3864
+ items: IContextualMenuItem[];
3865
+ className?: string;
3866
+ }>;
3867
+ }
3783
3868
  declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
3784
3869
  import { FC } from 'react';
3785
3870
  import { Channel } from "libs/reach/util/common/src/index";
@@ -3848,6 +3933,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
3848
3933
  showSelectionToggle?: boolean;
3849
3934
  placeholder?: string;
3850
3935
  inlineControls?: boolean;
3936
+ required?: boolean;
3937
+ id?: string;
3851
3938
  }
3852
3939
  export const ChannelSelector: FC<Props>;
3853
3940
  }
@@ -4104,7 +4191,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
4104
4191
  declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
4105
4192
  import { DependencyList } from 'react';
4106
4193
  import { PaginatedList } from "libs/reach/util/common/src/index";
4107
- export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number, paginationToken?: string) => Promise<PaginatedList<unknown>>, deps?: DependencyList): {
4194
+ export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
4108
4195
  items: any[];
4109
4196
  isInitialLoading: boolean;
4110
4197
  isLoadingNextPage: boolean;
@@ -4117,6 +4204,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
4117
4204
  isEmpty: boolean;
4118
4205
  };
4119
4206
  }
4207
+ declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
4208
+ import { FC } from 'react';
4209
+ export const PaginationStatus: FC<{
4210
+ allLoadedResourceId: string;
4211
+ showAllLoaded: boolean;
4212
+ showSpinner?: boolean;
4213
+ showPlaceholder?: boolean;
4214
+ }>;
4215
+ }
4216
+ declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
4217
+ import { DependencyList } from 'react';
4218
+ export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
4219
+ isLoadingMore: boolean;
4220
+ };
4221
+ }
4120
4222
  declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
4121
4223
  import { FC, ReactNode } from 'react';
4122
4224
  export const PullToRefreshContext: import("react").Context<{
@@ -4168,6 +4270,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
4168
4270
  onMarkAsReadStarted?: () => unknown;
4169
4271
  onMarkAsReadFinished?: () => unknown;
4170
4272
  disabled?: boolean;
4273
+ unreadCount?: number;
4171
4274
  }
4172
4275
  export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
4173
4276
  export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
@@ -4351,7 +4454,6 @@ declare module "libs/reach/ui/common/src/common/index" {
4351
4454
  export * from "libs/reach/ui/common/src/common/FloatingActionButton";
4352
4455
  export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
4353
4456
  export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
4354
- export * from "libs/reach/ui/common/src/common/IconHeaderButton";
4355
4457
  export * from "libs/reach/ui/common/src/common/IconLabel";
4356
4458
  export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
4357
4459
  export * from "libs/reach/ui/common/src/common/KeywordTitle";
@@ -4382,6 +4484,9 @@ declare module "libs/reach/ui/common/src/common/index" {
4382
4484
  export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
4383
4485
  export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
4384
4486
  export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
4487
+ export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
4488
+ export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
4489
+ export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
4385
4490
  export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
4386
4491
  export * from "libs/reach/ui/common/src/common/channels/ChannelList";
4387
4492
  export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
@@ -4410,6 +4515,8 @@ declare module "libs/reach/ui/common/src/common/index" {
4410
4515
  export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
4411
4516
  export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
4412
4517
  export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
4518
+ export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
4519
+ export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
4413
4520
  export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
4414
4521
  export * from "libs/reach/ui/common/src/common/refreshScripts";
4415
4522
  export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
@@ -4490,10 +4597,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
4490
4597
  export function useEscapeOnClose(onClose: Function): void;
4491
4598
  }
4492
4599
  declare module "apps/reach-app/src/app/chrome/Header" {
4493
- import { FC, ReactNode } from 'react';
4600
+ import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
4494
4601
  import './Header.scss';
4495
4602
  import { SearchBoxProps } from "libs/reach/ui/common/src/index";
4496
- interface Props extends React.HTMLProps<HTMLElement>, SearchBoxProps {
4603
+ interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
4497
4604
  iconLeft?: string;
4498
4605
  onToggleLeft?: () => void;
4499
4606
  onToggleRight?: () => void;
@@ -4509,6 +4616,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
4509
4616
  disableGoBack?: boolean;
4510
4617
  route?: string;
4511
4618
  }
4619
+ export interface HeaderContextType {
4620
+ setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
4621
+ isSearchInputFieldVisible: boolean;
4622
+ }
4623
+ export const HeaderContext: import("react").Context<HeaderContextType>;
4624
+ export const HeaderContextProvider: FC<{
4625
+ children: ReactNode;
4626
+ }>;
4512
4627
  export const Header: FC<Props>;
4513
4628
  }
4514
4629
  declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
@@ -4623,17 +4738,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
4623
4738
  icon?: string;
4624
4739
  tooltipResourceKey?: string;
4625
4740
  labelResourceKey?: string;
4741
+ domIdentifier?: string;
4626
4742
  className?: string;
4627
4743
  }
4628
4744
  export const AddButton: FC<AddButtonProps>;
4629
4745
  }
4630
4746
  declare module "apps/reach-app/src/app/admin/common" {
4631
- export const AdminPage: React.FC<{
4632
- children: React.ReactNode;
4747
+ import { FC, ReactNode } from 'react';
4748
+ export const AdminPage: FC<{
4749
+ children: ReactNode;
4633
4750
  className?: string;
4634
4751
  domIdentifier?: string;
4635
4752
  }>;
4636
- export const Title: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4753
+ export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
4637
4754
  }
4638
4755
  declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
4639
4756
  import { KeywordGroup } from "libs/reach/util/common/src/index";
@@ -4665,7 +4782,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4665
4782
  }
4666
4783
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4667
4784
  import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
4668
- import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
4785
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4669
4786
  import { Account } from "libs/reach/util/common/src/index";
4670
4787
  import { Language } from "libs/reach/util/common/src/index";
4671
4788
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4680,7 +4797,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4680
4797
  setSubscriptionName: (name: string) => Promise<string>;
4681
4798
  setSubscriptionHandle: (handle: string) => Promise<string>;
4682
4799
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4683
- updateLogo: (file?: File) => Promise<void>;
4800
+ updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4684
4801
  updateFavicon: (file?: File) => Promise<void>;
4685
4802
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4686
4803
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4729,6 +4846,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
4729
4846
  import './ApplicationName.scss';
4730
4847
  export const ApplicationName: FC;
4731
4848
  }
4849
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
4850
+ import { FC } from 'react';
4851
+ export const AppBarLogoPreview: FC<{
4852
+ src: string;
4853
+ subscriptionName: string;
4854
+ }>;
4855
+ export const SidePanelLogoPreview: FC<{
4856
+ src: string;
4857
+ subscriptionName: string;
4858
+ }>;
4859
+ export const EmailLogoPreview: FC<{
4860
+ src: string;
4861
+ subscriptionName: string;
4862
+ }>;
4863
+ export const SignInLogoPreview: FC<{
4864
+ src: string;
4865
+ }>;
4866
+ }
4867
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
4868
+ import { FC } from 'react';
4869
+ import { LogoSize } from "libs/reach/util/common/src/index";
4870
+ export const LogoPreviewDialog: FC<{
4871
+ canSave: boolean;
4872
+ onDismiss: () => unknown;
4873
+ onSave: (logoSize: LogoSize) => unknown;
4874
+ source: string;
4875
+ logoType: LogoSize;
4876
+ }>;
4877
+ }
4878
+ declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
4879
+ import { FC } from 'react';
4880
+ import { LogoSize } from "libs/reach/util/common/src/index";
4881
+ export const LogoEditor: FC<{
4882
+ logoType: LogoSize;
4883
+ }>;
4884
+ }
4732
4885
  declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
4733
4886
  import { FC } from 'react';
4734
4887
  export const ApplicationLogo: FC;
@@ -5490,6 +5643,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
5490
5643
  }
5491
5644
  export const GoToAdminConsentButton: React.FC<Props>;
5492
5645
  }
5646
+ declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
5647
+ import { IntlShape } from 'react-intl';
5648
+ import { Account } from "libs/reach/util/common/src/index";
5649
+ import { GroupUser } from "libs/reach/util/common/src/index";
5650
+ import { Group, GroupRule } from "libs/reach/util/common/src/index";
5651
+ export const systemAccountGroupIds: {
5652
+ everyone: string;
5653
+ directoryUsers: string;
5654
+ nonDirectoryUsers: string;
5655
+ allGroups: string[];
5656
+ };
5657
+ export function getDirectoryUsersGroup(intl: IntlShape): Account;
5658
+ export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
5659
+ export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
5660
+ export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
5661
+ export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
5662
+ export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
5663
+ export const isAdGroup: (account: Account) => boolean;
5664
+ export const isUser: (account: Account) => boolean;
5665
+ }
5493
5666
  declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
5494
5667
  import { FC } from 'react';
5495
5668
  import { Audience } from "libs/reach/util/common/src/index";
@@ -5864,12 +6037,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
5864
6037
  }>;
5865
6038
  }
5866
6039
  declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5867
- import * as H from 'history';
6040
+ import { FC, ReactNode } from 'react';
6041
+ import { PrimitiveType } from 'intl-messageformat';
5868
6042
  import './SidebarItem.scss';
5869
6043
  import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
5870
6044
  import { LocationDescriptor } from 'history';
5871
- import { PrimitiveType } from 'intl-messageformat';
5872
- import { ReactNode } from 'react';
5873
6045
  interface CommonSidebarItemProps {
5874
6046
  title?: any;
5875
6047
  titleResource?: string;
@@ -5902,13 +6074,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
5902
6074
  secondaryIconRoute?: LocationDescriptor;
5903
6075
  isHoverable?: boolean;
5904
6076
  }
5905
- export const SidebarItem: React.FC<SidebarItemProps>;
6077
+ export const SidebarItem: FC<SidebarItemProps>;
5906
6078
  interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
5907
- route: H.LocationDescriptor;
6079
+ route: LocationDescriptor;
5908
6080
  exact?: boolean;
5909
6081
  linkClassName?: string;
5910
6082
  }
5911
- export const NavLinkSidebarItem: React.FC<NavLinkSidebarItemProps>;
6083
+ export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
5912
6084
  }
5913
6085
  declare module "apps/reach-app/src/error/NotFoundPage" {
5914
6086
  import { WrappedComponentProps } from 'react-intl';
@@ -6001,24 +6173,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
6001
6173
  import { FC } from 'react';
6002
6174
  export const GroupListPage: FC;
6003
6175
  }
6004
- declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
6005
- import { IntlShape } from 'react-intl';
6006
- import { Account } from "libs/reach/util/common/src/index";
6007
- import { GroupUser } from "libs/reach/util/common/src/index";
6008
- import { Group, GroupRule } from "libs/reach/util/common/src/index";
6009
- export const systemAccountGroupIds: {
6010
- everyone: string;
6011
- directoryUsers: string;
6012
- nonDirectoryUsers: string;
6013
- allGroups: string[];
6014
- };
6015
- export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
6016
- export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
6017
- export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
6018
- export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
6019
- export const isAdGroup: (account: Account) => boolean;
6020
- export const isUser: (account: Account) => boolean;
6021
- }
6022
6176
  declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
6023
6177
  import { FC } from 'react';
6024
6178
  import { Account } from "libs/reach/util/common/src/index";
@@ -6263,6 +6417,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6263
6417
  private static vimeoRegex;
6264
6418
  private static microsoftStreamRegex;
6265
6419
  private static vimeoDirectLinkRegex;
6420
+ private static vimeoRedirectLinkRegex;
6266
6421
  private static kalturaRegex;
6267
6422
  readonly source: VideoSource | null;
6268
6423
  readonly id: string | null;
@@ -6270,9 +6425,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6270
6425
  readonly videoProperties: any;
6271
6426
  readonly thumbnailUrl: string;
6272
6427
  constructor(url: string);
6273
- isValid(): boolean;
6428
+ isValid(features?: any): boolean;
6274
6429
  }
6430
+ export function getVideoSources(features: any): any[];
6275
6431
  export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
6432
+ export function getAllVideoSources(features: any): any[];
6276
6433
  }
6277
6434
  declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
6278
6435
  import { AttachmentType } from "libs/reach/util/common/src/index";
@@ -6300,9 +6457,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
6300
6457
  }
6301
6458
  }
6302
6459
  declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
6303
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6460
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6304
6461
  export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
6305
- keywords?: string;
6462
+ keywords?: FilterWithLogicalOperator;
6306
6463
  }
6307
6464
  }
6308
6465
  declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
@@ -6327,6 +6484,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
6327
6484
  export interface IndexableFilterDefinition {
6328
6485
  [key: string]: any;
6329
6486
  }
6487
+ export interface FilterWithLogicalOperator {
6488
+ items?: string[];
6489
+ operator?: LogicalOperator;
6490
+ }
6491
+ export enum LogicalOperator {
6492
+ Or = "or",
6493
+ And = "and"
6494
+ }
6330
6495
  }
6331
6496
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
6332
6497
  import { SortDirection } from "libs/reach/util/common/src/index";
@@ -6349,12 +6514,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
6349
6514
  contacts?: string[];
6350
6515
  }
6351
6516
  }
6517
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6518
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6519
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6520
+ channels?: FilterWithLogicalOperator;
6521
+ }
6522
+ }
6352
6523
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6353
6524
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6354
6525
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6355
6526
  import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6356
6527
  import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6357
- export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition {
6528
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6529
+ export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
6358
6530
  excludePastEvents?: boolean;
6359
6531
  pastEventsOnly?: boolean;
6360
6532
  }
@@ -6365,26 +6537,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
6365
6537
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
6366
6538
  export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
6367
6539
  }
6368
- declare module "libs/reach/feature/content/src/events/useEventsApi" {
6369
- import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6370
- import { PaginatedList } from "libs/reach/util/common/src/index";
6371
- import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6372
- export function useEventsApi(): {
6373
- getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6374
- getEvent: (id: string) => Promise<EventItem>;
6375
- getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6376
- };
6377
- }
6378
6540
  declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
6379
6541
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6380
6542
  export interface AuthorFilterDefinition extends IndexableFilterDefinition {
6381
6543
  author?: string;
6382
6544
  }
6383
6545
  }
6384
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
6546
+ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
6385
6547
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6386
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
6387
- channels?: string;
6548
+ export interface FilteringProps {
6549
+ onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
6550
+ onShowFilterPanel?: () => unknown;
6551
+ onToggleFilterSidebar?: () => unknown;
6552
+ isFilterActive?: boolean;
6388
6553
  }
6389
6554
  }
6390
6555
  declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
@@ -6402,8 +6567,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
6402
6567
  export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
6403
6568
  groupId?: string;
6404
6569
  bookmarksOnly?: boolean;
6570
+ unreadOnly?: boolean;
6571
+ }
6572
+ }
6573
+ declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
6574
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6575
+ export enum ItemType {
6576
+ None = 0,
6577
+ News = 1,
6578
+ Post = 2,
6579
+ Page = 4,
6580
+ Event = 8
6581
+ }
6582
+ export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
6583
+ itemType?: ItemType;
6584
+ }
6585
+ }
6586
+ declare module "libs/reach/feature/content/src/filter/useFilter" {
6587
+ import { FC } from 'react';
6588
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6589
+ import { CurrentUser } from "libs/reach/util/common/src/index";
6590
+ export interface InjectedFilterProps {
6591
+ filter: IndexableFilterDefinition;
6592
+ hasFilter: boolean;
6593
+ isSearchActive: boolean;
6594
+ onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
6595
+ onSearchChange: (text: string) => void;
6596
+ onClearFilter: () => void;
6597
+ }
6598
+ export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
6599
+ filter: Partial<IndexableFilterDefinition>;
6600
+ hasFilter: boolean;
6601
+ isSearchActive: boolean;
6602
+ onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
6603
+ onSearchChange: (search: string) => void;
6604
+ onClearFilter: () => void;
6605
+ };
6606
+ export const FilterContext: import("react").Context<InjectedFilterProps>;
6607
+ export const FilterContextProvider: FC<{
6608
+ addFilters?: (locationParams: {
6609
+ [paramName: string]: any;
6610
+ }, user: CurrentUser) => IndexableFilterDefinition;
6611
+ additionalExcludedFilterProperties?: string[];
6612
+ onClearQueryString?: (prev: any, next: any) => any;
6613
+ }>;
6614
+ export interface FilterVisibilityState {
6615
+ showFilterAsPanel?: boolean;
6616
+ showFilterSidebar?: boolean;
6405
6617
  }
6406
6618
  }
6619
+ declare module "libs/reach/feature/content/src/filter/index" {
6620
+ export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
6621
+ export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6622
+ export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
6623
+ export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
6624
+ export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
6625
+ export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6626
+ export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
6627
+ export * from "libs/reach/feature/content/src/filter/FilteringProps";
6628
+ export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
6629
+ export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6630
+ export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
6631
+ export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
6632
+ export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
6633
+ export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
6634
+ export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
6635
+ export * from "libs/reach/feature/content/src/filter/useFilter";
6636
+ export * from "libs/reach/feature/content/src/filter/utils";
6637
+ }
6638
+ declare module "libs/reach/feature/content/src/filter/utils" {
6639
+ import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
6640
+ export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
6641
+ channels?: undefined;
6642
+ } | {
6643
+ channels: string;
6644
+ };
6645
+ export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
6646
+ keywords?: undefined;
6647
+ } | {
6648
+ keywords: string;
6649
+ };
6650
+ export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
6651
+ }
6652
+ declare module "libs/reach/feature/content/src/events/useEventsApi" {
6653
+ import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
6654
+ import { PaginatedList } from "libs/reach/util/common/src/index";
6655
+ import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
6656
+ export function useEventsApi(): {
6657
+ getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
6658
+ getEvent: (id: string) => Promise<EventItem>;
6659
+ getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
6660
+ };
6661
+ }
6407
6662
  declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
6408
6663
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
6409
6664
  import { Observable } from 'rxjs';
@@ -6493,6 +6748,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6493
6748
  import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
6494
6749
  import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
6495
6750
  import { ItemStatistics } from "libs/reach/util/common/src/index";
6751
+ import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
6496
6752
  export interface Post extends BaseItem, ItemWithAttachments {
6497
6753
  id: string;
6498
6754
  comments?: PaginatedList<Comment>;
@@ -6515,6 +6771,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
6515
6771
  token?: string;
6516
6772
  pageSize?: string;
6517
6773
  search?: string;
6774
+ keywords?: FilterWithLogicalOperator;
6518
6775
  }
6519
6776
  export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
6520
6777
  export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
@@ -6617,7 +6874,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
6617
6874
  private getVideoElement;
6618
6875
  private getNotSupportedElement;
6619
6876
  static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
6620
- static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Generic" | "Kaltura";
6877
+ static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
6621
6878
  }
6622
6879
  }
6623
6880
  declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
@@ -6699,6 +6956,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
6699
6956
  import { LanguageBase } from "libs/reach/util/common/src/index";
6700
6957
  import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
6701
6958
  export class NewsService {
6959
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6702
6960
  static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
6703
6961
  static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
6704
6962
  static getContentLanguages(contents: {
@@ -6806,12 +7064,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
6806
7064
  }
6807
7065
  declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
6808
7066
  import { FC } from 'react';
6809
- import { BannerInfo } from "libs/reach/util/common/src/index";
6810
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7067
+ import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
6811
7068
  interface Props {
6812
7069
  itemId: string;
6813
7070
  bannerInfo: BannerInfo;
6814
- mode: 'edit' | 'read';
7071
+ useEditorRoutes?: boolean;
6815
7072
  width: number;
6816
7073
  resourceType: ItemResourceTypes;
6817
7074
  token?: string;
@@ -7242,7 +7499,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
7242
7499
  updateSelectedLanguage: (lang: string) => unknown;
7243
7500
  handleRefresh: (onFinished?: () => void) => unknown;
7244
7501
  handleLanguageChange: (language: string) => unknown;
7245
- isReadOnly?: boolean;
7502
+ isEditorPreview?: boolean;
7246
7503
  }
7247
7504
  export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
7248
7505
  }
@@ -7794,34 +8051,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
7794
8051
  }>;
7795
8052
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
7796
8053
  }
7797
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7798
- import { FC, ReactNode } from 'react';
7799
- export const GutterMarkerIcon: FC<{
7800
- iconName: string;
7801
- children: ReactNode;
7802
- isActive: boolean;
7803
- color: string;
7804
- tooltipResourceKey?: string;
7805
- className?: string;
7806
- }>;
7807
- }
7808
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
8054
+ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
7809
8055
  import { FC } from 'react';
7810
- export const DetailViewTitle: FC;
8056
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8057
+ export const DetailViewContextProvider: FC<{
8058
+ itemId: string;
8059
+ type?: ItemResourceTypes;
8060
+ loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8061
+ isEditorPreview?: boolean;
8062
+ }>;
7811
8063
  }
7812
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
7813
- import { FC } from 'react';
7814
- export const DetailViewBanner: FC;
8064
+ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8065
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8066
+ export interface EmbeddedObjectPreviewData {
8067
+ itemId: string;
8068
+ type: string;
8069
+ subscriptionIdentifier: string;
8070
+ }
8071
+ export const InlineUrlPreviewMapper: HtmlComponentMapper;
7815
8072
  }
7816
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
7817
- import { FC } from 'react';
7818
- export const DetailMainSection: FC;
8073
+ declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8074
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8075
+ export const InlineImageMapper: HtmlComponentMapper;
7819
8076
  }
7820
- declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
7821
- import { FC, ReactNode } from 'react';
7822
- export const ItemBodyWrapper: FC<{
7823
- className?: string;
7824
- children?: ReactNode;
8077
+ declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8078
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8079
+ export interface ContactDetails {
8080
+ id: string;
8081
+ upn?: string;
8082
+ tenantId?: string;
8083
+ properties?: {
8084
+ [key: string]: {
8085
+ value: string;
8086
+ shouldAutoLoad?: boolean;
8087
+ };
8088
+ };
8089
+ }
8090
+ export const InlineContactMapper: HtmlComponentMapper;
8091
+ }
8092
+ declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8093
+ import { FC } from 'react';
8094
+ import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8095
+ export const InlineContactViewer: FC<{
8096
+ contact: ContactDetails;
7825
8097
  }>;
7826
8098
  }
7827
8099
  declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
@@ -7847,6 +8119,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
7847
8119
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7848
8120
  export const InlineQuoteMapper: HtmlComponentMapper;
7849
8121
  }
8122
+ declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
8123
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8124
+ export const InlineVideoMapper: HtmlComponentMapper;
8125
+ }
8126
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8127
+ import { FC } from 'react';
8128
+ import { PageItem } from "libs/reach/util/common/src/index";
8129
+ export const InlinePageListViewer: FC<{
8130
+ items: PageItem[];
8131
+ baseRoute: string;
8132
+ filterBaseUrl?: string;
8133
+ isInitialLoading?: boolean;
8134
+ }>;
8135
+ }
8136
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8137
+ import { FC } from 'react';
8138
+ import { PageItem } from "libs/reach/util/common/src/index";
8139
+ export interface ListPagingProps {
8140
+ getNextPage: () => unknown;
8141
+ getPrevPage: () => unknown;
8142
+ getFirstPage: () => unknown;
8143
+ isLoadingNextPage: boolean;
8144
+ isInitialLoading: boolean;
8145
+ isFirstPage: boolean;
8146
+ hideNextButton: boolean;
8147
+ }
8148
+ export const InlinePageListWithPaging: FC<{
8149
+ pages: PageItem[];
8150
+ baseRoute: string;
8151
+ pagingProps?: ListPagingProps;
8152
+ filterBaseUrl?: string;
8153
+ }>;
8154
+ }
8155
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8156
+ import { DependencyList } from 'react';
8157
+ import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8158
+ export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8159
+ showPages: boolean;
8160
+ showDocuments: boolean;
8161
+ }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8162
+ pageItems: any[];
8163
+ pagingProps: {
8164
+ hideNextButton: boolean;
8165
+ isInitialLoading: boolean;
8166
+ isLoadingNextPage: boolean;
8167
+ error: any;
8168
+ getFirstPage: () => void;
8169
+ getPrevPage: () => void;
8170
+ getNextPage: () => Promise<void>;
8171
+ isFirstPage: boolean;
8172
+ isLastPage: boolean;
8173
+ isEmpty: boolean;
8174
+ };
8175
+ };
8176
+ }
8177
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8178
+ import { FC } from 'react';
8179
+ export const InlinePageListSkeleton: FC<{
8180
+ isDataLoaded: boolean;
8181
+ pageSize?: number;
8182
+ }>;
8183
+ }
7850
8184
  declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
7851
8185
  export interface CodeDetails {
7852
8186
  id: string;
@@ -7868,20 +8202,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
7868
8202
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7869
8203
  export const InlineCodeMapper: HtmlComponentMapper;
7870
8204
  }
7871
- declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
7872
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7873
- export const InlineVideoMapper: HtmlComponentMapper;
7874
- }
7875
- declare module "libs/reach/feature/content/src/common/body/InlineImage" {
7876
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7877
- export const InlineImageMapper: HtmlComponentMapper;
7878
- }
7879
- declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
7880
- import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
7881
- export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
7882
- format: TableFormat;
7883
- }, never>;
7884
- }
7885
8205
  declare module "libs/reach/feature/content/src/common/body/InlineTable" {
7886
8206
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7887
8207
  import { CSSProperties } from 'react';
@@ -7922,234 +8242,91 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
7922
8242
  export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
7923
8243
  export const InlineTable: HtmlComponentMapper;
7924
8244
  }
7925
- declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
7926
- import { FC } from 'react';
7927
- import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
7928
- export const InlineContactViewer: FC<{
7929
- contact: ContactDetails;
8245
+ declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
8246
+ import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
8247
+ export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
8248
+ format: TableFormat;
8249
+ }, never>;
8250
+ }
8251
+ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
8252
+ import { FC, ReactNode } from 'react';
8253
+ export const ItemBodyWrapper: FC<{
8254
+ className?: string;
8255
+ children?: ReactNode;
7930
8256
  }>;
7931
8257
  }
7932
- declare module "libs/reach/feature/content/src/common/body/InlineContact" {
7933
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
7934
- export interface ContactDetails {
7935
- id: string;
7936
- upn?: string;
7937
- tenantId?: string;
7938
- properties?: {
7939
- [key: string]: {
7940
- value: string;
7941
- shouldAutoLoad?: boolean;
7942
- };
7943
- };
7944
- }
7945
- export const InlineContactMapper: HtmlComponentMapper;
8258
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8259
+ import { FC } from 'react';
8260
+ export const EventDetailViewPeopleInfo: FC;
7946
8261
  }
7947
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8262
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
7948
8263
  import { FC } from 'react';
7949
- import { PageItem } from "libs/reach/util/common/src/index";
7950
- export const InlinePageListViewer: FC<{
7951
- items: PageItem[];
7952
- baseRoute: string;
7953
- filterBaseUrl?: string;
7954
- isInitialLoading?: boolean;
8264
+ export const EventDetailViewLocationInfo: FC;
8265
+ }
8266
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
8267
+ import { FC } from 'react';
8268
+ export const EventDetailViewMetaInfo: FC<{
8269
+ allowFilterByChannels?: boolean;
7955
8270
  }>;
7956
8271
  }
7957
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8272
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
7958
8273
  import { FC } from 'react';
7959
- import { PageItem } from "libs/reach/util/common/src/index";
7960
- export interface ListPagingProps {
7961
- getNextPage: () => unknown;
7962
- getPrevPage: () => unknown;
7963
- getFirstPage: () => unknown;
7964
- isLoadingNextPage: boolean;
7965
- isInitialLoading: boolean;
7966
- isFirstPage: boolean;
7967
- hideNextButton: boolean;
7968
- }
7969
- export const InlinePageListWithPaging: FC<{
7970
- pages: PageItem[];
7971
- baseRoute: string;
7972
- pagingProps?: ListPagingProps;
7973
- filterBaseUrl?: string;
8274
+ export const EventDetailViewDatesInfo: FC<{
8275
+ className?: string;
7974
8276
  }>;
7975
8277
  }
7976
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
7977
- import { PageType } from "libs/reach/util/common/src/index";
7978
- export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
8278
+ declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
8279
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8280
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8281
+ import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
8282
+ export interface PollUserContextType {
8283
+ item: PublishableItem;
8284
+ resourceType: ItemResourceTypes;
8285
+ questions: PollQuestion[];
8286
+ answers: PollQuestionAnswer[];
8287
+ addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
8288
+ setAnswers: (answers: PollQuestionAnswer[]) => unknown;
8289
+ hasMissingAnswers: boolean;
8290
+ hasMissingUnsavedAnswer: boolean;
8291
+ pollResult: PollResult;
8292
+ isLoadingPollResult: boolean;
8293
+ showResult: boolean;
8294
+ submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
8295
+ getQuestionResult: (questionId: string) => QuestionResult;
8296
+ reset: () => Promise<void>;
8297
+ fetchPollResults: () => Promise<void>;
8298
+ onBehalfOfUpn: string;
8299
+ }
8300
+ export const PollUserContext: import("react").Context<PollUserContextType>;
7979
8301
  }
7980
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8302
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
7981
8303
  import { FC } from 'react';
7982
- export const InlinePageListSkeleton: FC<{
7983
- isDataLoaded: boolean;
7984
- pageSize?: number;
8304
+ export const DetailViewPollsSubmitButton: FC<{
8305
+ isReadOnly?: boolean;
7985
8306
  }>;
7986
8307
  }
7987
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
8308
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
7988
8309
  import { FC } from 'react';
7989
- export const InlinePageListByKeywords: FC<{
7990
- keywords: string;
7991
- showDocuments?: boolean;
7992
- showPages?: boolean;
8310
+ export const DetailViewCsvExportButton: FC<{
8311
+ path: string;
8312
+ stringResource: string;
8313
+ className?: string;
7993
8314
  }>;
7994
8315
  }
7995
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
7996
- import { PageType } from "libs/reach/util/common/src/index";
7997
- export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
8316
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
8317
+ import { FC } from 'react';
8318
+ export const DetailViewPollExportButton: FC<{
8319
+ className?: string;
8320
+ }>;
7998
8321
  }
7999
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
8322
+ declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
8000
8323
  import { FC } from 'react';
8001
- export const InlinePageListByPageId: FC<{
8002
- pageId: string;
8003
- showDocuments: boolean;
8004
- showPages: boolean;
8005
- }>;
8006
- }
8007
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8008
- import { DependencyList } from 'react';
8009
- import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8010
- export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8011
- showPages: boolean;
8012
- showDocuments: boolean;
8013
- }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8014
- pageItems: any[];
8015
- pagingProps: {
8016
- hideNextButton: boolean;
8017
- isInitialLoading: boolean;
8018
- isLoadingNextPage: boolean;
8019
- error: any;
8020
- getFirstPage: () => void;
8021
- getPrevPage: () => void;
8022
- getNextPage: () => Promise<void>;
8023
- isFirstPage: boolean;
8024
- isLastPage: boolean;
8025
- isEmpty: boolean;
8026
- };
8027
- };
8028
- }
8029
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
8030
- import { FC } from 'react';
8031
- import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
8032
- export const InlinePageListByCurrentPage: FC<{
8033
- blockProps?: PageListDetails;
8034
- }>;
8035
- }
8036
- declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
8037
- import { FC } from 'react';
8038
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8039
- export interface PageListDetails {
8040
- id?: string;
8041
- showChildren?: boolean;
8042
- showDocuments?: boolean;
8043
- showPages?: boolean;
8044
- pageId?: string;
8045
- keywords?: string;
8046
- }
8047
- export const InlinePageList: FC<{
8048
- blockProps?: PageListDetails;
8049
- }>;
8050
- export const InlinePageListMapper: HtmlComponentMapper;
8051
- }
8052
- declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8053
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8054
- export interface EmbeddedObjectPreviewData {
8055
- itemId: string;
8056
- type: string;
8057
- subscriptionIdentifier: string;
8058
- }
8059
- export const InlineUrlPreviewMapper: HtmlComponentMapper;
8060
- }
8061
- declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
8062
- import { FC } from 'react';
8063
- export const RichTextViewer: FC<{
8064
- html: string;
8065
- }>;
8066
- }
8067
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
8068
- import { FC } from 'react';
8069
- export const DetailViewBody: FC;
8070
- }
8071
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
8072
- import { FC } from 'react';
8073
- export const DetailViewKeywords: FC<{
8074
- filterBaseUrl: string;
8075
- }>;
8076
- }
8077
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
8078
- import { FC } from 'react';
8079
- export const EventDetailViewDatesInfo: FC<{
8080
- className?: string;
8081
- }>;
8082
- }
8083
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8084
- import { FC } from 'react';
8085
- export const EventDetailViewPeopleInfo: FC;
8086
- }
8087
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
8088
- import { FC } from 'react';
8089
- export const EventDetailViewLocationInfo: FC;
8090
- }
8091
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
8092
- import { FC } from 'react';
8093
- export const EventDetailViewMetaInfo: FC<{
8094
- allowFilterByChannels?: boolean;
8095
- }>;
8096
- }
8097
- declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8098
- import { FC } from 'react';
8099
- export const EventDetailViewCancelInformation: FC;
8100
- }
8101
- declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
8102
- import { PublishableItem } from "libs/reach/util/common/src/index";
8103
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8104
- import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
8105
- export interface PollUserContextType {
8106
- item: PublishableItem;
8107
- resourceType: ItemResourceTypes;
8108
- questions: PollQuestion[];
8109
- answers: PollQuestionAnswer[];
8110
- addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
8111
- setAnswers: (answers: PollQuestionAnswer[]) => unknown;
8112
- hasMissingAnswers: boolean;
8113
- hasMissingUnsavedAnswer: boolean;
8114
- pollResult: PollResult;
8115
- isLoadingPollResult: boolean;
8116
- showResult: boolean;
8117
- submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
8118
- getQuestionResult: (questionId: string) => QuestionResult;
8119
- reset: () => Promise<void>;
8120
- fetchPollResults: () => Promise<void>;
8121
- onBehalfOfUpn: string;
8122
- }
8123
- export const PollUserContext: import("react").Context<PollUserContextType>;
8124
- }
8125
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
8126
- import { FC } from 'react';
8127
- export const DetailViewPollsSubmitButton: FC<{
8128
- isReadOnly?: boolean;
8129
- }>;
8130
- }
8131
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
8132
- import { FC } from 'react';
8133
- export const DetailViewCsvExportButton: FC<{
8134
- path: string;
8135
- stringResource: string;
8136
- className?: string;
8137
- }>;
8138
- }
8139
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
8140
- import { FC } from 'react';
8141
- export const DetailViewPollExportButton: FC<{
8142
- className?: string;
8143
- }>;
8144
- }
8145
- declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
8146
- import { FC } from 'react';
8147
- export const PollUserInput: FC;
8148
- }
8149
- declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
8150
- import { FC } from 'react';
8151
- export const PollDisplay: FC<{
8152
- className?: string;
8324
+ export const PollUserInput: FC;
8325
+ }
8326
+ declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
8327
+ import { FC } from 'react';
8328
+ export const PollDisplay: FC<{
8329
+ className?: string;
8153
8330
  }>;
8154
8331
  }
8155
8332
  declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
@@ -8255,6 +8432,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8255
8432
  import { FC } from 'react';
8256
8433
  export const EventDetailViewRegistration: FC;
8257
8434
  }
8435
+ declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
8436
+ import { FC } from 'react';
8437
+ export const EventDetailViewCancelInformation: FC;
8438
+ }
8258
8439
  declare module "libs/reach/feature/content/src/comments/CommentList" {
8259
8440
  import { FC } from 'react';
8260
8441
  import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
@@ -8510,92 +8691,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
8510
8691
  eventItem: EventItem;
8511
8692
  }>;
8512
8693
  }
8513
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
8514
- import { FC } from 'react';
8515
- export const DetailViewPageViewTracker: FC;
8516
- }
8517
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
8518
- import { FC } from 'react';
8519
- export const DetailViewIntro: FC;
8520
- }
8521
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
8522
- import { FC } from 'react';
8523
- export const ConfirmationBox: FC<{
8524
- disabled?: boolean;
8525
- onChange?: (value: boolean) => void;
8526
- checked: boolean;
8527
- }>;
8528
- }
8529
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
8530
- import { FC } from 'react';
8531
- import { NewsItem } from "libs/reach/util/common/src/index";
8532
- export const ConfirmationSection: FC<{
8533
- item?: NewsItem;
8534
- showDescription: boolean;
8535
- readOnly?: boolean;
8536
- className?: string;
8537
- }>;
8538
- }
8539
- declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
8540
- import { FC } from 'react';
8541
- export const DetailViewConfirmations: FC;
8542
- }
8543
- declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
8544
- import { FC } from 'react';
8545
- export const FeedbackButtonBookmark: FC<{
8546
- isReadOnly?: boolean;
8547
- }>;
8548
- }
8549
- declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
8550
- import { FC } from 'react';
8551
- export const NewsDetailViewFeedbackSection: FC<{
8552
- hideLikes?: boolean;
8553
- hideComments?: boolean;
8554
- hideProfileUrl?: boolean;
8555
- disableLoginForPublicUser?: boolean;
8556
- }>;
8557
- }
8558
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
8559
- import { FC } from 'react';
8560
- export const DetailViewHeadline: FC;
8561
- }
8562
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
8563
- import { FC } from 'react';
8564
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8565
- export const DetailViewBodyExternalContent: FC<{
8566
- itemType: ItemResourceTypes;
8567
- }>;
8568
- }
8569
- declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8570
- import { FC } from 'react';
8571
- import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8572
- export const DetailViewContextProvider: FC<{
8573
- itemId: string;
8574
- type?: ItemResourceTypes;
8575
- loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8576
- isReadOnly?: boolean;
8577
- }>;
8578
- }
8579
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8580
- import { FC } from 'react';
8581
- export const PageDetailViewFeedbackSection: FC<{
8582
- hideLikes?: boolean;
8583
- hideComments?: boolean;
8584
- hideProfileUrl?: boolean;
8585
- disableLoginForPublicUser?: boolean;
8586
- }>;
8587
- }
8588
- declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8589
- import { FC } from 'react';
8590
- import { PageItem } from "libs/reach/util/common/src/index";
8591
- export const PageBreadcrumb: FC<{
8592
- page: PageItem;
8593
- target?: string;
8594
- language?: string;
8595
- hideCurrentPageNode?: boolean;
8596
- className?: string;
8597
- }>;
8598
- }
8599
8694
  declare module "libs/reach/feature/content/src/news/DateInfo" {
8600
8695
  import { PublishableItem } from "libs/reach/util/common/src/index";
8601
8696
  interface DateInfoProps {
@@ -8635,61 +8730,23 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8635
8730
  import { FC } from 'react';
8636
8731
  export const PageDetailViewMetaInfo: FC;
8637
8732
  }
8638
- declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
8733
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8639
8734
  import { FC } from 'react';
8640
- import { PageItem } from "libs/reach/util/common/src/index";
8641
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
8642
- export const DetailViewPageDocumentDownload: FC;
8643
- export const PageDocumentDownloadButton: FC<{
8644
- item: PageItem;
8645
- content: PublishableItemContent;
8646
- basePath?: string;
8735
+ export const PageDetailViewFeedbackSection: FC<{
8736
+ hideLikes?: boolean;
8737
+ hideComments?: boolean;
8738
+ hideProfileUrl?: boolean;
8739
+ disableLoginForPublicUser?: boolean;
8647
8740
  }>;
8648
8741
  }
8649
- declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8650
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8651
- import { PublishableItem } from "libs/reach/util/common/src/index";
8652
- interface Props {
8653
- id: string;
8654
- item: PublishableItem;
8655
- itemResourceType: ItemResourceTypes;
8656
- }
8657
- export const CardBanner: React.FC<Props>;
8658
- }
8659
- declare module "libs/reach/feature/content/src/common/cards/Card" {
8660
- import { FC, ReactNode } from 'react';
8661
- import { PublishableItem } from "libs/reach/util/common/src/index";
8662
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8663
- import { CurrentUser } from "libs/reach/util/common/src/index";
8664
- interface CardProps {
8665
- item: PublishableItem;
8666
- itemResourceType: ItemResourceTypes;
8667
- additionalMetadata?: ReactNode;
8668
- highlight?: boolean;
8669
- className?: string;
8670
- }
8671
- export const Card: FC<CardProps>;
8672
- export interface CardItem<TItem = PublishableItem> {
8673
- item: TItem;
8674
- language: string;
8675
- }
8676
- export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8677
- }
8678
- declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
8679
- import { FC, ReactNode } from 'react';
8680
- export const DetailViewNavigation: FC<{
8681
- children?: ReactNode;
8682
- callout?: ReactNode;
8683
- }>;
8684
- }
8685
- declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
8686
- import { PageItem } from "libs/reach/util/common/src/index";
8687
- import * as H from 'history';
8688
- export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
8689
- showSearch: boolean;
8690
- handleSearchTextChange: (searchText: string) => void;
8691
- redirectToSearchPage: (searchText: string) => void;
8692
- };
8742
+ declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
8743
+ import { PageItem } from "libs/reach/util/common/src/index";
8744
+ import * as H from 'history';
8745
+ export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
8746
+ showSearch: boolean;
8747
+ handleSearchTextChange: (searchText: string) => void;
8748
+ redirectToSearchPage: (searchText: string) => void;
8749
+ };
8693
8750
  }
8694
8751
  declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
8695
8752
  import { FC } from 'react';
@@ -8788,6 +8845,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8788
8845
  import { FC } from 'react';
8789
8846
  export const PageDetailViewTableOfContentsButton: FC;
8790
8847
  }
8848
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
8849
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8850
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8851
+ }
8852
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
8853
+ import { FC } from 'react';
8854
+ export const InlinePageListByKeywords: FC<{
8855
+ keywords: string[];
8856
+ showDocuments?: boolean;
8857
+ showPages?: boolean;
8858
+ }>;
8859
+ }
8860
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
8861
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8862
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8863
+ }
8864
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
8865
+ import { FC } from 'react';
8866
+ export const InlinePageListByPageId: FC<{
8867
+ pageId: string;
8868
+ showDocuments: boolean;
8869
+ showPages: boolean;
8870
+ }>;
8871
+ }
8872
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
8873
+ import { FC } from 'react';
8874
+ import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
8875
+ export const InlinePageListByCurrentPage: FC<{
8876
+ blockProps?: PageListDetails;
8877
+ }>;
8878
+ }
8879
+ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
8880
+ import { FC } from 'react';
8881
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8882
+ export interface PageListDetails {
8883
+ id?: string;
8884
+ showChildren?: boolean;
8885
+ showDocuments?: boolean;
8886
+ showPages?: boolean;
8887
+ pageId?: string;
8888
+ keywords?: string;
8889
+ }
8890
+ export const InlinePageList: FC<{
8891
+ blockProps?: PageListDetails;
8892
+ }>;
8893
+ export const InlinePageListMapper: HtmlComponentMapper;
8894
+ }
8895
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8896
+ import { FC } from 'react';
8897
+ import { PageItem } from "libs/reach/util/common/src/index";
8898
+ export const PageBreadcrumb: FC<{
8899
+ page: PageItem;
8900
+ target?: string;
8901
+ language?: string;
8902
+ hideCurrentPageNode?: boolean;
8903
+ className?: string;
8904
+ }>;
8905
+ }
8906
+ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
8907
+ import { FC } from 'react';
8908
+ import { PageItem } from "libs/reach/util/common/src/index";
8909
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
8910
+ export const DetailViewPageDocumentDownload: FC;
8911
+ export const PageDocumentDownloadButton: FC<{
8912
+ item: PageItem;
8913
+ content: PublishableItemContent;
8914
+ basePath?: string;
8915
+ }>;
8916
+ }
8917
+ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8918
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8919
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8920
+ interface Props {
8921
+ id: string;
8922
+ item: PublishableItem;
8923
+ itemResourceType: ItemResourceTypes;
8924
+ }
8925
+ export const CardBanner: React.FC<Props>;
8926
+ }
8927
+ declare module "libs/reach/feature/content/src/common/cards/Card" {
8928
+ import { FC, ReactNode } from 'react';
8929
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8930
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8931
+ import { CurrentUser } from "libs/reach/util/common/src/index";
8932
+ interface CardProps {
8933
+ item: PublishableItem;
8934
+ itemResourceType: ItemResourceTypes;
8935
+ additionalMetadata?: ReactNode;
8936
+ highlight?: boolean;
8937
+ className?: string;
8938
+ }
8939
+ export const Card: FC<CardProps>;
8940
+ export interface CardItem<TItem = PublishableItem> {
8941
+ item: TItem;
8942
+ language: string;
8943
+ }
8944
+ export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8945
+ }
8791
8946
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
8792
8947
  import { FC } from 'react';
8793
8948
  interface LanguageSelectorProps {
@@ -8809,10 +8964,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
8809
8964
  className?: string;
8810
8965
  }>;
8811
8966
  }
8967
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
8968
+ import { FC } from 'react';
8969
+ export const DetailViewBanner: FC;
8970
+ }
8971
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
8972
+ import { FC } from 'react';
8973
+ export const DetailViewIntro: FC;
8974
+ }
8975
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
8976
+ import { FC } from 'react';
8977
+ export const DetailMainSection: FC;
8978
+ }
8979
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
8980
+ import { FC, ReactNode } from 'react';
8981
+ export const GutterMarkerIcon: FC<{
8982
+ iconName: string;
8983
+ children: ReactNode;
8984
+ isActive: boolean;
8985
+ color: string;
8986
+ tooltipResourceKey?: string;
8987
+ className?: string;
8988
+ }>;
8989
+ }
8990
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
8991
+ import { FC } from 'react';
8992
+ export const DetailViewTitle: FC;
8993
+ }
8812
8994
  declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
8813
8995
  import { FC } from 'react';
8814
8996
  export const NewsDetailViewMetaInfo: FC;
8815
8997
  }
8998
+ declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
8999
+ import { FC } from 'react';
9000
+ export const RichTextViewer: FC<{
9001
+ html: string;
9002
+ }>;
9003
+ }
9004
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
9005
+ import { FC } from 'react';
9006
+ export const DetailViewBody: FC;
9007
+ }
9008
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
9009
+ import { FC } from 'react';
9010
+ export const DetailViewKeywords: FC<{
9011
+ filterBaseUrl: string;
9012
+ }>;
9013
+ }
9014
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
9015
+ import { FC } from 'react';
9016
+ export const ConfirmationBox: FC<{
9017
+ disabled?: boolean;
9018
+ onChange?: (value: boolean) => void;
9019
+ checked: boolean;
9020
+ }>;
9021
+ }
9022
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
9023
+ import { FC } from 'react';
9024
+ import { NewsItem } from "libs/reach/util/common/src/index";
9025
+ export const ConfirmationSection: FC<{
9026
+ item?: NewsItem;
9027
+ showDescription: boolean;
9028
+ readOnly?: boolean;
9029
+ className?: string;
9030
+ }>;
9031
+ }
9032
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
9033
+ import { FC } from 'react';
9034
+ export const DetailViewConfirmations: FC;
9035
+ }
9036
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
9037
+ import { FC } from 'react';
9038
+ export const DetailViewPageViewTracker: FC;
9039
+ }
9040
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
9041
+ import { FC } from 'react';
9042
+ export const FeedbackButtonBookmark: FC<{
9043
+ isReadOnly?: boolean;
9044
+ }>;
9045
+ }
9046
+ declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
9047
+ import { FC } from 'react';
9048
+ export const NewsDetailViewFeedbackSection: FC<{
9049
+ hideLikes?: boolean;
9050
+ hideComments?: boolean;
9051
+ hideProfileUrl?: boolean;
9052
+ disableLoginForPublicUser?: boolean;
9053
+ }>;
9054
+ }
9055
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
9056
+ import { FC, ReactNode } from 'react';
9057
+ export const DetailViewNavigation: FC<{
9058
+ children?: ReactNode;
9059
+ callout?: ReactNode;
9060
+ }>;
9061
+ }
9062
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
9063
+ import { FC } from 'react';
9064
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9065
+ export const DetailViewBodyExternalContent: FC<{
9066
+ itemType: ItemResourceTypes;
9067
+ }>;
9068
+ }
9069
+ declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
9070
+ import { FC } from 'react';
9071
+ export const DetailViewHeadline: FC;
9072
+ }
8816
9073
  declare module "libs/reach/feature/content/src/common/StateIcon" {
8817
9074
  import { WorkflowStatus } from "libs/reach/util/common/src/index";
8818
9075
  export const StateIcon: React.FC<{
@@ -8833,205 +9090,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
8833
9090
  }
8834
9091
  declare module "libs/reach/feature/content/src/common/index" {
8835
9092
  export * from "libs/reach/feature/content/src/common/cards/CardFooter";
8836
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8837
9093
  export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8838
9094
  export * from "libs/reach/feature/content/src/common/item-tile/Title";
8839
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
8840
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8841
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8842
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8843
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8844
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8845
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
8846
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
8847
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
8848
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
8849
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
8850
- export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
8851
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8852
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8853
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8854
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8855
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8856
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
8857
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8858
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8859
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
8860
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
8861
- export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
8862
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
8863
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8864
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
8865
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8866
9095
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
8867
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8868
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8869
- export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
8870
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8871
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
8872
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8873
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8874
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8875
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8876
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8877
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
8878
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8879
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8880
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
8881
- export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
8882
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
8883
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
8884
- export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
8885
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8886
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8887
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
8888
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
8889
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
8890
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8891
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8892
- export * from "libs/reach/feature/content/src/common/cards/Card";
8893
9096
  export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
8894
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8895
9097
  export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
8896
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8897
9098
  export * from "libs/reach/feature/content/src/common/body/InlineGallery";
8898
9099
  export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
8899
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8900
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8901
- export * from "libs/reach/feature/content/src/common/ContentUtils";
8902
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8903
9100
  export * from "libs/reach/feature/content/src/common/body/InlineImage";
8904
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8905
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8906
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8907
9101
  export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
8908
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8909
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8910
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8911
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8912
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8913
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8914
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8915
9102
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
8916
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8917
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8918
9103
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
8919
9104
  export * from "libs/reach/feature/content/src/common/body/InlineQuote";
8920
9105
  export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
8921
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8922
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8923
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8924
9106
  export * from "libs/reach/feature/content/src/common/body/InlineVideo";
8925
- export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8926
9107
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
8927
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8928
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8929
9108
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
8930
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8931
9109
  export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
8932
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8933
- export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
8934
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8935
9110
  export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
8936
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8937
9111
  export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
8938
9112
  export * from "libs/reach/feature/content/src/common/ContentUtils";
8939
- export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8940
9113
  export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
8941
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8942
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8943
- export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8944
- export * from "libs/reach/feature/content/src/common/body/InlineContact";
8945
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8946
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8947
- export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8948
9114
  export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
8949
- export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8950
9115
  export * from "libs/reach/feature/content/src/common/body/InlineContact";
8951
- export * from "libs/reach/feature/content/src/common/body/InlinePageList";
8952
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8953
9116
  export * from "libs/reach/feature/content/src/common/body/InlineCode";
8954
9117
  export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
8955
- export * from "libs/reach/feature/content/src/common/body/TextViewer";
8956
9118
  export * from "libs/reach/feature/content/src/common/body/CodeDetails";
8957
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8958
9119
  export * from "libs/reach/feature/content/src/common/body/TextViewer";
8959
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8960
- export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
8961
9120
  export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
8962
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8963
- export * from "libs/reach/feature/content/src/common/body/InlineTable";
8964
9121
  export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
8965
9122
  export * from "libs/reach/feature/content/src/common/body/InlineTable";
8966
- export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
8967
- export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8968
- export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
8969
9123
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
8970
9124
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
8971
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8972
9125
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
8973
9126
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
8974
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
8975
- export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8976
- export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8977
9127
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
8978
9128
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
8979
9129
  export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
8980
- export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
8981
9130
  export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
8982
9131
  export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
8983
9132
  export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
8984
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8985
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
8986
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
8987
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
8988
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
8989
9133
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
8990
9134
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
8991
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
8992
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
8993
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
8994
9135
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
8995
9136
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
8996
9137
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
8997
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
8998
9138
  export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
8999
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9000
- export * from "libs/reach/feature/content/src/common/cards/Card";
9001
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9002
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
9003
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
9004
9139
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
9005
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
9006
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
9007
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
9008
9140
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
9009
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9010
9141
  export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
9011
9142
  export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
9012
9143
  export * from "libs/reach/feature/content/src/common/body/InlinePageList";
9013
9144
  export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
9014
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
9015
9145
  export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
9016
- export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
9017
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9018
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9019
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9020
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9021
- export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9022
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9023
9146
  export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
9024
9147
  export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
9025
- export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9026
- export * from "libs/reach/feature/content/src/common/cards/Card";
9027
- export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9028
- export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9029
9148
  export * from "libs/reach/feature/content/src/common/cards/Card";
9030
9149
  export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
9031
9150
  export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
9032
9151
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
9033
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9034
- export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9035
9152
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
9036
9153
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
9037
9154
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
@@ -9048,7 +9165,6 @@ declare module "libs/reach/feature/content/src/common/index" {
9048
9165
  export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
9049
9166
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
9050
9167
  export * from "libs/reach/feature/content/src/common/AppTriggerActions";
9051
- export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9052
9168
  export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
9053
9169
  export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
9054
9170
  export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
@@ -9070,65 +9186,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9070
9186
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9071
9187
  export * from "libs/reach/feature/content/src/feedback/utils";
9072
9188
  }
9073
- declare module "libs/reach/feature/content/src/filter/FilteringProps" {
9074
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9075
- export interface FilteringProps {
9076
- onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
9077
- onShowFilterPanel?: () => unknown;
9078
- onToggleFilterSidebar?: () => unknown;
9079
- isFilterActive?: boolean;
9080
- }
9081
- }
9082
- declare module "libs/reach/feature/content/src/filter/useFilter" {
9083
- import { FC } from 'react';
9084
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9085
- import { CurrentUser } from "libs/reach/util/common/src/index";
9086
- export interface InjectedFilterProps {
9087
- filter: IndexableFilterDefinition;
9088
- hasFilter: boolean;
9089
- isSearchActive: boolean;
9090
- onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
9091
- onSearchChange: (text: string) => void;
9092
- onClearFilter: () => void;
9093
- }
9094
- export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
9095
- filter: Partial<IndexableFilterDefinition>;
9096
- hasFilter: boolean;
9097
- isSearchActive: boolean;
9098
- onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
9099
- onSearchChange: (search: string) => void;
9100
- onClearFilter: () => void;
9101
- };
9102
- export const FilterContext: import("react").Context<InjectedFilterProps>;
9103
- export const FilterContextProvider: FC<{
9104
- addFilters?: (locationParams: {
9105
- [paramName: string]: any;
9106
- }, user: CurrentUser) => IndexableFilterDefinition;
9107
- additionalExcludedFilterProperties?: string[];
9108
- onClearQueryString?: (prev: any, next: any) => any;
9109
- }>;
9110
- export interface FilterVisibilityState {
9111
- showFilterAsPanel?: boolean;
9112
- showFilterSidebar?: boolean;
9113
- }
9114
- }
9115
- declare module "libs/reach/feature/content/src/filter/index" {
9116
- export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
9117
- export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
9118
- export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
9119
- export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
9120
- export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
9121
- export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
9122
- export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
9123
- export * from "libs/reach/feature/content/src/filter/FilteringProps";
9124
- export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
9125
- export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
9126
- export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
9127
- export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
9128
- export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
9129
- export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
9130
- export * from "libs/reach/feature/content/src/filter/useFilter";
9131
- }
9132
9189
  declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9133
9190
  import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9134
9191
  import { FC } from 'react';
@@ -9203,26 +9260,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
9203
9260
  */
9204
9261
  export const Textarea: FC<TextareaProps>;
9205
9262
  }
9206
- declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9207
- import { FC } from 'react';
9208
- interface DateTimePickerProps {
9209
- date: string;
9210
- maxDate?: string;
9211
- minDate?: string;
9212
- dateValidationResourceKey?: string;
9213
- timeValidationResourceKey?: string;
9214
- readOnly?: boolean;
9215
- onChanged: (date: string, isValid: boolean) => void;
9216
- noDateResourceKey: string;
9217
- selectDateResourceKey: string;
9218
- dateOnly?: boolean;
9219
- initialPickerDate?: string;
9220
- label?: string;
9221
- className?: string;
9222
- }
9223
- export const DateTimePicker: FC<DateTimePickerProps>;
9224
- export default DateTimePicker;
9225
- }
9226
9263
  declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9227
9264
  import { FC } from 'react';
9228
9265
  interface Props {
@@ -9247,6 +9284,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
9247
9284
  }
9248
9285
  export const InsertImagesButton: FC<Props>;
9249
9286
  }
9287
+ declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9288
+ import { FC } from 'react';
9289
+ interface DateTimePickerProps {
9290
+ date: string;
9291
+ maxDate?: string;
9292
+ minDate?: string;
9293
+ dateValidationResourceKey?: string;
9294
+ timeValidationResourceKey?: string;
9295
+ readOnly?: boolean;
9296
+ onChanged: (date: string, isValid: boolean) => void;
9297
+ noDateResourceKey: string;
9298
+ selectDateResourceKey: string;
9299
+ dateOnly?: boolean;
9300
+ initialPickerDate?: string;
9301
+ label?: string;
9302
+ isRequired?: boolean;
9303
+ className?: string;
9304
+ }
9305
+ export const DateTimePicker: FC<DateTimePickerProps>;
9306
+ export default DateTimePicker;
9307
+ }
9250
9308
  declare module "libs/reach/feature/content/src/forms/DateRange" {
9251
9309
  import moment, { Moment } from 'moment';
9252
9310
  export enum DateRange {
@@ -9293,33 +9351,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
9293
9351
  export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
9294
9352
  }
9295
9353
  declare module "libs/reach/feature/content/src/forms/index" {
9296
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9297
- export * from "libs/reach/feature/content/src/forms/KeywordDialog";
9298
- export * from "libs/reach/feature/content/src/forms/Textarea";
9299
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9300
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9301
- export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9302
9354
  export * from "libs/reach/feature/content/src/forms/KeywordDialog";
9303
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9304
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9305
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9306
9355
  export * from "libs/reach/feature/content/src/forms/Textarea";
9307
9356
  export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
9308
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9309
9357
  export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
9310
- export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9311
9358
  export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
9312
9359
  export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
9313
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9314
9360
  export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
9315
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9316
9361
  export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
9317
9362
  export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9318
- export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9319
- export * from "libs/reach/feature/content/src/forms/DateTimePicker";
9320
9363
  export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
9321
9364
  export * from "libs/reach/feature/content/src/forms/DateRange";
9322
- export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9323
9365
  export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
9324
9366
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9325
9367
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
@@ -9399,6 +9441,15 @@ declare module "libs/reach/feature/content/src/news/index" {
9399
9441
  export * from "libs/reach/feature/content/src/news/useNewsApi";
9400
9442
  export * from "libs/reach/feature/content/src/news/useTranslateApi";
9401
9443
  }
9444
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9445
+ import { FC } from 'react';
9446
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
9447
+ export const SearchHighlighter: FC<{
9448
+ highlight: SearchHighlight;
9449
+ }>;
9450
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9451
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9452
+ }
9402
9453
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
9403
9454
  import { FC } from 'react';
9404
9455
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9427,11 +9478,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
9427
9478
  }
9428
9479
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9429
9480
  import { FC } from 'react';
9430
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9481
+ import { PageItem } from "libs/reach/util/common/src/index";
9431
9482
  export const PageListItemBody: FC<{
9432
- contents: {
9433
- [key: string]: PublishableItemContent;
9434
- };
9483
+ page: PageItem;
9435
9484
  search?: string;
9436
9485
  }>;
9437
9486
  }
@@ -9497,7 +9546,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9497
9546
  import { FC } from 'react';
9498
9547
  import { Post } from "libs/reach/feature/content/src/posts/utils";
9499
9548
  import { Keyword } from "libs/reach/util/common/src/index";
9500
- export const PostCreator: FC<{
9549
+ export interface PostCreatorProps {
9501
9550
  groupId: string;
9502
9551
  disabled: boolean;
9503
9552
  disableDragAndDrop?: boolean;
@@ -9508,134 +9557,1293 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
9508
9557
  defaultKeywords?: Keyword[];
9509
9558
  mandatoryKeywords?: Keyword[];
9510
9559
  };
9511
- }>;
9512
- }
9513
- declare module "libs/reach/feature/content/src/posts/PostReplies" {
9514
- import { FC } from 'react';
9515
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9516
- import { Comment } from "libs/reach/util/common/src/index";
9517
- import { PaginatedList } from "libs/reach/util/common/src/index";
9518
- interface Props {
9519
- className?: string;
9520
- post: Post;
9521
- initialPageSize?: number;
9522
- comments?: PaginatedList<Comment>;
9523
- autoFocusReplyField?: boolean;
9524
- onReplyAdded: () => void;
9525
- onReplyDeleted: () => void;
9526
- onThreadReply?: (threadId: string) => void;
9527
- }
9528
- export const PostReplies: FC<Props>;
9529
- }
9530
- declare module "libs/reach/feature/content/src/posts/PostEditor" {
9531
- import { FC } from 'react';
9532
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9533
- import { Keyword } from "libs/reach/util/common/src/index";
9534
- export const PostEditor: FC<{
9535
- className?: string;
9536
- post: Post;
9537
- onCancel: () => void;
9538
- onBeforeSave: (post: Post) => void;
9539
- onSaved: (post: Post) => void;
9540
- keywordSettings?: {
9541
- availableKeywords?: Keyword[];
9542
- defaultKeywords?: Keyword[];
9543
- mandatoryKeywords?: Keyword[];
9560
+ disableAutoFocus?: boolean;
9561
+ }
9562
+ export const PostCreator: FC<PostCreatorProps>;
9563
+ }
9564
+ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9565
+ import { FC } from 'react';
9566
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9567
+ import { Comment } from "libs/reach/util/common/src/index";
9568
+ import { PaginatedList } from "libs/reach/util/common/src/index";
9569
+ interface Props {
9570
+ className?: string;
9571
+ post: Post;
9572
+ initialPageSize?: number;
9573
+ comments?: PaginatedList<Comment>;
9574
+ autoFocusReplyField?: boolean;
9575
+ onReplyAdded: () => void;
9576
+ onReplyDeleted: () => void;
9577
+ onThreadReply?: (threadId: string) => void;
9578
+ }
9579
+ export const PostReplies: FC<Props>;
9580
+ }
9581
+ declare module "libs/reach/feature/content/src/posts/PostEditor" {
9582
+ import { FC } from 'react';
9583
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9584
+ import { Keyword } from "libs/reach/util/common/src/index";
9585
+ export const PostEditor: FC<{
9586
+ className?: string;
9587
+ post: Post;
9588
+ onCancel: () => void;
9589
+ onBeforeSave: (post: Post) => void;
9590
+ onSaved: (post: Post) => void;
9591
+ keywordSettings?: {
9592
+ availableKeywords?: Keyword[];
9593
+ defaultKeywords?: Keyword[];
9594
+ mandatoryKeywords?: Keyword[];
9595
+ };
9596
+ }>;
9597
+ }
9598
+ declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9599
+ import { FC } from 'react';
9600
+ export const PostFollowButton: FC<{
9601
+ itemId: string;
9602
+ }>;
9603
+ }
9604
+ declare module "libs/reach/feature/content/src/posts/PostGroup" {
9605
+ import { FC } from 'react';
9606
+ import { NavLink } from 'react-router-dom';
9607
+ export const PostGroup: FC<{
9608
+ groupId: string;
9609
+ to: string;
9610
+ className?: string;
9611
+ }>;
9612
+ export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9613
+ }
9614
+ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9615
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9616
+ import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9617
+ interface Props {
9618
+ post: Post;
9619
+ className?: string;
9620
+ threadId?: string;
9621
+ onCustomPostDelete?: () => void;
9622
+ comments?: PaginatedList<Comment>;
9623
+ initialCommentsPageSize?: number;
9624
+ onEditActiveChange?: (isEditMode: boolean) => void;
9625
+ onShowCommentsChange?: (showComments: boolean) => void;
9626
+ onThreadCommentDelete?: () => void;
9627
+ onThreadReply?: (threadId: string) => void;
9628
+ keywordSettings?: {
9629
+ availableKeywords?: Keyword[];
9630
+ defaultKeywords?: Keyword[];
9631
+ mandatoryKeywords?: Keyword[];
9632
+ };
9633
+ showGroup?: boolean;
9634
+ onBeforeDelete?: (id: string) => unknown;
9635
+ onAfterDelete?: (id: string) => unknown;
9636
+ }
9637
+ export const PostDisplay: React.FC<Props>;
9638
+ }
9639
+ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9640
+ import { FC } from 'react';
9641
+ import { UserGroup } from "libs/reach/util/common/src/index";
9642
+ export const PostGroupsSelector: FC<{
9643
+ groups: UserGroup[];
9644
+ }>;
9645
+ }
9646
+ declare module "libs/reach/feature/content/src/posts/PostListItem" {
9647
+ import { FC } from 'react';
9648
+ import { Post } from "libs/reach/feature/content/src/posts/utils";
9649
+ import { Keyword } from "libs/reach/util/common/src/index";
9650
+ interface Props {
9651
+ post: Post;
9652
+ onEditActiveChange?: (isEditMode: boolean) => void;
9653
+ onShowCommentsChange?: (showComments: boolean) => void;
9654
+ keywordSettings?: {
9655
+ availableKeywords?: Keyword[];
9656
+ defaultKeywords?: Keyword[];
9657
+ mandatoryKeywords?: Keyword[];
9658
+ };
9659
+ showGroup: boolean;
9660
+ onBeforeDelete?: (id: string) => unknown;
9661
+ onAfterDelete?: (id: string) => unknown;
9662
+ }
9663
+ export const PostListItem: FC<Props>;
9664
+ }
9665
+ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9666
+ import { FC } from 'react';
9667
+ import { Post } from "libs/reach/feature/content/src/index";
9668
+ import { Keyword } from "libs/reach/util/common/src/index";
9669
+ export const PostWithSelfThreadHandling: FC<{
9670
+ post: Post;
9671
+ onEditActiveChange?: (isEditMode: boolean) => void;
9672
+ onShowCommentsChange?: (showComments: boolean) => void;
9673
+ keywordSettings?: {
9674
+ availableKeywords?: Keyword[];
9675
+ defaultKeywords?: Keyword[];
9676
+ mandatoryKeywords?: Keyword[];
9677
+ };
9678
+ showGroup: boolean;
9679
+ onBeforeDelete?: (id: string) => unknown;
9680
+ onAfterDelete?: (id: string) => unknown;
9681
+ }>;
9682
+ }
9683
+ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9684
+ import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9685
+ import { Post } from "libs/reach/feature/content/src/posts/index";
9686
+ import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
9687
+ enum StreamItemTypes {
9688
+ Post = "POST",
9689
+ News = "NEWS",
9690
+ Event = "EVENT",
9691
+ Page = "PAGE"
9692
+ }
9693
+ export enum StreamConversationScope {
9694
+ Public = "PUBLIC",
9695
+ Editor = "EDITOR",
9696
+ Posts = "POSTS"
9697
+ }
9698
+ export interface PostStreamItem extends Post {
9699
+ type: StreamItemTypes.Post;
9700
+ isUnread: boolean;
9701
+ keywordsList?: Keyword[];
9702
+ groupIds?: string[];
9703
+ postAttachments?: StreamAttachment[];
9704
+ postComments?: PaginatedList<StreamPostComment>;
9705
+ hasMoreUnreadComments: boolean;
9706
+ }
9707
+ export interface StreamPostComment extends Comment {
9708
+ postCommentAttachments?: StreamAttachment[];
9709
+ streamConversationScope?: StreamConversationScope;
9710
+ }
9711
+ export interface StreamAttachment extends BaseAttachment {
9712
+ type: GraphQLAttachmentType;
9713
+ }
9714
+ export interface NewsStreamItem extends NewsItem {
9715
+ type: StreamItemTypes.News;
9716
+ contentsList: StreamPublishableItemContents[];
9717
+ channelsList: string[];
9718
+ isUnread: boolean;
9719
+ keywordsList?: Keyword[];
9720
+ knownNewsState?: StreamKnownNewsState[];
9721
+ }
9722
+ export enum StreamKnownNewsState {
9723
+ Unconfirmed = "UNCONFIRMED",
9724
+ Alert = "ALERT"
9725
+ }
9726
+ export interface EventStreamItem extends EventItem {
9727
+ type: StreamItemTypes.Event;
9728
+ contentsList: StreamPublishableItemContents[];
9729
+ channelsList: string[];
9730
+ isUnread: boolean;
9731
+ keywordsList?: Keyword[];
9732
+ userResponseType?: StreamEventResponse;
9733
+ }
9734
+ export interface PageStreamItem extends PageItem {
9735
+ type: StreamItemTypes.Page;
9736
+ contentsList: StreamPublishableItemContents[];
9737
+ channelsList: string[];
9738
+ isUnread: boolean;
9739
+ keywordsList?: Keyword[];
9740
+ streamPageType?: string;
9741
+ path?: (PageNavigationNode & {
9742
+ parentId?: string;
9743
+ })[];
9744
+ }
9745
+ interface StreamPublishableItemContents {
9746
+ language: string;
9747
+ title: string;
9748
+ intro?: string;
9749
+ headline?: string;
9750
+ }
9751
+ export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
9752
+ export function isPost(item: StreamItem): item is PostStreamItem;
9753
+ export function isNews(item: StreamItem): item is NewsStreamItem;
9754
+ export function isEvent(item: StreamItem): item is EventStreamItem;
9755
+ export function isPage(item: StreamItem): item is PageStreamItem;
9756
+ export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
9757
+ groupId: string;
9758
+ attachments: {
9759
+ type: AttachmentType;
9760
+ id: string;
9761
+ filename?: string;
9762
+ previewUrl?: string;
9763
+ url?: string;
9764
+ isUploadInProgress?: boolean;
9765
+ hasError?: boolean;
9766
+ width?: number;
9767
+ height?: number;
9768
+ }[];
9769
+ comments: {
9770
+ items: {
9771
+ conversationScope: ConversationScope;
9772
+ fileAccessToken: string;
9773
+ attachments: {
9774
+ type: AttachmentType;
9775
+ id: string;
9776
+ filename?: string;
9777
+ previewUrl?: string;
9778
+ url?: string;
9779
+ isUploadInProgress?: boolean;
9780
+ hasError?: boolean;
9781
+ width?: number;
9782
+ height?: number;
9783
+ }[];
9784
+ postCommentAttachments?: StreamAttachment[];
9785
+ streamConversationScope?: StreamConversationScope;
9786
+ id: string;
9787
+ parentItemId: string;
9788
+ content: string;
9789
+ contentLanguageCode?: string;
9790
+ receivedDateTime: string;
9791
+ sender: import("@livetiles/reach/util/common").Account;
9792
+ modified?: string;
9793
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9794
+ isLiked?: boolean;
9795
+ threadId?: string;
9796
+ isUnread?: boolean;
9797
+ hasUnreadReplies?: boolean;
9798
+ isDemoContent?: boolean;
9799
+ attachmentContainerId?: string;
9800
+ }[];
9801
+ paginationToken?: any;
9802
+ nextItem?: StreamPostComment;
9803
+ hasMoreUnreadComments?: boolean;
9804
+ hasNextPage?: boolean;
9805
+ };
9806
+ keywords: {
9807
+ [key: string]: Keyword[];
9808
+ };
9809
+ type: StreamItemTypes.Post;
9810
+ isUnread: boolean;
9811
+ keywordsList?: Keyword[];
9812
+ groupIds?: string[];
9813
+ postAttachments?: StreamAttachment[];
9814
+ postComments?: PaginatedList<StreamPostComment>;
9815
+ hasMoreUnreadComments: boolean;
9816
+ id: string;
9817
+ content: string;
9818
+ permalink?: string;
9819
+ author: import("@livetiles/reach/util/common").Account;
9820
+ publishingDate: string;
9821
+ modified?: string;
9822
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
9823
+ contentLanguageCode?: string;
9824
+ isLiked?: boolean;
9825
+ isDemoContent?: boolean;
9826
+ poll?: import("@livetiles/reach/util/common").Poll;
9827
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9828
+ fileAccessToken?: string;
9829
+ attachmentContainerId?: string;
9830
+ } | {
9831
+ groupId: string;
9832
+ attachments: {
9833
+ type: AttachmentType;
9834
+ id: string;
9835
+ filename?: string;
9836
+ previewUrl?: string;
9837
+ url?: string;
9838
+ isUploadInProgress?: boolean;
9839
+ hasError?: boolean;
9840
+ width?: number;
9841
+ height?: number;
9842
+ }[];
9843
+ comments: {
9844
+ items: {
9845
+ conversationScope: ConversationScope;
9846
+ fileAccessToken: string;
9847
+ attachments: {
9848
+ type: AttachmentType;
9849
+ id: string;
9850
+ filename?: string;
9851
+ previewUrl?: string;
9852
+ url?: string;
9853
+ isUploadInProgress?: boolean;
9854
+ hasError?: boolean;
9855
+ width?: number;
9856
+ height?: number;
9857
+ }[];
9858
+ postCommentAttachments?: StreamAttachment[];
9859
+ streamConversationScope?: StreamConversationScope;
9860
+ id: string;
9861
+ parentItemId: string;
9862
+ content: string;
9863
+ contentLanguageCode?: string;
9864
+ receivedDateTime: string;
9865
+ sender: import("@livetiles/reach/util/common").Account;
9866
+ modified?: string;
9867
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9868
+ isLiked?: boolean;
9869
+ threadId?: string;
9870
+ isUnread?: boolean;
9871
+ hasUnreadReplies?: boolean;
9872
+ isDemoContent?: boolean;
9873
+ attachmentContainerId?: string;
9874
+ }[];
9875
+ paginationToken?: any;
9876
+ nextItem?: StreamPostComment;
9877
+ hasMoreUnreadComments?: boolean;
9878
+ hasNextPage?: boolean;
9879
+ };
9880
+ keywords: {
9881
+ [key: string]: Keyword[];
9882
+ };
9883
+ type: StreamItemTypes.News;
9884
+ contentsList: StreamPublishableItemContents[];
9885
+ channelsList: string[];
9886
+ isUnread: boolean;
9887
+ keywordsList?: Keyword[];
9888
+ knownNewsState?: StreamKnownNewsState[];
9889
+ source?: string;
9890
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
9891
+ expiryDate?: string;
9892
+ knownState: KnownNewsState;
9893
+ hasNewComments?: boolean;
9894
+ isLiked?: boolean;
9895
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
9896
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
9897
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
9898
+ id?: string;
9899
+ versionId?: string;
9900
+ publishingDate?: string;
9901
+ deleted?: string;
9902
+ author?: import("@livetiles/reach/util/common").Account;
9903
+ owner?: import("@livetiles/reach/util/common").Account;
9904
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
9905
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
9906
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
9907
+ fileAccessToken?: string;
9908
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
9909
+ customProperties?: {
9910
+ [key: string]: any;
9911
+ };
9912
+ modifiedBy: import("@livetiles/reach/util/common").Account;
9913
+ modified: string;
9914
+ created: string;
9915
+ publishedVersionId?: string;
9916
+ isCurrentPublishedVersion?: boolean;
9917
+ isLatestVersion?: boolean;
9918
+ permalink?: string;
9919
+ groupIds: string[];
9920
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
9921
+ useExternalContent?: boolean;
9922
+ isDemoContent?: boolean;
9923
+ poll?: import("@livetiles/reach/util/common").Poll;
9924
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9925
+ } | {
9926
+ groupId: string;
9927
+ attachments: {
9928
+ type: AttachmentType;
9929
+ id: string;
9930
+ filename?: string;
9931
+ previewUrl?: string;
9932
+ url?: string;
9933
+ isUploadInProgress?: boolean;
9934
+ hasError?: boolean;
9935
+ width?: number;
9936
+ height?: number;
9937
+ }[];
9938
+ comments: {
9939
+ items: {
9940
+ conversationScope: ConversationScope;
9941
+ fileAccessToken: string;
9942
+ attachments: {
9943
+ type: AttachmentType;
9944
+ id: string;
9945
+ filename?: string;
9946
+ previewUrl?: string;
9947
+ url?: string;
9948
+ isUploadInProgress?: boolean;
9949
+ hasError?: boolean;
9950
+ width?: number;
9951
+ height?: number;
9952
+ }[];
9953
+ postCommentAttachments?: StreamAttachment[];
9954
+ streamConversationScope?: StreamConversationScope;
9955
+ id: string;
9956
+ parentItemId: string;
9957
+ content: string;
9958
+ contentLanguageCode?: string;
9959
+ receivedDateTime: string;
9960
+ sender: import("@livetiles/reach/util/common").Account;
9961
+ modified?: string;
9962
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
9963
+ isLiked?: boolean;
9964
+ threadId?: string;
9965
+ isUnread?: boolean;
9966
+ hasUnreadReplies?: boolean;
9967
+ isDemoContent?: boolean;
9968
+ attachmentContainerId?: string;
9969
+ }[];
9970
+ paginationToken?: any;
9971
+ nextItem?: StreamPostComment;
9972
+ hasMoreUnreadComments?: boolean;
9973
+ hasNextPage?: boolean;
9974
+ };
9975
+ keywords: {
9976
+ [key: string]: Keyword[];
9977
+ };
9978
+ type: StreamItemTypes.Event;
9979
+ contentsList: StreamPublishableItemContents[];
9980
+ channelsList: string[];
9981
+ isUnread: boolean;
9982
+ keywordsList?: Keyword[];
9983
+ userResponseType?: StreamEventResponse;
9984
+ startDate?: string;
9985
+ endDate?: string;
9986
+ timeZone?: string;
9987
+ contacts?: import("@livetiles/reach/util/common").Account[];
9988
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
9989
+ userResponse?: EventResponse;
9990
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
9991
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
9992
+ hasNewComments?: boolean;
9993
+ isLiked?: boolean;
9994
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
9995
+ recurrenceSeriesId?: string;
9996
+ isSeriesMaster?: string;
9997
+ isVirtual?: boolean;
9998
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
9999
+ channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
10000
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10001
+ id?: string;
10002
+ versionId?: string;
10003
+ publishingDate?: string;
10004
+ deleted?: string;
10005
+ author?: import("@livetiles/reach/util/common").Account;
10006
+ owner?: import("@livetiles/reach/util/common").Account;
10007
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10008
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10009
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10010
+ fileAccessToken?: string;
10011
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10012
+ customProperties?: {
10013
+ [key: string]: any;
10014
+ };
10015
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10016
+ modified: string;
10017
+ created: string;
10018
+ publishedVersionId?: string;
10019
+ isCurrentPublishedVersion?: boolean;
10020
+ isLatestVersion?: boolean;
10021
+ permalink?: string;
10022
+ groupIds: string[];
10023
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10024
+ useExternalContent?: boolean;
10025
+ isDemoContent?: boolean;
10026
+ poll?: import("@livetiles/reach/util/common").Poll;
10027
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10028
+ } | {
10029
+ groupId: string;
10030
+ attachments: {
10031
+ type: AttachmentType;
10032
+ id: string;
10033
+ filename?: string;
10034
+ previewUrl?: string;
10035
+ url?: string;
10036
+ isUploadInProgress?: boolean;
10037
+ hasError?: boolean;
10038
+ width?: number;
10039
+ height?: number;
10040
+ }[];
10041
+ comments: {
10042
+ items: {
10043
+ conversationScope: ConversationScope;
10044
+ fileAccessToken: string;
10045
+ attachments: {
10046
+ type: AttachmentType;
10047
+ id: string;
10048
+ filename?: string;
10049
+ previewUrl?: string;
10050
+ url?: string;
10051
+ isUploadInProgress?: boolean;
10052
+ hasError?: boolean;
10053
+ width?: number;
10054
+ height?: number;
10055
+ }[];
10056
+ postCommentAttachments?: StreamAttachment[];
10057
+ streamConversationScope?: StreamConversationScope;
10058
+ id: string;
10059
+ parentItemId: string;
10060
+ content: string;
10061
+ contentLanguageCode?: string;
10062
+ receivedDateTime: string;
10063
+ sender: import("@livetiles/reach/util/common").Account;
10064
+ modified?: string;
10065
+ statistics?: import("@livetiles/reach/util/common").CommentStatistics;
10066
+ isLiked?: boolean;
10067
+ threadId?: string;
10068
+ isUnread?: boolean;
10069
+ hasUnreadReplies?: boolean;
10070
+ isDemoContent?: boolean;
10071
+ attachmentContainerId?: string;
10072
+ }[];
10073
+ paginationToken?: any;
10074
+ nextItem?: StreamPostComment;
10075
+ hasMoreUnreadComments?: boolean;
10076
+ hasNextPage?: boolean;
10077
+ };
10078
+ keywords: {
10079
+ [key: string]: Keyword[];
10080
+ };
10081
+ type: StreamItemTypes.Page;
10082
+ contentsList: StreamPublishableItemContents[];
10083
+ channelsList: string[];
10084
+ isUnread: boolean;
10085
+ keywordsList?: Keyword[];
10086
+ streamPageType?: string;
10087
+ path?: (PageNavigationNode & {
10088
+ parentId?: string;
10089
+ })[];
10090
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10091
+ parentId?: string;
10092
+ pathIds?: string[];
10093
+ position?: number;
10094
+ navigationContext?: PageNavigationContext;
10095
+ hasHiddenAncestor?: boolean;
10096
+ isUnlinked?: boolean;
10097
+ pageType?: PageType;
10098
+ firstChildId?: string;
10099
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10100
+ id?: string;
10101
+ versionId?: string;
10102
+ publishingDate?: string;
10103
+ deleted?: string;
10104
+ author?: import("@livetiles/reach/util/common").Account;
10105
+ owner?: import("@livetiles/reach/util/common").Account;
10106
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10107
+ contents?: import("@livetiles/reach/util/common").PublishableItemContents;
10108
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10109
+ fileAccessToken?: string;
10110
+ bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
10111
+ customProperties?: {
10112
+ [key: string]: any;
10113
+ };
10114
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10115
+ modified: string;
10116
+ created: string;
10117
+ publishedVersionId?: string;
10118
+ isCurrentPublishedVersion?: boolean;
10119
+ isLatestVersion?: boolean;
10120
+ permalink?: string;
10121
+ groupIds: string[];
10122
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10123
+ useExternalContent?: boolean;
10124
+ isDemoContent?: boolean;
10125
+ poll?: import("@livetiles/reach/util/common").Poll;
10126
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10127
+ } | {
10128
+ knownState?: undefined;
10129
+ pageType?: undefined;
10130
+ navigationContext?: undefined;
10131
+ userResponse: EventResponse;
10132
+ channels: {
10133
+ name: string;
10134
+ }[];
10135
+ contents: {};
10136
+ bannerInfo: {
10137
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10138
+ type: "video" | "image";
10139
+ videoId?: string;
10140
+ videoUrl?: string;
10141
+ isDirectVideoUrl?: boolean;
10142
+ imageId?: string;
10143
+ };
10144
+ keywords: {
10145
+ [key: string]: Keyword[];
10146
+ };
10147
+ type: StreamItemTypes.Post;
10148
+ isUnread: boolean;
10149
+ keywordsList?: Keyword[];
10150
+ groupIds?: string[];
10151
+ postAttachments?: StreamAttachment[];
10152
+ postComments?: PaginatedList<StreamPostComment>;
10153
+ hasMoreUnreadComments: boolean;
10154
+ id: string;
10155
+ comments?: PaginatedList<Comment>;
10156
+ groupId: string;
10157
+ content: string;
10158
+ permalink?: string;
10159
+ author: import("@livetiles/reach/util/common").Account;
10160
+ publishingDate: string;
10161
+ modified?: string;
10162
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10163
+ contentLanguageCode?: string;
10164
+ isLiked?: boolean;
10165
+ isDemoContent?: boolean;
10166
+ poll?: import("@livetiles/reach/util/common").Poll;
10167
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10168
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10169
+ fileAccessToken?: string;
10170
+ attachmentContainerId?: string;
10171
+ } | {
10172
+ knownState: KnownNewsState;
10173
+ pageType?: undefined;
10174
+ navigationContext?: undefined;
10175
+ userResponse: EventResponse;
10176
+ channels: {
10177
+ name: string;
10178
+ }[];
10179
+ contents: {};
10180
+ bannerInfo: {
10181
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10182
+ type: "video" | "image";
10183
+ videoId?: string;
10184
+ videoUrl?: string;
10185
+ isDirectVideoUrl?: boolean;
10186
+ imageId?: string;
10187
+ };
10188
+ keywords: {
10189
+ [key: string]: Keyword[];
10190
+ };
10191
+ type: StreamItemTypes.Post;
10192
+ isUnread: boolean;
10193
+ keywordsList?: Keyword[];
10194
+ groupIds?: string[];
10195
+ postAttachments?: StreamAttachment[];
10196
+ postComments?: PaginatedList<StreamPostComment>;
10197
+ hasMoreUnreadComments: boolean;
10198
+ id: string;
10199
+ comments?: PaginatedList<Comment>;
10200
+ groupId: string;
10201
+ content: string;
10202
+ permalink?: string;
10203
+ author: import("@livetiles/reach/util/common").Account;
10204
+ publishingDate: string;
10205
+ modified?: string;
10206
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10207
+ contentLanguageCode?: string;
10208
+ isLiked?: boolean;
10209
+ isDemoContent?: boolean;
10210
+ poll?: import("@livetiles/reach/util/common").Poll;
10211
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10212
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10213
+ fileAccessToken?: string;
10214
+ attachmentContainerId?: string;
10215
+ } | {
10216
+ knownState?: undefined;
10217
+ pageType: PageType;
10218
+ navigationContext: PageNavigationContext;
10219
+ userResponse: EventResponse;
10220
+ channels: {
10221
+ name: string;
10222
+ }[];
10223
+ contents: {};
10224
+ bannerInfo: {
10225
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10226
+ type: "video" | "image";
10227
+ videoId?: string;
10228
+ videoUrl?: string;
10229
+ isDirectVideoUrl?: boolean;
10230
+ imageId?: string;
10231
+ };
10232
+ keywords: {
10233
+ [key: string]: Keyword[];
10234
+ };
10235
+ type: StreamItemTypes.Post;
10236
+ isUnread: boolean;
10237
+ keywordsList?: Keyword[];
10238
+ groupIds?: string[];
10239
+ postAttachments?: StreamAttachment[];
10240
+ postComments?: PaginatedList<StreamPostComment>;
10241
+ hasMoreUnreadComments: boolean;
10242
+ id: string;
10243
+ comments?: PaginatedList<Comment>;
10244
+ groupId: string;
10245
+ content: string;
10246
+ permalink?: string;
10247
+ author: import("@livetiles/reach/util/common").Account;
10248
+ publishingDate: string;
10249
+ modified?: string;
10250
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10251
+ contentLanguageCode?: string;
10252
+ isLiked?: boolean;
10253
+ isDemoContent?: boolean;
10254
+ poll?: import("@livetiles/reach/util/common").Poll;
10255
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10256
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10257
+ fileAccessToken?: string;
10258
+ attachmentContainerId?: string;
10259
+ } | {
10260
+ knownState: KnownNewsState;
10261
+ pageType: PageType;
10262
+ navigationContext: PageNavigationContext;
10263
+ userResponse: EventResponse;
10264
+ channels: {
10265
+ name: string;
10266
+ }[];
10267
+ contents: {};
10268
+ bannerInfo: {
10269
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10270
+ type: "video" | "image";
10271
+ videoId?: string;
10272
+ videoUrl?: string;
10273
+ isDirectVideoUrl?: boolean;
10274
+ imageId?: string;
10275
+ };
10276
+ keywords: {
10277
+ [key: string]: Keyword[];
10278
+ };
10279
+ type: StreamItemTypes.Post;
10280
+ isUnread: boolean;
10281
+ keywordsList?: Keyword[];
10282
+ groupIds?: string[];
10283
+ postAttachments?: StreamAttachment[];
10284
+ postComments?: PaginatedList<StreamPostComment>;
10285
+ hasMoreUnreadComments: boolean;
10286
+ id: string;
10287
+ comments?: PaginatedList<Comment>;
10288
+ groupId: string;
10289
+ content: string;
10290
+ permalink?: string;
10291
+ author: import("@livetiles/reach/util/common").Account;
10292
+ publishingDate: string;
10293
+ modified?: string;
10294
+ statistics: import("@livetiles/reach/util/common").ItemStatistics;
10295
+ contentLanguageCode?: string;
10296
+ isLiked?: boolean;
10297
+ isDemoContent?: boolean;
10298
+ poll?: import("@livetiles/reach/util/common").Poll;
10299
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10300
+ attachments?: import("@livetiles/reach/util/common").Attachment[];
10301
+ fileAccessToken?: string;
10302
+ attachmentContainerId?: string;
10303
+ } | {
10304
+ knownState: KnownNewsState;
10305
+ pageType?: undefined;
10306
+ navigationContext?: undefined;
10307
+ userResponse: EventResponse;
10308
+ channels: {
10309
+ name: string;
10310
+ }[];
10311
+ contents: {};
10312
+ bannerInfo: {
10313
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10314
+ type: "video" | "image";
10315
+ videoId?: string;
10316
+ videoUrl?: string;
10317
+ isDirectVideoUrl?: boolean;
10318
+ imageId?: string;
10319
+ };
10320
+ keywords: {
10321
+ [key: string]: Keyword[];
10322
+ };
10323
+ type: StreamItemTypes.News;
10324
+ contentsList: StreamPublishableItemContents[];
10325
+ channelsList: string[];
10326
+ isUnread: boolean;
10327
+ keywordsList?: Keyword[];
10328
+ knownNewsState?: StreamKnownNewsState[];
10329
+ source?: string;
10330
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10331
+ expiryDate?: string;
10332
+ hasNewComments?: boolean;
10333
+ isLiked?: boolean;
10334
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10335
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10336
+ id?: string;
10337
+ versionId?: string;
10338
+ publishingDate?: string;
10339
+ deleted?: string;
10340
+ author?: import("@livetiles/reach/util/common").Account;
10341
+ owner?: import("@livetiles/reach/util/common").Account;
10342
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10343
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10344
+ fileAccessToken?: string;
10345
+ customProperties?: {
10346
+ [key: string]: any;
10347
+ };
10348
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10349
+ modified: string;
10350
+ created: string;
10351
+ publishedVersionId?: string;
10352
+ isCurrentPublishedVersion?: boolean;
10353
+ isLatestVersion?: boolean;
10354
+ permalink?: string;
10355
+ groupIds: string[];
10356
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10357
+ useExternalContent?: boolean;
10358
+ isDemoContent?: boolean;
10359
+ poll?: import("@livetiles/reach/util/common").Poll;
10360
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10361
+ } | {
10362
+ knownState: KnownNewsState;
10363
+ pageType: PageType;
10364
+ navigationContext: PageNavigationContext;
10365
+ userResponse: EventResponse;
10366
+ channels: {
10367
+ name: string;
10368
+ }[];
10369
+ contents: {};
10370
+ bannerInfo: {
10371
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10372
+ type: "video" | "image";
10373
+ videoId?: string;
10374
+ videoUrl?: string;
10375
+ isDirectVideoUrl?: boolean;
10376
+ imageId?: string;
10377
+ };
10378
+ keywords: {
10379
+ [key: string]: Keyword[];
10380
+ };
10381
+ type: StreamItemTypes.News;
10382
+ contentsList: StreamPublishableItemContents[];
10383
+ channelsList: string[];
10384
+ isUnread: boolean;
10385
+ keywordsList?: Keyword[];
10386
+ knownNewsState?: StreamKnownNewsState[];
10387
+ source?: string;
10388
+ alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
10389
+ expiryDate?: string;
10390
+ hasNewComments?: boolean;
10391
+ isLiked?: boolean;
10392
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10393
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10394
+ id?: string;
10395
+ versionId?: string;
10396
+ publishingDate?: string;
10397
+ deleted?: string;
10398
+ author?: import("@livetiles/reach/util/common").Account;
10399
+ owner?: import("@livetiles/reach/util/common").Account;
10400
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10401
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10402
+ fileAccessToken?: string;
10403
+ customProperties?: {
10404
+ [key: string]: any;
10405
+ };
10406
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10407
+ modified: string;
10408
+ created: string;
10409
+ publishedVersionId?: string;
10410
+ isCurrentPublishedVersion?: boolean;
10411
+ isLatestVersion?: boolean;
10412
+ permalink?: string;
10413
+ groupIds: string[];
10414
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10415
+ useExternalContent?: boolean;
10416
+ isDemoContent?: boolean;
10417
+ poll?: import("@livetiles/reach/util/common").Poll;
10418
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10419
+ } | {
10420
+ knownState?: undefined;
10421
+ pageType?: undefined;
10422
+ navigationContext?: undefined;
10423
+ userResponse: EventResponse;
10424
+ channels: {
10425
+ name: string;
10426
+ }[];
10427
+ contents: {};
10428
+ bannerInfo: {
10429
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10430
+ type: "video" | "image";
10431
+ videoId?: string;
10432
+ videoUrl?: string;
10433
+ isDirectVideoUrl?: boolean;
10434
+ imageId?: string;
10435
+ };
10436
+ keywords: {
10437
+ [key: string]: Keyword[];
10438
+ };
10439
+ type: StreamItemTypes.Event;
10440
+ contentsList: StreamPublishableItemContents[];
10441
+ channelsList: string[];
10442
+ isUnread: boolean;
10443
+ keywordsList?: Keyword[];
10444
+ userResponseType?: StreamEventResponse;
10445
+ startDate?: string;
10446
+ endDate?: string;
10447
+ timeZone?: string;
10448
+ contacts?: import("@livetiles/reach/util/common").Account[];
10449
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10450
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10451
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10452
+ hasNewComments?: boolean;
10453
+ isLiked?: boolean;
10454
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10455
+ recurrenceSeriesId?: string;
10456
+ isSeriesMaster?: string;
10457
+ isVirtual?: boolean;
10458
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10459
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10460
+ id?: string;
10461
+ versionId?: string;
10462
+ publishingDate?: string;
10463
+ deleted?: string;
10464
+ author?: import("@livetiles/reach/util/common").Account;
10465
+ owner?: import("@livetiles/reach/util/common").Account;
10466
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10467
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10468
+ fileAccessToken?: string;
10469
+ customProperties?: {
10470
+ [key: string]: any;
10471
+ };
10472
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10473
+ modified: string;
10474
+ created: string;
10475
+ publishedVersionId?: string;
10476
+ isCurrentPublishedVersion?: boolean;
10477
+ isLatestVersion?: boolean;
10478
+ permalink?: string;
10479
+ groupIds: string[];
10480
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10481
+ useExternalContent?: boolean;
10482
+ isDemoContent?: boolean;
10483
+ poll?: import("@livetiles/reach/util/common").Poll;
10484
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10485
+ } | {
10486
+ knownState: KnownNewsState;
10487
+ pageType?: undefined;
10488
+ navigationContext?: undefined;
10489
+ userResponse: EventResponse;
10490
+ channels: {
10491
+ name: string;
10492
+ }[];
10493
+ contents: {};
10494
+ bannerInfo: {
10495
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10496
+ type: "video" | "image";
10497
+ videoId?: string;
10498
+ videoUrl?: string;
10499
+ isDirectVideoUrl?: boolean;
10500
+ imageId?: string;
10501
+ };
10502
+ keywords: {
10503
+ [key: string]: Keyword[];
10504
+ };
10505
+ type: StreamItemTypes.Event;
10506
+ contentsList: StreamPublishableItemContents[];
10507
+ channelsList: string[];
10508
+ isUnread: boolean;
10509
+ keywordsList?: Keyword[];
10510
+ userResponseType?: StreamEventResponse;
10511
+ startDate?: string;
10512
+ endDate?: string;
10513
+ timeZone?: string;
10514
+ contacts?: import("@livetiles/reach/util/common").Account[];
10515
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10516
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10517
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10518
+ hasNewComments?: boolean;
10519
+ isLiked?: boolean;
10520
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10521
+ recurrenceSeriesId?: string;
10522
+ isSeriesMaster?: string;
10523
+ isVirtual?: boolean;
10524
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10525
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10526
+ id?: string;
10527
+ versionId?: string;
10528
+ publishingDate?: string;
10529
+ deleted?: string;
10530
+ author?: import("@livetiles/reach/util/common").Account;
10531
+ owner?: import("@livetiles/reach/util/common").Account;
10532
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10533
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10534
+ fileAccessToken?: string;
10535
+ customProperties?: {
10536
+ [key: string]: any;
10537
+ };
10538
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10539
+ modified: string;
10540
+ created: string;
10541
+ publishedVersionId?: string;
10542
+ isCurrentPublishedVersion?: boolean;
10543
+ isLatestVersion?: boolean;
10544
+ permalink?: string;
10545
+ groupIds: string[];
10546
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10547
+ useExternalContent?: boolean;
10548
+ isDemoContent?: boolean;
10549
+ poll?: import("@livetiles/reach/util/common").Poll;
10550
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10551
+ } | {
10552
+ knownState?: undefined;
10553
+ pageType: PageType;
10554
+ navigationContext: PageNavigationContext;
10555
+ userResponse: EventResponse;
10556
+ channels: {
10557
+ name: string;
10558
+ }[];
10559
+ contents: {};
10560
+ bannerInfo: {
10561
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10562
+ type: "video" | "image";
10563
+ videoId?: string;
10564
+ videoUrl?: string;
10565
+ isDirectVideoUrl?: boolean;
10566
+ imageId?: string;
10567
+ };
10568
+ keywords: {
10569
+ [key: string]: Keyword[];
10570
+ };
10571
+ type: StreamItemTypes.Event;
10572
+ contentsList: StreamPublishableItemContents[];
10573
+ channelsList: string[];
10574
+ isUnread: boolean;
10575
+ keywordsList?: Keyword[];
10576
+ userResponseType?: StreamEventResponse;
10577
+ startDate?: string;
10578
+ endDate?: string;
10579
+ timeZone?: string;
10580
+ contacts?: import("@livetiles/reach/util/common").Account[];
10581
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10582
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10583
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10584
+ hasNewComments?: boolean;
10585
+ isLiked?: boolean;
10586
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10587
+ recurrenceSeriesId?: string;
10588
+ isSeriesMaster?: string;
10589
+ isVirtual?: boolean;
10590
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10591
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10592
+ id?: string;
10593
+ versionId?: string;
10594
+ publishingDate?: string;
10595
+ deleted?: string;
10596
+ author?: import("@livetiles/reach/util/common").Account;
10597
+ owner?: import("@livetiles/reach/util/common").Account;
10598
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10599
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10600
+ fileAccessToken?: string;
10601
+ customProperties?: {
10602
+ [key: string]: any;
10603
+ };
10604
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10605
+ modified: string;
10606
+ created: string;
10607
+ publishedVersionId?: string;
10608
+ isCurrentPublishedVersion?: boolean;
10609
+ isLatestVersion?: boolean;
10610
+ permalink?: string;
10611
+ groupIds: string[];
10612
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10613
+ useExternalContent?: boolean;
10614
+ isDemoContent?: boolean;
10615
+ poll?: import("@livetiles/reach/util/common").Poll;
10616
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10617
+ } | {
10618
+ knownState: KnownNewsState;
10619
+ pageType: PageType;
10620
+ navigationContext: PageNavigationContext;
10621
+ userResponse: EventResponse;
10622
+ channels: {
10623
+ name: string;
10624
+ }[];
10625
+ contents: {};
10626
+ bannerInfo: {
10627
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10628
+ type: "video" | "image";
10629
+ videoId?: string;
10630
+ videoUrl?: string;
10631
+ isDirectVideoUrl?: boolean;
10632
+ imageId?: string;
9544
10633
  };
9545
- }>;
9546
- }
9547
- declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
9548
- import { FC } from 'react';
9549
- export const PostFollowButton: FC<{
9550
- itemId: string;
9551
- }>;
9552
- }
9553
- declare module "libs/reach/feature/content/src/posts/PostGroup" {
9554
- import { FC } from 'react';
9555
- import { NavLink } from 'react-router-dom';
9556
- export const PostGroup: FC<{
9557
- groupId: string;
9558
- to: string;
9559
- className?: string;
9560
- }>;
9561
- export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
9562
- }
9563
- declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9564
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9565
- import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
9566
- interface Props {
9567
- post: Post;
9568
- className?: string;
9569
- threadId?: string;
9570
- onCustomPostDelete?: () => void;
9571
- comments?: PaginatedList<Comment>;
9572
- initialCommentsPageSize?: number;
9573
- onEditActiveChange?: (isEditMode: boolean) => void;
9574
- onShowCommentsChange?: (showComments: boolean) => void;
9575
- onThreadCommentDelete?: () => void;
9576
- onThreadReply?: (threadId: string) => void;
9577
- keywordSettings?: {
9578
- availableKeywords?: Keyword[];
9579
- defaultKeywords?: Keyword[];
9580
- mandatoryKeywords?: Keyword[];
10634
+ keywords: {
10635
+ [key: string]: Keyword[];
9581
10636
  };
9582
- showGroup?: boolean;
9583
- onBeforeDelete?: (id: string) => unknown;
9584
- onAfterDelete?: (id: string) => unknown;
9585
- }
9586
- export const PostDisplay: React.FC<Props>;
9587
- }
9588
- declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9589
- import { FC } from 'react';
9590
- import { UserGroup } from "libs/reach/util/common/src/index";
9591
- export const PostGroupsSelector: FC<{
9592
- groups: UserGroup[];
9593
- }>;
9594
- }
9595
- declare module "libs/reach/feature/content/src/posts/PostListItem" {
9596
- import { FC } from 'react';
9597
- import { Post } from "libs/reach/feature/content/src/posts/utils";
9598
- import { Keyword } from "libs/reach/util/common/src/index";
9599
- interface Props {
9600
- post: Post;
9601
- onEditActiveChange?: (isEditMode: boolean) => void;
9602
- onShowCommentsChange?: (showComments: boolean) => void;
9603
- keywordSettings?: {
9604
- availableKeywords?: Keyword[];
9605
- defaultKeywords?: Keyword[];
9606
- mandatoryKeywords?: Keyword[];
10637
+ type: StreamItemTypes.Event;
10638
+ contentsList: StreamPublishableItemContents[];
10639
+ channelsList: string[];
10640
+ isUnread: boolean;
10641
+ keywordsList?: Keyword[];
10642
+ userResponseType?: StreamEventResponse;
10643
+ startDate?: string;
10644
+ endDate?: string;
10645
+ timeZone?: string;
10646
+ contacts?: import("@livetiles/reach/util/common").Account[];
10647
+ registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10648
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10649
+ locations?: import("@livetiles/reach/util/common").EventLocation[];
10650
+ hasNewComments?: boolean;
10651
+ isLiked?: boolean;
10652
+ recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
10653
+ recurrenceSeriesId?: string;
10654
+ isSeriesMaster?: string;
10655
+ isVirtual?: boolean;
10656
+ metadata?: import("@livetiles/reach/util/common").NewsMetadata;
10657
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10658
+ id?: string;
10659
+ versionId?: string;
10660
+ publishingDate?: string;
10661
+ deleted?: string;
10662
+ author?: import("@livetiles/reach/util/common").Account;
10663
+ owner?: import("@livetiles/reach/util/common").Account;
10664
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10665
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10666
+ fileAccessToken?: string;
10667
+ customProperties?: {
10668
+ [key: string]: any;
9607
10669
  };
9608
- showGroup: boolean;
9609
- onBeforeDelete?: (id: string) => unknown;
9610
- onAfterDelete?: (id: string) => unknown;
9611
- }
9612
- export const PostListItem: FC<Props>;
9613
- }
9614
- declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
9615
- import { FC } from 'react';
9616
- import { Post } from "libs/reach/feature/content/src/index";
9617
- import { Keyword } from "libs/reach/util/common/src/index";
9618
- export const PostWithSelfThreadHandling: FC<{
9619
- post: Post;
9620
- onEditActiveChange?: (isEditMode: boolean) => void;
9621
- onShowCommentsChange?: (showComments: boolean) => void;
9622
- keywordSettings?: {
9623
- availableKeywords?: Keyword[];
9624
- defaultKeywords?: Keyword[];
9625
- mandatoryKeywords?: Keyword[];
10670
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10671
+ modified: string;
10672
+ created: string;
10673
+ publishedVersionId?: string;
10674
+ isCurrentPublishedVersion?: boolean;
10675
+ isLatestVersion?: boolean;
10676
+ permalink?: string;
10677
+ groupIds: string[];
10678
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10679
+ useExternalContent?: boolean;
10680
+ isDemoContent?: boolean;
10681
+ poll?: import("@livetiles/reach/util/common").Poll;
10682
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10683
+ } | {
10684
+ knownState?: undefined;
10685
+ pageType?: PageType;
10686
+ navigationContext?: PageNavigationContext;
10687
+ userResponse: EventResponse;
10688
+ channels: {
10689
+ name: string;
10690
+ }[];
10691
+ contents: {};
10692
+ bannerInfo: {
10693
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10694
+ type: "video" | "image";
10695
+ videoId?: string;
10696
+ videoUrl?: string;
10697
+ isDirectVideoUrl?: boolean;
10698
+ imageId?: string;
9626
10699
  };
9627
- showGroup: boolean;
9628
- onBeforeDelete?: (id: string) => unknown;
9629
- onAfterDelete?: (id: string) => unknown;
9630
- }>;
9631
- }
9632
- declare module "libs/reach/feature/content/src/stream/stream-utils" {
9633
- export const MARK_ITEMS_AS_READ_MUTATION: import("@apollo/client").DocumentNode;
10700
+ keywords: {
10701
+ [key: string]: Keyword[];
10702
+ };
10703
+ type: StreamItemTypes.Page;
10704
+ contentsList: StreamPublishableItemContents[];
10705
+ channelsList: string[];
10706
+ isUnread: boolean;
10707
+ keywordsList?: Keyword[];
10708
+ streamPageType?: string;
10709
+ path?: (PageNavigationNode & {
10710
+ parentId?: string;
10711
+ })[];
10712
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10713
+ parentId?: string;
10714
+ pathIds?: string[];
10715
+ position?: number;
10716
+ hasHiddenAncestor?: boolean;
10717
+ isUnlinked?: boolean;
10718
+ firstChildId?: string;
10719
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10720
+ id?: string;
10721
+ versionId?: string;
10722
+ publishingDate?: string;
10723
+ deleted?: string;
10724
+ author?: import("@livetiles/reach/util/common").Account;
10725
+ owner?: import("@livetiles/reach/util/common").Account;
10726
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10727
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10728
+ fileAccessToken?: string;
10729
+ customProperties?: {
10730
+ [key: string]: any;
10731
+ };
10732
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10733
+ modified: string;
10734
+ created: string;
10735
+ publishedVersionId?: string;
10736
+ isCurrentPublishedVersion?: boolean;
10737
+ isLatestVersion?: boolean;
10738
+ permalink?: string;
10739
+ groupIds: string[];
10740
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10741
+ useExternalContent?: boolean;
10742
+ isDemoContent?: boolean;
10743
+ poll?: import("@livetiles/reach/util/common").Poll;
10744
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10745
+ } | {
10746
+ knownState: KnownNewsState;
10747
+ pageType?: PageType;
10748
+ navigationContext?: PageNavigationContext;
10749
+ userResponse: EventResponse;
10750
+ channels: {
10751
+ name: string;
10752
+ }[];
10753
+ contents: {};
10754
+ bannerInfo: {
10755
+ videoSource: import("@livetiles/reach/util/common").VideoSource;
10756
+ type: "video" | "image";
10757
+ videoId?: string;
10758
+ videoUrl?: string;
10759
+ isDirectVideoUrl?: boolean;
10760
+ imageId?: string;
10761
+ };
10762
+ keywords: {
10763
+ [key: string]: Keyword[];
10764
+ };
10765
+ type: StreamItemTypes.Page;
10766
+ contentsList: StreamPublishableItemContents[];
10767
+ channelsList: string[];
10768
+ isUnread: boolean;
10769
+ keywordsList?: Keyword[];
10770
+ streamPageType?: string;
10771
+ path?: (PageNavigationNode & {
10772
+ parentId?: string;
10773
+ })[];
10774
+ feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
10775
+ parentId?: string;
10776
+ pathIds?: string[];
10777
+ position?: number;
10778
+ hasHiddenAncestor?: boolean;
10779
+ isUnlinked?: boolean;
10780
+ firstChildId?: string;
10781
+ lease: import("@livetiles/reach/util/common").LeaseInfo;
10782
+ id?: string;
10783
+ versionId?: string;
10784
+ publishingDate?: string;
10785
+ deleted?: string;
10786
+ author?: import("@livetiles/reach/util/common").Account;
10787
+ owner?: import("@livetiles/reach/util/common").Account;
10788
+ onBehalfOf?: import("@livetiles/reach/util/common").Account;
10789
+ status?: import("@livetiles/reach/util/common").WorkflowStatus;
10790
+ fileAccessToken?: string;
10791
+ customProperties?: {
10792
+ [key: string]: any;
10793
+ };
10794
+ modifiedBy: import("@livetiles/reach/util/common").Account;
10795
+ modified: string;
10796
+ created: string;
10797
+ publishedVersionId?: string;
10798
+ isCurrentPublishedVersion?: boolean;
10799
+ isLatestVersion?: boolean;
10800
+ permalink?: string;
10801
+ groupIds: string[];
10802
+ statistics?: import("@livetiles/reach/util/common").ItemStatistics;
10803
+ useExternalContent?: boolean;
10804
+ isDemoContent?: boolean;
10805
+ poll?: import("@livetiles/reach/util/common").Poll;
10806
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10807
+ })[];
9634
10808
  }
9635
- declare module "libs/reach/feature/content/src/posts/useMarkPostsAsRead" {
10809
+ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
10810
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10811
+ import { DocumentNode } from '@apollo/client';
10812
+ import { Channel } from "libs/reach/util/common/src/index";
10813
+ import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
10814
+ export enum StreamEventResponse {
10815
+ NotSet = "NOTSET",
10816
+ Registered = "REGISTERED",
10817
+ Declined = "DECLINED"
10818
+ }
10819
+ export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
10820
+ }
10821
+ export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
10822
+ items: StreamItem[];
10823
+ setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
10824
+ loadMore: () => Promise<void>;
10825
+ pageInfo: {
10826
+ errors?: any;
10827
+ hasNextPage: boolean;
10828
+ skip: number;
10829
+ };
10830
+ refresh: () => Promise<void>;
10831
+ };
10832
+ export const getStreamQuery: () => DocumentNode;
10833
+ export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
10834
+ export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
10835
+ export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
10836
+ export const OWNER_CONDITION: (owner: string) => string;
10837
+ export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
10838
+ export const AUTHORS_CONDITION: (authors: string[]) => string;
10839
+ export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
10840
+ export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
10841
+ export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
10842
+ }
10843
+ declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
9636
10844
  import { Post } from "libs/reach/feature/content/src/posts/utils";
9637
10845
  import { DependencyList } from 'react';
9638
- export function useMarkPostsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
10846
+ export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
9639
10847
  }
9640
10848
  declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
9641
10849
  import { UserGroup } from "libs/reach/util/common/src/index";
@@ -9653,7 +10861,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
9653
10861
  export * from "libs/reach/feature/content/src/posts/PostListItem";
9654
10862
  export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
9655
10863
  export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
9656
- export * from "libs/reach/feature/content/src/posts/useMarkPostsAsRead";
10864
+ export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
9657
10865
  export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
9658
10866
  export * from "libs/reach/feature/content/src/posts/usePostsApi";
9659
10867
  export * from "libs/reach/feature/content/src/posts/utils";
@@ -9673,7 +10881,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
9673
10881
  onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
9674
10882
  onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
9675
10883
  className?: string;
9676
- useLargeAvatar?: boolean;
9677
10884
  useExternalLink?: boolean;
9678
10885
  }
9679
10886
  export const EditorListItem: FC<Props>;
@@ -9718,12 +10925,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
9718
10925
  }
9719
10926
  }
9720
10927
  declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9721
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
10928
+ import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
9722
10929
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
9723
- import { PaginatedList } from "libs/reach/util/common/src/index";
9724
- import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
9725
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
9726
- import { ResponseItem } from "libs/reach/util/common/src/index";
9727
10930
  import { Observable } from 'rxjs';
9728
10931
  import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
9729
10932
  export function useEditorApi(): {
@@ -9743,6 +10946,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9743
10946
  keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
9744
10947
  saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
9745
10948
  updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
10949
+ translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
9746
10950
  };
9747
10951
  }
9748
10952
  declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
@@ -9766,6 +10970,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
9766
10970
  declare module "libs/reach/feature/content/src/public-user/index" {
9767
10971
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
9768
10972
  }
10973
+ declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
10974
+ import { FC } from 'react';
10975
+ import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10976
+ export const StreamPostItemCard: FC<{
10977
+ post: PostStreamItem;
10978
+ onPostDelete: (id: string) => unknown;
10979
+ }>;
10980
+ }
10981
+ declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
10982
+ import { FC } from 'react';
10983
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10984
+ export const StreamNewsItemCard: FC<{
10985
+ news: NewsStreamItem;
10986
+ }>;
10987
+ }
10988
+ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
10989
+ import { FC } from 'react';
10990
+ import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
10991
+ export const StreamEventItemCard: FC<{
10992
+ event: EventStreamItem;
10993
+ }>;
10994
+ }
10995
+ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
10996
+ import { FC } from 'react';
10997
+ export const GlobalSearchButton: FC;
10998
+ }
10999
+ declare module "libs/reach/feature/content/src/stream/StreamList" {
11000
+ import { FC } from 'react';
11001
+ import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11002
+ export type StreamQueryResult = {
11003
+ items: StreamItem[];
11004
+ };
11005
+ export const StreamList: FC;
11006
+ }
11007
+ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
11008
+ import { PaginatedList } from "libs/reach/util/common/src/index";
11009
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
11010
+ import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11011
+ export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
11012
+ export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11013
+ }
11014
+ declare module "libs/reach/feature/content/src/stream/index" {
11015
+ export * from "libs/reach/feature/content/src/stream/StreamList";
11016
+ export * from "libs/reach/feature/content/src/stream/streamUtils";
11017
+ export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
11018
+ export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
11019
+ export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
11020
+ export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
11021
+ export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
11022
+ }
11023
+ declare module "libs/reach/feature/content/src/search/index" {
11024
+ export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
11025
+ }
9769
11026
  declare module "libs/reach/feature/content/src/index" {
9770
11027
  export * from "libs/reach/feature/content/src/comments/index";
9771
11028
  export * from "libs/reach/feature/content/src/common/index";
@@ -9778,6 +11035,8 @@ declare module "libs/reach/feature/content/src/index" {
9778
11035
  export * from "libs/reach/feature/content/src/posts/index";
9779
11036
  export * from "libs/reach/feature/content/src/editor/index";
9780
11037
  export * from "libs/reach/feature/content/src/public-user/index";
11038
+ export * from "libs/reach/feature/content/src/stream/index";
11039
+ export * from "libs/reach/feature/content/src/search/index";
9781
11040
  }
9782
11041
  declare module "apps/reach-app/src/app/PublicAccessContext" {
9783
11042
  import { FC } from 'react';
@@ -9848,20 +11107,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
9848
11107
  }
9849
11108
  declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
9850
11109
  import './ContainerWithLogo.scss';
11110
+ import { LogoInfo } from "libs/reach/util/common/src/index";
11111
+ import { FC, ReactNode } from 'react';
9851
11112
  export enum DefaultLogoColor {
9852
11113
  Default = 0,
9853
11114
  White = 1
9854
11115
  }
9855
- type RenderChildren = React.ReactNode | (() => React.ReactNode);
9856
- export const ContainerWithLogo: React.FC<{
9857
- logo?: string;
9858
- logoColor?: DefaultLogoColor;
11116
+ type RenderChildren = ReactNode | (() => ReactNode);
11117
+ export const ContainerWithLogo: FC<{
11118
+ logoInfo?: LogoInfo;
9859
11119
  text?: string;
9860
11120
  headerClassName?: string;
9861
11121
  additionalClasses?: string;
9862
11122
  children: RenderChildren;
9863
11123
  className?: string;
9864
11124
  additionalContent?: RenderChildren;
11125
+ isBrandedContainer?: boolean;
9865
11126
  }>;
9866
11127
  }
9867
11128
  declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
@@ -9893,7 +11154,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
9893
11154
  MobileHidden = 1
9894
11155
  }
9895
11156
  export function shutdownZendesk(): void;
9896
- export function useZendesk(initialState?: ZendeskInitialState): {
11157
+ export function useZendeskWithSubscription(): {
11158
+ showZendeskChat: () => void;
11159
+ toggleIcon: (show: boolean) => void;
11160
+ };
11161
+ export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
9897
11162
  showZendeskChat: () => void;
9898
11163
  toggleIcon: (show: boolean) => void;
9899
11164
  };
@@ -9938,7 +11203,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
9938
11203
  import { FC } from 'react';
9939
11204
  export const AdminActionItem: FC<{
9940
11205
  submenuContents: JSX.Element;
9941
- onClick: () => unknown;
11206
+ onClick?: () => unknown;
9942
11207
  title?: string;
9943
11208
  }>;
9944
11209
  const AdminRoutes: FC;
@@ -9952,7 +11217,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
9952
11217
  import { FC } from 'react';
9953
11218
  export const ChatMenuNode: FC<{
9954
11219
  title: string;
9955
- onClick: () => void;
11220
+ onClick?: () => void;
9956
11221
  }>;
9957
11222
  }
9958
11223
  declare module "apps/reach-app/src/app/chrome/Sidebar" {
@@ -9979,20 +11244,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
9979
11244
  className?: string;
9980
11245
  }>;
9981
11246
  }
9982
- declare module "apps/reach-app/src/app/about/ApplicationVersion" {
9983
- export default interface ApplicationVersion {
9984
- description: string;
9985
- version: string;
9986
- commitId: string;
9987
- }
9988
- }
9989
- declare module "apps/reach-app/src/app/chrome/VersionInfo" {
9990
- import { FC } from 'react';
9991
- export const VersionInfo: FC<{
9992
- className?: string;
9993
- renderCommitId?: boolean;
9994
- }>;
9995
- }
9996
11247
  declare module "apps/reach-app/src/AppLoaderContextProvider" {
9997
11248
  import { FC, ReactNode } from 'react';
9998
11249
  export const AppLoaderContext: import("react").Context<{