@eox/layercontrol 0.13.1 → 0.14.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/eox-layercontrol.js
CHANGED
|
@@ -4,7 +4,7 @@ var Ge = (f, s, p) => (ld(f, typeof s != "symbol" ? s + "" : s, p), p), gl = (f,
|
|
|
4
4
|
if (!s.has(f))
|
|
5
5
|
throw TypeError("Cannot " + p);
|
|
6
6
|
};
|
|
7
|
-
var
|
|
7
|
+
var je = (f, s, p) => (gl(f, s, "read from private field"), p ? p.call(f) : s.get(f)), ae = (f, s, p) => {
|
|
8
8
|
if (s.has(f))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
s instanceof WeakSet ? s.add(f) : s.set(f, p);
|
|
@@ -303,7 +303,7 @@ mo.elementStyles = [], mo.shadowRootOptions = { mode: "open" }, mo[Wo("elementPr
|
|
|
303
303
|
*/
|
|
304
304
|
const Zo = globalThis, Ja = Zo.trustedTypes, kc = Ja ? Ja.createPolicy("lit-html", { createHTML: (f) => f }) : void 0, Gl = "$lit$", xn = `lit$${(Math.random() + "").slice(9)}$`, Wl = "?" + xn, gd = `<${Wl}>`, ji = document, ea = () => ji.createComment(""), ra = (f) => f === null || typeof f != "object" && typeof f != "function", Gc = Array.isArray, Wc = (f) => Gc(f) || typeof (f == null ? void 0 : f[Symbol.iterator]) == "function", _l = `[
|
|
305
305
|
\f\r]`, Vo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, jc = /-->/g, Oc = />/g, yi = RegExp(`>|${_l}(?:([^\\s"'>=/]+)(${_l}*=${_l}*(?:[^
|
|
306
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ec = /'/g, Cc = /"/g, Zc = /^(?:script|style|textarea|title)$/i, wd = (f) => (s, ...p) => ({ _$litType$: f, strings: s, values: p }), se = wd(1), Fr = Symbol.for("lit-noChange"),
|
|
306
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ec = /'/g, Cc = /"/g, Zc = /^(?:script|style|textarea|title)$/i, wd = (f) => (s, ...p) => ({ _$litType$: f, strings: s, values: p }), se = wd(1), Fr = Symbol.for("lit-noChange"), xe = Symbol.for("lit-nothing"), Sc = /* @__PURE__ */ new WeakMap(), _i = ji.createTreeWalker(ji, 129);
|
|
307
307
|
function Jc(f, s) {
|
|
308
308
|
if (!Array.isArray(f) || !f.hasOwnProperty("raw"))
|
|
309
309
|
throw Error("invalid template strings array");
|
|
@@ -409,7 +409,7 @@ class Oo {
|
|
|
409
409
|
return ((s = this._$AM) == null ? void 0 : s._$AU) ?? this._$Cv;
|
|
410
410
|
}
|
|
411
411
|
constructor(s, p, b, _) {
|
|
412
|
-
this.type = 2, this._$AH =
|
|
412
|
+
this.type = 2, this._$AH = xe, this._$AN = void 0, this._$AA = s, this._$AB = p, this._$AM = b, this.options = _, this._$Cv = (_ == null ? void 0 : _.isConnected) ?? !0;
|
|
413
413
|
}
|
|
414
414
|
get parentNode() {
|
|
415
415
|
let s = this._$AA.parentNode;
|
|
@@ -423,7 +423,7 @@ class Oo {
|
|
|
423
423
|
return this._$AB;
|
|
424
424
|
}
|
|
425
425
|
_$AI(s, p = this) {
|
|
426
|
-
s = Oi(this, s, p), ra(s) ? s ===
|
|
426
|
+
s = Oi(this, s, p), ra(s) ? s === xe || s == null || s === "" ? (this._$AH !== xe && this._$AR(), this._$AH = xe) : s !== this._$AH && s !== Fr && this._(s) : s._$litType$ !== void 0 ? this.g(s) : s.nodeType !== void 0 ? this.$(s) : Wc(s) ? this.T(s) : this._(s);
|
|
427
427
|
}
|
|
428
428
|
k(s) {
|
|
429
429
|
return this._$AA.parentNode.insertBefore(s, this._$AB);
|
|
@@ -432,7 +432,7 @@ class Oo {
|
|
|
432
432
|
this._$AH !== s && (this._$AR(), this._$AH = this.k(s));
|
|
433
433
|
}
|
|
434
434
|
_(s) {
|
|
435
|
-
this._$AH !==
|
|
435
|
+
this._$AH !== xe && ra(this._$AH) ? this._$AA.nextSibling.data = s : this.$(ji.createTextNode(s)), this._$AH = s;
|
|
436
436
|
}
|
|
437
437
|
g(s) {
|
|
438
438
|
var E;
|
|
@@ -476,7 +476,7 @@ class ua {
|
|
|
476
476
|
return this._$AM._$AU;
|
|
477
477
|
}
|
|
478
478
|
constructor(s, p, b, _, E) {
|
|
479
|
-
this.type = 1, this._$AH =
|
|
479
|
+
this.type = 1, this._$AH = xe, this._$AN = void 0, this.element = s, this.name = p, this._$AM = _, this.options = E, b.length > 2 || b[0] !== "" || b[1] !== "" ? (this._$AH = Array(b.length - 1).fill(new String()), this.strings = b) : this._$AH = xe;
|
|
480
480
|
}
|
|
481
481
|
_$AI(s, p = this, b, _) {
|
|
482
482
|
const E = this.strings;
|
|
@@ -487,12 +487,12 @@ class ua {
|
|
|
487
487
|
const j = s;
|
|
488
488
|
let r, v;
|
|
489
489
|
for (s = E[0], r = 0; r < E.length - 1; r++)
|
|
490
|
-
v = Oi(this, j[b + r], p, r), v === Fr && (v = this._$AH[r]), y || (y = !ra(v) || v !== this._$AH[r]), v ===
|
|
490
|
+
v = Oi(this, j[b + r], p, r), v === Fr && (v = this._$AH[r]), y || (y = !ra(v) || v !== this._$AH[r]), v === xe ? s = xe : s !== xe && (s += (v ?? "") + E[r + 1]), this._$AH[r] = v;
|
|
491
491
|
}
|
|
492
492
|
y && !_ && this.O(s);
|
|
493
493
|
}
|
|
494
494
|
O(s) {
|
|
495
|
-
s ===
|
|
495
|
+
s === xe ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, s ?? "");
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
class Kc extends ua {
|
|
@@ -500,7 +500,7 @@ class Kc extends ua {
|
|
|
500
500
|
super(...arguments), this.type = 3;
|
|
501
501
|
}
|
|
502
502
|
O(s) {
|
|
503
|
-
this.element[this.name] = s ===
|
|
503
|
+
this.element[this.name] = s === xe ? void 0 : s;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
class Qc extends ua {
|
|
@@ -508,7 +508,7 @@ class Qc extends ua {
|
|
|
508
508
|
super(...arguments), this.type = 4;
|
|
509
509
|
}
|
|
510
510
|
O(s) {
|
|
511
|
-
this.element.toggleAttribute(this.name, !!s && s !==
|
|
511
|
+
this.element.toggleAttribute(this.name, !!s && s !== xe);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
class tu extends ua {
|
|
@@ -516,9 +516,9 @@ class tu extends ua {
|
|
|
516
516
|
super(s, p, b, _, E), this.type = 5;
|
|
517
517
|
}
|
|
518
518
|
_$AI(s, p = this) {
|
|
519
|
-
if ((s = Oi(this, s, p, 0) ??
|
|
519
|
+
if ((s = Oi(this, s, p, 0) ?? xe) === Fr)
|
|
520
520
|
return;
|
|
521
|
-
const b = this._$AH, _ = s ===
|
|
521
|
+
const b = this._$AH, _ = s === xe && b !== xe || s.capture !== b.capture || s.once !== b.once || s.passive !== b.passive, E = s !== xe && (b === xe || _);
|
|
522
522
|
_ && this.element.removeEventListener(this.name, this, b), E && this.element.addEventListener(this.name, this, s), this._$AH = s;
|
|
523
523
|
}
|
|
524
524
|
handleEvent(s) {
|
|
@@ -588,7 +588,7 @@ kl == null || kl({ LitElement: Sr });
|
|
|
588
588
|
* Copyright 2021 Google LLC
|
|
589
589
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
590
590
|
*/
|
|
591
|
-
function
|
|
591
|
+
function Kr(f, s, p) {
|
|
592
592
|
return f ? s(f) : p == null ? void 0 : p(f);
|
|
593
593
|
}
|
|
594
594
|
/**
|
|
@@ -1391,7 +1391,7 @@ function xp(f, s) {
|
|
|
1391
1391
|
return `${b}?${_}`;
|
|
1392
1392
|
}
|
|
1393
1393
|
/**!
|
|
1394
|
-
* Sortable 1.15.
|
|
1394
|
+
* Sortable 1.15.2
|
|
1395
1395
|
* @author RubaXa <trash@rubaxa.org>
|
|
1396
1396
|
* @author owenm <owen23355@gmail.com>
|
|
1397
1397
|
* @license MIT
|
|
@@ -1462,7 +1462,7 @@ function Op(f, s) {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
return p;
|
|
1464
1464
|
}
|
|
1465
|
-
var Ep = "1.15.
|
|
1465
|
+
var Ep = "1.15.2";
|
|
1466
1466
|
function jn(f) {
|
|
1467
1467
|
if (typeof window < "u" && window.navigator)
|
|
1468
1468
|
return !!/* @__PURE__ */ navigator.userAgent.match(f);
|
|
@@ -1496,7 +1496,7 @@ function Xa(f, s) {
|
|
|
1496
1496
|
function Cp(f) {
|
|
1497
1497
|
return f.host && f !== document && f.host.nodeType ? f.host : f.parentNode;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Xr(f, s, p, b) {
|
|
1500
1500
|
if (f) {
|
|
1501
1501
|
p = p || document;
|
|
1502
1502
|
do {
|
|
@@ -1518,7 +1518,7 @@ function Ar(f, s, p) {
|
|
|
1518
1518
|
f.className = (b + (p ? " " + s : "")).replace(Rc, " ");
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Vt(f, s, p) {
|
|
1522
1522
|
var b = f && f.style;
|
|
1523
1523
|
if (b) {
|
|
1524
1524
|
if (p === void 0)
|
|
@@ -1532,7 +1532,7 @@ function go(f, s) {
|
|
|
1532
1532
|
p = f;
|
|
1533
1533
|
else
|
|
1534
1534
|
do {
|
|
1535
|
-
var b =
|
|
1535
|
+
var b = Vt(f, "transform");
|
|
1536
1536
|
b && b !== "none" && (p = b + " " + p);
|
|
1537
1537
|
} while (!s && (f = f.parentNode));
|
|
1538
1538
|
var _ = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
@@ -1557,9 +1557,9 @@ function Ze(f, s, p, b, _) {
|
|
|
1557
1557
|
var E, y, j, r, v, g, w;
|
|
1558
1558
|
if (f !== window && f.parentNode && f !== dn() ? (E = f.getBoundingClientRect(), y = E.top, j = E.left, r = E.bottom, v = E.right, g = E.height, w = E.width) : (y = 0, j = 0, r = window.innerHeight, v = window.innerWidth, g = window.innerHeight, w = window.innerWidth), (s || p) && f !== window && (_ = _ || f.parentNode, !Cn))
|
|
1559
1559
|
do
|
|
1560
|
-
if (_ && _.getBoundingClientRect && (
|
|
1560
|
+
if (_ && _.getBoundingClientRect && (Vt(_, "transform") !== "none" || p && Vt(_, "position") !== "static")) {
|
|
1561
1561
|
var k = _.getBoundingClientRect();
|
|
1562
|
-
y -= k.top + parseInt(
|
|
1562
|
+
y -= k.top + parseInt(Vt(_, "border-top-width")), j -= k.left + parseInt(Vt(_, "border-left-width")), r = y + E.height, v = j + E.width;
|
|
1563
1563
|
break;
|
|
1564
1564
|
}
|
|
1565
1565
|
while (_ = _.parentNode);
|
|
@@ -1577,10 +1577,6 @@ function Ze(f, s, p, b, _) {
|
|
|
1577
1577
|
};
|
|
1578
1578
|
}
|
|
1579
1579
|
}
|
|
1580
|
-
function mu(f) {
|
|
1581
|
-
var s = Ze(f), p = parseInt(It(f, "padding-left")), b = parseInt(It(f, "padding-top")), _ = parseInt(It(f, "padding-right")), E = parseInt(It(f, "padding-bottom"));
|
|
1582
|
-
return s.top += b + parseInt(It(f, "border-top-width")), s.left += p + parseInt(It(f, "border-left-width")), s.width = f.clientWidth - p - _, s.height = f.clientHeight - b - E, s.bottom = s.top + s.height, s.right = s.left + s.width, s;
|
|
1583
|
-
}
|
|
1584
1580
|
function Ic(f, s, p) {
|
|
1585
1581
|
for (var b = Jn(f, !0), _ = Ze(f)[s]; b; ) {
|
|
1586
1582
|
var E = Ze(b)[p], y = void 0;
|
|
@@ -1594,7 +1590,7 @@ function Ic(f, s, p) {
|
|
|
1594
1590
|
}
|
|
1595
1591
|
function jo(f, s, p, b) {
|
|
1596
1592
|
for (var _ = 0, E = 0, y = f.children; E < y.length; ) {
|
|
1597
|
-
if (y[E].style.display !== "none" && y[E] !== zt.ghost && (b || y[E] !== zt.dragged) &&
|
|
1593
|
+
if (y[E].style.display !== "none" && y[E] !== zt.ghost && (b || y[E] !== zt.dragged) && Xr(y[E], p.draggable, f, !1)) {
|
|
1598
1594
|
if (_ === s)
|
|
1599
1595
|
return y[E];
|
|
1600
1596
|
_++;
|
|
@@ -1604,7 +1600,7 @@ function jo(f, s, p, b) {
|
|
|
1604
1600
|
return null;
|
|
1605
1601
|
}
|
|
1606
1602
|
function Kl(f, s) {
|
|
1607
|
-
for (var p = f.lastElementChild; p && (p === zt.ghost ||
|
|
1603
|
+
for (var p = f.lastElementChild; p && (p === zt.ghost || Vt(p, "display") === "none" || s && !Xa(p, s)); )
|
|
1608
1604
|
p = p.previousElementSibling;
|
|
1609
1605
|
return p || null;
|
|
1610
1606
|
}
|
|
@@ -1640,7 +1636,7 @@ function Jn(f, s) {
|
|
|
1640
1636
|
var p = f, b = !1;
|
|
1641
1637
|
do
|
|
1642
1638
|
if (p.clientWidth < p.scrollWidth || p.clientHeight < p.scrollHeight) {
|
|
1643
|
-
var _ =
|
|
1639
|
+
var _ = Vt(p);
|
|
1644
1640
|
if (p.clientWidth < p.scrollWidth && (_.overflowX == "auto" || _.overflowX == "scroll") || p.clientHeight < p.scrollHeight && (_.overflowY == "auto" || _.overflowY == "scroll")) {
|
|
1645
1641
|
if (!p.getBoundingClientRect || p === document.body)
|
|
1646
1642
|
return dn();
|
|
@@ -1662,7 +1658,7 @@ function Cl(f, s) {
|
|
|
1662
1658
|
return Math.round(f.top) === Math.round(s.top) && Math.round(f.left) === Math.round(s.left) && Math.round(f.height) === Math.round(s.height) && Math.round(f.width) === Math.round(s.width);
|
|
1663
1659
|
}
|
|
1664
1660
|
var Yo;
|
|
1665
|
-
function
|
|
1661
|
+
function mu(f, s) {
|
|
1666
1662
|
return function() {
|
|
1667
1663
|
if (!Yo) {
|
|
1668
1664
|
var p = arguments, b = this;
|
|
@@ -1675,13 +1671,23 @@ function yu(f, s) {
|
|
|
1675
1671
|
function Tp() {
|
|
1676
1672
|
clearTimeout(Yo), Yo = void 0;
|
|
1677
1673
|
}
|
|
1678
|
-
function
|
|
1674
|
+
function yu(f, s, p) {
|
|
1679
1675
|
f.scrollLeft += s, f.scrollTop += p;
|
|
1680
1676
|
}
|
|
1681
|
-
function
|
|
1677
|
+
function bu(f) {
|
|
1682
1678
|
var s = window.Polymer, p = window.jQuery || window.Zepto;
|
|
1683
1679
|
return s && s.dom ? s.dom(f).cloneNode(!0) : p ? p(f).clone(!0)[0] : f.cloneNode(!0);
|
|
1684
1680
|
}
|
|
1681
|
+
function vu(f, s, p) {
|
|
1682
|
+
var b = {};
|
|
1683
|
+
return Array.from(f.children).forEach(function(_) {
|
|
1684
|
+
var E, y, j, r;
|
|
1685
|
+
if (!(!Xr(_, s.draggable, f, !1) || _.animated || _ === p)) {
|
|
1686
|
+
var v = Ze(_);
|
|
1687
|
+
b.left = Math.min((E = b.left) !== null && E !== void 0 ? E : 1 / 0, v.left), b.top = Math.min((y = b.top) !== null && y !== void 0 ? y : 1 / 0, v.top), b.right = Math.max((j = b.right) !== null && j !== void 0 ? j : -1 / 0, v.right), b.bottom = Math.max((r = b.bottom) !== null && r !== void 0 ? r : -1 / 0, v.bottom);
|
|
1688
|
+
}
|
|
1689
|
+
}), b.width = b.right - b.left, b.height = b.bottom - b.top, b.x = b.left, b.y = b.top, b;
|
|
1690
|
+
}
|
|
1685
1691
|
var Rr = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
1686
1692
|
function Ap() {
|
|
1687
1693
|
var f = [], s;
|
|
@@ -1690,7 +1696,7 @@ function Ap() {
|
|
|
1690
1696
|
if (f = [], !!this.options.animation) {
|
|
1691
1697
|
var b = [].slice.call(this.el.children);
|
|
1692
1698
|
b.forEach(function(_) {
|
|
1693
|
-
if (!(
|
|
1699
|
+
if (!(Vt(_, "display") === "none" || _ === zt.ghost)) {
|
|
1694
1700
|
f.push({
|
|
1695
1701
|
target: _,
|
|
1696
1702
|
rect: Ze(_)
|
|
@@ -1732,10 +1738,10 @@ function Ap() {
|
|
|
1732
1738
|
},
|
|
1733
1739
|
animate: function(b, _, E, y) {
|
|
1734
1740
|
if (y) {
|
|
1735
|
-
|
|
1741
|
+
Vt(b, "transition", ""), Vt(b, "transform", "");
|
|
1736
1742
|
var j = go(this.el), r = j && j.a, v = j && j.d, g = (_.left - E.left) / (r || 1), w = (_.top - E.top) / (v || 1);
|
|
1737
|
-
b.animatingX = !!g, b.animatingY = !!w,
|
|
1738
|
-
|
|
1743
|
+
b.animatingX = !!g, b.animatingY = !!w, Vt(b, "transform", "translate3d(" + g + "px," + w + "px,0)"), this.forRepaintDummy = Lp(b), Vt(b, "transition", "transform " + y + "ms" + (this.options.easing ? " " + this.options.easing : "")), Vt(b, "transform", "translate3d(0,0,0)"), typeof b.animated == "number" && clearTimeout(b.animated), b.animated = setTimeout(function() {
|
|
1744
|
+
Vt(b, "transition", ""), Vt(b, "transform", ""), b.animated = !1, b.animatingX = !1, b.animatingY = !1;
|
|
1739
1745
|
}, y);
|
|
1740
1746
|
}
|
|
1741
1747
|
}
|
|
@@ -1818,7 +1824,7 @@ var Bp = ["evt"], Er = function(s, p) {
|
|
|
1818
1824
|
da.pluginEvent.bind(zt)(s, p, pn({
|
|
1819
1825
|
dragEl: pt,
|
|
1820
1826
|
parentEl: ze,
|
|
1821
|
-
ghostEl:
|
|
1827
|
+
ghostEl: Jt,
|
|
1822
1828
|
rootEl: Re,
|
|
1823
1829
|
nextEl: wi,
|
|
1824
1830
|
lastDownEl: Fa,
|
|
@@ -1861,7 +1867,7 @@ function wr(f) {
|
|
|
1861
1867
|
newDraggableIndex: Wn
|
|
1862
1868
|
}, f));
|
|
1863
1869
|
}
|
|
1864
|
-
var pt, ze,
|
|
1870
|
+
var pt, ze, Jt, Re, wi, Fa, $e, Zn, vo, Lr, Xo, Wn, Ia, or, yo = !1, Ka = !1, Qa = [], vi, Yr, Pl, Tl, Dc, Nc, Uo, fo, Ko, Qo = !1, Ba = !1, Va, br, Al = [], $l = !1, ts = [], Ps = typeof document < "u", Da = hu, $c = ha || Cn ? "cssFloat" : "float", Dp = Ps && !du && !hu && "draggable" in document.createElement("div"), gu = function() {
|
|
1865
1871
|
if (Ps) {
|
|
1866
1872
|
if (Cn)
|
|
1867
1873
|
return !1;
|
|
@@ -1869,7 +1875,7 @@ var pt, ze, Xt, Re, wi, Fa, $e, Zn, vo, Lr, Xo, Wn, Ia, or, yo = !1, Ka = !1, Qa
|
|
|
1869
1875
|
return f.style.cssText = "pointer-events:auto", f.style.pointerEvents === "auto";
|
|
1870
1876
|
}
|
|
1871
1877
|
}(), wu = function(s, p) {
|
|
1872
|
-
var b =
|
|
1878
|
+
var b = Vt(s), _ = parseInt(b.width) - parseInt(b.paddingLeft) - parseInt(b.paddingRight) - parseInt(b.borderLeftWidth) - parseInt(b.borderRightWidth), E = jo(s, 0, p), y = jo(s, 1, p), j = E && Vt(E), r = y && Vt(y), v = j && parseInt(j.marginLeft) + parseInt(j.marginRight) + Ze(E).width, g = r && parseInt(r.marginLeft) + parseInt(r.marginRight) + Ze(y).width;
|
|
1873
1879
|
if (b.display === "flex")
|
|
1874
1880
|
return b.flexDirection === "column" || b.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
1875
1881
|
if (b.display === "grid")
|
|
@@ -1913,9 +1919,9 @@ var pt, ze, Xt, Re, wi, Fa, $e, Zn, vo, Lr, Xo, Wn, Ia, or, yo = !1, Ka = !1, Qa
|
|
|
1913
1919
|
name: _
|
|
1914
1920
|
}), b.name = _.name, b.checkPull = p(_.pull, !0), b.checkPut = p(_.put), b.revertClone = _.revertClone, s.group = b;
|
|
1915
1921
|
}, xu = function() {
|
|
1916
|
-
!gu &&
|
|
1922
|
+
!gu && Jt && Vt(Jt, "display", "none");
|
|
1917
1923
|
}, ku = function() {
|
|
1918
|
-
!gu &&
|
|
1924
|
+
!gu && Jt && Vt(Jt, "display", "");
|
|
1919
1925
|
};
|
|
1920
1926
|
Ps && !du && document.addEventListener("click", function(f) {
|
|
1921
1927
|
if (Ka)
|
|
@@ -2004,7 +2010,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2004
2010
|
_onTapStart: function(s) {
|
|
2005
2011
|
if (s.cancelable) {
|
|
2006
2012
|
var p = this, b = this.el, _ = this.options, E = _.preventOnFilter, y = s.type, j = s.touches && s.touches[0] || s.pointerType && s.pointerType === "touch" && s, r = (j || s).target, v = s.target.shadowRoot && (s.path && s.path[0] || s.composedPath && s.composedPath()[0]) || r, g = _.filter;
|
|
2007
|
-
if (Wp(b), !pt && !(/mousedown|pointerdown/.test(y) && s.button !== 0 || _.disabled) && !v.isContentEditable && !(!this.nativeDraggable && Jo && r && r.tagName.toUpperCase() === "SELECT") && (r =
|
|
2013
|
+
if (Wp(b), !pt && !(/mousedown|pointerdown/.test(y) && s.button !== 0 || _.disabled) && !v.isContentEditable && !(!this.nativeDraggable && Jo && r && r.tagName.toUpperCase() === "SELECT") && (r = Xr(r, _.draggable, b, !1), !(r && r.animated) && Fa !== r)) {
|
|
2008
2014
|
if (vo = Hr(r), Xo = Hr(r, _.draggable), typeof g == "function") {
|
|
2009
2015
|
if (g.call(this, s, r, this)) {
|
|
2010
2016
|
wr({
|
|
@@ -2020,7 +2026,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2020
2026
|
return;
|
|
2021
2027
|
}
|
|
2022
2028
|
} else if (g && (g = g.split(",").some(function(w) {
|
|
2023
|
-
if (w =
|
|
2029
|
+
if (w = Xr(v, w.trim(), b, !1), w)
|
|
2024
2030
|
return wr({
|
|
2025
2031
|
sortable: p,
|
|
2026
2032
|
rootEl: w,
|
|
@@ -2035,7 +2041,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2035
2041
|
E && s.cancelable && s.preventDefault();
|
|
2036
2042
|
return;
|
|
2037
2043
|
}
|
|
2038
|
-
_.handle && !
|
|
2044
|
+
_.handle && !Xr(v, _.handle, b, !1) || this._prepareDragStart(s, j, r);
|
|
2039
2045
|
}
|
|
2040
2046
|
}
|
|
2041
2047
|
},
|
|
@@ -2131,13 +2137,13 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2131
2137
|
},
|
|
2132
2138
|
_onTouchMove: function(s) {
|
|
2133
2139
|
if (vi) {
|
|
2134
|
-
var p = this.options, b = p.fallbackTolerance, _ = p.fallbackOffset, E = s.touches ? s.touches[0] : s, y =
|
|
2140
|
+
var p = this.options, b = p.fallbackTolerance, _ = p.fallbackOffset, E = s.touches ? s.touches[0] : s, y = Jt && go(Jt, !0), j = Jt && y && y.a, r = Jt && y && y.d, v = Da && br && Bc(br), g = (E.clientX - vi.clientX + _.x) / (j || 1) + (v ? v[0] - Al[0] : 0) / (j || 1), w = (E.clientY - vi.clientY + _.y) / (r || 1) + (v ? v[1] - Al[1] : 0) / (r || 1);
|
|
2135
2141
|
if (!zt.active && !yo) {
|
|
2136
2142
|
if (b && Math.max(Math.abs(E.clientX - this._lastX), Math.abs(E.clientY - this._lastY)) < b)
|
|
2137
2143
|
return;
|
|
2138
2144
|
this._onDragStart(s, !0);
|
|
2139
2145
|
}
|
|
2140
|
-
if (
|
|
2146
|
+
if (Jt) {
|
|
2141
2147
|
y ? (y.e += g - (Pl || 0), y.f += w - (Tl || 0)) : y = {
|
|
2142
2148
|
a: 1,
|
|
2143
2149
|
b: 0,
|
|
@@ -2147,20 +2153,20 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2147
2153
|
f: w
|
|
2148
2154
|
};
|
|
2149
2155
|
var k = "matrix(".concat(y.a, ",").concat(y.b, ",").concat(y.c, ",").concat(y.d, ",").concat(y.e, ",").concat(y.f, ")");
|
|
2150
|
-
|
|
2156
|
+
Vt(Jt, "webkitTransform", k), Vt(Jt, "mozTransform", k), Vt(Jt, "msTransform", k), Vt(Jt, "transform", k), Pl = g, Tl = w, Yr = E;
|
|
2151
2157
|
}
|
|
2152
2158
|
s.cancelable && s.preventDefault();
|
|
2153
2159
|
}
|
|
2154
2160
|
},
|
|
2155
2161
|
_appendGhost: function() {
|
|
2156
|
-
if (!
|
|
2162
|
+
if (!Jt) {
|
|
2157
2163
|
var s = this.options.fallbackOnBody ? document.body : Re, p = Ze(pt, !0, Da, !0, s), b = this.options;
|
|
2158
2164
|
if (Da) {
|
|
2159
|
-
for (br = s;
|
|
2165
|
+
for (br = s; Vt(br, "position") === "static" && Vt(br, "transform") === "none" && br !== document; )
|
|
2160
2166
|
br = br.parentNode;
|
|
2161
2167
|
br !== document.body && br !== document.documentElement ? (br === document && (br = dn()), p.top += br.scrollTop, p.left += br.scrollLeft) : br = dn(), Al = Bc(br);
|
|
2162
2168
|
}
|
|
2163
|
-
|
|
2169
|
+
Jt = pt.cloneNode(!0), Ar(Jt, b.ghostClass, !1), Ar(Jt, b.fallbackClass, !0), Ar(Jt, b.dragClass, !0), Vt(Jt, "transition", ""), Vt(Jt, "transform", ""), Vt(Jt, "box-sizing", "border-box"), Vt(Jt, "margin", 0), Vt(Jt, "top", p.top), Vt(Jt, "left", p.left), Vt(Jt, "width", p.width), Vt(Jt, "height", p.height), Vt(Jt, "opacity", "0.8"), Vt(Jt, "position", Da ? "absolute" : "fixed"), Vt(Jt, "zIndex", "100000"), Vt(Jt, "pointerEvents", "none"), zt.ghost = Jt, s.appendChild(Jt), Vt(Jt, "transform-origin", Dc / parseInt(Jt.style.width) * 100 + "% " + Nc / parseInt(Jt.style.height) * 100 + "%");
|
|
2164
2170
|
}
|
|
2165
2171
|
},
|
|
2166
2172
|
_onDragStart: function(s, p) {
|
|
@@ -2171,12 +2177,12 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2171
2177
|
this._onDrop();
|
|
2172
2178
|
return;
|
|
2173
2179
|
}
|
|
2174
|
-
Er("setupClone", this), zt.eventCanceled || ($e =
|
|
2180
|
+
Er("setupClone", this), zt.eventCanceled || ($e = bu(pt), $e.removeAttribute("id"), $e.draggable = !1, $e.style["will-change"] = "", this._hideClone(), Ar($e, this.options.chosenClass, !1), zt.clone = $e), b.cloneId = za(function() {
|
|
2175
2181
|
Er("clone", b), !zt.eventCanceled && (b.options.removeCloneOnHide || Re.insertBefore($e, pt), b._hideClone(), wr({
|
|
2176
2182
|
sortable: b,
|
|
2177
2183
|
name: "clone"
|
|
2178
2184
|
}));
|
|
2179
|
-
}), !p && Ar(pt, E.dragClass, !0), p ? (Ka = !0, b._loopId = setInterval(b._emulateDragOver, 50)) : (de(document, "mouseup", b._onDrop), de(document, "touchend", b._onDrop), de(document, "touchcancel", b._onDrop), _ && (_.effectAllowed = "move", E.setData && E.setData.call(b, _, pt)), be(document, "drop", b),
|
|
2185
|
+
}), !p && Ar(pt, E.dragClass, !0), p ? (Ka = !0, b._loopId = setInterval(b._emulateDragOver, 50)) : (de(document, "mouseup", b._onDrop), de(document, "touchend", b._onDrop), de(document, "touchcancel", b._onDrop), _ && (_.effectAllowed = "move", E.setData && E.setData.call(b, _, pt)), be(document, "drop", b), Vt(pt, "transform", "translateZ(0)")), yo = !0, b._dragStartId = za(b._dragStarted.bind(b, p, s)), be(document, "selectstart", b), Uo = !0, Jo && Vt(document.body, "user-select", "none");
|
|
2180
2186
|
},
|
|
2181
2187
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
2182
2188
|
_onDragOver: function(s) {
|
|
@@ -2195,8 +2201,8 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2195
2201
|
fromSortable: k,
|
|
2196
2202
|
target: b,
|
|
2197
2203
|
completed: R,
|
|
2198
|
-
onMove: function(At,
|
|
2199
|
-
return Na(Re, p, pt, _, At, Ze(At), s,
|
|
2204
|
+
onMove: function(At, Ht) {
|
|
2205
|
+
return Na(Re, p, pt, _, At, Ze(At), s, Ht);
|
|
2200
2206
|
},
|
|
2201
2207
|
changed: I
|
|
2202
2208
|
}, ct));
|
|
@@ -2221,7 +2227,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2221
2227
|
originalEvent: s
|
|
2222
2228
|
});
|
|
2223
2229
|
}
|
|
2224
|
-
if (s.preventDefault !== void 0 && s.cancelable && s.preventDefault(), b =
|
|
2230
|
+
if (s.preventDefault !== void 0 && s.cancelable && s.preventDefault(), b = Xr(b, j.draggable, p, !0), T("dragOver"), zt.eventCanceled)
|
|
2225
2231
|
return S;
|
|
2226
2232
|
if (pt.contains(s.target) || b.animated && b.animatingX && b.animatingY || C._ignoreWhileAnimating === b)
|
|
2227
2233
|
return R(!1);
|
|
@@ -2251,7 +2257,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2251
2257
|
var K = Hr(pt);
|
|
2252
2258
|
do
|
|
2253
2259
|
K -= B, Y = ze.children[K];
|
|
2254
|
-
while (Y && (
|
|
2260
|
+
while (Y && (Vt(Y, "display") === "none" || Y === Jt));
|
|
2255
2261
|
}
|
|
2256
2262
|
if (B === 0 || Y === b)
|
|
2257
2263
|
return R(!1);
|
|
@@ -2260,7 +2266,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2260
2266
|
it = B === 1;
|
|
2261
2267
|
var st = Na(Re, p, pt, _, b, E, s, it);
|
|
2262
2268
|
if (st !== !1)
|
|
2263
|
-
return (st === 1 || st === -1) && (it = st === 1), $l = !0, setTimeout(Fp, 30), A(), it && !tt ? p.appendChild(pt) : b.parentNode.insertBefore(pt, it ? tt : b), H &&
|
|
2269
|
+
return (st === 1 || st === -1) && (it = st === 1), $l = !0, setTimeout(Fp, 30), A(), it && !tt ? p.appendChild(pt) : b.parentNode.insertBefore(pt, it ? tt : b), H && yu(H, 0, X - H.scrollTop), ze = pt.parentNode, q !== void 0 && !Ba && (Va = Math.abs(q - Ze(b)[U])), I(), R(!0);
|
|
2264
2270
|
}
|
|
2265
2271
|
if (p.contains(pt))
|
|
2266
2272
|
return R(!1);
|
|
@@ -2283,7 +2289,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2283
2289
|
this._nulling();
|
|
2284
2290
|
return;
|
|
2285
2291
|
}
|
|
2286
|
-
yo = !1, Ba = !1, Qo = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ml(this.cloneId), Ml(this._dragStartId), this.nativeDraggable && (de(document, "drop", this), de(p, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Jo &&
|
|
2292
|
+
yo = !1, Ba = !1, Qo = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ml(this.cloneId), Ml(this._dragStartId), this.nativeDraggable && (de(document, "drop", this), de(p, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Jo && Vt(document.body, "user-select", ""), Vt(pt, "transform", ""), s && (Uo && (s.cancelable && s.preventDefault(), !b.dropBubble && s.stopPropagation()), Jt && Jt.parentNode && Jt.parentNode.removeChild(Jt), (Re === ze || or && or.lastPutMode !== "clone") && $e && $e.parentNode && $e.parentNode.removeChild($e), pt && (this.nativeDraggable && de(pt, "dragend", this), Ll(pt), pt.style["will-change"] = "", Uo && !yo && Ar(pt, or ? or.options.ghostClass : this.options.ghostClass, !1), Ar(pt, this.options.chosenClass, !1), wr({
|
|
2287
2293
|
sortable: this,
|
|
2288
2294
|
name: "unchoose",
|
|
2289
2295
|
toEl: ze,
|
|
@@ -2330,7 +2336,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2330
2336
|
}), this.save()))), this._nulling();
|
|
2331
2337
|
},
|
|
2332
2338
|
_nulling: function() {
|
|
2333
|
-
Er("nulling", this), Re = pt = ze =
|
|
2339
|
+
Er("nulling", this), Re = pt = ze = Jt = wi = $e = Fa = Zn = vi = Yr = Uo = Lr = Wn = vo = Xo = fo = Ko = or = Ia = zt.dragged = zt.ghost = zt.clone = zt.active = null, ts.forEach(function(s) {
|
|
2334
2340
|
s.checked = !0;
|
|
2335
2341
|
}), ts.length = Pl = Tl = 0;
|
|
2336
2342
|
},
|
|
@@ -2355,7 +2361,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2355
2361
|
*/
|
|
2356
2362
|
toArray: function() {
|
|
2357
2363
|
for (var s = [], p, b = this.el.children, _ = 0, E = b.length, y = this.options; _ < E; _++)
|
|
2358
|
-
p = b[_],
|
|
2364
|
+
p = b[_], Xr(p, y.draggable, this.el, !1) && s.push(p.getAttribute(y.dataIdAttr) || Gp(p));
|
|
2359
2365
|
return s;
|
|
2360
2366
|
},
|
|
2361
2367
|
/**
|
|
@@ -2366,7 +2372,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2366
2372
|
var b = {}, _ = this.el;
|
|
2367
2373
|
this.toArray().forEach(function(E, y) {
|
|
2368
2374
|
var j = _.children[y];
|
|
2369
|
-
|
|
2375
|
+
Xr(j, this.options.draggable, _, !1) && (b[E] = j);
|
|
2370
2376
|
}, this), p && this.captureAnimationState(), s.forEach(function(E) {
|
|
2371
2377
|
b[E] && (_.removeChild(b[E]), _.appendChild(b[E]));
|
|
2372
2378
|
}), p && this.animateAll();
|
|
@@ -2385,7 +2391,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2385
2391
|
* @returns {HTMLElement|null}
|
|
2386
2392
|
*/
|
|
2387
2393
|
closest: function(s, p) {
|
|
2388
|
-
return
|
|
2394
|
+
return Xr(s, p || this.options.draggable, this.el, !1);
|
|
2389
2395
|
},
|
|
2390
2396
|
/**
|
|
2391
2397
|
* Set/get option
|
|
@@ -2414,7 +2420,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2414
2420
|
if (!Zn) {
|
|
2415
2421
|
if (Er("hideClone", this), zt.eventCanceled)
|
|
2416
2422
|
return;
|
|
2417
|
-
|
|
2423
|
+
Vt($e, "display", "none"), this.options.removeCloneOnHide && $e.parentNode && $e.parentNode.removeChild($e), Zn = !0;
|
|
2418
2424
|
}
|
|
2419
2425
|
},
|
|
2420
2426
|
_showClone: function(s) {
|
|
@@ -2425,7 +2431,7 @@ zt.prototype = /** @lends Sortable.prototype */
|
|
|
2425
2431
|
if (Zn) {
|
|
2426
2432
|
if (Er("showClone", this), zt.eventCanceled)
|
|
2427
2433
|
return;
|
|
2428
|
-
pt.parentNode == Re && !this.options.group.revertClone ? Re.insertBefore($e, pt) : wi ? Re.insertBefore($e, wi) : Re.appendChild($e), this.options.group.revertClone && this.animate(pt, $e),
|
|
2434
|
+
pt.parentNode == Re && !this.options.group.revertClone ? Re.insertBefore($e, pt) : wi ? Re.insertBefore($e, wi) : Re.appendChild($e), this.options.group.revertClone && this.animate(pt, $e), Vt($e, "display", ""), Zn = !1;
|
|
2429
2435
|
}
|
|
2430
2436
|
}
|
|
2431
2437
|
};
|
|
@@ -2446,11 +2452,11 @@ function Fp() {
|
|
|
2446
2452
|
$l = !1;
|
|
2447
2453
|
}
|
|
2448
2454
|
function Vp(f, s, p) {
|
|
2449
|
-
var b = Ze(jo(p.el, 0, p.options, !0)), _ =
|
|
2455
|
+
var b = Ze(jo(p.el, 0, p.options, !0)), _ = vu(p.el, p.options, Jt), E = 10;
|
|
2450
2456
|
return s ? f.clientX < _.left - E || f.clientY < b.top && f.clientX < b.right : f.clientY < _.top - E || f.clientY < b.bottom && f.clientX < b.left;
|
|
2451
2457
|
}
|
|
2452
2458
|
function zp(f, s, p) {
|
|
2453
|
-
var b = Ze(Kl(p.el, p.options.draggable)), _ =
|
|
2459
|
+
var b = Ze(Kl(p.el, p.options.draggable)), _ = vu(p.el, p.options, Jt), E = 10;
|
|
2454
2460
|
return s ? f.clientX > _.right + E || f.clientY > b.bottom && f.clientX > b.left : f.clientY > _.bottom + E || f.clientX > b.right && f.clientY > b.top;
|
|
2455
2461
|
}
|
|
2456
2462
|
function Up(f, s, p, b, _, E, y, j) {
|
|
@@ -2493,16 +2499,16 @@ Ps && be(document, "touchmove", function(f) {
|
|
|
2493
2499
|
zt.utils = {
|
|
2494
2500
|
on: be,
|
|
2495
2501
|
off: de,
|
|
2496
|
-
css:
|
|
2502
|
+
css: Vt,
|
|
2497
2503
|
find: fu,
|
|
2498
2504
|
is: function(s, p) {
|
|
2499
|
-
return !!
|
|
2505
|
+
return !!Xr(s, p, s, !1);
|
|
2500
2506
|
},
|
|
2501
2507
|
extend: Pp,
|
|
2502
|
-
throttle:
|
|
2503
|
-
closest:
|
|
2508
|
+
throttle: mu,
|
|
2509
|
+
closest: Xr,
|
|
2504
2510
|
toggleClass: Ar,
|
|
2505
|
-
clone:
|
|
2511
|
+
clone: bu,
|
|
2506
2512
|
index: Hr,
|
|
2507
2513
|
nextTick: za,
|
|
2508
2514
|
cancelNextTick: Ml,
|
|
@@ -2586,13 +2592,13 @@ function Ua() {
|
|
|
2586
2592
|
function Mc() {
|
|
2587
2593
|
clearInterval(Go);
|
|
2588
2594
|
}
|
|
2589
|
-
var Bl =
|
|
2595
|
+
var Bl = mu(function(f, s, p, b) {
|
|
2590
2596
|
if (s.scroll) {
|
|
2591
2597
|
var _ = (f.touches ? f.touches[0] : f).clientX, E = (f.touches ? f.touches[0] : f).clientY, y = s.scrollSensitivity, j = s.scrollSpeed, r = dn(), v = !1, g;
|
|
2592
2598
|
Hl !== p && (Hl = p, Ua(), qo = s.scroll, g = s.scrollFn, qo === !0 && (qo = Jn(p, !0)));
|
|
2593
2599
|
var w = 0, k = qo;
|
|
2594
2600
|
do {
|
|
2595
|
-
var O = k, C = Ze(O), S = C.top, T = C.bottom, A = C.left, R = C.right, I = C.width, $ = C.height, M = void 0, B = void 0, q = O.scrollWidth, F = O.scrollHeight, N =
|
|
2601
|
+
var O = k, C = Ze(O), S = C.top, T = C.bottom, A = C.left, R = C.right, I = C.width, $ = C.height, M = void 0, B = void 0, q = O.scrollWidth, F = O.scrollHeight, N = Vt(O), U = O.scrollLeft, H = O.scrollTop;
|
|
2596
2602
|
O === r ? (M = I < q && (N.overflowX === "auto" || N.overflowX === "scroll" || N.overflowX === "visible"), B = $ < F && (N.overflowY === "auto" || N.overflowY === "scroll" || N.overflowY === "visible")) : (M = I < q && (N.overflowX === "auto" || N.overflowX === "scroll"), B = $ < F && (N.overflowY === "auto" || N.overflowY === "scroll"));
|
|
2597
2603
|
var X = M && (Math.abs(R - _) <= y && U + I < q) - (Math.abs(A - _) <= y && !!U), Y = B && (Math.abs(T - E) <= y && H + $ < F) - (Math.abs(S - E) <= y && !!H);
|
|
2598
2604
|
if (!We[w])
|
|
@@ -2601,7 +2607,7 @@ var Bl = yu(function(f, s, p, b) {
|
|
|
2601
2607
|
(We[w].vx != X || We[w].vy != Y || We[w].el !== O) && (We[w].el = O, We[w].vx = X, We[w].vy = Y, clearInterval(We[w].pid), (X != 0 || Y != 0) && (v = !0, We[w].pid = setInterval((function() {
|
|
2602
2608
|
b && this.layer === 0 && zt.active._onTouchMove(es);
|
|
2603
2609
|
var tt = We[this.layer].vy ? We[this.layer].vy * j : 0, it = We[this.layer].vx ? We[this.layer].vx * j : 0;
|
|
2604
|
-
typeof g == "function" && g.call(zt.dragged.parentNode[Rr], it, tt, f, es, We[this.layer].el) !== "continue" ||
|
|
2610
|
+
typeof g == "function" && g.call(zt.dragged.parentNode[Rr], it, tt, f, es, We[this.layer].el) !== "continue" || yu(We[this.layer].el, it, tt);
|
|
2605
2611
|
}).bind({
|
|
2606
2612
|
layer: w
|
|
2607
2613
|
}), 24))), w++;
|
|
@@ -2699,10 +2705,12 @@ function Xp(f, s, p, b) {
|
|
|
2699
2705
|
onEnd: (y) => Yp(y, b, _, s, p, E)
|
|
2700
2706
|
});
|
|
2701
2707
|
}
|
|
2702
|
-
function Kp(f, s, p) {
|
|
2703
|
-
f.getArray()
|
|
2704
|
-
|
|
2705
|
-
|
|
2708
|
+
function Kp(f, s, p, b) {
|
|
2709
|
+
const _ = f.getArray();
|
|
2710
|
+
let E = !1;
|
|
2711
|
+
_.forEach((y) => {
|
|
2712
|
+
const j = y.ol_uid;
|
|
2713
|
+
y.get(s) || (y.set(s, j), E = !0), y.get(p) || (y.set(p, `layer ${j}`), E = !0), E && b.requestUpdate();
|
|
2706
2714
|
});
|
|
2707
2715
|
}
|
|
2708
2716
|
function ec(f, s, p) {
|
|
@@ -2779,7 +2787,7 @@ const rf = (f, s) => f == null ? void 0 : f.filter(
|
|
|
2779
2787
|
let b = !0;
|
|
2780
2788
|
return ["remove", "sort"].includes(p) && (b = !1), p === "info" && (b = s.get("description")), p === "config" && (b = s.get("layerConfig")), b;
|
|
2781
2789
|
}), of = (f, s) => se`
|
|
2782
|
-
<button slot="${f}-icon" class="icon">${s ? f :
|
|
2790
|
+
<button slot="${f}-icon" class="icon">${s ? f : xe}</button>
|
|
2783
2791
|
`, af = (f) => se`
|
|
2784
2792
|
<button
|
|
2785
2793
|
class="remove-icon icon"
|
|
@@ -2793,12 +2801,12 @@ const rf = (f, s) => f == null ? void 0 : f.filter(
|
|
|
2793
2801
|
);
|
|
2794
2802
|
}}
|
|
2795
2803
|
>
|
|
2796
|
-
${f.unstyled ? "x" :
|
|
2804
|
+
${f.unstyled ? "x" : xe}
|
|
2797
2805
|
</button>
|
|
2798
2806
|
`, sf = (f) => se`
|
|
2799
|
-
<
|
|
2800
|
-
${f ? "
|
|
2801
|
-
</
|
|
2807
|
+
<span class="button sort-icon icon drag-handle">
|
|
2808
|
+
${f ? "═" : xe}
|
|
2809
|
+
</span>
|
|
2802
2810
|
`;
|
|
2803
2811
|
/**
|
|
2804
2812
|
* @license
|
|
@@ -2816,7 +2824,7 @@ const Cu = Zl(class extends Jl {
|
|
|
2816
2824
|
return f;
|
|
2817
2825
|
}
|
|
2818
2826
|
update(f, [s]) {
|
|
2819
|
-
if (s === Fr || s ===
|
|
2827
|
+
if (s === Fr || s === xe)
|
|
2820
2828
|
return s;
|
|
2821
2829
|
const p = f.element, b = f.name;
|
|
2822
2830
|
if (f.type === Gn.PROPERTY) {
|
|
@@ -2837,11 +2845,11 @@ const Cu = Zl(class extends Jl {
|
|
|
2837
2845
|
*/
|
|
2838
2846
|
class Vl extends Jl {
|
|
2839
2847
|
constructor(s) {
|
|
2840
|
-
if (super(s), this.et =
|
|
2848
|
+
if (super(s), this.et = xe, s.type !== Gn.CHILD)
|
|
2841
2849
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
2842
2850
|
}
|
|
2843
2851
|
render(s) {
|
|
2844
|
-
if (s ===
|
|
2852
|
+
if (s === xe || s == null)
|
|
2845
2853
|
return this.vt = void 0, this.et = s;
|
|
2846
2854
|
if (s === Fr)
|
|
2847
2855
|
return s;
|
|
@@ -3680,10 +3688,10 @@ var Su = { exports: {} };
|
|
|
3680
3688
|
this.stopped = B, this.result = q;
|
|
3681
3689
|
}, M = $.prototype;
|
|
3682
3690
|
y.exports = function(B, q, F) {
|
|
3683
|
-
var N, U, H, X, Y, K, tt, it = F && F.that, st = !(!F || !F.AS_ENTRIES), yt = !(!F || !F.IS_RECORD), ct = !(!F || !F.IS_ITERATOR), Et = !(!F || !F.INTERRUPTED), At = v(q, it),
|
|
3691
|
+
var N, U, H, X, Y, K, tt, it = F && F.that, st = !(!F || !F.AS_ENTRIES), yt = !(!F || !F.IS_RECORD), ct = !(!F || !F.IS_ITERATOR), Et = !(!F || !F.INTERRUPTED), At = v(q, it), Ht = function(wt) {
|
|
3684
3692
|
return N && R(N, "normal", wt), new $(!0, wt);
|
|
3685
3693
|
}, lt = function(wt) {
|
|
3686
|
-
return st ? (w(wt), Et ? At(wt[0], wt[1],
|
|
3694
|
+
return st ? (w(wt), Et ? At(wt[0], wt[1], Ht) : At(wt[0], wt[1])) : Et ? At(wt, Ht) : At(wt);
|
|
3687
3695
|
};
|
|
3688
3696
|
if (yt)
|
|
3689
3697
|
N = B.iterator;
|
|
@@ -3744,11 +3752,11 @@ var Su = { exports: {} };
|
|
|
3744
3752
|
var v = r(2109), g = r(6916), w = r(1913), k = r(6530), O = r(614), C = r(3061), S = r(9518), T = r(7674), A = r(8003), R = r(8880), I = r(8052), $ = r(5112), M = r(7497), B = r(3383), q = k.PROPER, F = k.CONFIGURABLE, N = B.IteratorPrototype, U = B.BUGGY_SAFARI_ITERATORS, H = $("iterator"), X = "keys", Y = "values", K = "entries", tt = function() {
|
|
3745
3753
|
return this;
|
|
3746
3754
|
};
|
|
3747
|
-
y.exports = function(it, st, yt, ct, Et, At,
|
|
3755
|
+
y.exports = function(it, st, yt, ct, Et, At, Ht) {
|
|
3748
3756
|
C(yt, st, ct);
|
|
3749
3757
|
var lt, wt, _t, Ut = function(xt) {
|
|
3750
|
-
if (xt === Et &&
|
|
3751
|
-
return
|
|
3758
|
+
if (xt === Et && It)
|
|
3759
|
+
return It;
|
|
3752
3760
|
if (!U && xt in St)
|
|
3753
3761
|
return St[xt];
|
|
3754
3762
|
switch (xt) {
|
|
@@ -3762,16 +3770,16 @@ var Su = { exports: {} };
|
|
|
3762
3770
|
return function() {
|
|
3763
3771
|
return new yt(this);
|
|
3764
3772
|
};
|
|
3765
|
-
}, Kt = st + " Iterator", pe = !1, St = it.prototype, jt = St[H] || St["@@iterator"] || Et && St[Et],
|
|
3766
|
-
if (qt && (lt = S(qt.call(new it()))) !== Object.prototype && lt.next && (w || S(lt) === N || (T ? T(lt, N) : O(lt[H]) || I(lt, H, tt)), A(lt, Kt, !0, !0), w && (M[Kt] = tt)), q && Et == Y && jt && jt.name !== Y && (!w && F ? R(St, "name", Y) : (pe = !0,
|
|
3773
|
+
}, Kt = st + " Iterator", pe = !1, St = it.prototype, jt = St[H] || St["@@iterator"] || Et && St[Et], It = !U && jt || Ut(Et), qt = st == "Array" && St.entries || jt;
|
|
3774
|
+
if (qt && (lt = S(qt.call(new it()))) !== Object.prototype && lt.next && (w || S(lt) === N || (T ? T(lt, N) : O(lt[H]) || I(lt, H, tt)), A(lt, Kt, !0, !0), w && (M[Kt] = tt)), q && Et == Y && jt && jt.name !== Y && (!w && F ? R(St, "name", Y) : (pe = !0, It = function() {
|
|
3767
3775
|
return g(jt, this);
|
|
3768
3776
|
})), Et)
|
|
3769
|
-
if (wt = { values: Ut(Y), keys: At ?
|
|
3777
|
+
if (wt = { values: Ut(Y), keys: At ? It : Ut(X), entries: Ut(K) }, Ht)
|
|
3770
3778
|
for (_t in wt)
|
|
3771
3779
|
(U || pe || !(_t in St)) && I(St, _t, wt[_t]);
|
|
3772
3780
|
else
|
|
3773
3781
|
v({ target: st, proto: !0, forced: U || pe }, wt);
|
|
3774
|
-
return w && !
|
|
3782
|
+
return w && !Ht || St[H] === It || I(St, H, It, { name: Et }), M[st] = It, wt;
|
|
3775
3783
|
};
|
|
3776
3784
|
}, 3383: (y, j, r) => {
|
|
3777
3785
|
var v, g, w, k = r(7293), O = r(614), C = r(111), S = r(30), T = r(9518), A = r(8052), R = r(5112), I = r(1913), $ = R("iterator"), M = !1;
|
|
@@ -4123,17 +4131,17 @@ var Su = { exports: {} };
|
|
|
4123
4131
|
}, 2261: (y, j, r) => {
|
|
4124
4132
|
var v, g, w = r(6916), k = r(1702), O = r(1340), C = r(7066), S = r(2999), T = r(2309), A = r(30), R = r(9909).get, I = r(9441), $ = r(7168), M = T("native-string-replace", String.prototype.replace), B = RegExp.prototype.exec, q = B, F = k("".charAt), N = k("".indexOf), U = k("".replace), H = k("".slice), X = (g = /b*/g, w(B, v = /a/, "a"), w(B, g, "a"), v.lastIndex !== 0 || g.lastIndex !== 0), Y = S.BROKEN_CARET, K = /()??/.exec("")[1] !== void 0;
|
|
4125
4133
|
(X || K || Y || I || $) && (q = function(tt) {
|
|
4126
|
-
var it, st, yt, ct, Et, At,
|
|
4134
|
+
var it, st, yt, ct, Et, At, Ht, lt = this, wt = R(lt), _t = O(tt), Ut = wt.raw;
|
|
4127
4135
|
if (Ut)
|
|
4128
4136
|
return Ut.lastIndex = lt.lastIndex, it = w(q, Ut, _t), lt.lastIndex = Ut.lastIndex, it;
|
|
4129
|
-
var Kt = wt.groups, pe = Y && lt.sticky, St = w(C, lt), jt = lt.source,
|
|
4137
|
+
var Kt = wt.groups, pe = Y && lt.sticky, St = w(C, lt), jt = lt.source, It = 0, qt = _t;
|
|
4130
4138
|
if (pe && (St = U(St, "y", ""), N(St, "g") === -1 && (St += "g"), qt = H(_t, lt.lastIndex), lt.lastIndex > 0 && (!lt.multiline || lt.multiline && F(_t, lt.lastIndex - 1) !== `
|
|
4131
|
-
`) && (jt = "(?: " + jt + ")", qt = " " + qt,
|
|
4139
|
+
`) && (jt = "(?: " + jt + ")", qt = " " + qt, It++), st = new RegExp("^(?:" + jt + ")", St)), K && (st = new RegExp("^" + jt + "$(?!\\s)", St)), X && (yt = lt.lastIndex), ct = w(B, pe ? st : lt, qt), pe ? ct ? (ct.input = H(ct.input, It), ct[0] = H(ct[0], It), ct.index = lt.lastIndex, lt.lastIndex += ct[0].length) : lt.lastIndex = 0 : X && ct && (lt.lastIndex = lt.global ? ct.index + ct[0].length : yt), K && ct && ct.length > 1 && w(M, ct[0], st, function() {
|
|
4132
4140
|
for (Et = 1; Et < arguments.length - 2; Et++)
|
|
4133
4141
|
arguments[Et] === void 0 && (ct[Et] = void 0);
|
|
4134
4142
|
}), ct && Kt)
|
|
4135
4143
|
for (ct.groups = At = A(null), Et = 0; Et < Kt.length; Et++)
|
|
4136
|
-
At[(
|
|
4144
|
+
At[(Ht = Kt[Et])[0]] = ct[Ht[1]];
|
|
4137
4145
|
return ct;
|
|
4138
4146
|
}), y.exports = q;
|
|
4139
4147
|
}, 7066: (y, j, r) => {
|
|
@@ -4296,7 +4304,7 @@ var Su = { exports: {} };
|
|
|
4296
4304
|
};
|
|
4297
4305
|
}, At = function(lt) {
|
|
4298
4306
|
ct(lt.data);
|
|
4299
|
-
},
|
|
4307
|
+
}, Ht = function(lt) {
|
|
4300
4308
|
O.postMessage(tt(lt), v.protocol + "//" + v.host);
|
|
4301
4309
|
};
|
|
4302
4310
|
N && U || (N = function(lt) {
|
|
@@ -4311,7 +4319,7 @@ var Su = { exports: {} };
|
|
|
4311
4319
|
H.nextTick(Et(lt));
|
|
4312
4320
|
} : X && X.now ? g = function(lt) {
|
|
4313
4321
|
X.now(Et(lt));
|
|
4314
|
-
} : K && !q ? (k = (w = new K()).port2, w.port1.onmessage = At, g = S(k.postMessage, k)) : O.addEventListener && T(O.postMessage) && !O.importScripts && v && v.protocol !== "file:" && !R(
|
|
4322
|
+
} : K && !q ? (k = (w = new K()).port2, w.port1.onmessage = At, g = S(k.postMessage, k)) : O.addEventListener && T(O.postMessage) && !O.importScripts && v && v.protocol !== "file:" && !R(Ht) ? (g = Ht, O.addEventListener("message", At, !1)) : g = yt in M("script") ? function(lt) {
|
|
4315
4323
|
I.appendChild(M("script"))[yt] = function() {
|
|
4316
4324
|
I.removeChild(this), ct(lt);
|
|
4317
4325
|
};
|
|
@@ -4585,8 +4593,8 @@ var Su = { exports: {} };
|
|
|
4585
4593
|
for (st = 0; st < ct; st++)
|
|
4586
4594
|
st in tt && N(yt, tt[st]);
|
|
4587
4595
|
for (A(yt, /* @__PURE__ */ function(Et) {
|
|
4588
|
-
return function(At,
|
|
4589
|
-
return
|
|
4596
|
+
return function(At, Ht) {
|
|
4597
|
+
return Ht === void 0 ? -1 : At === void 0 ? 1 : Et !== void 0 ? +Et(At, Ht) || 0 : S(At) > S(Ht) ? 1 : -1;
|
|
4590
4598
|
};
|
|
4591
4599
|
}(K)), it = O(yt), st = 0; st < it; )
|
|
4592
4600
|
tt[st] = yt[st++];
|
|
@@ -4650,17 +4658,17 @@ var Su = { exports: {} };
|
|
|
4650
4658
|
}), it = function(yt, ct) {
|
|
4651
4659
|
var Et = A(arguments), At = R(ct);
|
|
4652
4660
|
if (S(At) || yt !== void 0 && !T(yt))
|
|
4653
|
-
return Et[1] = function(
|
|
4654
|
-
if (S(At) && (lt = k(At, this, $(
|
|
4661
|
+
return Et[1] = function(Ht, lt) {
|
|
4662
|
+
if (S(At) && (lt = k(At, this, $(Ht), lt)), !T(lt))
|
|
4655
4663
|
return lt;
|
|
4656
4664
|
}, w(M, null, Et);
|
|
4657
4665
|
}, st = function(yt, ct, Et) {
|
|
4658
|
-
var At = q(Et, ct - 1),
|
|
4659
|
-
return B(X, yt) && !B(Y,
|
|
4666
|
+
var At = q(Et, ct - 1), Ht = q(Et, ct + 1);
|
|
4667
|
+
return B(X, yt) && !B(Y, Ht) || B(Y, yt) && !B(X, At) ? "\\u" + U(F(yt, 0), 16) : yt;
|
|
4660
4668
|
};
|
|
4661
4669
|
M && v({ target: "JSON", stat: !0, arity: 3, forced: K || tt }, { stringify: function(yt, ct, Et) {
|
|
4662
|
-
var At = A(arguments),
|
|
4663
|
-
return tt && typeof
|
|
4670
|
+
var At = A(arguments), Ht = w(K ? it : M, null, At);
|
|
4671
|
+
return tt && typeof Ht == "string" ? N(Ht, H, st) : Ht;
|
|
4664
4672
|
} });
|
|
4665
4673
|
}, 3706: (y, j, r) => {
|
|
4666
4674
|
var v = r(7854);
|
|
@@ -4672,7 +4680,7 @@ var Su = { exports: {} };
|
|
|
4672
4680
|
var _t = $(wt, "number");
|
|
4673
4681
|
return typeof _t == "bigint" ? _t : ct(_t);
|
|
4674
4682
|
}, ct = function(wt) {
|
|
4675
|
-
var _t, Ut, Kt, pe, St, jt,
|
|
4683
|
+
var _t, Ut, Kt, pe, St, jt, It, qt, xt = $(wt, "number");
|
|
4676
4684
|
if (I(xt))
|
|
4677
4685
|
throw tt("Cannot convert a Symbol value to a number");
|
|
4678
4686
|
if (typeof xt == "string" && xt.length > 2) {
|
|
@@ -4692,8 +4700,8 @@ var Su = { exports: {} };
|
|
|
4692
4700
|
default:
|
|
4693
4701
|
return +xt;
|
|
4694
4702
|
}
|
|
4695
|
-
for (jt = (St = it(xt, 2)).length,
|
|
4696
|
-
if ((qt = st(St,
|
|
4703
|
+
for (jt = (St = it(xt, 2)).length, It = 0; It < jt; It++)
|
|
4704
|
+
if ((qt = st(St, It)) < 48 || qt > pe)
|
|
4697
4705
|
return NaN;
|
|
4698
4706
|
return parseInt(St, Kt);
|
|
4699
4707
|
}
|
|
@@ -4703,11 +4711,11 @@ var Su = { exports: {} };
|
|
|
4703
4711
|
return R(K, wt) && M(function() {
|
|
4704
4712
|
N(wt);
|
|
4705
4713
|
});
|
|
4706
|
-
},
|
|
4714
|
+
}, Ht = function(wt) {
|
|
4707
4715
|
var _t = arguments.length < 1 ? 0 : X(yt(wt));
|
|
4708
|
-
return At(this) ? A(Object(_t), this,
|
|
4716
|
+
return At(this) ? A(Object(_t), this, Ht) : _t;
|
|
4709
4717
|
};
|
|
4710
|
-
|
|
4718
|
+
Ht.prototype = K, Et && !g && (K.constructor = Ht), v({ global: !0, constructor: !0, wrap: !0, forced: Et }, { Number: Ht });
|
|
4711
4719
|
var lt = function(wt, _t) {
|
|
4712
4720
|
for (var Ut, Kt = w ? B(_t) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","), pe = 0; Kt.length > pe; pe++)
|
|
4713
4721
|
T(_t, Ut = Kt[pe]) && !T(wt, Ut) && F(wt, Ut, q(_t, Ut));
|
|
@@ -4850,30 +4858,30 @@ var Su = { exports: {} };
|
|
|
4850
4858
|
T.catch !== A && S(T, "catch", A, { unsafe: !0 });
|
|
4851
4859
|
}
|
|
4852
4860
|
}, 3401: (y, j, r) => {
|
|
4853
|
-
var v, g, w, k = r(2109), O = r(1913), C = r(5268), S = r(7854), T = r(6916), A = r(8052), R = r(7674), I = r(8003), $ = r(6340), M = r(9662), B = r(614), q = r(111), F = r(5787), N = r(6707), U = r(261).set, H = r(5948), X = r(842), Y = r(2534), K = r(8572), tt = r(9909), it = r(2492), st = r(3702), yt = r(8523), ct = "Promise", Et = st.CONSTRUCTOR, At = st.REJECTION_EVENT,
|
|
4861
|
+
var v, g, w, k = r(2109), O = r(1913), C = r(5268), S = r(7854), T = r(6916), A = r(8052), R = r(7674), I = r(8003), $ = r(6340), M = r(9662), B = r(614), q = r(111), F = r(5787), N = r(6707), U = r(261).set, H = r(5948), X = r(842), Y = r(2534), K = r(8572), tt = r(9909), it = r(2492), st = r(3702), yt = r(8523), ct = "Promise", Et = st.CONSTRUCTOR, At = st.REJECTION_EVENT, Ht = st.SUBCLASSING, lt = tt.getterFor(ct), wt = tt.set, _t = it && it.prototype, Ut = it, Kt = _t, pe = S.TypeError, St = S.document, jt = S.process, It = yt.f, qt = It, xt = !!(St && St.createEvent && S.dispatchEvent), rr = "unhandledrejection", he = function(ot) {
|
|
4854
4862
|
var bt;
|
|
4855
4863
|
return !(!q(ot) || !B(bt = ot.then)) && bt;
|
|
4856
4864
|
}, Ie = function(ot, bt) {
|
|
4857
|
-
var
|
|
4865
|
+
var Mt, $t, Qt, qe = bt.value, Je = bt.state == 1, vr = Je ? ot.ok : ot.fail, Ye = ot.resolve, ur = ot.reject, Ee = ot.domain;
|
|
4858
4866
|
try {
|
|
4859
|
-
vr ? (Je || (bt.rejection === 2 && Te(bt), bt.rejection = 1), vr === !0 ?
|
|
4867
|
+
vr ? (Je || (bt.rejection === 2 && Te(bt), bt.rejection = 1), vr === !0 ? Mt = qe : (Ee && Ee.enter(), Mt = vr(qe), Ee && (Ee.exit(), Qt = !0)), Mt === ot.promise ? ur(pe("Promise-chain cycle")) : ($t = he(Mt)) ? T($t, Mt, Ye, ur) : Ye(Mt)) : ur(qe);
|
|
4860
4868
|
} catch (Sn) {
|
|
4861
4869
|
Ee && !Qt && Ee.exit(), ur(Sn);
|
|
4862
4870
|
}
|
|
4863
4871
|
}, ve = function(ot, bt) {
|
|
4864
4872
|
ot.notified || (ot.notified = !0, H(function() {
|
|
4865
|
-
for (var
|
|
4866
|
-
Ie(
|
|
4873
|
+
for (var Mt, $t = ot.reactions; Mt = $t.get(); )
|
|
4874
|
+
Ie(Mt, ot);
|
|
4867
4875
|
ot.notified = !1, bt && !ot.rejection && Pe(ot);
|
|
4868
4876
|
}));
|
|
4869
|
-
}, nr = function(ot, bt,
|
|
4870
|
-
var
|
|
4871
|
-
xt ? ((
|
|
4877
|
+
}, nr = function(ot, bt, Mt) {
|
|
4878
|
+
var $t, Qt;
|
|
4879
|
+
xt ? (($t = St.createEvent("Event")).promise = bt, $t.reason = Mt, $t.initEvent(ot, !1, !0), S.dispatchEvent($t)) : $t = { promise: bt, reason: Mt }, !At && (Qt = S["on" + ot]) ? Qt($t) : ot === rr && X("Unhandled promise rejection", Mt);
|
|
4872
4880
|
}, Pe = function(ot) {
|
|
4873
4881
|
T(U, S, function() {
|
|
4874
|
-
var bt,
|
|
4882
|
+
var bt, Mt = ot.facade, $t = ot.value;
|
|
4875
4883
|
if (lr(ot) && (bt = Y(function() {
|
|
4876
|
-
C ? jt.emit("unhandledRejection",
|
|
4884
|
+
C ? jt.emit("unhandledRejection", $t, Mt) : nr(rr, Mt, $t);
|
|
4877
4885
|
}), ot.rejection = C || lr(ot) ? 2 : 1, bt.error))
|
|
4878
4886
|
throw bt.value;
|
|
4879
4887
|
});
|
|
@@ -4884,23 +4892,23 @@ var Su = { exports: {} };
|
|
|
4884
4892
|
var bt = ot.facade;
|
|
4885
4893
|
C ? jt.emit("rejectionHandled", bt) : nr("rejectionhandled", bt, ot.value);
|
|
4886
4894
|
});
|
|
4887
|
-
}, Ue = function(ot, bt,
|
|
4888
|
-
return function(
|
|
4889
|
-
ot(bt,
|
|
4895
|
+
}, Ue = function(ot, bt, Mt) {
|
|
4896
|
+
return function($t) {
|
|
4897
|
+
ot(bt, $t, Mt);
|
|
4890
4898
|
};
|
|
4891
|
-
}, Oe = function(ot, bt,
|
|
4892
|
-
ot.done || (ot.done = !0,
|
|
4893
|
-
}, cr = function(ot, bt,
|
|
4899
|
+
}, Oe = function(ot, bt, Mt) {
|
|
4900
|
+
ot.done || (ot.done = !0, Mt && (ot = Mt), ot.value = bt, ot.state = 2, ve(ot, !0));
|
|
4901
|
+
}, cr = function(ot, bt, Mt) {
|
|
4894
4902
|
if (!ot.done) {
|
|
4895
|
-
ot.done = !0,
|
|
4903
|
+
ot.done = !0, Mt && (ot = Mt);
|
|
4896
4904
|
try {
|
|
4897
4905
|
if (ot.facade === bt)
|
|
4898
4906
|
throw pe("Promise can't be resolved itself");
|
|
4899
|
-
var
|
|
4900
|
-
|
|
4907
|
+
var $t = he(bt);
|
|
4908
|
+
$t ? H(function() {
|
|
4901
4909
|
var Qt = { done: !1 };
|
|
4902
4910
|
try {
|
|
4903
|
-
T(
|
|
4911
|
+
T($t, bt, Ue(cr, Qt, ot), Ue(Oe, Qt, ot));
|
|
4904
4912
|
} catch (qe) {
|
|
4905
4913
|
Oe(Qt, qe, ot);
|
|
4906
4914
|
}
|
|
@@ -4915,26 +4923,26 @@ var Su = { exports: {} };
|
|
|
4915
4923
|
var bt = lt(this);
|
|
4916
4924
|
try {
|
|
4917
4925
|
ot(Ue(cr, bt), Ue(Oe, bt));
|
|
4918
|
-
} catch (
|
|
4919
|
-
Oe(bt,
|
|
4926
|
+
} catch (Mt) {
|
|
4927
|
+
Oe(bt, Mt);
|
|
4920
4928
|
}
|
|
4921
4929
|
}).prototype, (v = function(ot) {
|
|
4922
4930
|
wt(this, { type: ct, done: !1, notified: !1, parent: !1, reactions: new K(), rejection: !1, state: 0, value: void 0 });
|
|
4923
4931
|
}).prototype = A(Kt, "then", function(ot, bt) {
|
|
4924
|
-
var
|
|
4925
|
-
return
|
|
4926
|
-
Ie(
|
|
4927
|
-
}),
|
|
4932
|
+
var Mt = lt(this), $t = It(N(this, Ut));
|
|
4933
|
+
return Mt.parent = !0, $t.ok = !B(ot) || ot, $t.fail = B(bt) && bt, $t.domain = C ? jt.domain : void 0, Mt.state == 0 ? Mt.reactions.add($t) : H(function() {
|
|
4934
|
+
Ie($t, Mt);
|
|
4935
|
+
}), $t.promise;
|
|
4928
4936
|
}), g = function() {
|
|
4929
4937
|
var ot = new v(), bt = lt(ot);
|
|
4930
4938
|
this.promise = ot, this.resolve = Ue(cr, bt), this.reject = Ue(Oe, bt);
|
|
4931
|
-
}, yt.f =
|
|
4939
|
+
}, yt.f = It = function(ot) {
|
|
4932
4940
|
return ot === Ut || ot === void 0 ? new g(ot) : qt(ot);
|
|
4933
4941
|
}, !O && B(it) && _t !== Object.prototype)) {
|
|
4934
|
-
w = _t.then,
|
|
4935
|
-
var
|
|
4936
|
-
return new Ut(function(
|
|
4937
|
-
T(w,
|
|
4942
|
+
w = _t.then, Ht || A(_t, "then", function(ot, bt) {
|
|
4943
|
+
var Mt = this;
|
|
4944
|
+
return new Ut(function($t, Qt) {
|
|
4945
|
+
T(w, Mt, $t, Qt);
|
|
4938
4946
|
}).then(ot, bt);
|
|
4939
4947
|
}, { unsafe: !0 });
|
|
4940
4948
|
try {
|
|
@@ -5009,7 +5017,7 @@ var Su = { exports: {} };
|
|
|
5009
5017
|
return k(A) === M ? A[R] : (I = C.f(A, R)) ? O(I) ? I.value : I.get === void 0 ? void 0 : g(I.get, M) : w($ = S(A)) ? T($, R, M) : void 0;
|
|
5010
5018
|
} });
|
|
5011
5019
|
}, 4603: (y, j, r) => {
|
|
5012
|
-
var v = r(9781), g = r(7854), w = r(1702), k = r(4705), O = r(9587), C = r(8880), S = r(8006).f, T = r(7976), A = r(7850), R = r(1340), I = r(4706), $ = r(2999), M = r(2626), B = r(8052), q = r(7293), F = r(2597), N = r(9909).enforce, U = r(6340), H = r(5112), X = r(9441), Y = r(7168), K = H("match"), tt = g.RegExp, it = tt.prototype, st = g.SyntaxError, yt = w(it.exec), ct = w("".charAt), Et = w("".replace), At = w("".indexOf),
|
|
5020
|
+
var v = r(9781), g = r(7854), w = r(1702), k = r(4705), O = r(9587), C = r(8880), S = r(8006).f, T = r(7976), A = r(7850), R = r(1340), I = r(4706), $ = r(2999), M = r(2626), B = r(8052), q = r(7293), F = r(2597), N = r(9909).enforce, U = r(6340), H = r(5112), X = r(9441), Y = r(7168), K = H("match"), tt = g.RegExp, it = tt.prototype, st = g.SyntaxError, yt = w(it.exec), ct = w("".charAt), Et = w("".replace), At = w("".indexOf), Ht = w("".slice), lt = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/, wt = /a/g, _t = /a/g, Ut = new tt(wt) !== wt, Kt = $.MISSED_STICKY, pe = $.UNSUPPORTED_Y;
|
|
5013
5021
|
if (k("RegExp", v && (!Ut || Kt || X || Y || q(function() {
|
|
5014
5022
|
return _t[K] = !1, tt(wt) != wt || tt(_t) == _t || tt(wt, "i") != "/a/i";
|
|
5015
5023
|
})))) {
|
|
@@ -5018,9 +5026,9 @@ var Su = { exports: {} };
|
|
|
5018
5026
|
if (!lr && Te && Ue && qt.constructor === St)
|
|
5019
5027
|
return qt;
|
|
5020
5028
|
if ((Te || T(it, qt)) && (qt = qt.source, Ue && (xt = I(cr))), qt = qt === void 0 ? "" : R(qt), xt = xt === void 0 ? "" : R(xt), cr = qt, X && "dotAll" in wt && (he = !!xt && At(xt, "s") > -1) && (xt = Et(xt, /s/g, "")), rr = xt, Kt && "sticky" in wt && (Ie = !!xt && At(xt, "y") > -1) && pe && (xt = Et(xt, /y/g, "")), Y && (ve = function(ot) {
|
|
5021
|
-
for (var bt,
|
|
5022
|
-
if ((bt = ct(ot,
|
|
5023
|
-
bt += ct(ot,
|
|
5029
|
+
for (var bt, Mt = ot.length, $t = 0, Qt = "", qe = [], Je = {}, vr = !1, Ye = !1, ur = 0, Ee = ""; $t <= Mt; $t++) {
|
|
5030
|
+
if ((bt = ct(ot, $t)) === "\\")
|
|
5031
|
+
bt += ct(ot, ++$t);
|
|
5024
5032
|
else if (bt === "]")
|
|
5025
5033
|
vr = !1;
|
|
5026
5034
|
else if (!vr)
|
|
@@ -5029,7 +5037,7 @@ var Su = { exports: {} };
|
|
|
5029
5037
|
vr = !0;
|
|
5030
5038
|
break;
|
|
5031
5039
|
case bt === "(":
|
|
5032
|
-
yt(lt,
|
|
5040
|
+
yt(lt, Ht(ot, $t + 1)) && ($t += 2, Ye = !0), Qt += bt, ur++;
|
|
5033
5041
|
continue;
|
|
5034
5042
|
case (bt === ">" && Ye):
|
|
5035
5043
|
if (Ee === "" || F(Je, Ee))
|
|
@@ -5041,8 +5049,8 @@ var Su = { exports: {} };
|
|
|
5041
5049
|
}
|
|
5042
5050
|
return [Qt, qe];
|
|
5043
5051
|
}(qt), qt = ve[0], Oe = ve[1]), nr = O(tt(qt, xt), lr ? this : it, St), (he || Ie || Oe.length) && (Pe = N(nr), he && (Pe.dotAll = !0, Pe.raw = St(function(ot) {
|
|
5044
|
-
for (var bt,
|
|
5045
|
-
(bt = ct(ot,
|
|
5052
|
+
for (var bt, Mt = ot.length, $t = 0, Qt = "", qe = !1; $t <= Mt; $t++)
|
|
5053
|
+
(bt = ct(ot, $t)) !== "\\" ? qe || bt !== "." ? (bt === "[" ? qe = !0 : bt === "]" && (qe = !1), Qt += bt) : Qt += "[\\s\\S]" : Qt += bt + ct(ot, ++$t);
|
|
5046
5054
|
return Qt;
|
|
5047
5055
|
}(qt), rr)), Ie && (Pe.sticky = !0), Oe.length && (Pe.groups = Oe)), qt !== cr)
|
|
5048
5056
|
try {
|
|
@@ -5050,8 +5058,8 @@ var Su = { exports: {} };
|
|
|
5050
5058
|
} catch {
|
|
5051
5059
|
}
|
|
5052
5060
|
return nr;
|
|
5053
|
-
}, jt = S(tt),
|
|
5054
|
-
M(St, tt, jt[
|
|
5061
|
+
}, jt = S(tt), It = 0; jt.length > It; )
|
|
5062
|
+
M(St, tt, jt[It++]);
|
|
5055
5063
|
it.constructor = St, St.prototype = it, B(g, "RegExp", St, { constructor: !0 });
|
|
5056
5064
|
}
|
|
5057
5065
|
U("RegExp");
|
|
@@ -5104,11 +5112,11 @@ var Su = { exports: {} };
|
|
|
5104
5112
|
var v = r(2104), g = r(6916), w = r(1702), k = r(7007), O = r(7293), C = r(9670), S = r(614), T = r(8554), A = r(9303), R = r(7466), I = r(1340), $ = r(4488), M = r(1530), B = r(8173), q = r(647), F = r(7651), N = r(5112)("replace"), U = Math.max, H = Math.min, X = w([].concat), Y = w([].push), K = w("".indexOf), tt = w("".slice), it = "a".replace(/./, "$0") === "$0", st = !!/./[N] && /./[N]("a", "$0") === "";
|
|
5105
5113
|
k("replace", function(yt, ct, Et) {
|
|
5106
5114
|
var At = st ? "$" : "$0";
|
|
5107
|
-
return [function(
|
|
5108
|
-
var wt = $(this), _t = T(
|
|
5109
|
-
return _t ? g(_t,
|
|
5110
|
-
}, function(
|
|
5111
|
-
var wt = C(this), _t = I(
|
|
5115
|
+
return [function(Ht, lt) {
|
|
5116
|
+
var wt = $(this), _t = T(Ht) ? void 0 : B(Ht, N);
|
|
5117
|
+
return _t ? g(_t, Ht, wt, lt) : g(ct, I(wt), Ht, lt);
|
|
5118
|
+
}, function(Ht, lt) {
|
|
5119
|
+
var wt = C(this), _t = I(Ht);
|
|
5112
5120
|
if (typeof lt == "string" && K(lt, At) === -1 && K(lt, "$<") === -1) {
|
|
5113
5121
|
var Ut = Et(ct, wt, _t, lt);
|
|
5114
5122
|
if (Ut.done)
|
|
@@ -5122,15 +5130,15 @@ var Su = { exports: {} };
|
|
|
5122
5130
|
wt.lastIndex = 0;
|
|
5123
5131
|
}
|
|
5124
5132
|
for (var jt = []; ; ) {
|
|
5125
|
-
var
|
|
5126
|
-
if (
|
|
5133
|
+
var It = F(wt, _t);
|
|
5134
|
+
if (It === null || (Y(jt, It), !pe))
|
|
5127
5135
|
break;
|
|
5128
|
-
I(
|
|
5136
|
+
I(It[0]) === "" && (wt.lastIndex = M(_t, R(wt.lastIndex), St));
|
|
5129
5137
|
}
|
|
5130
5138
|
for (var qt, xt = "", rr = 0, he = 0; he < jt.length; he++) {
|
|
5131
|
-
for (var Ie = I((
|
|
5132
|
-
Y(nr, (qt =
|
|
5133
|
-
var lr =
|
|
5139
|
+
for (var Ie = I((It = jt[he])[0]), ve = U(H(A(It.index), _t.length), 0), nr = [], Pe = 1; Pe < It.length; Pe++)
|
|
5140
|
+
Y(nr, (qt = It[Pe]) === void 0 ? qt : String(qt));
|
|
5141
|
+
var lr = It.groups;
|
|
5134
5142
|
if (Kt) {
|
|
5135
5143
|
var Te = X([Ie], nr, ve, _t);
|
|
5136
5144
|
lr !== void 0 && Y(Te, lr);
|
|
@@ -5164,70 +5172,70 @@ var Su = { exports: {} };
|
|
|
5164
5172
|
}, 2443: (y, j, r) => {
|
|
5165
5173
|
r(6800)("asyncIterator");
|
|
5166
5174
|
}, 4032: (y, j, r) => {
|
|
5167
|
-
var v = r(2109), g = r(7854), w = r(6916), k = r(1702), O = r(1913), C = r(9781), S = r(6293), T = r(7293), A = r(2597), R = r(7976), I = r(9670), $ = r(5656), M = r(4948), B = r(1340), q = r(9114), F = r(30), N = r(1956), U = r(8006), H = r(1156), X = r(5181), Y = r(1236), K = r(3070), tt = r(6048), it = r(5296), st = r(8052), yt = r(7045), ct = r(2309), Et = r(6200), At = r(3501),
|
|
5175
|
+
var v = r(2109), g = r(7854), w = r(6916), k = r(1702), O = r(1913), C = r(9781), S = r(6293), T = r(7293), A = r(2597), R = r(7976), I = r(9670), $ = r(5656), M = r(4948), B = r(1340), q = r(9114), F = r(30), N = r(1956), U = r(8006), H = r(1156), X = r(5181), Y = r(1236), K = r(3070), tt = r(6048), it = r(5296), st = r(8052), yt = r(7045), ct = r(2309), Et = r(6200), At = r(3501), Ht = r(9711), lt = r(5112), wt = r(6061), _t = r(6800), Ut = r(6532), Kt = r(8003), pe = r(9909), St = r(2092).forEach, jt = Et("hidden"), It = "Symbol", qt = "prototype", xt = pe.set, rr = pe.getterFor(It), he = Object[qt], Ie = g.Symbol, ve = Ie && Ie[qt], nr = g.TypeError, Pe = g.QObject, lr = Y.f, Te = K.f, Ue = H.f, Oe = it.f, cr = k([].push), ot = ct("symbols"), bt = ct("op-symbols"), Mt = ct("wks"), $t = !Pe || !Pe[qt] || !Pe[qt].findChild, Qt = C && T(function() {
|
|
5168
5176
|
return F(Te({}, "a", { get: function() {
|
|
5169
5177
|
return Te(this, "a", { value: 7 }).a;
|
|
5170
5178
|
} })).a != 7;
|
|
5171
|
-
}) ? function(
|
|
5179
|
+
}) ? function(Dt, te, Xt) {
|
|
5172
5180
|
var ce = lr(he, te);
|
|
5173
|
-
ce && delete he[te], Te(
|
|
5174
|
-
} : Te, qe = function(
|
|
5175
|
-
var
|
|
5176
|
-
return xt(
|
|
5177
|
-
}, Je = function(
|
|
5178
|
-
|
|
5181
|
+
ce && delete he[te], Te(Dt, te, Xt), ce && Dt !== he && Te(he, te, ce);
|
|
5182
|
+
} : Te, qe = function(Dt, te) {
|
|
5183
|
+
var Xt = ot[Dt] = F(ve);
|
|
5184
|
+
return xt(Xt, { type: It, tag: Dt, description: te }), C || (Xt.description = te), Xt;
|
|
5185
|
+
}, Je = function(Dt, te, Xt) {
|
|
5186
|
+
Dt === he && Je(bt, te, Xt), I(Dt);
|
|
5179
5187
|
var ce = M(te);
|
|
5180
|
-
return I(
|
|
5181
|
-
}, vr = function(
|
|
5182
|
-
I(
|
|
5183
|
-
var
|
|
5188
|
+
return I(Xt), A(ot, ce) ? (Xt.enumerable ? (A(Dt, jt) && Dt[jt][ce] && (Dt[jt][ce] = !1), Xt = F(Xt, { enumerable: q(0, !1) })) : (A(Dt, jt) || Te(Dt, jt, q(1, {})), Dt[jt][ce] = !0), Qt(Dt, ce, Xt)) : Te(Dt, ce, Xt);
|
|
5189
|
+
}, vr = function(Dt, te) {
|
|
5190
|
+
I(Dt);
|
|
5191
|
+
var Xt = $(te), ce = N(Xt).concat(Sn(Xt));
|
|
5184
5192
|
return St(ce, function(Me) {
|
|
5185
|
-
C && !w(Ye,
|
|
5186
|
-
}),
|
|
5187
|
-
}, Ye = function(
|
|
5188
|
-
var te = M(
|
|
5189
|
-
return !(this === he && A(ot, te) && !A(bt, te)) && (!(
|
|
5190
|
-
}, ur = function(
|
|
5191
|
-
var
|
|
5192
|
-
if (
|
|
5193
|
-
var Me = lr(
|
|
5194
|
-
return !Me || !A(ot, ce) || A(
|
|
5193
|
+
C && !w(Ye, Xt, Me) || Je(Dt, Me, Xt[Me]);
|
|
5194
|
+
}), Dt;
|
|
5195
|
+
}, Ye = function(Dt) {
|
|
5196
|
+
var te = M(Dt), Xt = w(Oe, this, te);
|
|
5197
|
+
return !(this === he && A(ot, te) && !A(bt, te)) && (!(Xt || !A(this, te) || !A(ot, te) || A(this, jt) && this[jt][te]) || Xt);
|
|
5198
|
+
}, ur = function(Dt, te) {
|
|
5199
|
+
var Xt = $(Dt), ce = M(te);
|
|
5200
|
+
if (Xt !== he || !A(ot, ce) || A(bt, ce)) {
|
|
5201
|
+
var Me = lr(Xt, ce);
|
|
5202
|
+
return !Me || !A(ot, ce) || A(Xt, jt) && Xt[jt][ce] || (Me.enumerable = !0), Me;
|
|
5195
5203
|
}
|
|
5196
|
-
}, Ee = function(
|
|
5197
|
-
var te = Ue($(
|
|
5204
|
+
}, Ee = function(Dt) {
|
|
5205
|
+
var te = Ue($(Dt)), Xt = [];
|
|
5198
5206
|
return St(te, function(ce) {
|
|
5199
|
-
A(ot, ce) || A(At, ce) || cr(
|
|
5200
|
-
}),
|
|
5201
|
-
}, Sn = function(
|
|
5202
|
-
var te =
|
|
5203
|
-
return St(
|
|
5207
|
+
A(ot, ce) || A(At, ce) || cr(Xt, ce);
|
|
5208
|
+
}), Xt;
|
|
5209
|
+
}, Sn = function(Dt) {
|
|
5210
|
+
var te = Dt === he, Xt = Ue(te ? bt : $(Dt)), ce = [];
|
|
5211
|
+
return St(Xt, function(Me) {
|
|
5204
5212
|
!A(ot, Me) || te && !A(he, Me) || cr(ce, ot[Me]);
|
|
5205
5213
|
}), ce;
|
|
5206
5214
|
};
|
|
5207
5215
|
S || (st(ve = (Ie = function() {
|
|
5208
5216
|
if (R(ve, this))
|
|
5209
5217
|
throw nr("Symbol is not a constructor");
|
|
5210
|
-
var
|
|
5211
|
-
this === he && w(
|
|
5218
|
+
var Dt = arguments.length && arguments[0] !== void 0 ? B(arguments[0]) : void 0, te = Ht(Dt), Xt = function(ce) {
|
|
5219
|
+
this === he && w(Xt, bt, ce), A(this, jt) && A(this[jt], te) && (this[jt][te] = !1), Qt(this, te, q(1, ce));
|
|
5212
5220
|
};
|
|
5213
|
-
return C &&
|
|
5221
|
+
return C && $t && Qt(he, te, { configurable: !0, set: Xt }), qe(te, Dt);
|
|
5214
5222
|
})[qt], "toString", function() {
|
|
5215
5223
|
return rr(this).tag;
|
|
5216
|
-
}), st(Ie, "withoutSetter", function(
|
|
5217
|
-
return qe(
|
|
5218
|
-
}), it.f = Ye, K.f = Je, tt.f = vr, Y.f = ur, U.f = H.f = Ee, X.f = Sn, wt.f = function(
|
|
5219
|
-
return qe(lt(
|
|
5224
|
+
}), st(Ie, "withoutSetter", function(Dt) {
|
|
5225
|
+
return qe(Ht(Dt), Dt);
|
|
5226
|
+
}), it.f = Ye, K.f = Je, tt.f = vr, Y.f = ur, U.f = H.f = Ee, X.f = Sn, wt.f = function(Dt) {
|
|
5227
|
+
return qe(lt(Dt), Dt);
|
|
5220
5228
|
}, C && (yt(ve, "description", { configurable: !0, get: function() {
|
|
5221
5229
|
return rr(this).description;
|
|
5222
|
-
} }), O || st(he, "propertyIsEnumerable", Ye, { unsafe: !0 }))), v({ global: !0, constructor: !0, wrap: !0, forced: !S, sham: !S }, { Symbol: Ie }), St(N(
|
|
5223
|
-
_t(
|
|
5224
|
-
}), v({ target:
|
|
5225
|
-
|
|
5230
|
+
} }), O || st(he, "propertyIsEnumerable", Ye, { unsafe: !0 }))), v({ global: !0, constructor: !0, wrap: !0, forced: !S, sham: !S }, { Symbol: Ie }), St(N(Mt), function(Dt) {
|
|
5231
|
+
_t(Dt);
|
|
5232
|
+
}), v({ target: It, stat: !0, forced: !S }, { useSetter: function() {
|
|
5233
|
+
$t = !0;
|
|
5226
5234
|
}, useSimple: function() {
|
|
5227
|
-
|
|
5228
|
-
} }), v({ target: "Object", stat: !0, forced: !S, sham: !C }, { create: function(
|
|
5229
|
-
return te === void 0 ? F(
|
|
5230
|
-
}, defineProperty: Je, defineProperties: vr, getOwnPropertyDescriptor: ur }), v({ target: "Object", stat: !0, forced: !S }, { getOwnPropertyNames: Ee }), Ut(), Kt(Ie,
|
|
5235
|
+
$t = !1;
|
|
5236
|
+
} }), v({ target: "Object", stat: !0, forced: !S, sham: !C }, { create: function(Dt, te) {
|
|
5237
|
+
return te === void 0 ? F(Dt) : vr(F(Dt), te);
|
|
5238
|
+
}, defineProperty: Je, defineProperties: vr, getOwnPropertyDescriptor: ur }), v({ target: "Object", stat: !0, forced: !S }, { getOwnPropertyNames: Ee }), Ut(), Kt(Ie, It), At[jt] = !0;
|
|
5231
5239
|
}, 1817: (y, j, r) => {
|
|
5232
5240
|
var v = r(2109), g = r(9781), w = r(7854), k = r(1702), O = r(2597), C = r(614), S = r(7976), T = r(1340), A = r(7045), R = r(9920), I = w.Symbol, $ = I && I.prototype;
|
|
5233
5241
|
if (g && C(I) && (!("description" in $) || I().description !== void 0)) {
|
|
@@ -5798,20 +5806,20 @@ var Su = { exports: {} };
|
|
|
5798
5806
|
}(e = t) || function(P, D) {
|
|
5799
5807
|
var J = P == null ? null : typeof Symbol < "u" && P[Symbol.iterator] || P["@@iterator"];
|
|
5800
5808
|
if (J != null) {
|
|
5801
|
-
var nt, ut, ht, kt, Ct = [],
|
|
5809
|
+
var nt, ut, ht, kt, Ct = [], Nt = !0, ne = !1;
|
|
5802
5810
|
try {
|
|
5803
5811
|
if (ht = (J = J.call(P)).next, D === 0) {
|
|
5804
5812
|
if (Object(J) !== J)
|
|
5805
5813
|
return;
|
|
5806
|
-
|
|
5814
|
+
Nt = !1;
|
|
5807
5815
|
} else
|
|
5808
|
-
for (; !(
|
|
5816
|
+
for (; !(Nt = (nt = ht.call(J)).done) && (Ct.push(nt.value), Ct.length !== D); Nt = !0)
|
|
5809
5817
|
;
|
|
5810
5818
|
} catch (Ae) {
|
|
5811
5819
|
ne = !0, ut = Ae;
|
|
5812
5820
|
} finally {
|
|
5813
5821
|
try {
|
|
5814
|
-
if (
|
|
5822
|
+
if (!Nt && J.return != null && (kt = J.return(), Object(kt) !== kt))
|
|
5815
5823
|
return;
|
|
5816
5824
|
} finally {
|
|
5817
5825
|
if (ne)
|
|
@@ -6177,7 +6185,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6177
6185
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
6178
6186
|
}, At(c);
|
|
6179
6187
|
}
|
|
6180
|
-
function
|
|
6188
|
+
function Ht(c, n) {
|
|
6181
6189
|
for (var m = 0; m < n.length; m++) {
|
|
6182
6190
|
var i = n[m];
|
|
6183
6191
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(c, (h = function(a, l) {
|
|
@@ -6501,7 +6509,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6501
6509
|
})) : this.error_holder.style.display = "none"), this.rows.forEach(function(d) {
|
|
6502
6510
|
return d.showValidationErrors(u);
|
|
6503
6511
|
});
|
|
6504
|
-
} }], m &&
|
|
6512
|
+
} }], m && Ht(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
6505
6513
|
}(F);
|
|
6506
6514
|
function Kt(c) {
|
|
6507
6515
|
return Kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
@@ -6531,7 +6539,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6531
6539
|
function St() {
|
|
6532
6540
|
return St = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
6533
6541
|
var i = function(a, l) {
|
|
6534
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
6542
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = It(a)) !== null; )
|
|
6535
6543
|
;
|
|
6536
6544
|
return a;
|
|
6537
6545
|
}(c, n);
|
|
@@ -6546,10 +6554,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6546
6554
|
return m.__proto__ = i, m;
|
|
6547
6555
|
}, jt(c, n);
|
|
6548
6556
|
}
|
|
6549
|
-
function
|
|
6550
|
-
return
|
|
6557
|
+
function It(c) {
|
|
6558
|
+
return It = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
6551
6559
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
6552
|
-
},
|
|
6560
|
+
}, It(c);
|
|
6553
6561
|
}
|
|
6554
6562
|
Ut.rules = { ".json-editor-btntype-toggle": "margin:0%2010px%200%200", ".je-array-control-btn": "width:100%25;text-align:left;margin-bottom:3px" };
|
|
6555
6563
|
var qt = function(c) {
|
|
@@ -6570,9 +6578,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6570
6578
|
return !1;
|
|
6571
6579
|
}
|
|
6572
6580
|
}(), function() {
|
|
6573
|
-
var t, e =
|
|
6581
|
+
var t, e = It(i);
|
|
6574
6582
|
if (h) {
|
|
6575
|
-
var o =
|
|
6583
|
+
var o = It(this).constructor;
|
|
6576
6584
|
t = Reflect.construct(e, arguments, o);
|
|
6577
6585
|
} else
|
|
6578
6586
|
t = e.apply(this, arguments);
|
|
@@ -6597,9 +6605,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6597
6605
|
return n = l, (m = [{ key: "onInputChange", value: function() {
|
|
6598
6606
|
this.value = this.input.value, this.onChange(!0);
|
|
6599
6607
|
} }, { key: "register", value: function() {
|
|
6600
|
-
St(
|
|
6608
|
+
St(It(l.prototype), "register", this).call(this), this.input && this.jsoneditor.options.use_name_attributes && this.input.setAttribute("name", this.formname);
|
|
6601
6609
|
} }, { key: "unregister", value: function() {
|
|
6602
|
-
St(
|
|
6610
|
+
St(It(l.prototype), "unregister", this).call(this), this.input && this.input.removeAttribute("name");
|
|
6603
6611
|
} }, { key: "getNumColumns", value: function() {
|
|
6604
6612
|
var t = this, e = this.getTitle().length;
|
|
6605
6613
|
return Object.keys(this.select_values).forEach(function(o) {
|
|
@@ -6607,7 +6615,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6607
6615
|
}), Math.min(12, Math.max(e / 7, 2));
|
|
6608
6616
|
} }, { key: "preBuild", value: function() {
|
|
6609
6617
|
var t;
|
|
6610
|
-
St(
|
|
6618
|
+
St(It(l.prototype), "preBuild", this).call(this), this.select_options = {}, this.select_values = {}, this.option_titles = [], this.option_keys = [], this.option_enum = [];
|
|
6611
6619
|
var e = this.jsoneditor.expandRefs(this.schema.items || {}), o = e.enum || [], u = e.options && e.options.enum || [], d = e.options && e.options.enum_titles || [];
|
|
6612
6620
|
for (t = 0; t < o.length; t++)
|
|
6613
6621
|
if (this.sanitize(o[t]) === o[t]) {
|
|
@@ -6644,7 +6652,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6644
6652
|
e.afterInputReady();
|
|
6645
6653
|
});
|
|
6646
6654
|
} }, { key: "postBuild", value: function() {
|
|
6647
|
-
St(
|
|
6655
|
+
St(It(l.prototype), "postBuild", this).call(this);
|
|
6648
6656
|
} }, { key: "afterInputReady", value: function() {
|
|
6649
6657
|
this.theme.afterInputReady(this.input || this.inputs);
|
|
6650
6658
|
} }, { key: "setValue", value: function(t, e) {
|
|
@@ -6674,14 +6682,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6674
6682
|
var t = this;
|
|
6675
6683
|
this.always_disabled || (this.input ? this.input.disabled = !1 : this.inputs && Object.keys(this.inputs).forEach(function(e) {
|
|
6676
6684
|
return t.inputs[e].disabled = !1;
|
|
6677
|
-
}), St(
|
|
6685
|
+
}), St(It(l.prototype), "enable", this).call(this));
|
|
6678
6686
|
} }, { key: "disable", value: function(t) {
|
|
6679
6687
|
var e = this;
|
|
6680
6688
|
t && (this.always_disabled = !0), this.input ? this.input.disabled = !0 : this.inputs && Object.keys(this.inputs).forEach(function(o) {
|
|
6681
6689
|
return e.inputs[o].disabled = !0;
|
|
6682
|
-
}), St(
|
|
6690
|
+
}), St(It(l.prototype), "disable", this).call(this);
|
|
6683
6691
|
} }, { key: "destroy", value: function() {
|
|
6684
|
-
St(
|
|
6692
|
+
St(It(l.prototype), "destroy", this).call(this);
|
|
6685
6693
|
} }, { key: "escapeRegExp", value: function(t) {
|
|
6686
6694
|
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
6687
6695
|
} }, { key: "showValidationErrors", value: function(t) {
|
|
@@ -6958,8 +6966,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6958
6966
|
}
|
|
6959
6967
|
var h;
|
|
6960
6968
|
}
|
|
6961
|
-
function
|
|
6962
|
-
return
|
|
6969
|
+
function Mt() {
|
|
6970
|
+
return Mt = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
6963
6971
|
var i = function(a, l) {
|
|
6964
6972
|
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = Qt(a)) !== null; )
|
|
6965
6973
|
;
|
|
@@ -6969,12 +6977,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6969
6977
|
var h = Object.getOwnPropertyDescriptor(i, n);
|
|
6970
6978
|
return h.get ? h.get.call(arguments.length < 3 ? c : m) : h.value;
|
|
6971
6979
|
}
|
|
6972
|
-
},
|
|
6980
|
+
}, Mt.apply(this, arguments);
|
|
6973
6981
|
}
|
|
6974
|
-
function
|
|
6975
|
-
return
|
|
6982
|
+
function $t(c, n) {
|
|
6983
|
+
return $t = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
6976
6984
|
return m.__proto__ = i, m;
|
|
6977
|
-
},
|
|
6985
|
+
}, $t(c, n);
|
|
6978
6986
|
}
|
|
6979
6987
|
function Qt(c) {
|
|
6980
6988
|
return Qt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
@@ -6985,7 +6993,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6985
6993
|
(function(t, e) {
|
|
6986
6994
|
if (typeof e != "function" && e !== null)
|
|
6987
6995
|
throw new TypeError("Super expression must either be null or a function");
|
|
6988
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e &&
|
|
6996
|
+
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && $t(t, e);
|
|
6989
6997
|
})(l, c);
|
|
6990
6998
|
var n, m, i, h, a = (i = l, h = function() {
|
|
6991
6999
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -7026,13 +7034,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7026
7034
|
return n = l, (m = [{ key: "setValue", value: function(t, e) {
|
|
7027
7035
|
this.selectize_instance ? (t = [].concat(t).map(function(o) {
|
|
7028
7036
|
return "".concat(o);
|
|
7029
|
-
}), this.updateValue(t), this.selectize_instance.setValue(this.value), this.onChange(!0)) :
|
|
7037
|
+
}), this.updateValue(t), this.selectize_instance.setValue(this.value), this.onChange(!0)) : Mt(Qt(l.prototype), "setValue", this).call(this, t, e);
|
|
7030
7038
|
} }, { key: "afterInputReady", value: function() {
|
|
7031
7039
|
var t, e = this;
|
|
7032
7040
|
window.jQuery && window.jQuery.fn && window.jQuery.fn.selectize && !this.selectize_instance && (t = this.expandCallbacks("selectize", k({}, { plugins: ["remove_button"], delimiter: !1, createOnBlur: !0, create: !0 }, this.defaults.options.selectize || {}, this.options.selectize || {})), this.newEnumAllowed = t.create = !!t.create && this.schema.items && this.schema.items.type === "string", this.selectize_instance = window.jQuery(this.input).selectize(t)[0].selectize, this.control.removeEventListener("change", this.multiselectChangeHandler), this.multiselectChangeHandler = function(o) {
|
|
7033
7041
|
var u = e.selectize_instance.getValue();
|
|
7034
7042
|
e.updateValue(u), e.onChange(!0);
|
|
7035
|
-
}, this.selectize_instance.on("change", this.multiselectChangeHandler)),
|
|
7043
|
+
}, this.selectize_instance.on("change", this.multiselectChangeHandler)), Mt(Qt(l.prototype), "afterInputReady", this).call(this);
|
|
7036
7044
|
} }, { key: "updateValue", value: function(t) {
|
|
7037
7045
|
t = [].concat(t);
|
|
7038
7046
|
for (var e = !1, o = [], u = 0; u < t.length; u++)
|
|
@@ -7044,11 +7052,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7044
7052
|
} }, { key: "addNewOption", value: function(t) {
|
|
7045
7053
|
return this.option_keys.push("".concat(t)), this.option_titles.push("".concat(t)), this.select_values["".concat(t)] = t, this.selectize_instance.addOption({ text: t, value: t }), !0;
|
|
7046
7054
|
} }, { key: "enable", value: function() {
|
|
7047
|
-
!this.always_disabled && this.selectize_instance && this.selectize_instance.unlock(),
|
|
7055
|
+
!this.always_disabled && this.selectize_instance && this.selectize_instance.unlock(), Mt(Qt(l.prototype), "enable", this).call(this);
|
|
7048
7056
|
} }, { key: "disable", value: function(t) {
|
|
7049
|
-
this.selectize_instance && this.selectize_instance.lock(),
|
|
7057
|
+
this.selectize_instance && this.selectize_instance.lock(), Mt(Qt(l.prototype), "disable", this).call(this, t);
|
|
7050
7058
|
} }, { key: "destroy", value: function() {
|
|
7051
|
-
this.selectize_instance && (this.selectize_instance.destroy(), this.selectize_instance = null),
|
|
7059
|
+
this.selectize_instance && (this.selectize_instance.destroy(), this.selectize_instance = null), Mt(Qt(l.prototype), "destroy", this).call(this);
|
|
7052
7060
|
} }]) && bt(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
7053
7061
|
}(qt);
|
|
7054
7062
|
function Je(c) {
|
|
@@ -7154,33 +7162,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7154
7162
|
this.autocomplete_instance && (this.input && this.input.parentNode && this.input.parentNode.removeChild(this.input), this.autocomplete_dropdown && this.autocomplete_dropdown.parentNode && this.autocomplete_dropdown.parentNode.removeChild(this.autocomplete_dropdown), this.autocomplete_wrapper && this.autocomplete_wrapper.parentNode && this.autocomplete_wrapper.parentNode.removeChild(this.autocomplete_wrapper), this.autocomplete_instance = null), Ye(Ee(l.prototype), "destroy", this).call(this);
|
|
7155
7163
|
} }]) && vr(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
7156
7164
|
}(K);
|
|
7157
|
-
function
|
|
7158
|
-
return
|
|
7165
|
+
function Dt(c) {
|
|
7166
|
+
return Dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
7159
7167
|
return typeof n;
|
|
7160
7168
|
} : function(n) {
|
|
7161
7169
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
7162
|
-
},
|
|
7170
|
+
}, Dt(c);
|
|
7163
7171
|
}
|
|
7164
7172
|
function te(c, n) {
|
|
7165
7173
|
for (var m = 0; m < n.length; m++) {
|
|
7166
7174
|
var i = n[m];
|
|
7167
7175
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(c, (h = function(a, l) {
|
|
7168
|
-
if (
|
|
7176
|
+
if (Dt(a) !== "object" || a === null)
|
|
7169
7177
|
return a;
|
|
7170
7178
|
var t = a[Symbol.toPrimitive];
|
|
7171
7179
|
if (t !== void 0) {
|
|
7172
7180
|
var e = t.call(a, "string");
|
|
7173
|
-
if (
|
|
7181
|
+
if (Dt(e) !== "object")
|
|
7174
7182
|
return e;
|
|
7175
7183
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7176
7184
|
}
|
|
7177
7185
|
return String(a);
|
|
7178
|
-
}(i.key),
|
|
7186
|
+
}(i.key), Dt(h) === "symbol" ? h : String(h)), i);
|
|
7179
7187
|
}
|
|
7180
7188
|
var h;
|
|
7181
7189
|
}
|
|
7182
|
-
function
|
|
7183
|
-
return
|
|
7190
|
+
function Xt() {
|
|
7191
|
+
return Xt = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
7184
7192
|
var i = function(a, l) {
|
|
7185
7193
|
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = Me(a)) !== null; )
|
|
7186
7194
|
;
|
|
@@ -7190,7 +7198,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7190
7198
|
var h = Object.getOwnPropertyDescriptor(i, n);
|
|
7191
7199
|
return h.get ? h.get.call(arguments.length < 3 ? c : m) : h.value;
|
|
7192
7200
|
}
|
|
7193
|
-
},
|
|
7201
|
+
}, Xt.apply(this, arguments);
|
|
7194
7202
|
}
|
|
7195
7203
|
function ce(c, n) {
|
|
7196
7204
|
return ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
@@ -7228,7 +7236,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7228
7236
|
} else
|
|
7229
7237
|
t = e.apply(this, arguments);
|
|
7230
7238
|
return function(u, d) {
|
|
7231
|
-
if (d && (
|
|
7239
|
+
if (d && (Dt(d) === "object" || typeof d == "function"))
|
|
7232
7240
|
return d;
|
|
7233
7241
|
if (d !== void 0)
|
|
7234
7242
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -7299,13 +7307,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7299
7307
|
this.preview.innerHTML = "<em>Invalid data URI</em>";
|
|
7300
7308
|
}
|
|
7301
7309
|
} }, { key: "enable", value: function() {
|
|
7302
|
-
this.always_disabled || (this.uploader && (this.uploader.disabled = !1),
|
|
7310
|
+
this.always_disabled || (this.uploader && (this.uploader.disabled = !1), Xt(Me(l.prototype), "enable", this).call(this));
|
|
7303
7311
|
} }, { key: "disable", value: function(t) {
|
|
7304
|
-
t && (this.always_disabled = !0), this.uploader && (this.uploader.disabled = !0),
|
|
7312
|
+
t && (this.always_disabled = !0), this.uploader && (this.uploader.disabled = !0), Xt(Me(l.prototype), "disable", this).call(this);
|
|
7305
7313
|
} }, { key: "setValue", value: function(t) {
|
|
7306
7314
|
this.value !== t && (this.schema.readOnly && this.schema.enum && !this.schema.enum.includes(t) ? this.value = this.schema.enum[0] : this.value = t, this.input.value = this.value, this.refreshPreview(), this.onChange());
|
|
7307
7315
|
} }, { key: "destroy", value: function() {
|
|
7308
|
-
this.preview && this.preview.parentNode && this.preview.parentNode.removeChild(this.preview), this.title && this.title.parentNode && this.title.parentNode.removeChild(this.title), this.input && this.input.parentNode && this.input.parentNode.removeChild(this.input), this.uploader && this.uploader.parentNode && this.uploader.parentNode.removeChild(this.uploader),
|
|
7316
|
+
this.preview && this.preview.parentNode && this.preview.parentNode.removeChild(this.preview), this.title && this.title.parentNode && this.title.parentNode.removeChild(this.title), this.input && this.input.parentNode && this.input.parentNode.removeChild(this.input), this.uploader && this.uploader.parentNode && this.uploader.parentNode.removeChild(this.uploader), Xt(Me(l.prototype), "destroy", this).call(this);
|
|
7309
7317
|
} }]) && te(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
7310
7318
|
}(F);
|
|
7311
7319
|
function Pn(c) {
|
|
@@ -7346,10 +7354,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7346
7354
|
}
|
|
7347
7355
|
}, Xn.apply(this, arguments);
|
|
7348
7356
|
}
|
|
7349
|
-
function
|
|
7350
|
-
return
|
|
7357
|
+
function Qr(c, n) {
|
|
7358
|
+
return Qr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
7351
7359
|
return m.__proto__ = i, m;
|
|
7352
|
-
},
|
|
7360
|
+
}, Qr(c, n);
|
|
7353
7361
|
}
|
|
7354
7362
|
function Vr(c) {
|
|
7355
7363
|
return Vr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
@@ -7360,7 +7368,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7360
7368
|
(function(t, e) {
|
|
7361
7369
|
if (typeof e != "function" && e !== null)
|
|
7362
7370
|
throw new TypeError("Super expression must either be null or a function");
|
|
7363
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e &&
|
|
7371
|
+
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Qr(t, e);
|
|
7364
7372
|
})(l, c);
|
|
7365
7373
|
var n, m, i, h, a = (i = l, h = function() {
|
|
7366
7374
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -7580,10 +7588,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7580
7588
|
}
|
|
7581
7589
|
}, _r.apply(this, arguments);
|
|
7582
7590
|
}
|
|
7583
|
-
function
|
|
7584
|
-
return
|
|
7591
|
+
function tn(c, n) {
|
|
7592
|
+
return tn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
7585
7593
|
return m.__proto__ = i, m;
|
|
7586
|
-
},
|
|
7594
|
+
}, tn(c, n);
|
|
7587
7595
|
}
|
|
7588
7596
|
function xr(c) {
|
|
7589
7597
|
return xr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
@@ -7595,7 +7603,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7595
7603
|
(function(t, e) {
|
|
7596
7604
|
if (typeof e != "function" && e !== null)
|
|
7597
7605
|
throw new TypeError("Super expression must either be null or a function");
|
|
7598
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e &&
|
|
7606
|
+
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && tn(t, e);
|
|
7599
7607
|
})(l, c);
|
|
7600
7608
|
var n, m, i, h, a = (i = l, h = function() {
|
|
7601
7609
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -7705,12 +7713,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7705
7713
|
this.enumSource[d].value ? J[e] = this.typecast(this.enumSource[d].value({ i: e, item: nt })) : J[e] = x[e], this.enumSource[d].title ? D[e] = this.enumSource[d].title({ i: e, item: nt }) : D[e] = J[e];
|
|
7706
7714
|
}
|
|
7707
7715
|
this.enumSource[d].sort && (function(ht, kt, Ct) {
|
|
7708
|
-
ht.map(function(
|
|
7709
|
-
return { v:
|
|
7710
|
-
}).sort(function(
|
|
7711
|
-
return
|
|
7712
|
-
}).forEach(function(
|
|
7713
|
-
ht[ne] =
|
|
7716
|
+
ht.map(function(Nt, ne) {
|
|
7717
|
+
return { v: Nt, t: kt[ne] };
|
|
7718
|
+
}).sort(function(Nt, ne) {
|
|
7719
|
+
return Nt.v < ne.v ? -Ct : Nt.v === ne.v ? 0 : Ct;
|
|
7720
|
+
}).forEach(function(Nt, ne) {
|
|
7721
|
+
ht[ne] = Nt.v, kt[ne] = Nt.t;
|
|
7714
7722
|
});
|
|
7715
7723
|
}).bind(null, J, D, this.enumSource[d].sort === "desc" ? 1 : -1)(), o = o.concat(J), u = u.concat(D);
|
|
7716
7724
|
}
|
|
@@ -7879,8 +7887,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7879
7887
|
}
|
|
7880
7888
|
var h;
|
|
7881
7889
|
}
|
|
7882
|
-
function
|
|
7883
|
-
return
|
|
7890
|
+
function Bt() {
|
|
7891
|
+
return Bt = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
7884
7892
|
var i = function(a, l) {
|
|
7885
7893
|
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = ft(a)) !== null; )
|
|
7886
7894
|
;
|
|
@@ -7890,12 +7898,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7890
7898
|
var h = Object.getOwnPropertyDescriptor(i, n);
|
|
7891
7899
|
return h.get ? h.get.call(arguments.length < 3 ? c : m) : h.value;
|
|
7892
7900
|
}
|
|
7893
|
-
},
|
|
7901
|
+
}, Bt.apply(this, arguments);
|
|
7894
7902
|
}
|
|
7895
|
-
function
|
|
7896
|
-
return
|
|
7903
|
+
function Yt(c, n) {
|
|
7904
|
+
return Yt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
7897
7905
|
return m.__proto__ = i, m;
|
|
7898
|
-
},
|
|
7906
|
+
}, Yt(c, n);
|
|
7899
7907
|
}
|
|
7900
7908
|
function ft(c) {
|
|
7901
7909
|
return ft = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
@@ -7907,7 +7915,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7907
7915
|
(function(t, e) {
|
|
7908
7916
|
if (typeof e != "function" && e !== null)
|
|
7909
7917
|
throw new TypeError("Super expression must either be null or a function");
|
|
7910
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e &&
|
|
7918
|
+
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Yt(t, e);
|
|
7911
7919
|
})(l, c);
|
|
7912
7920
|
var n, m, i, h, a = (i = l, h = function() {
|
|
7913
7921
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -7946,7 +7954,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7946
7954
|
}(this, l), a.apply(this, arguments);
|
|
7947
7955
|
}
|
|
7948
7956
|
return n = l, (m = [{ key: "build", value: function() {
|
|
7949
|
-
if (
|
|
7957
|
+
if (Bt(ft(l.prototype), "build", this).call(this), this.input && (this.schema.max && typeof this.schema.max == "string" && this.input.setAttribute("max", this.schema.max), this.schema.min && typeof this.schema.max == "string" && this.input.setAttribute("min", this.schema.min), window.flatpickr && Q(this.options.flatpickr) === "object")) {
|
|
7950
7958
|
this.options.flatpickr.enableTime = this.schema.format !== "date", this.options.flatpickr.noCalendar = this.schema.format === "time", this.schema.type === "integer" && (this.options.flatpickr.mode = "single"), this.input.setAttribute("data-input", "");
|
|
7951
7959
|
var t = this.input;
|
|
7952
7960
|
if (this.options.flatpickr.wrap === !0) {
|
|
@@ -7975,13 +7983,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7975
7983
|
}
|
|
7976
7984
|
} }, { key: "setValue", value: function(t, e, o) {
|
|
7977
7985
|
if (this.schema.type === "string")
|
|
7978
|
-
|
|
7986
|
+
Bt(ft(l.prototype), "setValue", this).call(this, t, e, o), this.flatpickr && this.flatpickr.setDate(t);
|
|
7979
7987
|
else if (t > 0) {
|
|
7980
7988
|
var u = new Date(1e3 * t), d = u.getFullYear(), x = this.zeroPad(u.getMonth() + 1), P = this.zeroPad(u.getDate()), D = this.zeroPad(u.getHours()), J = this.zeroPad(u.getMinutes()), nt = this.zeroPad(u.getSeconds()), ut = [d, x, P].join("-"), ht = [D, J, nt].join(":"), kt = "".concat(ut, "T").concat(ht);
|
|
7981
7989
|
this.schema.format === "date" ? kt = ut : this.schema.format === "time" && (kt = ht), this.input.value = kt, this.refreshValue(), this.flatpickr && this.flatpickr.setDate(kt);
|
|
7982
7990
|
}
|
|
7983
7991
|
} }, { key: "destroy", value: function() {
|
|
7984
|
-
this.flatpickr && this.flatpickr.destroy(), this.flatpickr = null,
|
|
7992
|
+
this.flatpickr && this.flatpickr.destroy(), this.flatpickr = null, Bt(ft(l.prototype), "destroy", this).call(this);
|
|
7985
7993
|
} }, { key: "zeroPad", value: function(t) {
|
|
7986
7994
|
return "0".concat(t).slice(-2);
|
|
7987
7995
|
} }]) && mt(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
@@ -8154,7 +8162,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8154
8162
|
i[m] = c[m];
|
|
8155
8163
|
return i;
|
|
8156
8164
|
}
|
|
8157
|
-
function
|
|
8165
|
+
function Ft(c, n) {
|
|
8158
8166
|
for (var m = 0; m < n.length; m++) {
|
|
8159
8167
|
var i = n[m];
|
|
8160
8168
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(c, (h = function(a, l) {
|
|
@@ -8175,7 +8183,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8175
8183
|
function fe() {
|
|
8176
8184
|
return fe = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
8177
8185
|
var i = function(a, l) {
|
|
8178
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
8186
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = ke(a)) !== null; )
|
|
8179
8187
|
;
|
|
8180
8188
|
return a;
|
|
8181
8189
|
}(c, n);
|
|
@@ -8190,10 +8198,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8190
8198
|
return m.__proto__ = i, m;
|
|
8191
8199
|
}, He(c, n);
|
|
8192
8200
|
}
|
|
8193
|
-
function
|
|
8194
|
-
return
|
|
8201
|
+
function ke(c) {
|
|
8202
|
+
return ke = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
8195
8203
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
8196
|
-
},
|
|
8204
|
+
}, ke(c);
|
|
8197
8205
|
}
|
|
8198
8206
|
var Be = function(c) {
|
|
8199
8207
|
(function(t, e) {
|
|
@@ -8213,9 +8221,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8213
8221
|
return !1;
|
|
8214
8222
|
}
|
|
8215
8223
|
}(), function() {
|
|
8216
|
-
var t, e =
|
|
8224
|
+
var t, e = ke(i);
|
|
8217
8225
|
if (h) {
|
|
8218
|
-
var o =
|
|
8226
|
+
var o = ke(this).constructor;
|
|
8219
8227
|
t = Reflect.construct(e, arguments, o);
|
|
8220
8228
|
} else
|
|
8221
8229
|
t = e.apply(this, arguments);
|
|
@@ -8256,9 +8264,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8256
8264
|
return t.selected = u, !1;
|
|
8257
8265
|
}), this.selected < 0 ? this.setValue(this.enum[0]) : (this.switcher.value = this.select_options[this.selected], this.display_area.innerHTML = this.html_values[this.selected]);
|
|
8258
8266
|
} }, { key: "enable", value: function() {
|
|
8259
|
-
this.always_disabled || (this.switcher.disabled = !1, fe(
|
|
8267
|
+
this.always_disabled || (this.switcher.disabled = !1, fe(ke(l.prototype), "enable", this).call(this));
|
|
8260
8268
|
} }, { key: "disable", value: function(t) {
|
|
8261
|
-
t && (this.always_disabled = !0), this.switcher.disabled = !0, fe(
|
|
8269
|
+
t && (this.always_disabled = !0), this.switcher.disabled = !0, fe(ke(l.prototype), "disable", this).call(this);
|
|
8262
8270
|
} }, { key: "getHTML", value: function(t) {
|
|
8263
8271
|
var e, o, u = this;
|
|
8264
8272
|
if (t === null)
|
|
@@ -8277,14 +8285,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8277
8285
|
}(P = x) || function(ht, kt) {
|
|
8278
8286
|
var Ct = ht == null ? null : typeof Symbol < "u" && ht[Symbol.iterator] || ht["@@iterator"];
|
|
8279
8287
|
if (Ct != null) {
|
|
8280
|
-
var
|
|
8288
|
+
var Nt, ne, Ae, Gt, gt = [], Zt = !0, Ve = !1;
|
|
8281
8289
|
try {
|
|
8282
8290
|
if (Ae = (Ct = Ct.call(ht)).next, kt === 0) {
|
|
8283
8291
|
if (Object(Ct) !== Ct)
|
|
8284
8292
|
return;
|
|
8285
8293
|
Zt = !1;
|
|
8286
8294
|
} else
|
|
8287
|
-
for (; !(Zt = (
|
|
8295
|
+
for (; !(Zt = (Nt = Ae.call(Ct)).done) && (gt.push(Nt.value), gt.length !== kt); Zt = !0)
|
|
8288
8296
|
;
|
|
8289
8297
|
} catch (W) {
|
|
8290
8298
|
Ve = !0, ne = W;
|
|
@@ -8317,8 +8325,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8317
8325
|
} }, { key: "setValue", value: function(t) {
|
|
8318
8326
|
this.value !== t && (this.value = t, this.refreshValue(), this.onChange());
|
|
8319
8327
|
} }, { key: "destroy", value: function() {
|
|
8320
|
-
this.display_area && this.display_area.parentNode && this.display_area.parentNode.removeChild(this.display_area), this.title && this.title.parentNode && this.title.parentNode.removeChild(this.title), this.switcher && this.switcher.parentNode && this.switcher.parentNode.removeChild(this.switcher), fe(
|
|
8321
|
-
} }]) &&
|
|
8328
|
+
this.display_area && this.display_area.parentNode && this.display_area.parentNode.removeChild(this.display_area), this.title && this.title.parentNode && this.title.parentNode.removeChild(this.title), this.switcher && this.switcher.parentNode && this.switcher.parentNode.removeChild(this.switcher), fe(ke(l.prototype), "destroy", this).call(this);
|
|
8329
|
+
} }]) && Ft(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
8322
8330
|
}(F);
|
|
8323
8331
|
function we(c) {
|
|
8324
8332
|
return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
@@ -8761,8 +8769,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8761
8769
|
}
|
|
8762
8770
|
var h;
|
|
8763
8771
|
}
|
|
8764
|
-
function
|
|
8765
|
-
return
|
|
8772
|
+
function en() {
|
|
8773
|
+
return en = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
8766
8774
|
var i = function(a, l) {
|
|
8767
8775
|
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = qr(a)) !== null; )
|
|
8768
8776
|
;
|
|
@@ -8772,7 +8780,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8772
8780
|
var h = Object.getOwnPropertyDescriptor(i, n);
|
|
8773
8781
|
return h.get ? h.get.call(arguments.length < 3 ? c : m) : h.value;
|
|
8774
8782
|
}
|
|
8775
|
-
},
|
|
8783
|
+
}, en.apply(this, arguments);
|
|
8776
8784
|
}
|
|
8777
8785
|
function Bn(c, n) {
|
|
8778
8786
|
return Bn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
@@ -8827,7 +8835,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8827
8835
|
}(this, l), a.apply(this, arguments);
|
|
8828
8836
|
}
|
|
8829
8837
|
return n = l, (m = [{ key: "preBuild", value: function() {
|
|
8830
|
-
if (
|
|
8838
|
+
if (en(qr(l.prototype), "preBuild", this).call(this), this.schema.options || (this.schema.options = {}), !this.schema.options.cleave)
|
|
8831
8839
|
switch (this.format) {
|
|
8832
8840
|
case "ipv6":
|
|
8833
8841
|
this.schema.options.cleave = { delimiters: [":"], blocks: [4, 4, 4, 4, 4, 4, 4, 4], uppercase: !0 };
|
|
@@ -9251,16 +9259,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9251
9259
|
return Object.entries(t.patternProperties).forEach(function(P) {
|
|
9252
9260
|
var D = ti(P, 2), J = D[0], nt = D[1], ut = new RegExp(J);
|
|
9253
9261
|
Object.entries(e).forEach(function(ht) {
|
|
9254
|
-
var kt = ti(ht, 2), Ct = kt[0],
|
|
9255
|
-
ut.test(Ct) && (u[Ct] = !0, x.push.apply(x, _e(d._validateSchema(nt,
|
|
9262
|
+
var kt = ti(ht, 2), Ct = kt[0], Nt = kt[1];
|
|
9263
|
+
ut.test(Ct) && (u[Ct] = !0, x.push.apply(x, _e(d._validateSchema(nt, Nt, "".concat(o, ".").concat(Ct)))));
|
|
9256
9264
|
});
|
|
9257
9265
|
}), x;
|
|
9258
9266
|
} }, this._validateObjectSubSchema2 = { propertyNames: function(t, e, o, u) {
|
|
9259
9267
|
for (var d = this, x = [], P = Object.keys(e), D = null, J = function() {
|
|
9260
9268
|
var ht = "";
|
|
9261
9269
|
return D = P[nt], typeof t.propertyNames == "boolean" ? t.propertyNames === !0 ? "continue" : (x.push({ path: o, property: "propertyNames", message: d.translate("error_property_names_false", [D], t) }), "break") : Object.entries(t.propertyNames).every(function(kt) {
|
|
9262
|
-
var Ct = ti(kt, 2),
|
|
9263
|
-
switch (
|
|
9270
|
+
var Ct = ti(kt, 2), Nt = Ct[0], ne = Ct[1], Ae = !1;
|
|
9271
|
+
switch (Nt) {
|
|
9264
9272
|
case "maxLength":
|
|
9265
9273
|
if (typeof ne != "number") {
|
|
9266
9274
|
ht = "error_property_names_maxlength";
|
|
@@ -9300,7 +9308,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9300
9308
|
}
|
|
9301
9309
|
return !0;
|
|
9302
9310
|
default:
|
|
9303
|
-
return x.push({ path: o, property: "propertyNames", message: d.translate("error_property_names_unsupported", [
|
|
9311
|
+
return x.push({ path: o, property: "propertyNames", message: d.translate("error_property_names_unsupported", [Nt], t) }), !1;
|
|
9304
9312
|
}
|
|
9305
9313
|
return x.push({ path: o, property: "propertyNames", message: d.translate(ht, [D], t) }), !1;
|
|
9306
9314
|
}) ? void 0 : "break";
|
|
@@ -9366,20 +9374,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9366
9374
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
9367
9375
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
9368
9376
|
}
|
|
9369
|
-
var
|
|
9377
|
+
var Nt, ne = !0, Ae = !1;
|
|
9370
9378
|
return { s: function() {
|
|
9371
9379
|
ht = ht.call(nt);
|
|
9372
9380
|
}, n: function() {
|
|
9373
9381
|
var Gt = ht.next();
|
|
9374
9382
|
return ne = Gt.done, Gt;
|
|
9375
9383
|
}, e: function(Gt) {
|
|
9376
|
-
Ae = !0,
|
|
9384
|
+
Ae = !0, Nt = Gt;
|
|
9377
9385
|
}, f: function() {
|
|
9378
9386
|
try {
|
|
9379
9387
|
ne || ht.return == null || ht.return();
|
|
9380
9388
|
} finally {
|
|
9381
9389
|
if (Ae)
|
|
9382
|
-
throw
|
|
9390
|
+
throw Nt;
|
|
9383
9391
|
}
|
|
9384
9392
|
} };
|
|
9385
9393
|
}(t.anyOf);
|
|
@@ -9544,8 +9552,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9544
9552
|
}
|
|
9545
9553
|
var h;
|
|
9546
9554
|
}
|
|
9547
|
-
function
|
|
9548
|
-
return
|
|
9555
|
+
function rn() {
|
|
9556
|
+
return rn = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
9549
9557
|
var i = function(a, l) {
|
|
9550
9558
|
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = pr(a)) !== null; )
|
|
9551
9559
|
;
|
|
@@ -9555,7 +9563,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9555
9563
|
var h = Object.getOwnPropertyDescriptor(i, n);
|
|
9556
9564
|
return h.get ? h.get.call(arguments.length < 3 ? c : m) : h.value;
|
|
9557
9565
|
}
|
|
9558
|
-
},
|
|
9566
|
+
}, rn.apply(this, arguments);
|
|
9559
9567
|
}
|
|
9560
9568
|
function Ro(c, n) {
|
|
9561
9569
|
return Ro = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(m, i) {
|
|
@@ -9615,9 +9623,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9615
9623
|
this.editors[t] && this.editors[t].unregister();
|
|
9616
9624
|
this.editors[this.type] && this.editors[this.type].register();
|
|
9617
9625
|
}
|
|
9618
|
-
|
|
9626
|
+
rn(pr(l.prototype), "register", this).call(this);
|
|
9619
9627
|
} }, { key: "unregister", value: function() {
|
|
9620
|
-
if (
|
|
9628
|
+
if (rn(pr(l.prototype), "unregister", this).call(this), this.editors)
|
|
9621
9629
|
for (var t = 0; t < this.editors.length; t++)
|
|
9622
9630
|
this.editors[t] && this.editors[t].unregister();
|
|
9623
9631
|
} }, { key: "getNumColumns", value: function() {
|
|
@@ -9627,13 +9635,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9627
9635
|
if (this.editors)
|
|
9628
9636
|
for (var t = 0; t < this.editors.length; t++)
|
|
9629
9637
|
this.editors[t] && this.editors[t].enable();
|
|
9630
|
-
this.switcher.disabled = !1,
|
|
9638
|
+
this.switcher.disabled = !1, rn(pr(l.prototype), "enable", this).call(this);
|
|
9631
9639
|
}
|
|
9632
9640
|
} }, { key: "disable", value: function(t) {
|
|
9633
9641
|
if (t && (this.always_disabled = !0), this.editors)
|
|
9634
9642
|
for (var e = 0; e < this.editors.length; e++)
|
|
9635
9643
|
this.editors[e] && this.editors[e].disable(t);
|
|
9636
|
-
this.switcher.disabled = !0,
|
|
9644
|
+
this.switcher.disabled = !0, rn(pr(l.prototype), "disable", this).call(this);
|
|
9637
9645
|
} }, { key: "switchEditor", value: function(t) {
|
|
9638
9646
|
var e = this;
|
|
9639
9647
|
this.lastType = this.type, this.editors[t] || this.buildChildEditor(t);
|
|
@@ -9687,7 +9695,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9687
9695
|
t.switchIf();
|
|
9688
9696
|
}), this.switchEditor(0);
|
|
9689
9697
|
} }, { key: "onChildEditorChange", value: function(t) {
|
|
9690
|
-
this.editors[this.type] && (this.refreshValue(), this.refreshHeaderText()),
|
|
9698
|
+
this.editors[this.type] && (this.refreshValue(), this.refreshHeaderText()), rn(pr(l.prototype), "onChildEditorChange", this).call(this);
|
|
9691
9699
|
} }, { key: "refreshHeaderText", value: function() {
|
|
9692
9700
|
var t = this.getDisplayText(this.types);
|
|
9693
9701
|
Array.from(this.switcher_options).forEach(function(e, o) {
|
|
@@ -9715,7 +9723,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9715
9723
|
} }, { key: "destroy", value: function() {
|
|
9716
9724
|
this.editors.forEach(function(t) {
|
|
9717
9725
|
t && t.destroy();
|
|
9718
|
-
}), this.editor_holder && this.editor_holder.parentNode && this.editor_holder.parentNode.removeChild(this.editor_holder), this.switcher && this.switcher.parentNode && this.switcher.parentNode.removeChild(this.switcher),
|
|
9726
|
+
}), this.editor_holder && this.editor_holder.parentNode && this.editor_holder.parentNode.removeChild(this.editor_holder), this.switcher && this.switcher.parentNode && this.switcher.parentNode.removeChild(this.switcher), rn(pr(l.prototype), "destroy", this).call(this);
|
|
9719
9727
|
} }, { key: "showValidationErrors", value: function(t) {
|
|
9720
9728
|
var e = this;
|
|
9721
9729
|
if (this.oneOf || this.anyOf) {
|
|
@@ -9835,7 +9843,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9835
9843
|
}
|
|
9836
9844
|
return m;
|
|
9837
9845
|
}
|
|
9838
|
-
function
|
|
9846
|
+
function nn(c) {
|
|
9839
9847
|
for (var n = 1; n < arguments.length; n++) {
|
|
9840
9848
|
var m = arguments[n] != null ? arguments[n] : {};
|
|
9841
9849
|
n % 2 ? Hi(Object(m), !0).forEach(function(i) {
|
|
@@ -10056,19 +10064,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10056
10064
|
D = P[t].editors[e].key, (J = this.editors[D]).options.hidden ? J.container.style.display = "none" : this.theme.setGridColumnSize(J.container, P[t].editors[e].width), d.appendChild(J.container);
|
|
10057
10065
|
} else {
|
|
10058
10066
|
if (u = document.createElement("div"), x) {
|
|
10059
|
-
var kt = document.createElement("div"), Ct = this.theme.getTopTabHolder(this.translateProperty(this.schema.title)),
|
|
10067
|
+
var kt = document.createElement("div"), Ct = this.theme.getTopTabHolder(this.translateProperty(this.schema.title)), Nt = this.theme.getTopTabContentHolder(Ct);
|
|
10060
10068
|
for (this.property_order.forEach(function(Gt) {
|
|
10061
10069
|
var gt = o.editors[Gt];
|
|
10062
10070
|
if (!gt.property_removed) {
|
|
10063
10071
|
var Zt = o.theme.getTabContent(), Ve = gt.schema && (gt.schema.type === "object" || gt.schema.type === "array");
|
|
10064
10072
|
Zt.isObjOrArray = Ve;
|
|
10065
10073
|
var W = o.theme.getGridRow();
|
|
10066
|
-
gt.tab || (o.basicPane === void 0 ? o.addRow(gt, Ct, Zt) : o.addRow(gt, Ct, o.basicPane)), Zt.id = o.getValidId(gt.tab_text.textContent), Ve ? (Zt.appendChild(W),
|
|
10074
|
+
gt.tab || (o.basicPane === void 0 ? o.addRow(gt, Ct, Zt) : o.addRow(gt, Ct, o.basicPane)), Zt.id = o.getValidId(gt.tab_text.textContent), Ve ? (Zt.appendChild(W), Nt.appendChild(Zt), o.theme.addTopTab(Ct, gt.tab)) : (kt.appendChild(W), Nt.childElementCount > 0 ? Nt.firstChild.isObjOrArray && (Zt.appendChild(kt), Nt.insertBefore(Zt, Nt.firstChild), o.theme.insertBasicTopTab(gt.tab, Ct), gt.basicPane = Zt) : (Zt.appendChild(kt), Nt.appendChild(Zt), o.theme.addTopTab(Ct, gt.tab), gt.basicPane = Zt)), gt.options.hidden ? gt.container.style.display = "none" : o.theme.setGridColumnSize(gt.container, 12), W.appendChild(gt.container), gt.rowPane = Zt;
|
|
10067
10075
|
}
|
|
10068
10076
|
}); this.tabPanesContainer.firstChild; )
|
|
10069
10077
|
this.tabPanesContainer.removeChild(this.tabPanesContainer.firstChild);
|
|
10070
10078
|
var ne = this.tabs_holder.parentNode;
|
|
10071
|
-
ne.removeChild(ne.firstChild), ne.appendChild(Ct), this.tabPanesContainer =
|
|
10079
|
+
ne.removeChild(ne.firstChild), ne.appendChild(Ct), this.tabPanesContainer = Nt, this.tabs_holder = Ct;
|
|
10072
10080
|
var Ae = this.theme.getFirstTab(this.tabs_holder);
|
|
10073
10081
|
return void (Ae && O(Ae, "click"));
|
|
10074
10082
|
}
|
|
@@ -10233,12 +10241,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10233
10241
|
return e;
|
|
10234
10242
|
case "properties":
|
|
10235
10243
|
case "items":
|
|
10236
|
-
return
|
|
10244
|
+
return nn(nn({}, e), {}, ni({}, o, {}));
|
|
10237
10245
|
case "additionalProperties":
|
|
10238
10246
|
case "propertyNames":
|
|
10239
|
-
return
|
|
10247
|
+
return nn(nn({}, e), {}, ni({}, o, !0));
|
|
10240
10248
|
default:
|
|
10241
|
-
return
|
|
10249
|
+
return nn(nn({}, e), {}, ni({}, o, t[o]));
|
|
10242
10250
|
}
|
|
10243
10251
|
}, {});
|
|
10244
10252
|
} }, { key: "addObjectProperty", value: function(t, e) {
|
|
@@ -10619,7 +10627,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10619
10627
|
function oi() {
|
|
10620
10628
|
return oi = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
10621
10629
|
var i = function(a, l) {
|
|
10622
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
10630
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = on(a)) !== null; )
|
|
10623
10631
|
;
|
|
10624
10632
|
return a;
|
|
10625
10633
|
}(c, n);
|
|
@@ -10634,10 +10642,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10634
10642
|
return m.__proto__ = i, m;
|
|
10635
10643
|
}, Is(c, n);
|
|
10636
10644
|
}
|
|
10637
|
-
function
|
|
10638
|
-
return
|
|
10645
|
+
function on(c) {
|
|
10646
|
+
return on = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
10639
10647
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
10640
|
-
},
|
|
10648
|
+
}, on(c);
|
|
10641
10649
|
}
|
|
10642
10650
|
var th = function(c) {
|
|
10643
10651
|
(function(t, e) {
|
|
@@ -10657,9 +10665,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10657
10665
|
return !1;
|
|
10658
10666
|
}
|
|
10659
10667
|
}(), function() {
|
|
10660
|
-
var t, e =
|
|
10668
|
+
var t, e = on(i);
|
|
10661
10669
|
if (h) {
|
|
10662
|
-
var o =
|
|
10670
|
+
var o = on(this).constructor;
|
|
10663
10671
|
t = Reflect.construct(e, arguments, o);
|
|
10664
10672
|
} else
|
|
10665
10673
|
t = e.apply(this, arguments);
|
|
@@ -10687,7 +10695,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10687
10695
|
var o = this.updateValue(t);
|
|
10688
10696
|
this.input.value = o, this.select2v4 ? this.select2_instance.val(o).trigger("change") : this.select2_instance.select2("val", o), this.onChange(!0);
|
|
10689
10697
|
} else
|
|
10690
|
-
oi(
|
|
10698
|
+
oi(on(l.prototype), "setValue", this).call(this, t, e);
|
|
10691
10699
|
} }, { key: "afterInputReady", value: function() {
|
|
10692
10700
|
var t = this;
|
|
10693
10701
|
if (window.jQuery && window.jQuery.fn && window.jQuery.fn.select2 && !this.select2_instance) {
|
|
@@ -10697,7 +10705,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10697
10705
|
t.updateValue(o), t.onChange(!0);
|
|
10698
10706
|
}, this.select2_instance.on("change", this.selectChangeHandler), this.select2_instance.on("select2-blur", this.selectChangeHandler);
|
|
10699
10707
|
}
|
|
10700
|
-
oi(
|
|
10708
|
+
oi(on(l.prototype), "afterInputReady", this).call(this);
|
|
10701
10709
|
} }, { key: "updateValue", value: function(t) {
|
|
10702
10710
|
var e = this.enum_values[0];
|
|
10703
10711
|
return t = this.typecast(t || ""), this.enum_values.includes(t) ? e = t : this.newEnumAllowed && (e = this.addNewOption(t) ? t : e), this.value = e, e;
|
|
@@ -10705,11 +10713,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10705
10713
|
var e, o = this.typecast(t), u = !1;
|
|
10706
10714
|
return this.enum_values.includes(o) || o === "" || (this.enum_options.push("".concat(o)), this.enum_display.push("".concat(o)), this.enum_values.push(o), this.schema.enum.push(o), (e = this.input.querySelector('option[value="'.concat(o, '"]'))) ? e.removeAttribute("data-select2-tag") : this.input.appendChild(new Option(o, o, !1, !1)).trigger("change"), u = !0), u;
|
|
10707
10715
|
} }, { key: "enable", value: function() {
|
|
10708
|
-
this.always_disabled || this.select2_instance && (this.select2v4 ? this.select2_instance.prop("disabled", !1) : this.select2_instance.select2("enable", !0)), oi(
|
|
10716
|
+
this.always_disabled || this.select2_instance && (this.select2v4 ? this.select2_instance.prop("disabled", !1) : this.select2_instance.select2("enable", !0)), oi(on(l.prototype), "enable", this).call(this);
|
|
10709
10717
|
} }, { key: "disable", value: function(t) {
|
|
10710
|
-
this.select2_instance && (this.select2v4 ? this.select2_instance.prop("disabled", !0) : this.select2_instance.select2("enable", !1)), oi(
|
|
10718
|
+
this.select2_instance && (this.select2v4 ? this.select2_instance.prop("disabled", !0) : this.select2_instance.select2("enable", !1)), oi(on(l.prototype), "disable", this).call(this, t);
|
|
10711
10719
|
} }, { key: "destroy", value: function() {
|
|
10712
|
-
this.select2_instance && (this.select2_instance.select2("destroy"), this.select2_instance = null), oi(
|
|
10720
|
+
this.select2_instance && (this.select2_instance.select2("destroy"), this.select2_instance = null), oi(on(l.prototype), "destroy", this).call(this);
|
|
10713
10721
|
} }]) && Qu(n.prototype, m), Object.defineProperty(n, "prototype", { writable: !1 }), l;
|
|
10714
10722
|
}(Kn);
|
|
10715
10723
|
function Gi(c) {
|
|
@@ -11336,7 +11344,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11336
11344
|
function ai() {
|
|
11337
11345
|
return ai = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
11338
11346
|
var i = function(a, l) {
|
|
11339
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
11347
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = an(a)) !== null; )
|
|
11340
11348
|
;
|
|
11341
11349
|
return a;
|
|
11342
11350
|
}(c, n);
|
|
@@ -11351,10 +11359,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11351
11359
|
return m.__proto__ = i, m;
|
|
11352
11360
|
}, Fs(c, n);
|
|
11353
11361
|
}
|
|
11354
|
-
function
|
|
11355
|
-
return
|
|
11362
|
+
function an(c) {
|
|
11363
|
+
return an = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
11356
11364
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
11357
|
-
},
|
|
11365
|
+
}, an(c);
|
|
11358
11366
|
}
|
|
11359
11367
|
var hh = function(c) {
|
|
11360
11368
|
(function(t, e) {
|
|
@@ -11374,9 +11382,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11374
11382
|
return !1;
|
|
11375
11383
|
}
|
|
11376
11384
|
}(), function() {
|
|
11377
|
-
var t, e =
|
|
11385
|
+
var t, e = an(i);
|
|
11378
11386
|
if (h) {
|
|
11379
|
-
var o =
|
|
11387
|
+
var o = an(this).constructor;
|
|
11380
11388
|
t = Reflect.construct(e, arguments, o);
|
|
11381
11389
|
} else
|
|
11382
11390
|
t = e.apply(this, arguments);
|
|
@@ -11399,18 +11407,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11399
11407
|
}(this, l), a.apply(this, arguments);
|
|
11400
11408
|
}
|
|
11401
11409
|
return n = l, m = [{ key: "register", value: function() {
|
|
11402
|
-
if (ai(
|
|
11410
|
+
if (ai(an(l.prototype), "register", this).call(this), this.rows)
|
|
11403
11411
|
for (var t = 0; t < this.rows.length; t++)
|
|
11404
11412
|
this.rows[t].register();
|
|
11405
11413
|
} }, { key: "unregister", value: function() {
|
|
11406
|
-
if (ai(
|
|
11414
|
+
if (ai(an(l.prototype), "unregister", this).call(this), this.rows)
|
|
11407
11415
|
for (var t = 0; t < this.rows.length; t++)
|
|
11408
11416
|
this.rows[t].unregister();
|
|
11409
11417
|
} }, { key: "getNumColumns", value: function() {
|
|
11410
11418
|
return Math.max(Math.min(12, this.width), 3);
|
|
11411
11419
|
} }, { key: "preBuild", value: function() {
|
|
11412
11420
|
var t = this.jsoneditor.expandRefs(this.schema.items || {});
|
|
11413
|
-
this.item_title = t.title || "row", this.item_default = t.default || null, this.item_has_child_editors = t.properties || t.items, this.width = 12, this.array_controls_top = this.options.array_controls_top || this.jsoneditor.options.array_controls_top, ai(
|
|
11421
|
+
this.item_title = t.title || "row", this.item_default = t.default || null, this.item_has_child_editors = t.properties || t.items, this.width = 12, this.array_controls_top = this.options.array_controls_top || this.jsoneditor.options.array_controls_top, ai(an(l.prototype), "preBuild", this).call(this);
|
|
11414
11422
|
} }, { key: "build", value: function() {
|
|
11415
11423
|
this.tableContainer = this.theme.getTableContainer(), this.table = this.theme.getTable(), this.tableContainer.appendChild(this.table), this.container.appendChild(this.tableContainer), this.thead = this.theme.getTableHead(), this.table.appendChild(this.thead), this.header_row = this.theme.getTableRow(), this.thead.appendChild(this.header_row), this.row_holder = this.theme.getTableBody(), this.table.appendChild(this.row_holder);
|
|
11416
11424
|
var t = this.getElementEditor(0, !0);
|
|
@@ -11423,7 +11431,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11423
11431
|
this.header_row.appendChild(this.theme.getTableHeaderCell(this.item_title));
|
|
11424
11432
|
t.destroy(), this.row_holder.innerHTML = "", this.controls_header_cell = this.theme.getTableHeaderCell(" "), this.controls_header_cell.setAttribute("aria-hidden", "true"), this.header_row.appendChild(this.controls_header_cell), this.addControls();
|
|
11425
11433
|
} }, { key: "onChildEditorChange", value: function(t) {
|
|
11426
|
-
this.refreshValue(), ai(
|
|
11434
|
+
this.refreshValue(), ai(an(l.prototype), "onChildEditorChange", this).call(this);
|
|
11427
11435
|
} }, { key: "getItemDefault", value: function() {
|
|
11428
11436
|
return k({}, { default: this.item_default }).default;
|
|
11429
11437
|
} }, { key: "getItemTitle", value: function() {
|
|
@@ -11434,7 +11442,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11434
11442
|
var P = this.jsoneditor.createEditor(u, { jsoneditor: this.jsoneditor, schema: o, container: x, path: "".concat(this.path, ".").concat(t), parent: this, compact: !0, table_row: !0 });
|
|
11435
11443
|
return P.preBuild(), e || (P.build(), P.postBuild(), P.controls_cell = d.appendChild(this.theme.getTableCell()), P.row = d, P.table_controls = this.theme.getButtonHolder(), P.controls_cell.appendChild(P.table_controls), P.table_controls.style.margin = 0, P.table_controls.style.padding = 0), P;
|
|
11436
11444
|
} }, { key: "destroy", value: function() {
|
|
11437
|
-
this.innerHTML = "", this.checkParent(this.title) && this.title.parentNode.removeChild(this.title), this.checkParent(this.description) && this.description.parentNode.removeChild(this.description), this.checkParent(this.row_holder) && this.row_holder.parentNode.removeChild(this.row_holder), this.checkParent(this.table) && this.table.parentNode.removeChild(this.table), this.checkParent(this.panel) && this.panel.parentNode.removeChild(this.panel), this.rows = this.title = this.description = this.row_holder = this.table = this.panel = null, ai(
|
|
11445
|
+
this.innerHTML = "", this.checkParent(this.title) && this.title.parentNode.removeChild(this.title), this.checkParent(this.description) && this.description.parentNode.removeChild(this.description), this.checkParent(this.row_holder) && this.row_holder.parentNode.removeChild(this.row_holder), this.checkParent(this.table) && this.table.parentNode.removeChild(this.table), this.checkParent(this.panel) && this.panel.parentNode.removeChild(this.panel), this.rows = this.title = this.description = this.row_holder = this.table = this.panel = null, ai(an(l.prototype), "destroy", this).call(this);
|
|
11438
11446
|
} }, { key: "ensureArraySize", value: function(t) {
|
|
11439
11447
|
if (Array.isArray(t) || (t = [t]), this.schema.minItems)
|
|
11440
11448
|
for (; t.length < this.schema.minItems; )
|
|
@@ -11469,8 +11477,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11469
11477
|
t.setButtonState(nt.moveup_button, Ct), u.push(Ct);
|
|
11470
11478
|
}
|
|
11471
11479
|
if (nt.movedown_button) {
|
|
11472
|
-
var
|
|
11473
|
-
t.setButtonState(nt.movedown_button,
|
|
11480
|
+
var Nt = ut !== t.rows.length - 1;
|
|
11481
|
+
t.setButtonState(nt.movedown_button, Nt), u.push(Nt);
|
|
11474
11482
|
}
|
|
11475
11483
|
});
|
|
11476
11484
|
var d = u.some(function(nt) {
|
|
@@ -11689,7 +11697,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11689
11697
|
function si() {
|
|
11690
11698
|
return si = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
11691
11699
|
var i = function(a, l) {
|
|
11692
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
11700
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = sn(a)) !== null; )
|
|
11693
11701
|
;
|
|
11694
11702
|
return a;
|
|
11695
11703
|
}(c, n);
|
|
@@ -11704,10 +11712,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11704
11712
|
return m.__proto__ = i, m;
|
|
11705
11713
|
}, Us(c, n);
|
|
11706
11714
|
}
|
|
11707
|
-
function
|
|
11708
|
-
return
|
|
11715
|
+
function sn(c) {
|
|
11716
|
+
return sn = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
11709
11717
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
11710
|
-
},
|
|
11718
|
+
}, sn(c);
|
|
11711
11719
|
}
|
|
11712
11720
|
_(6977);
|
|
11713
11721
|
var ja = { ace: Et, array: Ut, arrayChoices: nr, arraySelect2: cr, arraySelectize: qe, autocomplete: Sn, base64: Ei, button: fa, checkbox: ya, choices: rt, datetime: vt, describedBy: tr, enum: Be, hidden: ba, info: Pi, integer: wa, ip: Co, jodit: _a, multiple: $i, multiselect: qt, null: Io, number: ga, object: ii, radio: at, sceditor: Ui, select: Kn, select2: th, selectize: rh, signature: ih, simplemde: ah, starrating: nc, stepper: ch, string: K, table: hh, upload: function(c) {
|
|
@@ -11939,9 +11947,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11939
11947
|
return !1;
|
|
11940
11948
|
}
|
|
11941
11949
|
}(), function() {
|
|
11942
|
-
var t, e =
|
|
11950
|
+
var t, e = sn(i);
|
|
11943
11951
|
if (h) {
|
|
11944
|
-
var o =
|
|
11952
|
+
var o = sn(this).constructor;
|
|
11945
11953
|
t = Reflect.construct(e, arguments, o);
|
|
11946
11954
|
} else
|
|
11947
11955
|
t = e.apply(this, arguments);
|
|
@@ -11966,26 +11974,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11966
11974
|
return n = l, (m = [{ key: "postBuild", value: function() {
|
|
11967
11975
|
window.Picker && (this.input.type = "text"), this.input.style.padding = "3px";
|
|
11968
11976
|
} }, { key: "setValue", value: function(t, e, o) {
|
|
11969
|
-
var u = si(
|
|
11977
|
+
var u = si(sn(l.prototype), "setValue", this).call(this, t, e, o);
|
|
11970
11978
|
return this.picker_instance && this.picker_instance.domElement && u && u.changed && this.picker_instance.setColor(u.value, !0), u;
|
|
11971
11979
|
} }, { key: "getNumColumns", value: function() {
|
|
11972
11980
|
return 2;
|
|
11973
11981
|
} }, { key: "afterInputReady", value: function() {
|
|
11974
|
-
si(
|
|
11982
|
+
si(sn(l.prototype), "afterInputReady", this).call(this), this.createPicker(!0);
|
|
11975
11983
|
} }, { key: "disable", value: function() {
|
|
11976
|
-
if (si(
|
|
11984
|
+
if (si(sn(l.prototype), "disable", this).call(this), this.picker_instance && this.picker_instance.domElement) {
|
|
11977
11985
|
this.picker_instance.domElement.style.pointerEvents = "none";
|
|
11978
11986
|
for (var t = this.picker_instance.domElement.querySelectorAll("button"), e = 0; e < t.length; e++)
|
|
11979
11987
|
t[e].disabled = !0;
|
|
11980
11988
|
}
|
|
11981
11989
|
} }, { key: "enable", value: function() {
|
|
11982
|
-
if (si(
|
|
11990
|
+
if (si(sn(l.prototype), "enable", this).call(this), this.picker_instance && this.picker_instance.domElement) {
|
|
11983
11991
|
this.picker_instance.domElement.style.pointerEvents = "auto";
|
|
11984
11992
|
for (var t = this.picker_instance.domElement.querySelectorAll("button"), e = 0; e < t.length; e++)
|
|
11985
11993
|
t[e].disabled = !1;
|
|
11986
11994
|
}
|
|
11987
11995
|
} }, { key: "destroy", value: function() {
|
|
11988
|
-
this.createPicker(!1), si(
|
|
11996
|
+
this.createPicker(!1), si(sn(l.prototype), "destroy", this).call(this);
|
|
11989
11997
|
} }, { key: "createPicker", value: function(t) {
|
|
11990
11998
|
var e = this;
|
|
11991
11999
|
if (t) {
|
|
@@ -12086,7 +12094,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
12086
12094
|
}
|
|
12087
12095
|
function o(W, G, Z, dt) {
|
|
12088
12096
|
var et = G && G.prototype instanceof x ? G : x, Lt = Object.create(et.prototype), re = new gt(dt || []);
|
|
12089
|
-
return i(Lt, "_invoke", { value:
|
|
12097
|
+
return i(Lt, "_invoke", { value: Nt(W, Z, re) }), Lt;
|
|
12090
12098
|
}
|
|
12091
12099
|
function u(W, G, Z) {
|
|
12092
12100
|
try {
|
|
@@ -12144,7 +12152,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
12144
12152
|
return dt = dt ? dt.then(re, re) : re();
|
|
12145
12153
|
} });
|
|
12146
12154
|
}
|
|
12147
|
-
function
|
|
12155
|
+
function Nt(W, G, Z) {
|
|
12148
12156
|
var dt = "suspendedStart";
|
|
12149
12157
|
return function(et, Lt) {
|
|
12150
12158
|
if (dt === "executing")
|
|
@@ -12576,7 +12584,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
12576
12584
|
switch (ut.prev = ut.next) {
|
|
12577
12585
|
case 0:
|
|
12578
12586
|
o = nt.length > 3 && nt[3] !== void 0 && nt[3], u = this._getExternalRefs(l, t, o), d = 0, x = ci().mark(function ht() {
|
|
12579
|
-
var kt, Ct,
|
|
12587
|
+
var kt, Ct, Nt, ne, Ae, Gt, gt, Zt, Ve, W, G;
|
|
12580
12588
|
return ci().wrap(function(Z) {
|
|
12581
12589
|
for (; ; )
|
|
12582
12590
|
switch (Z.prev = Z.next) {
|
|
@@ -12597,37 +12605,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
12597
12605
|
Z.next = 40;
|
|
12598
12606
|
break;
|
|
12599
12607
|
}
|
|
12600
|
-
if (J.refs[kt] = "loading", d++, Ct = J.options.urn_resolver,
|
|
12608
|
+
if (J.refs[kt] = "loading", d++, Ct = J.options.urn_resolver, Nt = kt, typeof Ct == "function") {
|
|
12601
12609
|
Z.next = 13;
|
|
12602
12610
|
break;
|
|
12603
12611
|
}
|
|
12604
|
-
throw console.log('No "urn_resolver" callback defined to resolve "'.concat(
|
|
12612
|
+
throw console.log('No "urn_resolver" callback defined to resolve "'.concat(Nt, '"')), new Error("Must set urn_resolver option to a callback to resolve ".concat(Nt));
|
|
12605
12613
|
case 13:
|
|
12606
|
-
return
|
|
12614
|
+
return Nt.indexOf("#") > 0 && (Nt = Nt.substr(0, Nt.indexOf("#"))), Z.prev = 14, Z.next = 17, Ct(Nt);
|
|
12607
12615
|
case 17:
|
|
12608
12616
|
ne = Z.sent, Z.prev = 18, Ae = JSON.parse(ne), Z.next = 26;
|
|
12609
12617
|
break;
|
|
12610
12618
|
case 22:
|
|
12611
|
-
throw Z.prev = 22, Z.t0 = Z.catch(18), console.log(Z.t0), new Error("Failed to parse external ref ".concat(
|
|
12619
|
+
throw Z.prev = 22, Z.t0 = Z.catch(18), console.log(Z.t0), new Error("Failed to parse external ref ".concat(Nt));
|
|
12612
12620
|
case 26:
|
|
12613
12621
|
if (!(typeof Ae != "boolean" && ir(Ae) !== "object" || Ae === null || Array.isArray(Ae))) {
|
|
12614
12622
|
Z.next = 28;
|
|
12615
12623
|
break;
|
|
12616
12624
|
}
|
|
12617
|
-
throw new Error("External ref does not contain a valid schema - ".concat(
|
|
12625
|
+
throw new Error("External ref does not contain a valid schema - ".concat(Nt));
|
|
12618
12626
|
case 28:
|
|
12619
12627
|
return J.refs[kt] = Ae, Z.next = 31, J._asyncloadExternalRefs(Ae, kt, e);
|
|
12620
12628
|
case 31:
|
|
12621
12629
|
Z.next = 37;
|
|
12622
12630
|
break;
|
|
12623
12631
|
case 33:
|
|
12624
|
-
throw Z.prev = 33, Z.t1 = Z.catch(14), console.log(Z.t1), new Error("Failed to parse external ref ".concat(
|
|
12632
|
+
throw Z.prev = 33, Z.t1 = Z.catch(14), console.log(Z.t1), new Error("Failed to parse external ref ".concat(Nt));
|
|
12625
12633
|
case 37:
|
|
12626
12634
|
if (typeof ne != "boolean") {
|
|
12627
12635
|
Z.next = 39;
|
|
12628
12636
|
break;
|
|
12629
12637
|
}
|
|
12630
|
-
throw new Error("External ref does not contain a valid schema - ".concat(
|
|
12638
|
+
throw new Error("External ref does not contain a valid schema - ".concat(Nt));
|
|
12631
12639
|
case 39:
|
|
12632
12640
|
return Z.abrupt("return", "continue");
|
|
12633
12641
|
case 40:
|
|
@@ -13696,7 +13704,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13696
13704
|
function hi() {
|
|
13697
13705
|
return hi = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
13698
13706
|
var i = function(a, l) {
|
|
13699
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
13707
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = ln(a)) !== null; )
|
|
13700
13708
|
;
|
|
13701
13709
|
return a;
|
|
13702
13710
|
}(c, n);
|
|
@@ -13711,10 +13719,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13711
13719
|
return m.__proto__ = i, m;
|
|
13712
13720
|
}, cl(c, n);
|
|
13713
13721
|
}
|
|
13714
|
-
function
|
|
13715
|
-
return
|
|
13722
|
+
function ln(c) {
|
|
13723
|
+
return ln = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
13716
13724
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
13717
|
-
},
|
|
13725
|
+
}, ln(c);
|
|
13718
13726
|
}
|
|
13719
13727
|
var uc = function(c) {
|
|
13720
13728
|
(function(t, e) {
|
|
@@ -13734,9 +13742,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13734
13742
|
return !1;
|
|
13735
13743
|
}
|
|
13736
13744
|
}(), function() {
|
|
13737
|
-
var t, e =
|
|
13745
|
+
var t, e = ln(i);
|
|
13738
13746
|
if (h) {
|
|
13739
|
-
var o =
|
|
13747
|
+
var o = ln(this).constructor;
|
|
13740
13748
|
t = Reflect.construct(e, arguments, o);
|
|
13741
13749
|
} else
|
|
13742
13750
|
t = e.apply(this, arguments);
|
|
@@ -13759,24 +13767,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13759
13767
|
}(this, l), a.apply(this, arguments);
|
|
13760
13768
|
}
|
|
13761
13769
|
return n = l, (m = [{ key: "getFormInputLabel", value: function(t, e) {
|
|
13762
|
-
var o = hi(
|
|
13770
|
+
var o = hi(ln(l.prototype), "getFormInputLabel", this).call(this, t, e);
|
|
13763
13771
|
return o.classList.add("je-form-input-label"), o;
|
|
13764
13772
|
} }, { key: "getFormInputDescription", value: function(t) {
|
|
13765
|
-
var e = hi(
|
|
13773
|
+
var e = hi(ln(l.prototype), "getFormInputDescription", this).call(this, t);
|
|
13766
13774
|
return e.classList.add("je-form-input-label"), e;
|
|
13767
13775
|
} }, { key: "getIndentedPanel", value: function() {
|
|
13768
|
-
var t = hi(
|
|
13776
|
+
var t = hi(ln(l.prototype), "getIndentedPanel", this).call(this);
|
|
13769
13777
|
return t.classList.add("je-indented-panel"), t;
|
|
13770
13778
|
} }, { key: "getTopIndentedPanel", value: function() {
|
|
13771
13779
|
return this.getIndentedPanel();
|
|
13772
13780
|
} }, { key: "getChildEditorHolder", value: function() {
|
|
13773
|
-
var t = hi(
|
|
13781
|
+
var t = hi(ln(l.prototype), "getChildEditorHolder", this).call(this);
|
|
13774
13782
|
return t.classList.add("je-child-editor-holder"), t;
|
|
13775
13783
|
} }, { key: "getHeaderButtonHolder", value: function() {
|
|
13776
13784
|
var t = this.getButtonHolder();
|
|
13777
13785
|
return t.classList.add("je-header-button-holder"), t;
|
|
13778
13786
|
} }, { key: "getTable", value: function() {
|
|
13779
|
-
var t = hi(
|
|
13787
|
+
var t = hi(ln(l.prototype), "getTable", this).call(this);
|
|
13780
13788
|
return t.classList.add("je-table"), t;
|
|
13781
13789
|
} }, { key: "addInputError", value: function(t, e) {
|
|
13782
13790
|
var o = this.closest(t, ".form-control") || t.controlgroup;
|
|
@@ -13813,7 +13821,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13813
13821
|
function di() {
|
|
13814
13822
|
return di = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
13815
13823
|
var i = function(a, l) {
|
|
13816
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
13824
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = cn(a)) !== null; )
|
|
13817
13825
|
;
|
|
13818
13826
|
return a;
|
|
13819
13827
|
}(c, n);
|
|
@@ -13828,10 +13836,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13828
13836
|
return m.__proto__ = i, m;
|
|
13829
13837
|
}, ul(c, n);
|
|
13830
13838
|
}
|
|
13831
|
-
function
|
|
13832
|
-
return
|
|
13839
|
+
function cn(c) {
|
|
13840
|
+
return cn = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
13833
13841
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
13834
|
-
},
|
|
13842
|
+
}, cn(c);
|
|
13835
13843
|
}
|
|
13836
13844
|
uc.rules = { ".je-form-input-label": "display:block;margin-bottom:3px;font-weight:bold", ".je-form-input-description": "display:inline-block;margin:0;font-size:0.8em;font-style:italic", ".je-indented-panel": "padding:5px;margin:10px;border-radius:3px;border:1px%20solid%20%23ddd", ".je-child-editor-holder": "margin-bottom:8px", ".je-header-button-holder": "display:inline-block;margin-left:10px;font-size:0.8em;vertical-align:middle", ".je-table": "margin-bottom:5px;border-bottom:1px%20solid%20%23ccc", ".je-upload-preview img": "float:left;margin:0%200.5rem%200.5rem%200;max-width:100%25;max-height:5rem", ".je-dropzone": "position:relative;margin:0.5rem%200;border:2px%20dashed%20black;width:100%25;height:60px;background:teal;transition:all%200.5s", ".je-dropzone:before": "position:absolute;content:attr(data-text);color:rgba(0%2C%200%2C%200%2C%200.6);left:50%25;top:50%25;transform:translate(-50%25%2C%20-50%25)", ".je-dropzone.valid-dropzone": "background:green", ".je-dropzone.invalid-dropzone": "background:red" };
|
|
13837
13845
|
var hc = function(c) {
|
|
@@ -13852,9 +13860,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13852
13860
|
return !1;
|
|
13853
13861
|
}
|
|
13854
13862
|
}(), function() {
|
|
13855
|
-
var t, e =
|
|
13863
|
+
var t, e = cn(i);
|
|
13856
13864
|
if (h) {
|
|
13857
|
-
var o =
|
|
13865
|
+
var o = cn(this).constructor;
|
|
13858
13866
|
t = Reflect.construct(e, arguments, o);
|
|
13859
13867
|
} else
|
|
13860
13868
|
t = e.apply(this, arguments);
|
|
@@ -13877,7 +13885,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13877
13885
|
}(this, l), a.apply(this, arguments);
|
|
13878
13886
|
}
|
|
13879
13887
|
return n = l, (m = [{ key: "getSelectInput", value: function(t, e) {
|
|
13880
|
-
var o = di(
|
|
13888
|
+
var o = di(cn(l.prototype), "getSelectInput", this).call(this, t);
|
|
13881
13889
|
return o.classList.add("form-control"), o;
|
|
13882
13890
|
} }, { key: "setGridColumnSize", value: function(t, e, o) {
|
|
13883
13891
|
t.classList.add("col-md-".concat(e)), o && t.classList.add("col-md-offset-".concat(o));
|
|
@@ -13890,9 +13898,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13890
13898
|
var t = document.createElement("textarea");
|
|
13891
13899
|
return t.classList.add("form-control"), t;
|
|
13892
13900
|
} }, { key: "getRangeInput", value: function(t, e, o) {
|
|
13893
|
-
return di(
|
|
13901
|
+
return di(cn(l.prototype), "getRangeInput", this).call(this, t, e, o);
|
|
13894
13902
|
} }, { key: "getFormInputField", value: function(t) {
|
|
13895
|
-
var e = di(
|
|
13903
|
+
var e = di(cn(l.prototype), "getFormInputField", this).call(this, t);
|
|
13896
13904
|
return t !== "checkbox" && t !== "radio" && e.classList.add("form-control"), e;
|
|
13897
13905
|
} }, { key: "getFormControl", value: function(t, e, o, u) {
|
|
13898
13906
|
var d = document.createElement("div");
|
|
@@ -13919,10 +13927,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13919
13927
|
var t = document.createElement("span");
|
|
13920
13928
|
return t.classList.add("btn-group"), t;
|
|
13921
13929
|
} }, { key: "getButton", value: function(t, e, o) {
|
|
13922
|
-
var u = di(
|
|
13930
|
+
var u = di(cn(l.prototype), "getButton", this).call(this, t, e, o);
|
|
13923
13931
|
return u.classList.add("btn", "btn-default"), u;
|
|
13924
13932
|
} }, { key: "getTableContainer", value: function() {
|
|
13925
|
-
var t = di(
|
|
13933
|
+
var t = di(cn(l.prototype), "getTableContainer", this).call(this);
|
|
13926
13934
|
return t.classList.add("table-responsive"), t;
|
|
13927
13935
|
} }, { key: "getTable", value: function() {
|
|
13928
13936
|
var t = document.createElement("table");
|
|
@@ -14012,7 +14020,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14012
14020
|
function pi() {
|
|
14013
14021
|
return pi = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
14014
14022
|
var i = function(a, l) {
|
|
14015
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
14023
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = un(a)) !== null; )
|
|
14016
14024
|
;
|
|
14017
14025
|
return a;
|
|
14018
14026
|
}(c, n);
|
|
@@ -14027,10 +14035,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14027
14035
|
return m.__proto__ = i, m;
|
|
14028
14036
|
}, hl(c, n);
|
|
14029
14037
|
}
|
|
14030
|
-
function
|
|
14031
|
-
return
|
|
14038
|
+
function un(c) {
|
|
14039
|
+
return un = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
14032
14040
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
14033
|
-
},
|
|
14041
|
+
}, un(c);
|
|
14034
14042
|
}
|
|
14035
14043
|
hc.rules = {}, _(3843);
|
|
14036
14044
|
var Jh = { disable_theme_rules: !1, input_size: "normal", custom_forms: !1, object_indent: !0, object_background: "bg-light", object_text: "", table_border: !1, table_zebrastyle: !1, tooltip: "bootstrap" }, dc = function(c) {
|
|
@@ -14051,9 +14059,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14051
14059
|
return !1;
|
|
14052
14060
|
}
|
|
14053
14061
|
}(), function() {
|
|
14054
|
-
var t, e =
|
|
14062
|
+
var t, e = un(i);
|
|
14055
14063
|
if (h) {
|
|
14056
|
-
var o =
|
|
14064
|
+
var o = un(this).constructor;
|
|
14057
14065
|
t = Reflect.construct(e, arguments, o);
|
|
14058
14066
|
} else
|
|
14059
14067
|
t = e.apply(this, arguments);
|
|
@@ -14076,7 +14084,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14076
14084
|
}(this, l), a.call(this, t, Jh);
|
|
14077
14085
|
}
|
|
14078
14086
|
return n = l, (m = [{ key: "getSelectInput", value: function(t, e) {
|
|
14079
|
-
var o = pi(
|
|
14087
|
+
var o = pi(un(l.prototype), "getSelectInput", this).call(this, t);
|
|
14080
14088
|
return o.classList.add("form-control"), this.options.custom_forms === !1 ? (this.options.input_size === "small" && o.classList.add("form-control-sm"), this.options.input_size === "large" && o.classList.add("form-control-lg")) : (o.classList.remove("form-control"), o.classList.add("custom-select"), this.options.input_size === "small" && o.classList.add("custom-select-sm"), this.options.input_size === "large" && o.classList.add("custom-select-lg")), o;
|
|
14081
14089
|
} }, { key: "getContainer", value: function() {
|
|
14082
14090
|
var t = document.createElement("div");
|
|
@@ -14094,7 +14102,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14094
14102
|
var t = document.createElement("textarea");
|
|
14095
14103
|
return t.classList.add("form-control"), this.options.input_size === "small" && t.classList.add("form-control-sm"), this.options.input_size === "large" && t.classList.add("form-control-lg"), t;
|
|
14096
14104
|
} }, { key: "getRangeInput", value: function(t, e, o) {
|
|
14097
|
-
var u = pi(
|
|
14105
|
+
var u = pi(un(l.prototype), "getRangeInput", this).call(this, t, e, o);
|
|
14098
14106
|
return this.options.custom_forms === !0 && (u.classList.remove("form-control"), u.classList.add("custom-range")), u;
|
|
14099
14107
|
} }, { key: "getStepperButtons", value: function(t) {
|
|
14100
14108
|
var e = document.createElement("div"), o = document.createElement("div"), u = document.createElement("div"), d = document.createElement("button");
|
|
@@ -14112,7 +14120,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14112
14120
|
t.getAttribute("initialized") ? J ? Number(t.value) < Number(J) && t.stepUp() : t.stepUp() : P(t, D), O(t, "change");
|
|
14113
14121
|
}), e;
|
|
14114
14122
|
} }, { key: "getFormInputField", value: function(t) {
|
|
14115
|
-
var e = pi(
|
|
14123
|
+
var e = pi(un(l.prototype), "getFormInputField", this).call(this, t);
|
|
14116
14124
|
return t !== "checkbox" && t !== "radio" && t !== "file" && (e.classList.add("form-control"), this.options.input_size === "small" && e.classList.add("form-control-sm"), this.options.input_size === "large" && e.classList.add("form-control-lg")), t === "file" && e.classList.add("form-control-file"), e;
|
|
14117
14125
|
} }, { key: "getFormControl", value: function(t, e, o, u) {
|
|
14118
14126
|
var d = document.createElement("div");
|
|
@@ -14169,10 +14177,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14169
14177
|
var e = this.getButtonHolder();
|
|
14170
14178
|
return e.classList.add("d-block"), t === "center" ? e.classList.add("text-center") : t === "right" && e.classList.add("text-right"), e;
|
|
14171
14179
|
} }, { key: "getButton", value: function(t, e, o) {
|
|
14172
|
-
var u = pi(
|
|
14180
|
+
var u = pi(un(l.prototype), "getButton", this).call(this, t, e, o);
|
|
14173
14181
|
return u.classList.add("btn", "btn-secondary", "btn-sm"), u;
|
|
14174
14182
|
} }, { key: "getTableContainer", value: function() {
|
|
14175
|
-
var t = pi(
|
|
14183
|
+
var t = pi(un(l.prototype), "getTableContainer", this).call(this);
|
|
14176
14184
|
return t.classList.add("table-responsive"), t;
|
|
14177
14185
|
} }, { key: "getTable", value: function() {
|
|
14178
14186
|
var t = document.createElement("table");
|
|
@@ -14282,7 +14290,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14282
14290
|
function fi() {
|
|
14283
14291
|
return fi = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(c, n, m) {
|
|
14284
14292
|
var i = function(a, l) {
|
|
14285
|
-
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a =
|
|
14293
|
+
for (; !Object.prototype.hasOwnProperty.call(a, l) && (a = hn(a)) !== null; )
|
|
14286
14294
|
;
|
|
14287
14295
|
return a;
|
|
14288
14296
|
}(c, n);
|
|
@@ -14297,10 +14305,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14297
14305
|
return m.__proto__ = i, m;
|
|
14298
14306
|
}, dl(c, n);
|
|
14299
14307
|
}
|
|
14300
|
-
function
|
|
14301
|
-
return
|
|
14308
|
+
function hn(c) {
|
|
14309
|
+
return hn = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
14302
14310
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
14303
|
-
},
|
|
14311
|
+
}, hn(c);
|
|
14304
14312
|
}
|
|
14305
14313
|
dc.rules = { ".jsoneditor-twbs4-text-button": "background:none;padding:0;border:0;color:currentColor", "td > .form-group": "margin-bottom:0", ".json-editor-btn-upload": "margin-top:1rem", ".je-noindent .card": "padding:0;border:0", ".je-tooltip:hover::before": "display:block;position:absolute;font-size:0.8em;color:%23fff;border-radius:0.2em;content:attr(title);background-color:%23000;margin-top:-2.5em;padding:0.3em", ".je-tooltip:hover::after": "display:block;position:absolute;font-size:0.8em;color:%23fff", ".select2-container--default .select2-selection--single": "height:calc(1.5em%20%2B%200.75rem%20%2B%202px)", ".select2-container--default .select2-selection--single .select2-selection__arrow": "height:calc(1.5em%20%2B%200.75rem%20%2B%202px)", ".select2-container--default .select2-selection--single .select2-selection__rendered": "line-height:calc(1.5em%20%2B%200.75rem%20%2B%202px)", ".selectize-control.form-control": "padding:0", ".selectize-dropdown.form-control": "padding:0;height:auto", ".je-upload-preview img": "float:left;margin:0%200.5rem%200.5rem%200;max-width:100%25;max-height:5rem", ".je-dropzone": "position:relative;margin:0.5rem%200;border:2px%20dashed%20black;width:100%25;height:60px;background:teal;transition:all%200.5s", ".je-dropzone:before": "position:absolute;content:attr(data-text);color:rgba(0%2C%200%2C%200%2C%200.6);left:50%25;top:50%25;transform:translate(-50%25%2C%20-50%25)", ".je-dropzone.valid-dropzone": "background:green", ".je-dropzone.invalid-dropzone": "background:red" };
|
|
14306
14314
|
var Xh = { disable_theme_rules: !1, input_size: "normal", object_indent: !0, object_background: "bg-light", object_text: "", table_border: !1, table_zebrastyle: !1, tooltip: "bootstrap" }, pc = function(c) {
|
|
@@ -14321,9 +14329,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14321
14329
|
return !1;
|
|
14322
14330
|
}
|
|
14323
14331
|
}(), function() {
|
|
14324
|
-
var t, e =
|
|
14332
|
+
var t, e = hn(i);
|
|
14325
14333
|
if (h) {
|
|
14326
|
-
var o =
|
|
14334
|
+
var o = hn(this).constructor;
|
|
14327
14335
|
t = Reflect.construct(e, arguments, o);
|
|
14328
14336
|
} else
|
|
14329
14337
|
t = e.apply(this, arguments);
|
|
@@ -14346,7 +14354,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14346
14354
|
}(this, l), a.call(this, t, Xh);
|
|
14347
14355
|
}
|
|
14348
14356
|
return n = l, (m = [{ key: "getSelectInput", value: function(t, e) {
|
|
14349
|
-
var o = fi(
|
|
14357
|
+
var o = fi(hn(l.prototype), "getSelectInput", this).call(this, t);
|
|
14350
14358
|
return o.classList.add("form-control"), o.classList.add("form-select"), this.options.input_size === "small" && o.classList.add("form-control-sm"), this.options.input_size === "large" && o.classList.add("form-control-lg"), o;
|
|
14351
14359
|
} }, { key: "getContainer", value: function() {
|
|
14352
14360
|
var t = document.createElement("div");
|
|
@@ -14364,7 +14372,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14364
14372
|
var t = document.createElement("textarea");
|
|
14365
14373
|
return t.classList.add("form-control"), this.options.input_size === "small" && t.classList.add("form-control-sm"), this.options.input_size === "large" && t.classList.add("form-control-lg"), t;
|
|
14366
14374
|
} }, { key: "getRangeInput", value: function(t, e, o) {
|
|
14367
|
-
var u = fi(
|
|
14375
|
+
var u = fi(hn(l.prototype), "getRangeInput", this).call(this, t, e, o);
|
|
14368
14376
|
return u.classList.remove("form-control"), u.classList.add("form-range"), u;
|
|
14369
14377
|
} }, { key: "getStepperButtons", value: function(t) {
|
|
14370
14378
|
var e = document.createElement("div"), o = document.createElement("button");
|
|
@@ -14382,7 +14390,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14382
14390
|
t.getAttribute("initialized") ? P ? Number(t.value) < Number(P) && t.stepUp() : t.stepUp() : d(t, x), O(t, "change");
|
|
14383
14391
|
}), e;
|
|
14384
14392
|
} }, { key: "getFormInputField", value: function(t) {
|
|
14385
|
-
var e = fi(
|
|
14393
|
+
var e = fi(hn(l.prototype), "getFormInputField", this).call(this, t);
|
|
14386
14394
|
return t !== "checkbox" && t !== "radio" && (e.classList.add("form-control"), this.options.input_size === "small" && e.classList.add("form-control-sm"), this.options.input_size === "large" && e.classList.add("form-control-lg")), e;
|
|
14387
14395
|
} }, { key: "getFormControl", value: function(t, e, o, u) {
|
|
14388
14396
|
var d = document.createElement("div");
|
|
@@ -14439,10 +14447,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14439
14447
|
var e = this.getButtonHolder();
|
|
14440
14448
|
return e.classList.add("d-block"), t === "center" ? e.classList.add("text-center") : t === "right" && e.classList.add("text-end"), e;
|
|
14441
14449
|
} }, { key: "getButton", value: function(t, e, o) {
|
|
14442
|
-
var u = fi(
|
|
14450
|
+
var u = fi(hn(l.prototype), "getButton", this).call(this, t, e, o);
|
|
14443
14451
|
return u.classList.add("btn", "btn-secondary", "btn-sm"), u;
|
|
14444
14452
|
} }, { key: "getTableContainer", value: function() {
|
|
14445
|
-
var t = fi(
|
|
14453
|
+
var t = fi(hn(l.prototype), "getTableContainer", this).call(this);
|
|
14446
14454
|
return t.classList.add("table-responsive"), t;
|
|
14447
14455
|
} }, { key: "getTable", value: function() {
|
|
14448
14456
|
var t = document.createElement("table");
|
|
@@ -15269,7 +15277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15269
15277
|
}
|
|
15270
15278
|
function o(W, G, Z, dt) {
|
|
15271
15279
|
var et = G && G.prototype instanceof x ? G : x, Lt = Object.create(et.prototype), re = new gt(dt || []);
|
|
15272
|
-
return i(Lt, "_invoke", { value:
|
|
15280
|
+
return i(Lt, "_invoke", { value: Nt(W, Z, re) }), Lt;
|
|
15273
15281
|
}
|
|
15274
15282
|
function u(W, G, Z) {
|
|
15275
15283
|
try {
|
|
@@ -15327,7 +15335,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15327
15335
|
return dt = dt ? dt.then(re, re) : re();
|
|
15328
15336
|
} });
|
|
15329
15337
|
}
|
|
15330
|
-
function
|
|
15338
|
+
function Nt(W, G, Z) {
|
|
15331
15339
|
var dt = "suspendedStart";
|
|
15332
15340
|
return function(et, Lt) {
|
|
15333
15341
|
if (dt === "executing")
|
|
@@ -16388,10 +16396,10 @@ class df {
|
|
|
16388
16396
|
window.tcRangeSliderPlugins.push(_);
|
|
16389
16397
|
})();
|
|
16390
16398
|
(() => {
|
|
16391
|
-
var f = Object.defineProperty, s = Math.pow, p = (L, z, rt) => z in L ? f(L, z, { enumerable: !0, configurable: !0, writable: !0, value: rt }) : L[z] = rt, b = (L, z, rt) => (p(L, typeof z != "symbol" ? z + "" : z, rt), rt), _ = (L, z) => ` ${z && z.length > 0 ? z.map((rt) => `<link rel="stylesheet" href="${rt}" />`).join("") : ""} <style> ${L} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, E = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", y = "pointers-overlap", j = "pointers-min-distance", r = "pointers-max-distance", v = "range-dragging", g = "data", w = "min", k = "max", O = "step", C = "round", S = "type", T = "theme", A = "rtl", R = "btt", I = "disabled", $ = "keyboard-disabled", M = "mousewheel-disabled", B = "slider-width", q = "slider-height", F = "slider-radius", N = "slider-bg", U = "slider-bg-hover", H = "slider-bg-fill", X = "pointer-width", Y = "pointer-height", K = "pointer-radius", tt = "pointer-bg", it = "pointer-bg-hover", st = "pointer-bg-focus", yt = "pointer-shadow", ct = "pointer-shadow-hover", Et = "pointer-shadow-focus", At = "pointer-border",
|
|
16392
|
-
let
|
|
16393
|
-
return
|
|
16394
|
-
}, St = (L) => !isNaN(parseFloat(L)) && isFinite(L), jt = (L, z) => St(L) ? Number(L) : z,
|
|
16399
|
+
var f = Object.defineProperty, s = Math.pow, p = (L, z, rt) => z in L ? f(L, z, { enumerable: !0, configurable: !0, writable: !0, value: rt }) : L[z] = rt, b = (L, z, rt) => (p(L, typeof z != "symbol" ? z + "" : z, rt), rt), _ = (L, z) => ` ${z && z.length > 0 ? z.map((rt) => `<link rel="stylesheet" href="${rt}" />`).join("") : ""} <style> ${L} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, E = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", y = "pointers-overlap", j = "pointers-min-distance", r = "pointers-max-distance", v = "range-dragging", g = "data", w = "min", k = "max", O = "step", C = "round", S = "type", T = "theme", A = "rtl", R = "btt", I = "disabled", $ = "keyboard-disabled", M = "mousewheel-disabled", B = "slider-width", q = "slider-height", F = "slider-radius", N = "slider-bg", U = "slider-bg-hover", H = "slider-bg-fill", X = "pointer-width", Y = "pointer-height", K = "pointer-radius", tt = "pointer-bg", it = "pointer-bg-hover", st = "pointer-bg-focus", yt = "pointer-shadow", ct = "pointer-shadow-hover", Et = "pointer-shadow-focus", At = "pointer-border", Ht = "pointer-border-hover", lt = "pointer-border-focus", wt = "animate-onclick", _t = "css-links", Ut = "vertical", Kt = "horizontal", pe = (L, z, rt, Q, mt) => {
|
|
16400
|
+
let Bt = z - L;
|
|
16401
|
+
return Bt === 0 ? rt : (Q - rt) * (mt - L) / Bt + rt;
|
|
16402
|
+
}, St = (L) => !isNaN(parseFloat(L)) && isFinite(L), jt = (L, z) => St(L) ? Number(L) : z, It = (L, z) => z === 0 ? 0 : Math.round(L / z) * z, qt = (L, z = 1 / 0) => {
|
|
16395
16403
|
if (z === 1 / 0)
|
|
16396
16404
|
return L;
|
|
16397
16405
|
let rt = s(10, z);
|
|
@@ -16413,38 +16421,38 @@ class df {
|
|
|
16413
16421
|
Q[`value${mt + 1}`] = rt[mt];
|
|
16414
16422
|
L.dispatchEvent(new CustomEvent("change", { detail: Q }));
|
|
16415
16423
|
}, Pe = (L, z, rt) => {
|
|
16416
|
-
let Q = 0, mt,
|
|
16424
|
+
let Q = 0, mt, Bt, Yt, ft, vt = !1, Wt = (Ft, fe, He, ke, Be, we) => {
|
|
16417
16425
|
let hr = Q;
|
|
16418
|
-
He !== void 0 &&
|
|
16426
|
+
He !== void 0 && Ft > He && (Ft = He), fe !== void 0 && Ft < fe && (Ft = fe), Q = Ft;
|
|
16419
16427
|
let De = Q;
|
|
16420
|
-
return (
|
|
16421
|
-
}, ie = (
|
|
16422
|
-
mt =
|
|
16423
|
-
}, ue = (
|
|
16424
|
-
vt =
|
|
16425
|
-
}, Le = (
|
|
16426
|
-
fe == null ? z.removeAttribute(
|
|
16427
|
-
}, tr = (
|
|
16428
|
+
return (ke === Ut && we || ke === Kt && Be) && (De = 100 - De), ke === Ut ? z.style.top = `${De}%` : z.style.left = `${De}%`, hr !== Q;
|
|
16429
|
+
}, ie = (Ft) => Ft === z || z.contains(Ft), Pt = (Ft, fe, He, ke) => {
|
|
16430
|
+
mt = Ft, Bt = fe, Yt = He, ft = ke;
|
|
16431
|
+
}, ue = (Ft) => {
|
|
16432
|
+
vt = Ft, z.classList.toggle("disabled", vt), vt ? z.setAttribute("aria-disabled", "true") : z.hasAttribute("aria-disabled") && z.removeAttribute("aria-disabled");
|
|
16433
|
+
}, Le = (Ft, fe) => {
|
|
16434
|
+
fe == null ? z.removeAttribute(Ft) : z.setAttribute(Ft, fe);
|
|
16435
|
+
}, tr = (Ft) => z.getAttribute(Ft), Rt = (Ft) => {
|
|
16428
16436
|
if (!vt) {
|
|
16429
|
-
switch (
|
|
16437
|
+
switch (Ft.key) {
|
|
16430
16438
|
case "ArrowLeft": {
|
|
16431
|
-
|
|
16439
|
+
Ft.preventDefault(), typeof mt == "function" && mt(rt);
|
|
16432
16440
|
break;
|
|
16433
16441
|
}
|
|
16434
16442
|
case "ArrowRight": {
|
|
16435
|
-
|
|
16443
|
+
Ft.preventDefault(), typeof Bt == "function" && Bt(rt);
|
|
16436
16444
|
break;
|
|
16437
16445
|
}
|
|
16438
16446
|
case "ArrowUp": {
|
|
16439
|
-
|
|
16447
|
+
Ft.preventDefault(), typeof Yt == "function" && Yt(rt);
|
|
16440
16448
|
break;
|
|
16441
16449
|
}
|
|
16442
16450
|
case "ArrowDown": {
|
|
16443
|
-
|
|
16451
|
+
Ft.preventDefault(), typeof ft == "function" && ft(rt);
|
|
16444
16452
|
break;
|
|
16445
16453
|
}
|
|
16446
16454
|
}
|
|
16447
|
-
ve(L,
|
|
16455
|
+
ve(L, Ft);
|
|
16448
16456
|
}
|
|
16449
16457
|
}, ee = () => {
|
|
16450
16458
|
vt || rr(L, z);
|
|
@@ -16453,8 +16461,8 @@ class df {
|
|
|
16453
16461
|
return Q;
|
|
16454
16462
|
}, get disabled() {
|
|
16455
16463
|
return vt;
|
|
16456
|
-
}, set disabled(
|
|
16457
|
-
ue(
|
|
16464
|
+
}, set disabled(Ft) {
|
|
16465
|
+
ue(Ft);
|
|
16458
16466
|
}, updatePosition: Wt, isClicked: ie, setCallbacks: Pt, setAttr: Le, getAttr: tr, destroy: () => {
|
|
16459
16467
|
z.removeEventListener("keydown", Rt), z.removeEventListener("click", ee), z.remove();
|
|
16460
16468
|
} };
|
|
@@ -16467,22 +16475,22 @@ class df {
|
|
|
16467
16475
|
return;
|
|
16468
16476
|
let z = L.split(","), rt = [], Q = !0;
|
|
16469
16477
|
for (let mt = 0; mt < z.length; mt++) {
|
|
16470
|
-
let
|
|
16471
|
-
|
|
16478
|
+
let Bt = z[mt].trim();
|
|
16479
|
+
Bt !== "" && (rt.push(Bt), St(Bt) || (Q = !1));
|
|
16472
16480
|
}
|
|
16473
16481
|
return Q ? rt.map((mt) => Number(mt)) : rt;
|
|
16474
16482
|
}, Te = (L, z) => z ? z.findIndex((rt) => rt === L || rt.toString().trim() === L.toString().trim()) : -1, Ue = (L) => ({ updatePosition: (z, rt, Q, mt) => {
|
|
16475
16483
|
if (rt.length <= 0)
|
|
16476
16484
|
return;
|
|
16477
|
-
let
|
|
16478
|
-
z === Ut ? (L.style.removeProperty("width"), L.style.removeProperty("right"), L.style.removeProperty("left"),
|
|
16479
|
-
} }), Oe = "--animate-onclick", cr = "--width", ot = "--height", bt = "--panel-bg-border-radius",
|
|
16485
|
+
let Bt = rt.length === 1, Yt = rt[0], ft = rt[rt.length - 1];
|
|
16486
|
+
z === Ut ? (L.style.removeProperty("width"), L.style.removeProperty("right"), L.style.removeProperty("left"), Bt ? L.style.height = `${Yt}%` : L.style.height = `${Math.abs(Yt - ft)}%`, mt ? (L.style.bottom = "0%", Bt ? L.style.top = "auto" : L.style.top = `${Math.min(100 - ft, 100 - Yt)}%`) : (L.style.bottom = "auto", Bt ? L.style.top = "0%" : L.style.top = `${Math.min(Yt, ft)}%`)) : (L.style.removeProperty("height"), L.style.removeProperty("top"), L.style.removeProperty("bottom"), Bt ? L.style.width = `${Yt}%` : L.style.width = `${Math.abs(Yt - ft)}%`, Q ? (L.style.right = "0%", Bt ? L.style.left = "auto" : L.style.left = `${Math.min(100 - ft, 100 - Yt)}%`) : (L.style.right = "auto", Bt ? L.style.left = "0%" : L.style.left = `${Math.min(Yt, ft)}%`));
|
|
16487
|
+
} }), Oe = "--animate-onclick", cr = "--width", ot = "--height", bt = "--panel-bg-border-radius", Mt = "--panel-bg", $t = "--panel-bg-hover", Qt = "--panel-bg-fill", qe = "--pointer-width", Je = "--pointer-height", vr = "--pointer-border-radius", Ye = "--pointer-bg", ur = "--pointer-bg-hover", Ee = "--pointer-bg-focus", Sn = "--pointer-shadow", Dt = "--pointer-shadow-hover", te = "--pointer-shadow-focus", Xt = "--pointer-border", ce = "--pointer-border-hover", Me = "--pointer-border-focus", Ei = (L, z, rt) => {
|
|
16480
16488
|
let Q = /* @__PURE__ */ new Map();
|
|
16481
16489
|
for (let mt of L.attributes) {
|
|
16482
|
-
let
|
|
16483
|
-
if (!z.test(
|
|
16490
|
+
let Bt = mt.nodeName.trim().toLowerCase();
|
|
16491
|
+
if (!z.test(Bt))
|
|
16484
16492
|
continue;
|
|
16485
|
-
let
|
|
16493
|
+
let Yt = Bt.replace(/\D/g, "").trim(), ft = Yt === "" || Yt === "0" || Yt === "1" ? 0 : jt(Yt, 0) - 1, vt = rt && typeof rt == "function" ? rt(mt.value) : mt.value;
|
|
16486
16494
|
Q.set(ft, vt);
|
|
16487
16495
|
}
|
|
16488
16496
|
return Q;
|
|
@@ -16496,18 +16504,18 @@ class df {
|
|
|
16496
16504
|
for (let mt of rt)
|
|
16497
16505
|
mt.trim() !== "" && Q.push(mt.trim());
|
|
16498
16506
|
return Q;
|
|
16499
|
-
}, pa = [[cr, B, "sliderWidth", null], [ot, q, "sliderHeight", null], [bt, F, "sliderRadius", null], [
|
|
16500
|
-
let Q = null, mt = [],
|
|
16501
|
-
let
|
|
16502
|
-
for (let fe of
|
|
16507
|
+
}, pa = [[cr, B, "sliderWidth", null], [ot, q, "sliderHeight", null], [bt, F, "sliderRadius", null], [Mt, N, "sliderBg", null], [$t, U, "sliderBgHover", null], [Qt, H, "sliderBgFill", null], [qe, X, "pointer#Width", /^pointer([0-9]*)-width$/], [Je, Y, "pointer#Height", /^pointer([0-9]*)-height$/], [vr, K, "pointer#Radius", /^pointer([0-9]*)-radius$/], [Ye, tt, "pointer#Bg", /^pointer([0-9]*)-bg$/], [ur, it, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [Ee, st, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Sn, yt, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [Dt, ct, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [te, Et, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Xt, At, "pointer#Border", /^pointer([0-9]*)-border$/], [ce, Ht, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Me, lt, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Xn = (L, z, rt) => {
|
|
16508
|
+
let Q = null, mt = [], Bt = /* @__PURE__ */ new Map(), Yt = (Rt, ee = z) => {
|
|
16509
|
+
let Ft = [...ee.classList];
|
|
16510
|
+
for (let fe of Ft)
|
|
16503
16511
|
fe.startsWith(Rt) && z.classList.remove(fe);
|
|
16504
16512
|
}, ft = () => {
|
|
16505
|
-
|
|
16513
|
+
Yt("shape");
|
|
16506
16514
|
let Rt = z.querySelectorAll(".pointer");
|
|
16507
16515
|
for (let ee of Rt)
|
|
16508
|
-
|
|
16516
|
+
Yt("shape", ee);
|
|
16509
16517
|
}, vt = (Rt) => {
|
|
16510
|
-
Q = Rt,
|
|
16518
|
+
Q = Rt, Yt("theme-"), typeof Rt == "string" && z.classList.add(`theme-${Rt}`);
|
|
16511
16519
|
}, Wt = () => {
|
|
16512
16520
|
if (ft(), !(mt.length <= 0)) {
|
|
16513
16521
|
z.classList.add("shape", `shape-${mt[0]}`);
|
|
@@ -16515,8 +16523,8 @@ class df {
|
|
|
16515
16523
|
let ee = mt[Rt];
|
|
16516
16524
|
if (!ee)
|
|
16517
16525
|
continue;
|
|
16518
|
-
let
|
|
16519
|
-
!
|
|
16526
|
+
let Ft = z.querySelector(`.pointer-${Rt}`);
|
|
16527
|
+
!Ft || Ft.classList.add("shape", `shape-${ee}`);
|
|
16520
16528
|
}
|
|
16521
16529
|
}
|
|
16522
16530
|
}, ie = (Rt, ee) => {
|
|
@@ -16526,25 +16534,25 @@ class df {
|
|
|
16526
16534
|
let Rt = Ei(L, /^pointer([0-9]*)-shape$/);
|
|
16527
16535
|
if (!(Rt.size <= 0)) {
|
|
16528
16536
|
for (let ee of Rt) {
|
|
16529
|
-
let
|
|
16530
|
-
mt[
|
|
16537
|
+
let Ft = ee[0];
|
|
16538
|
+
mt[Ft] = ee[1];
|
|
16531
16539
|
}
|
|
16532
16540
|
Wt();
|
|
16533
16541
|
}
|
|
16534
|
-
}, ue = (Rt, ee) => `${Rt}-${ee}`, Le = (Rt, ee,
|
|
16535
|
-
let fe = rt[
|
|
16542
|
+
}, ue = (Rt, ee) => `${Rt}-${ee}`, Le = (Rt, ee, Ft) => {
|
|
16543
|
+
let fe = rt[Ft];
|
|
16536
16544
|
if (!fe)
|
|
16537
16545
|
return;
|
|
16538
|
-
let He =
|
|
16546
|
+
let He = Ft === 0 ? z : fe.$pointer;
|
|
16539
16547
|
if (ee == null) {
|
|
16540
|
-
|
|
16548
|
+
Bt.has(ue(Rt, Ft)) && Bt.delete(ue(Rt, Ft)), He.style.removeProperty(Rt);
|
|
16541
16549
|
return;
|
|
16542
16550
|
}
|
|
16543
|
-
|
|
16544
|
-
}, tr = (Rt, ee) =>
|
|
16551
|
+
Bt.set(ue(Rt, Ft), ee), He.style.setProperty(Rt, ee);
|
|
16552
|
+
}, tr = (Rt, ee) => Bt.get(ue(Rt, ee));
|
|
16545
16553
|
return (() => {
|
|
16546
16554
|
for (let Rt of pa) {
|
|
16547
|
-
let [ee,
|
|
16555
|
+
let [ee, Ft, fe, He] = Rt;
|
|
16548
16556
|
if (He) {
|
|
16549
16557
|
let Be = Ei(L, He);
|
|
16550
16558
|
for (let we of Be) {
|
|
@@ -16552,18 +16560,18 @@ class df {
|
|
|
16552
16560
|
Le(ee, De, hr);
|
|
16553
16561
|
}
|
|
16554
16562
|
} else {
|
|
16555
|
-
let Be = L.getAttribute(
|
|
16563
|
+
let Be = L.getAttribute(Ft);
|
|
16556
16564
|
Le(ee, Be, 0);
|
|
16557
16565
|
}
|
|
16558
|
-
let
|
|
16566
|
+
let ke = [];
|
|
16559
16567
|
if (fe.indexOf("#") === -1)
|
|
16560
|
-
|
|
16568
|
+
ke.push([fe, 0]);
|
|
16561
16569
|
else {
|
|
16562
|
-
|
|
16570
|
+
ke.push([fe.replace("#", ""), 0]), ke.push([fe.replace("#", "0"), 0]), ke.push([fe.replace("#", "1"), 0]);
|
|
16563
16571
|
for (let Be = 1; Be < rt.length; Be++)
|
|
16564
|
-
|
|
16572
|
+
ke.push([fe.replace("#", (Be + 1).toString()), Be]);
|
|
16565
16573
|
}
|
|
16566
|
-
for (let Be of
|
|
16574
|
+
for (let Be of ke)
|
|
16567
16575
|
try {
|
|
16568
16576
|
let we = Be[0], hr = Be[1];
|
|
16569
16577
|
Object.prototype.hasOwnProperty.call(L, we) || Object.defineProperty(L, we, { get() {
|
|
@@ -16583,11 +16591,11 @@ class df {
|
|
|
16583
16591
|
}, get pointerShapes() {
|
|
16584
16592
|
return mt;
|
|
16585
16593
|
}, setPointerShape: ie };
|
|
16586
|
-
},
|
|
16587
|
-
let mt = [],
|
|
16594
|
+
}, Qr = "animate-on-click", Vr = "range-dragging", fa = (L, z, rt, Q) => {
|
|
16595
|
+
let mt = [], Bt = (ie) => {
|
|
16588
16596
|
for (let Pt of mt)
|
|
16589
16597
|
Pt.update && typeof Pt.update == "function" && Pt.update(ie);
|
|
16590
|
-
},
|
|
16598
|
+
}, Yt = () => {
|
|
16591
16599
|
for (let ie of mt)
|
|
16592
16600
|
ie.destroy && typeof ie.destroy == "function" && ie.destroy();
|
|
16593
16601
|
}, ft = (ie, Pt) => {
|
|
@@ -16616,7 +16624,7 @@ class df {
|
|
|
16616
16624
|
let Pt = ie();
|
|
16617
16625
|
mt.push(Pt), Pt.init && typeof Pt.init == "function" && (Pt.init(L, z, rt, Q), vt(Pt), Wt(Pt));
|
|
16618
16626
|
}
|
|
16619
|
-
}, update:
|
|
16627
|
+
}, update: Bt, onAttrChange: ft, destroy: Yt };
|
|
16620
16628
|
}, Tn = 10, ma = 20, fn = (L, z) => {
|
|
16621
16629
|
let rt = /* @__PURE__ */ new Map(), Q = /^value([0-9]*)$/;
|
|
16622
16630
|
for (let ft of L.attributes) {
|
|
@@ -16626,15 +16634,15 @@ class df {
|
|
|
16626
16634
|
let Wt = vt.replace("value", "").trim(), ie = Wt === "" || Wt === "0" || Wt === "1" ? 0 : jt(Wt, 0) - 1, Pt = St(ft.value) ? jt(ft.value, 0) : ft.value;
|
|
16627
16635
|
rt.set(ie, Pt);
|
|
16628
16636
|
}
|
|
16629
|
-
let mt = Math.max(...Array.from(rt.keys())),
|
|
16630
|
-
|
|
16631
|
-
let
|
|
16637
|
+
let mt = Math.max(...Array.from(rt.keys())), Bt = [];
|
|
16638
|
+
Bt.push([Pe(L, z, 0), rt.get(0)]);
|
|
16639
|
+
let Yt = z;
|
|
16632
16640
|
for (let ft = 1; ft <= mt; ft++) {
|
|
16633
16641
|
let vt = z.cloneNode(!0);
|
|
16634
|
-
|
|
16642
|
+
Yt.after(vt), Yt = vt, Bt.push([Pe(L, vt, ft), rt.get(ft)]);
|
|
16635
16643
|
}
|
|
16636
|
-
return
|
|
16637
|
-
}, Ci = (L, z, rt, Q, mt,
|
|
16644
|
+
return Bt;
|
|
16645
|
+
}, Ci = (L, z, rt, Q, mt, Bt, Yt) => {
|
|
16638
16646
|
try {
|
|
16639
16647
|
Object.defineProperty(L, Q, { configurable: !0, get() {
|
|
16640
16648
|
if (!z)
|
|
@@ -16651,12 +16659,12 @@ class df {
|
|
|
16651
16659
|
return (vt = (ft = z == null ? void 0 : z.pointers[rt]) == null ? void 0 : ft.getAttr("aria-label")) != null ? vt : void 0;
|
|
16652
16660
|
}, set: (ft) => {
|
|
16653
16661
|
!z || z.setAriaLabel(rt, ft);
|
|
16654
|
-
} }), Object.defineProperty(L,
|
|
16662
|
+
} }), Object.defineProperty(L, Bt, { configurable: !0, get() {
|
|
16655
16663
|
var ft, vt;
|
|
16656
16664
|
return (vt = (ft = z == null ? void 0 : z.styles) == null ? void 0 : ft.pointerShapes[rt]) != null ? vt : null;
|
|
16657
16665
|
}, set: (ft) => {
|
|
16658
16666
|
!z || !z.styles || z.styles.setPointerShape(rt, ft);
|
|
16659
|
-
} }), Object.defineProperty(L,
|
|
16667
|
+
} }), Object.defineProperty(L, Yt, { configurable: !0, get() {
|
|
16660
16668
|
var ft;
|
|
16661
16669
|
return (ft = z == null ? void 0 : z.pointers[rt].disabled) != null ? ft : !1;
|
|
16662
16670
|
}, set: (ft) => {
|
|
@@ -16678,33 +16686,33 @@ class df {
|
|
|
16678
16686
|
var Q;
|
|
16679
16687
|
let mt = (Q = rt.shadowRoot) == null ? void 0 : Q.querySelector(".container");
|
|
16680
16688
|
if (mt)
|
|
16681
|
-
for (let
|
|
16682
|
-
z ? mt.prepend(
|
|
16689
|
+
for (let Bt of L)
|
|
16690
|
+
z ? mt.prepend(Bt.$pointer) : mt.append(Bt.$pointer);
|
|
16683
16691
|
}, An = (L, z) => {
|
|
16684
16692
|
if (!(!z || L.length <= 1)) {
|
|
16685
16693
|
for (let rt of L)
|
|
16686
16694
|
rt.$pointer.style.zIndex = ma.toString();
|
|
16687
16695
|
z.$pointer.style.zIndex = (ma * 2).toString();
|
|
16688
16696
|
}
|
|
16689
|
-
}, Eo = 0, _r = 100,
|
|
16690
|
-
let Q = rt.map((V) => V[0]), mt = null,
|
|
16697
|
+
}, Eo = 0, _r = 100, tn = 2, xr = "0.3s", Kn = (L, z, rt) => {
|
|
16698
|
+
let Q = rt.map((V) => V[0]), mt = null, Bt = null, Yt = null, ft = null, vt = Eo, Wt = _r, ie, Pt, ue = Kt, Le = tn, tr = !1, Rt = !1, ee = !1, Ft = 0, fe = 1 / 0, He = !1, ke, Be, we = !1, hr = !1, De = !1, Dr = xr, kr = [], ba = (V) => {
|
|
16691
16699
|
we || (V.preventDefault && V.preventDefault(), Nr(V), window.addEventListener("mousemove", Nr), window.addEventListener("mouseup", zr), he(L, V));
|
|
16692
16700
|
}, zr = (V) => {
|
|
16693
|
-
we || (
|
|
16701
|
+
we || (ke = void 0, Be = void 0, window.removeEventListener("mousemove", Nr), window.removeEventListener("mouseup", zr), Dr && z.classList.add(Qr), Ie(L, V));
|
|
16694
16702
|
}, As = (V, at) => {
|
|
16695
16703
|
if (Q.length <= 0)
|
|
16696
16704
|
return;
|
|
16697
16705
|
if (Q.length === 1)
|
|
16698
|
-
return Q[0].isClicked(V) && Dr && z.classList.remove(
|
|
16706
|
+
return Q[0].isClicked(V) && Dr && z.classList.remove(Qr), Q[0];
|
|
16699
16707
|
let Ot = ga(V);
|
|
16700
16708
|
if (He) {
|
|
16701
16709
|
let le = at, Ne = Ri(le);
|
|
16702
|
-
Ne !== void 0 && (le =
|
|
16710
|
+
Ne !== void 0 && (le = It(le, Ne)), Ot ? (ke = le, Be = 0, Dr && z.classList.remove(Qr)) : ke !== void 0 && (Be = le - ke, ke = le);
|
|
16703
16711
|
}
|
|
16704
16712
|
if (!Rn(V) && !Ot) {
|
|
16705
16713
|
for (let le of Q)
|
|
16706
16714
|
if (!(!le.isClicked(V) || le.disabled))
|
|
16707
|
-
return Dr && z.classList.remove(
|
|
16715
|
+
return Dr && z.classList.remove(Qr), le;
|
|
16708
16716
|
for (let le of Q)
|
|
16709
16717
|
if (mt === le)
|
|
16710
16718
|
return le;
|
|
@@ -16770,7 +16778,7 @@ class df {
|
|
|
16770
16778
|
let at = fe * 100 / (Wt - vt);
|
|
16771
16779
|
return Math.max(0, Q[V + 1].percent - at);
|
|
16772
16780
|
} else {
|
|
16773
|
-
let at =
|
|
16781
|
+
let at = Ft * 100 / (Wt - vt);
|
|
16774
16782
|
return Math.min(Q[V - 1].percent + at, 100);
|
|
16775
16783
|
}
|
|
16776
16784
|
}, In = (V) => {
|
|
@@ -16779,7 +16787,7 @@ class df {
|
|
|
16779
16787
|
let at = fe * 100 / (Wt - vt);
|
|
16780
16788
|
return Math.min(Q[V - 1].percent + at, 100);
|
|
16781
16789
|
} else {
|
|
16782
|
-
let at =
|
|
16790
|
+
let at = Ft * 100 / (Wt - vt);
|
|
16783
16791
|
return Math.max(0, Q[V + 1].percent - at);
|
|
16784
16792
|
}
|
|
16785
16793
|
}, Ri = (V) => {
|
|
@@ -16793,36 +16801,36 @@ class df {
|
|
|
16793
16801
|
let Ot = Wt - vt;
|
|
16794
16802
|
return at = Ot === 0 ? 0 : at * 100 / Ot, at;
|
|
16795
16803
|
}
|
|
16796
|
-
},
|
|
16804
|
+
}, en = (V) => {
|
|
16797
16805
|
if (V === void 0)
|
|
16798
16806
|
return;
|
|
16799
16807
|
let at = pe(0, 100, vt, Wt, V);
|
|
16800
16808
|
return Pt !== void 0 ? Pt[Math.round(at)] : qt(at, Le);
|
|
16801
16809
|
}, Bn = () => Pt !== void 0 ? Pt[vt] : vt, qr = () => Pt !== void 0 ? Pt[Wt] : Wt, Co = () => ie, Dn = (V) => {
|
|
16802
16810
|
var at;
|
|
16803
|
-
return V <= 0 || ee ? Bn() : (at =
|
|
16811
|
+
return V <= 0 || ee ? Bn() : (at = en(Q[V - 1].percent)) != null ? at : "";
|
|
16804
16812
|
}, Ls = (V) => {
|
|
16805
16813
|
var at;
|
|
16806
|
-
return Q.length <= 1 || V >= Q.length - 1 || ee ? qr() : (at =
|
|
16807
|
-
}, Gr = () => Q.map((V) => V.percent), Ii = () => Q.map((V) =>
|
|
16814
|
+
return Q.length <= 1 || V >= Q.length - 1 || ee ? qr() : (at = en(Q[V + 1].percent)) != null ? at : "";
|
|
16815
|
+
}, Gr = () => Q.map((V) => V.percent), Ii = () => Q.map((V) => en(V.percent)), jr = () => Q.map((V) => V.$pointer), _a = () => vt, xa = () => Wt, So = () => Pt, Po = () => ue, To = () => Le, Bi = () => Ft, Ao = () => fe, ti = (V) => kr[V], dr = () => tr, _e = () => Rt, ei = () => we, ri = () => hr, Lo = () => De, Di = () => ee, Ni = () => He, Fe = (V, at) => {
|
|
16808
16816
|
if (at === void 0)
|
|
16809
16817
|
return;
|
|
16810
16818
|
let Ot = Ri(at);
|
|
16811
|
-
Ot !== void 0 && (at =
|
|
16819
|
+
Ot !== void 0 && (at = It(at, Ot));
|
|
16812
16820
|
let ye = Q[V];
|
|
16813
16821
|
if (!ye)
|
|
16814
16822
|
return;
|
|
16815
16823
|
let ge = ye.updatePosition(at, wa(V), In(V), ue, tr, Rt);
|
|
16816
|
-
|
|
16824
|
+
Bt == null || Bt.updatePosition(ue, Q.map((le) => le.percent), tr, Rt), Ur();
|
|
16817
16825
|
for (let le of Q) {
|
|
16818
|
-
let Ne =
|
|
16826
|
+
let Ne = en(le.percent);
|
|
16819
16827
|
Ne !== void 0 && (le.setAttr("aria-valuenow", Ne.toString()), le.setAttr("aria-valuetext", Ne.toString()));
|
|
16820
16828
|
}
|
|
16821
|
-
Ro(), ge && nr(L, Q.map((le) =>
|
|
16829
|
+
Ro(), ge && nr(L, Q.map((le) => en(le.percent)));
|
|
16822
16830
|
}, Mr = () => {
|
|
16823
16831
|
for (let V = 0; V < Q.length; V++)
|
|
16824
16832
|
Fe(V, Q[V].percent);
|
|
16825
|
-
},
|
|
16833
|
+
}, rn = (V, at) => {
|
|
16826
16834
|
vt = Pt !== void 0 ? 0 : jt(V, Eo), Wt = Pt !== void 0 ? Pt.length - 1 : jt(at, _r), pr(vt), $i(Wt);
|
|
16827
16835
|
}, Ro = () => {
|
|
16828
16836
|
var V, at;
|
|
@@ -16865,10 +16873,10 @@ class df {
|
|
|
16865
16873
|
}, $n = (V) => {
|
|
16866
16874
|
ee = V, Mr();
|
|
16867
16875
|
}, Io = (V) => {
|
|
16868
|
-
(!St(V) || V < 0) && (V = 0),
|
|
16876
|
+
(!St(V) || V < 0) && (V = 0), Ft = V;
|
|
16869
16877
|
}, Hi = (V) => {
|
|
16870
16878
|
(!St(V) || V < 0) && (V = 1 / 0), fe = V;
|
|
16871
|
-
},
|
|
16879
|
+
}, nn = (V) => {
|
|
16872
16880
|
we = V, z.classList.toggle("disabled", we), we ? z.setAttribute("aria-disabled", "true") : z.hasAttribute("aria-disabled") && z.removeAttribute("aria-disabled");
|
|
16873
16881
|
}, ni = (V) => {
|
|
16874
16882
|
hr = V;
|
|
@@ -16899,20 +16907,20 @@ class df {
|
|
|
16899
16907
|
}, Vi = (V) => {
|
|
16900
16908
|
Rt = V, Q.length > 1 && ya(Q, Rt, L), Mr(), Ur();
|
|
16901
16909
|
}, Or = (V) => {
|
|
16902
|
-
Le = jt(V,
|
|
16910
|
+
Le = jt(V, tn), Le < 0 && (Le = tn), Ur();
|
|
16903
16911
|
}, zi = (V) => {
|
|
16904
|
-
V == null || V.toString().trim().toLowerCase() === "false" ? (Dr = void 0, z.style.removeProperty(Oe), z.classList.remove(
|
|
16912
|
+
V == null || V.toString().trim().toLowerCase() === "false" ? (Dr = void 0, z.style.removeProperty(Oe), z.classList.remove(Qr)) : (Dr = V.toString(), z.style.setProperty(Oe, Dr), z.classList.add(Qr));
|
|
16905
16913
|
}, fr = (V, at) => {
|
|
16906
16914
|
let Ot = Q[V];
|
|
16907
16915
|
!Ot || (Ot.setAttr("aria-label", at), kr[V] = at);
|
|
16908
16916
|
}, ii = (V) => {
|
|
16909
|
-
if (
|
|
16917
|
+
if (ke = void 0, Q.length <= 1) {
|
|
16910
16918
|
He = !1, z.classList.remove(Vr);
|
|
16911
16919
|
return;
|
|
16912
16920
|
}
|
|
16913
16921
|
He = V, z.classList.toggle(Vr, He);
|
|
16914
16922
|
}, Mn = () => {
|
|
16915
|
-
|
|
16923
|
+
nn(xt(L.getAttribute(I))), hr = xt(L.getAttribute($)), De = xt(L.getAttribute(M));
|
|
16916
16924
|
let V = Ei(L, /^pointer([0-9]*)-disabled$/, (at) => xt(at));
|
|
16917
16925
|
for (let at of V) {
|
|
16918
16926
|
let Ot = at[0];
|
|
@@ -16938,11 +16946,11 @@ class df {
|
|
|
16938
16946
|
for (let ye of Q)
|
|
16939
16947
|
ye.setCallbacks(mn, va, Ti, Ai);
|
|
16940
16948
|
let Ot = (V = L.shadowRoot) == null ? void 0 : V.querySelector(".panel-fill");
|
|
16941
|
-
Ot && (
|
|
16949
|
+
Ot && (Bt = Ue(Ot)), Pr(L.getAttribute(S)), Bo(xt(L.getAttribute(A))), Vi(xt(L.getAttribute(R))), rn(L.getAttribute(w), L.getAttribute(k)), Nn(L.getAttribute(O)), Fi(L.getAttribute(g)), yn(rt.map((ye) => ye[1])), $n(xt(L.getAttribute(y))), Io(jt(L.getAttribute(j), 0)), Hi(jt(L.getAttribute(r), 1 / 0)), ii(xt(L.getAttribute(v))), Or(jt(L.getAttribute(C), tn)), Mn(), Rs(), Yt = Xn(L, z, Q), zi((at = L.getAttribute(wt)) != null ? at : xr), z.addEventListener("mousedown", ba), z.addEventListener("mouseup", zr), z.addEventListener("touchmove", Nr), z.addEventListener("touchstart", Nr), De || document.addEventListener("wheel", Pi, { passive: !1 }), ft = fa(L, Li, { setValues: yn, setMin: pr, setMax: $i, setStep: Nn, setPointersOverlap: $n, setPointersMinDistance: Io, setPointersMaxDistance: Hi, setDisabled: nn, setType: Pr, setRightToLeft: Bo, setBottomToTop: Vi, setRound: Or, setKeyboardDisabled: ni, setMousewheelDisabled: bn, setRangeDragging: ii, setData: Fi }, { getPercents: Gr, getValues: Ii, getPointerElements: jr, getMin: _a, getMax: xa, getStep: Co, getData: So, getType: Po, getRound: To, getTextMin: Bn, getTextMax: qr, isRightToLeft: dr, isBottomToTop: _e, isDisabled: ei, isKeyboardDisabled: ri, isMousewheelDisabled: Lo, isPointersOverlap: Di, isRangeDraggingEnabled: Ni, getPointersMinDistance: Bi, getPointersMaxDistance: Ao }), ft.init();
|
|
16942
16950
|
})(), { get pointers() {
|
|
16943
16951
|
return Q;
|
|
16944
16952
|
}, get styles() {
|
|
16945
|
-
return
|
|
16953
|
+
return Yt;
|
|
16946
16954
|
}, get pluginsManager() {
|
|
16947
16955
|
return ft;
|
|
16948
16956
|
}, get min() {
|
|
@@ -16966,7 +16974,7 @@ class df {
|
|
|
16966
16974
|
}, get disabled() {
|
|
16967
16975
|
return ei();
|
|
16968
16976
|
}, set disabled(V) {
|
|
16969
|
-
|
|
16977
|
+
nn(V);
|
|
16970
16978
|
}, get data() {
|
|
16971
16979
|
return So();
|
|
16972
16980
|
}, get type() {
|
|
@@ -17001,7 +17009,7 @@ class df {
|
|
|
17001
17009
|
return Ni();
|
|
17002
17010
|
}, set rangeDragging(V) {
|
|
17003
17011
|
ii(V);
|
|
17004
|
-
}, setMin: pr, setMax: $i, setValue: Mi, setStep: Nn, setData: Fi, getTextValue:
|
|
17012
|
+
}, setMin: pr, setMax: $i, setValue: Mi, setStep: Nn, setData: Fi, getTextValue: en, setAriaLabel: fr, getAriaLabel: ti, addPointer: Hn, removePointer: Do, destroy: () => {
|
|
17005
17013
|
z.removeEventListener("mousedown", ba), z.removeEventListener("mouseup", zr), z.removeEventListener("touchmove", Nr), z.removeEventListener("touchstart", Nr), document.removeEventListener("wheel", Pi);
|
|
17006
17014
|
for (let V of Q)
|
|
17007
17015
|
V.destroy();
|
|
@@ -17072,7 +17080,7 @@ class df {
|
|
|
17072
17080
|
break;
|
|
17073
17081
|
}
|
|
17074
17082
|
case C: {
|
|
17075
|
-
L.round = jt(rt,
|
|
17083
|
+
L.round = jt(rt, tn);
|
|
17076
17084
|
break;
|
|
17077
17085
|
}
|
|
17078
17086
|
case T: {
|
|
@@ -17087,25 +17095,25 @@ class df {
|
|
|
17087
17095
|
let mt = null;
|
|
17088
17096
|
if (/^value([0-9]*)$/.test(z) && (mt = "value"), /^pointer([0-9]*)-disabled$/.test(z) && (mt = "pointer-disabled"), /^aria-label([0-9]*)$/.test(z) && (mt = "aria-label"), /^pointer([0-9]*)-shape$/.test(z) && (mt = "pointer-shape"), !mt)
|
|
17089
17097
|
return;
|
|
17090
|
-
let
|
|
17098
|
+
let Bt = z.replace(/\D/g, "").trim(), Yt = Bt === "" || Bt === "0" || Bt === "1" ? 0 : jt(Bt, 0) - 1;
|
|
17091
17099
|
switch (mt) {
|
|
17092
17100
|
case "value": {
|
|
17093
|
-
L.setValue(rt,
|
|
17101
|
+
L.setValue(rt, Yt);
|
|
17094
17102
|
break;
|
|
17095
17103
|
}
|
|
17096
17104
|
case "pointer-disabled": {
|
|
17097
|
-
let ft = L == null ? void 0 : L.pointers[
|
|
17105
|
+
let ft = L == null ? void 0 : L.pointers[Yt];
|
|
17098
17106
|
if (!ft)
|
|
17099
17107
|
return;
|
|
17100
17108
|
ft.disabled = xt(rt);
|
|
17101
17109
|
break;
|
|
17102
17110
|
}
|
|
17103
17111
|
case "aria-label": {
|
|
17104
|
-
L.setAriaLabel(
|
|
17112
|
+
L.setAriaLabel(Yt, rt);
|
|
17105
17113
|
break;
|
|
17106
17114
|
}
|
|
17107
17115
|
case "pointer-shape": {
|
|
17108
|
-
L.styles && L.styles.setPointerShape(
|
|
17116
|
+
L.styles && L.styles.setPointerShape(Yt, rt);
|
|
17109
17117
|
break;
|
|
17110
17118
|
}
|
|
17111
17119
|
}
|
|
@@ -17156,7 +17164,7 @@ class df {
|
|
|
17156
17164
|
}
|
|
17157
17165
|
get round() {
|
|
17158
17166
|
var L, z;
|
|
17159
|
-
return (z = (L = this.slider) == null ? void 0 : L.round) != null ? z :
|
|
17167
|
+
return (z = (L = this.slider) == null ? void 0 : L.round) != null ? z : tn;
|
|
17160
17168
|
}
|
|
17161
17169
|
set type(L) {
|
|
17162
17170
|
!this.slider || (this.slider.type = L ?? Kt);
|
|
@@ -17267,12 +17275,12 @@ class df {
|
|
|
17267
17275
|
if (!Q)
|
|
17268
17276
|
return;
|
|
17269
17277
|
let mt = fn(this, rt);
|
|
17270
|
-
this.slider = Kn(this, Q, mt), Ir(this, this.slider), this._observer = new MutationObserver((
|
|
17271
|
-
|
|
17278
|
+
this.slider = Kn(this, Q, mt), Ir(this, this.slider), this._observer = new MutationObserver((Bt) => {
|
|
17279
|
+
Bt.forEach((Yt) => {
|
|
17272
17280
|
var ft;
|
|
17273
|
-
if (!this.slider ||
|
|
17281
|
+
if (!this.slider || Yt.type !== "attributes")
|
|
17274
17282
|
return;
|
|
17275
|
-
let vt =
|
|
17283
|
+
let vt = Yt.attributeName;
|
|
17276
17284
|
!vt || Ln(this.slider, vt, (ft = this.getAttribute(vt)) != null ? ft : "");
|
|
17277
17285
|
});
|
|
17278
17286
|
}), this._observer.observe(this, { attributes: !0 });
|
|
@@ -17406,10 +17414,10 @@ class Ru extends Sr {
|
|
|
17406
17414
|
* Get default value for rendering the form
|
|
17407
17415
|
*/
|
|
17408
17416
|
getValues() {
|
|
17409
|
-
return
|
|
17417
|
+
return je(this, wo);
|
|
17410
17418
|
}
|
|
17411
17419
|
firstUpdated() {
|
|
17412
|
-
if (!
|
|
17420
|
+
if (!je(this, xi)) {
|
|
17413
17421
|
yf(this.startVals || {});
|
|
17414
17422
|
const p = this.renderRoot.querySelector("form");
|
|
17415
17423
|
mi(this, xi, new Ga.JSONEditor(p, {
|
|
@@ -17434,15 +17442,15 @@ class Ru extends Sr {
|
|
|
17434
17442
|
wo = new WeakMap(), xi = new WeakMap(), ns = new WeakSet(), Iu = function() {
|
|
17435
17443
|
this.dispatchEvent(
|
|
17436
17444
|
new CustomEvent("change", {
|
|
17437
|
-
detail:
|
|
17445
|
+
detail: je(this, wo),
|
|
17438
17446
|
bubbles: !0,
|
|
17439
17447
|
composed: !0
|
|
17440
17448
|
})
|
|
17441
17449
|
), this.requestUpdate();
|
|
17442
17450
|
}, is = new WeakSet(), Bu = function() {
|
|
17443
17451
|
["ready", "change"].map((b) => {
|
|
17444
|
-
|
|
17445
|
-
mi(this, wo,
|
|
17452
|
+
je(this, xi).on(b, () => {
|
|
17453
|
+
mi(this, wo, je(this, xi).getValue()), Qe(this, ns, Iu).call(this);
|
|
17446
17454
|
});
|
|
17447
17455
|
});
|
|
17448
17456
|
}, Ge(Ru, "properties", {
|
|
@@ -17508,16 +17516,16 @@ class Du extends Sr {
|
|
|
17508
17516
|
};
|
|
17509
17517
|
return se`
|
|
17510
17518
|
<style>
|
|
17511
|
-
${
|
|
17512
|
-
${!this.unstyled &&
|
|
17519
|
+
${je(this, as)}
|
|
17520
|
+
${!this.unstyled && je(this, ss)}
|
|
17513
17521
|
</style>
|
|
17514
|
-
${
|
|
17522
|
+
${Kr(
|
|
17515
17523
|
this.layerConfig,
|
|
17516
17524
|
() => se`
|
|
17517
17525
|
<!-- Render a JSON form for layer configuration -->
|
|
17518
17526
|
<eox-jsonform
|
|
17519
17527
|
.schema=${this.layerConfig.schema}
|
|
17520
|
-
.startVals=${
|
|
17528
|
+
.startVals=${je(this, aa)}
|
|
17521
17529
|
.options=${p}
|
|
17522
17530
|
@change=${Qe(this, os, Nu)}
|
|
17523
17531
|
></eox-jsonform>
|
|
@@ -17528,8 +17536,8 @@ class Du extends Sr {
|
|
|
17528
17536
|
}
|
|
17529
17537
|
oa = new WeakMap(), aa = new WeakMap(), sa = new WeakMap(), os = new WeakSet(), Nu = function(p) {
|
|
17530
17538
|
mi(this, oa, p.detail), mi(this, sa, bf(
|
|
17531
|
-
|
|
17532
|
-
|
|
17539
|
+
je(this, oa),
|
|
17540
|
+
je(this, sa),
|
|
17533
17541
|
this
|
|
17534
17542
|
)), this.requestUpdate();
|
|
17535
17543
|
}, as = new WeakMap(), ss = new WeakMap(), // Define static properties for the component
|
|
@@ -17608,12 +17616,12 @@ class $u extends Sr {
|
|
|
17608
17616
|
const p = this.tabs, b = this.actions, _ = b.length + p.length > 1;
|
|
17609
17617
|
return se`
|
|
17610
17618
|
<style>
|
|
17611
|
-
${
|
|
17612
|
-
${!this.unstyled &&
|
|
17619
|
+
${je(this, ls)}
|
|
17620
|
+
${!this.unstyled && je(this, cs)}
|
|
17613
17621
|
</style>
|
|
17614
17622
|
<div class="tabbed">
|
|
17615
17623
|
<!-- Navigation for tabs and actions -->
|
|
17616
|
-
${
|
|
17624
|
+
${Kr(
|
|
17617
17625
|
_,
|
|
17618
17626
|
() => se`
|
|
17619
17627
|
<nav>
|
|
@@ -17623,7 +17631,7 @@ class $u extends Sr {
|
|
|
17623
17631
|
p,
|
|
17624
17632
|
(E, y) => se`
|
|
17625
17633
|
<label
|
|
17626
|
-
class=${
|
|
17634
|
+
class=${je(this, la).call(this, y)}
|
|
17627
17635
|
@click=${() => this.selectedTab = y}
|
|
17628
17636
|
>
|
|
17629
17637
|
<!-- Customizable icon for each tab -->
|
|
@@ -17652,7 +17660,7 @@ class $u extends Sr {
|
|
|
17652
17660
|
${qa(
|
|
17653
17661
|
p,
|
|
17654
17662
|
(E, y) => se`
|
|
17655
|
-
<div class="tab ${
|
|
17663
|
+
<div class="tab ${je(this, la).call(this, y)}">
|
|
17656
17664
|
<!-- Content slot for each tab -->
|
|
17657
17665
|
<slot name=${`${E}-content`}>${E}</slot>
|
|
17658
17666
|
</div>
|
|
@@ -17673,7 +17681,8 @@ Ge($u, "properties", {
|
|
|
17673
17681
|
});
|
|
17674
17682
|
customElements.define("eox-layercontrol-tabs", $u);
|
|
17675
17683
|
const vf = `
|
|
17676
|
-
button
|
|
17684
|
+
button,
|
|
17685
|
+
.button {
|
|
17677
17686
|
/* TODO: why does this only work here and not from :root? */
|
|
17678
17687
|
--primary-color: #004170;
|
|
17679
17688
|
--primary-color-hover: #004170CC;
|
|
@@ -17700,31 +17709,37 @@ button {
|
|
|
17700
17709
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
17701
17710
|
}
|
|
17702
17711
|
|
|
17703
|
-
button:hover:not([disabled]):not(.icon)
|
|
17712
|
+
button:hover:not([disabled]):not(.icon),
|
|
17713
|
+
.button:hover:not([disabled]):not(.icon) {
|
|
17704
17714
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
17705
17715
|
background: var(--primary-color-hover);
|
|
17706
17716
|
}
|
|
17707
17717
|
|
|
17708
|
-
button, button:active
|
|
17718
|
+
button, button:active,
|
|
17719
|
+
.button, .button:active {
|
|
17709
17720
|
background: var(--primary-color);
|
|
17710
17721
|
}
|
|
17711
17722
|
|
|
17712
|
-
button[disabled]
|
|
17723
|
+
button[disabled],
|
|
17724
|
+
.button[disabled] {
|
|
17713
17725
|
opacity: 0.5;
|
|
17714
17726
|
}
|
|
17715
17727
|
|
|
17716
|
-
button.outline
|
|
17728
|
+
button.outline,
|
|
17729
|
+
.button.outline {
|
|
17717
17730
|
background: transparent;
|
|
17718
17731
|
box-shadow: none;
|
|
17719
17732
|
color: var(--primary-color);
|
|
17720
17733
|
outline: 1px solid var(--primary-color);
|
|
17721
17734
|
}
|
|
17722
17735
|
|
|
17723
|
-
button.outline:hover
|
|
17736
|
+
button.outline:hover,
|
|
17737
|
+
.button.outline:hover {
|
|
17724
17738
|
background: transparent;
|
|
17725
17739
|
}
|
|
17726
17740
|
|
|
17727
|
-
button.icon
|
|
17741
|
+
button.icon,
|
|
17742
|
+
.button.icon {
|
|
17728
17743
|
background: transparent;
|
|
17729
17744
|
border: none;
|
|
17730
17745
|
box-shadow: none;
|
|
@@ -17735,28 +17750,33 @@ button.icon {
|
|
|
17735
17750
|
text-indent: -9999px;
|
|
17736
17751
|
}
|
|
17737
17752
|
|
|
17738
|
-
button.icon-text
|
|
17753
|
+
button.icon-text,
|
|
17754
|
+
.button.icon-text {
|
|
17739
17755
|
text-indent: 26px;
|
|
17740
17756
|
}
|
|
17741
17757
|
|
|
17742
|
-
button.icon:before, button.icon-text:before
|
|
17758
|
+
button.icon:before, button.icon-text:before,
|
|
17759
|
+
.button.icon:before, .button.icon-text:before {
|
|
17743
17760
|
position: absolute;
|
|
17744
17761
|
text-indent: 0;
|
|
17745
17762
|
line-height: initial;
|
|
17746
17763
|
}
|
|
17747
17764
|
|
|
17748
|
-
button.icon:before
|
|
17765
|
+
button.icon:before,
|
|
17766
|
+
.button.icon:before {
|
|
17749
17767
|
width: 24px;
|
|
17750
17768
|
height: 24px;
|
|
17751
17769
|
margin-right: 0;
|
|
17752
17770
|
}
|
|
17753
17771
|
|
|
17754
|
-
button.icon-text:before
|
|
17772
|
+
button.icon-text:before,
|
|
17773
|
+
.button.icon-text:before {
|
|
17755
17774
|
width: 18px;
|
|
17756
17775
|
height: 18px;
|
|
17757
17776
|
}
|
|
17758
17777
|
|
|
17759
|
-
button.small
|
|
17778
|
+
button.small,
|
|
17779
|
+
.button.small {
|
|
17760
17780
|
height: 28px;
|
|
17761
17781
|
padding: 12.4px;
|
|
17762
17782
|
font-size: .75rem;
|
|
@@ -17784,7 +17804,7 @@ class Mu extends Sr {
|
|
|
17784
17804
|
${Pu}
|
|
17785
17805
|
${rc}
|
|
17786
17806
|
${Tu}
|
|
17787
|
-
|
|
17807
|
+
.drag-handle {
|
|
17788
17808
|
cursor: n-resize;
|
|
17789
17809
|
}
|
|
17790
17810
|
.single-action-container,
|
|
@@ -17841,11 +17861,13 @@ class Mu extends Sr {
|
|
|
17841
17861
|
height: 16px;
|
|
17842
17862
|
width: 16px;
|
|
17843
17863
|
}
|
|
17844
|
-
eox-layercontrol-tabs button.icon
|
|
17864
|
+
eox-layercontrol-tabs button.icon,
|
|
17865
|
+
eox-layercontrol-tabs .button.icon {
|
|
17845
17866
|
display: flex;
|
|
17846
17867
|
justify-content: center;
|
|
17847
17868
|
}
|
|
17848
|
-
eox-layercontrol-tabs .icon::before
|
|
17869
|
+
eox-layercontrol-tabs button.icon::before,
|
|
17870
|
+
eox-layercontrol-tabs .button.icon::before {
|
|
17849
17871
|
width: 16px;
|
|
17850
17872
|
height: 16px;
|
|
17851
17873
|
}
|
|
@@ -17866,7 +17888,7 @@ class Mu extends Sr {
|
|
|
17866
17888
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 24 24'%3E%3Ctitle%3Edelete-outline%3C/title%3E%3Cpath d='M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z' /%3E%3C/svg%3E");
|
|
17867
17889
|
}
|
|
17868
17890
|
.single-action .sort-icon::before,
|
|
17869
|
-
[slot=sort-icon] button.icon::before {
|
|
17891
|
+
[slot=sort-icon] .button.icon::before {
|
|
17870
17892
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Edrag-horizontal-variant%3C/title%3E%3Cpath d='M21 11H3V9H21V11M21 13H3V15H21V13Z' /%3E%3C/svg%3E");
|
|
17871
17893
|
}
|
|
17872
17894
|
[slot=info-content],
|
|
@@ -17884,16 +17906,19 @@ class Mu extends Sr {
|
|
|
17884
17906
|
}
|
|
17885
17907
|
render() {
|
|
17886
17908
|
var r;
|
|
17887
|
-
const p = rf(this.tools, this.layer), b = nf(this.tools, this.layer), _ = this[`_${p == null ? void 0 : p[0]}Button`]
|
|
17909
|
+
const p = rf(this.tools, this.layer), b = nf(this.tools, this.layer), _ = this[`_${p == null ? void 0 : p[0]}Button`] ? (
|
|
17910
|
+
// @ts-ignore
|
|
17911
|
+
this[`_${p == null ? void 0 : p[0]}Button`]()
|
|
17912
|
+
) : xe, E = ((r = this.tools) == null ? void 0 : r.length) === 1 ? `${this.tools[0]}-icon` : "", y = p == null ? void 0 : p.length, j = b == null ? void 0 : b.length;
|
|
17888
17913
|
return se`
|
|
17889
17914
|
<style>
|
|
17890
|
-
${
|
|
17891
|
-
${!this.unstyled &&
|
|
17915
|
+
${je(this, us)}
|
|
17916
|
+
${!this.unstyled && je(this, hs)}
|
|
17892
17917
|
</style>
|
|
17893
|
-
${
|
|
17918
|
+
${Kr(
|
|
17894
17919
|
y + j > 0,
|
|
17895
17920
|
() => se`
|
|
17896
|
-
${
|
|
17921
|
+
${Kr(
|
|
17897
17922
|
y === 1 && j === 0,
|
|
17898
17923
|
() => se`
|
|
17899
17924
|
<div class="single-action-container">
|
|
@@ -17905,7 +17930,7 @@ class Mu extends Sr {
|
|
|
17905
17930
|
return se`
|
|
17906
17931
|
<details
|
|
17907
17932
|
class="tools"
|
|
17908
|
-
open=${this.layer.get("layerControlToolsExpand") ||
|
|
17933
|
+
open=${this.layer.get("layerControlToolsExpand") || xe}
|
|
17909
17934
|
>
|
|
17910
17935
|
<summary>
|
|
17911
17936
|
<button class="icon ${E}">Tools</button>
|
|
@@ -18085,15 +18110,15 @@ class Hu extends Sr {
|
|
|
18085
18110
|
const p = this.layer.getVisible(), b = p ? "visible" : "", _ = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", E = Qe(this, _o, Wa).call(this, "layerControlDisable") ? "disabled" : "", y = Qe(this, _o, Wa).call(this, "layerControlExclusive") ? "radio" : "checkbox", j = ((r = this.tools) == null ? void 0 : r.length) > 0;
|
|
18086
18111
|
return se`
|
|
18087
18112
|
<style>
|
|
18088
|
-
${
|
|
18089
|
-
${!this.unstyled &&
|
|
18113
|
+
${je(this, ps)}
|
|
18114
|
+
${!this.unstyled && je(this, fs)}
|
|
18090
18115
|
</style>
|
|
18091
|
-
${
|
|
18116
|
+
${Kr(
|
|
18092
18117
|
this.layer,
|
|
18093
18118
|
() => se`
|
|
18094
18119
|
<!-- Render the layer -->
|
|
18095
18120
|
<div class="layer ${b} ${_}">
|
|
18096
|
-
<label class="${E}">
|
|
18121
|
+
<label class="drag-handle ${E}">
|
|
18097
18122
|
<!-- Input element for layer visibility -->
|
|
18098
18123
|
<input
|
|
18099
18124
|
type=${y}
|
|
@@ -18103,7 +18128,7 @@ class Hu extends Sr {
|
|
|
18103
18128
|
|
|
18104
18129
|
<!-- Layer title -->
|
|
18105
18130
|
<span class="title">${Qe(this, _o, Wa).call(this, this.titleProperty)}</span>
|
|
18106
|
-
${
|
|
18131
|
+
${Kr(
|
|
18107
18132
|
j,
|
|
18108
18133
|
() => se`<span class="tools-placeholder"></span>`
|
|
18109
18134
|
)}
|
|
@@ -18183,10 +18208,10 @@ class Vu extends Sr {
|
|
|
18183
18208
|
const p = !!((b = this.group) != null && b.get("layerControlExpand"));
|
|
18184
18209
|
return se`
|
|
18185
18210
|
<style>
|
|
18186
|
-
${
|
|
18187
|
-
${!this.unstyled &&
|
|
18211
|
+
${je(this, ms)}
|
|
18212
|
+
${!this.unstyled && je(this, ys)}
|
|
18188
18213
|
</style>
|
|
18189
|
-
${
|
|
18214
|
+
${Kr(
|
|
18190
18215
|
this.group,
|
|
18191
18216
|
() => se`
|
|
18192
18217
|
<!-- Render the details element with the layer control -->
|
|
@@ -18242,7 +18267,12 @@ const _f = (f) => {
|
|
|
18242
18267
|
const { layers: s, idProperty: p, titleProperty: b, renderRoot: _ } = f;
|
|
18243
18268
|
if (s) {
|
|
18244
18269
|
const E = _.querySelector("ul");
|
|
18245
|
-
Kp(
|
|
18270
|
+
Kp(
|
|
18271
|
+
s,
|
|
18272
|
+
p,
|
|
18273
|
+
b,
|
|
18274
|
+
f
|
|
18275
|
+
), Xp(E, s, p, f);
|
|
18246
18276
|
}
|
|
18247
18277
|
};
|
|
18248
18278
|
var xf = "Expected a function", Hc = NaN, kf = "[object Symbol]", jf = /^\s+|\s+$/g, Of = /^[-+]0x[0-9a-f]+$/i, Ef = /^0b[01]+$/i, Cf = /^0o[0-7]+$/i, Sf = parseInt, Pf = typeof $a == "object" && $a && $a.Object === Object && $a, Tf = typeof self == "object" && self && self.Object === Object && self, Af = Pf || Tf || Function("return this")(), Lf = Object.prototype, Rf = Lf.toString, If = Math.max, Bf = Math.min, Dl = function() {
|
|
@@ -18394,11 +18424,11 @@ class zu extends Sr {
|
|
|
18394
18424
|
).reverse();
|
|
18395
18425
|
return se`
|
|
18396
18426
|
<style>
|
|
18397
|
-
${
|
|
18398
|
-
${!this.unstyled &&
|
|
18427
|
+
${je(this, bs)}
|
|
18428
|
+
${!this.unstyled && je(this, vs)}
|
|
18399
18429
|
</style>
|
|
18400
18430
|
<ul>
|
|
18401
|
-
${
|
|
18431
|
+
${Kr(
|
|
18402
18432
|
this.layers,
|
|
18403
18433
|
() => se`
|
|
18404
18434
|
${Cd(
|
|
@@ -18817,11 +18847,11 @@ class Gu extends Sr {
|
|
|
18817
18847
|
* Handles input fields, search, and addition of layers.
|
|
18818
18848
|
*/
|
|
18819
18849
|
render() {
|
|
18820
|
-
const p = this.open ? "open" : "close", b = this.open === "url", _ = this.open === "json", E = !wp(this.urlInput) || this.searchLoad ? !0 :
|
|
18850
|
+
const p = this.open ? "open" : "close", b = this.open === "url", _ = this.open === "json", E = !wp(this.urlInput) || this.searchLoad ? !0 : xe;
|
|
18821
18851
|
return se`
|
|
18822
18852
|
<style>
|
|
18823
|
-
${
|
|
18824
|
-
${!this.unstyled &&
|
|
18853
|
+
${je(this, js)}
|
|
18854
|
+
${!this.unstyled && je(this, Os)}
|
|
18825
18855
|
</style>
|
|
18826
18856
|
<div class="eox-add-layer-main">
|
|
18827
18857
|
<div class="eox-add-layer-col">
|
|
@@ -18893,7 +18923,7 @@ class Gu extends Sr {
|
|
|
18893
18923
|
`;
|
|
18894
18924
|
}
|
|
18895
18925
|
)}
|
|
18896
|
-
</ul>` :
|
|
18926
|
+
</ul>` : xe}
|
|
18897
18927
|
` : se`
|
|
18898
18928
|
<!-- Textarea for JSON input -->
|
|
18899
18929
|
<textarea
|
|
@@ -18906,7 +18936,7 @@ class Gu extends Sr {
|
|
|
18906
18936
|
<!-- Button to add JSON layer -->
|
|
18907
18937
|
<button
|
|
18908
18938
|
class="add-layer-icon json-add-layer"
|
|
18909
|
-
disabled=${_p(this.jsonInput) ?
|
|
18939
|
+
disabled=${_p(this.jsonInput) ? xe : !0}
|
|
18910
18940
|
@click=${Qe(this, xs, Ju)}
|
|
18911
18941
|
>
|
|
18912
18942
|
${this.unstyled ? "Add JSON" : ""}
|
|
@@ -18989,24 +19019,24 @@ class Xu extends Sr {
|
|
|
18989
19019
|
const p = (_ = this.map) == null ? void 0 : _.getLayers().getArray(), b = p && ((E = ec(p, "layerControlOptional", !0)) == null ? void 0 : E.length) > 0;
|
|
18990
19020
|
return se`
|
|
18991
19021
|
<style>
|
|
18992
|
-
${!this.unstyled &&
|
|
19022
|
+
${!this.unstyled && je(this, Cs)}
|
|
18993
19023
|
${this.styleOverride}
|
|
18994
19024
|
</style>
|
|
18995
19025
|
|
|
18996
19026
|
<!-- Conditional rendering of add layers component -->
|
|
18997
|
-
${
|
|
18998
|
-
this.addExternalLayers && ((y =
|
|
19027
|
+
${Kr(
|
|
19028
|
+
this.addExternalLayers && ((y = je(this, ko)) == null ? void 0 : y.addOrUpdateLayer),
|
|
18999
19029
|
() => se`
|
|
19000
19030
|
<eox-layercontrol-add-layers
|
|
19001
19031
|
.noShadow=${!0}
|
|
19002
|
-
.eoxMap=${
|
|
19032
|
+
.eoxMap=${je(this, ko)}
|
|
19003
19033
|
.unstyled=${this.unstyled}
|
|
19004
19034
|
></eox-layercontrol-add-layers>
|
|
19005
19035
|
`
|
|
19006
19036
|
)}
|
|
19007
19037
|
|
|
19008
19038
|
<!-- Conditional rendering of layer list component -->
|
|
19009
|
-
${
|
|
19039
|
+
${Kr(
|
|
19010
19040
|
this.map,
|
|
19011
19041
|
() => se`
|
|
19012
19042
|
<eox-layercontrol-layer-list
|
|
@@ -19025,7 +19055,7 @@ class Xu extends Sr {
|
|
|
19025
19055
|
)}
|
|
19026
19056
|
|
|
19027
19057
|
<!-- Conditional rendering of optional list component -->
|
|
19028
|
-
${
|
|
19058
|
+
${Kr(
|
|
19029
19059
|
b,
|
|
19030
19060
|
() => se`
|
|
19031
19061
|
<eox-layercontrol-optional-list
|