@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.
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
- package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +11 -19
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +3 -10
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +13 -9
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +21 -12
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +122 -55
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +20 -0
- package/package.json +2 -2
@@ -11,11 +11,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
11
11
|
maxNodeId: number;
|
12
12
|
toolbarActions: MarkdownEditorActionRegistration[];
|
13
13
|
editor: HTMLDivElement;
|
14
|
-
|
15
|
-
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
14
|
+
nodeSelection: import("../models/EditorModels").NodeSelection;
|
16
15
|
telePorts: JSX.Element[];
|
17
16
|
id: string;
|
18
17
|
selectedRange: Range;
|
18
|
+
showPlaceHolder: boolean;
|
19
19
|
};
|
20
20
|
events: {
|
21
21
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
@@ -25,11 +25,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
25
25
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
26
26
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
27
27
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
28
|
-
|
29
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
28
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
30
29
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
31
30
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
32
31
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
32
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
33
33
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
34
34
|
actions: {
|
35
35
|
onDispatching: {
|
@@ -45,6 +45,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
45
45
|
setEditorContainer: {
|
46
46
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
47
47
|
};
|
48
|
+
focusEditor: {
|
49
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
|
+
};
|
48
51
|
toolbarAction: {
|
49
52
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
53
|
};
|
@@ -82,6 +85,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
82
85
|
setEditorContainer: {
|
83
86
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
87
|
};
|
88
|
+
focusEditor: {
|
89
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
+
};
|
85
91
|
toolbarAction: {
|
86
92
|
subscribe(fn: (result: {
|
87
93
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -91,7 +97,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
91
97
|
subscribe(fn: (result: {
|
92
98
|
add: (element: HTMLElement) => void;
|
93
99
|
toggle: (element: HTMLElement) => void;
|
94
|
-
remove: (
|
100
|
+
remove: (dataType: string) => void;
|
95
101
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
96
102
|
};
|
97
103
|
element: {
|
@@ -122,6 +128,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
122
128
|
setEditorContainer: {
|
123
129
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
124
130
|
};
|
131
|
+
focusEditor: {
|
132
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
133
|
+
};
|
125
134
|
toolbarAction: {
|
126
135
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
127
136
|
};
|
@@ -151,13 +160,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
151
160
|
};
|
152
161
|
setEditorMode: (editMode: boolean) => void;
|
153
162
|
setEditorContainer: (el: HTMLDivElement) => void;
|
163
|
+
focusEditor: () => void;
|
154
164
|
toolbarAction: () => {
|
155
165
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
156
166
|
};
|
157
167
|
formatting: () => {
|
158
168
|
add: (element: HTMLElement) => void;
|
159
169
|
toggle: (element: HTMLElement) => void;
|
160
|
-
remove: (
|
170
|
+
remove: (dataType: string) => void;
|
161
171
|
};
|
162
172
|
element: () => {
|
163
173
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -172,18 +182,17 @@ export declare const useMarkdownToolbarStore: () => {
|
|
172
182
|
};
|
173
183
|
get: {
|
174
184
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
185
|
+
hasContent: () => boolean;
|
175
186
|
content: {
|
176
|
-
asJSON: (
|
177
|
-
asString: (
|
187
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
188
|
+
asString: () => string;
|
178
189
|
};
|
179
190
|
selection: {
|
180
191
|
has: {
|
181
192
|
dataType: (dataType: string) => boolean;
|
182
|
-
id: (id: number) => boolean;
|
183
193
|
};
|
184
194
|
get: {
|
185
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
186
|
-
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
195
|
+
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
187
196
|
};
|
188
197
|
};
|
189
198
|
};
|
@@ -192,6 +201,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
192
201
|
};
|
193
202
|
show: boolean;
|
194
203
|
actions: MarkdownEditorActionRegistration[];
|
204
|
+
customActionRenderer: () => JSX.Element;
|
195
205
|
};
|
196
206
|
events: {
|
197
207
|
onMutatedActiveEditorStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
@@ -203,11 +213,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
203
213
|
maxNodeId: number;
|
204
214
|
toolbarActions: MarkdownEditorActionRegistration[];
|
205
215
|
editor: HTMLDivElement;
|
206
|
-
|
207
|
-
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
216
|
+
nodeSelection: import("../models/EditorModels").NodeSelection;
|
208
217
|
telePorts: JSX.Element[];
|
209
218
|
id: string;
|
210
219
|
selectedRange: Range;
|
220
|
+
showPlaceHolder: boolean;
|
211
221
|
};
|
212
222
|
events: {
|
213
223
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
@@ -217,11 +227,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
217
227
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
218
228
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
219
229
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
220
|
-
|
221
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
230
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
222
231
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
223
232
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
224
233
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
234
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
225
235
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
226
236
|
actions: {
|
227
237
|
onDispatching: {
|
@@ -237,6 +247,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
237
247
|
setEditorContainer: {
|
238
248
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
239
249
|
};
|
250
|
+
focusEditor: {
|
251
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
252
|
+
};
|
240
253
|
toolbarAction: {
|
241
254
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
242
255
|
};
|
@@ -274,6 +287,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
274
287
|
setEditorContainer: {
|
275
288
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
276
289
|
};
|
290
|
+
focusEditor: {
|
291
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
292
|
+
};
|
277
293
|
toolbarAction: {
|
278
294
|
subscribe(fn: (result: {
|
279
295
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -283,7 +299,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
283
299
|
subscribe(fn: (result: {
|
284
300
|
add: (element: HTMLElement) => void;
|
285
301
|
toggle: (element: HTMLElement) => void;
|
286
|
-
remove: (
|
302
|
+
remove: (dataType: string) => void;
|
287
303
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
288
304
|
};
|
289
305
|
element: {
|
@@ -314,6 +330,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
314
330
|
setEditorContainer: {
|
315
331
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
316
332
|
};
|
333
|
+
focusEditor: {
|
334
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
335
|
+
};
|
317
336
|
toolbarAction: {
|
318
337
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
319
338
|
};
|
@@ -343,13 +362,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
343
362
|
};
|
344
363
|
setEditorMode: (editMode: boolean) => void;
|
345
364
|
setEditorContainer: (el: HTMLDivElement) => void;
|
365
|
+
focusEditor: () => void;
|
346
366
|
toolbarAction: () => {
|
347
367
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
348
368
|
};
|
349
369
|
formatting: () => {
|
350
370
|
add: (element: HTMLElement) => void;
|
351
371
|
toggle: (element: HTMLElement) => void;
|
352
|
-
remove: (
|
372
|
+
remove: (dataType: string) => void;
|
353
373
|
};
|
354
374
|
element: () => {
|
355
375
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -364,18 +384,17 @@ export declare const useMarkdownToolbarStore: () => {
|
|
364
384
|
};
|
365
385
|
get: {
|
366
386
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
387
|
+
hasContent: () => boolean;
|
367
388
|
content: {
|
368
|
-
asJSON: (
|
369
|
-
asString: (
|
389
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
390
|
+
asString: () => string;
|
370
391
|
};
|
371
392
|
selection: {
|
372
393
|
has: {
|
373
394
|
dataType: (dataType: string) => boolean;
|
374
|
-
id: (id: number) => boolean;
|
375
395
|
};
|
376
396
|
get: {
|
377
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
378
|
-
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
397
|
+
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
379
398
|
};
|
380
399
|
};
|
381
400
|
};
|
@@ -384,9 +403,16 @@ export declare const useMarkdownToolbarStore: () => {
|
|
384
403
|
}>;
|
385
404
|
onMutatedShow: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
386
405
|
onMutatedActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
406
|
+
onMutatedCustomActionRenderer: import("@omnia/fx").MessageBusExposeOnlySubscription<() => JSX.Element>;
|
387
407
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
388
408
|
actions: {
|
389
409
|
onDispatching: {
|
410
|
+
setCustomRenderer: {
|
411
|
+
subscribe(fn: (renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
412
|
+
};
|
413
|
+
removeAllActions: {
|
414
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
415
|
+
};
|
390
416
|
setActiveEditorStore: {
|
391
417
|
subscribe(fn: (store: {
|
392
418
|
state: {
|
@@ -397,11 +423,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
397
423
|
maxNodeId: number;
|
398
424
|
toolbarActions: MarkdownEditorActionRegistration[];
|
399
425
|
editor: HTMLDivElement;
|
400
|
-
|
401
|
-
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
426
|
+
nodeSelection: import("../models/EditorModels").NodeSelection;
|
402
427
|
telePorts: JSX.Element[];
|
403
428
|
id: string;
|
404
429
|
selectedRange: Range;
|
430
|
+
showPlaceHolder: boolean;
|
405
431
|
};
|
406
432
|
events: {
|
407
433
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
@@ -411,11 +437,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
411
437
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
412
438
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
413
439
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
414
|
-
|
415
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
440
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
416
441
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
417
442
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
418
443
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
444
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
419
445
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
420
446
|
actions: {
|
421
447
|
onDispatching: {
|
@@ -431,6 +457,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
431
457
|
setEditorContainer: {
|
432
458
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
433
459
|
};
|
460
|
+
focusEditor: {
|
461
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
462
|
+
};
|
434
463
|
toolbarAction: {
|
435
464
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
436
465
|
};
|
@@ -468,6 +497,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
468
497
|
setEditorContainer: {
|
469
498
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
470
499
|
};
|
500
|
+
focusEditor: {
|
501
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
502
|
+
};
|
471
503
|
toolbarAction: {
|
472
504
|
subscribe(fn: (result: {
|
473
505
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -477,7 +509,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
477
509
|
subscribe(fn: (result: {
|
478
510
|
add: (element: HTMLElement) => void;
|
479
511
|
toggle: (element: HTMLElement) => void;
|
480
|
-
remove: (
|
512
|
+
remove: (dataType: string) => void;
|
481
513
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
482
514
|
};
|
483
515
|
element: {
|
@@ -508,6 +540,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
508
540
|
setEditorContainer: {
|
509
541
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
510
542
|
};
|
543
|
+
focusEditor: {
|
544
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
545
|
+
};
|
511
546
|
toolbarAction: {
|
512
547
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
513
548
|
};
|
@@ -537,13 +572,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
537
572
|
};
|
538
573
|
setEditorMode: (editMode: boolean) => void;
|
539
574
|
setEditorContainer: (el: HTMLDivElement) => void;
|
575
|
+
focusEditor: () => void;
|
540
576
|
toolbarAction: () => {
|
541
577
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
542
578
|
};
|
543
579
|
formatting: () => {
|
544
580
|
add: (element: HTMLElement) => void;
|
545
581
|
toggle: (element: HTMLElement) => void;
|
546
|
-
remove: (
|
582
|
+
remove: (dataType: string) => void;
|
547
583
|
};
|
548
584
|
element: () => {
|
549
585
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -558,18 +594,17 @@ export declare const useMarkdownToolbarStore: () => {
|
|
558
594
|
};
|
559
595
|
get: {
|
560
596
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
597
|
+
hasContent: () => boolean;
|
561
598
|
content: {
|
562
|
-
asJSON: (
|
563
|
-
asString: (
|
599
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
600
|
+
asString: () => string;
|
564
601
|
};
|
565
602
|
selection: {
|
566
603
|
has: {
|
567
604
|
dataType: (dataType: string) => boolean;
|
568
|
-
id: (id: number) => boolean;
|
569
605
|
};
|
570
606
|
get: {
|
571
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
572
|
-
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
607
|
+
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
573
608
|
};
|
574
609
|
};
|
575
610
|
};
|
@@ -582,6 +617,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
582
617
|
};
|
583
618
|
};
|
584
619
|
onDispatched: {
|
620
|
+
setCustomRenderer: {
|
621
|
+
subscribe(fn: (result: void, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
622
|
+
};
|
623
|
+
removeAllActions: {
|
624
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
625
|
+
};
|
585
626
|
setActiveEditorStore: {
|
586
627
|
subscribe(fn: (result: void, store: {
|
587
628
|
state: {
|
@@ -592,11 +633,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
592
633
|
maxNodeId: number;
|
593
634
|
toolbarActions: MarkdownEditorActionRegistration[];
|
594
635
|
editor: HTMLDivElement;
|
595
|
-
|
596
|
-
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
636
|
+
nodeSelection: import("../models/EditorModels").NodeSelection;
|
597
637
|
telePorts: JSX.Element[];
|
598
638
|
id: string;
|
599
639
|
selectedRange: Range;
|
640
|
+
showPlaceHolder: boolean;
|
600
641
|
};
|
601
642
|
events: {
|
602
643
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
@@ -606,11 +647,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
606
647
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
607
648
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
608
649
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
609
|
-
|
610
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
650
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
611
651
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
612
652
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
613
653
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
654
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
614
655
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
615
656
|
actions: {
|
616
657
|
onDispatching: {
|
@@ -626,6 +667,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
626
667
|
setEditorContainer: {
|
627
668
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
628
669
|
};
|
670
|
+
focusEditor: {
|
671
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
672
|
+
};
|
629
673
|
toolbarAction: {
|
630
674
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
631
675
|
};
|
@@ -663,6 +707,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
663
707
|
setEditorContainer: {
|
664
708
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
665
709
|
};
|
710
|
+
focusEditor: {
|
711
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
712
|
+
};
|
666
713
|
toolbarAction: {
|
667
714
|
subscribe(fn: (result: {
|
668
715
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -672,7 +719,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
672
719
|
subscribe(fn: (result: {
|
673
720
|
add: (element: HTMLElement) => void;
|
674
721
|
toggle: (element: HTMLElement) => void;
|
675
|
-
remove: (
|
722
|
+
remove: (dataType: string) => void;
|
676
723
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
677
724
|
};
|
678
725
|
element: {
|
@@ -703,6 +750,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
703
750
|
setEditorContainer: {
|
704
751
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
705
752
|
};
|
753
|
+
focusEditor: {
|
754
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
755
|
+
};
|
706
756
|
toolbarAction: {
|
707
757
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
708
758
|
};
|
@@ -732,13 +782,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
732
782
|
};
|
733
783
|
setEditorMode: (editMode: boolean) => void;
|
734
784
|
setEditorContainer: (el: HTMLDivElement) => void;
|
785
|
+
focusEditor: () => void;
|
735
786
|
toolbarAction: () => {
|
736
787
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
737
788
|
};
|
738
789
|
formatting: () => {
|
739
790
|
add: (element: HTMLElement) => void;
|
740
791
|
toggle: (element: HTMLElement) => void;
|
741
|
-
remove: (
|
792
|
+
remove: (dataType: string) => void;
|
742
793
|
};
|
743
794
|
element: () => {
|
744
795
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -753,18 +804,17 @@ export declare const useMarkdownToolbarStore: () => {
|
|
753
804
|
};
|
754
805
|
get: {
|
755
806
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
807
|
+
hasContent: () => boolean;
|
756
808
|
content: {
|
757
|
-
asJSON: (
|
758
|
-
asString: (
|
809
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
810
|
+
asString: () => string;
|
759
811
|
};
|
760
812
|
selection: {
|
761
813
|
has: {
|
762
814
|
dataType: (dataType: string) => boolean;
|
763
|
-
id: (id: number) => boolean;
|
764
815
|
};
|
765
816
|
get: {
|
766
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
767
|
-
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
817
|
+
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
768
818
|
};
|
769
819
|
};
|
770
820
|
};
|
@@ -777,6 +827,12 @@ export declare const useMarkdownToolbarStore: () => {
|
|
777
827
|
};
|
778
828
|
};
|
779
829
|
onFailure: {
|
830
|
+
setCustomRenderer: {
|
831
|
+
subscribe(fn: (failureReason: any, renderer: () => JSX.Element) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
832
|
+
};
|
833
|
+
removeAllActions: {
|
834
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
835
|
+
};
|
780
836
|
setActiveEditorStore: {
|
781
837
|
subscribe(fn: (failureReason: any, store: {
|
782
838
|
state: {
|
@@ -787,11 +843,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
787
843
|
maxNodeId: number;
|
788
844
|
toolbarActions: MarkdownEditorActionRegistration[];
|
789
845
|
editor: HTMLDivElement;
|
790
|
-
|
791
|
-
selectedNodeIds: import("../models/EditorModels").NodeIdSelection;
|
846
|
+
nodeSelection: import("../models/EditorModels").NodeSelection;
|
792
847
|
telePorts: JSX.Element[];
|
793
848
|
id: string;
|
794
849
|
selectedRange: Range;
|
850
|
+
showPlaceHolder: boolean;
|
795
851
|
};
|
796
852
|
events: {
|
797
853
|
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").EditorContent>;
|
@@ -801,11 +857,11 @@ export declare const useMarkdownToolbarStore: () => {
|
|
801
857
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
802
858
|
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
803
859
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
804
|
-
|
805
|
-
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeIdSelection>;
|
860
|
+
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<import("../models/EditorModels").NodeSelection>;
|
806
861
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
807
862
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
808
863
|
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
864
|
+
onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
809
865
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
810
866
|
actions: {
|
811
867
|
onDispatching: {
|
@@ -821,6 +877,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
821
877
|
setEditorContainer: {
|
822
878
|
subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
823
879
|
};
|
880
|
+
focusEditor: {
|
881
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
882
|
+
};
|
824
883
|
toolbarAction: {
|
825
884
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
826
885
|
};
|
@@ -858,6 +917,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
858
917
|
setEditorContainer: {
|
859
918
|
subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
860
919
|
};
|
920
|
+
focusEditor: {
|
921
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
922
|
+
};
|
861
923
|
toolbarAction: {
|
862
924
|
subscribe(fn: (result: {
|
863
925
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
@@ -867,7 +929,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
867
929
|
subscribe(fn: (result: {
|
868
930
|
add: (element: HTMLElement) => void;
|
869
931
|
toggle: (element: HTMLElement) => void;
|
870
|
-
remove: (
|
932
|
+
remove: (dataType: string) => void;
|
871
933
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
872
934
|
};
|
873
935
|
element: {
|
@@ -898,6 +960,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
898
960
|
setEditorContainer: {
|
899
961
|
subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
900
962
|
};
|
963
|
+
focusEditor: {
|
964
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
965
|
+
};
|
901
966
|
toolbarAction: {
|
902
967
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
903
968
|
};
|
@@ -927,13 +992,14 @@ export declare const useMarkdownToolbarStore: () => {
|
|
927
992
|
};
|
928
993
|
setEditorMode: (editMode: boolean) => void;
|
929
994
|
setEditorContainer: (el: HTMLDivElement) => void;
|
995
|
+
focusEditor: () => void;
|
930
996
|
toolbarAction: () => {
|
931
997
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
932
998
|
};
|
933
999
|
formatting: () => {
|
934
1000
|
add: (element: HTMLElement) => void;
|
935
1001
|
toggle: (element: HTMLElement) => void;
|
936
|
-
remove: (
|
1002
|
+
remove: (dataType: string) => void;
|
937
1003
|
};
|
938
1004
|
element: () => {
|
939
1005
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -948,18 +1014,17 @@ export declare const useMarkdownToolbarStore: () => {
|
|
948
1014
|
};
|
949
1015
|
get: {
|
950
1016
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
1017
|
+
hasContent: () => boolean;
|
951
1018
|
content: {
|
952
|
-
asJSON: (
|
953
|
-
asString: (
|
1019
|
+
asJSON: () => import("../models/EditorModels").EditorContent;
|
1020
|
+
asString: () => string;
|
954
1021
|
};
|
955
1022
|
selection: {
|
956
1023
|
has: {
|
957
1024
|
dataType: (dataType: string) => boolean;
|
958
|
-
id: (id: number) => boolean;
|
959
1025
|
};
|
960
1026
|
get: {
|
961
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
962
|
-
byId: (id: number) => import("../models/EditorModels").EditorNode;
|
1027
|
+
byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
|
963
1028
|
};
|
964
1029
|
};
|
965
1030
|
};
|
@@ -972,6 +1037,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
972
1037
|
};
|
973
1038
|
};
|
974
1039
|
} & {
|
1040
|
+
setCustomRenderer: (renderer: () => JSX.Element) => void;
|
1041
|
+
removeAllActions: () => void;
|
975
1042
|
setActiveEditorStore: (store: ReturnType<typeof useMarkdownStore>) => void;
|
976
1043
|
setVisibility: (show: boolean) => void;
|
977
1044
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, MaybeComputedRef, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
declare const emptyRules: any[];
|
4
|
-
type CheckboxProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", MaybeComputedRef<boolean> | Array<string>, false, null, true, "The v-model of the component"> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"label", string, null, "Sets the label of the component."> & DefineProp<"value", any, null, "The value used when the component is selected in a group. If not provided, a unique ID will be used."> & DefineProp<"disabled", boolean, false, null, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused.Force this always open with the persistent-hint property."> & DefineProp<"persistentHint", boolean, false, null, "Always show hint text."> & DefineSlot<"label", () => VNodeChild, "Slot used to customize the label.">;
|
4
|
+
type CheckboxProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", MaybeComputedRef<boolean> | Array<string>, false, null, true, "The v-model of the component"> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"value", any, false, null, "The value used when the component is selected in a group. If not provided, a unique ID will be used."> & DefineProp<"disabled", boolean, false, null, "Removes the ability to click or target the component."> & DefineProp<"hint", string, false, "", "Displays hint text below the input when focused.Force this always open with the persistent-hint property."> & DefineProp<"persistentHint", boolean, false, null, "Always show hint text."> & DefineSlot<"label", () => VNodeChild, "Slot used to customize the label.">;
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<CheckboxProps>) => any;
|
6
6
|
export default _default;
|
@@ -223,7 +223,6 @@ export declare enum VelcronImageRatios {
|
|
223
223
|
}
|
224
224
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
225
225
|
type: "image";
|
226
|
-
url?: VelcronBindableProp<string>;
|
227
226
|
value?: VelcronBindableProp<string>;
|
228
227
|
ratio?: VelcronImageRatios | string;
|
229
228
|
width?: number | string;
|
@@ -371,6 +370,11 @@ export interface VelcronPropertyDefinitionValue {
|
|
371
370
|
value: PropertyValue;
|
372
371
|
configuration: PropertyConfiguration<PropertyDefinition<any, any, any, PropertySetupBase>>;
|
373
372
|
}
|
373
|
+
export interface VelcronPropertyDefinitionValueResolver {
|
374
|
+
name: string;
|
375
|
+
provider: string;
|
376
|
+
path: string;
|
377
|
+
}
|
374
378
|
export type VelcronRenderProps<TDefinition> = {
|
375
379
|
definition: TDefinition;
|
376
380
|
renderContext: VelcronRenderContext;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BuiltInPropertyEditorType, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { BuiltInPropertyEditorType, guid, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export interface ResolvedPropertyEditor {
|
3
3
|
editor: VelcronEditor;
|
4
4
|
}
|
@@ -36,6 +36,12 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronPropertyResolverEditorSettings {
|
40
|
+
properties: Array<{
|
41
|
+
name: string;
|
42
|
+
definitionId: guid;
|
43
|
+
}>;
|
44
|
+
}
|
39
45
|
export interface VelcronBlueprintEditorSettings {
|
40
46
|
type: "container" | "icon";
|
41
47
|
}
|
@@ -96,3 +102,6 @@ export interface VelcronGridEditor extends VelcronEditor<any> {
|
|
96
102
|
export interface VelcronSelectEditor extends VelcronEditor<VelcronSelectEditorSettings> {
|
97
103
|
type: "select";
|
98
104
|
}
|
105
|
+
export interface VelcronPropertyResolverEditor extends VelcronEditor<VelcronPropertyResolverEditorSettings> {
|
106
|
+
type: "property-resolver";
|
107
|
+
}
|