@livetiles/reach-plugin-types 0.4.0-preview.430 → 0.4.0-preview.433
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 +110 -376
- 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,12 +522,6 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
522
522
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
526
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
527
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
528
|
-
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
529
|
-
export default da;
|
|
530
|
-
}
|
|
531
525
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
532
526
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
533
527
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -583,7 +577,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
583
577
|
export default en;
|
|
584
578
|
}
|
|
585
579
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
586
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/
|
|
580
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/de.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
587
581
|
}
|
|
588
582
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
589
583
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
@@ -1103,7 +1097,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1103
1097
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1104
1098
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1105
1099
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1106
|
-
import {
|
|
1100
|
+
import { SubscriptionInfo as BaseSubscriptionInfo, IdentityProviderSettings, IdentityProviderNames } from "libs/shared/util/authentication/src/index";
|
|
1107
1101
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1108
1102
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1109
1103
|
domains?: string[];
|
|
@@ -1136,12 +1130,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1136
1130
|
useInAppBrowser?: boolean;
|
|
1137
1131
|
tenantId?: string;
|
|
1138
1132
|
signInSettings?: SignInSettings;
|
|
1133
|
+
logoUrl?: string;
|
|
1139
1134
|
faviconUrl?: string;
|
|
1140
1135
|
theme?: Theme;
|
|
1141
1136
|
allowPublicAccess?: boolean;
|
|
1142
1137
|
redirectToContent?: boolean;
|
|
1143
1138
|
allowZendesk?: boolean;
|
|
1144
|
-
logoInfo: LogoInfo;
|
|
1145
1139
|
}
|
|
1146
1140
|
export interface SignInSettings {
|
|
1147
1141
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1155,6 +1149,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1155
1149
|
contact: Account;
|
|
1156
1150
|
theme: Theme;
|
|
1157
1151
|
defaultLanguage: string;
|
|
1152
|
+
logoUrl: string;
|
|
1158
1153
|
faviconUrl?: string;
|
|
1159
1154
|
navigation: NavigationNode[];
|
|
1160
1155
|
regionSettings?: RegionSettings;
|
|
@@ -1163,16 +1158,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1163
1158
|
hasUnreadItems: boolean;
|
|
1164
1159
|
pageTrackingInfo: PageTrackingInfo;
|
|
1165
1160
|
termsAndConditionsHash?: string;
|
|
1166
|
-
logoInfo: LogoInfo;
|
|
1167
|
-
}
|
|
1168
|
-
export enum LogoSize {
|
|
1169
|
-
large = "large",
|
|
1170
|
-
small = "small"
|
|
1171
|
-
}
|
|
1172
|
-
export interface LogoInfo {
|
|
1173
|
-
smallUrl: string;
|
|
1174
|
-
largeUrl: string;
|
|
1175
|
-
isLegacyLogo: boolean;
|
|
1176
1161
|
}
|
|
1177
1162
|
export interface TermsAndConditions {
|
|
1178
1163
|
value?: string;
|
|
@@ -1409,7 +1394,6 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1409
1394
|
itemId: string;
|
|
1410
1395
|
}[];
|
|
1411
1396
|
unreadFeedItemsCount?: number;
|
|
1412
|
-
mostRecentPostGroups: string[];
|
|
1413
1397
|
notificationTypeSettings: NotificationTypeSettings;
|
|
1414
1398
|
hasPendingRegistration?: boolean;
|
|
1415
1399
|
minRoles: UserMinRoles;
|
|
@@ -1735,19 +1719,6 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1735
1719
|
id?: string;
|
|
1736
1720
|
statistics?: ItemStatistics;
|
|
1737
1721
|
poll?: Poll;
|
|
1738
|
-
searchHighlights?: SearchHighlightSummary;
|
|
1739
|
-
}
|
|
1740
|
-
export interface SearchHighlightSummary {
|
|
1741
|
-
title: SearchHighlight[];
|
|
1742
|
-
content: SearchHighlight[];
|
|
1743
|
-
}
|
|
1744
|
-
export interface SearchHighlight {
|
|
1745
|
-
language: string;
|
|
1746
|
-
texts: {
|
|
1747
|
-
value: string;
|
|
1748
|
-
type: 'text' | 'hit';
|
|
1749
|
-
}[];
|
|
1750
|
-
score: number;
|
|
1751
1722
|
}
|
|
1752
1723
|
export interface Poll {
|
|
1753
1724
|
questions: PollQuestion[];
|
|
@@ -1815,6 +1786,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1815
1786
|
headline?: string;
|
|
1816
1787
|
intro?: string;
|
|
1817
1788
|
body?: string;
|
|
1789
|
+
bodyRaw?: string;
|
|
1818
1790
|
customProperties?: {
|
|
1819
1791
|
[key: string]: any;
|
|
1820
1792
|
};
|
|
@@ -2170,83 +2142,14 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2170
2142
|
}
|
|
2171
2143
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2172
2144
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2173
|
-
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2174
2145
|
export function useCurrentUserCache(): {
|
|
2175
2146
|
clear: () => Promise<void>;
|
|
2176
2147
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2177
2148
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2178
|
-
get: () => Promise<
|
|
2179
|
-
subscription: {
|
|
2180
|
-
logoInfo: {
|
|
2181
|
-
smallUrl: any;
|
|
2182
|
-
largeUrl: string;
|
|
2183
|
-
isLegacyLogo: boolean;
|
|
2184
|
-
};
|
|
2185
|
-
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2186
|
-
featureMask: string;
|
|
2187
|
-
company: string;
|
|
2188
|
-
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2189
|
-
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2190
|
-
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2191
|
-
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2192
|
-
customDomain?: string;
|
|
2193
|
-
allowSelfRegistration?: boolean;
|
|
2194
|
-
id: string;
|
|
2195
|
-
subscriptionName: string;
|
|
2196
|
-
subscriptionHandle?: string;
|
|
2197
|
-
contact: import("@livetiles/reach/util/common").Account;
|
|
2198
|
-
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2199
|
-
defaultLanguage: string;
|
|
2200
|
-
faviconUrl?: string;
|
|
2201
|
-
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2202
|
-
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2203
|
-
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2204
|
-
useInAppBrowser?: boolean;
|
|
2205
|
-
hasUnreadItems: boolean;
|
|
2206
|
-
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2207
|
-
termsAndConditionsHash?: string;
|
|
2208
|
-
};
|
|
2209
|
-
isEmailVerificationPending?: boolean;
|
|
2210
|
-
isSubscriptionOwner: boolean;
|
|
2211
|
-
givenName: string;
|
|
2212
|
-
surname: string;
|
|
2213
|
-
preferredUiLanguage: string;
|
|
2214
|
-
preferredContentLanguage?: string;
|
|
2215
|
-
preferredLocale?: string;
|
|
2216
|
-
bookmarks: string[];
|
|
2217
|
-
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2218
|
-
availableSubscriptions: SubscriptionSummary[];
|
|
2219
|
-
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2220
|
-
userHash: string;
|
|
2221
|
-
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
-
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2223
|
-
unreadPosts: {
|
|
2224
|
-
groupId: string;
|
|
2225
|
-
itemId: string;
|
|
2226
|
-
}[];
|
|
2227
|
-
unreadFeedItemsCount?: number;
|
|
2228
|
-
mostRecentPostGroups: string[];
|
|
2229
|
-
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2230
|
-
hasPendingRegistration?: boolean;
|
|
2231
|
-
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2232
|
-
hasDirectory: boolean;
|
|
2233
|
-
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2234
|
-
termsAndConditionsApprovedHash: string;
|
|
2235
|
-
isPublicUser?: boolean;
|
|
2236
|
-
hasUnreadChats?: boolean;
|
|
2237
|
-
id?: string;
|
|
2238
|
-
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2239
|
-
tenantId?: string;
|
|
2240
|
-
displayName?: string;
|
|
2241
|
-
userPrincipalName?: string;
|
|
2242
|
-
mail?: string;
|
|
2243
|
-
tokenUniqueId?: string;
|
|
2244
|
-
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2245
|
-
created?: string;
|
|
2246
|
-
}>;
|
|
2149
|
+
get: () => Promise<CurrentUser>;
|
|
2247
2150
|
};
|
|
2248
2151
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2249
|
-
availableSubscriptions: SubscriptionSummary[];
|
|
2152
|
+
availableSubscriptions: import("@livetiles/reach/util/common").SubscriptionSummary[];
|
|
2250
2153
|
bookmarks: string[];
|
|
2251
2154
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2252
2155
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -2256,7 +2159,6 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2256
2159
|
}[];
|
|
2257
2160
|
hasUnreadChats: boolean;
|
|
2258
2161
|
unreadFeedItemsCount: number;
|
|
2259
|
-
mostRecentPostGroups: string[];
|
|
2260
2162
|
};
|
|
2261
2163
|
}
|
|
2262
2164
|
declare module "libs/reach/util/common/src/user/CurrentUserDetailContextProvider" {
|
|
@@ -2327,9 +2229,9 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2327
2229
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2328
2230
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2329
2231
|
}
|
|
2330
|
-
declare module "libs/reach/util/common/src/plugins/
|
|
2232
|
+
declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
2331
2233
|
import { Storage } from "libs/reach/util/context/src/index";
|
|
2332
|
-
export function
|
|
2234
|
+
export function usePluginStorage(): PluginStorage;
|
|
2333
2235
|
export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
|
|
2334
2236
|
export interface PluginStorage {
|
|
2335
2237
|
getAllKeys(): Promise<string[]>;
|
|
@@ -2339,54 +2241,12 @@ declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
|
|
|
2339
2241
|
clearAll(): Promise<void>;
|
|
2340
2242
|
}
|
|
2341
2243
|
}
|
|
2342
|
-
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2343
|
-
import { DependencyList } from 'react';
|
|
2344
|
-
import { Api } from 'restful.js';
|
|
2345
|
-
export function usePluginUserStore(): PluginUserStore;
|
|
2346
|
-
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2347
|
-
data: T;
|
|
2348
|
-
set: (newValue: T) => Promise<unknown>;
|
|
2349
|
-
isLoading: boolean;
|
|
2350
|
-
error: any;
|
|
2351
|
-
refresh: () => void;
|
|
2352
|
-
remove: () => Promise<unknown>;
|
|
2353
|
-
};
|
|
2354
|
-
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
|
|
2355
|
-
export interface PluginUserStore {
|
|
2356
|
-
getPluginUserValue<T>(key: string): Promise<T>;
|
|
2357
|
-
setPluginUserValue<T>(key: string, value: T): Promise<unknown>;
|
|
2358
|
-
deletePluginUserValue(key: string): Promise<unknown>;
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2362
|
-
import { DependencyList } from 'react';
|
|
2363
|
-
import { Api } from 'restful.js';
|
|
2364
|
-
export function usePluginSubscriptionStore(): PluginSubscriptionStore;
|
|
2365
|
-
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2366
|
-
data: T;
|
|
2367
|
-
set: (newValue: T) => Promise<unknown>;
|
|
2368
|
-
isLoading: boolean;
|
|
2369
|
-
error: any;
|
|
2370
|
-
refresh: () => void;
|
|
2371
|
-
remove: () => Promise<unknown>;
|
|
2372
|
-
};
|
|
2373
|
-
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
|
|
2374
|
-
export interface PluginSubscriptionStore {
|
|
2375
|
-
getPluginSubscriptionValue<T>(key: string): Promise<T>;
|
|
2376
|
-
setPluginSubscriptionValue<T>(key: string, value: T): Promise<unknown>;
|
|
2377
|
-
deletePluginSubscriptionValue(key: string): Promise<unknown>;
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
2244
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2381
2245
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2382
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2383
|
-
import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2384
|
-
import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2246
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginStorage";
|
|
2385
2247
|
export const PluginContext: import("react").Context<{
|
|
2386
2248
|
settings: PluginSettings;
|
|
2387
2249
|
storage: PluginStorage;
|
|
2388
|
-
userStore: PluginUserStore;
|
|
2389
|
-
subscriptionStore: PluginSubscriptionStore;
|
|
2390
2250
|
}>;
|
|
2391
2251
|
export function usePluginSettings<T>(): T;
|
|
2392
2252
|
export function useReachApiEndPoints(): {
|
|
@@ -2570,9 +2430,7 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2570
2430
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2571
2431
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2572
2432
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2573
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2574
|
-
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2575
|
-
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2433
|
+
export * from "libs/reach/util/common/src/plugins/usePluginStorage";
|
|
2576
2434
|
}
|
|
2577
2435
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2578
2436
|
export class Color {
|
|
@@ -2591,7 +2449,6 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2591
2449
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2592
2450
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2593
2451
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2594
|
-
import * as wcag from 'wcag-contrast';
|
|
2595
2452
|
export const defaultThemeColors: Theme;
|
|
2596
2453
|
export const defaultPageBackgroundColor: string;
|
|
2597
2454
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2688,12 +2545,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2688
2545
|
}
|
|
2689
2546
|
export function getDarkAltColor(color: string): string;
|
|
2690
2547
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2691
|
-
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2692
|
-
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2693
|
-
contrast: string;
|
|
2694
|
-
score: wcag.Score;
|
|
2695
|
-
isGood: boolean;
|
|
2696
|
-
};
|
|
2697
2548
|
}
|
|
2698
2549
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2699
2550
|
import { FC, ReactNode } from 'react';
|
|
@@ -3366,7 +3217,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3366
3217
|
export const PeoplePicker: FC<Props>;
|
|
3367
3218
|
}
|
|
3368
3219
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3369
|
-
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3220
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
|
|
3370
3221
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3371
3222
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3372
3223
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3379,11 +3230,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3379
3230
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3380
3231
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3381
3232
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3382
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3383
|
-
/**
|
|
3384
|
-
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3385
|
-
*/
|
|
3386
|
-
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3233
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3387
3234
|
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3388
3235
|
}
|
|
3389
3236
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
@@ -3446,7 +3293,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3446
3293
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3447
3294
|
}
|
|
3448
3295
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3449
|
-
import { BaseSubscription, CurrentUser,
|
|
3296
|
+
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3450
3297
|
import { IntlShape } from 'react-intl';
|
|
3451
3298
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3452
3299
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3458,9 +3305,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3458
3305
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3459
3306
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3460
3307
|
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}";
|
|
3461
|
-
export function
|
|
3462
|
-
|
|
3463
|
-
subscriptionName:
|
|
3308
|
+
export function getSubscriptionLogoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3309
|
+
logo: any;
|
|
3310
|
+
subscriptionName: any;
|
|
3464
3311
|
};
|
|
3465
3312
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3466
3313
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3665,11 +3512,6 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3665
3512
|
className?: string;
|
|
3666
3513
|
}>;
|
|
3667
3514
|
}
|
|
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
3515
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3674
3516
|
import { FC } from 'react';
|
|
3675
3517
|
export enum FabNavigationPosition {
|
|
@@ -3700,11 +3542,9 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3700
3542
|
export const FabButtonWithCallout: FC<{
|
|
3701
3543
|
iconName: string;
|
|
3702
3544
|
tooltipResourceKey: string;
|
|
3703
|
-
titleResourceKey?: string;
|
|
3704
3545
|
showCloseButton?: boolean;
|
|
3705
3546
|
useSecondaryBgColor?: boolean;
|
|
3706
3547
|
domIdentifier?: string;
|
|
3707
|
-
useMobileFullHeight?: boolean;
|
|
3708
3548
|
}>;
|
|
3709
3549
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3710
3550
|
}
|
|
@@ -3782,6 +3622,11 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3782
3622
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3783
3623
|
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3784
3624
|
}
|
|
3625
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3626
|
+
import { FC } from 'react';
|
|
3627
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3628
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3629
|
+
}
|
|
3785
3630
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3786
3631
|
import { FC } from 'react';
|
|
3787
3632
|
export const Modified: FC<{
|
|
@@ -4940,7 +4785,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4940
4785
|
}
|
|
4941
4786
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4942
4787
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4943
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions
|
|
4788
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4944
4789
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4945
4790
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4946
4791
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4955,7 +4800,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4955
4800
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4956
4801
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4957
4802
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4958
|
-
updateLogo: (
|
|
4803
|
+
updateLogo: (file?: File) => Promise<void>;
|
|
4959
4804
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4960
4805
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4961
4806
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4995,34 +4840,6 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4995
4840
|
className?: string;
|
|
4996
4841
|
}>;
|
|
4997
4842
|
}
|
|
4998
|
-
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4999
|
-
import { FC } from 'react';
|
|
5000
|
-
export const ContrastInfo: FC<{
|
|
5001
|
-
foregroundColor: string;
|
|
5002
|
-
backgroundColor: string;
|
|
5003
|
-
className?: string;
|
|
5004
|
-
}>;
|
|
5005
|
-
}
|
|
5006
|
-
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5007
|
-
import { FC } from 'react';
|
|
5008
|
-
export const ColorButton: FC<{
|
|
5009
|
-
onClick: () => void;
|
|
5010
|
-
text: string;
|
|
5011
|
-
backgroundColor: string;
|
|
5012
|
-
color: string;
|
|
5013
|
-
}>;
|
|
5014
|
-
}
|
|
5015
|
-
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5016
|
-
import { FC } from 'react';
|
|
5017
|
-
export const ColorOnWhitePreview: FC;
|
|
5018
|
-
}
|
|
5019
|
-
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5020
|
-
import { FC } from 'react';
|
|
5021
|
-
export const ThemeContrastPreview: FC<{
|
|
5022
|
-
backgroundColor: string;
|
|
5023
|
-
foregroundColor: string;
|
|
5024
|
-
}>;
|
|
5025
|
-
}
|
|
5026
4843
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
5027
4844
|
import { FC } from 'react';
|
|
5028
4845
|
export const Themes: FC;
|
|
@@ -5032,42 +4849,6 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
5032
4849
|
import './ApplicationName.scss';
|
|
5033
4850
|
export const ApplicationName: FC;
|
|
5034
4851
|
}
|
|
5035
|
-
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5036
|
-
import { FC } from 'react';
|
|
5037
|
-
export const AppBarLogoPreview: FC<{
|
|
5038
|
-
src: string;
|
|
5039
|
-
subscriptionName: string;
|
|
5040
|
-
}>;
|
|
5041
|
-
export const SidePanelLogoPreview: FC<{
|
|
5042
|
-
src: string;
|
|
5043
|
-
subscriptionName: string;
|
|
5044
|
-
}>;
|
|
5045
|
-
export const EmailLogoPreview: FC<{
|
|
5046
|
-
src: string;
|
|
5047
|
-
subscriptionName: string;
|
|
5048
|
-
}>;
|
|
5049
|
-
export const SignInLogoPreview: FC<{
|
|
5050
|
-
src: string;
|
|
5051
|
-
}>;
|
|
5052
|
-
}
|
|
5053
|
-
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5054
|
-
import { FC } from 'react';
|
|
5055
|
-
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5056
|
-
export const LogoPreviewDialog: FC<{
|
|
5057
|
-
canSave: boolean;
|
|
5058
|
-
onDismiss: () => unknown;
|
|
5059
|
-
onSave: (logoSize: LogoSize) => unknown;
|
|
5060
|
-
source: string;
|
|
5061
|
-
logoType: LogoSize;
|
|
5062
|
-
}>;
|
|
5063
|
-
}
|
|
5064
|
-
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5065
|
-
import { FC } from 'react';
|
|
5066
|
-
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5067
|
-
export const LogoEditor: FC<{
|
|
5068
|
-
logoType: LogoSize;
|
|
5069
|
-
}>;
|
|
5070
|
-
}
|
|
5071
4852
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
5072
4853
|
import { FC } from 'react';
|
|
5073
4854
|
export const ApplicationLogo: FC;
|
|
@@ -6533,6 +6314,7 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6533
6314
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6534
6315
|
import { ReactNode } from 'react';
|
|
6535
6316
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6317
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6536
6318
|
export interface UserSuggestion {
|
|
6537
6319
|
id: string;
|
|
6538
6320
|
upn: string;
|
|
@@ -6552,18 +6334,13 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6552
6334
|
onCtrlEnter?: () => unknown;
|
|
6553
6335
|
onChange?: (value: string) => void;
|
|
6554
6336
|
onFocus?: () => void;
|
|
6555
|
-
|
|
6556
|
-
buttons?: {
|
|
6557
|
-
leftSide?: ReactNode;
|
|
6558
|
-
rightSide?: ReactNode;
|
|
6559
|
-
};
|
|
6337
|
+
buttons?: ReactNode;
|
|
6560
6338
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6339
|
+
inputTheme?: CommentInputTheme;
|
|
6561
6340
|
placeHolderStringResourceKey?: string;
|
|
6562
6341
|
placeHolderStringResourceValues?: {
|
|
6563
6342
|
[key: string]: string | number | boolean | Date;
|
|
6564
6343
|
};
|
|
6565
|
-
disableBoxShadow?: boolean;
|
|
6566
|
-
ariaLabel?: string;
|
|
6567
6344
|
}
|
|
6568
6345
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6569
6346
|
}
|
|
@@ -6577,6 +6354,18 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6577
6354
|
isLarge: boolean;
|
|
6578
6355
|
}>;
|
|
6579
6356
|
}
|
|
6357
|
+
declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
|
|
6358
|
+
import { FC } from 'react';
|
|
6359
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6360
|
+
export const KeywordsPicker: FC<{
|
|
6361
|
+
defaultKeywords?: {
|
|
6362
|
+
[key: string]: Keyword[];
|
|
6363
|
+
};
|
|
6364
|
+
availableKeywords?: Keyword[];
|
|
6365
|
+
mandatoryKeywords?: Keyword[];
|
|
6366
|
+
onChangeKeywords: (keywords: Keyword[]) => void;
|
|
6367
|
+
}>;
|
|
6368
|
+
}
|
|
6580
6369
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6581
6370
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6582
6371
|
export interface KalturaProperties {
|
|
@@ -6978,6 +6767,7 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6978
6767
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6979
6768
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6980
6769
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6770
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6981
6771
|
export interface ClientAttachment extends Attachment {
|
|
6982
6772
|
file?: File;
|
|
6983
6773
|
}
|
|
@@ -6991,6 +6781,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6991
6781
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6992
6782
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6993
6783
|
placeHolderStringResourceKey?: string;
|
|
6784
|
+
allowKeywords?: boolean;
|
|
6785
|
+
defaultKeywords?: {
|
|
6786
|
+
[key: string]: Keyword[];
|
|
6787
|
+
};
|
|
6788
|
+
availableKeywords?: Keyword[];
|
|
6789
|
+
mandatoryKeywords?: Keyword[];
|
|
6790
|
+
showKeywordsPicker?: boolean;
|
|
6791
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6994
6792
|
disableAddGif?: boolean;
|
|
6995
6793
|
disableAddFiles?: boolean;
|
|
6996
6794
|
};
|
|
@@ -7003,6 +6801,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7003
6801
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7004
6802
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7005
6803
|
placeHolderStringResourceKey?: string;
|
|
6804
|
+
allowKeywords?: boolean;
|
|
6805
|
+
defaultKeywords?: {
|
|
6806
|
+
[key: string]: Keyword[];
|
|
6807
|
+
};
|
|
6808
|
+
availableKeywords?: Keyword[];
|
|
6809
|
+
mandatoryKeywords?: Keyword[];
|
|
6810
|
+
showKeywordsPicker?: boolean;
|
|
6811
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7006
6812
|
disableAddGif?: boolean;
|
|
7007
6813
|
disableAddFiles?: boolean;
|
|
7008
6814
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -7624,8 +7430,7 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7624
7430
|
Table = "table",
|
|
7625
7431
|
Contact = "contact",
|
|
7626
7432
|
InlinePageList = "inline-page-list",
|
|
7627
|
-
UrlPreview = "url-preview"
|
|
7628
|
-
ActionButton = "action-button"
|
|
7433
|
+
UrlPreview = "url-preview"
|
|
7629
7434
|
}
|
|
7630
7435
|
export interface HtmlComponentMapper {
|
|
7631
7436
|
component: FC<any>;
|
|
@@ -7942,6 +7747,14 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7942
7747
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7943
7748
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7944
7749
|
placeHolderStringResourceKey?: string;
|
|
7750
|
+
allowKeywords?: boolean;
|
|
7751
|
+
defaultKeywords?: {
|
|
7752
|
+
[key: string]: import("@livetiles/reach/util/common").Keyword[];
|
|
7753
|
+
};
|
|
7754
|
+
availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7755
|
+
mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7756
|
+
showKeywordsPicker?: boolean;
|
|
7757
|
+
onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
|
|
7945
7758
|
disableAddGif?: boolean;
|
|
7946
7759
|
disableAddFiles?: boolean;
|
|
7947
7760
|
} & {
|
|
@@ -7950,53 +7763,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7950
7763
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7951
7764
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7952
7765
|
}
|
|
7953
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7954
|
-
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7955
|
-
import { FC } from 'react';
|
|
7956
|
-
interface Props {
|
|
7957
|
-
group: KeywordGroup;
|
|
7958
|
-
keywords?: Keyword[];
|
|
7959
|
-
expanded?: boolean;
|
|
7960
|
-
selectedKeywords: Keyword[];
|
|
7961
|
-
onChange?: (keywords: Keyword[]) => void;
|
|
7962
|
-
mandatoryKeywordIds?: string[];
|
|
7963
|
-
}
|
|
7964
|
-
export const KeywordPickerGroup: FC<Props>;
|
|
7965
|
-
}
|
|
7966
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7967
|
-
import { FC } from 'react';
|
|
7968
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7969
|
-
interface Props {
|
|
7970
|
-
value?: Keyword[] | string[];
|
|
7971
|
-
onChange: (keywords: Keyword[]) => void;
|
|
7972
|
-
showSelectionToggle?: boolean;
|
|
7973
|
-
availableKeywords?: Keyword[];
|
|
7974
|
-
mandatoryKeywordIds?: string[];
|
|
7975
|
-
className?: string;
|
|
7976
|
-
}
|
|
7977
|
-
export const KeywordPicker: FC<Props>;
|
|
7978
|
-
}
|
|
7979
|
-
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7980
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7981
|
-
import { FC } from 'react';
|
|
7982
|
-
export const AddKeywordsButton: FC<{
|
|
7983
|
-
availableKeywords?: Keyword[];
|
|
7984
|
-
mandatoryKeywords?: Keyword[];
|
|
7985
|
-
preselectedKeywords?: Keyword[];
|
|
7986
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7987
|
-
disabled?: boolean;
|
|
7988
|
-
keywordPickerTitleResourceKey?: string;
|
|
7989
|
-
}>;
|
|
7990
|
-
}
|
|
7991
|
-
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7992
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7993
|
-
import { FC } from 'react';
|
|
7994
|
-
export const EditableKeywordsList: FC<{
|
|
7995
|
-
keywords?: Keyword[];
|
|
7996
|
-
mandatoryKeywordIds?: string[];
|
|
7997
|
-
onRemoveKeyword?: (id: string) => void;
|
|
7998
|
-
}>;
|
|
7999
|
-
}
|
|
8000
7766
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8001
7767
|
import { FC } from 'react';
|
|
8002
7768
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -8028,8 +7794,6 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8028
7794
|
defaultKeywords?: Keyword[];
|
|
8029
7795
|
mandatoryKeywords?: Keyword[];
|
|
8030
7796
|
};
|
|
8031
|
-
disableBoxShadow?: boolean;
|
|
8032
|
-
ariaLabel?: string;
|
|
8033
7797
|
}
|
|
8034
7798
|
interface Props extends BaseProps {
|
|
8035
7799
|
allowAttachments?: boolean;
|
|
@@ -8120,9 +7884,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8120
7884
|
deletedFileUrls?: string[];
|
|
8121
7885
|
onCancel?: () => void;
|
|
8122
7886
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7887
|
+
inputTheme?: CommentInputTheme;
|
|
8123
7888
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8124
7889
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8125
|
-
ariaLabel?: string;
|
|
8126
7890
|
}
|
|
8127
7891
|
interface Props extends BaseProps {
|
|
8128
7892
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8130,18 +7894,14 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8130
7894
|
}) => void;
|
|
8131
7895
|
allowAttachments?: boolean;
|
|
8132
7896
|
allowKeywords?: boolean;
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
defaultKeywords?: Keyword[];
|
|
8136
|
-
mandatoryKeywords?: Keyword[];
|
|
8137
|
-
};
|
|
7897
|
+
availableKeywords?: Keyword[];
|
|
7898
|
+
mandatoryKeywords?: Keyword[];
|
|
8138
7899
|
keywords?: {
|
|
8139
7900
|
[key: string]: Keyword[];
|
|
8140
7901
|
};
|
|
8141
7902
|
allowSaveWithoutContent?: boolean;
|
|
8142
7903
|
saveOnEnter?: boolean;
|
|
8143
7904
|
saveOnCtrlEnter?: boolean;
|
|
8144
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
8145
7905
|
}
|
|
8146
7906
|
export const EditComment: FC<Props>;
|
|
8147
7907
|
}
|
|
@@ -8163,7 +7923,6 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8163
7923
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8164
7924
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
8165
7925
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8166
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8167
7926
|
interface Props extends CreateCommentProps {
|
|
8168
7927
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
8169
7928
|
[key: string]: Keyword[];
|
|
@@ -8171,18 +7930,14 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8171
7930
|
item: ItemWithAttachments;
|
|
8172
7931
|
basePath: string;
|
|
8173
7932
|
allowKeywords?: boolean;
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
defaultKeywords?: Keyword[];
|
|
8177
|
-
mandatoryKeywords?: Keyword[];
|
|
8178
|
-
};
|
|
7933
|
+
availableKeywords?: Keyword[];
|
|
7934
|
+
mandatoryKeywords?: Keyword[];
|
|
8179
7935
|
keywords?: {
|
|
8180
7936
|
[key: string]: Keyword[];
|
|
8181
7937
|
};
|
|
8182
7938
|
allowSaveWithoutContent?: boolean;
|
|
8183
7939
|
saveOnEnter?: boolean;
|
|
8184
7940
|
saveOnCtrlEnter?: boolean;
|
|
8185
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
8186
7941
|
}
|
|
8187
7942
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8188
7943
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -8466,20 +8221,6 @@ declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
|
8466
8221
|
children?: ReactNode;
|
|
8467
8222
|
}>;
|
|
8468
8223
|
}
|
|
8469
|
-
declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
|
|
8470
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8471
|
-
export interface ActionButtonBlock {
|
|
8472
|
-
blockId: string;
|
|
8473
|
-
actionButtons: {
|
|
8474
|
-
label: string;
|
|
8475
|
-
url: string;
|
|
8476
|
-
isPrimary: boolean;
|
|
8477
|
-
id: string;
|
|
8478
|
-
}[];
|
|
8479
|
-
entityKey?: string;
|
|
8480
|
-
}
|
|
8481
|
-
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
8482
|
-
}
|
|
8483
8224
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8484
8225
|
import { FC } from 'react';
|
|
8485
8226
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9347,7 +9088,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9347
9088
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
9348
9089
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
9349
9090
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9350
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9351
9091
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
9352
9092
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
9353
9093
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
@@ -9411,6 +9151,32 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9411
9151
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9412
9152
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9413
9153
|
}
|
|
9154
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9155
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9156
|
+
import { FC } from 'react';
|
|
9157
|
+
interface Props {
|
|
9158
|
+
group: KeywordGroup;
|
|
9159
|
+
keywords?: Keyword[];
|
|
9160
|
+
expanded?: boolean;
|
|
9161
|
+
selectedKeywords: Keyword[];
|
|
9162
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
9163
|
+
mandatoryKeywordIds?: string[];
|
|
9164
|
+
}
|
|
9165
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
9166
|
+
}
|
|
9167
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
9168
|
+
import { FC } from 'react';
|
|
9169
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9170
|
+
interface Props {
|
|
9171
|
+
value?: Keyword[] | string[];
|
|
9172
|
+
onChange: (keywords: Keyword[]) => void;
|
|
9173
|
+
showSelectionToggle?: boolean;
|
|
9174
|
+
availableKeywords?: Keyword[];
|
|
9175
|
+
mandatoryKeywordIds?: string[];
|
|
9176
|
+
className?: string;
|
|
9177
|
+
}
|
|
9178
|
+
export const KeywordPicker: FC<Props>;
|
|
9179
|
+
}
|
|
9414
9180
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9415
9181
|
import { FC, ReactNode } from 'react';
|
|
9416
9182
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9465,9 +9231,7 @@ declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
|
9465
9231
|
onInsert: (files: File[]) => void;
|
|
9466
9232
|
accept?: string;
|
|
9467
9233
|
captionKey?: string;
|
|
9468
|
-
captionIconName?: string;
|
|
9469
9234
|
descriptionKey?: string;
|
|
9470
|
-
descriptionIconName?: string;
|
|
9471
9235
|
singleMode?: boolean;
|
|
9472
9236
|
}
|
|
9473
9237
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9643,15 +9407,6 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9643
9407
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9644
9408
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9645
9409
|
}
|
|
9646
|
-
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9647
|
-
import { FC } from 'react';
|
|
9648
|
-
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9649
|
-
export const SearchHighlighter: FC<{
|
|
9650
|
-
highlight: SearchHighlight;
|
|
9651
|
-
}>;
|
|
9652
|
-
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9653
|
-
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9654
|
-
}
|
|
9655
9410
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9656
9411
|
import { FC } from 'react';
|
|
9657
9412
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9680,9 +9435,11 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9680
9435
|
}
|
|
9681
9436
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9682
9437
|
import { FC } from 'react';
|
|
9683
|
-
import {
|
|
9438
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9684
9439
|
export const PageListItemBody: FC<{
|
|
9685
|
-
|
|
9440
|
+
contents: {
|
|
9441
|
+
[key: string]: PublishableItemContent;
|
|
9442
|
+
};
|
|
9686
9443
|
search?: string;
|
|
9687
9444
|
}>;
|
|
9688
9445
|
}
|
|
@@ -9845,10 +9602,6 @@ declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
|
9845
9602
|
groups: UserGroup[];
|
|
9846
9603
|
}>;
|
|
9847
9604
|
}
|
|
9848
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9849
|
-
import { FC } from 'react';
|
|
9850
|
-
export const PostGroupSelector: FC;
|
|
9851
|
-
}
|
|
9852
9605
|
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9853
9606
|
import { FC } from 'react';
|
|
9854
9607
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -10030,7 +9783,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10030
9783
|
isLiked?: boolean;
|
|
10031
9784
|
isDemoContent?: boolean;
|
|
10032
9785
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10033
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10034
9786
|
fileAccessToken?: string;
|
|
10035
9787
|
attachmentContainerId?: string;
|
|
10036
9788
|
} | {
|
|
@@ -10127,7 +9879,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10127
9879
|
useExternalContent?: boolean;
|
|
10128
9880
|
isDemoContent?: boolean;
|
|
10129
9881
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10130
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10131
9882
|
} | {
|
|
10132
9883
|
groupId: string;
|
|
10133
9884
|
attachments: {
|
|
@@ -10230,7 +9981,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10230
9981
|
useExternalContent?: boolean;
|
|
10231
9982
|
isDemoContent?: boolean;
|
|
10232
9983
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10233
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10234
9984
|
} | {
|
|
10235
9985
|
groupId: string;
|
|
10236
9986
|
attachments: {
|
|
@@ -10329,7 +10079,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10329
10079
|
useExternalContent?: boolean;
|
|
10330
10080
|
isDemoContent?: boolean;
|
|
10331
10081
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10332
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10333
10082
|
} | {
|
|
10334
10083
|
knownState?: undefined;
|
|
10335
10084
|
pageType?: undefined;
|
|
@@ -10370,7 +10119,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10370
10119
|
isLiked?: boolean;
|
|
10371
10120
|
isDemoContent?: boolean;
|
|
10372
10121
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10373
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10374
10122
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10375
10123
|
fileAccessToken?: string;
|
|
10376
10124
|
attachmentContainerId?: string;
|
|
@@ -10414,7 +10162,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10414
10162
|
isLiked?: boolean;
|
|
10415
10163
|
isDemoContent?: boolean;
|
|
10416
10164
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10417
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10418
10165
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10419
10166
|
fileAccessToken?: string;
|
|
10420
10167
|
attachmentContainerId?: string;
|
|
@@ -10458,7 +10205,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10458
10205
|
isLiked?: boolean;
|
|
10459
10206
|
isDemoContent?: boolean;
|
|
10460
10207
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10461
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10462
10208
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10463
10209
|
fileAccessToken?: string;
|
|
10464
10210
|
attachmentContainerId?: string;
|
|
@@ -10502,7 +10248,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10502
10248
|
isLiked?: boolean;
|
|
10503
10249
|
isDemoContent?: boolean;
|
|
10504
10250
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10505
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10506
10251
|
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10507
10252
|
fileAccessToken?: string;
|
|
10508
10253
|
attachmentContainerId?: string;
|
|
@@ -10563,7 +10308,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10563
10308
|
useExternalContent?: boolean;
|
|
10564
10309
|
isDemoContent?: boolean;
|
|
10565
10310
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10566
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10567
10311
|
} | {
|
|
10568
10312
|
knownState: KnownNewsState;
|
|
10569
10313
|
pageType: PageType;
|
|
@@ -10621,7 +10365,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10621
10365
|
useExternalContent?: boolean;
|
|
10622
10366
|
isDemoContent?: boolean;
|
|
10623
10367
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10624
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10625
10368
|
} | {
|
|
10626
10369
|
knownState?: undefined;
|
|
10627
10370
|
pageType?: undefined;
|
|
@@ -10687,7 +10430,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10687
10430
|
useExternalContent?: boolean;
|
|
10688
10431
|
isDemoContent?: boolean;
|
|
10689
10432
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10690
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10691
10433
|
} | {
|
|
10692
10434
|
knownState: KnownNewsState;
|
|
10693
10435
|
pageType?: undefined;
|
|
@@ -10753,7 +10495,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10753
10495
|
useExternalContent?: boolean;
|
|
10754
10496
|
isDemoContent?: boolean;
|
|
10755
10497
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10756
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10757
10498
|
} | {
|
|
10758
10499
|
knownState?: undefined;
|
|
10759
10500
|
pageType: PageType;
|
|
@@ -10819,7 +10560,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10819
10560
|
useExternalContent?: boolean;
|
|
10820
10561
|
isDemoContent?: boolean;
|
|
10821
10562
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10822
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10823
10563
|
} | {
|
|
10824
10564
|
knownState: KnownNewsState;
|
|
10825
10565
|
pageType: PageType;
|
|
@@ -10885,7 +10625,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10885
10625
|
useExternalContent?: boolean;
|
|
10886
10626
|
isDemoContent?: boolean;
|
|
10887
10627
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10888
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10889
10628
|
} | {
|
|
10890
10629
|
knownState?: undefined;
|
|
10891
10630
|
pageType?: PageType;
|
|
@@ -10947,7 +10686,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10947
10686
|
useExternalContent?: boolean;
|
|
10948
10687
|
isDemoContent?: boolean;
|
|
10949
10688
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10950
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10951
10689
|
} | {
|
|
10952
10690
|
knownState: KnownNewsState;
|
|
10953
10691
|
pageType?: PageType;
|
|
@@ -11009,7 +10747,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11009
10747
|
useExternalContent?: boolean;
|
|
11010
10748
|
isDemoContent?: boolean;
|
|
11011
10749
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11012
|
-
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11013
10750
|
})[];
|
|
11014
10751
|
}
|
|
11015
10752
|
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
@@ -11066,7 +10803,6 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
11066
10803
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
11067
10804
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
11068
10805
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11069
|
-
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
11070
10806
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
11071
10807
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
11072
10808
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -11316,22 +11052,20 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
11316
11052
|
}
|
|
11317
11053
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
11318
11054
|
import './ContainerWithLogo.scss';
|
|
11319
|
-
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11320
|
-
import { FC, ReactNode } from 'react';
|
|
11321
11055
|
export enum DefaultLogoColor {
|
|
11322
11056
|
Default = 0,
|
|
11323
11057
|
White = 1
|
|
11324
11058
|
}
|
|
11325
|
-
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11326
|
-
export const ContainerWithLogo: FC<{
|
|
11327
|
-
|
|
11059
|
+
type RenderChildren = React.ReactNode | (() => React.ReactNode);
|
|
11060
|
+
export const ContainerWithLogo: React.FC<{
|
|
11061
|
+
logo?: string;
|
|
11062
|
+
logoColor?: DefaultLogoColor;
|
|
11328
11063
|
text?: string;
|
|
11329
11064
|
headerClassName?: string;
|
|
11330
11065
|
additionalClasses?: string;
|
|
11331
11066
|
children: RenderChildren;
|
|
11332
11067
|
className?: string;
|
|
11333
11068
|
additionalContent?: RenderChildren;
|
|
11334
|
-
isBrandedContainer?: boolean;
|
|
11335
11069
|
}>;
|
|
11336
11070
|
}
|
|
11337
11071
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|