@omnia/fx 8.0.244-dev → 8.0.245-dev
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
|
|
1
1
|
import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, IDataTableRowRenderer, SortItem } from "@omnia/fx/ux";
|
2
|
-
import { ComponentPublicInstance
|
2
|
+
import { ComponentPublicInstance } from "vue";
|
3
3
|
declare const defaultHeaders: DataTableHeader[];
|
4
4
|
declare const defaultItems: any[];
|
5
|
-
export type DataTableProps<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<"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<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"
|
5
|
+
export type DataTableProps<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<"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<"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<"showLoadMore", boolean, false, false, "Shows the button to fetch more data."> & DefineProp<"itemsPerPage", number, false, -1, "Changes how many items per page should be visible. If set a paging footer is displayed."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof defaultItems, false, "An array of strings or objects used for automatically generating children components."> & DefineEmit<"update:sortBy", (item: SortItem[]) => void> & DefineEmit<"update:expanded", (expanded: string[]) => void> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
6
6
|
item: T;
|
7
7
|
}) => void>;
|
8
8
|
declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<DataTableProps<T>>) => {
|
@@ -57,7 +57,7 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Constr
|
|
57
57
|
"onUpdate:expanded"?: (expanded: string[]) => any;
|
58
58
|
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
59
59
|
"onClick:loadMore"?: () => any;
|
60
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "container" | "height" | "expanded" | "colorSchemaType" | "items" | "colors" | "
|
60
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "container" | "drag" | "height" | "expanded" | "colorSchemaType" | "items" | "colors" | "loading" | "v-model:expanded" | "onUpdate:expanded" | "sortBy" | "v-model:sortBy" | "onUpdate:sortBy" | "mustSort" | "noDataText" | "hover" | "showExpand" | "showLoadMore" | "itemsPerPage" | "v-model:items" | "onUpdate:items">;
|
61
61
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
62
|
[key: string]: any;
|
63
63
|
}>;
|
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.245-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.245-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|