@rpcbase/ui 0.186.0 → 0.187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/useScrollPagination.d.ts.map +1 -1
- package/dist/index100.js +5 -8
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +6 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +5 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -466
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -185
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +8 -107
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -262
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -9
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -42
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +6 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +146 -52
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +39 -4
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +7 -15
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -5
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -7
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -16
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +31 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +10 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +10 -5
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +8 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +13 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +101 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -7
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +53 -24
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +72 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +9 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +20 -6
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +16 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +23 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -5
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +23 -8
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +35 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +16 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +6 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +4 -145
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -39
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +4 -4
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -7
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -13
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +24 -14
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +7 -7
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +6 -31
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +5 -10
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -8
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -13
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -101
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +5 -20
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +3 -53
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -72
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +3 -9
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +45 -19
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +45 -15
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +203 -21
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +22 -7
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +394 -18
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -35
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +69 -16
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -7
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +363 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +261 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +60 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +46 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +169 -3
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +109 -6
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +25 -24
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +8 -8
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -6
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -5
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +4 -3
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +466 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +185 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +107 -3
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +262 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +9 -3
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +42 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -13
- package/dist/index183.js +58 -24
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +9 -29
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +67 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +18 -12
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -152
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -29
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -9
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +6 -47
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -11
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +7 -44
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +17 -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 +5 -105
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +13 -52
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +10 -11
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +14 -37
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +14 -8
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -116
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +7 -15
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -3
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +9 -36
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -20
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -9
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +9 -8
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -19
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -28
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +11 -58
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -8
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +10 -66
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +11 -19
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +11 -16
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +10 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +7 -5
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +6 -7
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -17
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +6 -5
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +55 -5
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +16 -13
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +7 -10
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -14
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -14
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +21 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -7
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -9
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +16 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -9
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +18 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +15 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +12 -4
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +29 -11
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +12 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +25 -10
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -11
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +24 -11
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +29 -11
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +5 -8
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +13 -6
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +153 -4
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +30 -6
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -7
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +47 -6
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -54
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +42 -14
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +95 -7
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +85 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +104 -9
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +52 -21
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +11 -10
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +37 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +7 -8
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +3 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -5
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +114 -14
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +17 -9
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +15 -18
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +34 -13
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +20 -12
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +8 -29
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +18 -11
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +26 -23
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +16 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +9 -9
- package/dist/index273.js +1 -1
- package/dist/index274.js +5 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +19 -3
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -23
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -113
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +3 -16
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +21 -522
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +112 -127
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +15 -133
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +523 -19
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +127 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +133 -18
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +20 -12
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +5 -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 +4 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -14
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +8 -65
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +546 -4
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +47 -16
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +17 -8
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +6 -5
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +8 -4
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +7 -545
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +9 -47
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +12 -17
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +9 -6
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +13 -8
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +64 -7
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +69 -9
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +9 -13
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +14 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +66 -14
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +4 -3
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +56 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +68 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +30 -55
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +9 -68
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +148 -26
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +108 -9
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +4 -153
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +23 -108
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +15 -12
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +26 -25
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +13 -5
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index320.js +6 -22
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +22 -15
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +12 -28
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +27 -12
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +5 -7
- package/dist/index324.js.map +1 -1
- package/dist/index33.js +3 -3
- package/dist/index35.js +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +20 -20
- package/dist/index48.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.js +6 -3
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +33 -6
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +25 -46
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -26
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +10 -49
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +2 -8
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +121 -115
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -15
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -134
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +2 -11
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +51 -214
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +204 -12
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +3 -33
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +44 -43
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +50 -7
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +7 -49
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +15 -4
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +133 -5
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +11 -28
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +216 -49
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +12 -8
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +46 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +49 -7
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +4 -6
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +6 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +28 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +48 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +9 -2
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +6 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +7 -11
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -205
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +52 -47
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -205
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -22
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +15 -24
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -399
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +7 -46
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +16 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -68
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +5 -2
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +5 -363
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +5 -261
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -60
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -46
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -169
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +24 -109
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +6 -24
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index299.js
CHANGED
|
@@ -1,50 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return e.date({ width: "long" });
|
|
9
|
-
default:
|
|
10
|
-
return e.date({ width: "full" });
|
|
11
|
-
}
|
|
12
|
-
}, c = (t, e) => {
|
|
13
|
-
switch (t) {
|
|
14
|
-
case "p":
|
|
15
|
-
return e.time({ width: "short" });
|
|
16
|
-
case "pp":
|
|
17
|
-
return e.time({ width: "medium" });
|
|
18
|
-
case "ppp":
|
|
19
|
-
return e.time({ width: "long" });
|
|
20
|
-
default:
|
|
21
|
-
return e.time({ width: "full" });
|
|
22
|
-
}
|
|
23
|
-
}, P = (t, e) => {
|
|
24
|
-
const d = t.match(/(P+)(p+)?/) || [], a = d[1], r = d[2];
|
|
25
|
-
if (!r)
|
|
26
|
-
return s(t, e);
|
|
27
|
-
let i;
|
|
28
|
-
switch (a) {
|
|
29
|
-
case "P":
|
|
30
|
-
i = e.dateTime({ width: "short" });
|
|
31
|
-
break;
|
|
32
|
-
case "PP":
|
|
33
|
-
i = e.dateTime({ width: "medium" });
|
|
34
|
-
break;
|
|
35
|
-
case "PPP":
|
|
36
|
-
i = e.dateTime({ width: "long" });
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
i = e.dateTime({ width: "full" });
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
return i.replace("{{date}}", s(a, e)).replace("{{time}}", c(r, e));
|
|
43
|
-
}, h = {
|
|
44
|
-
p: c,
|
|
45
|
-
P
|
|
46
|
-
};
|
|
1
|
+
import { constructFrom as a } from "./index286.js";
|
|
2
|
+
import { getISOWeekYear as f } from "./index300.js";
|
|
3
|
+
import { startOfISOWeek as s } from "./index219.js";
|
|
4
|
+
function O(t, e) {
|
|
5
|
+
const o = f(t, e), r = a(t, 0);
|
|
6
|
+
return r.setFullYear(o, 0, 4), r.setHours(0, 0, 0, 0), s(r);
|
|
7
|
+
}
|
|
47
8
|
export {
|
|
48
|
-
|
|
9
|
+
O as default,
|
|
10
|
+
O as startOfISOWeekYear
|
|
49
11
|
};
|
|
50
12
|
//# sourceMappingURL=index299.js.map
|
package/dist/index299.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index299.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index299.js","sources":["../../../node_modules/date-fns/startOfISOWeekYear.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { getISOWeekYear } from \"./getISOWeekYear.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\n\n/**\n * The {@link startOfISOWeekYear} function options.\n */\n\n/**\n * @name startOfISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the start of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the start of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of an ISO week-numbering year\n *\n * @example\n * // The start of an ISO week-numbering year for 2 July 2005:\n * const result = startOfISOWeekYear(new Date(2005, 6, 2))\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfISOWeekYear(date, options) {\n const year = getISOWeekYear(date, options);\n const fourthOfJanuary = constructFrom(options?.in || date, 0);\n fourthOfJanuary.setFullYear(year, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n return startOfISOWeek(fourthOfJanuary);\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeekYear;\n"],"names":["startOfISOWeekYear","date","options","year","getISOWeekYear","fourthOfJanuary","constructFrom","startOfISOWeek"],"mappings":";;;AAiCO,SAASA,EAAmBC,GAAMC,GAAS;AAChD,QAAMC,IAAOC,EAAeH,GAAMC,CAAO,GACnCG,IAAkBC,EAA6BL,GAAM,CAAC;AAC5D,SAAAI,EAAgB,YAAYF,GAAM,GAAG,CAAC,GACtCE,EAAgB,SAAS,GAAG,GAAG,GAAG,CAAC,GAC5BE,EAAeF,CAAe;AACvC;","x_google_ignoreList":[0]}
|
package/dist/index300.js
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
function c(e, o, n) {
|
|
13
|
-
const t = e[0] === "Y" ? "years" : "days of the month";
|
|
14
|
-
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1
|
+
import { constructFrom as s } from "./index286.js";
|
|
2
|
+
import { startOfISOWeek as a } from "./index219.js";
|
|
3
|
+
import { toDate as m } from "./index287.js";
|
|
4
|
+
function Y(f, n) {
|
|
5
|
+
const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
|
|
6
|
+
r.setFullYear(t + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
7
|
+
const u = a(r), o = s(e, 0);
|
|
8
|
+
o.setFullYear(t, 0, 4), o.setHours(0, 0, 0, 0);
|
|
9
|
+
const i = a(o);
|
|
10
|
+
return e.getTime() >= u.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
|
|
15
11
|
}
|
|
16
12
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
d as warnOrThrowProtectedError
|
|
13
|
+
Y as default,
|
|
14
|
+
Y as getISOWeekYear
|
|
20
15
|
};
|
|
21
16
|
//# sourceMappingURL=index300.js.map
|
package/dist/index300.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index300.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index300.js","sources":["../../../node_modules/date-fns/getISOWeekYear.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getISOWeekYear} function options.\n */\n\n/**\n * @name getISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year of the given date.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param date - The given date\n *\n * @returns The ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * const result = getISOWeekYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nexport function getISOWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const fourthOfJanuaryOfNextYear = constructFrom(_date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n\n const fourthOfJanuaryOfThisYear = constructFrom(_date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getISOWeekYear;\n"],"names":["getISOWeekYear","date","options","_date","toDate","year","fourthOfJanuaryOfNextYear","constructFrom","startOfNextYear","startOfISOWeek","fourthOfJanuaryOfThisYear","startOfThisYear"],"mappings":";;;AA4BO,SAASA,EAAeC,GAAMC,GAAS;AAC5C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAA4BC,EAAcJ,GAAO,CAAC;AACxD,EAAAG,EAA0B,YAAYD,IAAO,GAAG,GAAG,CAAC,GACpDC,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAME,IAAkBC,EAAeH,CAAyB,GAE1DI,IAA4BH,EAAcJ,GAAO,CAAC;AACxD,EAAAO,EAA0B,YAAYL,GAAM,GAAG,CAAC,GAChDK,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAMC,IAAkBF,EAAeC,CAAyB;AAEhE,SAAIP,EAAM,QAAO,KAAMK,EAAgB,QAAO,IACrCH,IAAO,IACLF,EAAM,QAAO,KAAMQ,EAAgB,QAAO,IAC5CN,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
|
package/dist/index301.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { getDefaultOptions as n } from "./index292.js";
|
|
2
|
+
import { constructFrom as i } from "./index286.js";
|
|
3
|
+
import { getWeekYear as f } from "./index302.js";
|
|
4
|
+
import { startOfWeek as c } from "./index221.js";
|
|
5
|
+
function D(r, t) {
|
|
6
|
+
const a = n(), o = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, s = f(r, t), e = i(t?.in || r, 0);
|
|
7
|
+
return e.setFullYear(s, 0, o), e.setHours(0, 0, 0, 0), c(e, t);
|
|
5
8
|
}
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
D as default,
|
|
11
|
+
D as startOfWeekYear
|
|
9
12
|
};
|
|
10
13
|
//# sourceMappingURL=index301.js.map
|
package/dist/index301.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index301.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index301.js","sources":["../../../node_modules/date-fns/startOfWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { getWeekYear } from \"./getWeekYear.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\n\n/**\n * The {@link startOfWeekYear} function options.\n */\n\n/**\n * @name startOfWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Return the start of a local week-numbering year for the given date.\n *\n * @description\n * Return the start of a local week-numbering year.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week-numbering year\n *\n * @example\n * // The start of an a week-numbering year for 2 July 2005 with default settings:\n * const result = startOfWeekYear(new Date(2005, 6, 2))\n * //=> Sun Dec 26 2004 00:00:00\n *\n * @example\n * // The start of a week-numbering year for 2 July 2005\n * // if Monday is the first day of week\n * // and 4 January is always in the first week of the year:\n * const result = startOfWeekYear(new Date(2005, 6, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfWeekYear(date, options) {\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(options?.in || date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeekYear;\n"],"names":["startOfWeekYear","date","options","defaultOptions","getDefaultOptions","firstWeekContainsDate","year","getWeekYear","firstWeek","constructFrom","startOfWeek"],"mappings":";;;;AA8CO,SAASA,EAAgBC,GAAMC,GAAS;AAC7C,QAAMC,IAAiBC,EAAiB,GAClCC,IACJH,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BC,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAOC,EAAYN,GAAMC,CAAO,GAChCM,IAAYC,EAAcP,GAAS,MAAMD,GAAM,CAAC;AACtD,SAAAO,EAAU,YAAYF,GAAM,GAAGD,CAAqB,GACpDG,EAAU,SAAS,GAAG,GAAG,GAAG,CAAC,GACfE,EAAYF,GAAWN,CAAO;AAE9C;","x_google_ignoreList":[0]}
|
package/dist/index302.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { getDefaultOptions as k } from "./index292.js";
|
|
2
|
+
import { constructFrom as i } from "./index286.js";
|
|
3
|
+
import { startOfWeek as l } from "./index221.js";
|
|
4
|
+
import { toDate as m } from "./index287.js";
|
|
5
|
+
function C(r, e) {
|
|
6
|
+
const s = m(r, e?.in), t = s.getFullYear(), o = k(), f = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = i(e?.in || r, 0);
|
|
7
|
+
a.setFullYear(t + 1, 0, f), a.setHours(0, 0, 0, 0);
|
|
8
|
+
const c = l(a, e), n = i(e?.in || r, 0);
|
|
9
|
+
n.setFullYear(t, 0, f), n.setHours(0, 0, 0, 0);
|
|
10
|
+
const u = l(n, e);
|
|
11
|
+
return +s >= +c ? t + 1 : +s >= +u ? t : t - 1;
|
|
7
12
|
}
|
|
8
13
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
C as default,
|
|
15
|
+
C as getWeekYear
|
|
11
16
|
};
|
|
12
17
|
//# sourceMappingURL=index302.js.map
|
package/dist/index302.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index302.js","sources":["../../../node_modules/date-fns/
|
|
1
|
+
{"version":3,"file":"index302.js","sources":["../../../node_modules/date-fns/getWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const firstWeekOfNextYear = constructFrom(options?.in || date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n const firstWeekOfThisYear = constructFrom(options?.in || date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n if (+_date >= +startOfNextYear) {\n return year + 1;\n } else if (+_date >= +startOfThisYear) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n"],"names":["getWeekYear","date","options","_date","toDate","year","defaultOptions","getDefaultOptions","firstWeekContainsDate","firstWeekOfNextYear","constructFrom","startOfNextYear","startOfWeek","firstWeekOfThisYear","startOfThisYear"],"mappings":";;;;AA2CO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAAiBC,EAAiB,GAClCC,IACJN,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BI,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAsBC,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAQ,EAAoB,YAAYJ,IAAO,GAAG,GAAGG,CAAqB,GAClEC,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAME,IAAkBC,EAAYH,GAAqBP,CAAO,GAE1DW,IAAsBH,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAY,EAAoB,YAAYR,GAAM,GAAGG,CAAqB,GAC9DK,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAMC,IAAkBF,EAAYC,GAAqBX,CAAO;AAEhE,SAAI,CAACC,KAAS,CAACQ,IACNN,IAAO,IACL,CAACF,KAAS,CAACW,IACbT,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
|
package/dist/index303.js
CHANGED
|
@@ -1,11 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { __assign as d } from "./index243.js";
|
|
2
|
+
function l(r) {
|
|
3
|
+
return r;
|
|
4
|
+
}
|
|
5
|
+
function h(r, t) {
|
|
6
|
+
t === void 0 && (t = l);
|
|
7
|
+
var e = [], o = !1, c = {
|
|
8
|
+
read: function() {
|
|
9
|
+
if (o)
|
|
10
|
+
throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
11
|
+
return e.length ? e[e.length - 1] : r;
|
|
12
|
+
},
|
|
13
|
+
useMedium: function(u) {
|
|
14
|
+
var n = t(u, o);
|
|
15
|
+
return e.push(n), function() {
|
|
16
|
+
e = e.filter(function(i) {
|
|
17
|
+
return i !== n;
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
assignSyncMedium: function(u) {
|
|
22
|
+
for (o = !0; e.length; ) {
|
|
23
|
+
var n = e;
|
|
24
|
+
e = [], n.forEach(u);
|
|
25
|
+
}
|
|
26
|
+
e = {
|
|
27
|
+
push: function(i) {
|
|
28
|
+
return u(i);
|
|
29
|
+
},
|
|
30
|
+
filter: function() {
|
|
31
|
+
return e;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
assignMedium: function(u) {
|
|
36
|
+
o = !0;
|
|
37
|
+
var n = [];
|
|
38
|
+
if (e.length) {
|
|
39
|
+
var i = e;
|
|
40
|
+
e = [], i.forEach(u), n = e;
|
|
41
|
+
}
|
|
42
|
+
var s = function() {
|
|
43
|
+
var f = n;
|
|
44
|
+
n = [], f.forEach(u);
|
|
45
|
+
}, a = function() {
|
|
46
|
+
return Promise.resolve().then(s);
|
|
47
|
+
};
|
|
48
|
+
a(), e = {
|
|
49
|
+
push: function(f) {
|
|
50
|
+
n.push(f), a();
|
|
51
|
+
},
|
|
52
|
+
filter: function(f) {
|
|
53
|
+
return n = n.filter(f), e;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return c;
|
|
59
|
+
}
|
|
60
|
+
function v(r) {
|
|
61
|
+
r === void 0 && (r = {});
|
|
62
|
+
var t = h(null);
|
|
63
|
+
return t.options = d({ async: !0, ssr: !1 }, r), t;
|
|
6
64
|
}
|
|
7
65
|
export {
|
|
8
|
-
|
|
9
|
-
m as getDaysInMonth
|
|
66
|
+
v as createSidecarMedium
|
|
10
67
|
};
|
|
11
68
|
//# sourceMappingURL=index303.js.map
|
package/dist/index303.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index303.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index303.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,QAAM,CAAC;AAAA,MAC9D;AAAA,IACJ;AAAA,IACA,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE;AAAA,MAClB;AACA,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAG;AAAA,QACnC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAQ;AAAA,MACrD;AAAA,IACQ;AAAA,IACA,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAA;AACnB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MACnB;AACA,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAA,GACfD,EAAI,QAAQD,CAAE;AAAA,MAClB,GACII,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAG;AACvE,MAAAC,EAAK,GACLV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAK;AAAA,QACT;AAAA,QACA,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACX;AAAA,MAChB;AAAA,IACQ;AAAA,EACR;AACI,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAK,GAAID,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
|
package/dist/index304.js
CHANGED
|
@@ -1,12 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as d from "react";
|
|
2
|
+
import { styleSingleton as f } from "./index305.js";
|
|
3
|
+
import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index277.js";
|
|
4
|
+
import { getGapWidth as m } from "./index321.js";
|
|
5
|
+
var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
|
|
6
|
+
var r = n.left, i = n.top, s = n.right, c = n.gap;
|
|
7
|
+
return o === void 0 && (o = "margin"), `
|
|
8
|
+
.`.concat(p, ` {
|
|
9
|
+
overflow: hidden `).concat(t, `;
|
|
10
|
+
padding-right: `).concat(c, "px ").concat(t, `;
|
|
11
|
+
}
|
|
12
|
+
body[`).concat(e, `] {
|
|
13
|
+
overflow: hidden `).concat(t, `;
|
|
14
|
+
overscroll-behavior: contain;
|
|
15
|
+
`).concat([
|
|
16
|
+
a && "position: relative ".concat(t, ";"),
|
|
17
|
+
o === "margin" && `
|
|
18
|
+
padding-left: `.concat(r, `px;
|
|
19
|
+
padding-top: `).concat(i, `px;
|
|
20
|
+
padding-right: `).concat(s, `px;
|
|
21
|
+
margin-left:0;
|
|
22
|
+
margin-top:0;
|
|
23
|
+
margin-right: `).concat(c, "px ").concat(t, `;
|
|
24
|
+
`),
|
|
25
|
+
o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
|
|
26
|
+
].filter(Boolean).join(""), `
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.`).concat(g, ` {
|
|
30
|
+
right: `).concat(c, "px ").concat(t, `;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.`).concat(l, ` {
|
|
34
|
+
margin-right: `).concat(c, "px ").concat(t, `;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.`).concat(g, " .").concat(g, ` {
|
|
38
|
+
right: 0 `).concat(t, `;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.`).concat(l, " .").concat(l, ` {
|
|
42
|
+
margin-right: 0 `).concat(t, `;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
body[`).concat(e, `] {
|
|
46
|
+
`).concat(v, ": ").concat(c, `px;
|
|
47
|
+
}
|
|
48
|
+
`);
|
|
49
|
+
}, u = function() {
|
|
50
|
+
var n = parseInt(document.body.getAttribute(e) || "0", 10);
|
|
51
|
+
return isFinite(n) ? n : 0;
|
|
52
|
+
}, x = function() {
|
|
53
|
+
d.useEffect(function() {
|
|
54
|
+
return document.body.setAttribute(e, (u() + 1).toString()), function() {
|
|
55
|
+
var n = u() - 1;
|
|
56
|
+
n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
|
|
57
|
+
};
|
|
58
|
+
}, []);
|
|
59
|
+
}, C = function(n) {
|
|
60
|
+
var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
|
|
61
|
+
x();
|
|
62
|
+
var i = d.useMemo(function() {
|
|
63
|
+
return m(r);
|
|
64
|
+
}, [r]);
|
|
65
|
+
return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
|
|
66
|
+
};
|
|
8
67
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
68
|
+
C as RemoveScrollBar,
|
|
69
|
+
e as lockAttribute,
|
|
70
|
+
x as useLockAttribute
|
|
11
71
|
};
|
|
12
72
|
//# sourceMappingURL=index304.js.map
|
package/dist/index304.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index304.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index304.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":";;;;AAIA,IAAIA,IAAQC,EAAc,GACfC,IAAgB,sBAIvBC,IAAY,SAAUC,GAAIC,GAAeC,GAASC,GAAW;AAC7D,MAAIC,IAAOJ,EAAG,MAAMK,IAAML,EAAG,KAAKM,IAAQN,EAAG,OAAOO,IAAMP,EAAG;AAC7D,SAAIE,MAAY,WAAUA,IAAU,WAC7B;AAAA,KAAQ,OAAOM,GAAuB;AAAA,qBAA0B,EAAE,OAAOL,GAAW;AAAA,mBAAuB,EAAE,OAAOI,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,GAAe;AAAA,sBAA4B,EAAE,OAAOK,GAAW;AAAA;AAAA,KAA4C,EAAE,OAAO;AAAA,IACnSF,KAAiB,sBAAsB,OAAOE,GAAW,GAAG;AAAA,IAC5DD,MAAY,YACR;AAAA,oBAAuB,OAAOE,GAAM;AAAA,kBAAwB,EAAE,OAAOC,GAAK;AAAA,oBAA0B,EAAE,OAAOC,GAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA,KAAS;AAAA,IACxOD,MAAY,aAAa,kBAAkB,OAAOK,GAAK,KAAK,EAAE,OAAOJ,GAAW,GAAG;AAAA,EAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,GAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,GAAoB;AAAA,YAAiB,EAAE,OAAOF,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB;AAAA,mBAAwB,EAAE,OAAOH,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,cAAmB,EAAE,OAAON,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,qBAA0B,EAAE,OAAOP,GAAW;AAAA;AAAA;AAAA,QAAqB,EAAE,OAAOL,GAAe;AAAA,KAAW,EAAE,OAAOa,GAAwB,IAAI,EAAE,OAAOJ,GAAK;AAAA;AAAA,CAAY;AAC/kB,GACIK,IAAuB,WAAY;AACnC,MAAIC,IAAU,SAAS,SAAS,KAAK,aAAaf,CAAa,KAAK,KAAK,EAAE;AAC3E,SAAO,SAASe,CAAO,IAAIA,IAAU;AACzC,GACWC,IAAmB,WAAY;AACtC,EAAAC,EAAM,UAAU,WAAY;AACxB,oBAAS,KAAK,aAAajB,IAAgBc,MAAyB,GAAG,UAAU,GAC1E,WAAY;AACf,UAAII,IAAaJ,EAAoB,IAAK;AAC1C,MAAII,KAAc,IACd,SAAS,KAAK,gBAAgBlB,CAAa,IAG3C,SAAS,KAAK,aAAaA,GAAekB,EAAW,SAAQ,CAAE;AAAA,IAEvE;AAAA,EACJ,GAAG,CAAA,CAAE;AACT,GAIWC,IAAkB,SAAUjB,GAAI;AACvC,MAAIkB,IAAalB,EAAG,YAAYmB,IAAcnB,EAAG,aAAaoB,IAAKpB,EAAG,SAASE,IAAUkB,MAAO,SAAS,WAAWA;AACpH,EAAAN,EAAgB;AAMhB,MAAIP,IAAMQ,EAAM,QAAQ,WAAY;AAAE,WAAOM,EAAYnB,CAAO;AAAA,EAAG,GAAG,CAACA,CAAO,CAAC;AAC/E,SAAOa,EAAM,cAAcnB,GAAO,EAAE,QAAQG,EAAUQ,GAAK,CAACW,GAAYhB,GAAUiB,IAA6B,KAAf,YAAiB,EAAC,CAAE;AACxH;","x_google_ignoreList":[0]}
|
package/dist/index305.js
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const i = a(o);
|
|
10
|
-
return e.getTime() >= u.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
|
|
11
|
-
}
|
|
1
|
+
import { styleHookSingleton as o } from "./index322.js";
|
|
2
|
+
var s = function() {
|
|
3
|
+
var e = o(), n = function(t) {
|
|
4
|
+
var r = t.styles, l = t.dynamic;
|
|
5
|
+
return e(r, l), null;
|
|
6
|
+
};
|
|
7
|
+
return n;
|
|
8
|
+
};
|
|
12
9
|
export {
|
|
13
|
-
|
|
14
|
-
Y as getISOWeekYear
|
|
10
|
+
s as styleSingleton
|
|
15
11
|
};
|
|
16
12
|
//# sourceMappingURL=index305.js.map
|
package/dist/index305.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index305.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index305.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAkB,GAC7BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACX;AACA,SAAOH;AACX;","x_google_ignoreList":[0]}
|
package/dist/index306.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
var r = !1;
|
|
2
|
+
if (typeof window < "u")
|
|
3
|
+
try {
|
|
4
|
+
var e = Object.defineProperty({}, "passive", {
|
|
5
|
+
get: function() {
|
|
6
|
+
return r = !0, !0;
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
|
|
10
|
+
} catch {
|
|
11
|
+
r = !1;
|
|
12
|
+
}
|
|
13
|
+
var a = r ? { passive: !1 } : !1;
|
|
9
14
|
export {
|
|
10
|
-
|
|
11
|
-
D as startOfWeekYear
|
|
15
|
+
a as nonPassive
|
|
12
16
|
};
|
|
13
17
|
//# sourceMappingURL=index306.js.map
|
package/dist/index306.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index306.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index306.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACX;AAAA,IACZ,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EACvD,QACY;AACR,IAAAD,IAAmB;AAAA,EACvB;AAEM,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
|