@monospaced/set-core 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/icon/icon.d.ts +3 -3
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/poster/poster.d.ts +1 -1
- package/dist/components/poster/poster.d.ts.map +1 -1
- package/dist/components/surface/surface.d.ts +1 -1
- package/dist/components/surface/surface.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +465 -424
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/components/icon/icons-custom.d.ts +0 -10
- package/dist/components/icon/icons-custom.d.ts.map +0 -1
- package/dist/components/icon/icons-tdesign.d.ts +0 -2
- package/dist/components/icon/icons-tdesign.d.ts.map +0 -1
- package/dist/components/icon/icons.generated.d.ts +0 -7
- package/dist/components/icon/icons.generated.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Ot = /* @__PURE__ */ new Set([
|
|
2
2
|
"area",
|
|
3
3
|
"base",
|
|
4
4
|
"br",
|
|
@@ -16,25 +16,25 @@ const Pt = /* @__PURE__ */ new Set([
|
|
|
16
16
|
function wt(t) {
|
|
17
17
|
return t.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Pt(t) {
|
|
20
20
|
return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${wt(String(e))}"`]).join(" ");
|
|
21
21
|
}
|
|
22
22
|
function m(t) {
|
|
23
23
|
if (t.kind === "text") return wt(t.value);
|
|
24
24
|
if (t.kind === "raw") return t.html;
|
|
25
|
-
const n =
|
|
26
|
-
if (
|
|
25
|
+
const n = Pt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
|
|
26
|
+
if (Ot.has(t.tag)) return e;
|
|
27
27
|
const i = t.children.map(m).join("");
|
|
28
28
|
return `${e}${i}</${t.tag}>`;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function N(t) {
|
|
31
31
|
return /^[A-Za-z][\w:-]*$/.test(t);
|
|
32
32
|
}
|
|
33
33
|
function b(t) {
|
|
34
34
|
if (t === void 0) return;
|
|
35
35
|
const n = t.trim();
|
|
36
36
|
if (n) {
|
|
37
|
-
if (!
|
|
37
|
+
if (!N(n))
|
|
38
38
|
throw new Error(
|
|
39
39
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
40
40
|
);
|
|
@@ -44,7 +44,48 @@ function b(t) {
|
|
|
44
44
|
function P(t) {
|
|
45
45
|
return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const Rt = [
|
|
48
|
+
"adjustment",
|
|
49
|
+
"arrow-down",
|
|
50
|
+
"arrow-left",
|
|
51
|
+
"arrow-left-right-1",
|
|
52
|
+
"arrow-right",
|
|
53
|
+
"arrow-up",
|
|
54
|
+
"arrow-up-down-1",
|
|
55
|
+
"check",
|
|
56
|
+
"check-circle",
|
|
57
|
+
"chevron-down",
|
|
58
|
+
"chevron-right",
|
|
59
|
+
"circle",
|
|
60
|
+
"city-6",
|
|
61
|
+
"close",
|
|
62
|
+
"copy",
|
|
63
|
+
"download",
|
|
64
|
+
"enter",
|
|
65
|
+
"error-circle",
|
|
66
|
+
"error-triangle",
|
|
67
|
+
"horizontal",
|
|
68
|
+
"image",
|
|
69
|
+
"info-circle",
|
|
70
|
+
"jump",
|
|
71
|
+
"layers",
|
|
72
|
+
"link",
|
|
73
|
+
"member",
|
|
74
|
+
"moon",
|
|
75
|
+
"panel-left",
|
|
76
|
+
"pantone",
|
|
77
|
+
"play",
|
|
78
|
+
"rectangle",
|
|
79
|
+
"refresh",
|
|
80
|
+
"robot-1",
|
|
81
|
+
"search",
|
|
82
|
+
"setting-1",
|
|
83
|
+
"sticky-note",
|
|
84
|
+
"sunny",
|
|
85
|
+
"swap",
|
|
86
|
+
"user-1",
|
|
87
|
+
"view-list"
|
|
88
|
+
], Wt = {
|
|
48
89
|
adjustment: [
|
|
49
90
|
{
|
|
50
91
|
tag: "g",
|
|
@@ -775,13 +816,13 @@ const St = {
|
|
|
775
816
|
]
|
|
776
817
|
}
|
|
777
818
|
]
|
|
778
|
-
},
|
|
779
|
-
function
|
|
819
|
+
}, hi = [...Rt];
|
|
820
|
+
function St(t) {
|
|
780
821
|
return t.map((n) => ({
|
|
781
822
|
kind: "element",
|
|
782
823
|
tag: n.tag,
|
|
783
824
|
attrs: n.attrs,
|
|
784
|
-
children: n.children ?
|
|
825
|
+
children: n.children ? St(n.children) : []
|
|
785
826
|
}));
|
|
786
827
|
}
|
|
787
828
|
function R({
|
|
@@ -792,7 +833,7 @@ function R({
|
|
|
792
833
|
size: r = "md",
|
|
793
834
|
title: a
|
|
794
835
|
}) {
|
|
795
|
-
const d =
|
|
836
|
+
const d = Wt[i];
|
|
796
837
|
if (!d)
|
|
797
838
|
throw new Error(`Unknown icon name: ${i}`);
|
|
798
839
|
const o = b(n), s = a?.trim();
|
|
@@ -806,7 +847,7 @@ function R({
|
|
|
806
847
|
tag: "title",
|
|
807
848
|
attrs: { id: p },
|
|
808
849
|
children: [{ kind: "text", value: s }]
|
|
809
|
-
}), l.push(...
|
|
850
|
+
}), l.push(...St(d)), {
|
|
810
851
|
kind: "element",
|
|
811
852
|
tag: "svg",
|
|
812
853
|
attrs: {
|
|
@@ -827,10 +868,10 @@ function R({
|
|
|
827
868
|
children: l
|
|
828
869
|
};
|
|
829
870
|
}
|
|
830
|
-
function
|
|
871
|
+
function Ut(t) {
|
|
831
872
|
return m(R(t));
|
|
832
873
|
}
|
|
833
|
-
const
|
|
874
|
+
const mi = {
|
|
834
875
|
name: "icon",
|
|
835
876
|
description: "Use `icon` to render a Set icon.",
|
|
836
877
|
output: { element: "svg", class: "set-icon" },
|
|
@@ -944,7 +985,7 @@ const hi = {
|
|
|
944
985
|
]
|
|
945
986
|
}
|
|
946
987
|
};
|
|
947
|
-
function
|
|
988
|
+
function $t({
|
|
948
989
|
id: t,
|
|
949
990
|
label: n,
|
|
950
991
|
size: e = "md",
|
|
@@ -1002,9 +1043,9 @@ function Ut({
|
|
|
1002
1043
|
};
|
|
1003
1044
|
}
|
|
1004
1045
|
function bt(t = {}) {
|
|
1005
|
-
return m(
|
|
1046
|
+
return m($t(t));
|
|
1006
1047
|
}
|
|
1007
|
-
const
|
|
1048
|
+
const ki = {
|
|
1008
1049
|
name: "spinner",
|
|
1009
1050
|
description: "Use `spinner` to indicate loading or in-progress state.",
|
|
1010
1051
|
output: { element: "span", class: "set-spinner" },
|
|
@@ -1061,12 +1102,12 @@ const mi = {
|
|
|
1061
1102
|
}
|
|
1062
1103
|
]
|
|
1063
1104
|
}
|
|
1064
|
-
},
|
|
1105
|
+
}, Gt = {
|
|
1065
1106
|
sm: "xs",
|
|
1066
1107
|
md: "sm",
|
|
1067
1108
|
lg: "md"
|
|
1068
1109
|
};
|
|
1069
|
-
function
|
|
1110
|
+
function xt(t) {
|
|
1070
1111
|
return {
|
|
1071
1112
|
"aria-disabled": t === "busy" ? "true" : void 0,
|
|
1072
1113
|
"data-activity": t || void 0
|
|
@@ -1102,7 +1143,7 @@ function ht(t) {
|
|
|
1102
1143
|
children: [
|
|
1103
1144
|
{
|
|
1104
1145
|
kind: "raw",
|
|
1105
|
-
html:
|
|
1146
|
+
html: Ut({
|
|
1106
1147
|
ariaHidden: !0,
|
|
1107
1148
|
mirrored: l,
|
|
1108
1149
|
name: w,
|
|
@@ -1133,20 +1174,20 @@ function ht(t) {
|
|
|
1133
1174
|
children: [
|
|
1134
1175
|
{
|
|
1135
1176
|
kind: "raw",
|
|
1136
|
-
html: bt({ size:
|
|
1177
|
+
html: bt({ size: Gt[v] })
|
|
1137
1178
|
}
|
|
1138
1179
|
]
|
|
1139
|
-
} : null, q = E ? c === "end" ? [L, E] : [E, L] : V ? [V, L] : [L], I = A ? [...q, A] : q,
|
|
1180
|
+
} : null, q = E ? c === "end" ? [L, E] : [E, L] : V ? [V, L] : [L], I = A ? [...q, A] : q, H = xt(n);
|
|
1140
1181
|
return {
|
|
1141
1182
|
kind: "element",
|
|
1142
1183
|
tag: "button",
|
|
1143
1184
|
attrs: {
|
|
1144
1185
|
"aria-controls": a && i || void 0,
|
|
1145
|
-
"aria-disabled":
|
|
1186
|
+
"aria-disabled": H["aria-disabled"],
|
|
1146
1187
|
"aria-expanded": a ? "false" : void 0,
|
|
1147
1188
|
"aria-haspopup": o || void 0,
|
|
1148
1189
|
class: "set-button",
|
|
1149
|
-
"data-activity":
|
|
1190
|
+
"data-activity": H["data-activity"],
|
|
1150
1191
|
"data-appearance": e,
|
|
1151
1192
|
"data-label-visibility": g === "visible" ? void 0 : g,
|
|
1152
1193
|
"data-size": v,
|
|
@@ -1164,12 +1205,12 @@ function ht(t) {
|
|
|
1164
1205
|
function mt(t) {
|
|
1165
1206
|
return m(ht(t));
|
|
1166
1207
|
}
|
|
1167
|
-
function
|
|
1168
|
-
const e =
|
|
1208
|
+
function Zt(t, n) {
|
|
1209
|
+
const e = xt(n ?? void 0);
|
|
1169
1210
|
for (const [i, r] of Object.entries(e))
|
|
1170
1211
|
r == null ? t.removeAttribute(i) : t.setAttribute(i, r);
|
|
1171
1212
|
}
|
|
1172
|
-
const
|
|
1213
|
+
const gi = {
|
|
1173
1214
|
name: "button",
|
|
1174
1215
|
description: "Use `button` to let users trigger actions.",
|
|
1175
1216
|
output: { element: "button", class: "set-button" },
|
|
@@ -1368,8 +1409,8 @@ const ki = {
|
|
|
1368
1409
|
}
|
|
1369
1410
|
]
|
|
1370
1411
|
}
|
|
1371
|
-
}, Z = "set-alert",
|
|
1372
|
-
function
|
|
1412
|
+
}, Z = "set-alert", Et = "set-alert-before-dismiss", zt = "set-alert-dismiss", U = "Dismiss alert";
|
|
1413
|
+
function Ft(t, n) {
|
|
1373
1414
|
const e = n.createElement("div");
|
|
1374
1415
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1375
1416
|
appearance: "text",
|
|
@@ -1380,7 +1421,7 @@ function Zt(t, n) {
|
|
|
1380
1421
|
tone: "neutral"
|
|
1381
1422
|
}), e;
|
|
1382
1423
|
}
|
|
1383
|
-
function
|
|
1424
|
+
function jt(t) {
|
|
1384
1425
|
switch (t) {
|
|
1385
1426
|
case "success":
|
|
1386
1427
|
return "check-circle";
|
|
@@ -1394,10 +1435,10 @@ function Ft(t) {
|
|
|
1394
1435
|
return "sticky-note";
|
|
1395
1436
|
}
|
|
1396
1437
|
}
|
|
1397
|
-
function
|
|
1438
|
+
function Kt(t) {
|
|
1398
1439
|
return t === "warning" || t === "error" ? "alert" : "status";
|
|
1399
1440
|
}
|
|
1400
|
-
function
|
|
1441
|
+
function Xt({
|
|
1401
1442
|
dismissible: t,
|
|
1402
1443
|
dismissibleLabel: n = U,
|
|
1403
1444
|
id: e,
|
|
@@ -1429,7 +1470,7 @@ function Kt({
|
|
|
1429
1470
|
"data-size": a,
|
|
1430
1471
|
"data-tone": d || void 0,
|
|
1431
1472
|
id: s,
|
|
1432
|
-
role:
|
|
1473
|
+
role: Kt(d)
|
|
1433
1474
|
},
|
|
1434
1475
|
children: [
|
|
1435
1476
|
{
|
|
@@ -1439,7 +1480,7 @@ function Kt({
|
|
|
1439
1480
|
children: [
|
|
1440
1481
|
R({
|
|
1441
1482
|
ariaHidden: !0,
|
|
1442
|
-
name:
|
|
1483
|
+
name: jt(d),
|
|
1443
1484
|
size: a
|
|
1444
1485
|
})
|
|
1445
1486
|
]
|
|
@@ -1453,24 +1494,24 @@ function Kt({
|
|
|
1453
1494
|
]
|
|
1454
1495
|
};
|
|
1455
1496
|
}
|
|
1456
|
-
function
|
|
1457
|
-
return m(
|
|
1497
|
+
function bi(t) {
|
|
1498
|
+
return m(Xt(t));
|
|
1458
1499
|
}
|
|
1459
|
-
function
|
|
1500
|
+
function Qt() {
|
|
1460
1501
|
if (customElements.get(Z)) return;
|
|
1461
1502
|
class t extends HTMLElement {
|
|
1462
1503
|
#t = (e) => {
|
|
1463
1504
|
const i = e.target;
|
|
1464
1505
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1465
1506
|
const r = new CustomEvent(
|
|
1466
|
-
|
|
1507
|
+
Et,
|
|
1467
1508
|
{
|
|
1468
1509
|
bubbles: !0,
|
|
1469
1510
|
cancelable: !0
|
|
1470
1511
|
}
|
|
1471
1512
|
);
|
|
1472
1513
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1473
|
-
new CustomEvent(
|
|
1514
|
+
new CustomEvent(zt, {
|
|
1474
1515
|
bubbles: !0
|
|
1475
1516
|
})
|
|
1476
1517
|
), this.remove());
|
|
@@ -1483,7 +1524,7 @@ function Xt() {
|
|
|
1483
1524
|
}
|
|
1484
1525
|
#e() {
|
|
1485
1526
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1486
|
-
|
|
1527
|
+
Ft(
|
|
1487
1528
|
this.getAttribute("data-dismissible-label") ?? U,
|
|
1488
1529
|
this.ownerDocument
|
|
1489
1530
|
)
|
|
@@ -1492,7 +1533,7 @@ function Xt() {
|
|
|
1492
1533
|
}
|
|
1493
1534
|
customElements.define(Z, t);
|
|
1494
1535
|
}
|
|
1495
|
-
const
|
|
1536
|
+
const vi = {
|
|
1496
1537
|
name: "alert",
|
|
1497
1538
|
description: "Use `alert` to surface short, important messages.",
|
|
1498
1539
|
output: {
|
|
@@ -1547,12 +1588,12 @@ const bi = {
|
|
|
1547
1588
|
}
|
|
1548
1589
|
},
|
|
1549
1590
|
events: {
|
|
1550
|
-
[
|
|
1591
|
+
[Et]: {
|
|
1551
1592
|
bubbles: !0,
|
|
1552
1593
|
cancelable: !0,
|
|
1553
1594
|
description: "Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."
|
|
1554
1595
|
},
|
|
1555
|
-
[
|
|
1596
|
+
[zt]: {
|
|
1556
1597
|
bubbles: !0,
|
|
1557
1598
|
description: "Fired after the alert has been removed by an allowed dismiss action."
|
|
1558
1599
|
}
|
|
@@ -1641,11 +1682,11 @@ const bi = {
|
|
|
1641
1682
|
]
|
|
1642
1683
|
}
|
|
1643
1684
|
};
|
|
1644
|
-
function
|
|
1685
|
+
function Yt(t) {
|
|
1645
1686
|
if (t)
|
|
1646
1687
|
return t === !0 ? !0 : t;
|
|
1647
1688
|
}
|
|
1648
|
-
function
|
|
1689
|
+
function Lt(t) {
|
|
1649
1690
|
const {
|
|
1650
1691
|
appearance: n = "text",
|
|
1651
1692
|
current: e,
|
|
@@ -1664,7 +1705,7 @@ function Ct(t) {
|
|
|
1664
1705
|
} = t, v = b(a), z = d?.trim() || void 0;
|
|
1665
1706
|
if (p !== "visible" && !!!z)
|
|
1666
1707
|
throw new Error("labelVisibility requires icon when label is not visible.");
|
|
1667
|
-
const S =
|
|
1708
|
+
const S = Yt(i), w = z ? {
|
|
1668
1709
|
kind: "element",
|
|
1669
1710
|
tag: "span",
|
|
1670
1711
|
attrs: { class: "icon-wrapper" },
|
|
@@ -1695,10 +1736,10 @@ function Ct(t) {
|
|
|
1695
1736
|
children: w ? o === "end" ? [x, w] : [w, x] : [x]
|
|
1696
1737
|
};
|
|
1697
1738
|
}
|
|
1698
|
-
function
|
|
1699
|
-
return m(
|
|
1739
|
+
function fi(t) {
|
|
1740
|
+
return m(Lt(t));
|
|
1700
1741
|
}
|
|
1701
|
-
const
|
|
1742
|
+
const yi = {
|
|
1702
1743
|
name: "link",
|
|
1703
1744
|
description: "Use `link` to navigate to another page or resource.",
|
|
1704
1745
|
output: { element: "a", class: "set-link" },
|
|
@@ -1885,8 +1926,8 @@ const fi = {
|
|
|
1885
1926
|
}
|
|
1886
1927
|
]
|
|
1887
1928
|
}
|
|
1888
|
-
}, F = "set-banner",
|
|
1889
|
-
function
|
|
1929
|
+
}, F = "set-banner", Ct = "set-banner-before-dismiss", Mt = "set-banner-dismiss", j = "Dismiss banner";
|
|
1930
|
+
function Jt(t, n) {
|
|
1890
1931
|
const e = n.createElement("div");
|
|
1891
1932
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1892
1933
|
appearance: "text",
|
|
@@ -1897,7 +1938,7 @@ function Yt(t, n) {
|
|
|
1897
1938
|
tone: "neutral"
|
|
1898
1939
|
}), e;
|
|
1899
1940
|
}
|
|
1900
|
-
function
|
|
1941
|
+
function te({
|
|
1901
1942
|
actionHref: t,
|
|
1902
1943
|
actionLabel: n,
|
|
1903
1944
|
dismissible: e = !0,
|
|
@@ -1910,7 +1951,7 @@ function Jt({
|
|
|
1910
1951
|
throw new Error("actionHref and actionLabel must be provided together.");
|
|
1911
1952
|
const o = b(r), s = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
|
|
1912
1953
|
return t && n && (p.push({ kind: "text", value: " " }), p.push(
|
|
1913
|
-
|
|
1954
|
+
Lt({
|
|
1914
1955
|
href: t,
|
|
1915
1956
|
label: n,
|
|
1916
1957
|
underline: !0
|
|
@@ -1937,24 +1978,24 @@ function Jt({
|
|
|
1937
1978
|
]
|
|
1938
1979
|
};
|
|
1939
1980
|
}
|
|
1940
|
-
function
|
|
1941
|
-
return m(
|
|
1981
|
+
function wi(t) {
|
|
1982
|
+
return m(te(t));
|
|
1942
1983
|
}
|
|
1943
|
-
function
|
|
1984
|
+
function ee() {
|
|
1944
1985
|
if (customElements.get(F)) return;
|
|
1945
1986
|
class t extends HTMLElement {
|
|
1946
1987
|
#t = (e) => {
|
|
1947
1988
|
const i = e.target;
|
|
1948
1989
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1949
1990
|
const r = new CustomEvent(
|
|
1950
|
-
|
|
1991
|
+
Ct,
|
|
1951
1992
|
{
|
|
1952
1993
|
bubbles: !0,
|
|
1953
1994
|
cancelable: !0
|
|
1954
1995
|
}
|
|
1955
1996
|
);
|
|
1956
1997
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1957
|
-
new CustomEvent(
|
|
1998
|
+
new CustomEvent(Mt, {
|
|
1958
1999
|
bubbles: !0
|
|
1959
2000
|
})
|
|
1960
2001
|
), this.remove());
|
|
@@ -1967,7 +2008,7 @@ function te() {
|
|
|
1967
2008
|
}
|
|
1968
2009
|
#e() {
|
|
1969
2010
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1970
|
-
|
|
2011
|
+
Jt(
|
|
1971
2012
|
this.getAttribute("data-dismissible-label") ?? j,
|
|
1972
2013
|
this.ownerDocument
|
|
1973
2014
|
)
|
|
@@ -1976,7 +2017,7 @@ function te() {
|
|
|
1976
2017
|
}
|
|
1977
2018
|
customElements.define(F, t);
|
|
1978
2019
|
}
|
|
1979
|
-
const
|
|
2020
|
+
const Si = {
|
|
1980
2021
|
name: "banner",
|
|
1981
2022
|
description: "Use `banner` to display a prominent site-wide message.",
|
|
1982
2023
|
output: { element: F, class: "set-banner" },
|
|
@@ -2021,12 +2062,12 @@ const wi = {
|
|
|
2021
2062
|
}
|
|
2022
2063
|
},
|
|
2023
2064
|
events: {
|
|
2024
|
-
[
|
|
2065
|
+
[Ct]: {
|
|
2025
2066
|
bubbles: !0,
|
|
2026
2067
|
cancelable: !0,
|
|
2027
2068
|
description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
|
|
2028
2069
|
},
|
|
2029
|
-
[
|
|
2070
|
+
[Mt]: {
|
|
2030
2071
|
bubbles: !0,
|
|
2031
2072
|
description: "Fired after the banner has been removed by an allowed dismiss action."
|
|
2032
2073
|
}
|
|
@@ -2065,7 +2106,7 @@ const wi = {
|
|
|
2065
2106
|
]
|
|
2066
2107
|
}
|
|
2067
2108
|
}, K = "set-image";
|
|
2068
|
-
function
|
|
2109
|
+
function ie({
|
|
2069
2110
|
adaptive: t,
|
|
2070
2111
|
alt: n = "",
|
|
2071
2112
|
aspectRatio: e,
|
|
@@ -2086,16 +2127,16 @@ function ee({
|
|
|
2086
2127
|
width: M
|
|
2087
2128
|
}) {
|
|
2088
2129
|
const S = i === "cover", w = b(d), x = y.trim(), E = v?.trim(), L = s?.trim(), A = z?.trim(), V = h?.trim(), q = g?.map((u, C) => {
|
|
2089
|
-
const T = u.srcSet.trim(), f = u.media?.trim(), k = u.type?.trim(), Nt = u.sizes?.trim(),
|
|
2130
|
+
const T = u.srcSet.trim(), f = u.media?.trim(), k = u.type?.trim(), Nt = u.sizes?.trim(), Ht = u.leadSrc?.trim(), Bt = u.stillSrc?.trim();
|
|
2090
2131
|
if (!T)
|
|
2091
2132
|
throw new Error(`sources[${C}].srcSet must be non-empty.`);
|
|
2092
2133
|
return {
|
|
2093
2134
|
height: u.height,
|
|
2094
|
-
leadSrc:
|
|
2135
|
+
leadSrc: Ht || void 0,
|
|
2095
2136
|
media: f || void 0,
|
|
2096
2137
|
sizes: Nt || void 0,
|
|
2097
2138
|
srcSet: T,
|
|
2098
|
-
stillSrc:
|
|
2139
|
+
stillSrc: Bt || void 0,
|
|
2099
2140
|
type: k || void 0,
|
|
2100
2141
|
width: u.width
|
|
2101
2142
|
};
|
|
@@ -2108,7 +2149,7 @@ function ee({
|
|
|
2108
2149
|
...q.map((u) => u.srcSet)
|
|
2109
2150
|
].some((u) => u?.includes("#")))
|
|
2110
2151
|
throw new Error("adaptive sources must not contain URL fragments.");
|
|
2111
|
-
const I = !!A,
|
|
2152
|
+
const I = !!A, H = !!(I && t), nt = !!(I && L), $ = !!L || q.some((u) => u.leadSrc);
|
|
2112
2153
|
if (!I && $)
|
|
2113
2154
|
throw new Error("leadSrc requires a stillSrc.");
|
|
2114
2155
|
if (!I && q.some((u) => u.stillSrc))
|
|
@@ -2235,7 +2276,7 @@ function ee({
|
|
|
2235
2276
|
attrs: { "data-scheme": u },
|
|
2236
2277
|
children: [...C, ...T, f]
|
|
2237
2278
|
};
|
|
2238
|
-
},
|
|
2279
|
+
}, Dt = (u) => {
|
|
2239
2280
|
const C = "(prefers-reduced-motion: no-preference)", T = q.map((k) => {
|
|
2240
2281
|
if (k.leadSrc)
|
|
2241
2282
|
return {
|
|
@@ -2280,7 +2321,7 @@ function ee({
|
|
|
2280
2321
|
attrs: { "data-scheme": u, "data-layer": "lead" },
|
|
2281
2322
|
children: [...T, f]
|
|
2282
2323
|
};
|
|
2283
|
-
}, dt = (u) => nt ? [gt(u),
|
|
2324
|
+
}, dt = (u) => nt ? [gt(u), Dt(u)] : [gt(u)], Vt = I ? H ? [...dt("light"), ...dt("dark")] : dt() : t ? [rt("light"), rt("dark")] : [rt()], G = [];
|
|
2284
2325
|
return a && G.push(`--set-image-block-size: ${a / 16}rem`), M && G.push(`--set-image-inline-size: ${M / 16}rem`), {
|
|
2285
2326
|
kind: "element",
|
|
2286
2327
|
tag: K,
|
|
@@ -2298,13 +2339,13 @@ function ee({
|
|
|
2298
2339
|
id: w,
|
|
2299
2340
|
style: G.length > 0 ? G.join("; ") : void 0
|
|
2300
2341
|
},
|
|
2301
|
-
children:
|
|
2342
|
+
children: Vt
|
|
2302
2343
|
};
|
|
2303
2344
|
}
|
|
2304
|
-
function
|
|
2305
|
-
return m(
|
|
2345
|
+
function ne(t) {
|
|
2346
|
+
return m(ie(t));
|
|
2306
2347
|
}
|
|
2307
|
-
function
|
|
2348
|
+
function re() {
|
|
2308
2349
|
if (customElements.get(K)) return;
|
|
2309
2350
|
const t = "(prefers-reduced-motion: reduce)";
|
|
2310
2351
|
class n extends HTMLElement {
|
|
@@ -2327,7 +2368,7 @@ function ne() {
|
|
|
2327
2368
|
}
|
|
2328
2369
|
customElements.define(K, n);
|
|
2329
2370
|
}
|
|
2330
|
-
const
|
|
2371
|
+
const xi = {
|
|
2331
2372
|
name: "image",
|
|
2332
2373
|
description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
|
|
2333
2374
|
output: { element: K, class: "set-image" },
|
|
@@ -2550,11 +2591,11 @@ const Si = {
|
|
|
2550
2591
|
}
|
|
2551
2592
|
]
|
|
2552
2593
|
}
|
|
2553
|
-
}, X = "set-lightswitch",
|
|
2554
|
-
function
|
|
2594
|
+
}, X = "set-lightswitch", qt = "set-lightswitch-change", st = "set-theme", lt = "Switch to dark theme", pt = "Switch to light theme";
|
|
2595
|
+
function ae(t) {
|
|
2555
2596
|
return t === "dark" ? "light" : "dark";
|
|
2556
2597
|
}
|
|
2557
|
-
function
|
|
2598
|
+
function oe(t) {
|
|
2558
2599
|
return t === "dark" ? "moon" : "sunny";
|
|
2559
2600
|
}
|
|
2560
2601
|
function vt(t, n) {
|
|
@@ -2570,7 +2611,7 @@ function vt(t, n) {
|
|
|
2570
2611
|
children: [
|
|
2571
2612
|
R({
|
|
2572
2613
|
ariaHidden: !0,
|
|
2573
|
-
name:
|
|
2614
|
+
name: oe(t),
|
|
2574
2615
|
size: "fill"
|
|
2575
2616
|
})
|
|
2576
2617
|
]
|
|
@@ -2584,7 +2625,7 @@ function vt(t, n) {
|
|
|
2584
2625
|
]
|
|
2585
2626
|
};
|
|
2586
2627
|
}
|
|
2587
|
-
function
|
|
2628
|
+
function de({
|
|
2588
2629
|
appearance: t = "text",
|
|
2589
2630
|
id: n,
|
|
2590
2631
|
labelDark: e = lt,
|
|
@@ -2617,18 +2658,18 @@ function oe({
|
|
|
2617
2658
|
]
|
|
2618
2659
|
};
|
|
2619
2660
|
}
|
|
2620
|
-
function
|
|
2621
|
-
return m(
|
|
2661
|
+
function Ei(t) {
|
|
2662
|
+
return m(de(t));
|
|
2622
2663
|
}
|
|
2623
|
-
function
|
|
2664
|
+
function se() {
|
|
2624
2665
|
if (customElements.get(X)) return;
|
|
2625
2666
|
class t extends HTMLElement {
|
|
2626
2667
|
#t = (e) => {
|
|
2627
2668
|
const i = e.target;
|
|
2628
2669
|
if (!(i instanceof Element) || !i.closest("button")) return;
|
|
2629
|
-
const r =
|
|
2670
|
+
const r = ae(this.#u());
|
|
2630
2671
|
r === this.#a() ? this.#r() : this.#n(r), this.#o(), this.dispatchEvent(
|
|
2631
|
-
new CustomEvent(
|
|
2672
|
+
new CustomEvent(qt, {
|
|
2632
2673
|
bubbles: !0,
|
|
2633
2674
|
detail: { stored: !!this.#i(), theme: r }
|
|
2634
2675
|
})
|
|
@@ -2690,7 +2731,7 @@ function de() {
|
|
|
2690
2731
|
}
|
|
2691
2732
|
customElements.define(X, t);
|
|
2692
2733
|
}
|
|
2693
|
-
const
|
|
2734
|
+
const zi = {
|
|
2694
2735
|
name: "lightswitch",
|
|
2695
2736
|
description: "Use `lightswitch` to let users toggle between light and dark themes.",
|
|
2696
2737
|
output: { element: X, class: "set-lightswitch" },
|
|
@@ -2722,7 +2763,7 @@ const Ei = {
|
|
|
2722
2763
|
}
|
|
2723
2764
|
},
|
|
2724
2765
|
events: {
|
|
2725
|
-
[
|
|
2766
|
+
[qt]: {
|
|
2726
2767
|
bubbles: !0,
|
|
2727
2768
|
description: "Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."
|
|
2728
2769
|
}
|
|
@@ -2761,8 +2802,8 @@ const Ei = {
|
|
|
2761
2802
|
}
|
|
2762
2803
|
]
|
|
2763
2804
|
}
|
|
2764
|
-
}, Q = "set-menu",
|
|
2765
|
-
function
|
|
2805
|
+
}, Q = "set-menu", It = "set-menu-choose";
|
|
2806
|
+
function le({
|
|
2766
2807
|
align: t = "start",
|
|
2767
2808
|
id: n,
|
|
2768
2809
|
items: e,
|
|
@@ -2777,7 +2818,7 @@ function se({
|
|
|
2777
2818
|
const l = n.trim();
|
|
2778
2819
|
if (!l)
|
|
2779
2820
|
throw new Error("id must be a non-empty string.");
|
|
2780
|
-
if (!
|
|
2821
|
+
if (!N(l))
|
|
2781
2822
|
throw new Error(
|
|
2782
2823
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
2783
2824
|
);
|
|
@@ -2843,10 +2884,10 @@ function se({
|
|
|
2843
2884
|
]
|
|
2844
2885
|
};
|
|
2845
2886
|
}
|
|
2846
|
-
function
|
|
2847
|
-
return m(
|
|
2887
|
+
function Li(t) {
|
|
2888
|
+
return m(le(t));
|
|
2848
2889
|
}
|
|
2849
|
-
function
|
|
2890
|
+
function pe() {
|
|
2850
2891
|
if (customElements.get(Q)) return;
|
|
2851
2892
|
class t extends HTMLElement {
|
|
2852
2893
|
#t;
|
|
@@ -2866,7 +2907,7 @@ function le() {
|
|
|
2866
2907
|
}
|
|
2867
2908
|
set triggerActivity(e) {
|
|
2868
2909
|
const i = this.#r();
|
|
2869
|
-
i &&
|
|
2910
|
+
i && Zt(i, e);
|
|
2870
2911
|
}
|
|
2871
2912
|
connectedCallback() {
|
|
2872
2913
|
this.#p(), this.#d(!1), this.#k();
|
|
@@ -2912,7 +2953,7 @@ function le() {
|
|
|
2912
2953
|
this.querySelectorAll('[role="menuitem"]')
|
|
2913
2954
|
).indexOf(e);
|
|
2914
2955
|
this.dispatchEvent(
|
|
2915
|
-
new CustomEvent(
|
|
2956
|
+
new CustomEvent(It, {
|
|
2916
2957
|
bubbles: !0,
|
|
2917
2958
|
detail: {
|
|
2918
2959
|
id: e.getAttribute("data-item-id") || void 0,
|
|
@@ -2976,7 +3017,7 @@ function le() {
|
|
|
2976
3017
|
}
|
|
2977
3018
|
customElements.define(Q, t);
|
|
2978
3019
|
}
|
|
2979
|
-
const
|
|
3020
|
+
const Ci = {
|
|
2980
3021
|
name: "menu",
|
|
2981
3022
|
description: "Use `menu` to show a list of actions from a trigger button.",
|
|
2982
3023
|
output: {
|
|
@@ -3058,7 +3099,7 @@ const Li = {
|
|
|
3058
3099
|
}
|
|
3059
3100
|
},
|
|
3060
3101
|
events: {
|
|
3061
|
-
[
|
|
3102
|
+
[It]: {
|
|
3062
3103
|
bubbles: !0,
|
|
3063
3104
|
description: "Fired when a menu item is activated.",
|
|
3064
3105
|
detail: "{ id?: string; index: number; label: string }"
|
|
@@ -3119,7 +3160,7 @@ const Li = {
|
|
|
3119
3160
|
]
|
|
3120
3161
|
}
|
|
3121
3162
|
}, ct = "Menu";
|
|
3122
|
-
function
|
|
3163
|
+
function ce({
|
|
3123
3164
|
controlsId: t,
|
|
3124
3165
|
expanded: n,
|
|
3125
3166
|
id: e,
|
|
@@ -3161,10 +3202,10 @@ function pe({
|
|
|
3161
3202
|
]
|
|
3162
3203
|
};
|
|
3163
3204
|
}
|
|
3164
|
-
function
|
|
3165
|
-
return m(
|
|
3205
|
+
function ue(t = {}) {
|
|
3206
|
+
return m(ce(t));
|
|
3166
3207
|
}
|
|
3167
|
-
const
|
|
3208
|
+
const Mi = {
|
|
3168
3209
|
name: "expander",
|
|
3169
3210
|
description: "Use `expander` as a toggle for disclosure regions such as menus.",
|
|
3170
3211
|
output: { element: "button", class: "set-expander" },
|
|
@@ -3230,7 +3271,7 @@ const Ci = {
|
|
|
3230
3271
|
]
|
|
3231
3272
|
}
|
|
3232
3273
|
}, Y = "set-nav", ft = "data-set-scroll-locked";
|
|
3233
|
-
function
|
|
3274
|
+
function he({
|
|
3234
3275
|
collapsible: t,
|
|
3235
3276
|
contentId: n,
|
|
3236
3277
|
expanderLabel: e,
|
|
@@ -3245,7 +3286,7 @@ function ue({
|
|
|
3245
3286
|
throw new Error(
|
|
3246
3287
|
"contentId must be a non-empty string when collapsible is set."
|
|
3247
3288
|
);
|
|
3248
|
-
if (l && !
|
|
3289
|
+
if (l && !N(l))
|
|
3249
3290
|
throw new Error(
|
|
3250
3291
|
"contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3251
3292
|
);
|
|
@@ -3307,10 +3348,10 @@ function ue({
|
|
|
3307
3348
|
]
|
|
3308
3349
|
};
|
|
3309
3350
|
}
|
|
3310
|
-
function
|
|
3311
|
-
return m(
|
|
3351
|
+
function qi(t) {
|
|
3352
|
+
return m(he(t));
|
|
3312
3353
|
}
|
|
3313
|
-
function
|
|
3354
|
+
function me() {
|
|
3314
3355
|
if (customElements.get(Y)) return;
|
|
3315
3356
|
class t extends HTMLElement {
|
|
3316
3357
|
#t;
|
|
@@ -3337,7 +3378,7 @@ function he() {
|
|
|
3337
3378
|
const i = e.querySelector(".content");
|
|
3338
3379
|
i && e.insertAdjacentHTML(
|
|
3339
3380
|
"afterbegin",
|
|
3340
|
-
`<div data-part="expander">${
|
|
3381
|
+
`<div data-part="expander">${ue({
|
|
3341
3382
|
controlsId: i.id || void 0,
|
|
3342
3383
|
label: this.getAttribute("data-expander-label") || void 0,
|
|
3343
3384
|
size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
|
|
@@ -3389,7 +3430,7 @@ function he() {
|
|
|
3389
3430
|
}
|
|
3390
3431
|
customElements.define(Y, t);
|
|
3391
3432
|
}
|
|
3392
|
-
const
|
|
3433
|
+
const Ii = {
|
|
3393
3434
|
name: "nav",
|
|
3394
3435
|
description: "Use `nav` to render a primary navigation list.",
|
|
3395
3436
|
output: { element: Y, class: "set-nav" },
|
|
@@ -3504,7 +3545,7 @@ const qi = {
|
|
|
3504
3545
|
]
|
|
3505
3546
|
}
|
|
3506
3547
|
}, J = "set-range";
|
|
3507
|
-
function
|
|
3548
|
+
function ke({
|
|
3508
3549
|
description: t,
|
|
3509
3550
|
disabled: n,
|
|
3510
3551
|
id: e,
|
|
@@ -3520,7 +3561,7 @@ function me({
|
|
|
3520
3561
|
const c = e.trim(), h = t?.trim(), g = o?.trim();
|
|
3521
3562
|
if (!c)
|
|
3522
3563
|
throw new Error("id must be a non-empty string.");
|
|
3523
|
-
if (!
|
|
3564
|
+
if (!N(c))
|
|
3524
3565
|
throw new Error(
|
|
3525
3566
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3526
3567
|
);
|
|
@@ -3578,10 +3619,10 @@ function me({
|
|
|
3578
3619
|
children: v
|
|
3579
3620
|
};
|
|
3580
3621
|
}
|
|
3581
|
-
function
|
|
3582
|
-
return m(
|
|
3622
|
+
function Ai(t) {
|
|
3623
|
+
return m(ke(t));
|
|
3583
3624
|
}
|
|
3584
|
-
function
|
|
3625
|
+
function ge() {
|
|
3585
3626
|
if (customElements.get(J)) return;
|
|
3586
3627
|
class t extends HTMLElement {
|
|
3587
3628
|
#t;
|
|
@@ -3638,7 +3679,7 @@ function ke() {
|
|
|
3638
3679
|
}
|
|
3639
3680
|
customElements.define(J, t);
|
|
3640
3681
|
}
|
|
3641
|
-
const
|
|
3682
|
+
const Ti = {
|
|
3642
3683
|
name: "range",
|
|
3643
3684
|
description: "Use `range` to let users pick a numeric value along a scale.",
|
|
3644
3685
|
output: { element: J, class: "set-range" },
|
|
@@ -3770,8 +3811,8 @@ const Ai = {
|
|
|
3770
3811
|
}
|
|
3771
3812
|
]
|
|
3772
3813
|
}
|
|
3773
|
-
}, tt = "set-sidebar",
|
|
3774
|
-
function
|
|
3814
|
+
}, tt = "set-sidebar", be = "(min-width: 68em)", O = "Collapse sidebar", ut = "Open sidebar";
|
|
3815
|
+
function ve(t, n) {
|
|
3775
3816
|
return `<div data-part="close">${mt({
|
|
3776
3817
|
appearance: "text",
|
|
3777
3818
|
icon: "panel-left",
|
|
@@ -3783,7 +3824,7 @@ function be(t, n) {
|
|
|
3783
3824
|
type: "button"
|
|
3784
3825
|
})}</div>`;
|
|
3785
3826
|
}
|
|
3786
|
-
function
|
|
3827
|
+
function fe({
|
|
3787
3828
|
aboveNotebook: t = "persistent",
|
|
3788
3829
|
buttonSize: n = "md",
|
|
3789
3830
|
children: e,
|
|
@@ -3797,7 +3838,7 @@ function ve({
|
|
|
3797
3838
|
const p = d.trim(), l = i.trim() || O, c = s.trim() || ut;
|
|
3798
3839
|
if (!p)
|
|
3799
3840
|
throw new Error("id must be a non-empty string.");
|
|
3800
|
-
if (!
|
|
3841
|
+
if (!N(p))
|
|
3801
3842
|
throw new Error(
|
|
3802
3843
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
3803
3844
|
);
|
|
@@ -3872,10 +3913,10 @@ function ve({
|
|
|
3872
3913
|
]
|
|
3873
3914
|
};
|
|
3874
3915
|
}
|
|
3875
|
-
function
|
|
3876
|
-
return m(
|
|
3916
|
+
function _i(t) {
|
|
3917
|
+
return m(fe(t));
|
|
3877
3918
|
}
|
|
3878
|
-
function
|
|
3919
|
+
function ye() {
|
|
3879
3920
|
if (customElements.get(tt)) return;
|
|
3880
3921
|
class t extends HTMLElement {
|
|
3881
3922
|
#t;
|
|
@@ -3923,7 +3964,7 @@ function fe() {
|
|
|
3923
3964
|
const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || O, a = this.getAttribute("data-button-size") ?? "md";
|
|
3924
3965
|
i?.insertAdjacentHTML(
|
|
3925
3966
|
"beforeend",
|
|
3926
|
-
|
|
3967
|
+
ve(r, a)
|
|
3927
3968
|
);
|
|
3928
3969
|
}
|
|
3929
3970
|
#d() {
|
|
@@ -3998,7 +4039,7 @@ function fe() {
|
|
|
3998
4039
|
}
|
|
3999
4040
|
#f() {
|
|
4000
4041
|
const e = this.ownerDocument.defaultView;
|
|
4001
|
-
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(
|
|
4042
|
+
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(be), this.#n = () => {
|
|
4002
4043
|
this.#g();
|
|
4003
4044
|
}, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
|
|
4004
4045
|
const r = i.target;
|
|
@@ -4027,7 +4068,7 @@ function fe() {
|
|
|
4027
4068
|
}
|
|
4028
4069
|
customElements.define(tt, t);
|
|
4029
4070
|
}
|
|
4030
|
-
const
|
|
4071
|
+
const Di = {
|
|
4031
4072
|
name: "sidebar",
|
|
4032
4073
|
description: "Use `sidebar` for a side panel alongside main content.",
|
|
4033
4074
|
output: {
|
|
@@ -4082,7 +4123,7 @@ const _i = {
|
|
|
4082
4123
|
description: "Surface context. Applied to the inner panel.",
|
|
4083
4124
|
type: {
|
|
4084
4125
|
kind: "enum",
|
|
4085
|
-
values: ["default", "brand"
|
|
4126
|
+
values: ["default", "brand"]
|
|
4086
4127
|
}
|
|
4087
4128
|
},
|
|
4088
4129
|
triggerLabel: {
|
|
@@ -4152,7 +4193,7 @@ const _i = {
|
|
|
4152
4193
|
]
|
|
4153
4194
|
}
|
|
4154
4195
|
}, et = "set-video";
|
|
4155
|
-
function
|
|
4196
|
+
function we({
|
|
4156
4197
|
autoPlay: t,
|
|
4157
4198
|
controls: n,
|
|
4158
4199
|
fit: e = "intrinsic",
|
|
@@ -4198,11 +4239,11 @@ function ye({
|
|
|
4198
4239
|
children: [v]
|
|
4199
4240
|
};
|
|
4200
4241
|
}
|
|
4201
|
-
function
|
|
4202
|
-
return m(
|
|
4242
|
+
function Vi(t) {
|
|
4243
|
+
return m(we(t));
|
|
4203
4244
|
}
|
|
4204
|
-
const
|
|
4205
|
-
function
|
|
4245
|
+
const Se = "(prefers-reduced-motion: reduce)";
|
|
4246
|
+
function xe() {
|
|
4206
4247
|
if (customElements.get(et)) return;
|
|
4207
4248
|
class t extends HTMLElement {
|
|
4208
4249
|
#t = !1;
|
|
@@ -4212,7 +4253,7 @@ function Se() {
|
|
|
4212
4253
|
const e = this.querySelector("video");
|
|
4213
4254
|
if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
|
|
4214
4255
|
const i = this.ownerDocument.defaultView;
|
|
4215
|
-
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(
|
|
4256
|
+
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(Se), this.#i = () => {
|
|
4216
4257
|
this.#n();
|
|
4217
4258
|
}, this.#e.addEventListener("change", this.#i), this.#n());
|
|
4218
4259
|
}
|
|
@@ -4227,7 +4268,7 @@ function Se() {
|
|
|
4227
4268
|
}
|
|
4228
4269
|
customElements.define(et, t);
|
|
4229
4270
|
}
|
|
4230
|
-
const
|
|
4271
|
+
const Ni = {
|
|
4231
4272
|
name: "video",
|
|
4232
4273
|
description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
|
|
4233
4274
|
output: { element: et, class: "set-video" },
|
|
@@ -4355,17 +4396,17 @@ const Vi = {
|
|
|
4355
4396
|
]
|
|
4356
4397
|
}
|
|
4357
4398
|
};
|
|
4358
|
-
function
|
|
4399
|
+
function Ee(t) {
|
|
4359
4400
|
return t ? /[A-Za-z]/.test(t) : !1;
|
|
4360
4401
|
}
|
|
4361
|
-
function
|
|
4402
|
+
function ze(t) {
|
|
4362
4403
|
return /^[a-z]/.test(t);
|
|
4363
4404
|
}
|
|
4364
4405
|
function B(t) {
|
|
4365
4406
|
const n = t.charAt(0);
|
|
4366
|
-
return
|
|
4407
|
+
return Ee(n) ? n : void 0;
|
|
4367
4408
|
}
|
|
4368
|
-
function
|
|
4409
|
+
function Le(t) {
|
|
4369
4410
|
const n = P(t);
|
|
4370
4411
|
if (!n) return;
|
|
4371
4412
|
const e = n.split(" "), i = B(e[0]);
|
|
@@ -4373,7 +4414,7 @@ function ze(t) {
|
|
|
4373
4414
|
const r = [i.toUpperCase()];
|
|
4374
4415
|
if (e.length === 1)
|
|
4375
4416
|
return r[0];
|
|
4376
|
-
const a = e.slice(1).find(
|
|
4417
|
+
const a = e.slice(1).find(ze);
|
|
4377
4418
|
if (a) {
|
|
4378
4419
|
const o = B(a);
|
|
4379
4420
|
return o ? `${r[0]}${o}` : void 0;
|
|
@@ -4397,7 +4438,7 @@ function ze(t) {
|
|
|
4397
4438
|
if (d)
|
|
4398
4439
|
return r.push(d), r.slice(0, 3).join("");
|
|
4399
4440
|
}
|
|
4400
|
-
const
|
|
4441
|
+
const Ce = {
|
|
4401
4442
|
bot: "robot-1",
|
|
4402
4443
|
organization: "city-6",
|
|
4403
4444
|
person: "user-1",
|
|
@@ -4413,13 +4454,13 @@ const Le = {
|
|
|
4413
4454
|
"08",
|
|
4414
4455
|
"09"
|
|
4415
4456
|
];
|
|
4416
|
-
function
|
|
4457
|
+
function Me(t) {
|
|
4417
4458
|
let n = 5381;
|
|
4418
4459
|
for (const e of t)
|
|
4419
4460
|
n = n * 33 ^ e.charCodeAt(0);
|
|
4420
4461
|
return n >>> 0;
|
|
4421
4462
|
}
|
|
4422
|
-
function
|
|
4463
|
+
function qe(t) {
|
|
4423
4464
|
if (t == null) return;
|
|
4424
4465
|
const n = P(t);
|
|
4425
4466
|
if (n) {
|
|
@@ -4430,7 +4471,7 @@ function Me(t) {
|
|
|
4430
4471
|
return n;
|
|
4431
4472
|
}
|
|
4432
4473
|
}
|
|
4433
|
-
function
|
|
4474
|
+
function Ie({
|
|
4434
4475
|
alt: t,
|
|
4435
4476
|
ariaHidden: n,
|
|
4436
4477
|
name: e
|
|
@@ -4438,18 +4479,18 @@ function qe({
|
|
|
4438
4479
|
if (!n)
|
|
4439
4480
|
return P(t) || P(e) || "Avatar";
|
|
4440
4481
|
}
|
|
4441
|
-
function
|
|
4482
|
+
function Ae({
|
|
4442
4483
|
color: t,
|
|
4443
4484
|
name: n
|
|
4444
4485
|
}) {
|
|
4445
4486
|
if (t) return t;
|
|
4446
4487
|
if (n) {
|
|
4447
|
-
const e =
|
|
4488
|
+
const e = Me(n) % yt.length;
|
|
4448
4489
|
return yt[e];
|
|
4449
4490
|
}
|
|
4450
4491
|
return "neutral";
|
|
4451
4492
|
}
|
|
4452
|
-
function
|
|
4493
|
+
function Te({
|
|
4453
4494
|
alt: t,
|
|
4454
4495
|
ariaHidden: n,
|
|
4455
4496
|
color: e,
|
|
@@ -4460,11 +4501,11 @@ function Ae({
|
|
|
4460
4501
|
size: o = "md",
|
|
4461
4502
|
src: s
|
|
4462
4503
|
}) {
|
|
4463
|
-
const p = b(r), l =
|
|
4504
|
+
const p = b(r), l = qe(a), c = P(d), h = P(s), g = Ie({
|
|
4464
4505
|
alt: t,
|
|
4465
4506
|
ariaHidden: n,
|
|
4466
4507
|
name: c
|
|
4467
|
-
}), y = l ||
|
|
4508
|
+
}), y = l || Le(c), v = !!h, z = Ae({
|
|
4468
4509
|
color: e,
|
|
4469
4510
|
name: c
|
|
4470
4511
|
}), M = {
|
|
@@ -4499,7 +4540,7 @@ function Ae({
|
|
|
4499
4540
|
children: [
|
|
4500
4541
|
R({
|
|
4501
4542
|
ariaHidden: !0,
|
|
4502
|
-
name:
|
|
4543
|
+
name: Ce[i],
|
|
4503
4544
|
size: "fill"
|
|
4504
4545
|
})
|
|
4505
4546
|
]
|
|
@@ -4511,9 +4552,9 @@ function Ae({
|
|
|
4511
4552
|
};
|
|
4512
4553
|
}
|
|
4513
4554
|
function Hi(t) {
|
|
4514
|
-
return m(
|
|
4555
|
+
return m(Te(t));
|
|
4515
4556
|
}
|
|
4516
|
-
const
|
|
4557
|
+
const Bi = {
|
|
4517
4558
|
name: "avatar",
|
|
4518
4559
|
description: "Use `avatar` to visually represent a person, team, or entity.",
|
|
4519
4560
|
output: { element: "span", class: "set-avatar" },
|
|
@@ -4620,7 +4661,7 @@ const Ni = {
|
|
|
4620
4661
|
]
|
|
4621
4662
|
}
|
|
4622
4663
|
};
|
|
4623
|
-
function
|
|
4664
|
+
function _e({
|
|
4624
4665
|
floating: t,
|
|
4625
4666
|
id: n,
|
|
4626
4667
|
label: e,
|
|
@@ -4641,10 +4682,10 @@ function Te({
|
|
|
4641
4682
|
children: [{ kind: "text", value: e }]
|
|
4642
4683
|
};
|
|
4643
4684
|
}
|
|
4644
|
-
function
|
|
4645
|
-
return m(
|
|
4685
|
+
function Oi(t) {
|
|
4686
|
+
return m(_e(t));
|
|
4646
4687
|
}
|
|
4647
|
-
const
|
|
4688
|
+
const Pi = {
|
|
4648
4689
|
name: "badge",
|
|
4649
4690
|
description: "Use `badge` to annotate content with a short label.",
|
|
4650
4691
|
output: { element: "span", class: "set-badge" },
|
|
@@ -4743,10 +4784,10 @@ function it({
|
|
|
4743
4784
|
children: [{ kind: "raw", html: e }]
|
|
4744
4785
|
};
|
|
4745
4786
|
}
|
|
4746
|
-
function
|
|
4787
|
+
function Ri(t) {
|
|
4747
4788
|
return m(it(t));
|
|
4748
4789
|
}
|
|
4749
|
-
const
|
|
4790
|
+
const Wi = {
|
|
4750
4791
|
name: "text",
|
|
4751
4792
|
description: "Use `text` for inline or paragraph body copy.",
|
|
4752
4793
|
output: {
|
|
@@ -4870,7 +4911,7 @@ const Ri = {
|
|
|
4870
4911
|
]
|
|
4871
4912
|
}
|
|
4872
4913
|
};
|
|
4873
|
-
function
|
|
4914
|
+
function De({
|
|
4874
4915
|
align: t = "start",
|
|
4875
4916
|
attribution: n,
|
|
4876
4917
|
id: e,
|
|
@@ -4920,10 +4961,10 @@ function _e({
|
|
|
4920
4961
|
]
|
|
4921
4962
|
};
|
|
4922
4963
|
}
|
|
4923
|
-
function
|
|
4924
|
-
return m(
|
|
4964
|
+
function Ui(t) {
|
|
4965
|
+
return m(De(t));
|
|
4925
4966
|
}
|
|
4926
|
-
const
|
|
4967
|
+
const $i = {
|
|
4927
4968
|
name: "blockquote",
|
|
4928
4969
|
description: "Use `blockquote` to display a quote with attribution.",
|
|
4929
4970
|
output: { element: "figure", class: "set-blockquote" },
|
|
@@ -4992,7 +5033,7 @@ const Ui = {
|
|
|
4992
5033
|
]
|
|
4993
5034
|
}
|
|
4994
5035
|
};
|
|
4995
|
-
function
|
|
5036
|
+
function Ve({
|
|
4996
5037
|
background: t = "default",
|
|
4997
5038
|
border: n,
|
|
4998
5039
|
children: e,
|
|
@@ -5021,10 +5062,10 @@ function De({
|
|
|
5021
5062
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
5022
5063
|
};
|
|
5023
5064
|
}
|
|
5024
|
-
function
|
|
5025
|
-
return m(
|
|
5065
|
+
function Gi(t) {
|
|
5066
|
+
return m(Ve(t));
|
|
5026
5067
|
}
|
|
5027
|
-
const
|
|
5068
|
+
const Zi = {
|
|
5028
5069
|
name: "box",
|
|
5029
5070
|
description: "Use `box` to inset content.",
|
|
5030
5071
|
output: { element: "div", class: "set-box" },
|
|
@@ -5077,7 +5118,7 @@ const Gi = {
|
|
|
5077
5118
|
description: "Surface context.",
|
|
5078
5119
|
type: {
|
|
5079
5120
|
kind: "enum",
|
|
5080
|
-
values: ["default", "brand"
|
|
5121
|
+
values: ["default", "brand"]
|
|
5081
5122
|
}
|
|
5082
5123
|
}
|
|
5083
5124
|
},
|
|
@@ -5137,7 +5178,7 @@ const Gi = {
|
|
|
5137
5178
|
]
|
|
5138
5179
|
}
|
|
5139
5180
|
};
|
|
5140
|
-
function
|
|
5181
|
+
function Ne({
|
|
5141
5182
|
description: t,
|
|
5142
5183
|
headingLevel: n,
|
|
5143
5184
|
href: e,
|
|
@@ -5203,10 +5244,10 @@ function Ve({
|
|
|
5203
5244
|
children: c
|
|
5204
5245
|
};
|
|
5205
5246
|
}
|
|
5206
|
-
function
|
|
5207
|
-
return m(
|
|
5247
|
+
function Fi(t) {
|
|
5248
|
+
return m(Ne(t));
|
|
5208
5249
|
}
|
|
5209
|
-
const
|
|
5250
|
+
const ji = {
|
|
5210
5251
|
name: "card",
|
|
5211
5252
|
description: "Use `card` to display a summary for a single topic.",
|
|
5212
5253
|
output: {
|
|
@@ -5247,7 +5288,7 @@ const Fi = {
|
|
|
5247
5288
|
description: "Surface context.",
|
|
5248
5289
|
type: {
|
|
5249
5290
|
kind: "enum",
|
|
5250
|
-
values: ["default", "brand"
|
|
5291
|
+
values: ["default", "brand"]
|
|
5251
5292
|
}
|
|
5252
5293
|
},
|
|
5253
5294
|
title: {
|
|
@@ -5333,10 +5374,10 @@ function He({
|
|
|
5333
5374
|
children: v
|
|
5334
5375
|
};
|
|
5335
5376
|
}
|
|
5336
|
-
function
|
|
5377
|
+
function Ki(t) {
|
|
5337
5378
|
return m(He(t));
|
|
5338
5379
|
}
|
|
5339
|
-
const
|
|
5380
|
+
const Xi = {
|
|
5340
5381
|
name: "checkbox",
|
|
5341
5382
|
description: "Use `checkbox` to let users toggle a single option on or off.",
|
|
5342
5383
|
output: { element: "div", class: "set-checkbox" },
|
|
@@ -5466,7 +5507,7 @@ const Ki = {
|
|
|
5466
5507
|
]
|
|
5467
5508
|
}
|
|
5468
5509
|
};
|
|
5469
|
-
function
|
|
5510
|
+
function Be({
|
|
5470
5511
|
children: t,
|
|
5471
5512
|
gutter: n = "default",
|
|
5472
5513
|
id: e,
|
|
@@ -5485,10 +5526,10 @@ function Ne({
|
|
|
5485
5526
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
5486
5527
|
};
|
|
5487
5528
|
}
|
|
5488
|
-
function
|
|
5489
|
-
return m(
|
|
5529
|
+
function Qi(t) {
|
|
5530
|
+
return m(Be(t));
|
|
5490
5531
|
}
|
|
5491
|
-
const
|
|
5532
|
+
const Yi = {
|
|
5492
5533
|
name: "container",
|
|
5493
5534
|
description: "Use `container` to wrap page-level content.",
|
|
5494
5535
|
output: { element: "div", class: "set-container" },
|
|
@@ -5545,7 +5586,7 @@ const Qi = {
|
|
|
5545
5586
|
]
|
|
5546
5587
|
}
|
|
5547
5588
|
};
|
|
5548
|
-
function
|
|
5589
|
+
function Oe({
|
|
5549
5590
|
children: t,
|
|
5550
5591
|
id: n,
|
|
5551
5592
|
open: e,
|
|
@@ -5597,10 +5638,10 @@ function Be({
|
|
|
5597
5638
|
]
|
|
5598
5639
|
};
|
|
5599
5640
|
}
|
|
5600
|
-
function
|
|
5601
|
-
return m(
|
|
5641
|
+
function Ji(t) {
|
|
5642
|
+
return m(Oe(t));
|
|
5602
5643
|
}
|
|
5603
|
-
const
|
|
5644
|
+
const tn = {
|
|
5604
5645
|
name: "details",
|
|
5605
5646
|
description: "Use `details` to let users expand and collapse a section of content.",
|
|
5606
5647
|
output: { element: "details", class: "set-details" },
|
|
@@ -5659,7 +5700,7 @@ const Ji = {
|
|
|
5659
5700
|
]
|
|
5660
5701
|
}
|
|
5661
5702
|
};
|
|
5662
|
-
function
|
|
5703
|
+
function Pe({
|
|
5663
5704
|
id: t,
|
|
5664
5705
|
orientation: n = "horizontal",
|
|
5665
5706
|
tone: e = "default"
|
|
@@ -5678,10 +5719,10 @@ function Oe({
|
|
|
5678
5719
|
children: []
|
|
5679
5720
|
};
|
|
5680
5721
|
}
|
|
5681
|
-
function
|
|
5682
|
-
return m(
|
|
5722
|
+
function en(t = {}) {
|
|
5723
|
+
return m(Pe(t));
|
|
5683
5724
|
}
|
|
5684
|
-
const
|
|
5725
|
+
const nn = {
|
|
5685
5726
|
name: "divider",
|
|
5686
5727
|
description: "Use `divider` to separate sections with a rule.",
|
|
5687
5728
|
output: {
|
|
@@ -5743,7 +5784,7 @@ const en = {
|
|
|
5743
5784
|
]
|
|
5744
5785
|
}
|
|
5745
5786
|
};
|
|
5746
|
-
function
|
|
5787
|
+
function At({
|
|
5747
5788
|
children: t,
|
|
5748
5789
|
description: n,
|
|
5749
5790
|
disabled: e,
|
|
@@ -5755,7 +5796,7 @@ function Tt({
|
|
|
5755
5796
|
const o = n?.trim(), s = i.trim();
|
|
5756
5797
|
if (!s)
|
|
5757
5798
|
throw new Error("id must be a non-empty string.");
|
|
5758
|
-
if (!
|
|
5799
|
+
if (!N(s))
|
|
5759
5800
|
throw new Error(
|
|
5760
5801
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
5761
5802
|
);
|
|
@@ -5786,10 +5827,10 @@ function Tt({
|
|
|
5786
5827
|
children: h
|
|
5787
5828
|
};
|
|
5788
5829
|
}
|
|
5789
|
-
function
|
|
5790
|
-
return m(
|
|
5830
|
+
function rn(t) {
|
|
5831
|
+
return m(At(t));
|
|
5791
5832
|
}
|
|
5792
|
-
const
|
|
5833
|
+
const an = {
|
|
5793
5834
|
name: "fieldset",
|
|
5794
5835
|
description: "Use `fieldset` to group related form controls under a legend.",
|
|
5795
5836
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -5877,7 +5918,7 @@ const rn = {
|
|
|
5877
5918
|
]
|
|
5878
5919
|
}
|
|
5879
5920
|
};
|
|
5880
|
-
function
|
|
5921
|
+
function Re({
|
|
5881
5922
|
align: t = "start",
|
|
5882
5923
|
caption: n,
|
|
5883
5924
|
children: e,
|
|
@@ -5913,10 +5954,10 @@ function Pe({
|
|
|
5913
5954
|
]
|
|
5914
5955
|
};
|
|
5915
5956
|
}
|
|
5916
|
-
function
|
|
5917
|
-
return m(
|
|
5957
|
+
function on(t) {
|
|
5958
|
+
return m(Re(t));
|
|
5918
5959
|
}
|
|
5919
|
-
const
|
|
5960
|
+
const dn = {
|
|
5920
5961
|
name: "figure",
|
|
5921
5962
|
description: "Use `figure` to present media with a caption.",
|
|
5922
5963
|
output: { element: "figure", class: "set-figure" },
|
|
@@ -5989,7 +6030,7 @@ const on = {
|
|
|
5989
6030
|
if (t !== void 0)
|
|
5990
6031
|
return String(t);
|
|
5991
6032
|
};
|
|
5992
|
-
function
|
|
6033
|
+
function We({
|
|
5993
6034
|
children: t,
|
|
5994
6035
|
gap: n = "default",
|
|
5995
6036
|
id: e
|
|
@@ -6013,10 +6054,10 @@ function Re({
|
|
|
6013
6054
|
]
|
|
6014
6055
|
};
|
|
6015
6056
|
}
|
|
6016
|
-
function
|
|
6017
|
-
return m(
|
|
6057
|
+
function sn(t) {
|
|
6058
|
+
return m(We(t));
|
|
6018
6059
|
}
|
|
6019
|
-
function
|
|
6060
|
+
function Ue({
|
|
6020
6061
|
align: t,
|
|
6021
6062
|
children: n,
|
|
6022
6063
|
colSpan: e,
|
|
@@ -6059,10 +6100,10 @@ function We({
|
|
|
6059
6100
|
children: n ? [{ kind: "raw", html: n }] : []
|
|
6060
6101
|
};
|
|
6061
6102
|
}
|
|
6062
|
-
function
|
|
6063
|
-
return m(
|
|
6103
|
+
function ln(t) {
|
|
6104
|
+
return m(Ue(t));
|
|
6064
6105
|
}
|
|
6065
|
-
const
|
|
6106
|
+
const pn = {
|
|
6066
6107
|
name: "grid",
|
|
6067
6108
|
description: "Use `grid` to lay out content in a 12-column responsive grid.",
|
|
6068
6109
|
output: { element: "div", class: "set-grid" },
|
|
@@ -6108,7 +6149,7 @@ const ln = {
|
|
|
6108
6149
|
min: 1,
|
|
6109
6150
|
max: 12,
|
|
6110
6151
|
integer: !0
|
|
6111
|
-
},
|
|
6152
|
+
}, cn = {
|
|
6112
6153
|
name: "grid-item",
|
|
6113
6154
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
6114
6155
|
output: { element: "div", class: "set-grid-item" },
|
|
@@ -6275,7 +6316,7 @@ const ln = {
|
|
|
6275
6316
|
]
|
|
6276
6317
|
}
|
|
6277
6318
|
};
|
|
6278
|
-
function
|
|
6319
|
+
function $e({
|
|
6279
6320
|
align: t = "start",
|
|
6280
6321
|
children: n,
|
|
6281
6322
|
id: e,
|
|
@@ -6301,10 +6342,10 @@ function Ue({
|
|
|
6301
6342
|
children: [{ kind: "raw", html: n }]
|
|
6302
6343
|
};
|
|
6303
6344
|
}
|
|
6304
|
-
function
|
|
6305
|
-
return m(
|
|
6345
|
+
function un(t) {
|
|
6346
|
+
return m($e(t));
|
|
6306
6347
|
}
|
|
6307
|
-
const
|
|
6348
|
+
const hn = {
|
|
6308
6349
|
name: "heading",
|
|
6309
6350
|
description: "Use `heading` to render heading text with consistent type.",
|
|
6310
6351
|
output: {
|
|
@@ -6410,7 +6451,7 @@ const un = {
|
|
|
6410
6451
|
]
|
|
6411
6452
|
}
|
|
6412
6453
|
};
|
|
6413
|
-
function
|
|
6454
|
+
function Ge({
|
|
6414
6455
|
align: t = "center",
|
|
6415
6456
|
as: n = "div",
|
|
6416
6457
|
children: e,
|
|
@@ -6434,10 +6475,10 @@ function $e({
|
|
|
6434
6475
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
6435
6476
|
};
|
|
6436
6477
|
}
|
|
6437
|
-
function
|
|
6438
|
-
return m(
|
|
6478
|
+
function mn(t) {
|
|
6479
|
+
return m(Ge(t));
|
|
6439
6480
|
}
|
|
6440
|
-
const
|
|
6481
|
+
const kn = {
|
|
6441
6482
|
name: "inline",
|
|
6442
6483
|
description: "Use `inline` to lay out content in a horizontal row.",
|
|
6443
6484
|
output: {
|
|
@@ -6522,7 +6563,7 @@ const mn = {
|
|
|
6522
6563
|
]
|
|
6523
6564
|
}
|
|
6524
6565
|
};
|
|
6525
|
-
function
|
|
6566
|
+
function Ze({
|
|
6526
6567
|
autocomplete: t,
|
|
6527
6568
|
description: n,
|
|
6528
6569
|
disabled: e,
|
|
@@ -6542,11 +6583,11 @@ function Ge({
|
|
|
6542
6583
|
const v = i.trim(), z = n?.trim(), M = t === !1 ? !1 : t?.trim(), S = d?.trim(), w = o?.trim(), x = g;
|
|
6543
6584
|
if (!v)
|
|
6544
6585
|
throw new Error("id must be a non-empty string.");
|
|
6545
|
-
if (!
|
|
6586
|
+
if (!N(v))
|
|
6546
6587
|
throw new Error(
|
|
6547
6588
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
6548
6589
|
);
|
|
6549
|
-
const E = z ? `${v}-description` : void 0, L = h === "numeric", A = L ? "text" : h, V = w || (L ? "^[0-9]*$" : void 0), q = c === void 0 && L ? !1 : c, I = !!e,
|
|
6590
|
+
const E = z ? `${v}-description` : void 0, L = h === "numeric", A = L ? "text" : h, V = w || (L ? "^[0-9]*$" : void 0), q = c === void 0 && L ? !1 : c, I = !!e, H = !I && !!s, $ = [
|
|
6550
6591
|
{
|
|
6551
6592
|
kind: "element",
|
|
6552
6593
|
tag: "label",
|
|
@@ -6558,7 +6599,7 @@ function Ge({
|
|
|
6558
6599
|
tag: "input",
|
|
6559
6600
|
attrs: {
|
|
6560
6601
|
"aria-describedby": E,
|
|
6561
|
-
"aria-invalid": !I && !
|
|
6602
|
+
"aria-invalid": !I && !H && !!r ? "true" : void 0,
|
|
6562
6603
|
autocomplete: M === !1 ? "off" : M || void 0,
|
|
6563
6604
|
class: "input",
|
|
6564
6605
|
disabled: I,
|
|
@@ -6566,7 +6607,7 @@ function Ge({
|
|
|
6566
6607
|
inputmode: L ? "numeric" : void 0,
|
|
6567
6608
|
name: S || void 0,
|
|
6568
6609
|
pattern: V,
|
|
6569
|
-
readonly:
|
|
6610
|
+
readonly: H,
|
|
6570
6611
|
required: !!p,
|
|
6571
6612
|
spellcheck: q === void 0 ? void 0 : String(q),
|
|
6572
6613
|
type: A,
|
|
@@ -6591,10 +6632,10 @@ function Ge({
|
|
|
6591
6632
|
children: $
|
|
6592
6633
|
};
|
|
6593
6634
|
}
|
|
6594
|
-
function
|
|
6595
|
-
return m(
|
|
6635
|
+
function gn(t) {
|
|
6636
|
+
return m(Ze(t));
|
|
6596
6637
|
}
|
|
6597
|
-
const
|
|
6638
|
+
const bn = {
|
|
6598
6639
|
name: "input",
|
|
6599
6640
|
description: "Use `input` to collect a single line of text from users.",
|
|
6600
6641
|
output: { element: "div", class: "set-input" },
|
|
@@ -6789,7 +6830,7 @@ const gn = {
|
|
|
6789
6830
|
}
|
|
6790
6831
|
]
|
|
6791
6832
|
}
|
|
6792
|
-
},
|
|
6833
|
+
}, Fe = "0 0 6714.6 1200", je = "0 0 600 1200", Ke = [
|
|
6793
6834
|
{ x: 0, y: 0 },
|
|
6794
6835
|
{ x: 300, y: 0 },
|
|
6795
6836
|
{ x: 150, y: 300 },
|
|
@@ -6798,11 +6839,11 @@ const gn = {
|
|
|
6798
6839
|
{ x: 300, y: 600 },
|
|
6799
6840
|
{ x: 150, y: 900 },
|
|
6800
6841
|
{ x: 450, y: 900 }
|
|
6801
|
-
],
|
|
6842
|
+
], Xe = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", Qe = 1163, Tt = () => ({
|
|
6802
6843
|
kind: "element",
|
|
6803
6844
|
tag: "g",
|
|
6804
6845
|
attrs: { class: "mark" },
|
|
6805
|
-
children:
|
|
6846
|
+
children: Ke.map(({ x: t, y: n }) => ({
|
|
6806
6847
|
kind: "element",
|
|
6807
6848
|
tag: "rect",
|
|
6808
6849
|
attrs: {
|
|
@@ -6813,19 +6854,19 @@ const gn = {
|
|
|
6813
6854
|
},
|
|
6814
6855
|
children: []
|
|
6815
6856
|
}))
|
|
6816
|
-
}),
|
|
6857
|
+
}), Ye = () => ({
|
|
6817
6858
|
kind: "element",
|
|
6818
6859
|
tag: "g",
|
|
6819
|
-
attrs: { class: "word", transform: `translate(${
|
|
6860
|
+
attrs: { class: "word", transform: `translate(${Qe} 0)` },
|
|
6820
6861
|
children: [
|
|
6821
6862
|
{
|
|
6822
6863
|
kind: "element",
|
|
6823
6864
|
tag: "path",
|
|
6824
|
-
attrs: { d:
|
|
6865
|
+
attrs: { d: Xe },
|
|
6825
6866
|
children: []
|
|
6826
6867
|
}
|
|
6827
6868
|
]
|
|
6828
|
-
}),
|
|
6869
|
+
}), _t = (t, n) => ({
|
|
6829
6870
|
kind: "element",
|
|
6830
6871
|
tag: "svg",
|
|
6831
6872
|
attrs: {
|
|
@@ -6835,13 +6876,13 @@ const gn = {
|
|
|
6835
6876
|
},
|
|
6836
6877
|
children: n
|
|
6837
6878
|
});
|
|
6838
|
-
function Ye() {
|
|
6839
|
-
return Dt(Ze, [_t(), Qe()]);
|
|
6840
|
-
}
|
|
6841
6879
|
function Je() {
|
|
6842
|
-
return
|
|
6880
|
+
return _t(Fe, [Tt(), Ye()]);
|
|
6843
6881
|
}
|
|
6844
|
-
function ti({
|
|
6882
|
+
function ti() {
|
|
6883
|
+
return _t(je, [Tt()]);
|
|
6884
|
+
}
|
|
6885
|
+
function ei({
|
|
6845
6886
|
animated: t,
|
|
6846
6887
|
id: n,
|
|
6847
6888
|
label: e,
|
|
@@ -6858,7 +6899,7 @@ function ti({
|
|
|
6858
6899
|
}
|
|
6859
6900
|
];
|
|
6860
6901
|
return o && s.push(
|
|
6861
|
-
a === "graphic" ?
|
|
6902
|
+
a === "graphic" ? ti() : Je()
|
|
6862
6903
|
), {
|
|
6863
6904
|
kind: "element",
|
|
6864
6905
|
tag: "div",
|
|
@@ -6873,10 +6914,10 @@ function ti({
|
|
|
6873
6914
|
children: s
|
|
6874
6915
|
};
|
|
6875
6916
|
}
|
|
6876
|
-
function
|
|
6877
|
-
return m(
|
|
6917
|
+
function vn(t) {
|
|
6918
|
+
return m(ei(t));
|
|
6878
6919
|
}
|
|
6879
|
-
const
|
|
6920
|
+
const fn = {
|
|
6880
6921
|
name: "logo",
|
|
6881
6922
|
description: "Use `logo` to display the brand mark.",
|
|
6882
6923
|
output: { element: "div", class: "set-logo" },
|
|
@@ -6964,7 +7005,7 @@ const vn = {
|
|
|
6964
7005
|
]
|
|
6965
7006
|
}
|
|
6966
7007
|
};
|
|
6967
|
-
function
|
|
7008
|
+
function ii({
|
|
6968
7009
|
banner: t,
|
|
6969
7010
|
centerMain: n,
|
|
6970
7011
|
children: e,
|
|
@@ -7005,10 +7046,10 @@ function ei({
|
|
|
7005
7046
|
children: l
|
|
7006
7047
|
};
|
|
7007
7048
|
}
|
|
7008
|
-
function
|
|
7009
|
-
return m(
|
|
7049
|
+
function yn(t) {
|
|
7050
|
+
return m(ii(t));
|
|
7010
7051
|
}
|
|
7011
|
-
const
|
|
7052
|
+
const wn = {
|
|
7012
7053
|
name: "page",
|
|
7013
7054
|
description: "Use `page` as the primary layout for header, main, and footer regions.",
|
|
7014
7055
|
output: { element: "div", class: "set-page" },
|
|
@@ -7098,7 +7139,7 @@ const yn = {
|
|
|
7098
7139
|
]
|
|
7099
7140
|
}
|
|
7100
7141
|
};
|
|
7101
|
-
function
|
|
7142
|
+
function ni({
|
|
7102
7143
|
children: t,
|
|
7103
7144
|
id: n,
|
|
7104
7145
|
padding: e = "md",
|
|
@@ -7117,10 +7158,10 @@ function ii({
|
|
|
7117
7158
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
7118
7159
|
};
|
|
7119
7160
|
}
|
|
7120
|
-
function
|
|
7121
|
-
return m(
|
|
7161
|
+
function Sn(t) {
|
|
7162
|
+
return m(ni(t));
|
|
7122
7163
|
}
|
|
7123
|
-
const
|
|
7164
|
+
const xn = {
|
|
7124
7165
|
name: "panel",
|
|
7125
7166
|
description: "Use `panel` to group related content in a contained region.",
|
|
7126
7167
|
output: { element: "div", class: "set-panel" },
|
|
@@ -7143,7 +7184,7 @@ const Sn = {
|
|
|
7143
7184
|
description: "Surface context.",
|
|
7144
7185
|
type: {
|
|
7145
7186
|
kind: "enum",
|
|
7146
|
-
values: ["default", "brand"
|
|
7187
|
+
values: ["default", "brand"]
|
|
7147
7188
|
}
|
|
7148
7189
|
}
|
|
7149
7190
|
},
|
|
@@ -7171,7 +7212,7 @@ const Sn = {
|
|
|
7171
7212
|
]
|
|
7172
7213
|
}
|
|
7173
7214
|
};
|
|
7174
|
-
function
|
|
7215
|
+
function ri({
|
|
7175
7216
|
children: t,
|
|
7176
7217
|
id: n,
|
|
7177
7218
|
size: e = "md",
|
|
@@ -7192,10 +7233,10 @@ function ni({
|
|
|
7192
7233
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
7193
7234
|
};
|
|
7194
7235
|
}
|
|
7195
|
-
function
|
|
7196
|
-
return m(
|
|
7236
|
+
function En(t = {}) {
|
|
7237
|
+
return m(ri(t));
|
|
7197
7238
|
}
|
|
7198
|
-
const
|
|
7239
|
+
const zn = {
|
|
7199
7240
|
name: "pattern",
|
|
7200
7241
|
description: "Use `pattern` to render repeated visual language components behind content.",
|
|
7201
7242
|
output: { element: "div", class: "set-pattern" },
|
|
@@ -7262,15 +7303,15 @@ const En = {
|
|
|
7262
7303
|
]
|
|
7263
7304
|
}
|
|
7264
7305
|
};
|
|
7265
|
-
function
|
|
7266
|
-
return
|
|
7306
|
+
function Ln(t) {
|
|
7307
|
+
return ne({
|
|
7267
7308
|
...t,
|
|
7268
7309
|
alt: "",
|
|
7269
7310
|
fit: "cover",
|
|
7270
7311
|
priority: !0
|
|
7271
7312
|
});
|
|
7272
7313
|
}
|
|
7273
|
-
function
|
|
7314
|
+
function ai({
|
|
7274
7315
|
children: t,
|
|
7275
7316
|
contentTheme: n,
|
|
7276
7317
|
id: e,
|
|
@@ -7302,10 +7343,10 @@ function ri({
|
|
|
7302
7343
|
children: o
|
|
7303
7344
|
};
|
|
7304
7345
|
}
|
|
7305
|
-
function
|
|
7306
|
-
return m(
|
|
7346
|
+
function Cn(t) {
|
|
7347
|
+
return m(ai(t));
|
|
7307
7348
|
}
|
|
7308
|
-
const
|
|
7349
|
+
const Mn = {
|
|
7309
7350
|
name: "poster",
|
|
7310
7351
|
description: "Use `poster` to layer content over background media.",
|
|
7311
7352
|
output: { element: "div", class: "set-poster" },
|
|
@@ -7376,7 +7417,7 @@ const Cn = {
|
|
|
7376
7417
|
]
|
|
7377
7418
|
}
|
|
7378
7419
|
};
|
|
7379
|
-
function
|
|
7420
|
+
function oi({
|
|
7380
7421
|
align: t = "start",
|
|
7381
7422
|
children: n,
|
|
7382
7423
|
hangingPunctuation: e,
|
|
@@ -7403,10 +7444,10 @@ function ai({
|
|
|
7403
7444
|
children: [{ kind: "raw", html: n }]
|
|
7404
7445
|
};
|
|
7405
7446
|
}
|
|
7406
|
-
function
|
|
7407
|
-
return m(
|
|
7447
|
+
function qn(t) {
|
|
7448
|
+
return m(oi(t));
|
|
7408
7449
|
}
|
|
7409
|
-
const
|
|
7450
|
+
const In = {
|
|
7410
7451
|
name: "prose",
|
|
7411
7452
|
description: "Use `prose` to style rich-text markup.",
|
|
7412
7453
|
output: { element: "div", class: "set-prose" },
|
|
@@ -7500,7 +7541,7 @@ const qn = {
|
|
|
7500
7541
|
]
|
|
7501
7542
|
}
|
|
7502
7543
|
};
|
|
7503
|
-
function
|
|
7544
|
+
function di({
|
|
7504
7545
|
description: t,
|
|
7505
7546
|
disabled: n,
|
|
7506
7547
|
id: e,
|
|
@@ -7516,7 +7557,7 @@ function oi({
|
|
|
7516
7557
|
const c = e.trim(), h = d.trim(), g = l?.trim();
|
|
7517
7558
|
if (!c)
|
|
7518
7559
|
throw new Error("id must be a non-empty string.");
|
|
7519
|
-
if (!
|
|
7560
|
+
if (!N(c))
|
|
7520
7561
|
throw new Error(
|
|
7521
7562
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
7522
7563
|
);
|
|
@@ -7582,7 +7623,7 @@ function oi({
|
|
|
7582
7623
|
children: L
|
|
7583
7624
|
};
|
|
7584
7625
|
});
|
|
7585
|
-
return
|
|
7626
|
+
return At({
|
|
7586
7627
|
children: m({
|
|
7587
7628
|
kind: "element",
|
|
7588
7629
|
tag: "div",
|
|
@@ -7600,10 +7641,10 @@ function oi({
|
|
|
7600
7641
|
legend: a
|
|
7601
7642
|
});
|
|
7602
7643
|
}
|
|
7603
|
-
function
|
|
7604
|
-
return m(
|
|
7644
|
+
function An(t) {
|
|
7645
|
+
return m(di(t));
|
|
7605
7646
|
}
|
|
7606
|
-
const
|
|
7647
|
+
const Tn = {
|
|
7607
7648
|
name: "radios",
|
|
7608
7649
|
description: "Use `radios` to let users select one option from a short list.",
|
|
7609
7650
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -7752,7 +7793,7 @@ const An = {
|
|
|
7752
7793
|
]
|
|
7753
7794
|
}
|
|
7754
7795
|
};
|
|
7755
|
-
function
|
|
7796
|
+
function si({
|
|
7756
7797
|
appOverscrollBehavior: t,
|
|
7757
7798
|
appRoot: n,
|
|
7758
7799
|
brand: e = "mnsp",
|
|
@@ -7779,10 +7820,10 @@ function di({
|
|
|
7779
7820
|
children: i ? [{ kind: "raw", html: i }] : []
|
|
7780
7821
|
};
|
|
7781
7822
|
}
|
|
7782
|
-
function
|
|
7783
|
-
return m(
|
|
7823
|
+
function _n(t) {
|
|
7824
|
+
return m(si(t));
|
|
7784
7825
|
}
|
|
7785
|
-
const
|
|
7826
|
+
const Dn = {
|
|
7786
7827
|
name: "root",
|
|
7787
7828
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
7788
7829
|
output: { element: "div", class: "set" },
|
|
@@ -7875,7 +7916,7 @@ const _n = {
|
|
|
7875
7916
|
]
|
|
7876
7917
|
}
|
|
7877
7918
|
};
|
|
7878
|
-
function
|
|
7919
|
+
function li({
|
|
7879
7920
|
align: t = "stretch",
|
|
7880
7921
|
as: n = "div",
|
|
7881
7922
|
children: e,
|
|
@@ -7897,10 +7938,10 @@ function si({
|
|
|
7897
7938
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
7898
7939
|
};
|
|
7899
7940
|
}
|
|
7900
|
-
function
|
|
7901
|
-
return m(
|
|
7941
|
+
function Vn(t) {
|
|
7942
|
+
return m(li(t));
|
|
7902
7943
|
}
|
|
7903
|
-
const
|
|
7944
|
+
const Nn = {
|
|
7904
7945
|
name: "stack",
|
|
7905
7946
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
7906
7947
|
output: {
|
|
@@ -7971,7 +8012,7 @@ const Vn = {
|
|
|
7971
8012
|
]
|
|
7972
8013
|
}
|
|
7973
8014
|
};
|
|
7974
|
-
function
|
|
8015
|
+
function pi({
|
|
7975
8016
|
children: t,
|
|
7976
8017
|
contentTheme: n,
|
|
7977
8018
|
id: e,
|
|
@@ -7991,9 +8032,9 @@ function li({
|
|
|
7991
8032
|
};
|
|
7992
8033
|
}
|
|
7993
8034
|
function Hn(t) {
|
|
7994
|
-
return m(
|
|
8035
|
+
return m(pi(t));
|
|
7995
8036
|
}
|
|
7996
|
-
const
|
|
8037
|
+
const Bn = {
|
|
7997
8038
|
name: "surface",
|
|
7998
8039
|
description: "Use `surface` to set a colour context for nested content.",
|
|
7999
8040
|
output: { element: "div", class: "set-surface" },
|
|
@@ -8017,7 +8058,7 @@ const Nn = {
|
|
|
8017
8058
|
description: "Surface context.",
|
|
8018
8059
|
type: {
|
|
8019
8060
|
kind: "enum",
|
|
8020
|
-
values: ["default", "brand"
|
|
8061
|
+
values: ["default", "brand"]
|
|
8021
8062
|
}
|
|
8022
8063
|
}
|
|
8023
8064
|
},
|
|
@@ -8045,7 +8086,7 @@ const Nn = {
|
|
|
8045
8086
|
]
|
|
8046
8087
|
}
|
|
8047
8088
|
};
|
|
8048
|
-
function
|
|
8089
|
+
function ci({
|
|
8049
8090
|
checked: t,
|
|
8050
8091
|
description: n,
|
|
8051
8092
|
disabled: e,
|
|
@@ -8101,10 +8142,10 @@ function pi({
|
|
|
8101
8142
|
children: c
|
|
8102
8143
|
};
|
|
8103
8144
|
}
|
|
8104
|
-
function
|
|
8105
|
-
return m(
|
|
8145
|
+
function On(t) {
|
|
8146
|
+
return m(ci(t));
|
|
8106
8147
|
}
|
|
8107
|
-
const
|
|
8148
|
+
const Pn = {
|
|
8108
8149
|
name: "switch",
|
|
8109
8150
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
8110
8151
|
output: { element: "div", class: "set-switch" },
|
|
@@ -8212,7 +8253,7 @@ const On = {
|
|
|
8212
8253
|
]
|
|
8213
8254
|
}
|
|
8214
8255
|
};
|
|
8215
|
-
function
|
|
8256
|
+
function ui({
|
|
8216
8257
|
autocomplete: t,
|
|
8217
8258
|
description: n,
|
|
8218
8259
|
disabled: e,
|
|
@@ -8232,7 +8273,7 @@ function ci({
|
|
|
8232
8273
|
const v = i.trim(), z = n?.trim(), M = t === !1 ? !1 : t?.trim(), S = d?.trim(), w = g;
|
|
8233
8274
|
if (!v)
|
|
8234
8275
|
throw new Error("id must be a non-empty string.");
|
|
8235
|
-
if (!
|
|
8276
|
+
if (!N(v))
|
|
8236
8277
|
throw new Error(
|
|
8237
8278
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
8238
8279
|
);
|
|
@@ -8281,10 +8322,10 @@ function ci({
|
|
|
8281
8322
|
children: V
|
|
8282
8323
|
};
|
|
8283
8324
|
}
|
|
8284
|
-
function
|
|
8285
|
-
return m(
|
|
8325
|
+
function Rn(t) {
|
|
8326
|
+
return m(ui(t));
|
|
8286
8327
|
}
|
|
8287
|
-
const
|
|
8328
|
+
const Wn = {
|
|
8288
8329
|
name: "textarea",
|
|
8289
8330
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
8290
8331
|
output: { element: "div", class: "set-textarea" },
|
|
@@ -8473,169 +8514,169 @@ const Rn = {
|
|
|
8473
8514
|
]
|
|
8474
8515
|
}
|
|
8475
8516
|
};
|
|
8476
|
-
function
|
|
8477
|
-
|
|
8517
|
+
function Un() {
|
|
8518
|
+
Qt(), ee(), re(), se(), pe(), me(), ge(), ye(), xe();
|
|
8478
8519
|
}
|
|
8479
8520
|
export {
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8521
|
+
Et as SET_ALERT_EVENT_BEFORE_DISMISS,
|
|
8522
|
+
zt as SET_ALERT_EVENT_DISMISS,
|
|
8523
|
+
vi as SET_ALERT_SPEC,
|
|
8483
8524
|
Z as SET_ALERT_TAG_NAME,
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8525
|
+
Bi as SET_AVATAR_SPEC,
|
|
8526
|
+
Pi as SET_BADGE_SPEC,
|
|
8527
|
+
Ct as SET_BANNER_EVENT_BEFORE_DISMISS,
|
|
8528
|
+
Mt as SET_BANNER_EVENT_DISMISS,
|
|
8529
|
+
Si as SET_BANNER_SPEC,
|
|
8489
8530
|
F as SET_BANNER_TAG_NAME,
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8531
|
+
$i as SET_BLOCKQUOTE_SPEC,
|
|
8532
|
+
Zi as SET_BOX_SPEC,
|
|
8533
|
+
gi as SET_BUTTON_SPEC,
|
|
8534
|
+
ji as SET_CARD_SPEC,
|
|
8535
|
+
Xi as SET_CHECKBOX_SPEC,
|
|
8536
|
+
Yi as SET_CONTAINER_SPEC,
|
|
8537
|
+
tn as SET_DETAILS_SPEC,
|
|
8538
|
+
nn as SET_DIVIDER_SPEC,
|
|
8539
|
+
Mi as SET_EXPANDER_SPEC,
|
|
8540
|
+
an as SET_FIELDSET_SPEC,
|
|
8541
|
+
dn as SET_FIGURE_SPEC,
|
|
8542
|
+
cn as SET_GRID_ITEM_SPEC,
|
|
8543
|
+
pn as SET_GRID_SPEC,
|
|
8544
|
+
hn as SET_HEADING_SPEC,
|
|
8545
|
+
hi as SET_ICON_NAMES,
|
|
8546
|
+
mi as SET_ICON_SPEC,
|
|
8547
|
+
xi as SET_IMAGE_SPEC,
|
|
8507
8548
|
K as SET_IMAGE_TAG_NAME,
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8549
|
+
kn as SET_INLINE_SPEC,
|
|
8550
|
+
bn as SET_INPUT_SPEC,
|
|
8551
|
+
qt as SET_LIGHTSWITCH_EVENT_CHANGE,
|
|
8552
|
+
zi as SET_LIGHTSWITCH_SPEC,
|
|
8512
8553
|
st as SET_LIGHTSWITCH_STORAGE_KEY,
|
|
8513
8554
|
X as SET_LIGHTSWITCH_TAG_NAME,
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8555
|
+
yi as SET_LINK_SPEC,
|
|
8556
|
+
fn as SET_LOGO_SPEC,
|
|
8557
|
+
It as SET_MENU_EVENT_CHOOSE,
|
|
8558
|
+
Ci as SET_MENU_SPEC,
|
|
8518
8559
|
Q as SET_MENU_TAG_NAME,
|
|
8519
|
-
|
|
8560
|
+
Ii as SET_NAV_SPEC,
|
|
8520
8561
|
Y as SET_NAV_TAG_NAME,
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8562
|
+
wn as SET_PAGE_SPEC,
|
|
8563
|
+
xn as SET_PANEL_SPEC,
|
|
8564
|
+
zn as SET_PATTERN_SPEC,
|
|
8565
|
+
Mn as SET_POSTER_SPEC,
|
|
8566
|
+
In as SET_PROSE_SPEC,
|
|
8567
|
+
Tn as SET_RADIOS_SPEC,
|
|
8568
|
+
Ti as SET_RANGE_SPEC,
|
|
8528
8569
|
J as SET_RANGE_TAG_NAME,
|
|
8529
|
-
|
|
8530
|
-
|
|
8570
|
+
Dn as SET_ROOT_SPEC,
|
|
8571
|
+
Di as SET_SIDEBAR_SPEC,
|
|
8531
8572
|
tt as SET_SIDEBAR_TAG_NAME,
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8573
|
+
ki as SET_SPINNER_SPEC,
|
|
8574
|
+
Nn as SET_STACK_SPEC,
|
|
8575
|
+
Bn as SET_SURFACE_SPEC,
|
|
8576
|
+
Pn as SET_SWITCH_SPEC,
|
|
8577
|
+
Wn as SET_TEXTAREA_SPEC,
|
|
8578
|
+
Wi as SET_TEXT_SPEC,
|
|
8579
|
+
Ni as SET_VIDEO_SPEC,
|
|
8539
8580
|
et as SET_VIDEO_TAG_NAME,
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8581
|
+
Zt as applySetButtonActivity,
|
|
8582
|
+
Xt as buildSetAlert,
|
|
8583
|
+
Te as buildSetAvatar,
|
|
8584
|
+
_e as buildSetBadge,
|
|
8585
|
+
te as buildSetBanner,
|
|
8586
|
+
De as buildSetBlockquote,
|
|
8587
|
+
Ve as buildSetBox,
|
|
8547
8588
|
ht as buildSetButton,
|
|
8548
|
-
|
|
8589
|
+
Ne as buildSetCard,
|
|
8549
8590
|
He as buildSetCheckbox,
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8591
|
+
Be as buildSetContainer,
|
|
8592
|
+
Oe as buildSetDetails,
|
|
8593
|
+
Pe as buildSetDivider,
|
|
8594
|
+
ce as buildSetExpander,
|
|
8595
|
+
At as buildSetFieldset,
|
|
8596
|
+
Re as buildSetFigure,
|
|
8597
|
+
We as buildSetGrid,
|
|
8598
|
+
Ue as buildSetGridItem,
|
|
8599
|
+
$e as buildSetHeading,
|
|
8559
8600
|
R as buildSetIcon,
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8601
|
+
ie as buildSetImage,
|
|
8602
|
+
Ge as buildSetInline,
|
|
8603
|
+
Ze as buildSetInput,
|
|
8604
|
+
de as buildSetLightswitch,
|
|
8605
|
+
Lt as buildSetLink,
|
|
8606
|
+
ei as buildSetLogo,
|
|
8607
|
+
le as buildSetMenu,
|
|
8608
|
+
he as buildSetNav,
|
|
8609
|
+
ii as buildSetPage,
|
|
8610
|
+
ni as buildSetPanel,
|
|
8611
|
+
ri as buildSetPattern,
|
|
8612
|
+
ai as buildSetPoster,
|
|
8613
|
+
oi as buildSetProse,
|
|
8614
|
+
di as buildSetRadios,
|
|
8615
|
+
ke as buildSetRange,
|
|
8616
|
+
si as buildSetRoot,
|
|
8617
|
+
fe as buildSetSidebar,
|
|
8618
|
+
$t as buildSetSpinner,
|
|
8619
|
+
li as buildSetStack,
|
|
8620
|
+
pi as buildSetSurface,
|
|
8621
|
+
ci as buildSetSwitch,
|
|
8581
8622
|
it as buildSetText,
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8623
|
+
ui as buildSetTextarea,
|
|
8624
|
+
we as buildSetVideo,
|
|
8625
|
+
Qt as defineSetAlert,
|
|
8626
|
+
ee as defineSetBanner,
|
|
8627
|
+
Un as defineSetComponents,
|
|
8628
|
+
re as defineSetImage,
|
|
8629
|
+
se as defineSetLightswitch,
|
|
8630
|
+
pe as defineSetMenu,
|
|
8631
|
+
me as defineSetNav,
|
|
8632
|
+
ge as defineSetRange,
|
|
8633
|
+
ye as defineSetSidebar,
|
|
8634
|
+
xe as defineSetVideo,
|
|
8635
|
+
Le as getSetInitials,
|
|
8636
|
+
bi as renderSetAlert,
|
|
8596
8637
|
Hi as renderSetAvatar,
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8638
|
+
Oi as renderSetBadge,
|
|
8639
|
+
wi as renderSetBanner,
|
|
8640
|
+
Ui as renderSetBlockquote,
|
|
8641
|
+
Gi as renderSetBox,
|
|
8601
8642
|
mt as renderSetButton,
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8643
|
+
Fi as renderSetCard,
|
|
8644
|
+
Ki as renderSetCheckbox,
|
|
8645
|
+
Qi as renderSetContainer,
|
|
8646
|
+
Ji as renderSetDetails,
|
|
8647
|
+
en as renderSetDivider,
|
|
8648
|
+
ue as renderSetExpander,
|
|
8649
|
+
rn as renderSetFieldset,
|
|
8650
|
+
on as renderSetFigure,
|
|
8651
|
+
sn as renderSetGrid,
|
|
8652
|
+
ln as renderSetGridItem,
|
|
8653
|
+
un as renderSetHeading,
|
|
8654
|
+
Ut as renderSetIcon,
|
|
8655
|
+
ne as renderSetImage,
|
|
8656
|
+
mn as renderSetInline,
|
|
8657
|
+
gn as renderSetInput,
|
|
8658
|
+
Ei as renderSetLightswitch,
|
|
8659
|
+
fi as renderSetLink,
|
|
8660
|
+
vn as renderSetLogo,
|
|
8661
|
+
Li as renderSetMenu,
|
|
8662
|
+
qi as renderSetNav,
|
|
8663
|
+
yn as renderSetPage,
|
|
8664
|
+
Sn as renderSetPanel,
|
|
8665
|
+
En as renderSetPattern,
|
|
8666
|
+
Cn as renderSetPoster,
|
|
8667
|
+
Ln as renderSetPosterImage,
|
|
8668
|
+
qn as renderSetProse,
|
|
8669
|
+
An as renderSetRadios,
|
|
8670
|
+
Ai as renderSetRange,
|
|
8671
|
+
_n as renderSetRoot,
|
|
8672
|
+
_i as renderSetSidebar,
|
|
8632
8673
|
bt as renderSetSpinner,
|
|
8633
|
-
|
|
8674
|
+
Vn as renderSetStack,
|
|
8634
8675
|
Hn as renderSetSurface,
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8676
|
+
On as renderSetSwitch,
|
|
8677
|
+
Ri as renderSetText,
|
|
8678
|
+
Rn as renderSetTextarea,
|
|
8679
|
+
Vi as renderSetVideo,
|
|
8639
8680
|
m as serializeSetNode
|
|
8640
8681
|
};
|
|
8641
8682
|
//# sourceMappingURL=index.js.map
|