@omnia/fx 7.1.37-dev → 7.1.39-dev

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.
@@ -129,6 +129,7 @@ export declare module Utils {
129
129
  function isEqual(value: any, other: any): any;
130
130
  function safeStringify(value: any): string;
131
131
  function getFileType(fileName: string): string;
132
+ function isImageFormatSupportForMediaPicker(fileName: string): boolean;
132
133
  function formatDateTime(regionalSettings: TenantRegionalSettings, date?: Date | string): string;
133
134
  function removeClaimPrefixFromLoginName(loginName: string): string;
134
135
  function getManifestIdByElementName(elementName: string): GuidValue;
@@ -600,7 +600,6 @@ export interface OmniaUxLocalization {
600
600
  LegacyPre7Permissions: {
601
601
  Category: string;
602
602
  Description: string;
603
- ConsentInformation: string;
604
603
  Title: string;
605
604
  };
606
605
  LegacyUserProfileCard: {
@@ -612,6 +611,7 @@ export interface OmniaUxLocalization {
612
611
  Category: string;
613
612
  Description: string;
614
613
  Title: string;
614
+ ConsentInformation: string;
615
615
  };
616
616
  TextCompletion: {
617
617
  Category: string;
@@ -34,11 +34,11 @@ declare const _default: {
34
34
  };
35
35
  scrollContainer: {
36
36
  maxHeight: string;
37
- overflowY: "scroll";
37
+ overflowY: "auto";
38
38
  };
39
39
  scrollContainerWithoutTabs: {
40
40
  maxHeight: string;
41
- overflowY: "scroll";
41
+ overflowY: "auto";
42
42
  };
43
43
  inputLabel: {
44
44
  $nest: {
@@ -26,7 +26,6 @@ export declare class MediaPickerImageHandler {
26
26
  static calculateBase64Size(b64Data: string): number;
27
27
  static getDefaultLimitedSizeSettings(): MediaPickerLimitedSizeSettings;
28
28
  static isImageFormatSupportForScaling(imageFormat: string): boolean;
29
- static isImageFormatSupportForMediaPicker(imageFormat: string): boolean;
30
29
  /**
31
30
  * Retrieve imgUrl from svg string
32
31
  * @param {LegacySvgImage} svgImg
@@ -10,6 +10,12 @@ export default class MediaPickerToolbar extends ToolbarExtension implements Medi
10
10
  private loc;
11
11
  showAddMedia: boolean;
12
12
  isPastingMedia: boolean;
13
+ clipboardDataTypes: {
14
+ plainText: string;
15
+ htmlText: string;
16
+ rtfText: string;
17
+ files: string;
18
+ };
13
19
  created(): void;
14
20
  mounted(): void;
15
21
  beforeDestroy(): void;
@@ -3,7 +3,7 @@ import { IMediaPicker } from "@omnia/fx/ux";
3
3
  interface ParsingMicrosoftWordImageHandlerProps extends MediaPickerToolbarProperties {
4
4
  mediaPicker: IMediaPicker;
5
5
  }
6
- export declare module ParsingMicrosoftWordImageHandler {
6
+ export declare module PastingMicrosoftOfficeImageHandler {
7
7
  function onPaste(data: DataTransfer, props: ParsingMicrosoftWordImageHandlerProps): Promise<void>;
8
8
  }
9
9
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.1.37-dev",
4
+ "version": "7.1.39-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.1.37-dev",
23
+ "@omnia/fx-models": "7.1.39-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",