vueye-table 2.0.0-alpha.12 → 2.0.0-alpha.13

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.
@@ -9,6 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  loading: boolean;
10
10
  selected: Row[] | null;
11
11
  bodyRows: Row[];
12
+ notListedKeys: string[];
12
13
  columnsLength: number;
13
14
  }, {}>, Readonly<import("../../types").SlotRowItem<Record<string, string>> & import("../../types").SlotRowItemContent<Record<string, string>> & {
14
15
  body: (props: {
@@ -2,6 +2,7 @@ import { InferDefaults, Row } from '../../types';
2
2
  export type BodyProps = {
3
3
  loading: boolean;
4
4
  bodyRows: Row[];
5
+ notListedKeys: string[];
5
6
  itemValue: string;
6
7
  columnsLength: number;
7
8
  selected: Row[] | null;
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
3
3
  id: StringConstructor;
4
4
  label: StringConstructor;
5
5
  indeterminate: BooleanConstructor;
6
- modelValue: BooleanConstructor;
6
+ modelValue: (BooleanConstructor | ArrayConstructor)[];
7
7
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (...args: any[]) => void;
9
9
  change: (...args: any[]) => void;
@@ -12,12 +12,11 @@ declare const _default: import("vue").DefineComponent<{
12
12
  id: StringConstructor;
13
13
  label: StringConstructor;
14
14
  indeterminate: BooleanConstructor;
15
- modelValue: BooleanConstructor;
15
+ modelValue: (BooleanConstructor | ArrayConstructor)[];
16
16
  }>> & {
17
17
  onChange?: ((...args: any[]) => any) | undefined;
18
18
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
19
  }, {
20
- modelValue: boolean;
21
20
  checked: boolean;
22
21
  indeterminate: boolean;
23
22
  }, {}>;
@@ -7,6 +7,7 @@ interface PaginationProps {
7
7
  }
8
8
  export declare function useBodyRows<TData extends Record<string, unknown>, TColumn extends ColumnHeader<TData>>(props: VueyeTableProps<TData, TColumn>, headers: MaybeRef<ColumnHeader[]>, pagination: MaybeRef<PaginationProps>): {
9
9
  bodyRows: globalThis.ComputedRef<FlattenObject<TData>[]>;
10
+ notListedKeys: globalThis.ComputedRef<string[]>;
10
11
  rowsCount: globalThis.ComputedRef<number>;
11
12
  onSort: ({ key, desc }: {
12
13
  key: keyof FlattenObject<TData>;
@@ -1,5 +1,5 @@
1
- import type { ColumnHeader, FlattenObject, NativeType } from '../types';
2
- export declare function getBodyRows<TData>(rows: TData[], headers: ColumnHeader[]): FlattenObject<TData>[];
1
+ import type { FlattenObject, NativeType } from '../types';
2
+ export declare function getBodyRows<TData>(rows: TData[], headerKeys: string[]): FlattenObject<TData>[];
3
3
  export declare function paginateRows<TData>(rows: TData[], start?: number, end?: number): TData[];
4
4
  export declare function nestedObjectTransformer(obj: object): Record<string, any>;
5
5
  export declare function deepValues(obj: any): any[];