@livetiles/reach-plugin-types 0.4.0-preview.451 → 0.4.0-preview.452
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.
- package/lib/index.d.ts +502 -119
- 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
|
|
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
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
237
237
|
azuread: MsalConfiguration;
|
|
238
|
-
b2c
|
|
239
|
-
keycloak
|
|
240
|
-
teams
|
|
241
|
-
teamsAustralia
|
|
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/
|
|
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
|
|
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<
|
|
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:
|
|
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" {
|
|
@@ -2488,6 +2586,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2488
2586
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2489
2587
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2490
2588
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2589
|
+
import * as wcag from 'wcag-contrast';
|
|
2491
2590
|
export const defaultThemeColors: Theme;
|
|
2492
2591
|
export const defaultPageBackgroundColor: string;
|
|
2493
2592
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2584,6 +2683,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2584
2683
|
}
|
|
2585
2684
|
export function getDarkAltColor(color: string): string;
|
|
2586
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
|
+
};
|
|
2587
2692
|
}
|
|
2588
2693
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2589
2694
|
import { FC, ReactNode } from 'react';
|
|
@@ -3131,15 +3236,15 @@ declare module "libs/reach/ui/common/src/Link" {
|
|
|
3131
3236
|
}
|
|
3132
3237
|
declare module "libs/reach/ui/common/src/common/TextLink" {
|
|
3133
3238
|
import { CSSProperties, FC } from 'react';
|
|
3134
|
-
interface
|
|
3239
|
+
export interface TextLinkProps {
|
|
3135
3240
|
url: string;
|
|
3136
3241
|
target?: string;
|
|
3137
3242
|
ariaLabel?: string;
|
|
3138
3243
|
className?: string;
|
|
3139
3244
|
style?: CSSProperties;
|
|
3140
3245
|
}
|
|
3141
|
-
export const TextLink: FC<
|
|
3142
|
-
export const ExternalLinkHandler: FC<
|
|
3246
|
+
export const TextLink: FC<TextLinkProps>;
|
|
3247
|
+
export const ExternalLinkHandler: FC<TextLinkProps & {
|
|
3143
3248
|
onClick?: (e: MouseEvent) => unknown;
|
|
3144
3249
|
}>;
|
|
3145
3250
|
}
|
|
@@ -3336,7 +3441,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3336
3441
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3337
3442
|
}
|
|
3338
3443
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3339
|
-
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";
|
|
3340
3445
|
import { IntlShape } from 'react-intl';
|
|
3341
3446
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3342
3447
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3348,9 +3453,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3348
3453
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3349
3454
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3350
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}";
|
|
3351
|
-
export function
|
|
3352
|
-
|
|
3353
|
-
subscriptionName:
|
|
3456
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3457
|
+
logoInfo: LogoInfo;
|
|
3458
|
+
subscriptionName: string;
|
|
3354
3459
|
};
|
|
3355
3460
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3356
3461
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3555,6 +3660,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3555
3660
|
className?: string;
|
|
3556
3661
|
}>;
|
|
3557
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
|
+
}
|
|
3558
3668
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3559
3669
|
import { FC } from 'react';
|
|
3560
3670
|
export enum FabNavigationPosition {
|
|
@@ -3585,9 +3695,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3585
3695
|
export const FabButtonWithCallout: FC<{
|
|
3586
3696
|
iconName: string;
|
|
3587
3697
|
tooltipResourceKey: string;
|
|
3698
|
+
titleResourceKey?: string;
|
|
3588
3699
|
showCloseButton?: boolean;
|
|
3589
3700
|
useSecondaryBgColor?: boolean;
|
|
3590
3701
|
domIdentifier?: string;
|
|
3702
|
+
useMobileFullHeight?: boolean;
|
|
3591
3703
|
}>;
|
|
3592
3704
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3593
3705
|
}
|
|
@@ -3665,11 +3777,6 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3665
3777
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3666
3778
|
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3667
3779
|
}
|
|
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
|
-
}
|
|
3673
3780
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3674
3781
|
import { FC } from 'react';
|
|
3675
3782
|
export const Modified: FC<{
|
|
@@ -4237,7 +4344,10 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4237
4344
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4238
4345
|
import { DependencyList } from 'react';
|
|
4239
4346
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4240
|
-
export
|
|
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): {
|
|
4241
4351
|
items: any[];
|
|
4242
4352
|
isInitialLoading: boolean;
|
|
4243
4353
|
isLoadingNextPage: boolean;
|
|
@@ -4828,7 +4938,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4828
4938
|
}
|
|
4829
4939
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4830
4940
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4831
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4941
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4832
4942
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4833
4943
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4834
4944
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4843,7 +4953,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4843
4953
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4844
4954
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4845
4955
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4846
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4956
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4847
4957
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4848
4958
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4849
4959
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4883,6 +4993,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4883
4993
|
className?: string;
|
|
4884
4994
|
}>;
|
|
4885
4995
|
}
|
|
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
|
+
}
|
|
4886
5024
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4887
5025
|
import { FC } from 'react';
|
|
4888
5026
|
export const Themes: FC;
|
|
@@ -4892,6 +5030,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4892
5030
|
import './ApplicationName.scss';
|
|
4893
5031
|
export const ApplicationName: FC;
|
|
4894
5032
|
}
|
|
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
|
+
}
|
|
4895
5069
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4896
5070
|
import { FC } from 'react';
|
|
4897
5071
|
export const ApplicationLogo: FC;
|
|
@@ -6357,7 +6531,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6357
6531
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6358
6532
|
import { ReactNode } from 'react';
|
|
6359
6533
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6360
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6361
6534
|
export interface UserSuggestion {
|
|
6362
6535
|
id: string;
|
|
6363
6536
|
upn: string;
|
|
@@ -6377,13 +6550,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6377
6550
|
onCtrlEnter?: () => unknown;
|
|
6378
6551
|
onChange?: (value: string) => void;
|
|
6379
6552
|
onFocus?: () => void;
|
|
6380
|
-
|
|
6553
|
+
additionalInputControl?: ReactNode;
|
|
6554
|
+
buttons?: {
|
|
6555
|
+
leftSide?: ReactNode;
|
|
6556
|
+
rightSide?: ReactNode;
|
|
6557
|
+
};
|
|
6381
6558
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6382
|
-
inputTheme?: CommentInputTheme;
|
|
6383
6559
|
placeHolderStringResourceKey?: string;
|
|
6384
6560
|
placeHolderStringResourceValues?: {
|
|
6385
6561
|
[key: string]: string | number | boolean | Date;
|
|
6386
6562
|
};
|
|
6563
|
+
disableBoxShadow?: boolean;
|
|
6564
|
+
ariaLabel?: string;
|
|
6387
6565
|
}
|
|
6388
6566
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6389
6567
|
}
|
|
@@ -6397,18 +6575,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6397
6575
|
isLarge: boolean;
|
|
6398
6576
|
}>;
|
|
6399
6577
|
}
|
|
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
|
-
}
|
|
6412
6578
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6413
6579
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6414
6580
|
export interface KalturaProperties {
|
|
@@ -6810,7 +6976,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6810
6976
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6811
6977
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6812
6978
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6813
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6814
6979
|
export interface ClientAttachment extends Attachment {
|
|
6815
6980
|
file?: File;
|
|
6816
6981
|
}
|
|
@@ -6824,14 +6989,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6824
6989
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6825
6990
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6826
6991
|
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;
|
|
6835
6992
|
disableAddGif?: boolean;
|
|
6836
6993
|
disableAddFiles?: boolean;
|
|
6837
6994
|
};
|
|
@@ -6844,14 +7001,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6844
7001
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6845
7002
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6846
7003
|
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;
|
|
6855
7004
|
disableAddGif?: boolean;
|
|
6856
7005
|
disableAddFiles?: boolean;
|
|
6857
7006
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -7019,6 +7168,8 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7019
7168
|
export const EventPeopleInfo: FC<{
|
|
7020
7169
|
item: EventItem;
|
|
7021
7170
|
hideAnnouncer?: boolean;
|
|
7171
|
+
showFirstContactOnly?: boolean;
|
|
7172
|
+
labelResourceKey?: string;
|
|
7022
7173
|
className?: string;
|
|
7023
7174
|
}>;
|
|
7024
7175
|
export const EventChannelsDisplay: FC<{
|
|
@@ -7322,6 +7473,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7322
7473
|
export const EventUserRegistration: FC<{
|
|
7323
7474
|
disabled?: boolean;
|
|
7324
7475
|
hideInfoMessage?: boolean;
|
|
7476
|
+
showNoRegistrationRequired?: boolean;
|
|
7325
7477
|
className?: string;
|
|
7326
7478
|
}>;
|
|
7327
7479
|
}
|
|
@@ -7331,6 +7483,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7331
7483
|
export const EventCardUserRegistration: FC<{
|
|
7332
7484
|
item: EventItem;
|
|
7333
7485
|
disabled?: boolean;
|
|
7486
|
+
showNoRegistrationRequired?: boolean;
|
|
7334
7487
|
className?: string;
|
|
7335
7488
|
}>;
|
|
7336
7489
|
}
|
|
@@ -7473,7 +7626,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7473
7626
|
Table = "table",
|
|
7474
7627
|
Contact = "contact",
|
|
7475
7628
|
InlinePageList = "inline-page-list",
|
|
7476
|
-
UrlPreview = "url-preview"
|
|
7629
|
+
UrlPreview = "url-preview",
|
|
7630
|
+
ActionButton = "action-button"
|
|
7477
7631
|
}
|
|
7478
7632
|
export interface HtmlComponentMapper {
|
|
7479
7633
|
component: FC<any>;
|
|
@@ -7790,14 +7944,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7790
7944
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7791
7945
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7792
7946
|
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;
|
|
7801
7947
|
disableAddGif?: boolean;
|
|
7802
7948
|
disableAddFiles?: boolean;
|
|
7803
7949
|
} & {
|
|
@@ -7806,6 +7952,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7806
7952
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7807
7953
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7808
7954
|
}
|
|
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
|
+
}
|
|
7809
8002
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7810
8003
|
import { FC } from 'react';
|
|
7811
8004
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7837,6 +8030,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7837
8030
|
defaultKeywords?: Keyword[];
|
|
7838
8031
|
mandatoryKeywords?: Keyword[];
|
|
7839
8032
|
};
|
|
8033
|
+
disableBoxShadow?: boolean;
|
|
8034
|
+
ariaLabel?: string;
|
|
7840
8035
|
}
|
|
7841
8036
|
interface Props extends BaseProps {
|
|
7842
8037
|
allowAttachments?: boolean;
|
|
@@ -7927,9 +8122,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7927
8122
|
deletedFileUrls?: string[];
|
|
7928
8123
|
onCancel?: () => void;
|
|
7929
8124
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7930
|
-
inputTheme?: CommentInputTheme;
|
|
7931
8125
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7932
8126
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8127
|
+
ariaLabel?: string;
|
|
7933
8128
|
}
|
|
7934
8129
|
interface Props extends BaseProps {
|
|
7935
8130
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7937,14 +8132,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7937
8132
|
}) => void;
|
|
7938
8133
|
allowAttachments?: boolean;
|
|
7939
8134
|
allowKeywords?: boolean;
|
|
7940
|
-
|
|
7941
|
-
|
|
8135
|
+
keywordSettings?: {
|
|
8136
|
+
availableKeywords?: Keyword[];
|
|
8137
|
+
defaultKeywords?: Keyword[];
|
|
8138
|
+
mandatoryKeywords?: Keyword[];
|
|
8139
|
+
};
|
|
7942
8140
|
keywords?: {
|
|
7943
8141
|
[key: string]: Keyword[];
|
|
7944
8142
|
};
|
|
7945
8143
|
allowSaveWithoutContent?: boolean;
|
|
7946
8144
|
saveOnEnter?: boolean;
|
|
7947
8145
|
saveOnCtrlEnter?: boolean;
|
|
8146
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7948
8147
|
}
|
|
7949
8148
|
export const EditComment: FC<Props>;
|
|
7950
8149
|
}
|
|
@@ -7966,6 +8165,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7966
8165
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7967
8166
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7968
8167
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8168
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7969
8169
|
interface Props extends CreateCommentProps {
|
|
7970
8170
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7971
8171
|
[key: string]: Keyword[];
|
|
@@ -7973,14 +8173,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7973
8173
|
item: ItemWithAttachments;
|
|
7974
8174
|
basePath: string;
|
|
7975
8175
|
allowKeywords?: boolean;
|
|
7976
|
-
|
|
7977
|
-
|
|
8176
|
+
keywordSettings?: {
|
|
8177
|
+
availableKeywords?: Keyword[];
|
|
8178
|
+
defaultKeywords?: Keyword[];
|
|
8179
|
+
mandatoryKeywords?: Keyword[];
|
|
8180
|
+
};
|
|
7978
8181
|
keywords?: {
|
|
7979
8182
|
[key: string]: Keyword[];
|
|
7980
8183
|
};
|
|
7981
8184
|
allowSaveWithoutContent?: boolean;
|
|
7982
8185
|
saveOnEnter?: boolean;
|
|
7983
8186
|
saveOnCtrlEnter?: boolean;
|
|
8187
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7984
8188
|
}
|
|
7985
8189
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7986
8190
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -8052,11 +8256,12 @@ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButt
|
|
|
8052
8256
|
}
|
|
8053
8257
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
8054
8258
|
import { FC } from 'react';
|
|
8055
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8259
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8056
8260
|
export const CardFooter: FC<{
|
|
8057
|
-
item: NewsItem;
|
|
8261
|
+
item: NewsItem | EventItem;
|
|
8058
8262
|
showComments: boolean;
|
|
8059
8263
|
targetRoute: string;
|
|
8264
|
+
itemResourceType: ItemResourceTypes;
|
|
8060
8265
|
}>;
|
|
8061
8266
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8062
8267
|
}
|
|
@@ -8264,6 +8469,27 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
|
8264
8469
|
children?: ReactNode;
|
|
8265
8470
|
}>;
|
|
8266
8471
|
}
|
|
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
|
+
}
|
|
8267
8493
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8268
8494
|
import { FC } from 'react';
|
|
8269
8495
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9129,8 +9355,11 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9129
9355
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9130
9356
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9131
9357
|
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";
|
|
9132
9359
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9133
9360
|
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";
|
|
9134
9363
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9135
9364
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9136
9365
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
@@ -9194,32 +9423,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9194
9423
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9195
9424
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9196
9425
|
}
|
|
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
|
-
}
|
|
9223
9426
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9224
9427
|
import { FC, ReactNode } from 'react';
|
|
9225
9428
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9274,7 +9477,9 @@ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
|
9274
9477
|
onInsert: (files: File[]) => void;
|
|
9275
9478
|
accept?: string;
|
|
9276
9479
|
captionKey?: string;
|
|
9480
|
+
captionIconName?: string;
|
|
9277
9481
|
descriptionKey?: string;
|
|
9482
|
+
descriptionIconName?: string;
|
|
9278
9483
|
singleMode?: boolean;
|
|
9279
9484
|
}
|
|
9280
9485
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9450,6 +9655,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9450
9655
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9451
9656
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9452
9657
|
}
|
|
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
|
+
}
|
|
9453
9667
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9454
9668
|
import { FC } from 'react';
|
|
9455
9669
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9478,11 +9692,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9478
9692
|
}
|
|
9479
9693
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9480
9694
|
import { FC } from 'react';
|
|
9481
|
-
import {
|
|
9695
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9482
9696
|
export const PageListItemBody: FC<{
|
|
9483
|
-
|
|
9484
|
-
[key: string]: PublishableItemContent;
|
|
9485
|
-
};
|
|
9697
|
+
page: PageItem;
|
|
9486
9698
|
search?: string;
|
|
9487
9699
|
}>;
|
|
9488
9700
|
}
|
|
@@ -9645,6 +9857,10 @@ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
|
9645
9857
|
groups: UserGroup[];
|
|
9646
9858
|
}>;
|
|
9647
9859
|
}
|
|
9860
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9861
|
+
import { FC } from 'react';
|
|
9862
|
+
export const PostGroupSelector: FC;
|
|
9863
|
+
}
|
|
9648
9864
|
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9649
9865
|
import { FC } from 'react';
|
|
9650
9866
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9683,7 +9899,7 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
|
|
|
9683
9899
|
}>;
|
|
9684
9900
|
}
|
|
9685
9901
|
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
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";
|
|
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";
|
|
9687
9903
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9688
9904
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9689
9905
|
enum StreamItemTypes {
|
|
@@ -9732,6 +9948,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9732
9948
|
isUnread: boolean;
|
|
9733
9949
|
keywordsList?: Keyword[];
|
|
9734
9950
|
userResponseType?: StreamEventResponse;
|
|
9951
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
9735
9952
|
}
|
|
9736
9953
|
export interface PageStreamItem extends PageItem {
|
|
9737
9954
|
type: StreamItemTypes.Page;
|
|
@@ -9750,6 +9967,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9750
9967
|
intro?: string;
|
|
9751
9968
|
headline?: string;
|
|
9752
9969
|
}
|
|
9970
|
+
interface StreamEventCancelInformation extends EventCancelInformation {
|
|
9971
|
+
cancellationReasons?: {
|
|
9972
|
+
[key: string]: string;
|
|
9973
|
+
}[];
|
|
9974
|
+
}
|
|
9753
9975
|
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9754
9976
|
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9755
9977
|
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
@@ -9826,6 +10048,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9826
10048
|
isLiked?: boolean;
|
|
9827
10049
|
isDemoContent?: boolean;
|
|
9828
10050
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10051
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9829
10052
|
fileAccessToken?: string;
|
|
9830
10053
|
attachmentContainerId?: string;
|
|
9831
10054
|
} | {
|
|
@@ -9922,6 +10145,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9922
10145
|
useExternalContent?: boolean;
|
|
9923
10146
|
isDemoContent?: boolean;
|
|
9924
10147
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10148
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9925
10149
|
} | {
|
|
9926
10150
|
groupId: string;
|
|
9927
10151
|
attachments: {
|
|
@@ -9981,13 +10205,14 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9981
10205
|
isUnread: boolean;
|
|
9982
10206
|
keywordsList?: Keyword[];
|
|
9983
10207
|
userResponseType?: StreamEventResponse;
|
|
10208
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
9984
10209
|
startDate?: string;
|
|
9985
10210
|
endDate?: string;
|
|
9986
10211
|
timeZone?: string;
|
|
9987
10212
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9988
10213
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9989
10214
|
userResponse?: EventResponse;
|
|
9990
|
-
cancelInformation?:
|
|
10215
|
+
cancelInformation?: EventCancelInformation;
|
|
9991
10216
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9992
10217
|
hasNewComments?: boolean;
|
|
9993
10218
|
isLiked?: boolean;
|
|
@@ -10024,6 +10249,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10024
10249
|
useExternalContent?: boolean;
|
|
10025
10250
|
isDemoContent?: boolean;
|
|
10026
10251
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10252
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10027
10253
|
} | {
|
|
10028
10254
|
groupId: string;
|
|
10029
10255
|
attachments: {
|
|
@@ -10122,7 +10348,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10122
10348
|
useExternalContent?: boolean;
|
|
10123
10349
|
isDemoContent?: boolean;
|
|
10124
10350
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10351
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10125
10352
|
} | {
|
|
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
|
+
};
|
|
10126
10364
|
knownState?: undefined;
|
|
10127
10365
|
pageType?: undefined;
|
|
10128
10366
|
navigationContext?: undefined;
|
|
@@ -10162,10 +10400,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10162
10400
|
isLiked?: boolean;
|
|
10163
10401
|
isDemoContent?: boolean;
|
|
10164
10402
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10403
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10165
10404
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10166
10405
|
fileAccessToken?: string;
|
|
10167
10406
|
attachmentContainerId?: string;
|
|
10168
10407
|
} | {
|
|
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
|
+
};
|
|
10169
10419
|
knownState: KnownNewsState;
|
|
10170
10420
|
pageType?: undefined;
|
|
10171
10421
|
navigationContext?: undefined;
|
|
@@ -10205,10 +10455,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10205
10455
|
isLiked?: boolean;
|
|
10206
10456
|
isDemoContent?: boolean;
|
|
10207
10457
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10458
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10208
10459
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10209
10460
|
fileAccessToken?: string;
|
|
10210
10461
|
attachmentContainerId?: string;
|
|
10211
10462
|
} | {
|
|
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
|
+
};
|
|
10212
10474
|
knownState?: undefined;
|
|
10213
10475
|
pageType: PageType;
|
|
10214
10476
|
navigationContext: PageNavigationContext;
|
|
@@ -10248,10 +10510,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10248
10510
|
isLiked?: boolean;
|
|
10249
10511
|
isDemoContent?: boolean;
|
|
10250
10512
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10513
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10251
10514
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10252
10515
|
fileAccessToken?: string;
|
|
10253
10516
|
attachmentContainerId?: string;
|
|
10254
10517
|
} | {
|
|
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
|
+
};
|
|
10255
10529
|
knownState: KnownNewsState;
|
|
10256
10530
|
pageType: PageType;
|
|
10257
10531
|
navigationContext: PageNavigationContext;
|
|
@@ -10291,10 +10565,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10291
10565
|
isLiked?: boolean;
|
|
10292
10566
|
isDemoContent?: boolean;
|
|
10293
10567
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10568
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10294
10569
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10295
10570
|
fileAccessToken?: string;
|
|
10296
10571
|
attachmentContainerId?: string;
|
|
10297
10572
|
} | {
|
|
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
|
+
};
|
|
10298
10584
|
knownState: KnownNewsState;
|
|
10299
10585
|
pageType?: undefined;
|
|
10300
10586
|
navigationContext?: undefined;
|
|
@@ -10351,7 +10637,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10351
10637
|
useExternalContent?: boolean;
|
|
10352
10638
|
isDemoContent?: boolean;
|
|
10353
10639
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10640
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10354
10641
|
} | {
|
|
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
|
+
};
|
|
10355
10653
|
knownState: KnownNewsState;
|
|
10356
10654
|
pageType: PageType;
|
|
10357
10655
|
navigationContext: PageNavigationContext;
|
|
@@ -10408,7 +10706,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10408
10706
|
useExternalContent?: boolean;
|
|
10409
10707
|
isDemoContent?: boolean;
|
|
10410
10708
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10709
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10411
10710
|
} | {
|
|
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
|
+
};
|
|
10412
10722
|
knownState?: undefined;
|
|
10413
10723
|
pageType?: undefined;
|
|
10414
10724
|
navigationContext?: undefined;
|
|
@@ -10434,12 +10744,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10434
10744
|
isUnread: boolean;
|
|
10435
10745
|
keywordsList?: Keyword[];
|
|
10436
10746
|
userResponseType?: StreamEventResponse;
|
|
10747
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10437
10748
|
startDate?: string;
|
|
10438
10749
|
endDate?: string;
|
|
10439
10750
|
timeZone?: string;
|
|
10440
10751
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10441
10752
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10442
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10443
10753
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10444
10754
|
hasNewComments?: boolean;
|
|
10445
10755
|
isLiked?: boolean;
|
|
@@ -10473,7 +10783,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10473
10783
|
useExternalContent?: boolean;
|
|
10474
10784
|
isDemoContent?: boolean;
|
|
10475
10785
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10786
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10476
10787
|
} | {
|
|
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
|
+
};
|
|
10477
10799
|
knownState: KnownNewsState;
|
|
10478
10800
|
pageType?: undefined;
|
|
10479
10801
|
navigationContext?: undefined;
|
|
@@ -10499,12 +10821,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10499
10821
|
isUnread: boolean;
|
|
10500
10822
|
keywordsList?: Keyword[];
|
|
10501
10823
|
userResponseType?: StreamEventResponse;
|
|
10824
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10502
10825
|
startDate?: string;
|
|
10503
10826
|
endDate?: string;
|
|
10504
10827
|
timeZone?: string;
|
|
10505
10828
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10506
10829
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10507
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10508
10830
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10509
10831
|
hasNewComments?: boolean;
|
|
10510
10832
|
isLiked?: boolean;
|
|
@@ -10538,7 +10860,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10538
10860
|
useExternalContent?: boolean;
|
|
10539
10861
|
isDemoContent?: boolean;
|
|
10540
10862
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10863
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10541
10864
|
} | {
|
|
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
|
+
};
|
|
10542
10876
|
knownState?: undefined;
|
|
10543
10877
|
pageType: PageType;
|
|
10544
10878
|
navigationContext: PageNavigationContext;
|
|
@@ -10564,12 +10898,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10564
10898
|
isUnread: boolean;
|
|
10565
10899
|
keywordsList?: Keyword[];
|
|
10566
10900
|
userResponseType?: StreamEventResponse;
|
|
10901
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10567
10902
|
startDate?: string;
|
|
10568
10903
|
endDate?: string;
|
|
10569
10904
|
timeZone?: string;
|
|
10570
10905
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10571
10906
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10572
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10573
10907
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10574
10908
|
hasNewComments?: boolean;
|
|
10575
10909
|
isLiked?: boolean;
|
|
@@ -10603,7 +10937,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10603
10937
|
useExternalContent?: boolean;
|
|
10604
10938
|
isDemoContent?: boolean;
|
|
10605
10939
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10940
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10606
10941
|
} | {
|
|
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
|
+
};
|
|
10607
10953
|
knownState: KnownNewsState;
|
|
10608
10954
|
pageType: PageType;
|
|
10609
10955
|
navigationContext: PageNavigationContext;
|
|
@@ -10629,12 +10975,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10629
10975
|
isUnread: boolean;
|
|
10630
10976
|
keywordsList?: Keyword[];
|
|
10631
10977
|
userResponseType?: StreamEventResponse;
|
|
10978
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10632
10979
|
startDate?: string;
|
|
10633
10980
|
endDate?: string;
|
|
10634
10981
|
timeZone?: string;
|
|
10635
10982
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10636
10983
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10637
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10638
10984
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10639
10985
|
hasNewComments?: boolean;
|
|
10640
10986
|
isLiked?: boolean;
|
|
@@ -10668,7 +11014,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10668
11014
|
useExternalContent?: boolean;
|
|
10669
11015
|
isDemoContent?: boolean;
|
|
10670
11016
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11017
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10671
11018
|
} | {
|
|
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
|
+
};
|
|
10672
11030
|
knownState?: undefined;
|
|
10673
11031
|
pageType?: PageType;
|
|
10674
11032
|
navigationContext?: PageNavigationContext;
|
|
@@ -10729,7 +11087,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10729
11087
|
useExternalContent?: boolean;
|
|
10730
11088
|
isDemoContent?: boolean;
|
|
10731
11089
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11090
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10732
11091
|
} | {
|
|
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
|
+
};
|
|
10733
11103
|
knownState: KnownNewsState;
|
|
10734
11104
|
pageType?: PageType;
|
|
10735
11105
|
navigationContext?: PageNavigationContext;
|
|
@@ -10790,6 +11160,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10790
11160
|
useExternalContent?: boolean;
|
|
10791
11161
|
isDemoContent?: boolean;
|
|
10792
11162
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11163
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10793
11164
|
})[];
|
|
10794
11165
|
}
|
|
10795
11166
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
@@ -10824,6 +11195,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10824
11195
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
10825
11196
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10826
11197
|
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11198
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10827
11199
|
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10828
11200
|
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10829
11201
|
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
@@ -10846,6 +11218,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
10846
11218
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10847
11219
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10848
11220
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11221
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10849
11222
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
10850
11223
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
10851
11224
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -10993,12 +11366,19 @@ declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
|
10993
11366
|
export const StreamList: FC;
|
|
10994
11367
|
}
|
|
10995
11368
|
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10996
|
-
import {
|
|
10997
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/
|
|
11369
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11370
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
10998
11371
|
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10999
|
-
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string):
|
|
11372
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): ItemLoader<NewsStreamItem, number>;
|
|
11000
11373
|
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11001
11374
|
}
|
|
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
|
+
}
|
|
11002
11382
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11003
11383
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11004
11384
|
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11007,6 +11387,7 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11007
11387
|
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11008
11388
|
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11009
11389
|
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11390
|
+
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
11010
11391
|
}
|
|
11011
11392
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11012
11393
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
@@ -11095,20 +11476,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
11095
11476
|
}
|
|
11096
11477
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
11097
11478
|
import './ContainerWithLogo.scss';
|
|
11479
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11480
|
+
import { FC, ReactNode } from 'react';
|
|
11098
11481
|
export enum DefaultLogoColor {
|
|
11099
11482
|
Default = 0,
|
|
11100
11483
|
White = 1
|
|
11101
11484
|
}
|
|
11102
|
-
type RenderChildren =
|
|
11103
|
-
export const ContainerWithLogo:
|
|
11104
|
-
|
|
11105
|
-
logoColor?: DefaultLogoColor;
|
|
11485
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11486
|
+
export const ContainerWithLogo: FC<{
|
|
11487
|
+
logoInfo?: LogoInfo;
|
|
11106
11488
|
text?: string;
|
|
11107
11489
|
headerClassName?: string;
|
|
11108
11490
|
additionalClasses?: string;
|
|
11109
11491
|
children: RenderChildren;
|
|
11110
11492
|
className?: string;
|
|
11111
11493
|
additionalContent?: RenderChildren;
|
|
11494
|
+
isBrandedContainer?: boolean;
|
|
11112
11495
|
}>;
|
|
11113
11496
|
}
|
|
11114
11497
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|