@omnia/workplace 7.0.21-dev → 7.0.21-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/Fx.d.ts +1 -1
- package/internal-do-not-import-from-here/apis/NotificationPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/apis/SearchTokenProviderApi.d.ts +18 -0
- package/internal-do-not-import-from-here/apis/TranslatorProviderApi.d.ts +17 -0
- package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +5 -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 +49 -4
- package/internal-do-not-import-from-here/models/Constants.js +54 -7
- 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 +105 -10
- package/internal-do-not-import-from-here/models/ManifestIds.js +108 -11
- package/internal-do-not-import-from-here/models/SearchBoxStyling.d.ts +8 -8
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +1 -2
- package/internal-do-not-import-from-here/models/Secrets.d.ts +2 -1
- package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +1 -1
- package/internal-do-not-import-from-here/models/Workspace.d.ts +3 -3
- package/internal-do-not-import-from-here/models/Workspace.js +2 -2
- package/internal-do-not-import-from-here/models/apps/Enums.d.ts +6 -7
- package/internal-do-not-import-from-here/models/apps/Enums.js +16 -9
- package/internal-do-not-import-from-here/models/apps/MSTeamsApps.d.ts +1 -0
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +4 -2
- package/internal-do-not-import-from-here/models/apps/SharePointSiteInfo.d.ts +2 -1
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +2 -1
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +1 -1
- package/internal-do-not-import-from-here/models/components/MySitesStyles.d.ts +2 -1
- package/internal-do-not-import-from-here/models/index.d.ts +5 -1
- package/internal-do-not-import-from-here/models/index.js +5 -1
- package/internal-do-not-import-from-here/models/qrcode.d.ts +14 -0
- package/internal-do-not-import-from-here/models/qrcode.js +8 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +118 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +47 -0
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricConfiguration.d.ts +3 -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 +12 -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 +6 -0
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +11 -0
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.js +6 -0
- package/internal-do-not-import-from-here/models/searchtoken/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/searchtoken/index.js +4 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +27 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.js +2 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +42 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.js +8 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +20 -0
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +24 -0
- package/internal-do-not-import-from-here/models/setupwizard/index.d.ts +3 -0
- package/internal-do-not-import-from-here/models/setupwizard/index.js +6 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequest.d.ts +17 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestApi.d.ts +13 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestDetail.d.ts +2 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestEnum.d.ts +6 -6
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestEnum.js +8 -8
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestProvider.d.ts +5 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestQuery.d.ts +11 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +9 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResponse.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +80 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.js +24 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewRendererComponent.d.ts +15 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewRendererComponent.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.d.ts +32 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +24 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.d.ts +19 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.d.ts +4 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.js +4 -0
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestCreateModel.d.ts +10 -3
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTemplateCreateModel.d.ts +8 -3
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.d.ts +7 -0
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/request/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/request/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/LinkHandlerSettingsStyles.d.ts +6 -0
- package/internal-do-not-import-from-here/models/styles/LinkHandlerSettingsStyles.js +4 -0
- package/internal-do-not-import-from-here/models/styles/MegaMenuStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/models/styles/MyLinkStyles.d.ts +3 -0
- package/internal-do-not-import-from-here/models/styles/NotificationPanelStyles.d.ts +4 -3
- package/internal-do-not-import-from-here/models/styles/QrCodeStyles.d.ts +10 -0
- package/internal-do-not-import-from-here/models/styles/QrCodeStyles.js +7 -0
- package/internal-do-not-import-from-here/models/styles/SearchStyles.d.ts +21 -5
- package/internal-do-not-import-from-here/models/styles/SearchStyles.js +2 -1
- package/internal-do-not-import-from-here/models/styles/TaxonomyNavigationStyles.d.ts +3 -3
- package/internal-do-not-import-from-here/models/styles/UserMenuStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/models/styles/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/styles/index.js +2 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +16 -10
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.js +9 -2
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -16
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/models/texttranslator/AzureCognitiveTranslatorProvider.js +2 -0
- package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.d.ts +3 -0
- package/internal-do-not-import-from-here/models/texttranslator/DefaultTranslatorProvider.js +2 -0
- package/internal-do-not-import-from-here/models/texttranslator/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/texttranslator/index.js +5 -0
- package/internal-do-not-import-from-here/services/HomeService.d.ts +1 -1
- package/internal-do-not-import-from-here/services/SignOffRequestService.d.ts +3 -2
- package/internal-do-not-import-from-here/services/TeamCollaborationService.d.ts +3 -2
- package/internal-do-not-import-from-here/shared/SignOffRequestUtils.d.ts +1 -1
- package/internal-do-not-import-from-here/stores/LinkHandlerDialogStore.d.ts +33 -0
- package/internal-do-not-import-from-here/stores/SearchCategoryStore.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/SearchTokenStore.d.ts +32 -0
- package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +15 -7
- package/internal-do-not-import-from-here/stores/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/index.d.ts +1 -0
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/internal-do-not-import-from-here/webcomponents/IAppAuthenticationOptionsComponent.d.ts +1 -1
- package/package.json +1 -1
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.d.ts +0 -28
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupSettings.js +0 -8
- package/internal-do-not-import-from-here/models/quicksetup/QuickSetupStepProviderApi.d.ts +0 -25
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.d.ts +0 -7
- package/internal-do-not-import-from-here/models/quicksetup/StepProvider.js +0 -6
- package/internal-do-not-import-from-here/models/quicksetup/index.d.ts +0 -3
- package/internal-do-not-import-from-here/models/quicksetup/index.js +0 -6
- /package/internal-do-not-import-from-here/models/{quicksetup/QuickSetupStepProviderApi.js → searchstatistics/SearchStatisticsMetricConfiguration.js} +0 -0
|
@@ -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,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchStatistics = void 0;
|
|
4
|
+
const models_1 = require("@omnia/fx/models");
|
|
5
|
+
var SearchStatistics;
|
|
6
|
+
(function (SearchStatistics) {
|
|
7
|
+
let Constants;
|
|
8
|
+
(function (Constants) {
|
|
9
|
+
Constants.SearchLocations = {
|
|
10
|
+
Header: "header",
|
|
11
|
+
ActionMenu: "actionmenu",
|
|
12
|
+
Page: "page",
|
|
13
|
+
Workspace: "workspace"
|
|
14
|
+
};
|
|
15
|
+
})(Constants = SearchStatistics.Constants || (SearchStatistics.Constants = {}));
|
|
16
|
+
let Enums;
|
|
17
|
+
(function (Enums) {
|
|
18
|
+
let InteractionType;
|
|
19
|
+
(function (InteractionType) {
|
|
20
|
+
InteractionType[InteractionType["Category"] = 1] = "Category";
|
|
21
|
+
InteractionType[InteractionType["Refinement"] = 2] = "Refinement";
|
|
22
|
+
InteractionType[InteractionType["ViewItem"] = 3] = "ViewItem";
|
|
23
|
+
})(InteractionType = Enums.InteractionType || (Enums.InteractionType = {}));
|
|
24
|
+
let MetricType;
|
|
25
|
+
(function (MetricType) {
|
|
26
|
+
MetricType[MetricType["NoOfQuery"] = 1] = "NoOfQuery";
|
|
27
|
+
MetricType[MetricType["AbandonedQuery"] = 2] = "AbandonedQuery";
|
|
28
|
+
MetricType[MetricType["NoResultQuery"] = 3] = "NoResultQuery";
|
|
29
|
+
})(MetricType = Enums.MetricType || (Enums.MetricType = {}));
|
|
30
|
+
let MetricScope;
|
|
31
|
+
(function (MetricScope) {
|
|
32
|
+
MetricScope[MetricScope["Tenant"] = 1] = "Tenant";
|
|
33
|
+
MetricScope[MetricScope["CurrentBusinessProfile"] = 2] = "CurrentBusinessProfile";
|
|
34
|
+
})(MetricScope = Enums.MetricScope || (Enums.MetricScope = {}));
|
|
35
|
+
})(Enums = SearchStatistics.Enums || (SearchStatistics.Enums = {}));
|
|
36
|
+
SearchStatistics.GovernanceDashboard = {
|
|
37
|
+
scopeId: new models_1.Guid("1f764b5a-ec2c-4781-87fa-4a8cb2ddb09c"),
|
|
38
|
+
metrics: {
|
|
39
|
+
noOfQuery: new models_1.Guid("c0b18c12-d3b5-4b29-8105-222d20d5522f"),
|
|
40
|
+
abandonedQuery: new models_1.Guid("aa3d3355-e2a9-4c4c-a44a-5fb01493e7ae"),
|
|
41
|
+
noResultQuery: new models_1.Guid("13786d92-6d16-402f-a961-d99ea4341601")
|
|
42
|
+
},
|
|
43
|
+
filters: {
|
|
44
|
+
scope: new models_1.Guid("b27d3933-9eab-4561-b3a6-e2ac24a12767")
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
})(SearchStatistics = exports.SearchStatistics || (exports.SearchStatistics = {}));
|
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,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchStatisticsMetricScopeFilterValue = void 0;
|
|
4
|
+
const GovernanceDashboards_1 = require("../GovernanceDashboards");
|
|
5
|
+
const SearchStatistics_1 = require("./SearchStatistics");
|
|
6
|
+
class SearchStatisticsMetricScopeFilterValue extends GovernanceDashboards_1.FilterValue {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.filterId = SearchStatistics_1.SearchStatistics.GovernanceDashboard.filters.scope;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SearchStatisticsMetricScopeFilterValue = SearchStatisticsMetricScopeFilterValue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./SearchStatistics"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./SearchStatisticsMetricConfiguration"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SearchStatisticsMetricFilter"), exports);
|
|
@@ -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 @@
|
|
|
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,42 @@
|
|
|
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
|
+
requireConsentPermission?: boolean;
|
|
24
|
+
};
|
|
25
|
+
order?: number;
|
|
26
|
+
scopes: SetupWizardRender[];
|
|
27
|
+
stopOnFailed?: boolean;
|
|
28
|
+
omniaServiceId: GuidValue;
|
|
29
|
+
}
|
|
30
|
+
export interface SetupWizardRender {
|
|
31
|
+
scope: SetupWizardScope;
|
|
32
|
+
hidden: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface SetupWizardTemplateExtendData {
|
|
35
|
+
features: SetupWizardFeature[];
|
|
36
|
+
contents: SetupWizardContent[];
|
|
37
|
+
}
|
|
38
|
+
export interface SetupWizardStep {
|
|
39
|
+
order: number;
|
|
40
|
+
title: string;
|
|
41
|
+
componentManifestId?: GuidValue;
|
|
42
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetupWizardScope = void 0;
|
|
4
|
+
var SetupWizardScope;
|
|
5
|
+
(function (SetupWizardScope) {
|
|
6
|
+
SetupWizardScope[SetupWizardScope["Tenant"] = 1] = "Tenant";
|
|
7
|
+
SetupWizardScope[SetupWizardScope["BusinessProfile"] = 2] = "BusinessProfile";
|
|
8
|
+
})(SetupWizardScope = exports.SetupWizardScope || (exports.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,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetupWizardTemplateFeatureHandler = exports.SetupWizardTemplateProvider = void 0;
|
|
4
|
+
class SetupWizardTemplateProvider {
|
|
5
|
+
}
|
|
6
|
+
exports.SetupWizardTemplateProvider = SetupWizardTemplateProvider;
|
|
7
|
+
class SetupWizardTemplateFeatureHandler {
|
|
8
|
+
constructor(template) {
|
|
9
|
+
this.template = template;
|
|
10
|
+
}
|
|
11
|
+
addFeature(feature) {
|
|
12
|
+
const index = this.template.features.findIndex(s => s.feature.id.toString() == feature.feature.id);
|
|
13
|
+
if (index < 0) {
|
|
14
|
+
this.template.features.push(feature);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
removeFeature(feature) {
|
|
18
|
+
const index = this.template.features.findIndex(s => s.feature.id.toString() == feature.feature.id);
|
|
19
|
+
if (index > -1) {
|
|
20
|
+
this.template.features.splice(index, 1);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.SetupWizardTemplateFeatureHandler = SetupWizardTemplateFeatureHandler;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./SetupWizardProviderApi"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./SetupWizardSettings"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SetupWizardTemplateProvider"), exports);
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
import { GuidValue, Identity, MultilingualString } from "@omnia/fx/models";
|
|
2
2
|
import { SignOffRequestEnums } from "./SignOffRequestEnum";
|
|
3
|
-
import {
|
|
3
|
+
import { ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
|
|
4
4
|
export interface ISignOffRequestUpdatableProperties {
|
|
5
5
|
status: SignOffRequestEnums.SignOffRequestStatus;
|
|
6
|
-
requestTo?: Array<Identity>;
|
|
7
6
|
reminderEmails?: Array<string>;
|
|
7
|
+
enterpriseProperties?: {
|
|
8
|
+
[internalName: string]: any;
|
|
9
|
+
};
|
|
8
10
|
}
|
|
9
11
|
export interface SignOffRequest extends ISignOffRequestUpdatableProperties {
|
|
10
12
|
id: GuidValue;
|
|
11
13
|
title: MultilingualString;
|
|
14
|
+
typeId: GuidValue;
|
|
12
15
|
description: MultilingualString;
|
|
16
|
+
signOffType: SignOffRequestEnums.SignOffType;
|
|
13
17
|
requestTo: Array<Identity>;
|
|
14
|
-
|
|
18
|
+
requestToUsers: Array<Identity>;
|
|
19
|
+
resources: Array<ISignOffRequestResourceDataSettings>;
|
|
15
20
|
requestToEmails: Array<string>;
|
|
16
21
|
expectedResponsesCount?: number;
|
|
17
22
|
responsesCount: number;
|
|
18
|
-
|
|
23
|
+
requestToRecipientCount: number;
|
|
24
|
+
signedOffRecipientCount: number;
|
|
25
|
+
requestedBy: Array<Identity>;
|
|
19
26
|
createdAt: Date;
|
|
20
27
|
modifiedAt: Date;
|
|
21
28
|
modifiedBy: string;
|
|
22
29
|
progress: SignOffRequestEnums.SignOffRequestProgress;
|
|
30
|
+
enterpriseProperties: {
|
|
31
|
+
[internalName: string]: any;
|
|
32
|
+
};
|
|
33
|
+
resourceCount: number;
|
|
34
|
+
recipientId: Identity;
|
|
35
|
+
isOwner: boolean;
|
|
23
36
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import { ApiPath, GuidValue, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
|
|
1
|
+
import { ApiPath, GuidValue, Identity, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
|
|
2
|
+
import { SidePanelContext } from "@omnia/fx/ux";
|
|
2
3
|
import { SignOffRequest } from "./SignOffRequest";
|
|
3
4
|
import { SignOffRequestProvider } from "./SignOffRequestProvider";
|
|
4
5
|
import { ISignOffRequestResource, SignOffRequestResource } from "./SignOffRequestResource";
|
|
5
|
-
|
|
6
|
+
import { SignOffRequestRollupViewRegistration } from "./SignOffRequestRollupViewSettings";
|
|
7
|
+
export type SignOffRequestInformationProviderId = GuidValue;
|
|
6
8
|
export interface ISignOffRequestApi {
|
|
7
9
|
registerSignOffRequestProvider: (...providers: SignOffRequestProvider[]) => void;
|
|
8
10
|
getSignOffRequestProviders(): SignOffRequestProvider[];
|
|
9
11
|
}
|
|
12
|
+
export interface ISignOffRequestRollupApi {
|
|
13
|
+
viewRegistration: Promise<ISignOffRequestRollupViewRegistrationApi>;
|
|
14
|
+
}
|
|
15
|
+
export interface ISignOffRequestRollupViewRegistrationApi {
|
|
16
|
+
registerViews: (providers: SignOffRequestRollupViewRegistration | SignOffRequestRollupViewRegistration[]) => void;
|
|
17
|
+
}
|
|
10
18
|
export interface ISignOffRequestRegistrationApi extends ISignOffRequestApi {
|
|
11
19
|
}
|
|
12
20
|
export interface ISignOffRequestInformationApi extends ISignOffRequestApi {
|
|
@@ -15,6 +23,7 @@ export interface ISignOffRequestInformationApi extends ISignOffRequestApi {
|
|
|
15
23
|
export interface ISignOffRequestBannerApi {
|
|
16
24
|
getSignOffRequestByResource: (resource: ISignOffRequestResource) => Promise<SignOffRequest[]>;
|
|
17
25
|
confirmResource: (resource: SignOffRequestResource) => Promise<void>;
|
|
26
|
+
onOpenPersistentSignOffRequestDetailDialog: (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity) => Promise<void>;
|
|
18
27
|
}
|
|
19
28
|
declare module "../WorkplaceApi" {
|
|
20
29
|
interface IWorkplaceApi {
|
|
@@ -22,6 +31,7 @@ declare module "../WorkplaceApi" {
|
|
|
22
31
|
registrations: Promise<ISignOffRequestRegistrationApi>;
|
|
23
32
|
providers: Promise<ISignOffRequestInformationApi>;
|
|
24
33
|
banner: Promise<ISignOffRequestBannerApi>;
|
|
34
|
+
rollup: ISignOffRequestRollupApi;
|
|
25
35
|
};
|
|
26
36
|
}
|
|
27
37
|
interface IWorkplaceExtendApiManifest {
|
|
@@ -29,6 +39,7 @@ declare module "../WorkplaceApi" {
|
|
|
29
39
|
registrations: ApiPath;
|
|
30
40
|
providers: IExtendApiManifestWithConfiguration<SignOffRequestInformationProviderId>;
|
|
31
41
|
banner: ApiPath;
|
|
42
|
+
rollup: ApiPath;
|
|
32
43
|
};
|
|
33
44
|
}
|
|
34
45
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { GuidValue } from "@omnia/fx/models";
|
|
2
2
|
import { SignOffRequest } from "./SignOffRequest";
|
|
3
|
+
import { SignOffRequestResponse } from "./SignOffRequestResponse";
|
|
3
4
|
export interface SignOffRequestDetails {
|
|
4
5
|
request: SignOffRequest;
|
|
5
|
-
requestToUsersCount: number;
|
|
6
|
-
signedOffUsersCount: number;
|
|
7
6
|
resourcesResult: SignOffRequestResourceResult[];
|
|
8
7
|
}
|
|
9
8
|
export interface SignOffRequestResourceResult {
|
|
10
9
|
resourceId: string;
|
|
11
10
|
resourceProviderId: GuidValue;
|
|
12
|
-
|
|
13
|
-
doesCurrentUserConfirm?: boolean;
|
|
11
|
+
responses: Array<SignOffRequestResponse>;
|
|
14
12
|
}
|
|
@@ -11,12 +11,12 @@ export declare module SignOffRequestEnums {
|
|
|
11
11
|
Completed = 4
|
|
12
12
|
}
|
|
13
13
|
enum SignOffProgressStatusColor {
|
|
14
|
-
white = "
|
|
15
|
-
green = "
|
|
16
|
-
yellow = "
|
|
14
|
+
white = "#FFFFFF",
|
|
15
|
+
green = "#B8D6BB",
|
|
16
|
+
yellow = "#F3E0A5"
|
|
17
17
|
}
|
|
18
|
-
enum
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
enum SignOffType {
|
|
19
|
+
Individual = 0,
|
|
20
|
+
Group = 1
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -18,13 +18,13 @@ var SignOffRequestEnums;
|
|
|
18
18
|
})(SignOffRequestProgress = SignOffRequestEnums.SignOffRequestProgress || (SignOffRequestEnums.SignOffRequestProgress = {}));
|
|
19
19
|
let SignOffProgressStatusColor;
|
|
20
20
|
(function (SignOffProgressStatusColor) {
|
|
21
|
-
SignOffProgressStatusColor["white"] = "
|
|
22
|
-
SignOffProgressStatusColor["green"] = "
|
|
23
|
-
SignOffProgressStatusColor["yellow"] = "
|
|
21
|
+
SignOffProgressStatusColor["white"] = "#FFFFFF";
|
|
22
|
+
SignOffProgressStatusColor["green"] = "#B8D6BB";
|
|
23
|
+
SignOffProgressStatusColor["yellow"] = "#F3E0A5";
|
|
24
24
|
})(SignOffProgressStatusColor = SignOffRequestEnums.SignOffProgressStatusColor || (SignOffRequestEnums.SignOffProgressStatusColor = {}));
|
|
25
|
-
let
|
|
26
|
-
(function (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(
|
|
25
|
+
let SignOffType;
|
|
26
|
+
(function (SignOffType) {
|
|
27
|
+
SignOffType[SignOffType["Individual"] = 0] = "Individual";
|
|
28
|
+
SignOffType[SignOffType["Group"] = 1] = "Group";
|
|
29
|
+
})(SignOffType = SignOffRequestEnums.SignOffType || (SignOffRequestEnums.SignOffType = {}));
|
|
30
30
|
})(SignOffRequestEnums = exports.SignOffRequestEnums || (exports.SignOffRequestEnums = {}));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { ISignOffRequestResource, SignOffResource,
|
|
1
|
+
import { ISignOffRequestResource, SignOffResource, SignOffRequestResourceDetail, ISignOffRequestResourceDataSettings } from "./SignOffRequestResource";
|
|
2
2
|
import { SignOffRequestResourceProvider } from "./SignOffRequestResourceProvider";
|
|
3
3
|
import { ActionType } from "./SignOffRequestSettings";
|
|
4
4
|
export declare abstract class SignOffRequestProvider<T extends SignOffResource = SignOffResource> extends SignOffRequestResourceProvider<T> {
|
|
5
|
-
abstract providerRenderer: () => JSX.Element;
|
|
6
|
-
abstract itemRenderer: (item:
|
|
5
|
+
abstract providerRenderer: (contentHeight?: string) => JSX.Element;
|
|
6
|
+
abstract itemRenderer: (item: ISignOffRequestResourceDataSettings) => JSX.Element;
|
|
7
7
|
actionButtonHandler: ActionType;
|
|
8
|
-
resolveResourceData: (itemId: string) =>
|
|
8
|
+
resolveResourceData: (itemId: string) => Promise<SignOffRequestResourceDetail>;
|
|
9
|
+
resolveToken: (tokenField: string, itemId: string) => string;
|
|
9
10
|
ensureItemsLoaded: (itemIds: string[]) => Promise<void>;
|
|
10
11
|
onSelectResource?: (resource: Array<ISignOffRequestResource>) => void;
|
|
11
12
|
getDefaultResources(): Array<ISignOffRequestResource>;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { Identity, IPagingable } from "@omnia/fx/models";
|
|
1
|
+
import { Identity, IPagingable, RollupFilter } from "@omnia/fx/models";
|
|
2
2
|
import { SignOffRequestEnums } from "./SignOffRequestEnum";
|
|
3
3
|
export interface SignOffRequestQuery extends IPagingable {
|
|
4
4
|
status?: SignOffRequestEnums.SignOffRequestStatus;
|
|
5
5
|
progress?: SignOffRequestEnums.SignOffRequestProgress;
|
|
6
6
|
requestedBy?: Array<Identity>;
|
|
7
7
|
requestedTo?: Array<Identity>;
|
|
8
|
+
orderBy?: SignOffRequestQueryOrderBy;
|
|
9
|
+
queryFilters?: RollupFilter[];
|
|
10
|
+
uiFilters?: RollupFilter[];
|
|
11
|
+
keyWord?: string;
|
|
12
|
+
keywordFilterOnProperties?: string[];
|
|
13
|
+
selectEnterpriseProperties?: string[];
|
|
14
|
+
}
|
|
15
|
+
export interface SignOffRequestQueryOrderBy {
|
|
16
|
+
descending: boolean;
|
|
17
|
+
propertyName: string;
|
|
8
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue, Identity } from "@omnia/fx/models";
|
|
1
|
+
import { GuidValue, Identity, MultilingualString } from "@omnia/fx/models";
|
|
2
2
|
import { SignOffRequest } from "./SignOffRequest";
|
|
3
3
|
export interface ISignOffRequestResource {
|
|
4
4
|
/** Whatever resource id that can be served as unique id of your provider resource */
|
|
@@ -12,13 +12,20 @@ export declare abstract class SignOffResource implements ISignOffRequestResource
|
|
|
12
12
|
abstract providerId: GuidValue;
|
|
13
13
|
abstract providerManifestId: GuidValue;
|
|
14
14
|
}
|
|
15
|
+
export interface ISignOffRequestResourceDataSettings extends ISignOffRequestResource {
|
|
16
|
+
message?: MultilingualString;
|
|
17
|
+
openInNewTab?: boolean;
|
|
18
|
+
}
|
|
15
19
|
export interface SignOffRequestResource {
|
|
16
20
|
signOffRequestId: GuidValue;
|
|
17
21
|
resource: SignOffResource;
|
|
18
22
|
}
|
|
23
|
+
export interface ConfirmSignOffRequestResource extends SignOffRequestResource {
|
|
24
|
+
recipientId: Identity;
|
|
25
|
+
}
|
|
19
26
|
export interface UserSignOffRequests {
|
|
20
27
|
unconfirmedRequests: SignOffRequest[];
|
|
21
|
-
unconfirmedResources:
|
|
28
|
+
unconfirmedResources: ConfirmSignOffRequestResource[];
|
|
22
29
|
}
|
|
23
30
|
export interface SignOffRequestResourceData {
|
|
24
31
|
title: string;
|