@livetiles/reach-plugin-types 0.4.0-preview.450 → 0.4.0-preview.451

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 +119 -502
  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;
@@ -522,12 +522,6 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
522
522
  getLocaleFromLocalStorage: () => Promise<string>;
523
523
  };
524
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
- }
531
525
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
532
526
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
533
527
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -583,7 +577,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
583
577
  export default en;
584
578
  }
585
579
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
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")>;
580
+ 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")>;
587
581
  }
588
582
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
589
583
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1103,7 +1097,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1103
1097
  import { Account } from "libs/reach/util/common/src/user/Account";
1104
1098
  import { Audience } from "libs/reach/util/common/src/user/Audience";
1105
1099
  import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
1106
- import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
1100
+ import { SubscriptionInfo as BaseSubscriptionInfo, IdentityProviderSettings, IdentityProviderNames } from "libs/shared/util/authentication/src/index";
1107
1101
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1108
1102
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1109
1103
  domains?: string[];
@@ -1136,12 +1130,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1136
1130
  useInAppBrowser?: boolean;
1137
1131
  tenantId?: string;
1138
1132
  signInSettings?: SignInSettings;
1133
+ logoUrl?: string;
1139
1134
  faviconUrl?: string;
1140
1135
  theme?: Theme;
1141
1136
  allowPublicAccess?: boolean;
1142
1137
  redirectToContent?: boolean;
1143
1138
  allowZendesk?: boolean;
1144
- logoInfo: LogoInfo;
1145
1139
  }
1146
1140
  export interface SignInSettings {
1147
1141
  customIdentityProviders: IdentityProviderSettings[];
@@ -1155,6 +1149,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1155
1149
  contact: Account;
1156
1150
  theme: Theme;
1157
1151
  defaultLanguage: string;
1152
+ logoUrl: string;
1158
1153
  faviconUrl?: string;
1159
1154
  navigation: NavigationNode[];
1160
1155
  regionSettings?: RegionSettings;
@@ -1163,16 +1158,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1163
1158
  hasUnreadItems: boolean;
1164
1159
  pageTrackingInfo: PageTrackingInfo;
1165
1160
  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;
1176
1161
  }
1177
1162
  export interface TermsAndConditions {
1178
1163
  value?: string;
@@ -1409,7 +1394,6 @@ declare module "libs/reach/util/common/src/user/User" {
1409
1394
  itemId: string;
1410
1395
  }[];
1411
1396
  unreadFeedItemsCount?: number;
1412
- mostRecentPostGroups: string[];
1413
1397
  notificationTypeSettings: NotificationTypeSettings;
1414
1398
  hasPendingRegistration?: boolean;
1415
1399
  minRoles: UserMinRoles;
@@ -1735,19 +1719,6 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1735
1719
  id?: string;
1736
1720
  statistics?: ItemStatistics;
1737
1721
  poll?: Poll;
1738
- searchHighlights?: SearchHighlightSummary;
1739
- }
1740
- export interface SearchHighlightSummary {
1741
- title: SearchHighlight[];
1742
- content: SearchHighlight[];
1743
- }
1744
- export interface SearchHighlight {
1745
- language: string;
1746
- texts: {
1747
- value: string;
1748
- type: 'text' | 'hit';
1749
- }[];
1750
- score: number;
1751
1722
  }
1752
1723
  export interface Poll {
1753
1724
  questions: PollQuestion[];
@@ -1815,6 +1786,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1815
1786
  headline?: string;
1816
1787
  intro?: string;
1817
1788
  body?: string;
1789
+ bodyRaw?: string;
1818
1790
  customProperties?: {
1819
1791
  [key: string]: any;
1820
1792
  };
@@ -2170,83 +2142,14 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2170
2142
  }
2171
2143
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2172
2144
  import { CurrentUser } from "libs/reach/util/common/src/user/User";
2173
- import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2174
2145
  export function useCurrentUserCache(): {
2175
2146
  clear: () => Promise<void>;
2176
2147
  setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
2177
2148
  setUser: (user: CurrentUser) => Promise<CurrentUser>;
2178
- get: () => Promise<{
2179
- subscription: {
2180
- logoInfo: {
2181
- smallUrl: any;
2182
- largeUrl: string;
2183
- isLegacyLogo: boolean;
2184
- };
2185
- languages: import("@livetiles/reach/util/common").LanguageBase[];
2186
- featureMask: string;
2187
- company: string;
2188
- directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
2189
- webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
2190
- userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
2191
- userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
2192
- customDomain?: string;
2193
- allowSelfRegistration?: boolean;
2194
- id: string;
2195
- subscriptionName: string;
2196
- subscriptionHandle?: string;
2197
- contact: import("@livetiles/reach/util/common").Account;
2198
- theme: import("libs/reach/util/common/src/user/Subscription").Theme;
2199
- defaultLanguage: string;
2200
- faviconUrl?: string;
2201
- navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
2202
- regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
2203
- signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
2204
- useInAppBrowser?: boolean;
2205
- hasUnreadItems: boolean;
2206
- pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
2207
- termsAndConditionsHash?: string;
2208
- };
2209
- isEmailVerificationPending?: boolean;
2210
- isSubscriptionOwner: boolean;
2211
- givenName: string;
2212
- surname: string;
2213
- preferredUiLanguage: string;
2214
- preferredContentLanguage?: string;
2215
- preferredLocale?: string;
2216
- bookmarks: string[];
2217
- groups: import("libs/reach/util/common/src/user/User").UserGroup[];
2218
- availableSubscriptions: SubscriptionSummary[];
2219
- channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
2220
- userHash: string;
2221
- unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2222
- unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2223
- unreadPosts: {
2224
- groupId: string;
2225
- itemId: string;
2226
- }[];
2227
- unreadFeedItemsCount?: number;
2228
- mostRecentPostGroups: string[];
2229
- notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
2230
- hasPendingRegistration?: boolean;
2231
- minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
2232
- hasDirectory: boolean;
2233
- contacts: import("libs/reach/util/common/src/user/User").UserContact[];
2234
- termsAndConditionsApprovedHash: string;
2235
- isPublicUser?: boolean;
2236
- hasUnreadChats?: boolean;
2237
- id?: string;
2238
- type?: import("@livetiles/reach/util/common").AccountType;
2239
- tenantId?: string;
2240
- displayName?: string;
2241
- userPrincipalName?: string;
2242
- mail?: string;
2243
- tokenUniqueId?: string;
2244
- authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
2245
- created?: string;
2246
- }>;
2149
+ get: () => Promise<CurrentUser>;
2247
2150
  };
2248
2151
  export function getUserDetailFields(user: Partial<CurrentUser>): {
2249
- availableSubscriptions: SubscriptionSummary[];
2152
+ availableSubscriptions: import("@livetiles/reach/util/common").SubscriptionSummary[];
2250
2153
  bookmarks: string[];
2251
2154
  unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2252
2155
  unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
@@ -2256,7 +2159,6 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2256
2159
  }[];
2257
2160
  hasUnreadChats: boolean;
2258
2161
  unreadFeedItemsCount: number;
2259
- mostRecentPostGroups: string[];
2260
2162
  };
2261
2163
  }
2262
2164
  declare module "libs/reach/util/common/src/user/CurrentUserDetailContextProvider" {
@@ -2586,7 +2488,6 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2586
2488
  declare module "libs/reach/util/common/src/theme/ThemeService" {
2587
2489
  import { IPartialTheme } from 'office-ui-fabric-react';
2588
2490
  import { Theme } from "libs/reach/util/common/src/user/Subscription";
2589
- import * as wcag from 'wcag-contrast';
2590
2491
  export const defaultThemeColors: Theme;
2591
2492
  export const defaultPageBackgroundColor: string;
2592
2493
  export const defaultLightColor = "#ffffff";
@@ -2683,12 +2584,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2683
2584
  }
2684
2585
  export function getDarkAltColor(color: string): string;
2685
2586
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
2686
- export function shouldUseDarkForegroundColor(bgColor: string): boolean;
2687
- export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
2688
- contrast: string;
2689
- score: wcag.Score;
2690
- isGood: boolean;
2691
- };
2692
2587
  }
2693
2588
  declare module "libs/reach/util/common/src/theme/ThemeContext" {
2694
2589
  import { FC, ReactNode } from 'react';
@@ -3236,15 +3131,15 @@ declare module "libs/reach/ui/common/src/Link" {
3236
3131
  }
3237
3132
  declare module "libs/reach/ui/common/src/common/TextLink" {
3238
3133
  import { CSSProperties, FC } from 'react';
3239
- export interface TextLinkProps {
3134
+ interface Props {
3240
3135
  url: string;
3241
3136
  target?: string;
3242
3137
  ariaLabel?: string;
3243
3138
  className?: string;
3244
3139
  style?: CSSProperties;
3245
3140
  }
3246
- export const TextLink: FC<TextLinkProps>;
3247
- export const ExternalLinkHandler: FC<TextLinkProps & {
3141
+ export const TextLink: FC<Props>;
3142
+ export const ExternalLinkHandler: FC<Props & {
3248
3143
  onClick?: (e: MouseEvent) => unknown;
3249
3144
  }>;
3250
3145
  }
@@ -3441,7 +3336,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3441
3336
  export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3442
3337
  }
3443
3338
  declare module "libs/reach/ui/common/src/common/Utils" {
3444
- import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3339
+ import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3445
3340
  import { IntlShape } from 'react-intl';
3446
3341
  import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3447
3342
  export function isValidUrl(url: string): boolean;
@@ -3453,9 +3348,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
3453
3348
  export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3454
3349
  export function getSubscriptionName(subscription: SubscriptionSummary): string;
3455
3350
  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}";
3456
- export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3457
- logoInfo: LogoInfo;
3458
- subscriptionName: string;
3351
+ export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3352
+ logo: any;
3353
+ subscriptionName: any;
3459
3354
  };
3460
3355
  export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3461
3356
  export function delay(delayInMs: number): Promise<unknown>;
@@ -3660,11 +3555,6 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3660
3555
  className?: string;
3661
3556
  }>;
3662
3557
  }
3663
- declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3664
- import { FC } from 'react';
3665
- import { IDialogProps } from 'office-ui-fabric-react';
3666
- export const MobileFullHeightDialog: FC<IDialogProps>;
3667
- }
3668
3558
  declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3669
3559
  import { FC } from 'react';
3670
3560
  export enum FabNavigationPosition {
@@ -3695,11 +3585,9 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3695
3585
  export const FabButtonWithCallout: FC<{
3696
3586
  iconName: string;
3697
3587
  tooltipResourceKey: string;
3698
- titleResourceKey?: string;
3699
3588
  showCloseButton?: boolean;
3700
3589
  useSecondaryBgColor?: boolean;
3701
3590
  domIdentifier?: string;
3702
- useMobileFullHeight?: boolean;
3703
3591
  }>;
3704
3592
  export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
3705
3593
  }
@@ -3777,6 +3665,11 @@ declare module "libs/reach/ui/common/src/common/Logos" {
3777
3665
  export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
3778
3666
  export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
3779
3667
  }
3668
+ declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3669
+ import { FC } from 'react';
3670
+ import { IDialogProps } from 'office-ui-fabric-react';
3671
+ export const MobileFullHeightDialog: FC<IDialogProps>;
3672
+ }
3780
3673
  declare module "libs/reach/ui/common/src/common/Modified" {
3781
3674
  import { FC } from 'react';
3782
3675
  export const Modified: FC<{
@@ -4344,10 +4237,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
4344
4237
  declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
4345
4238
  import { DependencyList } from 'react';
4346
4239
  import { PaginatedList } from "libs/reach/util/common/src/index";
4347
- export interface ItemLoader<TItem, TTokenType> {
4348
- (pageSize: number, token?: TTokenType): Promise<PaginatedList<TItem>>;
4349
- }
4350
- export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: ItemLoader<TItem, TTokenType>, deps?: DependencyList): {
4240
+ export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
4351
4241
  items: any[];
4352
4242
  isInitialLoading: boolean;
4353
4243
  isLoadingNextPage: boolean;
@@ -4938,7 +4828,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4938
4828
  }
4939
4829
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4940
4830
  import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
4941
- import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4831
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
4942
4832
  import { Account } from "libs/reach/util/common/src/index";
4943
4833
  import { Language } from "libs/reach/util/common/src/index";
4944
4834
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4953,7 +4843,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4953
4843
  setSubscriptionName: (name: string) => Promise<string>;
4954
4844
  setSubscriptionHandle: (handle: string) => Promise<string>;
4955
4845
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4956
- updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4846
+ updateLogo: (file?: File) => Promise<void>;
4957
4847
  updateFavicon: (file?: File) => Promise<void>;
4958
4848
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4959
4849
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4993,34 +4883,6 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
4993
4883
  className?: string;
4994
4884
  }>;
4995
4885
  }
4996
- declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
4997
- import { FC } from 'react';
4998
- export const ContrastInfo: FC<{
4999
- foregroundColor: string;
5000
- backgroundColor: string;
5001
- className?: string;
5002
- }>;
5003
- }
5004
- declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
5005
- import { FC } from 'react';
5006
- export const ColorButton: FC<{
5007
- onClick: () => void;
5008
- text: string;
5009
- backgroundColor: string;
5010
- color: string;
5011
- }>;
5012
- }
5013
- declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
5014
- import { FC } from 'react';
5015
- export const ColorOnWhitePreview: FC;
5016
- }
5017
- declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
5018
- import { FC } from 'react';
5019
- export const ThemeContrastPreview: FC<{
5020
- backgroundColor: string;
5021
- foregroundColor: string;
5022
- }>;
5023
- }
5024
4886
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
5025
4887
  import { FC } from 'react';
5026
4888
  export const Themes: FC;
@@ -5030,42 +4892,6 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
5030
4892
  import './ApplicationName.scss';
5031
4893
  export const ApplicationName: FC;
5032
4894
  }
5033
- declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
5034
- import { FC } from 'react';
5035
- export const AppBarLogoPreview: FC<{
5036
- src: string;
5037
- subscriptionName: string;
5038
- }>;
5039
- export const SidePanelLogoPreview: FC<{
5040
- src: string;
5041
- subscriptionName: string;
5042
- }>;
5043
- export const EmailLogoPreview: FC<{
5044
- src: string;
5045
- subscriptionName: string;
5046
- }>;
5047
- export const SignInLogoPreview: FC<{
5048
- src: string;
5049
- }>;
5050
- }
5051
- declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
5052
- import { FC } from 'react';
5053
- import { LogoSize } from "libs/reach/util/common/src/index";
5054
- export const LogoPreviewDialog: FC<{
5055
- canSave: boolean;
5056
- onDismiss: () => unknown;
5057
- onSave: (logoSize: LogoSize) => unknown;
5058
- source: string;
5059
- logoType: LogoSize;
5060
- }>;
5061
- }
5062
- declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
5063
- import { FC } from 'react';
5064
- import { LogoSize } from "libs/reach/util/common/src/index";
5065
- export const LogoEditor: FC<{
5066
- logoType: LogoSize;
5067
- }>;
5068
- }
5069
4895
  declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
5070
4896
  import { FC } from 'react';
5071
4897
  export const ApplicationLogo: FC;
@@ -6531,6 +6357,7 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
6531
6357
  declare module "libs/reach/feature/content/src/comments/CommentInput" {
6532
6358
  import { ReactNode } from 'react';
6533
6359
  import { Account } from "libs/reach/util/common/src/index";
6360
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
6534
6361
  export interface UserSuggestion {
6535
6362
  id: string;
6536
6363
  upn: string;
@@ -6550,18 +6377,13 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
6550
6377
  onCtrlEnter?: () => unknown;
6551
6378
  onChange?: (value: string) => void;
6552
6379
  onFocus?: () => void;
6553
- additionalInputControl?: ReactNode;
6554
- buttons?: {
6555
- leftSide?: ReactNode;
6556
- rightSide?: ReactNode;
6557
- };
6380
+ buttons?: ReactNode;
6558
6381
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6382
+ inputTheme?: CommentInputTheme;
6559
6383
  placeHolderStringResourceKey?: string;
6560
6384
  placeHolderStringResourceValues?: {
6561
6385
  [key: string]: string | number | boolean | Date;
6562
6386
  };
6563
- disableBoxShadow?: boolean;
6564
- ariaLabel?: string;
6565
6387
  }
6566
6388
  export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
6567
6389
  }
@@ -6575,6 +6397,18 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
6575
6397
  isLarge: boolean;
6576
6398
  }>;
6577
6399
  }
6400
+ declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
6401
+ import { FC } from 'react';
6402
+ import { Keyword } from "libs/reach/util/common/src/index";
6403
+ export const KeywordsPicker: FC<{
6404
+ defaultKeywords?: {
6405
+ [key: string]: Keyword[];
6406
+ };
6407
+ availableKeywords?: Keyword[];
6408
+ mandatoryKeywords?: Keyword[];
6409
+ onChangeKeywords: (keywords: Keyword[]) => void;
6410
+ }>;
6411
+ }
6578
6412
  declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6579
6413
  import { VideoSource } from "libs/reach/util/common/src/index";
6580
6414
  export interface KalturaProperties {
@@ -6976,6 +6810,7 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
6976
6810
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6977
6811
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6978
6812
  import { Attachment } from "libs/reach/util/common/src/index";
6813
+ import { Keyword } from "libs/reach/util/common/src/index";
6979
6814
  export interface ClientAttachment extends Attachment {
6980
6815
  file?: File;
6981
6816
  }
@@ -6989,6 +6824,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6989
6824
  onAttachmentsChange: (attachments: Attachments) => void;
6990
6825
  onDeleteAttachment?: (attachment: Attachment) => void;
6991
6826
  placeHolderStringResourceKey?: string;
6827
+ allowKeywords?: boolean;
6828
+ defaultKeywords?: {
6829
+ [key: string]: Keyword[];
6830
+ };
6831
+ availableKeywords?: Keyword[];
6832
+ mandatoryKeywords?: Keyword[];
6833
+ showKeywordsPicker?: boolean;
6834
+ onKeywordsChange?: (keywords: Keyword[]) => void;
6992
6835
  disableAddGif?: boolean;
6993
6836
  disableAddFiles?: boolean;
6994
6837
  };
@@ -7001,6 +6844,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
7001
6844
  onAttachmentsChange: (attachments: Attachments) => void;
7002
6845
  onDeleteAttachment?: (attachment: Attachment) => void;
7003
6846
  placeHolderStringResourceKey?: string;
6847
+ allowKeywords?: boolean;
6848
+ defaultKeywords?: {
6849
+ [key: string]: Keyword[];
6850
+ };
6851
+ availableKeywords?: Keyword[];
6852
+ mandatoryKeywords?: Keyword[];
6853
+ showKeywordsPicker?: boolean;
6854
+ onKeywordsChange?: (keywords: Keyword[]) => void;
7004
6855
  disableAddGif?: boolean;
7005
6856
  disableAddFiles?: boolean;
7006
6857
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -7168,8 +7019,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7168
7019
  export const EventPeopleInfo: FC<{
7169
7020
  item: EventItem;
7170
7021
  hideAnnouncer?: boolean;
7171
- showFirstContactOnly?: boolean;
7172
- labelResourceKey?: string;
7173
7022
  className?: string;
7174
7023
  }>;
7175
7024
  export const EventChannelsDisplay: FC<{
@@ -7473,7 +7322,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7473
7322
  export const EventUserRegistration: FC<{
7474
7323
  disabled?: boolean;
7475
7324
  hideInfoMessage?: boolean;
7476
- showNoRegistrationRequired?: boolean;
7477
7325
  className?: string;
7478
7326
  }>;
7479
7327
  }
@@ -7483,7 +7331,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7483
7331
  export const EventCardUserRegistration: FC<{
7484
7332
  item: EventItem;
7485
7333
  disabled?: boolean;
7486
- showNoRegistrationRequired?: boolean;
7487
7334
  className?: string;
7488
7335
  }>;
7489
7336
  }
@@ -7626,8 +7473,7 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7626
7473
  Table = "table",
7627
7474
  Contact = "contact",
7628
7475
  InlinePageList = "inline-page-list",
7629
- UrlPreview = "url-preview",
7630
- ActionButton = "action-button"
7476
+ UrlPreview = "url-preview"
7631
7477
  }
7632
7478
  export interface HtmlComponentMapper {
7633
7479
  component: FC<any>;
@@ -7944,6 +7790,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7944
7790
  onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
7945
7791
  onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
7946
7792
  placeHolderStringResourceKey?: string;
7793
+ allowKeywords?: boolean;
7794
+ defaultKeywords?: {
7795
+ [key: string]: import("@livetiles/reach/util/common").Keyword[];
7796
+ };
7797
+ availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
7798
+ mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
7799
+ showKeywordsPicker?: boolean;
7800
+ onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
7947
7801
  disableAddGif?: boolean;
7948
7802
  disableAddFiles?: boolean;
7949
7803
  } & {
@@ -7952,53 +7806,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7952
7806
  attachmentPreviewTheme?: CommentInputTheme;
7953
7807
  } & import("react").RefAttributes<HTMLInputElement>>;
7954
7808
  }
7955
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
7956
- import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
7957
- import { FC } from 'react';
7958
- interface Props {
7959
- group: KeywordGroup;
7960
- keywords?: Keyword[];
7961
- expanded?: boolean;
7962
- selectedKeywords: Keyword[];
7963
- onChange?: (keywords: Keyword[]) => void;
7964
- mandatoryKeywordIds?: string[];
7965
- }
7966
- export const KeywordPickerGroup: FC<Props>;
7967
- }
7968
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
7969
- import { FC } from 'react';
7970
- import { Keyword } from "libs/reach/util/common/src/index";
7971
- interface Props {
7972
- value?: Keyword[] | string[];
7973
- onChange: (keywords: Keyword[]) => void;
7974
- showSelectionToggle?: boolean;
7975
- availableKeywords?: Keyword[];
7976
- mandatoryKeywordIds?: string[];
7977
- className?: string;
7978
- }
7979
- export const KeywordPicker: FC<Props>;
7980
- }
7981
- declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
7982
- import { Keyword } from "libs/reach/util/common/src/index";
7983
- import { FC } from 'react';
7984
- export const AddKeywordsButton: FC<{
7985
- availableKeywords?: Keyword[];
7986
- mandatoryKeywords?: Keyword[];
7987
- preselectedKeywords?: Keyword[];
7988
- onKeywordsChange?: (keywords: Keyword[]) => void;
7989
- disabled?: boolean;
7990
- keywordPickerTitleResourceKey?: string;
7991
- }>;
7992
- }
7993
- declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
7994
- import { Keyword } from "libs/reach/util/common/src/index";
7995
- import { FC } from 'react';
7996
- export const EditableKeywordsList: FC<{
7997
- keywords?: Keyword[];
7998
- mandatoryKeywordIds?: string[];
7999
- onRemoveKeyword?: (id: string) => void;
8000
- }>;
8001
- }
8002
7809
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
8003
7810
  import { FC } from 'react';
8004
7811
  import { Account } from "libs/reach/util/common/src/index";
@@ -8030,8 +7837,6 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
8030
7837
  defaultKeywords?: Keyword[];
8031
7838
  mandatoryKeywords?: Keyword[];
8032
7839
  };
8033
- disableBoxShadow?: boolean;
8034
- ariaLabel?: string;
8035
7840
  }
8036
7841
  interface Props extends BaseProps {
8037
7842
  allowAttachments?: boolean;
@@ -8122,9 +7927,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8122
7927
  deletedFileUrls?: string[];
8123
7928
  onCancel?: () => void;
8124
7929
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7930
+ inputTheme?: CommentInputTheme;
8125
7931
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
8126
7932
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8127
- ariaLabel?: string;
8128
7933
  }
8129
7934
  interface Props extends BaseProps {
8130
7935
  onSave?: (newContent: string, keywords?: {
@@ -8132,18 +7937,14 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
8132
7937
  }) => void;
8133
7938
  allowAttachments?: boolean;
8134
7939
  allowKeywords?: boolean;
8135
- keywordSettings?: {
8136
- availableKeywords?: Keyword[];
8137
- defaultKeywords?: Keyword[];
8138
- mandatoryKeywords?: Keyword[];
8139
- };
7940
+ availableKeywords?: Keyword[];
7941
+ mandatoryKeywords?: Keyword[];
8140
7942
  keywords?: {
8141
7943
  [key: string]: Keyword[];
8142
7944
  };
8143
7945
  allowSaveWithoutContent?: boolean;
8144
7946
  saveOnEnter?: boolean;
8145
7947
  saveOnCtrlEnter?: boolean;
8146
- attachmentPreviewTheme?: CommentInputTheme;
8147
7948
  }
8148
7949
  export const EditComment: FC<Props>;
8149
7950
  }
@@ -8165,7 +7966,6 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8165
7966
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
8166
7967
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
8167
7968
  import { Keyword } from "libs/reach/util/common/src/index";
8168
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
8169
7969
  interface Props extends CreateCommentProps {
8170
7970
  onSave: (newContent: string, attachments?: Attachment[], keywords?: {
8171
7971
  [key: string]: Keyword[];
@@ -8173,18 +7973,14 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
8173
7973
  item: ItemWithAttachments;
8174
7974
  basePath: string;
8175
7975
  allowKeywords?: boolean;
8176
- keywordSettings?: {
8177
- availableKeywords?: Keyword[];
8178
- defaultKeywords?: Keyword[];
8179
- mandatoryKeywords?: Keyword[];
8180
- };
7976
+ availableKeywords?: Keyword[];
7977
+ mandatoryKeywords?: Keyword[];
8181
7978
  keywords?: {
8182
7979
  [key: string]: Keyword[];
8183
7980
  };
8184
7981
  allowSaveWithoutContent?: boolean;
8185
7982
  saveOnEnter?: boolean;
8186
7983
  saveOnCtrlEnter?: boolean;
8187
- attachmentPreviewTheme?: CommentInputTheme;
8188
7984
  }
8189
7985
  export const EditCommentWithAttachments: FC<Props>;
8190
7986
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
@@ -8256,12 +8052,11 @@ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButt
8256
8052
  }
8257
8053
  declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8258
8054
  import { FC } from 'react';
8259
- import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8055
+ import { NewsItem } from "libs/reach/util/common/src/index";
8260
8056
  export const CardFooter: FC<{
8261
- item: NewsItem | EventItem;
8057
+ item: NewsItem;
8262
8058
  showComments: boolean;
8263
8059
  targetRoute: string;
8264
- itemResourceType: ItemResourceTypes;
8265
8060
  }>;
8266
8061
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8267
8062
  }
@@ -8469,27 +8264,6 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
8469
8264
  children?: ReactNode;
8470
8265
  }>;
8471
8266
  }
8472
- declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
8473
- export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
8474
- isPrimary?: boolean;
8475
- }, never>;
8476
- export const InlineActionButtonListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
8477
- export const InlineActionButtonsHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
8478
- }
8479
- declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
8480
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8481
- export interface ActionButtonBlock {
8482
- blockId: string;
8483
- actionButtons: {
8484
- label: string;
8485
- url: string;
8486
- isPrimary: boolean;
8487
- id: string;
8488
- }[];
8489
- entityKey?: string;
8490
- }
8491
- export const InlineActionButtonMapper: HtmlComponentMapper;
8492
- }
8493
8267
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8494
8268
  import { FC } from 'react';
8495
8269
  export const EventDetailViewPeopleInfo: FC;
@@ -9355,11 +9129,8 @@ declare module "libs/reach/feature/content/src/common/index" {
9355
9129
  export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
9356
9130
  export * from "libs/reach/feature/content/src/common/body/InlineTable";
9357
9131
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
9358
- export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
9359
9132
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9360
9133
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9361
- export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
9362
- export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9363
9134
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9364
9135
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
9365
9136
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
@@ -9423,6 +9194,32 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9423
9194
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9424
9195
  export * from "libs/reach/feature/content/src/feedback/utils";
9425
9196
  }
9197
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9198
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9199
+ import { FC } from 'react';
9200
+ interface Props {
9201
+ group: KeywordGroup;
9202
+ keywords?: Keyword[];
9203
+ expanded?: boolean;
9204
+ selectedKeywords: Keyword[];
9205
+ onChange?: (keywords: Keyword[]) => void;
9206
+ mandatoryKeywordIds?: string[];
9207
+ }
9208
+ export const KeywordPickerGroup: FC<Props>;
9209
+ }
9210
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9211
+ import { FC } from 'react';
9212
+ import { Keyword } from "libs/reach/util/common/src/index";
9213
+ interface Props {
9214
+ value?: Keyword[] | string[];
9215
+ onChange: (keywords: Keyword[]) => void;
9216
+ showSelectionToggle?: boolean;
9217
+ availableKeywords?: Keyword[];
9218
+ mandatoryKeywordIds?: string[];
9219
+ className?: string;
9220
+ }
9221
+ export const KeywordPicker: FC<Props>;
9222
+ }
9426
9223
  declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9427
9224
  import { FC, ReactNode } from 'react';
9428
9225
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -9477,9 +9274,7 @@ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9477
9274
  onInsert: (files: File[]) => void;
9478
9275
  accept?: string;
9479
9276
  captionKey?: string;
9480
- captionIconName?: string;
9481
9277
  descriptionKey?: string;
9482
- descriptionIconName?: string;
9483
9278
  singleMode?: boolean;
9484
9279
  }
9485
9280
  export const InsertFilesButton: FC<Props>;
@@ -9655,15 +9450,6 @@ declare module "libs/reach/feature/content/src/news/index" {
9655
9450
  export * from "libs/reach/feature/content/src/news/useNewsApi";
9656
9451
  export * from "libs/reach/feature/content/src/news/useTranslateApi";
9657
9452
  }
9658
- declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9659
- import { FC } from 'react';
9660
- import { SearchHighlight } from "libs/reach/util/common/src/index";
9661
- export const SearchHighlighter: FC<{
9662
- highlight: SearchHighlight;
9663
- }>;
9664
- export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9665
- export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9666
- }
9667
9453
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
9668
9454
  import { FC } from 'react';
9669
9455
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9692,9 +9478,11 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
9692
9478
  }
9693
9479
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9694
9480
  import { FC } from 'react';
9695
- import { PageItem } from "libs/reach/util/common/src/index";
9481
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
9696
9482
  export const PageListItemBody: FC<{
9697
- page: PageItem;
9483
+ contents: {
9484
+ [key: string]: PublishableItemContent;
9485
+ };
9698
9486
  search?: string;
9699
9487
  }>;
9700
9488
  }
@@ -9857,10 +9645,6 @@ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9857
9645
  groups: UserGroup[];
9858
9646
  }>;
9859
9647
  }
9860
- declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
9861
- import { FC } from 'react';
9862
- export const PostGroupSelector: FC;
9863
- }
9864
9648
  declare module "libs/reach/feature/content/src/posts/PostListItem" {
9865
9649
  import { FC } from 'react';
9866
9650
  import { Post } from "libs/reach/feature/content/src/posts/utils";
@@ -9899,7 +9683,7 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
9899
9683
  }>;
9900
9684
  }
9901
9685
  declare module "libs/reach/feature/content/src/stream/streamUtils" {
9902
- import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9686
+ 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";
9903
9687
  import { Post } from "libs/reach/feature/content/src/posts/index";
9904
9688
  import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
9905
9689
  enum StreamItemTypes {
@@ -9948,7 +9732,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9948
9732
  isUnread: boolean;
9949
9733
  keywordsList?: Keyword[];
9950
9734
  userResponseType?: StreamEventResponse;
9951
- eventCancelInformation?: StreamEventCancelInformation;
9952
9735
  }
9953
9736
  export interface PageStreamItem extends PageItem {
9954
9737
  type: StreamItemTypes.Page;
@@ -9967,11 +9750,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9967
9750
  intro?: string;
9968
9751
  headline?: string;
9969
9752
  }
9970
- interface StreamEventCancelInformation extends EventCancelInformation {
9971
- cancellationReasons?: {
9972
- [key: string]: string;
9973
- }[];
9974
- }
9975
9753
  export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
9976
9754
  export function isPost(item: StreamItem): item is PostStreamItem;
9977
9755
  export function isNews(item: StreamItem): item is NewsStreamItem;
@@ -10048,7 +9826,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10048
9826
  isLiked?: boolean;
10049
9827
  isDemoContent?: boolean;
10050
9828
  poll?: import("@livetiles/reach/util/common").Poll;
10051
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10052
9829
  fileAccessToken?: string;
10053
9830
  attachmentContainerId?: string;
10054
9831
  } | {
@@ -10145,7 +9922,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10145
9922
  useExternalContent?: boolean;
10146
9923
  isDemoContent?: boolean;
10147
9924
  poll?: import("@livetiles/reach/util/common").Poll;
10148
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10149
9925
  } | {
10150
9926
  groupId: string;
10151
9927
  attachments: {
@@ -10205,14 +9981,13 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10205
9981
  isUnread: boolean;
10206
9982
  keywordsList?: Keyword[];
10207
9983
  userResponseType?: StreamEventResponse;
10208
- eventCancelInformation?: StreamEventCancelInformation;
10209
9984
  startDate?: string;
10210
9985
  endDate?: string;
10211
9986
  timeZone?: string;
10212
9987
  contacts?: import("@livetiles/reach/util/common").Account[];
10213
9988
  registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10214
9989
  userResponse?: EventResponse;
10215
- cancelInformation?: EventCancelInformation;
9990
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10216
9991
  locations?: import("@livetiles/reach/util/common").EventLocation[];
10217
9992
  hasNewComments?: boolean;
10218
9993
  isLiked?: boolean;
@@ -10249,7 +10024,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10249
10024
  useExternalContent?: boolean;
10250
10025
  isDemoContent?: boolean;
10251
10026
  poll?: import("@livetiles/reach/util/common").Poll;
10252
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10253
10027
  } | {
10254
10028
  groupId: string;
10255
10029
  attachments: {
@@ -10348,19 +10122,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10348
10122
  useExternalContent?: boolean;
10349
10123
  isDemoContent?: boolean;
10350
10124
  poll?: import("@livetiles/reach/util/common").Poll;
10351
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10352
10125
  } | {
10353
- cancelInformation: {
10354
- reasons: {
10355
- [key: string]: string;
10356
- };
10357
- cancellationReasons?: {
10358
- [key: string]: string;
10359
- }[];
10360
- isCancelled?: boolean;
10361
- modifiedOn?: string;
10362
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10363
- };
10364
10126
  knownState?: undefined;
10365
10127
  pageType?: undefined;
10366
10128
  navigationContext?: undefined;
@@ -10400,22 +10162,10 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10400
10162
  isLiked?: boolean;
10401
10163
  isDemoContent?: boolean;
10402
10164
  poll?: import("@livetiles/reach/util/common").Poll;
10403
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10404
10165
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10405
10166
  fileAccessToken?: string;
10406
10167
  attachmentContainerId?: string;
10407
10168
  } | {
10408
- cancelInformation: {
10409
- reasons: {
10410
- [key: string]: string;
10411
- };
10412
- cancellationReasons?: {
10413
- [key: string]: string;
10414
- }[];
10415
- isCancelled?: boolean;
10416
- modifiedOn?: string;
10417
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10418
- };
10419
10169
  knownState: KnownNewsState;
10420
10170
  pageType?: undefined;
10421
10171
  navigationContext?: undefined;
@@ -10455,22 +10205,10 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10455
10205
  isLiked?: boolean;
10456
10206
  isDemoContent?: boolean;
10457
10207
  poll?: import("@livetiles/reach/util/common").Poll;
10458
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10459
10208
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10460
10209
  fileAccessToken?: string;
10461
10210
  attachmentContainerId?: string;
10462
10211
  } | {
10463
- cancelInformation: {
10464
- reasons: {
10465
- [key: string]: string;
10466
- };
10467
- cancellationReasons?: {
10468
- [key: string]: string;
10469
- }[];
10470
- isCancelled?: boolean;
10471
- modifiedOn?: string;
10472
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10473
- };
10474
10212
  knownState?: undefined;
10475
10213
  pageType: PageType;
10476
10214
  navigationContext: PageNavigationContext;
@@ -10510,22 +10248,10 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10510
10248
  isLiked?: boolean;
10511
10249
  isDemoContent?: boolean;
10512
10250
  poll?: import("@livetiles/reach/util/common").Poll;
10513
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10514
10251
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10515
10252
  fileAccessToken?: string;
10516
10253
  attachmentContainerId?: string;
10517
10254
  } | {
10518
- cancelInformation: {
10519
- reasons: {
10520
- [key: string]: string;
10521
- };
10522
- cancellationReasons?: {
10523
- [key: string]: string;
10524
- }[];
10525
- isCancelled?: boolean;
10526
- modifiedOn?: string;
10527
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10528
- };
10529
10255
  knownState: KnownNewsState;
10530
10256
  pageType: PageType;
10531
10257
  navigationContext: PageNavigationContext;
@@ -10565,22 +10291,10 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10565
10291
  isLiked?: boolean;
10566
10292
  isDemoContent?: boolean;
10567
10293
  poll?: import("@livetiles/reach/util/common").Poll;
10568
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10569
10294
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10570
10295
  fileAccessToken?: string;
10571
10296
  attachmentContainerId?: string;
10572
10297
  } | {
10573
- cancelInformation: {
10574
- reasons: {
10575
- [key: string]: string;
10576
- };
10577
- cancellationReasons?: {
10578
- [key: string]: string;
10579
- }[];
10580
- isCancelled?: boolean;
10581
- modifiedOn?: string;
10582
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10583
- };
10584
10298
  knownState: KnownNewsState;
10585
10299
  pageType?: undefined;
10586
10300
  navigationContext?: undefined;
@@ -10637,19 +10351,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10637
10351
  useExternalContent?: boolean;
10638
10352
  isDemoContent?: boolean;
10639
10353
  poll?: import("@livetiles/reach/util/common").Poll;
10640
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10641
10354
  } | {
10642
- cancelInformation: {
10643
- reasons: {
10644
- [key: string]: string;
10645
- };
10646
- cancellationReasons?: {
10647
- [key: string]: string;
10648
- }[];
10649
- isCancelled?: boolean;
10650
- modifiedOn?: string;
10651
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10652
- };
10653
10355
  knownState: KnownNewsState;
10654
10356
  pageType: PageType;
10655
10357
  navigationContext: PageNavigationContext;
@@ -10706,19 +10408,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10706
10408
  useExternalContent?: boolean;
10707
10409
  isDemoContent?: boolean;
10708
10410
  poll?: import("@livetiles/reach/util/common").Poll;
10709
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10710
10411
  } | {
10711
- cancelInformation: {
10712
- reasons: {
10713
- [key: string]: string;
10714
- };
10715
- cancellationReasons?: {
10716
- [key: string]: string;
10717
- }[];
10718
- isCancelled?: boolean;
10719
- modifiedOn?: string;
10720
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10721
- };
10722
10412
  knownState?: undefined;
10723
10413
  pageType?: undefined;
10724
10414
  navigationContext?: undefined;
@@ -10744,12 +10434,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10744
10434
  isUnread: boolean;
10745
10435
  keywordsList?: Keyword[];
10746
10436
  userResponseType?: StreamEventResponse;
10747
- eventCancelInformation?: StreamEventCancelInformation;
10748
10437
  startDate?: string;
10749
10438
  endDate?: string;
10750
10439
  timeZone?: string;
10751
10440
  contacts?: import("@livetiles/reach/util/common").Account[];
10752
10441
  registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10442
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10753
10443
  locations?: import("@livetiles/reach/util/common").EventLocation[];
10754
10444
  hasNewComments?: boolean;
10755
10445
  isLiked?: boolean;
@@ -10783,19 +10473,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10783
10473
  useExternalContent?: boolean;
10784
10474
  isDemoContent?: boolean;
10785
10475
  poll?: import("@livetiles/reach/util/common").Poll;
10786
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10787
10476
  } | {
10788
- cancelInformation: {
10789
- reasons: {
10790
- [key: string]: string;
10791
- };
10792
- cancellationReasons?: {
10793
- [key: string]: string;
10794
- }[];
10795
- isCancelled?: boolean;
10796
- modifiedOn?: string;
10797
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10798
- };
10799
10477
  knownState: KnownNewsState;
10800
10478
  pageType?: undefined;
10801
10479
  navigationContext?: undefined;
@@ -10821,12 +10499,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10821
10499
  isUnread: boolean;
10822
10500
  keywordsList?: Keyword[];
10823
10501
  userResponseType?: StreamEventResponse;
10824
- eventCancelInformation?: StreamEventCancelInformation;
10825
10502
  startDate?: string;
10826
10503
  endDate?: string;
10827
10504
  timeZone?: string;
10828
10505
  contacts?: import("@livetiles/reach/util/common").Account[];
10829
10506
  registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10507
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10830
10508
  locations?: import("@livetiles/reach/util/common").EventLocation[];
10831
10509
  hasNewComments?: boolean;
10832
10510
  isLiked?: boolean;
@@ -10860,19 +10538,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10860
10538
  useExternalContent?: boolean;
10861
10539
  isDemoContent?: boolean;
10862
10540
  poll?: import("@livetiles/reach/util/common").Poll;
10863
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10864
10541
  } | {
10865
- cancelInformation: {
10866
- reasons: {
10867
- [key: string]: string;
10868
- };
10869
- cancellationReasons?: {
10870
- [key: string]: string;
10871
- }[];
10872
- isCancelled?: boolean;
10873
- modifiedOn?: string;
10874
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10875
- };
10876
10542
  knownState?: undefined;
10877
10543
  pageType: PageType;
10878
10544
  navigationContext: PageNavigationContext;
@@ -10898,12 +10564,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10898
10564
  isUnread: boolean;
10899
10565
  keywordsList?: Keyword[];
10900
10566
  userResponseType?: StreamEventResponse;
10901
- eventCancelInformation?: StreamEventCancelInformation;
10902
10567
  startDate?: string;
10903
10568
  endDate?: string;
10904
10569
  timeZone?: string;
10905
10570
  contacts?: import("@livetiles/reach/util/common").Account[];
10906
10571
  registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10572
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10907
10573
  locations?: import("@livetiles/reach/util/common").EventLocation[];
10908
10574
  hasNewComments?: boolean;
10909
10575
  isLiked?: boolean;
@@ -10937,19 +10603,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10937
10603
  useExternalContent?: boolean;
10938
10604
  isDemoContent?: boolean;
10939
10605
  poll?: import("@livetiles/reach/util/common").Poll;
10940
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10941
10606
  } | {
10942
- cancelInformation: {
10943
- reasons: {
10944
- [key: string]: string;
10945
- };
10946
- cancellationReasons?: {
10947
- [key: string]: string;
10948
- }[];
10949
- isCancelled?: boolean;
10950
- modifiedOn?: string;
10951
- modifiedBy?: import("@livetiles/reach/util/common").Account;
10952
- };
10953
10607
  knownState: KnownNewsState;
10954
10608
  pageType: PageType;
10955
10609
  navigationContext: PageNavigationContext;
@@ -10975,12 +10629,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10975
10629
  isUnread: boolean;
10976
10630
  keywordsList?: Keyword[];
10977
10631
  userResponseType?: StreamEventResponse;
10978
- eventCancelInformation?: StreamEventCancelInformation;
10979
10632
  startDate?: string;
10980
10633
  endDate?: string;
10981
10634
  timeZone?: string;
10982
10635
  contacts?: import("@livetiles/reach/util/common").Account[];
10983
10636
  registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
10637
+ cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
10984
10638
  locations?: import("@livetiles/reach/util/common").EventLocation[];
10985
10639
  hasNewComments?: boolean;
10986
10640
  isLiked?: boolean;
@@ -11014,19 +10668,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11014
10668
  useExternalContent?: boolean;
11015
10669
  isDemoContent?: boolean;
11016
10670
  poll?: import("@livetiles/reach/util/common").Poll;
11017
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11018
10671
  } | {
11019
- cancelInformation: {
11020
- reasons: {
11021
- [key: string]: string;
11022
- };
11023
- cancellationReasons?: {
11024
- [key: string]: string;
11025
- }[];
11026
- isCancelled?: boolean;
11027
- modifiedOn?: string;
11028
- modifiedBy?: import("@livetiles/reach/util/common").Account;
11029
- };
11030
10672
  knownState?: undefined;
11031
10673
  pageType?: PageType;
11032
10674
  navigationContext?: PageNavigationContext;
@@ -11087,19 +10729,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11087
10729
  useExternalContent?: boolean;
11088
10730
  isDemoContent?: boolean;
11089
10731
  poll?: import("@livetiles/reach/util/common").Poll;
11090
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11091
10732
  } | {
11092
- cancelInformation: {
11093
- reasons: {
11094
- [key: string]: string;
11095
- };
11096
- cancellationReasons?: {
11097
- [key: string]: string;
11098
- }[];
11099
- isCancelled?: boolean;
11100
- modifiedOn?: string;
11101
- modifiedBy?: import("@livetiles/reach/util/common").Account;
11102
- };
11103
10733
  knownState: KnownNewsState;
11104
10734
  pageType?: PageType;
11105
10735
  navigationContext?: PageNavigationContext;
@@ -11160,7 +10790,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
11160
10790
  useExternalContent?: boolean;
11161
10791
  isDemoContent?: boolean;
11162
10792
  poll?: import("@livetiles/reach/util/common").Poll;
11163
- searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
11164
10793
  })[];
11165
10794
  }
11166
10795
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
@@ -11195,7 +10824,6 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
11195
10824
  export const OWNER_CONDITION: (owner: string) => string;
11196
10825
  export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
11197
10826
  export const AUTHORS_CONDITION: (authors: string[]) => string;
11198
- export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
11199
10827
  export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
11200
10828
  export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
11201
10829
  export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
@@ -11218,7 +10846,6 @@ declare module "libs/reach/feature/content/src/posts/index" {
11218
10846
  export * from "libs/reach/feature/content/src/posts/PostCreator";
11219
10847
  export * from "libs/reach/feature/content/src/posts/PostDisplay";
11220
10848
  export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
11221
- export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
11222
10849
  export * from "libs/reach/feature/content/src/posts/PostListItem";
11223
10850
  export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
11224
10851
  export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
@@ -11366,19 +10993,12 @@ declare module "libs/reach/feature/content/src/stream/StreamList" {
11366
10993
  export const StreamList: FC;
11367
10994
  }
11368
10995
  declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
11369
- import { ItemLoader } from "libs/reach/ui/common/src/index";
11370
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
10996
+ import { PaginatedList } from "libs/reach/util/common/src/index";
10997
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
11371
10998
  import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11372
- export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): ItemLoader<NewsStreamItem, number>;
10999
+ export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
11373
11000
  export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11374
11001
  }
11375
- declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
11376
- import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11377
- import { EventFilterDefinition } from "libs/reach/feature/content/src/index";
11378
- import { ItemLoader } from "libs/reach/ui/common/src/index";
11379
- export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
11380
- export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11381
- }
11382
11002
  declare module "libs/reach/feature/content/src/stream/index" {
11383
11003
  export * from "libs/reach/feature/content/src/stream/StreamList";
11384
11004
  export * from "libs/reach/feature/content/src/stream/streamUtils";
@@ -11387,7 +11007,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
11387
11007
  export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
11388
11008
  export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
11389
11009
  export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
11390
- export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
11391
11010
  }
11392
11011
  declare module "libs/reach/feature/content/src/search/index" {
11393
11012
  export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
@@ -11476,22 +11095,20 @@ declare module "apps/reach-app/src/app/AppLoader" {
11476
11095
  }
11477
11096
  declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
11478
11097
  import './ContainerWithLogo.scss';
11479
- import { LogoInfo } from "libs/reach/util/common/src/index";
11480
- import { FC, ReactNode } from 'react';
11481
11098
  export enum DefaultLogoColor {
11482
11099
  Default = 0,
11483
11100
  White = 1
11484
11101
  }
11485
- type RenderChildren = ReactNode | (() => ReactNode);
11486
- export const ContainerWithLogo: FC<{
11487
- logoInfo?: LogoInfo;
11102
+ type RenderChildren = React.ReactNode | (() => React.ReactNode);
11103
+ export const ContainerWithLogo: React.FC<{
11104
+ logo?: string;
11105
+ logoColor?: DefaultLogoColor;
11488
11106
  text?: string;
11489
11107
  headerClassName?: string;
11490
11108
  additionalClasses?: string;
11491
11109
  children: RenderChildren;
11492
11110
  className?: string;
11493
11111
  additionalContent?: RenderChildren;
11494
- isBrandedContainer?: boolean;
11495
11112
  }>;
11496
11113
  }
11497
11114
  declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.450",
7
+ "version": "0.4.0-preview.451",
8
8
  "dependencies": {}
9
9
  }