@kong-ui-public/table-data-grid 0.1.1 → 0.1.3-pr.3447.ad53a8928.0

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.
package/README.md CHANGED
@@ -2,21 +2,55 @@
2
2
 
3
3
  Reusable Vue wrapper around AG Grid for Kong table data grids.
4
4
 
5
- This initial package version supports a basic infinite-placeholder fetcher and AG Grid rendering.
5
+ This package currently supports AG Grid infinite row loading with a cursor-first
6
+ fetcher contract, basic column definitions, empty/error presentation states, and
7
+ state lifecycle emits.
8
+
9
+ ## Peer Dependencies
10
+
11
+ Consumers must provide `vue` and `@kong/kongponents`. The host app should
12
+ register Kongponents and load its styles because TableDataGrid presentation
13
+ states render Kongponents components.
14
+
15
+ ```ts
16
+ import Kongponents from '@kong/kongponents'
17
+ import '@kong/kongponents/dist/style.css'
18
+
19
+ app.use(Kongponents)
20
+ ```
6
21
 
7
22
  ## Usage
8
23
 
9
24
  ```vue
10
25
  <template>
26
+ <KButton @click="refreshRows">
27
+ Refresh rows
28
+ </KButton>
29
+
11
30
  <TableDataGrid
12
31
  :fetcher="fetchRows"
13
32
  :headers="headers"
14
- @grid:ready="onGridReady"
15
- />
33
+ :page-size="25"
34
+ :refresh-key="refreshKey"
35
+ @state="handleState"
36
+ >
37
+ <template #empty-state>
38
+ <KEmptyState
39
+ message="Try changing filters or refreshing the dataset."
40
+ title="No rows found"
41
+ />
42
+ </template>
43
+ </TableDataGrid>
16
44
  </template>
17
45
 
18
46
  <script setup lang="ts">
19
- import type { TableDataGridFetcher, TableDataGridHeader } from '@kong-ui-public/table-data-grid'
47
+ import type {
48
+ TableDataGridFetcher,
49
+ TableDataGridHeader,
50
+ TableDataGridInfiniteFetcherParams,
51
+ TableDataGridStatePayload,
52
+ } from '@kong-ui-public/table-data-grid'
53
+ import { ref } from 'vue'
20
54
  import { TableDataGrid } from '@kong-ui-public/table-data-grid'
21
55
 
22
56
  type Row = {
@@ -30,14 +64,32 @@ const headers: Array<TableDataGridHeader<Row>> = [
30
64
  { key: 'status', label: 'Status' },
31
65
  ]
32
66
 
33
- const rows: Row[] = [
34
- { id: 'row-1', name: 'Gateway service', status: 'Active' },
35
- ]
67
+ const refreshKey = ref(0)
68
+ const lastState = ref<TableDataGridStatePayload>()
69
+
70
+ const fetchRows: TableDataGridFetcher<Row> = async ({
71
+ pageSize,
72
+ cursor,
73
+ }: TableDataGridInfiniteFetcherParams) => {
74
+ const response = await getRows({
75
+ size: pageSize,
76
+ cursor,
77
+ })
78
+
79
+ return {
80
+ data: response.data,
81
+ cursor: response.cursor,
82
+ hasMore: response.hasMore,
83
+ }
84
+ }
85
+
86
+ const refreshRows = () => {
87
+ refreshKey.value += 1
88
+ }
36
89
 
37
- const fetchRows: TableDataGridFetcher<Row> = async ({ offset = 0, pageSize }) => ({
38
- data: rows.slice(offset, offset + pageSize),
39
- total: rows.length,
40
- })
90
+ const handleState = (payload: TableDataGridStatePayload) => {
91
+ lastState.value = payload
92
+ }
41
93
  </script>
42
94
  ```
43
95
 
@@ -46,61 +98,128 @@ const fetchRows: TableDataGridFetcher<Row> = async ({ offset = 0, pageSize }) =>
46
98
  | Prop | Type | Required | Default | Notes |
47
99
  | --- | --- | --- | --- | --- |
48
100
  | `headers` | `Array<TableDataGridHeader<Row>>` | Yes | - | Basic column definitions mapped to AG Grid columns. |
49
- | `fetcher` | `TableDataGridFetcher<Row>` | Yes | - | Async row loader called with the initial infinite-placeholder fetch params. |
50
- | `pageSize` | `number` | No | `25` | Page size sent to the basic fetcher. No pagination controls are rendered in this PR. |
51
- | `agGridOptions` | `TableDataGridGridOptions<Row>` | No | `{}` | Pass-through for lower-level AG Grid options. Keep this narrow until the package owns more grid behavior. |
101
+ | `fetcher` | `TableDataGridFetcher<Row>` | Yes | - | Async row loader called by the AG Grid infinite datasource. |
102
+ | `error` | `boolean` | No | `false` | Host-controlled visible error state. Internal fetch failures emit state but do not render error UI unless this prop is true. |
103
+ | `pageSize` | `number` | No | `25` | AG Grid cache block size and fetcher request size. |
104
+ | `refreshKey` | `string \| number \| boolean` | No | - | Parent invalidation signal that rebuilds the datasource from the beginning. |
52
105
 
53
106
  ## Fetcher Contract
54
107
 
55
- The initial fetcher uses the package's future infinite-scroll-oriented shape but only performs the first fetch.
108
+ `TableDataGrid` uses AG Grid's infinite row model internally. The public fetcher
109
+ receives only the stable cursor-first request shape:
56
110
 
57
111
  ```ts
58
- type TableDataGridFetcherParams = {
112
+ type TableDataGridInfiniteFetcherParams = {
59
113
  mode: 'infinite'
60
- cursor?: unknown
61
- offset?: number
62
114
  pageSize: number
115
+ cursor?: unknown
63
116
  }
64
117
 
65
118
  type TableDataGridFetcherResult<Row> = {
66
119
  data: Row[]
120
+ cursor?: unknown
67
121
  total?: number
122
+ hasMore?: boolean
68
123
  }
69
124
 
70
125
  type TableDataGridFetcher<Row> = (
71
- params: TableDataGridFetcherParams,
126
+ params: TableDataGridInfiniteFetcherParams,
72
127
  ) => Promise<TableDataGridFetcherResult<Row>>
73
128
  ```
74
129
 
75
- `offset` is the numeric starting row for offset/limit APIs. `cursor` is an opaque positioning token for cursor-based APIs. These fields are optional because consumers generally use one positioning model or the other. This initial version passes `offset: 0` for a single fetch; real infinite-scroll sequencing will be added later.
130
+ `cursor` is an opaque token returned by the previous response. The first request
131
+ uses `cursor: undefined`; later requests receive the previous response cursor.
132
+
133
+ AG Grid range details are datasource internals. Consumers should not depend on,
134
+ or return, datasource request positions or AG Grid row-count callback values in
135
+ the public fetcher contract.
136
+
137
+ `total` gives AG Grid an explicit row count when the backend knows it. If `total`
138
+ is omitted, `hasMore: false` or a response shorter than `pageSize` marks the last
139
+ loaded row as the end of the dataset.
140
+
141
+ ## Refresh Behavior
142
+
143
+ `refreshKey` is a parent-owned invalidation signal. Changing it rebuilds the
144
+ infinite datasource, clears stored cursors, and starts again from the first
145
+ block with `cursor: undefined`.
146
+
147
+ This reset is required for cursor APIs because cursor values are only valid
148
+ relative to the response and query chain that produced them. Reusing a later
149
+ cursor after the parent changes request context could fetch the wrong rows.
150
+
151
+ ## Presentation States
152
+
153
+ `TableDataGrid` keeps the grid mounted while internal fetches are running so AG
154
+ Grid can request rows and show its own loading treatment.
155
+
156
+ Visible error UI is host-controlled through the `error` prop. A rejected fetch
157
+ emits an error state, but it does not render error chrome by itself.
158
+
159
+ An empty state renders after the first successful block resolves with no rows.
160
+ Use the `empty-state` slot to replace the default empty content. Use the
161
+ `error-state` slot to replace the default host-controlled error content.
162
+
163
+ ```vue
164
+ <TableDataGrid
165
+ :error="showError"
166
+ :fetcher="fetchRows"
167
+ :headers="headers"
168
+ >
169
+ <template #empty-state>
170
+ <KEmptyState
171
+ message="Adjust the source data and refresh."
172
+ title="No matching rows"
173
+ />
174
+ </template>
175
+
176
+ <template #error-state>
177
+ <KEmptyState
178
+ icon-variant="error"
179
+ message="Refresh or try again later."
180
+ title="Rows could not be loaded"
181
+ />
182
+ </template>
183
+ </TableDataGrid>
184
+ ```
76
185
 
77
186
  ## Header Options
78
187
 
188
+ Columns without a `width` or `maxWidth` fill the available table width by
189
+ default. Use `width` for an explicit initial pixel width, `minWidth` for a
190
+ lower bound on either flexible or fixed columns, and `maxWidth` when a column
191
+ should opt out of the default flexible fill behavior.
192
+
79
193
  | Field | Type | Required | Notes |
80
194
  | --- | --- | --- | --- |
81
195
  | `key` | `Extract<keyof Row, string>` | Yes | Row property read for the cell value and used as the AG Grid column id. |
82
196
  | `label` | `string` | Yes | Header label rendered by AG Grid. |
83
- | `width` | `number` | No | Initial AG Grid column width in pixels. |
84
- | `minWidth` | `number` | No | Minimum AG Grid column width in pixels. |
85
- | `maxWidth` | `number` | No | Maximum AG Grid column width in pixels. |
197
+ | `width` | `number` | No | Explicit initial AG Grid column width in pixels. Columns with `width` do not receive default flex sizing. |
198
+ | `minWidth` | `number` | No | Minimum AG Grid column width in pixels. Columns with only `minWidth` still fill available width by default. |
199
+ | `maxWidth` | `number` | No | Maximum AG Grid column width in pixels. Columns with `maxWidth` do not receive default flex sizing. |
86
200
 
87
201
  ## Events
88
202
 
89
203
  | Event | Payload | When it fires |
90
204
  | --- | --- | --- |
91
205
  | `grid:ready` | `GridApi<Row>` | AG Grid is ready. |
206
+ | `state` | `{ state: 'loading' \| 'success' \| 'error', hasData: boolean }` | Internal fetch lifecycle changes after the datasource starts requesting rows. |
92
207
 
93
208
  ## Slots
94
209
 
95
- No slots are part of the initial public contract.
210
+ | Slot | Purpose |
211
+ | --- | --- |
212
+ | `empty-state` | Replaces the default empty state after a successful empty first block. |
213
+ | `error-state` | Replaces the default visible error state when `error` is true. |
96
214
 
97
215
  ## Exports
98
216
 
99
217
  - `TableDataGrid`
100
218
  - `TableDataGridMode`
219
+ - `TableDataGridState`
220
+ - `TableDataGridStatePayload`
101
221
  - `TableDataGridHeader`
102
- - `TableDataGridFetcherParams`
222
+ - `TableDataGridInfiniteFetcherParams`
103
223
  - `TableDataGridFetcherResult`
104
224
  - `TableDataGridFetcher`
105
- - `TableDataGridGridOptions`
106
225
  - `TableDataGridReadyPayload`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/table-data-grid",
3
- "version": "0.1.1",
3
+ "version": "0.1.3-pr.3447.ad53a8928.0",
4
4
  "type": "module",
5
5
  "main": "./dist/table-data-grid.umd.js",
6
6
  "module": "./dist/table-data-grid.es.js",
@@ -21,7 +21,9 @@
21
21
  "access": "public"
22
22
  },
23
23
  "devDependencies": {
24
- "vue": "^3.5.35"
24
+ "@kong/kongponents": "9.59.0",
25
+ "vue": "^3.5.35",
26
+ "@kong-ui-public/i18n": "^2.4.6"
25
27
  },
26
28
  "repository": {
27
29
  "type": "git",
@@ -41,7 +43,9 @@
41
43
  "errorLimit": "500KB"
42
44
  },
43
45
  "peerDependencies": {
44
- "vue": "^3.5.35"
46
+ "@kong/kongponents": "^9.59.0",
47
+ "vue": "^3.5.35",
48
+ "@kong-ui-public/i18n": "^2.4.6"
45
49
  },
46
50
  "dependencies": {
47
51
  "ag-grid-community": "^34.3.1",
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- .kong-ui-public-table-data-grid[data-v-d6e38335]{border:1px solid #e0e4ea;border:1px solid var(--kui-color-border, #e0e4ea);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);display:flex;flex-direction:column;min-height:360px;overflow:hidden;width:100%}.table-data-grid-grid[data-v-d6e38335]{--ag-background-color: var(--kui-color-background, #ffffff);--ag-border-color: var(--kui-color-border, #e0e4ea);--ag-header-background-color: var(--kui-color-background, #ffffff);--ag-header-column-border: 1px solid var(--kui-color-border, #e0e4ea);--ag-header-column-resize-handle-color: transparent;--ag-wrapper-border: none;--ag-wrapper-border-radius: 0;flex:1 1 360px;min-height:360px;width:100%}.ag-cell{align-items:center;display:flex}
@@ -1,73 +0,0 @@
1
- import { defineComponent as g, shallowRef as h, ref as p, computed as v, watch as y, toRef as n, openBlock as w, createElementBlock as b, createVNode as G, unref as l } from "vue";
2
- import { AgGridVue as k } from "ag-grid-vue3";
3
- import { ModuleRegistry as D, AllCommunityModule as x, themeQuartz as z } from "ag-grid-community";
4
- const R = {
5
- class: "kong-ui-public-table-data-grid",
6
- "data-testid": "table-data-grid"
7
- }, I = /* @__PURE__ */ g({
8
- __name: "TableDataGrid",
9
- props: {
10
- headers: {},
11
- fetcher: { type: Function },
12
- pageSize: { default: 25 },
13
- agGridOptions: { default: () => ({}) }
14
- },
15
- emits: ["grid:ready"],
16
- setup(t, { emit: c }) {
17
- D.registerModules([x]);
18
- const r = c, o = h([]), a = p(0), s = v(() => t.headers.map((e) => ({
19
- colId: e.key,
20
- headerName: e.label,
21
- maxWidth: e.maxWidth,
22
- minWidth: e.minWidth,
23
- valueGetter: (f) => {
24
- var d;
25
- return (d = f.data) == null ? void 0 : d[e.key];
26
- },
27
- width: e.width
28
- }))), u = async () => {
29
- const e = a.value + 1;
30
- a.value = e;
31
- try {
32
- const i = await t.fetcher({
33
- mode: "infinite",
34
- offset: 0,
35
- pageSize: t.pageSize
36
- });
37
- e === a.value && (o.value = i.data);
38
- } catch (i) {
39
- e === a.value && (o.value = []), console.error(i);
40
- }
41
- }, m = (e) => {
42
- r("grid:ready", e.api);
43
- };
44
- return y(
45
- [
46
- n(() => t.fetcher),
47
- n(() => t.pageSize)
48
- ],
49
- () => {
50
- u();
51
- },
52
- { immediate: !0 }
53
- ), (e, i) => (w(), b("div", R, [
54
- G(l(k), {
55
- class: "table-data-grid-grid",
56
- "column-defs": s.value,
57
- "grid-options": t.agGridOptions,
58
- "row-data": o.value,
59
- "suppress-cell-focus": !0,
60
- theme: l(z),
61
- onGridReady: m
62
- }, null, 8, ["column-defs", "grid-options", "row-data", "theme"])
63
- ]));
64
- }
65
- }), S = (t, c) => {
66
- const r = t.__vccOpts || t;
67
- for (const [o, a] of c)
68
- r[o] = a;
69
- return r;
70
- }, O = /* @__PURE__ */ S(I, [["__scopeId", "data-v-d6e38335"]]);
71
- export {
72
- O as TableDataGrid
73
- };
@@ -1 +0,0 @@
1
- (function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("ag-grid-vue3"),require("ag-grid-community")):typeof define=="function"&&define.amd?define(["exports","vue","ag-grid-vue3","ag-grid-community"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i["kong-ui-public-table-data-grid"]={},i.Vue,i.AgGridVue,i.agGridCommunity))})(this,function(i,e,l,c){"use strict";const f={class:"kong-ui-public-table-data-grid","data-testid":"table-data-grid"},m=((a,s)=>{const r=a.__vccOpts||a;for(const[d,o]of s)r[d]=o;return r})(e.defineComponent({__name:"TableDataGrid",props:{headers:{},fetcher:{type:Function},pageSize:{default:25},agGridOptions:{default:()=>({})}},emits:["grid:ready"],setup(a,{emit:s}){c.ModuleRegistry.registerModules([c.AllCommunityModule]);const r=s,d=e.shallowRef([]),o=e.ref(0),g=e.computed(()=>a.headers.map(t=>({colId:t.key,headerName:t.label,maxWidth:t.maxWidth,minWidth:t.minWidth,valueGetter:y=>{var u;return(u=y.data)==null?void 0:u[t.key]},width:t.width}))),p=async()=>{const t=o.value+1;o.value=t;try{const n=await a.fetcher({mode:"infinite",offset:0,pageSize:a.pageSize});t===o.value&&(d.value=n.data)}catch(n){t===o.value&&(d.value=[]),console.error(n)}},h=t=>{r("grid:ready",t.api)};return e.watch([e.toRef(()=>a.fetcher),e.toRef(()=>a.pageSize)],()=>{p()},{immediate:!0}),(t,n)=>(e.openBlock(),e.createElementBlock("div",f,[e.createVNode(e.unref(l.AgGridVue),{class:"table-data-grid-grid","column-defs":g.value,"grid-options":a.agGridOptions,"row-data":d.value,"suppress-cell-focus":!0,theme:e.unref(c.themeQuartz),onGridReady:h},null,8,["column-defs","grid-options","row-data","theme"])]))}}),[["__scopeId","data-v-d6e38335"]]);i.TableDataGrid=m,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
@@ -1,28 +0,0 @@
1
- import type { TableDataGridFetcher, TableDataGridGridOptions, TableDataGridHeader } from '../types';
2
- import type { GridReadyEvent } from 'ag-grid-community';
3
- declare const __VLS_export: <Row extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
- headers: Array<TableDataGridHeader<Row>>;
6
- fetcher: TableDataGridFetcher<Row>;
7
- pageSize?: number;
8
- agGridOptions?: TableDataGridGridOptions<Row>;
9
- } & {
10
- "onGrid:ready"?: ((api: import("ag-grid-community").GridApi<Row>) => any) | undefined;
11
- }> & (typeof globalThis extends {
12
- __VLS_PROPS_FALLBACK: infer P;
13
- } ? P : {});
14
- expose: (exposed: {}) => void;
15
- attrs: any;
16
- slots: {};
17
- emit: (e: "grid:ready", api: GridReadyEvent<Row>["api"]) => void;
18
- }>) => import("vue").VNode & {
19
- __ctx?: Awaited<typeof __VLS_setup>;
20
- };
21
- declare const _default: typeof __VLS_export;
22
- export default _default;
23
- type __VLS_PrettifyLocal<T> = (T extends any ? {
24
- [K in keyof T]: T[K];
25
- } : {
26
- [K in keyof T as K]: T[K];
27
- }) & {};
28
- //# sourceMappingURL=TableDataGrid.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableDataGrid.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TableDataGrid.vue"],"names":[],"mappings":"AAuIA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAU,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAK/D,QAAA,MAAM,YAAY,GAAK,GAAG,SAAS,MAAM,EACxC,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,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA8IO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBA1I7C,KAAK,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;iBAC/B,oBAAoB,CAAC,GAAG,CAAC;mBACvB,MAAM;wBACD,wBAAwB,CAAC,GAAG,CAAC;;;KAuI4C,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;cA/HJ,YAAY,OAAO,cAAc,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,KAAG,IAAI;EAkItD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- import TableDataGrid from './components/TableDataGrid.vue';
2
- export { TableDataGrid };
3
- export * from './types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAE1D,OAAO,EAAE,aAAa,EAAE,CAAA;AAExB,cAAc,SAAS,CAAA"}
@@ -1,30 +0,0 @@
1
- import type { GridApi, GridOptions } from 'ag-grid-community';
2
- export type TableDataGridMode = 'infinite';
3
- export type TableDataGridHeader<Row extends object = Record<string, unknown>> = {
4
- key: Extract<keyof Row, string>;
5
- label: string;
6
- width?: number;
7
- minWidth?: number;
8
- maxWidth?: number;
9
- };
10
- type TableDataGridCursorParams = {
11
- cursor?: unknown;
12
- offset?: never;
13
- };
14
- type TableDataGridOffsetParams = {
15
- cursor?: never;
16
- offset?: number;
17
- };
18
- export type TableDataGridFetcherParams = {
19
- mode: TableDataGridMode;
20
- pageSize: number;
21
- } & (TableDataGridCursorParams | TableDataGridOffsetParams);
22
- export type TableDataGridFetcherResult<Row extends object = Record<string, unknown>> = {
23
- data: Row[];
24
- total?: number;
25
- };
26
- export type TableDataGridFetcher<Row extends object = Record<string, unknown>> = (params: TableDataGridFetcherParams) => Promise<TableDataGridFetcherResult<Row>>;
27
- export type TableDataGridGridOptions<Row extends object = Record<string, unknown>> = GridOptions<Row>;
28
- export type TableDataGridReadyPayload<Row extends object = Record<string, unknown>> = GridApi<Row>;
29
- export {};
30
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE7D,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAA;AAE1C,MAAM,MAAM,mBAAmB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IAC9E,GAAG,EAAE,OAAO,CAAC,MAAM,GAAG,EAAE,MAAM,CAAC,CAAA;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,KAAK,CAAA;CACf,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,iBAAiB,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CAAA;AAE3D,MAAM,MAAM,0BAA0B,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACrF,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,oBAAoB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAC/E,MAAM,EAAE,0BAA0B,KAC/B,OAAO,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC,CAAA;AAE7C,MAAM,MAAM,wBAAwB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,WAAW,CAAC,GAAG,CAAC,CAAA;AAErG,MAAM,MAAM,yBAAyB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,CAAA"}