@omnia/workplace 8.0.8-dev → 8.0.9-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 +5 -1
- 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 +81 -74
- package/internal-do-not-import-from-here/models/Constants.js +95 -88
- package/internal-do-not-import-from-here/models/EnterpriseGlossary.d.ts +4 -4
- package/internal-do-not-import-from-here/models/GovernanceDashboards.d.ts +10 -10
- package/internal-do-not-import-from-here/models/GovernanceDashboards.js +1 -1
- package/internal-do-not-import-from-here/models/ISearchTemplate.d.ts +3 -3
- package/internal-do-not-import-from-here/models/ManifestIds.d.ts +575 -553
- package/internal-do-not-import-from-here/models/ManifestIds.js +575 -553
- package/internal-do-not-import-from-here/models/NotificationPanel.d.ts +7 -7
- package/internal-do-not-import-from-here/models/NotificationPanelMsg.d.ts +3 -3
- package/internal-do-not-import-from-here/models/RegisterActionMenuItemMsg.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Search.d.ts +6 -6
- package/internal-do-not-import-from-here/models/SearchCategory.d.ts +5 -5
- package/internal-do-not-import-from-here/models/SearchProvider.d.ts +4 -4
- package/internal-do-not-import-from-here/models/Secrets.d.ts +3 -3
- package/internal-do-not-import-from-here/models/SharedLink.d.ts +2 -2
- package/internal-do-not-import-from-here/models/TaxonomyNavigation.d.ts +2 -2
- package/internal-do-not-import-from-here/models/Workspace.d.ts +4 -4
- package/internal-do-not-import-from-here/models/Workspace.js +4 -4
- package/internal-do-not-import-from-here/models/analytics/matomosite.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsInfo.d.ts +2 -2
- package/internal-do-not-import-from-here/models/apps/MSTeamsProperties.d.ts +3 -3
- package/internal-do-not-import-from-here/models/apps/TeamCollaborationAppTemplateProperties.d.ts +4 -4
- package/internal-do-not-import-from-here/models/apps/TeamworkAppLayoutDefinition.js +1 -1
- package/internal-do-not-import-from-here/models/components/PostsFeedBlock.d.ts +4 -4
- package/internal-do-not-import-from-here/models/forms/Form.d.ts +18 -14
- package/internal-do-not-import-from-here/models/forms/Form.js +8 -2
- package/internal-do-not-import-from-here/models/forms/FormLayout.d.ts +3 -3
- package/internal-do-not-import-from-here/models/forms/FormQuery.d.ts +3 -3
- package/internal-do-not-import-from-here/models/forms/FormTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/models/forms/FormType.d.ts +3 -3
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockSettings.d.ts +18 -9
- package/internal-do-not-import-from-here/models/forms/components/FormRollupBlockViewSettings.d.ts +4 -4
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.d.ts +3 -2
- package/internal-do-not-import-from-here/models/forms/components/FormRollupConstant.js +3 -2
- package/internal-do-not-import-from-here/models/forms/components/FormRollupStyle.d.ts +2 -21
- package/internal-do-not-import-from-here/models/governancedashboard/TeamworkGovernanceDashboard.d.ts +2 -2
- package/internal-do-not-import-from-here/models/myteamcollaboration/TeamCollabrationApp.d.ts +2 -2
- package/internal-do-not-import-from-here/models/promotedsearchresults/PromotedSearchResult.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedback.d.ts +5 -5
- package/internal-do-not-import-from-here/models/searchfeedbacks/SearchFeedbackQuery.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.d.ts +14 -14
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatistics.js +5 -5
- package/internal-do-not-import-from-here/models/searchstatistics/SearchStatisticsMetricFilter.d.ts +2 -2
- package/internal-do-not-import-from-here/models/searchtoken/SearchTokenProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardProviderApi.d.ts +2 -2
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardSettings.d.ts +6 -6
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.d.ts +3 -3
- package/internal-do-not-import-from-here/models/setupwizard/SetupWizardTemplateProvider.js +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequest.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestApi.d.ts +4 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestDetail.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRecurrence.d.ts +4 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +7 -7
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResourceProvider.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResponse.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +5 -5
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupViewSettings.d.ts +4 -4
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestType.d.ts +5 -5
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffEmailRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestCreateModel.d.ts +2 -2
- package/internal-do-not-import-from-here/models/signoffrequest/request/SignOffRequestTypeCreateModel.d.ts +3 -3
- package/internal-do-not-import-from-here/models/teamcollaborationnavigation/TeamCollaborationNavigationSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupBlock.d.ts +7 -7
- package/internal-do-not-import-from-here/models/teamcollaborationrollup/TeamCollaborationRollupView.d.ts +2 -2
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupSettings.d.ts +3 -3
- package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupViewRegistration.d.ts +4 -4
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +7 -7
- package/internal-do-not-import-from-here/services/AppAuthenticationOptionsService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/PromotedSearchResultService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/SearchFeedbackService.d.ts +2 -2
- package/internal-do-not-import-from-here/services/SignOffRequestService.d.ts +7 -7
- package/internal-do-not-import-from-here/services/form/FormService.d.ts +4 -4
- package/internal-do-not-import-from-here/services/form/FormTemplateService.d.ts +3 -3
- package/internal-do-not-import-from-here/services/form/FormTypeService.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/AnalyticsFilterStore.d.ts +40 -0
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +168 -6
- package/internal-do-not-import-from-here/stores/CurrentFormStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/GovernanceDashboardStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/NotificationPanelStore.d.ts +2 -2
- package/internal-do-not-import-from-here/stores/PromotedSearchResultStore.d.ts +5 -6
- package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +5 -5
- package/internal-do-not-import-from-here/stores/form/FormStore.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/form/FormTemplateStore.d.ts +6 -6
- package/internal-do-not-import-from-here/stores/form/FormTypeStore.d.ts +6 -6
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/ux/AppRendererBootstrapper.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/MediaPickerProviderStorageWorkplaceContext.d.ts +30 -30
- package/internal-do-not-import-from-here/wctypings.d.ts +81 -5
- package/internal-do-not-import-from-here/webcomponents/IAppAuthenticationOptionsComponent.d.ts +2 -2
- package/package.json +1 -1
- package/task.js +3 -2
- package/task.ts +3 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MultilingualString } from "@omnia/fx-models";
|
1
|
+
import { MultilingualString, guid } from "@omnia/fx-models";
|
2
2
|
import { TeamCollaborationRollupBlockSettings } from "../teamcollaborationrollup";
|
3
3
|
import { CreateTeamworkBlockSettings } from "..";
|
4
4
|
import { DialogPositions } from "@omnia/fx/ux";
|
@@ -15,7 +15,7 @@ export interface TeamCollaborationNavigationSettings {
|
|
15
15
|
linkCreateNewSite: string;
|
16
16
|
}
|
17
17
|
export interface TeamworkNavigationTab {
|
18
|
-
id:
|
18
|
+
id: guid;
|
19
19
|
title: MultilingualString;
|
20
20
|
rollupSettings: TeamCollaborationRollupBlockSettings;
|
21
21
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Spacing,
|
1
|
+
import { Spacing, guid, RollupFilter, RollupSetting, PersonPropFilterValue, BooleanPropFilterValue, TextPropFilterValue, TaxonomyPropFilterValue, TexSearchestPropFilterValue, MultilingualString, MediaPickerImage, FilterEngineSettings, RollupMetricSettings, DatePeriodPropFilterValue } from "@omnia/fx-models";
|
2
2
|
import { TeamCollaborationRollupScopeTypes } from ".";
|
3
3
|
import { AppEnums } from "../apps";
|
4
4
|
export declare const TeamCollaborationConstants: {
|
@@ -9,7 +9,7 @@ export declare const TeamCollaborationConstants: {
|
|
9
9
|
readonly appInstanceDescription: string;
|
10
10
|
};
|
11
11
|
export interface TeamCollaborationRollupResultItem {
|
12
|
-
id:
|
12
|
+
id: guid;
|
13
13
|
properties: {
|
14
14
|
[key: string]: any;
|
15
15
|
};
|
@@ -21,12 +21,12 @@ export interface TeamCollaborationRollupResultItem {
|
|
21
21
|
templateIcon?: any;
|
22
22
|
image?: MediaPickerImage;
|
23
23
|
defaultResourceUrlType?: AppEnums.ResourceUrlType;
|
24
|
-
businessProfileId?:
|
24
|
+
businessProfileId?: guid;
|
25
25
|
}
|
26
26
|
export interface MSTeamResponseResult {
|
27
27
|
createdDateTime?: string;
|
28
28
|
isArchived?: boolean;
|
29
|
-
id:
|
29
|
+
id: guid;
|
30
30
|
webUrl: string;
|
31
31
|
displayName: string;
|
32
32
|
description?: string;
|
@@ -38,7 +38,7 @@ export interface TeamCollaborationResult {
|
|
38
38
|
md5Hash?: string;
|
39
39
|
}
|
40
40
|
export interface TeamCollaborationRollupRegistrationView {
|
41
|
-
id:
|
41
|
+
id: guid;
|
42
42
|
title: string;
|
43
43
|
viewElement: string;
|
44
44
|
settingsElement: string;
|
@@ -81,7 +81,7 @@ export interface TeamCollaborationRollupQuery extends RollupSetting {
|
|
81
81
|
excludePersonalSite?: boolean;
|
82
82
|
enableWildcardSearch?: boolean;
|
83
83
|
currentBusinessProfile?: boolean;
|
84
|
-
trimByRoleId?:
|
84
|
+
trimByRoleId?: guid;
|
85
85
|
searchProperties?: Array<string>;
|
86
86
|
showMetric?: boolean;
|
87
87
|
}
|
@@ -102,7 +102,7 @@ export interface TeamCollaborationRollupBlockSettings extends TeamCollaborationR
|
|
102
102
|
spacing?: Spacing;
|
103
103
|
showFollowStatus?: boolean;
|
104
104
|
currentBusinessProfile?: boolean;
|
105
|
-
selectedBusinessProfiles?: Array<
|
105
|
+
selectedBusinessProfiles?: Array<guid>;
|
106
106
|
excludePersonalSite?: boolean;
|
107
107
|
dialogMode?: boolean;
|
108
108
|
tabMode?: boolean;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, EnterprisePropertyDefinition } from "@omnia/fx-models";
|
2
2
|
import { TeamCollaborationRollupViewSettings, TeamCollaborationRollupResultItem, TeamCollaborationRollupBlockSettings } from "./TeamCollaborationRollupBlock";
|
3
3
|
export interface MyTeamCollaborationDialog {
|
4
4
|
open: boolean;
|
5
5
|
isCreateMode: boolean;
|
6
6
|
}
|
7
7
|
export interface TeamCollaborationRollupViewRegistration {
|
8
|
-
id:
|
8
|
+
id: guid;
|
9
9
|
title: string;
|
10
10
|
viewElement: string;
|
11
11
|
settingsElement: string;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { Spacing, MultilingualString, IBlockSettingsWriter,
|
1
|
+
import { Spacing, MultilingualString, IBlockSettingsWriter, guid } from "@omnia/fx-models";
|
2
2
|
import { TeamNews } from ".";
|
3
3
|
export interface TeamNewsRollupViewSettings {
|
4
4
|
title: MultilingualString;
|
5
5
|
itemLimit: number;
|
6
6
|
dayLimit: number;
|
7
|
-
selectedViewManifestId:
|
7
|
+
selectedViewManifestId: guid;
|
8
8
|
includeLegacyAnnoucement: boolean;
|
9
9
|
filterByFollowedSites: boolean;
|
10
10
|
showNewsImage: boolean;
|
11
11
|
query: string;
|
12
|
-
selectedSettingsViewManifestId?:
|
12
|
+
selectedSettingsViewManifestId?: guid;
|
13
13
|
selectedViewId?: string;
|
14
14
|
orderBy?: string;
|
15
15
|
spacing?: Spacing;
|
package/internal-do-not-import-from-here/models/teamnewsrollup/TeamNewsRollupViewRegistration.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
export interface TeamNewsRollupViewRegistration {
|
3
|
-
id?:
|
3
|
+
id?: guid;
|
4
4
|
title: string;
|
5
|
-
componentManifestId:
|
6
|
-
settingsComponentManifestId?:
|
5
|
+
componentManifestId: guid;
|
6
|
+
settingsComponentManifestId?: guid;
|
7
7
|
viewElement?: string;
|
8
8
|
settingsElement?: string;
|
9
9
|
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, Identity } from "@omnia/fx/models";
|
2
2
|
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite } from "../models/analytics";
|
3
3
|
export declare class AnalyticsStoreService {
|
4
4
|
private httpClient;
|
5
5
|
constructor();
|
6
|
-
getSettings: (businessProfileId?:
|
7
|
-
getToken: (businessProfileId?:
|
8
|
-
getDimensions: (businessProfileId?:
|
9
|
-
getScopesInfo: (businessProfileId?:
|
6
|
+
getSettings: (businessProfileId?: guid) => Promise<AnalyticsSettings>;
|
7
|
+
getToken: (businessProfileId?: guid) => Promise<AnalyticsToken>;
|
8
|
+
getDimensions: (businessProfileId?: guid) => Promise<AnalyticsDimensions>;
|
9
|
+
getScopesInfo: (businessProfileId?: guid) => Promise<AnalyticsScopeInfo[]>;
|
10
10
|
getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
|
11
11
|
addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
|
12
12
|
enableAnalytics: () => Promise<boolean>;
|
13
13
|
disableAnalytics: () => Promise<boolean>;
|
14
|
-
setBusinessProfileReaders: (roleId:
|
15
|
-
setTenantAdmins: (roleId:
|
14
|
+
setBusinessProfileReaders: (roleId: guid, identities: Identity[]) => Promise<void>;
|
15
|
+
setTenantAdmins: (roleId: guid, identities: Identity[]) => Promise<void>;
|
16
16
|
setMappings: (mappings: AnalyticsDimensionMapping[]) => Promise<void>;
|
17
17
|
ensureSitesWithAtLeastViewAccess: () => Promise<MatomoSite[]>;
|
18
18
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { AppAuthenticationOptions } from "../../fx/models";
|
3
3
|
export declare class AppAuthenticationOptionsService {
|
4
4
|
private httpClient;
|
5
5
|
private appService;
|
6
6
|
private featureStore;
|
7
7
|
private readonly baseUrl;
|
8
|
-
update: (appInstanceId:
|
9
|
-
get: (appInstanceId:
|
8
|
+
update: (appInstanceId: guid, options: AppAuthenticationOptions) => Promise<AppAuthenticationOptions>;
|
9
|
+
get: (appInstanceId: guid) => Promise<AppAuthenticationOptions>;
|
10
10
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { PromotedSearchResult, PromotedSearchResultData } from "../../fx/models";
|
3
3
|
export declare class PromotedSearchResultService {
|
4
4
|
private httpClient;
|
5
5
|
private readonly baseUrl;
|
6
|
-
add: (profileId:
|
6
|
+
add: (profileId: guid, data: PromotedSearchResultData) => Promise<PromotedSearchResult>;
|
7
7
|
update: (item: PromotedSearchResult) => Promise<PromotedSearchResult>;
|
8
|
-
getAll: (profileId:
|
8
|
+
getAll: (profileId: guid, filterActiveOnly?: boolean) => Promise<PromotedSearchResult[]>;
|
9
9
|
delete: (item: PromotedSearchResult) => Promise<void>;
|
10
10
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { SearchFeedback, SearchFeedbackData, SearchFeedbackQueryRequest, SearchFeedbackQueryResult } from "../../fx/models";
|
3
3
|
export declare class SearchFeedbackService {
|
4
4
|
private httpClient;
|
5
5
|
private readonly baseUrl;
|
6
|
-
add: (profileId:
|
6
|
+
add: (profileId: guid, data: SearchFeedbackData) => Promise<SearchFeedback>;
|
7
7
|
query: (request: SearchFeedbackQueryRequest) => Promise<SearchFeedbackQueryResult>;
|
8
8
|
delete: (feedback: SearchFeedback) => Promise<void>;
|
9
9
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, Identity, ItemQueryResult } from "@omnia/fx/models";
|
2
2
|
import { ISignOffRequestUpdatableProperties, SignOffRequest, SignOffRequestCreateModel, SignOffRequestQuery, SignOffRequestResourceDetail, SignOffRequestResource, UserSignOffRequests } from "../../fx/models";
|
3
3
|
import { SignOffRequestDetails } from "../../fx/models/signoffrequest/SignOffRequestDetail";
|
4
4
|
export declare class SignOffRequestService {
|
5
5
|
private httpClient;
|
6
6
|
private readonly baseUrl;
|
7
7
|
getRequests: (query: SignOffRequestQuery) => Promise<ItemQueryResult<SignOffRequest>>;
|
8
|
-
getRequestById: (id:
|
9
|
-
getRequestDetails: (id:
|
8
|
+
getRequestById: (id: guid) => Promise<SignOffRequest>;
|
9
|
+
getRequestDetails: (id: guid) => Promise<SignOffRequestDetails>;
|
10
10
|
addRequest: (request: SignOffRequestCreateModel) => Promise<SignOffRequest>;
|
11
11
|
updateRequest: (signOffRequest: SignOffRequest, propertiesToUpdate: ISignOffRequestUpdatableProperties) => Promise<SignOffRequest>;
|
12
|
-
processRequestUsers: (requestId:
|
12
|
+
processRequestUsers: (requestId: guid) => Promise<boolean>;
|
13
13
|
removeRequest: (request: SignOffRequest) => Promise<void>;
|
14
14
|
getUnconfirmedRequestsForCurrentUserAsync: () => Promise<UserSignOffRequests>;
|
15
15
|
confirmResourceRequests: (requestResponses: Array<SignOffRequestResource>) => Promise<void>;
|
@@ -19,13 +19,13 @@ export declare class SignOffRequestService {
|
|
19
19
|
sendCloseEmail: (request: SignOffRequest, resourceDetails: Array<SignOffRequestResourceDetail>) => Promise<void>;
|
20
20
|
sendReopenEmail: (request: SignOffRequest, resourceDetails: Array<SignOffRequestResourceDetail>) => Promise<void>;
|
21
21
|
sendCompletedEmail: (request: SignOffRequest) => void;
|
22
|
-
closeRequest: (signOffRequestId:
|
23
|
-
reopenRequest: (signOffRequestId:
|
22
|
+
closeRequest: (signOffRequestId: guid) => Promise<SignOffRequest>;
|
23
|
+
reopenRequest: (signOffRequestId: guid) => Promise<SignOffRequest>;
|
24
24
|
downloadReport: (request: SignOffRequest, showUserNameInReport: boolean, resourceDetails: Array<SignOffRequestResourceDetail>) => Promise<void>;
|
25
25
|
resolveRequestToUsers: (requestTo: Array<Identity>) => Promise<{
|
26
26
|
[groupId: string]: Identity[];
|
27
27
|
}>;
|
28
|
-
getCurrentRequestToUsers: (requestIds: Array<
|
28
|
+
getCurrentRequestToUsers: (requestIds: Array<guid>) => Promise<{
|
29
29
|
[groupId: string]: Identity[];
|
30
30
|
}>;
|
31
31
|
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { ChoiceQuestion, ChoiceQuestionStatistic, CreateFormRequest, Form, FormListing, FormQuery, FormQueryResult, MultipleChoiceQuestion, QueryFormRequest, Submission } from "../../models";
|
3
3
|
export declare class FormService {
|
4
4
|
private httpClient;
|
5
5
|
private readonly baseUrl;
|
6
|
-
queryForms: (query: QueryFormRequest, profileId?:
|
6
|
+
queryForms: (query: QueryFormRequest, profileId?: guid) => Promise<FormListing[]>;
|
7
7
|
queryFormRollup: (query: FormQuery) => Promise<FormQueryResult>;
|
8
8
|
deleteForm: (id: number) => Promise<any>;
|
9
9
|
loadFormById: (id: number) => Promise<Form>;
|
10
10
|
loadFormForRespondent: (id: number) => Promise<Form>;
|
11
11
|
loadMySubmission: (formId: number) => Promise<Submission[]>;
|
12
12
|
submitForm: (form: Form, saveForLater: boolean, submissionId?: number) => Promise<Submission>;
|
13
|
-
createBusinessProfileForm: (profileId:
|
14
|
-
createAppInstanceForm: (appInstanceId:
|
13
|
+
createBusinessProfileForm: (profileId: guid, request: CreateFormRequest) => Promise<Form>;
|
14
|
+
createAppInstanceForm: (appInstanceId: guid, request: CreateFormRequest) => Promise<Form>;
|
15
15
|
updateForm: (form: Form) => Promise<Form>;
|
16
16
|
getChoiceQuestionStatistic: (form: Form, question: ChoiceQuestion | MultipleChoiceQuestion) => Promise<ChoiceQuestionStatistic>;
|
17
17
|
clearResponse: (formId: number, closeFormAfterward: boolean) => Promise<Form>;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { FormTemplate, FormTemplateRequest } from "../../models";
|
3
3
|
export declare class FormTemplateService {
|
4
4
|
private httpClient;
|
5
5
|
private readonly baseUrl;
|
6
|
-
getFormTemplates: (businessProfileId:
|
7
|
-
createFormTemplate: (profileId:
|
6
|
+
getFormTemplates: (businessProfileId: guid) => Promise<Array<FormTemplate>>;
|
7
|
+
createFormTemplate: (profileId: guid, createRequest: FormTemplateRequest) => Promise<FormTemplate>;
|
8
8
|
updateFormTemplate: (formTemplate: FormTemplate) => Promise<FormTemplate>;
|
9
9
|
removeFormTemplate: (id: number) => Promise<FormTemplate>;
|
10
10
|
isFormTemplateInUse: (formTemplateId: number) => Promise<boolean>;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { FormType, FormTypeRequest } from "../../models";
|
3
3
|
export declare class FormTypeService {
|
4
4
|
private httpClient;
|
5
5
|
private readonly baseUrl;
|
6
|
-
getFormTypes: (businessProfileId:
|
7
|
-
createFormType: (profileId:
|
6
|
+
getFormTypes: (businessProfileId: guid) => Promise<Array<FormType>>;
|
7
|
+
createFormType: (profileId: guid, formType: FormTypeRequest) => Promise<FormType>;
|
8
8
|
updateFormType: (formType: FormType) => Promise<FormType>;
|
9
9
|
removeFormType: (id: number) => Promise<FormType>;
|
10
10
|
isFormTypeInUse: (formTypeId: number) => Promise<boolean>;
|
@@ -9,3 +9,43 @@ export declare class AnalyticsFilterStore extends Store {
|
|
9
9
|
};
|
10
10
|
actions: any;
|
11
11
|
}
|
12
|
+
export declare const useAnalyticsFilterStore: () => {
|
13
|
+
state: {
|
14
|
+
filters: AnalyticsFilterSettings[];
|
15
|
+
};
|
16
|
+
get: {
|
17
|
+
pageFilters: (name: string) => AnalyticsFilterSettings;
|
18
|
+
};
|
19
|
+
events: {
|
20
|
+
onMutatedFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<AnalyticsFilterSettings[]>;
|
21
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
22
|
+
actions: {
|
23
|
+
onDispatching: {
|
24
|
+
setFilter: {
|
25
|
+
subscribe(fn: (filter: AnalyticsFilterSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
26
|
+
};
|
27
|
+
filterUpdated: {
|
28
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
onDispatched: {
|
32
|
+
setFilter: {
|
33
|
+
subscribe(fn: (result: void, filter: AnalyticsFilterSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
|
+
};
|
35
|
+
filterUpdated: {
|
36
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
onFailure: {
|
40
|
+
setFilter: {
|
41
|
+
subscribe(fn: (failureReason: any, filter: AnalyticsFilterSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
42
|
+
};
|
43
|
+
filterUpdated: {
|
44
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
} & {
|
48
|
+
setFilter: (filter: AnalyticsFilterSettings) => Promise<void>;
|
49
|
+
filterUpdated: () => Promise<void>;
|
50
|
+
};
|
51
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
2
2
|
import { OmniaContext } from "@omnia/fx";
|
3
|
-
import {
|
4
|
-
import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
3
|
+
import { guid, Identity } from "@omnia/fx-models";
|
4
|
+
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
5
5
|
import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
|
6
6
|
import { WidgetCategoryInfo } from "../models";
|
7
7
|
export declare class AnalyticsStore extends Store {
|
@@ -23,19 +23,181 @@ export declare class AnalyticsStore extends Store {
|
|
23
23
|
private analyticsUrl;
|
24
24
|
private ensuredLoadSitesWithAtLeastViewAccessPromise;
|
25
25
|
private sitesWithAtLeastViewAccess;
|
26
|
+
private isInstalled;
|
26
27
|
onActivated(): void;
|
27
28
|
onDisposing(): void;
|
28
29
|
/**
|
29
30
|
* Implementation of getters
|
30
31
|
*/
|
31
32
|
getters: {
|
32
|
-
dimensions: (businessProfileId?:
|
33
|
-
settings: (businessProfileId?:
|
34
|
-
scopeInfos: (businessProfileId?:
|
33
|
+
dimensions: (businessProfileId?: guid) => AnalyticsDimensions;
|
34
|
+
settings: (businessProfileId?: guid) => AnalyticsSettings;
|
35
|
+
scopeInfos: (businessProfileId?: guid) => AnalyticsScopeInfo[];
|
35
36
|
widgetCategoryInfo: () => WidgetCategoryInfo[];
|
36
|
-
tokens: (businessProfileId?:
|
37
|
+
tokens: (businessProfileId?: guid) => string;
|
37
38
|
analyticsUrl: () => string;
|
38
39
|
sitesWithAtLeastViewAccess: () => MatomoSite[];
|
40
|
+
isInstalled: () => boolean;
|
39
41
|
};
|
40
42
|
actions: any;
|
41
43
|
}
|
44
|
+
export declare const useAnalyticsStore: () => {
|
45
|
+
state: {
|
46
|
+
dimensions: {
|
47
|
+
string: AnalyticsDimensions;
|
48
|
+
};
|
49
|
+
settings: {
|
50
|
+
string: AnalyticsSettings;
|
51
|
+
};
|
52
|
+
scopeInfos: {
|
53
|
+
string: AnalyticsScopeInfo[];
|
54
|
+
};
|
55
|
+
widgetCategoryInfo: WidgetCategoryInfo[];
|
56
|
+
analyticsUrl: string;
|
57
|
+
sitesWithAtLeastViewAccess: MatomoSite[];
|
58
|
+
isInstalled: boolean;
|
59
|
+
};
|
60
|
+
get: {
|
61
|
+
dimensions: (businessProfileId?: guid) => AnalyticsDimensions;
|
62
|
+
settings: (businessProfileId?: guid) => AnalyticsSettings;
|
63
|
+
scopeInfos: (businessProfileId?: guid) => AnalyticsScopeInfo[];
|
64
|
+
widgetCategoryInfo: () => WidgetCategoryInfo[];
|
65
|
+
analyticsUrl: () => string;
|
66
|
+
sitesWithAtLeastViewAccess: () => MatomoSite[];
|
67
|
+
isInstalled: () => boolean;
|
68
|
+
};
|
69
|
+
events: {
|
70
|
+
onMutatedDimensions: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
71
|
+
string: AnalyticsDimensions;
|
72
|
+
}>;
|
73
|
+
onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
74
|
+
string: AnalyticsSettings;
|
75
|
+
}>;
|
76
|
+
onMutatedScopeInfos: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
77
|
+
string: AnalyticsScopeInfo[];
|
78
|
+
}>;
|
79
|
+
onMutatedWidgetCategoryInfo: import("@omnia/fx").MessageBusExposeOnlySubscription<WidgetCategoryInfo[]>;
|
80
|
+
onMutatedAnalyticsUrl: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
81
|
+
onMutatedSitesWithAtLeastViewAccess: import("@omnia/fx").MessageBusExposeOnlySubscription<MatomoSite[]>;
|
82
|
+
onMutatedIsInstalled: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
83
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
84
|
+
actions: {
|
85
|
+
onDispatching: {
|
86
|
+
ensureSettings: {
|
87
|
+
subscribe(fn: (businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
88
|
+
};
|
89
|
+
ensureDimensions: {
|
90
|
+
subscribe(fn: (businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
91
|
+
};
|
92
|
+
ensureScopesInfo: {
|
93
|
+
subscribe(fn: (businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
94
|
+
};
|
95
|
+
ensureWidgetInfo: {
|
96
|
+
subscribe(fn: (force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
97
|
+
};
|
98
|
+
enableAnalytics: {
|
99
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
100
|
+
};
|
101
|
+
disableAnalytics: {
|
102
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
103
|
+
};
|
104
|
+
addDimension: {
|
105
|
+
subscribe(fn: (name: string, scope: AnalyticsDimensionScopes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
106
|
+
};
|
107
|
+
storeMappings: {
|
108
|
+
subscribe(fn: (mappings: AnalyticsDimensionMapping[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
109
|
+
};
|
110
|
+
setBusinessProfileReaders: {
|
111
|
+
subscribe(fn: (roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
112
|
+
};
|
113
|
+
setTenantAdmins: {
|
114
|
+
subscribe(fn: (roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
115
|
+
};
|
116
|
+
ensureLoadSitesWithAtLeastViewAccess: {
|
117
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
118
|
+
};
|
119
|
+
};
|
120
|
+
onDispatched: {
|
121
|
+
ensureSettings: {
|
122
|
+
subscribe(fn: (result: void, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
123
|
+
};
|
124
|
+
ensureDimensions: {
|
125
|
+
subscribe(fn: (result: void, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
126
|
+
};
|
127
|
+
ensureScopesInfo: {
|
128
|
+
subscribe(fn: (result: void, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
129
|
+
};
|
130
|
+
ensureWidgetInfo: {
|
131
|
+
subscribe(fn: (result: void, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
132
|
+
};
|
133
|
+
enableAnalytics: {
|
134
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
135
|
+
};
|
136
|
+
disableAnalytics: {
|
137
|
+
subscribe(fn: (result: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
138
|
+
};
|
139
|
+
addDimension: {
|
140
|
+
subscribe(fn: (result: void, name: string, scope: AnalyticsDimensionScopes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
141
|
+
};
|
142
|
+
storeMappings: {
|
143
|
+
subscribe(fn: (result: void, mappings: AnalyticsDimensionMapping[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
144
|
+
};
|
145
|
+
setBusinessProfileReaders: {
|
146
|
+
subscribe(fn: (result: void, roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
147
|
+
};
|
148
|
+
setTenantAdmins: {
|
149
|
+
subscribe(fn: (result: void, roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
150
|
+
};
|
151
|
+
ensureLoadSitesWithAtLeastViewAccess: {
|
152
|
+
subscribe(fn: (result: MatomoSite[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
153
|
+
};
|
154
|
+
};
|
155
|
+
onFailure: {
|
156
|
+
ensureSettings: {
|
157
|
+
subscribe(fn: (failureReason: any, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
158
|
+
};
|
159
|
+
ensureDimensions: {
|
160
|
+
subscribe(fn: (failureReason: any, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
161
|
+
};
|
162
|
+
ensureScopesInfo: {
|
163
|
+
subscribe(fn: (failureReason: any, businessProfileId?: guid, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
164
|
+
};
|
165
|
+
ensureWidgetInfo: {
|
166
|
+
subscribe(fn: (failureReason: any, force?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
167
|
+
};
|
168
|
+
enableAnalytics: {
|
169
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
170
|
+
};
|
171
|
+
disableAnalytics: {
|
172
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
173
|
+
};
|
174
|
+
addDimension: {
|
175
|
+
subscribe(fn: (failureReason: any, name: string, scope: AnalyticsDimensionScopes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
176
|
+
};
|
177
|
+
storeMappings: {
|
178
|
+
subscribe(fn: (failureReason: any, mappings: AnalyticsDimensionMapping[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
179
|
+
};
|
180
|
+
setBusinessProfileReaders: {
|
181
|
+
subscribe(fn: (failureReason: any, roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
182
|
+
};
|
183
|
+
setTenantAdmins: {
|
184
|
+
subscribe(fn: (failureReason: any, roleId: guid, identites: Identity[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
185
|
+
};
|
186
|
+
ensureLoadSitesWithAtLeastViewAccess: {
|
187
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
188
|
+
};
|
189
|
+
};
|
190
|
+
} & {
|
191
|
+
ensureSettings(businessProfileId?: guid, force?: boolean): Promise<void>;
|
192
|
+
ensureDimensions(businessProfileId?: guid, force?: boolean): Promise<void>;
|
193
|
+
ensureScopesInfo(businessProfileId?: guid, force?: boolean): Promise<void>;
|
194
|
+
ensureWidgetInfo(force?: boolean): Promise<void>;
|
195
|
+
enableAnalytics(): Promise<void>;
|
196
|
+
disableAnalytics(): Promise<any>;
|
197
|
+
addDimension(name: string, scope: AnalyticsDimensionScopes): Promise<void>;
|
198
|
+
storeMappings(mappings: AnalyticsDimensionMapping[]): Promise<void>;
|
199
|
+
setBusinessProfileReaders(roleId: guid, identites: Identity[]): Promise<void>;
|
200
|
+
setTenantAdmins(roleId: guid, identites: Identity[]): Promise<void>;
|
201
|
+
ensureLoadSitesWithAtLeastViewAccess(): Promise<MatomoSite[]>;
|
202
|
+
};
|
203
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Block,
|
1
|
+
import { Block, guid, IBlockInstance } from "@omnia/fx/models";
|
2
2
|
import { ICurrentFormStore, Form, Question, FormRendererBlockSettings } from "../../fx/models";
|
3
3
|
export declare class CurrentFormStore implements ICurrentFormStore {
|
4
4
|
private _vm;
|
@@ -12,7 +12,7 @@ export declare class CurrentFormStore implements ICurrentFormStore {
|
|
12
12
|
constructor(form: Form, lockSubmission?: boolean, latestSubmissionAnswers?: Question[], formSettings?: FormRendererBlockSettings);
|
13
13
|
destroy(): void;
|
14
14
|
toggleShowReponseFlag(): void;
|
15
|
-
removeCheckAnswerFlag(questionId:
|
15
|
+
removeCheckAnswerFlag(questionId: guid): void;
|
16
16
|
initCheckAnswerFlag(): void;
|
17
17
|
isLockSubmission(): boolean;
|
18
18
|
isAnswerChanged(): boolean;
|
@@ -22,7 +22,7 @@ export declare class CurrentFormStore implements ICurrentFormStore {
|
|
22
22
|
setLatestSubmissionAnswers(latestSubmissionsAnswers: Question[]): void;
|
23
23
|
getShowResponseFlag(): boolean;
|
24
24
|
getLatestSubmissionAnswers(): Question[];
|
25
|
-
getCheckAnswerFlag(questionId:
|
25
|
+
getCheckAnswerFlag(questionId: guid): boolean;
|
26
26
|
getForm(): Form;
|
27
27
|
getFormSettings(): FormRendererBlockSettings;
|
28
28
|
cloneQuestion(sourceBlock: IBlockInstance | Block, targetBlock: IBlockInstance | Block): Question;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Store, useLocalizationStore } from "@omnia/fx/stores";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
import { DashboardScope, DashboardMetric, DashboardFilter, DashboardScopeMessage } from "../../fx/models";
|
4
4
|
export declare class GovernanceDashboardStore extends Store {
|
5
5
|
localizationStore: ReturnType<typeof useLocalizationStore>;
|
@@ -15,8 +15,8 @@ export declare class GovernanceDashboardStore extends Store {
|
|
15
15
|
getScopes: () => {
|
16
16
|
[scopeId: string]: DashboardScope;
|
17
17
|
};
|
18
|
-
getMetricsByScopeId: (scopeId:
|
19
|
-
getFilterByScopeId: (scopeId:
|
18
|
+
getMetricsByScopeId: (scopeId: guid) => DashboardMetric[];
|
19
|
+
getFilterByScopeId: (scopeId: guid) => DashboardFilter[];
|
20
20
|
};
|
21
21
|
registerDashboardFilter: (filter: DashboardFilter) => void;
|
22
22
|
registerDashboardScope: (scope: DashboardScopeMessage) => void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models";
|
3
3
|
import { NotificationPanelHistoryEntry, NotificationPanelBlockSettings } from "../models";
|
4
4
|
import { NotificationPanelHistoryService } from "../services";
|
5
5
|
export declare class NotificationPanelStore extends Store {
|
@@ -26,7 +26,7 @@ export declare class NotificationPanelStore extends Store {
|
|
26
26
|
removeHistoryEntries: import("@omnia/fx/stores").StoreMutation<(objectIds: Array<string>) => void, (objectIds: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
27
27
|
};
|
28
28
|
actions: {
|
29
|
-
getComponentsSettingsByManifestId: import("@omnia/fx/stores").StoreAction<unknown, (npBlockSettings: NotificationPanelBlockSettings[], componentManifestId:
|
29
|
+
getComponentsSettingsByManifestId: import("@omnia/fx/stores").StoreAction<unknown, (npBlockSettings: NotificationPanelBlockSettings[], componentManifestId: guid, fallbackComponentElementName?: string) => void, (result: unknown, npBlockSettings: NotificationPanelBlockSettings[], componentManifestId: guid, fallbackComponentElementName?: string) => void, (failureReason: any, npBlockSettings: NotificationPanelBlockSettings[], componentManifestId: guid, fallbackComponentElementName?: string) => void, (npBlockSettings: NotificationPanelBlockSettings[], componentManifestId: guid, fallbackComponentElementName?: string) => any>;
|
30
30
|
/**
|
31
31
|
* Object ids values must be lowercase
|
32
32
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
import { Store } from "@omnia/fx/stores";
|
3
3
|
import { PromotedSearchResult, PromotedSearchResultData } from "../models";
|
4
4
|
export declare class PromotedSearchResultStore extends Store {
|
@@ -7,20 +7,19 @@ export declare class PromotedSearchResultStore extends Store {
|
|
7
7
|
private userTargetingStore;
|
8
8
|
private multilingualStore;
|
9
9
|
getters: {
|
10
|
-
all: (profileId:
|
11
|
-
search: (text: string, profileId:
|
10
|
+
all: (profileId: guid) => PromotedSearchResult[];
|
11
|
+
search: (text: string, profileId: guid) => PromotedSearchResult[];
|
12
12
|
};
|
13
13
|
mutations: {
|
14
14
|
addOrUpdate: import("@omnia/fx/stores").StoreMutation<(...items: PromotedSearchResult[]) => void, (...args: PromotedSearchResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
15
15
|
remove: import("@omnia/fx/stores").StoreMutation<(item: PromotedSearchResult) => void, (item: PromotedSearchResult) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
16
16
|
};
|
17
17
|
actions: {
|
18
|
-
ensureLoad: import("@omnia/fx/stores").StoreAction<unknown, (profileId:
|
19
|
-
add: import("@omnia/fx/stores").StoreAction<unknown, (profileId:
|
18
|
+
ensureLoad: import("@omnia/fx/stores").StoreAction<unknown, (profileId: guid, filterOnlyActive?: boolean) => void, (result: void, profileId: guid, filterOnlyActive?: boolean) => void, (failureReason: any, profileId: guid, filterOnlyActive?: boolean) => void, (profileId: guid, filterOnlyActive?: boolean) => Promise<void>>;
|
19
|
+
add: import("@omnia/fx/stores").StoreAction<unknown, (profileId: guid, data: PromotedSearchResultData) => void, (result: PromotedSearchResult, profileId: guid, data: PromotedSearchResultData) => void, (failureReason: any, profileId: guid, data: PromotedSearchResultData) => void, (profileId: guid, data: PromotedSearchResultData) => Promise<PromotedSearchResult>>;
|
20
20
|
update: import("@omnia/fx/stores").StoreAction<unknown, (item: PromotedSearchResult) => void, (result: PromotedSearchResult, item: PromotedSearchResult) => void, (failureReason: any, item: PromotedSearchResult) => void, (item: PromotedSearchResult) => Promise<PromotedSearchResult>>;
|
21
21
|
delete: import("@omnia/fx/stores").StoreAction<unknown, (item: PromotedSearchResult) => void, (result: void, item: PromotedSearchResult) => void, (failureReason: any, item: PromotedSearchResult) => void, (item: PromotedSearchResult) => Promise<void>>;
|
22
22
|
};
|
23
|
-
private getProfileIdStr;
|
24
23
|
private searchByTitle;
|
25
24
|
private filterActiveItems;
|
26
25
|
private checkSearchMatching;
|