@omnia/fx 8.0.289-dev → 8.0.291-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.
Files changed (78) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +9 -1
  4. package/internal-do-not-import-from-here/ux/docs/Docs.d.ts +4 -0
  5. package/internal-do-not-import-from-here/ux/docs/bestpractices/index.d.ts +1 -0
  6. package/internal-do-not-import-from-here/ux/docs/bestpractices/typescript/index.md.d.ts +1 -0
  7. package/internal-do-not-import-from-here/ux/docs/imports.d.ts +1 -0
  8. package/internal-do-not-import-from-here/ux/documenticon/DocumentIcon.d.ts +7 -14
  9. package/internal-do-not-import-from-here/ux/flow/editor/FlowEditor.d.ts +5 -2
  10. package/internal-do-not-import-from-here/ux/flow/editor/commands/EditorCommands.d.ts +5 -5
  11. package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/EditorNodeHelper.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/HtmlNodehelper.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/flow/editor/components/EditorSelector.d.ts +1 -1
  14. package/internal-do-not-import-from-here/ux/flow/editor/models/index.d.ts +0 -2
  15. package/internal-do-not-import-from-here/ux/flow/editor/parsers/HtmlParser.d.ts +1 -2
  16. package/internal-do-not-import-from-here/ux/flow/editor/parsers/JSONParser.d.ts +1 -2
  17. package/internal-do-not-import-from-here/ux/flow/editor/plugins/DefineEditorPlugin.d.ts +2 -2
  18. package/internal-do-not-import-from-here/ux/flow/editor/plugins/bold/BoldPlugin.d.ts +2 -1
  19. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorButton.d.ts +23 -13
  20. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorConverter.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorStylePlugin.d.ts +2 -1
  22. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementConverter.d.ts +1 -2
  23. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementPlugin.d.ts +2 -1
  24. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/EditorEvents.d.ts +17 -2
  25. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/KeyboardEvents.d.ts +8 -2
  26. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +1 -1
  27. package/internal-do-not-import-from-here/ux/flow/editor/plugins/italic/ItalicPlugin.d.ts +2 -1
  28. package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkButton.d.ts +451 -0
  29. package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkConverter.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkPlugin.d.ts +4 -0
  31. package/internal-do-not-import-from-here/ux/flow/editor/plugins/sourceeditor/SourceEditorPlugin.d.ts +5 -2
  32. package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingButton.d.ts +23 -13
  33. package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingPlugin.d.ts +2 -1
  34. package/internal-do-not-import-from-here/ux/flow/editor/plugins/testdata/TestDataPlugin.d.ts +5 -2
  35. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextConverter.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextPlugin.d.ts +2 -1
  37. package/internal-do-not-import-from-here/ux/flow/editor/plugins/textalign/TextAlignPlugin.d.ts +2 -1
  38. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +23 -13
  39. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyPlugin.d.ts +2 -1
  40. package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/VelcronPlugin.d.ts +2 -1
  41. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +18 -8
  42. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +145 -95
  43. package/internal-do-not-import-from-here/ux/flow/editor/stores/VelcronPluginStore.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/link/LinkPlugin.d.ts +3 -0
  45. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +6 -0
  46. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointBlockSettingsComponent.d.ts +2 -20
  47. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSectionSettingsComponent.d.ts +2 -28
  48. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/breakpoints/BreakPointSettingsComponent.d.ts +6 -25
  49. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/BreakPointManager.d.ts +1 -1
  50. package/internal-do-not-import-from-here/ux/linkpicker/LinkPicker.d.ts +3 -5
  51. package/internal-do-not-import-from-here/ux/linkpicker/LinkRenderer.d.ts +2 -2
  52. package/internal-do-not-import-from-here/ux/linkpicker/factory/LinkItemFactory.d.ts +2 -7
  53. package/internal-do-not-import-from-here/ux/markdown/plugins/CodeComponent.d.ts +34 -0
  54. package/internal-do-not-import-from-here/ux/markdown/plugins/CodeMarkdownPlugin.d.ts +3 -0
  55. package/internal-do-not-import-from-here/ux/models/flow/LinkNode.d.ts +13 -0
  56. package/internal-do-not-import-from-here/ux/models/flow/index.d.ts +3 -0
  57. package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkPickerProvider.d.ts +1 -2
  58. package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkRenderer.d.ts +1 -1
  59. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItemHandler.d.ts +2 -3
  60. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +10 -10
  61. package/internal-do-not-import-from-here/ux/models/linkpicker/index.d.ts +0 -1
  62. package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +2 -2
  63. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +8 -0
  64. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +5 -0
  65. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -0
  66. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
  67. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
  68. package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
  69. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Grid.d.ts +32 -0
  70. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/LinkResolverEditor.d.ts +5 -0
  71. package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +13 -0
  72. package/internal-do-not-import-from-here/vue/vuecustomelement/Slots.d.ts +1 -0
  73. package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
  74. package/package.json +4 -4
  75. package/internal-do-not-import-from-here/ux/markdown/plugins/CodeMarkdownRenderer.d.ts +0 -0
  76. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItem.d.ts +0 -8
  77. /package/internal-do-not-import-from-here/ux/{flow/editor/models → models/flow}/EditorModels.d.ts +0 -0
  78. /package/internal-do-not-import-from-here/ux/{flow/editor/models → models/flow}/EditorPlugin.d.ts +0 -0
@@ -1,18 +1,18 @@
1
+ import { FlowNodeReference } from "@omnia/fx/ux";
1
2
  import { guid } from "@omnia/fx-models";
2
- import { FlowNodeReference } from "../../models";
3
3
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
4
4
  store?: {
5
5
  state: {
6
6
  editorContent: import("@omnia/fx/ux").FlowContent;
7
- plugins: import("../../models").FlowEditorPlugin[];
7
+ plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
8
8
  pluginsLoadedPromise: import("@omnia/fx-models").Future<void>;
9
9
  hideToolbar: boolean;
10
10
  toolbarActions: import("@omnia/fx-models").FlowEditorActionRegistration[];
11
11
  editor: HTMLDivElement;
12
- nodeSelection: import("../../models").NodeSelection;
12
+ nodeSelection: import("@omnia/fx/ux").NodeSelection;
13
13
  telePorts: JSX.Element[];
14
14
  id: string;
15
- pluginContext: import("../../models").FlowEditorPluginContext;
15
+ pluginContext: import("@omnia/fx/ux").FlowEditorPluginContext;
16
16
  selectedRange: Range;
17
17
  storedRange: Range;
18
18
  showPlaceHolder: boolean;
@@ -21,18 +21,21 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
21
21
  categoryFilters: guid[];
22
22
  rendererTypeFilters: guid[];
23
23
  };
24
+ settings: {
25
+ gridWidth: number;
26
+ };
24
27
  };
25
28
  events: {
26
29
  onMutatedEditorContent: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowContent>;
27
- onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("../../models").FlowEditorPlugin[]>;
30
+ onMutatedPlugins: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPlugin[]>;
28
31
  onMutatedPluginsLoadedPromise: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").Future<void>>;
29
32
  onMutatedHideToolbar: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
30
33
  onMutatedToolbarActions: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").FlowEditorActionRegistration[]>;
31
34
  onMutatedEditor: import("../../../../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
32
- onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("../../models").NodeSelection>;
35
+ onMutatedNodeSelection: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").NodeSelection>;
33
36
  onMutatedTelePorts: import("../../../../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
34
37
  onMutatedId: import("../../../../..").MessageBusExposeOnlySubscription<string>;
35
- onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("../../models").FlowEditorPluginContext>;
38
+ onMutatedPluginContext: import("../../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx/ux").FlowEditorPluginContext>;
36
39
  onMutatedSelectedRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
37
40
  onMutatedStoredRange: import("../../../../..").MessageBusExposeOnlySubscription<Range>;
38
41
  onMutatedShowPlaceHolder: import("../../../../..").MessageBusExposeOnlySubscription<boolean>;
@@ -41,6 +44,9 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
41
44
  categoryFilters: guid[];
42
45
  rendererTypeFilters: guid[];
43
46
  }>;
47
+ onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
+ gridWidth: number;
49
+ }>;
44
50
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
45
51
  actions: {
46
52
  onDispatching: {
@@ -94,7 +100,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
94
100
  register: {
95
101
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
96
102
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
97
- context: (ctx: import("../../models").FlowEditorPluginContext) => void;
103
+ context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
98
104
  };
99
105
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
100
106
  };
@@ -123,6 +129,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
123
129
  subscribe(fn: (result: {
124
130
  wrapLine: (element: HTMLElement) => void;
125
131
  add: (element: HTMLElement) => void;
132
+ addWithText: (element: HTMLElement, text: any) => void;
126
133
  toggle: (element: HTMLElement) => void;
127
134
  remove: (dataType: string) => void;
128
135
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -170,6 +177,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
170
177
  };
171
178
  formatting: {
172
179
  add: (element: HTMLElement) => void;
180
+ addWithTxt: (element: HTMLElement, text?: string) => void;
173
181
  wrapLine: (element: HTMLElement) => void;
174
182
  remove: (dataType: string | HTMLElement) => void;
175
183
  has: (dataType: string | HTMLElement) => boolean;
@@ -218,7 +226,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
218
226
  get: {
219
227
  topContainerForContent: (element: HTMLElement) => HTMLElement;
220
228
  topContainerForComponent: (element: HTMLElement) => HTMLElement;
221
- nodeSelectionForRange: (range: Range) => import("../../models").NodeSelection;
229
+ nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
222
230
  htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
223
231
  };
224
232
  remove: {
@@ -283,7 +291,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
283
291
  register: {
284
292
  plugin: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings) => void;
285
293
  plugins: (pluginSettings: import("@omnia/fx-models").FlowEditorPluginSettings | import("@omnia/fx-models").FlowEditorPluginSettings[]) => Promise<void>;
286
- context: (ctx: import("../../models").FlowEditorPluginContext) => void;
294
+ context: (ctx: import("@omnia/fx/ux").FlowEditorPluginContext) => void;
287
295
  };
288
296
  };
289
297
  content: () => {
@@ -304,6 +312,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
304
312
  formatting: () => {
305
313
  wrapLine: (element: HTMLElement) => void;
306
314
  add: (element: HTMLElement) => void;
315
+ addWithText: (element: HTMLElement, text: any) => void;
307
316
  toggle: (element: HTMLElement) => void;
308
317
  remove: (dataType: string) => void;
309
318
  };
@@ -347,6 +356,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
347
356
  };
348
357
  formatting: {
349
358
  add: (element: HTMLElement) => void;
359
+ addWithTxt: (element: HTMLElement, text?: string) => void;
350
360
  wrapLine: (element: HTMLElement) => void;
351
361
  remove: (dataType: string | HTMLElement) => void;
352
362
  has: (dataType: string | HTMLElement) => boolean;
@@ -395,7 +405,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
395
405
  get: {
396
406
  topContainerForContent: (element: HTMLElement) => HTMLElement;
397
407
  topContainerForComponent: (element: HTMLElement) => HTMLElement;
398
- nodeSelectionForRange: (range: Range) => import("../../models").NodeSelection;
408
+ nodeSelectionForRange: (range: Range) => import("@omnia/fx/ux").NodeSelection;
399
409
  htmlElementInStructureById: (id: string, currentElement: HTMLElement) => HTMLElement;
400
410
  };
401
411
  remove: {
@@ -414,7 +424,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
414
424
  };
415
425
  };
416
426
  get: {
417
- plugins: import("../../models").FlowEditorPlugin[];
427
+ plugins: import("@omnia/fx/ux").FlowEditorPlugin[];
418
428
  content: {
419
429
  isEmpty: () => boolean;
420
430
  asObject: () => import("@omnia/fx/ux").FlowContent;
@@ -426,7 +436,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
426
436
  };
427
437
  get: {
428
438
  byType: (pluginType: string) => FlowNodeReference[];
429
- all: () => import("../../models").NodeSelection;
439
+ all: () => import("@omnia/fx/ux").NodeSelection;
430
440
  };
431
441
  };
432
442
  element: {
@@ -1,3 +1,3 @@
1
1
  import { ColorValue } from "@omnia/fx-models";
2
- import { ElementConverter, FlowEditorPluginContext } from "../../models";
2
+ import { ElementConverter, FlowEditorPluginContext } from "@omnia/fx/ux";
3
3
  export declare function useColorConverter(elementCreator: (value: ColorValue, ctx: FlowEditorPluginContext) => HTMLElement): ElementConverter;
@@ -1,3 +1,4 @@
1
- export declare const colorStylePlugin: () => import("../../models").FlowEditorPlugin & {
1
+ import { FlowEditorContentPlugin } from "@omnia/fx/ux";
2
+ export declare const colorStylePlugin: () => FlowEditorContentPlugin & {
2
3
  dispose?: () => void;
3
4
  };
@@ -1,5 +1,4 @@
1
- import { FlowNode } from "@omnia/fx/ux";
2
- import { ElementConverter } from "../../models";
1
+ import { ElementConverter, FlowNode } from "@omnia/fx/ux";
3
2
  export interface ElementNode extends FlowNode {
4
3
  name: "br";
5
4
  }
@@ -1,3 +1,4 @@
1
- export declare const elementPlugin: () => import("../../models").FlowEditorPlugin & {
1
+ import { FlowEditorContentPlugin } from "@omnia/fx/ux";
2
+ export declare const elementPlugin: () => FlowEditorContentPlugin & {
2
3
  dispose?: () => void;
3
4
  };
@@ -1,4 +1,19 @@
1
- import { FlowEditorPlugin } from "../../models";
2
- export declare const editorEventsPlugin: () => FlowEditorPlugin & {
1
+ import { FlowEditorPluginContext } from "@omnia/fx/ux";
2
+ export declare const editorEventsPlugin: () => {
3
+ name: string;
4
+ eventListeners: ({
5
+ event: ("click" | "focus" | "input")[];
6
+ action: (event: Event, context: FlowEditorPluginContext) => void;
7
+ } | {
8
+ event: "focusout"[];
9
+ action: (event: Event, context: FlowEditorPluginContext) => void;
10
+ } | {
11
+ event: "copy";
12
+ action: (event: ClipboardEvent, context: FlowEditorPluginContext) => void;
13
+ } | {
14
+ event: "paste"[];
15
+ action: (event: ClipboardEvent, context: FlowEditorPluginContext) => void;
16
+ })[];
17
+ } & {
3
18
  dispose?: () => void;
4
19
  };
@@ -1,4 +1,10 @@
1
- import { FlowEditorPlugin } from "../../models";
2
- export declare const keyboardEventsPlugin: () => FlowEditorPlugin & {
1
+ import { FlowEditorPluginContext } from "@omnia/fx/ux";
2
+ export declare const keyboardEventsPlugin: () => {
3
+ name: string;
4
+ eventListeners: {
5
+ event: "keydown";
6
+ action: (event: KeyboardEvent, context: FlowEditorPluginContext) => void;
7
+ }[];
8
+ } & {
3
9
  dispose?: () => void;
4
10
  };
@@ -1,4 +1,4 @@
1
- import { FlowEditorPluginContext } from "../../../models";
1
+ import { FlowEditorPluginContext } from "@omnia/fx/ux";
2
2
  import { useFlowEditorStore } from "../../../stores";
3
3
  export declare function useClipboardHandler(): {
4
4
  paste: (ev: ClipboardEvent, editorStore: ReturnType<typeof useFlowEditorStore>) => void;
@@ -1,3 +1,4 @@
1
- export declare const italicPlugin: () => import("../../models").FlowEditorPlugin & {
1
+ import { FlowEditorContentPlugin } from "@omnia/fx/ux";
2
+ export declare const italicPlugin: () => FlowEditorContentPlugin & {
2
3
  dispose?: () => void;
3
4
  };