@rpcbase/ui 0.166.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 -10
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -42
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -4
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +16 -52
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +12 -11
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -5
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -7
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -16
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +14 -4
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -4
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +6 -5
- 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 -4
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +3 -5
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +6 -24
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -6
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +4 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -6
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +4 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +2 -2
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -8
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -4
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -4
- 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/index13.js +1 -1
- package/dist/index130.js +7 -145
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +12 -38
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +6 -6
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +30 -12
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -13
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -31
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +12 -9
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -10
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +3 -3
- package/dist/index140.js +20 -9
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +52 -12
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +68 -97
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +10 -20
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +18 -51
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +15 -71
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +23 -9
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -20
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -16
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +21 -21
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -7
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -6
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +6 -23
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +5 -35
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +5 -16
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -6
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -4
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -4
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +7 -3
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -6
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -24
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +3 -7
- 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 -5
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -3
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -3
- 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 -4
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +46 -3
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +46 -3
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +205 -3
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +21 -24
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +25 -29
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +400 -5
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +5 -67
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +64 -176
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -47
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +11 -1
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +363 -13
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +242 -135
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +58 -28
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +46 -9
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +161 -39
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +108 -10
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +24 -44
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +8 -96
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -86
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -105
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +6 -6
- package/dist/index190.js +4 -52
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +465 -10
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +179 -31
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +107 -8
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +253 -107
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +9 -17
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +41 -14
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -3
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +62 -31
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +179 -19
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +1 -1
- package/dist/index200.js +46 -9
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +63 -7
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +48 -19
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +39 -28
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +98 -14
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +88 -49
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +99 -8
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +47 -55
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +8 -19
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +64 -14
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +18 -4
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +15 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +5 -4
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -7
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -17
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -5
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -13
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -10
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +13 -14
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +10 -14
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +14 -5
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -6
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -7
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +5 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -5
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -9
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +5 -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 +5 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -11
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +4 -10
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -8
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +10 -11
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -11
- 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 -6
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -6
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +7 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -5
- 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 -55
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -23
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +54 -15
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +23 -7
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +15 -9
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +7 -10
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -21
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +21 -9
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +9 -4
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -5
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -16
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +5 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -18
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -15
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +14 -8
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +15 -29
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -12
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +28 -24
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -5
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +26 -5
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +6 -3
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +23 -22
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +27 -111
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -16
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +12 -523
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +147 -120
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +26 -129
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +47 -4
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -19
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +44 -12
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +91 -64
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +87 -9
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +1 -1
- package/dist/index280.js +104 -12
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +53 -66
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +11 -64
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +37 -5
- 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 -4
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +17 -15
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +15 -8
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +3 -5
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +36 -4
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +5 -5
- package/dist/index290.js +19 -544
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +10 -47
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +8 -17
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +19 -6
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +28 -8
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +16 -7
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +4 -8
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +19 -13
- 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 -14
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +47 -231
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +3 -4
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +23 -22
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +112 -4
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +15 -55
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +523 -66
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +127 -30
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +134 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +21 -153
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +6 -108
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +6 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +218 -49
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +4 -13
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -27
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +9 -5
- 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 -28
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +545 -12
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +47 -7
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +21 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.js +10 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +12 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +36 -2633
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +11 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.js +12 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.js +16 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.js +13 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.js +17 -0
- package/dist/index324.js.map +1 -0
- package/dist/index325.js +68 -0
- package/dist/index325.js.map +1 -0
- package/dist/index326.js +72 -0
- package/dist/index326.js.map +1 -0
- package/dist/index327.js +12 -0
- package/dist/index327.js.map +1 -0
- package/dist/index328.js +17 -0
- package/dist/index328.js.map +1 -0
- package/dist/index329.js +69 -0
- package/dist/index329.js.map +1 -0
- package/dist/index33.js +35 -388
- package/dist/index33.js.map +1 -1
- package/dist/index330.js +8 -0
- package/dist/index330.js.map +1 -0
- package/dist/index331.js +59 -0
- package/dist/index331.js.map +1 -0
- package/dist/index332.js +71 -0
- package/dist/index332.js.map +1 -0
- package/dist/index333.js +34 -0
- package/dist/index333.js.map +1 -0
- package/dist/index334.js +12 -0
- package/dist/index334.js.map +1 -0
- package/dist/index335.js +156 -0
- package/dist/index335.js.map +1 -0
- package/dist/index336.js +111 -0
- package/dist/index336.js.map +1 -0
- package/dist/index337.js +7 -0
- package/dist/index337.js.map +1 -0
- package/dist/index338.js +26 -0
- package/dist/index338.js.map +1 -0
- package/dist/index339.js +19 -0
- package/dist/index339.js.map +1 -0
- package/dist/index34.js +26 -230
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +32 -0
- package/dist/index340.js.map +1 -0
- package/dist/index341.js +16 -0
- package/dist/index341.js.map +1 -0
- package/dist/index342.js +10 -0
- package/dist/index342.js.map +1 -0
- package/dist/index343.js +16 -0
- package/dist/index343.js.map +1 -0
- package/dist/index344.js +31 -0
- package/dist/index344.js.map +1 -0
- package/dist/index345.js +8 -0
- package/dist/index345.js.map +1 -0
- package/dist/index346.js +26 -0
- package/dist/index346.js.map +1 -0
- package/dist/index35.js +44 -20
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +27 -137
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +22 -181
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +24 -77
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +127 -89
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +231 -5
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +51 -844
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +2636 -61
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +393 -7
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +233 -2
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +20 -22
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +140 -232
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +180 -198
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +76 -3
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +89 -5
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +5 -47
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +840 -23
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +65 -50
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +7 -7
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +2 -15
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +22 -132
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +233 -10
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +191 -203
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +54 -13
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +6 -33
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +31 -44
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +26 -7
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +7 -49
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +12 -4
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +3 -5
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +47 -27
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +49 -48
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +8 -9
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +15 -2
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +134 -2
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +10 -11
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +214 -51
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +13 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +46 -7
- 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 -47
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -205
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +26 -20
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +50 -25
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +9 -400
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +2 -47
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +2 -606
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -5
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -68
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +6 -2
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +594 -352
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +3 -261
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +29 -56
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +246 -43
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +105 -160
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +215 -105
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +66 -24
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +21 -8
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +209 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +319 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +130 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +18 -464
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +69 -179
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +16 -105
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +92 -253
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index90.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index90.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/parseDigits.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n// These mappings map a character (key) to a specific digit that should\n// replace it for normalization purposes. Non-European digits that\n// may be used in phone numbers are mapped to a European equivalent.\n//\n// E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\n//\nexport var DIGITS = {\n '0': '0',\n '1': '1',\n '2': '2',\n '3': '3',\n '4': '4',\n '5': '5',\n '6': '6',\n '7': '7',\n '8': '8',\n '9': '9',\n \"\\uFF10\": '0',\n // Fullwidth digit 0\n \"\\uFF11\": '1',\n // Fullwidth digit 1\n \"\\uFF12\": '2',\n // Fullwidth digit 2\n \"\\uFF13\": '3',\n // Fullwidth digit 3\n \"\\uFF14\": '4',\n // Fullwidth digit 4\n \"\\uFF15\": '5',\n // Fullwidth digit 5\n \"\\uFF16\": '6',\n // Fullwidth digit 6\n \"\\uFF17\": '7',\n // Fullwidth digit 7\n \"\\uFF18\": '8',\n // Fullwidth digit 8\n \"\\uFF19\": '9',\n // Fullwidth digit 9\n \"\\u0660\": '0',\n // Arabic-indic digit 0\n \"\\u0661\": '1',\n // Arabic-indic digit 1\n \"\\u0662\": '2',\n // Arabic-indic digit 2\n \"\\u0663\": '3',\n // Arabic-indic digit 3\n \"\\u0664\": '4',\n // Arabic-indic digit 4\n \"\\u0665\": '5',\n // Arabic-indic digit 5\n \"\\u0666\": '6',\n // Arabic-indic digit 6\n \"\\u0667\": '7',\n // Arabic-indic digit 7\n \"\\u0668\": '8',\n // Arabic-indic digit 8\n \"\\u0669\": '9',\n // Arabic-indic digit 9\n \"\\u06F0\": '0',\n // Eastern-Arabic digit 0\n \"\\u06F1\": '1',\n // Eastern-Arabic digit 1\n \"\\u06F2\": '2',\n // Eastern-Arabic digit 2\n \"\\u06F3\": '3',\n // Eastern-Arabic digit 3\n \"\\u06F4\": '4',\n // Eastern-Arabic digit 4\n \"\\u06F5\": '5',\n // Eastern-Arabic digit 5\n \"\\u06F6\": '6',\n // Eastern-Arabic digit 6\n \"\\u06F7\": '7',\n // Eastern-Arabic digit 7\n \"\\u06F8\": '8',\n // Eastern-Arabic digit 8\n \"\\u06F9\": '9' // Eastern-Arabic digit 9\n};\nexport function parseDigit(character) {\n return DIGITS[character];\n}\n\n/**\r\n * Parses phone number digits from a string.\r\n * Drops all punctuation leaving only digits.\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * parseDigits('8 (800) 555')\r\n * // Outputs '8800555'.\r\n * ```\r\n */\nexport default function parseDigits(string) {\n var result = '';\n // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n var digit = parseDigit(character);\n if (digit) {\n result += digit;\n }\n }\n return result;\n}\n//# sourceMappingURL=parseDigits.js.map"],"names":["_createForOfIteratorHelperLoose","e","t","_unsupportedIterableToArray","o","a","_arrayLikeToArray","n","DIGITS","parseDigit","character","parseDigits","string","result","_iterator","_step","digit"],"mappings":"AAAA,SAASA,EAAgC,GAAGC,GAAG;AAAE,MAAIC,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,QAAQ,KAAK,EAAE,YAAY;AAAG,MAAIA,EAAG,SAAQA,IAAIA,EAAE,KAAK,CAAC,GAAG,KAAK,KAAKA,CAAC;AAAG,MAAI,MAAM,QAAQ,CAAC,MAAMA,IAAIC,EAA4B,CAAC,MAAMF,GAAuC;AAAE,IAAAC,MAAM,IAAIA;AAAI,QAAIE,IAAI;AAAG,WAAO,WAAY;AAAE,aAAOA,KAAK,EAAE,SAAS,EAAE,MAAM,GAAE,IAAK,EAAE,MAAM,IAAI,OAAO,EAAEA,GAAG,EAAC;AAAA,IAAI;AAAA,EAAG;AAAE,QAAM,IAAI,UAAU;AAAA,mFAAuI;AAAG;AACziB,SAASD,EAA4B,GAAGE,GAAG;AAAE,MAAI,GAAG;AAAE,QAAgB,OAAO,KAAnB,SAAsB,QAAOC,EAAkB,GAAGD,CAAC;AAAG,QAAIH,IAAI,CAAA,EAAG,SAAS,KAAK,CAAC,EAAE,MAAM,GAAG,EAAE;AAAG,WAAoBA,MAAb,YAAkB,EAAE,gBAAgBA,IAAI,EAAE,YAAY,OAAiBA,MAAV,SAAyBA,MAAV,QAAc,MAAM,KAAK,CAAC,IAAoBA,MAAhB,eAAqB,2CAA2C,KAAKA,CAAC,IAAII,EAAkB,GAAGD,CAAC,IAAI;AAAA,EAAQ;AAAE;AACzX,SAASC,EAAkB,GAAGD,GAAG;AAAE,GAASA,KAAR,QAAaA,IAAI,EAAE,YAAYA,IAAI,EAAE;AAAS,WAAS,IAAI,GAAGE,IAAI,MAAMF,CAAC,GAAG,IAAIA,GAAG,IAAK,CAAAE,EAAE,CAAC,IAAI,EAAE,CAAC;AAAG,SA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T;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index90.js","sources":["../../../node_modules/imask/esm/masked/dynamic.js"],"sourcesContent":["import { DIRECTION, objectIncludes } from '../core/utils.js';\nimport ChangeDetails from '../core/change-details.js';\nimport createMask, { normalizeOpts } from './factory.js';\nimport Masked from './base.js';\nimport IMask from '../core/holder.js';\nimport '../core/continuous-tail-details.js';\n\n/** Dynamic mask for choosing appropriate mask in run-time */\nclass MaskedDynamic extends Masked {\n constructor(opts) {\n super({\n ...MaskedDynamic.DEFAULTS,\n ...opts\n });\n this.currentMask = undefined;\n }\n updateOptions(opts) {\n super.updateOptions(opts);\n }\n _update(opts) {\n super._update(opts);\n if ('mask' in opts) {\n this.exposeMask = undefined;\n // mask could be totally dynamic with only `dispatch` option\n this.compiledMasks = Array.isArray(opts.mask) ? opts.mask.map(m => {\n const {\n expose,\n ...maskOpts\n } = normalizeOpts(m);\n const masked = createMask({\n overwrite: this._overwrite,\n eager: this._eager,\n skipInvalid: this._skipInvalid,\n ...maskOpts\n });\n if (expose) this.exposeMask = masked;\n return masked;\n }) : [];\n\n // this.currentMask = this.doDispatch(''); // probably not needed but lets see\n }\n }\n _appendCharRaw(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const details = this._applyDispatch(ch, flags);\n if (this.currentMask) {\n details.aggregate(this.currentMask._appendChar(ch, this.currentMaskFlags(flags)));\n }\n return details;\n }\n _applyDispatch(appended, flags, tail) {\n if (appended === void 0) {\n appended = '';\n }\n if (flags === void 0) {\n flags = {};\n }\n if (tail === void 0) {\n tail = '';\n }\n const prevValueBeforeTail = flags.tail && flags._beforeTailState != null ? flags._beforeTailState._value : this.value;\n const inputValue = this.rawInputValue;\n const insertValue = flags.tail && flags._beforeTailState != null ? flags._beforeTailState._rawInputValue : inputValue;\n const tailValue = inputValue.slice(insertValue.length);\n const prevMask = this.currentMask;\n const details = new ChangeDetails();\n const prevMaskState = prevMask == null ? void 0 : prevMask.state;\n\n // clone flags to prevent overwriting `_beforeTailState`\n this.currentMask = this.doDispatch(appended, {\n ...flags\n }, tail);\n\n // restore state after dispatch\n if (this.currentMask) {\n if (this.currentMask !== prevMask) {\n // if mask changed reapply input\n this.currentMask.reset();\n if (insertValue) {\n this.currentMask.append(insertValue, {\n raw: true\n });\n details.tailShift = this.currentMask.value.length - prevValueBeforeTail.length;\n }\n if (tailValue) {\n details.tailShift += this.currentMask.append(tailValue, {\n raw: true,\n tail: true\n }).tailShift;\n }\n } else if (prevMaskState) {\n // Dispatch can do something bad with state, so\n // restore prev mask state\n this.currentMask.state = prevMaskState;\n }\n }\n return details;\n }\n _appendPlaceholder() {\n const details = this._applyDispatch();\n if (this.currentMask) {\n details.aggregate(this.currentMask._appendPlaceholder());\n }\n return details;\n }\n _appendEager() {\n const details = this._applyDispatch();\n if (this.currentMask) {\n details.aggregate(this.currentMask._appendEager());\n }\n return details;\n }\n appendTail(tail) {\n const details = new ChangeDetails();\n if (tail) details.aggregate(this._applyDispatch('', {}, tail));\n return details.aggregate(this.currentMask ? this.currentMask.appendTail(tail) : super.appendTail(tail));\n }\n currentMaskFlags(flags) {\n var _flags$_beforeTailSta, _flags$_beforeTailSta2;\n return {\n ...flags,\n _beforeTailState: ((_flags$_beforeTailSta = flags._beforeTailState) == null ? void 0 : _flags$_beforeTailSta.currentMaskRef) === this.currentMask && ((_flags$_beforeTailSta2 = flags._beforeTailState) == null ? void 0 : _flags$_beforeTailSta2.currentMask) || flags._beforeTailState\n };\n }\n doDispatch(appended, flags, tail) {\n if (flags === void 0) {\n flags = {};\n }\n if (tail === void 0) {\n tail = '';\n }\n return this.dispatch(appended, this, flags, tail);\n }\n doValidate(flags) {\n return super.doValidate(flags) && (!this.currentMask || this.currentMask.doValidate(this.currentMaskFlags(flags)));\n }\n doPrepare(str, flags) {\n if (flags === void 0) {\n flags = {};\n }\n let [s, details] = super.doPrepare(str, flags);\n if (this.currentMask) {\n let currentDetails;\n [s, currentDetails] = super.doPrepare(s, this.currentMaskFlags(flags));\n details = details.aggregate(currentDetails);\n }\n return [s, details];\n }\n doPrepareChar(str, flags) {\n if (flags === void 0) {\n flags = {};\n }\n let [s, details] = super.doPrepareChar(str, flags);\n if (this.currentMask) {\n let currentDetails;\n [s, currentDetails] = super.doPrepareChar(s, this.currentMaskFlags(flags));\n details = details.aggregate(currentDetails);\n }\n return [s, details];\n }\n reset() {\n var _this$currentMask;\n (_this$currentMask = this.currentMask) == null || _this$currentMask.reset();\n this.compiledMasks.forEach(m => m.reset());\n }\n get value() {\n return this.exposeMask ? this.exposeMask.value : this.currentMask ? this.currentMask.value : '';\n }\n set value(value) {\n if (this.exposeMask) {\n this.exposeMask.value = value;\n this.currentMask = this.exposeMask;\n this._applyDispatch();\n } else super.value = value;\n }\n get unmaskedValue() {\n return this.exposeMask ? this.exposeMask.unmaskedValue : this.currentMask ? this.currentMask.unmaskedValue : '';\n }\n set unmaskedValue(unmaskedValue) {\n if (this.exposeMask) {\n this.exposeMask.unmaskedValue = unmaskedValue;\n this.currentMask = this.exposeMask;\n this._applyDispatch();\n } else super.unmaskedValue = unmaskedValue;\n }\n get typedValue() {\n return this.exposeMask ? this.exposeMask.typedValue : this.currentMask ? this.currentMask.typedValue : '';\n }\n set typedValue(typedValue) {\n if (this.exposeMask) {\n this.exposeMask.typedValue = typedValue;\n this.currentMask = this.exposeMask;\n this._applyDispatch();\n return;\n }\n let unmaskedValue = String(typedValue);\n\n // double check it\n if (this.currentMask) {\n this.currentMask.typedValue = typedValue;\n unmaskedValue = this.currentMask.unmaskedValue;\n }\n this.unmaskedValue = unmaskedValue;\n }\n get displayValue() {\n return this.currentMask ? this.currentMask.displayValue : '';\n }\n get isComplete() {\n var _this$currentMask2;\n return Boolean((_this$currentMask2 = this.currentMask) == null ? void 0 : _this$currentMask2.isComplete);\n }\n get isFilled() {\n var _this$currentMask3;\n return Boolean((_this$currentMask3 = this.currentMask) == null ? void 0 : _this$currentMask3.isFilled);\n }\n remove(fromPos, toPos) {\n const details = new ChangeDetails();\n if (this.currentMask) {\n details.aggregate(this.currentMask.remove(fromPos, toPos))\n // update with dispatch\n .aggregate(this._applyDispatch());\n }\n return details;\n }\n get state() {\n var _this$currentMask4;\n return {\n ...super.state,\n _rawInputValue: this.rawInputValue,\n compiledMasks: this.compiledMasks.map(m => m.state),\n currentMaskRef: this.currentMask,\n currentMask: (_this$currentMask4 = this.currentMask) == null ? void 0 : _this$currentMask4.state\n };\n }\n set state(state) {\n const {\n compiledMasks,\n currentMaskRef,\n currentMask,\n ...maskedState\n } = state;\n if (compiledMasks) this.compiledMasks.forEach((m, mi) => m.state = compiledMasks[mi]);\n if (currentMaskRef != null) {\n this.currentMask = currentMaskRef;\n this.currentMask.state = currentMask;\n }\n super.state = maskedState;\n }\n extractInput(fromPos, toPos, flags) {\n return this.currentMask ? this.currentMask.extractInput(fromPos, toPos, flags) : '';\n }\n extractTail(fromPos, toPos) {\n return this.currentMask ? this.currentMask.extractTail(fromPos, toPos) : super.extractTail(fromPos, toPos);\n }\n doCommit() {\n if (this.currentMask) this.currentMask.doCommit();\n super.doCommit();\n }\n nearestInputPos(cursorPos, direction) {\n return this.currentMask ? this.currentMask.nearestInputPos(cursorPos, direction) : super.nearestInputPos(cursorPos, direction);\n }\n get overwrite() {\n return this.currentMask ? this.currentMask.overwrite : this._overwrite;\n }\n set overwrite(overwrite) {\n this._overwrite = overwrite;\n }\n get eager() {\n return this.currentMask ? this.currentMask.eager : this._eager;\n }\n set eager(eager) {\n this._eager = eager;\n }\n get skipInvalid() {\n return this.currentMask ? this.currentMask.skipInvalid : this._skipInvalid;\n }\n set skipInvalid(skipInvalid) {\n this._skipInvalid = skipInvalid;\n }\n get autofix() {\n return this.currentMask ? this.currentMask.autofix : this._autofix;\n }\n set autofix(autofix) {\n this._autofix = autofix;\n }\n maskEquals(mask) {\n return Array.isArray(mask) ? this.compiledMasks.every((m, mi) => {\n if (!mask[mi]) return;\n const {\n mask: oldMask,\n ...restOpts\n } = mask[mi];\n return objectIncludes(m, restOpts) && m.maskEquals(oldMask);\n }) : super.maskEquals(mask);\n }\n typedValueEquals(value) {\n var _this$currentMask5;\n return Boolean((_this$currentMask5 = this.currentMask) == null ? void 0 : _this$currentMask5.typedValueEquals(value));\n }\n}\n/** Currently chosen mask */\n/** Currently chosen mask */\n/** Compliled {@link Masked} options */\n/** Chooses {@link Masked} depending on input value */\nMaskedDynamic.DEFAULTS = {\n ...Masked.DEFAULTS,\n dispatch: (appended, masked, flags, tail) => {\n if (!masked.compiledMasks.length) return;\n const inputValue = masked.rawInputValue;\n\n // simulate input\n const inputs = masked.compiledMasks.map((m, index) => {\n const isCurrent = masked.currentMask === m;\n const startInputPos = isCurrent ? m.displayValue.length : m.nearestInputPos(m.displayValue.length, DIRECTION.FORCE_LEFT);\n if (m.rawInputValue !== inputValue) {\n m.reset();\n m.append(inputValue, {\n raw: true\n });\n } else if (!isCurrent) {\n m.remove(startInputPos);\n }\n m.append(appended, masked.currentMaskFlags(flags));\n m.appendTail(tail);\n return {\n index,\n weight: m.rawInputValue.length,\n totalInputPositions: m.totalInputPositions(0, Math.max(startInputPos, m.nearestInputPos(m.displayValue.length, DIRECTION.FORCE_LEFT)))\n };\n });\n\n // pop masks with longer values first\n inputs.sort((i1, i2) => i2.weight - i1.weight || i2.totalInputPositions - i1.totalInputPositions);\n return masked.compiledMasks[inputs[0].index];\n }\n};\nIMask.MaskedDynamic = MaskedDynamic;\n\nexport { MaskedDynamic as default };\n"],"names":["MaskedDynamic","Masked","opts","m","expose","maskOpts","normalizeOpts","masked","createMask","ch","flags","details","appended","tail","prevValueBeforeTail","inputValue","insertValue","tailValue","prevMask","ChangeDetails","prevMaskState","_flags$_beforeTailSta","_flags$_beforeTailSta2","str","currentDetails","_this$currentMask","value","unmaskedValue","typedValue","_this$currentMask2","_this$currentMask3","fromPos","toPos","_this$currentMask4","state","compiledMasks","currentMaskRef","currentMask","maskedState","mi","cursorPos","direction","overwrite","eager","skipInvalid","autofix","mask","oldMask","restOpts","objectIncludes","_this$curr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,GAAGiD,MAAU;AACpD,YAAMC,IAAY9C,EAAO,gBAAgBJ,GACnCmD,IAAgBD,IAAYlD,EAAE,aAAa,SAASA,EAAE,gBAAgBA,EAAE,aAAa,QAAQoD,EAAU,UAAU;AACvH,aAAIpD,EAAE,kBAAkBY,KACtBZ,EAAE,MAAK,GACPA,EAAE,OAAOY,GAAY;AAAA,QACnB,KAAK;AAAA,MACf,CAAS,KACSsC,KACVlD,EAAE,OAAOmD,CAAa,GAExBnD,EAAE,OAAOS,GAAUL,EAAO,iBAAiBG,CAAK,CAAC,GACjDP,EAAE,WAAWU,CAAI,GACV;AAAA,QACL,OAAAuC;AAAA,QACA,QAAQjD,EAAE,cAAc;AAAA,QACxB,qBAAqBA,EAAE,oBAAoB,GAAG,KAAK,IAAImD,GAAenD,EAAE,gBAAgBA,EAAE,aAAa,QAAQoD,EAAU,UAAU,CAAC,CAAC;AAAA,MAC7I;AAAA,IACI,CAAC;AAGD,WAAAJ,EAAO,KAAK,CAACK,GAAIC,MAAOA,EAAG,SAASD,EAAG,UAAUC,EAAG,sBAAsBD,EAAG,mBAAmB,GACzFjD,EAAO,cAAc4C,EAAO,CAAC,EAAE,KAAK;AAAA,EAC7C;AACF;AACAO,EAAM,gBAAgB1D;","x_google_ignoreList":[0]}
|
package/dist/index91.js
CHANGED
|
@@ -1,28 +1,70 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import m from "./index94.js";
|
|
2
|
+
import c from "./index86.js";
|
|
3
|
+
import l from "./index87.js";
|
|
4
|
+
import { DIRECTION as p } from "./index201.js";
|
|
5
|
+
import d from "./index203.js";
|
|
6
|
+
import "./index88.js";
|
|
7
|
+
import "./index32.js";
|
|
8
|
+
import "./index95.js";
|
|
9
|
+
import "./index98.js";
|
|
10
|
+
class r extends m {
|
|
11
|
+
constructor(e) {
|
|
12
|
+
super({
|
|
13
|
+
...r.DEFAULTS,
|
|
14
|
+
...e
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
updateOptions(e) {
|
|
18
|
+
super.updateOptions(e);
|
|
19
|
+
}
|
|
20
|
+
_update(e) {
|
|
21
|
+
const {
|
|
22
|
+
enum: t,
|
|
23
|
+
...s
|
|
24
|
+
} = e;
|
|
25
|
+
if (t) {
|
|
26
|
+
const i = t.map((h) => h.length), a = Math.min(...i), n = Math.max(...i) - a;
|
|
27
|
+
s.mask = "*".repeat(a), n && (s.mask += "[" + "*".repeat(n) + "]"), this.enum = t;
|
|
28
|
+
}
|
|
29
|
+
super._update(s);
|
|
30
|
+
}
|
|
31
|
+
_appendCharRaw(e, t) {
|
|
32
|
+
t === void 0 && (t = {});
|
|
33
|
+
const s = Math.min(this.nearestInputPos(0, p.FORCE_RIGHT), this.value.length), i = this.enum.filter((a) => this.matchValue(a, this.unmaskedValue + e, s));
|
|
34
|
+
if (i.length) {
|
|
35
|
+
i.length === 1 && this._forEachBlocksInRange(0, this.value.length, (n, h) => {
|
|
36
|
+
const u = i[0][h];
|
|
37
|
+
h >= this.value.length || u === n.value || (n.reset(), n._appendChar(u, t));
|
|
38
|
+
});
|
|
39
|
+
const a = super._appendCharRaw(i[0][this.value.length], t);
|
|
40
|
+
return i.length === 1 && i[0].slice(this.unmaskedValue.length).split("").forEach((n) => a.aggregate(super._appendCharRaw(n))), a;
|
|
41
|
+
}
|
|
42
|
+
return new l({
|
|
43
|
+
skip: !this.isComplete
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
extractTail(e, t) {
|
|
47
|
+
return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), new d("", e);
|
|
48
|
+
}
|
|
49
|
+
remove(e, t) {
|
|
50
|
+
if (e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), e === t) return new l();
|
|
51
|
+
const s = Math.min(super.nearestInputPos(0, p.FORCE_RIGHT), this.value.length);
|
|
52
|
+
let i;
|
|
53
|
+
for (i = e; i >= 0 && !(this.enum.filter((h) => this.matchValue(h, this.value.slice(s, i), s)).length > 1); --i)
|
|
54
|
+
;
|
|
55
|
+
const a = super.remove(i, t);
|
|
56
|
+
return a.tailShift += i - e, a;
|
|
57
|
+
}
|
|
58
|
+
get isComplete() {
|
|
59
|
+
return this.enum.indexOf(this.value) >= 0;
|
|
60
|
+
}
|
|
23
61
|
}
|
|
62
|
+
r.DEFAULTS = {
|
|
63
|
+
...m.DEFAULTS,
|
|
64
|
+
matchValue: (o, e, t) => o.indexOf(e, t) === t
|
|
65
|
+
};
|
|
66
|
+
c.MaskedEnum = r;
|
|
24
67
|
export {
|
|
25
|
-
|
|
26
|
-
u as default
|
|
68
|
+
r as default
|
|
27
69
|
};
|
|
28
70
|
//# sourceMappingURL=index91.js.map
|
package/dist/index91.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index91.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index91.js","sources":["../../../node_modules/imask/esm/masked/enum.js"],"sourcesContent":["import MaskedPattern from './pattern.js';\nimport IMask from '../core/holder.js';\nimport ChangeDetails from '../core/change-details.js';\nimport { DIRECTION } from '../core/utils.js';\nimport ContinuousTailDetails from '../core/continuous-tail-details.js';\nimport './base.js';\nimport './factory.js';\nimport './pattern/chunk-tail-details.js';\nimport './pattern/cursor.js';\nimport './pattern/fixed-definition.js';\nimport './pattern/input-definition.js';\nimport './regexp.js';\n\n/** Pattern which validates enum values */\nclass MaskedEnum extends MaskedPattern {\n constructor(opts) {\n super({\n ...MaskedEnum.DEFAULTS,\n ...opts\n }); // mask will be created in _update\n }\n updateOptions(opts) {\n super.updateOptions(opts);\n }\n _update(opts) {\n const {\n enum: enum_,\n ...eopts\n } = opts;\n if (enum_) {\n const lengths = enum_.map(e => e.length);\n const requiredLength = Math.min(...lengths);\n const optionalLength = Math.max(...lengths) - requiredLength;\n eopts.mask = '*'.repeat(requiredLength);\n if (optionalLength) eopts.mask += '[' + '*'.repeat(optionalLength) + ']';\n this.enum = enum_;\n }\n super._update(eopts);\n }\n _appendCharRaw(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const matchFrom = Math.min(this.nearestInputPos(0, DIRECTION.FORCE_RIGHT), this.value.length);\n const matches = this.enum.filter(e => this.matchValue(e, this.unmaskedValue + ch, matchFrom));\n if (matches.length) {\n if (matches.length === 1) {\n this._forEachBlocksInRange(0, this.value.length, (b, bi) => {\n const mch = matches[0][bi];\n if (bi >= this.value.length || mch === b.value) return;\n b.reset();\n b._appendChar(mch, flags);\n });\n }\n const d = super._appendCharRaw(matches[0][this.value.length], flags);\n if (matches.length === 1) {\n matches[0].slice(this.unmaskedValue.length).split('').forEach(mch => d.aggregate(super._appendCharRaw(mch)));\n }\n return d;\n }\n return new ChangeDetails({\n skip: !this.isComplete\n });\n }\n extractTail(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n // just drop tail\n return new ContinuousTailDetails('', fromPos);\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n if (fromPos === toPos) return new ChangeDetails();\n const matchFrom = Math.min(super.nearestInputPos(0, DIRECTION.FORCE_RIGHT), this.value.length);\n let pos;\n for (pos = fromPos; pos >= 0; --pos) {\n const matches = this.enum.filter(e => this.matchValue(e, this.value.slice(matchFrom, pos), matchFrom));\n if (matches.length > 1) break;\n }\n const details = super.remove(pos, toPos);\n details.tailShift += pos - fromPos;\n return details;\n }\n get isComplete() {\n return this.enum.indexOf(this.value) >= 0;\n }\n}\n/** Match enum value */\nMaskedEnum.DEFAULTS = {\n ...MaskedPattern.DEFAULTS,\n matchValue: (estr, istr, matchFrom) => estr.indexOf(istr, matchFrom) === matchFrom\n};\nIMask.MaskedEnum = MaskedEnum;\n\nexport { MaskedEnum as default };\n"],"names":["MaskedEnum","MaskedPattern","opts","enum_","eopts","lengths","e","requiredLength","optionalLength","ch","flags","matchFrom","DIRECTION","matches","b","bi","mch","d","ChangeDetails","fromPos","toPos","ContinuousTailDetails","pos","details","estr","istr","IMask"],"mappings":";;;;;;;;;AAcA,MAAMA,UAAmBC,EAAc;AAAA,EACrC,YAAYC,GAAM;AAChB,UAAM;AAAA,MACJ,GAAGF,EAAW;AAAA,MACd,GAAGE;AAAA,IACT,CAAK;AAAA,EACH;AAAA,EACA,cAAcA,GAAM;AAClB,UAAM,cAAcA,CAAI;AAAA,EAC1B;AAAA,EACA,QAAQA,GAAM;AACZ,UAAM;AAAA,MACJ,MAAMC;AAAA,MACN,GAAGC;AAAA,IACT,IAAQF;AACJ,QAAIC,GAAO;AACT,YAAME,IAAUF,EAAM,IAAI,CAAAG,MAAKA,EAAE,MAAM,GACjCC,IAAiB,KAAK,IAAI,GAAGF,CAAO,GACpCG,IAAiB,KAAK,IAAI,GAAGH,CAAO,IAAIE;AAC9C,MAAAH,EAAM,OAAO,IAAI,OAAOG,CAAc,GAClCC,MAAgBJ,EAAM,QAAQ,MAAM,IAAI,OAAOI,CAAc,IAAI,MACrE,KAAK,OAAOL;AAAA,IACd;AACA,UAAM,QAAQC,CAAK;AAAA,EACrB;AAAA,EACA,eAAeK,GAAIC,GAAO;AACxB,IAAIA,MAAU,WACZA,IAAQ,CAAA;AAEV,UAAMC,IAAY,KAAK,IAAI,KAAK,gBAAgB,GAAGC,EAAU,WAAW,GAAG,KAAK,MAAM,MAAM,GACtFC,IAAU,KAAK,KAAK,OAAO,CAAAP,MAAK,KAAK,WAAWA,GAAG,KAAK,gBAAgBG,GAAIE,CAAS,CAAC;AAC5F,QAAIE,EAAQ,QAAQ;AAClB,MAAI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AAQ,aAAaD,IAAMH,GACpBI;AAAA,EACT;AAAA,EACA,IAAI,aAAa;AACf,WAAO,KAAK,KAAK,QAAQ,KAAK,KAAK,KAAK;AAAA,EAC1C;AACF;AAEAvB,EAAW,WAAW;AAAA,EACpB,GAAGC,EAAc;AAAA,EACjB,YAAY,CAACuB,GAAMC,GAAMd,MAAca,EAAK,QAAQC,GAAMd,CAAS,MAAMA;AAC3E;AACAe,EAAM,aAAa1B;","x_google_ignoreList":[0]}
|
package/dist/index92.js
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import e from "./index88.js";
|
|
2
|
+
import t from "./index86.js";
|
|
3
|
+
import "./index87.js";
|
|
4
|
+
class s extends e {
|
|
5
|
+
/** */
|
|
6
|
+
/** Enable characters overwriting */
|
|
7
|
+
/** */
|
|
8
|
+
/** */
|
|
9
|
+
/** */
|
|
10
|
+
updateOptions(a) {
|
|
11
|
+
super.updateOptions(a);
|
|
12
|
+
}
|
|
13
|
+
_update(a) {
|
|
14
|
+
super._update({
|
|
15
|
+
...a,
|
|
16
|
+
validate: a.mask
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
t.MaskedFunction = s;
|
|
2
21
|
export {
|
|
3
|
-
|
|
4
|
-
A as MAX_LENGTH_FOR_NSN,
|
|
5
|
-
v as MIN_LENGTH_FOR_NSN,
|
|
6
|
-
T as PLUS_CHARS,
|
|
7
|
-
_ as VALID_DIGITS,
|
|
8
|
-
N as VALID_PUNCTUATION,
|
|
9
|
-
S as WHITESPACE
|
|
22
|
+
s as default
|
|
10
23
|
};
|
|
11
24
|
//# sourceMappingURL=index92.js.map
|
package/dist/index92.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index92.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index92.js","sources":["../../../node_modules/imask/esm/masked/function.js"],"sourcesContent":["import Masked from './base.js';\nimport IMask from '../core/holder.js';\nimport '../core/change-details.js';\nimport '../core/continuous-tail-details.js';\nimport '../core/utils.js';\n\n/** Masking by custom Function */\nclass MaskedFunction extends Masked {\n /** */\n\n /** Enable characters overwriting */\n\n /** */\n\n /** */\n\n /** */\n\n updateOptions(opts) {\n super.updateOptions(opts);\n }\n _update(opts) {\n super._update({\n ...opts,\n validate: opts.mask\n });\n }\n}\nIMask.MaskedFunction = MaskedFunction;\n\nexport { MaskedFunction as default };\n"],"names":["MaskedFunction","Masked","opts","IMask"],"mappings":";;;AAOA,MAAMA,UAAuBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWlC,cAAcC,GAAM;AAClB,UAAM,cAAcA,CAAI;AAAA,EAC1B;AAAA,EACA,QAAQA,GAAM;AACZ,UAAM,QAAQ;AAAA,MACZ,GAAGA;AAAA,MACH,UAAUA,EAAK;AAAA,IACrB,CAAK;AAAA,EACH;AACF;AACAC,EAAM,iBAAiBH;","x_google_ignoreList":[0]}
|
package/dist/index93.js
CHANGED
|
@@ -1,8 +1,213 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { escapeRegExp as d, DIRECTION as n } from "./index201.js";
|
|
2
|
+
import m from "./index87.js";
|
|
3
|
+
import _ from "./index88.js";
|
|
4
|
+
import x from "./index86.js";
|
|
5
|
+
var S;
|
|
6
|
+
class i extends _ {
|
|
7
|
+
/** Single char */
|
|
8
|
+
/** Single char */
|
|
9
|
+
/** Array of single chars */
|
|
10
|
+
/** */
|
|
11
|
+
/** */
|
|
12
|
+
/** Digits after point */
|
|
13
|
+
/** Flag to remove leading and trailing zeros in the end of editing */
|
|
14
|
+
/** Flag to pad trailing zeros after point in the end of editing */
|
|
15
|
+
/** Enable characters overwriting */
|
|
16
|
+
/** */
|
|
17
|
+
/** */
|
|
18
|
+
/** */
|
|
19
|
+
/** Format typed value to string */
|
|
20
|
+
/** Parse string to get typed value */
|
|
21
|
+
constructor(e) {
|
|
22
|
+
super({
|
|
23
|
+
...i.DEFAULTS,
|
|
24
|
+
...e
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
updateOptions(e) {
|
|
28
|
+
super.updateOptions(e);
|
|
29
|
+
}
|
|
30
|
+
_update(e) {
|
|
31
|
+
super._update(e), this._updateRegExps();
|
|
32
|
+
}
|
|
33
|
+
_updateRegExps() {
|
|
34
|
+
const e = "^" + (this.allowNegative ? "[+|\\-]?" : ""), t = "\\d*", a = (this.scale ? "(" + d(this.radix) + "\\d{0," + this.scale + "})?" : "") + "$";
|
|
35
|
+
this._numberRegExp = new RegExp(e + t + a), this._mapToRadixRegExp = new RegExp("[" + this.mapToRadix.map(d).join("") + "]", "g"), this._thousandsSeparatorRegExp = new RegExp(d(this.thousandsSeparator), "g");
|
|
36
|
+
}
|
|
37
|
+
_removeThousandsSeparators(e) {
|
|
38
|
+
return e.replace(this._thousandsSeparatorRegExp, "");
|
|
39
|
+
}
|
|
40
|
+
_insertThousandsSeparators(e) {
|
|
41
|
+
const t = e.split(this.radix);
|
|
42
|
+
return t[0] = t[0].replace(/\B(?=(\d{3})+(?!\d))/g, this.thousandsSeparator), t.join(this.radix);
|
|
43
|
+
}
|
|
44
|
+
doPrepareChar(e, t) {
|
|
45
|
+
t === void 0 && (t = {});
|
|
46
|
+
const [a, s] = super.doPrepareChar(this._removeThousandsSeparators(this.scale && this.mapToRadix.length && /*
|
|
47
|
+
radix should be mapped when
|
|
48
|
+
1) input is done from keyboard = flags.input && flags.raw
|
|
49
|
+
2) unmasked value is set = !flags.input && !flags.raw
|
|
50
|
+
and should not be mapped when
|
|
51
|
+
1) value is set = flags.input && !flags.raw
|
|
52
|
+
2) raw value is set = !flags.input && flags.raw
|
|
53
|
+
*/
|
|
54
|
+
(t.input && t.raw || !t.input && !t.raw) ? e.replace(this._mapToRadixRegExp, this.radix) : e), t);
|
|
55
|
+
return e && !a && (s.skip = !0), a && !this.allowPositive && !this.value && a !== "-" && s.aggregate(this._appendChar("-")), [a, s];
|
|
56
|
+
}
|
|
57
|
+
_separatorsCount(e, t) {
|
|
58
|
+
t === void 0 && (t = !1);
|
|
59
|
+
let a = 0;
|
|
60
|
+
for (let s = 0; s < e; ++s)
|
|
61
|
+
this._value.indexOf(this.thousandsSeparator, s) === s && (++a, t && (e += this.thousandsSeparator.length));
|
|
62
|
+
return a;
|
|
63
|
+
}
|
|
64
|
+
_separatorsCountFromSlice(e) {
|
|
65
|
+
return e === void 0 && (e = this._value), this._separatorsCount(this._removeThousandsSeparators(e).length, !0);
|
|
66
|
+
}
|
|
67
|
+
extractInput(e, t, a) {
|
|
68
|
+
return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), [e, t] = this._adjustRangeWithSeparators(e, t), this._removeThousandsSeparators(super.extractInput(e, t, a));
|
|
69
|
+
}
|
|
70
|
+
_appendCharRaw(e, t) {
|
|
71
|
+
t === void 0 && (t = {});
|
|
72
|
+
const a = t.tail && t._beforeTailState ? t._beforeTailState._value : this._value, s = this._separatorsCountFromSlice(a);
|
|
73
|
+
this._value = this._removeThousandsSeparators(this.value);
|
|
74
|
+
const r = this._value;
|
|
75
|
+
this._value += e;
|
|
76
|
+
const h = this.number;
|
|
77
|
+
let o = !isNaN(h), u = !1;
|
|
78
|
+
if (o) {
|
|
79
|
+
let p;
|
|
80
|
+
this.min != null && this.min < 0 && this.number < this.min && (p = this.min), this.max != null && this.max > 0 && this.number > this.max && (p = this.max), p != null && (this.autofix ? (this._value = this.format(p, this).replace(i.UNMASKED_RADIX, this.radix), u || (u = r === this._value && !t.tail)) : o = !1), o && (o = !!this._value.match(this._numberRegExp));
|
|
81
|
+
}
|
|
82
|
+
let l;
|
|
83
|
+
o ? l = new m({
|
|
84
|
+
inserted: this._value.slice(r.length),
|
|
85
|
+
rawInserted: u ? "" : e,
|
|
86
|
+
skip: u
|
|
87
|
+
}) : (this._value = r, l = new m()), this._value = this._insertThousandsSeparators(this._value);
|
|
88
|
+
const v = t.tail && t._beforeTailState ? t._beforeTailState._value : this._value, f = this._separatorsCountFromSlice(v);
|
|
89
|
+
return l.tailShift += (f - s) * this.thousandsSeparator.length, l;
|
|
90
|
+
}
|
|
91
|
+
_findSeparatorAround(e) {
|
|
92
|
+
if (this.thousandsSeparator) {
|
|
93
|
+
const t = e - this.thousandsSeparator.length + 1, a = this.value.indexOf(this.thousandsSeparator, t);
|
|
94
|
+
if (a <= e) return a;
|
|
95
|
+
}
|
|
96
|
+
return -1;
|
|
97
|
+
}
|
|
98
|
+
_adjustRangeWithSeparators(e, t) {
|
|
99
|
+
const a = this._findSeparatorAround(e);
|
|
100
|
+
a >= 0 && (e = a);
|
|
101
|
+
const s = this._findSeparatorAround(t);
|
|
102
|
+
return s >= 0 && (t = s + this.thousandsSeparator.length), [e, t];
|
|
103
|
+
}
|
|
104
|
+
remove(e, t) {
|
|
105
|
+
e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), [e, t] = this._adjustRangeWithSeparators(e, t);
|
|
106
|
+
const a = this.value.slice(0, e), s = this.value.slice(t), r = this._separatorsCount(a.length);
|
|
107
|
+
this._value = this._insertThousandsSeparators(this._removeThousandsSeparators(a + s));
|
|
108
|
+
const h = this._separatorsCountFromSlice(a);
|
|
109
|
+
return new m({
|
|
110
|
+
tailShift: (h - r) * this.thousandsSeparator.length
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
nearestInputPos(e, t) {
|
|
114
|
+
if (!this.thousandsSeparator) return e;
|
|
115
|
+
switch (t) {
|
|
116
|
+
case n.NONE:
|
|
117
|
+
case n.LEFT:
|
|
118
|
+
case n.FORCE_LEFT: {
|
|
119
|
+
const a = this._findSeparatorAround(e - 1);
|
|
120
|
+
if (a >= 0) {
|
|
121
|
+
const s = a + this.thousandsSeparator.length;
|
|
122
|
+
if (e < s || this.value.length <= s || t === n.FORCE_LEFT)
|
|
123
|
+
return a;
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
case n.RIGHT:
|
|
128
|
+
case n.FORCE_RIGHT: {
|
|
129
|
+
const a = this._findSeparatorAround(e);
|
|
130
|
+
if (a >= 0)
|
|
131
|
+
return a + this.thousandsSeparator.length;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return e;
|
|
135
|
+
}
|
|
136
|
+
doCommit() {
|
|
137
|
+
if (this.value) {
|
|
138
|
+
const e = this.number;
|
|
139
|
+
let t = e;
|
|
140
|
+
this.min != null && (t = Math.max(t, this.min)), this.max != null && (t = Math.min(t, this.max)), t !== e && (this.unmaskedValue = this.format(t, this));
|
|
141
|
+
let a = this.value;
|
|
142
|
+
this.normalizeZeros && (a = this._normalizeZeros(a)), this.padFractionalZeros && this.scale > 0 && (a = this._padFractionalZeros(a)), this._value = a;
|
|
143
|
+
}
|
|
144
|
+
super.doCommit();
|
|
145
|
+
}
|
|
146
|
+
_normalizeZeros(e) {
|
|
147
|
+
const t = this._removeThousandsSeparators(e).split(this.radix);
|
|
148
|
+
return t[0] = t[0].replace(/^(\D*)(0*)(\d*)/, (a, s, r, h) => s + h), e.length && !/\d$/.test(t[0]) && (t[0] = t[0] + "0"), t.length > 1 && (t[1] = t[1].replace(/0*$/, ""), t[1].length || (t.length = 1)), this._insertThousandsSeparators(t.join(this.radix));
|
|
149
|
+
}
|
|
150
|
+
_padFractionalZeros(e) {
|
|
151
|
+
if (!e) return e;
|
|
152
|
+
const t = e.split(this.radix);
|
|
153
|
+
return t.length < 2 && t.push(""), t[1] = t[1].padEnd(this.scale, "0"), t.join(this.radix);
|
|
154
|
+
}
|
|
155
|
+
doSkipInvalid(e, t, a) {
|
|
156
|
+
t === void 0 && (t = {});
|
|
157
|
+
const s = this.scale === 0 && e !== this.thousandsSeparator && (e === this.radix || e === i.UNMASKED_RADIX || this.mapToRadix.includes(e));
|
|
158
|
+
return super.doSkipInvalid(e, t, a) && !s;
|
|
159
|
+
}
|
|
160
|
+
get unmaskedValue() {
|
|
161
|
+
return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, i.UNMASKED_RADIX);
|
|
162
|
+
}
|
|
163
|
+
set unmaskedValue(e) {
|
|
164
|
+
super.unmaskedValue = e;
|
|
165
|
+
}
|
|
166
|
+
get typedValue() {
|
|
167
|
+
return this.parse(this.unmaskedValue, this);
|
|
168
|
+
}
|
|
169
|
+
set typedValue(e) {
|
|
170
|
+
this.rawInputValue = this.format(e, this).replace(i.UNMASKED_RADIX, this.radix);
|
|
171
|
+
}
|
|
172
|
+
/** Parsed Number */
|
|
173
|
+
get number() {
|
|
174
|
+
return this.typedValue;
|
|
175
|
+
}
|
|
176
|
+
set number(e) {
|
|
177
|
+
this.typedValue = e;
|
|
178
|
+
}
|
|
179
|
+
get allowNegative() {
|
|
180
|
+
return this.min != null && this.min < 0 || this.max != null && this.max < 0;
|
|
181
|
+
}
|
|
182
|
+
get allowPositive() {
|
|
183
|
+
return this.min != null && this.min > 0 || this.max != null && this.max > 0;
|
|
184
|
+
}
|
|
185
|
+
typedValueEquals(e) {
|
|
186
|
+
return (super.typedValueEquals(e) || i.EMPTY_VALUES.includes(e) && i.EMPTY_VALUES.includes(this.typedValue)) && !(e === 0 && this.value === "");
|
|
187
|
+
}
|
|
4
188
|
}
|
|
189
|
+
S = i;
|
|
190
|
+
i.UNMASKED_RADIX = ".";
|
|
191
|
+
i.EMPTY_VALUES = [..._.EMPTY_VALUES, 0];
|
|
192
|
+
i.DEFAULTS = {
|
|
193
|
+
..._.DEFAULTS,
|
|
194
|
+
mask: Number,
|
|
195
|
+
radix: ",",
|
|
196
|
+
thousandsSeparator: "",
|
|
197
|
+
mapToRadix: [S.UNMASKED_RADIX],
|
|
198
|
+
min: Number.MIN_SAFE_INTEGER,
|
|
199
|
+
max: Number.MAX_SAFE_INTEGER,
|
|
200
|
+
scale: 2,
|
|
201
|
+
normalizeZeros: !0,
|
|
202
|
+
padFractionalZeros: !1,
|
|
203
|
+
parse: Number,
|
|
204
|
+
format: (c) => c.toLocaleString("en-US", {
|
|
205
|
+
useGrouping: !1,
|
|
206
|
+
maximumFractionDigits: 20
|
|
207
|
+
})
|
|
208
|
+
};
|
|
209
|
+
x.MaskedNumber = i;
|
|
5
210
|
export {
|
|
6
|
-
|
|
211
|
+
i as default
|
|
7
212
|
};
|
|
8
213
|
//# sourceMappingURL=index93.js.map
|
package/dist/index93.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index93.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js"],"sourcesContent":["import { VALID_PUNCTUATION } from '../constants.js';\n\n// Removes brackets and replaces dashes with spaces.\n//\n// E.g. \"(999) 111-22-33\" -> \"999 111 22 33\"\n//\n// For some reason Google's metadata contains `<intlFormat/>`s with brackets and dashes.\n// Meanwhile, there's no single opinion about using punctuation in international phone numbers.\n//\n// For example, Google's `<intlFormat/>` for USA is `+1 213-373-4253`.\n// And here's a quote from WikiPedia's \"North American Numbering Plan\" page:\n// https://en.wikipedia.org/wiki/North_American_Numbering_Plan\n//\n// \"The country calling code for all countries participating in the NANP is 1.\n// In international format, an NANP number should be listed as +1 301 555 01 00,\n// where 301 is an area code (Maryland).\"\n//\n// I personally prefer the international format without any punctuation.\n// For example, brackets are remnants of the old age, meaning that the\n// phone number part in brackets (so called \"area code\") can be omitted\n// if dialing within the same \"area\".\n// And hyphens were clearly introduced for splitting local numbers into memorizable groups.\n// For example, remembering \"5553535\" is difficult but \"555-35-35\" is much simpler.\n// Imagine a man taking a bus from home to work and seeing an ad with a phone number.\n// He has a couple of seconds to memorize that number until it passes by.\n// If it were spaces instead of hyphens the man wouldn't necessarily get it,\n// but with hyphens instead of spaces the grouping is more explicit.\n// I personally think that hyphens introduce visual clutter,\n// so I prefer replacing them with spaces in international numbers.\n// In the modern age all output is done on displays where spaces are clearly distinguishable\n// so hyphens can be safely replaced with spaces without losing any legibility.\n//\nexport default function applyInternationalSeparatorStyle(formattedNumber) {\n return formattedNumber.replace(new RegExp(\"[\".concat(VALID_PUNCTUATION, \"]+\"), 'g'), ' ').trim();\n}\n//# sourceMappingURL=applyInternationalSeparatorStyle.js.map"],"names":["applyInternationalSeparatorStyle","formattedNumber","VALID_PUNCTUATION"],"mappings":";AAgCe,SAASA,EAAiCC,GAAiB;AACxE,SAAOA,EAAgB,QAAQ,IAAI,OAAO,IAAI,OAAOC,GAAmB,IAAI,GAAG,GAAG,GAAG,GAAG,EAAE,KAAI;AAChG;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index93.js","sources":["../../../node_modules/imask/esm/masked/number.js"],"sourcesContent":["import { escapeRegExp, DIRECTION } from '../core/utils.js';\nimport ChangeDetails from '../core/change-details.js';\nimport Masked from './base.js';\nimport IMask from '../core/holder.js';\nimport '../core/continuous-tail-details.js';\n\nvar _MaskedNumber;\n/** Number mask */\nclass MaskedNumber extends Masked {\n /** Single char */\n\n /** Single char */\n\n /** Array of single chars */\n\n /** */\n\n /** */\n\n /** Digits after point */\n\n /** Flag to remove leading and trailing zeros in the end of editing */\n\n /** Flag to pad trailing zeros after point in the end of editing */\n\n /** Enable characters overwriting */\n\n /** */\n\n /** */\n\n /** */\n\n /** Format typed value to string */\n\n /** Parse string to get typed value */\n\n constructor(opts) {\n super({\n ...MaskedNumber.DEFAULTS,\n ...opts\n });\n }\n updateOptions(opts) {\n super.updateOptions(opts);\n }\n _update(opts) {\n super._update(opts);\n this._updateRegExps();\n }\n _updateRegExps() {\n const start = '^' + (this.allowNegative ? '[+|\\\\-]?' : '');\n const mid = '\\\\d*';\n const end = (this.scale ? \"(\" + escapeRegExp(this.radix) + \"\\\\d{0,\" + this.scale + \"})?\" : '') + '$';\n this._numberRegExp = new RegExp(start + mid + end);\n this._mapToRadixRegExp = new RegExp(\"[\" + this.mapToRadix.map(escapeRegExp).join('') + \"]\", 'g');\n this._thousandsSeparatorRegExp = new RegExp(escapeRegExp(this.thousandsSeparator), 'g');\n }\n _removeThousandsSeparators(value) {\n return value.replace(this._thousandsSeparatorRegExp, '');\n }\n _insertThousandsSeparators(value) {\n // https://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript\n const parts = value.split(this.radix);\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, this.thousandsSeparator);\n return parts.join(this.radix);\n }\n doPrepareChar(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const [prepCh, details] = super.doPrepareChar(this._removeThousandsSeparators(this.scale && this.mapToRadix.length && (\n /*\n radix should be mapped when\n 1) input is done from keyboard = flags.input && flags.raw\n 2) unmasked value is set = !flags.input && !flags.raw\n and should not be mapped when\n 1) value is set = flags.input && !flags.raw\n 2) raw value is set = !flags.input && flags.raw\n */\n flags.input && flags.raw || !flags.input && !flags.raw) ? ch.replace(this._mapToRadixRegExp, this.radix) : ch), flags);\n if (ch && !prepCh) details.skip = true;\n if (prepCh && !this.allowPositive && !this.value && prepCh !== '-') details.aggregate(this._appendChar('-'));\n return [prepCh, details];\n }\n _separatorsCount(to, extendOnSeparators) {\n if (extendOnSeparators === void 0) {\n extendOnSeparators = false;\n }\n let count = 0;\n for (let pos = 0; pos < to; ++pos) {\n if (this._value.indexOf(this.thousandsSeparator, pos) === pos) {\n ++count;\n if (extendOnSeparators) to += this.thousandsSeparator.length;\n }\n }\n return count;\n }\n _separatorsCountFromSlice(slice) {\n if (slice === void 0) {\n slice = this._value;\n }\n return this._separatorsCount(this._removeThousandsSeparators(slice).length, true);\n }\n extractInput(fromPos, toPos, flags) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n [fromPos, toPos] = this._adjustRangeWithSeparators(fromPos, toPos);\n return this._removeThousandsSeparators(super.extractInput(fromPos, toPos, flags));\n }\n _appendCharRaw(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const prevBeforeTailValue = flags.tail && flags._beforeTailState ? flags._beforeTailState._value : this._value;\n const prevBeforeTailSeparatorsCount = this._separatorsCountFromSlice(prevBeforeTailValue);\n this._value = this._removeThousandsSeparators(this.value);\n const oldValue = this._value;\n this._value += ch;\n const num = this.number;\n let accepted = !isNaN(num);\n let skip = false;\n if (accepted) {\n let fixedNum;\n if (this.min != null && this.min < 0 && this.number < this.min) fixedNum = this.min;\n if (this.max != null && this.max > 0 && this.number > this.max) fixedNum = this.max;\n if (fixedNum != null) {\n if (this.autofix) {\n this._value = this.format(fixedNum, this).replace(MaskedNumber.UNMASKED_RADIX, this.radix);\n skip || (skip = oldValue === this._value && !flags.tail); // if not changed on tail it's still ok to proceed\n } else {\n accepted = false;\n }\n }\n accepted && (accepted = Boolean(this._value.match(this._numberRegExp)));\n }\n let appendDetails;\n if (!accepted) {\n this._value = oldValue;\n appendDetails = new ChangeDetails();\n } else {\n appendDetails = new ChangeDetails({\n inserted: this._value.slice(oldValue.length),\n rawInserted: skip ? '' : ch,\n skip\n });\n }\n this._value = this._insertThousandsSeparators(this._value);\n const beforeTailValue = flags.tail && flags._beforeTailState ? flags._beforeTailState._value : this._value;\n const beforeTailSeparatorsCount = this._separatorsCountFromSlice(beforeTailValue);\n appendDetails.tailShift += (beforeTailSeparatorsCount - prevBeforeTailSeparatorsCount) * this.thousandsSeparator.length;\n return appendDetails;\n }\n _findSeparatorAround(pos) {\n if (this.thousandsSeparator) {\n const searchFrom = pos - this.thousandsSeparator.length + 1;\n const separatorPos = this.value.indexOf(this.thousandsSeparator, searchFrom);\n if (separatorPos <= pos) return separatorPos;\n }\n return -1;\n }\n _adjustRangeWithSeparators(from, to) {\n const separatorAroundFromPos = this._findSeparatorAround(from);\n if (separatorAroundFromPos >= 0) from = separatorAroundFromPos;\n const separatorAroundToPos = this._findSeparatorAround(to);\n if (separatorAroundToPos >= 0) to = separatorAroundToPos + this.thousandsSeparator.length;\n return [from, to];\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n [fromPos, toPos] = this._adjustRangeWithSeparators(fromPos, toPos);\n const valueBeforePos = this.value.slice(0, fromPos);\n const valueAfterPos = this.value.slice(toPos);\n const prevBeforeTailSeparatorsCount = this._separatorsCount(valueBeforePos.length);\n this._value = this._insertThousandsSeparators(this._removeThousandsSeparators(valueBeforePos + valueAfterPos));\n const beforeTailSeparatorsCount = this._separatorsCountFromSlice(valueBeforePos);\n return new ChangeDetails({\n tailShift: (beforeTailSeparatorsCount - prevBeforeTailSeparatorsCount) * this.thousandsSeparator.length\n });\n }\n nearestInputPos(cursorPos, direction) {\n if (!this.thousandsSeparator) return cursorPos;\n switch (direction) {\n case DIRECTION.NONE:\n case DIRECTION.LEFT:\n case DIRECTION.FORCE_LEFT:\n {\n const separatorAtLeftPos = this._findSeparatorAround(cursorPos - 1);\n if (separatorAtLeftPos >= 0) {\n const separatorAtLeftEndPos = separatorAtLeftPos + this.thousandsSeparator.length;\n if (cursorPos < separatorAtLeftEndPos || this.value.length <= separatorAtLeftEndPos || direction === DIRECTION.FORCE_LEFT) {\n return separatorAtLeftPos;\n }\n }\n break;\n }\n case DIRECTION.RIGHT:\n case DIRECTION.FORCE_RIGHT:\n {\n const separatorAtRightPos = this._findSeparatorAround(cursorPos);\n if (separatorAtRightPos >= 0) {\n return separatorAtRightPos + this.thousandsSeparator.length;\n }\n }\n }\n return cursorPos;\n }\n doCommit() {\n if (this.value) {\n const number = this.number;\n let validnum = number;\n\n // check bounds\n if (this.min != null) validnum = Math.max(validnum, this.min);\n if (this.max != null) validnum = Math.min(validnum, this.max);\n if (validnum !== number) this.unmaskedValue = this.format(validnum, this);\n let formatted = this.value;\n if (this.normalizeZeros) formatted = this._normalizeZeros(formatted);\n if (this.padFractionalZeros && this.scale > 0) formatted = this._padFractionalZeros(formatted);\n this._value = formatted;\n }\n super.doCommit();\n }\n _normalizeZeros(value) {\n const parts = this._removeThousandsSeparators(value).split(this.radix);\n\n // remove leading zeros\n parts[0] = parts[0].replace(/^(\\D*)(0*)(\\d*)/, (match, sign, zeros, num) => sign + num);\n // add leading zero\n if (value.length && !/\\d$/.test(parts[0])) parts[0] = parts[0] + '0';\n if (parts.length > 1) {\n parts[1] = parts[1].replace(/0*$/, ''); // remove trailing zeros\n if (!parts[1].length) parts.length = 1; // remove fractional\n }\n return this._insertThousandsSeparators(parts.join(this.radix));\n }\n _padFractionalZeros(value) {\n if (!value) return value;\n const parts = value.split(this.radix);\n if (parts.length < 2) parts.push('');\n parts[1] = parts[1].padEnd(this.scale, '0');\n return parts.join(this.radix);\n }\n doSkipInvalid(ch, flags, checkTail) {\n if (flags === void 0) {\n flags = {};\n }\n const dropFractional = this.scale === 0 && ch !== this.thousandsSeparator && (ch === this.radix || ch === MaskedNumber.UNMASKED_RADIX || this.mapToRadix.includes(ch));\n return super.doSkipInvalid(ch, flags, checkTail) && !dropFractional;\n }\n get unmaskedValue() {\n return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, MaskedNumber.UNMASKED_RADIX);\n }\n set unmaskedValue(unmaskedValue) {\n super.unmaskedValue = unmaskedValue;\n }\n get typedValue() {\n return this.parse(this.unmaskedValue, this);\n }\n set typedValue(n) {\n this.rawInputValue = this.format(n, this).replace(MaskedNumber.UNMASKED_RADIX, this.radix);\n }\n\n /** Parsed Number */\n get number() {\n return this.typedValue;\n }\n set number(number) {\n this.typedValue = number;\n }\n get allowNegative() {\n return this.min != null && this.min < 0 || this.max != null && this.max < 0;\n }\n get allowPositive() {\n return this.min != null && this.min > 0 || this.max != null && this.max > 0;\n }\n typedValueEquals(value) {\n // handle 0 -> '' case (typed = 0 even if value = '')\n // for details see https://github.com/uNmAnNeR/imaskjs/issues/134\n return (super.typedValueEquals(value) || MaskedNumber.EMPTY_VALUES.includes(value) && MaskedNumber.EMPTY_VALUES.includes(this.typedValue)) && !(value === 0 && this.value === '');\n }\n}\n_MaskedNumber = MaskedNumber;\nMaskedNumber.UNMASKED_RADIX = '.';\nMaskedNumber.EMPTY_VALUES = [...Masked.EMPTY_VALUES, 0];\nMaskedNumber.DEFAULTS = {\n ...Masked.DEFAULTS,\n mask: Number,\n radix: ',',\n thousandsSeparator: '',\n mapToRadix: [_MaskedNumber.UNMASKED_RADIX],\n min: Number.MIN_SAFE_INTEGER,\n max: Number.MAX_SAFE_INTEGER,\n scale: 2,\n normalizeZeros: true,\n padFractionalZeros: false,\n parse: Number,\n format: n => n.toLocaleString('en-US', {\n useGrouping: false,\n maximumFractionDigits: 20\n })\n};\nIMask.MaskedNumber = MaskedNumber;\n\nexport { MaskedNumber as default };\n"],"names":["_MaskedNumber","MaskedNumber","Masked","opts","start","mid","end","escapeRegExp","value","parts","ch","flags","prepCh","details","to","extendOnSeparators","count","pos","slice","fromPos","toPos","prevBeforeTailValue","prevBeforeTailSeparatorsCount","oldValue","num","accepted","skip","fixedNum","appendDetails","ChangeDetails","beforeTailValue","beforeTailSeparatorsCount","searchFrom","separatorPos","from","separatorAroundFromPos","separatorAroundToPos","valueBeforePos","valueAfterPos","cursorPos","direction","DIRECTION","separatorAtLeftPos","separatorAtLeftEndPos","separatorAtRightPos","number","validnum","formatted","match","sign","zeros","checkTail","dropFractional","unmaskedValue","n","IMask"],"mappings":";;;;AAMA,IAAIA;AAEJ,MAAMC,UAAqBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6BhC,YAAYC,GAAM;AAChB,UAAM;AAAA,MACJ,GAAGF,EAAa;AAAA,MAChB,GAAGE;AAAA,IACT,CAAK;AAAA,EACH;AAAA,EACA,cAAcA,GAAM;AAClB,UAAM,cAAcA,CAAI;AAAA,EAC1B;AAAA,EACA,QAAQA,GAAM;AACZ,UAAM,QAAQA,CAAI,GAClB,KAAK,eAAc;AAAA,EACrB;AAAA,EACA,iBAAiB;AACf,UAAMC,IAAQ,OAAO,KAAK,gBAAgB,aAAa,KACjDC,IAAM,QACNC,KAAO,KAAK,QAAQ,MAAMC,EAAa,KAAK,KAAK,IAAI,WAAW,KAAK,QAAQ,QAAQ,MAAM;AACjG,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