@omnia/wcm 8.0.11-dev → 8.0.12-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/EditorLocalization.d.ts +9 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +19 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/core/ux/EnterprisePropertyRenderer.d.ts +6 -2
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +5 -5
- package/internal-do-not-import-from-here/fx/apis/DigitalSignage.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/apis/MediaRollup.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/apis/PageRollup.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +19 -19
- package/internal-do-not-import-from-here/fx/internal/models/OmniaSearch.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/Enums.tooling.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/Enums.tooling.js +31 -6
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +5 -5
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlock.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +39 -31
- package/internal-do-not-import-from-here/fx/models/components/RssReaderBlockData.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/components/index.js +0 -1
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +4 -32
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewRegistration.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js +2 -1
- package/internal-do-not-import-from-here/fx/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/index.js +2 -0
- package/internal-do-not-import-from-here/fx/models/loc/localize.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupConstants.d.ts +54 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupConstants.js +62 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupItem.d.ts +35 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupItem.js +19 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupProvider.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/{components/BannerBlockStyles.js → mediarollup/MediaRollupProvider.js} +0 -2
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupQueryResult.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupQueryResult.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupRequest.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupRequest.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupSettings.d.ts +19 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupSettings.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupStyles.d.ts +31 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupStyles.js +4 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupView.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/MediaRollupView.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/IMediaRollupProviderRegistrationApi.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/IMediaRollupProviderRegistrationApi.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/IMediaRollupViewRegistrationApi.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/IMediaRollupViewRegistrationApi.js +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/apis/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/index.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/mediarollup/index.js +12 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupPropertyPicker.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupPropertyPicker.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupRegistrationView.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +2 -1
- package/internal-do-not-import-from-here/fx/models/pages/VersionInformation.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQuery.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/query/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/query/index.js +0 -1
- package/internal-do-not-import-from-here/fx/models/seo/PageMetaTag.d.ts +7 -4
- package/internal-do-not-import-from-here/fx/models/seo/PageMetaTag.js +4 -4
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockSettings.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockSettings.js +2 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.d.ts +26 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.js +18 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/index.js +6 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.d.ts +55 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.js +19 -0
- package/internal-do-not-import-from-here/fx/pages/VersionEnterpriseProperties.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/pages/VersionPropertyBag.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/services/MediaRollupService.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/SeoService.d.ts +10 -2
- package/internal-do-not-import-from-here/fx/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryUtils.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/shared/PageSearchHelper.d.ts +78 -3
- package/internal-do-not-import-from-here/fx/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelCategoriesStore.d.ts +23 -23
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +66 -81
- package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/stores/VariationStore.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/pagerollup/PageRollupSettingsStore.d.ts +87 -0
- package/internal-do-not-import-from-here/fx/stores/{PageRollupStore.d.ts → pagerollup/PageRollupStore.d.ts} +4 -0
- package/internal-do-not-import-from-here/fx/stores/pagerollup/SettingsMigrations.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/stores/pagerollup/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerEditorExtension.d.ts +6 -6
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/ux/use/UseWcmIcons.d.ts +6 -0
- 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/publishingapp/PublishingAppSettings.d.ts +4 -0
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +386 -48
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/components/BannerBlockStyles.d.ts +0 -38
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +0 -18
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +0 -24
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseFilterEngineProperty, DatePropertyFilterCustomValue, FilterEngineSettings, guid, Identity, IIcon, Language, MultilingualString, PropertyIndexedType, RollupOtherTypes, Spacing, Tag, TypedFilterEnginePropertyOutput, UserPickingType } from "@omnia/fx-models";
|
|
1
|
+
import { BaseFilterEngineProperty, DatePropertyFilterCustomValue, FilterEngineSettings, guid, Identity, IIcon, Language, MultilingualString, PropertyIndexedType, RollupOtherTypes, SlidePanelSettings, Spacing, Tag, TypedFilterEnginePropertyOutput, UserPickingType } from "@omnia/fx-models";
|
|
2
2
|
import { Page, PageCalendarViewMode, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes, TaxonomyQueryFilter, TaxonomyUIFilter } from "..";
|
|
3
3
|
import { PublishingChannelId } from "../channels";
|
|
4
4
|
import { PageId } from "../pages";
|
|
@@ -6,6 +6,9 @@ import { VariationId } from "../variations";
|
|
|
6
6
|
export interface PageRollupViewSettingsRuntimeSettings {
|
|
7
7
|
navigateWithVariationTargeting: boolean;
|
|
8
8
|
}
|
|
9
|
+
export interface SlidePanelSettingsView extends SlidePanelSettings {
|
|
10
|
+
renderAsSlider: boolean;
|
|
11
|
+
}
|
|
9
12
|
export interface PageRollupViewSettings {
|
|
10
13
|
selectProperties: Array<string>;
|
|
11
14
|
showContentAsDialog: boolean;
|
|
@@ -27,6 +30,8 @@ export interface PageRollupViewSettings {
|
|
|
27
30
|
openInEditor: boolean;
|
|
28
31
|
navigationStartNodeId?: number;
|
|
29
32
|
hideStartNode?: boolean;
|
|
33
|
+
sliderSettings?: SlidePanelSettings;
|
|
34
|
+
spacing?: Spacing;
|
|
30
35
|
}
|
|
31
36
|
export interface PageRollupDateSettings {
|
|
32
37
|
dateProp: string;
|
|
@@ -211,35 +216,46 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
211
216
|
export interface PageRollupBlockProperty {
|
|
212
217
|
pickedPages?: Array<PageItemNode>;
|
|
213
218
|
}
|
|
214
|
-
export interface
|
|
219
|
+
export interface PageRollupResource {
|
|
220
|
+
id: string;
|
|
221
|
+
typeId?: guid;
|
|
222
|
+
filters?: Array<PageRollupPropertyFilter>;
|
|
223
|
+
}
|
|
224
|
+
export interface PageRollupQuerySettings {
|
|
215
225
|
scope: PageRollupEnums.RollupScopes;
|
|
216
226
|
excludeCurrentPage: boolean;
|
|
217
227
|
excludeVariations: boolean;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
typeId?: guid;
|
|
221
|
-
filters?: Array<PageRollupPropertyFilter>;
|
|
222
|
-
}>;
|
|
228
|
+
currentUserSubscription?: boolean;
|
|
229
|
+
resources: Array<PageRollupResource>;
|
|
223
230
|
itemLimit: number;
|
|
224
231
|
queryItemLimit: number;
|
|
225
|
-
priority: number;
|
|
226
|
-
noResultText: MultilingualString;
|
|
227
|
-
hideBlockWhenNoResult: boolean;
|
|
228
|
-
trimDupplicates: boolean;
|
|
229
|
-
enableClientCaching: boolean;
|
|
230
232
|
pagingType: PagingTypes;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
pickedPages?: Array<PageItemNode>;
|
|
234
|
+
queryConfiguration?: {
|
|
235
|
+
type: PageRollupEnums.QueryConfigurationType;
|
|
236
|
+
pickInWriteMode?: boolean;
|
|
237
|
+
};
|
|
238
|
+
sortBy?: string;
|
|
239
|
+
sortDescending?: boolean;
|
|
236
240
|
likePeriod?: PageRollupEnums.DatePeriods;
|
|
237
241
|
commentPeriod?: PageRollupEnums.DatePeriods;
|
|
238
242
|
ratingPeriod?: PageRollupEnums.DatePeriods;
|
|
239
243
|
feedbackPeriod?: PageRollupEnums.DatePeriods;
|
|
240
244
|
pageStatisticsPeriod?: PageRollupEnums.DatePeriods;
|
|
241
|
-
|
|
242
|
-
|
|
245
|
+
nodeType?: PageRollupEnums.NodeType;
|
|
246
|
+
navigationStartNode?: PageItemNode;
|
|
247
|
+
navigationDepthLevel: number;
|
|
248
|
+
excludeStartNode: boolean;
|
|
249
|
+
priority: number;
|
|
250
|
+
trimDuplicates: boolean;
|
|
251
|
+
filterEngine?: FilterEngineSettings;
|
|
252
|
+
versionStatus?: PageRollupEnums.VersionStatus;
|
|
253
|
+
enableClientCaching?: boolean;
|
|
254
|
+
}
|
|
255
|
+
export interface PageRollupBlockSettings extends PageRollupQuerySettings {
|
|
256
|
+
noResultText: MultilingualString;
|
|
257
|
+
hideBlockWhenNoResult: boolean;
|
|
258
|
+
title: MultilingualString;
|
|
243
259
|
showCreateButton?: boolean;
|
|
244
260
|
createButtonLabel: string;
|
|
245
261
|
createButtonForPageCollectionId: string;
|
|
@@ -250,30 +266,22 @@ export interface PageRollupBlockSettings {
|
|
|
250
266
|
spacing?: Spacing;
|
|
251
267
|
hideReadNews?: boolean;
|
|
252
268
|
highlightNonRead?: boolean;
|
|
253
|
-
excludeStartNode: boolean;
|
|
254
269
|
searchBoxOutlined: boolean;
|
|
255
270
|
searchBoxRounded: boolean;
|
|
256
271
|
searchBoxFilled: boolean;
|
|
257
272
|
breakPointSettings?: {
|
|
258
273
|
[breakPointId: string]: PageRollupBlockBreakPointSettings;
|
|
259
274
|
};
|
|
260
|
-
queryConfiguration?: {
|
|
261
|
-
type: PageRollupEnums.QueryConfigurationType;
|
|
262
|
-
pickInWriteMode: boolean;
|
|
263
|
-
};
|
|
264
|
-
pickedPages?: Array<PageItemNode>;
|
|
265
275
|
defaultExpandedSectionIndex?: number;
|
|
266
276
|
useRouter: boolean;
|
|
267
|
-
navigationDepthLevel: number;
|
|
268
|
-
navigationStartNode?: PageItemNode;
|
|
269
|
-
currentUserSubscription?: boolean;
|
|
270
|
-
nodeType?: PageRollupEnums.NodeType;
|
|
271
|
-
versionStatus: PageRollupEnums.VersionStatus;
|
|
272
277
|
openPageInNewTab?: boolean;
|
|
273
278
|
openInEditor?: boolean;
|
|
274
279
|
showMetric?: boolean;
|
|
275
280
|
metricSetting?: PageRollupMetricSettings;
|
|
276
|
-
|
|
281
|
+
selectedViewManifestId?: guid;
|
|
282
|
+
selectedSettingsViewManifestId?: guid;
|
|
283
|
+
selectedViewId?: string;
|
|
284
|
+
viewSettings?: PageRollupViewSettings;
|
|
277
285
|
}
|
|
278
286
|
export interface PageRollupMetricSettings {
|
|
279
287
|
title: MultilingualString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Spacing, MultilingualString } from "@omnia/fx-models";
|
|
1
|
+
import { Spacing, MultilingualString, guid } from "@omnia/fx-models";
|
|
2
2
|
import { PagingTypes } from "..";
|
|
3
3
|
export interface RssReaderViewSettings {
|
|
4
4
|
}
|
|
@@ -27,7 +27,7 @@ export interface RssReaderBlockSettings {
|
|
|
27
27
|
isOpenNewWindow?: boolean;
|
|
28
28
|
showActualDay?: boolean;
|
|
29
29
|
showTitle?: boolean;
|
|
30
|
-
selectedViewId:
|
|
30
|
+
selectedViewId: guid;
|
|
31
31
|
viewSettings?: RssReaderViewSettings;
|
|
32
32
|
pagingType?: PagingTypes;
|
|
33
33
|
}
|
|
@@ -18,7 +18,6 @@ export * from "./CalendarRollupBlock";
|
|
|
18
18
|
export * from "./ActionButtonBlock";
|
|
19
19
|
export * from "./ContentBlockStyles";
|
|
20
20
|
export * from "./MediaBlockStyles";
|
|
21
|
-
export * from "./BannerBlockStyles";
|
|
22
21
|
export * from "./PagePropertiesBlockStyles";
|
|
23
22
|
export * from "./RelatedLinkBlockStyles";
|
|
24
23
|
export * from "./BreadcrumbBlockStyles";
|
|
@@ -21,7 +21,6 @@ tslib_1.__exportStar(require("./CalendarRollupBlock"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./ActionButtonBlock"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./ContentBlockStyles"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./MediaBlockStyles"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./BannerBlockStyles"), exports);
|
|
25
24
|
tslib_1.__exportStar(require("./PagePropertiesBlockStyles"), exports);
|
|
26
25
|
tslib_1.__exportStar(require("./RelatedLinkBlockStyles"), exports);
|
|
27
26
|
tslib_1.__exportStar(require("./BreadcrumbBlockStyles"), exports);
|
|
@@ -1,47 +1,19 @@
|
|
|
1
1
|
import { guid } from "@omnia/fx-models";
|
|
2
|
-
import { DigitalSignageJsonProp, DigitalSignagePageRollupViewSettings, DigitalSignageSettingsBase,
|
|
2
|
+
import { DigitalSignageJsonProp, DigitalSignagePageRollupViewSettings, DigitalSignageSettingsBase, PageQuery, PageRollupQuerySettings } from "@omnia/wcm/models";
|
|
3
3
|
export declare enum DigitalSignageQuerySettingsType {
|
|
4
4
|
PageRollup = 0,
|
|
5
5
|
JsonQuery = 1
|
|
6
6
|
}
|
|
7
|
-
export interface DigitalSignageQuerySettings extends DigitalSignageSettingsBase {
|
|
8
|
-
scope: PageRollupEnums.RollupScopes;
|
|
9
|
-
excludeCurrentPage: boolean;
|
|
10
|
-
excludeVariations: boolean;
|
|
11
|
-
currentUserSubscription: boolean;
|
|
12
|
-
resources: {
|
|
13
|
-
id: string;
|
|
14
|
-
typeId?: guid;
|
|
15
|
-
filters?: PageRollupPropertyFilter[];
|
|
16
|
-
}[];
|
|
17
|
-
itemLimit: number;
|
|
18
|
-
queryItemLimit: number;
|
|
19
|
-
pagingType: PagingTypes;
|
|
20
|
-
pickedPages?: PageItemNode[];
|
|
21
|
-
queryConfiguration?: {
|
|
22
|
-
type: PageRollupEnums.QueryConfigurationType;
|
|
23
|
-
pickInWriteMode: boolean;
|
|
24
|
-
};
|
|
25
|
-
uiFilters: PageRollupUiFilter[];
|
|
7
|
+
export interface DigitalSignageQuerySettings extends DigitalSignageSettingsBase, PageRollupQuerySettings {
|
|
26
8
|
itemQuery: PageQuery;
|
|
27
|
-
sortBy?: string;
|
|
28
|
-
sortDescending?: boolean;
|
|
29
|
-
likePeriod?: PageRollupEnums.DatePeriods;
|
|
30
|
-
commentPeriod?: PageRollupEnums.DatePeriods;
|
|
31
|
-
ratingPeriod?: PageRollupEnums.DatePeriods;
|
|
32
|
-
feedbackPeriod?: PageRollupEnums.DatePeriods;
|
|
33
|
-
nodeType?: PageRollupEnums.NodeType;
|
|
34
|
-
navigationStartNode?: PageItemNode;
|
|
35
|
-
navigationDepthLevel: number;
|
|
36
|
-
excludeStartNode: boolean;
|
|
37
|
-
priority: number;
|
|
38
|
-
trimDuplicates: boolean;
|
|
39
9
|
type: DigitalSignageQuerySettingsType;
|
|
40
10
|
templateId?: guid;
|
|
41
11
|
}
|
|
42
12
|
export interface DigitalSignagePageRollupSettings extends DigitalSignageQuerySettings {
|
|
43
13
|
type: DigitalSignageQuerySettingsType.PageRollup;
|
|
44
14
|
selectedViewId: string;
|
|
15
|
+
componentManifestId: guid;
|
|
16
|
+
settingsComponentManifestId?: guid;
|
|
45
17
|
selectProperties: string[];
|
|
46
18
|
pageRollupSettings: DigitalSignagePageRollupViewSettings;
|
|
47
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { guid } from "@omnia/fx-models";
|
|
2
2
|
export interface DigitalSigningHtmlViewRegistration {
|
|
3
|
-
id
|
|
3
|
+
id?: guid;
|
|
4
4
|
title: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
componentManifestId: guid;
|
|
6
|
+
settingsComponentManifestId?: guid;
|
|
7
7
|
supportClassicPaging?: boolean;
|
|
8
8
|
supportScrollPaging?: boolean;
|
|
9
9
|
}
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FilePickerStorageProviderContext, guid } from "@omnia/fx-models";
|
|
2
|
-
import { VersionId } from "../pages";
|
|
2
|
+
import { PageId, VersionId } from "../pages";
|
|
3
3
|
export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
|
|
4
4
|
readonly omniaServiceId: guid;
|
|
5
5
|
readonly metadataTypeId: guid;
|
|
6
6
|
fileName: string;
|
|
7
7
|
readonly versionId: VersionId;
|
|
8
|
-
|
|
8
|
+
readonly pageId: PageId;
|
|
9
|
+
constructor(versionId: VersionId, pageId: PageId);
|
|
9
10
|
}
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js
CHANGED
|
@@ -4,11 +4,12 @@ exports.FileUploaderWCMPageContext = void 0;
|
|
|
4
4
|
const fx_models_1 = require("@omnia/fx-models");
|
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
|
6
6
|
class FileUploaderWCMPageContext {
|
|
7
|
-
constructor(versionId) {
|
|
7
|
+
constructor(versionId, pageId) {
|
|
8
8
|
this.omniaServiceId = ManifestIds_1.WcmService.Id;
|
|
9
9
|
this.metadataTypeId = (0, fx_models_1.guid)("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
10
10
|
this.fileName = "";
|
|
11
11
|
this.versionId = versionId;
|
|
12
|
+
this.pageId = pageId;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
exports.FileUploaderWCMPageContext = FileUploaderWCMPageContext;
|
|
@@ -46,3 +46,5 @@ tslib_1.__exportStar(require("./search"), exports);
|
|
|
46
46
|
tslib_1.__exportStar(require("./properties"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./pagecreation"), exports);
|
|
48
48
|
tslib_1.__exportStar(require("./seo"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./mediarollup"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./welcomeblock"), exports);
|
|
@@ -43,9 +43,9 @@ export declare namespace WCMFxLocalization {
|
|
|
43
43
|
Block: {
|
|
44
44
|
PropertyToStoreData: string;
|
|
45
45
|
EnableOverrideInWriteMode: string;
|
|
46
|
-
|
|
46
|
+
Edit: string;
|
|
47
47
|
AddContent: string;
|
|
48
|
-
|
|
48
|
+
Remove: string;
|
|
49
49
|
Content: string;
|
|
50
50
|
CopyOnCreation: string;
|
|
51
51
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
|
+
export declare enum QueryValueOptions {
|
|
3
|
+
Manual = 1,
|
|
4
|
+
QueryParameter = 2,
|
|
5
|
+
UserLanguage = 3,
|
|
6
|
+
UserEmail = 4,
|
|
7
|
+
CurrentUserEmail = 5
|
|
8
|
+
}
|
|
9
|
+
export declare enum TaxonomyFilterType {
|
|
10
|
+
FixedValue = 1,
|
|
11
|
+
CurrentPage = 2,
|
|
12
|
+
User = 3
|
|
13
|
+
}
|
|
14
|
+
export declare enum Operator {
|
|
15
|
+
Equals = 1,
|
|
16
|
+
StartWith = 2,
|
|
17
|
+
Contains = 3,
|
|
18
|
+
LessThan = 4,
|
|
19
|
+
GreaterThan = 5
|
|
20
|
+
}
|
|
21
|
+
export declare enum DatePeriods {
|
|
22
|
+
OneWeekFromToday = 1,
|
|
23
|
+
TwoWeeksFromToday = 2,
|
|
24
|
+
OneMonthFromToday = 3
|
|
25
|
+
}
|
|
26
|
+
export declare enum QueryScope {
|
|
27
|
+
AllMedia = 0,
|
|
28
|
+
Images = 1,
|
|
29
|
+
Video = 2,
|
|
30
|
+
Audio = 3
|
|
31
|
+
}
|
|
32
|
+
export declare const MediaRollupConstants: {
|
|
33
|
+
readonly nameLink: guid;
|
|
34
|
+
readonly titleLink: guid;
|
|
35
|
+
readonly iconNameLink: guid;
|
|
36
|
+
readonly iconTitleLink: guid;
|
|
37
|
+
readonly image: guid;
|
|
38
|
+
readonly download: guid;
|
|
39
|
+
readonly openNewWindow: guid;
|
|
40
|
+
readonly defaultViewId: guid;
|
|
41
|
+
readonly defaultTemplateItemId: guid;
|
|
42
|
+
readonly FilterEngineContextUniqueId: guid;
|
|
43
|
+
};
|
|
44
|
+
export declare const MsSearchFieldsConstants: {
|
|
45
|
+
readonly Created: string;
|
|
46
|
+
readonly CreatedBy: string;
|
|
47
|
+
readonly Modified: string;
|
|
48
|
+
readonly ModifiedBy: string;
|
|
49
|
+
readonly Title: string;
|
|
50
|
+
readonly FileName: string;
|
|
51
|
+
readonly DocumentLink: string;
|
|
52
|
+
readonly Path: string;
|
|
53
|
+
readonly Id: string;
|
|
54
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsSearchFieldsConstants = exports.MediaRollupConstants = exports.QueryScope = exports.DatePeriods = exports.Operator = exports.TaxonomyFilterType = exports.QueryValueOptions = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
var QueryValueOptions;
|
|
6
|
+
(function (QueryValueOptions) {
|
|
7
|
+
QueryValueOptions[QueryValueOptions["Manual"] = 1] = "Manual";
|
|
8
|
+
QueryValueOptions[QueryValueOptions["QueryParameter"] = 2] = "QueryParameter";
|
|
9
|
+
QueryValueOptions[QueryValueOptions["UserLanguage"] = 3] = "UserLanguage";
|
|
10
|
+
QueryValueOptions[QueryValueOptions["UserEmail"] = 4] = "UserEmail";
|
|
11
|
+
QueryValueOptions[QueryValueOptions["CurrentUserEmail"] = 5] = "CurrentUserEmail";
|
|
12
|
+
})(QueryValueOptions || (exports.QueryValueOptions = QueryValueOptions = {}));
|
|
13
|
+
var TaxonomyFilterType;
|
|
14
|
+
(function (TaxonomyFilterType) {
|
|
15
|
+
TaxonomyFilterType[TaxonomyFilterType["FixedValue"] = 1] = "FixedValue";
|
|
16
|
+
TaxonomyFilterType[TaxonomyFilterType["CurrentPage"] = 2] = "CurrentPage";
|
|
17
|
+
TaxonomyFilterType[TaxonomyFilterType["User"] = 3] = "User";
|
|
18
|
+
})(TaxonomyFilterType || (exports.TaxonomyFilterType = TaxonomyFilterType = {}));
|
|
19
|
+
var Operator;
|
|
20
|
+
(function (Operator) {
|
|
21
|
+
Operator[Operator["Equals"] = 1] = "Equals";
|
|
22
|
+
Operator[Operator["StartWith"] = 2] = "StartWith";
|
|
23
|
+
Operator[Operator["Contains"] = 3] = "Contains";
|
|
24
|
+
Operator[Operator["LessThan"] = 4] = "LessThan";
|
|
25
|
+
Operator[Operator["GreaterThan"] = 5] = "GreaterThan";
|
|
26
|
+
})(Operator || (exports.Operator = Operator = {}));
|
|
27
|
+
var DatePeriods;
|
|
28
|
+
(function (DatePeriods) {
|
|
29
|
+
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
30
|
+
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
31
|
+
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
32
|
+
})(DatePeriods || (exports.DatePeriods = DatePeriods = {}));
|
|
33
|
+
var QueryScope;
|
|
34
|
+
(function (QueryScope) {
|
|
35
|
+
QueryScope[QueryScope["AllMedia"] = 0] = "AllMedia";
|
|
36
|
+
QueryScope[QueryScope["Images"] = 1] = "Images";
|
|
37
|
+
QueryScope[QueryScope["Video"] = 2] = "Video";
|
|
38
|
+
QueryScope[QueryScope["Audio"] = 3] = "Audio";
|
|
39
|
+
})(QueryScope || (exports.QueryScope = QueryScope = {}));
|
|
40
|
+
exports.MediaRollupConstants = {
|
|
41
|
+
get nameLink() { return (0, fx_models_1.guid)("9330d34e-0f93-4a23-9f0a-c121fa7fce78"); },
|
|
42
|
+
get titleLink() { return (0, fx_models_1.guid)("ef408c19-5f39-48e4-ad44-4f5b64e6765e"); },
|
|
43
|
+
get iconNameLink() { return (0, fx_models_1.guid)("98c860ed-0eaa-42d2-855b-ecac47ac9149"); },
|
|
44
|
+
get iconTitleLink() { return (0, fx_models_1.guid)("db16d208-affb-45c0-b780-02efd5473328"); },
|
|
45
|
+
get image() { return (0, fx_models_1.guid)("de161a1f-b7bb-4f47-bba3-540f222d6d70"); },
|
|
46
|
+
get download() { return (0, fx_models_1.guid)("79b03301-78b8-4f32-94f8-d25b72f4047a"); },
|
|
47
|
+
get openNewWindow() { return (0, fx_models_1.guid)("44cd493d-695a-4fd9-9975-89178b770fdd"); },
|
|
48
|
+
get defaultViewId() { return (0, fx_models_1.guid)("0573c149-cac2-461e-818a-e6011ca60cc1"); },
|
|
49
|
+
get defaultTemplateItemId() { return (0, fx_models_1.guid)("e20ad34f-7c7a-4547-b900-39ae2d2586b2"); },
|
|
50
|
+
get FilterEngineContextUniqueId() { return (0, fx_models_1.guid)("347f5a8c-006b-415d-b7d3-50e7f5821f23"); }
|
|
51
|
+
};
|
|
52
|
+
exports.MsSearchFieldsConstants = {
|
|
53
|
+
get Created() { return "created"; },
|
|
54
|
+
get CreatedBy() { return "authorowsuser"; },
|
|
55
|
+
get Modified() { return "modified"; },
|
|
56
|
+
get ModifiedBy() { return "editorowsuser"; },
|
|
57
|
+
get Title() { return "title"; },
|
|
58
|
+
get FileName() { return "filename"; },
|
|
59
|
+
get DocumentLink() { return "documentlink"; },
|
|
60
|
+
get Path() { return "path"; },
|
|
61
|
+
get Id() { return "uniqueid"; }
|
|
62
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
|
+
export interface MediaRollupItem {
|
|
3
|
+
url: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
type: MediaRollupType;
|
|
7
|
+
}
|
|
8
|
+
export declare enum MediaRollupType {
|
|
9
|
+
Unknown = 0,
|
|
10
|
+
Image = 1,
|
|
11
|
+
Video = 2,
|
|
12
|
+
Audio = 3
|
|
13
|
+
}
|
|
14
|
+
export declare enum MediaRollupThumbnailSize {
|
|
15
|
+
small = "small",
|
|
16
|
+
medium = "medium",
|
|
17
|
+
large = "large",
|
|
18
|
+
smallSquare = "smallSquare",
|
|
19
|
+
mediumSquare = "mediumSquare",
|
|
20
|
+
largeSquare = "largeSquare"
|
|
21
|
+
}
|
|
22
|
+
export interface RollupMedia {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
fileName: string;
|
|
26
|
+
fileUrl: string;
|
|
27
|
+
fileExtension: string;
|
|
28
|
+
properties: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
uniqueId: guid;
|
|
32
|
+
type: MediaRollupType;
|
|
33
|
+
openFileUrl?: string;
|
|
34
|
+
thumbnailUrl?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaRollupThumbnailSize = exports.MediaRollupType = void 0;
|
|
4
|
+
var MediaRollupType;
|
|
5
|
+
(function (MediaRollupType) {
|
|
6
|
+
MediaRollupType[MediaRollupType["Unknown"] = 0] = "Unknown";
|
|
7
|
+
MediaRollupType[MediaRollupType["Image"] = 1] = "Image";
|
|
8
|
+
MediaRollupType[MediaRollupType["Video"] = 2] = "Video";
|
|
9
|
+
MediaRollupType[MediaRollupType["Audio"] = 3] = "Audio";
|
|
10
|
+
})(MediaRollupType || (exports.MediaRollupType = MediaRollupType = {}));
|
|
11
|
+
var MediaRollupThumbnailSize;
|
|
12
|
+
(function (MediaRollupThumbnailSize) {
|
|
13
|
+
MediaRollupThumbnailSize["small"] = "small";
|
|
14
|
+
MediaRollupThumbnailSize["medium"] = "medium";
|
|
15
|
+
MediaRollupThumbnailSize["large"] = "large";
|
|
16
|
+
MediaRollupThumbnailSize["smallSquare"] = "smallSquare";
|
|
17
|
+
MediaRollupThumbnailSize["mediumSquare"] = "mediumSquare";
|
|
18
|
+
MediaRollupThumbnailSize["largeSquare"] = "largeSquare";
|
|
19
|
+
})(MediaRollupThumbnailSize || (exports.MediaRollupThumbnailSize = MediaRollupThumbnailSize = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
|
+
export interface MediaRollupProvider {
|
|
3
|
+
id: guid;
|
|
4
|
+
title: string;
|
|
5
|
+
selectedProviderManifestId?: guid;
|
|
6
|
+
}
|
|
7
|
+
export interface IMediaRollupProviderProperties {
|
|
8
|
+
providerSettings: IMediaRollupProviderSettings;
|
|
9
|
+
saveSettings: (providerSettings: IMediaRollupProviderSettings) => void;
|
|
10
|
+
}
|
|
11
|
+
export interface IMediaRollupProviderSettings {
|
|
12
|
+
query: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FilterEngineSettings, guid, MultilingualString, Spacing } from "@omnia/fx/models";
|
|
2
|
+
import { IMediaRollupProviderSettings, IMediaRollupViewSettings, PagingTypes, QueryScope } from "@omnia/wcm/models";
|
|
3
|
+
export interface MediaRollupSettings {
|
|
4
|
+
blockTitle: MultilingualString;
|
|
5
|
+
spacing?: Spacing;
|
|
6
|
+
selectedViewId?: guid;
|
|
7
|
+
selectedProviderId?: guid;
|
|
8
|
+
selectedSettingsViewManifestId?: guid;
|
|
9
|
+
selectedProviderManifestId?: guid;
|
|
10
|
+
providerSettings?: IMediaRollupProviderSettings;
|
|
11
|
+
viewSettings?: IMediaRollupViewSettings;
|
|
12
|
+
pagingType: PagingTypes;
|
|
13
|
+
itemLimit: number;
|
|
14
|
+
sortby: string;
|
|
15
|
+
sortDescending: boolean;
|
|
16
|
+
noResultText: MultilingualString;
|
|
17
|
+
filterEngine?: FilterEngineSettings;
|
|
18
|
+
searchScopes: Array<QueryScope>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { types } from "typestyle";
|
|
2
|
+
import { ITheming } from "@omnia/fx/ux";
|
|
3
|
+
import { Spacing } from "@omnia/fx/models";
|
|
4
|
+
export declare const MediaRollupStyles: {
|
|
5
|
+
fullWidth?: types.NestedCSSProperties;
|
|
6
|
+
uiFilterItem?: types.NestedCSSProperties;
|
|
7
|
+
container?: types.NestedCSSProperties;
|
|
8
|
+
titleWrapper?: types.NestedCSSProperties;
|
|
9
|
+
filterRefinerWrapper?: types.NestedCSSProperties;
|
|
10
|
+
filterWrapper?: types.NestedCSSProperties;
|
|
11
|
+
sideFilterWrapper?: types.NestedCSSProperties;
|
|
12
|
+
refinerWrapper?: types.NestedCSSProperties;
|
|
13
|
+
refinerTitle?: types.NestedCSSProperties;
|
|
14
|
+
refinementText?: (isSelected: boolean) => types.NestedCSSProperties;
|
|
15
|
+
refinerCount?: (theme: ITheming, isSelected: boolean) => types.NestedCSSProperties;
|
|
16
|
+
selectingRefinement?: types.NestedCSSProperties;
|
|
17
|
+
refinement?: (theme: ITheming) => types.NestedCSSProperties;
|
|
18
|
+
normalCursor?: types.NestedCSSProperties;
|
|
19
|
+
progressLinearStyle?: types.NestedCSSProperties;
|
|
20
|
+
pointerCursor?: types.NestedCSSProperties;
|
|
21
|
+
transparent?: types.NestedCSSProperties;
|
|
22
|
+
taxonomyFilterInput?: types.NestedCSSProperties;
|
|
23
|
+
getPaddingStyle?: (spacing: Spacing, skip?: {
|
|
24
|
+
top?: boolean;
|
|
25
|
+
right?: boolean;
|
|
26
|
+
left?: boolean;
|
|
27
|
+
bottom?: boolean;
|
|
28
|
+
}) => types.NestedCSSProperties;
|
|
29
|
+
padding: (spacing: Spacing) => types.NestedCSSProperties;
|
|
30
|
+
inlineFilter?: types.NestedCSSProperties;
|
|
31
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EnterprisePropertyDefinition, guid } from "@omnia/fx/models";
|
|
2
|
+
import { DefineEmit, DefineProp } from "@omnia/fx/ux";
|
|
3
|
+
export interface MediaRollupRegistrationView {
|
|
4
|
+
id: guid;
|
|
5
|
+
title: string;
|
|
6
|
+
componentManifestId: guid;
|
|
7
|
+
settingsComponentManifestId?: guid;
|
|
8
|
+
supportScrollPaging?: boolean;
|
|
9
|
+
supportClassicPaging?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IMediaRollupViewProperties {
|
|
12
|
+
viewSettings: IMediaRollupViewSettings;
|
|
13
|
+
saveSettings: (viewSettings: IMediaRollupViewSettings) => void;
|
|
14
|
+
availableProperties: EnterprisePropertyDefinition[];
|
|
15
|
+
sortableProperties: EnterprisePropertyDefinition[];
|
|
16
|
+
}
|
|
17
|
+
export type MediaRollupViewProps = DefineProp<"viewSettings", IMediaRollupViewSettings> & DefineEmit<"saveSettings", (viewSettings: IMediaRollupViewSettings) => void> & DefineProp<"availableProperties", Array<EnterprisePropertyDefinition>> & DefineProp<"sortableProperties", Array<EnterprisePropertyDefinition>>;
|
|
18
|
+
export interface IMediaRollupViewSettings {
|
|
19
|
+
selectProperties: Array<string>;
|
|
20
|
+
lastModifiedByCurrentUser: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./IMediaRollupProviderRegistrationApi"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./IMediaRollupViewRegistrationApi"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./MediaRollupItem";
|
|
2
|
+
export * from "./MediaRollupView";
|
|
3
|
+
export * from "./MediaRollupProvider";
|
|
4
|
+
export * from "./MediaRollupConstants";
|
|
5
|
+
export * from "./MediaRollupRequest";
|
|
6
|
+
export * from "./MediaRollupQueryResult";
|
|
7
|
+
export * from "./MediaRollupSettings";
|
|
8
|
+
export * from "./apis";
|
|
9
|
+
export * from "./MediaRollupStyles";
|