@mapsindoors/map-template 1.39.1 → 1.41.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/_commonjsHelpers-ba3f0406-8ba27f8d.mjs +30 -0
- package/dist/combo-box-item.entry-a249210f.mjs +22 -0
- package/dist/icon-b8d01d6f-952f9485.mjs +33 -0
- package/dist/mapsindoors-react.es.js +10 -2
- package/dist/mapsindoors-react.umd.js +184 -137
- package/dist/mapsindoors-webcomponent.es.js +47805 -35719
- package/dist/mapsindoors-webcomponent.umd.js +197 -157
- package/dist/mi-card_2.entry-a2e84e6f.mjs +33 -0
- package/dist/{mi-chip.entry-66decfd5.mjs → mi-chip.entry-87cd8009.mjs} +13 -5
- package/dist/mi-column.entry-d18e4d46.mjs +28 -0
- package/dist/{mi-combo-box.entry-b1ed5a12.mjs → mi-combo-box.entry-34266062.mjs} +15 -7
- package/dist/{mi-data-table.entry-01a77e2a.mjs → mi-data-table.entry-837a1723.mjs} +10 -2
- package/dist/{mi-distance_2.entry-a98d5097.mjs → mi-distance_2.entry-390b6a0e.mjs} +20 -12
- package/dist/mi-dropdown-item.entry-8a5414ba.mjs +22 -0
- package/dist/{mi-dropdown.entry-a25751f4.mjs → mi-dropdown.entry-e333f6bf.mjs} +31 -23
- package/dist/{mi-floor-selector.entry-8db92aeb.mjs → mi-floor-selector.entry-29a9a938.mjs} +9 -1
- package/dist/{mi-keyboard.entry-2423f3eb.mjs → mi-keyboard.entry-db05697a.mjs} +83 -75
- package/dist/{mi-list-item-category.entry-69d13eb0.mjs → mi-list-item-category.entry-d821d1aa.mjs} +17 -9
- package/dist/{mi-list-item-location.entry-c02bedee.mjs → mi-list-item-location.entry-29567822.mjs} +19 -11
- package/dist/{mi-list.entry-790707be.mjs → mi-list.entry-1d3dbb9d.mjs} +12 -4
- package/dist/{mi-location-booking.entry-d37d3f1e.mjs → mi-location-booking.entry-e1692ca1.mjs} +10 -2
- package/dist/mi-location-info.entry-44d5fa9e.mjs +39 -0
- package/dist/{mi-map-googlemaps.entry-6ff2cbe9.mjs → mi-map-googlemaps.entry-b7b8b4f9.mjs} +16 -8
- package/dist/{mi-map-mapbox.entry-e3e8a0dd.mjs → mi-map-mapbox.entry-76066389.mjs} +13 -5
- package/dist/{mi-metric-card.entry-cffda976.mjs → mi-metric-card.entry-aa87514d.mjs} +20 -12
- package/dist/{mi-my-position.entry-ddc35980.mjs → mi-my-position.entry-60fa67b2.mjs} +48 -40
- package/dist/{mi-notification.entry-657cfcc1.mjs → mi-notification.entry-e2cdaced.mjs} +20 -12
- package/dist/{mi-route-instructions-heading.entry-ac7b30e8.mjs → mi-route-instructions-heading.entry-6d7a8d5e.mjs} +25 -17
- package/dist/{mi-route-instructions-maneuver-legacy.entry-4c9aa387.mjs → mi-route-instructions-maneuver-legacy.entry-2f960621.mjs} +15 -7
- package/dist/{mi-route-instructions-maneuver.entry-e8d9ecb8.mjs → mi-route-instructions-maneuver.entry-6aabfdcf.mjs} +16 -8
- package/dist/{mi-route-instructions-step-legacy.entry-750c21d3.mjs → mi-route-instructions-step-legacy.entry-d36abb12.mjs} +33 -25
- package/dist/{mi-route-instructions-step.entry-da37f8c3.mjs → mi-route-instructions-step.entry-4ce81e3b.mjs} +14 -6
- package/dist/{mi-route-instructions.entry-6f6d308f.mjs → mi-route-instructions.entry-139a8b55.mjs} +23 -15
- package/dist/{mi-scroll-buttons.entry-8dc41a14.mjs → mi-scroll-buttons.entry-1fe481ae.mjs} +12 -4
- package/dist/{mi-search.entry-39ad2683.mjs → mi-search.entry-0d376f5e.mjs} +23 -15
- package/dist/{mi-share-sms.entry-42d418a9.mjs → mi-share-sms.entry-73e5cc0a.mjs} +13 -5
- package/dist/{mi-step-switcher.entry-e741373d.mjs → mi-step-switcher.entry-f362798c.mjs} +15 -7
- package/dist/mi-tab-panel.entry-dcd74baf.mjs +29 -0
- package/dist/mi-tab.entry-c25a4b0e.mjs +21 -0
- package/dist/{mi-tabs.entry-86388c1c.mjs → mi-tabs.entry-a40726b1.mjs} +13 -5
- package/dist/{mi-time.entry-0c8e7ec5.mjs → mi-time.entry-0d807963.mjs} +15 -7
- package/dist/mi-variables-9a6c8d4d-6ddb1ec9.mjs +16 -0
- package/dist/reactcomponent-1eae5fb1.mjs +55162 -0
- package/dist/route-travel-mode.enum-7f4ce9c7-3111d8d5.mjs +16 -0
- package/dist/sort-order.enum-64ce8998-76a74450.mjs +326 -0
- package/dist/unit-system.enum-eaefb53e-560751d1.mjs +16 -0
- package/dist/utils-ae714467-be41eff0.mjs +45 -0
- package/package.json +3 -1
- package/dist/_commonjsHelpers-ba3f0406-b96e6d6a.mjs +0 -21
- package/dist/combo-box-item.entry-4fb14c2c.mjs +0 -14
- package/dist/icon-b8d01d6f-ddfa2c17.mjs +0 -24
- package/dist/mi-card_2.entry-42163be3.mjs +0 -25
- package/dist/mi-column.entry-87f86e0b.mjs +0 -20
- package/dist/mi-dropdown-item.entry-d3017c4d.mjs +0 -14
- package/dist/mi-location-info.entry-d1c8177d.mjs +0 -31
- package/dist/mi-tab-panel.entry-ce8eb340.mjs +0 -21
- package/dist/mi-tab.entry-460f564f.mjs +0 -13
- package/dist/mi-variables-9a6c8d4d-e06eec88.mjs +0 -7
- package/dist/reactcomponent-8283ee84.mjs +0 -42986
- package/dist/route-travel-mode.enum-7f4ce9c7-a9c95a83.mjs +0 -7
- package/dist/sort-order.enum-64ce8998-b75ac596.mjs +0 -317
- package/dist/unit-system.enum-eaefb53e-0f424da4.mjs +0 -7
- package/dist/utils-ae714467-b07fc3be.mjs +0 -36
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { r as Tt, h as Dt } from "./reactcomponent-
|
|
2
|
-
import { c as jt, a as Nt, g as Lt } from "./_commonjsHelpers-ba3f0406-
|
|
1
|
+
import { r as Tt, h as Dt } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
|
+
import { c as jt, a as Nt, g as Lt } from "./_commonjsHelpers-ba3f0406-8ba27f8d.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
|
|
5
|
+
(function() {
|
|
6
|
+
try {
|
|
7
|
+
var it = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, dt = new Error().stack;
|
|
8
|
+
dt && (it._sentryDebugIds = it._sentryDebugIds || {}, it._sentryDebugIds[dt] = "582b7785-bcd3-4cff-a059-4c9d081e9b9e", it._sentryDebugIdIdentifier = "sentry-dbid-582b7785-bcd3-4cff-a059-4c9d081e9b9e");
|
|
9
|
+
} catch {
|
|
10
|
+
}
|
|
11
|
+
})();
|
|
12
|
+
var Rt = jt(function(it, dt) {
|
|
6
13
|
/*!
|
|
7
14
|
*
|
|
8
15
|
* simple-keyboard v3.7.27
|
|
@@ -15,7 +22,7 @@ var Rt = jt(function(ut, vt) {
|
|
|
15
22
|
*
|
|
16
23
|
*/
|
|
17
24
|
(function(kt, yt) {
|
|
18
|
-
|
|
25
|
+
it.exports = yt();
|
|
19
26
|
})(Nt, function() {
|
|
20
27
|
return function() {
|
|
21
28
|
var kt = { 509: function(i, p, t) {
|
|
@@ -1587,42 +1594,42 @@ var Rt = jt(function(ut, vt) {
|
|
|
1587
1594
|
}));
|
|
1588
1595
|
if (a("RegExp", I)) {
|
|
1589
1596
|
for (var E = function(A, L) {
|
|
1590
|
-
var H, F, W, Z,
|
|
1591
|
-
if (!
|
|
1597
|
+
var H, F, W, Z, at, et, st = h(z, this), rt = g(A), mt = L === void 0, nt = [], ht = A;
|
|
1598
|
+
if (!st && rt && mt && A.constructor === E)
|
|
1592
1599
|
return A;
|
|
1593
|
-
if ((rt || h(z, A)) && (A = A.source, mt && (L = y(
|
|
1594
|
-
for (var q, bt = ot.length, ct = 0, lt = "", ft = [], xt = {},
|
|
1600
|
+
if ((rt || h(z, A)) && (A = A.source, mt && (L = y(ht))), A = A === void 0 ? "" : m(A), L = L === void 0 ? "" : m(L), ht = A, _ && "dotAll" in s && (F = !!L && v(L, "s") > -1) && (L = w(L, /s/g, "")), H = L, b && "sticky" in s && (W = !!L && v(L, "y") > -1) && D && (L = w(L, /y/g, "")), R && (Z = function(ot) {
|
|
1601
|
+
for (var q, bt = ot.length, ct = 0, lt = "", ft = [], xt = {}, gt = !1, vt = !1, wt = 0, pt = ""; ct <= bt; ct++) {
|
|
1595
1602
|
if ((q = G(ot, ct)) === "\\")
|
|
1596
1603
|
q += G(ot, ++ct);
|
|
1597
1604
|
else if (q === "]")
|
|
1598
|
-
|
|
1599
|
-
else if (!
|
|
1605
|
+
gt = !1;
|
|
1606
|
+
else if (!gt)
|
|
1600
1607
|
switch (!0) {
|
|
1601
1608
|
case q === "[":
|
|
1602
|
-
|
|
1609
|
+
gt = !0;
|
|
1603
1610
|
break;
|
|
1604
1611
|
case q === "(":
|
|
1605
|
-
Y(o, S(ot, ct + 1)) && (ct += 2,
|
|
1612
|
+
Y(o, S(ot, ct + 1)) && (ct += 2, vt = !0), lt += q, wt++;
|
|
1606
1613
|
continue;
|
|
1607
|
-
case (q === ">" &&
|
|
1608
|
-
if (
|
|
1614
|
+
case (q === ">" && vt):
|
|
1615
|
+
if (pt === "" || M(xt, pt))
|
|
1609
1616
|
throw new U("Invalid capture group name");
|
|
1610
|
-
xt[
|
|
1617
|
+
xt[pt] = !0, ft[ft.length] = [pt, wt], vt = !1, pt = "";
|
|
1611
1618
|
continue;
|
|
1612
1619
|
}
|
|
1613
|
-
|
|
1620
|
+
vt ? pt += q : lt += q;
|
|
1614
1621
|
}
|
|
1615
1622
|
return [lt, ft];
|
|
1616
|
-
}(A), A = Z[0], nt = Z[1]),
|
|
1623
|
+
}(A), A = Z[0], nt = Z[1]), at = u(N(A, L), st ? this : z, E), (F || W || nt.length) && (et = j(at), F && (et.dotAll = !0, et.raw = E(function(ot) {
|
|
1617
1624
|
for (var q, bt = ot.length, ct = 0, lt = "", ft = !1; ct <= bt; ct++)
|
|
1618
1625
|
(q = G(ot, ct)) !== "\\" ? ft || q !== "." ? (q === "[" ? ft = !0 : q === "]" && (ft = !1), lt += q) : lt += "[\\s\\S]" : lt += q + G(ot, ++ct);
|
|
1619
1626
|
return lt;
|
|
1620
|
-
}(A), H)), W && (et.sticky = !0), nt.length && (et.groups = nt)), A !==
|
|
1627
|
+
}(A), H)), W && (et.sticky = !0), nt.length && (et.groups = nt)), A !== ht)
|
|
1621
1628
|
try {
|
|
1622
|
-
c(
|
|
1629
|
+
c(at, "source", ht === "" ? "(?:)" : ht);
|
|
1623
1630
|
} catch {
|
|
1624
1631
|
}
|
|
1625
|
-
return
|
|
1632
|
+
return at;
|
|
1626
1633
|
}, C = l(N), $ = 0; C.length > $; )
|
|
1627
1634
|
k(E, N, C[$++]);
|
|
1628
1635
|
z.constructor = E, E.prototype = z, P(n, "RegExp", E, { constructor: !0 });
|
|
@@ -1724,14 +1731,14 @@ var Rt = jt(function(ut, vt) {
|
|
|
1724
1731
|
for (var E, C = []; (E = M(s, d)) !== null && (R(C, E), I); )
|
|
1725
1732
|
y(E[0]) === "" && (s.lastIndex = k(d, m(s.lastIndex), D));
|
|
1726
1733
|
for (var $, A = "", L = 0, H = 0; H < C.length; H++) {
|
|
1727
|
-
for (var F, W = y((E = C[H])[0]), Z = B(T(g(E.index), d.length), 0),
|
|
1728
|
-
R(
|
|
1729
|
-
var
|
|
1734
|
+
for (var F, W = y((E = C[H])[0]), Z = B(T(g(E.index), d.length), 0), at = [], et = 1; et < E.length; et++)
|
|
1735
|
+
R(at, ($ = E[et]) === void 0 ? $ : String($));
|
|
1736
|
+
var st = E.groups;
|
|
1730
1737
|
if (b) {
|
|
1731
|
-
var rt = _([W],
|
|
1732
|
-
|
|
1738
|
+
var rt = _([W], at, Z, d);
|
|
1739
|
+
st !== void 0 && R(rt, st), F = y(e(o, void 0, rt));
|
|
1733
1740
|
} else
|
|
1734
|
-
F = O(W, d, Z,
|
|
1741
|
+
F = O(W, d, Z, at, st, o);
|
|
1735
1742
|
Z >= L && (A += N(d, L, Z) + F, L = Z + W.length);
|
|
1736
1743
|
}
|
|
1737
1744
|
return A + N(d, L);
|
|
@@ -1802,8 +1809,8 @@ var Rt = jt(function(ut, vt) {
|
|
|
1802
1809
|
return n(this);
|
|
1803
1810
|
} });
|
|
1804
1811
|
}, 7855: function(i, p, t) {
|
|
1805
|
-
var e = t(9989), n = t(9037), r = t(2615), a = t(8844), u = t(3931), c = t(7697), l = t(146), h = t(3689), g = t(6812), m = t(3622), y = t(5027), x = t(5290), k = t(8360), P = t(4327), O = t(5684), M = t(5391), j = t(300), B = t(2741), T = t(6062), _ = t(7518), R = t(2474), K = t(2560), N = t(8920), z = t(9556), U = t(1880), Y = t(2148), G = t(3430), w = t(2713), v = t(7248), S = t(4630), o = t(4201), s = t(6145), d = t(5405), f = t(3032), b = t(5997), D = t(618), I = t(2960).forEach, E = w("hidden"), C = "Symbol", $ = "prototype", A = D.set, L = D.getterFor(C), H = Object[$], F = n.Symbol, W = F && F[$], Z = n.RangeError,
|
|
1806
|
-
var tt =
|
|
1812
|
+
var e = t(9989), n = t(9037), r = t(2615), a = t(8844), u = t(3931), c = t(7697), l = t(146), h = t(3689), g = t(6812), m = t(3622), y = t(5027), x = t(5290), k = t(8360), P = t(4327), O = t(5684), M = t(5391), j = t(300), B = t(2741), T = t(6062), _ = t(7518), R = t(2474), K = t(2560), N = t(8920), z = t(9556), U = t(1880), Y = t(2148), G = t(3430), w = t(2713), v = t(7248), S = t(4630), o = t(4201), s = t(6145), d = t(5405), f = t(3032), b = t(5997), D = t(618), I = t(2960).forEach, E = w("hidden"), C = "Symbol", $ = "prototype", A = D.set, L = D.getterFor(C), H = Object[$], F = n.Symbol, W = F && F[$], Z = n.RangeError, at = n.TypeError, et = n.QObject, st = R.f, rt = K.f, mt = T.f, nt = z.f, ht = a([].push), ot = G("symbols"), q = G("op-symbols"), bt = G("wks"), ct = !et || !et[$] || !et[$].findChild, lt = function(X, J, Q) {
|
|
1813
|
+
var tt = st(H, J);
|
|
1807
1814
|
tt && delete H[J], rt(X, J, Q), tt && X !== H && rt(H, J, tt);
|
|
1808
1815
|
}, ft = c && h(function() {
|
|
1809
1816
|
return M(rt({}, "a", { get: function() {
|
|
@@ -1812,49 +1819,49 @@ var Rt = jt(function(ut, vt) {
|
|
|
1812
1819
|
}) ? lt : rt, xt = function(X, J) {
|
|
1813
1820
|
var Q = ot[X] = M(W);
|
|
1814
1821
|
return A(Q, { type: C, tag: X, description: J }), c || (Q.description = J), Q;
|
|
1815
|
-
},
|
|
1816
|
-
X === H &&
|
|
1822
|
+
}, gt = function(X, J, Q) {
|
|
1823
|
+
X === H && gt(q, J, Q), y(X);
|
|
1817
1824
|
var tt = k(J);
|
|
1818
1825
|
return y(Q), g(ot, tt) ? (Q.enumerable ? (g(X, E) && X[E][tt] && (X[E][tt] = !1), Q = M(Q, { enumerable: O(0, !1) })) : (g(X, E) || rt(X, E, O(1, {})), X[E][tt] = !0), ft(X, tt, Q)) : rt(X, tt, Q);
|
|
1819
|
-
},
|
|
1826
|
+
}, vt = function(X, J) {
|
|
1820
1827
|
y(X);
|
|
1821
1828
|
var Q = x(J), tt = j(Q).concat(Pt(Q));
|
|
1822
|
-
return I(tt, function(
|
|
1823
|
-
c && !r(wt, Q,
|
|
1829
|
+
return I(tt, function(ut) {
|
|
1830
|
+
c && !r(wt, Q, ut) || gt(X, ut, Q[ut]);
|
|
1824
1831
|
}), X;
|
|
1825
1832
|
}, wt = function(X) {
|
|
1826
1833
|
var J = k(X), Q = r(nt, this, J);
|
|
1827
1834
|
return !(this === H && g(ot, J) && !g(q, J)) && (!(Q || !g(this, J) || !g(ot, J) || g(this, E) && this[E][J]) || Q);
|
|
1828
|
-
},
|
|
1835
|
+
}, pt = function(X, J) {
|
|
1829
1836
|
var Q = x(X), tt = k(J);
|
|
1830
1837
|
if (Q !== H || !g(ot, tt) || g(q, tt)) {
|
|
1831
|
-
var
|
|
1832
|
-
return !
|
|
1838
|
+
var ut = st(Q, tt);
|
|
1839
|
+
return !ut || !g(ot, tt) || g(Q, E) && Q[E][tt] || (ut.enumerable = !0), ut;
|
|
1833
1840
|
}
|
|
1834
1841
|
}, It = function(X) {
|
|
1835
1842
|
var J = mt(x(X)), Q = [];
|
|
1836
1843
|
return I(J, function(tt) {
|
|
1837
|
-
g(ot, tt) || g(v, tt) ||
|
|
1844
|
+
g(ot, tt) || g(v, tt) || ht(Q, tt);
|
|
1838
1845
|
}), Q;
|
|
1839
1846
|
}, Pt = function(X) {
|
|
1840
1847
|
var J = X === H, Q = mt(J ? q : x(X)), tt = [];
|
|
1841
|
-
return I(Q, function(
|
|
1842
|
-
!g(ot,
|
|
1848
|
+
return I(Q, function(ut) {
|
|
1849
|
+
!g(ot, ut) || J && !g(H, ut) || ht(tt, ot[ut]);
|
|
1843
1850
|
}), tt;
|
|
1844
1851
|
};
|
|
1845
1852
|
l || (F = function() {
|
|
1846
1853
|
if (m(W, this))
|
|
1847
|
-
throw new
|
|
1854
|
+
throw new at("Symbol is not a constructor");
|
|
1848
1855
|
var X = arguments.length && arguments[0] !== void 0 ? P(arguments[0]) : void 0, J = S(X), Q = function(tt) {
|
|
1849
|
-
var
|
|
1850
|
-
|
|
1856
|
+
var ut = this === void 0 ? n : this;
|
|
1857
|
+
ut === H && r(Q, q, tt), g(ut, E) && g(ut[E], J) && (ut[E][J] = !1);
|
|
1851
1858
|
var Ct = O(1, tt);
|
|
1852
1859
|
try {
|
|
1853
|
-
ft(
|
|
1860
|
+
ft(ut, J, Ct);
|
|
1854
1861
|
} catch (At) {
|
|
1855
1862
|
if (!(At instanceof Z))
|
|
1856
1863
|
throw At;
|
|
1857
|
-
lt(
|
|
1864
|
+
lt(ut, J, Ct);
|
|
1858
1865
|
}
|
|
1859
1866
|
};
|
|
1860
1867
|
return c && ct && ft(H, J, { configurable: !0, set: Q }), xt(J, X);
|
|
@@ -1862,7 +1869,7 @@ var Rt = jt(function(ut, vt) {
|
|
|
1862
1869
|
return L(this).tag;
|
|
1863
1870
|
}), U(F, "withoutSetter", function(X) {
|
|
1864
1871
|
return xt(S(X), X);
|
|
1865
|
-
}), z.f = wt, K.f =
|
|
1872
|
+
}), z.f = wt, K.f = gt, N.f = vt, R.f = pt, B.f = T.f = It, _.f = Pt, s.f = function(X) {
|
|
1866
1873
|
return xt(o(X), X);
|
|
1867
1874
|
}, c && (Y(W, "description", { configurable: !0, get: function() {
|
|
1868
1875
|
return L(this).description;
|
|
@@ -1873,8 +1880,8 @@ var Rt = jt(function(ut, vt) {
|
|
|
1873
1880
|
}, useSimple: function() {
|
|
1874
1881
|
ct = !1;
|
|
1875
1882
|
} }), e({ target: "Object", stat: !0, forced: !l, sham: !c }, { create: function(X, J) {
|
|
1876
|
-
return J === void 0 ? M(X) :
|
|
1877
|
-
}, defineProperty:
|
|
1883
|
+
return J === void 0 ? M(X) : vt(M(X), J);
|
|
1884
|
+
}, defineProperty: gt, defineProperties: vt, getOwnPropertyDescriptor: pt }), e({ target: "Object", stat: !0, forced: !l }, { getOwnPropertyNames: It }), f(), b(F, C), v[E] = !0;
|
|
1878
1885
|
}, 6544: function(i, p, t) {
|
|
1879
1886
|
var e = t(9989), n = t(7697), r = t(9037), a = t(8844), u = t(6812), c = t(9985), l = t(3622), h = t(4327), g = t(2148), m = t(8758), y = r.Symbol, x = y && y.prototype;
|
|
1880
1887
|
if (n && c(y) && (!("description" in x) || y().description !== void 0)) {
|
|
@@ -2405,14 +2412,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2405
2412
|
(s = this.candidateBoxElement) === null || s === void 0 || s.remove(), this.candidateBoxElement = document.createElement("div"), this.candidateBoxElement.className = "hg-candidate-box";
|
|
2406
2413
|
var C = document.createElement("ul");
|
|
2407
2414
|
C.className = "hg-candidate-box-list", f[D].forEach(function(Z) {
|
|
2408
|
-
var
|
|
2415
|
+
var at, et = document.createElement("li"), st = function() {
|
|
2409
2416
|
var rt = new (d.options.useTouchEvents ? TouchEvent : MouseEvent)("click");
|
|
2410
2417
|
return Object.defineProperty(rt, "target", { value: et }), rt;
|
|
2411
2418
|
};
|
|
2412
|
-
et.className = "hg-candidate-box-list-item", et.innerHTML = ((
|
|
2413
|
-
return E(Z, rt ||
|
|
2419
|
+
et.className = "hg-candidate-box-list-item", et.innerHTML = ((at = d.options.display) === null || at === void 0 ? void 0 : at[Z]) || Z, d.options.useTouchEvents ? et.ontouchstart = function(rt) {
|
|
2420
|
+
return E(Z, rt || st());
|
|
2414
2421
|
} : et.onclick = function() {
|
|
2415
|
-
var rt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
2422
|
+
var rt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : st();
|
|
2416
2423
|
return E(Z, rt);
|
|
2417
2424
|
}, C.appendChild(et);
|
|
2418
2425
|
});
|
|
@@ -2577,8 +2584,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2577
2584
|
this.candidateBox && this.candidateBox.show({ candidateValue: s, targetElement: d, onSelect: function(b, D) {
|
|
2578
2585
|
var I = f.options, E = I.layoutCandidatesCaseSensitiveMatch, C = I.disableCandidateNormalization, $ = I.enableLayoutCandidatesKeyPress, A = b;
|
|
2579
2586
|
C || (A = b.normalize("NFD"));
|
|
2580
|
-
var L = f.getInput(f.options.inputName, !0), H = f.getCaretPositionEnd() || 0, F = L.substring(0, H || 0) || L, W = new RegExp("".concat(f.utilities.escapeRegex(o), "$"), E ? "g" : "gi"), Z = F.replace(W, A),
|
|
2581
|
-
|
|
2587
|
+
var L = f.getInput(f.options.inputName, !0), H = f.getCaretPositionEnd() || 0, F = L.substring(0, H || 0) || L, W = new RegExp("".concat(f.utilities.escapeRegex(o), "$"), E ? "g" : "gi"), Z = F.replace(W, A), at = L.replace(F, Z), et = Z.length - F.length, st = (H || L.length) + et;
|
|
2588
|
+
st < 0 && (st = 0), f.setInput(at, f.options.inputName, !0), f.setCaretPosition(st), $ && typeof f.options.onKeyPress == "function" && f.options.onKeyPress(b, D), typeof f.options.onChange == "function" && f.options.onChange(f.getInput(f.options.inputName, !0), D), typeof f.options.onChangeAll == "function" && f.options.onChangeAll(f.getAllInputs(), D);
|
|
2582
2589
|
} });
|
|
2583
2590
|
} }, { key: "handleButtonClicked", value: function(o, s) {
|
|
2584
2591
|
var d = this.options, f = d.inputName, b = f === void 0 ? this.defaultName : f, D = d.debug;
|
|
@@ -2818,10 +2825,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2818
2825
|
A.className += "hg-row";
|
|
2819
2826
|
var L = [], H = [];
|
|
2820
2827
|
$.forEach(function(F, W) {
|
|
2821
|
-
var Z,
|
|
2822
|
-
|
|
2823
|
-
var
|
|
2824
|
-
nt.className += "hg-button ".concat(
|
|
2828
|
+
var Z, at = !I && typeof F == "string" && F.length > 1 && F.indexOf("[") === 0, et = !I && typeof F == "string" && F.length > 1 && F.indexOf("]") === F.length - 1;
|
|
2829
|
+
at && (L.push(W), F = F.replace(/\[/g, "")), et && (H.push(W), F = F.replace(/\]/g, ""));
|
|
2830
|
+
var st = o.utilities.getButtonClass(F), rt = o.utilities.getButtonDisplayName(F, o.options.display, o.options.mergeDisplay), mt = o.options.useButtonTag ? "button" : "div", nt = document.createElement(mt);
|
|
2831
|
+
nt.className += "hg-button ".concat(st), (Z = nt.classList).add.apply(Z, B(o.getButtonThemeClasses(F))), o.setDOMButtonAttributes(F, function(q, bt) {
|
|
2825
2832
|
nt.setAttribute(q, bt);
|
|
2826
2833
|
}), o.activeButtonClass = "hg-activeButton", !o.utilities.pointerEventsSupported() || f || D ? f ? (nt.ontouchstart = function(q) {
|
|
2827
2834
|
o.handleButtonClicked(F, q), o.handleButtonMouseDown(F, q);
|
|
@@ -2842,8 +2849,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2842
2849
|
}, nt.onpointercancel = function(q) {
|
|
2843
2850
|
o.handleButtonMouseUp(F, q);
|
|
2844
2851
|
}), nt.setAttribute("data-skBtn", F);
|
|
2845
|
-
var
|
|
2846
|
-
nt.setAttribute("data-skBtnUID",
|
|
2852
|
+
var ht = "".concat(o.options.layoutName, "-r").concat(C, "b").concat(W);
|
|
2853
|
+
nt.setAttribute("data-skBtnUID", ht);
|
|
2847
2854
|
var ot = document.createElement("span");
|
|
2848
2855
|
ot.innerHTML = rt, nt.appendChild(ot), o.buttonElements[F] || (o.buttonElements[F] = []), o.buttonElements[F].push(nt), A.appendChild(nt);
|
|
2849
2856
|
}), A = o.parseRowDOMContainers(A, C, L, H), o.keyboardRowsDOM.appendChild(A);
|
|
@@ -2902,8 +2909,8 @@ const Bt = /* @__PURE__ */ Lt(Rt), Mt = {
|
|
|
2902
2909
|
]
|
|
2903
2910
|
}, Ot = Mt;
|
|
2904
2911
|
var St;
|
|
2905
|
-
(function(
|
|
2906
|
-
|
|
2912
|
+
(function(it) {
|
|
2913
|
+
it.Numeric = "numeric", it.Alphabetic = "alphabetic";
|
|
2907
2914
|
})(St || (St = {}));
|
|
2908
2915
|
const Ht = {
|
|
2909
2916
|
default: ["1 2 3", "4 5 6", "7 8 9", "0 {bksp}"]
|
|
@@ -2918,16 +2925,16 @@ const Ht = {
|
|
|
2918
2925
|
* LICENSE file in the root directory of this source tree.
|
|
2919
2926
|
*
|
|
2920
2927
|
*/.hg-theme-default{background-color:#ececec;border-radius:5px;box-sizing:border-box;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;overflow:hidden;padding:5px;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.hg-theme-default .hg-button span{pointer-events:none}.hg-theme-default button.hg-button{border-width:0;font-size:inherit;outline:0}.hg-theme-default .hg-button{display:inline-block;flex-grow:1}.hg-theme-default .hg-row{display:flex}.hg-theme-default .hg-row:not(:last-child){margin-bottom:5px}.hg-theme-default .hg-row .hg-button-container,.hg-theme-default .hg-row .hg-button:not(:last-child){margin-right:5px}.hg-theme-default .hg-row>div:last-child{margin-right:0}.hg-theme-default .hg-row .hg-button-container{display:flex}.hg-theme-default .hg-button{-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;background:#fff;border-bottom:1px solid #b5b5b5;border-radius:5px;box-shadow:0 0 3px -1px rgba(0,0,0,.3);box-sizing:border-box;cursor:pointer;display:flex;height:40px;justify-content:center;padding:5px}.hg-theme-default .hg-button.hg-standardBtn{width:20px}.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.hg-theme-default.hg-layout-numeric .hg-button{align-items:center;display:flex;height:60px;justify-content:center;width:33.3%}.hg-theme-default .hg-button.hg-button-numpadadd,.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.hg-theme-default .hg-button.hg-button-com{max-width:85px}.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}.hg-candidate-box{background:#ececec;border-bottom:2px solid #b5b5b5;border-radius:5px;display:inline-flex;margin-top:-10px;max-width:272px;position:absolute;transform:translateY(-100%);-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.hg-candidate-box-list{display:flex;flex:1;list-style:none;margin:0;padding:0}li.hg-candidate-box-list-item{align-items:center;display:flex;height:40px;justify-content:center;width:40px}li.hg-candidate-box-list-item:hover{background:rgba(0,0,0,.03);cursor:pointer}li.hg-candidate-box-list-item:active{background:rgba(0,0,0,.1)}.hg-candidate-box-prev:before{content:"◄"}.hg-candidate-box-next:before{content:"►"}.hg-candidate-box-next,.hg-candidate-box-prev{align-items:center;color:#969696;cursor:pointer;display:flex;padding:0 10px}.hg-candidate-box-next{border-bottom-right-radius:5px;border-top-right-radius:5px}.hg-candidate-box-prev{border-bottom-left-radius:5px;border-top-left-radius:5px}.hg-candidate-box-btn-active{color:#444}mi-keyboard{display:block}mi-keyboard .hg-theme-default{background-color:transparent}`, zt = class {
|
|
2921
|
-
constructor(
|
|
2922
|
-
Tt(this,
|
|
2928
|
+
constructor(it) {
|
|
2929
|
+
Tt(this, it), this.inputElements = /* @__PURE__ */ new Set(), this.inputElement = void 0, this.layout = St.Alphabetic, this.language = void 0;
|
|
2923
2930
|
}
|
|
2924
2931
|
inputElementChange() {
|
|
2925
2932
|
if (!this.inputElement.hasAttribute("id")) {
|
|
2926
2933
|
console.warn("MI-KEYBOARD: Invalid id attribute");
|
|
2927
2934
|
return;
|
|
2928
2935
|
}
|
|
2929
|
-
this.simpleKeyboard && (this.simpleKeyboard.setOptions({ inputName: this.inputElement.id }), this.simpleKeyboard.setInput(this.inputElement.value, this.inputElement.id)), this.inputElements.has(this.inputElement) || (this.inputElements.add(this.inputElement), ["input", "focus", "blur", "inputCleared"].forEach((
|
|
2930
|
-
this.inputElement.addEventListener(
|
|
2936
|
+
this.simpleKeyboard && (this.simpleKeyboard.setOptions({ inputName: this.inputElement.id }), this.simpleKeyboard.setInput(this.inputElement.value, this.inputElement.id)), this.inputElements.has(this.inputElement) || (this.inputElements.add(this.inputElement), ["input", "focus", "blur", "inputCleared"].forEach((dt) => {
|
|
2937
|
+
this.inputElement.addEventListener(dt, () => {
|
|
2931
2938
|
this.simpleKeyboard.setInput(this.inputElement.value, this.inputElement.id);
|
|
2932
2939
|
});
|
|
2933
2940
|
}));
|
|
@@ -2942,8 +2949,8 @@ const Ht = {
|
|
|
2942
2949
|
}
|
|
2943
2950
|
componentDidLoad() {
|
|
2944
2951
|
this.simpleKeyboard = new Bt({
|
|
2945
|
-
onChange: (
|
|
2946
|
-
this.inputElement && (this.inputElement.value =
|
|
2952
|
+
onChange: (it) => {
|
|
2953
|
+
this.inputElement && (this.inputElement.value = it, this.inputElement.dispatchEvent(new Event("input", { bubbles: !0, cancelable: !0 })));
|
|
2947
2954
|
},
|
|
2948
2955
|
layout: this.getKeyboardLayout(this.layout),
|
|
2949
2956
|
display: {
|
|
@@ -2966,8 +2973,8 @@ const Ht = {
|
|
|
2966
2973
|
* @param {layout} string
|
|
2967
2974
|
* @returns {boolean}
|
|
2968
2975
|
*/
|
|
2969
|
-
isValidLayout(
|
|
2970
|
-
return
|
|
2976
|
+
isValidLayout(it) {
|
|
2977
|
+
return it ? !!Object.values(St).find((dt) => dt === it) : !1;
|
|
2971
2978
|
}
|
|
2972
2979
|
/**
|
|
2973
2980
|
* Get keyboard layout. Defaults to alphabetic.
|
|
@@ -2975,20 +2982,20 @@ const Ht = {
|
|
|
2975
2982
|
* @param {KeyboardLayout} keyboardLayout - Accepts values of KeyboardLayout enum, eg. 'numeric' or 'alphabetic'.
|
|
2976
2983
|
* @returns {{ [key: string]: string[]; }}
|
|
2977
2984
|
*/
|
|
2978
|
-
getKeyboardLayout(
|
|
2979
|
-
if (!this.isValidLayout(
|
|
2985
|
+
getKeyboardLayout(it) {
|
|
2986
|
+
if (!this.isValidLayout(it))
|
|
2980
2987
|
return console.warn("MI-KEYBOARD: Invalid layout attribute"), Ot;
|
|
2981
|
-
if (
|
|
2988
|
+
if (it === St.Numeric)
|
|
2982
2989
|
return Ht;
|
|
2983
|
-
const
|
|
2984
|
-
if (!
|
|
2990
|
+
const dt = this.language || window.navigator.language;
|
|
2991
|
+
if (!dt)
|
|
2985
2992
|
return Ot;
|
|
2986
2993
|
const yt = [
|
|
2987
2994
|
{ layout: Mt, languages: ["en", "en-us"] },
|
|
2988
2995
|
{ layout: Kt, languages: ["da", "da-dk"] },
|
|
2989
2996
|
{ layout: _t, languages: ["fr", "fr-fr"] },
|
|
2990
2997
|
{ layout: Ft, languages: ["de", "de-de"] }
|
|
2991
|
-
].find((V) => !!V.languages.find((Et) => Et ===
|
|
2998
|
+
].find((V) => !!V.languages.find((Et) => Et === dt.toLowerCase()));
|
|
2992
2999
|
return yt ? yt.layout : Ot;
|
|
2993
3000
|
}
|
|
2994
3001
|
/**
|
|
@@ -3011,3 +3018,4 @@ zt.style = Ut;
|
|
|
3011
3018
|
export {
|
|
3012
3019
|
zt as mi_keyboard
|
|
3013
3020
|
};
|
|
3021
|
+
//# sourceMappingURL=mi-keyboard.entry-db05697a.mjs.map
|
package/dist/{mi-list-item-category.entry-69d13eb0.mjs → mi-list-item-category.entry-d821d1aa.mjs}
RENAMED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { r as s, c as
|
|
2
|
-
import { m as
|
|
3
|
-
import { b as c } from "./utils-ae714467-
|
|
1
|
+
import { r as s, c as r, h as i, H as a } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
|
+
import { m as n } from "./icon-b8d01d6f-952f9485.mjs";
|
|
3
|
+
import { b as c } from "./utils-ae714467-be41eff0.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
|
|
6
|
+
(function() {
|
|
7
|
+
try {
|
|
8
|
+
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
9
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "b87b1791-1725-49c9-b6ea-eb9fb9d1283b", t._sentryDebugIdIdentifier = "sentry-dbid-b87b1791-1725-49c9-b6ea-eb9fb9d1283b");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const l = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{color:#1c1917;transition:300ms ease;display:flex;align-items:center;cursor:pointer}:host img{-o-object-fit:cover;object-fit:cover}:host([orientation=horizontal]){width:100%;height:100%;float:left;flex-direction:column;justify-content:center}:host([orientation=horizontal]) img{width:48px;height:48px}:host([orientation=horizontal]) p{height:16px;overflow:visible;font-size:0.875rem;line-height:1rem;text-align:center}:host([orientation=vertical]){padding:16px;flex-direction:row;font-size:1rem;font-weight:500;line-height:1.25rem}:host([orientation=vertical]) img{width:24px;height:24px}:host([orientation=vertical]) p{margin:0;padding-left:16px}:host(:hover){background-color:#fcfcfc}", d = class {
|
|
7
14
|
constructor(t) {
|
|
8
|
-
s(this, t), this.categoryClicked =
|
|
15
|
+
s(this, t), this.categoryClicked = r(this, "categoryClicked", 7), this.listItemDidRender = r(this, "listItemDidRender", 7), this.category = void 0, this.orientation = "vertical";
|
|
9
16
|
}
|
|
10
17
|
componentDidRender() {
|
|
11
18
|
this.listItemDidRender.emit(), "objectFit" in document.documentElement.style || this.objectFitImage(this.image);
|
|
@@ -28,11 +35,12 @@ const h = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
28
35
|
t.setAttribute("style", `background: no-repeat center center url("${this.category.iconUrl}"); background-size: cover;`), t.src = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t.width}' height='${t.height}'%3E%3C/svg%3E`;
|
|
29
36
|
}
|
|
30
37
|
render() {
|
|
31
|
-
const t = this.orientation.toUpperCase() === "VERTICAL" ? parseInt(
|
|
32
|
-
return
|
|
38
|
+
const t = this.orientation.toUpperCase() === "VERTICAL" ? parseInt(n.icon.size.medium.value) : parseInt(n.icon.size["xx-large"].value), e = c(this.category.iconUrl, t);
|
|
39
|
+
return i(a, { onClick: () => this.categoryClickedHandler(this.category) }, i("img", { ref: (o) => this.image = o, src: e }), i("p", null, this.category.name));
|
|
33
40
|
}
|
|
34
41
|
};
|
|
35
|
-
|
|
42
|
+
d.style = l;
|
|
36
43
|
export {
|
|
37
|
-
|
|
44
|
+
d as mi_list_item_category
|
|
38
45
|
};
|
|
46
|
+
//# sourceMappingURL=mi-list-item-category.entry-d821d1aa.mjs.map
|
package/dist/{mi-list-item-location.entry-c02bedee.mjs → mi-list-item-location.entry-29567822.mjs}
RENAMED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { r, c as s, h as
|
|
2
|
-
import { m as
|
|
3
|
-
import { b as a } from "./utils-ae714467-
|
|
1
|
+
import { r, c as s, h as o, H as d } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
|
+
import { m as c } from "./icon-b8d01d6f-952f9485.mjs";
|
|
3
|
+
import { b as a } from "./utils-ae714467-be41eff0.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
+
(function() {
|
|
7
|
+
try {
|
|
8
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bad9f093-54c5-45b0-8a02-4253b6ad0adc", e._sentryDebugIdIdentifier = "sentry-dbid-bad9f093-54c5-45b0-8a02-4253b6ad0adc");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
6
13
|
const l = 'html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{padding:16px;font-size:1rem;font-weight:500;line-height:1rem;transition:300ms ease;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";border-radius:8px;background-color:#f9fafb;display:flex;flex-direction:row;align-items:center;cursor:pointer;gap:16px;border:1px solid #e5e7eb}:host(:hover),:host(.hovered){background-color:var(--tailwind-colors-gray-200);border:1px solid #d1d5db}.img-container{width:32px;height:32px;display:flex;justify-content:center;align-items:center}img{border-radius:8px;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.details{padding-right:16px;flex:1;display:grid;gap:4px}.details-title{margin:0;padding:0}.distance{font-weight:400}mi-location-info{color:#6b7280}', h = class {
|
|
7
14
|
constructor(e) {
|
|
8
|
-
r(this, e), this.locationClicked = s(this, "locationClicked", 7), this.listItemDidRender = s(this, "listItemDidRender", 7), this.iconDisplaySize = parseInt(
|
|
15
|
+
r(this, e), this.locationClicked = s(this, "locationClicked", 7), this.listItemDidRender = s(this, "listItemDidRender", 7), this.iconDisplaySize = parseInt(c.icon.size.medium.value), this.location = void 0, this.showExternalId = !0, this.unit = void 0, this.icon = void 0, this.level = "Level", this.iconBadge = void 0, this.iconBadgeValue = void 0, this.iconURLToRender = void 0;
|
|
9
16
|
}
|
|
10
17
|
iconChanged() {
|
|
11
18
|
var e;
|
|
@@ -75,10 +82,10 @@ const l = 'html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
75
82
|
}).then((i) => {
|
|
76
83
|
if (i) {
|
|
77
84
|
this.iconURLToRender = i.src;
|
|
78
|
-
const
|
|
85
|
+
const n = (i.width - 24) / -2;
|
|
79
86
|
this.iconAttributes = {
|
|
80
87
|
style: {
|
|
81
|
-
transform: "translateX(" +
|
|
88
|
+
transform: "translateX(" + n + "px)",
|
|
82
89
|
width: i.width / e + "px",
|
|
83
90
|
height: i.height / e + "px"
|
|
84
91
|
}
|
|
@@ -94,8 +101,8 @@ const l = 'html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
94
101
|
*/
|
|
95
102
|
async getImageFromUrl(e) {
|
|
96
103
|
return fetch(e).then((t) => t.blob()).then((t) => URL.createObjectURL(t)).then((t) => new Promise((i) => {
|
|
97
|
-
const
|
|
98
|
-
|
|
104
|
+
const n = new Image();
|
|
105
|
+
n.width = this.iconDisplaySize, n.height = this.iconDisplaySize, n.onload = () => i(n), n.onerror = () => i(null), n.src = t;
|
|
99
106
|
}));
|
|
100
107
|
}
|
|
101
108
|
/**
|
|
@@ -105,7 +112,7 @@ const l = 'html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
105
112
|
* @returns {JSX.Element}
|
|
106
113
|
*/
|
|
107
114
|
render() {
|
|
108
|
-
return this.location &&
|
|
115
|
+
return this.location && o(d, { role: "listitem", onClick: () => this.locationClickedHandler(this.location) }, this.iconURLToRender ? this.renderIcon() : null, o("div", { class: "details" }, o("p", { class: "details-title" }, this.location.properties.name), o("mi-location-info", { level: this.level, ref: (e) => this.infoElement = e, showExternalId: this.showExternalId })), this.location.properties.geodesicDistance && this.renderDistance());
|
|
109
116
|
}
|
|
110
117
|
/**
|
|
111
118
|
* @description Get JSX template for icon.
|
|
@@ -113,14 +120,14 @@ const l = 'html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
113
120
|
*/
|
|
114
121
|
renderIcon() {
|
|
115
122
|
const e = a(this.iconURLToRender, this.iconDisplaySize);
|
|
116
|
-
return
|
|
123
|
+
return o("div", { class: "img-container" }, o("img", Object.assign({}, this.iconAttributes, { ref: (t) => this.imageElement = t, src: e })));
|
|
117
124
|
}
|
|
118
125
|
/**
|
|
119
126
|
* @description Get JSX template for distance.
|
|
120
127
|
* @returns {JSX.Element}
|
|
121
128
|
*/
|
|
122
129
|
renderDistance() {
|
|
123
|
-
return
|
|
130
|
+
return o("div", { class: "distance" }, o("mi-distance", { meters: this.location.properties.geodesicDistance, unit: this.unit }));
|
|
124
131
|
}
|
|
125
132
|
static get watchers() {
|
|
126
133
|
return {
|
|
@@ -134,3 +141,4 @@ h.style = l;
|
|
|
134
141
|
export {
|
|
135
142
|
h as mi_list_item_location
|
|
136
143
|
};
|
|
144
|
+
//# sourceMappingURL=mi-list-item-location.entry-29567822.mjs.map
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import { r as s, h as e } from "./reactcomponent-
|
|
1
|
+
import { r as s, h as e } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
|
|
4
|
+
(function() {
|
|
5
|
+
try {
|
|
6
|
+
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
7
|
+
n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "9c308c64-1e0b-4579-9900-0b0b765918e6", t._sentryDebugIdIdentifier = "sentry-dbid-9c308c64-1e0b-4579-9900-0b0b765918e6");
|
|
8
|
+
} catch {
|
|
9
|
+
}
|
|
10
|
+
})();
|
|
11
|
+
const l = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{display:block;height:100%;width:100%}.container{height:100%;display:flex}.container .scroll-container{width:100%;overflow-y:auto}", o = class {
|
|
5
12
|
constructor(t) {
|
|
6
13
|
s(this, t), this.scrollButtonsEnabled = !1, this.scrollLength = 100;
|
|
7
14
|
}
|
|
@@ -35,7 +42,8 @@ const l = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:hos
|
|
|
35
42
|
return e("div", { class: "container" }, e("div", { role: "list", class: "scroll-container", ref: (t) => this.scrollContainerElement = t }, e("slot", null)), this.scrollButtonsEnabled ? e("mi-scroll-buttons", { scrollLength: this.scrollLength, ref: (t) => this.miScrollButtonsElement = t }) : null);
|
|
36
43
|
}
|
|
37
44
|
};
|
|
38
|
-
|
|
45
|
+
o.style = l;
|
|
39
46
|
export {
|
|
40
|
-
|
|
47
|
+
o as mi_list
|
|
41
48
|
};
|
|
49
|
+
//# sourceMappingURL=mi-list.entry-1d3dbb9d.mjs.map
|
package/dist/{mi-location-booking.entry-d37d3f1e.mjs → mi-location-booking.entry-e1692ca1.mjs}
RENAMED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import { r as _o, c as Q, h as x, H as go } from "./reactcomponent-
|
|
2
|
-
import { c as wo } from "./utils-ae714467-
|
|
1
|
+
import { r as _o, c as Q, h as x, H as go } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
|
+
import { c as wo } from "./utils-ae714467-be41eff0.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
+
(function() {
|
|
6
|
+
try {
|
|
7
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
8
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a5316c8-1e3d-4a1f-9d2d-9a54747419b5", e._sentryDebugIdIdentifier = "sentry-dbid-0a5316c8-1e3d-4a1f-9d2d-9a54747419b5");
|
|
9
|
+
} catch {
|
|
10
|
+
}
|
|
11
|
+
})();
|
|
5
12
|
function $(e) {
|
|
6
13
|
if (e === null || e === !0 || e === !1)
|
|
7
14
|
return NaN;
|
|
@@ -4863,3 +4870,4 @@ Qc.style = Lc;
|
|
|
4863
4870
|
export {
|
|
4864
4871
|
Qc as mi_location_booking
|
|
4865
4872
|
};
|
|
4873
|
+
//# sourceMappingURL=mi-location-booking.entry-e1692ca1.mjs.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as i } from "./reactcomponent-1eae5fb1.mjs";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
(function() {
|
|
5
|
+
try {
|
|
6
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ee5cfbe6-6f9a-46a4-9917-306376e2f754", e._sentryDebugIdIdentifier = "sentry-dbid-ee5cfbe6-6f9a-46a4-9917-306376e2f754");
|
|
8
|
+
} catch {
|
|
9
|
+
}
|
|
10
|
+
})();
|
|
11
|
+
const o = ":host{display:block;color:#1f2937;font-weight:400}", s = class {
|
|
12
|
+
constructor(e) {
|
|
13
|
+
i(this, e), this.location = void 0, this.level = "Level", this.showExternalId = !0;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Get locations info as a string.
|
|
17
|
+
*
|
|
18
|
+
* @returns {string}
|
|
19
|
+
*/
|
|
20
|
+
getInfoString() {
|
|
21
|
+
const e = [];
|
|
22
|
+
return this.location.properties.externalId && this.showExternalId && e.push(this.location.properties.externalId), this.location.properties.floorName && e.push(`${this.level} ${this.location.properties.floorName}`), this.location.properties.building && (this.location.properties.venue ? this.location.properties.venue.toLowerCase() !== this.location.properties.building.toLowerCase() && e.push(this.location.properties.building) : e.push(this.location.properties.building)), this.location.properties.venue && e.push(this.location.properties.venue), this.location.properties.subtitle && e.push(this.location.properties.subtitle), e.join(" · ");
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Renders location list-info.
|
|
26
|
+
*
|
|
27
|
+
* @description Render location list-info.
|
|
28
|
+
* @returns {JSX.Element}
|
|
29
|
+
*/
|
|
30
|
+
render() {
|
|
31
|
+
var e;
|
|
32
|
+
return !((e = this.location) === null || e === void 0) && e.properties ? this.getInfoString() : null;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
s.style = o;
|
|
36
|
+
export {
|
|
37
|
+
s as mi_location_info
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=mi-location-info.entry-44d5fa9e.mjs.map
|