@omnia/fx 8.0.235-dev → 8.0.236-dev

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,6 @@ export declare function useBlade<TRoute extends {
63
63
  "onUpdate:expanded"?: (expanded: string[]) => any;
64
64
  "onUpdate:sortBy"?: (item: import("../..").SortItem[]) => any;
65
65
  "onClick:loadMore"?: () => any;
66
- "onUpdate:drag"?: () => any;
67
66
  } & Omit<import("../..").VueComponentBaseProps, "headers" | "container" | "height" | "expanded" | "colorSchemaType" | "items" | "colors" | "draggable" | "loading" | "v-model:expanded" | "onUpdate:expanded" | "sortBy" | "v-model:sortBy" | "onUpdate:sortBy" | "mustSort" | "noDataText" | "hover" | "showExpand" | "showLoadMore" | "itemsPerPage" | "v-model:items" | "onUpdate:items">;
68
67
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
69
68
  [key: string]: any;
@@ -4,7 +4,7 @@ declare const defaultHeaders: DataTableHeader[];
4
4
  declare const defaultItems: any[];
5
5
  export type DataTableProps<T> = DefinePropTheming & DefineVModel<"expanded", Array<string>, false, null, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, "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<"draggable", boolean | Ref<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, "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
- }) => void> & DefineEmit<"update:drag", () => void>;
7
+ }) => void>;
8
8
  declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<DataTableProps<T>>) => {
9
9
  $: import("vue").ComponentInternalInstance;
10
10
  $data: {};
@@ -57,7 +57,6 @@ 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
- "onUpdate:drag"?: () => any;
61
60
  } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "container" | "height" | "expanded" | "colorSchemaType" | "items" | "colors" | "draggable" | "loading" | "v-model:expanded" | "onUpdate:expanded" | "sortBy" | "v-model:sortBy" | "onUpdate:sortBy" | "mustSort" | "noDataText" | "hover" | "showExpand" | "showLoadMore" | "itemsPerPage" | "v-model:items" | "onUpdate:items">;
62
61
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
62
  [key: string]: any;
@@ -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<"items", T[], false, null, "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<"draggable", boolean | Ref<boolean>, false, false, "Enable draggable row."> & DefineSlot<"item", (item: IListItem<T>) => VNodeChild>;
9
+ export type OListProps<T> = DefinePropTheming & DefinePropClass & DefineVModel<"", T[], false, null, "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<"draggable", boolean | Ref<boolean>, false, false, "Enable draggable row."> & 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: {};
@@ -51,7 +51,7 @@ declare const _default: <T extends unknown>(props: import("@omnia/fx/ux").Constr
51
51
  } & Omit<{
52
52
  default?: import("vue").Slot;
53
53
  }, "item">;
54
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "container" | "class" | "nav" | "colorSchemaType" | "toned" | "items" | "colors" | "draggable" | "variant" | "divider" | "v-model:items" | "onUpdate:items" | "lines">;
54
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "container" | "class" | "nav" | "colorSchemaType" | "toned" | "colors" | "v-model" | "onUpdate:modelValue" | "modelValue" | "draggable" | "variant" | "divider" | "lines">;
55
55
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
56
  [key: string]: any;
57
57
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.235-dev",
4
+ "version": "8.0.236-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.235-dev",
23
+ "@omnia/fx-models": "8.0.236-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",