@rpcbase/ui 0.167.0 → 0.168.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/index100.js +52 -320
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -130
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -20
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +15 -75
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -18
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -101
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +17 -5
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -14
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +5 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +3 -2
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -326
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -49
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +5 -52
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +5 -3
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +24 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -15
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +3 -4
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -6
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -16
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +3 -3
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +3 -4
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -5
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -6
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +39 -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 +7 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +13 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +31 -8
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +13 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -145
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +20 -40
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +53 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +70 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -13
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +20 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +16 -7
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +22 -30
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -10
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +23 -8
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -14
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -102
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +7 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -53
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -72
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -9
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -20
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -23
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -7
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +7 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -23
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -35
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -16
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -6
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +47 -24
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +46 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +205 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +22 -6
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +24 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +399 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +5 -4
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +68 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -5
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +1 -0
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +363 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +261 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +60 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +46 -3
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +170 -2
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +107 -65
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +24 -84
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +8 -47
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -7
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -4
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -51
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +465 -23
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +185 -28
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +108 -5
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +262 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -67
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +43 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -363
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +64 -258
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +176 -56
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +42 -42
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +57 -162
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +45 -106
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +39 -24
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +101 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +97 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +99 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +58 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +8 -466
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +59 -178
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +17 -105
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +14 -260
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -9
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -41
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -4
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -64
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -48
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -67
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -180
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -46
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +13 -39
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +10 -100
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +14 -97
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -99
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -58
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -66
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -19
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -16
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -7
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +4 -17
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +10 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -13
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +10 -13
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -14
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +7 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +6 -6
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +5 -7
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +7 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +55 -5
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +23 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +16 -5
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +7 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -4
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +21 -10
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +9 -11
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -11
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -10
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +5 -7
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -6
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -5
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +18 -6
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +15 -7
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +29 -55
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -23
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +23 -14
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -7
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +23 -9
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -11
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -22
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +13 -10
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +154 -9
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +30 -9
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -4
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +47 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +10 -15
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +44 -9
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +95 -18
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +86 -15
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +103 -10
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +51 -28
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +10 -11
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +36 -24
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +8 -5
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +117 -2
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +18 -2
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +16 -5
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -3
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +36 -23
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index290.js +20 -112
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +9 -15
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +7 -523
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +16 -124
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +25 -130
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +16 -13
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +4 -154
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +18 -30
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +12 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +5 -48
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +14 -14
- package/dist/index300.js +3 -12
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +22 -43
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +109 -92
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +15 -86
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +513 -94
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +125 -50
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +132 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +19 -36
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +5 -8
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +5 -3
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +3 -3
- package/dist/index310.js +4 -10
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -116
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +8 -17
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +5 -15
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +4 -36
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +544 -19
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +46 -8
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +17 -19
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +6 -28
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +8 -16
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +2 -2
- package/dist/index320.js +7 -4
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +9 -19
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +12 -12
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +10 -69
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +14 -9
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +64 -13
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +68 -65
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -64
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -21
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +66 -6
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +1 -1
- package/dist/index330.js +4 -5
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +56 -4
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +68 -16
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +31 -9
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -6
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +153 -5
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +106 -544
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +4 -47
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +22 -17
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +15 -6
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +1 -1
- package/dist/index340.js +28 -8
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +12 -7
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +6 -8
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +13 -13
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +27 -9
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +5 -14
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +23 -4
- package/dist/index346.js.map +1 -1
- package/dist/index35.js +1 -1
- package/dist/index36.js +1 -1
- package/dist/index38.js +10 -9
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +2 -2
- package/dist/index40.js +24 -24
- package/dist/index42.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.js +18 -18
- package/dist/index55.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.js +5 -5
- package/dist/index58.js +53 -3
- package/dist/index58.js.map +1 -1
- package/dist/index60.js +33 -47
- package/dist/index60.js.map +1 -1
- package/dist/index62.js +7 -50
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +11 -7
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +3 -14
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +43 -129
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +50 -10
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +7 -216
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +15 -13
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +132 -32
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +10 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +216 -7
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +12 -49
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +47 -4
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +49 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +4 -28
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +6 -50
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +28 -9
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +50 -12
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +9 -2
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +2 -2
- package/dist/index81.js +2 -54
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -46
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -205
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +6 -22
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +605 -24
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +3 -399
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +32 -45
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +249 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +114 -7
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +219 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +60 -599
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +20 -3
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +208 -32
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +279 -209
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +115 -99
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +20 -219
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +60 -51
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +11 -13
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +89 -197
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index347.js +0 -26
- package/dist/index347.js.map +0 -1
- package/dist/index348.js +0 -8
- package/dist/index348.js.map +0 -1
- package/dist/index349.js +0 -59
- package/dist/index349.js.map +0 -1
- package/dist/index350.js +0 -71
- package/dist/index350.js.map +0 -1
- package/dist/index351.js +0 -34
- package/dist/index351.js.map +0 -1
- package/dist/index352.js +0 -12
- package/dist/index352.js.map +0 -1
- package/dist/index353.js +0 -156
- package/dist/index353.js.map +0 -1
- package/dist/index354.js +0 -111
- package/dist/index354.js.map +0 -1
- package/dist/index355.js +0 -26
- package/dist/index355.js.map +0 -1
- package/dist/index356.js +0 -16
- package/dist/index356.js.map +0 -1
- package/dist/index357.js +0 -31
- package/dist/index357.js.map +0 -1
- package/dist/index358.js +0 -8
- package/dist/index358.js.map +0 -1
- package/dist/index359.js +0 -19
- package/dist/index359.js.map +0 -1
- package/dist/index360.js +0 -32
- package/dist/index360.js.map +0 -1
- package/dist/index361.js +0 -16
- package/dist/index361.js.map +0 -1
- package/dist/index362.js +0 -10
- package/dist/index362.js.map +0 -1
package/dist/index250.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index250.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index250.js","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"],"names":["getDays","calendarMonths","initialDays","days","month","weekDays","week"],"mappings":"AAQO,SAASA,EAAQC,GAAgB;AACpC,QAAMC,IAAc,CAAA;AACpB,SAAOD,EAAe,OAAO,CAACE,GAAMC,MAAU;AAC1C,UAAMC,IAAWD,EAAM,MAAM,OAAO,CAACC,GAAUC,MACpCD,EAAS,OAAOC,EAAK,KAAK,MAAK,CAAE,GACzCJ,EAAY,OAAO;AACtB,WAAOC,EAAK,OAAOE,EAAS,MAAK,CAAE;AAAA,EACvC,GAAGH,EAAY,OAAO;AAC1B;","x_google_ignoreList":[0]}
|
package/dist/index251.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
function e
|
|
2
|
-
|
|
1
|
+
function i(e, o, h, r) {
|
|
2
|
+
const { numberOfMonths: f = 1 } = h, n = [];
|
|
3
|
+
for (let t = 0; t < f; t++) {
|
|
4
|
+
const s = r.addMonths(e, t);
|
|
5
|
+
if (o && s > o)
|
|
6
|
+
break;
|
|
7
|
+
n.push(s);
|
|
8
|
+
}
|
|
9
|
+
return n;
|
|
3
10
|
}
|
|
4
11
|
export {
|
|
5
|
-
|
|
6
|
-
e as isDate
|
|
12
|
+
i as getDisplayMonths
|
|
7
13
|
};
|
|
8
14
|
//# sourceMappingURL=index251.js.map
|
package/dist/index251.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index251.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index251.js","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"],"names":["getDisplayMonths","firstDisplayedMonth","calendarEndMonth","props","dateLib","numberOfMonths","months","i","month"],"mappings":"AAUO,SAASA,EAAiBC,GAAqBC,GAAkBC,GAAOC,GAAS;AACpF,QAAM,EAAE,gBAAAC,IAAiB,EAAC,IAAKF,GACzBG,IAAS,CAAA;AACf,WAASC,IAAI,GAAGA,IAAIF,GAAgBE,KAAK;AACrC,UAAMC,IAAQJ,EAAQ,UAAUH,GAAqBM,CAAC;AACtD,QAAIL,KAAoBM,IAAQN;AAC5B;AAEJ,IAAAI,EAAO,KAAKE,CAAK;AAAA,EACrB;AACA,SAAOF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index252.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
1
|
+
function u(i, o, n, e) {
|
|
2
|
+
const { month: s, defaultMonth: M, today: c = e.today(), numberOfMonths: f = 1 } = i;
|
|
3
|
+
let t = s || M || c;
|
|
4
|
+
const { differenceInCalendarMonths: h, addMonths: l, startOfMonth: r } = e;
|
|
5
|
+
if (n && h(n, t) < f - 1) {
|
|
6
|
+
const d = -1 * (f - 1);
|
|
7
|
+
t = l(n, d);
|
|
8
|
+
}
|
|
9
|
+
return o && h(t, o) < 0 && (t = o), r(t);
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
s as isSameDay
|
|
12
|
+
u as getInitialMonth
|
|
14
13
|
};
|
|
15
14
|
//# sourceMappingURL=index252.js.map
|
package/dist/index252.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index252.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index252.js","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"],"names":["getInitialMonth","props","navStart","navEnd","dateLib","month","defaultMonth","today","numberOfMonths","initialMonth","differenceInCalendarMonths","addMonths","startOfMonth","offset"],"mappings":"AAWO,SAASA,EAAgBC,GAAOC,GAAUC,GAAQC,GAAS;AAC9D,QAAM,EAAE,OAAAC,GAAO,cAAAC,GAAc,OAAAC,IAAQH,EAAQ,SAAS,gBAAAI,IAAiB,EAAC,IAAMP;AAC9E,MAAIQ,IAAeJ,KAASC,KAAgBC;AAC5C,QAAM,EAAE,4BAAAG,GAA4B,WAAAC,GAAW,cAAAC,EAAY,IAAKR;AAChE,MAAID,KACAO,EAA2BP,GAAQM,CAAY,IAAID,IAAiB,GAAG;AACvE,UAAMK,IAAS,MAAML,IAAiB;AACtC,IAAAC,IAAeE,EAAUR,GAAQU,CAAM;AAAA,EAC3C;AACA,SAAIX,KAAYQ,EAA2BD,GAAcP,CAAQ,IAAI,MACjEO,IAAeP,IAEZU,EAAaH,CAAY;AACpC;","x_google_ignoreList":[0]}
|
package/dist/index253.js
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
r
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { CalendarDay as F } from "./index211.js";
|
|
2
|
+
import { CalendarWeek as N } from "./index213.js";
|
|
3
|
+
import { CalendarMonth as P } from "./index212.js";
|
|
4
|
+
function j(l, f, e, c) {
|
|
5
|
+
const { addDays: y, endOfBroadcastWeek: D, endOfISOWeek: h, endOfMonth: k, endOfWeek: C, getISOWeek: I, getWeek: M, startOfBroadcastWeek: S, startOfISOWeek: g, startOfWeek: w } = c, o = l.reduce((W, t) => {
|
|
6
|
+
const x = e.broadcastCalendar ? S(t, c) : e.ISOWeek ? g(t) : w(t), d = e.broadcastCalendar ? D(t) : e.ISOWeek ? h(k(t)) : C(k(t)), a = f.filter((r) => r >= x && r <= d), O = e.broadcastCalendar ? 35 : 42;
|
|
7
|
+
if (e.fixedWeeks && a.length < O) {
|
|
8
|
+
const r = f.filter((n) => {
|
|
9
|
+
const s = O - a.length;
|
|
10
|
+
return n > d && n <= y(d, s);
|
|
11
|
+
});
|
|
12
|
+
a.push(...r);
|
|
13
|
+
}
|
|
14
|
+
const b = a.reduce((r, n) => {
|
|
15
|
+
const s = e.ISOWeek ? I(n) : M(n), i = r.find((B) => B.weekNumber === s), u = new F(n, t, c);
|
|
16
|
+
return i ? i.days.push(u) : r.push(new N(s, [u])), r;
|
|
17
|
+
}, []), v = new P(t, b);
|
|
18
|
+
return W.push(v), W;
|
|
19
|
+
}, []);
|
|
20
|
+
return e.reverseMonths ? o.reverse() : o;
|
|
9
21
|
}
|
|
10
22
|
export {
|
|
11
|
-
|
|
12
|
-
i as isSameMonth
|
|
23
|
+
j as getMonths
|
|
13
24
|
};
|
|
14
25
|
//# sourceMappingURL=index253.js.map
|
package/dist/index253.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index253.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index253.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getMonths.js"],"sourcesContent":["import { CalendarDay, CalendarMonth, CalendarWeek } from \"../classes/index.js\";\n/**\n * Returns the months to display in the calendar.\n *\n * This function generates `CalendarMonth` objects for each month to be\n * displayed, including their weeks and days, based on the provided display\n * months and dates.\n *\n * @param displayMonths The months (as dates) to display in the calendar.\n * @param dates The dates to display in the calendar.\n * @param props Options from the DayPicker props context.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of `CalendarMonth` objects representing the months to\n * display.\n */\nexport function getMonths(displayMonths, dates, props, dateLib) {\n const { addDays, endOfBroadcastWeek, endOfISOWeek, endOfMonth, endOfWeek, getISOWeek, getWeek, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const dayPickerMonths = displayMonths.reduce((months, month) => {\n const firstDateOfFirstWeek = props.broadcastCalendar\n ? startOfBroadcastWeek(month, dateLib)\n : props.ISOWeek\n ? startOfISOWeek(month)\n : startOfWeek(month);\n const lastDateOfLastWeek = props.broadcastCalendar\n ? endOfBroadcastWeek(month)\n : props.ISOWeek\n ? endOfISOWeek(endOfMonth(month))\n : endOfWeek(endOfMonth(month));\n /** The dates to display in the month. */\n const monthDates = dates.filter((date) => {\n return date >= firstDateOfFirstWeek && date <= lastDateOfLastWeek;\n });\n const nrOfDaysWithFixedWeeks = props.broadcastCalendar ? 35 : 42;\n if (props.fixedWeeks && monthDates.length < nrOfDaysWithFixedWeeks) {\n const extraDates = dates.filter((date) => {\n const daysToAdd = nrOfDaysWithFixedWeeks - monthDates.length;\n return (date > lastDateOfLastWeek &&\n date <= addDays(lastDateOfLastWeek, daysToAdd));\n });\n monthDates.push(...extraDates);\n }\n const weeks = monthDates.reduce((weeks, date) => {\n const weekNumber = props.ISOWeek ? getISOWeek(date) : getWeek(date);\n const week = weeks.find((week) => week.weekNumber === weekNumber);\n const day = new CalendarDay(date, month, dateLib);\n if (!week) {\n weeks.push(new CalendarWeek(weekNumber, [day]));\n }\n else {\n week.days.push(day);\n }\n return weeks;\n }, []);\n const dayPickerMonth = new CalendarMonth(month, weeks);\n months.push(dayPickerMonth);\n return months;\n }, []);\n if (!props.reverseMonths) {\n return dayPickerMonths;\n }\n else {\n return dayPickerMonths.reverse();\n }\n}\n"],"names":["getMonths","displayMonths","dates","props","dateLib","addDays","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","getISOWeek","getWeek","startOfBroadcastWeek","startOfISOWeek","startOfWeek","dayPickerMonths","months","month","firstDateOfFirstWeek","lastDateOfLastWeek","monthDates","date","nrOfDaysWithFixedWeeks","extraDates","daysToAdd","weeks","weekNumber","week","day","CalendarDay","CalendarWeek","dayPickerMonth","CalendarMonth"],"mappings":";;;AAeO,SAASA,EAAUC,GAAeC,GAAOC,GAAOC,GAAS;AAC5D,QAAM,EAAE,SAAAC,GAAS,oBAAAC,GAAoB,cAAAC,GAAc,YAAAC,GAAY,WAAAC,GAAW,YAAAC,GAAY,SAAAC,GAAS,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMV,GAChJW,IAAkBd,EAAc,OAAO,CAACe,GAAQC,MAAU;AAC5D,UAAMC,IAAuBf,EAAM,oBAC7BS,EAAqBK,GAAOb,CAAO,IACnCD,EAAM,UACFU,EAAeI,CAAK,IACpBH,EAAYG,CAAK,GACrBE,IAAqBhB,EAAM,oBAC3BG,EAAmBW,CAAK,IACxBd,EAAM,UACFI,EAAaC,EAAWS,CAAK,CAAC,IAC9BR,EAAUD,EAAWS,CAAK,CAAC,GAE/BG,IAAalB,EAAM,OAAO,CAACmB,MACtBA,KAAQH,KAAwBG,KAAQF,CAClD,GACKG,IAAyBnB,EAAM,oBAAoB,KAAK;AAC9D,QAAIA,EAAM,cAAciB,EAAW,SAASE,GAAwB;AAChE,YAAMC,IAAarB,EAAM,OAAO,CAACmB,MAAS;AACtC,cAAMG,IAAYF,IAAyBF,EAAW;AACtD,eAAQC,IAAOF,KACXE,KAAQhB,EAAQc,GAAoBK,CAAS;AAAA,MACrD,CAAC;AACD,MAAAJ,EAAW,KAAK,GAAGG,CAAU;AAAA,IACjC;AACA,UAAME,IAAQL,EAAW,OAAO,CAACK,GAAOJ,MAAS;AAC7C,YAAMK,IAAavB,EAAM,UAAUO,EAAWW,CAAI,IAAIV,EAAQU,CAAI,GAC5DM,IAAOF,EAAM,KAAK,CAACE,MAASA,EAAK,eAAeD,CAAU,GAC1DE,IAAM,IAAIC,EAAYR,GAAMJ,GAAOb,CAAO;AAChD,aAAKuB,IAIDA,EAAK,KAAK,KAAKC,CAAG,IAHlBH,EAAM,KAAK,IAAIK,EAAaJ,GAAY,CAACE,CAAG,CAAC,CAAC,GAK3CH;AAAA,IACX,GAAG,CAAA,CAAE,GACCM,IAAiB,IAAIC,EAAcf,GAAOQ,CAAK;AACrD,WAAAT,EAAO,KAAKe,CAAc,GACnBf;AAAA,EACX,GAAG,CAAA,CAAE;AACL,SAAKb,EAAM,gBAIAY,EAAgB,QAAO,IAHvBA;AAKf;","x_google_ignoreList":[0]}
|
package/dist/index254.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
function O(o, r) {
|
|
2
|
+
let { startMonth: t, endMonth: e } = o;
|
|
3
|
+
const { startOfYear: M, startOfDay: d, startOfMonth: c, endOfMonth: Y, addYears: l, endOfYear: w, newDate: f, today: i } = r, { fromYear: a, toYear: n, fromMonth: s, toMonth: h } = o;
|
|
4
|
+
!t && s && (t = s), !t && a && (t = r.newDate(a, 0, 1)), !e && h && (e = h), !e && n && (e = f(n, 11, 31));
|
|
5
|
+
const y = o.captionLayout === "dropdown" || o.captionLayout === "dropdown-years";
|
|
6
|
+
return t ? t = c(t) : a ? t = f(a, 0, 1) : !t && y && (t = M(l(o.today ?? i(), -100))), e ? e = Y(e) : n ? e = f(n, 11, 31) : !e && y && (e = w(o.today ?? i())), [
|
|
7
|
+
t && d(t),
|
|
8
|
+
e && d(e)
|
|
9
|
+
];
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
o as isSameYear
|
|
12
|
+
O as getNavMonths
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=index254.js.map
|
package/dist/index254.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index254.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index254.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js"],"sourcesContent":["/**\n * Returns the start and end months for calendar navigation.\n *\n * @param props The DayPicker props, including navigation and layout options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A tuple containing the start and end months for navigation.\n */\nexport function getNavMonths(props, dateLib) {\n let { startMonth, endMonth } = props;\n const { startOfYear, startOfDay, startOfMonth, endOfMonth, addYears, endOfYear, newDate, today, } = dateLib;\n // Handle deprecated code\n const { fromYear, toYear, fromMonth, toMonth } = props;\n if (!startMonth && fromMonth) {\n startMonth = fromMonth;\n }\n if (!startMonth && fromYear) {\n startMonth = dateLib.newDate(fromYear, 0, 1);\n }\n if (!endMonth && toMonth) {\n endMonth = toMonth;\n }\n if (!endMonth && toYear) {\n endMonth = newDate(toYear, 11, 31);\n }\n const hasYearDropdown = props.captionLayout === \"dropdown\" ||\n props.captionLayout === \"dropdown-years\";\n if (startMonth) {\n startMonth = startOfMonth(startMonth);\n }\n else if (fromYear) {\n startMonth = newDate(fromYear, 0, 1);\n }\n else if (!startMonth && hasYearDropdown) {\n startMonth = startOfYear(addYears(props.today ?? today(), -100));\n }\n if (endMonth) {\n endMonth = endOfMonth(endMonth);\n }\n else if (toYear) {\n endMonth = newDate(toYear, 11, 31);\n }\n else if (!endMonth && hasYearDropdown) {\n endMonth = endOfYear(props.today ?? today());\n }\n return [\n startMonth ? startOfDay(startMonth) : startMonth,\n endMonth ? startOfDay(endMonth) : endMonth,\n ];\n}\n"],"names":["getNavMonths","props","dateLib","startMonth","endMonth","startOfYear","startOfDay","startOfMonth","endOfMonth","addYears","endOfYear","newDate","today","fromYear","toYear","fromMonth","toMonth","hasYearDropdown"],"mappings":"AAOO,SAASA,EAAaC,GAAOC,GAAS;AACzC,MAAI,EAAE,YAAAC,GAAY,UAAAC,EAAQ,IAAKH;AAC/B,QAAM,EAAE,aAAAI,GAAa,YAAAC,GAAY,cAAAC,GAAc,YAAAC,GAAY,UAAAC,GAAU,WAAAC,GAAW,SAAAC,GAAS,OAAAC,EAAK,IAAMV,GAE9F,EAAE,UAAAW,GAAU,QAAAC,GAAQ,WAAAC,GAAW,SAAAC,EAAO,IAAKf;AACjD,EAAI,CAACE,KAAcY,MACfZ,IAAaY,IAEb,CAACZ,KAAcU,MACfV,IAAaD,EAAQ,QAAQW,GAAU,GAAG,CAAC,IAE3C,CAACT,KAAYY,MACbZ,IAAWY,IAEX,CAACZ,KAAYU,MACbV,IAAWO,EAAQG,GAAQ,IAAI,EAAE;AAErC,QAAMG,IAAkBhB,EAAM,kBAAkB,cAC5CA,EAAM,kBAAkB;AAC5B,SAAIE,IACAA,IAAaI,EAAaJ,CAAU,IAE/BU,IACLV,IAAaQ,EAAQE,GAAU,GAAG,CAAC,IAE9B,CAACV,KAAcc,MACpBd,IAAaE,EAAYI,EAASR,EAAM,SAASW,EAAK,GAAI,IAAI,CAAC,IAE/DR,IACAA,IAAWI,EAAWJ,CAAQ,IAEzBU,IACLV,IAAWO,EAAQG,GAAQ,IAAI,EAAE,IAE5B,CAACV,KAAYa,MAClBb,IAAWM,EAAUT,EAAM,SAASW,EAAK,CAAE,IAExC;AAAA,IACHT,KAAaG,EAAWH,CAAU;AAAA,IAClCC,KAAWE,EAAWF,CAAQ;AAAA,EACtC;AACA;","x_google_ignoreList":[0]}
|
package/dist/index255.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}), n(o, t || NaN);
|
|
1
|
+
function h(n, t, e, s) {
|
|
2
|
+
if (e.disableNavigation)
|
|
3
|
+
return;
|
|
4
|
+
const { pagedNavigation: u, numberOfMonths: f = 1 } = e, { startOfMonth: a, addMonths: o, differenceInCalendarMonths: d } = s, i = u ? f : 1, r = a(n);
|
|
5
|
+
if (!t)
|
|
6
|
+
return o(r, i);
|
|
7
|
+
if (!(d(t, n) < f))
|
|
8
|
+
return o(r, i);
|
|
10
9
|
}
|
|
11
10
|
export {
|
|
12
|
-
|
|
13
|
-
m as max
|
|
11
|
+
h as getNextMonth
|
|
14
12
|
};
|
|
15
13
|
//# sourceMappingURL=index255.js.map
|
package/dist/index255.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index255.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index255.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js"],"sourcesContent":["/**\n * Returns the next month the user can navigate to, based on the given options.\n *\n * The next month is not always the next calendar month:\n *\n * - If it is after the `calendarEndMonth`, it returns `undefined`.\n * - If paged navigation is enabled, it skips forward by the number of displayed\n * months.\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 options Navigation options, including `numberOfMonths` and\n * `pagedNavigation`.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next month, or `undefined` if navigation is not possible.\n */\nexport function getNextMonth(firstDisplayedMonth, calendarEndMonth, options, dateLib) {\n if (options.disableNavigation) {\n return undefined;\n }\n const { pagedNavigation, numberOfMonths = 1 } = options;\n const { startOfMonth, addMonths, differenceInCalendarMonths } = dateLib;\n const offset = pagedNavigation ? numberOfMonths : 1;\n const month = startOfMonth(firstDisplayedMonth);\n if (!calendarEndMonth) {\n return addMonths(month, offset);\n }\n const monthsDiff = differenceInCalendarMonths(calendarEndMonth, firstDisplayedMonth);\n if (monthsDiff < numberOfMonths) {\n return undefined;\n }\n return addMonths(month, offset);\n}\n"],"names":["getNextMonth","firstDisplayedMonth","calendarEndMonth","options","dateLib","pagedNavigation","numberOfMonths","startOfMonth","addMonths","differenceInCalendarMonths","offset","month"],"mappings":"AAiBO,SAASA,EAAaC,GAAqBC,GAAkBC,GAASC,GAAS;AAClF,MAAID,EAAQ;AACR;AAEJ,QAAM,EAAE,iBAAAE,GAAiB,gBAAAC,IAAiB,EAAC,IAAKH,GAC1C,EAAE,cAAAI,GAAc,WAAAC,GAAW,4BAAAC,EAA0B,IAAKL,GAC1DM,IAASL,IAAkBC,IAAiB,GAC5CK,IAAQJ,EAAaN,CAAmB;AAC9C,MAAI,CAACC;AACD,WAAOM,EAAUG,GAAOD,CAAM;AAGlC,MAAI,EADeD,EAA2BP,GAAkBD,CAAmB,IAClEK;AAGjB,WAAOE,EAAUG,GAAOD,CAAM;AAClC;","x_google_ignoreList":[0]}
|
package/dist/index256.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}), e(o, t || NaN);
|
|
1
|
+
function c(i, t, e, s) {
|
|
2
|
+
if (e.disableNavigation)
|
|
3
|
+
return;
|
|
4
|
+
const { pagedNavigation: r, numberOfMonths: d } = e, { startOfMonth: u, addMonths: f, differenceInCalendarMonths: a } = s, o = r ? d ?? 1 : 1, n = u(i);
|
|
5
|
+
if (!t)
|
|
6
|
+
return f(n, -o);
|
|
7
|
+
if (!(a(n, t) <= 0))
|
|
8
|
+
return f(n, -o);
|
|
10
9
|
}
|
|
11
10
|
export {
|
|
12
|
-
|
|
13
|
-
u as min
|
|
11
|
+
c as getPreviousMonth
|
|
14
12
|
};
|
|
15
13
|
//# sourceMappingURL=index256.js.map
|
package/dist/index256.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index256.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index256.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js"],"sourcesContent":["/**\n * Returns the previous month the user can navigate to, based on the given\n * options.\n *\n * The previous month is not always the previous calendar month:\n *\n * - If it is before the `calendarStartMonth`, it returns `undefined`.\n * - If paged navigation is enabled, it skips back by the number of displayed\n * months.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarStartMonth The earliest month the user can navigate to.\n * @param options Navigation options, including `numberOfMonths` and\n * `pagedNavigation`.\n * @param dateLib The date library to use for date manipulation.\n * @returns The previous month, or `undefined` if navigation is not possible.\n */\nexport function getPreviousMonth(firstDisplayedMonth, calendarStartMonth, options, dateLib) {\n if (options.disableNavigation) {\n return undefined;\n }\n const { pagedNavigation, numberOfMonths } = options;\n const { startOfMonth, addMonths, differenceInCalendarMonths } = dateLib;\n const offset = pagedNavigation ? (numberOfMonths ?? 1) : 1;\n const month = startOfMonth(firstDisplayedMonth);\n if (!calendarStartMonth) {\n return addMonths(month, -offset);\n }\n const monthsDiff = differenceInCalendarMonths(month, calendarStartMonth);\n if (monthsDiff <= 0) {\n return undefined;\n }\n return addMonths(month, -offset);\n}\n"],"names":["getPreviousMonth","firstDisplayedMonth","calendarStartMonth","options","dateLib","pagedNavigation","numberOfMonths","startOfMonth","addMonths","differenceInCalendarMonths","offset","month"],"mappings":"AAkBO,SAASA,EAAiBC,GAAqBC,GAAoBC,GAASC,GAAS;AACxF,MAAID,EAAQ;AACR;AAEJ,QAAM,EAAE,iBAAAE,GAAiB,gBAAAC,EAAc,IAAKH,GACtC,EAAE,cAAAI,GAAc,WAAAC,GAAW,4BAAAC,EAA0B,IAAKL,GAC1DM,IAASL,IAAmBC,KAAkB,IAAK,GACnDK,IAAQJ,EAAaN,CAAmB;AAC9C,MAAI,CAACC;AACD,WAAOM,EAAUG,GAAO,CAACD,CAAM;AAGnC,MAAI,EADeD,EAA2BE,GAAOT,CAAkB,KACrD;AAGlB,WAAOM,EAAUG,GAAO,CAACD,CAAM;AACnC;","x_google_ignoreList":[0]}
|
package/dist/index257.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function l(n, e, r) {
|
|
5
|
-
const t = u(n, r?.in), s = t.getFullYear(), a = t.getDate(), o = m(n, 0);
|
|
6
|
-
o.setFullYear(s, e, 15), o.setHours(0, 0, 0, 0);
|
|
7
|
-
const c = i(o);
|
|
8
|
-
return t.setMonth(e, Math.min(a, c)), t;
|
|
1
|
+
function i(e) {
|
|
2
|
+
const t = [];
|
|
3
|
+
return e.reduce((c, n) => c.concat(n.weeks.slice()), t.slice());
|
|
9
4
|
}
|
|
10
5
|
export {
|
|
11
|
-
|
|
12
|
-
l as setMonth
|
|
6
|
+
i as getWeeks
|
|
13
7
|
};
|
|
14
8
|
//# sourceMappingURL=index257.js.map
|
package/dist/index257.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index257.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index257.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getWeeks.js"],"sourcesContent":["/**\n * Returns an array of calendar weeks from an array of calendar months.\n *\n * @param months The array of calendar months.\n * @returns An array of calendar weeks.\n */\nexport function getWeeks(months) {\n const initialWeeks = [];\n return months.reduce((weeks, month) => {\n return weeks.concat(month.weeks.slice());\n }, initialWeeks.slice());\n}\n"],"names":["getWeeks","months","initialWeeks","weeks","month"],"mappings":"AAMO,SAASA,EAASC,GAAQ;AAC7B,QAAMC,IAAe,CAAA;AACrB,SAAOD,EAAO,OAAO,CAACE,GAAOC,MAClBD,EAAM,OAAOC,EAAM,MAAM,MAAK,CAAE,GACxCF,EAAa,OAAO;AAC3B;","x_google_ignoreList":[0]}
|
package/dist/index258.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return isNaN(+t) ? a(r, NaN) : (t.setFullYear(o), t);
|
|
1
|
+
import { useState as o } from "react";
|
|
2
|
+
function a(t, e) {
|
|
3
|
+
const [u, n] = o(t);
|
|
4
|
+
return [e === void 0 ? u : e, n];
|
|
6
5
|
}
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
u as setYear
|
|
7
|
+
a as useControlledValue
|
|
10
8
|
};
|
|
11
9
|
//# sourceMappingURL=index258.js.map
|
package/dist/index258.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index258.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index258.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js"],"sourcesContent":["import { useState } from \"react\";\n/**\n * A custom hook for managing both controlled and uncontrolled component states.\n *\n * This hook allows a component to support both controlled and uncontrolled\n * states by determining whether the `controlledValue` is provided. If it is\n * undefined, the hook falls back to using the internal state.\n *\n * @example\n * // Uncontrolled usage\n * const [value, setValue] = useControlledValue(0, undefined);\n *\n * // Controlled usage\n * const [value, setValue] = useControlledValue(0, props.value);\n *\n * @template T - The type of the value.\n * @param defaultValue The initial value for the uncontrolled state.\n * @param controlledValue The value for the controlled state. If undefined, the\n * component will use the uncontrolled state.\n * @returns A tuple where the first element is the current value (either\n * controlled or uncontrolled) and the second element is a setter function to\n * update the value.\n */\nexport function useControlledValue(defaultValue, controlledValue) {\n const [uncontrolledValue, setValue] = useState(defaultValue);\n const value = controlledValue === undefined ? uncontrolledValue : controlledValue;\n return [value, setValue];\n}\n"],"names":["useControlledValue","defaultValue","controlledValue","uncontrolledValue","setValue","useState"],"mappings":";AAuBO,SAASA,EAAmBC,GAAcC,GAAiB;AAC9D,QAAM,CAACC,GAAmBC,CAAQ,IAAIC,EAASJ,CAAY;AAE3D,SAAO,CADOC,MAAoB,SAAYC,IAAoBD,GACnDE,CAAQ;AAC3B;","x_google_ignoreList":[0]}
|
package/dist/index259.js
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { DayFlag as s } from "./index140.js";
|
|
2
|
+
var d;
|
|
3
|
+
(function(e) {
|
|
4
|
+
e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
|
|
5
|
+
})(d || (d = {}));
|
|
6
|
+
function l(e) {
|
|
7
|
+
return !e[s.disabled] && !e[s.hidden] && !e[s.outside];
|
|
8
|
+
}
|
|
9
|
+
function F(e, u, t, n) {
|
|
10
|
+
let f, c = -1;
|
|
11
|
+
for (const o of e) {
|
|
12
|
+
const a = u(o);
|
|
13
|
+
l(a) && (a[s.focused] && c < d.FocusedModifier ? (f = o, c = d.FocusedModifier) : n?.isEqualTo(o) && c < d.LastFocused ? (f = o, c = d.LastFocused) : t(o.date) && c < d.Selected ? (f = o, c = d.Selected) : a[s.today] && c < d.Today && (f = o, c = d.Today));
|
|
14
|
+
}
|
|
15
|
+
return f || (f = e.find((o) => l(u(o)))), f;
|
|
5
16
|
}
|
|
6
17
|
export {
|
|
7
|
-
|
|
8
|
-
n as startOfDay
|
|
18
|
+
F as calculateFocusTarget
|
|
9
19
|
};
|
|
10
20
|
//# sourceMappingURL=index259.js.map
|
package/dist/index259.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index259.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index259.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nvar FocusTargetPriority;\n(function (FocusTargetPriority) {\n FocusTargetPriority[FocusTargetPriority[\"Today\"] = 0] = \"Today\";\n FocusTargetPriority[FocusTargetPriority[\"Selected\"] = 1] = \"Selected\";\n FocusTargetPriority[FocusTargetPriority[\"LastFocused\"] = 2] = \"LastFocused\";\n FocusTargetPriority[FocusTargetPriority[\"FocusedModifier\"] = 3] = \"FocusedModifier\";\n})(FocusTargetPriority || (FocusTargetPriority = {}));\n/**\n * Determines if a day is focusable based on its modifiers.\n *\n * A day is considered focusable if it is not disabled, hidden, or outside the\n * displayed month.\n *\n * @param modifiers The modifiers applied to the day.\n * @returns `true` if the day is focusable, otherwise `false`.\n */\nfunction isFocusableDay(modifiers) {\n return (!modifiers[DayFlag.disabled] &&\n !modifiers[DayFlag.hidden] &&\n !modifiers[DayFlag.outside]);\n}\n/**\n * Calculates the focus target day based on priority.\n *\n * This function determines the day that should receive focus in the calendar,\n * prioritizing days with specific modifiers (e.g., \"focused\", \"today\") or\n * selection states.\n *\n * @param days The array of `CalendarDay` objects to evaluate.\n * @param getModifiers A function to retrieve the modifiers for a given day.\n * @param isSelected A function to determine if a day is selected.\n * @param lastFocused The last focused day, if any.\n * @returns The `CalendarDay` that should receive focus, or `undefined` if no\n * focusable day is found.\n */\nexport function calculateFocusTarget(days, getModifiers, isSelected, lastFocused) {\n let focusTarget;\n let foundFocusTargetPriority = -1;\n for (const day of days) {\n const modifiers = getModifiers(day);\n if (isFocusableDay(modifiers)) {\n if (modifiers[DayFlag.focused] &&\n foundFocusTargetPriority < FocusTargetPriority.FocusedModifier) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.FocusedModifier;\n }\n else if (lastFocused?.isEqualTo(day) &&\n foundFocusTargetPriority < FocusTargetPriority.LastFocused) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.LastFocused;\n }\n else if (isSelected(day.date) &&\n foundFocusTargetPriority < FocusTargetPriority.Selected) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Selected;\n }\n else if (modifiers[DayFlag.today] &&\n foundFocusTargetPriority < FocusTargetPriority.Today) {\n focusTarget = day;\n foundFocusTargetPriority = FocusTargetPriority.Today;\n }\n }\n }\n if (!focusTarget) {\n // Return the first day that is focusable\n focusTarget = days.find((day) => isFocusableDay(getModifiers(day)));\n }\n return focusTarget;\n}\n"],"names":["FocusTargetPriority","isFocusableDay","modifiers","DayFlag","calculateFocusTarget","days","getModifiers","isSelected","lastFocused","focusTarget","foundFocusTargetPriority","day"],"mappings":";AACA,IAAIA;AAAA,CACH,SAAUA,GAAqB;AAC5B,EAAAA,EAAoBA,EAAoB,QAAW,CAAC,IAAI,SACxDA,EAAoBA,EAAoB,WAAc,CAAC,IAAI,YAC3DA,EAAoBA,EAAoB,cAAiB,CAAC,IAAI,eAC9DA,EAAoBA,EAAoB,kBAAqB,CAAC,IAAI;AACtE,GAAGA,MAAwBA,IAAsB,CAAA,EAAG;AAUpD,SAASC,EAAeC,GAAW;AAC/B,SAAQ,CAACA,EAAUC,EAAQ,QAAQ,KAC/B,CAACD,EAAUC,EAAQ,MAAM,KACzB,CAACD,EAAUC,EAAQ,OAAO;AAClC;AAeO,SAASC,EAAqBC,GAAMC,GAAcC,GAAYC,GAAa;AAC9E,MAAIC,GACAC,IAA2B;AAC/B,aAAWC,KAAON,GAAM;AACpB,UAAMH,IAAYI,EAAaK,CAAG;AAClC,IAAIV,EAAeC,CAAS,MACpBA,EAAUC,EAAQ,OAAO,KACzBO,IAA2BV,EAAoB,mBAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,mBAE1CQ,GAAa,UAAUG,CAAG,KAC/BD,IAA2BV,EAAoB,eAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,eAE1CO,EAAWI,EAAI,IAAI,KACxBD,IAA2BV,EAAoB,YAC/CS,IAAcE,GACdD,IAA2BV,EAAoB,YAE1CE,EAAUC,EAAQ,KAAK,KAC5BO,IAA2BV,EAAoB,UAC/CS,IAAcE,GACdD,IAA2BV,EAAoB;AAAA,EAG3D;AACA,SAAKS,MAEDA,IAAcJ,EAAK,KAAK,CAACM,MAAQV,EAAeK,EAAaK,CAAG,CAAC,CAAC,IAE/DF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index260.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { dateMatchModifiers as u } from "./index248.js";
|
|
2
|
+
import { getFocusableDate as g } from "./index298.js";
|
|
3
|
+
import { CalendarDay as m } from "./index211.js";
|
|
4
|
+
function h(t, i, a, d, f, e, n, s = 0) {
|
|
5
|
+
if (s > 365)
|
|
6
|
+
return;
|
|
7
|
+
const o = g(t, i, a.date, d, f, e, n), r = !!(e.disabled && u(o, e.disabled, n)), l = !!(e.hidden && u(o, e.hidden, n)), D = o, c = new m(o, D, n);
|
|
8
|
+
return !r && !l ? c : h(t, i, c, d, f, e, n, s + 1);
|
|
4
9
|
}
|
|
5
10
|
export {
|
|
6
|
-
|
|
7
|
-
f as startOfISOWeek
|
|
11
|
+
h as getNextFocus
|
|
8
12
|
};
|
|
9
13
|
//# sourceMappingURL=index260.js.map
|
package/dist/index260.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index260.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index260.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js"],"sourcesContent":["import { CalendarDay } from \"../classes/index.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\nimport { getFocusableDate } from \"./getFocusableDate.js\";\n/**\n * Determines the next focusable day in the calendar.\n *\n * This function recursively calculates the next focusable day based on the\n * movement direction and modifiers applied to the days.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDay The currently focused day.\n * @param calendarStartMonth The earliest month the user can navigate to.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @param attempt The current recursion attempt (used to limit recursion depth).\n * @returns The next focusable day, or `undefined` if no focusable day is found.\n */\nexport function getNextFocus(moveBy, moveDir, refDay, calendarStartMonth, calendarEndMonth, props, dateLib, attempt = 0) {\n if (attempt > 365) {\n // Limit the recursion to 365 attempts\n return undefined;\n }\n const focusableDate = getFocusableDate(moveBy, moveDir, refDay.date, calendarStartMonth, calendarEndMonth, props, dateLib);\n const isDisabled = Boolean(props.disabled &&\n dateMatchModifiers(focusableDate, props.disabled, dateLib));\n const isHidden = Boolean(props.hidden && dateMatchModifiers(focusableDate, props.hidden, dateLib));\n const targetMonth = focusableDate;\n const focusDay = new CalendarDay(focusableDate, targetMonth, dateLib);\n if (!isDisabled && !isHidden) {\n return focusDay;\n }\n // Recursively attempt to find the next focusable date\n return getNextFocus(moveBy, moveDir, focusDay, calendarStartMonth, calendarEndMonth, props, dateLib, attempt + 1);\n}\n"],"names":["getNextFocus","moveBy","moveDir","refDay","calendarStartMonth","calendarEndMonth","props","dateLib","attempt","focusableDate","getFocusableDate","isDisabled","dateMatchModifiers","isHidden","targetMonth","focusDay","CalendarDay"],"mappings":";;;AAoBO,SAASA,EAAaC,GAAQC,GAASC,GAAQC,GAAoBC,GAAkBC,GAAOC,GAASC,IAAU,GAAG;AACrH,MAAIA,IAAU;AAEV;AAEJ,QAAMC,IAAgBC,EAAiBT,GAAQC,GAASC,EAAO,MAAMC,GAAoBC,GAAkBC,GAAOC,CAAO,GACnHI,IAAa,GAAQL,EAAM,YAC7BM,EAAmBH,GAAeH,EAAM,UAAUC,CAAO,IACvDM,IAAW,GAAQP,EAAM,UAAUM,EAAmBH,GAAeH,EAAM,QAAQC,CAAO,IAC1FO,IAAcL,GACdM,IAAW,IAAIC,EAAYP,GAAeK,GAAaP,CAAO;AACpE,SAAI,CAACI,KAAc,CAACE,IACTE,IAGJf,EAAaC,GAAQC,GAASa,GAAUX,GAAoBC,GAAkBC,GAAOC,GAASC,IAAU,CAAC;AACpH;","x_google_ignoreList":[0]}
|
package/dist/index261.js
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
return
|
|
1
|
+
import { useControlledValue as x } from "./index258.js";
|
|
2
|
+
function C(i, d) {
|
|
3
|
+
const { selected: s, required: f, onSelect: l } = i, [r, m] = x(s, l ? s : void 0), e = l ? s : r, { isSameDay: o } = d, u = (t) => e?.some((c) => o(c, t)) ?? !1, { min: S, max: a } = i;
|
|
4
|
+
return {
|
|
5
|
+
selected: e,
|
|
6
|
+
select: (t, c, h) => {
|
|
7
|
+
let n = [...e ?? []];
|
|
8
|
+
if (u(t)) {
|
|
9
|
+
if (e?.length === S || f && e?.length === 1)
|
|
10
|
+
return;
|
|
11
|
+
n = e?.filter((y) => !o(y, t));
|
|
12
|
+
} else
|
|
13
|
+
e?.length === a ? n = [t] : n = [...n, t];
|
|
14
|
+
return l || m(n), l?.(n, t, c, h), n;
|
|
15
|
+
},
|
|
16
|
+
isSelected: u
|
|
17
|
+
};
|
|
5
18
|
}
|
|
6
19
|
export {
|
|
7
|
-
|
|
8
|
-
n as startOfMonth
|
|
20
|
+
C as useMulti
|
|
9
21
|
};
|
|
10
22
|
//# sourceMappingURL=index261.js.map
|
package/dist/index261.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index261.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index261.js","sources":["../../../node_modules/react-day-picker/dist/esm/selection/useMulti.js"],"sourcesContent":["import { useControlledValue } from \"../helpers/useControlledValue.js\";\n/**\n * Hook to manage multiple-date selection in the DayPicker component.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param dateLib - The date utility library instance.\n * @returns An object containing the selected dates, a function to select dates,\n * and a function to check if a date is selected.\n */\nexport function useMulti(props, dateLib) {\n const { selected: initiallySelected, required, onSelect, } = props;\n const [internallySelected, setSelected] = useControlledValue(initiallySelected, onSelect ? initiallySelected : undefined);\n const selected = !onSelect ? internallySelected : initiallySelected;\n const { isSameDay } = dateLib;\n const isSelected = (date) => {\n return selected?.some((d) => isSameDay(d, date)) ?? false;\n };\n const { min, max } = props;\n const select = (triggerDate, modifiers, e) => {\n let newDates = [...(selected ?? [])];\n if (isSelected(triggerDate)) {\n if (selected?.length === min) {\n // Min value reached, do nothing\n return;\n }\n if (required && selected?.length === 1) {\n // Required value already selected do nothing\n return;\n }\n newDates = selected?.filter((d) => !isSameDay(d, triggerDate));\n }\n else {\n if (selected?.length === max) {\n // Max value reached, reset the selection to date\n newDates = [triggerDate];\n }\n else {\n // Add the date to the selection\n newDates = [...newDates, triggerDate];\n }\n }\n if (!onSelect) {\n setSelected(newDates);\n }\n onSelect?.(newDates, triggerDate, modifiers, e);\n return newDates;\n };\n return {\n selected,\n select,\n isSelected,\n };\n}\n"],"names":["useMulti","props","dateLib","initiallySelected","required","onSelect","internallySelected","setSelected","useControlledValue","selected","isSameDay","isSelected","date","d","min","max","triggerDate","modifiers","e","newDates"],"mappings":";AAUO,SAASA,EAASC,GAAOC,GAAS;AACrC,QAAM,EAAE,UAAUC,GAAmB,UAAAC,GAAU,UAAAC,EAAQ,IAAMJ,GACvD,CAACK,GAAoBC,CAAW,IAAIC,EAAmBL,GAAmBE,IAAWF,IAAoB,MAAS,GAClHM,IAAYJ,IAAgCF,IAArBG,GACvB,EAAE,WAAAI,EAAS,IAAKR,GAChBS,IAAa,CAACC,MACTH,GAAU,KAAK,CAACI,MAAMH,EAAUG,GAAGD,CAAI,CAAC,KAAK,IAElD,EAAE,KAAAE,GAAK,KAAAC,EAAG,IAAKd;AA8BrB,SAAO;AAAA,IACH,UAAAQ;AAAA,IACA,QA/BW,CAACO,GAAaC,GAAWC,MAAM;AAC1C,UAAIC,IAAW,CAAC,GAAIV,KAAY,CAAA,CAAG;AACnC,UAAIE,EAAWK,CAAW,GAAG;AAKzB,YAJIP,GAAU,WAAWK,KAIrBV,KAAYK,GAAU,WAAW;AAEjC;AAEJ,QAAAU,IAAWV,GAAU,OAAO,CAACI,MAAM,CAACH,EAAUG,GAAGG,CAAW,CAAC;AAAA,MACjE;AAEI,QAAIP,GAAU,WAAWM,IAErBI,IAAW,CAACH,CAAW,IAIvBG,IAAW,CAAC,GAAGA,GAAUH,CAAW;AAG5C,aAAKX,KACDE,EAAYY,CAAQ,GAExBd,IAAWc,GAAUH,GAAaC,GAAWC,CAAC,GACvCC;AAAA,IACX;AAAA,IAII,YAAAR;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index262.js
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { useControlledValue as x } from "./index258.js";
|
|
2
|
+
import { rangeIncludesDate as R } from "./index147.js";
|
|
3
|
+
import { addToRange as y } from "./index264.js";
|
|
4
|
+
import { rangeContainsModifiers as C } from "./index266.js";
|
|
5
|
+
function b(s, l) {
|
|
6
|
+
const { disabled: c, excludeDisabled: i, selected: d, required: f, onSelect: o } = s, [r, m] = x(d, o ? d : void 0), t = o ? d : r;
|
|
7
|
+
return {
|
|
8
|
+
selected: t,
|
|
9
|
+
select: (n, u, a) => {
|
|
10
|
+
const { min: S, max: p } = s, e = n ? y(n, t, S, p, f, l) : void 0;
|
|
11
|
+
return i && c && e?.from && e.to && C({ from: e.from, to: e.to }, c, l) && (e.from = n, e.to = void 0), o || m(e), o?.(e, n, u, a), e;
|
|
12
|
+
},
|
|
13
|
+
isSelected: (n) => t && R(t, n, !1, l)
|
|
14
|
+
};
|
|
6
15
|
}
|
|
7
16
|
export {
|
|
8
|
-
|
|
9
|
-
l as startOfWeek
|
|
17
|
+
b as useRange
|
|
10
18
|
};
|
|
11
19
|
//# sourceMappingURL=index262.js.map
|