@omnia/fx 8.0.270-dev → 8.0.271-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) 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/manifests/omnia.fx.ux.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
  4. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +0 -1
  5. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/UserManagementConstants.d.ts +3 -0
  6. package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/blades/AddOrEditUserTypeBladeAuthentication.d.ts +13 -0
  7. package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/blades/AddOrEditUserTypeBladeGeneral.d.ts +11 -0
  8. package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/blades/AddOrEditUserTypeBladeProperties.d.ts +11 -0
  9. package/internal-do-not-import-from-here/ux/aurora/components/viewtemplatepicker/ViewTemplatePicker.d.ts +2 -0
  10. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/flow/editor/FlowEditor.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/flow/editor/commands/EditorCommands.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/flow/editor/models/EditorPlugin.d.ts +4 -5
  14. package/internal-do-not-import-from-here/ux/flow/editor/parsers/HtmlParser.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/flow/editor/parsers/JSONParser.d.ts +1 -1
  16. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementConverter.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +35 -35
  19. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +0 -1
  20. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.d.ts +1 -4
  21. package/internal-do-not-import-from-here/ux/flow/renderer/models/Constants.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContentPlugin.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererToHtmlContext.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/JSONParser.d.ts +2 -2
  25. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +6 -8
  26. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +14 -1
  27. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitleRenderer.d.ts +5 -0
  28. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitleSettings.css.d.ts +1 -0
  29. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitleViewSettings.d.ts +11 -0
  30. package/internal-do-not-import-from-here/ux/linkpicker/LinkPicker.d.ts +51 -0
  31. package/internal-do-not-import-from-here/ux/linkpicker/LinkRenderer.css.d.ts +9 -0
  32. package/internal-do-not-import-from-here/ux/linkpicker/LinkRenderer.d.ts +5 -0
  33. package/internal-do-not-import-from-here/ux/linkpicker/apis/InternalLinkHandlerRegistrationApi.d.ts +7 -0
  34. package/internal-do-not-import-from-here/ux/linkpicker/apis/InternalLinkProviderRegistrationApi.d.ts +5 -0
  35. package/internal-do-not-import-from-here/ux/linkpicker/apis/Registration.d.ts +1 -0
  36. package/internal-do-not-import-from-here/ux/linkpicker/factory/LinkItemFactory.d.ts +9 -0
  37. package/internal-do-not-import-from-here/ux/linkpicker/store/LinkPickerStore.d.ts +34 -0
  38. package/internal-do-not-import-from-here/ux/models/flow/FlowEditorStore.d.ts +2 -0
  39. package/internal-do-not-import-from-here/ux/models/flow/FlowEditorToolbarStore.d.ts +2 -0
  40. package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/index.d.ts +2 -0
  41. package/internal-do-not-import-from-here/ux/models/index.d.ts +3 -1
  42. package/internal-do-not-import-from-here/ux/models/linkpicker/CustomLinkPropertyData.d.ts +5 -0
  43. package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkPickerProvider.d.ts +8 -0
  44. package/internal-do-not-import-from-here/ux/models/linkpicker/ILinkRenderer.d.ts +3 -0
  45. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItem.d.ts +8 -0
  46. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkItemHandler.d.ts +7 -0
  47. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerClient.d.ts +4 -0
  48. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerProviderContext.d.ts +19 -0
  49. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +16 -0
  50. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerStyle.d.ts +15 -0
  51. package/internal-do-not-import-from-here/ux/models/linkpicker/index.d.ts +9 -0
  52. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +1 -1
  53. package/internal-do-not-import-from-here/wctypings.d.ts +36 -16
  54. package/package.json +4 -4
  55. package/internal-do-not-import-from-here/stores/floweditor/FlowRendererPluginStore.d.ts +0 -44
  56. package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorAction.d.ts +0 -48
  57. package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorActionSettings.d.ts +0 -7
  58. /package/internal-do-not-import-from-here/ux/{layoutcanvas/actionhandler/LayoutEditorClickHandler.d.ts → linkpicker/LinkPicker.css.d.ts} +0 -0
  59. /package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/ColorFormatNode.d.ts +0 -0
  60. /package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/ElementNode.d.ts +0 -0
  61. /package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/FlowContent.d.ts +0 -0
  62. /package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/TypographyNode.d.ts +0 -0
  63. /package/internal-do-not-import-from-here/ux/{flow/models → models/flow}/VelcronNode.d.ts +0 -0
@@ -4,7 +4,7 @@ export declare const useFlowEditorToolbarStore: () => {
4
4
  state: {
5
5
  activeEditorStore: {
6
6
  state: {
7
- editorContent: import("../../models").FlowContent;
7
+ editorContent: import("../../..").FlowContent;
8
8
  plugins: import("..").FlowEditorPlugin[];
9
9
  hideToolbar: boolean;
10
10
  editMode: boolean;
@@ -24,7 +24,7 @@ export declare const useFlowEditorToolbarStore: () => {
24
24
  };
25
25
  };
26
26
  events: {
27
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
27
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
28
28
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
29
29
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
30
30
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -79,9 +79,9 @@ export declare const useFlowEditorToolbarStore: () => {
79
79
  };
80
80
  content: {
81
81
  subscribe(fn: (result: {
82
- sync: () => import("../../models").FlowContent;
82
+ sync: () => import("../../..").FlowContent;
83
83
  set: {
84
- byObject: (content: import("../../models").FlowContent) => void;
84
+ byObject: (content: import("../../..").FlowContent) => void;
85
85
  byString: (content: string) => void;
86
86
  };
87
87
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -241,9 +241,9 @@ export declare const useFlowEditorToolbarStore: () => {
241
241
  };
242
242
  };
243
243
  content: () => {
244
- sync: () => import("../../models").FlowContent;
244
+ sync: () => import("../../..").FlowContent;
245
245
  set: {
246
- byObject: (content: import("../../models").FlowContent) => void;
246
+ byObject: (content: import("../../..").FlowContent) => void;
247
247
  byString: (content: string) => void;
248
248
  };
249
249
  };
@@ -364,7 +364,7 @@ export declare const useFlowEditorToolbarStore: () => {
364
364
  plugins: import("..").FlowEditorPlugin[];
365
365
  content: {
366
366
  isEmpty: () => boolean;
367
- asObject: () => import("../../models").FlowContent;
367
+ asObject: () => import("../../..").FlowContent;
368
368
  asString: () => string;
369
369
  };
370
370
  selection: {
@@ -386,7 +386,7 @@ export declare const useFlowEditorToolbarStore: () => {
386
386
  events: {
387
387
  onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
388
388
  state: {
389
- editorContent: import("../../models").FlowContent;
389
+ editorContent: import("../../..").FlowContent;
390
390
  plugins: import("..").FlowEditorPlugin[];
391
391
  hideToolbar: boolean;
392
392
  editMode: boolean;
@@ -406,7 +406,7 @@ export declare const useFlowEditorToolbarStore: () => {
406
406
  };
407
407
  };
408
408
  events: {
409
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
409
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
410
410
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
411
411
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
412
412
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -461,9 +461,9 @@ export declare const useFlowEditorToolbarStore: () => {
461
461
  };
462
462
  content: {
463
463
  subscribe(fn: (result: {
464
- sync: () => import("../../models").FlowContent;
464
+ sync: () => import("../../..").FlowContent;
465
465
  set: {
466
- byObject: (content: import("../../models").FlowContent) => void;
466
+ byObject: (content: import("../../..").FlowContent) => void;
467
467
  byString: (content: string) => void;
468
468
  };
469
469
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -623,9 +623,9 @@ export declare const useFlowEditorToolbarStore: () => {
623
623
  };
624
624
  };
625
625
  content: () => {
626
- sync: () => import("../../models").FlowContent;
626
+ sync: () => import("../../..").FlowContent;
627
627
  set: {
628
- byObject: (content: import("../../models").FlowContent) => void;
628
+ byObject: (content: import("../../..").FlowContent) => void;
629
629
  byString: (content: string) => void;
630
630
  };
631
631
  };
@@ -746,7 +746,7 @@ export declare const useFlowEditorToolbarStore: () => {
746
746
  plugins: import("..").FlowEditorPlugin[];
747
747
  content: {
748
748
  isEmpty: () => boolean;
749
- asObject: () => import("../../models").FlowContent;
749
+ asObject: () => import("../../..").FlowContent;
750
750
  asString: () => string;
751
751
  };
752
752
  selection: {
@@ -776,7 +776,7 @@ export declare const useFlowEditorToolbarStore: () => {
776
776
  setActiveEditorStore: {
777
777
  subscribe(fn: (store: {
778
778
  state: {
779
- editorContent: import("../../models").FlowContent;
779
+ editorContent: import("../../..").FlowContent;
780
780
  plugins: import("..").FlowEditorPlugin[];
781
781
  hideToolbar: boolean;
782
782
  editMode: boolean;
@@ -796,7 +796,7 @@ export declare const useFlowEditorToolbarStore: () => {
796
796
  };
797
797
  };
798
798
  events: {
799
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
799
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
800
800
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
801
801
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
802
802
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -851,9 +851,9 @@ export declare const useFlowEditorToolbarStore: () => {
851
851
  };
852
852
  content: {
853
853
  subscribe(fn: (result: {
854
- sync: () => import("../../models").FlowContent;
854
+ sync: () => import("../../..").FlowContent;
855
855
  set: {
856
- byObject: (content: import("../../models").FlowContent) => void;
856
+ byObject: (content: import("../../..").FlowContent) => void;
857
857
  byString: (content: string) => void;
858
858
  };
859
859
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1013,9 +1013,9 @@ export declare const useFlowEditorToolbarStore: () => {
1013
1013
  };
1014
1014
  };
1015
1015
  content: () => {
1016
- sync: () => import("../../models").FlowContent;
1016
+ sync: () => import("../../..").FlowContent;
1017
1017
  set: {
1018
- byObject: (content: import("../../models").FlowContent) => void;
1018
+ byObject: (content: import("../../..").FlowContent) => void;
1019
1019
  byString: (content: string) => void;
1020
1020
  };
1021
1021
  };
@@ -1136,7 +1136,7 @@ export declare const useFlowEditorToolbarStore: () => {
1136
1136
  plugins: import("..").FlowEditorPlugin[];
1137
1137
  content: {
1138
1138
  isEmpty: () => boolean;
1139
- asObject: () => import("../../models").FlowContent;
1139
+ asObject: () => import("../../..").FlowContent;
1140
1140
  asString: () => string;
1141
1141
  };
1142
1142
  selection: {
@@ -1166,7 +1166,7 @@ export declare const useFlowEditorToolbarStore: () => {
1166
1166
  setActiveEditorStore: {
1167
1167
  subscribe(fn: (result: void, store: {
1168
1168
  state: {
1169
- editorContent: import("../../models").FlowContent;
1169
+ editorContent: import("../../..").FlowContent;
1170
1170
  plugins: import("..").FlowEditorPlugin[];
1171
1171
  hideToolbar: boolean;
1172
1172
  editMode: boolean;
@@ -1186,7 +1186,7 @@ export declare const useFlowEditorToolbarStore: () => {
1186
1186
  };
1187
1187
  };
1188
1188
  events: {
1189
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
1189
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
1190
1190
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
1191
1191
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1192
1192
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -1241,9 +1241,9 @@ export declare const useFlowEditorToolbarStore: () => {
1241
1241
  };
1242
1242
  content: {
1243
1243
  subscribe(fn: (result: {
1244
- sync: () => import("../../models").FlowContent;
1244
+ sync: () => import("../../..").FlowContent;
1245
1245
  set: {
1246
- byObject: (content: import("../../models").FlowContent) => void;
1246
+ byObject: (content: import("../../..").FlowContent) => void;
1247
1247
  byString: (content: string) => void;
1248
1248
  };
1249
1249
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1403,9 +1403,9 @@ export declare const useFlowEditorToolbarStore: () => {
1403
1403
  };
1404
1404
  };
1405
1405
  content: () => {
1406
- sync: () => import("../../models").FlowContent;
1406
+ sync: () => import("../../..").FlowContent;
1407
1407
  set: {
1408
- byObject: (content: import("../../models").FlowContent) => void;
1408
+ byObject: (content: import("../../..").FlowContent) => void;
1409
1409
  byString: (content: string) => void;
1410
1410
  };
1411
1411
  };
@@ -1526,7 +1526,7 @@ export declare const useFlowEditorToolbarStore: () => {
1526
1526
  plugins: import("..").FlowEditorPlugin[];
1527
1527
  content: {
1528
1528
  isEmpty: () => boolean;
1529
- asObject: () => import("../../models").FlowContent;
1529
+ asObject: () => import("../../..").FlowContent;
1530
1530
  asString: () => string;
1531
1531
  };
1532
1532
  selection: {
@@ -1556,7 +1556,7 @@ export declare const useFlowEditorToolbarStore: () => {
1556
1556
  setActiveEditorStore: {
1557
1557
  subscribe(fn: (failureReason: any, store: {
1558
1558
  state: {
1559
- editorContent: import("../../models").FlowContent;
1559
+ editorContent: import("../../..").FlowContent;
1560
1560
  plugins: import("..").FlowEditorPlugin[];
1561
1561
  hideToolbar: boolean;
1562
1562
  editMode: boolean;
@@ -1576,7 +1576,7 @@ export declare const useFlowEditorToolbarStore: () => {
1576
1576
  };
1577
1577
  };
1578
1578
  events: {
1579
- onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../models").FlowContent>;
1579
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../../..").FlowContent>;
1580
1580
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<import("..").FlowEditorPlugin[]>;
1581
1581
  onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
1582
1582
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -1631,9 +1631,9 @@ export declare const useFlowEditorToolbarStore: () => {
1631
1631
  };
1632
1632
  content: {
1633
1633
  subscribe(fn: (result: {
1634
- sync: () => import("../../models").FlowContent;
1634
+ sync: () => import("../../..").FlowContent;
1635
1635
  set: {
1636
- byObject: (content: import("../../models").FlowContent) => void;
1636
+ byObject: (content: import("../../..").FlowContent) => void;
1637
1637
  byString: (content: string) => void;
1638
1638
  };
1639
1639
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -1793,9 +1793,9 @@ export declare const useFlowEditorToolbarStore: () => {
1793
1793
  };
1794
1794
  };
1795
1795
  content: () => {
1796
- sync: () => import("../../models").FlowContent;
1796
+ sync: () => import("../../..").FlowContent;
1797
1797
  set: {
1798
- byObject: (content: import("../../models").FlowContent) => void;
1798
+ byObject: (content: import("../../..").FlowContent) => void;
1799
1799
  byString: (content: string) => void;
1800
1800
  };
1801
1801
  };
@@ -1916,7 +1916,7 @@ export declare const useFlowEditorToolbarStore: () => {
1916
1916
  plugins: import("..").FlowEditorPlugin[];
1917
1917
  content: {
1918
1918
  isEmpty: () => boolean;
1919
- asObject: () => import("../../models").FlowContent;
1919
+ asObject: () => import("../../..").FlowContent;
1920
1920
  asString: () => string;
1921
1921
  };
1922
1922
  selection: {
@@ -1,6 +1,5 @@
1
1
  import { ColorDefinition, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
2
2
  import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
3
3
  export declare const flowRendererStyles: {
4
- placeholder: string;
5
4
  container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => string;
6
5
  };
@@ -1,10 +1,7 @@
1
- import { FlowRendererPluginSettings } from "@omnia/fx-models";
2
1
  import { useFlowRendererStore } from "./stores";
3
- import { FlowContent } from "../models";
2
+ import { FlowContent } from "@omnia/fx/ux";
4
3
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
5
4
  content?: FlowContent;
6
- } & {
7
- plugins?: FlowRendererPluginSettings[];
8
5
  } & {
9
6
  getApi?: (store: ReturnType<typeof useFlowRendererStore>) => void;
10
7
  }>) => any;
@@ -6,7 +6,7 @@ export declare const FlowRendererConstants: {
6
6
  isComponent: string;
7
7
  };
8
8
  };
9
- editor: {
9
+ renderer: {
10
10
  container: string;
11
11
  };
12
12
  };
@@ -1,4 +1,4 @@
1
- import { FlowNode } from "../../models";
1
+ import { FlowNode } from "@omnia/fx/ux";
2
2
  import { FlowRendererPlugin } from "./FlowRendererPlugin";
3
3
  import { FlowRendererToHtmlContext } from "./FlowRendererToHtmlContext";
4
4
  export interface FlowRendererContentPlugin extends FlowRendererPlugin {
@@ -1,4 +1,4 @@
1
- import { FlowNode } from "../../models";
1
+ import { FlowNode } from "@omnia/fx/ux";
2
2
  import { FlowRendererContext } from "./FlowRendererContext";
3
3
  import { FlowRendererPluginContext } from "./FlowRendererPluginContext";
4
4
  export interface FlowRendererToHtmlContext<TNodeType extends FlowNode = FlowNode> {
@@ -1,7 +1,7 @@
1
- import { FlowContent } from "../../models";
1
+ import { FlowContent } from "@omnia/fx/ux";
2
2
  import { FlowRendererPlugin, FlowRendererPluginContext } from "../models";
3
3
  export declare function useJSONParser(state: {
4
- editor: HTMLDivElement;
4
+ renderEl: HTMLDivElement;
5
5
  plugins: Array<FlowRendererPlugin>;
6
6
  }, pluginContext: FlowRendererPluginContext): {
7
7
  loadJSONToEditor: (editorContent: FlowContent) => any;
@@ -1,22 +1,24 @@
1
- import { FlowEditorPluginSettings } from "@omnia/fx-models";
1
+ import { Future } from "@omnia/fx-models";
2
2
  import { FlowRendererPlugin, FlowRendererPluginContext } from "../models";
3
- import { FlowContent } from "../../models";
3
+ import { FlowContent } from "@omnia/fx/ux";
4
4
  export declare const useFlowRendererStore: () => {
5
5
  state: {
6
6
  editorContent: FlowContent;
7
7
  plugins: FlowRendererPlugin[];
8
- editor: HTMLDivElement;
8
+ renderEl: HTMLDivElement;
9
9
  telePorts: JSX.Element[];
10
10
  id: string;
11
11
  pluginContext: FlowRendererPluginContext;
12
+ pluginsLoadedPromise: Future<void>;
12
13
  };
13
14
  events: {
14
15
  onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
15
16
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowRendererPlugin[]>;
16
- onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
17
+ onMutatedRenderEl: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
17
18
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
18
19
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
19
20
  onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowRendererPluginContext>;
21
+ onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<Future<void>>;
20
22
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
21
23
  actions: {
22
24
  onDispatching: {
@@ -37,8 +39,6 @@ export declare const useFlowRendererStore: () => {
37
39
  plugin: {
38
40
  subscribe(fn: (result: {
39
41
  register: {
40
- plugin: (pluginSettings: FlowEditorPluginSettings) => void;
41
- plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
42
42
  context: (ctx: FlowRendererPluginContext) => void;
43
43
  };
44
44
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -81,8 +81,6 @@ export declare const useFlowRendererStore: () => {
81
81
  } & {
82
82
  plugin: () => {
83
83
  register: {
84
- plugin: (pluginSettings: FlowEditorPluginSettings) => void;
85
- plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
86
84
  context: (ctx: FlowRendererPluginContext) => void;
87
85
  };
88
86
  };
@@ -1,9 +1,12 @@
1
- import { MultilingualString } from "@omnia/fx-models";
1
+ import { BlockTitleViewSettings, MultilingualString } from "@omnia/fx-models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
4
  alternativeContent: {
5
5
  type: import("vue").PropType<JSX.Element>;
6
6
  };
7
+ viewSettings: {
8
+ type: import("vue").PropType<BlockTitleViewSettings>;
9
+ };
7
10
  settingsKey: {
8
11
  type: import("vue").PropType<any>;
9
12
  };
@@ -29,6 +32,9 @@ declare const _default: {
29
32
  alternativeContent: {
30
33
  type: import("vue").PropType<JSX.Element>;
31
34
  };
35
+ viewSettings: {
36
+ type: import("vue").PropType<BlockTitleViewSettings>;
37
+ };
32
38
  settingsKey: {
33
39
  type: import("vue").PropType<any>;
34
40
  };
@@ -63,6 +69,9 @@ declare const _default: {
63
69
  alternativeContent: {
64
70
  type: import("vue").PropType<JSX.Element>;
65
71
  };
72
+ viewSettings: {
73
+ type: import("vue").PropType<BlockTitleViewSettings>;
74
+ };
66
75
  settingsKey: {
67
76
  type: import("vue").PropType<any>;
68
77
  };
@@ -94,6 +103,9 @@ declare const _default: {
94
103
  alternativeContent: {
95
104
  type: import("vue").PropType<JSX.Element>;
96
105
  };
106
+ viewSettings: {
107
+ type: import("vue").PropType<BlockTitleViewSettings>;
108
+ };
97
109
  settingsKey: {
98
110
  type: import("vue").PropType<any>;
99
111
  };
@@ -125,6 +137,7 @@ declare const _default: {
125
137
  colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
126
138
  settingsKey?: any;
127
139
  multilingualtitle?: string | MultilingualString;
140
+ viewSettings?: BlockTitleViewSettings;
128
141
  alternativeContent?: JSX.Element;
129
142
  }>, never>;
130
143
  };
@@ -0,0 +1,5 @@
1
+ import { BlockTitleViewSettings } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ viewSettings?: BlockTitleViewSettings;
4
+ }>) => any;
5
+ export default _default;
@@ -1,3 +1,4 @@
1
1
  export declare const BlockTitleSettingsStyles: {
2
2
  blockTitlePositioner: string;
3
+ selector: (dark: boolean) => string;
3
4
  };
@@ -0,0 +1,11 @@
1
+ import { BlockTitleViewSettings } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ "emit:update:modelValue": (value: BlockTitleViewSettings) => void;
4
+ } & {
5
+ "v-model"?: BlockTitleViewSettings;
6
+ } & {
7
+ "onUpdate:modelValue"?: (value: BlockTitleViewSettings) => void;
8
+ } & {
9
+ modelValue?: BlockTitleViewSettings;
10
+ }>) => any;
11
+ export default _default;
@@ -0,0 +1,51 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ import { DefineEmit } from "@omnia/fx/ux";
3
+ import "./LinkPicker.css";
4
+ import { LinkItem, LinkPickerRegistration } from "@omnia/fx/ux";
5
+ export declare const LinkPickerVariantDefinitions: readonly ["default", "dialog"];
6
+ export type LinkPickerVariant = typeof LinkPickerVariantDefinitions[number];
7
+ export declare const LinkPickerVariantTypesName = "LinkPickerVariant";
8
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
9
+ "emit:update:selectedItem": (value: LinkItem) => void;
10
+ } & {
11
+ "v-model:selectedItem"?: LinkItem;
12
+ } & {
13
+ "onUpdate:selectedItem"?: (value: LinkItem) => void;
14
+ } & {
15
+ selectedItem?: LinkItem;
16
+ } & {
17
+ "emit:update:modelValue": (value: boolean) => void;
18
+ } & {
19
+ "v-model"?: boolean;
20
+ } & {
21
+ "onUpdate:modelValue"?: (value: boolean) => void;
22
+ } & {
23
+ modelValue?: boolean;
24
+ } & {
25
+ title?: string;
26
+ } & {
27
+ variant?: "default" | "dialog";
28
+ } & {
29
+ hideToolbar?: boolean;
30
+ } & {
31
+ providerFilter?: guid[];
32
+ } & {
33
+ styles?: {
34
+ toolbar?: import("typestyle/lib/types").NestedCSSProperties;
35
+ closeButton?: import("typestyle/lib/types").NestedCSSProperties;
36
+ heightWrapper?: import("typestyle/lib/types").NestedCSSProperties;
37
+ wrapper?: import("typestyle/lib/types").NestedCSSProperties;
38
+ leftPanel?: import("typestyle/lib/types").NestedCSSProperties;
39
+ leftPanelContainer?: import("typestyle/lib/types").NestedCSSProperties;
40
+ leftPanelMenuItemIcon?: import("typestyle/lib/types").NestedCSSProperties;
41
+ leftPanelMenuItemTitle?: import("typestyle/lib/types").NestedCSSProperties;
42
+ leftPanelMenuItemContainer?: (theming: import("@omnia/fx/ux").ITheming, selected: boolean) => import("typestyle/lib/types").NestedCSSProperties;
43
+ rightPanelWrapper?: import("typestyle/lib/types").NestedCSSProperties;
44
+ rightPanelContent?: import("typestyle/lib/types").NestedCSSProperties;
45
+ };
46
+ } & {
47
+ onSaved?: (link: LinkItem) => void | Promise<void>;
48
+ } & {
49
+ onConfigureProviders?: (providers: Array<LinkPickerRegistration>) => void;
50
+ } & DefineEmit<"update:modelValue", (value: boolean) => void> & DefineEmit<"update:selectedItem", (value: LinkItem) => void> & DefineEmit<"close", () => void>>) => any;
51
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { types } from "typestyle";
2
+ export declare const LinkRendererStyles: {
3
+ link: types.NestedCSSProperties;
4
+ linkWithNoCursor: types.NestedCSSProperties;
5
+ };
6
+ export declare const LinkRendererCss: {
7
+ link: types.NestedCSSProperties;
8
+ linkWithNoCursor: types.NestedCSSProperties;
9
+ };
@@ -0,0 +1,5 @@
1
+ import { DefineProp, DefineSlot } from "@omnia/fx/ux";
2
+ import { ILinkRenderer, LinkItem } from "@omnia/fx/ux";
3
+ export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineProp<"target", string, false, "_self"> & ILinkRenderer;
4
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<InternalLinkRender>) => any;
5
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ILinkItemHandlerRegistrationApi } from "@omnia/fx-models";
2
+ import { ILinkItemHandler } from "@omnia/fx/ux";
3
+ export declare class InternalLinkHandlerRegistrationApi implements ILinkItemHandlerRegistrationApi {
4
+ linkItemHandlers: ILinkItemHandler[];
5
+ registerLinkRenderer(linkItemHandler: ILinkItemHandler): boolean;
6
+ getAllRegistration(): ILinkItemHandler[];
7
+ }
@@ -0,0 +1,5 @@
1
+ import { ILinkProviderRegistrationApi } from "@omnia/fx-models";
2
+ import { LinkPickerRegistration } from "@omnia/fx/ux";
3
+ export interface ILinkProviderRegistrationApiInternal extends ILinkProviderRegistrationApi {
4
+ getAllLinkProviders: () => LinkPickerRegistration[];
5
+ }
@@ -0,0 +1,9 @@
1
+ export declare const LinkItemFactory: {
2
+ default: () => {
3
+ linkType: string;
4
+ url: string;
5
+ title: string;
6
+ icon: any;
7
+ openInNewWindow: boolean;
8
+ };
9
+ };
@@ -0,0 +1,34 @@
1
+ import { LinkPickerRegistration } from "@omnia/fx/ux";
2
+ export declare const useLinkPickerStore: () => {
3
+ state: {
4
+ providers: LinkPickerRegistration[];
5
+ };
6
+ getters: {
7
+ currentProvider: () => LinkPickerRegistration[];
8
+ getProviders: (filters: string[]) => LinkPickerRegistration[];
9
+ };
10
+ mutate: {
11
+ providers: (value: LinkPickerRegistration[] | ((prev: LinkPickerRegistration[]) => LinkPickerRegistration[])) => void;
12
+ };
13
+ actions: {
14
+ onDispatching: {
15
+ ensureLinkPickerProviders: {
16
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
17
+ };
18
+ };
19
+ onDispatched: {
20
+ ensureLinkPickerProviders: {
21
+ subscribe(fn: (result: LinkPickerRegistration[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
22
+ };
23
+ };
24
+ onFailure: {
25
+ ensureLinkPickerProviders: {
26
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
27
+ };
28
+ };
29
+ } & {
30
+ ensureLinkPickerProviders(): Promise<LinkPickerRegistration[]>;
31
+ };
32
+ } & {
33
+ dispose?: () => void;
34
+ };
@@ -0,0 +1,2 @@
1
+ import { useFlowEditorStore } from "../../flow/editor/stores";
2
+ export type FlowEditorStore = ReturnType<typeof useFlowEditorStore>;
@@ -0,0 +1,2 @@
1
+ import { useFlowEditorToolbarStore } from "../../flow/editor";
2
+ export type FlowEditorToolbarStore = ReturnType<typeof useFlowEditorToolbarStore>;
@@ -3,3 +3,5 @@ export * from "./TypographyNode";
3
3
  export * from "./ColorFormatNode";
4
4
  export * from "./ElementNode";
5
5
  export * from "./VelcronNode";
6
+ export * from "./FlowEditorStore";
7
+ export * from "./FlowEditorToolbarStore";
@@ -1,3 +1,5 @@
1
+ export * from "./enterpriseproperties";
2
+ export * from "./flow";
1
3
  export * from "./ColorPicker";
2
4
  export * from "./HeadingStyle";
3
5
  export * from "./DialogStyles";
@@ -5,7 +7,6 @@ export * from "./CommentStyles";
5
7
  export * from "./LikeStyles";
6
8
  export * from "./IconStyles";
7
9
  export * from "./AdminChromeStyles";
8
- export * from "./enterpriseproperties";
9
10
  export * from "./LanguagePickerStyles";
10
11
  export * from "./WizardStyles";
11
12
  export * from "./TimeZonePickerStyles";
@@ -60,3 +61,4 @@ export * from "./LocalizationAdminStyles";
60
61
  export { ValidationOnDefinitions, type IValidationRuleBuilder, type IValidator, type ValidationRule, type ValidationResult } from "./Validation";
61
62
  export type { ValidationOnTypes } from "./Validation";
62
63
  export * from "./SpecialUserConfiguration";
64
+ export * from "./linkpicker";
@@ -0,0 +1,5 @@
1
+ export interface CustomLinkPropertyData extends LinkPickerPropertyData {
2
+ isValidateTitle?: boolean;
3
+ }
4
+ export interface LinkPickerPropertyData {
5
+ }
@@ -0,0 +1,8 @@
1
+ import { MediaPickerStorageProviderContext } from "@omnia/fx-models";
2
+ import { CustomLinkPropertyData } from "./CustomLinkPropertyData";
3
+ import { LinkItem } from "./LinkItem";
4
+ export interface ILinkPickerProvider {
5
+ linkData?: LinkItem;
6
+ propertyData?: CustomLinkPropertyData;
7
+ mediaPickerProviderContext?: MediaPickerStorageProviderContext;
8
+ }
@@ -0,0 +1,3 @@
1
+ import { DefineVModel } from "@omnia/fx/ux";
2
+ import { LinkItem } from "./LinkItem";
3
+ export type ILinkRenderer = DefineVModel<"link", LinkItem>;
@@ -0,0 +1,8 @@
1
+ import { IconPickerModel } from "../../../models/Icon";
2
+ export interface LinkItem {
3
+ linkType: string;
4
+ title: string;
5
+ url: string;
6
+ icon: IconPickerModel;
7
+ openInNewWindow: boolean;
8
+ }