@rpcbase/ui 0.207.0 → 0.209.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/index.js +13 -13
- package/dist/index100.js +3 -3
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +9 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -9
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +9 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +18 -12
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +25 -18
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +5 -24
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +2 -2
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -3
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +3 -3
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +3 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +3 -3
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +8 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +7 -8
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +34 -7
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +7 -34
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +5 -7
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -5
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +9 -7
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +3 -7
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +4 -3
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +3 -4
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +3 -3
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +4 -3
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +3 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +3 -3
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +7 -5
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +57 -8
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +7 -57
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +19 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +19 -19
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +34 -19
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -34
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +8 -5
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +13 -7
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -14
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +6 -10
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -5
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +5 -5
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +5 -5
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +5 -5
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +4 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -4
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +21 -7
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +9 -21
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +7 -8
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +5 -6
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -6
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +4 -6
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -4
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +5 -4
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +4 -5
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +5 -4
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -5
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -4
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +3 -3
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +29 -5
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +33 -29
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +15 -32
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +10 -14
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +9 -11
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +16 -9
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +86 -16
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +47 -86
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +16 -46
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +8 -17
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +10 -8
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -9
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +22 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +7 -22
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +6 -7
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -4
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -6
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +6 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +67 -6
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +17 -67
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +12 -17
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +9 -12
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +20 -9
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +14 -17
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +54 -16
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +9 -54
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +6 -10
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +26 -6
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +26 -26
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +10 -23
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +13 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +6 -13
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +23 -6
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +385 -23
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +1 -1
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +487 -377
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +122 -487
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +53 -131
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +76 -51
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +897 -75
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +19 -899
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +446 -17
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -448
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +57 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +56 -52
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -5
- package/dist/index213.js +1 -1
- package/dist/index215.js +58 -40
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +43 -9
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +10 -25
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +25 -45
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +44 -17
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +18 -3
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +3 -5
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +4 -20
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +20 -24
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +23 -66
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +67 -14
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +15 -4
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +4 -51
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +50 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -26
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +24 -11
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +12 -8
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +13 -3
- package/dist/index232.js.map +1 -0
- package/dist/index233.js +3 -29
- package/dist/index234.js +25 -68
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +71 -2
- package/dist/index235.js.map +1 -0
- package/dist/index236.js +3 -15
- package/dist/index237.js +12 -51
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +50 -114
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +115 -6
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +9 -0
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +6 -13
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +13 -687
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +668 -234
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +222 -670
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +700 -7430
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +7431 -7
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -12
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +12 -5
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +5 -459
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +454 -32
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +20 -8
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +36 -18
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +17 -25
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +27 -4
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +4 -58
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +58 -7
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +7 -12
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +13 -3
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +3 -17
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +14 -23
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +23 -41
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +56 -18
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +43 -13
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +13 -25
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +24 -16
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +15 -33
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +35 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -9
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +8 -7
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +8 -9
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +9 -10
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +10 -7
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +50 -53
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +7 -73
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +63 -161
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +157 -100
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +113 -13
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +12 -78
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +57 -23
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +45 -12
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +13 -16
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +15 -98
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +93 -50
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +1 -59
- package/dist/index280.js +5 -57
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +78 -41
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +58 -100
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +104 -46
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +51 -39
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +42 -141
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +122 -119
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +107 -222
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +173 -159
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +119 -177
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +4 -0
- package/dist/index290.js +298 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -6
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +6 -7
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +6 -5
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +4 -4
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +6 -21
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +21 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +10 -126
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +108 -146
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +151 -55
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +8 -6
- package/dist/index30.js.map +1 -0
- package/dist/index300.js +66 -107
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +107 -489
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +492 -63
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +63 -4
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +4 -28
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +27 -65
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +60 -147
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +137 -546
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +60 -209
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +551 -321
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +6 -5
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +206 -264
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +335 -0
- package/dist/index311.js.map +1 -0
- package/dist/index312.js +272 -0
- package/dist/index312.js.map +1 -0
- package/dist/index32.js +3 -3
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +7 -5
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +7 -4
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +5 -10
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +7 -5
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +8 -7
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +12 -8
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +5 -11
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +6 -6
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +5 -5
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +9 -6
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +8 -9
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +5 -8
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +2 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +11 -5
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +4 -4
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +6 -10
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +4 -7
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +6 -4
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +6 -6
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +5 -5
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +8 -5
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +13 -9
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +5 -12
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +4 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +4 -4
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +13 -6
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +4 -10
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +8 -7
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +68 -9
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +8 -68
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +31 -8
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +10 -31
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +16 -10
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +200 -15
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +21 -201
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +12 -16
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +123 -17
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +18 -122
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +9 -19
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +9 -8
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +11 -7
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +7 -11
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +6 -6
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +4 -9
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +42 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +368 -29
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +37 -379
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +22 -39
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +56 -20
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +7 -57
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +4 -6
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +3 -3
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +3 -3
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +3 -3
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +3 -3
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +10 -6
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +7 -10
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +6 -7
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +5 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +7 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +48 -8
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +104 -46
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +8 -103
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +3 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +6 -7
- package/dist/index99.js.map +1 -1
- package/package.json +3 -3
- package/dist/index233.js.map +0 -1
- package/dist/index236.js.map +0 -1
- package/dist/index28.js.map +0 -1
package/dist/index282.js
CHANGED
|
@@ -1,117 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Metadata as e } from "./index249.js";
|
|
2
|
+
import t from "./index251.js";
|
|
3
|
+
import { ParseError as n } from "./index273.js";
|
|
4
|
+
import r from "./index280.js";
|
|
5
|
+
import i from "./index281.js";
|
|
6
|
+
//#region ../../node_modules/libphonenumber-js/es6/validatePhoneNumberLength.js
|
|
7
|
+
function a(e) {
|
|
3
8
|
"@babel/helpers - typeof";
|
|
4
|
-
return
|
|
9
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
10
|
return typeof e;
|
|
6
11
|
} : function(e) {
|
|
7
12
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
-
}, e
|
|
13
|
+
}, a(e);
|
|
9
14
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
15
|
+
function o(e, t) {
|
|
16
|
+
var n = Object.keys(e);
|
|
17
|
+
if (Object.getOwnPropertySymbols) {
|
|
18
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
19
|
+
t && (r = r.filter(function(t) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
21
|
+
})), n.push.apply(n, r);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
12
24
|
}
|
|
13
|
-
function
|
|
14
|
-
for (var
|
|
15
|
-
var
|
|
16
|
-
|
|
25
|
+
function s(e) {
|
|
26
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
27
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
28
|
+
t % 2 ? o(Object(n), !0).forEach(function(t) {
|
|
29
|
+
c(e, t, n[t]);
|
|
30
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach(function(t) {
|
|
31
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
32
|
+
});
|
|
17
33
|
}
|
|
34
|
+
return e;
|
|
18
35
|
}
|
|
19
|
-
function
|
|
20
|
-
return t
|
|
36
|
+
function c(e, t, n) {
|
|
37
|
+
return (t = l(t)) in e ? Object.defineProperty(e, t, {
|
|
38
|
+
value: n,
|
|
39
|
+
enumerable: !0,
|
|
40
|
+
configurable: !0,
|
|
41
|
+
writable: !0
|
|
42
|
+
}) : e[t] = n, e;
|
|
21
43
|
}
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
return
|
|
44
|
+
function l(e) {
|
|
45
|
+
var t = u(e, "string");
|
|
46
|
+
return a(t) == "symbol" ? t : t + "";
|
|
25
47
|
}
|
|
26
|
-
function
|
|
27
|
-
if (e
|
|
28
|
-
var
|
|
29
|
-
if (
|
|
30
|
-
var
|
|
31
|
-
if (
|
|
48
|
+
function u(e, t) {
|
|
49
|
+
if (a(e) != "object" || !e) return e;
|
|
50
|
+
var n = e[Symbol.toPrimitive];
|
|
51
|
+
if (n !== void 0) {
|
|
52
|
+
var r = n.call(e, t || "default");
|
|
53
|
+
if (a(r) != "object") return r;
|
|
32
54
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
33
55
|
}
|
|
34
|
-
return (
|
|
56
|
+
return (t === "string" ? String : Number)(e);
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
58
|
+
function d() {
|
|
59
|
+
var a = i(arguments), o = a.text, c = a.options, l = a.metadata;
|
|
60
|
+
c = s(s({}, c), {}, { extract: !1 });
|
|
61
|
+
try {
|
|
62
|
+
var u = r(o, c, l);
|
|
63
|
+
l = new e(l), l.selectNumberingPlan(u.countryCallingCode);
|
|
64
|
+
var d = t(u.nationalNumber, u.country, l);
|
|
65
|
+
if (d !== "IS_POSSIBLE") return d;
|
|
66
|
+
} catch (e) {
|
|
67
|
+
/* istanbul ignore else */
|
|
68
|
+
if (e instanceof n) return e.message;
|
|
69
|
+
throw e;
|
|
40
70
|
}
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
key: "reset",
|
|
44
|
-
value: function(e) {
|
|
45
|
-
var t = e.country, n = e.callingCode;
|
|
46
|
-
this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(t, n);
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
key: "resetNationalSignificantNumber",
|
|
51
|
-
value: function() {
|
|
52
|
-
this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberIsModified = !1, this.nationalPrefix = void 0, this.carrierCode = void 0, this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = void 0;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
key: "update",
|
|
57
|
-
value: function(e) {
|
|
58
|
-
for (var t = 0, n = Object.keys(e); t < n.length; t++) {
|
|
59
|
-
var r = n[t];
|
|
60
|
-
this[r] = e[r];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
key: "initCountryAndCallingCode",
|
|
66
|
-
value: function(e, t) {
|
|
67
|
-
this.setCountry(e), this.setCallingCode(t);
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
key: "setCountry",
|
|
72
|
-
value: function(e) {
|
|
73
|
-
this.country = e, this.onCountryChange(e);
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
key: "setCallingCode",
|
|
78
|
-
value: function(e) {
|
|
79
|
-
this.callingCode = e, this.onCallingCodeChange(e, this.country);
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "startInternationalNumber",
|
|
84
|
-
value: function(e, t) {
|
|
85
|
-
this.international = !0, this.initCountryAndCallingCode(e, t);
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
key: "appendDigits",
|
|
90
|
-
value: function(e) {
|
|
91
|
-
this.digits += e;
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
key: "appendNationalSignificantNumberDigits",
|
|
96
|
-
value: function(e) {
|
|
97
|
-
this.nationalSignificantNumber += e;
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
key: "getNationalDigits",
|
|
102
|
-
value: function() {
|
|
103
|
-
return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
key: "getDigitsWithoutInternationalPrefix",
|
|
108
|
-
value: function() {
|
|
109
|
-
return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]);
|
|
113
|
-
}();
|
|
71
|
+
}
|
|
114
72
|
//#endregion
|
|
115
|
-
export {
|
|
73
|
+
export { d as default };
|
|
116
74
|
|
|
117
75
|
//# sourceMappingURL=index282.js.map
|
package/dist/index282.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index282.js","names":[],"sources":["../../../node_modules/libphonenumber-js/es6/AsYouTypeState.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n// This \"state\" object simply holds the state of the \"AsYouType\" parser:\n//\n// * `country?: string` — The exact country of the phone number, if it could be determined.\n// When inputting a phone number in \"international\" format, it will derive the `country` from \"country calling code\" and the phone number digits.\n// When inputting a phone number in \"national\" format, it will derive the `country` from `defaultCountry` that was specified when creating the `AsYouType` formatter.\n// Sidenote: If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` flag was `true`, then for \"non-geographic phone numbers\" `state.country` would've been \"001\".\n// * `callingCode?: string` — \"Country calling code\" that has been extracted from the input phone number.\n// When inputting a phone number in \"international\" format, it will extract the \"country calling code\" from the digits that follow the \"+\" character.\n// When inputting a phone number in \"national\" format, `callingCode` will be `undefined`.\n// Sidenote: `state.callingCode` is therefore independent from `state.country` and there could be situations when `state.country` is defined by `state.callingCode` is not — that would be when inputting a phone number not in \"international\" format.\n// * `digits: string` — Phone number digits that have been input so far, including the \"+\" character, if present. In case of inputting non-arabic digits, those will be converted to arabic ones.\n// * `international: boolean` — Whether the phone number is being input in \"international\" format, i.e. with a \"+\" character.\n// * `missingPlus: boolean` — Whether it's a phone number in \"international\" format that is missing the leading \"+\" character for some reason — apparently, Google thinks that it's a common mistake when inputting a phone number.\n// * `IDDPrefix?: string` — An \"IDD prefix\", when the phone number is being input in an \"out-of-country dialing\" format. https://wikitravel.org/en/International_dialling_prefix\n// * `carrierCode?: string` — A \"carrier code\", if the phone number contains it. Normally, those can only be present in Colombia or Brazil, and only when calling from mobile phones to fixed-line numbers.\n// * `nationalPrefix?: string` — \"National prefix\", if present in the phone number input.\n// * `nationalSignificantNumber?: string` — National (significant) number digits that have been input so far.\n// * `nationalSignificantNumberIsModified: boolean` — Tells if the parsed national (significant) number is present as-is in the input string. For example, when inputting \"0343515551212999\" Argentinian mobile number, the parsed national (significant) number is \"93435551212999\". There, one can see how it stripped \"0\" national prefix and prepended a \"9\", because that's how it is instructed to do in Argentina's metadata. So in the described example, the parsed national (significant) number is not present as-is in the input string. Instead, it's \"modified\" in the input string. https://gitlab.com/caamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n// * `prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix?: string` — In some countries, a phone number could have a prefix that is not a \"national prefix\" but rather some other type of \"utility\" prefix.\n// For example, when calling within Australia, one could prepend `1831` prefix to hide caller's phone number.\n// https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n//\nvar AsYouTypeState = /*#__PURE__*/function () {\n function AsYouTypeState(_ref) {\n var onCountryChange = _ref.onCountryChange,\n onCallingCodeChange = _ref.onCallingCodeChange;\n _classCallCheck(this, AsYouTypeState);\n this.onCountryChange = onCountryChange;\n this.onCallingCodeChange = onCallingCodeChange;\n }\n return _createClass(AsYouTypeState, [{\n key: \"reset\",\n value: function reset(_ref2) {\n var country = _ref2.country,\n callingCode = _ref2.callingCode;\n this.international = false;\n this.missingPlus = false;\n this.IDDPrefix = undefined;\n this.callingCode = undefined;\n this.digits = '';\n this.resetNationalSignificantNumber();\n this.initCountryAndCallingCode(country, callingCode);\n }\n }, {\n key: \"resetNationalSignificantNumber\",\n value: function resetNationalSignificantNumber() {\n this.nationalSignificantNumber = this.getNationalDigits();\n this.nationalSignificantNumberIsModified = false;\n this.nationalPrefix = undefined;\n this.carrierCode = undefined;\n this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = undefined;\n }\n }, {\n key: \"update\",\n value: function update(properties) {\n for (var _i = 0, _Object$keys = Object.keys(properties); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n this[key] = properties[key];\n }\n }\n }, {\n key: \"initCountryAndCallingCode\",\n value: function initCountryAndCallingCode(country, callingCode) {\n this.setCountry(country);\n this.setCallingCode(callingCode);\n }\n }, {\n key: \"setCountry\",\n value: function setCountry(country) {\n this.country = country;\n this.onCountryChange(country);\n }\n }, {\n key: \"setCallingCode\",\n value: function setCallingCode(callingCode) {\n this.callingCode = callingCode;\n this.onCallingCodeChange(callingCode, this.country);\n }\n }, {\n key: \"startInternationalNumber\",\n value: function startInternationalNumber(country, callingCode) {\n // Prepend the `+` to parsed input.\n this.international = true;\n // If a default country was set then reset it\n // because an explicitly international phone\n // number is being entered.\n this.initCountryAndCallingCode(country, callingCode);\n }\n }, {\n key: \"appendDigits\",\n value: function appendDigits(nextDigits) {\n this.digits += nextDigits;\n }\n }, {\n key: \"appendNationalSignificantNumberDigits\",\n value: function appendNationalSignificantNumberDigits(nextDigits) {\n this.nationalSignificantNumber += nextDigits;\n }\n\n /**\r\n * Returns the part of `this.digits` that corresponds to the national number.\r\n * Basically, all digits that have been input by the user, except for the\r\n * international prefix and the country calling code part\r\n * (if the number is an international one).\r\n * @return {string}\r\n */\n }, {\n key: \"getNationalDigits\",\n value: function getNationalDigits() {\n if (this.international) {\n return this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0));\n }\n return this.digits;\n }\n }, {\n key: \"getDigitsWithoutInternationalPrefix\",\n value: function getDigitsWithoutInternationalPrefix() {\n if (this.international) {\n if (this.IDDPrefix) {\n return this.digits.slice(this.IDDPrefix.length);\n }\n }\n return this.digits;\n }\n }]);\n}();\nexport { AsYouTypeState as default };\n//# sourceMappingURL=AsYouTypeState.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,SAAS,EAAgB,GAAG,GAAG;AAAE,KAAI,EAAE,aAAa,GAAI,OAAU,UAAU,oCAAoC;;AAChH,SAAS,EAAkB,GAAG,GAAG;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,EAAE,QAAQ,KAAK;EAAE,IAAI,IAAI,EAAE;AAAI,IAAE,aAAa,EAAE,cAAc,CAAC,GAAG,EAAE,eAAe,CAAC,GAAG,WAAW,MAAM,EAAE,WAAW,CAAC,IAAI,OAAO,eAAe,GAAG,EAAe,EAAE,IAAI,EAAE,EAAE;;;AACnO,SAAS,EAAa,GAAG,GAAG,GAAG;AAAE,QAAO,KAAK,EAAkB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAkB,GAAG,EAAE,EAAE,OAAO,eAAe,GAAG,aAAa,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE;;AACvK,SAAS,EAAe,GAAG;CAAE,IAAI,IAAI,EAAa,GAAG,SAAS;AAAE,QAAmB,EAAQ,EAAE,IAAtB,WAAyB,IAAI,IAAI;;AACxG,SAAS,EAAa,GAAG,GAAG;AAAE,KAAgB,EAAQ,EAAE,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,GAAS;AAElC,IADA,KAAK,UAAU,GACf,KAAK,gBAAgB,EAAQ;;GAEhC;EAAE;GACD,KAAK;GACL,OAAO,SAAwB,GAAa;AAE1C,IADA,KAAK,cAAc,GACnB,KAAK,oBAAoB,GAAa,KAAK,QAAQ;;GAEtD;EAAE;GACD,KAAK;GACL,OAAO,SAAkC,GAAS,GAAa;AAM7D,IAJA,KAAK,gBAAgB,IAIrB,KAAK,0BAA0B,GAAS,EAAY;;GAEvD;EAAE;GACD,KAAK;GACL,OAAO,SAAsB,GAAY;AACvC,SAAK,UAAU;;GAElB;EAAE;GACD,KAAK;GACL,OAAO,SAA+C,GAAY;AAChE,SAAK,6BAA6B;;GAUrC;EAAE;GACD,KAAK;GACL,OAAO,WAA6B;AAIlC,WAHI,KAAK,gBACA,KAAK,OAAO,OAAO,KAAK,YAAY,KAAK,UAAU,SAAS,MAAM,KAAK,cAAc,KAAK,YAAY,SAAS,GAAG,GAEpH,KAAK;;GAEf;EAAE;GACD,KAAK;GACL,OAAO,WAA+C;AAMpD,WALI,KAAK,iBACH,KAAK,YACA,KAAK,OAAO,MAAM,KAAK,UAAU,OAAO,GAG5C,KAAK;;GAEf;EAAC,CAAC;GACF"}
|
|
1
|
+
{"version":3,"file":"index282.js","names":[],"sources":["../../../node_modules/libphonenumber-js/es6/validatePhoneNumberLength.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport normalizeArguments from './normalizeArguments.js';\nimport parsePhoneNumberWithError from './parsePhoneNumberWithError_.js';\nimport ParseError from './ParseError.js';\nimport Metadata from './metadata.js';\nimport checkNumberLength from './helpers/checkNumberLength.js';\nexport default function validatePhoneNumberLength() {\n var _normalizeArguments = normalizeArguments(arguments),\n text = _normalizeArguments.text,\n options = _normalizeArguments.options,\n metadata = _normalizeArguments.metadata;\n options = _objectSpread(_objectSpread({}, options), {}, {\n extract: false\n });\n\n // Parse phone number.\n try {\n var phoneNumber = parsePhoneNumberWithError(text, options, metadata);\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(phoneNumber.countryCallingCode);\n var result = checkNumberLength(phoneNumber.nationalNumber, phoneNumber.country, metadata);\n if (result !== 'IS_POSSIBLE') {\n return result;\n }\n } catch (error) {\n /* istanbul ignore else */\n if (error instanceof ParseError) {\n return error.message;\n } else {\n throw error;\n }\n }\n}\n//# sourceMappingURL=validatePhoneNumberLength.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAA,SAAS,EAAQ,GAAG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,GAAG,SAAS;AAAE,QAAmB,EAAQ,EAAE,IAAtB,WAAyB,IAAI,IAAI;;AACxG,SAAS,EAAa,GAAG,GAAG;AAAE,KAAgB,EAAQ,EAAE,IAAtB,YAA0B,CAAC,EAAG,QAAO;CAAG,IAAI,IAAI,EAAE,OAAO;AAAc,KAAe,MAAX,KAAK,GAAS;EAAE,IAAI,IAAI,EAAE,KAAK,GAAG,KAAK,UAAU;AAAE,MAAgB,EAAQ,EAAE,IAAtB,SAAwB,QAAO;AAAG,QAAU,UAAU,+CAA+C;;AAAI,SAAqB,MAAb,WAAiB,SAAS,QAAQ,EAAE;;AAMzT,SAAwB,IAA4B;CAClD,IAAI,IAAsB,EAAmB,UAAU,EACrD,IAAO,EAAoB,MAC3B,IAAU,EAAoB,SAC9B,IAAW,EAAoB;AACjC,KAAU,EAAc,EAAc,EAAE,EAAE,EAAQ,EAAE,EAAE,EAAE,EACtD,SAAS,IACV,CAAC;AAGF,KAAI;EACF,IAAI,IAAc,EAA0B,GAAM,GAAS,EAAS;AAEpE,EADA,IAAW,IAAI,EAAS,EAAS,EACjC,EAAS,oBAAoB,EAAY,mBAAmB;EAC5D,IAAI,IAAS,EAAkB,EAAY,gBAAgB,EAAY,SAAS,EAAS;AACzF,MAAI,MAAW,cACb,QAAO;UAEF,GAAO;;AAEd,MAAI,aAAiB,EACnB,QAAO,EAAM;AAEb,QAAM"}
|
package/dist/index283.js
CHANGED
|
@@ -1,59 +1,117 @@
|
|
|
1
|
-
//#region ../../node_modules/libphonenumber-js/es6/
|
|
2
|
-
function e(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return i >= e.length ? { done: !0 } : {
|
|
10
|
-
done: !1,
|
|
11
|
-
value: e[i++]
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6/AsYouTypeState.js
|
|
2
|
+
function e(t) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
|
+
return typeof e;
|
|
6
|
+
} : function(e) {
|
|
7
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
+
}, e(t);
|
|
16
9
|
}
|
|
17
10
|
function t(e, t) {
|
|
18
|
-
if (e)
|
|
19
|
-
if (typeof e == "string") return n(e, t);
|
|
20
|
-
var r = {}.toString.call(e).slice(8, -1);
|
|
21
|
-
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) ? n(e, t) : void 0;
|
|
22
|
-
}
|
|
11
|
+
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
23
12
|
}
|
|
24
13
|
function n(e, t) {
|
|
25
|
-
(
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
for (var n = 0; n < t.length; n++) {
|
|
15
|
+
var r = t[n];
|
|
16
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, i(r.key), r);
|
|
17
|
+
}
|
|
28
18
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (t < 1) return "";
|
|
32
|
-
for (var n = ""; t > 1;) t & 1 && (n += e), t >>= 1, e += e;
|
|
33
|
-
return n + e;
|
|
19
|
+
function r(e, t, r) {
|
|
20
|
+
return t && n(e.prototype, t), r && n(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
34
21
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
22
|
+
function i(t) {
|
|
23
|
+
var n = a(t, "string");
|
|
24
|
+
return e(n) == "symbol" ? n : n + "";
|
|
37
25
|
}
|
|
38
|
-
function
|
|
39
|
-
|
|
40
|
-
var r =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
function a(t, n) {
|
|
27
|
+
if (e(t) != "object" || !t) return t;
|
|
28
|
+
var r = t[Symbol.toPrimitive];
|
|
29
|
+
if (r !== void 0) {
|
|
30
|
+
var i = r.call(t, n || "default");
|
|
31
|
+
if (e(i) != "object") return i;
|
|
32
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
45
33
|
}
|
|
46
|
-
return
|
|
34
|
+
return (n === "string" ? String : Number)(t);
|
|
47
35
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
var
|
|
51
|
-
|
|
52
|
-
n = t.search(r), t = t.replace(r, s);
|
|
36
|
+
var o = /* @__PURE__ */ function() {
|
|
37
|
+
function e(n) {
|
|
38
|
+
var r = n.onCountryChange, i = n.onCallingCodeChange;
|
|
39
|
+
t(this, e), this.onCountryChange = r, this.onCallingCodeChange = i;
|
|
53
40
|
}
|
|
54
|
-
return
|
|
55
|
-
|
|
41
|
+
return r(e, [
|
|
42
|
+
{
|
|
43
|
+
key: "reset",
|
|
44
|
+
value: function(e) {
|
|
45
|
+
var t = e.country, n = e.callingCode;
|
|
46
|
+
this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(t, n);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
key: "resetNationalSignificantNumber",
|
|
51
|
+
value: function() {
|
|
52
|
+
this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberIsModified = !1, this.nationalPrefix = void 0, this.carrierCode = void 0, this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = void 0;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
key: "update",
|
|
57
|
+
value: function(e) {
|
|
58
|
+
for (var t = 0, n = Object.keys(e); t < n.length; t++) {
|
|
59
|
+
var r = n[t];
|
|
60
|
+
this[r] = e[r];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: "initCountryAndCallingCode",
|
|
66
|
+
value: function(e, t) {
|
|
67
|
+
this.setCountry(e), this.setCallingCode(t);
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
key: "setCountry",
|
|
72
|
+
value: function(e) {
|
|
73
|
+
this.country = e, this.onCountryChange(e);
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "setCallingCode",
|
|
78
|
+
value: function(e) {
|
|
79
|
+
this.callingCode = e, this.onCallingCodeChange(e, this.country);
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
key: "startInternationalNumber",
|
|
84
|
+
value: function(e, t) {
|
|
85
|
+
this.international = !0, this.initCountryAndCallingCode(e, t);
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
key: "appendDigits",
|
|
90
|
+
value: function(e) {
|
|
91
|
+
this.digits += e;
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
key: "appendNationalSignificantNumberDigits",
|
|
96
|
+
value: function(e) {
|
|
97
|
+
this.nationalSignificantNumber += e;
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: "getNationalDigits",
|
|
102
|
+
value: function() {
|
|
103
|
+
return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "getDigitsWithoutInternationalPrefix",
|
|
108
|
+
value: function() {
|
|
109
|
+
return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
]);
|
|
113
|
+
}();
|
|
56
114
|
//#endregion
|
|
57
|
-
export {
|
|
115
|
+
export { o as AsYouTypeState };
|
|
58
116
|
|
|
59
117
|
//# sourceMappingURL=index283.js.map
|
package/dist/index283.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index283.js","names":[],"sources":["../../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.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; }\n// Should be the same as `DIGIT_PLACEHOLDER` in `libphonenumber-metadata-generator`.\nexport var DIGIT_PLACEHOLDER = 'x'; // '\\u2008' (punctuation space)\nvar DIGIT_PLACEHOLDER_MATCHER = new RegExp(DIGIT_PLACEHOLDER);\n\n// Counts all occurences of a symbol in a string.\n// Unicode-unsafe (because using `.split()`).\nexport function countOccurences(symbol, string) {\n var count = 0;\n // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for counting brackets it is safe.\n // for (const character of string)\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n if (character === symbol) {\n count++;\n }\n }\n return count;\n}\n\n// Repeats a string (or a symbol) N times.\n// http://stackoverflow.com/questions/202605/repeat-string-javascript\nexport function repeat(string, times) {\n if (times < 1) {\n return '';\n }\n var result = '';\n while (times > 1) {\n if (times & 1) {\n result += string;\n }\n times >>= 1;\n string += string;\n }\n return result + string;\n}\nexport function cutAndStripNonPairedParens(string, cutBeforeIndex) {\n if (string[cutBeforeIndex] === ')') {\n cutBeforeIndex++;\n }\n return stripNonPairedParens(string.slice(0, cutBeforeIndex));\n}\nexport function closeNonPairedParens(template, cut_before) {\n var retained_template = template.slice(0, cut_before);\n var opening_braces = countOccurences('(', retained_template);\n var closing_braces = countOccurences(')', retained_template);\n var dangling_braces = opening_braces - closing_braces;\n while (dangling_braces > 0 && cut_before < template.length) {\n if (template[cut_before] === ')') {\n dangling_braces--;\n }\n cut_before++;\n }\n return template.slice(0, cut_before);\n}\nexport function stripNonPairedParens(string) {\n var dangling_braces = [];\n var i = 0;\n while (i < string.length) {\n if (string[i] === '(') {\n dangling_braces.push(i);\n } else if (string[i] === ')') {\n dangling_braces.pop();\n }\n i++;\n }\n var start = 0;\n var cleared_string = '';\n dangling_braces.push(string.length);\n for (var _i = 0, _dangling_braces = dangling_braces; _i < _dangling_braces.length; _i++) {\n var index = _dangling_braces[_i];\n cleared_string += string.slice(start, index);\n start = index + 1;\n }\n return cleared_string;\n}\nexport function populateTemplateWithDigits(template, position, digits) {\n // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for `digits` it is safe.\n // for (const digit of digits)\n for (var _iterator2 = _createForOfIteratorHelperLoose(digits.split('')), _step2; !(_step2 = _iterator2()).done;) {\n var digit = _step2.value;\n // If there is room for more digits in current `template`,\n // then set the next digit in the `template`,\n // and return the formatted digits so far.\n // If more digits are entered than the current format could handle.\n if (template.slice(position + 1).search(DIGIT_PLACEHOLDER_MATCHER) < 0) {\n return;\n }\n position = template.search(DIGIT_PLACEHOLDER_MATCHER);\n template = template.replace(DIGIT_PLACEHOLDER_MATCHER, digit);\n }\n return [template, position];\n}\n//# sourceMappingURL=AsYouTypeFormatter.util.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAgC,GAAG,GAAG;CAAE,IAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,EAAE;AAAE,KAAI,MAAM,QAAQ,EAAE,KAAK,IAAI,EAA4B,EAAE,KAAK,KAAK,KAAiB,OAAO,EAAE,UAArB,UAA6B;AAAE,QAAM,IAAI;EAAI,IAAI,IAAI;AAAG,SAAO,WAAY;AAAE,UAAO,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,GAAG;IAAE,MAAM,CAAC;IAAG,OAAO,EAAE;IAAM;;;AAAO,OAAU,UAAU,wIAAwI;;AACviB,SAAS,EAA4B,GAAG,GAAG;AAAE,KAAI,GAAG;AAAE,MAAgB,OAAO,KAAnB,SAAsB,QAAO,EAAkB,GAAG,EAAE;EAAE,IAAI,IAAI,EAAE,CAAC,SAAS,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG;AAAE,SAAoB,MAAb,YAAkB,EAAE,gBAAgB,IAAI,EAAE,YAAY,OAAiB,MAAV,SAAyB,MAAV,QAAc,MAAM,KAAK,EAAE,GAAmB,MAAhB,eAAqB,2CAA2C,KAAK,EAAE,GAAG,EAAkB,GAAG,EAAE,GAAG,KAAK;;;AACpX,SAAS,EAAkB,GAAG,GAAG;AAAE,EAAS,KAAR,QAAa,IAAI,EAAE,YAAY,IAAI,EAAE;AAAS,MAAK,IAAI,I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onenumber-js/es6/AsYouTypeState.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n// This \"state\" object simply holds the state of the \"AsYouType\" parser:\n//\n// * `country?: string` — The exact country of the phone number, if it could be determined.\n// When inputting a phone number in \"international\" format, it will derive the `country` from \"country calling code\" and the phone number digits.\n// When inputting a phone number in \"national\" format, it will derive the `country` from `defaultCountry` that was specified when creating the `AsYouType` formatter.\n// Sidenote: If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` flag was `true`, then for \"non-geographic phone numbers\" `state.country` would've been \"001\".\n// * `callingCode?: string` — \"Country calling code\" that has been extracted from the input phone number.\n// When inputting a phone number in \"international\" format, it will extract the \"country calling code\" from the digits that follow the \"+\" character.\n// When inputting a phone number in \"national\" format, `callingCode` will be `undefined`.\n// Sidenote: `state.callingCode` is therefore independent from `state.country` and there could be situations when `state.country` is defined by `state.callingCode` is not — that would be when inputting a phone number not in \"international\" format.\n// * `digits: string` — Phone number digits that have been input so far, including the \"+\" character, if present. In case of inputting non-arabic digits, those will be converted to arabic ones.\n// * `international: boolean` — Whether the phone number is being input in \"international\" format, i.e. with a \"+\" character.\n// * `missingPlus: boolean` — Whether it's a phone number in \"international\" format that is missing the leading \"+\" character for some reason — apparently, Google thinks that it's a common mistake when inputting a phone number.\n// * `IDDPrefix?: string` — An \"IDD prefix\", when the phone number is being input in an \"out-of-country dialing\" format. https://wikitravel.org/en/International_dialling_prefix\n// * `carrierCode?: string` — A \"carrier code\", if the phone number contains it. Normally, those can only be present in Colombia or Brazil, and only when calling from mobile phones to fixed-line numbers.\n// * `nationalPrefix?: string` — \"National prefix\", if present in the phone number input.\n// * `nationalSignificantNumber?: string` — National (significant) number digits that have been input so far.\n// * `nationalSignificantNumberIsModified: boolean` — Tells if the parsed national (significant) number is present as-is in the input string. For example, when inputting \"0343515551212999\" Argentinian mobile number, the parsed national (significant) number is \"93435551212999\". There, one can see how it stripped \"0\" national prefix and prepended a \"9\", because that's how it is instructed to do in Argentina's metadata. So in the described example, the parsed national (significant) number is not present as-is in the input string. Instead, it's \"modified\" in the input string. https://gitlab.com/caamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n// * `prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix?: string` — In some countries, a phone number could have a prefix that is not a \"national prefix\" but rather some other type of \"utility\" prefix.\n// For example, when calling within Australia, one could prepend `1831` prefix to hide caller's phone number.\n// https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n//\nvar AsYouTypeState = /*#__PURE__*/function () {\n function AsYouTypeState(_ref) {\n var onCountryChange = _ref.onCountryChange,\n onCallingCodeChange = _ref.onCallingCodeChange;\n _classCallCheck(this, AsYouTypeState);\n this.onCountryChange = onCountryChange;\n this.onCallingCodeChange = onCallingCodeChange;\n }\n return _createClass(AsYouTypeState, [{\n key: \"reset\",\n value: function reset(_ref2) {\n var country = _ref2.country,\n callingCode = _ref2.callingCode;\n this.international = false;\n this.missingPlus = false;\n this.IDDPrefix = undefined;\n this.callingCode = undefined;\n this.digits = '';\n this.resetNationalSignificantNumber();\n this.initCountryAndCallingCode(country, callingCode);\n }\n }, {\n key: \"resetNationalSignificantNumber\",\n value: function resetNationalSignificantNumber() {\n this.nationalSignificantNumber = this.getNationalDigits();\n this.nationalSignificantNumberIsModified = false;\n this.nationalPrefix = undefined;\n this.carrierCode = undefined;\n this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = undefined;\n }\n }, {\n key: \"update\",\n value: function update(properties) {\n for (var _i = 0, _Object$keys = Object.keys(properties); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n this[key] = properties[key];\n }\n }\n }, {\n key: \"initCountryAndCallingCode\",\n value: function initCountryAndCallingCode(country, callingCode) {\n this.setCountry(country);\n this.setCallingCode(callingCode);\n }\n }, {\n key: \"setCountry\",\n value: function setCountry(country) {\n this.country = country;\n this.onCountryChange(country);\n }\n }, {\n key: \"setCallingCode\",\n value: function setCallingCode(callingCode) {\n this.callingCode = callingCode;\n this.onCallingCodeChange(callingCode, this.country);\n }\n }, {\n key: \"startInternationalNumber\",\n value: function startInternationalNumber(country, callingCode) {\n // Prepend the `+` to parsed input.\n this.international = true;\n // If a default country was set then reset it\n // because an explicitly international phone\n // number is being entered.\n this.initCountryAndCallingCode(country, callingCode);\n }\n }, {\n key: \"appendDigits\",\n value: function appendDigits(nextDigits) {\n this.digits += nextDigits;\n }\n }, {\n key: \"appendNationalSignificantNumberDigits\",\n value: function appendNationalSignificantNumberDigits(nextDigits) {\n this.nationalSignificantNumber += nextDigits;\n }\n\n /**\r\n * Returns the part of `this.digits` that corresponds to the national number.\r\n * Basically, all digits that have been input by the user, except for the\r\n * international prefix and the country calling code part\r\n * (if the number is an international one).\r\n * @return {string}\r\n */\n }, {\n key: \"getNationalDigits\",\n value: function getNationalDigits() {\n if (this.international) {\n return this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0));\n }\n return this.digits;\n }\n }, {\n key: \"getDigitsWithoutInternationalPrefix\",\n value: function getDigitsWithoutInternationalPrefix() {\n if (this.international) {\n if (this.IDDPrefix) {\n return this.digits.slice(this.IDDPrefix.length);\n }\n }\n return this.digits;\n }\n }]);\n}();\nexport { AsYouTypeState as default };\n//# sourceMappingURL=AsYouTypeState.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,SAAS,EAAgB,GAAG,GAAG;AAAE,KAAI,EAAE,aAAa,GAAI,OAAU,UAAU,oCAAoC;;AAChH,SAAS,EAAkB,GAAG,GAAG;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,EAAE,QAAQ,KAAK;EAAE,IAAI,IAAI,EAAE;AAAI,IAAE,aAAa,EAAE,cAAc,CAAC,GAAG,EAAE,eAAe,CAAC,GAAG,WAAW,MAAM,EAAE,WAAW,CAAC,IAAI,OAAO,eAAe,GAAG,EAAe,EAAE,IAAI,EAAE,EAAE;;;AACnO,SAAS,EAAa,GAAG,GAAG,GAAG;AAAE,QAAO,KAAK,EAAkB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAkB,GAAG,EAAE,EAAE,OAAO,eAAe,GAAG,aAAa,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE;;AACvK,SAAS,EAAe,GAAG;CAAE,IAAI,IAAI,EAAa,GAAG,SAAS;AAAE,QAAmB,EAAQ,EA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A,KAAK,WAAW,EAAQ,EACxB,KAAK,eAAe,EAAY;;GAEnC;EAAE;GACD,KAAK;GACL,OAAO,SAAoB,GAAS;AAElC,IADA,KAAK,UAAU,GACf,KAAK,gBAAgB,EAAQ;;GAEhC;EAAE;GACD,KAAK;GACL,OAAO,SAAwB,GAAa;AAE1C,IADA,KAAK,cAAc,GACnB,KAAK,oBAAoB,GAAa,KAAK,QAAQ;;GAEtD;EAAE;GACD,KAAK;GACL,OAAO,SAAkC,GAAS,GAAa;AAM7D,IAJA,KAAK,gBAAgB,IAIrB,KAAK,0BAA0B,GAAS,EAAY;;GAEvD;EAAE;GACD,KAAK;GACL,OAAO,SAAsB,GAAY;AACvC,SAAK,UAAU;;GAElB;EAAE;GACD,KAAK;GACL,OAAO,SAA+C,GAAY;AAChE,SAAK,6BAA6B;;GAUrC;EAAE;GACD,KAAK;GACL,OAAO,WAA6B;AAIlC,WAHI,KAAK,gBACA,KAAK,OAAO,OAAO,KAAK,YAAY,KAAK,UAAU,SAAS,MAAM,KAAK,cAAc,KAAK,YAAY,SAAS,GAAG,GAEpH,KAAK;;GAEf;EAAE;GACD,KAAK;GACL,OAAO,WAA+C;AAMpD,WALI,KAAK,iBACH,KAAK,YACA,KAAK,OAAO,MAAM,KAAK,UAAU,OAAO,GAG5C,KAAK;;GAEf;EAAC,CAAC;GACF"}
|
package/dist/index284.js
CHANGED
|
@@ -1,47 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js
|
|
2
|
+
function e(e, n) {
|
|
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 = t(e)) || n && e && typeof e.length == "number") {
|
|
6
|
+
r && (e = r);
|
|
7
|
+
var i = 0;
|
|
8
|
+
return function() {
|
|
9
|
+
return i >= e.length ? { done: !0 } : {
|
|
10
|
+
done: !1,
|
|
11
|
+
value: e[i++]
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
getSeparatorAfterNationalPrefix: a,
|
|
22
|
-
metadata: r
|
|
23
|
-
});
|
|
24
|
-
if (s) return s;
|
|
17
|
+
function t(e, t) {
|
|
18
|
+
if (e) {
|
|
19
|
+
if (typeof e == "string") return n(e, t);
|
|
20
|
+
var r = {}.toString.call(e).slice(8, -1);
|
|
21
|
+
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) ? n(e, t) : void 0;
|
|
25
22
|
}
|
|
26
|
-
return o(e, t, {
|
|
27
|
-
useNationalPrefixFormattingRule: !1,
|
|
28
|
-
getSeparatorAfterNationalPrefix: a,
|
|
29
|
-
metadata: r
|
|
30
|
-
});
|
|
31
23
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (
|
|
24
|
+
function n(e, t) {
|
|
25
|
+
(t == null || t > e.length) && (t = e.length);
|
|
26
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
27
|
+
return r;
|
|
28
|
+
}
|
|
29
|
+
var r = /* @__PURE__ */ RegExp("x");
|
|
30
|
+
function i(e, t) {
|
|
31
|
+
if (t < 1) return "";
|
|
32
|
+
for (var n = ""; t > 1;) t & 1 && (n += e), t >>= 1, e += e;
|
|
33
|
+
return n + e;
|
|
34
|
+
}
|
|
35
|
+
function a(e, t) {
|
|
36
|
+
return e[t] === ")" && t++, o(e.slice(0, t));
|
|
40
37
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
38
|
+
function o(e) {
|
|
39
|
+
for (var t = [], n = 0; n < e.length;) e[n] === "(" ? t.push(n) : e[n] === ")" && t.pop(), n++;
|
|
40
|
+
var r = 0, i = "";
|
|
41
|
+
t.push(e.length);
|
|
42
|
+
for (var a = 0, o = t; a < o.length; a++) {
|
|
43
|
+
var s = o[a];
|
|
44
|
+
i += e.slice(r, s), r = s + 1;
|
|
45
|
+
}
|
|
46
|
+
return i;
|
|
47
|
+
}
|
|
48
|
+
function s(t, n, i) {
|
|
49
|
+
for (var a = e(i.split("")), o; !(o = a()).done;) {
|
|
50
|
+
var s = o.value;
|
|
51
|
+
if (t.slice(n + 1).search(r) < 0) return;
|
|
52
|
+
n = t.search(r), t = t.replace(r, s);
|
|
53
|
+
}
|
|
54
|
+
return [t, n];
|
|
43
55
|
}
|
|
44
56
|
//#endregion
|
|
45
|
-
export {
|
|
57
|
+
export { a as cutAndStripNonPairedParens, s as populateTemplateWithDigits, i as repeat };
|
|
46
58
|
|
|
47
59
|
//# sourceMappingURL=index284.js.map
|
package/dist/index284.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index284.js","names":[],"sources":["../../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.
|
|
1
|
+
{"version":3,"file":"index284.js","names":[],"sources":["../../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.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; }\n// Should be the same as `DIGIT_PLACEHOLDER` in `libphonenumber-metadata-generator`.\nexport var DIGIT_PLACEHOLDER = 'x'; // '\\u2008' (punctuation space)\nvar DIGIT_PLACEHOLDER_MATCHER = new RegExp(DIGIT_PLACEHOLDER);\n\n// Counts all occurences of a symbol in a string.\n// Unicode-unsafe (because using `.split()`).\nexport function countOccurences(symbol, string) {\n var count = 0;\n // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for counting brackets it is safe.\n // for (const character of string)\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n if (character === symbol) {\n count++;\n }\n }\n return count;\n}\n\n// Repeats a string (or a symbol) N times.\n// http://stackoverflow.com/questions/202605/repeat-string-javascript\nexport function repeat(string, times) {\n if (times < 1) {\n return '';\n }\n var result = '';\n while (times > 1) {\n if (times & 1) {\n result += string;\n }\n times >>= 1;\n string += string;\n }\n return result + string;\n}\nexport function cutAndStripNonPairedParens(string, cutBeforeIndex) {\n if (string[cutBeforeIndex] === ')') {\n cutBeforeIndex++;\n }\n return stripNonPairedParens(string.slice(0, cutBeforeIndex));\n}\nexport function closeNonPairedParens(template, cut_before) {\n var retained_template = template.slice(0, cut_before);\n var opening_braces = countOccurences('(', retained_template);\n var closing_braces = countOccurences(')', retained_template);\n var dangling_braces = opening_braces - closing_braces;\n while (dangling_braces > 0 && cut_before < template.length) {\n if (template[cut_before] === ')') {\n dangling_braces--;\n }\n cut_before++;\n }\n return template.slice(0, cut_before);\n}\nexport function stripNonPairedParens(string) {\n var dangling_braces = [];\n var i = 0;\n while (i < string.length) {\n if (string[i] === '(') {\n dangling_braces.push(i);\n } else if (string[i] === ')') {\n dangling_braces.pop();\n }\n i++;\n }\n var start = 0;\n var cleared_string = '';\n dangling_braces.push(string.length);\n for (var _i = 0, _dangling_braces = dangling_braces; _i < _dangling_braces.length; _i++) {\n var index = _dangling_braces[_i];\n cleared_string += string.slice(start, index);\n start = index + 1;\n }\n return cleared_string;\n}\nexport function populateTemplateWithDigits(template, position, digits) {\n // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for `digits` it is safe.\n // for (const digit of digits)\n for (var _iterator2 = _createForOfIteratorHelperLoose(digits.split('')), _step2; !(_step2 = _iterator2()).done;) {\n var digit = _step2.value;\n // If there is room for more digits in current `template`,\n // then set the next digit in the `template`,\n // and return the formatted digits so far.\n // If more digits are entered than the current format could handle.\n if (template.slice(position + 1).search(DIGIT_PLACEHOLDER_MATCHER) < 0) {\n return;\n }\n position = template.search(DIGIT_PLACEHOLDER_MATCHER);\n template = template.replace(DIGIT_PLACEHOLDER_MATCHER, digit);\n }\n return [template, position];\n}\n//# sourceMappingURL=AsYouTypeFormatter.util.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAgC,GAAG,GAAG;CAAE,IAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,EAAE;AA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