@omnia/wcm 6.3.19-preview → 6.3.19

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.
@@ -11,7 +11,6 @@ export declare class InternalWcmTopics {
11
11
  static get registerCalendarRollupView(): IMessageBusTopicPublishSubscriber<CalendarRollupRegistrationView>;
12
12
  static get registerPageRollupView(): IMessageBusTopicPublishSubscriber<PageRollupRegistrationView>;
13
13
  static get openRTFMediaPickerEditing(): IMessageBusTopicPublishSubscriber<RTFMediaPickerMessage>;
14
- static get sendImagetoMediaPastingProvider(): IMessageBusTopicPublishSubscriber<File>;
15
14
  static get openRTFLinkPickerEditing(): IMessageBusTopicPublishSubscriber<RTFLinkPickerMessage>;
16
15
  static get enableMSTeamsDeepLinkExecution(): IMessageBusTopicPublishSubscriber<boolean>;
17
16
  static get enableInputMSTeamsUrl(): IMessageBusTopicPublishSubscriber<boolean>;
@@ -15,6 +15,8 @@ export declare const PageRollupConstants: {
15
15
  readonly userVariationInternalName: string;
16
16
  readonly defaultVariationInternalName: string;
17
17
  readonly OPMProcessPropertyId: string;
18
+ readonly PageSizeMax: number;
19
+ readonly DefaultPageSize: number;
18
20
  };
19
21
  export declare const Constants: {
20
22
  social: {
@@ -18,7 +18,9 @@ export var PageRollupConstants = {
18
18
  //This should be removed when we properly fix the enterprise property
19
19
  get OPMProcessPropertyId() {
20
20
  return "7491ec1a-9cf5-4c49-b102-2f84f89795eb";
21
- }
21
+ },
22
+ get PageSizeMax() { return 200; },
23
+ get DefaultPageSize() { return 30; }
22
24
  };
23
25
  export var Constants = {
24
26
  social: {
@@ -96,7 +96,6 @@ export declare class WcmWebComponentManifests {
96
96
  static get PublishingAppsJourney(): Guid;
97
97
  static get Media(): Guid;
98
98
  static get MediaSettings(): Guid;
99
- static get FxUxMediaPickerPastingProvider(): Guid;
100
99
  static get Htmlscriptblock(): Guid;
101
100
  static get HtmlscriptblockSettings(): Guid;
102
101
  static get HtmlscriptblockContentEditor(): Guid;
@@ -469,11 +469,6 @@ var WcmWebComponentManifests = /** @class */ (function () {
469
469
  enumerable: false,
470
470
  configurable: true
471
471
  });
472
- Object.defineProperty(WcmWebComponentManifests, "FxUxMediaPickerPastingProvider", {
473
- get: function () { return new Guid("238e97e8-637c-47d9-bfb5-e9da8eceafc8"); },
474
- enumerable: false,
475
- configurable: true
476
- });
477
472
  Object.defineProperty(WcmWebComponentManifests, "Htmlscriptblock", {
478
473
  get: function () { return new Guid("5f5e464c-15e7-4beb-8352-cf80c231cc09"); },
479
474
  enumerable: false,
@@ -44,6 +44,7 @@ export declare class NavigationService extends LegacyNavigationService {
44
44
  move: <T extends NavigationNode<NavigationData>>(nodeToMove: T, newPosition: NavigationPosition) => Promise<MoveNavigationNodeResult>;
45
45
  getParentNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
46
46
  getChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
47
+ getMegamenuChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
47
48
  getNodesByIds: (nodeIds: Array<NodeId>) => Promise<{
48
49
  [nodeId: number]: NavigationNode<NavigationData>;
49
50
  }>;
@@ -59,6 +59,7 @@ export declare class NavigationStore extends Store {
59
59
  ensureParents: import("@omnia/fx/stores").StoreAction<unknown, (node: NavigationNode<NavigationData>) => void, (result: void, node: NavigationNode<NavigationData>) => void, (failureReason: any, node: NavigationNode<NavigationData>) => void, (node: NavigationNode<NavigationData>) => Promise<void>>;
60
60
  };
61
61
  private handleNavigationResult;
62
+ private ensureChildrenPromiseFulfilled;
62
63
  private addOrUpdate;
63
64
  private sortSiblingNodes;
64
65
  private getChildKey;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.3.19-preview",
4
+ "version": "6.3.19",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,17 +0,0 @@
1
- import { MediaPickerProviderComponentProps, TsxAllowUnknowProperties } from "@omnia/fx/ux";
2
- export interface IMediaPickerPastingProviderComponent extends MediaPickerProviderComponentProps {
3
- [name: string]: any;
4
- }
5
- declare global {
6
- namespace JSX {
7
- interface Element {
8
- }
9
- interface ElementClass {
10
- }
11
- interface ElementAttributesProperty {
12
- }
13
- interface IntrinsicElements {
14
- "wcm-media-picker-pasting-provider": TsxAllowUnknowProperties<IMediaPickerPastingProviderComponent>;
15
- }
16
- }
17
- }
@@ -1,13 +0,0 @@
1
- import { GuidValue, IIcon, MediaPickerEnums, MediaPickerPersistedImage, MediaPickerProvider, MediaPickerVideo } from "@omnia/fx-models";
2
- export declare class MediaPickerPastingHandlingProvider implements MediaPickerProvider {
3
- private loc;
4
- id: GuidValue;
5
- category: string;
6
- name: string;
7
- icon: IIcon;
8
- sortOrder?: number;
9
- selectableMediaTypes: MediaPickerEnums.OmniaMediaTypes[];
10
- providerComponentId: GuidValue;
11
- constructor();
12
- hasEditorForMedia: (media: MediaPickerVideo | MediaPickerPersistedImage) => boolean;
13
- }
@@ -1,14 +0,0 @@
1
- import { IWebComponentInstance } from '@omnia/fx';
2
- import { MediaProviderComponentBase, OmniaTheming } from '@omnia/fx/ux';
3
- import { IMediaPickerPastingProviderComponent } from './IMediaPickerPastingProvider';
4
- import { IMessageBusSubscriptionHandler } from '@omnia/fx-models';
5
- export declare class MediaPickerPastingProviderComponent extends MediaProviderComponentBase implements IWebComponentInstance, IMediaPickerPastingProviderComponent {
6
- omniaTheming: OmniaTheming;
7
- subscriptionHandler: IMessageBusSubscriptionHandler;
8
- constructor();
9
- created(): void;
10
- mounted(): void;
11
- private onAddedFile;
12
- onFilePaste(file: File): void;
13
- render(h: any): JSX.Element;
14
- }
@@ -1,5 +0,0 @@
1
- import { ITheming } from "@omnia/fx/ux";
2
- export declare const MediaPickerPastingStyles: {
3
- uploadIcon: string;
4
- providerWrapper: (theme: ITheming) => string;
5
- };