@vcmap/ui 6.3.16 → 6.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-9d418440.js → core-d08c23fa.js} +2 -2
- package/dist/assets/core-workers/panoramaImageWorker.js +1 -1
- package/dist/assets/core.js +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-00901036.css +1 -0
- package/dist/assets/{ui-b5da2833.js → ui-00901036.js} +937 -925
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-f67ad16b.js → vuetify-38aa815c.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/package.json +1 -1
- package/src/navigation/MapNavigation.vue +23 -7
- package/src/navigation/TiltSlider.vue +6 -0
- package/src/navigation/VcsCompass.vue +6 -1
- package/src/navigation/VcsCompass.vue.d.ts +1 -0
- package/dist/assets/ui-b5da2833.css +0 -1
- /package/dist/assets/{cesium-ec662894.js → cesium-30b3ae56.js} +0 -0
- /package/dist/assets/core-workers/{panoramaImageWorker.js-5eef3ec5.js → panoramaImageWorker.js-71d47488.js} +0 -0
- /package/dist/assets/{ol-f792d79c.js → ol-35510e1c.js} +0 -0
- /package/dist/assets/{vue-88e25c27.js → vue-6a383e7b.js} +0 -0
- /package/dist/assets/{vuetify-f67ad16b.css → vuetify-38aa815c.css} +0 -0
|
@@ -10,17 +10,17 @@ function loadCss(href) {
|
|
|
10
10
|
elem.onerror = reject;
|
|
11
11
|
document.head.appendChild(elem);
|
|
12
12
|
});
|
|
13
|
-
} await loadCss('./assets/ui-
|
|
13
|
+
} await loadCss('./assets/ui-00901036.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min-680621ca.css');var xv = Object.defineProperty;
|
|
14
14
|
var Lv = (e, t, o) => t in e ? xv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
15
15
|
var Ge = (e, t, o) => Lv(e, typeof t != "symbol" ? t + "" : t, o);
|
|
16
|
-
import { FeatureLayer as va, VcsEvent as lt, Viewpoint as dn, PanoramaMap as _o, Extent as oi, mercatorProjection as Ot, MapCollection as Qu, Collection as fr, LayerState as ra, AbstractInteraction as ks, EventType as uo, ModificationKeyType as Xu, vectorClusterGroupName as Ya, isProvidedClusterFeature as Ku, VcsObject as Vv, renderTemplate as qa, VectorProperties as ed, getHeightInfo as Mv, isRelativeHeightReference as Nv, getGeometryHeight as Pv, isAbsoluteHeightReference as Rv, cartesianToMercator as Ja, CesiumMap as yn, OpenlayersMap as Ts, ObliqueMap as Bt, transformToImage as Mm, Projection as Xn, getMetersPerDegreeAtCoordinate as Ov, ClassRegistry as td, fromCesiumColor as Nm, VectorStyleItem as Yn, getDefaultVectorStyleItemOptions as Pm, VectorLayer as Mo, maxZIndex as hr, markVolatile as _a, vcsLayerName as xn, originalFeatureSymbol as nd, isProvidedFeature as Rm, hidden as Pl, alreadyTransformedToImage as Dv, panoramaFeature as Z1, mercatorToCartesian as Om, moduleIdSymbol as Tt, volatileModuleId as na, FeatureProviderInteraction as Fv, getFeatureFromPickObject as Bv, startCreateFeatureSession as $v, GeometryType as Vn, wgs84Projection as Ti, startEditFeaturesSession as Gv, startEditGeometrySession as Uv, isSameOrigin as Hv, createFlightVisualization as od, parseFlightOptionsFromGeoJson as Wv, FlightInstance as os, exportFlightPathAsGeoJson as jv, exportFlightAsGeoJson as Zv, createFlightPlayer as zv, createFlightMovie as Yv, parseGeoJSON as qv, rotationMapControlSymbol as ou, startRotation as Dm, PanoramaImageSelection as Jv, EventHandler as Qv, deserializeLayer as Xv, DataState as Kv, emptyStyle as z1, maxZIndexMin50 as Pr, ObliqueViewDirection as To, BaseCesiumMap as e_, DisplayQualityLevel as Rl, getStringColor as iu, parseColor as au, PatternType as Qi, getShapeFromOptions as t_, getDefaultProjection as Qa, getVcsAppById as n_, getInitForUrl as o_, WMSLayer as ru, IndexedCollection as Ii, makeOverrideCollection as Wa, getObjectFromClassRegistry as Fm, isOverrideCollection as i_, defaultDynamicModuleId as Si, PointerKeyType as Y1, BaseOLMap as a_, VcsApp as r_, OverrideClassRegistry as Ol, destroyCollection as Rr, VcsModule as su, DefaultObliqueCollection as s_, getImageStyleFromOptions as Bm, anchorFromViewpoint as $m, anchorToViewpoint as Gm, getSplineAndTimesForInstance as l_, getTextFromOptions as c_, highlighted as Um, originalStyle as id, getStyleOptions as u_, vectorStyleSymbol as d_, getImageStyleOptions as f_, getTextOptions as h_, TransformationMode as ho, placeGeometryOnSurface as m_, SessionType as Xo, snapTypes as p_, is2DLayout as g_ } from "./core-
|
|
17
|
-
import { renderTemplate as KH } from "./core-
|
|
18
|
-
import { resolveComponent as b, openBlock as g, createBlock as A, withCtx as v, createVNode as p, createElementBlock as T, Fragment as ce, renderList as Ae, withModifiers as Re, normalizeClass as ve, createTextVNode as H, toDisplayString as G, createCommentVNode as P, inject as ge, ref as $, onUnmounted as ze, computed as w, reactive as he, watch as re, nextTick as On, toRaw as Nt, mergeProps as
|
|
19
|
-
import { VListItemTitle as Fn, VListItem as Wt, VList as eo, VSheet as At, VTextField as k_, VTooltip as gt, VSvgIcon as T_, VIcon as tt, VBtn as ya, VSpacer as Ns, VMenu as Go, VCol as ht, VRow as wt, VDivider as Rn, VProgressLinear as x_, VCardText as qm, VCardTitle as Jm, VCard as Di, VDialog as Qm, VExpansionPanel as L_, VExpansionPanelTitle as V_, VExpansionPanelText as M_, VExpansionPanels as ud, VCheckbox as N_, VDataTableServer as P_, VDataTable as R_, VListItemSubtitle as dd, VFileInput as O_, VSlider as Xm, VContainer as vt, VToolbarItems as ba, VToolbar as wa, VSnackbar as D_, VSelect as F_, VRadio as B_, VRadioGroup as $_, VPagination as G_, VImg as U_, VCardActions as H_, VFooter as W_, VApp as j_, VExpandTransition as Z_, VChip as z_, VTextarea as Y_, VDatePicker as q_, VColorPicker as Km, VTab as J_, VTabs as Q_, VForm as X_ } from "./vuetify-
|
|
20
|
-
import { Feature as Fo, ol$Feature as lu, ol$geom$Point as gr, ol$extent$getCenter as K_, ol$Observable$unByKey as ha, ol$proj$getTransform as e3, ol$proj$get as t3, ol$geom$LineString as n3, ol$style$Icon as Ps, ol$proj$transformExtent as ep, ol$geom$Polygon$fromExtent as o3, ol$geom$Polygon as i3, ol$extent$createOrUpdateFromCoordinates as a3, ol$style$Circle as r3, ol$style$Stroke as tp, ol$style$Fill as np, ol$geom$Circle as s3, ol$source$Vector as Dl, ol$format$WMSCapabilities as l3, ol$render$toContext as c3, ol$style$Style as u3 } from "./ol-
|
|
21
|
-
import { useTheme as op, createVuetify as d3, useDisplay as Rt } from "./vuetify-
|
|
22
|
-
import "./vuetify-
|
|
23
|
-
import { HeightReference as is, Entity as ip, Cartesian2 as ap, Cartographic as xi, SceneTransforms as f3, Color as vr, Cesium3DTilePointFeature as h3, Cesium3DTileFeature as m3, Cartesian3 as sa, Ray as p3, Math as xo } from "./cesium-
|
|
16
|
+
import { FeatureLayer as va, VcsEvent as lt, Viewpoint as dn, PanoramaMap as _o, Extent as oi, mercatorProjection as Ot, MapCollection as Qu, Collection as fr, LayerState as ra, AbstractInteraction as ks, EventType as uo, ModificationKeyType as Xu, vectorClusterGroupName as Ya, isProvidedClusterFeature as Ku, VcsObject as Vv, renderTemplate as qa, VectorProperties as ed, getHeightInfo as Mv, isRelativeHeightReference as Nv, getGeometryHeight as Pv, isAbsoluteHeightReference as Rv, cartesianToMercator as Ja, CesiumMap as yn, OpenlayersMap as Ts, ObliqueMap as Bt, transformToImage as Mm, Projection as Xn, getMetersPerDegreeAtCoordinate as Ov, ClassRegistry as td, fromCesiumColor as Nm, VectorStyleItem as Yn, getDefaultVectorStyleItemOptions as Pm, VectorLayer as Mo, maxZIndex as hr, markVolatile as _a, vcsLayerName as xn, originalFeatureSymbol as nd, isProvidedFeature as Rm, hidden as Pl, alreadyTransformedToImage as Dv, panoramaFeature as Z1, mercatorToCartesian as Om, moduleIdSymbol as Tt, volatileModuleId as na, FeatureProviderInteraction as Fv, getFeatureFromPickObject as Bv, startCreateFeatureSession as $v, GeometryType as Vn, wgs84Projection as Ti, startEditFeaturesSession as Gv, startEditGeometrySession as Uv, isSameOrigin as Hv, createFlightVisualization as od, parseFlightOptionsFromGeoJson as Wv, FlightInstance as os, exportFlightPathAsGeoJson as jv, exportFlightAsGeoJson as Zv, createFlightPlayer as zv, createFlightMovie as Yv, parseGeoJSON as qv, rotationMapControlSymbol as ou, startRotation as Dm, PanoramaImageSelection as Jv, EventHandler as Qv, deserializeLayer as Xv, DataState as Kv, emptyStyle as z1, maxZIndexMin50 as Pr, ObliqueViewDirection as To, BaseCesiumMap as e_, DisplayQualityLevel as Rl, getStringColor as iu, parseColor as au, PatternType as Qi, getShapeFromOptions as t_, getDefaultProjection as Qa, getVcsAppById as n_, getInitForUrl as o_, WMSLayer as ru, IndexedCollection as Ii, makeOverrideCollection as Wa, getObjectFromClassRegistry as Fm, isOverrideCollection as i_, defaultDynamicModuleId as Si, PointerKeyType as Y1, BaseOLMap as a_, VcsApp as r_, OverrideClassRegistry as Ol, destroyCollection as Rr, VcsModule as su, DefaultObliqueCollection as s_, getImageStyleFromOptions as Bm, anchorFromViewpoint as $m, anchorToViewpoint as Gm, getSplineAndTimesForInstance as l_, getTextFromOptions as c_, highlighted as Um, originalStyle as id, getStyleOptions as u_, vectorStyleSymbol as d_, getImageStyleOptions as f_, getTextOptions as h_, TransformationMode as ho, placeGeometryOnSurface as m_, SessionType as Xo, snapTypes as p_, is2DLayout as g_ } from "./core-d08c23fa.js";
|
|
17
|
+
import { renderTemplate as KH } from "./core-d08c23fa.js";
|
|
18
|
+
import { resolveComponent as b, openBlock as g, createBlock as A, withCtx as v, createVNode as p, createElementBlock as T, Fragment as ce, renderList as Ae, withModifiers as Re, normalizeClass as ve, createTextVNode as H, toDisplayString as G, createCommentVNode as P, inject as ge, ref as $, onUnmounted as ze, computed as w, reactive as he, watch as re, nextTick as On, toRaw as Nt, mergeProps as K, createSlots as Lt, renderSlot as ae, normalizeProps as Te, guardReactiveProps as xe, getCurrentInstance as un, shallowRef as Qe, onBeforeMount as Hm, onMounted as Dn, effectScope as Wm, isRef as yo, defineComponent as mr, h as Oo, Text as jm, onScopeDispose as v_, watchEffect as ad, toRefs as xs, capitalize as Zm, warn as __, unref as oe, provide as wn, camelize as zm, createStaticVNode as fn, createElementVNode as E, resolveDynamicComponent as Do, withKeys as sn, useSlots as Ym, isReactive as y_, normalizeStyle as Pn, shallowReactive as b_, pushScopeId as Ls, popScopeId as Vs, readonly as rd, createApp as w_, toRef as at, onBeforeUnmount as pr, onUpdated as A_, withDirectives as ii, TransitionGroup as sd, Transition as ld, resolveDirective as Ms, vShow as cd, useCssVars as S_, useAttrs as I_, toHandlers as E_, useModel as C_ } from "./vue-6a383e7b.js";
|
|
19
|
+
import { VListItemTitle as Fn, VListItem as Wt, VList as eo, VSheet as At, VTextField as k_, VTooltip as gt, VSvgIcon as T_, VIcon as tt, VBtn as ya, VSpacer as Ns, VMenu as Go, VCol as ht, VRow as wt, VDivider as Rn, VProgressLinear as x_, VCardText as qm, VCardTitle as Jm, VCard as Di, VDialog as Qm, VExpansionPanel as L_, VExpansionPanelTitle as V_, VExpansionPanelText as M_, VExpansionPanels as ud, VCheckbox as N_, VDataTableServer as P_, VDataTable as R_, VListItemSubtitle as dd, VFileInput as O_, VSlider as Xm, VContainer as vt, VToolbarItems as ba, VToolbar as wa, VSnackbar as D_, VSelect as F_, VRadio as B_, VRadioGroup as $_, VPagination as G_, VImg as U_, VCardActions as H_, VFooter as W_, VApp as j_, VExpandTransition as Z_, VChip as z_, VTextarea as Y_, VDatePicker as q_, VColorPicker as Km, VTab as J_, VTabs as Q_, VForm as X_ } from "./vuetify-38aa815c.js";
|
|
20
|
+
import { Feature as Fo, ol$Feature as lu, ol$geom$Point as gr, ol$extent$getCenter as K_, ol$Observable$unByKey as ha, ol$proj$getTransform as e3, ol$proj$get as t3, ol$geom$LineString as n3, ol$style$Icon as Ps, ol$proj$transformExtent as ep, ol$geom$Polygon$fromExtent as o3, ol$geom$Polygon as i3, ol$extent$createOrUpdateFromCoordinates as a3, ol$style$Circle as r3, ol$style$Stroke as tp, ol$style$Fill as np, ol$geom$Circle as s3, ol$source$Vector as Dl, ol$format$WMSCapabilities as l3, ol$render$toContext as c3, ol$style$Style as u3 } from "./ol-35510e1c.js";
|
|
21
|
+
import { useTheme as op, createVuetify as d3, useDisplay as Rt } from "./vuetify-38aa815c.js";
|
|
22
|
+
import "./vuetify-38aa815c.js";
|
|
23
|
+
import { HeightReference as is, Entity as ip, Cartesian2 as ap, Cartographic as xi, SceneTransforms as f3, Color as vr, Cesium3DTilePointFeature as h3, Cesium3DTileFeature as m3, Cartesian3 as sa, Ray as p3, Math as xo } from "./cesium-30b3ae56.js";
|
|
24
24
|
window.CESIUM_BASE_URL = "./assets/cesium/";
|
|
25
25
|
const N = (e, t) => {
|
|
26
26
|
const o = e.__vccOpts || e;
|
|
@@ -357,7 +357,7 @@ function po(e, t) {
|
|
|
357
357
|
return !yr(e, t);
|
|
358
358
|
}
|
|
359
359
|
let O3 = Error;
|
|
360
|
-
function
|
|
360
|
+
function Z(e, t) {
|
|
361
361
|
const o = yr(e, t);
|
|
362
362
|
if (o)
|
|
363
363
|
throw new O3(`Match failed: ${o}`);
|
|
@@ -385,7 +385,7 @@ function ot(...e) {
|
|
|
385
385
|
return t[_r] = !0, t;
|
|
386
386
|
}
|
|
387
387
|
function Fi(e, t) {
|
|
388
|
-
|
|
388
|
+
Z(e, Object);
|
|
389
389
|
let o = Object.values(e);
|
|
390
390
|
const n = (i) => o.includes(i) ? !1 : `expected ${_n(i)} to be of enum: ${o.join(", ")}`;
|
|
391
391
|
return n[_r] = !0, n;
|
|
@@ -1080,12 +1080,12 @@ function no() {
|
|
|
1080
1080
|
k0 = 1;
|
|
1081
1081
|
const e = /\s+/g;
|
|
1082
1082
|
class t {
|
|
1083
|
-
constructor(
|
|
1084
|
-
if (pe = i(pe),
|
|
1085
|
-
return
|
|
1086
|
-
if (
|
|
1087
|
-
return this.raw =
|
|
1088
|
-
if (this.options = pe, this.loose = !!pe.loose, this.includePrerelease = !!pe.includePrerelease, this.raw =
|
|
1083
|
+
constructor(X, pe) {
|
|
1084
|
+
if (pe = i(pe), X instanceof t)
|
|
1085
|
+
return X.loose === !!pe.loose && X.includePrerelease === !!pe.includePrerelease ? X : new t(X.raw, pe);
|
|
1086
|
+
if (X instanceof a)
|
|
1087
|
+
return this.raw = X.value, this.set = [[X]], this.formatted = void 0, this;
|
|
1088
|
+
if (this.options = pe, this.loose = !!pe.loose, this.includePrerelease = !!pe.includePrerelease, this.raw = X.trim().replace(e, " "), this.set = this.raw.split("||").map((de) => this.parseRange(de.trim())).filter((de) => de.length), !this.set.length)
|
|
1089
1089
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
1090
1090
|
if (this.set.length > 1) {
|
|
1091
1091
|
const de = this.set[0];
|
|
@@ -1104,9 +1104,9 @@ function no() {
|
|
|
1104
1104
|
get range() {
|
|
1105
1105
|
if (this.formatted === void 0) {
|
|
1106
1106
|
this.formatted = "";
|
|
1107
|
-
for (let
|
|
1108
|
-
|
|
1109
|
-
const pe = this.set[
|
|
1107
|
+
for (let X = 0; X < this.set.length; X++) {
|
|
1108
|
+
X > 0 && (this.formatted += "||");
|
|
1109
|
+
const pe = this.set[X];
|
|
1110
1110
|
for (let de = 0; de < pe.length; de++)
|
|
1111
1111
|
de > 0 && (this.formatted += " "), this.formatted += pe[de].toString().trim();
|
|
1112
1112
|
}
|
|
@@ -1119,14 +1119,14 @@ function no() {
|
|
|
1119
1119
|
toString() {
|
|
1120
1120
|
return this.range;
|
|
1121
1121
|
}
|
|
1122
|
-
parseRange(
|
|
1123
|
-
|
|
1124
|
-
const de = ((this.options.includePrerelease && m) | (this.options.loose && _)) + ":" +
|
|
1122
|
+
parseRange(X) {
|
|
1123
|
+
X = X.replace(y, "");
|
|
1124
|
+
const de = ((this.options.includePrerelease && m) | (this.options.loose && _)) + ":" + X, _e = n.get(de);
|
|
1125
1125
|
if (_e)
|
|
1126
1126
|
return _e;
|
|
1127
1127
|
const ue = this.options.loose, ye = ue ? l[u.HYPHENRANGELOOSE] : l[u.HYPHENRANGE];
|
|
1128
|
-
|
|
1129
|
-
let Fe =
|
|
1128
|
+
X = X.replace(ye, be(this.options.includePrerelease)), r("hyphen replace", X), X = X.replace(l[u.COMPARATORTRIM], f), r("comparator trim", X), X = X.replace(l[u.TILDETRIM], d), r("tilde trim", X), X = X.replace(l[u.CARETTRIM], h), r("caret trim", X);
|
|
1129
|
+
let Fe = X.split(" ").map((qe) => x(qe, this.options)).join(" ").split(/\s+/).map((qe) => te(qe, this.options));
|
|
1130
1130
|
ue && (Fe = Fe.filter((qe) => (r("loose invalid filter", qe, this.options), !!qe.match(l[u.COMPARATORLOOSE])))), r("range list", Fe);
|
|
1131
1131
|
const Oe = /* @__PURE__ */ new Map(), me = Fe.map((qe) => new a(qe, this.options));
|
|
1132
1132
|
for (const qe of me) {
|
|
@@ -1138,23 +1138,23 @@ function no() {
|
|
|
1138
1138
|
const bt = [...Oe.values()];
|
|
1139
1139
|
return n.set(de, bt), bt;
|
|
1140
1140
|
}
|
|
1141
|
-
intersects(
|
|
1142
|
-
if (!(
|
|
1141
|
+
intersects(X, pe) {
|
|
1142
|
+
if (!(X instanceof t))
|
|
1143
1143
|
throw new TypeError("a Range is required");
|
|
1144
|
-
return this.set.some((de) => k(de, pe) &&
|
|
1144
|
+
return this.set.some((de) => k(de, pe) && X.set.some((_e) => k(_e, pe) && de.every((ue) => _e.every((ye) => ue.intersects(ye, pe)))));
|
|
1145
1145
|
}
|
|
1146
1146
|
// if ANY of the sets match ALL of its comparators, then pass
|
|
1147
|
-
test(
|
|
1148
|
-
if (!
|
|
1147
|
+
test(X) {
|
|
1148
|
+
if (!X)
|
|
1149
1149
|
return !1;
|
|
1150
|
-
if (typeof
|
|
1150
|
+
if (typeof X == "string")
|
|
1151
1151
|
try {
|
|
1152
|
-
|
|
1152
|
+
X = new s(X, this.options);
|
|
1153
1153
|
} catch {
|
|
1154
1154
|
return !1;
|
|
1155
1155
|
}
|
|
1156
1156
|
for (let pe = 0; pe < this.set.length; pe++)
|
|
1157
|
-
if (Ee(this.set[pe],
|
|
1157
|
+
if (Ee(this.set[pe], X, this.options))
|
|
1158
1158
|
return !0;
|
|
1159
1159
|
return !1;
|
|
1160
1160
|
}
|
|
@@ -1167,46 +1167,46 @@ function no() {
|
|
|
1167
1167
|
comparatorTrimReplace: f,
|
|
1168
1168
|
tildeTrimReplace: d,
|
|
1169
1169
|
caretTrimReplace: h
|
|
1170
|
-
} = Ar(), { FLAG_INCLUDE_PRERELEASE: m, FLAG_LOOSE: _ } = wr(), y = new RegExp(c[u.BUILD], "g"), I = (
|
|
1170
|
+
} = Ar(), { FLAG_INCLUDE_PRERELEASE: m, FLAG_LOOSE: _ } = wr(), y = new RegExp(c[u.BUILD], "g"), I = (ne) => ne.value === "<0.0.0-0", M = (ne) => ne.value === "", k = (ne, X) => {
|
|
1171
1171
|
let pe = !0;
|
|
1172
|
-
const de =
|
|
1172
|
+
const de = ne.slice();
|
|
1173
1173
|
let _e = de.pop();
|
|
1174
1174
|
for (; pe && de.length; )
|
|
1175
|
-
pe = de.every((ue) => _e.intersects(ue,
|
|
1175
|
+
pe = de.every((ue) => _e.intersects(ue, X)), _e = de.pop();
|
|
1176
1176
|
return pe;
|
|
1177
|
-
}, x = (
|
|
1178
|
-
const pe =
|
|
1179
|
-
return
|
|
1180
|
-
r("tilde",
|
|
1177
|
+
}, x = (ne, X) => (ne = ne.replace(l[u.BUILD], ""), r("comp", ne, X), ne = B(ne, X), r("caret", ne), ne = V(ne, X), r("tildes", ne), ne = ee(ne, X), r("xrange", ne), ne = U(ne, X), r("stars", ne), ne), L = (ne) => !ne || ne.toLowerCase() === "x" || ne === "*", C = (ne, X, pe) => L(ne) && !L(X) || L(X) && pe && !L(pe), V = (ne, X) => ne.trim().split(/\s+/).map((pe) => F(pe, X)).join(" "), F = (ne, X) => {
|
|
1178
|
+
const pe = X.loose ? l[u.TILDELOOSE] : l[u.TILDE], de = X.includePrerelease ? "-0" : "";
|
|
1179
|
+
return ne.replace(pe, (_e, ue, ye, Fe, Oe) => {
|
|
1180
|
+
r("tilde", ne, _e, ue, ye, Fe, Oe);
|
|
1181
1181
|
let me;
|
|
1182
1182
|
return L(ue) ? me = "" : L(ye) ? me = `>=${ue}.0.0${de} <${+ue + 1}.0.0-0` : L(Fe) ? me = `>=${ue}.${ye}.0${de} <${ue}.${+ye + 1}.0-0` : Oe ? (r("replaceTilde pr", Oe), me = `>=${ue}.${ye}.${Fe}-${Oe} <${ue}.${+ye + 1}.0-0`) : me = `>=${ue}.${ye}.${Fe} <${ue}.${+ye + 1}.0-0`, r("tilde return", me), me;
|
|
1183
1183
|
});
|
|
1184
|
-
}, B = (
|
|
1185
|
-
r("caret",
|
|
1186
|
-
const pe =
|
|
1187
|
-
return
|
|
1188
|
-
r("caret",
|
|
1184
|
+
}, B = (ne, X) => ne.trim().split(/\s+/).map((pe) => se(pe, X)).join(" "), se = (ne, X) => {
|
|
1185
|
+
r("caret", ne, X);
|
|
1186
|
+
const pe = X.loose ? l[u.CARETLOOSE] : l[u.CARET], de = X.includePrerelease ? "-0" : "";
|
|
1187
|
+
return ne.replace(pe, (_e, ue, ye, Fe, Oe) => {
|
|
1188
|
+
r("caret", ne, _e, ue, ye, Fe, Oe);
|
|
1189
1189
|
let me;
|
|
1190
1190
|
return L(ue) ? me = "" : L(ye) ? me = `>=${ue}.0.0${de} <${+ue + 1}.0.0-0` : L(Fe) ? ue === "0" ? me = `>=${ue}.${ye}.0${de} <${ue}.${+ye + 1}.0-0` : me = `>=${ue}.${ye}.0${de} <${+ue + 1}.0.0-0` : Oe ? (r("replaceCaret pr", Oe), ue === "0" ? ye === "0" ? me = `>=${ue}.${ye}.${Fe}-${Oe} <${ue}.${ye}.${+Fe + 1}-0` : me = `>=${ue}.${ye}.${Fe}-${Oe} <${ue}.${+ye + 1}.0-0` : me = `>=${ue}.${ye}.${Fe}-${Oe} <${+ue + 1}.0.0-0`) : (r("no pr"), ue === "0" ? ye === "0" ? me = `>=${ue}.${ye}.${Fe} <${ue}.${ye}.${+Fe + 1}-0` : me = `>=${ue}.${ye}.${Fe} <${ue}.${+ye + 1}.0-0` : me = `>=${ue}.${ye}.${Fe} <${+ue + 1}.0.0-0`), r("caret return", me), me;
|
|
1191
1191
|
});
|
|
1192
|
-
},
|
|
1193
|
-
|
|
1194
|
-
const pe =
|
|
1195
|
-
return
|
|
1196
|
-
if (r("xRange",
|
|
1197
|
-
return
|
|
1192
|
+
}, ee = (ne, X) => (r("replaceXRanges", ne, X), ne.split(/\s+/).map((pe) => W(pe, X)).join(" ")), W = (ne, X) => {
|
|
1193
|
+
ne = ne.trim();
|
|
1194
|
+
const pe = X.loose ? l[u.XRANGELOOSE] : l[u.XRANGE];
|
|
1195
|
+
return ne.replace(pe, (de, _e, ue, ye, Fe, Oe) => {
|
|
1196
|
+
if (r("xRange", ne, de, _e, ue, ye, Fe, Oe), C(ue, ye, Fe))
|
|
1197
|
+
return ne;
|
|
1198
1198
|
const me = L(ue), bt = me || L(ye), qe = bt || L(Fe), zt = qe;
|
|
1199
|
-
return _e === "=" && zt && (_e = ""), Oe =
|
|
1199
|
+
return _e === "=" && zt && (_e = ""), Oe = X.includePrerelease ? "-0" : "", me ? _e === ">" || _e === "<" ? de = "<0.0.0-0" : de = "*" : _e && zt ? (bt && (ye = 0), Fe = 0, _e === ">" ? (_e = ">=", bt ? (ue = +ue + 1, ye = 0, Fe = 0) : (ye = +ye + 1, Fe = 0)) : _e === "<=" && (_e = "<", bt ? ue = +ue + 1 : ye = +ye + 1), _e === "<" && (Oe = "-0"), de = `${_e + ue}.${ye}.${Fe}${Oe}`) : bt ? de = `>=${ue}.0.0${Oe} <${+ue + 1}.0.0-0` : qe && (de = `>=${ue}.${ye}.0${Oe} <${ue}.${+ye + 1}.0-0`), r("xRange return", de), de;
|
|
1200
1200
|
});
|
|
1201
|
-
}, U = (
|
|
1202
|
-
for (let de = 0; de <
|
|
1203
|
-
if (!
|
|
1201
|
+
}, U = (ne, X) => (r("replaceStars", ne, X), ne.trim().replace(l[u.STAR], "")), te = (ne, X) => (r("replaceGTE0", ne, X), ne.trim().replace(l[X.includePrerelease ? u.GTE0PRE : u.GTE0], "")), be = (ne) => (X, pe, de, _e, ue, ye, Fe, Oe, me, bt, qe, zt) => (L(de) ? pe = "" : L(_e) ? pe = `>=${de}.0.0${ne ? "-0" : ""}` : L(ue) ? pe = `>=${de}.${_e}.0${ne ? "-0" : ""}` : ye ? pe = `>=${pe}` : pe = `>=${pe}${ne ? "-0" : ""}`, L(me) ? Oe = "" : L(bt) ? Oe = `<${+me + 1}.0.0-0` : L(qe) ? Oe = `<${me}.${+bt + 1}.0-0` : zt ? Oe = `<=${me}.${bt}.${qe}-${zt}` : ne ? Oe = `<${me}.${bt}.${+qe + 1}-0` : Oe = `<=${Oe}`, `${pe} ${Oe}`.trim()), Ee = (ne, X, pe) => {
|
|
1202
|
+
for (let de = 0; de < ne.length; de++)
|
|
1203
|
+
if (!ne[de].test(X))
|
|
1204
1204
|
return !1;
|
|
1205
|
-
if (
|
|
1206
|
-
for (let de = 0; de <
|
|
1207
|
-
if (r(
|
|
1208
|
-
const _e =
|
|
1209
|
-
if (_e.major ===
|
|
1205
|
+
if (X.prerelease.length && !pe.includePrerelease) {
|
|
1206
|
+
for (let de = 0; de < ne.length; de++)
|
|
1207
|
+
if (r(ne[de].semver), ne[de].semver !== a.ANY && ne[de].semver.prerelease.length > 0) {
|
|
1208
|
+
const _e = ne[de].semver;
|
|
1209
|
+
if (_e.major === X.major && _e.minor === X.minor && _e.patch === X.patch)
|
|
1210
1210
|
return !0;
|
|
1211
1211
|
}
|
|
1212
1212
|
return !1;
|
|
@@ -1530,7 +1530,7 @@ var Lc, G0;
|
|
|
1530
1530
|
function f4() {
|
|
1531
1531
|
if (G0) return Lc;
|
|
1532
1532
|
G0 = 1;
|
|
1533
|
-
const e = Ar(), t = wr(), o = qt(), n = lp(), i = Bi(), a = G3(), r = U3(), s = H3(), l = W3(), c = j3(), u = Z3(), f = z3(), d = Y3(), h = to(), m = q3(), _ = J3(), y = pd(), I = Q3(), M = X3(), k = Os(), x = gd(), L = cp(), C = up(), V = vd(), F = _d(), B = dp(), se = K3(),
|
|
1533
|
+
const e = Ar(), t = wr(), o = qt(), n = lp(), i = Bi(), a = G3(), r = U3(), s = H3(), l = W3(), c = j3(), u = Z3(), f = z3(), d = Y3(), h = to(), m = q3(), _ = J3(), y = pd(), I = Q3(), M = X3(), k = Os(), x = gd(), L = cp(), C = up(), V = vd(), F = _d(), B = dp(), se = K3(), ee = e4(), W = Ds(), U = no(), te = Fs(), be = n4(), Ee = o4(), ne = i4(), X = a4(), pe = r4(), de = yd(), _e = s4(), ue = l4(), ye = c4(), Fe = u4(), Oe = d4();
|
|
1534
1534
|
return Lc = {
|
|
1535
1535
|
parse: i,
|
|
1536
1536
|
valid: a,
|
|
@@ -1555,14 +1555,14 @@ function f4() {
|
|
|
1555
1555
|
lte: F,
|
|
1556
1556
|
cmp: B,
|
|
1557
1557
|
coerce: se,
|
|
1558
|
-
truncate:
|
|
1559
|
-
Comparator:
|
|
1558
|
+
truncate: ee,
|
|
1559
|
+
Comparator: W,
|
|
1560
1560
|
Range: U,
|
|
1561
|
-
satisfies:
|
|
1561
|
+
satisfies: te,
|
|
1562
1562
|
toComparators: be,
|
|
1563
1563
|
maxSatisfying: Ee,
|
|
1564
|
-
minSatisfying:
|
|
1565
|
-
minVersion:
|
|
1564
|
+
minSatisfying: ne,
|
|
1565
|
+
minVersion: X,
|
|
1566
1566
|
validRange: pe,
|
|
1567
1567
|
outside: de,
|
|
1568
1568
|
gtr: _e,
|
|
@@ -1581,13 +1581,13 @@ function f4() {
|
|
|
1581
1581
|
}, Lc;
|
|
1582
1582
|
}
|
|
1583
1583
|
var h4 = f4();
|
|
1584
|
-
const hu = "@vcmap/ui", Xr = "6.3.
|
|
1584
|
+
const hu = "@vcmap/ui", Xr = "6.3.17";
|
|
1585
1585
|
function vi() {
|
|
1586
1586
|
return Se("plugin-helpers");
|
|
1587
1587
|
}
|
|
1588
1588
|
const Le = Symbol("vcsApp"), Ei = Symbol("pluginFactory"), Pi = Symbol("pluginBaseUrl"), la = Symbol("pluginModuleUrl"), Ci = Symbol("pluginVersionRange");
|
|
1589
1589
|
function wH(e, t, o) {
|
|
1590
|
-
|
|
1590
|
+
Z(t, String), Z(o, String);
|
|
1591
1591
|
const n = e.plugins.getByKey(t);
|
|
1592
1592
|
if (n && n[Pi]) {
|
|
1593
1593
|
const i = new URL(n[Pi]), a = new URL(o.replace(/^\//, "/"), i);
|
|
@@ -1598,7 +1598,7 @@ function wH(e, t, o) {
|
|
|
1598
1598
|
return null;
|
|
1599
1599
|
}
|
|
1600
1600
|
function m4(e) {
|
|
1601
|
-
return
|
|
1601
|
+
return Z(e, String), /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
|
|
1602
1602
|
e
|
|
1603
1603
|
);
|
|
1604
1604
|
}
|
|
@@ -1770,7 +1770,7 @@ class w4 {
|
|
|
1770
1770
|
* @param {string} id
|
|
1771
1771
|
*/
|
|
1772
1772
|
remove(t) {
|
|
1773
|
-
|
|
1773
|
+
Z(t, String);
|
|
1774
1774
|
const o = this._windowComponents.get(t);
|
|
1775
1775
|
if (o) {
|
|
1776
1776
|
this._cachePosition(o), this.componentIds.splice(this.componentIds.indexOf(t), 1), this._zIndices.value.splice(this._zIndices.value.indexOf(t), 1), this._windowComponents.delete(t), this._handleSlotsChanged(o.slot.value), this.removed.raiseEvent(o);
|
|
@@ -1893,8 +1893,8 @@ class w4 {
|
|
|
1893
1893
|
* @returns {WindowComponent}
|
|
1894
1894
|
*/
|
|
1895
1895
|
add(t, o) {
|
|
1896
|
-
var C, V, F, B, se,
|
|
1897
|
-
if (
|
|
1896
|
+
var C, V, F, B, se, ee, W, U, te, be, Ee, ne, X;
|
|
1897
|
+
if (Z(o, ot(String, Le)), t.id && (this.has(t.id) || this._externalZIndexIds.has(t.id)))
|
|
1898
1898
|
throw new Error(
|
|
1899
1899
|
`A window with id ${t.id} has already been registered.`
|
|
1900
1900
|
);
|
|
@@ -1908,15 +1908,15 @@ class w4 {
|
|
|
1908
1908
|
id: n,
|
|
1909
1909
|
parentId: i,
|
|
1910
1910
|
owner: o,
|
|
1911
|
-
hideHeader: !!((
|
|
1912
|
-
hidePin: !!((
|
|
1911
|
+
hideHeader: !!((ee = t == null ? void 0 : t.state) != null && ee.hideHeader),
|
|
1912
|
+
hidePin: !!((W = t == null ? void 0 : t.state) != null && W.hidePin),
|
|
1913
1913
|
headerTitle: (U = t == null ? void 0 : t.state) == null ? void 0 : U.headerTitle,
|
|
1914
|
-
headerIcon: (
|
|
1914
|
+
headerIcon: (te = t == null ? void 0 : t.state) == null ? void 0 : te.headerIcon,
|
|
1915
1915
|
headerActions: (be = t == null ? void 0 : t.state) == null ? void 0 : be.headerActions,
|
|
1916
1916
|
headerActionsOverflow: (Ee = t == null ? void 0 : t.state) == null ? void 0 : Ee.headerActionsOverflow,
|
|
1917
1917
|
dockable: !1,
|
|
1918
|
-
infoUrl: (
|
|
1919
|
-
infoUrlCallback: (
|
|
1918
|
+
infoUrl: (ne = t == null ? void 0 : t.state) == null ? void 0 : ne.infoUrl,
|
|
1919
|
+
infoUrlCallback: (X = t == null ? void 0 : t.state) == null ? void 0 : X.infoUrlCallback,
|
|
1920
1920
|
classes: h,
|
|
1921
1921
|
styles: d
|
|
1922
1922
|
}), _ = t.props || {}, y = t.provides || {}, I = he(l), M = { ...s }, k = w(() => this._zIndices.value.indexOf(n)), x = {
|
|
@@ -2017,7 +2017,7 @@ class w4 {
|
|
|
2017
2017
|
* @return {import("vue").ComputedRef<number>}
|
|
2018
2018
|
*/
|
|
2019
2019
|
addExternalIdToZIndex(t, o) {
|
|
2020
|
-
if (
|
|
2020
|
+
if (Z(t, String), Z(o, ot(String, Le)), this.has(t))
|
|
2021
2021
|
throw new Error(`Id ${t} already belongs to a window id`);
|
|
2022
2022
|
if (this._externalZIndexIds.has(t))
|
|
2023
2023
|
throw new Error(`Id ${t} is already added`);
|
|
@@ -2470,7 +2470,7 @@ const N4 = {
|
|
|
2470
2470
|
};
|
|
2471
2471
|
function P4(e, t, o, n, i, a) {
|
|
2472
2472
|
const r = b("v-tooltip"), s = b("v-text-field");
|
|
2473
|
-
return g(), A(s,
|
|
2473
|
+
return g(), A(s, K({
|
|
2474
2474
|
ref: "textFieldRef",
|
|
2475
2475
|
variant: "outlined",
|
|
2476
2476
|
"clear-icon": "$close",
|
|
@@ -3391,7 +3391,7 @@ const K0 = Dt([
|
|
|
3391
3391
|
};
|
|
3392
3392
|
function wp() {
|
|
3393
3393
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : u5();
|
|
3394
|
-
const t = (
|
|
3394
|
+
const t = (J) => wp(J);
|
|
3395
3395
|
if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== kt.document || !e.Element)
|
|
3396
3396
|
return t.isSupported = !1, t;
|
|
3397
3397
|
let o = e.document;
|
|
@@ -3407,28 +3407,28 @@ function wp() {
|
|
|
3407
3407
|
return B ? B(S) : S.namespaceURI;
|
|
3408
3408
|
};
|
|
3409
3409
|
if (typeof a == "function") {
|
|
3410
|
-
const
|
|
3411
|
-
|
|
3410
|
+
const J = o.createElement("template");
|
|
3411
|
+
J.content && J.content.ownerDocument && (o = J.content.ownerDocument);
|
|
3412
3412
|
}
|
|
3413
|
-
let
|
|
3413
|
+
let ee, W = "", U, te = !1, be = 0;
|
|
3414
3414
|
const Ee = function() {
|
|
3415
3415
|
if (be > 0) throw Io('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
|
|
3416
|
-
},
|
|
3416
|
+
}, ne = function(S) {
|
|
3417
3417
|
Ee(), be++;
|
|
3418
3418
|
try {
|
|
3419
|
-
return
|
|
3419
|
+
return ee.createHTML(S);
|
|
3420
3420
|
} finally {
|
|
3421
3421
|
be--;
|
|
3422
3422
|
}
|
|
3423
|
-
},
|
|
3423
|
+
}, X = function(S) {
|
|
3424
3424
|
Ee(), be++;
|
|
3425
3425
|
try {
|
|
3426
|
-
return
|
|
3426
|
+
return ee.createScriptURL(S);
|
|
3427
3427
|
} finally {
|
|
3428
3428
|
be--;
|
|
3429
3429
|
}
|
|
3430
3430
|
}, pe = function() {
|
|
3431
|
-
return
|
|
3431
|
+
return te || (U = d5(u, i), te = !0), U;
|
|
3432
3432
|
}, de = o, _e = de.implementation, ue = de.createNodeIterator, ye = de.createDocumentFragment, Fe = de.getElementsByTagName, Oe = n.importNode;
|
|
3433
3433
|
let me = sf();
|
|
3434
3434
|
t.isSupported = typeof gp == "function" && typeof I == "function" && _e && _e.createHTMLDocument !== void 0;
|
|
@@ -3467,7 +3467,7 @@ function wp() {
|
|
|
3467
3467
|
enumerable: !0,
|
|
3468
3468
|
value: !1
|
|
3469
3469
|
}
|
|
3470
|
-
})), O = null,
|
|
3470
|
+
})), O = null, q = null;
|
|
3471
3471
|
const fe = Object.seal(ea(null, {
|
|
3472
3472
|
tagCheck: {
|
|
3473
3473
|
writable: !0,
|
|
@@ -3482,7 +3482,7 @@ function wp() {
|
|
|
3482
3482
|
value: null
|
|
3483
3483
|
}
|
|
3484
3484
|
}));
|
|
3485
|
-
let Xe = !0, ke = !0,
|
|
3485
|
+
let Xe = !0, ke = !0, j = !1, Q = !0, Be = !1, Je = !0, Yt = !1, zo = !1, Un = null, Hi = null, Cr = !1, Wi = !1, kr = !1, Tr = !1, A1 = !0, S1 = !1;
|
|
3486
3486
|
const I1 = "user-content-";
|
|
3487
3487
|
let _l = !0, yl = !1, pi = null, ji = {}, gi = null;
|
|
3488
3488
|
const E1 = Ze({}, [
|
|
@@ -3575,7 +3575,7 @@ function wp() {
|
|
|
3575
3575
|
}), C1 = Jo(S, "ADD_DATA_URI_TAGS", k1, {
|
|
3576
3576
|
transform: It,
|
|
3577
3577
|
base: k1
|
|
3578
|
-
}), gi = Jo(S, "FORBID_CONTENTS", E1, { transform: It }), O = Jo(S, "FORBID_TAGS", gn({}), { transform: It }),
|
|
3578
|
+
}), gi = Jo(S, "FORBID_CONTENTS", E1, { transform: It }), O = Jo(S, "FORBID_TAGS", gn({}), { transform: It }), q = Jo(S, "FORBID_ATTR", gn({}), { transform: It }), ji = rn(S, "USE_PROFILES") ? S.USE_PROFILES && typeof S.USE_PROFILES == "object" ? gn(S.USE_PROFILES) : S.USE_PROFILES : !1, Xe = S.ALLOW_ARIA_ATTR !== !1, ke = S.ALLOW_DATA_ATTR !== !1, j = S.ALLOW_UNKNOWN_PROTOCOLS || !1, Q = S.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Be = S.SAFE_FOR_TEMPLATES || !1, Je = S.SAFE_FOR_XML !== !1, Yt = S.WHOLE_DOCUMENT || !1, Wi = S.RETURN_DOM || !1, kr = S.RETURN_DOM_FRAGMENT || !1, Tr = S.RETURN_TRUSTED_TYPE || !1, Cr = S.FORCE_BODY || !1, A1 = S.SANITIZE_DOM !== !1, S1 = S.SANITIZE_NAMED_PROPS || !1, _l = S.KEEP_CONTENT !== !1, yl = S.IN_PLACE || !1, He = J4(S.ALLOWED_URI_REGEXP) ? S.ALLOWED_URI_REGEXP : of, Zi = typeof S.NAMESPACE == "string" ? S.NAMESPACE : so, Al = Gc(S, "MATHML_TEXT_INTEGRATION_POINTS", () => Ze({}, L1)), Sl = Gc(S, "HTML_INTEGRATION_POINTS", () => Ze({}, V1));
|
|
3579
3579
|
const D = Gc(S, "CUSTOM_ELEMENT_HANDLING", () => ea(null));
|
|
3580
3580
|
if (R = ea(null), rn(D, "tagNameCheck") && M1(D.tagNameCheck) && (R.tagNameCheck = D.tagNameCheck), rn(D, "attributeNameCheck") && M1(D.attributeNameCheck) && (R.attributeNameCheck = D.attributeNameCheck), rn(D, "allowCustomizedBuiltInElements") && typeof D.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = D.allowCustomizedBuiltInElements), Zt(R), Be && (ke = !1), kr && (Wi = !0), ji && (We = Ze({}, ef), je = ea(null), ji.html === !0 && (Ze(We, K0), Ze(je, tf)), ji.svg === !0 && (Ze(We, Oc), Ze(je, Bc), Ze(je, Fr)), ji.svgFilters === !0 && (Ze(We, Dc), Ze(je, Bc), Ze(je, Fr)), ji.mathMl === !0 && (Ze(We, Fc), Ze(je, nf), Ze(je, Fr))), fe.tagCheck = null, fe.attributeCheck = null, rn(S, "ADD_TAGS") && (typeof S.ADD_TAGS == "function" ? fe.tagCheck = S.ADD_TAGS : ua(S.ADD_TAGS) && (We === pn && (We = gn(We)), Ze(We, S.ADD_TAGS, It))), rn(S, "ADD_ATTR") && (typeof S.ADD_ATTR == "function" ? fe.attributeCheck = S.ADD_ATTR : ua(S.ADD_ATTR) && (je === ro && (je = gn(je)), Ze(je, S.ADD_ATTR, It))), rn(S, "ADD_FORBID_CONTENTS") && ua(S.ADD_FORBID_CONTENTS) && (gi === E1 && (gi = gn(gi)), Ze(gi, S.ADD_FORBID_CONTENTS, It)), _l && (We["#text"] = !0), Yt && Ze(We, [
|
|
3581
3581
|
"html",
|
|
@@ -3584,29 +3584,29 @@ function wp() {
|
|
|
3584
3584
|
]), We.table && (Ze(We, ["tbody"]), delete O.tbody), S.TRUSTED_TYPES_POLICY) {
|
|
3585
3585
|
if (typeof S.TRUSTED_TYPES_POLICY.createHTML != "function") throw Io('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3586
3586
|
if (typeof S.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Io('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
3587
|
-
const
|
|
3588
|
-
|
|
3587
|
+
const z = ee;
|
|
3588
|
+
ee = S.TRUSTED_TYPES_POLICY;
|
|
3589
3589
|
try {
|
|
3590
|
-
|
|
3591
|
-
} catch (
|
|
3592
|
-
throw
|
|
3590
|
+
W = ne("");
|
|
3591
|
+
} catch (Y) {
|
|
3592
|
+
throw ee = z, Y;
|
|
3593
3593
|
}
|
|
3594
|
-
} else S.TRUSTED_TYPES_POLICY === null ? (
|
|
3594
|
+
} else S.TRUSTED_TYPES_POLICY === null ? (ee = void 0, W = "") : (ee === void 0 && (ee = pe()), ee && typeof W == "string" && (W = ne("")));
|
|
3595
3595
|
Dt && Dt(S), zi = S;
|
|
3596
3596
|
}, N1 = Ze({}, [
|
|
3597
3597
|
...Oc,
|
|
3598
3598
|
...Dc,
|
|
3599
3599
|
...Q4
|
|
3600
|
-
]), P1 = Ze({}, [...Fc, ...X4]), mv = function(S, D,
|
|
3601
|
-
return D.namespaceURI === so ? S === "svg" : D.namespaceURI === xr ? S === "svg" && (
|
|
3602
|
-
}, pv = function(S, D,
|
|
3603
|
-
return D.namespaceURI === so ? S === "math" : D.namespaceURI === Lr ? S === "math" && Sl[
|
|
3604
|
-
}, gv = function(S, D,
|
|
3605
|
-
return D.namespaceURI === Lr && !Sl[
|
|
3600
|
+
]), P1 = Ze({}, [...Fc, ...X4]), mv = function(S, D, z) {
|
|
3601
|
+
return D.namespaceURI === so ? S === "svg" : D.namespaceURI === xr ? S === "svg" && (z === "annotation-xml" || Al[z]) : !!N1[S];
|
|
3602
|
+
}, pv = function(S, D, z) {
|
|
3603
|
+
return D.namespaceURI === so ? S === "math" : D.namespaceURI === Lr ? S === "math" && Sl[z] : !!P1[S];
|
|
3604
|
+
}, gv = function(S, D, z) {
|
|
3605
|
+
return D.namespaceURI === Lr && !Sl[z] || D.namespaceURI === xr && !Al[z] ? !1 : !P1[S] && (uv[S] || !N1[S]);
|
|
3606
3606
|
}, vv = function(S) {
|
|
3607
|
-
const D = se(S),
|
|
3607
|
+
const D = se(S), z = Ai(F(S)), Y = I(S);
|
|
3608
3608
|
let we, Ne;
|
|
3609
|
-
return
|
|
3609
|
+
return Y && V(Y) === kt.element ? (we = { namespaceURI: se(Y) }, Ne = Ai(F(Y))) : (we = { namespaceURI: Zi }, Ne = "template"), wl[D] ? D === Lr ? mv(z, we, Ne) : D === xr ? pv(z, we, Ne) : D === so ? gv(z, we, Ne) : !!(Ca === "application/xhtml+xml" && wl[D]) : !1;
|
|
3610
3610
|
}, Yo = function(S) {
|
|
3611
3611
|
La(t.removed, { element: S });
|
|
3612
3612
|
try {
|
|
@@ -3614,41 +3614,41 @@ function wp() {
|
|
|
3614
3614
|
} catch {
|
|
3615
3615
|
if (h(S), !I(S)) throw Io("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
3616
3616
|
}
|
|
3617
|
-
}, R1 = function(S, D,
|
|
3617
|
+
}, R1 = function(S, D, z) {
|
|
3618
3618
|
try {
|
|
3619
3619
|
m(S, D);
|
|
3620
3620
|
} catch {
|
|
3621
3621
|
try {
|
|
3622
|
-
S.removeAttribute(
|
|
3622
|
+
S.removeAttribute(z);
|
|
3623
3623
|
} catch {
|
|
3624
3624
|
}
|
|
3625
3625
|
}
|
|
3626
3626
|
}, El = function(S) {
|
|
3627
3627
|
kl(S);
|
|
3628
3628
|
const D = y(S);
|
|
3629
|
-
D && So(U4(D), (
|
|
3629
|
+
D && So(U4(D), (Y) => {
|
|
3630
3630
|
try {
|
|
3631
|
-
h(
|
|
3631
|
+
h(Y);
|
|
3632
3632
|
} catch {
|
|
3633
3633
|
}
|
|
3634
3634
|
});
|
|
3635
|
-
const
|
|
3636
|
-
if (
|
|
3637
|
-
const we = Y
|
|
3635
|
+
const z = V(S) === kt.element ? k(S) : null;
|
|
3636
|
+
if (z) for (let Y = z.length - 1; Y >= 0; --Y) {
|
|
3637
|
+
const we = z[Y], Ne = we && we.name;
|
|
3638
3638
|
typeof Ne == "string" && R1(S, we, Ne);
|
|
3639
3639
|
}
|
|
3640
|
-
}, Yi = function(S, D,
|
|
3641
|
-
if (!
|
|
3642
|
-
|
|
3640
|
+
}, Yi = function(S, D, z) {
|
|
3641
|
+
if (!z) try {
|
|
3642
|
+
z = D.getAttributeNode(S);
|
|
3643
3643
|
} catch {
|
|
3644
|
-
|
|
3644
|
+
z = null;
|
|
3645
3645
|
}
|
|
3646
3646
|
La(t.removed, {
|
|
3647
|
-
attribute:
|
|
3647
|
+
attribute: z || null,
|
|
3648
3648
|
from: D
|
|
3649
3649
|
});
|
|
3650
3650
|
try {
|
|
3651
|
-
|
|
3651
|
+
z ? m(D, z) : D.removeAttribute(S);
|
|
3652
3652
|
} catch {
|
|
3653
3653
|
try {
|
|
3654
3654
|
D.removeAttribute(S);
|
|
@@ -3667,22 +3667,22 @@ function wp() {
|
|
|
3667
3667
|
}, O1 = function(S) {
|
|
3668
3668
|
const D = k(S);
|
|
3669
3669
|
if (D)
|
|
3670
|
-
for (let
|
|
3671
|
-
const
|
|
3672
|
-
typeof we != "string" || je[It(we)] || R1(S,
|
|
3670
|
+
for (let z = D.length - 1; z >= 0; --z) {
|
|
3671
|
+
const Y = D[z], we = Y && Y.name;
|
|
3672
|
+
typeof we != "string" || je[It(we)] || R1(S, Y, we);
|
|
3673
3673
|
}
|
|
3674
3674
|
}, Cl = function(S, D) {
|
|
3675
|
-
let
|
|
3676
|
-
const
|
|
3677
|
-
for (;
|
|
3678
|
-
const we =
|
|
3675
|
+
let z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
3676
|
+
const Y = [S];
|
|
3677
|
+
for (; Y.length > 0; ) {
|
|
3678
|
+
const we = Y.pop();
|
|
3679
3679
|
if (D(we) === !1) continue;
|
|
3680
|
-
if (
|
|
3680
|
+
if (z && V(we) === kt.element) {
|
|
3681
3681
|
const $e = M(we);
|
|
3682
|
-
qo($e) &&
|
|
3682
|
+
qo($e) && Y.push($e);
|
|
3683
3683
|
}
|
|
3684
3684
|
const Ne = y(we);
|
|
3685
|
-
if (Ne) for (let $e = Ne.length - 1; $e >= 0; --$e)
|
|
3685
|
+
if (Ne) for (let $e = Ne.length - 1; $e >= 0; --$e) Y.push(Ne[$e]);
|
|
3686
3686
|
}
|
|
3687
3687
|
}, kl = function(S) {
|
|
3688
3688
|
Cl(S, (D) => {
|
|
@@ -3690,88 +3690,88 @@ function wp() {
|
|
|
3690
3690
|
});
|
|
3691
3691
|
}, Tl = function(S) {
|
|
3692
3692
|
const D = [];
|
|
3693
|
-
return Cl(S, (
|
|
3694
|
-
D.push(
|
|
3693
|
+
return Cl(S, (z) => {
|
|
3694
|
+
D.push(z);
|
|
3695
3695
|
}, !0), D;
|
|
3696
3696
|
}, _v = function(S, D) {
|
|
3697
|
-
const
|
|
3698
|
-
So(Tl(S), (
|
|
3699
|
-
V(
|
|
3700
|
-
}), So(D, (
|
|
3701
|
-
V(
|
|
3697
|
+
const z = Nc();
|
|
3698
|
+
So(Tl(S), (Y) => {
|
|
3699
|
+
V(Y) === kt.element && Pc(z, Y);
|
|
3700
|
+
}), So(D, (Y) => {
|
|
3701
|
+
V(Y) === kt.element && !Va(z, Y) && O1(Y);
|
|
3702
3702
|
});
|
|
3703
3703
|
}, D1 = function(S, D) {
|
|
3704
|
-
let
|
|
3705
|
-
return So(t.removed, (
|
|
3706
|
-
|
|
3707
|
-
}), _v(S, D),
|
|
3704
|
+
let z = !1;
|
|
3705
|
+
return So(t.removed, (Y) => {
|
|
3706
|
+
Y.element && (z = z || Y.element === S, kl(Y.element));
|
|
3707
|
+
}), _v(S, D), z;
|
|
3708
3708
|
}, yv = 8, bv = function(S, D) {
|
|
3709
|
-
const
|
|
3710
|
-
let
|
|
3711
|
-
const we = () => (
|
|
3712
|
-
Pc(
|
|
3713
|
-
})),
|
|
3709
|
+
const z = pi;
|
|
3710
|
+
let Y = null;
|
|
3711
|
+
const we = () => (Y || (Y = Nc(), So(D, (Ne) => {
|
|
3712
|
+
Pc(Y, Ne);
|
|
3713
|
+
})), Y);
|
|
3714
3714
|
for (let Ne = 0; ; Ne++) {
|
|
3715
3715
|
const $e = Tl(S), Mt = [S];
|
|
3716
3716
|
let lo = !1;
|
|
3717
3717
|
if (So($e, (Jt) => {
|
|
3718
|
-
V(Jt) === kt.documentFragment ? La(Mt, Jt) : !lo && !Va(
|
|
3718
|
+
V(Jt) === kt.documentFragment ? La(Mt, Jt) : !lo && !Va(z, Jt) && (lo = Va(we(), Jt));
|
|
3719
3719
|
}), !lo) return;
|
|
3720
3720
|
if (Ne >= yv) throw Io("the tree kept changing during in-place sanitization; refusing to return it");
|
|
3721
3721
|
So(Mt, (Jt, nn) => {
|
|
3722
3722
|
wv(Jt, nn > 0, S, we());
|
|
3723
3723
|
});
|
|
3724
3724
|
}
|
|
3725
|
-
}, wv = function(S, D,
|
|
3725
|
+
}, wv = function(S, D, z, Y) {
|
|
3726
3726
|
const we = xl(S);
|
|
3727
3727
|
let Ne;
|
|
3728
3728
|
for (; Ne = we.nextNode(); )
|
|
3729
|
-
!Va(
|
|
3729
|
+
!Va(Y, Ne) || Va(pi, Ne) || (D && Hn(me.uponSanitizeShadowNode, Ne, null), Vl(Ne, z), Ml(Ne, z), qo(Ne.content) && Ta(Ne.content));
|
|
3730
3730
|
}, Av = function(S) {
|
|
3731
3731
|
pi && Pc(pi, S);
|
|
3732
3732
|
}, F1 = function(S, D) {
|
|
3733
3733
|
return Je ? S === "patchsrc" ? !0 : S === "for" && D !== "label" && D !== "output" : !1;
|
|
3734
3734
|
}, Sv = function(S) {
|
|
3735
3735
|
Je && Cl(S, (D) => {
|
|
3736
|
-
const
|
|
3737
|
-
if (
|
|
3736
|
+
const z = V(D);
|
|
3737
|
+
if (z === kt.processingInstruction || z === kt.comment && Ut(af, D.data)) {
|
|
3738
3738
|
try {
|
|
3739
3739
|
h(D);
|
|
3740
3740
|
} catch {
|
|
3741
3741
|
}
|
|
3742
3742
|
return !1;
|
|
3743
3743
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
const
|
|
3744
|
+
if (z === kt.element) {
|
|
3745
|
+
const Y = D, we = It(F(D));
|
|
3746
3746
|
try {
|
|
3747
|
-
|
|
3747
|
+
Y.hasAttribute && Y.hasAttribute("patchsrc") && Y.removeAttribute("patchsrc"), Y.hasAttribute && Y.hasAttribute("for") && F1("for", we) && Y.removeAttribute("for");
|
|
3748
3748
|
} catch {
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
3751
|
return !0;
|
|
3752
3752
|
});
|
|
3753
3753
|
}, B1 = function(S) {
|
|
3754
|
-
let D = null,
|
|
3754
|
+
let D = null, z = null;
|
|
3755
3755
|
if (Cr) S = "<remove></remove>" + S;
|
|
3756
3756
|
else {
|
|
3757
3757
|
const Ne = q0(S, /^[\r\n\t ]+/);
|
|
3758
|
-
|
|
3758
|
+
z = Ne && Ne[0];
|
|
3759
3759
|
}
|
|
3760
3760
|
Ca === "application/xhtml+xml" && Zi === so && (S = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + S + "</body></html>");
|
|
3761
|
-
const
|
|
3761
|
+
const Y = ee ? ne(S) : S;
|
|
3762
3762
|
if (Zi === so) try {
|
|
3763
|
-
D = new c().parseFromString(
|
|
3763
|
+
D = new c().parseFromString(Y, Ca);
|
|
3764
3764
|
} catch {
|
|
3765
3765
|
}
|
|
3766
3766
|
if (!D || !D.documentElement) {
|
|
3767
3767
|
D = _e.createDocument(Zi, "template", null);
|
|
3768
3768
|
try {
|
|
3769
|
-
D.documentElement.innerHTML = bl ?
|
|
3769
|
+
D.documentElement.innerHTML = bl ? W : Y;
|
|
3770
3770
|
} catch {
|
|
3771
3771
|
}
|
|
3772
3772
|
}
|
|
3773
3773
|
const we = D.body || D.documentElement;
|
|
3774
|
-
return S &&
|
|
3774
|
+
return S && z && we.insertBefore(o.createTextNode(z), we.childNodes[0] || null), Zi === so ? Fe.call(D, Yt ? "html" : "body")[0] : Yt ? D.documentElement : we;
|
|
3775
3775
|
}, xl = function(S) {
|
|
3776
3776
|
const D = C ? C(S) : S.ownerDocument;
|
|
3777
3777
|
return ue.call(D || S, S, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
@@ -3780,16 +3780,16 @@ function wp() {
|
|
|
3780
3780
|
}, Ll = function(S) {
|
|
3781
3781
|
var D;
|
|
3782
3782
|
$1(S);
|
|
3783
|
-
const
|
|
3784
|
-
|
|
3785
|
-
qo(
|
|
3783
|
+
const z = (D = S.querySelectorAll) === null || D === void 0 ? void 0 : D.call(S, "template");
|
|
3784
|
+
z && So(z, (Y) => {
|
|
3785
|
+
qo(Y.content) && Ll(Y.content);
|
|
3786
3786
|
});
|
|
3787
3787
|
}, $1 = function(S) {
|
|
3788
3788
|
S.normalize();
|
|
3789
|
-
const D = C ? C(S) : S.ownerDocument,
|
|
3790
|
-
let
|
|
3791
|
-
for (;
|
|
3792
|
-
|
|
3789
|
+
const D = C ? C(S) : S.ownerDocument, z = ue.call(D || S, S, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null);
|
|
3790
|
+
let Y = z.nextNode();
|
|
3791
|
+
for (; Y; )
|
|
3792
|
+
Y.data = Vr(Y.data), Y = z.nextNode();
|
|
3793
3793
|
}, Mr = function(S) {
|
|
3794
3794
|
const D = L ? L(S) : null;
|
|
3795
3795
|
return typeof D != "string" || It(D) !== "form" ? !1 : typeof S.nodeName != "string" || typeof S.textContent != "string" || typeof S.removeChild != "function" || S.attributes !== k(S) || typeof S.removeAttribute != "function" || typeof S.removeAttributeNode != "function" || typeof S.getAttributeNode != "function" || typeof S.setAttribute != "function" || typeof S.namespaceURI != "string" || typeof S.insertBefore != "function" || typeof S.hasChildNodes != "function" || S.nodeType !== x(S) || S.childNodes !== y(S);
|
|
@@ -3808,9 +3808,9 @@ function wp() {
|
|
|
3808
3808
|
return !1;
|
|
3809
3809
|
}
|
|
3810
3810
|
};
|
|
3811
|
-
function Hn(
|
|
3812
|
-
|
|
3813
|
-
|
|
3811
|
+
function Hn(J, S, D) {
|
|
3812
|
+
J.length !== 0 && So(J, (z) => {
|
|
3813
|
+
z.call(t, S, D, zi);
|
|
3814
3814
|
});
|
|
3815
3815
|
}
|
|
3816
3816
|
const Iv = function(S, D) {
|
|
@@ -3818,53 +3818,53 @@ function wp() {
|
|
|
3818
3818
|
}, Nr = function(S, D) {
|
|
3819
3819
|
if (S instanceof RegExp) return Ut(S, D);
|
|
3820
3820
|
if (S instanceof Function) {
|
|
3821
|
-
for (var
|
|
3822
|
-
return !!S(D, ...
|
|
3821
|
+
for (var z = arguments.length, Y = new Array(z > 2 ? z - 2 : 0), we = 2; we < z; we++) Y[we - 2] = arguments[we];
|
|
3822
|
+
return !!S(D, ...Y);
|
|
3823
3823
|
}
|
|
3824
3824
|
return !1;
|
|
3825
|
-
}, Ev = function(S, D,
|
|
3825
|
+
}, Ev = function(S, D, z) {
|
|
3826
3826
|
if (!O[D] && H1(D) && Nr(R.tagNameCheck, D)) return !1;
|
|
3827
3827
|
if (_l && !gi[D] && !gi[Ai(D)]) {
|
|
3828
|
-
const
|
|
3829
|
-
if (we &&
|
|
3828
|
+
const Y = I(S), we = y(S);
|
|
3829
|
+
if (we && Y) {
|
|
3830
3830
|
const Ne = we.length;
|
|
3831
3831
|
for (let $e = Ne - 1; $e >= 0; --$e) {
|
|
3832
|
-
const Mt = S ===
|
|
3833
|
-
|
|
3832
|
+
const Mt = S === z ? d(we[$e], !0) : we[$e];
|
|
3833
|
+
Y.insertBefore(Mt, _(S));
|
|
3834
3834
|
}
|
|
3835
3835
|
}
|
|
3836
3836
|
}
|
|
3837
3837
|
return Yo(S), !0;
|
|
3838
|
-
}, G1 = function(S, D,
|
|
3839
|
-
return S.length === 0 ? D : D ===
|
|
3838
|
+
}, G1 = function(S, D, z, Y) {
|
|
3839
|
+
return S.length === 0 ? D : D === z || D === Y ? gn(D) : D;
|
|
3840
3840
|
}, qi = function(S, D) {
|
|
3841
3841
|
return S === D || I(S) !== null ? !1 : (yl && kl(S), !0);
|
|
3842
3842
|
}, Vl = function(S, D) {
|
|
3843
3843
|
if (Av(S), Hn(me.beforeSanitizeElements, S, null), qi(S, D)) return !0;
|
|
3844
3844
|
if (Mr(S))
|
|
3845
3845
|
return Yo(S), !0;
|
|
3846
|
-
const
|
|
3846
|
+
const z = It(F(S));
|
|
3847
3847
|
if (We = G1(me.uponSanitizeElement, We, pn, Un), Hn(me.uponSanitizeElement, S, {
|
|
3848
|
-
tagName:
|
|
3848
|
+
tagName: z,
|
|
3849
3849
|
allowedTags: We
|
|
3850
3850
|
}), qi(S, D)) return !0;
|
|
3851
|
-
if (Iv(S,
|
|
3851
|
+
if (Iv(S, z))
|
|
3852
3852
|
return Yo(S), !0;
|
|
3853
|
-
if (O[
|
|
3854
|
-
const
|
|
3855
|
-
return
|
|
3853
|
+
if (O[z] || !(fe.tagCheck instanceof Function && fe.tagCheck(z)) && !We[z]) {
|
|
3854
|
+
const Y = Ev(S, z, D);
|
|
3855
|
+
return Y === !1 && (Hn(me.afterSanitizeElements, S, null), qi(S, D)) ? !0 : Y;
|
|
3856
3856
|
}
|
|
3857
|
-
if (V(S) === kt.element && !vv(S) || (
|
|
3857
|
+
if (V(S) === kt.element && !vv(S) || (z === "noscript" || z === "noembed" || z === "noframes") && Ut(l5, S.innerHTML))
|
|
3858
3858
|
return Yo(S), !0;
|
|
3859
3859
|
if (Be && S.nodeType === kt.text) {
|
|
3860
|
-
const
|
|
3861
|
-
S.textContent !==
|
|
3860
|
+
const Y = Vr(S.textContent);
|
|
3861
|
+
S.textContent !== Y && (La(t.removed, { element: S.cloneNode() }), S.textContent = Y);
|
|
3862
3862
|
}
|
|
3863
3863
|
return Hn(me.afterSanitizeElements, S, null), qi(S, D);
|
|
3864
|
-
}, U1 = function(S, D,
|
|
3865
|
-
if (
|
|
3866
|
-
const
|
|
3867
|
-
return ke && Ut($n, D) || Xe && Ut(io, D) ? !0 :
|
|
3864
|
+
}, U1 = function(S, D, z) {
|
|
3865
|
+
if (q[D] || F1(D, S) || A1 && (D === "id" || D === "name") && (z in o || z in hv)) return !1;
|
|
3866
|
+
const Y = je[D] || fe.attributeCheck instanceof Function && fe.attributeCheck(D, S);
|
|
3867
|
+
return ke && Ut($n, D) || Xe && Ut(io, D) ? !0 : Y ? T1[D] || Ut(He, Ma(z, Gn, "")) || (D === "src" || D === "xlink:href" || D === "href") && S !== "script" && J0(z, "data:") === 0 && C1[S] || j && !Ut(ao, Ma(z, Gn, "")) ? !0 : !z : H1(S) && Nr(R.tagNameCheck, S) && Nr(R.attributeNameCheck, D, S) || D === "is" && R.allowCustomizedBuiltInElements && Nr(R.tagNameCheck, z);
|
|
3868
3868
|
}, Cv = Ze({}, [
|
|
3869
3869
|
"annotation-xml",
|
|
3870
3870
|
"color-profile",
|
|
@@ -3876,17 +3876,17 @@ function wp() {
|
|
|
3876
3876
|
"missing-glyph"
|
|
3877
3877
|
]), H1 = function(S) {
|
|
3878
3878
|
return !Cv[Ai(S)] && Ut(ie, S);
|
|
3879
|
-
}, kv = function(S, D,
|
|
3880
|
-
if (
|
|
3879
|
+
}, kv = function(S, D, z, Y) {
|
|
3880
|
+
if (ee && typeof u == "object" && typeof u.getAttributeType == "function" && !z) switch (u.getAttributeType(S, D)) {
|
|
3881
3881
|
case "TrustedHTML":
|
|
3882
|
-
return
|
|
3882
|
+
return ne(Y);
|
|
3883
3883
|
case "TrustedScriptURL":
|
|
3884
|
-
return
|
|
3884
|
+
return X(Y);
|
|
3885
3885
|
}
|
|
3886
|
-
return
|
|
3887
|
-
}, Tv = function(S, D,
|
|
3886
|
+
return Y;
|
|
3887
|
+
}, Tv = function(S, D, z, Y) {
|
|
3888
3888
|
try {
|
|
3889
|
-
return
|
|
3889
|
+
return z ? S.setAttributeNS(z, D, Y) : S.setAttribute(D, Y), Mr(S) ? (Yo(S), !1) : !0;
|
|
3890
3890
|
} catch {
|
|
3891
3891
|
return Yi(D, S), !1;
|
|
3892
3892
|
}
|
|
@@ -3894,31 +3894,31 @@ function wp() {
|
|
|
3894
3894
|
return Je && Ut(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, D) ? !0 : Ai(S) === "attributename" && q0(D, "href") !== null;
|
|
3895
3895
|
}, Ml = function(S, D) {
|
|
3896
3896
|
if (Hn(me.beforeSanitizeAttributes, S, null), qi(S, D)) return;
|
|
3897
|
-
const
|
|
3898
|
-
if (!
|
|
3897
|
+
const z = S.attributes;
|
|
3898
|
+
if (!z || Mr(S)) return;
|
|
3899
3899
|
je = G1(me.uponSanitizeAttribute, je, ro, Hi);
|
|
3900
|
-
const
|
|
3900
|
+
const Y = {
|
|
3901
3901
|
attrName: "",
|
|
3902
3902
|
attrValue: "",
|
|
3903
3903
|
keepAttr: !0,
|
|
3904
3904
|
allowedAttributes: je,
|
|
3905
3905
|
forceKeepAttr: void 0
|
|
3906
3906
|
};
|
|
3907
|
-
let we =
|
|
3907
|
+
let we = z.length;
|
|
3908
3908
|
const Ne = It(S.nodeName);
|
|
3909
3909
|
for (; we--; ) {
|
|
3910
|
-
const $e =
|
|
3910
|
+
const $e = z[we], Mt = $e.name, lo = $e.namespaceURI, Jt = $e.value, nn = It(Mt), Ji = Jt;
|
|
3911
3911
|
let on = Mt === "value" ? Ji : W4(Ji), j1 = !1;
|
|
3912
|
-
if (
|
|
3912
|
+
if (Y.attrName = nn, Y.attrValue = on, Y.keepAttr = !0, Y.forceKeepAttr = void 0, Hn(me.uponSanitizeAttribute, S, Y), on = Y.attrValue, S1 && (nn === "id" || nn === "name") && J0(on, I1) !== 0 && (Yi(Mt, S, $e), on = I1 + on, j1 = !0), W1(Mt, on)) {
|
|
3913
3913
|
Yi(Mt, S, $e);
|
|
3914
3914
|
continue;
|
|
3915
3915
|
}
|
|
3916
|
-
if (!
|
|
3917
|
-
if (!
|
|
3916
|
+
if (!Y.forceKeepAttr) {
|
|
3917
|
+
if (!Y.keepAttr) {
|
|
3918
3918
|
Yi(Mt, S, $e);
|
|
3919
3919
|
continue;
|
|
3920
3920
|
}
|
|
3921
|
-
if (!
|
|
3921
|
+
if (!Q && Ut(rf, on)) {
|
|
3922
3922
|
Yi(Mt, S, $e);
|
|
3923
3923
|
continue;
|
|
3924
3924
|
}
|
|
@@ -3932,11 +3932,11 @@ function wp() {
|
|
|
3932
3932
|
Hn(me.afterSanitizeAttributes, S, null), qi(S, D);
|
|
3933
3933
|
}, Ta = function(S) {
|
|
3934
3934
|
let D = null;
|
|
3935
|
-
const
|
|
3936
|
-
for (Hn(me.beforeSanitizeShadowDOM, S, null); D =
|
|
3935
|
+
const z = xl(S);
|
|
3936
|
+
for (Hn(me.beforeSanitizeShadowDOM, S, null); D = z.nextNode(); )
|
|
3937
3937
|
if (Hn(me.uponSanitizeShadowNode, D, null), Vl(D, S), Ml(D, S), qo(D.content) && Ta(D.content), V(D) === kt.element) {
|
|
3938
|
-
const
|
|
3939
|
-
qo(
|
|
3938
|
+
const Y = M(D);
|
|
3939
|
+
qo(Y) && (Nl(Y), Ta(Y));
|
|
3940
3940
|
}
|
|
3941
3941
|
Be && $1(S), Hn(me.afterSanitizeShadowDOM, S, null);
|
|
3942
3942
|
}, Nl = function(S) {
|
|
@@ -3945,20 +3945,20 @@ function wp() {
|
|
|
3945
3945
|
shadow: null
|
|
3946
3946
|
}];
|
|
3947
3947
|
for (; D.length > 0; ) {
|
|
3948
|
-
const
|
|
3949
|
-
if (
|
|
3950
|
-
Ta(
|
|
3948
|
+
const z = D.pop();
|
|
3949
|
+
if (z.shadow) {
|
|
3950
|
+
Ta(z.shadow);
|
|
3951
3951
|
continue;
|
|
3952
3952
|
}
|
|
3953
|
-
const
|
|
3953
|
+
const Y = z.node, we = V(Y) === kt.element, Ne = y(Y);
|
|
3954
3954
|
if (Ne) for (let $e = Ne.length - 1; $e >= 0; --$e) D.push({
|
|
3955
3955
|
node: Ne[$e],
|
|
3956
3956
|
shadow: null
|
|
3957
3957
|
});
|
|
3958
3958
|
if (we) {
|
|
3959
|
-
const $e = L ? L(
|
|
3959
|
+
const $e = L ? L(Y) : null;
|
|
3960
3960
|
if (typeof $e == "string" && It($e) === "template") {
|
|
3961
|
-
const Mt =
|
|
3961
|
+
const Mt = Y.content;
|
|
3962
3962
|
qo(Mt) && D.push({
|
|
3963
3963
|
node: Mt,
|
|
3964
3964
|
shadow: null
|
|
@@ -3966,7 +3966,7 @@ function wp() {
|
|
|
3966
3966
|
}
|
|
3967
3967
|
}
|
|
3968
3968
|
if (we) {
|
|
3969
|
-
const $e = M(
|
|
3969
|
+
const $e = M(Y);
|
|
3970
3970
|
qo($e) && D.push({
|
|
3971
3971
|
node: null,
|
|
3972
3972
|
shadow: $e
|
|
@@ -3977,48 +3977,48 @@ function wp() {
|
|
|
3977
3977
|
}
|
|
3978
3978
|
}
|
|
3979
3979
|
};
|
|
3980
|
-
return t.sanitize = function(
|
|
3981
|
-
let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = null,
|
|
3982
|
-
if (bl = !
|
|
3980
|
+
return t.sanitize = function(J) {
|
|
3981
|
+
let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = null, z = null, Y = null, we = null;
|
|
3982
|
+
if (bl = !J, bl && (J = "<!-->"), typeof J != "string" && !ka(J) && (J = Y4(J), typeof J != "string"))
|
|
3983
3983
|
throw Io("dirty is not a string, aborting");
|
|
3984
|
-
if (!t.isSupported) return
|
|
3984
|
+
if (!t.isSupported) return J;
|
|
3985
3985
|
zo ? (We = Un, je = Hi) : Il(S), (me.uponSanitizeElement.length > 0 || me.uponSanitizeAttribute.length > 0) && (We = gn(We)), me.uponSanitizeAttribute.length > 0 && (je = gn(je)), t.removed = [];
|
|
3986
|
-
const Ne = yl && typeof
|
|
3986
|
+
const Ne = yl && typeof J != "string" && ka(J);
|
|
3987
3987
|
let $e = [];
|
|
3988
3988
|
const Mt = pi;
|
|
3989
3989
|
if (Ne) {
|
|
3990
|
-
Sv(
|
|
3991
|
-
const nn = F(
|
|
3990
|
+
Sv(J);
|
|
3991
|
+
const nn = F(J);
|
|
3992
3992
|
if (typeof nn == "string") {
|
|
3993
3993
|
const Ji = It(nn);
|
|
3994
3994
|
if (!We[Ji] || O[Ji])
|
|
3995
|
-
throw El(
|
|
3995
|
+
throw El(J), Io("root node is forbidden and cannot be sanitized in-place");
|
|
3996
3996
|
}
|
|
3997
|
-
if (Mr(
|
|
3998
|
-
throw El(
|
|
3999
|
-
$e = Tl(
|
|
4000
|
-
} else if (ka(
|
|
4001
|
-
D = B1("<!---->"),
|
|
3997
|
+
if (Mr(J))
|
|
3998
|
+
throw El(J), Io("root node is clobbered and cannot be sanitized in-place");
|
|
3999
|
+
$e = Tl(J), pi = Nc();
|
|
4000
|
+
} else if (ka(J))
|
|
4001
|
+
D = B1("<!---->"), z = D.ownerDocument.importNode(J, !0), z.nodeType === kt.element && z.nodeName === "BODY" || z.nodeName === "HTML" ? D = z : D.appendChild(z), Nl(D);
|
|
4002
4002
|
else {
|
|
4003
|
-
if (!Wi && !Be && !Yt &&
|
|
4004
|
-
if (D = B1(
|
|
4003
|
+
if (!Wi && !Be && !Yt && J.indexOf("<") === -1) return ee && Tr ? ne(J) : J;
|
|
4004
|
+
if (D = B1(J), !D) return Wi ? null : Tr ? W : "";
|
|
4005
4005
|
}
|
|
4006
4006
|
D && Cr && Yo(D.firstChild);
|
|
4007
|
-
const lo = Ne ?
|
|
4007
|
+
const lo = Ne ? J : D;
|
|
4008
4008
|
try {
|
|
4009
|
-
Ne && Nl(
|
|
4009
|
+
Ne && Nl(J);
|
|
4010
4010
|
const nn = xl(lo);
|
|
4011
|
-
for (;
|
|
4012
|
-
Vl(
|
|
4013
|
-
Ne && bv(
|
|
4011
|
+
for (; Y = nn.nextNode(); )
|
|
4012
|
+
Vl(Y, lo), Ml(Y, lo), qo(Y.content) && Ta(Y.content);
|
|
4013
|
+
Ne && bv(J, $e);
|
|
4014
4014
|
} catch (nn) {
|
|
4015
|
-
throw Ne && (El(
|
|
4015
|
+
throw Ne && (El(J), D1(J, $e)), nn;
|
|
4016
4016
|
} finally {
|
|
4017
4017
|
pi = Mt;
|
|
4018
4018
|
}
|
|
4019
4019
|
if (Ne) {
|
|
4020
|
-
if (D1(
|
|
4021
|
-
return Be && Ll(
|
|
4020
|
+
if (D1(J, $e)) throw Io("a node selected for removal could not be safely returned; refusing to sanitize in place");
|
|
4021
|
+
return Be && Ll(J), J;
|
|
4022
4022
|
}
|
|
4023
4023
|
if (Wi) {
|
|
4024
4024
|
if (Be && Ll(D), kr)
|
|
@@ -4028,28 +4028,28 @@ function wp() {
|
|
|
4028
4028
|
}
|
|
4029
4029
|
let Jt = Yt ? D.outerHTML : D.innerHTML;
|
|
4030
4030
|
return Yt && We["!doctype"] && D.ownerDocument && D.ownerDocument.doctype && D.ownerDocument.doctype.name && Ut(r5, D.ownerDocument.doctype.name) && (Jt = "<!DOCTYPE " + D.ownerDocument.doctype.name + `>
|
|
4031
|
-
` + Jt), Be && (Jt = Vr(Jt)),
|
|
4031
|
+
` + Jt), Be && (Jt = Vr(Jt)), ee && Tr ? ne(Jt) : Jt;
|
|
4032
4032
|
}, t.setConfig = function() {
|
|
4033
|
-
let
|
|
4034
|
-
Il(
|
|
4033
|
+
let J = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4034
|
+
Il(J), zo = !0, Un = We, Hi = je;
|
|
4035
4035
|
}, t.clearConfig = function() {
|
|
4036
|
-
zi = null, zo = !1, Un = null, Hi = null,
|
|
4037
|
-
}, t.isValidAttribute = function(
|
|
4036
|
+
zi = null, zo = !1, Un = null, Hi = null, ee = U, W = "";
|
|
4037
|
+
}, t.isValidAttribute = function(J, S, D) {
|
|
4038
4038
|
zi || Il({});
|
|
4039
|
-
const
|
|
4040
|
-
return typeof D == "string" && (W1(S, D) || !
|
|
4041
|
-
}, t.addHook = function(
|
|
4042
|
-
typeof S == "function" && rn(me,
|
|
4043
|
-
}, t.removeHook = function(
|
|
4044
|
-
if (rn(me,
|
|
4039
|
+
const z = It(J), Y = It(S);
|
|
4040
|
+
return typeof D == "string" && (W1(S, D) || !Q && Ut(rf, D)) ? !1 : U1(z, Y, D);
|
|
4041
|
+
}, t.addHook = function(J, S) {
|
|
4042
|
+
typeof S == "function" && rn(me, J) && La(me[J], S);
|
|
4043
|
+
}, t.removeHook = function(J, S) {
|
|
4044
|
+
if (rn(me, J)) {
|
|
4045
4045
|
if (S !== void 0) {
|
|
4046
|
-
const D = G4(me[
|
|
4047
|
-
return D === -1 ? void 0 : H4(me[
|
|
4046
|
+
const D = G4(me[J], S);
|
|
4047
|
+
return D === -1 ? void 0 : H4(me[J], D, 1)[0];
|
|
4048
4048
|
}
|
|
4049
|
-
return Y0(me[
|
|
4049
|
+
return Y0(me[J]);
|
|
4050
4050
|
}
|
|
4051
|
-
}, t.removeHooks = function(
|
|
4052
|
-
rn(me,
|
|
4051
|
+
}, t.removeHooks = function(J) {
|
|
4052
|
+
rn(me, J) && (me[J] = []);
|
|
4053
4053
|
}, t.removeAllHooks = function() {
|
|
4054
4054
|
me = sf();
|
|
4055
4055
|
}, t;
|
|
@@ -4263,20 +4263,20 @@ function D5(e, t = {}) {
|
|
|
4263
4263
|
inLinked: !1,
|
|
4264
4264
|
text: ""
|
|
4265
4265
|
}, c = () => l, { onError: u } = t;
|
|
4266
|
-
function f(R, O,
|
|
4266
|
+
function f(R, O, q, ...fe) {
|
|
4267
4267
|
const Xe = c();
|
|
4268
|
-
if (O.column +=
|
|
4269
|
-
const ke = o ? ss(Xe.startLoc, O) : null,
|
|
4268
|
+
if (O.column += q, O.offset += q, u) {
|
|
4269
|
+
const ke = o ? ss(Xe.startLoc, O) : null, j = Aa(R, ke, {
|
|
4270
4270
|
domain: O5,
|
|
4271
4271
|
args: fe
|
|
4272
4272
|
});
|
|
4273
|
-
u(
|
|
4273
|
+
u(j);
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
|
-
function d(R, O,
|
|
4276
|
+
function d(R, O, q) {
|
|
4277
4277
|
R.endLoc = a(), R.currentType = O;
|
|
4278
4278
|
const fe = { type: O };
|
|
4279
|
-
return o && (fe.loc = ss(R.startLoc, R.endLoc)),
|
|
4279
|
+
return o && (fe.loc = ss(R.startLoc, R.endLoc)), q != null && (fe.value = q), fe;
|
|
4280
4280
|
}
|
|
4281
4281
|
const h = (R) => d(
|
|
4282
4282
|
R,
|
|
@@ -4311,60 +4311,60 @@ function D5(e, t = {}) {
|
|
|
4311
4311
|
return O >= 48 && O <= 57;
|
|
4312
4312
|
}
|
|
4313
4313
|
function k(R, O) {
|
|
4314
|
-
const { currentType:
|
|
4315
|
-
if (
|
|
4314
|
+
const { currentType: q } = O;
|
|
4315
|
+
if (q !== 2)
|
|
4316
4316
|
return !1;
|
|
4317
4317
|
_(R);
|
|
4318
4318
|
const fe = I(R.currentPeek());
|
|
4319
4319
|
return R.resetPeek(), fe;
|
|
4320
4320
|
}
|
|
4321
4321
|
function x(R, O) {
|
|
4322
|
-
const { currentType:
|
|
4323
|
-
if (
|
|
4322
|
+
const { currentType: q } = O;
|
|
4323
|
+
if (q !== 2)
|
|
4324
4324
|
return !1;
|
|
4325
4325
|
_(R);
|
|
4326
4326
|
const fe = R.currentPeek() === "-" ? R.peek() : R.currentPeek(), Xe = M(fe);
|
|
4327
4327
|
return R.resetPeek(), Xe;
|
|
4328
4328
|
}
|
|
4329
4329
|
function L(R, O) {
|
|
4330
|
-
const { currentType:
|
|
4331
|
-
if (
|
|
4330
|
+
const { currentType: q } = O;
|
|
4331
|
+
if (q !== 2)
|
|
4332
4332
|
return !1;
|
|
4333
4333
|
_(R);
|
|
4334
4334
|
const fe = R.currentPeek() === ff;
|
|
4335
4335
|
return R.resetPeek(), fe;
|
|
4336
4336
|
}
|
|
4337
4337
|
function C(R, O) {
|
|
4338
|
-
const { currentType:
|
|
4339
|
-
if (
|
|
4338
|
+
const { currentType: q } = O;
|
|
4339
|
+
if (q !== 8)
|
|
4340
4340
|
return !1;
|
|
4341
4341
|
_(R);
|
|
4342
4342
|
const fe = R.currentPeek() === ".";
|
|
4343
4343
|
return R.resetPeek(), fe;
|
|
4344
4344
|
}
|
|
4345
4345
|
function V(R, O) {
|
|
4346
|
-
const { currentType:
|
|
4347
|
-
if (
|
|
4346
|
+
const { currentType: q } = O;
|
|
4347
|
+
if (q !== 9)
|
|
4348
4348
|
return !1;
|
|
4349
4349
|
_(R);
|
|
4350
4350
|
const fe = I(R.currentPeek());
|
|
4351
4351
|
return R.resetPeek(), fe;
|
|
4352
4352
|
}
|
|
4353
4353
|
function F(R, O) {
|
|
4354
|
-
const { currentType:
|
|
4355
|
-
if (!(
|
|
4354
|
+
const { currentType: q } = O;
|
|
4355
|
+
if (!(q === 8 || q === 12))
|
|
4356
4356
|
return !1;
|
|
4357
4357
|
_(R);
|
|
4358
4358
|
const fe = R.currentPeek() === ":";
|
|
4359
4359
|
return R.resetPeek(), fe;
|
|
4360
4360
|
}
|
|
4361
4361
|
function B(R, O) {
|
|
4362
|
-
const { currentType:
|
|
4363
|
-
if (
|
|
4362
|
+
const { currentType: q } = O;
|
|
4363
|
+
if (q !== 10)
|
|
4364
4364
|
return !1;
|
|
4365
4365
|
const fe = () => {
|
|
4366
4366
|
const ke = R.currentPeek();
|
|
4367
|
-
return ke === "{" ? I(R.peek()) : ke === "@" || ke === "%" || ke === "|" || ke === ":" || ke === "." || ke === Eo || !ke ? !1 : ke === Qt ? (R.peek(), fe()) :
|
|
4367
|
+
return ke === "{" ? I(R.peek()) : ke === "@" || ke === "%" || ke === "|" || ke === ":" || ke === "." || ke === Eo || !ke ? !1 : ke === Qt ? (R.peek(), fe()) : W(R, !1);
|
|
4368
4368
|
}, Xe = fe();
|
|
4369
4369
|
return R.resetPeek(), Xe;
|
|
4370
4370
|
}
|
|
@@ -4373,25 +4373,25 @@ function D5(e, t = {}) {
|
|
|
4373
4373
|
const O = R.currentPeek() === "|";
|
|
4374
4374
|
return R.resetPeek(), O;
|
|
4375
4375
|
}
|
|
4376
|
-
function
|
|
4377
|
-
const O = _(R),
|
|
4376
|
+
function ee(R) {
|
|
4377
|
+
const O = _(R), q = R.currentPeek() === "%" && R.peek() === "{";
|
|
4378
4378
|
return R.resetPeek(), {
|
|
4379
|
-
isModulo:
|
|
4379
|
+
isModulo: q,
|
|
4380
4380
|
hasSpace: O.length > 0
|
|
4381
4381
|
};
|
|
4382
4382
|
}
|
|
4383
|
-
function
|
|
4384
|
-
const
|
|
4385
|
-
const
|
|
4386
|
-
return
|
|
4387
|
-
}, fe =
|
|
4383
|
+
function W(R, O = !0) {
|
|
4384
|
+
const q = (Xe = !1, ke = "", j = !1) => {
|
|
4385
|
+
const Q = R.currentPeek();
|
|
4386
|
+
return Q === "{" ? ke === "%" ? !1 : Xe : Q === "@" || !Q ? ke === "%" ? !0 : Xe : Q === "%" ? (R.peek(), q(Xe, "%", !0)) : Q === "|" ? ke === "%" || j ? !0 : !(ke === Eo || ke === Qt) : Q === Eo ? (R.peek(), q(!0, Eo, j)) : Q === Qt ? (R.peek(), q(!0, Qt, j)) : !0;
|
|
4387
|
+
}, fe = q();
|
|
4388
4388
|
return O && R.resetPeek(), fe;
|
|
4389
4389
|
}
|
|
4390
4390
|
function U(R, O) {
|
|
4391
|
-
const
|
|
4392
|
-
return
|
|
4391
|
+
const q = R.currentChar();
|
|
4392
|
+
return q === Qo ? Qo : O(q) ? (R.next(), q) : null;
|
|
4393
4393
|
}
|
|
4394
|
-
function
|
|
4394
|
+
function te(R) {
|
|
4395
4395
|
const O = R.charCodeAt(0);
|
|
4396
4396
|
return O >= 97 && O <= 122 || // a-z
|
|
4397
4397
|
O >= 65 && O <= 90 || // A-Z
|
|
@@ -4400,7 +4400,7 @@ function D5(e, t = {}) {
|
|
|
4400
4400
|
O === 36;
|
|
4401
4401
|
}
|
|
4402
4402
|
function be(R) {
|
|
4403
|
-
return U(R,
|
|
4403
|
+
return U(R, te);
|
|
4404
4404
|
}
|
|
4405
4405
|
function Ee(R) {
|
|
4406
4406
|
const O = R.charCodeAt(0);
|
|
@@ -4411,15 +4411,15 @@ function D5(e, t = {}) {
|
|
|
4411
4411
|
O === 36 || // $
|
|
4412
4412
|
O === 45;
|
|
4413
4413
|
}
|
|
4414
|
-
function
|
|
4414
|
+
function ne(R) {
|
|
4415
4415
|
return U(R, Ee);
|
|
4416
4416
|
}
|
|
4417
|
-
function
|
|
4417
|
+
function X(R) {
|
|
4418
4418
|
const O = R.charCodeAt(0);
|
|
4419
4419
|
return O >= 48 && O <= 57;
|
|
4420
4420
|
}
|
|
4421
4421
|
function pe(R) {
|
|
4422
|
-
return U(R,
|
|
4422
|
+
return U(R, X);
|
|
4423
4423
|
}
|
|
4424
4424
|
function de(R) {
|
|
4425
4425
|
const O = R.charCodeAt(0);
|
|
@@ -4431,10 +4431,10 @@ function D5(e, t = {}) {
|
|
|
4431
4431
|
return U(R, de);
|
|
4432
4432
|
}
|
|
4433
4433
|
function ue(R) {
|
|
4434
|
-
let O = "",
|
|
4434
|
+
let O = "", q = "";
|
|
4435
4435
|
for (; O = pe(R); )
|
|
4436
|
-
|
|
4437
|
-
return
|
|
4436
|
+
q += O;
|
|
4437
|
+
return q;
|
|
4438
4438
|
}
|
|
4439
4439
|
function ye(R) {
|
|
4440
4440
|
y(R);
|
|
@@ -4444,33 +4444,33 @@ function D5(e, t = {}) {
|
|
|
4444
4444
|
function Fe(R) {
|
|
4445
4445
|
let O = "";
|
|
4446
4446
|
for (; ; ) {
|
|
4447
|
-
const
|
|
4448
|
-
if (
|
|
4447
|
+
const q = R.currentChar();
|
|
4448
|
+
if (q === "{" || q === "}" || q === "@" || q === "|" || !q)
|
|
4449
4449
|
break;
|
|
4450
|
-
if (
|
|
4451
|
-
if (
|
|
4452
|
-
O +=
|
|
4450
|
+
if (q === "%")
|
|
4451
|
+
if (W(R))
|
|
4452
|
+
O += q, R.next();
|
|
4453
4453
|
else
|
|
4454
4454
|
break;
|
|
4455
|
-
else if (
|
|
4456
|
-
if (
|
|
4457
|
-
O +=
|
|
4455
|
+
else if (q === Eo || q === Qt)
|
|
4456
|
+
if (W(R))
|
|
4457
|
+
O += q, R.next();
|
|
4458
4458
|
else {
|
|
4459
4459
|
if (se(R))
|
|
4460
4460
|
break;
|
|
4461
|
-
O +=
|
|
4461
|
+
O += q, R.next();
|
|
4462
4462
|
}
|
|
4463
4463
|
else
|
|
4464
|
-
O +=
|
|
4464
|
+
O += q, R.next();
|
|
4465
4465
|
}
|
|
4466
4466
|
return O;
|
|
4467
4467
|
}
|
|
4468
4468
|
function Oe(R) {
|
|
4469
4469
|
y(R);
|
|
4470
|
-
let O = "",
|
|
4471
|
-
for (; O =
|
|
4472
|
-
|
|
4473
|
-
return R.currentChar() === Qo && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
4470
|
+
let O = "", q = "";
|
|
4471
|
+
for (; O = ne(R); )
|
|
4472
|
+
q += O;
|
|
4473
|
+
return R.currentChar() === Qo && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0), q;
|
|
4474
4474
|
}
|
|
4475
4475
|
function me(R) {
|
|
4476
4476
|
y(R);
|
|
@@ -4482,11 +4482,11 @@ function D5(e, t = {}) {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
function qe(R) {
|
|
4484
4484
|
y(R), m(R, "'");
|
|
4485
|
-
let O = "",
|
|
4485
|
+
let O = "", q = "";
|
|
4486
4486
|
for (; O = U(R, bt); )
|
|
4487
|
-
O === "\\" ?
|
|
4487
|
+
O === "\\" ? q += zt(R) : q += O;
|
|
4488
4488
|
const fe = R.currentChar();
|
|
4489
|
-
return fe === Qt || fe === Qo ? (f(Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), fe === Qt && (R.next(), m(R, "'")),
|
|
4489
|
+
return fe === Qt || fe === Qo ? (f(Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), fe === Qt && (R.next(), m(R, "'")), q) : (m(R, "'"), q);
|
|
4490
4490
|
}
|
|
4491
4491
|
function zt(R) {
|
|
4492
4492
|
const O = R.currentChar();
|
|
@@ -4502,10 +4502,10 @@ function D5(e, t = {}) {
|
|
|
4502
4502
|
return f(Ve.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, O), "";
|
|
4503
4503
|
}
|
|
4504
4504
|
}
|
|
4505
|
-
function $n(R, O,
|
|
4505
|
+
function $n(R, O, q) {
|
|
4506
4506
|
m(R, O);
|
|
4507
4507
|
let fe = "";
|
|
4508
|
-
for (let Xe = 0; Xe <
|
|
4508
|
+
for (let Xe = 0; Xe < q; Xe++) {
|
|
4509
4509
|
const ke = _e(R);
|
|
4510
4510
|
if (!ke) {
|
|
4511
4511
|
f(Ve.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${O}${fe}${R.currentChar()}`);
|
|
@@ -4520,21 +4520,21 @@ function D5(e, t = {}) {
|
|
|
4520
4520
|
}
|
|
4521
4521
|
function ao(R) {
|
|
4522
4522
|
y(R);
|
|
4523
|
-
let O = "",
|
|
4523
|
+
let O = "", q = "";
|
|
4524
4524
|
for (; O = U(R, io); )
|
|
4525
|
-
|
|
4526
|
-
return
|
|
4525
|
+
q += O;
|
|
4526
|
+
return q;
|
|
4527
4527
|
}
|
|
4528
4528
|
function Gn(R) {
|
|
4529
|
-
let O = "",
|
|
4529
|
+
let O = "", q = "";
|
|
4530
4530
|
for (; O = be(R); )
|
|
4531
|
-
|
|
4532
|
-
return
|
|
4531
|
+
q += O;
|
|
4532
|
+
return q;
|
|
4533
4533
|
}
|
|
4534
4534
|
function ie(R) {
|
|
4535
|
-
const O = (
|
|
4535
|
+
const O = (q) => {
|
|
4536
4536
|
const fe = R.currentChar();
|
|
4537
|
-
return fe === "{" || fe === "%" || fe === "@" || fe === "|" || fe === "(" || fe === ")" || !fe || fe === Eo ?
|
|
4537
|
+
return fe === "{" || fe === "%" || fe === "@" || fe === "|" || fe === "(" || fe === ")" || !fe || fe === Eo ? q : (q += fe, R.next(), O(q));
|
|
4538
4538
|
};
|
|
4539
4539
|
return O("");
|
|
4540
4540
|
}
|
|
@@ -4548,48 +4548,48 @@ function D5(e, t = {}) {
|
|
|
4548
4548
|
return y(R), O;
|
|
4549
4549
|
}
|
|
4550
4550
|
function We(R, O) {
|
|
4551
|
-
let
|
|
4551
|
+
let q = null;
|
|
4552
4552
|
switch (R.currentChar()) {
|
|
4553
4553
|
case "{":
|
|
4554
|
-
return O.braceNest >= 1 && f(Ve.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), R.next(),
|
|
4554
|
+
return O.braceNest >= 1 && f(Ve.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), R.next(), q = d(
|
|
4555
4555
|
O,
|
|
4556
4556
|
2,
|
|
4557
4557
|
"{"
|
|
4558
4558
|
/* TokenChars.BraceLeft */
|
|
4559
|
-
), y(R), O.braceNest++,
|
|
4559
|
+
), y(R), O.braceNest++, q;
|
|
4560
4560
|
case "}":
|
|
4561
|
-
return O.braceNest > 0 && O.currentType === 2 && f(Ve.EMPTY_PLACEHOLDER, a(), 0), R.next(),
|
|
4561
|
+
return O.braceNest > 0 && O.currentType === 2 && f(Ve.EMPTY_PLACEHOLDER, a(), 0), R.next(), q = d(
|
|
4562
4562
|
O,
|
|
4563
4563
|
3,
|
|
4564
4564
|
"}"
|
|
4565
4565
|
/* TokenChars.BraceRight */
|
|
4566
|
-
), O.braceNest--, O.braceNest > 0 && y(R), O.inLinked && O.braceNest === 0 && (O.inLinked = !1),
|
|
4566
|
+
), O.braceNest--, O.braceNest > 0 && y(R), O.inLinked && O.braceNest === 0 && (O.inLinked = !1), q;
|
|
4567
4567
|
case "@":
|
|
4568
|
-
return O.braceNest > 0 && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
4568
|
+
return O.braceNest > 0 && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0), q = pn(R, O) || h(O), O.braceNest = 0, q;
|
|
4569
4569
|
default: {
|
|
4570
|
-
let Xe = !0, ke = !0,
|
|
4570
|
+
let Xe = !0, ke = !0, j = !0;
|
|
4571
4571
|
if (se(R))
|
|
4572
|
-
return O.braceNest > 0 && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
4572
|
+
return O.braceNest > 0 && f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0), q = d(O, 1, He(R)), O.braceNest = 0, O.inLinked = !1, q;
|
|
4573
4573
|
if (O.braceNest > 0 && (O.currentType === 5 || O.currentType === 6 || O.currentType === 7))
|
|
4574
4574
|
return f(Ve.UNTERMINATED_CLOSING_BRACE, a(), 0), O.braceNest = 0, je(R, O);
|
|
4575
4575
|
if (Xe = k(R, O))
|
|
4576
|
-
return
|
|
4576
|
+
return q = d(O, 5, Oe(R)), y(R), q;
|
|
4577
4577
|
if (ke = x(R, O))
|
|
4578
|
-
return
|
|
4579
|
-
if (
|
|
4580
|
-
return
|
|
4581
|
-
if (!Xe && !ke && !
|
|
4582
|
-
return
|
|
4578
|
+
return q = d(O, 6, me(R)), y(R), q;
|
|
4579
|
+
if (j = L(R, O))
|
|
4580
|
+
return q = d(O, 7, qe(R)), y(R), q;
|
|
4581
|
+
if (!Xe && !ke && !j)
|
|
4582
|
+
return q = d(O, 13, ao(R)), f(Ve.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, q.value), y(R), q;
|
|
4583
4583
|
break;
|
|
4584
4584
|
}
|
|
4585
4585
|
}
|
|
4586
|
-
return
|
|
4586
|
+
return q;
|
|
4587
4587
|
}
|
|
4588
4588
|
function pn(R, O) {
|
|
4589
|
-
const { currentType:
|
|
4589
|
+
const { currentType: q } = O;
|
|
4590
4590
|
let fe = null;
|
|
4591
4591
|
const Xe = R.currentChar();
|
|
4592
|
-
switch ((
|
|
4592
|
+
switch ((q === 8 || q === 9 || q === 12 || q === 10) && (Xe === Qt || Xe === Eo) && f(Ve.INVALID_LINKED_FORMAT, a(), 0), Xe) {
|
|
4593
4593
|
case "@":
|
|
4594
4594
|
return R.next(), fe = d(
|
|
4595
4595
|
O,
|
|
@@ -4612,11 +4612,11 @@ function D5(e, t = {}) {
|
|
|
4612
4612
|
/* TokenChars.LinkedDelimiter */
|
|
4613
4613
|
);
|
|
4614
4614
|
default:
|
|
4615
|
-
return se(R) ? (fe = d(O, 1, He(R)), O.braceNest = 0, O.inLinked = !1, fe) : C(R, O) || F(R, O) ? (y(R), pn(R, O)) : V(R, O) ? (y(R), d(O, 12, Gn(R))) : B(R, O) ? (y(R), Xe === "{" ? We(R, O) || fe : d(O, 11, ie(R))) : (
|
|
4615
|
+
return se(R) ? (fe = d(O, 1, He(R)), O.braceNest = 0, O.inLinked = !1, fe) : C(R, O) || F(R, O) ? (y(R), pn(R, O)) : V(R, O) ? (y(R), d(O, 12, Gn(R))) : B(R, O) ? (y(R), Xe === "{" ? We(R, O) || fe : d(O, 11, ie(R))) : (q === 8 && f(Ve.INVALID_LINKED_FORMAT, a(), 0), O.braceNest = 0, O.inLinked = !1, je(R, O));
|
|
4616
4616
|
}
|
|
4617
4617
|
}
|
|
4618
4618
|
function je(R, O) {
|
|
4619
|
-
let
|
|
4619
|
+
let q = {
|
|
4620
4620
|
type: 14
|
|
4621
4621
|
/* TokenTypes.EOF */
|
|
4622
4622
|
};
|
|
@@ -4638,20 +4638,20 @@ function D5(e, t = {}) {
|
|
|
4638
4638
|
return pn(R, O) || h(O);
|
|
4639
4639
|
default: {
|
|
4640
4640
|
if (se(R))
|
|
4641
|
-
return
|
|
4642
|
-
const { isModulo: Xe, hasSpace: ke } =
|
|
4641
|
+
return q = d(O, 1, He(R)), O.braceNest = 0, O.inLinked = !1, q;
|
|
4642
|
+
const { isModulo: Xe, hasSpace: ke } = ee(R);
|
|
4643
4643
|
if (Xe)
|
|
4644
4644
|
return ke ? d(O, 0, Fe(R)) : d(O, 4, ye(R));
|
|
4645
|
-
if (
|
|
4645
|
+
if (W(R))
|
|
4646
4646
|
return d(O, 0, Fe(R));
|
|
4647
4647
|
break;
|
|
4648
4648
|
}
|
|
4649
4649
|
}
|
|
4650
|
-
return
|
|
4650
|
+
return q;
|
|
4651
4651
|
}
|
|
4652
4652
|
function ro() {
|
|
4653
|
-
const { currentType: R, offset: O, startLoc:
|
|
4654
|
-
return l.lastType = R, l.lastOffset = O, l.lastStartLoc =
|
|
4653
|
+
const { currentType: R, offset: O, startLoc: q, endLoc: fe } = l;
|
|
4654
|
+
return l.lastType = R, l.lastOffset = O, l.lastStartLoc = q, l.lastEndLoc = fe, l.offset = i(), l.startLoc = a(), n.currentChar() === Qo ? d(
|
|
4655
4655
|
l,
|
|
4656
4656
|
14
|
|
4657
4657
|
/* TokenTypes.EOF */
|
|
@@ -4771,22 +4771,22 @@ function G5(e = {}) {
|
|
|
4771
4771
|
V.items = [];
|
|
4772
4772
|
let F = null, B = null;
|
|
4773
4773
|
do {
|
|
4774
|
-
const
|
|
4775
|
-
switch (F = null,
|
|
4774
|
+
const W = F || k.nextToken();
|
|
4775
|
+
switch (F = null, W.type) {
|
|
4776
4776
|
case 0:
|
|
4777
|
-
|
|
4777
|
+
W.value == null && i(k, Ve.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Wn(W)), V.items.push(l(k, W.value || ""));
|
|
4778
4778
|
break;
|
|
4779
4779
|
case 6:
|
|
4780
|
-
|
|
4780
|
+
W.value == null && i(k, Ve.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Wn(W)), V.items.push(c(k, W.value || ""));
|
|
4781
4781
|
break;
|
|
4782
4782
|
case 4:
|
|
4783
4783
|
B = !0;
|
|
4784
4784
|
break;
|
|
4785
4785
|
case 5:
|
|
4786
|
-
|
|
4786
|
+
W.value == null && i(k, Ve.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Wn(W)), V.items.push(u(k, W.value || "", !!B)), B && (a(k, Id.USE_MODULO_SYNTAX, x.lastStartLoc, 0, Wn(W)), B = null);
|
|
4787
4787
|
break;
|
|
4788
4788
|
case 7:
|
|
4789
|
-
|
|
4789
|
+
W.value == null && i(k, Ve.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Wn(W)), V.items.push(f(k, W.value || ""));
|
|
4790
4790
|
break;
|
|
4791
4791
|
case 8: {
|
|
4792
4792
|
const U = m(k);
|
|
@@ -4795,8 +4795,8 @@ function G5(e = {}) {
|
|
|
4795
4795
|
}
|
|
4796
4796
|
}
|
|
4797
4797
|
} while (x.currentType !== 14 && x.currentType !== 1);
|
|
4798
|
-
const se = x.currentType === 1 ? x.lastOffset : k.currentOffset(),
|
|
4799
|
-
return s(V, se,
|
|
4798
|
+
const se = x.currentType === 1 ? x.lastOffset : k.currentOffset(), ee = x.currentType === 1 ? x.lastEndLoc : k.currentPosition();
|
|
4799
|
+
return s(V, se, ee), V;
|
|
4800
4800
|
}
|
|
4801
4801
|
function y(k, x, L, C) {
|
|
4802
4802
|
const V = k.context();
|
|
@@ -5670,9 +5670,9 @@ const Af = (e) => {
|
|
|
5670
5670
|
}, Dy = () => Hp;
|
|
5671
5671
|
let Sf = 0;
|
|
5672
5672
|
function Fy(e = {}) {
|
|
5673
|
-
const t = rt(e.onWarn) ? e.onWarn : m5, o = le(e.version) ? e.version : Vy, n = le(e.locale) || rt(e.locale) ? e.locale : pa, i = rt(n) ? pa : n, a = dt(e.fallbackLocale) || De(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, r = De(e.messages) ? e.messages : Hc(i), s = De(e.datetimeFormats) ? e.datetimeFormats : Hc(i), l = De(e.numberFormats) ? e.numberFormats : Hc(i), c = jt(it(), e.modifiers, My()), u = e.pluralRules || it(), f = rt(e.missing) ? e.missing : null, d = Ue(e.missingWarn) || ri(e.missingWarn) ? e.missingWarn : !0, h = Ue(e.fallbackWarn) || ri(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, _ = !!e.unresolving, y = rt(e.postTranslation) ? e.postTranslation : null, I = De(e.processor) ? e.processor : null, M = Ue(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, x = rt(e.messageCompiler) ? e.messageCompiler : Bp, L = rt(e.messageResolver) ? e.messageResolver : $p || hy, C = rt(e.localeFallbacker) ? e.localeFallbacker : Gp || Ty, V = Ye(e.fallbackContext) ? e.fallbackContext : void 0, F = e, B = Ye(F.__datetimeFormatters) ? F.__datetimeFormatters : /* @__PURE__ */ new Map(), se = Ye(F.__numberFormatters) ? F.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
5673
|
+
const t = rt(e.onWarn) ? e.onWarn : m5, o = le(e.version) ? e.version : Vy, n = le(e.locale) || rt(e.locale) ? e.locale : pa, i = rt(n) ? pa : n, a = dt(e.fallbackLocale) || De(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, r = De(e.messages) ? e.messages : Hc(i), s = De(e.datetimeFormats) ? e.datetimeFormats : Hc(i), l = De(e.numberFormats) ? e.numberFormats : Hc(i), c = jt(it(), e.modifiers, My()), u = e.pluralRules || it(), f = rt(e.missing) ? e.missing : null, d = Ue(e.missingWarn) || ri(e.missingWarn) ? e.missingWarn : !0, h = Ue(e.fallbackWarn) || ri(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, _ = !!e.unresolving, y = rt(e.postTranslation) ? e.postTranslation : null, I = De(e.processor) ? e.processor : null, M = Ue(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, x = rt(e.messageCompiler) ? e.messageCompiler : Bp, L = rt(e.messageResolver) ? e.messageResolver : $p || hy, C = rt(e.localeFallbacker) ? e.localeFallbacker : Gp || Ty, V = Ye(e.fallbackContext) ? e.fallbackContext : void 0, F = e, B = Ye(F.__datetimeFormatters) ? F.__datetimeFormatters : /* @__PURE__ */ new Map(), se = Ye(F.__numberFormatters) ? F.__numberFormatters : /* @__PURE__ */ new Map(), ee = Ye(F.__meta) ? F.__meta : {};
|
|
5674
5674
|
Sf++;
|
|
5675
|
-
const
|
|
5675
|
+
const W = {
|
|
5676
5676
|
version: o,
|
|
5677
5677
|
cid: Sf,
|
|
5678
5678
|
locale: n,
|
|
@@ -5694,9 +5694,9 @@ function Fy(e = {}) {
|
|
|
5694
5694
|
localeFallbacker: C,
|
|
5695
5695
|
fallbackContext: V,
|
|
5696
5696
|
onWarn: t,
|
|
5697
|
-
__meta:
|
|
5697
|
+
__meta: ee
|
|
5698
5698
|
};
|
|
5699
|
-
return
|
|
5699
|
+
return W.datetimeFormats = s, W.numberFormats = l, W.__datetimeFormatters = B, W.__numberFormatters = se, __INTLIFY_PROD_DEVTOOLS__ && Sy(W, o, ee), W;
|
|
5700
5700
|
}
|
|
5701
5701
|
const Hc = (e) => ({ [e]: it() });
|
|
5702
5702
|
function Td(e, t, o, n, i) {
|
|
@@ -5845,19 +5845,19 @@ function Cf(e, ...t) {
|
|
|
5845
5845
|
}, F = Ln(x) ? x : zp(e, l, M, x, L, V);
|
|
5846
5846
|
if (C)
|
|
5847
5847
|
return x;
|
|
5848
|
-
const B = zy(e, M, k, c), se = wy(B),
|
|
5849
|
-
let
|
|
5850
|
-
if (d && le(
|
|
5848
|
+
const B = zy(e, M, k, c), se = wy(B), ee = jy(e, F, se);
|
|
5849
|
+
let W = n ? n(ee, l) : ee;
|
|
5850
|
+
if (d && le(W) && (W = y5(W)), __INTLIFY_PROD_DEVTOOLS__) {
|
|
5851
5851
|
const U = {
|
|
5852
5852
|
timestamp: Date.now(),
|
|
5853
5853
|
key: le(l) ? l : Ln(x) ? x.key : "",
|
|
5854
5854
|
locale: M || (Ln(x) ? x.locale : ""),
|
|
5855
5855
|
format: le(x) ? x : Ln(x) ? x.source : "",
|
|
5856
|
-
message:
|
|
5856
|
+
message: W
|
|
5857
5857
|
};
|
|
5858
5858
|
U.meta = jt({}, e.__meta, /* @__PURE__ */ Oy() || {}), Iy(U);
|
|
5859
5859
|
}
|
|
5860
|
-
return
|
|
5860
|
+
return W;
|
|
5861
5861
|
}
|
|
5862
5862
|
function Wy(e) {
|
|
5863
5863
|
dt(e.list) ? e.list = e.list.map((t) => le(t) ? cf(t) : t) : Ye(e.named) && Object.keys(e.named).forEach((t) => {
|
|
@@ -6230,7 +6230,7 @@ function xd(e = {}, t) {
|
|
|
6230
6230
|
let F = e.pluralRules || o && o.pluralRules, B;
|
|
6231
6231
|
B = (() => {
|
|
6232
6232
|
i && Af(null);
|
|
6233
|
-
const
|
|
6233
|
+
const j = {
|
|
6234
6234
|
version: Yy,
|
|
6235
6235
|
locale: c.value,
|
|
6236
6236
|
fallbackLocale: u.value,
|
|
@@ -6249,11 +6249,11 @@ function xd(e = {}, t) {
|
|
|
6249
6249
|
messageCompiler: e.messageCompiler,
|
|
6250
6250
|
__meta: { framework: "vue" }
|
|
6251
6251
|
};
|
|
6252
|
-
|
|
6253
|
-
const
|
|
6254
|
-
return i && Af(
|
|
6252
|
+
j.datetimeFormats = d.value, j.numberFormats = h.value, j.__datetimeFormatters = De(B) ? B.__datetimeFormatters : void 0, j.__numberFormatters = De(B) ? B.__numberFormatters : void 0;
|
|
6253
|
+
const Q = Fy(j);
|
|
6254
|
+
return i && Af(Q), Q;
|
|
6255
6255
|
})(), Pa(B, c.value, u.value);
|
|
6256
|
-
function
|
|
6256
|
+
function ee() {
|
|
6257
6257
|
return [
|
|
6258
6258
|
c.value,
|
|
6259
6259
|
u.value,
|
|
@@ -6262,40 +6262,40 @@ function xd(e = {}, t) {
|
|
|
6262
6262
|
h.value
|
|
6263
6263
|
];
|
|
6264
6264
|
}
|
|
6265
|
-
const
|
|
6265
|
+
const W = w({
|
|
6266
6266
|
get: () => c.value,
|
|
6267
|
-
set: (
|
|
6268
|
-
c.value =
|
|
6267
|
+
set: (j) => {
|
|
6268
|
+
c.value = j, B.locale = c.value;
|
|
6269
6269
|
}
|
|
6270
6270
|
}), U = w({
|
|
6271
6271
|
get: () => u.value,
|
|
6272
|
-
set: (
|
|
6273
|
-
u.value =
|
|
6272
|
+
set: (j) => {
|
|
6273
|
+
u.value = j, B.fallbackLocale = u.value, Pa(B, c.value, j);
|
|
6274
6274
|
}
|
|
6275
|
-
}),
|
|
6276
|
-
function
|
|
6275
|
+
}), te = w(() => f.value), be = /* @__PURE__ */ w(() => d.value), Ee = /* @__PURE__ */ w(() => h.value);
|
|
6276
|
+
function ne() {
|
|
6277
6277
|
return rt(x) ? x : null;
|
|
6278
6278
|
}
|
|
6279
|
-
function
|
|
6280
|
-
x =
|
|
6279
|
+
function X(j) {
|
|
6280
|
+
x = j, B.postTranslation = j;
|
|
6281
6281
|
}
|
|
6282
6282
|
function pe() {
|
|
6283
6283
|
return M;
|
|
6284
6284
|
}
|
|
6285
|
-
function de(
|
|
6286
|
-
|
|
6285
|
+
function de(j) {
|
|
6286
|
+
j !== null && (k = Rf(j)), M = j, B.missing = k;
|
|
6287
6287
|
}
|
|
6288
|
-
const _e = (
|
|
6289
|
-
|
|
6288
|
+
const _e = (j, Q, Be, Je, Yt, zo) => {
|
|
6289
|
+
ee();
|
|
6290
6290
|
let Un;
|
|
6291
6291
|
try {
|
|
6292
|
-
__INTLIFY_PROD_DEVTOOLS__, i || (B.fallbackContext = o ? Dy() : void 0), Un =
|
|
6292
|
+
__INTLIFY_PROD_DEVTOOLS__, i || (B.fallbackContext = o ? Dy() : void 0), Un = j(B);
|
|
6293
6293
|
} finally {
|
|
6294
6294
|
__INTLIFY_PROD_DEVTOOLS__, i || (B.fallbackContext = void 0);
|
|
6295
6295
|
}
|
|
6296
6296
|
if (Be !== "translate exists" && // for not `te` (e.g `t`)
|
|
6297
6297
|
Ct(Un) && Un === Hs || Be === "translate exists" && !Un) {
|
|
6298
|
-
const [Hi, Cr] =
|
|
6298
|
+
const [Hi, Cr] = Q();
|
|
6299
6299
|
return o && y ? Je(o) : Yt(Hi);
|
|
6300
6300
|
} else {
|
|
6301
6301
|
if (zo(Un))
|
|
@@ -6303,155 +6303,155 @@ function xd(e = {}, t) {
|
|
|
6303
6303
|
throw Ft(Pt.UNEXPECTED_RETURN_TYPE);
|
|
6304
6304
|
}
|
|
6305
6305
|
};
|
|
6306
|
-
function ue(...
|
|
6307
|
-
return _e((
|
|
6306
|
+
function ue(...j) {
|
|
6307
|
+
return _e((Q) => Reflect.apply(Cf, null, [Q, ...j]), () => vu(...j), "translate", (Q) => Reflect.apply(Q.t, Q, [...j]), (Q) => Q, (Q) => le(Q));
|
|
6308
6308
|
}
|
|
6309
|
-
function ye(...
|
|
6310
|
-
const [
|
|
6309
|
+
function ye(...j) {
|
|
6310
|
+
const [Q, Be, Je] = j;
|
|
6311
6311
|
if (Je && !Ye(Je))
|
|
6312
6312
|
throw Ft(Pt.INVALID_ARGUMENT);
|
|
6313
|
-
return ue(
|
|
6313
|
+
return ue(Q, Be, jt({ resolvedMessage: !0 }, Je || {}));
|
|
6314
6314
|
}
|
|
6315
|
-
function Fe(...
|
|
6316
|
-
return _e((
|
|
6315
|
+
function Fe(...j) {
|
|
6316
|
+
return _e((Q) => Reflect.apply(kf, null, [Q, ...j]), () => _u(...j), "datetime format", (Q) => Reflect.apply(Q.d, Q, [...j]), () => yf, (Q) => le(Q));
|
|
6317
6317
|
}
|
|
6318
|
-
function Oe(...
|
|
6319
|
-
return _e((
|
|
6318
|
+
function Oe(...j) {
|
|
6319
|
+
return _e((Q) => Reflect.apply(xf, null, [Q, ...j]), () => yu(...j), "number format", (Q) => Reflect.apply(Q.n, Q, [...j]), () => yf, (Q) => le(Q));
|
|
6320
6320
|
}
|
|
6321
|
-
function me(
|
|
6322
|
-
return
|
|
6321
|
+
function me(j) {
|
|
6322
|
+
return j.map((Q) => le(Q) || Ct(Q) || Ue(Q) ? Vf(String(Q)) : Q);
|
|
6323
6323
|
}
|
|
6324
6324
|
const qe = {
|
|
6325
6325
|
normalize: me,
|
|
6326
|
-
interpolate: (
|
|
6326
|
+
interpolate: (j) => j,
|
|
6327
6327
|
type: "vnode"
|
|
6328
6328
|
};
|
|
6329
|
-
function zt(...
|
|
6329
|
+
function zt(...j) {
|
|
6330
6330
|
return _e(
|
|
6331
|
-
(
|
|
6331
|
+
(Q) => {
|
|
6332
6332
|
let Be;
|
|
6333
|
-
const Je =
|
|
6333
|
+
const Je = Q;
|
|
6334
6334
|
try {
|
|
6335
|
-
Je.processor = qe, Be = Reflect.apply(Cf, null, [Je, ...
|
|
6335
|
+
Je.processor = qe, Be = Reflect.apply(Cf, null, [Je, ...j]);
|
|
6336
6336
|
} finally {
|
|
6337
6337
|
Je.processor = null;
|
|
6338
6338
|
}
|
|
6339
6339
|
return Be;
|
|
6340
6340
|
},
|
|
6341
|
-
() => vu(...
|
|
6341
|
+
() => vu(...j),
|
|
6342
6342
|
"translate",
|
|
6343
6343
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6344
|
-
(
|
|
6345
|
-
(
|
|
6346
|
-
(
|
|
6344
|
+
(Q) => Q[bu](...j),
|
|
6345
|
+
(Q) => [Vf(Q)],
|
|
6346
|
+
(Q) => dt(Q)
|
|
6347
6347
|
);
|
|
6348
6348
|
}
|
|
6349
|
-
function $n(...
|
|
6349
|
+
function $n(...j) {
|
|
6350
6350
|
return _e(
|
|
6351
|
-
(
|
|
6352
|
-
() => yu(...
|
|
6351
|
+
(Q) => Reflect.apply(xf, null, [Q, ...j]),
|
|
6352
|
+
() => yu(...j),
|
|
6353
6353
|
"number format",
|
|
6354
6354
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6355
|
-
(
|
|
6355
|
+
(Q) => Q[Au](...j),
|
|
6356
6356
|
Nf,
|
|
6357
|
-
(
|
|
6357
|
+
(Q) => le(Q) || dt(Q)
|
|
6358
6358
|
);
|
|
6359
6359
|
}
|
|
6360
|
-
function io(...
|
|
6360
|
+
function io(...j) {
|
|
6361
6361
|
return _e(
|
|
6362
|
-
(
|
|
6363
|
-
() => _u(...
|
|
6362
|
+
(Q) => Reflect.apply(kf, null, [Q, ...j]),
|
|
6363
|
+
() => _u(...j),
|
|
6364
6364
|
"datetime format",
|
|
6365
6365
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6366
|
-
(
|
|
6366
|
+
(Q) => Q[wu](...j),
|
|
6367
6367
|
Nf,
|
|
6368
|
-
(
|
|
6368
|
+
(Q) => le(Q) || dt(Q)
|
|
6369
6369
|
);
|
|
6370
6370
|
}
|
|
6371
|
-
function ao(
|
|
6372
|
-
F =
|
|
6371
|
+
function ao(j) {
|
|
6372
|
+
F = j, B.pluralRules = F;
|
|
6373
6373
|
}
|
|
6374
|
-
function Gn(
|
|
6374
|
+
function Gn(j, Q) {
|
|
6375
6375
|
return _e(() => {
|
|
6376
|
-
if (!
|
|
6376
|
+
if (!j)
|
|
6377
6377
|
return !1;
|
|
6378
|
-
const Be = le(
|
|
6378
|
+
const Be = le(Q) ? Q : c.value, Je = We(Be), Yt = B.messageResolver(Je, j);
|
|
6379
6379
|
return s ? Yt != null : go(Yt) || Ln(Yt) || le(Yt);
|
|
6380
|
-
}, () => [
|
|
6380
|
+
}, () => [j], "translate exists", (Be) => Reflect.apply(Be.te, Be, [j, Q]), Qy, (Be) => Ue(Be));
|
|
6381
6381
|
}
|
|
6382
|
-
function ie(
|
|
6383
|
-
let
|
|
6382
|
+
function ie(j) {
|
|
6383
|
+
let Q = null;
|
|
6384
6384
|
const Be = Fp(B, u.value, c.value);
|
|
6385
6385
|
for (let Je = 0; Je < Be.length; Je++) {
|
|
6386
|
-
const Yt = f.value[Be[Je]] || {}, zo = B.messageResolver(Yt,
|
|
6386
|
+
const Yt = f.value[Be[Je]] || {}, zo = B.messageResolver(Yt, j);
|
|
6387
6387
|
if (zo != null) {
|
|
6388
|
-
|
|
6388
|
+
Q = zo;
|
|
6389
6389
|
break;
|
|
6390
6390
|
}
|
|
6391
6391
|
}
|
|
6392
|
-
return
|
|
6392
|
+
return Q;
|
|
6393
6393
|
}
|
|
6394
|
-
function He(
|
|
6395
|
-
const
|
|
6396
|
-
return
|
|
6394
|
+
function He(j) {
|
|
6395
|
+
const Q = ie(j);
|
|
6396
|
+
return Q ?? (o ? o.tm(j) || {} : {});
|
|
6397
6397
|
}
|
|
6398
|
-
function We(
|
|
6399
|
-
return f.value[
|
|
6398
|
+
function We(j) {
|
|
6399
|
+
return f.value[j] || {};
|
|
6400
6400
|
}
|
|
6401
|
-
function pn(
|
|
6401
|
+
function pn(j, Q) {
|
|
6402
6402
|
if (a) {
|
|
6403
|
-
const Be = { [
|
|
6403
|
+
const Be = { [j]: Q };
|
|
6404
6404
|
for (const Je in Be)
|
|
6405
6405
|
qn(Be, Je) && er(Be[Je]);
|
|
6406
|
-
|
|
6406
|
+
Q = Be[j];
|
|
6407
6407
|
}
|
|
6408
|
-
f.value[
|
|
6408
|
+
f.value[j] = Q, B.messages = f.value;
|
|
6409
6409
|
}
|
|
6410
|
-
function je(
|
|
6411
|
-
f.value[
|
|
6412
|
-
const Be = { [
|
|
6410
|
+
function je(j, Q) {
|
|
6411
|
+
f.value[j] = f.value[j] || {};
|
|
6412
|
+
const Be = { [j]: Q };
|
|
6413
6413
|
if (a)
|
|
6414
6414
|
for (const Je in Be)
|
|
6415
6415
|
qn(Be, Je) && er(Be[Je]);
|
|
6416
|
-
|
|
6416
|
+
Q = Be[j], Kr(Q, f.value[j]), B.messages = f.value;
|
|
6417
6417
|
}
|
|
6418
|
-
function ro(
|
|
6419
|
-
return d.value[
|
|
6418
|
+
function ro(j) {
|
|
6419
|
+
return d.value[j] || {};
|
|
6420
6420
|
}
|
|
6421
|
-
function R(
|
|
6422
|
-
d.value[
|
|
6421
|
+
function R(j, Q) {
|
|
6422
|
+
d.value[j] = Q, B.datetimeFormats = d.value, Tf(B, j, Q);
|
|
6423
6423
|
}
|
|
6424
|
-
function O(
|
|
6425
|
-
d.value[
|
|
6424
|
+
function O(j, Q) {
|
|
6425
|
+
d.value[j] = jt(d.value[j] || {}, Q), B.datetimeFormats = d.value, Tf(B, j, Q);
|
|
6426
6426
|
}
|
|
6427
|
-
function
|
|
6428
|
-
return h.value[
|
|
6427
|
+
function q(j) {
|
|
6428
|
+
return h.value[j] || {};
|
|
6429
6429
|
}
|
|
6430
|
-
function fe(
|
|
6431
|
-
h.value[
|
|
6430
|
+
function fe(j, Q) {
|
|
6431
|
+
h.value[j] = Q, B.numberFormats = h.value, Lf(B, j, Q);
|
|
6432
6432
|
}
|
|
6433
|
-
function Xe(
|
|
6434
|
-
h.value[
|
|
6433
|
+
function Xe(j, Q) {
|
|
6434
|
+
h.value[j] = jt(h.value[j] || {}, Q), B.numberFormats = h.value, Lf(B, j, Q);
|
|
6435
6435
|
}
|
|
6436
|
-
Pf++, o && rs && (re(o.locale, (
|
|
6437
|
-
l && (c.value =
|
|
6438
|
-
}), re(o.fallbackLocale, (
|
|
6439
|
-
l && (u.value =
|
|
6436
|
+
Pf++, o && rs && (re(o.locale, (j) => {
|
|
6437
|
+
l && (c.value = j, B.locale = j, Pa(B, c.value, u.value));
|
|
6438
|
+
}), re(o.fallbackLocale, (j) => {
|
|
6439
|
+
l && (u.value = j, B.fallbackLocale = j, Pa(B, c.value, u.value));
|
|
6440
6440
|
}));
|
|
6441
6441
|
const ke = {
|
|
6442
6442
|
id: Pf,
|
|
6443
|
-
locale:
|
|
6443
|
+
locale: W,
|
|
6444
6444
|
fallbackLocale: U,
|
|
6445
6445
|
get inheritLocale() {
|
|
6446
6446
|
return l;
|
|
6447
6447
|
},
|
|
6448
|
-
set inheritLocale(
|
|
6449
|
-
l =
|
|
6448
|
+
set inheritLocale(j) {
|
|
6449
|
+
l = j, j && o && (c.value = o.locale.value, u.value = o.fallbackLocale.value, Pa(B, c.value, u.value));
|
|
6450
6450
|
},
|
|
6451
6451
|
get availableLocales() {
|
|
6452
6452
|
return Object.keys(f.value).sort();
|
|
6453
6453
|
},
|
|
6454
|
-
messages:
|
|
6454
|
+
messages: te,
|
|
6455
6455
|
get modifiers() {
|
|
6456
6456
|
return V;
|
|
6457
6457
|
},
|
|
@@ -6464,50 +6464,50 @@ function xd(e = {}, t) {
|
|
|
6464
6464
|
get missingWarn() {
|
|
6465
6465
|
return m;
|
|
6466
6466
|
},
|
|
6467
|
-
set missingWarn(
|
|
6468
|
-
m =
|
|
6467
|
+
set missingWarn(j) {
|
|
6468
|
+
m = j, B.missingWarn = m;
|
|
6469
6469
|
},
|
|
6470
6470
|
get fallbackWarn() {
|
|
6471
6471
|
return _;
|
|
6472
6472
|
},
|
|
6473
|
-
set fallbackWarn(
|
|
6474
|
-
_ =
|
|
6473
|
+
set fallbackWarn(j) {
|
|
6474
|
+
_ = j, B.fallbackWarn = _;
|
|
6475
6475
|
},
|
|
6476
6476
|
get fallbackRoot() {
|
|
6477
6477
|
return y;
|
|
6478
6478
|
},
|
|
6479
|
-
set fallbackRoot(
|
|
6480
|
-
y =
|
|
6479
|
+
set fallbackRoot(j) {
|
|
6480
|
+
y = j;
|
|
6481
6481
|
},
|
|
6482
6482
|
get fallbackFormat() {
|
|
6483
6483
|
return I;
|
|
6484
6484
|
},
|
|
6485
|
-
set fallbackFormat(
|
|
6486
|
-
I =
|
|
6485
|
+
set fallbackFormat(j) {
|
|
6486
|
+
I = j, B.fallbackFormat = I;
|
|
6487
6487
|
},
|
|
6488
6488
|
get warnHtmlMessage() {
|
|
6489
6489
|
return L;
|
|
6490
6490
|
},
|
|
6491
|
-
set warnHtmlMessage(
|
|
6492
|
-
L =
|
|
6491
|
+
set warnHtmlMessage(j) {
|
|
6492
|
+
L = j, B.warnHtmlMessage = j;
|
|
6493
6493
|
},
|
|
6494
6494
|
get escapeParameter() {
|
|
6495
6495
|
return C;
|
|
6496
6496
|
},
|
|
6497
|
-
set escapeParameter(
|
|
6498
|
-
C =
|
|
6497
|
+
set escapeParameter(j) {
|
|
6498
|
+
C = j, B.escapeParameter = j;
|
|
6499
6499
|
},
|
|
6500
6500
|
t: ue,
|
|
6501
6501
|
getLocaleMessage: We,
|
|
6502
6502
|
setLocaleMessage: pn,
|
|
6503
6503
|
mergeLocaleMessage: je,
|
|
6504
|
-
getPostTranslationHandler:
|
|
6505
|
-
setPostTranslationHandler:
|
|
6504
|
+
getPostTranslationHandler: ne,
|
|
6505
|
+
setPostTranslationHandler: X,
|
|
6506
6506
|
getMissingHandler: pe,
|
|
6507
6507
|
setMissingHandler: de,
|
|
6508
6508
|
[Qp]: ao
|
|
6509
6509
|
};
|
|
6510
|
-
return ke.datetimeFormats = be, ke.numberFormats = Ee, ke.rt = ye, ke.te = Gn, ke.tm = He, ke.d = Fe, ke.n = Oe, ke.getDateTimeFormat = ro, ke.setDateTimeFormat = R, ke.mergeDateTimeFormat = O, ke.getNumberFormat =
|
|
6510
|
+
return ke.datetimeFormats = be, ke.numberFormats = Ee, ke.rt = ye, ke.te = Gn, ke.tm = He, ke.d = Fe, ke.n = Oe, ke.getDateTimeFormat = ro, ke.setDateTimeFormat = R, ke.mergeDateTimeFormat = O, ke.getNumberFormat = q, ke.setNumberFormat = fe, ke.mergeNumberFormat = Xe, ke[Xp] = n, ke[bu] = zt, ke[wu] = io, ke[Au] = $n, ke;
|
|
6511
6511
|
}
|
|
6512
6512
|
function Ky(e) {
|
|
6513
6513
|
const t = le(e.locale) ? e.locale : pa, o = le(e.fallbackLocale) || dt(e.fallbackLocale) || De(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = rt(e.missing) ? e.missing : void 0, i = Ue(e.silentTranslationWarn) || ri(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = Ue(e.silentFallbackWarn) || ri(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, r = Ue(e.fallbackRoot) ? e.fallbackRoot : !0, s = !!e.formatFallbackMessages, l = De(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, u = rt(e.postTranslation) ? e.postTranslation : void 0, f = le(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, h = Ue(e.sync) ? e.sync : !0;
|
|
@@ -7157,14 +7157,14 @@ function _b(e, t, o, n = {}) {
|
|
|
7157
7157
|
set: (ie) => {
|
|
7158
7158
|
a.value && (a.value.fallbackLocale.value = ie), l.value = ie;
|
|
7159
7159
|
}
|
|
7160
|
-
}), B = w(() => a.value ? a.value.messages.value : c.value), se = w(() => u.value),
|
|
7161
|
-
function
|
|
7160
|
+
}), B = w(() => a.value ? a.value.messages.value : c.value), se = w(() => u.value), ee = w(() => f.value);
|
|
7161
|
+
function W() {
|
|
7162
7162
|
return a.value ? a.value.getPostTranslationHandler() : I;
|
|
7163
7163
|
}
|
|
7164
7164
|
function U(ie) {
|
|
7165
7165
|
a.value && a.value.setPostTranslationHandler(ie);
|
|
7166
7166
|
}
|
|
7167
|
-
function
|
|
7167
|
+
function te() {
|
|
7168
7168
|
return a.value ? a.value.getMissingHandler() : y;
|
|
7169
7169
|
}
|
|
7170
7170
|
function be(ie) {
|
|
@@ -7173,10 +7173,10 @@ function _b(e, t, o, n = {}) {
|
|
|
7173
7173
|
function Ee(ie) {
|
|
7174
7174
|
return C(), ie();
|
|
7175
7175
|
}
|
|
7176
|
-
function
|
|
7176
|
+
function ne(...ie) {
|
|
7177
7177
|
return a.value ? Ee(() => Reflect.apply(a.value.t, null, [...ie])) : Ee(() => "");
|
|
7178
7178
|
}
|
|
7179
|
-
function
|
|
7179
|
+
function X(...ie) {
|
|
7180
7180
|
return a.value ? Reflect.apply(a.value.rt, null, [...ie]) : "";
|
|
7181
7181
|
}
|
|
7182
7182
|
function pe(...ie) {
|
|
@@ -7226,7 +7226,7 @@ function _b(e, t, o, n = {}) {
|
|
|
7226
7226
|
fallbackLocale: F,
|
|
7227
7227
|
messages: B,
|
|
7228
7228
|
datetimeFormats: se,
|
|
7229
|
-
numberFormats:
|
|
7229
|
+
numberFormats: ee,
|
|
7230
7230
|
get inheritLocale() {
|
|
7231
7231
|
return a.value ? a.value.inheritLocale : r;
|
|
7232
7232
|
},
|
|
@@ -7281,12 +7281,12 @@ function _b(e, t, o, n = {}) {
|
|
|
7281
7281
|
set escapeParameter(ie) {
|
|
7282
7282
|
a.value && (a.value.escapeParameter = ie);
|
|
7283
7283
|
},
|
|
7284
|
-
t:
|
|
7285
|
-
getPostTranslationHandler:
|
|
7284
|
+
t: ne,
|
|
7285
|
+
getPostTranslationHandler: W,
|
|
7286
7286
|
setPostTranslationHandler: U,
|
|
7287
|
-
getMissingHandler:
|
|
7287
|
+
getMissingHandler: te,
|
|
7288
7288
|
setMissingHandler: be,
|
|
7289
|
-
rt:
|
|
7289
|
+
rt: X,
|
|
7290
7290
|
d: pe,
|
|
7291
7291
|
n: de,
|
|
7292
7292
|
tm: _e,
|
|
@@ -7767,8 +7767,8 @@ function Rd() {
|
|
|
7767
7767
|
}
|
|
7768
7768
|
function Sr(e, t) {
|
|
7769
7769
|
const o = Rd(), n = $(e), i = w(() => {
|
|
7770
|
-
if (
|
|
7771
|
-
const r =
|
|
7770
|
+
if (oe(t == null ? void 0 : t.disabled)) return o.value;
|
|
7771
|
+
const r = oe(t == null ? void 0 : t.scoped), s = oe(t == null ? void 0 : t.reset), l = oe(t == null ? void 0 : t.root);
|
|
7772
7772
|
if (n.value == null && !(r || s || l)) return o.value;
|
|
7773
7773
|
let c = ia(n.value, {
|
|
7774
7774
|
prev: o.value
|
|
@@ -10569,7 +10569,7 @@ const Xx = {
|
|
|
10569
10569
|
};
|
|
10570
10570
|
function Kx(e, t, o, n, i, a) {
|
|
10571
10571
|
const r = b("v-tooltip"), s = b("v-icon"), l = b("VcsBadge"), c = b("v-btn");
|
|
10572
|
-
return g(), A(c,
|
|
10572
|
+
return g(), A(c, K({
|
|
10573
10573
|
"min-height": n.minHeight,
|
|
10574
10574
|
"min-width": "auto",
|
|
10575
10575
|
variant: "text",
|
|
@@ -10672,7 +10672,7 @@ const $t = /* @__PURE__ */ N(Xx, [["render", Kx], ["__scopeId", "data-v-83ccb925
|
|
|
10672
10672
|
};
|
|
10673
10673
|
function tL(e, t, o, n, i, a) {
|
|
10674
10674
|
const r = b("v-tooltip"), s = b("v-icon"), l = b("VcsBadge"), c = b("v-btn");
|
|
10675
|
-
return g(), A(c,
|
|
10675
|
+
return g(), A(c, K({
|
|
10676
10676
|
color: n.appliedColor,
|
|
10677
10677
|
variant: n.buttonVariant,
|
|
10678
10678
|
height: n.itemHeight + 2,
|
|
@@ -10763,7 +10763,7 @@ const di = /* @__PURE__ */ N(eL, [["render", tL], ["__scopeId", "data-v-3c53e346
|
|
|
10763
10763
|
};
|
|
10764
10764
|
function oL(e, t, o, n, i, a) {
|
|
10765
10765
|
const r = b("v-tooltip"), s = b("v-icon"), l = b("VcsBadge"), c = b("v-btn");
|
|
10766
|
-
return g(), A(c,
|
|
10766
|
+
return g(), A(c, K({
|
|
10767
10767
|
variant: n.buttonVariant,
|
|
10768
10768
|
elevation: "0",
|
|
10769
10769
|
color: "primary",
|
|
@@ -10868,7 +10868,7 @@ function aL(e, t, o, n, i, a) {
|
|
|
10868
10868
|
class: "vcs-action-list"
|
|
10869
10869
|
}, {
|
|
10870
10870
|
default: v(() => [
|
|
10871
|
-
(g(!0), T(ce, null, Ae(o.actions, (f, d) => (g(), A(c,
|
|
10871
|
+
(g(!0), T(ce, null, Ae(o.actions, (f, d) => (g(), A(c, K({
|
|
10872
10872
|
"data-action-name": f.name,
|
|
10873
10873
|
key: `${f.name}-${d}`,
|
|
10874
10874
|
class: f.active ? "text-primary" : "",
|
|
@@ -10883,7 +10883,7 @@ function aL(e, t, o, n, i, a) {
|
|
|
10883
10883
|
]),
|
|
10884
10884
|
_: 2
|
|
10885
10885
|
}, 1024),
|
|
10886
|
-
f.title && e.$st(f.title) ? (g(), A(l,
|
|
10886
|
+
f.title && e.$st(f.title) ? (g(), A(l, K({
|
|
10887
10887
|
key: 0,
|
|
10888
10888
|
activator: "parent",
|
|
10889
10889
|
text: e.$st(f.title),
|
|
@@ -11013,7 +11013,7 @@ function lL(e, t, o, n, i, a) {
|
|
|
11013
11013
|
offset: [13, 0]
|
|
11014
11014
|
}, {
|
|
11015
11015
|
activator: v(({ props: c }) => [
|
|
11016
|
-
(g(), A(Do(o.button),
|
|
11016
|
+
(g(), A(Do(o.button), K({ disabled: o.disabled }, c, {
|
|
11017
11017
|
class: "d-flex",
|
|
11018
11018
|
icon: o.overflowIcon
|
|
11019
11019
|
}), null, 16, ["disabled", "icon"]))
|
|
@@ -11089,7 +11089,7 @@ const fL = {
|
|
|
11089
11089
|
}, hL = ["innerHTML"];
|
|
11090
11090
|
function mL(e, t, o, n, i, a) {
|
|
11091
11091
|
const r = b("v-icon"), s = b("v-list-item-title"), l = b("VcsActionButtonList"), c = b("v-list-item");
|
|
11092
|
-
return o.item ? (g(), A(c,
|
|
11092
|
+
return o.item ? (g(), A(c, K({ key: 0 }, e.$attrs, { class: "result-item" }), Lt({
|
|
11093
11093
|
title: v(() => [
|
|
11094
11094
|
p(s, null, {
|
|
11095
11095
|
default: v(() => [
|
|
@@ -11492,7 +11492,7 @@ function kL(e, t, o, n, i, a) {
|
|
|
11492
11492
|
}
|
|
11493
11493
|
const TL = /* @__PURE__ */ N(SL, [["render", kL], ["__scopeId", "data-v-fc64f76e"]]);
|
|
11494
11494
|
function ku(e) {
|
|
11495
|
-
return
|
|
11495
|
+
return Z(e.name, String), Z(e.title, ut(String)), Z(e.icon, ut(String)), Z(e.callback, Function), e.active = st(e.active, !1), e.hasUpdate = st(e.hasUpdate, !1), e.background = st(e.background, !1), e.disabled = st(e.disabled, !1), e;
|
|
11496
11496
|
}
|
|
11497
11497
|
function xL(e, t) {
|
|
11498
11498
|
const o = /* @__PURE__ */ new Map();
|
|
@@ -11526,11 +11526,11 @@ function xL(e, t) {
|
|
|
11526
11526
|
}
|
|
11527
11527
|
function LL(e, t, o) {
|
|
11528
11528
|
var l;
|
|
11529
|
-
|
|
11529
|
+
Z(e, {
|
|
11530
11530
|
name: String,
|
|
11531
11531
|
icon: Ce(String),
|
|
11532
11532
|
title: Ce(String)
|
|
11533
|
-
}),
|
|
11533
|
+
}), Z(t, String), Z(o, Qu);
|
|
11534
11534
|
const n = ((l = o.activeMap) == null ? void 0 : l.name) === t, i = he({
|
|
11535
11535
|
...e,
|
|
11536
11536
|
active: n,
|
|
@@ -11551,12 +11551,12 @@ function LL(e, t, o) {
|
|
|
11551
11551
|
};
|
|
11552
11552
|
}
|
|
11553
11553
|
function Ao(e, t, o, n) {
|
|
11554
|
-
|
|
11554
|
+
Z(e, {
|
|
11555
11555
|
name: String,
|
|
11556
11556
|
icon: Ce(String),
|
|
11557
11557
|
title: Ce(String),
|
|
11558
11558
|
hasUpdate: Ce(Boolean)
|
|
11559
|
-
}),
|
|
11559
|
+
}), Z(t, { id: String }), Z(n, ot(String, Le));
|
|
11560
11560
|
const i = he({
|
|
11561
11561
|
...e,
|
|
11562
11562
|
active: o.has(t.id),
|
|
@@ -11635,11 +11635,11 @@ function m2(e) {
|
|
|
11635
11635
|
} };
|
|
11636
11636
|
}
|
|
11637
11637
|
function p2(e, t, o, n) {
|
|
11638
|
-
|
|
11638
|
+
Z(e, {
|
|
11639
11639
|
name: String,
|
|
11640
11640
|
icon: Ce(String),
|
|
11641
11641
|
title: Ce(String)
|
|
11642
|
-
}),
|
|
11642
|
+
}), Z(n, ot(String, Le));
|
|
11643
11643
|
const i = bn(), { position: a, ...r } = t;
|
|
11644
11644
|
let s = null, l = null;
|
|
11645
11645
|
const c = (m) => {
|
|
@@ -11701,11 +11701,11 @@ function p2(e, t, o, n) {
|
|
|
11701
11701
|
} };
|
|
11702
11702
|
}
|
|
11703
11703
|
function Fd(e, t) {
|
|
11704
|
-
return
|
|
11704
|
+
return Z(e, {
|
|
11705
11705
|
name: String,
|
|
11706
11706
|
icon: Ce(String),
|
|
11707
11707
|
title: Ce(String)
|
|
11708
|
-
}),
|
|
11708
|
+
}), Z(t, ot(String, Function)), {
|
|
11709
11709
|
...e,
|
|
11710
11710
|
callback() {
|
|
11711
11711
|
const o = document.createElement("a");
|
|
@@ -11714,11 +11714,11 @@ function Fd(e, t) {
|
|
|
11714
11714
|
};
|
|
11715
11715
|
}
|
|
11716
11716
|
function Bd(e, t, o, n) {
|
|
11717
|
-
return
|
|
11717
|
+
return Z(e, {
|
|
11718
11718
|
name: String,
|
|
11719
11719
|
icon: Ce(String),
|
|
11720
11720
|
title: Ce(String)
|
|
11721
|
-
}),
|
|
11721
|
+
}), Z(t, ot(dn, String)), Z(o, fr), Z(n, Qu), {
|
|
11722
11722
|
title: "content.viewpointAction.title",
|
|
11723
11723
|
...e,
|
|
11724
11724
|
async callback() {
|
|
@@ -11736,11 +11736,11 @@ function g2(e) {
|
|
|
11736
11736
|
return !t || !t.isValid() ? null : dn.createViewpointFromExtent(t);
|
|
11737
11737
|
}
|
|
11738
11738
|
function ML(e, t, o) {
|
|
11739
|
-
return
|
|
11739
|
+
return Z(e, {
|
|
11740
11740
|
name: String,
|
|
11741
11741
|
icon: Ce(String),
|
|
11742
11742
|
title: Ce(String)
|
|
11743
|
-
}),
|
|
11743
|
+
}), Z(t, Fo), Z(o, Qu), {
|
|
11744
11744
|
title: "search.zoomToFeatureAction",
|
|
11745
11745
|
...e,
|
|
11746
11746
|
async callback() {
|
|
@@ -11763,7 +11763,7 @@ function $d(e, t) {
|
|
|
11763
11763
|
}
|
|
11764
11764
|
function NL(e, t, o) {
|
|
11765
11765
|
var a;
|
|
11766
|
-
|
|
11766
|
+
Z(t, ot(String, Symbol)), Z((a = o == null ? void 0 : o.progress) == null ? void 0 : a.value, Ce(Number)), Z(
|
|
11767
11767
|
o,
|
|
11768
11768
|
Ce({
|
|
11769
11769
|
id: Ce(String),
|
|
@@ -11828,7 +11828,7 @@ const PL = {
|
|
|
11828
11828
|
};
|
|
11829
11829
|
function RL(e, t, o, n, i, a) {
|
|
11830
11830
|
const r = b("v-icon"), s = b("VcsTextField");
|
|
11831
|
-
return g(), T("div",
|
|
11831
|
+
return g(), T("div", K(n.noListenerAttrs, { class: "pa-2 bg-base-lighten-3 position-relative d-flex flex-row justify-space-between align-center rounded-0 vcs-treeview-searchbar" }), [
|
|
11832
11832
|
ae(e.$slots, "prepend", {}, () => [
|
|
11833
11833
|
p(r, {
|
|
11834
11834
|
class: "search-icon my-0 ml-1",
|
|
@@ -11841,7 +11841,7 @@ function RL(e, t, o, n, i, a) {
|
|
|
11841
11841
|
}, 8, ["size"])
|
|
11842
11842
|
], !0),
|
|
11843
11843
|
ae(e.$slots, "default", Te(xe({ ...e.$props, attrs: e.$attrs })), () => [
|
|
11844
|
-
p(s,
|
|
11844
|
+
p(s, K({
|
|
11845
11845
|
class: "searchbar outlined rounded-xl align-center justify-center base-lighten-4 pa-1 pl-6",
|
|
11846
11846
|
placeholder: e.$st(o.placeholder),
|
|
11847
11847
|
clearable: ""
|
|
@@ -11892,21 +11892,21 @@ const Js = /* @__PURE__ */ N(PL, [["render", RL], ["__scopeId", "data-v-6c89a8f5
|
|
|
11892
11892
|
}),
|
|
11893
11893
|
w(() => t.heading)
|
|
11894
11894
|
), a = Uo();
|
|
11895
|
-
return (r, s) => (g(), A(
|
|
11895
|
+
return (r, s) => (g(), A(oe(L_), K({ disabled: e.disabled }, r.$attrs, { class: "vcs-expansion-panel" }), {
|
|
11896
11896
|
default: v(() => [
|
|
11897
|
-
p(
|
|
11897
|
+
p(oe(V_), {
|
|
11898
11898
|
static: "",
|
|
11899
11899
|
class: "px-2"
|
|
11900
11900
|
}, {
|
|
11901
11901
|
default: v(({ expanded: l }) => [
|
|
11902
|
-
p(
|
|
11902
|
+
p(oe(Fn), {
|
|
11903
11903
|
ref_key: "panelHeader",
|
|
11904
11904
|
ref: n
|
|
11905
11905
|
}, {
|
|
11906
11906
|
default: v(() => [
|
|
11907
|
-
l ? P("", !0) : (g(), A(
|
|
11907
|
+
l ? P("", !0) : (g(), A(oe(tt), {
|
|
11908
11908
|
key: 0,
|
|
11909
|
-
size:
|
|
11909
|
+
size: oe(a),
|
|
11910
11910
|
class: "pr-1"
|
|
11911
11911
|
}, {
|
|
11912
11912
|
default: v(() => [
|
|
@@ -11914,9 +11914,9 @@ const Js = /* @__PURE__ */ N(PL, [["render", RL], ["__scopeId", "data-v-6c89a8f5
|
|
|
11914
11914
|
]),
|
|
11915
11915
|
_: 1
|
|
11916
11916
|
}, 8, ["size"])),
|
|
11917
|
-
l ? (g(), A(
|
|
11917
|
+
l ? (g(), A(oe(tt), {
|
|
11918
11918
|
key: 1,
|
|
11919
|
-
size:
|
|
11919
|
+
size: oe(a),
|
|
11920
11920
|
class: "pr-1"
|
|
11921
11921
|
}, {
|
|
11922
11922
|
default: v(() => [
|
|
@@ -11926,15 +11926,15 @@ const Js = /* @__PURE__ */ N(PL, [["render", RL], ["__scopeId", "data-v-6c89a8f5
|
|
|
11926
11926
|
}, 8, ["size"])) : P("", !0),
|
|
11927
11927
|
E("span", {
|
|
11928
11928
|
class: ve({
|
|
11929
|
-
"vcs-panel-title__append": !!
|
|
11929
|
+
"vcs-panel-title__append": !!oe(o)["header-append"] && !!oe(i)
|
|
11930
11930
|
})
|
|
11931
11931
|
}, G(r.$st(e.heading)), 3),
|
|
11932
|
-
|
|
11932
|
+
oe(i) ? (g(), A(oe(gt), {
|
|
11933
11933
|
key: 2,
|
|
11934
11934
|
activator: ".v-expansion-panel-title"
|
|
11935
11935
|
}, {
|
|
11936
11936
|
default: v(() => [
|
|
11937
|
-
H(G(r.$st(
|
|
11937
|
+
H(G(r.$st(oe(i))), 1)
|
|
11938
11938
|
]),
|
|
11939
11939
|
_: 1
|
|
11940
11940
|
})) : P("", !0),
|
|
@@ -11955,7 +11955,7 @@ const Js = /* @__PURE__ */ N(PL, [["render", RL], ["__scopeId", "data-v-6c89a8f5
|
|
|
11955
11955
|
}),
|
|
11956
11956
|
_: 3
|
|
11957
11957
|
}),
|
|
11958
|
-
p(
|
|
11958
|
+
p(oe(M_), null, {
|
|
11959
11959
|
default: v(() => [
|
|
11960
11960
|
ae(r.$slots, "default", {}, void 0, !0)
|
|
11961
11961
|
]),
|
|
@@ -12223,7 +12223,7 @@ const FL = {
|
|
|
12223
12223
|
var f;
|
|
12224
12224
|
u && ((f = c.titleChanged) == null || f.call(c, u));
|
|
12225
12225
|
}
|
|
12226
|
-
return (c, u) => (g(), A(
|
|
12226
|
+
return (c, u) => (g(), A(oe(Wt), K({
|
|
12227
12227
|
disabled: e.item.disabled
|
|
12228
12228
|
}, c.$attrs, {
|
|
12229
12229
|
class: "vcs-list-item-component",
|
|
@@ -12231,7 +12231,7 @@ const FL = {
|
|
|
12231
12231
|
}), {
|
|
12232
12232
|
prepend: v((f) => [
|
|
12233
12233
|
ae(c.$slots, "prepend", Te(xe(f)), () => [
|
|
12234
|
-
e.item.icon ? (g(), A(
|
|
12234
|
+
e.item.icon ? (g(), A(oe(tt), { key: 0 }, {
|
|
12235
12235
|
default: v(() => [
|
|
12236
12236
|
H(G(e.item.icon), 1)
|
|
12237
12237
|
]),
|
|
@@ -12240,8 +12240,8 @@ const FL = {
|
|
|
12240
12240
|
], !0)
|
|
12241
12241
|
]),
|
|
12242
12242
|
title: v((f) => [
|
|
12243
|
-
ae(c.$slots, "title", Te(xe({ ...f, tooltip:
|
|
12244
|
-
p(
|
|
12243
|
+
ae(c.$slots, "title", Te(xe({ ...f, tooltip: oe(s) })), () => [
|
|
12244
|
+
p(oe(Fn), {
|
|
12245
12245
|
ref_key: "title",
|
|
12246
12246
|
ref: r,
|
|
12247
12247
|
class: ve({ "vcs-list-item__rename": o.value })
|
|
@@ -12261,12 +12261,12 @@ const FL = {
|
|
|
12261
12261
|
}, null, 8, ["model-value", "rules"])) : (g(), T(ce, { key: 1 }, [
|
|
12262
12262
|
H(G(c.$st(e.item.title)), 1)
|
|
12263
12263
|
], 64)),
|
|
12264
|
-
e.dragging === !1 &&
|
|
12264
|
+
e.dragging === !1 && oe(s) ? (g(), A(oe(gt), {
|
|
12265
12265
|
key: 2,
|
|
12266
12266
|
activator: "parent"
|
|
12267
12267
|
}, {
|
|
12268
12268
|
default: v(() => [
|
|
12269
|
-
H(G(c.$st(
|
|
12269
|
+
H(G(c.$st(oe(s))), 1)
|
|
12270
12270
|
]),
|
|
12271
12271
|
_: 1
|
|
12272
12272
|
})) : P("", !0)
|
|
@@ -12279,7 +12279,7 @@ const FL = {
|
|
|
12279
12279
|
ae(c.$slots, "subtitle", Te(xe(f)), void 0, !0)
|
|
12280
12280
|
]),
|
|
12281
12281
|
default: v((f) => [
|
|
12282
|
-
ae(c.$slots, "default", Te(xe({ ...f, tooltip:
|
|
12282
|
+
ae(c.$slots, "default", Te(xe({ ...f, tooltip: oe(s) })), void 0, !0)
|
|
12283
12283
|
]),
|
|
12284
12284
|
append: v((f) => [
|
|
12285
12285
|
ae(c.$slots, "append", Te(xe({
|
|
@@ -12431,11 +12431,11 @@ const FL = {
|
|
|
12431
12431
|
modelValue: r.value,
|
|
12432
12432
|
"onUpdate:modelValue": F[0] || (F[0] = (B) => r.value = B)
|
|
12433
12433
|
}, null, 8, ["placeholder", "modelValue"])) : P("", !0),
|
|
12434
|
-
p(
|
|
12434
|
+
p(oe(eo), null, {
|
|
12435
12435
|
default: v(() => [
|
|
12436
|
-
e.showTitle && e.title ? (g(), A(
|
|
12436
|
+
e.showTitle && e.title ? (g(), A(oe(Wt), { key: 0 }, {
|
|
12437
12437
|
prepend: v(() => [
|
|
12438
|
-
e.icon ? (g(), A(
|
|
12438
|
+
e.icon ? (g(), A(oe(tt), { key: 0 }, {
|
|
12439
12439
|
default: v(() => [
|
|
12440
12440
|
H(G(e.icon), 1)
|
|
12441
12441
|
]),
|
|
@@ -12453,25 +12453,25 @@ const FL = {
|
|
|
12453
12453
|
];
|
|
12454
12454
|
}),
|
|
12455
12455
|
default: v(() => [
|
|
12456
|
-
p(
|
|
12456
|
+
p(oe(Fn), {
|
|
12457
12457
|
class: "font-weight-bold",
|
|
12458
12458
|
ref_key: "listHeader",
|
|
12459
12459
|
ref: x
|
|
12460
12460
|
}, {
|
|
12461
12461
|
default: v(() => [
|
|
12462
12462
|
E("span", {
|
|
12463
|
-
class: ve({ "vcs-list-title__selected":
|
|
12463
|
+
class: ve({ "vcs-list-title__selected": oe(I).length > 0 })
|
|
12464
12464
|
}, G(V.$st(e.title)), 3),
|
|
12465
|
-
|
|
12465
|
+
oe(L) ? (g(), A(oe(gt), {
|
|
12466
12466
|
key: 0,
|
|
12467
12467
|
activator: "parent"
|
|
12468
12468
|
}, {
|
|
12469
12469
|
default: v(() => [
|
|
12470
|
-
H(G(V.$st(
|
|
12470
|
+
H(G(V.$st(oe(L))), 1)
|
|
12471
12471
|
]),
|
|
12472
12472
|
_: 1
|
|
12473
12473
|
})) : P("", !0),
|
|
12474
|
-
e.selectable &&
|
|
12474
|
+
e.selectable && oe(I).length > 0 ? (g(), T("span", $L, G(`(${oe(I).length})`), 1)) : P("", !0)
|
|
12475
12475
|
]),
|
|
12476
12476
|
_: 1
|
|
12477
12477
|
}, 512)
|
|
@@ -12480,36 +12480,36 @@ const FL = {
|
|
|
12480
12480
|
})) : P("", !0),
|
|
12481
12481
|
(g(!0), T(ce, null, Ae(c.value, (B, se) => (g(), T(ce, null, [
|
|
12482
12482
|
B ? (g(), A(BL, {
|
|
12483
|
-
dragging:
|
|
12483
|
+
dragging: oe(u),
|
|
12484
12484
|
item: B,
|
|
12485
12485
|
key: `item-${se}`,
|
|
12486
|
-
active:
|
|
12487
|
-
onMousedown: F[1] || (F[1] = Re((
|
|
12488
|
-
draggable:
|
|
12489
|
-
onDragstart: (
|
|
12490
|
-
onDragover: Re((
|
|
12491
|
-
onDragend: F[2] || (F[2] = (
|
|
12492
|
-
onDrop: (
|
|
12486
|
+
active: oe(I).includes(B),
|
|
12487
|
+
onMousedown: F[1] || (F[1] = Re((ee) => ee.preventDefault(), ["shift"])),
|
|
12488
|
+
draggable: oe(f),
|
|
12489
|
+
onDragstart: (ee) => oe(d)(ee, B),
|
|
12490
|
+
onDragover: Re((ee) => oe(h)(ee, B, ee.currentTarget, { into: !1 }), ["prevent"]),
|
|
12491
|
+
onDragend: F[2] || (F[2] = (ee) => oe(m)(ee)),
|
|
12492
|
+
onDrop: (ee) => oe(_)(ee, B),
|
|
12493
12493
|
class: ve({
|
|
12494
|
-
"v-list-item__selected":
|
|
12494
|
+
"v-list-item__selected": oe(I).includes(B),
|
|
12495
12495
|
"v-list-item__lighten_even": a.value,
|
|
12496
12496
|
"v-list-item__lighten_odd": !a.value,
|
|
12497
|
-
"vcs-draggable-item":
|
|
12498
|
-
"cursor-pointer": e.selectable && !
|
|
12497
|
+
"vcs-draggable-item": oe(f),
|
|
12498
|
+
"cursor-pointer": e.selectable && !oe(f)
|
|
12499
12499
|
}),
|
|
12500
|
-
onClick: (
|
|
12500
|
+
onClick: (ee) => oe(y)(B, ee)
|
|
12501
12501
|
}, {
|
|
12502
|
-
append: v((
|
|
12503
|
-
ae(V.$slots, "item.append",
|
|
12502
|
+
append: v((ee) => [
|
|
12503
|
+
ae(V.$slots, "item.append", K({ ref_for: !0 }, { ...ee, index: se, item: B }), void 0, !0)
|
|
12504
12504
|
]),
|
|
12505
|
-
title: v((
|
|
12506
|
-
ae(V.$slots, "item.title",
|
|
12505
|
+
title: v((ee) => [
|
|
12506
|
+
ae(V.$slots, "item.title", K({ ref_for: !0 }, { ...ee, index: se, item: B }), void 0, !0)
|
|
12507
12507
|
]),
|
|
12508
|
-
subtitle: v((
|
|
12509
|
-
ae(V.$slots, "item.subtitle",
|
|
12508
|
+
subtitle: v((ee) => [
|
|
12509
|
+
ae(V.$slots, "item.subtitle", K({ ref_for: !0 }, { ...ee, index: se, item: B }), void 0, !0)
|
|
12510
12510
|
]),
|
|
12511
|
-
prepend: v((
|
|
12512
|
-
ae(V.$slots, "item.prepend",
|
|
12511
|
+
prepend: v((ee) => [
|
|
12512
|
+
ae(V.$slots, "item.prepend", K({ ref_for: !0 }, { ...ee, index: se, item: B }), void 0, !0)
|
|
12513
12513
|
]),
|
|
12514
12514
|
_: 2
|
|
12515
12515
|
}, 1032, ["dragging", "item", "active", "draggable", "onDragstart", "onDragover", "onDrop", "class", "onClick"])) : P("", !0),
|
|
@@ -12610,14 +12610,14 @@ const FL = {
|
|
|
12610
12610
|
e.searchable ? (g(), A(Js, {
|
|
12611
12611
|
key: 0,
|
|
12612
12612
|
placeholder: e.searchbarPlaceholder,
|
|
12613
|
-
modelValue:
|
|
12613
|
+
modelValue: oe(a),
|
|
12614
12614
|
"onUpdate:modelValue": m[0] || (m[0] = (_) => yo(a) ? a.value = _ : null)
|
|
12615
12615
|
}, null, 8, ["placeholder", "modelValue"])) : P("", !0),
|
|
12616
|
-
p(
|
|
12616
|
+
p(oe(ud), {
|
|
12617
12617
|
variant: "accordion",
|
|
12618
12618
|
flat: "",
|
|
12619
12619
|
multiple: "",
|
|
12620
|
-
modelValue:
|
|
12620
|
+
modelValue: oe(r),
|
|
12621
12621
|
"onUpdate:modelValue": m[1] || (m[1] = (_) => yo(r) ? r.value = _ : null),
|
|
12622
12622
|
class: "rounded-0 panels"
|
|
12623
12623
|
}, {
|
|
@@ -12636,8 +12636,8 @@ const FL = {
|
|
|
12636
12636
|
items: u.value.filter((I) => I.group === _.name),
|
|
12637
12637
|
selectable: e.selectable,
|
|
12638
12638
|
"single-select": e.singleSelect,
|
|
12639
|
-
"select-function":
|
|
12640
|
-
"model-value":
|
|
12639
|
+
"select-function": oe(f),
|
|
12640
|
+
"model-value": oe(d).filter((I) => I.group === _.name)
|
|
12641
12641
|
}, null, 8, ["items", "selectable", "single-select", "select-function", "model-value"])
|
|
12642
12642
|
]),
|
|
12643
12643
|
_: 2
|
|
@@ -12770,7 +12770,7 @@ const ZL = {
|
|
|
12770
12770
|
style: Pn({ "max-width": e.width }),
|
|
12771
12771
|
class: "vcs-table-cell"
|
|
12772
12772
|
}, [
|
|
12773
|
-
(g(), A(Do(e.tag),
|
|
12773
|
+
(g(), A(Do(e.tag), K({
|
|
12774
12774
|
class: {
|
|
12775
12775
|
"single-line": a.value,
|
|
12776
12776
|
"multi-line": r.value
|
|
@@ -12781,12 +12781,12 @@ const ZL = {
|
|
|
12781
12781
|
]),
|
|
12782
12782
|
_: 1
|
|
12783
12783
|
}, 16, ["class"])),
|
|
12784
|
-
|
|
12784
|
+
oe(n) ? (g(), A(oe(gt), {
|
|
12785
12785
|
key: 0,
|
|
12786
12786
|
activator: "parent"
|
|
12787
12787
|
}, {
|
|
12788
12788
|
default: v(() => [
|
|
12789
|
-
H(G(s.$st(
|
|
12789
|
+
H(G(s.$st(oe(n))), 1)
|
|
12790
12790
|
]),
|
|
12791
12791
|
_: 1
|
|
12792
12792
|
})) : P("", !0)
|
|
@@ -12825,7 +12825,7 @@ const ZL = {
|
|
|
12825
12825
|
}, qL = { class: "pl-1" };
|
|
12826
12826
|
function JL(e, t, o, n, i, a) {
|
|
12827
12827
|
const r = b("v-tooltip"), s = b("v-checkbox");
|
|
12828
|
-
return g(), A(s,
|
|
12828
|
+
return g(), A(s, K({
|
|
12829
12829
|
ref: "checkbox",
|
|
12830
12830
|
"true-icon": "$vcsCheckboxChecked",
|
|
12831
12831
|
"false-icon": "$vcsCheckbox",
|
|
@@ -12941,10 +12941,10 @@ const fi = /* @__PURE__ */ N(YL, [["render", JL], ["__scopeId", "data-v-518e2743
|
|
|
12941
12941
|
const i = un().proxy, a = $(null), r = $(""), s = (V, F, B) => {
|
|
12942
12942
|
if (F) {
|
|
12943
12943
|
const se = F.toLocaleLowerCase();
|
|
12944
|
-
return Object.values(B).some((
|
|
12945
|
-
if (
|
|
12946
|
-
const
|
|
12947
|
-
return i.$st(
|
|
12944
|
+
return Object.values(B).some((ee) => {
|
|
12945
|
+
if (ee) {
|
|
12946
|
+
const W = ee.toString();
|
|
12947
|
+
return i.$st(W).toLowerCase().includes(se) || W.toLowerCase().includes(se);
|
|
12948
12948
|
}
|
|
12949
12949
|
return !1;
|
|
12950
12950
|
});
|
|
@@ -12973,7 +12973,7 @@ const fi = /* @__PURE__ */ N(YL, [["render", JL], ["__scopeId", "data-v-518e2743
|
|
|
12973
12973
|
);
|
|
12974
12974
|
const x = () => {
|
|
12975
12975
|
y.value = 1;
|
|
12976
|
-
const { sortBy: V, sortDesc: F, groupBy: B, groupDesc: se, multiSort:
|
|
12976
|
+
const { sortBy: V, sortDesc: F, groupBy: B, groupDesc: se, multiSort: ee, mustSort: W } = t;
|
|
12977
12977
|
o("update:items", {
|
|
12978
12978
|
page: y.value,
|
|
12979
12979
|
itemsPerPage: m.value,
|
|
@@ -12981,8 +12981,8 @@ const fi = /* @__PURE__ */ N(YL, [["render", JL], ["__scopeId", "data-v-518e2743
|
|
|
12981
12981
|
sortDesc: F,
|
|
12982
12982
|
groupBy: B,
|
|
12983
12983
|
groupDesc: se,
|
|
12984
|
-
multiSort:
|
|
12985
|
-
mustSort:
|
|
12984
|
+
multiSort: ee,
|
|
12985
|
+
mustSort: W,
|
|
12986
12986
|
search: r.value
|
|
12987
12987
|
});
|
|
12988
12988
|
}, L = w(
|
|
@@ -13045,7 +13045,7 @@ function iV(e, t, o, n, i, a) {
|
|
|
13045
13045
|
]),
|
|
13046
13046
|
_: 3
|
|
13047
13047
|
}, 8, ["placeholder", "modelValue", "onUpdate:modelValue"])) : P("", !0),
|
|
13048
|
-
(g(), A(Do(o.baseComponent),
|
|
13048
|
+
(g(), A(Do(o.baseComponent), K({
|
|
13049
13049
|
headers: n.translatedHeaders,
|
|
13050
13050
|
items: n.internalItems,
|
|
13051
13051
|
"items-per-page": n.itemsPerPageRef,
|
|
@@ -13101,7 +13101,7 @@ function iV(e, t, o, n, i, a) {
|
|
|
13101
13101
|
E("div", tV, [
|
|
13102
13102
|
p(h, null, {
|
|
13103
13103
|
activator: v(({ props: m }) => [
|
|
13104
|
-
p(c,
|
|
13104
|
+
p(c, K({ color: "primary" }, m, { class: "v-btn--variant-plain mx-2 d-flex flex-wrap" }), {
|
|
13105
13105
|
default: v(() => [
|
|
13106
13106
|
H(G(n.itemsPerPageRef) + " ", 1),
|
|
13107
13107
|
p(l, null, {
|
|
@@ -13261,7 +13261,7 @@ const rV = {
|
|
|
13261
13261
|
};
|
|
13262
13262
|
function sV(e, t, o, n, i, a) {
|
|
13263
13263
|
const r = b("vcs-table-cell"), s = b("VcsDataTable");
|
|
13264
|
-
return g(), A(s,
|
|
13264
|
+
return g(), A(s, K({ class: "vcs-table" }, e.$attrs, {
|
|
13265
13265
|
items: n.items,
|
|
13266
13266
|
headers: [o.keyHeader, o.valueHeader]
|
|
13267
13267
|
}), {
|
|
@@ -13938,7 +13938,7 @@ function SV(e, t, o, n, i, a) {
|
|
|
13938
13938
|
title: e.$st(_)
|
|
13939
13939
|
}, {
|
|
13940
13940
|
default: v(() => [
|
|
13941
|
-
p(l,
|
|
13941
|
+
p(l, K({
|
|
13942
13942
|
tag: n.getTag(o.tags, _),
|
|
13943
13943
|
ref_for: !0
|
|
13944
13944
|
}, n.getTagOptions(o.tags, _)), {
|
|
@@ -13961,7 +13961,7 @@ function SV(e, t, o, n, i, a) {
|
|
|
13961
13961
|
}
|
|
13962
13962
|
const ir = /* @__PURE__ */ N(yV, [["render", SV]]);
|
|
13963
13963
|
function Lu(e, t, o = null) {
|
|
13964
|
-
|
|
13964
|
+
Z(e, String), Z(t, Object);
|
|
13965
13965
|
const i = e.split(".").reduce((a, r) => a[r] || {}, t);
|
|
13966
13966
|
return typeof i == "string" ? i : o;
|
|
13967
13967
|
}
|
|
@@ -14046,7 +14046,7 @@ const IV = {
|
|
|
14046
14046
|
};
|
|
14047
14047
|
function EV(e, t, o, n, i, a) {
|
|
14048
14048
|
const r = b("v-icon"), s = b("v-list-item-title"), l = b("v-list-item-subtitle"), c = b("v-list-item"), u = b("BalloonComponent");
|
|
14049
|
-
return g(), A(u,
|
|
14049
|
+
return g(), A(u, K({ ...e.$attrs }, { class: "address-balloon-component" }), {
|
|
14050
14050
|
default: v(({ attrs: f }) => [
|
|
14051
14051
|
Object.values(f.attributes).length > 0 ? (g(), A(c, {
|
|
14052
14052
|
key: 0,
|
|
@@ -15857,7 +15857,7 @@ class U2 {
|
|
|
15857
15857
|
* @param {string} id
|
|
15858
15858
|
*/
|
|
15859
15859
|
remove(t) {
|
|
15860
|
-
|
|
15860
|
+
Z(t, String);
|
|
15861
15861
|
const o = this._buttonComponents.get(t);
|
|
15862
15862
|
if (o) {
|
|
15863
15863
|
const n = this.componentIds.indexOf(t);
|
|
@@ -15872,7 +15872,7 @@ class U2 {
|
|
|
15872
15872
|
* @returns {ButtonComponent}
|
|
15873
15873
|
*/
|
|
15874
15874
|
add(t, o) {
|
|
15875
|
-
if (
|
|
15875
|
+
if (Z(t.id, ut(String)), Z(t.weight, ut(Number)), Z(t.action, fs), Z(o, ot(String, Le)), t.id && this.has(t.id))
|
|
15876
15876
|
throw new Error(
|
|
15877
15877
|
`A button with id ${t.id} has already been registered.`
|
|
15878
15878
|
);
|
|
@@ -15892,7 +15892,7 @@ class U2 {
|
|
|
15892
15892
|
return t.weight || 0;
|
|
15893
15893
|
},
|
|
15894
15894
|
set weight(r) {
|
|
15895
|
-
|
|
15895
|
+
Z(r, Number), t.weight = r;
|
|
15896
15896
|
}
|
|
15897
15897
|
};
|
|
15898
15898
|
return this._buttonComponents.set(n, a), this.componentIds.push(n), this.added.raiseEvent(a), a;
|
|
@@ -15948,7 +15948,7 @@ class fM extends U2 {
|
|
|
15948
15948
|
* @returns {NavbarButtonComponent}
|
|
15949
15949
|
*/
|
|
15950
15950
|
add(t, o, n, i = { desktop: !0, tablet: !0 }) {
|
|
15951
|
-
|
|
15951
|
+
Z(n, Fi(mt)), Z(i, {
|
|
15952
15952
|
desktop: Ce(Boolean),
|
|
15953
15953
|
tablet: Ce(Boolean),
|
|
15954
15954
|
mobile: Ce(Boolean)
|
|
@@ -15970,7 +15970,7 @@ class fM extends U2 {
|
|
|
15970
15970
|
* @param {boolean} [active]
|
|
15971
15971
|
*/
|
|
15972
15972
|
toggle(t, o) {
|
|
15973
|
-
if (
|
|
15973
|
+
if (Z(t, String), this.has(t)) {
|
|
15974
15974
|
const { action: n } = this.get(t);
|
|
15975
15975
|
if (n.disabled)
|
|
15976
15976
|
return;
|
|
@@ -16017,7 +16017,7 @@ class gM {
|
|
|
16017
16017
|
return this._toolboxName;
|
|
16018
16018
|
}
|
|
16019
16019
|
set toolboxName(t) {
|
|
16020
|
-
|
|
16020
|
+
Z(t, ot(String, Ga)), this._toolboxName !== t && (this._toolboxName = t, this.toolboxNameChanged.raiseEvent(t));
|
|
16021
16021
|
}
|
|
16022
16022
|
setDefaultToolboxName() {
|
|
16023
16023
|
this.toolboxName = Ga;
|
|
@@ -16042,7 +16042,7 @@ class gM {
|
|
|
16042
16042
|
* @param {string} id
|
|
16043
16043
|
*/
|
|
16044
16044
|
remove(t) {
|
|
16045
|
-
|
|
16045
|
+
Z(t, String);
|
|
16046
16046
|
const o = this._toolboxGroups.get(t);
|
|
16047
16047
|
if (o) {
|
|
16048
16048
|
const n = this.componentIds.indexOf(t);
|
|
@@ -16058,11 +16058,11 @@ class gM {
|
|
|
16058
16058
|
* @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
|
|
16059
16059
|
*/
|
|
16060
16060
|
add(t, o, n = { desktop: !0, tablet: !0 }) {
|
|
16061
|
-
if (
|
|
16061
|
+
if (Z(t.id, ut(String)), Z(t.type, Fi(Qn)), Z(n, {
|
|
16062
16062
|
desktop: Ce(Boolean),
|
|
16063
16063
|
tablet: Ce(Boolean),
|
|
16064
16064
|
mobile: Ce(Boolean)
|
|
16065
|
-
}),
|
|
16065
|
+
}), Z(o, ot(String, Le)), t.id && this.has(t.id))
|
|
16066
16066
|
throw new Error(
|
|
16067
16067
|
`A toolGroup with id ${t.id} has already been registered.`
|
|
16068
16068
|
);
|
|
@@ -16083,7 +16083,7 @@ class gM {
|
|
|
16083
16083
|
[vo]: n
|
|
16084
16084
|
};
|
|
16085
16085
|
if (a === Qn.SINGLE) {
|
|
16086
|
-
|
|
16086
|
+
Z(t.action, fs);
|
|
16087
16087
|
const c = ku(t.action);
|
|
16088
16088
|
l = {
|
|
16089
16089
|
...l,
|
|
@@ -16092,7 +16092,7 @@ class gM {
|
|
|
16092
16092
|
}
|
|
16093
16093
|
};
|
|
16094
16094
|
} else if (a === Qn.SELECT) {
|
|
16095
|
-
|
|
16095
|
+
Z(t.action, {
|
|
16096
16096
|
...fs,
|
|
16097
16097
|
selected: Function,
|
|
16098
16098
|
currentIndex: Number,
|
|
@@ -16114,7 +16114,7 @@ class gM {
|
|
|
16114
16114
|
}
|
|
16115
16115
|
};
|
|
16116
16116
|
} else {
|
|
16117
|
-
|
|
16117
|
+
Z(t.icon, String), Z(t.title, ut(String)), Z(t.disabled, ut(Boolean));
|
|
16118
16118
|
const {
|
|
16119
16119
|
icon: c,
|
|
16120
16120
|
title: u = void 0,
|
|
@@ -16166,7 +16166,7 @@ const vM = {
|
|
|
16166
16166
|
};
|
|
16167
16167
|
function _M(e, t, o, n, i, a) {
|
|
16168
16168
|
const r = b("vcs-template-markdown"), s = b("BalloonComponent");
|
|
16169
|
-
return g(), A(s,
|
|
16169
|
+
return g(), A(s, K({ ...e.$attrs }, { class: "markdown-balloon-component" }), {
|
|
16170
16170
|
default: v(() => [
|
|
16171
16171
|
p(r, Te(xe({ ...e.$attrs })), null, 16)
|
|
16172
16172
|
]),
|
|
@@ -16603,10 +16603,10 @@ class SM extends fr {
|
|
|
16603
16603
|
* @returns {Promise<void>}
|
|
16604
16604
|
*/
|
|
16605
16605
|
async selectFeature(t, o, n, i) {
|
|
16606
|
-
|
|
16606
|
+
Z(
|
|
16607
16607
|
t,
|
|
16608
16608
|
ot(Fo, ip, m3, h3)
|
|
16609
|
-
),
|
|
16609
|
+
), Z(o, ut([Number])), Z(n, ut([Number])), Z(i, ut(en));
|
|
16610
16610
|
const a = t[Vi] ?? i ?? this._getFeatureInfoViewForFeature(t), r = this._app.layers.getByKey(t[xn]);
|
|
16611
16611
|
if (a && r) {
|
|
16612
16612
|
if (this._clearInternal(), this._selectedClusterFeature && !this._selectedClusterFeature.get("features").map((c) => c[nd] ?? c).includes(t) && this.clearCluster(), t[Rm]) {
|
|
@@ -16997,7 +16997,7 @@ const Ie = {
|
|
|
16997
16997
|
[Ie.LOADING]: "$vcsProgress"
|
|
16998
16998
|
};
|
|
16999
16999
|
function NM(e, t, o) {
|
|
17000
|
-
|
|
17000
|
+
Z(e, String), Z(t == null ? void 0 : t.value, Fi(Ie)), Z(o, Function);
|
|
17001
17001
|
const n = t.value, i = he({
|
|
17002
17002
|
name: e,
|
|
17003
17003
|
icon: vh[n],
|
|
@@ -17361,7 +17361,7 @@ function WM(e, t) {
|
|
|
17361
17361
|
}
|
|
17362
17362
|
const ti = { Forward: "forward", Backward: "backward" };
|
|
17363
17363
|
function yh(e, t, o) {
|
|
17364
|
-
|
|
17364
|
+
Z(o, Fi(ti));
|
|
17365
17365
|
let n;
|
|
17366
17366
|
const i = he({
|
|
17367
17367
|
name: `step-${o}`,
|
|
@@ -17380,7 +17380,7 @@ function yh(e, t, o) {
|
|
|
17380
17380
|
return { action: i, destroy: a };
|
|
17381
17381
|
}
|
|
17382
17382
|
function bh(e, t, o) {
|
|
17383
|
-
|
|
17383
|
+
Z(o, Fi(ti));
|
|
17384
17384
|
let n;
|
|
17385
17385
|
const i = o === ti.Forward ? 1 : -1, a = o === ti.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: r } = t;
|
|
17386
17386
|
function s() {
|
|
@@ -17583,7 +17583,7 @@ function kH(e, t = !1) {
|
|
|
17583
17583
|
return { action: i, destroy: a };
|
|
17584
17584
|
}
|
|
17585
17585
|
async function TH(e, t, o, n) {
|
|
17586
|
-
|
|
17586
|
+
Z(o, ut(String)), Z(n, ut(Function));
|
|
17587
17587
|
const { vueI18n: i } = e, r = (await Promise.all(
|
|
17588
17588
|
t.map(async (c) => {
|
|
17589
17589
|
const u = await c.text();
|
|
@@ -17658,7 +17658,7 @@ const YM = {
|
|
|
17658
17658
|
};
|
|
17659
17659
|
function qM(e, t, o, n, i, a) {
|
|
17660
17660
|
const r = b("v-card-title"), s = b("v-card");
|
|
17661
|
-
return g(), A(s,
|
|
17661
|
+
return g(), A(s, K({
|
|
17662
17662
|
onDragenter: t[0] || (t[0] = Re((l) => n.isDragging = !0, ["prevent"])),
|
|
17663
17663
|
onDragover: t[1] || (t[1] = Re((l) => n.isDragging = !0, ["prevent"])),
|
|
17664
17664
|
onDragleave: t[2] || (t[2] = Re((l) => n.isDragging = !1, ["prevent"])),
|
|
@@ -17709,7 +17709,7 @@ const JM = /* @__PURE__ */ N(YM, [["render", qM], ["__scopeId", "data-v-e7999f64
|
|
|
17709
17709
|
};
|
|
17710
17710
|
function XM(e, t, o, n, i, a) {
|
|
17711
17711
|
const r = b("v-tooltip"), s = b("v-file-input");
|
|
17712
|
-
return g(), A(s,
|
|
17712
|
+
return g(), A(s, K({
|
|
17713
17713
|
ref: "fileInputRef",
|
|
17714
17714
|
variant: "outlined",
|
|
17715
17715
|
"clear-icon": "$close",
|
|
@@ -17810,7 +17810,7 @@ function nN(e, t, o, n, i, a) {
|
|
|
17810
17810
|
modelValue: n.files,
|
|
17811
17811
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => n.files = u)
|
|
17812
17812
|
}, null, 8, ["height", "multiple", "modelValue"]),
|
|
17813
|
-
p(s,
|
|
17813
|
+
p(s, K({
|
|
17814
17814
|
loading: n.loading,
|
|
17815
17815
|
multiple: o.multiple,
|
|
17816
17816
|
accept: o.fileTypes.join(",")
|
|
@@ -17854,7 +17854,7 @@ function iN(e, t, o = {}) {
|
|
|
17854
17854
|
};
|
|
17855
17855
|
}
|
|
17856
17856
|
function e1(e, t) {
|
|
17857
|
-
|
|
17857
|
+
Z(t, {
|
|
17858
17858
|
name: String,
|
|
17859
17859
|
icon: Ce(String),
|
|
17860
17860
|
title: Ce(String),
|
|
@@ -17938,7 +17938,7 @@ async function LH(e, t, o, n = {}) {
|
|
|
17938
17938
|
return n.returnValue ?? !0;
|
|
17939
17939
|
}
|
|
17940
17940
|
function VH(e, t, o, n) {
|
|
17941
|
-
|
|
17941
|
+
Z(e, Function), Z(o, ot(String, Le)), Z(n, String);
|
|
17942
17942
|
const { action: i, destroy: a } = Ao(
|
|
17943
17943
|
{
|
|
17944
17944
|
name: "list.import"
|
|
@@ -18882,7 +18882,7 @@ function VN(e, t, o, n, i, a) {
|
|
|
18882
18882
|
}, {
|
|
18883
18883
|
activator: v(({ props: s }) => [
|
|
18884
18884
|
(g(), T("svg", bN, [
|
|
18885
|
-
E("g",
|
|
18885
|
+
E("g", K({
|
|
18886
18886
|
id: "Group_1654",
|
|
18887
18887
|
"data-name": "Group 1654",
|
|
18888
18888
|
transform: "translate(24)"
|
|
@@ -18908,7 +18908,7 @@ function VN(e, t, o, n, i, a) {
|
|
|
18908
18908
|
onMouseenter: t[3] || (t[3] = (l) => n.alignment = "alignSouth")
|
|
18909
18909
|
}, null, 34)
|
|
18910
18910
|
], 16),
|
|
18911
|
-
E("g",
|
|
18911
|
+
E("g", K({
|
|
18912
18912
|
id: "Group_1653",
|
|
18913
18913
|
"data-name": "Group 1653",
|
|
18914
18914
|
transform: "translate(0 33) rotate(-90)"
|
|
@@ -18971,6 +18971,11 @@ const MN = /* @__PURE__ */ N(yN, [["render", VN], ["__scopeId", "data-v-815656df
|
|
|
18971
18971
|
xs: n,
|
|
18972
18972
|
rotationValue: o,
|
|
18973
18973
|
compassRotation: w(() => -1 * o.value),
|
|
18974
|
+
// in 3D & panorama, the heading follows the camera on every frame. A transition
|
|
18975
|
+
// would restart each frame, so it is only used in discrete rotations (e.g. oblique).
|
|
18976
|
+
followsCamera: w(
|
|
18977
|
+
() => e.viewMode === "3d" || e.viewMode === "panorama"
|
|
18978
|
+
),
|
|
18974
18979
|
height: a,
|
|
18975
18980
|
width: r,
|
|
18976
18981
|
alignNorth() {
|
|
@@ -18990,7 +18995,7 @@ function RN(e, t, o, n, i, a) {
|
|
|
18990
18995
|
return g(), A(s, {
|
|
18991
18996
|
style: Pn({
|
|
18992
18997
|
transform: `rotate(${n.compassRotation}deg)`,
|
|
18993
|
-
transition: "transform 0.2s ease"
|
|
18998
|
+
transition: n.followsCamera ? void 0 : "transform 0.2s ease"
|
|
18994
18999
|
}),
|
|
18995
19000
|
onClick: n.alignNorth,
|
|
18996
19001
|
class: "d-flex flex-column justify-center align-center position-relative rounded-circle user-select-none vcs-compass",
|
|
@@ -19043,7 +19048,7 @@ const ON = /* @__PURE__ */ N(NN, [["render", RN]]), DN = {
|
|
|
19043
19048
|
};
|
|
19044
19049
|
function FN(e, t, o, n, i, a) {
|
|
19045
19050
|
const r = b("v-icon"), s = b("v-tooltip"), l = b("v-card");
|
|
19046
|
-
return g(), A(l,
|
|
19051
|
+
return g(), A(l, K({ class: "d-flex align-center justify-center text-center btn-orientation-tools orientation-tools-button" }, { ...e.$attrs }, {
|
|
19047
19052
|
height: n.height,
|
|
19048
19053
|
width: n.width
|
|
19049
19054
|
}), {
|
|
@@ -19136,13 +19141,13 @@ const HN = /* @__PURE__ */ N(BN, [["render", UN], ["__scopeId", "data-v-2e040319
|
|
|
19136
19141
|
});
|
|
19137
19142
|
function jN(e, t, o, n, i, a) {
|
|
19138
19143
|
const r = b("v-slider"), s = b("v-tooltip"), l = b("v-card");
|
|
19139
|
-
return g(), A(l,
|
|
19144
|
+
return g(), A(l, K({
|
|
19140
19145
|
class: "tilt-slider",
|
|
19141
19146
|
width: e.minWidth,
|
|
19142
19147
|
height: e.minHeight
|
|
19143
19148
|
}, e.props, { disabled: e.disabled }), {
|
|
19144
19149
|
default: v(() => [
|
|
19145
|
-
p(r,
|
|
19150
|
+
p(r, K({
|
|
19146
19151
|
"track-size": e.trackSize,
|
|
19147
19152
|
"tick-size": e.tickSize,
|
|
19148
19153
|
"track-color": "base-lighten-3",
|
|
@@ -19166,7 +19171,7 @@ function jN(e, t, o, n, i, a) {
|
|
|
19166
19171
|
_: 1
|
|
19167
19172
|
}, 16, ["width", "height", "disabled"]);
|
|
19168
19173
|
}
|
|
19169
|
-
const ZN = /* @__PURE__ */ N(WN, [["render", jN], ["__scopeId", "data-v-
|
|
19174
|
+
const ZN = /* @__PURE__ */ N(WN, [["render", jN], ["__scopeId", "data-v-aa878efe"]]), zN = {
|
|
19170
19175
|
name: "ObliqueRotation",
|
|
19171
19176
|
components: { OrientationToolsButton: t1 },
|
|
19172
19177
|
props: {
|
|
@@ -19311,94 +19316,101 @@ const nP = {
|
|
|
19311
19316
|
VRow: wt
|
|
19312
19317
|
},
|
|
19313
19318
|
setup() {
|
|
19314
|
-
var
|
|
19315
|
-
const e = ge("vcsApp"), t = $(ni.TWO_D), o = $(0), n = $(0), i = zs(), a = (
|
|
19316
|
-
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
|
|
19320
|
-
|
|
19321
|
-
|
|
19319
|
+
var ee;
|
|
19320
|
+
const e = ge("vcsApp"), t = $(ni.TWO_D), o = $(0), n = $(0), i = zs(), a = (W, U) => {
|
|
19321
|
+
o.value = Math.round(W * 2) / 2, U != null && (n.value = Math.round(U));
|
|
19322
|
+
}, r = ({ map: W }) => {
|
|
19323
|
+
var U;
|
|
19324
|
+
if (t.value = eP(W), W instanceof Bt && W.currentImage)
|
|
19325
|
+
a(
|
|
19326
|
+
W.currentImage.viewDirectionAngle ? 90 - xo.toDegrees(W.currentImage.viewDirectionAngle) : nP[W.currentImage.viewDirection]
|
|
19327
|
+
);
|
|
19328
|
+
else if (W instanceof e_) {
|
|
19329
|
+
const te = (U = W.getCesiumWidget()) == null ? void 0 : U.camera;
|
|
19330
|
+
te && a(
|
|
19331
|
+
xo.toDegrees(te.heading),
|
|
19332
|
+
xo.toDegrees(te.pitch)
|
|
19333
|
+
);
|
|
19322
19334
|
} else {
|
|
19323
|
-
const
|
|
19324
|
-
|
|
19335
|
+
const te = W.getViewpointSync();
|
|
19336
|
+
te && a(te.heading, te.pitch);
|
|
19325
19337
|
}
|
|
19326
|
-
},
|
|
19327
|
-
e.maps.activeMap &&
|
|
19328
|
-
const
|
|
19338
|
+
}, s = e.maps.postRender.addEventListener(r);
|
|
19339
|
+
e.maps.activeMap && r({ map: e.maps.activeMap });
|
|
19340
|
+
const l = w({
|
|
19329
19341
|
get() {
|
|
19330
19342
|
return o.value;
|
|
19331
19343
|
},
|
|
19332
|
-
async set(
|
|
19344
|
+
async set(W) {
|
|
19333
19345
|
if (e.maps.activeMap instanceof _o) {
|
|
19334
|
-
const { camera:
|
|
19335
|
-
|
|
19346
|
+
const { camera: U } = e.maps.activeMap.getCesiumWidget();
|
|
19347
|
+
U.setView({
|
|
19336
19348
|
orientation: {
|
|
19337
|
-
heading: xo.toRadians(
|
|
19338
|
-
pitch:
|
|
19339
|
-
roll:
|
|
19349
|
+
heading: xo.toRadians(W),
|
|
19350
|
+
pitch: U.pitch,
|
|
19351
|
+
roll: U.roll
|
|
19340
19352
|
}
|
|
19341
19353
|
});
|
|
19342
19354
|
} else {
|
|
19343
|
-
const
|
|
19344
|
-
delete
|
|
19355
|
+
const U = await e.maps.activeMap.getViewpoint();
|
|
19356
|
+
delete U.cameraPosition, U.heading = W, U.animate = !0, e.maps.activeMap.gotoViewpoint(U);
|
|
19345
19357
|
}
|
|
19346
19358
|
}
|
|
19347
|
-
}),
|
|
19359
|
+
}), c = w({
|
|
19348
19360
|
get() {
|
|
19349
19361
|
return n.value;
|
|
19350
19362
|
},
|
|
19351
|
-
set(
|
|
19363
|
+
set(W) {
|
|
19352
19364
|
if (e.maps.activeMap instanceof _o) {
|
|
19353
|
-
const { camera:
|
|
19354
|
-
|
|
19365
|
+
const { camera: U } = e.maps.activeMap.getCesiumWidget();
|
|
19366
|
+
U.setView({
|
|
19355
19367
|
orientation: {
|
|
19356
|
-
heading:
|
|
19357
|
-
pitch: xo.toRadians(
|
|
19358
|
-
roll:
|
|
19368
|
+
heading: U.heading,
|
|
19369
|
+
pitch: xo.toRadians(W),
|
|
19370
|
+
roll: U.roll
|
|
19359
19371
|
}
|
|
19360
19372
|
});
|
|
19361
19373
|
} else {
|
|
19362
|
-
const
|
|
19363
|
-
|
|
19374
|
+
const U = e.maps.activeMap.getViewpointSync();
|
|
19375
|
+
U.pitch = W, e.maps.activeMap.gotoViewpoint(U);
|
|
19364
19376
|
}
|
|
19365
19377
|
}
|
|
19366
|
-
}),
|
|
19378
|
+
}), u = $(
|
|
19367
19379
|
e.overviewMap.map.layerCollection.size > 0
|
|
19368
|
-
),
|
|
19380
|
+
), f = async () => {
|
|
19369
19381
|
e.overviewMap.currentState.value ? e.overviewMap.deactivate() : await e.overviewMap.activate();
|
|
19370
|
-
},
|
|
19382
|
+
}, d = [
|
|
19371
19383
|
e.overviewMap.map.layerCollection.added.addEventListener(() => {
|
|
19372
|
-
|
|
19384
|
+
u.value = !0;
|
|
19373
19385
|
}),
|
|
19374
19386
|
e.overviewMap.map.layerCollection.removed.addEventListener(() => {
|
|
19375
19387
|
[...e.overviewMap.map.layerCollection].filter(
|
|
19376
|
-
(
|
|
19377
|
-
).length < 1 && e.overviewMap.active && (e.overviewMap.deactivate(),
|
|
19388
|
+
(W) => !W[Ua]
|
|
19389
|
+
).length < 1 && e.overviewMap.active && (e.overviewMap.deactivate(), u.value = !1);
|
|
19378
19390
|
})
|
|
19379
|
-
], { action:
|
|
19380
|
-
!!((
|
|
19381
|
-
),
|
|
19391
|
+
], { action: h, destroy: m } = gN(e), _ = w(() => e.uiConfig.config.showLocator ?? !0), y = $(
|
|
19392
|
+
!!((ee = e.maps.activeMap) != null && ee.movementApiCallsDisabled)
|
|
19393
|
+
), I = tP(
|
|
19382
19394
|
e,
|
|
19383
|
-
|
|
19384
|
-
), { action:
|
|
19385
|
-
var
|
|
19386
|
-
return (
|
|
19387
|
-
}), { action:
|
|
19388
|
-
var
|
|
19389
|
-
return (
|
|
19395
|
+
y
|
|
19396
|
+
), { action: M, destroy: k } = XN(e), x = w(() => {
|
|
19397
|
+
var W;
|
|
19398
|
+
return (W = e.uiConfig.config) == null ? void 0 : W.timePerRotation;
|
|
19399
|
+
}), { action: L, destroy: C } = KN(e, x), V = w(() => {
|
|
19400
|
+
var W;
|
|
19401
|
+
return (W = e.uiConfig.config) == null ? void 0 : W.hideRotationButton;
|
|
19390
19402
|
});
|
|
19391
19403
|
ze(() => {
|
|
19392
|
-
|
|
19404
|
+
m && m(), k && k(), C(), s(), d.forEach((W) => W()), I();
|
|
19393
19405
|
});
|
|
19394
|
-
const { xs:
|
|
19406
|
+
const { xs: F, mobile: B, smAndUp: se } = Rt();
|
|
19395
19407
|
return {
|
|
19396
|
-
xs:
|
|
19397
|
-
smAndUp:
|
|
19398
|
-
mobile:
|
|
19408
|
+
xs: F,
|
|
19409
|
+
smAndUp: se,
|
|
19410
|
+
mobile: B,
|
|
19399
19411
|
viewMode: t,
|
|
19400
|
-
heading:
|
|
19401
|
-
tilt:
|
|
19412
|
+
heading: l,
|
|
19413
|
+
tilt: c,
|
|
19402
19414
|
is3D: w(
|
|
19403
19415
|
() => t.value === ni.THREE_D
|
|
19404
19416
|
),
|
|
@@ -19415,16 +19427,16 @@ const nP = {
|
|
|
19415
19427
|
zoomOut() {
|
|
19416
19428
|
Th(e.maps.activeMap, !0);
|
|
19417
19429
|
},
|
|
19418
|
-
locatorAction: he(
|
|
19419
|
-
showOverviewButton:
|
|
19420
|
-
showLocatorButton:
|
|
19421
|
-
hideRotationButton:
|
|
19422
|
-
homeAction:
|
|
19423
|
-
rotationAction:
|
|
19424
|
-
movementApiCallsDisabled:
|
|
19430
|
+
locatorAction: he(h),
|
|
19431
|
+
showOverviewButton: u,
|
|
19432
|
+
showLocatorButton: _,
|
|
19433
|
+
hideRotationButton: V,
|
|
19434
|
+
homeAction: M,
|
|
19435
|
+
rotationAction: L,
|
|
19436
|
+
movementApiCallsDisabled: y,
|
|
19425
19437
|
mobileLandscape: i,
|
|
19426
19438
|
overviewMapState: e.overviewMap.currentState,
|
|
19427
|
-
toggleOverviewMap:
|
|
19439
|
+
toggleOverviewMap: f
|
|
19428
19440
|
};
|
|
19429
19441
|
}
|
|
19430
19442
|
};
|
|
@@ -19547,7 +19559,7 @@ function iP(e, t, o, n, i, a) {
|
|
|
19547
19559
|
_: 1
|
|
19548
19560
|
}, 8, ["class"]);
|
|
19549
19561
|
}
|
|
19550
|
-
const aP = /* @__PURE__ */ N(oP, [["render", iP], ["__scopeId", "data-v-
|
|
19562
|
+
const aP = /* @__PURE__ */ N(oP, [["render", iP], ["__scopeId", "data-v-401b93fe"]]);
|
|
19551
19563
|
function rP(e) {
|
|
19552
19564
|
const t = $(e.maps.size), o = [
|
|
19553
19565
|
e.maps.added.addEventListener(() => {
|
|
@@ -19693,7 +19705,7 @@ class fP {
|
|
|
19693
19705
|
* @param {string} id
|
|
19694
19706
|
*/
|
|
19695
19707
|
remove(t) {
|
|
19696
|
-
|
|
19708
|
+
Z(t, String);
|
|
19697
19709
|
const o = this._panelComponents.get(t);
|
|
19698
19710
|
if (o) {
|
|
19699
19711
|
const { left: n, right: i, top: a, bottom: r, ...s } = fo(o);
|
|
@@ -19726,7 +19738,7 @@ class fP {
|
|
|
19726
19738
|
*/
|
|
19727
19739
|
add(t, o, n) {
|
|
19728
19740
|
var y, I, M, k, x;
|
|
19729
|
-
|
|
19741
|
+
Z(o, ot(String, Le)), Z(n, Fi(ft));
|
|
19730
19742
|
const i = t.id || bn(), { component: a, position: r } = t, s = { ...(y = t == null ? void 0 : t.state) == null ? void 0 : y.styles }, l = Array.isArray((I = t == null ? void 0 : t.state) == null ? void 0 : I.classes) ? [...((M = t == null ? void 0 : t.state) == null ? void 0 : M.classes) ?? []] : { ...(k = t == null ? void 0 : t.state) == null ? void 0 : k.classes }, c = he({
|
|
19731
19743
|
id: i,
|
|
19732
19744
|
owner: o,
|
|
@@ -20099,7 +20111,7 @@ function bP(e, t, o, n, i, a) {
|
|
|
20099
20111
|
onResize: n.setResizing
|
|
20100
20112
|
}, {
|
|
20101
20113
|
default: v(() => [
|
|
20102
|
-
(g(), A(Do(n.getComponent(l)),
|
|
20114
|
+
(g(), A(Do(n.getComponent(l)), K({
|
|
20103
20115
|
"panel-state": n.getState(l),
|
|
20104
20116
|
ref_for: !0
|
|
20105
20117
|
}, n.getProps(l), {
|
|
@@ -20175,7 +20187,7 @@ const wP = /* @__PURE__ */ N(yP, [["render", bP], ["__scopeId", "data-v-c5d58ee1
|
|
|
20175
20187
|
};
|
|
20176
20188
|
function SP(e, t, o, n, i, a) {
|
|
20177
20189
|
const r = b("v-divider"), s = b("v-sheet");
|
|
20178
|
-
return g(), A(s,
|
|
20190
|
+
return g(), A(s, K({
|
|
20179
20191
|
id: `window-component--${o.windowState.id}`,
|
|
20180
20192
|
class: "elevation-3 position-absolute d-flex flex-column window-component"
|
|
20181
20193
|
}, e.$attrs, {
|
|
@@ -20460,7 +20472,7 @@ function GP(e, t, o, n, i, a) {
|
|
|
20460
20472
|
key: 0,
|
|
20461
20473
|
class: ve(["d-flex select-toolbox-component", { "vcs-toolbox-action-select-button--active": n.open }])
|
|
20462
20474
|
}, [
|
|
20463
|
-
(g(), A(r,
|
|
20475
|
+
(g(), A(r, K({
|
|
20464
20476
|
key: o.group.action.tools[o.group.action.currentIndex].name,
|
|
20465
20477
|
"data-action-name": o.group.action.tools[o.group.action.currentIndex].name,
|
|
20466
20478
|
tooltip: o.group.action.tools[o.group.action.currentIndex].title,
|
|
@@ -20489,7 +20501,7 @@ function GP(e, t, o, n, i, a) {
|
|
|
20489
20501
|
"z-index": n.xs ? 2 : void 0
|
|
20490
20502
|
}, {
|
|
20491
20503
|
activator: v(({ props: f }) => [
|
|
20492
|
-
p(r,
|
|
20504
|
+
p(r, K({
|
|
20493
20505
|
tooltip: o.group.action.title,
|
|
20494
20506
|
disabled: o.group.action.disabled
|
|
20495
20507
|
}, f, {
|
|
@@ -20522,7 +20534,7 @@ function GP(e, t, o, n, i, a) {
|
|
|
20522
20534
|
p(l, { class: "w-100" }, {
|
|
20523
20535
|
default: v(() => [
|
|
20524
20536
|
E("div", $P, [
|
|
20525
|
-
(g(!0), T(ce, null, Ae(o.group.action.tools, (f, d) => (g(), A(r,
|
|
20537
|
+
(g(!0), T(ce, null, Ae(o.group.action.tools, (f, d) => (g(), A(r, K({
|
|
20526
20538
|
"data-action-name": f.name,
|
|
20527
20539
|
key: `${f.name}-${d}`,
|
|
20528
20540
|
tooltip: f.title,
|
|
@@ -20593,7 +20605,7 @@ function ZP(e, t, o, n, i, a) {
|
|
|
20593
20605
|
"z-index": n.xs ? 2 : void 0
|
|
20594
20606
|
}, {
|
|
20595
20607
|
activator: v(({ props: f }) => [
|
|
20596
|
-
p(s,
|
|
20608
|
+
p(s, K({
|
|
20597
20609
|
class: "vcs-toolbox-toggle-button",
|
|
20598
20610
|
width: "48",
|
|
20599
20611
|
icon: o.group.icon,
|
|
@@ -20627,7 +20639,7 @@ function ZP(e, t, o, n, i, a) {
|
|
|
20627
20639
|
p(l, { class: "w-100" }, {
|
|
20628
20640
|
default: v(() => [
|
|
20629
20641
|
E("div", jP, [
|
|
20630
|
-
(g(!0), T(ce, null, Ae(n.orderedButtons, ({ id: f, action: d }) => (g(), A(s,
|
|
20642
|
+
(g(!0), T(ce, null, Ae(n.orderedButtons, ({ id: f, action: d }) => (g(), A(s, K({
|
|
20631
20643
|
"data-action-name": d.name,
|
|
20632
20644
|
key: f,
|
|
20633
20645
|
tooltip: d.title,
|
|
@@ -20765,7 +20777,7 @@ function JP(e, t, o, n, i, a) {
|
|
|
20765
20777
|
onClick: t[1] || (t[1] = (d) => {
|
|
20766
20778
|
n.bringToTop, n.xs && n.toolboxToggleAction.callback();
|
|
20767
20779
|
})
|
|
20768
|
-
}, null, 8, ["group", "onToggle"])) : (g(), A(l,
|
|
20780
|
+
}, null, 8, ["group", "onToggle"])) : (g(), A(l, K({
|
|
20769
20781
|
key: 2,
|
|
20770
20782
|
tooltip: f.action.title,
|
|
20771
20783
|
icon: f.action.icon,
|
|
@@ -20816,47 +20828,47 @@ const QP = /* @__PURE__ */ N(YP, [["render", JP], ["__scopeId", "data-v-06f33b50
|
|
|
20816
20828
|
...a,
|
|
20817
20829
|
...n
|
|
20818
20830
|
], s = J2((h = t.uiConfig) == null ? void 0 : h.config), l = Q2((m = t.uiConfig) == null ? void 0 : m.config), c = X2((_ = t.uiConfig) == null ? void 0 : _.config);
|
|
20819
|
-
return (y, I) => (g(), A(
|
|
20831
|
+
return (y, I) => (g(), A(oe(eo), null, {
|
|
20820
20832
|
default: v(() => [
|
|
20821
20833
|
(g(), T(ce, null, Ae(r, (M) => E("div", {
|
|
20822
20834
|
key: M.name
|
|
20823
20835
|
}, [
|
|
20824
|
-
p(
|
|
20836
|
+
p(oe(Wt), {
|
|
20825
20837
|
onClick: (k) => M.callback(),
|
|
20826
20838
|
"data-action-name": M.name,
|
|
20827
20839
|
title: y.$t(M.name),
|
|
20828
20840
|
"prepend-icon": M.icon
|
|
20829
20841
|
}, null, 8, ["onClick", "data-action-name", "title", "prepend-icon"]),
|
|
20830
|
-
p(
|
|
20842
|
+
p(oe(Rn))
|
|
20831
20843
|
])), 64)),
|
|
20832
|
-
|
|
20833
|
-
|
|
20844
|
+
oe(l) ? (g(), T(ce, { key: 0 }, [
|
|
20845
|
+
oe(l) ? (g(), A(oe(Wt), { key: 0 }, {
|
|
20834
20846
|
default: v(() => [
|
|
20835
20847
|
p(ts, {
|
|
20836
20848
|
class: "plainStyle",
|
|
20837
|
-
"text-page":
|
|
20849
|
+
"text-page": oe(l),
|
|
20838
20850
|
"window-id": "imprintWindow"
|
|
20839
20851
|
}, null, 8, ["text-page"])
|
|
20840
20852
|
]),
|
|
20841
20853
|
_: 1
|
|
20842
20854
|
})) : P("", !0),
|
|
20843
|
-
p(
|
|
20855
|
+
p(oe(Rn))
|
|
20844
20856
|
], 64)) : P("", !0),
|
|
20845
|
-
|
|
20846
|
-
|
|
20857
|
+
oe(s) ? (g(), T(ce, { key: 1 }, [
|
|
20858
|
+
oe(s) ? (g(), A(oe(Wt), { key: 0 }, {
|
|
20847
20859
|
default: v(() => [
|
|
20848
20860
|
p(ts, {
|
|
20849
20861
|
class: "plainStyle",
|
|
20850
|
-
"text-page":
|
|
20862
|
+
"text-page": oe(s),
|
|
20851
20863
|
"window-id": "dataProtectionWindow"
|
|
20852
20864
|
}, null, 8, ["text-page"])
|
|
20853
20865
|
]),
|
|
20854
20866
|
_: 1
|
|
20855
20867
|
})) : P("", !0)
|
|
20856
20868
|
], 64)) : P("", !0),
|
|
20857
|
-
(g(!0), T(ce, null, Ae(
|
|
20858
|
-
p(
|
|
20859
|
-
M ? (g(), A(
|
|
20869
|
+
(g(!0), T(ce, null, Ae(oe(c), (M, k) => (g(), T(ce, { key: k }, [
|
|
20870
|
+
p(oe(Rn)),
|
|
20871
|
+
M ? (g(), A(oe(Wt), { key: 0 }, {
|
|
20860
20872
|
default: v(() => [
|
|
20861
20873
|
p(ts, {
|
|
20862
20874
|
class: "plainStyle",
|
|
@@ -20917,7 +20929,7 @@ function oR(e, t, o, n, i, a) {
|
|
|
20917
20929
|
"z-index": "99"
|
|
20918
20930
|
}, {
|
|
20919
20931
|
activator: v(({ props: f }) => [
|
|
20920
|
-
p(s,
|
|
20932
|
+
p(s, K({
|
|
20921
20933
|
class: "vcs-toolbox-toggle-button pl-4",
|
|
20922
20934
|
width: "50",
|
|
20923
20935
|
icon: n.activeIcon
|
|
@@ -20942,7 +20954,7 @@ function oR(e, t, o, n, i, a) {
|
|
|
20942
20954
|
p(l, { class: "w-100" }, {
|
|
20943
20955
|
default: v(() => [
|
|
20944
20956
|
E("div", nR, [
|
|
20945
|
-
(g(!0), T(ce, null, Ae(n.mapActions, (f) => (g(), A(s,
|
|
20957
|
+
(g(!0), T(ce, null, Ae(n.mapActions, (f) => (g(), A(s, K({
|
|
20946
20958
|
key: f.id,
|
|
20947
20959
|
tooltip: f.title,
|
|
20948
20960
|
icon: f.icon,
|
|
@@ -21054,7 +21066,7 @@ function sR(e, t, o, n, i, a) {
|
|
|
21054
21066
|
p(l, null, {
|
|
21055
21067
|
default: v(() => [
|
|
21056
21068
|
E("div", rR, [
|
|
21057
|
-
n.mobileMenuAction ? (g(), A(r,
|
|
21069
|
+
n.mobileMenuAction ? (g(), A(r, K({
|
|
21058
21070
|
key: n.mobileMenuAction.name,
|
|
21059
21071
|
"data-action-name": n.mobileMenuAction.name,
|
|
21060
21072
|
tooltip: n.mobileMenuAction.title,
|
|
@@ -21062,7 +21074,7 @@ function sR(e, t, o, n, i, a) {
|
|
|
21062
21074
|
active: n.mobileMenuAction.active,
|
|
21063
21075
|
onClick: t[0] || (t[0] = Re((h) => n.mobileMenuAction.callback(h), ["stop"]))
|
|
21064
21076
|
}, { ...e.$attrs }), null, 16, ["data-action-name", "tooltip", "icon", "active"])) : P("", !0),
|
|
21065
|
-
n.searchAction ? (g(), A(r,
|
|
21077
|
+
n.searchAction ? (g(), A(r, K({
|
|
21066
21078
|
"data-action-name": n.searchAction.name,
|
|
21067
21079
|
key: n.searchAction.name,
|
|
21068
21080
|
tooltip: n.searchAction.title,
|
|
@@ -21071,7 +21083,7 @@ function sR(e, t, o, n, i, a) {
|
|
|
21071
21083
|
onClick: t[1] || (t[1] = Re((h) => n.searchAction.callback(h), ["stop"]))
|
|
21072
21084
|
}, { ...e.$attrs }), null, 16, ["data-action-name", "tooltip", "icon", "active"])) : P("", !0),
|
|
21073
21085
|
p(s),
|
|
21074
|
-
n.contentActions.length > 0 ? (g(!0), T(ce, { key: 2 }, Ae(n.contentActions, (h, m) => (g(), A(r,
|
|
21086
|
+
n.contentActions.length > 0 ? (g(!0), T(ce, { key: 2 }, Ae(n.contentActions, (h, m) => (g(), A(r, K({
|
|
21075
21087
|
key: h.name || m,
|
|
21076
21088
|
tooltip: h.title,
|
|
21077
21089
|
icon: h.icon,
|
|
@@ -21080,7 +21092,7 @@ function sR(e, t, o, n, i, a) {
|
|
|
21080
21092
|
onClick: Re((_) => h.callback(_), ["stop"]),
|
|
21081
21093
|
ref_for: !0
|
|
21082
21094
|
}, { ...e.$attrs }), null, 16, ["tooltip", "icon", "active", "data-action-name", "onClick"]))), 128)) : P("", !0),
|
|
21083
|
-
n.toolboxToggleAction ? (g(), A(r,
|
|
21095
|
+
n.toolboxToggleAction ? (g(), A(r, K({
|
|
21084
21096
|
key: n.toolboxToggleAction.name,
|
|
21085
21097
|
tooltip: n.toolboxToggleAction.title,
|
|
21086
21098
|
icon: n.toolboxToggleAction.icon,
|
|
@@ -21110,19 +21122,19 @@ const lR = /* @__PURE__ */ N(aR, [["render", sR], ["__scopeId", "data-v-e4a5b2d0
|
|
|
21110
21122
|
components: { WindowComponent: IP },
|
|
21111
21123
|
setup() {
|
|
21112
21124
|
const e = ge("vcsApp"), { windowManager: t, toolboxManager: o } = e, { componentIds: n } = t, i = $(null), a = $(0), r = $(0), s = $(!1), l = Vt(), { sm: c } = Rt(), u = (U) => {
|
|
21113
|
-
var
|
|
21114
|
-
return (
|
|
21125
|
+
var te;
|
|
21126
|
+
return (te = t.get(U)) == null ? void 0 : te.state;
|
|
21115
21127
|
}, f = (U) => {
|
|
21116
|
-
var
|
|
21117
|
-
return ((
|
|
21128
|
+
var te;
|
|
21129
|
+
return ((te = t.get(U)) == null ? void 0 : te.props) ?? {};
|
|
21118
21130
|
}, d = (U) => {
|
|
21119
|
-
var
|
|
21120
|
-
return ((
|
|
21131
|
+
var te;
|
|
21132
|
+
return ((te = t.get(U)) == null ? void 0 : te.zIndex.value) === t.maxZIndex;
|
|
21121
21133
|
}, h = (U) => {
|
|
21122
21134
|
var Ee;
|
|
21123
21135
|
if (!U)
|
|
21124
21136
|
return null;
|
|
21125
|
-
const
|
|
21137
|
+
const te = !((Ee = U == null ? void 0 : U.state) != null && Ee.dockable) && t.get(U.parentId);
|
|
21126
21138
|
if (U.component.name === ir.name || U.component.components && Object.hasOwn(
|
|
21127
21139
|
U.component.components,
|
|
21128
21140
|
ir.name
|
|
@@ -21132,23 +21144,23 @@ const lR = /* @__PURE__ */ N(aR, [["render", sR], ["__scopeId", "data-v-e4a5b2d0
|
|
|
21132
21144
|
return o.open.value && c.value && be && (be.height -= l.value * 3 + 6), T4(
|
|
21133
21145
|
U == null ? void 0 : U.position,
|
|
21134
21146
|
be,
|
|
21135
|
-
h(
|
|
21147
|
+
h(te)
|
|
21136
21148
|
);
|
|
21137
21149
|
}, m = Rt(), _ = w(() => m.xs.value && n.length > 0), y = w(() => m.sm.value && n.length > 0), I = (U) => w(() => {
|
|
21138
21150
|
var Ee;
|
|
21139
|
-
const
|
|
21151
|
+
const te = t.get(U), be = Number(m.sm.value) || Number(m.xs.value);
|
|
21140
21152
|
return {
|
|
21141
|
-
zIndex: `${
|
|
21142
|
-
...h(
|
|
21143
|
-
...((Ee =
|
|
21153
|
+
zIndex: `${te.zIndex.value + be} !important`,
|
|
21154
|
+
...h(te),
|
|
21155
|
+
...((Ee = te == null ? void 0 : te.state) == null ? void 0 : Ee.styles) || {}
|
|
21144
21156
|
};
|
|
21145
21157
|
}), M = $(!1), k = e.maps.mapActivated.addEventListener((U) => {
|
|
21146
21158
|
M.value = U instanceof Bt;
|
|
21147
21159
|
}), x = (U) => {
|
|
21148
21160
|
t.has(U) && !d(U) && t.bringWindowToTop(U);
|
|
21149
|
-
}, L = (U,
|
|
21161
|
+
}, L = (U, te) => {
|
|
21150
21162
|
const be = t.get(U), Ee = h(be);
|
|
21151
|
-
E4(U,
|
|
21163
|
+
E4(U, te, t, i.value, Ee);
|
|
21152
21164
|
}, C = () => {
|
|
21153
21165
|
i.value = Bs(e.maps.target);
|
|
21154
21166
|
};
|
|
@@ -21158,8 +21170,8 @@ const lR = /* @__PURE__ */ N(aR, [["render", sR], ["__scopeId", "data-v-e4a5b2d0
|
|
|
21158
21170
|
function B() {
|
|
21159
21171
|
m.xs.value ? F = e.windowManager.added.addEventListener(
|
|
21160
21172
|
(U) => {
|
|
21161
|
-
n.filter((
|
|
21162
|
-
|
|
21173
|
+
n.filter((te) => te !== U.id).forEach((te) => {
|
|
21174
|
+
te !== "searchId" ? e.windowManager.remove(te) : te === "searchId" && n.includes("Content") && e.windowManager.remove("searchId");
|
|
21163
21175
|
});
|
|
21164
21176
|
}
|
|
21165
21177
|
) : F == null || F();
|
|
@@ -21189,20 +21201,20 @@ const lR = /* @__PURE__ */ N(aR, [["render", sR], ["__scopeId", "data-v-e4a5b2d0
|
|
|
21189
21201
|
addTabletClass: y,
|
|
21190
21202
|
onTouchStart: (U) => {
|
|
21191
21203
|
if (!_.value) return;
|
|
21192
|
-
const
|
|
21193
|
-
U.touches[0].clientY -
|
|
21204
|
+
const te = U.currentTarget;
|
|
21205
|
+
U.touches[0].clientY - te.getBoundingClientRect().top > 50 || (a.value = U.touches[0].clientY, r.value = a.value, s.value = !0);
|
|
21194
21206
|
},
|
|
21195
21207
|
onTouchMove: (U) => {
|
|
21196
21208
|
if (!s.value) return;
|
|
21197
21209
|
r.value = U.touches[0].clientY;
|
|
21198
|
-
const
|
|
21199
|
-
be && (be.style.transform = `translateY(${Math.max(0,
|
|
21210
|
+
const te = r.value - a.value, be = U.currentTarget;
|
|
21211
|
+
be && (be.style.transform = `translateY(${Math.max(0, te)}px)`);
|
|
21200
21212
|
},
|
|
21201
|
-
onTouchEnd: (U,
|
|
21213
|
+
onTouchEnd: (U, te) => {
|
|
21202
21214
|
if (!s.value) return;
|
|
21203
21215
|
s.value = !1;
|
|
21204
21216
|
const be = r.value - a.value, Ee = U.currentTarget;
|
|
21205
|
-
Ee && (Ee.style.transform = "", be > Ee.offsetHeight / 3 && t.remove(
|
|
21217
|
+
Ee && (Ee.style.transform = "", be > Ee.offsetHeight / 3 && t.remove(te));
|
|
21206
21218
|
},
|
|
21207
21219
|
isOblique: M,
|
|
21208
21220
|
xs: m.xs
|
|
@@ -21229,7 +21241,7 @@ function uR(e, t, o, n, i, a) {
|
|
|
21229
21241
|
"is-on-top": n.isOnTop(s)
|
|
21230
21242
|
}, Lt({
|
|
21231
21243
|
default: v(() => [
|
|
21232
|
-
(g(), A(Do(n.getComponent(s)),
|
|
21244
|
+
(g(), A(Do(n.getComponent(s)), K({
|
|
21233
21245
|
"window-state": n.getState(s),
|
|
21234
21246
|
ref_for: !0
|
|
21235
21247
|
}, n.getProps(s), {
|
|
@@ -21241,7 +21253,7 @@ function uR(e, t, o, n, i, a) {
|
|
|
21241
21253
|
n.getState(s).hideHeader ? void 0 : {
|
|
21242
21254
|
name: "headerComponent",
|
|
21243
21255
|
fn: v(() => [
|
|
21244
|
-
(g(), A(Do(n.getHeaderComponent(s)),
|
|
21256
|
+
(g(), A(Do(n.getHeaderComponent(s)), K({
|
|
21245
21257
|
"window-state": n.getState(s),
|
|
21246
21258
|
"is-on-top": n.isOnTop(s),
|
|
21247
21259
|
"slot-window": n.getSlot(s),
|
|
@@ -21293,7 +21305,7 @@ function pR(e, t, o, n, i, a) {
|
|
|
21293
21305
|
class: "vcs-notifier"
|
|
21294
21306
|
}, {
|
|
21295
21307
|
actions: v(({ props: u }) => [
|
|
21296
|
-
p(s,
|
|
21308
|
+
p(s, K({
|
|
21297
21309
|
icon: "mdi-close",
|
|
21298
21310
|
ref_for: !0
|
|
21299
21311
|
}, u, {
|
|
@@ -21543,7 +21555,7 @@ function TR(e, t, o, n, i, a) {
|
|
|
21543
21555
|
E("div", kR, [
|
|
21544
21556
|
!n.config.hideShareButton && n.shareActions.length > 0 ? (g(), A(d, { key: 0 }, {
|
|
21545
21557
|
activator: v(({ props: y }) => [
|
|
21546
|
-
p(u,
|
|
21558
|
+
p(u, K(y, {
|
|
21547
21559
|
tooltip: "navbar.share.tooltip",
|
|
21548
21560
|
icon: "$vcsShare",
|
|
21549
21561
|
id: "vcs-navbar-share-menu-activator"
|
|
@@ -21559,7 +21571,7 @@ function TR(e, t, o, n, i, a) {
|
|
|
21559
21571
|
]),
|
|
21560
21572
|
_: 1
|
|
21561
21573
|
})) : P("", !0),
|
|
21562
|
-
n.searchAction ? (g(), A(u,
|
|
21574
|
+
n.searchAction ? (g(), A(u, K({
|
|
21563
21575
|
class: "d-flex",
|
|
21564
21576
|
"data-action-name": n.searchAction.name,
|
|
21565
21577
|
key: n.searchAction.name,
|
|
@@ -21571,7 +21583,7 @@ function TR(e, t, o, n, i, a) {
|
|
|
21571
21583
|
}, { ...e.$attrs }), null, 16, ["data-action-name", "tooltip", "icon", "active", "background"])) : P("", !0),
|
|
21572
21584
|
!n.config.hideMenuButton && n.menuActions.length > 0 ? (g(), A(d, { key: 2 }, {
|
|
21573
21585
|
activator: v(({ props: y }) => [
|
|
21574
|
-
p(u,
|
|
21586
|
+
p(u, K(y, {
|
|
21575
21587
|
tooltip: "navbar.menu.tooltip",
|
|
21576
21588
|
id: "vcs-navbar-burger-menu-activator",
|
|
21577
21589
|
icon: "$vcsMenu"
|
|
@@ -21632,7 +21644,7 @@ function MR(e, t, o, n, i, a) {
|
|
|
21632
21644
|
const r = b("v-icon"), s = b("v-container"), l = b("v-tooltip");
|
|
21633
21645
|
return g(), A(l, { class: "vcs-help-tooltip" }, {
|
|
21634
21646
|
activator: v(({ props: c }) => [
|
|
21635
|
-
p(r,
|
|
21647
|
+
p(r, K({ size: n.fontSize }, c, { icon: o.icon }), null, 16, ["size", "icon"])
|
|
21636
21648
|
]),
|
|
21637
21649
|
default: v(() => [
|
|
21638
21650
|
p(s, { class: "py-1 px-2 vcs-help-tooltip-container" }, {
|
|
@@ -21787,7 +21799,7 @@ const cn = /* @__PURE__ */ N(PR, [["render", DR], ["__scopeId", "data-v-c6ba59d8
|
|
|
21787
21799
|
};
|
|
21788
21800
|
function GR(e, t, o, n, i, a) {
|
|
21789
21801
|
const r = b("v-tooltip"), s = b("VcsCheckbox"), l = b("v-list-item"), c = b("v-select");
|
|
21790
|
-
return g(), A(c,
|
|
21802
|
+
return g(), A(c, K({
|
|
21791
21803
|
"menu-icon": "mdi-chevron-down",
|
|
21792
21804
|
multiple: o.multiple,
|
|
21793
21805
|
variant: "outlined",
|
|
@@ -21830,7 +21842,7 @@ function GR(e, t, o, n, i, a) {
|
|
|
21830
21842
|
]),
|
|
21831
21843
|
item: v((u) => [
|
|
21832
21844
|
ae(e.$slots, "item", Te(xe(u ?? {})), () => [
|
|
21833
|
-
p(l,
|
|
21845
|
+
p(l, K({ density: "compact" }, u.props, { role: "option" }), Lt({ _: 2 }, [
|
|
21834
21846
|
o.multiple ? {
|
|
21835
21847
|
name: "prepend",
|
|
21836
21848
|
fn: v((f) => [
|
|
@@ -21897,7 +21909,7 @@ const nl = /* @__PURE__ */ N(FR, [["render", GR], ["__scopeId", "data-v-d3457c65
|
|
|
21897
21909
|
}, HR = ["html-for"];
|
|
21898
21910
|
function WR(e, t, o, n, i, a) {
|
|
21899
21911
|
const r = b("v-radio"), s = b("v-tooltip"), l = b("v-radio-group");
|
|
21900
|
-
return g(), A(l,
|
|
21912
|
+
return g(), A(l, K({
|
|
21901
21913
|
ref: "radioGroup",
|
|
21902
21914
|
class: ["vcs-radio", {
|
|
21903
21915
|
"py-1": !n.paddingProvided
|
|
@@ -21980,7 +21992,7 @@ const tg = /* @__PURE__ */ N(UR, [["render", WR], ["__scopeId", "data-v-0a2fac20
|
|
|
21980
21992
|
};
|
|
21981
21993
|
function ZR(e, t, o, n, i, a) {
|
|
21982
21994
|
const r = b("v-tooltip"), s = b("v-slider");
|
|
21983
|
-
return g(), A(s,
|
|
21995
|
+
return g(), A(s, K({
|
|
21984
21996
|
class: [{
|
|
21985
21997
|
"py-1": !n.paddingProvided,
|
|
21986
21998
|
"remove-append-margin": !n.hasAppendSlot
|
|
@@ -22718,7 +22730,7 @@ function LO(e, t, o, n, i, a) {
|
|
|
22718
22730
|
class: ve(["pa-0", n.determineInnerPadding(h)])
|
|
22719
22731
|
}, {
|
|
22720
22732
|
prepend: v(() => {
|
|
22721
|
-
var m, _, y, I, M, k, x, L, C, V, F, B, se,
|
|
22733
|
+
var m, _, y, I, M, k, x, L, C, V, F, B, se, ee, W, U, te, be, Ee, ne, X, pe, de, _e, ue, ye, Fe, Oe, me, bt, qe, zt, $n, io, ao, Gn, ie, He, We, pn, je, ro, R, O, q, fe, Xe, ke, j, Q;
|
|
22722
22734
|
return [
|
|
22723
22735
|
d.type === n.StyleRowType.Icon || d.type === n.StyleRowType.Shape ? (g(), A(r, {
|
|
22724
22736
|
key: 0,
|
|
@@ -22737,19 +22749,19 @@ function LO(e, t, o, n, i, a) {
|
|
|
22737
22749
|
"stroke-dasharray": (L = (x = d.text) == null ? void 0 : x.stroke) == null ? void 0 : L.lineDash,
|
|
22738
22750
|
"stroke-dashoffset": (V = (C = d.text) == null ? void 0 : C.stroke) == null ? void 0 : V.lineDashOffset,
|
|
22739
22751
|
"stroke-miterlimit": (B = (F = d.text) == null ? void 0 : F.stroke) == null ? void 0 : B.miterLimit,
|
|
22740
|
-
"stroke-width": (
|
|
22741
|
-
fill: n.getColor((U = (
|
|
22752
|
+
"stroke-width": (ee = (se = d.text) == null ? void 0 : se.stroke) == null ? void 0 : ee.width,
|
|
22753
|
+
fill: n.getColor((U = (W = d.text) == null ? void 0 : W.fill) == null ? void 0 : U.color) || "rgba(255,255,255,0)"
|
|
22742
22754
|
}, G(e.$st(d.label || "legend.defaultLabelText")), 13, AO)) : d.type === n.StyleRowType.Stroke ? (g(), T("line", {
|
|
22743
22755
|
key: 1,
|
|
22744
22756
|
x1: "0",
|
|
22745
22757
|
y1: "12",
|
|
22746
22758
|
x2: "32",
|
|
22747
22759
|
y2: "12",
|
|
22748
|
-
stroke: n.getColor((
|
|
22760
|
+
stroke: n.getColor((te = d.stroke) == null ? void 0 : te.color),
|
|
22749
22761
|
"stroke-linecap": (be = d.stroke) == null ? void 0 : be.lineCap,
|
|
22750
22762
|
"stroke-linejoin": (Ee = d.stroke) == null ? void 0 : Ee.lineJoin,
|
|
22751
|
-
"stroke-dasharray": (
|
|
22752
|
-
"stroke-dashoffset": (
|
|
22763
|
+
"stroke-dasharray": (ne = d.stroke) == null ? void 0 : ne.lineDash,
|
|
22764
|
+
"stroke-dashoffset": (X = d.stroke) == null ? void 0 : X.lineDashOffset,
|
|
22753
22765
|
"stroke-miterlimit": (pe = d.stroke) == null ? void 0 : pe.miterLimit,
|
|
22754
22766
|
"stroke-width": (de = d.stroke) == null ? void 0 : de.width
|
|
22755
22767
|
}, null, 8, SO)) : d.type === n.StyleRowType.Fill ? (g(), T(ce, { key: 2 }, [
|
|
@@ -22801,9 +22813,9 @@ function LO(e, t, o, n, i, a) {
|
|
|
22801
22813
|
"stroke-linejoin": (pn = (We = d.image) == null ? void 0 : We.stroke) == null ? void 0 : pn.lineJoin,
|
|
22802
22814
|
"stroke-dasharray": (ro = (je = d.image) == null ? void 0 : je.stroke) == null ? void 0 : ro.lineDash,
|
|
22803
22815
|
"stroke-dashoffset": (O = (R = d.image) == null ? void 0 : R.stroke) == null ? void 0 : O.lineDashOffset,
|
|
22804
|
-
"stroke-miterlimit": (fe = (
|
|
22816
|
+
"stroke-miterlimit": (fe = (q = d.image) == null ? void 0 : q.stroke) == null ? void 0 : fe.miterLimit,
|
|
22805
22817
|
"stroke-width": (ke = (Xe = d.image) == null ? void 0 : Xe.stroke) == null ? void 0 : ke.width,
|
|
22806
|
-
fill: n.getColor((
|
|
22818
|
+
fill: n.getColor((Q = (j = d.image) == null ? void 0 : j.fill) == null ? void 0 : Q.color) || "rgba(255,255,255,0)"
|
|
22807
22819
|
}, null, 8, xO)) : P("", !0)
|
|
22808
22820
|
]))
|
|
22809
22821
|
];
|
|
@@ -23572,7 +23584,7 @@ class SD extends ks {
|
|
|
23572
23584
|
* @param {boolean} move
|
|
23573
23585
|
*/
|
|
23574
23586
|
setMove(t) {
|
|
23575
|
-
|
|
23587
|
+
Z(t, Boolean), this._move = t, this._defaultActive = this._move ? uo.CLICK | uo.MOVE : uo.CLICK, this.setActive();
|
|
23576
23588
|
}
|
|
23577
23589
|
/**
|
|
23578
23590
|
* @param {import("@vcmap/core").InteractionEvent} event
|
|
@@ -23688,7 +23700,7 @@ function ED(e, t, o, n, i, a) {
|
|
|
23688
23700
|
], 64)) : P("", !0),
|
|
23689
23701
|
n.positionDisplayAction.active ? (g(), A(f, { key: 1 }, {
|
|
23690
23702
|
activator: v(({ props: d }) => [
|
|
23691
|
-
p(r,
|
|
23703
|
+
p(r, K(d, {
|
|
23692
23704
|
tooltip: "footer.positionDisplay.projection",
|
|
23693
23705
|
icon: "mdi-chevron-down",
|
|
23694
23706
|
class: "bg-primary"
|
|
@@ -24406,7 +24418,7 @@ class $o {
|
|
|
24406
24418
|
* @param {StateActionState} state
|
|
24407
24419
|
*/
|
|
24408
24420
|
set state(t) {
|
|
24409
|
-
|
|
24421
|
+
Z(t, Fi(Ie)), this._state.value !== t && (this._state.value = t, this._setStateAction());
|
|
24410
24422
|
}
|
|
24411
24423
|
/**
|
|
24412
24424
|
* @type {string|null}
|
|
@@ -24418,7 +24430,7 @@ class $o {
|
|
|
24418
24430
|
* @param {string} url
|
|
24419
24431
|
*/
|
|
24420
24432
|
set infoUrl(t) {
|
|
24421
|
-
if (
|
|
24433
|
+
if (Z(t, ut(String)), this._infoUrl !== t) {
|
|
24422
24434
|
this._infoUrl = t;
|
|
24423
24435
|
const o = "infoUrl";
|
|
24424
24436
|
if (this._infoUrl) {
|
|
@@ -24445,7 +24457,7 @@ class $o {
|
|
|
24445
24457
|
* @param {string|undefined} title
|
|
24446
24458
|
*/
|
|
24447
24459
|
set title(t) {
|
|
24448
|
-
|
|
24460
|
+
Z(t, ut(String)), this._title.value = t;
|
|
24449
24461
|
}
|
|
24450
24462
|
/**
|
|
24451
24463
|
* @type {string|undefined}
|
|
@@ -24457,7 +24469,7 @@ class $o {
|
|
|
24457
24469
|
* @param {string|undefined} tooltip
|
|
24458
24470
|
*/
|
|
24459
24471
|
set tooltip(t) {
|
|
24460
|
-
|
|
24472
|
+
Z(t, ut(String)), this._tooltip.value = t;
|
|
24461
24473
|
}
|
|
24462
24474
|
/**
|
|
24463
24475
|
* @type {string|HTMLCanvasElement|HTMLImageElement|undefined}
|
|
@@ -24469,7 +24481,7 @@ class $o {
|
|
|
24469
24481
|
* @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
|
|
24470
24482
|
*/
|
|
24471
24483
|
set icon(t) {
|
|
24472
|
-
|
|
24484
|
+
Z(t, ut(ot(String, HTMLElement))), this._icon.value = t;
|
|
24473
24485
|
}
|
|
24474
24486
|
/**
|
|
24475
24487
|
* @type {number}
|
|
@@ -24481,7 +24493,7 @@ class $o {
|
|
|
24481
24493
|
* @param {number} weight
|
|
24482
24494
|
*/
|
|
24483
24495
|
set weight(t) {
|
|
24484
|
-
|
|
24496
|
+
Z(t, Number), t !== this._weight && (this._weight = t, this.weightChanged.raiseEvent(t));
|
|
24485
24497
|
}
|
|
24486
24498
|
/**
|
|
24487
24499
|
* @private
|
|
@@ -24519,7 +24531,7 @@ class $o {
|
|
|
24519
24531
|
* @param {number} [weight=11]
|
|
24520
24532
|
*/
|
|
24521
24533
|
addAction(t, o = 11) {
|
|
24522
|
-
if (
|
|
24534
|
+
if (Z(t.name, String), Z(o, ut(Number)), this._getActionIndex(t.name) > -1)
|
|
24523
24535
|
throw new Error("Action names must be unique");
|
|
24524
24536
|
t[Nh] = o;
|
|
24525
24537
|
const i = this._actions.value.findIndex(
|
|
@@ -24660,12 +24672,12 @@ const eF = /* @__PURE__ */ N(XD, [["render", KD]]), tF = { class: "w-100" }, nF
|
|
|
24660
24672
|
ref: o
|
|
24661
24673
|
}, [
|
|
24662
24674
|
E("span", tF, G(i.$st(e.item.title || e.item.name)), 1),
|
|
24663
|
-
|
|
24675
|
+
oe(n) ? (g(), A(oe(gt), {
|
|
24664
24676
|
key: 0,
|
|
24665
24677
|
activator: "parent"
|
|
24666
24678
|
}, {
|
|
24667
24679
|
default: v(() => [
|
|
24668
|
-
H(G(i.$st(
|
|
24680
|
+
H(G(i.$st(oe(n))), 1)
|
|
24669
24681
|
]),
|
|
24670
24682
|
_: 1
|
|
24671
24683
|
})) : P("", !0)
|
|
@@ -24897,7 +24909,7 @@ function cF(e, t, o, n, i, a) {
|
|
|
24897
24909
|
Ae(n.forwardSlots, (_) => ({
|
|
24898
24910
|
name: _,
|
|
24899
24911
|
fn: v((y) => [
|
|
24900
|
-
ae(e.$slots, _,
|
|
24912
|
+
ae(e.$slots, _, K({ ref_for: !0 }, y ?? {}), void 0, !0)
|
|
24901
24913
|
])
|
|
24902
24914
|
}))
|
|
24903
24915
|
]), 1032, ["item", "search", "custom-filter", "show-all-children", "level", "open-on-click", "item-children", "opened", "draggable", "onItemToggled", "onClick", "onDragstart", "onDragover", "onDragend", "onDrop", "onDragleave"]))), 128))
|
|
@@ -25083,7 +25095,7 @@ function hF(e, t, o, n, i, a) {
|
|
|
25083
25095
|
Ae(n.forwardSlots, (u) => ({
|
|
25084
25096
|
name: u,
|
|
25085
25097
|
fn: v((f) => [
|
|
25086
|
-
ae(e.$slots, u,
|
|
25098
|
+
ae(e.$slots, u, K({ ref_for: !0 }, f ?? {}), void 0, !0)
|
|
25087
25099
|
])
|
|
25088
25100
|
}))
|
|
25089
25101
|
]), 1032, ["class", "item", "path", "search", "opened", "custom-filter", "open-on-click", "item-children", "draggable", "onDragstart", "onDragover", "onDragend", "onDrop", "onItemToggled", "onClick"])
|
|
@@ -27263,7 +27275,7 @@ function FF(e, t, o) {
|
|
|
27263
27275
|
e.properties || (e.properties = {}), e.properties.title = o, t.title = o;
|
|
27264
27276
|
}
|
|
27265
27277
|
function PH(e, t) {
|
|
27266
|
-
return
|
|
27278
|
+
return Z(e, ot([String], Function)), (o, n, i) => {
|
|
27267
27279
|
const a = typeof e == "function" ? e(o) : e;
|
|
27268
27280
|
t.activeMap ? i.disabled = !a.includes(t.activeMap.className) : i.disabled = !0, i.destroyFunctions.push(
|
|
27269
27281
|
t.mapActivated.addEventListener((r) => {
|
|
@@ -27640,7 +27652,7 @@ class BF {
|
|
|
27640
27652
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
|
27641
27653
|
*/
|
|
27642
27654
|
add(t, o) {
|
|
27643
|
-
if (
|
|
27655
|
+
if (Z(t, { collection: fr }), Z(o, ot(String, Symbol)), t.id && this.has(t.id))
|
|
27644
27656
|
throw new Error(
|
|
27645
27657
|
`A collection component with id ${t.id} has already been registered.`
|
|
27646
27658
|
);
|
|
@@ -27664,7 +27676,7 @@ class BF {
|
|
|
27664
27676
|
* @param {string} id
|
|
27665
27677
|
*/
|
|
27666
27678
|
remove(t) {
|
|
27667
|
-
|
|
27679
|
+
Z(t, String);
|
|
27668
27680
|
const o = this._collectionComponents.get(t);
|
|
27669
27681
|
if (o) {
|
|
27670
27682
|
const n = this.componentIds.indexOf(t);
|
|
@@ -27691,7 +27703,7 @@ class BF {
|
|
|
27691
27703
|
* @template {Object} T
|
|
27692
27704
|
*/
|
|
27693
27705
|
addMappingFunction(t, o, n, i = []) {
|
|
27694
|
-
|
|
27706
|
+
Z(t, ut(Function)), Z(o, Function), Z(n, ot(String, Symbol)), Z(i, [String]);
|
|
27695
27707
|
const a = {
|
|
27696
27708
|
predicate: t,
|
|
27697
27709
|
mappingFunction: o,
|
|
@@ -27712,7 +27724,7 @@ class BF {
|
|
|
27712
27724
|
* @template {Object} T
|
|
27713
27725
|
*/
|
|
27714
27726
|
removeMappingFunction(t, o) {
|
|
27715
|
-
|
|
27727
|
+
Z(t, Function), Z(o, ot(String, Symbol)), [...this._collectionComponents.values()].forEach((n) => {
|
|
27716
27728
|
n.removeItemMapping({ mappingFunction: t, owner: o });
|
|
27717
27729
|
}), this._itemMappings = this._itemMappings.filter(
|
|
27718
27730
|
(n) => !(n.mappingFunction === t && n.owner === o)
|
|
@@ -27725,7 +27737,7 @@ class BF {
|
|
|
27725
27737
|
* @template {Object} T
|
|
27726
27738
|
*/
|
|
27727
27739
|
addFilterFunction(t, o, n = []) {
|
|
27728
|
-
|
|
27740
|
+
Z(t, Function), Z(o, ot(String, Symbol)), Z(n, [String]);
|
|
27729
27741
|
const i = {
|
|
27730
27742
|
filterFunction: t,
|
|
27731
27743
|
owner: o
|
|
@@ -27745,7 +27757,7 @@ class BF {
|
|
|
27745
27757
|
* @template {Object} T
|
|
27746
27758
|
*/
|
|
27747
27759
|
removeFilterFunction(t, o) {
|
|
27748
|
-
|
|
27760
|
+
Z(t, Function), Z(o, ot(String, Symbol)), [...this._collectionComponents.values()].forEach((n) => {
|
|
27749
27761
|
n.removeItemFilter({ filterFunction: t, owner: o });
|
|
27750
27762
|
}), this._itemFilters = this._itemFilters.filter(
|
|
27751
27763
|
(n) => !(n.filterFunction === t && n.owner === o)
|
|
@@ -27758,7 +27770,7 @@ class BF {
|
|
|
27758
27770
|
* @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
|
|
27759
27771
|
*/
|
|
27760
27772
|
addActions(t, o, n = []) {
|
|
27761
|
-
if (
|
|
27773
|
+
if (Z(o, ot(String, Symbol)), Z(n, [String]), !Dd(t))
|
|
27762
27774
|
throw new Error("Invalid actions Array");
|
|
27763
27775
|
if (!this._itemActions.find(
|
|
27764
27776
|
(i) => i.actions === t && i.owner === o
|
|
@@ -27780,7 +27792,7 @@ class BF {
|
|
|
27780
27792
|
* @param {string | symbol} owner
|
|
27781
27793
|
*/
|
|
27782
27794
|
removeActions(t, o) {
|
|
27783
|
-
|
|
27795
|
+
Z(o, ot(String, Symbol));
|
|
27784
27796
|
const n = this._itemActions.findIndex((i) => i.actions === t);
|
|
27785
27797
|
if (n > -1) {
|
|
27786
27798
|
const { collectionComponentIds: i, ownedActions: a } = this._itemActions[n];
|
|
@@ -27794,7 +27806,7 @@ class BF {
|
|
|
27794
27806
|
* @param {string | symbol} owner
|
|
27795
27807
|
*/
|
|
27796
27808
|
removeOwner(t) {
|
|
27797
|
-
|
|
27809
|
+
Z(t, ot(String, Symbol)), [...this._collectionComponents.values()].forEach((o) => {
|
|
27798
27810
|
o.owner === t ? (this.remove(o.id), o.destroy()) : o.removeOwner(t);
|
|
27799
27811
|
}), this._itemMappings = this._itemMappings.filter((o) => o.owner !== t), this._itemFilters = this._itemFilters.filter((o) => o.owner !== t), this._itemActions = this._itemActions.filter(
|
|
27800
27812
|
(o) => o.owner !== t
|
|
@@ -27868,7 +27880,7 @@ class $F extends BF {
|
|
|
27868
27880
|
* @param {string} id
|
|
27869
27881
|
*/
|
|
27870
27882
|
addModuleId(t) {
|
|
27871
|
-
|
|
27883
|
+
Z(t, String), this._moduleIds.includes(t) || this._moduleIds.push(t), t === this._app.dynamicModuleId && this.reset();
|
|
27872
27884
|
}
|
|
27873
27885
|
/**
|
|
27874
27886
|
* @param {string} id
|
|
@@ -28012,7 +28024,7 @@ class ZF {
|
|
|
28012
28024
|
* @param {string|symbol} owner
|
|
28013
28025
|
*/
|
|
28014
28026
|
addEventHandler(t, o) {
|
|
28015
|
-
|
|
28027
|
+
Z(t, Function), Z(o, ot(String, Le)), this._ensureInteraction(), this._eventHandlers.push({ owner: o, handler: t });
|
|
28016
28028
|
const n = [...this._app.plugins].map((i) => i.name);
|
|
28017
28029
|
this._eventHandlers.sort((i, a) => Xd(i.owner, a.owner, n));
|
|
28018
28030
|
}
|
|
@@ -28233,7 +28245,7 @@ function rB(e, t) {
|
|
|
28233
28245
|
), o;
|
|
28234
28246
|
}
|
|
28235
28247
|
function sB(e) {
|
|
28236
|
-
if (
|
|
28248
|
+
if (Z(e, URL), e.searchParams.has("state"))
|
|
28237
28249
|
try {
|
|
28238
28250
|
return aB(JSON.parse(e.searchParams.get("state")));
|
|
28239
28251
|
} catch {
|
|
@@ -28244,7 +28256,7 @@ function sB(e) {
|
|
|
28244
28256
|
return a1();
|
|
28245
28257
|
}
|
|
28246
28258
|
function RH(e, t) {
|
|
28247
|
-
|
|
28259
|
+
Z(e, {
|
|
28248
28260
|
activeMap: Ce(String),
|
|
28249
28261
|
activeViewpoint: Ce(Object),
|
|
28250
28262
|
activeObliqueCollection: Ce(String),
|
|
@@ -28252,7 +28264,7 @@ function RH(e, t) {
|
|
|
28252
28264
|
plugins: Array,
|
|
28253
28265
|
clippingPolygons: Array,
|
|
28254
28266
|
moduleIds: [String]
|
|
28255
|
-
}),
|
|
28267
|
+
}), Z(t, URL);
|
|
28256
28268
|
const o = YF - t.toString().length;
|
|
28257
28269
|
t.searchParams.set(
|
|
28258
28270
|
"state",
|
|
@@ -28336,7 +28348,7 @@ class cB extends Ii {
|
|
|
28336
28348
|
* @param {number=} index
|
|
28337
28349
|
*/
|
|
28338
28350
|
add(t, o, n) {
|
|
28339
|
-
|
|
28351
|
+
Z(o, ot(String, Le)), Z(t.search, Function), t[Oh] = o, super.add(t, n);
|
|
28340
28352
|
}
|
|
28341
28353
|
/**
|
|
28342
28354
|
* removes all search implementations of a specific owner (plugin) and fires removed Events
|
|
@@ -28484,7 +28496,7 @@ function fB(e) {
|
|
|
28484
28496
|
};
|
|
28485
28497
|
}
|
|
28486
28498
|
function Kc(e) {
|
|
28487
|
-
|
|
28499
|
+
Z(e, String);
|
|
28488
28500
|
const t = document.createElement("link");
|
|
28489
28501
|
t.className = "vcs-favicon";
|
|
28490
28502
|
const o = document.getElementsByClassName("vcs-favicon"), n = [];
|
|
@@ -28910,7 +28922,7 @@ const Ki = {
|
|
|
28910
28922
|
i18n: Ce([Object])
|
|
28911
28923
|
};
|
|
28912
28924
|
async function dg(e) {
|
|
28913
|
-
|
|
28925
|
+
Z(e, String);
|
|
28914
28926
|
const t = new r1(), o = w_(QD, {
|
|
28915
28927
|
appId: t.id
|
|
28916
28928
|
});
|
|
@@ -28919,7 +28931,7 @@ async function dg(e) {
|
|
|
28919
28931
|
return o.use(n), o.use(t.vuetify), o.mount(e), t;
|
|
28920
28932
|
}
|
|
28921
28933
|
async function OH(e, t) {
|
|
28922
|
-
|
|
28934
|
+
Z(e, String), Z(t, ut(String));
|
|
28923
28935
|
const o = await dg(e);
|
|
28924
28936
|
if (t) {
|
|
28925
28937
|
const n = await fetch(t).then((a) => a.json()), i = new su(n);
|
|
@@ -28946,9 +28958,9 @@ async function fg(e) {
|
|
|
28946
28958
|
return null;
|
|
28947
28959
|
}
|
|
28948
28960
|
async function DH(e, t) {
|
|
28949
|
-
|
|
28961
|
+
Z(e, String), Z(t, String);
|
|
28950
28962
|
const o = await dg(e), n = await fetch(t).then((a) => a.json());
|
|
28951
|
-
|
|
28963
|
+
Z(n.modules, [ot(String, Object)]);
|
|
28952
28964
|
const i = await Promise.all(
|
|
28953
28965
|
n.modules.map(fg)
|
|
28954
28966
|
);
|
|
@@ -30119,7 +30131,7 @@ const lm = Symbol(
|
|
|
30119
30131
|
"EditorCollectionComponentClass"
|
|
30120
30132
|
);
|
|
30121
30133
|
function FH(e, t, o, n = zn) {
|
|
30122
|
-
|
|
30134
|
+
Z(t, i1), Z(o.editor, ot(Object, Function)), Z(o.multiEditor, ut(Object)), Z(o.predicate, ut(Function));
|
|
30123
30135
|
const i = (
|
|
30124
30136
|
/** @type {EditorCollectionComponentClass} */
|
|
30125
30137
|
t
|
|
@@ -30159,11 +30171,11 @@ function FH(e, t, o, n = zn) {
|
|
|
30159
30171
|
e.windowManager.has(f) && e.windowManager.remove(f);
|
|
30160
30172
|
}
|
|
30161
30173
|
function k(B) {
|
|
30162
|
-
const se = _(B),
|
|
30163
|
-
se && (M(), e.windowManager.has(
|
|
30174
|
+
const se = _(B), ee = h(B);
|
|
30175
|
+
se && (M(), e.windowManager.has(ee) ? e.windowManager.bringWindowToTop(ee) : e.windowManager.add(
|
|
30164
30176
|
{
|
|
30165
30177
|
...se,
|
|
30166
|
-
id:
|
|
30178
|
+
id: ee,
|
|
30167
30179
|
slot: Pe.DYNAMIC_CHILD,
|
|
30168
30180
|
parentId: n
|
|
30169
30181
|
},
|
|
@@ -30191,18 +30203,18 @@ function FH(e, t, o, n = zn) {
|
|
|
30191
30203
|
});
|
|
30192
30204
|
i.addItemMapping({
|
|
30193
30205
|
predicate: s,
|
|
30194
|
-
mappingFunction: (B, se,
|
|
30195
|
-
|
|
30196
|
-
U.shiftKey || U.ctrlKey || (i.selection.value.length > 1 && k(B), !l && i.selection.value.length === 1 && i.selection.value[0] ===
|
|
30206
|
+
mappingFunction: (B, se, ee) => {
|
|
30207
|
+
ee.clickedCallbacks.push((U) => {
|
|
30208
|
+
U.shiftKey || U.ctrlKey || (i.selection.value.length > 1 && k(B), !l && i.selection.value.length === 1 && i.selection.value[0] === ee && y(B));
|
|
30197
30209
|
});
|
|
30198
|
-
const
|
|
30210
|
+
const W = {
|
|
30199
30211
|
name: o.editTitle ?? "list.editItem",
|
|
30200
30212
|
async callback() {
|
|
30201
|
-
l ? (I(), await On(), t.selection.value = [
|
|
30213
|
+
l ? (I(), await On(), t.selection.value = [ee]) : t.selection.value = [], k(B);
|
|
30202
30214
|
},
|
|
30203
30215
|
weight: 10
|
|
30204
30216
|
};
|
|
30205
|
-
|
|
30217
|
+
ee.actions.push(W);
|
|
30206
30218
|
},
|
|
30207
30219
|
owner: i.owner
|
|
30208
30220
|
});
|
|
@@ -30390,7 +30402,7 @@ const Ho = /* @__PURE__ */ N(yB, [["render", IB], ["__scopeId", "data-v-1b73edf2
|
|
|
30390
30402
|
};
|
|
30391
30403
|
function CB(e, t, o, n, i, a) {
|
|
30392
30404
|
const r = b("collection-component-list"), s = b("CollectionComponentContent"), l = b("VcsFormSection");
|
|
30393
|
-
return g(), A(l,
|
|
30405
|
+
return g(), A(l, K({
|
|
30394
30406
|
heading: n.title,
|
|
30395
30407
|
"header-actions": n.actions,
|
|
30396
30408
|
"action-button-list-overflow-count": n.overflowCount
|
|
@@ -30451,7 +30463,7 @@ function xB(e, t, o, n, i, a) {
|
|
|
30451
30463
|
default: v(() => [
|
|
30452
30464
|
p(s, null, {
|
|
30453
30465
|
default: v(() => [
|
|
30454
|
-
p(r,
|
|
30466
|
+
p(r, K({
|
|
30455
30467
|
"html-for": `${n.cid}-${o.label}`
|
|
30456
30468
|
}, e.$attrs, {
|
|
30457
30469
|
"help-text": o.tooltip,
|
|
@@ -30467,7 +30479,7 @@ function xB(e, t, o, n, i, a) {
|
|
|
30467
30479
|
}),
|
|
30468
30480
|
p(s, { cols: o.textInputCols }, {
|
|
30469
30481
|
default: v(() => [
|
|
30470
|
-
o.allowTextInput ? (g(), A(l,
|
|
30482
|
+
o.allowTextInput ? (g(), A(l, K({
|
|
30471
30483
|
key: 0,
|
|
30472
30484
|
type: "number"
|
|
30473
30485
|
}, e.$attrs, {
|
|
@@ -30489,7 +30501,7 @@ function xB(e, t, o, n, i, a) {
|
|
|
30489
30501
|
class: "slider-container"
|
|
30490
30502
|
}, {
|
|
30491
30503
|
default: v(() => [
|
|
30492
|
-
p(u,
|
|
30504
|
+
p(u, K({
|
|
30493
30505
|
id: `${n.cid}-${o.label}`
|
|
30494
30506
|
}, e.$attrs, {
|
|
30495
30507
|
modelValue: n.localValue,
|
|
@@ -30634,7 +30646,7 @@ function NB(e, t, o, n, i, a) {
|
|
|
30634
30646
|
}])
|
|
30635
30647
|
}, [
|
|
30636
30648
|
(g(!0), T(ce, null, Ae(n.localValue, ({ key: u, value: f }, d) => (g(), T("div", { key: u }, [
|
|
30637
|
-
n.selected !== d ? (g(), A(s,
|
|
30649
|
+
n.selected !== d ? (g(), A(s, K({
|
|
30638
30650
|
key: 0,
|
|
30639
30651
|
size: "small",
|
|
30640
30652
|
disabled: o.disabled,
|
|
@@ -30647,7 +30659,7 @@ function NB(e, t, o, n, i, a) {
|
|
|
30647
30659
|
E("span", MB, G(f), 1)
|
|
30648
30660
|
]),
|
|
30649
30661
|
_: 2
|
|
30650
|
-
}, 1040, ["disabled", "closable", "onClick", "onClick:close"])) : (g(), A(l,
|
|
30662
|
+
}, 1040, ["disabled", "closable", "onClick", "onClick:close"])) : (g(), A(l, K({
|
|
30651
30663
|
key: 1,
|
|
30652
30664
|
rounded: "",
|
|
30653
30665
|
filled: "",
|
|
@@ -30669,7 +30681,7 @@ function NB(e, t, o, n, i, a) {
|
|
|
30669
30681
|
}), null, 16, ["style", "modelValue"]))
|
|
30670
30682
|
]))), 128)),
|
|
30671
30683
|
E("div", null, [
|
|
30672
|
-
n.adding === !1 ? (g(), A(s,
|
|
30684
|
+
n.adding === !1 ? (g(), A(s, K({
|
|
30673
30685
|
key: 0,
|
|
30674
30686
|
size: "small",
|
|
30675
30687
|
disabled: o.disabled,
|
|
@@ -30684,7 +30696,7 @@ function NB(e, t, o, n, i, a) {
|
|
|
30684
30696
|
})
|
|
30685
30697
|
]),
|
|
30686
30698
|
_: 1
|
|
30687
|
-
}, 16, ["disabled"])) : (g(), A(l,
|
|
30699
|
+
}, 16, ["disabled"])) : (g(), A(l, K({
|
|
30688
30700
|
key: 1,
|
|
30689
30701
|
rounded: "",
|
|
30690
30702
|
filled: "",
|
|
@@ -30814,7 +30826,7 @@ function OB(e, t, o, n, i, a) {
|
|
|
30814
30826
|
default: v(() => {
|
|
30815
30827
|
var f, d;
|
|
30816
30828
|
return [
|
|
30817
|
-
p(r,
|
|
30829
|
+
p(r, K({
|
|
30818
30830
|
"hide-spin-buttons": !0,
|
|
30819
30831
|
type: "number",
|
|
30820
30832
|
class: "py-0",
|
|
@@ -30870,7 +30882,7 @@ const gg = /* @__PURE__ */ N(RB, [["render", OB]]), DB = {
|
|
|
30870
30882
|
};
|
|
30871
30883
|
function FB(e, t, o, n, i, a) {
|
|
30872
30884
|
const r = b("v-tooltip"), s = b("v-textarea");
|
|
30873
|
-
return g(), A(s,
|
|
30885
|
+
return g(), A(s, K({
|
|
30874
30886
|
ref: "textAreaRef",
|
|
30875
30887
|
variant: "outlined",
|
|
30876
30888
|
"clear-icon": "$close",
|
|
@@ -31068,7 +31080,7 @@ function vg(e) {
|
|
|
31068
31080
|
const o = w(() => {
|
|
31069
31081
|
const {
|
|
31070
31082
|
variant: a
|
|
31071
|
-
} =
|
|
31083
|
+
} = oe(e);
|
|
31072
31084
|
return `${t}--variant-${a}`;
|
|
31073
31085
|
}), {
|
|
31074
31086
|
colorClasses: n,
|
|
@@ -31077,7 +31089,7 @@ function vg(e) {
|
|
|
31077
31089
|
const {
|
|
31078
31090
|
variant: a,
|
|
31079
31091
|
color: r
|
|
31080
|
-
} =
|
|
31092
|
+
} = oe(e);
|
|
31081
31093
|
return {
|
|
31082
31094
|
[["elevated", "flat"].includes(a) ? "background" : "text"]: r
|
|
31083
31095
|
};
|
|
@@ -31196,7 +31208,7 @@ function dl(e, t) {
|
|
|
31196
31208
|
}), a = oo("useGroup");
|
|
31197
31209
|
function r(d, h) {
|
|
31198
31210
|
const m = d, _ = Symbol.for(`${t.description}:id`), I = Ba(_, a == null ? void 0 : a.vnode).indexOf(h);
|
|
31199
|
-
|
|
31211
|
+
oe(m.value) == null && (m.value = I, m.useIndexAsValue = !0), I > -1 ? n.splice(I, 0, m) : n.push(m);
|
|
31200
31212
|
}
|
|
31201
31213
|
function s(d) {
|
|
31202
31214
|
if (o) return;
|
|
@@ -31301,7 +31313,7 @@ nt()({
|
|
|
31301
31313
|
} = dl(e, bg);
|
|
31302
31314
|
return _t(() => {
|
|
31303
31315
|
const l = dm.filterProps(e);
|
|
31304
|
-
return p(dm,
|
|
31316
|
+
return p(dm, K({
|
|
31305
31317
|
class: ["v-btn-toggle", e.class]
|
|
31306
31318
|
}, l, {
|
|
31307
31319
|
style: e.style
|
|
@@ -31388,7 +31400,7 @@ const WB = Me({
|
|
|
31388
31400
|
let {
|
|
31389
31401
|
attrs: o
|
|
31390
31402
|
} = t;
|
|
31391
|
-
return () => p(e.tag,
|
|
31403
|
+
return () => p(e.tag, K(o, {
|
|
31392
31404
|
style: null
|
|
31393
31405
|
}), {
|
|
31394
31406
|
default: () => [p("svg", {
|
|
@@ -31432,7 +31444,7 @@ const zB = (e) => {
|
|
|
31432
31444
|
return {
|
|
31433
31445
|
iconData: w(() => {
|
|
31434
31446
|
var l;
|
|
31435
|
-
const n =
|
|
31447
|
+
const n = oe(e);
|
|
31436
31448
|
if (!n) return {
|
|
31437
31449
|
component: fm
|
|
31438
31450
|
};
|
|
@@ -32062,12 +32074,12 @@ const m1 = {
|
|
|
32062
32074
|
sizeClasses: h,
|
|
32063
32075
|
sizeStyles: m
|
|
32064
32076
|
} = ml(e), _ = ul(e, e.symbol, !1), y = i$(e, o), I = w(() => {
|
|
32065
|
-
var
|
|
32066
|
-
return e.active !== void 0 ? e.active : y.isLink.value ? (
|
|
32077
|
+
var ee;
|
|
32078
|
+
return e.active !== void 0 ? e.active : y.isLink.value ? (ee = y.isActive) == null ? void 0 : ee.value : _ == null ? void 0 : _.isSelected.value;
|
|
32067
32079
|
}), M = w(() => I.value ? e.activeColor ?? e.color : e.color), k = w(() => {
|
|
32068
|
-
var
|
|
32080
|
+
var W, U;
|
|
32069
32081
|
return {
|
|
32070
|
-
color: (_ == null ? void 0 : _.isSelected.value) && (!y.isLink.value || ((
|
|
32082
|
+
color: (_ == null ? void 0 : _.isSelected.value) && (!y.isLink.value || ((W = y.isActive) == null ? void 0 : W.value)) || !_ || ((U = y.isActive) == null ? void 0 : U.value) ? M.value ?? e.baseColor : e.baseColor,
|
|
32071
32083
|
variant: e.variant
|
|
32072
32084
|
};
|
|
32073
32085
|
}), {
|
|
@@ -32078,14 +32090,14 @@ const m1 = {
|
|
|
32078
32090
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
32079
32091
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
32080
32092
|
});
|
|
32081
|
-
function se(
|
|
32082
|
-
var
|
|
32083
|
-
V.value || y.isLink.value && (
|
|
32093
|
+
function se(ee) {
|
|
32094
|
+
var W;
|
|
32095
|
+
V.value || y.isLink.value && (ee.metaKey || ee.ctrlKey || ee.shiftKey || ee.button !== 0 || o.target === "_blank") || ((W = y.navigate) == null || W.call(y, ee), _ == null || _.toggle());
|
|
32084
32096
|
}
|
|
32085
32097
|
return r$(y, _ == null ? void 0 : _.select), _t(() => {
|
|
32086
|
-
const
|
|
32087
|
-
return ii(p(
|
|
32088
|
-
type:
|
|
32098
|
+
const ee = y.isLink.value ? "a" : e.tag, W = !!(e.prependIcon || n.prepend), U = !!(e.appendIcon || n.append), te = !!(e.icon && e.icon !== !0);
|
|
32099
|
+
return ii(p(ee, K({
|
|
32100
|
+
type: ee === "a" ? void 0 : "button",
|
|
32089
32101
|
class: ["v-btn", _ == null ? void 0 : _.selectedClass.value, {
|
|
32090
32102
|
"v-btn--active": I.value,
|
|
32091
32103
|
"v-btn--block": e.block,
|
|
@@ -32107,7 +32119,7 @@ const m1 = {
|
|
|
32107
32119
|
}, y.linkProps), {
|
|
32108
32120
|
default: () => {
|
|
32109
32121
|
var be;
|
|
32110
|
-
return [d1(!0, "v-btn"), !e.icon &&
|
|
32122
|
+
return [d1(!0, "v-btn"), !e.icon && W && p("span", {
|
|
32111
32123
|
key: "prepend",
|
|
32112
32124
|
class: "v-btn__prepend"
|
|
32113
32125
|
}, [n.prepend ? p(Ro, {
|
|
@@ -32124,12 +32136,12 @@ const m1 = {
|
|
|
32124
32136
|
}, null)]), p("span", {
|
|
32125
32137
|
class: "v-btn__content",
|
|
32126
32138
|
"data-no-activator": ""
|
|
32127
|
-
}, [!n.default &&
|
|
32139
|
+
}, [!n.default && te ? p(Ni, {
|
|
32128
32140
|
key: "content-icon",
|
|
32129
32141
|
icon: e.icon
|
|
32130
32142
|
}, null) : p(Ro, {
|
|
32131
32143
|
key: "content-defaults",
|
|
32132
|
-
disabled: !
|
|
32144
|
+
disabled: !te,
|
|
32133
32145
|
defaults: {
|
|
32134
32146
|
VIcon: {
|
|
32135
32147
|
icon: e.icon
|
|
@@ -32269,7 +32281,7 @@ const m1 = {
|
|
|
32269
32281
|
}
|
|
32270
32282
|
return _t(() => {
|
|
32271
32283
|
const r = Yu.filterProps(e);
|
|
32272
|
-
return p(Yu,
|
|
32284
|
+
return p(Yu, K({
|
|
32273
32285
|
class: "v-stepper-vertical-actions"
|
|
32274
32286
|
}, r, {
|
|
32275
32287
|
"onClick:prev": i,
|
|
@@ -32340,7 +32352,7 @@ const Og = Me({
|
|
|
32340
32352
|
component: s = a ? sd : ld,
|
|
32341
32353
|
...l
|
|
32342
32354
|
} = typeof n == "object" ? n : {};
|
|
32343
|
-
return Oo(s,
|
|
32355
|
+
return Oo(s, K(typeof n == "string" ? {
|
|
32344
32356
|
name: i ? "" : n
|
|
32345
32357
|
} : l, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
|
|
32346
32358
|
disabled: i,
|
|
@@ -32448,11 +32460,11 @@ const _$ = {
|
|
|
32448
32460
|
}), m = w(() => h.value.aspect || f.value / d.value || 0);
|
|
32449
32461
|
re(() => e.src, () => {
|
|
32450
32462
|
_(u.value !== "idle");
|
|
32451
|
-
}), re(m, (
|
|
32452
|
-
!
|
|
32463
|
+
}), re(m, (W, U) => {
|
|
32464
|
+
!W && U && c.value && x(c.value);
|
|
32453
32465
|
}), Hm(() => _());
|
|
32454
|
-
function _(
|
|
32455
|
-
if (!(e.eager &&
|
|
32466
|
+
function _(W) {
|
|
32467
|
+
if (!(e.eager && W) && !(Vd && !W && !e.eager)) {
|
|
32456
32468
|
if (u.value = "loading", h.value.lazySrc) {
|
|
32457
32469
|
const U = new Image();
|
|
32458
32470
|
U.src = h.value.lazySrc, x(U, null);
|
|
@@ -32460,9 +32472,9 @@ const _$ = {
|
|
|
32460
32472
|
h.value.src && On(() => {
|
|
32461
32473
|
var U;
|
|
32462
32474
|
o("loadstart", ((U = c.value) == null ? void 0 : U.currentSrc) || h.value.src), setTimeout(() => {
|
|
32463
|
-
var
|
|
32475
|
+
var te;
|
|
32464
32476
|
if (!s.isUnmounted)
|
|
32465
|
-
if ((
|
|
32477
|
+
if ((te = c.value) != null && te.complete) {
|
|
32466
32478
|
if (c.value.naturalWidth || I(), u.value === "error") return;
|
|
32467
32479
|
m.value || x(c.value, null), u.value === "loading" && y();
|
|
32468
32480
|
} else
|
|
@@ -32472,40 +32484,40 @@ const _$ = {
|
|
|
32472
32484
|
}
|
|
32473
32485
|
}
|
|
32474
32486
|
function y() {
|
|
32475
|
-
var
|
|
32476
|
-
s.isUnmounted || (M(), x(c.value), u.value = "loaded", o("load", ((
|
|
32487
|
+
var W;
|
|
32488
|
+
s.isUnmounted || (M(), x(c.value), u.value = "loaded", o("load", ((W = c.value) == null ? void 0 : W.currentSrc) || h.value.src));
|
|
32477
32489
|
}
|
|
32478
32490
|
function I() {
|
|
32479
|
-
var
|
|
32480
|
-
s.isUnmounted || (u.value = "error", o("error", ((
|
|
32491
|
+
var W;
|
|
32492
|
+
s.isUnmounted || (u.value = "error", o("error", ((W = c.value) == null ? void 0 : W.currentSrc) || h.value.src));
|
|
32481
32493
|
}
|
|
32482
32494
|
function M() {
|
|
32483
|
-
const
|
|
32484
|
-
|
|
32495
|
+
const W = c.value;
|
|
32496
|
+
W && (l.value = W.currentSrc || W.src);
|
|
32485
32497
|
}
|
|
32486
32498
|
let k = -1;
|
|
32487
32499
|
pr(() => {
|
|
32488
32500
|
clearTimeout(k);
|
|
32489
32501
|
});
|
|
32490
|
-
function x(
|
|
32502
|
+
function x(W) {
|
|
32491
32503
|
let U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
32492
|
-
const
|
|
32504
|
+
const te = () => {
|
|
32493
32505
|
if (clearTimeout(k), s.isUnmounted) return;
|
|
32494
32506
|
const {
|
|
32495
32507
|
naturalHeight: be,
|
|
32496
32508
|
naturalWidth: Ee
|
|
32497
|
-
} =
|
|
32498
|
-
be || Ee ? (f.value = Ee, d.value = be) : !
|
|
32509
|
+
} = W;
|
|
32510
|
+
be || Ee ? (f.value = Ee, d.value = be) : !W.complete && u.value === "loading" && U != null ? k = window.setTimeout(te, U) : (W.currentSrc.endsWith(".svg") || W.currentSrc.startsWith("data:image/svg+xml")) && (f.value = 1, d.value = 1);
|
|
32499
32511
|
};
|
|
32500
|
-
|
|
32512
|
+
te();
|
|
32501
32513
|
}
|
|
32502
32514
|
const L = w(() => ({
|
|
32503
32515
|
"v-img__img--cover": e.cover,
|
|
32504
32516
|
"v-img__img--contain": !e.cover
|
|
32505
32517
|
})), C = () => {
|
|
32506
|
-
var
|
|
32518
|
+
var te;
|
|
32507
32519
|
if (!h.value.src || u.value === "idle") return null;
|
|
32508
|
-
const
|
|
32520
|
+
const W = p("img", {
|
|
32509
32521
|
class: ["v-img__img", L.value],
|
|
32510
32522
|
style: {
|
|
32511
32523
|
objectPosition: e.position
|
|
@@ -32520,14 +32532,14 @@ const _$ = {
|
|
|
32520
32532
|
ref: c,
|
|
32521
32533
|
onLoad: y,
|
|
32522
32534
|
onError: I
|
|
32523
|
-
}, null), U = (
|
|
32535
|
+
}, null), U = (te = n.sources) == null ? void 0 : te.call(n);
|
|
32524
32536
|
return p(Ha, {
|
|
32525
32537
|
transition: e.transition,
|
|
32526
32538
|
appear: !0
|
|
32527
32539
|
}, {
|
|
32528
32540
|
default: () => [ii(U ? p("picture", {
|
|
32529
32541
|
class: "v-img__picture"
|
|
32530
|
-
}, [U,
|
|
32542
|
+
}, [U, W]) : W, [[cd, u.value === "loaded"]])]
|
|
32531
32543
|
});
|
|
32532
32544
|
}, V = () => p(Ha, {
|
|
32533
32545
|
transition: e.transition
|
|
@@ -32562,27 +32574,27 @@ const _$ = {
|
|
|
32562
32574
|
style: {
|
|
32563
32575
|
backgroundImage: `linear-gradient(${e.gradient})`
|
|
32564
32576
|
}
|
|
32565
|
-
}, null) : null,
|
|
32577
|
+
}, null) : null, ee = Qe(!1);
|
|
32566
32578
|
{
|
|
32567
|
-
const
|
|
32579
|
+
const W = re(m, (U) => {
|
|
32568
32580
|
U && (requestAnimationFrame(() => {
|
|
32569
32581
|
requestAnimationFrame(() => {
|
|
32570
|
-
|
|
32582
|
+
ee.value = !0;
|
|
32571
32583
|
});
|
|
32572
|
-
}),
|
|
32584
|
+
}), W());
|
|
32573
32585
|
});
|
|
32574
32586
|
}
|
|
32575
32587
|
return _t(() => {
|
|
32576
|
-
const
|
|
32577
|
-
return ii(p(gm,
|
|
32588
|
+
const W = gm.filterProps(e);
|
|
32589
|
+
return ii(p(gm, K({
|
|
32578
32590
|
class: ["v-img", {
|
|
32579
32591
|
"v-img--absolute": e.absolute,
|
|
32580
|
-
"v-img--booting": !
|
|
32592
|
+
"v-img--booting": !ee.value
|
|
32581
32593
|
}, i.value, r.value, e.class],
|
|
32582
32594
|
style: [{
|
|
32583
32595
|
width: Ht(e.width === "auto" ? f.value : e.width)
|
|
32584
32596
|
}, a.value, e.style]
|
|
32585
|
-
},
|
|
32597
|
+
}, W, {
|
|
32586
32598
|
aspectRatio: m.value,
|
|
32587
32599
|
"aria-label": e.alt,
|
|
32588
32600
|
role: e.alt ? "img" : void 0
|
|
@@ -33164,7 +33176,7 @@ const Hg = Me({
|
|
|
33164
33176
|
return _t(() => {
|
|
33165
33177
|
var L;
|
|
33166
33178
|
const M = (f.value || ((L = r.value) == null ? void 0 : L.isSelected.value)) && !u.value && !e.disabled, k = !e.hideActions || !!n.actions, x = ym.filterProps(e);
|
|
33167
|
-
return p(ym,
|
|
33179
|
+
return p(ym, K({
|
|
33168
33180
|
_as: "VStepperVerticalItem",
|
|
33169
33181
|
ref: i
|
|
33170
33182
|
}, x, {
|
|
@@ -33537,7 +33549,7 @@ const Yg = {
|
|
|
33537
33549
|
});
|
|
33538
33550
|
return _t(() => {
|
|
33539
33551
|
const r = wm.filterProps(e);
|
|
33540
|
-
return p(wm,
|
|
33552
|
+
return p(wm, K({
|
|
33541
33553
|
_as: "VStepperWindow"
|
|
33542
33554
|
}, r, {
|
|
33543
33555
|
modelValue: a.value,
|
|
@@ -33649,7 +33661,7 @@ const Xg = Me({
|
|
|
33649
33661
|
} = t;
|
|
33650
33662
|
return _t(() => {
|
|
33651
33663
|
const n = Am.filterProps(e);
|
|
33652
|
-
return p(Am,
|
|
33664
|
+
return p(Am, K({
|
|
33653
33665
|
_as: "VStepperWindowItem"
|
|
33654
33666
|
}, n, {
|
|
33655
33667
|
class: ["v-stepper-window-item", e.class],
|
|
@@ -33852,7 +33864,7 @@ nt()({
|
|
|
33852
33864
|
}
|
|
33853
33865
|
}), _t(() => {
|
|
33854
33866
|
const k = Sm.filterProps(e), x = !!(o.header || e.items.length), L = e.items.length > 0, C = !e.hideActions && !!(L || o.actions);
|
|
33855
|
-
return p(Sm,
|
|
33867
|
+
return p(Sm, K(k, {
|
|
33856
33868
|
color: e.bgColor,
|
|
33857
33869
|
class: ["v-stepper", {
|
|
33858
33870
|
"v-stepper--alt-labels": e.altLabels,
|
|
@@ -33869,11 +33881,11 @@ nt()({
|
|
|
33869
33881
|
}, {
|
|
33870
33882
|
default: () => [y.value.map((B, se) => {
|
|
33871
33883
|
let {
|
|
33872
|
-
raw:
|
|
33873
|
-
...
|
|
33884
|
+
raw: ee,
|
|
33885
|
+
...W
|
|
33874
33886
|
} = B;
|
|
33875
|
-
return p(ce, null, [!!se && p(U$, null, null), p(E$,
|
|
33876
|
-
default: o[`header-item.${
|
|
33887
|
+
return p(ce, null, [!!se && p(U$, null, null), p(E$, W, {
|
|
33888
|
+
default: o[`header-item.${W.value}`] ?? o.header,
|
|
33877
33889
|
icon: o.icon,
|
|
33878
33890
|
title: o.title,
|
|
33879
33891
|
subtitle: o.subtitle
|
|
@@ -33886,8 +33898,8 @@ nt()({
|
|
|
33886
33898
|
value: B.value
|
|
33887
33899
|
}, {
|
|
33888
33900
|
default: () => {
|
|
33889
|
-
var se,
|
|
33890
|
-
return ((se = o[`item.${B.value}`]) == null ? void 0 : se.call(o, B)) ?? ((
|
|
33901
|
+
var se, ee;
|
|
33902
|
+
return ((se = o[`item.${B.value}`]) == null ? void 0 : se.call(o, B)) ?? ((ee = o.item) == null ? void 0 : ee.call(o, B));
|
|
33891
33903
|
}
|
|
33892
33904
|
}))]
|
|
33893
33905
|
}), (V = o.default) == null ? void 0 : V.call(o, {
|
|
@@ -33963,7 +33975,7 @@ const z$ = Me({
|
|
|
33963
33975
|
}
|
|
33964
33976
|
}), _t(() => {
|
|
33965
33977
|
const d = bm.filterProps(e);
|
|
33966
|
-
return p(bm,
|
|
33978
|
+
return p(bm, K(d, {
|
|
33967
33979
|
modelValue: u.value,
|
|
33968
33980
|
"onUpdate:modelValue": (h) => u.value = h,
|
|
33969
33981
|
ref: n,
|
|
@@ -34014,7 +34026,7 @@ const z$ = Me({
|
|
|
34014
34026
|
};
|
|
34015
34027
|
function J$(e, t, o, n, i, a) {
|
|
34016
34028
|
const r = b("v-icon"), s = b("v-stepper-vertical");
|
|
34017
|
-
return g(), A(s,
|
|
34029
|
+
return g(), A(s, K(e.$attrs, { class: "vcs-wizard" }), Lt({
|
|
34018
34030
|
icon: v(() => [
|
|
34019
34031
|
ae(e.$slots, "icon", {}, () => [
|
|
34020
34032
|
p(r, null, {
|
|
@@ -34117,7 +34129,7 @@ const GH = /* @__PURE__ */ N(q$, [["render", J$], ["__scopeId", "data-v-9c155cee
|
|
|
34117
34129
|
}, X$ = { class: "d-flex align-center justify-space-between" }, K$ = { key: 0 };
|
|
34118
34130
|
function eG(e, t, o, n, i, a) {
|
|
34119
34131
|
const r = b("v-spacer"), s = b("VcsActionButtonList"), l = b("VcsHelp"), c = b("v-stepper-vertical-item");
|
|
34120
|
-
return g(), A(c,
|
|
34132
|
+
return g(), A(c, K({
|
|
34121
34133
|
class: "vcs-wizard-step",
|
|
34122
34134
|
value: o.step,
|
|
34123
34135
|
editable: n.isActiveStep || o.editable,
|
|
@@ -34230,7 +34242,7 @@ const UH = /* @__PURE__ */ N(Q$, [["render", eG]]), tG = {
|
|
|
34230
34242
|
};
|
|
34231
34243
|
function nG(e, t, o, n, i, a) {
|
|
34232
34244
|
const r = b("v-btn"), s = b("v-date-picker"), l = b("v-menu"), c = b("VcsTextField");
|
|
34233
|
-
return g(), A(c,
|
|
34245
|
+
return g(), A(c, K({
|
|
34234
34246
|
"prepend-icon": o.icon,
|
|
34235
34247
|
class: "vcs-date-picker",
|
|
34236
34248
|
readonly: ""
|
|
@@ -34249,7 +34261,7 @@ function nG(e, t, o, n, i, a) {
|
|
|
34249
34261
|
"min-width": "290px"
|
|
34250
34262
|
}, {
|
|
34251
34263
|
default: v(() => [
|
|
34252
|
-
p(s,
|
|
34264
|
+
p(s, K({
|
|
34253
34265
|
modelValue: n.localValue,
|
|
34254
34266
|
"onUpdate:modelValue": [
|
|
34255
34267
|
t[0] || (t[0] = (u) => n.localValue = u),
|
|
@@ -34350,7 +34362,7 @@ function rG(e, t, o, n, i, a) {
|
|
|
34350
34362
|
width: "300"
|
|
34351
34363
|
}, {
|
|
34352
34364
|
activator: v(({ props: f }) => [
|
|
34353
|
-
p(s,
|
|
34365
|
+
p(s, K({
|
|
34354
34366
|
rounded: "",
|
|
34355
34367
|
height: "24px",
|
|
34356
34368
|
width: "32px"
|
|
@@ -34457,7 +34469,7 @@ const cG = /* @__PURE__ */ N(sG, [["render", lG]]), uG = {
|
|
|
34457
34469
|
};
|
|
34458
34470
|
function dG(e, t, o, n, i, a) {
|
|
34459
34471
|
const r = b("v-sheet"), s = b("VcsFillSelector"), l = b("StyleMenuWrapper");
|
|
34460
|
-
return g(), A(l,
|
|
34472
|
+
return g(), A(l, K({
|
|
34461
34473
|
class: "vcs-fill-menu",
|
|
34462
34474
|
"value-fallback": { color: [255, 255, 255, 1] },
|
|
34463
34475
|
name: "components.style.fill"
|
|
@@ -34594,7 +34606,7 @@ const mG = /* @__PURE__ */ N(fG, [["render", hG]]), pG = {
|
|
|
34594
34606
|
};
|
|
34595
34607
|
function gG(e, t, o, n, i, a) {
|
|
34596
34608
|
const r = b("v-sheet"), s = b("VcsStrokeSelector"), l = b("StyleMenuWrapper");
|
|
34597
|
-
return g(), A(l,
|
|
34609
|
+
return g(), A(l, K({
|
|
34598
34610
|
class: "vcs-stroke-menu",
|
|
34599
34611
|
"value-fallback": { color: [0, 0, 0, 1], width: 1 },
|
|
34600
34612
|
name: "components.style.stroke"
|
|
@@ -35494,7 +35506,7 @@ const CG = /* @__PURE__ */ N(yG, [["render", EG]]), kG = {
|
|
|
35494
35506
|
};
|
|
35495
35507
|
function xG(e, t, o, n, i, a) {
|
|
35496
35508
|
const r = b("VcsImageSelector"), s = b("StyleMenuWrapper");
|
|
35497
|
-
return g(), A(s,
|
|
35509
|
+
return g(), A(s, K({
|
|
35498
35510
|
class: "vcs-image-menu",
|
|
35499
35511
|
"value-fallback": {
|
|
35500
35512
|
radius: 10,
|
|
@@ -35507,7 +35519,7 @@ function xG(e, t, o, n, i, a) {
|
|
|
35507
35519
|
E("canvas", TG, null, 512)
|
|
35508
35520
|
]),
|
|
35509
35521
|
content: v(() => [
|
|
35510
|
-
p(r,
|
|
35522
|
+
p(r, K({
|
|
35511
35523
|
...e.$attrs,
|
|
35512
35524
|
...e.$props
|
|
35513
35525
|
}, { class: "pb-2" }), null, 16)
|
|
@@ -35663,7 +35675,7 @@ function NG(e, t, o, n, i, a) {
|
|
|
35663
35675
|
"onUpdate:modelValue": t[1] || (t[1] = (I) => n.fontFamily = I)
|
|
35664
35676
|
}, {
|
|
35665
35677
|
item: v((I) => [
|
|
35666
|
-
p(c,
|
|
35678
|
+
p(c, K({ density: "compact" }, I.props, { role: "option" }), {
|
|
35667
35679
|
title: v(({ title: M }) => [
|
|
35668
35680
|
E("span", {
|
|
35669
35681
|
style: Pn({
|
|
@@ -35844,7 +35856,7 @@ const OG = {
|
|
|
35844
35856
|
];
|
|
35845
35857
|
function BG(e, t, o, n, i, a) {
|
|
35846
35858
|
const r = b("VcsTextSelector"), s = b("StyleMenuWrapper");
|
|
35847
|
-
return g(), A(s,
|
|
35859
|
+
return g(), A(s, K({
|
|
35848
35860
|
class: "vcs-text-menu",
|
|
35849
35861
|
"value-fallback": n.fallbackStyle,
|
|
35850
35862
|
name: "components.style.text"
|
|
@@ -36052,7 +36064,7 @@ const WG = /* @__PURE__ */ N(UG, [["render", HG]]), jG = {
|
|
|
36052
36064
|
};
|
|
36053
36065
|
function ZG(e, t, o, n, i, a) {
|
|
36054
36066
|
const r = b("VcsExtent"), s = b("VcsFormSection");
|
|
36055
|
-
return g(), A(s,
|
|
36067
|
+
return g(), A(s, K({
|
|
36056
36068
|
class: "vcs-extent-editor",
|
|
36057
36069
|
heading: o.heading,
|
|
36058
36070
|
"header-actions": n.actions,
|
|
@@ -36233,16 +36245,16 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36233
36245
|
var C;
|
|
36234
36246
|
const L = d((C = s.value) == null ? void 0 : C.proj4);
|
|
36235
36247
|
x.value = L === !0 ? void 0 : L;
|
|
36236
|
-
}), (L, C) => (g(), A(
|
|
36237
|
-
class: ve({ "pa-0": !
|
|
36248
|
+
}), (L, C) => (g(), A(oe(vt), {
|
|
36249
|
+
class: ve({ "pa-0": !oe(_) })
|
|
36238
36250
|
}, {
|
|
36239
36251
|
default: v(() => [
|
|
36240
|
-
e.required ? P("", !0) : (g(), A(
|
|
36252
|
+
e.required ? P("", !0) : (g(), A(oe(wt), {
|
|
36241
36253
|
key: 0,
|
|
36242
36254
|
"no-gutters": ""
|
|
36243
36255
|
}, {
|
|
36244
36256
|
default: v(() => [
|
|
36245
|
-
p(
|
|
36257
|
+
p(oe(ht), null, {
|
|
36246
36258
|
default: v(() => [
|
|
36247
36259
|
p(fi, {
|
|
36248
36260
|
modelValue: l.value,
|
|
@@ -36256,12 +36268,12 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36256
36268
|
_: 1
|
|
36257
36269
|
})),
|
|
36258
36270
|
e.required || l.value ? (g(), T(ce, { key: 1 }, [
|
|
36259
|
-
p(
|
|
36271
|
+
p(oe(wt), { "no-gutters": "" }, {
|
|
36260
36272
|
default: v(() => [
|
|
36261
|
-
p(
|
|
36273
|
+
p(oe(ht), { cols: "4" }, {
|
|
36262
36274
|
default: v(() => [
|
|
36263
36275
|
p(cn, {
|
|
36264
|
-
"html-for": `${
|
|
36276
|
+
"html-for": `${oe(m)}-epsg`,
|
|
36265
36277
|
required: ""
|
|
36266
36278
|
}, {
|
|
36267
36279
|
default: v(() => [
|
|
@@ -36272,7 +36284,7 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36272
36284
|
]),
|
|
36273
36285
|
_: 1
|
|
36274
36286
|
}),
|
|
36275
|
-
p(
|
|
36287
|
+
p(oe(ht), null, {
|
|
36276
36288
|
default: v(() => [
|
|
36277
36289
|
p(xt, {
|
|
36278
36290
|
clearable: "",
|
|
@@ -36289,10 +36301,10 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36289
36301
|
]),
|
|
36290
36302
|
_: 1
|
|
36291
36303
|
}),
|
|
36292
|
-
p(
|
|
36304
|
+
p(oe(ht), null, {
|
|
36293
36305
|
default: v(() => [
|
|
36294
36306
|
p(xt, {
|
|
36295
|
-
id: `${
|
|
36307
|
+
id: `${oe(m)}-epsg`,
|
|
36296
36308
|
clearable: "",
|
|
36297
36309
|
placeholder: "code",
|
|
36298
36310
|
modelValue: I.value,
|
|
@@ -36306,12 +36318,12 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36306
36318
|
]),
|
|
36307
36319
|
_: 1
|
|
36308
36320
|
}),
|
|
36309
|
-
p(
|
|
36321
|
+
p(oe(wt), { "no-gutters": "" }, {
|
|
36310
36322
|
default: v(() => [
|
|
36311
|
-
p(
|
|
36323
|
+
p(oe(ht), { cols: "4" }, {
|
|
36312
36324
|
default: v(() => [
|
|
36313
36325
|
p(cn, {
|
|
36314
|
-
"html-for": `${
|
|
36326
|
+
"html-for": `${oe(m)}-proj4`
|
|
36315
36327
|
}, {
|
|
36316
36328
|
default: v(() => [
|
|
36317
36329
|
H(G(L.$t("components.projection.proj4")), 1)
|
|
@@ -36321,10 +36333,10 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36321
36333
|
]),
|
|
36322
36334
|
_: 1
|
|
36323
36335
|
}),
|
|
36324
|
-
p(
|
|
36336
|
+
p(oe(ht), null, {
|
|
36325
36337
|
default: v(() => [
|
|
36326
36338
|
p(xt, {
|
|
36327
|
-
id: `${
|
|
36339
|
+
id: `${oe(m)}-proj4`,
|
|
36328
36340
|
clearable: "",
|
|
36329
36341
|
rules: [d],
|
|
36330
36342
|
"error-messages": x.value,
|
|
@@ -36350,15 +36362,15 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36350
36362
|
]),
|
|
36351
36363
|
_: 1
|
|
36352
36364
|
}),
|
|
36353
|
-
e.hideAlias ? P("", !0) : (g(), A(
|
|
36365
|
+
e.hideAlias ? P("", !0) : (g(), A(oe(wt), {
|
|
36354
36366
|
key: 0,
|
|
36355
36367
|
"no-gutters": ""
|
|
36356
36368
|
}, {
|
|
36357
36369
|
default: v(() => [
|
|
36358
|
-
p(
|
|
36370
|
+
p(oe(ht), { cols: "4" }, {
|
|
36359
36371
|
default: v(() => [
|
|
36360
36372
|
p(cn, {
|
|
36361
|
-
"html-for": `${
|
|
36373
|
+
"html-for": `${oe(m)}-alias`
|
|
36362
36374
|
}, {
|
|
36363
36375
|
default: v(() => [
|
|
36364
36376
|
H(G(L.$t("components.projection.alias")), 1)
|
|
@@ -36368,10 +36380,10 @@ const ZH = /* @__PURE__ */ N(jG, [["render", ZG]]), zG = (e) => (Ls("data-v-3363
|
|
|
36368
36380
|
]),
|
|
36369
36381
|
_: 1
|
|
36370
36382
|
}),
|
|
36371
|
-
p(
|
|
36383
|
+
p(oe(ht), null, {
|
|
36372
36384
|
default: v(() => [
|
|
36373
36385
|
p(mg, {
|
|
36374
|
-
id: `${
|
|
36386
|
+
id: `${oe(m)}-alias`,
|
|
36375
36387
|
clearable: "",
|
|
36376
36388
|
modelValue: k.value,
|
|
36377
36389
|
"onUpdate:modelValue": C[4] || (C[4] = (V) => k.value = V)
|
|
@@ -36452,7 +36464,7 @@ function XG(e, t, o, n, i, a) {
|
|
|
36452
36464
|
const r = b("v-sheet");
|
|
36453
36465
|
return g(), A(r, { class: "vcs-vector-style-component" }, {
|
|
36454
36466
|
default: v(() => [
|
|
36455
|
-
(g(!0), T(ce, null, Ae(o.styleComponents, (s) => (g(), A(Do(n.componentMap[s]),
|
|
36467
|
+
(g(!0), T(ce, null, Ae(o.styleComponents, (s) => (g(), A(Do(n.componentMap[s]), K({
|
|
36456
36468
|
key: s,
|
|
36457
36469
|
"value-default": o.valueDefault[s],
|
|
36458
36470
|
ref_for: !0
|
|
@@ -37897,7 +37909,7 @@ function lU(e, t, o, n, i, a) {
|
|
|
37897
37909
|
_: 1
|
|
37898
37910
|
})),
|
|
37899
37911
|
n.isCesiumMap ? (g(), T(ce, { key: 3 }, Ae(["heading", "pitch", "roll"], (y) => E("div", { key: y }, [
|
|
37900
|
-
p(m,
|
|
37912
|
+
p(m, K({
|
|
37901
37913
|
disabled: n.editAction.active,
|
|
37902
37914
|
label: `components.viewpoint.${y}`,
|
|
37903
37915
|
unit: "°",
|
|
@@ -38069,7 +38081,7 @@ const rv = /* @__PURE__ */ N(uU, [["render", mU]]), pU = {
|
|
|
38069
38081
|
};
|
|
38070
38082
|
function gU(e, t, o, n, i, a) {
|
|
38071
38083
|
const r = b("VcsViewpointComponent"), s = b("AbstractConfigEditor");
|
|
38072
|
-
return g(), A(s,
|
|
38084
|
+
return g(), A(s, K({
|
|
38073
38085
|
class: "vcs-viewpoint-editor",
|
|
38074
38086
|
onSubmit: n.apply,
|
|
38075
38087
|
onCancel: n.cancel,
|
|
@@ -38077,7 +38089,7 @@ function gU(e, t, o, n, i, a) {
|
|
|
38077
38089
|
"auto-close": !1
|
|
38078
38090
|
}, { ...e.$attrs, ...e.$props }), {
|
|
38079
38091
|
default: v(() => [
|
|
38080
|
-
p(r,
|
|
38092
|
+
p(r, K({
|
|
38081
38093
|
"hide-name": "",
|
|
38082
38094
|
"name-rules": o.nameRules
|
|
38083
38095
|
}, e.$attrs, {
|
|
@@ -38091,7 +38103,7 @@ function gU(e, t, o, n, i, a) {
|
|
|
38091
38103
|
const sv = /* @__PURE__ */ N(pU, [["render", gU]]);
|
|
38092
38104
|
function w1() {
|
|
38093
38105
|
const e = ge("flightInstance");
|
|
38094
|
-
return yo(e) ?
|
|
38106
|
+
return yo(e) ? oe(e) : e;
|
|
38095
38107
|
}
|
|
38096
38108
|
function vU(e, t) {
|
|
38097
38109
|
const o = /* @__PURE__ */ new Set(), n = [
|
|
@@ -38468,7 +38480,7 @@ function MU(e, t, o, n, i, a) {
|
|
|
38468
38480
|
}, null, 8, ["model-value", "onUpdate:modelValue", "min", "max", "disabled"])) : P("", !0),
|
|
38469
38481
|
E("div", VU, [
|
|
38470
38482
|
E("span", null, G(n.clockTime(n.clock.currentTime)), 1),
|
|
38471
|
-
(g(!0), T(ce, null, Ae(n.actions, (d, h) => (g(), A(u,
|
|
38483
|
+
(g(!0), T(ce, null, Ae(n.actions, (d, h) => (g(), A(u, K({
|
|
38472
38484
|
class: "d-flex",
|
|
38473
38485
|
key: `${d.name}-${h}`,
|
|
38474
38486
|
tooltip: d.title,
|
|
@@ -38844,14 +38856,14 @@ const OU = /* @__PURE__ */ N(PU, [["render", RU]]), DU = {
|
|
|
38844
38856
|
};
|
|
38845
38857
|
function FU(e, t, o, n, i, a) {
|
|
38846
38858
|
const r = b("VcsFlightComponent"), s = b("AbstractConfigEditor");
|
|
38847
|
-
return g(), A(s,
|
|
38859
|
+
return g(), A(s, K({
|
|
38848
38860
|
class: "vcs-flight-editor",
|
|
38849
38861
|
onSubmit: n.apply,
|
|
38850
38862
|
onCancel: n.cancel,
|
|
38851
38863
|
onReset: n.reset
|
|
38852
38864
|
}, { ...e.$attrs, ...e.$props }), {
|
|
38853
38865
|
default: v(() => [
|
|
38854
|
-
p(r,
|
|
38866
|
+
p(r, K({
|
|
38855
38867
|
"parent-id": e.$attrs["window-state"].id
|
|
38856
38868
|
}, { ...e.$attrs, ...e.$props }), null, 16, ["parent-id"])
|
|
38857
38869
|
]),
|
|
@@ -39705,8 +39717,8 @@ const oH = {
|
|
|
39705
39717
|
re(
|
|
39706
39718
|
() => [i, a],
|
|
39707
39719
|
() => {
|
|
39708
|
-
var U,
|
|
39709
|
-
((U = i.value) == null ? void 0 : U.type) === Xo.CREATE ? s.value = i.value.snapTo : ((
|
|
39720
|
+
var U, te;
|
|
39721
|
+
((U = i.value) == null ? void 0 : U.type) === Xo.CREATE ? s.value = i.value.snapTo : ((te = a.value) == null ? void 0 : te.type) === Xo.EDIT_GEOMETRY && (s.value = a.value.snapTo);
|
|
39710
39722
|
},
|
|
39711
39723
|
{ immediate: !0 }
|
|
39712
39724
|
);
|
|
@@ -39716,8 +39728,8 @@ const oH = {
|
|
|
39716
39728
|
return s.value;
|
|
39717
39729
|
},
|
|
39718
39730
|
set(U) {
|
|
39719
|
-
var
|
|
39720
|
-
s.value = U, ((
|
|
39731
|
+
var te, be;
|
|
39732
|
+
s.value = U, ((te = i.value) == null ? void 0 : te.type) === Xo.CREATE && (i.value.snapTo = U), ((be = a.value) == null ? void 0 : be.type) === Xo.EDIT_GEOMETRY && (a.value.snapTo = U);
|
|
39721
39733
|
}
|
|
39722
39734
|
}), c = Qe([]), u = Qe([]);
|
|
39723
39735
|
wn("features", n);
|
|
@@ -39738,8 +39750,8 @@ const oH = {
|
|
|
39738
39750
|
const h = $(!1), m = w(
|
|
39739
39751
|
() => n.value.some((U) => {
|
|
39740
39752
|
var be;
|
|
39741
|
-
const
|
|
39742
|
-
return
|
|
39753
|
+
const te = U.getGeometry();
|
|
39754
|
+
return te && te.getFlatCoordinates().length > 0 ? g_((be = U.getGeometry()) == null ? void 0 : be.getLayout()) : !h.value;
|
|
39743
39755
|
})
|
|
39744
39756
|
), _ = he(
|
|
39745
39757
|
ed.getDefaultOptions()
|
|
@@ -39763,8 +39775,8 @@ const oH = {
|
|
|
39763
39775
|
() => {
|
|
39764
39776
|
var U;
|
|
39765
39777
|
x(), k.value = ((U = a.value) == null ? void 0 : U.mode) || null, k.value && (x = a.value.modeChanged.addEventListener(
|
|
39766
|
-
(
|
|
39767
|
-
k.value =
|
|
39778
|
+
(te) => {
|
|
39779
|
+
k.value = te;
|
|
39768
39780
|
}
|
|
39769
39781
|
));
|
|
39770
39782
|
},
|
|
@@ -39781,30 +39793,30 @@ const oH = {
|
|
|
39781
39793
|
nFeatures: n.value.length
|
|
39782
39794
|
}));
|
|
39783
39795
|
function F() {
|
|
39784
|
-
const
|
|
39796
|
+
const te = nH(
|
|
39785
39797
|
V.value.types,
|
|
39786
39798
|
n.value,
|
|
39787
39799
|
r.value,
|
|
39788
39800
|
h.value
|
|
39789
|
-
).map((
|
|
39790
|
-
name:
|
|
39791
|
-
title: `components.editor.${
|
|
39792
|
-
icon: eH[
|
|
39793
|
-
active:
|
|
39801
|
+
).map((ne) => he({
|
|
39802
|
+
name: ne,
|
|
39803
|
+
title: `components.editor.${ne}`,
|
|
39804
|
+
icon: eH[ne],
|
|
39805
|
+
active: ne === k.value,
|
|
39794
39806
|
callback: () => {
|
|
39795
|
-
L(
|
|
39807
|
+
L(ne);
|
|
39796
39808
|
}
|
|
39797
39809
|
})), be = re(
|
|
39798
39810
|
k,
|
|
39799
|
-
(
|
|
39800
|
-
|
|
39801
|
-
Object.values(ho).includes(
|
|
39811
|
+
(ne) => {
|
|
39812
|
+
te.forEach((X) => {
|
|
39813
|
+
Object.values(ho).includes(X.name) && (X.active = ne === X.name);
|
|
39802
39814
|
});
|
|
39803
39815
|
}
|
|
39804
39816
|
);
|
|
39805
39817
|
let Ee;
|
|
39806
39818
|
if (n.value.length === 1) {
|
|
39807
|
-
const
|
|
39819
|
+
const ne = he({
|
|
39808
39820
|
name: "editGeometry",
|
|
39809
39821
|
title: "components.editor.edit",
|
|
39810
39822
|
icon: "$vcsEditVertices",
|
|
@@ -39813,12 +39825,12 @@ const oH = {
|
|
|
39813
39825
|
C();
|
|
39814
39826
|
}
|
|
39815
39827
|
});
|
|
39816
|
-
|
|
39817
|
-
|
|
39828
|
+
te.unshift(ne), Ee = re(M, () => {
|
|
39829
|
+
ne.active = M.value;
|
|
39818
39830
|
});
|
|
39819
39831
|
}
|
|
39820
39832
|
return {
|
|
39821
|
-
actions:
|
|
39833
|
+
actions: te,
|
|
39822
39834
|
destroy() {
|
|
39823
39835
|
be(), Ee == null || Ee();
|
|
39824
39836
|
}
|
|
@@ -39827,33 +39839,33 @@ const oH = {
|
|
|
39827
39839
|
function B() {
|
|
39828
39840
|
const U = tv.filter(
|
|
39829
39841
|
(Ee) => e.allowedVectorProperties.includes(Ee)
|
|
39830
|
-
),
|
|
39842
|
+
), te = V.value.types, be = te.has(Vn.Point);
|
|
39831
39843
|
return be || (ov.forEach((Ee) => {
|
|
39832
39844
|
e.allowedVectorProperties.includes(Ee) && U.push(Ee);
|
|
39833
|
-
}), U.push("classificationType")), be &&
|
|
39845
|
+
}), U.push("classificationType")), be && te.size === 1 && nv.forEach((Ee) => {
|
|
39834
39846
|
e.allowedVectorProperties.includes(Ee) && U.push(Ee);
|
|
39835
39847
|
}), U;
|
|
39836
39848
|
}
|
|
39837
39849
|
let se = () => {
|
|
39838
39850
|
};
|
|
39839
|
-
const
|
|
39851
|
+
const ee = re(
|
|
39840
39852
|
V,
|
|
39841
|
-
(U,
|
|
39842
|
-
if (U.types.size !== (
|
|
39853
|
+
(U, te) => {
|
|
39854
|
+
if (U.types.size !== (te == null ? void 0 : te.types.size) || ![...U.types].every((be) => te == null ? void 0 : te.types.has(be)) || U.nFeatures > 1 && te.nFeatures === 1 || te.nFeatures > 1 && U.nFeatures === 1) {
|
|
39843
39855
|
se();
|
|
39844
39856
|
const be = F();
|
|
39845
39857
|
se = be.destroy, c.value = be.actions, u.value = B();
|
|
39846
39858
|
}
|
|
39847
39859
|
},
|
|
39848
39860
|
{ immediate: !0 }
|
|
39849
|
-
),
|
|
39861
|
+
), W = re(
|
|
39850
39862
|
() => e.allowedVectorProperties,
|
|
39851
39863
|
() => {
|
|
39852
39864
|
u.value = B();
|
|
39853
39865
|
}
|
|
39854
39866
|
);
|
|
39855
39867
|
return ze(() => {
|
|
39856
|
-
I(), x(),
|
|
39868
|
+
I(), x(), ee(), W(), o.stopEditing(), se();
|
|
39857
39869
|
}), {
|
|
39858
39870
|
featureProperties: f,
|
|
39859
39871
|
session: i,
|
|
@@ -39870,8 +39882,8 @@ const oH = {
|
|
|
39870
39882
|
defaultVectorProperties: _,
|
|
39871
39883
|
showInputs: w(
|
|
39872
39884
|
() => {
|
|
39873
|
-
var U,
|
|
39874
|
-
return !k.value && e.showInputEditor && n.value.length === 1 && ((
|
|
39885
|
+
var U, te;
|
|
39886
|
+
return !k.value && e.showInputEditor && n.value.length === 1 && ((te = (U = n.value[0]) == null ? void 0 : U.getGeometry()) == null ? void 0 : te.getType()) === "Point";
|
|
39875
39887
|
}
|
|
39876
39888
|
)
|
|
39877
39889
|
};
|