@boxcustodia/library 0.0.6 → 0.0.8
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/index.d.ts +6 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es100.js +4 -1062
- package/dist/index.es101.js +4 -3674
- package/dist/index.es102.js +4 -4
- package/dist/index.es103.js +14 -4
- package/dist/index.es104.js +5 -29
- package/dist/index.es105.js +56 -3
- package/dist/index.es106.js +29 -14
- package/dist/index.es107.js +21 -5
- package/dist/index.es108.js +12 -57
- package/dist/index.es109.js +4 -4
- package/dist/index.es110.js +12 -224
- package/dist/index.es111.js +259 -11
- package/dist/index.es112.js +5 -4
- package/dist/index.es113.js +11 -41
- package/dist/index.es114.js +222 -19
- package/dist/index.es115.js +4 -5
- package/dist/index.es116.js +41 -12
- package/dist/index.es117.js +15 -15
- package/dist/index.es118.js +813 -55
- package/dist/index.es119.js +9 -822
- package/dist/index.es120.js +5 -3
- package/dist/index.es121.js +64 -11
- package/dist/index.es123.js +11 -4
- package/dist/index.es124.js +4 -33
- package/dist/index.es125.js +33 -13
- package/dist/index.es126.js +5 -3
- package/dist/index.es128.js +215 -7
- package/dist/index.es129.js +7 -215
- package/dist/index.es13.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es137.js +20 -10
- package/dist/index.es138.js +33 -17
- package/dist/index.es139.js +7 -33
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +11 -10
- package/dist/index.es141.js +205 -12
- package/dist/index.es142.js +11 -205
- package/dist/index.es143.js +5 -6
- package/dist/index.es144.js +2 -65
- package/dist/index.es145.js +44 -11
- package/dist/index.es146.js +5 -123
- package/dist/index.es147.js +58 -128
- package/dist/index.es148.js +11 -14
- package/dist/index.es149.js +122 -30
- package/dist/index.es15.js +1 -1
- package/dist/index.es150.js +134 -14
- package/dist/index.es151.js +12 -7
- package/dist/index.es152.js +32 -49
- package/dist/index.es153.js +14 -5
- package/dist/index.es154.js +9 -2
- package/dist/index.es155.js +46 -40
- package/dist/index.es156.js +193 -625
- package/dist/index.es157.js +625 -193
- package/dist/index.es160.js +3 -3
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +6 -118
- package/dist/index.es165.js +3 -35
- package/dist/index.es166.js +2054 -2
- package/dist/index.es167.js +118 -2
- package/dist/index.es168.js +32 -20
- package/dist/index.es169.js +2 -9
- package/dist/index.es170.js +2 -38
- package/dist/index.es171.js +14 -11
- package/dist/index.es172.js +9 -6
- package/dist/index.es173.js +40 -3
- package/dist/index.es174.js +17 -2053
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +2 -2
- package/dist/index.es182.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es186.js +3 -3
- package/dist/index.es188.js +7 -11
- package/dist/index.es189.js +5 -7
- package/dist/index.es190.js +4 -5
- package/dist/index.es191.js +17 -4
- package/dist/index.es192.js +5 -17
- package/dist/index.es193.js +5 -5
- package/dist/index.es194.js +8 -5
- package/dist/index.es195.js +6 -9
- package/dist/index.es196.js +7 -6
- package/dist/index.es197.js +15 -6
- package/dist/index.es198.js +13 -15
- package/dist/index.es199.js +12 -12
- package/dist/index.es200.js +6 -13
- package/dist/index.es201.js +6 -6
- package/dist/index.es202.js +6 -6
- package/dist/index.es203.js +4 -6
- package/dist/index.es204.js +515 -4
- package/dist/index.es205.js +48 -514
- package/dist/index.es206.js +18 -50
- package/dist/index.es207.js +9 -17
- package/dist/index.es208.js +19 -10
- package/dist/index.es209.js +8 -18
- package/dist/index.es210.js +7 -8
- package/dist/index.es211.js +7 -7
- package/dist/index.es212.js +5 -7
- package/dist/index.es213.js +6 -5
- package/dist/index.es214.js +9 -6
- package/dist/index.es215.js +5 -9
- package/dist/index.es216.js +8 -5
- package/dist/index.es217.js +12 -8
- package/dist/index.es218.js +9 -12
- package/dist/index.es219.js +8 -9
- package/dist/index.es220.js +10 -8
- package/dist/index.es221.js +14 -10
- package/dist/index.es222.js +6 -14
- package/dist/index.es223.js +6 -6
- package/dist/index.es224.js +6 -6
- package/dist/index.es225.js +6 -6
- package/dist/index.es226.js +6 -6
- package/dist/index.es227.js +9 -6
- package/dist/index.es228.js +84 -9
- package/dist/index.es229.js +65 -85
- package/dist/index.es230.js +38 -65
- package/dist/index.es231.js +9 -37
- package/dist/index.es232.js +8 -9
- package/dist/index.es233.js +6 -7
- package/dist/index.es234.js +10 -7
- package/dist/index.es235.js +7 -10
- package/dist/index.es236.js +7 -7
- package/dist/index.es237.js +6 -7
- package/dist/index.es238.js +5 -6
- package/dist/index.es239.js +15 -5
- package/dist/index.es240.js +11 -15
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +5 -5
- package/dist/index.es243.js +5 -5
- package/dist/index.es245.js +195 -172
- package/dist/index.es246.js +20 -199
- package/dist/index.es247.js +25 -22
- package/dist/index.es248.js +369 -23
- package/dist/index.es249.js +171 -364
- package/dist/index.es27.js +1 -1
- package/dist/index.es273.js +2 -16
- package/dist/index.es274.js +398 -8
- package/dist/index.es275.js +723 -2
- package/dist/index.es276.js +276 -391
- package/dist/index.es277.js +60 -722
- package/dist/index.es278.js +8 -281
- package/dist/index.es279.js +28 -60
- package/dist/index.es28.js +3 -3
- package/dist/index.es280.js +199 -10
- package/dist/index.es281.js +15 -29
- package/dist/index.es282.js +3 -199
- package/dist/index.es283.js +16 -4
- package/dist/index.es284.js +8 -14
- package/dist/index.es285.js +4 -15
- package/dist/index.es286.js +13 -24
- package/dist/index.es287.js +15 -29
- package/dist/index.es288.js +5 -5
- package/dist/index.es289.js +56 -14
- package/dist/index.es29.js +6 -6
- package/dist/index.es290.js +28 -3
- package/dist/index.es291.js +46 -4
- package/dist/index.es292.js +64 -54
- package/dist/index.es293.js +32 -22
- package/dist/index.es294.js +13 -41
- package/dist/index.es295.js +48 -47
- package/dist/index.es296.js +50 -20
- package/dist/index.es297.js +63 -13
- package/dist/index.es298.js +43 -42
- package/dist/index.es299.js +26 -48
- package/dist/index.es300.js +26 -48
- package/dist/index.es301.js +37 -47
- package/dist/index.es302.js +25 -22
- package/dist/index.es303.js +34 -38
- package/dist/index.es304.js +53 -40
- package/dist/index.es305.js +50 -27
- package/dist/index.es306.js +88 -34
- package/dist/index.es307.js +32 -57
- package/dist/index.es308.js +35 -60
- package/dist/index.es309.js +38 -88
- package/dist/index.es31.js +2 -2
- package/dist/index.es310.js +23 -39
- package/dist/index.es311.js +22 -39
- package/dist/index.es312.js +22 -39
- package/dist/index.es313.js +19 -19
- package/dist/index.es314.js +18 -18
- package/dist/index.es315.js +18 -18
- package/dist/index.es316.js +14 -25
- package/dist/index.es317.js +38 -22
- package/dist/index.es318.js +38 -22
- package/dist/index.es319.js +14 -14
- package/dist/index.es32.js +2 -2
- package/dist/index.es320.js +14 -40
- package/dist/index.es321.js +23 -44
- package/dist/index.es322.js +29 -20
- package/dist/index.es323.js +5 -20
- package/dist/index.es325.js +1 -1
- package/dist/index.es326.js +5 -5
- package/dist/index.es327.js +1 -1
- package/dist/index.es34.js +6 -6
- package/dist/index.es342.js +2 -2
- package/dist/index.es344.js +2 -2
- package/dist/index.es347.js +1 -1
- package/dist/index.es348.js +1 -1
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +3 -3
- package/dist/index.es38.js +51 -46
- package/dist/index.es381.js +29 -2
- package/dist/index.es382.js +5 -54
- package/dist/index.es383.js +2 -59
- package/dist/index.es384.js +54 -29
- package/dist/index.es385.js +59 -5
- package/dist/index.es386.js +68 -5
- package/dist/index.es387.js +31 -3
- package/dist/index.es388.js +9 -24
- package/dist/index.es389.js +152 -109
- package/dist/index.es39.js +2 -2
- package/dist/index.es390.js +107 -15
- package/dist/index.es391.js +19 -67
- package/dist/index.es392.js +101 -31
- package/dist/index.es393.js +47 -9
- package/dist/index.es394.js +62 -147
- package/dist/index.es395.js +26 -103
- package/dist/index.es396.js +16 -20
- package/dist/index.es397.js +139 -99
- package/dist/index.es398.js +113 -46
- package/dist/index.es399.js +5 -6
- package/dist/index.es40.js +3 -3
- package/dist/index.es400.js +3 -2
- package/dist/index.es401.js +23 -7
- package/dist/index.es402.js +108 -325
- package/dist/index.es403.js +15 -49
- package/dist/index.es404.js +518 -3
- package/dist/index.es405.js +126 -67
- package/dist/index.es406.js +126 -31
- package/dist/index.es407.js +6 -16
- package/dist/index.es408.js +2 -141
- package/dist/index.es409.js +8 -114
- package/dist/index.es41.js +1 -1
- package/dist/index.es410.js +305 -497
- package/dist/index.es411.js +48 -125
- package/dist/index.es412.js +3 -125
- package/dist/index.es419.js +6 -6
- package/dist/index.es42.js +1 -1
- package/dist/index.es437.js +25 -2
- package/dist/index.es438.js +11 -2
- package/dist/index.es439.js +32 -24
- package/dist/index.es44.js +1 -1
- package/dist/index.es440.js +29 -10
- package/dist/index.es441.js +10 -31
- package/dist/index.es442.js +272 -27
- package/dist/index.es443.js +79 -11
- package/dist/index.es444.js +157 -266
- package/dist/index.es445.js +2 -80
- package/dist/index.es446.js +2 -166
- package/dist/index.es447.js +1 -1
- package/dist/index.es448.js +3 -3
- package/dist/index.es449.js +5 -63
- package/dist/index.es45.js +4 -4
- package/dist/index.es450.js +16 -69
- package/dist/index.es451.js +28 -8
- package/dist/index.es452.js +13 -14
- package/dist/index.es453.js +2 -60
- package/dist/index.es454.js +75 -6
- package/dist/index.es455.js +92 -15
- package/dist/index.es456.js +51 -28
- package/dist/index.es457.js +7 -12
- package/dist/index.es458.js +5 -2
- package/dist/index.es459.js +48 -72
- package/dist/index.es46.js +1 -1
- package/dist/index.es460.js +61 -89
- package/dist/index.es461.js +67 -50
- package/dist/index.es462.js +9 -8
- package/dist/index.es463.js +14 -5
- package/dist/index.es464.js +59 -51
- package/dist/index.es467.js +1 -1
- package/dist/index.es468.js +2 -2
- package/dist/index.es469.js +2 -2
- package/dist/index.es47.js +4 -4
- package/dist/index.es476.js +1 -1
- package/dist/index.es477.js +1 -1
- package/dist/index.es50.js +2 -2
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +4 -4
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +1 -1
- package/dist/index.es57.js +3 -3
- package/dist/index.es59.js +2 -2
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +1 -1
- package/dist/index.es65.js +3 -3
- package/dist/index.es66.js +2 -2
- package/dist/index.es67.js +2 -2
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es754.js +7 -7
- package/dist/index.es759.js +2 -4
- package/dist/index.es760.js +2 -23
- package/dist/index.es761.js +4 -2
- package/dist/index.es762.js +23 -2
- package/dist/index.es763.js +24 -5
- package/dist/index.es764.js +8 -17
- package/dist/index.es765.js +66 -7
- package/dist/index.es766.js +50 -54
- package/dist/index.es767.js +69 -17
- package/dist/index.es768.js +2 -24
- package/dist/index.es769.js +2 -8
- package/dist/index.es770.js +5 -67
- package/dist/index.es771.js +16 -51
- package/dist/index.es772.js +7 -70
- package/dist/index.es773.js +56 -2
- package/dist/index.es774.js +19 -2
- package/dist/index.es779.js +6 -21
- package/dist/index.es78.js +1 -1
- package/dist/index.es780.js +20 -56
- package/dist/index.es781.js +49 -26
- package/dist/index.es782.js +34 -9
- package/dist/index.es783.js +9 -18
- package/dist/index.es784.js +18 -8
- package/dist/index.es785.js +8 -12
- package/dist/index.es786.js +11 -56
- package/dist/index.es787.js +57 -9
- package/dist/index.es788.js +9 -14
- package/dist/index.es789.js +14 -6
- package/dist/index.es79.js +1 -1
- package/dist/index.es790.js +7 -28
- package/dist/index.es791.js +28 -3
- package/dist/index.es792.js +3 -7
- package/dist/index.es797.js +1 -1
- package/dist/index.es798.js +1 -1
- package/dist/index.es799.js +1 -1
- package/dist/index.es800.js +1 -1
- package/dist/index.es801.js +1 -1
- package/dist/index.es802.js +1 -1
- package/dist/index.es804.js +1 -1
- package/dist/index.es806.js +10 -8
- package/dist/index.es807.js +7 -9
- package/dist/index.es808.js +2 -2
- package/dist/index.es809.js +8 -10
- package/dist/index.es810.js +9 -7
- package/dist/index.es823.js +1 -1
- package/dist/index.es825.js +38 -25
- package/dist/index.es826.js +25 -38
- package/dist/index.es827.js +1 -1
- package/dist/index.es829.js +1 -1
- package/dist/index.es830.js +1 -1
- package/dist/index.es831.js +1 -1
- package/dist/index.es84.js +1 -1
- package/dist/index.es86.js +54 -29
- package/dist/index.es87.js +55 -12
- package/dist/index.es88.js +90 -55
- package/dist/index.es89.js +37 -55
- package/dist/index.es90.js +22 -88
- package/dist/index.es91.js +29 -36
- package/dist/index.es92.js +32 -23
- package/dist/index.es93.js +46 -30
- package/dist/index.es94.js +29 -32
- package/dist/index.es95.js +26 -42
- package/dist/index.es96.js +9 -30
- package/dist/index.es97.js +12 -259
- package/dist/index.es98.js +1062 -12
- package/dist/index.es99.js +3672 -7
- package/package.json +2 -2
package/dist/index.es446.js
CHANGED
|
@@ -1,168 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var e;
|
|
3
|
-
return (
|
|
4
|
-
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
|
|
5
|
-
(e = a.localName) !== null && e !== void 0 ? e : (
|
|
6
|
-
// eslint-disable-next-line no-restricted-properties -- required for the fallback
|
|
7
|
-
a.tagName.toLowerCase()
|
|
8
|
-
)
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
var n = {
|
|
12
|
-
article: "article",
|
|
13
|
-
aside: "complementary",
|
|
14
|
-
button: "button",
|
|
15
|
-
datalist: "listbox",
|
|
16
|
-
dd: "definition",
|
|
17
|
-
details: "group",
|
|
18
|
-
dialog: "dialog",
|
|
19
|
-
dt: "term",
|
|
20
|
-
fieldset: "group",
|
|
21
|
-
figure: "figure",
|
|
22
|
-
// WARNING: Only with an accessible name
|
|
23
|
-
form: "form",
|
|
24
|
-
footer: "contentinfo",
|
|
25
|
-
h1: "heading",
|
|
26
|
-
h2: "heading",
|
|
27
|
-
h3: "heading",
|
|
28
|
-
h4: "heading",
|
|
29
|
-
h5: "heading",
|
|
30
|
-
h6: "heading",
|
|
31
|
-
header: "banner",
|
|
32
|
-
hr: "separator",
|
|
33
|
-
html: "document",
|
|
34
|
-
legend: "legend",
|
|
35
|
-
li: "listitem",
|
|
36
|
-
math: "math",
|
|
37
|
-
main: "main",
|
|
38
|
-
menu: "list",
|
|
39
|
-
nav: "navigation",
|
|
40
|
-
ol: "list",
|
|
41
|
-
optgroup: "group",
|
|
42
|
-
// WARNING: Only in certain context
|
|
43
|
-
option: "option",
|
|
44
|
-
output: "status",
|
|
45
|
-
progress: "progressbar",
|
|
46
|
-
// WARNING: Only with an accessible name
|
|
47
|
-
section: "region",
|
|
48
|
-
summary: "button",
|
|
49
|
-
table: "table",
|
|
50
|
-
tbody: "rowgroup",
|
|
51
|
-
textarea: "textbox",
|
|
52
|
-
tfoot: "rowgroup",
|
|
53
|
-
// WARNING: Only in certain context
|
|
54
|
-
td: "cell",
|
|
55
|
-
th: "columnheader",
|
|
56
|
-
thead: "rowgroup",
|
|
57
|
-
tr: "row",
|
|
58
|
-
ul: "list"
|
|
59
|
-
}, o = {
|
|
60
|
-
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
61
|
-
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
62
|
-
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
63
|
-
emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
64
|
-
generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
|
|
65
|
-
insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
66
|
-
paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
67
|
-
presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
68
|
-
strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
69
|
-
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
70
|
-
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
|
|
71
|
-
};
|
|
72
|
-
function s(a, e) {
|
|
73
|
-
return [
|
|
74
|
-
"aria-atomic",
|
|
75
|
-
"aria-busy",
|
|
76
|
-
"aria-controls",
|
|
77
|
-
"aria-current",
|
|
78
|
-
"aria-describedby",
|
|
79
|
-
"aria-details",
|
|
80
|
-
// "disabled",
|
|
81
|
-
"aria-dropeffect",
|
|
82
|
-
// "errormessage",
|
|
83
|
-
"aria-flowto",
|
|
84
|
-
"aria-grabbed",
|
|
85
|
-
// "haspopup",
|
|
86
|
-
"aria-hidden",
|
|
87
|
-
// "invalid",
|
|
88
|
-
"aria-keyshortcuts",
|
|
89
|
-
"aria-label",
|
|
90
|
-
"aria-labelledby",
|
|
91
|
-
"aria-live",
|
|
92
|
-
"aria-owns",
|
|
93
|
-
"aria-relevant",
|
|
94
|
-
"aria-roledescription"
|
|
95
|
-
].some(function(r) {
|
|
96
|
-
var t;
|
|
97
|
-
return a.hasAttribute(r) && !((t = o[e]) !== null && t !== void 0 && t.has(r));
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function l(a, e) {
|
|
101
|
-
return s(a, e);
|
|
102
|
-
}
|
|
103
|
-
function c(a) {
|
|
104
|
-
var e = b(a);
|
|
105
|
-
if (e === null || e === "presentation") {
|
|
106
|
-
var r = u(a);
|
|
107
|
-
if (e !== "presentation" || l(a, r || ""))
|
|
108
|
-
return r;
|
|
109
|
-
}
|
|
110
|
-
return e;
|
|
111
|
-
}
|
|
112
|
-
function u(a) {
|
|
113
|
-
var e = n[i(a)];
|
|
114
|
-
if (e !== void 0)
|
|
115
|
-
return e;
|
|
116
|
-
switch (i(a)) {
|
|
117
|
-
case "a":
|
|
118
|
-
case "area":
|
|
119
|
-
case "link":
|
|
120
|
-
if (a.hasAttribute("href"))
|
|
121
|
-
return "link";
|
|
122
|
-
break;
|
|
123
|
-
case "img":
|
|
124
|
-
return a.getAttribute("alt") === "" && !l(a, "img") ? "presentation" : "img";
|
|
125
|
-
case "input": {
|
|
126
|
-
var r = a, t = r.type;
|
|
127
|
-
switch (t) {
|
|
128
|
-
case "button":
|
|
129
|
-
case "image":
|
|
130
|
-
case "reset":
|
|
131
|
-
case "submit":
|
|
132
|
-
return "button";
|
|
133
|
-
case "checkbox":
|
|
134
|
-
case "radio":
|
|
135
|
-
return t;
|
|
136
|
-
case "range":
|
|
137
|
-
return "slider";
|
|
138
|
-
case "email":
|
|
139
|
-
case "tel":
|
|
140
|
-
case "text":
|
|
141
|
-
case "url":
|
|
142
|
-
return a.hasAttribute("list") ? "combobox" : "textbox";
|
|
143
|
-
case "search":
|
|
144
|
-
return a.hasAttribute("list") ? "combobox" : "searchbox";
|
|
145
|
-
case "number":
|
|
146
|
-
return "spinbutton";
|
|
147
|
-
default:
|
|
148
|
-
return null;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
case "select":
|
|
152
|
-
return a.hasAttribute("multiple") || a.size > 1 ? "listbox" : "combobox";
|
|
153
|
-
}
|
|
154
|
-
return null;
|
|
155
|
-
}
|
|
156
|
-
function b(a) {
|
|
157
|
-
var e = a.getAttribute("role");
|
|
158
|
-
if (e !== null) {
|
|
159
|
-
var r = e.trim().split(" ")[0];
|
|
160
|
-
if (r.length > 0)
|
|
161
|
-
return r;
|
|
162
|
-
}
|
|
163
|
-
return null;
|
|
164
|
-
}
|
|
1
|
+
var e = {};
|
|
165
2
|
export {
|
|
166
|
-
|
|
167
|
-
i as getLocalName
|
|
3
|
+
e as __exports
|
|
168
4
|
};
|
package/dist/index.es447.js
CHANGED
package/dist/index.es448.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __spreadArray as x } from "./index.
|
|
1
|
+
import { __spreadArray as x } from "./index.es321.js";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { RemoveScrollBar as A } from "./index.
|
|
4
|
-
import { styleSingleton as I } from "./index.
|
|
3
|
+
import { RemoveScrollBar as A } from "./index.es461.js";
|
|
4
|
+
import { styleSingleton as I } from "./index.es462.js";
|
|
5
5
|
import { nonPassive as f } from "./index.es757.js";
|
|
6
6
|
import { locationCouldBeScrolled as B, handleScroll as W } from "./index.es758.js";
|
|
7
7
|
var k = function(e) {
|
package/dist/index.es449.js
CHANGED
|
@@ -1,67 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
}
|
|
1
|
+
function r(t) {
|
|
2
|
+
return (d = {}) => {
|
|
3
|
+
const n = d.width ? String(d.width) : t.defaultWidth;
|
|
4
|
+
return t.formats[n] || t.formats[t.defaultWidth];
|
|
57
5
|
};
|
|
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;
|
|
64
6
|
}
|
|
65
7
|
export {
|
|
66
|
-
|
|
8
|
+
r as buildFormatLongFn
|
|
67
9
|
};
|
package/dist/index.es45.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as a } from "./index.es82.js";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { Root as g, Trigger as h, Group as y, Portal as r, Sub as j, RadioGroup as w, SubTrigger as d, SubContent as l, Content as m, Item as c, CheckboxItem as p, ItemIndicator as f, RadioItem as x, Label as b, Separator as N } from "./index.
|
|
4
|
-
import R from "./index.
|
|
5
|
-
import M from "./index.
|
|
6
|
-
import S from "./index.
|
|
3
|
+
import { Root as g, Trigger as h, Group as y, Portal as r, Sub as j, RadioGroup as w, SubTrigger as d, SubContent as l, Content as m, Item as c, CheckboxItem as p, ItemIndicator as f, RadioItem as x, Label as b, Separator as N } from "./index.es114.js";
|
|
4
|
+
import R from "./index.es109.js";
|
|
5
|
+
import M from "./index.es96.js";
|
|
6
|
+
import S from "./index.es115.js";
|
|
7
7
|
import v from "./index.es15.js";
|
|
8
8
|
import { cn as o } from "./index.es72.js";
|
|
9
9
|
const K = g, O = h, Q = y, U = r, V = j, W = w, I = s.forwardRef(({ className: e, inset: i, children: t, ...u }, n) => /* @__PURE__ */ a.jsxs(
|
package/dist/index.es450.js
CHANGED
|
@@ -1,71 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
};
|
|
1
|
+
function h(e) {
|
|
2
|
+
return (a, t) => {
|
|
3
|
+
const c = t != null && t.context ? String(t.context) : "standalone";
|
|
4
|
+
let l;
|
|
5
|
+
if (c === "formatting" && e.formattingValues) {
|
|
6
|
+
const d = e.defaultFormattingWidth || e.defaultWidth, u = t != null && t.width ? String(t.width) : d;
|
|
7
|
+
l = e.formattingValues[u] || e.formattingValues[d];
|
|
8
|
+
} else {
|
|
9
|
+
const d = e.defaultWidth, u = t != null && t.width ? String(t.width) : e.defaultWidth;
|
|
10
|
+
l = e.values[u] || e.values[d];
|
|
11
|
+
}
|
|
12
|
+
const f = e.argumentCallback ? e.argumentCallback(a) : a;
|
|
13
|
+
return l[f];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
67
16
|
export {
|
|
68
|
-
|
|
69
|
-
e as lockAttribute,
|
|
70
|
-
x as useLockAttribute
|
|
17
|
+
h as buildLocalizeFn
|
|
71
18
|
};
|
package/dist/index.es451.js
CHANGED
|
@@ -1,11 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
function P(t) {
|
|
2
|
+
return (n, e = {}) => {
|
|
3
|
+
const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
|
|
4
|
+
if (!i)
|
|
5
|
+
return null;
|
|
6
|
+
const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
|
|
8
|
+
s(c, (u) => u.test(r))
|
|
9
|
+
);
|
|
10
|
+
let a;
|
|
11
|
+
a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
|
|
13
|
+
e.valueCallback(a)
|
|
14
|
+
) : a;
|
|
15
|
+
const f = n.slice(r.length);
|
|
16
|
+
return { value: a, rest: f };
|
|
6
17
|
};
|
|
7
|
-
|
|
8
|
-
|
|
18
|
+
}
|
|
19
|
+
function s(t, n) {
|
|
20
|
+
for (const e in t)
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
function o(t, n) {
|
|
25
|
+
for (let e = 0; e < t.length; e++)
|
|
26
|
+
if (n(t[e]))
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
9
29
|
export {
|
|
10
|
-
|
|
30
|
+
P as buildMatchFn
|
|
11
31
|
};
|
package/dist/index.es452.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var a = r ? { passive: !1 } : !1;
|
|
1
|
+
function h(t) {
|
|
2
|
+
return (e, c = {}) => {
|
|
3
|
+
const n = e.match(t.matchPattern);
|
|
4
|
+
if (!n) return null;
|
|
5
|
+
const u = n[0], a = e.match(t.parsePattern);
|
|
6
|
+
if (!a) return null;
|
|
7
|
+
let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
|
|
8
|
+
l = c.valueCallback ? c.valueCallback(l) : l;
|
|
9
|
+
const r = e.slice(u.length);
|
|
10
|
+
return { value: l, rest: r };
|
|
11
|
+
};
|
|
12
|
+
}
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
h as buildMatchPatternFn
|
|
16
15
|
};
|
package/dist/index.es453.js
CHANGED
|
@@ -1,62 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
return r.tagName === "TEXTAREA";
|
|
3
|
-
}, w = function(r, e) {
|
|
4
|
-
var o = window.getComputedStyle(r);
|
|
5
|
-
return (
|
|
6
|
-
// not-not-scrollable
|
|
7
|
-
o[e] !== "hidden" && // contains scroll inside self
|
|
8
|
-
!(o.overflowY === o.overflowX && !p(r) && o[e] === "visible")
|
|
9
|
-
);
|
|
10
|
-
}, y = function(r) {
|
|
11
|
-
return w(r, "overflowY");
|
|
12
|
-
}, H = function(r) {
|
|
13
|
-
return w(r, "overflowX");
|
|
14
|
-
}, R = function(r, e) {
|
|
15
|
-
var o = e.ownerDocument, t = e;
|
|
16
|
-
do {
|
|
17
|
-
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
|
18
|
-
var a = g(r, t);
|
|
19
|
-
if (a) {
|
|
20
|
-
var n = b(r, t), i = n[1], l = n[2];
|
|
21
|
-
if (i > l)
|
|
22
|
-
return !0;
|
|
23
|
-
}
|
|
24
|
-
t = t.parentNode;
|
|
25
|
-
} while (t && t !== o.body);
|
|
26
|
-
return !1;
|
|
27
|
-
}, B = function(r) {
|
|
28
|
-
var e = r.scrollTop, o = r.scrollHeight, t = r.clientHeight;
|
|
29
|
-
return [
|
|
30
|
-
e,
|
|
31
|
-
o,
|
|
32
|
-
t
|
|
33
|
-
];
|
|
34
|
-
}, V = function(r) {
|
|
35
|
-
var e = r.scrollLeft, o = r.scrollWidth, t = r.clientWidth;
|
|
36
|
-
return [
|
|
37
|
-
e,
|
|
38
|
-
o,
|
|
39
|
-
t
|
|
40
|
-
];
|
|
41
|
-
}, g = function(r, e) {
|
|
42
|
-
return r === "v" ? y(e) : H(e);
|
|
43
|
-
}, b = function(r, e) {
|
|
44
|
-
return r === "v" ? B(e) : V(e);
|
|
45
|
-
}, D = function(r, e) {
|
|
46
|
-
return r === "h" && e === "rtl" ? -1 : 1;
|
|
47
|
-
}, W = function(r, e, o, t, a) {
|
|
48
|
-
var n = D(r, window.getComputedStyle(e).direction), i = n * t, l = o.target, f = e.contains(l), c = !1, d = i > 0, s = 0, h = 0;
|
|
49
|
-
do {
|
|
50
|
-
var u = b(r, l), v = u[0], m = u[1], C = u[2], S = m - C - n * v;
|
|
51
|
-
(v || S) && g(r, l) && (s += S, h += v), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
|
|
52
|
-
} while (
|
|
53
|
-
// portaled content
|
|
54
|
-
!f && l !== document.body || // self content
|
|
55
|
-
f && (e.contains(l) || e === l)
|
|
56
|
-
);
|
|
57
|
-
return (d && (Math.abs(s) < 1 || !a) || !d && (Math.abs(h) < 1 || !a)) && (c = !0), c;
|
|
58
|
-
};
|
|
1
|
+
var e = { exports: {} };
|
|
59
2
|
export {
|
|
60
|
-
|
|
61
|
-
R as locationCouldBeScrolled
|
|
3
|
+
e as __module
|
|
62
4
|
};
|
package/dist/index.es454.js
CHANGED
|
@@ -1,9 +1,78 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { __exports as r } from "./index.es759.js";
|
|
2
|
+
/** @license React v16.13.1
|
|
3
|
+
* react-is.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
var _;
|
|
11
|
+
function g() {
|
|
12
|
+
if (_) return r;
|
|
13
|
+
_ = 1;
|
|
14
|
+
var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, b = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, c = t ? Symbol.for("react.strict_mode") : 60108, f = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, y = t ? Symbol.for("react.forward_ref") : 60112, l = t ? Symbol.for("react.suspense") : 60113, x = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, C = t ? Symbol.for("react.block") : 60121, M = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
15
|
+
function o(e) {
|
|
16
|
+
if (typeof e == "object" && e !== null) {
|
|
17
|
+
var S = e.$$typeof;
|
|
18
|
+
switch (S) {
|
|
19
|
+
case a:
|
|
20
|
+
switch (e = e.type, e) {
|
|
21
|
+
case d:
|
|
22
|
+
case u:
|
|
23
|
+
case n:
|
|
24
|
+
case f:
|
|
25
|
+
case c:
|
|
26
|
+
case l:
|
|
27
|
+
return e;
|
|
28
|
+
default:
|
|
29
|
+
switch (e = e && e.$$typeof, e) {
|
|
30
|
+
case s:
|
|
31
|
+
case y:
|
|
32
|
+
case p:
|
|
33
|
+
case m:
|
|
34
|
+
case i:
|
|
35
|
+
return e;
|
|
36
|
+
default:
|
|
37
|
+
return S;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
case b:
|
|
41
|
+
return S;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function $(e) {
|
|
46
|
+
return o(e) === u;
|
|
47
|
+
}
|
|
48
|
+
return r.AsyncMode = d, r.ConcurrentMode = u, r.ContextConsumer = s, r.ContextProvider = i, r.Element = a, r.ForwardRef = y, r.Fragment = n, r.Lazy = p, r.Memo = m, r.Portal = b, r.Profiler = f, r.StrictMode = c, r.Suspense = l, r.isAsyncMode = function(e) {
|
|
49
|
+
return $(e) || o(e) === d;
|
|
50
|
+
}, r.isConcurrentMode = $, r.isContextConsumer = function(e) {
|
|
51
|
+
return o(e) === s;
|
|
52
|
+
}, r.isContextProvider = function(e) {
|
|
53
|
+
return o(e) === i;
|
|
54
|
+
}, r.isElement = function(e) {
|
|
55
|
+
return typeof e == "object" && e !== null && e.$$typeof === a;
|
|
56
|
+
}, r.isForwardRef = function(e) {
|
|
57
|
+
return o(e) === y;
|
|
58
|
+
}, r.isFragment = function(e) {
|
|
59
|
+
return o(e) === n;
|
|
60
|
+
}, r.isLazy = function(e) {
|
|
61
|
+
return o(e) === p;
|
|
62
|
+
}, r.isMemo = function(e) {
|
|
63
|
+
return o(e) === m;
|
|
64
|
+
}, r.isPortal = function(e) {
|
|
65
|
+
return o(e) === b;
|
|
66
|
+
}, r.isProfiler = function(e) {
|
|
67
|
+
return o(e) === f;
|
|
68
|
+
}, r.isStrictMode = function(e) {
|
|
69
|
+
return o(e) === c;
|
|
70
|
+
}, r.isSuspense = function(e) {
|
|
71
|
+
return o(e) === l;
|
|
72
|
+
}, r.isValidElementType = function(e) {
|
|
73
|
+
return typeof e == "string" || typeof e == "function" || e === n || e === u || e === f || e === c || e === l || e === x || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === m || e.$$typeof === i || e.$$typeof === s || e.$$typeof === y || e.$$typeof === M || e.$$typeof === v || e.$$typeof === w || e.$$typeof === C);
|
|
74
|
+
}, r.typeOf = o, r;
|
|
6
75
|
}
|
|
7
76
|
export {
|
|
8
|
-
|
|
77
|
+
g as __require
|
|
9
78
|
};
|