@omnia/wcm 7.12.2 → 7.12.3

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.
@@ -1,6 +1,7 @@
1
1
  import { LayoutItem } from "@omnia/fx-models";
2
2
  import { LinkItem, LinkNavigationData, NavigationData, NavigationNode, Page, PageDetailQueryResult, PageId, PageNavigationData, PageNavigationNode, SharepointPageIdentifier, Variation, VariationId, VariationString } from "@omnia/wcm/models";
3
3
  export declare namespace Utils {
4
+ function ensureWebParam(documentUrl: URL): string;
4
5
  function escapeHtmlAttribute(value: string): string;
5
6
  function isSupportedByOfficeWebApp(documentUrlOrExtension: string): boolean;
6
7
  /**
@@ -39,6 +40,7 @@ export declare namespace Utils {
39
40
  function findClosetValidContainerForAbsoluteElement(element: Element): any;
40
41
  function ensureSpaceInDateString(dateString: string): string;
41
42
  function isVariationPageNeverPublished(node: PageNavigationNode<PageNavigationData>, pageId: number): boolean;
43
+ function isSupportedByWebViewer(fileExtension: string): boolean;
42
44
  }
43
45
  export declare module TreeUtils {
44
46
  function removeTreeNode<T extends {
@@ -1,6 +1,6 @@
1
- import { types } from "typestyle";
2
1
  import { HeadingConfiguration, SpacingSettings } from "@omnia/fx-models";
3
2
  import { ITheming } from "@omnia/fx/ux";
3
+ import { types } from "typestyle";
4
4
  import { BannerBlockProperty } from "./BannerBlock";
5
5
  export declare const BannerBlockStyles: {
6
6
  editorContainer?: types.NestedCSSProperties;
@@ -13,6 +13,7 @@ export declare const BannerBlockStyles: {
13
13
  settingTooltip?: types.NestedCSSProperties;
14
14
  settingButton?: types.NestedCSSProperties;
15
15
  bannerLink?: types.NestedCSSProperties;
16
+ bannerLinkEditMode?: types.NestedCSSProperties;
16
17
  bannerUserLink?: types.NestedCSSProperties;
17
18
  bannerLinkNoCursor?: types.NestedCSSProperties;
18
19
  bannerImage?: (previewMode?: boolean, emptyImage?: boolean) => types.NestedCSSProperties;
@@ -1,10 +1,11 @@
1
- import { NavigationNode, PageNavigationNode, PageNavigationData, LinkItem, NavigationData } from "../models";
1
+ import { LinkItem, NavigationData, NavigationNode, PageNavigationData, PageNavigationNode } from "../models";
2
2
  export declare class WcmUxCore {
3
3
  private wcmRouter;
4
4
  private navigationStore;
5
5
  private omniaContext;
6
6
  private subscriptionHandler;
7
7
  private appStore;
8
+ private fileStorageService;
8
9
  enabledMSTeamsDeepLinkExecution: boolean;
9
10
  private static _instance;
10
11
  private isPageEditMode;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "SEE LICENSE IN LICENSE.txt",
4
- "version": "7.12.2",
4
+ "version": "7.12.3",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"