@agrotools1/at-components 2.0.10 → 2.0.11

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.
@@ -1,9 +1,10 @@
1
- import { ColumnDef, PaginationState, RowData, SortingState } from '@tanstack/vue-table';
1
+ import { ColumnDef, PaginationState, RowData, RowSelectionState, SortingState } from '@tanstack/vue-table';
2
2
  declare const _default: <TData extends RowData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly "onUpdate:pagination"?: ((value: PaginationState) => any) | undefined;
5
5
  readonly "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:pagination" | "onUpdate:sorting"> & {
6
+ readonly "onUpdate:row-selection"?: ((value: RowSelectionState) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:pagination" | "onUpdate:sorting" | "onUpdate:row-selection"> & {
7
8
  /**
8
9
  * The data array to display in the table
9
10
  */
@@ -42,13 +43,17 @@ declare const _default: <TData extends RowData>(__VLS_props: NonNullable<Awaited
42
43
  * Sorting state configuration
43
44
  */
44
45
  sorting?: SortingState;
46
+ /**
47
+ * Row selection state conf
48
+ */
49
+ rowSelection?: RowSelectionState;
45
50
  } & any> & import('vue').PublicProps;
46
51
  expose(exposed: import('vue').ShallowUnwrapRef<{
47
52
  table: import('@tanstack/vue-table').Table<TData>;
48
53
  }>): void;
49
54
  attrs: any;
50
55
  slots: any;
51
- emit: ((evt: "update:pagination", value: PaginationState) => void) & ((evt: "update:sorting", value: SortingState) => void);
56
+ emit: ((evt: "update:pagination", value: PaginationState) => void) & ((evt: "update:sorting", value: SortingState) => void) & ((evt: "update:row-selection", value: RowSelectionState) => void);
52
57
  }>) => import('vue').VNode & {
53
58
  __ctx?: Awaited<typeof __VLS_setup>;
54
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/data-table/DataTable.vue"],"names":[],"mappings":"AAAA,OA8LO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;yBAuB3E,KAAK,SAAS,OAAO,EACrC,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA2WO,mBAAmB,CAAC;;;;QAzW1B;;WAEG;cACG,KAAK,EAAE;QAEb;;WAEG;iBACM,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;QAEhC;;WAEG;oBACS,OAAO;QAEnB;;WAEG;2BACgB,OAAO;QAE1B;;WAEG;wBACa,OAAO;QAEvB;;;WAGG;mBACQ,MAAM;QAEjB;;;WAGG;oBACS,MAAM;QAElB;;WAEG;qBACU,eAAe;QAE5B;;WAEG;kBACO,YAAY;WA4TsE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAtXzE,wBAsX4E;AAC5E,K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