@ktnpm_devops/react-component 0.26.0 → 0.27.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/dist/data/HeatmapMatrix/HeatmapMatrix.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts +12 -0
- package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/index.d.ts +1 -1
- package/dist/data/HeatmapMatrix/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index100.cjs +49 -68
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +49 -68
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +5 -6
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +5 -6
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +28 -40
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +27 -39
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +82 -4
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +83 -5
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +19 -113
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +19 -113
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +9 -36
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +10 -37
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +13 -46
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +14 -47
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +56 -30
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +56 -30
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +18 -34
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +17 -33
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +34 -13
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +35 -14
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index110.cjs +30 -15
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +30 -15
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +50 -32
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +50 -32
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +44 -77
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +45 -78
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +34 -22
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +33 -21
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +25 -28
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +26 -29
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +17 -6
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +16 -5
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +2 -20
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +3 -21
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +14 -2
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +14 -2
- package/dist/index117.js.map +1 -1
- package/dist/index118.cjs +34 -10
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +35 -11
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +14 -5
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +15 -6
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +2 -2
- package/dist/index12.js +2 -2
- package/dist/index120.cjs +10 -10
- package/dist/index120.js +11 -11
- package/dist/index121.cjs +15 -18
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +15 -18
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +36 -21
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +36 -21
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +2 -35
- package/dist/index123.cjs.map +1 -1
- package/dist/index123.js +3 -36
- package/dist/index123.js.map +1 -1
- package/dist/index124.cjs +21 -36
- package/dist/index124.cjs.map +1 -1
- package/dist/index124.js +21 -36
- package/dist/index124.js.map +1 -1
- package/dist/index125.cjs +17 -2
- package/dist/index125.cjs.map +1 -1
- package/dist/index125.js +17 -2
- package/dist/index125.js.map +1 -1
- package/dist/index126.cjs +2 -23
- package/dist/index126.cjs.map +1 -1
- package/dist/index126.js +3 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.cjs +19 -64
- package/dist/index127.cjs.map +1 -1
- package/dist/index127.js +19 -64
- package/dist/index127.js.map +1 -1
- package/dist/index128.cjs +64 -22
- package/dist/index128.cjs.map +1 -1
- package/dist/index128.js +64 -22
- package/dist/index128.js.map +1 -1
- package/dist/index129.cjs +34 -19
- package/dist/index129.cjs.map +1 -1
- package/dist/index129.js +34 -19
- package/dist/index129.js.map +1 -1
- package/dist/index13.cjs +2 -2
- package/dist/index13.js +2 -2
- package/dist/index130.cjs +19 -13
- package/dist/index130.cjs.map +1 -1
- package/dist/index130.js +19 -13
- package/dist/index130.js.map +1 -1
- package/dist/index131.cjs +18 -15
- package/dist/index131.cjs.map +1 -1
- package/dist/index131.js +18 -15
- package/dist/index131.js.map +1 -1
- package/dist/index132.cjs +5 -14
- package/dist/index132.cjs.map +1 -1
- package/dist/index132.js +6 -15
- package/dist/index132.js.map +1 -1
- package/dist/index133.cjs +13 -16
- package/dist/index133.cjs.map +1 -1
- package/dist/index133.js +13 -16
- package/dist/index133.js.map +1 -1
- package/dist/index134.cjs +10 -25
- package/dist/index134.cjs.map +1 -1
- package/dist/index134.js +11 -26
- package/dist/index134.js.map +1 -1
- package/dist/index135.cjs +21 -70
- package/dist/index135.cjs.map +1 -1
- package/dist/index135.js +20 -69
- package/dist/index135.js.map +1 -1
- package/dist/index136.cjs +21 -50
- package/dist/index136.cjs.map +1 -1
- package/dist/index136.js +20 -49
- package/dist/index136.js.map +1 -1
- package/dist/index137.cjs +7 -6
- package/dist/index137.cjs.map +1 -1
- package/dist/index137.js +6 -5
- package/dist/index137.js.map +1 -1
- package/dist/index138.cjs +7 -28
- package/dist/index138.cjs.map +1 -1
- package/dist/index138.js +6 -27
- package/dist/index138.js.map +1 -1
- package/dist/index139.cjs +79 -82
- package/dist/index139.cjs.map +1 -1
- package/dist/index139.js +79 -82
- package/dist/index139.js.map +1 -1
- package/dist/index14.cjs +2 -2
- package/dist/index14.js +2 -2
- package/dist/index140.cjs +10 -19
- package/dist/index140.cjs.map +1 -1
- package/dist/index140.js +11 -20
- package/dist/index140.js.map +1 -1
- package/dist/index141.cjs +39 -47
- package/dist/index141.cjs.map +1 -1
- package/dist/index141.js +39 -47
- package/dist/index141.js.map +1 -1
- package/dist/index142.cjs +92 -17
- package/dist/index142.cjs.map +1 -1
- package/dist/index142.js +92 -17
- package/dist/index142.js.map +1 -1
- package/dist/index143.cjs +34 -31
- package/dist/index143.cjs.map +1 -1
- package/dist/index143.js +34 -31
- package/dist/index143.js.map +1 -1
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.cjs +6 -1162
- package/dist/index146.cjs.map +1 -1
- package/dist/index146.js +6 -1163
- package/dist/index146.js.map +1 -1
- package/dist/index147.cjs +13 -1576
- package/dist/index147.cjs.map +1 -1
- package/dist/index147.js +10 -1574
- package/dist/index147.js.map +1 -1
- package/dist/index148.cjs +48 -34
- package/dist/index148.cjs.map +1 -1
- package/dist/index148.js +48 -34
- package/dist/index148.js.map +1 -1
- package/dist/index149.cjs +1162 -6
- package/dist/index149.cjs.map +1 -1
- package/dist/index149.js +1163 -6
- package/dist/index149.js.map +1 -1
- package/dist/index15.cjs +2 -2
- package/dist/index15.js +2 -2
- package/dist/index150.cjs +1576 -13
- package/dist/index150.cjs.map +1 -1
- package/dist/index150.js +1574 -10
- package/dist/index150.js.map +1 -1
- package/dist/index151.cjs +34 -48
- package/dist/index151.cjs.map +1 -1
- package/dist/index151.js +34 -48
- package/dist/index151.js.map +1 -1
- 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/index28.cjs +2 -2
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +2 -2
- package/dist/index29.js +2 -2
- package/dist/index30.cjs +5 -5
- package/dist/index30.js +5 -5
- package/dist/index31.cjs +4 -4
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +2 -2
- package/dist/index32.js +2 -2
- package/dist/index33.cjs +4 -4
- package/dist/index33.js +4 -4
- package/dist/index34.cjs +12 -12
- package/dist/index34.js +12 -12
- package/dist/index35.cjs +6 -6
- package/dist/index35.js +6 -6
- package/dist/index36.cjs +8 -5
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +8 -5
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +2 -2
- package/dist/index37.js +2 -2
- package/dist/index38.cjs +7 -7
- package/dist/index38.js +7 -7
- package/dist/index39.cjs +3 -3
- package/dist/index39.js +3 -3
- package/dist/index40.cjs +3 -3
- package/dist/index40.js +3 -3
- package/dist/index41.cjs +3 -3
- package/dist/index41.js +3 -3
- package/dist/index42.cjs +5 -5
- package/dist/index42.js +5 -5
- package/dist/index43.cjs +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.cjs +4 -4
- package/dist/index44.js +4 -4
- package/dist/index45.cjs +3 -3
- package/dist/index45.js +3 -3
- package/dist/index46.cjs +2 -2
- package/dist/index46.js +2 -2
- package/dist/index47.cjs +2 -2
- package/dist/index47.js +2 -2
- package/dist/index48.cjs +3 -3
- package/dist/index48.js +3 -3
- package/dist/index49.cjs +5 -5
- package/dist/index49.js +5 -5
- package/dist/index50.cjs +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.cjs +2 -2
- package/dist/index51.js +2 -2
- package/dist/index52.cjs +2 -2
- package/dist/index52.js +2 -2
- package/dist/index53.cjs +3 -3
- package/dist/index53.js +3 -3
- package/dist/index54.cjs +5 -5
- package/dist/index54.js +5 -5
- package/dist/index55.cjs +2 -2
- package/dist/index55.js +2 -2
- package/dist/index56.cjs +5 -5
- package/dist/index56.js +5 -5
- package/dist/index57.cjs +2 -2
- package/dist/index57.js +2 -2
- package/dist/index58.cjs +2 -2
- package/dist/index58.js +2 -2
- package/dist/index59.cjs +5 -5
- package/dist/index59.js +5 -5
- package/dist/index60.cjs +2 -2
- package/dist/index60.js +2 -2
- package/dist/index61.cjs +2 -2
- package/dist/index61.js +2 -2
- package/dist/index62.cjs +2 -2
- package/dist/index62.js +2 -2
- package/dist/index63.cjs +16 -4
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +15 -3
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +27 -10
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +26 -9
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +4 -16
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +3 -15
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +9 -72
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +9 -72
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +28 -153
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +26 -151
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +25 -12
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +24 -11
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +16 -52
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +16 -52
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +24 -17
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +23 -16
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +73 -24
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +72 -23
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +152 -6
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +151 -5
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +11 -21
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +11 -21
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +50 -8
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +51 -9
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +5 -2
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +5 -2
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +28 -10
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +29 -11
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +116 -22
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +115 -21
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +37 -16
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +37 -16
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +134 -22
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +133 -21
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +46 -134
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +45 -133
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +22 -45
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +21 -44
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +69 -33
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +68 -32
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +6 -57
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +5 -56
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +18 -21
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +19 -22
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +21 -39
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +20 -38
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +42 -92
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +41 -91
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +35 -39
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +34 -38
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +38 -30
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +38 -30
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +23 -42
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +23 -42
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +32 -17
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +32 -17
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +8 -39
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +8 -39
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +10 -8
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +10 -8
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +19 -10
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +19 -10
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +12 -18
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +13 -19
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +10 -13
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +10 -13
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +69 -10
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +68 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +28 -64
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +28 -64
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +68 -20
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +68 -20
- package/dist/index99.js.map +1 -1
- package/dist/style.css +7 -2
- package/package.json +1 -1
package/dist/index112.js
CHANGED
|
@@ -1,87 +1,54 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const trigger = "krc-trigger-
|
|
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 list = "krc-list-NRoxf";
|
|
18
|
-
const status = "krc-status-j7xbM";
|
|
19
|
-
const statusError = "krc-statusError-u6rfB";
|
|
20
|
-
const option = "krc-option-ZAXum";
|
|
21
|
-
const optionLabel = "krc-optionLabel-MdDyI";
|
|
22
|
-
const optionCount = "krc-optionCount-JSQl9";
|
|
23
|
-
const create = "krc-create-hO8Cq";
|
|
24
|
-
const footer = "krc-footer-2yk6S";
|
|
25
|
-
const selection = "krc-selection-aYDH-";
|
|
26
|
-
const selectionDelta = "krc-selectionDelta-S1dV7";
|
|
27
|
-
const footerActions = "krc-footerActions-77iCX";
|
|
1
|
+
const root = "krc-root-zHJLB";
|
|
2
|
+
const trigger = "krc-trigger-kRS4l";
|
|
3
|
+
const isOpen = "krc-isOpen-4fsg7";
|
|
4
|
+
const icon = "krc-icon-YS-DJ";
|
|
5
|
+
const arrow = "krc-arrow-wiq8b";
|
|
6
|
+
const pop = "krc-pop-boLzq";
|
|
7
|
+
const head = "krc-head-FDhHr";
|
|
8
|
+
const nav = "krc-nav-ZcR0Q";
|
|
9
|
+
const title = "krc-title-MqB3H";
|
|
10
|
+
const dows = "krc-dows-EshP3";
|
|
11
|
+
const grid = "krc-grid-xiUF-";
|
|
12
|
+
const day = "krc-day-2W9yq";
|
|
13
|
+
const empty = "krc-empty-Mf05c";
|
|
14
|
+
const off = "krc-off-tATo-";
|
|
15
|
+
const able = "krc-able-bD-du";
|
|
16
|
+
const selected = "krc-selected-Q1am3";
|
|
28
17
|
const styles = {
|
|
29
18
|
root,
|
|
30
19
|
trigger,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
list,
|
|
46
|
-
status,
|
|
47
|
-
statusError,
|
|
48
|
-
option,
|
|
49
|
-
optionLabel,
|
|
50
|
-
optionCount,
|
|
51
|
-
create,
|
|
52
|
-
footer,
|
|
53
|
-
selection,
|
|
54
|
-
selectionDelta,
|
|
55
|
-
footerActions
|
|
20
|
+
isOpen,
|
|
21
|
+
icon,
|
|
22
|
+
arrow,
|
|
23
|
+
pop,
|
|
24
|
+
head,
|
|
25
|
+
nav,
|
|
26
|
+
title,
|
|
27
|
+
dows,
|
|
28
|
+
grid,
|
|
29
|
+
day,
|
|
30
|
+
empty,
|
|
31
|
+
off,
|
|
32
|
+
able,
|
|
33
|
+
selected
|
|
56
34
|
};
|
|
57
35
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
chip,
|
|
62
|
-
chipGhost,
|
|
63
|
-
clear,
|
|
64
|
-
create,
|
|
36
|
+
able,
|
|
37
|
+
arrow,
|
|
38
|
+
day,
|
|
65
39
|
styles as default,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
panel,
|
|
40
|
+
dows,
|
|
41
|
+
empty,
|
|
42
|
+
grid,
|
|
43
|
+
head,
|
|
44
|
+
icon,
|
|
45
|
+
isOpen,
|
|
46
|
+
nav,
|
|
47
|
+
off,
|
|
48
|
+
pop,
|
|
76
49
|
root,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
status,
|
|
81
|
-
statusError,
|
|
82
|
-
trigger,
|
|
83
|
-
triggerContent,
|
|
84
|
-
value,
|
|
85
|
-
valueGroup
|
|
50
|
+
selected,
|
|
51
|
+
title,
|
|
52
|
+
trigger
|
|
86
53
|
};
|
|
87
54
|
//# sourceMappingURL=index112.js.map
|
package/dist/index112.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index113.cjs
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MONTHS_SHORT = [
|
|
4
|
+
"Jan",
|
|
5
|
+
"Feb",
|
|
6
|
+
"Mar",
|
|
7
|
+
"Apr",
|
|
8
|
+
"May",
|
|
9
|
+
"Jun",
|
|
10
|
+
"Jul",
|
|
11
|
+
"Aug",
|
|
12
|
+
"Sep",
|
|
13
|
+
"Oct",
|
|
14
|
+
"Nov",
|
|
15
|
+
"Dec"
|
|
16
|
+
];
|
|
17
|
+
const pad2 = (n) => String(n).padStart(2, "0");
|
|
18
|
+
const toIso = (y, m, d) => `${y}-${pad2(m + 1)}-${pad2(d)}`;
|
|
19
|
+
function defaultFormat(iso) {
|
|
20
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(iso);
|
|
21
|
+
if (!match) return iso;
|
|
22
|
+
return `${+match[3]} ${MONTHS_SHORT[+match[2] - 1]} ${match[1]}`;
|
|
23
|
+
}
|
|
24
|
+
function anchorMonth(value, defaultMonth, allowedDates) {
|
|
25
|
+
const anchor = value ?? defaultMonth ?? [...allowedDates].sort().at(-1);
|
|
26
|
+
if (anchor) {
|
|
27
|
+
const [y, m] = anchor.split("-").map(Number);
|
|
28
|
+
return { year: y, month: m - 1 };
|
|
29
|
+
}
|
|
30
|
+
const now = /* @__PURE__ */ new Date();
|
|
31
|
+
return { year: now.getFullYear(), month: now.getMonth() };
|
|
32
|
+
}
|
|
33
|
+
exports.anchorMonth = anchorMonth;
|
|
34
|
+
exports.defaultFormat = defaultFormat;
|
|
35
|
+
exports.toIso = toIso;
|
|
24
36
|
//# sourceMappingURL=index113.cjs.map
|
package/dist/index113.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index113.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index113.cjs","sources":["../src/composites/DatePickerDropdown/calendarDates.ts"],"sourcesContent":["/** Pure `YYYY-MM-DD` helpers behind DatePickerDropdown's trigger label and calendar grid. */\n\nconst MONTHS_SHORT = [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n];\n\nconst pad2 = (n: number) => String(n).padStart(2, '0');\nexport const toIso = (y: number, m: number, d: number) => `${y}-${pad2(m + 1)}-${pad2(d)}`;\n\nexport function defaultFormat(iso: string): string {\n const match = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(iso);\n if (!match) return iso;\n return `${+match[3]} ${MONTHS_SHORT[+match[2] - 1]} ${match[1]}`;\n}\n\n/** Month/year to display first: the value, else `defaultMonth`, else the latest allowed date, else today. */\nexport function anchorMonth(\n value: string | null,\n defaultMonth: string | undefined,\n allowedDates: string[],\n): { year: number; month: number } {\n const anchor = value ?? defaultMonth ?? [...allowedDates].sort().at(-1);\n if (anchor) {\n const [y, m] = anchor.split('-').map(Number);\n return { year: y, month: m - 1 };\n }\n const now = new Date();\n return { year: now.getFullYear(), month: now.getMonth() };\n}\n"],"names":[],"mappings":";;AAEA,MAAM,eAAe;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,OAAO,CAAC,MAAc,OAAO,CAAC,EAAE,SAAS,GAAG,GAAG;AAC9C,MAAM,QAAQ,CAAC,GAAW,GAAW,MAAc,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC;AAEjF,SAAS,cAAc,KAAqB;AACjD,QAAM,QAAQ,4BAA4B,KAAK,GAAG;AAClD,MAAI,CAAC,MAAO,QAAO;AACnB,SAAO,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC;AAChE;AAGO,SAAS,YACd,OACA,cACA,cACiC;AACjC,QAAM,SAAS,SAAS,gBAAgB,CAAC,GAAG,YAAY,EAAE,KAAA,EAAO,GAAG,EAAE;AACtE,MAAI,QAAQ;AACV,UAAM,CAAC,GAAG,CAAC,IAAI,OAAO,MAAM,GAAG,EAAE,IAAI,MAAM;AAC3C,WAAO,EAAE,MAAM,GAAG,OAAO,IAAI,EAAA;AAAA,EAC/B;AACA,QAAM,0BAAU,KAAA;AAChB,SAAO,EAAE,MAAM,IAAI,YAAA,GAAe,OAAO,IAAI,WAAS;AACxD;;;;"}
|
package/dist/index113.js
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
const MONTHS_SHORT = [
|
|
2
|
+
"Jan",
|
|
3
|
+
"Feb",
|
|
4
|
+
"Mar",
|
|
5
|
+
"Apr",
|
|
6
|
+
"May",
|
|
7
|
+
"Jun",
|
|
8
|
+
"Jul",
|
|
9
|
+
"Aug",
|
|
10
|
+
"Sep",
|
|
11
|
+
"Oct",
|
|
12
|
+
"Nov",
|
|
13
|
+
"Dec"
|
|
14
|
+
];
|
|
15
|
+
const pad2 = (n) => String(n).padStart(2, "0");
|
|
16
|
+
const toIso = (y, m, d) => `${y}-${pad2(m + 1)}-${pad2(d)}`;
|
|
17
|
+
function defaultFormat(iso) {
|
|
18
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(iso);
|
|
19
|
+
if (!match) return iso;
|
|
20
|
+
return `${+match[3]} ${MONTHS_SHORT[+match[2] - 1]} ${match[1]}`;
|
|
21
|
+
}
|
|
22
|
+
function anchorMonth(value, defaultMonth, allowedDates) {
|
|
23
|
+
const anchor = value ?? defaultMonth ?? [...allowedDates].sort().at(-1);
|
|
24
|
+
if (anchor) {
|
|
25
|
+
const [y, m] = anchor.split("-").map(Number);
|
|
26
|
+
return { year: y, month: m - 1 };
|
|
27
|
+
}
|
|
28
|
+
const now = /* @__PURE__ */ new Date();
|
|
29
|
+
return { year: now.getFullYear(), month: now.getMonth() };
|
|
30
|
+
}
|
|
15
31
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
label,
|
|
20
|
-
md,
|
|
21
|
-
root,
|
|
22
|
-
sm
|
|
32
|
+
anchorMonth,
|
|
33
|
+
defaultFormat,
|
|
34
|
+
toIso
|
|
23
35
|
};
|
|
24
36
|
//# sourceMappingURL=index113.js.map
|
package/dist/index113.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index113.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index113.js","sources":["../src/composites/DatePickerDropdown/calendarDates.ts"],"sourcesContent":["/** Pure `YYYY-MM-DD` helpers behind DatePickerDropdown's trigger label and calendar grid. */\n\nconst MONTHS_SHORT = [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n];\n\nconst pad2 = (n: number) => String(n).padStart(2, '0');\nexport const toIso = (y: number, m: number, d: number) => `${y}-${pad2(m + 1)}-${pad2(d)}`;\n\nexport function defaultFormat(iso: string): string {\n const match = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(iso);\n if (!match) return iso;\n return `${+match[3]} ${MONTHS_SHORT[+match[2] - 1]} ${match[1]}`;\n}\n\n/** Month/year to display first: the value, else `defaultMonth`, else the latest allowed date, else today. */\nexport function anchorMonth(\n value: string | null,\n defaultMonth: string | undefined,\n allowedDates: string[],\n): { year: number; month: number } {\n const anchor = value ?? defaultMonth ?? [...allowedDates].sort().at(-1);\n if (anchor) {\n const [y, m] = anchor.split('-').map(Number);\n return { year: y, month: m - 1 };\n }\n const now = new Date();\n return { year: now.getFullYear(), month: now.getMonth() };\n}\n"],"names":[],"mappings":"AAEA,MAAM,eAAe;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,OAAO,CAAC,MAAc,OAAO,CAAC,EAAE,SAAS,GAAG,GAAG;AAC9C,MAAM,QAAQ,CAAC,GAAW,GAAW,MAAc,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC;AAEjF,SAAS,cAAc,KAAqB;AACjD,QAAM,QAAQ,4BAA4B,KAAK,GAAG;AAClD,MAAI,CAAC,MAAO,QAAO;AACnB,SAAO,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC;AAChE;AAGO,SAAS,YACd,OACA,cACA,cACiC;AACjC,QAAM,SAAS,SAAS,gBAAgB,CAAC,GAAG,YAAY,EAAE,KAAA,EAAO,GAAG,EAAE;AACtE,MAAI,QAAQ;AACV,UAAM,CAAC,GAAG,CAAC,IAAI,OAAO,MAAM,GAAG,EAAE,IAAI,MAAM;AAC3C,WAAO,EAAE,MAAM,GAAG,OAAO,IAAI,EAAA;AAAA,EAC/B;AACA,QAAM,0BAAU,KAAA;AAChB,SAAO,EAAE,MAAM,IAAI,YAAA,GAAe,OAAO,IAAI,WAAS;AACxD;"}
|
package/dist/index114.cjs
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const resizeHandle = "krc-resizeHandle-Q0J-B";
|
|
3
|
+
const root = "krc-root-uTBZO";
|
|
4
|
+
const fill = "krc-fill-fGRpQ";
|
|
5
|
+
const heading = "krc-heading-2BMT8";
|
|
6
|
+
const title = "krc-title-eqpMp";
|
|
7
|
+
const count = "krc-count-0RxcA";
|
|
8
|
+
const content = "krc-content-96yVZ";
|
|
9
|
+
const controls = "krc-controls-DGX9g";
|
|
10
|
+
const toolbar = "krc-toolbar-jI8pY";
|
|
11
|
+
const pagination = "krc-pagination-IFnBv";
|
|
13
12
|
const styles = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
header,
|
|
13
|
+
root,
|
|
14
|
+
fill,
|
|
15
|
+
heading,
|
|
18
16
|
title,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
count,
|
|
18
|
+
content,
|
|
19
|
+
controls,
|
|
20
|
+
toolbar,
|
|
21
|
+
pagination
|
|
24
22
|
};
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
23
|
+
exports.content = content;
|
|
24
|
+
exports.controls = controls;
|
|
25
|
+
exports.count = count;
|
|
27
26
|
exports.default = styles;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.overlay = overlay;
|
|
33
|
-
exports.resizable = resizable;
|
|
34
|
-
exports.resizeHandle = resizeHandle;
|
|
27
|
+
exports.fill = fill;
|
|
28
|
+
exports.heading = heading;
|
|
29
|
+
exports.pagination = pagination;
|
|
30
|
+
exports.root = root;
|
|
35
31
|
exports.title = title;
|
|
32
|
+
exports.toolbar = toolbar;
|
|
36
33
|
//# sourceMappingURL=index114.cjs.map
|
package/dist/index114.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index114.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index114.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index114.js
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const resizeHandle = "krc-resizeHandle-Q0J-B";
|
|
1
|
+
const root = "krc-root-uTBZO";
|
|
2
|
+
const fill = "krc-fill-fGRpQ";
|
|
3
|
+
const heading = "krc-heading-2BMT8";
|
|
4
|
+
const title = "krc-title-eqpMp";
|
|
5
|
+
const count = "krc-count-0RxcA";
|
|
6
|
+
const content = "krc-content-96yVZ";
|
|
7
|
+
const controls = "krc-controls-DGX9g";
|
|
8
|
+
const toolbar = "krc-toolbar-jI8pY";
|
|
9
|
+
const pagination = "krc-pagination-IFnBv";
|
|
11
10
|
const styles = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
header,
|
|
11
|
+
root,
|
|
12
|
+
fill,
|
|
13
|
+
heading,
|
|
16
14
|
title,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
count,
|
|
16
|
+
content,
|
|
17
|
+
controls,
|
|
18
|
+
toolbar,
|
|
19
|
+
pagination
|
|
22
20
|
};
|
|
23
21
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
content,
|
|
23
|
+
controls,
|
|
24
|
+
count,
|
|
26
25
|
styles as default,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
resizeHandle,
|
|
34
|
-
title
|
|
26
|
+
fill,
|
|
27
|
+
heading,
|
|
28
|
+
pagination,
|
|
29
|
+
root,
|
|
30
|
+
title,
|
|
31
|
+
toolbar
|
|
35
32
|
};
|
|
36
33
|
//# sourceMappingURL=index114.js.map
|
package/dist/index114.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index114.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index114.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index115.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("./index149.cjs");
|
|
4
|
+
const purify_es = require("./index150.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=index115.cjs.map
|
package/dist/index115.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index115.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index115.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/index115.js
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { marked as g } from "./index149.js";
|
|
2
|
+
import purify from "./index150.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=index115.js.map
|
package/dist/index115.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index115.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index115.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/index116.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 rail = "krc-rail-S-V5h";
|
|
5
|
-
const fill = "krc-fill-NAEy9";
|
|
6
|
-
const tick = "krc-tick-j75qi";
|
|
7
|
-
const disabled = "krc-disabled-DgBiL";
|
|
8
|
-
const thumb = "krc-thumb-QVYVM";
|
|
9
|
-
const valueTooltip = "krc-valueTooltip-Vuimh";
|
|
3
|
+
const root = "krc-root-93Nfs";
|
|
10
4
|
const styles = {
|
|
11
|
-
root
|
|
12
|
-
rail,
|
|
13
|
-
fill,
|
|
14
|
-
tick,
|
|
15
|
-
disabled,
|
|
16
|
-
thumb,
|
|
17
|
-
valueTooltip
|
|
5
|
+
root
|
|
18
6
|
};
|
|
19
7
|
exports.default = styles;
|
|
20
|
-
exports.disabled = disabled;
|
|
21
|
-
exports.fill = fill;
|
|
22
|
-
exports.rail = rail;
|
|
23
8
|
exports.root = root;
|
|
24
|
-
exports.thumb = thumb;
|
|
25
|
-
exports.tick = tick;
|
|
26
|
-
exports.valueTooltip = valueTooltip;
|
|
27
9
|
//# sourceMappingURL=index116.cjs.map
|
package/dist/index116.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index116.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index116.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index116.js
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const rail = "krc-rail-S-V5h";
|
|
3
|
-
const fill = "krc-fill-NAEy9";
|
|
4
|
-
const tick = "krc-tick-j75qi";
|
|
5
|
-
const disabled = "krc-disabled-DgBiL";
|
|
6
|
-
const thumb = "krc-thumb-QVYVM";
|
|
7
|
-
const valueTooltip = "krc-valueTooltip-Vuimh";
|
|
1
|
+
const root = "krc-root-93Nfs";
|
|
8
2
|
const styles = {
|
|
9
|
-
root
|
|
10
|
-
rail,
|
|
11
|
-
fill,
|
|
12
|
-
tick,
|
|
13
|
-
disabled,
|
|
14
|
-
thumb,
|
|
15
|
-
valueTooltip
|
|
3
|
+
root
|
|
16
4
|
};
|
|
17
5
|
export {
|
|
18
6
|
styles as default,
|
|
19
|
-
|
|
20
|
-
fill,
|
|
21
|
-
rail,
|
|
22
|
-
root,
|
|
23
|
-
thumb,
|
|
24
|
-
tick,
|
|
25
|
-
valueTooltip
|
|
7
|
+
root
|
|
26
8
|
};
|
|
27
9
|
//# sourceMappingURL=index116.js.map
|
package/dist/index116.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index116.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index116.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index117.cjs
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
3
|
+
const root = "krc-root-LQf3S";
|
|
4
|
+
const item = "krc-item-Y5RvK";
|
|
5
|
+
const disabled = "krc-disabled-wnQRZ";
|
|
6
|
+
const focused = "krc-focused-hDoa3";
|
|
7
|
+
const icon = "krc-icon-q-Jmu";
|
|
4
8
|
const styles = {
|
|
5
|
-
root
|
|
9
|
+
root,
|
|
10
|
+
item,
|
|
11
|
+
disabled,
|
|
12
|
+
focused,
|
|
13
|
+
icon
|
|
6
14
|
};
|
|
7
15
|
exports.default = styles;
|
|
16
|
+
exports.disabled = disabled;
|
|
17
|
+
exports.focused = focused;
|
|
18
|
+
exports.icon = icon;
|
|
19
|
+
exports.item = item;
|
|
8
20
|
exports.root = root;
|
|
9
21
|
//# sourceMappingURL=index117.cjs.map
|
package/dist/index117.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index117.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index117.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index117.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
1
|
+
const root = "krc-root-LQf3S";
|
|
2
|
+
const item = "krc-item-Y5RvK";
|
|
3
|
+
const disabled = "krc-disabled-wnQRZ";
|
|
4
|
+
const focused = "krc-focused-hDoa3";
|
|
5
|
+
const icon = "krc-icon-q-Jmu";
|
|
2
6
|
const styles = {
|
|
3
|
-
root
|
|
7
|
+
root,
|
|
8
|
+
item,
|
|
9
|
+
disabled,
|
|
10
|
+
focused,
|
|
11
|
+
icon
|
|
4
12
|
};
|
|
5
13
|
export {
|
|
6
14
|
styles as default,
|
|
15
|
+
disabled,
|
|
16
|
+
focused,
|
|
17
|
+
icon,
|
|
18
|
+
item,
|
|
7
19
|
root
|
|
8
20
|
};
|
|
9
21
|
//# sourceMappingURL=index117.js.map
|
package/dist/index117.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index117.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index117.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|