@omnia/fx 7.11.11 → 7.11.13

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,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/events",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx events",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -39,6 +39,7 @@ export declare module Utils {
39
39
  * @param obj Object to test whether or not it is an function.
40
40
  */
41
41
  function isBoolean(obj: any): boolean;
42
+ function getSortingLocales(...localeCandidates: Array<string | null | undefined>): Array<string>;
42
43
  /**
43
44
  * Generate a new guid
44
45
  */
@@ -149,6 +150,7 @@ export declare module Utils {
149
150
  function getProfileUrl(uid: string): string;
150
151
  function getOfficeAppURI(fileUrl: string, extension: string): string;
151
152
  function getFileExtensionByFileUrl(url: string): string;
153
+ function ensureEncodedHashInFileUrl(url: string): string;
152
154
  function trapFocus(kevent: KeyboardEvent, anchors: {
153
155
  start: HTMLElement;
154
156
  end: HTMLElement;
@@ -27,6 +27,7 @@ export declare class FileUploader extends VueComponentBase implements IWebCompon
27
27
  limitedFileTypes: Array<string>;
28
28
  limitedFileSize?: number;
29
29
  hideOverlayIcon: boolean;
30
+ renameValidator?: (fileName: string) => string | null;
30
31
  omniaTheming: OmniaTheming;
31
32
  loc: FileUploaderLocalization.locInterface;
32
33
  omniaUxLoc: OmniaUxLocalization;
@@ -50,6 +51,7 @@ export declare class FileUploader extends VueComponentBase implements IWebCompon
50
51
  instructionIcon?: any;
51
52
  };
52
53
  customFileName: string;
54
+ renameError: string;
53
55
  selectingFileId: string;
54
56
  selectingFileExtension: string;
55
57
  uniqueId: string;
@@ -5,6 +5,7 @@ export interface IFileUploaderProperties {
5
5
  disabled?: boolean;
6
6
  multiple?: boolean;
7
7
  enablePasteClipboardData?: boolean;
8
+ renameValidator?: (fileName: string) => string | null;
8
9
  }
9
10
  /**File Uploader */
10
11
  export interface IFileUploader extends IFileUploaderProperties {
@@ -1,12 +1,11 @@
1
- import { Layout, LayoutEditorModes, LayoutItem, DisplayBreakPoint, LayoutItemActionState, SettingsPanelState, DisplayBreakPointSetting, DeleteItemFromLayoutPayLoad, AddItemToLayoutPayLoad, LayoutItemRegistration, LoadedLayout, ILayoutCanvasStore, LayoutCanvasModes, BlockRenderingModes, IBlockInstance, ILayoutSectionRenderer, GuidValue, Block, LayoutDrawerState, LayoutDrawerTabs, SectionSettings, SectionTypes, Section, LayoutInheritanceBehaviors, ThemeDefinition, ClipboardLayoutItem, BlockTemplate, ILayoutItemDelegator, IMessageBusSubscriptionHandler } from "../../../models";
2
- import { EditorLayoutItemFactory } from "../factories";
3
- import { LayoutEditorThemingManager, SectionOverride } from "../shared";
4
- import { BlockSettingsProvider, LayoutDefinitionBuilder } from "../shared";
5
1
  import { MessageBusExposeOnlySubscription } from "../../..";
6
- import { ThemeStore } from "../../theming";
7
- import { MultilingualStore, Store, StoreState } from "../../../stores";
8
2
  import { ServiceContainerContext } from "../../../core";
3
+ import { AddItemToLayoutPayLoad, Block, BlockRenderingModes, BlockTemplate, ClipboardLayoutItem, DeleteItemFromLayoutPayLoad, DisplayBreakPoint, DisplayBreakPointSetting, GuidValue, IBlockInstance, ILayoutCanvasStore, ILayoutItemDelegator, ILayoutSectionRenderer, IMessageBusSubscriptionHandler, Layout, LayoutCanvasModes, LayoutDrawerState, LayoutDrawerTabs, LayoutEditorModes, LayoutInheritanceBehaviors, LayoutItem, LayoutItemActionState, LayoutItemRegistration, LoadedLayout, Section, SectionSettings, SectionTypes, SettingsPanelState, ThemeDefinition } from "../../../models";
4
+ import { MultilingualStore, Store, StoreState } from "../../../stores";
9
5
  import { MultilingualContext } from "../../MultilingualContext";
6
+ import { ThemeStore } from "../../theming";
7
+ import { EditorLayoutItemFactory } from "../factories";
8
+ import { BlockSettingsProvider, LayoutDefinitionBuilder, LayoutEditorThemingManager, SectionOverride } from "../shared";
10
9
  export interface IBlockInstanceExtends<TSettings = void> extends IBlockInstance<TSettings> {
11
10
  settings: TSettings;
12
11
  serviceContainerContext: ServiceContainerContext;
@@ -9,11 +9,14 @@ export default class AnchorLinkMenu extends ToolbarExtension implements ToolbarP
9
9
  private omniaUxLoc;
10
10
  private showAnchorLinkMenu;
11
11
  private anchorName;
12
+ private anchorNameError;
13
+ private onAnchorNameChanged;
12
14
  private onSave;
13
15
  private onCloseAnchorLinkMenu;
14
16
  private getEditorState;
15
17
  private getSelectionText;
16
18
  private onShowAnchorLinkMenuClicked;
19
+ private hasInvalidAnchorName;
17
20
  private onRemoveAnchorName;
18
21
  render(): VueTsxSupport.JSX.Element;
19
22
  renderAnchorLinkDialog(): VueTsxSupport.JSX.Element;
@@ -69,6 +69,7 @@ export declare module RichTextEditorExtensionLocalization {
69
69
  AnchorLink: {
70
70
  Title: string;
71
71
  Remove: string;
72
+ InvalidAnchorNameMessage: string;
72
73
  };
73
74
  EmoticonPicker: {
74
75
  Title: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/messaging",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx messaging",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/models",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx models",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "SEE LICENSE IN LICENSE.txt",
4
- "version": "7.11.11",
4
+ "version": "7.11.13",
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": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.11.11",
23
+ "@omnia/fx-models": "7.11.13",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/services",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx services",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/sp/models",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx sp",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
package/sp/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/sp",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx sp",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
package/spfx/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx-spfx",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx spfx",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx-spfx/tooling",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx spfx tooling",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/stores",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia Fx Stores",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx.git"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux/admin",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux admin",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux/app",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux app",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux/editor",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux app",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
package/ux/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux/richtexteditor",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux admin",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnia/fx/ux/vuetify",
3
- "version": "1.0.0",
3
+ "version": "7.11.12",
4
4
  "description": "Omnia fx ux vuetify",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Omnia Digital Workplace AB",
@@ -9,4 +9,4 @@
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/omniaintranet/OmniaFx"
11
11
  }
12
- }
12
+ }