@rpcbase/ui 0.173.0 → 0.174.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/components/DayPickerField/index.d.ts.map +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.js +5 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -6
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -145
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +6 -39
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +145 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +38 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -13
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +7 -13
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +12 -6
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +13 -31
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +299 -281
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +7 -10
- 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 -8
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +9 -12
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +8 -101
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +14 -20
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +99 -51
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +20 -73
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +53 -9
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +69 -17
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +9 -16
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +20 -23
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +16 -6
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +23 -5
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +6 -23
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +6 -35
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +24 -16
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +35 -7
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +16 -5
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -4
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +2 -2
- 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 -3
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -6
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -24
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +6 -7
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +24 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +7 -5
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -3
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +5 -3
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +4 -4
- package/dist/index140.js +3 -4
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -3
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +4 -4
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -3
- 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 -46
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -5
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +40 -62
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +47 -2
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +1 -1
- package/dist/index150.js +199 -357
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +22 -262
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +24 -60
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +396 -43
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +5 -169
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +61 -102
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +2 -25
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +364 -8
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +261 -4
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +60 -5
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +46 -4
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +153 -450
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +102 -178
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +24 -107
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +8 -263
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -9
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +5 -42
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +3 -3
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +464 -44
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +176 -196
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -1
- package/dist/index170.js +108 -22
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +260 -22
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +9 -399
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +36 -599
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +4 -16
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +67 -5
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +179 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +46 -58
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +47 -55
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +8 -6
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +2 -2
- package/dist/index180.js +66 -4
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +19 -7
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +16 -17
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +5 -5
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +5 -5
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +6 -13
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +4 -10
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +7 -14
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +17 -14
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -5
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +7 -7
- package/dist/index190.js +5 -6
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +13 -7
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +9 -5
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +14 -9
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +14 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +5 -5
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +6 -9
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +7 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +6 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +9 -4
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +2 -2
- package/dist/index200.js +5 -11
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -10
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +9 -10
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +5 -11
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +5 -11
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -10
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +11 -7
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +10 -6
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +10 -5
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +11 -6
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +10 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +10 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +7 -55
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -8
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -19
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -23
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -16
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +6 -7
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +55 -10
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +15 -9
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -1
- package/dist/index220.js +7 -21
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +10 -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 +21 -9
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +10 -4
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +4 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +5 -18
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +16 -15
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +2 -2
- package/dist/index230.js +9 -12
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +18 -29
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +15 -12
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +12 -25
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +29 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +12 -13
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +23 -152
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +5 -30
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +24 -9
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +29 -48
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +5 -12
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +13 -44
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +145 -86
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +27 -83
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +9 -105
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +40 -45
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +11 -11
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +42 -35
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +95 -8
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +80 -110
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +105 -17
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +51 -14
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +11 -3
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +33 -32
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +8 -20
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +116 -9
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +17 -8
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +12 -16
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +3 -28
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +35 -15
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +20 -24
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +10 -29
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +9 -5
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +17 -65
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +26 -178
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +14 -44
- package/dist/index265.js.map +1 -1
- package/dist/index269.js +5 -21
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +37 -3
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +3 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +24 -3
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +111 -22
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +14 -111
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +523 -14
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +114 -511
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +117 -111
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +20 -133
- package/dist/index277.js.map +1 -1
- package/dist/index28.js +3 -125
- package/dist/index28.js.map +1 -1
- package/dist/index285.js +2 -2
- package/dist/index288.js +1 -1
- package/dist/index289.js +2 -2
- package/dist/index29.js +120 -227
- package/dist/index29.js.map +1 -1
- package/dist/index291.js +1 -1
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.js +1 -1
- package/dist/index295.js +65 -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 +230 -49
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +20 -2637
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +47 -390
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +2604 -196
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +390 -18
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +222 -131
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +18 -183
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +130 -65
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +185 -89
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +76 -5
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +84 -837
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +6 -66
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +840 -33
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +66 -8
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +8 -2
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +2 -24
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +22 -232
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +233 -6
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +203 -32
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +5 -25
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.js +33 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +26 -11
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +7 -53
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +12 -205
- package/dist/index53.js.map +1 -1
- package/dist/index55.js +3 -3
- package/dist/index56.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index59.js +4 -4
- package/dist/index61.js +8 -8
- package/dist/index62.js +2 -2
- package/dist/index63.js +2 -2
- package/dist/index67.js +2 -2
- package/dist/index69.js +3 -3
- package/dist/index70.js +53 -5
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +2 -8
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +2 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +6 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +8 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +6 -52
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +605 -4
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +52 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +3 -14
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +4 -5
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +1 -1
- package/dist/index80.js +14 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -16
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +7 -4
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +16 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +4 -5
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -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 +3 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +4 -24
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.js +6 -6
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +24 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +3 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -4
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +3 -3
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -8
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -5
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +8 -4
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index105.js
CHANGED
|
@@ -1,11 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { DayFlag as e } from "./index117.js";
|
|
2
|
+
import { dateMatchModifiers as u } from "./index31.js";
|
|
3
|
+
function V(b, S, h, M, a) {
|
|
4
|
+
const { disabled: m, hidden: p, modifiers: r, showOutsideDays: y, broadcastCalendar: B, today: g = a.today() } = S, { isSameDay: v, isSameMonth: A, startOfMonth: E, isBefore: F, endOfMonth: j, isAfter: k } = a, O = h && E(h), D = M && j(M), i = {
|
|
5
|
+
[e.focused]: [],
|
|
6
|
+
[e.outside]: [],
|
|
7
|
+
[e.disabled]: [],
|
|
8
|
+
[e.hidden]: [],
|
|
9
|
+
[e.today]: []
|
|
10
|
+
}, d = {};
|
|
11
|
+
for (const s of b) {
|
|
12
|
+
const { date: o, displayMonth: n } = s, t = !!(n && !A(o, n)), f = !!(O && F(o, O)), l = !!(D && k(o, D)), w = !!(m && u(o, m, a)), x = !!(p && u(o, p, a)) || f || l || // Broadcast calendar will show outside days as default
|
|
13
|
+
!B && !y && t || B && y === !1 && t, C = v(o, g);
|
|
14
|
+
t && i.outside.push(s), w && i.disabled.push(s), x && i.hidden.push(s), C && i.today.push(s), r && Object.keys(r).forEach((c) => {
|
|
15
|
+
const N = r?.[c];
|
|
16
|
+
N && u(o, N, a) && (d[c] ? d[c].push(s) : d[c] = [s]);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return (s) => {
|
|
20
|
+
const o = {
|
|
21
|
+
[e.focused]: !1,
|
|
22
|
+
[e.disabled]: !1,
|
|
23
|
+
[e.hidden]: !1,
|
|
24
|
+
[e.outside]: !1,
|
|
25
|
+
[e.today]: !1
|
|
26
|
+
}, n = {};
|
|
27
|
+
for (const t in i) {
|
|
28
|
+
const f = i[t];
|
|
29
|
+
o[t] = f.some((l) => l === s);
|
|
30
|
+
}
|
|
31
|
+
for (const t in d)
|
|
32
|
+
n[t] = d[t].some((f) => f === s);
|
|
33
|
+
return {
|
|
34
|
+
...o,
|
|
35
|
+
// custom modifiers should override all the previous ones
|
|
36
|
+
...n
|
|
37
|
+
};
|
|
6
38
|
};
|
|
7
39
|
}
|
|
8
40
|
export {
|
|
9
|
-
|
|
41
|
+
V as createGetModifiers
|
|
10
42
|
};
|
|
11
43
|
//# sourceMappingURL=index105.js.map
|
package/dist/index105.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index105.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index105.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\n/**\n * Creates a function to retrieve the modifiers for a given day.\n *\n * This function calculates both internal and custom modifiers for each day\n * based on the provided calendar days and DayPicker props.\n *\n * @private\n * @param days The array of `CalendarDay` objects to process.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A function that retrieves the modifiers for a given `CalendarDay`.\n */\nexport function createGetModifiers(days, props, navStart, navEnd, dateLib) {\n const { disabled, hidden, modifiers, showOutsideDays, broadcastCalendar, today = dateLib.today(), } = props;\n const { isSameDay, isSameMonth, startOfMonth, isBefore, endOfMonth, isAfter, } = dateLib;\n const computedNavStart = navStart && startOfMonth(navStart);\n const computedNavEnd = navEnd && endOfMonth(navEnd);\n const internalModifiersMap = {\n [DayFlag.focused]: [],\n [DayFlag.outside]: [],\n [DayFlag.disabled]: [],\n [DayFlag.hidden]: [],\n [DayFlag.today]: [],\n };\n const customModifiersMap = {};\n for (const day of days) {\n const { date, displayMonth } = day;\n const isOutside = Boolean(displayMonth && !isSameMonth(date, displayMonth));\n const isBeforeNavStart = Boolean(computedNavStart && isBefore(date, computedNavStart));\n const isAfterNavEnd = Boolean(computedNavEnd && isAfter(date, computedNavEnd));\n const isDisabled = Boolean(disabled && dateMatchModifiers(date, disabled, dateLib));\n const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) ||\n isBeforeNavStart ||\n isAfterNavEnd ||\n // Broadcast calendar will show outside days as default\n (!broadcastCalendar && !showOutsideDays && isOutside) ||\n (broadcastCalendar && showOutsideDays === false && isOutside);\n const isToday = isSameDay(date, today);\n if (isOutside)\n internalModifiersMap.outside.push(day);\n if (isDisabled)\n internalModifiersMap.disabled.push(day);\n if (isHidden)\n internalModifiersMap.hidden.push(day);\n if (isToday)\n internalModifiersMap.today.push(day);\n // Add custom modifiers\n if (modifiers) {\n Object.keys(modifiers).forEach((name) => {\n const modifierValue = modifiers?.[name];\n const isMatch = modifierValue\n ? dateMatchModifiers(date, modifierValue, dateLib)\n : false;\n if (!isMatch)\n return;\n if (customModifiersMap[name]) {\n customModifiersMap[name].push(day);\n }\n else {\n customModifiersMap[name] = [day];\n }\n });\n }\n }\n return (day) => {\n // Initialize all the modifiers to false\n const dayFlags = {\n [DayFlag.focused]: false,\n [DayFlag.disabled]: false,\n [DayFlag.hidden]: false,\n [DayFlag.outside]: false,\n [DayFlag.today]: false,\n };\n const customModifiers = {};\n // Find the modifiers for the given day\n for (const name in internalModifiersMap) {\n const days = internalModifiersMap[name];\n dayFlags[name] = days.some((d) => d === day);\n }\n for (const name in customModifiersMap) {\n customModifiers[name] = customModifiersMap[name].some((d) => d === day);\n }\n return {\n ...dayFlags,\n // custom modifiers should override all the previous ones\n ...customModifiers,\n };\n };\n}\n"],"names":["createGetModifiers","days","props","navStart","navEnd","dateLib","disabled","hidden","modifiers","showOutsideDays","broadcastCalendar","today","isSameDay","isSameMonth","startOfMonth","isBefore","endOfMonth","isAfter","computedNavStart","computedNavEnd","internalModifiersMap","DayFlag","customModifiersMap","day","date","displayMonth","isOutside","isBeforeNavStart","isAfterNavEnd","isDisabled","dateMatchModifiers","isHidden","isToday","name","modifierValue","dayFlags","customModifiers","d"],"mappings":";;AAeO,SAASA,EAAmBC,GAAMC,GAAOC,GAAUC,GAAQC,GAAS;AACvE,QAAM,EAAE,UAAAC,GAAU,QAAAC,GAAQ,WAAAC,GAAW,iBAAAC,GAAiB,mBAAAC,GAAmB,OAAAC,IAAQN,EAAQ,MAAK,EAAE,IAAMH,GAChG,EAAE,WAAAU,GAAW,aAAAC,GAAa,cAAAC,GAAc,UAAAC,GAAU,YAAAC,GAAY,SAAAC,EAAO,IAAMZ,GAC3Ea,IAAmBf,KAAYW,EAAaX,CAAQ,GACpDgB,IAAiBf,KAAUY,EAAWZ,CAAM,GAC5CgB,IAAuB;AAAA,IACzB,CAACC,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,QAAQ,GAAG,CAAA;AAAA,IACpB,CAACA,EAAQ,MAAM,GAAG,CAAA;AAAA,IAClB,CAACA,EAAQ,KAAK,GAAG,CAAA;AAAA,EACzB,GACUC,IAAqB,CAAA;AAC3B,aAAWC,KAAOtB,GAAM;AACpB,UAAM,EAAE,MAAAuB,GAAM,cAAAC,EAAY,IAAKF,GACzBG,IAAY,GAAQD,KAAgB,CAACZ,EAAYW,GAAMC,CAAY,IACnEE,IAAmB,GAAQT,KAAoBH,EAASS,GAAMN,CAAgB,IAC9EU,IAAgB,GAAQT,KAAkBF,EAAQO,GAAML,CAAc,IACtEU,IAAa,GAAQvB,KAAYwB,EAAmBN,GAAMlB,GAAUD,CAAO,IAC3E0B,IAAW,GAAQxB,KAAUuB,EAAmBN,GAAMjB,GAAQF,CAAO,MACvEsB,KACAC;AAAA,IAEC,CAAClB,KAAqB,CAACD,KAAmBiB,KAC1ChB,KAAqBD,MAAoB,MAASiB,GACjDM,IAAUpB,EAAUY,GAAMb,CAAK;AACrC,IAAIe,KACAN,EAAqB,QAAQ,KAAKG,CAAG,GACrCM,KACAT,EAAqB,SAAS,KAAKG,CAAG,GACtCQ,KACAX,EAAqB,OAAO,KAAKG,CAAG,GACpCS,KACAZ,EAAqB,MAAM,KAAKG,CAAG,GAEnCf,KACA,OAAO,KAAKA,CAAS,EAAE,QAAQ,CAACyB,MAAS;AACrC,YAAMC,IAAgB1B,IAAYyB,CAAI;AAItC,MAHgBC,KACVJ,EAAmBN,GAAMU,GAAe7B,CAAO,MAIjDiB,EAAmBW,CAAI,IACvBX,EAAmBW,CAAI,EAAE,KAAKV,CAAG,IAGjCD,EAAmBW,CAAI,IAAI,CAACV,CAAG;AAAA,IAEvC,CAAC;AAAA,EAET;AACA,SAAO,CAACA,MAAQ;AAEZ,UAAMY,IAAW;AAAA,MACb,CAACd,EAAQ,OAAO,GAAG;AAAA,MACnB,CAACA,EAAQ,QAAQ,GAAG;AAAA,MACpB,CAACA,EAAQ,MAAM,GAAG;AAAA,MAClB,CAACA,EAAQ,OAAO,GAAG;AAAA,MACnB,CAACA,EAAQ,KAAK,GAAG;AAAA,IAC7B,GACce,IAAkB,CAAA;AAExB,eAAWH,KAAQb,GAAsB;AACrC,YAAMnB,IAAOmB,EAAqBa,CAAI;AACtC,MAAAE,EAASF,CAAI,IAAIhC,EAAK,KAAK,CAACoC,MAAMA,MAAMd,CAAG;AAAA,IAC/C;AACA,eAAWU,KAAQX;AACf,MAAAc,EAAgBH,CAAI,IAAIX,EAAmBW,CAAI,EAAE,KAAK,CAACI,MAAMA,MAAMd,CAAG;AAE1E,WAAO;AAAA,MACH,GAAGY;AAAA;AAAA,MAEH,GAAGC;AAAA,IACf;AAAA,EACI;AACJ;","x_google_ignoreList":[0]}
|
package/dist/index106.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"data-required": "required" in e ? e.required : void 0,
|
|
5
|
-
"data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
|
|
6
|
-
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
-
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
-
"data-nav-layout": e.navLayout || void 0
|
|
9
|
-
};
|
|
10
|
-
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
-
a.startsWith("data-") && (t[a] = d);
|
|
12
|
-
}), t;
|
|
1
|
+
import { DayFlag as e, SelectionState as n, UI as d } from "./index117.js";
|
|
2
|
+
function p(o, i, f = {}) {
|
|
3
|
+
return Object.entries(o).filter(([, t]) => t === !0).reduce((t, [r]) => (f[r] ? t.push(f[r]) : i[e[r]] ? t.push(i[e[r]]) : i[n[r]] && t.push(i[n[r]]), t), [i[d.Day]]);
|
|
13
4
|
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
p as getClassNamesForModifiers
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index106.js.map
|
package/dist/index106.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index106.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index106.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the class names for a day based on its modifiers.\n *\n * This function combines the base class name for the day with any class names\n * associated with active modifiers.\n *\n * @param modifiers The modifiers applied to the day.\n * @param classNames The base class names for the calendar elements.\n * @param modifiersClassNames The class names associated with specific\n * modifiers.\n * @returns An array of class names for the day.\n */\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n"],"names":["getClassNamesForModifiers","modifiers","classNames","modifiersClassNames","active","previousValue","key","DayFlag","SelectionState","UI"],"mappings":";AAaO,SAASA,EAA0BC,GAAWC,GAAYC,IAAsB,CAAA,GAAI;AAevF,SAd2B,OAAO,QAAQF,CAAS,EAC9C,OAAO,CAAC,CAAA,EAAGG,CAAM,MAAMA,MAAW,EAAI,EACtC,OAAO,CAACC,GAAe,CAACC,CAAG,OACxBH,EAAoBG,CAAG,IACvBD,EAAc,KAAKF,EAAoBG,CAAG,CAAC,IAEtCJ,EAAWK,EAAQD,CAAG,CAAC,IAC5BD,EAAc,KAAKH,EAAWK,EAAQD,CAAG,CAAC,CAAC,IAEtCJ,EAAWM,EAAeF,CAAG,CAAC,KACnCD,EAAc,KAAKH,EAAWM,EAAeF,CAAG,CAAC,CAAC,GAE/CD,IACR,CAACH,EAAWO,EAAG,GAAG,CAAC,CAAC;AAE3B;","x_google_ignoreList":[0]}
|
package/dist/index107.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
o
|
|
6
|
-
|
|
7
|
-
o[e[n]] = `rdp-${e[n]}`;
|
|
8
|
-
for (const n in r)
|
|
9
|
-
o[r[n]] = `rdp-${r[n]}`;
|
|
10
|
-
for (const n in s)
|
|
11
|
-
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
-
return o;
|
|
1
|
+
import * as t from "./index77.js";
|
|
2
|
+
function n(o) {
|
|
3
|
+
return {
|
|
4
|
+
...t,
|
|
5
|
+
...o
|
|
6
|
+
};
|
|
13
7
|
}
|
|
14
8
|
export {
|
|
15
|
-
|
|
9
|
+
n as getComponents
|
|
16
10
|
};
|
|
17
11
|
//# sourceMappingURL=index107.js.map
|
package/dist/index107.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index107.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index107.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\n/**\n * Merges custom components from the props with the default components.\n *\n * This function ensures that any custom components provided in the props\n * override the default components.\n *\n * @param customComponents The custom components provided in the DayPicker\n * props.\n * @returns An object containing the merged components.\n */\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents,\n };\n}\n"],"names":["getComponents","customComponents","components"],"mappings":";AAWO,SAASA,EAAcC,GAAkB;AAC5C,SAAO;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAAA,EACX;AACA;","x_google_ignoreList":[0]}
|
package/dist/index108.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
function n(e) {
|
|
2
|
+
const t = {
|
|
3
|
+
"data-mode": e.mode ?? void 0,
|
|
4
|
+
"data-required": "required" in e ? e.required : void 0,
|
|
5
|
+
"data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
|
|
6
|
+
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
+
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
+
"data-nav-layout": e.navLayout || void 0
|
|
6
9
|
};
|
|
10
|
+
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
+
a.startsWith("data-") && (t[a] = d);
|
|
12
|
+
}), t;
|
|
7
13
|
}
|
|
8
14
|
export {
|
|
9
|
-
|
|
15
|
+
n as getDataAttributes
|
|
10
16
|
};
|
|
11
17
|
//# sourceMappingURL=index108.js.map
|
package/dist/index108.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/**\n * Extracts `data-` attributes from the DayPicker props.\n *\n * This function collects all `data-` attributes from the props and adds\n * additional attributes based on the DayPicker configuration.\n *\n * @param props The DayPicker props.\n * @returns An object containing the `data-` attributes.\n */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined,\n \"data-nav-layout\": props.navLayout || undefined,\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n"],"names":["getDataAttributes","props","dataAttributes","key","val"],"mappings":"AASO,SAASA,EAAkBC,GAAO;AACrC,QAAMC,IAAiB;AAAA,IACnB,aAAaD,EAAM,QAAQ;AAAA,IAC3B,iBAAiB,cAAcA,IAAQA,EAAM,WAAW;AAAA,IACxD,wBAAyBA,EAAM,kBAAkBA,EAAM,iBAAiB,KAAM;AAAA,IAC9E,qBAAqBA,EAAM,kBAAkB;AAAA,IAC7C,2BAA2BA,EAAM,qBAAqB;AAAA,IACtD,mBAAmBA,EAAM,aAAa;AAAA,EAC9C;AACI,gBAAO,QAAQA,CAAK,EAAE,QAAQ,CAAC,CAACE,GAAKC,CAAG,MAAM;AAC1C,IAAID,EAAI,WAAW,OAAO,MACtBD,EAAeC,CAAG,IAAIC;AAAA,EAE9B,CAAC,GACMF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index109.js
CHANGED
|
@@ -1,35 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
|
|
14
|
-
function Y(l, a) {
|
|
15
|
-
const e = a.locale?.labels ?? {};
|
|
16
|
-
return {
|
|
17
|
-
...o,
|
|
18
|
-
...l ?? {},
|
|
19
|
-
labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
|
|
20
|
-
labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
|
|
21
|
-
labelNext: r(N, l?.labelNext, e.labelNext),
|
|
22
|
-
labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
|
|
23
|
-
labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
|
|
24
|
-
labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
|
|
25
|
-
labelGrid: r(d, l?.labelGrid, e.labelGrid),
|
|
26
|
-
labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
|
|
27
|
-
labelNav: r(n, l?.labelNav, e.labelNav),
|
|
28
|
-
labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
|
|
29
|
-
labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
|
|
30
|
-
};
|
|
1
|
+
import { UI as t, DayFlag as e, SelectionState as r, Animation as s } from "./index117.js";
|
|
2
|
+
function i() {
|
|
3
|
+
const o = {};
|
|
4
|
+
for (const n in t)
|
|
5
|
+
o[t[n]] = `rdp-${t[n]}`;
|
|
6
|
+
for (const n in e)
|
|
7
|
+
o[e[n]] = `rdp-${e[n]}`;
|
|
8
|
+
for (const n in r)
|
|
9
|
+
o[r[n]] = `rdp-${r[n]}`;
|
|
10
|
+
for (const n in s)
|
|
11
|
+
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
+
return o;
|
|
31
13
|
}
|
|
32
14
|
export {
|
|
33
|
-
|
|
15
|
+
i as getDefaultClassNames
|
|
34
16
|
};
|
|
35
17
|
//# sourceMappingURL=index109.js.map
|
package/dist/index109.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js"],"sourcesContent":["import { Animation, DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the default class names for the UI elements.\n *\n * This function generates a mapping of default class names for various UI\n * elements, day flags, selection states, and animations.\n *\n * @returns An object containing the default class names.\n * @group Utilities\n */\nexport function getDefaultClassNames() {\n const classNames = {};\n for (const key in UI) {\n classNames[UI[key]] =\n `rdp-${UI[key]}`;\n }\n for (const key in DayFlag) {\n classNames[DayFlag[key]] =\n `rdp-${DayFlag[key]}`;\n }\n for (const key in SelectionState) {\n classNames[SelectionState[key]] =\n `rdp-${SelectionState[key]}`;\n }\n for (const key in Animation) {\n classNames[Animation[key]] =\n `rdp-${Animation[key]}`;\n }\n return classNames;\n}\n"],"names":["getDefaultClassNames","classNames","key","UI","DayFlag","SelectionState","Animation"],"mappings":";AAUO,SAASA,IAAuB;AACnC,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAAOC;AACd,IAAAF,EAAWE,EAAGD,CAAG,CAAC,IACd,OAAOC,EAAGD,CAAG,CAAC;AAEtB,aAAWA,KAAOE;AACd,IAAAH,EAAWG,EAAQF,CAAG,CAAC,IACnB,OAAOE,EAAQF,CAAG,CAAC;AAE3B,aAAWA,KAAOG;AACd,IAAAJ,EAAWI,EAAeH,CAAG,CAAC,IAC1B,OAAOG,EAAeH,CAAG,CAAC;AAElC,aAAWA,KAAOI;AACd,IAAAL,EAAWK,EAAUJ,CAAG,CAAC,IACrB,OAAOI,EAAUJ,CAAG,CAAC;AAE7B,SAAOD;AACX;","x_google_ignoreList":[0]}
|