@omnia/fx 8.0.264-dev → 8.0.265-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
  3. package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
  4. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
  5. package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
  7. package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
  8. package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
  9. package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
  10. package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
  11. package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
  12. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
  13. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
  14. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.css.d.ts → floweditor/FlowEditorToolbar.css.d.ts} +1 -1
  15. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/EditorCommands.d.ts +8 -7
  16. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
  17. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/HtmlNodehelper.d.ts +2 -2
  18. package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
  19. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
  20. package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
  21. package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
  22. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
  23. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
  25. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  26. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
  27. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
  33. package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +24 -24
  34. package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +107 -107
  35. package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
  36. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
  38. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
  39. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +2 -2
  40. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
  41. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
  42. package/internal-do-not-import-from-here/wctypings.d.ts +10 -16
  43. package/package.json +2 -2
  44. package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
  45. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -5
  46. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
  47. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
  48. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -21
  49. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -18
  50. package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
  51. package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
  52. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
  53. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
  54. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
  55. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
  56. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
  57. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
  58. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
  59. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
  60. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
  61. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
  62. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
  63. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
  64. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -1,11 +1,11 @@
1
- import { MarkdownEditorActionRegistration, guid } from "@omnia/fx-models";
1
+ import { FlowEditorActionRegistration, guid } from "@omnia/fx-models";
2
2
  import { type Editor } from "internal/fx/libs/toastui";
3
3
  export declare const useMarkdownEditorStore: () => {
4
4
  state: {
5
5
  toolbar: {
6
6
  show: boolean;
7
- textActions: MarkdownEditorActionRegistration[];
8
- additionalActions: MarkdownEditorActionRegistration[];
7
+ textActions: FlowEditorActionRegistration[];
8
+ additionalActions: FlowEditorActionRegistration[];
9
9
  };
10
10
  toolbarOwnerId: guid;
11
11
  activeEditor: Editor;
@@ -13,8 +13,8 @@ export declare const useMarkdownEditorStore: () => {
13
13
  events: {
14
14
  onMutatedToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<{
15
15
  show: boolean;
16
- textActions: MarkdownEditorActionRegistration[];
17
- additionalActions: MarkdownEditorActionRegistration[];
16
+ textActions: FlowEditorActionRegistration[];
17
+ additionalActions: FlowEditorActionRegistration[];
18
18
  }>;
19
19
  onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
20
20
  onMutatedActiveEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<Editor>;
@@ -39,7 +39,7 @@ export declare const useMarkdownEditorStore: () => {
39
39
  };
40
40
  toolbar: {
41
41
  subscribe(fn: (result: {
42
- addAdditionalAction: (action: MarkdownEditorActionRegistration) => void;
42
+ addAdditionalAction: (action: FlowEditorActionRegistration) => void;
43
43
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
44
  };
45
45
  editor: {
@@ -65,7 +65,7 @@ export declare const useMarkdownEditorStore: () => {
65
65
  exec: (command: string, payload: any) => void;
66
66
  };
67
67
  toolbar: () => {
68
- addAdditionalAction: (action: MarkdownEditorActionRegistration) => void;
68
+ addAdditionalAction: (action: FlowEditorActionRegistration) => void;
69
69
  };
70
70
  editor: () => {
71
71
  onEnter: (editor: Editor, editorId: guid) => void;
@@ -30,7 +30,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
30
30
  item: import("typestyle/lib/types").NestedCSSProperties;
31
31
  inline: import("typestyle/lib/types").NestedCSSProperties;
32
32
  };
33
- } & DefineSlot<"renderer", (resolvedIdentity: IResolvedIdentity) => VNodeChild> & DefineSlot<"renderer", (renderProps: {
33
+ } & DefineSlot<"left", (resolvedIdentity: IResolvedIdentity) => VNodeChild> & DefineSlot<"right", (resolvedIdentity: IResolvedIdentity) => VNodeChild> & DefineSlot<"renderer", (renderProps: {
34
34
  identities: Array<IResolvedIdentity>;
35
35
  }) => VNodeChild>>) => any;
36
36
  export default _default;
@@ -1,11 +1,14 @@
1
1
  import { TagsPropertyDefinition, IPropertyDisplayRenderer, PropertyValueType, Tag, IIcon, TagsDisplaySettings } from "@omnia/fx-models";
2
2
  import { DefineProp, DefineSlot, DefineVModel, TagsFieldDisplayStyles } from "@omnia/fx/ux";
3
+ import { VNodeChild } from "vue";
3
4
  export type TagsDisplayProps = IPropertyDisplayRenderer<TagsPropertyDefinition> & ComponentProps;
4
5
  type ComponentProps = DefineVModel<"", PropertyValueType<TagsPropertyDefinition>> & DefineProp<"displaySettings", TagsDisplaySettings> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"clickableIcon", IIcon> & DefineProp<"appendedTagContents", {
5
6
  [tagName: string]: {
6
7
  icon: IIcon;
7
8
  title: string;
8
9
  };
9
- }[]> & DefineProp<"hideSelected", boolean> & DefineProp<"styles", typeof TagsFieldDisplayStyles> & DefineProp<"contentColor", string> & DefineProp<"onTagClicked", (tag: Tag) => void> & DefineProp<"persistentLabels", boolean, false, false> & DefineSlot<"appendedElement", () => JSX.Element>;
10
+ }[]> & DefineProp<"hideSelected", boolean> & DefineProp<"styles", typeof TagsFieldDisplayStyles> & DefineProp<"contentColor", string> & DefineProp<"onTagClicked", (tag: Tag) => void> & DefineProp<"persistentLabels", boolean, false, false> & DefineSlot<"appendedElement", () => JSX.Element> & DefineSlot<"renderer", (renderProps: {
11
+ tags: Array<Tag>;
12
+ }) => VNodeChild>;
10
13
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<TagsDisplayProps>) => any;
11
14
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
1
+ import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
2
2
  type InsertMode = "add" | "change";
3
3
  export interface InsertOptions {
4
4
  preInsert?: boolean;
@@ -108,7 +108,7 @@ export declare const useVelcronContentEditorStore: () => {
108
108
  };
109
109
  plugins: {
110
110
  subscribe(fn: (result: {
111
- register: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => void;
111
+ register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
112
112
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
113
113
  };
114
114
  selectorActions: {
@@ -199,7 +199,7 @@ export declare const useVelcronContentEditorStore: () => {
199
199
  } & {
200
200
  setMarkdownEditorStore(store: any): void;
201
201
  plugins: () => {
202
- register: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => void;
202
+ register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
203
203
  };
204
204
  selectorActions: () => {
205
205
  hideDefaultSelector: () => void;
@@ -4,6 +4,7 @@ import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, Velcron
4
4
  import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
5
5
  import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx/models";
6
6
  import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
7
+ import { IDataSourcePropertySelection } from "internal/fx/ux/properties/models/PropertyPicker";
7
8
  export interface ResolvedComponentRenderer {
8
9
  component: unknown;
9
10
  definition: VelcronDefinition;
@@ -372,8 +373,7 @@ export interface VelcronPropertyDefinitionValue {
372
373
  }
373
374
  export interface VelcronPropertyDefinitionValueResolver {
374
375
  name: string;
375
- provider: string;
376
- path: string;
376
+ source: IDataSourcePropertySelection;
377
377
  }
378
378
  export type VelcronRenderProps<TDefinition> = {
379
379
  definition: TDefinition;
@@ -2,10 +2,10 @@ import { VelcronPropertyDefinition } from "../../core";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
4
  definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
5
- renderContext: import("vue").Prop<import("../../core").VelcronRenderContext, import("../../core").VelcronRenderContext>;
5
+ renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
6
6
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
7
7
  definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
8
- renderContext: import("vue").Prop<import("../../core").VelcronRenderContext, import("../../core").VelcronRenderContext>;
8
+ renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
9
9
  }>>, {}, true, {}, {}, {
10
10
  P: {};
11
11
  B: {};
@@ -15,18 +15,18 @@ declare const _default: {
15
15
  Defaults: {};
16
16
  }, Readonly<import("vue").ExtractPropTypes<{
17
17
  definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
18
- renderContext: import("vue").Prop<import("../../core").VelcronRenderContext, import("../../core").VelcronRenderContext>;
18
+ renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
19
19
  }>>, {}, {}, {}, {}, {}>;
20
20
  __isFragment?: never;
21
21
  __isTeleport?: never;
22
22
  __isSuspense?: never;
23
23
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
24
24
  definition: import("vue").Prop<VelcronPropertyDefinition, VelcronPropertyDefinition>;
25
- renderContext: import("vue").Prop<import("../../core").VelcronRenderContext, import("../../core").VelcronRenderContext>;
25
+ renderContext: import("vue").Prop<import("@omnia/fx-models").VelcronRenderContext, import("@omnia/fx-models").VelcronRenderContext>;
26
26
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
27
27
  propsDefinition: Omit<Readonly<{} & {
28
28
  definition?: VelcronPropertyDefinition;
29
- renderContext?: import("../../core").VelcronRenderContext;
29
+ renderContext?: import("@omnia/fx-models").VelcronRenderContext;
30
30
  }>, never>;
31
31
  };
32
32
  export default _default;
@@ -1,13 +1,13 @@
1
- import { VelcronPropertyResolverEditorSettings } from "@omnia/fx-models";
1
+ import { VelcronPropertyDefinitionValueResolver, VelcronPropertyResolverEditorSettings } from "@omnia/fx-models";
2
2
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
3
  settings?: VelcronPropertyResolverEditorSettings;
4
4
  } & {
5
- "emit:update:modelValue": (value: {}) => void;
5
+ "emit:update:modelValue": (value: VelcronPropertyDefinitionValueResolver[]) => void;
6
6
  } & {
7
- "v-model"?: {};
7
+ "v-model"?: VelcronPropertyDefinitionValueResolver[];
8
8
  } & {
9
- "onUpdate:modelValue"?: (value: {}) => void;
9
+ "onUpdate:modelValue"?: (value: VelcronPropertyDefinitionValueResolver[]) => void;
10
10
  } & {
11
- modelValue?: {};
11
+ modelValue?: VelcronPropertyDefinitionValueResolver[];
12
12
  }>) => any;
13
13
  export default _default;
@@ -39,6 +39,7 @@ import wc7813f37afbf34cb085a2ef74e71e20fa from './ux/filterengine/components/ren
39
39
  import wc373cd0c180af441ca9f973b1da4de7f9 from './ux/filterengine/components/renderer/PropertyListRenderer';
40
40
  import wc0b99953ef72848a7936f51500d69d771 from './ux/filterengine/components/renderer/date/DateTimePeriodSlider';
41
41
  import wc46a6c15c2a0e446fbef9770274409366 from './ux/filterpicker/FilterPicker';
42
+ import wcfaee0b6397494a9abca9c480856e2498 from './ux/floweditor/FlowEditor';
42
43
  import wca673e0befd6649dda5e680ae1cd3535d from './ux/governancedashboard/NumericIndicator';
43
44
  import wca377536b4fd84773a9730966623601cd from './ux/governancedashboard/BarChartIndicator';
44
45
  import wc08b9c70d2a77433f8492dc0fb50d900e from './ux/grecaptcha/GRecaptcha';
@@ -66,7 +67,6 @@ import wcd836de74ad894f4999e21046b1ba2cab from './ux/magiclink/MagicLinkFailure'
66
67
  import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
67
68
  import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
68
69
  import wccbd18219fce4454d92afd1867f0ef43b from './ux/markdown/MarkdownToolbar';
69
- import wcfaee0b6397494a9abca9c480856e2498 from './ux/markdown2/MarkdownEditorFuture';
70
70
  import wce9bb3179713943d787e139cedf749838 from './ux/mediapickerimage/MediaPickerImage';
71
71
  import wc4b2648ed8b124e62a09b21b099b43399 from './ux/mediapickervideo/MediaPickerVideo';
72
72
  import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
@@ -217,7 +217,6 @@ import wc4aed54beb02341e3a6cbde5af5fb6c78 from './ux/layoutcanvas/layoutactionha
217
217
  import wc02c473f7041b40038ceecdf09e6ba4ca from './ux/layoutcanvas/layoutactionhandler/LayoutActionSettings';
218
218
  import wc0b2ee63495854227a082987161a9e641 from './ux/layoutcanvas/renderer/LayoutBlockRendererHelper';
219
219
  import wcf346db89a53b404690b1795429fb0162 from './ux/layoutcanvas/renderer/LayoutRendererCanvas';
220
- import wcdc73e71c4fdf47bbb5f48c6d998b4229 from './ux/markdown2/markdowntester/MarkdownTester';
221
220
  import wc96c7e84dfb66450796fe123aea7999c5 from './ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer';
222
221
  import wcc15cd6402e584ab18c73ed2b5e3eded9 from './ux/mediagallery/view/MediaDisplayRenderer';
223
222
  import wc29f45ded4fb4479fab6fd6fd79505642 from './ux/mediapickerV2/chrome/MediaPicker';
@@ -1309,6 +1308,15 @@ declare global {
1309
1308
  };
1310
1309
  } : typeof wc46a6c15c2a0e446fbef9770274409366;
1311
1310
  };
1311
+ "flow": {
1312
+ "editor": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
1313
+ propsDefinition: infer TProp;
1314
+ } ? {
1315
+ new (...args: any[]): {
1316
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1317
+ };
1318
+ } : typeof wcfaee0b6397494a9abca9c480856e2498;
1319
+ };
1312
1320
  "numeric": {
1313
1321
  "indicator": typeof wca673e0befd6649dda5e680ae1cd3535d extends {
1314
1322
  propsDefinition: infer TProp;
@@ -1578,13 +1586,6 @@ declare global {
1578
1586
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1579
1587
  };
1580
1588
  } : typeof wccbd18219fce4454d92afd1867f0ef43b;
1581
- "future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
1582
- propsDefinition: infer TProp;
1583
- } ? {
1584
- new (...args: any[]): {
1585
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1586
- };
1587
- } : typeof wcfaee0b6397494a9abca9c480856e2498;
1588
1589
  };
1589
1590
  "renderer": typeof wcc8b990d01ddc45ab930b4409fc406435 extends {
1590
1591
  propsDefinition: infer TProp;
@@ -1600,13 +1601,6 @@ declare global {
1600
1601
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1601
1602
  };
1602
1603
  } : typeof wc744b3f31e00c4815b63ecaf638ad7a7a;
1603
- "tester": typeof wcdc73e71c4fdf47bbb5f48c6d998b4229 extends {
1604
- propsDefinition: infer TProp;
1605
- } ? {
1606
- new (...args: any[]): {
1607
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1608
- };
1609
- } : typeof wcdc73e71c4fdf47bbb5f48c6d998b4229;
1610
1604
  };
1611
1605
  "media": {
1612
1606
  "picker": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.264-dev",
4
+ "version": "8.0.265-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": "8.0.264-dev",
23
+ "@omnia/fx-models": "8.0.265-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,2 +0,0 @@
1
- export * from "./MarkdownToolbarStateStore";
2
- export * from "./MarkdownPluginStore";
@@ -1,5 +0,0 @@
1
- import { ContentNodeReference } from "../../models/EditorModels";
2
- export declare function useEditorNodeHelper(): {
3
- getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
4
- getNodesInArrayByDataType: (nodes: Array<ContentNodeReference>, dataType: string) => Array<ContentNodeReference>;
5
- };
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- container: {
3
- fontSize: number;
4
- };
5
- };
6
- export default _default;
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
10
- __isFragment?: never;
11
- __isTeleport?: never;
12
- __isSuspense?: never;
13
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
- propsDefinition: Omit<Readonly<{} & {}>, never>;
15
- };
16
- export default _default;
@@ -1,21 +0,0 @@
1
- export interface EditorContent {
2
- version: string;
3
- nodes: ContentNode[];
4
- }
5
- export interface ContentNode {
6
- type: string;
7
- children?: ContentNode[];
8
- }
9
- export interface TextEditorNode extends ContentNode {
10
- text: string;
11
- }
12
- export interface ContentNodeReference {
13
- type: string;
14
- id: number;
15
- element: HTMLElement;
16
- }
17
- export interface NodeSelection {
18
- commonAncestorContainer: ContentNodeReference;
19
- formatting: ContentNodeReference[];
20
- nodes: ContentNodeReference[];
21
- }
@@ -1,18 +0,0 @@
1
- import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
2
- import { useMarkdownStore } from "../stores/MarkdownStore";
3
- import { ContentNode } from "./EditorModels";
4
- import { useMarkdownToolbarStore } from "../stores/MarkdownToolbarStore";
5
- export interface EditorPlugin {
6
- name: string;
7
- commands?: object;
8
- actions?: Array<MarkdownEditorActionRegistration>;
9
- }
10
- export interface EditorFormattingPlugin extends EditorPlugin {
11
- toJSON: (el: HTMLElement) => ContentNode;
12
- toHtml: (node: ContentNode, ctx: EditorPluginContext) => HTMLElement;
13
- }
14
- export interface EditorPluginContext {
15
- componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
16
- editorStore: ReturnType<typeof useMarkdownStore>;
17
- toolbarStore: ReturnType<typeof useMarkdownToolbarStore>;
18
- }
@@ -1,8 +0,0 @@
1
- import { EditorPlugin } from "../models/EditorPlugin";
2
- import { EditorContent } from "../models/EditorModels";
3
- export declare function useHtmlParser(state: {
4
- editor: HTMLDivElement;
5
- plugins: Array<EditorPlugin>;
6
- }): {
7
- toJSON: () => EditorContent;
8
- };
@@ -1,8 +0,0 @@
1
- import { EditorContent } from "../models/EditorModels";
2
- import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- export declare function useJSONParser(state: {
4
- editor: HTMLDivElement;
5
- plugins: Array<EditorPlugin>;
6
- }, pluginContext: EditorPluginContext): {
7
- loadJSONToEditor: (editorContent: EditorContent) => any;
8
- };
@@ -1,7 +0,0 @@
1
- import { ContentNode } from "../../models/EditorModels";
2
- export interface TextContentNode extends ContentNode {
3
- value?: string;
4
- }
5
- export declare const textPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
6
- dispose?: () => void;
7
- };