@omnia/wcm 8.0.1-vnext → 8.0.2-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/Constants.d.ts +2 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +1 -4
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +17 -16
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +108 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +25 -2
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +59 -1
- package/internal-do-not-import-from-here/core/loc/eventmanagement/localize.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/constants.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/internal/models/OmniaSearch.d.ts +31 -0
- package/internal-do-not-import-from-here/fx/internal/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +27 -0
- package/internal-do-not-import-from-here/fx/internal/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/messaging/InternalWcmTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +45 -2
- package/internal-do-not-import-from-here/fx/models/Constants.js +109 -4
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/Enums.js +3 -1
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +17 -2
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +19 -2
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyRequest.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyResult.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyResult.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.d.ts +37 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.js +19 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportAddRequest.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportAddRequest.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportQuery.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportQuery.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportSummary.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportSummary.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/index.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/index.js +7 -0
- package/internal-do-not-import-from-here/fx/models/apps/AppTemplateProperties.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/apps/WCMAppInstanceContext.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/apps/WCMAppInstanceContext.js +2 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/MediaBlock.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/components/MediaBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/NavigationNodeStyles.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonTemplate.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonTemplate.js +2 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/Participant.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/index.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/models/index.js +5 -1
- package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagecreation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagecreation/index.js +4 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/AnchorNavigationLink.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/AnchorNavigationLink.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/PageNavigationSettings.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/PageNavigationSettings.js +9 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts +10 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +3 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +19 -7
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalRequestInfo.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/pages/OpenAIPropertyMappingValue.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/OpenAIPropertyMappingValue.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/pages/approval/AnyoneApprovalData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/AnyoneApprovalData.js +11 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalData.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalData.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalMetaData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalMetaData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalStep.d.ts +64 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalStep.js +54 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalType.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/{ApprovalData.js → approval/ApprovalType.js} +3 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/LimitedUserApprovalData.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/LimitedUserApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/MultiApprovalData.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/MultiApprovalData.js +11 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/PersonPropertyApprovalData.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/PersonPropertyApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/TermDrivenApprovalData.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/TermDrivenApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/VersionMetaData.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/VersionMetaData.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +11 -1
- package/internal-do-not-import-from-here/fx/models/pages/index.js +11 -1
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageCollectionPropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageCollectionPropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageTypePropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageTypePropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PublishingAppPropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PublishingAppPropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/index.js +6 -0
- package/internal-do-not-import-from-here/fx/models/properties/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/properties/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/index.js +6 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovePageInfo.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovePageInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.d.ts +10 -2
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.js +1 -1
- package/internal-do-not-import-from-here/fx/models/publishingrule/RejectPageInfo.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/SendBackPageInfo.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/SendBackPageInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.js +2 -0
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.d.ts +32 -0
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.js +2 -0
- package/internal-do-not-import-from-here/fx/models/search/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/{urlstate → search}/index.js +1 -1
- package/internal-do-not-import-from-here/fx/models/social/Topics/UserTopic.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/social/Topics/UserTopic.js +2 -1
- package/internal-do-not-import-from-here/fx/services/AiContentPageReportService.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/services/OpenAIPageCreationService.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +7 -6
- package/internal-do-not-import-from-here/fx/services/index.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +32 -0
- package/internal-do-not-import-from-here/fx/{stores → shared}/PageRollupStoreHelper.d.ts +11 -5
- package/internal-do-not-import-from-here/fx/shared/PageSearchHelper.d.ts +23 -0
- package/internal-do-not-import-from-here/fx/shared/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/stores/BreadcrumbStore.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/stores/CurrentNavigationStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +17 -5
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +23 -17
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +0 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/pagearchive/PageArchiveInformationQueryRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/pagearchive/statuses/MigrationPageArchiveInformationStatus.d.ts +6 -0
- package/internal-do-not-import-from-here/models/pagearchive/statuses/MigrationPageArchiveInformationStatus.js +2 -0
- package/internal-do-not-import-from-here/models/pagearchive/statuses/PageArchiveInformationStatus.d.ts +2 -1
- package/internal-do-not-import-from-here/models/pagearchive/statuses/PageArchiveInformationStatus.js +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +25 -3
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.js +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IPageEditorItem.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/pagecollection/PageContextInfo.d.ts +3 -0
- package/internal-do-not-import-from-here/models/security/Security.d.ts +8 -1
- package/internal-do-not-import-from-here/models/security/Security.js +26 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestActionSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestActionSettings.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.js +1 -0
- package/internal-do-not-import-from-here/tooling.output.json +1 -0
- package/package.json +1 -1
- package/task.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalData.d.ts +0 -13
- package/internal-do-not-import-from-here/fx/models/urlstate/UrlState.d.ts +0 -25
- package/internal-do-not-import-from-here/fx/models/urlstate/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/services/UrlStateService.d.ts +0 -9
- package/internal-do-not-import-from-here/fx/stores/UrlHistoryStore.d.ts +0 -23
- package/task.d.ts +0 -1
- package/task.js +0 -34
- /package/internal-do-not-import-from-here/fx/models/{urlstate/UrlState.js → aipagecontentreport/PageAiAnalysisPropertyRequest.js} +0 -0
|
@@ -3,7 +3,7 @@ import { EnterprisePropertyDefinition, FilterEngineSearchBoxSettings, GuidValue,
|
|
|
3
3
|
import { TermStore } from "@omnia/fx-sp";
|
|
4
4
|
import { EnterpriseGlossaryStore, MultilingualStore } from "@omnia/fx/stores";
|
|
5
5
|
import { FilterEngineHandler, IBlockInstanceExtends } from "@omnia/fx/ux";
|
|
6
|
-
import { BatchQueryPages, BatchQueryPagesResult, NormalPageRollupPagingQuery, PageCollectionSelection, PageDialogData, PageDialogPropertiesMapping, PageItemNode, PageQuery, PageRollupBlockProperty, PageRollupBlockSettings, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, QueryFilter, QueryOrder, ReactivePageBlockProperty, VariationId, VariationQuery } from "../../fx/models";
|
|
6
|
+
import { BatchQueryPages, BatchQueryPagesResult, NormalPageRollupPagingQuery, PageCollectionSelection, PageDialogData, PageDialogPropertiesMapping, PageItemNode, PageQuery, PageRollupBlockProperty, PageRollupBlockSettings, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, QueryFilter, QueryOrder, ReactivePageBlockProperty, VariationId, VariationQuery, UIQueryFilter } from "../../fx/models";
|
|
7
7
|
interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
|
|
8
8
|
uiQueryFilters?: QueryFilter[];
|
|
9
9
|
orderBy?: Array<QueryOrder>;
|
|
@@ -19,6 +19,7 @@ interface BatchQueryPagesExtends extends BatchQueryPages {
|
|
|
19
19
|
}
|
|
20
20
|
declare class InternalPageRollupStoreHelper {
|
|
21
21
|
private pageQueryService;
|
|
22
|
+
private pageSearchHelper;
|
|
22
23
|
private pageRollupStore;
|
|
23
24
|
private propertyStore;
|
|
24
25
|
private targetingPropertyStore;
|
|
@@ -35,6 +36,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
35
36
|
enterpriseGlossaryStore: EnterpriseGlossaryStore;
|
|
36
37
|
termStore: TermStore;
|
|
37
38
|
private multilingualStore;
|
|
39
|
+
private profileCardStore;
|
|
38
40
|
private resolvablePageRollupInNP;
|
|
39
41
|
private pageRollupInstancesInNP;
|
|
40
42
|
private pageRollupInstances;
|
|
@@ -46,7 +48,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
46
48
|
private initialDataResolvable;
|
|
47
49
|
private _pageBlockPropertyStore;
|
|
48
50
|
private currentIdentity;
|
|
49
|
-
private
|
|
51
|
+
private currentResolvedIdentity;
|
|
52
|
+
private cancelBatchQueryTokens;
|
|
50
53
|
private executingBatchQuery;
|
|
51
54
|
private hasNewBatchQueryNeedToExecute;
|
|
52
55
|
private pagerollupOutsideWCMLayout;
|
|
@@ -59,9 +62,10 @@ declare class InternalPageRollupStoreHelper {
|
|
|
59
62
|
getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
60
63
|
updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<void>;
|
|
61
64
|
setPagingNumber(pageNumber: number, blockInstance: BlockPageRollupInstanceExtends): Promise<void>;
|
|
62
|
-
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings,
|
|
65
|
+
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilter: UIQueryFilter, orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean, showMetric?: boolean): Promise<void>;
|
|
63
66
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
64
67
|
setLoadedPageRollups(pageRollupQueryId: string, isDestroyed: boolean): void;
|
|
68
|
+
private getPagingQuery;
|
|
65
69
|
private setExecutingQueriesParrallel;
|
|
66
70
|
private setExecutedQueriesParrallel;
|
|
67
71
|
private ensureLatestExecutedQuery;
|
|
@@ -99,6 +103,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
99
103
|
private getInstancesToBatchQuery;
|
|
100
104
|
private ensureInitialData;
|
|
101
105
|
private get pageBlockPropertyStore();
|
|
106
|
+
renewPageBlockPropertyStore(): void;
|
|
102
107
|
private updateVariationQueries;
|
|
103
108
|
private hasVariationQueryFilter;
|
|
104
109
|
private hasVariationValueQueryFilter;
|
|
@@ -137,6 +142,7 @@ export declare class PageRollupStoreHelper {
|
|
|
137
142
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
138
143
|
hasQueryResourceConfiguration(settings: PageRollupBlockSettings): boolean | PageRollupEnums.RollupScopes;
|
|
139
144
|
getPickedPages(settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): PageItemNode[];
|
|
145
|
+
renewPageBlockPropertyStore(): void;
|
|
140
146
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
141
147
|
getResourceId(resourceId: string): string;
|
|
142
148
|
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
@@ -190,7 +196,7 @@ export declare class BatchQueryRegistration {
|
|
|
190
196
|
updateQuery(settings: PageRollupBlockSettings, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, orderBy?: Array<QueryOrder>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
191
197
|
updatePagingQuery(payload: NormalPageRollupPagingQuery): Promise<void>;
|
|
192
198
|
resetPaging(): Promise<void>;
|
|
193
|
-
execute(): void
|
|
199
|
+
execute(): Promise<void>;
|
|
194
200
|
getPagingData(pageNumber: number): Promise<number>;
|
|
195
201
|
getNextPagingData(): Promise<number>;
|
|
196
202
|
private loadCurrentPageData;
|
|
@@ -205,7 +211,7 @@ export declare class BatchQueryRegistration {
|
|
|
205
211
|
*
|
|
206
212
|
*
|
|
207
213
|
* */
|
|
208
|
-
private
|
|
214
|
+
private generateUIQueryFilter;
|
|
209
215
|
private generateQueryablePropertyName;
|
|
210
216
|
}
|
|
211
217
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ChannelManagementStore, PageRollupStore } from "..";
|
|
2
|
+
import { BatchQueryPages, BatchQueryPagesResult } from "../models";
|
|
3
|
+
import { OmniaSearchQueryHelper } from "./OmniaSearchQueryHelper";
|
|
4
|
+
import { EnterprisePropertyStore, FeatureStore, MultilingualStore } from "@omnia/fx/stores";
|
|
5
|
+
export declare class PageSearchHelper {
|
|
6
|
+
private pageQueryService;
|
|
7
|
+
private omniaSearchPageService;
|
|
8
|
+
channelManagementStore: ChannelManagementStore;
|
|
9
|
+
multilingualStore: MultilingualStore;
|
|
10
|
+
enterprisePropertyStore: EnterprisePropertyStore;
|
|
11
|
+
omniaSearchQueryHelper: OmniaSearchQueryHelper;
|
|
12
|
+
featureStore: FeatureStore;
|
|
13
|
+
pageRollupStore: PageRollupStore;
|
|
14
|
+
private static outOfScopeOmniaSearchProperties;
|
|
15
|
+
queryBatchPages(queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void): Promise<BatchQueryPagesResult>;
|
|
16
|
+
private getOutOfScopeOmniaSearchQueries;
|
|
17
|
+
private hasOutOfScopeOmniaSearchPropertiesInFilter;
|
|
18
|
+
private ensureQueryPageRollupInOmniaSearch;
|
|
19
|
+
private trimDuplicateBatchResults;
|
|
20
|
+
private processPagesDetailData;
|
|
21
|
+
private getUniquePageDetails;
|
|
22
|
+
private mapProperties;
|
|
23
|
+
}
|
|
@@ -16,6 +16,7 @@ export declare class BreadcrumbStore extends Store {
|
|
|
16
16
|
*/
|
|
17
17
|
mutations: {
|
|
18
18
|
updateExtendedNodes: import("@omnia/fx/stores").StoreMutation<(nodes: Array<BreadcrumbExtendedNode>) => void, (nodes: BreadcrumbExtendedNode[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
19
|
+
currentNodeCallback: import("@omnia/fx/stores").StoreMutation<(node: NavigationNode<NavigationData>) => void, (node: NavigationNode<NavigationData>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
19
20
|
};
|
|
20
21
|
actions: {};
|
|
21
22
|
private getDefaultRoute;
|
|
@@ -5,10 +5,10 @@ import { MultilingualStore, Store } from "@omnia/fx/stores";
|
|
|
5
5
|
import { PublishingChannel, PageId, PublishingChannelPage } from "../models";
|
|
6
6
|
import { PublishingChannelId, ChannelPage } from "../models";
|
|
7
7
|
import { TopicsActivityStore } from "./TopicsActivityStore";
|
|
8
|
-
interface ChannelIdtoChannelMap {
|
|
8
|
+
export interface ChannelIdtoChannelMap {
|
|
9
9
|
[channelId: number]: PublishingChannel;
|
|
10
10
|
}
|
|
11
|
-
interface ChannelPageGroupMapping {
|
|
11
|
+
export interface ChannelPageGroupMapping {
|
|
12
12
|
[channelId: number]: Array<number>;
|
|
13
13
|
}
|
|
14
14
|
export declare class ChannelManagementStore extends Store {
|
|
@@ -91,4 +91,3 @@ export declare class ChannelManagementStore extends Store {
|
|
|
91
91
|
private mappingPublishingChannels;
|
|
92
92
|
private addOrUpdateUserPermissions;
|
|
93
93
|
}
|
|
94
|
-
export {};
|
|
@@ -28,8 +28,10 @@ export declare class CurrentNavigationStore extends Store {
|
|
|
28
28
|
isSelected: (node: NavigationNode<NavigationData>) => boolean;
|
|
29
29
|
activeNodes: () => Array<NavigationNode<NavigationData>>;
|
|
30
30
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
31
|
+
hasChildrenLoadTriggered: (node: NavigationNode<NavigationData>) => boolean;
|
|
31
32
|
onActiveNodesMutated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<NavigationNode<NavigationData>[]>) => void) => IMessageBusSubscriptionHandler;
|
|
32
33
|
status: () => CurrentNavigationStatus;
|
|
34
|
+
readyPromise: () => Future<void>;
|
|
33
35
|
};
|
|
34
36
|
setter: {};
|
|
35
37
|
/**
|
|
@@ -25,6 +25,7 @@ export declare class NavigationStore extends Store {
|
|
|
25
25
|
getByPageId: (pageId: PageId) => NavigationNode<NavigationData>;
|
|
26
26
|
getChildren: (node: NavigationNode<NavigationData>, forceFromPublishingAppId?: string) => Array<NavigationNode<NavigationData>>;
|
|
27
27
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
28
|
+
hasChildrenLoadTriggered: (node: NavigationNode<NavigationData>) => boolean;
|
|
28
29
|
getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
|
|
29
30
|
absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId, excludeVariationUrl?: boolean) => string;
|
|
30
31
|
sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
|
|
@@ -16,6 +16,8 @@ type BatchPageRollupQueryResult = {
|
|
|
16
16
|
export declare class PageRollupStore extends Store {
|
|
17
17
|
private pageQueryService;
|
|
18
18
|
private navigationStore;
|
|
19
|
+
private appInfoStore;
|
|
20
|
+
private multilingualStore;
|
|
19
21
|
private omniaCtx;
|
|
20
22
|
private wcmRouter;
|
|
21
23
|
private pagesStore;
|
|
@@ -52,9 +54,10 @@ export declare class PageRollupStore extends Store {
|
|
|
52
54
|
private loadIndexedDBPromise;
|
|
53
55
|
private metricUniqueKey;
|
|
54
56
|
private tenantPublishingAppIdKey;
|
|
57
|
+
private omniaSearchMigrationStatusPromise;
|
|
55
58
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
* Private properties
|
|
60
|
+
*/
|
|
58
61
|
private itemQueryResult;
|
|
59
62
|
onActivated(): void;
|
|
60
63
|
onDisposing(): void;
|
|
@@ -100,13 +103,22 @@ export declare class PageRollupStore extends Store {
|
|
|
100
103
|
showUniqueUsersDetailsView: import("@omnia/fx/stores").StoreMutation<(pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => void, (pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
101
104
|
};
|
|
102
105
|
actions: {
|
|
103
|
-
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<void>>;
|
|
104
|
-
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
106
|
+
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => Promise<void>>;
|
|
107
|
+
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
105
108
|
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => Promise<void>>;
|
|
106
|
-
ensureLoadPageTypesInApps: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[],
|
|
109
|
+
ensureLoadPageTypesInApps: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[], includeTenantScope?: boolean) => void, (result: void, publishingAppIds: string[], includeTenantScope?: boolean) => void, (failureReason: any, publishingAppIds: string[], includeTenantScope?: boolean) => void, (publishingAppIds: string[], includeTenantScope?: boolean) => Promise<void>>;
|
|
107
110
|
ensureLoadPageTypesTitle: import("@omnia/fx/stores").StoreAction<unknown, (pageTypeIds: number[]) => void, (result: void, pageTypeIds: number[]) => void, (failureReason: any, pageTypeIds: number[]) => void, (pageTypeIds: number[]) => Promise<void>>;
|
|
111
|
+
ensureGetPageTypesTitle: import("@omnia/fx/stores").StoreAction<unknown, (pageTypeIds: number[], uniqueKey: string) => void, (result: PageTypeTitle[], pageTypeIds: number[], uniqueKey: string) => void, (failureReason: any, pageTypeIds: number[], uniqueKey: string) => void, (pageTypeIds: number[], uniqueKey: string) => Promise<Array<PageTypeTitle>>>;
|
|
112
|
+
ensureGetRelevantAppInfo: import("@omnia/fx/stores").StoreAction<unknown, (appIds: string[], uniqueKey: string) => void, (result: {
|
|
113
|
+
id: string;
|
|
114
|
+
title: string;
|
|
115
|
+
}[], appIds: string[], uniqueKey: string) => void, (failureReason: any, appIds: string[], uniqueKey: string) => void, (appIds: string[], uniqueKey: string) => Promise<Array<{
|
|
116
|
+
id: string;
|
|
117
|
+
title: string;
|
|
118
|
+
}>>>;
|
|
108
119
|
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: ExportQueryPagesRequest, exportingBlockId: string) => void, (result: ExportQueryPagesResult, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (failureReason: any, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>>;
|
|
109
120
|
getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string, exportingFileToken: string) => void, (result: void, exportingFileName: string, exportingFileToken: string) => void, (failureReason: any, exportingFileName: string, exportingFileToken: string) => void, (exportingFileName: string, exportingFileToken: string) => Promise<void>>;
|
|
121
|
+
ensureOmniaSearchMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
110
122
|
};
|
|
111
123
|
/**
|
|
112
124
|
* Find page and page variation in specific node
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews } from "../models";
|
|
2
|
+
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VersionId, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews, ApprovalMetaData } from "../models";
|
|
3
3
|
import { GuidValue, Guid, IMessageBusSubscriptionHandler, IOmniaContext } from "@omnia/fx-models";
|
|
4
4
|
export declare class PagesStore extends Store {
|
|
5
5
|
private pageService;
|
|
@@ -62,6 +62,7 @@ export declare class PagesStore extends Store {
|
|
|
62
62
|
attachVariationPage: import("@omnia/fx/stores").StoreAction<unknown, (originalPageId: PageId, variationPageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, originalPageId: PageId, variationPageId: PageId) => void, (failureReason: any, originalPageId: PageId, variationPageId: PageId) => void, (originalPageId: PageId, variationPageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
63
63
|
visitedpage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: ReadNews, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<ReadNews>>;
|
|
64
64
|
getSitePagesFolderFullUrl: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: string, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<string>>;
|
|
65
|
+
getPageVersionMetaData: import("@omnia/fx/stores").StoreAction<unknown, (versionId: VersionId) => void, (result: ApprovalMetaData, versionId: VersionId) => void, (failureReason: any, versionId: VersionId) => void, (versionId: VersionId) => Promise<ApprovalMetaData>>;
|
|
65
66
|
};
|
|
66
67
|
private updatePageCollectionSelectionsPromise;
|
|
67
68
|
private handleNewPageAndNode;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { NotificationMessage } from "@omnia/fx-models";
|
|
2
2
|
import { Store } from "@omnia/fx/stores";
|
|
3
3
|
import { ApprovalRequest, ApprovalRuleData } from "../../models";
|
|
4
|
-
import {
|
|
4
|
+
import { ApprovePageInfo, PageId, PublishingRule, PublishingRuleData, SendBackPageInfo } from "../models";
|
|
5
|
+
import { ApprovalData } from "internal/fx/models";
|
|
5
6
|
import { RejectPageInfo } from "../models/publishingrule/RejectPageInfo";
|
|
6
7
|
export declare class PublishingRuleStore extends Store {
|
|
7
8
|
private publishingRuleService;
|
|
@@ -10,6 +11,7 @@ export declare class PublishingRuleStore extends Store {
|
|
|
10
11
|
private pagesStore;
|
|
11
12
|
private currentPageStore;
|
|
12
13
|
private variationStore;
|
|
14
|
+
private permissionService;
|
|
13
15
|
private fxLoc;
|
|
14
16
|
private resolvedUser;
|
|
15
17
|
private rules;
|
|
@@ -19,35 +21,39 @@ export declare class PublishingRuleStore extends Store {
|
|
|
19
21
|
private isHaveSchedule;
|
|
20
22
|
private isHaveSupportedLanguage;
|
|
21
23
|
private isMachineTranslated;
|
|
24
|
+
private isHaveAppAdminPermission;
|
|
22
25
|
onActivated(): void;
|
|
23
26
|
onDisposing(): void;
|
|
24
27
|
getters: {
|
|
25
|
-
getPublishingRules: (
|
|
26
|
-
getScheduleMessege: (
|
|
27
|
-
isPageVersionHaveSchedule: (
|
|
28
|
-
isPageVersionHaveApprovalRequest: (
|
|
29
|
-
isPageVersionHaveScheduleApprovalRequest: (
|
|
30
|
-
isPageAutomaticMachineTranslate: (
|
|
28
|
+
getPublishingRules: (pageId: PageId) => Array<PublishingRule>;
|
|
29
|
+
getScheduleMessege: (pageId: PageId) => NotificationMessage;
|
|
30
|
+
isPageVersionHaveSchedule: (pageId: PageId) => boolean;
|
|
31
|
+
isPageVersionHaveApprovalRequest: (pageId: PageId) => boolean;
|
|
32
|
+
isPageVersionHaveScheduleApprovalRequest: (pageId: PageId) => boolean;
|
|
33
|
+
isPageAutomaticMachineTranslate: (pageId: PageId) => boolean;
|
|
31
34
|
onRulesMutated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<{
|
|
32
|
-
[
|
|
35
|
+
[pageId: number]: PublishingRule<PublishingRuleData>[];
|
|
33
36
|
}>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
34
|
-
isPublishingRuleExisted: (
|
|
35
|
-
canCancelApproval: (
|
|
36
|
-
canApproveOrReject: (
|
|
37
|
+
isPublishingRuleExisted: (pageId: PageId) => boolean;
|
|
38
|
+
canCancelApproval: (pageId: PageId, approvalData: ApprovalData) => boolean;
|
|
39
|
+
canApproveOrReject: (pageId: PageId, defaultPageCollectionApprovalData: ApprovalData) => boolean;
|
|
40
|
+
isEditableApprovalStep: (pageId: PageId) => boolean;
|
|
37
41
|
};
|
|
38
42
|
mutations: {
|
|
39
43
|
updateApprovalData: import("@omnia/fx/stores").StoreMutation<(ruleData: PublishingRule<ApprovalRuleData>) => void, (ruleData: PublishingRule<ApprovalRuleData>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
40
|
-
updateRules: import("@omnia/fx/stores").StoreMutation<(
|
|
44
|
+
updateRules: import("@omnia/fx/stores").StoreMutation<(pageRules: Array<PublishingRule>, pageId: number) => void, (pageRules: PublishingRule<PublishingRuleData>[], pageId: number) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
41
45
|
};
|
|
42
46
|
actions: {
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
ensurePageRules: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, forceRefresh?: boolean) => void, (result: void, pageId: PageId, forceRefresh?: boolean) => void, (failureReason: any, pageId: PageId, forceRefresh?: boolean) => void, (pageId: PageId, forceRefresh?: boolean) => Promise<void>>;
|
|
48
|
+
getAllPageRules: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: unknown, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<unknown>>;
|
|
49
|
+
sendApprovalRequest: import("@omnia/fx/stores").StoreAction<unknown, (request: ApprovalRequest) => void, (result: PublishingRule<ApprovalRuleData>[], request: ApprovalRequest) => void, (failureReason: any, request: ApprovalRequest) => void, (request: ApprovalRequest) => Promise<PublishingRule<ApprovalRuleData>[]>>;
|
|
45
50
|
cancelApproval: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRule<ApprovalRuleData>) => void, (result: PublishingRule<PublishingRuleData>[], ruleData: PublishingRule<ApprovalRuleData>) => void, (failureReason: any, ruleData: PublishingRule<ApprovalRuleData>) => void, (ruleData: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>>;
|
|
46
|
-
approve: import("@omnia/fx/stores").StoreAction<unknown, (
|
|
51
|
+
approve: import("@omnia/fx/stores").StoreAction<unknown, (approvePageInfo: ApprovePageInfo) => void, (result: PublishingRule<ApprovalRuleData>, approvePageInfo: ApprovePageInfo) => void, (failureReason: any, approvePageInfo: ApprovePageInfo) => void, (approvePageInfo: ApprovePageInfo) => Promise<PublishingRule<ApprovalRuleData>>>;
|
|
47
52
|
reject: import("@omnia/fx/stores").StoreAction<unknown, (rejectPageInfo: RejectPageInfo) => void, (result: PublishingRule<PublishingRuleData>[], rejectPageInfo: RejectPageInfo) => void, (failureReason: any, rejectPageInfo: RejectPageInfo) => void, (rejectPageInfo: RejectPageInfo) => Promise<Array<PublishingRule>>>;
|
|
48
|
-
addRule: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRuleData,
|
|
53
|
+
addRule: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRuleData, pageId: PageId) => void, (result: PublishingRule<PublishingRuleData>, ruleData: PublishingRuleData, pageId: PageId) => void, (failureReason: any, ruleData: PublishingRuleData, pageId: PageId) => void, (ruleData: PublishingRuleData, pageId: PageId) => Promise<PublishingRule>>;
|
|
49
54
|
deleteRule: import("@omnia/fx/stores").StoreAction<unknown, (rule: PublishingRule<PublishingRuleData>) => void, (result: PublishingRule<PublishingRuleData>, rule: PublishingRule<PublishingRuleData>) => void, (failureReason: any, rule: PublishingRule<PublishingRuleData>) => void, (rule: PublishingRule) => Promise<PublishingRule>>;
|
|
50
55
|
updateRules: import("@omnia/fx/stores").StoreAction<unknown, (rule: PublishingRule<PublishingRuleData>) => void, (result: PublishingRule<PublishingRuleData>, rule: PublishingRule<PublishingRuleData>) => void, (failureReason: any, rule: PublishingRule<PublishingRuleData>) => void, (rule: PublishingRule) => Promise<PublishingRule>>;
|
|
56
|
+
sendBackRules: import("@omnia/fx/stores").StoreAction<unknown, (sendBackPageInfo: SendBackPageInfo) => void, (result: PublishingRule<PublishingRuleData>, sendBackPageInfo: SendBackPageInfo) => void, (failureReason: any, sendBackPageInfo: SendBackPageInfo) => void, (sendBackPageInfo: SendBackPageInfo) => Promise<PublishingRule>>;
|
|
51
57
|
};
|
|
52
|
-
private
|
|
58
|
+
private checkPageRules;
|
|
53
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchQueryHelper","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"}}}}
|
package/internal-do-not-import-from-here/models/pagearchive/PageArchiveInformationQueryRequest.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserIdentity } from "@omnia/fx-models";
|
|
2
2
|
import { PageArchiveInformationType } from ".";
|
|
3
3
|
export interface PageArchiveInformationQueryRequest {
|
|
4
4
|
searchText: string;
|
|
5
|
-
archivedBy?:
|
|
5
|
+
archivedBy?: UserIdentity;
|
|
6
6
|
types: Array<PageArchiveInformationType>;
|
|
7
7
|
nextPage?: string;
|
|
8
8
|
rowLimit?: number;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PageArchiveInformationStatus, PageArchiveInformationStatusType } from "./PageArchiveInformationStatus";
|
|
2
|
+
export interface MigrationErrorPageArchiveInformationStatus extends PageArchiveInformationStatus {
|
|
3
|
+
type: PageArchiveInformationStatusType.MigrationError;
|
|
4
|
+
errorMessage: string;
|
|
5
|
+
errorDetail: string;
|
|
6
|
+
}
|
package/internal-do-not-import-from-here/models/pagearchive/statuses/PageArchiveInformationStatus.js
CHANGED
|
@@ -8,4 +8,5 @@ var PageArchiveInformationStatusType;
|
|
|
8
8
|
PageArchiveInformationStatusType[PageArchiveInformationStatusType["Restoring"] = 3] = "Restoring";
|
|
9
9
|
PageArchiveInformationStatusType[PageArchiveInformationStatusType["Restored"] = 4] = "Restored";
|
|
10
10
|
PageArchiveInformationStatusType[PageArchiveInformationStatusType["Migrating"] = 5] = "Migrating";
|
|
11
|
+
PageArchiveInformationStatusType[PageArchiveInformationStatusType["MigrationError"] = 6] = "MigrationError";
|
|
11
12
|
})(PageArchiveInformationStatusType = exports.PageArchiveInformationStatusType || (exports.PageArchiveInformationStatusType = {}));
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { Identity } from "@omnia/fx-models";
|
|
1
|
+
import { Identity, GuidValue } from "@omnia/fx-models";
|
|
2
2
|
import { PublishingRuleData, RuleTypes } from "@omnia/wcm/models";
|
|
3
3
|
import { PublishMode } from "../publish";
|
|
4
4
|
export declare enum ApprovalAction {
|
|
5
|
+
Undefined = 0,
|
|
5
6
|
Approve = 1,
|
|
6
7
|
Reject = 2,
|
|
7
|
-
Cancel = 3
|
|
8
|
+
Cancel = 3,
|
|
9
|
+
SendBack = 4
|
|
8
10
|
}
|
|
9
11
|
export interface ApprovalRuleData extends PublishingRuleData {
|
|
10
12
|
type: RuleTypes.Approval;
|
|
@@ -14,9 +16,29 @@ export interface ApprovalRuleData extends PublishingRuleData {
|
|
|
14
16
|
approvalRequestMessage?: string;
|
|
15
17
|
rejectMessage?: string;
|
|
16
18
|
recipients?: string[];
|
|
19
|
+
events: Array<ApprovalEvent>;
|
|
20
|
+
}
|
|
21
|
+
export interface MultipleApprovalRuleData extends PublishingRuleData {
|
|
22
|
+
type: RuleTypes.MultipleApproval;
|
|
23
|
+
events: Array<ApprovalEvent>;
|
|
24
|
+
isSendMail: boolean;
|
|
25
|
+
recipients: Array<string>;
|
|
26
|
+
scheduleDate: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ApprovalStepAction extends ApprovalEvent {
|
|
29
|
+
}
|
|
30
|
+
export interface ApprovalEvent {
|
|
31
|
+
stepId: GuidValue;
|
|
32
|
+
requester: Identity;
|
|
33
|
+
approver: Identity;
|
|
34
|
+
comment: string;
|
|
35
|
+
approvalAction: ApprovalAction;
|
|
36
|
+
pageVersionId: number;
|
|
37
|
+
createdAt: Date;
|
|
17
38
|
}
|
|
18
39
|
export interface ApprovalRequest {
|
|
19
40
|
approver: Identity;
|
|
20
|
-
|
|
41
|
+
message: string;
|
|
21
42
|
publishMode: PublishMode;
|
|
43
|
+
stepId?: GuidValue;
|
|
22
44
|
}
|
|
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ApprovalAction = void 0;
|
|
4
4
|
var ApprovalAction;
|
|
5
5
|
(function (ApprovalAction) {
|
|
6
|
+
ApprovalAction[ApprovalAction["Undefined"] = 0] = "Undefined";
|
|
6
7
|
ApprovalAction[ApprovalAction["Approve"] = 1] = "Approve";
|
|
7
8
|
ApprovalAction[ApprovalAction["Reject"] = 2] = "Reject";
|
|
8
9
|
ApprovalAction[ApprovalAction["Cancel"] = 3] = "Cancel";
|
|
10
|
+
ApprovalAction[ApprovalAction["SendBack"] = 4] = "SendBack";
|
|
9
11
|
})(ApprovalAction = exports.ApprovalAction || (exports.ApprovalAction = {}));
|
|
@@ -15,4 +15,5 @@ export interface IPageEditorItem extends IEditorItem {
|
|
|
15
15
|
onApprove<ItemType>(): Promise<ItemType>;
|
|
16
16
|
onReject<ItemType>(): Promise<ItemType>;
|
|
17
17
|
onCancelApproval<ItemType>(): Promise<ItemType>;
|
|
18
|
+
showActionRelatedPanel(haveAffectedPages: boolean): Promise<unknown>;
|
|
18
19
|
}
|
|
@@ -14,4 +14,11 @@ declare class SecurityResourceEvaluator implements RoleResourceEvaluator {
|
|
|
14
14
|
[key: string]: string | number;
|
|
15
15
|
}): Promise<string>;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
declare class PageApprovalResourceEvaluator implements RoleResourceEvaluator {
|
|
18
|
+
private pagesStore;
|
|
19
|
+
constructor(pagesStore: PagesStore);
|
|
20
|
+
getRoleResourceWithContext(context: {
|
|
21
|
+
[key: string]: string | number;
|
|
22
|
+
}): Promise<string>;
|
|
23
|
+
}
|
|
24
|
+
export { PageCollectionResourceEvaluator, SecurityResourceEvaluator, PageApprovalResourceEvaluator };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SecurityResourceEvaluator = exports.PageCollectionResourceEvaluator = void 0;
|
|
3
|
+
exports.PageApprovalResourceEvaluator = exports.SecurityResourceEvaluator = exports.PageCollectionResourceEvaluator = void 0;
|
|
4
4
|
const models_1 = require("../../fx/models");
|
|
5
5
|
class PageCollectionResourceEvaluator {
|
|
6
6
|
constructor(pagesStore) {
|
|
@@ -61,3 +61,28 @@ class SecurityResourceEvaluator {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.SecurityResourceEvaluator = SecurityResourceEvaluator;
|
|
64
|
+
class PageApprovalResourceEvaluator {
|
|
65
|
+
constructor(pagesStore) {
|
|
66
|
+
this.pagesStore = pagesStore;
|
|
67
|
+
}
|
|
68
|
+
getRoleResourceWithContext(context) {
|
|
69
|
+
return new Promise((resolve, reject) => {
|
|
70
|
+
const pageId = context["pageid"];
|
|
71
|
+
if (pageId) {
|
|
72
|
+
this.pagesStore.actions.ensurePages.dispatch([pageId]).then(() => {
|
|
73
|
+
const page = this.pagesStore.getters.getPage(pageId);
|
|
74
|
+
if (page) {
|
|
75
|
+
resolve(`PageApprovalResourceId_${page.id}`);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
resolve("");
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
resolve("");
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.PageApprovalResourceEvaluator = PageApprovalResourceEvaluator;
|
package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestActionSettings.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDataSourcePropertySelection } from "@omnia/fx/ux";
|
|
2
|
+
import { ActionButtonSignOffRequestSettings } from "@omnia/workplace/models";
|
|
3
|
+
export interface ActionButtonEndUserSignOffSettings extends ActionButtonSignOffRequestSettings {
|
|
4
|
+
setValueInUserProfile?: boolean;
|
|
5
|
+
fromDatasourceProperty?: IDataSourcePropertySelection;
|
|
6
|
+
toDatasourceProperty?: IDataSourcePropertySelection;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"wc":{"namespace":"owcm","mappings":{"WcmDashboardMetric-401Detail":"wcm-dashboard-metric-401-detail","WcmDashboardMetric-401Indicator":"wcm-dashboard-metric-401-indicator","WcmDashboardMetric-404Detail":"wcm-dashboard-metric-404-detail","WcmDashboardMetric-404Indicator":"wcm-dashboard-metric-404-indicator","OwcmOmniaSearchLogging":"owcm-omnia-search-logging","WcmPageNavigation":"wcm-page-navigation","WcmPageNavigationSettings":"wcm-page-navigation-settings","WcmVariationPicker":"wcm-variation-picker","WcmGovernanceAdminDashboardMenuJourney":"wcm-governance-admin-dashboard-menu-journey","WcmGovernanceAdminDashboardUnderusedcontentJourney":"wcm-governance-admin-dashboard-underusedcontent-journey","WcmGovernanceAdminDashboardActiveuserJourney":"wcm-governance-admin-dashboard-activeuser-journey","WcmGovernanceAdminDashboardUserpropertyJourney":"wcm-governance-admin-dashboard-userproperty-journey","WcmAdminQueryproperties":"wcm-admin-queryproperties","OwcmPageRollup":"owcm-page-rollup","OwcmPublishingappFilterengineRenderer":"owcm-publishingapp-filterengine-renderer","OwcmFilterengineSelectionsareaPublishingapp":"owcm-filterengine-selectionsarea-publishingapp","OwcmPublishingappFilterenginePropertysettings":"owcm-publishingapp-filterengine-propertysettings","OwcmPublishingappFilterengineDefaultvalueInput":"owcm-publishingapp-filterengine-defaultvalue-input","OwcmPagetypeFilterengineRenderer":"owcm-pagetype-filterengine-renderer","OwcmFilterengineSelectionsareaPagetype":"owcm-filterengine-selectionsarea-pagetype","OwcmPagetypeFilterenginePropertysettings":"owcm-pagetype-filterengine-propertysettings","OwcmPagetypeFilterengineDefaultvalueInput":"owcm-pagetype-filterengine-defaultvalue-input","OwcmChannelFilterengineRenderer":"owcm-channel-filterengine-renderer","OwcmFilterengineSelectionsareaChannel":"owcm-filterengine-selectionsarea-channel","OwcmChannelFilterenginePropertysettings":"owcm-channel-filterengine-propertysettings","OwcmChannelFilterengineDefaultvalueInput":"owcm-channel-filterengine-defaultvalue-input","WcmAdminReindexcontentOmniasearchBlade":"wcm-admin-reindexcontent-omniasearch-blade","WcmCalendarviewLocationselectorDialog":"wcm-calendarview-locationselector-dialog","OwcmPageRollupMetricDetail":"owcm-page-rollup-metric-detail","OwcmPageRollupRenderer":"owcm-page-rollup-renderer","WcmPropertiesPagecollectionDisplay":"wcm-properties-pagecollection-display","WcmPropertiesPagecollectionEditor":"wcm-properties-pagecollection-editor","WcmPropertiesPagetypeDisplay":"wcm-properties-pagetype-display","WcmPropertiesPagetypeEditor":"wcm-properties-pagetype-editor","WcmPropertiesPublishingappDisplay":"wcm-properties-publishingapp-display","WcmPropertiesPublishingappEditor":"wcm-properties-publishingapp-editor","WcmBackgroundselector":"wcm-backgroundselector","OwcmEditor":"owcm-editor","WcmInviteCoauthors":"wcm-invite-coauthors","WcmLinkNavigationForm":"wcm-link-navigation-form","OwcmPagerenderer":"owcm-pagerenderer","OwcmAppmanagementSetup":"owcm-appmanagement-setup","OwcmAttachSiteButton":"owcm-attach-site-button","OwcmAppEditing":"owcm-app-editing","OwcmEditorActiontoolbarVariationselector":"owcm-editor-actiontoolbar-variationselector","WcmCheckedoutMessageViewer":"wcm-checkedout-message-viewer","OwcmEditorPagecollectionsettings":"owcm-editor-pagecollectionsettings","WcmAdminPagecollectionsettings":"wcm-admin-pagecollectionsettings","OmxEmSystemAccount":"omx-em-system-account","WcmPageChangepagetype":"wcm-page-changepagetype","WcmStatisticsPerPage":"wcm-statistics-per-page","WcmPageVersions":"wcm-page-versions"}}}
|
package/package.json
CHANGED
package/task.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
import { registerManifestsReference,
|
|
2
|
+
import { registerManifestsReference, registerOutputInfo } from "@omnia/tooling-vue";
|
|
3
3
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
const fs = require("fs");
|
|
@@ -27,9 +27,9 @@ export function init() {
|
|
|
27
27
|
}
|
|
28
28
|
]);
|
|
29
29
|
|
|
30
|
-
const
|
|
31
|
-
if (fsExtra.existsSync(
|
|
32
|
-
|
|
30
|
+
const outputPath = path.resolve(__dirname, "./internal-do-not-import-from-here/tooling.output.json");
|
|
31
|
+
if (fsExtra.existsSync(outputPath)) {
|
|
32
|
+
registerOutputInfo(fsExtra.readJSONSync(outputPath));
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Identity } from "@omnia/fx/models";
|
|
2
|
-
export declare enum ApprovalType {
|
|
3
|
-
NoApproval = 0,
|
|
4
|
-
Anyone = 1,
|
|
5
|
-
LimitedUsers = 2,
|
|
6
|
-
PersonProperty = 3
|
|
7
|
-
}
|
|
8
|
-
export interface ApprovalData {
|
|
9
|
-
approvalUsers?: Array<Identity>;
|
|
10
|
-
approvalType: ApprovalType;
|
|
11
|
-
personProperty?: string;
|
|
12
|
-
approvalTargetRoles?: Array<string>;
|
|
13
|
-
}
|