@orient-ai/aurora-ui 1.0.0-alpha.13 → 1.0.0-alpha.15

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.
Files changed (84) hide show
  1. package/dist/components/Collection/DataGrid/DataGrid.d.ts +6 -0
  2. package/dist/components/Collection/DataGrid/DataGrid.d.ts.map +1 -0
  3. package/dist/components/Collection/DataGrid/componnets/GridCell/GridCell.d.ts.map +1 -0
  4. package/dist/components/Collection/DataGrid/componnets/GridCell/index.d.ts.map +1 -0
  5. package/dist/components/Collection/DataGrid/hooks/index.d.ts.map +1 -0
  6. package/dist/components/Collection/{Grid → DataGrid}/hooks/useGrid.d.ts +2 -2
  7. package/dist/components/Collection/DataGrid/hooks/useGrid.d.ts.map +1 -0
  8. package/dist/components/Collection/DataGrid/hooks/useGridColumnResizing.d.ts.map +1 -0
  9. package/dist/components/Collection/DataGrid/hooks/useGridDragSelection.d.ts.map +1 -0
  10. package/dist/components/Collection/DataGrid/hooks/useGridSelection.d.ts.map +1 -0
  11. package/dist/components/Collection/DataGrid/hooks/useGridVirtualizer.d.ts.map +1 -0
  12. package/dist/components/Collection/{Grid → DataGrid}/index.d.ts +2 -2
  13. package/dist/components/Collection/DataGrid/index.d.ts.map +1 -0
  14. package/dist/components/Collection/{Grid → DataGrid}/types.d.ts +1 -1
  15. package/dist/components/Collection/DataGrid/types.d.ts.map +1 -0
  16. package/dist/components/Collection/DataReport/DataReport.d.ts +5 -0
  17. package/dist/components/Collection/DataReport/DataReport.d.ts.map +1 -0
  18. package/dist/components/Collection/DataReport/hooks/index.d.ts +5 -0
  19. package/dist/components/Collection/DataReport/hooks/index.d.ts.map +1 -0
  20. package/dist/components/Collection/DataReport/hooks/useColumnLayout.d.ts +13 -0
  21. package/dist/components/Collection/DataReport/hooks/useColumnLayout.d.ts.map +1 -0
  22. package/dist/components/Collection/{Report → DataReport}/hooks/useColumnResizing.d.ts +4 -4
  23. package/dist/components/Collection/DataReport/hooks/useColumnResizing.d.ts.map +1 -0
  24. package/dist/components/Collection/DataReport/hooks/useReportInfiniteLoading.d.ts +12 -0
  25. package/dist/components/Collection/DataReport/hooks/useReportInfiniteLoading.d.ts.map +1 -0
  26. package/dist/components/Collection/DataReport/hooks/useReportVirtualizer.d.ts +10 -0
  27. package/dist/components/Collection/DataReport/hooks/useReportVirtualizer.d.ts.map +1 -0
  28. package/dist/components/Collection/DataReport/index.d.ts +3 -0
  29. package/dist/components/Collection/DataReport/index.d.ts.map +1 -0
  30. package/dist/components/Collection/DataReport/types.d.ts +14 -0
  31. package/dist/components/Collection/DataReport/types.d.ts.map +1 -0
  32. package/dist/components/Collection/{Table/Table.d.ts → DataTable/DataTable.d.ts} +3 -3
  33. package/dist/components/Collection/DataTable/DataTable.d.ts.map +1 -0
  34. package/dist/components/Collection/{Table → DataTable}/componnets/BulkActions/BulkActions.d.ts +2 -2
  35. package/dist/components/Collection/DataTable/componnets/BulkActions/BulkActions.d.ts.map +1 -0
  36. package/dist/components/Collection/DataTable/componnets/BulkActions/index.d.ts.map +1 -0
  37. package/dist/components/Collection/DataTable/index.d.ts +3 -0
  38. package/dist/components/Collection/DataTable/index.d.ts.map +1 -0
  39. package/dist/components/Frame/index.d.ts +1 -0
  40. package/dist/components/Frame/index.d.ts.map +1 -1
  41. package/dist/components/Page/index.d.ts +1 -0
  42. package/dist/components/Page/index.d.ts.map +1 -1
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.css +1 -1
  45. package/dist/index.d.ts +11 -8
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +5827 -5212
  48. package/dist/utilities/i18n.d.ts +0 -2
  49. package/dist/utilities/i18n.d.ts.map +1 -1
  50. package/package.json +1 -2
  51. package/dist/components/Collection/Grid/Grid.d.ts +0 -6
  52. package/dist/components/Collection/Grid/Grid.d.ts.map +0 -1
  53. package/dist/components/Collection/Grid/componnets/GridCell/GridCell.d.ts.map +0 -1
  54. package/dist/components/Collection/Grid/componnets/GridCell/index.d.ts.map +0 -1
  55. package/dist/components/Collection/Grid/hooks/index.d.ts.map +0 -1
  56. package/dist/components/Collection/Grid/hooks/useGrid.d.ts.map +0 -1
  57. package/dist/components/Collection/Grid/hooks/useGridColumnResizing.d.ts.map +0 -1
  58. package/dist/components/Collection/Grid/hooks/useGridDragSelection.d.ts.map +0 -1
  59. package/dist/components/Collection/Grid/hooks/useGridSelection.d.ts.map +0 -1
  60. package/dist/components/Collection/Grid/hooks/useGridVirtualizer.d.ts.map +0 -1
  61. package/dist/components/Collection/Grid/index.d.ts.map +0 -1
  62. package/dist/components/Collection/Grid/types.d.ts.map +0 -1
  63. package/dist/components/Collection/Report/Report.d.ts +0 -5
  64. package/dist/components/Collection/Report/Report.d.ts.map +0 -1
  65. package/dist/components/Collection/Report/hooks/index.d.ts +0 -2
  66. package/dist/components/Collection/Report/hooks/index.d.ts.map +0 -1
  67. package/dist/components/Collection/Report/hooks/useColumnResizing.d.ts.map +0 -1
  68. package/dist/components/Collection/Report/index.d.ts +0 -3
  69. package/dist/components/Collection/Report/index.d.ts.map +0 -1
  70. package/dist/components/Collection/Report/types.d.ts +0 -12
  71. package/dist/components/Collection/Report/types.d.ts.map +0 -1
  72. package/dist/components/Collection/Table/Table.d.ts.map +0 -1
  73. package/dist/components/Collection/Table/componnets/BulkActions/BulkActions.d.ts.map +0 -1
  74. package/dist/components/Collection/Table/componnets/BulkActions/index.d.ts.map +0 -1
  75. package/dist/components/Collection/Table/index.d.ts +0 -3
  76. package/dist/components/Collection/Table/index.d.ts.map +0 -1
  77. /package/dist/components/Collection/{Grid → DataGrid}/componnets/GridCell/GridCell.d.ts +0 -0
  78. /package/dist/components/Collection/{Grid → DataGrid}/componnets/GridCell/index.d.ts +0 -0
  79. /package/dist/components/Collection/{Grid → DataGrid}/hooks/index.d.ts +0 -0
  80. /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridColumnResizing.d.ts +0 -0
  81. /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridDragSelection.d.ts +0 -0
  82. /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridSelection.d.ts +0 -0
  83. /package/dist/components/Collection/{Grid → DataGrid}/hooks/useGridVirtualizer.d.ts +0 -0
  84. /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 { GridProps } from '../types';
4
- export declare function useGrid<TFeatures extends Features, TData extends RowData>(options: GridProps<TFeatures, TData>): {
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 { Grid } from './Grid';
2
- export type { GridProps } from './Grid';
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 GridProps<TFeatures extends Features, TData extends RowData> = TableOptions<TFeatures, TData> & Required<Pick<TableOptions<TFeatures, TData>, 'getRowId'>> & {
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 { Header, ReactTable, RowData } from '@tanstack/react-table';
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
- table: ReactTable<TFeatures, TData>;
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>({ table, enabled, loading, direction, }: ColumnResizingOptions<TFeatures, TData>): {
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,3 @@
1
+ export { DataReport } from './DataReport';
2
+ export type { DataReportProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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 TableProps<TFeatures extends Features, TData extends RowData> = TableOptions<TFeatures, TData> & {
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 Table<TFeatures extends Features, TData extends RowData>({ ref, stickyHeader, selectable, renderExpandedContent, promotedBulkActions, bulkActions, footer, loading, emptyState, ...options }: TableProps<TFeatures, TData>): import('react').JSX.Element;
17
- //# sourceMappingURL=Table.d.ts.map
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,EAML,KAAK,GAAG,EACR,KAAK,OAAO,EAEZ,KAAK,YAAY,EAElB,MAAM,uBAAuB,CAAC;AAuB/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,+BA0gBlC"}
@@ -1,8 +1,8 @@
1
- import { ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  import { ComplexAction } from '../../../../../types';
3
3
  export interface BulkActionsProps {
4
4
  checkbox: ReactNode;
5
- checkboxOffset?: number;
5
+ checkboxOffset?: CSSProperties['paddingInlineStart'];
6
6
  count: number;
7
7
  disabled?: boolean;
8
8
  onClear: () => void;
@@ -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,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,cAAc,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACrD,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,3 @@
1
+ export { DataTable } from './DataTable';
2
+ export type { DataTableProps } from './DataTable';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,2 +1,3 @@
1
1
  export * from './Frame';
2
+ export type { NavigationItem, NavigationSection, NavigationSite, } from './types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -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,3 +1,4 @@
1
1
  export * from './Page';
2
+ export type { PageProps } from './components/Page';
2
3
  export * from './context';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -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"}