@omnia/workplace 7.5.5-dev → 7.5.6-dev
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/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/models/Constants.js +2 -1
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +2 -0
- package/internal-do-not-import-from-here/models/ManifestIds.js +2 -0
- package/internal-do-not-import-from-here/models/analytics/analyticsdimensionmappings.d.ts +0 -3
- package/internal-do-not-import-from-here/models/analytics/analyticsfiltersettings.d.ts +3 -2
- package/internal-do-not-import-from-here/models/analytics/analyticssettings.d.ts +2 -0
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +3 -2
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/services/AnalyticsService.d.ts +3 -1
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +6 -6
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +11 -9
- package/package.json +1 -1
|
@@ -26,7 +26,8 @@ exports.Constants = {
|
|
|
26
26
|
yammerIntegration: "b8b09c2b-b7a4-447b-b6b9-fdd8a16bab0c",
|
|
27
27
|
facebookWorkplace: "8D243613-9966-4D10-AE7D-CD3938DA47AF",
|
|
28
28
|
sharepointUserProfilesSync: "cfd49770-2275-4f72-a164-355f51e5dcb4",
|
|
29
|
-
analyticsCore: "29ce6dcb-da60-44d7-a6ec-5da9fb5bc658"
|
|
29
|
+
analyticsCore: "29ce6dcb-da60-44d7-a6ec-5da9fb5bc658",
|
|
30
|
+
analyticsBusinessProfile: "9c76c51c-e3a7-44b3-9c10-c12914834b2c"
|
|
30
31
|
},
|
|
31
32
|
themingNavigationNodeKey: "50c83e32-8a25-4c48-8f94-ef250236f755",
|
|
32
33
|
themeIds: {
|
|
@@ -372,6 +372,8 @@ export declare class WebComponentManifests {
|
|
|
372
372
|
static get TeamCollaborationListViewSettings(): Guid;
|
|
373
373
|
static get TeamCollaborationNavigationView(): Guid;
|
|
374
374
|
static get TeamCollaborationNavigationViewSettings(): Guid;
|
|
375
|
+
static get TeamCollaborationRollupRenderer(): Guid;
|
|
376
|
+
static get TeamCollaborationRollupMetricDetailsDialog(): Guid;
|
|
375
377
|
static get CreateTeamworkBlock(): Guid;
|
|
376
378
|
static get CreateTeamworkComponent(): Guid;
|
|
377
379
|
static get CreateTeamworkBlockSettings(): Guid;
|
|
@@ -381,6 +381,8 @@ class WebComponentManifests {
|
|
|
381
381
|
static get TeamCollaborationListViewSettings() { return new fx_models_1.Guid("D6F547EC-CF89-486F-8B59-C999553869E1"); }
|
|
382
382
|
static get TeamCollaborationNavigationView() { return new fx_models_1.Guid("1d7374e8-24bf-4e0e-b4d3-752fa89c7a38"); }
|
|
383
383
|
static get TeamCollaborationNavigationViewSettings() { return new fx_models_1.Guid("a1fd35eb-760a-45c7-b812-148a519ef500"); }
|
|
384
|
+
static get TeamCollaborationRollupRenderer() { return new fx_models_1.Guid("D22B2917-BE60-43D4-B989-49EBA88DCAC3"); }
|
|
385
|
+
static get TeamCollaborationRollupMetricDetailsDialog() { return new fx_models_1.Guid("75CCD5E7-F7B5-4D4F-AA6E-5391C1946B4B"); }
|
|
384
386
|
static get CreateTeamworkBlock() { return new fx_models_1.Guid("0f1da23c-05a0-4ff3-a3e6-83e1252db696"); }
|
|
385
387
|
static get CreateTeamworkComponent() { return new fx_models_1.Guid("466c0ccc-ed0e-41d9-b8c2-1200fb7ec59c"); }
|
|
386
388
|
static get CreateTeamworkBlockSettings() { return new fx_models_1.Guid("c5b867ec-4613-4b57-b75a-83461e1928ec"); }
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { IDataSourcePropertySelection } from "@omnia/fx/ux";
|
|
2
|
-
export interface AnalyticsDimensionMappings {
|
|
3
|
-
mappings: AnalyticsDimensionMapping[];
|
|
4
|
-
}
|
|
5
2
|
export interface AnalyticsDimensionMapping {
|
|
6
3
|
dimensionId: number;
|
|
7
4
|
mappedProperty: IDataSourcePropertySelection;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { IDataSourcePropertySelection } from "@omnia/fx/ux";
|
|
1
2
|
export interface AnalyticsFilterSettings {
|
|
2
3
|
name: string;
|
|
3
4
|
period: string;
|
|
4
5
|
date: string;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
properties: {
|
|
7
|
+
property: IDataSourcePropertySelection;
|
|
7
8
|
value: string;
|
|
8
9
|
}[];
|
|
9
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SpacingSettings, GuidValue, RollupFilter, RollupEnums, RollupSetting, PersonPropFilterValue, BooleanPropFilterValue, TextPropFilterValue, TaxonomyPropFilterValue, DatePropFilterValue, TexSearchestPropFilterValue, MultilingualString, MediaPickerImage, FilterEngineSettings } from "@omnia/fx-models";
|
|
1
|
+
import { SpacingSettings, GuidValue, RollupFilter, RollupEnums, RollupSetting, PersonPropFilterValue, BooleanPropFilterValue, TextPropFilterValue, TaxonomyPropFilterValue, DatePropFilterValue, TexSearchestPropFilterValue, MultilingualString, MediaPickerImage, FilterEngineSettings, RollupMetricSettings } from "@omnia/fx-models";
|
|
2
2
|
import { TeamCollaborationRollupScopeTypes } from ".";
|
|
3
3
|
import { AppEnums } from "../apps";
|
|
4
4
|
export declare const TeamCollaborationConstants: {
|
|
@@ -86,12 +86,13 @@ export interface TeamCollaborationRollupQuery extends RollupSetting {
|
|
|
86
86
|
currentBusinessProfile?: boolean;
|
|
87
87
|
trimByRoleId?: GuidValue;
|
|
88
88
|
searchProperties?: Array<string>;
|
|
89
|
+
showMetric?: boolean;
|
|
89
90
|
}
|
|
90
91
|
export declare enum TeamCollaborationRollupLinkBehavior {
|
|
91
92
|
OpenTeamwork = 0,
|
|
92
93
|
OpenLayout = 1
|
|
93
94
|
}
|
|
94
|
-
export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationRollupQuery {
|
|
95
|
+
export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationRollupQuery, RollupMetricSettings {
|
|
95
96
|
selectedViewId: string;
|
|
96
97
|
viewSettings: TeamCollaborationRollupViewSettings;
|
|
97
98
|
title: MultilingualString;
|
|
@@ -17,6 +17,7 @@ export declare const TeamCollaborationRollupBlockStyles: {
|
|
|
17
17
|
left?: boolean;
|
|
18
18
|
bottom?: boolean;
|
|
19
19
|
}) => types.NestedCSSProperties;
|
|
20
|
+
metricDetailsDialog?: (height: number) => types.NestedCSSProperties;
|
|
20
21
|
};
|
|
21
22
|
export declare const TeamCollaborationRollupBlockListViewStyles: {
|
|
22
23
|
tableWrapper?: types.NestedCSSProperties;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { UserTypeStore } from "@omnia/fx/stores";
|
|
1
|
+
import { MultilingualStore, UserTypeStore } from "@omnia/fx/stores";
|
|
2
2
|
import { AnalyticsStore } from "../stores/AnalyticsStore";
|
|
3
3
|
import { DataSourcePropertiesService } from "@omnia/fx/services";
|
|
4
4
|
export declare class AnalyticsService {
|
|
5
5
|
userTypeStore: UserTypeStore;
|
|
6
6
|
analyticsStore: AnalyticsStore;
|
|
7
7
|
dataSourcePropertiesService: DataSourcePropertiesService;
|
|
8
|
+
multilingualStore: MultilingualStore;
|
|
8
9
|
readonly dsSourcesAllowed: string[];
|
|
10
|
+
tracker: any;
|
|
9
11
|
constructor();
|
|
10
12
|
registerPageVisit(pageId?: number, resetDimensions?: boolean): Promise<void>;
|
|
11
13
|
registerAction(category: string, action: string, name: string, value?: number): Promise<void>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
+
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, WidgetCategoryInfo } from "../models/analytics";
|
|
2
3
|
export declare class AnalyticsStoreService {
|
|
3
4
|
private httpClient;
|
|
4
5
|
constructor();
|
|
5
|
-
|
|
6
|
+
getSettings: (businessProfileId?: GuidValue) => Promise<AnalyticsSettings>;
|
|
7
|
+
getDimensions: (businessProfileId?: GuidValue) => Promise<AnalyticsDimensions>;
|
|
8
|
+
getScopesInfo: (businessProfileId?: GuidValue) => Promise<AnalyticsScopeInfo[]>;
|
|
6
9
|
getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
|
|
7
|
-
getMappings: () => Promise<AnalyticsDimensionMappings>;
|
|
8
|
-
getScopesInfo: () => Promise<AnalyticsScopeInfo[]>;
|
|
9
10
|
addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
|
|
10
|
-
getSettings: () => Promise<AnalyticsSettings>;
|
|
11
11
|
enableAnalytics: () => Promise<boolean>;
|
|
12
12
|
disableAnalytics: () => Promise<boolean>;
|
|
13
|
-
setMappings: (mappings:
|
|
13
|
+
setMappings: (mappings: AnalyticsDimensionMapping[]) => Promise<void>;
|
|
14
14
|
}
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import {
|
|
2
|
+
import { OmniaContext } from "@omnia/fx";
|
|
3
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
4
|
+
import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings } from "../models/analytics";
|
|
3
5
|
import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
|
|
4
6
|
import { WidgetCategoryInfo } from "../models";
|
|
5
7
|
export declare class AnalyticsStore extends Store {
|
|
6
8
|
analyticsStoreService: AnalyticsStoreService;
|
|
9
|
+
omniaCtx: OmniaContext;
|
|
7
10
|
/**
|
|
8
11
|
* State
|
|
9
12
|
*/
|
|
10
|
-
private dimensionMappings;
|
|
11
|
-
private ensuredLoadDimensionMappingsPromise;
|
|
12
13
|
private dimensions;
|
|
13
14
|
private ensuredLoadDimensionsPromise;
|
|
14
|
-
private scopeInfos;
|
|
15
|
-
private ensuredLoadScopeInfosPromise;
|
|
16
15
|
private settings;
|
|
17
16
|
private ensuredLoadSettingsPromise;
|
|
17
|
+
private scopeInfos;
|
|
18
|
+
private ensuredLoadScopeInfosPromise;
|
|
18
19
|
private widgetCategoryInfo;
|
|
19
20
|
private ensuredLoadWidgetPromise;
|
|
21
|
+
private loadedBusinessProfile;
|
|
20
22
|
onActivated(): void;
|
|
23
|
+
resetEnabledAndSite(): Promise<void>;
|
|
21
24
|
onDisposing(): void;
|
|
22
25
|
/**
|
|
23
26
|
* Implementation of getters
|
|
24
27
|
*/
|
|
25
28
|
getters: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
scopeInfos: () => AnalyticsScopeInfo[];
|
|
29
|
-
settings: () => AnalyticsSettings;
|
|
29
|
+
dimensions: (businessProfileId?: GuidValue) => AnalyticsDimensions;
|
|
30
|
+
settings: (businessProfileId?: GuidValue) => AnalyticsSettings;
|
|
31
|
+
scopeInfos: (businessProfileId?: GuidValue) => AnalyticsScopeInfo[];
|
|
30
32
|
widgetCategoryInfo: () => WidgetCategoryInfo[];
|
|
31
33
|
};
|
|
32
34
|
actions: any;
|