@omnia/workplace 6.11.14-preview → 6.12.10-preview
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/manifests/omnia.workplace.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +3 -1
- package/internal-do-not-import-from-here/models/Constants.js +6 -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 +25 -5
- package/internal-do-not-import-from-here/models/ManifestIds.js +105 -5
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +1 -2
- package/internal-do-not-import-from-here/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/index.js +2 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupProviderApi.d.ts +32 -0
- package/internal-do-not-import-from-here/models/quicksetup/{QuickSetupStepProviderApi.js → QuickSetupProviderApi.js} +0 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.d.ts +21 -2
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupTemplateProvider.d.ts +14 -0
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupTemplateProvider.js +6 -0
- package/internal-do-not-import-from-here/models/quicksetup/index.d.ts +2 -2
- package/internal-do-not-import-from-here/models/quicksetup/index.js +2 -2
- 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/searchstatistics/SearchStatisticsMetricConfiguration.js +1 -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 +10 -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/styles/GovernanceDashboardStyles.d.ts +2 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +7 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.js +1 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +2 -1
- package/package.json +1 -1
- 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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiPath } from "@omnia/fx/models";
|
|
2
|
+
import { SearchTokenProvider } from "../models";
|
|
3
|
+
export interface ISearchTokenProviderRegistrationApi {
|
|
4
|
+
registerSearchTokenProvider: (providers: SearchTokenProvider | SearchTokenProvider[]) => void;
|
|
5
|
+
getAllSearchTokenProviders: () => SearchTokenProvider[];
|
|
6
|
+
}
|
|
7
|
+
declare module "../models/WorkplaceApi" {
|
|
8
|
+
interface IWorkplaceApi {
|
|
9
|
+
searchtokenprovider: {
|
|
10
|
+
registration: Promise<ISearchTokenProviderRegistrationApi>;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
interface IWorkplaceExtendApiManifest {
|
|
14
|
+
searchtokenprovider: {
|
|
15
|
+
registration: ApiPath;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/permissions/loc/localize.js":{"id":"./client/admin/permissions/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["PermissionLocalization"]},"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"exports":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"exports":["AdminNamespace","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"exports":["ActionMenuStyles","AdvancedSearchStyles","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MSTeamTemplateStep","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PostsFeedScopeOption","PostsFeedSortMode","PromotedSearchResultStatus","QuestionTypes","QuickSearchStyles","QuickSetupScope","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","ServiceDefinition","SettingsKeys","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","
|
|
1
|
+
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/permissions/loc/localize.js":{"id":"./client/admin/permissions/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["PermissionLocalization"]},"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"exports":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"exports":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"exports":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"exports":["AdminNamespace","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","settingsTabContainer"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"},"exports":["ActionMenuStyles","AdvancedSearchSettingsStyles","AdvancedSearchStyles","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DefaultSearchTemplateStyles","DocumentDirectionSettingsStyles","EditModes","EnterpriseGlossaryAdminProvider","EnterpriseGlossaryInformationSettingsProvider","EnterpriseGlossaryInformationSourceSettingsProvider","EnterpriseGlossaryTaxonomyNavigationDisplayProvider","EnterpriseGlossaryTaxonomyNavigationSettingsProvider","EnterprisePropertyCategoriesDefaultBladeStyles","Enums","FeedType","FilterValue","FollowedsitesUpdatedAtUserPropertyBag","FooterPositions","FooterSettingStyles","FormGenericSetting","FormLayoutProvider","FormTypes","GovernanceDashboard","GovernanceDashboardSettingsStyles","GovernanceDashboardStyles","GroupManifests","GroupMembershipMappingBladeStyles","HeaderSettingsMode","HeaderStyles","HighPriorityAnnouncementStyle","HomeLayoutDefinition","HorizontalActionMenuStyles","HorizontalMegaMenuStyles","ItemQueryResult","JumpToContentStyles","LegendAlignment","LegendPosition","LocalizationAdminStyles","LocalizationInputStyles","LogoStyles","MSTeamChannelFeedSorting","MSTeamTemplateStep","MediaPickerStorageProviderWorkplaceFaviconContext","MediaPickerStorageProviderWorkplaceFormContext","MediaPickerStorageProviderWorkplaceLogoContext","MediaPickerStorageProviderWorkplacePromotedSearchResultContext","MediaPickerStorageProviderWorkplaceSearchFeedbackContext","MediaPickerStorageProviderWorkplaceTutorialContext","MegaMenuLayoutDefinition","MembersStep","MobileMegaMenuStyles","MyLinksStyles","MySitesEnums","MySitesStyles","MyTeamCollaborationCategoryStyles","MyTeamCollaborationStyles","NewTeamworksTimeType","NotificationConstants","NotificationPanelDisplayModes","NotificationPanelHeaderStyles","NotificationPanelIconPosition","NotificationPanelSettingsStyles","NotificationPanelStyles","NotificationPanelTabAligments","NotificationTypes","OmniaSystemLanguageSettingsStyles","OptionTypes","PostsFeedScopeOption","PostsFeedSortMode","PromotedSearchResultStatus","QuestionTypes","QuickSearchStyles","QuickSetupScope","QuickSetupTemplateProvider","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","SearchStatistics","SearchStatisticsMetricScopeFilterValue","SearchTokenProvider","ServiceDefinition","SettingsKeys","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","TabCustomUrlType","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider"]}}}
|
|
@@ -101,7 +101,9 @@ export declare const GovernanceDashboard: {
|
|
|
101
101
|
};
|
|
102
102
|
Metrics: {
|
|
103
103
|
NewTeamworks: Guid;
|
|
104
|
-
|
|
104
|
+
Total: Guid;
|
|
105
|
+
ActiveLastActivity: Guid;
|
|
106
|
+
InactiveLastActivity: Guid;
|
|
105
107
|
};
|
|
106
108
|
DashboardLayoutSettingsKey: string;
|
|
107
109
|
ActionButtonIds: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActionHandlerRegistrationId, AdminNavigationBuiltInCategory, FontAwesomeIcon, Guid } from '@omnia/fx-models';
|
|
2
|
+
import { WPRoleDefinition } from './ManifestIds';
|
|
2
3
|
export var Constants = {
|
|
3
4
|
featureIds: {
|
|
4
5
|
ShowBusinessProfileHeader: "fd86ca16-e6fd-42ed-b11e-5e8267cda628",
|
|
@@ -38,7 +39,8 @@ export var Constants = {
|
|
|
38
39
|
category: AdminNavigationBuiltInCategory.BusinessProfile,
|
|
39
40
|
elementToRender: "omnia-workplace-search-admin-journey",
|
|
40
41
|
icon: new FontAwesomeIcon("fal fa-search"),
|
|
41
|
-
weight: 400
|
|
42
|
+
weight: 400,
|
|
43
|
+
securityRole: WPRoleDefinition.SearchBPAdmin.toString()
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -130,7 +132,9 @@ export var GovernanceDashboard = {
|
|
|
130
132
|
},
|
|
131
133
|
Metrics: {
|
|
132
134
|
NewTeamworks: new Guid("47370cca-5518-44c2-91da-a083e78ec36a"),
|
|
133
|
-
|
|
135
|
+
Total: new Guid("e259e6da-2e8b-49e1-afd1-061d6582246e"),
|
|
136
|
+
ActiveLastActivity: new Guid("c42a3947-de82-4470-b5fd-9183872e181a"),
|
|
137
|
+
InactiveLastActivity: new Guid("2f2ce11d-f013-4a9d-b701-21469147187e")
|
|
134
138
|
},
|
|
135
139
|
DashboardLayoutSettingsKey: "omnia.workplace.governancedashboard.layout",
|
|
136
140
|
ActionButtonIds: {
|
|
@@ -104,7 +104,13 @@ export declare module Enums {
|
|
|
104
104
|
ProfileQuery = 0,
|
|
105
105
|
SharePointGroups = 1,
|
|
106
106
|
ActivityQuery = 2,
|
|
107
|
-
UserFieldsOnPage = 3
|
|
107
|
+
UserFieldsOnPage = 3,
|
|
108
|
+
Birthday = 4
|
|
109
|
+
}
|
|
110
|
+
enum BirthdayPeriod {
|
|
111
|
+
NoLimit = 0,
|
|
112
|
+
Today = 1,
|
|
113
|
+
OneMonthFromToday = 2
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
116
|
enum ChromeMode {
|
|
@@ -128,7 +128,14 @@ export var Enums;
|
|
|
128
128
|
QueryType[QueryType["SharePointGroups"] = 1] = "SharePointGroups";
|
|
129
129
|
QueryType[QueryType["ActivityQuery"] = 2] = "ActivityQuery";
|
|
130
130
|
QueryType[QueryType["UserFieldsOnPage"] = 3] = "UserFieldsOnPage";
|
|
131
|
+
QueryType[QueryType["Birthday"] = 4] = "Birthday";
|
|
131
132
|
})(QueryType = PeopleRollupEnums.QueryType || (PeopleRollupEnums.QueryType = {}));
|
|
133
|
+
var BirthdayPeriod;
|
|
134
|
+
(function (BirthdayPeriod) {
|
|
135
|
+
BirthdayPeriod[BirthdayPeriod["NoLimit"] = 0] = "NoLimit";
|
|
136
|
+
BirthdayPeriod[BirthdayPeriod["Today"] = 1] = "Today";
|
|
137
|
+
BirthdayPeriod[BirthdayPeriod["OneMonthFromToday"] = 2] = "OneMonthFromToday";
|
|
138
|
+
})(BirthdayPeriod = PeopleRollupEnums.BirthdayPeriod || (PeopleRollupEnums.BirthdayPeriod = {}));
|
|
132
139
|
})(PeopleRollupEnums = Enums.PeopleRollupEnums || (Enums.PeopleRollupEnums = {}));
|
|
133
140
|
var ChromeMode;
|
|
134
141
|
(function (ChromeMode) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Guid, MultilingualString, SpacingSettings } from '@omnia/fx-models';
|
|
1
|
+
import { Guid, IIcon, MultilingualString, SpacingSettings } from '@omnia/fx-models';
|
|
2
2
|
export interface DashboardScopeMessage {
|
|
3
3
|
id: Guid;
|
|
4
4
|
title: string;
|
|
@@ -25,6 +25,9 @@ export interface DashboardMetric {
|
|
|
25
25
|
export interface DashboardMetricSettings {
|
|
26
26
|
multilingualTitle: MultilingualString;
|
|
27
27
|
id: string;
|
|
28
|
+
description?: MultilingualString;
|
|
29
|
+
icon?: IIcon;
|
|
30
|
+
color?: string;
|
|
28
31
|
}
|
|
29
32
|
export interface DashboardMetricBlock<T extends DashboardMetricSettings = DashboardMetricSettings> extends DashboardMetric {
|
|
30
33
|
config: T;
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
1
2
|
import { SearchResultItem } from "./Search";
|
|
3
|
+
export interface SearchItemClickedOptions {
|
|
4
|
+
/**
|
|
5
|
+
* The custom action always runs before close search dialog or clear the search result
|
|
6
|
+
* */
|
|
7
|
+
customAction: () => Promise<void>;
|
|
8
|
+
/**
|
|
9
|
+
* Clear the search result and search text box
|
|
10
|
+
* */
|
|
11
|
+
clearSearchResult: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Close the search dialog
|
|
14
|
+
* */
|
|
15
|
+
closeDialog: boolean;
|
|
16
|
+
}
|
|
2
17
|
export interface ISearchTemplate {
|
|
3
18
|
dataRow: SearchResultItem;
|
|
4
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Capture viewed search result item if collect statistics is enabled and handle to close search dialog
|
|
21
|
+
* */
|
|
22
|
+
onItemClicked?: (searchCategoryId?: GuidValue, itemUrl?: string, itemClickedOptions?: SearchItemClickedOptions) => void;
|
|
23
|
+
searchCategoryId?: GuidValue;
|
|
5
24
|
}
|
|
@@ -14,6 +14,7 @@ export declare class WPRoleDefinition {
|
|
|
14
14
|
static get SharedLinksBPAdmin(): Guid;
|
|
15
15
|
static get AnnouncementsTenantAdmin(): Guid;
|
|
16
16
|
static get AnnouncementsBPAdmin(): Guid;
|
|
17
|
+
static get SearchBPAdmin(): Guid;
|
|
17
18
|
}
|
|
18
19
|
export declare class ResourceManifests {
|
|
19
20
|
static get Fx(): Guid;
|
|
@@ -53,6 +54,8 @@ export declare class ResourceManifests {
|
|
|
53
54
|
static get SearchTemplateApi(): Guid;
|
|
54
55
|
static get ScopedPermissionApi(): Guid;
|
|
55
56
|
static get SearchCategoryProviderApi(): Guid;
|
|
57
|
+
static get SearchTokenProviderApi(): Guid;
|
|
58
|
+
static get DefaultSearchTokenProviderRegistration(): Guid;
|
|
56
59
|
static get EnableMSTeamsDeepLinkExecution(): Guid;
|
|
57
60
|
static get TenantPeopleInfoJourney(): Guid;
|
|
58
61
|
static get Favicon(): Guid;
|
|
@@ -118,6 +121,8 @@ export declare class ResourceManifests {
|
|
|
118
121
|
static get PowerAppCore(): Guid;
|
|
119
122
|
static get WorkspaceCommon(): Guid;
|
|
120
123
|
static get PostsFeedBlockCore(): Guid;
|
|
124
|
+
static get SearchStatisticsMetricShared(): Guid;
|
|
125
|
+
static get SearchStatisticsMetricGroup(): Guid;
|
|
121
126
|
}
|
|
122
127
|
export declare class WebComponentManifests {
|
|
123
128
|
static get FaviconSettings(): Guid;
|
|
@@ -129,10 +134,12 @@ export declare class WebComponentManifests {
|
|
|
129
134
|
static get SearchConfig(): Guid;
|
|
130
135
|
static get PromotedSearchResultJourney(): Guid;
|
|
131
136
|
static get SearchFeedbackJourney(): Guid;
|
|
137
|
+
static get SearchStatisticsJourney(): Guid;
|
|
132
138
|
static get QuickSearchConfig(): Guid;
|
|
133
139
|
static get QuickSearchCategoriesConfig(): Guid;
|
|
134
140
|
static get AdvenceSearchConfig(): Guid;
|
|
135
141
|
static get AdvancedSearchCategoriesConfig(): Guid;
|
|
142
|
+
static get DateTimeRefinerComponent(): Guid;
|
|
136
143
|
static get CustomSearch(): Guid;
|
|
137
144
|
static get ActionMenu(): Guid;
|
|
138
145
|
static get ActionMenuAdmin(): Guid;
|
|
@@ -183,6 +190,14 @@ export declare class WebComponentManifests {
|
|
|
183
190
|
static get SharedLinksSearchProviderSettings(): Guid;
|
|
184
191
|
static get QuickSearchActionHandlerSettings(): Guid;
|
|
185
192
|
static get SearchSettings(): Guid;
|
|
193
|
+
static get SearchStatisticsMetricIndicator(): Guid;
|
|
194
|
+
static get SearchStatisticsNoOfQueryMetricIndicator(): Guid;
|
|
195
|
+
static get SearchStatisticsAbandonedQueryMetricIndicator(): Guid;
|
|
196
|
+
static get SearchStatisticsNoResultQueryMetricIndicator(): Guid;
|
|
197
|
+
static get SearchStatisticsNoOfQueryMetricDetail(): Guid;
|
|
198
|
+
static get SearchStatisticsAbandonedQueryMetricDetail(): Guid;
|
|
199
|
+
static get SearchStatisticsNoResultQueryMetricDetail(): Guid;
|
|
200
|
+
static get SearchStatisticsMetricScopeFilter(): Guid;
|
|
186
201
|
static get MyTasks(): Guid;
|
|
187
202
|
static get MyTasksSettings(): Guid;
|
|
188
203
|
static get MyTasksSiteGroupView(): Guid;
|
|
@@ -411,11 +426,16 @@ export declare class WebComponentManifests {
|
|
|
411
426
|
static get PostsFeed(): Guid;
|
|
412
427
|
static get PostsFeedSettings(): Guid;
|
|
413
428
|
static get QuickSetupWizardCore(): Guid;
|
|
414
|
-
static get
|
|
415
|
-
static get
|
|
416
|
-
static get
|
|
417
|
-
static get
|
|
418
|
-
static get
|
|
429
|
+
static get QuickSetupWizardGeneralStep(): Guid;
|
|
430
|
+
static get QuickSetupWizardBrandingStep(): Guid;
|
|
431
|
+
static get QuickSetupWizardSharelinksStep(): Guid;
|
|
432
|
+
static get QuickSetupWizardContentStep(): Guid;
|
|
433
|
+
static get QuickSetupWizardReviewStep(): Guid;
|
|
434
|
+
static get QuickSetupWizardDashboard(): Guid;
|
|
435
|
+
static get TeamworkActiveLastActivityMetricIndicator(): Guid;
|
|
436
|
+
static get TeamworkActiveLastActivityMetricDetail(): Guid;
|
|
437
|
+
static get TeamworkInactiveLastActivityMetricIndicator(): Guid;
|
|
438
|
+
static get TeamworkInactiveLastActivityMetricDetail(): Guid;
|
|
419
439
|
}
|
|
420
440
|
export declare class WebComponentElements {
|
|
421
441
|
static get AppProvisioningStepMember(): string;
|
|
@@ -64,6 +64,11 @@ var WPRoleDefinition = /** @class */ (function () {
|
|
|
64
64
|
enumerable: false,
|
|
65
65
|
configurable: true
|
|
66
66
|
});
|
|
67
|
+
Object.defineProperty(WPRoleDefinition, "SearchBPAdmin", {
|
|
68
|
+
get: function () { return new Guid("affe1bd8-b534-459b-bdd5-f11e5a2d1d73"); },
|
|
69
|
+
enumerable: false,
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
67
72
|
return WPRoleDefinition;
|
|
68
73
|
}());
|
|
69
74
|
export { WPRoleDefinition };
|
|
@@ -256,6 +261,16 @@ var ResourceManifests = /** @class */ (function () {
|
|
|
256
261
|
enumerable: false,
|
|
257
262
|
configurable: true
|
|
258
263
|
});
|
|
264
|
+
Object.defineProperty(ResourceManifests, "SearchTokenProviderApi", {
|
|
265
|
+
get: function () { return new Guid("142f62fe-a32d-4a38-a3d3-e049589dfa5d"); },
|
|
266
|
+
enumerable: false,
|
|
267
|
+
configurable: true
|
|
268
|
+
});
|
|
269
|
+
Object.defineProperty(ResourceManifests, "DefaultSearchTokenProviderRegistration", {
|
|
270
|
+
get: function () { return new Guid("7ae13d0f-5dbd-4da3-a631-95b86a6bcae2"); },
|
|
271
|
+
enumerable: false,
|
|
272
|
+
configurable: true
|
|
273
|
+
});
|
|
259
274
|
Object.defineProperty(ResourceManifests, "EnableMSTeamsDeepLinkExecution", {
|
|
260
275
|
get: function () { return new Guid("67384113-6d0b-41cd-9029-c9941b489504"); },
|
|
261
276
|
enumerable: false,
|
|
@@ -561,6 +576,16 @@ var ResourceManifests = /** @class */ (function () {
|
|
|
561
576
|
enumerable: false,
|
|
562
577
|
configurable: true
|
|
563
578
|
});
|
|
579
|
+
Object.defineProperty(ResourceManifests, "SearchStatisticsMetricShared", {
|
|
580
|
+
get: function () { return new Guid("1533f4b6-1484-4ecf-864a-8a446a5966cf"); },
|
|
581
|
+
enumerable: false,
|
|
582
|
+
configurable: true
|
|
583
|
+
});
|
|
584
|
+
Object.defineProperty(ResourceManifests, "SearchStatisticsMetricGroup", {
|
|
585
|
+
get: function () { return new Guid("b9ee20a8-eee5-4355-8501-e15cb496a046"); },
|
|
586
|
+
enumerable: false,
|
|
587
|
+
configurable: true
|
|
588
|
+
});
|
|
564
589
|
return ResourceManifests;
|
|
565
590
|
}());
|
|
566
591
|
export { ResourceManifests };
|
|
@@ -612,6 +637,11 @@ var WebComponentManifests = /** @class */ (function () {
|
|
|
612
637
|
enumerable: false,
|
|
613
638
|
configurable: true
|
|
614
639
|
});
|
|
640
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsJourney", {
|
|
641
|
+
get: function () { return new Guid("6b0a110e-478a-4c3d-875b-d89da7296c43"); },
|
|
642
|
+
enumerable: false,
|
|
643
|
+
configurable: true
|
|
644
|
+
});
|
|
615
645
|
Object.defineProperty(WebComponentManifests, "QuickSearchConfig", {
|
|
616
646
|
get: function () { return new Guid("f537b6a0-79ec-4019-9da6-62a51e3c5ff3"); },
|
|
617
647
|
enumerable: false,
|
|
@@ -632,6 +662,11 @@ var WebComponentManifests = /** @class */ (function () {
|
|
|
632
662
|
enumerable: false,
|
|
633
663
|
configurable: true
|
|
634
664
|
});
|
|
665
|
+
Object.defineProperty(WebComponentManifests, "DateTimeRefinerComponent", {
|
|
666
|
+
get: function () { return new Guid("0d3db85a-72f7-4f60-a404-8648101ab0b3"); },
|
|
667
|
+
enumerable: false,
|
|
668
|
+
configurable: true
|
|
669
|
+
});
|
|
635
670
|
Object.defineProperty(WebComponentManifests, "CustomSearch", {
|
|
636
671
|
get: function () { return new Guid("B3D32D30-B779-489C-88AB-F3BA03724105"); },
|
|
637
672
|
enumerable: false,
|
|
@@ -882,6 +917,46 @@ var WebComponentManifests = /** @class */ (function () {
|
|
|
882
917
|
enumerable: false,
|
|
883
918
|
configurable: true
|
|
884
919
|
});
|
|
920
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsMetricIndicator", {
|
|
921
|
+
get: function () { return new Guid("f3c88c39-9d56-4f4a-9841-2272bd275428"); },
|
|
922
|
+
enumerable: false,
|
|
923
|
+
configurable: true
|
|
924
|
+
});
|
|
925
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsNoOfQueryMetricIndicator", {
|
|
926
|
+
get: function () { return new Guid("7fb2948c-286e-4de9-b25a-7594bd472c65"); },
|
|
927
|
+
enumerable: false,
|
|
928
|
+
configurable: true
|
|
929
|
+
});
|
|
930
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsAbandonedQueryMetricIndicator", {
|
|
931
|
+
get: function () { return new Guid("1588c9e5-835c-4258-990f-26ade94a385a"); },
|
|
932
|
+
enumerable: false,
|
|
933
|
+
configurable: true
|
|
934
|
+
});
|
|
935
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsNoResultQueryMetricIndicator", {
|
|
936
|
+
get: function () { return new Guid("cfa2aa9e-7a04-4622-97f9-22913ac7b326"); },
|
|
937
|
+
enumerable: false,
|
|
938
|
+
configurable: true
|
|
939
|
+
});
|
|
940
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsNoOfQueryMetricDetail", {
|
|
941
|
+
get: function () { return new Guid("54527b07-2873-4b75-8903-ef174c769d60"); },
|
|
942
|
+
enumerable: false,
|
|
943
|
+
configurable: true
|
|
944
|
+
});
|
|
945
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsAbandonedQueryMetricDetail", {
|
|
946
|
+
get: function () { return new Guid("c9142c33-cd05-4a71-a12c-08d86a4db6a8"); },
|
|
947
|
+
enumerable: false,
|
|
948
|
+
configurable: true
|
|
949
|
+
});
|
|
950
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsNoResultQueryMetricDetail", {
|
|
951
|
+
get: function () { return new Guid("93813bd7-ddae-4bca-aef3-0c12761e97d9"); },
|
|
952
|
+
enumerable: false,
|
|
953
|
+
configurable: true
|
|
954
|
+
});
|
|
955
|
+
Object.defineProperty(WebComponentManifests, "SearchStatisticsMetricScopeFilter", {
|
|
956
|
+
get: function () { return new Guid("30f3b28c-9f8b-4801-8509-8d51de1db362"); },
|
|
957
|
+
enumerable: false,
|
|
958
|
+
configurable: true
|
|
959
|
+
});
|
|
885
960
|
Object.defineProperty(WebComponentManifests, "MyTasks", {
|
|
886
961
|
get: function () { return new Guid("299D1ADC-8762-4AA5-B92D-83D03B633DEE"); },
|
|
887
962
|
enumerable: false,
|
|
@@ -2025,31 +2100,56 @@ var WebComponentManifests = /** @class */ (function () {
|
|
|
2025
2100
|
enumerable: false,
|
|
2026
2101
|
configurable: true
|
|
2027
2102
|
});
|
|
2028
|
-
Object.defineProperty(WebComponentManifests, "
|
|
2103
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardGeneralStep", {
|
|
2029
2104
|
get: function () { return new Guid("c5f83b2f-a21f-4210-b4f4-13ffda4ac129"); },
|
|
2030
2105
|
enumerable: false,
|
|
2031
2106
|
configurable: true
|
|
2032
2107
|
});
|
|
2033
|
-
Object.defineProperty(WebComponentManifests, "
|
|
2108
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardBrandingStep", {
|
|
2034
2109
|
get: function () { return new Guid("084f1e3e-f0f5-4f2b-a75d-67f629308bf8"); },
|
|
2035
2110
|
enumerable: false,
|
|
2036
2111
|
configurable: true
|
|
2037
2112
|
});
|
|
2038
|
-
Object.defineProperty(WebComponentManifests, "
|
|
2113
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardSharelinksStep", {
|
|
2039
2114
|
get: function () { return new Guid("4e6730e5-25f1-4d99-81d1-7368f7e72f35"); },
|
|
2040
2115
|
enumerable: false,
|
|
2041
2116
|
configurable: true
|
|
2042
2117
|
});
|
|
2043
|
-
Object.defineProperty(WebComponentManifests, "
|
|
2118
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardContentStep", {
|
|
2044
2119
|
get: function () { return new Guid("c6633522-ba83-4077-99b1-a4e9cde070c6"); },
|
|
2045
2120
|
enumerable: false,
|
|
2046
2121
|
configurable: true
|
|
2047
2122
|
});
|
|
2048
|
-
Object.defineProperty(WebComponentManifests, "
|
|
2123
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardReviewStep", {
|
|
2049
2124
|
get: function () { return new Guid("911b4198-52b7-4b80-9ed4-b96269dcf8f1"); },
|
|
2050
2125
|
enumerable: false,
|
|
2051
2126
|
configurable: true
|
|
2052
2127
|
});
|
|
2128
|
+
Object.defineProperty(WebComponentManifests, "QuickSetupWizardDashboard", {
|
|
2129
|
+
get: function () { return new Guid("b2e0e63d-2cd9-49b4-840a-001d4a91dabb"); },
|
|
2130
|
+
enumerable: false,
|
|
2131
|
+
configurable: true
|
|
2132
|
+
});
|
|
2133
|
+
Object.defineProperty(WebComponentManifests, "TeamworkActiveLastActivityMetricIndicator", {
|
|
2134
|
+
get: function () { return new Guid("11dddd47-19a4-4569-89d0-e5762d97a9ef"); },
|
|
2135
|
+
enumerable: false,
|
|
2136
|
+
configurable: true
|
|
2137
|
+
});
|
|
2138
|
+
Object.defineProperty(WebComponentManifests, "TeamworkActiveLastActivityMetricDetail", {
|
|
2139
|
+
get: function () { return new Guid("80debee9-33f7-4b66-97fc-4c6e7dbb2a7c"); },
|
|
2140
|
+
enumerable: false,
|
|
2141
|
+
configurable: true
|
|
2142
|
+
});
|
|
2143
|
+
Object.defineProperty(WebComponentManifests, "TeamworkInactiveLastActivityMetricIndicator", {
|
|
2144
|
+
get: function () { return new Guid("bac2d261-df94-425b-847e-976496694295"); },
|
|
2145
|
+
enumerable: false,
|
|
2146
|
+
configurable: true
|
|
2147
|
+
});
|
|
2148
|
+
Object.defineProperty(WebComponentManifests, "TeamworkInactiveLastActivityMetricDetail", {
|
|
2149
|
+
get: function () { return new Guid("8d04aaa8-e87c-45ce-84dc-6fdf81eac22f"); },
|
|
2150
|
+
enumerable: false,
|
|
2151
|
+
configurable: true
|
|
2152
|
+
});
|
|
2053
2153
|
return WebComponentManifests;
|
|
2054
2154
|
}());
|
|
2055
2155
|
export { WebComponentManifests };
|
|
@@ -31,11 +31,11 @@ export interface SearchCategoryBase {
|
|
|
31
31
|
targetingFilter?: TargetingFilterProperty;
|
|
32
32
|
businessProfileId: GuidValue;
|
|
33
33
|
providerComponentId: GuidValue;
|
|
34
|
+
query?: string;
|
|
34
35
|
}
|
|
35
36
|
export interface SharePointSearchCategory extends SearchCategoryBase {
|
|
36
37
|
resultSource: string;
|
|
37
38
|
enableQueryRules: boolean;
|
|
38
|
-
query: string;
|
|
39
39
|
sortBy?: string;
|
|
40
40
|
sortDirection?: Enums.SortDirection;
|
|
41
41
|
listTemplatePropertiesMapping?: {
|
|
@@ -45,7 +45,6 @@ export interface SharePointSearchCategory extends SearchCategoryBase {
|
|
|
45
45
|
export interface MicrosoftSearchCategory extends SearchCategoryBase {
|
|
46
46
|
resultSource: string;
|
|
47
47
|
contentSources?: Array<string>;
|
|
48
|
-
query: string;
|
|
49
48
|
sortBy?: string;
|
|
50
49
|
sortDirection?: Enums.SortDirection;
|
|
51
50
|
listTemplatePropertiesMapping?: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ApiPath, GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { QuickSetupStep, QuickSetupTemplateExtendData } from ".";
|
|
3
|
+
import { QuickSetupWizardView } from "../../../models";
|
|
4
|
+
import { QuickSetupTemplateProvider } from "./QuickSetupTemplateProvider";
|
|
5
|
+
export interface IQuickSetupWizardRegistrationApi {
|
|
6
|
+
registerViews: (providers: QuickSetupWizardView | QuickSetupWizardView[]) => void;
|
|
7
|
+
getAllViews: () => QuickSetupWizardView[];
|
|
8
|
+
}
|
|
9
|
+
export interface IQuickSetupTemplateProviderRegistrationApi {
|
|
10
|
+
registerQuickSetupTemplateProvider: (providers: QuickSetupTemplateProvider | QuickSetupTemplateProvider[]) => void;
|
|
11
|
+
extendQuickSetupTemplate: (templateId: GuidValue, templateExtendData: QuickSetupTemplateExtendData) => void;
|
|
12
|
+
getAllQuickSetupTemplateProviders: () => QuickSetupTemplateProvider[];
|
|
13
|
+
}
|
|
14
|
+
export interface IQuickSetupStepProviderApi {
|
|
15
|
+
getDefaultSteps: () => QuickSetupStep[];
|
|
16
|
+
}
|
|
17
|
+
declare module '../WorkplaceApi' {
|
|
18
|
+
interface IWorkplaceApi {
|
|
19
|
+
wizard: {
|
|
20
|
+
registration: Promise<IQuickSetupWizardRegistrationApi>;
|
|
21
|
+
templateproviders: Promise<IQuickSetupTemplateProviderRegistrationApi>;
|
|
22
|
+
stepproviders: Promise<IQuickSetupStepProviderApi>;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
interface IWorkplaceExtendApiManifest {
|
|
26
|
+
wizard: {
|
|
27
|
+
registration: ApiPath;
|
|
28
|
+
templateproviders: ApiPath;
|
|
29
|
+
stepproviders: ApiPath;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { GuidValue, TargetResolverTypes } from "@omnia/fx-models";
|
|
1
|
+
import { GuidValue, IIcon, TargetResolverTypes } from "@omnia/fx-models";
|
|
2
|
+
import { QuickSetupWizardView } from "../../../models";
|
|
2
3
|
export declare enum QuickSetupScope {
|
|
3
4
|
Tenant = 1,
|
|
4
5
|
BusinessProfile = 2
|
|
@@ -12,7 +13,7 @@ export interface QuickSetupContent {
|
|
|
12
13
|
uncheckedByDefault?: boolean;
|
|
13
14
|
onCheckedChange?: (checked: boolean) => void;
|
|
14
15
|
}
|
|
15
|
-
export interface
|
|
16
|
+
export interface QuickSetupFeature {
|
|
16
17
|
title: string;
|
|
17
18
|
feature: {
|
|
18
19
|
id: GuidValue;
|
|
@@ -26,3 +27,21 @@ export interface QuickSetupRender {
|
|
|
26
27
|
scope: QuickSetupScope;
|
|
27
28
|
hidden: boolean;
|
|
28
29
|
}
|
|
30
|
+
export interface QuickSetupOption {
|
|
31
|
+
title: string;
|
|
32
|
+
icon: IIcon;
|
|
33
|
+
description?: string;
|
|
34
|
+
readMoreLink?: string;
|
|
35
|
+
registeredViews: QuickSetupWizardView[];
|
|
36
|
+
}
|
|
37
|
+
export interface QuickSetupTemplateExtendData {
|
|
38
|
+
features: QuickSetupFeature[];
|
|
39
|
+
contents: QuickSetupContent[];
|
|
40
|
+
}
|
|
41
|
+
export interface QuickSetupStep {
|
|
42
|
+
order: number;
|
|
43
|
+
title: string;
|
|
44
|
+
componentManifestId?: GuidValue;
|
|
45
|
+
settingsId: string;
|
|
46
|
+
onValidate?: () => boolean;
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GuidValue, IIcon } from "@omnia/fx/models";
|
|
2
|
+
import { QuickSetupContent, QuickSetupFeature, QuickSetupScope, QuickSetupStep } from "./QuickSetupSettings";
|
|
3
|
+
export declare abstract class QuickSetupTemplateProvider {
|
|
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: QuickSetupStep[];
|
|
11
|
+
abstract scopes: QuickSetupScope[];
|
|
12
|
+
abstract contents: QuickSetupContent[];
|
|
13
|
+
abstract features: QuickSetupFeature[];
|
|
14
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts
ADDED
|
@@ -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
|
+
}
|
package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.js
ADDED
|
@@ -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,10 @@
|
|
|
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
|
+
resolveSearchTokens: (tokensToResolve: Array<string>) => Promise<SearchTokensReplacement>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SearchTokenProvider";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SearchTokenProvider";
|
|
@@ -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;
|
|
@@ -73,6 +73,13 @@ export declare const AdvancedSearchStyles: {
|
|
|
73
73
|
refinerPanelHeader?: types.NestedCSSProperties;
|
|
74
74
|
refinerPanelContent?: types.NestedCSSProperties;
|
|
75
75
|
};
|
|
76
|
+
export declare const AdvancedSearchSettingsStyles: {
|
|
77
|
+
container?: types.NestedCSSProperties;
|
|
78
|
+
settingsHeaderContainer?: types.NestedCSSProperties;
|
|
79
|
+
settingsHeaderDragButton?: types.NestedCSSProperties;
|
|
80
|
+
settingsHeaderButton?: types.NestedCSSProperties;
|
|
81
|
+
settingsPanel?: types.NestedCSSProperties;
|
|
82
|
+
};
|
|
76
83
|
export declare const SearchBlockStyles: {
|
|
77
84
|
blockSpacing: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
78
85
|
};
|
|
@@ -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 = {};
|
|
@@ -106,6 +106,7 @@ export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationR
|
|
|
106
106
|
excludePersonalSite?: boolean;
|
|
107
107
|
dialogMode?: boolean;
|
|
108
108
|
tabMode?: boolean;
|
|
109
|
+
noResultText?: MultilingualString;
|
|
109
110
|
}
|
|
110
111
|
export declare module TeamCollaborationRollupEnums {
|
|
111
112
|
enum PagingType {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
2
|
import { SearchCategoryService } from '../services';
|
|
3
|
-
import { SearchCategory } from '../models';
|
|
3
|
+
import { SearchCategory, SearchCategoryBase } from '../models';
|
|
4
4
|
export declare class SearchCategoryStore extends Store {
|
|
5
5
|
searchCategoryService: SearchCategoryService;
|
|
6
6
|
private omniaContext;
|
|
@@ -30,5 +30,6 @@ export declare class SearchCategoryStore extends Store {
|
|
|
30
30
|
actions: {
|
|
31
31
|
ensureSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
32
32
|
ensureTargetedSearchCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
33
|
+
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
34
|
};
|
|
34
35
|
}
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|