@omnia/wcm 7.12.2 → 7.12.4

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 {
@@ -157,6 +157,7 @@ export declare const PageBuiltInColumnConstants: {
157
157
  checkedOutBy: string;
158
158
  pageCollectionId: string;
159
159
  suspended: string;
160
+ relevance: string;
160
161
  };
161
162
  export declare const PageRollupFilterEngineContextPropertyTypes: {
162
163
  publishingApp: Guid;
@@ -249,7 +249,8 @@ exports.PageBuiltInColumnConstants = {
249
249
  workflowStatus: "WorkflowStatus",
250
250
  checkedOutBy: "CheckedOutBy",
251
251
  pageCollectionId: "PageCollectionId",
252
- suspended: "Suspended"
252
+ suspended: "Suspended",
253
+ relevance: "Relevance"
253
254
  };
254
255
  exports.PageRollupFilterEngineContextPropertyTypes = {
255
256
  publishingApp: new fx_models_1.Guid("754a1a89-c360-40f2-9bb5-4a1adee17a11"),
@@ -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,6 +1,6 @@
1
1
  import { OmniaContext } from "@omnia/fx";
2
- import { DocumentService } from "./DocumentService";
3
2
  import { DurableInfo, LinkItem } from "../models";
3
+ import { DocumentService } from "./DocumentService";
4
4
  export declare class DurableLinkService {
5
5
  documentService: DocumentService;
6
6
  omniaCtx: OmniaContext;
@@ -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.4",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"