@rpcbase/ui 0.189.0 → 0.190.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 +5 -185
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -106
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +8 -262
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +5 -9
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -42
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +6 -46
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +143 -203
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +39 -21
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -24
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -397
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +13 -46
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +14 -52
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +7 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +31 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +10 -15
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +10 -5
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +8 -7
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +13 -16
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +101 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +20 -5
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +53 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +72 -5
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +9 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +16 -6
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +23 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +6 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +5 -4
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +23 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +35 -6
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +16 -5
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +6 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -8
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +3 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +24 -146
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +7 -39
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +6 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +5 -7
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -13
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -7
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -31
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +4 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -10
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -8
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +4 -4
- package/dist/index150.js +3 -13
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +45 -100
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +47 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +203 -51
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +21 -72
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +24 -9
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +397 -18
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +604 -15
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +5 -23
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +68 -6
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +2 -6
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +358 -18
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +261 -34
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +61 -16
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +46 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +169 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +109 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +24 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +8 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +4 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +5 -6
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +5 -24
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +466 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +185 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +107 -5
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +262 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +9 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +42 -4
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +16 -4
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +5 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +58 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +63 -64
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +6 -180
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +4 -46
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +7 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +17 -154
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -30
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -9
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +13 -47
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +10 -11
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +14 -44
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +14 -95
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +5 -86
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +6 -105
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +7 -52
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +6 -11
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +9 -37
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -8
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +6 -6
- package/dist/index200.js +5 -116
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +9 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -15
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +5 -3
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +4 -36
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +11 -20
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +10 -9
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +10 -8
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +11 -19
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +11 -28
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +10 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +7 -24
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +7 -29
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -5
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -16
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +7 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +6 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +55 -58
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +8 -66
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +19 -6
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -1
- package/dist/index220.js +16 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -7
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -17
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -5
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +21 -5
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +10 -13
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -14
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +4 -14
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +16 -6
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -7
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +18 -6
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +15 -9
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +12 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +29 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +12 -9
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +25 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +5 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +24 -4
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +28 -11
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -11
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +67 -10
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +180 -11
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +46 -11
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +13 -10
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +154 -7
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +30 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +9 -5
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +47 -6
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +11 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +44 -6
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +92 -52
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +86 -8
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +103 -17
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +50 -14
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -7
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +35 -8
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +8 -10
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +115 -20
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +17 -10
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +15 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +3 -9
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +36 -4
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +20 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +9 -16
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +8 -9
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +17 -16
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +26 -13
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +16 -12
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +4 -29
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +18 -12
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +12 -25
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +5 -6
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +3 -21
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +24 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +113 -3
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +15 -23
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +519 -107
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +126 -14
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +1 -1
- package/dist/index280.js +125 -516
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +20 -127
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +5 -133
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +4 -19
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +15 -12
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +8 -64
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +6 -69
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +5 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +545 -13
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +45 -64
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +17 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +6 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +9 -4
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +7 -15
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +8 -8
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +12 -5
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +9 -4
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +13 -545
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +65 -47
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +1 -1
- package/dist/index300.js +69 -18
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +9 -7
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +14 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +66 -8
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +4 -8
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +56 -13
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +68 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +31 -14
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +9 -4
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +153 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +108 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -56
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +23 -68
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +16 -31
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +29 -9
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +13 -153
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +7 -108
- package/dist/index316.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index35.js +16 -2635
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +113 -377
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +204 -215
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +87 -18
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +115 -126
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +5 -221
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +836 -83
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +53 -115
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +7 -5
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +2 -844
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +12 -57
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +18 -7
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +8 -2
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +2 -12
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +22 -17
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +233 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +205 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +3 -23
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +6 -233
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +44 -201
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +27 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +51 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +14 -7
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +133 -5
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +10 -53
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +217 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +13 -2
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +33 -3
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +46 -6
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +7 -47
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +47 -24
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +4 -51
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +5 -7
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +28 -15
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +48 -132
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +9 -11
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +11 -216
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -13
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -34
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -47
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -8
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +5 -49
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +8 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +5 -5
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +52 -28
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -50
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -9
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +15 -11
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +5 -605
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +7 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +16 -68
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -363
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +5 -261
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +5 -60
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -46
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -169
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +6 -109
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +24 -24
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +7 -8
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -466
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index321.js +0 -19
- package/dist/index321.js.map +0 -1
- package/dist/index322.js +0 -32
- package/dist/index322.js.map +0 -1
- package/dist/index323.js +0 -16
- package/dist/index323.js.map +0 -1
- package/dist/index324.js +0 -10
- package/dist/index324.js.map +0 -1
package/dist/index311.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index311.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index311.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
|
package/dist/index312.js
CHANGED
|
@@ -1,71 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
xHours: {
|
|
24
|
-
one: "1 hour",
|
|
25
|
-
other: "{{count}} hours"
|
|
26
|
-
},
|
|
27
|
-
xDays: {
|
|
28
|
-
one: "1 day",
|
|
29
|
-
other: "{{count}} days"
|
|
30
|
-
},
|
|
31
|
-
aboutXWeeks: {
|
|
32
|
-
one: "about 1 week",
|
|
33
|
-
other: "about {{count}} weeks"
|
|
34
|
-
},
|
|
35
|
-
xWeeks: {
|
|
36
|
-
one: "1 week",
|
|
37
|
-
other: "{{count}} weeks"
|
|
38
|
-
},
|
|
39
|
-
aboutXMonths: {
|
|
40
|
-
one: "about 1 month",
|
|
41
|
-
other: "about {{count}} months"
|
|
42
|
-
},
|
|
43
|
-
xMonths: {
|
|
44
|
-
one: "1 month",
|
|
45
|
-
other: "{{count}} months"
|
|
46
|
-
},
|
|
47
|
-
aboutXYears: {
|
|
48
|
-
one: "about 1 year",
|
|
49
|
-
other: "about {{count}} years"
|
|
50
|
-
},
|
|
51
|
-
xYears: {
|
|
52
|
-
one: "1 year",
|
|
53
|
-
other: "{{count}} years"
|
|
54
|
-
},
|
|
55
|
-
overXYears: {
|
|
56
|
-
one: "over 1 year",
|
|
57
|
-
other: "over {{count}} years"
|
|
58
|
-
},
|
|
59
|
-
almostXYears: {
|
|
60
|
-
one: "almost 1 year",
|
|
61
|
-
other: "almost {{count}} years"
|
|
62
|
-
}
|
|
63
|
-
}, r = (s, n, t) => {
|
|
64
|
-
let e;
|
|
65
|
-
const o = a[s];
|
|
66
|
-
return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
67
|
-
};
|
|
1
|
+
import { useState as u } from "react";
|
|
2
|
+
function n(c, r) {
|
|
3
|
+
var e = u(function() {
|
|
4
|
+
return {
|
|
5
|
+
// value
|
|
6
|
+
value: c,
|
|
7
|
+
// last callback
|
|
8
|
+
callback: r,
|
|
9
|
+
// "memoized" public interface
|
|
10
|
+
facade: {
|
|
11
|
+
get current() {
|
|
12
|
+
return e.value;
|
|
13
|
+
},
|
|
14
|
+
set current(a) {
|
|
15
|
+
var t = e.value;
|
|
16
|
+
t !== a && (e.value = a, e.callback(a, t));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
})[0];
|
|
21
|
+
return e.callback = r, e.facade;
|
|
22
|
+
}
|
|
68
23
|
export {
|
|
69
|
-
|
|
24
|
+
n as useCallbackRef
|
|
70
25
|
};
|
|
71
26
|
//# sourceMappingURL=index312.js.map
|
package/dist/index312.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index312.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index312.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACf;AAAA,QACA,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAEhC;AAAA,MACZ;AAAA,IACA;AAAA,EAAQ,CAAC,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
|
package/dist/index313.js
CHANGED
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
short: "{{date}}, {{time}}"
|
|
17
|
-
}, e = {
|
|
18
|
-
date: t({
|
|
19
|
-
formats: m,
|
|
20
|
-
defaultWidth: "full"
|
|
21
|
-
}),
|
|
22
|
-
time: t({
|
|
23
|
-
formats: a,
|
|
24
|
-
defaultWidth: "full"
|
|
25
|
-
}),
|
|
26
|
-
dateTime: t({
|
|
27
|
-
formats: o,
|
|
28
|
-
defaultWidth: "full"
|
|
29
|
-
})
|
|
30
|
-
};
|
|
1
|
+
function c(t) {
|
|
2
|
+
return (l, e) => {
|
|
3
|
+
const u = e?.context ? String(e.context) : "standalone";
|
|
4
|
+
let d;
|
|
5
|
+
if (u === "formatting" && t.formattingValues) {
|
|
6
|
+
const n = t.defaultFormattingWidth || t.defaultWidth, i = e?.width ? String(e.width) : n;
|
|
7
|
+
d = t.formattingValues[i] || t.formattingValues[n];
|
|
8
|
+
} else {
|
|
9
|
+
const n = t.defaultWidth, i = e?.width ? String(e.width) : t.defaultWidth;
|
|
10
|
+
d = t.values[i] || t.values[n];
|
|
11
|
+
}
|
|
12
|
+
const a = t.argumentCallback ? t.argumentCallback(l) : l;
|
|
13
|
+
return d[a];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
31
16
|
export {
|
|
32
|
-
|
|
17
|
+
c as buildLocalizeFn
|
|
33
18
|
};
|
|
34
19
|
//# sourceMappingURL=index313.js.map
|
package/dist/index313.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index313.js","sources":["../../../node_modules/date-fns/locale/
|
|
1
|
+
{"version":3,"file":"index313.js","sources":["../../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js"],"sourcesContent":["/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n\n valuesArray =\n args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}\n"],"names":["buildLocalizeFn","args","value","options","context","valuesArray","defaultWidth","width","index"],"mappings":"AAuCO,SAASA,EAAgBC,GAAM;AACpC,SAAO,CAACC,GAAOC,MAAY;AACzB,UAAMC,IAAUD,GAAS,UAAU,OAAOA,EAAQ,OAAO,IAAI;AAE7D,QAAIE;AACJ,QAAID,MAAY,gBAAgBH,EAAK,kBAAkB;AACrD,YAAMK,IAAeL,EAAK,0BAA0BA,EAAK,cACnDM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIG;AAEvD,MAAAD,IACEJ,EAAK,iBAAiBM,CAAK,KAAKN,EAAK,iBAAiBK,CAAY;AAAA,IACtE,OAAO;AACL,YAAMA,IAAeL,EAAK,cACpBM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIF,EAAK;AAE5D,MAAAI,IAAcJ,EAAK,OAAOM,CAAK,KAAKN,EAAK,OAAOK,CAAY;AAAA,IAC9D;AACA,UAAME,IAAQP,EAAK,mBAAmBA,EAAK,iBAAiBC,CAAK,IAAIA;AAGrE,WAAOG,EAAYG,CAAK;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
|
package/dist/index314.js
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
function P(t) {
|
|
2
|
+
return (n, e = {}) => {
|
|
3
|
+
const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
|
|
4
|
+
if (!i)
|
|
5
|
+
return null;
|
|
6
|
+
const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
|
|
7
|
+
// [TODO] -- I challenge you to fix the type
|
|
8
|
+
s(c, (u) => u.test(r))
|
|
9
|
+
);
|
|
10
|
+
let a;
|
|
11
|
+
a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
|
|
12
|
+
// [TODO] -- I challenge you to fix the type
|
|
13
|
+
e.valueCallback(a)
|
|
14
|
+
) : a;
|
|
15
|
+
const f = n.slice(r.length);
|
|
16
|
+
return { value: a, rest: f };
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function s(t, n) {
|
|
20
|
+
for (const e in t)
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
function o(t, n) {
|
|
25
|
+
for (let e = 0; e < t.length; e++)
|
|
26
|
+
if (n(t[e]))
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
9
29
|
export {
|
|
10
|
-
|
|
30
|
+
P as buildMatchFn
|
|
11
31
|
};
|
|
12
32
|
//# sourceMappingURL=index314.js.map
|
package/dist/index314.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index314.js","sources":["../../../node_modules/date-fns/locale/
|
|
1
|
+
{"version":3,"file":"index314.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchFn.js"],"sourcesContent":["export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // [TODO] -- I challenge you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // [TODO] -- I challenge you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n"],"names":["buildMatchFn","args","string","options","width","matchPattern","matchResult","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"mappings":"AAAO,SAASA,EAAaC,GAAM;AACjC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAQD,EAAQ,OAEhBE,IACHD,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GACrCK,IAAcJ,EAAO,MAAMG,CAAY;AAE7C,QAAI,CAACC;AACH,aAAO;AAET,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IACHJ,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GAErCQ,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAAA,MAEjEK,EAAQJ,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAEnE,QAAIM;AAEJ,IAAAA,IAAQZ,EAAK,gBAAgBA,EAAK,cAAcQ,CAAG,IAAIA,GACvDI,IAAQV,EAAQ;AAAA;AAAA,MAEZA,EAAQ,cAAcU,CAAK;AAAA,QAC3BA;AAEJ,UAAMC,IAAOZ,EAAO,MAAMK,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAM,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;AAEA,SAASF,EAAQG,GAAQC,GAAW;AAClC,aAAWP,KAAOM;AAChB,QACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,CAAG,CAAC;AAErB,aAAOA;AAIb;AAEA,SAASC,EAAUO,GAAOD,GAAW;AACnC,WAASP,IAAM,GAAGA,IAAMQ,EAAM,QAAQR;AACpC,QAAIO,EAAUC,EAAMR,CAAG,CAAC;AACtB,aAAOA;AAIb;","x_google_ignoreList":[0]}
|
package/dist/index315.js
CHANGED
|
@@ -1,156 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"Jan",
|
|
14
|
-
"Feb",
|
|
15
|
-
"Mar",
|
|
16
|
-
"Apr",
|
|
17
|
-
"May",
|
|
18
|
-
"Jun",
|
|
19
|
-
"Jul",
|
|
20
|
-
"Aug",
|
|
21
|
-
"Sep",
|
|
22
|
-
"Oct",
|
|
23
|
-
"Nov",
|
|
24
|
-
"Dec"
|
|
25
|
-
],
|
|
26
|
-
wide: [
|
|
27
|
-
"January",
|
|
28
|
-
"February",
|
|
29
|
-
"March",
|
|
30
|
-
"April",
|
|
31
|
-
"May",
|
|
32
|
-
"June",
|
|
33
|
-
"July",
|
|
34
|
-
"August",
|
|
35
|
-
"September",
|
|
36
|
-
"October",
|
|
37
|
-
"November",
|
|
38
|
-
"December"
|
|
39
|
-
]
|
|
40
|
-
}, d = {
|
|
41
|
-
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
42
|
-
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
43
|
-
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
44
|
-
wide: [
|
|
45
|
-
"Sunday",
|
|
46
|
-
"Monday",
|
|
47
|
-
"Tuesday",
|
|
48
|
-
"Wednesday",
|
|
49
|
-
"Thursday",
|
|
50
|
-
"Friday",
|
|
51
|
-
"Saturday"
|
|
52
|
-
]
|
|
53
|
-
}, m = {
|
|
54
|
-
narrow: {
|
|
55
|
-
am: "a",
|
|
56
|
-
pm: "p",
|
|
57
|
-
midnight: "mi",
|
|
58
|
-
noon: "n",
|
|
59
|
-
morning: "morning",
|
|
60
|
-
afternoon: "afternoon",
|
|
61
|
-
evening: "evening",
|
|
62
|
-
night: "night"
|
|
63
|
-
},
|
|
64
|
-
abbreviated: {
|
|
65
|
-
am: "AM",
|
|
66
|
-
pm: "PM",
|
|
67
|
-
midnight: "midnight",
|
|
68
|
-
noon: "noon",
|
|
69
|
-
morning: "morning",
|
|
70
|
-
afternoon: "afternoon",
|
|
71
|
-
evening: "evening",
|
|
72
|
-
night: "night"
|
|
73
|
-
},
|
|
74
|
-
wide: {
|
|
75
|
-
am: "a.m.",
|
|
76
|
-
pm: "p.m.",
|
|
77
|
-
midnight: "midnight",
|
|
78
|
-
noon: "noon",
|
|
79
|
-
morning: "morning",
|
|
80
|
-
afternoon: "afternoon",
|
|
81
|
-
evening: "evening",
|
|
82
|
-
night: "night"
|
|
83
|
-
}
|
|
84
|
-
}, g = {
|
|
85
|
-
narrow: {
|
|
86
|
-
am: "a",
|
|
87
|
-
pm: "p",
|
|
88
|
-
midnight: "mi",
|
|
89
|
-
noon: "n",
|
|
90
|
-
morning: "in the morning",
|
|
91
|
-
afternoon: "in the afternoon",
|
|
92
|
-
evening: "in the evening",
|
|
93
|
-
night: "at night"
|
|
94
|
-
},
|
|
95
|
-
abbreviated: {
|
|
96
|
-
am: "AM",
|
|
97
|
-
pm: "PM",
|
|
98
|
-
midnight: "midnight",
|
|
99
|
-
noon: "noon",
|
|
100
|
-
morning: "in the morning",
|
|
101
|
-
afternoon: "in the afternoon",
|
|
102
|
-
evening: "in the evening",
|
|
103
|
-
night: "at night"
|
|
104
|
-
},
|
|
105
|
-
wide: {
|
|
106
|
-
am: "a.m.",
|
|
107
|
-
pm: "p.m.",
|
|
108
|
-
midnight: "midnight",
|
|
109
|
-
noon: "noon",
|
|
110
|
-
morning: "in the morning",
|
|
111
|
-
afternoon: "in the afternoon",
|
|
112
|
-
evening: "in the evening",
|
|
113
|
-
night: "at night"
|
|
114
|
-
}
|
|
115
|
-
}, u = (i, h) => {
|
|
116
|
-
const n = Number(i), t = n % 100;
|
|
117
|
-
if (t > 20 || t < 10)
|
|
118
|
-
switch (t % 10) {
|
|
119
|
-
case 1:
|
|
120
|
-
return n + "st";
|
|
121
|
-
case 2:
|
|
122
|
-
return n + "nd";
|
|
123
|
-
case 3:
|
|
124
|
-
return n + "rd";
|
|
125
|
-
}
|
|
126
|
-
return n + "th";
|
|
127
|
-
}, l = {
|
|
128
|
-
ordinalNumber: u,
|
|
129
|
-
era: e({
|
|
130
|
-
values: a,
|
|
131
|
-
defaultWidth: "wide"
|
|
132
|
-
}),
|
|
133
|
-
quarter: e({
|
|
134
|
-
values: r,
|
|
135
|
-
defaultWidth: "wide",
|
|
136
|
-
argumentCallback: (i) => i - 1
|
|
137
|
-
}),
|
|
138
|
-
month: e({
|
|
139
|
-
values: o,
|
|
140
|
-
defaultWidth: "wide"
|
|
141
|
-
}),
|
|
142
|
-
day: e({
|
|
143
|
-
values: d,
|
|
144
|
-
defaultWidth: "wide"
|
|
145
|
-
}),
|
|
146
|
-
dayPeriod: e({
|
|
147
|
-
values: m,
|
|
148
|
-
defaultWidth: "wide",
|
|
149
|
-
formattingValues: g,
|
|
150
|
-
defaultFormattingWidth: "wide"
|
|
151
|
-
})
|
|
152
|
-
};
|
|
1
|
+
function h(t) {
|
|
2
|
+
return (e, c = {}) => {
|
|
3
|
+
const n = e.match(t.matchPattern);
|
|
4
|
+
if (!n) return null;
|
|
5
|
+
const u = n[0], a = e.match(t.parsePattern);
|
|
6
|
+
if (!a) return null;
|
|
7
|
+
let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
|
|
8
|
+
l = c.valueCallback ? c.valueCallback(l) : l;
|
|
9
|
+
const r = e.slice(u.length);
|
|
10
|
+
return { value: l, rest: r };
|
|
11
|
+
};
|
|
12
|
+
}
|
|
153
13
|
export {
|
|
154
|
-
|
|
14
|
+
h as buildMatchPatternFn
|
|
155
15
|
};
|
|
156
16
|
//# sourceMappingURL=index315.js.map
|
package/dist/index315.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index315.js","sources":["../../../node_modules/date-fns/locale/
|
|
1
|
+
{"version":3,"file":"index315.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"],"sourcesContent":["export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // [TODO] I challenge you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n"],"names":["buildMatchPatternFn","args","string","options","matchResult","matchedString","parseResult","value","rest"],"mappings":"AAAO,SAASA,EAAoBC,GAAM;AACxC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAcF,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACG,EAAa,QAAO;AACzB,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IAAcJ,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACK,EAAa,QAAO;AACzB,QAAIC,IAAQN,EAAK,gBACbA,EAAK,cAAcK,EAAY,CAAC,CAAC,IACjCA,EAAY,CAAC;AAGjB,IAAAC,IAAQJ,EAAQ,gBAAgBA,EAAQ,cAAcI,CAAK,IAAIA;AAE/D,UAAMC,IAAON,EAAO,MAAMG,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAE,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;","x_google_ignoreList":[0]}
|
package/dist/index316.js
CHANGED
|
@@ -1,111 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const n =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, s = {
|
|
8
|
-
any: [/^b/i, /^(a|c)/i]
|
|
9
|
-
}, o = {
|
|
10
|
-
narrow: /^[1234]/i,
|
|
11
|
-
abbreviated: /^q[1234]/i,
|
|
12
|
-
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
13
|
-
}, d = {
|
|
14
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
15
|
-
}, m = {
|
|
16
|
-
narrow: /^[jfmasond]/i,
|
|
17
|
-
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
18
|
-
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
19
|
-
}, h = {
|
|
20
|
-
narrow: [
|
|
21
|
-
/^j/i,
|
|
22
|
-
/^f/i,
|
|
23
|
-
/^m/i,
|
|
24
|
-
/^a/i,
|
|
25
|
-
/^m/i,
|
|
26
|
-
/^j/i,
|
|
27
|
-
/^j/i,
|
|
28
|
-
/^a/i,
|
|
29
|
-
/^s/i,
|
|
30
|
-
/^o/i,
|
|
31
|
-
/^n/i,
|
|
32
|
-
/^d/i
|
|
33
|
-
],
|
|
34
|
-
any: [
|
|
35
|
-
/^ja/i,
|
|
36
|
-
/^f/i,
|
|
37
|
-
/^mar/i,
|
|
38
|
-
/^ap/i,
|
|
39
|
-
/^may/i,
|
|
40
|
-
/^jun/i,
|
|
41
|
-
/^jul/i,
|
|
42
|
-
/^au/i,
|
|
43
|
-
/^s/i,
|
|
44
|
-
/^o/i,
|
|
45
|
-
/^n/i,
|
|
46
|
-
/^d/i
|
|
47
|
-
]
|
|
48
|
-
}, c = {
|
|
49
|
-
narrow: /^[smtwf]/i,
|
|
50
|
-
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
51
|
-
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
52
|
-
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
53
|
-
}, u = {
|
|
54
|
-
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
55
|
-
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
56
|
-
}, P = {
|
|
57
|
-
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
58
|
-
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
59
|
-
}, y = {
|
|
60
|
-
any: {
|
|
61
|
-
am: /^a/i,
|
|
62
|
-
pm: /^p/i,
|
|
63
|
-
midnight: /^mi/i,
|
|
64
|
-
noon: /^no/i,
|
|
65
|
-
morning: /morning/i,
|
|
66
|
-
afternoon: /afternoon/i,
|
|
67
|
-
evening: /evening/i,
|
|
68
|
-
night: /night/i
|
|
69
|
-
}
|
|
70
|
-
}, l = {
|
|
71
|
-
ordinalNumber: i({
|
|
72
|
-
matchPattern: n,
|
|
73
|
-
parsePattern: e,
|
|
74
|
-
valueCallback: (t) => parseInt(t, 10)
|
|
75
|
-
}),
|
|
76
|
-
era: a({
|
|
77
|
-
matchPatterns: r,
|
|
78
|
-
defaultMatchWidth: "wide",
|
|
79
|
-
parsePatterns: s,
|
|
80
|
-
defaultParseWidth: "any"
|
|
81
|
-
}),
|
|
82
|
-
quarter: a({
|
|
83
|
-
matchPatterns: o,
|
|
84
|
-
defaultMatchWidth: "wide",
|
|
85
|
-
parsePatterns: d,
|
|
86
|
-
defaultParseWidth: "any",
|
|
87
|
-
valueCallback: (t) => t + 1
|
|
88
|
-
}),
|
|
89
|
-
month: a({
|
|
90
|
-
matchPatterns: m,
|
|
91
|
-
defaultMatchWidth: "wide",
|
|
92
|
-
parsePatterns: h,
|
|
93
|
-
defaultParseWidth: "any"
|
|
94
|
-
}),
|
|
95
|
-
day: a({
|
|
96
|
-
matchPatterns: c,
|
|
97
|
-
defaultMatchWidth: "wide",
|
|
98
|
-
parsePatterns: u,
|
|
99
|
-
defaultParseWidth: "any"
|
|
100
|
-
}),
|
|
101
|
-
dayPeriod: a({
|
|
102
|
-
matchPatterns: P,
|
|
103
|
-
defaultMatchWidth: "any",
|
|
104
|
-
parsePatterns: y,
|
|
105
|
-
defaultParseWidth: "any"
|
|
106
|
-
})
|
|
107
|
-
};
|
|
1
|
+
function r(t) {
|
|
2
|
+
return (d = {}) => {
|
|
3
|
+
const n = d.width ? String(d.width) : t.defaultWidth;
|
|
4
|
+
return t.formats[n] || t.formats[t.defaultWidth];
|
|
5
|
+
};
|
|
6
|
+
}
|
|
108
7
|
export {
|
|
109
|
-
|
|
8
|
+
r as buildFormatLongFn
|
|
110
9
|
};
|
|
111
10
|
//# sourceMappingURL=index316.js.map
|
package/dist/index316.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index316.js","sources":["../../../node_modules/date-fns/locale/
|
|
1
|
+
{"version":3,"file":"index316.js","sources":["../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
|