@rpcbase/ui 0.189.0 → 0.191.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/FilesUploadField/index.d.ts.map +1 -1
- package/dist/index100.js +420 -139
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +149 -71
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +74 -229
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +262 -9
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +9 -42
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +42 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -46
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +597 -197
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +52 -22
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -24
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +4 -399
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +15 -46
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +6 -52
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +6 -3
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +16 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +4 -15
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +4 -5
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -7
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -16
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +4 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +4 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +6 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +24 -5
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +6 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +2 -2
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +5 -5
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +4 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +5 -4
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +4 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +8 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -3
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +3 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +6 -8
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +145 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +39 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +7 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +13 -145
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +13 -39
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +7 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +29 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +10 -13
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +10 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +8 -7
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +13 -31
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +101 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +20 -11
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +53 -8
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +55 -54
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +70 -11
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +9 -101
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +21 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +15 -52
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +23 -72
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +6 -9
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +5 -20
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +23 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +35 -24
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +16 -7
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +6 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -23
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +5 -35
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +5 -16
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +4 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +3 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +6 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +24 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +7 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +6 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +5 -6
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -24
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +3 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +4 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +3 -5
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +4 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +3 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +3 -4
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +3 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +24 -4
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +29 -4
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -4
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +148 -61
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +27 -177
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +9 -46
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +46 -12
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +10 -153
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +42 -28
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +95 -9
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +82 -43
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +104 -10
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +50 -42
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +10 -94
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +33 -82
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -105
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +110 -46
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +17 -11
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +13 -35
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +3 -8
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +6 -6
- package/dist/index200.js +32 -112
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +20 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +9 -15
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +8 -3
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +14 -31
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +27 -19
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +15 -8
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +66 -7
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +179 -18
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +44 -26
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +15 -15
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -24
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +6 -29
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +59 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +64 -14
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +4 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +7 -58
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +17 -66
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -6
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -1
- package/dist/index220.js +5 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +13 -7
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +9 -16
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -5
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +14 -5
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +5 -13
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +5 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +7 -14
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +6 -14
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -6
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -7
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +9 -6
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -9
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +4 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +11 -9
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +11 -4
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +11 -11
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +10 -10
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +7 -10
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +6 -11
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -11
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +6 -10
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +7 -7
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +6 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +55 -5
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +8 -6
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +19 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +29 -6
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +12 -55
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +25 -8
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +5 -19
- package/dist/index254.js.map +1 -1
- package/dist/index259.js +3 -3
- package/dist/index265.js +1 -1
- package/dist/index266.js +2 -2
- package/dist/index268.js +3 -3
- package/dist/index270.js +5 -30
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -13
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +22 -24
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +112 -5
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +15 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +525 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +128 -3
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +132 -22
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +19 -111
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +4 -15
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +1 -1
- package/dist/index280.js +17 -523
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +12 -127
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +61 -130
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +69 -5
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +8 -18
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +14 -13
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +65 -64
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +6 -69
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +6 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +4 -14
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +15 -65
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +8 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +5 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +5 -4
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +545 -15
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +47 -9
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +17 -5
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +6 -4
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +8 -545
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +8 -47
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +1 -1
- package/dist/index300.js +8 -17
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +12 -6
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +9 -8
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +13 -7
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +3 -8
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +22 -12
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +4 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +56 -14
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +68 -4
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +31 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +9 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +147 -50
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +106 -66
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +12 -30
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +28 -9
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +4 -152
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +22 -107
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +15 -22
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +28 -12
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +12 -27
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index320.js +7 -5
- package/dist/index320.js.map +1 -1
- package/dist/index33.js +3 -3
- package/dist/index35.js +16 -2635
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +113 -377
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +204 -215
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +87 -18
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +115 -126
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +5 -221
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +836 -83
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +53 -115
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +7 -5
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +2 -844
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +12 -57
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +18 -7
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +8 -2
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +2 -12
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +22 -17
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +233 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +4 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +6 -23
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +46 -232
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +26 -204
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +51 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +8 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +14 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +133 -7
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +10 -5
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +214 -51
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +13 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +34 -2
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +46 -3
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +7 -6
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +48 -46
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +4 -27
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +4 -49
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +28 -8
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +50 -15
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +8 -133
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +205 -11
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +2 -217
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -13
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +5 -33
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +7 -46
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -7
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -50
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +11 -5
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +46 -27
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +204 -48
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +21 -8
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +24 -11
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +383 -589
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +46 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -68
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +69 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -364
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +303 -201
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +247 -46
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +56 -42
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +46 -169
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +156 -96
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +109 -24
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +25 -8
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +8 -5
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +5 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -466
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index321.js +0 -19
- package/dist/index321.js.map +0 -1
- package/dist/index322.js +0 -32
- package/dist/index322.js.map +0 -1
- package/dist/index323.js +0 -16
- package/dist/index323.js.map +0 -1
- package/dist/index324.js +0 -10
- package/dist/index324.js.map +0 -1
package/dist/index139.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index139.js","sources":["../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, eachYearOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear, } from \"date-fns\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\nimport { enUS } from \"../locale/en-US.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the years between the given dates.\n *\n * @since 9.11.1\n * @param interval The interval to get the years for.\n * @returns The array of years in the interval.\n */\n this.eachYearOfInterval = (interval) => {\n const years = this.overrides?.eachYearOfInterval\n ? this.overrides.eachYearOfInterval(interval)\n : eachYearOfInterval(interval);\n // Remove duplicates that may happen across DST transitions (e.g., \"America/Sao_Paulo\")\n // See https://github.com/date-fns/tz/issues/72\n const uniqueYears = new Set(years.map((d) => this.getYear(d)));\n if (uniqueYears.size === years.length) {\n // No duplicates, return as is\n return years;\n }\n // Rebuild the array to ensure one date per year\n const yearsArray = [];\n uniqueYears.forEach((y) => {\n yearsArray.push(new Date(y, 0, 1));\n });\n return yearsArray;\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, _options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, _options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, _options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, _options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, _dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, _options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals,\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n /**\n * Returns the preferred ordering for month and year labels for the current\n * locale.\n */\n getMonthYearOrder() {\n const code = this.options.locale?.code;\n if (!code) {\n return \"month-first\";\n }\n return DateLib.yearFirstLocales.has(code) ? \"year-first\" : \"month-first\";\n }\n /**\n * Formats the month/year pair respecting locale conventions.\n *\n * @since 9.11.0\n */\n formatMonthYear(date) {\n const { locale, timeZone, numerals } = this.options;\n const localeCode = locale?.code;\n if (localeCode && DateLib.yearFirstLocales.has(localeCode)) {\n try {\n const intl = new Intl.DateTimeFormat(localeCode, {\n month: \"long\",\n year: \"numeric\",\n timeZone,\n numberingSystem: numerals,\n });\n const formatted = intl.format(date);\n return formatted;\n }\n catch {\n // Fallback to date-fns formatting below.\n }\n }\n const pattern = this.getMonthYearOrder() === \"year-first\" ? \"y LLLL\" : \"LLLL y\";\n return this.format(date, pattern);\n }\n}\nDateLib.yearFirstLocales = new Set([\n \"eu\",\n \"hu\",\n \"ja\",\n \"ja-Hira\",\n \"ja-JP\",\n \"ko\",\n \"ko-KR\",\n \"lt\",\n \"lt-LT\",\n \"lv\",\n \"lv-LV\",\n \"mn\",\n \"mn-MN\",\n \"zh\",\n \"zh-CN\",\n \"zh-HK\",\n \"zh-TW\",\n]);\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"../locale/en-US.js\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n"],"names":["DateLib","options","overrides","TZDate","year","monthIndex","date","amount","addDays","addMonths","addWeeks","addYears","dateLeft","dateRight","differenceInCalendarDays","differenceInCalendarMonths","interval","eachMonthOfInterval","years","eachYearOfInterval","uniqueYears","d","yearsArray","y","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","formatStr","_options","formatted","format","getISOWeek","getMonth","getYear","getWeek","dateToCompare","isAfter","isBefore","value","isDate","isSameDay","isSameMonth","isSameYear","dates","max","min","month","setMonth","setYear","_dateLib","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","enUS","numerals","formatter","digitMap","i","input","digit","code","locale","timeZone","localeCode","pattern","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,MAAMA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOjB,YAAYC,GAASC,GAAW;AAM5B,SAAK,OAAO,MAOZ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A;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;AAQW,MAACsE,KAAiB,IAAItE,EAAO;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index139.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/index140.js
CHANGED
|
@@ -1,43 +1,17 @@
|
|
|
1
|
-
import { DayFlag as e } from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
[e
|
|
8
|
-
|
|
9
|
-
[
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
};
|
|
38
|
-
};
|
|
1
|
+
import { UI as t, DayFlag as e, SelectionState as r, Animation as s } from "./index148.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;
|
|
39
13
|
}
|
|
40
14
|
export {
|
|
41
|
-
|
|
15
|
+
i as getDefaultClassNames
|
|
42
16
|
};
|
|
43
17
|
//# sourceMappingURL=index140.js.map
|
package/dist/index140.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index140.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]}
|
package/dist/index141.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
1
|
+
import * as a from "./index159.js";
|
|
2
|
+
function f(n) {
|
|
3
|
+
return n?.formatMonthCaption && !n.formatCaption && (n.formatCaption = n.formatMonthCaption), n?.formatYearCaption && !n.formatYearDropdown && (n.formatYearDropdown = n.formatYearCaption), {
|
|
4
|
+
...a,
|
|
5
|
+
...n
|
|
6
|
+
};
|
|
4
7
|
}
|
|
5
8
|
export {
|
|
6
|
-
|
|
9
|
+
f as getFormatters
|
|
7
10
|
};
|
|
8
11
|
//# sourceMappingURL=index141.js.map
|
package/dist/index141.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFormatters.js"],"sourcesContent":["import * as defaultFormatters from \"../formatters/index.js\";\n/**\n * Merges custom formatters from the props with the default formatters.\n *\n * @param customFormatters The custom formatters provided in the DayPicker\n * props.\n * @returns The merged formatters object.\n */\nexport function getFormatters(customFormatters) {\n if (customFormatters?.formatMonthCaption && !customFormatters.formatCaption) {\n customFormatters.formatCaption = customFormatters.formatMonthCaption;\n }\n if (customFormatters?.formatYearCaption &&\n !customFormatters.formatYearDropdown) {\n customFormatters.formatYearDropdown = customFormatters.formatYearCaption;\n }\n return {\n ...defaultFormatters,\n ...customFormatters,\n };\n}\n"],"names":["getFormatters","customFormatters","defaultFormatters"],"mappings":";AAQO,SAASA,EAAcC,GAAkB;AAC5C,SAAIA,GAAkB,sBAAsB,CAACA,EAAiB,kBAC1DA,EAAiB,gBAAgBA,EAAiB,qBAElDA,GAAkB,qBAClB,CAACA,EAAiB,uBAClBA,EAAiB,qBAAqBA,EAAiB,oBAEpD;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAA,EACX;AACA;","x_google_ignoreList":[0]}
|
package/dist/index142.js
CHANGED
|
@@ -1,11 +1,35 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
1
|
+
import * as o from "./index167.js";
|
|
2
|
+
import { labelWeekday as b } from "./index175.js";
|
|
3
|
+
import { labelWeekNumberHeader as i } from "./index177.js";
|
|
4
|
+
import { labelNav as n } from "./index172.js";
|
|
5
|
+
import { labelGridcell as t } from "./index170.js";
|
|
6
|
+
import { labelGrid as d } from "./index169.js";
|
|
7
|
+
import { labelYearDropdown as p } from "./index178.js";
|
|
8
|
+
import { labelWeekNumber as m } from "./index176.js";
|
|
9
|
+
import { labelPrevious as f } from "./index174.js";
|
|
10
|
+
import { labelNext as N } from "./index173.js";
|
|
11
|
+
import { labelMonthDropdown as k } from "./index171.js";
|
|
12
|
+
import { labelDayButton as D } from "./index168.js";
|
|
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 ?? {};
|
|
3
16
|
return {
|
|
4
|
-
...
|
|
5
|
-
...
|
|
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)
|
|
6
30
|
};
|
|
7
31
|
}
|
|
8
32
|
export {
|
|
9
|
-
|
|
33
|
+
Y as getLabels
|
|
10
34
|
};
|
|
11
35
|
//# sourceMappingURL=index142.js.map
|
package/dist/index142.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getLabels.js"],"sourcesContent":["import * as defaultLabels from \"../labels/index.js\";\nconst resolveLabel = (defaultLabel, customLabel, localeLabel) => {\n if (customLabel)\n return customLabel;\n if (localeLabel) {\n return (typeof localeLabel === \"function\"\n ? localeLabel\n : (..._args) => localeLabel);\n }\n return defaultLabel;\n};\n/**\n * Merges custom labels from the props with the default labels.\n *\n * When available, uses the locale-provided translation for `labelNext`.\n *\n * @param customLabels The custom labels provided in the DayPicker props.\n * @param options Options from the date library, used to resolve locale\n * translations.\n * @returns The merged labels object with locale-aware defaults.\n */\nexport function getLabels(customLabels, options) {\n const localeLabels = options.locale?.labels ?? {};\n return {\n ...defaultLabels,\n ...(customLabels ?? {}),\n labelDayButton: resolveLabel(defaultLabels.labelDayButton, customLabels?.labelDayButton, localeLabels.labelDayButton),\n labelMonthDropdown: resolveLabel(defaultLabels.labelMonthDropdown, customLabels?.labelMonthDropdown, localeLabels.labelMonthDropdown),\n labelNext: resolveLabel(defaultLabels.labelNext, customLabels?.labelNext, localeLabels.labelNext),\n labelPrevious: resolveLabel(defaultLabels.labelPrevious, customLabels?.labelPrevious, localeLabels.labelPrevious),\n labelWeekNumber: resolveLabel(defaultLabels.labelWeekNumber, customLabels?.labelWeekNumber, localeLabels.labelWeekNumber),\n labelYearDropdown: resolveLabel(defaultLabels.labelYearDropdown, customLabels?.labelYearDropdown, localeLabels.labelYearDropdown),\n labelGrid: resolveLabel(defaultLabels.labelGrid, customLabels?.labelGrid, localeLabels.labelGrid),\n labelGridcell: resolveLabel(defaultLabels.labelGridcell, customLabels?.labelGridcell, localeLabels.labelGridcell),\n labelNav: resolveLabel(defaultLabels.labelNav, customLabels?.labelNav, localeLabels.labelNav),\n labelWeekNumberHeader: resolveLabel(defaultLabels.labelWeekNumberHeader, customLabels?.labelWeekNumberHeader, localeLabels.labelWeekNumberHeader),\n labelWeekday: resolveLabel(defaultLabels.labelWeekday, customLabels?.labelWeekday, localeLabels.labelWeekday),\n };\n}\n"],"names":["resolveLabel","defaultLabel","customLabel","localeLabel","_args","getLabels","customLabels","options","localeLabels","defaultLabels","defaultLabels.labelDayButton","defaultLabels.labelMonthDropdown","defaultLabels.labelNext","defaultLabels.labelPrevious","defaultLabels.labelWeekNumber","defaultLabels.labelYearDropdown","defaultLabels.labelGrid","defaultLabels.labelGridcell","defaultLabels.labelNav","defaultLabels.labelWeekNumberHeader","defaultLabels.labelWeekday"],"mappings":";;;;;;;;;;;;AACA,MAAMA,IAAe,CAACC,GAAcC,GAAaC,MACzCD,MAEAC,IACQ,OAAOA,KAAgB,aACzBA,IACA,IAAIC,MAAUD,IAEjBF;AAYJ,SAASI,EAAUC,GAAcC,GAAS;AAC7C,QAAMC,IAAeD,EAAQ,QAAQ,UAAU,CAAA;AAC/C,SAAO;AAAA,IACH,GAAGE;AAAAA,IACH,GAAIH,KAAgB,CAAA;AAAA,IACpB,gBAAgBN,EAAaU,GAA8BJ,GAAc,gBAAgBE,EAAa,cAAc;AAAA,IACpH,oBAAoBR,EAAaW,GAAkCL,GAAc,oBAAoBE,EAAa,kBAAkB;AAAA,IACpI,WAAWR,EAAaY,GAAyBN,GAAc,WAAWE,EAAa,SAAS;AAAA,IAChG,eAAeR,EAAaa,GAA6BP,GAAc,eAAeE,EAAa,aAAa;AAAA,IAChH,iBAAiBR,EAAac,GAA+BR,GAAc,iBAAiBE,EAAa,eAAe;AAAA,IACxH,mBAAmBR,EAAae,GAAiCT,GAAc,mBAAmBE,EAAa,iBAAiB;AAAA,IAChI,WAAWR,EAAagB,GAAyBV,GAAc,WAAWE,EAAa,SAAS;AAAA,IAChG,eAAeR,EAAaiB,GAA6BX,GAAc,eAAeE,EAAa,aAAa;AAAA,IAChH,UAAUR,EAAakB,GAAwBZ,GAAc,UAAUE,EAAa,QAAQ;AAAA,IAC5F,uBAAuBR,EAAamB,GAAqCb,GAAc,uBAAuBE,EAAa,qBAAqB;AAAA,IAChJ,cAAcR,EAAaoB,GAA4Bd,GAAc,cAAcE,EAAa,YAAY;AAAA,EACpH;AACA;","x_google_ignoreList":[0]}
|
package/dist/index143.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
function n
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
-
a.startsWith("data-") && (t[a] = d);
|
|
12
|
-
}), t;
|
|
1
|
+
function d(o, n, s, a, e) {
|
|
2
|
+
const { startOfMonth: r, startOfYear: c, endOfYear: f, eachMonthOfInterval: l, getMonth: p } = e;
|
|
3
|
+
return l({
|
|
4
|
+
start: c(o),
|
|
5
|
+
end: f(o)
|
|
6
|
+
}).map((t) => {
|
|
7
|
+
const O = a.formatMonthDropdown(t, e), h = p(t), u = n && t < r(n) || s && t > r(s) || !1;
|
|
8
|
+
return { value: h, label: O, disabled: u };
|
|
9
|
+
});
|
|
13
10
|
}
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
d as getMonthOptions
|
|
16
13
|
};
|
|
17
14
|
//# sourceMappingURL=index143.js.map
|
package/dist/index143.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js"],"sourcesContent":["/**\n * Returns the months to show in the dropdown.\n *\n * This function generates a list of months for the current year, formatted\n * using the provided formatter, and determines whether each month should be\n * disabled based on the navigation range.\n *\n * @param displayMonth The currently displayed month.\n * @param navStart The start date for navigation.\n * @param navEnd The end date for navigation.\n * @param formatters The formatters to use for formatting the month labels.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dropdown options representing the months, or `undefined`\n * if no months are available.\n */\nexport function getMonthOptions(displayMonth, navStart, navEnd, formatters, dateLib) {\n const { startOfMonth, startOfYear, endOfYear, eachMonthOfInterval, getMonth, } = dateLib;\n const months = eachMonthOfInterval({\n start: startOfYear(displayMonth),\n end: endOfYear(displayMonth),\n });\n const options = months.map((month) => {\n const label = formatters.formatMonthDropdown(month, dateLib);\n const value = getMonth(month);\n const disabled = (navStart && month < startOfMonth(navStart)) ||\n (navEnd && month > startOfMonth(navEnd)) ||\n false;\n return { value, label, disabled };\n });\n return options;\n}\n"],"names":["getMonthOptions","displayMonth","navStart","navEnd","formatters","dateLib","startOfMonth","startOfYear","endOfYear","eachMonthOfInterval","getMonth","month","label","value","disabled"],"mappings":"AAeO,SAASA,EAAgBC,GAAcC,GAAUC,GAAQC,GAAYC,GAAS;AACjF,QAAM,EAAE,cAAAC,GAAc,aAAAC,GAAa,WAAAC,GAAW,qBAAAC,GAAqB,UAAAC,EAAQ,IAAML;AAajF,SAZeI,EAAoB;AAAA,IAC/B,OAAOF,EAAYN,CAAY;AAAA,IAC/B,KAAKO,EAAUP,CAAY;AAAA,EACnC,CAAK,EACsB,IAAI,CAACU,MAAU;AAClC,UAAMC,IAAQR,EAAW,oBAAoBO,GAAON,CAAO,GACrDQ,IAAQH,EAASC,CAAK,GACtBG,IAAYZ,KAAYS,IAAQL,EAAaJ,CAAQ,KACtDC,KAAUQ,IAAQL,EAAaH,CAAM,KACtC;AACJ,WAAO,EAAE,OAAAU,GAAO,OAAAD,GAAO,UAAAE,EAAQ;AAAA,EACnC,CAAC;AAEL;","x_google_ignoreList":[0]}
|
package/dist/index144.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { UI as
|
|
2
|
-
function i
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
for (const n in s)
|
|
11
|
-
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
-
return o;
|
|
1
|
+
import { UI as f } from "./index148.js";
|
|
2
|
+
function n(r, o = {}, i = {}) {
|
|
3
|
+
let e = { ...o?.[f.Day] };
|
|
4
|
+
return Object.entries(r).filter(([, t]) => t === !0).forEach(([t]) => {
|
|
5
|
+
e = {
|
|
6
|
+
...e,
|
|
7
|
+
...i?.[t]
|
|
8
|
+
};
|
|
9
|
+
}), e;
|
|
13
10
|
}
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
n as getStyleForModifiers
|
|
16
13
|
};
|
|
17
14
|
//# sourceMappingURL=index144.js.map
|
package/dist/index144.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js"],"sourcesContent":["import { UI } from \"../UI.js\";\n/**\n * Returns the computed style for a day based on its modifiers.\n *\n * This function merges the base styles for the day with any styles associated\n * with active modifiers.\n *\n * @param dayModifiers The modifiers applied to the day.\n * @param styles The base styles for the calendar elements.\n * @param modifiersStyles The styles associated with specific modifiers.\n * @returns The computed style for the day.\n */\nexport function getStyleForModifiers(dayModifiers, styles = {}, modifiersStyles = {}) {\n let style = { ...styles?.[UI.Day] };\n Object.entries(dayModifiers)\n .filter(([, active]) => active === true)\n .forEach(([modifier]) => {\n style = {\n ...style,\n ...modifiersStyles?.[modifier],\n };\n });\n return style;\n}\n"],"names":["getStyleForModifiers","dayModifiers","styles","modifiersStyles","style","UI","active","modifier"],"mappings":";AAYO,SAASA,EAAqBC,GAAcC,IAAS,CAAA,GAAIC,IAAkB,CAAA,GAAI;AAClF,MAAIC,IAAQ,EAAE,GAAGF,IAASG,EAAG,GAAG,EAAC;AACjC,gBAAO,QAAQJ,CAAY,EACtB,OAAO,CAAC,CAAA,EAAGK,CAAM,MAAMA,MAAW,EAAI,EACtC,QAAQ,CAAC,CAACC,CAAQ,MAAM;AACzB,IAAAH,IAAQ;AAAA,MACJ,GAAGA;AAAA,MACH,GAAGD,IAAkBI,CAAQ;AAAA,IACzC;AAAA,EACI,CAAC,GACMH;AACX;","x_google_ignoreList":[0]}
|
package/dist/index145.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
function y(t, o, a, n) {
|
|
2
|
+
const s = n ?? t.today(), c = a ? t.startOfBroadcastWeek(s, t) : o ? t.startOfISOWeek(s) : t.startOfWeek(s), r = [];
|
|
3
|
+
for (let e = 0; e < 7; e++) {
|
|
4
|
+
const f = t.addDays(c, e);
|
|
5
|
+
r.push(f);
|
|
6
|
+
}
|
|
7
|
+
return r;
|
|
7
8
|
}
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
y as getWeekdays
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=index145.js.map
|
package/dist/index145.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index145.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index145.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js"],"sourcesContent":["/**\n * Generates a series of 7 days, starting from the beginning of the week, to use\n * for formatting weekday names (e.g., Monday, Tuesday, etc.).\n *\n * @param dateLib The date library to use for date manipulation.\n * @param ISOWeek Whether to use ISO week numbering (weeks start on Monday).\n * @param broadcastCalendar Whether to use the broadcast calendar (weeks start\n * on Monday, but may include adjustments for broadcast-specific rules).\n * @returns An array of 7 dates representing the weekdays.\n */\nexport function getWeekdays(dateLib, ISOWeek, broadcastCalendar, today) {\n const referenceToday = today ?? dateLib.today();\n const start = broadcastCalendar\n ? dateLib.startOfBroadcastWeek(referenceToday, dateLib)\n : ISOWeek\n ? dateLib.startOfISOWeek(referenceToday)\n : dateLib.startOfWeek(referenceToday);\n const days = [];\n for (let i = 0; i < 7; i++) {\n const day = dateLib.addDays(start, i);\n days.push(day);\n }\n return days;\n}\n"],"names":["getWeekdays","dateLib","ISOWeek","broadcastCalendar","today","referenceToday","start","days","i","day"],"mappings":"AAUO,SAASA,EAAYC,GAASC,GAASC,GAAmBC,GAAO;AACpE,QAAMC,IAAiBD,KAASH,EAAQ,MAAK,GACvCK,IAAQH,IACRF,EAAQ,qBAAqBI,GAAgBJ,CAAO,IACpDC,IACID,EAAQ,eAAeI,CAAc,IACrCJ,EAAQ,YAAYI,CAAc,GACtCE,IAAO,CAAA;AACb,WAASC,IAAI,GAAGA,IAAI,GAAGA,KAAK;AACxB,UAAMC,IAAMR,EAAQ,QAAQK,GAAOE,CAAC;AACpC,IAAAD,EAAK,KAAKE,CAAG;AAAA,EACjB;AACA,SAAOF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index146.js
CHANGED
|
@@ -1,35 +1,17 @@
|
|
|
1
|
-
|
|
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
|
+
function p(e, r, s, t, f = !1) {
|
|
2
|
+
if (!e || !r)
|
|
3
|
+
return;
|
|
4
|
+
const { startOfYear: o, endOfYear: i, eachYearOfInterval: l, getYear: u } = t, Y = o(e), c = i(r), a = l({ start: Y, end: c });
|
|
5
|
+
return f && a.reverse(), a.map((n) => {
|
|
6
|
+
const d = s.formatYearDropdown(n, t);
|
|
7
|
+
return {
|
|
8
|
+
value: u(n),
|
|
9
|
+
label: d,
|
|
10
|
+
disabled: !1
|
|
11
|
+
};
|
|
12
|
+
});
|
|
31
13
|
}
|
|
32
14
|
export {
|
|
33
|
-
|
|
15
|
+
p as getYearOptions
|
|
34
16
|
};
|
|
35
17
|
//# sourceMappingURL=index146.js.map
|
package/dist/index146.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index146.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index146.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js"],"sourcesContent":["/**\n * Returns the years to display in the dropdown.\n *\n * This function generates a list of years between the navigation start and end\n * dates, formatted using the provided formatter.\n *\n * @param navStart The start date for navigation.\n * @param navEnd The end date for navigation.\n * @param formatters The formatters to use for formatting the year labels.\n * @param dateLib The date library to use for date manipulation.\n * @param reverse If true, reverses the order of the years (descending).\n * @returns An array of dropdown options representing the years, or `undefined`\n * if `navStart` or `navEnd` is not provided.\n */\nexport function getYearOptions(navStart, navEnd, formatters, dateLib, reverse = false) {\n if (!navStart)\n return undefined;\n if (!navEnd)\n return undefined;\n const { startOfYear, endOfYear, eachYearOfInterval, getYear } = dateLib;\n const firstNavYear = startOfYear(navStart);\n const lastNavYear = endOfYear(navEnd);\n const years = eachYearOfInterval({ start: firstNavYear, end: lastNavYear });\n if (reverse)\n years.reverse();\n return years.map((year) => {\n const label = formatters.formatYearDropdown(year, dateLib);\n return {\n value: getYear(year),\n label,\n disabled: false,\n };\n });\n}\n"],"names":["getYearOptions","navStart","navEnd","formatters","dateLib","reverse","startOfYear","endOfYear","eachYearOfInterval","getYear","firstNavYear","lastNavYear","years","year","label"],"mappings":"AAcO,SAASA,EAAeC,GAAUC,GAAQC,GAAYC,GAASC,IAAU,IAAO;AAGnF,MAFI,CAACJ,KAED,CAACC;AACD;AACJ,QAAM,EAAE,aAAAI,GAAa,WAAAC,GAAW,oBAAAC,GAAoB,SAAAC,EAAO,IAAKL,GAC1DM,IAAeJ,EAAYL,CAAQ,GACnCU,IAAcJ,EAAUL,CAAM,GAC9BU,IAAQJ,EAAmB,EAAE,OAAOE,GAAc,KAAKC,GAAa;AAC1E,SAAIN,KACAO,EAAM,QAAO,GACVA,EAAM,IAAI,CAACC,MAAS;AACvB,UAAMC,IAAQX,EAAW,mBAAmBU,GAAMT,CAAO;AACzD,WAAO;AAAA,MACH,OAAOK,EAAQI,CAAI;AAAA,MACnB,OAAAC;AAAA,MACA,UAAU;AAAA,IACtB;AAAA,EACI,CAAC;AACL;","x_google_ignoreList":[0]}
|
package/dist/index147.js
CHANGED
|
@@ -1,14 +1,105 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { TZDate as c } from "./index213.js";
|
|
2
|
+
import "./index214.js";
|
|
3
|
+
import { differenceInCalendarMonths as h } from "./index222.js";
|
|
4
|
+
import { differenceInCalendarDays as O } from "./index221.js";
|
|
5
|
+
import { getISOWeek as k } from "./index229.js";
|
|
6
|
+
import { getWeek as w } from "./index232.js";
|
|
7
|
+
function W(o, D = {}) {
|
|
8
|
+
const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
|
|
9
|
+
const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
|
10
|
+
return new c(e.getFullYear(), e.getMonth(), e.getDate(), 12, 0, 0, o);
|
|
11
|
+
}, u = (t) => {
|
|
12
|
+
const e = r(t);
|
|
13
|
+
return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0);
|
|
14
|
+
};
|
|
15
|
+
return {
|
|
16
|
+
today: () => r(c.tz(o)),
|
|
17
|
+
newDate: (t, e, n) => new c(t, e, n, 12, 0, 0, o),
|
|
18
|
+
startOfDay: (t) => r(t),
|
|
19
|
+
startOfWeek: (t, e) => {
|
|
20
|
+
const n = r(t), a = e?.weekStartsOn ?? l, s = (n.getDay() - a + 7) % 7;
|
|
21
|
+
return n.setDate(n.getDate() - s), n;
|
|
22
|
+
},
|
|
23
|
+
startOfISOWeek: (t) => {
|
|
24
|
+
const e = r(t), n = (e.getDay() - 1 + 7) % 7;
|
|
25
|
+
return e.setDate(e.getDate() - n), e;
|
|
26
|
+
},
|
|
27
|
+
startOfMonth: (t) => {
|
|
28
|
+
const e = r(t);
|
|
29
|
+
return e.setDate(1), e;
|
|
30
|
+
},
|
|
31
|
+
startOfYear: (t) => {
|
|
32
|
+
const e = r(t);
|
|
33
|
+
return e.setMonth(0, 1), e;
|
|
34
|
+
},
|
|
35
|
+
endOfWeek: (t, e) => {
|
|
36
|
+
const n = r(t), f = (((e?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
|
|
37
|
+
return n.setDate(n.getDate() + f), n;
|
|
38
|
+
},
|
|
39
|
+
endOfISOWeek: (t) => {
|
|
40
|
+
const e = r(t), n = (7 - e.getDay()) % 7;
|
|
41
|
+
return e.setDate(e.getDate() + n), e;
|
|
42
|
+
},
|
|
43
|
+
endOfMonth: (t) => {
|
|
44
|
+
const e = r(t);
|
|
45
|
+
return e.setMonth(e.getMonth() + 1, 0), e;
|
|
46
|
+
},
|
|
47
|
+
endOfYear: (t) => {
|
|
48
|
+
const e = r(t);
|
|
49
|
+
return e.setMonth(11, 31), e;
|
|
50
|
+
},
|
|
51
|
+
eachMonthOfInterval: (t) => {
|
|
52
|
+
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), e.getMonth(), 1, 12, 0, 0, o), f = n.getFullYear() * 12 + n.getMonth();
|
|
53
|
+
for (; s.getFullYear() * 12 + s.getMonth() <= f; )
|
|
54
|
+
a.push(new c(s, o)), s.setMonth(s.getMonth() + 1, 1);
|
|
55
|
+
return a;
|
|
56
|
+
},
|
|
57
|
+
// Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
|
|
58
|
+
// mutate the same TZDate, and return it.
|
|
59
|
+
addDays: (t, e) => {
|
|
60
|
+
const n = r(t);
|
|
61
|
+
return n.setDate(n.getDate() + e), n;
|
|
62
|
+
},
|
|
63
|
+
addWeeks: (t, e) => {
|
|
64
|
+
const n = r(t);
|
|
65
|
+
return n.setDate(n.getDate() + e * 7), n;
|
|
66
|
+
},
|
|
67
|
+
addMonths: (t, e) => {
|
|
68
|
+
const n = r(t);
|
|
69
|
+
return n.setMonth(n.getMonth() + e), n;
|
|
70
|
+
},
|
|
71
|
+
addYears: (t, e) => {
|
|
72
|
+
const n = r(t);
|
|
73
|
+
return n.setFullYear(n.getFullYear() + e), n;
|
|
74
|
+
},
|
|
75
|
+
eachYearOfInterval: (t) => {
|
|
76
|
+
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), 0, 1, 12, 0, 0, o);
|
|
77
|
+
for (; s.getFullYear() <= n.getFullYear(); )
|
|
78
|
+
a.push(new c(s, o)), s.setFullYear(s.getFullYear() + 1, 0, 1);
|
|
79
|
+
return a;
|
|
80
|
+
},
|
|
81
|
+
getWeek: (t, e) => {
|
|
82
|
+
const n = u(t);
|
|
83
|
+
return w(n, {
|
|
84
|
+
weekStartsOn: e?.weekStartsOn ?? l,
|
|
85
|
+
firstWeekContainsDate: e?.firstWeekContainsDate ?? g?.options?.firstWeekContainsDate ?? 1
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
getISOWeek: (t) => {
|
|
89
|
+
const e = u(t);
|
|
90
|
+
return k(e);
|
|
91
|
+
},
|
|
92
|
+
differenceInCalendarDays: (t, e) => {
|
|
93
|
+
const n = u(t), a = u(e);
|
|
94
|
+
return O(n, a);
|
|
95
|
+
},
|
|
96
|
+
differenceInCalendarMonths: (t, e) => {
|
|
97
|
+
const n = u(t), a = u(e);
|
|
98
|
+
return h(n, a);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
10
101
|
}
|
|
11
102
|
export {
|
|
12
|
-
|
|
103
|
+
W as createNoonOverrides
|
|
13
104
|
};
|
|
14
105
|
//# sourceMappingURL=index147.js.map
|