@omnia/wcm 7.11.32 → 7.12.1
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 +1 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +12 -6
- package/internal-do-not-import-from-here/core/index.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +10 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +10 -1
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +84 -1
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +54 -0
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +2 -1
- package/internal-do-not-import-from-here/core/paging/PagingServerQuery.d.ts +19 -0
- package/internal-do-not-import-from-here/core/paging/index.d.ts +1 -0
- package/internal-do-not-import-from-here/core/ux/EnterprisePropertyRenderer.d.ts +4 -6
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +4 -11
- package/internal-do-not-import-from-here/fx/apis/Editor.d.ts +41 -0
- package/internal-do-not-import-from-here/fx/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/constants.d.ts +26 -0
- package/internal-do-not-import-from-here/fx/helpers/DefaultRenderingAppHelper.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/helpers/PageUrlHelper.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/helpers/UserLinkHelper.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/helpers/index.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/internal/models/BreadcrumNode.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/models/PagesDashboard.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/internal/models/SemanticSearch.d.ts +45 -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/YammerIntegrationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +20 -1
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +34 -0
- package/internal-do-not-import-from-here/fx/models/Enums.js +42 -1
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +43 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +43 -0
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/block/WcmBlock.d.ts +8 -1
- package/internal-do-not-import-from-here/fx/models/calltoaction/DefaultActionButtonStylingSettings.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/calltoaction/DefaultActionButtonStylingSettings.js +10 -0
- package/internal-do-not-import-from-here/fx/models/calltoaction/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/calltoaction/index.js +4 -0
- package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/BannerBlock.d.ts +23 -1
- package/internal-do-not-import-from-here/fx/models/components/BannerBlock.js +19 -1
- package/internal-do-not-import-from-here/fx/models/components/BannerBlockStyles.d.ts +38 -2
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlock.d.ts +18 -1
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlockSettingsStyles.d.ts +22 -0
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlockSettingsStyles.js +4 -0
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlockStyles.d.ts +5 -3
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
- 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/ContentBlockStyles.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/components/CurrentNavigationBlock.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/models/components/CurrentNavigationBlockStyles.d.ts +34 -2
- package/internal-do-not-import-from-here/fx/models/components/IFrameBlock.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +16 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerExtension.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +50 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.js +6 -2
- package/internal-do-not-import-from-here/fx/models/components/MediaBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.js +7 -1
- package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/SearchTemplateOmniaPageStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/defaultrenderingappinstance/DefaultRenderingAppInstanceSettings.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/defaultrenderingappinstance/DefaultRenderingAppInstanceSettings.js +11 -0
- package/internal-do-not-import-from-here/fx/models/defaultrenderingappinstance/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/defaultrenderingappinstance/index.js +4 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/components/EventParticipantCounterBlock.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/components/EventParticipantCounterBlockStyles.d.ts +27 -1
- package/internal-do-not-import-from-here/fx/models/eventmanagement/components/PageRollupEventCardViewSettings.d.ts +25 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/components/PageRollupEventCardViewSettings.js +2 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/index.js +1 -0
- 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/linkpicker/SharepointPageIdentifier.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPageIdentifier.js +2 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPagePickerQueryResult.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPagePickerQueryResult.js +2 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPagePickerUI.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPagePickerUI.js +2 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/index.js +3 -0
- package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewEnums.d.ts +17 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewEnums.js +19 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/DynamicRollerViewSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListingWithImageViewSettings.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupRollerViewSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/ArchivePageResult.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/pages/ArchivePageResult.js +0 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageDialogData.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/pages/PlainPageData.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/VersionInformation.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/publishingsetting/publishingsetting.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQuery.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/search/PageResultSearchTemplate.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/search/PageResultSearchTemplate.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/search/index.js +1 -0
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +8 -2
- package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +8 -1
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +8 -6
- package/internal-do-not-import-from-here/fx/shared/OmniaFullPageHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +23 -1
- package/internal-do-not-import-from-here/fx/shared/PageSearchHelper.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/shared/PlaceholderImage.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/index.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/stores/ActivityFeedStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/BaseCurrentPageStore.d.ts +289 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +29 -140
- package/internal-do-not-import-from-here/fx/stores/EditPageCurrentPageStore.d.ts +57 -0
- package/internal-do-not-import-from-here/fx/stores/IndexedDB.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/PageBlockPropertyStore.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +45 -13
- 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 +12 -4
- package/internal-do-not-import-from-here/fx/stores/SharePointPickerStore.d.ts +46 -0
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +14 -2
- package/internal-do-not-import-from-here/fx/ux/calltoaction/CallToAction.css.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/ux/calltoaction/CallToAction.d.ts +27 -0
- package/internal-do-not-import-from-here/fx/ux/calltoaction/CallToAction.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/calltoaction/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/CallToAction/CallToActionEditorExtension.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/CallToAction/CallToActionMenu.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/CallToAction/CallToActionNode.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/CallToAction/CallToActionToolbar.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/CallToAction/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +5 -54
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +5 -32
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +1 -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/manifests/omnia.wcm.fxux.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/index.js +1 -0
- package/internal-do-not-import-from-here/models/paging/IPagingServerQuery.d.ts +17 -0
- package/internal-do-not-import-from-here/models/paging/IPagingServerQuery.js +2 -0
- package/internal-do-not-import-from-here/models/paging/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/paging/index.js +4 -0
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.d.ts +3 -1
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.js +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IFullPageEditorItem.d.ts +6 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IFullPageEditorItem.js +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IPageEditorItem.d.ts +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +9 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.js +6 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.js +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/pagecollection/PageContextInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +8 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +15 -1
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ export declare const PageRollupBlockStyles: {
|
|
|
20
20
|
pickedPageWrapper?: NestedCSSPropertiesExtends;
|
|
21
21
|
flexRight?: NestedCSSPropertiesExtends;
|
|
22
22
|
statusTextWrapper?: NestedCSSPropertiesExtends;
|
|
23
|
+
screenReaderOnly?: NestedCSSPropertiesExtends;
|
|
23
24
|
pageDetailsDialog?: (height: number) => NestedCSSPropertiesExtends;
|
|
24
25
|
uniqueUserDetailView?: NestedCSSPropertiesExtends;
|
|
25
26
|
pageDetailsContentDialogStyle?: (dialogFitInOmniaBody: boolean) => NestedCSSPropertiesExtends;
|
|
@@ -56,6 +57,11 @@ export declare const PageRollupBlockListingWithImageViewViewStyles: {
|
|
|
56
57
|
title: types.NestedCSSProperties;
|
|
57
58
|
socialWrapper: types.NestedCSSProperties;
|
|
58
59
|
socialTime: types.NestedCSSProperties;
|
|
60
|
+
footerPropertiesWrapper: types.NestedCSSProperties;
|
|
61
|
+
footerPropertyItem: types.NestedCSSProperties;
|
|
62
|
+
footerPropertyText: types.NestedCSSProperties;
|
|
63
|
+
footerPropertyLabel: types.NestedCSSProperties;
|
|
64
|
+
footerPersonNoAvatarText: types.NestedCSSProperties;
|
|
59
65
|
leftColumn: types.NestedCSSProperties;
|
|
60
66
|
rightColumn: (imgProp: string) => types.NestedCSSProperties;
|
|
61
67
|
strechedImage: types.NestedCSSProperties;
|
|
@@ -135,7 +141,13 @@ export declare const PageRollupNewsletterViewStyles: {
|
|
|
135
141
|
};
|
|
136
142
|
export declare const PageRollupBlockCardViewSettingsStyles: {
|
|
137
143
|
orderAction?: types.NestedCSSProperties;
|
|
144
|
+
linkButton?: types.NestedCSSProperties;
|
|
138
145
|
showLabelCheckbox?: types.NestedCSSProperties;
|
|
146
|
+
ratioControlGroup?: types.NestedCSSProperties;
|
|
147
|
+
ratioButton?: types.NestedCSSProperties;
|
|
148
|
+
ratioButtonActive?: types.NestedCSSProperties;
|
|
149
|
+
ratioIcon?: types.NestedCSSProperties;
|
|
150
|
+
ratioIconPane?: types.NestedCSSProperties;
|
|
139
151
|
};
|
|
140
152
|
export declare const PageRollupNavigationViewStyles: {
|
|
141
153
|
getPadding: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
@@ -8,6 +8,7 @@ export declare const RelatedLinkBlockStyles: {
|
|
|
8
8
|
blockWrapper?: types.NestedCSSProperties;
|
|
9
9
|
linkItemTitle?: types.NestedCSSProperties;
|
|
10
10
|
linkItemTitleText?: types.NestedCSSProperties;
|
|
11
|
+
userLinkItemTitleText?: types.NestedCSSProperties;
|
|
11
12
|
linkListItemContent?: types.NestedCSSProperties;
|
|
12
13
|
linkAvatar?: types.NestedCSSProperties;
|
|
13
14
|
linkAvatarContent?: types.NestedCSSProperties;
|
package/internal-do-not-import-from-here/fx/models/components/SearchTemplateOmniaPageStyles.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ export declare const SearchTemplateOmniaPageStyles: {
|
|
|
14
14
|
previewBlock?: types.NestedCSSProperties;
|
|
15
15
|
previewIframe?: (width: number) => types.NestedCSSProperties;
|
|
16
16
|
previewWapper?: (width: number) => types.NestedCSSProperties;
|
|
17
|
+
longDescriptionContent?: types.NestedCSSProperties;
|
|
17
18
|
};
|
|
@@ -22,6 +22,7 @@ export * from "./BannerBlockStyles";
|
|
|
22
22
|
export * from "./PagePropertiesBlockStyles";
|
|
23
23
|
export * from "./RelatedLinkBlockStyles";
|
|
24
24
|
export * from "./BreadcrumbBlockStyles";
|
|
25
|
+
export * from "./BreadcrumbBlockSettingsStyles";
|
|
25
26
|
export * from "./PageRollupBlockStyles";
|
|
26
27
|
export * from "./CurrentNavigationBlockStyles";
|
|
27
28
|
export * from "./MegaMenuStyles";
|
|
@@ -25,6 +25,7 @@ tslib_1.__exportStar(require("./BannerBlockStyles"), exports);
|
|
|
25
25
|
tslib_1.__exportStar(require("./PagePropertiesBlockStyles"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./RelatedLinkBlockStyles"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./BreadcrumbBlockStyles"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./BreadcrumbBlockSettingsStyles"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./PageRollupBlockStyles"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./CurrentNavigationBlockStyles"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./MegaMenuStyles"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BusinessProfileProperty, GuidValue } from "@omnia/fx-models";
|
|
2
|
+
export declare class DefaultRenderingAppInstanceSettings extends BusinessProfileProperty {
|
|
3
|
+
constructor();
|
|
4
|
+
appInstanceId: GuidValue;
|
|
5
|
+
enableRichText?: boolean;
|
|
6
|
+
disableViewButtonOnDialog?: boolean;
|
|
7
|
+
enableMention?: boolean;
|
|
8
|
+
summaryProp?: string;
|
|
9
|
+
contentProp?: string;
|
|
10
|
+
contentImgProp?: string;
|
|
11
|
+
dateProp?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefaultRenderingAppInstanceSettings = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
const ManifestIds_1 = require("../ManifestIds");
|
|
6
|
+
class DefaultRenderingAppInstanceSettings extends fx_models_1.BusinessProfileProperty {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(ManifestIds_1.WcmService.Id, "BusinessProfileDefaultRenderingAppInstance");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DefaultRenderingAppInstanceSettings = DefaultRenderingAppInstanceSettings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DefaultRenderingAppInstanceSettings";
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { SpacingSettings, MultilingualString, IIcon } from "@omnia/fx-models";
|
|
2
|
+
export type EventParticipantCounterStylePreset = "classic" | "progress" | "big-number" | "seat-grid" | "status" | "minimal" | "custom";
|
|
3
|
+
export type EventParticipantCounterMeter = "none" | "bar" | "grid";
|
|
4
|
+
export type EventParticipantCounterColor = "neutral" | "primary" | "semantic" | "custom";
|
|
5
|
+
export type EventParticipantCounterSize = "compact" | "default" | "large";
|
|
2
6
|
export interface EventParticipantCounterSettings {
|
|
3
7
|
blockTitle: MultilingualString;
|
|
4
8
|
participantIcon: IIcon;
|
|
5
9
|
hideNumberOfRegisteredParticipants: boolean;
|
|
6
10
|
spacing?: SpacingSettings;
|
|
11
|
+
stylePreset?: EventParticipantCounterStylePreset;
|
|
12
|
+
showIcon?: boolean;
|
|
13
|
+
showNumbers?: boolean;
|
|
14
|
+
meter?: EventParticipantCounterMeter;
|
|
15
|
+
color?: EventParticipantCounterColor;
|
|
16
|
+
customColor?: string;
|
|
17
|
+
size?: EventParticipantCounterSize;
|
|
18
|
+
showStatusBadge?: boolean;
|
|
7
19
|
}
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { SpacingSettings } from "@omnia/fx-models";
|
|
2
2
|
import { types } from "typestyle";
|
|
3
|
+
import type { EventParticipantCounterColor, EventParticipantCounterSize } from "./EventParticipantCounterBlock";
|
|
3
4
|
export declare const EventParticipantCounterBlockStyles: {
|
|
4
5
|
container: types.NestedCSSProperties;
|
|
5
6
|
wrapper: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
6
|
-
detailValue?: types.NestedCSSProperties;
|
|
7
|
+
detailValue?: (size?: EventParticipantCounterSize, textColor?: string) => types.NestedCSSProperties;
|
|
8
|
+
countBlock?: types.NestedCSSProperties;
|
|
9
|
+
countLabel?: (size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
10
|
+
countRow?: (size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
11
|
+
icon?: (size?: EventParticipantCounterSize, color?: string) => types.NestedCSSProperties;
|
|
12
|
+
customIcon?: (size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
13
|
+
countText?: (size?: EventParticipantCounterSize, color?: string) => types.NestedCSSProperties;
|
|
14
|
+
meterBar?: (size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
15
|
+
meterBarFill?: (color?: string, ratio?: number) => types.NestedCSSProperties;
|
|
16
|
+
seatGrid?: (size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
17
|
+
seatGridCell?: (isTaken?: boolean, color?: string, size?: EventParticipantCounterSize) => types.NestedCSSProperties;
|
|
18
|
+
statusBadge?: (tone?: EventParticipantCounterColor | "success" | "warning" | "error", color?: string) => types.NestedCSSProperties;
|
|
19
|
+
sectionContainer?: types.NestedCSSProperties;
|
|
20
|
+
settingsPresetGrid?: types.NestedCSSProperties;
|
|
21
|
+
settingsPresetTile?: (active: boolean, dark: boolean, color: string) => types.NestedCSSProperties;
|
|
22
|
+
settingsPresetPreview?: types.NestedCSSProperties;
|
|
23
|
+
settingsPresetTitle?: types.NestedCSSProperties;
|
|
24
|
+
settingsPresetDescription?: types.NestedCSSProperties;
|
|
25
|
+
settingsSectionTitle?: types.NestedCSSProperties;
|
|
26
|
+
settingsOptionGroup?: types.NestedCSSProperties;
|
|
27
|
+
settingsOptionButton?: types.NestedCSSProperties;
|
|
28
|
+
settingsOptionButtonContent?: types.NestedCSSProperties;
|
|
29
|
+
settingsOptionIcon?: (color?: string) => types.NestedCSSProperties;
|
|
30
|
+
settingsPreviewWrapper?: types.NestedCSSProperties;
|
|
31
|
+
settingsPreviewStage?: types.NestedCSSProperties;
|
|
32
|
+
settingsSpacingWrapper?: types.NestedCSSProperties;
|
|
7
33
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CardViewSettings, PropertyPositions } from "../../pagequery/CardViewSettings";
|
|
2
|
+
import { Positions } from "@omnia/fx-models";
|
|
3
|
+
import { PageRollupEnums } from "../../pagequery/PageRollupEnums";
|
|
4
|
+
export interface PageRollupEventCardViewSettings extends CardViewSettings {
|
|
5
|
+
startDateProp?: string;
|
|
6
|
+
endDateProp?: string;
|
|
7
|
+
startDateMode?: PageRollupEnums.DateTimeModes;
|
|
8
|
+
startDateFormat?: string;
|
|
9
|
+
endDateMode?: PageRollupEnums.DateTimeModes;
|
|
10
|
+
endDateFormat?: string;
|
|
11
|
+
locationProp?: string;
|
|
12
|
+
allDayProp?: string;
|
|
13
|
+
showDateOnImage?: boolean;
|
|
14
|
+
showLocation?: boolean;
|
|
15
|
+
showRegisteredCapacity?: boolean;
|
|
16
|
+
showRegistrationStatus?: boolean;
|
|
17
|
+
showPastEventStatus?: boolean;
|
|
18
|
+
showAllDayStatus?: boolean;
|
|
19
|
+
showTeamsMeetingStatus?: boolean;
|
|
20
|
+
eventPropertyPositions?: EventCardPropertyPositions;
|
|
21
|
+
}
|
|
22
|
+
export interface EventCardPropertyPositions extends PropertyPositions {
|
|
23
|
+
eventDate?: Positions;
|
|
24
|
+
eventStatus?: Positions;
|
|
25
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./components/EventParticipantListViewStyles";
|
|
|
4
4
|
export * from "./components/EventParticipantListStyles";
|
|
5
5
|
export * from "./components/EventParticipantCounterBlockStyles";
|
|
6
6
|
export * from "./components/PageRollupEventListViewSettings";
|
|
7
|
+
export * from "./components/PageRollupEventCardViewSettings";
|
|
7
8
|
export * from "./components/PageRollupViewStyles";
|
|
8
9
|
export * from "./components/ColleagueDialogContentStyles";
|
|
9
10
|
export * from "./components/EventCloneDialogContentStyles";
|
|
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./components/EventParticipantListViewStyles"), exp
|
|
|
7
7
|
tslib_1.__exportStar(require("./components/EventParticipantListStyles"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./components/EventParticipantCounterBlockStyles"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./components/PageRollupEventListViewSettings"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./components/PageRollupEventCardViewSettings"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./components/PageRollupViewStyles"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./components/ColleagueDialogContentStyles"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./components/EventCloneDialogContentStyles"), exports);
|
|
@@ -55,3 +55,5 @@ tslib_1.__exportStar(require("./document"), exports);
|
|
|
55
55
|
tslib_1.__exportStar(require("./reusablecontent"), exports);
|
|
56
56
|
tslib_1.__exportStar(require("./exportToFile"), exports);
|
|
57
57
|
tslib_1.__exportStar(require("./validationrule"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./calltoaction"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./defaultrenderingappinstance"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
+
export interface SharepointPageIdentifier {
|
|
3
|
+
fileUrl: string;
|
|
4
|
+
fileName: string;
|
|
5
|
+
fileExtension: string;
|
|
6
|
+
siteUrl: string;
|
|
7
|
+
openOnWebUrl?: string;
|
|
8
|
+
uniqueId: GuidValue;
|
|
9
|
+
url?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
}
|
package/internal-do-not-import-from-here/fx/models/linkpicker/SharepointPagePickerQueryResult.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FileSearchResultItem, ListItemResult } from "@omnia/fx-sp";
|
|
2
|
+
export interface SharepointPagePickerSearchResult {
|
|
3
|
+
total: number;
|
|
4
|
+
resultItems: Array<FileSearchResultItem>;
|
|
5
|
+
}
|
|
6
|
+
export interface SharepointPagePickerCAMLQueryResult {
|
|
7
|
+
nextPageString: string;
|
|
8
|
+
previousPageString: string;
|
|
9
|
+
resultItems: Array<ListItemResult>;
|
|
10
|
+
}
|
|
11
|
+
export interface SharepointPageListItemResult extends ListItemResult {
|
|
12
|
+
id: number;
|
|
13
|
+
title: string;
|
|
14
|
+
fileUrl: string;
|
|
15
|
+
fileExtension: string;
|
|
16
|
+
fileName: string;
|
|
17
|
+
lastModifiedBy: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
2
|
+
import { FileSearchResultItem, ListItemResult } from "@omnia/fx-sp";
|
|
3
|
+
import { SharepointPageIdentifier } from "..";
|
|
4
|
+
export interface SharepointPageSearchResultItemUI {
|
|
5
|
+
item: FileSearchResultItem;
|
|
6
|
+
uiId?: GuidValue;
|
|
7
|
+
}
|
|
8
|
+
export interface ListItemResultUI {
|
|
9
|
+
item: ListItemResult;
|
|
10
|
+
uiId?: GuidValue;
|
|
11
|
+
}
|
|
12
|
+
export interface SharepointPageIdentifierUI {
|
|
13
|
+
item: SharepointPageIdentifier;
|
|
14
|
+
uiId?: GuidValue;
|
|
15
|
+
}
|
|
@@ -4,3 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./ILinkPickerProvider"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./LinkPickerRegistration"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./DocumentLibraryInfo"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./SharepointPagePickerUI"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./SharepointPagePickerQueryResult"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./SharepointPageIdentifier"), exports);
|
package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { SelectionItem, SelectionToken } from "@omnia/fx/ux";
|
|
2
|
+
import { NavigateAfterCreationMode } from "../Enums";
|
|
3
|
+
import { PageDialogPropertiesMapping } from "../pages/PageDialogData";
|
|
2
4
|
export interface PageCreationActionSetting {
|
|
3
5
|
pageCollectionId?: SelectionItem<number> | SelectionToken;
|
|
4
6
|
publishingAppId: string;
|
|
5
7
|
enableDefaultValue: boolean;
|
|
6
8
|
defaultValuePropertyInternalNames: string[];
|
|
7
9
|
disableRedirectToCreatedPage?: boolean;
|
|
10
|
+
openInDialog?: boolean;
|
|
11
|
+
pageTypeIds?: number[];
|
|
12
|
+
navigationMode?: NavigateAfterCreationMode;
|
|
13
|
+
pageDialogPropsMapping?: PageDialogPropertiesMapping;
|
|
14
|
+
overrideDefaultDialogSettings?: boolean;
|
|
15
|
+
enableRichText?: boolean;
|
|
16
|
+
disableViewButtonOnDialog?: boolean;
|
|
17
|
+
enableMention?: boolean;
|
|
8
18
|
}
|
|
@@ -3,5 +3,21 @@ export declare enum CardTypes {
|
|
|
3
3
|
textImage = 2,
|
|
4
4
|
titleOnImage = 3,
|
|
5
5
|
mixed = 4,
|
|
6
|
-
text = 5
|
|
6
|
+
text = 5,
|
|
7
|
+
imageRight = 6,
|
|
8
|
+
imageLeft = 7
|
|
9
|
+
}
|
|
10
|
+
export declare enum CardViewHorizontalImageTextRatio {
|
|
11
|
+
ImageNarrow = "30/70",
|
|
12
|
+
Equal = "50/50",
|
|
13
|
+
ImageWide = "70/30"
|
|
14
|
+
}
|
|
15
|
+
export declare enum CardViewTitleElement {
|
|
16
|
+
Custom = "custom",
|
|
17
|
+
H1 = "h1",
|
|
18
|
+
H2 = "h2",
|
|
19
|
+
H3 = "h3",
|
|
20
|
+
H4 = "h4",
|
|
21
|
+
H5 = "h5",
|
|
22
|
+
H6 = "h6"
|
|
7
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CardTypes = void 0;
|
|
3
|
+
exports.CardViewTitleElement = exports.CardViewHorizontalImageTextRatio = exports.CardTypes = void 0;
|
|
4
4
|
var CardTypes;
|
|
5
5
|
(function (CardTypes) {
|
|
6
6
|
CardTypes[CardTypes["backgroundImage"] = 1] = "backgroundImage";
|
|
@@ -8,4 +8,22 @@ var CardTypes;
|
|
|
8
8
|
CardTypes[CardTypes["titleOnImage"] = 3] = "titleOnImage";
|
|
9
9
|
CardTypes[CardTypes["mixed"] = 4] = "mixed";
|
|
10
10
|
CardTypes[CardTypes["text"] = 5] = "text";
|
|
11
|
+
CardTypes[CardTypes["imageRight"] = 6] = "imageRight";
|
|
12
|
+
CardTypes[CardTypes["imageLeft"] = 7] = "imageLeft";
|
|
11
13
|
})(CardTypes = exports.CardTypes || (exports.CardTypes = {}));
|
|
14
|
+
var CardViewHorizontalImageTextRatio;
|
|
15
|
+
(function (CardViewHorizontalImageTextRatio) {
|
|
16
|
+
CardViewHorizontalImageTextRatio["ImageNarrow"] = "30/70";
|
|
17
|
+
CardViewHorizontalImageTextRatio["Equal"] = "50/50";
|
|
18
|
+
CardViewHorizontalImageTextRatio["ImageWide"] = "70/30";
|
|
19
|
+
})(CardViewHorizontalImageTextRatio = exports.CardViewHorizontalImageTextRatio || (exports.CardViewHorizontalImageTextRatio = {}));
|
|
20
|
+
var CardViewTitleElement;
|
|
21
|
+
(function (CardViewTitleElement) {
|
|
22
|
+
CardViewTitleElement["Custom"] = "custom";
|
|
23
|
+
CardViewTitleElement["H1"] = "h1";
|
|
24
|
+
CardViewTitleElement["H2"] = "h2";
|
|
25
|
+
CardViewTitleElement["H3"] = "h3";
|
|
26
|
+
CardViewTitleElement["H4"] = "h4";
|
|
27
|
+
CardViewTitleElement["H5"] = "h5";
|
|
28
|
+
CardViewTitleElement["H6"] = "h6";
|
|
29
|
+
})(CardViewTitleElement = exports.CardViewTitleElement || (exports.CardViewTitleElement = {}));
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { SpacingSettings, GuidValue, PropertyIndexedType, Positions } from "@omnia/fx-models";
|
|
3
|
-
import { CardTypes } from "./CardViewEnums";
|
|
3
|
+
import { CardTypes, CardViewHorizontalImageTextRatio, CardViewTitleElement } from "./CardViewEnums";
|
|
4
4
|
export interface CardViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
5
5
|
imageProp: string;
|
|
6
|
+
showPlaceholderImageIfEmpty?: boolean;
|
|
6
7
|
summaryProp: string;
|
|
7
8
|
personProp: string;
|
|
9
|
+
personPropShowAsText?: boolean;
|
|
8
10
|
termProps: Array<CardViewTermProperty>;
|
|
9
11
|
showLikesComments: boolean;
|
|
12
|
+
allowLiking?: boolean;
|
|
10
13
|
showRating: boolean;
|
|
11
14
|
showLastActivity?: boolean;
|
|
12
|
-
elevation
|
|
15
|
+
elevation?: number;
|
|
13
16
|
cardsPerRow: number;
|
|
14
17
|
staticTitleSize: boolean;
|
|
15
18
|
titleSize: number;
|
|
19
|
+
titleElement?: CardViewTitleElement;
|
|
16
20
|
cardType: CardTypes;
|
|
17
21
|
cardSize: number;
|
|
18
22
|
colorFul: boolean;
|
|
19
23
|
mixCardSize: boolean;
|
|
20
24
|
mixCardType: boolean;
|
|
25
|
+
horizontalImageTextRatio?: CardViewHorizontalImageTextRatio;
|
|
21
26
|
imagePropRatioUniqueId?: GuidValue;
|
|
22
27
|
bordersize: number;
|
|
23
28
|
bordercolor: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PageRollupEnums } from ".";
|
|
2
2
|
import { PageNavigationNode, PageNavigationData } from "../navigation";
|
|
3
3
|
import { VariationId } from "../variations";
|
|
4
|
+
import { Like } from "@omnia/fx/models";
|
|
4
5
|
export interface PageDetailQueryResult {
|
|
5
6
|
id: number;
|
|
6
7
|
pageCollectionId: number;
|
|
@@ -11,6 +12,13 @@ export interface PageDetailQueryResult {
|
|
|
11
12
|
layoutDataParentPageId: number;
|
|
12
13
|
workflowStatus: PageRollupEnums.WorkflowStatus;
|
|
13
14
|
commentsAndLikesSettings: string;
|
|
15
|
+
/**
|
|
16
|
+
* Current user's own like/reaction on this page. Absent means not liked — the backend
|
|
17
|
+
* (`PageDetailQueryResult.MyLike`) sends `null`, which is what arrives here; the property is
|
|
18
|
+
* optional because the query paths that do not request likes omit it entirely. Treat any
|
|
19
|
+
* falsy value as "not liked" rather than distinguishing the two.
|
|
20
|
+
*/
|
|
21
|
+
myLike?: Like;
|
|
14
22
|
isNew: boolean;
|
|
15
23
|
variationId: VariationId;
|
|
16
24
|
url: string;
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
export interface ListingWithImageEnterprisePropertySettings {
|
|
4
|
+
internalName: string;
|
|
5
|
+
showLabel?: boolean;
|
|
6
|
+
mode?: number;
|
|
7
|
+
format?: string;
|
|
8
|
+
hideAvatar?: boolean;
|
|
9
|
+
textOnly?: boolean;
|
|
10
|
+
separator?: string;
|
|
11
|
+
}
|
|
3
12
|
export interface PageRollupListingWithImageViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
4
13
|
imageProp: string;
|
|
5
14
|
summaryProp: string;
|
|
15
|
+
propertiesSeparator?: string;
|
|
6
16
|
showLikesComments: boolean;
|
|
17
|
+
allowLiking?: boolean;
|
|
18
|
+
rightAlignLikesComments?: boolean;
|
|
7
19
|
showRating: boolean;
|
|
20
|
+
enterpriseProperties?: string[];
|
|
21
|
+
enterprisePropertySettings?: ListingWithImageEnterprisePropertySettings[];
|
|
8
22
|
imagePropRatioUniqueId?: GuidValue;
|
|
9
23
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Refinement, Refiner } from "@omnia/fx-models";
|
|
2
|
+
import { Like } from "@omnia/fx/models";
|
|
2
3
|
import { PageQuery, PageDetailQueryResult, PageId, PageNavigationNode, PageNavigationData, QueryFilter } from "..";
|
|
3
4
|
import { PageRollupEnums } from "./PageRollupEnums";
|
|
4
5
|
export interface PageRollupQuery {
|
|
@@ -25,6 +26,12 @@ export interface BatchQueryPages extends PageQuery {
|
|
|
25
26
|
pageStatisticsPeriod: PageRollupEnums.DatePeriods;
|
|
26
27
|
queryId: string;
|
|
27
28
|
internalNames?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Ask the server for the current user's own like on each page. Only set when the view both shows
|
|
31
|
+
* the like/comment counts and allows liking — nothing renders the user's own reaction otherwise,
|
|
32
|
+
* so the server skips the lookup.
|
|
33
|
+
*/
|
|
34
|
+
includeMyLikes?: boolean;
|
|
28
35
|
trimDuplicates?: boolean;
|
|
29
36
|
excludeVariations?: boolean;
|
|
30
37
|
priority?: number;
|
|
@@ -67,6 +74,13 @@ export interface BatchQueryPagesResult {
|
|
|
67
74
|
export interface ExtendedInformationPageQueryData {
|
|
68
75
|
pageNavigationNodes: Array<PageNavigationNode<PageNavigationData>>;
|
|
69
76
|
visitedPageIds: Array<PageId>;
|
|
77
|
+
/**
|
|
78
|
+
* The requesting user's own page-level likes, keyed by page id (a string, per JSON dictionary
|
|
79
|
+
* serialization). `myLikes` rather than `likes` because it never holds everyone's likes.
|
|
80
|
+
*/
|
|
81
|
+
myLikes: {
|
|
82
|
+
[pageId: string]: Like;
|
|
83
|
+
};
|
|
70
84
|
}
|
|
71
85
|
export interface BatchQueryPagesError extends BatchQueryPages {
|
|
72
86
|
error: string;
|
|
@@ -3,8 +3,7 @@ export declare enum ValidationArchivePageResult {
|
|
|
3
3
|
NotAllowed = 0,
|
|
4
4
|
Allowed = 1,
|
|
5
5
|
AdditionalActionRequired = 2,
|
|
6
|
-
NotAllowedByHavingApproval = 3
|
|
7
|
-
NotAllowedByBeingEditedByOtherUser = 4
|
|
6
|
+
NotAllowedByHavingApproval = 3
|
|
8
7
|
}
|
|
9
8
|
export interface NavigationArchiveResult {
|
|
10
9
|
softDeletedPageIds: Array<PageId>;
|
|
@@ -7,5 +7,4 @@ var ValidationArchivePageResult;
|
|
|
7
7
|
ValidationArchivePageResult[ValidationArchivePageResult["Allowed"] = 1] = "Allowed";
|
|
8
8
|
ValidationArchivePageResult[ValidationArchivePageResult["AdditionalActionRequired"] = 2] = "AdditionalActionRequired";
|
|
9
9
|
ValidationArchivePageResult[ValidationArchivePageResult["NotAllowedByHavingApproval"] = 3] = "NotAllowedByHavingApproval";
|
|
10
|
-
ValidationArchivePageResult[ValidationArchivePageResult["NotAllowedByBeingEditedByOtherUser"] = 4] = "NotAllowedByBeingEditedByOtherUser";
|
|
11
10
|
})(ValidationArchivePageResult = exports.ValidationArchivePageResult || (exports.ValidationArchivePageResult = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DateOperator, EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier, MultilingualString, TimePeriodSettings } from "@omnia/fx-models";
|
|
1
|
+
import { DateOperator, EnterprisePropertyDefinition, GuidValue, Identity, IVersionedDataIdentifier, MultilingualString, TimePeriodSettings } from "@omnia/fx-models";
|
|
2
2
|
import { PageId } from ".";
|
|
3
3
|
import { ChildStructureType } from "..";
|
|
4
4
|
import { QueryFilter } from "../query";
|
|
@@ -22,6 +22,10 @@ export interface OpenAIPropertiesMapping {
|
|
|
22
22
|
summaryProp: string;
|
|
23
23
|
textProp: string;
|
|
24
24
|
}
|
|
25
|
+
export interface ApprovalBypassSettings {
|
|
26
|
+
enableApprovalBypass: boolean;
|
|
27
|
+
usersOrGroups: Array<Identity>;
|
|
28
|
+
}
|
|
25
29
|
export interface PageCollectionData extends PlainPageData {
|
|
26
30
|
availablePageTypes: Array<PageId>;
|
|
27
31
|
contentAnalysisRules: Array<ContentAnalysisSetting>;
|
|
@@ -47,6 +51,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
47
51
|
semanticSearchEnabled: boolean;
|
|
48
52
|
enableWCAGPageChecker?: boolean;
|
|
49
53
|
overridePageNotificationEnabled?: boolean;
|
|
54
|
+
approvalBypassSettings?: ApprovalBypassSettings;
|
|
50
55
|
/**
|
|
51
56
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
52
57
|
* */
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { PageImage } from "../pagequery";
|
|
2
|
+
export interface PageDialogEnterprisePropertySettings {
|
|
3
|
+
internalName: string;
|
|
4
|
+
showLabel?: boolean;
|
|
5
|
+
mode?: number;
|
|
6
|
+
format?: string;
|
|
7
|
+
hideAvatar?: boolean;
|
|
8
|
+
textOnly?: boolean;
|
|
9
|
+
separator?: string;
|
|
10
|
+
}
|
|
2
11
|
export interface PageDialogData {
|
|
3
12
|
title: string;
|
|
4
13
|
summary: string;
|
|
@@ -8,6 +17,9 @@ export interface PageDialogData {
|
|
|
8
17
|
like: number;
|
|
9
18
|
comment: number;
|
|
10
19
|
date?: string;
|
|
20
|
+
properties?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
11
23
|
}
|
|
12
24
|
export interface PageDialogPropertiesMapping {
|
|
13
25
|
contentImgProp: string;
|
|
@@ -15,4 +27,7 @@ export interface PageDialogPropertiesMapping {
|
|
|
15
27
|
contentProp: string;
|
|
16
28
|
contactProp: string;
|
|
17
29
|
dateProp: string;
|
|
30
|
+
propertiesSeparator?: string;
|
|
31
|
+
enterpriseProperties?: string[];
|
|
32
|
+
enterprisePropertySettings?: PageDialogEnterprisePropertySettings[];
|
|
18
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator, UserIdentity } from "@omnia/fx-models";
|
|
2
|
-
import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
|
|
2
|
+
import type { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
|
|
3
3
|
import { SharepointSyncPageSettings } from "../../../sp";
|
|
4
4
|
import { PageId } from "./Page";
|
|
5
5
|
import { PageData } from "./PageData";
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { PageData } from "./PageData";
|
|
2
|
+
/**
|
|
3
|
+
* Represents the approval bypass history for a page version.
|
|
4
|
+
*/
|
|
5
|
+
export interface ApprovalBypassHistory {
|
|
6
|
+
bypassedAttempted: boolean;
|
|
7
|
+
bypassedAt?: string;
|
|
8
|
+
bypassedByUserId: string;
|
|
9
|
+
}
|
|
2
10
|
export interface PlainPageData extends PageData {
|
|
3
11
|
title: string;
|
|
12
|
+
pageBypassApprovalHistory?: ApprovalBypassHistory;
|
|
4
13
|
}
|
|
@@ -2,6 +2,7 @@ import { PageId } from "./Page";
|
|
|
2
2
|
import { AuditingInformation } from "../auditinginformation/AuditingInformation";
|
|
3
3
|
import { VersionId } from "./VersionedPageData";
|
|
4
4
|
import { Identity } from "@omnia/fx-models";
|
|
5
|
+
import { PageData } from "./PageData";
|
|
5
6
|
export interface VersionInformation extends AuditingInformation {
|
|
6
7
|
versionId: VersionId;
|
|
7
8
|
pageId: PageId;
|
|
@@ -10,6 +11,7 @@ export interface VersionInformation extends AuditingInformation {
|
|
|
10
11
|
minorVersion: number;
|
|
11
12
|
checkedOutBy: Identity;
|
|
12
13
|
suspendedAt?: string;
|
|
14
|
+
pageData?: PageData;
|
|
13
15
|
}
|
|
14
16
|
export type PageEnterprisePropertyDictionary = {
|
|
15
17
|
[internalName: string]: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Identity } from "@omnia/fx-models";
|
|
2
|
-
import { ApprovalData, PageId, SchedulingSettings, VersionId } from "../pages";
|
|
2
|
+
import { ApprovalBypassSettings, ApprovalData, PageId, SchedulingSettings, VersionId } from "../pages";
|
|
3
3
|
export declare enum RuleStatus {
|
|
4
4
|
Unassigned = 0,
|
|
5
5
|
Success = 1,
|
|
@@ -27,6 +27,7 @@ export interface PublishingRule<T extends PublishingRuleData = PublishingRuleDat
|
|
|
27
27
|
}
|
|
28
28
|
export interface ApprovalSettings {
|
|
29
29
|
approvalData: ApprovalData;
|
|
30
|
+
approvalBypassSettings?: ApprovalBypassSettings;
|
|
30
31
|
enableSendPageEmail: boolean;
|
|
31
32
|
schedulingSettings: SchedulingSettings;
|
|
32
33
|
}
|