@rpcbase/ui 0.227.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/index106.js +36 -36
- package/dist/index118.js +6 -6
- package/dist/index121.js +10 -10
- package/dist/index123.js +2 -2
- package/dist/index124.js +3 -3
- package/dist/index125.js +1 -1
- package/dist/index127.js +2 -2
- package/dist/index129.js +2 -2
- package/dist/index150.js +5 -11
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +63 -63
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +2 -38
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +363 -13
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +261 -23
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +58 -108
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +47 -13
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +169 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +110 -4
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +25 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -12
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -19
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -13
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -261
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +466 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +185 -27
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +105 -124
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +262 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -78
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +39 -63
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +4 -8
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +12 -16
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +65 -89
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +38 -66
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +13 -45
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +23 -5
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +108 -66
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -2
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -363
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -262
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +5 -61
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +11 -46
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +18 -168
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +13 -110
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +261 -24
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +5 -8
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +28 -5
- 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 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +77 -465
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +62 -181
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +8 -107
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +15 -262
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +91 -8
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +65 -42
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +45 -4
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +17 -20
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -65
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -6
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +58 -11
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +63 -47
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +7 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -29
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -51
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -25
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -41
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -39
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +14 -45
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -70
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -17
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -11
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +53 -26
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -13
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -18
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -36
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -262
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -278
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -68
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -99
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -83
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -29
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +11 -35
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -16
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -26
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -28
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +6 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -78
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -269
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +8 -11
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +19 -10
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +16 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +7 -16
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -124
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +21 -40
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +10 -65
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +10 -14
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +9 -7
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +4 -5
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +5 -3
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +16 -10
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +9 -7
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +17 -132
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +13 -397
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +28 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +12 -11
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +25 -58
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +5 -8
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +20 -67
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +65 -18
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +6 -16
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -5
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +49 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +4 -7
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +29 -4
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +16 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -16
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +21 -4
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +51 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +25 -12
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +41 -9
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +39 -13
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +45 -14
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +20 -4
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +70 -5
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +17 -6
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +11 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +26 -53
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +13 -8
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +18 -4
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +36 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +262 -8
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +278 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +68 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +99 -3
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +83 -10
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +3 -9
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +29 -9
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +16 -10
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +35 -11
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +16 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +3 -6
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +26 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +28 -4
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -6
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +78 -6
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +269 -5
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +10 -15
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -7
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +25 -10
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +16 -10
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +125 -21
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +5 -10
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +40 -9
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +65 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +14 -5
- 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 -16
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +10 -18
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +7 -15
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +132 -11
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +399 -29
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +52 -12
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -25
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +11 -5
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +13 -8
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +154 -11
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +29 -7
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +9 -13
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +48 -3
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +11 -3
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +43 -16
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +95 -5
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +84 -49
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +96 -113
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +52 -32
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +11 -73
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +35 -140
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -61
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +115 -48
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +18 -15
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +14 -7
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +4 -5
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +36 -11
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +20 -21
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -13
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +8 -154
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +8 -30
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +11 -9
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +7 -47
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +13 -11
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +3 -44
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +3 -95
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +18 -85
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +23 -100
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +15 -51
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +16 -10
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +50 -36
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +5 -8
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +114 -108
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +32 -17
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +72 -14
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +142 -3
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +60 -35
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +49 -20
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +15 -10
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +8 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -20
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +11 -28
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +21 -16
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +5 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +17 -11
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +12 -16
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -6
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +10 -19
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +17 -45
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +6 -18
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +21 -5
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +44 -200
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +17 -77
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +5 -5
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +199 -16
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +77 -12
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +20 -8
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +8 -25
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +26 -27
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +21 -132
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +136 -11
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +11 -225
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +226 -3
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +3 -19
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +17 -75
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +77 -11
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +12 -4
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -71
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +72 -9
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +9 -16
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +15 -20
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +5 -3
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +5 -3
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +4 -5
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +15 -4
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +9 -4
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +5 -15
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -8
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +545 -5
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +47 -5
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +15 -543
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +6 -47
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +7 -17
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +6 -5
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +7 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +11 -6
- 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 -11
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +3 -9
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +3 -13
- package/dist/index405.js.map +1 -1
- package/dist/index407.js +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/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/index76.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index78.js +2 -2
- package/package.json +1 -1
package/dist/index187.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index187.js","sources":["../../../node_modules/libphonenumber-js/min/exports/getCountries.js"],"sourcesContent":["import withMetadataArgument from './withMetadataArgument.js'\r\nimport { getCountries as _getCountries } from '../../core/index.js'\r\n\r\nexport function getCountries() {\r\n\treturn withMetadataArgument(_getCountries, arguments)\r\n}"],"names":["getCountries","withMetadataArgument","_getCountries"],"mappings":";;AAGO,SAASA,IAAe;AAC9B,SAAOC,EAAqBC,GAAe,SAAS;AACrD;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index187.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingPortal.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { isNode } from '@floating-ui/utils/dom';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { mergeCleanups } from '@base-ui/utils/mergeCleanups';\nimport { useId } from '@base-ui/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { enableFocusInside, disableFocusInside, getPreviousTabbable, getNextTabbable, isOutsideEvent } from \"../utils/tabbable.js\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.js\";\nimport { REASONS } from \"../../internals/reasons.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { useRenderElement } from \"../../internals/useRenderElement.js\";\nimport { ownerVisuallyHidden } from \"../../internals/constants.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst PortalContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") PortalContext.displayName = \"PortalContext\";\nexport const usePortalContext = () => React.useContext(PortalContext);\nconst attr = createAttribute('portal');\nexport function useFloatingPortalNode(props = {}) {\n const {\n ref,\n container: containerProp,\n componentProps = EMPTY_OBJECT,\n elementProps\n } = props;\n const uniqueId = useId();\n const portalContext = usePortalContext();\n const parentPortalNode = portalContext?.portalNode;\n const [containerElement, setContainerElement] = React.useState(null);\n const [portalNode, setPortalNode] = React.useState(null);\n const setPortalNodeRef = useStableCallback(node => {\n if (node !== null) {\n // the useIsoLayoutEffect below watching containerProp / parentPortalNode\n // sets setPortalNode(null) when the container becomes null or changes.\n // So even though the ref callback now ignores null, the portal node still gets cleared.\n setPortalNode(node);\n }\n });\n const containerRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n // Wait for the container to be resolved if explicitly `null`.\n if (containerProp === null) {\n if (containerRef.current) {\n containerRef.current = null;\n setPortalNode(null);\n setContainerElement(null);\n }\n return;\n }\n\n // React 17 does not use React.useId().\n if (uniqueId == null) {\n return;\n }\n const resolvedContainer = (containerProp && (isNode(containerProp) ? containerProp : containerProp.current)) ?? parentPortalNode ?? document.body;\n if (resolvedContainer == null) {\n if (containerRef.current) {\n containerRef.current = null;\n setPortalNode(null);\n setContainerElement(null);\n }\n return;\n }\n if (containerRef.current !== resolvedContainer) {\n containerRef.current = resolvedContainer;\n setPortalNode(null);\n setContainerElement(resolvedContainer);\n }\n }, [containerProp, parentPortalNode, uniqueId]);\n const portalElement = useRenderElement('div', componentProps, {\n ref: [ref, setPortalNodeRef],\n props: [{\n id: uniqueId,\n [attr]: ''\n }, elementProps]\n });\n\n // This `createPortal` call injects `portalElement` into the `container`.\n // Another call inside `FloatingPortal`/`FloatingPortalLite` then injects the children into `portalElement`.\n const portalSubtree = containerElement && portalElement ? /*#__PURE__*/ReactDOM.createPortal(portalElement, containerElement) : null;\n return {\n portalNode,\n portalSubtree\n };\n}\n\n/**\n * Portals the floating element into a given container element — by default,\n * outside of the app root and into the body.\n * This is necessary to ensure the floating element can appear outside any\n * potential parent containers that cause clipping (such as `overflow: hidden`),\n * while retaining its location in the React tree.\n * @see https://floating-ui.com/docs/FloatingPortal\n * @internal\n */\nexport const FloatingPortal = /*#__PURE__*/React.forwardRef(function FloatingPortal(componentProps, forwardedRef) {\n const {\n children,\n container,\n className,\n render,\n renderGuards,\n style,\n ...elementProps\n } = componentProps;\n const {\n portalNode,\n portalSubtree\n } = useFloatingPortalNode({\n container,\n ref: forwardedRef,\n componentProps,\n elementProps\n });\n const beforeOutsideRef = React.useRef(null);\n const afterOutsideRef = React.useRef(null);\n const beforeInsideRef = React.useRef(null);\n const afterInsideRef = React.useRef(null);\n const [focusManagerState, setFocusManagerState] = React.useState(null);\n const focusInsideDisabledRef = React.useRef(false);\n const modal = focusManagerState?.modal;\n const open = focusManagerState?.open;\n const shouldRenderGuards = typeof renderGuards === 'boolean' ? renderGuards : !!focusManagerState && !focusManagerState.modal && focusManagerState.open && !!portalNode;\n\n // https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx\n React.useEffect(() => {\n if (!portalNode || modal) {\n return undefined;\n }\n\n // Make sure elements inside the portal element are tabbable only when the\n // portal has already been focused, either by tabbing into a focus trap\n // element outside or using the mouse.\n function onFocus(event) {\n if (portalNode && event.relatedTarget && isOutsideEvent(event)) {\n if (event.type === 'focusin') {\n if (focusInsideDisabledRef.current) {\n enableFocusInside(portalNode);\n focusInsideDisabledRef.current = false;\n }\n } else {\n disableFocusInside(portalNode);\n focusInsideDisabledRef.current = true;\n }\n }\n }\n\n // Listen to the event on the capture phase so they run before the focus\n // trap elements onFocus prop is called.\n return mergeCleanups(addEventListener(portalNode, 'focusin', onFocus, true), addEventListener(portalNode, 'focusout', onFocus, true));\n }, [portalNode, modal]);\n React.useEffect(() => {\n if (!portalNode || open !== false) {\n return;\n }\n enableFocusInside(portalNode);\n focusInsideDisabledRef.current = false;\n }, [open, portalNode]);\n const portalContextValue = React.useMemo(() => ({\n beforeOutsideRef,\n afterOutsideRef,\n beforeInsideRef,\n afterInsideRef,\n portalNode,\n setFocusManagerState\n }), [portalNode]);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [portalSubtree, /*#__PURE__*/_jsxs(PortalContext.Provider, {\n value: portalContextValue,\n children: [shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: beforeOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n beforeInsideRef.current?.focus();\n } else {\n const domReference = focusManagerState ? focusManagerState.domReference : null;\n const prevTabbable = getPreviousTabbable(domReference);\n prevTabbable?.focus();\n }\n }\n }), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(\"span\", {\n \"aria-owns\": portalNode.id,\n style: ownerVisuallyHidden\n }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: afterOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n afterInsideRef.current?.focus();\n } else {\n const domReference = focusManagerState ? focusManagerState.domReference : null;\n const nextTabbable = getNextTabbable(domReference);\n nextTabbable?.focus();\n if (focusManagerState?.closeOnFocusOut) {\n focusManagerState?.onOpenChange(false, createChangeEventDetails(REASONS.focusOut, event.nativeEvent));\n }\n }\n }\n })]\n })]\n });\n});\nif (process.env.NODE_ENV !== \"production\") FloatingPortal.displayName = \"FloatingPortal\";"],"names":["PortalContext","React","usePortalContext","attr","createAttribute","useFloatingPortalNode","props","ref","containerProp","componentProps","EMPTY_OBJECT","elementProps","uniqueId","useId","parentPortalNode","containerElement","setContainerElement","portalNode","setPortalNode","setPortalNodeRef","useStableCallback","node","containerRef","useIsoLayoutEffect","resolvedContainer","isNode","portalElement","useRenderElement","ReactDOM","FloatingPortal","forwardedRef","children","container","className","render","renderGuards","style","portalSubtree","beforeOutsideRef","afterOutsideRef","beforeInsideRef","afterInsideRef","focusManagerState","setFocusManagerState","focusInsideDisabledRef","modal","open","shouldRenderGuards","onFocus","event","isOutsideEvent","enableFocusInside","disableFocusInside","mergeCleanups","addEventListener","portalContextValue","_jsxs","_jsx","FocusGuard","domReference","getPreviousTabbable","ownerVisuallyHidden","getNextTabbable","createChangeEventDetails","REASONS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,gBAAAW,EAAS,aAAaG,GAAUd,CAAU,GAAG8B,KAAsB9B,KAA2BwC,gBAAAA,EAAAA,IAAKC,GAAY;AAAA,QAC5I,aAAa;AAAA,QACb,KAAKnB;AAAA,QACL,SAAS,CAAAU,MAAS;AAChB,cAAIC,EAAeD,GAAOhC,CAAU;AAClC,YAAAwB,EAAe,SAAS,MAAK;AAAA,eACxB;AACL,kBAAMkB,IAAejB,IAAoBA,EAAkB,eAAe;AAE1E,YADqBoB,EAAgBH,CAAY,GACnC,MAAK,GACfjB,GAAmB,mBACrBA,GAAmB,aAAa,IAAOqB,EAAyBC,GAAkBf,EAAM,WAAW,CAAC;AAAA,UAExG;AAAA,QACF;AAAA,MACR,CAAO,CAAC;AAAA,IACR,CAAK,CAAC;AAAA,EACN,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcpB,EAAe,cAAc;","x_google_ignoreList":[0]}
|
package/dist/index188.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
function n(
|
|
3
|
-
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
function n(r) {
|
|
3
|
+
const e = t.useRef(!0);
|
|
4
|
+
e.current && (e.current = !1, r());
|
|
4
5
|
}
|
|
5
6
|
export {
|
|
6
|
-
n as
|
|
7
|
+
n as useOnFirstRender
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index188.js.map
|
package/dist/index188.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index188.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index188.js","sources":["../../../node_modules/@base-ui/utils/esm/useOnFirstRender.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport function useOnFirstRender(fn) {\n const ref = React.useRef(true);\n if (ref.current) {\n ref.current = false;\n fn();\n }\n}"],"names":["useOnFirstRender","fn","ref","React"],"mappings":";AAGO,SAASA,EAAiBC,GAAI;AACnC,QAAMC,IAAMC,EAAM,OAAO,EAAI;AAC7B,EAAID,EAAI,YACNA,EAAI,UAAU,IACdD,EAAE;AAEN;","x_google_ignoreList":[0]}
|
package/dist/index189.js
CHANGED
|
@@ -1,470 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
value: function(e) {
|
|
51
|
-
return this.metadata.countries[e];
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
key: "nonGeographic",
|
|
55
|
-
value: function() {
|
|
56
|
-
if (!(this.v1 || this.v2 || this.v3))
|
|
57
|
-
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
key: "hasCountry",
|
|
61
|
-
value: function(e) {
|
|
62
|
-
return this.getCountryMetadata(e) !== void 0;
|
|
63
|
-
}
|
|
64
|
-
}, {
|
|
65
|
-
key: "hasCallingCode",
|
|
66
|
-
value: function(e) {
|
|
67
|
-
if (this.getCountryCodesForCallingCode(e))
|
|
68
|
-
return !0;
|
|
69
|
-
if (this.nonGeographic()) {
|
|
70
|
-
if (this.nonGeographic()[e])
|
|
71
|
-
return !0;
|
|
72
|
-
} else {
|
|
73
|
-
var i = this.countryCallingCodes()[e];
|
|
74
|
-
if (i && i.length === 1 && i[0] === "001")
|
|
75
|
-
return !0;
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { useScrollLock as v } from "./index348.js";
|
|
3
|
+
import { useOpenInteractionType as I } from "./index275.js";
|
|
4
|
+
import { createChangeEventDetails as A } from "./index175.js";
|
|
5
|
+
import { useImplicitActiveTrigger as M, useOpenStateTransitions as B } from "./index193.js";
|
|
6
|
+
import { useSyncedFloatingRootContext as F } from "./index349.js";
|
|
7
|
+
import { useRole as H } from "./index350.js";
|
|
8
|
+
import { useDismiss as K } from "./index279.js";
|
|
9
|
+
import { useInteractions as L } from "./index195.js";
|
|
10
|
+
import { getTarget as U, contains as V } from "./index291.js";
|
|
11
|
+
import { imperativeAction as j } from "./index177.js";
|
|
12
|
+
function $(P) {
|
|
13
|
+
const {
|
|
14
|
+
store: e,
|
|
15
|
+
parentContext: o,
|
|
16
|
+
actionsRef: N,
|
|
17
|
+
isDrawer: m
|
|
18
|
+
} = P, n = e.useState("open"), S = e.useState("disablePointerDismissal"), p = e.useState("modal"), f = e.useState("popupElement"), {
|
|
19
|
+
openMethod: k,
|
|
20
|
+
triggerProps: r
|
|
21
|
+
} = I(n);
|
|
22
|
+
M(e);
|
|
23
|
+
const {
|
|
24
|
+
forceUnmount: g
|
|
25
|
+
} = B(n, e), d = t.useCallback(() => {
|
|
26
|
+
e.setOpen(!1, A(j));
|
|
27
|
+
}, [e]);
|
|
28
|
+
t.useImperativeHandle(N, () => ({
|
|
29
|
+
unmount: g,
|
|
30
|
+
close: d
|
|
31
|
+
}), [g, d]);
|
|
32
|
+
const c = F({
|
|
33
|
+
popupStore: e,
|
|
34
|
+
onOpenChange: e.setOpen,
|
|
35
|
+
treatPopupAsFloatingElement: !0
|
|
36
|
+
}), [i, D] = t.useState(0), [u, C] = t.useState(0), O = i === 0, h = H(c), T = K(c, {
|
|
37
|
+
outsidePressEvent() {
|
|
38
|
+
return e.context.internalBackdropRef.current || e.context.backdropRef.current ? "intentional" : {
|
|
39
|
+
mouse: p === "trap-focus" ? "sloppy" : "intentional",
|
|
40
|
+
touch: "sloppy"
|
|
41
|
+
};
|
|
42
|
+
},
|
|
43
|
+
outsidePress(s) {
|
|
44
|
+
if (!e.context.outsidePressEnabledRef.current || "button" in s && s.button !== 0 || "touches" in s && s.touches.length !== 1)
|
|
45
|
+
return !1;
|
|
46
|
+
const l = U(s);
|
|
47
|
+
if (O && !S) {
|
|
48
|
+
const a = l;
|
|
49
|
+
return p && (e.context.internalBackdropRef.current || e.context.backdropRef.current) ? e.context.internalBackdropRef.current === a || e.context.backdropRef.current === a || V(a, f) && !a?.hasAttribute("data-base-ui-portal") : !0;
|
|
76
50
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}, {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}, {
|
|
105
|
-
key: "getCountryCodesForCallingCode",
|
|
106
|
-
value: function(e) {
|
|
107
|
-
var i = this.countryCallingCodes()[e];
|
|
108
|
-
if (i)
|
|
109
|
-
return i.length === 1 && i[0].length === 3 ? void 0 : i;
|
|
110
|
-
}
|
|
111
|
-
}, {
|
|
112
|
-
key: "getCountryCodeForCallingCode",
|
|
113
|
-
value: function(e) {
|
|
114
|
-
var i = this.getCountryCodesForCallingCode(e);
|
|
115
|
-
if (i)
|
|
116
|
-
return i[0];
|
|
117
|
-
}
|
|
118
|
-
}, {
|
|
119
|
-
key: "getNumberingPlanMetadata",
|
|
120
|
-
value: function(e) {
|
|
121
|
-
var i = this.getCountryCodeForCallingCode(e);
|
|
122
|
-
if (i)
|
|
123
|
-
return this.getCountryMetadata(i);
|
|
124
|
-
if (this.nonGeographic()) {
|
|
125
|
-
var r = this.nonGeographic()[e];
|
|
126
|
-
if (r)
|
|
127
|
-
return r;
|
|
128
|
-
} else {
|
|
129
|
-
var s = this.countryCallingCodes()[e];
|
|
130
|
-
if (s && s.length === 1 && s[0] === "001")
|
|
131
|
-
return this.metadata.countries["001"];
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
// Deprecated.
|
|
135
|
-
}, {
|
|
136
|
-
key: "countryCallingCode",
|
|
137
|
-
value: function() {
|
|
138
|
-
return this.numberingPlan.callingCode();
|
|
139
|
-
}
|
|
140
|
-
// Deprecated.
|
|
141
|
-
}, {
|
|
142
|
-
key: "IDDPrefix",
|
|
143
|
-
value: function() {
|
|
144
|
-
return this.numberingPlan.IDDPrefix();
|
|
145
|
-
}
|
|
146
|
-
// Deprecated.
|
|
147
|
-
}, {
|
|
148
|
-
key: "defaultIDDPrefix",
|
|
149
|
-
value: function() {
|
|
150
|
-
return this.numberingPlan.defaultIDDPrefix();
|
|
151
|
-
}
|
|
152
|
-
// Deprecated.
|
|
153
|
-
}, {
|
|
154
|
-
key: "nationalNumberPattern",
|
|
155
|
-
value: function() {
|
|
156
|
-
return this.numberingPlan.nationalNumberPattern();
|
|
157
|
-
}
|
|
158
|
-
// Deprecated.
|
|
159
|
-
}, {
|
|
160
|
-
key: "possibleLengths",
|
|
161
|
-
value: function() {
|
|
162
|
-
return this.numberingPlan.possibleLengths();
|
|
163
|
-
}
|
|
164
|
-
// Deprecated.
|
|
165
|
-
}, {
|
|
166
|
-
key: "formats",
|
|
167
|
-
value: function() {
|
|
168
|
-
return this.numberingPlan.formats();
|
|
169
|
-
}
|
|
170
|
-
// Deprecated.
|
|
171
|
-
}, {
|
|
172
|
-
key: "nationalPrefixForParsing",
|
|
173
|
-
value: function() {
|
|
174
|
-
return this.numberingPlan.nationalPrefixForParsing();
|
|
175
|
-
}
|
|
176
|
-
// Deprecated.
|
|
177
|
-
}, {
|
|
178
|
-
key: "nationalPrefixTransformRule",
|
|
179
|
-
value: function() {
|
|
180
|
-
return this.numberingPlan.nationalPrefixTransformRule();
|
|
181
|
-
}
|
|
182
|
-
// Deprecated.
|
|
183
|
-
}, {
|
|
184
|
-
key: "leadingDigits",
|
|
185
|
-
value: function() {
|
|
186
|
-
return this.numberingPlan.leadingDigits();
|
|
187
|
-
}
|
|
188
|
-
// Deprecated.
|
|
189
|
-
}, {
|
|
190
|
-
key: "hasTypes",
|
|
191
|
-
value: function() {
|
|
192
|
-
return this.numberingPlan.hasTypes();
|
|
193
|
-
}
|
|
194
|
-
// Deprecated.
|
|
195
|
-
}, {
|
|
196
|
-
key: "type",
|
|
197
|
-
value: function(e) {
|
|
198
|
-
return this.numberingPlan.type(e);
|
|
199
|
-
}
|
|
200
|
-
// Deprecated.
|
|
201
|
-
}, {
|
|
202
|
-
key: "ext",
|
|
203
|
-
value: function() {
|
|
204
|
-
return this.numberingPlan.ext();
|
|
205
|
-
}
|
|
206
|
-
}, {
|
|
207
|
-
key: "countryCallingCodes",
|
|
208
|
-
value: function() {
|
|
209
|
-
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
|
210
|
-
}
|
|
211
|
-
// Deprecated.
|
|
212
|
-
}, {
|
|
213
|
-
key: "chooseCountryByCountryCallingCode",
|
|
214
|
-
value: function(e) {
|
|
215
|
-
return this.selectNumberingPlan(e);
|
|
216
|
-
}
|
|
217
|
-
}, {
|
|
218
|
-
key: "hasSelectedNumberingPlan",
|
|
219
|
-
value: function() {
|
|
220
|
-
return this.numberingPlan !== void 0;
|
|
221
|
-
}
|
|
222
|
-
}]);
|
|
223
|
-
})(), g = /* @__PURE__ */ (function() {
|
|
224
|
-
function n(t, e) {
|
|
225
|
-
o(this, n), this.globalMetadataObject = e, this.metadata = t, m.call(this, e.metadata);
|
|
226
|
-
}
|
|
227
|
-
return u(n, [{
|
|
228
|
-
key: "callingCode",
|
|
229
|
-
value: function() {
|
|
230
|
-
return this.metadata[0];
|
|
231
|
-
}
|
|
232
|
-
// Formatting information for regions which share
|
|
233
|
-
// a country calling code is contained by only one region
|
|
234
|
-
// for performance reasons. For example, for NANPA region
|
|
235
|
-
// ("North American Numbering Plan Administration",
|
|
236
|
-
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
|
237
|
-
// it will be contained in the metadata for `US`.
|
|
238
|
-
}, {
|
|
239
|
-
key: "getDefaultCountryMetadataForRegion",
|
|
240
|
-
value: function() {
|
|
241
|
-
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
|
242
|
-
}
|
|
243
|
-
// Is always present.
|
|
244
|
-
}, {
|
|
245
|
-
key: "IDDPrefix",
|
|
246
|
-
value: function() {
|
|
247
|
-
if (!(this.v1 || this.v2))
|
|
248
|
-
return this.metadata[1];
|
|
249
|
-
}
|
|
250
|
-
// Is only present when a country supports multiple IDD prefixes.
|
|
251
|
-
}, {
|
|
252
|
-
key: "defaultIDDPrefix",
|
|
253
|
-
value: function() {
|
|
254
|
-
if (!(this.v1 || this.v2))
|
|
255
|
-
return this.metadata[12];
|
|
256
|
-
}
|
|
257
|
-
}, {
|
|
258
|
-
key: "nationalNumberPattern",
|
|
259
|
-
value: function() {
|
|
260
|
-
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
|
261
|
-
}
|
|
262
|
-
// "possible length" data is always present in Google's metadata.
|
|
263
|
-
}, {
|
|
264
|
-
key: "possibleLengths",
|
|
265
|
-
value: function() {
|
|
266
|
-
if (!this.v1)
|
|
267
|
-
return this.metadata[this.v2 ? 2 : 3];
|
|
268
|
-
}
|
|
269
|
-
}, {
|
|
270
|
-
key: "_getFormats",
|
|
271
|
-
value: function(e) {
|
|
272
|
-
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
273
|
-
}
|
|
274
|
-
// For countries of the same region (e.g. NANPA)
|
|
275
|
-
// formats are all stored in the "main" country for that region.
|
|
276
|
-
// E.g. "RU" and "KZ", "US" and "CA".
|
|
277
|
-
}, {
|
|
278
|
-
key: "formats",
|
|
279
|
-
value: function() {
|
|
280
|
-
var e = this, i = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
281
|
-
return i.map(function(r) {
|
|
282
|
-
return new F(r, e);
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
}, {
|
|
286
|
-
key: "nationalPrefix",
|
|
287
|
-
value: function() {
|
|
288
|
-
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
|
289
|
-
}
|
|
290
|
-
}, {
|
|
291
|
-
key: "_getNationalPrefixFormattingRule",
|
|
292
|
-
value: function(e) {
|
|
293
|
-
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
294
|
-
}
|
|
295
|
-
// For countries of the same region (e.g. NANPA)
|
|
296
|
-
// national prefix formatting rule is stored in the "main" country for that region.
|
|
297
|
-
// E.g. "RU" and "KZ", "US" and "CA".
|
|
298
|
-
}, {
|
|
299
|
-
key: "nationalPrefixFormattingRule",
|
|
300
|
-
value: function() {
|
|
301
|
-
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
|
302
|
-
}
|
|
303
|
-
}, {
|
|
304
|
-
key: "_nationalPrefixForParsing",
|
|
305
|
-
value: function() {
|
|
306
|
-
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
|
307
|
-
}
|
|
308
|
-
}, {
|
|
309
|
-
key: "nationalPrefixForParsing",
|
|
310
|
-
value: function() {
|
|
311
|
-
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
|
312
|
-
}
|
|
313
|
-
}, {
|
|
314
|
-
key: "nationalPrefixTransformRule",
|
|
315
|
-
value: function() {
|
|
316
|
-
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
|
317
|
-
}
|
|
318
|
-
}, {
|
|
319
|
-
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
|
320
|
-
value: function() {
|
|
321
|
-
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
|
322
|
-
}
|
|
323
|
-
// For countries of the same region (e.g. NANPA)
|
|
324
|
-
// "national prefix is optional when formatting" flag is
|
|
325
|
-
// stored in the "main" country for that region.
|
|
326
|
-
// E.g. "RU" and "KZ", "US" and "CA".
|
|
327
|
-
}, {
|
|
328
|
-
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
329
|
-
value: function() {
|
|
330
|
-
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
|
331
|
-
}
|
|
332
|
-
}, {
|
|
333
|
-
key: "leadingDigits",
|
|
334
|
-
value: function() {
|
|
335
|
-
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
|
336
|
-
}
|
|
337
|
-
}, {
|
|
338
|
-
key: "types",
|
|
339
|
-
value: function() {
|
|
340
|
-
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
|
341
|
-
}
|
|
342
|
-
}, {
|
|
343
|
-
key: "hasTypes",
|
|
344
|
-
value: function() {
|
|
345
|
-
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
|
346
|
-
}
|
|
347
|
-
}, {
|
|
348
|
-
key: "type",
|
|
349
|
-
value: function(e) {
|
|
350
|
-
if (this.hasTypes() && c(this.types(), e))
|
|
351
|
-
return new x(c(this.types(), e), this);
|
|
352
|
-
}
|
|
353
|
-
}, {
|
|
354
|
-
key: "ext",
|
|
355
|
-
value: function() {
|
|
356
|
-
return this.v1 || this.v2 ? h : this.metadata[13] || h;
|
|
357
|
-
}
|
|
358
|
-
}]);
|
|
359
|
-
})(), F = /* @__PURE__ */ (function() {
|
|
360
|
-
function n(t, e) {
|
|
361
|
-
o(this, n), this._format = t, this.metadata = e;
|
|
362
|
-
}
|
|
363
|
-
return u(n, [{
|
|
364
|
-
key: "pattern",
|
|
365
|
-
value: function() {
|
|
366
|
-
return this._format[0];
|
|
367
|
-
}
|
|
368
|
-
}, {
|
|
369
|
-
key: "format",
|
|
370
|
-
value: function() {
|
|
371
|
-
return this._format[1];
|
|
372
|
-
}
|
|
373
|
-
}, {
|
|
374
|
-
key: "leadingDigitsPatterns",
|
|
375
|
-
value: function() {
|
|
376
|
-
return this._format[2] || [];
|
|
377
|
-
}
|
|
378
|
-
}, {
|
|
379
|
-
key: "nationalPrefixFormattingRule",
|
|
380
|
-
value: function() {
|
|
381
|
-
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
|
382
|
-
}
|
|
383
|
-
}, {
|
|
384
|
-
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
385
|
-
value: function() {
|
|
386
|
-
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
387
|
-
}
|
|
388
|
-
}, {
|
|
389
|
-
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
|
390
|
-
value: function() {
|
|
391
|
-
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
392
|
-
}
|
|
393
|
-
// Checks whether national prefix formatting rule contains national prefix.
|
|
394
|
-
}, {
|
|
395
|
-
key: "usesNationalPrefix",
|
|
396
|
-
value: function() {
|
|
397
|
-
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
398
|
-
!k.test(this.nationalPrefixFormattingRule()));
|
|
399
|
-
}
|
|
400
|
-
}, {
|
|
401
|
-
key: "internationalFormat",
|
|
402
|
-
value: function() {
|
|
403
|
-
return this._format[5] || this.format();
|
|
404
|
-
}
|
|
405
|
-
}]);
|
|
406
|
-
})(), k = /^\(?\$1\)?$/, x = /* @__PURE__ */ (function() {
|
|
407
|
-
function n(t, e) {
|
|
408
|
-
o(this, n), this.type = t, this.metadata = e;
|
|
409
|
-
}
|
|
410
|
-
return u(n, [{
|
|
411
|
-
key: "pattern",
|
|
412
|
-
value: function() {
|
|
413
|
-
return this.metadata.v1 ? this.type : this.type[0];
|
|
414
|
-
}
|
|
415
|
-
}, {
|
|
416
|
-
key: "possibleLengths",
|
|
417
|
-
value: function() {
|
|
418
|
-
if (!this.metadata.v1)
|
|
419
|
-
return this.type[1] || this.metadata.possibleLengths();
|
|
420
|
-
}
|
|
421
|
-
}]);
|
|
422
|
-
})();
|
|
423
|
-
function c(n, t) {
|
|
424
|
-
switch (t) {
|
|
425
|
-
case "FIXED_LINE":
|
|
426
|
-
return n[0];
|
|
427
|
-
case "MOBILE":
|
|
428
|
-
return n[1];
|
|
429
|
-
case "TOLL_FREE":
|
|
430
|
-
return n[2];
|
|
431
|
-
case "PREMIUM_RATE":
|
|
432
|
-
return n[3];
|
|
433
|
-
case "PERSONAL_NUMBER":
|
|
434
|
-
return n[4];
|
|
435
|
-
case "VOICEMAIL":
|
|
436
|
-
return n[5];
|
|
437
|
-
case "UAN":
|
|
438
|
-
return n[6];
|
|
439
|
-
case "PAGER":
|
|
440
|
-
return n[7];
|
|
441
|
-
case "VOIP":
|
|
442
|
-
return n[8];
|
|
443
|
-
case "SHARED_COST":
|
|
444
|
-
return n[9];
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
function _(n) {
|
|
448
|
-
if (!n)
|
|
449
|
-
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
450
|
-
if (!l(n) || !l(n.countries))
|
|
451
|
-
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(l(n) ? "an object of shape: { " + Object.keys(n).join(", ") + " }" : "a " + N(n) + ": " + n, "."));
|
|
452
|
-
}
|
|
453
|
-
var N = function(t) {
|
|
454
|
-
return a(t);
|
|
455
|
-
};
|
|
456
|
-
function R(n, t) {
|
|
457
|
-
if (t = new b(t), t.hasCountry(n))
|
|
458
|
-
return t.selectNumberingPlan(n).countryCallingCode();
|
|
459
|
-
throw new Error("Unknown country: ".concat(n));
|
|
460
|
-
}
|
|
461
|
-
function m(n) {
|
|
462
|
-
var t = n.version;
|
|
463
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? f(t, d) === -1 ? this.v2 = !0 : f(t, p) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
51
|
+
return !1;
|
|
52
|
+
},
|
|
53
|
+
escapeKey: O
|
|
54
|
+
});
|
|
55
|
+
v(n && p === !0, f);
|
|
56
|
+
const {
|
|
57
|
+
getReferenceProps: R,
|
|
58
|
+
getFloatingProps: b,
|
|
59
|
+
getTriggerProps: x
|
|
60
|
+
} = L([h, T]);
|
|
61
|
+
e.useContextCallback("onNestedDialogOpen", (s, l) => {
|
|
62
|
+
D(s), C(l);
|
|
63
|
+
}), e.useContextCallback("onNestedDialogClose", () => {
|
|
64
|
+
D(0), C(0);
|
|
65
|
+
}), t.useEffect(() => (o?.onNestedDialogOpen && n && o.onNestedDialogOpen(i + 1, u + (m ? 1 : 0)), o?.onNestedDialogClose && !n && o.onNestedDialogClose(), () => {
|
|
66
|
+
o?.onNestedDialogClose && n && o.onNestedDialogClose();
|
|
67
|
+
}), [m, n, i, u, o]);
|
|
68
|
+
const w = t.useMemo(() => R(r), [R, r]), E = t.useMemo(() => x(r), [x, r]), y = t.useMemo(() => b(), [b]);
|
|
69
|
+
e.useSyncedValues({
|
|
70
|
+
openMethod: k,
|
|
71
|
+
activeTriggerProps: w,
|
|
72
|
+
inactiveTriggerProps: E,
|
|
73
|
+
popupProps: y,
|
|
74
|
+
floatingRootContext: c,
|
|
75
|
+
nestedOpenDialogCount: i,
|
|
76
|
+
nestedOpenDrawerCount: u
|
|
77
|
+
});
|
|
464
78
|
}
|
|
465
79
|
export {
|
|
466
|
-
|
|
467
|
-
R as getCountryCallingCode,
|
|
468
|
-
_ as validateMetadata
|
|
80
|
+
$ as useDialogRoot
|
|
469
81
|
};
|
|
470
82
|
//# sourceMappingURL=index189.js.map
|