@omnia/wcm 7.11.33 → 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/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
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { SpacingSettings, MultilingualString, BlockSettingsWithDefaultProperty } from "@omnia/fx-models";
|
|
2
|
+
export type AccordionHeadingElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
2
3
|
export interface AccordionBlockSettings extends BlockSettingsWithDefaultProperty<AccordionBlockProperty> {
|
|
3
4
|
blockTitle?: MultilingualString;
|
|
4
5
|
color?: AccordionColor;
|
|
5
6
|
headerSpacing?: SpacingSettings;
|
|
6
7
|
contentSpacing?: SpacingSettings;
|
|
7
8
|
blockSpacing?: SpacingSettings;
|
|
9
|
+
headingElement?: AccordionHeadingElement;
|
|
8
10
|
}
|
|
9
11
|
export interface AccordionBlockProperty {
|
|
10
12
|
accordions: AccordionItem[];
|
|
@@ -3,7 +3,23 @@ import { LinkItem } from ".";
|
|
|
3
3
|
export declare enum BannerLayout {
|
|
4
4
|
ImageOnTop = 1,
|
|
5
5
|
TitleonImage = 3,
|
|
6
|
-
TitleandDescriptiononImage = 2
|
|
6
|
+
TitleandDescriptiononImage = 2,
|
|
7
|
+
ImageOnLeft = 4,
|
|
8
|
+
ImageOnRight = 5
|
|
9
|
+
}
|
|
10
|
+
export declare enum BannerHorizontalImageTextRatio {
|
|
11
|
+
ImageNarrow = "30/70",
|
|
12
|
+
Equal = "50/50",
|
|
13
|
+
ImageWide = "70/30"
|
|
14
|
+
}
|
|
15
|
+
export declare enum BannerTitleElement {
|
|
16
|
+
Default = "default",
|
|
17
|
+
H1 = "h1",
|
|
18
|
+
H2 = "h2",
|
|
19
|
+
H3 = "h3",
|
|
20
|
+
H4 = "h4",
|
|
21
|
+
H5 = "h5",
|
|
22
|
+
H6 = "h6"
|
|
7
23
|
}
|
|
8
24
|
export interface LinkSetting {
|
|
9
25
|
link: LinkItem;
|
|
@@ -13,6 +29,7 @@ export interface BannerColorsSettings {
|
|
|
13
29
|
contentColor?: string;
|
|
14
30
|
footerColor?: string;
|
|
15
31
|
backgroundColor?: string;
|
|
32
|
+
borderColor?: string;
|
|
16
33
|
}
|
|
17
34
|
export interface BannerMediaContent {
|
|
18
35
|
}
|
|
@@ -26,6 +43,11 @@ export interface BannerBlockProperty {
|
|
|
26
43
|
linkSetting?: LinkSetting;
|
|
27
44
|
opacity?: number;
|
|
28
45
|
spacing?: SpacingSettings;
|
|
46
|
+
horizontalImageTextRatio?: BannerHorizontalImageTextRatio;
|
|
47
|
+
elevation?: number;
|
|
48
|
+
borderRadius?: number;
|
|
49
|
+
borderWidth?: number;
|
|
50
|
+
titleElement?: BannerTitleElement;
|
|
29
51
|
}
|
|
30
52
|
export interface BannerBlockSettings extends BlockSettingsWithDefaultProperty<BannerBlockProperty> {
|
|
31
53
|
blockTitle: MultilingualString;
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BannerLayout = void 0;
|
|
3
|
+
exports.BannerTitleElement = exports.BannerHorizontalImageTextRatio = exports.BannerLayout = void 0;
|
|
4
4
|
var BannerLayout;
|
|
5
5
|
(function (BannerLayout) {
|
|
6
6
|
BannerLayout[BannerLayout["ImageOnTop"] = 1] = "ImageOnTop";
|
|
7
7
|
BannerLayout[BannerLayout["TitleonImage"] = 3] = "TitleonImage";
|
|
8
8
|
BannerLayout[BannerLayout["TitleandDescriptiononImage"] = 2] = "TitleandDescriptiononImage";
|
|
9
|
+
BannerLayout[BannerLayout["ImageOnLeft"] = 4] = "ImageOnLeft";
|
|
10
|
+
BannerLayout[BannerLayout["ImageOnRight"] = 5] = "ImageOnRight";
|
|
9
11
|
})(BannerLayout = exports.BannerLayout || (exports.BannerLayout = {}));
|
|
12
|
+
var BannerHorizontalImageTextRatio;
|
|
13
|
+
(function (BannerHorizontalImageTextRatio) {
|
|
14
|
+
BannerHorizontalImageTextRatio["ImageNarrow"] = "30/70";
|
|
15
|
+
BannerHorizontalImageTextRatio["Equal"] = "50/50";
|
|
16
|
+
BannerHorizontalImageTextRatio["ImageWide"] = "70/30";
|
|
17
|
+
})(BannerHorizontalImageTextRatio = exports.BannerHorizontalImageTextRatio || (exports.BannerHorizontalImageTextRatio = {}));
|
|
18
|
+
var BannerTitleElement;
|
|
19
|
+
(function (BannerTitleElement) {
|
|
20
|
+
BannerTitleElement["Default"] = "default";
|
|
21
|
+
BannerTitleElement["H1"] = "h1";
|
|
22
|
+
BannerTitleElement["H2"] = "h2";
|
|
23
|
+
BannerTitleElement["H3"] = "h3";
|
|
24
|
+
BannerTitleElement["H4"] = "h4";
|
|
25
|
+
BannerTitleElement["H5"] = "h5";
|
|
26
|
+
BannerTitleElement["H6"] = "h6";
|
|
27
|
+
})(BannerTitleElement = exports.BannerTitleElement || (exports.BannerTitleElement = {}));
|
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
|
-
import { SpacingSettings } from "@omnia/fx-models";
|
|
2
|
+
import { HeadingConfiguration, SpacingSettings } from "@omnia/fx-models";
|
|
3
3
|
import { ITheming } from "@omnia/fx/ux";
|
|
4
|
+
import { BannerBlockProperty } from "./BannerBlock";
|
|
4
5
|
export declare const BannerBlockStyles: {
|
|
5
6
|
editorContainer?: types.NestedCSSProperties;
|
|
6
7
|
listItemTitleMedia?: types.NestedCSSProperties;
|
|
7
8
|
containerWapper?: types.NestedCSSProperties;
|
|
8
9
|
container?: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
9
|
-
contentSection?: (
|
|
10
|
+
contentSection?: (content: BannerBlockProperty, previewMode?: boolean, emptyContent?: boolean) => types.NestedCSSProperties;
|
|
10
11
|
welcomeWrapper?: types.NestedCSSProperties;
|
|
11
12
|
setting?: types.NestedCSSProperties;
|
|
12
13
|
settingTooltip?: types.NestedCSSProperties;
|
|
13
14
|
settingButton?: types.NestedCSSProperties;
|
|
14
15
|
bannerLink?: types.NestedCSSProperties;
|
|
16
|
+
bannerUserLink?: types.NestedCSSProperties;
|
|
15
17
|
bannerLinkNoCursor?: types.NestedCSSProperties;
|
|
16
18
|
bannerImage?: (previewMode?: boolean, emptyImage?: boolean) => types.NestedCSSProperties;
|
|
17
19
|
bannerEditingContent?: types.NestedCSSProperties;
|
|
18
20
|
imageWapper?: types.NestedCSSProperties;
|
|
21
|
+
horizontalWrapper?: (imageLeft: boolean) => types.NestedCSSProperties;
|
|
22
|
+
horizontalImageWrapper?: (imageWidthPercent: number) => types.NestedCSSProperties;
|
|
23
|
+
horizontalContentWrapper?: types.NestedCSSProperties;
|
|
19
24
|
contentWrapper?: (spacing: SpacingSettings, contentOnImage?: boolean, emptyImage?: boolean) => types.NestedCSSProperties;
|
|
20
25
|
headlineArea?: (color: string) => types.NestedCSSProperties;
|
|
26
|
+
headlineElement?: (heading: HeadingConfiguration, color: string) => types.NestedCSSProperties;
|
|
21
27
|
contentArea?: (color: string, paddingBottom: number) => types.NestedCSSProperties;
|
|
22
28
|
overlay?: (opacity: number) => types.NestedCSSProperties;
|
|
23
29
|
footer?: (bgColor: string, color: string, paddingTop: boolean, spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
@@ -37,5 +43,35 @@ export declare const BannerBlockStyles: {
|
|
|
37
43
|
wrapperWithoutToolbar?: types.NestedCSSProperties;
|
|
38
44
|
fullHeightWrapper?: types.NestedCSSProperties;
|
|
39
45
|
rightPanelWithoutActionButtons?: types.NestedCSSProperties;
|
|
46
|
+
editorShell?: types.NestedCSSProperties;
|
|
47
|
+
editorScrollColumn?: types.NestedCSSProperties;
|
|
48
|
+
editorAside?: types.NestedCSSProperties;
|
|
49
|
+
editorPreviewColumn?: types.NestedCSSProperties;
|
|
50
|
+
editorSection?: types.NestedCSSProperties;
|
|
51
|
+
editorSectionTitle?: types.NestedCSSProperties;
|
|
52
|
+
anchorNavigation?: types.NestedCSSProperties;
|
|
53
|
+
anchorNavigationTitle?: types.NestedCSSProperties;
|
|
54
|
+
anchorNavigationItem?: types.NestedCSSProperties;
|
|
55
|
+
previewPanel?: types.NestedCSSProperties;
|
|
56
|
+
previewPanelTitle?: types.NestedCSSProperties;
|
|
57
|
+
layoutTemplateGrid?: types.NestedCSSProperties;
|
|
58
|
+
layoutTemplateButton?: types.NestedCSSProperties;
|
|
59
|
+
layoutTemplateButtonActive?: types.NestedCSSProperties;
|
|
60
|
+
layoutTemplateIcon?: types.NestedCSSProperties;
|
|
61
|
+
layoutTemplateImage?: types.NestedCSSProperties;
|
|
62
|
+
layoutTemplateText?: types.NestedCSSProperties;
|
|
63
|
+
layoutTemplateLine?: types.NestedCSSProperties;
|
|
64
|
+
layoutTemplateOverlay?: types.NestedCSSProperties;
|
|
65
|
+
layoutTemplateTitle?: types.NestedCSSProperties;
|
|
66
|
+
mediaPreviewCard?: types.NestedCSSProperties;
|
|
67
|
+
mediaPreviewImage?: types.NestedCSSProperties;
|
|
68
|
+
mediaPreviewPlaceholder?: types.NestedCSSProperties;
|
|
69
|
+
mediaPreviewOverlay?: types.NestedCSSProperties;
|
|
70
|
+
mediaPreviewActions?: types.NestedCSSProperties;
|
|
71
|
+
ratioControlGroup?: types.NestedCSSProperties;
|
|
72
|
+
ratioButton?: types.NestedCSSProperties;
|
|
73
|
+
ratioButtonActive?: types.NestedCSSProperties;
|
|
74
|
+
ratioIcon?: types.NestedCSSProperties;
|
|
75
|
+
ratioIconPane?: types.NestedCSSProperties;
|
|
40
76
|
hideElement?: types.NestedCSSProperties;
|
|
41
77
|
};
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
import { SpacingSettings } from "@omnia/fx-models";
|
|
2
|
+
export type BreadcrumbStylePreset = "omnia-classic" | "minimal-slash" | "pill-current" | "bold-underline" | "arrow-trail" | "dot-divider" | "custom";
|
|
3
|
+
export type BreadcrumbCurrentIndicator = "plain" | "bold" | "color" | "pill";
|
|
4
|
+
export type BreadcrumbSeparator = "chevron" | "slash" | "arrow" | "dot" | "pipe" | "guillemet";
|
|
5
|
+
export type BreadcrumbHoverStyle = "none" | "underline" | "color" | "tint";
|
|
6
|
+
export type BreadcrumbDensity = "compact" | "comfortable" | "spacious";
|
|
2
7
|
export interface BreadcrumbBlockSettings {
|
|
3
8
|
excludeCurrentNode?: boolean;
|
|
4
9
|
includeDefaultPageCollectionNode?: boolean;
|
|
10
|
+
includePageCollectionNode?: boolean;
|
|
5
11
|
includeTenantNode?: boolean;
|
|
6
12
|
includeBusinessProfileNode?: boolean;
|
|
7
|
-
spacing?: SpacingSettings;
|
|
13
|
+
spacing?: SpacingSettings | null;
|
|
14
|
+
stylePreset?: BreadcrumbStylePreset;
|
|
15
|
+
currentIndicator?: BreadcrumbCurrentIndicator;
|
|
16
|
+
indicatorColor?: string | null;
|
|
17
|
+
indicatorBackgroundColor?: string | null;
|
|
18
|
+
separator?: BreadcrumbSeparator;
|
|
19
|
+
separatorColor?: string | null;
|
|
20
|
+
density?: BreadcrumbDensity;
|
|
21
|
+
fontSize?: number;
|
|
22
|
+
hoverStyle?: BreadcrumbHoverStyle;
|
|
23
|
+
hoverColor?: string | null;
|
|
24
|
+
hoverBackgroundColor?: string | null;
|
|
8
25
|
}
|
|
9
26
|
export interface BreadcrumbExtendedNode {
|
|
10
27
|
title: string;
|
package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlockSettingsStyles.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { types } from "typestyle";
|
|
2
|
+
import type { BreadcrumbBlockSettings, BreadcrumbCurrentIndicator, BreadcrumbHoverStyle } from "./BreadcrumbBlock";
|
|
3
|
+
export declare const BreadcrumbBlockSettingsStyles: {
|
|
4
|
+
sectionContainer?: types.NestedCSSProperties;
|
|
5
|
+
presetGrid?: types.NestedCSSProperties;
|
|
6
|
+
presetTile?: (active: boolean, dark: boolean, color: string) => types.NestedCSSProperties;
|
|
7
|
+
presetTilePreview?: types.NestedCSSProperties;
|
|
8
|
+
presetMiniCrumb?: (active: boolean, color: string, indicator: BreadcrumbCurrentIndicator) => types.NestedCSSProperties;
|
|
9
|
+
presetMiniSeparator?: types.NestedCSSProperties;
|
|
10
|
+
presetTileTitle?: types.NestedCSSProperties;
|
|
11
|
+
presetTileDescription?: types.NestedCSSProperties;
|
|
12
|
+
optionGroup?: types.NestedCSSProperties;
|
|
13
|
+
optionButton?: types.NestedCSSProperties;
|
|
14
|
+
optionButtonContent?: types.NestedCSSProperties;
|
|
15
|
+
separatorOptionIcon?: types.NestedCSSProperties;
|
|
16
|
+
indicatorOptionIcon?: (indicator: BreadcrumbCurrentIndicator, color: string) => types.NestedCSSProperties;
|
|
17
|
+
hoverOptionIcon?: (hoverStyle: BreadcrumbHoverStyle, color: string) => types.NestedCSSProperties;
|
|
18
|
+
previewWrapper?: types.NestedCSSProperties;
|
|
19
|
+
previewTrail?: (settings: BreadcrumbBlockSettings) => types.NestedCSSProperties;
|
|
20
|
+
previewCrumb?: (isCurrent: boolean, settings: BreadcrumbBlockSettings) => types.NestedCSSProperties;
|
|
21
|
+
previewSeparator?: (settings: BreadcrumbBlockSettings) => types.NestedCSSProperties;
|
|
22
|
+
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
2
|
import { SpacingSettings } from "@omnia/fx-models";
|
|
3
|
+
import type { BreadcrumbBlockSettings } from "./BreadcrumbBlock";
|
|
3
4
|
export declare const BreadcrumbBlockStyles: {
|
|
4
5
|
padding?: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
5
|
-
layout?: types.NestedCSSProperties;
|
|
6
|
-
breadcrumbLink?: types.NestedCSSProperties;
|
|
7
|
-
|
|
6
|
+
layout?: (settings: BreadcrumbBlockSettings) => types.NestedCSSProperties;
|
|
7
|
+
breadcrumbLink?: (settings: BreadcrumbBlockSettings, isCurrentNode: boolean) => types.NestedCSSProperties;
|
|
8
|
+
breadcrumbNodeWrapper?: types.NestedCSSProperties;
|
|
9
|
+
breadcrumbSeperator?: (settings: BreadcrumbBlockSettings) => types.NestedCSSProperties;
|
|
8
10
|
breadcrumbIcon?: types.NestedCSSProperties;
|
|
9
11
|
};
|
package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const CalendarRollupBlockListViewSettingsStyles: {
|
|
|
13
13
|
webLink: types.NestedCSSProperties;
|
|
14
14
|
webLinkIcon: types.NestedCSSProperties;
|
|
15
15
|
calendarItem: types.NestedCSSProperties;
|
|
16
|
+
calendarItemButton: types.NestedCSSProperties;
|
|
16
17
|
dateBox: types.NestedCSSProperties;
|
|
17
18
|
darkenOverlay: types.NestedCSSProperties;
|
|
18
19
|
dateContent: types.NestedCSSProperties;
|
|
@@ -21,12 +21,16 @@ export declare enum BuildInContentBlockTextStyleFormatting {
|
|
|
21
21
|
}
|
|
22
22
|
export interface ContentBlockBreakPointSettings {
|
|
23
23
|
formatting: GuidValue;
|
|
24
|
+
followPageStyles?: boolean;
|
|
25
|
+
pageStyle?: GuidValue;
|
|
24
26
|
spacing?: SpacingSettings;
|
|
25
27
|
customFormattingFontSize: number;
|
|
26
28
|
}
|
|
27
29
|
export interface ContentBlockSettings extends BlockSettingsWithDefaultProperty<string | MultilingualString> {
|
|
28
30
|
mode: ContentBlockModes;
|
|
29
31
|
formatting: GuidValue;
|
|
32
|
+
followPageStyles?: boolean;
|
|
33
|
+
pageStyle?: GuidValue;
|
|
30
34
|
customFormattingFontSize: number;
|
|
31
35
|
spacing?: SpacingSettings;
|
|
32
36
|
helpText?: string | MultilingualString;
|
|
@@ -3,9 +3,9 @@ import { SpacingSettings, HeadingConfiguration } from "@omnia/fx-models";
|
|
|
3
3
|
import { BuildInContentBlockTextStyleFormatting } from "./ContentBlock";
|
|
4
4
|
export declare const ContentBlockStyles: {
|
|
5
5
|
padding?: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
6
|
-
textField?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, redBorder: boolean, textColor: string, customFormattingFontSize: number) => types.NestedCSSProperties;
|
|
7
|
-
textArea?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, redBorder: boolean, textColor: string, customFormattingFontSize: number) => types.NestedCSSProperties;
|
|
8
|
-
plainTextWrapper?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, multiLine: boolean, customFormattingFontSize: number) => types.NestedCSSProperties;
|
|
6
|
+
textField?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, redBorder: boolean, textColor: string, customFormattingFontSize: number, followPageStyles?: boolean, bodyTextColor?: string) => types.NestedCSSProperties;
|
|
7
|
+
textArea?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, redBorder: boolean, textColor: string, customFormattingFontSize: number, followPageStyles?: boolean, bodyTextColor?: string) => types.NestedCSSProperties;
|
|
8
|
+
plainTextWrapper?: (heading: HeadingConfiguration, formatting: BuildInContentBlockTextStyleFormatting, multiLine: boolean, customFormattingFontSize: number, followPageStyles?: boolean) => types.NestedCSSProperties;
|
|
9
9
|
reachedLimitMsg?: types.NestedCSSProperties;
|
|
10
10
|
richTextRedBorder?: types.NestedCSSProperties;
|
|
11
11
|
blockWrapper?: types.NestedCSSProperties;
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import { SpacingSettings } from "@omnia/fx-models";
|
|
2
|
+
export type CurrentNavigationStylePreset = "omnia-classic" | "material-classic" | "classic" | "left-bar" | "tinted-pill" | "compact-bold" | "tree-pill" | "custom";
|
|
3
|
+
export type CurrentNavigationIndicator = "left-bar" | "filled-pill" | "bold-color" | "dot" | "outline";
|
|
4
|
+
export type CurrentNavigationExpandMode = "chevron-right" | "chevron-left" | "plus-minus" | "plus-minus-left" | "row-click";
|
|
5
|
+
export type CurrentNavigationDensity = "compact" | "comfortable" | "spacious";
|
|
6
|
+
export type CurrentNavigationHoverStyle = "tint" | "underline" | "bold" | "none";
|
|
7
|
+
export type CurrentNavigationIndentGuide = "none" | "dotted" | "solid" | "tree";
|
|
2
8
|
export interface CurrentNavigationBlockSettings {
|
|
3
9
|
startLevel: number;
|
|
4
10
|
getParentSiblings: boolean;
|
|
5
11
|
spacing?: SpacingSettings;
|
|
6
12
|
levelIndentation: number;
|
|
7
13
|
blockTitle: string;
|
|
14
|
+
stylePreset?: CurrentNavigationStylePreset;
|
|
15
|
+
currentIndicator?: CurrentNavigationIndicator;
|
|
16
|
+
indicatorColor?: string;
|
|
17
|
+
indicatorBackgroundColor?: string | null;
|
|
18
|
+
expandMode?: CurrentNavigationExpandMode;
|
|
19
|
+
expandIconColor?: string;
|
|
20
|
+
density?: CurrentNavigationDensity;
|
|
21
|
+
rowFontSize?: number;
|
|
22
|
+
hoverStyle?: CurrentNavigationHoverStyle;
|
|
23
|
+
hoverColor?: string;
|
|
24
|
+
hoverBackgroundColor?: string | null;
|
|
25
|
+
indentGuide?: CurrentNavigationIndentGuide;
|
|
8
26
|
}
|
package/internal-do-not-import-from-here/fx/models/components/CurrentNavigationBlockStyles.d.ts
CHANGED
|
@@ -1,17 +1,49 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
2
|
import { SpacingSettings, Theming } from "@omnia/fx-models";
|
|
3
|
+
import type { CurrentNavigationBlockSettings, CurrentNavigationHoverStyle, CurrentNavigationIndentGuide, CurrentNavigationIndicator } from "./CurrentNavigationBlock";
|
|
4
|
+
export interface CurrentNavigationHeaderStyleOptions {
|
|
5
|
+
legacyClassic?: boolean;
|
|
6
|
+
currentIndicator?: CurrentNavigationIndicator;
|
|
7
|
+
indicatorColor?: string;
|
|
8
|
+
indicatorBackgroundColor?: string | null;
|
|
9
|
+
density?: CurrentNavigationBlockSettings["density"];
|
|
10
|
+
rowFontSize?: number;
|
|
11
|
+
hoverStyle?: CurrentNavigationHoverStyle;
|
|
12
|
+
hoverColor?: string;
|
|
13
|
+
hoverBackgroundColor?: string | null;
|
|
14
|
+
}
|
|
3
15
|
export declare const CurrentNavigationBlockStyles: {
|
|
4
16
|
wrapper: types.NestedCSSProperties;
|
|
5
|
-
|
|
17
|
+
nodeWrapper?: (level: number, indentation: number, indentGuide: CurrentNavigationIndentGuide, rtl: boolean) => types.NestedCSSProperties;
|
|
18
|
+
headerWrapper: (level: number, indentation: number, isRoutePath: boolean, theming: Theming, padding: SpacingSettings, rtl: boolean, textColor: string, options?: CurrentNavigationHeaderStyleOptions) => types.NestedCSSProperties;
|
|
19
|
+
leftIcon?: types.NestedCSSProperties;
|
|
6
20
|
rightIcon: types.NestedCSSProperties;
|
|
21
|
+
expandIconButton?: (color: string) => types.NestedCSSProperties;
|
|
7
22
|
arrowBtnCollapsedDefault: types.NestedCSSProperties;
|
|
8
23
|
arrowBtnExpanded: types.NestedCSSProperties;
|
|
9
|
-
title: types.NestedCSSProperties;
|
|
24
|
+
title: (hasLeftIcon?: boolean, hasRightIcon?: boolean, options?: CurrentNavigationHeaderStyleOptions) => types.NestedCSSProperties;
|
|
10
25
|
textOverflow: types.NestedCSSProperties;
|
|
11
26
|
content: types.NestedCSSProperties;
|
|
12
27
|
contentHide: types.NestedCSSProperties;
|
|
13
28
|
textEllipsis: types.NestedCSSProperties;
|
|
14
29
|
};
|
|
15
30
|
export declare const CurrentNavigationBlockSettingsStyles: {
|
|
31
|
+
sectionContainer?: types.NestedCSSProperties;
|
|
16
32
|
levelIndentationIconWrapper?: types.NestedCSSProperties;
|
|
33
|
+
presetGrid?: types.NestedCSSProperties;
|
|
34
|
+
presetTile?: (active: boolean, dark: boolean, color: string) => types.NestedCSSProperties;
|
|
35
|
+
presetTilePreview?: types.NestedCSSProperties;
|
|
36
|
+
presetPreviewRow?: (active: boolean, color: string, variant?: string) => types.NestedCSSProperties;
|
|
37
|
+
presetTileTitle?: types.NestedCSSProperties;
|
|
38
|
+
presetTileDescription?: types.NestedCSSProperties;
|
|
39
|
+
optionGroup?: types.NestedCSSProperties;
|
|
40
|
+
optionButton?: types.NestedCSSProperties;
|
|
41
|
+
optionButtonContent?: types.NestedCSSProperties;
|
|
42
|
+
indicatorOptionIcon?: (indicator: CurrentNavigationIndicator, color: string) => types.NestedCSSProperties;
|
|
43
|
+
expandModeOptionIcon?: (color: string) => types.NestedCSSProperties;
|
|
44
|
+
hoverOptionIcon?: (hoverStyle: CurrentNavigationHoverStyle, color: string) => types.NestedCSSProperties;
|
|
45
|
+
indentGuideOptionIcon?: (indentGuide: CurrentNavigationIndentGuide) => types.NestedCSSProperties;
|
|
46
|
+
previewWrapper?: types.NestedCSSProperties;
|
|
47
|
+
previewRow?: (level: number, isActive: boolean, settings: CurrentNavigationBlockSettings) => types.NestedCSSProperties;
|
|
48
|
+
previewDot?: (settings: CurrentNavigationBlockSettings) => types.NestedCSSProperties;
|
|
17
49
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { BlockSettings } from "@omnia/fx-models";
|
|
1
|
+
import { BlockSettings, MultilingualString } from "@omnia/fx-models";
|
|
2
2
|
export declare const IFrameElementName: {
|
|
3
3
|
iframeBlockSettings: string;
|
|
4
4
|
iframeBlockEdit: string;
|
|
5
5
|
};
|
|
6
6
|
export interface IFrameBlockSettings extends BlockSettings {
|
|
7
|
+
blockTitle?: MultilingualString;
|
|
7
8
|
enterprisePropertyInternalName?: string;
|
|
8
9
|
linkUrl?: string;
|
|
10
|
+
iframeTitle?: MultilingualString;
|
|
9
11
|
iframeWidth?: string;
|
|
10
12
|
iframeHeight?: string;
|
|
11
13
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { IconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { SearchProviderCategory } from "@omnia/fx-sp";
|
|
3
|
+
import { SharePointSearchCategory } from "@omnia/workplace/models";
|
|
4
|
+
import { PageRollupUiFilter } from "./PageRollupBlock";
|
|
2
5
|
export declare enum OpenDocumentOptions {
|
|
3
6
|
OpenInWeb = "OpenInWeb",
|
|
4
7
|
OpenInWebNewTab = "OpenInWebNewTab",
|
|
@@ -43,6 +46,9 @@ export interface DocumentLinkItem extends LinkItem {
|
|
|
43
46
|
openDocumentOption?: OpenDocumentOptions;
|
|
44
47
|
durableInfo?: DurableInfo;
|
|
45
48
|
}
|
|
49
|
+
export interface UserLinkItem extends LinkItem, AnchorLinkItem {
|
|
50
|
+
user: string;
|
|
51
|
+
}
|
|
46
52
|
export interface DurableInfo {
|
|
47
53
|
/**
|
|
48
54
|
* Graph document ID.
|
|
@@ -63,3 +69,13 @@ export interface CustomLinkPropertyData extends LinkPickerPropertyData {
|
|
|
63
69
|
export interface AnchorLinkItem {
|
|
64
70
|
anchorName: string;
|
|
65
71
|
}
|
|
72
|
+
export interface SearchProviderCategoryUI extends SearchProviderCategory {
|
|
73
|
+
searchCategory?: SharePointSearchCategory;
|
|
74
|
+
}
|
|
75
|
+
export interface SearchBoxFilterExtension extends FilterExtension {
|
|
76
|
+
othersManagedProperties: Array<string>;
|
|
77
|
+
}
|
|
78
|
+
export interface FilterExtension extends PageRollupUiFilter {
|
|
79
|
+
managedProperty: string;
|
|
80
|
+
title: string;
|
|
81
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { EditorCommand } from "@omnia/fx-models";
|
|
2
2
|
export interface LinkPickerCommand extends EditorCommand {
|
|
3
3
|
linkPicker?: (option: {
|
|
4
|
-
href
|
|
4
|
+
href?: string;
|
|
5
5
|
title: string;
|
|
6
6
|
target: string;
|
|
7
7
|
onclick?: string;
|
|
8
8
|
tabindex?: number;
|
|
9
9
|
ariaLabel?: string;
|
|
10
|
+
dataProvider?: string;
|
|
11
|
+
dataId?: string;
|
|
10
12
|
}) => void;
|
|
11
13
|
}
|
|
12
14
|
export interface LinkPickerMenuCommand extends EditorCommand {
|
|
@@ -11,7 +11,6 @@ export declare const PagePickerNodeStyles: {
|
|
|
11
11
|
contentHide: types.NestedCSSProperties;
|
|
12
12
|
pageIcon?: types.NestedCSSProperties;
|
|
13
13
|
};
|
|
14
|
-
export declare const PagePickerProviderStyles: {};
|
|
15
14
|
export declare const SelectedPageItemStyles: {
|
|
16
15
|
treeWrapper: types.NestedCSSProperties;
|
|
17
16
|
isFullHeight: (fullHeight: boolean) => types.NestedCSSProperties;
|
|
@@ -27,3 +26,53 @@ export declare const PageItemTemplateStyles: {
|
|
|
27
26
|
linkItemTitleText?: types.NestedCSSProperties;
|
|
28
27
|
linkListItemContent?: types.NestedCSSProperties;
|
|
29
28
|
};
|
|
29
|
+
export declare const ListingResultModeStyles: {
|
|
30
|
+
fileTypeColumn?: types.NestedCSSProperties;
|
|
31
|
+
list?: types.NestedCSSProperties;
|
|
32
|
+
listItem?: types.NestedCSSProperties;
|
|
33
|
+
listItemContent?: types.NestedCSSProperties;
|
|
34
|
+
listItemAction?: types.NestedCSSProperties;
|
|
35
|
+
documentLink?: types.NestedCSSProperties;
|
|
36
|
+
};
|
|
37
|
+
export declare const PickFileDialogStyles: {
|
|
38
|
+
dialogContentClass?: types.NestedCSSProperties;
|
|
39
|
+
dialogHeightPercentage?: (heightPercentage: string) => types.NestedCSSProperties;
|
|
40
|
+
bodyWrapper?: types.NestedCSSProperties;
|
|
41
|
+
contentWrapper?: types.NestedCSSProperties;
|
|
42
|
+
loadingWrapper?: types.NestedCSSProperties;
|
|
43
|
+
};
|
|
44
|
+
export declare const SharepointPagePickerSearchProviderStyles: {
|
|
45
|
+
dateRangeSeperator?: types.NestedCSSProperties;
|
|
46
|
+
actionColumn?: types.NestedCSSProperties;
|
|
47
|
+
fileTypeColumn?: types.NestedCSSProperties;
|
|
48
|
+
filterSection?: types.NestedCSSProperties;
|
|
49
|
+
filterColumn?: (customWidth: number) => types.NestedCSSProperties;
|
|
50
|
+
link?: types.NestedCSSProperties;
|
|
51
|
+
};
|
|
52
|
+
export declare const SharepointPagePickerAdminStyles: {
|
|
53
|
+
dragdropSortWrapper?: types.NestedCSSProperties;
|
|
54
|
+
dragableRow?: types.NestedCSSProperties;
|
|
55
|
+
dragdropAddLink?: types.NestedCSSProperties;
|
|
56
|
+
flexWrapper?: types.NestedCSSProperties;
|
|
57
|
+
lockWrapper?: types.NestedCSSProperties;
|
|
58
|
+
lockInner?: types.NestedCSSProperties;
|
|
59
|
+
filterValueWrapper?: types.NestedCSSProperties;
|
|
60
|
+
adjustText?: types.NestedCSSProperties;
|
|
61
|
+
adjustIcon?: types.NestedCSSProperties;
|
|
62
|
+
adjustWidthTextbox?: types.NestedCSSProperties;
|
|
63
|
+
resolveUrlIcon?: types.NestedCSSProperties;
|
|
64
|
+
label?: types.NestedCSSProperties;
|
|
65
|
+
};
|
|
66
|
+
export declare const SharepointPagePickerSPLibProviderStyles: {
|
|
67
|
+
fileIcon?: types.NestedCSSProperties;
|
|
68
|
+
uploadPanel?: types.NestedCSSProperties;
|
|
69
|
+
uploadPanelItem?: types.NestedCSSProperties;
|
|
70
|
+
actionColumn?: types.NestedCSSProperties;
|
|
71
|
+
fileTypeColumn?: types.NestedCSSProperties;
|
|
72
|
+
pagingWrapper?: types.NestedCSSProperties;
|
|
73
|
+
breadcrumWrapper?: types.NestedCSSProperties;
|
|
74
|
+
breadcrumbItem?: types.NestedCSSProperties;
|
|
75
|
+
link?: types.NestedCSSProperties;
|
|
76
|
+
breadcrumSeperator?: types.NestedCSSProperties;
|
|
77
|
+
currentBreadcrumNode?: types.NestedCSSProperties;
|
|
78
|
+
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SharepointPagePickerSPLibProviderStyles = exports.SharepointPagePickerAdminStyles = exports.SharepointPagePickerSearchProviderStyles = exports.PickFileDialogStyles = exports.ListingResultModeStyles = exports.PageItemTemplateStyles = exports.SelectedPageItemStyles = exports.PagePickerNodeStyles = void 0;
|
|
4
4
|
exports.PagePickerNodeStyles = {};
|
|
5
|
-
exports.PagePickerProviderStyles = {};
|
|
6
5
|
exports.SelectedPageItemStyles = {};
|
|
7
6
|
exports.PageItemTemplateStyles = {};
|
|
7
|
+
exports.ListingResultModeStyles = {};
|
|
8
|
+
exports.PickFileDialogStyles = {};
|
|
9
|
+
exports.SharepointPagePickerSearchProviderStyles = {};
|
|
10
|
+
exports.SharepointPagePickerAdminStyles = {};
|
|
11
|
+
exports.SharepointPagePickerSPLibProviderStyles = {};
|
|
@@ -7,6 +7,7 @@ export interface MediaBlockSettings extends BlockSettingsWithDefaultProperty<Med
|
|
|
7
7
|
cropRatioUniqueIds?: Array<GuidValue>;
|
|
8
8
|
displaySettings: DisplaySettings;
|
|
9
9
|
enableMultiSelect: boolean;
|
|
10
|
+
requireAltText?: boolean;
|
|
10
11
|
displayNumber?: number;
|
|
11
12
|
borderRadius: string;
|
|
12
13
|
roundBorder?: boolean;
|
|
@@ -25,4 +25,6 @@ export declare const MegaMenuStyles: {
|
|
|
25
25
|
flexWrapper: types.NestedCSSProperties;
|
|
26
26
|
accessibilityLink: types.NestedCSSProperties;
|
|
27
27
|
accessibilityMenu: types.NestedCSSProperties;
|
|
28
|
+
gridWrapper: (numCols: number) => types.NestedCSSProperties;
|
|
29
|
+
gridCell: (colIdx: number, rowIdx: number) => types.NestedCSSProperties;
|
|
28
30
|
};
|
|
@@ -3,9 +3,24 @@ export declare enum CommentSorting {
|
|
|
3
3
|
OldestTop = 0,
|
|
4
4
|
NewestTop = 1
|
|
5
5
|
}
|
|
6
|
+
export declare enum DeletedCommentMessageOption {
|
|
7
|
+
WhenReferenced = 0,
|
|
8
|
+
Never = 1,
|
|
9
|
+
Always = 2
|
|
10
|
+
}
|
|
11
|
+
export interface PageCommentsAndLikesInputStyle {
|
|
12
|
+
elevation?: number;
|
|
13
|
+
border?: boolean;
|
|
14
|
+
borderWidth?: number;
|
|
15
|
+
borderRadius?: number;
|
|
16
|
+
borderColor?: string;
|
|
17
|
+
textColor?: string;
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
}
|
|
6
20
|
export interface PageCommentsAndLikesBlockSettings {
|
|
7
21
|
spacing?: SpacingSettings;
|
|
8
22
|
blockTitle: MultilingualString;
|
|
23
|
+
threadedComments?: boolean;
|
|
9
24
|
enableRichText: boolean;
|
|
10
25
|
enableMention?: boolean;
|
|
11
26
|
enableBestReply: boolean;
|
|
@@ -15,5 +30,7 @@ export interface PageCommentsAndLikesBlockSettings {
|
|
|
15
30
|
allowShare?: boolean;
|
|
16
31
|
pagingSize?: number;
|
|
17
32
|
cardStyle?: ThemeDefinition;
|
|
33
|
+
inputStyle?: PageCommentsAndLikesInputStyle;
|
|
18
34
|
enableYammer?: boolean;
|
|
35
|
+
deletedCommentMessageOption?: DeletedCommentMessageOption;
|
|
19
36
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CommentSorting = void 0;
|
|
3
|
+
exports.DeletedCommentMessageOption = exports.CommentSorting = void 0;
|
|
4
4
|
var CommentSorting;
|
|
5
5
|
(function (CommentSorting) {
|
|
6
6
|
CommentSorting[CommentSorting["OldestTop"] = 0] = "OldestTop";
|
|
7
7
|
CommentSorting[CommentSorting["NewestTop"] = 1] = "NewestTop";
|
|
8
8
|
})(CommentSorting = exports.CommentSorting || (exports.CommentSorting = {}));
|
|
9
|
+
var DeletedCommentMessageOption;
|
|
10
|
+
(function (DeletedCommentMessageOption) {
|
|
11
|
+
DeletedCommentMessageOption[DeletedCommentMessageOption["WhenReferenced"] = 0] = "WhenReferenced";
|
|
12
|
+
DeletedCommentMessageOption[DeletedCommentMessageOption["Never"] = 1] = "Never";
|
|
13
|
+
DeletedCommentMessageOption[DeletedCommentMessageOption["Always"] = 2] = "Always";
|
|
14
|
+
})(DeletedCommentMessageOption = exports.DeletedCommentMessageOption || (exports.DeletedCommentMessageOption = {}));
|
|
@@ -7,6 +7,8 @@ export interface EnterprisePropertiesBlockPropertySettings {
|
|
|
7
7
|
internalName: string;
|
|
8
8
|
blockTitle?: MultilingualString;
|
|
9
9
|
showLabel?: boolean;
|
|
10
|
+
showLabelText?: boolean;
|
|
11
|
+
showLabelIconWithValue?: boolean;
|
|
10
12
|
labelColor?: string;
|
|
11
13
|
contentColor?: string;
|
|
12
14
|
icon?: IIcon;
|
package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts
CHANGED
|
@@ -3,15 +3,22 @@ import { SpacingSettings } from "@omnia/fx-models";
|
|
|
3
3
|
import { ITheming } from "@omnia/fx/ux";
|
|
4
4
|
import { PagePropertiesBlockSettings } from ".";
|
|
5
5
|
export declare const PagePropertiesBlockAdvancedStyles: {
|
|
6
|
+
definitionList?: types.NestedCSSProperties;
|
|
6
7
|
propertyWrapper?: (settings: PagePropertiesBlockSettings, isFlexBox: boolean) => types.NestedCSSProperties;
|
|
7
8
|
propertyContentWrapper?: (settings: PagePropertiesBlockSettings, isFlexBox: boolean) => types.NestedCSSProperties;
|
|
9
|
+
propertyTerm?: types.NestedCSSProperties;
|
|
10
|
+
propertyDescription?: types.NestedCSSProperties;
|
|
8
11
|
icon?: types.NestedCSSProperties;
|
|
12
|
+
valueIcon?: types.NestedCSSProperties;
|
|
13
|
+
propertyValueWithIcon?: types.NestedCSSProperties;
|
|
14
|
+
propertyValueContent?: types.NestedCSSProperties;
|
|
9
15
|
propertyLabelWrapper?: (fullWidth: boolean, textColor: string) => types.NestedCSSProperties;
|
|
10
16
|
propertyLabel?: (fullWidth: boolean) => types.NestedCSSProperties;
|
|
11
17
|
propertyValue?: (textColor: string) => types.NestedCSSProperties;
|
|
12
18
|
propertiesWrapper?: (settings: PagePropertiesBlockSettings, theming: ITheming) => types.NestedCSSProperties;
|
|
13
19
|
separator?: (theming: ITheming) => types.NestedCSSProperties;
|
|
14
20
|
channelPropertyValue?: types.NestedCSSProperties;
|
|
21
|
+
visuallyHidden?: types.NestedCSSProperties;
|
|
15
22
|
};
|
|
16
23
|
export declare const PagePropertiesBlockStyles: {
|
|
17
24
|
padding?: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
@@ -9,6 +9,8 @@ export interface PageRollupViewSettingsRuntimeSettings {
|
|
|
9
9
|
export interface PageRollupViewSettings {
|
|
10
10
|
selectProperties: Array<string>;
|
|
11
11
|
showContentAsDialog: boolean;
|
|
12
|
+
showLikesCommentsInDialog?: boolean;
|
|
13
|
+
overrideDefaultDialogSettings?: boolean;
|
|
12
14
|
enableRichText: boolean;
|
|
13
15
|
disableViewButtonOnDialog?: boolean;
|
|
14
16
|
enableMention?: boolean;
|
|
@@ -26,11 +28,14 @@ export interface PageRollupViewSettings {
|
|
|
26
28
|
showExportToExcel: boolean;
|
|
27
29
|
pageInNewTab: boolean;
|
|
28
30
|
openInEditor: boolean;
|
|
31
|
+
openInSharePointFullPage?: boolean;
|
|
29
32
|
navigationStartNodeId?: number;
|
|
30
33
|
hideStartNode?: boolean;
|
|
31
34
|
showAZPaging?: boolean;
|
|
32
35
|
internalNamePropertyAZFilter?: string;
|
|
33
36
|
isAutoSelectFirstPropertyAZFilter?: boolean;
|
|
37
|
+
commentPeriod?: PageRollupEnums.DatePeriods;
|
|
38
|
+
likePeriod?: PageRollupEnums.DatePeriods;
|
|
34
39
|
}
|
|
35
40
|
export interface PageRollupDateSettings {
|
|
36
41
|
dateProp: string;
|
|
@@ -211,6 +216,7 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
211
216
|
currentUserSubscription?: boolean;
|
|
212
217
|
openPageInNewTab?: boolean;
|
|
213
218
|
openInEditor?: boolean;
|
|
219
|
+
openInSharePointFullPage?: boolean;
|
|
214
220
|
}
|
|
215
221
|
export interface PageRollupBlockProperty {
|
|
216
222
|
pickedPages?: Array<PageItemNode>;
|
|
@@ -275,6 +281,7 @@ export interface PageRollupBlockSettings {
|
|
|
275
281
|
versionStatus: PageRollupEnums.VersionStatus;
|
|
276
282
|
openPageInNewTab?: boolean;
|
|
277
283
|
openInEditor?: boolean;
|
|
284
|
+
openInSharePointFullPage?: boolean;
|
|
278
285
|
showMetric?: boolean;
|
|
279
286
|
metricSetting?: PageRollupMetricSettings;
|
|
280
287
|
filterEngine?: FilterEngineSettings;
|