@vcmap/ui 5.1.0-rc.3 → 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/config/www.config.json +7 -0
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.ee9f31.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.7d2c2e.js → ui.301d83.js} +551 -508
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.d22222.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 +3 -3
- package/plugins/package.json +4 -2
- package/src/components/flight/VcsFlightComponent.vue +1 -0
- package/src/components/import/ImportComponent.vue +13 -2
- package/src/components/import/ImportComponent.vue.d.ts +1 -1
- package/src/contentTree/contentTreeCollection.js +6 -1
- 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 +34 -1
- package/src/vcsUiApp.d.ts +2 -1
- package/src/vcsUiApp.js +9 -2
- package/dist/assets/index-94e13552.js +0 -1
- /package/dist/assets/{cesium.271bcd.js → cesium.f4573f.js} +0 -0
- /package/dist/assets/{ol.d99267.js → ol.25a933.js} +0 -0
- /package/dist/assets/{ui.7d2c2e.css → ui.301d83.css} +0 -0
- /package/dist/assets/{vue.e8ee6a.js → vue.806e32.js} +0 -0
- /package/dist/assets/{vuetify.d22222.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,
|
@@ -5431,16 +5431,23 @@ const ym = {
|
|
5431
5431
|
}
|
5432
5432
|
},
|
5433
5433
|
setup(s, { emit: e }) {
|
5434
|
-
const t = q("vcsApp"), n = w([])
|
5434
|
+
const t = q("vcsApp"), n = w([]), r = y({
|
5435
|
+
get() {
|
5436
|
+
return n.value;
|
5437
|
+
},
|
5438
|
+
set(i) {
|
5439
|
+
n.value = Array.isArray(i) ? i : [i];
|
5440
|
+
}
|
5441
|
+
});
|
5435
5442
|
return {
|
5436
|
-
files:
|
5443
|
+
files: r,
|
5437
5444
|
async doImport() {
|
5438
5445
|
try {
|
5439
|
-
await s.importFiles(
|
5440
|
-
} catch (
|
5446
|
+
await s.importFiles(r.value) && e("close");
|
5447
|
+
} catch (i) {
|
5441
5448
|
t.notifier.add({
|
5442
5449
|
type: At.ERROR,
|
5443
|
-
message: String(
|
5450
|
+
message: String(i.message)
|
5444
5451
|
});
|
5445
5452
|
}
|
5446
5453
|
}
|
@@ -5462,7 +5469,7 @@ var wm = function() {
|
|
5462
5469
|
bm,
|
5463
5470
|
!1,
|
5464
5471
|
null,
|
5465
|
-
"
|
5472
|
+
"c46e9afd",
|
5466
5473
|
null,
|
5467
5474
|
null
|
5468
5475
|
);
|
@@ -5486,7 +5493,7 @@ function Lm(s, e, t = {}) {
|
|
5486
5493
|
};
|
5487
5494
|
}
|
5488
5495
|
function xa(s, e) {
|
5489
|
-
|
5496
|
+
M(e, {
|
5490
5497
|
name: String,
|
5491
5498
|
icon: [void 0, String],
|
5492
5499
|
title: [void 0, String],
|
@@ -5515,7 +5522,7 @@ function GE(s, e, t) {
|
|
5515
5522
|
};
|
5516
5523
|
}
|
5517
5524
|
function ZE(s, e, t, n) {
|
5518
|
-
|
5525
|
+
M(s, Function), M(t, [String, Q]), M(n, String);
|
5519
5526
|
const { action: r, destroy: i } = $t(
|
5520
5527
|
{
|
5521
5528
|
name: "list.import"
|
@@ -5567,7 +5574,7 @@ function Im(s, e, t, n, r) {
|
|
5567
5574
|
}
|
5568
5575
|
};
|
5569
5576
|
}
|
5570
|
-
const
|
5577
|
+
const Es = new Ji();
|
5571
5578
|
function St(s, e) {
|
5572
5579
|
e.forEach(
|
5573
5580
|
(t) => {
|
@@ -5627,7 +5634,7 @@ class nl extends Sr {
|
|
5627
5634
|
return e.layerNames = this._layerNames.slice(), e;
|
5628
5635
|
}
|
5629
5636
|
}
|
5630
|
-
|
5637
|
+
Es.registerClass(
|
5631
5638
|
nl.className,
|
5632
5639
|
nl
|
5633
5640
|
);
|
@@ -5656,7 +5663,7 @@ class sl extends Sr {
|
|
5656
5663
|
return e.layerNames = this._layerNames.slice(), e;
|
5657
5664
|
}
|
5658
5665
|
}
|
5659
|
-
|
5666
|
+
Es.registerClass(
|
5660
5667
|
sl.className,
|
5661
5668
|
sl
|
5662
5669
|
);
|
@@ -5686,7 +5693,7 @@ class rl extends Sr {
|
|
5686
5693
|
return e.viewpoint = this._viewpoint, e;
|
5687
5694
|
}
|
5688
5695
|
}
|
5689
|
-
|
5696
|
+
Es.registerClass(
|
5690
5697
|
rl.className,
|
5691
5698
|
rl
|
5692
5699
|
);
|
@@ -5716,7 +5723,7 @@ class il extends Sr {
|
|
5716
5723
|
return e.styleName = this._styleName, e.layerName = this._layerName, e;
|
5717
5724
|
}
|
5718
5725
|
}
|
5719
|
-
|
5726
|
+
Es.registerClass(
|
5720
5727
|
il.className,
|
5721
5728
|
il
|
5722
5729
|
);
|
@@ -5747,7 +5754,7 @@ class su {
|
|
5747
5754
|
* @param {string} id
|
5748
5755
|
*/
|
5749
5756
|
remove(e) {
|
5750
|
-
|
5757
|
+
M(e, String);
|
5751
5758
|
const t = this._buttonComponents.get(e);
|
5752
5759
|
if (t) {
|
5753
5760
|
const n = this.componentIds.indexOf(e);
|
@@ -5762,7 +5769,7 @@ class su {
|
|
5762
5769
|
* @returns {ButtonComponent}
|
5763
5770
|
*/
|
5764
5771
|
add(e, t) {
|
5765
|
-
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))
|
5766
5773
|
throw new Error(
|
5767
5774
|
`A button with id ${e.id} has already been registered.`
|
5768
5775
|
);
|
@@ -5780,7 +5787,7 @@ class su {
|
|
5780
5787
|
return e.weight || 0;
|
5781
5788
|
},
|
5782
5789
|
set weight(a) {
|
5783
|
-
|
5790
|
+
M(a, Number), e.weight = a;
|
5784
5791
|
}
|
5785
5792
|
};
|
5786
5793
|
return this._buttonComponents.set(n, i), this.componentIds.push(n), this.added.raiseEvent(i), i;
|
@@ -5835,7 +5842,7 @@ class Em extends su {
|
|
5835
5842
|
* @returns {import("./buttonManager.js").ButtonComponent}
|
5836
5843
|
*/
|
5837
5844
|
add(e, t, n) {
|
5838
|
-
|
5845
|
+
M(n, Object.values(Ne));
|
5839
5846
|
const r = super.add(e, t);
|
5840
5847
|
return r[ru] = n, r;
|
5841
5848
|
}
|
@@ -5846,7 +5853,7 @@ class Em extends su {
|
|
5846
5853
|
* @param {boolean} [active]
|
5847
5854
|
*/
|
5848
5855
|
toggle(e, t = void 0) {
|
5849
|
-
if (
|
5856
|
+
if (M(e, String), this.has(e)) {
|
5850
5857
|
const { action: n } = this.get(e);
|
5851
5858
|
t !== void 0 ? (n == null ? void 0 : n.active) !== t && n.callback() : n && n.callback();
|
5852
5859
|
}
|
@@ -5858,7 +5865,7 @@ const Tm = {
|
|
5858
5865
|
components: {
|
5859
5866
|
VcsActionButtonList: st,
|
5860
5867
|
VcsActionList: ma,
|
5861
|
-
VcsToolButton:
|
5868
|
+
VcsToolButton: Ls,
|
5862
5869
|
VToolbar: yr,
|
5863
5870
|
VContainer: me,
|
5864
5871
|
VRow: Re,
|
@@ -5936,7 +5943,7 @@ const Rm = {
|
|
5936
5943
|
setup(s, { emit: e }) {
|
5937
5944
|
const t = q("vcsApp"), { provides: n } = t.windowManager.get(s.windowState.id);
|
5938
5945
|
Object.entries(n).forEach(([p, _]) => {
|
5939
|
-
|
5946
|
+
ys(p, _);
|
5940
5947
|
});
|
5941
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(
|
5942
5949
|
() => s.slotWindow === U.DYNAMIC_RIGHT
|
@@ -6098,7 +6105,7 @@ const Hm = {
|
|
6098
6105
|
const E = e.get(_), z = o(E);
|
6099
6106
|
rp(_, g, e, n.value, z);
|
6100
6107
|
}, d = w(t), h = y(() => zt().proxy.$vuetify.breakpoint.xs && d.value.length > 0), f = () => {
|
6101
|
-
n.value =
|
6108
|
+
n.value = Bn(s.maps.target);
|
6102
6109
|
};
|
6103
6110
|
window.addEventListener("resize", f);
|
6104
6111
|
const p = s.maps.mapActivated.addEventListener(f);
|
@@ -6169,7 +6176,7 @@ const Qm = Ym.exports, Vt = {
|
|
6169
6176
|
icon: "mdi-dots-grid",
|
6170
6177
|
title: "toolbox.miscellaneous"
|
6171
6178
|
}
|
6172
|
-
], al = ["featureInfo", "flight"],
|
6179
|
+
], al = ["featureInfo", "flight"], rs = Symbol("defaultToolboxName");
|
6173
6180
|
function qm(s, e, t = []) {
|
6174
6181
|
const n = [Q, ...t];
|
6175
6182
|
let r = n.indexOf(s.owner), i = n.indexOf(e.owner);
|
@@ -6185,16 +6192,16 @@ function Xm(s, e = Jm) {
|
|
6185
6192
|
}
|
6186
6193
|
class Km {
|
6187
6194
|
constructor() {
|
6188
|
-
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();
|
6189
6196
|
}
|
6190
6197
|
get toolboxName() {
|
6191
6198
|
return this._toolboxName;
|
6192
6199
|
}
|
6193
6200
|
set toolboxName(e) {
|
6194
|
-
|
6201
|
+
M(e, [String, rs]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
|
6195
6202
|
}
|
6196
6203
|
setDefaultToolboxName() {
|
6197
|
-
this.toolboxName =
|
6204
|
+
this.toolboxName = rs;
|
6198
6205
|
}
|
6199
6206
|
/**
|
6200
6207
|
* @param {string} id
|
@@ -6216,7 +6223,7 @@ class Km {
|
|
6216
6223
|
* @param {string} id
|
6217
6224
|
*/
|
6218
6225
|
remove(e) {
|
6219
|
-
|
6226
|
+
M(e, String);
|
6220
6227
|
const t = this._toolboxGroups.get(e);
|
6221
6228
|
if (t) {
|
6222
6229
|
const n = this.componentIds.indexOf(e);
|
@@ -6231,11 +6238,11 @@ class Km {
|
|
6231
6238
|
* @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
|
6232
6239
|
*/
|
6233
6240
|
add(e, t) {
|
6234
|
-
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))
|
6235
6242
|
throw new Error(
|
6236
6243
|
`A toolGroup with id ${e.id} has already been registered.`
|
6237
6244
|
);
|
6238
|
-
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];
|
6239
6246
|
let o = {
|
6240
6247
|
get id() {
|
6241
6248
|
return n;
|
@@ -6251,7 +6258,7 @@ class Km {
|
|
6251
6258
|
}
|
6252
6259
|
};
|
6253
6260
|
if (r === Vt.SINGLE) {
|
6254
|
-
|
6261
|
+
M(e.action, er);
|
6255
6262
|
const l = Si(e.action);
|
6256
6263
|
o = {
|
6257
6264
|
...o,
|
@@ -6260,7 +6267,7 @@ class Km {
|
|
6260
6267
|
}
|
6261
6268
|
};
|
6262
6269
|
} else if (r === Vt.SELECT) {
|
6263
|
-
|
6270
|
+
M(e.action, {
|
6264
6271
|
...er,
|
6265
6272
|
selected: Function,
|
6266
6273
|
currentIndex: Number,
|
@@ -6282,7 +6289,7 @@ class Km {
|
|
6282
6289
|
}
|
6283
6290
|
};
|
6284
6291
|
} else {
|
6285
|
-
|
6292
|
+
M(e.icon, String), pe(e.title, String), pe(e.disabled, Boolean);
|
6286
6293
|
const {
|
6287
6294
|
icon: l,
|
6288
6295
|
title: c = void 0,
|
@@ -6328,7 +6335,7 @@ class Km {
|
|
6328
6335
|
const e_ = {
|
6329
6336
|
name: "ToolboxActionSelect",
|
6330
6337
|
components: {
|
6331
|
-
VcsToolButton:
|
6338
|
+
VcsToolButton: Ls,
|
6332
6339
|
VMenu: Bt,
|
6333
6340
|
VIcon: le,
|
6334
6341
|
VToolbar: yr,
|
@@ -6377,7 +6384,7 @@ const r_ = s_.exports;
|
|
6377
6384
|
const i_ = {
|
6378
6385
|
name: "ToolboxActionGroup",
|
6379
6386
|
components: {
|
6380
|
-
VcsToolButton:
|
6387
|
+
VcsToolButton: Ls,
|
6381
6388
|
VMenu: Bt,
|
6382
6389
|
VIcon: le,
|
6383
6390
|
VToolbar: yr,
|
@@ -6435,7 +6442,7 @@ const u_ = {
|
|
6435
6442
|
components: {
|
6436
6443
|
ToolboxActionSelect: r_,
|
6437
6444
|
ToolboxActionGroup: c_,
|
6438
|
-
VcsToolButton:
|
6445
|
+
VcsToolButton: Ls,
|
6439
6446
|
VToolbar: yr,
|
6440
6447
|
VToolbarItems: wr
|
6441
6448
|
},
|
@@ -6478,7 +6485,7 @@ const u_ = {
|
|
6478
6485
|
toolboxOpen: o,
|
6479
6486
|
orderedGroups: a,
|
6480
6487
|
isDefaultToolbox: y(
|
6481
|
-
() => n.value ===
|
6488
|
+
() => n.value === rs
|
6482
6489
|
),
|
6483
6490
|
ToolboxType: Vt,
|
6484
6491
|
open: w(!1)
|
@@ -6588,11 +6595,11 @@ function A_(s) {
|
|
6588
6595
|
function M_(s, e = 0, t = 1) {
|
6589
6596
|
return Math.max(e, Math.min(t, s));
|
6590
6597
|
}
|
6591
|
-
function
|
6598
|
+
function us(s = {}, e = {}) {
|
6592
6599
|
for (const t in e) {
|
6593
6600
|
const n = s[t], r = e[t];
|
6594
6601
|
if (ol(n) && ol(r)) {
|
6595
|
-
s[t] =
|
6602
|
+
s[t] = us(n, r);
|
6596
6603
|
continue;
|
6597
6604
|
}
|
6598
6605
|
s[t] = r;
|
@@ -6602,7 +6609,7 @@ function cs(s = {}, e = {}) {
|
|
6602
6609
|
function Ri(s, e = {}) {
|
6603
6610
|
if (Ri.installed)
|
6604
6611
|
return;
|
6605
|
-
Ri.installed = !0,
|
6612
|
+
Ri.installed = !0, Fn !== s && yu(`Multiple instances of Vue detected
|
6606
6613
|
See https://github.com/vuetifyjs/vuetify/issues/4068
|
6607
6614
|
|
6608
6615
|
If you're seeing "$attrs is readonly", it's caused by this`);
|
@@ -6763,7 +6770,7 @@ function cu(s) {
|
|
6763
6770
|
function uu(s) {
|
6764
6771
|
return typeof s == "string" ? document.querySelector(s) : s && s._isVue ? s.$el : s instanceof HTMLElement ? s : null;
|
6765
6772
|
}
|
6766
|
-
function
|
6773
|
+
function ms(s, e = {}) {
|
6767
6774
|
const t = {
|
6768
6775
|
container: document.scrollingElement || document.body || document.documentElement,
|
6769
6776
|
duration: 500,
|
@@ -6772,11 +6779,11 @@ function ps(s, e = {}) {
|
|
6772
6779
|
appOffset: !0,
|
6773
6780
|
...e
|
6774
6781
|
}, n = V_(t.container);
|
6775
|
-
if (t.appOffset &&
|
6782
|
+
if (t.appOffset && ms.framework.application) {
|
6776
6783
|
const l = n.classList.contains("v-navigation-drawer"), c = n.classList.contains("v-navigation-drawer--clipped"), {
|
6777
6784
|
bar: u,
|
6778
6785
|
top: d
|
6779
|
-
} =
|
6786
|
+
} = ms.framework.application;
|
6780
6787
|
t.offset += u, (!l || c) && (t.offset += d);
|
6781
6788
|
}
|
6782
6789
|
const r = performance.now();
|
@@ -6798,12 +6805,12 @@ function ps(s, e = {}) {
|
|
6798
6805
|
requestAnimationFrame(c);
|
6799
6806
|
}));
|
6800
6807
|
}
|
6801
|
-
|
6802
|
-
|
6808
|
+
ms.framework = {};
|
6809
|
+
ms.init = () => {
|
6803
6810
|
};
|
6804
6811
|
class du extends dn {
|
6805
6812
|
constructor() {
|
6806
|
-
return super(),
|
6813
|
+
return super(), ms;
|
6807
6814
|
}
|
6808
6815
|
}
|
6809
6816
|
du.property = "goTo";
|
@@ -7005,7 +7012,7 @@ let fu = class pu extends dn {
|
|
7005
7012
|
values: n,
|
7006
7013
|
component: r
|
7007
7014
|
} = e[pu.property];
|
7008
|
-
this.component = r, this.iconfont = t, this.values =
|
7015
|
+
this.component = r, this.iconfont = t, this.values = us(J_[t], n);
|
7009
7016
|
}
|
7010
7017
|
};
|
7011
7018
|
fu.property = "icons";
|
@@ -7013,7 +7020,7 @@ const mu = "$vuetify.", ll = Symbol("Lang fallback");
|
|
7013
7020
|
function _u(s, e, t = !1, n) {
|
7014
7021
|
const r = e.replace(mu, "");
|
7015
7022
|
let i = b_(s, r, ll);
|
7016
|
-
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;
|
7017
7024
|
}
|
7018
7025
|
class kr extends dn {
|
7019
7026
|
constructor(e) {
|
@@ -7170,13 +7177,13 @@ const q_ = {
|
|
7170
7177
|
class vu extends dn {
|
7171
7178
|
constructor(e, t) {
|
7172
7179
|
super();
|
7173
|
-
const n =
|
7180
|
+
const n = us({}, X_), {
|
7174
7181
|
userPreset: r
|
7175
7182
|
} = t, {
|
7176
7183
|
preset: i = {},
|
7177
7184
|
...a
|
7178
7185
|
} = r;
|
7179
|
-
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);
|
7180
7187
|
}
|
7181
7188
|
}
|
7182
7189
|
vu.property = "presets";
|
@@ -7289,7 +7296,7 @@ class Nr extends dn {
|
|
7289
7296
|
}
|
7290
7297
|
initTheme(e) {
|
7291
7298
|
typeof document > "u" || (this.unwatch && (this.unwatch(), this.unwatch = null), e.$once("hook:created", () => {
|
7292
|
-
const t =
|
7299
|
+
const t = Fn.observable({
|
7293
7300
|
themes: this.themes
|
7294
7301
|
});
|
7295
7302
|
this.unwatch = e.$watch(() => t.themes, () => this.applyTheme(), {
|
@@ -7316,7 +7323,7 @@ class Nr extends dn {
|
|
7316
7323
|
}
|
7317
7324
|
}
|
7318
7325
|
Nr.property = "theme";
|
7319
|
-
class
|
7326
|
+
class Ss {
|
7320
7327
|
constructor(e = {}) {
|
7321
7328
|
this.framework = {
|
7322
7329
|
isHydrating: !1
|
@@ -7337,14 +7344,14 @@ class Es {
|
|
7337
7344
|
this.installed.includes(t) || (this.framework[t] = new e(this.preset, this), this.installed.push(t));
|
7338
7345
|
}
|
7339
7346
|
}
|
7340
|
-
|
7341
|
-
|
7342
|
-
|
7343
|
-
|
7347
|
+
Ss.install = Ri;
|
7348
|
+
Ss.installed = !1;
|
7349
|
+
Ss.version = "2.6.16";
|
7350
|
+
Ss.config = {
|
7344
7351
|
silent: !1
|
7345
7352
|
};
|
7346
7353
|
function gu(s, e, t) {
|
7347
|
-
if (!
|
7354
|
+
if (!Ss.config.silent) {
|
7348
7355
|
if (t && (e = {
|
7349
7356
|
_isVue: !0,
|
7350
7357
|
$parent: t,
|
@@ -7357,7 +7364,7 @@ function gu(s, e, t) {
|
|
7357
7364
|
return `[Vuetify] ${s}` + (e ? tv(e) : "");
|
7358
7365
|
}
|
7359
7366
|
}
|
7360
|
-
function
|
7367
|
+
function ds(s, e, t) {
|
7361
7368
|
const n = gu(s, e, t);
|
7362
7369
|
n != null && console.warn(n);
|
7363
7370
|
}
|
@@ -7423,17 +7430,17 @@ function rr(s) {
|
|
7423
7430
|
e = s;
|
7424
7431
|
else if (typeof s == "string") {
|
7425
7432
|
let t = s[0] === "#" ? s.substring(1) : s;
|
7426
|
-
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);
|
7427
7434
|
} else
|
7428
7435
|
throw new TypeError(`Colors can only be numbers or strings, recieved ${s == null ? s : s.constructor.name} instead`);
|
7429
|
-
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;
|
7430
7437
|
}
|
7431
|
-
function
|
7438
|
+
function hs(s) {
|
7432
7439
|
let e = s.toString(16);
|
7433
7440
|
return e.length < 6 && (e = "0".repeat(6 - e.length) + e), "#" + e;
|
7434
7441
|
}
|
7435
7442
|
function av(s) {
|
7436
|
-
return
|
7443
|
+
return hs(rr(s));
|
7437
7444
|
}
|
7438
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);
|
7439
7446
|
function Au(s) {
|
@@ -7452,7 +7459,7 @@ function xu(s, e = !1, t = !0) {
|
|
7452
7459
|
for (let o = 0; o < i.length; ++o) {
|
7453
7460
|
const l = i[o], c = s[l];
|
7454
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] = {
|
7455
|
-
base:
|
7462
|
+
base: hs(rr(c))
|
7456
7463
|
});
|
7457
7464
|
}
|
7458
7465
|
return e || (a.anchor = n || a.base || a.primary.base), a;
|
@@ -7506,12 +7513,12 @@ ${i}}
|
|
7506
7513
|
}
|
7507
7514
|
function Lu(s, e) {
|
7508
7515
|
const t = {
|
7509
|
-
base:
|
7516
|
+
base: hs(e)
|
7510
7517
|
};
|
7511
7518
|
for (let n = 5; n > 0; --n)
|
7512
|
-
t[`lighten${n}`] =
|
7519
|
+
t[`lighten${n}`] = hs(hv(e, n));
|
7513
7520
|
for (let n = 1; n <= 4; ++n)
|
7514
|
-
t[`darken${n}`] =
|
7521
|
+
t[`darken${n}`] = hs(fv(e, n));
|
7515
7522
|
return t;
|
7516
7523
|
}
|
7517
7524
|
function hv(s, e) {
|
@@ -9367,8 +9374,8 @@ const fb = hb.exports, pb = {
|
|
9367
9374
|
{}
|
9368
9375
|
), Iu = _b(pb);
|
9369
9376
|
Object.keys(Iu).map((s) => `$${s}`);
|
9370
|
-
|
9371
|
-
const
|
9377
|
+
Fn.use(rc);
|
9378
|
+
const Dn = {
|
9372
9379
|
light: "#409D76",
|
9373
9380
|
dark: "#27B97C"
|
9374
9381
|
};
|
@@ -9401,7 +9408,7 @@ function vb() {
|
|
9401
9408
|
darken3: "#525252",
|
9402
9409
|
darken4: "#383838"
|
9403
9410
|
},
|
9404
|
-
primary:
|
9411
|
+
primary: Dn.light,
|
9405
9412
|
warning: "#FFCE00",
|
9406
9413
|
error: "#AA0000",
|
9407
9414
|
info: "#2196F3",
|
@@ -9420,7 +9427,7 @@ function vb() {
|
|
9420
9427
|
darken3: "#EBEBEB",
|
9421
9428
|
darken4: "#F8F8F8"
|
9422
9429
|
},
|
9423
|
-
primary:
|
9430
|
+
primary: Dn.dark,
|
9424
9431
|
warning: "#FFCE00",
|
9425
9432
|
error: "#FF5252",
|
9426
9433
|
info: "#2196F3",
|
@@ -9437,14 +9444,14 @@ function vb() {
|
|
9437
9444
|
});
|
9438
9445
|
}
|
9439
9446
|
const ar = vb();
|
9440
|
-
function
|
9441
|
-
return ar.framework.theme.isDark ?
|
9447
|
+
function Rn() {
|
9448
|
+
return ar.framework.theme.isDark ? Dn.dark : Dn.light;
|
9442
9449
|
}
|
9443
9450
|
function Cu(s, e) {
|
9444
9451
|
const t = ar.framework.theme.isDark ? "dark" : "light", n = ar.framework.theme.themes[t][s];
|
9445
9452
|
return n && e ? n[e] ?? Lu(s, rr(n))[e] : (n == null ? void 0 : n.base) ?? n;
|
9446
9453
|
}
|
9447
|
-
const
|
9454
|
+
const is = Symbol("overviewMapLayerSymbol");
|
9448
9455
|
function Eu() {
|
9449
9456
|
return {
|
9450
9457
|
component: au,
|
@@ -9497,7 +9504,7 @@ class gb {
|
|
9497
9504
|
this._app = e, this._active = !1, this._map = new vr({
|
9498
9505
|
target: "overview-map-container"
|
9499
9506
|
}), this._cachedViewpoint = null, this._obliqueTileLayer = null, this._obliqueImageLayer = null, this._obliqueSelectedImageLayer = null;
|
9500
|
-
const t = e.uiConfig.config.value.primaryColor ??
|
9507
|
+
const t = e.uiConfig.config.value.primaryColor ?? Rn(), n = wc.fromCssColorString("#EDEDED");
|
9501
9508
|
this.obliqueSelectedStyle = new Dt({
|
9502
9509
|
fill: {
|
9503
9510
|
color: n.withAlpha(0.8).toCssColorString()
|
@@ -9507,7 +9514,7 @@ class gb {
|
|
9507
9514
|
width: 3
|
9508
9515
|
}
|
9509
9516
|
}), this._obliqueResolutionFactor = 2, this._obliqueViewDirection = null, this._cameraIconLayer = null, this.cameraIconStyle = new Dt({
|
9510
|
-
image: cl(
|
9517
|
+
image: cl(Rn())
|
9511
9518
|
}), this.minimumHeight = 150, this._eventHandler = null, this._mapClicked = null, this._mapPointerListener = null, this._listeners = [], this._mapActivatedListener = null, this._collectionListeners = [
|
9512
9519
|
this._app.maps.layerCollection.added.addEventListener((r) => {
|
9513
9520
|
if (r.properties.showInOverviewMap) {
|
@@ -9644,7 +9651,7 @@ class gb {
|
|
9644
9651
|
], r = this._map.olMap.once("postrender", () => {
|
9645
9652
|
this._obliqueCollectionChanged(e.collection), this._obliqueImageChange(e.currentImage);
|
9646
9653
|
}), i = () => {
|
9647
|
-
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(),
|
9654
|
+
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(), $n(r), n.forEach((a) => {
|
9648
9655
|
a();
|
9649
9656
|
});
|
9650
9657
|
};
|
@@ -9667,7 +9674,7 @@ class gb {
|
|
9667
9674
|
const n = t.getFeatureById(e.name);
|
9668
9675
|
if (n) {
|
9669
9676
|
this._obliqueSelectedImageLayer.removeAllFeatures(), this._obliqueSelectedImageLayer.addFeatures([n]);
|
9670
|
-
const r = new
|
9677
|
+
const r = new bs({
|
9671
9678
|
coordinates: n.getGeometry().getExtent(),
|
9672
9679
|
projection: Pe.toJSON()
|
9673
9680
|
}), i = He.createViewpointFromExtent(r);
|
@@ -9685,15 +9692,15 @@ class gb {
|
|
9685
9692
|
projection: Pe.toJSON(),
|
9686
9693
|
style: t,
|
9687
9694
|
zIndex: 1
|
9688
|
-
}), this._obliqueTileLayer[
|
9695
|
+
}), this._obliqueTileLayer[is] = !0;
|
9689
9696
|
const n = new Dt({});
|
9690
9697
|
n.style = (r) => r.get("viewDirection") === this._obliqueViewDirection ? e.style : oo, this._obliqueImageLayer = new Kt({
|
9691
9698
|
projection: Pe.toJSON(),
|
9692
9699
|
style: n
|
9693
|
-
}), this._obliqueImageLayer[
|
9700
|
+
}), this._obliqueImageLayer[is] = !0, this._obliqueSelectedImageLayer = new Kt({
|
9694
9701
|
projection: Pe.toJSON(),
|
9695
9702
|
style: this.obliqueSelectedStyle
|
9696
|
-
}), 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);
|
9697
9704
|
}
|
9698
9705
|
/**
|
9699
9706
|
* @param {import("@vcmap/core").VcsMap} activeMap
|
@@ -9703,14 +9710,14 @@ class gb {
|
|
9703
9710
|
_addNavigationListener(e) {
|
9704
9711
|
return this._mapClicked.addEventListener((t) => {
|
9705
9712
|
const n = e.getViewpointSync(), r = n.groundPosition[2] ? n.groundPosition[2] : 0;
|
9706
|
-
n.groundPosition =
|
9713
|
+
n.groundPosition = fs.mercatorToWgs84(t.positionOrPixel), n.groundPosition[2] = r, n.cameraPosition = null, e.gotoViewpoint(n);
|
9707
9714
|
});
|
9708
9715
|
}
|
9709
9716
|
_setupCameraIconLayer() {
|
9710
9717
|
this._cameraIconLayer || (this._cameraIconLayer = new Kt({
|
9711
9718
|
projection: Pe.toJSON(),
|
9712
9719
|
zIndex: 50
|
9713
|
-
}), this._cameraIconLayer[
|
9720
|
+
}), this._cameraIconLayer[is] = !0, this._map.layerCollection.add(this._cameraIconLayer));
|
9714
9721
|
}
|
9715
9722
|
/**
|
9716
9723
|
* Adds and maintains the view and camera feature
|
@@ -9727,7 +9734,7 @@ class gb {
|
|
9727
9734
|
if (n[2] && !(i && i < n[2] * 4) && (i = n[2] * 4), i = i > this.minimumHeight ? i : this.minimumHeight, r == null || i == null)
|
9728
9735
|
return;
|
9729
9736
|
let a = this._cameraIconLayer.getFeatureById("cameraFeature");
|
9730
|
-
const o =
|
9737
|
+
const o = fs.wgs84ToMercator(n);
|
9731
9738
|
if (!a) {
|
9732
9739
|
const d = new vc(o);
|
9733
9740
|
a = new A0({
|
@@ -9735,7 +9742,7 @@ class gb {
|
|
9735
9742
|
}), a.setId("cameraFeature"), a.setStyle(this.cameraIconStyle.style), this._cameraIconLayer.addFeatures([a]);
|
9736
9743
|
}
|
9737
9744
|
a.getGeometry().setCoordinates(o);
|
9738
|
-
const l = e.heading, c =
|
9745
|
+
const l = e.heading, c = Cn.toRadians(l);
|
9739
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);
|
9740
9747
|
}
|
9741
9748
|
/**
|
@@ -10069,7 +10076,7 @@ const Jb = {
|
|
10069
10076
|
}),
|
10070
10077
|
s.overviewMap.map.layerCollection.removed.addEventListener(() => {
|
10071
10078
|
[...s.overviewMap.map.layerCollection].filter(
|
10072
|
-
(p) => !p[
|
10079
|
+
(p) => !p[is]
|
10073
10080
|
).length < 1 && s.overviewMap.active && (s.overviewMap.deactivate(), u.value = !1);
|
10074
10081
|
})
|
10075
10082
|
], { action: h, destroy: f } = Yb(s);
|
@@ -10186,7 +10193,7 @@ const i9 = {
|
|
10186
10193
|
}
|
10187
10194
|
},
|
10188
10195
|
setup(s, { attrs: e }) {
|
10189
|
-
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 === ""));
|
10190
10197
|
function l(c) {
|
10191
10198
|
return s.itemText ? s.itemText(c) : (c == null ? void 0 : c.text) ?? c;
|
10192
10199
|
}
|
@@ -10256,7 +10263,7 @@ const c9 = {
|
|
10256
10263
|
}
|
10257
10264
|
},
|
10258
10265
|
setup(s, { attrs: e }) {
|
10259
|
-
const t = w(), n =
|
10266
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
10260
10267
|
return {
|
10261
10268
|
radioGroup: t,
|
10262
10269
|
errorMessage: n,
|
@@ -10538,7 +10545,7 @@ const M9 = {
|
|
10538
10545
|
* @param {PointerEvent} event
|
10539
10546
|
*/
|
10540
10547
|
select(b, G) {
|
10541
|
-
var D, $, N, B, re, I,
|
10548
|
+
var D, $, N, B, re, I, x, O;
|
10542
10549
|
if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((C) => C(G)), !(!s.selectable || b.disabled)) {
|
10543
10550
|
if (s.singleSelect)
|
10544
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);
|
@@ -10559,7 +10566,7 @@ const M9 = {
|
|
10559
10566
|
} else
|
10560
10567
|
n.value.filter((S) => S !== b && S.selectionChanged).forEach((S) => S.selectionChanged(!1)), n.value = [], u = null;
|
10561
10568
|
} else
|
10562
|
-
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);
|
10563
10570
|
e("input", n.value);
|
10564
10571
|
}
|
10565
10572
|
},
|
@@ -10789,7 +10796,7 @@ const Su = R9.exports, j9 = {
|
|
10789
10796
|
},
|
10790
10797
|
setup(s) {
|
10791
10798
|
const t = q("collectionManager").get(s.componentId);
|
10792
|
-
|
10799
|
+
ys("collectionComponent", t);
|
10793
10800
|
}
|
10794
10801
|
};
|
10795
10802
|
var O9 = function() {
|
@@ -10949,8 +10956,8 @@ const q9 = {
|
|
10949
10956
|
var X9 = function() {
|
10950
10957
|
var e = this, t = e._self._c;
|
10951
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) {
|
10952
|
-
var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I,
|
10953
|
-
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);
|
10954
10961
|
}), 1)], 1);
|
10955
10962
|
}, K9 = [], eA = /* @__PURE__ */ m(
|
10956
10963
|
q9,
|
@@ -11387,7 +11394,7 @@ class zA extends _r {
|
|
11387
11394
|
* @param {boolean} move
|
11388
11395
|
*/
|
11389
11396
|
setMove(e) {
|
11390
|
-
|
11397
|
+
M(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
|
11391
11398
|
}
|
11392
11399
|
/**
|
11393
11400
|
* @param {import("@vcmap/core").InteractionEvent} event
|
@@ -11704,7 +11711,7 @@ function KA(s, e) {
|
|
11704
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());
|
11705
11712
|
}),
|
11706
11713
|
s.uiConfig.removed.addEventListener((r) => {
|
11707
|
-
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());
|
11708
11715
|
})
|
11709
11716
|
], n = ie(
|
11710
11717
|
() => e.theme.dark,
|
@@ -11783,7 +11790,7 @@ const nM = {
|
|
11783
11790
|
},
|
11784
11791
|
setup(s) {
|
11785
11792
|
const t = `mapCollection-${Gt()}`, n = N1(s.appId);
|
11786
|
-
|
11793
|
+
ys("vcsApp", n);
|
11787
11794
|
const r = YA(n), i = QA(n), a = JA(n);
|
11788
11795
|
qA(n);
|
11789
11796
|
const o = XA(n), l = KA(
|
@@ -11932,7 +11939,7 @@ class Pt {
|
|
11932
11939
|
* @param {StateActionState} state
|
11933
11940
|
*/
|
11934
11941
|
set state(e) {
|
11935
|
-
|
11942
|
+
M(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
|
11936
11943
|
}
|
11937
11944
|
/**
|
11938
11945
|
* @type {string|null}
|
@@ -12007,7 +12014,7 @@ class Pt {
|
|
12007
12014
|
* @param {number} weight
|
12008
12015
|
*/
|
12009
12016
|
set weight(e) {
|
12010
|
-
|
12017
|
+
M(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
|
12011
12018
|
}
|
12012
12019
|
/**
|
12013
12020
|
* @private
|
@@ -12046,7 +12053,7 @@ class Pt {
|
|
12046
12053
|
* @param {number} [weight=11]
|
12047
12054
|
*/
|
12048
12055
|
addAction(e, t = 11) {
|
12049
|
-
if (
|
12056
|
+
if (M(e.name, String), pe(t, Number), this._getActionIndex(e.name) > -1)
|
12050
12057
|
throw new Error("Action names must be unique");
|
12051
12058
|
e[hl] = t;
|
12052
12059
|
const r = this._actions.value.findIndex(
|
@@ -12310,7 +12317,12 @@ class NM extends Rt {
|
|
12310
12317
|
}),
|
12311
12318
|
this.moved.addEventListener(() => t(!0))
|
12312
12319
|
], this._defaultSubtreeItem = new Oi(
|
12313
|
-
{
|
12320
|
+
{
|
12321
|
+
name: "Content",
|
12322
|
+
icon: "$vcsLayers",
|
12323
|
+
title: "content.title",
|
12324
|
+
tooltip: "content.title"
|
12325
|
+
},
|
12314
12326
|
e
|
12315
12327
|
), this._subTreeViewItems = w(/* @__PURE__ */ new Map()), this._subTreeListeners = /* @__PURE__ */ new Map(), this._suspendListeners = !1;
|
12316
12328
|
}
|
@@ -12470,7 +12482,7 @@ class NM extends Rt {
|
|
12470
12482
|
}
|
12471
12483
|
}
|
12472
12484
|
function $M(s) {
|
12473
|
-
const e = new NM(s), t =
|
12485
|
+
const e = new NM(s), t = as(
|
12474
12486
|
e,
|
12475
12487
|
() => s.dynamicModuleId,
|
12476
12488
|
null,
|
@@ -12525,7 +12537,7 @@ it.registerClass(
|
|
12525
12537
|
fl.className,
|
12526
12538
|
fl
|
12527
12539
|
);
|
12528
|
-
class
|
12540
|
+
class jn extends Pt {
|
12529
12541
|
/**
|
12530
12542
|
* @type {string}
|
12531
12543
|
*/
|
@@ -12577,8 +12589,8 @@ class Rn extends Pt {
|
|
12577
12589
|
}
|
12578
12590
|
}
|
12579
12591
|
it.registerClass(
|
12580
|
-
|
12581
|
-
|
12592
|
+
jn.className,
|
12593
|
+
jn
|
12582
12594
|
);
|
12583
12595
|
function ka(s, e, t) {
|
12584
12596
|
const n = "ViewpointAction";
|
@@ -12598,7 +12610,7 @@ function ka(s, e, t) {
|
|
12598
12610
|
function Vi(s) {
|
12599
12611
|
return s.active ? Z.ACTIVE : s.loading ? Z.LOADING : Z.INACTIVE;
|
12600
12612
|
}
|
12601
|
-
class pl extends
|
12613
|
+
class pl extends jn {
|
12602
12614
|
/**
|
12603
12615
|
* @todo this has to be refactored, just so we can read the config as is
|
12604
12616
|
* @returns {string}
|
@@ -12814,7 +12826,7 @@ it.registerClass(
|
|
12814
12826
|
_l.className,
|
12815
12827
|
_l
|
12816
12828
|
);
|
12817
|
-
class vl extends
|
12829
|
+
class vl extends jn {
|
12818
12830
|
/**
|
12819
12831
|
* @returns {string}
|
12820
12832
|
*/
|
@@ -12938,7 +12950,7 @@ it.registerClass(
|
|
12938
12950
|
gl
|
12939
12951
|
);
|
12940
12952
|
const DM = new $1({});
|
12941
|
-
class yl extends
|
12953
|
+
class yl extends jn {
|
12942
12954
|
/**
|
12943
12955
|
* @type {string}
|
12944
12956
|
*/
|
@@ -13027,7 +13039,7 @@ it.registerClass(
|
|
13027
13039
|
yl.className,
|
13028
13040
|
yl
|
13029
13041
|
);
|
13030
|
-
class wl extends
|
13042
|
+
class wl extends jn {
|
13031
13043
|
static get className() {
|
13032
13044
|
return "ViewpointContentTreeItem";
|
13033
13045
|
}
|
@@ -13093,6 +13105,16 @@ function mi(s) {
|
|
13093
13105
|
function RM(s, e, t) {
|
13094
13106
|
s.properties || (s.properties = {}), s.properties.title = t, e.title = t;
|
13095
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
|
+
}
|
13096
13118
|
class Na {
|
13097
13119
|
/**
|
13098
13120
|
* @param {CollectionComponentClassOptions<T>} options
|
@@ -13276,17 +13298,19 @@ class Na {
|
|
13276
13298
|
* @private
|
13277
13299
|
*/
|
13278
13300
|
_handleItemReplaced(e) {
|
13279
|
-
var
|
13280
|
-
const t = (
|
13281
|
-
(
|
13301
|
+
var i;
|
13302
|
+
const t = (i = this.getListItemForItem(e.old)) == null ? void 0 : i.hasUpdate, n = this._listItems.value.findIndex(
|
13303
|
+
(a) => a.name === e.old[this.collection.uniqueKey]
|
13304
|
+
), r = this.selection.value.findIndex(
|
13305
|
+
(a) => a.name === e.old[this.collection.uniqueKey]
|
13282
13306
|
);
|
13283
|
-
if (this._handleItemRemoved(e.old),
|
13284
|
-
const
|
13285
|
-
if (
|
13286
|
-
const
|
13287
|
-
(
|
13288
|
-
);
|
13289
|
-
|
13307
|
+
if (this._handleItemRemoved(e.old), r > -1 || t !== void 0) {
|
13308
|
+
const a = this._collection.added.addEventListener((o) => {
|
13309
|
+
if (o === e.new) {
|
13310
|
+
const l = this.items.value.findIndex(
|
13311
|
+
(u) => u.name === o[this.collection.uniqueKey]
|
13312
|
+
), c = this._listItems.value[l];
|
13313
|
+
c && (t !== void 0 && (c.hasUpdate = t), l !== n && (this._listItems.value.splice(l, 1), this._listItems.value.splice(n, 0, c)), r > -1 && this.selection.value.splice(r, 0, c)), a();
|
13290
13314
|
}
|
13291
13315
|
});
|
13292
13316
|
}
|
@@ -13448,7 +13472,7 @@ class jM {
|
|
13448
13472
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
13449
13473
|
*/
|
13450
13474
|
add(e, t) {
|
13451
|
-
if (
|
13475
|
+
if (M(e, { collection: ws }), M(t, [String, Symbol]), e.id && this.has(e.id))
|
13452
13476
|
throw new Error(
|
13453
13477
|
`A collection component with id ${e.id} has already been registered.`
|
13454
13478
|
);
|
@@ -13474,7 +13498,7 @@ class jM {
|
|
13474
13498
|
* @param {string} id
|
13475
13499
|
*/
|
13476
13500
|
remove(e) {
|
13477
|
-
|
13501
|
+
M(e, String);
|
13478
13502
|
const t = this._collectionComponents.get(e);
|
13479
13503
|
if (t) {
|
13480
13504
|
const n = this.componentIds.indexOf(e);
|
@@ -13501,7 +13525,7 @@ class jM {
|
|
13501
13525
|
* @template {Object} T
|
13502
13526
|
*/
|
13503
13527
|
addMappingFunction(e, t, n, r = []) {
|
13504
|
-
pe(e, Function),
|
13528
|
+
pe(e, Function), M(t, Function), M(n, [String, Symbol]), M(r, [String]);
|
13505
13529
|
const i = {
|
13506
13530
|
predicate: e,
|
13507
13531
|
mappingFunction: t,
|
@@ -13522,7 +13546,7 @@ class jM {
|
|
13522
13546
|
* @template {Object} T
|
13523
13547
|
*/
|
13524
13548
|
removeMappingFunction(e, t) {
|
13525
|
-
|
13549
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13526
13550
|
n.removeItemMapping({ mappingFunction: e, owner: t });
|
13527
13551
|
}), this._itemMappings = this._itemMappings.filter(
|
13528
13552
|
(n) => !(n.mappingFunction === e && n.owner === t)
|
@@ -13535,7 +13559,7 @@ class jM {
|
|
13535
13559
|
* @template {Object} T
|
13536
13560
|
*/
|
13537
13561
|
addFilterFunction(e, t, n = []) {
|
13538
|
-
|
13562
|
+
M(e, Function), M(t, [String, Symbol]), M(n, [String]);
|
13539
13563
|
const r = {
|
13540
13564
|
filterFunction: e,
|
13541
13565
|
owner: t
|
@@ -13555,7 +13579,7 @@ class jM {
|
|
13555
13579
|
* @template {Object} T
|
13556
13580
|
*/
|
13557
13581
|
removeFilterFunction(e, t) {
|
13558
|
-
|
13582
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13559
13583
|
n.removeItemFilter({ filterFunction: e, owner: t });
|
13560
13584
|
}), this._itemFilters = this._itemFilters.filter(
|
13561
13585
|
(n) => !(n.filterFunction === e && n.owner === t)
|
@@ -13568,7 +13592,7 @@ class jM {
|
|
13568
13592
|
* @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
|
13569
13593
|
*/
|
13570
13594
|
addActions(e, t, n = []) {
|
13571
|
-
if (
|
13595
|
+
if (M(t, [String, Symbol]), M(n, [String]), !pa(e))
|
13572
13596
|
throw new Error("Invalid actions Array");
|
13573
13597
|
if (!this._actions.find(
|
13574
13598
|
(r) => r.actions === e && r.owner === t
|
@@ -13589,7 +13613,7 @@ class jM {
|
|
13589
13613
|
* @param {string | symbol} owner
|
13590
13614
|
*/
|
13591
13615
|
removeActions(e, t) {
|
13592
|
-
|
13616
|
+
M(t, [String, Symbol]);
|
13593
13617
|
const n = e.map((r) => ({ action: r, owner: t }));
|
13594
13618
|
[...this._collectionComponents.values()].forEach((r) => {
|
13595
13619
|
r.removeActions(n);
|
@@ -13602,7 +13626,7 @@ class jM {
|
|
13602
13626
|
* @param {string | symbol} owner
|
13603
13627
|
*/
|
13604
13628
|
removeOwner(e) {
|
13605
|
-
|
13629
|
+
M(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
|
13606
13630
|
t.owner === e ? (this.remove(t.id), t.destroy()) : t.removeOwner(e);
|
13607
13631
|
}), this._itemMappings = this._itemMappings.filter((t) => t.owner !== e), this._itemFilters = this._itemFilters.filter((t) => t.owner !== e), this._actions = this._actions.filter(
|
13608
13632
|
(t) => t.owner !== e
|
@@ -13639,9 +13663,9 @@ class OM extends jM {
|
|
13639
13663
|
* @param {import("../../vcsUiApp.js").default} app
|
13640
13664
|
*/
|
13641
13665
|
constructor(e) {
|
13642
|
-
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 = [
|
13643
13667
|
this._app.dynamicModuleIdChanged.addEventListener((t) => {
|
13644
|
-
this._dynamicModuleId = t, this.reset();
|
13668
|
+
(t === Ln || this._moduleIds.includes(t)) && (this._dynamicModuleId = t), this.reset();
|
13645
13669
|
}),
|
13646
13670
|
this._app.categories.removed.addEventListener((t) => {
|
13647
13671
|
this.getCollection(t.collection).forEach(({ id: r }) => this.remove(r));
|
@@ -13670,6 +13694,21 @@ class OM extends jM {
|
|
13670
13694
|
t
|
13671
13695
|
), category: r };
|
13672
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
|
+
}
|
13673
13712
|
destroy() {
|
13674
13713
|
super.destroy(), this._categoryListeners.forEach((e) => e());
|
13675
13714
|
}
|
@@ -13677,8 +13716,8 @@ class OM extends jM {
|
|
13677
13716
|
const bl = Symbol(
|
13678
13717
|
"EditorCollectionComponentClass"
|
13679
13718
|
);
|
13680
|
-
function
|
13681
|
-
|
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);
|
13682
13721
|
const r = (
|
13683
13722
|
/** @type {EditorCollectionComponentClass} */
|
13684
13723
|
e
|
@@ -13743,7 +13782,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13743
13782
|
const H = ie(
|
13744
13783
|
r.selection,
|
13745
13784
|
async ($, N) => {
|
13746
|
-
$.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());
|
13747
13786
|
}
|
13748
13787
|
), b = r.collection.removed.addEventListener(
|
13749
13788
|
g
|
@@ -13757,7 +13796,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13757
13796
|
const re = {
|
13758
13797
|
name: "list.editItem",
|
13759
13798
|
async callback() {
|
13760
|
-
l ? (E(), await
|
13799
|
+
l ? (E(), await Nn(), e.selection.value = [B]) : e.selection.value = [], A($);
|
13761
13800
|
},
|
13762
13801
|
weight: 10
|
13763
13802
|
};
|
@@ -13851,7 +13890,7 @@ function ZM(s, e) {
|
|
13851
13890
|
if (s instanceof R1) {
|
13852
13891
|
const r = s.olMap.on("postrender", n);
|
13853
13892
|
return () => {
|
13854
|
-
|
13893
|
+
$n(r);
|
13855
13894
|
};
|
13856
13895
|
}
|
13857
13896
|
return () => {
|
@@ -13921,7 +13960,7 @@ class HM {
|
|
13921
13960
|
* @param {string|symbol} owner
|
13922
13961
|
*/
|
13923
13962
|
addEventHandler(e, t) {
|
13924
|
-
|
13963
|
+
M(e, Function), M(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
|
13925
13964
|
const n = [...this._app.plugins].map((r) => r.name);
|
13926
13965
|
this._eventHandlers.sort((r, i) => La(r.owner, i.owner, n));
|
13927
13966
|
}
|
@@ -14446,11 +14485,11 @@ function or(s, e) {
|
|
14446
14485
|
if (t)
|
14447
14486
|
return new bc(...t);
|
14448
14487
|
}
|
14449
|
-
async function
|
14488
|
+
async function WE(s, e) {
|
14450
14489
|
const t = s.maps.activeMap;
|
14451
14490
|
if (t instanceof Ft) {
|
14452
|
-
const n =
|
14453
|
-
|
14491
|
+
const n = fs.mercatorToWgs84(e), r = ps.toCartesian(
|
14492
|
+
ps.fromDegrees(...n)
|
14454
14493
|
);
|
14455
14494
|
return Ru(t.getScene(), r);
|
14456
14495
|
} else {
|
@@ -14490,8 +14529,8 @@ async function xl(s, e, t) {
|
|
14490
14529
|
const [h] = await c.getHeightFromTerrain([l]);
|
14491
14530
|
l[2] = h[2];
|
14492
14531
|
}
|
14493
|
-
const u =
|
14494
|
-
|
14532
|
+
const u = fs.mercatorToWgs84(l), d = ps.toCartesian(
|
14533
|
+
ps.fromDegrees(...u)
|
14495
14534
|
);
|
14496
14535
|
n.push(
|
14497
14536
|
c.getScene().postRender.addEventListener((h) => {
|
@@ -14510,7 +14549,7 @@ async function xl(s, e, t) {
|
|
14510
14549
|
or(c.olMap, l),
|
14511
14550
|
a.maps.target
|
14512
14551
|
), d = c.olMap.on("postrender", u);
|
14513
|
-
n.push(() =>
|
14552
|
+
n.push(() => $n(d));
|
14514
14553
|
} else if (c instanceof Ke) {
|
14515
14554
|
const { coords: u } = await Kl(c.currentImage, l);
|
14516
14555
|
n.push(
|
@@ -14524,7 +14563,7 @@ async function xl(s, e, t) {
|
|
14524
14563
|
or(c.olMap, u),
|
14525
14564
|
a.maps.target
|
14526
14565
|
), h = c.olMap.on("postrender", d);
|
14527
|
-
n.push(() =>
|
14566
|
+
n.push(() => $n(h));
|
14528
14567
|
}
|
14529
14568
|
};
|
14530
14569
|
return await i(s, e, t), r;
|
@@ -14624,21 +14663,21 @@ var ax = function() {
|
|
14624
14663
|
);
|
14625
14664
|
const ju = lx.exports;
|
14626
14665
|
function zi(s, e, t = null) {
|
14627
|
-
|
14666
|
+
M(s, String), M(e, Object);
|
14628
14667
|
const r = s.split(".").reduce((i, a) => i[a] || {}, e);
|
14629
14668
|
return typeof r == "string" ? r : t;
|
14630
14669
|
}
|
14631
14670
|
function Ll(s) {
|
14632
|
-
const e =
|
14633
|
-
|
14634
|
-
|
14671
|
+
const e = ps.fromCartesian(s), t = [
|
14672
|
+
Cn.toDegrees(e.longitude),
|
14673
|
+
Cn.toDegrees(e.latitude),
|
14635
14674
|
e.height
|
14636
14675
|
];
|
14637
|
-
return
|
14676
|
+
return fs.wgs84ToMercator(t);
|
14638
14677
|
}
|
14639
14678
|
function cx(s) {
|
14640
14679
|
var e, t;
|
14641
|
-
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;
|
14642
14681
|
}
|
14643
14682
|
class Bi extends hn {
|
14644
14683
|
/**
|
@@ -14722,7 +14761,7 @@ var dx = function() {
|
|
14722
14761
|
null
|
14723
14762
|
);
|
14724
14763
|
const px = fx.exports;
|
14725
|
-
class
|
14764
|
+
class kn extends Bi {
|
14726
14765
|
/**
|
14727
14766
|
* @type {string}
|
14728
14767
|
*/
|
@@ -14745,7 +14784,7 @@ class Tn extends Bi {
|
|
14745
14784
|
*/
|
14746
14785
|
constructor(e) {
|
14747
14786
|
super(e, px);
|
14748
|
-
const t =
|
14787
|
+
const t = kn.getDefaultOptions();
|
14749
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;
|
14750
14789
|
}
|
14751
14790
|
/**
|
@@ -14760,7 +14799,7 @@ class Tn extends Bi {
|
|
14760
14799
|
a && (n[i] = a);
|
14761
14800
|
}
|
14762
14801
|
};
|
14763
|
-
return Object.keys(
|
14802
|
+
return Object.keys(kn.getDefaultOptions()).forEach(
|
14764
14803
|
(i) => r(i)
|
14765
14804
|
), n;
|
14766
14805
|
}
|
@@ -14768,7 +14807,7 @@ class Tn extends Bi {
|
|
14768
14807
|
* @returns {AddressBalloonFeatureInfoViewOptions}
|
14769
14808
|
*/
|
14770
14809
|
toJSON() {
|
14771
|
-
const e = super.toJSON(), t =
|
14810
|
+
const e = super.toJSON(), t = kn.getDefaultOptions();
|
14772
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;
|
14773
14812
|
}
|
14774
14813
|
}
|
@@ -14821,7 +14860,7 @@ class Il extends hn {
|
|
14821
14860
|
return this.src && (e.src = this.src), this.title && (e.title = this.title), e;
|
14822
14861
|
}
|
14823
14862
|
}
|
14824
|
-
class
|
14863
|
+
class _s extends hn {
|
14825
14864
|
/**
|
14826
14865
|
* @type {string}
|
14827
14866
|
*/
|
@@ -14841,7 +14880,7 @@ class ms extends hn {
|
|
14841
14880
|
*/
|
14842
14881
|
constructor(e) {
|
14843
14882
|
super(e, tx);
|
14844
|
-
const t =
|
14883
|
+
const t = _s.getDefaultOptions();
|
14845
14884
|
this.itemsPerPageArray = e.itemsPerPageArray || t.itemsPerPageArray;
|
14846
14885
|
const n = e.itemsPerPage || t.itemsPerPage;
|
14847
14886
|
this.itemsPerPage = this.itemsPerPageArray.includes(n) ? n : this.itemsPerPageArray[0], this.showSearchbar = qe(
|
@@ -14871,7 +14910,7 @@ class ms extends hn {
|
|
14871
14910
|
* @returns {TableFeatureInfoViewOptions}
|
14872
14911
|
*/
|
14873
14912
|
toJSON() {
|
14874
|
-
const e = super.toJSON(), t =
|
14913
|
+
const e = super.toJSON(), t = _s.getDefaultOptions();
|
14875
14914
|
return (this.itemsPerPageArray.length !== t.itemsPerPageArray.length || this.itemsPerPageArray.some(
|
14876
14915
|
(n, r) => n !== t.itemsPerPageArray[r]
|
14877
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;
|
@@ -14903,7 +14942,7 @@ function El(s, e, t) {
|
|
14903
14942
|
if (e && e.highlightStyle)
|
14904
14943
|
return e.highlightStyle;
|
14905
14944
|
const n = wc.fromCssColorString(t).withAlpha(0.8);
|
14906
|
-
if (s instanceof
|
14945
|
+
if (s instanceof As) {
|
14907
14946
|
let a = s.getStyle() ?? ((r = e == null ? void 0 : e.style) == null ? void 0 : r.style);
|
14908
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()) {
|
14909
14948
|
const o = n.toBytes();
|
@@ -14972,8 +15011,8 @@ function Sl(s) {
|
|
14972
15011
|
e && e.stop(), s.toolboxManager.remove("featureInfo"), r.forEach((i) => i());
|
14973
15012
|
};
|
14974
15013
|
}
|
14975
|
-
const
|
14976
|
-
class yx extends
|
15014
|
+
const Ts = new Ji(), gx = Symbol("featureInfoView");
|
15015
|
+
class yx extends ws {
|
14977
15016
|
/**
|
14978
15017
|
* @param {import("@src/vcsUiApp.js").default} app
|
14979
15018
|
*/
|
@@ -15062,8 +15101,8 @@ class yx extends ys {
|
|
15062
15101
|
* @returns {Promise<void>}
|
15063
15102
|
*/
|
15064
15103
|
async selectFeature(e, t, n, r) {
|
15065
|
-
|
15066
|
-
|
15104
|
+
M(e, [
|
15105
|
+
As,
|
15067
15106
|
Ac,
|
15068
15107
|
T0,
|
15069
15108
|
k0
|
@@ -15077,7 +15116,7 @@ class yx extends ys {
|
|
15077
15116
|
[o]: El(
|
15078
15117
|
e,
|
15079
15118
|
a,
|
15080
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15119
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15081
15120
|
)
|
15082
15121
|
}), this._clearHighlightingCb = () => this._scratchLayer.featureVisibility.unHighlight([o]);
|
15083
15122
|
} else if (a.featureVisibility) {
|
@@ -15086,7 +15125,7 @@ class yx extends ys {
|
|
15086
15125
|
[o]: El(
|
15087
15126
|
e,
|
15088
15127
|
a,
|
15089
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15128
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15090
15129
|
)
|
15091
15130
|
}), this._clearHighlightingCb = () => a.featureVisibility.unHighlight([o]);
|
15092
15131
|
}
|
@@ -15124,21 +15163,21 @@ class yx extends ys {
|
|
15124
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);
|
15125
15164
|
}
|
15126
15165
|
}
|
15127
|
-
|
15128
|
-
|
15129
|
-
|
15166
|
+
Ts.registerClass(
|
15167
|
+
_s.className,
|
15168
|
+
_s
|
15130
15169
|
);
|
15131
|
-
|
15170
|
+
Ts.registerClass(
|
15132
15171
|
Il.className,
|
15133
15172
|
Il
|
15134
15173
|
);
|
15135
|
-
|
15174
|
+
Ts.registerClass(
|
15136
15175
|
Bi.className,
|
15137
15176
|
Bi
|
15138
15177
|
);
|
15139
|
-
|
15140
|
-
|
15141
|
-
|
15178
|
+
Ts.registerClass(
|
15179
|
+
kn.className,
|
15180
|
+
kn
|
15142
15181
|
);
|
15143
15182
|
/*!
|
15144
15183
|
* vue-i18n v8.28.2
|
@@ -15182,7 +15221,7 @@ var Ou = [
|
|
15182
15221
|
"second",
|
15183
15222
|
"timeZoneName"
|
15184
15223
|
];
|
15185
|
-
function
|
15224
|
+
function On(s, e) {
|
15186
15225
|
typeof console < "u" && (console.warn("[vue-i18n] " + s), e && console.warn(e.stack));
|
15187
15226
|
}
|
15188
15227
|
function bx(s, e) {
|
@@ -15214,7 +15253,7 @@ function Dr() {
|
|
15214
15253
|
var t = null, n = null;
|
15215
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 };
|
15216
15255
|
}
|
15217
|
-
function
|
15256
|
+
function Zn(s) {
|
15218
15257
|
return JSON.parse(JSON.stringify(s));
|
15219
15258
|
}
|
15220
15259
|
function Lx(s, e) {
|
@@ -15227,7 +15266,7 @@ function Ix(s) {
|
|
15227
15266
|
return e.push(t);
|
15228
15267
|
}), e;
|
15229
15268
|
}
|
15230
|
-
function
|
15269
|
+
function ks(s, e) {
|
15231
15270
|
return !!~s.indexOf(e);
|
15232
15271
|
}
|
15233
15272
|
var Cx = Object.prototype.hasOwnProperty;
|
@@ -15447,7 +15486,7 @@ var kl = {
|
|
15447
15486
|
var o = null, l = null;
|
15448
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) {
|
15449
15488
|
var _;
|
15450
|
-
return
|
15489
|
+
return ks(Ou, p) ? Object.assign({}, f, (_ = {}, _[p] = n.format[p], _)) : f;
|
15451
15490
|
}, null));
|
15452
15491
|
var c = n.locale || a.locale, u = a._ntp(n.value, c, o, l), d = u.map(function(f, p) {
|
15453
15492
|
var _, g = i.scopedSlots && i.scopedSlots[f.type];
|
@@ -15472,7 +15511,7 @@ function Fx(s, e, t, n) {
|
|
15472
15511
|
function Px(s, e, t, n) {
|
15473
15512
|
var r = t.context;
|
15474
15513
|
if (!r) {
|
15475
|
-
|
15514
|
+
On("Vue instance does not exists in VNode context");
|
15476
15515
|
return;
|
15477
15516
|
}
|
15478
15517
|
var i = t.context.$i18n || {};
|
@@ -15480,7 +15519,7 @@ function Px(s, e, t, n) {
|
|
15480
15519
|
}
|
15481
15520
|
function Fu(s, e) {
|
15482
15521
|
var t = e.context;
|
15483
|
-
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);
|
15484
15523
|
}
|
15485
15524
|
function zx(s, e) {
|
15486
15525
|
var t = e.context;
|
@@ -15489,11 +15528,11 @@ function zx(s, e) {
|
|
15489
15528
|
function Pu(s, e, t) {
|
15490
15529
|
var n, r, i = e.value, a = Bx(i), o = a.path, l = a.locale, c = a.args, u = a.choice;
|
15491
15530
|
if (!o && !l && !c) {
|
15492
|
-
|
15531
|
+
On("value type not supported");
|
15493
15532
|
return;
|
15494
15533
|
}
|
15495
15534
|
if (!o) {
|
15496
|
-
|
15535
|
+
On("`path` is required in v-t directive");
|
15497
15536
|
return;
|
15498
15537
|
}
|
15499
15538
|
var d = t.context;
|
@@ -15561,7 +15600,7 @@ function Ux(s, e) {
|
|
15561
15600
|
}
|
15562
15601
|
return t;
|
15563
15602
|
}
|
15564
|
-
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 = [];
|
15565
15604
|
Zt[Zi] = {
|
15566
15605
|
ws: [Zi],
|
15567
15606
|
ident: [jt, ge],
|
@@ -15584,27 +15623,27 @@ Zt[jt] = {
|
|
15584
15623
|
ident: [jt, ge],
|
15585
15624
|
0: [jt, ge],
|
15586
15625
|
number: [jt, ge],
|
15587
|
-
ws: [cr,
|
15588
|
-
".": [ur,
|
15589
|
-
"[": [Et,
|
15590
|
-
eof: [Rr,
|
15626
|
+
ws: [cr, In],
|
15627
|
+
".": [ur, In],
|
15628
|
+
"[": [Et, In],
|
15629
|
+
eof: [Rr, In]
|
15591
15630
|
};
|
15592
15631
|
Zt[Et] = {
|
15593
15632
|
"'": [dr, ge],
|
15594
15633
|
'"': [hr, ge],
|
15595
15634
|
"[": [Et, Bu],
|
15596
15635
|
"]": [cr, Gu],
|
15597
|
-
eof:
|
15636
|
+
eof: vs,
|
15598
15637
|
else: [Et, ge]
|
15599
15638
|
};
|
15600
15639
|
Zt[dr] = {
|
15601
15640
|
"'": [Et, ge],
|
15602
|
-
eof:
|
15641
|
+
eof: vs,
|
15603
15642
|
else: [dr, ge]
|
15604
15643
|
};
|
15605
15644
|
Zt[hr] = {
|
15606
15645
|
'"': [Et, ge],
|
15607
|
-
eof:
|
15646
|
+
eof: vs,
|
15608
15647
|
else: [hr, ge]
|
15609
15648
|
};
|
15610
15649
|
var Wx = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
@@ -15647,7 +15686,7 @@ function qx(s) {
|
|
15647
15686
|
}
|
15648
15687
|
function Xx(s) {
|
15649
15688
|
var e = [], t = -1, n = Zi, r = 0, i, a, o, l, c, u, d, h = [];
|
15650
|
-
h[
|
15689
|
+
h[In] = function() {
|
15651
15690
|
a !== void 0 && (e.push(a), a = void 0);
|
15652
15691
|
}, h[ge] = function() {
|
15653
15692
|
a === void 0 ? a = o : a += o;
|
@@ -15659,7 +15698,7 @@ function Xx(s) {
|
|
15659
15698
|
else {
|
15660
15699
|
if (r = 0, a === void 0 || (a = qx(a), a === !1))
|
15661
15700
|
return !1;
|
15662
|
-
h[
|
15701
|
+
h[In]();
|
15663
15702
|
}
|
15664
15703
|
};
|
15665
15704
|
function f() {
|
@@ -15669,7 +15708,7 @@ function Xx(s) {
|
|
15669
15708
|
}
|
15670
15709
|
for (; n !== null; )
|
15671
15710
|
if (t++, i = s[t], !(i === "\\" && f())) {
|
15672
|
-
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)))
|
15673
15712
|
return;
|
15674
15713
|
if (n === Rr)
|
15675
15714
|
return e;
|
@@ -15747,7 +15786,7 @@ k.prototype._checkLocaleMessage = function(e, t, n) {
|
|
15747
15786
|
var u = Kx.test(l);
|
15748
15787
|
if (u) {
|
15749
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";
|
15750
|
-
a === "warn" ?
|
15789
|
+
a === "warn" ? On(d) : a === "error" && bx(d);
|
15751
15790
|
}
|
15752
15791
|
}
|
15753
15792
|
};
|
@@ -15799,13 +15838,13 @@ se.vm.get = function() {
|
|
15799
15838
|
return this._vm;
|
15800
15839
|
};
|
15801
15840
|
se.messages.get = function() {
|
15802
|
-
return
|
15841
|
+
return Zn(this._getMessages());
|
15803
15842
|
};
|
15804
15843
|
se.dateTimeFormats.get = function() {
|
15805
|
-
return
|
15844
|
+
return Zn(this._getDateTimeFormats());
|
15806
15845
|
};
|
15807
15846
|
se.numberFormats.get = function() {
|
15808
|
-
return
|
15847
|
+
return Zn(this._getNumberFormats());
|
15809
15848
|
};
|
15810
15849
|
se.availableLocales.get = function() {
|
15811
15850
|
return Object.keys(this.messages).sort();
|
@@ -15941,7 +15980,7 @@ k.prototype._link = function(e, t, n, r, i, a, o) {
|
|
15941
15980
|
for (var u in c)
|
15942
15981
|
if (c.hasOwnProperty(u)) {
|
15943
15982
|
var d = c[u], h = d.match(tL), f = h[0], p = h[1], _ = d.replace(f, "").replace(nL, "");
|
15944
|
-
if (
|
15983
|
+
if (ks(o, _))
|
15945
15984
|
return l;
|
15946
15985
|
o.push(_);
|
15947
15986
|
var g = this._interpolate(
|
@@ -16007,7 +16046,7 @@ k.prototype._render = function(e, t, n, r) {
|
|
16007
16046
|
};
|
16008
16047
|
k.prototype._appendItemToChain = function(e, t, n) {
|
16009
16048
|
var r = !1;
|
16010
|
-
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;
|
16011
16050
|
};
|
16012
16051
|
k.prototype._appendLocaleToChain = function(e, t, n) {
|
16013
16052
|
var r, i = t.split("-");
|
@@ -16124,7 +16163,7 @@ k.prototype.te = function(e, t) {
|
|
16124
16163
|
return this._te(e, this.locale, this._getMessages(), t);
|
16125
16164
|
};
|
16126
16165
|
k.prototype.getLocaleMessage = function(e) {
|
16127
|
-
return
|
16166
|
+
return Zn(this._vm.messages[e] || {});
|
16128
16167
|
};
|
16129
16168
|
k.prototype.setLocaleMessage = function(e, t) {
|
16130
16169
|
(this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, t);
|
@@ -16136,7 +16175,7 @@ k.prototype.mergeLocaleMessage = function(e, t) {
|
|
16136
16175
|
));
|
16137
16176
|
};
|
16138
16177
|
k.prototype.getDateTimeFormat = function(e) {
|
16139
|
-
return
|
16178
|
+
return Zn(this._vm.dateTimeFormats[e] || {});
|
16140
16179
|
};
|
16141
16180
|
k.prototype.setDateTimeFormat = function(e, t) {
|
16142
16181
|
this._vm.$set(this._vm.dateTimeFormats, e, t), this._clearDateTimeFormat(e, t);
|
@@ -16186,11 +16225,11 @@ k.prototype.d = function(e) {
|
|
16186
16225
|
var r = this.locale, i = null, a = null;
|
16187
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) {
|
16188
16227
|
var c;
|
16189
|
-
return
|
16228
|
+
return ks(wx, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16190
16229
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._d(e, r, i, a);
|
16191
16230
|
};
|
16192
16231
|
k.prototype.getNumberFormat = function(e) {
|
16193
|
-
return
|
16232
|
+
return Zn(this._vm.numberFormats[e] || {});
|
16194
16233
|
};
|
16195
16234
|
k.prototype.setNumberFormat = function(e, t) {
|
16196
16235
|
this._vm.$set(this._vm.numberFormats, e, t), this._clearNumberFormat(e, t);
|
@@ -16242,7 +16281,7 @@ k.prototype.n = function(e) {
|
|
16242
16281
|
var r = this.locale, i = null, a = null;
|
16243
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) {
|
16244
16283
|
var c;
|
16245
|
-
return
|
16284
|
+
return ks(Ou, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16246
16285
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._n(e, r, i, a);
|
16247
16286
|
};
|
16248
16287
|
k.prototype._ntp = function(e, t, n, r) {
|
@@ -16277,7 +16316,7 @@ Object.defineProperty(k, "availabilities", {
|
|
16277
16316
|
k.install = $a;
|
16278
16317
|
k.version = "8.28.2";
|
16279
16318
|
const Zu = k;
|
16280
|
-
|
16319
|
+
Fn.use(Zu);
|
16281
16320
|
function sL() {
|
16282
16321
|
return new Zu({
|
16283
16322
|
locale: "en",
|
@@ -16921,7 +16960,7 @@ const iL = {
|
|
16921
16960
|
function gi(s) {
|
16922
16961
|
return !!s && typeof s == "object" && !Array.isArray(s);
|
16923
16962
|
}
|
16924
|
-
const
|
16963
|
+
const YE = Symbol("I18nPluginSymbol");
|
16925
16964
|
function Hu(...s) {
|
16926
16965
|
return s.reduce((e, t) => (Object.entries(t).filter(([n]) => !["name", "properties"].includes(n)).forEach(([n, r]) => {
|
16927
16966
|
gi(e[n]) && gi(r) ? e[n] = Hu(e[n], r) : gi(e[n]) ? De("i18n").warning(
|
@@ -16973,23 +17012,23 @@ function Uu(s, e) {
|
|
16973
17012
|
function lL(s, e) {
|
16974
17013
|
Uu(URL.createObjectURL(s), e);
|
16975
17014
|
}
|
16976
|
-
function
|
17015
|
+
function QE(s, e) {
|
16977
17016
|
Uu(
|
16978
17017
|
`data:text/plain;charset=utf-8,${encodeURIComponent(s)}`,
|
16979
17018
|
e
|
16980
17019
|
);
|
16981
17020
|
}
|
16982
|
-
function
|
17021
|
+
function JE(s, e, t) {
|
16983
17022
|
s.toBlob((n) => {
|
16984
17023
|
lL(n, e);
|
16985
17024
|
}, t);
|
16986
17025
|
}
|
16987
|
-
class cL extends
|
17026
|
+
class cL extends ws {
|
16988
17027
|
/**
|
16989
17028
|
* @param {function():string} getDynamicModuleId
|
16990
17029
|
*/
|
16991
17030
|
constructor(e) {
|
16992
|
-
super(),
|
17031
|
+
super(), as(this, e);
|
16993
17032
|
const t = {};
|
16994
17033
|
this._config = w({}), this._listeners = [
|
16995
17034
|
this.added.addEventListener((n) => {
|
@@ -17082,7 +17121,7 @@ function vL(s, e) {
|
|
17082
17121
|
), t;
|
17083
17122
|
}
|
17084
17123
|
function gL(s) {
|
17085
|
-
if (
|
17124
|
+
if (M(s, URL), s.searchParams.has("state"))
|
17086
17125
|
try {
|
17087
17126
|
return _L(JSON.parse(s.searchParams.get("state")));
|
17088
17127
|
} catch {
|
@@ -17092,15 +17131,15 @@ function gL(s) {
|
|
17092
17131
|
}
|
17093
17132
|
return Ra();
|
17094
17133
|
}
|
17095
|
-
function
|
17096
|
-
|
17134
|
+
function qE(s, e) {
|
17135
|
+
M(s, {
|
17097
17136
|
activeMap: [String, void 0],
|
17098
17137
|
activeViewpoint: [Object, void 0],
|
17099
17138
|
activeObliqueCollection: [String, void 0],
|
17100
17139
|
layers: Array,
|
17101
17140
|
plugins: Array,
|
17102
17141
|
moduleIds: [String]
|
17103
|
-
}),
|
17142
|
+
}), M(e, URL);
|
17104
17143
|
const t = uL - e.toString().length;
|
17105
17144
|
e.searchParams.set(
|
17106
17145
|
"state",
|
@@ -17130,12 +17169,12 @@ function yL(s) {
|
|
17130
17169
|
});
|
17131
17170
|
Qi(e), s.layers.add(e);
|
17132
17171
|
const t = new Dt({
|
17133
|
-
image: Rl(
|
17172
|
+
image: Rl(Rn()),
|
17134
17173
|
fill: {
|
17135
17174
|
color: "rgba(237, 237, 237, 0.1)"
|
17136
17175
|
},
|
17137
17176
|
stroke: {
|
17138
|
-
color:
|
17177
|
+
color: Rn(),
|
17139
17178
|
width: 5
|
17140
17179
|
}
|
17141
17180
|
});
|
@@ -17187,7 +17226,7 @@ class wL extends Rt {
|
|
17187
17226
|
* @param {number=} index
|
17188
17227
|
*/
|
17189
17228
|
add(e, t, n) {
|
17190
|
-
|
17229
|
+
M(t, [String, Q]), M(e.search, Function), e.name !== t && De("Search").warning(
|
17191
17230
|
"SearchImplementations must be named as the plugin they are owned by."
|
17192
17231
|
), e[jl] = t, super.add(e, n);
|
17193
17232
|
}
|
@@ -17290,8 +17329,8 @@ class ja extends P1 {
|
|
17290
17329
|
return Ei;
|
17291
17330
|
}
|
17292
17331
|
constructor() {
|
17293
|
-
super(), this.themeChanged = new Ae(), this._plugins =
|
17294
|
-
new
|
17332
|
+
super(), this.themeChanged = new Ae(), this._plugins = as(
|
17333
|
+
new ws(),
|
17295
17334
|
() => this.dynamicModuleId,
|
17296
17335
|
qf,
|
17297
17336
|
Xf
|
@@ -17316,18 +17355,18 @@ class ja extends P1 {
|
|
17316
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);
|
17317
17356
|
})
|
17318
17357
|
], this._callbackClassRegistry = new Wr(
|
17319
|
-
|
17358
|
+
Es
|
17320
17359
|
), this._contentTreeClassRegistry = new Wr(
|
17321
17360
|
it
|
17322
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(
|
17323
|
-
|
17324
|
-
), this._featureInfo =
|
17362
|
+
Ts
|
17363
|
+
), this._featureInfo = as(
|
17325
17364
|
new yx(this),
|
17326
17365
|
() => this.dynamicModuleId,
|
17327
17366
|
null,
|
17328
17367
|
(e) => Xl(this._featureInfoClassRegistry, e),
|
17329
17368
|
hn
|
17330
|
-
), this._overviewMap = new gb(this), this._i18n =
|
17369
|
+
), this._overviewMap = new gb(this), this._i18n = as(
|
17331
17370
|
new oL(this._plugins),
|
17332
17371
|
() => this.dynamicModuleId
|
17333
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();
|
@@ -17441,13 +17480,16 @@ class ja extends P1 {
|
|
17441
17480
|
* This function can be used for the WindowState infoUrlCallback property.
|
17442
17481
|
* @param {string} [path] - the path to a help section
|
17443
17482
|
* @param {string} [subpage='vc-map'] - path to a subpage. Default is 'vc-map'.
|
17483
|
+
* @param {string=} [subpageVersion=undefined] - default version is the mapVersion, can be provided to use a plugin specific version
|
17444
17484
|
* @returns {function():string}
|
17445
17485
|
*/
|
17446
|
-
getHelpUrlCallback(e = "", t = "vc-map") {
|
17447
|
-
const
|
17486
|
+
getHelpUrlCallback(e = "", t = "vc-map", n = void 0) {
|
17487
|
+
const r = /\d+\.\d+/.exec(
|
17488
|
+
n || ja.getVersion()
|
17489
|
+
)[0];
|
17448
17490
|
return () => {
|
17449
|
-
const
|
17450
|
-
return
|
17491
|
+
const i = this.uiConfig.config.value.helpBaseUrl || "https://help.vc.systems/", a = `${this.locale}/${t}/v${r}/${e.replace(/^\//, "")}`, { href: o } = new URL(a, i);
|
17492
|
+
return o;
|
17451
17493
|
};
|
17452
17494
|
}
|
17453
17495
|
/**
|
@@ -17460,20 +17502,20 @@ class ja extends P1 {
|
|
17460
17502
|
async getState(e) {
|
17461
17503
|
var i;
|
17462
17504
|
const t = Ra();
|
17463
|
-
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;
|
17464
17506
|
const n = await this.maps.activeMap.getViewpoint();
|
17465
17507
|
t.activeViewpoint = (i = n == null ? void 0 : n.isValid) != null && i.call(n) ? n.toJSON() : void 0, t.layers = [...this.layers].filter(
|
17466
|
-
(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))
|
17467
17509
|
).map((a) => {
|
17468
17510
|
const o = {
|
17469
17511
|
name: a.name,
|
17470
17512
|
active: a.active || a.loading
|
17471
17513
|
};
|
17472
|
-
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;
|
17473
17515
|
});
|
17474
17516
|
const r = await Promise.all(
|
17475
17517
|
[...this.plugins].filter(
|
17476
|
-
(a) => a[Mt] !==
|
17518
|
+
(a) => a[Mt] !== Ln && a[Mt] !== Yr && typeof a.getState == "function"
|
17477
17519
|
).map(async (a) => {
|
17478
17520
|
try {
|
17479
17521
|
return { name: a.name, state: await a.getState(e) };
|
@@ -17569,9 +17611,9 @@ const xn = {
|
|
17569
17611
|
i18n: [void 0, [Object]]
|
17570
17612
|
};
|
17571
17613
|
async function Wu(s) {
|
17572
|
-
|
17614
|
+
M(s, String);
|
17573
17615
|
const e = new ja();
|
17574
|
-
return new
|
17616
|
+
return new Fn({
|
17575
17617
|
vuetify: ar,
|
17576
17618
|
i18n: e.vueI18n,
|
17577
17619
|
render: (t) => t(dM, {
|
@@ -17581,8 +17623,8 @@ async function Wu(s) {
|
|
17581
17623
|
})
|
17582
17624
|
}).$mount(s), e;
|
17583
17625
|
}
|
17584
|
-
async function
|
17585
|
-
|
17626
|
+
async function XE(s, e) {
|
17627
|
+
M(s, String), pe(e, String);
|
17586
17628
|
const t = await Wu(s);
|
17587
17629
|
if (e) {
|
17588
17630
|
const n = await fetch(e).then((i) => i.json()), r = new bi(n);
|
@@ -17590,10 +17632,10 @@ async function qE(s, e) {
|
|
17590
17632
|
}
|
17591
17633
|
return t;
|
17592
17634
|
}
|
17593
|
-
async function
|
17594
|
-
|
17635
|
+
async function KE(s, e) {
|
17636
|
+
M(s, String), M(e, String);
|
17595
17637
|
const t = await Wu(s), n = await fetch(e).then((i) => i.json());
|
17596
|
-
|
17638
|
+
M(n.modules, [String, Object]);
|
17597
17639
|
const r = await Promise.all(
|
17598
17640
|
n.modules.map(async (i) => {
|
17599
17641
|
if (xi(i, bL))
|
@@ -17660,7 +17702,7 @@ const IL = {
|
|
17660
17702
|
}
|
17661
17703
|
},
|
17662
17704
|
setup(s, { attrs: e }) {
|
17663
|
-
const t = w(), n =
|
17705
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
17664
17706
|
return {
|
17665
17707
|
checkbox: t,
|
17666
17708
|
errorMessage: n,
|
@@ -17714,7 +17756,7 @@ const TL = {
|
|
17714
17756
|
}
|
17715
17757
|
},
|
17716
17758
|
setup(s, { attrs: e }) {
|
17717
|
-
const t = w(), n =
|
17759
|
+
const t = w(), n = Gn(t);
|
17718
17760
|
return {
|
17719
17761
|
isDense: y(() => e.dense !== !1),
|
17720
17762
|
radioGroup: t,
|
@@ -17748,7 +17790,7 @@ const DL = $L.exports;
|
|
17748
17790
|
const RL = {
|
17749
17791
|
name: "VcsFormSection",
|
17750
17792
|
components: {
|
17751
|
-
VBtn:
|
17793
|
+
VBtn: Pn,
|
17752
17794
|
VIcon: le,
|
17753
17795
|
VcsActionButtonList: st,
|
17754
17796
|
VcsHelp: Yu
|
@@ -17819,7 +17861,7 @@ var jL = function() {
|
|
17819
17861
|
null,
|
17820
17862
|
null
|
17821
17863
|
);
|
17822
|
-
const
|
17864
|
+
const Hn = VL.exports;
|
17823
17865
|
const FL = {
|
17824
17866
|
name: "VcsSlider",
|
17825
17867
|
components: {
|
@@ -17843,7 +17885,7 @@ const Oa = BL.exports;
|
|
17843
17885
|
const GL = {
|
17844
17886
|
name: "VcsChipArrayInput",
|
17845
17887
|
components: {
|
17846
|
-
VBtn:
|
17888
|
+
VBtn: Pn,
|
17847
17889
|
VcsTextField: je,
|
17848
17890
|
VChip: ic,
|
17849
17891
|
VIcon: le
|
@@ -17903,7 +17945,7 @@ const GL = {
|
|
17903
17945
|
l.value = void 0, r.value = !1;
|
17904
17946
|
}
|
17905
17947
|
async function z(A, V) {
|
17906
|
-
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);
|
17907
17949
|
}
|
17908
17950
|
return {
|
17909
17951
|
selected: n,
|
@@ -17973,7 +18015,7 @@ var ZL = function() {
|
|
17973
18015
|
null
|
17974
18016
|
);
|
17975
18017
|
const WL = UL.exports;
|
17976
|
-
function
|
18018
|
+
function Vn(s) {
|
17977
18019
|
return y(() => {
|
17978
18020
|
const e = s();
|
17979
18021
|
return e ? {
|
@@ -18047,7 +18089,7 @@ const QL = {
|
|
18047
18089
|
},
|
18048
18090
|
extent: {
|
18049
18091
|
type: Array,
|
18050
|
-
default: () =>
|
18092
|
+
default: () => bs.WGS_84_EXTENT
|
18051
18093
|
},
|
18052
18094
|
axisRules: {
|
18053
18095
|
type: Array,
|
@@ -18115,7 +18157,7 @@ const KL = {
|
|
18115
18157
|
}
|
18116
18158
|
},
|
18117
18159
|
setup(s, { attrs: e }) {
|
18118
|
-
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 === ""));
|
18119
18161
|
return {
|
18120
18162
|
hover: t,
|
18121
18163
|
focus: n,
|
@@ -18156,7 +18198,7 @@ var eI = function() {
|
|
18156
18198
|
null,
|
18157
18199
|
null
|
18158
18200
|
);
|
18159
|
-
const
|
18201
|
+
const eS = nI.exports;
|
18160
18202
|
const sI = {
|
18161
18203
|
name: "VcsWizard",
|
18162
18204
|
components: {
|
@@ -18182,7 +18224,7 @@ var rI = function() {
|
|
18182
18224
|
null,
|
18183
18225
|
null
|
18184
18226
|
);
|
18185
|
-
const
|
18227
|
+
const tS = aI.exports;
|
18186
18228
|
const oI = {
|
18187
18229
|
name: "VcsWizardStep",
|
18188
18230
|
components: {
|
@@ -18272,7 +18314,7 @@ var lI = function() {
|
|
18272
18314
|
null,
|
18273
18315
|
null
|
18274
18316
|
);
|
18275
|
-
const
|
18317
|
+
const nS = uI.exports;
|
18276
18318
|
const dI = {
|
18277
18319
|
name: "VcsDatePicker",
|
18278
18320
|
props: {
|
@@ -18289,7 +18331,7 @@ const dI = {
|
|
18289
18331
|
VMenu: Bt,
|
18290
18332
|
VTextField: Ki,
|
18291
18333
|
VDatePicker: m0,
|
18292
|
-
VBtn:
|
18334
|
+
VBtn: Pn
|
18293
18335
|
},
|
18294
18336
|
setup(s, { emit: e, attrs: t }) {
|
18295
18337
|
const n = (
|
@@ -18359,7 +18401,7 @@ var hI = function() {
|
|
18359
18401
|
null,
|
18360
18402
|
null
|
18361
18403
|
);
|
18362
|
-
const
|
18404
|
+
const sS = pI.exports, mI = {
|
18363
18405
|
name: "VcsFillSelector",
|
18364
18406
|
components: {
|
18365
18407
|
VSheet: ue,
|
@@ -18373,7 +18415,7 @@ const nS = pI.exports, mI = {
|
|
18373
18415
|
},
|
18374
18416
|
setup(s, { emit: e }) {
|
18375
18417
|
return {
|
18376
|
-
rgbaObject:
|
18418
|
+
rgbaObject: Vn(() => {
|
18377
18419
|
var t;
|
18378
18420
|
return (t = s.value) == null ? void 0 : t.color;
|
18379
18421
|
}),
|
@@ -18406,7 +18448,7 @@ const wI = {
|
|
18406
18448
|
VSheet: ue,
|
18407
18449
|
VMenu: Bt,
|
18408
18450
|
VCard: cn,
|
18409
|
-
VcsFormSection:
|
18451
|
+
VcsFormSection: Hn,
|
18410
18452
|
VcsTooltip: Se,
|
18411
18453
|
VcsCheckbox: jr
|
18412
18454
|
},
|
@@ -18511,7 +18553,7 @@ const xI = {
|
|
18511
18553
|
}
|
18512
18554
|
},
|
18513
18555
|
setup(s) {
|
18514
|
-
const e =
|
18556
|
+
const e = Vn(() => {
|
18515
18557
|
var t;
|
18516
18558
|
return (t = s.value) == null ? void 0 : t.color;
|
18517
18559
|
});
|
@@ -18556,7 +18598,7 @@ const Fa = CI.exports, EI = {
|
|
18556
18598
|
},
|
18557
18599
|
setup(s, { emit: e }) {
|
18558
18600
|
return {
|
18559
|
-
rgbaObject:
|
18601
|
+
rgbaObject: Vn(() => {
|
18560
18602
|
var t;
|
18561
18603
|
return (t = s.value) == null ? void 0 : t.color;
|
18562
18604
|
}),
|
@@ -18624,7 +18666,7 @@ const $I = {
|
|
18624
18666
|
}
|
18625
18667
|
},
|
18626
18668
|
setup(s) {
|
18627
|
-
const e =
|
18669
|
+
const e = Vn(() => {
|
18628
18670
|
var t;
|
18629
18671
|
return (t = s.value) == null ? void 0 : t.color;
|
18630
18672
|
});
|
@@ -19625,10 +19667,10 @@ const tC = {
|
|
19625
19667
|
}
|
19626
19668
|
},
|
19627
19669
|
setup(s) {
|
19628
|
-
const e =
|
19670
|
+
const e = Vn(() => {
|
19629
19671
|
var n, r;
|
19630
19672
|
return (r = (n = s.value) == null ? void 0 : n.fill) == null ? void 0 : r.color;
|
19631
|
-
}), t =
|
19673
|
+
}), t = Vn(
|
19632
19674
|
() => {
|
19633
19675
|
var n, r;
|
19634
19676
|
return (r = (n = s.value) == null ? void 0 : n.stroke) == null ? void 0 : r.color;
|
@@ -19707,7 +19749,7 @@ const lC = {
|
|
19707
19749
|
},
|
19708
19750
|
set(i) {
|
19709
19751
|
const a = structuredClone(s.value);
|
19710
|
-
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);
|
19711
19753
|
}
|
19712
19754
|
});
|
19713
19755
|
return {
|
@@ -19744,7 +19786,7 @@ var cC = function() {
|
|
19744
19786
|
null,
|
19745
19787
|
null
|
19746
19788
|
);
|
19747
|
-
const
|
19789
|
+
const rS = dC.exports, Ie = {
|
19748
19790
|
FILL: "fill",
|
19749
19791
|
STROKE: "stroke",
|
19750
19792
|
IMAGE: "image",
|
@@ -19911,7 +19953,7 @@ const Ju = [
|
|
19911
19953
|
], Gl = [0, 1, 1, 1], Zl = [0, 0, 0], Hl = ["X", "Y", "Z"], yC = {
|
19912
19954
|
name: "VcsVectorPropertiesComponent",
|
19913
19955
|
components: {
|
19914
|
-
VcsFormSection:
|
19956
|
+
VcsFormSection: Hn,
|
19915
19957
|
VcsLabel: rt,
|
19916
19958
|
VcsSelect: $r,
|
19917
19959
|
VcsTextField: je,
|
@@ -20044,14 +20086,14 @@ const Ju = [
|
|
20044
20086
|
...N,
|
20045
20087
|
[B]: y({
|
20046
20088
|
get() {
|
20047
|
-
var re, I,
|
20048
|
-
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]] : [];
|
20049
20091
|
},
|
20050
20092
|
set(re) {
|
20051
|
-
const I = structuredClone(s.value),
|
20093
|
+
const I = structuredClone(s.value), x = {
|
20052
20094
|
[B]: re
|
20053
20095
|
};
|
20054
|
-
e("input", Object.assign(I,
|
20096
|
+
e("input", Object.assign(I, x)), e("propertyChange", x);
|
20055
20097
|
}
|
20056
20098
|
})
|
20057
20099
|
}), {})), z = de(
|
@@ -20283,7 +20325,7 @@ const CC = {
|
|
20283
20325
|
VContainer: me,
|
20284
20326
|
VRow: Re,
|
20285
20327
|
VCol: Ye,
|
20286
|
-
VcsFormSection:
|
20328
|
+
VcsFormSection: Hn,
|
20287
20329
|
VcsLabel: rt,
|
20288
20330
|
VcsTextField: je,
|
20289
20331
|
VcsCoordinate: Qu,
|
@@ -20668,7 +20710,7 @@ const Ot = {
|
|
20668
20710
|
Backward: "backward"
|
20669
20711
|
};
|
20670
20712
|
function Ul(s, e, t) {
|
20671
|
-
|
20713
|
+
M(t, Object.values(Ot));
|
20672
20714
|
let n;
|
20673
20715
|
const r = ce({
|
20674
20716
|
name: `step-${t}`,
|
@@ -20687,7 +20729,7 @@ function Ul(s, e, t) {
|
|
20687
20729
|
return { action: r, destroy: i };
|
20688
20730
|
}
|
20689
20731
|
function Wl(s, e, t) {
|
20690
|
-
|
20732
|
+
M(t, Object.values(Ot));
|
20691
20733
|
let n;
|
20692
20734
|
const r = t === Ot.Forward ? 1 : -1, i = t === Ot.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: a } = e;
|
20693
20735
|
function o() {
|
@@ -20854,7 +20896,7 @@ const QC = {
|
|
20854
20896
|
VcsTextField: je,
|
20855
20897
|
VContainer: me,
|
20856
20898
|
VSheet: ue,
|
20857
|
-
VcsFormSection:
|
20899
|
+
VcsFormSection: Hn,
|
20858
20900
|
VcsList: Sa
|
20859
20901
|
},
|
20860
20902
|
props: {
|
@@ -21047,7 +21089,7 @@ const iE = {
|
|
21047
21089
|
VRow: Re,
|
21048
21090
|
VCol: Ye,
|
21049
21091
|
VDivider: _t,
|
21050
|
-
VcsFormSection:
|
21092
|
+
VcsFormSection: Hn,
|
21051
21093
|
VcsLabel: rt,
|
21052
21094
|
VcsTextField: je,
|
21053
21095
|
VcsSelect: $r,
|
@@ -21165,7 +21207,7 @@ var aE = function() {
|
|
21165
21207
|
{ value: "linear", text: "components.flight.linear" }
|
21166
21208
|
] }, model: { value: e.interpolation, callback: function(n) {
|
21167
21209
|
e.interpolation = n;
|
21168
|
-
}, 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) {
|
21169
21211
|
e.duration = e._n(n);
|
21170
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) {
|
21171
21213
|
e.loop = n;
|
@@ -21206,7 +21248,7 @@ const uE = {
|
|
21206
21248
|
const t = s.getFlightInstance();
|
21207
21249
|
let n = !1;
|
21208
21250
|
const r = t.toJSON();
|
21209
|
-
return
|
21251
|
+
return ys("flightInstance", t), fe(() => {
|
21210
21252
|
!n && !t1(r, t.toJSON()) && s.setFlightInstance(t);
|
21211
21253
|
}), {
|
21212
21254
|
async apply() {
|
@@ -21234,7 +21276,7 @@ var dE = function() {
|
|
21234
21276
|
null,
|
21235
21277
|
null
|
21236
21278
|
);
|
21237
|
-
const
|
21279
|
+
const iS = fE.exports;
|
21238
21280
|
function Ys(s, e) {
|
21239
21281
|
const t = e.style.style.clone();
|
21240
21282
|
let n;
|
@@ -21468,14 +21510,14 @@ const AE = {
|
|
21468
21510
|
},
|
21469
21511
|
async rotate() {
|
21470
21512
|
e.currentEditSession.value.rotate(
|
21471
|
-
|
21513
|
+
Cn.toRadians(i.value ?? 0)
|
21472
21514
|
), i.value = null;
|
21473
21515
|
},
|
21474
21516
|
async cw() {
|
21475
|
-
e.currentEditSession.value.rotate(-
|
21517
|
+
e.currentEditSession.value.rotate(-Cn.PI_OVER_TWO);
|
21476
21518
|
},
|
21477
21519
|
async ccw() {
|
21478
|
-
e.currentEditSession.value.rotate(
|
21520
|
+
e.currentEditSession.value.rotate(Cn.PI_OVER_TWO);
|
21479
21521
|
},
|
21480
21522
|
async scale() {
|
21481
21523
|
e.currentEditSession.value.scale(
|
@@ -21555,7 +21597,7 @@ const TE = {
|
|
21555
21597
|
components: {
|
21556
21598
|
VcsFeatureTransforms: IE,
|
21557
21599
|
VSheet: ue,
|
21558
|
-
VcsFormSection:
|
21600
|
+
VcsFormSection: Hn,
|
21559
21601
|
VcsVectorPropertiesComponent: MC,
|
21560
21602
|
VcsFeatureStyleComponent: bE
|
21561
21603
|
},
|
@@ -21594,7 +21636,7 @@ const TE = {
|
|
21594
21636
|
currentEditSession: i,
|
21595
21637
|
currentLayer: a
|
21596
21638
|
} = t, o = w([]), l = w([]);
|
21597
|
-
|
21639
|
+
ys("features", n);
|
21598
21640
|
const c = w();
|
21599
21641
|
ie(
|
21600
21642
|
n,
|
@@ -21731,13 +21773,13 @@ var kE = function() {
|
|
21731
21773
|
null,
|
21732
21774
|
null
|
21733
21775
|
);
|
21734
|
-
const
|
21776
|
+
const aS = $E.exports;
|
21735
21777
|
export {
|
21736
21778
|
n1 as AbstractConfigEditor,
|
21737
21779
|
hn as AbstractFeatureInfoView,
|
21738
21780
|
nl as ActivateLayersCallback,
|
21739
21781
|
px as AddressBalloonComponent,
|
21740
|
-
|
21782
|
+
kn as AddressBalloonFeatureInfoView,
|
21741
21783
|
il as ApplyLayerStyleCallback,
|
21742
21784
|
ju as BalloonComponent,
|
21743
21785
|
Bi as BalloonFeatureInfoView,
|
@@ -21781,7 +21823,7 @@ export {
|
|
21781
21823
|
Z as StateActionState,
|
21782
21824
|
j0 as StyleSelector,
|
21783
21825
|
Oi as SubContentTreeItem,
|
21784
|
-
|
21826
|
+
_s as TableFeatureInfoView,
|
21785
21827
|
Bb as TiltSlider,
|
21786
21828
|
Km as ToolboxManager,
|
21787
21829
|
Vt as ToolboxType,
|
@@ -21797,21 +21839,21 @@ export {
|
|
21797
21839
|
Eb as VcsCompass,
|
21798
21840
|
Qu as VcsCoordinate,
|
21799
21841
|
JM as VcsDataTable,
|
21800
|
-
|
21842
|
+
sS as VcsDatePicker,
|
21801
21843
|
Sm as VcsDefaultLogo,
|
21802
21844
|
DA as VcsDefaultMobileLogo,
|
21803
|
-
|
21804
|
-
|
21845
|
+
rS as VcsExtent,
|
21846
|
+
aS as VcsFeatureEditingWindow,
|
21805
21847
|
bE as VcsFeatureStyleComponent,
|
21806
21848
|
IE as VcsFeatureTransforms,
|
21807
21849
|
Fa as VcsFillMenu,
|
21808
21850
|
yI as VcsFillSelector,
|
21809
21851
|
KC as VcsFlightAnchorsComponent,
|
21810
21852
|
cE as VcsFlightComponent,
|
21811
|
-
|
21853
|
+
iS as VcsFlightEditor,
|
21812
21854
|
rE as VcsFlightPlayer,
|
21813
21855
|
Cr as VcsFormButton,
|
21814
|
-
|
21856
|
+
Hn as VcsFormSection,
|
21815
21857
|
PA as VcsFormattedNumber,
|
21816
21858
|
Yu as VcsHelp,
|
21817
21859
|
YI as VcsImageMenu,
|
@@ -21820,7 +21862,7 @@ export {
|
|
21820
21862
|
Sa as VcsList,
|
21821
21863
|
au as VcsMap,
|
21822
21864
|
Dm as VcsNavbar,
|
21823
|
-
|
21865
|
+
jn as VcsObjectContentTreeItem,
|
21824
21866
|
f9 as VcsRadio,
|
21825
21867
|
DL as VcsRadioGrid,
|
21826
21868
|
$r as VcsSelect,
|
@@ -21828,12 +21870,12 @@ export {
|
|
21828
21870
|
Pa as VcsStrokeMenu,
|
21829
21871
|
NI as VcsStrokeSelector,
|
21830
21872
|
tx as VcsTable,
|
21831
|
-
|
21873
|
+
eS as VcsTextArea,
|
21832
21874
|
je as VcsTextField,
|
21833
21875
|
aC as VcsTextMenu,
|
21834
21876
|
gA as VcsTextPage,
|
21835
21877
|
eC as VcsTextSelector,
|
21836
|
-
|
21878
|
+
Ls as VcsToolButton,
|
21837
21879
|
Se as VcsTooltip,
|
21838
21880
|
IM as VcsTreeview,
|
21839
21881
|
bM as VcsTreeviewLeaf,
|
@@ -21845,8 +21887,8 @@ export {
|
|
21845
21887
|
kC as VcsViewpointComponent,
|
21846
21888
|
s1 as VcsViewpointEditor,
|
21847
21889
|
Qm as VcsWindowManager,
|
21848
|
-
|
21849
|
-
|
21890
|
+
tS as VcsWizard,
|
21891
|
+
nS as VcsWizardStep,
|
21850
21892
|
Ob as VcsZoomButton,
|
21851
21893
|
Ie as VectorStyleMenus,
|
21852
21894
|
wl as ViewpointContentTreeItem,
|
@@ -21875,25 +21917,26 @@ export {
|
|
21875
21917
|
i2 as createModalAction,
|
21876
21918
|
r2 as createOverviewMapAction,
|
21877
21919
|
am as createStateRefAction,
|
21920
|
+
HE as createSupportedMapMappingFunction,
|
21878
21921
|
$t as createToggleAction,
|
21879
21922
|
sL as createVueI18n,
|
21880
21923
|
vb as createVuetify,
|
21881
21924
|
om as createZoomToExtentAction,
|
21882
21925
|
zE as createZoomToFeatureAction,
|
21883
|
-
|
21926
|
+
rs as defaultToolboxName,
|
21884
21927
|
Xf as deserializePlugin,
|
21885
21928
|
lL as downloadBlob,
|
21886
|
-
|
21887
|
-
|
21929
|
+
JE as downloadCanvas,
|
21930
|
+
QE as downloadText,
|
21888
21931
|
Uu as downloadURI,
|
21889
21932
|
St as executeCallbacks,
|
21890
21933
|
zi as extractNestedKey,
|
21891
21934
|
gx as featureInfoViewSymbol,
|
21892
21935
|
Cm as getActionsByLocation,
|
21893
21936
|
SE as getAllowedEditorTransformationModes,
|
21894
|
-
|
21937
|
+
WE as getBalloonPosition,
|
21895
21938
|
Cu as getColorByKey,
|
21896
|
-
|
21939
|
+
Rn as getDefaultPrimaryColor,
|
21897
21940
|
np as getFittedWindowPositionOptions,
|
21898
21941
|
Rc as getFittedWindowPositionOptionsFromMapEvent,
|
21899
21942
|
El as getHighlightStyle,
|
@@ -21902,30 +21945,30 @@ export {
|
|
21902
21945
|
Ba as getProvidedFlightInstance,
|
21903
21946
|
Vi as getStateFromLayer,
|
21904
21947
|
gL as getStateFromURL,
|
21905
|
-
|
21948
|
+
Bn as getTargetSize,
|
21906
21949
|
Eu as getWindowComponentOptions,
|
21907
21950
|
Dc as getWindowPositionOptions,
|
21908
21951
|
tp as getWindowPositionOptionsFromMapEvent,
|
21909
|
-
|
21952
|
+
YE as i18nPluginSymbol,
|
21910
21953
|
Wu as initApp,
|
21911
|
-
|
21912
|
-
|
21954
|
+
KE as initAppFromAppConfig,
|
21955
|
+
XE as initAppFromModule,
|
21913
21956
|
bl as isEditorCollectionComponentClass,
|
21914
21957
|
Yf as isValidPackageName,
|
21915
21958
|
Qf as loadPlugin,
|
21916
|
-
|
21959
|
+
UE as makeEditorCollectionComponentClass,
|
21917
21960
|
rp as moveWindow,
|
21918
21961
|
ha as optionsFromWindowPosition,
|
21919
21962
|
im as parseAndSanitizeMarkdown,
|
21920
21963
|
on as pluginBaseUrlSymbol,
|
21921
21964
|
tn as pluginFactorySymbol,
|
21922
|
-
|
21965
|
+
Sn as pluginModuleUrlSymbol,
|
21923
21966
|
da as posToNumber,
|
21924
21967
|
sp as posToPercent,
|
21925
21968
|
Qe as posToPixel,
|
21926
21969
|
qf as serializePlugin,
|
21927
21970
|
_i as setBalloonPosition,
|
21928
|
-
|
21971
|
+
qE as setStateToUrl,
|
21929
21972
|
ka as setViewpointAction,
|
21930
21973
|
xl as setupBalloonPositionListener,
|
21931
21974
|
XA as setupCategoryManagerWindow,
|
@@ -21940,5 +21983,5 @@ export {
|
|
21940
21983
|
Q as vcsAppSymbol,
|
21941
21984
|
gC as vectorProperties,
|
21942
21985
|
ar as vuetify,
|
21943
|
-
|
21986
|
+
Tn as windowPositionFromOptions
|
21944
21987
|
};
|