pangea-lib 1.0.0 → 1.0.1
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/pangea.js +88 -90
- package/dist/pangea.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/pangea.js
CHANGED
|
@@ -15,7 +15,7 @@ function E3(c, a) {
|
|
|
15
15
|
}
|
|
16
16
|
return e;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function z(c) {
|
|
19
19
|
for (var a = 1; a < arguments.length; a++) {
|
|
20
20
|
var e = arguments[a] != null ? arguments[a] : {};
|
|
21
21
|
a % 2 ? E3(Object(e), !0).forEach(function(r) {
|
|
@@ -267,7 +267,7 @@ var g4 = {
|
|
|
267
267
|
showMissingIcons: !0
|
|
268
268
|
};
|
|
269
269
|
i1.familyPrefix && (i1.cssPrefix = i1.familyPrefix);
|
|
270
|
-
var c1 =
|
|
270
|
+
var c1 = z(z({}, g4), i1);
|
|
271
271
|
c1.autoReplaceSvg || (c1.observeMutations = !1);
|
|
272
272
|
var v = {};
|
|
273
273
|
Object.keys(g4).forEach(function(c) {
|
|
@@ -1222,7 +1222,7 @@ function j3(c) {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
function h2(c, a) {
|
|
1224
1224
|
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = e.skipHooks, i = r === void 0 ? !1 : r, f = j3(a);
|
|
1225
|
-
typeof F.hooks.addPack == "function" && !i ? F.hooks.addPack(c, j3(a)) : F.styles[c] =
|
|
1225
|
+
typeof F.hooks.addPack == "function" && !i ? F.hooks.addPack(c, j3(a)) : F.styles[c] = z(z({}, F.styles[c] || {}), f), c === "fas" && h2("fa", a);
|
|
1226
1226
|
}
|
|
1227
1227
|
var N1, S1, k1, K = F.styles, oi = F.shims, ti = (N1 = {}, x(N1, p, Object.values(o1[p])), x(N1, L, Object.values(o1[L])), N1), y2 = null, S4 = {}, k4 = {}, A4 = {}, w4 = {}, y4 = {}, mi = (S1 = {}, x(S1, p, Object.keys(l1[p])), x(S1, L, Object.keys(l1[L])), S1);
|
|
1228
1228
|
function zi(c) {
|
|
@@ -1335,10 +1335,10 @@ function R1(c) {
|
|
|
1335
1335
|
return Y3[L].includes(t);
|
|
1336
1336
|
})) && (l = L);
|
|
1337
1337
|
var n = c.reduce(function(t, o) {
|
|
1338
|
-
var
|
|
1338
|
+
var m = vi(v.cssPrefix, o);
|
|
1339
1339
|
if (K[o] ? (o = ti[l].includes(o) ? Ur[l][o] : o, s = o, t.prefix = o) : mi[l].indexOf(o) > -1 ? (s = o, t.prefix = D1(o, {
|
|
1340
1340
|
family: l
|
|
1341
|
-
})) :
|
|
1341
|
+
})) : m ? t.iconName = m : o !== v.replacementClass && o !== f[p] && o !== f[L] && t.rest.push(o), !i && t.prefix && t.iconName) {
|
|
1342
1342
|
var V = s === "fa" ? F4(t.iconName) : {}, M = j(t.prefix, t.iconName);
|
|
1343
1343
|
V.prefix && (s = null), t.iconName = V.iconName || M || t.iconName, t.prefix = V.prefix || t.prefix, t.prefix === "far" && !K.far && K.fas && !v.autoFetchSvg && (t.prefix = "fas");
|
|
1344
1344
|
}
|
|
@@ -1357,7 +1357,7 @@ var Vi = /* @__PURE__ */ function() {
|
|
|
1357
1357
|
i[f] = arguments[f];
|
|
1358
1358
|
var s = i.reduce(this._pullDefinitions, {});
|
|
1359
1359
|
Object.keys(s).forEach(function(l) {
|
|
1360
|
-
e.definitions[l] =
|
|
1360
|
+
e.definitions[l] = z(z({}, e.definitions[l] || {}), s[l]), h2(l, s[l]);
|
|
1361
1361
|
var n = o1[p][l];
|
|
1362
1362
|
n && h2(n, s[l]), P4();
|
|
1363
1363
|
});
|
|
@@ -1375,8 +1375,8 @@ var Vi = /* @__PURE__ */ function() {
|
|
|
1375
1375
|
} : r;
|
|
1376
1376
|
return Object.keys(i).map(function(f) {
|
|
1377
1377
|
var s = i[f], l = s.prefix, n = s.iconName, t = s.icon, o = t[2];
|
|
1378
|
-
e[l] || (e[l] = {}), o.length > 0 && o.forEach(function(
|
|
1379
|
-
typeof
|
|
1378
|
+
e[l] || (e[l] = {}), o.length > 0 && o.forEach(function(m) {
|
|
1379
|
+
typeof m == "string" && (e[l][m] = t);
|
|
1380
1380
|
}), e[l][n] = t;
|
|
1381
1381
|
}), e;
|
|
1382
1382
|
}
|
|
@@ -1514,7 +1514,7 @@ function gi(c) {
|
|
|
1514
1514
|
x: l / n / 2,
|
|
1515
1515
|
y: 0.5
|
|
1516
1516
|
};
|
|
1517
|
-
i.style = q1(
|
|
1517
|
+
i.style = q1(z(z({}, f), {}, {
|
|
1518
1518
|
"transform-origin": "".concat(t.x + s.x / 16, "em ").concat(t.y + s.y / 16, "em")
|
|
1519
1519
|
}));
|
|
1520
1520
|
}
|
|
@@ -1533,7 +1533,7 @@ function xi(c) {
|
|
|
1533
1533
|
},
|
|
1534
1534
|
children: [{
|
|
1535
1535
|
tag: "symbol",
|
|
1536
|
-
attributes:
|
|
1536
|
+
attributes: z(z({}, i), {}, {
|
|
1537
1537
|
id: s
|
|
1538
1538
|
}),
|
|
1539
1539
|
children: r
|
|
@@ -1541,21 +1541,21 @@ function xi(c) {
|
|
|
1541
1541
|
}];
|
|
1542
1542
|
}
|
|
1543
1543
|
function T2(c) {
|
|
1544
|
-
var a = c.icons, e = a.main, r = a.mask, i = c.prefix, f = c.iconName, s = c.transform, l = c.symbol, n = c.title, t = c.maskId, o = c.titleId,
|
|
1545
|
-
return
|
|
1544
|
+
var a = c.icons, e = a.main, r = a.mask, i = c.prefix, f = c.iconName, s = c.transform, l = c.symbol, n = c.title, t = c.maskId, o = c.titleId, m = c.extra, V = c.watchable, M = V === void 0 ? !1 : V, b = r.found ? r : e, N = b.width, k = b.height, H = i === "fak", h = [v.replacementClass, f ? "".concat(v.cssPrefix, "-").concat(f) : ""].filter(function(U) {
|
|
1545
|
+
return m.classes.indexOf(U) === -1;
|
|
1546
1546
|
}).filter(function(U) {
|
|
1547
1547
|
return U !== "" || !!U;
|
|
1548
|
-
}).concat(
|
|
1548
|
+
}).concat(m.classes).join(" "), C = {
|
|
1549
1549
|
children: [],
|
|
1550
|
-
attributes:
|
|
1550
|
+
attributes: z(z({}, m.attributes), {}, {
|
|
1551
1551
|
"data-prefix": i,
|
|
1552
1552
|
"data-icon": f,
|
|
1553
1553
|
class: h,
|
|
1554
|
-
role:
|
|
1554
|
+
role: m.attributes.role || "img",
|
|
1555
1555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1556
1556
|
viewBox: "0 0 ".concat(N, " ").concat(k)
|
|
1557
1557
|
})
|
|
1558
|
-
}, d = H && !~
|
|
1558
|
+
}, d = H && !~m.classes.indexOf("fa-fw") ? {
|
|
1559
1559
|
width: "".concat(N / k * 16 * 0.0625, "em")
|
|
1560
1560
|
} : {};
|
|
1561
1561
|
M && (C.attributes[Y] = ""), n && (C.children.push({
|
|
@@ -1565,7 +1565,7 @@ function T2(c) {
|
|
|
1565
1565
|
},
|
|
1566
1566
|
children: [n]
|
|
1567
1567
|
}), delete C.attributes.title);
|
|
1568
|
-
var g =
|
|
1568
|
+
var g = z(z({}, C), {}, {
|
|
1569
1569
|
prefix: i,
|
|
1570
1570
|
iconName: f,
|
|
1571
1571
|
main: e,
|
|
@@ -1573,7 +1573,7 @@ function T2(c) {
|
|
|
1573
1573
|
maskId: t,
|
|
1574
1574
|
transform: s,
|
|
1575
1575
|
symbol: l,
|
|
1576
|
-
styles:
|
|
1576
|
+
styles: z(z({}, d), m.styles)
|
|
1577
1577
|
}), T = r.found && e.found ? R("generateAbstractMask", g) || {
|
|
1578
1578
|
children: [],
|
|
1579
1579
|
attributes: {}
|
|
@@ -1584,21 +1584,21 @@ function T2(c) {
|
|
|
1584
1584
|
return g.children = y, g.attributes = r2, l ? xi(g) : gi(g);
|
|
1585
1585
|
}
|
|
1586
1586
|
function K3(c) {
|
|
1587
|
-
var a = c.content, e = c.width, r = c.height, i = c.transform, f = c.title, s = c.extra, l = c.watchable, n = l === void 0 ? !1 : l, t =
|
|
1587
|
+
var a = c.content, e = c.width, r = c.height, i = c.transform, f = c.title, s = c.extra, l = c.watchable, n = l === void 0 ? !1 : l, t = z(z(z({}, s.attributes), f ? {
|
|
1588
1588
|
title: f
|
|
1589
1589
|
} : {}), {}, {
|
|
1590
1590
|
class: s.classes.join(" ")
|
|
1591
1591
|
});
|
|
1592
1592
|
n && (t[Y] = "");
|
|
1593
|
-
var o =
|
|
1593
|
+
var o = z({}, s.styles);
|
|
1594
1594
|
w2(i) && (o.transform = ai({
|
|
1595
1595
|
transform: i,
|
|
1596
1596
|
startCentered: !0,
|
|
1597
1597
|
width: e,
|
|
1598
1598
|
height: r
|
|
1599
1599
|
}), o["-webkit-transform"] = o.transform);
|
|
1600
|
-
var
|
|
1601
|
-
|
|
1600
|
+
var m = q1(o);
|
|
1601
|
+
m.length > 0 && (t.style = m);
|
|
1602
1602
|
var V = [];
|
|
1603
1603
|
return V.push({
|
|
1604
1604
|
tag: "span",
|
|
@@ -1613,7 +1613,7 @@ function K3(c) {
|
|
|
1613
1613
|
}), V;
|
|
1614
1614
|
}
|
|
1615
1615
|
function bi(c) {
|
|
1616
|
-
var a = c.content, e = c.title, r = c.extra, i =
|
|
1616
|
+
var a = c.content, e = c.title, r = c.extra, i = z(z(z({}, r.attributes), e ? {
|
|
1617
1617
|
title: e
|
|
1618
1618
|
} : {}), {}, {
|
|
1619
1619
|
class: r.classes.join(" ")
|
|
@@ -1687,7 +1687,7 @@ function p2(c, a) {
|
|
|
1687
1687
|
var s = l2[a][c];
|
|
1688
1688
|
return r(C2(s));
|
|
1689
1689
|
}
|
|
1690
|
-
Si(c, a), r(
|
|
1690
|
+
Si(c, a), r(z(z({}, Ni), {}, {
|
|
1691
1691
|
icon: v.showMissingIcons && c ? R("missingIconAbstract") || {} : {}
|
|
1692
1692
|
}));
|
|
1693
1693
|
});
|
|
@@ -1811,13 +1811,13 @@ function a4(c) {
|
|
|
1811
1811
|
F1 = new W3(function(t) {
|
|
1812
1812
|
if (!q2) {
|
|
1813
1813
|
var o = W();
|
|
1814
|
-
e1(t).forEach(function(
|
|
1815
|
-
if (
|
|
1816
|
-
if (
|
|
1817
|
-
var V = R1(A2(
|
|
1818
|
-
|
|
1814
|
+
e1(t).forEach(function(m) {
|
|
1815
|
+
if (m.type === "childList" && m.addedNodes.length > 0 && !J3(m.addedNodes[0]) && (v.searchPseudoElements && s(m.target), e(m.target)), m.type === "attributes" && m.target.parentNode && v.searchPseudoElements && s(m.target.parentNode), m.type === "attributes" && J3(m.target) && ~Ir.indexOf(m.attributeName))
|
|
1816
|
+
if (m.attributeName === "class" && Ai(m.target)) {
|
|
1817
|
+
var V = R1(A2(m.target)), M = V.prefix, b = V.iconName;
|
|
1818
|
+
m.target.setAttribute(N2, M || o), b && m.target.setAttribute(S2, b);
|
|
1819
1819
|
} else
|
|
1820
|
-
wi(
|
|
1820
|
+
wi(m.target) && i(m.target);
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
1823
|
}), E && F1.observe(n, {
|
|
@@ -1873,7 +1873,7 @@ function e4(c) {
|
|
|
1873
1873
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
1874
1874
|
styleParser: !0
|
|
1875
1875
|
}, e = Di(c), r = e.iconName, i = e.prefix, f = e.rest, s = Ri(c), l = V2("parseNodeAttributes", {}, c), n = a.styleParser ? qi(c) : [];
|
|
1876
|
-
return
|
|
1876
|
+
return z({
|
|
1877
1877
|
iconName: r,
|
|
1878
1878
|
title: c.getAttribute("title"),
|
|
1879
1879
|
titleId: c.getAttribute("data-fa-title-id"),
|
|
@@ -1911,10 +1911,10 @@ function r4(c) {
|
|
|
1911
1911
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1912
1912
|
if (!E)
|
|
1913
1913
|
return Promise.resolve();
|
|
1914
|
-
var e = u.documentElement.classList, r = function(
|
|
1915
|
-
return e.add("".concat(I3, "-").concat(
|
|
1916
|
-
}, i = function(
|
|
1917
|
-
return e.remove("".concat(I3, "-").concat(
|
|
1914
|
+
var e = u.documentElement.classList, r = function(m) {
|
|
1915
|
+
return e.add("".concat(I3, "-").concat(m));
|
|
1916
|
+
}, i = function(m) {
|
|
1917
|
+
return e.remove("".concat(I3, "-").concat(m));
|
|
1918
1918
|
}, f = v.autoFetchSvg ? I : k2.map(function(o) {
|
|
1919
1919
|
return "fa-".concat(o);
|
|
1920
1920
|
}).concat(Object.keys(Ui));
|
|
@@ -1933,22 +1933,22 @@ function r4(c) {
|
|
|
1933
1933
|
r("pending"), i("complete");
|
|
1934
1934
|
else
|
|
1935
1935
|
return Promise.resolve();
|
|
1936
|
-
var n = B2.begin("onTree"), t = l.reduce(function(o,
|
|
1936
|
+
var n = B2.begin("onTree"), t = l.reduce(function(o, m) {
|
|
1937
1937
|
try {
|
|
1938
|
-
var V = E4(
|
|
1938
|
+
var V = E4(m);
|
|
1939
1939
|
V && o.push(V);
|
|
1940
1940
|
} catch (M) {
|
|
1941
1941
|
u4 || M.name === "MissingIcon" && console.error(M);
|
|
1942
1942
|
}
|
|
1943
1943
|
return o;
|
|
1944
1944
|
}, []);
|
|
1945
|
-
return new Promise(function(o,
|
|
1945
|
+
return new Promise(function(o, m) {
|
|
1946
1946
|
Promise.all(t).then(function(V) {
|
|
1947
1947
|
D4(V, function() {
|
|
1948
1948
|
r("active"), r("complete"), i("pending"), typeof a == "function" && a(), n(), o();
|
|
1949
1949
|
});
|
|
1950
1950
|
}).catch(function(V) {
|
|
1951
|
-
n(),
|
|
1951
|
+
n(), m(V);
|
|
1952
1952
|
});
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
@@ -1961,16 +1961,16 @@ function Gi(c) {
|
|
|
1961
1961
|
function $i(c) {
|
|
1962
1962
|
return function(a) {
|
|
1963
1963
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (a || {}).icon ? a : M2(a || {}), i = e.mask;
|
|
1964
|
-
return i && (i = (i || {}).icon ? i : M2(i || {})), c(r,
|
|
1964
|
+
return i && (i = (i || {}).icon ? i : M2(i || {})), c(r, z(z({}, e), {}, {
|
|
1965
1965
|
mask: i
|
|
1966
1966
|
}));
|
|
1967
1967
|
};
|
|
1968
1968
|
}
|
|
1969
1969
|
var Oi = function(a) {
|
|
1970
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.transform, i = r === void 0 ? B : r, f = e.symbol, s = f === void 0 ? !1 : f, l = e.mask, n = l === void 0 ? null : l, t = e.maskId, o = t === void 0 ? null : t,
|
|
1970
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.transform, i = r === void 0 ? B : r, f = e.symbol, s = f === void 0 ? !1 : f, l = e.mask, n = l === void 0 ? null : l, t = e.maskId, o = t === void 0 ? null : t, m = e.title, V = m === void 0 ? null : m, M = e.titleId, b = M === void 0 ? null : M, N = e.classes, k = N === void 0 ? [] : N, H = e.attributes, h = H === void 0 ? {} : H, C = e.styles, d = C === void 0 ? {} : C;
|
|
1971
1971
|
if (a) {
|
|
1972
1972
|
var g = a.prefix, T = a.iconName, y = a.icon;
|
|
1973
|
-
return E1(
|
|
1973
|
+
return E1(z({
|
|
1974
1974
|
type: "icon"
|
|
1975
1975
|
}, a), function() {
|
|
1976
1976
|
return X("beforeDOMElementCreation", {
|
|
@@ -1988,7 +1988,7 @@ var Oi = function(a) {
|
|
|
1988
1988
|
},
|
|
1989
1989
|
prefix: g,
|
|
1990
1990
|
iconName: T,
|
|
1991
|
-
transform:
|
|
1991
|
+
transform: z(z({}, B), i),
|
|
1992
1992
|
symbol: s,
|
|
1993
1993
|
title: V,
|
|
1994
1994
|
maskId: o,
|
|
@@ -2020,7 +2020,7 @@ var Oi = function(a) {
|
|
|
2020
2020
|
} : f;
|
|
2021
2021
|
return r4(i, s);
|
|
2022
2022
|
}, a.generateSvgReplacementMutation = function(e, r) {
|
|
2023
|
-
var i = r.iconName, f = r.title, s = r.titleId, l = r.prefix, n = r.transform, t = r.symbol, o = r.mask,
|
|
2023
|
+
var i = r.iconName, f = r.title, s = r.titleId, l = r.prefix, n = r.transform, t = r.symbol, o = r.mask, m = r.maskId, V = r.extra;
|
|
2024
2024
|
return new Promise(function(M, b) {
|
|
2025
2025
|
Promise.all([p2(i, l), o.iconName ? p2(o.iconName, o.prefix) : Promise.resolve({
|
|
2026
2026
|
found: !1,
|
|
@@ -2038,7 +2038,7 @@ var Oi = function(a) {
|
|
|
2038
2038
|
iconName: i,
|
|
2039
2039
|
transform: n,
|
|
2040
2040
|
symbol: t,
|
|
2041
|
-
maskId:
|
|
2041
|
+
maskId: m,
|
|
2042
2042
|
title: f,
|
|
2043
2043
|
titleId: s,
|
|
2044
2044
|
extra: V,
|
|
@@ -2093,7 +2093,7 @@ var Oi = function(a) {
|
|
|
2093
2093
|
mixout: function() {
|
|
2094
2094
|
return {
|
|
2095
2095
|
counter: function(e) {
|
|
2096
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.title, f = i === void 0 ? null : i, s = r.classes, l = s === void 0 ? [] : s, n = r.attributes, t = n === void 0 ? {} : n, o = r.styles,
|
|
2096
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.title, f = i === void 0 ? null : i, s = r.classes, l = s === void 0 ? [] : s, n = r.attributes, t = n === void 0 ? {} : n, o = r.styles, m = o === void 0 ? {} : o;
|
|
2097
2097
|
return E1({
|
|
2098
2098
|
type: "counter",
|
|
2099
2099
|
content: e
|
|
@@ -2106,7 +2106,7 @@ var Oi = function(a) {
|
|
|
2106
2106
|
title: f,
|
|
2107
2107
|
extra: {
|
|
2108
2108
|
attributes: t,
|
|
2109
|
-
styles:
|
|
2109
|
+
styles: m,
|
|
2110
2110
|
classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(z1(l))
|
|
2111
2111
|
}
|
|
2112
2112
|
});
|
|
@@ -2118,7 +2118,7 @@ var Oi = function(a) {
|
|
|
2118
2118
|
mixout: function() {
|
|
2119
2119
|
return {
|
|
2120
2120
|
text: function(e) {
|
|
2121
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.transform, f = i === void 0 ? B : i, s = r.title, l = s === void 0 ? null : s, n = r.classes, t = n === void 0 ? [] : n, o = r.attributes,
|
|
2121
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.transform, f = i === void 0 ? B : i, s = r.title, l = s === void 0 ? null : s, n = r.classes, t = n === void 0 ? [] : n, o = r.attributes, m = o === void 0 ? {} : o, V = r.styles, M = V === void 0 ? {} : V;
|
|
2122
2122
|
return E1({
|
|
2123
2123
|
type: "text",
|
|
2124
2124
|
content: e
|
|
@@ -2128,10 +2128,10 @@ var Oi = function(a) {
|
|
|
2128
2128
|
params: r
|
|
2129
2129
|
}), K3({
|
|
2130
2130
|
content: e,
|
|
2131
|
-
transform:
|
|
2131
|
+
transform: z(z({}, B), f),
|
|
2132
2132
|
title: l,
|
|
2133
2133
|
extra: {
|
|
2134
|
-
attributes:
|
|
2134
|
+
attributes: m,
|
|
2135
2135
|
styles: M,
|
|
2136
2136
|
classes: ["".concat(v.cssPrefix, "-layers-text")].concat(z1(t))
|
|
2137
2137
|
}
|
|
@@ -2177,7 +2177,7 @@ function f4(c, a) {
|
|
|
2177
2177
|
if (s && !n)
|
|
2178
2178
|
return c.removeChild(s), r();
|
|
2179
2179
|
if (n && o !== "none" && o !== "") {
|
|
2180
|
-
var
|
|
2180
|
+
var m = l.getPropertyValue("content"), V = ~["Sharp"].indexOf(n[2]) ? L : p, M = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(n[2]) ? n1[V][n[2].toLowerCase()] : Or[V][t], b = Yi(m), N = b.value, k = b.isSecondary, H = n[0].startsWith("FontAwesome"), h = P2(M, N), C = h;
|
|
2181
2181
|
if (H) {
|
|
2182
2182
|
var d = hi(N);
|
|
2183
2183
|
d.iconName && d.prefix && (h = d.iconName, M = d.prefix);
|
|
@@ -2186,7 +2186,7 @@ function f4(c, a) {
|
|
|
2186
2186
|
c.setAttribute(e, C), s && c.removeChild(s);
|
|
2187
2187
|
var g = Ei(), T = g.extra;
|
|
2188
2188
|
T.attributes[v2] = a, p2(h, M).then(function(y) {
|
|
2189
|
-
var r2 = T2(
|
|
2189
|
+
var r2 = T2(z(z({}, g), {}, {
|
|
2190
2190
|
icons: {
|
|
2191
2191
|
main: y,
|
|
2192
2192
|
mask: F2()
|
|
@@ -2328,25 +2328,25 @@ var Qi = {
|
|
|
2328
2328
|
a.generateAbstractTransformGrouping = function(e) {
|
|
2329
2329
|
var r = e.main, i = e.transform, f = e.containerWidth, s = e.iconWidth, l = {
|
|
2330
2330
|
transform: "translate(".concat(f / 2, " 256)")
|
|
2331
|
-
}, n = "translate(".concat(i.x * 32, ", ").concat(i.y * 32, ") "), t = "scale(".concat(i.size / 16 * (i.flipX ? -1 : 1), ", ").concat(i.size / 16 * (i.flipY ? -1 : 1), ") "), o = "rotate(".concat(i.rotate, " 0 0)"),
|
|
2331
|
+
}, n = "translate(".concat(i.x * 32, ", ").concat(i.y * 32, ") "), t = "scale(".concat(i.size / 16 * (i.flipX ? -1 : 1), ", ").concat(i.size / 16 * (i.flipY ? -1 : 1), ") "), o = "rotate(".concat(i.rotate, " 0 0)"), m = {
|
|
2332
2332
|
transform: "".concat(n, " ").concat(t, " ").concat(o)
|
|
2333
2333
|
}, V = {
|
|
2334
2334
|
transform: "translate(".concat(s / 2 * -1, " -256)")
|
|
2335
2335
|
}, M = {
|
|
2336
2336
|
outer: l,
|
|
2337
|
-
inner:
|
|
2337
|
+
inner: m,
|
|
2338
2338
|
path: V
|
|
2339
2339
|
};
|
|
2340
2340
|
return {
|
|
2341
2341
|
tag: "g",
|
|
2342
|
-
attributes:
|
|
2342
|
+
attributes: z({}, M.outer),
|
|
2343
2343
|
children: [{
|
|
2344
2344
|
tag: "g",
|
|
2345
|
-
attributes:
|
|
2345
|
+
attributes: z({}, M.inner),
|
|
2346
2346
|
children: [{
|
|
2347
2347
|
tag: r.icon.tag,
|
|
2348
2348
|
children: r.icon.children,
|
|
2349
|
-
attributes:
|
|
2349
|
+
attributes: z(z({}, r.icon.attributes), M.path)
|
|
2350
2350
|
}]
|
|
2351
2351
|
}]
|
|
2352
2352
|
};
|
|
@@ -2378,31 +2378,31 @@ var ef = {
|
|
|
2378
2378
|
},
|
|
2379
2379
|
provides: function(a) {
|
|
2380
2380
|
a.generateAbstractMask = function(e) {
|
|
2381
|
-
var r = e.children, i = e.attributes, f = e.main, s = e.mask, l = e.maskId, n = e.transform, t = f.width, o = f.icon,
|
|
2381
|
+
var r = e.children, i = e.attributes, f = e.main, s = e.mask, l = e.maskId, n = e.transform, t = f.width, o = f.icon, m = s.width, V = s.icon, M = ci({
|
|
2382
2382
|
transform: n,
|
|
2383
|
-
containerWidth:
|
|
2383
|
+
containerWidth: m,
|
|
2384
2384
|
iconWidth: t
|
|
2385
2385
|
}), b = {
|
|
2386
2386
|
tag: "rect",
|
|
2387
|
-
attributes:
|
|
2387
|
+
attributes: z(z({}, n2), {}, {
|
|
2388
2388
|
fill: "white"
|
|
2389
2389
|
})
|
|
2390
2390
|
}, N = o.children ? {
|
|
2391
2391
|
children: o.children.map(o4)
|
|
2392
2392
|
} : {}, k = {
|
|
2393
2393
|
tag: "g",
|
|
2394
|
-
attributes:
|
|
2395
|
-
children: [o4(
|
|
2394
|
+
attributes: z({}, M.inner),
|
|
2395
|
+
children: [o4(z({
|
|
2396
2396
|
tag: o.tag,
|
|
2397
|
-
attributes:
|
|
2397
|
+
attributes: z(z({}, o.attributes), M.path)
|
|
2398
2398
|
}, N))]
|
|
2399
2399
|
}, H = {
|
|
2400
2400
|
tag: "g",
|
|
2401
|
-
attributes:
|
|
2401
|
+
attributes: z({}, M.outer),
|
|
2402
2402
|
children: [k]
|
|
2403
2403
|
}, h = "mask-".concat(l || m1()), C = "clip-".concat(l || m1()), d = {
|
|
2404
2404
|
tag: "mask",
|
|
2405
|
-
attributes:
|
|
2405
|
+
attributes: z(z({}, n2), {}, {
|
|
2406
2406
|
id: h,
|
|
2407
2407
|
maskUnits: "userSpaceOnUse",
|
|
2408
2408
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -2420,7 +2420,7 @@ var ef = {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
return r.push(g, {
|
|
2422
2422
|
tag: "rect",
|
|
2423
|
-
attributes:
|
|
2423
|
+
attributes: z({
|
|
2424
2424
|
fill: "currentColor",
|
|
2425
2425
|
"clip-path": "url(#".concat(C, ")"),
|
|
2426
2426
|
mask: "url(#".concat(h, ")")
|
|
@@ -2444,15 +2444,15 @@ var ef = {
|
|
|
2444
2444
|
};
|
|
2445
2445
|
r.push({
|
|
2446
2446
|
tag: "path",
|
|
2447
|
-
attributes:
|
|
2447
|
+
attributes: z(z({}, i), {}, {
|
|
2448
2448
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
2449
2449
|
})
|
|
2450
2450
|
});
|
|
2451
|
-
var s =
|
|
2451
|
+
var s = z(z({}, f), {}, {
|
|
2452
2452
|
attributeName: "opacity"
|
|
2453
2453
|
}), l = {
|
|
2454
2454
|
tag: "circle",
|
|
2455
|
-
attributes:
|
|
2455
|
+
attributes: z(z({}, i), {}, {
|
|
2456
2456
|
cx: "256",
|
|
2457
2457
|
cy: "364",
|
|
2458
2458
|
r: "28"
|
|
@@ -2461,36 +2461,36 @@ var ef = {
|
|
|
2461
2461
|
};
|
|
2462
2462
|
return e || l.children.push({
|
|
2463
2463
|
tag: "animate",
|
|
2464
|
-
attributes:
|
|
2464
|
+
attributes: z(z({}, f), {}, {
|
|
2465
2465
|
attributeName: "r",
|
|
2466
2466
|
values: "28;14;28;28;14;28;"
|
|
2467
2467
|
})
|
|
2468
2468
|
}, {
|
|
2469
2469
|
tag: "animate",
|
|
2470
|
-
attributes:
|
|
2470
|
+
attributes: z(z({}, s), {}, {
|
|
2471
2471
|
values: "1;0;1;1;0;1;"
|
|
2472
2472
|
})
|
|
2473
2473
|
}), r.push(l), r.push({
|
|
2474
2474
|
tag: "path",
|
|
2475
|
-
attributes:
|
|
2475
|
+
attributes: z(z({}, i), {}, {
|
|
2476
2476
|
opacity: "1",
|
|
2477
2477
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
2478
2478
|
}),
|
|
2479
2479
|
children: e ? [] : [{
|
|
2480
2480
|
tag: "animate",
|
|
2481
|
-
attributes:
|
|
2481
|
+
attributes: z(z({}, s), {}, {
|
|
2482
2482
|
values: "1;0;0;0;0;1;"
|
|
2483
2483
|
})
|
|
2484
2484
|
}]
|
|
2485
2485
|
}), e || r.push({
|
|
2486
2486
|
tag: "path",
|
|
2487
|
-
attributes:
|
|
2487
|
+
attributes: z(z({}, i), {}, {
|
|
2488
2488
|
opacity: "0",
|
|
2489
2489
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
2490
2490
|
}),
|
|
2491
2491
|
children: [{
|
|
2492
2492
|
tag: "animate",
|
|
2493
|
-
attributes:
|
|
2493
|
+
attributes: z(z({}, s), {}, {
|
|
2494
2494
|
values: "0;0;1;1;0;0;"
|
|
2495
2495
|
})
|
|
2496
2496
|
}]
|
|
@@ -2634,7 +2634,7 @@ var Mf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2634
2634
|
(function(c) {
|
|
2635
2635
|
(function(a) {
|
|
2636
2636
|
var e = function(H, h, C) {
|
|
2637
|
-
if (!t(h) ||
|
|
2637
|
+
if (!t(h) || m(h) || V(h) || M(h) || n(h))
|
|
2638
2638
|
return h;
|
|
2639
2639
|
var d, g = 0, T = 0;
|
|
2640
2640
|
if (o(h))
|
|
@@ -2665,7 +2665,7 @@ var Mf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2665
2665
|
return H === Object(H);
|
|
2666
2666
|
}, o = function(H) {
|
|
2667
2667
|
return l.call(H) == "[object Array]";
|
|
2668
|
-
},
|
|
2668
|
+
}, m = function(H) {
|
|
2669
2669
|
return l.call(H) == "[object Date]";
|
|
2670
2670
|
}, V = function(H) {
|
|
2671
2671
|
return l.call(H) == "[object RegExp]";
|
|
@@ -13901,11 +13901,8 @@ const nI = /* @__PURE__ */ a1({
|
|
|
13901
13901
|
}
|
|
13902
13902
|
}), oI = ["textContent"], tI = /* @__PURE__ */ a1({
|
|
13903
13903
|
__name: "PgaDisplayString",
|
|
13904
|
-
props: {
|
|
13905
|
-
text: { type: [String, Function] }
|
|
13906
|
-
},
|
|
13907
13904
|
setup(c) {
|
|
13908
|
-
const a =
|
|
13905
|
+
const a = defineModel({ required: !0 }), e = S(() => typeof a.value == "string" ? a.value : a.value());
|
|
13909
13906
|
return (r, i) => ($(), Z("span", {
|
|
13910
13907
|
textContent: t2(e.value)
|
|
13911
13908
|
}, null, 8, oI));
|
|
@@ -13944,19 +13941,20 @@ const nI = /* @__PURE__ */ a1({
|
|
|
13944
13941
|
return (t, o) => ($(), Z("div", mI, [
|
|
13945
13942
|
e.label ? ($(), Z("label", zI, [
|
|
13946
13943
|
q3(tI, {
|
|
13947
|
-
|
|
13948
|
-
|
|
13944
|
+
modelValue: e.label,
|
|
13945
|
+
"onUpdate:modelValue": o[0] || (o[0] = (m) => e.label = m)
|
|
13946
|
+
}, null, 8, ["modelValue"])
|
|
13949
13947
|
])) : i2("", !0),
|
|
13950
13948
|
D3("div", vI, [
|
|
13951
13949
|
gr(D3("select", {
|
|
13952
13950
|
class: xr(["pga-select--select", l.value]),
|
|
13953
|
-
"onUpdate:modelValue": o[
|
|
13951
|
+
"onUpdate:modelValue": o[1] || (o[1] = (m) => i.value = m),
|
|
13954
13952
|
disabled: e.disabled || s.value
|
|
13955
13953
|
}, [
|
|
13956
|
-
($(!0), Z(br, null, Nr(e.options, (
|
|
13957
|
-
key:
|
|
13958
|
-
value:
|
|
13959
|
-
textContent: t2(e.reduceNameFunction(
|
|
13954
|
+
($(!0), Z(br, null, Nr(e.options, (m) => ($(), Z("option", {
|
|
13955
|
+
key: m.id,
|
|
13956
|
+
value: m.id,
|
|
13957
|
+
textContent: t2(e.reduceNameFunction(m))
|
|
13960
13958
|
}, null, 8, hI))), 128))
|
|
13961
13959
|
], 10, HI), [
|
|
13962
13960
|
[Sr, i.value]
|
|
@@ -13969,7 +13967,7 @@ const nI = /* @__PURE__ */ a1({
|
|
|
13969
13967
|
f.value ? ($(), Z("div", {
|
|
13970
13968
|
key: 1,
|
|
13971
13969
|
class: "pga-select--clear-btn",
|
|
13972
|
-
onClick: o[
|
|
13970
|
+
onClick: o[2] || (o[2] = (m) => n())
|
|
13973
13971
|
}, [
|
|
13974
13972
|
q3(nI, { icon: ["fas", "xmark"] })
|
|
13975
13973
|
])) : i2("", !0)
|
|
@@ -13982,7 +13980,7 @@ const CI = (c, a) => {
|
|
|
13982
13980
|
for (const [r, i] of a)
|
|
13983
13981
|
e[r] = i;
|
|
13984
13982
|
return e;
|
|
13985
|
-
}, pI = /* @__PURE__ */ CI(MI, [["__scopeId", "data-v-
|
|
13983
|
+
}, pI = /* @__PURE__ */ CI(MI, [["__scopeId", "data-v-042ecbab"]]), uI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13986
13984
|
__proto__: null,
|
|
13987
13985
|
PgaSelect: pI
|
|
13988
13986
|
}, Symbol.toStringTag, { value: "Module" }));
|