@ktnpm_devops/react-component 0.24.0 → 0.26.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 +1 -1
- package/dist/composites/DayRangePicker/DayRangePicker.d.ts +4 -0
- package/dist/composites/DayRangePicker/DayRangePicker.d.ts.map +1 -0
- package/dist/composites/DayRangePicker/DayRangePicker.types.d.ts +42 -0
- package/dist/composites/DayRangePicker/DayRangePicker.types.d.ts.map +1 -0
- package/dist/composites/DayRangePicker/index.d.ts +3 -0
- package/dist/composites/DayRangePicker/index.d.ts.map +1 -0
- package/dist/composites/DayRangePicker/rangeDays.d.ts +17 -0
- package/dist/composites/DayRangePicker/rangeDays.d.ts.map +1 -0
- package/dist/composites/DayRangePicker/rangeDays.test.d.ts +2 -0
- package/dist/composites/DayRangePicker/rangeDays.test.d.ts.map +1 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/data/DataTableCard/DataTableCard.d.ts +13 -0
- package/dist/data/DataTableCard/DataTableCard.d.ts.map +1 -0
- package/dist/data/DataTableCard/DataTableCard.types.d.ts +41 -0
- package/dist/data/DataTableCard/DataTableCard.types.d.ts.map +1 -0
- package/dist/data/DataTableCard/index.d.ts +3 -0
- package/dist/data/DataTableCard/index.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/LiveExplorerBody.d.ts +8 -0
- package/dist/data/LiveExplorerTable/LiveExplorerBody.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/LiveExplorerDataRow.d.ts +5 -0
- package/dist/data/LiveExplorerTable/LiveExplorerDataRow.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/LiveExplorerHeaderCell.d.ts +8 -0
- package/dist/data/LiveExplorerTable/LiveExplorerHeaderCell.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts +2 -2
- package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts.map +1 -1
- package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts +122 -25
- package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts.map +1 -1
- package/dist/data/LiveExplorerTable/columnClasses.d.ts +5 -0
- package/dist/data/LiveExplorerTable/columnClasses.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/groupRows.d.ts +8 -0
- package/dist/data/LiveExplorerTable/groupRows.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/groupRows.test.d.ts +2 -0
- package/dist/data/LiveExplorerTable/groupRows.test.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/index.d.ts +1 -1
- package/dist/data/LiveExplorerTable/index.d.ts.map +1 -1
- package/dist/data/LiveExplorerTable/nextSortState.d.ts +8 -0
- package/dist/data/LiveExplorerTable/nextSortState.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/nextSortState.test.d.ts +2 -0
- package/dist/data/LiveExplorerTable/nextSortState.test.d.ts.map +1 -0
- package/dist/data/LiveExplorerTable/useColumnResize.d.ts +8 -0
- package/dist/data/LiveExplorerTable/useColumnResize.d.ts.map +1 -0
- package/dist/index.cjs +36 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -32
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index100.cjs +61 -84
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +61 -84
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +6 -39
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +5 -38
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +39 -22
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +38 -21
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +10 -70
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +8 -68
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +115 -6
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +115 -6
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +23 -20
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +23 -20
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +51 -35
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +50 -34
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +33 -43
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +33 -43
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +33 -24
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +32 -23
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +18 -39
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +17 -38
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index110.cjs +19 -9
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +18 -8
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +39 -10
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +38 -9
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +85 -20
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +84 -19
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +22 -14
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +21 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +33 -10
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +32 -9
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +2 -65
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +3 -66
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +19 -13
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +20 -14
- package/dist/index116.js.map +1 -1
- package/dist/index118.cjs +10 -52
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +11 -53
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +5 -35
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +6 -36
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +2 -2
- package/dist/index12.js +2 -2
- package/dist/index120.cjs +10 -16
- package/dist/index120.cjs.map +1 -1
- package/dist/index120.js +10 -16
- package/dist/index120.js.map +1 -1
- package/dist/index121.cjs +22 -134
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +21 -133
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +17 -38
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +18 -39
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +34 -10
- package/dist/index123.cjs.map +1 -1
- package/dist/index123.js +35 -11
- package/dist/index123.js.map +1 -1
- package/dist/index124.cjs +36 -39
- package/dist/index124.cjs.map +1 -1
- package/dist/index124.js +36 -39
- package/dist/index124.js.map +1 -1
- package/dist/index125.cjs +2 -5
- package/dist/index125.cjs.map +1 -1
- package/dist/index125.js +2 -5
- package/dist/index125.js.map +1 -1
- package/dist/index126.cjs +28 -116
- package/dist/index126.cjs.map +1 -1
- package/dist/index126.js +27 -115
- package/dist/index126.js.map +1 -1
- package/dist/index127.cjs +64 -37
- package/dist/index127.cjs.map +1 -1
- package/dist/index127.js +64 -37
- package/dist/index127.js.map +1 -1
- package/dist/index128.cjs +22 -13
- package/dist/index128.cjs.map +1 -1
- package/dist/index128.js +23 -14
- package/dist/index128.js.map +1 -1
- package/dist/index129.cjs +19 -34
- package/dist/index129.cjs.map +1 -1
- package/dist/index129.js +19 -34
- package/dist/index129.js.map +1 -1
- package/dist/index13.cjs +2 -2
- package/dist/index13.js +2 -2
- package/dist/index130.cjs +13 -10
- package/dist/index130.cjs.map +1 -1
- package/dist/index130.js +14 -11
- package/dist/index130.js.map +1 -1
- package/dist/index131.cjs +15 -24
- package/dist/index131.cjs.map +1 -1
- package/dist/index131.js +15 -24
- package/dist/index131.js.map +1 -1
- package/dist/index132.cjs +15 -30
- package/dist/index132.cjs.map +1 -1
- package/dist/index132.js +15 -30
- package/dist/index132.js.map +1 -1
- package/dist/index133.cjs +18 -36
- package/dist/index133.cjs.map +1 -1
- package/dist/index133.js +18 -36
- package/dist/index133.js.map +1 -1
- package/dist/index134.cjs +25 -16
- package/dist/index134.cjs.map +1 -1
- package/dist/index134.js +25 -16
- package/dist/index134.js.map +1 -1
- package/dist/index135.cjs +69 -47
- package/dist/index135.cjs.map +1 -1
- package/dist/index135.js +69 -47
- package/dist/index135.js.map +1 -1
- package/dist/index136.cjs +48 -73
- package/dist/index136.cjs.map +1 -1
- package/dist/index136.js +48 -73
- package/dist/index136.js.map +1 -1
- package/dist/index137.cjs +4 -1162
- package/dist/index137.cjs.map +1 -1
- package/dist/index137.js +4 -1163
- package/dist/index137.js.map +1 -1
- package/dist/index138.cjs +26 -1574
- package/dist/index138.cjs.map +1 -1
- package/dist/index138.js +25 -1574
- package/dist/index138.js.map +1 -1
- package/dist/index139.cjs +87 -34
- package/dist/index139.cjs.map +1 -1
- package/dist/index139.js +86 -33
- package/dist/index139.js.map +1 -1
- package/dist/index14.cjs +2 -2
- package/dist/index14.js +2 -2
- package/dist/index140.cjs +27 -0
- package/dist/index140.cjs.map +1 -0
- package/dist/index140.js +27 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.cjs +50 -0
- package/dist/index141.cjs.map +1 -0
- package/dist/index141.js +50 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.cjs +20 -0
- package/dist/index142.cjs.map +1 -0
- package/dist/index142.js +20 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.cjs +39 -0
- package/dist/index143.cjs.map +1 -0
- package/dist/index143.js +39 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.cjs +51 -0
- package/dist/index144.cjs.map +1 -0
- package/dist/index144.js +51 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.cjs +78 -0
- package/dist/index145.cjs.map +1 -0
- package/dist/index145.js +78 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.cjs +1166 -0
- package/dist/index146.cjs.map +1 -0
- package/dist/index146.js +1167 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.cjs +1578 -0
- package/dist/index147.cjs.map +1 -0
- package/dist/index147.js +1579 -0
- package/dist/index147.js.map +1 -0
- package/dist/index148.cjs +37 -0
- package/dist/index148.cjs.map +1 -0
- package/dist/index148.js +37 -0
- package/dist/index148.js.map +1 -0
- package/dist/index149.cjs +10 -0
- package/dist/index149.cjs.map +1 -0
- package/dist/index149.js +10 -0
- package/dist/index149.js.map +1 -0
- package/dist/index15.cjs +2 -2
- package/dist/index15.js +2 -2
- package/dist/index150.cjs +15 -0
- package/dist/index150.cjs.map +1 -0
- package/dist/index150.js +15 -0
- package/dist/index150.js.map +1 -0
- package/dist/index151.cjs +51 -0
- package/dist/index151.cjs.map +1 -0
- package/dist/index151.js +51 -0
- package/dist/index151.js.map +1 -0
- package/dist/index16.cjs +3 -3
- package/dist/index16.js +3 -3
- package/dist/index17.cjs +2 -2
- package/dist/index17.js +2 -2
- package/dist/index18.cjs +2 -2
- package/dist/index18.js +2 -2
- package/dist/index19.cjs +2 -2
- package/dist/index19.js +2 -2
- package/dist/index20.cjs +2 -2
- package/dist/index20.js +2 -2
- package/dist/index21.cjs +2 -2
- package/dist/index21.js +2 -2
- package/dist/index22.cjs +2 -2
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +3 -3
- package/dist/index23.js +3 -3
- package/dist/index24.cjs +4 -4
- package/dist/index24.js +4 -4
- package/dist/index25.cjs +4 -4
- package/dist/index25.js +4 -4
- package/dist/index26.cjs +4 -4
- package/dist/index26.js +4 -4
- package/dist/index27.cjs +8 -1
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +8 -1
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +2 -2
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +58 -158
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +58 -158
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +161 -21
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +162 -22
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +82 -137
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +83 -138
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +21 -154
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +22 -155
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +135 -77
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +136 -78
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +147 -94
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +149 -96
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +86 -7
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +88 -9
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +99 -138
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +101 -140
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +6 -54
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +8 -56
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +109 -19
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +111 -21
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +55 -42
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +55 -42
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +16 -304
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +18 -306
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +43 -34
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +44 -35
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +304 -113
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +306 -115
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +30 -64
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +31 -65
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +113 -74
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +115 -76
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +63 -54
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +64 -55
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +69 -144
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +70 -145
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +57 -96
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +59 -98
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +147 -66
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +149 -68
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +97 -7
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +99 -9
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +72 -17
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +73 -18
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +7 -76
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +9 -78
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +17 -192
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +17 -192
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +72 -59
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +74 -61
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +179 -101
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +180 -102
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +49 -32
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +49 -32
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +114 -6
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +115 -7
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +44 -142
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +45 -143
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +6 -8
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +6 -8
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +143 -15
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +145 -17
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +7 -65
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +9 -67
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +17 -2
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +18 -3
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +66 -9
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +66 -9
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +4 -16
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +3 -15
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +10 -24
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +9 -23
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +15 -18
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +15 -18
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +73 -27
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +72 -26
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +153 -19
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +151 -17
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +11 -144
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +11 -144
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +52 -64
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +52 -64
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +17 -6
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +16 -5
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +2 -20
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +2 -20
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +19 -10
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +19 -10
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +7 -12
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +6 -11
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +21 -24
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +20 -23
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +10 -19
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +10 -19
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +6 -73
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +5 -72
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +10 -28
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +11 -29
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +17 -2
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +18 -3
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +16 -79
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +16 -79
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +15 -45
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +16 -46
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +131 -31
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +131 -31
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +40 -13
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +40 -13
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +28 -16
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +28 -16
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +50 -14
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +50 -14
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +38 -2
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +39 -3
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +39 -6
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +38 -5
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +92 -24
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +91 -23
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +34 -16
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +35 -17
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +35 -9
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +34 -8
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +43 -47
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +43 -47
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +24 -17
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +24 -17
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +39 -36
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +38 -35
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +8 -17
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +8 -17
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +10 -6
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +9 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +20 -55
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +19 -54
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +14 -34
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +13 -33
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +10 -57
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +9 -56
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +64 -16
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +64 -16
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +20 -37
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +20 -37
- package/dist/index99.js.map +1 -1
- package/dist/labels/ComponentLabels.types.d.ts +14 -0
- package/dist/labels/ComponentLabels.types.d.ts.map +1 -1
- package/dist/labels/defaults.d.ts.map +1 -1
- package/dist/labels/index.d.ts +1 -1
- package/dist/labels/index.d.ts.map +1 -1
- package/dist/style.css +405 -214
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ const labels: ComponentLabelsOverrides = {
|
|
|
112
112
|
| `pagination` | `Pagination` | `previous`, `page(page)`, `next` |
|
|
113
113
|
| `datePickerDropdown` | `DatePickerDropdown` | `placeholder`, `months` (12, January first), `weekdays` (7, Monday first), `dialog`, `previousMonth`, `nextMonth` |
|
|
114
114
|
| `customRangePicker` | `CustomRangePicker` | `trigger`, `title`, `start`, `end`, `cancel`, `apply`, `errorRequired`, `errorOrder` |
|
|
115
|
-
| `liveExplorerTable` | `LiveExplorerTable` | `empty`, `loadingMore`, `loadMore` |
|
|
115
|
+
| `liveExplorerTable` | `LiveExplorerTable` (also inside `DataTableCard`) | `empty`, `loadingMore`, `loadMore`, `sortBy(label)` |
|
|
116
116
|
| `chartState` | the five chart cards above | `loading`, `empty`, `retry` |
|
|
117
117
|
| `countersAnalysisCard` | `CountersAnalysisCard` | `previous`, `next` |
|
|
118
118
|
| `groupedBarChartCard` | `GroupedBarChartCard` | `noValue` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayRangePicker.d.ts","sourceRoot":"","sources":["../../../src/composites/DayRangePicker/DayRangePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAY,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAQ5E,eAAO,MAAM,cAAc,gHAmF1B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { DayRangePickerLabels } from '../../labels/ComponentLabels.types';
|
|
3
|
+
|
|
4
|
+
/** A range of whole days (`YYYY-MM-DD`); null is an empty end. */
|
|
5
|
+
export interface DayRange {
|
|
6
|
+
from: string | null;
|
|
7
|
+
to: string | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* How `maxDays` is enforced. `hide`: days that would exceed it are not offered. `warn`: they are
|
|
11
|
+
* offered, and a longer range stays on screen with a warning without reaching `onChange`.
|
|
12
|
+
*/
|
|
13
|
+
export type MaxDaysMode = 'hide' | 'warn';
|
|
14
|
+
export interface DayRangePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
|
|
15
|
+
/**
|
|
16
|
+
* Current range. The ends always bound each other, so an inverted range cannot be picked; one
|
|
17
|
+
* received from the parent is shown as is and not corrected.
|
|
18
|
+
*/
|
|
19
|
+
value: DayRange;
|
|
20
|
+
/** Called with the whole range when a pick is applied (never for a range held in warn mode). */
|
|
21
|
+
onChange: (range: DayRange) => void;
|
|
22
|
+
/** Days either end may take (`YYYY-MM-DD`), before the bounds narrow them. */
|
|
23
|
+
allowedDates: string[];
|
|
24
|
+
/** Longest range in days, both ends counted. Default: no maximum. */
|
|
25
|
+
maxDays?: number;
|
|
26
|
+
/** How `maxDays` is enforced. Default: `'hide'`. */
|
|
27
|
+
maxDaysMode?: MaxDaysMode;
|
|
28
|
+
/** Trigger text of both pickers. Default: `DatePickerDropdown`'s "D MMM YYYY". */
|
|
29
|
+
formatLabel?: (iso: string) => string;
|
|
30
|
+
/** Trigger text of an empty end. Default: `DatePickerDropdown`'s placeholder. */
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Day (`YYYY-MM-DD`) whose month an empty end opens on when the other end is empty too; with the
|
|
34
|
+
* other end set, it opens on that end's month instead. Default: none.
|
|
35
|
+
*/
|
|
36
|
+
defaultMonth?: string;
|
|
37
|
+
/** Texts for this instance; win over `ComponentLabelsProvider`. Defaults are English. */
|
|
38
|
+
labels?: Partial<DayRangePickerLabels>;
|
|
39
|
+
/** Page actions rendered after the two pickers, inside the group (e.g. a reset button). */
|
|
40
|
+
children?: ReactNode;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=DayRangePicker.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayRangePicker.types.d.ts","sourceRoot":"","sources":["../../../src/composites/DayRangePicker/DayRangePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,kEAAkE;AAClE,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAC/C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,UAAU,CACxB;IACC;;;OAGG;IACH,KAAK,EAAE,QAAQ,CAAC;IAChB,gGAAgG;IAChG,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,8EAA8E;IAC9E,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oDAAoD;IACpD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,kFAAkF;IAClF,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACvC,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composites/DayRangePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,QAAQ,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DayRange, MaxDaysMode } from './DayRangePicker.types';
|
|
2
|
+
|
|
3
|
+
/** `day` moved by `days` calendar days, in UTC so a daylight-saving change cannot shift it. */
|
|
4
|
+
export declare const shiftDay: (day: string, days: number) => string;
|
|
5
|
+
/** Days in the range, both ends counted (1 for the same day). */
|
|
6
|
+
export declare const spanDays: (from: string, to: string) => number;
|
|
7
|
+
/** Whether both ends are set and the range is longer than `maxDays`. */
|
|
8
|
+
export declare const isTooLong: ({ from, to }: DayRange, maxDays: number | undefined) => boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The days each end offers: the allowed days bounded by the other end and, in hide mode, kept
|
|
11
|
+
* within `maxDays` of it. An empty end bounds nothing.
|
|
12
|
+
*/
|
|
13
|
+
export declare const rangeDays: (allowedDates: string[], { from, to }: DayRange, maxDays: number | undefined, mode: MaxDaysMode) => {
|
|
14
|
+
fromDays: string[];
|
|
15
|
+
toDays: string[];
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=rangeDays.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rangeDays.d.ts","sourceRoot":"","sources":["../../../src/composites/DayRangePicker/rangeDays.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIpE,+FAA+F;AAC/F,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,MACkB,CAAC;AAExE,iEAAiE;AACjE,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,EAAE,IAAI,MAAM,KAAG,MACQ,CAAC;AAE7D,wEAAwE;AACxE,eAAO,MAAM,SAAS,GAAI,cAAc,QAAQ,EAAE,SAAS,MAAM,GAAG,SAAS,KAAG,OACO,CAAC;AAKxF;;;GAGG;AACH,eAAO,MAAM,SAAS,GACpB,cAAc,MAAM,EAAE,EACtB,cAAc,QAAQ,EACtB,SAAS,MAAM,GAAG,SAAS,EAC3B,MAAM,WAAW,KAChB;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAUxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rangeDays.test.d.ts","sourceRoot":"","sources":["../../../src/composites/DayRangePicker/rangeDays.test.ts"],"names":[],"mappings":""}
|
package/dist/constants.d.ts
CHANGED
|
@@ -51,6 +51,12 @@ export declare const TIME_PRESET_MS: {
|
|
|
51
51
|
export declare const CHART_COLORS: readonly ["#FF6B5A", "#5B8DEF", "#4ECDC4", "#F7B731", "#A55EEA", "#26DE81", "#FC5C65", "#45AAF2", "#FD9644", "#2BCBBA", "#D1D8E0", "#778CA3", "#EB3B5A", "#3867D6", "#20BF6B", "#F7B731", "#8854D0", "#0FB9B1", "#FA8231", "#4B6584"];
|
|
52
52
|
/** Minimum column width for resizable tables (px — used in JS calculations). */
|
|
53
53
|
export declare const MIN_COLUMN_WIDTH = 40;
|
|
54
|
+
/** Start width of a column resize when its header cannot be measured (px). */
|
|
55
|
+
export declare const RESIZE_FALLBACK_WIDTH = 100;
|
|
56
|
+
/** Skeleton rows LiveExplorerTable shows while its first page loads. */
|
|
57
|
+
export declare const LIVE_EXPLORER_SKELETON_ROWS = 5;
|
|
58
|
+
/** Size of the neutral sort icon next to a table header's content (px — lucide `size`). */
|
|
59
|
+
export declare const SORT_ICON_SIZE = 14;
|
|
54
60
|
/** Sidebar dimension constants (px — used as inline styles). */
|
|
55
61
|
export declare const SIDEBAR: {
|
|
56
62
|
readonly WIDTH: 240;
|
|
@@ -140,4 +146,6 @@ export declare const BASEMAP_TILES: {
|
|
|
140
146
|
};
|
|
141
147
|
/** HeatmapMatrix header rows when column groups are in use (group row + column row). */
|
|
142
148
|
export declare const HEATMAP_GROUPED_HEADER_ROWS = 2;
|
|
149
|
+
/** Milliseconds in a calendar day, for whole-day arithmetic in UTC. */
|
|
150
|
+
export declare const MS_PER_DAY = 86400000;
|
|
143
151
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2EAA2E;AAC3E,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AAEX,gDAAgD;AAChD,eAAO,MAAM,WAAW,cAAc,CAAC;AAEvC,iCAAiC;AACjC,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC,uEAAuE;AACvE,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B,2EAA2E;AAC3E,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,wCAAwC;AACxC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,4HAA4H;AAC5H,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,iFAAiF;AACjF,eAAO,MAAM,WAAW;;;;;;;;;CASd,CAAC;AAEX,sDAAsD;AACtD,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,yDAAyD;AACzD,eAAO,MAAM,UAAU,KAAK,CAAC;AAE7B,+CAA+C;AAC/C,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,0CAA0C;AAC1C,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,mDAAmD;AACnD,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AAEX,mCAAmC;AACnC,eAAO,MAAM,YAAY,uOAqBf,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,gEAAgE;AAChE,eAAO,MAAM,OAAO;;;CAGV,CAAC;AAEX,oCAAoC;AACpC,eAAO,MAAM,kBAAkB,MAAM,CAAC;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jE,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;CAMhB,CAAC;AAEX,wFAAwF;AACxF,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,uEAAuE;AACvE,eAAO,MAAM,UAAU,WAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LiveExplorerRow } from '../LiveExplorerTable/LiveExplorerTable.types';
|
|
2
|
+
import { DataTableCardProps } from './DataTableCard.types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* One `LiveExplorerTable` in a card: the title with its count, a controls row with the
|
|
6
|
+
* filter bar and the paginator, then the table — or the error, or the custom loading
|
|
7
|
+
* content while the first page loads.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DataTableCard: {
|
|
10
|
+
<Row = LiveExplorerRow, K extends string = string>(props: DataTableCardProps<Row, K>): import("react").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=DataTableCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTableCard.d.ts","sourceRoot":"","sources":["../../../src/data/DataTableCard/DataTableCard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;;;GAIG;AACH,eAAO,MAAM,aAAa;KAAI,GAAG,oBAAoB,CAAC,SAAS,MAAM,kBAC5D,kBAAkB,CAAC,GAAG,EAAE,CAAC,CAAC;;CAkElC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { LiveExplorerRow, LiveExplorerRowIdProps, LiveExplorerTableBaseProps, LiveExplorerTableVariant } from '../LiveExplorerTable/LiveExplorerTable.types';
|
|
3
|
+
|
|
4
|
+
/** Server-side paging of a `DataTableCard`; names follow `Pagination`. */
|
|
5
|
+
export interface DataTableCardPagination {
|
|
6
|
+
/** Current page (1-based). */
|
|
7
|
+
currentPage: number;
|
|
8
|
+
/** Rows across every page. */
|
|
9
|
+
totalItems: number;
|
|
10
|
+
/** Rows per page. The paginator is shown only when `totalItems > pageSize`. */
|
|
11
|
+
pageSize: number;
|
|
12
|
+
/** Called with the requested page (1-based). */
|
|
13
|
+
onPageChange: (page: number) => void;
|
|
14
|
+
/** Accessible name of the paginator's `nav`. */
|
|
15
|
+
'aria-label'?: string;
|
|
16
|
+
}
|
|
17
|
+
/** The card's own props; every other prop goes to its `LiveExplorerTable`. */
|
|
18
|
+
export interface DataTableCardOwnProps {
|
|
19
|
+
/** Card title, rendered in an `h3`. */
|
|
20
|
+
title: ReactNode;
|
|
21
|
+
/** Bare number shown beside the title, outside the heading. `null` or absent: no count. */
|
|
22
|
+
count?: number | null;
|
|
23
|
+
/** `title` of the count, e.g. its unit ("1,234 rows"). */
|
|
24
|
+
countTooltip?: string;
|
|
25
|
+
/** Filter bar at the start of the controls row; may wrap. */
|
|
26
|
+
toolbar?: ReactNode;
|
|
27
|
+
/** Paging; the paginator sits at the end of the controls row. */
|
|
28
|
+
pagination?: DataTableCardPagination;
|
|
29
|
+
/** Error content (message, retry button); replaces the table. */
|
|
30
|
+
error?: ReactNode;
|
|
31
|
+
/** Content shown instead of the table while the first page loads. Default: the table's skeleton. */
|
|
32
|
+
loading?: ReactNode;
|
|
33
|
+
/** Table frame. Default `'bounded'`; `'fill'` also stretches the card over its parent. */
|
|
34
|
+
variant?: LiveExplorerTableVariant;
|
|
35
|
+
/** Card root class. */
|
|
36
|
+
className?: string;
|
|
37
|
+
/** Table root class. */
|
|
38
|
+
tableClassName?: string;
|
|
39
|
+
}
|
|
40
|
+
export type DataTableCardProps<Row = LiveExplorerRow, K extends string = string> = DataTableCardOwnProps & Omit<LiveExplorerTableBaseProps<Row, K>, 'className' | 'variant'> & LiveExplorerRowIdProps<Row>;
|
|
41
|
+
//# sourceMappingURL=DataTableCard.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTableCard.types.d.ts","sourceRoot":"","sources":["../../../src/data/DataTableCard/DataTableCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACzB,MAAM,8CAA8C,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,WAAW,uBAAuB;IACtC,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,8EAA8E;AAC9E,MAAM,WAAW,qBAAqB;IACpC,uCAAuC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,iEAAiE;IACjE,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,iEAAiE;IACjE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,oGAAoG;IACpG,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,kBAAkB,CAC5B,GAAG,GAAG,eAAe,EACrB,CAAC,SAAS,MAAM,GAAG,MAAM,IACvB,qBAAqB,GACvB,IAAI,CAAC,0BAA0B,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GACjE,sBAAsB,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/DataTableCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LiveExplorerBodyProps } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The table body: skeleton rows while the first page loads, a full-width empty row when
|
|
5
|
+
* there is nothing to show, and otherwise the rows — grouped and expanded as asked.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LiveExplorerBody: <Row, K extends string>({ rows, columns, getRowId, isLoading, empty, selectedRowKey, selectedRef, onRowClick, rowClassName, renderExpandedRow, expandedRowKeys, groupBy, renderGroupHeader, }: LiveExplorerBodyProps<Row, K>) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=LiveExplorerBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveExplorerBody.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerBody.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAKvE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,GAAG,EAAE,CAAC,SAAS,MAAM,EAAE,uKAcrD,qBAAqB,CAAC,GAAG,EAAE,CAAC,CAAC,gCA8D/B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LiveExplorerDataRowProps } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/** One data row and, when expanded, the full-width row under it. */
|
|
4
|
+
export declare const LiveExplorerDataRow: <Row, K extends string>({ row, columns, isSelected, selectedRef, onRowClick, className, isExpanded, renderExpandedRow, }: LiveExplorerDataRowProps<Row, K>) => import("react").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=LiveExplorerDataRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveExplorerDataRow.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerDataRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAyB,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAUjG,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,GAAI,GAAG,EAAE,CAAC,SAAS,MAAM,EAAE,kGASxD,wBAAwB,CAAC,GAAG,EAAE,CAAC,CAAC,gCAkClC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LiveExplorerHeaderCellProps } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One column header. A sortable column sorts through a button: its label itself, or —
|
|
5
|
+
* when the column draws its own `header` content — a ghost toggle next to that content.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LiveExplorerHeaderCell: <Row, K extends string>({ column, sortState, onSort, sortByLabel, onResizeStart, }: LiveExplorerHeaderCellProps<Row, K>) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=LiveExplorerHeaderCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveExplorerHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerHeaderCell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,2BAA2B,CAAC;AAOnC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,GAAG,EAAE,CAAC,SAAS,MAAM,EAAE,4DAM3D,2BAA2B,CAAC,GAAG,EAAE,CAAC,CAAC,gCAmErC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LiveExplorerTableProps } from './LiveExplorerTable.types';
|
|
1
|
+
import { LiveExplorerRow, LiveExplorerTableProps } from './LiveExplorerTable.types';
|
|
2
2
|
|
|
3
3
|
export declare const LiveExplorerTable: {
|
|
4
|
-
|
|
4
|
+
<Row = LiveExplorerRow, K extends string = string>(props: LiveExplorerTableProps<Row, K>): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=LiveExplorerTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveExplorerTable.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LiveExplorerTable.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EAEvB,MAAM,2BAA2B,CAAC;AAcnC,eAAO,MAAM,iBAAiB;KAAI,GAAG,oBAAoB,CAAC,SAAS,MAAM,kBAChE,sBAAsB,CAAC,GAAG,EAAE,CAAC,CAAC;;CA0GtC,CAAC"}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
2
|
import { LiveExplorerTableLabels } from '../../labels/ComponentLabels.types';
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/** Default row shape: an `id` plus any field. */
|
|
5
5
|
export interface LiveExplorerRow {
|
|
6
6
|
id: string;
|
|
7
7
|
[key: string]: unknown;
|
|
8
8
|
}
|
|
9
|
+
/** Horizontal alignment of a column's header and cells. */
|
|
10
|
+
export type LiveExplorerColumnAlign = 'start' | 'center' | 'end';
|
|
11
|
+
/** Height mode of the table frame. */
|
|
12
|
+
export type LiveExplorerTableVariant = 'bounded' | 'fill';
|
|
13
|
+
/** Sort direction of the sorted column. */
|
|
14
|
+
export type LiveExplorerSortDirection = 'asc' | 'desc';
|
|
9
15
|
/** Column definition for the LiveExplorerTable. */
|
|
10
|
-
export interface LiveExplorerColumnDef {
|
|
11
|
-
/** Column identifier
|
|
12
|
-
key:
|
|
13
|
-
/**
|
|
16
|
+
export interface LiveExplorerColumnDef<Row = LiveExplorerRow, K extends string = string> {
|
|
17
|
+
/** Column identifier; also the row field read for the cell value. */
|
|
18
|
+
key: K;
|
|
19
|
+
/** Header text: the column's accessible name and the name of its sort button. */
|
|
14
20
|
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* Header content drawn instead of `label` (a filter dropdown, a select-all checkbox).
|
|
23
|
+
* The header cell then carries `aria-label={label}`; with `sortable`, a separate sort
|
|
24
|
+
* button follows the content.
|
|
25
|
+
*/
|
|
26
|
+
header?: ReactNode;
|
|
15
27
|
/**
|
|
16
28
|
* Explanation shown as the header's native tooltip (`title`).
|
|
17
29
|
* Supplementary only: not visible to keyboard or touch users.
|
|
@@ -23,24 +35,36 @@ export interface LiveExplorerColumnDef {
|
|
|
23
35
|
minWidth?: number;
|
|
24
36
|
/** Whether this column is sortable. */
|
|
25
37
|
sortable?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
|
|
38
|
+
/** Alignment of the header and cells. Default `'start'`. */
|
|
39
|
+
align?: LiveExplorerColumnAlign;
|
|
40
|
+
/** Tabular figures and no wrapping in the cells. Does not change the alignment. */
|
|
41
|
+
numeric?: boolean;
|
|
42
|
+
/** Class added to every body cell of the column. */
|
|
43
|
+
className?: string;
|
|
44
|
+
/** Class added to the column's header cell. */
|
|
45
|
+
headerClassName?: string;
|
|
46
|
+
/** Custom cell renderer; `value` is `row[key]`. */
|
|
47
|
+
render?: (value: unknown, row: Row) => ReactNode;
|
|
28
48
|
}
|
|
29
49
|
/** Sort state for the table. */
|
|
30
|
-
export interface LiveExplorerSortState {
|
|
31
|
-
column:
|
|
32
|
-
direction:
|
|
50
|
+
export interface LiveExplorerSortState<K extends string = string> {
|
|
51
|
+
column: K;
|
|
52
|
+
direction: LiveExplorerSortDirection;
|
|
33
53
|
}
|
|
34
|
-
|
|
54
|
+
/** Every prop of the table except the row identity, which depends on the row type. */
|
|
55
|
+
export interface LiveExplorerTableBaseProps<Row = LiveExplorerRow, K extends string = string> {
|
|
35
56
|
/** Table row data. */
|
|
36
|
-
rows:
|
|
57
|
+
rows: Row[];
|
|
37
58
|
/** Column definitions. */
|
|
38
|
-
columns: LiveExplorerColumnDef[];
|
|
59
|
+
columns: LiveExplorerColumnDef<Row, K>[];
|
|
39
60
|
/** Current sort state. */
|
|
40
|
-
sortState?: LiveExplorerSortState | null;
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
61
|
+
sortState?: LiveExplorerSortState<K> | null;
|
|
62
|
+
/**
|
|
63
|
+
* Called by a sort button with the next state: ascending, then descending, then `null`
|
|
64
|
+
* (no sort). The table never reorders rows itself.
|
|
65
|
+
*/
|
|
66
|
+
onSortChange?: (sort: LiveExplorerSortState<K> | null) => void;
|
|
67
|
+
/** Loading state: skeleton rows while there are no rows, rows kept otherwise. */
|
|
44
68
|
isLoading?: boolean;
|
|
45
69
|
/** Whether more data is available. */
|
|
46
70
|
hasMore?: boolean;
|
|
@@ -49,23 +73,96 @@ export interface LiveExplorerTableProps {
|
|
|
49
73
|
/** Load more callback. */
|
|
50
74
|
onLoadMore?: () => void;
|
|
51
75
|
/** Column resize callback. */
|
|
52
|
-
onColumnResize?: (column:
|
|
76
|
+
onColumnResize?: (column: K, width: number) => void;
|
|
53
77
|
/** Row click callback. */
|
|
54
|
-
onRowClick?: (row:
|
|
55
|
-
/** Cell filter callback. */
|
|
78
|
+
onRowClick?: (row: Row) => void;
|
|
79
|
+
/** Cell filter callback. Declared, not called yet. */
|
|
56
80
|
onFilterByValue?: (payload: {
|
|
57
|
-
column:
|
|
58
|
-
row:
|
|
81
|
+
column: K;
|
|
82
|
+
row: Row;
|
|
59
83
|
}) => void;
|
|
60
|
-
/** Selected row
|
|
84
|
+
/** Selected row key. */
|
|
61
85
|
selectedRowKey?: string | null;
|
|
62
86
|
/** Auto-scroll to selected row. */
|
|
63
87
|
scrollToSelectedRow?: boolean;
|
|
64
|
-
/**
|
|
88
|
+
/** Frame height mode. Without it the height follows the content (capped by `maxHeight`). */
|
|
89
|
+
variant?: LiveExplorerTableVariant;
|
|
90
|
+
/** Maximum height of the table (a number is px). Default `32rem` in `bounded`. */
|
|
65
91
|
maxHeight?: number | string;
|
|
92
|
+
/** Class added to a row, independent of the selection. */
|
|
93
|
+
rowClassName?: (row: Row) => string | undefined;
|
|
94
|
+
/** Content of the empty row. Default: the `empty` label. */
|
|
95
|
+
empty?: ReactNode;
|
|
96
|
+
/** Content of the full-width row drawn under each expanded row. */
|
|
97
|
+
renderExpandedRow?: (row: Row) => ReactNode;
|
|
98
|
+
/** Keys of the expanded rows (controlled). */
|
|
99
|
+
expandedRowKeys?: string[];
|
|
100
|
+
/** Group key of a row; groups keep the order of their first row. */
|
|
101
|
+
groupBy?: (row: Row) => string;
|
|
102
|
+
/** Content of a group's header row. Default: the group key. */
|
|
103
|
+
renderGroupHeader?: (groupKey: string, rows: Row[]) => ReactNode;
|
|
66
104
|
/** Root class override. */
|
|
67
105
|
className?: string;
|
|
68
106
|
/** Texts for this instance; win over `ComponentLabelsProvider`. Defaults are English. */
|
|
69
107
|
labels?: Partial<LiveExplorerTableLabels>;
|
|
70
108
|
}
|
|
109
|
+
/** `getRowId` is optional when the row has an `id: string`, required otherwise. */
|
|
110
|
+
export type LiveExplorerRowIdProps<Row> = [Row] extends [{
|
|
111
|
+
id: string;
|
|
112
|
+
}] ? {
|
|
113
|
+
/** Key of a row. Default `row.id`. */
|
|
114
|
+
getRowId?: (row: Row) => string;
|
|
115
|
+
} : {
|
|
116
|
+
/** Key of a row. Required: the row type has no `id: string`. */
|
|
117
|
+
getRowId: (row: Row) => string;
|
|
118
|
+
};
|
|
119
|
+
export type LiveExplorerTableProps<Row = LiveExplorerRow, K extends string = string> = LiveExplorerTableBaseProps<Row, K> & LiveExplorerRowIdProps<Row>;
|
|
120
|
+
/**
|
|
121
|
+
* Internal: the props once the row-id rule has been checked at the call site — `getRowId`
|
|
122
|
+
* is then simply optional. Used inside the table and by components that wrap it.
|
|
123
|
+
*/
|
|
124
|
+
export type LiveExplorerTableResolvedProps<Row, K extends string> = LiveExplorerTableBaseProps<Row, K> & {
|
|
125
|
+
getRowId?: (row: Row) => string;
|
|
126
|
+
};
|
|
127
|
+
/** Internal: props of one header cell. */
|
|
128
|
+
export interface LiveExplorerHeaderCellProps<Row, K extends string> {
|
|
129
|
+
column: LiveExplorerColumnDef<Row, K>;
|
|
130
|
+
sortState: LiveExplorerSortState<K> | null;
|
|
131
|
+
onSort: (column: K) => void;
|
|
132
|
+
sortByLabel: (label: string) => string;
|
|
133
|
+
onResizeStart?: (column: K, startX: number, startWidth: number) => void;
|
|
134
|
+
}
|
|
135
|
+
/** Internal: props of the table body. */
|
|
136
|
+
export interface LiveExplorerBodyProps<Row, K extends string> {
|
|
137
|
+
rows: Row[];
|
|
138
|
+
columns: LiveExplorerColumnDef<Row, K>[];
|
|
139
|
+
getRowId: (row: Row) => string;
|
|
140
|
+
isLoading: boolean;
|
|
141
|
+
empty: ReactNode;
|
|
142
|
+
selectedRowKey: string | null;
|
|
143
|
+
selectedRef: RefObject<HTMLTableRowElement | null>;
|
|
144
|
+
onRowClick?: (row: Row) => void;
|
|
145
|
+
rowClassName?: (row: Row) => string | undefined;
|
|
146
|
+
renderExpandedRow?: (row: Row) => ReactNode;
|
|
147
|
+
expandedRowKeys: string[];
|
|
148
|
+
groupBy?: (row: Row) => string;
|
|
149
|
+
renderGroupHeader?: (groupKey: string, rows: Row[]) => ReactNode;
|
|
150
|
+
}
|
|
151
|
+
/** Internal: props of one data row and its expanded row. */
|
|
152
|
+
export interface LiveExplorerDataRowProps<Row, K extends string> {
|
|
153
|
+
row: Row;
|
|
154
|
+
columns: LiveExplorerColumnDef<Row, K>[];
|
|
155
|
+
isSelected: boolean;
|
|
156
|
+
selectedRef: RefObject<HTMLTableRowElement | null>;
|
|
157
|
+
onRowClick?: (row: Row) => void;
|
|
158
|
+
className?: string;
|
|
159
|
+
/** Whether the expanded row is drawn under this row. */
|
|
160
|
+
isExpanded: boolean;
|
|
161
|
+
renderExpandedRow?: (row: Row) => ReactNode;
|
|
162
|
+
}
|
|
163
|
+
/** Internal: one group of rows; `key` is `null` when the table is not grouped. */
|
|
164
|
+
export interface LiveExplorerRowGroup<Row> {
|
|
165
|
+
key: string | null;
|
|
166
|
+
rows: Row[];
|
|
167
|
+
}
|
|
71
168
|
//# sourceMappingURL=LiveExplorerTable.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiveExplorerTable.types.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerTable.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LiveExplorerTable.types.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/LiveExplorerTable.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAElF,iDAAiD;AACjD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,2DAA2D;AAC3D,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEjE,sCAAsC;AACtC,MAAM,MA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AO,EAAE,qBAAqB,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACzC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,SAAS,CAAC;CAC7C;AAED,kFAAkF;AAClF,MAAM,WAAW,oBAAoB,CAAC,GAAG;IACvC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,GAAG,EAAE,CAAC;CACb"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LiveExplorerColumnAlign } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/** The alignment class shared by a column's header and cells; start is the default rule. */
|
|
4
|
+
export declare function alignClass(align?: LiveExplorerColumnAlign): string | undefined;
|
|
5
|
+
//# sourceMappingURL=columnClasses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnClasses.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/columnClasses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGzE,4FAA4F;AAC5F,wBAAgB,UAAU,CAAC,KAAK,GAAE,uBAAiC,GAAG,MAAM,GAAG,SAAS,CAIvF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LiveExplorerRowGroup } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Splits `rows` into groups ordered by each group's first row, keeping the rows' order
|
|
5
|
+
* inside a group. Without `groupBy`, one group with `key: null` holds every row.
|
|
6
|
+
*/
|
|
7
|
+
export declare function groupRows<Row>(rows: Row[], groupBy?: (row: Row) => string): LiveExplorerRowGroup<Row>[];
|
|
8
|
+
//# sourceMappingURL=groupRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupRows.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/groupRows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE;;;GAGG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAC3B,IAAI,EAAE,GAAG,EAAE,EACX,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,GAC7B,oBAAoB,CAAC,GAAG,CAAC,EAAE,CAW7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupRows.test.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/groupRows.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { LiveExplorerTable } from './LiveExplorerTable';
|
|
2
|
-
export type { LiveExplorerTableProps, LiveExplorerColumnDef, LiveExplorerRow, LiveExplorerSortState, } from './LiveExplorerTable.types';
|
|
2
|
+
export type { LiveExplorerTableProps, LiveExplorerTableBaseProps, LiveExplorerRowIdProps, LiveExplorerColumnDef, LiveExplorerColumnAlign, LiveExplorerRow, LiveExplorerSortState, LiveExplorerSortDirection, LiveExplorerTableVariant, } from './LiveExplorerTable.types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LiveExplorerSortState } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The sort a click on `column`'s sort button asks for: another column → ascending; the
|
|
5
|
+
* sorted column ascending → descending; the sorted column descending → no sort.
|
|
6
|
+
*/
|
|
7
|
+
export declare function nextSortState<K extends string>(current: LiveExplorerSortState<K> | null, column: K): LiveExplorerSortState<K> | null;
|
|
8
|
+
//# sourceMappingURL=nextSortState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextSortState.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/nextSortState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAC5C,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,EACxC,MAAM,EAAE,CAAC,GACR,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,CAGjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextSortState.test.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/nextSortState.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LiveExplorerColumnDef } from './LiveExplorerTable.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Starts a mouse-drag resize of a column: reports each new width (never below the
|
|
5
|
+
* column's `minWidth`) until the mouse is released. Without `onColumnResize`, a no-op.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useColumnResize<Row, K extends string>(columns: LiveExplorerColumnDef<Row, K>[], onColumnResize?: (column: K, width: number) => void): (columnKey: K, startX: number, startWidth: number) => void;
|
|
8
|
+
//# sourceMappingURL=useColumnResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColumnResize.d.ts","sourceRoot":"","sources":["../../../src/data/LiveExplorerTable/useColumnResize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,CAAC,SAAS,MAAM,EACnD,OAAO,EAAE,qBAAqB,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EACxC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,eAGrC,CAAC,UAAU,MAAM,cAAc,MAAM,UAwBpD"}
|