@omnia/fx 8.0.250-dev → 8.0.252-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/stores/markdown/MarkdownPluginStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/DefineVueTypings.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +6 -10
- package/internal-do-not-import-from-here/ux/confirmdialog/IVueConfirmDialog.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +28 -3
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/markdown2/plugins/testdata/TestDataPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +19 -19
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +40 -40
- package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +96 -46
- package/internal-do-not-import-from-here/ux/oxide/fab/FloatingActionButton..d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/speeddial/SpeedDial.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +15 -1
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands_old.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper_old.d.ts +0 -7
@@ -2,6 +2,7 @@ import { MarkdownPluginRegistration, guid } from "@omnia/fx-models";
|
|
2
2
|
export declare const useMarkdownPluginStore: () => {
|
3
3
|
state: {
|
4
4
|
plugins: MarkdownPluginRegistration[];
|
5
|
+
hiddenPlugins: MarkdownPluginRegistration[];
|
5
6
|
};
|
6
7
|
get: {
|
7
8
|
byId(id: guid): MarkdownPluginRegistration;
|
@@ -37,6 +38,7 @@ export declare const useMarkdownPluginStore: () => {
|
|
37
38
|
};
|
38
39
|
events: {
|
39
40
|
onMutatedPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<MarkdownPluginRegistration[]>;
|
41
|
+
onMutatedHiddenPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<MarkdownPluginRegistration[]>;
|
40
42
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
41
43
|
} & {
|
42
44
|
dispose?: () => void;
|
@@ -34,7 +34,6 @@ export type ItemValueType<T> = string | ((item: T) => string | guid | number | O
|
|
34
34
|
export type ItemType<T> = T extends readonly (infer U)[] ? U : never;
|
35
35
|
export type SelectItemKey<T = Record<string, any>> = boolean | null | undefined | string | readonly (string | number)[] | ((item: T, fallback?: any) => any);
|
36
36
|
export type DefinePropTheming = DefineProp<"colorSchemaType", ColorSchemaTypes | ColorSchemaType> & DefineProp<"container", boolean> & DefineProp<"colors", ColorSchemaStoreType>;
|
37
|
-
export type DefinePropClass = DefineProp<"class", String | String[]>;
|
38
37
|
type BuildVModelName<TName extends string, TPropType, Required extends boolean = false> = Required extends false ? {
|
39
38
|
[key in VModelEmitsInJsxElement<TName>]: {
|
40
39
|
type: PropType<(value: TPropType) => any | void>;
|
@@ -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
|
81
|
+
export { type DefineEmit, type DefineProp, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey, type ItemValueType } from "./DefineVueTypings";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ConfirmDialogDisplay } from "./IConfirmDialog";
|
2
2
|
import { ConfirmDialogOptions, ConfirmDialogResponse } from "./IVueConfirmDialog";
|
3
3
|
import "./ConfirmDialog.css";
|
4
|
-
import { ButtonModes, ButtonSizes, ButtonTooltipOptions } from "../../models";
|
4
|
+
import { ButtonModes, ButtonSizes, ButtonTooltipOptions, IIcon } from "../../models";
|
5
5
|
declare const _default: {
|
6
6
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
dialogOptions: {
|
@@ -50,8 +50,7 @@ declare const _default: {
|
|
50
50
|
required: false;
|
51
51
|
};
|
52
52
|
icon: {
|
53
|
-
type: import("vue").PropType<
|
54
|
-
required: false;
|
53
|
+
type: import("vue").PropType<IIcon>;
|
55
54
|
};
|
56
55
|
}>> & {
|
57
56
|
onClose?: (res: ConfirmDialogResponse) => any;
|
@@ -108,8 +107,7 @@ declare const _default: {
|
|
108
107
|
required: false;
|
109
108
|
};
|
110
109
|
icon: {
|
111
|
-
type: import("vue").PropType<
|
112
|
-
required: false;
|
110
|
+
type: import("vue").PropType<IIcon>;
|
113
111
|
};
|
114
112
|
}>> & {
|
115
113
|
onClose?: (res: ConfirmDialogResponse) => any;
|
@@ -168,8 +166,7 @@ declare const _default: {
|
|
168
166
|
required: false;
|
169
167
|
};
|
170
168
|
icon: {
|
171
|
-
type: import("vue").PropType<
|
172
|
-
required: false;
|
169
|
+
type: import("vue").PropType<IIcon>;
|
173
170
|
};
|
174
171
|
}>> & {
|
175
172
|
onClose?: (res: ConfirmDialogResponse) => any;
|
@@ -225,8 +222,7 @@ declare const _default: {
|
|
225
222
|
required: false;
|
226
223
|
};
|
227
224
|
icon: {
|
228
|
-
type: import("vue").PropType<
|
229
|
-
required: false;
|
225
|
+
type: import("vue").PropType<IIcon>;
|
230
226
|
};
|
231
227
|
}>> & {
|
232
228
|
onClose?: (res: ConfirmDialogResponse) => any;
|
@@ -241,7 +237,7 @@ declare const _default: {
|
|
241
237
|
flat?: boolean;
|
242
238
|
type?: ConfirmDialogDisplay;
|
243
239
|
text?: string;
|
244
|
-
icon?:
|
240
|
+
icon?: IIcon;
|
245
241
|
tooltip?: ButtonTooltipOptions;
|
246
242
|
disabled?: boolean;
|
247
243
|
dialogOptions?: ConfirmDialogOptions;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IIcon } from "@omnia/fx-models";
|
1
2
|
export declare enum ConfirmDialogResponse {
|
2
3
|
Ok = 1,
|
3
4
|
Cancel = 2
|
@@ -8,7 +9,7 @@ export interface ConfirmDialogOptions {
|
|
8
9
|
headerClass?: string;
|
9
10
|
contentClass?: string;
|
10
11
|
buttonClass?: string;
|
11
|
-
icon?:
|
12
|
+
icon?: IIcon;
|
12
13
|
variant?: "toolbar";
|
13
14
|
maxWidth?: number;
|
14
15
|
displayMode?: "message" | "confirm";
|
@@ -20,11 +20,11 @@ export declare function useEditorCommands(state: {
|
|
20
20
|
};
|
21
21
|
evenhandlers: {
|
22
22
|
backspace: () => void;
|
23
|
+
enter: () => void;
|
23
24
|
};
|
24
25
|
formatting: {
|
25
|
-
add: (element: HTMLElement, toggleIfExists?: boolean,
|
26
|
-
|
27
|
-
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
26
|
+
add: (element: HTMLElement, toggleIfExists?: boolean, matchByNameAndDataType?: boolean) => void;
|
27
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
28
28
|
};
|
29
29
|
element: {
|
30
30
|
add: (element: HTMLElement) => void;
|
@@ -32,4 +32,29 @@ export declare function useEditorCommands(state: {
|
|
32
32
|
createText: () => HTMLParagraphElement;
|
33
33
|
createComponent: (componentName: string) => HTMLDivElement;
|
34
34
|
};
|
35
|
+
helpers: {
|
36
|
+
editor: {
|
37
|
+
storeCursorPosition: (state: {
|
38
|
+
selectedRange: Range;
|
39
|
+
}) => void;
|
40
|
+
ensureSelectionIsInEditor: (range: Range) => void;
|
41
|
+
};
|
42
|
+
editorNode: {
|
43
|
+
getEditorNodeBySelectors: (nodes: EditorNode[], selectors: {
|
44
|
+
name?: string;
|
45
|
+
id?: string;
|
46
|
+
dataType?: string;
|
47
|
+
}) => EditorNode;
|
48
|
+
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: EditorNode[], matchByNameAndDataType: boolean, deep: boolean) => EditorNode[];
|
49
|
+
getSelectedEditorNodes: (nodeSelectionIds: NodeIdSelection, content: EditorContent) => EditorNode[];
|
50
|
+
removeIds: (nodes: EditorNode[]) => void;
|
51
|
+
};
|
52
|
+
htmlNode: {
|
53
|
+
getNodeIdsForRange: (range: Range) => NodeIdSelection;
|
54
|
+
removeNodes: (nodes2Remove: EditorNode[], editor: HTMLElement) => void;
|
55
|
+
getHtmlElementById: (id: number, element: HTMLElement) => HTMLElement;
|
56
|
+
surroundSelectionWithElement: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
57
|
+
surroundContents: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
58
|
+
};
|
59
|
+
};
|
35
60
|
};
|
package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts
CHANGED
@@ -6,6 +6,7 @@ export declare function useEditorNodeHelper(): {
|
|
6
6
|
id?: string;
|
7
7
|
dataType?: string;
|
8
8
|
}) => EditorNode;
|
9
|
-
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: Array<EditorNode>,
|
9
|
+
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: Array<EditorNode>, matchByNameAndDataType: boolean, deep: boolean) => Array<EditorNode>;
|
10
10
|
getSelectedEditorNodes: (nodeSelectionIds: NodeIdSelection, content: EditorContent) => Array<EditorNode>;
|
11
|
+
removeIds: (nodes: Array<EditorNode>) => void;
|
11
12
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { EditorNode, NodeIdSelection } from "../../models/EditorModels";
|
2
2
|
export type builtIndataTypes = "text" | "formatting";
|
3
3
|
export declare function useHtmlNodeHelper(): {
|
4
|
-
|
4
|
+
getNodeIdsForRange: (range: Range) => NodeIdSelection;
|
5
5
|
removeNodes: (nodes2Remove: Array<EditorNode>, editor: HTMLElement) => void;
|
6
6
|
getHtmlElementById: (id: number, element: HTMLElement) => HTMLElement;
|
7
|
-
|
8
|
-
surroundContents: (element: HTMLElement, range: Range) => void;
|
7
|
+
surroundSelectionWithElement: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
8
|
+
surroundContents: (element: HTMLElement, nodeSelection: NodeIdSelection, range: Range) => void;
|
9
9
|
};
|
@@ -16,17 +16,17 @@ export declare const useMarkdownStore: () => {
|
|
16
16
|
selectedRange: Range;
|
17
17
|
};
|
18
18
|
events: {
|
19
|
-
onMutatedEditorContent: import("@omnia/fx
|
20
|
-
onMutatedPlugins: import("@omnia/fx
|
21
|
-
onMutatedEditMode: import("@omnia/fx
|
22
|
-
onMutatedMaxNodeId: import("@omnia/fx
|
23
|
-
onMutatedToolbarActions: import("@omnia/fx
|
24
|
-
onMutatedEditor: import("@omnia/fx
|
25
|
-
onMutatedSelectedNodes: import("@omnia/fx
|
26
|
-
onMutatedSelectedNodeIds: import("@omnia/fx
|
27
|
-
onMutatedTelePorts: import("@omnia/fx
|
28
|
-
onMutatedId: import("@omnia/fx
|
29
|
-
onMutatedSelectedRange: import("@omnia/fx
|
19
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorContent>;
|
20
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorPlugin[]>;
|
21
|
+
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
22
|
+
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
23
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
|
24
|
+
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
25
|
+
onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorNode[]>;
|
26
|
+
onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeIdSelection>;
|
27
|
+
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
28
|
+
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
29
|
+
onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
|
30
30
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
31
31
|
actions: {
|
32
32
|
onDispatching: {
|
@@ -86,9 +86,9 @@ export declare const useMarkdownStore: () => {
|
|
86
86
|
};
|
87
87
|
formatting: {
|
88
88
|
subscribe(fn: (result: {
|
89
|
-
add: (element: HTMLElement,
|
90
|
-
toggle: (element: HTMLElement,
|
91
|
-
remove: (element: HTMLElement,
|
89
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
90
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
91
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
92
92
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
93
93
|
};
|
94
94
|
element: {
|
@@ -151,9 +151,9 @@ export declare const useMarkdownStore: () => {
|
|
151
151
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
152
152
|
};
|
153
153
|
formatting: () => {
|
154
|
-
add: (element: HTMLElement,
|
155
|
-
toggle: (element: HTMLElement,
|
156
|
-
remove: (element: HTMLElement,
|
154
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
155
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
156
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
157
157
|
};
|
158
158
|
element: () => {
|
159
159
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -168,8 +168,8 @@ export declare const useMarkdownStore: () => {
|
|
168
168
|
get: {
|
169
169
|
plugins: EditorPlugin[];
|
170
170
|
content: {
|
171
|
-
asJSON: () => EditorContent;
|
172
|
-
asString: () => string;
|
171
|
+
asJSON: (cleanIds?: boolean) => EditorContent;
|
172
|
+
asString: (cleanIds?: boolean) => string;
|
173
173
|
};
|
174
174
|
selection: {
|
175
175
|
has: {
|
@@ -87,9 +87,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
87
87
|
};
|
88
88
|
formatting: {
|
89
89
|
subscribe(fn: (result: {
|
90
|
-
add: (element: HTMLElement,
|
91
|
-
toggle: (element: HTMLElement,
|
92
|
-
remove: (element: HTMLElement,
|
90
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
91
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
92
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
93
93
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
94
94
|
};
|
95
95
|
element: {
|
@@ -152,9 +152,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
152
152
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
153
153
|
};
|
154
154
|
formatting: () => {
|
155
|
-
add: (element: HTMLElement,
|
156
|
-
toggle: (element: HTMLElement,
|
157
|
-
remove: (element: HTMLElement,
|
155
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
156
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
157
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
158
158
|
};
|
159
159
|
element: () => {
|
160
160
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -169,8 +169,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
169
169
|
get: {
|
170
170
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
171
171
|
content: {
|
172
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
173
|
-
asString: () => string;
|
172
|
+
asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
|
173
|
+
asString: (cleanIds?: boolean) => string;
|
174
174
|
};
|
175
175
|
selection: {
|
176
176
|
has: {
|
@@ -282,9 +282,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
282
282
|
};
|
283
283
|
formatting: {
|
284
284
|
subscribe(fn: (result: {
|
285
|
-
add: (element: HTMLElement,
|
286
|
-
toggle: (element: HTMLElement,
|
287
|
-
remove: (element: HTMLElement,
|
285
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
286
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
287
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
288
288
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
289
289
|
};
|
290
290
|
element: {
|
@@ -347,9 +347,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
347
347
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
348
348
|
};
|
349
349
|
formatting: () => {
|
350
|
-
add: (element: HTMLElement,
|
351
|
-
toggle: (element: HTMLElement,
|
352
|
-
remove: (element: HTMLElement,
|
350
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
351
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
352
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
353
353
|
};
|
354
354
|
element: () => {
|
355
355
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -364,8 +364,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
364
364
|
get: {
|
365
365
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
366
366
|
content: {
|
367
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
368
|
-
asString: () => string;
|
367
|
+
asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
|
368
|
+
asString: (cleanIds?: boolean) => string;
|
369
369
|
};
|
370
370
|
selection: {
|
371
371
|
has: {
|
@@ -479,9 +479,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
479
479
|
};
|
480
480
|
formatting: {
|
481
481
|
subscribe(fn: (result: {
|
482
|
-
add: (element: HTMLElement,
|
483
|
-
toggle: (element: HTMLElement,
|
484
|
-
remove: (element: HTMLElement,
|
482
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
483
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
484
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
485
485
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
486
486
|
};
|
487
487
|
element: {
|
@@ -544,9 +544,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
544
544
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
545
545
|
};
|
546
546
|
formatting: () => {
|
547
|
-
add: (element: HTMLElement,
|
548
|
-
toggle: (element: HTMLElement,
|
549
|
-
remove: (element: HTMLElement,
|
547
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
548
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
549
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
550
550
|
};
|
551
551
|
element: () => {
|
552
552
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -561,8 +561,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
561
561
|
get: {
|
562
562
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
563
563
|
content: {
|
564
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
565
|
-
asString: () => string;
|
564
|
+
asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
|
565
|
+
asString: (cleanIds?: boolean) => string;
|
566
566
|
};
|
567
567
|
selection: {
|
568
568
|
has: {
|
@@ -677,9 +677,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
677
677
|
};
|
678
678
|
formatting: {
|
679
679
|
subscribe(fn: (result: {
|
680
|
-
add: (element: HTMLElement,
|
681
|
-
toggle: (element: HTMLElement,
|
682
|
-
remove: (element: HTMLElement,
|
680
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
681
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
682
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
683
683
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
684
684
|
};
|
685
685
|
element: {
|
@@ -742,9 +742,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
742
742
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
743
743
|
};
|
744
744
|
formatting: () => {
|
745
|
-
add: (element: HTMLElement,
|
746
|
-
toggle: (element: HTMLElement,
|
747
|
-
remove: (element: HTMLElement,
|
745
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
746
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
747
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
748
748
|
};
|
749
749
|
element: () => {
|
750
750
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -759,8 +759,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
759
759
|
get: {
|
760
760
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
761
761
|
content: {
|
762
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
763
|
-
asString: () => string;
|
762
|
+
asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
|
763
|
+
asString: (cleanIds?: boolean) => string;
|
764
764
|
};
|
765
765
|
selection: {
|
766
766
|
has: {
|
@@ -875,9 +875,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
875
875
|
};
|
876
876
|
formatting: {
|
877
877
|
subscribe(fn: (result: {
|
878
|
-
add: (element: HTMLElement,
|
879
|
-
toggle: (element: HTMLElement,
|
880
|
-
remove: (element: HTMLElement,
|
878
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
879
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
880
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
881
881
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
882
882
|
};
|
883
883
|
element: {
|
@@ -940,9 +940,9 @@ export declare const useMarkdownToolbarStore: () => {
|
|
940
940
|
add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
|
941
941
|
};
|
942
942
|
formatting: () => {
|
943
|
-
add: (element: HTMLElement,
|
944
|
-
toggle: (element: HTMLElement,
|
945
|
-
remove: (element: HTMLElement,
|
943
|
+
add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
944
|
+
toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
945
|
+
remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
|
946
946
|
};
|
947
947
|
element: () => {
|
948
948
|
createForComponent: (componentName: string) => HTMLDivElement;
|
@@ -957,8 +957,8 @@ export declare const useMarkdownToolbarStore: () => {
|
|
957
957
|
get: {
|
958
958
|
plugins: import("../models/EditorPlugin").EditorPlugin[];
|
959
959
|
content: {
|
960
|
-
asJSON: () => import("../models/EditorModels").EditorContent;
|
961
|
-
asString: () => string;
|
960
|
+
asJSON: (cleanIds?: boolean) => import("../models/EditorModels").EditorContent;
|
961
|
+
asString: (cleanIds?: boolean) => string;
|
962
962
|
};
|
963
963
|
selection: {
|
964
964
|
has: {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { DefineProp,
|
1
|
+
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, EventType } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
declare const defaultWeekDays: number[];
|
4
|
-
type CalendarProps<T extends EventType> = DefinePropTheming &
|
4
|
+
type CalendarProps<T extends EventType> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", Date[], false, null, false, "The v-model of the component"> & DefineProp<"events", T[], false, null, "Array of events specific to this interval."> & DefineProp<"viewMode", "month" | "day" | "week", false, "month", "The current view mode of the calendar."> & DefineProp<"weekdays", number[], false, typeof defaultWeekDays, "Specifies which days of the week to display.Default is [0, 1, 2, 3, 4, 5, 6]"> & DefineProp<"year", number, false, null, "Specifies the year for the calendar view."> & DefineProp<"month", number, false, null, "Specifies the month for the calendar view."> & DefineProp<"intervalHeight", number, false, null, "Height of the interval in pixels in the calendar view."> & DefineProp<"intervals", number, false, 24, "Total number of intervals in a day view."> & DefineProp<"intervalStart", number, false, 0, "Starting time for this specific interval."> & DefineProp<"max", Date, false, null, "Maximum date or value that can be selected."> & DefineProp<"min", Date, false, null, "Minimum date or value that can be selected."> & DefineProp<"hideWeekNumber", boolean, false, false, "Toggles the display of week numbers in a calendar view."> & DefineProp<"hideDayHeader", boolean, false, false, "Determines whether the day header is visible in the calendar day view."> & DefineProp<"hideHeader", boolean, false, false, "Determines whether the header is hidden in the calendar view."> & DefineProp<"allowedDates", Date[] | ((date: Date) => boolean), false, null, "Determines which dates are selectable."> & DefineSlot<"event", (event: {
|
5
5
|
day: Date;
|
6
6
|
allDay: boolean;
|
7
7
|
event: T;
|
@@ -7,12 +7,18 @@ export interface IDataTableRow<T = any> {
|
|
7
7
|
Row: RowElement;
|
8
8
|
Cell: CellElement;
|
9
9
|
}
|
10
|
-
export type DataTablePropsBase<T> = DefinePropTheming & DefineVModel<"expanded", Array<string>, false, null, false, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, false, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof defaultItems, true, "An array of strings or objects used for automatically generating children components."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
10
|
+
export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, false, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, false, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof defaultItems, true, "An array of strings or objects used for automatically generating children components."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
11
|
+
page: number;
|
12
|
+
itemsPerPage: number;
|
13
|
+
sortBy: SortItem[];
|
14
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
11
15
|
item: T;
|
12
16
|
}) => void>;
|
13
17
|
type DefaultProps = {};
|
14
18
|
type ItemsPerPageProp = DefineProp<"itemsPerPage", number, false, -1, "Changes how many items per page should be visible. If set a paging footer is displayed.">;
|
15
|
-
type
|
19
|
+
type PageProp = DefineProp<"page", number, false, 1, "The current page.">;
|
20
|
+
type ClientPaginationPageProps = ItemsPerPageProp & PageProp;
|
21
|
+
type ServerPaginationPageProps = ItemsPerPageProp & PageProp & DefineProp<"itemsLength", number, true, null, "Number of all items.">;
|
16
22
|
type CellElement = (props: ConstructComponentProps<Pick<TdHTMLAttributes, "colspan" | "rowspan" | "headers">>) => any;
|
17
23
|
type RowElement = (props: ConstructComponentProps<PublicDataTableRowProps>) => any;
|
18
24
|
declare const defaultHeaders: DataTableHeader[];
|
@@ -25,6 +31,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
25
31
|
container?: boolean;
|
26
32
|
} & {
|
27
33
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
34
|
+
} & {
|
35
|
+
class?: String | String[];
|
28
36
|
} & {
|
29
37
|
"v-model:expanded"?: string[];
|
30
38
|
} & {
|
@@ -65,13 +73,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
65
73
|
"onUpdate:items"?: (value: T[]) => void;
|
66
74
|
} & {
|
67
75
|
items?: T[];
|
68
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
76
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
77
|
+
page: number;
|
78
|
+
itemsPerPage: number;
|
79
|
+
sortBy: SortItem[];
|
80
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
69
81
|
item: T;
|
70
82
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
71
83
|
showLoadMore?: boolean;
|
72
|
-
} : TVariant extends "client-pagination-page" ? {
|
73
|
-
itemsPerPage?: number;
|
74
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
84
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
75
85
|
showLoadMore?: boolean;
|
76
86
|
} : DefaultProps)>) => {
|
77
87
|
$: import("vue").ComponentInternalInstance;
|
@@ -119,6 +129,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
119
129
|
container?: boolean;
|
120
130
|
} & {
|
121
131
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
132
|
+
} & {
|
133
|
+
class?: String | String[];
|
122
134
|
} & {
|
123
135
|
"v-model:expanded"?: string[];
|
124
136
|
} & {
|
@@ -159,13 +171,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
159
171
|
"onUpdate:items"?: (value: T[]) => void;
|
160
172
|
} & {
|
161
173
|
items?: T[];
|
162
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
174
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
175
|
+
page: number;
|
176
|
+
itemsPerPage: number;
|
177
|
+
sortBy: SortItem[];
|
178
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
163
179
|
item: T;
|
164
180
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
165
181
|
showLoadMore?: boolean;
|
166
|
-
} : TVariant extends "client-pagination-page" ? {
|
167
|
-
itemsPerPage?: number;
|
168
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
182
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
169
183
|
showLoadMore?: boolean;
|
170
184
|
} : DefaultProps)> & {
|
171
185
|
"v-slots"?: ({
|
@@ -176,6 +190,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
176
190
|
container?: boolean;
|
177
191
|
} & {
|
178
192
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
193
|
+
} & {
|
194
|
+
class?: String | String[];
|
179
195
|
} & {
|
180
196
|
"v-model:expanded"?: string[];
|
181
197
|
} & {
|
@@ -216,13 +232,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
216
232
|
"onUpdate:items"?: (value: T[]) => void;
|
217
233
|
} & {
|
218
234
|
items?: T[];
|
219
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
235
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
236
|
+
page: number;
|
237
|
+
itemsPerPage: number;
|
238
|
+
sortBy: SortItem[];
|
239
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
220
240
|
item: T;
|
221
241
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
222
242
|
showLoadMore?: boolean;
|
223
|
-
} : TVariant extends "client-pagination-page" ? {
|
224
|
-
itemsPerPage?: number;
|
225
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
243
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
226
244
|
showLoadMore?: boolean;
|
227
245
|
} : DefaultProps) extends infer T_2 ? { [K in keyof T_2 as K extends `slot:${infer N}` ? N : never]: ({
|
228
246
|
variant?: TVariant;
|
@@ -232,6 +250,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
232
250
|
container?: boolean;
|
233
251
|
} & {
|
234
252
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
253
|
+
} & {
|
254
|
+
class?: String | String[];
|
235
255
|
} & {
|
236
256
|
"v-model:expanded"?: string[];
|
237
257
|
} & {
|
@@ -272,13 +292,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
272
292
|
"onUpdate:items"?: (value: T[]) => void;
|
273
293
|
} & {
|
274
294
|
items?: T[];
|
275
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
295
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
296
|
+
page: number;
|
297
|
+
itemsPerPage: number;
|
298
|
+
sortBy: SortItem[];
|
299
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
276
300
|
item: T;
|
277
301
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
278
302
|
showLoadMore?: boolean;
|
279
|
-
} : TVariant extends "client-pagination-page" ? {
|
280
|
-
itemsPerPage?: number;
|
281
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
303
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
282
304
|
showLoadMore?: boolean;
|
283
305
|
} : DefaultProps))[K]; } : never) & Omit<{
|
284
306
|
default?: import("vue").Slot;
|
@@ -290,6 +312,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
290
312
|
container?: boolean;
|
291
313
|
} & {
|
292
314
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
315
|
+
} & {
|
316
|
+
class?: String | String[];
|
293
317
|
} & {
|
294
318
|
"v-model:expanded"?: string[];
|
295
319
|
} & {
|
@@ -330,13 +354,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
330
354
|
"onUpdate:items"?: (value: T[]) => void;
|
331
355
|
} & {
|
332
356
|
items?: T[];
|
333
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
357
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
358
|
+
page: number;
|
359
|
+
itemsPerPage: number;
|
360
|
+
sortBy: SortItem[];
|
361
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
334
362
|
item: T;
|
335
363
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
336
364
|
showLoadMore?: boolean;
|
337
|
-
} : TVariant extends "client-pagination-page" ? {
|
338
|
-
itemsPerPage?: number;
|
339
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
365
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
340
366
|
showLoadMore?: boolean;
|
341
367
|
} : DefaultProps) extends infer T_3 ? { [K in keyof T_3 as K extends `slot:${infer N}` ? N : never]: ({
|
342
368
|
variant?: TVariant;
|
@@ -346,6 +372,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
346
372
|
container?: boolean;
|
347
373
|
} & {
|
348
374
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
375
|
+
} & {
|
376
|
+
class?: String | String[];
|
349
377
|
} & {
|
350
378
|
"v-model:expanded"?: string[];
|
351
379
|
} & {
|
@@ -386,13 +414,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
386
414
|
"onUpdate:items"?: (value: T[]) => void;
|
387
415
|
} & {
|
388
416
|
items?: T[];
|
389
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
417
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
418
|
+
page: number;
|
419
|
+
itemsPerPage: number;
|
420
|
+
sortBy: SortItem[];
|
421
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
390
422
|
item: T;
|
391
423
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
392
424
|
showLoadMore?: boolean;
|
393
|
-
} : TVariant extends "client-pagination-page" ? {
|
394
|
-
itemsPerPage?: number;
|
395
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
425
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
396
426
|
showLoadMore?: boolean;
|
397
427
|
} : DefaultProps))[K]; } : never>>;
|
398
428
|
} & (({
|
@@ -403,6 +433,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
403
433
|
container?: boolean;
|
404
434
|
} & {
|
405
435
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
436
|
+
} & {
|
437
|
+
class?: String | String[];
|
406
438
|
} & {
|
407
439
|
"v-model:expanded"?: string[];
|
408
440
|
} & {
|
@@ -443,13 +475,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
443
475
|
"onUpdate:items"?: (value: T[]) => void;
|
444
476
|
} & {
|
445
477
|
items?: T[];
|
446
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
478
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
479
|
+
page: number;
|
480
|
+
itemsPerPage: number;
|
481
|
+
sortBy: SortItem[];
|
482
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
447
483
|
item: T;
|
448
484
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
449
485
|
showLoadMore?: boolean;
|
450
|
-
} : TVariant extends "client-pagination-page" ? {
|
451
|
-
itemsPerPage?: number;
|
452
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
486
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
453
487
|
showLoadMore?: boolean;
|
454
488
|
} : DefaultProps) extends infer T_4 ? { [K_1 in keyof T_4 as K_1 extends `emit:${infer N_1}` ? N_1 : never]: ({
|
455
489
|
variant?: TVariant;
|
@@ -459,6 +493,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
459
493
|
container?: boolean;
|
460
494
|
} & {
|
461
495
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
496
|
+
} & {
|
497
|
+
class?: String | String[];
|
462
498
|
} & {
|
463
499
|
"v-model:expanded"?: string[];
|
464
500
|
} & {
|
@@ -499,13 +535,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
499
535
|
"onUpdate:items"?: (value: T[]) => void;
|
500
536
|
} & {
|
501
537
|
items?: T[];
|
502
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
538
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
539
|
+
page: number;
|
540
|
+
itemsPerPage: number;
|
541
|
+
sortBy: SortItem[];
|
542
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
503
543
|
item: T;
|
504
544
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
505
545
|
showLoadMore?: boolean;
|
506
|
-
} : TVariant extends "client-pagination-page" ? {
|
507
|
-
itemsPerPage?: number;
|
508
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
546
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
509
547
|
showLoadMore?: boolean;
|
510
548
|
} : DefaultProps))[K_1]; } : never) extends infer T_5 ? T_5 extends ({
|
511
549
|
variant?: TVariant;
|
@@ -515,6 +553,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
515
553
|
container?: boolean;
|
516
554
|
} & {
|
517
555
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
556
|
+
} & {
|
557
|
+
class?: String | String[];
|
518
558
|
} & {
|
519
559
|
"v-model:expanded"?: string[];
|
520
560
|
} & {
|
@@ -555,13 +595,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
555
595
|
"onUpdate:items"?: (value: T[]) => void;
|
556
596
|
} & {
|
557
597
|
items?: T[];
|
558
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
598
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
599
|
+
page: number;
|
600
|
+
itemsPerPage: number;
|
601
|
+
sortBy: SortItem[];
|
602
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
559
603
|
item: T;
|
560
604
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
561
605
|
showLoadMore?: boolean;
|
562
|
-
} : TVariant extends "client-pagination-page" ? {
|
563
|
-
itemsPerPage?: number;
|
564
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
606
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
565
607
|
showLoadMore?: boolean;
|
566
608
|
} : DefaultProps) extends infer T_6 ? { [K_1 in keyof T_6 as K_1 extends `emit:${infer N_1}` ? N_1 : never]: ({
|
567
609
|
variant?: TVariant;
|
@@ -571,6 +613,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
571
613
|
container?: boolean;
|
572
614
|
} & {
|
573
615
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
616
|
+
} & {
|
617
|
+
class?: String | String[];
|
574
618
|
} & {
|
575
619
|
"v-model:expanded"?: string[];
|
576
620
|
} & {
|
@@ -611,13 +655,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
611
655
|
"onUpdate:items"?: (value: T[]) => void;
|
612
656
|
} & {
|
613
657
|
items?: T[];
|
614
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
658
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
659
|
+
page: number;
|
660
|
+
itemsPerPage: number;
|
661
|
+
sortBy: SortItem[];
|
662
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
615
663
|
item: T;
|
616
664
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
617
665
|
showLoadMore?: boolean;
|
618
|
-
} : TVariant extends "client-pagination-page" ? {
|
619
|
-
itemsPerPage?: number;
|
620
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
666
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
621
667
|
showLoadMore?: boolean;
|
622
668
|
} : DefaultProps))[K_1]; } : never) ? T_5 extends string[] ? { [K_2 in `on${Capitalize<T_5[number]>}`]?: (...args: any[]) => any; } : T_5 extends import("vue").ObjectEmitsOptions ? { [K_3 in `on${Capitalize<string & keyof T_5>}`]?: K_3 extends `on${infer C}` ? T_5[Uncapitalize<C>] extends null ? (...args: any[]) => any : (...args: T_5[Uncapitalize<C>] extends (...args: infer P) => any ? P : never) => any : never; } : {} : never : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, keyof ExtractProps<{
|
623
669
|
variant?: TVariant;
|
@@ -627,6 +673,8 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
627
673
|
container?: boolean;
|
628
674
|
} & {
|
629
675
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
676
|
+
} & {
|
677
|
+
class?: String | String[];
|
630
678
|
} & {
|
631
679
|
"v-model:expanded"?: string[];
|
632
680
|
} & {
|
@@ -667,13 +715,15 @@ declare const _default: <T extends unknown, TVariant extends "default" | "client
|
|
667
715
|
"onUpdate:items"?: (value: T[]) => void;
|
668
716
|
} & {
|
669
717
|
items?: T[];
|
670
|
-
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options:
|
718
|
+
} & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: {
|
719
|
+
page: number;
|
720
|
+
itemsPerPage: number;
|
721
|
+
sortBy: SortItem[];
|
722
|
+
}) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
671
723
|
item: T;
|
672
724
|
}) => void> & (TVariant extends "client-pagination-scroll" ? {
|
673
725
|
showLoadMore?: boolean;
|
674
|
-
} : TVariant extends "client-pagination-page" ? {
|
675
|
-
itemsPerPage?: number;
|
676
|
-
} : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
726
|
+
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? {
|
677
727
|
showLoadMore?: boolean;
|
678
728
|
} : DefaultProps)>>;
|
679
729
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ButtonIconOptions, OSizeTypes } from "@omnia/fx-models";
|
2
|
-
import { DefineProp,
|
3
|
-
type FabProps = DefinePropTheming &
|
2
|
+
import { DefineProp, DefinePropTheming, DefineVModel } from "@omnia/fx/ux";
|
3
|
+
type FabProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", boolean, false, true, false, "The v-model of the component"> & DefineProp<"active", boolean, false, true, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"app", boolean, false, false, "If true, attaches to the closest layout and positions according to the value of location."> & DefineProp<"block", boolean, false, false, "Expands the button to 100% of available space."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"stacked", boolean, false, false, "Displays the button as a column with the icon on top"> & DefineProp<"text", string, false, null, "Specify content text for the component."> & DefineProp<"size", OSizeTypes, false, "default", "Sets the size of the button."> & DefineProp<"variant", "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain", false, "elevated", "Applies a distinct style to the component."> & DefineProp<"icon", ButtonIconOptions, false, null, "Sets the icon to display on the button. If no text is provided the button will be displayed as an icon button.">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<FabProps>) => {
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
6
6
|
$data: {};
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { DefineEmit, DefineProp,
|
1
|
+
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ExtractProps, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { ColorValue } from "@omnia/fx/models";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
export declare const OTextBoxVariantTypeDefinitions: readonly ["default", "search", "find-slim", "link", "media"];
|
5
5
|
export type OTextBoxVariantTypes = typeof OTextBoxVariantTypeDefinitions[number];
|
6
6
|
export declare const InputTypeDefinitions: readonly ["text", "password", "number"];
|
7
7
|
export type InputTypes = typeof InputTypeDefinitions[number];
|
8
|
-
type BaseProps = DefinePropTheming &
|
8
|
+
type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextBoxVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "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."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
|
9
9
|
type NumberInputProps = DefineVModel<"", number, false, null, false, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & BaseProps;
|
10
10
|
type TextInputProps = DefineVModel<"", string, false, null, false, "The v-model value of the component."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps;
|
11
11
|
declare const _default: <TType extends "number" | "text" | "password" = "text">(props: import("@omnia/fx/ux").ConstructComponentProps<{
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineProp,
|
1
|
+
import { DefineProp, 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 &
|
9
|
+
export type OListProps<T> = DefinePropTheming & DefineProp<"class", String | String[]> & 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: {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ButtonIconOptions, OListItemVariants } from "@omnia/fx/models";
|
2
|
-
import { DefineEmit, DefineProp,
|
2
|
+
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
type ListItemSlot = {
|
5
5
|
isActive: boolean;
|
@@ -7,7 +7,7 @@ type ListItemSlot = {
|
|
7
7
|
isIndeterminate: boolean;
|
8
8
|
select: (value: boolean) => void;
|
9
9
|
};
|
10
|
-
export type OListItemProps = DefinePropTheming &
|
10
|
+
export type OListItemProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"icon", ButtonIconOptions, false, null, "The icon of the component."> & DefineProp<"title", VNodeChild, false, false, "The title of the component."> & DefineProp<"subtitle", VNodeChild, false, false, "Specify a subtitle text for the component."> & DefineProp<"active", boolean, false, false, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"disabled", boolean, false, null, "Removed the ability to interact with the component."> & DefineProp<"variant", OListItemVariants, false, null, "Applies a distinct style to the component."> & DefineSlot<"append", (item: ListItemSlot) => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"prepend", (item: ListItemSlot) => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"default", (item: ListItemSlot) => VNodeChild, "The default Vue slot."> & DefineSlot<"title", (value: {
|
11
11
|
title: string | number;
|
12
12
|
}) => VNodeChild, "Slot for the component’s title content."> & DefineSlot<"subtitle", (value: {
|
13
13
|
subtitle: string | number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OPosition } from "@omnia/fx-models";
|
2
|
-
import { DefineProp,
|
2
|
+
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
type SpeedDialProps = DefinePropTheming &
|
4
|
+
type SpeedDialProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", boolean, false, false, false, "The v-model of the component"> & DefineProp<"openOnClick", boolean, false, null, "Activate the component when the activator is clicked."> & DefineProp<"openOnFocus", boolean, false, null, "Activate the component when the activator is focused."> & DefineProp<"openOnHover", boolean, false, false, "Opens speed-dial on hover."> & DefineProp<"persistent", boolean, false, false, "Clicking outside of the element or pressing esc key will not deactivate it."> & DefineProp<"location", OPosition, false, "top center", "Specifies the component's location. Can combine by using a space separated string."> & DefineSlot<"activator", () => VNodeChild>;
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<SpeedDialProps>) => {
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
7
7
|
$data: {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration } from "@omnia/fx-models";
|
1
|
+
import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
|
2
2
|
type InsertMode = "add" | "change";
|
3
3
|
export interface InsertOptions {
|
4
4
|
preInsert?: boolean;
|
@@ -77,6 +77,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
77
77
|
setMarkdownEditorStore: {
|
78
78
|
subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
79
79
|
};
|
80
|
+
plugins: {
|
81
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
82
|
+
};
|
80
83
|
selectorActions: {
|
81
84
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
82
85
|
};
|
@@ -103,6 +106,11 @@ export declare const useVelcronContentEditorStore: () => {
|
|
103
106
|
setMarkdownEditorStore: {
|
104
107
|
subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
105
108
|
};
|
109
|
+
plugins: {
|
110
|
+
subscribe(fn: (result: {
|
111
|
+
register: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => void;
|
112
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
|
+
};
|
106
114
|
selectorActions: {
|
107
115
|
subscribe(fn: (result: {
|
108
116
|
hideDefaultSelector: () => void;
|
@@ -163,6 +171,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
163
171
|
setMarkdownEditorStore: {
|
164
172
|
subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
165
173
|
};
|
174
|
+
plugins: {
|
175
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
176
|
+
};
|
166
177
|
selectorActions: {
|
167
178
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
168
179
|
};
|
@@ -187,6 +198,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
187
198
|
};
|
188
199
|
} & {
|
189
200
|
setMarkdownEditorStore(store: any): void;
|
201
|
+
plugins: () => {
|
202
|
+
register: (pluginSettings: MarkdownPluginSettings | MarkdownPluginSettings[]) => void;
|
203
|
+
};
|
190
204
|
selectorActions: () => {
|
191
205
|
hideDefaultSelector: () => void;
|
192
206
|
showCopySelector(): void;
|
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.252-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.252-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
@@ -1,27 +0,0 @@
|
|
1
|
-
export type builtIndataTypes = "text" | "formatting";
|
2
|
-
export declare function useEditorCommands(state: {
|
3
|
-
editor: HTMLDivElement;
|
4
|
-
selectedRange: Range;
|
5
|
-
maxNodeId: number;
|
6
|
-
}): {
|
7
|
-
selection: {
|
8
|
-
pluginNodes: () => any[];
|
9
|
-
};
|
10
|
-
actions: {
|
11
|
-
storeCursorPosition: () => void;
|
12
|
-
};
|
13
|
-
evenhandlers: {
|
14
|
-
backspace: () => void;
|
15
|
-
};
|
16
|
-
formatting: {
|
17
|
-
add: (element: HTMLElement, toggleIfExists?: boolean, matchByDataTypeOnly?: boolean) => void;
|
18
|
-
toggle: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
19
|
-
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
20
|
-
};
|
21
|
-
element: {
|
22
|
-
add: (element: HTMLElement) => void;
|
23
|
-
create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
|
24
|
-
createText: () => HTMLParagraphElement;
|
25
|
-
createComponent: (componentName: string) => HTMLDivElement;
|
26
|
-
};
|
27
|
-
};
|
package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper_old.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
export type builtIndataTypes = "text" | "formatting";
|
2
|
-
export declare function useHtmlNodeHelper(): {
|
3
|
-
getPluginNodes: (element: Node) => Node[];
|
4
|
-
removeExistingFormatting: (element: HTMLElement, range: Range, matchByDataTypeOnly: boolean) => boolean;
|
5
|
-
removeNodeAndKeepContent: (node: Node) => void;
|
6
|
-
surroundContents: (element: HTMLElement, range: Range) => void;
|
7
|
-
};
|