@rpcbase/ui 0.185.0 → 0.187.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/helpers/useScrollPagination.d.ts.map +1 -1
- package/dist/index100.js +4 -107
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +6 -262
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +5 -9
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -42
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -46
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +9 -52
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -4
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +3 -3
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -15
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +145 -7
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +39 -16
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +7 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -5
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -5
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -4
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +31 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +10 -6
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +10 -24
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +8 -6
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +13 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +101 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -6
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +53 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +72 -5
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +9 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +20 -8
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +16 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +23 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -6
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +23 -145
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +34 -39
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +16 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +6 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -13
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +4 -13
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +4 -31
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -10
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -10
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +24 -9
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +7 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +6 -101
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +6 -20
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -53
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -72
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -9
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -20
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +4 -16
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +3 -23
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +3 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +42 -19
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +45 -33
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +206 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +22 -7
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -4
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +399 -4
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +68 -4
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +363 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +262 -24
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +60 -7
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +46 -6
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +169 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +109 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +24 -3
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +8 -5
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -3
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +4 -3
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +466 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +185 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +103 -42
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +253 -196
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +10 -22
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +42 -24
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -399
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -13
- package/dist/index183.js +58 -13
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +8 -154
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +64 -28
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +19 -9
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -45
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -11
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +4 -43
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +6 -95
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -86
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +7 -105
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +17 -52
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +5 -11
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +5 -37
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +13 -8
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +10 -116
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +14 -17
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +14 -15
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -3
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -36
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +7 -20
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -9
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +9 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -19
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -28
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +9 -16
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -58
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -8
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -66
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +11 -19
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +10 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +11 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +11 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +10 -4
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +6 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -17
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -5
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +6 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -13
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -9
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +55 -14
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +16 -14
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +7 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -6
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -7
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +21 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -9
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -9
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +16 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -4
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +18 -11
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +15 -10
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +12 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +29 -11
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +12 -11
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +25 -10
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -7
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +24 -6
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +29 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +5 -7
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +13 -7
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +154 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +28 -53
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -16
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +47 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +11 -10
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +43 -9
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +93 -19
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +86 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +105 -9
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +52 -9
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +11 -4
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +37 -5
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +8 -16
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +3 -9
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -18
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +115 -14
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +17 -12
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +14 -28
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +34 -10
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +19 -24
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +8 -5
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +19 -24
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -29
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +17 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +9 -9
- package/dist/index273.js +1 -1
- package/dist/index274.js +4 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +19 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +13 -19
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -13
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +3 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +24 -3
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +111 -22
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +14 -111
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +523 -14
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +114 -511
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +117 -111
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +20 -133
- package/dist/index285.js.map +1 -1
- package/dist/index293.js +2 -2
- package/dist/index296.js +1 -1
- package/dist/index297.js +2 -2
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +1 -1
- package/dist/index302.js +1 -1
- package/dist/index303.js +1 -1
- package/dist/index304.js +1 -1
- package/dist/index31.js +5 -5
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index35.js +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +20 -20
- package/dist/index48.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.js +5 -52
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +34 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +27 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +11 -7
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +2 -6
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +134 -119
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -2
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -7
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +53 -33
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +204 -26
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +3 -7
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +47 -11
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +49 -203
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +7 -3
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +14 -47
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +129 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +10 -7
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +215 -13
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +12 -133
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +46 -10
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +46 -213
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +4 -13
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +5 -46
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +28 -50
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +49 -3
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +9 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +6 -28
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +8 -50
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -9
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +52 -6
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -68
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -2
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +15 -363
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -261
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +7 -60
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +16 -46
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -169
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -109
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +5 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -8
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -5
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +24 -466
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +6 -185
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index267.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { VALID_DIGITS as A } from "./index171.js";
|
|
2
|
+
var g = ";ext=", t = function(a) {
|
|
3
|
+
return "([".concat(A, "]{1,").concat(a, "})");
|
|
4
|
+
};
|
|
5
|
+
function D(x) {
|
|
6
|
+
var a = "20", o = "15", i = "9", F = "6", n = "[ \\t,]*", e = "[:\\..]?[ \\t,-]*", r = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", E = "(?:[xx##~~]|int|int)", l = "[- ]+", u = "[ \\t]*", v = "(?:,{2}|;)", b = g + t(a), m = n + s + e + t(a) + r, p = n + E + e + t(i) + r, L = l + t(F) + "#", f = u + v + e + t(o) + r, c = u + "(?:,)+" + e + t(i) + r;
|
|
7
|
+
return b + "|" + m + "|" + p + "|" + L + "|" + f + "|" + c;
|
|
5
8
|
}
|
|
6
9
|
export {
|
|
7
|
-
|
|
10
|
+
D as default
|
|
8
11
|
};
|
|
9
12
|
//# sourceMappingURL=index267.js.map
|
package/dist/index267.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index267.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index267.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js"],"sourcesContent":["import { VALID_DIGITS } from '../../constants.js';\n\n// The RFC 3966 format for extensions.\nvar RFC3966_EXTN_PREFIX = ';ext=';\n\n/**\r\n * Helper method for constructing regular expressions for parsing. Creates\r\n * an expression that captures up to max_length digits.\r\n * @return {string} RegEx pattern to capture extension digits.\r\n */\nvar getExtensionDigitsPattern = function getExtensionDigitsPattern(maxLength) {\n return \"([\".concat(VALID_DIGITS, \"]{1,\").concat(maxLength, \"})\");\n};\n\n/**\r\n * Helper initialiser method to create the regular-expression pattern to match\r\n * extensions.\r\n * Copy-pasted from Google's `libphonenumber`:\r\n * https://github.com/google/libphonenumber/blob/55b2646ec9393f4d3d6661b9c82ef9e258e8b829/javascript/i18n/phonenumbers/phonenumberutil.js#L759-L766\r\n * @return {string} RegEx pattern to capture extensions.\r\n */\nexport default function createExtensionPattern(purpose) {\n // We cap the maximum length of an extension based on the ambiguity of the way\n // the extension is prefixed. As per ITU, the officially allowed length for\n // extensions is actually 40, but we don't support this since we haven't seen real\n // examples and this introduces many false interpretations as the extension labels\n // are not standardized.\n /** @type {string} */\n var extLimitAfterExplicitLabel = '20';\n /** @type {string} */\n var extLimitAfterLikelyLabel = '15';\n /** @type {string} */\n var extLimitAfterAmbiguousChar = '9';\n /** @type {string} */\n var extLimitWhenNotSure = '6';\n\n /** @type {string} */\n var possibleSeparatorsBetweenNumberAndExtLabel = \"[ \\xA0\\\\t,]*\";\n // Optional full stop (.) or colon, followed by zero or more spaces/tabs/commas.\n /** @type {string} */\n var possibleCharsAfterExtLabel = \"[:\\\\.\\uFF0E]?[ \\xA0\\\\t,-]*\";\n /** @type {string} */\n var optionalExtnSuffix = \"#?\";\n\n // Here the extension is called out in more explicit way, i.e mentioning it obvious\n // patterns like \"ext.\".\n /** @type {string} */\n var explicitExtLabels = \"(?:e?xt(?:ensi(?:o\\u0301?|\\xF3))?n?|\\uFF45?\\uFF58\\uFF54\\uFF4E?|\\u0434\\u043E\\u0431|anexo)\";\n // One-character symbols that can be used to indicate an extension, and less\n // commonly used or more ambiguous extension labels.\n /** @type {string} */\n var ambiguousExtLabels = \"(?:[x\\uFF58#\\uFF03~\\uFF5E]|int|\\uFF49\\uFF4E\\uFF54)\";\n // When extension is not separated clearly.\n /** @type {string} */\n var ambiguousSeparator = \"[- ]+\";\n // This is the same as possibleSeparatorsBetweenNumberAndExtLabel, but not matching\n // comma as extension label may have it.\n /** @type {string} */\n var possibleSeparatorsNumberExtLabelNoComma = \"[ \\xA0\\\\t]*\";\n // \",,\" is commonly used for auto dialling the extension when connected. First\n // comma is matched through possibleSeparatorsBetweenNumberAndExtLabel, so we do\n // not repeat it here. Semi-colon works in Iphone and Android also to pop up a\n // button with the extension number following.\n /** @type {string} */\n var autoDiallingAndExtLabelsFound = \"(?:,{2}|;)\";\n\n /** @type {string} */\n var rfcExtn = RFC3966_EXTN_PREFIX + getExtensionDigitsPattern(extLimitAfterExplicitLabel);\n /** @type {string} */\n var explicitExtn = possibleSeparatorsBetweenNumberAndExtLabel + explicitExtLabels + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterExplicitLabel) + optionalExtnSuffix;\n /** @type {string} */\n var ambiguousExtn = possibleSeparatorsBetweenNumberAndExtLabel + ambiguousExtLabels + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterAmbiguousChar) + optionalExtnSuffix;\n /** @type {string} */\n var americanStyleExtnWithSuffix = ambiguousSeparator + getExtensionDigitsPattern(extLimitWhenNotSure) + \"#\";\n\n /** @type {string} */\n var autoDiallingExtn = possibleSeparatorsNumberExtLabelNoComma + autoDiallingAndExtLabelsFound + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterLikelyLabel) + optionalExtnSuffix;\n /** @type {string} */\n var onlyCommasExtn = possibleSeparatorsNumberExtLabelNoComma + \"(?:,)+\" + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterAmbiguousChar) + optionalExtnSuffix;\n\n // The first regular expression covers RFC 3966 format, where the extension is added\n // using \";ext=\". The second more generic where extension is mentioned with explicit\n // labels like \"ext:\". In both the above cases we allow more numbers in extension than\n // any other extension labels. The third one captures when single character extension\n // labels or less commonly used labels are used. In such cases we capture fewer\n // extension digits in order to reduce the chance of falsely interpreting two\n // numbers beside each other as a number + extension. The fourth one covers the\n // special case of American numbers where the extension is written with a hash\n // at the end, such as \"- 503#\". The fifth one is exclusively for extension\n // autodialling formats which are used when dialling and in this case we accept longer\n // extensions. The last one is more liberal on the number of commas that acts as\n // extension labels, so we have a strict cap on the number of digits in such extensions.\n return rfcExtn + \"|\" + explicitExtn + \"|\" + ambiguousExtn + \"|\" + americanStyleExtnWithSuffix + \"|\" + autoDiallingExtn + \"|\" + onlyCommasExtn;\n}\n//# sourceMappingURL=createExtensionPattern.js.map"],"names":["RFC3966_EXTN_PREFIX","getExtensionDigitsPattern","maxLength","VALID_DIGITS","createExtensionPattern","purpose","extLimitAfterExplicitLabel","extLimitAfterLikelyLabel","extLimitAfterAmbiguousChar","extLimitWhenNotSure","possibleSeparatorsBetweenNumberAndExtLabel","possibleCharsAfterExtLabel","optionalExtnSuffix","explicitExtLabels","ambiguousExtLabels","ambiguousSeparator","possibleSeparatorsNumberExtLabelNoComma","autoDiallingAndExtLabelsFound","rfcExtn","explicitExtn","ambiguousExtn","americanStyleExtnWithSuffix","autoDiallingExtn","onlyCommasExtn"],"mappings":";AAGA,IAAIA,IAAsB,SAOtBC,IAA4B,SAAmCC,GAAW;AAC5E,SAAO,KAAK,OAAOC,GAAc,MAAM,EAAE,OAAOD,GAAW,IAAI;AACjE;AASe,SAASE,EAAuBC,GAAS;AAOtD,MAAIC,IAA6B,MAE7BC,IAA2B,MAE3BC,IAA6B,KAE7BC,IAAsB,KAGtBC,IAA6C,aAG7CC,IAA6B,sBAE7BC,IAAqB,MAKrBC,IAAoB,iDAIpBC,IAAqB,wBAGrBC,IAAqB,SAIrBC,IAA0C,YAM1CC,IAAgC,cAGhCC,IAAUlB,IAAsBC,EAA0BK,CAA0B,GAEpFa,IAAeT,IAA6CG,IAAoBF,IAA6BV,EAA0BK,CAA0B,IAAIM,GAErKQ,IAAgBV,IAA6CI,IAAqBH,IAA6BV,EAA0BO,CAA0B,IAAII,GAEvKS,IAA8BN,IAAqBd,EAA0BQ,CAAmB,IAAI,KAGpGa,IAAmBN,IAA0CC,IAAgCN,IAA6BV,EAA0BM,CAAwB,IAAIK,GAEhLW,IAAiBP,IAA0C,WAAWL,IAA6BV,EAA0BO,CAA0B,IAAII;AAc/J,SAAOM,IAAU,MAAMC,IAAe,MAAMC,IAAgB,MAAMC,IAA8B,MAAMC,IAAmB,MAAMC;AACjI;","x_google_ignoreList":[0]}
|
package/dist/index268.js
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
|
|
20
|
-
(a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
|
|
21
|
-
return t.concat(a || Array.prototype.slice.call(e));
|
|
1
|
+
import c, { getCountryCallingCode as b } from "./index175.js";
|
|
2
|
+
import g from "./index260.js";
|
|
3
|
+
import C from "./index265.js";
|
|
4
|
+
import h from "./index246.js";
|
|
5
|
+
function P(i, r, l, N, n) {
|
|
6
|
+
var e = r || l ? b(r || l, n) : N;
|
|
7
|
+
if (i.indexOf(e) === 0) {
|
|
8
|
+
n = new c(n), n.selectNumberingPlan(r || l, e);
|
|
9
|
+
var o = i.slice(e.length), f = C(o, r, n), m = f.nationalNumber, u = C(i, r, n), t = u.nationalNumber;
|
|
10
|
+
if (!g(t, n.nationalNumberPattern()) && g(m, n.nationalNumberPattern()) || h(t, r, n) === "TOO_LONG")
|
|
11
|
+
return {
|
|
12
|
+
countryCallingCode: e,
|
|
13
|
+
number: o
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
number: i
|
|
18
|
+
};
|
|
22
19
|
}
|
|
23
20
|
export {
|
|
24
|
-
|
|
25
|
-
c as __rest,
|
|
26
|
-
l as __spreadArray
|
|
21
|
+
P as default
|
|
27
22
|
};
|
|
28
23
|
//# sourceMappingURL=index268.js.map
|
package/dist/index268.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index268.js","sources":["../../../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IAC/E;AACA,WAAOJ;AAAA,EACX,GACOD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAA;AACR,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index268.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport matchesEntirely from './matchesEntirely.js';\nimport extractNationalNumber from './extractNationalNumber.js';\nimport checkNumberLength from './checkNumberLength.js';\nimport getCountryCallingCode from '../getCountryCallingCode.js';\n\n/**\r\n * Sometimes some people incorrectly input international phone numbers\r\n * without the leading `+`. This function corrects such input.\r\n * @param {string} number — Phone number digits.\r\n * @param {string} [country] — Exact country of the phone number.\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`.\r\n */\nexport default function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number, country, defaultCountry, defaultCallingCode, metadata) {\n var countryCallingCode = country || defaultCountry ? getCountryCallingCode(country || defaultCountry, metadata) : defaultCallingCode;\n if (number.indexOf(countryCallingCode) === 0) {\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(country || defaultCountry, countryCallingCode);\n var possibleShorterNumber = number.slice(countryCallingCode.length);\n var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata),\n possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;\n var _extractNationalNumbe2 = extractNationalNumber(number, country, metadata),\n nationalNumber = _extractNationalNumbe2.nationalNumber;\n\n // If the number was not valid before but is valid now,\n // or if it was too long before, we consider the number\n // with the country calling code stripped to be a better result\n // and keep that instead.\n // For example, in Germany (+49), `49` is a valid area code,\n // so if a number starts with `49`, it could be both a valid\n // national German number or an international number without\n // a leading `+`.\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata) === 'TOO_LONG') {\n return {\n countryCallingCode: countryCallingCode,\n number: possibleShorterNumber\n };\n }\n }\n return {\n number: number\n };\n}\n//# sourceMappingURL=extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map"],"names":["extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","number","country","defaultCountry","defaultCallingCode","metadata","countryCallingCode","getCountryCallingCode","Metadata","possibleShorterNumber","_extractNationalNumbe","extractNationalNumber","possibleShorterNationalNumber","_extractNationalNumbe2","nationalNumber","matchesEntirely","checkNumberLength"],"mappings":";;;;AAgBe,SAASA,EAAgEC,GAAQC,GAASC,GAAgBC,GAAoBC,GAAU;AACrJ,MAAIC,IAAqBJ,KAAWC,IAAiBI,EAAsBL,KAAWC,GAAgBE,CAAQ,IAAID;AAClH,MAAIH,EAAO,QAAQK,CAAkB,MAAM,GAAG;AAC5C,IAAAD,IAAW,IAAIG,EAASH,CAAQ,GAChCA,EAAS,oBAAoBH,KAAWC,GAAgBG,CAAkB;AAC1E,QAAIG,IAAwBR,EAAO,MAAMK,EAAmB,MAAM,GAC9DI,IAAwBC,EAAsBF,GAAuBP,GAASG,CAAQ,GACxFO,IAAgCF,EAAsB,gBACpDG,IAAyBF,EAAsBV,GAAQC,GAASG,CAAQ,GAC1ES,IAAiBD,EAAuB;AAU1C,QAAI,CAACE,EAAgBD,GAAgBT,EAAS,sBAAqB,CAAE,KAAKU,EAAgBH,GAA+BP,EAAS,sBAAqB,CAAE,KAAKW,EAAkBF,GAAgBZ,GAASG,CAAQ,MAAM;AACrN,aAAO;AAAA,QACL,oBAAoBC;AAAA,QACpB,QAAQG;AAAA,MAChB;AAAA,EAEE;AACA,SAAO;AAAA,IACL,QAAQR;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
|
package/dist/index269.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
1
|
+
function F(l, i) {
|
|
2
|
+
if (l && i.numberingPlan.nationalPrefixForParsing()) {
|
|
3
|
+
var g = new RegExp("^(?:" + i.numberingPlan.nationalPrefixForParsing() + ")"), n = g.exec(l);
|
|
4
|
+
if (n) {
|
|
5
|
+
var r, P, v = n.length - 1, e = v > 0 && n[v];
|
|
6
|
+
if (i.nationalPrefixTransformRule() && e)
|
|
7
|
+
r = l.replace(g, i.nationalPrefixTransformRule()), v > 1 && (P = n[1]);
|
|
8
|
+
else {
|
|
9
|
+
var o = n[0];
|
|
10
|
+
r = l.slice(o.length), e && (P = n[1]);
|
|
11
|
+
}
|
|
12
|
+
var f;
|
|
13
|
+
if (e) {
|
|
14
|
+
var s = l.indexOf(n[1]), a = l.slice(0, s);
|
|
15
|
+
a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
|
|
16
|
+
} else
|
|
17
|
+
f = n[0];
|
|
18
|
+
return {
|
|
19
|
+
nationalNumber: r,
|
|
20
|
+
nationalPrefix: f,
|
|
21
|
+
carrierCode: P
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
nationalNumber: l
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
F as default
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=index269.js.map
|
package/dist/index269.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index269.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index269.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js"],"sourcesContent":["/**\r\n * Strips any national prefix (such as 0, 1) present in a\r\n * (possibly incomplete) number provided.\r\n * \"Carrier codes\" are only used in Colombia and Brazil,\r\n * and only when dialing within those countries from a mobile phone to a fixed line number.\r\n * Sometimes it won't actually strip national prefix\r\n * and will instead prepend some digits to the `number`:\r\n * for example, when number `2345678` is passed with `VI` country selected,\r\n * it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\r\n * @param {string} number — National number digits.\r\n * @param {object} metadata — Metadata with country selected.\r\n * @return {object} `{ nationalNumber: string, nationalPrefix: string? carrierCode: string? }`. Even if a national prefix was extracted, it's not necessarily present in the returned object, so don't rely on its presence in the returned object in order to find out whether a national prefix has been extracted or not.\r\n */\nexport default function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {\n if (number && metadata.numberingPlan.nationalPrefixForParsing()) {\n // See METADATA.md for the description of\n // `national_prefix_for_parsing` and `national_prefix_transform_rule`.\n // Attempt to parse the first digits as a national prefix.\n var prefixPattern = new RegExp('^(?:' + metadata.numberingPlan.nationalPrefixForParsing() + ')');\n var prefixMatch = prefixPattern.exec(number);\n if (prefixMatch) {\n var nationalNumber;\n var carrierCode;\n // https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n // If a `national_prefix_for_parsing` has any \"capturing groups\"\n // then it means that the national (significant) number is equal to\n // those \"capturing groups\" transformed via `national_prefix_transform_rule`,\n // and nothing could be said about the actual national prefix:\n // what is it and was it even there.\n // If a `national_prefix_for_parsing` doesn't have any \"capturing groups\",\n // then everything it matches is a national prefix.\n // To determine whether `national_prefix_for_parsing` matched any\n // \"capturing groups\", the value of the result of calling `.exec()`\n // is looked at, and if it has non-undefined values where there're\n // \"capturing groups\" in the regular expression, then it means\n // that \"capturing groups\" have been matched.\n // It's not possible to tell whether there'll be any \"capturing gropus\"\n // before the matching process, because a `national_prefix_for_parsing`\n // could exhibit both behaviors.\n var capturedGroupsCount = prefixMatch.length - 1;\n var hasCapturedGroups = capturedGroupsCount > 0 && prefixMatch[capturedGroupsCount];\n if (metadata.nationalPrefixTransformRule() && hasCapturedGroups) {\n nationalNumber = number.replace(prefixPattern, metadata.nationalPrefixTransformRule());\n // If there's more than one captured group,\n // then carrier code is the second one.\n if (capturedGroupsCount > 1) {\n carrierCode = prefixMatch[1];\n }\n }\n // If there're no \"capturing groups\",\n // or if there're \"capturing groups\" but no\n // `national_prefix_transform_rule`,\n // then just strip the national prefix from the number,\n // and possibly a carrier code.\n // Seems like there could be more.\n else {\n // `prefixBeforeNationalNumber` is the whole substring matched by\n // the `national_prefix_for_parsing` regular expression.\n // There seem to be no guarantees that it's just a national prefix.\n // For example, if there's a carrier code, it's gonna be a\n // part of `prefixBeforeNationalNumber` too.\n var prefixBeforeNationalNumber = prefixMatch[0];\n nationalNumber = number.slice(prefixBeforeNationalNumber.length);\n // If there's at least one captured group,\n // then carrier code is the first one.\n if (hasCapturedGroups) {\n carrierCode = prefixMatch[1];\n }\n }\n // Tries to guess whether a national prefix was present in the input.\n // This is not something copy-pasted from Google's library:\n // they don't seem to have an equivalent for that.\n // So this isn't an \"officially approved\" way of doing something like that.\n // But since there seems no other existing method, this library uses it.\n var nationalPrefix;\n if (hasCapturedGroups) {\n var possiblePositionOfTheFirstCapturedGroup = number.indexOf(prefixMatch[1]);\n var possibleNationalPrefix = number.slice(0, possiblePositionOfTheFirstCapturedGroup);\n // Example: an Argentinian (AR) phone number `0111523456789`.\n // `prefixMatch[0]` is `01115`, and `$1` is `11`,\n // and the rest of the phone number is `23456789`.\n // The national number is transformed via `9$1` to `91123456789`.\n // National prefix `0` is detected being present at the start.\n // if (possibleNationalPrefix.indexOf(metadata.numberingPlan.nationalPrefix()) === 0) {\n if (possibleNationalPrefix === metadata.numberingPlan.nationalPrefix()) {\n nationalPrefix = metadata.numberingPlan.nationalPrefix();\n }\n } else {\n nationalPrefix = prefixMatch[0];\n }\n return {\n nationalNumber: nationalNumber,\n nationalPrefix: nationalPrefix,\n carrierCode: carrierCode\n };\n }\n }\n return {\n nationalNumber: number\n };\n}\n//# sourceMappingURL=extractNationalNumberFromPossiblyIncompleteNumber.js.map"],"names":["extractNationalNumberFromPossiblyIncompleteNumber","number","metadata","prefixPattern","prefixMatch","nationalNumber","carrierCode","capturedGroupsCount","hasCapturedGroups","prefixBeforeNationalNumber","nationalPrefix","possiblePositionOfTheFirstCapturedGroup","possibleNationalPrefix"],"mappings":"AAae,SAASA,EAAkDC,GAAQC,GAAU;AAC1F,MAAID,KAAUC,EAAS,cAAc,yBAAwB,GAAI;AAI/D,QAAIC,IAAgB,IAAI,OAAO,SAASD,EAAS,cAAc,yBAAwB,IAAK,GAAG,GAC3FE,IAAcD,EAAc,KAAKF,CAAM;AAC3C,QAAIG,GAAa;AACf,UAAIC,GACAC,GAiBAC,IAAsBH,EAAY,SAAS,GAC3CI,IAAoBD,IAAsB,KAAKH,EAAYG,CAAmB;AAClF,UAAIL,EAAS,4BAA2B,KAAMM;AAC5C,QAAAH,IAAiBJ,EAAO,QAAQE,GAAeD,EAAS,4BAA2B,CAAE,GAGjFK,IAAsB,MACxBD,IAAcF,EAAY,CAAC;AAAA,WAS1B;AAMH,YAAIK,IAA6BL,EAAY,CAAC;AAC9C,QAAAC,IAAiBJ,EAAO,MAAMQ,EAA2B,MAAM,GAG3DD,MACFF,IAAcF,EAAY,CAAC;AAAA,MAE/B;AAMA,UAAIM;AACJ,UAAIF,GAAmB;AACrB,YAAIG,IAA0CV,EAAO,QAAQG,EAAY,CAAC,CAAC,GACvEQ,IAAyBX,EAAO,MAAM,GAAGU,CAAuC;AAOpF,QAAIC,MAA2BV,EAAS,cAAc,eAAc,MAClEQ,IAAiBR,EAAS,cAAc,eAAc;AAAA,MAE1D;AACE,QAAAQ,IAAiBN,EAAY,CAAC;AAEhC,aAAO;AAAA,QACL,gBAAgBC;AAAA,QAChB,gBAAgBK;AAAA,QAChB,aAAaJ;AAAA,MACrB;AAAA,IACI;AAAA,EACF;AACA,SAAO;AAAA,IACL,gBAAgBL;AAAA,EACpB;AACA;","x_google_ignoreList":[0]}
|
package/dist/index270.js
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import I from "./index175.js";
|
|
2
|
+
import { VALID_DIGITS as l } from "./index171.js";
|
|
3
|
+
var c = new RegExp("([" + l + "])");
|
|
4
|
+
function D(t, r, f, n) {
|
|
5
|
+
if (r) {
|
|
6
|
+
var a = new I(n);
|
|
7
|
+
a.selectNumberingPlan(r, f);
|
|
8
|
+
var i = new RegExp(a.IDDPrefix());
|
|
9
|
+
if (t.search(i) === 0) {
|
|
10
|
+
t = t.slice(t.match(i)[0].length);
|
|
11
|
+
var e = t.match(c);
|
|
12
|
+
if (!(e && e[1] != null && e[1].length > 0 && e[1] === "0"))
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
5
17
|
export {
|
|
6
|
-
|
|
18
|
+
D as default
|
|
7
19
|
};
|
|
8
20
|
//# sourceMappingURL=index270.js.map
|
package/dist/index270.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index270.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index270.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport { VALID_DIGITS } from '../constants.js';\nvar CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])');\nexport default function stripIddPrefix(number, country, callingCode, metadata) {\n if (!country) {\n return;\n }\n // Check if the number is IDD-prefixed.\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n var IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix());\n if (number.search(IDDPrefixPattern) !== 0) {\n return;\n }\n // Strip IDD prefix.\n number = number.slice(number.match(IDDPrefixPattern)[0].length);\n // If there're any digits after an IDD prefix,\n // then those digits are a country calling code.\n // Since no country code starts with a `0`,\n // the code below validates that the next digit (if present) is not `0`.\n var matchedGroups = number.match(CAPTURING_DIGIT_PATTERN);\n if (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\n if (matchedGroups[1] === '0') {\n return;\n }\n }\n return number;\n}\n//# sourceMappingURL=stripIddPrefix.js.map"],"names":["CAPTURING_DIGIT_PATTERN","VALID_DIGITS","stripIddPrefix","number","country","callingCode","metadata","countryMetadata","Metadata","IDDPrefixPattern","matchedGroups"],"mappings":";;AAEA,IAAIA,IAA0B,IAAI,OAAO,OAAOC,IAAe,IAAI;AACpD,SAASC,EAAeC,GAAQC,GAASC,GAAaC,GAAU;AAC7E,MAAKF,GAIL;AAAA,QAAIG,IAAkB,IAAIC,EAASF,CAAQ;AAC3C,IAAAC,EAAgB,oBAAoBH,GAASC,CAAW;AACxD,QAAII,IAAmB,IAAI,OAAOF,EAAgB,UAAS,CAAE;AAC7D,QAAIJ,EAAO,OAAOM,CAAgB,MAAM,GAIxC;AAAA,MAAAN,IAASA,EAAO,MAAMA,EAAO,MAAMM,CAAgB,EAAE,CAAC,EAAE,MAAM;AAK9D,UAAIC,IAAgBP,EAAO,MAAMH,CAAuB;AACxD,UAAI,EAAAU,KAAiBA,EAAc,CAAC,KAAK,QAAQA,EAAc,CAAC,EAAE,SAAS,KACrEA,EAAc,CAAC,MAAM;AAI3B,eAAOP;AAAA;AAAA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index271.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { useComposedRefs as O } from "./
|
|
3
|
-
import { useLayoutEffect as A } from "./
|
|
2
|
+
import { useComposedRefs as O } from "./index56.js";
|
|
3
|
+
import { useLayoutEffect as A } from "./index76.js";
|
|
4
4
|
function E(n, e) {
|
|
5
5
|
return i.useReducer((t, r) => e[t][r] ?? t, n);
|
|
6
6
|
}
|
package/dist/index272.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { composeEventHandlers as p } from "./
|
|
3
|
-
import { createCollection as H } from "./
|
|
4
|
-
import { useComposedRefs as V } from "./
|
|
5
|
-
import { createContextScope as z } from "./
|
|
6
|
-
import { useId as q } from "./
|
|
7
|
-
import { Primitive as G } from "./
|
|
8
|
-
import { useCallbackRef as J } from "./
|
|
9
|
-
import { useControllableState as Q } from "./
|
|
10
|
-
import { useDirection as W } from "./
|
|
2
|
+
import { composeEventHandlers as p } from "./index54.js";
|
|
3
|
+
import { createCollection as H } from "./index66.js";
|
|
4
|
+
import { useComposedRefs as V } from "./index56.js";
|
|
5
|
+
import { createContextScope as z } from "./index67.js";
|
|
6
|
+
import { useId as q } from "./index71.js";
|
|
7
|
+
import { Primitive as G } from "./index55.js";
|
|
8
|
+
import { useCallbackRef as J } from "./index57.js";
|
|
9
|
+
import { useControllableState as Q } from "./index75.js";
|
|
10
|
+
import { useDirection as W } from "./index68.js";
|
|
11
11
|
import { j as d } from "./index30.js";
|
|
12
12
|
var _ = "rovingFocusGroup.onEntryFocus", X = { bubbles: !1, cancelable: !0 }, I = "RovingFocusGroup", [y, N, Z] = H(I), [$, Fe] = z(
|
|
13
13
|
I,
|
package/dist/index273.js
CHANGED
package/dist/index274.js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var t = _.indexOf(a);
|
|
5
|
-
if (t < 0)
|
|
6
|
-
return null;
|
|
7
|
-
var e = t + a.length;
|
|
8
|
-
if (e >= _.length)
|
|
9
|
-
return "";
|
|
10
|
-
var A = _.indexOf(";", e);
|
|
11
|
-
return A >= 0 ? _.substring(e, A) : _.substring(e);
|
|
12
|
-
}
|
|
13
|
-
function S(_) {
|
|
14
|
-
return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
|
|
1
|
+
function r(s, t) {
|
|
2
|
+
const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
|
|
3
|
+
return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
|
|
15
4
|
}
|
|
16
5
|
export {
|
|
17
|
-
|
|
18
|
-
u as RFC3966_ISDN_SUBADDRESS_,
|
|
19
|
-
a as RFC3966_PHONE_CONTEXT_,
|
|
20
|
-
l as RFC3966_PREFIX_,
|
|
21
|
-
D as default,
|
|
22
|
-
S as isPhoneContextValid
|
|
6
|
+
r as getBroadcastWeeksInMonth
|
|
23
7
|
};
|
|
24
8
|
//# sourceMappingURL=index274.js.map
|
package/dist/index274.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index274.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index274.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
|
package/dist/index275.js
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import { formatDistance as o } from "./index310.js";
|
|
2
|
+
import { formatLong as t } from "./index311.js";
|
|
3
|
+
import { formatRelative as a } from "./index312.js";
|
|
4
|
+
import { localize as r } from "./index313.js";
|
|
5
|
+
import { match as e } from "./index314.js";
|
|
6
|
+
const s = {
|
|
7
|
+
code: "en-US",
|
|
8
|
+
formatDistance: o,
|
|
9
|
+
formatLong: t,
|
|
10
|
+
formatRelative: a,
|
|
11
|
+
localize: r,
|
|
12
|
+
match: e,
|
|
13
|
+
options: {
|
|
14
|
+
weekStartsOn: 0,
|
|
15
|
+
firstWeekContainsDate: 1
|
|
16
|
+
}
|
|
17
|
+
};
|
|
5
18
|
export {
|
|
6
|
-
|
|
19
|
+
s as default,
|
|
20
|
+
s as enUS
|
|
7
21
|
};
|
|
8
22
|
//# sourceMappingURL=index275.js.map
|
package/dist/index275.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index275.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index275.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
|
package/dist/index276.js
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
options: {
|
|
14
|
-
weekStartsOn: 0,
|
|
15
|
-
firstWeekContainsDate: 1
|
|
16
|
-
}
|
|
17
|
-
};
|
|
1
|
+
function g(d, s, k, t, f, O, n) {
|
|
2
|
+
const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
|
|
3
|
+
let a = {
|
|
4
|
+
day: W,
|
|
5
|
+
week: l,
|
|
6
|
+
month: c,
|
|
7
|
+
year: u,
|
|
8
|
+
startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
|
|
9
|
+
endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
|
|
10
|
+
}[d](k, s === "after" ? 1 : -1);
|
|
11
|
+
return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
|
|
12
|
+
}
|
|
18
13
|
export {
|
|
19
|
-
|
|
20
|
-
s as enUS
|
|
14
|
+
g as getFocusableDate
|
|
21
15
|
};
|
|
22
16
|
//# sourceMappingURL=index276.js.map
|
package/dist/index276.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index276.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index276.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
|
package/dist/index277.js
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
|
|
3
|
-
let a = {
|
|
4
|
-
day: W,
|
|
5
|
-
week: l,
|
|
6
|
-
month: c,
|
|
7
|
-
year: u,
|
|
8
|
-
startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
|
|
9
|
-
endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
|
|
10
|
-
}[d](k, s === "after" ? 1 : -1);
|
|
11
|
-
return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
|
|
12
|
-
}
|
|
1
|
+
var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
a as fullWidthClassName,
|
|
4
|
+
l as noScrollbarsClassName,
|
|
5
|
+
e as removedBarSizeVariable,
|
|
6
|
+
r as zeroRightClassName
|
|
15
7
|
};
|
|
16
8
|
//# sourceMappingURL=index277.js.map
|
package/dist/index277.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index277.js","sources":["../../../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index277.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
|
package/dist/index278.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { createSidecarMedium as e } from "./index303.js";
|
|
2
|
+
var a = e();
|
|
2
3
|
export {
|
|
3
|
-
a as
|
|
4
|
-
l as noScrollbarsClassName,
|
|
5
|
-
e as removedBarSizeVariable,
|
|
6
|
-
r as zeroRightClassName
|
|
4
|
+
a as effectCar
|
|
7
5
|
};
|
|
8
6
|
//# sourceMappingURL=index278.js.map
|
package/dist/index278.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index278.js","sources":["../../../node_modules/react-remove-scroll
|
|
1
|
+
{"version":3,"file":"index278.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
|