@omnia/workplace 7.1.51-preview → 7.5.1-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/analytics/AnalyticsService.d.ts +26 -0
- package/internal-do-not-import-from-here/apis/AnalyticsPropertyApi.d.ts +29 -0
- package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/index.d.ts +1 -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 +13 -0
- package/internal-do-not-import-from-here/models/Constants.js +14 -1
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +14 -1
- package/internal-do-not-import-from-here/models/ManifestIds.js +14 -1
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSource.d.ts +37 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSource.js +10 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourceProperty.d.ts +19 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourceProperty.js +25 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourcePropertyDefinitionHandler.d.ts +36 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourcePropertyDefinitionHandler.js +18 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourcePropertyProvider.d.ts +37 -0
- package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourcePropertyProvider.js +6 -0
- package/internal-do-not-import-from-here/models/analytics/index.d.ts +4 -0
- package/internal-do-not-import-from-here/models/analytics/index.js +7 -0
- package/internal-do-not-import-from-here/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SettingsService } from "@omnia/fx/services";
|
|
2
|
+
import { UserTypeStore } from "@omnia/fx/stores";
|
|
3
|
+
import { AnalyticsDataSourcePropertiesService } from "internal/analytics";
|
|
4
|
+
import { AnalyticsDataSourceProperty } from "../models/analytics/AnalyticsDataSourceProperty";
|
|
5
|
+
export declare class AnalyticsService {
|
|
6
|
+
userTypeStore: UserTypeStore;
|
|
7
|
+
dataSourcePropertiesService: AnalyticsDataSourcePropertiesService;
|
|
8
|
+
settingsService: SettingsService<AnalyticsDimensionMappings>;
|
|
9
|
+
dimensionMappings: AnalyticsDimensionMappings;
|
|
10
|
+
constructor();
|
|
11
|
+
registerPageVisit(resetDimensions?: boolean): Promise<void>;
|
|
12
|
+
registerAction(category: string, action: string, name: string, value?: number): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
interface AnalyticsDimensionMappings {
|
|
15
|
+
mappings: AnalyticsDimensionMapping[];
|
|
16
|
+
}
|
|
17
|
+
interface AnalyticsDimensionMapping {
|
|
18
|
+
dimensionId: number;
|
|
19
|
+
dataSourceProperty: AnalyticsDataSourceProperty;
|
|
20
|
+
scope: AnalyticsDimensionScopes;
|
|
21
|
+
}
|
|
22
|
+
export declare enum AnalyticsDimensionScopes {
|
|
23
|
+
visit = 0,
|
|
24
|
+
action = 1
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IExtendApiManifestWithConfiguration } from "@omnia/fx-models";
|
|
2
|
+
import { AnalyticsPropertyDataSourceId, IAnalyticsPropertyDataSourceRegistrationApi } from "../models/analytics/AnalyticsDataSource";
|
|
3
|
+
import { AnalyticsDataSourcePropertyDefintionHandlerId } from "../models/analytics/AnalyticsDataSourcePropertyDefinitionHandler";
|
|
4
|
+
declare module "../models/WorkplaceApi" {
|
|
5
|
+
interface IWorkplaceApi {
|
|
6
|
+
analyticsProperties: {
|
|
7
|
+
dataSources: {
|
|
8
|
+
registrations: Promise<IAnalyticsPropertyDataSourceRegistrationApi>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
interface IWorkplaceExtendApiManifest {
|
|
13
|
+
analyticsProperties: {
|
|
14
|
+
dataSources: {
|
|
15
|
+
/**
|
|
16
|
+
* Register the manifest/bundle that contains the propertydatasource
|
|
17
|
+
* */
|
|
18
|
+
registrations: IExtendApiManifestWithConfiguration<AnalyticsPropertyDataSourceId>;
|
|
19
|
+
/**
|
|
20
|
+
* Register any external plugin/dataSourcePropertyDefinitionHandler for a property data source
|
|
21
|
+
* */
|
|
22
|
+
pluginRegistration: IExtendApiManifestWithConfiguration<{
|
|
23
|
+
dataSourceId: AnalyticsPropertyDataSourceId;
|
|
24
|
+
dataSourcePropertyDefinitionHandlerId: AnalyticsDataSourcePropertyDefintionHandlerId;
|
|
25
|
+
}>;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -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":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","LinkHandlerDialogStore","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SearchTokenStore","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"},"expo.js":["ActionMenuStyles","AdvancedSearchSettingsStyles","AdvancedSearchStyles","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","BusinessProfileDallEPromptDefaultSettings","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DallESettingsPrompts","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","LinkHandlerSettingsStyles","LinkUrlTypeOption","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","QRCodeStyles","QuestionTypes","QuickSearchStyles","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","SearchStatistics","SearchStatisticsMetricScopeFilterValue","SearchTokenProvider","ServiceDefinition","SettingsKeys","SetupWizard","SetupWizardScope","SetupWizardTemplateFeatureHandler","SetupWizardTemplateProvider","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestInfoPersistentDialogId","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffRequestRollupConstants","SignOffRequestScopedQueryTypes","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","StatusCodeDisplay","StatusCodeProvider","StatusCodeStorageProviderWorkplaceContext","TabCustomUrlType","TableNames","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupLinkBehavior","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TenantReusableContentManifests","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WizardSetupConstant","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider"]}}}
|
|
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":["AppAuthenticationOptionsService","FormService","HomeService","NotificationPanelHistoryService","PromotedSearchResultService","SearchCategoryService","SearchFeedbackService","SignOffRequestService","TeamCollaborationService"]},"./node_modules/@omnia/workplace/index.js":{"id":"8bf93338-8e70-4104-a75d-ae11485eec04","buildMeta":{"exportsType":"namespace"},"expo.js":["AdminNamespace","AnalyticsDimensionScopes","AnalyticsService","AppAuthenticationOptionsService","AppRendererBootstrapper","CurrentFormStore","DialogHelper","EditingThemeStore","FilterValueProvider","FormService","FormStore","GovernanceDashboardStore","HomeService","LinkHandlerDialogStore","NotificationPanelHistoryService","NotificationPanelStore","NotificationPanelStorePluginProvider","PromotedSearchResultService","PromotedSearchResultStore","SearchCategoryService","SearchCategoryStore","SearchFeedbackService","SearchTokenStore","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"},"expo.js":["ActionMenuStyles","AdvancedSearchSettingsStyles","AdvancedSearchStyles","AnalyticsDataSourceProperty","AnalyticsDataSourcePropertyCategory","AnalyticsDataSourcePropertyDefinitionHandler","AnalyticsDataSourcePropertyDisplayInformation","AnalyticsPropertyDataSourceBase","AnalyticsPropertyDataSourceProviderRegistration","AnnouncementCommentLikeStyle","AnnouncementJourneyStyle","AnnouncementStyles","AppEnums","AppIconSearchTemplateStyles","AppIconStyles","AppInstanceDescriptionProperties","AppLaunchStyles","AppLaunchViewStyles","AppProvisioningSteps","BuiltInActionButtonHandlers","BusinessProfileAppProvisioning","BusinessProfileDallEPromptDefaultSettings","CentralImageLocationsStyles","ChartColor","CompactHeaderStyles","Constants","CreateTeamworkSettingsStyles","DallESettingsPrompts","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","LinkHandlerSettingsStyles","LinkUrlTypeOption","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","QRCodeStyles","QuestionTypes","QuickSearchStyles","ResourceManifests","SearchAdminStyles","SearchBlockStyles","SearchHeaderStyles","SearchProvider","SearchStatistics","SearchStatisticsMetricScopeFilterValue","SearchTokenProvider","ServiceDefinition","SettingsKeys","SetupWizard","SetupWizardScope","SetupWizardTemplateFeatureHandler","SetupWizardTemplateProvider","SharedLinkSortByTypes","ShowMoreStyles","SignOffRequestEnums","SignOffRequestInfoPersistentDialogId","SignOffRequestProvider","SignOffRequestResourceProvider","SignOffRequestRollupConstants","SignOffRequestScopedQueryTypes","SignOffResource","SimpleListStyles","SimpleListingSearchTemplateStyles","SlideRendererStyles","StatisticViewMode","StatusCodeDisplay","StatusCodeProvider","StatusCodeStorageProviderWorkplaceContext","TabCustomUrlType","TableNames","TargetingPropertyStyles","TaxonomyNavigationDisplayProviderBase","TaxonomyNavigationStyles","TeamCollaborationAppDefinitionInfo","TeamCollaborationAppEnterpriseProperties","TeamCollaborationConstants","TeamCollaborationRollupBlockListViewSettingsStyles","TeamCollaborationRollupBlockListViewStyles","TeamCollaborationRollupBlockSettingsStyles","TeamCollaborationRollupBlockStyles","TeamCollaborationRollupEnums","TeamCollaborationRollupLinkBehavior","TeamCollaborationRollupScopeTypes","TeamCollabrationApp","TeamCollabrationAppResource","TeamCollabrationQuery","TeamCollabrationTypes","TeamNewsBlockStyles","TeamNewsRollupSettingElementName","TeamSiteEditPropertiesStyles","TeamWorkInfo","TeamworkAppLayoutDefinition","TeamworkNavigationActionHandlerSettingStyles","TeamworkNavigationSettingStyles","TeamworkNavigationStyles","TeamworkTemplateFilterValue","TenantRegionalStyles","TenantReusableContentManifests","TermNodeStyles","UserAccessibilitySettingsStyles","UserMenuStyles","VerticalActionMenuStyles","VerticalMegaMenuStyles","WPRoleDefinition","WebComponentElements","WebComponentManifests","WizardSetupConstant","WorkplaceAppRoutePrefix","WorkplaceHomeStyles","WorkplaceSharedStyles","WorkspaceActionMenuMapping","WorkspaceActionMenuSettings","WorkspaceApp","WorkspaceFactory","WorkspaceHomeMapping","WorkspaceHomeSettings","WorkspaceInfo","WorkspaceMegaMenuItemTypes","WorkspaceMegaMenuMapping","WorkspaceMegaMenuSettings","WorkspaceVerticalNavWidth","WowrkplaceHeadingStyles","notificationPanelLayoutProvider"]}}}
|
|
@@ -62,6 +62,19 @@ export declare const Constants: {
|
|
|
62
62
|
filterEngineContextUniqueId: string;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
+
analytics: {
|
|
66
|
+
properties: {
|
|
67
|
+
registrations: {
|
|
68
|
+
businessProfilePropertiesRegistrationId: Guid;
|
|
69
|
+
appPropertiesRegistrationId: Guid;
|
|
70
|
+
userPropertiesRegistrationId: Guid;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
propertyCategories: {
|
|
74
|
+
externalPropertyCategoryId: Guid;
|
|
75
|
+
defaultCategoryId: Guid;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
65
78
|
};
|
|
66
79
|
export declare const BuiltInActionButtonHandlers: {
|
|
67
80
|
AddFavoriteButton: ActionHandlerRegistrationId;
|
|
@@ -74,7 +74,20 @@ exports.Constants = {
|
|
|
74
74
|
teamworkRollup: {
|
|
75
75
|
filterEngineContextUniqueId: "3afa11c3-ed91-4da3-9afa-bf08489b28c0"
|
|
76
76
|
},
|
|
77
|
-
}
|
|
77
|
+
},
|
|
78
|
+
analytics: {
|
|
79
|
+
properties: {
|
|
80
|
+
registrations: {
|
|
81
|
+
businessProfilePropertiesRegistrationId: new fx_models_1.Guid("63b055c6-aee2-4c08-bb09-add19788b4f0"),
|
|
82
|
+
appPropertiesRegistrationId: new fx_models_1.Guid("3f17aaaa-ce07-4b57-9e26-bdd9f5a8e1a3"),
|
|
83
|
+
userPropertiesRegistrationId: new fx_models_1.Guid("1a818ef8-65b6-4018-9879-8bfbea05194d"),
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
propertyCategories: {
|
|
87
|
+
externalPropertyCategoryId: new fx_models_1.Guid("7d7a8a30-e9a3-486b-ac09-878f71e687d4"),
|
|
88
|
+
defaultCategoryId: new fx_models_1.Guid("d7af0482-3a90-463e-bf4b-fdebcf0565be"),
|
|
89
|
+
},
|
|
90
|
+
},
|
|
78
91
|
};
|
|
79
92
|
exports.BuiltInActionButtonHandlers = {
|
|
80
93
|
AddFavoriteButton: fx_models_1.ActionHandlerRegistrationId.create(new fx_models_1.Guid("ad1a3e19-4f08-4ebd-b05e-40a37e1ad4c3")),
|
|
@@ -134,6 +134,10 @@ export declare class ResourceManifests {
|
|
|
134
134
|
static get HttpCodeLayoutResource(): Guid;
|
|
135
135
|
static get HttpCodeLayoutBPRegistration(): Guid;
|
|
136
136
|
static get HttpCodeLayoutTenantRegistration(): Guid;
|
|
137
|
+
static get AnalyticsDataSourceRegistrations(): Guid;
|
|
138
|
+
static get UserAnalyticsPropertyProvider(): Guid;
|
|
139
|
+
static get AppAnalyticsPropertyProvider(): Guid;
|
|
140
|
+
static get BusinessProfileAnalyticsPropertyProvider(): Guid;
|
|
137
141
|
}
|
|
138
142
|
export declare class WebComponentManifests {
|
|
139
143
|
static get FaviconSettings(): Guid;
|
|
@@ -444,7 +448,8 @@ export declare class WebComponentManifests {
|
|
|
444
448
|
static get MsTeamTabLayoutConfiguration(): Guid;
|
|
445
449
|
static get PostsFeed(): Guid;
|
|
446
450
|
static get PostsFeedSettings(): Guid;
|
|
447
|
-
static get
|
|
451
|
+
static get TenantUserManagementJourney(): Guid;
|
|
452
|
+
static get BusinessProfileUserManagementJourney(): Guid;
|
|
448
453
|
static get UserManagementCore(): Guid;
|
|
449
454
|
static get UserManagementUserTypeListingBlade(): Guid;
|
|
450
455
|
static get UserManagementUserTypeCreateDialog(): Guid;
|
|
@@ -453,15 +458,22 @@ export declare class WebComponentManifests {
|
|
|
453
458
|
static get UserManagementSyncProviderSettingsBlade(): Guid;
|
|
454
459
|
static get UserManagementSyncProviderLogsBlade(): Guid;
|
|
455
460
|
static get UserManagementUserListingBlade(): Guid;
|
|
461
|
+
static get UserManagementActiveUserListing(): Guid;
|
|
462
|
+
static get UserManagementDeletedUserListing(): Guid;
|
|
456
463
|
static get UserManagementUserDetailBlade(): Guid;
|
|
457
464
|
static get UserManagementUserAuthenticationBlade(): Guid;
|
|
458
465
|
static get UserManagementGroupListingBlade(): Guid;
|
|
466
|
+
static get UserManagementActiveGroupListing(): Guid;
|
|
467
|
+
static get UserManagementDeletedGroupListing(): Guid;
|
|
459
468
|
static get UserManagementGroupDetailBlade(): Guid;
|
|
460
469
|
static get UserManagementAuthenticationSettingsBlade(): Guid;
|
|
461
470
|
static get UserManagementDynamicGroupListingBlade(): Guid;
|
|
462
471
|
static get UserManagementDynamicGroupDetailBlade(): Guid;
|
|
463
472
|
static get UserManagementUserPropertyListingBlade(): Guid;
|
|
464
473
|
static get UserManagementUserPropertyDetailBlade(): Guid;
|
|
474
|
+
static get UserManagementUserDetailBladeAuthenticationTab(): Guid;
|
|
475
|
+
static get UserManagementUserDetailBladePropertiesTab(): Guid;
|
|
476
|
+
static get BusinessProfileAuthenticationBlade(): Guid;
|
|
465
477
|
static get SetupWizardViewCore(): Guid;
|
|
466
478
|
static get SetupWizardGeneralStep(): Guid;
|
|
467
479
|
static get SetupWizardBrandingStep(): Guid;
|
|
@@ -513,6 +525,7 @@ export declare class WebComponentManifests {
|
|
|
513
525
|
static get UserInformationBlock(): Guid;
|
|
514
526
|
static get HttpCodeLayoutTenantJourney(): Guid;
|
|
515
527
|
static get HttpCodeLayoutBusinessProfileJourney(): Guid;
|
|
528
|
+
static get LoginScreenBlade(): Guid;
|
|
516
529
|
}
|
|
517
530
|
export declare class WebComponentElements {
|
|
518
531
|
static get AppProvisioningStepMember(): string;
|
|
@@ -142,6 +142,10 @@ class ResourceManifests {
|
|
|
142
142
|
static get HttpCodeLayoutResource() { return new fx_models_1.Guid("b6785187-5ac7-4fa1-a36e-08298f778cad"); }
|
|
143
143
|
static get HttpCodeLayoutBPRegistration() { return new fx_models_1.Guid("7e34f694-9a74-4741-bf2c-95ca05ade31a"); }
|
|
144
144
|
static get HttpCodeLayoutTenantRegistration() { return new fx_models_1.Guid("93178fef-8fbe-4e01-9510-b0a358ffa3a8"); }
|
|
145
|
+
static get AnalyticsDataSourceRegistrations() { return new fx_models_1.Guid("ca95abff-bb03-40fb-b63f-8c8f1c65e8d7"); }
|
|
146
|
+
static get UserAnalyticsPropertyProvider() { return new fx_models_1.Guid("7b261a4c-6619-48e6-b8ea-38ff02ff4a7c"); }
|
|
147
|
+
static get AppAnalyticsPropertyProvider() { return new fx_models_1.Guid("1e3f2371-6eaf-40ed-91b3-546cc9dfbc03"); }
|
|
148
|
+
static get BusinessProfileAnalyticsPropertyProvider() { return new fx_models_1.Guid("10044933-fd8f-49a8-a28f-14faa3a0f247"); }
|
|
145
149
|
}
|
|
146
150
|
exports.ResourceManifests = ResourceManifests;
|
|
147
151
|
class WebComponentManifests {
|
|
@@ -453,7 +457,8 @@ class WebComponentManifests {
|
|
|
453
457
|
static get MsTeamTabLayoutConfiguration() { return new fx_models_1.Guid("104760a6-6754-4bbb-8325-4e42bef75b8a"); }
|
|
454
458
|
static get PostsFeed() { return new fx_models_1.Guid("74c4e208-e37f-41a5-ba96-c4bf64464523"); }
|
|
455
459
|
static get PostsFeedSettings() { return new fx_models_1.Guid("7f049298-9bb4-4f32-a2d4-2e8b8ffa6c1b"); }
|
|
456
|
-
static get
|
|
460
|
+
static get TenantUserManagementJourney() { return new fx_models_1.Guid("1d19aeb7-22e4-4b9e-9d26-17035854dd2a"); }
|
|
461
|
+
static get BusinessProfileUserManagementJourney() { return new fx_models_1.Guid("9539268b-7419-44dd-9707-96a5ff9d0b0d"); }
|
|
457
462
|
static get UserManagementCore() { return new fx_models_1.Guid("2b3fc3f2-bc60-44a0-8688-764f3b2d62c8"); }
|
|
458
463
|
static get UserManagementUserTypeListingBlade() { return new fx_models_1.Guid("ebd9788a-b217-4868-8f4e-594ecf568806"); }
|
|
459
464
|
static get UserManagementUserTypeCreateDialog() { return new fx_models_1.Guid("b4acc93e-c207-4b9c-b65d-d74e0058f416"); }
|
|
@@ -462,15 +467,22 @@ class WebComponentManifests {
|
|
|
462
467
|
static get UserManagementSyncProviderSettingsBlade() { return new fx_models_1.Guid("0ab38b6f-9852-40ec-83c4-37db8a27d7c6"); }
|
|
463
468
|
static get UserManagementSyncProviderLogsBlade() { return new fx_models_1.Guid("6a15d7ed-ea3d-4b54-8b71-d8a7f3e50295"); }
|
|
464
469
|
static get UserManagementUserListingBlade() { return new fx_models_1.Guid("6f1fc259-6ddb-411a-bf17-41ed422947e3"); }
|
|
470
|
+
static get UserManagementActiveUserListing() { return new fx_models_1.Guid("1972b656-c68c-4c50-afa7-c76c8959b88d"); }
|
|
471
|
+
static get UserManagementDeletedUserListing() { return new fx_models_1.Guid("a7dfb3df-024c-49ac-a5f0-6dfd46c2ab65"); }
|
|
465
472
|
static get UserManagementUserDetailBlade() { return new fx_models_1.Guid("fb9aa542-fd41-4c5f-8468-aa0ad67d11f7"); }
|
|
466
473
|
static get UserManagementUserAuthenticationBlade() { return new fx_models_1.Guid("2de8ec5f-9d03-4828-b192-8ba37e48b322"); }
|
|
467
474
|
static get UserManagementGroupListingBlade() { return new fx_models_1.Guid("0a208072-d45f-4f49-8d59-ab7b9da9a10d"); }
|
|
475
|
+
static get UserManagementActiveGroupListing() { return new fx_models_1.Guid("f333ebaa-d009-4169-a2ff-868e8b751bf9"); }
|
|
476
|
+
static get UserManagementDeletedGroupListing() { return new fx_models_1.Guid("3620baa9-5501-45fa-955e-79d176a72a51"); }
|
|
468
477
|
static get UserManagementGroupDetailBlade() { return new fx_models_1.Guid("836c198b-2a2c-418f-89a0-cf47ed44092d"); }
|
|
469
478
|
static get UserManagementAuthenticationSettingsBlade() { return new fx_models_1.Guid("a95a8b4a-7e94-4190-9240-87b361950843"); }
|
|
470
479
|
static get UserManagementDynamicGroupListingBlade() { return new fx_models_1.Guid("9c3a9218-af53-4e48-b95b-a122eb43db64"); }
|
|
471
480
|
static get UserManagementDynamicGroupDetailBlade() { return new fx_models_1.Guid("f43ef789-418d-4f56-bd27-88420f3d9823"); }
|
|
472
481
|
static get UserManagementUserPropertyListingBlade() { return new fx_models_1.Guid("77fa3438-c920-4b32-bddc-1b8361e530c2"); }
|
|
473
482
|
static get UserManagementUserPropertyDetailBlade() { return new fx_models_1.Guid("3967363b-80cd-4b12-900f-7a9c7975bf6a"); }
|
|
483
|
+
static get UserManagementUserDetailBladeAuthenticationTab() { return new fx_models_1.Guid("95A66C49-40C7-442C-B815-359C5D299365"); }
|
|
484
|
+
static get UserManagementUserDetailBladePropertiesTab() { return new fx_models_1.Guid("9C7C9267-6BAE-4157-A588-98EECB88663D"); }
|
|
485
|
+
static get BusinessProfileAuthenticationBlade() { return new fx_models_1.Guid("4C9410C5-86FF-49A6-A493-F8A35BB3F990"); }
|
|
474
486
|
static get SetupWizardViewCore() { return new fx_models_1.Guid("758d200f-91f3-4446-8662-07592f89eeba"); }
|
|
475
487
|
static get SetupWizardGeneralStep() { return new fx_models_1.Guid("c5f83b2f-a21f-4210-b4f4-13ffda4ac129"); }
|
|
476
488
|
static get SetupWizardBrandingStep() { return new fx_models_1.Guid("084f1e3e-f0f5-4f2b-a75d-67f629308bf8"); }
|
|
@@ -522,6 +534,7 @@ class WebComponentManifests {
|
|
|
522
534
|
static get UserInformationBlock() { return new fx_models_1.Guid("29f1772f-545e-4017-b9fa-d356c8192b66"); }
|
|
523
535
|
static get HttpCodeLayoutTenantJourney() { return new fx_models_1.Guid("a2b3a1be-68a8-49c2-8d60-5069174de7be"); }
|
|
524
536
|
static get HttpCodeLayoutBusinessProfileJourney() { return new fx_models_1.Guid("9b3a0a46-6267-48f3-b711-68bd16f62a66"); }
|
|
537
|
+
static get LoginScreenBlade() { return new fx_models_1.Guid("ecdcbe77-649d-423b-9f45-a2b3a4369a83"); }
|
|
525
538
|
}
|
|
526
539
|
exports.WebComponentManifests = WebComponentManifests;
|
|
527
540
|
class WebComponentElements {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GuidValue, PropertyDefinition, PropertyDefinitionId } from "@omnia/fx-models";
|
|
2
|
+
import { AnalyticsPropertyDataSourceBase } from "./AnalyticsDataSourcePropertyProvider";
|
|
3
|
+
import { AnalyticsDataSourcePropertyDefinitionHandler } from "./AnalyticsDataSourcePropertyDefinitionHandler";
|
|
4
|
+
import { AnalyticsDataSourceProperty } from "./AnalyticsDataSourceProperty";
|
|
5
|
+
export type AnalyticsPropertyDataSourceId = GuidValue;
|
|
6
|
+
export interface IAnalyticsPropertyDataSourceRegistrationApi extends IRegisteredAnalyticsPropertyDataSourceApi {
|
|
7
|
+
/**
|
|
8
|
+
* Register a property data source
|
|
9
|
+
* */
|
|
10
|
+
registerAnalyticsDataSource<TDataSourceProperty extends AnalyticsDataSourceProperty>(registration: new () => AnalyticsPropertyDataSourceBase<TDataSourceProperty>): void;
|
|
11
|
+
/**
|
|
12
|
+
* Register a property handler for the specific datasource, such a handler looks at the TDataSourceProperty and checks if this should be converted to the property defintion this handler is created/registered to handle
|
|
13
|
+
* */
|
|
14
|
+
registerAnalyticsDataSourcePropertyDefintionHandler<TDataSourceProperty extends AnalyticsDataSourceProperty, TPropertyDefinition extends PropertyDefinition<any, any, any>>(dataSource: new () => AnalyticsPropertyDataSourceBase<TDataSourceProperty>, propertyDefinitionHandlerCtor: new () => AnalyticsDataSourcePropertyDefinitionHandler<TPropertyDefinition, TDataSourceProperty, any>): any;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* We work on registered datasources without any care about implementing type, i.e. none generic for getting
|
|
18
|
+
* */
|
|
19
|
+
export interface IRegisteredAnalyticsPropertyDataSourceApi {
|
|
20
|
+
getDataSources(): Promise<(new () => AnalyticsPropertyDataSourceBase<AnalyticsDataSourceProperty>)[]>;
|
|
21
|
+
getDataSource(dataSourceId: AnalyticsPropertyDataSourceId): Promise<new () => AnalyticsPropertyDataSourceBase<AnalyticsDataSourceProperty>>;
|
|
22
|
+
getDataSourceDefinitionHandlers(dataSourceId: AnalyticsPropertyDataSourceId): Promise<Array<{
|
|
23
|
+
propertyDefintionId: PropertyDefinitionId;
|
|
24
|
+
handlerCtor: new () => AnalyticsDataSourcePropertyDefinitionHandler<PropertyDefinition<any, any, any>, AnalyticsDataSourceProperty, any>;
|
|
25
|
+
}>>;
|
|
26
|
+
}
|
|
27
|
+
export interface IAnalyticsPropertyDataSourceProvider {
|
|
28
|
+
}
|
|
29
|
+
export declare class AnalyticsPropertyDataSourceProviderRegistration {
|
|
30
|
+
typeId: AnalyticsPropertyDataSourceId;
|
|
31
|
+
provider: new () => IAnalyticsPropertyDataSourceProvider;
|
|
32
|
+
constructor(typeId: AnalyticsPropertyDataSourceId, provider: new () => IAnalyticsPropertyDataSourceProvider);
|
|
33
|
+
}
|
|
34
|
+
export interface IAnalyticsPropertyDataSourceProviderApi {
|
|
35
|
+
register(registration: AnalyticsPropertyDataSourceProviderRegistration): void;
|
|
36
|
+
getProvider(typeId: AnalyticsPropertyDataSourceId): Promise<new () => IAnalyticsPropertyDataSourceProvider>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnalyticsPropertyDataSourceProviderRegistration = void 0;
|
|
4
|
+
class AnalyticsPropertyDataSourceProviderRegistration {
|
|
5
|
+
constructor(typeId, provider) {
|
|
6
|
+
this.typeId = typeId;
|
|
7
|
+
this.provider = provider;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.AnalyticsPropertyDataSourceProviderRegistration = AnalyticsPropertyDataSourceProviderRegistration;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GuidValue, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { AnalyticsPropertyDataSourceId } from "./AnalyticsDataSource";
|
|
3
|
+
export declare abstract class AnalyticsDataSourceProperty {
|
|
4
|
+
readonly dataSourceId: AnalyticsPropertyDataSourceId;
|
|
5
|
+
abstract isEqual: (property: AnalyticsDataSourceProperty) => boolean;
|
|
6
|
+
constructor(dataSourceId: AnalyticsPropertyDataSourceId);
|
|
7
|
+
}
|
|
8
|
+
export declare class AnalyticsDataSourcePropertyCategory {
|
|
9
|
+
id: GuidValue;
|
|
10
|
+
title: MultilingualString;
|
|
11
|
+
order: number;
|
|
12
|
+
builtIn: boolean;
|
|
13
|
+
constructor(id: GuidValue, title: MultilingualString, order: number, builtIn: boolean);
|
|
14
|
+
}
|
|
15
|
+
export declare class AnalyticsDataSourcePropertyDisplayInformation {
|
|
16
|
+
title: string;
|
|
17
|
+
category?: AnalyticsDataSourcePropertyCategory;
|
|
18
|
+
constructor(title: string, category?: AnalyticsDataSourcePropertyCategory);
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnalyticsDataSourcePropertyDisplayInformation = exports.AnalyticsDataSourcePropertyCategory = exports.AnalyticsDataSourceProperty = void 0;
|
|
4
|
+
class AnalyticsDataSourceProperty {
|
|
5
|
+
constructor(dataSourceId) {
|
|
6
|
+
this.dataSourceId = dataSourceId;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.AnalyticsDataSourceProperty = AnalyticsDataSourceProperty;
|
|
10
|
+
class AnalyticsDataSourcePropertyCategory {
|
|
11
|
+
constructor(id, title, order, builtIn) {
|
|
12
|
+
this.id = id;
|
|
13
|
+
this.title = title;
|
|
14
|
+
this.order = order;
|
|
15
|
+
this.builtIn = builtIn;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AnalyticsDataSourcePropertyCategory = AnalyticsDataSourcePropertyCategory;
|
|
19
|
+
class AnalyticsDataSourcePropertyDisplayInformation {
|
|
20
|
+
constructor(title, category) {
|
|
21
|
+
this.title = title;
|
|
22
|
+
this.category = category;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.AnalyticsDataSourcePropertyDisplayInformation = AnalyticsDataSourcePropertyDisplayInformation;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GuidValue, PropertyConfiguration, PropertyDefinition, PropertyValueType, PropertyDefinitionId } from "@omnia/fx-models";
|
|
2
|
+
import { AnalyticsDataSourceProperty } from "./AnalyticsDataSourceProperty";
|
|
3
|
+
export type AnalyticsDataSourcePropertyDefintionHandlerId = GuidValue;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* A plugin module for handling the different property definitions/values that can be created from the data source properties
|
|
7
|
+
*
|
|
8
|
+
* */
|
|
9
|
+
export declare abstract class AnalyticsDataSourcePropertyDefinitionHandler<TPropertyDefinition extends PropertyDefinition<any, any, any>, TDataSourceProperty extends AnalyticsDataSourceProperty, DataSourceReadDataType> {
|
|
10
|
+
/**
|
|
11
|
+
* A unique constant id for this converter
|
|
12
|
+
* */
|
|
13
|
+
abstract readonly Id: AnalyticsDataSourcePropertyDefintionHandlerId;
|
|
14
|
+
/**
|
|
15
|
+
* Handler title, will be used if more than one handler exists for any given propertyDefinition
|
|
16
|
+
* E.g "Ticks to DateTimeProperty", and one other handler nemed "String to DateTimeProperty", i.e "TDataSourceData To TPropertyDefinition" or so.
|
|
17
|
+
* */
|
|
18
|
+
abstract readonly title: string;
|
|
19
|
+
/**
|
|
20
|
+
* The property defintion this handler is intended to handle
|
|
21
|
+
* */
|
|
22
|
+
readonly propertyDefintionId: PropertyDefinitionId;
|
|
23
|
+
/**
|
|
24
|
+
* The ctor for the definition which this handler is defined for, only used to link with definitionId in a typesafe way
|
|
25
|
+
* */
|
|
26
|
+
constructor(propertyDefinitionCtor: new () => TPropertyDefinition);
|
|
27
|
+
propertyConfiguration?: PropertyConfiguration<TPropertyDefinition>;
|
|
28
|
+
/**
|
|
29
|
+
* This method should convert from the data source value to PropertyValue matching the TPropertyDefinition
|
|
30
|
+
* */
|
|
31
|
+
abstract propertyValueCreator(dataSourceProperty: TDataSourceProperty, valueFromSource: DataSourceReadDataType, propertyconfiguration?: PropertyConfiguration<PropertyDefinition<any, any, any>>): Promise<PropertyValueType<TPropertyDefinition>>;
|
|
32
|
+
/**
|
|
33
|
+
* This method should convert from PropertyValue matching the TPropertyDefinition to the string
|
|
34
|
+
* */
|
|
35
|
+
abstract propertyToStringCreator(dataSourceProperty: TDataSourceProperty, propertyValue: PropertyValueType<TPropertyDefinition>): Promise<string>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnalyticsDataSourcePropertyDefinitionHandler = void 0;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* A plugin module for handling the different property definitions/values that can be created from the data source properties
|
|
7
|
+
*
|
|
8
|
+
* */
|
|
9
|
+
class AnalyticsDataSourcePropertyDefinitionHandler {
|
|
10
|
+
/**
|
|
11
|
+
* The ctor for the definition which this handler is defined for, only used to link with definitionId in a typesafe way
|
|
12
|
+
* */
|
|
13
|
+
constructor(propertyDefinitionCtor) {
|
|
14
|
+
this.propertyConfiguration = null;
|
|
15
|
+
this.propertyDefintionId = new propertyDefinitionCtor().id;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AnalyticsDataSourcePropertyDefinitionHandler = AnalyticsDataSourcePropertyDefinitionHandler;
|
package/internal-do-not-import-from-here/models/analytics/AnalyticsDataSourcePropertyProvider.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PropertyConfiguration, PropertyDefinitionId, PropertyDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { AnalyticsPropertyDataSourceId } from "./AnalyticsDataSource";
|
|
3
|
+
import { AnalyticsDataSourceProperty, AnalyticsDataSourcePropertyDisplayInformation } from "./AnalyticsDataSourceProperty";
|
|
4
|
+
export interface IAnalyticsDataSourcePropertyCreator {
|
|
5
|
+
createPropertyFromString(propertyName: string): Promise<AnalyticsDataSourceProperty>;
|
|
6
|
+
}
|
|
7
|
+
export declare abstract class AnalyticsPropertyDataSourceBase<TDataSourceProperty extends AnalyticsDataSourceProperty> {
|
|
8
|
+
abstract readonly title: string;
|
|
9
|
+
abstract readonly id: AnalyticsPropertyDataSourceId;
|
|
10
|
+
/**
|
|
11
|
+
* Get the current display information for a data source property, this is resolved from a data source property, as this information migth relay on system/source data that change over time
|
|
12
|
+
* */
|
|
13
|
+
abstract getPropertyDisplayInformation(dataSourceProperties: Array<TDataSourceProperty>): Promise<Array<{
|
|
14
|
+
property: TDataSourceProperty;
|
|
15
|
+
displayInformation: AnalyticsDataSourcePropertyDisplayInformation;
|
|
16
|
+
}>>;
|
|
17
|
+
/**
|
|
18
|
+
* Get all the properties supported by this data source, this is the @type {TDataSourceProperty} is extended to represent the information within a data source to identify a data source property
|
|
19
|
+
* */
|
|
20
|
+
abstract getProperties(): Promise<Array<TDataSourceProperty>>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the property configuration that should be used when representing this property, if the propertyconfiguration is not know by the source return null
|
|
23
|
+
* */
|
|
24
|
+
abstract getPropertyConfiguration(property: TDataSourceProperty): Promise<PropertyConfiguration<PropertyDefinition<any, any, any>>>;
|
|
25
|
+
/**
|
|
26
|
+
* Returns the property definition id that should be used for representing this property, if the propertydefinition is not know by the source return undefined, selection among source property creators can be made explicitly
|
|
27
|
+
* */
|
|
28
|
+
abstract getPropertyDefinition(property: TDataSourceProperty): Promise<PropertyDefinitionId>;
|
|
29
|
+
/**
|
|
30
|
+
* Get the value for datasource properties, the returned data type TDataSourceData must have a matching DataSourcePropertyDefinitionHandler<any,any,TDataSourceData>
|
|
31
|
+
* I.e. so a handler exists that can create property values from the source value type
|
|
32
|
+
* */
|
|
33
|
+
abstract getPropertyValues(properties: Array<TDataSourceProperty>): Promise<Array<{
|
|
34
|
+
valueFromSource: any;
|
|
35
|
+
dataSourceProperty: TDataSourceProperty;
|
|
36
|
+
}>>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AnalyticsDataSourcePropertyDefinitionHandler"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AnalyticsDataSourcePropertyProvider"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AnalyticsDataSource"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./AnalyticsDataSourceProperty"), exports);
|
|
@@ -72,4 +72,5 @@ tslib_1.__exportStar(require("./searchtoken"), exports);
|
|
|
72
72
|
tslib_1.__exportStar(require("./texttranslator"), exports);
|
|
73
73
|
tslib_1.__exportStar(require("./qrcode"), exports);
|
|
74
74
|
tslib_1.__exportStar(require("./statuscodelayout"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./analytics"), exports);
|
|
75
76
|
tslib_1.__exportStar(require("./DallESettingsPrompts"), exports);
|