@a-ui/react 7.13.0-beta.1 → 7.13.0-beta.2
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/package.json +3 -3
- package/index.js +0 -1
- package/index.mjs +0 -100
- package/index10.js +0 -1
- package/index10.mjs +0 -60
- package/index100.js +0 -1
- package/index100.mjs +0 -4
- package/index101.js +0 -1
- package/index101.mjs +0 -400
- package/index102.js +0 -5
- package/index102.mjs +0 -42
- package/index103.js +0 -1
- package/index103.mjs +0 -4
- package/index104.js +0 -1
- package/index104.mjs +0 -10
- package/index105.js +0 -2
- package/index105.mjs +0 -329
- package/index106.js +0 -1
- package/index106.mjs +0 -52
- package/index107.js +0 -1
- package/index107.mjs +0 -4
- package/index108.js +0 -1
- package/index108.mjs +0 -67
- package/index109.js +0 -1
- package/index109.mjs +0 -45
- package/index11.js +0 -1
- package/index11.mjs +0 -12
- package/index110.js +0 -10
- package/index110.mjs +0 -62
- package/index111.js +0 -1
- package/index111.mjs +0 -46
- package/index112.js +0 -1
- package/index112.mjs +0 -42
- package/index113.js +0 -1
- package/index113.mjs +0 -4
- package/index114.js +0 -1
- package/index114.mjs +0 -4
- package/index115.js +0 -1
- package/index115.mjs +0 -4
- package/index116.js +0 -1
- package/index116.mjs +0 -33
- package/index117.js +0 -5
- package/index117.mjs +0 -21
- package/index118.js +0 -9
- package/index118.mjs +0 -63
- package/index119.js +0 -1
- package/index119.mjs +0 -65
- package/index12.js +0 -1
- package/index12.mjs +0 -215
- package/index120.js +0 -1
- package/index120.mjs +0 -16
- package/index121.js +0 -1
- package/index121.mjs +0 -9
- package/index122.js +0 -1
- package/index122.mjs +0 -9
- package/index123.js +0 -1
- package/index123.mjs +0 -8
- package/index124.js +0 -1
- package/index124.mjs +0 -8
- package/index125.js +0 -1
- package/index125.mjs +0 -7
- package/index126.js +0 -1
- package/index126.mjs +0 -7
- package/index127.js +0 -1
- package/index127.mjs +0 -9
- package/index128.js +0 -1
- package/index128.mjs +0 -7
- package/index129.js +0 -1
- package/index129.mjs +0 -69
- package/index13.js +0 -1
- package/index13.mjs +0 -29
- package/index130.js +0 -1
- package/index130.mjs +0 -5
- package/index131.js +0 -1
- package/index131.mjs +0 -7
- package/index132.js +0 -1
- package/index132.mjs +0 -13
- package/index133.js +0 -1
- package/index133.mjs +0 -4
- package/index134.js +0 -1
- package/index134.mjs +0 -393
- package/index135.js +0 -1
- package/index135.mjs +0 -127
- package/index136.js +0 -1
- package/index136.mjs +0 -136
- package/index137.js +0 -1
- package/index137.mjs +0 -4
- package/index138.js +0 -1
- package/index138.mjs +0 -4
- package/index139.js +0 -8
- package/index139.mjs +0 -78
- package/index14.js +0 -1
- package/index14.mjs +0 -44
- package/index140.js +0 -8
- package/index140.mjs +0 -95
- package/index141.js +0 -5
- package/index141.mjs +0 -54
- package/index142.js +0 -1
- package/index142.mjs +0 -10
- package/index143.js +0 -1
- package/index143.mjs +0 -7
- package/index144.js +0 -1
- package/index144.mjs +0 -54
- package/index145.js +0 -11
- package/index145.mjs +0 -60
- package/index146.js +0 -1
- package/index146.mjs +0 -4
- package/index147.js +0 -1
- package/index147.mjs +0 -4
- package/index148.js +0 -1
- package/index148.mjs +0 -7
- package/index149.js +0 -1
- package/index149.mjs +0 -7
- package/index15.js +0 -1
- package/index15.mjs +0 -8
- package/index150.js +0 -1
- package/index150.mjs +0 -9
- package/index151.js +0 -1
- package/index151.mjs +0 -15
- package/index152.js +0 -1
- package/index152.mjs +0 -18
- package/index153.js +0 -1
- package/index153.mjs +0 -11
- package/index154.js +0 -1
- package/index154.mjs +0 -8
- package/index155.js +0 -1
- package/index155.mjs +0 -8
- package/index156.js +0 -1
- package/index156.mjs +0 -7
- package/index157.js +0 -1
- package/index157.mjs +0 -515
- package/index158.js +0 -1
- package/index158.mjs +0 -52
- package/index159.js +0 -1
- package/index159.mjs +0 -20
- package/index16.js +0 -1
- package/index16.mjs +0 -15
- package/index160.js +0 -1
- package/index160.mjs +0 -20
- package/index161.js +0 -1
- package/index161.mjs +0 -7
- package/index162.js +0 -1
- package/index162.mjs +0 -10
- package/index163.js +0 -1
- package/index163.mjs +0 -8
- package/index164.js +0 -1
- package/index164.mjs +0 -7
- package/index165.js +0 -1
- package/index165.mjs +0 -8
- package/index166.js +0 -1
- package/index166.mjs +0 -11
- package/index167.js +0 -1
- package/index167.mjs +0 -7
- package/index168.js +0 -1
- package/index168.mjs +0 -10
- package/index169.js +0 -1
- package/index169.mjs +0 -14
- package/index17.js +0 -1
- package/index17.mjs +0 -108
- package/index170.js +0 -1
- package/index170.mjs +0 -11
- package/index171.js +0 -1
- package/index171.mjs +0 -11
- package/index172.js +0 -1
- package/index172.mjs +0 -15
- package/index173.js +0 -1
- package/index173.mjs +0 -6
- package/index174.js +0 -1
- package/index174.mjs +0 -35
- package/index175.js +0 -1
- package/index175.mjs +0 -67
- package/index176.js +0 -1
- package/index176.mjs +0 -10
- package/index177.js +0 -1
- package/index177.mjs +0 -10
- package/index178.js +0 -1
- package/index178.mjs +0 -9
- package/index179.js +0 -1
- package/index179.mjs +0 -9
- package/index18.js +0 -1
- package/index18.mjs +0 -136
- package/index180.js +0 -1
- package/index180.mjs +0 -16
- package/index181.js +0 -1
- package/index181.mjs +0 -4
- package/index182.js +0 -1
- package/index182.mjs +0 -4
- package/index183.js +0 -1
- package/index183.mjs +0 -4
- package/index184.js +0 -1
- package/index184.mjs +0 -59
- package/index185.js +0 -1
- package/index185.mjs +0 -24
- package/index186.js +0 -1
- package/index186.mjs +0 -43
- package/index187.js +0 -1
- package/index187.mjs +0 -63
- package/index188.js +0 -1
- package/index188.mjs +0 -34
- package/index189.js +0 -1
- package/index189.mjs +0 -15
- package/index19.js +0 -1
- package/index19.mjs +0 -11
- package/index190.js +0 -1
- package/index190.mjs +0 -64
- package/index191.js +0 -1
- package/index191.mjs +0 -64
- package/index192.js +0 -1
- package/index192.mjs +0 -65
- package/index193.js +0 -1
- package/index193.mjs +0 -65
- package/index194.js +0 -1
- package/index194.mjs +0 -42
- package/index195.js +0 -1
- package/index195.mjs +0 -43
- package/index196.js +0 -1
- package/index196.mjs +0 -55
- package/index197.js +0 -1
- package/index197.mjs +0 -45
- package/index198.js +0 -1
- package/index198.mjs +0 -39
- package/index199.js +0 -1
- package/index199.mjs +0 -68
- package/index2.js +0 -1
- package/index2.mjs +0 -12
- package/index20.js +0 -1
- package/index20.mjs +0 -54
- package/index200.js +0 -1
- package/index200.mjs +0 -68
- package/index201.js +0 -1
- package/index201.mjs +0 -93
- package/index202.js +0 -1
- package/index202.mjs +0 -43
- package/index203.js +0 -1
- package/index203.mjs +0 -43
- package/index204.js +0 -1
- package/index204.mjs +0 -43
- package/index205.js +0 -1
- package/index205.mjs +0 -27
- package/index206.js +0 -1
- package/index206.mjs +0 -26
- package/index207.js +0 -1
- package/index207.mjs +0 -26
- package/index208.js +0 -1
- package/index208.mjs +0 -27
- package/index209.js +0 -1
- package/index209.mjs +0 -26
- package/index21.js +0 -1
- package/index21.mjs +0 -33
- package/index210.js +0 -1
- package/index210.mjs +0 -26
- package/index211.js +0 -1
- package/index211.mjs +0 -16
- package/index212.js +0 -1
- package/index212.mjs +0 -42
- package/index213.js +0 -1
- package/index213.mjs +0 -42
- package/index214.js +0 -1
- package/index214.mjs +0 -16
- package/index215.js +0 -1
- package/index215.mjs +0 -16
- package/index216.js +0 -1
- package/index216.mjs +0 -70
- package/index217.js +0 -1
- package/index217.mjs +0 -33
- package/index218.js +0 -1
- package/index218.mjs +0 -11
- package/index219.js +0 -1
- package/index219.mjs +0 -155
- package/index22.js +0 -1
- package/index22.mjs +0 -22
- package/index220.js +0 -1
- package/index220.mjs +0 -110
- package/index221.js +0 -1
- package/index221.mjs +0 -22
- package/index222.js +0 -1
- package/index222.mjs +0 -103
- package/index223.js +0 -1
- package/index223.mjs +0 -49
- package/index224.js +0 -1
- package/index224.mjs +0 -70
- package/index225.js +0 -1
- package/index225.mjs +0 -33
- package/index226.js +0 -1
- package/index226.mjs +0 -11
- package/index227.js +0 -1
- package/index227.mjs +0 -110
- package/index228.js +0 -1
- package/index228.mjs +0 -109
- package/index229.js +0 -1
- package/index229.mjs +0 -9
- package/index23.js +0 -1
- package/index23.mjs +0 -32
- package/index230.js +0 -1
- package/index230.mjs +0 -18
- package/index231.js +0 -1
- package/index231.mjs +0 -31
- package/index232.js +0 -1
- package/index232.mjs +0 -15
- package/index233.js +0 -1
- package/index233.mjs +0 -61
- package/index234.js +0 -1
- package/index234.mjs +0 -11
- package/index235.js +0 -1
- package/index235.mjs +0 -22
- package/index24.js +0 -2
- package/index24.mjs +0 -62
- package/index25.js +0 -1
- package/index25.mjs +0 -15
- package/index26.js +0 -1
- package/index26.mjs +0 -12
- package/index27.js +0 -1
- package/index27.mjs +0 -43
- package/index28.js +0 -1
- package/index28.mjs +0 -34
- package/index29.js +0 -1
- package/index29.mjs +0 -10
- package/index3.js +0 -1
- package/index3.mjs +0 -15
- package/index30.js +0 -1
- package/index30.mjs +0 -72
- package/index31.js +0 -1
- package/index31.mjs +0 -40
- package/index32.js +0 -1
- package/index32.mjs +0 -48
- package/index33.js +0 -1
- package/index33.mjs +0 -90
- package/index34.js +0 -1
- package/index34.mjs +0 -36
- package/index35.js +0 -1
- package/index35.mjs +0 -25
- package/index36.js +0 -1
- package/index36.mjs +0 -27
- package/index37.js +0 -1
- package/index37.mjs +0 -110
- package/index38.js +0 -1
- package/index38.mjs +0 -57
- package/index39.js +0 -1
- package/index39.mjs +0 -21
- package/index4.js +0 -1
- package/index4.mjs +0 -58
- package/index40.js +0 -1
- package/index40.mjs +0 -40
- package/index41.js +0 -1
- package/index41.mjs +0 -54
- package/index42.js +0 -1
- package/index42.mjs +0 -73
- package/index43.js +0 -1
- package/index43.mjs +0 -49
- package/index44.js +0 -1
- package/index44.mjs +0 -13
- package/index45.js +0 -1
- package/index45.mjs +0 -73
- package/index46.js +0 -1
- package/index46.mjs +0 -99
- package/index47.js +0 -1
- package/index47.mjs +0 -45
- package/index48.js +0 -1
- package/index48.mjs +0 -26
- package/index49.js +0 -1
- package/index49.mjs +0 -83
- package/index5.js +0 -1
- package/index5.mjs +0 -136
- package/index50.js +0 -1
- package/index50.mjs +0 -35
- package/index51.js +0 -1
- package/index51.mjs +0 -10
- package/index52.js +0 -1
- package/index52.mjs +0 -13
- package/index53.js +0 -1
- package/index53.mjs +0 -30
- package/index54.js +0 -1
- package/index54.mjs +0 -51
- package/index55.js +0 -1
- package/index55.mjs +0 -10
- package/index56.js +0 -1
- package/index56.mjs +0 -49
- package/index58.js +0 -1
- package/index58.mjs +0 -64
- package/index59.js +0 -1
- package/index59.mjs +0 -62
- package/index6.js +0 -1
- package/index6.mjs +0 -29
- package/index60.js +0 -1
- package/index60.mjs +0 -31
- package/index61.js +0 -1
- package/index61.mjs +0 -23
- package/index62.js +0 -1
- package/index62.mjs +0 -32
- package/index63.js +0 -1
- package/index63.mjs +0 -16
- package/index64.js +0 -1
- package/index64.mjs +0 -61
- package/index65.js +0 -1
- package/index65.mjs +0 -19
- package/index66.js +0 -7
- package/index66.mjs +0 -411
- package/index7.js +0 -1
- package/index7.mjs +0 -8
- package/index70.js +0 -1
- package/index70.mjs +0 -4
- package/index71.js +0 -1
- package/index71.mjs +0 -76
- package/index72.js +0 -1
- package/index72.mjs +0 -31
- package/index73.js +0 -1
- package/index73.mjs +0 -38
- package/index74.js +0 -1
- package/index74.mjs +0 -6
- package/index75.js +0 -1
- package/index75.mjs +0 -37
- package/index76.js +0 -1
- package/index76.mjs +0 -7
- package/index77.js +0 -1
- package/index77.mjs +0 -7
- package/index78.js +0 -1
- package/index78.mjs +0 -7
- package/index79.js +0 -1
- package/index79.mjs +0 -7
- package/index8.js +0 -1
- package/index8.mjs +0 -18
- package/index80.js +0 -1
- package/index80.mjs +0 -7
- package/index81.js +0 -1
- package/index81.mjs +0 -19
- package/index82.js +0 -1
- package/index82.mjs +0 -87
- package/index83.js +0 -1
- package/index83.mjs +0 -8
- package/index84.js +0 -1
- package/index84.mjs +0 -27
- package/index85.js +0 -1
- package/index85.mjs +0 -57
- package/index87.js +0 -1
- package/index87.mjs +0 -7
- package/index88.js +0 -1
- package/index88.mjs +0 -121
- package/index89.js +0 -1
- package/index89.mjs +0 -20
- package/index9.js +0 -1
- package/index9.mjs +0 -18
- package/index90.js +0 -1
- package/index90.mjs +0 -26
- package/index91.js +0 -1
- package/index91.mjs +0 -4
- package/index92.js +0 -1
- package/index92.mjs +0 -237
- package/index93.js +0 -1
- package/index93.mjs +0 -4
- package/index94.js +0 -1
- package/index94.mjs +0 -13
- package/index95.js +0 -1
- package/index95.mjs +0 -249
- package/index96.js +0 -1
- package/index96.mjs +0 -91
- package/index97.js +0 -1
- package/index97.mjs +0 -15
- package/index98.js +0 -1
- package/index98.mjs +0 -6
- package/index99.js +0 -1
- package/index99.mjs +0 -4
- package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +0 -1
- package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +0 -1
- package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +0 -1
- package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +0 -1
package/index206.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { numericPatterns as s } from "./index223.mjs";
|
|
2
|
-
import { Parser as o } from "./index221.mjs";
|
|
3
|
-
import { parseNDigits as a, parseNumericPattern as i } from "./index222.mjs";
|
|
4
|
-
class c extends o {
|
|
5
|
-
priority = 70;
|
|
6
|
-
parse(r, e, t) {
|
|
7
|
-
switch (e) {
|
|
8
|
-
case "H":
|
|
9
|
-
return i(s.hour23h, r);
|
|
10
|
-
case "Ho":
|
|
11
|
-
return t.ordinalNumber(r, { unit: "hour" });
|
|
12
|
-
default:
|
|
13
|
-
return a(e.length, r);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
validate(r, e) {
|
|
17
|
-
return e >= 0 && e <= 23;
|
|
18
|
-
}
|
|
19
|
-
set(r, e, t) {
|
|
20
|
-
return r.setHours(t, 0, 0, 0), r;
|
|
21
|
-
}
|
|
22
|
-
incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
c as Hour0to23Parser
|
|
26
|
-
};
|
package/index207.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index223.js"),u=require("./index221.js"),t=require("./index222.js");class i extends u.Parser{priority=70;parse(r,e,s){switch(e){case"K":return t.parseNumericPattern(o.numericPatterns.hour11h,r);case"Ko":return s.ordinalNumber(r,{unit:"hour"});default:return t.parseNDigits(e.length,r)}}validate(r,e){return e>=0&&e<=11}set(r,e,s){return r.getHours()>=12&&s<12?r.setHours(s+12,0,0,0):r.setHours(s,0,0,0),r}incompatibleTokens=["h","H","k","t","T"]}exports.Hour0To11Parser=i;
|
package/index207.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { numericPatterns as t } from "./index223.mjs";
|
|
2
|
-
import { Parser as o } from "./index221.mjs";
|
|
3
|
-
import { parseNDigits as i, parseNumericPattern as u } from "./index222.mjs";
|
|
4
|
-
class f extends o {
|
|
5
|
-
priority = 70;
|
|
6
|
-
parse(r, s, e) {
|
|
7
|
-
switch (s) {
|
|
8
|
-
case "K":
|
|
9
|
-
return u(t.hour11h, r);
|
|
10
|
-
case "Ko":
|
|
11
|
-
return e.ordinalNumber(r, { unit: "hour" });
|
|
12
|
-
default:
|
|
13
|
-
return i(s.length, r);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
validate(r, s) {
|
|
17
|
-
return s >= 0 && s <= 11;
|
|
18
|
-
}
|
|
19
|
-
set(r, s, e) {
|
|
20
|
-
return r.getHours() >= 12 && e < 12 ? r.setHours(e + 12, 0, 0, 0) : r.setHours(e, 0, 0, 0), r;
|
|
21
|
-
}
|
|
22
|
-
incompatibleTokens = ["h", "H", "k", "t", "T"];
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
f as Hour0To11Parser
|
|
26
|
-
};
|
package/index208.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index223.js"),n=require("./index221.js"),t=require("./index222.js");class a extends n.Parser{priority=70;parse(r,e,s){switch(e){case"k":return t.parseNumericPattern(u.numericPatterns.hour24h,r);case"ko":return s.ordinalNumber(r,{unit:"hour"});default:return t.parseNDigits(e.length,r)}}validate(r,e){return e>=1&&e<=24}set(r,e,s){const o=s<=24?s%24:s;return r.setHours(o,0,0,0),r}incompatibleTokens=["a","b","h","H","K","t","T"]}exports.Hour1To24Parser=a;
|
package/index208.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { numericPatterns as o } from "./index223.mjs";
|
|
2
|
-
import { Parser as i } from "./index221.mjs";
|
|
3
|
-
import { parseNDigits as a, parseNumericPattern as n } from "./index222.mjs";
|
|
4
|
-
class h extends i {
|
|
5
|
-
priority = 70;
|
|
6
|
-
parse(r, e, t) {
|
|
7
|
-
switch (e) {
|
|
8
|
-
case "k":
|
|
9
|
-
return n(o.hour24h, r);
|
|
10
|
-
case "ko":
|
|
11
|
-
return t.ordinalNumber(r, { unit: "hour" });
|
|
12
|
-
default:
|
|
13
|
-
return a(e.length, r);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
validate(r, e) {
|
|
17
|
-
return e >= 1 && e <= 24;
|
|
18
|
-
}
|
|
19
|
-
set(r, e, t) {
|
|
20
|
-
const s = t <= 24 ? t % 24 : t;
|
|
21
|
-
return r.setHours(s, 0, 0, 0), r;
|
|
22
|
-
}
|
|
23
|
-
incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
h as Hour1To24Parser
|
|
27
|
-
};
|
package/index209.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.js"),i=require("./index221.js"),s=require("./index222.js");class u extends i.Parser{priority=60;parse(e,r,t){switch(r){case"m":return s.parseNumericPattern(n.numericPatterns.minute,e);case"mo":return t.ordinalNumber(e,{unit:"minute"});default:return s.parseNDigits(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,t){return e.setMinutes(t,0,0),e}incompatibleTokens=["t","T"]}exports.MinuteParser=u;
|
package/index209.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { numericPatterns as s } from "./index223.mjs";
|
|
2
|
-
import { Parser as i } from "./index221.mjs";
|
|
3
|
-
import { parseNDigits as n, parseNumericPattern as m } from "./index222.mjs";
|
|
4
|
-
class c extends i {
|
|
5
|
-
priority = 60;
|
|
6
|
-
parse(r, e, t) {
|
|
7
|
-
switch (e) {
|
|
8
|
-
case "m":
|
|
9
|
-
return m(s.minute, r);
|
|
10
|
-
case "mo":
|
|
11
|
-
return t.ordinalNumber(r, { unit: "minute" });
|
|
12
|
-
default:
|
|
13
|
-
return n(e.length, r);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
validate(r, e) {
|
|
17
|
-
return e >= 0 && e <= 59;
|
|
18
|
-
}
|
|
19
|
-
set(r, e, t) {
|
|
20
|
-
return r.setMinutes(t, 0, 0), r;
|
|
21
|
-
}
|
|
22
|
-
incompatibleTokens = ["t", "T"];
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
c as MinuteParser
|
|
26
|
-
};
|
package/index21.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),d=require("react"),m=require("./index54.js"),b=require("./index10.js");function h({backToTop:t,backToTopAriaLabel:n="Terug naar omhoog",items:e=[],qa:a}){const s=()=>{window.scrollTo({top:0,behavior:"smooth"})},c=()=>e?.map((r,l)=>{const i=m.renderHTMLLink(r),u=e.length>1&&l!==e.length-1;return o.jsxs(d.Fragment,{children:[i,u?" | ":""]},r.label)});return o.jsxs("footer",{className:"o-footer","data-qa":a,children:[o.jsx("span",{className:"o-footer__label",children:c()}),t&&o.jsx(b.Button,{className:"o-footer__button a-button--secondary",addOn:{type:"icon",iconProps:{name:"arrow-up-1"}},onClick:s,ariaLabel:n})]})}exports.Footer=h;
|
package/index21.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import d from "react";
|
|
3
|
-
import { renderHTMLLink as p } from "./index54.mjs";
|
|
4
|
-
import { Button as f } from "./index10.mjs";
|
|
5
|
-
function L({ backToTop: t, backToTopAriaLabel: a = "Terug naar omhoog", items: o = [], qa: s }) {
|
|
6
|
-
const c = () => {
|
|
7
|
-
window.scrollTo({
|
|
8
|
-
top: 0,
|
|
9
|
-
behavior: "smooth"
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
return /* @__PURE__ */ e("footer", { className: "o-footer", "data-qa": s, children: [
|
|
13
|
-
/* @__PURE__ */ n("span", { className: "o-footer__label", children: o?.map((r, l) => {
|
|
14
|
-
const i = p(r), m = o.length > 1 && l !== o.length - 1;
|
|
15
|
-
return /* @__PURE__ */ e(d.Fragment, { children: [
|
|
16
|
-
i,
|
|
17
|
-
m ? " | " : ""
|
|
18
|
-
] }, r.label);
|
|
19
|
-
}) }),
|
|
20
|
-
t && /* @__PURE__ */ n(
|
|
21
|
-
f,
|
|
22
|
-
{
|
|
23
|
-
className: "o-footer__button a-button--secondary",
|
|
24
|
-
addOn: { type: "icon", iconProps: { name: "arrow-up-1" } },
|
|
25
|
-
onClick: c,
|
|
26
|
-
ariaLabel: a
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
] });
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
L as Footer
|
|
33
|
-
};
|
package/index210.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.js"),a=require("./index221.js"),t=require("./index222.js");class c extends a.Parser{priority=50;parse(e,r,s){switch(r){case"s":return t.parseNumericPattern(n.numericPatterns.second,e);case"so":return s.ordinalNumber(e,{unit:"second"});default:return t.parseNDigits(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,s){return e.setSeconds(s,0),e}incompatibleTokens=["t","T"]}exports.SecondParser=c;
|
package/index210.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { numericPatterns as t } from "./index223.mjs";
|
|
2
|
-
import { Parser as n } from "./index221.mjs";
|
|
3
|
-
import { parseNDigits as o, parseNumericPattern as a } from "./index222.mjs";
|
|
4
|
-
class u extends n {
|
|
5
|
-
priority = 50;
|
|
6
|
-
parse(r, e, s) {
|
|
7
|
-
switch (e) {
|
|
8
|
-
case "s":
|
|
9
|
-
return a(t.second, r);
|
|
10
|
-
case "so":
|
|
11
|
-
return s.ordinalNumber(r, { unit: "second" });
|
|
12
|
-
default:
|
|
13
|
-
return o(e.length, r);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
validate(r, e) {
|
|
17
|
-
return e >= 0 && e <= 59;
|
|
18
|
-
}
|
|
19
|
-
set(r, e, s) {
|
|
20
|
-
return r.setSeconds(s, 0), r;
|
|
21
|
-
}
|
|
22
|
-
incompatibleTokens = ["t", "T"];
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
u as SecondParser
|
|
26
|
-
};
|
package/index211.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index221.js"),s=require("./index222.js");class i extends n.Parser{priority=30;parse(e,r){const t=a=>Math.trunc(a*Math.pow(10,-r.length+3));return s.mapValue(s.parseNDigits(r.length,e),t)}set(e,r,t){return e.setMilliseconds(t),e}incompatibleTokens=["t","T"]}exports.FractionOfSecondParser=i;
|
package/index211.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Parser as a } from "./index221.mjs";
|
|
2
|
-
import { mapValue as o, parseNDigits as i } from "./index222.mjs";
|
|
3
|
-
class c extends a {
|
|
4
|
-
priority = 30;
|
|
5
|
-
parse(r, e) {
|
|
6
|
-
const t = (s) => Math.trunc(s * Math.pow(10, -e.length + 3));
|
|
7
|
-
return o(i(e.length, r), t);
|
|
8
|
-
}
|
|
9
|
-
set(r, e, t) {
|
|
10
|
-
return r.setMilliseconds(t), r;
|
|
11
|
-
}
|
|
12
|
-
incompatibleTokens = ["t", "T"];
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
c as FractionOfSecondParser
|
|
16
|
-
};
|
package/index212.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index148.js"),o=require("./index152.js"),t=require("./index223.js"),a=require("./index221.js"),r=require("./index222.js");class c extends a.Parser{priority=10;parse(e,n){switch(n){case"X":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalMinutes,e);case"XX":return r.parseTimezonePattern(t.timezonePatterns.basic,e);case"XXXX":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return r.parseTimezonePattern(t.timezonePatterns.extendedOptionalSeconds,e);case"XXX":default:return r.parseTimezonePattern(t.timezonePatterns.extended,e)}}set(e,n,s){return n.timestampIsSet?e:i.constructFrom(e,e.getTime()-o.getTimezoneOffsetInMilliseconds(e)-s)}incompatibleTokens=["t","T","x"]}exports.ISOTimezoneWithZParser=c;
|
package/index212.mjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { constructFrom as i } from "./index148.mjs";
|
|
2
|
-
import { getTimezoneOffsetInMilliseconds as n } from "./index152.mjs";
|
|
3
|
-
import { timezonePatterns as r } from "./index223.mjs";
|
|
4
|
-
import { Parser as m } from "./index221.mjs";
|
|
5
|
-
import { parseTimezonePattern as t } from "./index222.mjs";
|
|
6
|
-
class l extends m {
|
|
7
|
-
priority = 10;
|
|
8
|
-
parse(e, s) {
|
|
9
|
-
switch (s) {
|
|
10
|
-
case "X":
|
|
11
|
-
return t(
|
|
12
|
-
r.basicOptionalMinutes,
|
|
13
|
-
e
|
|
14
|
-
);
|
|
15
|
-
case "XX":
|
|
16
|
-
return t(r.basic, e);
|
|
17
|
-
case "XXXX":
|
|
18
|
-
return t(
|
|
19
|
-
r.basicOptionalSeconds,
|
|
20
|
-
e
|
|
21
|
-
);
|
|
22
|
-
case "XXXXX":
|
|
23
|
-
return t(
|
|
24
|
-
r.extendedOptionalSeconds,
|
|
25
|
-
e
|
|
26
|
-
);
|
|
27
|
-
case "XXX":
|
|
28
|
-
default:
|
|
29
|
-
return t(r.extended, e);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
set(e, s, o) {
|
|
33
|
-
return s.timestampIsSet ? e : i(
|
|
34
|
-
e,
|
|
35
|
-
e.getTime() - n(e) - o
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
incompatibleTokens = ["t", "T", "x"];
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
l as ISOTimezoneWithZParser
|
|
42
|
-
};
|
package/index213.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index148.js"),o=require("./index152.js"),t=require("./index223.js"),a=require("./index221.js"),r=require("./index222.js");class c extends a.Parser{priority=10;parse(e,n){switch(n){case"x":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalMinutes,e);case"xx":return r.parseTimezonePattern(t.timezonePatterns.basic,e);case"xxxx":return r.parseTimezonePattern(t.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return r.parseTimezonePattern(t.timezonePatterns.extendedOptionalSeconds,e);case"xxx":default:return r.parseTimezonePattern(t.timezonePatterns.extended,e)}}set(e,n,s){return n.timestampIsSet?e:i.constructFrom(e,e.getTime()-o.getTimezoneOffsetInMilliseconds(e)-s)}incompatibleTokens=["t","T","X"]}exports.ISOTimezoneParser=c;
|
package/index213.mjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { constructFrom as n } from "./index148.mjs";
|
|
2
|
-
import { getTimezoneOffsetInMilliseconds as i } from "./index152.mjs";
|
|
3
|
-
import { timezonePatterns as r } from "./index223.mjs";
|
|
4
|
-
import { Parser as m } from "./index221.mjs";
|
|
5
|
-
import { parseTimezonePattern as s } from "./index222.mjs";
|
|
6
|
-
class l extends m {
|
|
7
|
-
priority = 10;
|
|
8
|
-
parse(e, t) {
|
|
9
|
-
switch (t) {
|
|
10
|
-
case "x":
|
|
11
|
-
return s(
|
|
12
|
-
r.basicOptionalMinutes,
|
|
13
|
-
e
|
|
14
|
-
);
|
|
15
|
-
case "xx":
|
|
16
|
-
return s(r.basic, e);
|
|
17
|
-
case "xxxx":
|
|
18
|
-
return s(
|
|
19
|
-
r.basicOptionalSeconds,
|
|
20
|
-
e
|
|
21
|
-
);
|
|
22
|
-
case "xxxxx":
|
|
23
|
-
return s(
|
|
24
|
-
r.extendedOptionalSeconds,
|
|
25
|
-
e
|
|
26
|
-
);
|
|
27
|
-
case "xxx":
|
|
28
|
-
default:
|
|
29
|
-
return s(r.extended, e);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
set(e, t, o) {
|
|
33
|
-
return t.timestampIsSet ? e : n(
|
|
34
|
-
e,
|
|
35
|
-
e.getTime() - i(e) - o
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
incompatibleTokens = ["t", "T", "X"];
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
l as ISOTimezoneParser
|
|
42
|
-
};
|
package/index214.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index148.js"),t=require("./index221.js"),i=require("./index222.js");class n extends t.Parser{priority=40;parse(e){return i.parseAnyDigitsSigned(e)}set(e,a,r){return[s.constructFrom(e,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}exports.TimestampSecondsParser=n;
|
package/index214.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { constructFrom as t } from "./index148.mjs";
|
|
2
|
-
import { Parser as s } from "./index221.mjs";
|
|
3
|
-
import { parseAnyDigitsSigned as o } from "./index222.mjs";
|
|
4
|
-
class c extends s {
|
|
5
|
-
priority = 40;
|
|
6
|
-
parse(r) {
|
|
7
|
-
return o(r);
|
|
8
|
-
}
|
|
9
|
-
set(r, m, e) {
|
|
10
|
-
return [t(r, e * 1e3), { timestampIsSet: !0 }];
|
|
11
|
-
}
|
|
12
|
-
incompatibleTokens = "*";
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
c as TimestampSecondsParser
|
|
16
|
-
};
|
package/index215.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index148.js"),t=require("./index221.js"),i=require("./index222.js");class n extends t.Parser{priority=20;parse(e){return i.parseAnyDigitsSigned(e)}set(e,a,r){return[s.constructFrom(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}exports.TimestampMillisecondsParser=n;
|
package/index215.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { constructFrom as t } from "./index148.mjs";
|
|
2
|
-
import { Parser as s } from "./index221.mjs";
|
|
3
|
-
import { parseAnyDigitsSigned as i } from "./index222.mjs";
|
|
4
|
-
class c extends s {
|
|
5
|
-
priority = 20;
|
|
6
|
-
parse(r) {
|
|
7
|
-
return i(r);
|
|
8
|
-
}
|
|
9
|
-
set(r, m, e) {
|
|
10
|
-
return [t(r, e), { timestampIsSet: !0 }];
|
|
11
|
-
}
|
|
12
|
-
incompatibleTokens = "*";
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
c as TimestampMillisecondsParser
|
|
16
|
-
};
|
package/index216.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=(s,n,t)=>{let e;const o=a[s];return typeof o=="string"?e=o:n===1?e=o.one:e=o.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+e:e+" ago":e};exports.formatDistance=r;
|
package/index216.mjs
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
const a = {
|
|
2
|
-
lessThanXSeconds: {
|
|
3
|
-
one: "less than a second",
|
|
4
|
-
other: "less than {{count}} seconds"
|
|
5
|
-
},
|
|
6
|
-
xSeconds: {
|
|
7
|
-
one: "1 second",
|
|
8
|
-
other: "{{count}} seconds"
|
|
9
|
-
},
|
|
10
|
-
halfAMinute: "half a minute",
|
|
11
|
-
lessThanXMinutes: {
|
|
12
|
-
one: "less than a minute",
|
|
13
|
-
other: "less than {{count}} minutes"
|
|
14
|
-
},
|
|
15
|
-
xMinutes: {
|
|
16
|
-
one: "1 minute",
|
|
17
|
-
other: "{{count}} minutes"
|
|
18
|
-
},
|
|
19
|
-
aboutXHours: {
|
|
20
|
-
one: "about 1 hour",
|
|
21
|
-
other: "about {{count}} hours"
|
|
22
|
-
},
|
|
23
|
-
xHours: {
|
|
24
|
-
one: "1 hour",
|
|
25
|
-
other: "{{count}} hours"
|
|
26
|
-
},
|
|
27
|
-
xDays: {
|
|
28
|
-
one: "1 day",
|
|
29
|
-
other: "{{count}} days"
|
|
30
|
-
},
|
|
31
|
-
aboutXWeeks: {
|
|
32
|
-
one: "about 1 week",
|
|
33
|
-
other: "about {{count}} weeks"
|
|
34
|
-
},
|
|
35
|
-
xWeeks: {
|
|
36
|
-
one: "1 week",
|
|
37
|
-
other: "{{count}} weeks"
|
|
38
|
-
},
|
|
39
|
-
aboutXMonths: {
|
|
40
|
-
one: "about 1 month",
|
|
41
|
-
other: "about {{count}} months"
|
|
42
|
-
},
|
|
43
|
-
xMonths: {
|
|
44
|
-
one: "1 month",
|
|
45
|
-
other: "{{count}} months"
|
|
46
|
-
},
|
|
47
|
-
aboutXYears: {
|
|
48
|
-
one: "about 1 year",
|
|
49
|
-
other: "about {{count}} years"
|
|
50
|
-
},
|
|
51
|
-
xYears: {
|
|
52
|
-
one: "1 year",
|
|
53
|
-
other: "{{count}} years"
|
|
54
|
-
},
|
|
55
|
-
overXYears: {
|
|
56
|
-
one: "over 1 year",
|
|
57
|
-
other: "over {{count}} years"
|
|
58
|
-
},
|
|
59
|
-
almostXYears: {
|
|
60
|
-
one: "almost 1 year",
|
|
61
|
-
other: "almost {{count}} years"
|
|
62
|
-
}
|
|
63
|
-
}, r = (s, n, t) => {
|
|
64
|
-
let e;
|
|
65
|
-
const o = a[s];
|
|
66
|
-
return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
67
|
-
};
|
|
68
|
-
export {
|
|
69
|
-
r as formatDistance
|
|
70
|
-
};
|
package/index217.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index229.js"),m={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},e={date:t.buildFormatLongFn({formats:m,defaultWidth:"full"}),time:t.buildFormatLongFn({formats:o,defaultWidth:"full"}),dateTime:t.buildFormatLongFn({formats:a,defaultWidth:"full"})};exports.formatLong=e;
|
package/index217.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { buildFormatLongFn as t } from "./index229.mjs";
|
|
2
|
-
const m = {
|
|
3
|
-
full: "EEEE, MMMM do, y",
|
|
4
|
-
long: "MMMM do, y",
|
|
5
|
-
medium: "MMM d, y",
|
|
6
|
-
short: "MM/dd/yyyy"
|
|
7
|
-
}, a = {
|
|
8
|
-
full: "h:mm:ss a zzzz",
|
|
9
|
-
long: "h:mm:ss a z",
|
|
10
|
-
medium: "h:mm:ss a",
|
|
11
|
-
short: "h:mm a"
|
|
12
|
-
}, o = {
|
|
13
|
-
full: "{{date}} 'at' {{time}}",
|
|
14
|
-
long: "{{date}} 'at' {{time}}",
|
|
15
|
-
medium: "{{date}}, {{time}}",
|
|
16
|
-
short: "{{date}}, {{time}}"
|
|
17
|
-
}, e = {
|
|
18
|
-
date: t({
|
|
19
|
-
formats: m,
|
|
20
|
-
defaultWidth: "full"
|
|
21
|
-
}),
|
|
22
|
-
time: t({
|
|
23
|
-
formats: a,
|
|
24
|
-
defaultWidth: "full"
|
|
25
|
-
}),
|
|
26
|
-
dateTime: t({
|
|
27
|
-
formats: o,
|
|
28
|
-
defaultWidth: "full"
|
|
29
|
-
})
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
e as formatLong
|
|
33
|
-
};
|
package/index218.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a=(e,o,r,s)=>t[e];exports.formatRelative=a;
|
package/index218.mjs
DELETED
package/index219.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index230.js"),a={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},r={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},d={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g=(i,l)=>{const n=Number(i),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},h={ordinalNumber:g,era:e.buildLocalizeFn({values:a,defaultWidth:"wide"}),quarter:e.buildLocalizeFn({values:o,defaultWidth:"wide",argumentCallback:i=>i-1}),month:e.buildLocalizeFn({values:r,defaultWidth:"wide"}),day:e.buildLocalizeFn({values:d,defaultWidth:"wide"}),dayPeriod:e.buildLocalizeFn({values:u,defaultWidth:"wide",formattingValues:m,defaultFormattingWidth:"wide"})};exports.localize=h;
|
package/index219.mjs
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { buildLocalizeFn as e } from "./index230.mjs";
|
|
2
|
-
const a = {
|
|
3
|
-
narrow: ["B", "A"],
|
|
4
|
-
abbreviated: ["BC", "AD"],
|
|
5
|
-
wide: ["Before Christ", "Anno Domini"]
|
|
6
|
-
}, r = {
|
|
7
|
-
narrow: ["1", "2", "3", "4"],
|
|
8
|
-
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
9
|
-
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
10
|
-
}, o = {
|
|
11
|
-
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
12
|
-
abbreviated: [
|
|
13
|
-
"Jan",
|
|
14
|
-
"Feb",
|
|
15
|
-
"Mar",
|
|
16
|
-
"Apr",
|
|
17
|
-
"May",
|
|
18
|
-
"Jun",
|
|
19
|
-
"Jul",
|
|
20
|
-
"Aug",
|
|
21
|
-
"Sep",
|
|
22
|
-
"Oct",
|
|
23
|
-
"Nov",
|
|
24
|
-
"Dec"
|
|
25
|
-
],
|
|
26
|
-
wide: [
|
|
27
|
-
"January",
|
|
28
|
-
"February",
|
|
29
|
-
"March",
|
|
30
|
-
"April",
|
|
31
|
-
"May",
|
|
32
|
-
"June",
|
|
33
|
-
"July",
|
|
34
|
-
"August",
|
|
35
|
-
"September",
|
|
36
|
-
"October",
|
|
37
|
-
"November",
|
|
38
|
-
"December"
|
|
39
|
-
]
|
|
40
|
-
}, d = {
|
|
41
|
-
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
42
|
-
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
43
|
-
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
44
|
-
wide: [
|
|
45
|
-
"Sunday",
|
|
46
|
-
"Monday",
|
|
47
|
-
"Tuesday",
|
|
48
|
-
"Wednesday",
|
|
49
|
-
"Thursday",
|
|
50
|
-
"Friday",
|
|
51
|
-
"Saturday"
|
|
52
|
-
]
|
|
53
|
-
}, m = {
|
|
54
|
-
narrow: {
|
|
55
|
-
am: "a",
|
|
56
|
-
pm: "p",
|
|
57
|
-
midnight: "mi",
|
|
58
|
-
noon: "n",
|
|
59
|
-
morning: "morning",
|
|
60
|
-
afternoon: "afternoon",
|
|
61
|
-
evening: "evening",
|
|
62
|
-
night: "night"
|
|
63
|
-
},
|
|
64
|
-
abbreviated: {
|
|
65
|
-
am: "AM",
|
|
66
|
-
pm: "PM",
|
|
67
|
-
midnight: "midnight",
|
|
68
|
-
noon: "noon",
|
|
69
|
-
morning: "morning",
|
|
70
|
-
afternoon: "afternoon",
|
|
71
|
-
evening: "evening",
|
|
72
|
-
night: "night"
|
|
73
|
-
},
|
|
74
|
-
wide: {
|
|
75
|
-
am: "a.m.",
|
|
76
|
-
pm: "p.m.",
|
|
77
|
-
midnight: "midnight",
|
|
78
|
-
noon: "noon",
|
|
79
|
-
morning: "morning",
|
|
80
|
-
afternoon: "afternoon",
|
|
81
|
-
evening: "evening",
|
|
82
|
-
night: "night"
|
|
83
|
-
}
|
|
84
|
-
}, g = {
|
|
85
|
-
narrow: {
|
|
86
|
-
am: "a",
|
|
87
|
-
pm: "p",
|
|
88
|
-
midnight: "mi",
|
|
89
|
-
noon: "n",
|
|
90
|
-
morning: "in the morning",
|
|
91
|
-
afternoon: "in the afternoon",
|
|
92
|
-
evening: "in the evening",
|
|
93
|
-
night: "at night"
|
|
94
|
-
},
|
|
95
|
-
abbreviated: {
|
|
96
|
-
am: "AM",
|
|
97
|
-
pm: "PM",
|
|
98
|
-
midnight: "midnight",
|
|
99
|
-
noon: "noon",
|
|
100
|
-
morning: "in the morning",
|
|
101
|
-
afternoon: "in the afternoon",
|
|
102
|
-
evening: "in the evening",
|
|
103
|
-
night: "at night"
|
|
104
|
-
},
|
|
105
|
-
wide: {
|
|
106
|
-
am: "a.m.",
|
|
107
|
-
pm: "p.m.",
|
|
108
|
-
midnight: "midnight",
|
|
109
|
-
noon: "noon",
|
|
110
|
-
morning: "in the morning",
|
|
111
|
-
afternoon: "in the afternoon",
|
|
112
|
-
evening: "in the evening",
|
|
113
|
-
night: "at night"
|
|
114
|
-
}
|
|
115
|
-
}, u = (i, h) => {
|
|
116
|
-
const n = Number(i), t = n % 100;
|
|
117
|
-
if (t > 20 || t < 10)
|
|
118
|
-
switch (t % 10) {
|
|
119
|
-
case 1:
|
|
120
|
-
return n + "st";
|
|
121
|
-
case 2:
|
|
122
|
-
return n + "nd";
|
|
123
|
-
case 3:
|
|
124
|
-
return n + "rd";
|
|
125
|
-
}
|
|
126
|
-
return n + "th";
|
|
127
|
-
}, l = {
|
|
128
|
-
ordinalNumber: u,
|
|
129
|
-
era: e({
|
|
130
|
-
values: a,
|
|
131
|
-
defaultWidth: "wide"
|
|
132
|
-
}),
|
|
133
|
-
quarter: e({
|
|
134
|
-
values: r,
|
|
135
|
-
defaultWidth: "wide",
|
|
136
|
-
argumentCallback: (i) => i - 1
|
|
137
|
-
}),
|
|
138
|
-
month: e({
|
|
139
|
-
values: o,
|
|
140
|
-
defaultWidth: "wide"
|
|
141
|
-
}),
|
|
142
|
-
day: e({
|
|
143
|
-
values: d,
|
|
144
|
-
defaultWidth: "wide"
|
|
145
|
-
}),
|
|
146
|
-
dayPeriod: e({
|
|
147
|
-
values: m,
|
|
148
|
-
defaultWidth: "wide",
|
|
149
|
-
formattingValues: g,
|
|
150
|
-
defaultFormattingWidth: "wide"
|
|
151
|
-
})
|
|
152
|
-
};
|
|
153
|
-
export {
|
|
154
|
-
l as localize
|
|
155
|
-
};
|
package/index22.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const k=require("react/jsx-runtime"),b=require("./index51.js"),t=require("react");function c({onItemClick:l,type:a,ordered:i,flushed:e,lined:o,children:r,qa:n}){const u=b.classNames({"a-list":a!=="avatar"&&a!=="checkbox","a-list--flushed":!!e&&a!=="avatar"&&a!=="checkbox","a-list--lined":!!o,"a-avatar-list":a==="avatar","a-avatar-list--flushed":!!(a==="avatar"&&e),"a-checkbox-list":a==="checkbox","a-checkbox-list--flushed":!!(a==="checkbox"&&e)}),d=`${i?"ol":"ul"}`;return k.jsx(d,{className:u,"data-qa":n,children:t.Children.map(r||[],s=>t.cloneElement(s,{key:s.props.id,onClick:s.props.onClick||l}))})}exports.FunctionalList=c;exports.default=c;
|