@omnia/wcm 6.10.91-preview → 6.10.92-preview
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/EditorLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedEvent.d.ts +10 -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/services/SharepointPageService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/internal/stores/SharepointPageStore.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +9 -5
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +2 -5
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +3 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { DocumentFileUpload } from '../../models';
|
|
2
2
|
import { EnterprisePropertyDocumentProviderProperty } from '../../models/components/EnterprisePropertyDocumentProvider';
|
|
3
|
-
import { SharepointSynchronizedResource } from '../models';
|
|
3
|
+
import { SharepointSynchronizedEvent, SharepointSynchronizedResource } from '../models';
|
|
4
4
|
export declare class SharepointPageService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
private readonly baseUrl;
|
|
7
|
+
getPublishedSynchronizedEvent: (versionId: number) => Promise<SharepointSynchronizedEvent>;
|
|
7
8
|
getSynchronizedResourceStatus: (resourceId: string) => Promise<SharepointSynchronizedResource>;
|
|
8
9
|
triggerFullSyncPublishingApp: (resumeFromLastSync?: boolean) => Promise<string>;
|
|
9
10
|
uploadFile: (fileInfo: DocumentFileUpload) => Promise<EnterprisePropertyDocumentProviderProperty>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Store } from '@omnia/fx/stores';
|
|
2
1
|
import { AppInstance } from '@omnia/fx-models';
|
|
3
|
-
import {
|
|
2
|
+
import { Store } from '@omnia/fx/stores';
|
|
4
3
|
import { SharepointSyncPageSettings } from 'internal/fx/internal/models';
|
|
4
|
+
import { SharepointSynchronizedResource } from '../models';
|
|
5
5
|
export declare class SharepointPageStore extends Store {
|
|
6
6
|
private settingsService;
|
|
7
7
|
private sharepointPageService;
|
|
8
8
|
private spContext;
|
|
9
9
|
private currentPageStore;
|
|
10
|
-
private pagesStore;
|
|
11
10
|
private subscriptionHandler;
|
|
12
11
|
private fxLoc;
|
|
13
12
|
private spSyncPageSettingsState;
|
|
@@ -157,15 +157,19 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
157
157
|
export interface PageRollupBlockProperty {
|
|
158
158
|
pickedPages?: Array<PageItemNode>;
|
|
159
159
|
}
|
|
160
|
+
export interface PageRollupResource {
|
|
161
|
+
id: string;
|
|
162
|
+
typeId?: GuidValue;
|
|
163
|
+
filters?: Array<PageRollupPropertyFilter>;
|
|
164
|
+
}
|
|
165
|
+
export interface PageRollupPageCollectionResource extends PageRollupResource {
|
|
166
|
+
publishingAppId?: string;
|
|
167
|
+
}
|
|
160
168
|
export interface PageRollupBlockSettings {
|
|
161
169
|
scope: PageRollupEnums.RollupScopes;
|
|
162
170
|
excludeCurrentPage: boolean;
|
|
163
171
|
excludeVariations: boolean;
|
|
164
|
-
resources: Array<
|
|
165
|
-
id: string;
|
|
166
|
-
typeId?: GuidValue;
|
|
167
|
-
filters?: Array<PageRollupPropertyFilter>;
|
|
168
|
-
}>;
|
|
172
|
+
resources: Array<PageRollupResource>;
|
|
169
173
|
itemLimit: number;
|
|
170
174
|
queryItemLimit: number;
|
|
171
175
|
priority: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue, SpacingSettings, MultilingualString, IconPickerModel, MediaPickerVideo } from '@omnia/fx-models';
|
|
2
|
-
import { PageQuery, PageRollupEnums,
|
|
2
|
+
import { PageQuery, PageRollupEnums, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType, PageRollupResource } from '@omnia/wcm/models';
|
|
3
3
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
4
4
|
export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
5
5
|
settings: Settings;
|
|
@@ -12,10 +12,7 @@ export interface AdminInfoScreenBlockDataData {
|
|
|
12
12
|
export interface AdminInfoScreenBlockSettings {
|
|
13
13
|
scope: PageRollupEnums.RollupScopes;
|
|
14
14
|
excludeCurrentPage: boolean;
|
|
15
|
-
resources: Array<
|
|
16
|
-
id: string;
|
|
17
|
-
filters?: Array<PageRollupPropertyFilter>;
|
|
18
|
-
}>;
|
|
15
|
+
resources: Array<PageRollupResource>;
|
|
19
16
|
itemLimit: number;
|
|
20
17
|
priority: number;
|
|
21
18
|
noResultText: MultilingualString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceContainerContext } from '@omnia/fx';
|
|
2
2
|
import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter } from '@omnia/fx-models';
|
|
3
3
|
import { IBlockInstanceExtends } from '@omnia/fx/ux';
|
|
4
|
-
import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty,
|
|
4
|
+
import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter, PageRollupPageCollectionResource } from '../../fx/models';
|
|
5
5
|
import { MultilingualStore, EnterpriseGlossaryStore } from '@omnia/fx/stores';
|
|
6
6
|
import { TermStore } from '@omnia/fx-sp';
|
|
7
7
|
interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
|
|
@@ -58,6 +58,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
58
58
|
ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
|
|
59
59
|
ensureLoadedCurrentNavigation(blockInstances: IBlockInstanceExtends<PageRollupBlockSettings>[]): Promise<void>;
|
|
60
60
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
61
|
+
getPublishingAppIdForCurrentPageIdResource(resourceId: string): string;
|
|
61
62
|
getResourceId(resourceId: string): string;
|
|
62
63
|
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
63
64
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
@@ -67,7 +68,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
67
68
|
}>;
|
|
68
69
|
populateTargetingVariationIds(variationQueriesDict: {
|
|
69
70
|
[key: number]: VariationQuery;
|
|
70
|
-
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<
|
|
71
|
+
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageRollupPageCollectionResource>): any[];
|
|
71
72
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
72
73
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
73
74
|
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
@@ -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"},"exports":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","SharepointPageService","SharepointPageStore","SynchronizedResourcesStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/stores/PageRollupStoreHelper.js":{"id":"./node_modules/@omnia/wcm/stores/pagerollupstorehelper.js","buildMeta":{"exportsType":"namespace"},"exports":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","PageRollupConfigurationFactory","PageRollupStoreHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"exports":["ActivityActionFactory","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarService","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaWCMPageBody","OutlookEvent","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","ScrollingUtils","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
|
|
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"},"exports":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","SharepointPageService","SharepointPageStore","SharepointSynchronizedEventStatus","SynchronizedResourcesStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/stores/PageRollupStoreHelper.js":{"id":"./node_modules/@omnia/wcm/stores/pagerollupstorehelper.js","buildMeta":{"exportsType":"namespace"},"exports":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","PageRollupConfigurationFactory","PageRollupStoreHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"exports":["ActivityActionFactory","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarService","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaWCMPageBody","OutlookEvent","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","ScrollingUtils","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
|