@omnia/fx 8.0.265-dev → 8.0.266-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/internal-do-not-import-from-here/stores/floweditor/FlowEditorPluginStore.d.ts +1 -0
  2. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +4 -0
  3. package/internal-do-not-import-from-here/ux/aurora/designkits/default/DefinitionRegistrations.d.ts +0 -1
  4. package/internal-do-not-import-from-here/ux/aurora/designkits/pages/DefinitionRegistrations.d.ts +0 -1
  5. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +36 -0
  6. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +36 -0
  7. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/floweditor/FlowEditor.css.d.ts +5 -5
  9. package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +62 -16
  10. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +3 -2
  11. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/Editorhelper.d.ts +13 -5
  12. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +22 -6
  13. package/internal-do-not-import-from-here/ux/floweditor/models/Constants.d.ts +14 -0
  14. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +10 -0
  15. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +7 -0
  16. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/EditorEvents.d.ts +4 -0
  17. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/KeyboardEvents.d.ts +4 -0
  18. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +4 -0
  19. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +4 -0
  20. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/EnterHandler.d.ts +4 -0
  21. package/internal-do-not-import-from-here/ux/floweditor/plugins/sourceeditor/SourceEditorPlugin.d.ts +2 -1
  22. package/internal-do-not-import-from-here/ux/floweditor/plugins/testdata/TestDataPlugin.d.ts +2 -1
  23. package/internal-do-not-import-from-here/ux/floweditor/rules/EditorRules.d.ts +7 -0
  24. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorStore.d.ts +197 -27
  25. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorToolbarStore.d.ts +985 -135
  26. package/internal-do-not-import-from-here/ux/hub/feed/definitions/CommunityUpdate.d.ts +0 -2
  27. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DefinitionRegistrations.d.ts +0 -1
  28. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DocumentReview.d.ts +0 -2
  29. package/internal-do-not-import-from-here/ux/hub/feed/definitions/NewsArticleTemplate.d.ts +0 -2
  30. package/internal-do-not-import-from-here/ux/hub/feed/definitions/QuickPoll.d.ts +0 -2
  31. package/internal-do-not-import-from-here/ux/hub/feed/definitions/Reach.d.ts +0 -2
  32. package/internal-do-not-import-from-here/ux/hub/feed/definitions/UpdatedProcess.d.ts +0 -2
  33. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +1 -0
  34. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +18 -1
  36. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
  37. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +5 -1
  38. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  39. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +3 -3
  40. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/models → definitions}/VelcronDefinitionIds.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/velcron/definitions/index.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/velcron/definitions/social/index.d.ts +0 -0
  45. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +7 -7
  47. package/internal-do-not-import-from-here/ux/velcron/renderer/components/{Markdown.d.ts → Flow.d.ts} +6 -6
  48. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/MarkdownEditor.d.ts +6 -6
  49. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +47 -7
  50. package/internal-do-not-import-from-here/wctypings.d.ts +0 -16
  51. package/package.json +2 -2
  52. package/internal-do-not-import-from-here/ux/floweditor/commands/ClipboardCommands.d.ts +0 -4
  53. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +0 -6
  54. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +0 -949
  55. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/Quote.d.ts +0 -2
  56. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +0 -2
  57. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +0 -2
  58. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog.d.ts +0 -3
  59. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog2.d.ts +0 -3
  60. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Praise.d.ts +0 -2
  61. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/SocialText.d.ts +0 -2
  62. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +0 -4
  63. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +0 -9
  64. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +0 -2
  65. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +0 -180
  66. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +0 -1
  67. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.css.d.ts +0 -5
  68. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.d.ts +0 -1133
  69. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentRenderer.d.ts +0 -80
  70. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.css.d.ts +0 -4
  71. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.d.ts +0 -11
  72. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector copy.d.ts +0 -11
  73. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.css.d.ts +0 -12
  74. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.d.ts +0 -11
  75. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar copy.d.ts +0 -14
  76. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.css.d.ts +0 -4
  77. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.d.ts +0 -14
  78. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/DefinitionRegistrations.d.ts +0 -1
  79. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/index.d.ts +0 -1
  80. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  81. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.d.ts +0 -2
  82. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/EditorRenderingHooks.d.ts +0 -24
  83. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/index.d.ts +0 -1
  84. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/stores/ContentEditorStore.d.ts +0 -222
  85. /package/internal-do-not-import-from-here/ux/{aurora/RegistrationHandlerDefinitions.d.ts → velcron/apis/VelcronCategoriesHandler.d.ts} +0 -0
  86. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/DefinitionRegistrations.d.ts → apis/VelcronDefinitionsHandler.d.ts} +0 -0
  87. /package/internal-do-not-import-from-here/ux/velcron/{registrations → definitions}/CategoryRegistrations.d.ts +0 -0
  88. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Image.d.ts +0 -0
  89. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/ImageText.d.ts +0 -0
  90. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditorNew/definitions/DefinitionRegistrations.d.ts → definitions/content/Quote.d.ts} +0 -0
  91. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Text.d.ts +0 -0
  92. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/index.d.ts +0 -0
  93. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content → velcron/definitions/social}/Image.d.ts +0 -0
  94. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/ImageText.d.ts → velcron/definitions/social/MicroBlog.d.ts} +0 -0
  95. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Quote.d.ts → velcron/definitions/social/MicroBlog2.d.ts} +0 -0
  96. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Text.d.ts → velcron/definitions/social/Praise.d.ts} +0 -0
  97. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/index.d.ts → velcron/definitions/social/SocialText.d.ts} +0 -0
@@ -5,6 +5,7 @@ export declare const useFlowEditorPluginStore: () => {
5
5
  hiddenPlugins: FlowEditorPluginRegistration[];
6
6
  };
7
7
  get: {
8
+ mandatory: () => FlowEditorPluginRegistration[];
8
9
  byId(id: guid): FlowEditorPluginRegistration;
9
10
  };
10
11
  actions: {
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
4
  alignX: {
5
5
  type: import("vue").PropType<"left" | "right" | "center">;
6
+ required: false;
6
7
  };
7
8
  imageHeight: {
8
9
  type: import("vue").PropType<number>;
@@ -24,6 +25,7 @@ declare const _default: {
24
25
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
25
26
  alignX: {
26
27
  type: import("vue").PropType<"left" | "right" | "center">;
28
+ required: false;
27
29
  };
28
30
  imageHeight: {
29
31
  type: import("vue").PropType<number>;
@@ -47,6 +49,7 @@ declare const _default: {
47
49
  }, Readonly<import("vue").ExtractPropTypes<{
48
50
  alignX: {
49
51
  type: import("vue").PropType<"left" | "right" | "center">;
52
+ required: false;
50
53
  };
51
54
  imageHeight: {
52
55
  type: import("vue").PropType<number>;
@@ -67,6 +70,7 @@ declare const _default: {
67
70
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
68
71
  alignX: {
69
72
  type: import("vue").PropType<"left" | "right" | "center">;
73
+ required: false;
70
74
  };
71
75
  imageHeight: {
72
76
  type: import("vue").PropType<number>;
@@ -1192,7 +1192,9 @@ export declare const useSpacingBlueprintStore: () => {
1192
1192
  };
1193
1193
  viewTemplate?: {
1194
1194
  id: import("@omnia/fx-models").VelcronRendererId;
1195
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1195
1196
  version: string;
1197
+ state?: import("@omnia/fx-models").DynamicState;
1196
1198
  };
1197
1199
  };
1198
1200
  basic?: {
@@ -1339,7 +1341,9 @@ export declare const useSpacingBlueprintStore: () => {
1339
1341
  };
1340
1342
  viewTemplate?: {
1341
1343
  id: import("@omnia/fx-models").VelcronRendererId;
1344
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1342
1345
  version: string;
1346
+ state?: import("@omnia/fx-models").DynamicState;
1343
1347
  };
1344
1348
  };
1345
1349
  accent1?: {
@@ -1486,7 +1490,9 @@ export declare const useSpacingBlueprintStore: () => {
1486
1490
  };
1487
1491
  viewTemplate?: {
1488
1492
  id: import("@omnia/fx-models").VelcronRendererId;
1493
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1489
1494
  version: string;
1495
+ state?: import("@omnia/fx-models").DynamicState;
1490
1496
  };
1491
1497
  };
1492
1498
  warn?: {
@@ -1633,7 +1639,9 @@ export declare const useSpacingBlueprintStore: () => {
1633
1639
  };
1634
1640
  viewTemplate?: {
1635
1641
  id: import("@omnia/fx-models").VelcronRendererId;
1642
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1636
1643
  version: string;
1644
+ state?: import("@omnia/fx-models").DynamicState;
1637
1645
  };
1638
1646
  };
1639
1647
  link?: {
@@ -1780,7 +1788,9 @@ export declare const useSpacingBlueprintStore: () => {
1780
1788
  };
1781
1789
  viewTemplate?: {
1782
1790
  id: import("@omnia/fx-models").VelcronRendererId;
1791
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1783
1792
  version: string;
1793
+ state?: import("@omnia/fx-models").DynamicState;
1784
1794
  };
1785
1795
  };
1786
1796
  variant1?: {
@@ -1927,7 +1937,9 @@ export declare const useSpacingBlueprintStore: () => {
1927
1937
  };
1928
1938
  viewTemplate?: {
1929
1939
  id: import("@omnia/fx-models").VelcronRendererId;
1940
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1930
1941
  version: string;
1942
+ state?: import("@omnia/fx-models").DynamicState;
1931
1943
  };
1932
1944
  };
1933
1945
  variant2?: {
@@ -2074,7 +2086,9 @@ export declare const useSpacingBlueprintStore: () => {
2074
2086
  };
2075
2087
  viewTemplate?: {
2076
2088
  id: import("@omnia/fx-models").VelcronRendererId;
2089
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2077
2090
  version: string;
2091
+ state?: import("@omnia/fx-models").DynamicState;
2078
2092
  };
2079
2093
  };
2080
2094
  variant3?: {
@@ -2221,7 +2235,9 @@ export declare const useSpacingBlueprintStore: () => {
2221
2235
  };
2222
2236
  viewTemplate?: {
2223
2237
  id: import("@omnia/fx-models").VelcronRendererId;
2238
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2224
2239
  version: string;
2240
+ state?: import("@omnia/fx-models").DynamicState;
2225
2241
  };
2226
2242
  };
2227
2243
  variant4?: {
@@ -2368,7 +2384,9 @@ export declare const useSpacingBlueprintStore: () => {
2368
2384
  };
2369
2385
  viewTemplate?: {
2370
2386
  id: import("@omnia/fx-models").VelcronRendererId;
2387
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2371
2388
  version: string;
2389
+ state?: import("@omnia/fx-models").DynamicState;
2372
2390
  };
2373
2391
  };
2374
2392
  };
@@ -2517,7 +2535,9 @@ export declare const useSpacingBlueprintStore: () => {
2517
2535
  };
2518
2536
  viewTemplate?: {
2519
2537
  id: import("@omnia/fx-models").VelcronRendererId;
2538
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2520
2539
  version: string;
2540
+ state?: import("@omnia/fx-models").DynamicState;
2521
2541
  };
2522
2542
  };
2523
2543
  basic?: {
@@ -2664,7 +2684,9 @@ export declare const useSpacingBlueprintStore: () => {
2664
2684
  };
2665
2685
  viewTemplate?: {
2666
2686
  id: import("@omnia/fx-models").VelcronRendererId;
2687
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2667
2688
  version: string;
2689
+ state?: import("@omnia/fx-models").DynamicState;
2668
2690
  };
2669
2691
  };
2670
2692
  accent1?: {
@@ -2811,7 +2833,9 @@ export declare const useSpacingBlueprintStore: () => {
2811
2833
  };
2812
2834
  viewTemplate?: {
2813
2835
  id: import("@omnia/fx-models").VelcronRendererId;
2836
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2814
2837
  version: string;
2838
+ state?: import("@omnia/fx-models").DynamicState;
2815
2839
  };
2816
2840
  };
2817
2841
  warn?: {
@@ -2958,7 +2982,9 @@ export declare const useSpacingBlueprintStore: () => {
2958
2982
  };
2959
2983
  viewTemplate?: {
2960
2984
  id: import("@omnia/fx-models").VelcronRendererId;
2985
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2961
2986
  version: string;
2987
+ state?: import("@omnia/fx-models").DynamicState;
2962
2988
  };
2963
2989
  };
2964
2990
  link?: {
@@ -3105,7 +3131,9 @@ export declare const useSpacingBlueprintStore: () => {
3105
3131
  };
3106
3132
  viewTemplate?: {
3107
3133
  id: import("@omnia/fx-models").VelcronRendererId;
3134
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3108
3135
  version: string;
3136
+ state?: import("@omnia/fx-models").DynamicState;
3109
3137
  };
3110
3138
  };
3111
3139
  variant1?: {
@@ -3252,7 +3280,9 @@ export declare const useSpacingBlueprintStore: () => {
3252
3280
  };
3253
3281
  viewTemplate?: {
3254
3282
  id: import("@omnia/fx-models").VelcronRendererId;
3283
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3255
3284
  version: string;
3285
+ state?: import("@omnia/fx-models").DynamicState;
3256
3286
  };
3257
3287
  };
3258
3288
  variant2?: {
@@ -3399,7 +3429,9 @@ export declare const useSpacingBlueprintStore: () => {
3399
3429
  };
3400
3430
  viewTemplate?: {
3401
3431
  id: import("@omnia/fx-models").VelcronRendererId;
3432
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3402
3433
  version: string;
3434
+ state?: import("@omnia/fx-models").DynamicState;
3403
3435
  };
3404
3436
  };
3405
3437
  variant3?: {
@@ -3546,7 +3578,9 @@ export declare const useSpacingBlueprintStore: () => {
3546
3578
  };
3547
3579
  viewTemplate?: {
3548
3580
  id: import("@omnia/fx-models").VelcronRendererId;
3581
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3549
3582
  version: string;
3583
+ state?: import("@omnia/fx-models").DynamicState;
3550
3584
  };
3551
3585
  };
3552
3586
  variant4?: {
@@ -3693,7 +3727,9 @@ export declare const useSpacingBlueprintStore: () => {
3693
3727
  };
3694
3728
  viewTemplate?: {
3695
3729
  id: import("@omnia/fx-models").VelcronRendererId;
3730
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3696
3731
  version: string;
3732
+ state?: import("@omnia/fx-models").DynamicState;
3697
3733
  };
3698
3734
  };
3699
3735
  };
@@ -1194,7 +1194,9 @@ export declare const useTypographyBlueprintStore: () => {
1194
1194
  };
1195
1195
  viewTemplate?: {
1196
1196
  id: import("@omnia/fx-models").VelcronRendererId;
1197
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1197
1198
  version: string;
1199
+ state?: import("@omnia/fx-models").DynamicState;
1198
1200
  };
1199
1201
  };
1200
1202
  basic?: {
@@ -1341,7 +1343,9 @@ export declare const useTypographyBlueprintStore: () => {
1341
1343
  };
1342
1344
  viewTemplate?: {
1343
1345
  id: import("@omnia/fx-models").VelcronRendererId;
1346
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1344
1347
  version: string;
1348
+ state?: import("@omnia/fx-models").DynamicState;
1345
1349
  };
1346
1350
  };
1347
1351
  accent1?: {
@@ -1488,7 +1492,9 @@ export declare const useTypographyBlueprintStore: () => {
1488
1492
  };
1489
1493
  viewTemplate?: {
1490
1494
  id: import("@omnia/fx-models").VelcronRendererId;
1495
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1491
1496
  version: string;
1497
+ state?: import("@omnia/fx-models").DynamicState;
1492
1498
  };
1493
1499
  };
1494
1500
  warn?: {
@@ -1635,7 +1641,9 @@ export declare const useTypographyBlueprintStore: () => {
1635
1641
  };
1636
1642
  viewTemplate?: {
1637
1643
  id: import("@omnia/fx-models").VelcronRendererId;
1644
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1638
1645
  version: string;
1646
+ state?: import("@omnia/fx-models").DynamicState;
1639
1647
  };
1640
1648
  };
1641
1649
  link?: {
@@ -1782,7 +1790,9 @@ export declare const useTypographyBlueprintStore: () => {
1782
1790
  };
1783
1791
  viewTemplate?: {
1784
1792
  id: import("@omnia/fx-models").VelcronRendererId;
1793
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1785
1794
  version: string;
1795
+ state?: import("@omnia/fx-models").DynamicState;
1786
1796
  };
1787
1797
  };
1788
1798
  variant1?: {
@@ -1929,7 +1939,9 @@ export declare const useTypographyBlueprintStore: () => {
1929
1939
  };
1930
1940
  viewTemplate?: {
1931
1941
  id: import("@omnia/fx-models").VelcronRendererId;
1942
+ resolver: import("@omnia/fx-models").VelcronResolverId;
1932
1943
  version: string;
1944
+ state?: import("@omnia/fx-models").DynamicState;
1933
1945
  };
1934
1946
  };
1935
1947
  variant2?: {
@@ -2076,7 +2088,9 @@ export declare const useTypographyBlueprintStore: () => {
2076
2088
  };
2077
2089
  viewTemplate?: {
2078
2090
  id: import("@omnia/fx-models").VelcronRendererId;
2091
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2079
2092
  version: string;
2093
+ state?: import("@omnia/fx-models").DynamicState;
2080
2094
  };
2081
2095
  };
2082
2096
  variant3?: {
@@ -2223,7 +2237,9 @@ export declare const useTypographyBlueprintStore: () => {
2223
2237
  };
2224
2238
  viewTemplate?: {
2225
2239
  id: import("@omnia/fx-models").VelcronRendererId;
2240
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2226
2241
  version: string;
2242
+ state?: import("@omnia/fx-models").DynamicState;
2227
2243
  };
2228
2244
  };
2229
2245
  variant4?: {
@@ -2370,7 +2386,9 @@ export declare const useTypographyBlueprintStore: () => {
2370
2386
  };
2371
2387
  viewTemplate?: {
2372
2388
  id: import("@omnia/fx-models").VelcronRendererId;
2389
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2373
2390
  version: string;
2391
+ state?: import("@omnia/fx-models").DynamicState;
2374
2392
  };
2375
2393
  };
2376
2394
  };
@@ -2519,7 +2537,9 @@ export declare const useTypographyBlueprintStore: () => {
2519
2537
  };
2520
2538
  viewTemplate?: {
2521
2539
  id: import("@omnia/fx-models").VelcronRendererId;
2540
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2522
2541
  version: string;
2542
+ state?: import("@omnia/fx-models").DynamicState;
2523
2543
  };
2524
2544
  };
2525
2545
  basic?: {
@@ -2666,7 +2686,9 @@ export declare const useTypographyBlueprintStore: () => {
2666
2686
  };
2667
2687
  viewTemplate?: {
2668
2688
  id: import("@omnia/fx-models").VelcronRendererId;
2689
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2669
2690
  version: string;
2691
+ state?: import("@omnia/fx-models").DynamicState;
2670
2692
  };
2671
2693
  };
2672
2694
  accent1?: {
@@ -2813,7 +2835,9 @@ export declare const useTypographyBlueprintStore: () => {
2813
2835
  };
2814
2836
  viewTemplate?: {
2815
2837
  id: import("@omnia/fx-models").VelcronRendererId;
2838
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2816
2839
  version: string;
2840
+ state?: import("@omnia/fx-models").DynamicState;
2817
2841
  };
2818
2842
  };
2819
2843
  warn?: {
@@ -2960,7 +2984,9 @@ export declare const useTypographyBlueprintStore: () => {
2960
2984
  };
2961
2985
  viewTemplate?: {
2962
2986
  id: import("@omnia/fx-models").VelcronRendererId;
2987
+ resolver: import("@omnia/fx-models").VelcronResolverId;
2963
2988
  version: string;
2989
+ state?: import("@omnia/fx-models").DynamicState;
2964
2990
  };
2965
2991
  };
2966
2992
  link?: {
@@ -3107,7 +3133,9 @@ export declare const useTypographyBlueprintStore: () => {
3107
3133
  };
3108
3134
  viewTemplate?: {
3109
3135
  id: import("@omnia/fx-models").VelcronRendererId;
3136
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3110
3137
  version: string;
3138
+ state?: import("@omnia/fx-models").DynamicState;
3111
3139
  };
3112
3140
  };
3113
3141
  variant1?: {
@@ -3254,7 +3282,9 @@ export declare const useTypographyBlueprintStore: () => {
3254
3282
  };
3255
3283
  viewTemplate?: {
3256
3284
  id: import("@omnia/fx-models").VelcronRendererId;
3285
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3257
3286
  version: string;
3287
+ state?: import("@omnia/fx-models").DynamicState;
3258
3288
  };
3259
3289
  };
3260
3290
  variant2?: {
@@ -3401,7 +3431,9 @@ export declare const useTypographyBlueprintStore: () => {
3401
3431
  };
3402
3432
  viewTemplate?: {
3403
3433
  id: import("@omnia/fx-models").VelcronRendererId;
3434
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3404
3435
  version: string;
3436
+ state?: import("@omnia/fx-models").DynamicState;
3405
3437
  };
3406
3438
  };
3407
3439
  variant3?: {
@@ -3548,7 +3580,9 @@ export declare const useTypographyBlueprintStore: () => {
3548
3580
  };
3549
3581
  viewTemplate?: {
3550
3582
  id: import("@omnia/fx-models").VelcronRendererId;
3583
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3551
3584
  version: string;
3585
+ state?: import("@omnia/fx-models").DynamicState;
3552
3586
  };
3553
3587
  };
3554
3588
  variant4?: {
@@ -3695,7 +3729,9 @@ export declare const useTypographyBlueprintStore: () => {
3695
3729
  };
3696
3730
  viewTemplate?: {
3697
3731
  id: import("@omnia/fx-models").VelcronRendererId;
3732
+ resolver: import("@omnia/fx-models").VelcronResolverId;
3698
3733
  version: string;
3734
+ state?: import("@omnia/fx-models").DynamicState;
3699
3735
  };
3700
3736
  };
3701
3737
  };
@@ -17,5 +17,5 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
17
17
  idTeleport?: guid;
18
18
  } & {
19
19
  targetResolverType?: string;
20
- } & DefineEmit<"handleFeatureAction", (action: string, featureId: guid) => true> & DefineEmit<"openConsentUrl", () => void>>) => any;
20
+ } & DefineEmit<"handleFeatureAction", (action: string, featureId: guid) => true> & DefineEmit<"openConsentUrl", () => void> & DefineEmit<"travelToProperties", () => void>>) => any;
21
21
  export default _default;
@@ -1,6 +1,6 @@
1
- declare const _default: {
2
- container: {
3
- fontSize: number;
4
- };
1
+ import { ColorDefinition, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
2
+ import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
3
+ export declare const flowEditorStyles: {
4
+ placeholder: string;
5
+ container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => string;
5
6
  };
6
- export default _default;
@@ -1,4 +1,5 @@
1
1
  import { FlowContent, NodeSelection } from "../models/EditorModels";
2
+ import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
2
3
  export type builtIndataTypes = "text" | "formatting";
3
4
  export declare function useEditorCommands(state: {
4
5
  editor: HTMLDivElement;
@@ -6,48 +7,93 @@ export declare function useEditorCommands(state: {
6
7
  maxNodeId: number;
7
8
  editorContent: FlowContent;
8
9
  nodeSelection: NodeSelection;
10
+ plugins: Array<FlowEditorPlugin>;
11
+ pluginContext: FlowEditorPluginContext;
9
12
  }): {
13
+ content: {
14
+ convert: (element: HTMLElement) => void;
15
+ };
16
+ ensure: {
17
+ lastElement: () => void;
18
+ unique: {
19
+ ids: (element: HTMLElement) => void;
20
+ };
21
+ };
10
22
  selection: {
11
23
  get: {
12
- byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
24
+ byPluginType: (pluginType: string) => import("../models/EditorModels").FlowNodeReference[];
13
25
  };
14
26
  };
27
+ cursor: {
28
+ isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
29
+ isBeforeContent: (range: Range, container: HTMLElement) => boolean;
30
+ };
15
31
  actions: {
16
32
  setSelection: () => void;
17
33
  };
18
- evenhandlers: {
19
- backspace: () => void;
20
- enter: () => void;
21
- };
22
34
  formatting: {
23
35
  add: (element: HTMLElement) => void;
24
36
  remove: (dataType: string | HTMLElement) => void;
25
37
  has: (dataType: string | HTMLElement) => boolean;
26
38
  };
27
39
  element: {
40
+ clean: (element: HTMLElement) => void;
28
41
  add: (element: HTMLElement) => void;
29
42
  create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
30
43
  createText: () => HTMLParagraphElement;
31
44
  createTextNode: (data: any) => Text;
32
45
  createComponent: (componentName: string) => HTMLDivElement;
46
+ insert: {
47
+ text: (element: Node, text: string, offset: any) => void;
48
+ };
49
+ ids: {
50
+ unique: (element: HTMLElement) => void;
51
+ };
33
52
  };
34
53
  helpers: {
35
54
  editor: {
36
- storeCursorPosition: (state: {
37
- selectedRange: Range;
38
- }) => void;
39
- ensureSelectionIsInEditor: (range: Range) => void;
55
+ ensure: {
56
+ uniqueIds: (element: HTMLElement, state: {
57
+ maxNodeId: number;
58
+ }) => HTMLElement;
59
+ selectionIsInEditor: (range: Range) => void;
60
+ };
61
+ cursor: {
62
+ storePosition: (state: {
63
+ selectedRange: Range;
64
+ }) => void;
65
+ isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
66
+ isBeforeContent: (range: Range, container: HTMLElement) => boolean;
67
+ };
40
68
  };
41
69
  editorNode: {
42
- getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
43
- getNodesInArrayByDataType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
70
+ get: {
71
+ nodesInArrayByPluginType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
72
+ };
44
73
  };
45
74
  htmlNode: {
46
- getNodeSelectionForRange: (range: Range) => NodeSelection;
47
- removeNodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
48
- getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
49
- surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
50
- surroundContents: (element: HTMLElement, range: Range) => void;
75
+ copy: {
76
+ children: (from: HTMLElement, to: HTMLElement) => void;
77
+ };
78
+ insert: {
79
+ text: (element: Node, text: string, offset: any) => void;
80
+ elementInContainer: (element: HTMLElement, container: HTMLElement) => void;
81
+ };
82
+ get: {
83
+ topContainerForContent: (element: HTMLElement) => HTMLElement;
84
+ nodeSelectionForRange: (range: Range) => NodeSelection;
85
+ htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
86
+ };
87
+ remove: {
88
+ nodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
89
+ };
90
+ strip: {
91
+ after: (element: HTMLElement, splitter: string) => void;
92
+ before: (element: HTMLElement, splitter: string) => void;
93
+ };
94
+ surround: {
95
+ selectionWithElement: (element: HTMLElement, range: Range) => void;
96
+ };
51
97
  };
52
98
  };
53
99
  };
@@ -1,5 +1,6 @@
1
1
  import { FlowNodeReference } from "../../models/EditorModels";
2
2
  export declare function useEditorNodeHelper(): {
3
- getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
4
- getNodesInArrayByDataType: (nodes: Array<FlowNodeReference>, dataType: string) => Array<FlowNodeReference>;
3
+ get: {
4
+ nodesInArrayByPluginType: (nodes: Array<FlowNodeReference>, dataType: string) => Array<FlowNodeReference>;
5
+ };
5
6
  };
@@ -1,7 +1,15 @@
1
- export type builtIndataTypes = "text" | "formatting";
2
1
  export declare function useEditorHelper(): {
3
- storeCursorPosition: (state: {
4
- selectedRange: Range;
5
- }) => void;
6
- ensureSelectionIsInEditor: (range: Range) => void;
2
+ ensure: {
3
+ uniqueIds: (element: HTMLElement, state: {
4
+ maxNodeId: number;
5
+ }) => HTMLElement;
6
+ selectionIsInEditor: (range: Range) => void;
7
+ };
8
+ cursor: {
9
+ storePosition: (state: {
10
+ selectedRange: Range;
11
+ }) => void;
12
+ isAfterEndOfContent: (range: Range, container: HTMLElement) => boolean;
13
+ isBeforeContent: (range: Range, container: HTMLElement) => boolean;
14
+ };
7
15
  };
@@ -1,9 +1,25 @@
1
1
  import { FlowNodeReference, NodeSelection } from "../../models/EditorModels";
2
- export type builtIndataTypes = "text" | "formatting";
3
2
  export declare function useHtmlNodeHelper(): {
4
- getNodeSelectionForRange: (range: Range) => NodeSelection;
5
- removeNodes: (nodes2Remove: Array<FlowNodeReference>, editor: HTMLElement) => void;
6
- getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
7
- surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
8
- surroundContents: (element: HTMLElement, range: Range) => void;
3
+ copy: {
4
+ children: (from: HTMLElement, to: HTMLElement) => void;
5
+ };
6
+ insert: {
7
+ text: (element: Node, text: string, offset: any) => void;
8
+ elementInContainer: (element: HTMLElement, container: HTMLElement) => void;
9
+ };
10
+ get: {
11
+ topContainerForContent: (element: HTMLElement) => HTMLElement;
12
+ nodeSelectionForRange: (range: Range) => NodeSelection;
13
+ htmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
14
+ };
15
+ remove: {
16
+ nodes: (nodes2Remove: Array<FlowNodeReference>, editor: HTMLElement) => void;
17
+ };
18
+ strip: {
19
+ after: (element: HTMLElement, splitter: string) => void;
20
+ before: (element: HTMLElement, splitter: string) => void;
21
+ };
22
+ surround: {
23
+ selectionWithElement: (element: HTMLElement, range: Range) => void;
24
+ };
9
25
  };
@@ -0,0 +1,14 @@
1
+ export declare const FlowEditorConstants: {
2
+ node: {
3
+ attributes: {
4
+ pluginType: string;
5
+ Id: string;
6
+ };
7
+ };
8
+ editor: {
9
+ container: string;
10
+ };
11
+ clipboard: {
12
+ container: string;
13
+ };
14
+ };
@@ -5,8 +5,13 @@ import { useFlowEditorToolbarStore } from "../stores/FlowEditorToolbarStore";
5
5
  export interface FlowEditorPlugin {
6
6
  name: string;
7
7
  commands?: object;
8
+ eventListeners?: Array<FlowEditorEventListener>;
8
9
  actions?: Array<FlowEditorActionRegistration>;
9
10
  }
11
+ export interface FlowEditorEventListener {
12
+ event?: keyof HTMLElementEventMap | Array<keyof HTMLElementEventMap>;
13
+ action: (event: Event, context: FlowEditorPluginContext) => void;
14
+ }
10
15
  export interface FlowRenderingContext {
11
16
  parentElement: HTMLElement;
12
17
  }
@@ -19,9 +24,14 @@ export interface FlowToJsonContext {
19
24
  element: HTMLElement;
20
25
  parent: FlowNode;
21
26
  }
27
+ export interface ElementConverter {
28
+ canConvert: (el: HTMLElement) => boolean;
29
+ convert: (el: HTMLElement, pluginContext: FlowEditorPluginContext) => HTMLElement;
30
+ }
22
31
  export interface FlowEditorContentPlugin extends FlowEditorPlugin {
23
32
  toJSON: (context: FlowToJsonContext) => FlowNode;
24
33
  toHtml: (context: FlowToHtmlContext) => HTMLElement;
34
+ elementConverter?: ElementConverter;
25
35
  }
26
36
  export interface FlowEditorPluginContext {
27
37
  componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;