@vcmap/ui 5.1.0-rc.4 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/getPluginProxies.js +16 -2
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.2274d8.js → core.8fff97.js} +3592 -3536
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-de529e1b.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.21bb56.js → ui.301d83.js} +513 -487
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.145dc5.js → vuetify.2fbc17.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/index.d.ts +2 -2
- package/index.js +4 -1
- package/package.json +2 -2
- package/plugins/package.json +2 -2
- package/src/components/flight/VcsFlightComponent.vue +1 -0
- package/src/manager/collectionManager/categoryManager.d.ts +17 -0
- package/src/manager/collectionManager/categoryManager.js +41 -3
- package/src/manager/collectionManager/collectionComponentClass.d.ts +7 -0
- package/src/manager/collectionManager/collectionComponentClass.js +25 -0
- package/dist/assets/index-564248ae.js +0 -1
- /package/dist/assets/{cesium.1bcede.js → cesium.f4573f.js} +0 -0
- /package/dist/assets/{ol.d39205.js → ol.25a933.js} +0 -0
- /package/dist/assets/{ui.21bb56.css → ui.301d83.css} +0 -0
- /package/dist/assets/{vue.403631.js → vue.806e32.js} +0 -0
- /package/dist/assets/{vuetify.145dc5.css → vuetify.2fbc17.css} +0 -0
@@ -13,7 +13,7 @@ function loadCss(href) {
|
|
13
13
|
elem.onerror = reject;
|
14
14
|
document.head.appendChild(elem);
|
15
15
|
});
|
16
|
-
} await loadCss('./assets/ui.
|
16
|
+
} await loadCss('./assets/ui.301d83.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
|
17
17
|
var m1 = (s, e, t) => e in s ? p1(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
18
18
|
var oe = (s, e, t) => (m1(s, typeof e != "symbol" ? e + "" : e, t), t), _1 = (s, e, t) => {
|
19
19
|
if (!e.has(s))
|
@@ -24,13 +24,13 @@ var Hr = (s, e, t) => {
|
|
24
24
|
throw TypeError("Cannot add the same private member more than once");
|
25
25
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
26
26
|
};
|
27
|
-
var
|
28
|
-
import
|
29
|
-
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as
|
30
|
-
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as
|
31
|
-
import { Feature as
|
32
|
-
import { Color as wc, Math as
|
33
|
-
|
27
|
+
var Rs = (s, e, t) => (_1(s, e, "access private method"), t);
|
28
|
+
import Fn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as Nn, shallowRef as Ui, provide as ys, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.806e32.js";
|
29
|
+
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ws, Extent as bs, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as _r, EventType as lt, ModificationKeyType as qi, OpenlayersMap as vr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as fs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Ur, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as as, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, defaultDynamicModuleId as Ln, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as wi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Wr, volatileModuleId as Yr, destroyCollection as js, VcsModule as bi, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.8fff97.js";
|
30
|
+
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Pn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as yr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as wr, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.2fbc17.js";
|
31
|
+
import { Feature as As, ol$proj$transformExtent as _c, ol$Observable$unByKey as $n, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Qr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.25a933.js";
|
32
|
+
import { Color as wc, Math as Cn, Cartographic as ps, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as Jr } from "./cesium.f4573f.js";
|
33
|
+
Fn.config.productionTip = !1;
|
34
34
|
window.CESIUM_BASE_URL = "./assets/cesium/";
|
35
35
|
function m(s, e, t, n, r, i, a, o) {
|
36
36
|
var l = typeof s == "function" ? s.options : s;
|
@@ -169,7 +169,7 @@ function Gt(s, e, t) {
|
|
169
169
|
}
|
170
170
|
return F0(n);
|
171
171
|
}
|
172
|
-
const
|
172
|
+
const ss = [
|
173
173
|
[String, "string"],
|
174
174
|
[Number, "number"],
|
175
175
|
[Boolean, "boolean"],
|
@@ -216,7 +216,7 @@ function B0(s, e, t) {
|
|
216
216
|
let n = !1;
|
217
217
|
return s.findIndex((i) => {
|
218
218
|
try {
|
219
|
-
|
219
|
+
M(i, e[0], t);
|
220
220
|
} catch (a) {
|
221
221
|
n = a.message.replace(/Match failed:\s/, "");
|
222
222
|
}
|
@@ -238,7 +238,7 @@ function Ai(s, e, t) {
|
|
238
238
|
i = Ai(l, e[o], n + o);
|
239
239
|
else
|
240
240
|
try {
|
241
|
-
|
241
|
+
M(l, e[o]);
|
242
242
|
} catch (c) {
|
243
243
|
i = c.message.replace(/Match failed:\s/, "");
|
244
244
|
}
|
@@ -249,15 +249,15 @@ function Ai(s, e, t) {
|
|
249
249
|
function G0(s, e) {
|
250
250
|
if (e === Number)
|
251
251
|
return Number.isFinite(s) ? !1 : `expected ${Xe(s)} to be a number, excluding NaN`;
|
252
|
-
for (let t =
|
253
|
-
if (e ===
|
254
|
-
return typeof s ===
|
252
|
+
for (let t = ss.length; t--; )
|
253
|
+
if (e === ss[t][0])
|
254
|
+
return typeof s === ss[t][1] ? !1 : `expected ${Xe(s)} to be a ${ss[t][1]}`;
|
255
255
|
return null;
|
256
256
|
}
|
257
257
|
function Mi(s) {
|
258
258
|
if (s === null)
|
259
259
|
return "null";
|
260
|
-
const e =
|
260
|
+
const e = ss.find((r) => r[0] === s);
|
261
261
|
if (e)
|
262
262
|
return e[1];
|
263
263
|
let t = s.toString();
|
@@ -318,7 +318,7 @@ function xc(s, e, t) {
|
|
318
318
|
function xi(s, e, t) {
|
319
319
|
return !xc(s, e, t);
|
320
320
|
}
|
321
|
-
function
|
321
|
+
function M(s, e, t) {
|
322
322
|
const n = xc(s, e, t);
|
323
323
|
if (n)
|
324
324
|
throw new Error(`Match failed: ${n}`);
|
@@ -328,7 +328,7 @@ function pe(s, e, t) {
|
|
328
328
|
const n = [null, void 0];
|
329
329
|
return Array.isArray(e) && e.length > 1 ? e.forEach((r) => {
|
330
330
|
n.push(r);
|
331
|
-
}) : n.push(e),
|
331
|
+
}) : n.push(e), M(s, n.reverse(), t);
|
332
332
|
}
|
333
333
|
function Li(s, e) {
|
334
334
|
if (s != null) {
|
@@ -365,14 +365,14 @@ It.ERROR = he.ERROR | he.WARN | he.INFO | he.DEBUG;
|
|
365
365
|
It.WARN = he.WARN | he.INFO | he.DEBUG;
|
366
366
|
It.INFO = he.INFO | he.DEBUG;
|
367
367
|
It.DEBUG = he.DEBUG;
|
368
|
-
const
|
368
|
+
const Jn = {
|
369
369
|
useTimestamp: !1,
|
370
370
|
logLevel: he.INFO
|
371
|
-
},
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
371
|
+
}, Ms = /* @__PURE__ */ new Map();
|
372
|
+
Ms.set(he.ERROR, "error");
|
373
|
+
Ms.set(he.WARN, "warn");
|
374
|
+
Ms.set(he.INFO, "info");
|
375
|
+
Ms.set(he.DEBUG, "log");
|
376
376
|
class Lc {
|
377
377
|
/**
|
378
378
|
* @param {string=} className
|
@@ -386,7 +386,7 @@ class Lc {
|
|
386
386
|
* @param {...any} optArgs
|
387
387
|
*/
|
388
388
|
error(e, ...t) {
|
389
|
-
|
389
|
+
Jn.logLevel & It.ERROR && this._log(String(e), he.ERROR, t);
|
390
390
|
}
|
391
391
|
/**
|
392
392
|
* Logs a warning message
|
@@ -394,7 +394,7 @@ class Lc {
|
|
394
394
|
* @param {...any} optArgs
|
395
395
|
*/
|
396
396
|
warning(e, ...t) {
|
397
|
-
|
397
|
+
Jn.logLevel & It.WARN && this._log(String(e), he.WARN, t);
|
398
398
|
}
|
399
399
|
/**
|
400
400
|
* Deprecate a function. deprecations are stored on the logger
|
@@ -415,7 +415,7 @@ class Lc {
|
|
415
415
|
* @param {...any} optArgs
|
416
416
|
*/
|
417
417
|
info(e, ...t) {
|
418
|
-
|
418
|
+
Jn.logLevel & It.INFO && this._log(String(e), he.INFO, t);
|
419
419
|
}
|
420
420
|
/**
|
421
421
|
* Logs a debug message
|
@@ -423,7 +423,7 @@ class Lc {
|
|
423
423
|
* @param {...any} optArgs
|
424
424
|
*/
|
425
425
|
debug(e, ...t) {
|
426
|
-
|
426
|
+
Jn.logLevel & It.DEBUG && this._log(String(e), he.DEBUG, t);
|
427
427
|
}
|
428
428
|
/**
|
429
429
|
* Alias for debug
|
@@ -431,7 +431,7 @@ class Lc {
|
|
431
431
|
* @param {...any} optArgs
|
432
432
|
*/
|
433
433
|
log(e, ...t) {
|
434
|
-
|
434
|
+
Jn.logLevel & It.DEBUG && this._log(String(e), he.DEBUG, t);
|
435
435
|
}
|
436
436
|
/**
|
437
437
|
* Logs a message
|
@@ -442,7 +442,7 @@ class Lc {
|
|
442
442
|
*/
|
443
443
|
_log(e, t, n) {
|
444
444
|
let r = e;
|
445
|
-
this.className && (r = `[${this.className}] ${r}`), console[
|
445
|
+
this.className && (r = `[${this.className}] ${r}`), console[Ms.get(t)](r, ...n), t & he.ERROR && (console.group(), console.trace(), console.groupEnd());
|
446
446
|
}
|
447
447
|
}
|
448
448
|
const Ii = /* @__PURE__ */ new Map();
|
@@ -507,7 +507,7 @@ var Ar = K0;
|
|
507
507
|
};
|
508
508
|
p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${d}*`), p("MAINVERSION", `(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${d}+`), p("BUILD", `(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`), p("FULL", `^${l[c.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`), p("LOOSE", `^${l[c.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${l[c.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`), p("XRANGE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`), p("COERCE", `(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`), p("COERCERTL", l[c.COERCE], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${l[c.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", p("TILDE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${l[c.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", p("CARET", `^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
509
509
|
})(Ci, Ci.exports);
|
510
|
-
var
|
510
|
+
var xs = Ci.exports;
|
511
511
|
const ed = Object.freeze({ loose: !0 }), td = Object.freeze({}), nd = (s) => s ? typeof s != "object" ? ed : s : td;
|
512
512
|
var na = nd;
|
513
513
|
const _o = /^[0-9]+$/, Cc = (s, e) => {
|
@@ -518,7 +518,7 @@ var Ec = {
|
|
518
518
|
compareIdentifiers: Cc,
|
519
519
|
rcompareIdentifiers: sd
|
520
520
|
};
|
521
|
-
const Vs = Ar, { MAX_LENGTH: vo, MAX_SAFE_INTEGER: Fs } = br, { safeRe: go, t: yo } =
|
521
|
+
const Vs = Ar, { MAX_LENGTH: vo, MAX_SAFE_INTEGER: Fs } = br, { safeRe: go, t: yo } = xs, rd = na, { compareIdentifiers: bn } = Ec;
|
522
522
|
let id = class ot {
|
523
523
|
constructor(e, t) {
|
524
524
|
if (t = rd(t), e instanceof ot) {
|
@@ -669,13 +669,13 @@ const wo = Ee, ad = (s, e, t = !1) => {
|
|
669
669
|
throw n;
|
670
670
|
}
|
671
671
|
};
|
672
|
-
var
|
673
|
-
const od =
|
672
|
+
var zn = ad;
|
673
|
+
const od = zn, ld = (s, e) => {
|
674
674
|
const t = od(s, e);
|
675
675
|
return t ? t.version : null;
|
676
676
|
};
|
677
677
|
var cd = ld;
|
678
|
-
const ud =
|
678
|
+
const ud = zn, dd = (s, e) => {
|
679
679
|
const t = ud(s.trim().replace(/^[=v]+/, ""), e);
|
680
680
|
return t ? t.version : null;
|
681
681
|
};
|
@@ -692,7 +692,7 @@ const bo = Ee, fd = (s, e, t, n, r) => {
|
|
692
692
|
}
|
693
693
|
};
|
694
694
|
var pd = fd;
|
695
|
-
const Ao =
|
695
|
+
const Ao = zn, md = (s, e) => {
|
696
696
|
const t = Ao(s, null, !0), n = Ao(e, null, !0), r = t.compare(n);
|
697
697
|
if (r === 0)
|
698
698
|
return null;
|
@@ -709,7 +709,7 @@ const wd = Ee, bd = (s, e) => new wd(s, e).minor;
|
|
709
709
|
var Ad = bd;
|
710
710
|
const Md = Ee, xd = (s, e) => new Md(s, e).patch;
|
711
711
|
var Ld = xd;
|
712
|
-
const Id =
|
712
|
+
const Id = zn, Cd = (s, e) => {
|
713
713
|
const t = Id(s, e);
|
714
714
|
return t && t.prerelease.length ? t.prerelease : null;
|
715
715
|
};
|
@@ -766,7 +766,7 @@ const th = Sc, nh = Tc, sh = Mr, rh = ia, ih = ra, ah = aa, oh = (s, e, t, n) =>
|
|
766
766
|
}
|
767
767
|
};
|
768
768
|
var kc = oh;
|
769
|
-
const lh = Ee, ch =
|
769
|
+
const lh = Ee, ch = zn, { safeRe: Ps, t: zs } = xs, uh = (s, e) => {
|
770
770
|
if (s instanceof lh)
|
771
771
|
return s;
|
772
772
|
if (typeof s == "number" && (s = String(s)), typeof s != "string")
|
@@ -977,14 +977,14 @@ try {
|
|
977
977
|
hh()(X);
|
978
978
|
} catch {
|
979
979
|
}
|
980
|
-
const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"),
|
980
|
+
const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"), os = Symbol("allowStale"), en = Symbol("maxAge"), xt = Symbol("dispose"), Io = Symbol("noDisposeOnSet"), ve = Symbol("lruList"), Je = Symbol("cache"), Nc = Symbol("updateAgeOnGet"), Kr = () => 1;
|
981
981
|
class gh {
|
982
982
|
constructor(e) {
|
983
983
|
if (typeof e == "number" && (e = { max: e }), e || (e = {}), e.max && (typeof e.max != "number" || e.max < 0))
|
984
984
|
throw new TypeError("max must be a non-negative number");
|
985
985
|
this[Xt] = e.max || 1 / 0;
|
986
986
|
const t = e.length || Kr;
|
987
|
-
if (this[An] = typeof t != "function" ? Kr : t, this[
|
987
|
+
if (this[An] = typeof t != "function" ? Kr : t, this[os] = e.stale || !1, e.maxAge && typeof e.maxAge != "number")
|
988
988
|
throw new TypeError("maxAge must be a number");
|
989
989
|
this[en] = e.maxAge || 0, this[xt] = e.dispose, this[Io] = e.noDisposeOnSet || !1, this[Nc] = e.updateAgeOnGet || !1, this.reset();
|
990
990
|
}
|
@@ -992,21 +992,21 @@ class gh {
|
|
992
992
|
set max(e) {
|
993
993
|
if (typeof e != "number" || e < 0)
|
994
994
|
throw new TypeError("max must be a non-negative number");
|
995
|
-
this[Xt] = e || 1 / 0,
|
995
|
+
this[Xt] = e || 1 / 0, qn(this);
|
996
996
|
}
|
997
997
|
get max() {
|
998
998
|
return this[Xt];
|
999
999
|
}
|
1000
1000
|
set allowStale(e) {
|
1001
|
-
this[
|
1001
|
+
this[os] = !!e;
|
1002
1002
|
}
|
1003
1003
|
get allowStale() {
|
1004
|
-
return this[
|
1004
|
+
return this[os];
|
1005
1005
|
}
|
1006
1006
|
set maxAge(e) {
|
1007
1007
|
if (typeof e != "number")
|
1008
1008
|
throw new TypeError("maxAge must be a non-negative number");
|
1009
|
-
this[en] = e,
|
1009
|
+
this[en] = e, qn(this);
|
1010
1010
|
}
|
1011
1011
|
get maxAge() {
|
1012
1012
|
return this[en];
|
@@ -1015,7 +1015,7 @@ class gh {
|
|
1015
1015
|
set lengthCalculator(e) {
|
1016
1016
|
typeof e != "function" && (e = Kr), e !== this[An] && (this[An] = e, this[Lt] = 0, this[ve].forEach((t) => {
|
1017
1017
|
t.length = this[An](t.value, t.key), this[Lt] += t.length;
|
1018
|
-
})),
|
1018
|
+
})), qn(this);
|
1019
1019
|
}
|
1020
1020
|
get lengthCalculator() {
|
1021
1021
|
return this[An];
|
@@ -1065,12 +1065,12 @@ class gh {
|
|
1065
1065
|
const r = n ? Date.now() : 0, i = this[An](t, e);
|
1066
1066
|
if (this[Je].has(e)) {
|
1067
1067
|
if (i > this[Xt])
|
1068
|
-
return
|
1068
|
+
return En(this, this[Je].get(e)), !1;
|
1069
1069
|
const l = this[Je].get(e).value;
|
1070
|
-
return this[xt] && (this[Io] || this[xt](e, l.value)), l.now = r, l.maxAge = n, l.value = t, this[Lt] += i - l.length, l.length = i, this.get(e),
|
1070
|
+
return this[xt] && (this[Io] || this[xt](e, l.value)), l.now = r, l.maxAge = n, l.value = t, this[Lt] += i - l.length, l.length = i, this.get(e), qn(this), !0;
|
1071
1071
|
}
|
1072
1072
|
const a = new yh(e, t, i, r, n);
|
1073
|
-
return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[ve].unshift(a), this[Je].set(e, this[ve].head),
|
1073
|
+
return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[ve].unshift(a), this[Je].set(e, this[ve].head), qn(this), !0);
|
1074
1074
|
}
|
1075
1075
|
has(e) {
|
1076
1076
|
if (!this[Je].has(e))
|
@@ -1086,10 +1086,10 @@ class gh {
|
|
1086
1086
|
}
|
1087
1087
|
pop() {
|
1088
1088
|
const e = this[ve].tail;
|
1089
|
-
return e ? (
|
1089
|
+
return e ? (En(this, e), e.value) : null;
|
1090
1090
|
}
|
1091
1091
|
del(e) {
|
1092
|
-
|
1092
|
+
En(this, this[Je].get(e));
|
1093
1093
|
}
|
1094
1094
|
load(e) {
|
1095
1095
|
this.reset();
|
@@ -1113,7 +1113,7 @@ const ei = (s, e, t) => {
|
|
1113
1113
|
if (n) {
|
1114
1114
|
const r = n.value;
|
1115
1115
|
if (Ks(s, r)) {
|
1116
|
-
if (
|
1116
|
+
if (En(s, n), !s[os])
|
1117
1117
|
return;
|
1118
1118
|
} else
|
1119
1119
|
t && (s[Nc] && (n.value.now = Date.now()), s[ve].unshiftNode(n));
|
@@ -1124,13 +1124,13 @@ const ei = (s, e, t) => {
|
|
1124
1124
|
return !1;
|
1125
1125
|
const t = Date.now() - e.now;
|
1126
1126
|
return e.maxAge ? t > e.maxAge : s[en] && t > s[en];
|
1127
|
-
},
|
1127
|
+
}, qn = (s) => {
|
1128
1128
|
if (s[Lt] > s[Xt])
|
1129
1129
|
for (let e = s[ve].tail; s[Lt] > s[Xt] && e !== null; ) {
|
1130
1130
|
const t = e.prev;
|
1131
|
-
|
1131
|
+
En(s, e), e = t;
|
1132
1132
|
}
|
1133
|
-
},
|
1133
|
+
}, En = (s, e) => {
|
1134
1134
|
if (e) {
|
1135
1135
|
const t = e.value;
|
1136
1136
|
s[xt] && s[xt](t.key, t.value), s[Lt] -= t.length, s[Je].delete(t.key), s[ve].removeNode(e);
|
@@ -1143,7 +1143,7 @@ class yh {
|
|
1143
1143
|
}
|
1144
1144
|
const Co = (s, e, t, n) => {
|
1145
1145
|
let r = t.value;
|
1146
|
-
Ks(s, r) && (
|
1146
|
+
Ks(s, r) && (En(s, t), s[os] || (r = void 0)), r && e.call(n, r.value, r.key, s);
|
1147
1147
|
};
|
1148
1148
|
var wh = gh, ti, Eo;
|
1149
1149
|
function nt() {
|
@@ -1151,12 +1151,12 @@ function nt() {
|
|
1151
1151
|
return ti;
|
1152
1152
|
Eo = 1;
|
1153
1153
|
class s {
|
1154
|
-
constructor(
|
1155
|
-
if (O = n(O),
|
1156
|
-
return
|
1157
|
-
if (
|
1158
|
-
return this.raw =
|
1159
|
-
if (this.options = O, this.loose = !!O.loose, this.includePrerelease = !!O.includePrerelease, this.raw =
|
1154
|
+
constructor(x, O) {
|
1155
|
+
if (O = n(O), x instanceof s)
|
1156
|
+
return x.loose === !!O.loose && x.includePrerelease === !!O.includePrerelease ? x : new s(x.raw, O);
|
1157
|
+
if (x instanceof r)
|
1158
|
+
return this.raw = x.value, this.set = [[x]], this.format(), this;
|
1159
|
+
if (this.options = O, this.loose = !!O.loose, this.includePrerelease = !!O.includePrerelease, this.raw = x.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((C) => this.parseRange(C.trim())).filter((C) => C.length), !this.set.length)
|
1160
1160
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
1161
1161
|
if (this.set.length > 1) {
|
1162
1162
|
const C = this.set[0];
|
@@ -1173,18 +1173,18 @@ function nt() {
|
|
1173
1173
|
this.format();
|
1174
1174
|
}
|
1175
1175
|
format() {
|
1176
|
-
return this.range = this.set.map((
|
1176
|
+
return this.range = this.set.map((x) => x.join(" ").trim()).join("||").trim(), this.range;
|
1177
1177
|
}
|
1178
1178
|
toString() {
|
1179
1179
|
return this.range;
|
1180
1180
|
}
|
1181
|
-
parseRange(
|
1182
|
-
const C = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" +
|
1181
|
+
parseRange(x) {
|
1182
|
+
const C = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" + x, R = t.get(C);
|
1183
1183
|
if (R)
|
1184
1184
|
return R;
|
1185
1185
|
const S = this.options.loose, T = S ? o[l.HYPHENRANGELOOSE] : o[l.HYPHENRANGE];
|
1186
|
-
|
1187
|
-
let J =
|
1186
|
+
x = x.replace(T, B(this.options.includePrerelease)), i("hyphen replace", x), x = x.replace(o[l.COMPARATORTRIM], c), i("comparator trim", x), x = x.replace(o[l.TILDETRIM], u), i("tilde trim", x), x = x.replace(o[l.CARETTRIM], d), i("caret trim", x);
|
1187
|
+
let J = x.split(" ").map((ee) => E(ee, this.options)).join(" ").split(/\s+/).map((ee) => N(ee, this.options));
|
1188
1188
|
S && (J = J.filter((ee) => (i("loose invalid filter", ee, this.options), !!ee.match(o[l.COMPARATORLOOSE])))), i("range list", J);
|
1189
1189
|
const F = /* @__PURE__ */ new Map(), K = J.map((ee) => new r(ee, this.options));
|
1190
1190
|
for (const ee of K) {
|
@@ -1196,23 +1196,23 @@ function nt() {
|
|
1196
1196
|
const Y = [...F.values()];
|
1197
1197
|
return t.set(C, Y), Y;
|
1198
1198
|
}
|
1199
|
-
intersects(
|
1200
|
-
if (!(
|
1199
|
+
intersects(x, O) {
|
1200
|
+
if (!(x instanceof s))
|
1201
1201
|
throw new TypeError("a Range is required");
|
1202
|
-
return this.set.some((C) => g(C, O) &&
|
1202
|
+
return this.set.some((C) => g(C, O) && x.set.some((R) => g(R, O) && C.every((S) => R.every((T) => S.intersects(T, O)))));
|
1203
1203
|
}
|
1204
1204
|
// if ANY of the sets match ALL of its comparators, then pass
|
1205
|
-
test(
|
1206
|
-
if (!
|
1205
|
+
test(x) {
|
1206
|
+
if (!x)
|
1207
1207
|
return !1;
|
1208
|
-
if (typeof
|
1208
|
+
if (typeof x == "string")
|
1209
1209
|
try {
|
1210
|
-
|
1210
|
+
x = new a(x, this.options);
|
1211
1211
|
} catch {
|
1212
1212
|
return !1;
|
1213
1213
|
}
|
1214
1214
|
for (let O = 0; O < this.set.length; O++)
|
1215
|
-
if (re(this.set[O],
|
1215
|
+
if (re(this.set[O], x, this.options))
|
1216
1216
|
return !0;
|
1217
1217
|
return !1;
|
1218
1218
|
}
|
@@ -1224,45 +1224,45 @@ function nt() {
|
|
1224
1224
|
comparatorTrimReplace: c,
|
1225
1225
|
tildeTrimReplace: u,
|
1226
1226
|
caretTrimReplace: d
|
1227
|
-
} =
|
1227
|
+
} = xs, { FLAG_INCLUDE_PRERELEASE: h, FLAG_LOOSE: f } = br, p = (I) => I.value === "<0.0.0-0", _ = (I) => I.value === "", g = (I, x) => {
|
1228
1228
|
let O = !0;
|
1229
1229
|
const C = I.slice();
|
1230
1230
|
let R = C.pop();
|
1231
1231
|
for (; O && C.length; )
|
1232
|
-
O = C.every((S) => R.intersects(S,
|
1232
|
+
O = C.every((S) => R.intersects(S, x)), R = C.pop();
|
1233
1233
|
return O;
|
1234
|
-
}, E = (I,
|
1235
|
-
const O =
|
1234
|
+
}, E = (I, x) => (i("comp", I, x), I = H(I, x), i("caret", I), I = A(I, x), i("tildes", I), I = G(I, x), i("xrange", I), I = $(I, x), i("stars", I), I), z = (I) => !I || I.toLowerCase() === "x" || I === "*", A = (I, x) => I.trim().split(/\s+/).map((O) => V(O, x)).join(" "), V = (I, x) => {
|
1235
|
+
const O = x.loose ? o[l.TILDELOOSE] : o[l.TILDE];
|
1236
1236
|
return I.replace(O, (C, R, S, T, J) => {
|
1237
1237
|
i("tilde", I, C, R, S, T, J);
|
1238
1238
|
let F;
|
1239
1239
|
return z(R) ? F = "" : z(S) ? F = `>=${R}.0.0 <${+R + 1}.0.0-0` : z(T) ? F = `>=${R}.${S}.0 <${R}.${+S + 1}.0-0` : J ? (i("replaceTilde pr", J), F = `>=${R}.${S}.${T}-${J} <${R}.${+S + 1}.0-0`) : F = `>=${R}.${S}.${T} <${R}.${+S + 1}.0-0`, i("tilde return", F), F;
|
1240
1240
|
});
|
1241
|
-
}, H = (I,
|
1242
|
-
i("caret", I,
|
1243
|
-
const O =
|
1241
|
+
}, H = (I, x) => I.trim().split(/\s+/).map((O) => b(O, x)).join(" "), b = (I, x) => {
|
1242
|
+
i("caret", I, x);
|
1243
|
+
const O = x.loose ? o[l.CARETLOOSE] : o[l.CARET], C = x.includePrerelease ? "-0" : "";
|
1244
1244
|
return I.replace(O, (R, S, T, J, F) => {
|
1245
1245
|
i("caret", I, R, S, T, J, F);
|
1246
1246
|
let K;
|
1247
1247
|
return z(S) ? K = "" : z(T) ? K = `>=${S}.0.0${C} <${+S + 1}.0.0-0` : z(J) ? S === "0" ? K = `>=${S}.${T}.0${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.0${C} <${+S + 1}.0.0-0` : F ? (i("replaceCaret pr", F), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}-${F} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}-${F} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J}-${F} <${+S + 1}.0.0-0`) : (i("no pr"), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}${C} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J} <${+S + 1}.0.0-0`), i("caret return", K), K;
|
1248
1248
|
});
|
1249
|
-
}, G = (I,
|
1249
|
+
}, G = (I, x) => (i("replaceXRanges", I, x), I.split(/\s+/).map((O) => D(O, x)).join(" ")), D = (I, x) => {
|
1250
1250
|
I = I.trim();
|
1251
|
-
const O =
|
1251
|
+
const O = x.loose ? o[l.XRANGELOOSE] : o[l.XRANGE];
|
1252
1252
|
return I.replace(O, (C, R, S, T, J, F) => {
|
1253
1253
|
i("xRange", I, C, R, S, T, J, F);
|
1254
1254
|
const K = z(S), Y = K || z(T), ee = Y || z(J), ze = ee;
|
1255
|
-
return R === "=" && ze && (R = ""), F =
|
1255
|
+
return R === "=" && ze && (R = ""), F = x.includePrerelease ? "-0" : "", K ? R === ">" || R === "<" ? C = "<0.0.0-0" : C = "*" : R && ze ? (Y && (T = 0), J = 0, R === ">" ? (R = ">=", Y ? (S = +S + 1, T = 0, J = 0) : (T = +T + 1, J = 0)) : R === "<=" && (R = "<", Y ? S = +S + 1 : T = +T + 1), R === "<" && (F = "-0"), C = `${R + S}.${T}.${J}${F}`) : Y ? C = `>=${S}.0.0${F} <${+S + 1}.0.0-0` : ee && (C = `>=${S}.${T}.0${F} <${S}.${+T + 1}.0-0`), i("xRange return", C), C;
|
1256
1256
|
});
|
1257
|
-
}, $ = (I,
|
1257
|
+
}, $ = (I, x) => (i("replaceStars", I, x), I.trim().replace(o[l.STAR], "")), N = (I, x) => (i("replaceGTE0", I, x), I.trim().replace(o[x.includePrerelease ? l.GTE0PRE : l.GTE0], "")), B = (I) => (x, O, C, R, S, T, J, F, K, Y, ee, ze, fn) => (z(C) ? O = "" : z(R) ? O = `>=${C}.0.0${I ? "-0" : ""}` : z(S) ? O = `>=${C}.${R}.0${I ? "-0" : ""}` : T ? O = `>=${O}` : O = `>=${O}${I ? "-0" : ""}`, z(K) ? F = "" : z(Y) ? F = `<${+K + 1}.0.0-0` : z(ee) ? F = `<${K}.${+Y + 1}.0-0` : ze ? F = `<=${K}.${Y}.${ee}-${ze}` : I ? F = `<${K}.${Y}.${+ee + 1}-0` : F = `<=${F}`, `${O} ${F}`.trim()), re = (I, x, O) => {
|
1258
1258
|
for (let C = 0; C < I.length; C++)
|
1259
|
-
if (!I[C].test(
|
1259
|
+
if (!I[C].test(x))
|
1260
1260
|
return !1;
|
1261
|
-
if (
|
1261
|
+
if (x.prerelease.length && !O.includePrerelease) {
|
1262
1262
|
for (let C = 0; C < I.length; C++)
|
1263
1263
|
if (i(I[C].semver), I[C].semver !== r.ANY && I[C].semver.prerelease.length > 0) {
|
1264
1264
|
const R = I[C].semver;
|
1265
|
-
if (R.major ===
|
1265
|
+
if (R.major === x.major && R.minor === x.minor && R.patch === x.patch)
|
1266
1266
|
return !0;
|
1267
1267
|
}
|
1268
1268
|
return !1;
|
@@ -1316,7 +1316,7 @@ function xr() {
|
|
1316
1316
|
}
|
1317
1317
|
}
|
1318
1318
|
ni = e;
|
1319
|
-
const t = na, { safeRe: n, t: r } =
|
1319
|
+
const t = na, { safeRe: n, t: r } = xs, i = kc, a = Ar, o = Ee, l = nt();
|
1320
1320
|
return ni;
|
1321
1321
|
}
|
1322
1322
|
const bh = nt(), Ah = (s, e, t) => {
|
@@ -1439,7 +1439,7 @@ var sf = (s, e, t) => {
|
|
1439
1439
|
const l = o.join(" || "), c = typeof e.raw == "string" ? e.raw : String(e);
|
1440
1440
|
return l.length < c.length ? l : e;
|
1441
1441
|
};
|
1442
|
-
const Do = nt(), la = xr(), { ANY: ri } = la,
|
1442
|
+
const Do = nt(), la = xr(), { ANY: ri } = la, Xn = Lr, ca = tt, rf = (s, e, t = {}) => {
|
1443
1443
|
if (s === e)
|
1444
1444
|
return !0;
|
1445
1445
|
s = new Do(s, t), e = new Do(e, t);
|
@@ -1482,10 +1482,10 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1482
1482
|
return null;
|
1483
1483
|
}
|
1484
1484
|
for (const f of n) {
|
1485
|
-
if (r && !
|
1485
|
+
if (r && !Xn(f, String(r), t) || i && !Xn(f, String(i), t))
|
1486
1486
|
return null;
|
1487
1487
|
for (const p of e)
|
1488
|
-
if (!
|
1488
|
+
if (!Xn(f, String(p), t))
|
1489
1489
|
return !1;
|
1490
1490
|
return !0;
|
1491
1491
|
}
|
@@ -1496,14 +1496,14 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1496
1496
|
if (h && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === h.major && f.semver.minor === h.minor && f.semver.patch === h.patch && (h = !1), f.operator === ">" || f.operator === ">=") {
|
1497
1497
|
if (o = jo(r, f, t), o === f && o !== r)
|
1498
1498
|
return !1;
|
1499
|
-
} else if (r.operator === ">=" && !
|
1499
|
+
} else if (r.operator === ">=" && !Xn(r.semver, String(f), t))
|
1500
1500
|
return !1;
|
1501
1501
|
}
|
1502
1502
|
if (i) {
|
1503
1503
|
if (d && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === d.major && f.semver.minor === d.minor && f.semver.patch === d.patch && (d = !1), f.operator === "<" || f.operator === "<=") {
|
1504
1504
|
if (l = Oo(i, f, t), l === f && l !== i)
|
1505
1505
|
return !1;
|
1506
|
-
} else if (i.operator === "<=" && !
|
1506
|
+
} else if (i.operator === "<=" && !Xn(i.semver, String(f), t))
|
1507
1507
|
return !1;
|
1508
1508
|
}
|
1509
1509
|
if (!f.operator && (i || r) && a !== 0)
|
@@ -1522,7 +1522,7 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1522
1522
|
return n < 0 ? s : n > 0 || e.operator === "<" && s.operator === "<=" ? e : s;
|
1523
1523
|
};
|
1524
1524
|
var lf = rf;
|
1525
|
-
const ii =
|
1525
|
+
const ii = xs, Vo = br, cf = Ee, Fo = Ec, uf = zn, df = cd, hf = hd, ff = pd, pf = _d, mf = yd, _f = Ad, vf = Ld, gf = Ed, yf = tt, wf = Nd, bf = Rd, Af = sa, Mf = Fd, xf = Bd, Lf = Mr, If = ra, Cf = Sc, Ef = Tc, Sf = ia, Tf = aa, kf = kc, Nf = dh, $f = xr(), Df = nt(), Rf = Lr, jf = Lh, Of = Sh, Vf = $h, Ff = jh, Pf = Fh, zf = oa, Bf = Qh, Gf = Xh, Zf = ef, Hf = sf, Uf = lf;
|
1526
1526
|
var Wf = {
|
1527
1527
|
parse: uf,
|
1528
1528
|
valid: df,
|
@@ -1570,13 +1570,13 @@ var Wf = {
|
|
1570
1570
|
compareIdentifiers: Fo.compareIdentifiers,
|
1571
1571
|
rcompareIdentifiers: Fo.rcompareIdentifiers
|
1572
1572
|
};
|
1573
|
-
const Ei = "5.1.0
|
1573
|
+
const Ei = "5.1.0";
|
1574
1574
|
function Jt() {
|
1575
1575
|
return De("plugin-helpers");
|
1576
1576
|
}
|
1577
|
-
const Q = Symbol("vcsApp"), tn = Symbol("pluginFactory"), on = Symbol("pluginBaseUrl"),
|
1577
|
+
const Q = Symbol("vcsApp"), tn = Symbol("pluginFactory"), on = Symbol("pluginBaseUrl"), Sn = Symbol("pluginModuleUrl"), nn = Symbol("pluginVersionRange");
|
1578
1578
|
function PE(s, e, t) {
|
1579
|
-
|
1579
|
+
M(e, String), M(t, String);
|
1580
1580
|
const n = s.plugins.getByKey(e);
|
1581
1581
|
if (n && n[on]) {
|
1582
1582
|
const r = new URL(n[on]), i = new URL(t.replace(/^\//, "/"), r);
|
@@ -1587,7 +1587,7 @@ function PE(s, e, t) {
|
|
1587
1587
|
return null;
|
1588
1588
|
}
|
1589
1589
|
function Yf(s) {
|
1590
|
-
return
|
1590
|
+
return M(s, String), /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
|
1591
1591
|
s
|
1592
1592
|
);
|
1593
1593
|
}
|
@@ -1626,7 +1626,7 @@ async function Qf(s, e) {
|
|
1626
1626
|
`plugin ${i.name} of version ${i.version} with map version range ${i.mapVersion} does not satisfy version ${Ei} of this VC Map!`
|
1627
1627
|
) : Jt().warning(
|
1628
1628
|
`plugin ${i.name} of version ${i.version} does not provide a mapVersion!`
|
1629
|
-
), i[tn] = n.default, i[on] = r.toString(), i[
|
1629
|
+
), i[tn] = n.default, i[on] = r.toString(), i[Sn] = t, i[nn] = e.version, i) : (Jt().error(
|
1630
1630
|
`plugin ${s} does not conform to the VcsPlugin interface, which requires a name and version`
|
1631
1631
|
), i.destroy && i.destroy(), null);
|
1632
1632
|
} catch (n) {
|
@@ -1645,13 +1645,13 @@ function qf(s) {
|
|
1645
1645
|
const e = s.toJSON ? s.toJSON() : {};
|
1646
1646
|
return e.name = s.name, s[nn] && (e.version = s[nn]), e.entry = Jf(
|
1647
1647
|
window.location.href,
|
1648
|
-
s[
|
1649
|
-
), e[tn] = s[tn], e[on] = s[on], e[
|
1648
|
+
s[Sn]
|
1649
|
+
), e[tn] = s[tn], e[on] = s[on], e[Sn] = s[Sn], e[nn] = s[nn], e;
|
1650
1650
|
}
|
1651
1651
|
async function Xf(s) {
|
1652
1652
|
if (s[tn]) {
|
1653
1653
|
const e = await s[tn](s);
|
1654
|
-
return e[tn] = s[tn], e[on] = s[on], e[
|
1654
|
+
return e[tn] = s[tn], e[on] = s[on], e[Sn] = s[Sn], e[nn] = s[nn], e;
|
1655
1655
|
}
|
1656
1656
|
return Qf(s.name, s);
|
1657
1657
|
}
|
@@ -1693,7 +1693,7 @@ function Kf(s) {
|
|
1693
1693
|
function Qe(s) {
|
1694
1694
|
return typeof s == "number" ? `${s}px` : s;
|
1695
1695
|
}
|
1696
|
-
function
|
1696
|
+
function Tn(s, e = {}) {
|
1697
1697
|
let t = Qe(s.left) || "unset";
|
1698
1698
|
const n = Qe(s.right) || "unset";
|
1699
1699
|
let r = Qe(s.top) || "unset";
|
@@ -1711,12 +1711,12 @@ function Sn(s, e = {}) {
|
|
1711
1711
|
return s.maxWidth && (l.maxWidth = Qe(s.maxWidth)), s.maxHeight && (l.maxHeight = Qe(s.maxHeight)), s.minHeight && (l.minHeight = Qe(s.minHeight)), s.minWidth && (l.minWidth = Qe(s.minWidth)), Object.assign(e, l);
|
1712
1712
|
}
|
1713
1713
|
function Po(s, e) {
|
1714
|
-
const t =
|
1714
|
+
const t = Tn(
|
1715
1715
|
e,
|
1716
1716
|
s.position
|
1717
1717
|
);
|
1718
1718
|
Kf(t) || (s.slot.value = U.DETACHED);
|
1719
|
-
const n =
|
1719
|
+
const n = Tn(
|
1720
1720
|
s.initialPositionOptions
|
1721
1721
|
), r = ua(
|
1722
1722
|
t,
|
@@ -1748,7 +1748,7 @@ class ep {
|
|
1748
1748
|
* @param {string} id
|
1749
1749
|
*/
|
1750
1750
|
remove(e) {
|
1751
|
-
|
1751
|
+
M(e, String);
|
1752
1752
|
const t = this._windowComponents.get(e);
|
1753
1753
|
if (t) {
|
1754
1754
|
this._cachePosition(t), this.componentIds.splice(this.componentIds.indexOf(e), 1), this._zIndices.value.splice(this._zIndices.value.indexOf(e), 1), this._windowComponents.delete(e), this._handleSlotsChanged(t.slot.value), this.removed.raiseEvent(t);
|
@@ -1839,7 +1839,7 @@ class ep {
|
|
1839
1839
|
* @private
|
1840
1840
|
*/
|
1841
1841
|
_cachePosition(e) {
|
1842
|
-
const t =
|
1842
|
+
const t = Tn(
|
1843
1843
|
e.initialPositionOptions
|
1844
1844
|
);
|
1845
1845
|
ua(t, e.position) || this._windowPositionsCache.set(e.id, {
|
@@ -1869,8 +1869,8 @@ class ep {
|
|
1869
1869
|
* @returns {WindowComponent}
|
1870
1870
|
*/
|
1871
1871
|
add(e, t) {
|
1872
|
-
var b, G, D, $, N, B, re, I,
|
1873
|
-
if (
|
1872
|
+
var b, G, D, $, N, B, re, I, x, O, C, R, S;
|
1873
|
+
if (M(t, [String, Q]), e.id && this.has(e.id))
|
1874
1874
|
throw new Error(
|
1875
1875
|
`A window with id ${e.id} has already been registered.`
|
1876
1876
|
);
|
@@ -1880,14 +1880,14 @@ class ep {
|
|
1880
1880
|
a,
|
1881
1881
|
e.position,
|
1882
1882
|
r
|
1883
|
-
), l =
|
1883
|
+
), l = Tn(o), c = w(a), { component: u, headerComponent: d } = e, h = { ...(G = e == null ? void 0 : e.state) == null ? void 0 : G.styles }, f = Array.isArray((D = e == null ? void 0 : e.state) == null ? void 0 : D.classes) ? [...(($ = e == null ? void 0 : e.state) == null ? void 0 : $.classes) ?? []] : { ...(N = e == null ? void 0 : e.state) == null ? void 0 : N.classes }, p = ce({
|
1884
1884
|
id: n,
|
1885
1885
|
parentId: r,
|
1886
1886
|
owner: t,
|
1887
1887
|
hideHeader: !!((B = e == null ? void 0 : e.state) != null && B.hideHeader),
|
1888
1888
|
hidePin: !!((re = e == null ? void 0 : e.state) != null && re.hidePin),
|
1889
1889
|
headerTitle: (I = e == null ? void 0 : e.state) == null ? void 0 : I.headerTitle,
|
1890
|
-
headerIcon: (
|
1890
|
+
headerIcon: (x = e == null ? void 0 : e.state) == null ? void 0 : x.headerIcon,
|
1891
1891
|
headerActions: (O = e == null ? void 0 : e.state) == null ? void 0 : O.headerActions,
|
1892
1892
|
headerActionsOverflow: (C = e == null ? void 0 : e.state) == null ? void 0 : C.headerActionsOverflow,
|
1893
1893
|
dockable: !1,
|
@@ -1966,7 +1966,7 @@ class ep {
|
|
1966
1966
|
t.initialPositionOptions,
|
1967
1967
|
t.parentId
|
1968
1968
|
);
|
1969
|
-
|
1969
|
+
Tn(n, t.position), this._windowPositionsCache.delete(e);
|
1970
1970
|
}
|
1971
1971
|
/**
|
1972
1972
|
* removes all windowComponents of a specific owner (plugin) and fires removed Events
|
@@ -2004,18 +2004,18 @@ const qt = {
|
|
2004
2004
|
BOTTOM_LEFT: 3,
|
2005
2005
|
BOTTOM_RIGHT: 4
|
2006
2006
|
};
|
2007
|
-
function
|
2007
|
+
function Bn(s) {
|
2008
2008
|
return s ? s.parentElement.getBoundingClientRect() : null;
|
2009
2009
|
}
|
2010
2010
|
function Dc(s, e, t, n = Ct.TOP_LEFT) {
|
2011
|
-
const r =
|
2011
|
+
const r = Bn(t);
|
2012
2012
|
if (!r)
|
2013
2013
|
return { left: s, top: e };
|
2014
2014
|
const { left: i, top: a, width: o, height: l } = r;
|
2015
2015
|
return n === Ct.TOP_LEFT ? { left: s - i, top: e - a } : n === Ct.TOP_RIGHT ? { right: i + o - s, top: e - a } : n === Ct.BOTTOM_LEFT ? { left: s - i, bottom: l + a - e } : { right: i + o - s, bottom: l + a - e };
|
2016
2016
|
}
|
2017
2017
|
function tp(s, e, t) {
|
2018
|
-
const n =
|
2018
|
+
const n = Bn(e);
|
2019
2019
|
if (!n)
|
2020
2020
|
return { left: s.x, top: s.y };
|
2021
2021
|
const { left: r, top: i } = n;
|
@@ -2027,7 +2027,7 @@ function tp(s, e, t) {
|
|
2027
2027
|
);
|
2028
2028
|
}
|
2029
2029
|
function np(s, e, t, n, r) {
|
2030
|
-
const i =
|
2030
|
+
const i = Bn(r);
|
2031
2031
|
if (!i)
|
2032
2032
|
return { left: s, top: e };
|
2033
2033
|
const { width: a, height: o } = i, l = e + n > o, c = s + t > a;
|
@@ -2035,7 +2035,7 @@ function np(s, e, t, n, r) {
|
|
2035
2035
|
return l ? c ? u = Ct.BOTTOM_RIGHT : u = Ct.BOTTOM_LEFT : c && (u = Ct.TOP_RIGHT), Dc(s, e, r, u);
|
2036
2036
|
}
|
2037
2037
|
function Rc(s, e, t, n) {
|
2038
|
-
const r =
|
2038
|
+
const r = Bn(n);
|
2039
2039
|
if (!r)
|
2040
2040
|
return { left: s.x, top: s.y };
|
2041
2041
|
const { left: i, top: a } = r;
|
@@ -2184,7 +2184,7 @@ function op(s, e, t) {
|
|
2184
2184
|
r,
|
2185
2185
|
e
|
2186
2186
|
);
|
2187
|
-
return
|
2187
|
+
return Tn(i);
|
2188
2188
|
}
|
2189
2189
|
const zo = {
|
2190
2190
|
bottom: "arrow-top",
|
@@ -2231,7 +2231,7 @@ var cp = function() {
|
|
2231
2231
|
null
|
2232
2232
|
);
|
2233
2233
|
const Se = dp.exports;
|
2234
|
-
function
|
2234
|
+
function Gn(s) {
|
2235
2235
|
return y(() => {
|
2236
2236
|
if (s.value) {
|
2237
2237
|
const e = Array.isArray(s.value.errorMessages) ? s.value.errorMessages : [s.value.errorMessages];
|
@@ -2275,7 +2275,7 @@ const hp = {
|
|
2275
2275
|
Tt(() => {
|
2276
2276
|
r.value = e.autofocus != null;
|
2277
2277
|
});
|
2278
|
-
const a =
|
2278
|
+
const a = Gn(i), o = y(() => e.type === "file" ? "VFileInput" : "VTextField"), l = y(() => e.clearable !== void 0 && e.clearable !== !1 && (n.value || r.value || !!a.value)), c = y(() => e.dense !== !1), u = y(() => (n.value || r.value || !!a.value) && !(e.disabled || e.disabled === "")), d = y({
|
2279
2279
|
get() {
|
2280
2280
|
return e.type === "number" && Number.isFinite(e.value) && s.decimals >= 0 ? parseFloat(e.value.toFixed(s.decimals)) : e.value ?? "";
|
2281
2281
|
},
|
@@ -2377,7 +2377,7 @@ const wp = {
|
|
2377
2377
|
components: {
|
2378
2378
|
VcsTooltip: Se,
|
2379
2379
|
VcsBadge: Ir,
|
2380
|
-
VBtn:
|
2380
|
+
VBtn: Pn,
|
2381
2381
|
VIcon: le
|
2382
2382
|
},
|
2383
2383
|
inheritAttrs: !1,
|
@@ -2450,7 +2450,7 @@ const xp = {
|
|
2450
2450
|
components: {
|
2451
2451
|
VcsTooltip: Se,
|
2452
2452
|
VcsBadge: Ir,
|
2453
|
-
VBtn:
|
2453
|
+
VBtn: Pn,
|
2454
2454
|
VIcon: le
|
2455
2455
|
},
|
2456
2456
|
inheritAttrs: !1,
|
@@ -2529,13 +2529,13 @@ var Lp = function() {
|
|
2529
2529
|
null,
|
2530
2530
|
null
|
2531
2531
|
);
|
2532
|
-
const
|
2532
|
+
const Ls = Cp.exports;
|
2533
2533
|
const Ep = {
|
2534
2534
|
name: "VcsFormButton",
|
2535
2535
|
components: {
|
2536
2536
|
VcsTooltip: Se,
|
2537
2537
|
VcsBadge: Ir,
|
2538
|
-
VBtn:
|
2538
|
+
VBtn: Pn,
|
2539
2539
|
VIcon: le
|
2540
2540
|
},
|
2541
2541
|
inheritAttrs: !1,
|
@@ -2687,7 +2687,7 @@ const jp = {
|
|
2687
2687
|
components: {
|
2688
2688
|
VcsActionList: ma,
|
2689
2689
|
VcsButton: Oe,
|
2690
|
-
VcsToolButton:
|
2690
|
+
VcsToolButton: Ls,
|
2691
2691
|
VcsFormButton: Cr,
|
2692
2692
|
VMenu: Bt,
|
2693
2693
|
VIcon: le,
|
@@ -2932,15 +2932,15 @@ var Xp = function() {
|
|
2932
2932
|
);
|
2933
2933
|
const t2 = e2.exports;
|
2934
2934
|
function Si(s) {
|
2935
|
-
return
|
2935
|
+
return M(s.name, String), pe(s.title, String), pe(s.icon, String), M(s.callback, Function), s.active = qe(s.active, !1), s.hasUpdate = qe(s.hasUpdate, !1), s.background = qe(s.background, !1), s.disabled = qe(s.disabled, !1), s;
|
2936
2936
|
}
|
2937
2937
|
function n2(s, e, t) {
|
2938
2938
|
var a;
|
2939
|
-
|
2939
|
+
M(s, {
|
2940
2940
|
name: String,
|
2941
2941
|
icon: [void 0, String],
|
2942
2942
|
title: [void 0, String]
|
2943
|
-
}),
|
2943
|
+
}), M(e, String), M(t, Wi);
|
2944
2944
|
const n = ((a = t.activeMap) == null ? void 0 : a.name) === e, r = {
|
2945
2945
|
...s,
|
2946
2946
|
active: n,
|
@@ -2953,12 +2953,12 @@ function n2(s, e, t) {
|
|
2953
2953
|
return { action: r, destroy: i };
|
2954
2954
|
}
|
2955
2955
|
function $t(s, e, t, n) {
|
2956
|
-
|
2956
|
+
M(s, {
|
2957
2957
|
name: String,
|
2958
2958
|
icon: [void 0, String],
|
2959
2959
|
title: [void 0, String],
|
2960
2960
|
hasUpdate: [void 0, Boolean]
|
2961
|
-
}),
|
2961
|
+
}), M(e, { id: String }), M(n, [String, Q]);
|
2962
2962
|
const r = {
|
2963
2963
|
...s,
|
2964
2964
|
active: t.has(e.id),
|
@@ -3047,11 +3047,11 @@ function r2(s, e, t) {
|
|
3047
3047
|
} };
|
3048
3048
|
}
|
3049
3049
|
function i2(s, e, t, n) {
|
3050
|
-
|
3050
|
+
M(s, {
|
3051
3051
|
name: String,
|
3052
3052
|
icon: [void 0, String],
|
3053
3053
|
title: [void 0, String]
|
3054
|
-
}),
|
3054
|
+
}), M(n, [String, Q]);
|
3055
3055
|
const r = Gt(), { position: i, ...a } = e;
|
3056
3056
|
let o = null;
|
3057
3057
|
const l = (h) => {
|
@@ -3069,7 +3069,7 @@ function i2(s, e, t, n) {
|
|
3069
3069
|
o = h.currentTarget;
|
3070
3070
|
const g = {
|
3071
3071
|
...Rc(
|
3072
|
-
{ x: f + _, y: p -
|
3072
|
+
{ x: f + _, y: p - Bn(t.maps.target).top },
|
3073
3073
|
(i == null ? void 0 : i.width) || 320,
|
3074
3074
|
(i == null ? void 0 : i.height) || 0,
|
3075
3075
|
t.maps.target
|
@@ -3094,11 +3094,11 @@ function i2(s, e, t, n) {
|
|
3094
3094
|
} };
|
3095
3095
|
}
|
3096
3096
|
function _a(s, e) {
|
3097
|
-
return
|
3097
|
+
return M(s, {
|
3098
3098
|
name: String,
|
3099
3099
|
icon: [void 0, String],
|
3100
3100
|
title: [void 0, String]
|
3101
|
-
}),
|
3101
|
+
}), M(e, [String, Function]), {
|
3102
3102
|
...s,
|
3103
3103
|
callback() {
|
3104
3104
|
const t = document.createElement("a");
|
@@ -3107,11 +3107,11 @@ function _a(s, e) {
|
|
3107
3107
|
};
|
3108
3108
|
}
|
3109
3109
|
function Oc(s, e, t, n) {
|
3110
|
-
return
|
3110
|
+
return M(s, {
|
3111
3111
|
name: String,
|
3112
3112
|
icon: [void 0, String],
|
3113
3113
|
title: [void 0, String]
|
3114
|
-
}),
|
3114
|
+
}), M(e, [He, String]), M(t, ws), M(n, Wi), {
|
3115
3115
|
title: "content.viewpointAction.title",
|
3116
3116
|
...s,
|
3117
3117
|
async callback() {
|
@@ -3122,18 +3122,18 @@ function Oc(s, e, t, n) {
|
|
3122
3122
|
}
|
3123
3123
|
function Vc(s) {
|
3124
3124
|
var t, n;
|
3125
|
-
const e = new
|
3125
|
+
const e = new bs({
|
3126
3126
|
coordinates: (n = (t = s.getGeometry()) == null ? void 0 : t.getExtent) == null ? void 0 : n.call(t),
|
3127
3127
|
projection: Pe
|
3128
3128
|
});
|
3129
3129
|
return !e || !e.isValid() ? null : He.createViewpointFromExtent(e);
|
3130
3130
|
}
|
3131
3131
|
function zE(s, e, t) {
|
3132
|
-
return
|
3132
|
+
return M(s, {
|
3133
3133
|
name: String,
|
3134
3134
|
icon: [void 0, String],
|
3135
3135
|
title: [void 0, String]
|
3136
|
-
}),
|
3136
|
+
}), M(e, As), M(t, Wi), {
|
3137
3137
|
title: "search.zoomToFeatureAction",
|
3138
3138
|
...s,
|
3139
3139
|
async callback() {
|
@@ -3200,7 +3200,7 @@ function Go(s) {
|
|
3200
3200
|
}
|
3201
3201
|
return s;
|
3202
3202
|
}
|
3203
|
-
const
|
3203
|
+
const ls = { exec: () => null };
|
3204
3204
|
function Zo(s, e) {
|
3205
3205
|
const t = s.replace(/\|/g, (i, a, o) => {
|
3206
3206
|
let l = !1, c = a;
|
@@ -3719,43 +3719,43 @@ class tr {
|
|
3719
3719
|
}
|
3720
3720
|
}
|
3721
3721
|
}
|
3722
|
-
const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
3722
|
+
const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Is = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, v2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Bc = /(?:[*+-]|\d{1,9}[.)])/, Gc = ne(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Bc).getRegex(), ga = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, g2 = /^[^\n]+/, ya = /(?!\s*\])(?:\\.|[^\[\]\\])+/, y2 = ne(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", ya).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), w2 = ne(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Bc).getRegex(), Er = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", wa = /<!--(?!-?>)[\s\S]*?(?:-->|$)/, b2 = ne("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", wa).replace("tag", Er).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Zc = ne(ga).replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), A2 = ne(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Zc).getRegex(), ba = {
|
3723
3723
|
blockquote: A2,
|
3724
3724
|
code: m2,
|
3725
3725
|
def: y2,
|
3726
3726
|
fences: _2,
|
3727
3727
|
heading: v2,
|
3728
|
-
hr:
|
3728
|
+
hr: Is,
|
3729
3729
|
html: b2,
|
3730
3730
|
lheading: Gc,
|
3731
3731
|
list: w2,
|
3732
3732
|
newline: p2,
|
3733
3733
|
paragraph: Zc,
|
3734
|
-
table:
|
3734
|
+
table: ls,
|
3735
3735
|
text: g2
|
3736
|
-
}, Uo = ne("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
3736
|
+
}, Uo = ne("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), M2 = {
|
3737
3737
|
...ba,
|
3738
3738
|
table: Uo,
|
3739
|
-
paragraph: ne(ga).replace("hr",
|
3739
|
+
paragraph: ne(ga).replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Uo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex()
|
3740
3740
|
}, x2 = {
|
3741
3741
|
...ba,
|
3742
3742
|
html: ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", wa).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
3743
3743
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
3744
3744
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
3745
|
-
fences:
|
3745
|
+
fences: ls,
|
3746
3746
|
// fences not supported
|
3747
3747
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
3748
|
-
paragraph: ne(ga).replace("hr",
|
3748
|
+
paragraph: ne(ga).replace("hr", Is).replace("heading", ` *#{1,6} *[^
|
3749
3749
|
]`).replace("lheading", Gc).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
3750
|
-
}, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
3751
|
-
_backpedal:
|
3750
|
+
}, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cs = "\\p{P}$+<=>`^|~", C2 = ne(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Cs).getRegex(), E2 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, S2 = ne(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Cs).getRegex(), T2 = ne("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Cs).getRegex(), k2 = ne("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Cs).getRegex(), N2 = ne(/\\([punct])/, "gu").replace(/punct/g, Cs).getRegex(), $2 = ne(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), D2 = ne(wa).replace("(?:-->|$)", "-->").getRegex(), R2 = ne("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", D2).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), nr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, j2 = ne(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", nr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wc = ne(/^!?\[(label)\]\[(ref)\]/).replace("label", nr).replace("ref", ya).getRegex(), Yc = ne(/^!?\[(ref)\](?:\[\])?/).replace("ref", ya).getRegex(), O2 = ne("reflink|nolink(?!\\()", "g").replace("reflink", Wc).replace("nolink", Yc).getRegex(), Aa = {
|
3751
|
+
_backpedal: ls,
|
3752
3752
|
// only used for GFM url
|
3753
3753
|
anyPunctuation: N2,
|
3754
3754
|
autolink: $2,
|
3755
3755
|
blockSkip: E2,
|
3756
3756
|
br: Uc,
|
3757
3757
|
code: L2,
|
3758
|
-
del:
|
3758
|
+
del: ls,
|
3759
3759
|
emStrongLDelim: S2,
|
3760
3760
|
emStrongRDelimAst: T2,
|
3761
3761
|
emStrongRDelimUnd: k2,
|
@@ -3767,7 +3767,7 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
|
|
3767
3767
|
reflinkSearch: O2,
|
3768
3768
|
tag: R2,
|
3769
3769
|
text: I2,
|
3770
|
-
url:
|
3770
|
+
url: ls
|
3771
3771
|
}, V2 = {
|
3772
3772
|
...Aa,
|
3773
3773
|
link: ne(/^!?\[(label)\]\((.*?)\)/).replace("label", nr).getRegex(),
|
@@ -3787,7 +3787,7 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
|
|
3787
3787
|
normal: ba,
|
3788
3788
|
gfm: M2,
|
3789
3789
|
pedantic: x2
|
3790
|
-
},
|
3790
|
+
}, Kn = {
|
3791
3791
|
normal: Aa,
|
3792
3792
|
gfm: Ti,
|
3793
3793
|
breaks: F2,
|
@@ -3807,9 +3807,9 @@ class ut {
|
|
3807
3807
|
};
|
3808
3808
|
const t = {
|
3809
3809
|
block: Gs.normal,
|
3810
|
-
inline:
|
3810
|
+
inline: Kn.normal
|
3811
3811
|
};
|
3812
|
-
this.options.pedantic ? (t.block = Gs.pedantic, t.inline =
|
3812
|
+
this.options.pedantic ? (t.block = Gs.pedantic, t.inline = Kn.pedantic) : this.options.gfm && (t.block = Gs.gfm, this.options.breaks ? t.inline = Kn.breaks : t.inline = Kn.gfm), this.tokenizer.rules = t;
|
3813
3813
|
}
|
3814
3814
|
/**
|
3815
3815
|
* Expose Rules
|
@@ -3817,7 +3817,7 @@ class ut {
|
|
3817
3817
|
static get rules() {
|
3818
3818
|
return {
|
3819
3819
|
block: Gs,
|
3820
|
-
inline:
|
3820
|
+
inline: Kn
|
3821
3821
|
};
|
3822
3822
|
}
|
3823
3823
|
/**
|
@@ -4340,7 +4340,7 @@ class dt {
|
|
4340
4340
|
return n;
|
4341
4341
|
}
|
4342
4342
|
}
|
4343
|
-
class
|
4343
|
+
class cs {
|
4344
4344
|
constructor(e) {
|
4345
4345
|
oe(this, "options");
|
4346
4346
|
this.options = e || un;
|
@@ -4364,26 +4364,26 @@ class ls {
|
|
4364
4364
|
return e;
|
4365
4365
|
}
|
4366
4366
|
}
|
4367
|
-
oe(
|
4367
|
+
oe(cs, "passThroughHooks", /* @__PURE__ */ new Set([
|
4368
4368
|
"preprocess",
|
4369
4369
|
"postprocess",
|
4370
4370
|
"processAllTokens"
|
4371
4371
|
]));
|
4372
|
-
var
|
4372
|
+
var gs, ki, mr, Qc;
|
4373
4373
|
class P2 {
|
4374
4374
|
constructor(...e) {
|
4375
|
-
Hr(this,
|
4375
|
+
Hr(this, gs);
|
4376
4376
|
Hr(this, mr);
|
4377
4377
|
oe(this, "defaults", va());
|
4378
4378
|
oe(this, "options", this.setOptions);
|
4379
|
-
oe(this, "parse",
|
4380
|
-
oe(this, "parseInline",
|
4379
|
+
oe(this, "parse", Rs(this, gs, ki).call(this, ut.lex, dt.parse));
|
4380
|
+
oe(this, "parseInline", Rs(this, gs, ki).call(this, ut.lexInline, dt.parseInline));
|
4381
4381
|
oe(this, "Parser", dt);
|
4382
4382
|
oe(this, "Renderer", sr);
|
4383
4383
|
oe(this, "TextRenderer", Ma);
|
4384
4384
|
oe(this, "Lexer", ut);
|
4385
4385
|
oe(this, "Tokenizer", tr);
|
4386
|
-
oe(this, "Hooks",
|
4386
|
+
oe(this, "Hooks", cs);
|
4387
4387
|
this.use(...e);
|
4388
4388
|
}
|
4389
4389
|
/**
|
@@ -4469,14 +4469,14 @@ class P2 {
|
|
4469
4469
|
r.tokenizer = i;
|
4470
4470
|
}
|
4471
4471
|
if (n.hooks) {
|
4472
|
-
const i = this.defaults.hooks || new
|
4472
|
+
const i = this.defaults.hooks || new cs();
|
4473
4473
|
for (const a in n.hooks) {
|
4474
4474
|
if (!(a in i))
|
4475
4475
|
throw new Error(`hook '${a}' does not exist`);
|
4476
4476
|
if (a === "options")
|
4477
4477
|
continue;
|
4478
4478
|
const o = a, l = n.hooks[o], c = i[o];
|
4479
|
-
|
4479
|
+
cs.passThroughHooks.has(a) ? i[o] = (u) => {
|
4480
4480
|
if (this.defaults.async)
|
4481
4481
|
return Promise.resolve(l.call(i, u)).then((h) => c.call(i, h));
|
4482
4482
|
const d = l.call(i, u);
|
@@ -4508,11 +4508,11 @@ class P2 {
|
|
4508
4508
|
return dt.parse(e, t ?? this.defaults);
|
4509
4509
|
}
|
4510
4510
|
}
|
4511
|
-
|
4511
|
+
gs = new WeakSet(), ki = function(e, t) {
|
4512
4512
|
return (n, r) => {
|
4513
4513
|
const i = { ...r }, a = { ...this.defaults, ...i };
|
4514
4514
|
this.defaults.async === !0 && i.async === !1 && (a.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), a.async = !0);
|
4515
|
-
const o =
|
4515
|
+
const o = Rs(this, mr, Qc).call(this, !!a.silent, !!a.async);
|
4516
4516
|
if (typeof n > "u" || n === null)
|
4517
4517
|
return o(new Error("marked(): input parameter is undefined or null"));
|
4518
4518
|
if (typeof n != "string")
|
@@ -4564,7 +4564,7 @@ te.TextRenderer = Ma;
|
|
4564
4564
|
te.Lexer = ut;
|
4565
4565
|
te.lexer = ut.lex;
|
4566
4566
|
te.Tokenizer = tr;
|
4567
|
-
te.Hooks =
|
4567
|
+
te.Hooks = cs;
|
4568
4568
|
te.parse = te;
|
4569
4569
|
te.options;
|
4570
4570
|
te.setOptions;
|
@@ -4601,7 +4601,7 @@ Ni || (Ni = function(e, t, n) {
|
|
4601
4601
|
$i || ($i = function(e, t) {
|
4602
4602
|
return new e(...t);
|
4603
4603
|
});
|
4604
|
-
const Zs = Ue(Array.prototype.forEach), Yo = Ue(Array.prototype.pop),
|
4604
|
+
const Zs = Ue(Array.prototype.forEach), Yo = Ue(Array.prototype.pop), es = Ue(Array.prototype.push), Js = Ue(String.prototype.toLowerCase), ai = Ue(String.prototype.toString), G2 = Ue(String.prototype.match), ts = Ue(String.prototype.replace), Z2 = Ue(String.prototype.indexOf), H2 = Ue(String.prototype.trim), Ve = Ue(RegExp.prototype.test), ns = U2(TypeError);
|
4605
4605
|
function Ue(s) {
|
4606
4606
|
return function(e) {
|
4607
4607
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
@@ -4731,7 +4731,7 @@ function tu() {
|
|
4731
4731
|
MUSTACHE_EXPR: B,
|
4732
4732
|
ERB_EXPR: re,
|
4733
4733
|
TMPLIT_EXPR: I,
|
4734
|
-
DATA_ATTR:
|
4734
|
+
DATA_ATTR: x,
|
4735
4735
|
ARIA_ATTR: O,
|
4736
4736
|
IS_SCRIPT_OR_DATA: C,
|
4737
4737
|
ATTR_WHITESPACE: R
|
@@ -4761,16 +4761,16 @@ function tu() {
|
|
4761
4761
|
enumerable: !0,
|
4762
4762
|
value: !1
|
4763
4763
|
}
|
4764
|
-
})), ee = null, ze = null, fn = !0, pn = !0,
|
4764
|
+
})), ee = null, ze = null, fn = !0, pn = !0, Un = !1, Wn = !0, vt = !1, at = !1, mn = !1, _n = !1, gt = !1, Ht = !1, Ut = !1, Ga = !0, Za = !1;
|
4765
4765
|
const i1 = "user-content-";
|
4766
|
-
let Vr = !0,
|
4766
|
+
let Vr = !0, Yn = !1, vn = {}, gn = null;
|
4767
4767
|
const Ha = W({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
4768
4768
|
let Ua = null;
|
4769
4769
|
const Wa = W({}, ["audio", "video", "img", "source", "image", "track"]);
|
4770
4770
|
let Fr = null;
|
4771
|
-
const Ya = W({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
4771
|
+
const Ya = W({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ns = "http://www.w3.org/1998/Math/MathML", $s = "http://www.w3.org/2000/svg", yt = "http://www.w3.org/1999/xhtml";
|
4772
4772
|
let yn = yt, Pr = !1, zr = null;
|
4773
|
-
const a1 = W({}, [
|
4773
|
+
const a1 = W({}, [Ns, $s, yt], ai);
|
4774
4774
|
let Wt = null;
|
4775
4775
|
const o1 = ["application/xhtml+xml", "text/html"], l1 = "text/html";
|
4776
4776
|
let _e = null, wn = null;
|
@@ -4794,18 +4794,18 @@ function tu() {
|
|
4794
4794
|
// eslint-disable-line indent
|
4795
4795
|
_e
|
4796
4796
|
// eslint-disable-line indent
|
4797
|
-
) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, _e) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, _e) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, _e) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1,
|
4797
|
+
) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, _e) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, _e) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, _e) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1, Un = v.ALLOW_UNKNOWN_PROTOCOLS || !1, Wn = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, vt = v.SAFE_FOR_TEMPLATES || !1, at = v.WHOLE_DOCUMENT || !1, gt = v.RETURN_DOM || !1, Ht = v.RETURN_DOM_FRAGMENT || !1, Ut = v.RETURN_TRUSTED_TYPE || !1, _n = v.FORCE_BODY || !1, Ga = v.SANITIZE_DOM !== !1, Za = v.SANITIZE_NAMED_PROPS || !1, Vr = v.KEEP_CONTENT !== !1, Yn = v.IN_PLACE || !1, S = v.ALLOWED_URI_REGEXP || Kc, yn = v.NAMESPACE || yt, Y = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), vt && (pn = !1), Ht && (gt = !0), vn && (T = W({}, [...Jo]), F = [], vn.html === !0 && (W(T, Qo), W(F, qo)), vn.svg === !0 && (W(T, oi), W(F, ui), W(F, Us)), vn.svgFilters === !0 && (W(T, li), W(F, ui), W(F, Us)), vn.mathMl === !0 && (W(T, ci), W(F, Xo), W(F, Us))), v.ADD_TAGS && (T === J && (T = Mn(T)), W(T, v.ADD_TAGS, _e)), v.ADD_ATTR && (F === K && (F = Mn(F)), W(F, v.ADD_ATTR, _e)), v.ADD_URI_SAFE_ATTR && W(Fr, v.ADD_URI_SAFE_ATTR, _e), v.FORBID_CONTENTS && (gn === Ha && (gn = Mn(gn)), W(gn, v.FORBID_CONTENTS, _e)), Vr && (T["#text"] = !0), at && W(T, ["html", "head", "body"]), T.table && (W(T, ["tbody"]), delete ee.tbody), v.TRUSTED_TYPES_POLICY) {
|
4798
4798
|
if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
|
4799
|
-
throw
|
4799
|
+
throw ns('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
4800
4800
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
4801
|
-
throw
|
4801
|
+
throw ns('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
4802
4802
|
A = v.TRUSTED_TYPES_POLICY, V = A.createHTML("");
|
4803
4803
|
} else
|
4804
4804
|
A === void 0 && (A = sm(f, r)), A !== null && typeof V == "string" && (V = A.createHTML(""));
|
4805
4805
|
Ce && Ce(v), wn = v;
|
4806
4806
|
}
|
4807
|
-
}, Ja = W({}, ["mi", "mo", "mn", "ms", "mtext"]), qa = W({}, ["foreignobject", "desc", "title", "annotation-xml"]), u1 = W({}, ["title", "style", "font", "a", "script"]),
|
4808
|
-
W(
|
4807
|
+
}, Ja = W({}, ["mi", "mo", "mn", "ms", "mtext"]), qa = W({}, ["foreignobject", "desc", "title", "annotation-xml"]), u1 = W({}, ["title", "style", "font", "a", "script"]), Ds = W({}, oi);
|
4808
|
+
W(Ds, li), W(Ds, W2);
|
4809
4809
|
const Gr = W({}, ci);
|
4810
4810
|
W(Gr, Y2);
|
4811
4811
|
const d1 = function(v) {
|
@@ -4815,9 +4815,9 @@ function tu() {
|
|
4815
4815
|
tagName: "template"
|
4816
4816
|
});
|
4817
4817
|
const j = Js(v.tagName), ae = Js(L.tagName);
|
4818
|
-
return zr[v.namespaceURI] ? v.namespaceURI ===
|
4818
|
+
return zr[v.namespaceURI] ? v.namespaceURI === $s ? L.namespaceURI === yt ? j === "svg" : L.namespaceURI === Ns ? j === "svg" && (ae === "annotation-xml" || Ja[ae]) : !!Ds[j] : v.namespaceURI === Ns ? L.namespaceURI === yt ? j === "math" : L.namespaceURI === $s ? j === "math" && qa[ae] : !!Gr[j] : v.namespaceURI === yt ? L.namespaceURI === $s && !qa[ae] || L.namespaceURI === Ns && !Ja[ae] ? !1 : !Gr[j] && (u1[j] || !Ds[j]) : !!(Wt === "application/xhtml+xml" && zr[v.namespaceURI]) : !1;
|
4819
4819
|
}, Yt = function(v) {
|
4820
|
-
|
4820
|
+
es(e.removed, {
|
4821
4821
|
element: v
|
4822
4822
|
});
|
4823
4823
|
try {
|
@@ -4827,12 +4827,12 @@ function tu() {
|
|
4827
4827
|
}
|
4828
4828
|
}, Zr = function(v, L) {
|
4829
4829
|
try {
|
4830
|
-
|
4830
|
+
es(e.removed, {
|
4831
4831
|
attribute: L.getAttributeNode(v),
|
4832
4832
|
from: L
|
4833
4833
|
});
|
4834
4834
|
} catch {
|
4835
|
-
|
4835
|
+
es(e.removed, {
|
4836
4836
|
attribute: null,
|
4837
4837
|
from: L
|
4838
4838
|
});
|
@@ -4912,14 +4912,14 @@ function tu() {
|
|
4912
4912
|
return Yt(v), !0;
|
4913
4913
|
}
|
4914
4914
|
return v instanceof l && !d1(v) || (j === "noscript" || j === "noembed" || j === "noframes") && Ve(/<\/no(script|embed|frames)/i, v.innerHTML) ? (Yt(v), !0) : (vt && v.nodeType === 3 && (L = v.textContent, Zs([B, re, I], (ae) => {
|
4915
|
-
L =
|
4916
|
-
}), v.textContent !== L && (
|
4915
|
+
L = ts(L, ae, " ");
|
4916
|
+
}), v.textContent !== L && (es(e.removed, {
|
4917
4917
|
element: v.cloneNode()
|
4918
4918
|
}), v.textContent = L)), wt("afterSanitizeElements", v, null), !1);
|
4919
4919
|
}, no = function(v, L, j) {
|
4920
4920
|
if (Ga && (L === "id" || L === "name") && (j in t || j in c1))
|
4921
4921
|
return !1;
|
4922
|
-
if (!(pn && !ze[L] && Ve(
|
4922
|
+
if (!(pn && !ze[L] && Ve(x, L))) {
|
4923
4923
|
if (!(fn && Ve(O, L))) {
|
4924
4924
|
if (!F[L] || ze[L]) {
|
4925
4925
|
if (
|
@@ -4932,9 +4932,9 @@ function tu() {
|
|
4932
4932
|
)
|
4933
4933
|
return !1;
|
4934
4934
|
} else if (!Fr[L]) {
|
4935
|
-
if (!Ve(S,
|
4935
|
+
if (!Ve(S, ts(j, R, ""))) {
|
4936
4936
|
if (!((L === "src" || L === "xlink:href" || L === "href") && v !== "script" && Z2(j, "data:") === 0 && Ua[v])) {
|
4937
|
-
if (!(
|
4937
|
+
if (!(Un && !Ve(C, ts(j, R, "")))) {
|
4938
4938
|
if (j)
|
4939
4939
|
return !1;
|
4940
4940
|
}
|
@@ -4965,21 +4965,21 @@ function tu() {
|
|
4965
4965
|
name: xe,
|
4966
4966
|
namespaceURI: Te,
|
4967
4967
|
value: Qt
|
4968
|
-
} = Me,
|
4968
|
+
} = Me, Qn = _e(xe);
|
4969
4969
|
let ke = xe === "value" ? Qt : H2(Qt);
|
4970
|
-
if (j.attrName =
|
4970
|
+
if (j.attrName = Qn, j.attrValue = ke, j.keepAttr = !0, j.forceKeepAttr = void 0, wt("uponSanitizeAttribute", v, j), ke = j.attrValue, j.forceKeepAttr || (Zr(xe, v), !j.keepAttr))
|
4971
4971
|
continue;
|
4972
|
-
if (!
|
4972
|
+
if (!Wn && Ve(/\/>/i, ke)) {
|
4973
4973
|
Zr(xe, v);
|
4974
4974
|
continue;
|
4975
4975
|
}
|
4976
4976
|
vt && Zs([B, re, I], (ao) => {
|
4977
|
-
ke =
|
4977
|
+
ke = ts(ke, ao, " ");
|
4978
4978
|
});
|
4979
4979
|
const io = _e(v.nodeName);
|
4980
|
-
if (no(io,
|
4981
|
-
if (Za && (
|
4982
|
-
switch (f.getAttributeType(io,
|
4980
|
+
if (no(io, Qn, ke)) {
|
4981
|
+
if (Za && (Qn === "id" || Qn === "name") && (Zr(xe, v), ke = i1 + ke), A && typeof f == "object" && typeof f.getAttributeType == "function" && !Te)
|
4982
|
+
switch (f.getAttributeType(io, Qn)) {
|
4983
4983
|
case "TrustedHTML": {
|
4984
4984
|
ke = A.createHTML(ke);
|
4985
4985
|
break;
|
@@ -5008,16 +5008,16 @@ function tu() {
|
|
5008
5008
|
if (Pr = !P, Pr && (P = "<!-->"), typeof P != "string" && !eo(P))
|
5009
5009
|
if (typeof P.toString == "function") {
|
5010
5010
|
if (P = P.toString(), typeof P != "string")
|
5011
|
-
throw
|
5011
|
+
throw ns("dirty is not a string, aborting");
|
5012
5012
|
} else
|
5013
|
-
throw
|
5013
|
+
throw ns("toString is not a function");
|
5014
5014
|
if (!e.isSupported)
|
5015
5015
|
return P;
|
5016
|
-
if (mn || Br(v), e.removed = [], typeof P == "string" && (
|
5016
|
+
if (mn || Br(v), e.removed = [], typeof P == "string" && (Yn = !1), Yn) {
|
5017
5017
|
if (P.nodeName) {
|
5018
5018
|
const Qt = _e(P.nodeName);
|
5019
5019
|
if (!T[Qt] || ee[Qt])
|
5020
|
-
throw
|
5020
|
+
throw ns("root node is forbidden and cannot be sanitized in-place");
|
5021
5021
|
}
|
5022
5022
|
} else if (P instanceof o)
|
5023
5023
|
L = Xa("<!---->"), j = L.ownerDocument.importNode(P, !0), j.nodeType === 1 && j.nodeName === "BODY" || j.nodeName === "HTML" ? L = j : L.appendChild(j);
|
@@ -5029,10 +5029,10 @@ function tu() {
|
|
5029
5029
|
return gt ? null : Ut ? V : "";
|
5030
5030
|
}
|
5031
5031
|
L && _n && Yt(L.firstChild);
|
5032
|
-
const xe = Ka(
|
5032
|
+
const xe = Ka(Yn ? P : L);
|
5033
5033
|
for (; ae = xe.nextNode(); )
|
5034
5034
|
to(ae) || (ae.content instanceof i && f1(ae.content), ro(ae));
|
5035
|
-
if (
|
5035
|
+
if (Yn)
|
5036
5036
|
return P;
|
5037
5037
|
if (gt) {
|
5038
5038
|
if (Ht)
|
@@ -5045,7 +5045,7 @@ function tu() {
|
|
5045
5045
|
let Te = at ? L.outerHTML : L.innerHTML;
|
5046
5046
|
return at && T["!doctype"] && L.ownerDocument && L.ownerDocument.doctype && L.ownerDocument.doctype.name && Ve(eu, L.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + L.ownerDocument.doctype.name + `>
|
5047
5047
|
` + Te), vt && Zs([B, re, I], (Qt) => {
|
5048
|
-
Te =
|
5048
|
+
Te = ts(Te, Qt, " ");
|
5049
5049
|
}), A && Ut ? A.createHTML(Te) : Te;
|
5050
5050
|
}, e.setConfig = function() {
|
5051
5051
|
let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -5057,7 +5057,7 @@ function tu() {
|
|
5057
5057
|
const j = _e(P), ae = _e(v);
|
5058
5058
|
return no(j, ae, L);
|
5059
5059
|
}, e.addHook = function(P, v) {
|
5060
|
-
typeof v == "function" && (N[P] = N[P] || [],
|
5060
|
+
typeof v == "function" && (N[P] = N[P] || [], es(N[P], v));
|
5061
5061
|
}, e.removeHook = function(P) {
|
5062
5062
|
if (N[P])
|
5063
5063
|
return Yo(N[P]);
|
@@ -5084,7 +5084,7 @@ const Z = {
|
|
5084
5084
|
[Z.LOADING]: "$vcsProgress"
|
5085
5085
|
};
|
5086
5086
|
function am(s, e, t) {
|
5087
|
-
|
5087
|
+
M(s, String), M(e == null ? void 0 : e.value, Object.values(Z)), M(t, Function);
|
5088
5088
|
const n = e.value, r = {
|
5089
5089
|
name: s,
|
5090
5090
|
icon: el[n],
|
@@ -5169,7 +5169,7 @@ function nu(s, e) {
|
|
5169
5169
|
b0(s.getGeometry().getCoordinates()[0]),
|
5170
5170
|
Pe.proj,
|
5171
5171
|
e.value.projection.proj
|
5172
|
-
), e.value = new
|
5172
|
+
), e.value = new bs(t);
|
5173
5173
|
}
|
5174
5174
|
function um(s, e, t, n, r) {
|
5175
5175
|
let i;
|
@@ -5185,12 +5185,12 @@ function um(s, e, t, n, r) {
|
|
5185
5185
|
const o = e.getFeatureById(t);
|
5186
5186
|
if (o) {
|
5187
5187
|
const l = o.getGeometry().on("change", () => {
|
5188
|
-
r.value = !0, nu(o, n),
|
5188
|
+
r.value = !0, nu(o, n), Nn(() => {
|
5189
5189
|
r.value = !1;
|
5190
5190
|
});
|
5191
5191
|
});
|
5192
5192
|
await e.activate(), i = x1(s, e), i.stopped.addEventListener(() => {
|
5193
|
-
a.active = !1,
|
5193
|
+
a.active = !1, $n(l), i = void 0;
|
5194
5194
|
}), i.setFeatures([o]), a.active = !0;
|
5195
5195
|
}
|
5196
5196
|
}
|
@@ -5218,12 +5218,12 @@ function dm(s, e, t, n, r) {
|
|
5218
5218
|
const o = e.getFeatureById(t);
|
5219
5219
|
if (o) {
|
5220
5220
|
const l = o.getGeometry().on("change", () => {
|
5221
|
-
r.value = !0, nu(o, n),
|
5221
|
+
r.value = !0, nu(o, n), Nn(() => {
|
5222
5222
|
r.value = !1;
|
5223
5223
|
});
|
5224
5224
|
});
|
5225
5225
|
await e.activate(), i = L1(s, e), i.stopped.addEventListener(() => {
|
5226
|
-
a.active = !1,
|
5226
|
+
a.active = !1, $n(l), i = void 0;
|
5227
5227
|
}), i.setFeature(o), a.active = !0;
|
5228
5228
|
}
|
5229
5229
|
}
|
@@ -5255,7 +5255,7 @@ function BE(s, e, t) {
|
|
5255
5255
|
zIndex: Yi - 1
|
5256
5256
|
});
|
5257
5257
|
Qi(n), s.layers.add(n);
|
5258
|
-
const r = new
|
5258
|
+
const r = new As(), i = Gt(), a = w(!1);
|
5259
5259
|
r.setId(i), n.addFeatures([r]), e.value.isValid() && tl(e, n, i);
|
5260
5260
|
const o = ie(
|
5261
5261
|
e,
|
@@ -5493,7 +5493,7 @@ function Lm(s, e, t = {}) {
|
|
5493
5493
|
};
|
5494
5494
|
}
|
5495
5495
|
function xa(s, e) {
|
5496
|
-
|
5496
|
+
M(e, {
|
5497
5497
|
name: String,
|
5498
5498
|
icon: [void 0, String],
|
5499
5499
|
title: [void 0, String],
|
@@ -5522,7 +5522,7 @@ function GE(s, e, t) {
|
|
5522
5522
|
};
|
5523
5523
|
}
|
5524
5524
|
function ZE(s, e, t, n) {
|
5525
|
-
|
5525
|
+
M(s, Function), M(t, [String, Q]), M(n, String);
|
5526
5526
|
const { action: r, destroy: i } = $t(
|
5527
5527
|
{
|
5528
5528
|
name: "list.import"
|
@@ -5574,7 +5574,7 @@ function Im(s, e, t, n, r) {
|
|
5574
5574
|
}
|
5575
5575
|
};
|
5576
5576
|
}
|
5577
|
-
const
|
5577
|
+
const Es = new Ji();
|
5578
5578
|
function St(s, e) {
|
5579
5579
|
e.forEach(
|
5580
5580
|
(t) => {
|
@@ -5634,7 +5634,7 @@ class nl extends Sr {
|
|
5634
5634
|
return e.layerNames = this._layerNames.slice(), e;
|
5635
5635
|
}
|
5636
5636
|
}
|
5637
|
-
|
5637
|
+
Es.registerClass(
|
5638
5638
|
nl.className,
|
5639
5639
|
nl
|
5640
5640
|
);
|
@@ -5663,7 +5663,7 @@ class sl extends Sr {
|
|
5663
5663
|
return e.layerNames = this._layerNames.slice(), e;
|
5664
5664
|
}
|
5665
5665
|
}
|
5666
|
-
|
5666
|
+
Es.registerClass(
|
5667
5667
|
sl.className,
|
5668
5668
|
sl
|
5669
5669
|
);
|
@@ -5693,7 +5693,7 @@ class rl extends Sr {
|
|
5693
5693
|
return e.viewpoint = this._viewpoint, e;
|
5694
5694
|
}
|
5695
5695
|
}
|
5696
|
-
|
5696
|
+
Es.registerClass(
|
5697
5697
|
rl.className,
|
5698
5698
|
rl
|
5699
5699
|
);
|
@@ -5723,7 +5723,7 @@ class il extends Sr {
|
|
5723
5723
|
return e.styleName = this._styleName, e.layerName = this._layerName, e;
|
5724
5724
|
}
|
5725
5725
|
}
|
5726
|
-
|
5726
|
+
Es.registerClass(
|
5727
5727
|
il.className,
|
5728
5728
|
il
|
5729
5729
|
);
|
@@ -5754,7 +5754,7 @@ class su {
|
|
5754
5754
|
* @param {string} id
|
5755
5755
|
*/
|
5756
5756
|
remove(e) {
|
5757
|
-
|
5757
|
+
M(e, String);
|
5758
5758
|
const t = this._buttonComponents.get(e);
|
5759
5759
|
if (t) {
|
5760
5760
|
const n = this.componentIds.indexOf(e);
|
@@ -5769,7 +5769,7 @@ class su {
|
|
5769
5769
|
* @returns {ButtonComponent}
|
5770
5770
|
*/
|
5771
5771
|
add(e, t) {
|
5772
|
-
if (pe(e.id, String), pe(e.weight, Number),
|
5772
|
+
if (pe(e.id, String), pe(e.weight, Number), M(e.action, er), M(t, [String, Q]), e.id && this.has(e.id))
|
5773
5773
|
throw new Error(
|
5774
5774
|
`A button with id ${e.id} has already been registered.`
|
5775
5775
|
);
|
@@ -5787,7 +5787,7 @@ class su {
|
|
5787
5787
|
return e.weight || 0;
|
5788
5788
|
},
|
5789
5789
|
set weight(a) {
|
5790
|
-
|
5790
|
+
M(a, Number), e.weight = a;
|
5791
5791
|
}
|
5792
5792
|
};
|
5793
5793
|
return this._buttonComponents.set(n, i), this.componentIds.push(n), this.added.raiseEvent(i), i;
|
@@ -5842,7 +5842,7 @@ class Em extends su {
|
|
5842
5842
|
* @returns {import("./buttonManager.js").ButtonComponent}
|
5843
5843
|
*/
|
5844
5844
|
add(e, t, n) {
|
5845
|
-
|
5845
|
+
M(n, Object.values(Ne));
|
5846
5846
|
const r = super.add(e, t);
|
5847
5847
|
return r[ru] = n, r;
|
5848
5848
|
}
|
@@ -5853,7 +5853,7 @@ class Em extends su {
|
|
5853
5853
|
* @param {boolean} [active]
|
5854
5854
|
*/
|
5855
5855
|
toggle(e, t = void 0) {
|
5856
|
-
if (
|
5856
|
+
if (M(e, String), this.has(e)) {
|
5857
5857
|
const { action: n } = this.get(e);
|
5858
5858
|
t !== void 0 ? (n == null ? void 0 : n.active) !== t && n.callback() : n && n.callback();
|
5859
5859
|
}
|
@@ -5865,7 +5865,7 @@ const Tm = {
|
|
5865
5865
|
components: {
|
5866
5866
|
VcsActionButtonList: st,
|
5867
5867
|
VcsActionList: ma,
|
5868
|
-
VcsToolButton:
|
5868
|
+
VcsToolButton: Ls,
|
5869
5869
|
VToolbar: yr,
|
5870
5870
|
VContainer: me,
|
5871
5871
|
VRow: Re,
|
@@ -5943,7 +5943,7 @@ const Rm = {
|
|
5943
5943
|
setup(s, { emit: e }) {
|
5944
5944
|
const t = q("vcsApp"), { provides: n } = t.windowManager.get(s.windowState.id);
|
5945
5945
|
Object.entries(n).forEach(([p, _]) => {
|
5946
|
-
|
5946
|
+
ys(p, _);
|
5947
5947
|
});
|
5948
5948
|
const r = y(() => !!s.windowState.parentId), i = y(() => s.slotWindow !== U.STATIC), a = y(() => s.slotWindow !== U.DETACHED), o = y(() => s.slotWindow === U.STATIC || s.slotWindow === U.DYNAMIC_LEFT || s.slotWindow === U.DYNAMIC_CHILD), l = y(
|
5949
5949
|
() => s.slotWindow === U.DYNAMIC_RIGHT
|
@@ -6105,7 +6105,7 @@ const Hm = {
|
|
6105
6105
|
const E = e.get(_), z = o(E);
|
6106
6106
|
rp(_, g, e, n.value, z);
|
6107
6107
|
}, d = w(t), h = y(() => zt().proxy.$vuetify.breakpoint.xs && d.value.length > 0), f = () => {
|
6108
|
-
n.value =
|
6108
|
+
n.value = Bn(s.maps.target);
|
6109
6109
|
};
|
6110
6110
|
window.addEventListener("resize", f);
|
6111
6111
|
const p = s.maps.mapActivated.addEventListener(f);
|
@@ -6176,7 +6176,7 @@ const Qm = Ym.exports, Vt = {
|
|
6176
6176
|
icon: "mdi-dots-grid",
|
6177
6177
|
title: "toolbox.miscellaneous"
|
6178
6178
|
}
|
6179
|
-
], al = ["featureInfo", "flight"],
|
6179
|
+
], al = ["featureInfo", "flight"], rs = Symbol("defaultToolboxName");
|
6180
6180
|
function qm(s, e, t = []) {
|
6181
6181
|
const n = [Q, ...t];
|
6182
6182
|
let r = n.indexOf(s.owner), i = n.indexOf(e.owner);
|
@@ -6192,16 +6192,16 @@ function Xm(s, e = Jm) {
|
|
6192
6192
|
}
|
6193
6193
|
class Km {
|
6194
6194
|
constructor() {
|
6195
|
-
this.added = new Ae(), this.removed = new Ae(), this.componentIds = [], this._toolboxGroups = /* @__PURE__ */ new Map(), this._toolboxName =
|
6195
|
+
this.added = new Ae(), this.removed = new Ae(), this.componentIds = [], this._toolboxGroups = /* @__PURE__ */ new Map(), this._toolboxName = rs, this.toolboxNameChanged = new Ae();
|
6196
6196
|
}
|
6197
6197
|
get toolboxName() {
|
6198
6198
|
return this._toolboxName;
|
6199
6199
|
}
|
6200
6200
|
set toolboxName(e) {
|
6201
|
-
|
6201
|
+
M(e, [String, rs]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
|
6202
6202
|
}
|
6203
6203
|
setDefaultToolboxName() {
|
6204
|
-
this.toolboxName =
|
6204
|
+
this.toolboxName = rs;
|
6205
6205
|
}
|
6206
6206
|
/**
|
6207
6207
|
* @param {string} id
|
@@ -6223,7 +6223,7 @@ class Km {
|
|
6223
6223
|
* @param {string} id
|
6224
6224
|
*/
|
6225
6225
|
remove(e) {
|
6226
|
-
|
6226
|
+
M(e, String);
|
6227
6227
|
const t = this._toolboxGroups.get(e);
|
6228
6228
|
if (t) {
|
6229
6229
|
const n = this.componentIds.indexOf(e);
|
@@ -6238,11 +6238,11 @@ class Km {
|
|
6238
6238
|
* @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
|
6239
6239
|
*/
|
6240
6240
|
add(e, t) {
|
6241
|
-
if (pe(e.id, String),
|
6241
|
+
if (pe(e.id, String), M(e.type, Object.values(Vt)), M(t, [String, Q]), e.id && this.has(e.id))
|
6242
6242
|
throw new Error(
|
6243
6243
|
`A toolGroup with id ${e.id} has already been registered.`
|
6244
6244
|
);
|
6245
|
-
const n = e.id || Gt(), { type: r, toolboxNames: i } = e, a = i ? [...i] : [
|
6245
|
+
const n = e.id || Gt(), { type: r, toolboxNames: i } = e, a = i ? [...i] : [rs];
|
6246
6246
|
let o = {
|
6247
6247
|
get id() {
|
6248
6248
|
return n;
|
@@ -6258,7 +6258,7 @@ class Km {
|
|
6258
6258
|
}
|
6259
6259
|
};
|
6260
6260
|
if (r === Vt.SINGLE) {
|
6261
|
-
|
6261
|
+
M(e.action, er);
|
6262
6262
|
const l = Si(e.action);
|
6263
6263
|
o = {
|
6264
6264
|
...o,
|
@@ -6267,7 +6267,7 @@ class Km {
|
|
6267
6267
|
}
|
6268
6268
|
};
|
6269
6269
|
} else if (r === Vt.SELECT) {
|
6270
|
-
|
6270
|
+
M(e.action, {
|
6271
6271
|
...er,
|
6272
6272
|
selected: Function,
|
6273
6273
|
currentIndex: Number,
|
@@ -6289,7 +6289,7 @@ class Km {
|
|
6289
6289
|
}
|
6290
6290
|
};
|
6291
6291
|
} else {
|
6292
|
-
|
6292
|
+
M(e.icon, String), pe(e.title, String), pe(e.disabled, Boolean);
|
6293
6293
|
const {
|
6294
6294
|
icon: l,
|
6295
6295
|
title: c = void 0,
|
@@ -6335,7 +6335,7 @@ class Km {
|
|
6335
6335
|
const e_ = {
|
6336
6336
|
name: "ToolboxActionSelect",
|
6337
6337
|
components: {
|
6338
|
-
VcsToolButton:
|
6338
|
+
VcsToolButton: Ls,
|
6339
6339
|
VMenu: Bt,
|
6340
6340
|
VIcon: le,
|
6341
6341
|
VToolbar: yr,
|
@@ -6384,7 +6384,7 @@ const r_ = s_.exports;
|
|
6384
6384
|
const i_ = {
|
6385
6385
|
name: "ToolboxActionGroup",
|
6386
6386
|
components: {
|
6387
|
-
VcsToolButton:
|
6387
|
+
VcsToolButton: Ls,
|
6388
6388
|
VMenu: Bt,
|
6389
6389
|
VIcon: le,
|
6390
6390
|
VToolbar: yr,
|
@@ -6442,7 +6442,7 @@ const u_ = {
|
|
6442
6442
|
components: {
|
6443
6443
|
ToolboxActionSelect: r_,
|
6444
6444
|
ToolboxActionGroup: c_,
|
6445
|
-
VcsToolButton:
|
6445
|
+
VcsToolButton: Ls,
|
6446
6446
|
VToolbar: yr,
|
6447
6447
|
VToolbarItems: wr
|
6448
6448
|
},
|
@@ -6485,7 +6485,7 @@ const u_ = {
|
|
6485
6485
|
toolboxOpen: o,
|
6486
6486
|
orderedGroups: a,
|
6487
6487
|
isDefaultToolbox: y(
|
6488
|
-
() => n.value ===
|
6488
|
+
() => n.value === rs
|
6489
6489
|
),
|
6490
6490
|
ToolboxType: Vt,
|
6491
6491
|
open: w(!1)
|
@@ -6595,11 +6595,11 @@ function A_(s) {
|
|
6595
6595
|
function M_(s, e = 0, t = 1) {
|
6596
6596
|
return Math.max(e, Math.min(t, s));
|
6597
6597
|
}
|
6598
|
-
function
|
6598
|
+
function us(s = {}, e = {}) {
|
6599
6599
|
for (const t in e) {
|
6600
6600
|
const n = s[t], r = e[t];
|
6601
6601
|
if (ol(n) && ol(r)) {
|
6602
|
-
s[t] =
|
6602
|
+
s[t] = us(n, r);
|
6603
6603
|
continue;
|
6604
6604
|
}
|
6605
6605
|
s[t] = r;
|
@@ -6609,7 +6609,7 @@ function cs(s = {}, e = {}) {
|
|
6609
6609
|
function Ri(s, e = {}) {
|
6610
6610
|
if (Ri.installed)
|
6611
6611
|
return;
|
6612
|
-
Ri.installed = !0,
|
6612
|
+
Ri.installed = !0, Fn !== s && yu(`Multiple instances of Vue detected
|
6613
6613
|
See https://github.com/vuetifyjs/vuetify/issues/4068
|
6614
6614
|
|
6615
6615
|
If you're seeing "$attrs is readonly", it's caused by this`);
|
@@ -6770,7 +6770,7 @@ function cu(s) {
|
|
6770
6770
|
function uu(s) {
|
6771
6771
|
return typeof s == "string" ? document.querySelector(s) : s && s._isVue ? s.$el : s instanceof HTMLElement ? s : null;
|
6772
6772
|
}
|
6773
|
-
function
|
6773
|
+
function ms(s, e = {}) {
|
6774
6774
|
const t = {
|
6775
6775
|
container: document.scrollingElement || document.body || document.documentElement,
|
6776
6776
|
duration: 500,
|
@@ -6779,11 +6779,11 @@ function ps(s, e = {}) {
|
|
6779
6779
|
appOffset: !0,
|
6780
6780
|
...e
|
6781
6781
|
}, n = V_(t.container);
|
6782
|
-
if (t.appOffset &&
|
6782
|
+
if (t.appOffset && ms.framework.application) {
|
6783
6783
|
const l = n.classList.contains("v-navigation-drawer"), c = n.classList.contains("v-navigation-drawer--clipped"), {
|
6784
6784
|
bar: u,
|
6785
6785
|
top: d
|
6786
|
-
} =
|
6786
|
+
} = ms.framework.application;
|
6787
6787
|
t.offset += u, (!l || c) && (t.offset += d);
|
6788
6788
|
}
|
6789
6789
|
const r = performance.now();
|
@@ -6805,12 +6805,12 @@ function ps(s, e = {}) {
|
|
6805
6805
|
requestAnimationFrame(c);
|
6806
6806
|
}));
|
6807
6807
|
}
|
6808
|
-
|
6809
|
-
|
6808
|
+
ms.framework = {};
|
6809
|
+
ms.init = () => {
|
6810
6810
|
};
|
6811
6811
|
class du extends dn {
|
6812
6812
|
constructor() {
|
6813
|
-
return super(),
|
6813
|
+
return super(), ms;
|
6814
6814
|
}
|
6815
6815
|
}
|
6816
6816
|
du.property = "goTo";
|
@@ -7012,7 +7012,7 @@ let fu = class pu extends dn {
|
|
7012
7012
|
values: n,
|
7013
7013
|
component: r
|
7014
7014
|
} = e[pu.property];
|
7015
|
-
this.component = r, this.iconfont = t, this.values =
|
7015
|
+
this.component = r, this.iconfont = t, this.values = us(J_[t], n);
|
7016
7016
|
}
|
7017
7017
|
};
|
7018
7018
|
fu.property = "icons";
|
@@ -7020,7 +7020,7 @@ const mu = "$vuetify.", ll = Symbol("Lang fallback");
|
|
7020
7020
|
function _u(s, e, t = !1, n) {
|
7021
7021
|
const r = e.replace(mu, "");
|
7022
7022
|
let i = b_(s, r, ll);
|
7023
|
-
return i === ll && (t ? (yu(`Translation key "${r}" not found in fallback`), i = e) : (
|
7023
|
+
return i === ll && (t ? (yu(`Translation key "${r}" not found in fallback`), i = e) : (ds(`Translation key "${r}" not found, falling back to default`), i = _u(n, e, !0, n))), i;
|
7024
7024
|
}
|
7025
7025
|
class kr extends dn {
|
7026
7026
|
constructor(e) {
|
@@ -7177,13 +7177,13 @@ const q_ = {
|
|
7177
7177
|
class vu extends dn {
|
7178
7178
|
constructor(e, t) {
|
7179
7179
|
super();
|
7180
|
-
const n =
|
7180
|
+
const n = us({}, X_), {
|
7181
7181
|
userPreset: r
|
7182
7182
|
} = t, {
|
7183
7183
|
preset: i = {},
|
7184
7184
|
...a
|
7185
7185
|
} = r;
|
7186
|
-
i.preset != null &&
|
7186
|
+
i.preset != null && ds("Global presets do not support the **preset** option, it can be safely omitted"), t.preset = us(us(n, i), a);
|
7187
7187
|
}
|
7188
7188
|
}
|
7189
7189
|
vu.property = "presets";
|
@@ -7296,7 +7296,7 @@ class Nr extends dn {
|
|
7296
7296
|
}
|
7297
7297
|
initTheme(e) {
|
7298
7298
|
typeof document > "u" || (this.unwatch && (this.unwatch(), this.unwatch = null), e.$once("hook:created", () => {
|
7299
|
-
const t =
|
7299
|
+
const t = Fn.observable({
|
7300
7300
|
themes: this.themes
|
7301
7301
|
});
|
7302
7302
|
this.unwatch = e.$watch(() => t.themes, () => this.applyTheme(), {
|
@@ -7323,7 +7323,7 @@ class Nr extends dn {
|
|
7323
7323
|
}
|
7324
7324
|
}
|
7325
7325
|
Nr.property = "theme";
|
7326
|
-
class
|
7326
|
+
class Ss {
|
7327
7327
|
constructor(e = {}) {
|
7328
7328
|
this.framework = {
|
7329
7329
|
isHydrating: !1
|
@@ -7344,14 +7344,14 @@ class Es {
|
|
7344
7344
|
this.installed.includes(t) || (this.framework[t] = new e(this.preset, this), this.installed.push(t));
|
7345
7345
|
}
|
7346
7346
|
}
|
7347
|
-
|
7348
|
-
|
7349
|
-
|
7350
|
-
|
7347
|
+
Ss.install = Ri;
|
7348
|
+
Ss.installed = !1;
|
7349
|
+
Ss.version = "2.6.16";
|
7350
|
+
Ss.config = {
|
7351
7351
|
silent: !1
|
7352
7352
|
};
|
7353
7353
|
function gu(s, e, t) {
|
7354
|
-
if (!
|
7354
|
+
if (!Ss.config.silent) {
|
7355
7355
|
if (t && (e = {
|
7356
7356
|
_isVue: !0,
|
7357
7357
|
$parent: t,
|
@@ -7364,7 +7364,7 @@ function gu(s, e, t) {
|
|
7364
7364
|
return `[Vuetify] ${s}` + (e ? tv(e) : "");
|
7365
7365
|
}
|
7366
7366
|
}
|
7367
|
-
function
|
7367
|
+
function ds(s, e, t) {
|
7368
7368
|
const n = gu(s, e, t);
|
7369
7369
|
n != null && console.warn(n);
|
7370
7370
|
}
|
@@ -7430,17 +7430,17 @@ function rr(s) {
|
|
7430
7430
|
e = s;
|
7431
7431
|
else if (typeof s == "string") {
|
7432
7432
|
let t = s[0] === "#" ? s.substring(1) : s;
|
7433
|
-
t.length === 3 && (t = t.split("").map((n) => n + n).join("")), t.length !== 6 &&
|
7433
|
+
t.length === 3 && (t = t.split("").map((n) => n + n).join("")), t.length !== 6 && ds(`'${s}' is not a valid rgb color`), e = parseInt(t, 16);
|
7434
7434
|
} else
|
7435
7435
|
throw new TypeError(`Colors can only be numbers or strings, recieved ${s == null ? s : s.constructor.name} instead`);
|
7436
|
-
return e < 0 ? (
|
7436
|
+
return e < 0 ? (ds(`Colors cannot be negative: '${s}'`), e = 0) : (e > 16777215 || isNaN(e)) && (ds(`'${s}' is not a valid rgb color`), e = 16777215), e;
|
7437
7437
|
}
|
7438
|
-
function
|
7438
|
+
function hs(s) {
|
7439
7439
|
let e = s.toString(16);
|
7440
7440
|
return e.length < 6 && (e = "0".repeat(6 - e.length) + e), "#" + e;
|
7441
7441
|
}
|
7442
7442
|
function av(s) {
|
7443
|
-
return
|
7443
|
+
return hs(rr(s));
|
7444
7444
|
}
|
7445
7445
|
const ir = 0.20689655172413793, ov = (s) => s > ir ** 3 ? Math.cbrt(s) : s / (3 * ir ** 2) + 4 / 29, lv = (s) => s > ir ? s ** 3 : 3 * ir ** 2 * (s - 4 / 29);
|
7446
7446
|
function Au(s) {
|
@@ -7459,7 +7459,7 @@ function xu(s, e = !1, t = !0) {
|
|
7459
7459
|
for (let o = 0; o < i.length; ++o) {
|
7460
7460
|
const l = i[o], c = s[l];
|
7461
7461
|
c != null && (t ? e ? (l === "base" || l.startsWith("lighten") || l.startsWith("darken")) && (a[l] = av(c)) : typeof c == "object" ? a[l] = xu(c, !0, t) : a[l] = Lu(l, rr(c)) : a[l] = {
|
7462
|
-
base:
|
7462
|
+
base: hs(rr(c))
|
7463
7463
|
});
|
7464
7464
|
}
|
7465
7465
|
return e || (a.anchor = n || a.base || a.primary.base), a;
|
@@ -7513,12 +7513,12 @@ ${i}}
|
|
7513
7513
|
}
|
7514
7514
|
function Lu(s, e) {
|
7515
7515
|
const t = {
|
7516
|
-
base:
|
7516
|
+
base: hs(e)
|
7517
7517
|
};
|
7518
7518
|
for (let n = 5; n > 0; --n)
|
7519
|
-
t[`lighten${n}`] =
|
7519
|
+
t[`lighten${n}`] = hs(hv(e, n));
|
7520
7520
|
for (let n = 1; n <= 4; ++n)
|
7521
|
-
t[`darken${n}`] =
|
7521
|
+
t[`darken${n}`] = hs(fv(e, n));
|
7522
7522
|
return t;
|
7523
7523
|
}
|
7524
7524
|
function hv(s, e) {
|
@@ -9374,8 +9374,8 @@ const fb = hb.exports, pb = {
|
|
9374
9374
|
{}
|
9375
9375
|
), Iu = _b(pb);
|
9376
9376
|
Object.keys(Iu).map((s) => `$${s}`);
|
9377
|
-
|
9378
|
-
const
|
9377
|
+
Fn.use(rc);
|
9378
|
+
const Dn = {
|
9379
9379
|
light: "#409D76",
|
9380
9380
|
dark: "#27B97C"
|
9381
9381
|
};
|
@@ -9408,7 +9408,7 @@ function vb() {
|
|
9408
9408
|
darken3: "#525252",
|
9409
9409
|
darken4: "#383838"
|
9410
9410
|
},
|
9411
|
-
primary:
|
9411
|
+
primary: Dn.light,
|
9412
9412
|
warning: "#FFCE00",
|
9413
9413
|
error: "#AA0000",
|
9414
9414
|
info: "#2196F3",
|
@@ -9427,7 +9427,7 @@ function vb() {
|
|
9427
9427
|
darken3: "#EBEBEB",
|
9428
9428
|
darken4: "#F8F8F8"
|
9429
9429
|
},
|
9430
|
-
primary:
|
9430
|
+
primary: Dn.dark,
|
9431
9431
|
warning: "#FFCE00",
|
9432
9432
|
error: "#FF5252",
|
9433
9433
|
info: "#2196F3",
|
@@ -9444,14 +9444,14 @@ function vb() {
|
|
9444
9444
|
});
|
9445
9445
|
}
|
9446
9446
|
const ar = vb();
|
9447
|
-
function
|
9448
|
-
return ar.framework.theme.isDark ?
|
9447
|
+
function Rn() {
|
9448
|
+
return ar.framework.theme.isDark ? Dn.dark : Dn.light;
|
9449
9449
|
}
|
9450
9450
|
function Cu(s, e) {
|
9451
9451
|
const t = ar.framework.theme.isDark ? "dark" : "light", n = ar.framework.theme.themes[t][s];
|
9452
9452
|
return n && e ? n[e] ?? Lu(s, rr(n))[e] : (n == null ? void 0 : n.base) ?? n;
|
9453
9453
|
}
|
9454
|
-
const
|
9454
|
+
const is = Symbol("overviewMapLayerSymbol");
|
9455
9455
|
function Eu() {
|
9456
9456
|
return {
|
9457
9457
|
component: au,
|
@@ -9504,7 +9504,7 @@ class gb {
|
|
9504
9504
|
this._app = e, this._active = !1, this._map = new vr({
|
9505
9505
|
target: "overview-map-container"
|
9506
9506
|
}), this._cachedViewpoint = null, this._obliqueTileLayer = null, this._obliqueImageLayer = null, this._obliqueSelectedImageLayer = null;
|
9507
|
-
const t = e.uiConfig.config.value.primaryColor ??
|
9507
|
+
const t = e.uiConfig.config.value.primaryColor ?? Rn(), n = wc.fromCssColorString("#EDEDED");
|
9508
9508
|
this.obliqueSelectedStyle = new Dt({
|
9509
9509
|
fill: {
|
9510
9510
|
color: n.withAlpha(0.8).toCssColorString()
|
@@ -9514,7 +9514,7 @@ class gb {
|
|
9514
9514
|
width: 3
|
9515
9515
|
}
|
9516
9516
|
}), this._obliqueResolutionFactor = 2, this._obliqueViewDirection = null, this._cameraIconLayer = null, this.cameraIconStyle = new Dt({
|
9517
|
-
image: cl(
|
9517
|
+
image: cl(Rn())
|
9518
9518
|
}), this.minimumHeight = 150, this._eventHandler = null, this._mapClicked = null, this._mapPointerListener = null, this._listeners = [], this._mapActivatedListener = null, this._collectionListeners = [
|
9519
9519
|
this._app.maps.layerCollection.added.addEventListener((r) => {
|
9520
9520
|
if (r.properties.showInOverviewMap) {
|
@@ -9651,7 +9651,7 @@ class gb {
|
|
9651
9651
|
], r = this._map.olMap.once("postrender", () => {
|
9652
9652
|
this._obliqueCollectionChanged(e.collection), this._obliqueImageChange(e.currentImage);
|
9653
9653
|
}), i = () => {
|
9654
|
-
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(),
|
9654
|
+
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(), $n(r), n.forEach((a) => {
|
9655
9655
|
a();
|
9656
9656
|
});
|
9657
9657
|
};
|
@@ -9674,7 +9674,7 @@ class gb {
|
|
9674
9674
|
const n = t.getFeatureById(e.name);
|
9675
9675
|
if (n) {
|
9676
9676
|
this._obliqueSelectedImageLayer.removeAllFeatures(), this._obliqueSelectedImageLayer.addFeatures([n]);
|
9677
|
-
const r = new
|
9677
|
+
const r = new bs({
|
9678
9678
|
coordinates: n.getGeometry().getExtent(),
|
9679
9679
|
projection: Pe.toJSON()
|
9680
9680
|
}), i = He.createViewpointFromExtent(r);
|
@@ -9692,15 +9692,15 @@ class gb {
|
|
9692
9692
|
projection: Pe.toJSON(),
|
9693
9693
|
style: t,
|
9694
9694
|
zIndex: 1
|
9695
|
-
}), this._obliqueTileLayer[
|
9695
|
+
}), this._obliqueTileLayer[is] = !0;
|
9696
9696
|
const n = new Dt({});
|
9697
9697
|
n.style = (r) => r.get("viewDirection") === this._obliqueViewDirection ? e.style : oo, this._obliqueImageLayer = new Kt({
|
9698
9698
|
projection: Pe.toJSON(),
|
9699
9699
|
style: n
|
9700
|
-
}), this._obliqueImageLayer[
|
9700
|
+
}), this._obliqueImageLayer[is] = !0, this._obliqueSelectedImageLayer = new Kt({
|
9701
9701
|
projection: Pe.toJSON(),
|
9702
9702
|
style: this.obliqueSelectedStyle
|
9703
|
-
}), this._obliqueSelectedImageLayer[
|
9703
|
+
}), this._obliqueSelectedImageLayer[is] = !0, this._map.layerCollection.add(this._obliqueImageLayer), this._map.layerCollection.add(this._obliqueSelectedImageLayer), this._map.layerCollection.add(this._obliqueTileLayer);
|
9704
9704
|
}
|
9705
9705
|
/**
|
9706
9706
|
* @param {import("@vcmap/core").VcsMap} activeMap
|
@@ -9710,14 +9710,14 @@ class gb {
|
|
9710
9710
|
_addNavigationListener(e) {
|
9711
9711
|
return this._mapClicked.addEventListener((t) => {
|
9712
9712
|
const n = e.getViewpointSync(), r = n.groundPosition[2] ? n.groundPosition[2] : 0;
|
9713
|
-
n.groundPosition =
|
9713
|
+
n.groundPosition = fs.mercatorToWgs84(t.positionOrPixel), n.groundPosition[2] = r, n.cameraPosition = null, e.gotoViewpoint(n);
|
9714
9714
|
});
|
9715
9715
|
}
|
9716
9716
|
_setupCameraIconLayer() {
|
9717
9717
|
this._cameraIconLayer || (this._cameraIconLayer = new Kt({
|
9718
9718
|
projection: Pe.toJSON(),
|
9719
9719
|
zIndex: 50
|
9720
|
-
}), this._cameraIconLayer[
|
9720
|
+
}), this._cameraIconLayer[is] = !0, this._map.layerCollection.add(this._cameraIconLayer));
|
9721
9721
|
}
|
9722
9722
|
/**
|
9723
9723
|
* Adds and maintains the view and camera feature
|
@@ -9734,7 +9734,7 @@ class gb {
|
|
9734
9734
|
if (n[2] && !(i && i < n[2] * 4) && (i = n[2] * 4), i = i > this.minimumHeight ? i : this.minimumHeight, r == null || i == null)
|
9735
9735
|
return;
|
9736
9736
|
let a = this._cameraIconLayer.getFeatureById("cameraFeature");
|
9737
|
-
const o =
|
9737
|
+
const o = fs.wgs84ToMercator(n);
|
9738
9738
|
if (!a) {
|
9739
9739
|
const d = new vc(o);
|
9740
9740
|
a = new A0({
|
@@ -9742,7 +9742,7 @@ class gb {
|
|
9742
9742
|
}), a.setId("cameraFeature"), a.setStyle(this.cameraIconStyle.style), this._cameraIconLayer.addFeatures([a]);
|
9743
9743
|
}
|
9744
9744
|
a.getGeometry().setCoordinates(o);
|
9745
|
-
const l = e.heading, c =
|
9745
|
+
const l = e.heading, c = Cn.toRadians(l);
|
9746
9746
|
this.cameraIconStyle.image.setRotation(c), e.heading = 0, e.cameraPosition && (e.cameraPosition = n, e.groundPosition = null, e.distance = i * 4), this._map.gotoViewpoint(e);
|
9747
9747
|
}
|
9748
9748
|
/**
|
@@ -10076,7 +10076,7 @@ const Jb = {
|
|
10076
10076
|
}),
|
10077
10077
|
s.overviewMap.map.layerCollection.removed.addEventListener(() => {
|
10078
10078
|
[...s.overviewMap.map.layerCollection].filter(
|
10079
|
-
(p) => !p[
|
10079
|
+
(p) => !p[is]
|
10080
10080
|
).length < 1 && s.overviewMap.active && (s.overviewMap.deactivate(), u.value = !1);
|
10081
10081
|
})
|
10082
10082
|
], { action: h, destroy: f } = Yb(s);
|
@@ -10193,7 +10193,7 @@ const i9 = {
|
|
10193
10193
|
}
|
10194
10194
|
},
|
10195
10195
|
setup(s, { attrs: e }) {
|
10196
|
-
const t = w(!1), n = w(!1), r = w(), i =
|
10196
|
+
const t = w(!1), n = w(!1), r = w(), i = Gn(r), a = y(() => e.dense !== !1), o = y(() => (t.value || n.value || !!i.value) && !(e.disabled || e.disabled === ""));
|
10197
10197
|
function l(c) {
|
10198
10198
|
return s.itemText ? s.itemText(c) : (c == null ? void 0 : c.text) ?? c;
|
10199
10199
|
}
|
@@ -10263,7 +10263,7 @@ const c9 = {
|
|
10263
10263
|
}
|
10264
10264
|
},
|
10265
10265
|
setup(s, { attrs: e }) {
|
10266
|
-
const t = w(), n =
|
10266
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
10267
10267
|
return {
|
10268
10268
|
radioGroup: t,
|
10269
10269
|
errorMessage: n,
|
@@ -10545,7 +10545,7 @@ const M9 = {
|
|
10545
10545
|
* @param {PointerEvent} event
|
10546
10546
|
*/
|
10547
10547
|
select(b, G) {
|
10548
|
-
var D, $, N, B, re, I,
|
10548
|
+
var D, $, N, B, re, I, x, O;
|
10549
10549
|
if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((C) => C(G)), !(!s.selectable || b.disabled)) {
|
10550
10550
|
if (s.singleSelect)
|
10551
10551
|
n.value[0] === b ? ((D = b.selectionChanged) == null || D.call(b, !1), n.value = [], u = null) : ((N = ($ = n.value[0]) == null ? void 0 : $.selectionChanged) == null || N.call($, !1), (B = b.selectionChanged) == null || B.call(b, !0), n.value = [b], u = b);
|
@@ -10566,7 +10566,7 @@ const M9 = {
|
|
10566
10566
|
} else
|
10567
10567
|
n.value.filter((S) => S !== b && S.selectionChanged).forEach((S) => S.selectionChanged(!1)), n.value = [], u = null;
|
10568
10568
|
} else
|
10569
|
-
n.value.includes(b) ? G.ctrlKey ? ((re = b.selectionChanged) == null || re.call(b, !1), n.value = n.value.filter((C) => C !== b)) : n.value.length > 1 ? (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), n.value = [b], u = b) : ((I = b.selectionChanged) == null || I.call(b, !1), n.value = [], u = null) : G.ctrlKey ? ((
|
10569
|
+
n.value.includes(b) ? G.ctrlKey ? ((re = b.selectionChanged) == null || re.call(b, !1), n.value = n.value.filter((C) => C !== b)) : n.value.length > 1 ? (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), n.value = [b], u = b) : ((I = b.selectionChanged) == null || I.call(b, !1), n.value = [], u = null) : G.ctrlKey ? ((x = b.selectionChanged) == null || x.call(b, !0), n.value = [...n.value, b], n.value.length === 1 && (u = b)) : (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), (O = b.selectionChanged) == null || O.call(b, !0), n.value = [b], u = b);
|
10570
10570
|
e("input", n.value);
|
10571
10571
|
}
|
10572
10572
|
},
|
@@ -10796,7 +10796,7 @@ const Su = R9.exports, j9 = {
|
|
10796
10796
|
},
|
10797
10797
|
setup(s) {
|
10798
10798
|
const t = q("collectionManager").get(s.componentId);
|
10799
|
-
|
10799
|
+
ys("collectionComponent", t);
|
10800
10800
|
}
|
10801
10801
|
};
|
10802
10802
|
var O9 = function() {
|
@@ -10956,8 +10956,8 @@ const q9 = {
|
|
10956
10956
|
var X9 = function() {
|
10957
10957
|
var e = this, t = e._self._c;
|
10958
10958
|
return t("v-list", { attrs: { dense: "" } }, [t("v-layout", { attrs: { wrap: "", column: e.item.colNr === 1 } }, e._l(e.item.rows, function(n, r) {
|
10959
|
-
var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I,
|
10960
|
-
return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (z = (E = n.text) == null ? void 0 : E.stroke) == null ? void 0 : z.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (G = n.stroke) == null ? void 0 : G.lineJoin, "stroke-dasharray": (D = n.stroke) == null ? void 0 : D.lineDash, "stroke-dashoffset": ($ = n.stroke) == null ? void 0 : $.lineDashOffset, "stroke-miterlimit": (N = n.stroke) == null ? void 0 : N.miterLimit, "stroke-width": (B = n.stroke) == null ? void 0 : B.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((re = n.stroke) == null ? void 0 : re.color), "stroke-linecap": (I = n.stroke) == null ? void 0 : I.lineCap, "stroke-linejoin": (
|
10959
|
+
var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I, x, O, C, R, S, T, J, F, K, Y, ee, ze, fn, pn, Un, Wn, vt, at, mn, _n, gt, Ht, Ut;
|
10960
|
+
return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (z = (E = n.text) == null ? void 0 : E.stroke) == null ? void 0 : z.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (G = n.stroke) == null ? void 0 : G.lineJoin, "stroke-dasharray": (D = n.stroke) == null ? void 0 : D.lineDash, "stroke-dashoffset": ($ = n.stroke) == null ? void 0 : $.lineDashOffset, "stroke-miterlimit": (N = n.stroke) == null ? void 0 : N.miterLimit, "stroke-width": (B = n.stroke) == null ? void 0 : B.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((re = n.stroke) == null ? void 0 : re.color), "stroke-linecap": (I = n.stroke) == null ? void 0 : I.lineCap, "stroke-linejoin": (x = n.stroke) == null ? void 0 : x.lineJoin, "stroke-dasharray": (O = n.stroke) == null ? void 0 : O.lineDash, "stroke-dashoffset": (C = n.stroke) == null ? void 0 : C.lineDashOffset, "stroke-miterlimit": (R = n.stroke) == null ? void 0 : R.miterLimit, "stroke-width": (S = n.stroke) == null ? void 0 : S.width, fill: e.getColor((T = n.fill) == null ? void 0 : T.color) || "rgba(255,255,255,0)" } }) : n.type === e.StyleRowType.Circle ? t("circle", { attrs: { cx: "16", cy: "12", r: ((J = n.image) == null ? void 0 : J.radius) || 8, stroke: e.getColor((K = (F = n.image) == null ? void 0 : F.stroke) == null ? void 0 : K.color), "stroke-linecap": (ee = (Y = n.image) == null ? void 0 : Y.stroke) == null ? void 0 : ee.lineCap, "stroke-linejoin": (fn = (ze = n.image) == null ? void 0 : ze.stroke) == null ? void 0 : fn.lineJoin, "stroke-dasharray": (Un = (pn = n.image) == null ? void 0 : pn.stroke) == null ? void 0 : Un.lineDash, "stroke-dashoffset": (vt = (Wn = n.image) == null ? void 0 : Wn.stroke) == null ? void 0 : vt.lineDashOffset, "stroke-miterlimit": (mn = (at = n.image) == null ? void 0 : at.stroke) == null ? void 0 : mn.miterLimit, "stroke-width": (gt = (_n = n.image) == null ? void 0 : _n.stroke) == null ? void 0 : gt.width, fill: e.getColor((Ut = (Ht = n.image) == null ? void 0 : Ht.fill) == null ? void 0 : Ut.color) || "rgba(255,255,255,0)" } }) : e._e()])], 1), t("v-list-item-content", [t("v-list-item-title", { staticClass: "pt-2", attrs: { title: e.$t(n.tooltip || n.title) } }, [e._v(" " + e._s(e.$t(n.title)) + " ")])], 1)], 1)], 1);
|
10961
10961
|
}), 1)], 1);
|
10962
10962
|
}, K9 = [], eA = /* @__PURE__ */ m(
|
10963
10963
|
q9,
|
@@ -11394,7 +11394,7 @@ class zA extends _r {
|
|
11394
11394
|
* @param {boolean} move
|
11395
11395
|
*/
|
11396
11396
|
setMove(e) {
|
11397
|
-
|
11397
|
+
M(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
|
11398
11398
|
}
|
11399
11399
|
/**
|
11400
11400
|
* @param {import("@vcmap/core").InteractionEvent} event
|
@@ -11711,7 +11711,7 @@ function KA(s, e) {
|
|
11711
11711
|
r.name === "primaryColor" && (e.theme.themes.dark.primary = ((i = r.value) == null ? void 0 : i.dark) || r.value, e.theme.themes.light.primary = ((a = r.value) == null ? void 0 : a.light) || r.value, s.themeChanged.raiseEvent());
|
11712
11712
|
}),
|
11713
11713
|
s.uiConfig.removed.addEventListener((r) => {
|
11714
|
-
r.name === "primaryColor" && (e.theme.themes.dark.primary =
|
11714
|
+
r.name === "primaryColor" && (e.theme.themes.dark.primary = Dn.dark, e.theme.themes.light.primary = Dn.light, s.themeChanged.raiseEvent());
|
11715
11715
|
})
|
11716
11716
|
], n = ie(
|
11717
11717
|
() => e.theme.dark,
|
@@ -11790,7 +11790,7 @@ const nM = {
|
|
11790
11790
|
},
|
11791
11791
|
setup(s) {
|
11792
11792
|
const t = `mapCollection-${Gt()}`, n = N1(s.appId);
|
11793
|
-
|
11793
|
+
ys("vcsApp", n);
|
11794
11794
|
const r = YA(n), i = QA(n), a = JA(n);
|
11795
11795
|
qA(n);
|
11796
11796
|
const o = XA(n), l = KA(
|
@@ -11939,7 +11939,7 @@ class Pt {
|
|
11939
11939
|
* @param {StateActionState} state
|
11940
11940
|
*/
|
11941
11941
|
set state(e) {
|
11942
|
-
|
11942
|
+
M(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
|
11943
11943
|
}
|
11944
11944
|
/**
|
11945
11945
|
* @type {string|null}
|
@@ -12014,7 +12014,7 @@ class Pt {
|
|
12014
12014
|
* @param {number} weight
|
12015
12015
|
*/
|
12016
12016
|
set weight(e) {
|
12017
|
-
|
12017
|
+
M(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
|
12018
12018
|
}
|
12019
12019
|
/**
|
12020
12020
|
* @private
|
@@ -12053,7 +12053,7 @@ class Pt {
|
|
12053
12053
|
* @param {number} [weight=11]
|
12054
12054
|
*/
|
12055
12055
|
addAction(e, t = 11) {
|
12056
|
-
if (
|
12056
|
+
if (M(e.name, String), pe(t, Number), this._getActionIndex(e.name) > -1)
|
12057
12057
|
throw new Error("Action names must be unique");
|
12058
12058
|
e[hl] = t;
|
12059
12059
|
const r = this._actions.value.findIndex(
|
@@ -12482,7 +12482,7 @@ class NM extends Rt {
|
|
12482
12482
|
}
|
12483
12483
|
}
|
12484
12484
|
function $M(s) {
|
12485
|
-
const e = new NM(s), t =
|
12485
|
+
const e = new NM(s), t = as(
|
12486
12486
|
e,
|
12487
12487
|
() => s.dynamicModuleId,
|
12488
12488
|
null,
|
@@ -12537,7 +12537,7 @@ it.registerClass(
|
|
12537
12537
|
fl.className,
|
12538
12538
|
fl
|
12539
12539
|
);
|
12540
|
-
class
|
12540
|
+
class jn extends Pt {
|
12541
12541
|
/**
|
12542
12542
|
* @type {string}
|
12543
12543
|
*/
|
@@ -12589,8 +12589,8 @@ class Rn extends Pt {
|
|
12589
12589
|
}
|
12590
12590
|
}
|
12591
12591
|
it.registerClass(
|
12592
|
-
|
12593
|
-
|
12592
|
+
jn.className,
|
12593
|
+
jn
|
12594
12594
|
);
|
12595
12595
|
function ka(s, e, t) {
|
12596
12596
|
const n = "ViewpointAction";
|
@@ -12610,7 +12610,7 @@ function ka(s, e, t) {
|
|
12610
12610
|
function Vi(s) {
|
12611
12611
|
return s.active ? Z.ACTIVE : s.loading ? Z.LOADING : Z.INACTIVE;
|
12612
12612
|
}
|
12613
|
-
class pl extends
|
12613
|
+
class pl extends jn {
|
12614
12614
|
/**
|
12615
12615
|
* @todo this has to be refactored, just so we can read the config as is
|
12616
12616
|
* @returns {string}
|
@@ -12826,7 +12826,7 @@ it.registerClass(
|
|
12826
12826
|
_l.className,
|
12827
12827
|
_l
|
12828
12828
|
);
|
12829
|
-
class vl extends
|
12829
|
+
class vl extends jn {
|
12830
12830
|
/**
|
12831
12831
|
* @returns {string}
|
12832
12832
|
*/
|
@@ -12950,7 +12950,7 @@ it.registerClass(
|
|
12950
12950
|
gl
|
12951
12951
|
);
|
12952
12952
|
const DM = new $1({});
|
12953
|
-
class yl extends
|
12953
|
+
class yl extends jn {
|
12954
12954
|
/**
|
12955
12955
|
* @type {string}
|
12956
12956
|
*/
|
@@ -13039,7 +13039,7 @@ it.registerClass(
|
|
13039
13039
|
yl.className,
|
13040
13040
|
yl
|
13041
13041
|
);
|
13042
|
-
class wl extends
|
13042
|
+
class wl extends jn {
|
13043
13043
|
static get className() {
|
13044
13044
|
return "ViewpointContentTreeItem";
|
13045
13045
|
}
|
@@ -13105,6 +13105,16 @@ function mi(s) {
|
|
13105
13105
|
function RM(s, e, t) {
|
13106
13106
|
s.properties || (s.properties = {}), s.properties.title = t, e.title = t;
|
13107
13107
|
}
|
13108
|
+
function HE(s, e) {
|
13109
|
+
return M(s, [[String], Function]), (t, n, r) => {
|
13110
|
+
const i = typeof s == "function" ? s(t) : s;
|
13111
|
+
r.disabled = !i.includes(e.activeMap.className), r.destroyFunctions.push(
|
13112
|
+
e.mapActivated.addEventListener((a) => {
|
13113
|
+
r.disabled = !i.includes(a.className);
|
13114
|
+
})
|
13115
|
+
);
|
13116
|
+
};
|
13117
|
+
}
|
13108
13118
|
class Na {
|
13109
13119
|
/**
|
13110
13120
|
* @param {CollectionComponentClassOptions<T>} options
|
@@ -13462,7 +13472,7 @@ class jM {
|
|
13462
13472
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
13463
13473
|
*/
|
13464
13474
|
add(e, t) {
|
13465
|
-
if (
|
13475
|
+
if (M(e, { collection: ws }), M(t, [String, Symbol]), e.id && this.has(e.id))
|
13466
13476
|
throw new Error(
|
13467
13477
|
`A collection component with id ${e.id} has already been registered.`
|
13468
13478
|
);
|
@@ -13488,7 +13498,7 @@ class jM {
|
|
13488
13498
|
* @param {string} id
|
13489
13499
|
*/
|
13490
13500
|
remove(e) {
|
13491
|
-
|
13501
|
+
M(e, String);
|
13492
13502
|
const t = this._collectionComponents.get(e);
|
13493
13503
|
if (t) {
|
13494
13504
|
const n = this.componentIds.indexOf(e);
|
@@ -13515,7 +13525,7 @@ class jM {
|
|
13515
13525
|
* @template {Object} T
|
13516
13526
|
*/
|
13517
13527
|
addMappingFunction(e, t, n, r = []) {
|
13518
|
-
pe(e, Function),
|
13528
|
+
pe(e, Function), M(t, Function), M(n, [String, Symbol]), M(r, [String]);
|
13519
13529
|
const i = {
|
13520
13530
|
predicate: e,
|
13521
13531
|
mappingFunction: t,
|
@@ -13536,7 +13546,7 @@ class jM {
|
|
13536
13546
|
* @template {Object} T
|
13537
13547
|
*/
|
13538
13548
|
removeMappingFunction(e, t) {
|
13539
|
-
|
13549
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13540
13550
|
n.removeItemMapping({ mappingFunction: e, owner: t });
|
13541
13551
|
}), this._itemMappings = this._itemMappings.filter(
|
13542
13552
|
(n) => !(n.mappingFunction === e && n.owner === t)
|
@@ -13549,7 +13559,7 @@ class jM {
|
|
13549
13559
|
* @template {Object} T
|
13550
13560
|
*/
|
13551
13561
|
addFilterFunction(e, t, n = []) {
|
13552
|
-
|
13562
|
+
M(e, Function), M(t, [String, Symbol]), M(n, [String]);
|
13553
13563
|
const r = {
|
13554
13564
|
filterFunction: e,
|
13555
13565
|
owner: t
|
@@ -13569,7 +13579,7 @@ class jM {
|
|
13569
13579
|
* @template {Object} T
|
13570
13580
|
*/
|
13571
13581
|
removeFilterFunction(e, t) {
|
13572
|
-
|
13582
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13573
13583
|
n.removeItemFilter({ filterFunction: e, owner: t });
|
13574
13584
|
}), this._itemFilters = this._itemFilters.filter(
|
13575
13585
|
(n) => !(n.filterFunction === e && n.owner === t)
|
@@ -13582,7 +13592,7 @@ class jM {
|
|
13582
13592
|
* @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
|
13583
13593
|
*/
|
13584
13594
|
addActions(e, t, n = []) {
|
13585
|
-
if (
|
13595
|
+
if (M(t, [String, Symbol]), M(n, [String]), !pa(e))
|
13586
13596
|
throw new Error("Invalid actions Array");
|
13587
13597
|
if (!this._actions.find(
|
13588
13598
|
(r) => r.actions === e && r.owner === t
|
@@ -13603,7 +13613,7 @@ class jM {
|
|
13603
13613
|
* @param {string | symbol} owner
|
13604
13614
|
*/
|
13605
13615
|
removeActions(e, t) {
|
13606
|
-
|
13616
|
+
M(t, [String, Symbol]);
|
13607
13617
|
const n = e.map((r) => ({ action: r, owner: t }));
|
13608
13618
|
[...this._collectionComponents.values()].forEach((r) => {
|
13609
13619
|
r.removeActions(n);
|
@@ -13616,7 +13626,7 @@ class jM {
|
|
13616
13626
|
* @param {string | symbol} owner
|
13617
13627
|
*/
|
13618
13628
|
removeOwner(e) {
|
13619
|
-
|
13629
|
+
M(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
|
13620
13630
|
t.owner === e ? (this.remove(t.id), t.destroy()) : t.removeOwner(e);
|
13621
13631
|
}), this._itemMappings = this._itemMappings.filter((t) => t.owner !== e), this._itemFilters = this._itemFilters.filter((t) => t.owner !== e), this._actions = this._actions.filter(
|
13622
13632
|
(t) => t.owner !== e
|
@@ -13653,9 +13663,9 @@ class OM extends jM {
|
|
13653
13663
|
* @param {import("../../vcsUiApp.js").default} app
|
13654
13664
|
*/
|
13655
13665
|
constructor(e) {
|
13656
|
-
super(), this._app = e, this._dynamicModuleId = this.
|
13666
|
+
super(), this._app = e, this._dynamicModuleId = Ln, this._moduleIds = [], this._dynamicModuleIdFilter = (t) => t[Mt] === this._dynamicModuleId, this.addFilterFunction(this._dynamicModuleIdFilter, Q), this._categoryListeners = [
|
13657
13667
|
this._app.dynamicModuleIdChanged.addEventListener((t) => {
|
13658
|
-
this._dynamicModuleId = t, this.reset();
|
13668
|
+
(t === Ln || this._moduleIds.includes(t)) && (this._dynamicModuleId = t), this.reset();
|
13659
13669
|
}),
|
13660
13670
|
this._app.categories.removed.addEventListener((t) => {
|
13661
13671
|
this.getCollection(t.collection).forEach(({ id: r }) => this.remove(r));
|
@@ -13684,6 +13694,21 @@ class OM extends jM {
|
|
13684
13694
|
t
|
13685
13695
|
), category: r };
|
13686
13696
|
}
|
13697
|
+
/**
|
13698
|
+
* Updates the filterFunction for added moduleIds.
|
13699
|
+
* Items of added moduleIds, are shown in the CategoryManager
|
13700
|
+
* @param {string} id
|
13701
|
+
*/
|
13702
|
+
addModuleId(e) {
|
13703
|
+
M(e, String), this._moduleIds.includes(e) || this._moduleIds.push(e), e === this._app.dynamicModuleId && this.reset();
|
13704
|
+
}
|
13705
|
+
/**
|
13706
|
+
* @param {string} id
|
13707
|
+
*/
|
13708
|
+
removeModuleId(e) {
|
13709
|
+
const t = this._moduleIds.indexOf(e);
|
13710
|
+
t > -1 && this._moduleIds.splice(t, 1), e === this._app.dynamicModuleId && this.reset();
|
13711
|
+
}
|
13687
13712
|
destroy() {
|
13688
13713
|
super.destroy(), this._categoryListeners.forEach((e) => e());
|
13689
13714
|
}
|
@@ -13691,8 +13716,8 @@ class OM extends jM {
|
|
13691
13716
|
const bl = Symbol(
|
13692
13717
|
"EditorCollectionComponentClass"
|
13693
13718
|
);
|
13694
|
-
function
|
13695
|
-
|
13719
|
+
function UE(s, e, t, n = "category-manager") {
|
13720
|
+
M(e, Na), M(t.editor, [Object, Function]), pe(t.multiEditor, Object), pe(t.predicate, Function);
|
13696
13721
|
const r = (
|
13697
13722
|
/** @type {EditorCollectionComponentClass} */
|
13698
13723
|
e
|
@@ -13757,7 +13782,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13757
13782
|
const H = ie(
|
13758
13783
|
r.selection,
|
13759
13784
|
async ($, N) => {
|
13760
|
-
$.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await
|
13785
|
+
$.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await Nn()), A(h($[0]))) : $.length === 0 && (l && E(), z());
|
13761
13786
|
}
|
13762
13787
|
), b = r.collection.removed.addEventListener(
|
13763
13788
|
g
|
@@ -13771,7 +13796,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13771
13796
|
const re = {
|
13772
13797
|
name: "list.editItem",
|
13773
13798
|
async callback() {
|
13774
|
-
l ? (E(), await
|
13799
|
+
l ? (E(), await Nn(), e.selection.value = [B]) : e.selection.value = [], A($);
|
13775
13800
|
},
|
13776
13801
|
weight: 10
|
13777
13802
|
};
|
@@ -13865,7 +13890,7 @@ function ZM(s, e) {
|
|
13865
13890
|
if (s instanceof R1) {
|
13866
13891
|
const r = s.olMap.on("postrender", n);
|
13867
13892
|
return () => {
|
13868
|
-
|
13893
|
+
$n(r);
|
13869
13894
|
};
|
13870
13895
|
}
|
13871
13896
|
return () => {
|
@@ -13935,7 +13960,7 @@ class HM {
|
|
13935
13960
|
* @param {string|symbol} owner
|
13936
13961
|
*/
|
13937
13962
|
addEventHandler(e, t) {
|
13938
|
-
|
13963
|
+
M(e, Function), M(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
|
13939
13964
|
const n = [...this._app.plugins].map((r) => r.name);
|
13940
13965
|
this._eventHandlers.sort((r, i) => La(r.owner, i.owner, n));
|
13941
13966
|
}
|
@@ -14460,11 +14485,11 @@ function or(s, e) {
|
|
14460
14485
|
if (t)
|
14461
14486
|
return new bc(...t);
|
14462
14487
|
}
|
14463
|
-
async function
|
14488
|
+
async function WE(s, e) {
|
14464
14489
|
const t = s.maps.activeMap;
|
14465
14490
|
if (t instanceof Ft) {
|
14466
|
-
const n =
|
14467
|
-
|
14491
|
+
const n = fs.mercatorToWgs84(e), r = ps.toCartesian(
|
14492
|
+
ps.fromDegrees(...n)
|
14468
14493
|
);
|
14469
14494
|
return Ru(t.getScene(), r);
|
14470
14495
|
} else {
|
@@ -14504,8 +14529,8 @@ async function xl(s, e, t) {
|
|
14504
14529
|
const [h] = await c.getHeightFromTerrain([l]);
|
14505
14530
|
l[2] = h[2];
|
14506
14531
|
}
|
14507
|
-
const u =
|
14508
|
-
|
14532
|
+
const u = fs.mercatorToWgs84(l), d = ps.toCartesian(
|
14533
|
+
ps.fromDegrees(...u)
|
14509
14534
|
);
|
14510
14535
|
n.push(
|
14511
14536
|
c.getScene().postRender.addEventListener((h) => {
|
@@ -14524,7 +14549,7 @@ async function xl(s, e, t) {
|
|
14524
14549
|
or(c.olMap, l),
|
14525
14550
|
a.maps.target
|
14526
14551
|
), d = c.olMap.on("postrender", u);
|
14527
|
-
n.push(() =>
|
14552
|
+
n.push(() => $n(d));
|
14528
14553
|
} else if (c instanceof Ke) {
|
14529
14554
|
const { coords: u } = await Kl(c.currentImage, l);
|
14530
14555
|
n.push(
|
@@ -14538,7 +14563,7 @@ async function xl(s, e, t) {
|
|
14538
14563
|
or(c.olMap, u),
|
14539
14564
|
a.maps.target
|
14540
14565
|
), h = c.olMap.on("postrender", d);
|
14541
|
-
n.push(() =>
|
14566
|
+
n.push(() => $n(h));
|
14542
14567
|
}
|
14543
14568
|
};
|
14544
14569
|
return await i(s, e, t), r;
|
@@ -14638,21 +14663,21 @@ var ax = function() {
|
|
14638
14663
|
);
|
14639
14664
|
const ju = lx.exports;
|
14640
14665
|
function zi(s, e, t = null) {
|
14641
|
-
|
14666
|
+
M(s, String), M(e, Object);
|
14642
14667
|
const r = s.split(".").reduce((i, a) => i[a] || {}, e);
|
14643
14668
|
return typeof r == "string" ? r : t;
|
14644
14669
|
}
|
14645
14670
|
function Ll(s) {
|
14646
|
-
const e =
|
14647
|
-
|
14648
|
-
|
14671
|
+
const e = ps.fromCartesian(s), t = [
|
14672
|
+
Cn.toDegrees(e.longitude),
|
14673
|
+
Cn.toDegrees(e.latitude),
|
14649
14674
|
e.height
|
14650
14675
|
];
|
14651
|
-
return
|
14676
|
+
return fs.wgs84ToMercator(t);
|
14652
14677
|
}
|
14653
14678
|
function cx(s) {
|
14654
14679
|
var e, t;
|
14655
|
-
return s instanceof
|
14680
|
+
return s instanceof As && s.getGeometry() ? x0(s.getGeometry().getExtent()) : s instanceof Ac ? Ll(s.position) : (t = (e = s == null ? void 0 : s.primitive) == null ? void 0 : e.boundingSphere) != null && t.center ? Ll(s.primitive.boundingSphere.center) : null;
|
14656
14681
|
}
|
14657
14682
|
class Bi extends hn {
|
14658
14683
|
/**
|
@@ -14736,7 +14761,7 @@ var dx = function() {
|
|
14736
14761
|
null
|
14737
14762
|
);
|
14738
14763
|
const px = fx.exports;
|
14739
|
-
class
|
14764
|
+
class kn extends Bi {
|
14740
14765
|
/**
|
14741
14766
|
* @type {string}
|
14742
14767
|
*/
|
@@ -14759,7 +14784,7 @@ class Tn extends Bi {
|
|
14759
14784
|
*/
|
14760
14785
|
constructor(e) {
|
14761
14786
|
super(e, px);
|
14762
|
-
const t =
|
14787
|
+
const t = kn.getDefaultOptions();
|
14763
14788
|
this.addressName = e.addressName !== void 0 ? e.addressName : t.addressName, this.street = e.street !== void 0 ? e.street : t.street, this.number = e.number !== void 0 ? e.number : t.number, this.city = e.city !== void 0 ? e.city : t.city, this.zip = e.zip !== void 0 ? e.zip : t.zip, this.country = e.country !== void 0 ? e.country : t.country;
|
14764
14789
|
}
|
14765
14790
|
/**
|
@@ -14774,7 +14799,7 @@ class Tn extends Bi {
|
|
14774
14799
|
a && (n[i] = a);
|
14775
14800
|
}
|
14776
14801
|
};
|
14777
|
-
return Object.keys(
|
14802
|
+
return Object.keys(kn.getDefaultOptions()).forEach(
|
14778
14803
|
(i) => r(i)
|
14779
14804
|
), n;
|
14780
14805
|
}
|
@@ -14782,7 +14807,7 @@ class Tn extends Bi {
|
|
14782
14807
|
* @returns {AddressBalloonFeatureInfoViewOptions}
|
14783
14808
|
*/
|
14784
14809
|
toJSON() {
|
14785
|
-
const e = super.toJSON(), t =
|
14810
|
+
const e = super.toJSON(), t = kn.getDefaultOptions();
|
14786
14811
|
return this.addressName !== t.addressName && (e.addressName = this.addressName), this.street !== t.street && (e.street = this.street), this.number !== t.number && (e.number = this.number), this.city !== t.city && (e.city = this.city), this.zip !== t.zip && (e.zip = this.zip), this.country !== t.country && (e.country = this.country), e;
|
14787
14812
|
}
|
14788
14813
|
}
|
@@ -14835,7 +14860,7 @@ class Il extends hn {
|
|
14835
14860
|
return this.src && (e.src = this.src), this.title && (e.title = this.title), e;
|
14836
14861
|
}
|
14837
14862
|
}
|
14838
|
-
class
|
14863
|
+
class _s extends hn {
|
14839
14864
|
/**
|
14840
14865
|
* @type {string}
|
14841
14866
|
*/
|
@@ -14855,7 +14880,7 @@ class ms extends hn {
|
|
14855
14880
|
*/
|
14856
14881
|
constructor(e) {
|
14857
14882
|
super(e, tx);
|
14858
|
-
const t =
|
14883
|
+
const t = _s.getDefaultOptions();
|
14859
14884
|
this.itemsPerPageArray = e.itemsPerPageArray || t.itemsPerPageArray;
|
14860
14885
|
const n = e.itemsPerPage || t.itemsPerPage;
|
14861
14886
|
this.itemsPerPage = this.itemsPerPageArray.includes(n) ? n : this.itemsPerPageArray[0], this.showSearchbar = qe(
|
@@ -14885,7 +14910,7 @@ class ms extends hn {
|
|
14885
14910
|
* @returns {TableFeatureInfoViewOptions}
|
14886
14911
|
*/
|
14887
14912
|
toJSON() {
|
14888
|
-
const e = super.toJSON(), t =
|
14913
|
+
const e = super.toJSON(), t = _s.getDefaultOptions();
|
14889
14914
|
return (this.itemsPerPageArray.length !== t.itemsPerPageArray.length || this.itemsPerPageArray.some(
|
14890
14915
|
(n, r) => n !== t.itemsPerPageArray[r]
|
14891
14916
|
)) && (e.itemsPerPageArray = this.itemsPerPageArray), this.itemsPerPage !== t.itemsPerPage && (e.itemsPerPage = this.itemsPerPage), this.showSearchbar !== t.showSearchbar && (e.showSearchbar = this.showSearchbar), this.searchbarPlaceholder && (e.searchbarPlaceholder = this.searchbarPlaceholder), e;
|
@@ -14917,7 +14942,7 @@ function El(s, e, t) {
|
|
14917
14942
|
if (e && e.highlightStyle)
|
14918
14943
|
return e.highlightStyle;
|
14919
14944
|
const n = wc.fromCssColorString(t).withAlpha(0.8);
|
14920
|
-
if (s instanceof
|
14945
|
+
if (s instanceof As) {
|
14921
14946
|
let a = s.getStyle() ?? ((r = e == null ? void 0 : e.style) == null ? void 0 : r.style);
|
14922
14947
|
if (typeof a == "function" && (a = a(s, 1)), a = ((i = a == null ? void 0 : a.clone) == null ? void 0 : i.call(a)) ?? new Dt(ec()).style, a.getText() && (a.getText().getFill() && a.getText().getFill().setColor(n.toCssColorString()), a.getText().setScale((a.getText().getScale() ?? 1) * 2)), a.getImage() && a.getImage().setScale(a.getImage().getScale() * 2), a.getStroke() && (a.getStroke().setColor(n.toCssColorString()), a.getStroke().setWidth(a.getStroke().getWidth() * 2)), a.getFill()) {
|
14923
14948
|
const o = n.toBytes();
|
@@ -14986,8 +15011,8 @@ function Sl(s) {
|
|
14986
15011
|
e && e.stop(), s.toolboxManager.remove("featureInfo"), r.forEach((i) => i());
|
14987
15012
|
};
|
14988
15013
|
}
|
14989
|
-
const
|
14990
|
-
class yx extends
|
15014
|
+
const Ts = new Ji(), gx = Symbol("featureInfoView");
|
15015
|
+
class yx extends ws {
|
14991
15016
|
/**
|
14992
15017
|
* @param {import("@src/vcsUiApp.js").default} app
|
14993
15018
|
*/
|
@@ -15076,8 +15101,8 @@ class yx extends ys {
|
|
15076
15101
|
* @returns {Promise<void>}
|
15077
15102
|
*/
|
15078
15103
|
async selectFeature(e, t, n, r) {
|
15079
|
-
|
15080
|
-
|
15104
|
+
M(e, [
|
15105
|
+
As,
|
15081
15106
|
Ac,
|
15082
15107
|
T0,
|
15083
15108
|
k0
|
@@ -15091,7 +15116,7 @@ class yx extends ys {
|
|
15091
15116
|
[o]: El(
|
15092
15117
|
e,
|
15093
15118
|
a,
|
15094
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15119
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15095
15120
|
)
|
15096
15121
|
}), this._clearHighlightingCb = () => this._scratchLayer.featureVisibility.unHighlight([o]);
|
15097
15122
|
} else if (a.featureVisibility) {
|
@@ -15100,7 +15125,7 @@ class yx extends ys {
|
|
15100
15125
|
[o]: El(
|
15101
15126
|
e,
|
15102
15127
|
a,
|
15103
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15128
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15104
15129
|
)
|
15105
15130
|
}), this._clearHighlightingCb = () => a.featureVisibility.unHighlight([o]);
|
15106
15131
|
}
|
@@ -15138,21 +15163,21 @@ class yx extends ys {
|
|
15138
15163
|
super.destroy(), this._clearInternal(), this._featureChanged.destroy(), this._destroyFeatureInfoTool(), this._scratchLayer && (this._app.layers.remove(this._scratchLayer), this._scratchLayer.destroy()), this._listeners.forEach((e) => e()), this._listeners.splice(0);
|
15139
15164
|
}
|
15140
15165
|
}
|
15141
|
-
|
15142
|
-
|
15143
|
-
|
15166
|
+
Ts.registerClass(
|
15167
|
+
_s.className,
|
15168
|
+
_s
|
15144
15169
|
);
|
15145
|
-
|
15170
|
+
Ts.registerClass(
|
15146
15171
|
Il.className,
|
15147
15172
|
Il
|
15148
15173
|
);
|
15149
|
-
|
15174
|
+
Ts.registerClass(
|
15150
15175
|
Bi.className,
|
15151
15176
|
Bi
|
15152
15177
|
);
|
15153
|
-
|
15154
|
-
|
15155
|
-
|
15178
|
+
Ts.registerClass(
|
15179
|
+
kn.className,
|
15180
|
+
kn
|
15156
15181
|
);
|
15157
15182
|
/*!
|
15158
15183
|
* vue-i18n v8.28.2
|
@@ -15196,7 +15221,7 @@ var Ou = [
|
|
15196
15221
|
"second",
|
15197
15222
|
"timeZoneName"
|
15198
15223
|
];
|
15199
|
-
function
|
15224
|
+
function On(s, e) {
|
15200
15225
|
typeof console < "u" && (console.warn("[vue-i18n] " + s), e && console.warn(e.stack));
|
15201
15226
|
}
|
15202
15227
|
function bx(s, e) {
|
@@ -15228,7 +15253,7 @@ function Dr() {
|
|
15228
15253
|
var t = null, n = null;
|
15229
15254
|
return s.length === 1 ? We(s[0]) || ft(s[0]) ? n = s[0] : typeof s[0] == "string" && (t = s[0]) : s.length === 2 && (typeof s[0] == "string" && (t = s[0]), (We(s[1]) || ft(s[1])) && (n = s[1])), { locale: t, params: n };
|
15230
15255
|
}
|
15231
|
-
function
|
15256
|
+
function Zn(s) {
|
15232
15257
|
return JSON.parse(JSON.stringify(s));
|
15233
15258
|
}
|
15234
15259
|
function Lx(s, e) {
|
@@ -15241,7 +15266,7 @@ function Ix(s) {
|
|
15241
15266
|
return e.push(t);
|
15242
15267
|
}), e;
|
15243
15268
|
}
|
15244
|
-
function
|
15269
|
+
function ks(s, e) {
|
15245
15270
|
return !!~s.indexOf(e);
|
15246
15271
|
}
|
15247
15272
|
var Cx = Object.prototype.hasOwnProperty;
|
@@ -15461,7 +15486,7 @@ var kl = {
|
|
15461
15486
|
var o = null, l = null;
|
15462
15487
|
ye(n.format) ? o = n.format : We(n.format) && (n.format.key && (o = n.format.key), l = Object.keys(n.format).reduce(function(f, p) {
|
15463
15488
|
var _;
|
15464
|
-
return
|
15489
|
+
return ks(Ou, p) ? Object.assign({}, f, (_ = {}, _[p] = n.format[p], _)) : f;
|
15465
15490
|
}, null));
|
15466
15491
|
var c = n.locale || a.locale, u = a._ntp(n.value, c, o, l), d = u.map(function(f, p) {
|
15467
15492
|
var _, g = i.scopedSlots && i.scopedSlots[f.type];
|
@@ -15486,7 +15511,7 @@ function Fx(s, e, t, n) {
|
|
15486
15511
|
function Px(s, e, t, n) {
|
15487
15512
|
var r = t.context;
|
15488
15513
|
if (!r) {
|
15489
|
-
|
15514
|
+
On("Vue instance does not exists in VNode context");
|
15490
15515
|
return;
|
15491
15516
|
}
|
15492
15517
|
var i = t.context.$i18n || {};
|
@@ -15494,7 +15519,7 @@ function Px(s, e, t, n) {
|
|
15494
15519
|
}
|
15495
15520
|
function Fu(s, e) {
|
15496
15521
|
var t = e.context;
|
15497
|
-
return t ? t.$i18n ? !0 : (
|
15522
|
+
return t ? t.$i18n ? !0 : (On("VueI18n instance does not exists in Vue instance"), !1) : (On("Vue instance does not exists in VNode context"), !1);
|
15498
15523
|
}
|
15499
15524
|
function zx(s, e) {
|
15500
15525
|
var t = e.context;
|
@@ -15503,11 +15528,11 @@ function zx(s, e) {
|
|
15503
15528
|
function Pu(s, e, t) {
|
15504
15529
|
var n, r, i = e.value, a = Bx(i), o = a.path, l = a.locale, c = a.args, u = a.choice;
|
15505
15530
|
if (!o && !l && !c) {
|
15506
|
-
|
15531
|
+
On("value type not supported");
|
15507
15532
|
return;
|
15508
15533
|
}
|
15509
15534
|
if (!o) {
|
15510
|
-
|
15535
|
+
On("`path` is required in v-t directive");
|
15511
15536
|
return;
|
15512
15537
|
}
|
15513
15538
|
var d = t.context;
|
@@ -15575,7 +15600,7 @@ function Ux(s, e) {
|
|
15575
15600
|
}
|
15576
15601
|
return t;
|
15577
15602
|
}
|
15578
|
-
var ge = 0,
|
15603
|
+
var ge = 0, In = 1, Bu = 2, Gu = 3, Zi = 0, cr = 1, ur = 2, jt = 3, Et = 4, dr = 5, hr = 6, Rr = 7, vs = 8, Zt = [];
|
15579
15604
|
Zt[Zi] = {
|
15580
15605
|
ws: [Zi],
|
15581
15606
|
ident: [jt, ge],
|
@@ -15598,27 +15623,27 @@ Zt[jt] = {
|
|
15598
15623
|
ident: [jt, ge],
|
15599
15624
|
0: [jt, ge],
|
15600
15625
|
number: [jt, ge],
|
15601
|
-
ws: [cr,
|
15602
|
-
".": [ur,
|
15603
|
-
"[": [Et,
|
15604
|
-
eof: [Rr,
|
15626
|
+
ws: [cr, In],
|
15627
|
+
".": [ur, In],
|
15628
|
+
"[": [Et, In],
|
15629
|
+
eof: [Rr, In]
|
15605
15630
|
};
|
15606
15631
|
Zt[Et] = {
|
15607
15632
|
"'": [dr, ge],
|
15608
15633
|
'"': [hr, ge],
|
15609
15634
|
"[": [Et, Bu],
|
15610
15635
|
"]": [cr, Gu],
|
15611
|
-
eof:
|
15636
|
+
eof: vs,
|
15612
15637
|
else: [Et, ge]
|
15613
15638
|
};
|
15614
15639
|
Zt[dr] = {
|
15615
15640
|
"'": [Et, ge],
|
15616
|
-
eof:
|
15641
|
+
eof: vs,
|
15617
15642
|
else: [dr, ge]
|
15618
15643
|
};
|
15619
15644
|
Zt[hr] = {
|
15620
15645
|
'"': [Et, ge],
|
15621
|
-
eof:
|
15646
|
+
eof: vs,
|
15622
15647
|
else: [hr, ge]
|
15623
15648
|
};
|
15624
15649
|
var Wx = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
@@ -15661,7 +15686,7 @@ function qx(s) {
|
|
15661
15686
|
}
|
15662
15687
|
function Xx(s) {
|
15663
15688
|
var e = [], t = -1, n = Zi, r = 0, i, a, o, l, c, u, d, h = [];
|
15664
|
-
h[
|
15689
|
+
h[In] = function() {
|
15665
15690
|
a !== void 0 && (e.push(a), a = void 0);
|
15666
15691
|
}, h[ge] = function() {
|
15667
15692
|
a === void 0 ? a = o : a += o;
|
@@ -15673,7 +15698,7 @@ function Xx(s) {
|
|
15673
15698
|
else {
|
15674
15699
|
if (r = 0, a === void 0 || (a = qx(a), a === !1))
|
15675
15700
|
return !1;
|
15676
|
-
h[
|
15701
|
+
h[In]();
|
15677
15702
|
}
|
15678
15703
|
};
|
15679
15704
|
function f() {
|
@@ -15683,7 +15708,7 @@ function Xx(s) {
|
|
15683
15708
|
}
|
15684
15709
|
for (; n !== null; )
|
15685
15710
|
if (t++, i = s[t], !(i === "\\" && f())) {
|
15686
|
-
if (l = Jx(i), d = Zt[n], c = d[l] || d.else ||
|
15711
|
+
if (l = Jx(i), d = Zt[n], c = d[l] || d.else || vs, c === vs || (n = c[0], u = h[c[1]], u && (o = c[2], o = o === void 0 ? i : o, u() === !1)))
|
15687
15712
|
return;
|
15688
15713
|
if (n === Rr)
|
15689
15714
|
return e;
|
@@ -15761,7 +15786,7 @@ k.prototype._checkLocaleMessage = function(e, t, n) {
|
|
15761
15786
|
var u = Kx.test(l);
|
15762
15787
|
if (u) {
|
15763
15788
|
var d = "Detected HTML in message '" + l + "' of keypath '" + c.join("") + "' at '" + o + "'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";
|
15764
|
-
a === "warn" ?
|
15789
|
+
a === "warn" ? On(d) : a === "error" && bx(d);
|
15765
15790
|
}
|
15766
15791
|
}
|
15767
15792
|
};
|
@@ -15813,13 +15838,13 @@ se.vm.get = function() {
|
|
15813
15838
|
return this._vm;
|
15814
15839
|
};
|
15815
15840
|
se.messages.get = function() {
|
15816
|
-
return
|
15841
|
+
return Zn(this._getMessages());
|
15817
15842
|
};
|
15818
15843
|
se.dateTimeFormats.get = function() {
|
15819
|
-
return
|
15844
|
+
return Zn(this._getDateTimeFormats());
|
15820
15845
|
};
|
15821
15846
|
se.numberFormats.get = function() {
|
15822
|
-
return
|
15847
|
+
return Zn(this._getNumberFormats());
|
15823
15848
|
};
|
15824
15849
|
se.availableLocales.get = function() {
|
15825
15850
|
return Object.keys(this.messages).sort();
|
@@ -15955,7 +15980,7 @@ k.prototype._link = function(e, t, n, r, i, a, o) {
|
|
15955
15980
|
for (var u in c)
|
15956
15981
|
if (c.hasOwnProperty(u)) {
|
15957
15982
|
var d = c[u], h = d.match(tL), f = h[0], p = h[1], _ = d.replace(f, "").replace(nL, "");
|
15958
|
-
if (
|
15983
|
+
if (ks(o, _))
|
15959
15984
|
return l;
|
15960
15985
|
o.push(_);
|
15961
15986
|
var g = this._interpolate(
|
@@ -16021,7 +16046,7 @@ k.prototype._render = function(e, t, n, r) {
|
|
16021
16046
|
};
|
16022
16047
|
k.prototype._appendItemToChain = function(e, t, n) {
|
16023
16048
|
var r = !1;
|
16024
|
-
return
|
16049
|
+
return ks(e, t) || (r = !0, t && (r = t[t.length - 1] !== "!", t = t.replace(/!/g, ""), e.push(t), n && n[t] && (r = n[t]))), r;
|
16025
16050
|
};
|
16026
16051
|
k.prototype._appendLocaleToChain = function(e, t, n) {
|
16027
16052
|
var r, i = t.split("-");
|
@@ -16138,7 +16163,7 @@ k.prototype.te = function(e, t) {
|
|
16138
16163
|
return this._te(e, this.locale, this._getMessages(), t);
|
16139
16164
|
};
|
16140
16165
|
k.prototype.getLocaleMessage = function(e) {
|
16141
|
-
return
|
16166
|
+
return Zn(this._vm.messages[e] || {});
|
16142
16167
|
};
|
16143
16168
|
k.prototype.setLocaleMessage = function(e, t) {
|
16144
16169
|
(this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, t);
|
@@ -16150,7 +16175,7 @@ k.prototype.mergeLocaleMessage = function(e, t) {
|
|
16150
16175
|
));
|
16151
16176
|
};
|
16152
16177
|
k.prototype.getDateTimeFormat = function(e) {
|
16153
|
-
return
|
16178
|
+
return Zn(this._vm.dateTimeFormats[e] || {});
|
16154
16179
|
};
|
16155
16180
|
k.prototype.setDateTimeFormat = function(e, t) {
|
16156
16181
|
this._vm.$set(this._vm.dateTimeFormats, e, t), this._clearDateTimeFormat(e, t);
|
@@ -16200,11 +16225,11 @@ k.prototype.d = function(e) {
|
|
16200
16225
|
var r = this.locale, i = null, a = null;
|
16201
16226
|
return t.length === 1 ? (ye(t[0]) ? i = t[0] : We(t[0]) && (t[0].locale && (r = t[0].locale), t[0].key && (i = t[0].key)), a = Object.keys(t[0]).reduce(function(o, l) {
|
16202
16227
|
var c;
|
16203
|
-
return
|
16228
|
+
return ks(wx, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16204
16229
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._d(e, r, i, a);
|
16205
16230
|
};
|
16206
16231
|
k.prototype.getNumberFormat = function(e) {
|
16207
|
-
return
|
16232
|
+
return Zn(this._vm.numberFormats[e] || {});
|
16208
16233
|
};
|
16209
16234
|
k.prototype.setNumberFormat = function(e, t) {
|
16210
16235
|
this._vm.$set(this._vm.numberFormats, e, t), this._clearNumberFormat(e, t);
|
@@ -16256,7 +16281,7 @@ k.prototype.n = function(e) {
|
|
16256
16281
|
var r = this.locale, i = null, a = null;
|
16257
16282
|
return t.length === 1 ? ye(t[0]) ? i = t[0] : We(t[0]) && (t[0].locale && (r = t[0].locale), t[0].key && (i = t[0].key), a = Object.keys(t[0]).reduce(function(o, l) {
|
16258
16283
|
var c;
|
16259
|
-
return
|
16284
|
+
return ks(Ou, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16260
16285
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._n(e, r, i, a);
|
16261
16286
|
};
|
16262
16287
|
k.prototype._ntp = function(e, t, n, r) {
|
@@ -16291,7 +16316,7 @@ Object.defineProperty(k, "availabilities", {
|
|
16291
16316
|
k.install = $a;
|
16292
16317
|
k.version = "8.28.2";
|
16293
16318
|
const Zu = k;
|
16294
|
-
|
16319
|
+
Fn.use(Zu);
|
16295
16320
|
function sL() {
|
16296
16321
|
return new Zu({
|
16297
16322
|
locale: "en",
|
@@ -16935,7 +16960,7 @@ const iL = {
|
|
16935
16960
|
function gi(s) {
|
16936
16961
|
return !!s && typeof s == "object" && !Array.isArray(s);
|
16937
16962
|
}
|
16938
|
-
const
|
16963
|
+
const YE = Symbol("I18nPluginSymbol");
|
16939
16964
|
function Hu(...s) {
|
16940
16965
|
return s.reduce((e, t) => (Object.entries(t).filter(([n]) => !["name", "properties"].includes(n)).forEach(([n, r]) => {
|
16941
16966
|
gi(e[n]) && gi(r) ? e[n] = Hu(e[n], r) : gi(e[n]) ? De("i18n").warning(
|
@@ -16987,23 +17012,23 @@ function Uu(s, e) {
|
|
16987
17012
|
function lL(s, e) {
|
16988
17013
|
Uu(URL.createObjectURL(s), e);
|
16989
17014
|
}
|
16990
|
-
function
|
17015
|
+
function QE(s, e) {
|
16991
17016
|
Uu(
|
16992
17017
|
`data:text/plain;charset=utf-8,${encodeURIComponent(s)}`,
|
16993
17018
|
e
|
16994
17019
|
);
|
16995
17020
|
}
|
16996
|
-
function
|
17021
|
+
function JE(s, e, t) {
|
16997
17022
|
s.toBlob((n) => {
|
16998
17023
|
lL(n, e);
|
16999
17024
|
}, t);
|
17000
17025
|
}
|
17001
|
-
class cL extends
|
17026
|
+
class cL extends ws {
|
17002
17027
|
/**
|
17003
17028
|
* @param {function():string} getDynamicModuleId
|
17004
17029
|
*/
|
17005
17030
|
constructor(e) {
|
17006
|
-
super(),
|
17031
|
+
super(), as(this, e);
|
17007
17032
|
const t = {};
|
17008
17033
|
this._config = w({}), this._listeners = [
|
17009
17034
|
this.added.addEventListener((n) => {
|
@@ -17096,7 +17121,7 @@ function vL(s, e) {
|
|
17096
17121
|
), t;
|
17097
17122
|
}
|
17098
17123
|
function gL(s) {
|
17099
|
-
if (
|
17124
|
+
if (M(s, URL), s.searchParams.has("state"))
|
17100
17125
|
try {
|
17101
17126
|
return _L(JSON.parse(s.searchParams.get("state")));
|
17102
17127
|
} catch {
|
@@ -17106,15 +17131,15 @@ function gL(s) {
|
|
17106
17131
|
}
|
17107
17132
|
return Ra();
|
17108
17133
|
}
|
17109
|
-
function
|
17110
|
-
|
17134
|
+
function qE(s, e) {
|
17135
|
+
M(s, {
|
17111
17136
|
activeMap: [String, void 0],
|
17112
17137
|
activeViewpoint: [Object, void 0],
|
17113
17138
|
activeObliqueCollection: [String, void 0],
|
17114
17139
|
layers: Array,
|
17115
17140
|
plugins: Array,
|
17116
17141
|
moduleIds: [String]
|
17117
|
-
}),
|
17142
|
+
}), M(e, URL);
|
17118
17143
|
const t = uL - e.toString().length;
|
17119
17144
|
e.searchParams.set(
|
17120
17145
|
"state",
|
@@ -17144,12 +17169,12 @@ function yL(s) {
|
|
17144
17169
|
});
|
17145
17170
|
Qi(e), s.layers.add(e);
|
17146
17171
|
const t = new Dt({
|
17147
|
-
image: Rl(
|
17172
|
+
image: Rl(Rn()),
|
17148
17173
|
fill: {
|
17149
17174
|
color: "rgba(237, 237, 237, 0.1)"
|
17150
17175
|
},
|
17151
17176
|
stroke: {
|
17152
|
-
color:
|
17177
|
+
color: Rn(),
|
17153
17178
|
width: 5
|
17154
17179
|
}
|
17155
17180
|
});
|
@@ -17201,7 +17226,7 @@ class wL extends Rt {
|
|
17201
17226
|
* @param {number=} index
|
17202
17227
|
*/
|
17203
17228
|
add(e, t, n) {
|
17204
|
-
|
17229
|
+
M(t, [String, Q]), M(e.search, Function), e.name !== t && De("Search").warning(
|
17205
17230
|
"SearchImplementations must be named as the plugin they are owned by."
|
17206
17231
|
), e[jl] = t, super.add(e, n);
|
17207
17232
|
}
|
@@ -17304,8 +17329,8 @@ class ja extends P1 {
|
|
17304
17329
|
return Ei;
|
17305
17330
|
}
|
17306
17331
|
constructor() {
|
17307
|
-
super(), this.themeChanged = new Ae(), this._plugins =
|
17308
|
-
new
|
17332
|
+
super(), this.themeChanged = new Ae(), this._plugins = as(
|
17333
|
+
new ws(),
|
17309
17334
|
() => this.dynamicModuleId,
|
17310
17335
|
qf,
|
17311
17336
|
Xf
|
@@ -17330,18 +17355,18 @@ class ja extends P1 {
|
|
17330
17355
|
this._windowManager.removeOwner(e.name), this._navbarManager.removeOwner(e.name), this._toolboxManager.removeOwner(e.name), this._categoryManager.removeOwner(e.name), this._contextMenuManager.removeOwner(e.name), this._search.removeOwner(e.name);
|
17331
17356
|
})
|
17332
17357
|
], this._callbackClassRegistry = new Wr(
|
17333
|
-
|
17358
|
+
Es
|
17334
17359
|
), this._contentTreeClassRegistry = new Wr(
|
17335
17360
|
it
|
17336
17361
|
), this._contentTree = $M(this), this._toolboxManager = new Km(), Xm(this._toolboxManager), this._windowManager = new ep(), this._navbarManager = new Em(), this._uiConfig = new cL(() => this.dynamicModuleId), this._featureInfoClassRegistry = new Wr(
|
17337
|
-
|
17338
|
-
), this._featureInfo =
|
17362
|
+
Ts
|
17363
|
+
), this._featureInfo = as(
|
17339
17364
|
new yx(this),
|
17340
17365
|
() => this.dynamicModuleId,
|
17341
17366
|
null,
|
17342
17367
|
(e) => Xl(this._featureInfoClassRegistry, e),
|
17343
17368
|
hn
|
17344
|
-
), this._overviewMap = new gb(this), this._i18n =
|
17369
|
+
), this._overviewMap = new gb(this), this._i18n = as(
|
17345
17370
|
new oL(this._plugins),
|
17346
17371
|
() => this.dynamicModuleId
|
17347
17372
|
), this._vueI18n = sL(), this._vueI18nDestroy = rL(this), this._categoryManager = new OM(this), this._contextMenuManager = new HM(this), this._search = new wL(this), this._notifier = new gm(), this._cachedAppState = gL(new URL(window.location.href)), this.mounted = new Ae();
|
@@ -17477,20 +17502,20 @@ class ja extends P1 {
|
|
17477
17502
|
async getState(e) {
|
17478
17503
|
var i;
|
17479
17504
|
const t = Ra();
|
17480
|
-
t.moduleIds = this.modules.filter(({ _id: a }) => a !==
|
17505
|
+
t.moduleIds = this.modules.filter(({ _id: a }) => a !== Ln).map(({ _id: a }) => a), t.activeMap = this.maps.activeMap.name;
|
17481
17506
|
const n = await this.maps.activeMap.getViewpoint();
|
17482
17507
|
t.activeViewpoint = (i = n == null ? void 0 : n.isValid) != null && i.call(n) ? n.toJSON() : void 0, t.layers = [...this.layers].filter(
|
17483
|
-
(a) => a.isSupported(this.maps.activeMap) && a[Mt] !==
|
17508
|
+
(a) => a.isSupported(this.maps.activeMap) && a[Mt] !== Ln && a[Mt] !== Yr && ((a.active || a.loading) && !a.activeOnStartup || !a.active && a.activeOnStartup || (a.active || a.loading) && a.style !== a.defaultStyle && this.styles.has(a.style))
|
17484
17509
|
).map((a) => {
|
17485
17510
|
const o = {
|
17486
17511
|
name: a.name,
|
17487
17512
|
active: a.active || a.loading
|
17488
17513
|
};
|
17489
|
-
return a.style && a.style.name !== a.defaultStyle.name && this.styles.has(a.style) && a.style[Mt] !==
|
17514
|
+
return a.style && a.style.name !== a.defaultStyle.name && this.styles.has(a.style) && a.style[Mt] !== Ln && a.style[Mt] !== Yr && (o.styleName = a.style.name), o;
|
17490
17515
|
});
|
17491
17516
|
const r = await Promise.all(
|
17492
17517
|
[...this.plugins].filter(
|
17493
|
-
(a) => a[Mt] !==
|
17518
|
+
(a) => a[Mt] !== Ln && a[Mt] !== Yr && typeof a.getState == "function"
|
17494
17519
|
).map(async (a) => {
|
17495
17520
|
try {
|
17496
17521
|
return { name: a.name, state: await a.getState(e) };
|
@@ -17586,9 +17611,9 @@ const xn = {
|
|
17586
17611
|
i18n: [void 0, [Object]]
|
17587
17612
|
};
|
17588
17613
|
async function Wu(s) {
|
17589
|
-
|
17614
|
+
M(s, String);
|
17590
17615
|
const e = new ja();
|
17591
|
-
return new
|
17616
|
+
return new Fn({
|
17592
17617
|
vuetify: ar,
|
17593
17618
|
i18n: e.vueI18n,
|
17594
17619
|
render: (t) => t(dM, {
|
@@ -17598,8 +17623,8 @@ async function Wu(s) {
|
|
17598
17623
|
})
|
17599
17624
|
}).$mount(s), e;
|
17600
17625
|
}
|
17601
|
-
async function
|
17602
|
-
|
17626
|
+
async function XE(s, e) {
|
17627
|
+
M(s, String), pe(e, String);
|
17603
17628
|
const t = await Wu(s);
|
17604
17629
|
if (e) {
|
17605
17630
|
const n = await fetch(e).then((i) => i.json()), r = new bi(n);
|
@@ -17607,10 +17632,10 @@ async function qE(s, e) {
|
|
17607
17632
|
}
|
17608
17633
|
return t;
|
17609
17634
|
}
|
17610
|
-
async function
|
17611
|
-
|
17635
|
+
async function KE(s, e) {
|
17636
|
+
M(s, String), M(e, String);
|
17612
17637
|
const t = await Wu(s), n = await fetch(e).then((i) => i.json());
|
17613
|
-
|
17638
|
+
M(n.modules, [String, Object]);
|
17614
17639
|
const r = await Promise.all(
|
17615
17640
|
n.modules.map(async (i) => {
|
17616
17641
|
if (xi(i, bL))
|
@@ -17677,7 +17702,7 @@ const IL = {
|
|
17677
17702
|
}
|
17678
17703
|
},
|
17679
17704
|
setup(s, { attrs: e }) {
|
17680
|
-
const t = w(), n =
|
17705
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
17681
17706
|
return {
|
17682
17707
|
checkbox: t,
|
17683
17708
|
errorMessage: n,
|
@@ -17731,7 +17756,7 @@ const TL = {
|
|
17731
17756
|
}
|
17732
17757
|
},
|
17733
17758
|
setup(s, { attrs: e }) {
|
17734
|
-
const t = w(), n =
|
17759
|
+
const t = w(), n = Gn(t);
|
17735
17760
|
return {
|
17736
17761
|
isDense: y(() => e.dense !== !1),
|
17737
17762
|
radioGroup: t,
|
@@ -17765,7 +17790,7 @@ const DL = $L.exports;
|
|
17765
17790
|
const RL = {
|
17766
17791
|
name: "VcsFormSection",
|
17767
17792
|
components: {
|
17768
|
-
VBtn:
|
17793
|
+
VBtn: Pn,
|
17769
17794
|
VIcon: le,
|
17770
17795
|
VcsActionButtonList: st,
|
17771
17796
|
VcsHelp: Yu
|
@@ -17836,7 +17861,7 @@ var jL = function() {
|
|
17836
17861
|
null,
|
17837
17862
|
null
|
17838
17863
|
);
|
17839
|
-
const
|
17864
|
+
const Hn = VL.exports;
|
17840
17865
|
const FL = {
|
17841
17866
|
name: "VcsSlider",
|
17842
17867
|
components: {
|
@@ -17860,7 +17885,7 @@ const Oa = BL.exports;
|
|
17860
17885
|
const GL = {
|
17861
17886
|
name: "VcsChipArrayInput",
|
17862
17887
|
components: {
|
17863
|
-
VBtn:
|
17888
|
+
VBtn: Pn,
|
17864
17889
|
VcsTextField: je,
|
17865
17890
|
VChip: ic,
|
17866
17891
|
VIcon: le
|
@@ -17920,7 +17945,7 @@ const GL = {
|
|
17920
17945
|
l.value = void 0, r.value = !1;
|
17921
17946
|
}
|
17922
17947
|
async function z(A, V) {
|
17923
|
-
A.stopPropagation(), A.preventDefault(), o.value && (V && (h([...s.value, V]), await
|
17948
|
+
A.stopPropagation(), A.preventDefault(), o.value && (V && (h([...s.value, V]), await Nn(), f(), await Nn(), c.value.scrollLeft = c.value.scrollWidth), l.value = void 0, r.value = !0);
|
17924
17949
|
}
|
17925
17950
|
return {
|
17926
17951
|
selected: n,
|
@@ -17990,7 +18015,7 @@ var ZL = function() {
|
|
17990
18015
|
null
|
17991
18016
|
);
|
17992
18017
|
const WL = UL.exports;
|
17993
|
-
function
|
18018
|
+
function Vn(s) {
|
17994
18019
|
return y(() => {
|
17995
18020
|
const e = s();
|
17996
18021
|
return e ? {
|
@@ -18064,7 +18089,7 @@ const QL = {
|
|
18064
18089
|
},
|
18065
18090
|
extent: {
|
18066
18091
|
type: Array,
|
18067
|
-
default: () =>
|
18092
|
+
default: () => bs.WGS_84_EXTENT
|
18068
18093
|
},
|
18069
18094
|
axisRules: {
|
18070
18095
|
type: Array,
|
@@ -18132,7 +18157,7 @@ const KL = {
|
|
18132
18157
|
}
|
18133
18158
|
},
|
18134
18159
|
setup(s, { attrs: e }) {
|
18135
|
-
const t = w(!1), n = w(!1), r = w(), i =
|
18160
|
+
const t = w(!1), n = w(!1), r = w(), i = Gn(r), a = y(() => e.clearable !== void 0 && e.clearable !== !1 && (t.value || n.value || i.value)), o = y(() => e.dense !== !1), l = y(() => (t.value || n.value || i.value) && !(e.disabled || e.disabled === ""));
|
18136
18161
|
return {
|
18137
18162
|
hover: t,
|
18138
18163
|
focus: n,
|
@@ -18173,7 +18198,7 @@ var eI = function() {
|
|
18173
18198
|
null,
|
18174
18199
|
null
|
18175
18200
|
);
|
18176
|
-
const
|
18201
|
+
const eS = nI.exports;
|
18177
18202
|
const sI = {
|
18178
18203
|
name: "VcsWizard",
|
18179
18204
|
components: {
|
@@ -18199,7 +18224,7 @@ var rI = function() {
|
|
18199
18224
|
null,
|
18200
18225
|
null
|
18201
18226
|
);
|
18202
|
-
const
|
18227
|
+
const tS = aI.exports;
|
18203
18228
|
const oI = {
|
18204
18229
|
name: "VcsWizardStep",
|
18205
18230
|
components: {
|
@@ -18289,7 +18314,7 @@ var lI = function() {
|
|
18289
18314
|
null,
|
18290
18315
|
null
|
18291
18316
|
);
|
18292
|
-
const
|
18317
|
+
const nS = uI.exports;
|
18293
18318
|
const dI = {
|
18294
18319
|
name: "VcsDatePicker",
|
18295
18320
|
props: {
|
@@ -18306,7 +18331,7 @@ const dI = {
|
|
18306
18331
|
VMenu: Bt,
|
18307
18332
|
VTextField: Ki,
|
18308
18333
|
VDatePicker: m0,
|
18309
|
-
VBtn:
|
18334
|
+
VBtn: Pn
|
18310
18335
|
},
|
18311
18336
|
setup(s, { emit: e, attrs: t }) {
|
18312
18337
|
const n = (
|
@@ -18376,7 +18401,7 @@ var hI = function() {
|
|
18376
18401
|
null,
|
18377
18402
|
null
|
18378
18403
|
);
|
18379
|
-
const
|
18404
|
+
const sS = pI.exports, mI = {
|
18380
18405
|
name: "VcsFillSelector",
|
18381
18406
|
components: {
|
18382
18407
|
VSheet: ue,
|
@@ -18390,7 +18415,7 @@ const nS = pI.exports, mI = {
|
|
18390
18415
|
},
|
18391
18416
|
setup(s, { emit: e }) {
|
18392
18417
|
return {
|
18393
|
-
rgbaObject:
|
18418
|
+
rgbaObject: Vn(() => {
|
18394
18419
|
var t;
|
18395
18420
|
return (t = s.value) == null ? void 0 : t.color;
|
18396
18421
|
}),
|
@@ -18423,7 +18448,7 @@ const wI = {
|
|
18423
18448
|
VSheet: ue,
|
18424
18449
|
VMenu: Bt,
|
18425
18450
|
VCard: cn,
|
18426
|
-
VcsFormSection:
|
18451
|
+
VcsFormSection: Hn,
|
18427
18452
|
VcsTooltip: Se,
|
18428
18453
|
VcsCheckbox: jr
|
18429
18454
|
},
|
@@ -18528,7 +18553,7 @@ const xI = {
|
|
18528
18553
|
}
|
18529
18554
|
},
|
18530
18555
|
setup(s) {
|
18531
|
-
const e =
|
18556
|
+
const e = Vn(() => {
|
18532
18557
|
var t;
|
18533
18558
|
return (t = s.value) == null ? void 0 : t.color;
|
18534
18559
|
});
|
@@ -18573,7 +18598,7 @@ const Fa = CI.exports, EI = {
|
|
18573
18598
|
},
|
18574
18599
|
setup(s, { emit: e }) {
|
18575
18600
|
return {
|
18576
|
-
rgbaObject:
|
18601
|
+
rgbaObject: Vn(() => {
|
18577
18602
|
var t;
|
18578
18603
|
return (t = s.value) == null ? void 0 : t.color;
|
18579
18604
|
}),
|
@@ -18641,7 +18666,7 @@ const $I = {
|
|
18641
18666
|
}
|
18642
18667
|
},
|
18643
18668
|
setup(s) {
|
18644
|
-
const e =
|
18669
|
+
const e = Vn(() => {
|
18645
18670
|
var t;
|
18646
18671
|
return (t = s.value) == null ? void 0 : t.color;
|
18647
18672
|
});
|
@@ -19642,10 +19667,10 @@ const tC = {
|
|
19642
19667
|
}
|
19643
19668
|
},
|
19644
19669
|
setup(s) {
|
19645
|
-
const e =
|
19670
|
+
const e = Vn(() => {
|
19646
19671
|
var n, r;
|
19647
19672
|
return (r = (n = s.value) == null ? void 0 : n.fill) == null ? void 0 : r.color;
|
19648
|
-
}), t =
|
19673
|
+
}), t = Vn(
|
19649
19674
|
() => {
|
19650
19675
|
var n, r;
|
19651
19676
|
return (r = (n = s.value) == null ? void 0 : n.stroke) == null ? void 0 : r.color;
|
@@ -19724,7 +19749,7 @@ const lC = {
|
|
19724
19749
|
},
|
19725
19750
|
set(i) {
|
19726
19751
|
const a = structuredClone(s.value);
|
19727
|
-
a.coordinates[n] = i[0], a.coordinates[r - 1] = i[1],
|
19752
|
+
a.coordinates[n] = i[0], a.coordinates[r - 1] = i[1], bs.validateOptions(a) && e("input", a);
|
19728
19753
|
}
|
19729
19754
|
});
|
19730
19755
|
return {
|
@@ -19761,7 +19786,7 @@ var cC = function() {
|
|
19761
19786
|
null,
|
19762
19787
|
null
|
19763
19788
|
);
|
19764
|
-
const
|
19789
|
+
const rS = dC.exports, Ie = {
|
19765
19790
|
FILL: "fill",
|
19766
19791
|
STROKE: "stroke",
|
19767
19792
|
IMAGE: "image",
|
@@ -19928,7 +19953,7 @@ const Ju = [
|
|
19928
19953
|
], Gl = [0, 1, 1, 1], Zl = [0, 0, 0], Hl = ["X", "Y", "Z"], yC = {
|
19929
19954
|
name: "VcsVectorPropertiesComponent",
|
19930
19955
|
components: {
|
19931
|
-
VcsFormSection:
|
19956
|
+
VcsFormSection: Hn,
|
19932
19957
|
VcsLabel: rt,
|
19933
19958
|
VcsSelect: $r,
|
19934
19959
|
VcsTextField: je,
|
@@ -20061,14 +20086,14 @@ const Ju = [
|
|
20061
20086
|
...N,
|
20062
20087
|
[B]: y({
|
20063
20088
|
get() {
|
20064
|
-
var re, I,
|
20065
|
-
return Array.isArray((re = s.value) == null ? void 0 : re[B]) ? (I = s.value) == null ? void 0 : I[B] : ((
|
20089
|
+
var re, I, x, O;
|
20090
|
+
return Array.isArray((re = s.value) == null ? void 0 : re[B]) ? (I = s.value) == null ? void 0 : I[B] : ((x = s.value) == null ? void 0 : x[B]) > 0 ? [(O = s.value) == null ? void 0 : O[B]] : [];
|
20066
20091
|
},
|
20067
20092
|
set(re) {
|
20068
|
-
const I = structuredClone(s.value),
|
20093
|
+
const I = structuredClone(s.value), x = {
|
20069
20094
|
[B]: re
|
20070
20095
|
};
|
20071
|
-
e("input", Object.assign(I,
|
20096
|
+
e("input", Object.assign(I, x)), e("propertyChange", x);
|
20072
20097
|
}
|
20073
20098
|
})
|
20074
20099
|
}), {})), z = de(
|
@@ -20300,7 +20325,7 @@ const CC = {
|
|
20300
20325
|
VContainer: me,
|
20301
20326
|
VRow: Re,
|
20302
20327
|
VCol: Ye,
|
20303
|
-
VcsFormSection:
|
20328
|
+
VcsFormSection: Hn,
|
20304
20329
|
VcsLabel: rt,
|
20305
20330
|
VcsTextField: je,
|
20306
20331
|
VcsCoordinate: Qu,
|
@@ -20685,7 +20710,7 @@ const Ot = {
|
|
20685
20710
|
Backward: "backward"
|
20686
20711
|
};
|
20687
20712
|
function Ul(s, e, t) {
|
20688
|
-
|
20713
|
+
M(t, Object.values(Ot));
|
20689
20714
|
let n;
|
20690
20715
|
const r = ce({
|
20691
20716
|
name: `step-${t}`,
|
@@ -20704,7 +20729,7 @@ function Ul(s, e, t) {
|
|
20704
20729
|
return { action: r, destroy: i };
|
20705
20730
|
}
|
20706
20731
|
function Wl(s, e, t) {
|
20707
|
-
|
20732
|
+
M(t, Object.values(Ot));
|
20708
20733
|
let n;
|
20709
20734
|
const r = t === Ot.Forward ? 1 : -1, i = t === Ot.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: a } = e;
|
20710
20735
|
function o() {
|
@@ -20871,7 +20896,7 @@ const QC = {
|
|
20871
20896
|
VcsTextField: je,
|
20872
20897
|
VContainer: me,
|
20873
20898
|
VSheet: ue,
|
20874
|
-
VcsFormSection:
|
20899
|
+
VcsFormSection: Hn,
|
20875
20900
|
VcsList: Sa
|
20876
20901
|
},
|
20877
20902
|
props: {
|
@@ -21064,7 +21089,7 @@ const iE = {
|
|
21064
21089
|
VRow: Re,
|
21065
21090
|
VCol: Ye,
|
21066
21091
|
VDivider: _t,
|
21067
|
-
VcsFormSection:
|
21092
|
+
VcsFormSection: Hn,
|
21068
21093
|
VcsLabel: rt,
|
21069
21094
|
VcsTextField: je,
|
21070
21095
|
VcsSelect: $r,
|
@@ -21182,7 +21207,7 @@ var aE = function() {
|
|
21182
21207
|
{ value: "linear", text: "components.flight.linear" }
|
21183
21208
|
] }, model: { value: e.interpolation, callback: function(n) {
|
21184
21209
|
e.interpolation = n;
|
21185
|
-
}, expression: "interpolation" } })], 1)], 1), e.hideDuration ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsLabel", { attrs: { "html-for": "duration", dense: "" } }, [e._v(" " + e._s(e.$t("components.flight.duration")) + " ")])], 1), t("v-col", [t("VcsTextField", { attrs: { id: "duration", type: "number", unit: "s", step: "1", decimals: 2, rules: [e.durationRule] }, model: { value: e.duration, callback: function(n) {
|
21210
|
+
}, expression: "interpolation" } })], 1)], 1), e.hideDuration ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsLabel", { attrs: { "html-for": "duration", dense: "" } }, [e._v(" " + e._s(e.$t("components.flight.duration")) + " ")])], 1), t("v-col", [t("VcsTextField", { attrs: { id: "duration", type: "number", unit: "s", step: "1", decimals: 2, disabled: e.disablePlayer, rules: [e.durationRule] }, model: { value: e.duration, callback: function(n) {
|
21186
21211
|
e.duration = e._n(n);
|
21187
21212
|
}, expression: "duration" } })], 1)], 1), e.hideLoop ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsCheckbox", { attrs: { id: "animate", label: "components.flight.loop", dense: "" }, model: { value: e.loop, callback: function(n) {
|
21188
21213
|
e.loop = n;
|
@@ -21223,7 +21248,7 @@ const uE = {
|
|
21223
21248
|
const t = s.getFlightInstance();
|
21224
21249
|
let n = !1;
|
21225
21250
|
const r = t.toJSON();
|
21226
|
-
return
|
21251
|
+
return ys("flightInstance", t), fe(() => {
|
21227
21252
|
!n && !t1(r, t.toJSON()) && s.setFlightInstance(t);
|
21228
21253
|
}), {
|
21229
21254
|
async apply() {
|
@@ -21251,7 +21276,7 @@ var dE = function() {
|
|
21251
21276
|
null,
|
21252
21277
|
null
|
21253
21278
|
);
|
21254
|
-
const
|
21279
|
+
const iS = fE.exports;
|
21255
21280
|
function Ys(s, e) {
|
21256
21281
|
const t = e.style.style.clone();
|
21257
21282
|
let n;
|
@@ -21485,14 +21510,14 @@ const AE = {
|
|
21485
21510
|
},
|
21486
21511
|
async rotate() {
|
21487
21512
|
e.currentEditSession.value.rotate(
|
21488
|
-
|
21513
|
+
Cn.toRadians(i.value ?? 0)
|
21489
21514
|
), i.value = null;
|
21490
21515
|
},
|
21491
21516
|
async cw() {
|
21492
|
-
e.currentEditSession.value.rotate(-
|
21517
|
+
e.currentEditSession.value.rotate(-Cn.PI_OVER_TWO);
|
21493
21518
|
},
|
21494
21519
|
async ccw() {
|
21495
|
-
e.currentEditSession.value.rotate(
|
21520
|
+
e.currentEditSession.value.rotate(Cn.PI_OVER_TWO);
|
21496
21521
|
},
|
21497
21522
|
async scale() {
|
21498
21523
|
e.currentEditSession.value.scale(
|
@@ -21572,7 +21597,7 @@ const TE = {
|
|
21572
21597
|
components: {
|
21573
21598
|
VcsFeatureTransforms: IE,
|
21574
21599
|
VSheet: ue,
|
21575
|
-
VcsFormSection:
|
21600
|
+
VcsFormSection: Hn,
|
21576
21601
|
VcsVectorPropertiesComponent: MC,
|
21577
21602
|
VcsFeatureStyleComponent: bE
|
21578
21603
|
},
|
@@ -21611,7 +21636,7 @@ const TE = {
|
|
21611
21636
|
currentEditSession: i,
|
21612
21637
|
currentLayer: a
|
21613
21638
|
} = t, o = w([]), l = w([]);
|
21614
|
-
|
21639
|
+
ys("features", n);
|
21615
21640
|
const c = w();
|
21616
21641
|
ie(
|
21617
21642
|
n,
|
@@ -21748,13 +21773,13 @@ var kE = function() {
|
|
21748
21773
|
null,
|
21749
21774
|
null
|
21750
21775
|
);
|
21751
|
-
const
|
21776
|
+
const aS = $E.exports;
|
21752
21777
|
export {
|
21753
21778
|
n1 as AbstractConfigEditor,
|
21754
21779
|
hn as AbstractFeatureInfoView,
|
21755
21780
|
nl as ActivateLayersCallback,
|
21756
21781
|
px as AddressBalloonComponent,
|
21757
|
-
|
21782
|
+
kn as AddressBalloonFeatureInfoView,
|
21758
21783
|
il as ApplyLayerStyleCallback,
|
21759
21784
|
ju as BalloonComponent,
|
21760
21785
|
Bi as BalloonFeatureInfoView,
|
@@ -21798,7 +21823,7 @@ export {
|
|
21798
21823
|
Z as StateActionState,
|
21799
21824
|
j0 as StyleSelector,
|
21800
21825
|
Oi as SubContentTreeItem,
|
21801
|
-
|
21826
|
+
_s as TableFeatureInfoView,
|
21802
21827
|
Bb as TiltSlider,
|
21803
21828
|
Km as ToolboxManager,
|
21804
21829
|
Vt as ToolboxType,
|
@@ -21814,21 +21839,21 @@ export {
|
|
21814
21839
|
Eb as VcsCompass,
|
21815
21840
|
Qu as VcsCoordinate,
|
21816
21841
|
JM as VcsDataTable,
|
21817
|
-
|
21842
|
+
sS as VcsDatePicker,
|
21818
21843
|
Sm as VcsDefaultLogo,
|
21819
21844
|
DA as VcsDefaultMobileLogo,
|
21820
|
-
|
21821
|
-
|
21845
|
+
rS as VcsExtent,
|
21846
|
+
aS as VcsFeatureEditingWindow,
|
21822
21847
|
bE as VcsFeatureStyleComponent,
|
21823
21848
|
IE as VcsFeatureTransforms,
|
21824
21849
|
Fa as VcsFillMenu,
|
21825
21850
|
yI as VcsFillSelector,
|
21826
21851
|
KC as VcsFlightAnchorsComponent,
|
21827
21852
|
cE as VcsFlightComponent,
|
21828
|
-
|
21853
|
+
iS as VcsFlightEditor,
|
21829
21854
|
rE as VcsFlightPlayer,
|
21830
21855
|
Cr as VcsFormButton,
|
21831
|
-
|
21856
|
+
Hn as VcsFormSection,
|
21832
21857
|
PA as VcsFormattedNumber,
|
21833
21858
|
Yu as VcsHelp,
|
21834
21859
|
YI as VcsImageMenu,
|
@@ -21837,7 +21862,7 @@ export {
|
|
21837
21862
|
Sa as VcsList,
|
21838
21863
|
au as VcsMap,
|
21839
21864
|
Dm as VcsNavbar,
|
21840
|
-
|
21865
|
+
jn as VcsObjectContentTreeItem,
|
21841
21866
|
f9 as VcsRadio,
|
21842
21867
|
DL as VcsRadioGrid,
|
21843
21868
|
$r as VcsSelect,
|
@@ -21845,12 +21870,12 @@ export {
|
|
21845
21870
|
Pa as VcsStrokeMenu,
|
21846
21871
|
NI as VcsStrokeSelector,
|
21847
21872
|
tx as VcsTable,
|
21848
|
-
|
21873
|
+
eS as VcsTextArea,
|
21849
21874
|
je as VcsTextField,
|
21850
21875
|
aC as VcsTextMenu,
|
21851
21876
|
gA as VcsTextPage,
|
21852
21877
|
eC as VcsTextSelector,
|
21853
|
-
|
21878
|
+
Ls as VcsToolButton,
|
21854
21879
|
Se as VcsTooltip,
|
21855
21880
|
IM as VcsTreeview,
|
21856
21881
|
bM as VcsTreeviewLeaf,
|
@@ -21862,8 +21887,8 @@ export {
|
|
21862
21887
|
kC as VcsViewpointComponent,
|
21863
21888
|
s1 as VcsViewpointEditor,
|
21864
21889
|
Qm as VcsWindowManager,
|
21865
|
-
|
21866
|
-
|
21890
|
+
tS as VcsWizard,
|
21891
|
+
nS as VcsWizardStep,
|
21867
21892
|
Ob as VcsZoomButton,
|
21868
21893
|
Ie as VectorStyleMenus,
|
21869
21894
|
wl as ViewpointContentTreeItem,
|
@@ -21892,25 +21917,26 @@ export {
|
|
21892
21917
|
i2 as createModalAction,
|
21893
21918
|
r2 as createOverviewMapAction,
|
21894
21919
|
am as createStateRefAction,
|
21920
|
+
HE as createSupportedMapMappingFunction,
|
21895
21921
|
$t as createToggleAction,
|
21896
21922
|
sL as createVueI18n,
|
21897
21923
|
vb as createVuetify,
|
21898
21924
|
om as createZoomToExtentAction,
|
21899
21925
|
zE as createZoomToFeatureAction,
|
21900
|
-
|
21926
|
+
rs as defaultToolboxName,
|
21901
21927
|
Xf as deserializePlugin,
|
21902
21928
|
lL as downloadBlob,
|
21903
|
-
|
21904
|
-
|
21929
|
+
JE as downloadCanvas,
|
21930
|
+
QE as downloadText,
|
21905
21931
|
Uu as downloadURI,
|
21906
21932
|
St as executeCallbacks,
|
21907
21933
|
zi as extractNestedKey,
|
21908
21934
|
gx as featureInfoViewSymbol,
|
21909
21935
|
Cm as getActionsByLocation,
|
21910
21936
|
SE as getAllowedEditorTransformationModes,
|
21911
|
-
|
21937
|
+
WE as getBalloonPosition,
|
21912
21938
|
Cu as getColorByKey,
|
21913
|
-
|
21939
|
+
Rn as getDefaultPrimaryColor,
|
21914
21940
|
np as getFittedWindowPositionOptions,
|
21915
21941
|
Rc as getFittedWindowPositionOptionsFromMapEvent,
|
21916
21942
|
El as getHighlightStyle,
|
@@ -21919,30 +21945,30 @@ export {
|
|
21919
21945
|
Ba as getProvidedFlightInstance,
|
21920
21946
|
Vi as getStateFromLayer,
|
21921
21947
|
gL as getStateFromURL,
|
21922
|
-
|
21948
|
+
Bn as getTargetSize,
|
21923
21949
|
Eu as getWindowComponentOptions,
|
21924
21950
|
Dc as getWindowPositionOptions,
|
21925
21951
|
tp as getWindowPositionOptionsFromMapEvent,
|
21926
|
-
|
21952
|
+
YE as i18nPluginSymbol,
|
21927
21953
|
Wu as initApp,
|
21928
|
-
|
21929
|
-
|
21954
|
+
KE as initAppFromAppConfig,
|
21955
|
+
XE as initAppFromModule,
|
21930
21956
|
bl as isEditorCollectionComponentClass,
|
21931
21957
|
Yf as isValidPackageName,
|
21932
21958
|
Qf as loadPlugin,
|
21933
|
-
|
21959
|
+
UE as makeEditorCollectionComponentClass,
|
21934
21960
|
rp as moveWindow,
|
21935
21961
|
ha as optionsFromWindowPosition,
|
21936
21962
|
im as parseAndSanitizeMarkdown,
|
21937
21963
|
on as pluginBaseUrlSymbol,
|
21938
21964
|
tn as pluginFactorySymbol,
|
21939
|
-
|
21965
|
+
Sn as pluginModuleUrlSymbol,
|
21940
21966
|
da as posToNumber,
|
21941
21967
|
sp as posToPercent,
|
21942
21968
|
Qe as posToPixel,
|
21943
21969
|
qf as serializePlugin,
|
21944
21970
|
_i as setBalloonPosition,
|
21945
|
-
|
21971
|
+
qE as setStateToUrl,
|
21946
21972
|
ka as setViewpointAction,
|
21947
21973
|
xl as setupBalloonPositionListener,
|
21948
21974
|
XA as setupCategoryManagerWindow,
|
@@ -21957,5 +21983,5 @@ export {
|
|
21957
21983
|
Q as vcsAppSymbol,
|
21958
21984
|
gC as vectorProperties,
|
21959
21985
|
ar as vuetify,
|
21960
|
-
|
21986
|
+
Tn as windowPositionFromOptions
|
21961
21987
|
};
|