@livetiles/reach-plugin-types 0.4.0-preview.433 → 0.4.0-preview.434

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 +383 -114
  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,6 +522,12 @@ 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
+ }
525
531
  declare module "libs/reach/util/common/src/resources/languages/de.async" {
526
532
  import '@formatjs/intl-pluralrules/dist/locale-data/de';
527
533
  import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
@@ -577,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
577
583
  export default en;
578
584
  }
579
585
  declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
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")>;
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")>;
581
587
  }
582
588
  declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
583
589
  import '@formatjs/intl-pluralrules/dist/locale-data/ar';
@@ -1097,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1097
1103
  import { Account } from "libs/reach/util/common/src/user/Account";
1098
1104
  import { Audience } from "libs/reach/util/common/src/user/Audience";
1099
1105
  import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
1100
- 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";
1101
1107
  import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
1102
1108
  export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
1103
1109
  domains?: string[];
@@ -1130,12 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1130
1136
  useInAppBrowser?: boolean;
1131
1137
  tenantId?: string;
1132
1138
  signInSettings?: SignInSettings;
1133
- logoUrl?: string;
1134
1139
  faviconUrl?: string;
1135
1140
  theme?: Theme;
1136
1141
  allowPublicAccess?: boolean;
1137
1142
  redirectToContent?: boolean;
1138
1143
  allowZendesk?: boolean;
1144
+ logoInfo: LogoInfo;
1139
1145
  }
1140
1146
  export interface SignInSettings {
1141
1147
  customIdentityProviders: IdentityProviderSettings[];
@@ -1149,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1149
1155
  contact: Account;
1150
1156
  theme: Theme;
1151
1157
  defaultLanguage: string;
1152
- logoUrl: string;
1153
1158
  faviconUrl?: string;
1154
1159
  navigation: NavigationNode[];
1155
1160
  regionSettings?: RegionSettings;
@@ -1158,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1158
1163
  hasUnreadItems: boolean;
1159
1164
  pageTrackingInfo: PageTrackingInfo;
1160
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;
1161
1176
  }
1162
1177
  export interface TermsAndConditions {
1163
1178
  value?: string;
@@ -1394,6 +1409,7 @@ declare module "libs/reach/util/common/src/user/User" {
1394
1409
  itemId: string;
1395
1410
  }[];
1396
1411
  unreadFeedItemsCount?: number;
1412
+ mostRecentPostGroups: string[];
1397
1413
  notificationTypeSettings: NotificationTypeSettings;
1398
1414
  hasPendingRegistration?: boolean;
1399
1415
  minRoles: UserMinRoles;
@@ -1719,6 +1735,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
1719
1735
  id?: string;
1720
1736
  statistics?: ItemStatistics;
1721
1737
  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;
1722
1751
  }
1723
1752
  export interface Poll {
1724
1753
  questions: PollQuestion[];
@@ -1786,7 +1815,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
1786
1815
  headline?: string;
1787
1816
  intro?: string;
1788
1817
  body?: string;
1789
- bodyRaw?: string;
1790
1818
  customProperties?: {
1791
1819
  [key: string]: any;
1792
1820
  };
@@ -2142,14 +2170,83 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2142
2170
  }
2143
2171
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2144
2172
  import { CurrentUser } from "libs/reach/util/common/src/user/User";
2173
+ import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
2145
2174
  export function useCurrentUserCache(): {
2146
2175
  clear: () => Promise<void>;
2147
2176
  setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
2148
2177
  setUser: (user: CurrentUser) => Promise<CurrentUser>;
2149
- get: () => 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
+ }>;
2150
2247
  };
2151
2248
  export function getUserDetailFields(user: Partial<CurrentUser>): {
2152
- availableSubscriptions: import("@livetiles/reach/util/common").SubscriptionSummary[];
2249
+ availableSubscriptions: SubscriptionSummary[];
2153
2250
  bookmarks: string[];
2154
2251
  unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
2155
2252
  unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
@@ -2159,6 +2256,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2159
2256
  }[];
2160
2257
  hasUnreadChats: boolean;
2161
2258
  unreadFeedItemsCount: number;
2259
+ mostRecentPostGroups: string[];
2162
2260
  };
2163
2261
  }
2164
2262
  declare module "libs/reach/util/common/src/user/CurrentUserDetailContextProvider" {
@@ -2229,9 +2327,9 @@ declare module "libs/reach/util/common/src/user/index" {
2229
2327
  export * from "libs/reach/util/common/src/user/LanguageUtils";
2230
2328
  export * from "libs/reach/util/common/src/user/content-languages-util";
2231
2329
  }
2232
- declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
2330
+ declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
2233
2331
  import { Storage } from "libs/reach/util/context/src/index";
2234
- export function usePluginStorage(): PluginStorage;
2332
+ export function usePluginDeviceStore(): PluginStorage;
2235
2333
  export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
2236
2334
  export interface PluginStorage {
2237
2335
  getAllKeys(): Promise<string[]>;
@@ -2243,10 +2341,17 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
2243
2341
  }
2244
2342
  declare module "libs/reach/util/common/src/plugins/PluginContext" {
2245
2343
  import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
2246
- import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginStorage";
2344
+ import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2345
+ export interface PluginStore {
2346
+ get<T>(key: string): Promise<T>;
2347
+ set<T>(key: string, value: T): Promise<unknown>;
2348
+ delete(key: string): Promise<unknown>;
2349
+ }
2247
2350
  export const PluginContext: import("react").Context<{
2248
2351
  settings: PluginSettings;
2249
2352
  storage: PluginStorage;
2353
+ userStore: PluginStore;
2354
+ subscriptionStore: PluginStore;
2250
2355
  }>;
2251
2356
  export function usePluginSettings<T>(): T;
2252
2357
  export function useReachApiEndPoints(): {
@@ -2411,6 +2516,36 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2411
2516
  export function useInjectedRemotePlugins(): DevPlugin[];
2412
2517
  export function useRemotePlugins(): WebPluginDefinition[];
2413
2518
  }
2519
+ declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
2520
+ import { DependencyList } from 'react';
2521
+ import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
2522
+ import { Api } from 'restful.js';
2523
+ export function usePluginUserStore(): PluginStore;
2524
+ export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
2525
+ data: T;
2526
+ set: (newValue: T) => Promise<unknown>;
2527
+ isLoading: boolean;
2528
+ error: any;
2529
+ refresh: () => void;
2530
+ remove: () => Promise<unknown>;
2531
+ };
2532
+ export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginStore;
2533
+ }
2534
+ declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
2535
+ import { DependencyList } from 'react';
2536
+ import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
2537
+ import { Api } from 'restful.js';
2538
+ export function usePluginSubscriptionStore(): PluginStore;
2539
+ export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
2540
+ data: T;
2541
+ set: (newValue: T) => Promise<unknown>;
2542
+ isLoading: boolean;
2543
+ error: any;
2544
+ refresh: () => void;
2545
+ remove: () => Promise<unknown>;
2546
+ };
2547
+ export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginStore;
2548
+ }
2414
2549
  declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2415
2550
  import { FC } from 'react';
2416
2551
  import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
@@ -2430,7 +2565,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
2430
2565
  export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
2431
2566
  export * from "libs/reach/util/common/src/plugins/usePluginApi";
2432
2567
  export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
2433
- export * from "libs/reach/util/common/src/plugins/usePluginStorage";
2568
+ export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
2569
+ export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
2570
+ export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
2434
2571
  }
2435
2572
  declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2436
2573
  export class Color {
@@ -2449,6 +2586,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
2449
2586
  declare module "libs/reach/util/common/src/theme/ThemeService" {
2450
2587
  import { IPartialTheme } from 'office-ui-fabric-react';
2451
2588
  import { Theme } from "libs/reach/util/common/src/user/Subscription";
2589
+ import * as wcag from 'wcag-contrast';
2452
2590
  export const defaultThemeColors: Theme;
2453
2591
  export const defaultPageBackgroundColor: string;
2454
2592
  export const defaultLightColor = "#ffffff";
@@ -2545,6 +2683,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
2545
2683
  }
2546
2684
  export function getDarkAltColor(color: string): string;
2547
2685
  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
+ };
2548
2692
  }
2549
2693
  declare module "libs/reach/util/common/src/theme/ThemeContext" {
2550
2694
  import { FC, ReactNode } from 'react';
@@ -3092,15 +3236,15 @@ declare module "libs/reach/ui/common/src/Link" {
3092
3236
  }
3093
3237
  declare module "libs/reach/ui/common/src/common/TextLink" {
3094
3238
  import { CSSProperties, FC } from 'react';
3095
- interface Props {
3239
+ export interface TextLinkProps {
3096
3240
  url: string;
3097
3241
  target?: string;
3098
3242
  ariaLabel?: string;
3099
3243
  className?: string;
3100
3244
  style?: CSSProperties;
3101
3245
  }
3102
- export const TextLink: FC<Props>;
3103
- export const ExternalLinkHandler: FC<Props & {
3246
+ export const TextLink: FC<TextLinkProps>;
3247
+ export const ExternalLinkHandler: FC<TextLinkProps & {
3104
3248
  onClick?: (e: MouseEvent) => unknown;
3105
3249
  }>;
3106
3250
  }
@@ -3217,7 +3361,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3217
3361
  export const PeoplePicker: FC<Props>;
3218
3362
  }
3219
3363
  declare module "libs/reach/ui/common/src/plugins/reach-core" {
3220
- import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
3364
+ import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStoreValue, usePluginUserStoreValue, usePluginUserStore, usePluginSubscriptionStore, PluginStore, PluginStorage } from "libs/reach/util/common/src/index";
3221
3365
  import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
3222
3366
  import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
3223
3367
  import { createId, logger } from "libs/shared/util/common/src/index";
@@ -3230,8 +3374,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
3230
3374
  import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
3231
3375
  import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
3232
3376
  import { useAccountApi } from "libs/reach/util/common/src/index";
3233
- export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
3234
- export type { Account, PluginNavigationNodeProps, PluginProps };
3377
+ export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
3378
+ /**
3379
+ * @deprecated Please use `usePluginDeviceStore` instead
3380
+ */
3381
+ usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
3382
+ export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
3235
3383
  }
3236
3384
  declare module "libs/reach/ui/common/src/content-keyword-utils" {
3237
3385
  import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
@@ -3293,7 +3441,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
3293
3441
  export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3294
3442
  }
3295
3443
  declare module "libs/reach/ui/common/src/common/Utils" {
3296
- import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3444
+ import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
3297
3445
  import { IntlShape } from 'react-intl';
3298
3446
  import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
3299
3447
  export function isValidUrl(url: string): boolean;
@@ -3305,9 +3453,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
3305
3453
  export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
3306
3454
  export function getSubscriptionName(subscription: SubscriptionSummary): string;
3307
3455
  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}";
3308
- export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3309
- logo: any;
3310
- subscriptionName: any;
3456
+ export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
3457
+ logoInfo: LogoInfo;
3458
+ subscriptionName: string;
3311
3459
  };
3312
3460
  export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
3313
3461
  export function delay(delayInMs: number): Promise<unknown>;
@@ -3512,6 +3660,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
3512
3660
  className?: string;
3513
3661
  }>;
3514
3662
  }
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
+ }
3515
3668
  declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3516
3669
  import { FC } from 'react';
3517
3670
  export enum FabNavigationPosition {
@@ -3542,9 +3695,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
3542
3695
  export const FabButtonWithCallout: FC<{
3543
3696
  iconName: string;
3544
3697
  tooltipResourceKey: string;
3698
+ titleResourceKey?: string;
3545
3699
  showCloseButton?: boolean;
3546
3700
  useSecondaryBgColor?: boolean;
3547
3701
  domIdentifier?: string;
3702
+ useMobileFullHeight?: boolean;
3548
3703
  }>;
3549
3704
  export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
3550
3705
  }
@@ -3622,11 +3777,6 @@ declare module "libs/reach/ui/common/src/common/Logos" {
3622
3777
  export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
3623
3778
  export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
3624
3779
  }
3625
- declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
3626
- import { FC } from 'react';
3627
- import { IDialogProps } from 'office-ui-fabric-react';
3628
- export const MobileFullHeightDialog: FC<IDialogProps>;
3629
- }
3630
3780
  declare module "libs/reach/ui/common/src/common/Modified" {
3631
3781
  import { FC } from 'react';
3632
3782
  export const Modified: FC<{
@@ -4785,7 +4935,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4785
4935
  }
4786
4936
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4787
4937
  import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
4788
- import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
4938
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4789
4939
  import { Account } from "libs/reach/util/common/src/index";
4790
4940
  import { Language } from "libs/reach/util/common/src/index";
4791
4941
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4800,7 +4950,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4800
4950
  setSubscriptionName: (name: string) => Promise<string>;
4801
4951
  setSubscriptionHandle: (handle: string) => Promise<string>;
4802
4952
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4803
- updateLogo: (file?: File) => Promise<void>;
4953
+ updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4804
4954
  updateFavicon: (file?: File) => Promise<void>;
4805
4955
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4806
4956
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4840,6 +4990,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
4840
4990
  className?: string;
4841
4991
  }>;
4842
4992
  }
4993
+ declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
4994
+ import { FC } from 'react';
4995
+ export const ContrastInfo: FC<{
4996
+ foregroundColor: string;
4997
+ backgroundColor: string;
4998
+ className?: string;
4999
+ }>;
5000
+ }
5001
+ declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
5002
+ import { FC } from 'react';
5003
+ export const ColorButton: FC<{
5004
+ onClick: () => void;
5005
+ text: string;
5006
+ backgroundColor: string;
5007
+ color: string;
5008
+ }>;
5009
+ }
5010
+ declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
5011
+ import { FC } from 'react';
5012
+ export const ColorOnWhitePreview: FC;
5013
+ }
5014
+ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
5015
+ import { FC } from 'react';
5016
+ export const ThemeContrastPreview: FC<{
5017
+ backgroundColor: string;
5018
+ foregroundColor: string;
5019
+ }>;
5020
+ }
4843
5021
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
4844
5022
  import { FC } from 'react';
4845
5023
  export const Themes: FC;
@@ -4849,6 +5027,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
4849
5027
  import './ApplicationName.scss';
4850
5028
  export const ApplicationName: FC;
4851
5029
  }
5030
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
5031
+ import { FC } from 'react';
5032
+ export const AppBarLogoPreview: FC<{
5033
+ src: string;
5034
+ subscriptionName: string;
5035
+ }>;
5036
+ export const SidePanelLogoPreview: FC<{
5037
+ src: string;
5038
+ subscriptionName: string;
5039
+ }>;
5040
+ export const EmailLogoPreview: FC<{
5041
+ src: string;
5042
+ subscriptionName: string;
5043
+ }>;
5044
+ export const SignInLogoPreview: FC<{
5045
+ src: string;
5046
+ }>;
5047
+ }
5048
+ declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
5049
+ import { FC } from 'react';
5050
+ import { LogoSize } from "libs/reach/util/common/src/index";
5051
+ export const LogoPreviewDialog: FC<{
5052
+ canSave: boolean;
5053
+ onDismiss: () => unknown;
5054
+ onSave: (logoSize: LogoSize) => unknown;
5055
+ source: string;
5056
+ logoType: LogoSize;
5057
+ }>;
5058
+ }
5059
+ declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
5060
+ import { FC } from 'react';
5061
+ import { LogoSize } from "libs/reach/util/common/src/index";
5062
+ export const LogoEditor: FC<{
5063
+ logoType: LogoSize;
5064
+ }>;
5065
+ }
4852
5066
  declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
4853
5067
  import { FC } from 'react';
4854
5068
  export const ApplicationLogo: FC;
@@ -6314,7 +6528,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
6314
6528
  declare module "libs/reach/feature/content/src/comments/CommentInput" {
6315
6529
  import { ReactNode } from 'react';
6316
6530
  import { Account } from "libs/reach/util/common/src/index";
6317
- import { CommentInputTheme } from "libs/reach/ui/common/src/index";
6318
6531
  export interface UserSuggestion {
6319
6532
  id: string;
6320
6533
  upn: string;
@@ -6334,13 +6547,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
6334
6547
  onCtrlEnter?: () => unknown;
6335
6548
  onChange?: (value: string) => void;
6336
6549
  onFocus?: () => void;
6337
- buttons?: ReactNode;
6550
+ additionalInputControl?: ReactNode;
6551
+ buttons?: {
6552
+ leftSide?: ReactNode;
6553
+ rightSide?: ReactNode;
6554
+ };
6338
6555
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
6339
- inputTheme?: CommentInputTheme;
6340
6556
  placeHolderStringResourceKey?: string;
6341
6557
  placeHolderStringResourceValues?: {
6342
6558
  [key: string]: string | number | boolean | Date;
6343
6559
  };
6560
+ disableBoxShadow?: boolean;
6561
+ ariaLabel?: string;
6344
6562
  }
6345
6563
  export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
6346
6564
  }
@@ -6354,18 +6572,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
6354
6572
  isLarge: boolean;
6355
6573
  }>;
6356
6574
  }
6357
- declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
6358
- import { FC } from 'react';
6359
- import { Keyword } from "libs/reach/util/common/src/index";
6360
- export const KeywordsPicker: FC<{
6361
- defaultKeywords?: {
6362
- [key: string]: Keyword[];
6363
- };
6364
- availableKeywords?: Keyword[];
6365
- mandatoryKeywords?: Keyword[];
6366
- onChangeKeywords: (keywords: Keyword[]) => void;
6367
- }>;
6368
- }
6369
6575
  declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
6370
6576
  import { VideoSource } from "libs/reach/util/common/src/index";
6371
6577
  export interface KalturaProperties {
@@ -6767,7 +6973,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
6767
6973
  declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6768
6974
  import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
6769
6975
  import { Attachment } from "libs/reach/util/common/src/index";
6770
- import { Keyword } from "libs/reach/util/common/src/index";
6771
6976
  export interface ClientAttachment extends Attachment {
6772
6977
  file?: File;
6773
6978
  }
@@ -6781,14 +6986,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6781
6986
  onAttachmentsChange: (attachments: Attachments) => void;
6782
6987
  onDeleteAttachment?: (attachment: Attachment) => void;
6783
6988
  placeHolderStringResourceKey?: string;
6784
- allowKeywords?: boolean;
6785
- defaultKeywords?: {
6786
- [key: string]: Keyword[];
6787
- };
6788
- availableKeywords?: Keyword[];
6789
- mandatoryKeywords?: Keyword[];
6790
- showKeywordsPicker?: boolean;
6791
- onKeywordsChange?: (keywords: Keyword[]) => void;
6792
6989
  disableAddGif?: boolean;
6793
6990
  disableAddFiles?: boolean;
6794
6991
  };
@@ -6801,14 +6998,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
6801
6998
  onAttachmentsChange: (attachments: Attachments) => void;
6802
6999
  onDeleteAttachment?: (attachment: Attachment) => void;
6803
7000
  placeHolderStringResourceKey?: string;
6804
- allowKeywords?: boolean;
6805
- defaultKeywords?: {
6806
- [key: string]: Keyword[];
6807
- };
6808
- availableKeywords?: Keyword[];
6809
- mandatoryKeywords?: Keyword[];
6810
- showKeywordsPicker?: boolean;
6811
- onKeywordsChange?: (keywords: Keyword[]) => void;
6812
7001
  disableAddGif?: boolean;
6813
7002
  disableAddFiles?: boolean;
6814
7003
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -7430,7 +7619,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
7430
7619
  Table = "table",
7431
7620
  Contact = "contact",
7432
7621
  InlinePageList = "inline-page-list",
7433
- UrlPreview = "url-preview"
7622
+ UrlPreview = "url-preview",
7623
+ ActionButton = "action-button"
7434
7624
  }
7435
7625
  export interface HtmlComponentMapper {
7436
7626
  component: FC<any>;
@@ -7747,14 +7937,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7747
7937
  onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
7748
7938
  onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
7749
7939
  placeHolderStringResourceKey?: string;
7750
- allowKeywords?: boolean;
7751
- defaultKeywords?: {
7752
- [key: string]: import("@livetiles/reach/util/common").Keyword[];
7753
- };
7754
- availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
7755
- mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
7756
- showKeywordsPicker?: boolean;
7757
- onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
7758
7940
  disableAddGif?: boolean;
7759
7941
  disableAddFiles?: boolean;
7760
7942
  } & {
@@ -7763,6 +7945,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
7763
7945
  attachmentPreviewTheme?: CommentInputTheme;
7764
7946
  } & import("react").RefAttributes<HTMLInputElement>>;
7765
7947
  }
7948
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
7949
+ import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
7950
+ import { FC } from 'react';
7951
+ interface Props {
7952
+ group: KeywordGroup;
7953
+ keywords?: Keyword[];
7954
+ expanded?: boolean;
7955
+ selectedKeywords: Keyword[];
7956
+ onChange?: (keywords: Keyword[]) => void;
7957
+ mandatoryKeywordIds?: string[];
7958
+ }
7959
+ export const KeywordPickerGroup: FC<Props>;
7960
+ }
7961
+ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
7962
+ import { FC } from 'react';
7963
+ import { Keyword } from "libs/reach/util/common/src/index";
7964
+ interface Props {
7965
+ value?: Keyword[] | string[];
7966
+ onChange: (keywords: Keyword[]) => void;
7967
+ showSelectionToggle?: boolean;
7968
+ availableKeywords?: Keyword[];
7969
+ mandatoryKeywordIds?: string[];
7970
+ className?: string;
7971
+ }
7972
+ export const KeywordPicker: FC<Props>;
7973
+ }
7974
+ declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
7975
+ import { Keyword } from "libs/reach/util/common/src/index";
7976
+ import { FC } from 'react';
7977
+ export const AddKeywordsButton: FC<{
7978
+ availableKeywords?: Keyword[];
7979
+ mandatoryKeywords?: Keyword[];
7980
+ preselectedKeywords?: Keyword[];
7981
+ onKeywordsChange?: (keywords: Keyword[]) => void;
7982
+ disabled?: boolean;
7983
+ keywordPickerTitleResourceKey?: string;
7984
+ }>;
7985
+ }
7986
+ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
7987
+ import { Keyword } from "libs/reach/util/common/src/index";
7988
+ import { FC } from 'react';
7989
+ export const EditableKeywordsList: FC<{
7990
+ keywords?: Keyword[];
7991
+ mandatoryKeywordIds?: string[];
7992
+ onRemoveKeyword?: (id: string) => void;
7993
+ }>;
7994
+ }
7766
7995
  declare module "libs/reach/feature/content/src/comments/CreateComment" {
7767
7996
  import { FC } from 'react';
7768
7997
  import { Account } from "libs/reach/util/common/src/index";
@@ -7794,6 +8023,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
7794
8023
  defaultKeywords?: Keyword[];
7795
8024
  mandatoryKeywords?: Keyword[];
7796
8025
  };
8026
+ disableBoxShadow?: boolean;
8027
+ ariaLabel?: string;
7797
8028
  }
7798
8029
  interface Props extends BaseProps {
7799
8030
  allowAttachments?: boolean;
@@ -7884,9 +8115,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
7884
8115
  deletedFileUrls?: string[];
7885
8116
  onCancel?: () => void;
7886
8117
  mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7887
- inputTheme?: CommentInputTheme;
7888
8118
  onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
7889
8119
  onDeleteAttachment?: (attachment: ClientAttachment) => void;
8120
+ ariaLabel?: string;
7890
8121
  }
7891
8122
  interface Props extends BaseProps {
7892
8123
  onSave?: (newContent: string, keywords?: {
@@ -7894,14 +8125,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
7894
8125
  }) => void;
7895
8126
  allowAttachments?: boolean;
7896
8127
  allowKeywords?: boolean;
7897
- availableKeywords?: Keyword[];
7898
- mandatoryKeywords?: Keyword[];
8128
+ keywordSettings?: {
8129
+ availableKeywords?: Keyword[];
8130
+ defaultKeywords?: Keyword[];
8131
+ mandatoryKeywords?: Keyword[];
8132
+ };
7899
8133
  keywords?: {
7900
8134
  [key: string]: Keyword[];
7901
8135
  };
7902
8136
  allowSaveWithoutContent?: boolean;
7903
8137
  saveOnEnter?: boolean;
7904
8138
  saveOnCtrlEnter?: boolean;
8139
+ attachmentPreviewTheme?: CommentInputTheme;
7905
8140
  }
7906
8141
  export const EditComment: FC<Props>;
7907
8142
  }
@@ -7923,6 +8158,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
7923
8158
  import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
7924
8159
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
7925
8160
  import { Keyword } from "libs/reach/util/common/src/index";
8161
+ import { CommentInputTheme } from "libs/reach/ui/common/src/index";
7926
8162
  interface Props extends CreateCommentProps {
7927
8163
  onSave: (newContent: string, attachments?: Attachment[], keywords?: {
7928
8164
  [key: string]: Keyword[];
@@ -7930,14 +8166,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
7930
8166
  item: ItemWithAttachments;
7931
8167
  basePath: string;
7932
8168
  allowKeywords?: boolean;
7933
- availableKeywords?: Keyword[];
7934
- mandatoryKeywords?: Keyword[];
8169
+ keywordSettings?: {
8170
+ availableKeywords?: Keyword[];
8171
+ defaultKeywords?: Keyword[];
8172
+ mandatoryKeywords?: Keyword[];
8173
+ };
7935
8174
  keywords?: {
7936
8175
  [key: string]: Keyword[];
7937
8176
  };
7938
8177
  allowSaveWithoutContent?: boolean;
7939
8178
  saveOnEnter?: boolean;
7940
8179
  saveOnCtrlEnter?: boolean;
8180
+ attachmentPreviewTheme?: CommentInputTheme;
7941
8181
  }
7942
8182
  export const EditCommentWithAttachments: FC<Props>;
7943
8183
  export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
@@ -8221,6 +8461,27 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
8221
8461
  children?: ReactNode;
8222
8462
  }>;
8223
8463
  }
8464
+ declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
8465
+ export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
8466
+ isPrimary?: boolean;
8467
+ }, never>;
8468
+ export const InlineActionButtonListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
8469
+ export const InlineActionButtonsHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
8470
+ }
8471
+ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
8472
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8473
+ export interface ActionButtonBlock {
8474
+ blockId: string;
8475
+ actionButtons: {
8476
+ label: string;
8477
+ url: string;
8478
+ isPrimary: boolean;
8479
+ id: string;
8480
+ }[];
8481
+ entityKey?: string;
8482
+ }
8483
+ export const InlineActionButtonMapper: HtmlComponentMapper;
8484
+ }
8224
8485
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
8225
8486
  import { FC } from 'react';
8226
8487
  export const EventDetailViewPeopleInfo: FC;
@@ -9088,6 +9349,8 @@ declare module "libs/reach/feature/content/src/common/index" {
9088
9349
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
9089
9350
  export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
9090
9351
  export * from "libs/reach/feature/content/src/common/body/InlineFileList";
9352
+ export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
9353
+ export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
9091
9354
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
9092
9355
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
9093
9356
  export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
@@ -9151,32 +9414,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
9151
9414
  export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
9152
9415
  export * from "libs/reach/feature/content/src/feedback/utils";
9153
9416
  }
9154
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
9155
- import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
9156
- import { FC } from 'react';
9157
- interface Props {
9158
- group: KeywordGroup;
9159
- keywords?: Keyword[];
9160
- expanded?: boolean;
9161
- selectedKeywords: Keyword[];
9162
- onChange?: (keywords: Keyword[]) => void;
9163
- mandatoryKeywordIds?: string[];
9164
- }
9165
- export const KeywordPickerGroup: FC<Props>;
9166
- }
9167
- declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9168
- import { FC } from 'react';
9169
- import { Keyword } from "libs/reach/util/common/src/index";
9170
- interface Props {
9171
- value?: Keyword[] | string[];
9172
- onChange: (keywords: Keyword[]) => void;
9173
- showSelectionToggle?: boolean;
9174
- availableKeywords?: Keyword[];
9175
- mandatoryKeywordIds?: string[];
9176
- className?: string;
9177
- }
9178
- export const KeywordPicker: FC<Props>;
9179
- }
9180
9417
  declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9181
9418
  import { FC, ReactNode } from 'react';
9182
9419
  import { Keyword } from "libs/reach/util/common/src/index";
@@ -9231,7 +9468,9 @@ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
9231
9468
  onInsert: (files: File[]) => void;
9232
9469
  accept?: string;
9233
9470
  captionKey?: string;
9471
+ captionIconName?: string;
9234
9472
  descriptionKey?: string;
9473
+ descriptionIconName?: string;
9235
9474
  singleMode?: boolean;
9236
9475
  }
9237
9476
  export const InsertFilesButton: FC<Props>;
@@ -9407,6 +9646,15 @@ declare module "libs/reach/feature/content/src/news/index" {
9407
9646
  export * from "libs/reach/feature/content/src/news/useNewsApi";
9408
9647
  export * from "libs/reach/feature/content/src/news/useTranslateApi";
9409
9648
  }
9649
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9650
+ import { FC } from 'react';
9651
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
9652
+ export const SearchHighlighter: FC<{
9653
+ highlight: SearchHighlight;
9654
+ }>;
9655
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9656
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9657
+ }
9410
9658
  declare module "libs/reach/feature/content/src/pages/PageTitle" {
9411
9659
  import { FC } from 'react';
9412
9660
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9435,11 +9683,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
9435
9683
  }
9436
9684
  declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9437
9685
  import { FC } from 'react';
9438
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9686
+ import { PageItem } from "libs/reach/util/common/src/index";
9439
9687
  export const PageListItemBody: FC<{
9440
- contents: {
9441
- [key: string]: PublishableItemContent;
9442
- };
9688
+ page: PageItem;
9443
9689
  search?: string;
9444
9690
  }>;
9445
9691
  }
@@ -9602,6 +9848,10 @@ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
9602
9848
  groups: UserGroup[];
9603
9849
  }>;
9604
9850
  }
9851
+ declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
9852
+ import { FC } from 'react';
9853
+ export const PostGroupSelector: FC;
9854
+ }
9605
9855
  declare module "libs/reach/feature/content/src/posts/PostListItem" {
9606
9856
  import { FC } from 'react';
9607
9857
  import { Post } from "libs/reach/feature/content/src/posts/utils";
@@ -9783,6 +10033,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9783
10033
  isLiked?: boolean;
9784
10034
  isDemoContent?: boolean;
9785
10035
  poll?: import("@livetiles/reach/util/common").Poll;
10036
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9786
10037
  fileAccessToken?: string;
9787
10038
  attachmentContainerId?: string;
9788
10039
  } | {
@@ -9879,6 +10130,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9879
10130
  useExternalContent?: boolean;
9880
10131
  isDemoContent?: boolean;
9881
10132
  poll?: import("@livetiles/reach/util/common").Poll;
10133
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9882
10134
  } | {
9883
10135
  groupId: string;
9884
10136
  attachments: {
@@ -9981,6 +10233,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
9981
10233
  useExternalContent?: boolean;
9982
10234
  isDemoContent?: boolean;
9983
10235
  poll?: import("@livetiles/reach/util/common").Poll;
10236
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
9984
10237
  } | {
9985
10238
  groupId: string;
9986
10239
  attachments: {
@@ -10079,6 +10332,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10079
10332
  useExternalContent?: boolean;
10080
10333
  isDemoContent?: boolean;
10081
10334
  poll?: import("@livetiles/reach/util/common").Poll;
10335
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10082
10336
  } | {
10083
10337
  knownState?: undefined;
10084
10338
  pageType?: undefined;
@@ -10119,6 +10373,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10119
10373
  isLiked?: boolean;
10120
10374
  isDemoContent?: boolean;
10121
10375
  poll?: import("@livetiles/reach/util/common").Poll;
10376
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10122
10377
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10123
10378
  fileAccessToken?: string;
10124
10379
  attachmentContainerId?: string;
@@ -10162,6 +10417,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10162
10417
  isLiked?: boolean;
10163
10418
  isDemoContent?: boolean;
10164
10419
  poll?: import("@livetiles/reach/util/common").Poll;
10420
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10165
10421
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10166
10422
  fileAccessToken?: string;
10167
10423
  attachmentContainerId?: string;
@@ -10205,6 +10461,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10205
10461
  isLiked?: boolean;
10206
10462
  isDemoContent?: boolean;
10207
10463
  poll?: import("@livetiles/reach/util/common").Poll;
10464
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10208
10465
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10209
10466
  fileAccessToken?: string;
10210
10467
  attachmentContainerId?: string;
@@ -10248,6 +10505,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10248
10505
  isLiked?: boolean;
10249
10506
  isDemoContent?: boolean;
10250
10507
  poll?: import("@livetiles/reach/util/common").Poll;
10508
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10251
10509
  attachments?: import("@livetiles/reach/util/common").Attachment[];
10252
10510
  fileAccessToken?: string;
10253
10511
  attachmentContainerId?: string;
@@ -10308,6 +10566,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10308
10566
  useExternalContent?: boolean;
10309
10567
  isDemoContent?: boolean;
10310
10568
  poll?: import("@livetiles/reach/util/common").Poll;
10569
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10311
10570
  } | {
10312
10571
  knownState: KnownNewsState;
10313
10572
  pageType: PageType;
@@ -10365,6 +10624,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10365
10624
  useExternalContent?: boolean;
10366
10625
  isDemoContent?: boolean;
10367
10626
  poll?: import("@livetiles/reach/util/common").Poll;
10627
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10368
10628
  } | {
10369
10629
  knownState?: undefined;
10370
10630
  pageType?: undefined;
@@ -10430,6 +10690,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10430
10690
  useExternalContent?: boolean;
10431
10691
  isDemoContent?: boolean;
10432
10692
  poll?: import("@livetiles/reach/util/common").Poll;
10693
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10433
10694
  } | {
10434
10695
  knownState: KnownNewsState;
10435
10696
  pageType?: undefined;
@@ -10495,6 +10756,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10495
10756
  useExternalContent?: boolean;
10496
10757
  isDemoContent?: boolean;
10497
10758
  poll?: import("@livetiles/reach/util/common").Poll;
10759
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10498
10760
  } | {
10499
10761
  knownState?: undefined;
10500
10762
  pageType: PageType;
@@ -10560,6 +10822,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10560
10822
  useExternalContent?: boolean;
10561
10823
  isDemoContent?: boolean;
10562
10824
  poll?: import("@livetiles/reach/util/common").Poll;
10825
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10563
10826
  } | {
10564
10827
  knownState: KnownNewsState;
10565
10828
  pageType: PageType;
@@ -10625,6 +10888,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10625
10888
  useExternalContent?: boolean;
10626
10889
  isDemoContent?: boolean;
10627
10890
  poll?: import("@livetiles/reach/util/common").Poll;
10891
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10628
10892
  } | {
10629
10893
  knownState?: undefined;
10630
10894
  pageType?: PageType;
@@ -10686,6 +10950,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10686
10950
  useExternalContent?: boolean;
10687
10951
  isDemoContent?: boolean;
10688
10952
  poll?: import("@livetiles/reach/util/common").Poll;
10953
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10689
10954
  } | {
10690
10955
  knownState: KnownNewsState;
10691
10956
  pageType?: PageType;
@@ -10747,6 +11012,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
10747
11012
  useExternalContent?: boolean;
10748
11013
  isDemoContent?: boolean;
10749
11014
  poll?: import("@livetiles/reach/util/common").Poll;
11015
+ searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
10750
11016
  })[];
10751
11017
  }
10752
11018
  declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
@@ -10803,6 +11069,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
10803
11069
  export * from "libs/reach/feature/content/src/posts/PostCreator";
10804
11070
  export * from "libs/reach/feature/content/src/posts/PostDisplay";
10805
11071
  export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
11072
+ export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
10806
11073
  export * from "libs/reach/feature/content/src/posts/PostListItem";
10807
11074
  export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
10808
11075
  export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
@@ -11052,20 +11319,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
11052
11319
  }
11053
11320
  declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
11054
11321
  import './ContainerWithLogo.scss';
11322
+ import { LogoInfo } from "libs/reach/util/common/src/index";
11323
+ import { FC, ReactNode } from 'react';
11055
11324
  export enum DefaultLogoColor {
11056
11325
  Default = 0,
11057
11326
  White = 1
11058
11327
  }
11059
- type RenderChildren = React.ReactNode | (() => React.ReactNode);
11060
- export const ContainerWithLogo: React.FC<{
11061
- logo?: string;
11062
- logoColor?: DefaultLogoColor;
11328
+ type RenderChildren = ReactNode | (() => ReactNode);
11329
+ export const ContainerWithLogo: FC<{
11330
+ logoInfo?: LogoInfo;
11063
11331
  text?: string;
11064
11332
  headerClassName?: string;
11065
11333
  additionalClasses?: string;
11066
11334
  children: RenderChildren;
11067
11335
  className?: string;
11068
11336
  additionalContent?: RenderChildren;
11337
+ isBrandedContainer?: boolean;
11069
11338
  }>;
11070
11339
  }
11071
11340
  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.433",
7
+ "version": "0.4.0-preview.434",
8
8
  "dependencies": {}
9
9
  }