@omnia/fx 8.0.247-dev → 8.0.249-dev
Sign up to get free protection for your applications and to get access to all the features.
- 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/journey/DefineBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +11 -15
- package/internal-do-not-import-from-here/ux/markdown2/models/MarkdownParser.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/markdown2/models/MarkdownPlugin.d.ts +3 -7
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/markdown2/parsers/builtin/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/builtin/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/builtin/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +13 -11
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +65 -55
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +584 -20
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +1 -1
- 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/wctypings.d.ts +0 -3
- package/package.json +2 -2
@@ -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
|
} & {
|
@@ -1276,9 +1276,6 @@ declare global {
|
|
1276
1276
|
"o-col": typeof wcd116618a12d0439f8da809535809c260 extends {
|
1277
1277
|
propsDefinition: infer TProp;
|
1278
1278
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wcd116618a12d0439f8da809535809c260 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wcd116618a12d0439f8da809535809c260>, "propsDefinition">> : never;
|
1279
|
-
"o-data-table": typeof wc27c00720f7fb46bbb39286a2cb94797c extends {
|
1280
|
-
propsDefinition: infer TProp;
|
1281
|
-
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc27c00720f7fb46bbb39286a2cb94797c extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc27c00720f7fb46bbb39286a2cb94797c>, "propsDefinition">> : never;
|
1282
1279
|
"o-data-table-server": typeof wc810f65f430374ef2a142907a707f650f extends {
|
1283
1280
|
propsDefinition: infer TProp;
|
1284
1281
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc810f65f430374ef2a142907a707f650f extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc810f65f430374ef2a142907a707f650f>, "propsDefinition">> : never;
|
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.249-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.249-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|