@rpcbase/ui 0.224.0 → 0.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +13 -9
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/FilesUploadField/index.d.ts.map +1 -1
- package/dist/components/HourPickerField/index.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/index.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +16 -10
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/index10.js +102 -103
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +11 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +69 -52
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +38 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +14 -5
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +23 -15
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +110 -5
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +13 -8
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -16
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -5
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -5
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +11 -5
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +19 -5
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +13 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +261 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -6
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +28 -25
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +126 -6
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -4
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +78 -6
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +66 -5
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +8 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +16 -6
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +92 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +65 -8
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +45 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +52 -5
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +4 -4
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +4 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +15 -145
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -39
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +7 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +16 -7
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -13
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -13
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +5 -7
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +5 -31
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -10
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -10
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -8
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +24 -13
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +6 -101
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +5 -20
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -53
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +5 -72
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -9
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +5 -20
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +4 -16
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +8 -23
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -6
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -5
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -22
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +7 -35
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +146 -16
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +39 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -4
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +7 -4
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +13 -4
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +13 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +7 -3
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +31 -6
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +77 -72
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +11 -24
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +10 -7
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +8 -6
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +13 -5
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +101 -3
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +20 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +53 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +72 -3
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +20 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +16 -3
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +23 -3
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +6 -46
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -229
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +24 -22
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +35 -25
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +16 -401
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +6 -13
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -154
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -30
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +205 -186
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +4 -9
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -48
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +3 -11
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -44
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +24 -96
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +7 -86
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +6 -105
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -52
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +3 -11
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +3 -37
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +280 -208
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +4 -8
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +3 -116
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +4 -17
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +3 -15
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +3 -3
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +3 -36
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +13 -20
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +154 -9
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +30 -8
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +9 -19
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +45 -25
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +11 -16
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +44 -58
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +95 -8
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +81 -61
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +103 -17
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +50 -14
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +10 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +36 -4
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +8 -6
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +116 -4
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +17 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +15 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +3 -4
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +36 -4
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +20 -12
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +9 -9
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +8 -13
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +19 -13
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +28 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +16 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +66 -6
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +8 -5
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +11 -54
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +8 -8
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +5 -4
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +13 -4
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +3 -8
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +3 -4
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +99 -4
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +29 -3
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +51 -10
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +17 -9
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -9
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +122 -10
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +27 -10
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +32 -9
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +73 -6
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +262 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +28 -4
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +6 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +142 -6
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +61 -5
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +49 -16
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +15 -8
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +132 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +7 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +5 -22
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +4 -11
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +11 -9
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +21 -9
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +20 -5
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +11 -5
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +48 -14
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +16 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +21 -18
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +50 -14
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +25 -12
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +41 -29
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +39 -12
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +45 -26
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +20 -5
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +68 -22
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +18 -29
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +12 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -19
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +18 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +36 -17
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +278 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +69 -5
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +84 -3
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -23
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +28 -111
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +16 -15
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +32 -527
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +14 -123
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +3 -133
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +26 -4
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +79 -4
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +1 -1
- package/dist/index280.js +269 -15
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +11 -8
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +10 -5
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +25 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +16 -545
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +123 -44
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +5 -17
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +40 -5
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +65 -7
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +14 -7
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +7 -7
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -11
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +3 -8
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +10 -12
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +8 -69
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +398 -7
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +53 -14
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +12 -66
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +11 -64
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +58 -4
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +1 -1
- package/dist/index300.js +9 -56
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +66 -67
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +20 -31
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +17 -9
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +5 -152
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -107
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +6 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +4 -22
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +6 -15
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +16 -28
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +227 -120
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +4 -12
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -6
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +13 -23
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +10 -13
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +13 -27
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +14 -5
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +8 -0
- package/dist/index316.js.map +1 -0
- package/dist/index317.js +9 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.js +10 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +9 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +21 -229
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +58 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.js +12 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.js +8 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.js +8 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.js +12 -0
- package/dist/index324.js.map +1 -0
- package/dist/index325.js +8 -0
- package/dist/index325.js.map +1 -0
- package/dist/index326.js +8 -0
- package/dist/index326.js.map +1 -0
- package/dist/index327.js +7 -0
- package/dist/index327.js.map +1 -0
- package/dist/index328.js +14 -0
- package/dist/index328.js.map +1 -0
- package/dist/index329.js +13 -0
- package/dist/index329.js.map +1 -0
- package/dist/index33.js +4 -23
- package/dist/index33.js.map +1 -1
- package/dist/index330.js +13 -0
- package/dist/index330.js.map +1 -0
- package/dist/index331.js +14 -0
- package/dist/index331.js.map +1 -0
- package/dist/index332.js +14 -0
- package/dist/index332.js.map +1 -0
- package/dist/index333.js +13 -0
- package/dist/index333.js.map +1 -0
- package/dist/index334.js +10 -0
- package/dist/index334.js.map +1 -0
- package/dist/index335.js +9 -0
- package/dist/index335.js.map +1 -0
- package/dist/index336.js +8 -0
- package/dist/index336.js.map +1 -0
- package/dist/index337.js +9 -0
- package/dist/index337.js.map +1 -0
- package/dist/index338.js +10 -0
- package/dist/index338.js.map +1 -0
- package/dist/index339.js +9 -0
- package/dist/index339.js.map +1 -0
- package/dist/index34.js +62 -51
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +20 -0
- package/dist/index340.js.map +1 -0
- package/dist/index341.js +11 -0
- package/dist/index341.js.map +1 -0
- package/dist/index342.js +14 -0
- package/dist/index342.js.map +1 -0
- package/dist/index343.js +14 -0
- package/dist/index343.js.map +1 -0
- package/dist/index344.js +25 -0
- package/dist/index344.js.map +1 -0
- package/dist/index345.js +14 -0
- package/dist/index345.js.map +1 -0
- package/dist/index346.js +13 -0
- package/dist/index346.js.map +1 -0
- package/dist/index347.js +13 -0
- package/dist/index347.js.map +1 -0
- package/dist/index348.js +8 -0
- package/dist/index348.js.map +1 -0
- package/dist/index349.js +9 -0
- package/dist/index349.js.map +1 -0
- package/dist/index35.js +38 -21
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +20 -0
- package/dist/index350.js.map +1 -0
- package/dist/index351.js +13 -0
- package/dist/index351.js.map +1 -0
- package/dist/index352.js +22 -0
- package/dist/index352.js.map +1 -0
- package/dist/index353.js +19 -0
- package/dist/index353.js.map +1 -0
- package/dist/index354.js +16 -0
- package/dist/index354.js.map +1 -0
- package/dist/index355.js +33 -0
- package/dist/index355.js.map +1 -0
- package/dist/index356.js +16 -0
- package/dist/index356.js.map +1 -0
- package/dist/index357.js +29 -0
- package/dist/index357.js.map +1 -0
- package/dist/index358.js +9 -0
- package/dist/index358.js.map +1 -0
- package/dist/index359.js +24 -0
- package/dist/index359.js.map +1 -0
- package/dist/index36.js +75 -127
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +12 -0
- package/dist/index360.js.map +1 -0
- package/dist/index361.js +29 -0
- package/dist/index361.js.map +1 -0
- package/dist/index362.js +30 -0
- package/dist/index362.js.map +1 -0
- package/dist/index363.js +141 -0
- package/dist/index363.js.map +1 -0
- package/dist/index364.js +16 -0
- package/dist/index364.js.map +1 -0
- package/dist/index365.js +230 -0
- package/dist/index365.js.map +1 -0
- package/dist/index366.js +7 -0
- package/dist/index366.js.map +1 -0
- package/dist/index367.js +23 -0
- package/dist/index367.js.map +1 -0
- package/dist/index368.js +81 -0
- package/dist/index368.js.map +1 -0
- package/dist/index369.js +15 -0
- package/dist/index369.js.map +1 -0
- package/dist/index37.js +22 -221
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +7 -0
- package/dist/index370.js.map +1 -0
- package/dist/index371.js +81 -0
- package/dist/index371.js.map +1 -0
- package/dist/index372.js +204 -0
- package/dist/index372.js.map +1 -0
- package/dist/index373.js +75 -0
- package/dist/index373.js.map +1 -0
- package/dist/index374.js +12 -0
- package/dist/index374.js.map +1 -0
- package/dist/index375.js +20 -0
- package/dist/index375.js.map +1 -0
- package/dist/index376.js +19 -0
- package/dist/index376.js.map +1 -0
- package/dist/index377.js +7 -0
- package/dist/index377.js.map +1 -0
- package/dist/index378.js +15 -0
- package/dist/index378.js.map +1 -0
- package/dist/index379.js +9 -0
- package/dist/index379.js.map +1 -0
- package/dist/index38.js +37 -90
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +24 -0
- package/dist/index380.js.map +1 -0
- package/dist/index381.js +48 -0
- package/dist/index381.js.map +1 -0
- package/dist/index382.js +21 -0
- package/dist/index382.js.map +1 -0
- package/dist/index383.js +8 -0
- package/dist/index383.js.map +1 -0
- package/dist/index384.js +8 -0
- package/dist/index384.js.map +1 -0
- package/dist/index385.js +21 -0
- package/dist/index385.js.map +1 -0
- package/dist/index386.js +16 -0
- package/dist/index386.js.map +1 -0
- package/dist/index387.js +18 -0
- package/dist/index387.js.map +1 -0
- package/dist/index388.js +495 -0
- package/dist/index388.js.map +1 -0
- package/dist/index389.js +6 -0
- package/dist/index389.js.map +1 -0
- package/dist/index39.js +28 -119
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +6 -0
- package/dist/index390.js.map +1 -0
- package/dist/index391.js +8 -0
- package/dist/index391.js.map +1 -0
- package/dist/index392.js +8 -0
- package/dist/index392.js.map +1 -0
- package/dist/index393.js +7 -0
- package/dist/index393.js.map +1 -0
- package/dist/index394.js +19 -0
- package/dist/index394.js.map +1 -0
- package/dist/index395.js +12 -0
- package/dist/index395.js.map +1 -0
- package/dist/index396.js +9 -0
- package/dist/index396.js.map +1 -0
- package/dist/index397.js +8 -0
- package/dist/index397.js.map +1 -0
- package/dist/index398.js +549 -0
- package/dist/index398.js.map +1 -0
- package/dist/index399.js +50 -0
- package/dist/index399.js.map +1 -0
- package/dist/index40.js +23 -6
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +21 -0
- package/dist/index400.js.map +1 -0
- package/dist/index401.js +9 -0
- package/dist/index401.js.map +1 -0
- package/dist/index402.js +11 -0
- package/dist/index402.js.map +1 -0
- package/dist/index403.js +10 -0
- package/dist/index403.js.map +1 -0
- package/dist/index404.js +11 -0
- package/dist/index404.js.map +1 -0
- package/dist/index405.js +15 -0
- package/dist/index405.js.map +1 -0
- package/dist/index406.js +12 -0
- package/dist/index406.js.map +1 -0
- package/dist/index407.js +16 -0
- package/dist/index407.js.map +1 -0
- package/dist/index408.js +11 -0
- package/dist/index408.js.map +1 -0
- package/dist/index409.js +5 -0
- package/dist/index409.js.map +1 -0
- package/dist/index41.js +51 -817
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +47 -0
- package/dist/index410.js.map +1 -0
- package/dist/index411.js +59 -0
- package/dist/index411.js.map +1 -0
- package/dist/index412.js +11 -0
- package/dist/index412.js.map +1 -0
- package/dist/index413.js +5 -0
- package/dist/index413.js.map +1 -0
- package/dist/index414.js +58 -0
- package/dist/index414.js.map +1 -0
- package/dist/index415.js +59 -0
- package/dist/index415.js.map +1 -0
- package/dist/index416.js +8 -0
- package/dist/index416.js.map +1 -0
- package/dist/index417.js +59 -0
- package/dist/index417.js.map +1 -0
- package/dist/index418.js +71 -0
- package/dist/index418.js.map +1 -0
- package/dist/index419.js +34 -0
- package/dist/index419.js.map +1 -0
- package/dist/index42.js +51 -57
- package/dist/index42.js.map +1 -1
- package/dist/index420.js +12 -0
- package/dist/index420.js.map +1 -0
- package/dist/index421.js +156 -0
- package/dist/index421.js.map +1 -0
- package/dist/index422.js +111 -0
- package/dist/index422.js.map +1 -0
- package/dist/index423.js +5 -0
- package/dist/index423.js.map +1 -0
- package/dist/index424.js +5 -0
- package/dist/index424.js.map +1 -0
- package/dist/index425.js +5 -0
- package/dist/index425.js.map +1 -0
- package/dist/index426.js +5 -0
- package/dist/index426.js.map +1 -0
- package/dist/index427.js +19 -0
- package/dist/index427.js.map +1 -0
- package/dist/index428.js +32 -0
- package/dist/index428.js.map +1 -0
- package/dist/index429.js +16 -0
- package/dist/index429.js.map +1 -0
- package/dist/index43.js +21 -7
- package/dist/index43.js.map +1 -1
- package/dist/index430.js +10 -0
- package/dist/index430.js.map +1 -0
- package/dist/index44.js +130 -2
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +221 -11
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +90 -18
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +126 -7
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +6 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +326 -23
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +247 -221
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +27 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +129 -2
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +26 -2
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +23 -2
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +145 -6
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +34 -33
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +28 -48
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +41 -8
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +21 -12
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +84 -85
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +132 -6
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +51 -8
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +30 -6
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +57 -4
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +7 -47
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +2 -51
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +11 -7
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +17 -13
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +7 -133
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +2 -11
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +123 -98
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +22 -215
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +234 -13
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +5 -46
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +7 -49
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +6 -4
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -6
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -28
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -50
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -9
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +5 -46
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +53 -54
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +68 -5
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +2 -69
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +364 -2
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +201 -303
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +46 -247
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +42 -56
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +169 -46
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +96 -156
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +24 -109
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +8 -25
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.js +5 -8
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -5
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +466 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +139 -420
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +71 -149
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +229 -74
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +9 -262
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +42 -9
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -42
- package/dist/index99.js.map +1 -1
- package/dist/lib/render-as-child.d.ts +5 -0
- package/dist/lib/render-as-child.d.ts.map +1 -0
- package/package.json +3 -6
- package/dist/lib/react-compose-refs.d.ts +0 -5
- package/dist/lib/react-compose-refs.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index337.js","sources":["../../../node_modules/date-fns/startOfMonth.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfMonth} function options.\n */\n\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date. The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments.\n * Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed,\n * or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a month\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n _date.setDate(1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfMonth;\n"],"names":["startOfMonth","date","options","_date","toDate"],"mappings":";AA6BO,SAASA,EAAaC,GAAMC,GAAS;AAC1C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE;AACtC,SAAAC,EAAM,QAAQ,CAAC,GACfA,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClBA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index338.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getDefaultOptions as c } from "./index397.js";
|
|
2
|
+
import { toDate as f } from "./index392.js";
|
|
3
|
+
function k(s, e) {
|
|
4
|
+
const o = c(), a = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0, t = f(s, e?.in), n = t.getDay(), r = (n < a ? 7 : 0) + n - a;
|
|
5
|
+
return t.setDate(t.getDate() - r), t.setHours(0, 0, 0, 0), t;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
k as startOfWeek
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index338.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index338.js","sources":["../../../node_modules/date-fns/startOfWeek.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfWeek} function options.\n */\n\n/**\n * @name startOfWeek\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeek;\n"],"names":["startOfWeek","date","options","defaultOptions","getDefaultOptions","weekStartsOn","_date","toDate","day","diff"],"mappings":";;AAkCO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAiBC,EAAiB,GAClCC,IACJH,GAAS,gBACTA,GAAS,QAAQ,SAAS,gBAC1BC,EAAe,gBACfA,EAAe,QAAQ,SAAS,gBAChC,GAEIG,IAAQC,EAAON,GAAMC,GAAS,EAAE,GAChCM,IAAMF,EAAM,OAAM,GAClBG,KAAQD,IAAMH,IAAe,IAAI,KAAKG,IAAMH;AAElD,SAAAC,EAAM,QAAQA,EAAM,QAAO,IAAKG,CAAI,GACpCH,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClBA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index339.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index339.js","sources":["../../../node_modules/date-fns/startOfYear.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfYear} function options.\n */\n\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - The options\n *\n * @returns The start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nexport function startOfYear(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setFullYear(date_.getFullYear(), 0, 1);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n\n// Fallback for modularized imports:\nexport default startOfYear;\n"],"names":["startOfYear","date","options","date_","toDate"],"mappings":";AA4BO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE;AACtC,SAAAC,EAAM,YAAYA,EAAM,YAAW,GAAI,GAAG,CAAC,GAC3CA,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClBA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index34.js
CHANGED
|
@@ -1,54 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { useOnFirstRender as R } from "./index117.js";
|
|
3
|
+
import { useDialogRoot as h } from "./index118.js";
|
|
4
|
+
import { useDialogRootContext as v, DialogRootContext as O } from "./index100.js";
|
|
5
|
+
import { DialogStore as y } from "./index119.js";
|
|
6
|
+
import { j as c } from "./index30.js";
|
|
7
|
+
const n = /* @__PURE__ */ r.createContext(!1);
|
|
8
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "IsDrawerContext");
|
|
9
|
+
function E(g) {
|
|
10
|
+
const {
|
|
11
|
+
children: o,
|
|
12
|
+
open: t,
|
|
13
|
+
defaultOpen: a = !1,
|
|
14
|
+
onOpenChange: f,
|
|
15
|
+
onOpenChangeComplete: C,
|
|
16
|
+
disablePointerDismissal: s = !1,
|
|
17
|
+
modal: i = !0,
|
|
18
|
+
actionsRef: m,
|
|
19
|
+
handle: x,
|
|
20
|
+
triggerId: l,
|
|
21
|
+
defaultTriggerId: p = null
|
|
22
|
+
} = g, u = v(!0), D = r.useContext(n), d = !!u, e = y.useStore(x?.store, {
|
|
23
|
+
open: a,
|
|
24
|
+
openProp: t,
|
|
25
|
+
activeTriggerId: p,
|
|
26
|
+
triggerIdProp: l,
|
|
27
|
+
modal: i,
|
|
28
|
+
disablePointerDismissal: s,
|
|
29
|
+
nested: d
|
|
30
|
+
});
|
|
31
|
+
R(() => {
|
|
32
|
+
t === void 0 && e.state.open === !1 && a === !0 && e.update({
|
|
33
|
+
open: !0,
|
|
34
|
+
activeTriggerId: p
|
|
35
|
+
});
|
|
36
|
+
}), e.useControlledProp("openProp", t), e.useControlledProp("triggerIdProp", l), e.useSyncedValues({
|
|
37
|
+
disablePointerDismissal: s,
|
|
38
|
+
nested: d,
|
|
39
|
+
modal: i
|
|
40
|
+
}), e.useContextCallback("onOpenChange", f), e.useContextCallback("onOpenChangeComplete", C);
|
|
41
|
+
const P = e.useState("payload");
|
|
42
|
+
h({
|
|
43
|
+
store: e,
|
|
44
|
+
actionsRef: m,
|
|
45
|
+
parentContext: u?.store.context,
|
|
46
|
+
isDrawer: D
|
|
47
|
+
});
|
|
48
|
+
const I = r.useMemo(() => ({
|
|
49
|
+
store: e
|
|
50
|
+
}), [e]);
|
|
51
|
+
return /* @__PURE__ */ c.jsx(n.Provider, {
|
|
52
|
+
value: !1,
|
|
53
|
+
children: /* @__PURE__ */ c.jsx(O.Provider, {
|
|
54
|
+
value: I,
|
|
55
|
+
children: typeof o == "function" ? o({
|
|
56
|
+
payload: P
|
|
57
|
+
}) : o
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
}
|
|
50
61
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
62
|
+
E as DialogRoot,
|
|
63
|
+
n as IsDrawerContext
|
|
53
64
|
};
|
|
54
65
|
//# sourceMappingURL=index34.js.map
|
package/dist/index34.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index34.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index34.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/root/DialogRoot.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useOnFirstRender } from '@base-ui/utils/useOnFirstRender';\nimport { useDialogRoot } from \"./useDialogRoot.js\";\nimport { DialogRootContext, useDialogRootContext } from \"./DialogRootContext.js\";\nimport { DialogStore } from \"../store/DialogStore.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const IsDrawerContext = /*#__PURE__*/React.createContext(false);\n\n/**\n * Groups all parts of the dialog.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nif (process.env.NODE_ENV !== \"production\") IsDrawerContext.displayName = \"IsDrawerContext\";\nexport function DialogRoot(props) {\n const {\n children,\n open: openProp,\n defaultOpen = false,\n onOpenChange,\n onOpenChangeComplete,\n disablePointerDismissal = false,\n modal = true,\n actionsRef,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null\n } = props;\n const parentDialogRootContext = useDialogRootContext(true);\n const isDrawer = React.useContext(IsDrawerContext);\n const nested = Boolean(parentDialogRootContext);\n const store = DialogStore.useStore(handle?.store, {\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp,\n modal,\n disablePointerDismissal,\n nested\n });\n\n // Support initially open state when uncontrolled\n useOnFirstRender(() => {\n if (openProp === undefined && store.state.open === false && defaultOpen === true) {\n store.update({\n open: true,\n activeTriggerId: defaultTriggerIdProp\n });\n }\n });\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useSyncedValues({\n disablePointerDismissal,\n nested,\n modal\n });\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const payload = store.useState('payload');\n useDialogRoot({\n store,\n actionsRef,\n parentContext: parentDialogRootContext?.store.context,\n isDrawer,\n onOpenChange,\n triggerIdProp\n });\n const contextValue = React.useMemo(() => ({\n store\n }), [store]);\n return /*#__PURE__*/_jsx(IsDrawerContext.Provider, {\n value: false,\n children: /*#__PURE__*/_jsx(DialogRootContext.Provider, {\n value: contextValue,\n children: typeof children === 'function' ? children({\n payload\n }) : children\n })\n });\n}"],"names":["IsDrawerContext","React","DialogRoot","props","children","openProp","defaultOpen","onOpenChange","onOpenChangeComplete","disablePointerDismissal","modal","actionsRef","handle","triggerIdProp","defaultTriggerIdProp","parentDialogRootContext","useDialogRootContext","isDrawer","nested","store","DialogStore","useOnFirstRender","payload","useDialogRoot","contextValue","_jsx","DialogRootContext"],"mappings":";;;;;;AAQY,MAACA,IAA+B,gBAAAC,EAAM,cAAc,EAAK;AAQjE,QAAQ,IAAI,aAAa,iBAAcD,EAAgB,cAAc;AAClE,SAASE,EAAWC,GAAO;AAChC,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC,IAAc;AAAA,IACd,cAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,yBAAAC,IAA0B;AAAA,IAC1B,OAAAC,IAAQ;AAAA,IACR,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,WAAWC;AAAA,IACX,kBAAkBC,IAAuB;AAAA,EAC7C,IAAMX,GACEY,IAA0BC,EAAqB,EAAI,GACnDC,IAAWhB,EAAM,WAAWD,CAAe,GAC3CkB,IAAS,EAAQH,GACjBI,IAAQC,EAAY,SAASR,GAAQ,OAAO;AAAA,IAChD,MAAMN;AAAA,IACN,UAAAD;AAAA,IACA,iBAAiBS;AAAA,IACjB,eAAAD;AAAA,IACA,OAAAH;AAAA,IACA,yBAAAD;AAAA,IACA,QAAAS;AAAA,EACJ,CAAG;AAGD,EAAAG,EAAiB,MAAM;AACrB,IAAIhB,MAAa,UAAac,EAAM,MAAM,SAAS,MAASb,MAAgB,MAC1Ea,EAAM,OAAO;AAAA,MACX,MAAM;AAAA,MACN,iBAAiBL;AAAA,IACzB,CAAO;AAAA,EAEL,CAAC,GACDK,EAAM,kBAAkB,YAAYd,CAAQ,GAC5Cc,EAAM,kBAAkB,iBAAiBN,CAAa,GACtDM,EAAM,gBAAgB;AAAA,IACpB,yBAAAV;AAAA,IACA,QAAAS;AAAA,IACA,OAAAR;AAAA,EACJ,CAAG,GACDS,EAAM,mBAAmB,gBAAgBZ,CAAY,GACrDY,EAAM,mBAAmB,wBAAwBX,CAAoB;AACrE,QAAMc,IAAUH,EAAM,SAAS,SAAS;AACxC,EAAAI,EAAc;AAAA,IACZ,OAAAJ;AAAA,IACA,YAAAR;AAAA,IACA,eAAeI,GAAyB,MAAM;AAAA,IAC9C,UAAAE;AAAA,EAGF,CAAC;AACD,QAAMO,IAAevB,EAAM,QAAQ,OAAO;AAAA,IACxC,OAAAkB;AAAA,EACJ,IAAM,CAACA,CAAK,CAAC;AACX,SAAoBM,gBAAAA,EAAAA,IAAKzB,EAAgB,UAAU;AAAA,IACjD,OAAO;AAAA,IACP,UAAuByB,gBAAAA,EAAAA,IAAKC,EAAkB,UAAU;AAAA,MACtD,OAAOF;AAAA,MACP,UAAU,OAAOpB,KAAa,aAAaA,EAAS;AAAA,QAClD,SAAAkB;AAAA,MACR,CAAO,IAAIlB;AAAA,IACX,CAAK;AAAA,EACL,CAAG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index340.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function j(r, n, I, W) {
|
|
2
|
+
const s = r[0], o = r[r.length - 1], { ISOWeek: c, fixedWeeks: u, broadcastCalendar: a } = I ?? {}, { addDays: i, differenceInCalendarDays: M, differenceInCalendarMonths: C, endOfBroadcastWeek: O, endOfISOWeek: k, endOfMonth: h, endOfWeek: l, isAfter: E, startOfBroadcastWeek: F, startOfISOWeek: S, startOfWeek: p } = W, g = a ? F(s, W) : c ? S(s) : p(s), D = a ? O(o) : c ? k(h(o)) : l(h(o)), f = n && (a ? O(n) : c ? k(n) : l(n)), x = f && E(D, f) ? f : D, A = M(x, g), B = C(o, s) + 1, e = [];
|
|
3
|
+
for (let t = 0; t <= A; t++) {
|
|
4
|
+
const d = i(g, t);
|
|
5
|
+
e.push(d);
|
|
6
|
+
}
|
|
7
|
+
const y = (a ? 35 : 42) * B;
|
|
8
|
+
if (u && e.length < y) {
|
|
9
|
+
const t = y - e.length;
|
|
10
|
+
for (let d = 0; d < t; d++) {
|
|
11
|
+
const T = i(e[e.length - 1], 1);
|
|
12
|
+
e.push(T);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return e;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
j as getDates
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=index340.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index340.js","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"],"names":["getDates","displayMonths","maxDate","props","dateLib","firstMonth","lastMonth","ISOWeek","fixedWeeks","broadcastCalendar","addDays","differenceInCalendarDays","differenceInCalendarMonths","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","isAfter","startOfBroadcastWeek","startOfISOWeek","startOfWeek","startWeekFirstDate","displayMonthsWeekEnd","constraintWeekEnd","gridEndDate","nOfDays","nOfMonths","dates","i","date","extraDates","daysToAdd"],"mappings":"AAYO,SAASA,EAASC,GAAeC,GAASC,GAAOC,GAAS;AAC7D,QAAMC,IAAaJ,EAAc,CAAC,GAC5BK,IAAYL,EAAcA,EAAc,SAAS,CAAC,GAClD,EAAE,SAAAM,GAAS,YAAAC,GAAY,mBAAAC,EAAiB,IAAKN,KAAS,CAAA,GACtD,EAAE,SAAAO,GAAS,0BAAAC,GAA0B,4BAAAC,GAA4B,oBAAAC,GAAoB,cAAAC,GAAc,YAAAC,GAAY,WAAAC,GAAW,SAAAC,GAAS,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMhB,GAC1LiB,IAAqBZ,IACrBS,EAAqBb,GAAYD,CAAO,IACxCG,IACIY,EAAed,CAAU,IACzBe,EAAYf,CAAU,GAC1BiB,IAAuBb,IACvBI,EAAmBP,CAAS,IAC5BC,IACIO,EAAaC,EAAWT,CAAS,CAAC,IAClCU,EAAUD,EAAWT,CAAS,CAAC,GAEnCiB,IAAoBrB,MACrBO,IACKI,EAAmBX,CAAO,IAC1BK,IACIO,EAAaZ,CAAO,IACpBc,EAAUd,CAAO,IAEzBsB,IAAcD,KAAqBN,EAAQK,GAAsBC,CAAiB,IAClFA,IACAD,GACAG,IAAUd,EAAyBa,GAAaH,CAAkB,GAClEK,IAAYd,EAA2BN,GAAWD,CAAU,IAAI,GAChEsB,IAAQ,CAAA;AACd,WAASC,IAAI,GAAGA,KAAKH,GAASG,KAAK;AAC/B,UAAMC,IAAOnB,EAAQW,GAAoBO,CAAC;AAC1C,IAAAD,EAAM,KAAKE,CAAI;AAAA,EACnB;AAGA,QAAMC,KADyBrB,IAAoB,KAAK,MACZiB;AAC5C,MAAIlB,KAAcmB,EAAM,SAASG,GAAY;AACzC,UAAMC,IAAYD,IAAaH,EAAM;AACrC,aAASC,IAAI,GAAGA,IAAIG,GAAWH,KAAK;AAChC,YAAMC,IAAOnB,EAAQiB,EAAMA,EAAM,SAAS,CAAC,GAAG,CAAC;AAC/C,MAAAA,EAAM,KAAKE,CAAI;AAAA,IACnB;AAAA,EACJ;AACA,SAAOF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index341.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function a(c) {
|
|
2
|
+
const e = [];
|
|
3
|
+
return c.reduce((s, t) => {
|
|
4
|
+
const n = t.weeks.reduce((r, i) => r.concat(i.days.slice()), e.slice());
|
|
5
|
+
return s.concat(n.slice());
|
|
6
|
+
}, e.slice());
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
a as getDays
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index341.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index341.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/index342.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i as getDisplayMonths
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index342.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index342.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/index343.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
u as getInitialMonth
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index343.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index343.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/index344.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CalendarDay as F } from "./index303.js";
|
|
2
|
+
import { CalendarWeek as N } from "./index305.js";
|
|
3
|
+
import { CalendarMonth as P } from "./index304.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;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
j as getMonths
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=index344.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index344.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/index345.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
];
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
O as getNavMonths
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index345.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index345.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/index346.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
h as getNextMonth
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index346.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index346.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/index347.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
c as getPreviousMonth
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index347.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index347.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/index348.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index348.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/index349.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index349.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/index35.js
CHANGED
|
@@ -1,25 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as m from "react";
|
|
2
|
+
import { useDialogRootContext as p } from "./index100.js";
|
|
3
|
+
import { useRenderElement as u } from "./index101.js";
|
|
4
|
+
import { createChangeEventDetails as d } from "./index104.js";
|
|
5
|
+
import { useButton as C } from "./index105.js";
|
|
6
|
+
import { closePress as g } from "./index106.js";
|
|
7
|
+
const v = /* @__PURE__ */ m.forwardRef(function(e, s) {
|
|
8
|
+
const {
|
|
9
|
+
render: E,
|
|
10
|
+
className: R,
|
|
11
|
+
disabled: t = !1,
|
|
12
|
+
nativeButton: n = !0,
|
|
13
|
+
style: N,
|
|
14
|
+
...r
|
|
15
|
+
} = e, {
|
|
16
|
+
store: o
|
|
17
|
+
} = p(), a = o.useState("open");
|
|
18
|
+
function i(c) {
|
|
19
|
+
a && o.setOpen(!1, d(g, c.nativeEvent));
|
|
13
20
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
21
|
+
const {
|
|
22
|
+
getButtonProps: l,
|
|
23
|
+
buttonRef: f
|
|
24
|
+
} = C({
|
|
25
|
+
disabled: t,
|
|
26
|
+
native: n
|
|
27
|
+
});
|
|
28
|
+
return u("button", e, {
|
|
29
|
+
state: {
|
|
30
|
+
disabled: t
|
|
31
|
+
},
|
|
32
|
+
ref: [s, f],
|
|
33
|
+
props: [{
|
|
34
|
+
onClick: i
|
|
35
|
+
}, r, l]
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
process.env.NODE_ENV !== "production" && (v.displayName = "DialogClose");
|
|
22
39
|
export {
|
|
23
|
-
|
|
40
|
+
v as DialogClose
|
|
24
41
|
};
|
|
25
42
|
//# sourceMappingURL=index35.js.map
|
package/dist/index35.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index35.js","sources":["
|
|
1
|
+
{"version":3,"file":"index35.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/close/DialogClose.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.js\";\nimport { useRenderElement } from \"../../internals/useRenderElement.js\";\nimport { useButton } from \"../../internals/use-button/index.js\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.js\";\nimport { REASONS } from \"../../internals/reasons.js\";\n\n/**\n * A button that closes the dialog.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n disabled = false,\n nativeButton = true,\n style,\n ...elementProps\n } = componentProps;\n const {\n store\n } = useDialogRootContext();\n const open = store.useState('open');\n function handleClick(event) {\n if (open) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }\n const {\n getButtonProps,\n buttonRef\n } = useButton({\n disabled,\n native: nativeButton\n });\n const state = {\n disabled\n };\n return useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick: handleClick\n }, elementProps, getButtonProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogClose.displayName = \"DialogClose\";"],"names":["DialogClose","React","componentProps","forwardedRef","render","className","disabled","nativeButton","style","elementProps","store","useDialogRootContext","open","handleClick","event","createChangeEventDetails","REASONS.closePress","getButtonProps","buttonRef","useButton","useRenderElement"],"mappings":";;;;;;AAeY,MAACA,IAA2B,gBAAAC,EAAM,WAAW,SAAqBC,GAAgBC,GAAc;AAC1G,QAAM;AAAA,IACJ,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,cAAAC,IAAe;AAAA,IACf,OAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAMP,GACE;AAAA,IACJ,OAAAQ;AAAA,EACJ,IAAMC,EAAoB,GAClBC,IAAOF,EAAM,SAAS,MAAM;AAClC,WAASG,EAAYC,GAAO;AAC1B,IAAIF,KACFF,EAAM,QAAQ,IAAOK,EAAyBC,GAAoBF,EAAM,WAAW,CAAC;AAAA,EAExF;AACA,QAAM;AAAA,IACJ,gBAAAG;AAAA,IACA,WAAAC;AAAA,EACJ,IAAMC,EAAU;AAAA,IACZ,UAAAb;AAAA,IACA,QAAQC;AAAA,EACZ,CAAG;AAID,SAAOa,EAAiB,UAAUlB,GAAgB;AAAA,IAChD,OAJY;AAAA,MACZ,UAAAI;AAAA,IACJ;AAAA,IAGI,KAAK,CAACH,GAAce,CAAS;AAAA,IAC7B,OAAO,CAAC;AAAA,MACN,SAASL;AAAA,IACf,GAAOJ,GAAcQ,CAAc;AAAA,EACnC,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcjB,EAAY,cAAc;","x_google_ignoreList":[0]}
|
package/dist/index350.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DayFlag as s } from "./index165.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;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
F as calculateFocusTarget
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=index350.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index350.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/index351.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { dateMatchModifiers as u } from "./index32.js";
|
|
2
|
+
import { getFocusableDate as g } from "./index386.js";
|
|
3
|
+
import { CalendarDay as m } from "./index303.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);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
h as getNextFocus
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index351.js.map
|