@rpcbase/ui 0.157.0 → 0.159.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/DayPicker/index.d.ts.map +1 -1
- package/dist/components/HoursPicker/index.d.ts.map +1 -1
- package/dist/index.js +67 -24680
- package/dist/index.js.map +1 -1
- package/dist/index10.js +73 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.js +134 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.js +24 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.js +79 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.js +22 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.js +105 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.js +8 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.js +18 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.js +5 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.js +11 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.js +330 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.js +484 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.js +53 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.js +9 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.js +72 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.js +5 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.js +367 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.js +265 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.js +64 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.js +50 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.js +173 -0
- package/dist/index118.js.map +1 -0
- package/dist/index119.js +113 -0
- package/dist/index119.js.map +1 -0
- package/dist/index12.js +130 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.js +28 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.js +11 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.js +8 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.js +9 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.js +8 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.js +470 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.js +189 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.js +111 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.js +266 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.js +13 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.js +79 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +46 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.js +8 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.js +55 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.js +8 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.js +8 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.js +19 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.js +9 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.js +11 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.js +20 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.js +8 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.js +735 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.js +8 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.js +9 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.js +9 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.js +8 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.js +8 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.js +10 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.js +28 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.js +10 -0
- package/dist/index147.js.map +1 -0
- package/dist/index148.js +8 -0
- package/dist/index148.js.map +1 -0
- package/dist/index149.js +10 -0
- package/dist/index149.js.map +1 -0
- package/dist/index15.js +26 -0
- package/dist/index15.js.map +1 -0
- package/dist/index150.js +9 -0
- package/dist/index150.js.map +1 -0
- package/dist/index151.js +8 -0
- package/dist/index151.js.map +1 -0
- package/dist/index152.js +9 -0
- package/dist/index152.js.map +1 -0
- package/dist/index153.js +8 -0
- package/dist/index153.js.map +1 -0
- package/dist/index154.js +12 -0
- package/dist/index154.js.map +1 -0
- package/dist/index155.js +9 -0
- package/dist/index155.js.map +1 -0
- package/dist/index156.js +8 -0
- package/dist/index156.js.map +1 -0
- package/dist/index157.js +8 -0
- package/dist/index157.js.map +1 -0
- package/dist/index158.js +10 -0
- package/dist/index158.js.map +1 -0
- package/dist/index159.js +149 -0
- package/dist/index159.js.map +1 -0
- package/dist/index16.js +21 -0
- package/dist/index16.js.map +1 -0
- package/dist/index160.js +43 -0
- package/dist/index160.js.map +1 -0
- package/dist/index161.js +8 -0
- package/dist/index161.js.map +1 -0
- package/dist/index162.js +11 -0
- package/dist/index162.js.map +1 -0
- package/dist/index163.js +17 -0
- package/dist/index163.js.map +1 -0
- package/dist/index164.js +17 -0
- package/dist/index164.js.map +1 -0
- package/dist/index165.js +11 -0
- package/dist/index165.js.map +1 -0
- package/dist/index166.js +35 -0
- package/dist/index166.js.map +1 -0
- package/dist/index167.js +14 -0
- package/dist/index167.js.map +1 -0
- package/dist/index168.js +14 -0
- package/dist/index168.js.map +1 -0
- package/dist/index169.js +12 -0
- package/dist/index169.js.map +1 -0
- package/dist/index17.js +390 -0
- package/dist/index17.js.map +1 -0
- package/dist/index170.js +17 -0
- package/dist/index170.js.map +1 -0
- package/dist/index171.js +105 -0
- package/dist/index171.js.map +1 -0
- package/dist/index172.js +23 -0
- package/dist/index172.js.map +1 -0
- package/dist/index173.js +57 -0
- package/dist/index173.js.map +1 -0
- package/dist/index174.js +76 -0
- package/dist/index174.js.map +1 -0
- package/dist/index175.js +13 -0
- package/dist/index175.js.map +1 -0
- package/dist/index176.js +24 -0
- package/dist/index176.js.map +1 -0
- package/dist/index177.js +20 -0
- package/dist/index177.js.map +1 -0
- package/dist/index178.js +27 -0
- package/dist/index178.js.map +1 -0
- package/dist/index179.js +10 -0
- package/dist/index179.js.map +1 -0
- package/dist/index18.js +663 -0
- package/dist/index18.js.map +1 -0
- package/dist/index180.js +9 -0
- package/dist/index180.js.map +1 -0
- package/dist/index181.js +27 -0
- package/dist/index181.js.map +1 -0
- package/dist/index182.js +38 -0
- package/dist/index182.js.map +1 -0
- package/dist/index183.js +19 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.js +10 -0
- package/dist/index184.js.map +1 -0
- package/dist/index185.js +8 -0
- package/dist/index185.js.map +1 -0
- package/dist/index186.js +8 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.js +8 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.js +8 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.js +7 -0
- package/dist/index189.js.map +1 -0
- package/dist/index19.js +661 -0
- package/dist/index19.js.map +1 -0
- package/dist/index190.js +10 -0
- package/dist/index190.js.map +1 -0
- package/dist/index191.js +27 -0
- package/dist/index191.js.map +1 -0
- package/dist/index192.js +11 -0
- package/dist/index192.js.map +1 -0
- package/dist/index193.js +10 -0
- package/dist/index193.js.map +1 -0
- package/dist/index194.js +9 -0
- package/dist/index194.js.map +1 -0
- package/dist/index195.js +7 -0
- package/dist/index195.js.map +1 -0
- package/dist/index196.js +7 -0
- package/dist/index196.js.map +1 -0
- package/dist/index197.js +8 -0
- package/dist/index197.js.map +1 -0
- package/dist/index198.js +7 -0
- package/dist/index198.js.map +1 -0
- package/dist/index199.js +8 -0
- package/dist/index199.js.map +1 -0
- package/dist/index2.js +9 -0
- package/dist/index2.js.map +1 -0
- package/dist/index20.js +204 -0
- package/dist/index20.js.map +1 -0
- package/dist/index200.js +7 -0
- package/dist/index200.js.map +1 -0
- package/dist/index201.js +7 -0
- package/dist/index201.js.map +1 -0
- package/dist/index202.js +7 -0
- package/dist/index202.js.map +1 -0
- package/dist/index203.js +609 -0
- package/dist/index203.js.map +1 -0
- package/dist/index204.js +28 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +32 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +8 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.js +7 -0
- package/dist/index207.js.map +1 -0
- package/dist/index208.js +5 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.js +71 -0
- package/dist/index209.js.map +1 -0
- package/dist/index21.js +8 -0
- package/dist/index21.js.map +1 -0
- package/dist/index210.js +88 -0
- package/dist/index210.js.map +1 -0
- package/dist/index211.js +50 -0
- package/dist/index211.js.map +1 -0
- package/dist/index212.js +11 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.js +8 -0
- package/dist/index213.js.map +1 -0
- package/dist/index214.js +55 -0
- package/dist/index214.js.map +1 -0
- package/dist/index215.js +68 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.js +52 -0
- package/dist/index216.js.map +1 -0
- package/dist/index217.js +43 -0
- package/dist/index217.js.map +1 -0
- package/dist/index218.js +104 -0
- package/dist/index218.js.map +1 -0
- package/dist/index219.js +101 -0
- package/dist/index219.js.map +1 -0
- package/dist/index22.js +38 -0
- package/dist/index22.js.map +1 -0
- package/dist/index220.js +103 -0
- package/dist/index220.js.map +1 -0
- package/dist/index221.js +17 -0
- package/dist/index221.js.map +1 -0
- package/dist/index222.js +158 -0
- package/dist/index222.js.map +1 -0
- package/dist/index223.js +34 -0
- package/dist/index223.js.map +1 -0
- package/dist/index224.js +13 -0
- package/dist/index224.js.map +1 -0
- package/dist/index225.js +51 -0
- package/dist/index225.js.map +1 -0
- package/dist/index226.js +15 -0
- package/dist/index226.js.map +1 -0
- package/dist/index227.js +48 -0
- package/dist/index227.js.map +1 -0
- package/dist/index228.js +99 -0
- package/dist/index228.js.map +1 -0
- package/dist/index229.js +90 -0
- package/dist/index229.js.map +1 -0
- package/dist/index23.js +272 -0
- package/dist/index23.js.map +1 -0
- package/dist/index230.js +109 -0
- package/dist/index230.js.map +1 -0
- package/dist/index231.js +56 -0
- package/dist/index231.js.map +1 -0
- package/dist/index232.js +15 -0
- package/dist/index232.js.map +1 -0
- package/dist/index233.js +41 -0
- package/dist/index233.js.map +1 -0
- package/dist/index234.js +12 -0
- package/dist/index234.js.map +1 -0
- package/dist/index235.js +120 -0
- package/dist/index235.js.map +1 -0
- package/dist/index236.js +21 -0
- package/dist/index236.js.map +1 -0
- package/dist/index237.js +19 -0
- package/dist/index237.js.map +1 -0
- package/dist/index238.js +7 -0
- package/dist/index238.js.map +1 -0
- package/dist/index239.js +40 -0
- package/dist/index239.js.map +1 -0
- package/dist/index24.js +184 -0
- package/dist/index24.js.map +1 -0
- package/dist/index240.js +24 -0
- package/dist/index240.js.map +1 -0
- package/dist/index241.js +13 -0
- package/dist/index241.js.map +1 -0
- package/dist/index242.js +12 -0
- package/dist/index242.js.map +1 -0
- package/dist/index243.js +23 -0
- package/dist/index243.js.map +1 -0
- package/dist/index244.js +32 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.js +20 -0
- package/dist/index245.js.map +1 -0
- package/dist/index246.js +62 -0
- package/dist/index246.js.map +1 -0
- package/dist/index247.js +12 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.js +70 -0
- package/dist/index248.js.map +1 -0
- package/dist/index249.js +23 -0
- package/dist/index249.js.map +1 -0
- package/dist/index25.js +18 -0
- package/dist/index25.js.map +1 -0
- package/dist/index250.js +20 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.js +9 -0
- package/dist/index251.js.map +1 -0
- package/dist/index252.js +9 -0
- package/dist/index252.js.map +1 -0
- package/dist/index253.js +10 -0
- package/dist/index253.js.map +1 -0
- package/dist/index254.js +8 -0
- package/dist/index254.js.map +1 -0
- package/dist/index255.js +11 -0
- package/dist/index255.js.map +1 -0
- package/dist/index256.js +21 -0
- package/dist/index256.js.map +1 -0
- package/dist/index257.js +9 -0
- package/dist/index257.js.map +1 -0
- package/dist/index258.js +9 -0
- package/dist/index258.js.map +1 -0
- package/dist/index259.js +17 -0
- package/dist/index259.js.map +1 -0
- package/dist/index26.js +2766 -0
- package/dist/index26.js.map +1 -0
- package/dist/index260.js +14 -0
- package/dist/index260.js.map +1 -0
- package/dist/index261.js +18 -0
- package/dist/index261.js.map +1 -0
- package/dist/index262.js +18 -0
- package/dist/index262.js.map +1 -0
- package/dist/index263.js +9 -0
- package/dist/index263.js.map +1 -0
- package/dist/index264.js +10 -0
- package/dist/index264.js.map +1 -0
- package/dist/index265.js +11 -0
- package/dist/index265.js.map +1 -0
- package/dist/index266.js +10 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +13 -0
- package/dist/index267.js.map +1 -0
- package/dist/index268.js +9 -0
- package/dist/index268.js.map +1 -0
- package/dist/index269.js +9 -0
- package/dist/index269.js.map +1 -0
- package/dist/index27.js +40 -0
- package/dist/index27.js.map +1 -0
- package/dist/index270.js +13 -0
- package/dist/index270.js.map +1 -0
- package/dist/index271.js +9 -0
- package/dist/index271.js.map +1 -0
- package/dist/index272.js +9 -0
- package/dist/index272.js.map +1 -0
- package/dist/index273.js +8 -0
- package/dist/index273.js.map +1 -0
- package/dist/index274.js +15 -0
- package/dist/index274.js.map +1 -0
- package/dist/index275.js +14 -0
- package/dist/index275.js.map +1 -0
- package/dist/index276.js +14 -0
- package/dist/index276.js.map +1 -0
- package/dist/index277.js +15 -0
- package/dist/index277.js.map +1 -0
- package/dist/index278.js +15 -0
- package/dist/index278.js.map +1 -0
- package/dist/index279.js +14 -0
- package/dist/index279.js.map +1 -0
- package/dist/index28.js +6 -0
- package/dist/index28.js.map +1 -0
- package/dist/index280.js +11 -0
- package/dist/index280.js.map +1 -0
- package/dist/index281.js +10 -0
- package/dist/index281.js.map +1 -0
- package/dist/index282.js +9 -0
- package/dist/index282.js.map +1 -0
- package/dist/index283.js +10 -0
- package/dist/index283.js.map +1 -0
- package/dist/index284.js +11 -0
- package/dist/index284.js.map +1 -0
- package/dist/index285.js +10 -0
- package/dist/index285.js.map +1 -0
- package/dist/index286.js +59 -0
- package/dist/index286.js.map +1 -0
- package/dist/index287.js +27 -0
- package/dist/index287.js.map +1 -0
- package/dist/index288.js +20 -0
- package/dist/index288.js.map +1 -0
- package/dist/index289.js +11 -0
- package/dist/index289.js.map +1 -0
- package/dist/index29.js +128 -0
- package/dist/index29.js.map +1 -0
- package/dist/index290.js +14 -0
- package/dist/index290.js.map +1 -0
- package/dist/index291.js +14 -0
- package/dist/index291.js.map +1 -0
- package/dist/index292.js +25 -0
- package/dist/index292.js.map +1 -0
- package/dist/index293.js +14 -0
- package/dist/index293.js.map +1 -0
- package/dist/index294.js +13 -0
- package/dist/index294.js.map +1 -0
- package/dist/index295.js +13 -0
- package/dist/index295.js.map +1 -0
- package/dist/index296.js +8 -0
- package/dist/index296.js.map +1 -0
- package/dist/index297.js +9 -0
- package/dist/index297.js.map +1 -0
- package/dist/index298.js +20 -0
- package/dist/index298.js.map +1 -0
- package/dist/index299.js +13 -0
- package/dist/index299.js.map +1 -0
- package/dist/index3.js +5 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.js +51 -0
- package/dist/index30.js.map +1 -0
- package/dist/index300.js +22 -0
- package/dist/index300.js.map +1 -0
- package/dist/index301.js +19 -0
- package/dist/index301.js.map +1 -0
- package/dist/index302.js +16 -0
- package/dist/index302.js.map +1 -0
- package/dist/index303.js +33 -0
- package/dist/index303.js.map +1 -0
- package/dist/index304.js +16 -0
- package/dist/index304.js.map +1 -0
- package/dist/index305.js +29 -0
- package/dist/index305.js.map +1 -0
- package/dist/index306.js +9 -0
- package/dist/index306.js.map +1 -0
- package/dist/index307.js +71 -0
- package/dist/index307.js.map +1 -0
- package/dist/index308.js +184 -0
- package/dist/index308.js.map +1 -0
- package/dist/index309.js +50 -0
- package/dist/index309.js.map +1 -0
- package/dist/index31.js +223 -0
- package/dist/index31.js.map +1 -0
- package/dist/index310.js +8 -0
- package/dist/index310.js.map +1 -0
- package/dist/index311.js +6 -0
- package/dist/index311.js.map +1 -0
- package/dist/index312.js +27 -0
- package/dist/index312.js.map +1 -0
- package/dist/index313.js +116 -0
- package/dist/index313.js.map +1 -0
- package/dist/index314.js +19 -0
- package/dist/index314.js.map +1 -0
- package/dist/index315.js +528 -0
- package/dist/index315.js.map +1 -0
- package/dist/index316.js +131 -0
- package/dist/index316.js.map +1 -0
- package/dist/index317.js +137 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.js +5 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +5 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +47 -0
- package/dist/index32.js.map +1 -0
- package/dist/index320.js +24 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.js +8 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.js +22 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.js +16 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.js +68 -0
- package/dist/index324.js.map +1 -0
- package/dist/index325.js +72 -0
- package/dist/index325.js.map +1 -0
- package/dist/index326.js +12 -0
- package/dist/index326.js.map +1 -0
- package/dist/index327.js +17 -0
- package/dist/index327.js.map +1 -0
- package/dist/index328.js +69 -0
- package/dist/index328.js.map +1 -0
- package/dist/index329.js +9 -0
- package/dist/index329.js.map +1 -0
- package/dist/index33.js +44 -0
- package/dist/index33.js.map +1 -0
- package/dist/index330.js +9 -0
- package/dist/index330.js.map +1 -0
- package/dist/index331.js +7 -0
- package/dist/index331.js.map +1 -0
- package/dist/index332.js +19 -0
- package/dist/index332.js.map +1 -0
- package/dist/index333.js +12 -0
- package/dist/index333.js.map +1 -0
- package/dist/index334.js +9 -0
- package/dist/index334.js.map +1 -0
- package/dist/index335.js +8 -0
- package/dist/index335.js.map +1 -0
- package/dist/index336.js +549 -0
- package/dist/index336.js.map +1 -0
- package/dist/index337.js +50 -0
- package/dist/index337.js.map +1 -0
- package/dist/index338.js +21 -0
- package/dist/index338.js.map +1 -0
- package/dist/index339.js +10 -0
- package/dist/index339.js.map +1 -0
- package/dist/index34.js +32 -0
- package/dist/index34.js.map +1 -0
- package/dist/index340.js +12 -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 +12 -0
- package/dist/index342.js.map +1 -0
- package/dist/index343.js +16 -0
- package/dist/index343.js.map +1 -0
- package/dist/index344.js +13 -0
- package/dist/index344.js.map +1 -0
- package/dist/index345.js +17 -0
- package/dist/index345.js.map +1 -0
- package/dist/index346.js +7 -0
- package/dist/index346.js.map +1 -0
- package/dist/index347.js +26 -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 +59 -0
- package/dist/index349.js.map +1 -0
- package/dist/index35.js +49 -0
- package/dist/index35.js.map +1 -0
- package/dist/index350.js +71 -0
- package/dist/index350.js.map +1 -0
- package/dist/index351.js +34 -0
- package/dist/index351.js.map +1 -0
- package/dist/index352.js +12 -0
- package/dist/index352.js.map +1 -0
- package/dist/index353.js +156 -0
- package/dist/index353.js.map +1 -0
- package/dist/index354.js +111 -0
- package/dist/index354.js.map +1 -0
- package/dist/index355.js +26 -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 +31 -0
- package/dist/index357.js.map +1 -0
- package/dist/index358.js +8 -0
- package/dist/index358.js.map +1 -0
- package/dist/index359.js +19 -0
- package/dist/index359.js.map +1 -0
- package/dist/index36.js +35 -0
- package/dist/index36.js.map +1 -0
- package/dist/index360.js +32 -0
- package/dist/index360.js.map +1 -0
- package/dist/index361.js +16 -0
- package/dist/index361.js.map +1 -0
- package/dist/index362.js +10 -0
- package/dist/index362.js.map +1 -0
- package/dist/index37.js +31 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.js +26 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.js +132 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.js +27 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.js +235 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.js +54 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.js +2644 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.js +397 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.js +236 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.js +25 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.js +145 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.js +190 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +80 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +94 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.js +48 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.js +9 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +847 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +69 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +11 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +5 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +27 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.js +237 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.js +7 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.js +10 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +51 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.js +33 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.js +30 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.js +54 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.js +11 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.js +18 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.js +137 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.js +14 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.js +220 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.js +16 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.js +37 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +50 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.js +36 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.js +11 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.js +53 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.js +7 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.js +9 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.js +31 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.js +53 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.js +12 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.js +208 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.js +15 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.js +9 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.js +230 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.js +11 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.js +9 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.js +5 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.js +5 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.js +50 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.js +209 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.js +25 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.js +28 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.js +403 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.js +50 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.js +27 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.js +57 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.js +7 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.js +37 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.js +253 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.js +118 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.js +223 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.js +70 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.js +24 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.js +213 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.js +323 -0
- package/dist/index99.js.map +1 -0
- package/package.json +5 -1
package/dist/index17.js
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { j as a } from "./index28.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import je, { components as Ne } from "react-select";
|
|
4
|
+
import { cn as F } from "./index2.js";
|
|
5
|
+
const se = t.createContext(null);
|
|
6
|
+
function Ve({ children: n, value: l, defaultValue: c, onChange: i }) {
|
|
7
|
+
const f = l !== void 0, [r, d] = t.useState(c ?? W), h = l ?? r, N = t.useCallback(
|
|
8
|
+
(v) => {
|
|
9
|
+
f || d(v), i?.(v);
|
|
10
|
+
},
|
|
11
|
+
[f, i]
|
|
12
|
+
), R = t.useMemo(
|
|
13
|
+
() => ({
|
|
14
|
+
locale: h,
|
|
15
|
+
setLocale: N
|
|
16
|
+
}),
|
|
17
|
+
[h, N]
|
|
18
|
+
);
|
|
19
|
+
return /* @__PURE__ */ a.jsx(se.Provider, { value: R, children: n });
|
|
20
|
+
}
|
|
21
|
+
const W = "en";
|
|
22
|
+
function Re(n) {
|
|
23
|
+
const c = (n.split("-")[0] ?? "").replace(/[^A-Za-z]/g, "");
|
|
24
|
+
return c ? c.slice(0, 3).toUpperCase() : "?";
|
|
25
|
+
}
|
|
26
|
+
function Ie(n) {
|
|
27
|
+
return n.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
28
|
+
}
|
|
29
|
+
function K(n) {
|
|
30
|
+
return Ie(n).toLowerCase();
|
|
31
|
+
}
|
|
32
|
+
function Pe(n, l) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(n, l))
|
|
34
|
+
return n[l] ?? "";
|
|
35
|
+
const c = l.split("-").filter(Boolean);
|
|
36
|
+
for (; c.length > 1; ) {
|
|
37
|
+
c.pop();
|
|
38
|
+
const i = c.join("-");
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(n, i))
|
|
40
|
+
return n[i] ?? "";
|
|
41
|
+
}
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
function oe(n, l) {
|
|
45
|
+
if (typeof Intl > "u" || typeof Intl.DisplayNames > "u") return null;
|
|
46
|
+
try {
|
|
47
|
+
const c = Array.isArray(n) ? n : n ? [n] : void 0;
|
|
48
|
+
return new Intl.DisplayNames(c, { type: l });
|
|
49
|
+
} catch {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function H(n, l) {
|
|
54
|
+
if (n)
|
|
55
|
+
try {
|
|
56
|
+
return n.of(l) ?? void 0;
|
|
57
|
+
} catch {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function ke(n, l) {
|
|
62
|
+
const c = oe(n, "language"), i = oe("en", "language");
|
|
63
|
+
return (l ?? []).filter((r) => typeof r == "string" && r.length > 0).map((r) => {
|
|
64
|
+
const d = H(c, r) ?? H(i, r) ?? r;
|
|
65
|
+
return {
|
|
66
|
+
value: r,
|
|
67
|
+
name: d,
|
|
68
|
+
code: r,
|
|
69
|
+
searchable: Array.from(
|
|
70
|
+
/* @__PURE__ */ new Set([
|
|
71
|
+
d,
|
|
72
|
+
H(i, r) ?? r,
|
|
73
|
+
r.toLowerCase(),
|
|
74
|
+
r.toUpperCase()
|
|
75
|
+
])
|
|
76
|
+
).map((h) => K(h))
|
|
77
|
+
};
|
|
78
|
+
}).sort((r, d) => r.name.localeCompare(d.name));
|
|
79
|
+
}
|
|
80
|
+
const Me = {
|
|
81
|
+
control: () => ({
|
|
82
|
+
display: "none"
|
|
83
|
+
}),
|
|
84
|
+
menu: (n) => ({
|
|
85
|
+
...n,
|
|
86
|
+
marginTop: 4,
|
|
87
|
+
borderRadius: "var(--radius)",
|
|
88
|
+
boxShadow: "0 18px 36px rgba(15, 23, 42, 0.18)",
|
|
89
|
+
backgroundColor: "hsl(var(--popover))",
|
|
90
|
+
overflow: "hidden",
|
|
91
|
+
zIndex: 30
|
|
92
|
+
}),
|
|
93
|
+
menuList: (n) => ({
|
|
94
|
+
...n,
|
|
95
|
+
maxHeight: 280,
|
|
96
|
+
padding: 0,
|
|
97
|
+
display: "flex",
|
|
98
|
+
flexDirection: "column",
|
|
99
|
+
overflow: "hidden"
|
|
100
|
+
}),
|
|
101
|
+
option: (n, l) => ({
|
|
102
|
+
...n,
|
|
103
|
+
fontSize: "0.875rem",
|
|
104
|
+
backgroundColor: l.isFocused ? "hsl(var(--muted))" : l.isSelected ? "hsl(var(--accent))" : "transparent",
|
|
105
|
+
color: l.isSelected ? "hsl(var(--accent-foreground))" : "hsl(var(--foreground))",
|
|
106
|
+
cursor: "pointer"
|
|
107
|
+
}),
|
|
108
|
+
noOptionsMessage: (n) => ({
|
|
109
|
+
...n,
|
|
110
|
+
fontSize: "0.875rem",
|
|
111
|
+
color: "hsl(var(--muted-foreground))"
|
|
112
|
+
})
|
|
113
|
+
}, De = () => /* @__PURE__ */ a.jsx("div", { style: { display: "none" } }), D = () => null;
|
|
114
|
+
function Fe(n) {
|
|
115
|
+
const { data: l, innerRef: c, innerProps: i, isFocused: f, isSelected: r } = n;
|
|
116
|
+
return /* @__PURE__ */ a.jsxs(
|
|
117
|
+
"div",
|
|
118
|
+
{
|
|
119
|
+
ref: c,
|
|
120
|
+
...i,
|
|
121
|
+
className: F(
|
|
122
|
+
"flex cursor-pointer items-center justify-between gap-3 px-3 py-2 text-sm",
|
|
123
|
+
r ? "bg-accent text-accent-foreground" : f ? "bg-muted text-foreground" : "text-foreground"
|
|
124
|
+
),
|
|
125
|
+
children: [
|
|
126
|
+
/* @__PURE__ */ a.jsx("span", { className: "flex min-w-0 items-center gap-2", children: /* @__PURE__ */ a.jsx("span", { className: "truncate", children: l.name }) }),
|
|
127
|
+
/* @__PURE__ */ a.jsx("span", { className: "text-xs text-muted-foreground uppercase", children: l.code })
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
const Oe = t.forwardRef(
|
|
133
|
+
function(l, c) {
|
|
134
|
+
const {
|
|
135
|
+
value: i,
|
|
136
|
+
defaultValue: f,
|
|
137
|
+
locale: r,
|
|
138
|
+
defaultLocale: d,
|
|
139
|
+
onChange: h,
|
|
140
|
+
onLocaleChange: N,
|
|
141
|
+
locales: R,
|
|
142
|
+
multiline: v,
|
|
143
|
+
className: le,
|
|
144
|
+
inputClassName: ae,
|
|
145
|
+
selectProps: ce,
|
|
146
|
+
selectFooter: O,
|
|
147
|
+
languageSelectTabIndex: ie = -1,
|
|
148
|
+
disabled: I,
|
|
149
|
+
...ue
|
|
150
|
+
} = l, { rows: de, ...P } = ue, E = t.useMemo(() => i ?? f ?? {}, [f, i]), [fe, Z] = t.useState(E), S = i !== void 0, y = S ? i ?? {} : fe, [p, z] = t.useState(""), m = t.useContext(se), g = t.useMemo(() => {
|
|
151
|
+
const e = Array.from(/* @__PURE__ */ new Set([...R ?? [], ...Object.keys(y)]));
|
|
152
|
+
return ke(void 0, e);
|
|
153
|
+
}, [y, R]), pe = t.useMemo(() => r ?? m?.locale ?? d ?? Object.keys(y)[0] ?? g[0]?.value ?? W, [y, d, m?.locale, g, r]), [w, A] = t.useState(pe), V = r ?? m?.locale ?? w;
|
|
154
|
+
t.useEffect(() => {
|
|
155
|
+
S || Z(E);
|
|
156
|
+
}, [E, S]), t.useEffect(() => {
|
|
157
|
+
r && r !== w && A(r);
|
|
158
|
+
}, [w, r]), t.useEffect(() => {
|
|
159
|
+
!r && m?.locale && m.locale !== w && A(m.locale);
|
|
160
|
+
}, [w, m?.locale, r]);
|
|
161
|
+
const L = g.find((e) => e.value === V) ?? g.find((e) => e.value === W) ?? g[0] ?? null, [x, _] = t.useState(!1), $ = t.useRef(null), k = t.useRef(null), G = t.useRef(null), J = t.useRef(null), T = t.useRef(null), j = t.useRef(null), Q = t.useRef(null), [X, me] = t.useState({ left: 0, top: 0 });
|
|
162
|
+
t.useImperativeHandle(c, () => k.current, []);
|
|
163
|
+
const B = (e) => {
|
|
164
|
+
if (!e) return;
|
|
165
|
+
const o = e.value;
|
|
166
|
+
S || A(o), N?.(o, e), m?.setLocale(o), b(!0);
|
|
167
|
+
}, ge = (e) => {
|
|
168
|
+
const o = {
|
|
169
|
+
...y,
|
|
170
|
+
[V]: e.target.value
|
|
171
|
+
};
|
|
172
|
+
S || Z(o), h?.(o);
|
|
173
|
+
}, xe = Pe(y, V), M = t.useCallback(
|
|
174
|
+
(e) => {
|
|
175
|
+
if (!p) return !0;
|
|
176
|
+
const o = K(p);
|
|
177
|
+
return e.data.searchable.some((s) => s.includes(o));
|
|
178
|
+
},
|
|
179
|
+
[p]
|
|
180
|
+
), be = v ? "left-2 top-2 -translate-y-0" : "left-3 top-1/2 -translate-y-1/2", he = "pl-10 pr-3", q = t.useCallback(() => {
|
|
181
|
+
const e = G.current, o = J.current;
|
|
182
|
+
if (!e || !o) return;
|
|
183
|
+
const s = e.getBoundingClientRect(), u = o.getBoundingClientRect();
|
|
184
|
+
me({
|
|
185
|
+
left: s.left - u.left,
|
|
186
|
+
top: s.bottom - u.top + 4
|
|
187
|
+
});
|
|
188
|
+
}, []), Y = t.useCallback((e) => !e || !(e instanceof Node) ? !1 : !!$.current?.contains(e), []), ee = t.useCallback(() => {
|
|
189
|
+
const e = k.current;
|
|
190
|
+
if (!e) return;
|
|
191
|
+
e.focus();
|
|
192
|
+
const o = Q.current;
|
|
193
|
+
o && o.start != null && o.end != null && e.setSelectionRange(o.start, o.end);
|
|
194
|
+
}, []);
|
|
195
|
+
t.useEffect(() => {
|
|
196
|
+
if (!x) return;
|
|
197
|
+
const e = j.current;
|
|
198
|
+
e && requestAnimationFrame(() => {
|
|
199
|
+
if (document.activeElement === e) return;
|
|
200
|
+
e.focus();
|
|
201
|
+
const o = e.value.length;
|
|
202
|
+
try {
|
|
203
|
+
e.setSelectionRange(o, o);
|
|
204
|
+
} catch {
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
}, [x, p]);
|
|
208
|
+
const b = t.useCallback(
|
|
209
|
+
(e = !0) => {
|
|
210
|
+
_(!1), z(""), e && requestAnimationFrame(() => {
|
|
211
|
+
ee();
|
|
212
|
+
});
|
|
213
|
+
},
|
|
214
|
+
[ee]
|
|
215
|
+
), {
|
|
216
|
+
components: te,
|
|
217
|
+
styles: ne,
|
|
218
|
+
classNamePrefix: ve,
|
|
219
|
+
placeholder: ye,
|
|
220
|
+
noOptionsMessage: Ce,
|
|
221
|
+
...Se
|
|
222
|
+
} = ce ?? {}, U = t.useMemo(() => {
|
|
223
|
+
const e = K(p), o = (s) => {
|
|
224
|
+
const u = s.code.toLowerCase();
|
|
225
|
+
return e && u === e ? 0 : e && u.startsWith(e) ? 1 : e && s.searchable.some((C) => C.startsWith(e)) ? 2 : e && s.searchable.some((C) => C.includes(e)) ? 3 : 4;
|
|
226
|
+
};
|
|
227
|
+
return g.filter((s) => M({ data: s })).sort((s, u) => {
|
|
228
|
+
const C = o(s) - o(u);
|
|
229
|
+
return C !== 0 ? C : s.name.localeCompare(u.name);
|
|
230
|
+
});
|
|
231
|
+
}, [M, g, p]), we = t.useMemo(
|
|
232
|
+
() => ({
|
|
233
|
+
Control: De,
|
|
234
|
+
IndicatorsContainer: D,
|
|
235
|
+
DropdownIndicator: D,
|
|
236
|
+
IndicatorSeparator: D,
|
|
237
|
+
ValueContainer: D,
|
|
238
|
+
MenuList: (e) => {
|
|
239
|
+
const { children: o } = e;
|
|
240
|
+
return /* @__PURE__ */ a.jsxs(Ne.MenuList, { ...e, className: "!p-0 flex flex-col overflow-hidden", children: [
|
|
241
|
+
/* @__PURE__ */ a.jsx("div", { className: "border-b border-muted px-2 pb-2 pt-2", children: /* @__PURE__ */ a.jsx(
|
|
242
|
+
"input",
|
|
243
|
+
{
|
|
244
|
+
ref: j,
|
|
245
|
+
value: p,
|
|
246
|
+
onChange: (s) => z(s.target.value),
|
|
247
|
+
onKeyDown: (s) => {
|
|
248
|
+
if (s.key === "Escape") {
|
|
249
|
+
s.preventDefault(), b(!0);
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
if (s.key === "Enter") {
|
|
253
|
+
s.preventDefault();
|
|
254
|
+
const u = U[0];
|
|
255
|
+
u && B(u);
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
(s.key === "ArrowDown" || s.key === "ArrowUp") && (s.preventDefault(), T.current?.focus());
|
|
259
|
+
},
|
|
260
|
+
className: "w-full rounded-md border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring",
|
|
261
|
+
placeholder: "Search language…"
|
|
262
|
+
}
|
|
263
|
+
) }),
|
|
264
|
+
/* @__PURE__ */ a.jsx("div", { className: "max-h-60 overflow-y-auto", children: o }),
|
|
265
|
+
O ? /* @__PURE__ */ a.jsx("div", { className: "border-t border-muted bg-muted/60 px-3 py-2 text-xs text-muted-foreground", children: O }) : null
|
|
266
|
+
] });
|
|
267
|
+
},
|
|
268
|
+
...te ?? {},
|
|
269
|
+
Option: Fe
|
|
270
|
+
}),
|
|
271
|
+
[b, M, U, B, g, p, O, te]
|
|
272
|
+
), Le = t.useMemo(
|
|
273
|
+
() => ({
|
|
274
|
+
...Me,
|
|
275
|
+
...ne ?? {}
|
|
276
|
+
}),
|
|
277
|
+
[ne]
|
|
278
|
+
);
|
|
279
|
+
t.useLayoutEffect(() => {
|
|
280
|
+
if (!x) return;
|
|
281
|
+
q();
|
|
282
|
+
const e = () => q();
|
|
283
|
+
return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
284
|
+
}, [x, q]);
|
|
285
|
+
const re = {
|
|
286
|
+
...P,
|
|
287
|
+
ref: k,
|
|
288
|
+
disabled: I,
|
|
289
|
+
value: xe,
|
|
290
|
+
onChange: ge,
|
|
291
|
+
onFocus: (e) => {
|
|
292
|
+
x && b(!1), P.onFocus?.(e);
|
|
293
|
+
},
|
|
294
|
+
onBlur: (e) => {
|
|
295
|
+
Y(e.relatedTarget) || b(!1), P.onBlur?.(e);
|
|
296
|
+
},
|
|
297
|
+
className: F(
|
|
298
|
+
"w-full rounded-md border border-input bg-background text-base ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
299
|
+
v ? "min-h-24 py-2" : "h-10 py-2",
|
|
300
|
+
he,
|
|
301
|
+
ae
|
|
302
|
+
),
|
|
303
|
+
placeholder: P.placeholder
|
|
304
|
+
};
|
|
305
|
+
return /* @__PURE__ */ a.jsxs(
|
|
306
|
+
"div",
|
|
307
|
+
{
|
|
308
|
+
ref: $,
|
|
309
|
+
className: F("relative flex flex-col", le),
|
|
310
|
+
onBlur: (e) => {
|
|
311
|
+
Y(e.relatedTarget) || b(!1);
|
|
312
|
+
},
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ a.jsxs("div", { ref: J, className: "relative", children: [
|
|
315
|
+
v ? /* @__PURE__ */ a.jsx("textarea", { rows: de, ...re }) : /* @__PURE__ */ a.jsx("input", { type: "text", ...re }),
|
|
316
|
+
/* @__PURE__ */ a.jsx(
|
|
317
|
+
"button",
|
|
318
|
+
{
|
|
319
|
+
type: "button",
|
|
320
|
+
className: F(
|
|
321
|
+
"absolute flex h-6 w-6 items-center justify-center rounded border text-xs font-semibold leading-none transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
322
|
+
be,
|
|
323
|
+
I ? "cursor-not-allowed opacity-50 pointer-events-none" : "cursor-pointer hover:bg-muted",
|
|
324
|
+
L ? "border-transparent" : "border-dashed border-border text-muted-foreground"
|
|
325
|
+
),
|
|
326
|
+
"aria-label": L ? `Select language (${L.code})` : "Select language",
|
|
327
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
328
|
+
onClick: () => {
|
|
329
|
+
if (I) return;
|
|
330
|
+
const e = k.current;
|
|
331
|
+
e && (Q.current = {
|
|
332
|
+
start: e.selectionStart,
|
|
333
|
+
end: e.selectionEnd
|
|
334
|
+
}), z(""), _(!0), requestAnimationFrame(() => {
|
|
335
|
+
j.current ? (j.current.focus(), j.current.select()) : T.current?.focus();
|
|
336
|
+
});
|
|
337
|
+
},
|
|
338
|
+
tabIndex: ie,
|
|
339
|
+
disabled: I,
|
|
340
|
+
ref: G,
|
|
341
|
+
children: /* @__PURE__ */ a.jsx("span", { "aria-hidden": "true", children: L ? Re(L.code) : "?" })
|
|
342
|
+
}
|
|
343
|
+
)
|
|
344
|
+
] }),
|
|
345
|
+
/* @__PURE__ */ a.jsx(
|
|
346
|
+
"div",
|
|
347
|
+
{
|
|
348
|
+
className: "absolute left-0 top-full z-30 mt-1",
|
|
349
|
+
style: {
|
|
350
|
+
pointerEvents: x ? "auto" : "none",
|
|
351
|
+
width: "min(260px, 100%)",
|
|
352
|
+
left: X.left,
|
|
353
|
+
top: X.top
|
|
354
|
+
},
|
|
355
|
+
children: /* @__PURE__ */ a.jsx(
|
|
356
|
+
je,
|
|
357
|
+
{
|
|
358
|
+
...Se,
|
|
359
|
+
menuIsOpen: x,
|
|
360
|
+
options: U,
|
|
361
|
+
value: null,
|
|
362
|
+
onChange: B,
|
|
363
|
+
classNamePrefix: ve ?? "i18n-language-select",
|
|
364
|
+
components: we,
|
|
365
|
+
styles: Le,
|
|
366
|
+
isClearable: !1,
|
|
367
|
+
isSearchable: !1,
|
|
368
|
+
backspaceRemovesValue: !1,
|
|
369
|
+
tabSelectsValue: !0,
|
|
370
|
+
menuShouldScrollIntoView: !1,
|
|
371
|
+
placeholder: ye ?? "",
|
|
372
|
+
filterOption: M,
|
|
373
|
+
noOptionsMessage: Ce,
|
|
374
|
+
onMenuClose: () => b(!0),
|
|
375
|
+
ref: T
|
|
376
|
+
}
|
|
377
|
+
)
|
|
378
|
+
}
|
|
379
|
+
)
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
);
|
|
385
|
+
Oe.displayName = "I18nField";
|
|
386
|
+
export {
|
|
387
|
+
Oe as I18nField,
|
|
388
|
+
Ve as I18nFieldLocaleProvider
|
|
389
|
+
};
|
|
390
|
+
//# sourceMappingURL=index17.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index17.js","sources":["../src/components/I18nField/index.tsx"],"sourcesContent":["import * as React from \"react\"\nimport Select, {\n type OptionProps,\n type Props as SelectProps,\n type SelectInstance,\n type SingleValue,\n type StylesConfig,\n components as selectComponents,\n} from \"react-select\"\n\nimport { cn } from \"@/lib/utils\"\n\n\nexport type LanguageCode = string\n\nexport type LocalizedString = Record<LanguageCode, string>\n\nexport type I18nValue = LocalizedString\n\ntype LocaleContextValue = {\n locale: LanguageCode | null\n setLocale: (next: LanguageCode) => void\n}\n\nconst I18nFieldLocaleContext = React.createContext<LocaleContextValue | null>(null)\n\ntype I18nFieldLocaleProviderProps = {\n children: React.ReactNode\n value?: LanguageCode\n defaultValue?: LanguageCode\n onChange?: (locale: LanguageCode) => void\n}\n\nexport function I18nFieldLocaleProvider({ children, value, defaultValue, onChange }: I18nFieldLocaleProviderProps) {\n const isControlled = value !== undefined\n const [internalLocale, setInternalLocale] = React.useState<LanguageCode>(defaultValue ?? DEFAULT_LOCALE)\n const activeLocale = (value ?? internalLocale) as LanguageCode\n\n const setLocale = React.useCallback(\n (next: LanguageCode) => {\n if (!isControlled) {\n setInternalLocale(next)\n }\n onChange?.(next)\n },\n [isControlled, onChange]\n )\n\n const contextValue = React.useMemo<LocaleContextValue>(\n () => ({\n locale: activeLocale,\n setLocale,\n }),\n [activeLocale, setLocale]\n )\n\n return <I18nFieldLocaleContext.Provider value={contextValue}>{children}</I18nFieldLocaleContext.Provider>\n}\n\ntype I18nFieldProps = Omit<\n React.InputHTMLAttributes<HTMLInputElement>,\n \"value\" | \"defaultValue\" | \"onChange\"\n> &\n Omit<\n React.TextareaHTMLAttributes<HTMLTextAreaElement>,\n \"value\" | \"defaultValue\" | \"onChange\"\n > & {\n value?: I18nValue\n defaultValue?: I18nValue\n locale?: LanguageCode\n defaultLocale?: LanguageCode\n onChange?: (value: I18nValue) => void\n onLocaleChange?: (locale: LanguageCode, option: LanguageOption) => void\n locales?: LanguageCode[]\n multiline?: boolean\n inputClassName?: string\n selectProps?: Partial<SelectProps<LanguageOption, false>>\n selectFooter?: React.ReactNode\n languageSelectTabIndex?: number\n }\n\ntype LanguageOption = {\n value: LanguageCode\n name: string\n code: string\n searchable: string[]\n}\n\nconst DEFAULT_LOCALE: LanguageCode = \"en\"\n\nfunction languageCodeToBadge(code: string) {\n const primary = code.split(\"-\")[0] ?? \"\"\n const normalized = primary.replace(/[^A-Za-z]/g, \"\")\n if (!normalized) return \"?\"\n return normalized.slice(0, 3).toUpperCase()\n}\n\nfunction stripDiacritics(value: string) {\n return value.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\")\n}\n\nfunction normalize(value: string) {\n return stripDiacritics(value).toLowerCase()\n}\n\nfunction resolveLocalizedValue(value: I18nValue, locale: LanguageCode) {\n if (Object.prototype.hasOwnProperty.call(value, locale)) {\n return value[locale] ?? \"\"\n }\n\n const parts = locale.split(\"-\").filter(Boolean)\n while (parts.length > 1) {\n parts.pop()\n const candidate = parts.join(\"-\")\n if (Object.prototype.hasOwnProperty.call(value, candidate)) {\n return value[candidate] ?? \"\"\n }\n }\n\n return \"\"\n}\n\nfunction createDisplayNames(locale: string | string[] | undefined, type: \"language\") {\n if (typeof Intl === \"undefined\" || typeof Intl.DisplayNames === \"undefined\") return null\n try {\n const locales = Array.isArray(locale) ? locale : locale ? [locale] : undefined\n return new Intl.DisplayNames(locales, { type })\n } catch {\n return null\n }\n}\n\nfunction safeDisplayName(displayNames: Intl.DisplayNames | null, value: string) {\n if (!displayNames) return undefined\n try {\n return displayNames.of(value) ?? undefined\n } catch {\n return undefined\n }\n}\n\nfunction buildLanguageOptions(locale?: string | string[], allowed?: LanguageCode[]) {\n const displayNames = createDisplayNames(locale, \"language\")\n const englishDisplayNames = createDisplayNames(\"en\", \"language\")\n const pool = (allowed ?? []).filter((code): code is LanguageCode => typeof code === \"string\" && code.length > 0)\n\n return pool\n .map((code) => {\n const name = safeDisplayName(displayNames, code) ?? safeDisplayName(englishDisplayNames, code) ?? code\n return {\n value: code,\n name,\n code,\n searchable: Array.from(\n new Set([\n name,\n safeDisplayName(englishDisplayNames, code) ?? code,\n code.toLowerCase(),\n code.toUpperCase(),\n ])\n ).map((entry) => normalize(entry)),\n }\n })\n .sort((a, b) => a.name.localeCompare(b.name))\n}\n\nconst selectStyles: StylesConfig<LanguageOption, false> = {\n control: () => ({\n display: \"none\",\n }),\n menu: (provided) => ({\n ...provided,\n marginTop: 4,\n borderRadius: \"var(--radius)\",\n boxShadow: \"0 18px 36px rgba(15, 23, 42, 0.18)\",\n backgroundColor: \"hsl(var(--popover))\",\n overflow: \"hidden\",\n zIndex: 30,\n }),\n menuList: (provided) => ({\n ...provided,\n maxHeight: 280,\n padding: 0,\n display: \"flex\",\n flexDirection: \"column\",\n overflow: \"hidden\",\n }),\n option: (provided, state) => ({\n ...provided,\n fontSize: \"0.875rem\",\n backgroundColor: state.isFocused\n ? \"hsl(var(--muted))\"\n : state.isSelected\n ? \"hsl(var(--accent))\"\n : \"transparent\",\n color: state.isSelected\n ? \"hsl(var(--accent-foreground))\"\n : \"hsl(var(--foreground))\",\n cursor: \"pointer\",\n }),\n noOptionsMessage: (provided) => ({\n ...provided,\n fontSize: \"0.875rem\",\n color: \"hsl(var(--muted-foreground))\",\n }),\n}\n\nconst HiddenControl = () => <div style={{ display: \"none\" }} />\nconst NullComponent = () => null\n\nfunction Option(props: OptionProps<LanguageOption, false>) {\n const { data, innerRef, innerProps, isFocused, isSelected } = props\n return (\n <div\n ref={innerRef}\n {...innerProps}\n className={cn(\n \"flex cursor-pointer items-center justify-between gap-3 px-3 py-2 text-sm\",\n isSelected\n ? \"bg-accent text-accent-foreground\"\n : isFocused\n ? \"bg-muted text-foreground\"\n : \"text-foreground\"\n )}\n >\n <span className=\"flex min-w-0 items-center gap-2\">\n <span className=\"truncate\">{data.name}</span>\n </span>\n <span className=\"text-xs text-muted-foreground uppercase\">{data.code}</span>\n </div>\n )\n}\n\nexport const I18nField = React.forwardRef<HTMLInputElement | HTMLTextAreaElement, I18nFieldProps>(\n function I18nField(props, forwardedRef) {\n const {\n value: valueProp,\n defaultValue,\n locale: localeProp,\n defaultLocale,\n onChange,\n onLocaleChange,\n locales,\n multiline,\n className,\n inputClassName,\n selectProps,\n selectFooter,\n languageSelectTabIndex = -1,\n disabled,\n ...rest\n } = props\n\n type SharedProps = React.InputHTMLAttributes<HTMLInputElement> &\n React.TextareaHTMLAttributes<HTMLTextAreaElement> & { rows?: number }\n\n const { rows, ...restProps } = rest as SharedProps\n\n const initialValue = React.useMemo<I18nValue>(() => valueProp ?? defaultValue ?? {}, [defaultValue, valueProp])\n const [internalValue, setInternalValue] = React.useState<I18nValue>(initialValue)\n const isControlled = valueProp !== undefined\n const currentValue = isControlled ? valueProp ?? {} : internalValue\n const [searchTerm, setSearchTerm] = React.useState(\"\")\n const localeContext = React.useContext(I18nFieldLocaleContext)\n\n const localePool = React.useMemo(() => {\n const pool = Array.from(new Set([...(locales ?? []), ...Object.keys(currentValue)]))\n return buildLanguageOptions(undefined, pool)\n }, [currentValue, locales])\n\n const initialLocale = React.useMemo(() => {\n const candidate =\n localeProp ??\n localeContext?.locale ??\n defaultLocale ??\n (Object.keys(currentValue)[0] as LanguageCode | undefined) ??\n localePool[0]?.value ??\n DEFAULT_LOCALE\n return candidate\n }, [currentValue, defaultLocale, localeContext?.locale, localePool, localeProp])\n\n const [internalLocale, setInternalLocale] = React.useState<LanguageCode>(initialLocale)\n const activeLocale = localeProp ?? localeContext?.locale ?? internalLocale\n\n React.useEffect(() => {\n if (!isControlled) {\n setInternalValue(initialValue)\n }\n }, [initialValue, isControlled])\n\n React.useEffect(() => {\n if (localeProp && localeProp !== internalLocale) {\n setInternalLocale(localeProp)\n }\n }, [internalLocale, localeProp])\n\n React.useEffect(() => {\n if (!localeProp && localeContext?.locale && localeContext.locale !== internalLocale) {\n setInternalLocale(localeContext.locale)\n }\n }, [internalLocale, localeContext?.locale, localeProp])\n\n const selectedOption =\n localePool.find((option) => option.value === activeLocale) ??\n localePool.find((option) => option.value === DEFAULT_LOCALE) ??\n localePool[0] ??\n null\n\n const [menuOpen, setMenuOpen] = React.useState(false)\n const rootRef = React.useRef<HTMLDivElement | null>(null)\n const inputRef = React.useRef<HTMLInputElement | HTMLTextAreaElement | null>(null)\n const triggerRef = React.useRef<HTMLButtonElement | null>(null)\n const containerRef = React.useRef<HTMLDivElement | null>(null)\n const selectRef = React.useRef<SelectInstance<LanguageOption, false> | null>(null)\n const searchInputRef = React.useRef<HTMLInputElement | null>(null)\n const selectionSnapshotRef = React.useRef<{ start: number | null; end: number | null } | null>(null)\n const [menuPosition, setMenuPosition] = React.useState<{ left: number; top: number }>({ left: 0, top: 0 })\n\n React.useImperativeHandle(forwardedRef, () => inputRef.current as HTMLInputElement & HTMLTextAreaElement, [])\n\n const handleLocaleSelect = (option: SingleValue<LanguageOption>) => {\n if (!option) return\n const nextLocale = option.value\n if (!isControlled) {\n setInternalLocale(nextLocale)\n }\n onLocaleChange?.(nextLocale, option)\n localeContext?.setLocale(nextLocale)\n closeMenu(true)\n }\n\n const handleTextChange = (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n const nextValue = {\n ...currentValue,\n [activeLocale]: event.target.value,\n }\n if (!isControlled) {\n setInternalValue(nextValue)\n }\n onChange?.(nextValue)\n }\n\n const currentText = resolveLocalizedValue(currentValue, activeLocale)\n\n const filterOption = React.useCallback(\n (option: { data: LanguageOption }) => {\n if (!searchTerm) return true\n const query = normalize(searchTerm)\n return option.data.searchable.some((token) => token.includes(query))\n },\n [searchTerm]\n )\n\n const buttonPosition = multiline ? \"left-2 top-2 -translate-y-0\" : \"left-3 top-1/2 -translate-y-1/2\"\n const inputPaddingLeft = \"pl-10 pr-3\"\n\n const updateMenuPosition = React.useCallback(() => {\n const trigger = triggerRef.current\n const container = containerRef.current\n if (!trigger || !container) return\n const triggerRect = trigger.getBoundingClientRect()\n const containerRect = container.getBoundingClientRect()\n setMenuPosition({\n left: triggerRect.left - containerRect.left,\n top: triggerRect.bottom - containerRect.top + 4,\n })\n }, [])\n\n const isInsideComponent = React.useCallback((target: EventTarget | null) => {\n if (!target || !(target instanceof Node)) return false\n return Boolean(rootRef.current?.contains(target))\n }, [])\n\n const restoreMainFocus = React.useCallback(() => {\n const target = inputRef.current\n if (!target) return\n target.focus()\n const selection = selectionSnapshotRef.current\n if (selection && selection.start != null && selection.end != null) {\n target.setSelectionRange(selection.start, selection.end)\n }\n }, [])\n\n React.useEffect(() => {\n if (!menuOpen) return\n const target = searchInputRef.current\n if (!target) return\n requestAnimationFrame(() => {\n if (document.activeElement === target) return\n target.focus()\n const end = target.value.length\n try {\n target.setSelectionRange(end, end)\n } catch {\n /* ignore */\n }\n })\n }, [menuOpen, searchTerm])\n\n const closeMenu = React.useCallback(\n (restoreFocus = true) => {\n setMenuOpen(false)\n setSearchTerm(\"\")\n if (restoreFocus) {\n requestAnimationFrame(() => {\n restoreMainFocus()\n })\n }\n },\n [restoreMainFocus]\n )\n\n const {\n components: userSelectComponents,\n styles: userSelectStyles,\n classNamePrefix: userClassNamePrefix,\n placeholder: selectPlaceholder,\n noOptionsMessage,\n ...forwardedSelectProps\n } = selectProps ?? {}\n\n const filteredOptions = React.useMemo(() => {\n const query = normalize(searchTerm)\n const rank = (option: LanguageOption) => {\n const code = option.code.toLowerCase()\n if (query && code === query) return 0\n if (query && code.startsWith(query)) return 1\n if (query && option.searchable.some((token) => token.startsWith(query))) return 2\n if (query && option.searchable.some((token) => token.includes(query))) return 3\n return 4\n }\n return localePool\n .filter((option) => filterOption({ data: option }))\n .sort((a, b) => {\n const diff = rank(a) - rank(b)\n if (diff !== 0) return diff\n return a.name.localeCompare(b.name)\n })\n }, [filterOption, localePool, searchTerm])\n\n const mergedSelectComponents = React.useMemo(\n () => ({\n Control: HiddenControl,\n IndicatorsContainer: NullComponent,\n DropdownIndicator: NullComponent,\n IndicatorSeparator: NullComponent,\n ValueContainer: NullComponent,\n MenuList: (props: any) => {\n const { children } = props\n return (\n <selectComponents.MenuList {...props} className=\"!p-0 flex flex-col overflow-hidden\">\n <div className=\"border-b border-muted px-2 pb-2 pt-2\">\n <input\n ref={searchInputRef}\n value={searchTerm}\n onChange={(event) => setSearchTerm(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === \"Escape\") {\n event.preventDefault()\n closeMenu(true)\n return\n }\n if (event.key === \"Enter\") {\n event.preventDefault()\n const first = filteredOptions[0]\n if (first) {\n handleLocaleSelect(first)\n }\n return\n }\n if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\") {\n event.preventDefault()\n selectRef.current?.focus()\n }\n }}\n className=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring\"\n placeholder=\"Search language…\"\n />\n </div>\n <div className=\"max-h-60 overflow-y-auto\">{children}</div>\n {selectFooter ? (\n <div className=\"border-t border-muted bg-muted/60 px-3 py-2 text-xs text-muted-foreground\">\n {selectFooter}\n </div>\n ) : null}\n </selectComponents.MenuList>\n )\n },\n ...(userSelectComponents ?? {}),\n Option,\n }),\n [closeMenu, filterOption, filteredOptions, handleLocaleSelect, localePool, searchTerm, selectFooter, userSelectComponents]\n )\n\n const mergedSelectStyles = React.useMemo<StylesConfig<LanguageOption, false>>(\n () => ({\n ...selectStyles,\n ...(userSelectStyles ?? {}),\n }),\n [userSelectStyles]\n )\n\n React.useLayoutEffect(() => {\n if (!menuOpen) return\n updateMenuPosition()\n const handleResize = () => updateMenuPosition()\n window.addEventListener(\"resize\", handleResize)\n return () => window.removeEventListener(\"resize\", handleResize)\n }, [menuOpen, updateMenuPosition])\n\n const sharedFieldProps = {\n ...restProps,\n ref: inputRef as React.Ref<any>,\n disabled,\n value: currentText,\n onChange: handleTextChange,\n onFocus: (event: React.FocusEvent<any>) => {\n if (menuOpen) {\n closeMenu(false)\n }\n restProps.onFocus?.(event)\n },\n onBlur: (event: React.FocusEvent<any>) => {\n if (!isInsideComponent(event.relatedTarget)) {\n closeMenu(false)\n }\n restProps.onBlur?.(event)\n },\n className: cn(\n \"w-full rounded-md border border-input bg-background text-base ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\n multiline ? \"min-h-24 py-2\" : \"h-10 py-2\",\n inputPaddingLeft,\n inputClassName\n ),\n placeholder: restProps.placeholder,\n }\n\n return (\n <div\n ref={rootRef}\n className={cn(\"relative flex flex-col\", className)}\n onBlur={(event) => {\n if (!isInsideComponent(event.relatedTarget)) {\n closeMenu(false)\n }\n }}\n >\n <div ref={containerRef} className=\"relative\">\n {multiline ? (\n <textarea rows={rows} {...sharedFieldProps} />\n ) : (\n <input type=\"text\" {...sharedFieldProps} />\n )}\n\n <button\n type=\"button\"\n className={cn(\n \"absolute flex h-6 w-6 items-center justify-center rounded border text-xs font-semibold leading-none transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\",\n buttonPosition,\n disabled ? \"cursor-not-allowed opacity-50 pointer-events-none\" : \"cursor-pointer hover:bg-muted\",\n selectedOption ? \"border-transparent\" : \"border-dashed border-border text-muted-foreground\"\n )}\n aria-label={selectedOption ? `Select language (${selectedOption.code})` : \"Select language\"}\n onMouseDown={(event) => event.preventDefault()}\n onClick={() => {\n if (disabled) return\n const target = inputRef.current\n if (target) {\n selectionSnapshotRef.current = {\n start: target.selectionStart,\n end: target.selectionEnd,\n }\n }\n setSearchTerm(\"\")\n setMenuOpen(true)\n requestAnimationFrame(() => {\n if (searchInputRef.current) {\n searchInputRef.current.focus()\n searchInputRef.current.select()\n } else {\n selectRef.current?.focus()\n }\n })\n }}\n tabIndex={languageSelectTabIndex}\n disabled={disabled}\n ref={triggerRef}\n >\n <span aria-hidden=\"true\">{selectedOption ? languageCodeToBadge(selectedOption.code) : \"?\"}</span>\n </button>\n </div>\n\n <div\n className=\"absolute left-0 top-full z-30 mt-1\"\n style={{\n pointerEvents: menuOpen ? \"auto\" : \"none\",\n width: \"min(260px, 100%)\",\n left: menuPosition.left,\n top: menuPosition.top,\n }}\n >\n <Select<LanguageOption, false>\n {...forwardedSelectProps}\n menuIsOpen={menuOpen}\n options={filteredOptions}\n value={null}\n onChange={handleLocaleSelect}\n classNamePrefix={userClassNamePrefix ?? \"i18n-language-select\"}\n components={mergedSelectComponents}\n styles={mergedSelectStyles}\n isClearable={false}\n isSearchable={false}\n backspaceRemovesValue={false}\n tabSelectsValue\n menuShouldScrollIntoView={false}\n placeholder={selectPlaceholder ?? \"\"}\n filterOption={filterOption}\n noOptionsMessage={noOptionsMessage}\n onMenuClose={() => closeMenu(true)}\n ref={selectRef}\n />\n </div>\n </div>\n )\n }\n)\n\nI18nField.displayName = \"I18nField\"\n"],"names":["I18nFieldLocaleContext","React","I18nFieldLocaleProvider","children","value","defaultValue","onChange","isControlled","internalLocale","setInternalLocale","DEFAULT_LOCALE","activeLocale","setLocale","next","contextValue","languageCodeToBadge","code","normalized","stripDiacritics","normalize","resolveLocalizedValue","locale","parts","candidate","createDisplayNames","type","locales","safeDisplayName","displayNames","buildLanguageOptions","allowed","englishDisplayNames","name","entry","a","b","selectStyles","provided","state","HiddenControl","jsx","NullComponent","Option","props","data","innerRef","innerProps","isFocused","isSelected","jsxs","cn","I18nField","forwardedRef","valueProp","localeProp","defaultLocale","onLocaleChange","multiline","className","inputClassName","selectProps","selectFooter","languageSelectTabIndex","disabled","rest","rows","restProps","initialValue","internalValue","setInternalValue","currentValue","searchTerm","setSearchTerm","localeContext","localePool","pool","initialLocale","selectedOption","option","menuOpen","setMenuOpen","rootRef","inputRef","triggerRef","containerRef","selectRef","searchInputRef","selectionSnapshotRef","menuPosition","setMenuPosition","handleLocaleSelect","nextLocale","closeMenu","handleTextChange","event","nextValue","currentText","filterOption","query","token","buttonPosition","inputPaddingLeft","updateMenuPosition","trigger","container","triggerRect","containerRect","isInsideComponent","target","restoreMainFocus","selection","end","restoreFocus","userSelectComponents","userSelectStyles","userClassNamePrefix","selectPlaceholder","noOptionsMessage","forwardedSelectProps","filteredOptions","rank","diff","mergedSelectComponents","selectComponents","first","mergedSelectStyles","handleResize","sharedFieldProps","Select"],"mappings":";;;;AAwBA,MAAMA,KAAyBC,EAAM,cAAyC,IAAI;AAS3E,SAASC,GAAwB,EAAE,UAAAC,GAAU,OAAAC,GAAO,cAAAC,GAAc,UAAAC,KAA0C;AACjH,QAAMC,IAAeH,MAAU,QACzB,CAACI,GAAgBC,CAAiB,IAAIR,EAAM,SAAuBI,KAAgBK,CAAc,GACjGC,IAAgBP,KAASI,GAEzBI,IAAYX,EAAM;AAAA,IACtB,CAACY,MAAuB;AACtB,MAAKN,KACHE,EAAkBI,CAAI,GAExBP,IAAWO,CAAI;AAAA,IACjB;AAAA,IACA,CAACN,GAAcD,CAAQ;AAAA,EAAA,GAGnBQ,IAAeb,EAAM;AAAA,IACzB,OAAO;AAAA,MACL,QAAQU;AAAA,MACR,WAAAC;AAAA,IAAA;AAAA,IAEF,CAACD,GAAcC,CAAS;AAAA,EAAA;AAG1B,+BAAQZ,GAAuB,UAAvB,EAAgC,OAAOc,GAAe,UAAAX,GAAS;AACzE;AA+BA,MAAMO,IAA+B;AAErC,SAASK,GAAoBC,GAAc;AAEzC,QAAMC,KADUD,EAAK,MAAM,GAAG,EAAE,CAAC,KAAK,IACX,QAAQ,cAAc,EAAE;AACnD,SAAKC,IACEA,EAAW,MAAM,GAAG,CAAC,EAAE,YAAA,IADN;AAE1B;AAEA,SAASC,GAAgBd,GAAe;AACtC,SAAOA,EAAM,UAAU,KAAK,EAAE,QAAQ,oBA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AAAA,kBAClC,cAAAnB;AAAA,kBACA,kBAAAoB;AAAA,kBACA,aAAa,MAAMzB,EAAU,EAAI;AAAA,kBACjC,KAAKP;AAAA,gBAAA;AAAA,cAAA;AAAA,YACP;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEAlC,GAAU,cAAc;"}
|
package/dist/index170.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function p(e, r, s, t, f = !1) {
|
|
2
|
+
if (!e || !r)
|
|
3
|
+
return;
|
|
4
|
+
const { startOfYear: o, endOfYear: i, eachYearOfInterval: l, getYear: u } = t, Y = o(e), c = i(r), a = l({ start: Y, end: c });
|
|
5
|
+
return f && a.reverse(), a.map((n) => {
|
|
6
|
+
const d = s.formatYearDropdown(n, t);
|
|
7
|
+
return {
|
|
8
|
+
value: u(n),
|
|
9
|
+
label: d,
|
|
10
|
+
disabled: !1
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
p as getYearOptions
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index170.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index170.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js"],"sourcesContent":["/**\n * Returns the years to display in the dropdown.\n *\n * This function generates a list of years between the navigation start and end\n * dates, formatted using the provided formatter.\n *\n * @param navStart The start date for navigation.\n * @param navEnd The end date for navigation.\n * @param formatters The formatters to use for formatting the year labels.\n * @param dateLib The date library to use for date manipulation.\n * @param reverse If true, reverses the order of the years (descending).\n * @returns An array of dropdown options representing the years, or `undefined`\n * if `navStart` or `navEnd` is not provided.\n */\nexport function getYearOptions(navStart, navEnd, formatters, dateLib, reverse = false) {\n if (!navStart)\n return undefined;\n if (!navEnd)\n return undefined;\n const { startOfYear, endOfYear, eachYearOfInterval, getYear } = dateLib;\n const firstNavYear = startOfYear(navStart);\n const lastNavYear = endOfYear(navEnd);\n const years = eachYearOfInterval({ start: firstNavYear, end: lastNavYear });\n if (reverse)\n years.reverse();\n return years.map((year) => {\n const label = formatters.formatYearDropdown(year, dateLib);\n return {\n value: getYear(year),\n label,\n disabled: false,\n };\n });\n}\n"],"names":["getYearOptions","navStart","navEnd","formatters","dateLib","reverse","startOfYear","endOfYear","eachYearOfInterval","getYear","firstNavYear","lastNavYear","years","year","label"],"mappings":"AAcO,SAASA,EAAeC,GAAUC,GAAQC,GAAYC,GAASC,IAAU,IAAO;AAGnF,MAFI,CAACJ,KAED,CAACC;AACD;AACJ,QAAM,EAAE,aAAAI,GAAa,WAAAC,GAAW,oBAAAC,GAAoB,SAAAC,EAAO,IAAKL,GAC1DM,IAAeJ,EAAYL,CAAQ,GACnCU,IAAcJ,EAAUL,CAAM,GAC9BU,IAAQJ,EAAmB,EAAE,OAAOE,GAAc,KAAKC,GAAa;AAC1E,SAAIN,KACAO,EAAM,QAAO,GACVA,EAAM,IAAI,CAACC,MAAS;AACvB,UAAMC,IAAQX,EAAW,mBAAmBU,GAAMT,CAAO;AACzD,WAAO;AAAA,MACH,OAAOK,EAAQI,CAAI;AAAA,MACnB,OAAAC;AAAA,MACA,UAAU;AAAA,IACtB;AAAA,EACI,CAAC;AACL;","x_google_ignoreList":[0]}
|
package/dist/index171.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { TZDate as c } from "./index246.js";
|
|
2
|
+
import "./index248.js";
|
|
3
|
+
import { differenceInCalendarMonths as h } from "./index260.js";
|
|
4
|
+
import { differenceInCalendarDays as O } from "./index259.js";
|
|
5
|
+
import { getISOWeek as k } from "./index267.js";
|
|
6
|
+
import { getWeek as w } from "./index270.js";
|
|
7
|
+
function W(o, D = {}) {
|
|
8
|
+
const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
|
|
9
|
+
const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
|
10
|
+
return new c(e.getFullYear(), e.getMonth(), e.getDate(), 12, 0, 0, o);
|
|
11
|
+
}, u = (t) => {
|
|
12
|
+
const e = r(t);
|
|
13
|
+
return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0);
|
|
14
|
+
};
|
|
15
|
+
return {
|
|
16
|
+
today: () => r(c.tz(o)),
|
|
17
|
+
newDate: (t, e, n) => new c(t, e, n, 12, 0, 0, o),
|
|
18
|
+
startOfDay: (t) => r(t),
|
|
19
|
+
startOfWeek: (t, e) => {
|
|
20
|
+
const n = r(t), a = e?.weekStartsOn ?? l, s = (n.getDay() - a + 7) % 7;
|
|
21
|
+
return n.setDate(n.getDate() - s), n;
|
|
22
|
+
},
|
|
23
|
+
startOfISOWeek: (t) => {
|
|
24
|
+
const e = r(t), n = (e.getDay() - 1 + 7) % 7;
|
|
25
|
+
return e.setDate(e.getDate() - n), e;
|
|
26
|
+
},
|
|
27
|
+
startOfMonth: (t) => {
|
|
28
|
+
const e = r(t);
|
|
29
|
+
return e.setDate(1), e;
|
|
30
|
+
},
|
|
31
|
+
startOfYear: (t) => {
|
|
32
|
+
const e = r(t);
|
|
33
|
+
return e.setMonth(0, 1), e;
|
|
34
|
+
},
|
|
35
|
+
endOfWeek: (t, e) => {
|
|
36
|
+
const n = r(t), f = (((e?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
|
|
37
|
+
return n.setDate(n.getDate() + f), n;
|
|
38
|
+
},
|
|
39
|
+
endOfISOWeek: (t) => {
|
|
40
|
+
const e = r(t), n = (7 - e.getDay()) % 7;
|
|
41
|
+
return e.setDate(e.getDate() + n), e;
|
|
42
|
+
},
|
|
43
|
+
endOfMonth: (t) => {
|
|
44
|
+
const e = r(t);
|
|
45
|
+
return e.setMonth(e.getMonth() + 1, 0), e;
|
|
46
|
+
},
|
|
47
|
+
endOfYear: (t) => {
|
|
48
|
+
const e = r(t);
|
|
49
|
+
return e.setMonth(11, 31), e;
|
|
50
|
+
},
|
|
51
|
+
eachMonthOfInterval: (t) => {
|
|
52
|
+
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), e.getMonth(), 1, 12, 0, 0, o), f = n.getFullYear() * 12 + n.getMonth();
|
|
53
|
+
for (; s.getFullYear() * 12 + s.getMonth() <= f; )
|
|
54
|
+
a.push(new c(s, o)), s.setMonth(s.getMonth() + 1, 1);
|
|
55
|
+
return a;
|
|
56
|
+
},
|
|
57
|
+
// Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
|
|
58
|
+
// mutate the same TZDate, and return it.
|
|
59
|
+
addDays: (t, e) => {
|
|
60
|
+
const n = r(t);
|
|
61
|
+
return n.setDate(n.getDate() + e), n;
|
|
62
|
+
},
|
|
63
|
+
addWeeks: (t, e) => {
|
|
64
|
+
const n = r(t);
|
|
65
|
+
return n.setDate(n.getDate() + e * 7), n;
|
|
66
|
+
},
|
|
67
|
+
addMonths: (t, e) => {
|
|
68
|
+
const n = r(t);
|
|
69
|
+
return n.setMonth(n.getMonth() + e), n;
|
|
70
|
+
},
|
|
71
|
+
addYears: (t, e) => {
|
|
72
|
+
const n = r(t);
|
|
73
|
+
return n.setFullYear(n.getFullYear() + e), n;
|
|
74
|
+
},
|
|
75
|
+
eachYearOfInterval: (t) => {
|
|
76
|
+
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), 0, 1, 12, 0, 0, o);
|
|
77
|
+
for (; s.getFullYear() <= n.getFullYear(); )
|
|
78
|
+
a.push(new c(s, o)), s.setFullYear(s.getFullYear() + 1, 0, 1);
|
|
79
|
+
return a;
|
|
80
|
+
},
|
|
81
|
+
getWeek: (t, e) => {
|
|
82
|
+
const n = u(t);
|
|
83
|
+
return w(n, {
|
|
84
|
+
weekStartsOn: e?.weekStartsOn ?? l,
|
|
85
|
+
firstWeekContainsDate: e?.firstWeekContainsDate ?? g?.options?.firstWeekContainsDate ?? 1
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
getISOWeek: (t) => {
|
|
89
|
+
const e = u(t);
|
|
90
|
+
return k(e);
|
|
91
|
+
},
|
|
92
|
+
differenceInCalendarDays: (t, e) => {
|
|
93
|
+
const n = u(t), a = u(e);
|
|
94
|
+
return O(n, a);
|
|
95
|
+
},
|
|
96
|
+
differenceInCalendarMonths: (t, e) => {
|
|
97
|
+
const n = u(t), a = u(e);
|
|
98
|
+
return h(n, a);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
W as createNoonOverrides
|
|
104
|
+
};
|
|
105
|
+
//# sourceMappingURL=index171.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index171.js","sources":["../../../node_modules/react-day-picker/dist/esm/noonDateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { differenceInCalendarDays as differenceInCalendarDaysFn, differenceInCalendarMonths as differenceInCalendarMonthsFn, getISOWeek as getISOWeekFn, getWeek as getWeekFn, } from \"date-fns\";\n/**\n * Creates `dateLib` overrides that keep all calendar math at noon in the target\n * time zone. This avoids second-level offset changes (e.g., historical zones\n * with +03:41:12) from pushing dates backward across midnight.\n */\nexport function createNoonOverrides(timeZone, options = {}) {\n const { weekStartsOn, locale } = options;\n const fallbackWeekStartsOn = (weekStartsOn ??\n locale?.options?.weekStartsOn ??\n 0);\n // Keep all internal math anchored at noon in the target zone to avoid\n // historical second-level offsets from crossing midnight.\n const toNoonTZDate = (date) => {\n const normalizedDate = typeof date === \"number\" || typeof date === \"string\"\n ? new Date(date)\n : date;\n return new TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);\n };\n // Convert a value into a host `Date` that represents the same calendar day\n // as the target-zone noon. This is useful for helpers (e.g., date-fns week\n // utilities) that expect local `Date` instances rather than `TZDate`s.\n const toCalendarDate = (date) => {\n const zoned = toNoonTZDate(date);\n return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);\n };\n return {\n today: () => {\n return toNoonTZDate(TZDate.tz(timeZone));\n },\n newDate: (year, monthIndex, date) => {\n return new TZDate(year, monthIndex, date, 12, 0, 0, timeZone);\n },\n startOfDay: (date) => {\n return toNoonTZDate(date);\n },\n startOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const diff = (base.getDay() - weekStartsOnValue + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (base.getDay() - 1 + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setDate(1);\n return base;\n },\n startOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(0, 1);\n return base;\n },\n endOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const endDow = (weekStartsOnValue + 6) % 7;\n const diff = (endDow - base.getDay() + 7) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (7 - base.getDay()) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + 1, 0);\n return base;\n },\n endOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(11, 31);\n return base;\n },\n eachMonthOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const result = [];\n const cursor = new TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);\n const endKey = end.getFullYear() * 12 + end.getMonth();\n while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {\n result.push(new TZDate(cursor, timeZone));\n cursor.setMonth(cursor.getMonth() + 1, 1);\n }\n return result;\n },\n // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),\n // mutate the same TZDate, and return it.\n addDays: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount);\n return base;\n },\n addWeeks: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount * 7);\n return base;\n },\n addMonths: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + amount);\n return base;\n },\n addYears: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setFullYear(base.getFullYear() + amount);\n return base;\n },\n eachYearOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const years = [];\n const cursor = new TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);\n while (cursor.getFullYear() <= end.getFullYear()) {\n years.push(new TZDate(cursor, timeZone));\n cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);\n }\n return years;\n },\n getWeek: (date, options) => {\n const base = toCalendarDate(date);\n return getWeekFn(base, {\n weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,\n firstWeekContainsDate: options?.firstWeekContainsDate ??\n locale?.options?.firstWeekContainsDate ??\n 1,\n });\n },\n getISOWeek: (date) => {\n const base = toCalendarDate(date);\n return getISOWeekFn(base);\n },\n differenceInCalendarDays: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarDaysFn(left, right);\n },\n differenceInCalendarMonths: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarMonthsFn(left, right);\n },\n };\n}\n"],"names":["createNoonOverrides","timeZone","options","weekStartsOn","locale","fallbackWeekStartsOn","toNoonTZDate","date","normalizedDate","TZDate","toCalendarDate","zoned","year","monthIndex","base","weekStartsOnValue","diff","interval","start","end","result","cursor","endKey","amount","years","getWeekFn","getISOWeekFn","dateLeft","dateRight","left","right","differenceInCalendarDaysFn","differenceInCalendarMonthsFn"],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BAC5BE,GAAQ,SAAS,yBACjB;AAAA,MACpB,CAAa;AAAA,IACL;AAAA,IACA,YAAY,CAACG,MAAS;AAClB,YAAMO,IAAOJ,EAAeH,CAAI;AAChC,aAAOmB,EAAaZ,CAAI;AAAA,IAC5B;AAAA,IACA,0BAA0B,CAACa,GAAUC,MAAc;AAC/C,YAAMC,IAAOnB,EAAeiB,CAAQ,GAC9BG,IAAQpB,EAAekB,CAAS;AACtC,aAAOG,EAA2BF,GAAMC,CAAK;AAAA,IACjD;AAAA,IACA,4BAA4B,CAACH,GAAUC,MAAc;AACjD,YAAMC,IAAOnB,EAAeiB,CAAQ,GAC9BG,IAAQpB,EAAekB,CAAS;AACtC,aAAOI,EAA6BH,GAAMC,CAAK;AAAA,IACnD;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index172.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var o;
|
|
2
|
+
(function(e) {
|
|
3
|
+
e.Root = "root", e.Chevron = "chevron", e.Day = "day", e.DayButton = "day_button", e.CaptionLabel = "caption_label", e.Dropdowns = "dropdowns", e.Dropdown = "dropdown", e.DropdownRoot = "dropdown_root", e.Footer = "footer", e.MonthGrid = "month_grid", e.MonthCaption = "month_caption", e.MonthsDropdown = "months_dropdown", e.Month = "month", e.Months = "months", e.Nav = "nav", e.NextMonthButton = "button_next", e.PreviousMonthButton = "button_previous", e.Week = "week", e.Weeks = "weeks", e.Weekday = "weekday", e.Weekdays = "weekdays", e.WeekNumber = "week_number", e.WeekNumberHeader = "week_number_header", e.YearsDropdown = "years_dropdown";
|
|
4
|
+
})(o || (o = {}));
|
|
5
|
+
var t;
|
|
6
|
+
(function(e) {
|
|
7
|
+
e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
|
|
8
|
+
})(t || (t = {}));
|
|
9
|
+
var r;
|
|
10
|
+
(function(e) {
|
|
11
|
+
e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
|
|
12
|
+
})(r || (r = {}));
|
|
13
|
+
var n;
|
|
14
|
+
(function(e) {
|
|
15
|
+
e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
|
|
16
|
+
})(n || (n = {}));
|
|
17
|
+
export {
|
|
18
|
+
n as Animation,
|
|
19
|
+
t as DayFlag,
|
|
20
|
+
r as SelectionState,
|
|
21
|
+
o as UI
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=index172.js.map
|