@omnia/fx 8.0.263-dev → 8.0.264-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 (33) hide show
  1. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
  2. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
  3. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
  4. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
  5. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
  6. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
  7. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
  8. package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
  9. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
  10. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
  11. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
  12. package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +1 -0
  13. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +11 -19
  14. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +3 -10
  15. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +6 -6
  16. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +13 -9
  17. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +6 -4
  18. package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorButton.d.ts +2 -2
  19. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +2 -2
  20. package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyButton.d.ts +2 -2
  21. package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +2 -2
  22. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +21 -12
  23. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +122 -55
  24. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
  26. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
  27. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
  28. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
  29. package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
  30. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
  31. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
  32. package/internal-do-not-import-from-here/wctypings.d.ts +20 -0
  33. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { MarkdownEditorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
2
2
  import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
3
+ import { EditorContent, NodeSelection } from "../models/EditorModels";
4
4
  export declare const useMarkdownStore: () => {
5
5
  state: {
6
6
  editorContent: EditorContent;
@@ -10,11 +10,11 @@ export declare const useMarkdownStore: () => {
10
10
  maxNodeId: number;
11
11
  toolbarActions: MarkdownEditorActionRegistration[];
12
12
  editor: HTMLDivElement;
13
- selectedNodes: EditorNode[];
14
- selectedNodeIds: NodeIdSelection;
13
+ nodeSelection: NodeSelection;
15
14
  telePorts: JSX.Element[];
16
15
  id: string;
17
16
  selectedRange: Range;
17
+ showPlaceHolder: boolean;
18
18
  };
19
19
  events: {
20
20
  onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorContent>;
@@ -24,11 +24,11 @@ export declare const useMarkdownStore: () => {
24
24
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
25
25
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
26
26
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
27
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorNode[]>;
28
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeIdSelection>;
27
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
29
28
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
30
29
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
31
30
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
31
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
32
32
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
33
33
  actions: {
34
34
  onDispatching: {
@@ -44,6 +44,9 @@ export declare const useMarkdownStore: () => {
44
44
  setEditorContainer: {
45
45
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
46
  };
47
+ focusEditor: {
48
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
+ };
47
50
  toolbarAction: {
48
51
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
52
  };
@@ -81,6 +84,9 @@ export declare const useMarkdownStore: () => {
81
84
  setEditorContainer: {
82
85
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
83
86
  };
87
+ focusEditor: {
88
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
+ };
84
90
  toolbarAction: {
85
91
  subscribe(fn: (result: {
86
92
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
@@ -90,7 +96,7 @@ export declare const useMarkdownStore: () => {
90
96
  subscribe(fn: (result: {
91
97
  add: (element: HTMLElement) => void;
92
98
  toggle: (element: HTMLElement) => void;
93
- remove: (element: HTMLElement) => void;
99
+ remove: (dataType: string) => void;
94
100
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
95
101
  };
96
102
  element: {
@@ -121,6 +127,9 @@ export declare const useMarkdownStore: () => {
121
127
  setEditorContainer: {
122
128
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
129
  };
130
+ focusEditor: {
131
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
+ };
124
133
  toolbarAction: {
125
134
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
135
  };
@@ -150,13 +159,14 @@ export declare const useMarkdownStore: () => {
150
159
  };
151
160
  setEditorMode: (editMode: boolean) => void;
152
161
  setEditorContainer: (el: HTMLDivElement) => void;
162
+ focusEditor: () => void;
153
163
  toolbarAction: () => {
154
164
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
155
165
  };
156
166
  formatting: () => {
157
167
  add: (element: HTMLElement) => void;
158
168
  toggle: (element: HTMLElement) => void;
159
- remove: (element: HTMLElement) => void;
169
+ remove: (dataType: string) => void;
160
170
  };
161
171
  element: () => {
162
172
  createForComponent: (componentName: string) => HTMLDivElement;
@@ -171,18 +181,17 @@ export declare const useMarkdownStore: () => {
171
181
  };
172
182
  get: {
173
183
  plugins: EditorPlugin[];
184
+ hasContent: () => boolean;
174
185
  content: {
175
- asJSON: (cleanIds?: boolean) => EditorContent;
176
- asString: (cleanIds?: boolean) => string;
186
+ asJSON: () => EditorContent;
187
+ asString: () => string;
177
188
  };
178
189
  selection: {
179
190
  has: {
180
191
  dataType: (dataType: string) => boolean;
181
- id: (id: number) => boolean;
182
192
  };
183
193
  get: {
184
- byDataType: (dataType: string) => EditorNode;
185
- byId: (id: number) => EditorNode;
194
+ byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
186
195
  };
187
196
  };
188
197
  };