@a-ui/react 7.13.0-beta.6 → 7.13.0-beta.7
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/cjs/index10.js +1 -1
- package/cjs/index100.js +1 -1
- package/cjs/index101.js +1 -1
- package/cjs/index102.js +1 -1
- package/cjs/index103.js +1 -1
- package/cjs/index104.js +1 -1
- package/cjs/index105.js +1 -1
- package/cjs/index106.js +1 -1
- package/cjs/index107.js +1 -1
- package/cjs/index108.js +1 -1
- package/cjs/index109.js +1 -1
- package/cjs/index11.js +1 -1
- package/cjs/index110.js +1 -1
- package/cjs/index111.js +1 -1
- package/cjs/index112.js +1 -1
- package/cjs/index113.js +1 -1
- package/cjs/index114.js +1 -2
- package/cjs/index115.js +1 -1
- package/cjs/index116.js +1 -1
- package/cjs/index117.js +1 -1
- package/cjs/index118.js +1 -1
- package/cjs/index119.js +1 -10
- package/cjs/index12.js +1 -1
- package/cjs/index120.js +1 -1
- package/cjs/index121.js +1 -1
- package/cjs/index122.js +1 -1
- package/cjs/index123.js +1 -1
- package/cjs/index124.js +1 -1
- package/cjs/index125.js +1 -1
- package/cjs/index126.js +1 -5
- package/cjs/index127.js +1 -9
- package/cjs/index128.js +1 -1
- package/cjs/index129.js +1 -1
- package/cjs/index13.js +1 -1
- package/cjs/index130.js +1 -1
- package/cjs/index131.js +1 -1
- package/cjs/index132.js +1 -1
- package/cjs/index133.js +1 -1
- package/cjs/index134.js +1 -1
- package/cjs/index135.js +1 -1
- package/cjs/index136.js +1 -1
- package/cjs/index137.js +1 -1
- package/cjs/index138.js +5 -8
- package/cjs/index139.js +1 -8
- package/cjs/index14.js +1 -1
- package/cjs/index140.js +1 -5
- package/cjs/index141.js +1 -1
- package/cjs/index142.js +1 -1
- package/cjs/index143.js +1 -1
- package/cjs/index144.js +1 -1
- package/cjs/index145.js +1 -11
- package/cjs/index146.js +1 -1
- package/cjs/index147.js +1 -1
- package/cjs/index148.js +1 -1
- package/cjs/index149.js +1 -1
- package/cjs/index150.js +1 -1
- package/cjs/index151.js +1 -1
- package/cjs/index152.js +1 -1
- package/cjs/index153.js +1 -1
- package/cjs/index154.js +1 -1
- package/cjs/index155.js +1 -1
- package/cjs/index156.js +1 -1
- package/cjs/index157.js +1 -1
- package/cjs/index158.js +1 -1
- package/cjs/index159.js +1 -1
- package/cjs/index16.js +1 -1
- package/cjs/index160.js +1 -1
- package/cjs/index161.js +1 -1
- package/cjs/index162.js +1 -1
- package/cjs/index163.js +1 -1
- package/cjs/index164.js +1 -1
- package/cjs/index165.js +1 -1
- package/cjs/index166.js +1 -1
- package/cjs/index167.js +1 -1
- package/cjs/index168.js +1 -1
- package/cjs/index169.js +1 -1
- package/cjs/index17.js +1 -1
- package/cjs/index170.js +1 -1
- package/cjs/index171.js +1 -1
- package/cjs/index172.js +1 -1
- package/cjs/index173.js +1 -1
- package/cjs/index174.js +1 -1
- package/cjs/index175.js +1 -1
- package/cjs/index176.js +1 -1
- package/cjs/index177.js +1 -1
- package/cjs/index178.js +1 -1
- package/cjs/index179.js +1 -1
- package/cjs/index18.js +1 -1
- package/cjs/index180.js +1 -1
- package/cjs/index181.js +1 -1
- package/cjs/index182.js +1 -1
- package/cjs/index183.js +1 -1
- package/cjs/index184.js +1 -1
- package/cjs/index185.js +1 -1
- package/cjs/index186.js +1 -1
- package/cjs/index187.js +1 -1
- package/cjs/index188.js +1 -1
- package/cjs/index189.js +1 -1
- package/cjs/index190.js +1 -1
- package/cjs/index191.js +1 -1
- package/cjs/index192.js +1 -1
- package/cjs/index193.js +1 -1
- package/cjs/index194.js +1 -1
- package/cjs/index195.js +1 -1
- package/cjs/index196.js +1 -1
- package/cjs/index197.js +1 -1
- package/cjs/index198.js +1 -1
- package/cjs/index199.js +1 -1
- package/cjs/index2.js +1 -1
- package/cjs/index20.js +1 -1
- package/cjs/index200.js +1 -1
- package/cjs/index201.js +1 -1
- package/cjs/index202.js +1 -1
- package/cjs/index203.js +1 -1
- package/cjs/index204.js +1 -1
- package/cjs/index205.js +1 -1
- package/cjs/index206.js +1 -1
- package/cjs/index207.js +1 -1
- package/cjs/index208.js +2 -1
- package/cjs/index209.js +1 -1
- package/cjs/index21.js +1 -1
- package/cjs/index210.js +1 -1
- package/cjs/index211.js +1 -1
- package/cjs/index212.js +1 -1
- package/cjs/index213.js +10 -1
- package/cjs/index214.js +1 -1
- package/cjs/index215.js +1 -1
- package/cjs/index216.js +1 -1
- package/cjs/index217.js +1 -1
- package/cjs/index218.js +1 -1
- package/cjs/index219.js +1 -1
- package/cjs/index22.js +1 -1
- package/cjs/index220.js +5 -1
- package/cjs/index221.js +9 -1
- package/cjs/index222.js +1 -1
- package/cjs/index223.js +8 -1
- package/cjs/index224.js +8 -1
- package/cjs/index225.js +5 -1
- package/cjs/index226.js +1 -1
- package/cjs/index227.js +1 -1
- package/cjs/index228.js +1 -1
- package/cjs/index229.js +11 -1
- package/cjs/index230.js +1 -1
- package/cjs/index231.js +1 -1
- package/cjs/index232.js +1 -1
- package/cjs/index233.js +1 -1
- package/cjs/index234.js +1 -1
- package/cjs/index235.js +1 -1
- package/cjs/index24.js +1 -1
- package/cjs/index25.js +1 -1
- package/cjs/index26.js +1 -1
- package/cjs/index27.js +1 -1
- package/cjs/index28.js +1 -1
- package/cjs/index3.js +1 -1
- package/cjs/index30.js +1 -1
- package/cjs/index31.js +1 -1
- package/cjs/index32.js +1 -1
- package/cjs/index33.js +1 -1
- package/cjs/index34.js +1 -1
- package/cjs/index36.js +1 -1
- package/cjs/index37.js +1 -1
- package/cjs/index38.js +1 -1
- package/cjs/index39.js +1 -1
- package/cjs/index4.js +1 -1
- package/cjs/index40.js +1 -1
- package/cjs/index41.js +1 -1
- package/cjs/index42.js +1 -1
- package/cjs/index43.js +1 -1
- package/cjs/index44.js +1 -1
- package/cjs/index45.js +1 -1
- package/cjs/index46.js +1 -1
- package/cjs/index47.js +1 -1
- package/cjs/index48.js +1 -1
- package/cjs/index49.js +1 -1
- package/cjs/index50.js +1 -1
- package/cjs/index51.js +1 -1
- package/cjs/index52.js +1 -1
- package/cjs/index53.js +1 -1
- package/cjs/index55.js +1 -1
- package/cjs/index57.js +1 -1
- package/cjs/index58.js +1 -1
- package/cjs/index59.js +1 -1
- package/cjs/index6.js +1 -1
- package/cjs/index60.js +1 -1
- package/cjs/index61.js +1 -7
- package/cjs/index62.js +1 -1
- package/cjs/index63.js +1 -1
- package/cjs/index64.js +1 -1
- package/cjs/index65.js +1 -1
- package/cjs/index66.js +1 -1
- package/cjs/index67.js +1 -1
- package/cjs/index68.js +1 -1
- package/cjs/index69.js +1 -1
- package/cjs/index70.js +1 -1
- package/cjs/index71.js +1 -1
- package/cjs/index72.js +1 -1
- package/cjs/index73.js +1 -1
- package/cjs/index74.js +1 -1
- package/cjs/index76.js +1 -1
- package/cjs/index77.js +1 -1
- package/cjs/index78.js +1 -1
- package/cjs/index79.js +7 -1
- package/cjs/index8.js +1 -1
- package/cjs/index82.js +1 -1
- package/cjs/index83.js +1 -1
- package/cjs/index84.js +1 -1
- package/cjs/index85.js +1 -1
- package/cjs/index87.js +1 -1
- package/cjs/index88.js +1 -1
- package/cjs/index89.js +1 -1
- package/cjs/index9.js +1 -1
- package/cjs/index90.js +1 -1
- package/cjs/index91.js +1 -5
- package/cjs/index92.js +1 -1
- package/cjs/index93.js +1 -1
- package/cjs/index94.js +1 -1
- package/cjs/index95.js +1 -1
- package/cjs/index96.js +1 -1
- package/cjs/index97.js +1 -1
- package/cjs/index98.js +1 -1
- package/cjs/index99.js +1 -1
- package/es/index10.mjs +3 -3
- package/es/index100.mjs +5 -4
- package/es/index101.mjs +5 -11
- package/es/index102.mjs +7 -247
- package/es/index103.mjs +4 -88
- package/es/index104.mjs +6 -14
- package/es/index105.mjs +5 -4
- package/es/index106.mjs +7 -2
- package/es/index107.mjs +13 -2
- package/es/index108.mjs +16 -2
- package/es/index109.mjs +8 -390
- package/es/index11.mjs +1 -1
- package/es/index110.mjs +5 -124
- package/es/index111.mjs +5 -133
- package/es/index112.mjs +5 -2
- package/es/index113.mjs +512 -7
- package/es/index114.mjs +49 -326
- package/es/index115.mjs +17 -49
- package/es/index116.mjs +18 -2
- package/es/index117.mjs +4 -64
- package/es/index118.mjs +8 -43
- package/es/index119.mjs +5 -59
- package/es/index12.mjs +14 -14
- package/es/index120.mjs +6 -45
- package/es/index121.mjs +5 -39
- package/es/index122.mjs +9 -2
- package/es/index123.mjs +5 -2
- package/es/index124.mjs +8 -2
- package/es/index125.mjs +11 -30
- package/es/index126.mjs +9 -19
- package/es/index127.mjs +8 -60
- package/es/index128.mjs +12 -62
- package/es/index129.mjs +3 -13
- package/es/index13.mjs +2 -2
- package/es/index130.mjs +32 -6
- package/es/index131.mjs +65 -7
- package/es/index132.mjs +7 -5
- package/es/index133.mjs +7 -5
- package/es/index134.mjs +6 -4
- package/es/index135.mjs +6 -6
- package/es/index136.mjs +13 -4
- package/es/index137.mjs +398 -2
- package/es/index138.mjs +38 -74
- package/es/index139.mjs +57 -93
- package/es/index14.mjs +3 -3
- package/es/index140.mjs +19 -49
- package/es/index141.mjs +40 -7
- package/es/index142.mjs +60 -4
- package/es/index143.mjs +29 -49
- package/es/index144.mjs +13 -2
- package/es/index145.mjs +58 -54
- package/es/index146.mjs +62 -2
- package/es/index147.mjs +63 -2
- package/es/index148.mjs +62 -4
- package/es/index149.mjs +39 -4
- package/es/index150.mjs +41 -7
- package/es/index151.mjs +52 -12
- package/es/index152.mjs +42 -15
- package/es/index153.mjs +36 -8
- package/es/index154.mjs +65 -5
- package/es/index155.mjs +65 -5
- package/es/index156.mjs +90 -4
- package/es/index157.mjs +19 -491
- package/es/index158.mjs +39 -48
- package/es/index159.mjs +40 -17
- package/es/index16.mjs +1 -1
- package/es/index160.mjs +24 -17
- package/es/index161.mjs +23 -4
- package/es/index162.mjs +23 -7
- package/es/index163.mjs +24 -5
- package/es/index164.mjs +23 -4
- package/es/index165.mjs +23 -5
- package/es/index166.mjs +13 -8
- package/es/index167.mjs +39 -4
- package/es/index168.mjs +39 -7
- package/es/index169.mjs +13 -11
- package/es/index17.mjs +4 -4
- package/es/index170.mjs +13 -8
- package/es/index171.mjs +23 -8
- package/es/index172.mjs +2 -13
- package/es/index173.mjs +235 -4
- package/es/index174.mjs +2 -33
- package/es/index175.mjs +2 -65
- package/es/index176.mjs +390 -7
- package/es/index177.mjs +124 -7
- package/es/index178.mjs +133 -6
- package/es/index179.mjs +68 -7
- package/es/index18.mjs +8 -8
- package/es/index180.mjs +31 -14
- package/es/index181.mjs +9 -2
- package/es/index182.mjs +153 -2
- package/es/index183.mjs +108 -2
- package/es/index184.mjs +19 -56
- package/es/index185.mjs +98 -19
- package/es/index186.mjs +47 -41
- package/es/index187.mjs +11 -61
- package/es/index188.mjs +245 -30
- package/es/index189.mjs +86 -10
- package/es/index190.mjs +14 -63
- package/es/index191.mjs +4 -62
- package/es/index192.mjs +2 -63
- package/es/index193.mjs +2 -63
- package/es/index194.mjs +58 -39
- package/es/index195.mjs +8 -40
- package/es/index196.mjs +18 -51
- package/es/index197.mjs +67 -42
- package/es/index198.mjs +31 -37
- package/es/index199.mjs +9 -66
- package/es/index2.mjs +1 -1
- package/es/index20.mjs +2 -2
- package/es/index200.mjs +107 -65
- package/es/index201.mjs +106 -90
- package/es/index202.mjs +6 -40
- package/es/index203.mjs +14 -39
- package/es/index204.mjs +28 -40
- package/es/index205.mjs +12 -24
- package/es/index206.mjs +2 -24
- package/es/index207.mjs +7 -23
- package/es/index208.mjs +324 -22
- package/es/index209.mjs +47 -21
- package/es/index21.mjs +1 -1
- package/es/index210.mjs +2 -24
- package/es/index211.mjs +62 -11
- package/es/index212.mjs +41 -38
- package/es/index213.mjs +58 -38
- package/es/index214.mjs +45 -15
- package/es/index215.mjs +37 -11
- package/es/index216.mjs +2 -68
- package/es/index217.mjs +2 -31
- package/es/index218.mjs +2 -9
- package/es/index219.mjs +30 -152
- package/es/index22.mjs +1 -1
- package/es/index220.mjs +19 -108
- package/es/index221.mjs +58 -17
- package/es/index222.mjs +2 -101
- package/es/index223.mjs +76 -47
- package/es/index224.mjs +93 -68
- package/es/index225.mjs +52 -31
- package/es/index226.mjs +8 -9
- package/es/index227.mjs +5 -108
- package/es/index228.mjs +51 -106
- package/es/index229.mjs +58 -59
- package/es/index230.mjs +2 -9
- package/es/index231.mjs +2 -20
- package/es/index232.mjs +2 -7
- package/es/index233.mjs +2 -16
- package/es/index234.mjs +2 -29
- package/es/index235.mjs +2 -13
- package/es/index24.mjs +3 -3
- package/es/index25.mjs +1 -1
- package/es/index26.mjs +1 -1
- package/es/index27.mjs +1 -1
- package/es/index28.mjs +1 -1
- package/es/index3.mjs +1 -1
- package/es/index30.mjs +42 -40
- package/es/index31.mjs +2 -2
- package/es/index32.mjs +2 -2
- package/es/index33.mjs +3 -3
- package/es/index34.mjs +1 -1
- package/es/index36.mjs +3 -3
- package/es/index37.mjs +3 -3
- package/es/index38.mjs +3 -3
- package/es/index39.mjs +3 -3
- package/es/index4.mjs +2 -2
- package/es/index40.mjs +2 -2
- package/es/index41.mjs +1 -1
- package/es/index42.mjs +4 -4
- package/es/index43.mjs +1 -1
- package/es/index44.mjs +2 -2
- package/es/index45.mjs +3 -3
- package/es/index46.mjs +3 -3
- package/es/index47.mjs +2 -2
- package/es/index48.mjs +1 -1
- package/es/index49.mjs +2 -2
- package/es/index50.mjs +1 -1
- package/es/index51.mjs +8 -11
- package/es/index52.mjs +47 -6
- package/es/index53.mjs +28 -21
- package/es/index55.mjs +46 -27
- package/es/index57.mjs +2 -49
- package/es/index58.mjs +74 -30
- package/es/index59.mjs +11 -17
- package/es/index6.mjs +3 -3
- package/es/index60.mjs +27 -27
- package/es/index61.mjs +34 -407
- package/es/index62.mjs +3 -28
- package/es/index63.mjs +33 -34
- package/es/index64.mjs +5 -17
- package/es/index65.mjs +4 -34
- package/es/index66.mjs +5 -2
- package/es/index67.mjs +4 -73
- package/es/index68.mjs +4 -28
- package/es/index69.mjs +16 -35
- package/es/index70.mjs +28 -3
- package/es/index71.mjs +80 -30
- package/es/index72.mjs +5 -4
- package/es/index73.mjs +24 -4
- package/es/index74.mjs +54 -4
- package/es/index76.mjs +4 -4
- package/es/index77.mjs +118 -16
- package/es/index78.mjs +19 -83
- package/es/index79.mjs +408 -5
- package/es/index8.mjs +2 -2
- package/es/index82.mjs +16 -84
- package/es/index83.mjs +30 -5
- package/es/index84.mjs +13 -118
- package/es/index85.mjs +57 -60
- package/es/index87.mjs +60 -12
- package/es/index88.mjs +57 -56
- package/es/index89.mjs +5 -5
- package/es/index9.mjs +1 -1
- package/es/index90.mjs +59 -390
- package/es/index91.mjs +3 -40
- package/es/index92.mjs +4 -23
- package/es/index93.mjs +11 -2
- package/es/index94.mjs +5 -235
- package/es/index95.mjs +63 -2
- package/es/index96.mjs +13 -66
- package/es/index97.mjs +7 -3
- package/es/index98.mjs +6 -4
- package/es/index99.mjs +5 -10
- package/package.json +1 -1
- package/cjs/index56.js +0 -1
- package/cjs/index75.js +0 -1
- package/cjs/index80.js +0 -1
- package/cjs/index81.js +0 -1
- package/cjs/index86.js +0 -1
- package/es/index56.mjs +0 -49
- package/es/index75.mjs +0 -7
- package/es/index80.mjs +0 -27
- package/es/index81.mjs +0 -57
- package/es/index86.mjs +0 -62
package/es/index114.mjs
CHANGED
|
@@ -1,329 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
process.env.NODE_ENV !== "production" && (T = function(x) {
|
|
13
|
-
var S = "Warning: " + x;
|
|
14
|
-
typeof console < "u" && console.error(S);
|
|
15
|
-
try {
|
|
16
|
-
throw new Error(S);
|
|
17
|
-
} catch {
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
function E() {
|
|
21
|
-
return null;
|
|
1
|
+
const s = (t, e) => {
|
|
2
|
+
switch (t) {
|
|
3
|
+
case "P":
|
|
4
|
+
return e.date({ width: "short" });
|
|
5
|
+
case "PP":
|
|
6
|
+
return e.date({ width: "medium" });
|
|
7
|
+
case "PPP":
|
|
8
|
+
return e.date({ width: "long" });
|
|
9
|
+
case "PPPP":
|
|
10
|
+
default:
|
|
11
|
+
return e.date({ width: "full" });
|
|
22
12
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var r = {}, u = 0;
|
|
61
|
-
function i(f, t, a, o, c, s, y) {
|
|
62
|
-
if (o = o || P, s = s || a, y !== h) {
|
|
63
|
-
if (S) {
|
|
64
|
-
var l = new Error(
|
|
65
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
66
|
-
);
|
|
67
|
-
throw l.name = "Invariant Violation", l;
|
|
68
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
69
|
-
var b = o + ":" + a;
|
|
70
|
-
!r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
71
|
-
u < 3 && (T(
|
|
72
|
-
"You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
73
|
-
), r[b] = !0, u++);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
|
|
77
|
-
}
|
|
78
|
-
var n = i.bind(null, !1);
|
|
79
|
-
return n.isRequired = i.bind(null, !0), n;
|
|
80
|
-
}
|
|
81
|
-
function p(e) {
|
|
82
|
-
function r(u, i, n, f, t, a) {
|
|
83
|
-
var o = u[i], c = g(o);
|
|
84
|
-
if (c !== e) {
|
|
85
|
-
var s = O(o);
|
|
86
|
-
return new d(
|
|
87
|
-
"Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
|
|
88
|
-
{ expectedType: e }
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
return v(r);
|
|
94
|
-
}
|
|
95
|
-
function M() {
|
|
96
|
-
return v(E);
|
|
97
|
-
}
|
|
98
|
-
function U(e) {
|
|
99
|
-
function r(u, i, n, f, t) {
|
|
100
|
-
if (typeof e != "function")
|
|
101
|
-
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
|
|
102
|
-
var a = u[i];
|
|
103
|
-
if (!Array.isArray(a)) {
|
|
104
|
-
var o = g(a);
|
|
105
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
|
|
106
|
-
}
|
|
107
|
-
for (var c = 0; c < a.length; c++) {
|
|
108
|
-
var s = e(a, c, n, f, t + "[" + c + "]", h);
|
|
109
|
-
if (s instanceof Error)
|
|
110
|
-
return s;
|
|
111
|
-
}
|
|
112
|
-
return null;
|
|
113
|
-
}
|
|
114
|
-
return v(r);
|
|
115
|
-
}
|
|
116
|
-
function B() {
|
|
117
|
-
function e(r, u, i, n, f) {
|
|
118
|
-
var t = r[u];
|
|
119
|
-
if (!x(t)) {
|
|
120
|
-
var a = g(t);
|
|
121
|
-
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
|
|
122
|
-
}
|
|
123
|
-
return null;
|
|
124
|
-
}
|
|
125
|
-
return v(e);
|
|
126
|
-
}
|
|
127
|
-
function J() {
|
|
128
|
-
function e(r, u, i, n, f) {
|
|
129
|
-
var t = r[u];
|
|
130
|
-
if (!k.isValidElementType(t)) {
|
|
131
|
-
var a = g(t);
|
|
132
|
-
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
|
|
133
|
-
}
|
|
134
|
-
return null;
|
|
135
|
-
}
|
|
136
|
-
return v(e);
|
|
137
|
-
}
|
|
138
|
-
function z(e) {
|
|
139
|
-
function r(u, i, n, f, t) {
|
|
140
|
-
if (!(u[i] instanceof e)) {
|
|
141
|
-
var a = e.name || P, o = V(u[i]);
|
|
142
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
|
|
143
|
-
}
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
return v(r);
|
|
147
|
-
}
|
|
148
|
-
function L(e) {
|
|
149
|
-
if (!Array.isArray(e))
|
|
150
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
|
|
151
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
152
|
-
) : T("Invalid argument supplied to oneOf, expected an array.")), E;
|
|
153
|
-
function r(u, i, n, f, t) {
|
|
154
|
-
for (var a = u[i], o = 0; o < e.length; o++)
|
|
155
|
-
if (Y(a, e[o]))
|
|
156
|
-
return null;
|
|
157
|
-
var c = JSON.stringify(e, function(y, l) {
|
|
158
|
-
var b = O(l);
|
|
159
|
-
return b === "symbol" ? String(l) : l;
|
|
160
|
-
});
|
|
161
|
-
return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
|
|
162
|
-
}
|
|
163
|
-
return v(r);
|
|
164
|
-
}
|
|
165
|
-
function H(e) {
|
|
166
|
-
function r(u, i, n, f, t) {
|
|
167
|
-
if (typeof e != "function")
|
|
168
|
-
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
|
|
169
|
-
var a = u[i], o = g(a);
|
|
170
|
-
if (o !== "object")
|
|
171
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
|
|
172
|
-
for (var c in a)
|
|
173
|
-
if (j(a, c)) {
|
|
174
|
-
var s = e(a, c, n, f, t + "." + c, h);
|
|
175
|
-
if (s instanceof Error)
|
|
176
|
-
return s;
|
|
177
|
-
}
|
|
178
|
-
return null;
|
|
179
|
-
}
|
|
180
|
-
return v(r);
|
|
181
|
-
}
|
|
182
|
-
function X(e) {
|
|
183
|
-
if (!Array.isArray(e))
|
|
184
|
-
return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
|
|
185
|
-
for (var r = 0; r < e.length; r++) {
|
|
186
|
-
var u = e[r];
|
|
187
|
-
if (typeof u != "function")
|
|
188
|
-
return T(
|
|
189
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
|
|
190
|
-
), E;
|
|
191
|
-
}
|
|
192
|
-
function i(n, f, t, a, o) {
|
|
193
|
-
for (var c = [], s = 0; s < e.length; s++) {
|
|
194
|
-
var y = e[s], l = y(n, f, t, a, o, h);
|
|
195
|
-
if (l == null)
|
|
196
|
-
return null;
|
|
197
|
-
l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
|
|
198
|
-
}
|
|
199
|
-
var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
|
200
|
-
return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
|
|
201
|
-
}
|
|
202
|
-
return v(i);
|
|
203
|
-
}
|
|
204
|
-
function G() {
|
|
205
|
-
function e(r, u, i, n, f) {
|
|
206
|
-
return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
|
|
207
|
-
}
|
|
208
|
-
return v(e);
|
|
209
|
-
}
|
|
210
|
-
function q(e, r, u, i, n) {
|
|
211
|
-
return new d(
|
|
212
|
-
(e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
|
|
213
|
-
);
|
|
214
|
-
}
|
|
215
|
-
function K(e) {
|
|
216
|
-
function r(u, i, n, f, t) {
|
|
217
|
-
var a = u[i], o = g(a);
|
|
218
|
-
if (o !== "object")
|
|
219
|
-
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
220
|
-
for (var c in e) {
|
|
221
|
-
var s = e[c];
|
|
222
|
-
if (typeof s != "function")
|
|
223
|
-
return q(n, f, t, c, O(s));
|
|
224
|
-
var y = s(a, c, n, f, t + "." + c, h);
|
|
225
|
-
if (y)
|
|
226
|
-
return y;
|
|
227
|
-
}
|
|
228
|
-
return null;
|
|
229
|
-
}
|
|
230
|
-
return v(r);
|
|
231
|
-
}
|
|
232
|
-
function Q(e) {
|
|
233
|
-
function r(u, i, n, f, t) {
|
|
234
|
-
var a = u[i], o = g(a);
|
|
235
|
-
if (o !== "object")
|
|
236
|
-
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
237
|
-
var c = W({}, u[i], e);
|
|
238
|
-
for (var s in c) {
|
|
239
|
-
var y = e[s];
|
|
240
|
-
if (j(e, s) && typeof y != "function")
|
|
241
|
-
return q(n, f, t, s, O(y));
|
|
242
|
-
if (!y)
|
|
243
|
-
return new d(
|
|
244
|
-
"Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
|
|
245
|
-
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
246
|
-
);
|
|
247
|
-
var l = y(a, s, n, f, t + "." + s, h);
|
|
248
|
-
if (l)
|
|
249
|
-
return l;
|
|
250
|
-
}
|
|
251
|
-
return null;
|
|
252
|
-
}
|
|
253
|
-
return v(r);
|
|
254
|
-
}
|
|
255
|
-
function I(e) {
|
|
256
|
-
switch (typeof e) {
|
|
257
|
-
case "number":
|
|
258
|
-
case "string":
|
|
259
|
-
case "undefined":
|
|
260
|
-
return !0;
|
|
261
|
-
case "boolean":
|
|
262
|
-
return !e;
|
|
263
|
-
case "object":
|
|
264
|
-
if (Array.isArray(e))
|
|
265
|
-
return e.every(I);
|
|
266
|
-
if (e === null || x(e))
|
|
267
|
-
return !0;
|
|
268
|
-
var r = m(e);
|
|
269
|
-
if (r) {
|
|
270
|
-
var u = r.call(e), i;
|
|
271
|
-
if (r !== e.entries) {
|
|
272
|
-
for (; !(i = u.next()).done; )
|
|
273
|
-
if (!I(i.value))
|
|
274
|
-
return !1;
|
|
275
|
-
} else
|
|
276
|
-
for (; !(i = u.next()).done; ) {
|
|
277
|
-
var n = i.value;
|
|
278
|
-
if (n && !I(n[1]))
|
|
279
|
-
return !1;
|
|
280
|
-
}
|
|
281
|
-
} else
|
|
282
|
-
return !1;
|
|
283
|
-
return !0;
|
|
284
|
-
default:
|
|
285
|
-
return !1;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
function Z(e, r) {
|
|
289
|
-
return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
|
|
290
|
-
}
|
|
291
|
-
function g(e) {
|
|
292
|
-
var r = typeof e;
|
|
293
|
-
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
|
|
294
|
-
}
|
|
295
|
-
function O(e) {
|
|
296
|
-
if (typeof e > "u" || e === null)
|
|
297
|
-
return "" + e;
|
|
298
|
-
var r = g(e);
|
|
299
|
-
if (r === "object") {
|
|
300
|
-
if (e instanceof Date)
|
|
301
|
-
return "date";
|
|
302
|
-
if (e instanceof RegExp)
|
|
303
|
-
return "regexp";
|
|
304
|
-
}
|
|
305
|
-
return r;
|
|
306
|
-
}
|
|
307
|
-
function $(e) {
|
|
308
|
-
var r = O(e);
|
|
309
|
-
switch (r) {
|
|
310
|
-
case "array":
|
|
311
|
-
case "object":
|
|
312
|
-
return "an " + r;
|
|
313
|
-
case "boolean":
|
|
314
|
-
case "date":
|
|
315
|
-
case "regexp":
|
|
316
|
-
return "a " + r;
|
|
317
|
-
default:
|
|
318
|
-
return r;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
function V(e) {
|
|
322
|
-
return !e.constructor || !e.constructor.name ? P : e.constructor.name;
|
|
323
|
-
}
|
|
324
|
-
return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
|
|
325
|
-
}, A;
|
|
326
|
-
}
|
|
13
|
+
}, c = (t, e) => {
|
|
14
|
+
switch (t) {
|
|
15
|
+
case "p":
|
|
16
|
+
return e.time({ width: "short" });
|
|
17
|
+
case "pp":
|
|
18
|
+
return e.time({ width: "medium" });
|
|
19
|
+
case "ppp":
|
|
20
|
+
return e.time({ width: "long" });
|
|
21
|
+
case "pppp":
|
|
22
|
+
default:
|
|
23
|
+
return e.time({ width: "full" });
|
|
24
|
+
}
|
|
25
|
+
}, P = (t, e) => {
|
|
26
|
+
const d = t.match(/(P+)(p+)?/) || [], a = d[1], r = d[2];
|
|
27
|
+
if (!r)
|
|
28
|
+
return s(t, e);
|
|
29
|
+
let i;
|
|
30
|
+
switch (a) {
|
|
31
|
+
case "P":
|
|
32
|
+
i = e.dateTime({ width: "short" });
|
|
33
|
+
break;
|
|
34
|
+
case "PP":
|
|
35
|
+
i = e.dateTime({ width: "medium" });
|
|
36
|
+
break;
|
|
37
|
+
case "PPP":
|
|
38
|
+
i = e.dateTime({ width: "long" });
|
|
39
|
+
break;
|
|
40
|
+
case "PPPP":
|
|
41
|
+
default:
|
|
42
|
+
i = e.dateTime({ width: "full" });
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
return i.replace("{{date}}", s(a, e)).replace("{{time}}", c(r, e));
|
|
46
|
+
}, h = {
|
|
47
|
+
p: c,
|
|
48
|
+
P
|
|
49
|
+
};
|
|
327
50
|
export {
|
|
328
|
-
|
|
51
|
+
h as longFormatters
|
|
329
52
|
};
|
package/es/index115.mjs
CHANGED
|
@@ -1,52 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
16
|
-
);
|
|
17
|
-
throw a.name = "Invariant Violation", a;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
e.isRequired = e;
|
|
21
|
-
function r() {
|
|
22
|
-
return e;
|
|
23
|
-
}
|
|
24
|
-
var t = {
|
|
25
|
-
array: e,
|
|
26
|
-
bigint: e,
|
|
27
|
-
bool: e,
|
|
28
|
-
func: e,
|
|
29
|
-
number: e,
|
|
30
|
-
object: e,
|
|
31
|
-
string: e,
|
|
32
|
-
symbol: e,
|
|
33
|
-
any: e,
|
|
34
|
-
arrayOf: r,
|
|
35
|
-
element: e,
|
|
36
|
-
elementType: e,
|
|
37
|
-
instanceOf: r,
|
|
38
|
-
node: e,
|
|
39
|
-
objectOf: r,
|
|
40
|
-
oneOf: r,
|
|
41
|
-
oneOfType: r,
|
|
42
|
-
shape: r,
|
|
43
|
-
exact: r,
|
|
44
|
-
checkPropTypes: i,
|
|
45
|
-
resetWarningCache: n
|
|
46
|
-
};
|
|
47
|
-
return t.PropTypes = t, t;
|
|
48
|
-
}, o;
|
|
1
|
+
const r = /^D+$/, s = /^Y+$/, a = ["D", "DD", "YY", "YYYY"];
|
|
2
|
+
function i(e) {
|
|
3
|
+
return r.test(e);
|
|
4
|
+
}
|
|
5
|
+
function f(e) {
|
|
6
|
+
return s.test(e);
|
|
7
|
+
}
|
|
8
|
+
function d(e, o, n) {
|
|
9
|
+
const t = c(e, o, n);
|
|
10
|
+
if (console.warn(t), a.includes(e)) throw new RangeError(t);
|
|
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`;
|
|
49
15
|
}
|
|
50
16
|
export {
|
|
51
|
-
|
|
17
|
+
i as isProtectedDayOfYearToken,
|
|
18
|
+
f as isProtectedWeekYearToken,
|
|
19
|
+
d as warnOrThrowProtectedError
|
|
52
20
|
};
|
package/es/index116.mjs
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import { formatDistance as o } from "./index179.mjs";
|
|
2
|
+
import { formatLong as t } from "./index180.mjs";
|
|
3
|
+
import { formatRelative as r } from "./index181.mjs";
|
|
4
|
+
import { localize as m } from "./index182.mjs";
|
|
5
|
+
import { match as a } from "./index183.mjs";
|
|
6
|
+
const p = {
|
|
7
|
+
code: "en-US",
|
|
8
|
+
formatDistance: o,
|
|
9
|
+
formatLong: t,
|
|
10
|
+
formatRelative: r,
|
|
11
|
+
localize: m,
|
|
12
|
+
match: a,
|
|
13
|
+
options: {
|
|
14
|
+
weekStartsOn: 0,
|
|
15
|
+
firstWeekContainsDate: 1
|
|
16
|
+
}
|
|
17
|
+
};
|
|
2
18
|
export {
|
|
3
|
-
|
|
19
|
+
p as enUS
|
|
4
20
|
};
|
package/es/index117.mjs
CHANGED
|
@@ -1,67 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: !0
|
|
5
|
-
});
|
|
6
|
-
t.resetState = f;
|
|
7
|
-
t.log = v;
|
|
8
|
-
t.handleBlur = r;
|
|
9
|
-
t.handleFocus = a;
|
|
10
|
-
t.markForFocusLater = m;
|
|
11
|
-
t.returnFocus = p;
|
|
12
|
-
t.popWithoutFocus = h;
|
|
13
|
-
t.setupScopedFocus = E;
|
|
14
|
-
t.teardownScopedFocus = F;
|
|
15
|
-
var l = s, i = d(l);
|
|
16
|
-
function d(e) {
|
|
17
|
-
return e && e.__esModule ? e : { default: e };
|
|
18
|
-
}
|
|
19
|
-
var n = [], u = null, c = !1;
|
|
20
|
-
function f() {
|
|
21
|
-
n = [];
|
|
22
|
-
}
|
|
23
|
-
function v() {
|
|
24
|
-
process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), n.forEach(function(e) {
|
|
25
|
-
var o = e || {};
|
|
26
|
-
console.log(o.nodeName, o.className, o.id);
|
|
27
|
-
}), console.log("end focusManager ----------"));
|
|
28
|
-
}
|
|
29
|
-
function r() {
|
|
30
|
-
c = !0;
|
|
31
|
-
}
|
|
32
|
-
function a() {
|
|
33
|
-
if (c) {
|
|
34
|
-
if (c = !1, !u)
|
|
35
|
-
return;
|
|
36
|
-
setTimeout(function() {
|
|
37
|
-
if (!u.contains(document.activeElement)) {
|
|
38
|
-
var e = (0, i.default)(u)[0] || u;
|
|
39
|
-
e.focus();
|
|
40
|
-
}
|
|
41
|
-
}, 0);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function m() {
|
|
45
|
-
n.push(document.activeElement);
|
|
46
|
-
}
|
|
47
|
-
function p() {
|
|
48
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, o = null;
|
|
49
|
-
try {
|
|
50
|
-
n.length !== 0 && (o = n.pop(), o.focus({ preventScroll: e }));
|
|
51
|
-
return;
|
|
52
|
-
} catch {
|
|
53
|
-
console.warn(["You tried to return focus to", o, "but it is not in the DOM anymore"].join(" "));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function h() {
|
|
57
|
-
n.length > 0 && n.pop();
|
|
58
|
-
}
|
|
59
|
-
function E(e) {
|
|
60
|
-
u = e, window.addEventListener ? (window.addEventListener("blur", r, !1), document.addEventListener("focus", a, !0)) : (window.attachEvent("onBlur", r), document.attachEvent("onFocus", a));
|
|
61
|
-
}
|
|
62
|
-
function F() {
|
|
63
|
-
u = null, window.addEventListener ? (window.removeEventListener("blur", r), document.removeEventListener("focus", a)) : (window.detachEvent("onBlur", r), document.detachEvent("onFocus", a));
|
|
1
|
+
function r(t, n) {
|
|
2
|
+
const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
|
|
3
|
+
return o + a;
|
|
64
4
|
}
|
|
65
5
|
export {
|
|
66
|
-
|
|
6
|
+
r as addLeadingZeros
|
|
67
7
|
};
|
package/es/index118.mjs
CHANGED
|
@@ -1,45 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function m(e) {
|
|
9
|
-
return e && e.__esModule ? e : { default: e };
|
|
10
|
-
}
|
|
11
|
-
function v() {
|
|
12
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
13
|
-
return e.activeElement.shadowRoot ? v(e.activeElement.shadowRoot) : e.activeElement;
|
|
14
|
-
}
|
|
15
|
-
function g(e, r) {
|
|
16
|
-
var a = (0, p.default)(e);
|
|
17
|
-
if (!a.length) {
|
|
18
|
-
r.preventDefault();
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
var t = void 0, n = r.shiftKey, o = a[0], u = a[a.length - 1], i = v();
|
|
22
|
-
if (e === i) {
|
|
23
|
-
if (!n) return;
|
|
24
|
-
t = u;
|
|
25
|
-
}
|
|
26
|
-
if (u === i && !n && (t = o), o === i && n && (t = u), t) {
|
|
27
|
-
r.preventDefault(), t.focus();
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
var b = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), h = b != null && b[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
31
|
-
if (h) {
|
|
32
|
-
var l = a.indexOf(i);
|
|
33
|
-
if (l > -1 && (l += n ? -1 : 1), t = a[l], typeof t > "u") {
|
|
34
|
-
r.preventDefault(), t = n ? u : o, t.focus();
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
r.preventDefault(), t.focus();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
c.exports = f.default;
|
|
41
|
-
})(s, s.exports);
|
|
42
|
-
var D = s.exports;
|
|
1
|
+
import { differenceInCalendarDays as a } from "./index107.mjs";
|
|
2
|
+
import { startOfYear as e } from "./index119.mjs";
|
|
3
|
+
import { toDate as o } from "./index105.mjs";
|
|
4
|
+
function s(t, f) {
|
|
5
|
+
const r = o(t, f?.in);
|
|
6
|
+
return a(r, e(r)) + 1;
|
|
7
|
+
}
|
|
43
8
|
export {
|
|
44
|
-
|
|
9
|
+
s as getDayOfYear
|
|
45
10
|
};
|
package/es/index119.mjs
CHANGED
|
@@ -1,62 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
i.resetState = d;
|
|
6
|
-
i.log = m;
|
|
7
|
-
var o = {}, a = {};
|
|
8
|
-
function s(t, e) {
|
|
9
|
-
t.classList.remove(e);
|
|
1
|
+
import { toDate as o } from "./index105.mjs";
|
|
2
|
+
function n(e, r) {
|
|
3
|
+
const t = o(e, r?.in);
|
|
4
|
+
return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
10
5
|
}
|
|
11
|
-
function d() {
|
|
12
|
-
var t = document.getElementsByTagName("html")[0];
|
|
13
|
-
for (var e in o)
|
|
14
|
-
s(t, o[e]);
|
|
15
|
-
var n = document.body;
|
|
16
|
-
for (var r in a)
|
|
17
|
-
s(n, a[r]);
|
|
18
|
-
o = {}, a = {};
|
|
19
|
-
}
|
|
20
|
-
function m() {
|
|
21
|
-
if (process.env.NODE_ENV !== "production") {
|
|
22
|
-
var t = document.getElementsByTagName("html")[0].className, e = `Show tracked classes:
|
|
23
|
-
|
|
24
|
-
`;
|
|
25
|
-
e += "<html /> (" + t + `):
|
|
26
|
-
`;
|
|
27
|
-
for (var n in o)
|
|
28
|
-
e += " " + n + " " + o[n] + `
|
|
29
|
-
`;
|
|
30
|
-
t = document.body.className, e += `
|
|
31
|
-
|
|
32
|
-
doc.body (` + t + `):
|
|
33
|
-
`;
|
|
34
|
-
for (var r in a)
|
|
35
|
-
e += " " + r + " " + a[r] + `
|
|
36
|
-
`;
|
|
37
|
-
e += `
|
|
38
|
-
`, console.log(e);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
var u = function(e, n) {
|
|
42
|
-
return e[n] || (e[n] = 0), e[n] += 1, n;
|
|
43
|
-
}, v = function(e, n) {
|
|
44
|
-
return e[n] && (e[n] -= 1), n;
|
|
45
|
-
}, f = function(e, n, r) {
|
|
46
|
-
r.forEach(function(c) {
|
|
47
|
-
u(n, c), e.add(c);
|
|
48
|
-
});
|
|
49
|
-
}, l = function(e, n, r) {
|
|
50
|
-
r.forEach(function(c) {
|
|
51
|
-
v(n, c), n[c] === 0 && e.remove(c);
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
i.add = function(e, n) {
|
|
55
|
-
return f(e.classList, e.nodeName.toLowerCase() == "html" ? o : a, n.split(" "));
|
|
56
|
-
};
|
|
57
|
-
i.remove = function(e, n) {
|
|
58
|
-
return l(e.classList, e.nodeName.toLowerCase() == "html" ? o : a, n.split(" "));
|
|
59
|
-
};
|
|
60
6
|
export {
|
|
61
|
-
|
|
7
|
+
n as startOfYear
|
|
62
8
|
};
|