@rpcbase/ui 0.243.0 → 0.244.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/index105.js +36 -36
- package/dist/index117.js +6 -6
- package/dist/index120.js +10 -10
- package/dist/index122.js +2 -2
- package/dist/index123.js +3 -3
- package/dist/index124.js +1 -1
- package/dist/index126.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -3
- package/dist/index150.js.map +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -2
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +7 -7
- package/dist/index164.js.map +1 -1
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +1 -1
- package/dist/index169.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +58 -14
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +8 -68
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +87 -37
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +19 -13
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +16 -23
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +5 -111
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +6 -13
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +6 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +5 -4
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +7 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +16 -11
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +4 -19
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +5 -11
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +12 -176
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +9 -279
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +13 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -28
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -126
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -63
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +6 -8
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +6 -16
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +53 -29
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +8 -69
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -58
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +4 -8
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +8 -87
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -19
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -16
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +3 -5
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +10 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +9 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +9 -4
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +10 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +10 -16
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +9 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +6 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -12
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +4 -9
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -13
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +6 -13
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +16 -5
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +7 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +10 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +10 -54
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +21 -8
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +8 -4
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +9 -4
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -8
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +5 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +16 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +9 -10
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +18 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +20 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +12 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +29 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +12 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +25 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +20 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +66 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -6
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -16
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +3 -7
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +49 -9
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +4 -11
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +28 -20
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +16 -8
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -9
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +21 -9
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +53 -4
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +20 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +41 -16
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +39 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +46 -19
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +20 -17
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +19 -12
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +19 -28
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +68 -10
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +17 -25
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +3 -5
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +11 -154
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +29 -31
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +13 -11
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +15 -46
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +36 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +69 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +238 -42
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +245 -90
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +66 -84
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +86 -92
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +175 -51
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +83 -11
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +13 -5
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +3 -37
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +29 -8
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +16 -135
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +38 -18
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +34 -15
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +68 -3
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +15 -34
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +3 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +111 -8
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +26 -9
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +27 -23
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -29
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +125 -15
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +5 -20
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +75 -63
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +272 -6
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +10 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +27 -11
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +16 -4
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +10 -50
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +26 -4
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +15 -28
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +124 -15
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +5 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +64 -20
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +13 -53
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +14 -21
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +7 -41
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +11 -40
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +6 -46
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +3 -20
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +10 -70
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +7 -17
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +133 -3
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +279 -11
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +398 -12
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +5 -19
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +51 -35
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +11 -239
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +22 -247
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +11 -68
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +4 -99
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +14 -83
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +4 -4
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +5 -30
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +10 -15
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +64 -35
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +7 -16
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +154 -3
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +31 -25
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +11 -28
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +50 -4
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +9 -78
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +10 -271
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +43 -11
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +97 -10
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +86 -25
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +104 -15
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +50 -123
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +11 -5
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +4 -65
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +37 -13
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +8 -7
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +135 -5
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +17 -3
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +15 -10
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +3 -7
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +32 -129
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +18 -397
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +10 -5
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +8 -52
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +24 -11
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +28 -27
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +2 -2
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +16 -11
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +4 -8
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +18 -12
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +12 -8
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +8 -13
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +11 -3
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +8 -3
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +12 -16
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +3 -61
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +3 -66
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +4 -52
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +15 -6
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +10 -7
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +6 -5
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +4 -11
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +3 -22
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +8 -16
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +52 -8
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +15 -143
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +8 -80
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +11 -11
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +5 -61
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +21 -15
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +45 -5
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +16 -16
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +5 -13
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +200 -4
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +73 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +124 -4
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +16 -10
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +61 -5
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +67 -3
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +11 -20
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +21 -44
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +143 -16
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +79 -4
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +59 -198
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +4 -73
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +19 -122
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +4 -8
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +5 -27
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +4 -138
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +15 -12
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +8 -46
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +5 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +4 -21
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +542 -72
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +46 -11
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +17 -3
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +5 -71
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +7 -35
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -7
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +7 -15
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +11 -4
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +8 -4
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +13 -4
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +3 -16
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +3 -9
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +7 -6
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +12 -4
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +44 -543
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +135 -44
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +8 -17
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +27 -6
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +3 -7
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +21 -6
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +75 -7
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +12 -12
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +3 -8
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +71 -12
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +36 -3
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +16 -3
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +4 -14
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +56 -3
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +66 -490
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +30 -67
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +9 -31
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +153 -9
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +97 -142
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +8 -108
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +2 -5
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +42 -54
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +55 -7
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +8 -2
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +2 -44
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +54 -55
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +55 -7
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +3 -2
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +14 -54
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +487 -51
- package/dist/index428.js.map +1 -1
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +2 -16
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +2 -29
- package/dist/index431.js.map +1 -1
- package/dist/index432.js +2 -13
- package/dist/index432.js.map +1 -1
- package/dist/index433.js +2 -7
- package/dist/index433.js.map +1 -1
- package/dist/index434.js +16 -2
- package/dist/index434.js.map +1 -1
- package/dist/index435.js +29 -2
- package/dist/index435.js.map +1 -1
- package/dist/index436.js +13 -2
- package/dist/index436.js.map +1 -1
- package/dist/index437.js +7 -2
- package/dist/index437.js.map +1 -1
- package/dist/index44.js.map +1 -1
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +36 -36
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +29 -29
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +2 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +12 -12
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +4 -4
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +1 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +21 -21
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +5 -5
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +8 -8
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -5
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +17 -17
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +5 -5
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +3 -3
- package/dist/index62.js.map +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js.map +1 -1
- package/package.json +1 -1
package/dist/index327.js
CHANGED
|
@@ -1,69 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
let l = globalThis.requestAnimationFrame;
|
|
5
|
-
class o {
|
|
6
|
-
/* This implementation uses an array as a backing data-structure for frame callbacks.
|
|
7
|
-
* It allows `O(1)` callback cancelling by inserting a `null` in the array, though it
|
|
8
|
-
* never calls the native `cancelAnimationFrame` if there are no frames left. This can
|
|
9
|
-
* be much more efficient if there is a call pattern that alterns as
|
|
10
|
-
* "request-cancel-request-cancel-…".
|
|
11
|
-
* But in the case of "request-request-…-cancel-cancel-…", it leaves the final animation
|
|
12
|
-
* frame to run anyway. We turn that frame into a `O(1)` no-op via `callbacksCount`. */
|
|
13
|
-
callbacks = [];
|
|
14
|
-
callbacksCount = 0;
|
|
15
|
-
nextId = 1;
|
|
16
|
-
startId = 1;
|
|
17
|
-
isScheduled = !1;
|
|
18
|
-
tick = (t) => {
|
|
19
|
-
this.isScheduled = !1;
|
|
20
|
-
const e = this.callbacks, r = this.callbacksCount;
|
|
21
|
-
if (this.callbacks = [], this.callbacksCount = 0, this.startId = this.nextId, r > 0)
|
|
22
|
-
for (let i = 0; i < e.length; i += 1)
|
|
23
|
-
e[i]?.(t);
|
|
24
|
-
};
|
|
25
|
-
request(t) {
|
|
26
|
-
const e = this.nextId;
|
|
27
|
-
this.nextId += 1, this.callbacks.push(t), this.callbacksCount += 1;
|
|
28
|
-
const r = process.env.NODE_ENV !== "production" && l !== requestAnimationFrame && (l = requestAnimationFrame, !0);
|
|
29
|
-
return (!this.isScheduled || r) && (requestAnimationFrame(this.tick), this.isScheduled = !0), e;
|
|
30
|
-
}
|
|
31
|
-
cancel(t) {
|
|
32
|
-
const e = t - this.startId;
|
|
33
|
-
e < 0 || e >= this.callbacks.length || (this.callbacks[e] = null, this.callbacksCount -= 1);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
const c = new o();
|
|
37
|
-
class a {
|
|
38
|
-
static create() {
|
|
39
|
-
return new a();
|
|
40
|
-
}
|
|
41
|
-
static request(t) {
|
|
42
|
-
return c.request(t);
|
|
43
|
-
}
|
|
44
|
-
static cancel(t) {
|
|
45
|
-
return c.cancel(t);
|
|
46
|
-
}
|
|
47
|
-
currentId = s;
|
|
48
|
-
/**
|
|
49
|
-
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
50
|
-
*/
|
|
51
|
-
request(t) {
|
|
52
|
-
this.cancel(), this.currentId = c.request(() => {
|
|
53
|
-
this.currentId = s, t();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
cancel = () => {
|
|
57
|
-
this.currentId !== s && (c.cancel(this.currentId), this.currentId = s);
|
|
58
|
-
};
|
|
59
|
-
disposeEffect = () => this.cancel;
|
|
60
|
-
}
|
|
61
|
-
function k() {
|
|
62
|
-
const n = u(a.create).current;
|
|
63
|
-
return h(n.disposeEffect), n;
|
|
1
|
+
var e = /^\d+$/;
|
|
2
|
+
function a(t) {
|
|
3
|
+
return e.test(t);
|
|
64
4
|
}
|
|
65
5
|
export {
|
|
66
|
-
a as
|
|
67
|
-
k as useAnimationFrame
|
|
6
|
+
a as default
|
|
68
7
|
};
|
|
69
8
|
//# sourceMappingURL=index327.js.map
|
package/dist/index327.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index327.js","sources":["
|
|
1
|
+
{"version":3,"file":"index327.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/isCallingCode.js"],"sourcesContent":["var CALLING_CODE_REG_EXP = /^\\d+$/;\nexport default function isCallingCode(string) {\n return CALLING_CODE_REG_EXP.test(string);\n}\n//# sourceMappingURL=isCallingCode.js.map"],"names":["CALLING_CODE_REG_EXP","isCallingCode","string"],"mappings":"AAAA,IAAIA,IAAuB;AACZ,SAASC,EAAcC,GAAQ;AAC5C,SAAOF,EAAqB,KAAKE,CAAM;AACzC;","x_google_ignoreList":[0]}
|
package/dist/index328.js
CHANGED
|
@@ -1,17 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { parseDigit as i } from "./index157.js";
|
|
2
|
+
function u(e, t) {
|
|
3
|
+
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4
|
+
if (r) return (r = r.call(e)).next.bind(r);
|
|
5
|
+
if (Array.isArray(e) || (r = l(e)) || t) {
|
|
6
|
+
r && (e = r);
|
|
7
|
+
var n = 0;
|
|
8
|
+
return function() {
|
|
9
|
+
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
|
|
10
|
+
};
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
13
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
14
|
+
}
|
|
15
|
+
function l(e, t) {
|
|
16
|
+
if (e) {
|
|
17
|
+
if (typeof e == "string") return o(e, t);
|
|
18
|
+
var r = {}.toString.call(e).slice(8, -1);
|
|
19
|
+
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? o(e, t) : void 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function o(e, t) {
|
|
23
|
+
(t == null || t > e.length) && (t = e.length);
|
|
24
|
+
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
25
|
+
return n;
|
|
26
|
+
}
|
|
27
|
+
function c(e) {
|
|
28
|
+
for (var t = "", r = u(e.split("")), n; !(n = r()).done; ) {
|
|
29
|
+
var a = n.value;
|
|
30
|
+
t += f(a, t) || "";
|
|
31
|
+
}
|
|
32
|
+
return t;
|
|
33
|
+
}
|
|
34
|
+
function f(e, t, r) {
|
|
35
|
+
return e === "+" ? t ? void 0 : "+" : i(e);
|
|
36
|
+
}
|
|
14
37
|
export {
|
|
15
|
-
|
|
38
|
+
c as default,
|
|
39
|
+
f as parsePhoneNumberCharacter
|
|
16
40
|
};
|
|
17
41
|
//# sourceMappingURL=index328.js.map
|
package/dist/index328.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index328.js","sources":["
|
|
1
|
+
{"version":3,"file":"index328.js","sources":["../../../node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport { parseDigit } from './helpers/parseDigits.js';\n\n/**\r\n * Parses phone number characters from a string.\r\n * Drops all punctuation leaving only digits and the leading `+` sign (if any).\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * // Outputs '8800555'.\r\n * parseIncompletePhoneNumber('8 (800) 555')\r\n * // Outputs '+7800555'.\r\n * parseIncompletePhoneNumber('+7 800 555')\r\n * ```\r\n */\nexport default function parseIncompletePhoneNumber(string) {\n var result = '';\n // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n result += parsePhoneNumberCharacter(character, result) || '';\n }\n return result;\n}\n\n/**\r\n * Parses next character while parsing phone number digits (including a `+`)\r\n * from text: discards everything except `+` and digits, and `+` is only allowed\r\n * at the start of a phone number.\r\n * For example, is used in `react-phone-number-input` where it uses\r\n * [`input-format`](https://gitlab.com/catamphetamine/input-format).\r\n * @param {string} character - Yet another character from raw input string.\r\n * @param {string?} prevParsedCharacters - Previous parsed characters.\r\n * @param {function?} eventListener - An optional \"on event\" function.\r\n * @return {string?} The parsed character.\r\n */\nexport function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {\n // Only allow a leading `+`.\n if (character === '+') {\n // If this `+` is not the first parsed character\n // then discard it.\n if (prevParsedCharacters) {\n // `eventListener` argument was added to this `export`ed function on Dec 26th, 2023.\n // Any 3rd-party code that used to `import` and call this function before that\n // won't be passing any `eventListener` argument.\n //\n // The addition of the `eventListener` argument was to fix the slightly-weird behavior\n // of parsing an input string when the user inputs something like `\"2+7\"\n // https://github.com/catamphetamine/react-phone-number-input/issues/437\n //\n // If the parser encounters an unexpected `+` in a string being parsed\n // then it simply discards that out-of-place `+` and any following characters.\n //\n if (typeof eventListener === 'function') {\n eventListener('end');\n }\n return;\n }\n return '+';\n }\n // Allow digits.\n return parseDigit(character);\n}\n//# sourceMappingURL=parseIncompletePhoneNumber.js.map"],"names":["_createForOfIteratorHelperLoose","r","e","t","_unsupportedIterableToArray","o","a","_arrayLikeToArray","parseIncompletePhoneNumber","string","result","_iterator","_step","character","parsePhoneNumberCharacter","prevParsedCharacters","eventListener","parseDigit"],"mappings":";AAAA,SAASA,EAAgCC,GAAGC,GAAG;AAAE,MAAIC,IAAmB,OAAO,SAAtB,OAAgCF,EAAE,OAAO,QAAQ,KAAKA,EAAE,YAAY;AAAG,MAAIE,EAAG,SAAQA,IAAIA,EAAE,KAAKF,CAAC,GAAG,KAAK,KAAKE,CAAC;AAAG,MAAI,MAAM,QAAQF,CAAC,MAAME,IAAIC,EAA4BH,CAAC,MAAMC,GAAuC;AAAE,IAAAC,MAAMF,IAAIE;AAAI,QAAIE,IAAI;AAAG,WAAO,WAAY;AAAE,aAAOA,KAAKJ,EAAE,SAAS,EAAE,MAAM,GAAE,IAAK,EAAE,MAAM,IAAI,OAAOA,EAAEI,GAAG,EAAC;AAAA,IAAI;AAAA,EAAG;AAAE,QAAM,IAAI,UAAU;AAAA,mFAAuI;AAAG;AACziB,SAASD,EAA4BH,GAAGK,GAAG;AAAE,MAAIL,GAAG;AAAE,QAAgB,OAAOA,KAAnB,SAAsB,QAAOM,EAAkBN,GAAGK,CAAC;AAAG,QAAIH,IAAI,CAAA,EAAG,SAAS,KAAKF,CAAC,EAAE,MAAM,GAAG,EAAE;AAAG,WAAoBE,MAAb,YAAkBF,EAAE,gBAAgBE,IAAIF,EAAE,YAAY,OAAiBE,MAAV,SAAyBA,MAAV,QAAc,MAAM,KAAKF,CAAC,IAAoBE,MAAhB,eAAqB,2CAA2C,KAAKA,CAAC,IAAII,EAAkBN,GAAGK,CAAC,IAAI;AAAA,EAAQ;AAAE;AACzX,SAASC,EAAkBN,GAAGK,GAAG;AAAE,GAASA,KAAR,QAAaA,IAAIL,EAAE,YAAYK,IAAIL,EAAE;AAAS,WAASC,IAAI,GAAG,IAAI,MAAMI,CAAC,GAAGJ,IAAII,GAAGJ,IAAK,GAAEA,CAAC,IAAID,EAAEC,CAAC;AAAG,SAAO;AAAG;AAkBpI,SAASM,EAA2BC,GAAQ;AAQzD,WAPIC,IAAS,IAOJC,IAAYX,EAAgCS,EAAO,MAAM,EAAE,CAAC,GAAGG,GAAO,EAAEA,IAAQD,EAAS,GAAI,QAAO;AAC3G,QAAIE,IAAYD,EAAM;AACtB,IAAAF,KAAUI,EAA0BD,GAAWH,CAAM,KAAK;AAAA,EAC5D;AACA,SAAOA;AACT;AAaO,SAASI,EAA0BD,GAAWE,GAAsBC,GAAe;AAExF,SAAIH,MAAc,MAGZE,IAeF,SAEK,MAGFE,EAAWJ,CAAS;AAC7B;","x_google_ignoreList":[0]}
|
package/dist/index329.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
function n(r) {
|
|
2
|
+
var t = r.number, e = r.ext;
|
|
3
|
+
if (!t)
|
|
4
|
+
return "";
|
|
5
|
+
if (t[0] !== "+")
|
|
6
|
+
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
7
|
+
return "tel:".concat(t).concat(e ? ";ext=" + e : "");
|
|
6
8
|
}
|
|
7
9
|
export {
|
|
8
|
-
|
|
9
|
-
r as useToolbarRootContext
|
|
10
|
+
n as formatRFC3966
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=index329.js.map
|
package/dist/index329.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index329.js","sources":["
|
|
1
|
+
{"version":3,"file":"index329.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/RFC3966.js"],"sourcesContent":["function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport isViablePhoneNumber from './isViablePhoneNumber.js';\n\n// https://www.ietf.org/rfc/rfc3966.txt\n\n/**\r\n * @param {string} text - Phone URI (RFC 3966).\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\nexport function parseRFC3966(text) {\n var number;\n var ext;\n\n // Replace \"tel:\" with \"tel=\" for parsing convenience.\n text = text.replace(/^tel:/, 'tel=');\n for (var _iterator = _createForOfIteratorHelperLoose(text.split(';')), _step; !(_step = _iterator()).done;) {\n var part = _step.value;\n var _part$split = part.split('='),\n _part$split2 = _slicedToArray(_part$split, 2),\n name = _part$split2[0],\n value = _part$split2[1];\n switch (name) {\n case 'tel':\n number = value;\n break;\n case 'ext':\n ext = value;\n break;\n case 'phone-context':\n // Only \"country contexts\" are supported.\n // \"Domain contexts\" are ignored.\n if (value[0] === '+') {\n number = value + number;\n }\n break;\n }\n }\n\n // If the phone number is not viable, then abort.\n if (!isViablePhoneNumber(number)) {\n return {};\n }\n var result = {\n number: number\n };\n if (ext) {\n result.ext = ext;\n }\n return result;\n}\n\n/**\r\n * @param {object} - `{ ?number, ?extension }`.\r\n * @return {string} Phone URI (RFC 3966).\r\n */\nexport function formatRFC3966(_ref) {\n var number = _ref.number,\n ext = _ref.ext;\n if (!number) {\n return '';\n }\n if (number[0] !== '+') {\n throw new Error(\"\\\"formatRFC3966()\\\" expects \\\"number\\\" to be in E.164 format.\");\n }\n return \"tel:\".concat(number).concat(ext ? ';ext=' + ext : '');\n}\n//# sourceMappingURL=RFC3966.js.map"],"names":["formatRFC3966","_ref","number","ext"],"mappings":"AA6DO,SAASA,EAAcC,GAAM;AAClC,MAAIC,IAASD,EAAK,QAChBE,IAAMF,EAAK;AACb,MAAI,CAACC;AACH,WAAO;AAET,MAAIA,EAAO,CAAC,MAAM;AAChB,UAAM,IAAI,MAAM,2DAA+D;AAEjF,SAAO,OAAO,OAAOA,CAAM,EAAE,OAAOC,IAAM,UAAUA,IAAM,EAAE;AAC9D;","x_google_ignoreList":[0]}
|
package/dist/index330.js
CHANGED
|
@@ -1,9 +1,139 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { MIN_LENGTH_FOR_NSN as P, MAX_LENGTH_FOR_NSN as h, PLUS_CHARS as s, VALID_DIGITS as y } from "./index159.js";
|
|
2
|
+
import c from "./index323.js";
|
|
3
|
+
import T from "./index163.js";
|
|
4
|
+
import v, { isViablePhoneNumberStart as O } from "./index331.js";
|
|
5
|
+
import w from "./index332.js";
|
|
6
|
+
import g from "./index328.js";
|
|
7
|
+
import { isPossibleNumber as S } from "./index316.js";
|
|
8
|
+
import x from "./index164.js";
|
|
9
|
+
import R from "./index333.js";
|
|
10
|
+
import E from "./index321.js";
|
|
11
|
+
import I from "./index334.js";
|
|
12
|
+
import A from "./index168.js";
|
|
13
|
+
import p from "./index335.js";
|
|
14
|
+
var H = 250, L = new RegExp("[" + s + y + "]"), U = new RegExp("[^" + y + "#]+$");
|
|
15
|
+
function Z(t, r, o) {
|
|
16
|
+
r = r || {};
|
|
17
|
+
var e = new T(o);
|
|
18
|
+
if (r.defaultCountry && !e.hasCountry(r.defaultCountry))
|
|
19
|
+
throw r.v2 ? new c("INVALID_COUNTRY") : new Error("Unknown country: ".concat(r.defaultCountry));
|
|
20
|
+
var a = G(t, r.v2, r.extract), m = a.number, n = a.ext, f = a.error;
|
|
21
|
+
if (!m) {
|
|
22
|
+
if (r.v2)
|
|
23
|
+
throw f === "TOO_SHORT" ? new c("TOO_SHORT") : new c("NOT_A_NUMBER");
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
var i = D(
|
|
27
|
+
m,
|
|
28
|
+
r.defaultCountry,
|
|
29
|
+
r.defaultCallingCode,
|
|
30
|
+
// If `country` is returned, its numbering plan will also be selected in `metadata`.
|
|
31
|
+
// Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`.
|
|
32
|
+
// Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.
|
|
33
|
+
e
|
|
34
|
+
), l = i.country, u = i.nationalNumber, d = i.countryCallingCode, N = i.countryCallingCodeSource, b = i.carrierCode;
|
|
35
|
+
if (!e.hasSelectedNumberingPlan()) {
|
|
36
|
+
if (r.v2)
|
|
37
|
+
throw new c("INVALID_COUNTRY");
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
if (!u || u.length < P) {
|
|
41
|
+
if (r.v2)
|
|
42
|
+
throw new c("TOO_SHORT");
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
45
|
+
if (u.length > h) {
|
|
46
|
+
if (r.v2)
|
|
47
|
+
throw new c("TOO_LONG");
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
50
|
+
if (r.v2) {
|
|
51
|
+
var C = new x(d, u, e.metadata);
|
|
52
|
+
return l && (C.country = l), b && (C.carrierCode = b), n && (C.ext = n), C.__countryCallingCodeSource = N, C;
|
|
53
|
+
}
|
|
54
|
+
var _ = (r.extended ? e.hasSelectedNumberingPlan() : l) ? R(u, e.nationalNumberPattern()) : !1;
|
|
55
|
+
return r.extended ? {
|
|
56
|
+
country: l,
|
|
57
|
+
countryCallingCode: d,
|
|
58
|
+
carrierCode: b,
|
|
59
|
+
valid: _,
|
|
60
|
+
possible: _ ? !0 : !!(r.extended === !0 && e.possibleLengths() && S(u, e)),
|
|
61
|
+
phone: u,
|
|
62
|
+
ext: n
|
|
63
|
+
} : _ ? M(l, u, n) : {};
|
|
64
|
+
}
|
|
65
|
+
function F(t, r, o) {
|
|
66
|
+
if (t) {
|
|
67
|
+
if (t.length > H) {
|
|
68
|
+
if (o)
|
|
69
|
+
throw new c("TOO_LONG");
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
if (r === !1)
|
|
73
|
+
return t;
|
|
74
|
+
var e = t.search(L);
|
|
75
|
+
if (!(e < 0))
|
|
76
|
+
return t.slice(e).replace(U, "");
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function G(t, r, o) {
|
|
80
|
+
var e = p(t, {
|
|
81
|
+
extractFormattedPhoneNumber: function(n) {
|
|
82
|
+
return F(n, o, r);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
if (!e)
|
|
86
|
+
return {};
|
|
87
|
+
if (!v(e))
|
|
88
|
+
return O(e) ? {
|
|
89
|
+
error: "TOO_SHORT"
|
|
90
|
+
} : {};
|
|
91
|
+
var a = w(e);
|
|
92
|
+
return a.ext ? a : {
|
|
93
|
+
number: e
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function M(t, r, o) {
|
|
97
|
+
var e = {
|
|
98
|
+
country: t,
|
|
99
|
+
phone: r
|
|
100
|
+
};
|
|
101
|
+
return o && (e.ext = o), e;
|
|
102
|
+
}
|
|
103
|
+
function D(t, r, o, e) {
|
|
104
|
+
var a = E(
|
|
105
|
+
g(t),
|
|
106
|
+
void 0,
|
|
107
|
+
// `defaultCountry` and `defaultCallingCode` are only used to detect
|
|
108
|
+
// if it's an "international" phone number or not. They won't be used
|
|
109
|
+
// to derive the resulting `countryCallingCode` from them, or anything like that.
|
|
110
|
+
r,
|
|
111
|
+
o,
|
|
112
|
+
e.metadata
|
|
113
|
+
), m = a.countryCallingCodeSource, n = a.countryCallingCode, f = a.number, i;
|
|
114
|
+
if (n)
|
|
115
|
+
e.selectNumberingPlan(n);
|
|
116
|
+
else if (f && (r || o))
|
|
117
|
+
r ? (i = r, e.selectNumberingPlan(r), n = e.numberingPlan.callingCode()) : (e.selectNumberingPlan(o), n = o);
|
|
118
|
+
else return {};
|
|
119
|
+
if (!f)
|
|
120
|
+
return {
|
|
121
|
+
countryCallingCodeSource: m,
|
|
122
|
+
countryCallingCode: n
|
|
123
|
+
};
|
|
124
|
+
var l = I(g(f), void 0, e), u = l.nationalNumber, d = l.carrierCode, N = A(n, {
|
|
125
|
+
nationalNumber: u,
|
|
126
|
+
metadata: e
|
|
127
|
+
});
|
|
128
|
+
return N && (i = N, N === "001" || e.selectNumberingPlan(i)), {
|
|
129
|
+
country: i,
|
|
130
|
+
countryCallingCode: n,
|
|
131
|
+
countryCallingCodeSource: m,
|
|
132
|
+
nationalNumber: u,
|
|
133
|
+
carrierCode: d
|
|
134
|
+
};
|
|
5
135
|
}
|
|
6
136
|
export {
|
|
7
|
-
|
|
137
|
+
Z as default
|
|
8
138
|
};
|
|
9
139
|
//# sourceMappingURL=index330.js.map
|
package/dist/index330.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index330.js","sources":["../node_modules/@base-ui/react/utils/getDisabledMountTransitionStyles.mjs"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { DISABLED_TRANSITIONS_STYLE } from \"../internals/constants.mjs\";\nexport function getDisabledMountTransitionStyles(transitionStatus) {\n return transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;\n}"],"names":["getDisabledMountTransitionStyles","transitionStatus","DISABLED_TRANSITIONS_STYLE","EMPTY_OBJECT"],"mappings":";;AAEO,SAASA,EAAiCC,GAAkB;AACjE,SAAOA,MAAqB,aAAaC,IAA6BC;AACxE;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index330.js","sources":["../../../node_modules/libphonenumber-js/es6/parse.js"],"sourcesContent":["// This is a port of Google Android `libphonenumber`'s\n// `phonenumberutil.js` of December 31th, 2018.\n//\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\n\nimport { VALID_DIGITS, PLUS_CHARS, MIN_LENGTH_FOR_NSN, MAX_LENGTH_FOR_NSN } from './constants.js';\nimport ParseError from './ParseError.js';\nimport Metadata from './metadata.js';\nimport isViablePhoneNumber, { isViablePhoneNumberStart } from './helpers/isViablePhoneNumber.js';\nimport extractExtension from './helpers/extension/extractExtension.js';\nimport parseIncompletePhoneNumber from './parseIncompletePhoneNumber.js';\nimport getCountryCallingCode from './getCountryCallingCode.js';\nimport { isPossibleNumber } from './isPossible.js';\n// import { parseRFC3966 } from './helpers/RFC3966.js'\nimport PhoneNumber from './PhoneNumber.js';\nimport matchesEntirely from './helpers/matchesEntirely.js';\nimport extractCountryCallingCode from './helpers/extractCountryCallingCode.js';\nimport extractNationalNumber from './helpers/extractNationalNumber.js';\n// import stripIddPrefix from './helpers/stripIddPrefix.js'\nimport getCountryByCallingCode from './helpers/getCountryByCallingCode.js';\nimport extractFormattedPhoneNumberFromPossibleRfc3966NumberUri from './helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js';\n\n// We don't allow input strings for parsing to be longer than 250 chars.\n// This prevents malicious input from consuming CPU.\nvar MAX_INPUT_STRING_LENGTH = 250;\n\n// This consists of the plus symbol, digits, and arabic-indic digits.\nvar PHONE_NUMBER_START_PATTERN = new RegExp('[' + PLUS_CHARS + VALID_DIGITS + ']');\n\n// Regular expression of trailing characters that we want to remove.\n// A trailing `#` is sometimes used when writing phone numbers with extensions in US.\n// Example: \"+1 (645) 123 1234-910#\" number has extension \"910\".\nvar AFTER_PHONE_NUMBER_END_PATTERN = new RegExp('[^' + VALID_DIGITS + '#' + ']+$');\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;\n\n// Examples:\n//\n// ```js\n// parse('8 (800) 555-35-35', 'RU')\n// parse('8 (800) 555-35-35', 'RU', metadata)\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } })\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } }, metadata)\n// parse('+7 800 555 35 35')\n// parse('+7 800 555 35 35', metadata)\n// ```\n//\n\n/**\r\n * Parses a phone number.\r\n *\r\n * parse('123456789', { defaultCountry: 'RU', v2: true }, metadata)\r\n * parse('123456789', { defaultCountry: 'RU' }, metadata)\r\n * parse('123456789', undefined, metadata)\r\n *\r\n * @param {string} input\r\n * @param {object} [options]\r\n * @param {object} metadataJson\r\n * @return {object|PhoneNumber?} If `options.v2: true` flag is passed, it returns a `PhoneNumber?` instance. Otherwise, returns an object of shape `{ phone: '...', country: '...' }` (or just `{}` if no phone number was parsed).\r\n */\nexport default function parse(text, options, metadataJson) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n var metadata = new Metadata(metadataJson);\n\n // Validate `defaultCountry`.\n if (options.defaultCountry && !metadata.hasCountry(options.defaultCountry)) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n throw new Error(\"Unknown country: \".concat(options.defaultCountry));\n }\n\n // Parse the phone number.\n var _parseInput = parseInput(text, options.v2, options.extract),\n formattedPhoneNumber = _parseInput.number,\n ext = _parseInput.ext,\n error = _parseInput.error;\n\n // If the phone number is not viable then return nothing.\n if (!formattedPhoneNumber) {\n if (options.v2) {\n if (error === 'TOO_SHORT') {\n throw new ParseError('TOO_SHORT');\n }\n throw new ParseError('NOT_A_NUMBER');\n }\n return {};\n }\n var _parsePhoneNumber = parsePhoneNumber(formattedPhoneNumber, options.defaultCountry, options.defaultCallingCode,\n // If `country` is returned, its numbering plan will also be selected in `metadata`.\n // Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`.\n // Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.\n metadata),\n country = _parsePhoneNumber.country,\n nationalNumber = _parsePhoneNumber.nationalNumber,\n countryCallingCode = _parsePhoneNumber.countryCallingCode,\n countryCallingCodeSource = _parsePhoneNumber.countryCallingCodeSource,\n carrierCode = _parsePhoneNumber.carrierCode;\n if (!metadata.hasSelectedNumberingPlan()) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n return {};\n }\n\n // Validate national (significant) number length.\n if (!nationalNumber || nationalNumber.length < MIN_LENGTH_FOR_NSN) {\n // Won't throw here because the regexp already demands length > 1.\n /* istanbul ignore if */\n if (options.v2) {\n throw new ParseError('TOO_SHORT');\n }\n // Google's demo just throws an error in this case.\n return {};\n }\n\n // Validate national (significant) number length.\n //\n // A sidenote:\n //\n // They say that sometimes national (significant) numbers\n // can be longer than `MAX_LENGTH_FOR_NSN` (e.g. in Germany).\n // https://github.com/googlei18n/libphonenumber/blob/7e1748645552da39c4e1ba731e47969d97bdb539/resources/phonenumber.proto#L36\n // Such numbers will just be discarded.\n //\n if (nationalNumber.length > MAX_LENGTH_FOR_NSN) {\n if (options.v2) {\n throw new ParseError('TOO_LONG');\n }\n // Google's demo just throws an error in this case.\n return {};\n }\n if (options.v2) {\n var phoneNumber = new PhoneNumber(countryCallingCode, nationalNumber, metadata.metadata);\n if (country) {\n phoneNumber.country = country;\n }\n if (carrierCode) {\n phoneNumber.carrierCode = carrierCode;\n }\n if (ext) {\n phoneNumber.ext = ext;\n }\n phoneNumber.__countryCallingCodeSource = countryCallingCodeSource;\n return phoneNumber;\n }\n\n // Check if national phone number pattern matches the number.\n // National number pattern is different for each country,\n // even for those ones which are part of the \"NANPA\" group.\n var valid = (options.extended ? metadata.hasSelectedNumberingPlan() : country) ? matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) : false;\n if (!options.extended) {\n return valid ? result(country, nationalNumber, ext) : {};\n }\n\n // isInternational: countryCallingCode !== undefined\n\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n carrierCode: carrierCode,\n valid: valid,\n possible: valid ? true : options.extended === true && metadata.possibleLengths() && isPossibleNumber(nationalNumber, metadata) ? true : false,\n phone: nationalNumber,\n ext: ext\n };\n}\n\n/**\r\n * Extracts a formatted phone number from text.\r\n * Doesn't guarantee that the extracted phone number\r\n * is a valid phone number (for example, doesn't validate its length).\r\n * @param {string} text\r\n * @param {boolean} [extract] — If `false`, then will parse the entire `text` as a phone number.\r\n * @param {boolean} [throwOnError] — By default, it won't throw if the text is too long.\r\n * @return {string}\r\n * @example\r\n * // Returns \"(213) 373-4253\".\r\n * extractFormattedPhoneNumber(\"Call (213) 373-4253 for assistance.\")\r\n */\nfunction _extractFormattedPhoneNumber(text, extract, throwOnError) {\n if (!text) {\n return;\n }\n if (text.length > MAX_INPUT_STRING_LENGTH) {\n if (throwOnError) {\n throw new ParseError('TOO_LONG');\n }\n return;\n }\n if (extract === false) {\n return text;\n }\n // Attempt to extract a possible number from the string passed in\n var startsAt = text.search(PHONE_NUMBER_START_PATTERN);\n if (startsAt < 0) {\n return;\n }\n return text\n // Trim everything to the left of the phone number\n .slice(startsAt)\n // Remove trailing non-numerical characters\n .replace(AFTER_PHONE_NUMBER_END_PATTERN, '');\n}\n\n/**\r\n * @param {string} text - Input.\r\n * @param {boolean} v2 - Legacy API functions don't pass `v2: true` flag.\r\n * @param {boolean} [extract] - Whether to extract a phone number from `text`, or attempt to parse the entire text as a phone number.\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\nfunction parseInput(text, v2, extract) {\n // // Parse RFC 3966 phone number URI.\n // if (text && text.indexOf('tel:') === 0) {\n // \treturn parseRFC3966(text)\n // }\n // let number = extractFormattedPhoneNumber(text, extract, v2)\n var number = extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(text, {\n extractFormattedPhoneNumber: function extractFormattedPhoneNumber(text) {\n return _extractFormattedPhoneNumber(text, extract, v2);\n }\n });\n // If the phone number is not viable, then abort.\n if (!number) {\n return {};\n }\n if (!isViablePhoneNumber(number)) {\n if (isViablePhoneNumberStart(number)) {\n return {\n error: 'TOO_SHORT'\n };\n }\n return {};\n }\n // Attempt to parse extension first, since it doesn't require region-specific\n // data and we want to have the non-normalised number here.\n var withExtensionStripped = extractExtension(number);\n if (withExtensionStripped.ext) {\n return withExtensionStripped;\n }\n return {\n number: number\n };\n}\n\n/**\r\n * Creates `parse()` result object.\r\n */\nfunction result(country, nationalNumber, ext) {\n var result = {\n country: country,\n phone: nationalNumber\n };\n if (ext) {\n result.ext = ext;\n }\n return result;\n}\n\n/**\r\n * Parses a viable phone number.\r\n * @param {string} formattedPhoneNumber — Example: \"(213) 373-4253\".\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {Metadata} metadata — Metadata instance with no pre-selected numbering plan. If `country` is returned, its numbering plan will also be selected in `metadata`. Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`. Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.\r\n * @return {object} Returns `{ country: string?, countryCallingCode: string?, nationalNumber: string? }`.\r\n */\nfunction parsePhoneNumber(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata) {\n // Attempt to extract a calling code from a phone number.\n // * If the phone number is found to be \"international\":\n // * It will attempt to identify the calling code part of it and whether that part is complete and valid.\n // * If the calling code part is complete and valid, it will return two properties:\n // that calling code part (without `+`) and the rest of the digits.\n // * Otherwise, i.e. if the calling code part is incomplete or invalid,\n // it will return an empty object.\n // * Otherwise, i.e. if the phone number is national, there's no callind code to extract\n // so it will just return the originally-passed `number` string as the only property.\n var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), undefined,\n // `defaultCountry` and `defaultCallingCode` are only used to detect\n // if it's an \"international\" phone number or not. They won't be used\n // to derive the resulting `countryCallingCode` from them, or anything like that.\n defaultCountry, defaultCallingCode, metadata.metadata),\n countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource,\n countryCallingCode = _extractCountryCallin.countryCallingCode,\n number = _extractCountryCallin.number;\n\n // The exact country of the phone number\n var country;\n\n // If `formattedPhoneNumber` is passed in \"international\" format,\n // choose a country by `countryCallingCode`.\n if (countryCallingCode) {\n metadata.selectNumberingPlan(countryCallingCode);\n }\n // Else, if `formattedPhoneNumber` is passed in \"national\" format,\n // then `number` is defined and `countryCallingCode` is `undefined`.\n else if (number && (defaultCountry || defaultCallingCode)) {\n if (defaultCountry) {\n country = defaultCountry;\n metadata.selectNumberingPlan(defaultCountry);\n countryCallingCode = metadata.numberingPlan.callingCode();\n } else {\n metadata.selectNumberingPlan(defaultCallingCode);\n countryCallingCode = defaultCallingCode;\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (metadata.isNonGeographicCallingCode(countryCallingCode)) {\n country = '001';\n }\n }\n }\n } else return {};\n\n // At this point, `country` could be `undefined` but `countryCallingCode` is always defined.\n //\n // Also, if `country` is defined, its numbering plan is selected in `metadata`.\n // Otherwise, the numering plan for the `countryCallingCode` is selected in `metadata`.\n\n if (!number) {\n return {\n countryCallingCodeSource: countryCallingCodeSource,\n countryCallingCode: countryCallingCode\n };\n }\n var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number), undefined, metadata),\n nationalNumber = _extractNationalNumbe.nationalNumber,\n carrierCode = _extractNationalNumbe.carrierCode;\n\n // Sometimes there are several countries\n // corresponding to the same country phone code\n // (e.g. NANPA countries all having `1` country phone code).\n // Therefore, to reliably determine the exact country,\n // national (significant) number should have been parsed first.\n //\n // When `metadata.json` is generated, all \"ambiguous\" country phone codes\n // get their countries populated with the full set of\n // \"phone number type\" regular expressions.\n //\n var exactCountry = getCountryByCallingCode(countryCallingCode, {\n nationalNumber: nationalNumber,\n metadata: metadata\n });\n if (exactCountry) {\n country = exactCountry;\n /* istanbul ignore if */\n if (exactCountry === '001') {\n // Can't happen with `USE_NON_GEOGRAPHIC_COUNTRY_CODE` being `false`.\n // If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` is set to `true` for some reason,\n // then remove the \"istanbul ignore if\".\n } else {\n metadata.selectNumberingPlan(country);\n }\n }\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n countryCallingCodeSource: countryCallingCodeSource,\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n}\n//# sourceMappingURL=parse.js.map"],"names":["MAX_INPUT_STRING_LENGTH","PHONE_NUMBER_START_PATTERN","PLUS_CHARS","VALID_DIGITS","AFTER_PHONE_NUMBER_END_PATTERN","parse","text","options","metadataJson","metadata","Metadata","ParseError","_parseInput","parseInput","formattedPhoneNumber","ext","error","_parsePhoneNumber","parsePhoneNumber","country","nationalNumber","countryCallingCode","countryCallingCodeSource","carrierCode","MIN_LENGTH_FOR_NSN","MAX_LENGTH_FOR_NSN","phoneNumber","PhoneNumber","valid","matchesEntirely","isPossibleNumber","result","_extractFormattedPhoneNumber","extract","throwOnError","startsAt","v2","number","extractFormattedPhoneNumberFromPossibleRfc3966NumberUri","isViablePhoneNumber","isViablePhoneNumberStart","withExtensionStripped","extractExtension","defaultCountry","defaultCallingCode","_extractCountryCallin","extractCountryCallingCode","parseIncompletePhoneNumber","_extractNationalNumbe","extractNationalNumber","exactCountry","getCountryByCallingCode"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index331.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { MIN_LENGTH_FOR_NSN as e, VALID_DIGITS as _, PLUS_CHARS as t, VALID_PUNCTUATION as E } from "./index159.js";
|
|
2
|
+
import r from "./index337.js";
|
|
3
|
+
var n = "[" + _ + "]{" + e + "}", I = "[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){3,}[" + E + _ + "]*", P = new RegExp("^[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){1,2}$", "i"), R = I + // Phone number extensions
|
|
4
|
+
"(?:" + r() + ")?", T = new RegExp(
|
|
5
|
+
// Either a short two-digit-only phone number
|
|
6
|
+
"^" + n + "$|^" + R + "$",
|
|
7
|
+
"i"
|
|
8
|
+
);
|
|
9
|
+
function A(N) {
|
|
10
|
+
return N.length >= e && T.test(N);
|
|
11
|
+
}
|
|
12
|
+
function o(N) {
|
|
13
|
+
return P.test(N);
|
|
3
14
|
}
|
|
4
15
|
export {
|
|
5
|
-
|
|
16
|
+
I as VALID_PHONE_NUMBER,
|
|
17
|
+
R as VALID_PHONE_NUMBER_WITH_EXTENSION,
|
|
18
|
+
A as default,
|
|
19
|
+
o as isViablePhoneNumberStart
|
|
6
20
|
};
|
|
7
21
|
//# sourceMappingURL=index331.js.map
|
package/dist/index331.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index331.js","sources":["
|
|
1
|
+
{"version":3,"file":"index331.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js"],"sourcesContent":["import { MIN_LENGTH_FOR_NSN, VALID_DIGITS, VALID_PUNCTUATION, PLUS_CHARS } from '../constants.js';\nimport createExtensionPattern from './extension/createExtensionPattern.js';\n\n// Regular expression of viable phone numbers. This is location independent.\n// Checks we have at least three leading digits, and only valid punctuation,\n// alpha characters and digits in the phone number. Does not include extension\n// data. The symbol 'x' is allowed here as valid punctuation since it is often\n// used as a placeholder for carrier codes, for example in Brazilian phone\n// numbers. We also allow multiple '+' characters at the start.\n//\n// Corresponds to the following:\n// [digits]{minLengthNsn}|\n// plus_sign*\n// (([punctuation]|[star])*[digits]){3,}([punctuation]|[star]|[digits]|[alpha])*\n//\n// The first reg-ex is to allow short numbers (two digits long) to be parsed if\n// they are entered as \"15\" etc, but only if there is no punctuation in them.\n// The second expression restricts the number of digits to three or more, but\n// then allows them to be in international form, and to have alpha-characters\n// and punctuation. We split up the two reg-exes here and combine them when\n// creating the reg-ex VALID_PHONE_NUMBER_PATTERN itself so we can prefix it\n// with ^ and append $ to each branch.\n//\n// \"Note VALID_PUNCTUATION starts with a -,\n// so must be the first in the range\" (c) Google devs.\n// (wtf did they mean by saying that; probably nothing)\n//\nvar MIN_LENGTH_PHONE_NUMBER_PATTERN = '[' + VALID_DIGITS + ']{' + MIN_LENGTH_FOR_NSN + '}';\n//\n// And this is the second reg-exp:\n// (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)\n//\nexport var VALID_PHONE_NUMBER = '[' + PLUS_CHARS + ']{0,1}' + '(?:' + '[' + VALID_PUNCTUATION + ']*' + '[' + VALID_DIGITS + ']' + '){3,}' + '[' + VALID_PUNCTUATION + VALID_DIGITS + ']*';\n\n// This regular expression isn't present in Google's `libphonenumber`\n// and is only used to determine whether the phone number being input\n// is too short for it to even consider it a \"valid\" number.\n// This is just a way to differentiate between a really invalid phone\n// number like \"abcde\" and a valid phone number that a user has just\n// started inputting, like \"+1\" or \"1\": both these cases would be\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\n// library can provide a more detailed error message — whether it's\n// really \"not a number\", or is it just a start of a valid phone number.\nvar VALID_PHONE_NUMBER_START_REG_EXP = new RegExp('^' + '[' + PLUS_CHARS + ']{0,1}' + '(?:' + '[' + VALID_PUNCTUATION + ']*' + '[' + VALID_DIGITS + ']' + '){1,2}' + '$', 'i');\nexport var VALID_PHONE_NUMBER_WITH_EXTENSION = VALID_PHONE_NUMBER +\n// Phone number extensions\n'(?:' + createExtensionPattern() + ')?';\n\n// The combined regular expression for valid phone numbers:\n//\nvar VALID_PHONE_NUMBER_PATTERN = new RegExp(\n// Either a short two-digit-only phone number\n'^' + MIN_LENGTH_PHONE_NUMBER_PATTERN + '$' + '|' +\n// Or a longer fully parsed phone number (min 3 characters)\n'^' + VALID_PHONE_NUMBER_WITH_EXTENSION + '$', 'i');\n\n// Checks to see if the string of characters could possibly be a phone number at\n// all. At the moment, checks to see that the string begins with at least 2\n// digits, ignoring any punctuation commonly found in phone numbers. This method\n// does not require the number to be normalized in advance - but does assume\n// that leading non-number symbols have been removed, such as by the method\n// `extract_possible_number`.\n//\nexport default function isViablePhoneNumber(number) {\n return number.length >= MIN_LENGTH_FOR_NSN && VALID_PHONE_NUMBER_PATTERN.test(number);\n}\n\n// This is just a way to differentiate between a really invalid phone\n// number like \"abcde\" and a valid phone number that a user has just\n// started inputting, like \"+1\" or \"1\": both these cases would be\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\n// library can provide a more detailed error message — whether it's\n// really \"not a number\", or is it just a start of a valid phone number.\nexport function isViablePhoneNumberStart(number) {\n return VALID_PHONE_NUMBER_START_REG_EXP.test(number);\n}\n//# sourceMappingURL=isViablePhoneNumber.js.map"],"names":["MIN_LENGTH_PHONE_NUMBER_PATTERN","VALID_DIGITS","MIN_LENGTH_FOR_NSN","VALID_PHONE_NUMBER","PLUS_CHARS","VALID_PUNCTUATION","VALID_PHONE_NUMBER_START_REG_EXP","VALID_PHONE_NUMBER_WITH_EXTENSION","createExtensionPattern","VALID_PHONE_NUMBER_PATTERN","isViablePhoneNumber","number","isViablePhoneNumberStart"],"mappings":";;AA2BA,IAAIA,IAAkC,MAAMC,IAAe,OAAOC,IAAqB,KAK5EC,IAAqB,MAAMC,IAAa,eAAyBC,IAAoB,QAAaJ,IAAe,YAAsBI,IAAoBJ,IAAe,MAWjLK,IAAmC,IAAI,OAAO,OAAYF,IAAa,eAAyBC,IAAoB,QAAaJ,IAAe,YAAsB,GAAG,GAClKM,IAAoCJ;AAE/C,QAAQK,EAAsB,IAAK,MAI/BC,IAA6B,IAAI;AAAA;AAAA,EAErC,MAAMT,IAAkC,QAElCO,IAAoC;AAAA,EAAK;AAAG;AASnC,SAASG,EAAoBC,GAAQ;AAClD,SAAOA,EAAO,UAAUT,KAAsBO,EAA2B,KAAKE,CAAM;AACtF;AAQO,SAASC,EAAyBD,GAAQ;AAC/C,SAAOL,EAAiC,KAAKK,CAAM;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index332.js
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import o from "./index337.js";
|
|
2
|
+
var n = new RegExp("(?:" + o() + ")$", "i");
|
|
3
|
+
function c(e) {
|
|
4
|
+
var a = e.search(n);
|
|
5
|
+
if (a < 0)
|
|
6
|
+
return {};
|
|
7
|
+
for (var i = e.slice(0, a), r = e.match(n), t = 1; t < r.length; ) {
|
|
8
|
+
if (r[t])
|
|
9
|
+
return {
|
|
10
|
+
number: i,
|
|
11
|
+
ext: r[t]
|
|
12
|
+
};
|
|
13
|
+
t++;
|
|
14
|
+
}
|
|
9
15
|
}
|
|
10
16
|
export {
|
|
11
|
-
|
|
12
|
-
o as useCSPContext
|
|
17
|
+
c as default
|
|
13
18
|
};
|
|
14
19
|
//# sourceMappingURL=index332.js.map
|
package/dist/index332.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index332.js","sources":["
|
|
1
|
+
{"version":3,"file":"index332.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js"],"sourcesContent":["import createExtensionPattern from './createExtensionPattern.js';\n\n// Regexp of all known extension prefixes used by different regions followed by\n// 1 or more valid digits, for use when parsing.\nvar EXTN_PATTERN = new RegExp('(?:' + createExtensionPattern() + ')$', 'i');\n\n// Strips any extension (as in, the part of the number dialled after the call is\n// connected, usually indicated with extn, ext, x or similar) from the end of\n// the number, and returns it.\nexport default function extractExtension(number) {\n var start = number.search(EXTN_PATTERN);\n if (start < 0) {\n return {};\n }\n // If we find a potential extension, and the number preceding this is a viable\n // number, we assume it is an extension.\n var numberWithoutExtension = number.slice(0, start);\n var matches = number.match(EXTN_PATTERN);\n var i = 1;\n while (i < matches.length) {\n if (matches[i]) {\n return {\n number: numberWithoutExtension,\n ext: matches[i]\n };\n }\n i++;\n }\n}\n//# sourceMappingURL=extractExtension.js.map"],"names":["EXTN_PATTERN","createExtensionPattern","extractExtension","number","start","numberWithoutExtension","matches","i"],"mappings":";AAIA,IAAIA,IAAe,IAAI,OAAO,QAAQC,EAAsB,IAAK,MAAM,GAAG;AAK3D,SAASC,EAAiBC,GAAQ;AAC/C,MAAIC,IAAQD,EAAO,OAAOH,CAAY;AACtC,MAAII,IAAQ;AACV,WAAO,CAAA;AAOT,WAHIC,IAAyBF,EAAO,MAAM,GAAGC,CAAK,GAC9CE,IAAUH,EAAO,MAAMH,CAAY,GACnCO,IAAI,GACDA,IAAID,EAAQ,UAAQ;AACzB,QAAIA,EAAQC,CAAC;AACX,aAAO;AAAA,QACL,QAAQF;AAAA,QACR,KAAKC,EAAQC,CAAC;AAAA,MACtB;AAEI,IAAAA;AAAA,EACF;AACF;","x_google_ignoreList":[0]}
|
package/dist/index333.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
process.env.NODE_ENV !== "production" && (e.displayName = "DirectionContext");
|
|
4
|
-
function o() {
|
|
5
|
-
return t.useContext(e)?.direction ?? "ltr";
|
|
1
|
+
function r(e, n) {
|
|
2
|
+
return e = e || "", new RegExp("^(?:" + n + ")$").test(e);
|
|
6
3
|
}
|
|
7
4
|
export {
|
|
8
|
-
|
|
9
|
-
o as useDirection
|
|
5
|
+
r as default
|
|
10
6
|
};
|
|
11
7
|
//# sourceMappingURL=index333.js.map
|
package/dist/index333.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index333.js","sources":["
|
|
1
|
+
{"version":3,"file":"index333.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js"],"sourcesContent":["/**\r\n * Checks whether the entire input sequence can be matched\r\n * against the regular expression.\r\n * @return {boolean}\r\n */\nexport default function matchesEntirely(text, regularExpressionText) {\n // If the assigning of the `''` default value is moved to the arguments above,\n // the code coverage would decrease for some weird reason.\n text = text || '';\n return new RegExp('^(?:' + regularExpressionText + ')$').test(text);\n}\n//# sourceMappingURL=matchesEntirely.js.map"],"names":["matchesEntirely","text","regularExpressionText"],"mappings":"AAKe,SAASA,EAAgBC,GAAMC,GAAuB;AAGnE,SAAAD,IAAOA,KAAQ,IACR,IAAI,OAAO,SAASC,IAAwB,IAAI,EAAE,KAAKD,CAAI;AACpE;","x_google_ignoreList":[0]}
|