@orient-ai/aurora-ui 1.0.0-alpha.13 → 1.0.0-alpha.14
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/dist/components/Collection/DataGrid/DataGrid.d.ts +6 -0
- package/dist/components/Collection/DataGrid/DataGrid.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/componnets/GridCell/GridCell.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/componnets/GridCell/index.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/hooks/index.d.ts.map +1 -0
- package/dist/components/Collection/{Grid → DataGrid}/hooks/useGrid.d.ts +2 -2
- package/dist/components/Collection/DataGrid/hooks/useGrid.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/hooks/useGridColumnResizing.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/hooks/useGridDragSelection.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/hooks/useGridSelection.d.ts.map +1 -0
- package/dist/components/Collection/DataGrid/hooks/useGridVirtualizer.d.ts.map +1 -0
- package/dist/components/Collection/{Grid → DataGrid}/index.d.ts +2 -2
- package/dist/components/Collection/DataGrid/index.d.ts.map +1 -0
- package/dist/components/Collection/{Grid → DataGrid}/types.d.ts +1 -1
- package/dist/components/Collection/DataGrid/types.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/DataReport.d.ts +5 -0
- package/dist/components/Collection/DataReport/DataReport.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/hooks/index.d.ts +5 -0
- package/dist/components/Collection/DataReport/hooks/index.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/hooks/useColumnLayout.d.ts +13 -0
- package/dist/components/Collection/DataReport/hooks/useColumnLayout.d.ts.map +1 -0
- package/dist/components/Collection/{Report → DataReport}/hooks/useColumnResizing.d.ts +4 -4
- package/dist/components/Collection/DataReport/hooks/useColumnResizing.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/hooks/useReportInfiniteLoading.d.ts +12 -0
- package/dist/components/Collection/DataReport/hooks/useReportInfiniteLoading.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/hooks/useReportVirtualizer.d.ts +10 -0
- package/dist/components/Collection/DataReport/hooks/useReportVirtualizer.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/index.d.ts +3 -0
- package/dist/components/Collection/DataReport/index.d.ts.map +1 -0
- package/dist/components/Collection/DataReport/types.d.ts +14 -0
- package/dist/components/Collection/DataReport/types.d.ts.map +1 -0
- package/dist/components/Collection/{Table/Table.d.ts → DataTable/DataTable.d.ts} +3 -3
- package/dist/components/Collection/DataTable/DataTable.d.ts.map +1 -0
- package/dist/components/Collection/DataTable/componnets/BulkActions/BulkActions.d.ts.map +1 -0
- package/dist/components/Collection/DataTable/componnets/BulkActions/index.d.ts.map +1 -0
- package/dist/components/Collection/DataTable/index.d.ts +3 -0
- package/dist/components/Collection/DataTable/index.d.ts.map +1 -0
- package/dist/components/Frame/index.d.ts +1 -0
- package/dist/components/Frame/index.d.ts.map +1 -1
- package/dist/components/Page/index.d.ts +1 -0
- package/dist/components/Page/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +11 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5827 -5237
- package/dist/utilities/i18n.d.ts +0 -2
- package/dist/utilities/i18n.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/components/Collection/Grid/Grid.d.ts +0 -6
- package/dist/components/Collection/Grid/Grid.d.ts.map +0 -1
- package/dist/components/Collection/Grid/componnets/GridCell/GridCell.d.ts.map +0 -1
- package/dist/components/Collection/Grid/componnets/GridCell/index.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/index.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/useGrid.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/useGridColumnResizing.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/useGridDragSelection.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/useGridSelection.d.ts.map +0 -1
- package/dist/components/Collection/Grid/hooks/useGridVirtualizer.d.ts.map +0 -1
- package/dist/components/Collection/Grid/index.d.ts.map +0 -1
- package/dist/components/Collection/Grid/types.d.ts.map +0 -1
- package/dist/components/Collection/Report/Report.d.ts +0 -5
- package/dist/components/Collection/Report/Report.d.ts.map +0 -1
- package/dist/components/Collection/Report/hooks/index.d.ts +0 -2
- package/dist/components/Collection/Report/hooks/index.d.ts.map +0 -1
- package/dist/components/Collection/Report/hooks/useColumnResizing.d.ts.map +0 -1
- package/dist/components/Collection/Report/index.d.ts +0 -3
- package/dist/components/Collection/Report/index.d.ts.map +0 -1
- package/dist/components/Collection/Report/types.d.ts +0 -12
- package/dist/components/Collection/Report/types.d.ts.map +0 -1
- package/dist/components/Collection/Table/Table.d.ts.map +0 -1
- package/dist/components/Collection/Table/componnets/BulkActions/BulkActions.d.ts.map +0 -1
- package/dist/components/Collection/Table/componnets/BulkActions/index.d.ts.map +0 -1
- package/dist/components/Collection/Table/index.d.ts +0 -3
- package/dist/components/Collection/Table/index.d.ts.map +0 -1
- /package/dist/components/Collection/{Grid → DataGrid}/componnets/GridCell/GridCell.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/componnets/GridCell/index.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/hooks/index.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridColumnResizing.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridDragSelection.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridSelection.d.ts +0 -0
- /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridVirtualizer.d.ts +0 -0
- /package/dist/components/Collection/{Table → DataTable}/componnets/BulkActions/BulkActions.d.ts +0 -0
- /package/dist/components/Collection/{Table → DataTable}/componnets/BulkActions/index.d.ts +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RowData } from '@tanstack/react-table';
|
|
2
|
+
import { Features } from '../types';
|
|
3
|
+
import { DataGridProps } from './types';
|
|
4
|
+
export type { DataGridProps } from './types';
|
|
5
|
+
export declare function DataGrid<TFeatures extends Features, TData extends RowData>(options: DataGridProps<TFeatures, TData>): import('react').JSX.Element;
|
|
6
|
+
//# sourceMappingURL=DataGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,QAAQ,CAAC,SAAS,SAAS,QAAQ,EAAE,KAAK,SAAS,OAAO,EACxE,OAAO,EAAE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,+BAkKzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridCell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/DataGrid/componnets/GridCell/GridCell.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;AAEvE,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,qBAAqB,CAAC,IAAI,CAAC,EAC3B,QAAQ,CACT;IACC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAClD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wEAAwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,QAAQ,CAAC,EACvB,QAAgB,EAChB,QAAQ,EACR,cAAkC,EAClC,KAAa,EACb,IAAI,EACJ,KAAK,EACL,SAAS,EACT,QAAQ,EACR,MAAM,EACN,MAAM,EACN,GAAG,KAAK,EACT,EAAE,aAAa,+BAqCf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/DataGrid/componnets/GridCell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Cell, RowData } from '@tanstack/react-table';
|
|
2
2
|
import { Features } from '../../types';
|
|
3
|
-
import {
|
|
4
|
-
export declare function useGrid<TFeatures extends Features, TData extends RowData>(options:
|
|
3
|
+
import { DataGridProps } from '../types';
|
|
4
|
+
export declare function useGrid<TFeatures extends Features, TData extends RowData>(options: DataGridProps<TFeatures, TData>): {
|
|
5
5
|
getCell: (cell: Cell<TFeatures, TData>) => {
|
|
6
6
|
canSelect: boolean;
|
|
7
7
|
renderedCell: Cell<TFeatures, TData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/useGrid.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,IAAI,EACT,KAAK,OAAO,EACb,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9D,wBAAgB,OAAO,CAAC,SAAS,SAAS,QAAQ,EAAE,KAAK,SAAS,OAAO,EACvE,OAAO,EAAE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC;oBAyDjB,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiD9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGridColumnResizing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/useGridColumnResizing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,MAAM,EACN,UAAU,EACV,OAAO,EACR,MAAM,uBAAuB,CAAC;AAS/B,OAAO,EAAY,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,yBAAyB,CACjC,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO;IAErB,KAAK,EAAE,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,KAAK,GAAG,KAAK,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CACnC,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,EACrB,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,yBAAyB,CAAC,SAAS,EAAE,KAAK,CAAC;;;mCAOhE,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,KAC/B,qBAAqB,CAAC,KAAK,CAAC,GAAG,SAAS;EAyD5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGridDragSelection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/useGridDragSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAChD;AAiBD,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,QAAQ,GACT,EAAE,wBAAwB;;mBAYf,UAAU,CAAC,oBAAoB,CAAC;EAgH3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGridSelection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/useGridSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAUvE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EACV,aAAa,EAEd,MAAM,wBAAwB,CAAC;AAIhC,UAAU,oBAAoB,CAC5B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO;IAErB,KAAK,EAAE,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACpC,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CAC9C;AAYD,wBAAgB,gBAAgB,CAC9B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,EACrB,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,CAAC,SAAS,EAAE,KAAK,CAAC;;;6BAkB3B,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;;;;EAyHvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGridVirtualizer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataGrid/hooks/useGridVirtualizer.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/E,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,KAAK,EACL,UAAU,EACV,eAAe,GAChB,EAAE,sBAAsB,mFAyExB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type {
|
|
1
|
+
export { DataGrid } from './DataGrid';
|
|
2
|
+
export type { DataGridProps } from './DataGrid';
|
|
3
3
|
export { GridCell } from './componnets/GridCell';
|
|
4
4
|
export type { GridCellProps, GridCellSelectionEdge, } from './componnets/GridCell';
|
|
5
5
|
export type { GridCellAddress, GridCellUpdate, GridUpdates } from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EACV,aAAa,EACb,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -9,7 +9,7 @@ export interface GridCellUpdate<TValue = unknown> {
|
|
|
9
9
|
new: TValue;
|
|
10
10
|
}
|
|
11
11
|
export type GridUpdates = ReadonlyMap<GridCellAddress, GridCellUpdate>;
|
|
12
|
-
export type
|
|
12
|
+
export type DataGridProps<TFeatures extends Features, TData extends RowData> = TableOptions<TFeatures, TData> & Required<Pick<TableOptions<TFeatures, TData>, 'getRowId'>> & {
|
|
13
13
|
virtual?: boolean;
|
|
14
14
|
stickyHeader?: boolean;
|
|
15
15
|
updates?: GridUpdates;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataGrid/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc,CAAC,MAAM,GAAG,OAAO;IAC9C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAEvE,MAAM,MAAM,aAAa,CACvB,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,IACnB,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,GAChC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC,GAAG;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,eAAe,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RowData } from '@tanstack/react-table';
|
|
2
|
+
import { Features } from '../types';
|
|
3
|
+
import { DataReportProps } from './types';
|
|
4
|
+
export declare function DataReport<TFeatures extends Features, TData extends RowData>({ virtual, stickyHeader, loading, hasMore, onLoadMore, isLoadingMore, emptyState, footer, ref, style, className, ...options }: DataReportProps<TFeatures, TData>): import('react').JSX.Element;
|
|
5
|
+
//# sourceMappingURL=DataReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataReport.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataReport/DataReport.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,OAAO,EAGb,MAAM,uBAAuB,CAAC;AA0B/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAU/C,wBAAgB,UAAU,CAAC,SAAS,SAAS,QAAQ,EAAE,KAAK,SAAS,OAAO,EAAE,EAC5E,OAAe,EACf,YAAoB,EACpB,OAAe,EACf,OAAe,EACf,UAAU,EACV,aAAqB,EACrB,UAAU,EACV,MAAM,EACN,GAAG,EACH,KAAK,EACL,SAAS,EACT,GAAG,OAAO,EACX,EAAE,eAAe,CAAC,SAAS,EAAE,KAAK,CAAC,+BA+YnC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { useColumnResizing } from './useColumnResizing';
|
|
2
|
+
export { useColumnLayout } from './useColumnLayout';
|
|
3
|
+
export { useReportVirtualizer } from './useReportVirtualizer';
|
|
4
|
+
export { useReportInfiniteLoading } from './useReportInfiniteLoading';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataReport/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Column, RowData } from '@tanstack/react-table';
|
|
2
|
+
import { RefObject } from 'react';
|
|
3
|
+
import { Features } from '../../types';
|
|
4
|
+
interface ColumnLayoutOptions<TFeatures extends Features, TData extends RowData> {
|
|
5
|
+
columns: Column<TFeatures, TData>[];
|
|
6
|
+
viewportRef: RefObject<HTMLDivElement | null>;
|
|
7
|
+
}
|
|
8
|
+
export declare function useColumnLayout<TFeatures extends Features, TData extends RowData>({ columns, viewportRef }: ColumnLayoutOptions<TFeatures, TData>): {
|
|
9
|
+
columnSizes: number[];
|
|
10
|
+
onResizeStart: () => void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=useColumnLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColumnLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataReport/hooks/useColumnLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAEN,OAAO,EAER,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,mBAAmB,CAC3B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO;IAErB,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,WAAW,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC/C;AAED,wBAAgB,eAAe,CAC7B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,EACrB,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,mBAAmB,CAAC,SAAS,EAAE,KAAK,CAAC;;;EA8EhE"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Column, Header, RowData } from '@tanstack/react-table';
|
|
2
2
|
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
import { Features } from '../../types';
|
|
4
4
|
interface ColumnResizingOptions<TFeatures extends Features, TData extends RowData> {
|
|
5
|
-
|
|
5
|
+
columns: Column<TFeatures, TData>[];
|
|
6
|
+
onResizeStart: () => void;
|
|
6
7
|
enabled: boolean;
|
|
7
8
|
loading: boolean;
|
|
8
|
-
direction: 'ltr' | 'rtl';
|
|
9
9
|
}
|
|
10
10
|
type ResizeHandleProps = ComponentPropsWithRef<'div'> & {
|
|
11
11
|
'data-disabled'?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare function useColumnResizing<TFeatures extends Features, TData extends RowData>({
|
|
13
|
+
export declare function useColumnResizing<TFeatures extends Features, TData extends RowData>({ columns, onResizeStart, enabled, loading, }: ColumnResizingOptions<TFeatures, TData>): {
|
|
14
14
|
resizing: boolean;
|
|
15
15
|
activeDivider: string | undefined;
|
|
16
16
|
getResizeHandleProps: (header: Header<TFeatures, TData>) => ResizeHandleProps | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColumnResizing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataReport/hooks/useColumnResizing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAMrE,OAAO,EAAY,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,qBAAqB,CAC7B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO;IAErB,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,KAAK,iBAAiB,GAAG,qBAAqB,CAAC,KAAK,CAAC,GAAG;IACtD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,wBAAgB,iBAAiB,CAC/B,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,EACrB,EACA,OAAO,EACP,aAAa,EACb,OAAO,EACP,OAAO,GACR,EAAE,qBAAqB,CAAC,SAAS,EAAE,KAAK,CAAC;;;mCAO9B,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,KAC/B,iBAAiB,GAAG,SAAS;EA2CjC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
interface ReportInfiniteLoadingOptions {
|
|
3
|
+
triggerRef: RefObject<HTMLDivElement | null>;
|
|
4
|
+
hasMore: boolean;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
isLoadingMore: boolean;
|
|
7
|
+
onLoadMore?: () => void;
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function useReportInfiniteLoading({ triggerRef, hasMore, loading, isLoadingMore, onLoadMore, count, }: ReportInfiniteLoadingOptions): void;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useReportInfiniteLoading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportInfiniteLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataReport/hooks/useReportInfiniteLoading.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,UAAU,4BAA4B;IACpC,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,wBAAwB,CAAC,EACvC,UAAU,EACV,OAAO,EACP,OAAO,EACP,aAAa,EACb,UAAU,EACV,KAAK,GACN,EAAE,4BAA4B,QAuB9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
interface ReportVirtualizerOptions {
|
|
3
|
+
contentRef: RefObject<HTMLDivElement | null>;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
count: number;
|
|
6
|
+
getItemKey: (index: number) => string;
|
|
7
|
+
}
|
|
8
|
+
export declare function useReportVirtualizer({ contentRef, enabled, count, getItemKey, }: ReportVirtualizerOptions): import('@tanstack/react-virtual').ReactVirtualizer<Window, HTMLDivElement>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=useReportVirtualizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportVirtualizer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Collection/DataReport/hooks/useReportVirtualizer.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,UAAU,wBAAwB;IAChC,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC;AAED,wBAAgB,oBAAoB,CAAC,EACnC,UAAU,EACV,OAAO,EACP,KAAK,EACL,UAAU,GACX,EAAE,wBAAwB,8EAiD1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataReport/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RowData, TableOptions } from '@tanstack/react-table';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { Features } from '../types';
|
|
4
|
+
export type DataReportProps<TFeatures extends Features, TData extends RowData> = Omit<TableOptions<TFeatures, TData>, 'defaultColumn'> & Pick<ComponentPropsWithRef<'div'>, 'ref' | 'style' | 'className'> & {
|
|
5
|
+
virtual?: boolean;
|
|
6
|
+
stickyHeader?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
hasMore?: boolean;
|
|
9
|
+
onLoadMore?: () => void;
|
|
10
|
+
isLoadingMore?: boolean;
|
|
11
|
+
emptyState?: React.ReactNode;
|
|
12
|
+
footer?: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataReport/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,eAAe,CACzB,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,IACnB,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,eAAe,CAAC,GACvD,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,WAAW,CAAC,GAAG;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Row, RowData, TableOptions } from '@tanstack/react-table';
|
|
|
2
2
|
import { Ref } from 'react';
|
|
3
3
|
import { ComplexAction } from '../../../types';
|
|
4
4
|
import { Features } from '../types';
|
|
5
|
-
export type
|
|
5
|
+
export type DataTableProps<TFeatures extends Features, TData extends RowData> = TableOptions<TFeatures, TData> & {
|
|
6
6
|
ref?: Ref<HTMLDivElement>;
|
|
7
7
|
stickyHeader?: boolean;
|
|
8
8
|
selectable?: 'rowSelectionFeature' extends keyof TFeatures ? boolean : false;
|
|
@@ -13,5 +13,5 @@ export type TableProps<TFeatures extends Features, TData extends RowData> = Tabl
|
|
|
13
13
|
loading?: boolean;
|
|
14
14
|
emptyState?: React.ReactNode;
|
|
15
15
|
};
|
|
16
|
-
export declare function
|
|
17
|
-
//# sourceMappingURL=
|
|
16
|
+
export declare function DataTable<TFeatures extends Features, TData extends RowData>({ ref, stickyHeader, selectable, renderExpandedContent, promotedBulkActions, bulkActions, footer, loading, emptyState, ...options }: DataTableProps<TFeatures, TData>): import('react').JSX.Element;
|
|
17
|
+
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,GAAG,EACR,KAAK,OAAO,EAEZ,KAAK,YAAY,EAElB,MAAM,uBAAuB,CAAC;AAwB/B,OAAO,EAML,KAAK,GAAG,EACT,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAOzC,MAAM,MAAM,cAAc,CACxB,SAAS,SAAS,QAAQ,EAC1B,KAAK,SAAS,OAAO,IACnB,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,GAAG;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,qBAAqB,SAAS,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;IAC7E,qBAAqB,CAAC,EAAE,qBAAqB,SAAS,MAAM,SAAS,GACjE,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,KAAK,CAAC,SAAS,GAC/C,KAAK,CAAC;IACV,mBAAmB,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAC/C,WAAW,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF,wBAAgB,SAAS,CAAC,SAAS,SAAS,QAAQ,EAAE,KAAK,SAAS,OAAO,EAAE,EAC3E,GAAG,EACH,YAAoB,EACpB,UAAkB,EAClB,qBAAqB,EACrB,mBAAwB,EACxB,WAAgB,EAChB,MAAM,EACN,OAAe,EACf,UAAU,EACV,GAAG,OAAO,EACX,EAAE,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,+BA6blC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BulkActions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/DataTable/componnets/BulkActions/BulkActions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAC3C,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;CACpC;AAYD,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,cAAkB,EAClB,KAAK,EACL,QAAgB,EAChB,OAAO,EACP,eAAoB,EACpB,OAAY,GACb,EAAE,gBAAgB,+BAyDlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/DataTable/componnets/BulkActions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/DataTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Frame/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Frame/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Page/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Page/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,WAAW,CAAC"}
|