@rpcbase/ui 0.226.0 → 0.228.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/PhoneNumberInput/index.d.ts +1 -1
- package/dist/components/PhoneNumberInput/index.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/normalization.d.ts +0 -28
- package/dist/components/PhoneNumberInput/normalization.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/types.d.ts +4 -4
- package/dist/components/PhoneNumberInput/types.d.ts.map +1 -1
- package/dist/index100.js +4 -11
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +8 -68
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +6 -38
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +5 -14
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -23
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +6 -110
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +146 -13
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +39 -4
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +5 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +8 -5
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +13 -11
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +13 -19
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +8 -13
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +31 -261
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +11 -28
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +8 -126
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +13 -5
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +101 -78
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +20 -67
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +53 -8
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +73 -16
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +9 -92
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +17 -62
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +15 -44
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +24 -52
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -4
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +5 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +23 -15
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +35 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +16 -8
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -16
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -5
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +3 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +6 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +24 -7
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +7 -24
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +6 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +5 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -6
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -5
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -5
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +4 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -8
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -5
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -4
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +5 -4
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +68 -6
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +2 -146
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +362 -38
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +261 -4
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +60 -7
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +46 -13
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +169 -13
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +109 -7
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -31
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -11
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -10
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +5 -8
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -13
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +465 -100
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +186 -20
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +107 -53
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +261 -71
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -9
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +42 -20
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +4 -16
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +11 -23
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +68 -6
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +38 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +14 -24
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +21 -32
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +111 -16
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -7
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -5
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +377 -414
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +5 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +11 -4
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +19 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +13 -7
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +262 -24
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +4 -7
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +28 -7
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +126 -5
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -3
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +78 -3
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +66 -4
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +8 -3
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +16 -5
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +92 -3
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +65 -3
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +45 -3
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +16 -13
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -153
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -29
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +58 -9
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +61 -43
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -11
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -44
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -95
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -86
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -105
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -52
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -11
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -37
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -8
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +13 -116
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -17
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -15
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -3
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -36
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +53 -19
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -9
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -8
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -19
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -28
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -16
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -66
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -8
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -11
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -8
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -13
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -3
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -3
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -99
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -29
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -51
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -17
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -122
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +8 -27
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +19 -32
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +15 -72
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +7 -262
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -27
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -6
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +19 -140
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +10 -61
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +9 -49
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +10 -15
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +4 -133
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +5 -8
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +17 -5
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +10 -4
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +18 -11
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +13 -19
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +13 -20
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +29 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +11 -49
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +24 -15
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +5 -21
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +20 -52
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +65 -24
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +6 -41
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -39
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +50 -44
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +4 -21
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +26 -67
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +15 -16
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -11
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +20 -12
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +51 -18
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +24 -35
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +35 -272
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +36 -65
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +45 -84
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +20 -3
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +66 -25
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +17 -16
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +12 -35
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +27 -16
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +13 -3
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +15 -23
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +37 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +258 -74
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +269 -260
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +68 -11
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +100 -11
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +82 -24
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +3 -16
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +26 -122
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +16 -5
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +34 -40
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +15 -64
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +4 -14
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +26 -7
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +28 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +78 -10
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +269 -7
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +11 -399
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -52
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +25 -11
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +16 -11
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +124 -57
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +5 -8
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +38 -64
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +63 -17
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +13 -16
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +7 -5
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -6
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +10 -4
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +7 -6
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +132 -15
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +24 -24
- package/dist/index310.js +399 -4
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +52 -4
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -12
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +11 -9
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +13 -13
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +154 -13
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +30 -4
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +9 -5
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +48 -6
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +11 -5
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index320.js +43 -53
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +95 -8
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +86 -4
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +105 -4
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +52 -8
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +11 -4
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +37 -4
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -3
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +116 -10
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +17 -9
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +15 -9
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -10
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +36 -10
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +20 -9
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -6
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +8 -5
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +8 -4
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +11 -5
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +8 -6
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +13 -5
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +3 -16
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +3 -7
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +18 -9
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +27 -9
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +15 -20
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +17 -10
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +51 -9
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +5 -9
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +122 -4
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +32 -5
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +73 -16
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +142 -9
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +61 -18
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +47 -13
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +15 -13
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +7 -28
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -13
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +11 -25
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +21 -5
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +4 -20
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +18 -9
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +13 -26
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -27
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +10 -136
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +16 -12
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +5 -226
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +20 -3
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +45 -20
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +17 -77
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +4 -11
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +200 -3
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +5 -5
- package/dist/index372.js +19 -199
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +6 -69
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +26 -9
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +26 -16
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +136 -14
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +13 -4
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +225 -10
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +3 -5
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +19 -20
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +77 -44
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +11 -17
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +4 -5
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +71 -4
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +9 -18
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +15 -12
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +4 -14
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +4 -491
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +4 -3
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +16 -3
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +8 -4
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +5 -4
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +5 -4
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +545 -15
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +47 -9
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +17 -5
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -4
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +7 -545
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +7 -47
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +7 -17
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +11 -5
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +8 -7
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +12 -6
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +3 -8
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +3 -12
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +14 -8
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +491 -12
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +4 -7
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +56 -2
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +67 -43
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +31 -56
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +9 -8
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +153 -2
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +107 -54
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +7 -55
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +2 -5
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +42 -54
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +56 -68
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +8 -31
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +2 -9
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +54 -152
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +56 -108
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +16 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +29 -2
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +13 -2
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +7 -2
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +2 -16
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +2 -29
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +2 -13
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +2 -7
- package/dist/index430.js.map +1 -1
- package/dist/index44.js +23 -22
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +22 -196
- package/dist/index45.js.map +1 -1
- package/dist/index48.js +2 -2
- package/dist/index49.js +34 -34
- package/dist/index50.js +29 -29
- package/dist/index51.js +2 -2
- package/dist/index52.js +12 -12
- package/dist/index53.js +4 -4
- package/dist/index54.js +1 -1
- package/dist/index55.js +22 -22
- package/dist/index56.js +5 -5
- package/dist/index57.js +5 -5
- package/dist/index58.js +8 -8
- package/dist/index59.js +5 -5
- package/dist/index60.js +17 -17
- package/dist/index61.js +5 -5
- package/dist/index62.js +3 -3
- package/dist/index66.js +1 -1
- package/dist/index67.js +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.js +2 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -8
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -6
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -2
- package/dist/index76.js +6 -2
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +8 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +6 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +52 -6
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +4 -68
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +15 -363
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +5 -261
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +7 -60
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +16 -46
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +4 -169
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +4 -109
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -24
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +6 -8
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +4 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -5
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +24 -466
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -185
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -107
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +6 -262
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -42
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +5 -4
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index113.js
CHANGED
|
@@ -1,265 +1,35 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const D = _e(B(t));
|
|
32
|
-
return t instanceof D.KeyboardEvent ? "keyboard" : t instanceof D.FocusEvent ? h || "keyboard" : "pointerType" in t ? t.pointerType || "keyboard" : "touches" in t ? "touch" : t instanceof D.MouseEvent ? h || (t.detail === 0 ? "keyboard" : "mouse") : "";
|
|
33
|
-
}
|
|
34
|
-
const we = 20;
|
|
35
|
-
let N = [];
|
|
36
|
-
function ie() {
|
|
37
|
-
N = N.filter((t) => t.deref()?.isConnected);
|
|
38
|
-
}
|
|
39
|
-
function ft(t) {
|
|
40
|
-
ie(), t && We(t) !== "body" && (N.push(new WeakRef(t)), N.length > we && (N = N.slice(-we)));
|
|
41
|
-
}
|
|
42
|
-
function se() {
|
|
43
|
-
return ie(), N[N.length - 1]?.deref();
|
|
44
|
-
}
|
|
45
|
-
function at(t) {
|
|
46
|
-
return t ? ue(t) ? t : Se(t)[0] || t : null;
|
|
47
|
-
}
|
|
48
|
-
function Ne(t, h) {
|
|
49
|
-
if (t.hasAttribute("tabindex") && !t.hasAttribute("data-tabindex") || !h.current.includes("floating") && !t.getAttribute("role")?.includes("dialog"))
|
|
50
|
-
return;
|
|
51
|
-
const c = Ze(t).filter((L) => {
|
|
52
|
-
const j = L.getAttribute("data-tabindex") || "";
|
|
53
|
-
return ue(L) || L.hasAttribute("data-tabindex") && !j.startsWith("-");
|
|
54
|
-
}), q = t.getAttribute("tabindex");
|
|
55
|
-
h.current.includes("floating") || c.length === 0 ? q !== "0" && t.setAttribute("tabindex", "0") : (q !== "-1" || t.hasAttribute("data-tabindex") && t.getAttribute("data-tabindex") !== "-1") && (t.setAttribute("tabindex", "-1"), t.setAttribute("data-tabindex", "-1"));
|
|
56
|
-
}
|
|
57
|
-
function Lt(t) {
|
|
58
|
-
const {
|
|
59
|
-
context: h,
|
|
60
|
-
children: D,
|
|
61
|
-
disabled: c = !1,
|
|
62
|
-
initialFocus: q = !0,
|
|
63
|
-
returnFocus: L = !0,
|
|
64
|
-
restoreFocus: j = !1,
|
|
65
|
-
modal: E = !0,
|
|
66
|
-
closeOnFocusOut: K = !0,
|
|
67
|
-
openInteractionType: De = "",
|
|
68
|
-
nextFocusableElement: H,
|
|
69
|
-
previousFocusableElement: W,
|
|
70
|
-
beforeContentFocusGuardRef: Pe,
|
|
71
|
-
externalTree: Me,
|
|
72
|
-
getInsideElements: Ge
|
|
73
|
-
} = t, v = "rootStore" in h ? h.rootStore : h, T = v.useState("open"), f = v.useState("domReferenceElement"), i = v.useState("floatingElement"), {
|
|
74
|
-
events: z,
|
|
75
|
-
dataRef: S
|
|
76
|
-
} = v.context, P = ne(() => S.current.floatingContext?.nodeId), ce = q === !1, C = Ie(f) && ce, M = p.useRef(["content"]), fe = te(q), J = te(L), ae = te(De), F = rt(Me), u = nt(), y = p.useRef(!1), U = p.useRef(!1), Q = p.useRef(!1), le = p.useRef(null), de = p.useRef(""), X = p.useRef(""), Y = p.useRef(null), Z = p.useRef(null), Ve = Fe(Y, Pe, u?.beforeInsideRef), qe = Fe(Z, u?.afterInsideRef), me = ye(), be = ye(), pe = $e(), Le = u != null, o = he(i), k = ne((n = o) => n ? Se(n) : []), A = ne(() => Ge?.().filter((n) => n != null) ?? []);
|
|
77
|
-
p.useEffect(() => {
|
|
78
|
-
if (c || !E)
|
|
79
|
-
return;
|
|
80
|
-
function n(m) {
|
|
81
|
-
m.key === "Tab" && a(o, V(O(o))) && k().length === 0 && !C && Qe(m);
|
|
82
|
-
}
|
|
83
|
-
const d = O(o);
|
|
84
|
-
return I(d, "keydown", n);
|
|
85
|
-
}, [c, f, o, E, M, C, k]), p.useEffect(() => {
|
|
86
|
-
if (c || !T)
|
|
87
|
-
return;
|
|
88
|
-
const n = O(o);
|
|
89
|
-
function d() {
|
|
90
|
-
Q.current = !1;
|
|
91
|
-
}
|
|
92
|
-
function m(s) {
|
|
93
|
-
const r = B(s), l = A(), e = a(i, r) || a(f, r) || a(u?.portalNode, r) || l.some((g) => g === r || a(g, r));
|
|
94
|
-
Q.current = !e, X.current = s.pointerType || "keyboard", r?.closest(`[${ot}]`) && (U.current = !0);
|
|
95
|
-
}
|
|
96
|
-
function R() {
|
|
97
|
-
X.current = "keyboard";
|
|
98
|
-
}
|
|
99
|
-
return Te(I(n, "pointerdown", m, !0), I(n, "pointerup", d, !0), I(n, "pointercancel", d, !0), I(n, "keydown", R, !0));
|
|
100
|
-
}, [c, i, f, o, T, u, A]), p.useEffect(() => {
|
|
101
|
-
if (c || !K)
|
|
102
|
-
return;
|
|
103
|
-
const n = O(o);
|
|
104
|
-
function d() {
|
|
105
|
-
U.current = !0, be.start(0, () => {
|
|
106
|
-
U.current = !1;
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
function m(l) {
|
|
110
|
-
const e = B(l);
|
|
111
|
-
ue(e) && (le.current = e);
|
|
112
|
-
}
|
|
113
|
-
function R(l) {
|
|
114
|
-
const e = l.relatedTarget, g = l.currentTarget, x = B(l);
|
|
115
|
-
queueMicrotask(() => {
|
|
116
|
-
const $ = P(), ge = v.context.triggerElements, je = A(), Ke = e?.hasAttribute(Ae("focus-guard")) && [Y.current, Z.current, u?.beforeInsideRef.current, u?.afterInsideRef.current, u?.beforeOutsideRef.current, u?.afterOutsideRef.current, w(W), w(H)].includes(e), He = !(a(f, e) || a(i, e) || a(e, i) || a(u?.portalNode, e) || je.some((b) => b === e || a(b, e)) || e != null && ge.hasElement(e) || ge.hasMatchingElement((b) => a(b, e)) || Ke || F && (ke(F.nodesRef.current, $).find((b) => a(b.context?.elements.floating, e) || a(b.context?.elements.domReference, e)) || Ce(F.nodesRef.current, $).find((b) => [b.context?.elements.floating, he(b.context?.elements.floating)].includes(e) || b.context?.elements.domReference === e)));
|
|
117
|
-
if (g === f && o && Ne(o, M), j && g !== f && !et(x) && V(n) === n.body) {
|
|
118
|
-
if (G(o) && (o.focus(), j === "popup")) {
|
|
119
|
-
pe.request(() => {
|
|
120
|
-
o.focus();
|
|
121
|
-
});
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
const b = k(), ee = le.current, Ee = (ee && b.includes(ee) ? ee : null) || b[b.length - 1] || o;
|
|
125
|
-
G(Ee) && Ee.focus();
|
|
126
|
-
}
|
|
127
|
-
if (S.current.insideReactTree) {
|
|
128
|
-
S.current.insideReactTree = !1;
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
(C || !E) && e && He && !U.current && // Fix React 18 Strict Mode returnFocus due to double rendering.
|
|
132
|
-
// For an "untrapped" typeable combobox (input role=combobox with
|
|
133
|
-
// initialFocus=false), re-opening the popup and tabbing out should still close it even
|
|
134
|
-
// when the previously focused element (e.g. the next tabbable outside the popup) is
|
|
135
|
-
// focused again. Otherwise, the popup remains open on the second Tab sequence:
|
|
136
|
-
// click input -> Tab (closes) -> click input -> Tab.
|
|
137
|
-
// Allow closing when `isUntrappedTypeableCombobox` regardless of the previously focused element.
|
|
138
|
-
(C || e !== se()) && (y.current = !0, v.setOpen(!1, tt(it, l)));
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
function s() {
|
|
142
|
-
Q.current || (S.current.insideReactTree = !0, me.start(0, () => {
|
|
143
|
-
S.current.insideReactTree = !1;
|
|
144
|
-
}));
|
|
145
|
-
}
|
|
146
|
-
const r = G(f) ? f : null;
|
|
147
|
-
if (!(!i && !r))
|
|
148
|
-
return Te(r && I(r, "focusout", R), r && I(r, "pointerdown", d), i && I(i, "focusin", m), i && I(i, "focusout", R), i && u && I(i, "focusout", s, !0));
|
|
149
|
-
}, [c, f, i, o, E, F, u, v, K, j, k, C, P, M, S, me, be, pe, H, W, A]), p.useEffect(() => {
|
|
150
|
-
if (c || !i || !T)
|
|
151
|
-
return;
|
|
152
|
-
const n = Array.from(u?.portalNode?.querySelectorAll(`[${Ae("portal")}]`) || []), m = (F ? Ce(F.nodesRef.current, P()) : []).find((g) => Ie(g.context?.elements.domReference || null))?.context?.elements.domReference, s = [...[i, ...n, Y.current, Z.current, u?.beforeOutsideRef.current, u?.afterOutsideRef.current, ...A()], m, w(W), w(H), C ? f : null].filter((g) => g != null), r = Oe(s, {
|
|
153
|
-
ariaHidden: E || C,
|
|
154
|
-
mark: !1
|
|
155
|
-
}), l = [i, ...n].filter((g) => g != null), e = Oe(l);
|
|
156
|
-
return () => {
|
|
157
|
-
e(), r();
|
|
158
|
-
};
|
|
159
|
-
}, [T, c, f, i, E, M, u, C, F, P, H, W, A]), _(() => {
|
|
160
|
-
if (!T || c || !G(o))
|
|
161
|
-
return;
|
|
162
|
-
const n = O(o), d = V(n);
|
|
163
|
-
queueMicrotask(() => {
|
|
164
|
-
const m = fe.current, R = typeof m == "function" ? m(ae.current || "") : m;
|
|
165
|
-
if (R === void 0 || R === !1 || a(o, d))
|
|
166
|
-
return;
|
|
167
|
-
let r = null;
|
|
168
|
-
const l = () => (r == null && (r = k(o)), r[0] || o);
|
|
169
|
-
let e;
|
|
170
|
-
R === !0 || R === null ? e = l() : e = w(R), e = e || l(), re(e, {
|
|
171
|
-
preventScroll: e === o
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
}, [c, T, o, ce, k, fe, ae]), _(() => {
|
|
175
|
-
if (c || !o)
|
|
176
|
-
return;
|
|
177
|
-
const n = O(o), d = V(n);
|
|
178
|
-
ft(d);
|
|
179
|
-
function m(s) {
|
|
180
|
-
if (s.open || (de.current = ct(s.nativeEvent, X.current)), s.reason === st && s.nativeEvent.type === "mouseleave" && (y.current = !0), s.reason === ut)
|
|
181
|
-
if (s.nested)
|
|
182
|
-
y.current = !1;
|
|
183
|
-
else if (ze(s.nativeEvent) || Je(s.nativeEvent))
|
|
184
|
-
y.current = !1;
|
|
185
|
-
else {
|
|
186
|
-
let r = !1;
|
|
187
|
-
O(o).createElement("div").focus({
|
|
188
|
-
get preventScroll() {
|
|
189
|
-
return r = !0, !1;
|
|
190
|
-
}
|
|
191
|
-
}), r ? y.current = !1 : y.current = !0;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
z.on("openchange", m);
|
|
195
|
-
function R() {
|
|
196
|
-
const s = J.current;
|
|
197
|
-
let r = typeof s == "function" ? s(de.current) : s;
|
|
198
|
-
if (r === void 0 || r === !1)
|
|
199
|
-
return null;
|
|
200
|
-
if (r === null && (r = !0), typeof r == "boolean") {
|
|
201
|
-
const e = f || se();
|
|
202
|
-
return e && e.isConnected ? e : null;
|
|
203
|
-
}
|
|
204
|
-
const l = f || se();
|
|
205
|
-
return w(r) || l || null;
|
|
206
|
-
}
|
|
207
|
-
return () => {
|
|
208
|
-
z.off("openchange", m);
|
|
209
|
-
const s = V(n), r = A(), l = a(i, s) || r.some((x) => x === s || a(x, s)) || F && ke(F.nodesRef.current, P(), !1).some((x) => a(x.context?.elements.floating, s)), e = J.current, g = R();
|
|
210
|
-
queueMicrotask(() => {
|
|
211
|
-
const x = at(g), $ = typeof e != "boolean";
|
|
212
|
-
e && !y.current && G(x) && // If the focus moved somewhere else after mount, avoid returning focus
|
|
213
|
-
// since it likely entered a different element which should be
|
|
214
|
-
// respected: https://github.com/floating-ui/floating-ui/issues/2607
|
|
215
|
-
(!(!$ && x !== s && s !== n.body) || l) && x.focus({
|
|
216
|
-
preventScroll: !0
|
|
217
|
-
}), y.current = !1;
|
|
218
|
-
});
|
|
219
|
-
};
|
|
220
|
-
}, [c, i, o, J, S, z, F, f, P, A]), _(() => {
|
|
221
|
-
if (!Ue || T || !i)
|
|
222
|
-
return;
|
|
223
|
-
const n = V(O(i));
|
|
224
|
-
!G(n) || !Be(n) || a(i, n) && n.blur();
|
|
225
|
-
}, [T, i]), _(() => {
|
|
226
|
-
if (!(c || !u))
|
|
227
|
-
return u.setFocusManagerState({
|
|
228
|
-
modal: E,
|
|
229
|
-
closeOnFocusOut: K,
|
|
230
|
-
open: T,
|
|
231
|
-
onOpenChange: v.setOpen,
|
|
232
|
-
domReference: f
|
|
233
|
-
}), () => {
|
|
234
|
-
u.setFocusManagerState(null);
|
|
235
|
-
};
|
|
236
|
-
}, [c, u, E, T, v, K, f]), _(() => {
|
|
237
|
-
if (!(c || !o))
|
|
238
|
-
return Ne(o, M), () => {
|
|
239
|
-
queueMicrotask(ie);
|
|
240
|
-
};
|
|
241
|
-
}, [c, o, M]);
|
|
242
|
-
const Re = !c && (E ? !C : !0) && (Le || E);
|
|
243
|
-
return /* @__PURE__ */ oe.jsxs(p.Fragment, {
|
|
244
|
-
children: [Re && /* @__PURE__ */ oe.jsx(xe, {
|
|
245
|
-
"data-type": "inside",
|
|
246
|
-
ref: Ve,
|
|
247
|
-
onFocus: (n) => {
|
|
248
|
-
if (E) {
|
|
249
|
-
const d = k();
|
|
250
|
-
re(d[d.length - 1]);
|
|
251
|
-
} else u?.portalNode && (y.current = !1, ve(n, u.portalNode) ? Xe(f)?.focus() : w(W ?? u.beforeOutsideRef)?.focus());
|
|
252
|
-
}
|
|
253
|
-
}), D, Re && /* @__PURE__ */ oe.jsx(xe, {
|
|
254
|
-
"data-type": "inside",
|
|
255
|
-
ref: qe,
|
|
256
|
-
onFocus: (n) => {
|
|
257
|
-
E ? re(k()[0]) : u?.portalNode && (K && (y.current = !0), ve(n, u.portalNode) ? Ye(f)?.focus() : w(H ?? u.afterOutsideRef)?.focus());
|
|
258
|
-
}
|
|
259
|
-
})]
|
|
260
|
-
});
|
|
1
|
+
import * as o from "./index138.js";
|
|
2
|
+
import { labelWeekday as b } from "./index146.js";
|
|
3
|
+
import { labelWeekNumberHeader as i } from "./index148.js";
|
|
4
|
+
import { labelNav as n } from "./index143.js";
|
|
5
|
+
import { labelGridcell as t } from "./index141.js";
|
|
6
|
+
import { labelGrid as d } from "./index140.js";
|
|
7
|
+
import { labelYearDropdown as p } from "./index149.js";
|
|
8
|
+
import { labelWeekNumber as m } from "./index147.js";
|
|
9
|
+
import { labelPrevious as f } from "./index145.js";
|
|
10
|
+
import { labelNext as N } from "./index144.js";
|
|
11
|
+
import { labelMonthDropdown as k } from "./index142.js";
|
|
12
|
+
import { labelDayButton as D } from "./index139.js";
|
|
13
|
+
const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
|
|
14
|
+
function Y(l, a) {
|
|
15
|
+
const e = a.locale?.labels ?? {};
|
|
16
|
+
return {
|
|
17
|
+
...o,
|
|
18
|
+
...l ?? {},
|
|
19
|
+
labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
|
|
20
|
+
labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
|
|
21
|
+
labelNext: r(N, l?.labelNext, e.labelNext),
|
|
22
|
+
labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
|
|
23
|
+
labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
|
|
24
|
+
labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
|
|
25
|
+
labelGrid: r(d, l?.labelGrid, e.labelGrid),
|
|
26
|
+
labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
|
|
27
|
+
labelNav: r(n, l?.labelNav, e.labelNav),
|
|
28
|
+
labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
|
|
29
|
+
labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
|
|
30
|
+
};
|
|
261
31
|
}
|
|
262
32
|
export {
|
|
263
|
-
|
|
33
|
+
Y as getLabels
|
|
264
34
|
};
|
|
265
35
|
//# sourceMappingURL=index113.js.map
|
package/dist/index113.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index113.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getNodeName, isHTMLElement } from '@floating-ui/utils/dom';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { mergeCleanups } from '@base-ui/utils/mergeCleanups';\nimport { useMergedRefs } from '@base-ui/utils/useMergedRefs';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useTimeout } from '@base-ui/utils/useTimeout';\nimport { isWebKit } from '@base-ui/utils/detectBrowser';\nimport { useAnimationFrame } from '@base-ui/utils/useAnimationFrame';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { activeElement, contains, getTarget, isTypeableCombobox, getFloatingFocusElement, isTypeableElement } from \"../utils/element.js\";\nimport { isVirtualClick, isVirtualPointerEvent, stopEvent } from \"../utils/event.js\";\nimport { tabbable, focusable, isOutsideEvent, isTabbable, getNextTabbable, getPreviousTabbable } from \"../utils/tabbable.js\";\nimport { getNodeAncestors, getNodeChildren } from \"../utils/nodes.js\";\nimport { isElementVisible } from \"../utils/composite.js\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.js\";\nimport { REASONS } from \"../../internals/reasons.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { enqueueFocus } from \"../utils/enqueueFocus.js\";\nimport { markOthers } from \"../utils/markOthers.js\";\nimport { usePortalContext } from \"./FloatingPortal.js\";\nimport { useFloatingTree } from \"./FloatingTree.js\";\nimport { CLICK_TRIGGER_IDENTIFIER } from \"../../internals/constants.js\";\nimport { resolveRef } from \"../../utils/resolveRef.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getEventType(event, lastInteractionType) {\n const win = ownerWindow(getTarget(event));\n if (event instanceof win.KeyboardEvent) {\n return 'keyboard';\n }\n if (event instanceof win.FocusEvent) {\n // Focus events can be caused by a preceding pointer interaction (e.g., focusout on outside press).\n // Prefer the last known pointer type if provided, else treat as keyboard.\n return lastInteractionType || 'keyboard';\n }\n if ('pointerType' in event) {\n return event.pointerType || 'keyboard';\n }\n if ('touches' in event) {\n return 'touch';\n }\n if (event instanceof win.MouseEvent) {\n // onClick events may not contain pointer events, and will fall through to here\n return lastInteractionType || (event.detail === 0 ? 'keyboard' : 'mouse');\n }\n return '';\n}\nconst LIST_LIMIT = 20;\nlet previouslyFocusedElements = [];\nfunction clearDisconnectedPreviouslyFocusedElements() {\n previouslyFocusedElements = previouslyFocusedElements.filter(entry => {\n return entry.deref()?.isConnected;\n });\n}\nfunction addPreviouslyFocusedElement(element) {\n clearDisconnectedPreviouslyFocusedElements();\n if (element && getNodeName(element) !== 'body') {\n previouslyFocusedElements.push(new WeakRef(element));\n if (previouslyFocusedElements.length > LIST_LIMIT) {\n previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);\n }\n }\n}\nfunction getPreviouslyFocusedElement() {\n clearDisconnectedPreviouslyFocusedElements();\n return previouslyFocusedElements[previouslyFocusedElements.length - 1]?.deref();\n}\nfunction getFirstTabbableElement(container) {\n if (!container) {\n return null;\n }\n if (isTabbable(container)) {\n return container;\n }\n return tabbable(container)[0] || container;\n}\nfunction handleTabIndex(floatingFocusElement, orderRef) {\n if (floatingFocusElement.hasAttribute('tabindex') && !floatingFocusElement.hasAttribute('data-tabindex')) {\n return;\n }\n if (!orderRef.current.includes('floating') && !floatingFocusElement.getAttribute('role')?.includes('dialog')) {\n return;\n }\n const focusableElements = focusable(floatingFocusElement);\n const tabbableContent = focusableElements.filter(element => {\n const dataTabIndex = element.getAttribute('data-tabindex') || '';\n return isTabbable(element) || element.hasAttribute('data-tabindex') && !dataTabIndex.startsWith('-');\n });\n const tabIndex = floatingFocusElement.getAttribute('tabindex');\n if (orderRef.current.includes('floating') || tabbableContent.length === 0) {\n if (tabIndex !== '0') {\n floatingFocusElement.setAttribute('tabindex', '0');\n }\n } else if (tabIndex !== '-1' || floatingFocusElement.hasAttribute('data-tabindex') && floatingFocusElement.getAttribute('data-tabindex') !== '-1') {\n floatingFocusElement.setAttribute('tabindex', '-1');\n floatingFocusElement.setAttribute('data-tabindex', '-1');\n }\n}\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n * @internal\n */\nexport function FloatingFocusManager(props) {\n const {\n context,\n children,\n disabled = false,\n initialFocus = true,\n returnFocus = true,\n restoreFocus = false,\n modal = true,\n closeOnFocusOut = true,\n openInteractionType = '',\n nextFocusableElement,\n previousFocusableElement,\n beforeContentFocusGuardRef,\n externalTree,\n getInsideElements\n } = props;\n const store = 'rootStore' in context ? context.rootStore : context;\n const open = store.useState('open');\n const domReference = store.useState('domReferenceElement');\n const floating = store.useState('floatingElement');\n const {\n events,\n dataRef\n } = store.context;\n const getNodeId = useStableCallback(() => dataRef.current.floatingContext?.nodeId);\n const ignoreInitialFocus = initialFocus === false;\n // If the reference is a combobox and is typeable (e.g. input/textarea),\n // there are different focus semantics. The guards should not be rendered, but\n // aria-hidden should be applied to all nodes still. Further, the visually\n // hidden dismiss button should only appear at the end of the list, not the\n // start.\n const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;\n const orderRef = React.useRef(['content']);\n const initialFocusRef = useValueAsRef(initialFocus);\n const returnFocusRef = useValueAsRef(returnFocus);\n const openInteractionTypeRef = useValueAsRef(openInteractionType);\n const tree = useFloatingTree(externalTree);\n const portalContext = usePortalContext();\n const preventReturnFocusRef = React.useRef(false);\n const isPointerDownRef = React.useRef(false);\n const pointerDownOutsideRef = React.useRef(false);\n const lastFocusedTabbableRef = React.useRef(null);\n const closeTypeRef = React.useRef('');\n const lastInteractionTypeRef = React.useRef('');\n const beforeGuardRef = React.useRef(null);\n const afterGuardRef = React.useRef(null);\n const mergedBeforeGuardRef = useMergedRefs(beforeGuardRef, beforeContentFocusGuardRef, portalContext?.beforeInsideRef);\n const mergedAfterGuardRef = useMergedRefs(afterGuardRef, portalContext?.afterInsideRef);\n const blurTimeout = useTimeout();\n const pointerDownTimeout = useTimeout();\n const restoreFocusFrame = useAnimationFrame();\n const isInsidePortal = portalContext != null;\n const floatingFocusElement = getFloatingFocusElement(floating);\n const getTabbableContent = useStableCallback((container = floatingFocusElement) => {\n return container ? tabbable(container) : [];\n });\n const getResolvedInsideElements = useStableCallback(() => getInsideElements?.().filter(element => element != null) ?? []);\n\n // Prevent Tab from escaping the modal when there are no tabbable elements.\n React.useEffect(() => {\n if (disabled || !modal) {\n return undefined;\n }\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n // The focus guards have nothing to focus, so we need to stop the event.\n if (contains(floatingFocusElement, activeElement(ownerDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {\n stopEvent(event);\n }\n }\n }\n const doc = ownerDocument(floatingFocusElement);\n return addEventListener(doc, 'keydown', onKeyDown);\n }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent]);\n\n // Track pointer/keyboard interactions to disambiguate focus and outside presses.\n React.useEffect(() => {\n if (disabled || !open) {\n return undefined;\n }\n const doc = ownerDocument(floatingFocusElement);\n function clearPointerDownOutside() {\n pointerDownOutsideRef.current = false;\n }\n function onPointerDown(event) {\n const target = getTarget(event);\n const insideElements = getResolvedInsideElements();\n const pointerTargetInside = contains(floating, target) || contains(domReference, target) || contains(portalContext?.portalNode, target) || insideElements.some(element => element === target || contains(element, target));\n pointerDownOutsideRef.current = !pointerTargetInside;\n lastInteractionTypeRef.current = event.pointerType || 'keyboard';\n if (target?.closest(`[${CLICK_TRIGGER_IDENTIFIER}]`)) {\n isPointerDownRef.current = true;\n }\n }\n function onKeyDown() {\n lastInteractionTypeRef.current = 'keyboard';\n }\n return mergeCleanups(addEventListener(doc, 'pointerdown', onPointerDown, true), addEventListener(doc, 'pointerup', clearPointerDownOutside, true), addEventListener(doc, 'pointercancel', clearPointerDownOutside, true), addEventListener(doc, 'keydown', onKeyDown, true));\n }, [disabled, floating, domReference, floatingFocusElement, open, portalContext, getResolvedInsideElements]);\n\n // Close on focus out and restore focus within the floating tree when needed.\n React.useEffect(() => {\n if (disabled || !closeOnFocusOut) {\n return undefined;\n }\n const doc = ownerDocument(floatingFocusElement);\n\n // In Safari, buttons lose focus when pressing them.\n function handlePointerDown() {\n isPointerDownRef.current = true;\n pointerDownTimeout.start(0, () => {\n isPointerDownRef.current = false;\n });\n }\n function handleFocusIn(event) {\n const target = getTarget(event);\n if (isTabbable(target)) {\n lastFocusedTabbableRef.current = target;\n }\n }\n function handleFocusOutside(event) {\n const relatedTarget = event.relatedTarget;\n const currentTarget = event.currentTarget;\n const target = getTarget(event);\n queueMicrotask(() => {\n const nodeId = getNodeId();\n const triggers = store.context.triggerElements;\n const insideElements = getResolvedInsideElements();\n const isRelatedFocusGuard = relatedTarget?.hasAttribute(createAttribute('focus-guard')) && [beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeInsideRef.current, portalContext?.afterInsideRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, resolveRef(previousFocusableElement), resolveRef(nextFocusableElement)].includes(relatedTarget);\n const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext?.portalNode, relatedTarget) || insideElements.some(element => element === relatedTarget || contains(element, relatedTarget)) || relatedTarget != null && triggers.hasElement(relatedTarget) || triggers.hasMatchingElement(trigger => contains(trigger, relatedTarget)) || isRelatedFocusGuard || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find(node => contains(node.context?.elements.floating, relatedTarget) || contains(node.context?.elements.domReference, relatedTarget)) || getNodeAncestors(tree.nodesRef.current, nodeId).find(node => [node.context?.elements.floating, getFloatingFocusElement(node.context?.elements.floating)].includes(relatedTarget) || node.context?.elements.domReference === relatedTarget)));\n if (currentTarget === domReference && floatingFocusElement) {\n handleTabIndex(floatingFocusElement, orderRef);\n }\n\n // Restore focus to the previous tabbable element index to prevent\n // focus from being lost outside the floating tree.\n if (restoreFocus && currentTarget !== domReference && !isElementVisible(target) && activeElement(doc) === doc.body) {\n // Let `FloatingPortal` effect knows that focus is still inside the\n // floating tree.\n if (isHTMLElement(floatingFocusElement)) {\n floatingFocusElement.focus();\n // If explicitly requested to restore focus to the popup container, do not search\n // for the next/previous tabbable element.\n if (restoreFocus === 'popup') {\n // If the element is removed on pointerdown, focus tries to move it,\n // but since it's removed at the same time, focus gets lost as it\n // happens after the .focus() call above.\n // In this case, focus needs to be moved asynchronously.\n restoreFocusFrame.request(() => {\n floatingFocusElement.focus();\n });\n return;\n }\n }\n const tabbableContent = getTabbableContent();\n const prevTabbable = lastFocusedTabbableRef.current;\n const nodeToFocus = (prevTabbable && tabbableContent.includes(prevTabbable) ? prevTabbable : null) || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;\n if (isHTMLElement(nodeToFocus)) {\n nodeToFocus.focus();\n }\n }\n\n // https://github.com/floating-ui/floating-ui/issues/3060\n if (dataRef.current.insideReactTree) {\n dataRef.current.insideReactTree = false;\n return;\n }\n\n // Focus did not move inside the floating tree, and there are no tabbable\n // portal guards to handle closing.\n if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current && (\n // Fix React 18 Strict Mode returnFocus due to double rendering.\n // For an \"untrapped\" typeable combobox (input role=combobox with\n // initialFocus=false), re-opening the popup and tabbing out should still close it even\n // when the previously focused element (e.g. the next tabbable outside the popup) is\n // focused again. Otherwise, the popup remains open on the second Tab sequence:\n // click input -> Tab (closes) -> click input -> Tab.\n // Allow closing when `isUntrappedTypeableCombobox` regardless of the previously focused element.\n isUntrappedTypeableCombobox || relatedTarget !== getPreviouslyFocusedElement())) {\n preventReturnFocusRef.current = true;\n store.setOpen(false, createChangeEventDetails(REASONS.focusOut, event));\n }\n });\n }\n function markInsideReactTree() {\n if (pointerDownOutsideRef.current) {\n return;\n }\n dataRef.current.insideReactTree = true;\n blurTimeout.start(0, () => {\n dataRef.current.insideReactTree = false;\n });\n }\n const domReferenceElement = isHTMLElement(domReference) ? domReference : null;\n if (!floating && !domReferenceElement) {\n return undefined;\n }\n return mergeCleanups(domReferenceElement && addEventListener(domReferenceElement, 'focusout', handleFocusOutside), domReferenceElement && addEventListener(domReferenceElement, 'pointerdown', handlePointerDown), floating && addEventListener(floating, 'focusin', handleFocusIn), floating && addEventListener(floating, 'focusout', handleFocusOutside), floating && portalContext && addEventListener(floating, 'focusout', markInsideReactTree, true));\n }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, store, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef, dataRef, blurTimeout, pointerDownTimeout, restoreFocusFrame, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);\n\n // Hide everything outside the floating tree from assistive tech while open.\n React.useEffect(() => {\n if (disabled || !floating || !open) {\n return undefined;\n }\n\n // Don't hide portals nested within the parent portal.\n const portalNodes = Array.from(portalContext?.portalNode?.querySelectorAll(`[${createAttribute('portal')}]`) || []);\n const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];\n const rootAncestorComboboxDomReference = ancestors.find(node => isTypeableCombobox(node.context?.elements.domReference || null))?.context?.elements.domReference;\n const controlInsideElements = [floating, ...portalNodes, beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, ...getResolvedInsideElements()];\n const insideElements = [...controlInsideElements, rootAncestorComboboxDomReference, resolveRef(previousFocusableElement), resolveRef(nextFocusableElement), isUntrappedTypeableCombobox ? domReference : null].filter(x => x != null);\n const ariaHiddenCleanup = markOthers(insideElements, {\n ariaHidden: modal || isUntrappedTypeableCombobox,\n mark: false\n });\n const markerInsideElements = [floating, ...portalNodes].filter(x => x != null);\n const markerCleanup = markOthers(markerInsideElements);\n return () => {\n markerCleanup();\n ariaHiddenCleanup();\n };\n }, [open, disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, tree, getNodeId, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);\n\n // Focus the initial element when the floating element opens.\n useIsoLayoutEffect(() => {\n if (!open || disabled || !isHTMLElement(floatingFocusElement)) {\n return;\n }\n const doc = ownerDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n\n // Wait for any layout effect state setters to execute to set `tabIndex`.\n queueMicrotask(() => {\n const initialFocusValueOrFn = initialFocusRef.current;\n const resolvedInitialFocus = typeof initialFocusValueOrFn === 'function' ? initialFocusValueOrFn(openInteractionTypeRef.current || '') : initialFocusValueOrFn;\n\n // `null` should fallback to default behavior in case of an empty ref.\n if (resolvedInitialFocus === undefined || resolvedInitialFocus === false) {\n return;\n }\n const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);\n if (focusAlreadyInsideFloatingEl) {\n return;\n }\n let focusableElements = null;\n const getDefaultFocusElement = () => {\n if (focusableElements == null) {\n focusableElements = getTabbableContent(floatingFocusElement);\n }\n return focusableElements[0] || floatingFocusElement;\n };\n let elToFocus;\n if (resolvedInitialFocus === true || resolvedInitialFocus === null) {\n elToFocus = getDefaultFocusElement();\n } else {\n elToFocus = resolveRef(resolvedInitialFocus);\n }\n elToFocus = elToFocus || getDefaultFocusElement();\n enqueueFocus(elToFocus, {\n preventScroll: elToFocus === floatingFocusElement\n });\n });\n }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableContent, initialFocusRef, openInteractionTypeRef]);\n\n // Track return focus targets and restore focus on unmount/close.\n useIsoLayoutEffect(() => {\n if (disabled || !floatingFocusElement) {\n return undefined;\n }\n const doc = ownerDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n addPreviouslyFocusedElement(previouslyFocusedElement);\n\n // Dismissing via outside press should always ignore `returnFocus` to\n // prevent unwanted scrolling.\n function onOpenChangeLocal(details) {\n if (!details.open) {\n closeTypeRef.current = getEventType(details.nativeEvent, lastInteractionTypeRef.current);\n }\n if (details.reason === REASONS.triggerHover && details.nativeEvent.type === 'mouseleave') {\n preventReturnFocusRef.current = true;\n }\n if (details.reason !== REASONS.outsidePress) {\n return;\n }\n if (details.nested) {\n preventReturnFocusRef.current = false;\n } else if (isVirtualClick(details.nativeEvent) || isVirtualPointerEvent(details.nativeEvent)) {\n preventReturnFocusRef.current = false;\n } else {\n let isPreventScrollSupported = false;\n ownerDocument(floatingFocusElement).createElement('div').focus({\n get preventScroll() {\n isPreventScrollSupported = true;\n return false;\n }\n });\n if (isPreventScrollSupported) {\n preventReturnFocusRef.current = false;\n } else {\n preventReturnFocusRef.current = true;\n }\n }\n }\n events.on('openchange', onOpenChangeLocal);\n function getReturnElement() {\n const returnFocusValueOrFn = returnFocusRef.current;\n let resolvedReturnFocusValue = typeof returnFocusValueOrFn === 'function' ? returnFocusValueOrFn(closeTypeRef.current) : returnFocusValueOrFn;\n\n // `null` should fallback to default behavior in case of an empty ref.\n if (resolvedReturnFocusValue === undefined || resolvedReturnFocusValue === false) {\n return null;\n }\n if (resolvedReturnFocusValue === null) {\n resolvedReturnFocusValue = true;\n }\n if (typeof resolvedReturnFocusValue === 'boolean') {\n const el = domReference || getPreviouslyFocusedElement();\n return el && el.isConnected ? el : null;\n }\n const fallback = domReference || getPreviouslyFocusedElement();\n return resolveRef(resolvedReturnFocusValue) || fallback || null;\n }\n return () => {\n events.off('openchange', onOpenChangeLocal);\n const activeEl = activeElement(doc);\n const insideElements = getResolvedInsideElements();\n const isFocusInsideFloatingTree = contains(floating, activeEl) || insideElements.some(element => element === activeEl || contains(element, activeEl)) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some(node => contains(node.context?.elements.floating, activeEl));\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const returnFocusValueOrFn = returnFocusRef.current;\n const returnElement = getReturnElement();\n queueMicrotask(() => {\n // This is `returnElement`, if it's tabbable, or its first tabbable child.\n const tabbableReturnElement = getFirstTabbableElement(returnElement);\n const hasExplicitReturnFocus = typeof returnFocusValueOrFn !== 'boolean';\n if (returnFocusValueOrFn && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && (\n // If the focus moved somewhere else after mount, avoid returning focus\n // since it likely entered a different element which should be\n // respected: https://github.com/floating-ui/floating-ui/issues/2607\n !hasExplicitReturnFocus && tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)) {\n tabbableReturnElement.focus({\n preventScroll: true\n });\n }\n preventReturnFocusRef.current = false;\n });\n };\n }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, domReference, getNodeId, getResolvedInsideElements]);\n\n // Safari may randomly scroll to the bottom of the page if an input inside a popup has focus\n // when the popup unmounts from the DOM.\n // By blurring it before the popup unmounts, we can prevent this behavior.\n useIsoLayoutEffect(() => {\n if (!isWebKit || open || !floating) {\n return;\n }\n const activeEl = activeElement(ownerDocument(floating));\n if (!isHTMLElement(activeEl) || !isTypeableElement(activeEl)) {\n return;\n }\n if (contains(floating, activeEl)) {\n activeEl.blur();\n }\n }, [open, floating]);\n // Synchronize the `context` & `modal` value to the FloatingPortal context.\n // It will decide whether or not it needs to render its own guards.\n useIsoLayoutEffect(() => {\n if (disabled || !portalContext) {\n return undefined;\n }\n portalContext.setFocusManagerState({\n modal,\n closeOnFocusOut,\n open,\n onOpenChange: store.setOpen,\n domReference\n });\n return () => {\n portalContext.setFocusManagerState(null);\n };\n }, [disabled, portalContext, modal, open, store, closeOnFocusOut, domReference]);\n\n // Keep the floating element tabIndex in sync and clear stale focus records.\n useIsoLayoutEffect(() => {\n if (disabled || !floatingFocusElement) {\n return undefined;\n }\n handleTabIndex(floatingFocusElement, orderRef);\n return () => {\n queueMicrotask(clearDisconnectedPreviouslyFocusedElements);\n };\n }, [disabled, floatingFocusElement, orderRef]);\n const shouldRenderGuards = !disabled && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedBeforeGuardRef,\n onFocus: event => {\n if (modal) {\n const els = getTabbableContent();\n enqueueFocus(els[els.length - 1]);\n } else if (portalContext?.portalNode) {\n preventReturnFocusRef.current = false;\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const nextTabbable = getNextTabbable(domReference);\n nextTabbable?.focus();\n } else {\n resolveRef(previousFocusableElement ?? portalContext.beforeOutsideRef)?.focus();\n }\n }\n }\n }), children, shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedAfterGuardRef,\n onFocus: event => {\n if (modal) {\n enqueueFocus(getTabbableContent()[0]);\n } else if (portalContext?.portalNode) {\n if (closeOnFocusOut) {\n preventReturnFocusRef.current = true;\n }\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const prevTabbable = getPreviousTabbable(domReference);\n prevTabbable?.focus();\n } else {\n resolveRef(nextFocusableElement ?? portalContext.afterOutsideRef)?.focus();\n }\n }\n }\n })]\n });\n}"],"names":["getEventType","event","lastInteractionType","win","ownerWindow","getTarget","LIST_LIMIT","previouslyFocusedElements","clearDisconnectedPreviouslyFocusedElements","entry","addPreviouslyFocusedElement","element","getNodeName","getPreviouslyFocusedElement","getFirstTabbableElement","container","isTabbable","tabbable","handleTabIndex","floatingFocusElement","orderRef","tabbableContent","focusable","dataTabIndex","tabIndex","FloatingFocusManager","props","context","children","disabled","initialFocus","returnFocus","restoreFocus","modal","closeOnFocusOut","openInteractionType","nextFocusableElement","previousFocusableElement","beforeContentFocusGuardRef","externalTree","getInsideElements","store","open","domReference","floating","events","dataRef","getNodeId","useStableCallback","ignoreInitialFocus","isUntrappedTypeableCombobox","isTypeableCombobox","React","initialFocusRef","useValueAsRef","returnFocusRef","openInteractionTypeRef","tree","useFloatingTree","portalContext","usePortalContext","preventReturnFocusRef","isPointerDownRef","pointerDownOutsideRef","lastFocusedTabbableRef","closeTypeRef","lastInteractionTypeRef","beforeGuardRef","afterGuardRef","mergedBeforeGuardRef","useMergedRefs","mergedAfterGuardRef","blurTimeout","useTimeout","pointerDownTimeout","restoreFocusFrame","useAnimationFrame","isInsidePortal","getFloatingFocusElement","getTabbableContent","getResolvedInsideElements","onKeyDown","contains","activeElement","ownerDocument","stopEvent","doc","addEventListener","clearPointerDownOutside","onPointerDown","target","insideElements","pointerTargetInside","CLICK_TRIGGER_IDENTIFIER","mergeCleanups","handlePointerDown","handleFocusIn","handleFocusOutside","relatedTarget","currentTarget","nodeId","triggers","isRelatedFocusGuard","createAttribute","resolveRef","movedToUnrelatedNode","trigger","getNodeChildren","node","getNodeAncestors","isElementVisible","isHTMLElement","prevTabbable","nodeToFocus","createChangeEventDetails","REASONS.focusOut","markInsideReactTree","domReferenceElement","portalNodes","rootAncestorComboboxDomReference","x","ariaHiddenCleanup","markOthers","markerInsideElements","markerCleanup","useIsoLayoutEffect","previouslyFocusedElement","initialFocusValueOrFn","resolvedInitialFocus","focusableElements","getDefaultFocusElement","elToFocus","enqueueFocus","onOpenChangeLocal","details","REASONS.triggerHover","REASONS.outsidePress","isVirtualClick","isVirtualPointerEvent","isPreventScrollSupported","getReturnElement","returnFocusValueOrFn","resolvedReturnFocusValue","el","fallback","activeEl","isFocusInsideFloatingTree","returnElement","tabbableReturnElement","hasExplicitReturnFocus","isWebKit","isTypeableElement","shouldRenderGuards","_jsxs","_jsx","FocusGuard","els","isOutsideEvent","getNextTabbable","getPreviousTabbable"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,SAASA,GAAaC,GAAOC,GAAqB;AAChD,QAAMC,IAAMC,GAAYC,EAAUJ,CAAK,CAAC;AACxC,SAAIA,aAAiBE,EAAI,gBAChB,aAELF,aAAiBE,EAAI,aAGhBD,KAAuB,aAE5B,iBAAiBD,IACZA,EAAM,eAAe,aAE1B,aAAaA,IACR,UAELA,aAAiBE,EAAI,aAEhBD,MAAwBD,EAAM,WAAW,IAAI,aAAa,WAE5D;AACT;AACA,MAAMK,KAAa;AACnB,IAAIC,IAA4B,CAAA;AAChC,SAASC,KAA6C;AACpD,EAAAD,IAA4BA,EAA0B,OAAO,CAAAE,MACpDA,EAAM,MAAK,GAAI,W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,IAC5BgG,GAAe5J,GAAO0D,EAAc,UAAU,IAC3BmG,GAAgBnH,CAAY,GACnC,MAAK,IAEnB6D,EAAWnE,KAA4BsB,EAAc,gBAAgB,GAAG,MAAK;AAAA,MAGnF;AAAA,IACN,CAAK,GAAG/B,GAAU4H,MAAmCE,gBAAAA,GAAAA,IAAKC,IAAY;AAAA,MAChE,aAAa;AAAA,MACb,KAAKpF;AAAA,MACL,SAAS,CAAAtE,MAAS;AAChB,QAAIgC,IACFmG,GAAarD,IAAqB,CAAC,CAAC,IAC3BpB,GAAe,eACpBzB,MACF2B,EAAsB,UAAU,KAE9BgG,GAAe5J,GAAO0D,EAAc,UAAU,IAC3BoG,GAAoBpH,CAAY,GACvC,MAAK,IAEnB6D,EAAWpE,KAAwBuB,EAAc,eAAe,GAAG,MAAK;AAAA,MAG9E;AAAA,IACN,CAAK,CAAC;AAAA,EACN,CAAG;AACH;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index113.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getLabels.js"],"sourcesContent":["import * as defaultLabels from \"../labels/index.js\";\nconst resolveLabel = (defaultLabel, customLabel, localeLabel) => {\n if (customLabel)\n return customLabel;\n if (localeLabel) {\n return (typeof localeLabel === \"function\"\n ? localeLabel\n : (..._args) => localeLabel);\n }\n return defaultLabel;\n};\n/**\n * Merges custom labels from the props with the default labels.\n *\n * When available, uses the locale-provided translation for `labelNext`.\n *\n * @param customLabels The custom labels provided in the DayPicker props.\n * @param options Options from the date library, used to resolve locale\n * translations.\n * @returns The merged labels object with locale-aware defaults.\n */\nexport function getLabels(customLabels, options) {\n const localeLabels = options.locale?.labels ?? {};\n return {\n ...defaultLabels,\n ...(customLabels ?? {}),\n labelDayButton: resolveLabel(defaultLabels.labelDayButton, customLabels?.labelDayButton, localeLabels.labelDayButton),\n labelMonthDropdown: resolveLabel(defaultLabels.labelMonthDropdown, customLabels?.labelMonthDropdown, localeLabels.labelMonthDropdown),\n labelNext: resolveLabel(defaultLabels.labelNext, customLabels?.labelNext, localeLabels.labelNext),\n labelPrevious: resolveLabel(defaultLabels.labelPrevious, customLabels?.labelPrevious, localeLabels.labelPrevious),\n labelWeekNumber: resolveLabel(defaultLabels.labelWeekNumber, customLabels?.labelWeekNumber, localeLabels.labelWeekNumber),\n labelYearDropdown: resolveLabel(defaultLabels.labelYearDropdown, customLabels?.labelYearDropdown, localeLabels.labelYearDropdown),\n labelGrid: resolveLabel(defaultLabels.labelGrid, customLabels?.labelGrid, localeLabels.labelGrid),\n labelGridcell: resolveLabel(defaultLabels.labelGridcell, customLabels?.labelGridcell, localeLabels.labelGridcell),\n labelNav: resolveLabel(defaultLabels.labelNav, customLabels?.labelNav, localeLabels.labelNav),\n labelWeekNumberHeader: resolveLabel(defaultLabels.labelWeekNumberHeader, customLabels?.labelWeekNumberHeader, localeLabels.labelWeekNumberHeader),\n labelWeekday: resolveLabel(defaultLabels.labelWeekday, customLabels?.labelWeekday, localeLabels.labelWeekday),\n };\n}\n"],"names":["resolveLabel","defaultLabel","customLabel","localeLabel","_args","getLabels","customLabels","options","localeLabels","defaultLabels","defaultLabels.labelDayButton","defaultLabels.labelMonthDropdown","defaultLabels.labelNext","defaultLabels.labelPrevious","defaultLabels.labelWeekNumber","defaultLabels.labelYearDropdown","defaultLabels.labelGrid","defaultLabels.labelGridcell","defaultLabels.labelNav","defaultLabels.labelWeekNumberHeader","defaultLabels.labelWeekday"],"mappings":";;;;;;;;;;;;AACA,MAAMA,IAAe,CAACC,GAAcC,GAAaC,MACzCD,MAEAC,IACQ,OAAOA,KAAgB,aACzBA,IACA,IAAIC,MAAUD,IAEjBF;AAYJ,SAASI,EAAUC,GAAcC,GAAS;AAC7C,QAAMC,IAAeD,EAAQ,QAAQ,UAAU,CAAA;AAC/C,SAAO;AAAA,IACH,GAAGE;AAAAA,IACH,GAAIH,KAAgB,CAAA;AAAA,IACpB,gBAAgBN,EAAaU,GAA8BJ,GAAc,gBAAgBE,EAAa,cAAc;AAAA,IACpH,oBAAoBR,EAAaW,GAAkCL,GAAc,oBAAoBE,EAAa,kBAAkB;AAAA,IACpI,WAAWR,EAAaY,GAAyBN,GAAc,WAAWE,EAAa,SAAS;AAAA,IAChG,eAAeR,EAAaa,GAA6BP,GAAc,eAAeE,EAAa,aAAa;AAAA,IAChH,iBAAiBR,EAAac,GAA+BR,GAAc,iBAAiBE,EAAa,eAAe;AAAA,IACxH,mBAAmBR,EAAae,GAAiCT,GAAc,mBAAmBE,EAAa,iBAAiB;AAAA,IAChI,WAAWR,EAAagB,GAAyBV,GAAc,WAAWE,EAAa,SAAS;AAAA,IAChG,eAAeR,EAAaiB,GAA6BX,GAAc,eAAeE,EAAa,aAAa;AAAA,IAChH,UAAUR,EAAakB,GAAwBZ,GAAc,UAAUE,EAAa,QAAQ;AAAA,IAC5F,uBAAuBR,EAAamB,GAAqCb,GAAc,uBAAuBE,EAAa,qBAAqB;AAAA,IAChJ,cAAcR,EAAaoB,GAA4Bd,GAAc,cAAcE,EAAa,YAAY;AAAA,EACpH;AACA;","x_google_ignoreList":[0]}
|
package/dist/index114.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return
|
|
1
|
+
function d(o, n, s, a, e) {
|
|
2
|
+
const { startOfMonth: r, startOfYear: c, endOfYear: f, eachMonthOfInterval: l, getMonth: p } = e;
|
|
3
|
+
return l({
|
|
4
|
+
start: c(o),
|
|
5
|
+
end: f(o)
|
|
6
|
+
}).map((t) => {
|
|
7
|
+
const O = a.formatMonthDropdown(t, e), h = p(t), u = n && t < r(n) || s && t > r(s) || !1;
|
|
8
|
+
return { value: h, label: O, disabled: u };
|
|
9
|
+
});
|
|
4
10
|
}
|
|
5
11
|
export {
|
|
6
|
-
|
|
12
|
+
d as getMonthOptions
|
|
7
13
|
};
|
|
8
14
|
//# sourceMappingURL=index114.js.map
|
package/dist/index114.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index114.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index114.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js"],"sourcesContent":["/**\n * Returns the months to show in the dropdown.\n *\n * This function generates a list of months for the current year, formatted\n * using the provided formatter, and determines whether each month should be\n * disabled based on the navigation range.\n *\n * @param displayMonth The currently displayed month.\n * @param navStart The start date for navigation.\n * @param navEnd The end date for navigation.\n * @param formatters The formatters to use for formatting the month labels.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dropdown options representing the months, or `undefined`\n * if no months are available.\n */\nexport function getMonthOptions(displayMonth, navStart, navEnd, formatters, dateLib) {\n const { startOfMonth, startOfYear, endOfYear, eachMonthOfInterval, getMonth, } = dateLib;\n const months = eachMonthOfInterval({\n start: startOfYear(displayMonth),\n end: endOfYear(displayMonth),\n });\n const options = months.map((month) => {\n const label = formatters.formatMonthDropdown(month, dateLib);\n const value = getMonth(month);\n const disabled = (navStart && month < startOfMonth(navStart)) ||\n (navEnd && month > startOfMonth(navEnd)) ||\n false;\n return { value, label, disabled };\n });\n return options;\n}\n"],"names":["getMonthOptions","displayMonth","navStart","navEnd","formatters","dateLib","startOfMonth","startOfYear","endOfYear","eachMonthOfInterval","getMonth","month","label","value","disabled"],"mappings":"AAeO,SAASA,EAAgBC,GAAcC,GAAUC,GAAQC,GAAYC,GAAS;AACjF,QAAM,EAAE,cAAAC,GAAc,aAAAC,GAAa,WAAAC,GAAW,qBAAAC,GAAqB,UAAAC,EAAQ,IAAML;AAajF,SAZeI,EAAoB;AAAA,IAC/B,OAAOF,EAAYN,CAAY;AAAA,IAC/B,KAAKO,EAAUP,CAAY;AAAA,EACnC,CAAK,EACsB,IAAI,CAACU,MAAU;AAClC,UAAMC,IAAQR,EAAW,oBAAoBO,GAAON,CAAO,GACrDQ,IAAQH,EAASC,CAAK,GACtBG,IAAYZ,KAAYS,IAAQL,EAAaJ,CAAQ,KACtDC,KAAUQ,IAAQL,EAAaH,CAAM,KACtC;AACJ,WAAO,EAAE,OAAAU,GAAO,OAAAD,GAAO,UAAAE,EAAQ;AAAA,EACnC,CAAC;AAEL;","x_google_ignoreList":[0]}
|
package/dist/index115.js
CHANGED
|
@@ -1,31 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
o = `polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${t.left}px ${t.top}px,${t.left}px ${t.bottom}px,${t.right}px ${t.bottom}px,${t.right}px ${t.top}px,${t.left}px ${t.top}px)`;
|
|
12
|
-
}
|
|
13
|
-
return /* @__PURE__ */ s.jsx("div", {
|
|
14
|
-
ref: n,
|
|
15
|
-
role: "presentation",
|
|
16
|
-
"data-base-ui-inert": "",
|
|
17
|
-
...p,
|
|
18
|
-
style: {
|
|
19
|
-
position: "fixed",
|
|
20
|
-
inset: 0,
|
|
21
|
-
userSelect: "none",
|
|
22
|
-
WebkitUserSelect: "none",
|
|
23
|
-
clipPath: o
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
process.env.NODE_ENV !== "production" && (a.displayName = "InternalBackdrop");
|
|
1
|
+
import { UI as f } from "./index119.js";
|
|
2
|
+
function n(r, o = {}, i = {}) {
|
|
3
|
+
let e = { ...o?.[f.Day] };
|
|
4
|
+
return Object.entries(r).filter(([, t]) => t === !0).forEach(([t]) => {
|
|
5
|
+
e = {
|
|
6
|
+
...e,
|
|
7
|
+
...i?.[t]
|
|
8
|
+
};
|
|
9
|
+
}), e;
|
|
10
|
+
}
|
|
28
11
|
export {
|
|
29
|
-
|
|
12
|
+
n as getStyleForModifiers
|
|
30
13
|
};
|
|
31
14
|
//# sourceMappingURL=index115.js.map
|
package/dist/index115.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index115.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index115.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js"],"sourcesContent":["import { UI } from \"../UI.js\";\n/**\n * Returns the computed style for a day based on its modifiers.\n *\n * This function merges the base styles for the day with any styles associated\n * with active modifiers.\n *\n * @param dayModifiers The modifiers applied to the day.\n * @param styles The base styles for the calendar elements.\n * @param modifiersStyles The styles associated with specific modifiers.\n * @returns The computed style for the day.\n */\nexport function getStyleForModifiers(dayModifiers, styles = {}, modifiersStyles = {}) {\n let style = { ...styles?.[UI.Day] };\n Object.entries(dayModifiers)\n .filter(([, active]) => active === true)\n .forEach(([modifier]) => {\n style = {\n ...style,\n ...modifiersStyles?.[modifier],\n };\n });\n return style;\n}\n"],"names":["getStyleForModifiers","dayModifiers","styles","modifiersStyles","style","UI","active","modifier"],"mappings":";AAYO,SAASA,EAAqBC,GAAcC,IAAS,CAAA,GAAIC,IAAkB,CAAA,GAAI;AAClF,MAAIC,IAAQ,EAAE,GAAGF,IAASG,EAAG,GAAG,EAAC;AACjC,gBAAO,QAAQJ,CAAY,EACtB,OAAO,CAAC,CAAA,EAAGK,CAAM,MAAMA,MAAW,EAAI,EACtC,QAAQ,CAAC,CAACC,CAAQ,MAAM;AACzB,IAAAH,IAAQ;AAAA,MACJ,GAAGA;AAAA,MACH,GAAGD,IAAkBI,CAAQ;AAAA,IACzC;AAAA,EACI,CAAC,GACMH;AACX;","x_google_ignoreList":[0]}
|