@rpcbase/ui 0.202.0 → 0.203.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/index.js +25 -73
- package/dist/index10.js +18 -28
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +8 -8
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +8 -7
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +14 -7
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +9 -9
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +14 -148
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +21 -43
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +27 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +8 -10
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +8 -16
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +9 -16
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +1674 -41
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +9 -10
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +8 -34
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +8 -13
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +11 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -11
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +37 -16
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +10 -104
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +9 -23
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +10 -56
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +12 -75
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +10 -470
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +8 -12
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +9 -23
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -19
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +8 -26
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +9 -9
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +8 -8
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +9 -27
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +11 -38
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +60 -19
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +9 -9
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +22 -140
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +23 -8
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +22 -7
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +37 -7
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +8 -7
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +11 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +17 -9
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +14 -27
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +9 -10
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +8 -9
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +8 -8
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +194 -78
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +8 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +8 -6
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +7 -7
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -6
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +24 -8
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +11 -6
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +10 -6
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +9 -6
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +9 -8
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +7 -10
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +33 -874
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +7 -8
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +9 -50
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +8 -50
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +9 -209
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +8 -25
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +7 -27
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +8 -403
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +32 -609
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +35 -19
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +18 -8
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +57 -23
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +14 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +12 -61
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +19 -69
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +89 -9
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +50 -7
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +20 -10
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +11 -20
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +13 -8
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +8 -8
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +25 -16
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +9 -20
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +10 -13
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +9 -17
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +9 -17
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +7 -8
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +9 -9
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +70 -10
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +20 -9
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +15 -12
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +12 -8
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +23 -8
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +27 -460
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +20 -12
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +58 -8
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -8
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +9 -7
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +29 -14
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +29 -13
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +16 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +16 -14
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +9 -14
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +26 -13
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +65 -666
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +388 -10
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +499 -10
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +134 -9
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +55 -9
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +80 -10
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +902 -9
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +22 -58
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +452 -12
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +7 -22
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +60 -32
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +10 -8
- package/dist/index20.js +43 -469
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +63 -15
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +11 -28
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +19 -8
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +148 -20
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +7 -11
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +13 -13
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +107 -13
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +359 -23
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +99 -14
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +329 -12
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +12 -266
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +213 -12
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +22 -8
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +30 -8
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +189 -18
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +21 -13
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +46 -21
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +12 -18
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +28 -16
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +47 -8
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +19 -70
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +16 -8
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +6 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -367
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +24 -265
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +27 -63
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +68 -47
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +17 -172
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -113
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +53 -27
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +8 -10
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +28 -6
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +109 -30
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +16 -8
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +12 -7
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +3 -470
- package/dist/index233.js +28 -188
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +68 -107
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +3 -266
- package/dist/index236.js +14 -12
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +53 -45
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +117 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -28
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +3 -269
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +15 -31
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +689 -7
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +256 -71
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +704 -184
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +7433 -49
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -7
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +16 -22
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +8 -15
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +462 -16
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +41 -158
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +11 -179
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +21 -32
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +30 -12
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +8 -52
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +62 -15
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -47
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +14 -97
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +6 -90
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +20 -109
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +28 -55
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +47 -15
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +22 -16
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +16 -40
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +28 -11
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +20 -119
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +38 -20
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +8 -18
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -6
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +11 -39
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +12 -23
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +13 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +10 -11
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +61 -2924
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +76 -22
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +174 -31
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +118 -20
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +18 -8
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +83 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +49 -26
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +15 -114
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +19 -18
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +98 -523
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +60 -131
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +58 -5
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +109 -134
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +75 -9
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +117 -9
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +59 -7
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +46 -18
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +146 -12
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +143 -9
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +258 -8
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +241 -546
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +302 -50
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +1 -40
- package/dist/index290.js +9 -21
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +9 -9
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +10 -11
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +9 -10
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +9 -11
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +24 -15
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +13 -12
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +130 -17
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +167 -23
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +69 -65
- package/dist/index299.js.map +1 -1
- package/dist/index3.js +6 -5
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +6 -6
- package/dist/index300.js +113 -72
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +495 -12
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +65 -16
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +7 -69
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +30 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +68 -58
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +155 -70
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +563 -32
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +213 -11
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +335 -156
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +8 -128
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +271 -110
- package/dist/index310.js.map +1 -1
- package/dist/index32.js +8 -234
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +8 -26
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +11 -54
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +13 -24
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +9 -133
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +11 -225
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +12 -94
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +15 -121
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +24 -28
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +9 -8
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +10 -847
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +10 -60
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +12 -10
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +12 -5
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +8 -14
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +8 -21
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +14 -10
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +15 -5
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +10 -26
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +34 -48
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +7 -236
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +9 -9
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +9 -36
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +9 -29
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +12 -10
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +16 -14
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +10 -5
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +10 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +10 -5
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +17 -5
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +42 -227
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +11 -208
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +11 -6
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +70 -50
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +10 -53
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +33 -10
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +13 -18
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +19 -137
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +203 -13
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +22 -218
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +20 -16
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +225 -37
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +125 -49
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +21 -52
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +12 -7
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +12 -8
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +17 -31
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +13 -53
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +13 -12
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +8 -55
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +44 -7
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +383 -7
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +36 -32
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +41 -18
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +25 -9
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +60 -10
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +10 -19
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +8 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +8 -7
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +8 -8
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +8 -8
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +9 -7
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +9 -7
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +33 -181
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +13 -9
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +10 -27
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +9 -9
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +8 -7
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +10 -9
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +50 -8
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +108 -7
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +13 -8
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +9 -7
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +9 -11
- package/dist/index99.js.map +1 -1
- package/package.json +6 -6
- package/dist/index.js.map +0 -1
- package/dist/index2.js.map +0 -1
- package/dist/index232.js.map +0 -1
- package/dist/index235.js.map +0 -1
- package/dist/index29.js.map +0 -1
- package/dist/index30.js.map +0 -1
- package/dist/index311.js +0 -7
- package/dist/index311.js.map +0 -1
- package/dist/index312.js +0 -26
- package/dist/index312.js.map +0 -1
- package/dist/index313.js +0 -19
- package/dist/index313.js.map +0 -1
- package/dist/index314.js +0 -32
- package/dist/index314.js.map +0 -1
- package/dist/index315.js +0 -16
- package/dist/index315.js.map +0 -1
- package/dist/index316.js +0 -10
- package/dist/index316.js.map +0 -1
- package/dist/index317.js +0 -26
- package/dist/index317.js.map +0 -1
- package/dist/index318.js +0 -16
- package/dist/index318.js.map +0 -1
- package/dist/index319.js +0 -31
- package/dist/index319.js.map +0 -1
- package/dist/index320.js +0 -8
- package/dist/index320.js.map +0 -1
package/dist/index162.js
CHANGED
|
@@ -1,70 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const e = -s(this.timeZone, this);
|
|
17
|
-
return e > 0 ? Math.floor(e) : Math.ceil(e);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region time
|
|
21
|
-
setTime(e) {
|
|
22
|
-
return Date.prototype.setTime.apply(this, arguments), a(this), +this;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region date-fns integration
|
|
26
|
-
[/* @__PURE__ */ Symbol.for("constructDateFrom")](e) {
|
|
27
|
-
return new n(+new Date(e), this.timeZone);
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
1
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js
|
|
2
|
+
function e(e, t, n, r, i = !1) {
|
|
3
|
+
if (!e || !t) return;
|
|
4
|
+
let { startOfYear: a, endOfYear: o, eachYearOfInterval: s, getYear: c } = r, l = s({
|
|
5
|
+
start: a(e),
|
|
6
|
+
end: o(t)
|
|
7
|
+
});
|
|
8
|
+
return i && l.reverse(), l.map((e) => {
|
|
9
|
+
let t = n.formatYearDropdown(e, r);
|
|
10
|
+
return {
|
|
11
|
+
value: c(e),
|
|
12
|
+
label: t,
|
|
13
|
+
disabled: !1
|
|
14
|
+
};
|
|
15
|
+
});
|
|
30
16
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
n.prototype[e] && (t.startsWith("get") ? n.prototype[t] = function() {
|
|
36
|
-
return this.internal[e]();
|
|
37
|
-
} : (n.prototype[t] = function() {
|
|
38
|
-
return Date.prototype[e].apply(this.internal, arguments), H(this), +this;
|
|
39
|
-
}, n.prototype[e] = function() {
|
|
40
|
-
return Date.prototype[e].apply(this, arguments), a(this), +this;
|
|
41
|
-
}));
|
|
42
|
-
});
|
|
43
|
-
function a(t) {
|
|
44
|
-
t.internal.setTime(+t), t.internal.setUTCSeconds(t.internal.getUTCSeconds() - Math.round(-s(t.timeZone, t) * 60));
|
|
45
|
-
}
|
|
46
|
-
function H(t) {
|
|
47
|
-
Date.prototype.setFullYear.call(t, t.internal.getUTCFullYear(), t.internal.getUTCMonth(), t.internal.getUTCDate()), Date.prototype.setHours.call(t, t.internal.getUTCHours(), t.internal.getUTCMinutes(), t.internal.getUTCSeconds(), t.internal.getUTCMilliseconds()), U(t);
|
|
48
|
-
}
|
|
49
|
-
function U(t) {
|
|
50
|
-
const e = s(t.timeZone, t), o = e > 0 ? Math.floor(e) : Math.ceil(e), i = /* @__PURE__ */ new Date(+t);
|
|
51
|
-
i.setUTCHours(i.getUTCHours() - 1);
|
|
52
|
-
const r = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset(), g = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset(), m = r - g, M = Date.prototype.getHours.apply(t) !== t.internal.getUTCHours();
|
|
53
|
-
m && M && t.internal.setUTCMinutes(t.internal.getUTCMinutes() + m);
|
|
54
|
-
const f = r - o;
|
|
55
|
-
f && Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + f);
|
|
56
|
-
const l = /* @__PURE__ */ new Date(+t);
|
|
57
|
-
l.setUTCSeconds(0);
|
|
58
|
-
const y = r > 0 ? l.getSeconds() : (l.getSeconds() - 60) % 60, c = Math.round(-(s(t.timeZone, t) * 60)) % 60;
|
|
59
|
-
(c || y) && (t.internal.setUTCSeconds(t.internal.getUTCSeconds() + c), Date.prototype.setUTCSeconds.call(t, Date.prototype.getUTCSeconds.call(t) + c + y));
|
|
60
|
-
const p = s(t.timeZone, t), u = p > 0 ? Math.floor(p) : Math.ceil(p), w = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - u, O = u !== o, C = w - f;
|
|
61
|
-
if (O && C) {
|
|
62
|
-
Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + C);
|
|
63
|
-
const h = s(t.timeZone, t), S = h > 0 ? Math.floor(h) : Math.ceil(h), T = u - S;
|
|
64
|
-
T && (t.internal.setUTCMinutes(t.internal.getUTCMinutes() + T), Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + T));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
export {
|
|
68
|
-
n as TZDateMini
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=index162.js.map
|
|
17
|
+
//#endregion
|
|
18
|
+
export { e as getYearOptions };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=index162.js.map
|
package/dist/index162.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index162.js","sources":["../../../node_modules/@date-fns/tz/date/mini.js"],"sourcesContent":["import { tzOffset } from \"../tzOffset/index.js\";\nexport class TZDateMini extends Date {\n //#region static\n\n constructor(...args) {\n super();\n if (args.length > 1 && typeof args[args.length - 1] === \"string\") {\n this.timeZone = args.pop();\n }\n this.internal = new Date();\n if (isNaN(tzOffset(this.timeZone, this))) {\n this.setTime(NaN);\n } else {\n if (!args.length) {\n this.setTime(Date.now());\n } else if (typeof args[0] === \"number\" && (args.length === 1 || args.length === 2 && typeof args[1] !== \"number\")) {\n this.setTime(args[0]);\n } else if (typeof args[0] === \"string\") {\n this.setTime(+new Date(args[0]));\n } else if (args[0] instanceof Date) {\n this.setTime(+args[0]);\n } else {\n this.setTime(+new Date(...args));\n adjustToSystemTZ(this, NaN);\n syncToInternal(this);\n }\n }\n }\n static tz(tz, ...args) {\n return args.length ? new TZDateMini(...args, tz) : new TZDateMini(Date.now(), tz);\n }\n\n //#endregion\n\n //#region time zone\n\n withTimeZone(timeZone) {\n return new TZDateMini(+this, timeZone);\n }\n getTimezoneOffset() {\n const offset = -tzOffset(this.timeZone, this);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n return offset > 0 ? Math.floor(offset) : Math.ceil(offset);\n }\n\n //#endregion\n\n //#region time\n\n setTime(time) {\n Date.prototype.setTime.apply(this, arguments);\n syncToInternal(this);\n return +this;\n }\n\n //#endregion\n\n //#region date-fns integration\n\n [Symbol.for(\"constructDateFrom\")](date) {\n return new TZDateMini(+new Date(date), this.timeZone);\n }\n\n //#endregion\n}\n\n// Assign getters and setters\nconst re = /^(get|set)(?!UTC)/;\nObject.getOwnPropertyNames(Date.prototype).forEach(method => {\n if (!re.test(method)) return;\n const utcMethod = method.replace(re, \"$1UTC\");\n // Filter out methods without UTC counterparts\n if (!TZDateMini.prototype[utcMethod]) return;\n if (method.startsWith(\"get\")) {\n // Delegate to internal date's UTC method\n TZDateMini.prototype[method] = function () {\n return this.internal[utcMethod]();\n };\n } else {\n // Assign regular setter\n TZDateMini.prototype[method] = function () {\n Date.prototype[utcMethod].apply(this.internal, arguments);\n syncFromInternal(this);\n return +this;\n };\n\n // Assign UTC setter\n TZDateMini.prototype[utcMethod] = function () {\n Date.prototype[utcMethod].apply(this, arguments);\n syncToInternal(this);\n return +this;\n };\n }\n});\n\n/**\n * Function syncs time to internal date, applying the time zone offset.\n *\n * @param {Date} date - Date to sync\n */\nfunction syncToInternal(date) {\n date.internal.setTime(+date);\n date.internal.setUTCSeconds(date.internal.getUTCSeconds() - Math.round(-tzOffset(date.timeZone, date) * 60));\n}\n\n/**\n * Function syncs the internal date UTC values to the date. It allows to get\n * accurate timestamp value.\n *\n * @param {Date} date - The date to sync\n */\nfunction syncFromInternal(date) {\n // First we transpose the internal values\n Date.prototype.setFullYear.call(date, date.internal.getUTCFullYear(), date.internal.getUTCMonth(), date.internal.getUTCDate());\n Date.prototype.setHours.call(date, date.internal.getUTCHours(), date.internal.getUTCMinutes(), date.internal.getUTCSeconds(), date.internal.getUTCMilliseconds());\n\n // Now we have to adjust the date to the system time zone\n adjustToSystemTZ(date);\n}\n\n/**\n * Function adjusts the date to the system time zone. It uses the time zone\n * differences to calculate the offset and adjust the date.\n *\n * @param {Date} date - Date to adjust\n */\nfunction adjustToSystemTZ(date) {\n // Save the time zone offset before all the adjustments\n const baseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const offset = baseOffset > 0 ? Math.floor(baseOffset) : Math.ceil(baseOffset);\n //#region System DST adjustment\n\n // The biggest problem with using the system time zone is that when we create\n // a date from internal values stored in UTC, the system time zone might end\n // up on the DST hour:\n //\n // $ TZ=America/New_York node\n // > new Date(2020, 2, 8, 1).toString()\n // 'Sun Mar 08 2020 01:00:00 GMT-0500 (Eastern Standard Time)'\n // > new Date(2020, 2, 8, 2).toString()\n // 'Sun Mar 08 2020 03:00:00 GMT-0400 (Eastern Daylight Time)'\n // > new Date(2020, 2, 8, 3).toString()\n // 'Sun Mar 08 2020 03:00:00 GMT-0400 (Eastern Daylight Time)'\n // > new Date(2020, 2, 8, 4).toString()\n // 'Sun Mar 08 2020 04:00:00 GMT-0400 (Eastern Daylight Time)'\n //\n // Here we get the same hour for both 2 and 3, because the system time zone\n // has DST beginning at 8 March 2020, 2 a.m. and jumps to 3 a.m. So we have\n // to adjust the internal date to reflect that.\n //\n // However we want to adjust only if that's the DST hour the change happenes,\n // not the hour where DST moves to.\n\n // We calculate the previous hour to see if the time zone offset has changed\n // and we have landed on the DST hour.\n const prevHour = new Date(+date);\n // We use UTC methods here as we don't want to land on the same hour again\n // in case of DST.\n prevHour.setUTCHours(prevHour.getUTCHours() - 1);\n\n // Calculate if we are on the system DST hour.\n const systemOffset = -new Date(+date).getTimezoneOffset();\n const prevHourSystemOffset = -new Date(+prevHour).getTimezoneOffset();\n const systemDSTChange = systemOffset - prevHourSystemOffset;\n // Detect the DST shift. System DST change will occur both on\n const dstShift = Date.prototype.getHours.apply(date) !== date.internal.getUTCHours();\n\n // Move the internal date when we are on the system DST hour.\n if (systemDSTChange && dstShift) date.internal.setUTCMinutes(date.internal.getUTCMinutes() + systemDSTChange);\n\n //#endregion\n\n //#region System diff adjustment\n\n // Now we need to adjust the date, since we just applied internal values.\n // We need to calculate the difference between the system and date time zones\n // and apply it to the date.\n\n const offsetDiff = systemOffset - offset;\n if (offsetDiff) Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetDiff);\n\n //#endregion\n\n //#region Seconds System diff adjustment\n\n const systemDate = new Date(+date);\n // Set the UTC seconds to 0 to isolate the timezone offset in seconds.\n systemDate.setUTCSeconds(0);\n // For negative systemOffset, invert the seconds.\n const systemSecondsOffset = systemOffset > 0 ? systemDate.getSeconds() : (systemDate.getSeconds() - 60) % 60;\n\n // Calculate the seconds offset based on the timezone offset.\n const secondsOffset = Math.round(-(tzOffset(date.timeZone, date) * 60)) % 60;\n if (secondsOffset || systemSecondsOffset) {\n date.internal.setUTCSeconds(date.internal.getUTCSeconds() + secondsOffset);\n Date.prototype.setUTCSeconds.call(date, Date.prototype.getUTCSeconds.call(date) + secondsOffset + systemSecondsOffset);\n }\n\n //#endregion\n\n //#region Post-adjustment DST fix\n\n const postBaseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const postOffset = postBaseOffset > 0 ? Math.floor(postBaseOffset) : Math.ceil(postBaseOffset);\n const postSystemOffset = -new Date(+date).getTimezoneOffset();\n const postOffsetDiff = postSystemOffset - postOffset;\n const offsetChanged = postOffset !== offset;\n const postDiff = postOffsetDiff - offsetDiff;\n if (offsetChanged && postDiff) {\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + postDiff);\n\n // Now we need to check if got offset change during the post-adjustment.\n // If so, we also need both dates to reflect that.\n\n const newBaseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const newOffset = newBaseOffset > 0 ? Math.floor(newBaseOffset) : Math.ceil(newBaseOffset);\n const offsetChange = postOffset - newOffset;\n if (offsetChange) {\n date.internal.setUTCMinutes(date.internal.getUTCMinutes() + offsetChange);\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetChange);\n }\n }\n\n //#endregion\n}"],"names":["TZDateMini","args","tzOffset","adjustToSystemTZ","syncToInternal","tz","timeZone","offset","time","date","re","method","utcMethod","syncFromInternal","baseOffset","prevHour","systemOffset","prevHourSystemOffset","systemDSTChange","dstShift","offsetDiff","systemDate","systemSecondsOffset","secondsOffset","postBaseOffset","postOffset","postOffsetDiff","offsetChanged","postDiff","newBaseOffset","newOffset","offsetChange"],"mappings":";AACO,MAAMA,UAAmB,KAAK;AAAA;AAAA,EAGnC,eAAeC,GAAM;AACnB,UAAK,GACDA,EAAK,SAAS,KAAK,OAAOA,EAAKA,EAAK,SAAS,CAAC,KAAM,aACtD,KAAK,WAAWA,EAAK,IAAG,IAE1B,KAAK,WAAW,oBAAI,KAAI,GACpB,MAAMC,EAAS,KAAK,UAAU,IAAI,CAAC,IACrC,KAAK,QAAQ,GAAG,IAEXD,EAAK,SAEC,OAAOA,EAAK,CAAC,KAAM,aAAaA,EAAK,WAAW,KAAKA,EAAK,WAAW,KAAK,OAAOA,EAAK,CAAC,KAAM,YACtG,KAAK,QAAQA,EAAK,CAAC,CAAC,IACX,OAAOA,EAAK,CAAC,KAAM,WAC5B,KAAK,QAAQ,CAAC,IAAI,KAAKA,EAAK,CAAC,CAAC,CAAC,IACtBA,EAAK,CAAC,aAAa,OAC5B,KAAK,QAAQ,CAACA,EAAK,CAAC,CAAC,KAErB,KAAK,QAAQ,CAAC,IAAI,KAAK,GAAGA,CAAI,CAAC,GAC/BE,EAAiB,IAAS,GAC1BC,EAAe,IAAI,KAVnB,KAAK,QAAQ,KAAK,KAAK;AAAA,EAa7B;AAAA,EACA,OAAO,GAAGC,MAAOJ,GAAM;AACrB,WAAOA,EAAK,SAAS,IAAID,EAAW,GAAGC,GAAMI,CAAE,IAAI,IAAIL,EAAW,KAAK,IAAG,GAAIK,CAAE;AAAA,EAClF;AAAA;AAAA;AAAA,EAMA,aAAaC,GAAU;AACrB,WAAO,IAAIN,EAAW,CAAC,MAAMM,CAAQ;AAAA,EACvC;AAAA,EACA,oBAAoB;AAClB,UAAMC,IAAS,CAACL,EAAS,KAAK,UAAU,IAAI;AAG5C,WAAOK,IAAS,IAAI,KAAK,MAAMA,CAAM,IAAI,KAAK,KAAKA,C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OvH,QAAME,IAAiBtB,EAASO,EAAK,UAAUA,CAAI,GAG7CgB,IAAaD,IAAiB,IAAI,KAAK,MAAMA,CAAc,IAAI,KAAK,KAAKA,CAAc,GAEvFE,IADmB,EAAC,oBAAI,KAAK,CAACjB,CAAI,GAAE,kBAAiB,IACjBgB,GACpCE,IAAgBF,MAAelB,GAC/BqB,IAAWF,IAAiBN;AAClC,MAAIO,KAAiBC,GAAU;AAC7B,SAAK,UAAU,cAAc,KAAKnB,GAAM,KAAK,UAAU,cAAc,KAAKA,CAAI,IAAImB,CAAQ;AAK1F,UAAMC,IAAgB3B,EAASO,EAAK,UAAUA,CAAI,GAG5CqB,IAAYD,IAAgB,IAAI,KAAK,MAAMA,CAAa,IAAI,KAAK,KAAKA,CAAa,GACnFE,IAAeN,IAAaK;AAClC,IAAIC,MACFtB,EAAK,SAAS,cAAcA,EAAK,SAAS,cAAa,IAAKsB,CAAY,GACxE,KAAK,UAAU,cAAc,KAAKtB,GAAM,KAAK,UAAU,cAAc,KAAKA,CAAI,IAAIsB,CAAY;AAAA,EAElG;AAGF;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index162.js","names":[],"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"],"x_google_ignoreList":[0],"mappings":";AAcA,SAAgB,EAAe,GAAU,GAAQ,GAAY,GAAS,IAAU,IAAO;AAGnF,KAFI,CAAC,KAED,CAAC,EACD;CACJ,IAAM,EAAE,gBAAa,cAAW,uBAAoB,eAAY,GAG1D,IAAQ,EAAmB;EAAE,OAFd,EAAY,EAAS;EAEc,KADpC,EAAU,EAAO;EACqC,CAAC;AAG3E,QAFI,KACA,EAAM,SAAS,EACZ,EAAM,KAAK,MAAS;EACvB,IAAM,IAAQ,EAAW,mBAAmB,GAAM,EAAQ;AAC1D,SAAO;GACH,OAAO,EAAQ,EAAK;GACpB;GACA,UAAU;GACb;GACH"}
|
package/dist/index163.js
CHANGED
|
@@ -1,10 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { TZDate as e } from "./index28.js";
|
|
2
|
+
import "./index30.js";
|
|
3
|
+
import t from "./index43.js";
|
|
4
|
+
import n from "./index52.js";
|
|
5
|
+
import r from "./index73.js";
|
|
6
|
+
import i from "./index76.js";
|
|
7
|
+
//#region ../../node_modules/react-day-picker/dist/esm/noonDateLib.js
|
|
8
|
+
function a(a, o = {}) {
|
|
9
|
+
let { weekStartsOn: s, locale: c } = o, l = s ?? c?.options?.weekStartsOn ?? 0, u = (t) => {
|
|
10
|
+
let n = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
|
11
|
+
return new e(n.getFullYear(), n.getMonth(), n.getDate(), 12, 0, 0, a);
|
|
12
|
+
}, d = (e) => {
|
|
13
|
+
let t = u(e);
|
|
14
|
+
return new Date(t.getFullYear(), t.getMonth(), t.getDate(), 0, 0, 0, 0);
|
|
15
|
+
};
|
|
16
|
+
return {
|
|
17
|
+
today: () => u(e.tz(a)),
|
|
18
|
+
newDate: (t, n, r) => new e(t, n, r, 12, 0, 0, a),
|
|
19
|
+
startOfDay: (e) => u(e),
|
|
20
|
+
startOfWeek: (e, t) => {
|
|
21
|
+
let n = u(e), r = t?.weekStartsOn ?? l, i = (n.getDay() - r + 7) % 7;
|
|
22
|
+
return n.setDate(n.getDate() - i), n;
|
|
23
|
+
},
|
|
24
|
+
startOfISOWeek: (e) => {
|
|
25
|
+
let t = u(e), n = (t.getDay() - 1 + 7) % 7;
|
|
26
|
+
return t.setDate(t.getDate() - n), t;
|
|
27
|
+
},
|
|
28
|
+
startOfMonth: (e) => {
|
|
29
|
+
let t = u(e);
|
|
30
|
+
return t.setDate(1), t;
|
|
31
|
+
},
|
|
32
|
+
startOfYear: (e) => {
|
|
33
|
+
let t = u(e);
|
|
34
|
+
return t.setMonth(0, 1), t;
|
|
35
|
+
},
|
|
36
|
+
endOfWeek: (e, t) => {
|
|
37
|
+
let n = u(e), r = (((t?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
|
|
38
|
+
return n.setDate(n.getDate() + r), n;
|
|
39
|
+
},
|
|
40
|
+
endOfISOWeek: (e) => {
|
|
41
|
+
let t = u(e), n = (7 - t.getDay()) % 7;
|
|
42
|
+
return t.setDate(t.getDate() + n), t;
|
|
43
|
+
},
|
|
44
|
+
endOfMonth: (e) => {
|
|
45
|
+
let t = u(e);
|
|
46
|
+
return t.setMonth(t.getMonth() + 1, 0), t;
|
|
47
|
+
},
|
|
48
|
+
endOfYear: (e) => {
|
|
49
|
+
let t = u(e);
|
|
50
|
+
return t.setMonth(11, 31), t;
|
|
51
|
+
},
|
|
52
|
+
eachMonthOfInterval: (t) => {
|
|
53
|
+
let n = u(t.start), r = u(t.end), i = [], o = new e(n.getFullYear(), n.getMonth(), 1, 12, 0, 0, a), s = r.getFullYear() * 12 + r.getMonth();
|
|
54
|
+
for (; o.getFullYear() * 12 + o.getMonth() <= s;) i.push(new e(o, a)), o.setMonth(o.getMonth() + 1, 1);
|
|
55
|
+
return i;
|
|
56
|
+
},
|
|
57
|
+
addDays: (e, t) => {
|
|
58
|
+
let n = u(e);
|
|
59
|
+
return n.setDate(n.getDate() + t), n;
|
|
60
|
+
},
|
|
61
|
+
addWeeks: (e, t) => {
|
|
62
|
+
let n = u(e);
|
|
63
|
+
return n.setDate(n.getDate() + t * 7), n;
|
|
64
|
+
},
|
|
65
|
+
addMonths: (e, t) => {
|
|
66
|
+
let n = u(e);
|
|
67
|
+
return n.setMonth(n.getMonth() + t), n;
|
|
68
|
+
},
|
|
69
|
+
addYears: (e, t) => {
|
|
70
|
+
let n = u(e);
|
|
71
|
+
return n.setFullYear(n.getFullYear() + t), n;
|
|
72
|
+
},
|
|
73
|
+
eachYearOfInterval: (t) => {
|
|
74
|
+
let n = u(t.start), r = u(t.end), i = [], o = new e(n.getFullYear(), 0, 1, 12, 0, 0, a);
|
|
75
|
+
for (; o.getFullYear() <= r.getFullYear();) i.push(new e(o, a)), o.setFullYear(o.getFullYear() + 1, 0, 1);
|
|
76
|
+
return i;
|
|
77
|
+
},
|
|
78
|
+
getWeek: (e, t) => i(d(e), {
|
|
79
|
+
weekStartsOn: t?.weekStartsOn ?? l,
|
|
80
|
+
firstWeekContainsDate: t?.firstWeekContainsDate ?? c?.options?.firstWeekContainsDate ?? 1
|
|
81
|
+
}),
|
|
82
|
+
getISOWeek: (e) => r(d(e)),
|
|
83
|
+
differenceInCalendarDays: (e, n) => t(d(e), d(n)),
|
|
84
|
+
differenceInCalendarMonths: (e, t) => n(d(e), d(t))
|
|
85
|
+
};
|
|
6
86
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=index163.js.map
|
|
87
|
+
//#endregion
|
|
88
|
+
export { a as createNoonOverrides };
|
|
89
|
+
|
|
90
|
+
//# sourceMappingURL=index163.js.map
|
package/dist/index163.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index163.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index163.js","names":["getWeekFn","getISOWeekFn","differenceInCalendarDaysFn","differenceInCalendarMonthsFn"],"sources":["../../../node_modules/react-day-picker/dist/esm/noonDateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { differenceInCalendarDays as differenceInCalendarDaysFn, differenceInCalendarMonths as differenceInCalendarMonthsFn, getISOWeek as getISOWeekFn, getWeek as getWeekFn, } from \"date-fns\";\n/**\n * Creates `dateLib` overrides that keep all calendar math at noon in the target\n * time zone. This avoids second-level offset changes (e.g., historical zones\n * with +03:41:12) from pushing dates backward across midnight.\n */\nexport function createNoonOverrides(timeZone, options = {}) {\n const { weekStartsOn, locale } = options;\n const fallbackWeekStartsOn = (weekStartsOn ??\n locale?.options?.weekStartsOn ??\n 0);\n // Keep all internal math anchored at noon in the target zone to avoid\n // historical second-level offsets from crossing midnight.\n const toNoonTZDate = (date) => {\n const normalizedDate = typeof date === \"number\" || typeof date === \"string\"\n ? new Date(date)\n : date;\n return new TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);\n };\n // Convert a value into a host `Date` that represents the same calendar day\n // as the target-zone noon. This is useful for helpers (e.g., date-fns week\n // utilities) that expect local `Date` instances rather than `TZDate`s.\n const toCalendarDate = (date) => {\n const zoned = toNoonTZDate(date);\n return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);\n };\n return {\n today: () => {\n return toNoonTZDate(TZDate.tz(timeZone));\n },\n newDate: (year, monthIndex, date) => {\n return new TZDate(year, monthIndex, date, 12, 0, 0, timeZone);\n },\n startOfDay: (date) => {\n return toNoonTZDate(date);\n },\n startOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const diff = (base.getDay() - weekStartsOnValue + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (base.getDay() - 1 + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setDate(1);\n return base;\n },\n startOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(0, 1);\n return base;\n },\n endOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const endDow = (weekStartsOnValue + 6) % 7;\n const diff = (endDow - base.getDay() + 7) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (7 - base.getDay()) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + 1, 0);\n return base;\n },\n endOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(11, 31);\n return base;\n },\n eachMonthOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const result = [];\n const cursor = new TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);\n const endKey = end.getFullYear() * 12 + end.getMonth();\n while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {\n result.push(new TZDate(cursor, timeZone));\n cursor.setMonth(cursor.getMonth() + 1, 1);\n }\n return result;\n },\n // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),\n // mutate the same TZDate, and return it.\n addDays: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount);\n return base;\n },\n addWeeks: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount * 7);\n return base;\n },\n addMonths: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + amount);\n return base;\n },\n addYears: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setFullYear(base.getFullYear() + amount);\n return base;\n },\n eachYearOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const years = [];\n const cursor = new TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);\n while (cursor.getFullYear() <= end.getFullYear()) {\n years.push(new TZDate(cursor, timeZone));\n cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);\n }\n return years;\n },\n getWeek: (date, options) => {\n const base = toCalendarDate(date);\n return getWeekFn(base, {\n weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,\n firstWeekContainsDate: options?.firstWeekContainsDate ??\n locale?.options?.firstWeekContainsDate ??\n 1,\n });\n },\n getISOWeek: (date) => {\n const base = toCalendarDate(date);\n return getISOWeekFn(base);\n },\n differenceInCalendarDays: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarDaysFn(left, right);\n },\n differenceInCalendarMonths: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarMonthsFn(left, right);\n },\n };\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAOA,SAAgB,EAAoB,GAAU,IAAU,EAAE,EAAE;CACxD,IAAM,EAAE,iBAAc,cAAW,GAC3B,IAAwB,KAC1B,GAAQ,SAAS,gBACjB,GAGE,KAAgB,MAAS;EAC3B,IAAM,IAAiB,OAAO,KAAS,YAAY,OAAO,KAAS,WAC7D,IAAI,KAAK,EAAK,GACd;AACN,SAAO,IAAI,EAAO,EAAe,aAAa,EAAE,EAAe,UAAU,EAAE,EAAe,SAAS,EAAE,IAAI,GAAG,GAAG,EAAS;IAKtH,KAAkB,MAAS;EAC7B,IAAM,IAAQ,EAAa,EAAK;AAChC,SAAO,IAAI,KAAK,EAAM,aAAa,EAAE,EAAM,UAAU,EAAE,EAAM,SAAS,EAAE,GAAG,GAAG,GAAG,EAAE;;AAEvF,QAAO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nB,cAAc,GAAS,gBAAgB;GACvC,uBAAuB,GAAS,yBAC5B,GAAQ,SAAS,yBACjB;GACP,CAAC;EAEN,aAAa,MAEFC,EADM,EAAe,EAAK,CACR;EAE7B,2BAA2B,GAAU,MAG1BC,EAFM,EAAe,EAAS,EACvB,EAAe,EAAU,CACO;EAElD,6BAA6B,GAAU,MAG5BC,EAFM,EAAe,EAAS,EACvB,EAAe,EAAU,CACS;EAEvD"}
|
package/dist/index164.js
CHANGED
|
@@ -1,8 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Animation as e } from "./index105.js";
|
|
2
|
+
import { useLayoutEffect as t, useRef as n } from "react";
|
|
3
|
+
//#region ../../node_modules/react-day-picker/dist/esm/useAnimation.js
|
|
4
|
+
var r = (e) => e instanceof HTMLElement ? e : null, i = (e) => [...e.querySelectorAll("[data-animated-month]") ?? []], a = (e) => r(e.querySelector("[data-animated-month]")), o = (e) => r(e.querySelector("[data-animated-caption]")), s = (e) => r(e.querySelector("[data-animated-weeks]")), c = (e) => r(e.querySelector("[data-animated-nav]")), l = (e) => r(e.querySelector("[data-animated-weekdays]"));
|
|
5
|
+
function u(r, u, { classNames: d, months: f, focused: p, dateLib: m }) {
|
|
6
|
+
let h = n(null), g = n(f), _ = n(!1);
|
|
7
|
+
t(() => {
|
|
8
|
+
let t = g.current;
|
|
9
|
+
if (g.current = f, !u || !r.current || !(r.current instanceof HTMLElement) || f.length === 0 || t.length === 0 || f.length !== t.length) return;
|
|
10
|
+
let n = m.isSameMonth(f[0].date, t[0].date), v = m.isAfter(f[0].date, t[0].date), y = v ? d[e.caption_after_enter] : d[e.caption_before_enter], b = v ? d[e.weeks_after_enter] : d[e.weeks_before_enter], x = h.current, S = r.current.cloneNode(!0);
|
|
11
|
+
if (S instanceof HTMLElement ? (i(S).forEach((e) => {
|
|
12
|
+
if (!(e instanceof HTMLElement)) return;
|
|
13
|
+
let t = a(e);
|
|
14
|
+
t && e.contains(t) && e.removeChild(t);
|
|
15
|
+
let n = o(e);
|
|
16
|
+
n && n.classList.remove(y);
|
|
17
|
+
let r = s(e);
|
|
18
|
+
r && r.classList.remove(b);
|
|
19
|
+
}), h.current = S) : h.current = null, _.current || n || p) return;
|
|
20
|
+
let C = x instanceof HTMLElement ? i(x) : [], w = i(r.current);
|
|
21
|
+
if (w?.every((e) => e instanceof HTMLElement) && C && C.every((e) => e instanceof HTMLElement)) {
|
|
22
|
+
_.current = !0;
|
|
23
|
+
let t = [];
|
|
24
|
+
r.current.style.isolation = "isolate";
|
|
25
|
+
let n = c(r.current);
|
|
26
|
+
n && (n.style.zIndex = "1"), w.forEach((i, a) => {
|
|
27
|
+
let c = C[a];
|
|
28
|
+
if (!c) return;
|
|
29
|
+
i.style.position = "relative", i.style.overflow = "hidden";
|
|
30
|
+
let u = o(i);
|
|
31
|
+
u && u.classList.add(y);
|
|
32
|
+
let f = s(i);
|
|
33
|
+
f && f.classList.add(b);
|
|
34
|
+
let p = () => {
|
|
35
|
+
_.current = !1, r.current && (r.current.style.isolation = ""), n && (n.style.zIndex = ""), u && u.classList.remove(y), f && f.classList.remove(b), i.style.position = "", i.style.overflow = "", i.contains(c) && i.removeChild(c);
|
|
36
|
+
};
|
|
37
|
+
t.push(p), c.style.pointerEvents = "none", c.style.position = "absolute", c.style.overflow = "hidden", c.setAttribute("aria-hidden", "true");
|
|
38
|
+
let m = l(c);
|
|
39
|
+
m && (m.style.opacity = "0");
|
|
40
|
+
let h = o(c);
|
|
41
|
+
h && (h.classList.add(v ? d[e.caption_before_exit] : d[e.caption_after_exit]), h.addEventListener("animationend", p));
|
|
42
|
+
let g = s(c);
|
|
43
|
+
g && g.classList.add(v ? d[e.weeks_before_exit] : d[e.weeks_after_exit]), i.insertBefore(c, i.firstChild);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
});
|
|
4
47
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=index164.js.map
|
|
48
|
+
//#endregion
|
|
49
|
+
export { u as useAnimation };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=index164.js.map
|
package/dist/index164.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index164.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js"],"sourcesContent":["/**\n * Returns the start date of the week in the broadcast calendar.\n *\n * The broadcast week starts on Monday. If the first day of the month is not a\n * Monday, this function calculates the previous Monday as the start of the\n * broadcast week.\n *\n * @since 9.4.0\n * @param date The date for which to calculate the start of the broadcast week.\n * @param dateLib The date library to use for date manipulation.\n * @returns The start date of the broadcast week.\n */\nexport function startOfBroadcastWeek(date, dateLib) {\n const firstOfMonth = dateLib.startOfMonth(date);\n const dayOfWeek = firstOfMonth.getDay();\n if (dayOfWeek === 1) {\n return firstOfMonth;\n }\n else if (dayOfWeek === 0) {\n return dateLib.addDays(firstOfMonth, -1 * 6);\n }\n else {\n return dateLib.addDays(firstOfMonth, -1 * (dayOfWeek - 1));\n }\n}\n"],"names":["startOfBroadcastWeek","date","dateLib","firstOfMonth","dayOfWeek"],"mappings":"AAYO,SAASA,EAAqBC,GAAMC,GAAS;AAChD,QAAMC,IAAeD,EAAQ,aAAaD,CAAI,GACxCG,IAAYD,EAAa,OAAM;AACrC,SAAIC,MAAc,IACPD,IAEFC,MAAc,IACZF,EAAQ,QAAQC,GAAc,EAAM,IAGpCD,EAAQ,QAAQC,GAAc,MAAMC,IAAY,EAAE;AAEjE;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index164.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/useAnimation.js"],"sourcesContent":["import { useLayoutEffect, useRef } from \"react\";\nimport { Animation } from \"./UI.js\";\nconst asHtmlElement = (element) => {\n if (element instanceof HTMLElement)\n return element;\n return null;\n};\nconst queryMonthEls = (element) => [\n ...(element.querySelectorAll(\"[data-animated-month]\") ?? []),\n];\nconst queryMonthEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-month]\"));\nconst queryCaptionEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-caption]\"));\nconst queryWeeksEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weeks]\"));\nconst queryNavEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-nav]\"));\nconst queryWeekdaysEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weekdays]\"));\n/**\n * Handles animations for transitioning between months in the DayPicker\n * component.\n *\n * @private\n * @param rootElRef - A reference to the root element of the DayPicker\n * component.\n * @param enabled - Whether animations are enabled.\n * @param options - Configuration options for the animation, including class\n * names, months, focused day, and the date utility library.\n */\nexport function useAnimation(rootElRef, enabled, { classNames, months, focused, dateLib, }) {\n const previousRootElSnapshotRef = useRef(null);\n const previousMonthsRef = useRef(months);\n const animatingRef = useRef(false);\n useLayoutEffect(() => {\n // get previous months before updating the previous months ref\n const previousMonths = previousMonthsRef.current;\n // update previous months ref for next effect trigger\n previousMonthsRef.current = months;\n if (!enabled ||\n !rootElRef.current ||\n // safety check because the ref can be set to anything by consumers\n !(rootElRef.current instanceof HTMLElement) ||\n // validation required for the animation to work as expected\n months.length === 0 ||\n previousMonths.length === 0 ||\n months.length !== previousMonths.length) {\n return;\n }\n const isSameMonth = dateLib.isSameMonth(months[0].date, previousMonths[0].date);\n const isAfterPreviousMonth = dateLib.isAfter(months[0].date, previousMonths[0].date);\n const captionAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.caption_after_enter]\n : classNames[Animation.caption_before_enter];\n const weeksAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.weeks_after_enter]\n : classNames[Animation.weeks_before_enter];\n // get previous root element snapshot before updating the snapshot ref\n const previousRootElSnapshot = previousRootElSnapshotRef.current;\n // update snapshot for next effect trigger\n const rootElSnapshot = rootElRef.current.cloneNode(true);\n if (rootElSnapshot instanceof HTMLElement) {\n // if this effect is triggered while animating, we need to clean up the new root snapshot\n // to put it in the same state as when not animating, to correctly animate the next month change\n const currentMonthElsSnapshot = queryMonthEls(rootElSnapshot);\n currentMonthElsSnapshot.forEach((currentMonthElSnapshot) => {\n if (!(currentMonthElSnapshot instanceof HTMLElement))\n return;\n // remove the old month snapshots from the new root snapshot\n const previousMonthElSnapshot = queryMonthEl(currentMonthElSnapshot);\n if (previousMonthElSnapshot &&\n currentMonthElSnapshot.contains(previousMonthElSnapshot)) {\n currentMonthElSnapshot.removeChild(previousMonthElSnapshot);\n }\n // remove animation classes from the new month snapshots\n const captionEl = queryCaptionEl(currentMonthElSnapshot);\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthElSnapshot);\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n });\n previousRootElSnapshotRef.current = rootElSnapshot;\n }\n else {\n previousRootElSnapshotRef.current = null;\n }\n if (animatingRef.current ||\n isSameMonth ||\n // skip animation if a day is focused because it can cause issues to the animation and is better for a11y\n focused) {\n return;\n }\n const previousMonthEls = previousRootElSnapshot instanceof HTMLElement\n ? queryMonthEls(previousRootElSnapshot)\n : [];\n const currentMonthEls = queryMonthEls(rootElRef.current);\n if (currentMonthEls?.every((el) => el instanceof HTMLElement) &&\n previousMonthEls &&\n previousMonthEls.every((el) => el instanceof HTMLElement)) {\n animatingRef.current = true;\n const cleanUpFunctions = [];\n // set isolation to isolate to isolate the stacking context during animation\n rootElRef.current.style.isolation = \"isolate\";\n // set z-index to 1 to ensure the nav is clickable over the other elements being animated\n const navEl = queryNavEl(rootElRef.current);\n if (navEl) {\n navEl.style.zIndex = \"1\";\n }\n currentMonthEls.forEach((currentMonthEl, index) => {\n const previousMonthEl = previousMonthEls[index];\n if (!previousMonthEl) {\n return;\n }\n // animate new displayed month\n currentMonthEl.style.position = \"relative\";\n currentMonthEl.style.overflow = \"hidden\";\n const captionEl = queryCaptionEl(currentMonthEl);\n if (captionEl) {\n captionEl.classList.add(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthEl);\n if (weeksEl) {\n weeksEl.classList.add(weeksAnimationClass);\n }\n // animate new displayed month end\n const cleanUp = () => {\n animatingRef.current = false;\n if (rootElRef.current) {\n rootElRef.current.style.isolation = \"\";\n }\n if (navEl) {\n navEl.style.zIndex = \"\";\n }\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n currentMonthEl.style.position = \"\";\n currentMonthEl.style.overflow = \"\";\n if (currentMonthEl.contains(previousMonthEl)) {\n currentMonthEl.removeChild(previousMonthEl);\n }\n };\n cleanUpFunctions.push(cleanUp);\n // animate old displayed month\n previousMonthEl.style.pointerEvents = \"none\";\n previousMonthEl.style.position = \"absolute\";\n previousMonthEl.style.overflow = \"hidden\";\n previousMonthEl.setAttribute(\"aria-hidden\", \"true\");\n // hide the weekdays container of the old month and only the new one\n const previousWeekdaysEl = queryWeekdaysEl(previousMonthEl);\n if (previousWeekdaysEl) {\n previousWeekdaysEl.style.opacity = \"0\";\n }\n const previousCaptionEl = queryCaptionEl(previousMonthEl);\n if (previousCaptionEl) {\n previousCaptionEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.caption_before_exit]\n : classNames[Animation.caption_after_exit]);\n previousCaptionEl.addEventListener(\"animationend\", cleanUp);\n }\n const previousWeeksEl = queryWeeksEl(previousMonthEl);\n if (previousWeeksEl) {\n previousWeeksEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.weeks_before_exit]\n : classNames[Animation.weeks_after_exit]);\n }\n currentMonthEl.insertBefore(previousMonthEl, currentMonthEl.firstChild);\n });\n }\n });\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,KAAiB,MACf,aAAmB,cACZ,IACJ,MAEL,KAAiB,MAAY,CAC/B,GAAI,EAAQ,iBAAiB,wBAAwB,IAAI,EAAE,CAC9D,EACK,KAAgB,MAAY,EAAc,EAAQ,cAAc,wBAAwB,CAAC,EACzF,KA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AU,uBACrB,EAAW,EAAU,oBAAoB,EAC/C,EAAkB,iBAAiB,gBAAgB,EAAQ;IAE/D,IAAM,IAAkB,EAAa,EAAgB;AAMrD,IALI,KACA,EAAgB,UAAU,IAAI,IACxB,EAAW,EAAU,qBACrB,EAAW,EAAU,kBAAkB,EAEjD,EAAe,aAAa,GAAiB,EAAe,WAAW;KACzE;;GAER"}
|
package/dist/index165.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getDates.js
|
|
2
|
+
function e(e, t, n, r) {
|
|
3
|
+
let i = e[0], a = e[e.length - 1], { ISOWeek: o, fixedWeeks: s, broadcastCalendar: c } = n ?? {}, { addDays: l, differenceInCalendarDays: u, differenceInCalendarMonths: d, endOfBroadcastWeek: f, endOfISOWeek: p, endOfMonth: m, endOfWeek: h, isAfter: g, startOfBroadcastWeek: _, startOfISOWeek: v, startOfWeek: y } = r, b = c ? _(i, r) : o ? v(i) : y(i), x = c ? f(a) : o ? p(m(a)) : h(m(a)), S = t && (c ? f(t) : o ? p(t) : h(t)), C = u(S && g(x, S) ? S : x, b), w = d(a, i) + 1, T = [];
|
|
4
|
+
for (let e = 0; e <= C; e++) {
|
|
5
|
+
let t = l(b, e);
|
|
6
|
+
T.push(t);
|
|
7
|
+
}
|
|
8
|
+
let E = (c ? 35 : 42) * w;
|
|
9
|
+
if (s && T.length < E) {
|
|
10
|
+
let e = E - T.length;
|
|
11
|
+
for (let t = 0; t < e; t++) {
|
|
12
|
+
let e = l(T[T.length - 1], 1);
|
|
13
|
+
T.push(e);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return T;
|
|
6
17
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=index165.js.map
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as getDates };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index165.js.map
|
package/dist/index165.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index165.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index165.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDates.js"],"sourcesContent":["/**\n * Returns all the dates to display in the calendar.\n *\n * This function calculates the range of dates to display based on the provided\n * display months, constraints, and calendar configuration.\n *\n * @param displayMonths The months to display in the calendar.\n * @param maxDate The maximum date to include in the range.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dates to display in the calendar.\n */\nexport function getDates(displayMonths, maxDate, props, dateLib) {\n const firstMonth = displayMonths[0];\n const lastMonth = displayMonths[displayMonths.length - 1];\n const { ISOWeek, fixedWeeks, broadcastCalendar } = props ?? {};\n const { addDays, differenceInCalendarDays, differenceInCalendarMonths, endOfBroadcastWeek, endOfISOWeek, endOfMonth, endOfWeek, isAfter, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const startWeekFirstDate = broadcastCalendar\n ? startOfBroadcastWeek(firstMonth, dateLib)\n : ISOWeek\n ? startOfISOWeek(firstMonth)\n : startOfWeek(firstMonth);\n const displayMonthsWeekEnd = broadcastCalendar\n ? endOfBroadcastWeek(lastMonth)\n : ISOWeek\n ? endOfISOWeek(endOfMonth(lastMonth))\n : endOfWeek(endOfMonth(lastMonth));\n // If maxDate is set, clamp the grid to the end of that week.\n const constraintWeekEnd = maxDate &&\n (broadcastCalendar\n ? endOfBroadcastWeek(maxDate)\n : ISOWeek\n ? endOfISOWeek(maxDate)\n : endOfWeek(maxDate));\n // Pick the earliest week end between the displayed months and the constraint.\n const gridEndDate = constraintWeekEnd && isAfter(displayMonthsWeekEnd, constraintWeekEnd)\n ? constraintWeekEnd\n : displayMonthsWeekEnd;\n const nOfDays = differenceInCalendarDays(gridEndDate, startWeekFirstDate);\n const nOfMonths = differenceInCalendarMonths(lastMonth, firstMonth) + 1;\n const dates = [];\n for (let i = 0; i <= nOfDays; i++) {\n const date = addDays(startWeekFirstDate, i);\n dates.push(date);\n }\n // If fixed weeks is enabled, add the extra dates to the array\n const nrOfDaysWithFixedWeeks = broadcastCalendar ? 35 : 42;\n const extraDates = nrOfDaysWithFixedWeeks * nOfMonths;\n if (fixedWeeks && dates.length < extraDates) {\n const daysToAdd = extraDates - dates.length;\n for (let i = 0; i < daysToAdd; i++) {\n const date = addDays(dates[dates.length - 1], 1);\n dates.push(date);\n }\n }\n return dates;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAYA,SAAgB,EAAS,GAAe,GAAS,GAAO,GAAS;CAC7D,IAAM,IAAa,EAAc,IAC3B,IAAY,EAAc,EAAc,SAAS,IACjD,EAAE,YAAS,eAAY,yBAAsB,KAAS,EAAE,EACxD,EAAE,YAAS,6BAA0B,+BAA4B,uBAAoB,iBAAc,eAAY,cAAW,YAAS,yBAAsB,mBAAgB,mBAAiB,GAC1L,IAAqB,IACrB,EAAqB,GAAY,EAAQ,GACzC,IACI,EAAe,EAAW,GAC1B,EAAY,EAAW,EAC3B,IAAuB,IACvB,EAAmB,EAAU,GAC7B,IACI,EAAa,EAAW,EAAU,CAAC,GACnC,EAAU,EAAW,EAAU,CAAC,EAEpC,IAAoB,MACrB,IACK,EAAmB,EAAQ,GAC3B,IACI,EAAa,EAAQ,GACrB,EAAU,EAAQ,GAK1B,IAAU,EAHI,KAAqB,EAAQ,GAAsB,EAAkB,GACnF,IACA,GACgD,EAAmB,EACnE,IAAY,EAA2B,GAAW,EAAW,GAAG,GAChE,IAAQ,EAAE;AAChB,MAAK,IAAI,IAAI,GAAG,KAAK,GAAS,KAAK;EAC/B,IAAM,IAAO,EAAQ,GAAoB,EAAE;AAC3C,IAAM,KAAK,EAAK;;CAIpB,IAAM,KADyB,IAAoB,KAAK,MACZ;AAC5C,KAAI,KAAc,EAAM,SAAS,GAAY;EACzC,IAAM,IAAY,IAAa,EAAM;AACrC,OAAK,IAAI,IAAI,GAAG,IAAI,GAAW,KAAK;GAChC,IAAM,IAAO,EAAQ,EAAM,EAAM,SAAS,IAAI,EAAE;AAChD,KAAM,KAAK,EAAK;;;AAGxB,QAAO"}
|
package/dist/index166.js
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const r = t.getDate(), e = s(n, t.getTime());
|
|
9
|
-
e.setMonth(t.getMonth() + o + 1, 0);
|
|
10
|
-
const a = e.getDate();
|
|
11
|
-
return r >= a ? e : (t.setFullYear(
|
|
12
|
-
e.getFullYear(),
|
|
13
|
-
e.getMonth(),
|
|
14
|
-
r
|
|
15
|
-
), t);
|
|
1
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getDays.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = [];
|
|
4
|
+
return e.reduce((e, n) => {
|
|
5
|
+
let r = n.weeks.reduce((e, t) => e.concat(t.days.slice()), t.slice());
|
|
6
|
+
return e.concat(r.slice());
|
|
7
|
+
}, t.slice());
|
|
16
8
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=index166.js.map
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as getDays };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=index166.js.map
|
package/dist/index166.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index166.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index166.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDays.js"],"sourcesContent":["/**\n * Returns all the days belonging to the calendar by merging the days in the\n * weeks for each month.\n *\n * @param calendarMonths The array of calendar months.\n * @returns An array of `CalendarDay` objects representing all the days in the\n * calendar.\n */\nexport function getDays(calendarMonths) {\n const initialDays = [];\n return calendarMonths.reduce((days, month) => {\n const weekDays = month.weeks.reduce((weekDays, week) => {\n return weekDays.concat(week.days.slice());\n }, initialDays.slice());\n return days.concat(weekDays.slice());\n }, initialDays.slice());\n}\n"],"x_google_ignoreList":[0],"mappings":";AAQA,SAAgB,EAAQ,GAAgB;CACpC,IAAM,IAAc,EAAE;AACtB,QAAO,EAAe,QAAQ,GAAM,MAAU;EAC1C,IAAM,IAAW,EAAM,MAAM,QAAQ,GAAU,MACpC,EAAS,OAAO,EAAK,KAAK,OAAO,CAAC,EAC1C,EAAY,OAAO,CAAC;AACvB,SAAO,EAAK,OAAO,EAAS,OAAO,CAAC;IACrC,EAAY,OAAO,CAAC"}
|
package/dist/index167.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js
|
|
2
|
+
function e(e, t, n, r) {
|
|
3
|
+
let { numberOfMonths: i = 1 } = n, a = [];
|
|
4
|
+
for (let n = 0; n < i; n++) {
|
|
5
|
+
let i = r.addMonths(e, n);
|
|
6
|
+
if (t && i > t) break;
|
|
7
|
+
a.push(i);
|
|
8
|
+
}
|
|
9
|
+
return a;
|
|
4
10
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=index167.js.map
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as getDisplayMonths };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=index167.js.map
|
package/dist/index167.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index167.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index167.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js"],"sourcesContent":["/**\n * Returns the months to display in the calendar.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param props The DayPicker props, including `numberOfMonths`.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dates representing the months to display.\n */\nexport function getDisplayMonths(firstDisplayedMonth, calendarEndMonth, props, dateLib) {\n const { numberOfMonths = 1 } = props;\n const months = [];\n for (let i = 0; i < numberOfMonths; i++) {\n const month = dateLib.addMonths(firstDisplayedMonth, i);\n if (calendarEndMonth && month > calendarEndMonth) {\n break;\n }\n months.push(month);\n }\n return months;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAUA,SAAgB,EAAiB,GAAqB,GAAkB,GAAO,GAAS;CACpF,IAAM,EAAE,oBAAiB,MAAM,GACzB,IAAS,EAAE;AACjB,MAAK,IAAI,IAAI,GAAG,IAAI,GAAgB,KAAK;EACrC,IAAM,IAAQ,EAAQ,UAAU,GAAqB,EAAE;AACvD,MAAI,KAAoB,IAAQ,EAC5B;AAEJ,IAAO,KAAK,EAAM;;AAEtB,QAAO"}
|
package/dist/index168.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
function e(
|
|
3
|
-
|
|
1
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js
|
|
2
|
+
function e(e, t, n, r) {
|
|
3
|
+
let { month: i, defaultMonth: a, today: o = r.today(), numberOfMonths: s = 1 } = e, c = i || a || o, { differenceInCalendarMonths: l, addMonths: u, startOfMonth: d } = r;
|
|
4
|
+
return n && l(n, c) < s - 1 && (c = u(n, -1 * (s - 1))), t && l(c, t) < 0 && (c = t), d(c);
|
|
4
5
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=index168.js.map
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as getInitialMonth };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=index168.js.map
|
package/dist/index168.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index168.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index168.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js"],"sourcesContent":["/**\n * Determines the initial month to display in the calendar based on the provided\n * props.\n *\n * This function calculates the starting month, considering constraints such as\n * `startMonth`, `endMonth`, and the number of months to display.\n *\n * @param props The DayPicker props, including navigation and date constraints.\n * @param dateLib The date library to use for date manipulation.\n * @returns The initial month to display.\n */\nexport function getInitialMonth(props, navStart, navEnd, dateLib) {\n const { month, defaultMonth, today = dateLib.today(), numberOfMonths = 1, } = props;\n let initialMonth = month || defaultMonth || today;\n const { differenceInCalendarMonths, addMonths, startOfMonth } = dateLib;\n if (navEnd &&\n differenceInCalendarMonths(navEnd, initialMonth) < numberOfMonths - 1) {\n const offset = -1 * (numberOfMonths - 1);\n initialMonth = addMonths(navEnd, offset);\n }\n if (navStart && differenceInCalendarMonths(initialMonth, navStart) < 0) {\n initialMonth = navStart;\n }\n return startOfMonth(initialMonth);\n}\n"],"x_google_ignoreList":[0],"mappings":";AAWA,SAAgB,EAAgB,GAAO,GAAU,GAAQ,GAAS;CAC9D,IAAM,EAAE,UAAO,iBAAc,WAAQ,EAAQ,OAAO,EAAE,oBAAiB,MAAO,GAC1E,IAAe,KAAS,KAAgB,GACtC,EAAE,+BAA4B,cAAW,oBAAiB;AAShE,QARI,KACA,EAA2B,GAAQ,EAAa,GAAG,IAAiB,MAEpE,IAAe,EAAU,GADV,MAAM,IAAiB,GACE,GAExC,KAAY,EAA2B,GAAc,EAAS,GAAG,MACjE,IAAe,IAEZ,EAAa,EAAa"}
|
package/dist/index169.js
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { CalendarDay as e } from "./index97.js";
|
|
2
|
+
import { CalendarMonth as t } from "./index98.js";
|
|
3
|
+
import { CalendarWeek as n } from "./index99.js";
|
|
4
|
+
//#region ../../node_modules/react-day-picker/dist/esm/helpers/getMonths.js
|
|
5
|
+
function r(r, i, a, o) {
|
|
6
|
+
let { addDays: s, endOfBroadcastWeek: c, endOfISOWeek: l, endOfMonth: u, endOfWeek: d, getISOWeek: f, getWeek: p, startOfBroadcastWeek: m, startOfISOWeek: h, startOfWeek: g } = o, _ = r.reduce((r, _) => {
|
|
7
|
+
let v = a.broadcastCalendar ? m(_, o) : a.ISOWeek ? h(_) : g(_), y = a.broadcastCalendar ? c(_) : a.ISOWeek ? l(u(_)) : d(u(_)), b = i.filter((e) => e >= v && e <= y), x = a.broadcastCalendar ? 35 : 42;
|
|
8
|
+
if (a.fixedWeeks && b.length < x) {
|
|
9
|
+
let e = i.filter((e) => {
|
|
10
|
+
let t = x - b.length;
|
|
11
|
+
return e > y && e <= s(y, t);
|
|
12
|
+
});
|
|
13
|
+
b.push(...e);
|
|
14
|
+
}
|
|
15
|
+
let S = new t(_, b.reduce((t, r) => {
|
|
16
|
+
let i = a.ISOWeek ? f(r) : p(r), s = t.find((e) => e.weekNumber === i), c = new e(r, _, o);
|
|
17
|
+
return s ? s.days.push(c) : t.push(new n(i, [c])), t;
|
|
18
|
+
}, []));
|
|
19
|
+
return r.push(S), r;
|
|
20
|
+
}, []);
|
|
21
|
+
return a.reverseMonths ? _.reverse() : _;
|
|
12
22
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=index169.js.map
|
|
23
|
+
//#endregion
|
|
24
|
+
export { r as getMonths };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=index169.js.map
|