@omnia/workplace 6.11.24 → 6.12.0
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/internal-do-not-import-from-here/apis/SearchTokenProviderApi.d.ts +18 -0
- package/internal-do-not-import-from-here/apis/TranslatorProviderApi.d.ts +17 -0
- package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.workplace.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +25 -1
- package/internal-do-not-import-from-here/models/Constants.js +28 -2
- package/internal-do-not-import-from-here/models/Enums.d.ts +7 -1
- package/internal-do-not-import-from-here/models/Enums.js +7 -0
- package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +4 -1
- package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +20 -1
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +39 -9
- package/internal-do-not-import-from-here/models/ManifestIds.js +163 -13
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +1 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +1 -0
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppInstanceProperties.d.ts +3 -0
- package/internal-do-not-import-from-here/models/index.d.ts +5 -1
- package/internal-do-not-import-from-here/models/index.js +5 -1
- package/internal-do-not-import-from-here/models/qrcode.d.ts +14 -0
- package/internal-do-not-import-from-here/models/qrcode.js +5 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +118 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +44 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricConfiguration.d.ts +3 -0
- package/internal-do-not-import-from-here/models/{quicksetup/QuickSetupStepProviderApi.js → searchstatistics/SearchStatisticsMetricConfiguration.js} +0 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +7 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.js +13 -0
- package/internal-do-not-import-from-here/models/searchstatistics/index.d.ts +3 -0
- package/internal-do-not-import-from-here/models/searchstatistics/index.js +3 -0
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +11 -0
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.js +6 -0
- package/internal-do-not-import-from-here/models/searchtoken/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/searchtoken/index.js +1 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +27 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.js +1 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +41 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.js +5 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +20 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +25 -0
- package/internal-do-not-import-from-here/models/setupwizard/index.d.ts +3 -0
- package/internal-do-not-import-from-here/models/setupwizard/index.js +3 -0
- package/internal-do-not-import-from-here/models/styles/GovernanceDashboardStyles.d.ts +2 -0
- package/internal-do-not-import-from-here/models/styles/LinkHandlerSettingsStyles.d.ts +6 -0
- package/internal-do-not-import-from-here/models/styles/LinkHandlerSettingsStyles.js +1 -0
- package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/models/styles/QrCodeStyles.d.ts +10 -0
- package/internal-do-not-import-from-here/models/styles/QrCodeStyles.js +4 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +11 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.js +1 -0
- package/internal-do-not-import-from-here/models/styles/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/styles/index.js +2 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +11 -3
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.js +8 -1
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -16
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.js +1 -0
- package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.d.ts +3 -0
- package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.js +1 -0
- package/internal-do-not-import-from-here/models/texttranslator/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/texttranslator/index.js +2 -0
- package/internal-do-not-import-from-here/services/TeamCollaborationService.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/LinkHandlerDialogStore.d.ts +8 -0
- package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +6 -3
- package/internal-do-not-import-from-here/stores/SearchTokenStore.d.ts +33 -0
- package/internal-do-not-import-from-here/stores/TeamCollaborationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/package.json +1 -1
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.d.ts +0 -28
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.js +0 -5
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupStepProviderApi.d.ts +0 -25
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.d.ts +0 -7
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.js +0 -6
- package/internal-do-not-import-from-here/models/quicksetup/index.d.ts +0 -3
- package/internal-do-not-import-from-here/models/quicksetup/index.js +0 -3
package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AppInstance, IHttpApiOperationResult, RollupSetting } from '@omnia/fx-models';
|
|
2
|
+
import { InformationProtectionLabel, MSTeamResponseResult, MSTeamsApps, MSTeamsChannel, MSTeamsInfo, TeamCollaborationResult } from '../../fx/models';
|
|
3
3
|
export declare class TeamCollaborationService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
constructor();
|
|
@@ -8,17 +8,25 @@ export interface LinkHandlerDialogAction {
|
|
|
8
8
|
export declare class LinkHandlerDialogStore extends Store {
|
|
9
9
|
dialogVisible: import("@omnia/fx/stores").StoreState<boolean>;
|
|
10
10
|
showPrompt: import("@omnia/fx/stores").StoreState<boolean>;
|
|
11
|
+
isRememberChoiceStorageKey: string;
|
|
12
|
+
rememberAction: string;
|
|
11
13
|
customActions: import("@omnia/fx/stores").StoreState<Record<string, LinkHandlerDialogAction>>;
|
|
12
14
|
protected onActivated(): void;
|
|
13
15
|
constructor();
|
|
16
|
+
get: {
|
|
17
|
+
getRememberActionId: () => string;
|
|
18
|
+
};
|
|
14
19
|
mutations: {
|
|
15
20
|
toggleDialog: import("@omnia/fx/stores").StoreMutation<(show: boolean) => void, (show: boolean) => import("@omnia/fx-models/Messaging").IMessageBusSubscriptionHandler>;
|
|
16
21
|
toggleShowPrompt: import("@omnia/fx/stores").StoreMutation<(show: boolean) => void, (show: boolean) => import("@omnia/fx-models/Messaging").IMessageBusSubscriptionHandler>;
|
|
17
22
|
registerCustomAction: import("@omnia/fx/stores").StoreMutation<(actionId: string, action: LinkHandlerDialogAction) => void, (actionId: string, action: LinkHandlerDialogAction) => import("@omnia/fx-models/Messaging").IMessageBusSubscriptionHandler>;
|
|
23
|
+
rememberActionId: import("@omnia/fx/stores").StoreMutation<(action: string) => void, (action: string) => import("@omnia/fx-models/Messaging").IMessageBusSubscriptionHandler>;
|
|
18
24
|
};
|
|
19
25
|
actions: {
|
|
20
26
|
openDeepLink: import("@omnia/fx/stores").StoreAction<unknown, (platform: UserAgentPlatform, url: string, waitTime?: number) => void, (result: boolean, platform: UserAgentPlatform, url: string, waitTime?: number) => void, (failureReason: any, platform: UserAgentPlatform, url: string, waitTime?: number) => void, (platform: UserAgentPlatform, url: string, waitTime?: number) => Promise<boolean>>;
|
|
21
27
|
};
|
|
28
|
+
private verifyNavigateDeepLink;
|
|
29
|
+
private createWaitingDialogTimeout;
|
|
22
30
|
private getWaitTime;
|
|
23
31
|
private registerVisibilityCallback;
|
|
24
32
|
private unregisterVisibilityCallback;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { Store } from
|
|
2
|
-
import { SearchCategoryService } from
|
|
3
|
-
import { SearchCategory } from
|
|
1
|
+
import { Store } from "@omnia/fx/stores";
|
|
2
|
+
import { SearchCategoryService } from "../services";
|
|
3
|
+
import { SearchCategory, SearchCategoryBase } from "../models";
|
|
4
|
+
import { SearchTokenStore } from "./SearchTokenStore";
|
|
4
5
|
export declare class SearchCategoryStore extends Store {
|
|
5
6
|
searchCategoryService: SearchCategoryService;
|
|
6
7
|
private omniaContext;
|
|
8
|
+
searchTokenStore: SearchTokenStore;
|
|
7
9
|
/**
|
|
8
10
|
* State
|
|
9
11
|
*/
|
|
@@ -30,5 +32,6 @@ export declare class SearchCategoryStore extends Store {
|
|
|
30
32
|
actions: {
|
|
31
33
|
ensureSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
32
34
|
ensureTargetedSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
35
|
+
ensureTokenReplacement: import("@omnia/fx/stores").StoreAction<unknown, (searchCategories: SearchCategoryBase[]) => void, (result: SearchCategoryBase[], searchCategories: SearchCategoryBase[]) => void, (failureReason: any, searchCategories: SearchCategoryBase[]) => void, (searchCategories: SearchCategoryBase[]) => Promise<SearchCategoryBase[]>>;
|
|
33
36
|
};
|
|
34
37
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Store } from "@omnia/fx/stores";
|
|
2
|
+
export declare class SearchTokenStore extends Store {
|
|
3
|
+
/**
|
|
4
|
+
* State
|
|
5
|
+
*/
|
|
6
|
+
constructor();
|
|
7
|
+
onActivated(): void;
|
|
8
|
+
onDisposing(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Implementation of getters
|
|
11
|
+
*/
|
|
12
|
+
getters: {};
|
|
13
|
+
/**
|
|
14
|
+
* Implementation of mutations
|
|
15
|
+
*/
|
|
16
|
+
mutations: {};
|
|
17
|
+
actions: {
|
|
18
|
+
ensureTokenReplacementMultiQueryText: import("@omnia/fx/stores").StoreAction<unknown, (searchQueryTexts: {
|
|
19
|
+
[id: string]: string;
|
|
20
|
+
}) => void, (result: {
|
|
21
|
+
[id: string]: string;
|
|
22
|
+
}, searchQueryTexts: {
|
|
23
|
+
[id: string]: string;
|
|
24
|
+
}) => void, (failureReason: any, searchQueryTexts: {
|
|
25
|
+
[id: string]: string;
|
|
26
|
+
}) => void, (searchQueryTexts: {
|
|
27
|
+
[id: string]: string;
|
|
28
|
+
}) => Promise<{
|
|
29
|
+
[id: string]: string;
|
|
30
|
+
}>>;
|
|
31
|
+
ensureTokenReplacement: import("@omnia/fx/stores").StoreAction<unknown, (searchQueryText: string) => void, (result: string, searchQueryText: string) => void, (failureReason: any, searchQueryText: string) => void, (searchQueryText: string) => Promise<string>>;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import {
|
|
2
|
+
import { TeamCollaborationResult, TeamCollaborationRollupQuery, TeamCollaborationRollupResultItem, TeamCollaborationRollupScopeTypes } from '../../fx/models';
|
|
3
3
|
export declare class TeamCollaborationStore extends Store {
|
|
4
4
|
private teamCollaborationService;
|
|
5
5
|
private subscriptionHandler;
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { GuidValue, TargetResolverTypes } from "@omnia/fx-models";
|
|
2
|
-
export declare enum QuickSetupScope {
|
|
3
|
-
Tenant = 1,
|
|
4
|
-
BusinessProfile = 2
|
|
5
|
-
}
|
|
6
|
-
export interface QuickSetupContent {
|
|
7
|
-
id: GuidValue;
|
|
8
|
-
title: string;
|
|
9
|
-
description: string;
|
|
10
|
-
order?: number;
|
|
11
|
-
scopes: QuickSetupScope[];
|
|
12
|
-
uncheckedByDefault?: boolean;
|
|
13
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
14
|
-
}
|
|
15
|
-
export interface QuickSetupStep {
|
|
16
|
-
title: string;
|
|
17
|
-
feature: {
|
|
18
|
-
id: GuidValue;
|
|
19
|
-
scope: TargetResolverTypes;
|
|
20
|
-
};
|
|
21
|
-
order?: number;
|
|
22
|
-
scopes: QuickSetupRender[];
|
|
23
|
-
stopOnFailed?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface QuickSetupRender {
|
|
26
|
-
scope: QuickSetupScope;
|
|
27
|
-
hidden: boolean;
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ApiPath } from "@omnia/fx-models";
|
|
2
|
-
import { StepProvider } from ".";
|
|
3
|
-
import { QuickSetupWizardView } from "../../../models";
|
|
4
|
-
export interface IQuickSetupWizardRegistrationApi {
|
|
5
|
-
registerViews: (providers: QuickSetupWizardView | QuickSetupWizardView[]) => void;
|
|
6
|
-
getAllViews: () => QuickSetupWizardView[];
|
|
7
|
-
}
|
|
8
|
-
export interface IStepProviderRegistrationApi {
|
|
9
|
-
registerStepProvider: (providers: StepProvider | StepProvider[]) => void;
|
|
10
|
-
getAllStepProviders: () => StepProvider[];
|
|
11
|
-
}
|
|
12
|
-
declare module '../WorkplaceApi' {
|
|
13
|
-
interface IWorkplaceApi {
|
|
14
|
-
wizard: {
|
|
15
|
-
registration: Promise<IQuickSetupWizardRegistrationApi>;
|
|
16
|
-
stepproviders: Promise<IStepProviderRegistrationApi>;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
interface IWorkplaceExtendApiManifest {
|
|
20
|
-
wizard: {
|
|
21
|
-
registration: ApiPath;
|
|
22
|
-
stepproviders: ApiPath;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
-
import { QuickSetupContent, QuickSetupStep } from "./QuickSetupSettings";
|
|
3
|
-
export declare abstract class StepProvider {
|
|
4
|
-
abstract readonly omniaServiceId: GuidValue;
|
|
5
|
-
abstract steps: QuickSetupStep[];
|
|
6
|
-
abstract contents: QuickSetupContent[];
|
|
7
|
-
}
|