@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/dist/index68.js
CHANGED
|
@@ -1,147 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const PANEL_EDGE_MARGIN = 8;
|
|
12
|
-
const CHART_MODAL = {
|
|
13
|
-
MIN_WIDTH: 960,
|
|
14
|
-
MIN_HEIGHT: 480,
|
|
15
|
-
MAX_WIDTH: 2400,
|
|
16
|
-
MAX_HEIGHT: 1300,
|
|
17
|
-
DEFAULT_WIDTH: 1500,
|
|
18
|
-
DEFAULT_HEIGHT: 820,
|
|
19
|
-
FALLBACK_WIDTH: 1400,
|
|
20
|
-
FALLBACK_HEIGHT: 800
|
|
21
|
-
};
|
|
22
|
-
const MAX_SANKEY_NODES = 150;
|
|
23
|
-
const MAX_SERIES = 20;
|
|
24
|
-
const MAX_CATEGORIES = 20;
|
|
25
|
-
const MAX_SUBCATEGORIES = 10;
|
|
26
|
-
const CHART_COLORS = [
|
|
27
|
-
"#FF6B5A",
|
|
28
|
-
"#5B8DEF",
|
|
29
|
-
"#4ECDC4",
|
|
30
|
-
"#F7B731",
|
|
31
|
-
"#A55EEA",
|
|
32
|
-
"#26DE81",
|
|
33
|
-
"#FC5C65",
|
|
34
|
-
"#45AAF2",
|
|
35
|
-
"#FD9644",
|
|
36
|
-
"#2BCBBA",
|
|
37
|
-
"#D1D8E0",
|
|
38
|
-
"#778CA3",
|
|
39
|
-
"#EB3B5A",
|
|
40
|
-
"#3867D6",
|
|
41
|
-
"#20BF6B",
|
|
42
|
-
"#F7B731",
|
|
43
|
-
"#8854D0",
|
|
44
|
-
"#0FB9B1",
|
|
45
|
-
"#FA8231",
|
|
46
|
-
"#4B6584"
|
|
47
|
-
];
|
|
48
|
-
const MIN_COLUMN_WIDTH = 40;
|
|
49
|
-
const SIDEBAR = {
|
|
50
|
-
WIDTH: 240,
|
|
51
|
-
COLLAPSED_WIDTH: 80
|
|
52
|
-
};
|
|
53
|
-
const COUNTERS_PAGE_SIZE = 100;
|
|
54
|
-
const TOAST_DURATION_MS = 3200;
|
|
55
|
-
const PAGINATION = {
|
|
56
|
-
/** Page numbers shown on each side of the current page. */
|
|
57
|
-
SIBLING_COUNT: 1,
|
|
58
|
-
/** Page numbers pinned at the first/last boundaries. */
|
|
59
|
-
BOUNDARY_COUNT: 1
|
|
60
|
-
};
|
|
61
|
-
const SCATTER = {
|
|
62
|
-
/** Marks drawn before deterministic sampling kicks in. */
|
|
63
|
-
MAX_POINTS: 2e3,
|
|
64
|
-
MIN_SYMBOL_SIZE: 6,
|
|
65
|
-
MAX_SYMBOL_SIZE: 28,
|
|
66
|
-
/** Symbol size used when no point carries a weight. */
|
|
67
|
-
BASE_SYMBOL_SIZE: 10
|
|
68
|
-
};
|
|
69
|
-
const GROUPED_BAR = {
|
|
70
|
-
/**
|
|
71
|
-
* Grid margins. `containLabel` reserves room for the tick labels only, so the
|
|
72
|
-
* value-axis name and the legend need their own margin or they get clipped.
|
|
73
|
-
*/
|
|
74
|
-
GRID_MARGIN: {
|
|
75
|
-
BASE: 8,
|
|
76
|
-
TOP: 16,
|
|
77
|
-
RIGHT: 16,
|
|
78
|
-
/** Extra left margin for a vertical value-axis name. */
|
|
79
|
-
VALUE_NAME_Y: 34,
|
|
80
|
-
/** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */
|
|
81
|
-
VALUE_NAME_X: 23,
|
|
82
|
-
LEGEND: 30
|
|
83
|
-
},
|
|
84
|
-
/** Distance from the value axis line to its name. */
|
|
85
|
-
AXIS_NAME_GAP: { X: 28, Y: 38 },
|
|
86
|
-
/** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */
|
|
87
|
-
MIN_BAR_HEIGHT: 2,
|
|
88
|
-
/** Diameter of the colour dot before each tooltip line. */
|
|
89
|
-
TOOLTIP_MARKER_SIZE: 10,
|
|
90
|
-
/** Space between the tooltip colour dot and the series name. */
|
|
91
|
-
TOOLTIP_MARKER_GAP: 4
|
|
92
|
-
};
|
|
93
|
-
const RANGE_SLIDER = {
|
|
94
|
-
DEFAULT_STEP: 1
|
|
95
|
-
};
|
|
96
|
-
const GEO_MAP = {
|
|
97
|
-
/** Markers drawn before deterministic sampling kicks in. */
|
|
98
|
-
MAX_POINTS: 2e3,
|
|
99
|
-
MIN_MARKER_RADIUS: 4,
|
|
100
|
-
MAX_MARKER_RADIUS: 18,
|
|
101
|
-
/** Radius used when no point carries a weight. */
|
|
102
|
-
BASE_MARKER_RADIUS: 8,
|
|
103
|
-
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
104
|
-
SELECTED_RADIUS_BOOST: 3,
|
|
105
|
-
MARKER_STROKE_WIDTH: 1,
|
|
106
|
-
SELECTED_STROKE_WIDTH: 3,
|
|
107
|
-
MARKER_FILL_OPACITY: 0.7,
|
|
108
|
-
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
109
|
-
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
110
|
-
DEFAULT_ZOOM: 13,
|
|
111
|
-
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
112
|
-
SINGLE_POINT_ZOOM: 14,
|
|
113
|
-
FIT_BOUNDS_PADDING: [24, 24]
|
|
114
|
-
};
|
|
115
|
-
const BASEMAP_TILES = {
|
|
116
|
-
light: "https://basemaps.cartocdn.com/rastertiles/light_all/{z}/{x}/{y}{r}.png",
|
|
117
|
-
dark: "https://basemaps.cartocdn.com/rastertiles/dark_all/{z}/{x}/{y}{r}.png",
|
|
118
|
-
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
119
|
-
};
|
|
120
|
-
const HEATMAP_GROUPED_HEADER_ROWS = 2;
|
|
1
|
+
import { useContext, useMemo } from "react";
|
|
2
|
+
import { ComponentLabelsContext } from "./index63.js";
|
|
3
|
+
import { assignDefined } from "./index64.js";
|
|
4
|
+
function useComponentLabels(defaults, groups, instance) {
|
|
5
|
+
const context = useContext(ComponentLabelsContext);
|
|
6
|
+
return useMemo(
|
|
7
|
+
() => assignDefined({ ...defaults }, ...groups.map((group) => context[group]), instance),
|
|
8
|
+
[defaults, groups, context, instance]
|
|
9
|
+
);
|
|
10
|
+
}
|
|
121
11
|
export {
|
|
122
|
-
|
|
123
|
-
CHART_COLORS,
|
|
124
|
-
CHART_MODAL,
|
|
125
|
-
CONTEXT_MENU_MARGIN,
|
|
126
|
-
COUNTERS_PAGE_SIZE,
|
|
127
|
-
GEO_MAP,
|
|
128
|
-
GROUPED_BAR,
|
|
129
|
-
HEATMAP_GROUPED_HEADER_ROWS,
|
|
130
|
-
ICON_SIZE,
|
|
131
|
-
KEYBOARD_STEP,
|
|
132
|
-
MAX_CATEGORIES,
|
|
133
|
-
MAX_SANKEY_NODES,
|
|
134
|
-
MAX_SERIES,
|
|
135
|
-
MAX_SUBCATEGORIES,
|
|
136
|
-
MIN_COLUMN_WIDTH,
|
|
137
|
-
PAGINATION,
|
|
138
|
-
PANEL_EDGE_MARGIN,
|
|
139
|
-
RANGE_SLIDER,
|
|
140
|
-
SCATTER,
|
|
141
|
-
SIDEBAR,
|
|
142
|
-
SVG_STROKE_WIDTH,
|
|
143
|
-
SVG_VIEWBOX,
|
|
144
|
-
TOAST_DURATION_MS,
|
|
145
|
-
VIEWPORT_MARGIN
|
|
12
|
+
useComponentLabels
|
|
146
13
|
};
|
|
147
14
|
//# sourceMappingURL=index68.js.map
|
package/dist/index68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index68.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index68.js","sources":["../src/labels/useComponentLabels.ts"],"sourcesContent":["import { useContext, useMemo } from 'react';\nimport type { ComponentLabels } from './ComponentLabels.types';\nimport { ComponentLabelsContext } from './ComponentLabelsContext';\nimport { assignDefined } from './assignDefined';\n\n/**\n * Internal. Resolves a component's texts: its defaults, then each provider group in order,\n * then the instance overrides. Specific props (e.g. `placeholder`) are applied by the caller.\n * `defaults` and `groups` must be module-level constants.\n */\nexport function useComponentLabels<T extends object>(\n defaults: T,\n groups: readonly (keyof ComponentLabels)[],\n instance?: Partial<T>,\n): T {\n const context = useContext(ComponentLabelsContext);\n return useMemo(\n () => assignDefined({ ...defaults }, ...groups.map((group) => context[group]), instance),\n [defaults, groups, context, instance],\n );\n}\n"],"names":[],"mappings":";;;AAUO,SAAS,mBACd,UACA,QACA,UACG;AACH,QAAM,UAAU,WAAW,sBAAsB;AACjD,SAAO;AAAA,IACL,MAAM,cAAc,EAAE,GAAG,YAAY,GAAG,OAAO,IAAI,CAAC,UAAU,QAAQ,KAAK,CAAC,GAAG,QAAQ;AAAA,IACvF,CAAC,UAAU,QAAQ,SAAS,QAAQ;AAAA,EAAA;AAExC;"}
|
package/dist/index69.cjs
CHANGED
|
@@ -1,72 +1,60 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
22
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
23
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
24
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
3
|
+
const root = "krc-root--s1oD";
|
|
4
|
+
const trigger = "krc-trigger-WMlNa";
|
|
5
|
+
const active = "krc-active-O65lj";
|
|
6
|
+
const triggerContent = "krc-triggerContent-JipmE";
|
|
7
|
+
const chevron = "krc-chevron-J2Zsy";
|
|
8
|
+
const label = "krc-label-lZlV-";
|
|
9
|
+
const value = "krc-value-HsQrC";
|
|
10
|
+
const clear = "krc-clear-bsi5j";
|
|
11
|
+
const panel = "krc-panel--0odx";
|
|
12
|
+
const searchContainer = "krc-searchContainer-WRS-U";
|
|
13
|
+
const search = "krc-search-Dh3pY";
|
|
14
|
+
const list = "krc-list-1RUtr";
|
|
15
|
+
const noResults = "krc-noResults-Hin1U";
|
|
16
|
+
const option = "krc-option-0mFGi";
|
|
17
|
+
const focused = "krc-focused-0-7tE";
|
|
18
|
+
const selected = "krc-selected-1zIqI";
|
|
19
|
+
const optionLabel = "krc-optionLabel-pj-hL";
|
|
20
|
+
const optionCount = "krc-optionCount-rVlCP";
|
|
25
21
|
const styles = {
|
|
26
22
|
root,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
wrap,
|
|
45
|
-
nowrap,
|
|
46
|
-
dirRow,
|
|
47
|
-
dirColumn
|
|
23
|
+
trigger,
|
|
24
|
+
active,
|
|
25
|
+
triggerContent,
|
|
26
|
+
chevron,
|
|
27
|
+
label,
|
|
28
|
+
value,
|
|
29
|
+
clear,
|
|
30
|
+
panel,
|
|
31
|
+
searchContainer,
|
|
32
|
+
search,
|
|
33
|
+
list,
|
|
34
|
+
noResults,
|
|
35
|
+
option,
|
|
36
|
+
focused,
|
|
37
|
+
selected,
|
|
38
|
+
optionLabel,
|
|
39
|
+
optionCount
|
|
48
40
|
};
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.alignStart = alignStart;
|
|
53
|
-
exports.alignStretch = alignStretch;
|
|
41
|
+
exports.active = active;
|
|
42
|
+
exports.chevron = chevron;
|
|
43
|
+
exports.clear = clear;
|
|
54
44
|
exports.default = styles;
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.justifyAround = justifyAround;
|
|
64
|
-
exports.justifyBetween = justifyBetween;
|
|
65
|
-
exports.justifyCenter = justifyCenter;
|
|
66
|
-
exports.justifyEnd = justifyEnd;
|
|
67
|
-
exports.justifyEvenly = justifyEvenly;
|
|
68
|
-
exports.justifyStart = justifyStart;
|
|
69
|
-
exports.nowrap = nowrap;
|
|
45
|
+
exports.focused = focused;
|
|
46
|
+
exports.label = label;
|
|
47
|
+
exports.list = list;
|
|
48
|
+
exports.noResults = noResults;
|
|
49
|
+
exports.option = option;
|
|
50
|
+
exports.optionCount = optionCount;
|
|
51
|
+
exports.optionLabel = optionLabel;
|
|
52
|
+
exports.panel = panel;
|
|
70
53
|
exports.root = root;
|
|
71
|
-
exports.
|
|
54
|
+
exports.search = search;
|
|
55
|
+
exports.searchContainer = searchContainer;
|
|
56
|
+
exports.selected = selected;
|
|
57
|
+
exports.trigger = trigger;
|
|
58
|
+
exports.triggerContent = triggerContent;
|
|
59
|
+
exports.value = value;
|
|
72
60
|
//# sourceMappingURL=index69.cjs.map
|
package/dist/index69.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index69.js
CHANGED
|
@@ -1,72 +1,60 @@
|
|
|
1
|
-
const root = "krc-root
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
20
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
21
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
22
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
1
|
+
const root = "krc-root--s1oD";
|
|
2
|
+
const trigger = "krc-trigger-WMlNa";
|
|
3
|
+
const active = "krc-active-O65lj";
|
|
4
|
+
const triggerContent = "krc-triggerContent-JipmE";
|
|
5
|
+
const chevron = "krc-chevron-J2Zsy";
|
|
6
|
+
const label = "krc-label-lZlV-";
|
|
7
|
+
const value = "krc-value-HsQrC";
|
|
8
|
+
const clear = "krc-clear-bsi5j";
|
|
9
|
+
const panel = "krc-panel--0odx";
|
|
10
|
+
const searchContainer = "krc-searchContainer-WRS-U";
|
|
11
|
+
const search = "krc-search-Dh3pY";
|
|
12
|
+
const list = "krc-list-1RUtr";
|
|
13
|
+
const noResults = "krc-noResults-Hin1U";
|
|
14
|
+
const option = "krc-option-0mFGi";
|
|
15
|
+
const focused = "krc-focused-0-7tE";
|
|
16
|
+
const selected = "krc-selected-1zIqI";
|
|
17
|
+
const optionLabel = "krc-optionLabel-pj-hL";
|
|
18
|
+
const optionCount = "krc-optionCount-rVlCP";
|
|
23
19
|
const styles = {
|
|
24
20
|
root,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
wrap,
|
|
43
|
-
nowrap,
|
|
44
|
-
dirRow,
|
|
45
|
-
dirColumn
|
|
21
|
+
trigger,
|
|
22
|
+
active,
|
|
23
|
+
triggerContent,
|
|
24
|
+
chevron,
|
|
25
|
+
label,
|
|
26
|
+
value,
|
|
27
|
+
clear,
|
|
28
|
+
panel,
|
|
29
|
+
searchContainer,
|
|
30
|
+
search,
|
|
31
|
+
list,
|
|
32
|
+
noResults,
|
|
33
|
+
option,
|
|
34
|
+
focused,
|
|
35
|
+
selected,
|
|
36
|
+
optionLabel,
|
|
37
|
+
optionCount
|
|
46
38
|
};
|
|
47
39
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
alignStart,
|
|
52
|
-
alignStretch,
|
|
40
|
+
active,
|
|
41
|
+
chevron,
|
|
42
|
+
clear,
|
|
53
43
|
styles as default,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
justifyAround,
|
|
63
|
-
justifyBetween,
|
|
64
|
-
justifyCenter,
|
|
65
|
-
justifyEnd,
|
|
66
|
-
justifyEvenly,
|
|
67
|
-
justifyStart,
|
|
68
|
-
nowrap,
|
|
44
|
+
focused,
|
|
45
|
+
label,
|
|
46
|
+
list,
|
|
47
|
+
noResults,
|
|
48
|
+
option,
|
|
49
|
+
optionCount,
|
|
50
|
+
optionLabel,
|
|
51
|
+
panel,
|
|
69
52
|
root,
|
|
70
|
-
|
|
53
|
+
search,
|
|
54
|
+
searchContainer,
|
|
55
|
+
selected,
|
|
56
|
+
trigger,
|
|
57
|
+
triggerContent,
|
|
58
|
+
value
|
|
71
59
|
};
|
|
72
60
|
//# sourceMappingURL=index69.js.map
|
package/dist/index69.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index70.cjs
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const marked_esm = require("./index146.cjs");
|
|
4
|
+
const purify_es = require("./index147.cjs");
|
|
5
|
+
const renderer = {
|
|
6
|
+
link({ href, tokens }) {
|
|
7
|
+
var _a;
|
|
8
|
+
const text = ((_a = this.parser) == null ? void 0 : _a.parseInline(tokens)) ?? tokens.map((t) => t.raw).join("");
|
|
9
|
+
return `<a href="${href}" target="_blank" rel="noopener noreferrer">${text}</a>`;
|
|
10
|
+
}
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
marked_esm.marked.use({ gfm: true, breaks: true, renderer });
|
|
13
|
+
const sanitizeHtml = (html) => purify_es.sanitize(html, {
|
|
14
|
+
USE_PROFILES: { html: true },
|
|
15
|
+
ADD_ATTR: ["target", "rel"]
|
|
16
|
+
});
|
|
17
|
+
const parseMarkdown = (markdown) => sanitizeHtml(marked_esm.marked.parse(markdown));
|
|
18
|
+
exports.parseMarkdown = parseMarkdown;
|
|
19
|
+
exports.sanitizeHtml = sanitizeHtml;
|
|
9
20
|
//# sourceMappingURL=index70.cjs.map
|
package/dist/index70.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index70.cjs","sources":["../src/utils/markdown.ts"],"sourcesContent":["import { marked, type Renderer } from 'marked';\nimport DOMPurify from 'dompurify';\n\n// Use a function (not arrow) so `this` binds to marked's renderer instance,\n// which exposes `parser.parseInline`. The default `text` arg is the raw link\n// label (`**bold** text`) — passing it through unchanged would print the\n// asterisks instead of rendering nested inline markdown. `parseInline(tokens)`\n// recurses into bold / italic / code / etc. inside the link text.\nconst renderer: Partial<Renderer> = {\n link({ href, tokens }) {\n /* `this.parser` is provided at runtime when marked wires the renderer\n into its pipeline; the type definition models it as possibly\n undefined for standalone use. `parseInline(tokens)` falls back to\n the join of token raw strings when the parser is absent. */\n const text = this.parser?.parseInline(tokens) ?? tokens.map((t) => t.raw).join('');\n return `<a href=\"${href}\" target=\"_blank\" rel=\"noopener noreferrer\">${text}</a>`;\n },\n};\n\nmarked.use({ gfm: true, breaks: true, renderer });\n\nexport const sanitizeHtml = (html: string): string =>\n DOMPurify.sanitize(html, {\n USE_PROFILES: { html: true },\n ADD_ATTR: ['target', 'rel'],\n });\n\nexport const parseMarkdown = (markdown: string): string =>\n sanitizeHtml(marked.parse(markdown) as string);\n"],"names":["marked","DOMPurify"],"mappings":";;;;AAQA,MAAM,WAA8B;AAAA,EAClC,KAAK,EAAE,MAAM,UAAU;;AAKrB,UAAM,SAAO,UAAK,WAAL,mBAAa,YAAY,YAAW,OAAO,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;AACjF,WAAO,YAAY,IAAI,+CAA+C,IAAI;AAAA,EAC5E;AACF;AAEAA,WAAAA,OAAO,IAAI,EAAE,KAAK,MAAM,QAAQ,MAAM,UAAU;AAEzC,MAAM,eAAe,CAAC,SAC3BC,UAAU,SAAS,MAAM;AAAA,EACvB,cAAc,EAAE,MAAM,KAAA;AAAA,EACtB,UAAU,CAAC,UAAU,KAAK;AAC5B,CAAC;AAEI,MAAM,gBAAgB,CAAC,aAC5B,aAAaD,WAAAA,OAAO,MAAM,QAAQ,CAAW;;;"}
|
package/dist/index70.js
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { marked as g } from "./index146.js";
|
|
2
|
+
import purify from "./index147.js";
|
|
3
|
+
const renderer = {
|
|
4
|
+
link({ href, tokens }) {
|
|
5
|
+
var _a;
|
|
6
|
+
const text = ((_a = this.parser) == null ? void 0 : _a.parseInline(tokens)) ?? tokens.map((t) => t.raw).join("");
|
|
7
|
+
return `<a href="${href}" target="_blank" rel="noopener noreferrer">${text}</a>`;
|
|
8
|
+
}
|
|
4
9
|
};
|
|
10
|
+
g.use({ gfm: true, breaks: true, renderer });
|
|
11
|
+
const sanitizeHtml = (html) => purify.sanitize(html, {
|
|
12
|
+
USE_PROFILES: { html: true },
|
|
13
|
+
ADD_ATTR: ["target", "rel"]
|
|
14
|
+
});
|
|
15
|
+
const parseMarkdown = (markdown) => sanitizeHtml(g.parse(markdown));
|
|
5
16
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
17
|
+
parseMarkdown,
|
|
18
|
+
sanitizeHtml
|
|
8
19
|
};
|
|
9
20
|
//# sourceMappingURL=index70.js.map
|
package/dist/index70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index70.js","sources":["../src/utils/markdown.ts"],"sourcesContent":["import { marked, type Renderer } from 'marked';\nimport DOMPurify from 'dompurify';\n\n// Use a function (not arrow) so `this` binds to marked's renderer instance,\n// which exposes `parser.parseInline`. The default `text` arg is the raw link\n// label (`**bold** text`) — passing it through unchanged would print the\n// asterisks instead of rendering nested inline markdown. `parseInline(tokens)`\n// recurses into bold / italic / code / etc. inside the link text.\nconst renderer: Partial<Renderer> = {\n link({ href, tokens }) {\n /* `this.parser` is provided at runtime when marked wires the renderer\n into its pipeline; the type definition models it as possibly\n undefined for standalone use. `parseInline(tokens)` falls back to\n the join of token raw strings when the parser is absent. */\n const text = this.parser?.parseInline(tokens) ?? tokens.map((t) => t.raw).join('');\n return `<a href=\"${href}\" target=\"_blank\" rel=\"noopener noreferrer\">${text}</a>`;\n },\n};\n\nmarked.use({ gfm: true, breaks: true, renderer });\n\nexport const sanitizeHtml = (html: string): string =>\n DOMPurify.sanitize(html, {\n USE_PROFILES: { html: true },\n ADD_ATTR: ['target', 'rel'],\n });\n\nexport const parseMarkdown = (markdown: string): string =>\n sanitizeHtml(marked.parse(markdown) as string);\n"],"names":["marked","DOMPurify"],"mappings":";;AAQA,MAAM,WAA8B;AAAA,EAClC,KAAK,EAAE,MAAM,UAAU;;AAKrB,UAAM,SAAO,UAAK,WAAL,mBAAa,YAAY,YAAW,OAAO,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;AACjF,WAAO,YAAY,IAAI,+CAA+C,IAAI;AAAA,EAC5E;AACF;AAEAA,EAAO,IAAI,EAAE,KAAK,MAAM,QAAQ,MAAM,UAAU;AAEzC,MAAM,eAAe,CAAC,SAC3BC,OAAU,SAAS,MAAM;AAAA,EACvB,cAAc,EAAE,MAAM,KAAA;AAAA,EACtB,UAAU,CAAC,UAAU,KAAK;AAC5B,CAAC;AAEI,MAAM,gBAAgB,CAAC,aAC5B,aAAaD,EAAO,MAAM,QAAQ,CAAW;"}
|
package/dist/index71.cjs
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const disabled = "krc-disabled-mXUpZ";
|
|
5
|
-
const active = "krc-active-c6Qv6";
|
|
6
|
-
const collapsed = "krc-collapsed-zZjr3";
|
|
7
|
-
const icon = "krc-icon-dmCQi";
|
|
8
|
-
const label = "krc-label-ohVFC";
|
|
9
|
-
const badge = "krc-badge-D8UnW";
|
|
3
|
+
const root = "krc-root-93Nfs";
|
|
10
4
|
const styles = {
|
|
11
|
-
root
|
|
12
|
-
disabled,
|
|
13
|
-
active,
|
|
14
|
-
collapsed,
|
|
15
|
-
icon,
|
|
16
|
-
label,
|
|
17
|
-
badge
|
|
5
|
+
root
|
|
18
6
|
};
|
|
19
|
-
exports.active = active;
|
|
20
|
-
exports.badge = badge;
|
|
21
|
-
exports.collapsed = collapsed;
|
|
22
7
|
exports.default = styles;
|
|
23
|
-
exports.disabled = disabled;
|
|
24
|
-
exports.icon = icon;
|
|
25
|
-
exports.label = label;
|
|
26
8
|
exports.root = root;
|
|
27
9
|
//# sourceMappingURL=index71.cjs.map
|
package/dist/index71.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index71.js
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const disabled = "krc-disabled-mXUpZ";
|
|
3
|
-
const active = "krc-active-c6Qv6";
|
|
4
|
-
const collapsed = "krc-collapsed-zZjr3";
|
|
5
|
-
const icon = "krc-icon-dmCQi";
|
|
6
|
-
const label = "krc-label-ohVFC";
|
|
7
|
-
const badge = "krc-badge-D8UnW";
|
|
1
|
+
const root = "krc-root-93Nfs";
|
|
8
2
|
const styles = {
|
|
9
|
-
root
|
|
10
|
-
disabled,
|
|
11
|
-
active,
|
|
12
|
-
collapsed,
|
|
13
|
-
icon,
|
|
14
|
-
label,
|
|
15
|
-
badge
|
|
3
|
+
root
|
|
16
4
|
};
|
|
17
5
|
export {
|
|
18
|
-
active,
|
|
19
|
-
badge,
|
|
20
|
-
collapsed,
|
|
21
6
|
styles as default,
|
|
22
|
-
disabled,
|
|
23
|
-
icon,
|
|
24
|
-
label,
|
|
25
7
|
root
|
|
26
8
|
};
|
|
27
9
|
//# sourceMappingURL=index71.js.map
|
package/dist/index71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index72.cjs
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
const overlay = "krc-overlay-4gFc3";
|
|
4
|
+
const root = "krc-root-eKDda";
|
|
5
|
+
const header = "krc-header-YrzLd";
|
|
6
|
+
const title = "krc-title-9rzEH";
|
|
7
|
+
const closeBtn = "krc-closeBtn-vGJ7P";
|
|
8
|
+
const body = "krc-body-g43Cd";
|
|
9
|
+
const footer = "krc-footer-JRwi5";
|
|
7
10
|
const styles = {
|
|
11
|
+
overlay,
|
|
8
12
|
root,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
header,
|
|
14
|
+
title,
|
|
15
|
+
closeBtn,
|
|
16
|
+
body,
|
|
17
|
+
footer
|
|
12
18
|
};
|
|
19
|
+
exports.body = body;
|
|
20
|
+
exports.closeBtn = closeBtn;
|
|
13
21
|
exports.default = styles;
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
22
|
+
exports.footer = footer;
|
|
23
|
+
exports.header = header;
|
|
24
|
+
exports.overlay = overlay;
|
|
16
25
|
exports.root = root;
|
|
17
|
-
exports.
|
|
26
|
+
exports.title = title;
|
|
18
27
|
//# sourceMappingURL=index72.cjs.map
|
package/dist/index72.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|