@livetiles/reach-plugin-types 0.4.0-preview.451 → 0.4.0-preview.454
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 +509 -123
- 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" {
|
|
@@ -2418,18 +2516,21 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2418
2516
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2419
2517
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2420
2518
|
}
|
|
2519
|
+
declare module "libs/reach/util/common/src/plugins/utils" {
|
|
2520
|
+
export function silenceNotFound(reason: any): any;
|
|
2521
|
+
}
|
|
2421
2522
|
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2422
2523
|
import { DependencyList } from 'react';
|
|
2423
2524
|
import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
|
|
2424
2525
|
import { Api } from 'restful.js';
|
|
2425
2526
|
export function usePluginUserStore(): PluginStore;
|
|
2426
2527
|
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2427
|
-
data:
|
|
2528
|
+
data: any;
|
|
2428
2529
|
set: (newValue: T) => Promise<unknown>;
|
|
2429
2530
|
isLoading: boolean;
|
|
2430
2531
|
error: any;
|
|
2431
2532
|
refresh: () => void;
|
|
2432
|
-
remove: () => Promise<
|
|
2533
|
+
remove: () => Promise<any>;
|
|
2433
2534
|
};
|
|
2434
2535
|
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginStore;
|
|
2435
2536
|
}
|
|
@@ -2439,12 +2540,12 @@ declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
|
2439
2540
|
import { Api } from 'restful.js';
|
|
2440
2541
|
export function usePluginSubscriptionStore(): PluginStore;
|
|
2441
2542
|
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2442
|
-
data:
|
|
2543
|
+
data: any;
|
|
2443
2544
|
set: (newValue: T) => Promise<unknown>;
|
|
2444
2545
|
isLoading: boolean;
|
|
2445
2546
|
error: any;
|
|
2446
2547
|
refresh: () => void;
|
|
2447
|
-
remove: () => Promise<
|
|
2548
|
+
remove: () => Promise<any>;
|
|
2448
2549
|
};
|
|
2449
2550
|
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginStore;
|
|
2450
2551
|
}
|
|
@@ -2488,6 +2589,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2488
2589
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2489
2590
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2490
2591
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2592
|
+
import * as wcag from 'wcag-contrast';
|
|
2491
2593
|
export const defaultThemeColors: Theme;
|
|
2492
2594
|
export const defaultPageBackgroundColor: string;
|
|
2493
2595
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2584,6 +2686,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2584
2686
|
}
|
|
2585
2687
|
export function getDarkAltColor(color: string): string;
|
|
2586
2688
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2689
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2690
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2691
|
+
contrast: string;
|
|
2692
|
+
score: wcag.Score;
|
|
2693
|
+
isGood: boolean;
|
|
2694
|
+
};
|
|
2587
2695
|
}
|
|
2588
2696
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2589
2697
|
import { FC, ReactNode } from 'react';
|
|
@@ -3131,15 +3239,15 @@ declare module "libs/reach/ui/common/src/Link" {
|
|
|
3131
3239
|
}
|
|
3132
3240
|
declare module "libs/reach/ui/common/src/common/TextLink" {
|
|
3133
3241
|
import { CSSProperties, FC } from 'react';
|
|
3134
|
-
interface
|
|
3242
|
+
export interface TextLinkProps {
|
|
3135
3243
|
url: string;
|
|
3136
3244
|
target?: string;
|
|
3137
3245
|
ariaLabel?: string;
|
|
3138
3246
|
className?: string;
|
|
3139
3247
|
style?: CSSProperties;
|
|
3140
3248
|
}
|
|
3141
|
-
export const TextLink: FC<
|
|
3142
|
-
export const ExternalLinkHandler: FC<
|
|
3249
|
+
export const TextLink: FC<TextLinkProps>;
|
|
3250
|
+
export const ExternalLinkHandler: FC<TextLinkProps & {
|
|
3143
3251
|
onClick?: (e: MouseEvent) => unknown;
|
|
3144
3252
|
}>;
|
|
3145
3253
|
}
|
|
@@ -3336,7 +3444,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3336
3444
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3337
3445
|
}
|
|
3338
3446
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3339
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3447
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3340
3448
|
import { IntlShape } from 'react-intl';
|
|
3341
3449
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3342
3450
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3348,9 +3456,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3348
3456
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3349
3457
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3350
3458
|
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:
|
|
3459
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3460
|
+
logoInfo: LogoInfo;
|
|
3461
|
+
subscriptionName: string;
|
|
3354
3462
|
};
|
|
3355
3463
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3356
3464
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3555,6 +3663,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3555
3663
|
className?: string;
|
|
3556
3664
|
}>;
|
|
3557
3665
|
}
|
|
3666
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3667
|
+
import { FC } from 'react';
|
|
3668
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3669
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3670
|
+
}
|
|
3558
3671
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3559
3672
|
import { FC } from 'react';
|
|
3560
3673
|
export enum FabNavigationPosition {
|
|
@@ -3585,9 +3698,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3585
3698
|
export const FabButtonWithCallout: FC<{
|
|
3586
3699
|
iconName: string;
|
|
3587
3700
|
tooltipResourceKey: string;
|
|
3701
|
+
titleResourceKey?: string;
|
|
3588
3702
|
showCloseButton?: boolean;
|
|
3589
3703
|
useSecondaryBgColor?: boolean;
|
|
3590
3704
|
domIdentifier?: string;
|
|
3705
|
+
useMobileFullHeight?: boolean;
|
|
3591
3706
|
}>;
|
|
3592
3707
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3593
3708
|
}
|
|
@@ -3665,11 +3780,6 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3665
3780
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3666
3781
|
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3667
3782
|
}
|
|
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
3783
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3674
3784
|
import { FC } from 'react';
|
|
3675
3785
|
export const Modified: FC<{
|
|
@@ -4237,7 +4347,10 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4237
4347
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4238
4348
|
import { DependencyList } from 'react';
|
|
4239
4349
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4240
|
-
export
|
|
4350
|
+
export interface ItemLoader<TItem, TTokenType> {
|
|
4351
|
+
(pageSize: number, token?: TTokenType): Promise<PaginatedList<TItem>>;
|
|
4352
|
+
}
|
|
4353
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: ItemLoader<TItem, TTokenType>, deps?: DependencyList): {
|
|
4241
4354
|
items: any[];
|
|
4242
4355
|
isInitialLoading: boolean;
|
|
4243
4356
|
isLoadingNextPage: boolean;
|
|
@@ -4828,7 +4941,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4828
4941
|
}
|
|
4829
4942
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4830
4943
|
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";
|
|
4944
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4832
4945
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4833
4946
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4834
4947
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4843,7 +4956,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4843
4956
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4844
4957
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4845
4958
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4846
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4959
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4847
4960
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4848
4961
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4849
4962
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4883,6 +4996,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4883
4996
|
className?: string;
|
|
4884
4997
|
}>;
|
|
4885
4998
|
}
|
|
4999
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
5000
|
+
import { FC } from 'react';
|
|
5001
|
+
export const ContrastInfo: FC<{
|
|
5002
|
+
foregroundColor: string;
|
|
5003
|
+
backgroundColor: string;
|
|
5004
|
+
className?: string;
|
|
5005
|
+
}>;
|
|
5006
|
+
}
|
|
5007
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5008
|
+
import { FC } from 'react';
|
|
5009
|
+
export const ColorButton: FC<{
|
|
5010
|
+
onClick: () => void;
|
|
5011
|
+
text: string;
|
|
5012
|
+
backgroundColor: string;
|
|
5013
|
+
color: string;
|
|
5014
|
+
}>;
|
|
5015
|
+
}
|
|
5016
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5017
|
+
import { FC } from 'react';
|
|
5018
|
+
export const ColorOnWhitePreview: FC;
|
|
5019
|
+
}
|
|
5020
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5021
|
+
import { FC } from 'react';
|
|
5022
|
+
export const ThemeContrastPreview: FC<{
|
|
5023
|
+
backgroundColor: string;
|
|
5024
|
+
foregroundColor: string;
|
|
5025
|
+
}>;
|
|
5026
|
+
}
|
|
4886
5027
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4887
5028
|
import { FC } from 'react';
|
|
4888
5029
|
export const Themes: FC;
|
|
@@ -4892,6 +5033,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4892
5033
|
import './ApplicationName.scss';
|
|
4893
5034
|
export const ApplicationName: FC;
|
|
4894
5035
|
}
|
|
5036
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5037
|
+
import { FC } from 'react';
|
|
5038
|
+
export const AppBarLogoPreview: FC<{
|
|
5039
|
+
src: string;
|
|
5040
|
+
subscriptionName: string;
|
|
5041
|
+
}>;
|
|
5042
|
+
export const SidePanelLogoPreview: FC<{
|
|
5043
|
+
src: string;
|
|
5044
|
+
subscriptionName: string;
|
|
5045
|
+
}>;
|
|
5046
|
+
export const EmailLogoPreview: FC<{
|
|
5047
|
+
src: string;
|
|
5048
|
+
subscriptionName: string;
|
|
5049
|
+
}>;
|
|
5050
|
+
export const SignInLogoPreview: FC<{
|
|
5051
|
+
src: string;
|
|
5052
|
+
}>;
|
|
5053
|
+
}
|
|
5054
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5055
|
+
import { FC } from 'react';
|
|
5056
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5057
|
+
export const LogoPreviewDialog: FC<{
|
|
5058
|
+
canSave: boolean;
|
|
5059
|
+
onDismiss: () => unknown;
|
|
5060
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5061
|
+
source: string;
|
|
5062
|
+
logoType: LogoSize;
|
|
5063
|
+
}>;
|
|
5064
|
+
}
|
|
5065
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5066
|
+
import { FC } from 'react';
|
|
5067
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5068
|
+
export const LogoEditor: FC<{
|
|
5069
|
+
logoType: LogoSize;
|
|
5070
|
+
}>;
|
|
5071
|
+
}
|
|
4895
5072
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4896
5073
|
import { FC } from 'react';
|
|
4897
5074
|
export const ApplicationLogo: FC;
|
|
@@ -6357,7 +6534,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6357
6534
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6358
6535
|
import { ReactNode } from 'react';
|
|
6359
6536
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6360
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6361
6537
|
export interface UserSuggestion {
|
|
6362
6538
|
id: string;
|
|
6363
6539
|
upn: string;
|
|
@@ -6377,13 +6553,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6377
6553
|
onCtrlEnter?: () => unknown;
|
|
6378
6554
|
onChange?: (value: string) => void;
|
|
6379
6555
|
onFocus?: () => void;
|
|
6380
|
-
|
|
6556
|
+
additionalInputControl?: ReactNode;
|
|
6557
|
+
buttons?: {
|
|
6558
|
+
leftSide?: ReactNode;
|
|
6559
|
+
rightSide?: ReactNode;
|
|
6560
|
+
};
|
|
6381
6561
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6382
|
-
inputTheme?: CommentInputTheme;
|
|
6383
6562
|
placeHolderStringResourceKey?: string;
|
|
6384
6563
|
placeHolderStringResourceValues?: {
|
|
6385
6564
|
[key: string]: string | number | boolean | Date;
|
|
6386
6565
|
};
|
|
6566
|
+
disableBoxShadow?: boolean;
|
|
6567
|
+
ariaLabel?: string;
|
|
6387
6568
|
}
|
|
6388
6569
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6389
6570
|
}
|
|
@@ -6397,18 +6578,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6397
6578
|
isLarge: boolean;
|
|
6398
6579
|
}>;
|
|
6399
6580
|
}
|
|
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
6581
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6413
6582
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6414
6583
|
export interface KalturaProperties {
|
|
@@ -6810,7 +6979,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6810
6979
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6811
6980
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6812
6981
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6813
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6814
6982
|
export interface ClientAttachment extends Attachment {
|
|
6815
6983
|
file?: File;
|
|
6816
6984
|
}
|
|
@@ -6824,14 +6992,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6824
6992
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6825
6993
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6826
6994
|
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
6995
|
disableAddGif?: boolean;
|
|
6836
6996
|
disableAddFiles?: boolean;
|
|
6837
6997
|
};
|
|
@@ -6844,14 +7004,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6844
7004
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6845
7005
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6846
7006
|
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
7007
|
disableAddGif?: boolean;
|
|
6856
7008
|
disableAddFiles?: boolean;
|
|
6857
7009
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -7019,6 +7171,8 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7019
7171
|
export const EventPeopleInfo: FC<{
|
|
7020
7172
|
item: EventItem;
|
|
7021
7173
|
hideAnnouncer?: boolean;
|
|
7174
|
+
showFirstContactOnly?: boolean;
|
|
7175
|
+
labelResourceKey?: string;
|
|
7022
7176
|
className?: string;
|
|
7023
7177
|
}>;
|
|
7024
7178
|
export const EventChannelsDisplay: FC<{
|
|
@@ -7322,6 +7476,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7322
7476
|
export const EventUserRegistration: FC<{
|
|
7323
7477
|
disabled?: boolean;
|
|
7324
7478
|
hideInfoMessage?: boolean;
|
|
7479
|
+
showNoRegistrationRequired?: boolean;
|
|
7325
7480
|
className?: string;
|
|
7326
7481
|
}>;
|
|
7327
7482
|
}
|
|
@@ -7331,6 +7486,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7331
7486
|
export const EventCardUserRegistration: FC<{
|
|
7332
7487
|
item: EventItem;
|
|
7333
7488
|
disabled?: boolean;
|
|
7489
|
+
showNoRegistrationRequired?: boolean;
|
|
7334
7490
|
className?: string;
|
|
7335
7491
|
}>;
|
|
7336
7492
|
}
|
|
@@ -7473,7 +7629,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7473
7629
|
Table = "table",
|
|
7474
7630
|
Contact = "contact",
|
|
7475
7631
|
InlinePageList = "inline-page-list",
|
|
7476
|
-
UrlPreview = "url-preview"
|
|
7632
|
+
UrlPreview = "url-preview",
|
|
7633
|
+
ActionButton = "action-button"
|
|
7477
7634
|
}
|
|
7478
7635
|
export interface HtmlComponentMapper {
|
|
7479
7636
|
component: FC<any>;
|
|
@@ -7790,14 +7947,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7790
7947
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7791
7948
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7792
7949
|
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
7950
|
disableAddGif?: boolean;
|
|
7802
7951
|
disableAddFiles?: boolean;
|
|
7803
7952
|
} & {
|
|
@@ -7806,6 +7955,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7806
7955
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7807
7956
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7808
7957
|
}
|
|
7958
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7959
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7960
|
+
import { FC } from 'react';
|
|
7961
|
+
interface Props {
|
|
7962
|
+
group: KeywordGroup;
|
|
7963
|
+
keywords?: Keyword[];
|
|
7964
|
+
expanded?: boolean;
|
|
7965
|
+
selectedKeywords: Keyword[];
|
|
7966
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7967
|
+
mandatoryKeywordIds?: string[];
|
|
7968
|
+
}
|
|
7969
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7970
|
+
}
|
|
7971
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7972
|
+
import { FC } from 'react';
|
|
7973
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7974
|
+
interface Props {
|
|
7975
|
+
value?: Keyword[] | string[];
|
|
7976
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7977
|
+
showSelectionToggle?: boolean;
|
|
7978
|
+
availableKeywords?: Keyword[];
|
|
7979
|
+
mandatoryKeywordIds?: string[];
|
|
7980
|
+
className?: string;
|
|
7981
|
+
}
|
|
7982
|
+
export const KeywordPicker: FC<Props>;
|
|
7983
|
+
}
|
|
7984
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7985
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7986
|
+
import { FC } from 'react';
|
|
7987
|
+
export const AddKeywordsButton: FC<{
|
|
7988
|
+
availableKeywords?: Keyword[];
|
|
7989
|
+
mandatoryKeywords?: Keyword[];
|
|
7990
|
+
preselectedKeywords?: Keyword[];
|
|
7991
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7992
|
+
disabled?: boolean;
|
|
7993
|
+
keywordPickerTitleResourceKey?: string;
|
|
7994
|
+
}>;
|
|
7995
|
+
}
|
|
7996
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7997
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7998
|
+
import { FC } from 'react';
|
|
7999
|
+
export const EditableKeywordsList: FC<{
|
|
8000
|
+
keywords?: Keyword[];
|
|
8001
|
+
mandatoryKeywordIds?: string[];
|
|
8002
|
+
onRemoveKeyword?: (id: string) => void;
|
|
8003
|
+
}>;
|
|
8004
|
+
}
|
|
7809
8005
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7810
8006
|
import { FC } from 'react';
|
|
7811
8007
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7837,6 +8033,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7837
8033
|
defaultKeywords?: Keyword[];
|
|
7838
8034
|
mandatoryKeywords?: Keyword[];
|
|
7839
8035
|
};
|
|
8036
|
+
disableBoxShadow?: boolean;
|
|
8037
|
+
ariaLabel?: string;
|
|
7840
8038
|
}
|
|
7841
8039
|
interface Props extends BaseProps {
|
|
7842
8040
|
allowAttachments?: boolean;
|
|
@@ -7927,9 +8125,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7927
8125
|
deletedFileUrls?: string[];
|
|
7928
8126
|
onCancel?: () => void;
|
|
7929
8127
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7930
|
-
inputTheme?: CommentInputTheme;
|
|
7931
8128
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7932
8129
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8130
|
+
ariaLabel?: string;
|
|
7933
8131
|
}
|
|
7934
8132
|
interface Props extends BaseProps {
|
|
7935
8133
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7937,14 +8135,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7937
8135
|
}) => void;
|
|
7938
8136
|
allowAttachments?: boolean;
|
|
7939
8137
|
allowKeywords?: boolean;
|
|
7940
|
-
|
|
7941
|
-
|
|
8138
|
+
keywordSettings?: {
|
|
8139
|
+
availableKeywords?: Keyword[];
|
|
8140
|
+
defaultKeywords?: Keyword[];
|
|
8141
|
+
mandatoryKeywords?: Keyword[];
|
|
8142
|
+
};
|
|
7942
8143
|
keywords?: {
|
|
7943
8144
|
[key: string]: Keyword[];
|
|
7944
8145
|
};
|
|
7945
8146
|
allowSaveWithoutContent?: boolean;
|
|
7946
8147
|
saveOnEnter?: boolean;
|
|
7947
8148
|
saveOnCtrlEnter?: boolean;
|
|
8149
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7948
8150
|
}
|
|
7949
8151
|
export const EditComment: FC<Props>;
|
|
7950
8152
|
}
|
|
@@ -7966,6 +8168,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7966
8168
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7967
8169
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7968
8170
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8171
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7969
8172
|
interface Props extends CreateCommentProps {
|
|
7970
8173
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7971
8174
|
[key: string]: Keyword[];
|
|
@@ -7973,14 +8176,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7973
8176
|
item: ItemWithAttachments;
|
|
7974
8177
|
basePath: string;
|
|
7975
8178
|
allowKeywords?: boolean;
|
|
7976
|
-
|
|
7977
|
-
|
|
8179
|
+
keywordSettings?: {
|
|
8180
|
+
availableKeywords?: Keyword[];
|
|
8181
|
+
defaultKeywords?: Keyword[];
|
|
8182
|
+
mandatoryKeywords?: Keyword[];
|
|
8183
|
+
};
|
|
7978
8184
|
keywords?: {
|
|
7979
8185
|
[key: string]: Keyword[];
|
|
7980
8186
|
};
|
|
7981
8187
|
allowSaveWithoutContent?: boolean;
|
|
7982
8188
|
saveOnEnter?: boolean;
|
|
7983
8189
|
saveOnCtrlEnter?: boolean;
|
|
8190
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7984
8191
|
}
|
|
7985
8192
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7986
8193
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -8052,11 +8259,12 @@ declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButt
|
|
|
8052
8259
|
}
|
|
8053
8260
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
8054
8261
|
import { FC } from 'react';
|
|
8055
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8262
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8056
8263
|
export const CardFooter: FC<{
|
|
8057
|
-
item: NewsItem;
|
|
8264
|
+
item: NewsItem | EventItem;
|
|
8058
8265
|
showComments: boolean;
|
|
8059
8266
|
targetRoute: string;
|
|
8267
|
+
itemResourceType: ItemResourceTypes;
|
|
8060
8268
|
}>;
|
|
8061
8269
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8062
8270
|
}
|
|
@@ -8264,6 +8472,27 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
|
8264
8472
|
children?: ReactNode;
|
|
8265
8473
|
}>;
|
|
8266
8474
|
}
|
|
8475
|
+
declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
|
|
8476
|
+
export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
|
|
8477
|
+
isPrimary?: boolean;
|
|
8478
|
+
}, never>;
|
|
8479
|
+
export const InlineActionButtonListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
8480
|
+
export const InlineActionButtonsHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
8481
|
+
}
|
|
8482
|
+
declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
|
|
8483
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8484
|
+
export interface ActionButtonBlock {
|
|
8485
|
+
blockId: string;
|
|
8486
|
+
actionButtons: {
|
|
8487
|
+
label: string;
|
|
8488
|
+
url: string;
|
|
8489
|
+
isPrimary: boolean;
|
|
8490
|
+
id: string;
|
|
8491
|
+
}[];
|
|
8492
|
+
entityKey?: string;
|
|
8493
|
+
}
|
|
8494
|
+
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8495
|
+
}
|
|
8267
8496
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8268
8497
|
import { FC } from 'react';
|
|
8269
8498
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9129,8 +9358,11 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9129
9358
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
9130
9359
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
9131
9360
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9361
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
9132
9362
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9133
9363
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9364
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9365
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
9134
9366
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9135
9367
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9136
9368
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
@@ -9194,32 +9426,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9194
9426
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9195
9427
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9196
9428
|
}
|
|
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
9429
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9224
9430
|
import { FC, ReactNode } from 'react';
|
|
9225
9431
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9274,7 +9480,9 @@ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
|
9274
9480
|
onInsert: (files: File[]) => void;
|
|
9275
9481
|
accept?: string;
|
|
9276
9482
|
captionKey?: string;
|
|
9483
|
+
captionIconName?: string;
|
|
9277
9484
|
descriptionKey?: string;
|
|
9485
|
+
descriptionIconName?: string;
|
|
9278
9486
|
singleMode?: boolean;
|
|
9279
9487
|
}
|
|
9280
9488
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9450,6 +9658,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9450
9658
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9451
9659
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9452
9660
|
}
|
|
9661
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9662
|
+
import { FC } from 'react';
|
|
9663
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9664
|
+
export const SearchHighlighter: FC<{
|
|
9665
|
+
highlight: SearchHighlight;
|
|
9666
|
+
}>;
|
|
9667
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9668
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9669
|
+
}
|
|
9453
9670
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9454
9671
|
import { FC } from 'react';
|
|
9455
9672
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9478,11 +9695,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9478
9695
|
}
|
|
9479
9696
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9480
9697
|
import { FC } from 'react';
|
|
9481
|
-
import {
|
|
9698
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9482
9699
|
export const PageListItemBody: FC<{
|
|
9483
|
-
|
|
9484
|
-
[key: string]: PublishableItemContent;
|
|
9485
|
-
};
|
|
9700
|
+
page: PageItem;
|
|
9486
9701
|
search?: string;
|
|
9487
9702
|
}>;
|
|
9488
9703
|
}
|
|
@@ -9645,6 +9860,10 @@ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
|
9645
9860
|
groups: UserGroup[];
|
|
9646
9861
|
}>;
|
|
9647
9862
|
}
|
|
9863
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9864
|
+
import { FC } from 'react';
|
|
9865
|
+
export const PostGroupSelector: FC;
|
|
9866
|
+
}
|
|
9648
9867
|
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9649
9868
|
import { FC } from 'react';
|
|
9650
9869
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9683,7 +9902,7 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
|
|
|
9683
9902
|
}>;
|
|
9684
9903
|
}
|
|
9685
9904
|
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";
|
|
9905
|
+
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
9906
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9688
9907
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9689
9908
|
enum StreamItemTypes {
|
|
@@ -9732,6 +9951,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9732
9951
|
isUnread: boolean;
|
|
9733
9952
|
keywordsList?: Keyword[];
|
|
9734
9953
|
userResponseType?: StreamEventResponse;
|
|
9954
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
9735
9955
|
}
|
|
9736
9956
|
export interface PageStreamItem extends PageItem {
|
|
9737
9957
|
type: StreamItemTypes.Page;
|
|
@@ -9750,6 +9970,11 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9750
9970
|
intro?: string;
|
|
9751
9971
|
headline?: string;
|
|
9752
9972
|
}
|
|
9973
|
+
interface StreamEventCancelInformation extends EventCancelInformation {
|
|
9974
|
+
cancellationReasons?: {
|
|
9975
|
+
[key: string]: string;
|
|
9976
|
+
}[];
|
|
9977
|
+
}
|
|
9753
9978
|
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9754
9979
|
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9755
9980
|
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
@@ -9826,6 +10051,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9826
10051
|
isLiked?: boolean;
|
|
9827
10052
|
isDemoContent?: boolean;
|
|
9828
10053
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10054
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9829
10055
|
fileAccessToken?: string;
|
|
9830
10056
|
attachmentContainerId?: string;
|
|
9831
10057
|
} | {
|
|
@@ -9922,6 +10148,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9922
10148
|
useExternalContent?: boolean;
|
|
9923
10149
|
isDemoContent?: boolean;
|
|
9924
10150
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10151
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9925
10152
|
} | {
|
|
9926
10153
|
groupId: string;
|
|
9927
10154
|
attachments: {
|
|
@@ -9981,13 +10208,14 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9981
10208
|
isUnread: boolean;
|
|
9982
10209
|
keywordsList?: Keyword[];
|
|
9983
10210
|
userResponseType?: StreamEventResponse;
|
|
10211
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
9984
10212
|
startDate?: string;
|
|
9985
10213
|
endDate?: string;
|
|
9986
10214
|
timeZone?: string;
|
|
9987
10215
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9988
10216
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9989
10217
|
userResponse?: EventResponse;
|
|
9990
|
-
cancelInformation?:
|
|
10218
|
+
cancelInformation?: EventCancelInformation;
|
|
9991
10219
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9992
10220
|
hasNewComments?: boolean;
|
|
9993
10221
|
isLiked?: boolean;
|
|
@@ -10024,6 +10252,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10024
10252
|
useExternalContent?: boolean;
|
|
10025
10253
|
isDemoContent?: boolean;
|
|
10026
10254
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10255
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10027
10256
|
} | {
|
|
10028
10257
|
groupId: string;
|
|
10029
10258
|
attachments: {
|
|
@@ -10122,7 +10351,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10122
10351
|
useExternalContent?: boolean;
|
|
10123
10352
|
isDemoContent?: boolean;
|
|
10124
10353
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10354
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10125
10355
|
} | {
|
|
10356
|
+
cancelInformation: {
|
|
10357
|
+
reasons: {
|
|
10358
|
+
[key: string]: string;
|
|
10359
|
+
};
|
|
10360
|
+
cancellationReasons?: {
|
|
10361
|
+
[key: string]: string;
|
|
10362
|
+
}[];
|
|
10363
|
+
isCancelled?: boolean;
|
|
10364
|
+
modifiedOn?: string;
|
|
10365
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10366
|
+
};
|
|
10126
10367
|
knownState?: undefined;
|
|
10127
10368
|
pageType?: undefined;
|
|
10128
10369
|
navigationContext?: undefined;
|
|
@@ -10162,10 +10403,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10162
10403
|
isLiked?: boolean;
|
|
10163
10404
|
isDemoContent?: boolean;
|
|
10164
10405
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10406
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10165
10407
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10166
10408
|
fileAccessToken?: string;
|
|
10167
10409
|
attachmentContainerId?: string;
|
|
10168
10410
|
} | {
|
|
10411
|
+
cancelInformation: {
|
|
10412
|
+
reasons: {
|
|
10413
|
+
[key: string]: string;
|
|
10414
|
+
};
|
|
10415
|
+
cancellationReasons?: {
|
|
10416
|
+
[key: string]: string;
|
|
10417
|
+
}[];
|
|
10418
|
+
isCancelled?: boolean;
|
|
10419
|
+
modifiedOn?: string;
|
|
10420
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10421
|
+
};
|
|
10169
10422
|
knownState: KnownNewsState;
|
|
10170
10423
|
pageType?: undefined;
|
|
10171
10424
|
navigationContext?: undefined;
|
|
@@ -10205,10 +10458,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10205
10458
|
isLiked?: boolean;
|
|
10206
10459
|
isDemoContent?: boolean;
|
|
10207
10460
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10461
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10208
10462
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10209
10463
|
fileAccessToken?: string;
|
|
10210
10464
|
attachmentContainerId?: string;
|
|
10211
10465
|
} | {
|
|
10466
|
+
cancelInformation: {
|
|
10467
|
+
reasons: {
|
|
10468
|
+
[key: string]: string;
|
|
10469
|
+
};
|
|
10470
|
+
cancellationReasons?: {
|
|
10471
|
+
[key: string]: string;
|
|
10472
|
+
}[];
|
|
10473
|
+
isCancelled?: boolean;
|
|
10474
|
+
modifiedOn?: string;
|
|
10475
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10476
|
+
};
|
|
10212
10477
|
knownState?: undefined;
|
|
10213
10478
|
pageType: PageType;
|
|
10214
10479
|
navigationContext: PageNavigationContext;
|
|
@@ -10248,10 +10513,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10248
10513
|
isLiked?: boolean;
|
|
10249
10514
|
isDemoContent?: boolean;
|
|
10250
10515
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10516
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10251
10517
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10252
10518
|
fileAccessToken?: string;
|
|
10253
10519
|
attachmentContainerId?: string;
|
|
10254
10520
|
} | {
|
|
10521
|
+
cancelInformation: {
|
|
10522
|
+
reasons: {
|
|
10523
|
+
[key: string]: string;
|
|
10524
|
+
};
|
|
10525
|
+
cancellationReasons?: {
|
|
10526
|
+
[key: string]: string;
|
|
10527
|
+
}[];
|
|
10528
|
+
isCancelled?: boolean;
|
|
10529
|
+
modifiedOn?: string;
|
|
10530
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10531
|
+
};
|
|
10255
10532
|
knownState: KnownNewsState;
|
|
10256
10533
|
pageType: PageType;
|
|
10257
10534
|
navigationContext: PageNavigationContext;
|
|
@@ -10291,10 +10568,22 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10291
10568
|
isLiked?: boolean;
|
|
10292
10569
|
isDemoContent?: boolean;
|
|
10293
10570
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10571
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10294
10572
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10295
10573
|
fileAccessToken?: string;
|
|
10296
10574
|
attachmentContainerId?: string;
|
|
10297
10575
|
} | {
|
|
10576
|
+
cancelInformation: {
|
|
10577
|
+
reasons: {
|
|
10578
|
+
[key: string]: string;
|
|
10579
|
+
};
|
|
10580
|
+
cancellationReasons?: {
|
|
10581
|
+
[key: string]: string;
|
|
10582
|
+
}[];
|
|
10583
|
+
isCancelled?: boolean;
|
|
10584
|
+
modifiedOn?: string;
|
|
10585
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10586
|
+
};
|
|
10298
10587
|
knownState: KnownNewsState;
|
|
10299
10588
|
pageType?: undefined;
|
|
10300
10589
|
navigationContext?: undefined;
|
|
@@ -10351,7 +10640,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10351
10640
|
useExternalContent?: boolean;
|
|
10352
10641
|
isDemoContent?: boolean;
|
|
10353
10642
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10643
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10354
10644
|
} | {
|
|
10645
|
+
cancelInformation: {
|
|
10646
|
+
reasons: {
|
|
10647
|
+
[key: string]: string;
|
|
10648
|
+
};
|
|
10649
|
+
cancellationReasons?: {
|
|
10650
|
+
[key: string]: string;
|
|
10651
|
+
}[];
|
|
10652
|
+
isCancelled?: boolean;
|
|
10653
|
+
modifiedOn?: string;
|
|
10654
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10655
|
+
};
|
|
10355
10656
|
knownState: KnownNewsState;
|
|
10356
10657
|
pageType: PageType;
|
|
10357
10658
|
navigationContext: PageNavigationContext;
|
|
@@ -10408,7 +10709,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10408
10709
|
useExternalContent?: boolean;
|
|
10409
10710
|
isDemoContent?: boolean;
|
|
10410
10711
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10712
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10411
10713
|
} | {
|
|
10714
|
+
cancelInformation: {
|
|
10715
|
+
reasons: {
|
|
10716
|
+
[key: string]: string;
|
|
10717
|
+
};
|
|
10718
|
+
cancellationReasons?: {
|
|
10719
|
+
[key: string]: string;
|
|
10720
|
+
}[];
|
|
10721
|
+
isCancelled?: boolean;
|
|
10722
|
+
modifiedOn?: string;
|
|
10723
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10724
|
+
};
|
|
10412
10725
|
knownState?: undefined;
|
|
10413
10726
|
pageType?: undefined;
|
|
10414
10727
|
navigationContext?: undefined;
|
|
@@ -10434,12 +10747,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10434
10747
|
isUnread: boolean;
|
|
10435
10748
|
keywordsList?: Keyword[];
|
|
10436
10749
|
userResponseType?: StreamEventResponse;
|
|
10750
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10437
10751
|
startDate?: string;
|
|
10438
10752
|
endDate?: string;
|
|
10439
10753
|
timeZone?: string;
|
|
10440
10754
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10441
10755
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10442
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10443
10756
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10444
10757
|
hasNewComments?: boolean;
|
|
10445
10758
|
isLiked?: boolean;
|
|
@@ -10473,7 +10786,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10473
10786
|
useExternalContent?: boolean;
|
|
10474
10787
|
isDemoContent?: boolean;
|
|
10475
10788
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10789
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10476
10790
|
} | {
|
|
10791
|
+
cancelInformation: {
|
|
10792
|
+
reasons: {
|
|
10793
|
+
[key: string]: string;
|
|
10794
|
+
};
|
|
10795
|
+
cancellationReasons?: {
|
|
10796
|
+
[key: string]: string;
|
|
10797
|
+
}[];
|
|
10798
|
+
isCancelled?: boolean;
|
|
10799
|
+
modifiedOn?: string;
|
|
10800
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10801
|
+
};
|
|
10477
10802
|
knownState: KnownNewsState;
|
|
10478
10803
|
pageType?: undefined;
|
|
10479
10804
|
navigationContext?: undefined;
|
|
@@ -10499,12 +10824,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10499
10824
|
isUnread: boolean;
|
|
10500
10825
|
keywordsList?: Keyword[];
|
|
10501
10826
|
userResponseType?: StreamEventResponse;
|
|
10827
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10502
10828
|
startDate?: string;
|
|
10503
10829
|
endDate?: string;
|
|
10504
10830
|
timeZone?: string;
|
|
10505
10831
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10506
10832
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10507
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10508
10833
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10509
10834
|
hasNewComments?: boolean;
|
|
10510
10835
|
isLiked?: boolean;
|
|
@@ -10538,7 +10863,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10538
10863
|
useExternalContent?: boolean;
|
|
10539
10864
|
isDemoContent?: boolean;
|
|
10540
10865
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10866
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10541
10867
|
} | {
|
|
10868
|
+
cancelInformation: {
|
|
10869
|
+
reasons: {
|
|
10870
|
+
[key: string]: string;
|
|
10871
|
+
};
|
|
10872
|
+
cancellationReasons?: {
|
|
10873
|
+
[key: string]: string;
|
|
10874
|
+
}[];
|
|
10875
|
+
isCancelled?: boolean;
|
|
10876
|
+
modifiedOn?: string;
|
|
10877
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10878
|
+
};
|
|
10542
10879
|
knownState?: undefined;
|
|
10543
10880
|
pageType: PageType;
|
|
10544
10881
|
navigationContext: PageNavigationContext;
|
|
@@ -10564,12 +10901,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10564
10901
|
isUnread: boolean;
|
|
10565
10902
|
keywordsList?: Keyword[];
|
|
10566
10903
|
userResponseType?: StreamEventResponse;
|
|
10904
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10567
10905
|
startDate?: string;
|
|
10568
10906
|
endDate?: string;
|
|
10569
10907
|
timeZone?: string;
|
|
10570
10908
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10571
10909
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10572
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10573
10910
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10574
10911
|
hasNewComments?: boolean;
|
|
10575
10912
|
isLiked?: boolean;
|
|
@@ -10603,7 +10940,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10603
10940
|
useExternalContent?: boolean;
|
|
10604
10941
|
isDemoContent?: boolean;
|
|
10605
10942
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10943
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10606
10944
|
} | {
|
|
10945
|
+
cancelInformation: {
|
|
10946
|
+
reasons: {
|
|
10947
|
+
[key: string]: string;
|
|
10948
|
+
};
|
|
10949
|
+
cancellationReasons?: {
|
|
10950
|
+
[key: string]: string;
|
|
10951
|
+
}[];
|
|
10952
|
+
isCancelled?: boolean;
|
|
10953
|
+
modifiedOn?: string;
|
|
10954
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
10955
|
+
};
|
|
10607
10956
|
knownState: KnownNewsState;
|
|
10608
10957
|
pageType: PageType;
|
|
10609
10958
|
navigationContext: PageNavigationContext;
|
|
@@ -10629,12 +10978,12 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10629
10978
|
isUnread: boolean;
|
|
10630
10979
|
keywordsList?: Keyword[];
|
|
10631
10980
|
userResponseType?: StreamEventResponse;
|
|
10981
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10632
10982
|
startDate?: string;
|
|
10633
10983
|
endDate?: string;
|
|
10634
10984
|
timeZone?: string;
|
|
10635
10985
|
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10636
10986
|
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10637
|
-
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10638
10987
|
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10639
10988
|
hasNewComments?: boolean;
|
|
10640
10989
|
isLiked?: boolean;
|
|
@@ -10668,7 +11017,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10668
11017
|
useExternalContent?: boolean;
|
|
10669
11018
|
isDemoContent?: boolean;
|
|
10670
11019
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11020
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10671
11021
|
} | {
|
|
11022
|
+
cancelInformation: {
|
|
11023
|
+
reasons: {
|
|
11024
|
+
[key: string]: string;
|
|
11025
|
+
};
|
|
11026
|
+
cancellationReasons?: {
|
|
11027
|
+
[key: string]: string;
|
|
11028
|
+
}[];
|
|
11029
|
+
isCancelled?: boolean;
|
|
11030
|
+
modifiedOn?: string;
|
|
11031
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
11032
|
+
};
|
|
10672
11033
|
knownState?: undefined;
|
|
10673
11034
|
pageType?: PageType;
|
|
10674
11035
|
navigationContext?: PageNavigationContext;
|
|
@@ -10729,7 +11090,19 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10729
11090
|
useExternalContent?: boolean;
|
|
10730
11091
|
isDemoContent?: boolean;
|
|
10731
11092
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11093
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10732
11094
|
} | {
|
|
11095
|
+
cancelInformation: {
|
|
11096
|
+
reasons: {
|
|
11097
|
+
[key: string]: string;
|
|
11098
|
+
};
|
|
11099
|
+
cancellationReasons?: {
|
|
11100
|
+
[key: string]: string;
|
|
11101
|
+
}[];
|
|
11102
|
+
isCancelled?: boolean;
|
|
11103
|
+
modifiedOn?: string;
|
|
11104
|
+
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
11105
|
+
};
|
|
10733
11106
|
knownState: KnownNewsState;
|
|
10734
11107
|
pageType?: PageType;
|
|
10735
11108
|
navigationContext?: PageNavigationContext;
|
|
@@ -10790,6 +11163,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10790
11163
|
useExternalContent?: boolean;
|
|
10791
11164
|
isDemoContent?: boolean;
|
|
10792
11165
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11166
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10793
11167
|
})[];
|
|
10794
11168
|
}
|
|
10795
11169
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
@@ -10824,6 +11198,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10824
11198
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
10825
11199
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10826
11200
|
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11201
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10827
11202
|
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10828
11203
|
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10829
11204
|
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
@@ -10846,6 +11221,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
10846
11221
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10847
11222
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10848
11223
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11224
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10849
11225
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
10850
11226
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
10851
11227
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -10993,12 +11369,19 @@ declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
|
10993
11369
|
export const StreamList: FC;
|
|
10994
11370
|
}
|
|
10995
11371
|
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10996
|
-
import {
|
|
10997
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/
|
|
11372
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11373
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
10998
11374
|
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10999
|
-
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string):
|
|
11375
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): ItemLoader<NewsStreamItem, number>;
|
|
11000
11376
|
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11001
11377
|
}
|
|
11378
|
+
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
11379
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11380
|
+
import { EventFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
11381
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11382
|
+
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
|
|
11383
|
+
export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11384
|
+
}
|
|
11002
11385
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11003
11386
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11004
11387
|
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11007,6 +11390,7 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11007
11390
|
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11008
11391
|
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11009
11392
|
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11393
|
+
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
11010
11394
|
}
|
|
11011
11395
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11012
11396
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
@@ -11095,20 +11479,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
11095
11479
|
}
|
|
11096
11480
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
11097
11481
|
import './ContainerWithLogo.scss';
|
|
11482
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11483
|
+
import { FC, ReactNode } from 'react';
|
|
11098
11484
|
export enum DefaultLogoColor {
|
|
11099
11485
|
Default = 0,
|
|
11100
11486
|
White = 1
|
|
11101
11487
|
}
|
|
11102
|
-
type RenderChildren =
|
|
11103
|
-
export const ContainerWithLogo:
|
|
11104
|
-
|
|
11105
|
-
logoColor?: DefaultLogoColor;
|
|
11488
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11489
|
+
export const ContainerWithLogo: FC<{
|
|
11490
|
+
logoInfo?: LogoInfo;
|
|
11106
11491
|
text?: string;
|
|
11107
11492
|
headerClassName?: string;
|
|
11108
11493
|
additionalClasses?: string;
|
|
11109
11494
|
children: RenderChildren;
|
|
11110
11495
|
className?: string;
|
|
11111
11496
|
additionalContent?: RenderChildren;
|
|
11497
|
+
isBrandedContainer?: boolean;
|
|
11112
11498
|
}>;
|
|
11113
11499
|
}
|
|
11114
11500
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|