@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.
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
@@ -40,6 +40,7 @@ export interface TabCustomUrlConfiguration {
40
40
  export interface LayoutTabUrlConfiguration extends TabCustomUrlConfiguration {
41
41
  type: TabCustomUrlType.Layout;
42
42
  layoutId: AppInstanceLayoutId;
43
+ isDefaultLayout: boolean;
43
44
  }
44
45
  export interface Tab {
45
46
  name?: string;
@@ -16,6 +16,9 @@ export interface TeamCollaborationAppInstanceProperties extends TeamCollaboratio
16
16
  members?: Array<Identity>;
17
17
  readers?: Array<Identity>;
18
18
  membership?: Membership;
19
+ /**
20
+ * @deprecated Stop using this one. This is wrong implementation and is stop working now and will be removed in 7.0
21
+ * */
19
22
  appAdministrators: Array<string>;
20
23
  msTeamCloningSettings?: MicrosoftTeamCloningInformation;
21
24
  }
@@ -62,4 +62,8 @@ export * from "./IAdminComponent";
62
62
  export * from "./promotedsearchresults";
63
63
  export * from "./searchfeedbacks";
64
64
  export * from "./ScopedPermissionRegistraion";
65
- export * from "./quicksetup";
65
+ export * from "./setupwizard";
66
+ export * from "./searchstatistics";
67
+ export * from "./searchtoken";
68
+ export * from "./texttranslator";
69
+ export * from "./qrcode";
@@ -63,4 +63,8 @@ export * from "./IAdminComponent";
63
63
  export * from "./promotedsearchresults";
64
64
  export * from "./searchfeedbacks";
65
65
  export * from "./ScopedPermissionRegistraion";
66
- export * from "./quicksetup";
66
+ export * from "./setupwizard";
67
+ export * from "./searchstatistics";
68
+ export * from "./searchtoken";
69
+ export * from "./texttranslator";
70
+ export * from "./qrcode";
@@ -0,0 +1,14 @@
1
+ import { MultilingualString, SpacingSettings } from "@omnia/fx/models";
2
+ export declare enum LinkUrlTypeOption {
3
+ CurrentUrl = 1,
4
+ CustomUrl = 2
5
+ }
6
+ export interface QRCodeBlockSettings {
7
+ blockTitle: MultilingualString;
8
+ link: {
9
+ option: LinkUrlTypeOption;
10
+ linkUrl: string;
11
+ };
12
+ qrSize: number;
13
+ spacing?: SpacingSettings;
14
+ }
@@ -0,0 +1,5 @@
1
+ export var LinkUrlTypeOption;
2
+ (function (LinkUrlTypeOption) {
3
+ LinkUrlTypeOption[LinkUrlTypeOption["CurrentUrl"] = 1] = "CurrentUrl";
4
+ LinkUrlTypeOption[LinkUrlTypeOption["CustomUrl"] = 2] = "CustomUrl";
5
+ })(LinkUrlTypeOption || (LinkUrlTypeOption = {}));
@@ -0,0 +1,118 @@
1
+ import { Guid, GuidValue } from "@omnia/fx/models";
2
+ export declare module SearchStatistics {
3
+ module Constants {
4
+ const SearchLocations: {
5
+ Header: string;
6
+ ActionMenu: string;
7
+ Page: string;
8
+ Workspace: string;
9
+ };
10
+ }
11
+ module Enums {
12
+ enum InteractionType {
13
+ Category = 1,
14
+ Refinement = 2,
15
+ ViewItem = 3
16
+ }
17
+ enum MetricType {
18
+ NoOfQuery = 1,
19
+ AbandonedQuery = 2,
20
+ NoResultQuery = 3
21
+ }
22
+ enum MetricScope {
23
+ Tenant = 1,
24
+ CurrentBusinessProfile = 2
25
+ }
26
+ }
27
+ interface SearchSessionData {
28
+ location: string;
29
+ businessProfileId: GuidValue;
30
+ searchText: string;
31
+ timestamp: Date;
32
+ }
33
+ interface SearchSession extends SearchSessionData {
34
+ id: GuidValue;
35
+ }
36
+ interface SearchResultData {
37
+ searchSessionId: GuidValue;
38
+ searchCategoryId: GuidValue;
39
+ resultCount: number;
40
+ }
41
+ interface SearchResult extends SearchResultData {
42
+ id: GuidValue;
43
+ }
44
+ interface SearchInteractionDataInfo {
45
+ interactionType: Enums.InteractionType;
46
+ timestamp: Date;
47
+ resultCount: number;
48
+ resultItemUrl?: string;
49
+ }
50
+ interface SearchInteractionData extends SearchInteractionDataInfo {
51
+ searchResultId: GuidValue;
52
+ }
53
+ interface SearchInteraction extends SearchInteractionData {
54
+ id: GuidValue;
55
+ }
56
+ const GovernanceDashboard: {
57
+ scopeId: Guid;
58
+ metrics: {
59
+ noOfQuery: Guid;
60
+ abandonedQuery: Guid;
61
+ noResultQuery: Guid;
62
+ };
63
+ filters: {
64
+ scope: Guid;
65
+ };
66
+ };
67
+ interface SearchSessionCountByMonth {
68
+ month: number;
69
+ year: number;
70
+ count: number;
71
+ }
72
+ interface MetricQueryDetail {
73
+ searchText: string;
74
+ }
75
+ interface NoOfQueryDetail extends MetricQueryDetail {
76
+ queryCount: number;
77
+ refinementCount: number;
78
+ abandonedCount: number;
79
+ noResultCount: number;
80
+ }
81
+ interface AbandonedQueryDetail extends MetricQueryDetail {
82
+ refinementCount: number;
83
+ abandonedCount: number;
84
+ }
85
+ interface NoResultQueryDetail extends MetricQueryDetail {
86
+ noResultCount: number;
87
+ }
88
+ interface SearchSessionDetail {
89
+ id: GuidValue;
90
+ searchText: string;
91
+ location: string;
92
+ timestamp: Date;
93
+ }
94
+ interface NoOfQuerySearchSessionDetail extends SearchSessionDetail {
95
+ viewItemTimestamp?: Date;
96
+ refinementCount?: number;
97
+ emptyResult?: number;
98
+ abandoned?: number;
99
+ }
100
+ interface AbandonedQuerySearchSessionDetail extends SearchSessionDetail {
101
+ refinementCount?: number;
102
+ }
103
+ interface NoResultQuerySearchSessionDetail extends SearchSessionDetail {
104
+ }
105
+ interface SearchDetailOption {
106
+ startTime: Date;
107
+ monthSize: number;
108
+ pageNumber: number;
109
+ pageSize: number;
110
+ }
111
+ interface SearchSessionDetailOption extends SearchDetailOption {
112
+ searchText: string;
113
+ }
114
+ interface MetricQueryDetailInfo<T extends MetricQueryDetail> {
115
+ total: number;
116
+ items: Array<T>;
117
+ }
118
+ }
@@ -0,0 +1,44 @@
1
+ import { Guid } from "@omnia/fx/models";
2
+ export var SearchStatistics;
3
+ (function (SearchStatistics) {
4
+ var Constants;
5
+ (function (Constants) {
6
+ Constants.SearchLocations = {
7
+ Header: "header",
8
+ ActionMenu: "actionmenu",
9
+ Page: "page",
10
+ Workspace: "workspace"
11
+ };
12
+ })(Constants = SearchStatistics.Constants || (SearchStatistics.Constants = {}));
13
+ var Enums;
14
+ (function (Enums) {
15
+ var InteractionType;
16
+ (function (InteractionType) {
17
+ InteractionType[InteractionType["Category"] = 1] = "Category";
18
+ InteractionType[InteractionType["Refinement"] = 2] = "Refinement";
19
+ InteractionType[InteractionType["ViewItem"] = 3] = "ViewItem";
20
+ })(InteractionType = Enums.InteractionType || (Enums.InteractionType = {}));
21
+ var MetricType;
22
+ (function (MetricType) {
23
+ MetricType[MetricType["NoOfQuery"] = 1] = "NoOfQuery";
24
+ MetricType[MetricType["AbandonedQuery"] = 2] = "AbandonedQuery";
25
+ MetricType[MetricType["NoResultQuery"] = 3] = "NoResultQuery";
26
+ })(MetricType = Enums.MetricType || (Enums.MetricType = {}));
27
+ var MetricScope;
28
+ (function (MetricScope) {
29
+ MetricScope[MetricScope["Tenant"] = 1] = "Tenant";
30
+ MetricScope[MetricScope["CurrentBusinessProfile"] = 2] = "CurrentBusinessProfile";
31
+ })(MetricScope = Enums.MetricScope || (Enums.MetricScope = {}));
32
+ })(Enums = SearchStatistics.Enums || (SearchStatistics.Enums = {}));
33
+ SearchStatistics.GovernanceDashboard = {
34
+ scopeId: new Guid("1f764b5a-ec2c-4781-87fa-4a8cb2ddb09c"),
35
+ metrics: {
36
+ noOfQuery: new Guid("c0b18c12-d3b5-4b29-8105-222d20d5522f"),
37
+ abandonedQuery: new Guid("aa3d3355-e2a9-4c4c-a44a-5fb01493e7ae"),
38
+ noResultQuery: new Guid("13786d92-6d16-402f-a961-d99ea4341601")
39
+ },
40
+ filters: {
41
+ scope: new Guid("b27d3933-9eab-4561-b3a6-e2ac24a12767")
42
+ }
43
+ };
44
+ })(SearchStatistics || (SearchStatistics = {}));
@@ -0,0 +1,3 @@
1
+ import { DashboardMetricSettings } from "..";
2
+ export interface SearchStatisticsMetricConfig extends DashboardMetricSettings {
3
+ }
@@ -0,0 +1,7 @@
1
+ import { Guid } from "@omnia/fx/models";
2
+ import { FilterValue } from "../GovernanceDashboards";
3
+ import { SearchStatistics } from "./SearchStatistics";
4
+ export declare class SearchStatisticsMetricScopeFilterValue extends FilterValue {
5
+ filterId: Guid;
6
+ value: SearchStatistics.Enums.MetricScope;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { __extends } from "tslib";
2
+ import { FilterValue } from "../GovernanceDashboards";
3
+ import { SearchStatistics } from "./SearchStatistics";
4
+ var SearchStatisticsMetricScopeFilterValue = /** @class */ (function (_super) {
5
+ __extends(SearchStatisticsMetricScopeFilterValue, _super);
6
+ function SearchStatisticsMetricScopeFilterValue() {
7
+ var _this = _super !== null && _super.apply(this, arguments) || this;
8
+ _this.filterId = SearchStatistics.GovernanceDashboard.filters.scope;
9
+ return _this;
10
+ }
11
+ return SearchStatisticsMetricScopeFilterValue;
12
+ }(FilterValue));
13
+ export { SearchStatisticsMetricScopeFilterValue };
@@ -0,0 +1,3 @@
1
+ export * from "./SearchStatistics";
2
+ export * from "./SearchStatisticsMetricConfiguration";
3
+ export * from "./SearchStatisticsMetricFilter";
@@ -0,0 +1,3 @@
1
+ export * from "./SearchStatistics";
2
+ export * from "./SearchStatisticsMetricConfiguration";
3
+ export * from "./SearchStatisticsMetricFilter";
@@ -0,0 +1,11 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ export interface SearchTokensReplacement {
3
+ [tokenKey: string]: string;
4
+ }
5
+ export declare abstract class SearchTokenProvider {
6
+ abstract readonly title: string;
7
+ abstract readonly providerId: GuidValue;
8
+ abstract readonly tokens: string[];
9
+ abstract readonly tokenRegex?: RegExp;
10
+ resolveSearchTokens: (tokensToResolve: Array<string>) => Promise<SearchTokensReplacement>;
11
+ }
@@ -0,0 +1,6 @@
1
+ var SearchTokenProvider = /** @class */ (function () {
2
+ function SearchTokenProvider() {
3
+ }
4
+ return SearchTokenProvider;
5
+ }());
6
+ export { SearchTokenProvider };
@@ -0,0 +1 @@
1
+ export * from "./SearchTokenProvider";
@@ -0,0 +1 @@
1
+ export * from "./SearchTokenProvider";
@@ -0,0 +1,27 @@
1
+ import { ApiPath, GuidValue } from "@omnia/fx-models";
2
+ import { SetupWizardTemplateExtendData } from ".";
3
+ import { SetupWizardView } from "../../../models/setupwizard/setupwizard/SetupWizardView";
4
+ import { SetupWizardTemplateProvider } from "./SetupWizardTemplateProvider";
5
+ export interface ISetupWizardRegistrationApi {
6
+ registerViews: (providers: SetupWizardView | SetupWizardView[]) => void;
7
+ getAllViews: () => SetupWizardView[];
8
+ }
9
+ export interface ISetupWizardTemplateProviderRegistrationApi {
10
+ registerSetupWizardTemplateProvider: (providers: SetupWizardTemplateProvider | SetupWizardTemplateProvider[]) => void;
11
+ extendSetupWizardTemplate: (templateId: GuidValue, templateExtendData: SetupWizardTemplateExtendData, omniaServiceId: GuidValue) => void;
12
+ getAllSetupWizardTemplateProviders: () => SetupWizardTemplateProvider[];
13
+ }
14
+ declare module '../WorkplaceApi' {
15
+ interface IWorkplaceApi {
16
+ setupwizard: {
17
+ registration: Promise<ISetupWizardRegistrationApi>;
18
+ templateproviders: Promise<ISetupWizardTemplateProviderRegistrationApi>;
19
+ };
20
+ }
21
+ interface IWorkplaceExtendApiManifest {
22
+ setupwizard: {
23
+ registration: ApiPath;
24
+ templateproviders: ApiPath;
25
+ };
26
+ }
27
+ }
@@ -0,0 +1,41 @@
1
+ import { GuidValue, TargetResolverTypes } from "@omnia/fx-models";
2
+ import { SetupWizardTemplateFeatureHandler } from "..";
3
+ export declare enum SetupWizardScope {
4
+ Tenant = 1,
5
+ BusinessProfile = 2
6
+ }
7
+ export interface SetupWizardContent {
8
+ id: GuidValue;
9
+ title: string;
10
+ description: string;
11
+ order?: number;
12
+ scopes: SetupWizardScope[];
13
+ uncheckedByDefault?: boolean;
14
+ omniaServiceId: GuidValue;
15
+ onCheckedChange?: (isChecked: boolean, featureHandler: SetupWizardTemplateFeatureHandler) => void;
16
+ }
17
+ export interface SetupWizardFeature {
18
+ title: string;
19
+ feature: {
20
+ id: GuidValue;
21
+ scope: TargetResolverTypes;
22
+ settings?: Record<string, string>;
23
+ };
24
+ order?: number;
25
+ scopes: SetupWizardRender[];
26
+ stopOnFailed?: boolean;
27
+ omniaServiceId: GuidValue;
28
+ }
29
+ export interface SetupWizardRender {
30
+ scope: SetupWizardScope;
31
+ hidden: boolean;
32
+ }
33
+ export interface SetupWizardTemplateExtendData {
34
+ features: SetupWizardFeature[];
35
+ contents: SetupWizardContent[];
36
+ }
37
+ export interface SetupWizardStep {
38
+ order: number;
39
+ title: string;
40
+ componentManifestId?: GuidValue;
41
+ }
@@ -0,0 +1,5 @@
1
+ export var SetupWizardScope;
2
+ (function (SetupWizardScope) {
3
+ SetupWizardScope[SetupWizardScope["Tenant"] = 1] = "Tenant";
4
+ SetupWizardScope[SetupWizardScope["BusinessProfile"] = 2] = "BusinessProfile";
5
+ })(SetupWizardScope || (SetupWizardScope = {}));
@@ -0,0 +1,20 @@
1
+ import { GuidValue, IIcon } from "@omnia/fx/models";
2
+ import { SetupWizardContent, SetupWizardFeature, SetupWizardScope, SetupWizardStep } from "./SetupWizardSettings";
3
+ export declare abstract class SetupWizardTemplateProvider {
4
+ abstract readonly omniaServiceId: GuidValue;
5
+ abstract readonly id: GuidValue;
6
+ abstract title: string;
7
+ abstract icon: IIcon;
8
+ abstract description: string;
9
+ abstract externalLink?: string;
10
+ abstract steps: SetupWizardStep[];
11
+ abstract scopes: SetupWizardScope[];
12
+ abstract contents: SetupWizardContent[];
13
+ abstract features: SetupWizardFeature[];
14
+ }
15
+ export declare class SetupWizardTemplateFeatureHandler {
16
+ private template;
17
+ constructor(template: SetupWizardTemplateProvider);
18
+ addFeature(feature: SetupWizardFeature): void;
19
+ removeFeature(feature: SetupWizardFeature): void;
20
+ }
@@ -0,0 +1,25 @@
1
+ var SetupWizardTemplateProvider = /** @class */ (function () {
2
+ function SetupWizardTemplateProvider() {
3
+ }
4
+ return SetupWizardTemplateProvider;
5
+ }());
6
+ export { SetupWizardTemplateProvider };
7
+ var SetupWizardTemplateFeatureHandler = /** @class */ (function () {
8
+ function SetupWizardTemplateFeatureHandler(template) {
9
+ this.template = template;
10
+ }
11
+ SetupWizardTemplateFeatureHandler.prototype.addFeature = function (feature) {
12
+ var index = this.template.features.findIndex(function (s) { return s.feature.id.toString() == feature.feature.id; });
13
+ if (index < 0) {
14
+ this.template.features.push(feature);
15
+ }
16
+ };
17
+ SetupWizardTemplateFeatureHandler.prototype.removeFeature = function (feature) {
18
+ var index = this.template.features.findIndex(function (s) { return s.feature.id.toString() == feature.feature.id; });
19
+ if (index > -1) {
20
+ this.template.features.splice(index, 1);
21
+ }
22
+ };
23
+ return SetupWizardTemplateFeatureHandler;
24
+ }());
25
+ export { SetupWizardTemplateFeatureHandler };
@@ -0,0 +1,3 @@
1
+ export * from "./SetupWizardProviderApi";
2
+ export * from "./SetupWizardSettings";
3
+ export * from "./SetupWizardTemplateProvider";
@@ -0,0 +1,3 @@
1
+ export * from "./SetupWizardProviderApi";
2
+ export * from "./SetupWizardSettings";
3
+ export * from "./SetupWizardTemplateProvider";
@@ -4,6 +4,8 @@ export declare const GovernanceDashboardStyles: {
4
4
  container?: (spacing: SpacingSettings) => types.NestedCSSProperties;
5
5
  breadcrumbItem?: types.NestedCSSProperties;
6
6
  breadcrumbDisable?: types.NestedCSSProperties;
7
+ headerContainer?: types.NestedCSSProperties;
8
+ closeButton?: types.NestedCSSProperties;
7
9
  };
8
10
  export declare const GovernanceDashboardSettingsStyles: {
9
11
  container?: types.NestedCSSProperties;
@@ -0,0 +1,6 @@
1
+ import { OmniaTheming } from '@omnia/fx/ux';
2
+ import { types } from 'typestyle';
3
+ export declare const LinkHandlerSettingsStyles: {
4
+ bottomBar: (theme: OmniaTheming) => types.NestedCSSProperties;
5
+ mainContent: types.NestedCSSProperties;
6
+ };
@@ -0,0 +1 @@
1
+ export var LinkHandlerSettingsStyles = {};
@@ -71,6 +71,7 @@ export declare const SimpleListingSearchTemplateStyles: {
71
71
  itemWrapper?: types.NestedCSSProperties;
72
72
  linkAvatar?: types.NestedCSSProperties;
73
73
  noneBgIconContainer?: (iconSize: string) => types.NestedCSSProperties;
74
+ title?: types.NestedCSSProperties;
74
75
  };
75
76
  export declare const AppIconSearchTemplateStyles: {
76
77
  itemWrapper?: types.NestedCSSProperties;
@@ -0,0 +1,10 @@
1
+ import { SpacingSettings } from "@omnia/fx/models";
2
+ import { types } from "typestyle";
3
+ /**
4
+ * Styles for the QRCode component
5
+ */
6
+ export declare const QRCodeStyles: {
7
+ container: types.NestedCSSProperties;
8
+ qrImage: types.NestedCSSProperties;
9
+ setBlockPadding?: (val: SpacingSettings) => types.NestedCSSProperties;
10
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Styles for the QRCode component
3
+ */
4
+ export var QRCodeStyles = {};
@@ -17,9 +17,11 @@ declare type SearchRule = {
17
17
  headerTitle?: types.NestedCSSProperties;
18
18
  textboxDialogMode?: types.NestedCSSProperties;
19
19
  noResult?: (showOnHeader: boolean, dropdownResultMode: boolean) => types.NestedCSSProperties;
20
+ contentTop?: (showOnHeader: boolean, dropdownResultMode: boolean) => types.NestedCSSProperties;
20
21
  searchBox?: (styling: SearchBoxStyling, theming: ITheming) => types.NestedCSSProperties;
21
22
  dropdownResult?: (height: number, showOnHeader: boolean) => types.NestedCSSProperties;
22
23
  dropdownOverride?: types.NestedCSSProperties;
24
+ spellingSuggestionLink?: types.NestedCSSProperties;
23
25
  };
24
26
  export declare const SearchAdminStyles: {
25
27
  container?: types.NestedCSSProperties;
@@ -72,6 +74,15 @@ export declare const AdvancedSearchStyles: {
72
74
  promotedResultDivider?: types.NestedCSSProperties;
73
75
  refinerPanelHeader?: types.NestedCSSProperties;
74
76
  refinerPanelContent?: types.NestedCSSProperties;
77
+ spellingSusstionWrapper?: types.NestedCSSProperties;
78
+ spellingSuggestionLink?: types.NestedCSSProperties;
79
+ };
80
+ export declare const AdvancedSearchSettingsStyles: {
81
+ container?: types.NestedCSSProperties;
82
+ settingsHeaderContainer?: types.NestedCSSProperties;
83
+ settingsHeaderDragButton?: types.NestedCSSProperties;
84
+ settingsHeaderButton?: types.NestedCSSProperties;
85
+ settingsPanel?: types.NestedCSSProperties;
75
86
  };
76
87
  export declare const SearchBlockStyles: {
77
88
  blockSpacing: (spacing: SpacingSettings) => types.NestedCSSProperties;
@@ -1,6 +1,7 @@
1
1
  export var SearchAdminStyles = {};
2
2
  export var QuickSearchStyles = {};
3
3
  export var AdvancedSearchStyles = {};
4
+ export var AdvancedSearchSettingsStyles = {};
4
5
  export var SearchBlockStyles = {};
5
6
  export var SearchHeaderStyles = {};
6
7
  export var ShowMoreStyles = {};
@@ -25,3 +25,5 @@ export * from "./WorkplaceActionMenuStyles";
25
25
  export * from "./WorkplaceHomeStyles";
26
26
  export * from "./DocumentDirectionSettingsStyles";
27
27
  export * from "./WorkplaceSharedStyles";
28
+ export * from "./QrCodeStyles";
29
+ export * from "./LinkHandlerSettingsStyles";
@@ -25,3 +25,5 @@ export * from "./WorkplaceActionMenuStyles";
25
25
  export * from "./WorkplaceHomeStyles";
26
26
  export * from "./DocumentDirectionSettingsStyles";
27
27
  export * from "./WorkplaceSharedStyles";
28
+ export * from "./QrCodeStyles";
29
+ export * from "./LinkHandlerSettingsStyles";
@@ -1,8 +1,9 @@
1
- import { SpacingSettings, GuidValue, RollupFilter, RollupEnums, RollupSetting, PersonPropFilterValue, BooleanPropFilterValue, TextPropFilterValue, TaxonomyPropFilterValue, DatePropFilterValue, TexSearchestPropFilterValue, MultilingualString } from '@omnia/fx-models';
1
+ import { SpacingSettings, GuidValue, RollupFilter, RollupEnums, RollupSetting, PersonPropFilterValue, BooleanPropFilterValue, TextPropFilterValue, TaxonomyPropFilterValue, DatePropFilterValue, TexSearchestPropFilterValue, MultilingualString, MediaPickerImage } from '@omnia/fx-models';
2
2
  import { TeamCollaborationRollupScopeTypes } from '.';
3
3
  import { AppEnums } from '../apps';
4
4
  export declare const TeamCollaborationConstants: {
5
- readonly teamTitleAndLink: string;
5
+ readonly teamTitleAndLinkToTeamwork: string;
6
+ readonly teamTitleAndLinkToPublicInfo: string;
6
7
  readonly searchBoxInternalName: string;
7
8
  readonly OPMProcessPropertyId: string;
8
9
  readonly appInstanceDescription: string;
@@ -18,6 +19,7 @@ export interface TeamCollaborationRollupResultItem {
18
19
  followError?: boolean;
19
20
  unfollowError?: boolean;
20
21
  templateIcon?: any;
22
+ image?: MediaPickerImage;
21
23
  defaultResourceUrlType?: AppEnums.ResourceUrlType;
22
24
  }
23
25
  export interface MSTeamResponseResult {
@@ -82,6 +84,10 @@ export interface TeamCollaborationRollupQuery extends RollupSetting {
82
84
  enableWildcardSearch?: boolean;
83
85
  currentBusinessProfile?: boolean;
84
86
  }
87
+ export declare enum TeamCollaborationRollupLinkBehavior {
88
+ OpenTeamwork = 0,
89
+ OpenLayout = 1
90
+ }
85
91
  export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationRollupQuery {
86
92
  uiFilters: Array<UIFilter>;
87
93
  selectedViewId: string;
@@ -106,6 +112,7 @@ export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationR
106
112
  excludePersonalSite?: boolean;
107
113
  dialogMode?: boolean;
108
114
  tabMode?: boolean;
115
+ noResultText?: MultilingualString;
109
116
  }
110
117
  export declare module TeamCollaborationRollupEnums {
111
118
  enum PagingType {
@@ -119,6 +126,7 @@ export declare module TeamCollaborationRollupEnums {
119
126
  }
120
127
  enum IconModes {
121
128
  LetterAvatar = 0,
122
- TemplateIcon = 1
129
+ TemplateIcon = 1,
130
+ AppImage = 2
123
131
  }
124
132
  }
@@ -1,5 +1,6 @@
1
1
  export var TeamCollaborationConstants = {
2
- get teamTitleAndLink() { return "E1D9C213-F355-4D1C-9F96-3D57BD5C6181"; },
2
+ get teamTitleAndLinkToTeamwork() { return "E1D9C213-F355-4D1C-9F96-3D57BD5C6181"; },
3
+ get teamTitleAndLinkToPublicInfo() { return "82C362D8-1E60-4C0E-8497-7E153DA99535"; },
3
4
  get searchBoxInternalName() { return "BFD1558A-B135-4210-B1F6-A834774FD865"; },
4
5
  //Temp solution to remove OPM reference
5
6
  //This should be removed when we properly fix the enterprise property
@@ -8,6 +9,11 @@ export var TeamCollaborationConstants = {
8
9
  },
9
10
  get appInstanceDescription() { return "appinstance_description"; }
10
11
  };
12
+ export var TeamCollaborationRollupLinkBehavior;
13
+ (function (TeamCollaborationRollupLinkBehavior) {
14
+ TeamCollaborationRollupLinkBehavior[TeamCollaborationRollupLinkBehavior["OpenTeamwork"] = 0] = "OpenTeamwork";
15
+ TeamCollaborationRollupLinkBehavior[TeamCollaborationRollupLinkBehavior["OpenLayout"] = 1] = "OpenLayout";
16
+ })(TeamCollaborationRollupLinkBehavior || (TeamCollaborationRollupLinkBehavior = {}));
11
17
  export var TeamCollaborationRollupEnums;
12
18
  (function (TeamCollaborationRollupEnums) {
13
19
  var PagingType;
@@ -25,5 +31,6 @@ export var TeamCollaborationRollupEnums;
25
31
  (function (IconModes) {
26
32
  IconModes[IconModes["LetterAvatar"] = 0] = "LetterAvatar";
27
33
  IconModes[IconModes["TemplateIcon"] = 1] = "TemplateIcon";
34
+ IconModes[IconModes["AppImage"] = 2] = "AppImage";
28
35
  })(IconModes = TeamCollaborationRollupEnums.IconModes || (TeamCollaborationRollupEnums.IconModes = {}));
29
36
  })(TeamCollaborationRollupEnums || (TeamCollaborationRollupEnums = {}));
@@ -26,6 +26,7 @@ export declare const TeamCollaborationRollupBlockListViewStyles: {
26
26
  customOmfxPeoplePicker?: types.NestedCSSProperties;
27
27
  titleLink?: types.NestedCSSProperties;
28
28
  clickableLink?: types.NestedCSSProperties;
29
+ nonClickableLink?: types.NestedCSSProperties;
29
30
  getPaddingStyle?: (spacing: SpacingSettings, skip?: {
30
31
  top?: boolean;
31
32
  right?: boolean;
@@ -1,5 +1,5 @@
1
- import { GuidValue, EnterprisePropertyDefinition, PropertyIndexedType } from '@omnia/fx-models';
2
- import { TeamCollaborationRollupViewSettings, TeamCollaborationRollupEnums, TeamCollaborationRollupResultItem, TeamCollaborationRollupBlockSettings } from './TeamCollaborationRollupBlock';
1
+ import { GuidValue, EnterprisePropertyDefinition } from '@omnia/fx-models';
2
+ import { TeamCollaborationRollupViewSettings, TeamCollaborationRollupResultItem, TeamCollaborationRollupBlockSettings } from './TeamCollaborationRollupBlock';
3
3
  export interface MyTeamCollaborationDialog {
4
4
  open: boolean;
5
5
  isCreateMode: boolean;
@@ -23,20 +23,6 @@ export interface ITeamCollaborationRollupViewSettingsInterface<T extends TeamCol
23
23
  onUpdatedViewSettings: (viewSettings: T) => void;
24
24
  styles: any;
25
25
  }
26
- export interface TeamCollaborationListViewColumn {
27
- internalName: string;
28
- type: PropertyIndexedType;
29
- width?: string;
30
- showHeading?: boolean;
31
- }
32
- export interface TeamCollaborationListViewDateTimeColumn extends TeamCollaborationListViewColumn {
33
- type: PropertyIndexedType.DateTime;
34
- mode: TeamCollaborationRollupEnums.DateTimeMode;
35
- format: string;
36
- }
37
- export interface TeamCollaborationRollupListViewSettings extends TeamCollaborationRollupViewSettings {
38
- columns: Array<TeamCollaborationListViewColumn>;
39
- }
40
26
  export declare enum TeamCollaborationRollupScopeTypes {
41
27
  All = 0,
42
28
  Following = 1,