@rpcbase/ui 0.181.0 → 0.183.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/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/useScrollPagination.d.ts +23 -0
- package/dist/helpers/useScrollPagination.d.ts.map +1 -0
- package/dist/helpers/useScrollPagination.test.d.ts +2 -0
- package/dist/helpers/useScrollPagination.test.d.ts.map +1 -0
- package/dist/index.js +62 -60
- package/dist/index.js.map +1 -1
- package/dist/index10.js +23 -69
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +5 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -6
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +6 -145
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +144 -38
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +39 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +6 -12
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +13 -13
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +13 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +62 -544
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +6 -30
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +31 -10
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +10 -10
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -8
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +8 -13
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -101
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +102 -20
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +20 -54
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +51 -70
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +72 -9
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +535 -110
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +9 -20
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +20 -16
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +16 -23
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +23 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +6 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +5 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +24 -35
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +35 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +16 -7
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -4
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +122 -71
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +4 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +3 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +7 -24
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +24 -8
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +7 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -5
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +5 -3
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +61 -717
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +3 -3
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +4 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -4
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -46
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +2 -2
- package/dist/index15.js +727 -18
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +2 -2
- package/dist/index152.js +3 -3
- package/dist/index153.js +40 -599
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +605 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +5 -68
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +69 -2
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +2 -364
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +303 -201
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +247 -46
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +19 -14
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +56 -42
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +46 -169
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +156 -96
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +109 -24
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +25 -8
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +8 -5
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +4 -5
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +5 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -466
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +420 -139
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +13 -382
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +149 -71
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +74 -229
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +262 -9
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +9 -42
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +42 -4
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +4 -16
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +57 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +8 -5
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +55 -47
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +17 -64
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +363 -695
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +16 -6
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -4
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +5 -7
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -17
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +4 -5
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +7 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +17 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -10
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -14
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +13 -14
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +685 -624
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +10 -5
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +14 -6
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +14 -7
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +5 -6
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +6 -9
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +7 -5
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +6 -5
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +9 -9
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -5
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +2 -2
- package/dist/index20.js +640 -191
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +9 -4
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -11
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -10
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +4 -10
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +11 -11
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +10 -11
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +10 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +11 -7
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +11 -6
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +10 -5
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +209 -5
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +7 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +6 -7
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -55
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +7 -8
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -19
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +54 -15
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +16 -7
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +7 -10
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -9
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +5 -35
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +10 -21
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +21 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -9
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -6
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -4
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +4 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +5 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +16 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -18
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +15 -12
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +24 -258
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +12 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +12 -29
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +28 -11
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +10 -23
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +25 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +5 -24
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +24 -28
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +29 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +5 -68
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +64 -177
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +254 -166
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +176 -42
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +45 -12
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +13 -154
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +151 -27
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +30 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -47
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +46 -10
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +11 -44
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +40 -91
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +85 -76
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +180 -14
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +69 -88
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +92 -39
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +51 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +10 -36
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +37 -8
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +8 -116
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +115 -16
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +17 -15
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +15 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +3 -36
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +15 -2763
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +35 -19
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +20 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +8 -7
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +8 -19
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +14 -23
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +26 -14
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +16 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -19
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +19 -13
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +13 -5
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +2761 -35
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +5 -3
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -24
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +22 -111
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +111 -14
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +14 -523
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +511 -114
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +111 -117
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +133 -20
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +20 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +5 -5
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +37 -3
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +6 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +4 -16
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +14 -7
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +8 -5
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +5 -4
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +4 -545
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +544 -45
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +47 -18
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +17 -6
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +6 -8
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -125
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +8 -7
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +7 -8
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +8 -12
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +12 -9
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +9 -13
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +14 -69
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +68 -8
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +9 -14
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +14 -66
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +65 -64
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +120 -227
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +64 -4
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +5 -56
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +54 -66
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +67 -30
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +31 -9
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +9 -153
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +142 -97
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +108 -4
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +3 -22
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +22 -15
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +229 -21
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +14 -27
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +27 -11
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -5
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +6 -12
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +20 -25
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +12 -4
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -20
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +8 -0
- package/dist/index317.js.map +1 -0
- package/dist/index32.js +23 -50
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +50 -2640
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +2598 -351
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +375 -214
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +230 -19
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +18 -138
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +125 -170
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +174 -64
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +72 -94
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +98 -5
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +5 -843
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +832 -54
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +66 -8
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +8 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +2 -24
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +22 -232
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +233 -6
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +203 -32
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.js +3 -26
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +6 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +47 -11
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +26 -204
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +50 -3
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +7 -47
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +12 -48
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +133 -7
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +10 -14
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +210 -127
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +138 -25
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +12 -10
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +32 -215
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +47 -13
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +7 -46
- package/dist/index63.js.map +1 -1
- package/dist/index67.js +2 -2
- package/dist/index69.js +3 -3
- package/dist/index7.js +26 -29
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +11 -53
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +54 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +6 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +7 -5
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +4 -6
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -6
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -52
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +52 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +4 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +4 -15
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +28 -222
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +15 -5
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -7
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +6 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +16 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +4 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -2
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +3 -5
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +226 -23
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +6 -24
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +24 -6
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +3 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +5 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +3 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -8
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +8 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index224.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
function i
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
function c(i, t, e, s) {
|
|
2
|
+
if (e.disableNavigation)
|
|
3
|
+
return;
|
|
4
|
+
const { pagedNavigation: r, numberOfMonths: d } = e, { startOfMonth: u, addMonths: f, differenceInCalendarMonths: a } = s, o = r ? d ?? 1 : 1, n = u(i);
|
|
5
|
+
if (!t)
|
|
6
|
+
return f(n, -o);
|
|
7
|
+
if (!(a(n, t) <= 0))
|
|
8
|
+
return f(n, -o);
|
|
4
9
|
}
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
c as getPreviousMonth
|
|
7
12
|
};
|
|
8
13
|
//# sourceMappingURL=index224.js.map
|
package/dist/index224.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index224.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index224.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js"],"sourcesContent":["/**\n * Returns the previous month the user can navigate to, based on the given\n * options.\n *\n * The previous month is not always the previous calendar month:\n *\n * - If it is before the `calendarStartMonth`, it returns `undefined`.\n * - If paged navigation is enabled, it skips back by the number of displayed\n * months.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarStartMonth The earliest month the user can navigate to.\n * @param options Navigation options, including `numberOfMonths` and\n * `pagedNavigation`.\n * @param dateLib The date library to use for date manipulation.\n * @returns The previous month, or `undefined` if navigation is not possible.\n */\nexport function getPreviousMonth(firstDisplayedMonth, calendarStartMonth, options, dateLib) {\n if (options.disableNavigation) {\n return undefined;\n }\n const { pagedNavigation, numberOfMonths } = options;\n const { startOfMonth, addMonths, differenceInCalendarMonths } = dateLib;\n const offset = pagedNavigation ? (numberOfMonths ?? 1) : 1;\n const month = startOfMonth(firstDisplayedMonth);\n if (!calendarStartMonth) {\n return addMonths(month, -offset);\n }\n const monthsDiff = differenceInCalendarMonths(month, calendarStartMonth);\n if (monthsDiff <= 0) {\n return undefined;\n }\n return addMonths(month, -offset);\n}\n"],"names":["getPreviousMonth","firstDisplayedMonth","calendarStartMonth","options","dateLib","pagedNavigation","numberOfMonths","startOfMonth","addMonths","differenceInCalendarMonths","offset","month"],"mappings":"AAkBO,SAASA,EAAiBC,GAAqBC,GAAoBC,GAASC,GAAS;AACxF,MAAID,EAAQ;AACR;AAEJ,QAAM,EAAE,iBAAAE,GAAiB,gBAAAC,EAAc,IAAKH,GACtC,EAAE,cAAAI,GAAc,WAAAC,GAAW,4BAAAC,EAA0B,IAAKL,GAC1DM,IAASL,IAAmBC,KAAkB,IAAK,GACnDK,IAAQJ,EAAaN,CAAmB;AAC9C,MAAI,CAACC;AACD,WAAOM,EAAUG,GAAO,CAACD,CAAM;AAGnC,MAAI,EADeD,EAA2BE,GAAOT,CAAkB,KACrD;AAGlB,WAAOM,EAAUG,GAAO,CAACD,CAAM;AACnC;","x_google_ignoreList":[0]}
|
package/dist/index225.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return [e === void 0 ? u : e, n];
|
|
1
|
+
function i(e) {
|
|
2
|
+
const t = [];
|
|
3
|
+
return e.reduce((c, n) => c.concat(n.weeks.slice()), t.slice());
|
|
5
4
|
}
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
i as getWeeks
|
|
8
7
|
};
|
|
9
8
|
//# sourceMappingURL=index225.js.map
|
package/dist/index225.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index225.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index225.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getWeeks.js"],"sourcesContent":["/**\n * Returns an array of calendar weeks from an array of calendar months.\n *\n * @param months The array of calendar months.\n * @returns An array of calendar weeks.\n */\nexport function getWeeks(months) {\n const initialWeeks = [];\n return months.reduce((weeks, month) => {\n return weeks.concat(month.weeks.slice());\n }, initialWeeks.slice());\n}\n"],"names":["getWeeks","months","initialWeeks","weeks","month"],"mappings":"AAMO,SAASA,EAASC,GAAQ;AAC7B,QAAMC,IAAe,CAAA;AACrB,SAAOD,EAAO,OAAO,CAACE,GAAOC,MAClBD,EAAM,OAAOC,EAAM,MAAM,MAAK,CAAE,GACxCF,EAAa,OAAO;AAC3B;","x_google_ignoreList":[0]}
|
package/dist/index226.js
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
(
|
|
4
|
-
|
|
5
|
-
})(d || (d = {}));
|
|
6
|
-
function l(e) {
|
|
7
|
-
return !e[s.disabled] && !e[s.hidden] && !e[s.outside];
|
|
8
|
-
}
|
|
9
|
-
function F(e, u, t, n) {
|
|
10
|
-
let f, c = -1;
|
|
11
|
-
for (const o of e) {
|
|
12
|
-
const a = u(o);
|
|
13
|
-
l(a) && (a[s.focused] && c < d.FocusedModifier ? (f = o, c = d.FocusedModifier) : n?.isEqualTo(o) && c < d.LastFocused ? (f = o, c = d.LastFocused) : t(o.date) && c < d.Selected ? (f = o, c = d.Selected) : a[s.today] && c < d.Today && (f = o, c = d.Today));
|
|
14
|
-
}
|
|
15
|
-
return f || (f = e.find((o) => l(u(o)))), f;
|
|
1
|
+
import { useState as o } from "react";
|
|
2
|
+
function a(t, e) {
|
|
3
|
+
const [u, n] = o(t);
|
|
4
|
+
return [e === void 0 ? u : e, n];
|
|
16
5
|
}
|
|
17
6
|
export {
|
|
18
|
-
|
|
7
|
+
a as useControlledValue
|
|
19
8
|
};
|
|
20
9
|
//# sourceMappingURL=index226.js.map
|
package/dist/index226.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index226.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index226.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js"],"sourcesContent":["import { useState } from \"react\";\n/**\n * A custom hook for managing both controlled and uncontrolled component states.\n *\n * This hook allows a component to support both controlled and uncontrolled\n * states by determining whether the `controlledValue` is provided. If it is\n * undefined, the hook falls back to using the internal state.\n *\n * @example\n * // Uncontrolled usage\n * const [value, setValue] = useControlledValue(0, undefined);\n *\n * // Controlled usage\n * const [value, setValue] = useControlledValue(0, props.value);\n *\n * @template T - The type of the value.\n * @param defaultValue The initial value for the uncontrolled state.\n * @param controlledValue The value for the controlled state. If undefined, the\n * component will use the uncontrolled state.\n * @returns A tuple where the first element is the current value (either\n * controlled or uncontrolled) and the second element is a setter function to\n * update the value.\n */\nexport function useControlledValue(defaultValue, controlledValue) {\n const [uncontrolledValue, setValue] = useState(defaultValue);\n const value = controlledValue === undefined ? uncontrolledValue : controlledValue;\n return [value, setValue];\n}\n"],"names":["useControlledValue","defaultValue","controlledValue","uncontrolledValue","setValue","useState"],"mappings":";AAuBO,SAASA,EAAmBC,GAAcC,GAAiB;AAC9D,QAAM,CAACC,GAAmBC,CAAQ,IAAIC,EAASJ,CAAY;AAE3D,SAAO,CADOC,MAAoB,SAAYC,IAAoBD,GACnDE,CAAQ;AAC3B;","x_google_ignoreList":[0]}
|
package/dist/index227.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { DayFlag as s } from "./index117.js";
|
|
2
|
+
var d;
|
|
3
|
+
(function(e) {
|
|
4
|
+
e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
|
|
5
|
+
})(d || (d = {}));
|
|
6
|
+
function l(e) {
|
|
7
|
+
return !e[s.disabled] && !e[s.hidden] && !e[s.outside];
|
|
8
|
+
}
|
|
9
|
+
function F(e, u, t, n) {
|
|
10
|
+
let f, c = -1;
|
|
11
|
+
for (const o of e) {
|
|
12
|
+
const a = u(o);
|
|
13
|
+
l(a) && (a[s.focused] && c < d.FocusedModifier ? (f = o, c = d.FocusedModifier) : n?.isEqualTo(o) && c < d.LastFocused ? (f = o, c = d.LastFocused) : t(o.date) && c < d.Selected ? (f = o, c = d.Selected) : a[s.today] && c < d.Today && (f = o, c = d.Today));
|
|
14
|
+
}
|
|
15
|
+
return f || (f = e.find((o) => l(u(o)))), f;
|
|
9
16
|
}
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
F as calculateFocusTarget
|
|
12
19
|
};
|
|
13
20
|
//# sourceMappingURL=index227.js.map
|
package/dist/index227.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index227.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index227.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nvar FocusTargetPriority;\n(function (FocusTargetPriority) {\n FocusTargetPriority[FocusTargetPriority[\"Today\"] = 0] = \"Today\";\n FocusTargetPriority[FocusTargetPriority[\"Selected\"] = 1] = \"Selected\";\n FocusTargetPriority[FocusTargetPriority[\"LastFocused\"] = 2] = \"LastFocused\";\n FocusTargetPriority[FocusTargetPriority[\"FocusedModifier\"] = 3] = \"FocusedModifier\";\n})(FocusTargetPriority || (FocusTargetPriority = {}));\n/**\n * Determines if a day is focusable based on its modifiers.\n *\n * A day is considered focusable if it is not disabled, hidden, or outside the\n * displayed month.\n *\n * @param modifiers The modifiers applied to the day.\n * @returns `true` if the day is focusable, otherwise `false`.\n */\nfunction isFocusableDay(modifiers) {\n return (!modifiers[DayFlag.disabled] &&\n !modifiers[DayFlag.hidden] &&\n !modifiers[DayFlag.outside]);\n}\n/**\n * Calculates the focus target day based on priority.\n *\n * This function determines the day that should receive focus in the calendar,\n * prioritizing days with specific modifiers (e.g., \"focused\", \"today\") or\n * selection states.\n *\n * @param days The array of `CalendarDay` objects to evaluate.\n * @param getModifiers A function to retrieve the modifiers for a given day.\n * @param isSelected A function to determine if a day is selected.\n * @param lastFocused The last focused day, if any.\n * @returns The `CalendarDay` that should receive focus, or `undefined` if no\n * focusable day is found.\n */\nexport function calculateFocusTarget(days, getModifiers, isSelected, lastFocused) {\n let focusTarget;\n let foundFocusTargetPriority = -1;\n for (const day of days) {\n const modifiers = getModifiers(day);\n if (isFocusableDay(modifiers)) {\n if (modifiers[DayFlag.focused] &&\n foundFocusTargetPriority < FocusTargetPriority.FocusedModifier) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.FocusedModifier;\n }\n else if (lastFocused?.isEqualTo(day) &&\n foundFocusTargetPriority < FocusTargetPriority.LastFocused) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.LastFocused;\n }\n else if (isSelected(day.date) &&\n foundFocusTargetPriority < FocusTargetPriority.Selected) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Selected;\n }\n else if (modifiers[DayFlag.today] &&\n foundFocusTargetPriority < FocusTargetPriority.Today) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Today;\n }\n }\n }\n if (!focusTarget) {\n // Return the first day that is focusable\n focusTarget = days.find((day) => isFocusableDay(getModifiers(day)));\n }\n return focusTarget;\n}\n"],"names":["FocusTargetPriority","isFocusableDay","modifiers","DayFlag","calculateFocusTarget","days","getModifiers","isSelected","lastFocused","focusTarget","foundFocusTargetPriority","day"],"mappings":";AACA,IAAIA;AAAA,CACH,SAAUA,GAAqB;AAC5B,EAAAA,EAAoBA,EAAoB,QAAW,CAAC,IAAI,SACxDA,EAAoBA,EAAoB,WAAc,CAAC,IAAI,YAC3DA,EAAoBA,EAAoB,cAAiB,CAAC,IAAI,eAC9DA,EAAoBA,EAAoB,kBAAqB,CAAC,IAAI;AACtE,GAAGA,MAAwBA,IAAsB,CAAA,EAAG;AAUpD,SAASC,EAAeC,GAAW;AAC/B,SAAQ,CAACA,EAAUC,EAAQ,QAAQ,KAC/B,CAACD,EAAUC,EAAQ,MAAM,KACzB,CAACD,EAAUC,EAAQ,OAAO;AAClC;AAeO,SAASC,EAAqBC,GAAMC,GAAcC,GAAYC,GAAa;AAC9E,MAAIC,GACAC,IAA2B;AAC/B,aAAWC,KAAON,GAAM;AACpB,UAAMH,IAAYI,EAAaK,CAAG;AAClC,IAAIV,EAAeC,CAAS,MACpBA,EAAUC,EAAQ,OAAO,KACzBO,IAA2BV,EAAoB,mBAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,mBAE1CQ,GAAa,UAAUG,CAAG,KAC/BD,IAA2BV,EAAoB,eAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,eAE1CO,EAAWI,EAAI,IAAI,KACxBD,IAA2BV,EAAoB,YAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,YAE1CE,EAAUC,EAAQ,KAAK,KAC5BO,IAA2BV,EAAoB,UAC/CS,IAAcE,GACdD,IAA2BV,EAAoB;AAAA,EAG3D;AACA,SAAKS,MAEDA,IAAcJ,EAAK,KAAK,CAACM,MAAQV,EAAeK,EAAaK,CAAG,CAAC,CAAC,IAE/DF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index228.js
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if (e?.length === S || f && e?.length === 1)
|
|
10
|
-
return;
|
|
11
|
-
n = e?.filter((y) => !o(y, t));
|
|
12
|
-
} else
|
|
13
|
-
e?.length === a ? n = [t] : n = [...n, t];
|
|
14
|
-
return l || m(n), l?.(n, t, c, h), n;
|
|
15
|
-
},
|
|
16
|
-
isSelected: u
|
|
17
|
-
};
|
|
1
|
+
import { dateMatchModifiers as u } from "./index32.js";
|
|
2
|
+
import { getFocusableDate as g } from "./index269.js";
|
|
3
|
+
import { CalendarDay as m } from "./index180.js";
|
|
4
|
+
function h(t, i, a, d, f, e, n, s = 0) {
|
|
5
|
+
if (s > 365)
|
|
6
|
+
return;
|
|
7
|
+
const o = g(t, i, a.date, d, f, e, n), r = !!(e.disabled && u(o, e.disabled, n)), l = !!(e.hidden && u(o, e.hidden, n)), D = o, c = new m(o, D, n);
|
|
8
|
+
return !r && !l ? c : h(t, i, c, d, f, e, n, s + 1);
|
|
18
9
|
}
|
|
19
10
|
export {
|
|
20
|
-
|
|
11
|
+
h as getNextFocus
|
|
21
12
|
};
|
|
22
13
|
//# sourceMappingURL=index228.js.map
|
package/dist/index228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index228.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index228.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js"],"sourcesContent":["import { CalendarDay } from \"../classes/index.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\nimport { getFocusableDate } from \"./getFocusableDate.js\";\n/**\n * Determines the next focusable day in the calendar.\n *\n * This function recursively calculates the next focusable day based on the\n * movement direction and modifiers applied to the days.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDay The currently focused day.\n * @param calendarStartMonth The earliest month the user can navigate to.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @param attempt The current recursion attempt (used to limit recursion depth).\n * @returns The next focusable day, or `undefined` if no focusable day is found.\n */\nexport function getNextFocus(moveBy, moveDir, refDay, calendarStartMonth, calendarEndMonth, props, dateLib, attempt = 0) {\n if (attempt > 365) {\n // Limit the recursion to 365 attempts\n return undefined;\n }\n const focusableDate = getFocusableDate(moveBy, moveDir, refDay.date, calendarStartMonth, calendarEndMonth, props, dateLib);\n const isDisabled = Boolean(props.disabled &&\n dateMatchModifiers(focusableDate, props.disabled, dateLib));\n const isHidden = Boolean(props.hidden && dateMatchModifiers(focusableDate, props.hidden, dateLib));\n const targetMonth = focusableDate;\n const focusDay = new CalendarDay(focusableDate, targetMonth, dateLib);\n if (!isDisabled && !isHidden) {\n return focusDay;\n }\n // Recursively attempt to find the next focusable date\n return getNextFocus(moveBy, moveDir, focusDay, calendarStartMonth, calendarEndMonth, props, dateLib, attempt + 1);\n}\n"],"names":["getNextFocus","moveBy","moveDir","refDay","calendarStartMonth","calendarEndMonth","props","dateLib","attempt","focusableDate","getFocusableDate","isDisabled","dateMatchModifiers","isHidden","targetMonth","focusDay","CalendarDay"],"mappings":";;;AAoBO,SAASA,EAAaC,GAAQC,GAASC,GAAQC,GAAoBC,GAAkBC,GAAOC,GAASC,IAAU,GAAG;AACrH,MAAIA,IAAU;AAEV;AAEJ,QAAMC,IAAgBC,EAAiBT,GAAQC,GAASC,EAAO,MAAMC,GAAoBC,GAAkBC,GAAOC,CAAO,GACnHI,IAAa,GAAQL,EAAM,YAC7BM,EAAmBH,GAAeH,EAAM,UAAUC,CAAO,IACvDM,IAAW,GAAQP,EAAM,UAAUM,EAAmBH,GAAeH,EAAM,QAAQC,CAAO,IAC1FO,IAAcL,GACdM,IAAW,IAAIC,EAAYP,GAAeK,GAAaP,CAAO;AACpE,SAAI,CAACI,KAAc,CAACE,IACTE,IAGJf,EAAaC,GAAQC,GAASa,GAAUX,GAAoBC,GAAkBC,GAAOC,GAASC,IAAU,CAAC;AACpH;","x_google_ignoreList":[0]}
|
package/dist/index229.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { useControlledValue as x } from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { rangeContainsModifiers as C } from "./index233.js";
|
|
5
|
-
function b(s, l) {
|
|
6
|
-
const { disabled: c, excludeDisabled: i, selected: d, required: f, onSelect: o } = s, [r, m] = x(d, o ? d : void 0), t = o ? d : r;
|
|
1
|
+
import { useControlledValue as x } from "./index226.js";
|
|
2
|
+
function C(i, d) {
|
|
3
|
+
const { selected: s, required: f, onSelect: l } = i, [r, m] = x(s, l ? s : void 0), e = l ? s : r, { isSameDay: o } = d, u = (t) => e?.some((c) => o(c, t)) ?? !1, { min: S, max: a } = i;
|
|
7
4
|
return {
|
|
8
|
-
selected:
|
|
9
|
-
select: (
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
selected: e,
|
|
6
|
+
select: (t, c, h) => {
|
|
7
|
+
let n = [...e ?? []];
|
|
8
|
+
if (u(t)) {
|
|
9
|
+
if (e?.length === S || f && e?.length === 1)
|
|
10
|
+
return;
|
|
11
|
+
n = e?.filter((y) => !o(y, t));
|
|
12
|
+
} else
|
|
13
|
+
e?.length === a ? n = [t] : n = [...n, t];
|
|
14
|
+
return l || m(n), l?.(n, t, c, h), n;
|
|
12
15
|
},
|
|
13
|
-
isSelected:
|
|
16
|
+
isSelected: u
|
|
14
17
|
};
|
|
15
18
|
}
|
|
16
19
|
export {
|
|
17
|
-
|
|
20
|
+
C as useMulti
|
|
18
21
|
};
|
|
19
22
|
//# sourceMappingURL=index229.js.map
|
package/dist/index229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index229.js","sources":["../../../node_modules/react-day-picker/dist/esm/selection/
|
|
1
|
+
{"version":3,"file":"index229.js","sources":["../../../node_modules/react-day-picker/dist/esm/selection/useMulti.js"],"sourcesContent":["import { useControlledValue } from \"../helpers/useControlledValue.js\";\n/**\n * Hook to manage multiple-date selection in the DayPicker component.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param dateLib - The date utility library instance.\n * @returns An object containing the selected dates, a function to select dates,\n * and a function to check if a date is selected.\n */\nexport function useMulti(props, dateLib) {\n const { selected: initiallySelected, required, onSelect, } = props;\n const [internallySelected, setSelected] = useControlledValue(initiallySelected, onSelect ? initiallySelected : undefined);\n const selected = !onSelect ? internallySelected : initiallySelected;\n const { isSameDay } = dateLib;\n const isSelected = (date) => {\n return selected?.some((d) => isSameDay(d, date)) ?? false;\n };\n const { min, max } = props;\n const select = (triggerDate, modifiers, e) => {\n let newDates = [...(selected ?? [])];\n if (isSelected(triggerDate)) {\n if (selected?.length === min) {\n // Min value reached, do nothing\n return;\n }\n if (required && selected?.length === 1) {\n // Required value already selected do nothing\n return;\n }\n newDates = selected?.filter((d) => !isSameDay(d, triggerDate));\n }\n else {\n if (selected?.length === max) {\n // Max value reached, reset the selection to date\n newDates = [triggerDate];\n }\n else {\n // Add the date to the selection\n newDates = [...newDates, triggerDate];\n }\n }\n if (!onSelect) {\n setSelected(newDates);\n }\n onSelect?.(newDates, triggerDate, modifiers, e);\n return newDates;\n };\n return {\n selected,\n select,\n isSelected,\n };\n}\n"],"names":["useMulti","props","dateLib","initiallySelected","required","onSelect","internallySelected","setSelected","useControlledValue","selected","isSameDay","isSelected","date","d","min","max","triggerDate","modifiers","e","newDates"],"mappings":";AAUO,SAASA,EAASC,GAAOC,GAAS;AACrC,QAAM,EAAE,UAAUC,GAAmB,UAAAC,GAAU,UAAAC,EAAQ,IAAMJ,GACvD,CAACK,GAAoBC,CAAW,IAAIC,EAAmBL,GAAmBE,IAAWF,IAAoB,MAAS,GAClHM,IAAYJ,IAAgCF,IAArBG,GACvB,EAAE,WAAAI,EAAS,IAAKR,GAChBS,IAAa,CAACC,MACTH,GAAU,KAAK,CAACI,MAAMH,EAAUG,GAAGD,CAAI,CAAC,KAAK,IAElD,EAAE,KAAAE,GAAK,KAAAC,EAAG,IAAKd;AA8BrB,SAAO;AAAA,IACH,UAAAQ;AAAA,IACA,QA/BW,CAACO,GAAaC,GAAWC,MAAM;AAC1C,UAAIC,IAAW,CAAC,GAAIV,KAAY,CAAA,CAAG;AACnC,UAAIE,EAAWK,CAAW,GAAG;AAKzB,YAJIP,GAAU,WAAWK,KAIrBV,KAAYK,GAAU,WAAW;AAEjC;AAEJ,QAAAU,IAAWV,GAAU,OAAO,CAACI,MAAM,CAACH,EAAUG,GAAGG,CAAW,CAAC;AAAA,MACjE;AAEI,QAAIP,GAAU,WAAWM,IAErBI,IAAW,CAACH,CAAW,IAIvBG,IAAW,CAAC,GAAGA,GAAUH,CAAW;AAG5C,aAAKX,KACDE,EAAYY,CAAQ,GAExBd,IAAWc,GAAUH,GAAaC,GAAWC,CAAC,GACvCC;AAAA,IACX;AAAA,IAII,YAAAR;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index23.js
CHANGED
|
@@ -1,272 +1,38 @@
|
|
|
1
|
-
import { j as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return Number.isFinite(s) ? s : 0;
|
|
10
|
-
}, oe = (t) => {
|
|
11
|
-
const s = new Date(G(t));
|
|
12
|
-
if (!Number.isFinite(s.getTime())) return "unknown";
|
|
13
|
-
const m = s.getFullYear(), o = String(s.getMonth() + 1).padStart(2, "0"), a = String(s.getDate()).padStart(2, "0");
|
|
14
|
-
return `${m}-${o}-${a}`;
|
|
15
|
-
}, ae = (t) => {
|
|
16
|
-
if (t === "unknown") return "Unknown date";
|
|
17
|
-
const [s, m, o] = t.split("-"), a = Number(s), x = Number(m), r = Number(o);
|
|
18
|
-
if (!Number.isFinite(a) || !Number.isFinite(x) || !Number.isFinite(r)) return "Unknown date";
|
|
19
|
-
const j = new Date(a, x - 1, r);
|
|
20
|
-
if (!Number.isFinite(j.getTime())) return "Unknown date";
|
|
21
|
-
const k = (/* @__PURE__ */ new Date()).getFullYear() !== a;
|
|
22
|
-
return j.toLocaleDateString(void 0, k ? { weekday: "short", month: "short", day: "numeric", year: "numeric" } : { weekday: "short", month: "short", day: "numeric" });
|
|
23
|
-
}, Y = (t) => {
|
|
24
|
-
const s = [];
|
|
25
|
-
let m = null;
|
|
26
|
-
for (const o of t) {
|
|
27
|
-
const a = oe(o.createdAt);
|
|
28
|
-
a !== m && (m = a, s.push({ key: a, label: ae(a), items: [] })), s[s.length - 1].items.push(o);
|
|
29
|
-
}
|
|
30
|
-
return s;
|
|
31
|
-
}, ie = Q(null);
|
|
32
|
-
function xe({
|
|
33
|
-
open: t,
|
|
34
|
-
onOpenChange: s,
|
|
35
|
-
className: m,
|
|
36
|
-
limit: o = 50,
|
|
37
|
-
defaultUnreadOnly: a = !1,
|
|
38
|
-
realtimeContext: x
|
|
1
|
+
import { j as e } from "./index29.js";
|
|
2
|
+
import { Bell as s } from "lucide-react";
|
|
3
|
+
import { cn as l } from "./index2.js";
|
|
4
|
+
function f({
|
|
5
|
+
unseenCount: i,
|
|
6
|
+
unreadCount: n,
|
|
7
|
+
onClick: o,
|
|
8
|
+
className: a
|
|
39
9
|
}) {
|
|
40
|
-
const r =
|
|
41
|
-
U(!0), S(null);
|
|
42
|
-
try {
|
|
43
|
-
const h = await fetch("/api/rb/notifications", {
|
|
44
|
-
method: "POST",
|
|
45
|
-
headers: { "Content-Type": "application/json" },
|
|
46
|
-
credentials: "include",
|
|
47
|
-
body: JSON.stringify({ limit: o, unreadOnly: n, markSeen: d })
|
|
48
|
-
}), i = await h.json().catch(() => null);
|
|
49
|
-
if (!h.ok || !i?.ok) {
|
|
50
|
-
S(i?.error || "Unable to load notifications.");
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
const u = Array.isArray(i.notifications) ? i.notifications : [];
|
|
54
|
-
v(u), C(Number.isFinite(i.unreadCount) ? Math.max(0, Math.floor(i.unreadCount ?? 0)) : 0), A(Number.isFinite(i.unseenCount) ? Math.max(0, Math.floor(i.unseenCount ?? 0)) : 0);
|
|
55
|
-
} catch {
|
|
56
|
-
S("Unable to load notifications.");
|
|
57
|
-
} finally {
|
|
58
|
-
U(!1);
|
|
59
|
-
}
|
|
60
|
-
}, [o]);
|
|
61
|
-
L(() => {
|
|
62
|
-
if (t) {
|
|
63
|
-
if (r) {
|
|
64
|
-
(async () => {
|
|
65
|
-
try {
|
|
66
|
-
await fetch("/api/rb/notifications", {
|
|
67
|
-
method: "POST",
|
|
68
|
-
headers: { "Content-Type": "application/json" },
|
|
69
|
-
credentials: "include",
|
|
70
|
-
keepalive: !0,
|
|
71
|
-
body: JSON.stringify({ limit: 1, markSeen: !0 })
|
|
72
|
-
});
|
|
73
|
-
} catch {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
})();
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
N({ unreadOnly: f, markSeen: !0 });
|
|
80
|
-
}
|
|
81
|
-
}, [t, r, N, f]), L(() => {
|
|
82
|
-
t && (r || N({ unreadOnly: f, markSeen: !1 }));
|
|
83
|
-
}, [t, r, N, f]);
|
|
84
|
-
const P = async (n) => {
|
|
85
|
-
try {
|
|
86
|
-
const d = await fetch(`/api/rb/notifications/${encodeURIComponent(n)}/read`, {
|
|
87
|
-
method: "POST",
|
|
88
|
-
headers: { "Content-Type": "application/json" },
|
|
89
|
-
credentials: "include",
|
|
90
|
-
keepalive: !0,
|
|
91
|
-
body: "{}"
|
|
92
|
-
}), h = await d.json().catch(() => null);
|
|
93
|
-
if (!d.ok || !h?.ok) return;
|
|
94
|
-
const i = (/* @__PURE__ */ new Date()).toISOString();
|
|
95
|
-
if (r) return;
|
|
96
|
-
v((u) => {
|
|
97
|
-
const c = u.find((l) => l.id === n);
|
|
98
|
-
return c && !c.readAt && C((l) => Math.max(0, l - 1)), c && !c.seenAt && A((l) => Math.max(0, l - 1)), u.map((l) => l.id === n && !l.readAt ? { ...l, readAt: i, ...l.seenAt ? {} : { seenAt: i } } : l);
|
|
99
|
-
});
|
|
100
|
-
} catch {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
}, $ = async (n) => {
|
|
104
|
-
try {
|
|
105
|
-
const d = await fetch(`/api/rb/notifications/${encodeURIComponent(n)}/archive`, {
|
|
106
|
-
method: "POST",
|
|
107
|
-
headers: { "Content-Type": "application/json" },
|
|
108
|
-
credentials: "include",
|
|
109
|
-
body: "{}"
|
|
110
|
-
}), h = await d.json().catch(() => null);
|
|
111
|
-
if (!d.ok || !h?.ok || r) return;
|
|
112
|
-
v((i) => {
|
|
113
|
-
const u = i.find((c) => c.id === n);
|
|
114
|
-
return u && !u.readAt && C((c) => Math.max(0, c - 1)), u && !u.seenAt && A((c) => Math.max(0, c - 1)), i.filter((c) => c.id !== n);
|
|
115
|
-
});
|
|
116
|
-
} catch {
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
return /* @__PURE__ */ e.jsx(b.Root, { open: t, onOpenChange: s, children: /* @__PURE__ */ e.jsxs(b.Portal, { children: [
|
|
121
|
-
/* @__PURE__ */ e.jsx(b.Overlay, { className: "fixed inset-0 z-50 bg-black/50" }),
|
|
122
|
-
/* @__PURE__ */ e.jsxs(
|
|
123
|
-
b.Content,
|
|
124
|
-
{
|
|
125
|
-
className: w(
|
|
126
|
-
"fixed right-0 top-0 z-50 flex h-full w-full max-w-md flex-col border-l bg-background shadow-xl outline-none",
|
|
127
|
-
m
|
|
128
|
-
),
|
|
129
|
-
children: [
|
|
130
|
-
/* @__PURE__ */ e.jsxs("header", { className: "flex items-center justify-between gap-2 border-b px-4 py-3", children: [
|
|
131
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-col", children: [
|
|
132
|
-
/* @__PURE__ */ e.jsx(b.Title, { className: "text-sm font-semibold", children: "Notifications" }),
|
|
133
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-xs text-muted-foreground", children: D > 0 ? `${D} unread` : O > 0 ? `${O} new` : "All caught up" })
|
|
134
|
-
] }),
|
|
135
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
136
|
-
/* @__PURE__ */ e.jsx(
|
|
137
|
-
"button",
|
|
138
|
-
{
|
|
139
|
-
type: "button",
|
|
140
|
-
onClick: () => X((n) => !n),
|
|
141
|
-
className: w(
|
|
142
|
-
"rounded-md border px-2 py-1 text-xs",
|
|
143
|
-
f ? "bg-accent text-foreground" : "bg-background text-muted-foreground hover:bg-accent"
|
|
144
|
-
),
|
|
145
|
-
children: f ? "Unread" : "All"
|
|
146
|
-
}
|
|
147
|
-
),
|
|
148
|
-
/* @__PURE__ */ e.jsx(b.Close, { asChild: !0, children: /* @__PURE__ */ e.jsx("button", { type: "button", className: "inline-flex h-8 w-8 items-center justify-center rounded-md hover:bg-accent", children: /* @__PURE__ */ e.jsx(ne, { className: "h-4 w-4" }) }) })
|
|
149
|
-
] })
|
|
150
|
-
] }),
|
|
151
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-y-auto px-4 pb-3", children: q ? /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center py-10 text-muted-foreground", children: /* @__PURE__ */ e.jsx(se, { className: "h-4 w-4 animate-spin" }) }) : R ? /* @__PURE__ */ e.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: R }) : g.length === 0 ? /* @__PURE__ */ e.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: "No notifications." }) : /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
152
|
-
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
153
|
-
/* @__PURE__ */ e.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Unread notifications" }),
|
|
154
|
-
I.length === 0 ? /* @__PURE__ */ e.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No unread notifications." }) : I.map((n) => /* @__PURE__ */ e.jsxs("div", { children: [
|
|
155
|
-
/* @__PURE__ */ e.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: n.label }),
|
|
156
|
-
/* @__PURE__ */ e.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: n.items.map((d) => /* @__PURE__ */ e.jsx(
|
|
157
|
-
B,
|
|
158
|
-
{
|
|
159
|
-
notification: d,
|
|
160
|
-
onMarkRead: P,
|
|
161
|
-
onArchive: $
|
|
162
|
-
},
|
|
163
|
-
d.id
|
|
164
|
-
)) })
|
|
165
|
-
] }, `unread:${n.key}`))
|
|
166
|
-
] }),
|
|
167
|
-
f ? null : /* @__PURE__ */ e.jsxs("div", { children: [
|
|
168
|
-
/* @__PURE__ */ e.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Previous notifications" }),
|
|
169
|
-
z.length === 0 ? /* @__PURE__ */ e.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No previous notifications." }) : z.map((n) => /* @__PURE__ */ e.jsxs("div", { children: [
|
|
170
|
-
/* @__PURE__ */ e.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: n.label }),
|
|
171
|
-
/* @__PURE__ */ e.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: n.items.map((d) => /* @__PURE__ */ e.jsx(
|
|
172
|
-
B,
|
|
173
|
-
{
|
|
174
|
-
notification: d,
|
|
175
|
-
onMarkRead: P,
|
|
176
|
-
onArchive: $
|
|
177
|
-
},
|
|
178
|
-
d.id
|
|
179
|
-
)) })
|
|
180
|
-
] }, `previous:${n.key}`))
|
|
181
|
-
] })
|
|
182
|
-
] }) })
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
)
|
|
186
|
-
] }) });
|
|
187
|
-
}
|
|
188
|
-
function B({
|
|
189
|
-
notification: t,
|
|
190
|
-
onMarkRead: s,
|
|
191
|
-
onArchive: m
|
|
192
|
-
}) {
|
|
193
|
-
const o = !t.readAt, a = (() => {
|
|
194
|
-
const x = new Date(G(t.createdAt));
|
|
195
|
-
return Number.isFinite(x.getTime()) ? x.toLocaleString() : "";
|
|
196
|
-
})();
|
|
10
|
+
const r = Number.isFinite(i) ? i : n, t = Number.isFinite(r) ? Math.max(0, Math.floor(r ?? 0)) : 0;
|
|
197
11
|
return /* @__PURE__ */ e.jsxs(
|
|
198
|
-
"
|
|
12
|
+
"button",
|
|
199
13
|
{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
14
|
+
type: "button",
|
|
15
|
+
onClick: o,
|
|
16
|
+
className: l(
|
|
17
|
+
"relative inline-flex h-9 w-9 items-center justify-center rounded-md border bg-background text-foreground hover:bg-accent",
|
|
18
|
+
a
|
|
203
19
|
),
|
|
20
|
+
"aria-label": t > 0 ? `Notifications (${t} new)` : "Notifications",
|
|
204
21
|
children: [
|
|
205
|
-
/* @__PURE__ */ e.
|
|
206
|
-
|
|
22
|
+
/* @__PURE__ */ e.jsx(s, { className: "h-4 w-4" }),
|
|
23
|
+
t > 0 ? /* @__PURE__ */ e.jsx(
|
|
24
|
+
"span",
|
|
207
25
|
{
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
o && s(t.id), t.url && (window.location.href = t.url);
|
|
212
|
-
},
|
|
213
|
-
children: [
|
|
214
|
-
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
215
|
-
/* @__PURE__ */ e.jsx("div", { className: "truncate text-sm font-semibold", children: t.title }),
|
|
216
|
-
t.body ? /* @__PURE__ */ e.jsx("div", { className: "mt-0.5 line-clamp-2 text-xs text-muted-foreground", children: t.body }) : null
|
|
217
|
-
] }),
|
|
218
|
-
t.url ? /* @__PURE__ */ e.jsx("div", { className: "mt-2 truncate text-xs text-primary", children: t.url }) : null,
|
|
219
|
-
a ? /* @__PURE__ */ e.jsx("div", { className: "mt-2 text-[11px] text-muted-foreground", children: a }) : null
|
|
220
|
-
]
|
|
26
|
+
className: "absolute -right-1 -top-1 inline-flex min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-4 text-primary-foreground",
|
|
27
|
+
"aria-hidden": "true",
|
|
28
|
+
children: t > 99 ? "99+" : String(t)
|
|
221
29
|
}
|
|
222
|
-
)
|
|
223
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-start", children: /* @__PURE__ */ e.jsxs(Z, { children: [
|
|
224
|
-
/* @__PURE__ */ e.jsx(_, { asChild: !0, children: /* @__PURE__ */ e.jsx(
|
|
225
|
-
"button",
|
|
226
|
-
{
|
|
227
|
-
type: "button",
|
|
228
|
-
className: "inline-flex h-8 w-8 items-center justify-center rounded-md hover:bg-accent",
|
|
229
|
-
"aria-label": "Notification options",
|
|
230
|
-
children: /* @__PURE__ */ e.jsx(re, { className: "h-4 w-4" })
|
|
231
|
-
}
|
|
232
|
-
) }),
|
|
233
|
-
/* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsxs(
|
|
234
|
-
te,
|
|
235
|
-
{
|
|
236
|
-
align: "end",
|
|
237
|
-
sideOffset: 6,
|
|
238
|
-
className: w(
|
|
239
|
-
"z-50 min-w-[10rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
|
|
240
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
|
|
241
|
-
"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
|
|
242
|
-
),
|
|
243
|
-
children: [
|
|
244
|
-
/* @__PURE__ */ e.jsx(
|
|
245
|
-
E,
|
|
246
|
-
{
|
|
247
|
-
className: "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
248
|
-
onSelect: () => m(t.id),
|
|
249
|
-
children: "Archive"
|
|
250
|
-
}
|
|
251
|
-
),
|
|
252
|
-
/* @__PURE__ */ e.jsx(
|
|
253
|
-
E,
|
|
254
|
-
{
|
|
255
|
-
className: "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
256
|
-
disabled: !o,
|
|
257
|
-
onSelect: () => s(t.id),
|
|
258
|
-
children: "Mark as read"
|
|
259
|
-
}
|
|
260
|
-
)
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
) })
|
|
264
|
-
] }) })
|
|
30
|
+
) : null
|
|
265
31
|
]
|
|
266
32
|
}
|
|
267
33
|
);
|
|
268
34
|
}
|
|
269
35
|
export {
|
|
270
|
-
|
|
36
|
+
f as NotificationsButton
|
|
271
37
|
};
|
|
272
38
|
//# sourceMappingURL=index23.js.map
|