@rpcbase/ui 0.167.0 → 0.168.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/index100.js +52 -320
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -130
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -20
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +15 -75
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -18
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -101
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +17 -5
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -14
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +5 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +3 -2
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -326
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -49
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +5 -52
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +5 -3
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +24 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -15
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +3 -4
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -6
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -16
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +3 -3
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +3 -4
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -5
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -6
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +39 -4
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +4 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +7 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +13 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +31 -8
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +13 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -145
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +20 -40
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +53 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +70 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -13
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +20 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +16 -7
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +22 -30
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -10
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +23 -8
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -14
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -102
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +7 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -53
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -72
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -9
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -20
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -23
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -7
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +7 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -23
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -35
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -16
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -6
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +47 -24
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +46 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +205 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +22 -6
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +24 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +399 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +5 -4
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +68 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -5
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +1 -0
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +363 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +261 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +60 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +46 -3
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +170 -2
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +107 -65
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +24 -84
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +8 -47
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -7
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -4
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -51
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +465 -23
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +185 -28
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +108 -5
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +262 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -67
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +43 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -363
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +64 -258
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +176 -56
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +42 -42
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +57 -162
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +45 -106
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +39 -24
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +101 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +97 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +99 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +58 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +8 -466
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +59 -178
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +17 -105
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +14 -260
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -9
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -41
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -4
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -64
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -48
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -67
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -180
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -46
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +13 -39
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +10 -100
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +14 -97
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -99
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -58
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -66
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -19
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -16
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -7
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +4 -17
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +10 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -13
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +10 -13
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -14
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +7 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +6 -6
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +5 -7
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +7 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +55 -5
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +23 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +16 -5
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +7 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -4
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +21 -10
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +9 -11
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -11
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -10
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +5 -7
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -6
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -5
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +18 -6
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +15 -7
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +29 -55
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -23
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +23 -14
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -7
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +23 -9
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -11
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -22
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +13 -10
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +154 -9
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +30 -9
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -4
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +47 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +10 -15
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +44 -9
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +95 -18
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +86 -15
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +103 -10
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +51 -28
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +10 -11
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +36 -24
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +8 -5
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +117 -2
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +18 -2
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +16 -5
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -3
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +36 -23
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index290.js +20 -112
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +9 -15
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +7 -523
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +16 -124
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +25 -130
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +16 -13
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +4 -154
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +18 -30
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +12 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +5 -48
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +14 -14
- package/dist/index300.js +3 -12
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +22 -43
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +109 -92
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +15 -86
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +513 -94
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +125 -50
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +132 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +19 -36
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +5 -8
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +5 -3
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +3 -3
- package/dist/index310.js +4 -10
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -116
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +8 -17
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +5 -15
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +4 -36
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +544 -19
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +46 -8
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +17 -19
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +6 -28
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +8 -16
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +2 -2
- package/dist/index320.js +7 -4
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +9 -19
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +12 -12
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +10 -69
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +14 -9
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +64 -13
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +68 -65
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -64
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -21
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +66 -6
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +1 -1
- package/dist/index330.js +4 -5
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +56 -4
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +68 -16
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +31 -9
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -6
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +153 -5
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +106 -544
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +4 -47
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +22 -17
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +15 -6
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +1 -1
- package/dist/index340.js +28 -8
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +12 -7
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +6 -8
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +13 -13
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +27 -9
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +5 -14
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +23 -4
- package/dist/index346.js.map +1 -1
- package/dist/index35.js +1 -1
- package/dist/index36.js +1 -1
- package/dist/index38.js +10 -9
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +2 -2
- package/dist/index40.js +24 -24
- package/dist/index42.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.js +18 -18
- package/dist/index55.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.js +5 -5
- package/dist/index58.js +53 -3
- package/dist/index58.js.map +1 -1
- package/dist/index60.js +33 -47
- package/dist/index60.js.map +1 -1
- package/dist/index62.js +7 -50
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +11 -7
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +3 -14
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +43 -129
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +50 -10
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +7 -216
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +15 -13
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +132 -32
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +10 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +216 -7
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +12 -49
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +47 -4
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +49 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +4 -28
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +6 -50
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +28 -9
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +50 -12
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +9 -2
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +2 -2
- package/dist/index81.js +2 -54
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -46
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -205
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +6 -22
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +605 -24
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +3 -399
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +32 -45
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +249 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +114 -7
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +219 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +60 -599
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +20 -3
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +208 -32
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +279 -209
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +115 -99
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +20 -219
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +60 -51
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +11 -13
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +89 -197
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index347.js +0 -26
- package/dist/index347.js.map +0 -1
- package/dist/index348.js +0 -8
- package/dist/index348.js.map +0 -1
- package/dist/index349.js +0 -59
- package/dist/index349.js.map +0 -1
- package/dist/index350.js +0 -71
- package/dist/index350.js.map +0 -1
- package/dist/index351.js +0 -34
- package/dist/index351.js.map +0 -1
- package/dist/index352.js +0 -12
- package/dist/index352.js.map +0 -1
- package/dist/index353.js +0 -156
- package/dist/index353.js.map +0 -1
- package/dist/index354.js +0 -111
- package/dist/index354.js.map +0 -1
- package/dist/index355.js +0 -26
- package/dist/index355.js.map +0 -1
- package/dist/index356.js +0 -16
- package/dist/index356.js.map +0 -1
- package/dist/index357.js +0 -31
- package/dist/index357.js.map +0 -1
- package/dist/index358.js +0 -8
- package/dist/index358.js.map +0 -1
- package/dist/index359.js +0 -19
- package/dist/index359.js.map +0 -1
- package/dist/index360.js +0 -32
- package/dist/index360.js.map +0 -1
- package/dist/index361.js +0 -16
- package/dist/index361.js.map +0 -1
- package/dist/index362.js +0 -10
- package/dist/index362.js.map +0 -1
package/dist/index288.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index288.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index288.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js"],"sourcesContent":["/**\r\n * Checks whether the entire input sequence can be matched\r\n * against the regular expression.\r\n * @return {boolean}\r\n */\nexport default function matchesEntirely(text, regularExpressionText) {\n // If the assigning of the `''` default value is moved to the arguments above,\n // the code coverage would decrease for some weird reason.\n text = text || '';\n return new RegExp('^(?:' + regularExpressionText + ')$').test(text);\n}\n//# sourceMappingURL=matchesEntirely.js.map"],"names":["matchesEntirely","text","regularExpressionText"],"mappings":"AAKe,SAASA,EAAgBC,GAAMC,GAAuB;AAGnE,SAAAD,IAAOA,KAAQ,IACR,IAAI,OAAO,SAASC,IAAwB,IAAI,EAAE,KAAKD,CAAI;AACpE;","x_google_ignoreList":[0]}
|
package/dist/index289.js
CHANGED
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import l from "./index294.js";
|
|
2
|
+
import o from "./index288.js";
|
|
3
|
+
import u from "./index271.js";
|
|
4
|
+
import N from "./index195.js";
|
|
5
|
+
function g(e, n, r) {
|
|
6
|
+
var i = l(e, r), a = i.carrierCode, t = i.nationalNumber;
|
|
7
|
+
if (t !== e) {
|
|
8
|
+
if (!m(e, t, r))
|
|
9
|
+
return {
|
|
10
|
+
nationalNumber: e
|
|
11
|
+
};
|
|
12
|
+
if (r.numberingPlan.possibleLengths() && (n || (n = N(r.numberingPlan.callingCode(), {
|
|
13
|
+
nationalNumber: t,
|
|
14
|
+
metadata: r
|
|
15
|
+
})), !f(t, n, r)))
|
|
16
|
+
return {
|
|
17
|
+
nationalNumber: e
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
nationalNumber: t,
|
|
22
|
+
carrierCode: a
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function m(e, n, r) {
|
|
26
|
+
return !(o(e, r.nationalNumberPattern()) && !o(n, r.nationalNumberPattern()));
|
|
27
|
+
}
|
|
28
|
+
function f(e, n, r) {
|
|
29
|
+
switch (u(e, n, r)) {
|
|
30
|
+
case "TOO_SHORT":
|
|
31
|
+
case "INVALID_LENGTH":
|
|
32
|
+
return !1;
|
|
33
|
+
default:
|
|
34
|
+
return !0;
|
|
35
|
+
}
|
|
23
36
|
}
|
|
24
37
|
export {
|
|
25
|
-
|
|
38
|
+
g as default
|
|
26
39
|
};
|
|
27
40
|
//# sourceMappingURL=index289.js.map
|
package/dist/index289.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index289.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index289.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js"],"sourcesContent":["import extractNationalNumberFromPossiblyIncompleteNumber from './extractNationalNumberFromPossiblyIncompleteNumber.js';\nimport matchesEntirely from './matchesEntirely.js';\nimport checkNumberLength from './checkNumberLength.js';\nimport getCountryByCallingCode from './getCountryByCallingCode.js';\n\n/**\r\n * Strips national prefix and carrier code from a complete phone number.\r\n * The difference from the non-\"FromCompleteNumber\" function is that\r\n * it won't extract national prefix if the resultant number is too short\r\n * to be a complete number for the selected phone numbering plan.\r\n * @param {string} number — Complete phone number digits.\r\n * @param {string?} country — Country, if known.\r\n * @param {Metadata} metadata — Metadata with a phone numbering plan selected.\r\n * @return {object} `{ nationalNumber: string, carrierCode: string? }`.\r\n */\nexport default function extractNationalNumber(number, country, metadata) {\n // Parsing national prefixes and carrier codes\n // is only required for local phone numbers\n // but some people don't understand that\n // and sometimes write international phone numbers\n // with national prefixes (or maybe even carrier codes).\n // http://ucken.blogspot.ru/2016/03/trunk-prefixes-in-skype4b.html\n // Google's original library forgives such mistakes\n // and so does this library, because it has been requested:\n // https://github.com/catamphetamine/libphonenumber-js/issues/127\n var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number, metadata),\n carrierCode = _extractNationalNumbe.carrierCode,\n nationalNumber = _extractNationalNumbe.nationalNumber;\n if (nationalNumber !== number) {\n if (!shouldHaveExtractedNationalPrefix(number, nationalNumber, metadata)) {\n // Don't strip the national prefix.\n return {\n nationalNumber: number\n };\n }\n // Check the national (significant) number length after extracting national prefix and carrier code.\n // Legacy generated metadata (before `1.0.18`) didn't support the \"possible lengths\" feature.\n if (metadata.numberingPlan.possibleLengths()) {\n // If an exact `country` is not specified, attempt to detect it from the assumed national number.\n if (!country) {\n country = getCountryByCallingCode(metadata.numberingPlan.callingCode(), {\n nationalNumber: nationalNumber,\n metadata: metadata\n });\n }\n\n // The number remaining after stripping the national prefix and carrier code\n // should be long enough to have a possible length for the country.\n // Otherwise, don't strip the national prefix and carrier code,\n // since the original number could be a valid number.\n // This check has been copy-pasted \"as is\" from Google's original library:\n // https://github.com/google/libphonenumber/blob/876268eb1ad6cdc1b7b5bef17fc5e43052702d57/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3236-L3250\n // It doesn't check for the \"possibility\" of the original `number`.\n // I guess it's fine not checking that one. It works as is anyway.\n if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata)) {\n // Don't strip the national prefix.\n return {\n nationalNumber: number\n };\n }\n }\n }\n return {\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n}\n\n// In some countries, the same digit could be a national prefix\n// or a leading digit of a valid phone number.\n// For example, in Russia, national prefix is `8`,\n// and also `800 555 35 35` is a valid number\n// in which `8` is not a national prefix, but the first digit\n// of a national (significant) number.\n// Same's with Belarus:\n// `82004910060` is a valid national (significant) number,\n// but `2004910060` is not.\n// To support such cases (to prevent the code from always stripping\n// national prefix), a condition is imposed: a national prefix\n// is not extracted when the original number is \"viable\" and the\n// resultant number is not, a \"viable\" national number being the one\n// that matches `national_number_pattern`.\nfunction shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberAfter, metadata) {\n // The equivalent in Google's code is:\n // https://github.com/google/libphonenumber/blob/e326fa1fc4283bb05eb35cb3c15c18f98a31af33/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L2969-L3004\n if (matchesEntirely(nationalNumberBefore, metadata.nationalNumberPattern()) && !matchesEntirely(nationalNumberAfter, metadata.nationalNumberPattern())) {\n return false;\n }\n // This \"is possible\" national number (length) check has been commented out\n // because it's superceded by the (effectively) same check done in the\n // `extractNationalNumber()` function after it calls `shouldHaveExtractedNationalPrefix()`.\n // In other words, why run the same check twice if it could only be run once.\n // // Check the national (significant) number length after extracting national prefix and carrier code.\n // // Fixes a minor \"weird behavior\" bug: https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/57\n // // (Legacy generated metadata (before `1.0.18`) didn't support the \"possible lengths\" feature).\n // if (metadata.possibleLengths()) {\n // \tif (isPossibleIncompleteNationalNumber(nationalNumberBefore, metadata) &&\n // \t\t!isPossibleIncompleteNationalNumber(nationalNumberAfter, metadata)) {\n // \t\treturn false\n // \t}\n // }\n return true;\n}\nfunction isPossibleIncompleteNationalNumber(nationalNumber, country, metadata) {\n switch (checkNumberLength(nationalNumber, country, metadata)) {\n case 'TOO_SHORT':\n case 'INVALID_LENGTH':\n // This library ignores \"local-only\" phone numbers (for simplicity).\n // See the readme for more info on what are \"local-only\" phone numbers.\n // case 'IS_POSSIBLE_LOCAL_ONLY':\n return false;\n default:\n return true;\n }\n}\n//# sourceMappingURL=extractNationalNumber.js.map"],"names":["extractNationalNumber","number","country","metadata","_extractNationalNumbe","extractNationalNumberFromPossiblyIncompleteNumber","carrierCode","nationalNumber","shouldHaveExtractedNationalPrefix","getCountryByCallingCode","isPossibleIncompleteNationalNumber","nationalNumberBefore","nationalNumberAfter","matchesEntirely","checkNumberLength"],"mappings":";;;;AAee,SAASA,EAAsBC,GAAQC,GAASC,GAAU;AAUvE,MAAIC,IAAwBC,EAAkDJ,GAAQE,CAAQ,GAC5FG,IAAcF,EAAsB,aACpCG,IAAiBH,EAAsB;AACzC,MAAIG,MAAmBN,GAAQ;AAC7B,QAAI,CAACO,EAAkCP,GAAQM,GAAgBJ,CAAQ;AAErE,aAAO;AAAA,QACL,gBAAgBF;AAAA,MACxB;AAII,QAAIE,EAAS,cAAc,sBAEpBD,MACHA,IAAUO,EAAwBN,EAAS,cAAc,YAAW,GAAI;AAAA,MACtE,gBAAgBI;AAAA,MAChB,UAAUJ;AAAA,IACpB,CAAS,IAWC,CAACO,EAAmCH,GAAgBL,GAASC,CAAQ;AAEvE,aAAO;AAAA,QACL,gBAAgBF;AAAA,MAC1B;AAAA,EAGE;AACA,SAAO;AAAA,IACL,gBAAgBM;AAAA,IAChB,aAAaD;AAAA,EACjB;AACA;AAgBA,SAASE,EAAkCG,GAAsBC,GAAqBT,GAAU;AAG9F,SAAI,EAAAU,EAAgBF,GAAsBR,EAAS,sBAAqB,CAAE,KAAK,CAACU,EAAgBD,GAAqBT,EAAS,sBAAqB,CAAE;AAiBvJ;AACA,SAASO,EAAmCH,GAAgBL,GAASC,GAAU;AAC7E,UAAQW,EAAkBP,GAAgBL,GAASC,CAAQ,GAAC;AAAA,IAC1D,KAAK;AAAA,IACL,KAAK;AAIH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACb;AACA;","x_google_ignoreList":[0]}
|
package/dist/index29.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
2
|
import { composeEventHandlers as h } from "./index59.js";
|
|
3
|
-
import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./
|
|
3
|
+
import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index60.js";
|
|
4
4
|
import { useComposedRefs as R } from "./index61.js";
|
|
5
|
-
import { useCallbackRef as g } from "./
|
|
6
|
-
import { useEscapeKeydown as U } from "./
|
|
5
|
+
import { useCallbackRef as g } from "./index62.js";
|
|
6
|
+
import { useEscapeKeydown as U } from "./index63.js";
|
|
7
7
|
import { j as x } from "./index28.js";
|
|
8
8
|
var j = "DismissableLayer", p = "dismissableLayer.update", z = "dismissableLayer.pointerDownOutside", H = "dismissableLayer.focusOutside", C, T = s.createContext({
|
|
9
9
|
layers: /* @__PURE__ */ new Set(),
|
package/dist/index290.js
CHANGED
|
@@ -1,116 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
}, Z = 0, f = [];
|
|
21
|
-
function J(e) {
|
|
22
|
-
var c = n.useRef([]), R = n.useRef([0, 0]), m = n.useRef(), h = n.useState(Z++)[0], g = n.useState(F)[0], S = n.useRef(e);
|
|
23
|
-
n.useEffect(function() {
|
|
24
|
-
S.current = e;
|
|
25
|
-
}, [e]), n.useEffect(function() {
|
|
26
|
-
if (e.inert) {
|
|
27
|
-
document.body.classList.add("block-interactivity-".concat(h));
|
|
28
|
-
var t = N([e.lockRef.current], (e.shards || []).map(X), !0).filter(Boolean);
|
|
29
|
-
return t.forEach(function(r) {
|
|
30
|
-
return r.classList.add("allow-interactivity-".concat(h));
|
|
31
|
-
}), function() {
|
|
32
|
-
document.body.classList.remove("block-interactivity-".concat(h)), t.forEach(function(r) {
|
|
33
|
-
return r.classList.remove("allow-interactivity-".concat(h));
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}, [e.inert, e.lockRef.current, e.shards]);
|
|
38
|
-
var C = n.useCallback(function(t, r) {
|
|
39
|
-
if ("touches" in t && t.touches.length === 2 || t.type === "wheel" && t.ctrlKey)
|
|
40
|
-
return !S.current.allowPinchZoom;
|
|
41
|
-
var l = k(t), u = R.current, o = "deltaX" in t ? t.deltaX : u[0] - l[0], i = "deltaY" in t ? t.deltaY : u[1] - l[1], a, v = t.target, d = Math.abs(o) > Math.abs(i) ? "h" : "v";
|
|
42
|
-
if ("touches" in t && d === "h" && v.type === "range")
|
|
43
|
-
return !1;
|
|
44
|
-
var P = window.getSelection(), E = P && P.anchorNode, I = E ? E === v || E.contains(v) : !1;
|
|
45
|
-
if (I)
|
|
46
|
-
return !1;
|
|
47
|
-
var b = B(d, v);
|
|
48
|
-
if (!b)
|
|
49
|
-
return !0;
|
|
50
|
-
if (b ? a = d : (a = d === "v" ? "h" : "v", b = B(d, v)), !b)
|
|
51
|
-
return !1;
|
|
52
|
-
if (!m.current && "changedTouches" in t && (o || i) && (m.current = a), !a)
|
|
53
|
-
return !0;
|
|
54
|
-
var Y = m.current || a;
|
|
55
|
-
return K(Y, r, t, Y === "h" ? o : i);
|
|
56
|
-
}, []), y = n.useCallback(function(t) {
|
|
57
|
-
var r = t;
|
|
58
|
-
if (!(!f.length || f[f.length - 1] !== g)) {
|
|
59
|
-
var l = "deltaY" in r ? M(r) : k(r), u = c.current.filter(function(a) {
|
|
60
|
-
return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && O(a.delta, l);
|
|
61
|
-
})[0];
|
|
62
|
-
if (u && u.should) {
|
|
63
|
-
r.cancelable && r.preventDefault();
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
if (!u) {
|
|
67
|
-
var o = (S.current.shards || []).map(X).filter(Boolean).filter(function(a) {
|
|
68
|
-
return a.contains(r.target);
|
|
69
|
-
}), i = o.length > 0 ? C(r, o[0]) : !S.current.noIsolation;
|
|
70
|
-
i && r.cancelable && r.preventDefault();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}, []), w = n.useCallback(function(t, r, l, u) {
|
|
74
|
-
var o = { name: t, delta: r, target: l, should: u, shadowParent: _(l) };
|
|
75
|
-
c.current.push(o), setTimeout(function() {
|
|
76
|
-
c.current = c.current.filter(function(i) {
|
|
77
|
-
return i !== o;
|
|
78
|
-
});
|
|
79
|
-
}, 1);
|
|
80
|
-
}, []), L = n.useCallback(function(t) {
|
|
81
|
-
R.current = k(t), m.current = void 0;
|
|
82
|
-
}, []), T = n.useCallback(function(t) {
|
|
83
|
-
w(t.type, M(t), t.target, C(t, e.lockRef.current));
|
|
84
|
-
}, []), D = n.useCallback(function(t) {
|
|
85
|
-
w(t.type, k(t), t.target, C(t, e.lockRef.current));
|
|
86
|
-
}, []);
|
|
87
|
-
n.useEffect(function() {
|
|
88
|
-
return f.push(g), e.setCallbacks({
|
|
89
|
-
onScrollCapture: T,
|
|
90
|
-
onWheelCapture: T,
|
|
91
|
-
onTouchMoveCapture: D
|
|
92
|
-
}), document.addEventListener("wheel", y, s), document.addEventListener("touchmove", y, s), document.addEventListener("touchstart", L, s), function() {
|
|
93
|
-
f = f.filter(function(t) {
|
|
94
|
-
return t !== g;
|
|
95
|
-
}), document.removeEventListener("wheel", y, s), document.removeEventListener("touchmove", y, s), document.removeEventListener("touchstart", L, s);
|
|
96
|
-
};
|
|
97
|
-
}, []);
|
|
98
|
-
var x = e.removeScrollBar, A = e.inert;
|
|
99
|
-
return n.createElement(
|
|
100
|
-
n.Fragment,
|
|
101
|
-
null,
|
|
102
|
-
A ? n.createElement(g, { styles: Q(h) }) : null,
|
|
103
|
-
x ? n.createElement(W, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
function _(e) {
|
|
107
|
-
for (var c = null; e !== null; )
|
|
108
|
-
e instanceof ShadowRoot && (c = e.host, e = e.host), e = e.parentNode;
|
|
109
|
-
return c;
|
|
1
|
+
import s, { isPhoneContextValid as x, PLUS_SIGN as F, RFC3966_PREFIX_ as a, RFC3966_PHONE_CONTEXT_ as d, RFC3966_ISDN_SUBADDRESS_ as m } from "./index307.js";
|
|
2
|
+
import v from "./index279.js";
|
|
3
|
+
function S(r, _) {
|
|
4
|
+
var f = _.extractFormattedPhoneNumber, e = s(r);
|
|
5
|
+
if (!x(e))
|
|
6
|
+
throw new v("NOT_A_NUMBER");
|
|
7
|
+
var t;
|
|
8
|
+
if (e === null)
|
|
9
|
+
t = f(r) || "";
|
|
10
|
+
else {
|
|
11
|
+
t = "", e.charAt(0) === F && (t += e);
|
|
12
|
+
var n = r.indexOf(a), o;
|
|
13
|
+
n >= 0 ? o = n + a.length : o = 0;
|
|
14
|
+
var h = r.indexOf(d);
|
|
15
|
+
t += r.substring(o, h);
|
|
16
|
+
}
|
|
17
|
+
var i = t.indexOf(m);
|
|
18
|
+
if (i > 0 && (t = t.substring(0, i)), t !== "")
|
|
19
|
+
return t;
|
|
110
20
|
}
|
|
111
21
|
export {
|
|
112
|
-
|
|
113
|
-
M as getDeltaXY,
|
|
114
|
-
k as getTouchXY
|
|
22
|
+
S as default
|
|
115
23
|
};
|
|
116
24
|
//# sourceMappingURL=index290.js.map
|
package/dist/index290.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index290.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","selection","anchorNode","isTouchingSelection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":";;;;;;AAMU,IAACA,IAAa,SAAUC,GAAO;AACrC,SAAO,oBAAoBA,IAAQ,CAACA,EAAM,eAAe,CAAC,EAAE,SAASA,EAAM,eAAe,CAAC,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC;AACjH,GACWC,IAAa,SAAUD,GAAO;AAAE,SAAO,CAACA,EAAM,QAAQA,EAAM,MAAM;AAAG,GAC5EE,IAAa,SAAUC,GAAK;AAC5B,SAAOA,KAAO,aAAaA,IAAMA,EAAI,UAAUA;AACnD,GACIC,IAAe,SAAUC,GAAGC,GAAG;AAAE,SAAOD,EAAE,CAAC,MAAMC,EAAE,CAAC,KAAKD,EAAE,CAAC,MAAMC,EAAE,CAAC;AAAG,GACxEC,IAAgB,SAAUC,GAAI;AAAE,S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AM;AAEpC,WADIc,IAAe,MACZd,MAAS;AACZ,IAAIA,aAAgB,eAChBc,IAAed,EAAK,MACpBA,IAAOA,EAAK,OAEhBA,IAAOA,EAAK;AAEhB,SAAOc;AACX;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index290.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js"],"sourcesContent":["import extractPhoneContext, { isPhoneContextValid, PLUS_SIGN, RFC3966_PREFIX_, RFC3966_PHONE_CONTEXT_, RFC3966_ISDN_SUBADDRESS_ } from './extractPhoneContext.js';\nimport ParseError from '../ParseError.js';\n\n/**\r\n * @param {string} numberToParse\r\n * @param {string} nationalNumber\r\n * @return {}\r\n */\nexport default function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse, _ref) {\n var extractFormattedPhoneNumber = _ref.extractFormattedPhoneNumber;\n var phoneContext = extractPhoneContext(numberToParse);\n if (!isPhoneContextValid(phoneContext)) {\n throw new ParseError('NOT_A_NUMBER');\n }\n var phoneNumberString;\n if (phoneContext === null) {\n // Extract a possible number from the string passed in.\n // (this strips leading characters that could not be the start of a phone number)\n phoneNumberString = extractFormattedPhoneNumber(numberToParse) || '';\n } else {\n phoneNumberString = '';\n\n // If the phone context contains a phone number prefix, we need to capture\n // it, whereas domains will be ignored.\n if (phoneContext.charAt(0) === PLUS_SIGN) {\n phoneNumberString += phoneContext;\n }\n\n // Now append everything between the \"tel:\" prefix and the phone-context.\n // This should include the national number, an optional extension or\n // isdn-subaddress component. Note we also handle the case when \"tel:\" is\n // missing, as we have seen in some of the phone number inputs.\n // In that case, we append everything from the beginning.\n var indexOfRfc3966Prefix = numberToParse.indexOf(RFC3966_PREFIX_);\n var indexOfNationalNumber;\n // RFC 3966 \"tel:\" prefix is preset at this stage because\n // `isPhoneContextValid()` requires it to be present.\n /* istanbul ignore else */\n if (indexOfRfc3966Prefix >= 0) {\n indexOfNationalNumber = indexOfRfc3966Prefix + RFC3966_PREFIX_.length;\n } else {\n indexOfNationalNumber = 0;\n }\n var indexOfPhoneContext = numberToParse.indexOf(RFC3966_PHONE_CONTEXT_);\n phoneNumberString += numberToParse.substring(indexOfNationalNumber, indexOfPhoneContext);\n }\n\n // Delete the isdn-subaddress and everything after it if it is present.\n // Note extension won't appear at the same time with isdn-subaddress\n // according to paragraph 5.3 of the RFC3966 spec.\n var indexOfIsdn = phoneNumberString.indexOf(RFC3966_ISDN_SUBADDRESS_);\n if (indexOfIsdn > 0) {\n phoneNumberString = phoneNumberString.substring(0, indexOfIsdn);\n }\n // If both phone context and isdn-subaddress are absent but other\n // parameters are present, the parameters are left in nationalNumber.\n // This is because we are concerned about deleting content from a potential\n // number string when there is no strong evidence that the number is\n // actually written in RFC3966.\n\n if (phoneNumberString !== '') {\n return phoneNumberString;\n }\n}\n//# sourceMappingURL=extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js.map"],"names":["extractFormattedPhoneNumberFromPossibleRfc3966NumberUri","numberToParse","_ref","extractFormattedPhoneNumber","phoneContext","extractPhoneContext","isPhoneContextValid","ParseError","phoneNumberString","PLUS_SIGN","indexOfRfc3966Prefix","RFC3966_PREFIX_","indexOfNationalNumber","indexOfPhoneContext","RFC3966_PHONE_CONTEXT_","indexOfIsdn","RFC3966_ISDN_SUBADDRESS_"],"mappings":";;AAQe,SAASA,EAAwDC,GAAeC,GAAM;AACnG,MAAIC,IAA8BD,EAAK,6BACnCE,IAAeC,EAAoBJ,CAAa;AACpD,MAAI,CAACK,EAAoBF,CAAY;AACnC,UAAM,IAAIG,EAAW,cAAc;AAErC,MAAIC;AACJ,MAAIJ,MAAiB;AAGnB,IAAAI,IAAoBL,EAA4BF,CAAa,KAAK;AAAA,OAC7D;AACL,IAAAO,IAAoB,IAIhBJ,EAAa,OAAO,CAAC,MAAMK,MAC7BD,KAAqBJ;AAQvB,QAAIM,IAAuBT,EAAc,QAAQU,CAAe,GAC5DC;AAIJ,IAAIF,KAAwB,IAC1BE,IAAwBF,IAAuBC,EAAgB,SAE/DC,IAAwB;AAE1B,QAAIC,IAAsBZ,EAAc,QAAQa,CAAsB;AACtE,IAAAN,KAAqBP,EAAc,UAAUW,GAAuBC,CAAmB;AAAA,EACzF;AAKA,MAAIE,IAAcP,EAAkB,QAAQQ,CAAwB;AAUpE,MATID,IAAc,MAChBP,IAAoBA,EAAkB,UAAU,GAAGO,CAAW,IAQ5DP,MAAsB;AACxB,WAAOA;AAEX;","x_google_ignoreList":[0]}
|
package/dist/index291.js
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var e =
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
throw new Error("Sidecar medium not found");
|
|
10
|
-
return n.createElement(t, d({}, a));
|
|
11
|
-
};
|
|
12
|
-
i.isSideCarExport = !0;
|
|
13
|
-
function p(r, e) {
|
|
14
|
-
return r.useMedium(e), i;
|
|
1
|
+
import f from "./index191.js";
|
|
2
|
+
var u = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
3
|
+
function D(t, r, a) {
|
|
4
|
+
var e = new f(a);
|
|
5
|
+
if (e.selectNumberingPlan(t, r), e.defaultIDDPrefix())
|
|
6
|
+
return e.defaultIDDPrefix();
|
|
7
|
+
if (u.test(e.IDDPrefix()))
|
|
8
|
+
return e.IDDPrefix();
|
|
15
9
|
}
|
|
16
10
|
export {
|
|
17
|
-
|
|
11
|
+
D as default
|
|
18
12
|
};
|
|
19
13
|
//# sourceMappingURL=index291.js.map
|
package/dist/index291.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index291.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index291.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js"],"sourcesContent":["import Metadata from '../metadata.js';\n\n/**\r\n * Pattern that makes it easy to distinguish whether a region has a single\r\n * international dialing prefix or not. If a region has a single international\r\n * prefix (e.g. 011 in USA), it will be represented as a string that contains\r\n * a sequence of ASCII digits, and possibly a tilde, which signals waiting for\r\n * the tone. If there are multiple available international prefixes in a\r\n * region, they will be represented as a regex string that always contains one\r\n * or more characters that are not ASCII digits or a tilde.\r\n */\nvar SINGLE_IDD_PREFIX_REG_EXP = /^[\\d]+(?:[~\\u2053\\u223C\\uFF5E][\\d]+)?$/;\n\n// For regions that have multiple IDD prefixes\n// a preferred IDD prefix is returned.\nexport default function getIddPrefix(country, callingCode, metadata) {\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n if (countryMetadata.defaultIDDPrefix()) {\n return countryMetadata.defaultIDDPrefix();\n }\n if (SINGLE_IDD_PREFIX_REG_EXP.test(countryMetadata.IDDPrefix())) {\n return countryMetadata.IDDPrefix();\n }\n}\n//# sourceMappingURL=getIddPrefix.js.map"],"names":["SINGLE_IDD_PREFIX_REG_EXP","getIddPrefix","country","callingCode","metadata","countryMetadata","Metadata"],"mappings":";AAWA,IAAIA,IAA4B;AAIjB,SAASC,EAAaC,GAASC,GAAaC,GAAU;AACnE,MAAIC,IAAkB,IAAIC,EAASF,CAAQ;AAE3C,MADAC,EAAgB,oBAAoBH,GAASC,CAAW,GACpDE,EAAgB;AAClB,WAAOA,EAAgB,iBAAgB;AAEzC,MAAIL,EAA0B,KAAKK,EAAgB,UAAS,CAAE;AAC5D,WAAOA,EAAgB,UAAS;AAEpC;","x_google_ignoreList":[0]}
|