@omnia/workplace 8.0.19-dev → 8.0.21-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/core/loc/formLocalize.d.ts +4 -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 +1 -0
- package/internal-do-not-import-from-here/models/Constants.js +1 -0
- package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Search.d.ts +4 -0
- package/internal-do-not-import-from-here/models/Search.js +1 -0
- package/internal-do-not-import-from-here/models/SharedLink.d.ts +2 -2
- package/internal-do-not-import-from-here/models/analytics/analyticssettings.d.ts +3 -1
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +2 -6
- package/internal-do-not-import-from-here/models/forms/Form.js +1 -4
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +6 -3
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +81 -56
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +91 -122
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticsService","AppAuthenticationOptionsService","FormService","FormTemplateService","FormTypeService","HomeService","MyLinksService","NotificationPanelHistoryService","PromotedSearchResultService","RecentLinksService","SearchCategoryService","SearchFeedbackService","SharedLinksService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AnalyticsFilterStore","AnalyticsService","
|
1
|
+
{"name":"omniaWebpackJsonp['39df27aa-95f1-4a23-b3f6-8b231afcda82']['491a5b75-e3d6-472a-8958-216be85b092a']","content":{"./client/admin/settings/blades/tenantheader/loc/localize.js":{"id":"./client/admin/settings/blades/tenantheader/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TenantHeaderLocalization"]},"./node_modules/@omnia/workplace/core/loc/formLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/formlocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FormsLocalization"]},"./node_modules/@omnia/workplace/core/loc/localize.js":{"id":"./node_modules/@omnia/workplace/core/loc/localize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["TeamCoreLocalization"]},"./node_modules/@omnia/workplace/core/loc/powerappLocalize.js":{"id":"./node_modules/@omnia/workplace/core/loc/powerapplocalize.js","buildMeta":{"exportsType":"namespace"},"expo.js":["PowerAppLocalization"]},"./node_modules/@omnia/workplace/core/messaging/InternalWorkplaceTopics.js":{"id":"./node_modules/@omnia/workplace/core/messaging/internalworkplacetopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWorkplaceTopics"]},"./node_modules/@omnia/workplace/services/index.js":{"id":"./node_modules/@omnia/workplace/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AnalyticsService","AppAuthenticationOptionsService","FormService","FormTemplateService","FormTypeService","HomeService","MyLinksService","NotificationPanelHistoryService","PromotedSearchResultService","RecentLinksService","SearchCategoryService","SearchFeedbackService","SharedLinksService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AnalyticsFilterStore","AnalyticsService","AppAuthenticationOptionsService","ChangeTypes","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","FormTemplateService","FormTemplateStore","FormTypeService","FormTypeStore","GovernanceDashboardStore","HomeService","LinkHandlerDialogStore","LinkStore","MyLinksService","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","RecentLinksService","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SearchTokenStore","SharedLinksService","SignOffRequestService","SignOffRequestStore","SignOffRequestUtils","Styles","TeamCollaborationService","TeamCollaborationStore","TeamworkContext","TeamworkTopics","Topics","WorkPlaceUtils","dialogStyle","mediaPickerStorageProviderWorkplaceFaviconContext","mediaPickerStorageProviderWorkplaceFormContext","mediaPickerStorageProviderWorkplaceLogoContext","mediaPickerStorageProviderWorkplacePromotedSearchResultContext","mediaPickerStorageProviderWorkplaceSearchFeedbackContext","mediaPickerStorageProviderWorkplaceTutorialContext","settingsTabContainer","statusCodeStorageProviderWorkplaceContext","useAnalyticsFilterStore","useAnalyticsStore"]},"./node_modules/@omnia/workplace/models/index.js":{"id":"c778308f-5fbb-4a3d-8691-ad7408ffbd56","buildMeta":{"exportsType":"namespace"}}}}
|
@@ -31,6 +31,7 @@ exports.Constants = {
|
|
31
31
|
msTeamsPushNotification: (0, fx_models_1.guid)("d2542bf4-942f-4732-b9fc-0bfc6472180b"),
|
32
32
|
teamworkProperties: (0, fx_models_1.guid)("af763ba5-c028-48ff-abf2-c272920170d8"),
|
33
33
|
signOffRequest: (0, fx_models_1.guid)("51318721-4c03-43c6-950f-ccad11dbc9e0"),
|
34
|
+
showFooter: (0, fx_models_1.guid)("9c451cac-6fdd-4cd3-abd8-f2f10d1ac824")
|
34
35
|
},
|
35
36
|
themingNavigationNodeKey: (0, fx_models_1.guid)("50c83e32-8a25-4c48-8f94-ef250236f755"),
|
36
37
|
themeIds: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Spacing, guid, MultilingualString,
|
1
|
+
import { Spacing, guid, MultilingualString, LegacyIconPickerModel, IMessageBusTopicSubscription } from "@omnia/fx-models";
|
2
2
|
import { NotificationPanelHistoryEntry } from "./NotificationPanelHistoryEntry";
|
3
3
|
export interface CategoryIconDisplaySettings {
|
4
4
|
showIcon: boolean;
|
@@ -84,7 +84,7 @@ export interface NotificationPanelCustomColorModel {
|
|
84
84
|
}
|
85
85
|
export interface NotificationPanelCategoryModel {
|
86
86
|
title: MultilingualString;
|
87
|
-
icon?:
|
87
|
+
icon?: LegacyIconPickerModel;
|
88
88
|
id: guid;
|
89
89
|
components: Array<NotificationPanelComponentModel>;
|
90
90
|
notificationType: NotificationTypes;
|
@@ -68,9 +68,12 @@ export interface SearchProviderBase {
|
|
68
68
|
providerId: guid;
|
69
69
|
providerDisplayRenderManifestId: guid;
|
70
70
|
}
|
71
|
+
declare const ProviderDefinitions: readonly ["journey"];
|
72
|
+
export type ProviderVariants = typeof ProviderDefinitions[number];
|
71
73
|
export interface SearchProviderSettingProps<T extends SearchCategoryBase> {
|
72
74
|
searchCategory: T;
|
73
75
|
onChanged: (value: T) => void;
|
76
|
+
variant?: ProviderVariants;
|
74
77
|
}
|
75
78
|
export interface SearchRequest {
|
76
79
|
keyword?: string;
|
@@ -85,3 +88,4 @@ export interface PagingOption {
|
|
85
88
|
take: number;
|
86
89
|
skip: number;
|
87
90
|
}
|
91
|
+
export {};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { BlockTitleSettings, ColorValue, guid,
|
1
|
+
import { BlockTitleSettings, ColorValue, guid, LegacyIconPickerModel, MultilingualString, Spacing } from "@omnia/fx-models";
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp-models";
|
3
3
|
import { SearchResultItem } from "./Search";
|
4
|
-
export interface MyLinkIcon extends
|
4
|
+
export interface MyLinkIcon extends LegacyIconPickerModel {
|
5
5
|
backgroundColor?: string;
|
6
6
|
color?: string;
|
7
7
|
}
|
@@ -1,8 +1,10 @@
|
|
1
|
-
import { AnalyticsDimensionMapping } from "
|
1
|
+
import { AnalyticsDimensionMapping, guid } from "@omnia/fx-models";
|
2
2
|
export interface AnalyticsSettings {
|
3
3
|
enabled: boolean;
|
4
4
|
idSite: number;
|
5
5
|
mappings: AnalyticsDimensionMapping[];
|
6
|
+
shared: boolean;
|
7
|
+
connectedBusinessProfileId?: guid;
|
6
8
|
}
|
7
9
|
export interface AnalyticsToken {
|
8
10
|
token: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BusinessProfileProperty, guid, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
|
1
|
+
import { BusinessProfileProperty, ColorSchema, ColorSchemaType, ColorSchemaTypes, guid, Identity, Layout, MediaPickerImage, MultilingualString, Spacing } from "@omnia/fx/models";
|
2
2
|
import { FormTemplateSettings } from "./FormTemplate";
|
3
3
|
import { FormQueryScopes, FormRollupViewComponentSettings } from "./components";
|
4
4
|
export interface FormActionHandlerSettings extends FormBuilderSettings {
|
@@ -177,13 +177,9 @@ export interface FormRendererBlockSettings extends FormViewSettings {
|
|
177
177
|
}
|
178
178
|
export type FormViewComponentSettings = FormViewSettings & FormRollupViewComponentSettings;
|
179
179
|
export declare class FormGenericSetting extends BusinessProfileProperty {
|
180
|
-
chartColor:
|
180
|
+
chartColor: (ColorSchemaTypes | ColorSchemaType | ColorSchema)[];
|
181
181
|
constructor();
|
182
182
|
}
|
183
|
-
export declare class ChartColor {
|
184
|
-
color: string;
|
185
|
-
textColor: string;
|
186
|
-
}
|
187
183
|
export declare enum FormDisplayStatus {
|
188
184
|
NotOpen = 0,
|
189
185
|
Opening = 1,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FormDisplayStatus = exports.
|
3
|
+
exports.FormDisplayStatus = exports.FormGenericSetting = exports.LegendPosition = exports.LegendAlignment = exports.OptionTypes = exports.QuestionTypes = exports.FormStatus = exports.FormTypes = exports.FormScopeTypes = exports.ScopeCurrentId = void 0;
|
4
4
|
const models_1 = require("@omnia/fx/models");
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
6
6
|
exports.ScopeCurrentId = (0, models_1.guid)("acb52a9b-b0c7-465a-8acc-98c4a47b464c");
|
@@ -51,9 +51,6 @@ class FormGenericSetting extends models_1.BusinessProfileProperty {
|
|
51
51
|
}
|
52
52
|
}
|
53
53
|
exports.FormGenericSetting = FormGenericSetting;
|
54
|
-
class ChartColor {
|
55
|
-
}
|
56
|
-
exports.ChartColor = ChartColor;
|
57
54
|
var FormDisplayStatus;
|
58
55
|
(function (FormDisplayStatus) {
|
59
56
|
FormDisplayStatus[FormDisplayStatus["NotOpen"] = 0] = "NotOpen";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { guid, Identity } from "@omnia/fx/models";
|
2
|
-
import {
|
1
|
+
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, guid, Identity } from "@omnia/fx/models";
|
2
|
+
import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsSettingsRequest, MatomoSiteInfo } from "../models/analytics";
|
3
3
|
export declare class AnalyticsStoreService {
|
4
4
|
private httpClient;
|
5
5
|
constructor();
|
@@ -7,7 +7,7 @@ export declare class AnalyticsStoreService {
|
|
7
7
|
getToken: (businessProfileId?: guid) => Promise<AnalyticsToken>;
|
8
8
|
getDimensions: (businessProfileId?: guid) => Promise<AnalyticsDimensions>;
|
9
9
|
getScopesInfo: (businessProfileId?: guid) => Promise<AnalyticsScopeInfo[]>;
|
10
|
-
getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
|
10
|
+
getWidgetInformation: (businessProfileId?: guid) => Promise<WidgetCategoryInfo[]>;
|
11
11
|
addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
|
12
12
|
enableAnalytics: () => Promise<boolean>;
|
13
13
|
disableAnalytics: () => Promise<boolean>;
|
@@ -15,4 +15,7 @@ export declare class AnalyticsStoreService {
|
|
15
15
|
setTenantAdmins: (roleId: guid, identities: Identity[]) => Promise<void>;
|
16
16
|
setMappings: (mappings: AnalyticsDimensionMapping[]) => Promise<void>;
|
17
17
|
ensureSitesWithAtLeastViewAccess: () => Promise<MatomoSite[]>;
|
18
|
+
ensureSiteInfosWithAtLeastViewAccess: () => Promise<MatomoSiteInfo[]>;
|
19
|
+
setConnectedBusinessProfile: (request: AnalyticsSettingsRequest) => Promise<void>;
|
20
|
+
setSharedAnalytics: (isShared: boolean) => Promise<boolean>;
|
18
21
|
}
|
@@ -1,61 +1,32 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { guid, Identity } from "@omnia/fx-models";
|
4
|
-
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
5
|
-
import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
|
1
|
+
import { AnalyticsDimensionScopes, DataSourceProperty, DataSourcePropertyDisplayInformation, guid, Identity } from "@omnia/fx-models";
|
2
|
+
import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite, MatomoSiteInfo } from "../models/analytics";
|
6
3
|
import { WidgetCategoryInfo } from "../models";
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
private settings;
|
16
|
-
private ensuredLoadSettingsPromise;
|
17
|
-
private tokens;
|
18
|
-
private ensuredLoadTokenPromise;
|
19
|
-
private scopeInfos;
|
20
|
-
private ensuredLoadScopeInfosPromise;
|
21
|
-
private widgetCategoryInfo;
|
22
|
-
private ensuredLoadWidgetPromise;
|
23
|
-
private analyticsUrl;
|
24
|
-
private ensuredLoadSitesWithAtLeastViewAccessPromise;
|
25
|
-
private sitesWithAtLeastViewAccess;
|
26
|
-
private isInstalled;
|
27
|
-
onActivated(): void;
|
28
|
-
onDisposing(): void;
|
29
|
-
/**
|
30
|
-
* Implementation of getters
|
31
|
-
*/
|
32
|
-
getters: {
|
33
|
-
dimensions: (businessProfileId?: guid) => AnalyticsDimensions;
|
34
|
-
settings: (businessProfileId?: guid) => AnalyticsSettings;
|
35
|
-
scopeInfos: (businessProfileId?: guid) => AnalyticsScopeInfo[];
|
36
|
-
widgetCategoryInfo: () => WidgetCategoryInfo[];
|
37
|
-
tokens: (businessProfileId?: guid) => string;
|
38
|
-
analyticsUrl: () => string;
|
39
|
-
sitesWithAtLeastViewAccess: () => MatomoSite[];
|
40
|
-
isInstalled: () => boolean;
|
41
|
-
};
|
42
|
-
actions: any;
|
43
|
-
}
|
4
|
+
type DataSourceInfo = {
|
5
|
+
sourceId: guid;
|
6
|
+
dataSourceTitle: string;
|
7
|
+
properties?: {
|
8
|
+
property: DataSourceProperty;
|
9
|
+
displayInformation: DataSourcePropertyDisplayInformation;
|
10
|
+
}[];
|
11
|
+
};
|
44
12
|
export declare const useAnalyticsStore: () => {
|
45
13
|
state: {
|
46
14
|
dimensions: {
|
47
15
|
string: AnalyticsDimensions;
|
48
16
|
};
|
49
|
-
settings:
|
50
|
-
string: AnalyticsSettings;
|
51
|
-
};
|
17
|
+
settings: Record<guid, AnalyticsSettings>;
|
52
18
|
scopeInfos: {
|
53
19
|
string: AnalyticsScopeInfo[];
|
54
20
|
};
|
55
21
|
widgetCategoryInfo: WidgetCategoryInfo[];
|
56
22
|
analyticsUrl: string;
|
57
|
-
sitesWithAtLeastViewAccess:
|
23
|
+
sitesWithAtLeastViewAccess: MatomoSiteInfo[];
|
58
24
|
isInstalled: boolean;
|
25
|
+
selectedBpId: guid;
|
26
|
+
selectedSettings: AnalyticsSettings;
|
27
|
+
selectedDimensions: AnalyticsDimensions;
|
28
|
+
selectedScopeInfo: AnalyticsScopeInfo[];
|
29
|
+
allowedDataSources: DataSourceInfo[];
|
59
30
|
};
|
60
31
|
get: {
|
61
32
|
dimensions: (businessProfileId?: guid) => AnalyticsDimensions;
|
@@ -63,33 +34,86 @@ export declare const useAnalyticsStore: () => {
|
|
63
34
|
scopeInfos: (businessProfileId?: guid) => AnalyticsScopeInfo[];
|
64
35
|
widgetCategoryInfo: () => WidgetCategoryInfo[];
|
65
36
|
analyticsUrl: () => string;
|
66
|
-
sitesWithAtLeastViewAccess:
|
67
|
-
isInstalled:
|
37
|
+
readonly sitesWithAtLeastViewAccess: MatomoSiteInfo[];
|
38
|
+
readonly isInstalled: boolean;
|
39
|
+
dataSource(dataSourceId: guid, property: DataSourceProperty): string;
|
40
|
+
readonly selectedMappings: import("@omnia/fx-models").AnalyticsDimensionMapping[];
|
41
|
+
readonly idSite: number;
|
42
|
+
readonly connectedBusinessProfileId: guid;
|
43
|
+
readonly slotLeft: number;
|
68
44
|
};
|
69
45
|
events: import("@omnia/fx/stores").StoreEvents<{
|
70
46
|
dimensions: {
|
71
47
|
string: AnalyticsDimensions;
|
72
48
|
};
|
73
|
-
settings:
|
74
|
-
string: AnalyticsSettings;
|
75
|
-
};
|
49
|
+
settings: Record<guid, AnalyticsSettings>;
|
76
50
|
scopeInfos: {
|
77
51
|
string: AnalyticsScopeInfo[];
|
78
52
|
};
|
79
53
|
widgetCategoryInfo: WidgetCategoryInfo[];
|
80
54
|
analyticsUrl: string;
|
81
|
-
sitesWithAtLeastViewAccess:
|
55
|
+
sitesWithAtLeastViewAccess: MatomoSiteInfo[];
|
82
56
|
isInstalled: boolean;
|
57
|
+
selectedBpId: guid;
|
58
|
+
selectedSettings: AnalyticsSettings;
|
59
|
+
selectedDimensions: AnalyticsDimensions;
|
60
|
+
selectedScopeInfo: AnalyticsScopeInfo[];
|
61
|
+
allowedDataSources: DataSourceInfo[];
|
83
62
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
63
|
+
mutate: {
|
64
|
+
dimensions: (value: {
|
65
|
+
string: AnalyticsDimensions;
|
66
|
+
} | ((prev: {
|
67
|
+
string: AnalyticsDimensions;
|
68
|
+
}) => {
|
69
|
+
string: AnalyticsDimensions;
|
70
|
+
})) => void;
|
71
|
+
settings: (value: Record<guid, AnalyticsSettings> | ((prev: Record<guid, AnalyticsSettings>) => Record<guid, AnalyticsSettings>)) => void;
|
72
|
+
scopeInfos: (value: {
|
73
|
+
string: AnalyticsScopeInfo[];
|
74
|
+
} | ((prev: {
|
75
|
+
string: AnalyticsScopeInfo[];
|
76
|
+
}) => {
|
77
|
+
string: AnalyticsScopeInfo[];
|
78
|
+
})) => void;
|
79
|
+
widgetCategoryInfo: (value: WidgetCategoryInfo[] | ((prev: WidgetCategoryInfo[]) => WidgetCategoryInfo[])) => void;
|
80
|
+
analyticsUrl: (value: string | ((prev: string) => string)) => void;
|
81
|
+
sitesWithAtLeastViewAccess: (value: MatomoSiteInfo[] | ((prev: MatomoSiteInfo[]) => MatomoSiteInfo[])) => void;
|
82
|
+
isInstalled: (value: boolean | ((prev: boolean) => boolean)) => void;
|
83
|
+
selectedBpId: (value: guid | ((prev: guid) => guid)) => void;
|
84
|
+
selectedSettings: (value: AnalyticsSettings | ((prev: AnalyticsSettings) => AnalyticsSettings)) => void;
|
85
|
+
selectedDimensions: (value: AnalyticsDimensions | ((prev: AnalyticsDimensions) => AnalyticsDimensions)) => void;
|
86
|
+
selectedScopeInfo: (value: AnalyticsScopeInfo[] | ((prev: AnalyticsScopeInfo[]) => AnalyticsScopeInfo[])) => void;
|
87
|
+
allowedDataSources: (value: DataSourceInfo[] | ((prev: DataSourceInfo[]) => DataSourceInfo[])) => void;
|
88
|
+
};
|
84
89
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
90
|
+
setBp(businessProfileId?: guid): void;
|
91
|
+
loadSettings(): Promise<AnalyticsSettings>;
|
92
|
+
loadDimensions(): Promise<AnalyticsDimensions>;
|
93
|
+
loadScopeInfos(): Promise<AnalyticsScopeInfo[]>;
|
94
|
+
loadWidgetInfo(): Promise<WidgetCategoryInfo[]>;
|
95
|
+
loadDataSource(): Promise<void>;
|
96
|
+
addDimension(name: string, scope: AnalyticsDimensionScopes): Promise<void>;
|
97
|
+
/**
|
98
|
+
* @deprecated
|
99
|
+
*/
|
85
100
|
ensureSettings(businessProfileId?: guid, force?: boolean): Promise<void>;
|
101
|
+
/**
|
102
|
+
* @deprecated
|
103
|
+
*/
|
86
104
|
ensureDimensions(businessProfileId?: guid, force?: boolean): Promise<void>;
|
105
|
+
/**
|
106
|
+
* @deprecated
|
107
|
+
*/
|
87
108
|
ensureScopesInfo(businessProfileId?: guid, force?: boolean): Promise<void>;
|
109
|
+
/**
|
110
|
+
* @deprecated
|
111
|
+
*/
|
88
112
|
ensureWidgetInfo(force?: boolean): Promise<void>;
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
113
|
+
storeMappings(): Promise<void>;
|
114
|
+
setConnectedBusinessProfile(): Promise<void>;
|
115
|
+
setSharedAnalytics(): Promise<boolean>;
|
116
|
+
setEnableAnalytics(): Promise<boolean>;
|
93
117
|
setBusinessProfileReaders(roleId: guid, identites: Identity[]): Promise<void>;
|
94
118
|
setTenantAdmins(roleId: guid, identites: Identity[]): Promise<void>;
|
95
119
|
ensureLoadSitesWithAtLeastViewAccess(): Promise<MatomoSite[]>;
|
@@ -97,3 +121,4 @@ export declare const useAnalyticsStore: () => {
|
|
97
121
|
} & {
|
98
122
|
dispose?: () => void;
|
99
123
|
};
|
124
|
+
export {};
|