@eodash/eodash 5.0.0-alpha.2.14 → 5.0.0-alpha.2.15
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/core/client/utils/createLayers.js +1 -1
- package/dist/client/{DashboardLayout-ulCTLwXv.js → DashboardLayout-DQE4aB6e.js} +2 -2
- package/dist/client/{DynamicWebComponent-CZJjeckP.js → DynamicWebComponent-TrDsJuF8.js} +1 -1
- package/dist/client/{EodashDatePicker-BClSZg9g.js → EodashDatePicker-CkA9rHp6.js} +4 -4
- package/dist/client/{EodashItemFilter-9hK-3-7Y.js → EodashItemFilter-Bp0lcvbI.js} +1 -1
- package/dist/client/{EodashLayerControl-p5FdBiiJ.js → EodashLayerControl-lfLYqyeU.js} +390 -396
- package/dist/client/{EodashMap-jqF-NaSp.js → EodashMap--2y6XErO.js} +3 -3
- package/dist/client/{EodashMapBtns-F7rE6A-2.js → EodashMapBtns-BSf3iUAb.js} +2 -2
- package/dist/client/{ExportState-CHU5c0uO.js → ExportState-BTONkMIz.js} +4 -4
- package/dist/client/{Footer-DjkwaDHV.js → Footer-B7JDXdxT.js} +1 -1
- package/dist/client/{Header-V8pZw2HR.js → Header-Dlumetq0.js} +4 -4
- package/dist/client/{IframeWrapper-C8EZZnHk.js → IframeWrapper-DRjSqhFx.js} +1 -1
- package/dist/client/{MobileLayout-zOO_ZJVe.js → MobileLayout-9z2X_rmU.js} +6 -6
- package/dist/client/{PopUp-BNnXTHYD.js → PopUp-CXbMBYGh.js} +3 -3
- package/dist/client/{VImg-Cj6-XkWV.js → VImg-Dgk5tryv.js} +2 -2
- package/dist/client/{VMain-BXL9EwGV.js → VMain-Ubv9jyyL.js} +2 -2
- package/dist/client/{VOverlay-C9MeDzGb.js → VOverlay-CqZC2CbA.js} +3 -3
- package/dist/client/{WidgetsContainer-Cw4LFyGR.js → WidgetsContainer-CHK_3dlD.js} +1 -1
- package/dist/client/{asWebComponent-GN3G-Gdj.js → asWebComponent-Ddg71BJk.js} +6 -6
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-DF-jCteQ.js → forwardRefs-OX_5lLJW.js} +1 -1
- package/dist/client/{helpers-XtsCspQr.js → helpers-BCawTwFg.js} +1 -1
- package/dist/client/{index-BfF7LPVL.js → index-B_KfD-iF.js} +1 -1
- package/dist/client/{lerc-B4lXefGh-WUagmXWl.js → lerc-B4lXefGh-CplqAh1B.js} +1 -1
- package/dist/client/{ssrBoot-DNvPtEea.js → ssrBoot-BZTPJZkq.js} +1 -1
- package/dist/client/{transition-Dc2dpya2.js → transition-Dq8XIV_D.js} +1 -1
- package/package.json +1 -1
- package/widgets/EodashLayerControl.vue +2 -7
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
var Km = Object.defineProperty,
|
|
1
|
+
import { r as Jm, $ as Ru, a6 as Hu, a3 as Iu, a5 as Qm, aI as Pu } from "./asWebComponent-Ddg71BJk.js";
|
|
2
|
+
var Km = Object.defineProperty, Oc = (o) => {
|
|
3
3
|
throw TypeError(o);
|
|
4
|
-
}, Xm = (o, e, i) => e in o ? Km(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, Pi = (o, e, i) => Xm(o, typeof e != "symbol" ? e + "" : e, i), Zd = (o, e, i) => e.has(o) ||
|
|
4
|
+
}, Xm = (o, e, i) => e in o ? Km(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, Pi = (o, e, i) => Xm(o, typeof e != "symbol" ? e + "" : e, i), Zd = (o, e, i) => e.has(o) || Oc("Cannot " + i), Di = (o, e, i) => (Zd(o, e, "read from private field"), i ? i.call(o) : e.get(o)), bi = (o, e, i) => e.has(o) ? Oc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(o) : e.set(o, i), rl = (o, e, i, r) => (Zd(o, e, "write to private field"), e.set(o, i), i), lr = (o, e, i) => (Zd(o, e, "access private method"), i);
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2019 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
9
|
*/
|
|
10
|
-
const Ua = globalThis, Gd = Ua.ShadowRoot && (Ua.ShadyCSS === void 0 || Ua.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
10
|
+
const Ua = globalThis, Gd = Ua.ShadowRoot && (Ua.ShadyCSS === void 0 || Ua.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bc = Symbol(), zu = /* @__PURE__ */ new WeakMap();
|
|
11
11
|
let ef = class {
|
|
12
12
|
constructor(o, e, i) {
|
|
13
|
-
if (this._$cssResult$ = !0, i !==
|
|
13
|
+
if (this._$cssResult$ = !0, i !== Bc) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
14
14
|
this.cssText = o, this.t = e;
|
|
15
15
|
}
|
|
16
16
|
get styleSheet() {
|
|
@@ -18,7 +18,7 @@ let ef = class {
|
|
|
18
18
|
const e = this.t;
|
|
19
19
|
if (Gd && o === void 0) {
|
|
20
20
|
const i = e !== void 0 && e.length === 1;
|
|
21
|
-
i && (o =
|
|
21
|
+
i && (o = zu.get(e)), o === void 0 && ((this.o = o = new CSSStyleSheet()).replaceSync(this.cssText), i && zu.set(e, o));
|
|
22
22
|
}
|
|
23
23
|
return o;
|
|
24
24
|
}
|
|
@@ -26,13 +26,13 @@ let ef = class {
|
|
|
26
26
|
return this.cssText;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
const tf = (o) => new ef(typeof o == "string" ? o : o + "", void 0,
|
|
29
|
+
const tf = (o) => new ef(typeof o == "string" ? o : o + "", void 0, Bc), rf = (o, e) => {
|
|
30
30
|
if (Gd) o.adoptedStyleSheets = e.map((i) => i instanceof CSSStyleSheet ? i : i.styleSheet);
|
|
31
31
|
else for (const i of e) {
|
|
32
32
|
const r = document.createElement("style"), s = Ua.litNonce;
|
|
33
33
|
s !== void 0 && r.setAttribute("nonce", s), r.textContent = i.cssText, o.appendChild(r);
|
|
34
34
|
}
|
|
35
|
-
},
|
|
35
|
+
}, Vu = Gd ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((e) => {
|
|
36
36
|
let i = "";
|
|
37
37
|
for (const r of e.cssRules) i += r.cssText;
|
|
38
38
|
return tf(i);
|
|
@@ -42,7 +42,7 @@ const tf = (o) => new ef(typeof o == "string" ? o : o + "", void 0, Mc), rf = (o
|
|
|
42
42
|
* Copyright 2017 Google LLC
|
|
43
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
44
|
*/
|
|
45
|
-
const { is: nf, defineProperty: sf, getOwnPropertyDescriptor: of, getOwnPropertyNames: af, getOwnPropertySymbols: lf, getPrototypeOf: df } = Object, eo = globalThis,
|
|
45
|
+
const { is: nf, defineProperty: sf, getOwnPropertyDescriptor: of, getOwnPropertyNames: af, getOwnPropertySymbols: lf, getPrototypeOf: df } = Object, eo = globalThis, Uu = eo.trustedTypes, hf = Uu ? Uu.emptyScript : "", Wu = eo.reactiveElementPolyfillSupport, Wo = (o, e) => o, xd = { toAttribute(o, e) {
|
|
46
46
|
switch (e) {
|
|
47
47
|
case Boolean:
|
|
48
48
|
o = o ? hf : null;
|
|
@@ -70,7 +70,7 @@ const { is: nf, defineProperty: sf, getOwnPropertyDescriptor: of, getOwnProperty
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
return i;
|
|
73
|
-
} },
|
|
73
|
+
} }, Nc = (o, e) => !nf(o, e), qu = { attribute: !0, type: String, converter: xd, reflect: !1, hasChanged: Nc };
|
|
74
74
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), eo.litPropertyMetadata ?? (eo.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
75
75
|
class Zs extends HTMLElement {
|
|
76
76
|
static addInitializer(e) {
|
|
@@ -79,7 +79,7 @@ class Zs extends HTMLElement {
|
|
|
79
79
|
static get observedAttributes() {
|
|
80
80
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
81
81
|
}
|
|
82
|
-
static createProperty(e, i =
|
|
82
|
+
static createProperty(e, i = qu) {
|
|
83
83
|
if (i.state && (i.attribute = !1), this._$Ei(), this.elementProperties.set(e, i), !i.noAccessor) {
|
|
84
84
|
const r = Symbol(), s = this.getPropertyDescriptor(e, r, i);
|
|
85
85
|
s !== void 0 && sf(this.prototype, e, s);
|
|
@@ -99,7 +99,7 @@ class Zs extends HTMLElement {
|
|
|
99
99
|
}, configurable: !0, enumerable: !0 };
|
|
100
100
|
}
|
|
101
101
|
static getPropertyOptions(e) {
|
|
102
|
-
return this.elementProperties.get(e) ??
|
|
102
|
+
return this.elementProperties.get(e) ?? qu;
|
|
103
103
|
}
|
|
104
104
|
static _$Ei() {
|
|
105
105
|
if (this.hasOwnProperty(Wo("elementProperties"))) return;
|
|
@@ -128,8 +128,8 @@ class Zs extends HTMLElement {
|
|
|
128
128
|
const i = [];
|
|
129
129
|
if (Array.isArray(e)) {
|
|
130
130
|
const r = new Set(e.flat(1 / 0).reverse());
|
|
131
|
-
for (const s of r) i.unshift(
|
|
132
|
-
} else e !== void 0 && i.push(
|
|
131
|
+
for (const s of r) i.unshift(Vu(s));
|
|
132
|
+
} else e !== void 0 && i.push(Vu(e));
|
|
133
133
|
return i;
|
|
134
134
|
}
|
|
135
135
|
static _$Eu(e, i) {
|
|
@@ -197,7 +197,7 @@ class Zs extends HTMLElement {
|
|
|
197
197
|
}
|
|
198
198
|
requestUpdate(e, i, r) {
|
|
199
199
|
if (e !== void 0) {
|
|
200
|
-
if (r ?? (r = this.constructor.getPropertyOptions(e)), !(r.hasChanged ??
|
|
200
|
+
if (r ?? (r = this.constructor.getPropertyOptions(e)), !(r.hasChanged ?? Nc)(this[e], i)) return;
|
|
201
201
|
this.P(e, i, r);
|
|
202
202
|
}
|
|
203
203
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -270,37 +270,37 @@ class Zs extends HTMLElement {
|
|
|
270
270
|
firstUpdated(e) {
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
Zs.elementStyles = [], Zs.shadowRootOptions = { mode: "open" }, Zs[Wo("elementProperties")] = /* @__PURE__ */ new Map(), Zs[Wo("finalized")] = /* @__PURE__ */ new Map(),
|
|
273
|
+
Zs.elementStyles = [], Zs.shadowRootOptions = { mode: "open" }, Zs[Wo("elementProperties")] = /* @__PURE__ */ new Map(), Zs[Wo("finalized")] = /* @__PURE__ */ new Map(), Wu?.({ ReactiveElement: Zs }), (eo.reactiveElementVersions ?? (eo.reactiveElementVersions = [])).push("2.0.4");
|
|
274
274
|
/**
|
|
275
275
|
* @license
|
|
276
276
|
* Copyright 2017 Google LLC
|
|
277
277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
278
278
|
*/
|
|
279
|
-
const nl = globalThis, sl = nl.trustedTypes,
|
|
280
|
-
\f\r]`, No = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
281
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
282
|
-
function
|
|
279
|
+
const nl = globalThis, sl = nl.trustedTypes, Zu = sl ? sl.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Yd = "$lit$", kn = `lit$${Math.random().toFixed(9).slice(2)}$`, Jd = "?" + kn, uf = `<${Jd}>`, _s = document, Xo = () => _s.createComment(""), ea = (o) => o === null || typeof o != "object" && typeof o != "function", Rc = Array.isArray, Hc = (o) => Rc(o) || typeof o?.[Symbol.iterator] == "function", nd = `[
|
|
280
|
+
\f\r]`, No = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gu = /-->/g, Yu = />/g, cs = RegExp(`>|${nd}(?:([^\\s"'>=/]+)(${nd}*=${nd}*(?:[^
|
|
281
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ju = /'/g, Qu = /"/g, Ic = /^(?:script|style|textarea|title)$/i, cf = (o) => (e, ...i) => ({ _$litType$: o, strings: e, values: i }), Ht = cf(1), Ur = Symbol.for("lit-noChange"), si = Symbol.for("lit-nothing"), Ku = /* @__PURE__ */ new WeakMap(), ys = _s.createTreeWalker(_s, 129);
|
|
282
|
+
function Pc(o, e) {
|
|
283
283
|
if (!Array.isArray(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
284
|
-
return
|
|
284
|
+
return Zu !== void 0 ? Zu.createHTML(e) : e;
|
|
285
285
|
}
|
|
286
|
-
const
|
|
286
|
+
const zc = (o, e) => {
|
|
287
287
|
const i = o.length - 1, r = [];
|
|
288
288
|
let s, d = e === 2 ? "<svg>" : "", u = No;
|
|
289
289
|
for (let p = 0; p < i; p++) {
|
|
290
290
|
const m = o[p];
|
|
291
291
|
let b, w, v = -1, j = 0;
|
|
292
|
-
for (; j < m.length && (u.lastIndex = j, w = u.exec(m), w !== null); ) j = u.lastIndex, u === No ? w[1] === "!--" ? u =
|
|
292
|
+
for (; j < m.length && (u.lastIndex = j, w = u.exec(m), w !== null); ) j = u.lastIndex, u === No ? w[1] === "!--" ? u = Gu : w[1] !== void 0 ? u = Yu : w[2] !== void 0 ? (Ic.test(w[2]) && (s = RegExp("</" + w[2], "g")), u = cs) : w[3] !== void 0 && (u = cs) : u === cs ? w[0] === ">" ? (u = s ?? No, v = -1) : w[1] === void 0 ? v = -2 : (v = u.lastIndex - w[2].length, b = w[1], u = w[3] === void 0 ? cs : w[3] === '"' ? Qu : Ju) : u === Qu || u === Ju ? u = cs : u === Gu || u === Yu ? u = No : (u = cs, s = void 0);
|
|
293
293
|
const D = u === cs && o[p + 1].startsWith("/>") ? " " : "";
|
|
294
294
|
d += u === No ? m + uf : v >= 0 ? (r.push(b), m.slice(0, v) + Yd + m.slice(v) + kn + D) : m + kn + (v === -2 ? p : D);
|
|
295
295
|
}
|
|
296
|
-
return [
|
|
296
|
+
return [Pc(o, d + (o[i] || "<?>") + (e === 2 ? "</svg>" : "")), r];
|
|
297
297
|
};
|
|
298
298
|
class ta {
|
|
299
299
|
constructor({ strings: e, _$litType$: i }, r) {
|
|
300
300
|
let s;
|
|
301
301
|
this.parts = [];
|
|
302
302
|
let d = 0, u = 0;
|
|
303
|
-
const p = e.length - 1, m = this.parts, [b, w] =
|
|
303
|
+
const p = e.length - 1, m = this.parts, [b, w] = zc(e, i);
|
|
304
304
|
if (this.el = ta.createElement(b, r), ys.currentNode = this.el.content, i === 2) {
|
|
305
305
|
const v = this.el.content.firstChild;
|
|
306
306
|
v.replaceWith(...v.childNodes);
|
|
@@ -309,9 +309,9 @@ class ta {
|
|
|
309
309
|
if (s.nodeType === 1) {
|
|
310
310
|
if (s.hasAttributes()) for (const v of s.getAttributeNames()) if (v.endsWith(Yd)) {
|
|
311
311
|
const j = w[u++], D = s.getAttribute(v).split(kn), B = /([.?@])?(.*)/.exec(j);
|
|
312
|
-
m.push({ type: 1, index: d, name: B[2], strings: D, ctor: B[1] === "." ?
|
|
312
|
+
m.push({ type: 1, index: d, name: B[2], strings: D, ctor: B[1] === "." ? Uc : B[1] === "?" ? Wc : B[1] === "@" ? qc : aa }), s.removeAttribute(v);
|
|
313
313
|
} else v.startsWith(kn) && (m.push({ type: 6, index: d }), s.removeAttribute(v));
|
|
314
|
-
if (
|
|
314
|
+
if (Ic.test(s.tagName)) {
|
|
315
315
|
const v = s.textContent.split(kn), j = v.length - 1;
|
|
316
316
|
if (j > 0) {
|
|
317
317
|
s.textContent = sl ? sl.emptyScript : "";
|
|
@@ -339,7 +339,7 @@ function Cs(o, e, i = o, r) {
|
|
|
339
339
|
const p = ea(e) ? void 0 : e._$litDirective$;
|
|
340
340
|
return u?.constructor !== p && ((d = u?._$AO) == null || d.call(u, !1), p === void 0 ? u = void 0 : (u = new p(o), u._$AT(o, i, r)), r !== void 0 ? (i._$Co ?? (i._$Co = []))[r] = u : i._$Cl = u), u !== void 0 && (e = Cs(o, u._$AS(o, e.values), u, r)), e;
|
|
341
341
|
}
|
|
342
|
-
let
|
|
342
|
+
let Vc = class {
|
|
343
343
|
constructor(e, i) {
|
|
344
344
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = i;
|
|
345
345
|
}
|
|
@@ -356,7 +356,7 @@ let Hc = class {
|
|
|
356
356
|
for (; m !== void 0; ) {
|
|
357
357
|
if (u === m.index) {
|
|
358
358
|
let b;
|
|
359
|
-
m.type === 2 ? b = new so(d, d.nextSibling, this, e) : m.type === 1 ? b = new m.ctor(d, m.name, m.strings, this, e) : m.type === 6 && (b = new
|
|
359
|
+
m.type === 2 ? b = new so(d, d.nextSibling, this, e) : m.type === 1 ? b = new m.ctor(d, m.name, m.strings, this, e) : m.type === 6 && (b = new Zc(d, this, e)), this._$AV.push(b), m = r[++p];
|
|
360
360
|
}
|
|
361
361
|
u !== m?.index && (d = ys.nextNode(), u++);
|
|
362
362
|
}
|
|
@@ -387,7 +387,7 @@ class so {
|
|
|
387
387
|
return this._$AB;
|
|
388
388
|
}
|
|
389
389
|
_$AI(e, i = this) {
|
|
390
|
-
e = Cs(this, e, i), ea(e) ? e === si || e == null || e === "" ? (this._$AH !== si && this._$AR(), this._$AH = si) : e !== this._$AH && e !== Ur && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
|
390
|
+
e = Cs(this, e, i), ea(e) ? e === si || e == null || e === "" ? (this._$AH !== si && this._$AR(), this._$AH = si) : e !== this._$AH && e !== Ur && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Hc(e) ? this.k(e) : this._(e);
|
|
391
391
|
}
|
|
392
392
|
S(e) {
|
|
393
393
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -400,19 +400,19 @@ class so {
|
|
|
400
400
|
}
|
|
401
401
|
$(e) {
|
|
402
402
|
var i;
|
|
403
|
-
const { values: r, _$litType$: s } = e, d = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ta.createElement(
|
|
403
|
+
const { values: r, _$litType$: s } = e, d = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ta.createElement(Pc(s.h, s.h[0]), this.options)), s);
|
|
404
404
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === d) this._$AH.p(r);
|
|
405
405
|
else {
|
|
406
|
-
const u = new
|
|
406
|
+
const u = new Vc(d, this), p = u.u(this.options);
|
|
407
407
|
u.p(r), this.T(p), this._$AH = u;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
_$AC(e) {
|
|
411
|
-
let i =
|
|
412
|
-
return i === void 0 &&
|
|
411
|
+
let i = Ku.get(e.strings);
|
|
412
|
+
return i === void 0 && Ku.set(e.strings, i = new ta(e)), i;
|
|
413
413
|
}
|
|
414
414
|
k(e) {
|
|
415
|
-
|
|
415
|
+
Rc(this._$AH) || (this._$AH = [], this._$AR());
|
|
416
416
|
const i = this._$AH;
|
|
417
417
|
let r, s = 0;
|
|
418
418
|
for (const d of e) s === i.length ? i.push(r = new so(this.S(Xo()), this.S(Xo()), this, this.options)) : r = i[s], r._$AI(d), s++;
|
|
@@ -455,7 +455,7 @@ class aa {
|
|
|
455
455
|
e === si ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
class
|
|
458
|
+
class Uc extends aa {
|
|
459
459
|
constructor() {
|
|
460
460
|
super(...arguments), this.type = 3;
|
|
461
461
|
}
|
|
@@ -463,7 +463,7 @@ class Ic extends aa {
|
|
|
463
463
|
this.element[this.name] = e === si ? void 0 : e;
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
class
|
|
466
|
+
class Wc extends aa {
|
|
467
467
|
constructor() {
|
|
468
468
|
super(...arguments), this.type = 4;
|
|
469
469
|
}
|
|
@@ -471,7 +471,7 @@ class Pc extends aa {
|
|
|
471
471
|
this.element.toggleAttribute(this.name, !!e && e !== si);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
class
|
|
474
|
+
class qc extends aa {
|
|
475
475
|
constructor(e, i, r, s, d) {
|
|
476
476
|
super(e, i, r, s, d), this.type = 5;
|
|
477
477
|
}
|
|
@@ -485,7 +485,7 @@ class zc extends aa {
|
|
|
485
485
|
typeof this._$AH == "function" ? this._$AH.call(((i = this.options) == null ? void 0 : i.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
class
|
|
488
|
+
class Zc {
|
|
489
489
|
constructor(e, i, r) {
|
|
490
490
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = r;
|
|
491
491
|
}
|
|
@@ -496,8 +496,8 @@ class Vc {
|
|
|
496
496
|
Cs(this, e);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
const pf = { P: Yd, A: kn, C: Jd, M: 1, L:
|
|
500
|
-
|
|
499
|
+
const pf = { P: Yd, A: kn, C: Jd, M: 1, L: zc, R: Vc, D: Hc, V: Cs, I: so, H: aa, N: Wc, U: qc, B: Uc, F: Zc }, Xu = nl.litHtmlPolyfillSupport;
|
|
500
|
+
Xu?.(ta, so), (nl.litHtmlVersions ?? (nl.litHtmlVersions = [])).push("3.1.4");
|
|
501
501
|
const mf = (o, e, i) => {
|
|
502
502
|
const r = i?.renderBefore ?? e;
|
|
503
503
|
let s = r._$litPart$;
|
|
@@ -537,10 +537,10 @@ let $r = class extends Zs {
|
|
|
537
537
|
return Ur;
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
|
-
var
|
|
541
|
-
$r._$litElement$ = !0, $r.finalized = !0, (
|
|
542
|
-
const
|
|
543
|
-
|
|
540
|
+
var ec;
|
|
541
|
+
$r._$litElement$ = !0, $r.finalized = !0, (ec = globalThis.litElementHydrateSupport) == null || ec.call(globalThis, { LitElement: $r });
|
|
542
|
+
const tc = globalThis.litElementPolyfillSupport;
|
|
543
|
+
tc?.({ LitElement: $r });
|
|
544
544
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
|
|
545
545
|
/**
|
|
546
546
|
* @license
|
|
@@ -577,11 +577,11 @@ class Kd {
|
|
|
577
577
|
* Copyright 2020 Google LLC
|
|
578
578
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
579
579
|
*/
|
|
580
|
-
const { I: ff } = pf, gf = (o) => o.strings === void 0,
|
|
580
|
+
const { I: ff } = pf, gf = (o) => o.strings === void 0, ic = () => document.createComment(""), Ro = (o, e, i) => {
|
|
581
581
|
var r;
|
|
582
582
|
const s = o._$AA.parentNode, d = e === void 0 ? o._$AB : e._$AA;
|
|
583
583
|
if (i === void 0) {
|
|
584
|
-
const u = s.insertBefore(
|
|
584
|
+
const u = s.insertBefore(ic(), d), p = s.insertBefore(ic(), d);
|
|
585
585
|
i = new ff(u, p, o, o.options);
|
|
586
586
|
} else {
|
|
587
587
|
const u = i._$AB.nextSibling, p = i._$AM, m = p !== o;
|
|
@@ -598,7 +598,7 @@ const { I: ff } = pf, gf = (o) => o.strings === void 0, Ku = () => document.crea
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
return i;
|
|
601
|
-
}, ps = (o, e, i = o) => (o._$AI(e, i), o), bf = {},
|
|
601
|
+
}, ps = (o, e, i = o) => (o._$AI(e, i), o), bf = {}, Gc = (o, e = bf) => o._$AH = e, vf = (o) => o._$AH, sd = (o) => {
|
|
602
602
|
var e;
|
|
603
603
|
(e = o._$AP) == null || e.call(o, !1, !0);
|
|
604
604
|
let i = o._$AA;
|
|
@@ -613,7 +613,7 @@ const { I: ff } = pf, gf = (o) => o.strings === void 0, Ku = () => document.crea
|
|
|
613
613
|
* Copyright 2017 Google LLC
|
|
614
614
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
615
615
|
*/
|
|
616
|
-
const
|
|
616
|
+
const rc = (o, e, i) => {
|
|
617
617
|
const r = /* @__PURE__ */ new Map();
|
|
618
618
|
for (let s = e; s <= i; s++) r.set(o[s], s);
|
|
619
619
|
return r;
|
|
@@ -643,7 +643,7 @@ const Xu = (o, e, i) => {
|
|
|
643
643
|
else if (p[j] === u[B]) m[B] = ps(s[j], d[B]), j--, B--;
|
|
644
644
|
else if (p[v] === u[B]) m[B] = ps(s[v], d[B]), Ro(o, m[B + 1], s[v]), v++, B--;
|
|
645
645
|
else if (p[j] === u[D]) m[D] = ps(s[j], d[D]), Ro(o, s[v], s[j]), j--, D++;
|
|
646
|
-
else if (b === void 0 && (b =
|
|
646
|
+
else if (b === void 0 && (b = rc(u, D, B), w = rc(p, v, j)), b.has(p[v])) if (b.has(p[j])) {
|
|
647
647
|
const U = w.get(u[D]), q = U !== void 0 ? s[U] : null;
|
|
648
648
|
if (q === null) {
|
|
649
649
|
const me = Ro(o, s[v]);
|
|
@@ -660,7 +660,7 @@ const Xu = (o, e, i) => {
|
|
|
660
660
|
const U = s[v++];
|
|
661
661
|
U !== null && sd(U);
|
|
662
662
|
}
|
|
663
|
-
return this.ut = u,
|
|
663
|
+
return this.ut = u, Gc(o, m), Ur;
|
|
664
664
|
}
|
|
665
665
|
});
|
|
666
666
|
/**
|
|
@@ -669,7 +669,7 @@ const Xu = (o, e, i) => {
|
|
|
669
669
|
* @license BSD-2-Clause
|
|
670
670
|
* @preserve
|
|
671
671
|
*/
|
|
672
|
-
var Rt = (o) => o !== void 0,
|
|
672
|
+
var Rt = (o) => o !== void 0, Yc = (o, e, i) => e in o ? o[e] : o[e] = i;
|
|
673
673
|
const ia = {
|
|
674
674
|
ELEMENT: 1,
|
|
675
675
|
ATTRIBUTE: 2,
|
|
@@ -713,15 +713,15 @@ class xf {
|
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
function vl(o, e) {
|
|
716
|
-
return
|
|
716
|
+
return Jc(o, e, []).join("");
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Jc(o, e, i) {
|
|
719
719
|
if (o.nodeType === ia.CDATA_SECTION || o.nodeType === ia.TEXT)
|
|
720
720
|
e ? i.push(String(o.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : i.push(o.nodeValue);
|
|
721
721
|
else {
|
|
722
722
|
var r;
|
|
723
723
|
for (r = o.firstChild; r; r = r.nextSibling)
|
|
724
|
-
|
|
724
|
+
Jc(r, e, i);
|
|
725
725
|
}
|
|
726
726
|
return i;
|
|
727
727
|
}
|
|
@@ -758,7 +758,7 @@ function kf(o, e, i) {
|
|
|
758
758
|
r[o[s]] = e;
|
|
759
759
|
return r;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Qc(o, e) {
|
|
762
762
|
return (
|
|
763
763
|
/**
|
|
764
764
|
* @param {Node} node Node.
|
|
@@ -818,7 +818,7 @@ function _r(o, e, i) {
|
|
|
818
818
|
var u = (
|
|
819
819
|
/** @type {Object} */
|
|
820
820
|
s[s.length - 1]
|
|
821
|
-
), p = Rt(e) ? e : r.localName, m =
|
|
821
|
+
), p = Rt(e) ? e : r.localName, m = Yc(u, p, []);
|
|
822
822
|
m.push(d);
|
|
823
823
|
}
|
|
824
824
|
}
|
|
@@ -859,7 +859,7 @@ function Xd(o) {
|
|
|
859
859
|
function Lf(o, e) {
|
|
860
860
|
return zi({}, tg, o, e);
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function Kc(o) {
|
|
863
863
|
return [
|
|
864
864
|
En(o.getAttribute("minx")),
|
|
865
865
|
En(o.getAttribute("miny")),
|
|
@@ -868,7 +868,7 @@ function Gc(o) {
|
|
|
868
868
|
];
|
|
869
869
|
}
|
|
870
870
|
function Sf(o, e) {
|
|
871
|
-
const i =
|
|
871
|
+
const i = Kc(o), r = [
|
|
872
872
|
En(o.getAttribute("resx")),
|
|
873
873
|
En(o.getAttribute("resy"))
|
|
874
874
|
];
|
|
@@ -879,7 +879,7 @@ function Sf(o, e) {
|
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
881
|
function Tf(o, e) {
|
|
882
|
-
const i =
|
|
882
|
+
const i = Kc(o);
|
|
883
883
|
if (!(!Rt(i[0]) || !Rt(i[1]) || !Rt(i[2]) || !Rt(i[3])))
|
|
884
884
|
return i;
|
|
885
885
|
}
|
|
@@ -960,7 +960,7 @@ function Hf(o, e) {
|
|
|
960
960
|
{
|
|
961
961
|
queryable: Rt(i) ? i : !1
|
|
962
962
|
},
|
|
963
|
-
|
|
963
|
+
tp,
|
|
964
964
|
o,
|
|
965
965
|
e
|
|
966
966
|
);
|
|
@@ -974,7 +974,7 @@ function If(o, e) {
|
|
|
974
974
|
/** @type {Object.<string,*>} */
|
|
975
975
|
zi(
|
|
976
976
|
{},
|
|
977
|
-
|
|
977
|
+
tp,
|
|
978
978
|
o,
|
|
979
979
|
e
|
|
980
980
|
)
|
|
@@ -996,7 +996,7 @@ function If(o, e) {
|
|
|
996
996
|
for (let j = 0, D = w.length; j < D; j++) {
|
|
997
997
|
const B = w[j], U = i[B];
|
|
998
998
|
if (Rt(U)) {
|
|
999
|
-
let q =
|
|
999
|
+
let q = Yc(r, B, []);
|
|
1000
1000
|
q = q.concat(U), r[B] = q;
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
@@ -1049,7 +1049,7 @@ function Uf(o, e) {
|
|
|
1049
1049
|
function ad(o, e) {
|
|
1050
1050
|
return zi({}, ng, o, e);
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Xc(o, e) {
|
|
1053
1053
|
var i = An(o, e);
|
|
1054
1054
|
if (Rt(i)) {
|
|
1055
1055
|
const r = [
|
|
@@ -1072,7 +1072,7 @@ function qf(o, e) {
|
|
|
1072
1072
|
function Zf(o, e) {
|
|
1073
1073
|
return zi({}, ag, o, e);
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function ep(o, e) {
|
|
1076
1076
|
return zi(
|
|
1077
1077
|
[],
|
|
1078
1078
|
dg,
|
|
@@ -1102,7 +1102,7 @@ const er = [
|
|
|
1102
1102
|
Name: rt(Kt),
|
|
1103
1103
|
Title: rt(Kt),
|
|
1104
1104
|
Abstract: rt(Kt),
|
|
1105
|
-
KeywordList: rt(
|
|
1105
|
+
KeywordList: rt(ep),
|
|
1106
1106
|
OnlineResource: rt(Xd),
|
|
1107
1107
|
ContactInformation: rt(Of),
|
|
1108
1108
|
Fees: rt(Kt),
|
|
@@ -1140,15 +1140,15 @@ const er = [
|
|
|
1140
1140
|
), eg = Xi(
|
|
1141
1141
|
er,
|
|
1142
1142
|
{
|
|
1143
|
-
Format:
|
|
1143
|
+
Format: Qc(Kt)
|
|
1144
1144
|
}
|
|
1145
|
-
),
|
|
1145
|
+
), tp = Xi(
|
|
1146
1146
|
er,
|
|
1147
1147
|
{
|
|
1148
1148
|
Name: rt(Kt),
|
|
1149
1149
|
Title: rt(Kt),
|
|
1150
1150
|
Abstract: rt(Kt),
|
|
1151
|
-
KeywordList: rt(
|
|
1151
|
+
KeywordList: rt(ep),
|
|
1152
1152
|
CRS: _r(Kt),
|
|
1153
1153
|
SRS: _r(Kt),
|
|
1154
1154
|
EX_GeographicBoundingBox: rt(Mf),
|
|
@@ -1172,7 +1172,7 @@ const er = [
|
|
|
1172
1172
|
{
|
|
1173
1173
|
Title: rt(Kt),
|
|
1174
1174
|
OnlineResource: rt(Xd),
|
|
1175
|
-
LogoURL: rt(
|
|
1175
|
+
LogoURL: rt(Xc)
|
|
1176
1176
|
}
|
|
1177
1177
|
), ig = Xi(er, {
|
|
1178
1178
|
westBoundLongitude: rt(Qs),
|
|
@@ -1223,7 +1223,7 @@ const er = [
|
|
|
1223
1223
|
Name: rt(Kt),
|
|
1224
1224
|
Title: rt(Kt),
|
|
1225
1225
|
Abstract: rt(Kt),
|
|
1226
|
-
LegendURL: _r(
|
|
1226
|
+
LegendURL: _r(Xc),
|
|
1227
1227
|
StyleSheetURL: rt(An),
|
|
1228
1228
|
StyleURL: rt(An)
|
|
1229
1229
|
}
|
|
@@ -1236,7 +1236,7 @@ const er = [
|
|
|
1236
1236
|
), dg = Xi(
|
|
1237
1237
|
er,
|
|
1238
1238
|
{
|
|
1239
|
-
Keyword:
|
|
1239
|
+
Keyword: Qc(Kt)
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
1242
1242
|
class hg {
|
|
@@ -1309,7 +1309,7 @@ function cg(o) {
|
|
|
1309
1309
|
const e = /^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(o), i = eh(o);
|
|
1310
1310
|
return !!(o && e && i);
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function ip(o) {
|
|
1313
1313
|
return o.replace(
|
|
1314
1314
|
/(['"])?([a-zA-Z0-9_]+)(['"])?:/g,
|
|
1315
1315
|
'"$2": '
|
|
@@ -1317,7 +1317,7 @@ function Kc(o) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
function pg(o) {
|
|
1319
1319
|
try {
|
|
1320
|
-
return JSON.parse(
|
|
1320
|
+
return JSON.parse(ip(o)), !!o;
|
|
1321
1321
|
} catch {
|
|
1322
1322
|
return !1;
|
|
1323
1323
|
}
|
|
@@ -1338,7 +1338,7 @@ function mg(o, e) {
|
|
|
1338
1338
|
* @author owenm <owen23355@gmail.com>
|
|
1339
1339
|
* @license MIT
|
|
1340
1340
|
*/
|
|
1341
|
-
function
|
|
1341
|
+
function nc(o, e) {
|
|
1342
1342
|
var i = Object.keys(o);
|
|
1343
1343
|
if (Object.getOwnPropertySymbols) {
|
|
1344
1344
|
var r = Object.getOwnPropertySymbols(o);
|
|
@@ -1351,9 +1351,9 @@ function ec(o, e) {
|
|
|
1351
1351
|
function mn(o) {
|
|
1352
1352
|
for (var e = 1; e < arguments.length; e++) {
|
|
1353
1353
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
1354
|
-
e % 2 ?
|
|
1354
|
+
e % 2 ? nc(Object(i), !0).forEach(function(r) {
|
|
1355
1355
|
fg(o, r, i[r]);
|
|
1356
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(i)) :
|
|
1356
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(i)) : nc(Object(i)).forEach(function(r) {
|
|
1357
1357
|
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(i, r));
|
|
1358
1358
|
});
|
|
1359
1359
|
}
|
|
@@ -1407,15 +1407,15 @@ function Dn(o) {
|
|
|
1407
1407
|
if (typeof window < "u" && window.navigator)
|
|
1408
1408
|
return !!/* @__PURE__ */ navigator.userAgent.match(o);
|
|
1409
1409
|
}
|
|
1410
|
-
var Sn = Dn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), la = Dn(/Edge/i),
|
|
1410
|
+
var Sn = Dn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), la = Dn(/Edge/i), sc = Dn(/firefox/i), qo = Dn(/safari/i) && !Dn(/chrome/i) && !Dn(/android/i), rp = Dn(/iP(ad|od|hone)/i), np = Dn(/chrome/i) && Dn(/android/i), sp = {
|
|
1411
1411
|
capture: !1,
|
|
1412
1412
|
passive: !1
|
|
1413
1413
|
};
|
|
1414
1414
|
function Xt(o, e, i) {
|
|
1415
|
-
o.addEventListener(e, i, !Sn &&
|
|
1415
|
+
o.addEventListener(e, i, !Sn && sp);
|
|
1416
1416
|
}
|
|
1417
1417
|
function qt(o, e, i) {
|
|
1418
|
-
o.removeEventListener(e, i, !Sn &&
|
|
1418
|
+
o.removeEventListener(e, i, !Sn && sp);
|
|
1419
1419
|
}
|
|
1420
1420
|
function al(o, e) {
|
|
1421
1421
|
if (e) {
|
|
@@ -1447,14 +1447,14 @@ function an(o, e, i, r) {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
return null;
|
|
1449
1449
|
}
|
|
1450
|
-
var
|
|
1450
|
+
var oc = /\s+/g;
|
|
1451
1451
|
function Sr(o, e, i) {
|
|
1452
1452
|
if (o && e)
|
|
1453
1453
|
if (o.classList)
|
|
1454
1454
|
o.classList[i ? "add" : "remove"](e);
|
|
1455
1455
|
else {
|
|
1456
|
-
var r = (" " + o.className + " ").replace(
|
|
1457
|
-
o.className = (r + (i ? " " + e : "")).replace(
|
|
1456
|
+
var r = (" " + o.className + " ").replace(oc, " ").replace(" " + e + " ", " ");
|
|
1457
|
+
o.className = (r + (i ? " " + e : "")).replace(oc, " ");
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
function ft(o, e, i) {
|
|
@@ -1477,7 +1477,7 @@ function Xs(o, e) {
|
|
|
1477
1477
|
var s = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
1478
1478
|
return s && new s(i);
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function op(o, e, i) {
|
|
1481
1481
|
if (o) {
|
|
1482
1482
|
var r = o.getElementsByTagName(e), s = 0, d = r.length;
|
|
1483
1483
|
if (i)
|
|
@@ -1516,7 +1516,7 @@ function $i(o, e, i, r, s) {
|
|
|
1516
1516
|
};
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function ac(o, e, i) {
|
|
1520
1520
|
for (var r = Yn(o, !0), s = $i(o)[e]; r; ) {
|
|
1521
1521
|
var d = $i(r)[i], u = void 0;
|
|
1522
1522
|
if (u = s >= d, !u) return r;
|
|
@@ -1549,7 +1549,7 @@ function Vr(o, e) {
|
|
|
1549
1549
|
o.nodeName.toUpperCase() !== "TEMPLATE" && o !== gt.clone && (!e || al(o, e)) && i++;
|
|
1550
1550
|
return i;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function lc(o) {
|
|
1553
1553
|
var e = 0, i = 0, r = pn();
|
|
1554
1554
|
if (o)
|
|
1555
1555
|
do {
|
|
@@ -1591,7 +1591,7 @@ function ld(o, e) {
|
|
|
1591
1591
|
return Math.round(o.top) === Math.round(e.top) && Math.round(o.left) === Math.round(e.left) && Math.round(o.height) === Math.round(e.height) && Math.round(o.width) === Math.round(e.width);
|
|
1592
1592
|
}
|
|
1593
1593
|
var Zo;
|
|
1594
|
-
function
|
|
1594
|
+
function ap(o, e) {
|
|
1595
1595
|
return function() {
|
|
1596
1596
|
if (!Zo) {
|
|
1597
1597
|
var i = arguments, r = this;
|
|
@@ -1604,14 +1604,14 @@ function rp(o, e) {
|
|
|
1604
1604
|
function _g() {
|
|
1605
1605
|
clearTimeout(Zo), Zo = void 0;
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function lp(o, e, i) {
|
|
1608
1608
|
o.scrollLeft += e, o.scrollTop += i;
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function dp(o) {
|
|
1611
1611
|
var e = window.Polymer, i = window.jQuery || window.Zepto;
|
|
1612
1612
|
return e && e.dom ? e.dom(o).cloneNode(!0) : i ? i(o).clone(!0)[0] : o.cloneNode(!0);
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1614
|
+
function hp(o, e, i) {
|
|
1615
1615
|
var r = {};
|
|
1616
1616
|
return Array.from(o.children).forEach(function(s) {
|
|
1617
1617
|
var d, u, p, m;
|
|
@@ -1771,8 +1771,8 @@ var Ag = ["evt"], wr = function(o, e) {
|
|
|
1771
1771
|
oldDraggableIndex: Go,
|
|
1772
1772
|
newIndex: Tr,
|
|
1773
1773
|
newDraggableIndex: qn,
|
|
1774
|
-
hideGhostForTarget:
|
|
1775
|
-
unhideGhostForTarget:
|
|
1774
|
+
hideGhostForTarget: mp,
|
|
1775
|
+
unhideGhostForTarget: fp,
|
|
1776
1776
|
cloneNowHidden: function() {
|
|
1777
1777
|
Zn = !0;
|
|
1778
1778
|
},
|
|
@@ -1800,14 +1800,14 @@ function fr(o) {
|
|
|
1800
1800
|
newDraggableIndex: qn
|
|
1801
1801
|
}, o));
|
|
1802
1802
|
}
|
|
1803
|
-
var Ue, Li, Dt, Ci, bs, qa, Ei, Zn, Ks, Tr, Go, qn, Na, Ki, Gs = !1, ll = !1, dl = [], ms, sn, hd, ud,
|
|
1803
|
+
var Ue, Li, Dt, Ci, bs, qa, Ei, Zn, Ks, Tr, Go, qn, Na, Ki, Gs = !1, ll = !1, dl = [], ms, sn, hd, ud, dc, hc, Io, qs, Yo, Jo = !1, Ra = !1, Za, ar, cd = [], wd = !1, hl = [], yl = typeof document < "u", Ha = rp, uc = la || Sn ? "cssFloat" : "float", Lg = yl && !np && !rp && "draggable" in document.createElement("div"), up = function() {
|
|
1804
1804
|
if (yl) {
|
|
1805
1805
|
if (Sn)
|
|
1806
1806
|
return !1;
|
|
1807
1807
|
var o = document.createElement("x");
|
|
1808
1808
|
return o.style.cssText = "pointer-events:auto", o.style.pointerEvents === "auto";
|
|
1809
1809
|
}
|
|
1810
|
-
}(),
|
|
1810
|
+
}(), cp = function(o, e) {
|
|
1811
1811
|
var i = ft(o), r = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), s = to(o, 0, e), d = to(o, 1, e), u = s && ft(s), p = d && ft(d), m = u && parseInt(u.marginLeft) + parseInt(u.marginRight) + $i(s).width, b = p && parseInt(p.marginLeft) + parseInt(p.marginRight) + $i(d).width;
|
|
1812
1812
|
if (i.display === "flex")
|
|
1813
1813
|
return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -1817,7 +1817,7 @@ var Ue, Li, Dt, Ci, bs, qa, Ei, Zn, Ks, Tr, Go, qn, Na, Ki, Gs = !1, ll = !1, dl
|
|
|
1817
1817
|
var w = u.float === "left" ? "left" : "right";
|
|
1818
1818
|
return d && (p.clear === "both" || p.clear === w) ? "vertical" : "horizontal";
|
|
1819
1819
|
}
|
|
1820
|
-
return s && (u.display === "block" || u.display === "flex" || u.display === "table" || u.display === "grid" || m >= r && i[
|
|
1820
|
+
return s && (u.display === "block" || u.display === "flex" || u.display === "table" || u.display === "grid" || m >= r && i[uc] === "none" || d && i[uc] === "none" && m + b > r) ? "vertical" : "horizontal";
|
|
1821
1821
|
}, Sg = function(o, e, i) {
|
|
1822
1822
|
var r = i ? o.left : o.top, s = i ? o.right : o.bottom, d = i ? o.width : o.height, u = i ? e.left : e.top, p = i ? e.right : e.bottom, m = i ? e.width : e.height;
|
|
1823
1823
|
return r === u || s === p || r + d / 2 === u + m / 2;
|
|
@@ -1831,7 +1831,7 @@ var Ue, Li, Dt, Ci, bs, qa, Ei, Zn, Ks, Tr, Go, qn, Na, Ki, Gs = !1, ll = !1, dl
|
|
|
1831
1831
|
return i = r;
|
|
1832
1832
|
}
|
|
1833
1833
|
}), i;
|
|
1834
|
-
},
|
|
1834
|
+
}, pp = function(o) {
|
|
1835
1835
|
function e(s, d) {
|
|
1836
1836
|
return function(u, p, m, b) {
|
|
1837
1837
|
var w = u.options.group.name && p.options.group.name && u.options.group.name === p.options.group.name;
|
|
@@ -1851,12 +1851,12 @@ var Ue, Li, Dt, Ci, bs, qa, Ei, Zn, Ks, Tr, Go, qn, Na, Ki, Gs = !1, ll = !1, dl
|
|
|
1851
1851
|
(!r || Wa(r) != "object") && (r = {
|
|
1852
1852
|
name: r
|
|
1853
1853
|
}), i.name = r.name, i.checkPull = e(r.pull, !0), i.checkPut = e(r.put), i.revertClone = r.revertClone, o.group = i;
|
|
1854
|
-
},
|
|
1855
|
-
!
|
|
1856
|
-
},
|
|
1857
|
-
!
|
|
1854
|
+
}, mp = function() {
|
|
1855
|
+
!up && Dt && ft(Dt, "display", "none");
|
|
1856
|
+
}, fp = function() {
|
|
1857
|
+
!up && Dt && ft(Dt, "display", "");
|
|
1858
1858
|
};
|
|
1859
|
-
yl && !
|
|
1859
|
+
yl && !np && document.addEventListener("click", function(o) {
|
|
1860
1860
|
if (ll)
|
|
1861
1861
|
return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(), ll = !1, !1;
|
|
1862
1862
|
}, !0);
|
|
@@ -1893,7 +1893,7 @@ function gt(o, e) {
|
|
|
1893
1893
|
// will be set to same as swapThreshold if default
|
|
1894
1894
|
removeCloneOnHide: !0,
|
|
1895
1895
|
direction: function() {
|
|
1896
|
-
return
|
|
1896
|
+
return cp(o, this.options);
|
|
1897
1897
|
},
|
|
1898
1898
|
ghostClass: "sortable-ghost",
|
|
1899
1899
|
chosenClass: "sortable-chosen",
|
|
@@ -1926,7 +1926,7 @@ function gt(o, e) {
|
|
|
1926
1926
|
da.initializePlugins(this, o, i);
|
|
1927
1927
|
for (var r in i)
|
|
1928
1928
|
!(r in e) && (e[r] = i[r]);
|
|
1929
|
-
|
|
1929
|
+
pp(e);
|
|
1930
1930
|
for (var s in this)
|
|
1931
1931
|
s.charAt(0) === "_" && typeof this[s] == "function" && (this[s] = this[s].bind(this));
|
|
1932
1932
|
this.nativeDraggable = e.forceFallback ? !1 : Lg, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? Xt(o, "pointerdown", this._onTapStart) : (Xt(o, "mousedown", this._onTapStart), Xt(o, "touchstart", this._onTapStart)), this.nativeDraggable && (Xt(o, "dragover", this), Xt(o, "dragenter", this)), dl.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), Ln(this, Cg());
|
|
@@ -1986,21 +1986,21 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
1986
1986
|
target: Ue,
|
|
1987
1987
|
clientX: (e || o).clientX,
|
|
1988
1988
|
clientY: (e || o).clientY
|
|
1989
|
-
},
|
|
1989
|
+
}, dc = ms.clientX - m.left, hc = ms.clientY - m.top, this._lastX = (e || o).clientX, this._lastY = (e || o).clientY, Ue.style["will-change"] = "all", p = function() {
|
|
1990
1990
|
if (wr("delayEnded", r, {
|
|
1991
1991
|
evt: o
|
|
1992
1992
|
}), gt.eventCanceled) {
|
|
1993
1993
|
r._onDrop();
|
|
1994
1994
|
return;
|
|
1995
1995
|
}
|
|
1996
|
-
r._disableDelayedDragEvents(), !
|
|
1996
|
+
r._disableDelayedDragEvents(), !sc && r.nativeDraggable && (Ue.draggable = !0), r._triggerDragStart(o, e), fr({
|
|
1997
1997
|
sortable: r,
|
|
1998
1998
|
name: "choose",
|
|
1999
1999
|
originalEvent: o
|
|
2000
2000
|
}), Sr(Ue, d.chosenClass, !0);
|
|
2001
2001
|
}, d.ignore.split(",").forEach(function(b) {
|
|
2002
|
-
|
|
2003
|
-
}), Xt(u, "dragover", fs), Xt(u, "mousemove", fs), Xt(u, "touchmove", fs), Xt(u, "mouseup", r._onDrop), Xt(u, "touchend", r._onDrop), Xt(u, "touchcancel", r._onDrop),
|
|
2002
|
+
op(Ue, b.trim(), pd);
|
|
2003
|
+
}), Xt(u, "dragover", fs), Xt(u, "mousemove", fs), Xt(u, "touchmove", fs), Xt(u, "mouseup", r._onDrop), Xt(u, "touchend", r._onDrop), Xt(u, "touchcancel", r._onDrop), sc && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ue.draggable = !0), wr("delayStart", this, {
|
|
2004
2004
|
evt: o
|
|
2005
2005
|
}), d.delay && (!d.delayOnTouchOnly || e) && (!this.nativeDraggable || !(la || Sn))) {
|
|
2006
2006
|
if (gt.eventCanceled) {
|
|
@@ -2048,7 +2048,7 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2048
2048
|
},
|
|
2049
2049
|
_emulateDragOver: function() {
|
|
2050
2050
|
if (sn) {
|
|
2051
|
-
this._lastX = sn.clientX, this._lastY = sn.clientY,
|
|
2051
|
+
this._lastX = sn.clientX, this._lastY = sn.clientY, mp();
|
|
2052
2052
|
for (var o = document.elementFromPoint(sn.clientX, sn.clientY), e = o; o && o.shadowRoot && (o = o.shadowRoot.elementFromPoint(sn.clientX, sn.clientY), o !== e); )
|
|
2053
2053
|
e = o;
|
|
2054
2054
|
if (Ue.parentNode[Mr]._isOutsideThisEl(o), e)
|
|
@@ -2065,12 +2065,12 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2065
2065
|
}
|
|
2066
2066
|
o = e;
|
|
2067
2067
|
} while (e = e.parentNode);
|
|
2068
|
-
|
|
2068
|
+
fp();
|
|
2069
2069
|
}
|
|
2070
2070
|
},
|
|
2071
2071
|
_onTouchMove: function(o) {
|
|
2072
2072
|
if (ms) {
|
|
2073
|
-
var e = this.options, i = e.fallbackTolerance, r = e.fallbackOffset, s = o.touches ? o.touches[0] : o, d = Dt && Xs(Dt, !0), u = Dt && d && d.a, p = Dt && d && d.d, m = Ha && ar &&
|
|
2073
|
+
var e = this.options, i = e.fallbackTolerance, r = e.fallbackOffset, s = o.touches ? o.touches[0] : o, d = Dt && Xs(Dt, !0), u = Dt && d && d.a, p = Dt && d && d.d, m = Ha && ar && lc(ar), b = (s.clientX - ms.clientX + r.x) / (u || 1) + (m ? m[0] - cd[0] : 0) / (u || 1), w = (s.clientY - ms.clientY + r.y) / (p || 1) + (m ? m[1] - cd[1] : 0) / (p || 1);
|
|
2074
2074
|
if (!gt.active && !Gs) {
|
|
2075
2075
|
if (i && Math.max(Math.abs(s.clientX - this._lastX), Math.abs(s.clientY - this._lastY)) < i)
|
|
2076
2076
|
return;
|
|
@@ -2097,9 +2097,9 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2097
2097
|
if (Ha) {
|
|
2098
2098
|
for (ar = o; ft(ar, "position") === "static" && ft(ar, "transform") === "none" && ar !== document; )
|
|
2099
2099
|
ar = ar.parentNode;
|
|
2100
|
-
ar !== document.body && ar !== document.documentElement ? (ar === document && (ar = pn()), e.top += ar.scrollTop, e.left += ar.scrollLeft) : ar = pn(), cd =
|
|
2100
|
+
ar !== document.body && ar !== document.documentElement ? (ar === document && (ar = pn()), e.top += ar.scrollTop, e.left += ar.scrollLeft) : ar = pn(), cd = lc(ar);
|
|
2101
2101
|
}
|
|
2102
|
-
Dt = Ue.cloneNode(!0), Sr(Dt, i.ghostClass, !1), Sr(Dt, i.fallbackClass, !0), Sr(Dt, i.dragClass, !0), ft(Dt, "transition", ""), ft(Dt, "transform", ""), ft(Dt, "box-sizing", "border-box"), ft(Dt, "margin", 0), ft(Dt, "top", e.top), ft(Dt, "left", e.left), ft(Dt, "width", e.width), ft(Dt, "height", e.height), ft(Dt, "opacity", "0.8"), ft(Dt, "position", Ha ? "absolute" : "fixed"), ft(Dt, "zIndex", "100000"), ft(Dt, "pointerEvents", "none"), gt.ghost = Dt, o.appendChild(Dt), ft(Dt, "transform-origin",
|
|
2102
|
+
Dt = Ue.cloneNode(!0), Sr(Dt, i.ghostClass, !1), Sr(Dt, i.fallbackClass, !0), Sr(Dt, i.dragClass, !0), ft(Dt, "transition", ""), ft(Dt, "transform", ""), ft(Dt, "box-sizing", "border-box"), ft(Dt, "margin", 0), ft(Dt, "top", e.top), ft(Dt, "left", e.left), ft(Dt, "width", e.width), ft(Dt, "height", e.height), ft(Dt, "opacity", "0.8"), ft(Dt, "position", Ha ? "absolute" : "fixed"), ft(Dt, "zIndex", "100000"), ft(Dt, "pointerEvents", "none"), gt.ghost = Dt, o.appendChild(Dt), ft(Dt, "transform-origin", dc / parseInt(Dt.style.width) * 100 + "% " + hc / parseInt(Dt.style.height) * 100 + "%");
|
|
2103
2103
|
}
|
|
2104
2104
|
},
|
|
2105
2105
|
_onDragStart: function(o, e) {
|
|
@@ -2110,7 +2110,7 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2110
2110
|
this._onDrop();
|
|
2111
2111
|
return;
|
|
2112
2112
|
}
|
|
2113
|
-
wr("setupClone", this), gt.eventCanceled || (Ei =
|
|
2113
|
+
wr("setupClone", this), gt.eventCanceled || (Ei = dp(Ue), Ei.removeAttribute("id"), Ei.draggable = !1, Ei.style["will-change"] = "", this._hideClone(), Sr(Ei, this.options.chosenClass, !1), gt.clone = Ei), i.cloneId = Ga(function() {
|
|
2114
2114
|
wr("clone", i), !gt.eventCanceled && (i.options.removeCloneOnHide || Ci.insertBefore(Ei, Ue), i._hideClone(), fr({
|
|
2115
2115
|
sortable: i,
|
|
2116
2116
|
name: "clone"
|
|
@@ -2180,7 +2180,7 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2180
2180
|
return q(), e.insertBefore(Ue, ie), Li = e, $e(), me(!0);
|
|
2181
2181
|
} else if (i.parentNode === e) {
|
|
2182
2182
|
s = $i(i);
|
|
2183
|
-
var J = 0, re, _e = Ue.parentNode !== e, ye = !Sg(Ue.animated && Ue.toRect || r, i.animated && i.toRect || s, j), ue = j ? "top" : "left", de =
|
|
2183
|
+
var J = 0, re, _e = Ue.parentNode !== e, ye = !Sg(Ue.animated && Ue.toRect || r, i.animated && i.toRect || s, j), ue = j ? "top" : "left", de = ac(i, "top", "top") || ac(Ue, "top", "top"), Ce = de ? de.scrollTop : void 0;
|
|
2184
2184
|
qs !== i && (re = s[ue], Jo = !1, Ra = !ye && u.invertSwap || _e), J = Bg(o, i, s, j, ye ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, Ra, qs === i);
|
|
2185
2185
|
var je;
|
|
2186
2186
|
if (J !== 0) {
|
|
@@ -2196,7 +2196,7 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2196
2196
|
Ke = J === 1;
|
|
2197
2197
|
var ot = Ia(Ci, e, Ue, r, i, s, o, Ke);
|
|
2198
2198
|
if (ot !== !1)
|
|
2199
|
-
return (ot === 1 || ot === -1) && (Ke = ot === 1), wd = !0, setTimeout($g, 30), q(), Ke && !Je ? e.appendChild(Ue) : i.parentNode.insertBefore(Ue, Ke ? Je : i), de &&
|
|
2199
|
+
return (ot === 1 || ot === -1) && (Ke = ot === 1), wd = !0, setTimeout($g, 30), q(), Ke && !Je ? e.appendChild(Ue) : i.parentNode.insertBefore(Ue, Ke ? Je : i), de && lp(de, 0, Ce - de.scrollTop), Li = Ue.parentNode, re !== void 0 && !Ra && (Za = Math.abs(re - $i(i)[ue])), $e(), me(!0);
|
|
2200
2200
|
}
|
|
2201
2201
|
if (e.contains(Ue))
|
|
2202
2202
|
return me(!1);
|
|
@@ -2334,7 +2334,7 @@ gt.prototype = /** @lends Sortable.prototype */
|
|
|
2334
2334
|
if (e === void 0)
|
|
2335
2335
|
return i[o];
|
|
2336
2336
|
var r = da.modifyOption(this, o, e);
|
|
2337
|
-
typeof r < "u" ? i[o] = r : i[o] = e, o === "group" &&
|
|
2337
|
+
typeof r < "u" ? i[o] = r : i[o] = e, o === "group" && pp(i);
|
|
2338
2338
|
},
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Destroy
|
|
@@ -2380,11 +2380,11 @@ function $g() {
|
|
|
2380
2380
|
wd = !1;
|
|
2381
2381
|
}
|
|
2382
2382
|
function jg(o, e, i) {
|
|
2383
|
-
var r = $i(to(i.el, 0, i.options, !0)), s =
|
|
2383
|
+
var r = $i(to(i.el, 0, i.options, !0)), s = hp(i.el, i.options, Dt), d = 10;
|
|
2384
2384
|
return e ? o.clientX < s.left - d || o.clientY < r.top && o.clientX < r.right : o.clientY < s.top - d || o.clientY < r.bottom && o.clientX < r.left;
|
|
2385
2385
|
}
|
|
2386
2386
|
function Og(o, e, i) {
|
|
2387
|
-
var r = $i(th(i.el, i.options.draggable)), s =
|
|
2387
|
+
var r = $i(th(i.el, i.options.draggable)), s = hp(i.el, i.options, Dt), d = 10;
|
|
2388
2388
|
return e ? o.clientX > s.right + d || o.clientY > r.bottom && o.clientX > r.left : o.clientY > s.bottom + d || o.clientX > r.right && o.clientY > r.top;
|
|
2389
2389
|
}
|
|
2390
2390
|
function Bg(o, e, i, r, s, d, u, p) {
|
|
@@ -2428,19 +2428,19 @@ gt.utils = {
|
|
|
2428
2428
|
on: Xt,
|
|
2429
2429
|
off: qt,
|
|
2430
2430
|
css: ft,
|
|
2431
|
-
find:
|
|
2431
|
+
find: op,
|
|
2432
2432
|
is: function(o, e) {
|
|
2433
2433
|
return !!an(o, e, o, !1);
|
|
2434
2434
|
},
|
|
2435
2435
|
extend: wg,
|
|
2436
|
-
throttle:
|
|
2436
|
+
throttle: ap,
|
|
2437
2437
|
closest: an,
|
|
2438
2438
|
toggleClass: Sr,
|
|
2439
|
-
clone:
|
|
2439
|
+
clone: dp,
|
|
2440
2440
|
index: Vr,
|
|
2441
2441
|
nextTick: Ga,
|
|
2442
2442
|
cancelNextTick: _d,
|
|
2443
|
-
detectDirection:
|
|
2443
|
+
detectDirection: cp,
|
|
2444
2444
|
getChild: to
|
|
2445
2445
|
};
|
|
2446
2446
|
gt.get = function(o) {
|
|
@@ -2482,7 +2482,7 @@ function Ig() {
|
|
|
2482
2482
|
!this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
|
|
2483
2483
|
},
|
|
2484
2484
|
drop: function() {
|
|
2485
|
-
this.sortable.nativeDraggable ? qt(document, "dragover", this._handleAutoScroll) : (qt(document, "pointermove", this._handleFallbackAutoScroll), qt(document, "touchmove", this._handleFallbackAutoScroll), qt(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
2485
|
+
this.sortable.nativeDraggable ? qt(document, "dragover", this._handleAutoScroll) : (qt(document, "pointermove", this._handleFallbackAutoScroll), qt(document, "touchmove", this._handleFallbackAutoScroll), qt(document, "mousemove", this._handleFallbackAutoScroll)), cc(), Ya(), _g();
|
|
2486
2486
|
},
|
|
2487
2487
|
nulling: function() {
|
|
2488
2488
|
ul = Cd = Po = kd = zo = md = fd = null, Mi.length = 0;
|
|
@@ -2495,7 +2495,7 @@ function Ig() {
|
|
|
2495
2495
|
if (ul = e, i || this.options.forceAutoScrollFallback || la || Sn || qo) {
|
|
2496
2496
|
gd(e, this.options, u, i);
|
|
2497
2497
|
var p = Yn(u, !0);
|
|
2498
|
-
kd && (!zo || s !== md || d !== fd) && (zo &&
|
|
2498
|
+
kd && (!zo || s !== md || d !== fd) && (zo && cc(), zo = setInterval(function() {
|
|
2499
2499
|
var m = Yn(document.elementFromPoint(s, d), !0);
|
|
2500
2500
|
m !== p && (p = m, Ya()), gd(e, r.options, m, i);
|
|
2501
2501
|
}, 10), md = s, fd = d);
|
|
@@ -2517,10 +2517,10 @@ function Ya() {
|
|
|
2517
2517
|
clearInterval(o.pid);
|
|
2518
2518
|
}), Mi = [];
|
|
2519
2519
|
}
|
|
2520
|
-
function
|
|
2520
|
+
function cc() {
|
|
2521
2521
|
clearInterval(zo);
|
|
2522
2522
|
}
|
|
2523
|
-
var gd =
|
|
2523
|
+
var gd = ap(function(o, e, i, r) {
|
|
2524
2524
|
if (e.scroll) {
|
|
2525
2525
|
var s = (o.touches ? o.touches[0] : o).clientX, d = (o.touches ? o.touches[0] : o).clientY, u = e.scrollSensitivity, p = e.scrollSpeed, m = pn(), b = !1, w;
|
|
2526
2526
|
Cd !== i && (Cd = i, Ya(), Po = e.scroll, w = e.scrollFn, Po === !0 && (Po = Yn(i, !0)));
|
|
@@ -2535,14 +2535,14 @@ var gd = rp(function(o, e, i, r) {
|
|
|
2535
2535
|
(Mi[v].vx != je || Mi[v].vy != Ze || Mi[v].el !== D) && (Mi[v].el = D, Mi[v].vx = je, Mi[v].vy = Ze, clearInterval(Mi[v].pid), (je != 0 || Ze != 0) && (b = !0, Mi[v].pid = setInterval(function() {
|
|
2536
2536
|
r && this.layer === 0 && gt.active._onTouchMove(ul);
|
|
2537
2537
|
var Ke = Mi[this.layer].vy ? Mi[this.layer].vy * p : 0, ot = Mi[this.layer].vx ? Mi[this.layer].vx * p : 0;
|
|
2538
|
-
typeof w == "function" && w.call(gt.dragged.parentNode[Mr], ot, Ke, o, ul, Mi[this.layer].el) !== "continue" ||
|
|
2538
|
+
typeof w == "function" && w.call(gt.dragged.parentNode[Mr], ot, Ke, o, ul, Mi[this.layer].el) !== "continue" || lp(Mi[this.layer].el, ot, Ke);
|
|
2539
2539
|
}.bind({
|
|
2540
2540
|
layer: v
|
|
2541
2541
|
}), 24))), v++;
|
|
2542
2542
|
} while (e.bubbleScroll && j !== m && (j = Yn(j, !1)));
|
|
2543
2543
|
kd = b;
|
|
2544
2544
|
}
|
|
2545
|
-
}, 30),
|
|
2545
|
+
}, 30), gp = function(o) {
|
|
2546
2546
|
var e = o.originalEvent, i = o.putSortable, r = o.dragEl, s = o.activeSortable, d = o.dispatchSortableEvent, u = o.hideGhostForTarget, p = o.unhideGhostForTarget;
|
|
2547
2547
|
if (e) {
|
|
2548
2548
|
var m = i || s;
|
|
@@ -2568,7 +2568,7 @@ ih.prototype = {
|
|
|
2568
2568
|
var r = to(this.sortable.el, this.startIndex, this.options);
|
|
2569
2569
|
r ? this.sortable.el.insertBefore(e, r) : this.sortable.el.appendChild(e), this.sortable.animateAll(), i && i.animateAll();
|
|
2570
2570
|
},
|
|
2571
|
-
drop:
|
|
2571
|
+
drop: gp
|
|
2572
2572
|
};
|
|
2573
2573
|
Ln(ih, {
|
|
2574
2574
|
pluginName: "revertOnSpill"
|
|
@@ -2580,7 +2580,7 @@ rh.prototype = {
|
|
|
2580
2580
|
var e = o.dragEl, i = o.putSortable, r = i || this.sortable;
|
|
2581
2581
|
r.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), r.animateAll();
|
|
2582
2582
|
},
|
|
2583
|
-
drop:
|
|
2583
|
+
drop: gp
|
|
2584
2584
|
};
|
|
2585
2585
|
Ln(rh, {
|
|
2586
2586
|
pluginName: "removeOnSpill"
|
|
@@ -2664,11 +2664,11 @@ function nh(o, e, i) {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
function Wg(o, e, i) {
|
|
2666
2666
|
if (!o || !e) return !1;
|
|
2667
|
-
if (!
|
|
2667
|
+
if (!bp(o, i)) return !0;
|
|
2668
2668
|
const r = o.get("minZoom"), s = o.get("maxZoom"), d = e.getView().getZoom();
|
|
2669
2669
|
return d > r && d < s;
|
|
2670
2670
|
}
|
|
2671
|
-
function
|
|
2671
|
+
function bp(o, e) {
|
|
2672
2672
|
const i = o.get("minZoom"), r = o.get("maxZoom");
|
|
2673
2673
|
return !!(e && (i !== -1 / 0 || r !== 1 / 0));
|
|
2674
2674
|
}
|
|
@@ -2679,7 +2679,7 @@ function qg(o, e) {
|
|
|
2679
2679
|
o.getSource ? (r = o.getSource()) == null ? void 0 : r.ol_uid : void 0
|
|
2680
2680
|
) ? "draw" : o.declutter_ !== void 0 ? "vector" : "raster";
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2682
|
+
function vp(o, e) {
|
|
2683
2683
|
var i;
|
|
2684
2684
|
let r = {};
|
|
2685
2685
|
for (const s in o) {
|
|
@@ -2687,7 +2687,7 @@ function mp(o, e) {
|
|
|
2687
2687
|
if (d && d !== "object")
|
|
2688
2688
|
r[s] = d === "number" ? Number(e[s]) : e[s];
|
|
2689
2689
|
else if (typeof o[s] == "object" && (i = o[s]) != null && i.properties) {
|
|
2690
|
-
const u =
|
|
2690
|
+
const u = vp(
|
|
2691
2691
|
o[s].properties,
|
|
2692
2692
|
e
|
|
2693
2693
|
);
|
|
@@ -2709,7 +2709,7 @@ function Zg(o, e) {
|
|
|
2709
2709
|
const w = new URL(o.getSource().getTileUrlFunction()([0, 0, 0]));
|
|
2710
2710
|
p = Object.fromEntries(w.searchParams.entries());
|
|
2711
2711
|
} else return null;
|
|
2712
|
-
const b =
|
|
2712
|
+
const b = vp(
|
|
2713
2713
|
((u = e.schema) == null ? void 0 : u.properties) || e.schema,
|
|
2714
2714
|
p
|
|
2715
2715
|
);
|
|
@@ -2741,7 +2741,7 @@ const Gg = (o, e) => o?.filter(
|
|
|
2741
2741
|
<span class="button sort-icon icon drag-handle">
|
|
2742
2742
|
${o ? "═" : si}
|
|
2743
2743
|
</span>
|
|
2744
|
-
`,
|
|
2744
|
+
`, yp = (o) => {
|
|
2745
2745
|
var e;
|
|
2746
2746
|
const i = ["layerControlHide", "layerControlOptional"];
|
|
2747
2747
|
return (e = o?.getArray()) == null ? void 0 : e.filter((r) => i.every((s) => !r.get(s)));
|
|
@@ -2751,7 +2751,7 @@ const Gg = (o, e) => o?.filter(
|
|
|
2751
2751
|
* Copyright 2020 Google LLC
|
|
2752
2752
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2753
2753
|
*/
|
|
2754
|
-
const
|
|
2754
|
+
const xp = Qd(class extends Kd {
|
|
2755
2755
|
constructor(o) {
|
|
2756
2756
|
if (super(o), o.type !== Wn.PROPERTY && o.type !== Wn.ATTRIBUTE && o.type !== Wn.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
|
|
2757
2757
|
if (!gf(o)) throw Error("`live` bindings can only contain a single expression");
|
|
@@ -2767,7 +2767,7 @@ const gp = Qd(class extends Kd {
|
|
|
2767
2767
|
} else if (o.type === Wn.BOOLEAN_ATTRIBUTE) {
|
|
2768
2768
|
if (!!e === i.hasAttribute(r)) return Ur;
|
|
2769
2769
|
} else if (o.type === Wn.ATTRIBUTE && i.getAttribute(r) === e + "") return Ur;
|
|
2770
|
-
return
|
|
2770
|
+
return Gc(o), e;
|
|
2771
2771
|
}
|
|
2772
2772
|
});
|
|
2773
2773
|
/**
|
|
@@ -2815,7 +2815,7 @@ function t0(o, e, i) {
|
|
|
2815
2815
|
) : i.style;
|
|
2816
2816
|
let u = d?.variables;
|
|
2817
2817
|
if (u) {
|
|
2818
|
-
const p =
|
|
2818
|
+
const p = wp(o);
|
|
2819
2819
|
if (d.variables = {
|
|
2820
2820
|
...u,
|
|
2821
2821
|
...p
|
|
@@ -2829,11 +2829,11 @@ function t0(o, e, i) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
|
-
const
|
|
2832
|
+
const wp = (o) => {
|
|
2833
2833
|
const e = {};
|
|
2834
2834
|
for (const i in o)
|
|
2835
2835
|
if (typeof o[i] == "object" && o[i] !== null) {
|
|
2836
|
-
const r =
|
|
2836
|
+
const r = wp(
|
|
2837
2837
|
/** @type {Record<string,any>} */
|
|
2838
2838
|
o[i]
|
|
2839
2839
|
);
|
|
@@ -2861,14 +2861,14 @@ var Pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2861
2861
|
function r0(o) {
|
|
2862
2862
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
2863
2863
|
}
|
|
2864
|
-
var n0 = "Expected a function",
|
|
2864
|
+
var n0 = "Expected a function", pc = NaN, s0 = "[object Symbol]", o0 = /^\s+|\s+$/g, a0 = /^[-+]0x[0-9a-f]+$/i, l0 = /^0b[01]+$/i, d0 = /^0o[0-7]+$/i, h0 = parseInt, u0 = typeof Pa == "object" && Pa && Pa.Object === Object && Pa, c0 = typeof self == "object" && self && self.Object === Object && self, p0 = u0 || c0 || Function("return this")(), m0 = Object.prototype, f0 = m0.toString, g0 = Math.max, b0 = Math.min, bd = function() {
|
|
2865
2865
|
return p0.Date.now();
|
|
2866
2866
|
};
|
|
2867
2867
|
function v0(o, e, i) {
|
|
2868
2868
|
var r, s, d, u, p, m, b = 0, w = !1, v = !1, j = !0;
|
|
2869
2869
|
if (typeof o != "function")
|
|
2870
2870
|
throw new TypeError(n0);
|
|
2871
|
-
e =
|
|
2871
|
+
e = mc(e) || 0, Dd(i) && (w = !!i.leading, v = "maxWait" in i, d = v ? g0(mc(i.maxWait) || 0, e) : d, j = "trailing" in i ? !!i.trailing : j);
|
|
2872
2872
|
function D(re) {
|
|
2873
2873
|
var _e = r, ye = s;
|
|
2874
2874
|
return r = s = void 0, b = re, u = o.apply(ye, _e), u;
|
|
@@ -2921,11 +2921,11 @@ function y0(o) {
|
|
|
2921
2921
|
function x0(o) {
|
|
2922
2922
|
return typeof o == "symbol" || y0(o) && f0.call(o) == s0;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2924
|
+
function mc(o) {
|
|
2925
2925
|
if (typeof o == "number")
|
|
2926
2926
|
return o;
|
|
2927
2927
|
if (x0(o))
|
|
2928
|
-
return
|
|
2928
|
+
return pc;
|
|
2929
2929
|
if (Dd(o)) {
|
|
2930
2930
|
var e = typeof o.valueOf == "function" ? o.valueOf() : o;
|
|
2931
2931
|
o = Dd(e) ? e + "" : e;
|
|
@@ -2934,14 +2934,14 @@ function hc(o) {
|
|
|
2934
2934
|
return o === 0 ? o : +o;
|
|
2935
2935
|
o = o.replace(o0, "");
|
|
2936
2936
|
var i = l0.test(o);
|
|
2937
|
-
return i || d0.test(o) ? h0(o.slice(2), i ? 2 : 8) : a0.test(o) ?
|
|
2937
|
+
return i || d0.test(o) ? h0(o.slice(2), i ? 2 : 8) : a0.test(o) ? pc : +o;
|
|
2938
2938
|
}
|
|
2939
2939
|
var w0 = v0;
|
|
2940
|
-
const
|
|
2941
|
-
var Vo, Qa, Ka, Ad,
|
|
2942
|
-
let
|
|
2940
|
+
const _p = /* @__PURE__ */ r0(w0);
|
|
2941
|
+
var Vo, Qa, Ka, Ad, Cp, Ld, Sd;
|
|
2942
|
+
let kp = class extends $r {
|
|
2943
2943
|
constructor() {
|
|
2944
|
-
super(), bi(this, Ad), bi(this, Vo, {}), bi(this, Qa, null), bi(this, Ka), bi(this, Ld, ""), bi(this, Sd, ""), this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange =
|
|
2944
|
+
super(), bi(this, Ad), bi(this, Vo, {}), bi(this, Qa, null), bi(this, Ka), bi(this, Ld, ""), bi(this, Sd, ""), this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange = _p(lr(this, Ad, Cp), 1e3, {
|
|
2945
2945
|
leading: !0
|
|
2946
2946
|
});
|
|
2947
2947
|
}
|
|
@@ -2986,7 +2986,7 @@ Vo = /* @__PURE__ */ new WeakMap(), Qa = /* @__PURE__ */ new WeakMap(), Ka = /*
|
|
|
2986
2986
|
*
|
|
2987
2987
|
* @param {{ detail: { value: string; }; }} e
|
|
2988
2988
|
*/
|
|
2989
|
-
|
|
2989
|
+
Cp = function(o) {
|
|
2990
2990
|
rl(this, Vo, o.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? t0(Di(this, Vo), this.layer, this.layerConfig) : console.error(
|
|
2991
2991
|
`Layer type ${this.layer.get("type") ?? ""} does not support styles configuration`
|
|
2992
2992
|
) : (rl(this, Ka, e0(
|
|
@@ -2995,7 +2995,7 @@ yp = function(o) {
|
|
|
2995
2995
|
this
|
|
2996
2996
|
)), this.requestUpdate());
|
|
2997
2997
|
}, Ld = /* @__PURE__ */ new WeakMap(), Sd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
2998
|
-
Pi(
|
|
2998
|
+
Pi(kp, "properties", {
|
|
2999
2999
|
layer: { attribute: !1 },
|
|
3000
3000
|
unstyled: { type: Boolean },
|
|
3001
3001
|
noShadow: { type: Boolean },
|
|
@@ -3003,10 +3003,10 @@ Pi(xp, "properties", {
|
|
|
3003
3003
|
});
|
|
3004
3004
|
customElements.define(
|
|
3005
3005
|
"eox-layercontrol-layerconfig",
|
|
3006
|
-
|
|
3006
|
+
kp
|
|
3007
3007
|
);
|
|
3008
3008
|
var Xa, Td, Fd;
|
|
3009
|
-
let
|
|
3009
|
+
let Ep = class extends $r {
|
|
3010
3010
|
constructor() {
|
|
3011
3011
|
super(), bi(this, Xa, (e) => this.selectedTab === e && "highlighted"), bi(this, Td, `
|
|
3012
3012
|
.tabbed figure {
|
|
@@ -3121,14 +3121,14 @@ let wp = class extends $r {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
};
|
|
3123
3123
|
Xa = /* @__PURE__ */ new WeakMap(), Td = /* @__PURE__ */ new WeakMap(), Fd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
3124
|
-
Pi(
|
|
3124
|
+
Pi(Ep, "properties", {
|
|
3125
3125
|
actions: { attribute: !1 },
|
|
3126
3126
|
selectedTab: { state: !0 },
|
|
3127
3127
|
tabs: { attribute: !1 },
|
|
3128
3128
|
unstyled: { type: Boolean },
|
|
3129
3129
|
noShadow: { type: Boolean }
|
|
3130
3130
|
});
|
|
3131
|
-
customElements.define("eox-layercontrol-tabs",
|
|
3131
|
+
customElements.define("eox-layercontrol-tabs", Ep);
|
|
3132
3132
|
const _0 = `
|
|
3133
3133
|
button,
|
|
3134
3134
|
.button {
|
|
@@ -3281,7 +3281,7 @@ input[type=radio]:checked:after {
|
|
|
3281
3281
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");
|
|
3282
3282
|
|
|
3283
3283
|
}
|
|
3284
|
-
`,
|
|
3284
|
+
`, Dp = `
|
|
3285
3285
|
input[type=checkbox] {
|
|
3286
3286
|
appearance: none;
|
|
3287
3287
|
-webkit-appearance: none;
|
|
@@ -3383,12 +3383,12 @@ input::-moz-focus-inner, input::-moz-focus-outer {
|
|
|
3383
3383
|
}
|
|
3384
3384
|
`;
|
|
3385
3385
|
var Md, $d;
|
|
3386
|
-
let
|
|
3386
|
+
let Ap = class extends $r {
|
|
3387
3387
|
constructor() {
|
|
3388
3388
|
super(), Pi(this, "_removeButton", () => Qg(this)), Pi(this, "_sortButton", () => Kg(this.unstyled)), Pi(this, "_button", (e) => Jg(e, this.unstyled)), bi(this, Md, ""), bi(this, $d, `
|
|
3389
3389
|
${_0}
|
|
3390
3390
|
${C0}
|
|
3391
|
-
${
|
|
3391
|
+
${Dp}
|
|
3392
3392
|
${k0}
|
|
3393
3393
|
.drag-handle {
|
|
3394
3394
|
cursor: n-resize;
|
|
@@ -3539,7 +3539,7 @@ let Cp = class extends $r {
|
|
|
3539
3539
|
min="0"
|
|
3540
3540
|
max="1"
|
|
3541
3541
|
step="0.01"
|
|
3542
|
-
value=${
|
|
3542
|
+
value=${xp((m = this.layer) == null ? void 0 : m.getOpacity())}
|
|
3543
3543
|
@input=${(b) => this.layer.setOpacity(parseFloat(b.target.value))}
|
|
3544
3544
|
/>
|
|
3545
3545
|
</div>
|
|
@@ -3572,7 +3572,7 @@ let Cp = class extends $r {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
};
|
|
3574
3574
|
Md = /* @__PURE__ */ new WeakMap(), $d = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
3575
|
-
Pi(
|
|
3575
|
+
Pi(Ap, "properties", {
|
|
3576
3576
|
layer: { attribute: !1 },
|
|
3577
3577
|
tools: { attribute: !1 },
|
|
3578
3578
|
unstyled: { type: Boolean },
|
|
@@ -3580,7 +3580,7 @@ Pi(Cp, "properties", {
|
|
|
3580
3580
|
});
|
|
3581
3581
|
customElements.define(
|
|
3582
3582
|
"eox-layercontrol-layer-tools",
|
|
3583
|
-
|
|
3583
|
+
Ap
|
|
3584
3584
|
);
|
|
3585
3585
|
const E0 = (o) => {
|
|
3586
3586
|
const e = () => {
|
|
@@ -3594,7 +3594,7 @@ const E0 = (o) => {
|
|
|
3594
3594
|
new CustomEvent("change:resolution", { bubbles: !0 })
|
|
3595
3595
|
));
|
|
3596
3596
|
};
|
|
3597
|
-
|
|
3597
|
+
bp(
|
|
3598
3598
|
o.layer,
|
|
3599
3599
|
o.showLayerZoomState
|
|
3600
3600
|
) && (e(), o.map.getView().on("change:resolution", () => e()));
|
|
@@ -3609,11 +3609,11 @@ const E0 = (o) => {
|
|
|
3609
3609
|
new CustomEvent("changed", { bubbles: !0, detail: i })
|
|
3610
3610
|
), e.requestUpdate();
|
|
3611
3611
|
};
|
|
3612
|
-
var Ys, el,
|
|
3613
|
-
class
|
|
3612
|
+
var Ys, el, Lp, jd, Od;
|
|
3613
|
+
class Sp extends $r {
|
|
3614
3614
|
constructor() {
|
|
3615
3615
|
super(), bi(this, Ys), Pi(this, "currLayerVisibilityBasedOnZoom", !0), bi(this, jd, ""), bi(this, Od, `
|
|
3616
|
-
${
|
|
3616
|
+
${Dp}
|
|
3617
3617
|
eox-layercontrol-layer {
|
|
3618
3618
|
width: 100%;
|
|
3619
3619
|
}
|
|
@@ -3690,8 +3690,8 @@ class Ep extends $r {
|
|
|
3690
3690
|
<!-- Input element for layer visibility -->
|
|
3691
3691
|
<input
|
|
3692
3692
|
type=${u}
|
|
3693
|
-
.checked=${
|
|
3694
|
-
@click=${lr(this, Ys,
|
|
3693
|
+
.checked=${xp(i)}
|
|
3694
|
+
@click=${lr(this, Ys, Lp)}
|
|
3695
3695
|
/>
|
|
3696
3696
|
|
|
3697
3697
|
<!-- Layer title -->
|
|
@@ -3729,10 +3729,10 @@ el = function(o) {
|
|
|
3729
3729
|
*
|
|
3730
3730
|
* @param {{target: { checked: boolean }}} evt - The input change event.
|
|
3731
3731
|
*/
|
|
3732
|
-
|
|
3732
|
+
Lp = function(o) {
|
|
3733
3733
|
D0(o, this);
|
|
3734
3734
|
}, jd = /* @__PURE__ */ new WeakMap(), Od = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
3735
|
-
Pi(
|
|
3735
|
+
Pi(Sp, "properties", {
|
|
3736
3736
|
layer: { attribute: !1 },
|
|
3737
3737
|
map: { attribute: !1, state: !0 },
|
|
3738
3738
|
titleProperty: { attribute: "title-property", type: String },
|
|
@@ -3741,9 +3741,9 @@ Pi(Ep, "properties", {
|
|
|
3741
3741
|
unstyled: { type: Boolean },
|
|
3742
3742
|
noShadow: { type: Boolean }
|
|
3743
3743
|
});
|
|
3744
|
-
customElements.define("eox-layercontrol-layer",
|
|
3744
|
+
customElements.define("eox-layercontrol-layer", Sp);
|
|
3745
3745
|
var Bd, Nd;
|
|
3746
|
-
class
|
|
3746
|
+
class Tp extends $r {
|
|
3747
3747
|
constructor() {
|
|
3748
3748
|
super(), bi(this, Bd, ""), bi(this, Nd, `
|
|
3749
3749
|
details summary {
|
|
@@ -3784,7 +3784,7 @@ class Dp extends $r {
|
|
|
3784
3784
|
*/
|
|
3785
3785
|
render() {
|
|
3786
3786
|
var e, i;
|
|
3787
|
-
const r = !!((e = this.group) != null && e.get("layerControlExpand")), s = (i =
|
|
3787
|
+
const r = !!((e = this.group) != null && e.get("layerControlExpand")), s = (i = yp(
|
|
3788
3788
|
this.group.getLayers()
|
|
3789
3789
|
)) == null ? void 0 : i.length;
|
|
3790
3790
|
return Ht`
|
|
@@ -3833,7 +3833,7 @@ class Dp extends $r {
|
|
|
3833
3833
|
}
|
|
3834
3834
|
}
|
|
3835
3835
|
Bd = /* @__PURE__ */ new WeakMap(), Nd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
3836
|
-
Pi(
|
|
3836
|
+
Pi(Tp, "properties", {
|
|
3837
3837
|
group: { attribute: !1 },
|
|
3838
3838
|
idProperty: { attribute: "id-property" },
|
|
3839
3839
|
map: { attribute: !1, state: !0 },
|
|
@@ -3845,10 +3845,10 @@ Pi(Dp, "properties", {
|
|
|
3845
3845
|
});
|
|
3846
3846
|
customElements.define(
|
|
3847
3847
|
"eox-layercontrol-layer-group",
|
|
3848
|
-
|
|
3848
|
+
Tp
|
|
3849
3849
|
);
|
|
3850
3850
|
const A0 = (o) => {
|
|
3851
|
-
const { layers: e, idProperty: i, titleProperty: r, renderRoot: s } = o, d =
|
|
3851
|
+
const { layers: e, idProperty: i, titleProperty: r, renderRoot: s } = o, d = _p(() => {
|
|
3852
3852
|
o.requestUpdate(), o.dispatchEvent(
|
|
3853
3853
|
new CustomEvent("changed", { bubbles: !0 })
|
|
3854
3854
|
);
|
|
@@ -3864,7 +3864,7 @@ const A0 = (o) => {
|
|
|
3864
3864
|
}
|
|
3865
3865
|
};
|
|
3866
3866
|
var Rd, Hd;
|
|
3867
|
-
class
|
|
3867
|
+
class Fp extends $r {
|
|
3868
3868
|
constructor() {
|
|
3869
3869
|
super(), bi(this, Rd, ""), bi(this, Hd, `
|
|
3870
3870
|
ul {
|
|
@@ -3913,7 +3913,7 @@ class Ap extends $r {
|
|
|
3913
3913
|
* layer groups or individual layers accordingly. Utilizes conditional rendering and iterates through available layers.
|
|
3914
3914
|
*/
|
|
3915
3915
|
render() {
|
|
3916
|
-
const e = this.layers ?
|
|
3916
|
+
const e = this.layers ? yp(this.layers).reverse() : [];
|
|
3917
3917
|
return Ht`
|
|
3918
3918
|
<style>
|
|
3919
3919
|
${Di(this, Rd)}
|
|
@@ -3968,7 +3968,7 @@ class Ap extends $r {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
}
|
|
3970
3970
|
Rd = /* @__PURE__ */ new WeakMap(), Hd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
3971
|
-
Pi(
|
|
3971
|
+
Pi(Fp, "properties", {
|
|
3972
3972
|
idProperty: { attribute: "id-property" },
|
|
3973
3973
|
layers: { attribute: !1 },
|
|
3974
3974
|
map: { attribute: !1, state: !0 },
|
|
@@ -3978,7 +3978,7 @@ Pi(Ap, "properties", {
|
|
|
3978
3978
|
unstyled: { type: Boolean },
|
|
3979
3979
|
noShadow: { type: Boolean }
|
|
3980
3980
|
});
|
|
3981
|
-
customElements.define("eox-layercontrol-layer-list",
|
|
3981
|
+
customElements.define("eox-layercontrol-layer-list", Fp);
|
|
3982
3982
|
const L0 = (o) => {
|
|
3983
3983
|
const e = o.querySelector(
|
|
3984
3984
|
"select[name=optional]"
|
|
@@ -4001,8 +4001,8 @@ const L0 = (o) => {
|
|
|
4001
4001
|
)
|
|
4002
4002
|
), o.requestUpdate();
|
|
4003
4003
|
};
|
|
4004
|
-
var Id,
|
|
4005
|
-
class
|
|
4004
|
+
var Id, Mp;
|
|
4005
|
+
class $p extends $r {
|
|
4006
4006
|
constructor() {
|
|
4007
4007
|
super(), bi(this, Id), this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !1;
|
|
4008
4008
|
}
|
|
@@ -4042,7 +4042,7 @@ class Sp extends $r {
|
|
|
4042
4042
|
</select>
|
|
4043
4043
|
|
|
4044
4044
|
<!-- Button to handle adding layers -->
|
|
4045
|
-
<button @click="${lr(this, Id,
|
|
4045
|
+
<button @click="${lr(this, Id, Mp)}">add</button>
|
|
4046
4046
|
`;
|
|
4047
4047
|
}
|
|
4048
4048
|
}
|
|
@@ -4050,10 +4050,10 @@ Id = /* @__PURE__ */ new WeakSet(), /**
|
|
|
4050
4050
|
* Handles the addition of selected layers to a list.
|
|
4051
4051
|
* Invokes the 'addToListMethod' with the current context.
|
|
4052
4052
|
*/
|
|
4053
|
-
|
|
4053
|
+
Mp = function() {
|
|
4054
4054
|
L0(this);
|
|
4055
4055
|
}, // Define static properties for the component
|
|
4056
|
-
Pi(
|
|
4056
|
+
Pi($p, "properties", {
|
|
4057
4057
|
idProperty: { attribute: "id-property" },
|
|
4058
4058
|
layers: { attribute: !1 },
|
|
4059
4059
|
titleProperty: { attribute: "title-property", type: String },
|
|
@@ -4062,13 +4062,13 @@ Pi(Sp, "properties", {
|
|
|
4062
4062
|
});
|
|
4063
4063
|
customElements.define(
|
|
4064
4064
|
"eox-layercontrol-optional-list",
|
|
4065
|
-
|
|
4065
|
+
$p
|
|
4066
4066
|
);
|
|
4067
4067
|
const S0 = (o, e) => {
|
|
4068
4068
|
e.jsonInput = o.target.value, e.requestUpdate();
|
|
4069
|
-
},
|
|
4069
|
+
}, fc = (o) => {
|
|
4070
4070
|
const e = JSON.parse(
|
|
4071
|
-
`{"data":${
|
|
4071
|
+
`{"data":${ip(o.jsonInput)}}`
|
|
4072
4072
|
);
|
|
4073
4073
|
Array.isArray(e.data) ? e.data.forEach((i) => {
|
|
4074
4074
|
o.eoxMap.addOrUpdateLayer(i);
|
|
@@ -4112,8 +4112,8 @@ const M0 = (o, e) => {
|
|
|
4112
4112
|
}, $0 = (o, e) => {
|
|
4113
4113
|
e.open = o || null, e.urlInput = null, e.jsonInput = null, e.wmsCapabilities = null, e.requestUpdate();
|
|
4114
4114
|
};
|
|
4115
|
-
var on,
|
|
4116
|
-
class
|
|
4115
|
+
var on, jp, Op, Pd, Bp, Np, tl, zd, Vd;
|
|
4116
|
+
class Rp extends $r {
|
|
4117
4117
|
constructor() {
|
|
4118
4118
|
super(), bi(this, on), Pi(this, "urlInput", null), Pi(this, "jsonInput", null), Pi(this, "open", null), Pi(this, "searchLoad", !1), Pi(this, "wmsCapabilities", null), bi(this, zd, `
|
|
4119
4119
|
.eox-add-layer-main .open {
|
|
@@ -4311,14 +4311,14 @@ class jp extends $r {
|
|
|
4311
4311
|
class="add-url"
|
|
4312
4312
|
placeholder="Add URL (WMS/XYZ)"
|
|
4313
4313
|
.value="${this.urlInput}"
|
|
4314
|
-
@input=${lr(this, on,
|
|
4314
|
+
@input=${lr(this, on, jp)}
|
|
4315
4315
|
>
|
|
4316
4316
|
</input>
|
|
4317
4317
|
<!-- Search button for URL -->
|
|
4318
4318
|
<button
|
|
4319
4319
|
class="search-icon"
|
|
4320
4320
|
disabled=${s}
|
|
4321
|
-
@click=${lr(this, on,
|
|
4321
|
+
@click=${lr(this, on, Op)}
|
|
4322
4322
|
>
|
|
4323
4323
|
${this.unstyled ? "Search" : ""}
|
|
4324
4324
|
</button>
|
|
@@ -4352,7 +4352,7 @@ class jp extends $r {
|
|
|
4352
4352
|
<textarea
|
|
4353
4353
|
class="add-layer-input"
|
|
4354
4354
|
placeholder="Please put a valid eox-map layer JSON."
|
|
4355
|
-
@input=${lr(this, on,
|
|
4355
|
+
@input=${lr(this, on, Np)}
|
|
4356
4356
|
.value=${this.jsonInput}
|
|
4357
4357
|
></textarea>
|
|
4358
4358
|
|
|
@@ -4360,7 +4360,7 @@ class jp extends $r {
|
|
|
4360
4360
|
<button
|
|
4361
4361
|
class="add-layer-icon json-add-layer"
|
|
4362
4362
|
disabled=${pg(this.jsonInput) ? si : !0}
|
|
4363
|
-
@click=${lr(this, on,
|
|
4363
|
+
@click=${lr(this, on, Bp)}
|
|
4364
4364
|
>
|
|
4365
4365
|
${this.unstyled ? "Add JSON" : ""}
|
|
4366
4366
|
</button>
|
|
@@ -4376,9 +4376,9 @@ on = /* @__PURE__ */ new WeakSet(), /**
|
|
|
4376
4376
|
*
|
|
4377
4377
|
* @param {Event} evt - The input change event triggering the method.
|
|
4378
4378
|
*/
|
|
4379
|
-
|
|
4379
|
+
jp = function(o) {
|
|
4380
4380
|
T0(o, this);
|
|
4381
|
-
},
|
|
4381
|
+
}, Op = async function() {
|
|
4382
4382
|
const o = await F0(this);
|
|
4383
4383
|
o && lr(this, on, Pd).call(this, o);
|
|
4384
4384
|
}, /**
|
|
@@ -4387,18 +4387,18 @@ Tp = function(o) {
|
|
|
4387
4387
|
* @param {{"Name": string}} layer - The layer information triggering the method.
|
|
4388
4388
|
*/
|
|
4389
4389
|
Pd = function(o) {
|
|
4390
|
-
M0(o, this),
|
|
4390
|
+
M0(o, this), fc(this);
|
|
4391
4391
|
}, /**
|
|
4392
4392
|
* Initiates the addition of layers, triggering the handleAddLayerMethod.
|
|
4393
4393
|
*/
|
|
4394
|
-
|
|
4395
|
-
|
|
4394
|
+
Bp = function() {
|
|
4395
|
+
fc(this);
|
|
4396
4396
|
}, /**
|
|
4397
4397
|
* Handles input field changes by invoking the 'handleJsonInputChangeMethod'.
|
|
4398
4398
|
*
|
|
4399
4399
|
* @param {{target: { value: string }}} evt - The input change event triggering the method.
|
|
4400
4400
|
*/
|
|
4401
|
-
|
|
4401
|
+
Np = function(o) {
|
|
4402
4402
|
S0(o, this);
|
|
4403
4403
|
}, /**
|
|
4404
4404
|
* Handles tab changes by invoking the 'openCloseTabMethod'.
|
|
@@ -4408,12 +4408,12 @@ $p = function(o) {
|
|
|
4408
4408
|
tl = function(o) {
|
|
4409
4409
|
$0(o, this);
|
|
4410
4410
|
}, zd = /* @__PURE__ */ new WeakMap(), Vd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
4411
|
-
Pi(
|
|
4411
|
+
Pi(Rp, "properties", {
|
|
4412
4412
|
eoxMap: { attribute: !1, state: !0 },
|
|
4413
4413
|
unstyled: { type: Boolean },
|
|
4414
4414
|
noShadow: { type: Boolean }
|
|
4415
4415
|
});
|
|
4416
|
-
customElements.define("eox-layercontrol-add-layers",
|
|
4416
|
+
customElements.define("eox-layercontrol-add-layers", Rp);
|
|
4417
4417
|
const j0 = (o, e) => {
|
|
4418
4418
|
if (e.requestUpdate(), o.target.tagName === "EOX-LAYERCONTROL-LAYER-TOOLS") {
|
|
4419
4419
|
const i = e.renderRoot.querySelector(
|
|
@@ -4429,8 +4429,8 @@ const j0 = (o, e) => {
|
|
|
4429
4429
|
const e = O0(o.for);
|
|
4430
4430
|
return e && e.map !== o.map && (o.map = e.map), e;
|
|
4431
4431
|
};
|
|
4432
|
-
var Uo, Ud,
|
|
4433
|
-
class
|
|
4432
|
+
var Uo, Ud, Hp, Wd;
|
|
4433
|
+
class Ip extends $r {
|
|
4434
4434
|
// Constructor to set default values for properties
|
|
4435
4435
|
constructor() {
|
|
4436
4436
|
super(), bi(this, Ud), bi(this, Uo), bi(this, Wd, "* { font-family: Roboto, sans-serif; }"), this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = ["info", "opacity", "config", "remove", "sort"], this.addExternalLayers = !1, this.unstyled = !1, this.styleOverride = "";
|
|
@@ -4477,7 +4477,7 @@ class Bp extends $r {
|
|
|
4477
4477
|
.showLayerZoomState=${this.showLayerZoomState}
|
|
4478
4478
|
.tools=${this.tools}
|
|
4479
4479
|
.unstyled=${this.unstyled}
|
|
4480
|
-
@changed=${lr(this, Ud,
|
|
4480
|
+
@changed=${lr(this, Ud, Hp)}
|
|
4481
4481
|
></eox-layercontrol-layer-list>
|
|
4482
4482
|
`
|
|
4483
4483
|
)}
|
|
@@ -4503,10 +4503,10 @@ Uo = /* @__PURE__ */ new WeakMap(), Ud = /* @__PURE__ */ new WeakSet(), /**
|
|
|
4503
4503
|
*
|
|
4504
4504
|
* @param {CustomEvent & {target: Element}} evt
|
|
4505
4505
|
*/
|
|
4506
|
-
|
|
4506
|
+
Hp = function(o) {
|
|
4507
4507
|
j0(o, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: o.detail }));
|
|
4508
4508
|
}, Wd = /* @__PURE__ */ new WeakMap(), // Define static properties for the component
|
|
4509
|
-
Pi(
|
|
4509
|
+
Pi(Ip, "properties", {
|
|
4510
4510
|
for: { type: String },
|
|
4511
4511
|
idProperty: { attribute: "id-property" },
|
|
4512
4512
|
map: { attribute: !1, state: !0 },
|
|
@@ -4517,19 +4517,19 @@ Pi(Bp, "properties", {
|
|
|
4517
4517
|
unstyled: { type: Boolean },
|
|
4518
4518
|
styleOverride: { type: String }
|
|
4519
4519
|
});
|
|
4520
|
-
customElements.define("eox-layercontrol",
|
|
4521
|
-
var N0 = Object.defineProperty,
|
|
4520
|
+
customElements.define("eox-layercontrol", Ip);
|
|
4521
|
+
var N0 = Object.defineProperty, Pp = (o) => {
|
|
4522
4522
|
throw TypeError(o);
|
|
4523
|
-
}, R0 = (o, e, i) => e in o ? N0(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, H0 = (o, e, i) => R0(o, e + "", i), sh = (o, e, i) => e.has(o) ||
|
|
4523
|
+
}, R0 = (o, e, i) => e in o ? N0(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, H0 = (o, e, i) => R0(o, e + "", i), sh = (o, e, i) => e.has(o) || Pp("Cannot " + i), cn = (o, e, i) => (sh(o, e, "read from private field"), i ? i.call(o) : e.get(o)), gc = (o, e, i) => e.has(o) ? Pp("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(o) : e.set(o, i), I0 = (o, e, i, r) => (sh(o, e, "write to private field"), e.set(o, i), i), zp = (o, e, i) => (sh(o, e, "access private method"), i);
|
|
4524
4524
|
/**
|
|
4525
4525
|
* @license
|
|
4526
4526
|
* Copyright 2019 Google LLC
|
|
4527
4527
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4528
4528
|
*/
|
|
4529
|
-
const il = globalThis, oh = il.ShadowRoot && (il.ShadyCSS === void 0 || il.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
4529
|
+
const il = globalThis, oh = il.ShadowRoot && (il.ShadyCSS === void 0 || il.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Vp = Symbol(), bc = /* @__PURE__ */ new WeakMap();
|
|
4530
4530
|
let P0 = class {
|
|
4531
4531
|
constructor(o, e, i) {
|
|
4532
|
-
if (this._$cssResult$ = !0, i !==
|
|
4532
|
+
if (this._$cssResult$ = !0, i !== Vp) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
4533
4533
|
this.cssText = o, this.t = e;
|
|
4534
4534
|
}
|
|
4535
4535
|
get styleSheet() {
|
|
@@ -4537,7 +4537,7 @@ let P0 = class {
|
|
|
4537
4537
|
const e = this.t;
|
|
4538
4538
|
if (oh && o === void 0) {
|
|
4539
4539
|
const i = e !== void 0 && e.length === 1;
|
|
4540
|
-
i && (o =
|
|
4540
|
+
i && (o = bc.get(e)), o === void 0 && ((this.o = o = new CSSStyleSheet()).replaceSync(this.cssText), i && bc.set(e, o));
|
|
4541
4541
|
}
|
|
4542
4542
|
return o;
|
|
4543
4543
|
}
|
|
@@ -4545,13 +4545,13 @@ let P0 = class {
|
|
|
4545
4545
|
return this.cssText;
|
|
4546
4546
|
}
|
|
4547
4547
|
};
|
|
4548
|
-
const z0 = (o) => new P0(typeof o == "string" ? o : o + "", void 0,
|
|
4548
|
+
const z0 = (o) => new P0(typeof o == "string" ? o : o + "", void 0, Vp), V0 = (o, e) => {
|
|
4549
4549
|
if (oh) o.adoptedStyleSheets = e.map((i) => i instanceof CSSStyleSheet ? i : i.styleSheet);
|
|
4550
4550
|
else for (const i of e) {
|
|
4551
4551
|
const r = document.createElement("style"), s = il.litNonce;
|
|
4552
4552
|
s !== void 0 && r.setAttribute("nonce", s), r.textContent = i.cssText, o.appendChild(r);
|
|
4553
4553
|
}
|
|
4554
|
-
},
|
|
4554
|
+
}, vc = oh ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((e) => {
|
|
4555
4555
|
let i = "";
|
|
4556
4556
|
for (const r of e.cssRules) i += r.cssText;
|
|
4557
4557
|
return z0(i);
|
|
@@ -4561,7 +4561,7 @@ const z0 = (o) => new P0(typeof o == "string" ? o : o + "", void 0, Hp), V0 = (o
|
|
|
4561
4561
|
* Copyright 2017 Google LLC
|
|
4562
4562
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4563
4563
|
*/
|
|
4564
|
-
const { is: U0, defineProperty: W0, getOwnPropertyDescriptor: q0, getOwnPropertyNames: Z0, getOwnPropertySymbols: G0, getPrototypeOf: Y0 } = Object, io = globalThis,
|
|
4564
|
+
const { is: U0, defineProperty: W0, getOwnPropertyDescriptor: q0, getOwnPropertyNames: Z0, getOwnPropertySymbols: G0, getPrototypeOf: Y0 } = Object, io = globalThis, yc = io.trustedTypes, J0 = yc ? yc.emptyScript : "", xc = io.reactiveElementPolyfillSupport, Qo = (o, e) => o, qd = { toAttribute(o, e) {
|
|
4565
4565
|
switch (e) {
|
|
4566
4566
|
case Boolean:
|
|
4567
4567
|
o = o ? J0 : null;
|
|
@@ -4589,7 +4589,7 @@ const { is: U0, defineProperty: W0, getOwnPropertyDescriptor: q0, getOwnProperty
|
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
4591
|
return i;
|
|
4592
|
-
} },
|
|
4592
|
+
} }, Up = (o, e) => !U0(o, e), wc = { attribute: !0, type: String, converter: qd, reflect: !1, hasChanged: Up };
|
|
4593
4593
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), io.litPropertyMetadata ?? (io.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
4594
4594
|
class Js extends HTMLElement {
|
|
4595
4595
|
static addInitializer(e) {
|
|
@@ -4598,7 +4598,7 @@ class Js extends HTMLElement {
|
|
|
4598
4598
|
static get observedAttributes() {
|
|
4599
4599
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
4600
4600
|
}
|
|
4601
|
-
static createProperty(e, i =
|
|
4601
|
+
static createProperty(e, i = wc) {
|
|
4602
4602
|
if (i.state && (i.attribute = !1), this._$Ei(), this.elementProperties.set(e, i), !i.noAccessor) {
|
|
4603
4603
|
const r = Symbol(), s = this.getPropertyDescriptor(e, r, i);
|
|
4604
4604
|
s !== void 0 && W0(this.prototype, e, s);
|
|
@@ -4618,7 +4618,7 @@ class Js extends HTMLElement {
|
|
|
4618
4618
|
}, configurable: !0, enumerable: !0 };
|
|
4619
4619
|
}
|
|
4620
4620
|
static getPropertyOptions(e) {
|
|
4621
|
-
return this.elementProperties.get(e) ??
|
|
4621
|
+
return this.elementProperties.get(e) ?? wc;
|
|
4622
4622
|
}
|
|
4623
4623
|
static _$Ei() {
|
|
4624
4624
|
if (this.hasOwnProperty(Qo("elementProperties"))) return;
|
|
@@ -4647,8 +4647,8 @@ class Js extends HTMLElement {
|
|
|
4647
4647
|
const i = [];
|
|
4648
4648
|
if (Array.isArray(e)) {
|
|
4649
4649
|
const r = new Set(e.flat(1 / 0).reverse());
|
|
4650
|
-
for (const s of r) i.unshift(
|
|
4651
|
-
} else e !== void 0 && i.push(
|
|
4650
|
+
for (const s of r) i.unshift(vc(s));
|
|
4651
|
+
} else e !== void 0 && i.push(vc(e));
|
|
4652
4652
|
return i;
|
|
4653
4653
|
}
|
|
4654
4654
|
static _$Eu(e, i) {
|
|
@@ -4716,7 +4716,7 @@ class Js extends HTMLElement {
|
|
|
4716
4716
|
}
|
|
4717
4717
|
requestUpdate(e, i, r) {
|
|
4718
4718
|
if (e !== void 0) {
|
|
4719
|
-
if (r ?? (r = this.constructor.getPropertyOptions(e)), !(r.hasChanged ??
|
|
4719
|
+
if (r ?? (r = this.constructor.getPropertyOptions(e)), !(r.hasChanged ?? Up)(this[e], i)) return;
|
|
4720
4720
|
this.P(e, i, r);
|
|
4721
4721
|
}
|
|
4722
4722
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -4789,18 +4789,18 @@ class Js extends HTMLElement {
|
|
|
4789
4789
|
firstUpdated(e) {
|
|
4790
4790
|
}
|
|
4791
4791
|
}
|
|
4792
|
-
Js.elementStyles = [], Js.shadowRootOptions = { mode: "open" }, Js[Qo("elementProperties")] = /* @__PURE__ */ new Map(), Js[Qo("finalized")] = /* @__PURE__ */ new Map(),
|
|
4792
|
+
Js.elementStyles = [], Js.shadowRootOptions = { mode: "open" }, Js[Qo("elementProperties")] = /* @__PURE__ */ new Map(), Js[Qo("finalized")] = /* @__PURE__ */ new Map(), xc?.({ ReactiveElement: Js }), (io.reactiveElementVersions ?? (io.reactiveElementVersions = [])).push("2.0.4");
|
|
4793
4793
|
/**
|
|
4794
4794
|
* @license
|
|
4795
4795
|
* Copyright 2017 Google LLC
|
|
4796
4796
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4797
4797
|
*/
|
|
4798
|
-
const cl = globalThis, pl = cl.trustedTypes,
|
|
4799
|
-
\f\r]`, Ho = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
4800
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
4801
|
-
function
|
|
4798
|
+
const cl = globalThis, pl = cl.trustedTypes, _c = pl ? pl.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Wp = "$lit$", Gn = `lit$${(Math.random() + "").slice(9)}$`, qp = "?" + Gn, Q0 = `<${qp}>`, ks = document, ra = () => ks.createComment(""), na = (o) => o === null || typeof o != "object" && typeof o != "function", Zp = Array.isArray, K0 = (o) => Zp(o) || typeof o?.[Symbol.iterator] == "function", vd = `[
|
|
4799
|
+
\f\r]`, Ho = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Cc = /-->/g, kc = />/g, gs = RegExp(`>|${vd}(?:([^\\s"'>=/]+)(${vd}*=${vd}*(?:[^
|
|
4800
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ec = /'/g, Dc = /"/g, Gp = /^(?:script|style|textarea|title)$/i, X0 = (o) => (e, ...i) => ({ _$litType$: o, strings: e, values: i }), eb = X0(1), ro = Symbol.for("lit-noChange"), Ii = Symbol.for("lit-nothing"), Ac = /* @__PURE__ */ new WeakMap(), xs = ks.createTreeWalker(ks, 129);
|
|
4801
|
+
function Yp(o, e) {
|
|
4802
4802
|
if (!Array.isArray(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
4803
|
-
return
|
|
4803
|
+
return _c !== void 0 ? _c.createHTML(e) : e;
|
|
4804
4804
|
}
|
|
4805
4805
|
const tb = (o, e) => {
|
|
4806
4806
|
const i = o.length - 1, r = [];
|
|
@@ -4808,11 +4808,11 @@ const tb = (o, e) => {
|
|
|
4808
4808
|
for (let p = 0; p < i; p++) {
|
|
4809
4809
|
const m = o[p];
|
|
4810
4810
|
let b, w, v = -1, j = 0;
|
|
4811
|
-
for (; j < m.length && (u.lastIndex = j, w = u.exec(m), w !== null); ) j = u.lastIndex, u === Ho ? w[1] === "!--" ? u =
|
|
4811
|
+
for (; j < m.length && (u.lastIndex = j, w = u.exec(m), w !== null); ) j = u.lastIndex, u === Ho ? w[1] === "!--" ? u = Cc : w[1] !== void 0 ? u = kc : w[2] !== void 0 ? (Gp.test(w[2]) && (s = RegExp("</" + w[2], "g")), u = gs) : w[3] !== void 0 && (u = gs) : u === gs ? w[0] === ">" ? (u = s ?? Ho, v = -1) : w[1] === void 0 ? v = -2 : (v = u.lastIndex - w[2].length, b = w[1], u = w[3] === void 0 ? gs : w[3] === '"' ? Dc : Ec) : u === Dc || u === Ec ? u = gs : u === Cc || u === kc ? u = Ho : (u = gs, s = void 0);
|
|
4812
4812
|
const D = u === gs && o[p + 1].startsWith("/>") ? " " : "";
|
|
4813
|
-
d += u === Ho ? m + Q0 : v >= 0 ? (r.push(b), m.slice(0, v) +
|
|
4813
|
+
d += u === Ho ? m + Q0 : v >= 0 ? (r.push(b), m.slice(0, v) + Wp + m.slice(v) + Gn + D) : m + Gn + (v === -2 ? p : D);
|
|
4814
4814
|
}
|
|
4815
|
-
return [
|
|
4815
|
+
return [Yp(o, d + (o[i] || "<?>") + (e === 2 ? "</svg>" : "")), r];
|
|
4816
4816
|
};
|
|
4817
4817
|
class sa {
|
|
4818
4818
|
constructor({ strings: e, _$litType$: i }, r) {
|
|
@@ -4826,11 +4826,11 @@ class sa {
|
|
|
4826
4826
|
}
|
|
4827
4827
|
for (; (s = xs.nextNode()) !== null && m.length < p; ) {
|
|
4828
4828
|
if (s.nodeType === 1) {
|
|
4829
|
-
if (s.hasAttributes()) for (const v of s.getAttributeNames()) if (v.endsWith(
|
|
4829
|
+
if (s.hasAttributes()) for (const v of s.getAttributeNames()) if (v.endsWith(Wp)) {
|
|
4830
4830
|
const j = w[u++], D = s.getAttribute(v).split(Gn), B = /([.?@])?(.*)/.exec(j);
|
|
4831
4831
|
m.push({ type: 1, index: d, name: B[2], strings: D, ctor: B[1] === "." ? rb : B[1] === "?" ? nb : B[1] === "@" ? sb : xl }), s.removeAttribute(v);
|
|
4832
4832
|
} else v.startsWith(Gn) && (m.push({ type: 6, index: d }), s.removeAttribute(v));
|
|
4833
|
-
if (
|
|
4833
|
+
if (Gp.test(s.tagName)) {
|
|
4834
4834
|
const v = s.textContent.split(Gn), j = v.length - 1;
|
|
4835
4835
|
if (j > 0) {
|
|
4836
4836
|
s.textContent = pl ? pl.emptyScript : "";
|
|
@@ -4838,7 +4838,7 @@ class sa {
|
|
|
4838
4838
|
s.append(v[j], ra());
|
|
4839
4839
|
}
|
|
4840
4840
|
}
|
|
4841
|
-
} else if (s.nodeType === 8) if (s.data ===
|
|
4841
|
+
} else if (s.nodeType === 8) if (s.data === qp) m.push({ type: 2, index: d });
|
|
4842
4842
|
else {
|
|
4843
4843
|
let v = -1;
|
|
4844
4844
|
for (; (v = s.data.indexOf(Gn, v + 1)) !== -1; ) m.push({ type: 7, index: d }), v += Gn.length - 1;
|
|
@@ -4919,7 +4919,7 @@ class ha {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
$(e) {
|
|
4921
4921
|
var i;
|
|
4922
|
-
const { values: r, _$litType$: s } = e, d = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = sa.createElement(
|
|
4922
|
+
const { values: r, _$litType$: s } = e, d = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = sa.createElement(Yp(s.h, s.h[0]), this.options)), s);
|
|
4923
4923
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === d) this._$AH.p(r);
|
|
4924
4924
|
else {
|
|
4925
4925
|
const u = new ib(d, this), p = u.u(this.options);
|
|
@@ -4927,11 +4927,11 @@ class ha {
|
|
|
4927
4927
|
}
|
|
4928
4928
|
}
|
|
4929
4929
|
_$AC(e) {
|
|
4930
|
-
let i =
|
|
4931
|
-
return i === void 0 &&
|
|
4930
|
+
let i = Ac.get(e.strings);
|
|
4931
|
+
return i === void 0 && Ac.set(e.strings, i = new sa(e)), i;
|
|
4932
4932
|
}
|
|
4933
4933
|
k(e) {
|
|
4934
|
-
|
|
4934
|
+
Zp(this._$AH) || (this._$AH = [], this._$AR());
|
|
4935
4935
|
const i = this._$AH;
|
|
4936
4936
|
let r, s = 0;
|
|
4937
4937
|
for (const d of e) s === i.length ? i.push(r = new ha(this.S(ra()), this.S(ra()), this, this.options)) : r = i[s], r._$AI(d), s++;
|
|
@@ -5015,8 +5015,8 @@ class ob {
|
|
|
5015
5015
|
no(this, e);
|
|
5016
5016
|
}
|
|
5017
5017
|
}
|
|
5018
|
-
const
|
|
5019
|
-
|
|
5018
|
+
const Lc = cl.litHtmlPolyfillSupport;
|
|
5019
|
+
Lc?.(sa, ha), (cl.litHtmlVersions ?? (cl.litHtmlVersions = [])).push("3.1.2");
|
|
5020
5020
|
const ab = (o, e, i) => {
|
|
5021
5021
|
const r = i?.renderBefore ?? e;
|
|
5022
5022
|
let s = r._$litPart$;
|
|
@@ -5056,10 +5056,10 @@ class Ko extends Js {
|
|
|
5056
5056
|
return ro;
|
|
5057
5057
|
}
|
|
5058
5058
|
}
|
|
5059
|
-
var
|
|
5060
|
-
Ko._$litElement$ = !0, Ko.finalized = !0, (
|
|
5061
|
-
const
|
|
5062
|
-
|
|
5059
|
+
var Sc;
|
|
5060
|
+
Ko._$litElement$ = !0, Ko.finalized = !0, (Sc = globalThis.litElementHydrateSupport) == null || Sc.call(globalThis, { LitElement: Ko });
|
|
5061
|
+
const Tc = globalThis.litElementPolyfillSupport;
|
|
5062
|
+
Tc?.({ LitElement: Ko });
|
|
5063
5063
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
|
|
5064
5064
|
const lb = (o) => typeof o.type != "string" && "multiple", db = (o) => typeof o.type == "string" && "string", hb = (o) => !o.type && o.properties && "object", ub = (o) => typeof o.type == "string" && ["string", "number", "integer", "boolean", "null", "array", "object"].includes(o.type) && o.type, cb = (o) => o.type === "string" && o.format === "signature" && "signature", pb = (o) => {
|
|
5065
5065
|
if (o.type === "boolean")
|
|
@@ -5091,16 +5091,16 @@ const lb = (o) => typeof o.type != "string" && "multiple", db = (o) => typeof o.
|
|
|
5091
5091
|
if ((o.type === "integer" || o.type === "number") && o.format === "stepper")
|
|
5092
5092
|
return "stepper";
|
|
5093
5093
|
}, Ab = (o) => o.format === "button" && "button", Lb = (o) => o.format === "info" && "info", Sb = (o) => o.type === "string" && o.format === "uuid" && "uuid", Tb = (o) => o.type === "string" && o.format === "autocomplete" && "autocomplete", Fb = (o) => o.type === "string" && o.format === "jodit" && "jodit", Mb = (o) => o.type === "string" && o.format === "markdown" && "simplemde", $b = (o) => o.type === "string" && ["xhtml", "bbcode"].includes(o.format) && "sceditor", jb = ["actionscript", "batchfile", "c", "c++", "cpp", "coffee", "csharp", "css", "dart", "django", "ejs", "erlang", "golang", "groovy", "handlebars", "haskell", "haxe", "html", "ini", "jade", "java", "javascript", "json", "less", "lisp", "lua", "makefile", "matlab", "mysql", "objectivec", "pascal", "perl", "pgsql", "php", "python", "prql", "r", "ruby", "rust", "sass", "scala", "scss", "sh", "smarty", "sql", "sqlserver", "stylus", "svg", "typescript", "twig", "vbscript", "xml", "yaml", "zig"], Ob = (o) => o.type === "string" && jb.includes(o.format) && "ace", Bb = (o) => o.type === "string" && ["ip", "ipv4", "ipv6", "hostname"].includes(o.format) && "ip", Nb = (o) => o.type === "string" && o.format === "color" && "colorpicker", Rb = [Nb, Bb, Ob, $b, Mb, Fb, Tb, Sb, Lb, Ab, Db, Eb, kb, Cb, wb, _b, xb, yb, vb, bb, gb, fb, mb, pb, cb, ub, hb, lb, db];
|
|
5094
|
-
function
|
|
5094
|
+
function Jp(o) {
|
|
5095
5095
|
return !(o === null || typeof o != "object" || o.nodeType || o === o.window || o.constructor && !jr(o.constructor.prototype, "isPrototypeOf"));
|
|
5096
5096
|
}
|
|
5097
|
-
function
|
|
5098
|
-
return
|
|
5097
|
+
function Qp(o) {
|
|
5098
|
+
return Jp(o) ? ct({}, o) : Array.isArray(o) ? o.map(Qp) : o;
|
|
5099
5099
|
}
|
|
5100
5100
|
function ct(o, ...e) {
|
|
5101
5101
|
return e.forEach((i) => {
|
|
5102
5102
|
i && Object.keys(i).forEach((r) => {
|
|
5103
|
-
i[r] &&
|
|
5103
|
+
i[r] && Jp(i[r]) ? (jr(o, r) || (o[r] = {}), ct(o[r], i[r])) : Array.isArray(i[r]) ? o[r] = Qp(i[r]) : o[r] = i[r];
|
|
5104
5104
|
});
|
|
5105
5105
|
}), o;
|
|
5106
5106
|
}
|
|
@@ -5108,8 +5108,8 @@ function ln(o, e) {
|
|
|
5108
5108
|
const i = document.createEvent("HTMLEvents");
|
|
5109
5109
|
i.initEvent(e, !0, !0), o.dispatchEvent(i);
|
|
5110
5110
|
}
|
|
5111
|
-
function
|
|
5112
|
-
return o && (o.toString() === "[object ShadowRoot]" ? o :
|
|
5111
|
+
function Kp(o) {
|
|
5112
|
+
return o && (o.toString() === "[object ShadowRoot]" ? o : Kp(o.parentNode));
|
|
5113
5113
|
}
|
|
5114
5114
|
function jr(o, e) {
|
|
5115
5115
|
return o && Object.prototype.hasOwnProperty.call(o, e);
|
|
@@ -6280,7 +6280,7 @@ class Jb extends dr {
|
|
|
6280
6280
|
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), super.destroy();
|
|
6281
6281
|
}
|
|
6282
6282
|
}
|
|
6283
|
-
class
|
|
6283
|
+
class Xp extends dr {
|
|
6284
6284
|
constructor(e, i) {
|
|
6285
6285
|
super(e, i), this.active = !1, this.isUiOnly = !0, this.parent && this.parent.schema && (Array.isArray(this.parent.schema.required) ? this.parent.schema.required.includes(this.key) || this.parent.schema.required.push(this.key) : this.parent.schema.required = [this.key]);
|
|
6286
6286
|
}
|
|
@@ -6493,7 +6493,7 @@ class ua extends dr {
|
|
|
6493
6493
|
}
|
|
6494
6494
|
}
|
|
6495
6495
|
const Kb = { ".choices > *": "box-sizing:border-box" };
|
|
6496
|
-
class
|
|
6496
|
+
class em extends ua {
|
|
6497
6497
|
setValue(e, i) {
|
|
6498
6498
|
if (this.choices_instance) {
|
|
6499
6499
|
let r = this.typecast(e || "");
|
|
@@ -6527,7 +6527,7 @@ class Jp extends ua {
|
|
|
6527
6527
|
this.choices_instance && (this.choices_instance.destroy(), this.choices_instance = null), super.destroy();
|
|
6528
6528
|
}
|
|
6529
6529
|
}
|
|
6530
|
-
|
|
6530
|
+
em.rules = Kb;
|
|
6531
6531
|
class Xb extends Or {
|
|
6532
6532
|
build() {
|
|
6533
6533
|
if (super.build(), !!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 && typeof this.options.flatpickr == "object")) {
|
|
@@ -6777,7 +6777,7 @@ class iv extends dr {
|
|
|
6777
6777
|
this.refreshValue();
|
|
6778
6778
|
}
|
|
6779
6779
|
}
|
|
6780
|
-
class rv extends
|
|
6780
|
+
class rv extends Xp {
|
|
6781
6781
|
build() {
|
|
6782
6782
|
this.options.compact = !1, this.header = this.label = this.theme.getLabelLike(this.getTitle()), this.description = this.theme.getDescription(this.schema.description || ""), this.control = this.theme.getFormControl(this.label, this.description, null), this.container.appendChild(this.control);
|
|
6783
6783
|
}
|
|
@@ -6794,7 +6794,7 @@ class rv extends Yp {
|
|
|
6794
6794
|
return !1;
|
|
6795
6795
|
}
|
|
6796
6796
|
}
|
|
6797
|
-
class
|
|
6797
|
+
class tm extends Or {
|
|
6798
6798
|
build() {
|
|
6799
6799
|
if (super.build(), typeof this.schema.minimum < "u") {
|
|
6800
6800
|
let { minimum: e } = this.schema;
|
|
@@ -6824,7 +6824,7 @@ class Qp extends Or {
|
|
|
6824
6824
|
return Ib(this.value) ? parseFloat(this.value) : this.value;
|
|
6825
6825
|
}
|
|
6826
6826
|
}
|
|
6827
|
-
class
|
|
6827
|
+
class im extends tm {
|
|
6828
6828
|
getNumColumns() {
|
|
6829
6829
|
return 2;
|
|
6830
6830
|
}
|
|
@@ -6929,7 +6929,7 @@ function dv(o, e, i, r) {
|
|
|
6929
6929
|
}];
|
|
6930
6930
|
}
|
|
6931
6931
|
}
|
|
6932
|
-
class
|
|
6932
|
+
class rm {
|
|
6933
6933
|
constructor(e, i, r, s) {
|
|
6934
6934
|
this.jsoneditor = e, this.schema = i || this.jsoneditor.schema, this.options = r || {}, this.translate = this.jsoneditor.translate || s.translate, this.translateProperty = this.jsoneditor.translateProperty || s.translateProperty, this.defaults = s, this._validateSubSchema = {
|
|
6935
6935
|
dependentRequired(d, u, p) {
|
|
@@ -7611,7 +7611,7 @@ class hv extends dr {
|
|
|
7611
7611
|
this.jsoneditor.options.custom_validators && (i.custom_validators = this.jsoneditor.options.custom_validators), this.switcher_options = this.theme.getSwitcherOptions(this.switcher), this.types.forEach((r, s) => {
|
|
7612
7612
|
this.editors[s] = !1;
|
|
7613
7613
|
let d;
|
|
7614
|
-
typeof r == "string" ? (d = ct({}, this.schema), d.type = r) : (d = ct({}, this.schema, r), r.required && Array.isArray(r.required) && this.schema.required && Array.isArray(this.schema.required) && (d.required = this.schema.required.concat(r.required))), this.validators[s] = new
|
|
7614
|
+
typeof r == "string" ? (d = ct({}, this.schema), d.type = r) : (d = ct({}, this.schema, r), r.required && Array.isArray(r.required) && this.schema.required && Array.isArray(this.schema.required) && (d.required = this.schema.required.concat(r.required))), this.validators[s] = new rm(this.jsoneditor, d, i, this.defaults);
|
|
7615
7615
|
}), this.jsoneditor.on("change", () => {
|
|
7616
7616
|
this.switchIf();
|
|
7617
7617
|
}), this.switchEditor(0);
|
|
@@ -7697,7 +7697,7 @@ class uv extends dr {
|
|
|
7697
7697
|
}
|
|
7698
7698
|
}
|
|
7699
7699
|
const cv = { ".je-object__title": "display:inline-block", ".je-object__controls": "margin:0%200%200%2010px", ".je-object__container": "position:relative", ".je-object__property-checkbox": "margin:0;height:auto", ".property-selector": "width:295px;max-height:160px;padding:5px%200;overflow-y:auto;overflow-x:hidden;padding-left:5px", ".property-selector-input": "width:220px;margin-bottom:0;display:inline-block", ".json-editor-btntype-toggle": "margin:0%2010px%200%200", ".je-edit-json--textarea": "height:170px;width:300px;display:block" };
|
|
7700
|
-
class
|
|
7700
|
+
class nm extends dr {
|
|
7701
7701
|
constructor(e, i, r) {
|
|
7702
7702
|
super(e, i), this.currentDepth = r;
|
|
7703
7703
|
}
|
|
@@ -8113,7 +8113,7 @@ class em extends dr {
|
|
|
8113
8113
|
});
|
|
8114
8114
|
}
|
|
8115
8115
|
}
|
|
8116
|
-
|
|
8116
|
+
nm.rules = cv;
|
|
8117
8117
|
class pv extends ua {
|
|
8118
8118
|
preBuild() {
|
|
8119
8119
|
super.preBuild();
|
|
@@ -8325,7 +8325,7 @@ class bv extends Or {
|
|
|
8325
8325
|
this.signaturePad.off(), delete this.signaturePad;
|
|
8326
8326
|
}
|
|
8327
8327
|
}
|
|
8328
|
-
class
|
|
8328
|
+
class sm extends Or {
|
|
8329
8329
|
setValue(e, i, r) {
|
|
8330
8330
|
const s = super.setValue(e, i, r);
|
|
8331
8331
|
s !== void 0 && s.changed && this.simplemde_instance && this.simplemde_instance.value(s.value);
|
|
@@ -8370,7 +8370,7 @@ class tm extends Or {
|
|
|
8370
8370
|
}
|
|
8371
8371
|
}
|
|
8372
8372
|
const vv = { ".starrating": "direction:rtl;display:inline-block;white-space:nowrap", ".starrating > input": "display:none", ".starrating > label:before": "content:'%5C2606';margin:1px;font-size:18px;font-style:normal;font-weight:400;line-height:1;font-family:'Arial';display:inline-block", ".starrating > label": "color:%23888;cursor:pointer;margin:8px%200%202px%200", ".starrating > label.starrating-display-enabled": "margin:1px%200%200%200", ".starrating > input:checked ~ label": "color:%23ffca08", ".starrating:not(.readonly) > input:hover ~ label": "color:%23ffca08", ".starrating > input:checked ~ label:before": "content:'%5C2605';text-shadow:0%200%201px%20rgba(0%2C20%2C20%2C1)", ".starrating:not(.readonly) > input:hover ~ label:before": "content:'%5C2605';text-shadow:0%200%201px%20rgba(0%2C20%2C20%2C1)", ".starrating .starrating-display": "position:relative;direction:rtl;text-align:center;font-size:10px;line-height:0px" };
|
|
8373
|
-
class
|
|
8373
|
+
class om extends Or {
|
|
8374
8374
|
build() {
|
|
8375
8375
|
if (this.options.compact || (this.header = this.label = this.theme.getLabelLike(this.getTitle(), this.isRequired())), this.schema.description && (this.description = this.theme.getFormInputDescription(this.translateProperty(this.schema.description))), this.options.infoText && (this.infoButton = this.theme.getInfoButton(this.translateProperty(this.options.infoText))), this.options.compact && this.container.classList.add("compact"), this.ratingContainer = document.createElement("div"), this.ratingContainer.classList.add("starrating"), this.schema.enum === void 0) {
|
|
8376
8376
|
let r = this.schema.maximum ? this.schema.maximum : 5;
|
|
@@ -8431,8 +8431,8 @@ class im extends Or {
|
|
|
8431
8431
|
super.setValue(this.value);
|
|
8432
8432
|
}
|
|
8433
8433
|
}
|
|
8434
|
-
|
|
8435
|
-
class yv extends
|
|
8434
|
+
om.rules = vv;
|
|
8435
|
+
class yv extends im {
|
|
8436
8436
|
build() {
|
|
8437
8437
|
super.build(), this.input.setAttribute("type", "number"), this.input.getAttribute("step") || this.input.setAttribute("step", "1");
|
|
8438
8438
|
const e = this.theme.getStepperButtons(this.input);
|
|
@@ -8873,38 +8873,38 @@ const fl = {
|
|
|
8873
8873
|
arraySelectize: Gb,
|
|
8874
8874
|
autocomplete: Yb,
|
|
8875
8875
|
base64: Jb,
|
|
8876
|
-
button:
|
|
8876
|
+
button: Xp,
|
|
8877
8877
|
checkbox: Qb,
|
|
8878
|
-
choices:
|
|
8878
|
+
choices: em,
|
|
8879
8879
|
datetime: Xb,
|
|
8880
8880
|
describedBy: ev,
|
|
8881
8881
|
enum: tv,
|
|
8882
8882
|
hidden: iv,
|
|
8883
8883
|
info: rv,
|
|
8884
|
-
integer:
|
|
8884
|
+
integer: im,
|
|
8885
8885
|
ip: nv,
|
|
8886
8886
|
jodit: sv,
|
|
8887
8887
|
multiple: hv,
|
|
8888
8888
|
multiselect: wl,
|
|
8889
8889
|
null: uv,
|
|
8890
|
-
number:
|
|
8891
|
-
object:
|
|
8890
|
+
number: tm,
|
|
8891
|
+
object: nm,
|
|
8892
8892
|
radio: pv,
|
|
8893
8893
|
sceditor: mv,
|
|
8894
8894
|
select: ua,
|
|
8895
8895
|
select2: fv,
|
|
8896
8896
|
selectize: gv,
|
|
8897
8897
|
signature: bv,
|
|
8898
|
-
simplemde:
|
|
8899
|
-
starrating:
|
|
8898
|
+
simplemde: sm,
|
|
8899
|
+
starrating: om,
|
|
8900
8900
|
stepper: yv,
|
|
8901
8901
|
string: Or,
|
|
8902
8902
|
table: xv,
|
|
8903
8903
|
upload: wv,
|
|
8904
8904
|
uuid: _v,
|
|
8905
8905
|
colorpicker: Cv
|
|
8906
|
-
}, kv = "html", Ev = "default", Dv = {}, Av = {}, Lv = {}, Sv = {},
|
|
8907
|
-
|
|
8906
|
+
}, kv = "html", Ev = "default", Dv = {}, Av = {}, Lv = {}, Sv = {}, am = {}, Tv = [], lh = "en", Fv = lh;
|
|
8907
|
+
am.en = {
|
|
8908
8908
|
/**
|
|
8909
8909
|
* When a property is not set
|
|
8910
8910
|
*/
|
|
@@ -9291,7 +9291,7 @@ const Ov = {
|
|
|
9291
9291
|
templates: Lv,
|
|
9292
9292
|
iconlibs: Sv,
|
|
9293
9293
|
editors: fl,
|
|
9294
|
-
languages:
|
|
9294
|
+
languages: am,
|
|
9295
9295
|
resolvers: Rb,
|
|
9296
9296
|
custom_validators: Tv,
|
|
9297
9297
|
default_language: lh,
|
|
@@ -9946,7 +9946,7 @@ const vy = {
|
|
|
9946
9946
|
// materialicons: materialiconsIconlib,
|
|
9947
9947
|
openiconic: uy,
|
|
9948
9948
|
spectre: my
|
|
9949
|
-
},
|
|
9949
|
+
}, Fc = [
|
|
9950
9950
|
"matches",
|
|
9951
9951
|
"webkitMatchesSelector",
|
|
9952
9952
|
"mozMatchesSelector",
|
|
@@ -10222,8 +10222,8 @@ class Fn {
|
|
|
10222
10222
|
}
|
|
10223
10223
|
closest(e, i) {
|
|
10224
10224
|
for (; e && e !== document; )
|
|
10225
|
-
if (e[
|
|
10226
|
-
if (e[
|
|
10225
|
+
if (e[Fc]) {
|
|
10226
|
+
if (e[Fc](i))
|
|
10227
10227
|
return e;
|
|
10228
10228
|
e = e.parentNode;
|
|
10229
10229
|
} else
|
|
@@ -10324,7 +10324,7 @@ class Fn {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
10326
|
const yy = { ".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" };
|
|
10327
|
-
class
|
|
10327
|
+
class lm extends Fn {
|
|
10328
10328
|
getFormInputLabel(e, i) {
|
|
10329
10329
|
const r = super.getFormInputLabel(e, i);
|
|
10330
10330
|
return r.classList.add("je-form-input-label"), r;
|
|
@@ -10360,9 +10360,9 @@ class nm extends Fn {
|
|
|
10360
10360
|
e.style && (e.style.borderColor = ""), e.errmsg && (e.errmsg.style.display = "none");
|
|
10361
10361
|
}
|
|
10362
10362
|
}
|
|
10363
|
-
|
|
10363
|
+
lm.rules = yy;
|
|
10364
10364
|
const xy = {};
|
|
10365
|
-
class
|
|
10365
|
+
class dm extends Fn {
|
|
10366
10366
|
getSelectInput(e, i) {
|
|
10367
10367
|
const r = super.getSelectInput(e);
|
|
10368
10368
|
return r.classList.add("form-control"), r;
|
|
@@ -10508,7 +10508,7 @@ class sm extends Fn {
|
|
|
10508
10508
|
return r;
|
|
10509
10509
|
}
|
|
10510
10510
|
}
|
|
10511
|
-
|
|
10511
|
+
dm.rules = xy;
|
|
10512
10512
|
const wy = { ".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" }, _y = {
|
|
10513
10513
|
disable_theme_rules: !1,
|
|
10514
10514
|
input_size: "normal",
|
|
@@ -10528,7 +10528,7 @@ const wy = { ".jsoneditor-twbs4-text-button": "background:none;padding:0;border:
|
|
|
10528
10528
|
tooltip: "bootstrap"
|
|
10529
10529
|
/* how to display tooltips (infoText). Can be `browser` for native `title`, `css` for simple CSS Styling, or `bootstrap` for TWBS/Popper.js handling */
|
|
10530
10530
|
};
|
|
10531
|
-
class
|
|
10531
|
+
class hm extends Fn {
|
|
10532
10532
|
constructor(e) {
|
|
10533
10533
|
super(e, _y);
|
|
10534
10534
|
}
|
|
@@ -10787,7 +10787,7 @@ class om extends Fn {
|
|
|
10787
10787
|
return r;
|
|
10788
10788
|
}
|
|
10789
10789
|
}
|
|
10790
|
-
|
|
10790
|
+
hm.rules = wy;
|
|
10791
10791
|
const Cy = { ".form-group": "margin-bottom:1rem", ".form-text": "display:block", ".jsoneditor-twbs5-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" }, ky = {
|
|
10792
10792
|
disable_theme_rules: !1,
|
|
10793
10793
|
input_size: "normal",
|
|
@@ -10805,7 +10805,7 @@ const Cy = { ".form-group": "margin-bottom:1rem", ".form-text": "display:block",
|
|
|
10805
10805
|
tooltip: "bootstrap"
|
|
10806
10806
|
/* how to display tooltips (infoText). Can be `browser` for native `title`, `css` for simple CSS Styling, or `bootstrap` for TWBS/Popper.js handling */
|
|
10807
10807
|
};
|
|
10808
|
-
class
|
|
10808
|
+
class um extends Fn {
|
|
10809
10809
|
constructor(e) {
|
|
10810
10810
|
super(e, ky);
|
|
10811
10811
|
}
|
|
@@ -11062,8 +11062,8 @@ class am extends Fn {
|
|
|
11062
11062
|
return r;
|
|
11063
11063
|
}
|
|
11064
11064
|
}
|
|
11065
|
-
|
|
11066
|
-
class
|
|
11065
|
+
um.rules = Cy;
|
|
11066
|
+
class cm extends Fn {
|
|
11067
11067
|
getTable() {
|
|
11068
11068
|
const e = super.getTable();
|
|
11069
11069
|
return e.setAttribute("cellpadding", 5), e.setAttribute("cellspacing", 0), e;
|
|
@@ -11138,9 +11138,9 @@ class lm extends Fn {
|
|
|
11138
11138
|
e.tab.classList.add("ui-widget-header"), e.tab.classList.remove("ui-state-active"), typeof e.rowPane < "u" ? e.rowPane.style.display = "none" : e.container.style.display = "none";
|
|
11139
11139
|
}
|
|
11140
11140
|
}
|
|
11141
|
-
|
|
11141
|
+
cm.rules = { 'div[data-schemaid="root"]:after': 'position:relative;color:red;margin:10px 0;font-weight:600;display:block;width:100%;text-align:center;content:"This is an old JSON-Editor 1.x Theme and might not display elements correctly when used with the 2.x version"' };
|
|
11142
11142
|
const Ey = { ".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" };
|
|
11143
|
-
class
|
|
11143
|
+
class pm extends Fn {
|
|
11144
11144
|
addInputError(e, i) {
|
|
11145
11145
|
if (e.errmsg)
|
|
11146
11146
|
e.errmsg.style.display = "block";
|
|
@@ -11154,7 +11154,7 @@ class dm extends Fn {
|
|
|
11154
11154
|
e.style && (e.style.borderColor = ""), e.errmsg && (e.errmsg.style.display = "none");
|
|
11155
11155
|
}
|
|
11156
11156
|
}
|
|
11157
|
-
|
|
11157
|
+
pm.rules = Ey;
|
|
11158
11158
|
const Dy = { "*": "--primary-color:%235755d9;--gray-color:%23bcc3ce;--light-color:%23fff", ".slider:focus": "box-shadow:none", "h4 > label + .btn-group": "margin-left:1rem", ".text-right > button": "margin-right:0%20!important", ".text-left > button": "margin-left:0%20!important", ".property-selector": "font-size:0.7rem;font-weight:normal;max-height:260px%20!important;width:395px%20!important", ".property-selector .form-checkbox": "margin:0", textarea: "width:100%25;min-height:2rem;resize:vertical", table: "border-collapse:collapse", ".table td": "padding:0.4rem%200.4rem", ".mr-5": "margin-right:1rem%20!important", "div[data-schematype]:not([data-schematype='object'])": "transition:0.5s", "div[data-schematype]:not([data-schematype='object']):hover": "background-color:%23eee", ".je-table-border td": "border:0.05rem%20solid%20%23dadee4%20!important", ".btn-info": "font-size:0.5rem;font-weight:bold;height:0.8rem;padding:0.15rem%200;line-height:0.8;margin:0.3rem%200%200.3rem%200.1rem", ".je-label + select": "min-width:5rem", ".je-label": "font-weight:600", ".btn-action.btn-info": "width:0.8rem", ".je-border": "border:0.05rem%20solid%20%23dadee4", ".je-panel": "padding:0.2rem;margin:0.2rem;background-color:rgba(218%2C%20222%2C%20228%2C%200.1)", ".je-panel-top": "padding:0.2rem;margin:0.2rem;background-color:rgba(218%2C%20222%2C%20228%2C%200.1)", ".required:after": "content:%22%20*%22;color:red;font:inherit", ".je-align-bottom": "margin-top:auto", ".je-desc": "font-size:smaller;margin:0.2rem%200", ".je-upload-preview img": "float:left;margin:0%200.5rem%200.5rem%200;max-width:100%25;max-height:5rem;border:3px%20solid%20white;box-shadow:0px%200px%208px%20rgba(0%2C%200%2C%200%2C%200.3);box-sizing:border-box", ".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", ".columns .container.je-noindent": "padding-left:0;padding-right:0", ".selectize-control.multi .item": "background:var(--primary-color)%20!important", ".select2-container--default .select2-selection--single .select2-selection__arrow": "display:none", ".select2-container--default .select2-selection--single": "border:none", ".select2-container .select2-selection--single .select2-selection__rendered": "padding:0", ".select2-container .select2-search--inline .select2-search__field": "margin-top:0", ".select2-container--default.select2-container--focus .select2-selection--multiple": "border:0.05rem%20solid%20var(--gray-color)", ".select2-container--default .select2-selection--multiple .select2-selection__choice": "margin:0.4rem%200.2rem%200.2rem%200;padding:2px%205px;background-color:var(--primary-color);color:var(--light-color)", ".select2-container--default .select2-search--inline .select2-search__field": "line-height:normal", ".choices": "margin-bottom:auto", ".choices__list--multiple .choices__item": "border:none;background-color:var(--primary-color);color:var(--light-color)", ".choices[data-type*='select-multiple'] .choices__button": "border-left:0.05rem%20solid%20%232826a6", ".choices__inner": "font-size:inherit;min-height:20px;padding:4px%207.5px%204px%203.75px", ".choices[data-type*='select-one'] .choices__inner": "padding-bottom:4px", ".choices__list--dropdown .choices__item": "font-size:inherit" }, Ay = {
|
|
11159
11159
|
disable_theme_rules: !1,
|
|
11160
11160
|
/* Disable creation of Inline Style Rules */
|
|
@@ -11173,7 +11173,7 @@ const Dy = { "*": "--primary-color:%235755d9;--gray-color:%23bcc3ce;--light-colo
|
|
|
11173
11173
|
input_size: "normal"
|
|
11174
11174
|
/* Size of input and select elements. "small", "normal", "large" */
|
|
11175
11175
|
};
|
|
11176
|
-
class
|
|
11176
|
+
class mm extends Fn {
|
|
11177
11177
|
constructor(e) {
|
|
11178
11178
|
super(e, Ay);
|
|
11179
11179
|
}
|
|
@@ -11378,7 +11378,7 @@ class hm extends Fn {
|
|
|
11378
11378
|
e.errmsg && (e.errmsg.classList.add("d-hide"), e.controlgroup.classList.remove("has-error"));
|
|
11379
11379
|
}
|
|
11380
11380
|
}
|
|
11381
|
-
|
|
11381
|
+
mm.rules = Dy;
|
|
11382
11382
|
const Ly = { ".slider": "-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;display:block;border:none;height:1.2rem;width:100%25", ".slider:focus": "box-shadow:0%200%200%200%20rgba(87%2C%2085%2C%20217%2C%200.2);outline:none", ".slider.tooltip:not([data-tooltip])::after": "content:attr(value)", ".slider::-webkit-slider-thumb": "-webkit-appearance:none;background:%23f17405;border-radius:100%25;height:0.6rem;margin-top:-0.25rem;transition:transform%200.2s;width:0.6rem", ".slider:active::-webkit-slider-thumb": "transform:scale(1.25);outline:none", ".slider::-webkit-slider-runnable-track": "background:%23b2b4b6;border-radius:0.1rem;height:0.1rem;width:100%25", "a.tooltips": "position:relative;display:inline", "a.tooltips span": "position:absolute;white-space:nowrap;width:auto;padding-left:1rem;padding-right:1rem;color:%23ffffff;background:rgba(56%2C%2056%2C%2056%2C%200.85);height:1.5rem;line-height:1.5rem;text-align:center;visibility:hidden;border-radius:3px", "a.tooltips span:after": "content:%22%22;position:absolute;top:50%25;left:100%25;margin-top:-5px;width:0;height:0;border-left:5px%20solid%20rgba(56%2C%2056%2C%2056%2C%200.85);border-top:5px%20solid%20transparent;border-bottom:5px%20solid%20transparent", "a:hover.tooltips span": "visibility:visible;opacity:0.9;font-size:0.8rem;right:100%25;top:50%25;margin-top:-12px;margin-right:10px;z-index:999", ".json-editor-btntype-properties + div": "font-size:0.8rem;font-weight:normal", textarea: "width:100%25;min-height:2rem;resize:vertical", table: "width:100%25;border-collapse:collapse", ".table td": "padding:0rem%200rem", "div[data-schematype]:not([data-schematype='object'])": "transition:0.5s", "div[data-schematype]:not([data-schematype='object']):hover": "background-color:%23e6f4fe", "div[data-schemaid='root']": "position:relative;width:inherit;display:inherit;overflow-x:hidden;z-index:10", "select[multiple]": "height:auto", "select[multiple].from-select": "height:auto", ".je-table-zebra:nth-child(even)": "background-color:%23f2f2f2", ".je-table-border": "border:0.5px%20solid%20black", ".je-table-hdiv": "border-bottom:1px%20solid%20black", ".je-border": "border:0.05rem%20solid%20%233182ce", ".je-panel": "width:inherit;padding:0.2rem;margin:0.2rem;background-color:rgba(218%2C%20222%2C%20228%2C%200.1)", ".je-panel-top": "width:100%25;padding:0.2rem;margin:0.2rem;background-color:rgba(218%2C%20222%2C%20228%2C%200.1)", ".required:after": "content:%22%20*%22;color:red;font:inherit;font-weight:bold", ".je-desc": "font-size:smaller;margin:0.2rem%200", ".container-xl.je-noindent": "padding-left:0;padding-right:0", ".json-editor-btntype-add": "color:white;margin:0.3rem;padding:0.3rem%200.8rem;background-color:%234299e1;box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-webkit-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-moz-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2)", ".json-editor-btntype-deletelast": "color:white;margin:0.3rem;padding:0.3rem%200.8rem;background-color:%23e53e3e;box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-webkit-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-moz-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2)", ".json-editor-btntype-deleteall": "color:white;margin:0.3rem;padding:0.3rem%200.8rem;background-color:%23000000;box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-webkit-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-moz-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2)", ".json-editor-btn-save": "float:right;color:white;margin:0.3rem;padding:0.3rem%200.8rem;background-color:%232b6cb0;box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-webkit-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-moz-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2)", ".json-editor-btn-back": "color:white;margin:0.3rem;padding:0.3rem%200.8rem;background-color:%232b6cb0;box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-webkit-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2);-moz-box-shadow:3px%203px%205px%201px%20rgba(4%2C%204%2C%204%2C%200.2)", ".json-editor-btntype-delete": "color:%23e53e3e;background-color:rgba(218%2C%20222%2C%20228%2C%200.1);margin:0.03rem;padding:0.1rem", ".json-editor-btntype-move": "color:%23000000;background-color:rgba(218%2C%20222%2C%20228%2C%200.1);margin:0.03rem;padding:0.1rem", ".json-editor-btn-collapse": "padding:0em%200.8rem;font-size:1.3rem;color:%23e53e3e;background-color:rgba(218%2C%20222%2C%20228%2C%200.1)", ".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" }, Sy = {
|
|
11383
11383
|
disable_theme_rules: !1,
|
|
11384
11384
|
/* Disable creation of Inline Style Rules */
|
|
@@ -11400,7 +11400,7 @@ const Ly = { ".slider": "-webkit-appearance:none;-moz-appearance:none;appearance
|
|
|
11400
11400
|
/* Size of input and select elements. "small", "normal", "large" */
|
|
11401
11401
|
enable_compact: !1
|
|
11402
11402
|
};
|
|
11403
|
-
class
|
|
11403
|
+
class fm extends Fn {
|
|
11404
11404
|
constructor(e) {
|
|
11405
11405
|
super(e, Sy);
|
|
11406
11406
|
}
|
|
@@ -11607,23 +11607,23 @@ class um extends Fn {
|
|
|
11607
11607
|
return r;
|
|
11608
11608
|
}
|
|
11609
11609
|
}
|
|
11610
|
-
|
|
11610
|
+
fm.rules = Ly;
|
|
11611
11611
|
const Ty = {
|
|
11612
|
-
html:
|
|
11612
|
+
html: lm,
|
|
11613
11613
|
// bootstrap2: bootstrap2Theme,
|
|
11614
|
-
bootstrap3:
|
|
11615
|
-
bootstrap4:
|
|
11616
|
-
bootstrap5:
|
|
11614
|
+
bootstrap3: dm,
|
|
11615
|
+
bootstrap4: hm,
|
|
11616
|
+
bootstrap5: um,
|
|
11617
11617
|
// foundation: foundationTheme,
|
|
11618
11618
|
// foundation3: foundation3Theme,
|
|
11619
11619
|
// foundation4: foundation4Theme,
|
|
11620
11620
|
// foundation5: foundation5Theme,
|
|
11621
11621
|
// foundation6: foundation6Theme,
|
|
11622
|
-
jqueryui:
|
|
11623
|
-
barebones:
|
|
11622
|
+
jqueryui: cm,
|
|
11623
|
+
barebones: pm,
|
|
11624
11624
|
// materialize: materializeTheme,
|
|
11625
|
-
spectre:
|
|
11626
|
-
tailwind:
|
|
11625
|
+
spectre: mm,
|
|
11626
|
+
tailwind: fm
|
|
11627
11627
|
}, Fy = { ".table-responsive .autocomplete-result-list": "position:relative%20!important", ".je-float-right-linkholder": "float:right;margin-left:10px", ".je-modal": "background-color:white;border:1px%20solid%20black;box-shadow:3px%203px%20black;position:absolute;z-index:10", ".je-infobutton-icon": "font-size:16px;font-weight:bold;padding:0.25rem;position:relative;display:inline-block", ".je-infobutton-tooltip": "font-size:12px;font-weight:normal;font-family:sans-serif;visibility:hidden;background-color:rgba(50%2C%2050%2C%2050%2C%200.75);margin:0%200.25rem;color:%23fafafa;padding:0.5rem%201rem;border-radius:0.25rem;width:20rem;position:absolute", ".je-not-loaded": "pointer-events:none", ".je-header": "display:inline-block", ".je-upload-preview img": "float:left;margin:0%200.5rem%200.5rem%200;max-width:100%25;max-height:5rem", ".je-checkbox": "display:inline-block;width:auto", ".je-checkbox-control--compact": "display:inline-block;margin-right:1rem", ".je-radio": "display:inline-block;width:auto", ".je-radio-control--compact": "display:inline-block;margin-right:1rem", ".je-switcher": "background-color:transparent;display:inline-block;font-style:italic;font-weight:normal;height:auto;width:auto;margin-bottom:0;margin-left:5px;padding:0%200%200%203px", ".je-textarea": "width:100%25;height:300px;box-sizing:border-box", ".je-range-control": "text-align:center", ".je-indented-panel": "padding-left:10px;margin-left:10px;border-left:1px%20solid%20%23ccc", ".je-indented-panel--top": "padding-left:10px;margin-left:10px", ".je-tabholder": "float:left;width:130px", ".je-tabholder .content": "margin-left:120px", ".je-tabholder--top": "margin-left:10px", ".je-tabholder--clear": "clear:both", ".je-tab": "border:1px%20solid%20%23ccc;border-width:1px%200%201px%201px;text-align:center;line-height:30px;border-radius:5px;border-bottom-right-radius:0;border-top-right-radius:0;font-weight:bold;cursor:pointer", ".je-tab--top": "float:left;border:1px%20solid%20%23ccc;border-width:1px%201px%200px%201px;text-align:center;line-height:30px;border-radius:5px;padding-left:5px;padding-right:5px;border-bottom-right-radius:0;border-bottom-left-radius:0;font-weight:bold;cursor:pointer", ".je-block-link": "display:block", ".je-media": "width:100%25" };
|
|
11628
11628
|
class ni {
|
|
11629
11629
|
constructor(e, i = {}) {
|
|
@@ -11634,7 +11634,7 @@ class ni {
|
|
|
11634
11634
|
this.element.setAttribute("data-theme", r), this.element.classList.add("je-not-loaded"), this.element.classList.remove("je-ready"), this.theme = new s(this);
|
|
11635
11635
|
const d = ct(Fy, this.getEditorsRules()), u = (m, b, w) => w ? this.addNewStyleRulesToShadowRoot(m, b, w) : this.addNewStyleRules(m, b);
|
|
11636
11636
|
if (!this.theme.options.disable_theme_rules) {
|
|
11637
|
-
const m =
|
|
11637
|
+
const m = Kp(this.element);
|
|
11638
11638
|
u("default", d, m), typeof s.rules < "u" && u(r, s.rules, m);
|
|
11639
11639
|
}
|
|
11640
11640
|
const p = ni.defaults.iconlibs[this.options.iconlib || ni.defaults.iconlib];
|
|
@@ -11648,7 +11648,7 @@ class ni {
|
|
|
11648
11648
|
this.trigger("allSchemasLoaded");
|
|
11649
11649
|
}, this.expandSchema = (p) => i.expandSchema(p), this.expandRefs = (p, m) => i.expandRefs(p, m);
|
|
11650
11650
|
const r = document.location.toString(), s = await i.load(this.schema, e, r), d = this.options.custom_validators ? { custom_validators: this.options.custom_validators } : {};
|
|
11651
|
-
this.validator = new
|
|
11651
|
+
this.validator = new rm(this, null, d, ni.defaults);
|
|
11652
11652
|
const u = this.getEditorClass(s);
|
|
11653
11653
|
this.root = this.createEditor(u, {
|
|
11654
11654
|
jsoneditor: this,
|
|
@@ -11811,13 +11811,13 @@ Object.assign(ni.defaults.editors, fl);
|
|
|
11811
11811
|
Object.assign(ni.defaults.templates, qv);
|
|
11812
11812
|
Object.assign(ni.defaults.iconlibs, vy);
|
|
11813
11813
|
var za = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
11814
|
-
function
|
|
11814
|
+
function gm(o) {
|
|
11815
11815
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
11816
11816
|
}
|
|
11817
11817
|
function Va(o) {
|
|
11818
11818
|
throw new Error('Could not dynamically require "' + o + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
11819
11819
|
}
|
|
11820
|
-
var
|
|
11820
|
+
var bm = { exports: {} };
|
|
11821
11821
|
/**
|
|
11822
11822
|
* easymde v2.18.0
|
|
11823
11823
|
* Copyright Jeroen Akkerman
|
|
@@ -13396,7 +13396,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13396
13396
|
for (var ae = 0; ae < 4; ae++) {
|
|
13397
13397
|
for (; Z && qe(x.line.text.charAt(R.coverStart + Z)); ) --Z;
|
|
13398
13398
|
for (; R.coverStart + Y < R.coverEnd && qe(x.line.text.charAt(R.coverStart + Y)); ) ++Y;
|
|
13399
|
-
if ((E = v && j < 9 && Z == 0 && Y == R.coverEnd - R.coverStart ? O.parentNode.getBoundingClientRect() :
|
|
13399
|
+
if ((E = v && j < 9 && Z == 0 && Y == R.coverEnd - R.coverStart ? O.parentNode.getBoundingClientRect() : xm(Ke(O, Z, Y).getClientRects(), k)).left || E.right || Z == 0) break;
|
|
13400
13400
|
Y = Z, Z -= 1, V = "right";
|
|
13401
13401
|
}
|
|
13402
13402
|
v && j < 11 && (E = function(Yt, Ot) {
|
|
@@ -13430,7 +13430,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13430
13430
|
}
|
|
13431
13431
|
return { node: a, start: h, end: c, collapse: f, coverStart: g, coverEnd: x };
|
|
13432
13432
|
}
|
|
13433
|
-
function
|
|
13433
|
+
function xm(t, n) {
|
|
13434
13434
|
var l = ns;
|
|
13435
13435
|
if (n == "left") for (var a = 0; a < t.length && (l = t[a]).left == l.right; a++) ;
|
|
13436
13436
|
else for (var h = t.length - 1; h >= 0 && (l = t[h]).left == l.right; h--) ;
|
|
@@ -13518,7 +13518,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13518
13518
|
if (h > c) return Cl(a.first + a.size - 1, xe(a, c).text.length, null, 1, 1);
|
|
13519
13519
|
n < 0 && (n = 0);
|
|
13520
13520
|
for (var f = xe(a, h); ; ) {
|
|
13521
|
-
var g =
|
|
13521
|
+
var g = wm(t, f, h, n, l), x = is(f, g.ch + (g.xRel > 0 || g.outside > 0 ? 1 : 0));
|
|
13522
13522
|
if (!x) return g;
|
|
13523
13523
|
var y = x.find(1);
|
|
13524
13524
|
if (y.line == h) return y;
|
|
@@ -13540,11 +13540,11 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13540
13540
|
function El(t, n, l, a) {
|
|
13541
13541
|
return !(t.bottom <= l) && (t.top > l || (a ? t.left : t.right) > n);
|
|
13542
13542
|
}
|
|
13543
|
-
function
|
|
13543
|
+
function wm(t, n, l, a, h) {
|
|
13544
13544
|
h -= W(n);
|
|
13545
13545
|
var c = ci(t, n), f = _l(n), g = 0, x = n.text.length, y = !0, k = te(n, t.doc.direction);
|
|
13546
13546
|
if (k) {
|
|
13547
|
-
var E = (t.options.lineWrapping ?
|
|
13547
|
+
var E = (t.options.lineWrapping ? Cm : _m)(t, n, l, c, k, a, h);
|
|
13548
13548
|
g = (y = E.level != 1) ? E.from : E.to - 1, x = y ? E.to : E.from - 1;
|
|
13549
13549
|
}
|
|
13550
13550
|
var R, O, Z = null, Y = null, V = F(function(Se) {
|
|
@@ -13561,7 +13561,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13561
13561
|
}
|
|
13562
13562
|
return Cl(l, V = _(n.text, V, 1), O, ae, a - R);
|
|
13563
13563
|
}
|
|
13564
|
-
function
|
|
13564
|
+
function _m(t, n, l, a, h, c, f) {
|
|
13565
13565
|
var g = F(function(E) {
|
|
13566
13566
|
var R = h[E], O = R.level != 1;
|
|
13567
13567
|
return El(Xr(t, ce(l, O ? R.to : R.from, O ? "before" : "after"), "line", n, a), c, f, !0);
|
|
@@ -13572,7 +13572,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13572
13572
|
}
|
|
13573
13573
|
return x;
|
|
13574
13574
|
}
|
|
13575
|
-
function
|
|
13575
|
+
function Cm(t, n, l, a, h, c, f) {
|
|
13576
13576
|
var g = gh(t, n, a, f), x = g.begin, y = g.end;
|
|
13577
13577
|
/\s/.test(n.text.charAt(y - 1)) && y--;
|
|
13578
13578
|
for (var k = null, E = null, R = 0; R < h.length; R++) {
|
|
@@ -13720,7 +13720,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13720
13720
|
var k = f(t, x);
|
|
13721
13721
|
k && Sl(t, k, h);
|
|
13722
13722
|
} else (y || t.options.showCursorWhenSelecting) && Sl(t, x.head, h);
|
|
13723
|
-
y ||
|
|
13723
|
+
y || km(t, x, c);
|
|
13724
13724
|
}
|
|
13725
13725
|
}
|
|
13726
13726
|
return a;
|
|
@@ -13739,7 +13739,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13739
13739
|
function ga(t, n) {
|
|
13740
13740
|
return t.top - n.top || t.left - n.left;
|
|
13741
13741
|
}
|
|
13742
|
-
function
|
|
13742
|
+
function km(t, n, l) {
|
|
13743
13743
|
var a = t.display, h = t.doc, c = document.createDocumentFragment(), f = ca(t.display), g = f.left, x = Math.max(a.sizerWidth, wn(t) - a.sizer.offsetLeft) - f.right, y = h.direction == "ltr";
|
|
13744
13744
|
function k(pe, Le, Se, Te) {
|
|
13745
13745
|
Le < 0 && (Le = 0), Le = Math.round(Le), Te = Math.round(Te), c.appendChild(le("div", null, "CodeMirror-selected", "position: absolute; left: " + pe + `px;
|
|
@@ -13962,10 +13962,10 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13962
13962
|
l == "horizontal" ? as(t, n) : go(t, n);
|
|
13963
13963
|
}, t), t.display.scrollbars.addClass && C(t.display.wrapper, t.display.scrollbars.addClass);
|
|
13964
13964
|
}
|
|
13965
|
-
var
|
|
13965
|
+
var Em = 0;
|
|
13966
13966
|
function ds(t) {
|
|
13967
13967
|
var n;
|
|
13968
|
-
t.curOp = { cm: t, viewChanged: !1, startHeight: t.doc.height, forceUpdate: !1, updateInput: 0, typing: !1, changeObjs: null, cursorActivityHandlers: null, cursorActivityCalled: 0, selectionChanged: !1, updateMaxLine: !1, scrollLeft: null, scrollTop: null, scrollToPos: null, focus: !1, id: ++
|
|
13968
|
+
t.curOp = { cm: t, viewChanged: !1, startHeight: t.doc.height, forceUpdate: !1, updateInput: 0, typing: !1, changeObjs: null, cursorActivityHandlers: null, cursorActivityCalled: 0, selectionChanged: !1, updateMaxLine: !1, scrollLeft: null, scrollTop: null, scrollToPos: null, focus: !1, id: ++Em, markArrays: null }, n = t.curOp, Bi ? Bi.ops.push(n) : n.ownsGroup = Bi = { ops: [n], delayedCallbacks: [] };
|
|
13969
13969
|
}
|
|
13970
13970
|
function hs(t) {
|
|
13971
13971
|
var n = t.curOp;
|
|
@@ -13988,35 +13988,35 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
13988
13988
|
}(n, function(l) {
|
|
13989
13989
|
for (var a = 0; a < l.ops.length; a++) l.ops[a].cm.curOp = null;
|
|
13990
13990
|
(function(h) {
|
|
13991
|
-
for (var c = h.ops, f = 0; f < c.length; f++)
|
|
13992
|
-
for (var g = 0; g < c.length; g++)
|
|
13993
|
-
for (var x = 0; x < c.length; x++)
|
|
13994
|
-
for (var y = 0; y < c.length; y++)
|
|
13995
|
-
for (var k = 0; k < c.length; k++)
|
|
13991
|
+
for (var c = h.ops, f = 0; f < c.length; f++) Dm(c[f]);
|
|
13992
|
+
for (var g = 0; g < c.length; g++) Am(c[g]);
|
|
13993
|
+
for (var x = 0; x < c.length; x++) Lm(c[x]);
|
|
13994
|
+
for (var y = 0; y < c.length; y++) Sm(c[y]);
|
|
13995
|
+
for (var k = 0; k < c.length; k++) Tm(c[k]);
|
|
13996
13996
|
})(l);
|
|
13997
13997
|
});
|
|
13998
13998
|
}
|
|
13999
|
-
function
|
|
13999
|
+
function Dm(t) {
|
|
14000
14000
|
var n = t.cm, l = n.display;
|
|
14001
14001
|
(function(a) {
|
|
14002
14002
|
var h = a.display;
|
|
14003
14003
|
!h.scrollbarsClipped && h.scroller.offsetWidth && (h.nativeBarWidth = h.scroller.offsetWidth - h.scroller.clientWidth, h.heightForcer.style.height = zr(a) + "px", h.sizer.style.marginBottom = -h.nativeBarWidth + "px", h.sizer.style.borderRightWidth = zr(a) + "px", h.scrollbarsClipped = !0);
|
|
14004
14004
|
})(n), t.updateMaxLine && Ge(n), t.mustUpdate = t.viewChanged || t.forceUpdate || t.scrollTop != null || t.scrollToPos && (t.scrollToPos.from.line < l.viewFrom || t.scrollToPos.to.line >= l.viewTo) || l.maxLineChanged && n.options.lineWrapping, t.update = t.mustUpdate && new xa(n, t.mustUpdate && { top: t.scrollTop, ensure: t.scrollToPos }, t.forceUpdate);
|
|
14005
14005
|
}
|
|
14006
|
-
function
|
|
14006
|
+
function Am(t) {
|
|
14007
14007
|
t.updatedDisplay = t.mustUpdate && Ol(t.cm, t.update);
|
|
14008
14008
|
}
|
|
14009
|
-
function
|
|
14009
|
+
function Lm(t) {
|
|
14010
14010
|
var n = t.cm, l = n.display;
|
|
14011
14011
|
t.updatedDisplay && ba(n), t.barMeasure = bo(n), l.maxLineChanged && !n.options.lineWrapping && (t.adjustWidthTo = it(n, l.maxLine, l.maxLine.text.length).left + 3, n.display.sizerWidth = t.adjustWidthTo, t.barMeasure.scrollWidth = Math.max(l.scroller.clientWidth, l.sizer.offsetLeft + t.adjustWidthTo + zr(n) + n.display.barWidth), t.maxScrollLeft = Math.max(0, l.sizer.offsetLeft + t.adjustWidthTo - wn(n))), (t.updatedDisplay || t.selectionChanged) && (t.preparedSelection = l.input.prepareSelection());
|
|
14012
14012
|
}
|
|
14013
|
-
function
|
|
14013
|
+
function Sm(t) {
|
|
14014
14014
|
var n = t.cm;
|
|
14015
14015
|
t.adjustWidthTo != null && (n.display.sizer.style.minWidth = t.adjustWidthTo + "px", t.maxScrollLeft < n.doc.scrollLeft && as(n, Math.min(n.display.scroller.scrollLeft, t.maxScrollLeft), !0), n.display.maxLineChanged = !1);
|
|
14016
14016
|
var l = t.focus && t.focus == H(ht(n));
|
|
14017
14017
|
t.preparedSelection && n.display.input.showSelection(t.preparedSelection, l), (t.updatedDisplay || t.startHeight != n.doc.height) && js(n, t.barMeasure), t.updatedDisplay && Rl(n, t.barMeasure), t.selectionChanged && Tl(n), n.state.focused && t.updateInput && n.display.input.reset(t.typing), l && wh(t.cm);
|
|
14018
14018
|
}
|
|
14019
|
-
function
|
|
14019
|
+
function Tm(t) {
|
|
14020
14020
|
var n = t.cm, l = n.display, a = n.doc;
|
|
14021
14021
|
if (t.updatedDisplay && Lh(n, t.update), l.wheelStartX == null || t.scrollTop == null && t.scrollLeft == null && !t.scrollToPos || (l.wheelStartX = l.wheelStartY = null), t.scrollTop != null && kh(n, t.scrollTop, t.forceScroll), t.scrollLeft != null && as(n, t.scrollLeft, !0, !0), t.scrollToPos) {
|
|
14022
14022
|
var h = function(y, k, E, R) {
|
|
@@ -14090,9 +14090,9 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14090
14090
|
};
|
|
14091
14091
|
}
|
|
14092
14092
|
function yo(t, n) {
|
|
14093
|
-
t.doc.highlightFrontier < t.display.viewTo && t.state.highlight.set(n, Mt(
|
|
14093
|
+
t.doc.highlightFrontier < t.display.viewTo && t.state.highlight.set(n, Mt(Fm, t));
|
|
14094
14094
|
}
|
|
14095
|
-
function
|
|
14095
|
+
function Fm(t) {
|
|
14096
14096
|
var n = t.doc;
|
|
14097
14097
|
if (!(n.highlightFrontier >= t.display.viewTo)) {
|
|
14098
14098
|
var l = +/* @__PURE__ */ new Date() + t.options.workTime, a = hn(t, n.highlightFrontier), h = [];
|
|
@@ -14115,7 +14115,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14115
14115
|
var a = t.display;
|
|
14116
14116
|
this.viewport = n, this.visible = va(a, t.doc, n), this.editorIsHidden = !a.wrapper.offsetWidth, this.wrapperHeight = a.wrapper.clientHeight, this.wrapperWidth = a.wrapper.clientWidth, this.oldDisplayWidth = wn(t), this.force = l, this.dims = Dl(t), this.events = [];
|
|
14117
14117
|
};
|
|
14118
|
-
function
|
|
14118
|
+
function Mm(t) {
|
|
14119
14119
|
if (t.hasFocus()) return null;
|
|
14120
14120
|
var n = H(ht(t));
|
|
14121
14121
|
if (!n || !Ae(t.display.lineDiv, n)) return null;
|
|
@@ -14140,7 +14140,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14140
14140
|
})(t, c, f), l.viewOffset = W(xe(t.doc, l.viewFrom)), t.display.mover.style.top = l.viewOffset + "px";
|
|
14141
14141
|
var x = yh(t);
|
|
14142
14142
|
if (!g && x == 0 && !n.force && l.renderedView == l.view && (l.updateLineNumbers == null || l.updateLineNumbers >= l.viewTo)) return !1;
|
|
14143
|
-
var y =
|
|
14143
|
+
var y = Mm(t);
|
|
14144
14144
|
return x > 4 && (l.lineDiv.style.display = "none"), function(k, E, R) {
|
|
14145
14145
|
var O = k.display, Z = k.options.lineNumbers, Y = O.lineDiv, V = Y.firstChild;
|
|
14146
14146
|
function ae(We) {
|
|
@@ -14236,7 +14236,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14236
14236
|
function xo(t) {
|
|
14237
14237
|
Fh(t.display), pr(t), Sh(t);
|
|
14238
14238
|
}
|
|
14239
|
-
function
|
|
14239
|
+
function $m(t, n, l, a) {
|
|
14240
14240
|
var h = this;
|
|
14241
14241
|
this.input = l, h.scrollbarFiller = le("div", null, "CodeMirror-scrollbar-filler"), h.scrollbarFiller.setAttribute("cm-not-content", "true"), h.gutterFiller = le("div", null, "CodeMirror-gutter-filler"), h.gutterFiller.setAttribute("cm-not-content", "true"), h.lineDiv = Ee("div", null, "CodeMirror-code"), h.selectionDiv = le("div", null, null, "position: relative; z-index: 1"), h.cursorDiv = le("div", null, "CodeMirror-cursors"), h.measure = le("div", null, "CodeMirror-measure"), h.lineMeasure = le("div", null, "CodeMirror-measure"), h.lineSpace = Ee("div", [h.measure, h.lineMeasure, h.selectionDiv, h.cursorDiv, h.lineDiv], null, "position: relative; outline: none");
|
|
14242
14242
|
var c = Ee("div", [h.lineSpace], "CodeMirror-lines");
|
|
@@ -14252,7 +14252,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14252
14252
|
var n = t.wheelDeltaX, l = t.wheelDeltaY;
|
|
14253
14253
|
return n == null && t.detail && t.axis == t.HORIZONTAL_AXIS && (n = t.detail), l == null && t.detail && t.axis == t.VERTICAL_AXIS ? l = t.detail : l == null && (l = t.wheelDelta), { x: n, y: l };
|
|
14254
14254
|
}
|
|
14255
|
-
function
|
|
14255
|
+
function jm(t) {
|
|
14256
14256
|
var n = Mh(t);
|
|
14257
14257
|
return n.x *= _n, n.y *= _n, n;
|
|
14258
14258
|
}
|
|
@@ -14438,7 +14438,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14438
14438
|
}
|
|
14439
14439
|
h.done.push(l), h.generation = ++h.maxGeneration, h.lastModTime = h.lastSelTime = g, h.lastOp = h.lastSelOp = a, h.lastOrigin = h.lastSelOrigin = n.origin, f || Re(t, "historyAdded");
|
|
14440
14440
|
}
|
|
14441
|
-
function
|
|
14441
|
+
function Om(t, n, l, a) {
|
|
14442
14442
|
var h = t.history, c = a && a.origin;
|
|
14443
14443
|
l == h.lastSelOp || c && h.lastSelOrigin == c && (h.lastModTime == h.lastSelTime && h.lastOrigin == c || function(f, g, x, y) {
|
|
14444
14444
|
var k = g.charAt(0);
|
|
@@ -14455,7 +14455,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14455
14455
|
f.markedSpans && ((h || (h = n["spans_" + t.id] = {}))[c] = f.markedSpans), ++c;
|
|
14456
14456
|
});
|
|
14457
14457
|
}
|
|
14458
|
-
function
|
|
14458
|
+
function Bm(t) {
|
|
14459
14459
|
if (!t) return null;
|
|
14460
14460
|
for (var n, l = 0; l < t.length; ++l) t[l].marker.explicitlyCleared ? n || (n = t.slice(0, l)) : n && n.push(t[l]);
|
|
14461
14461
|
return n ? n.length ? n : null : t;
|
|
@@ -14464,7 +14464,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14464
14464
|
var l = function(k, E) {
|
|
14465
14465
|
var R = E["spans_" + k.id];
|
|
14466
14466
|
if (!R) return null;
|
|
14467
|
-
for (var O = [], Z = 0; Z < E.text.length; ++Z) O.push(
|
|
14467
|
+
for (var O = [], Z = 0; Z < E.text.length; ++Z) O.push(Bm(R[Z]));
|
|
14468
14468
|
return O;
|
|
14469
14469
|
}(t, n), a = Xn(t, n);
|
|
14470
14470
|
if (!l) return a;
|
|
@@ -14524,7 +14524,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14524
14524
|
h && h.ranges ? (a[a.length - 1] = n, Ea(t, n, l)) : Gi(t, n, l);
|
|
14525
14525
|
}
|
|
14526
14526
|
function Gi(t, n, l) {
|
|
14527
|
-
Ea(t, n, l),
|
|
14527
|
+
Ea(t, n, l), Om(t, t.sel, t.cm ? t.cm.curOp.id : NaN, l);
|
|
14528
14528
|
}
|
|
14529
14529
|
function Ea(t, n, l) {
|
|
14530
14530
|
(Ve(t, "beforeSelectionChange") || t.cm && Ve(t.cm, "beforeSelectionChange")) && (n = function(h, c, f) {
|
|
@@ -14959,7 +14959,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14959
14959
|
return n.parent;
|
|
14960
14960
|
});
|
|
14961
14961
|
}
|
|
14962
|
-
function
|
|
14962
|
+
function Nm(t) {
|
|
14963
14963
|
for (var n = function(a) {
|
|
14964
14964
|
var h = t[a], c = [h.primary.doc];
|
|
14965
14965
|
Pn(h.primary.doc, function(x) {
|
|
@@ -14980,11 +14980,11 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
14980
14980
|
}, Ao.prototype.find = function(t, n) {
|
|
14981
14981
|
return this.primary.find(t, n);
|
|
14982
14982
|
}, ut(Ao);
|
|
14983
|
-
var
|
|
14983
|
+
var Rm = 0, mr = function(t, n, l, a, h) {
|
|
14984
14984
|
if (!(this instanceof mr)) return new mr(t, n, l, a, h);
|
|
14985
14985
|
l == null && (l = 0), Eo.call(this, [new ko([new Vt("", null)])]), this.first = l, this.scrollTop = this.scrollLeft = 0, this.cantEdit = !1, this.cleanGeneration = 1, this.modeFrontier = this.highlightFrontier = l;
|
|
14986
14986
|
var c = ce(l, 0);
|
|
14987
|
-
this.sel = Hn(c), this.history = new _a(null), this.id = ++
|
|
14987
|
+
this.sel = Hn(c), this.history = new _a(null), this.id = ++Rm, this.modeOption = n, this.lineSep = a, this.direction = h == "rtl" ? "rtl" : "ltr", this.extend = !1, typeof t == "string" && (t = this.splitLines(t)), zl(this, { from: c, to: c, text: t }), Gi(this, Hn(c), It);
|
|
14988
14988
|
};
|
|
14989
14989
|
mr.prototype = L(Eo.prototype, { constructor: mr, iter: function(t, n, l) {
|
|
14990
14990
|
l ? this.iterN(t - this.first, n - t, l) : this.iterN(this.first, this.first + this.size, t);
|
|
@@ -15227,7 +15227,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15227
15227
|
if (t instanceof fi && (t = t.doc), this.linked) {
|
|
15228
15228
|
for (var n = 0; n < this.linked.length; ++n)
|
|
15229
15229
|
if (this.linked[n].doc == t) {
|
|
15230
|
-
this.linked.splice(n, 1), t.unlinkDoc(this),
|
|
15230
|
+
this.linked.splice(n, 1), t.unlinkDoc(this), Nm(su(this));
|
|
15231
15231
|
break;
|
|
15232
15232
|
}
|
|
15233
15233
|
}
|
|
@@ -15257,7 +15257,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15257
15257
|
}));
|
|
15258
15258
|
}) }), mr.prototype.eachLine = mr.prototype.iter;
|
|
15259
15259
|
var ou = 0;
|
|
15260
|
-
function
|
|
15260
|
+
function Hm(t) {
|
|
15261
15261
|
var n = this;
|
|
15262
15262
|
if (au(n), !Ye(n, t) && !Pr(n.display, t)) {
|
|
15263
15263
|
yt(t), v && (ou = +/* @__PURE__ */ new Date());
|
|
@@ -15312,17 +15312,17 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15312
15312
|
}
|
|
15313
15313
|
}
|
|
15314
15314
|
var du = !1;
|
|
15315
|
-
function
|
|
15315
|
+
function Im() {
|
|
15316
15316
|
var t;
|
|
15317
15317
|
du || (ee(window, "resize", function() {
|
|
15318
15318
|
t == null && (t = setTimeout(function() {
|
|
15319
|
-
t = null, lu(
|
|
15319
|
+
t = null, lu(Pm);
|
|
15320
15320
|
}, 100));
|
|
15321
15321
|
}), ee(window, "blur", function() {
|
|
15322
15322
|
return lu(Ms);
|
|
15323
15323
|
}), du = !0);
|
|
15324
15324
|
}
|
|
15325
|
-
function
|
|
15325
|
+
function Pm(t) {
|
|
15326
15326
|
var n = t.display;
|
|
15327
15327
|
n.cachedCharWidth = n.cachedTextHeight = n.cachedPaddingH = null, n.scrollbarsClipped = !1, t.setSize();
|
|
15328
15328
|
}
|
|
@@ -15330,7 +15330,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15330
15330
|
for (var La = 65; La <= 90; La++) Vn[La] = String.fromCharCode(La);
|
|
15331
15331
|
for (var So = 1; So <= 12; So++) Vn[So + 111] = Vn[So + 63235] = "F" + So;
|
|
15332
15332
|
var Cn = {};
|
|
15333
|
-
function
|
|
15333
|
+
function zm(t) {
|
|
15334
15334
|
var n, l, a, h, c = t.split(/-(?!$)/);
|
|
15335
15335
|
t = c[c.length - 1];
|
|
15336
15336
|
for (var f = 0; f < c.length - 1; f++) {
|
|
@@ -15345,7 +15345,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15345
15345
|
}
|
|
15346
15346
|
return n && (t = "Alt-" + t), l && (t = "Ctrl-" + t), h && (t = "Cmd-" + t), a && (t = "Shift-" + t), t;
|
|
15347
15347
|
}
|
|
15348
|
-
function
|
|
15348
|
+
function Vm(t) {
|
|
15349
15349
|
var n = {};
|
|
15350
15350
|
for (var l in t) if (t.hasOwnProperty(l)) {
|
|
15351
15351
|
var a = t[l];
|
|
@@ -15354,7 +15354,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15354
15354
|
delete t[l];
|
|
15355
15355
|
continue;
|
|
15356
15356
|
}
|
|
15357
|
-
for (var h = S(l.split(" "),
|
|
15357
|
+
for (var h = S(l.split(" "), zm), c = 0; c < h.length; c++) {
|
|
15358
15358
|
var f = void 0, g = void 0;
|
|
15359
15359
|
c == h.length - 1 ? (g = h.join(" "), f = a) : (g = h.slice(0, c + 1).join(" "), f = "...");
|
|
15360
15360
|
var x = n[g];
|
|
@@ -15616,12 +15616,12 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15616
15616
|
}
|
|
15617
15617
|
return h;
|
|
15618
15618
|
}
|
|
15619
|
-
var
|
|
15619
|
+
var Um = new At();
|
|
15620
15620
|
function Fo(t, n, l, a) {
|
|
15621
15621
|
var h = t.state.keySeq;
|
|
15622
15622
|
if (h) {
|
|
15623
15623
|
if (hu(n)) return "handled";
|
|
15624
|
-
if (/\'$/.test(n) ? t.state.keySeq = null :
|
|
15624
|
+
if (/\'$/.test(n) ? t.state.keySeq = null : Um.set(50, function() {
|
|
15625
15625
|
t.state.keySeq == h && (t.state.keySeq = null, t.display.input.reset());
|
|
15626
15626
|
}), fu(t, h + " " + n, l, a)) return !0;
|
|
15627
15627
|
}
|
|
@@ -15755,9 +15755,9 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15755
15755
|
Be(Qi.anchor, nn) > 0 ? (or = Qi.head, nn = hi(rn.from(), Qi.anchor)) : (or = Qi.anchor, nn = ai(rn.to(), Qi.head));
|
|
15756
15756
|
var Oa = Se.ranges.slice(0);
|
|
15757
15757
|
Oa[Le] = function($u, us) {
|
|
15758
|
-
var xr = us.anchor, Un = us.head,
|
|
15758
|
+
var xr = us.anchor, Un = us.head, Ym = xe($u.doc, xr.line);
|
|
15759
15759
|
if (Be(xr, Un) == 0 && xr.sticky == Un.sticky) return us;
|
|
15760
|
-
var Us = te(
|
|
15760
|
+
var Us = te(Ym);
|
|
15761
15761
|
if (!Us) return us;
|
|
15762
15762
|
var td = $(Us, xr.ch, xr.sticky), Oo = Us[td];
|
|
15763
15763
|
if (Oo.from != xr.ch && Oo.to != xr.ch) return us;
|
|
@@ -15845,13 +15845,13 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15845
15845
|
var zs = { toString: function() {
|
|
15846
15846
|
return "CodeMirror.Init";
|
|
15847
15847
|
} }, Eu = {}, Fa = {};
|
|
15848
|
-
function
|
|
15848
|
+
function Wm(t, n, l) {
|
|
15849
15849
|
if (!n != !(l && l != zs)) {
|
|
15850
15850
|
var a = t.display.dragFunctions, h = n ? ee : we;
|
|
15851
15851
|
h(t.display.scroller, "dragstart", a.start), h(t.display.scroller, "dragenter", a.enter), h(t.display.scroller, "dragover", a.over), h(t.display.scroller, "dragleave", a.leave), h(t.display.scroller, "drop", a.drop);
|
|
15852
15852
|
}
|
|
15853
15853
|
}
|
|
15854
|
-
function
|
|
15854
|
+
function qm(t) {
|
|
15855
15855
|
t.options.lineWrapping ? (C(t.display.wrapper, "CodeMirror-wrap"), t.display.sizer.style.minWidth = "", t.display.sizerWidth = null) : (ot(t.display.wrapper, "CodeMirror-wrap"), Ge(t)), Ll(t), pr(t), po(t), setTimeout(function() {
|
|
15856
15856
|
return js(t);
|
|
15857
15857
|
}, 100);
|
|
@@ -15862,7 +15862,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15862
15862
|
this.options = n = n ? ze(n) : {}, ze(Eu, n, !1);
|
|
15863
15863
|
var a = n.value;
|
|
15864
15864
|
typeof a == "string" ? a = new mr(a, n.mode, null, n.lineSeparator, n.direction) : n.mode && (a.modeOption = n.mode), this.doc = a;
|
|
15865
|
-
var h = new fi.inputStyles[n.inputStyle](this), c = this.display = new
|
|
15865
|
+
var h = new fi.inputStyles[n.inputStyle](this), c = this.display = new $m(t, a, h, n);
|
|
15866
15866
|
for (var f in c.wrapper.CodeMirror = this, ku(this), n.lineWrapping && (this.display.wrapper.className += " CodeMirror-wrap"), Ah(this), this.state = { keyMaps: [], overlays: [], modeGen: 0, overwrite: !1, delayingBlurEvent: !1, focused: !1, suppressEdits: !1, pasteIncoming: -1, cutIncoming: -1, selectingText: !1, draggingText: !1, highlight: new At(), keySeq: null, specialChars: null }, n.autofocus && !_e && c.input.focus(), v && j < 11 && setTimeout(function() {
|
|
15867
15867
|
return l.display.input.reset(!0);
|
|
15868
15868
|
}, 20), function(x) {
|
|
@@ -15940,7 +15940,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15940
15940
|
pe.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", me && (pe.width = pe.height = 1, ae.display.wrapper.appendChild(pe), pe._top = pe.offsetTop), ge.dataTransfer.setDragImage(pe, 0, 0), me && pe.parentNode.removeChild(pe);
|
|
15941
15941
|
}
|
|
15942
15942
|
}(x, V);
|
|
15943
|
-
}, drop: Ri(x,
|
|
15943
|
+
}, drop: Ri(x, Hm), leave: function(V) {
|
|
15944
15944
|
Ye(x, V) || au(x);
|
|
15945
15945
|
} };
|
|
15946
15946
|
var Y = y.input.getField();
|
|
@@ -15951,7 +15951,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
15951
15951
|
}), ee(Y, "blur", function(V) {
|
|
15952
15952
|
return Ms(x, V);
|
|
15953
15953
|
});
|
|
15954
|
-
}(this),
|
|
15954
|
+
}(this), Im(), ds(this), this.curOp.forceUpdate = !0, Nh(this, a), n.autofocus && !_e || this.hasFocus() ? setTimeout(function() {
|
|
15955
15955
|
l.hasFocus() && !l.state.focused && Ml(l);
|
|
15956
15956
|
}, 20) : Ms(this), Fa) Fa.hasOwnProperty(f) && Fa[f](this, n[f], zs);
|
|
15957
15957
|
Th(this), n.finishInit && n.finishInit(this);
|
|
@@ -16152,10 +16152,10 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
16152
16152
|
}
|
|
16153
16153
|
for (var h = 0; h < t.display.view.length; h++) {
|
|
16154
16154
|
var c = t.display.view[h];
|
|
16155
|
-
if (c.node == a) return
|
|
16155
|
+
if (c.node == a) return Zm(c, n, l);
|
|
16156
16156
|
}
|
|
16157
16157
|
}
|
|
16158
|
-
function
|
|
16158
|
+
function Zm(t, n, l) {
|
|
16159
16159
|
var a = t.text.firstChild, h = !1;
|
|
16160
16160
|
if (!n || !Ae(a, n)) return Vs(ce(tt(t.line), 0), !0);
|
|
16161
16161
|
if (n == a && (h = !0, n = a.childNodes[l], l = 0, !n)) {
|
|
@@ -16579,7 +16579,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
16579
16579
|
}, !0), l("keyMap", "default", function(a, h, c) {
|
|
16580
16580
|
var f = Sa(h), g = c != zs && Sa(c);
|
|
16581
16581
|
g && g.detach && g.detach(a, f), f.attach && f.attach(a, g || null);
|
|
16582
|
-
}), l("extraKeys", null), l("configureMouse", null), l("lineWrapping", !1,
|
|
16582
|
+
}), l("extraKeys", null), l("configureMouse", null), l("lineWrapping", !1, qm, !0), l("gutters", [], function(a, h) {
|
|
16583
16583
|
a.display.gutterSpecs = Hl(h, a.options.lineNumbers), xo(a);
|
|
16584
16584
|
}, !0), l("fixedGutter", !0, function(a, h) {
|
|
16585
16585
|
a.display.gutters.style.left = h ? Al(a.display) + "px" : "0", a.refresh();
|
|
@@ -16597,7 +16597,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
16597
16597
|
h = h === "" ? null : h, a.display.input.screenReaderLabelChanged(h);
|
|
16598
16598
|
}), l("disableInput", !1, function(a, h) {
|
|
16599
16599
|
h || a.display.input.reset();
|
|
16600
|
-
}, !0), l("dragDrop", !0,
|
|
16600
|
+
}, !0), l("dragDrop", !0, Wm), l("allowDropFileTypes", null), l("cursorBlinkRate", 530), l("cursorScrollMargin", 0), l("cursorHeight", 1, mo, !0), l("singleCursorHeightPerLine", !0, mo, !0), l("workTime", 100), l("workDelay", 100), l("flattenSpans", !0, wo, !0), l("addModeClass", !1, wo, !0), l("pollInterval", 100), l("undoDepth", 200, function(a, h) {
|
|
16601
16601
|
return a.doc.history.undoDepth = h;
|
|
16602
16602
|
}), l("historyEventDelay", 1250), l("viewportMargin", 10, function(a) {
|
|
16603
16603
|
return a.refresh();
|
|
@@ -16836,8 +16836,8 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
16836
16836
|
t.registerHelper(a, h, f), l[a]._global.push({ pred: c, val: f });
|
|
16837
16837
|
};
|
|
16838
16838
|
}(fi);
|
|
16839
|
-
var
|
|
16840
|
-
for (var ja in mr.prototype) mr.prototype.hasOwnProperty(ja) && Ft(
|
|
16839
|
+
var Gm = "iter insert remove copy getEditor constructor".split(" ");
|
|
16840
|
+
for (var ja in mr.prototype) mr.prototype.hasOwnProperty(ja) && Ft(Gm, ja) < 0 && (fi.prototype[ja] = /* @__PURE__ */ function(t) {
|
|
16841
16841
|
return function() {
|
|
16842
16842
|
return t.apply(this.doc, arguments);
|
|
16843
16843
|
};
|
|
@@ -16885,7 +16885,7 @@ b`.split(/\n/).length != 3 ? function(t) {
|
|
|
16885
16885
|
}, n);
|
|
16886
16886
|
return g;
|
|
16887
16887
|
}, function(t) {
|
|
16888
|
-
t.off = we, t.on = ee, t.wheelEventPixels =
|
|
16888
|
+
t.off = we, t.on = ee, t.wheelEventPixels = jm, t.Doc = mr, t.splitLines = di, t.countColumn = st, t.findColumn = ki, t.isWordChar = Q, t.Pass = $t, t.signal = Re, t.Line = Vt, t.changeEnd = In, t.scrollbarModel = Dh, t.Pos = ce, t.cmpPos = Be, t.modes = hr, t.mimeModes = vi, t.resolveMode = M, t.getMode = P, t.modeExtensions = ke, t.extendMode = fe, t.copyState = Pe, t.startState = Ct, t.innerMode = at, t.commands = To, t.keyMap = Cn, t.keyName = cu, t.isModifierKey = hu, t.lookupKey = Is, t.normalizeKeyMap = Vm, t.StringStream = Ie, t.SharedTextMarker = Ao, t.TextMarker = zn, t.LineWidget = Do, t.e_preventDefault = yt, t.e_stopPropagation = pt, t.e_stop = zt, t.addClass = C, t.contains = Ae, t.rmClass = ot, t.keyNames = Vn;
|
|
16889
16889
|
}(fi), fi.version = "5.65.9", fi;
|
|
16890
16890
|
});
|
|
16891
16891
|
}, {}], 11: [function(i, r, s) {
|
|
@@ -19159,9 +19159,9 @@ Maximum file size is #image_max_size#.`, importError: "Something went wrong when
|
|
|
19159
19159
|
}, r.exports = ve;
|
|
19160
19160
|
}, { "./codemirror/tablist": 17, codemirror: 10, "codemirror-spell-checker": 2, "codemirror/addon/display/autorefresh.js": 3, "codemirror/addon/display/fullscreen.js": 4, "codemirror/addon/display/placeholder.js": 5, "codemirror/addon/edit/continuelist.js": 6, "codemirror/addon/mode/overlay.js": 7, "codemirror/addon/search/searchcursor.js": 8, "codemirror/addon/selection/mark-selection.js": 9, "codemirror/mode/gfm/gfm.js": 11, "codemirror/mode/markdown/markdown.js": 12, "codemirror/mode/xml/xml.js": 14, marked: 15 }] }, {}, [18])(18);
|
|
19161
19161
|
});
|
|
19162
|
-
})(
|
|
19163
|
-
var My =
|
|
19164
|
-
const $y = /* @__PURE__ */
|
|
19162
|
+
})(bm);
|
|
19163
|
+
var My = bm.exports;
|
|
19164
|
+
const $y = /* @__PURE__ */ gm(My);
|
|
19165
19165
|
(() => {
|
|
19166
19166
|
var o = (d) => d == null ? !1 : typeof d == "boolean" ? d : d.trim().toLowerCase() === "true";
|
|
19167
19167
|
window.tcRangeSliderPlugins = window.tcRangeSliderPlugins || [];
|
|
@@ -20202,7 +20202,7 @@ const Ry = (o) => {
|
|
|
20202
20202
|
...o.options
|
|
20203
20203
|
});
|
|
20204
20204
|
return i.on("ready", () => {
|
|
20205
|
-
if (Object.values(i.editors).some((r) => r instanceof
|
|
20205
|
+
if (Object.values(i.editors).some((r) => r instanceof sm)) {
|
|
20206
20206
|
const r = document.createElement("style");
|
|
20207
20207
|
r.innerHTML = `
|
|
20208
20208
|
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css");
|
|
@@ -20211,7 +20211,7 @@ const Ry = (o) => {
|
|
|
20211
20211
|
}
|
|
20212
20212
|
}), i;
|
|
20213
20213
|
};
|
|
20214
|
-
async function
|
|
20214
|
+
async function Mc(o) {
|
|
20215
20215
|
if (o && typeof o != "object")
|
|
20216
20216
|
try {
|
|
20217
20217
|
const e = await fetch(o);
|
|
@@ -20838,11 +20838,11 @@ gl.exports;
|
|
|
20838
20838
|
o.exports = jn;
|
|
20839
20839
|
})(gl, gl.exports);
|
|
20840
20840
|
var Py = gl.exports;
|
|
20841
|
-
const Sc = /* @__PURE__ */ cm(Py), zy = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { 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); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
|
|
20842
|
-
var Fr, bl,
|
|
20843
|
-
class
|
|
20841
|
+
const $c = /* @__PURE__ */ gm(Py), zy = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { 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); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
|
|
20842
|
+
var Fr, bl, jc, vm;
|
|
20843
|
+
class ym extends Ko {
|
|
20844
20844
|
constructor() {
|
|
20845
|
-
super(),
|
|
20845
|
+
super(), gc(this, bl), gc(this, Fr, null), this.schema, this.value, this.options = {
|
|
20846
20846
|
show_opt_in: !1,
|
|
20847
20847
|
disable_collapse: !0,
|
|
20848
20848
|
disable_edit_json: !0,
|
|
@@ -20872,7 +20872,7 @@ class fm extends Ko {
|
|
|
20872
20872
|
* @param {JsonSchema} newSchema
|
|
20873
20873
|
*/
|
|
20874
20874
|
set schema(e) {
|
|
20875
|
-
cn(this, Fr) &&
|
|
20875
|
+
cn(this, Fr) && !$c(this._schema, e) && cn(this, Fr).destroy(), this._schema = e;
|
|
20876
20876
|
}
|
|
20877
20877
|
/**
|
|
20878
20878
|
* Getter for the default values to fill the form
|
|
@@ -20886,7 +20886,7 @@ class fm extends Ko {
|
|
|
20886
20886
|
* @param {JsonSchema} newVal
|
|
20887
20887
|
*/
|
|
20888
20888
|
set value(e) {
|
|
20889
|
-
cn(this, Fr) && cn(this, Fr).ready &&
|
|
20889
|
+
cn(this, Fr) && cn(this, Fr).ready && !$c(this._value, e) && cn(this, Fr).setValue(e), this._value = e;
|
|
20890
20890
|
}
|
|
20891
20891
|
/**
|
|
20892
20892
|
* Lifecycle method called when the element is updated
|
|
@@ -20894,7 +20894,7 @@ class fm extends Ko {
|
|
|
20894
20894
|
* @param {import("lit").PropertyValues} changedProperties
|
|
20895
20895
|
*/
|
|
20896
20896
|
async updated(e) {
|
|
20897
|
-
this._value = await
|
|
20897
|
+
this._value = await Mc(this.value), e.has("schema") && (this._schema = await Mc(this.schema), (!cn(this, Fr) || cn(this, Fr).destroyed) && (I0(this, Fr, await Ry(this)), zp(this, bl, vm).call(this)));
|
|
20898
20898
|
}
|
|
20899
20899
|
/**
|
|
20900
20900
|
* Overrides createRenderRoot to handle shadow DOM creation based on the noShadow property.
|
|
@@ -20919,7 +20919,7 @@ class fm extends Ko {
|
|
|
20919
20919
|
Fr = /* @__PURE__ */ new WeakMap(), bl = /* @__PURE__ */ new WeakSet(), /**
|
|
20920
20920
|
* Value object has been changed
|
|
20921
20921
|
*/
|
|
20922
|
-
|
|
20922
|
+
jc = function() {
|
|
20923
20923
|
this.dispatchEvent(
|
|
20924
20924
|
new CustomEvent("change", {
|
|
20925
20925
|
detail: this.value,
|
|
@@ -20930,40 +20930,34 @@ Tc = function() {
|
|
|
20930
20930
|
}, /**
|
|
20931
20931
|
* Dispatch same function for multiple event type
|
|
20932
20932
|
*/
|
|
20933
|
-
|
|
20933
|
+
vm = function() {
|
|
20934
20934
|
["ready", "change"].map((o) => {
|
|
20935
20935
|
cn(this, Fr).on(o, () => {
|
|
20936
|
-
this._value = cn(this, Fr).getValue(),
|
|
20936
|
+
this._value = cn(this, Fr).getValue(), zp(this, bl, jc).call(this);
|
|
20937
20937
|
});
|
|
20938
20938
|
});
|
|
20939
|
-
}, H0(
|
|
20939
|
+
}, H0(ym, "properties", {
|
|
20940
20940
|
schema: { attribute: !1, type: Object },
|
|
20941
20941
|
value: { attribute: !1, type: Object },
|
|
20942
20942
|
options: { attribute: !1, type: Object },
|
|
20943
20943
|
noShadow: { attribute: "no-shadow", type: Boolean },
|
|
20944
20944
|
unstyled: { type: Boolean }
|
|
20945
20945
|
});
|
|
20946
|
-
customElements.define("eox-jsonform",
|
|
20947
|
-
const Vy = { class: "d-flex flex-column fill-height overflow-auto pa-4" },
|
|
20946
|
+
customElements.define("eox-jsonform", ym);
|
|
20947
|
+
const Vy = { class: "d-flex flex-column fill-height overflow-auto pa-4" }, Uy = ["for"], Jy = {
|
|
20948
20948
|
__name: "EodashLayerControl",
|
|
20949
20949
|
setup(o) {
|
|
20950
|
-
const e =
|
|
20951
|
-
return
|
|
20952
|
-
|
|
20953
|
-
|
|
20954
|
-
|
|
20955
|
-
"
|
|
20956
|
-
|
|
20957
|
-
|
|
20958
|
-
ref: e
|
|
20959
|
-
},
|
|
20960
|
-
null,
|
|
20961
|
-
512
|
|
20962
|
-
/* NEED_PATCH */
|
|
20963
|
-
)
|
|
20950
|
+
const e = Jm(null);
|
|
20951
|
+
return (i, r) => (Ru(), Hu("span", Vy, [
|
|
20952
|
+
Iu(Pu) ? (Ru(), Hu("eox-layercontrol", {
|
|
20953
|
+
key: 0,
|
|
20954
|
+
for: Iu(Pu),
|
|
20955
|
+
ref_key: "eoxLayercontrol",
|
|
20956
|
+
ref: e
|
|
20957
|
+
}, null, 8, Uy)) : Qm("v-if", !0)
|
|
20964
20958
|
]));
|
|
20965
20959
|
}
|
|
20966
20960
|
};
|
|
20967
20961
|
export {
|
|
20968
|
-
|
|
20962
|
+
Jy as default
|
|
20969
20963
|
};
|