@omnia/workplace 6.11.23 → 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.
Files changed (74) hide show
  1. package/internal-do-not-import-from-here/apis/SearchTokenProviderApi.d.ts +18 -0
  2. package/internal-do-not-import-from-here/apis/TranslatorProviderApi.d.ts +17 -0
  3. package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/manifests/omnia.workplace.fx.manifest.json +1 -1
  5. package/internal-do-not-import-from-here/models/Constants.d.ts +25 -1
  6. package/internal-do-not-import-from-here/models/Constants.js +28 -2
  7. package/internal-do-not-import-from-here/models/Enums.d.ts +7 -1
  8. package/internal-do-not-import-from-here/models/Enums.js +7 -0
  9. package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +4 -1
  10. package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +20 -1
  11. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +39 -9
  12. package/internal-do-not-import-from-here/models/ManifestIds.js +163 -13
  13. package/internal-do-not-import-from-here/models/SearchCategory.d.ts +1 -2
  14. package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +1 -0
  15. package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppInstanceProperties.d.ts +3 -0
  16. package/internal-do-not-import-from-here/models/index.d.ts +5 -1
  17. package/internal-do-not-import-from-here/models/index.js +5 -1
  18. package/internal-do-not-import-from-here/models/qrcode.d.ts +14 -0
  19. package/internal-do-not-import-from-here/models/qrcode.js +5 -0
  20. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +118 -0
  21. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +44 -0
  22. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricConfiguration.d.ts +3 -0
  23. package/internal-do-not-import-from-here/models/{quicksetup/QuickSetupStepProviderApi.js → searchstatistics/SearchStatisticsMetricConfiguration.js} +0 -0
  24. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +7 -0
  25. package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.js +13 -0
  26. package/internal-do-not-import-from-here/models/searchstatistics/index.d.ts +3 -0
  27. package/internal-do-not-import-from-here/models/searchstatistics/index.js +3 -0
  28. package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +11 -0
  29. package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.js +6 -0
  30. package/internal-do-not-import-from-here/models/searchtoken/index.d.ts +1 -0
  31. package/internal-do-not-import-from-here/models/searchtoken/index.js +1 -0
  32. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +27 -0
  33. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.js +1 -0
  34. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +41 -0
  35. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.js +5 -0
  36. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +20 -0
  37. package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +25 -0
  38. package/internal-do-not-import-from-here/models/setupwizard/index.d.ts +3 -0
  39. package/internal-do-not-import-from-here/models/setupwizard/index.js +3 -0
  40. package/internal-do-not-import-from-here/models/styles/GovernanceDashboardStyles.d.ts +2 -0
  41. package/internal-do-not-import-from-here/models/styles/LinkHandlerSettingsStyles.d.ts +6 -0
  42. package/internal-do-not-import-from-here/models/styles/LinkHandlerSettingsStyles.js +1 -0
  43. package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +1 -0
  44. package/internal-do-not-import-from-here/models/styles/QrCodeStyles.d.ts +10 -0
  45. package/internal-do-not-import-from-here/models/styles/QrCodeStyles.js +4 -0
  46. package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +11 -0
  47. package/internal-do-not-import-from-here/models/styles/SearchStyles.js +1 -0
  48. package/internal-do-not-import-from-here/models/styles/index.d.ts +2 -0
  49. package/internal-do-not-import-from-here/models/styles/index.js +2 -0
  50. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +11 -3
  51. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.js +8 -1
  52. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlockStyles.d.ts +1 -0
  53. package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -16
  54. package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +1 -0
  55. package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.d.ts +4 -0
  56. package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.js +1 -0
  57. package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.d.ts +3 -0
  58. package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.js +1 -0
  59. package/internal-do-not-import-from-here/models/texttranslator/index.d.ts +2 -0
  60. package/internal-do-not-import-from-here/models/texttranslator/index.js +2 -0
  61. package/internal-do-not-import-from-here/services/TeamCollaborationService.d.ts +2 -2
  62. package/internal-do-not-import-from-here/stores/LinkHandlerDialogStore.d.ts +8 -0
  63. package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +6 -3
  64. package/internal-do-not-import-from-here/stores/SearchTokenStore.d.ts +33 -0
  65. package/internal-do-not-import-from-here/stores/TeamCollaborationStore.d.ts +1 -1
  66. package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
  67. package/package.json +1 -1
  68. package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.d.ts +0 -28
  69. package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.js +0 -5
  70. package/internal-do-not-import-from-here/models/quicksetup/QuickSetupStepProviderApi.d.ts +0 -25
  71. package/internal-do-not-import-from-here/models/quicksetup/StepProvider.d.ts +0 -7
  72. package/internal-do-not-import-from-here/models/quicksetup/StepProvider.js +0 -6
  73. package/internal-do-not-import-from-here/models/quicksetup/index.d.ts +0 -3
  74. package/internal-do-not-import-from-here/models/quicksetup/index.js +0 -3
@@ -13,6 +13,7 @@ export interface TeamNewsRollupViewSettings {
13
13
  selectedViewId?: string;
14
14
  orderBy?: string;
15
15
  spacing?: SpacingSettings;
16
+ noResultText?: MultilingualString;
16
17
  }
17
18
  export declare const TeamNewsRollupSettingElementName: {
18
19
  teamNewsBlockSettings: string;
@@ -0,0 +1,4 @@
1
+ import { ITranslatorProviderSettings } from '@omnia/fx/models';
2
+ export interface AzureCognitiveTranslatorProvider extends ITranslatorProviderSettings {
3
+ subscriptionKey: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { ITranslatorProviderSettings } from "@omnia/fx/models";
2
+ export interface DefaultTranslatorProvider extends ITranslatorProviderSettings {
3
+ }
@@ -0,0 +1,2 @@
1
+ export * from './AzureCognitiveTranslatorProvider';
2
+ export * from './DefaultTranslatorProvider';
@@ -0,0 +1,2 @@
1
+ export * from './AzureCognitiveTranslatorProvider';
2
+ export * from './DefaultTranslatorProvider';
@@ -1,5 +1,5 @@
1
- import { MSTeamsInfo, MSTeamsChannel, MSTeamsApps, TeamCollaborationResult, MSTeamResponseResult, InformationProtectionLabel } from '../../fx/models';
2
- import { IHttpApiOperationResult, RollupSetting, AppInstance } from '@omnia/fx-models';
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 '@omnia/fx/stores';
2
- import { SearchCategoryService } from '../services';
3
- import { SearchCategory } from '../models';
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 { TeamCollaborationRollupResultItem, TeamCollaborationRollupQuery, TeamCollaborationResult, TeamCollaborationRollupScopeTypes } from '../../fx/models';
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;
@@ -9,3 +9,4 @@ export * from "./FormStore";
9
9
  export * from "./SignOffRequestStore";
10
10
  export * from "./PromotedSearchResultStore";
11
11
  export * from "./LinkHandlerDialogStore";
12
+ export * from "./SearchTokenStore";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "6.11.23",
4
+ "version": "6.12.0",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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,5 +0,0 @@
1
- export var QuickSetupScope;
2
- (function (QuickSetupScope) {
3
- QuickSetupScope[QuickSetupScope["Tenant"] = 1] = "Tenant";
4
- QuickSetupScope[QuickSetupScope["BusinessProfile"] = 2] = "BusinessProfile";
5
- })(QuickSetupScope || (QuickSetupScope = {}));
@@ -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
- }
@@ -1,6 +0,0 @@
1
- var StepProvider = /** @class */ (function () {
2
- function StepProvider() {
3
- }
4
- return StepProvider;
5
- }());
6
- export { StepProvider };
@@ -1,3 +0,0 @@
1
- export * from "./QuickSetupStepProviderApi";
2
- export * from "./StepProvider";
3
- export * from "./QuickSetupSettings";
@@ -1,3 +0,0 @@
1
- export * from "./QuickSetupStepProviderApi";
2
- export * from "./StepProvider";
3
- export * from "./QuickSetupSettings";