@omnia/fx-models 8.0.217-dev → 8.0.219-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.
@@ -24,6 +24,10 @@ export interface OmniaSharedBootstrapData {
24
24
  serviceDnsMapping: OmniaServiceToDnsMapping;
25
25
  authDisabled?: boolean;
26
26
  analytics: OmniaAnalytics;
27
+ /**
28
+ * Don't use it, only for test perf
29
+ */
30
+ location: typeof window.location;
27
31
  }
28
32
  export interface OmniaAnalytics {
29
33
  paq: any[];
@@ -3,6 +3,7 @@ import { guid } from "../Guid";
3
3
  import { VelcronAppDefinition } from "./VelcronDefinition";
4
4
  export interface VelcronSectionInstance {
5
5
  contentId: guid;
6
+ registrationId: guid;
6
7
  definition: VelcronAppDefinition;
7
8
  spacing?: Spacing;
8
9
  }
@@ -7,6 +7,8 @@ export declare const BuiltInVelcronDefinitionRendererTypes: {
7
7
  };
8
8
  export declare const BuiltInVelcronDefinitionCategories: {
9
9
  content: guid;
10
+ textContent: guid;
11
+ mediaContent: guid;
10
12
  header: guid;
11
13
  divider: guid;
12
14
  buttons: guid;
@@ -10,6 +10,8 @@ exports.BuiltInVelcronDefinitionRendererTypes = {
10
10
  };
11
11
  exports.BuiltInVelcronDefinitionCategories = {
12
12
  content: (0, Guid_1.guid)("340c5684-6085-4da7-8dc7-89047b8af3a5"),
13
+ textContent: (0, Guid_1.guid)("9e0cacb7-d556-4892-922e-1323f1ece40a"),
14
+ mediaContent: (0, Guid_1.guid)("7d2d2e25-308a-4eb7-b8d2-71f3b9d359a1"),
13
15
  header: (0, Guid_1.guid)("366ca292-68c3-4a6e-9ac8-1f5633c9dd15"),
14
16
  divider: (0, Guid_1.guid)("d715f13b-72d6-4cdd-b07b-2495d8865500"),
15
17
  buttons: (0, Guid_1.guid)("76138dc6-1408-4609-b4fb-178ae67be0b2"),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.217-dev",
4
+ "version": "8.0.219-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,7 +1,6 @@
1
1
  import { EditorCommand, EditorMenuBar, ToolbarProperties, EditorBubbleMenuBar, MediaPickerMedia } from "@omnia/fx-models";
2
2
  import { NodePosition } from "../../ux/richtexteditor";
3
3
  export interface MediaPickerNodeCommand extends EditorCommand {
4
- mediaPicker?: (option: MediaPickerNodeCommand) => void;
5
4
  }
6
5
  export interface MediaPickerMenuCommand extends EditorCommand {
7
6
  }
@@ -1,9 +1,9 @@
1
- import { TipTapEditor } from "./TipTapEditor";
2
- import { EditorMenuBar } from "./EditorMenuBar";
1
+ import { EditorMenuBar } from "@omnia/fx-models";
3
2
  import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
+ import { Editor } from "@tiptap/vue-3";
4
4
  export interface ToolbarProperties<T> {
5
5
  menubar?: EditorMenuBar<T>;
6
- editor?: TipTapEditor;
6
+ editor?: Editor;
7
7
  content?: string;
8
8
  onContentChanged?: (content: string) => void;
9
9
  onBlur?: () => void;
@@ -0,0 +1,8 @@
1
+ import { FontAwesomeIcon, guid } from "@omnia/fx-models";
2
+ export interface BorderSelectorActionRegistration {
3
+ id: guid;
4
+ icon: FontAwesomeIcon;
5
+ altText?: string;
6
+ categoryFilters?: Array<guid>;
7
+ velcronTemplateId?: guid;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./VelcronDefinitionRegistration";
2
+ export * from "./BorderSelectorActionRegistration";
package/velcron/index.js CHANGED
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./VelcronDefinitionRegistration"), exports);
5
+ tslib_1.__exportStar(require("./BorderSelectorActionRegistration"), exports);