@omnia/fx 8.0.246-dev → 8.0.248-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/DefineVueTypings.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/models/MarkdownPlugin.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +2 -12
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +10 -60
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +2 -6
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Prop, PropType, VNodeChild } from "vue";
|
2
|
-
import { ColorSchemaType, ColorSchemaTypes } from "@omnia/fx-models";
|
2
|
+
import { ColorSchemaType, ColorSchemaTypes, guid } from "@omnia/fx-models";
|
3
3
|
import { ColorSchemaStoreType } from "./aurora";
|
4
4
|
export type Slot<T extends any[] = any[]> = (...args: T) => VNodeChild;
|
5
5
|
export type VModelKeyNameInJsxElement<N extends string> = N extends "" ? "v-model" : `v-model:${N}`;
|
@@ -30,6 +30,7 @@ export type DefineVModel<TName extends string, TType, Required extends boolean =
|
|
30
30
|
} & {
|
31
31
|
[key in VModelKeyNameInProps<TName>]: TType;
|
32
32
|
};
|
33
|
+
export type ItemValueType<T> = string | ((item: T) => string | guid | number | Object);
|
33
34
|
export type ItemType<T> = T extends readonly (infer U)[] ? U : never;
|
34
35
|
export type SelectItemKey<T = Record<string, any>> = boolean | null | undefined | string | readonly (string | number)[] | ((item: T, fallback?: any) => any);
|
35
36
|
export type DefinePropTheming = DefineProp<"colorSchemaType", ColorSchemaTypes | ColorSchemaType> & DefineProp<"container", boolean> & DefineProp<"colors", ColorSchemaStoreType>;
|
@@ -78,4 +78,4 @@ export { FocusDirective, LinkHandlerDirective } from "./directives";
|
|
78
78
|
export { VueComponentBase, VueComponentConnect, getVuetifyAppClasses } from "./VueComponentBase";
|
79
79
|
export type { VueComponentBaseEvents, VueComponentBaseProps } from "./VueComponentBase";
|
80
80
|
export { createVueNode, definePropFunctionType, definePropObjectType, defineVue, defineVueComponent, getElementName, isElement, type SetupComponentContext, type ExtractProps, type ExtractEmits, type ExtractSlots, type ConstructComponentProps, type ExtractVModels } from "./InternalDefineComponent";
|
81
|
-
export { type DefineEmit, type DefineProp, type DefinePropClass, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey } from "./DefineVueTypings";
|
81
|
+
export { type DefineEmit, type DefineProp, type DefinePropClass, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey, type ItemValueType } from "./DefineVueTypings";
|
@@ -1,9 +1,14 @@
|
|
1
1
|
import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
|
2
2
|
import { useMarkdownStore } from "../stores/MarkdownStore";
|
3
|
+
export interface MdNode {
|
4
|
+
startMark: string;
|
5
|
+
endMark?: string;
|
6
|
+
content?: string;
|
7
|
+
}
|
3
8
|
export interface MarkdownPlugin {
|
4
9
|
name: string;
|
5
10
|
type: "inline" | "component";
|
6
|
-
toMarkdown: (el: HTMLElement) =>
|
11
|
+
toMarkdown: (el: HTMLElement) => MdNode;
|
7
12
|
toHtml: (el: HTMLDivElement, data: string | object, ctx: MarkdownPluginContext) => HTMLDivElement;
|
8
13
|
commands?: object;
|
9
14
|
actions?: Array<MarkdownEditorActionRegistration>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { useEditorCommands } from "../commands/EditorCommands";
|
2
|
+
import { MarkdownPlugin, MarkdownPluginContext } from "../models/MarkdownPlugin";
|
3
|
+
export declare function useMarkdownParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
}, plugins: Array<MarkdownPlugin>, editorCommands: ReturnType<typeof useEditorCommands>, pluginContext: MarkdownPluginContext): {
|
6
|
+
toHtml: (markdown: string) => string;
|
7
|
+
};
|
@@ -26,9 +26,6 @@ export declare const useMarkdownStore: () => {
|
|
26
26
|
registerPlugin: {
|
27
27
|
subscribe(fn: (pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
28
28
|
};
|
29
|
-
toHtml: {
|
30
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
31
|
-
};
|
32
29
|
toMarkdown: {
|
33
30
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
31
|
};
|
@@ -61,11 +58,8 @@ export declare const useMarkdownStore: () => {
|
|
61
58
|
registerPlugin: {
|
62
59
|
subscribe(fn: (result: void, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
63
60
|
};
|
64
|
-
toHtml: {
|
65
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
66
|
-
};
|
67
61
|
toMarkdown: {
|
68
|
-
subscribe(fn: (result:
|
62
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
69
63
|
};
|
70
64
|
setContent: {
|
71
65
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -109,9 +103,6 @@ export declare const useMarkdownStore: () => {
|
|
109
103
|
registerPlugin: {
|
110
104
|
subscribe(fn: (failureReason: any, pluginSettings: MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
111
105
|
};
|
112
|
-
toHtml: {
|
113
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
114
|
-
};
|
115
106
|
toMarkdown: {
|
116
107
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
117
108
|
};
|
@@ -142,8 +133,7 @@ export declare const useMarkdownStore: () => {
|
|
142
133
|
};
|
143
134
|
} & {
|
144
135
|
registerPlugin: (pluginSettings: MarkdownPluginSettings) => void;
|
145
|
-
|
146
|
-
toMarkdown: () => void;
|
136
|
+
toMarkdown: () => string;
|
147
137
|
setContent: (markdown: string) => void;
|
148
138
|
setEditorMode: (editMode: boolean) => void;
|
149
139
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -28,9 +28,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
28
28
|
registerPlugin: {
|
29
29
|
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
30
30
|
};
|
31
|
-
toHtml: {
|
32
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
33
|
-
};
|
34
31
|
toMarkdown: {
|
35
32
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
36
33
|
};
|
@@ -63,11 +60,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
63
60
|
registerPlugin: {
|
64
61
|
subscribe(fn: (result: void, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
65
62
|
};
|
66
|
-
toHtml: {
|
67
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
68
|
-
};
|
69
63
|
toMarkdown: {
|
70
|
-
subscribe(fn: (result:
|
64
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
71
65
|
};
|
72
66
|
setContent: {
|
73
67
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -111,9 +105,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
111
105
|
registerPlugin: {
|
112
106
|
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
107
|
};
|
114
|
-
toHtml: {
|
115
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
|
-
};
|
117
108
|
toMarkdown: {
|
118
109
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
119
110
|
};
|
@@ -144,8 +135,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
144
135
|
};
|
145
136
|
} & {
|
146
137
|
registerPlugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
147
|
-
|
148
|
-
toMarkdown: () => void;
|
138
|
+
toMarkdown: () => string;
|
149
139
|
setContent: (markdown: string) => void;
|
150
140
|
setEditorMode: (editMode: boolean) => void;
|
151
141
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -214,9 +204,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
214
204
|
registerPlugin: {
|
215
205
|
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
216
206
|
};
|
217
|
-
toHtml: {
|
218
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
219
|
-
};
|
220
207
|
toMarkdown: {
|
221
208
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
222
209
|
};
|
@@ -249,11 +236,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
249
236
|
registerPlugin: {
|
250
237
|
subscribe(fn: (result: void, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
251
238
|
};
|
252
|
-
toHtml: {
|
253
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
254
|
-
};
|
255
239
|
toMarkdown: {
|
256
|
-
subscribe(fn: (result:
|
240
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
257
241
|
};
|
258
242
|
setContent: {
|
259
243
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -297,9 +281,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
297
281
|
registerPlugin: {
|
298
282
|
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
299
283
|
};
|
300
|
-
toHtml: {
|
301
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
302
|
-
};
|
303
284
|
toMarkdown: {
|
304
285
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
305
286
|
};
|
@@ -330,8 +311,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
330
311
|
};
|
331
312
|
} & {
|
332
313
|
registerPlugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
333
|
-
|
334
|
-
toMarkdown: () => void;
|
314
|
+
toMarkdown: () => string;
|
335
315
|
setContent: (markdown: string) => void;
|
336
316
|
setEditorMode: (editMode: boolean) => void;
|
337
317
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -402,9 +382,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
402
382
|
registerPlugin: {
|
403
383
|
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
404
384
|
};
|
405
|
-
toHtml: {
|
406
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
407
|
-
};
|
408
385
|
toMarkdown: {
|
409
386
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
410
387
|
};
|
@@ -437,11 +414,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
437
414
|
registerPlugin: {
|
438
415
|
subscribe(fn: (result: void, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
439
416
|
};
|
440
|
-
toHtml: {
|
441
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
442
|
-
};
|
443
417
|
toMarkdown: {
|
444
|
-
subscribe(fn: (result:
|
418
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
445
419
|
};
|
446
420
|
setContent: {
|
447
421
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -485,9 +459,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
485
459
|
registerPlugin: {
|
486
460
|
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
487
461
|
};
|
488
|
-
toHtml: {
|
489
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
490
|
-
};
|
491
462
|
toMarkdown: {
|
492
463
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
493
464
|
};
|
@@ -518,8 +489,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
518
489
|
};
|
519
490
|
} & {
|
520
491
|
registerPlugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
521
|
-
|
522
|
-
toMarkdown: () => void;
|
492
|
+
toMarkdown: () => string;
|
523
493
|
setContent: (markdown: string) => void;
|
524
494
|
setEditorMode: (editMode: boolean) => void;
|
525
495
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -591,9 +561,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
591
561
|
registerPlugin: {
|
592
562
|
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
593
563
|
};
|
594
|
-
toHtml: {
|
595
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
596
|
-
};
|
597
564
|
toMarkdown: {
|
598
565
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
599
566
|
};
|
@@ -626,11 +593,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
626
593
|
registerPlugin: {
|
627
594
|
subscribe(fn: (result: void, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
628
595
|
};
|
629
|
-
toHtml: {
|
630
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
631
|
-
};
|
632
596
|
toMarkdown: {
|
633
|
-
subscribe(fn: (result:
|
597
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
634
598
|
};
|
635
599
|
setContent: {
|
636
600
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -674,9 +638,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
674
638
|
registerPlugin: {
|
675
639
|
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
676
640
|
};
|
677
|
-
toHtml: {
|
678
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
679
|
-
};
|
680
641
|
toMarkdown: {
|
681
642
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
682
643
|
};
|
@@ -707,8 +668,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
707
668
|
};
|
708
669
|
} & {
|
709
670
|
registerPlugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
710
|
-
|
711
|
-
toMarkdown: () => void;
|
671
|
+
toMarkdown: () => string;
|
712
672
|
setContent: (markdown: string) => void;
|
713
673
|
setEditorMode: (editMode: boolean) => void;
|
714
674
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -780,9 +740,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
780
740
|
registerPlugin: {
|
781
741
|
subscribe(fn: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
782
742
|
};
|
783
|
-
toHtml: {
|
784
|
-
subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
785
|
-
};
|
786
743
|
toMarkdown: {
|
787
744
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
788
745
|
};
|
@@ -815,11 +772,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
815
772
|
registerPlugin: {
|
816
773
|
subscribe(fn: (result: void, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
817
774
|
};
|
818
|
-
toHtml: {
|
819
|
-
subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
820
|
-
};
|
821
775
|
toMarkdown: {
|
822
|
-
subscribe(fn: (result:
|
776
|
+
subscribe(fn: (result: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
823
777
|
};
|
824
778
|
setContent: {
|
825
779
|
subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -863,9 +817,6 @@ export declare const useMarkdownToolbarStore: () => {
|
|
863
817
|
registerPlugin: {
|
864
818
|
subscribe(fn: (failureReason: any, pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
865
819
|
};
|
866
|
-
toHtml: {
|
867
|
-
subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
868
|
-
};
|
869
820
|
toMarkdown: {
|
870
821
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
871
822
|
};
|
@@ -896,8 +847,7 @@ export declare const useMarkdownToolbarStore: () => {
|
|
896
847
|
};
|
897
848
|
} & {
|
898
849
|
registerPlugin: (pluginSettings: import("@omnia/fx-models").MarkdownPluginSettings) => void;
|
899
|
-
|
900
|
-
toMarkdown: () => void;
|
850
|
+
toMarkdown: () => string;
|
901
851
|
setContent: (markdown: string) => void;
|
902
852
|
setEditorMode: (editMode: boolean) => void;
|
903
853
|
setEditorContainer: (el: HTMLDivElement) => void;
|
@@ -25,10 +25,8 @@ export declare class DataTableRowRenderer implements IDataTableRowRenderer {
|
|
25
25
|
addIcon(icon: IIcon): void;
|
26
26
|
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
27
27
|
}
|
28
|
-
export type PublicDataTableRowProps = DefineProp<"
|
28
|
+
export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & DefineSlot<"actions", () => VNodeChild>;
|
29
29
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
30
|
-
hideNavigation?: boolean;
|
31
|
-
} & {
|
32
30
|
active?: boolean;
|
33
31
|
} & {
|
34
32
|
remove?: boolean;
|
@@ -77,8 +75,6 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
77
75
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
78
76
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
79
77
|
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
80
|
-
hideNavigation?: boolean;
|
81
|
-
} & {
|
82
78
|
active?: boolean;
|
83
79
|
} & {
|
84
80
|
remove?: boolean;
|
@@ -96,7 +92,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
96
92
|
}, "actions">;
|
97
93
|
} & {
|
98
94
|
"onClick:navigation"?: (e: MouseEvent) => any;
|
99
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "drag" | "active" | "remove" | "
|
95
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "drag" | "active" | "remove" | "draggableIcon">;
|
100
96
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
101
97
|
[key: string]: any;
|
102
98
|
}>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ODraggableVariants } from "@omnia/fx-models";
|
2
|
-
import { DefineEmit, DefineProp, DefineSlot, DefineVModel,
|
2
|
+
import { DefineEmit, DefineProp, DefineSlot, DefineVModel, ItemValueType } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
export type DraggableProps = DefineVModel<"",
|
5
|
-
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<DraggableProps
|
4
|
+
export type DraggableProps<T> = DefineVModel<"", T[], false, null, false, "The draggable items."> & DefineProp<"itemTitle", string | ((item: T) => VNodeChild), false, null, "Specify title property of an item or provide custom render it."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"disabledItem", string, false, null, "Specify a class name for items that are disabled for sortable."> & DefineProp<"placeholderClass", string, false, null, "Custom styles of the placeholder."> & DefineProp<"variant", ODraggableVariants, false, "default", "Applies a distinct style to the component."> & DefineSlot<"item", (item: T, index: number) => VNodeChild, "Define a custom item appearance."> & DefineEmit<"sort:start", () => true, "Emit a sort start event."> & DefineEmit<"sort:end", () => true, "Emit a sort end event.">;
|
5
|
+
declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<DraggableProps<T>>) => {
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
7
7
|
$data: {};
|
8
8
|
$props: {};
|
@@ -38,11 +38,11 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<D
|
|
38
38
|
};
|
39
39
|
$forceUpdate: () => void;
|
40
40
|
$nextTick: typeof import("vue").nextTick;
|
41
|
-
$watch<
|
41
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
42
42
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
43
|
-
propsDefinition: import("@omnia/fx/ux").ExtractProps<DraggableProps
|
43
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<DraggableProps<T>> & {
|
44
44
|
"v-slots"?: {
|
45
|
-
item?: (
|
45
|
+
item?: (item: T, index: number) => VNodeChild;
|
46
46
|
} & Omit<{
|
47
47
|
default?: import("vue").Slot;
|
48
48
|
}, "item">;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineProp, DefinePropClass, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
1
|
+
import { DefineProp, DefinePropClass, DefinePropTheming, DefineSlot, DefineVModel, ItemValueType } from "@omnia/fx/ux";
|
2
2
|
import { ComponentPublicInstance, VNodeChild } from "vue";
|
3
3
|
import { OListLineTypes, OListTypes } from "@omnia/fx-models";
|
4
4
|
export interface IListItem<T> {
|
@@ -6,7 +6,7 @@ export interface IListItem<T> {
|
|
6
6
|
index: number;
|
7
7
|
Item: typeof o.list.item;
|
8
8
|
}
|
9
|
-
export type OListProps<T> = DefinePropTheming & DefinePropClass & DefineVModel<"", T[], false, null, true, "An array of strings or objects used for automatically generating children components."> & DefineProp<"lines", OListLineTypes, false, null, "Designates a minimum-height for all the children o-list-item components. THis props uses line-clamp."> & DefineProp<"nav", boolean, false, false, "An alternative styling that reduces o-list-item width and rounds the corners. Typically used with o-navigation-drawer."> & DefineProp<"toned", boolean, false, false> & DefineProp<"divider", boolean, false, false, "If true, each item will have a bottom divider"> & DefineProp<"variant", OListTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"navigation", boolean | ((item: T) => boolean), false, false, "The row navigation."> & DefineProp<"remove", boolean | ((item: T) => boolean), false, false, "Enable removable row."> & DefineProp<"itemValue",
|
9
|
+
export type OListProps<T> = DefinePropTheming & DefinePropClass & DefineVModel<"", T[], false, null, true, "An array of strings or objects used for automatically generating children components."> & DefineProp<"lines", OListLineTypes, false, null, "Designates a minimum-height for all the children o-list-item components. THis props uses line-clamp."> & DefineProp<"nav", boolean, false, false, "An alternative styling that reduces o-list-item width and rounds the corners. Typically used with o-navigation-drawer."> & DefineProp<"toned", boolean, false, false> & DefineProp<"divider", boolean, false, false, "If true, each item will have a bottom divider"> & DefineProp<"variant", OListTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"navigation", boolean | ((item: T) => boolean), false, false, "The row navigation."> & DefineProp<"remove", boolean | ((item: T) => boolean), false, false, "Enable removable row."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineSlot<"item", (item: IListItem<T>) => VNodeChild>;
|
10
10
|
declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<OListProps<T>>) => {
|
11
11
|
$: import("vue").ComponentInternalInstance;
|
12
12
|
$data: {};
|
@@ -12,7 +12,6 @@ declare const _default: {
|
|
12
12
|
type: import("vue").PropType<boolean>;
|
13
13
|
};
|
14
14
|
toned: {
|
15
|
-
/**Top content in a tab */
|
16
15
|
type: import("vue").PropType<boolean>;
|
17
16
|
};
|
18
17
|
grouped: {
|
@@ -63,7 +62,6 @@ declare const _default: {
|
|
63
62
|
type: import("vue").PropType<boolean>;
|
64
63
|
};
|
65
64
|
toned: {
|
66
|
-
/**Top content in a tab */
|
67
65
|
type: import("vue").PropType<boolean>;
|
68
66
|
};
|
69
67
|
grouped: {
|
@@ -123,7 +121,6 @@ declare const _default: {
|
|
123
121
|
type: import("vue").PropType<boolean>;
|
124
122
|
};
|
125
123
|
toned: {
|
126
|
-
/**Top content in a tab */
|
127
124
|
type: import("vue").PropType<boolean>;
|
128
125
|
};
|
129
126
|
grouped: {
|
@@ -180,7 +177,6 @@ declare const _default: {
|
|
180
177
|
type: import("vue").PropType<boolean>;
|
181
178
|
};
|
182
179
|
toned: {
|
183
|
-
/**Top content in a tab */
|
184
180
|
type: import("vue").PropType<boolean>;
|
185
181
|
};
|
186
182
|
grouped: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineEmit, DefineSlot, ItemType, SelectItemKey, ValidationRule } from "@omnia/fx/ux";
|
1
|
+
import { DefineEmit, DefineSlot, ItemType, ItemValueType, SelectItemKey, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { IIcon, OSelectRenderingItem } from "@omnia/fx-models";
|
4
4
|
import { VSelectSlots } from "../../ComponentTypings";
|
@@ -34,7 +34,7 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
34
34
|
} & {
|
35
35
|
itemTitle?: SelectItemKey<ItemType<TItem>>;
|
36
36
|
} & {
|
37
|
-
itemValue?:
|
37
|
+
itemValue?: ItemValueType<ItemType<TItem>>;
|
38
38
|
} & {
|
39
39
|
variant?: "default" | "add" | "picker" | "combobox";
|
40
40
|
} & {
|
@@ -128,7 +128,7 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
128
128
|
} & {
|
129
129
|
itemTitle?: SelectItemKey<ItemType<TItem>>;
|
130
130
|
} & {
|
131
|
-
itemValue?:
|
131
|
+
itemValue?: ItemValueType<ItemType<TItem>>;
|
132
132
|
} & {
|
133
133
|
variant?: "default" | "add" | "picker" | "combobox";
|
134
134
|
} & {
|
package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts
CHANGED
@@ -90,7 +90,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
90
90
|
} & Omit<{
|
91
91
|
default?: import("vue").Slot;
|
92
92
|
}, "navigation" | "bottomNavigationDrawer" | "prependNavigation">;
|
93
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "sort" | "icon" | "title" | "provider" | "settings" | "v-model" | "onUpdate:modelValue" | "modelValue" | "subTitle" | "
|
93
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "sort" | "icon" | "title" | "provider" | "settings" | "v-model" | "onUpdate:modelValue" | "modelValue" | "subTitle" | "selectedLayout" | "hideNavigation">;
|
94
94
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
95
95
|
[key: string]: any;
|
96
96
|
}>;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.248-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.248-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|