@opengis/gis 0.2.147 → 0.2.149
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/{CardIcon-Cde9Jky8.js → CardIcon-11RvDfW4.js} +1 -1
- package/dist/{EntityTablePage-Cac57B6M.js → EntityTablePage-B-wimv6F.js} +1 -1
- package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DLjREp_K.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DGiN_RPt.js} +1 -1
- package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-CphgPZBk.js → HeaderActions.vue_vue_type_script_setup_true_lang-DZ3cP16e.js} +1 -1
- package/dist/{MapSettings-nRv1j5Ls.js → MapSettings-JXL74IDE.js} +1 -1
- package/dist/{RastersTablePage-B8Rr7jO9.js → RastersTablePage-QSQJdqkO.js} +1 -1
- package/dist/{cartocss-mFm4xHBN.js → cartocss-CWUn7IKN.js} +5 -5
- package/dist/{import-utils-Bt6oFoHB.js → import-utils-BuynvlOJ.js} +1 -1
- package/dist/index--Pl3grbr.js +10673 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +38 -38
- package/dist/{raster-BiqVALLd.js → raster-BJQ-q3A1.js} +3 -3
- package/dist/{register-JkPi7fEL.js → register-aGPpV2QU.js} +3 -3
- package/dist/{service-BaJ_3XV-.js → service-DS03XfOu.js} +343 -340
- package/dist/{vs-datatable-CwRAYNZZ.js → vs-datatable-Bbo_JjMV.js} +1 -1
- package/module/gis/table/gis.rasters.table.json +12 -0
- package/package.json +2 -2
- package/dist/index-wy3j6by2.js +0 -10620
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { openBlock as C, createElementBlock as D, createElementVNode as v, defineComponent as ee, ref as S, watch as I, createTextVNode as
|
|
2
|
-
import { useRoute as
|
|
1
|
+
import { openBlock as C, createElementBlock as D, createElementVNode as v, defineComponent as ee, ref as S, watch as I, createTextVNode as Gi, createVNode as j, createBlock as M, createCommentVNode as q, defineAsyncComponent as Qi, unref as Te, withCtx as We, withDirectives as qe, vModelText as Ke, normalizeClass as ve, Fragment as Hn, renderList as Vn, toDisplayString as le, getCurrentInstance as qn, onBeforeUnmount as Kn, toRef as Wi, computed as ue, onMounted as Ji, resolveDynamicComponent as Zi } from "vue";
|
|
2
|
+
import { useRoute as Xi, useRouter as el } from "vue-router";
|
|
3
3
|
import { notify as Q } from "@opengis/core";
|
|
4
|
-
import { _ as Re, u as Ie, f as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { S as
|
|
4
|
+
import { _ as Re, u as Ie, f as nl, M as il, g as ll, h as rl, i as tl, j as kn, k as ol, l as ul, m as al, s as Cn, n as sl } from "./index--Pl3grbr.js";
|
|
5
|
+
import { _ as cl, a as fl, b as dl, c as pl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-DZ3cP16e.js";
|
|
6
|
+
import { S as ml, C as hl } from "./CardIcon-11RvDfW4.js";
|
|
7
7
|
import { _ as zn } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
|
|
8
|
-
import { V as $e } from "./vs-datatable-
|
|
9
|
-
import { _ as ln, m as rn, r as xe } from "./import-utils-
|
|
10
|
-
/*! js-yaml 4.1.
|
|
8
|
+
import { V as $e } from "./vs-datatable-Bbo_JjMV.js";
|
|
9
|
+
import { _ as ln, m as rn, r as xe } from "./import-utils-BuynvlOJ.js";
|
|
10
|
+
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
|
|
11
11
|
function Gn(e) {
|
|
12
12
|
return typeof e > "u" || e === null;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function vl(e) {
|
|
15
15
|
return typeof e == "object" && e !== null;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function xl(e) {
|
|
18
18
|
return Array.isArray(e) ? e : Gn(e) ? [] : [e];
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function yl(e, n) {
|
|
21
21
|
var i, r, l, o;
|
|
22
22
|
if (n)
|
|
23
23
|
for (o = Object.keys(n), i = 0, r = o.length; i < r; i += 1)
|
|
24
24
|
l = o[i], e[l] = n[l];
|
|
25
25
|
return e;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function gl(e, n) {
|
|
28
28
|
var i = "", r;
|
|
29
29
|
for (r = 0; r < n; r += 1)
|
|
30
30
|
i += e;
|
|
31
31
|
return i;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function bl(e) {
|
|
34
34
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
37
|
-
isNothing:
|
|
38
|
-
isObject:
|
|
39
|
-
toArray:
|
|
40
|
-
repeat:
|
|
41
|
-
isNegativeZero:
|
|
42
|
-
extend:
|
|
36
|
+
var _l = Gn, wl = vl, Al = xl, kl = gl, Cl = bl, Sl = yl, O = {
|
|
37
|
+
isNothing: _l,
|
|
38
|
+
isObject: wl,
|
|
39
|
+
toArray: Al,
|
|
40
|
+
repeat: kl,
|
|
41
|
+
isNegativeZero: Cl,
|
|
42
|
+
extend: Sl
|
|
43
43
|
};
|
|
44
44
|
function Qn(e, n) {
|
|
45
45
|
var i = "", r = e.reason || "(unknown reason)";
|
|
@@ -67,7 +67,7 @@ function ze(e, n, i, r, l) {
|
|
|
67
67
|
function Ge(e, n) {
|
|
68
68
|
return O.repeat(" ", n - e.length) + e;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function El(e, n) {
|
|
71
71
|
if (n = Object.create(n || null), !e.buffer) return null;
|
|
72
72
|
n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
|
|
73
73
|
for (var i = /\r?\n|\r|\0/g, r = [0], l = [], o, t = -1; o = i.exec(e.buffer); )
|
|
@@ -96,7 +96,7 @@ function Sl(e, n) {
|
|
|
96
96
|
`;
|
|
97
97
|
return u.replace(/\n$/, "");
|
|
98
98
|
}
|
|
99
|
-
var
|
|
99
|
+
var Fl = El, Tl = [
|
|
100
100
|
"kind",
|
|
101
101
|
"multi",
|
|
102
102
|
"resolve",
|
|
@@ -107,12 +107,12 @@ var El = Sl, Fl = [
|
|
|
107
107
|
"representName",
|
|
108
108
|
"defaultStyle",
|
|
109
109
|
"styleAliases"
|
|
110
|
-
],
|
|
110
|
+
], Il = [
|
|
111
111
|
"scalar",
|
|
112
112
|
"sequence",
|
|
113
113
|
"mapping"
|
|
114
114
|
];
|
|
115
|
-
function
|
|
115
|
+
function Ol(e) {
|
|
116
116
|
var n = {};
|
|
117
117
|
return e !== null && Object.keys(e).forEach(function(i) {
|
|
118
118
|
e[i].forEach(function(r) {
|
|
@@ -120,18 +120,18 @@ function Il(e) {
|
|
|
120
120
|
});
|
|
121
121
|
}), n;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ll(e, n) {
|
|
124
124
|
if (n = n || {}, Object.keys(n).forEach(function(i) {
|
|
125
|
-
if (
|
|
125
|
+
if (Tl.indexOf(i) === -1)
|
|
126
126
|
throw new $('Unknown option "' + i + '" is met in definition of "' + e + '" YAML type.');
|
|
127
127
|
}), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
|
|
128
128
|
return !0;
|
|
129
129
|
}, this.construct = n.construct || function(i) {
|
|
130
130
|
return i;
|
|
131
|
-
}, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases =
|
|
131
|
+
}, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ol(n.styleAliases || null), Il.indexOf(this.kind) === -1)
|
|
132
132
|
throw new $('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
|
|
133
133
|
}
|
|
134
|
-
var N =
|
|
134
|
+
var N = Ll;
|
|
135
135
|
function Sn(e, n) {
|
|
136
136
|
var i = [];
|
|
137
137
|
return e[n].forEach(function(r) {
|
|
@@ -141,7 +141,7 @@ function Sn(e, n) {
|
|
|
141
141
|
}), i[l] = r;
|
|
142
142
|
}), i;
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Nl() {
|
|
145
145
|
var e = {
|
|
146
146
|
scalar: {},
|
|
147
147
|
sequence: {},
|
|
@@ -186,7 +186,7 @@ Je.prototype.extend = function(n) {
|
|
|
186
186
|
throw new $("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
187
187
|
});
|
|
188
188
|
var l = Object.create(Je.prototype);
|
|
189
|
-
return l.implicit = (this.implicit || []).concat(i), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = Sn(l, "implicit"), l.compiledExplicit = Sn(l, "explicit"), l.compiledTypeMap =
|
|
189
|
+
return l.implicit = (this.implicit || []).concat(i), l.explicit = (this.explicit || []).concat(r), l.compiledImplicit = Sn(l, "implicit"), l.compiledExplicit = Sn(l, "explicit"), l.compiledTypeMap = Nl(l.compiledImplicit, l.compiledExplicit), l;
|
|
190
190
|
};
|
|
191
191
|
var Wn = Je, Jn = new N("tag:yaml.org,2002:str", {
|
|
192
192
|
kind: "scalar",
|
|
@@ -210,22 +210,22 @@ var Wn = Je, Jn = new N("tag:yaml.org,2002:str", {
|
|
|
210
210
|
Xn
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
|
-
function
|
|
213
|
+
function Ml(e) {
|
|
214
214
|
if (e === null) return !0;
|
|
215
215
|
var n = e.length;
|
|
216
216
|
return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Dl() {
|
|
219
219
|
return null;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Rl(e) {
|
|
222
222
|
return e === null;
|
|
223
223
|
}
|
|
224
224
|
var ni = new N("tag:yaml.org,2002:null", {
|
|
225
225
|
kind: "scalar",
|
|
226
|
-
resolve:
|
|
227
|
-
construct:
|
|
228
|
-
predicate:
|
|
226
|
+
resolve: Ml,
|
|
227
|
+
construct: Dl,
|
|
228
|
+
predicate: Rl,
|
|
229
229
|
represent: {
|
|
230
230
|
canonical: function() {
|
|
231
231
|
return "~";
|
|
@@ -245,22 +245,22 @@ var ni = new N("tag:yaml.org,2002:null", {
|
|
|
245
245
|
},
|
|
246
246
|
defaultStyle: "lowercase"
|
|
247
247
|
});
|
|
248
|
-
function
|
|
248
|
+
function $l(e) {
|
|
249
249
|
if (e === null) return !1;
|
|
250
250
|
var n = e.length;
|
|
251
251
|
return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function jl(e) {
|
|
254
254
|
return e === "true" || e === "True" || e === "TRUE";
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Ul(e) {
|
|
257
257
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
258
258
|
}
|
|
259
259
|
var ii = new N("tag:yaml.org,2002:bool", {
|
|
260
260
|
kind: "scalar",
|
|
261
|
-
resolve:
|
|
262
|
-
construct:
|
|
263
|
-
predicate:
|
|
261
|
+
resolve: $l,
|
|
262
|
+
construct: jl,
|
|
263
|
+
predicate: Ul,
|
|
264
264
|
represent: {
|
|
265
265
|
lowercase: function(e) {
|
|
266
266
|
return e ? "true" : "false";
|
|
@@ -274,16 +274,16 @@ var ii = new N("tag:yaml.org,2002:bool", {
|
|
|
274
274
|
},
|
|
275
275
|
defaultStyle: "lowercase"
|
|
276
276
|
});
|
|
277
|
-
function
|
|
277
|
+
function Bl(e) {
|
|
278
278
|
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function Yl(e) {
|
|
281
281
|
return 48 <= e && e <= 55;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Pl(e) {
|
|
284
284
|
return 48 <= e && e <= 57;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Hl(e) {
|
|
287
287
|
if (e === null) return !1;
|
|
288
288
|
var n = e.length, i = 0, r = !1, l;
|
|
289
289
|
if (!n) return !1;
|
|
@@ -300,7 +300,7 @@ function Pl(e) {
|
|
|
300
300
|
if (l === "x") {
|
|
301
301
|
for (i++; i < n; i++)
|
|
302
302
|
if (l = e[i], l !== "_") {
|
|
303
|
-
if (!
|
|
303
|
+
if (!Bl(e.charCodeAt(i))) return !1;
|
|
304
304
|
r = !0;
|
|
305
305
|
}
|
|
306
306
|
return r && l !== "_";
|
|
@@ -308,7 +308,7 @@ function Pl(e) {
|
|
|
308
308
|
if (l === "o") {
|
|
309
309
|
for (i++; i < n; i++)
|
|
310
310
|
if (l = e[i], l !== "_") {
|
|
311
|
-
if (!
|
|
311
|
+
if (!Yl(e.charCodeAt(i))) return !1;
|
|
312
312
|
r = !0;
|
|
313
313
|
}
|
|
314
314
|
return r && l !== "_";
|
|
@@ -317,13 +317,13 @@ function Pl(e) {
|
|
|
317
317
|
if (l === "_") return !1;
|
|
318
318
|
for (; i < n; i++)
|
|
319
319
|
if (l = e[i], l !== "_") {
|
|
320
|
-
if (!
|
|
320
|
+
if (!Pl(e.charCodeAt(i)))
|
|
321
321
|
return !1;
|
|
322
322
|
r = !0;
|
|
323
323
|
}
|
|
324
324
|
return !(!r || l === "_");
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Vl(e) {
|
|
327
327
|
var n = e, i = 1, r;
|
|
328
328
|
if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (i = -1), n = n.slice(1), r = n[0]), n === "0") return 0;
|
|
329
329
|
if (r === "0") {
|
|
@@ -333,14 +333,14 @@ function Hl(e) {
|
|
|
333
333
|
}
|
|
334
334
|
return i * parseInt(n, 10);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function ql(e) {
|
|
337
337
|
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !O.isNegativeZero(e);
|
|
338
338
|
}
|
|
339
339
|
var li = new N("tag:yaml.org,2002:int", {
|
|
340
340
|
kind: "scalar",
|
|
341
|
-
resolve:
|
|
342
|
-
construct:
|
|
343
|
-
predicate:
|
|
341
|
+
resolve: Hl,
|
|
342
|
+
construct: Vl,
|
|
343
|
+
predicate: ql,
|
|
344
344
|
represent: {
|
|
345
345
|
binary: function(e) {
|
|
346
346
|
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
@@ -363,21 +363,21 @@ var li = new N("tag:yaml.org,2002:int", {
|
|
|
363
363
|
decimal: [10, "dec"],
|
|
364
364
|
hexadecimal: [16, "hex"]
|
|
365
365
|
}
|
|
366
|
-
}),
|
|
366
|
+
}), Kl = new RegExp(
|
|
367
367
|
// 2.5e4, 2.5 and integers
|
|
368
368
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
369
369
|
);
|
|
370
|
-
function
|
|
371
|
-
return !(e === null || !
|
|
370
|
+
function zl(e) {
|
|
371
|
+
return !(e === null || !Kl.test(e) || // Quick hack to not allow integers end with `_`
|
|
372
372
|
// Probably should update regexp & check speed
|
|
373
373
|
e[e.length - 1] === "_");
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Gl(e) {
|
|
376
376
|
var n, i;
|
|
377
377
|
return n = e.replace(/_/g, "").toLowerCase(), i = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : i * parseFloat(n, 10);
|
|
378
378
|
}
|
|
379
|
-
var
|
|
380
|
-
function
|
|
379
|
+
var Ql = /^[-+]?[0-9]+e/;
|
|
380
|
+
function Wl(e, n) {
|
|
381
381
|
var i;
|
|
382
382
|
if (isNaN(e))
|
|
383
383
|
switch (n) {
|
|
@@ -408,17 +408,17 @@ function Ql(e, n) {
|
|
|
408
408
|
}
|
|
409
409
|
else if (O.isNegativeZero(e))
|
|
410
410
|
return "-0.0";
|
|
411
|
-
return i = e.toString(10),
|
|
411
|
+
return i = e.toString(10), Ql.test(i) ? i.replace("e", ".e") : i;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function Jl(e) {
|
|
414
414
|
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || O.isNegativeZero(e));
|
|
415
415
|
}
|
|
416
416
|
var ri = new N("tag:yaml.org,2002:float", {
|
|
417
417
|
kind: "scalar",
|
|
418
|
-
resolve:
|
|
419
|
-
construct:
|
|
420
|
-
predicate:
|
|
421
|
-
represent:
|
|
418
|
+
resolve: zl,
|
|
419
|
+
construct: Gl,
|
|
420
|
+
predicate: Jl,
|
|
421
|
+
represent: Wl,
|
|
422
422
|
defaultStyle: "lowercase"
|
|
423
423
|
}), ti = ei.extend({
|
|
424
424
|
implicit: [
|
|
@@ -432,10 +432,10 @@ var ri = new N("tag:yaml.org,2002:float", {
|
|
|
432
432
|
), ai = new RegExp(
|
|
433
433
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
|
|
434
434
|
);
|
|
435
|
-
function
|
|
435
|
+
function Zl(e) {
|
|
436
436
|
return e === null ? !1 : ui.exec(e) !== null || ai.exec(e) !== null;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function Xl(e) {
|
|
439
439
|
var n, i, r, l, o, t, u, a = 0, s = null, m, d, y;
|
|
440
440
|
if (n = ui.exec(e), n === null && (n = ai.exec(e)), n === null) throw new Error("Date resolve error");
|
|
441
441
|
if (i = +n[1], r = +n[2] - 1, l = +n[3], !n[4])
|
|
@@ -447,25 +447,25 @@ function Zl(e) {
|
|
|
447
447
|
}
|
|
448
448
|
return n[9] && (m = +n[10], d = +(n[11] || 0), s = (m * 60 + d) * 6e4, n[9] === "-" && (s = -s)), y = new Date(Date.UTC(i, r, l, o, t, u, a)), s && y.setTime(y.getTime() - s), y;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function er(e) {
|
|
451
451
|
return e.toISOString();
|
|
452
452
|
}
|
|
453
453
|
var si = new N("tag:yaml.org,2002:timestamp", {
|
|
454
454
|
kind: "scalar",
|
|
455
|
-
resolve:
|
|
456
|
-
construct:
|
|
455
|
+
resolve: Zl,
|
|
456
|
+
construct: Xl,
|
|
457
457
|
instanceOf: Date,
|
|
458
|
-
represent:
|
|
458
|
+
represent: er
|
|
459
459
|
});
|
|
460
|
-
function
|
|
460
|
+
function nr(e) {
|
|
461
461
|
return e === "<<" || e === null;
|
|
462
462
|
}
|
|
463
463
|
var ci = new N("tag:yaml.org,2002:merge", {
|
|
464
464
|
kind: "scalar",
|
|
465
|
-
resolve:
|
|
465
|
+
resolve: nr
|
|
466
466
|
}), tn = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
467
467
|
\r`;
|
|
468
|
-
function
|
|
468
|
+
function ir(e) {
|
|
469
469
|
if (e === null) return !1;
|
|
470
470
|
var n, i, r = 0, l = e.length, o = tn;
|
|
471
471
|
for (i = 0; i < l; i++)
|
|
@@ -475,35 +475,35 @@ function nr(e) {
|
|
|
475
475
|
}
|
|
476
476
|
return r % 8 === 0;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function lr(e) {
|
|
479
479
|
var n, i, r = e.replace(/[\r\n=]/g, ""), l = r.length, o = tn, t = 0, u = [];
|
|
480
480
|
for (n = 0; n < l; n++)
|
|
481
481
|
n % 4 === 0 && n && (u.push(t >> 16 & 255), u.push(t >> 8 & 255), u.push(t & 255)), t = t << 6 | o.indexOf(r.charAt(n));
|
|
482
482
|
return i = l % 4 * 6, i === 0 ? (u.push(t >> 16 & 255), u.push(t >> 8 & 255), u.push(t & 255)) : i === 18 ? (u.push(t >> 10 & 255), u.push(t >> 2 & 255)) : i === 12 && u.push(t >> 4 & 255), new Uint8Array(u);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function rr(e) {
|
|
485
485
|
var n = "", i = 0, r, l, o = e.length, t = tn;
|
|
486
486
|
for (r = 0; r < o; r++)
|
|
487
487
|
r % 3 === 0 && r && (n += t[i >> 18 & 63], n += t[i >> 12 & 63], n += t[i >> 6 & 63], n += t[i & 63]), i = (i << 8) + e[r];
|
|
488
488
|
return l = o % 3, l === 0 ? (n += t[i >> 18 & 63], n += t[i >> 12 & 63], n += t[i >> 6 & 63], n += t[i & 63]) : l === 2 ? (n += t[i >> 10 & 63], n += t[i >> 4 & 63], n += t[i << 2 & 63], n += t[64]) : l === 1 && (n += t[i >> 2 & 63], n += t[i << 4 & 63], n += t[64], n += t[64]), n;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function tr(e) {
|
|
491
491
|
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
492
492
|
}
|
|
493
493
|
var fi = new N("tag:yaml.org,2002:binary", {
|
|
494
494
|
kind: "scalar",
|
|
495
|
-
resolve:
|
|
496
|
-
construct:
|
|
497
|
-
predicate:
|
|
498
|
-
represent:
|
|
499
|
-
}),
|
|
500
|
-
function
|
|
495
|
+
resolve: ir,
|
|
496
|
+
construct: lr,
|
|
497
|
+
predicate: tr,
|
|
498
|
+
represent: rr
|
|
499
|
+
}), or = Object.prototype.hasOwnProperty, ur = Object.prototype.toString;
|
|
500
|
+
function ar(e) {
|
|
501
501
|
if (e === null) return !0;
|
|
502
502
|
var n = [], i, r, l, o, t, u = e;
|
|
503
503
|
for (i = 0, r = u.length; i < r; i += 1) {
|
|
504
|
-
if (l = u[i], t = !1,
|
|
504
|
+
if (l = u[i], t = !1, ur.call(l) !== "[object Object]") return !1;
|
|
505
505
|
for (o in l)
|
|
506
|
-
if (
|
|
506
|
+
if (or.call(l, o))
|
|
507
507
|
if (!t) t = !0;
|
|
508
508
|
else return !1;
|
|
509
509
|
if (!t) return !1;
|
|
@@ -512,24 +512,24 @@ function ur(e) {
|
|
|
512
512
|
}
|
|
513
513
|
return !0;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function sr(e) {
|
|
516
516
|
return e !== null ? e : [];
|
|
517
517
|
}
|
|
518
518
|
var di = new N("tag:yaml.org,2002:omap", {
|
|
519
519
|
kind: "sequence",
|
|
520
|
-
resolve:
|
|
521
|
-
construct:
|
|
522
|
-
}),
|
|
523
|
-
function
|
|
520
|
+
resolve: ar,
|
|
521
|
+
construct: sr
|
|
522
|
+
}), cr = Object.prototype.toString;
|
|
523
|
+
function fr(e) {
|
|
524
524
|
if (e === null) return !0;
|
|
525
525
|
var n, i, r, l, o, t = e;
|
|
526
526
|
for (o = new Array(t.length), n = 0, i = t.length; n < i; n += 1) {
|
|
527
|
-
if (r = t[n],
|
|
527
|
+
if (r = t[n], cr.call(r) !== "[object Object]" || (l = Object.keys(r), l.length !== 1)) return !1;
|
|
528
528
|
o[n] = [l[0], r[l[0]]];
|
|
529
529
|
}
|
|
530
530
|
return !0;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function dr(e) {
|
|
533
533
|
if (e === null) return [];
|
|
534
534
|
var n, i, r, l, o, t = e;
|
|
535
535
|
for (o = new Array(t.length), n = 0, i = t.length; n < i; n += 1)
|
|
@@ -538,24 +538,24 @@ function fr(e) {
|
|
|
538
538
|
}
|
|
539
539
|
var pi = new N("tag:yaml.org,2002:pairs", {
|
|
540
540
|
kind: "sequence",
|
|
541
|
-
resolve:
|
|
542
|
-
construct:
|
|
543
|
-
}),
|
|
544
|
-
function
|
|
541
|
+
resolve: fr,
|
|
542
|
+
construct: dr
|
|
543
|
+
}), pr = Object.prototype.hasOwnProperty;
|
|
544
|
+
function mr(e) {
|
|
545
545
|
if (e === null) return !0;
|
|
546
546
|
var n, i = e;
|
|
547
547
|
for (n in i)
|
|
548
|
-
if (
|
|
548
|
+
if (pr.call(i, n) && i[n] !== null)
|
|
549
549
|
return !1;
|
|
550
550
|
return !0;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function hr(e) {
|
|
553
553
|
return e !== null ? e : {};
|
|
554
554
|
}
|
|
555
555
|
var mi = new N("tag:yaml.org,2002:set", {
|
|
556
556
|
kind: "mapping",
|
|
557
|
-
resolve:
|
|
558
|
-
construct:
|
|
557
|
+
resolve: mr,
|
|
558
|
+
construct: hr
|
|
559
559
|
}), on = oi.extend({
|
|
560
560
|
implicit: [
|
|
561
561
|
si,
|
|
@@ -567,7 +567,7 @@ var mi = new N("tag:yaml.org,2002:set", {
|
|
|
567
567
|
pi,
|
|
568
568
|
mi
|
|
569
569
|
]
|
|
570
|
-
}), X = Object.prototype.hasOwnProperty, Oe = 1, hi = 2, vi = 3, Le = 4, Qe = 1,
|
|
570
|
+
}), X = Object.prototype.hasOwnProperty, Oe = 1, hi = 2, vi = 3, Le = 4, Qe = 1, vr = 2, En = 3, xr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, yr = /[\x85\u2028\u2029]/, gr = /[,\[\]\{\}]/, xi = /^(?:!|!!|![a-z\-]+!)$/i, yi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
571
571
|
function Fn(e) {
|
|
572
572
|
return Object.prototype.toString.call(e);
|
|
573
573
|
}
|
|
@@ -583,33 +583,41 @@ function U(e) {
|
|
|
583
583
|
function ce(e) {
|
|
584
584
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function br(e) {
|
|
587
587
|
var n;
|
|
588
588
|
return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function _r(e) {
|
|
591
591
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function wr(e) {
|
|
594
594
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
595
595
|
}
|
|
596
596
|
function Tn(e) {
|
|
597
597
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
598
598
|
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Ar(e) {
|
|
601
601
|
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
|
|
602
602
|
(e - 65536 >> 10) + 55296,
|
|
603
603
|
(e - 65536 & 1023) + 56320
|
|
604
604
|
);
|
|
605
605
|
}
|
|
606
|
-
|
|
606
|
+
function gi(e, n, i) {
|
|
607
|
+
n === "__proto__" ? Object.defineProperty(e, n, {
|
|
608
|
+
configurable: !0,
|
|
609
|
+
enumerable: !0,
|
|
610
|
+
writable: !0,
|
|
611
|
+
value: i
|
|
612
|
+
}) : e[n] = i;
|
|
613
|
+
}
|
|
614
|
+
var bi = new Array(256), _i = new Array(256);
|
|
607
615
|
for (var ae = 0; ae < 256; ae++)
|
|
608
|
-
|
|
609
|
-
function
|
|
616
|
+
bi[ae] = Tn(ae) ? 1 : 0, _i[ae] = Tn(ae);
|
|
617
|
+
function kr(e, n) {
|
|
610
618
|
this.input = e, this.filename = n.filename || null, this.schema = n.schema || on, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
611
619
|
}
|
|
612
|
-
function
|
|
620
|
+
function wi(e, n) {
|
|
613
621
|
var i = {
|
|
614
622
|
name: e.filename,
|
|
615
623
|
buffer: e.input.slice(0, -1),
|
|
@@ -618,13 +626,13 @@ function _i(e, n) {
|
|
|
618
626
|
line: e.line,
|
|
619
627
|
column: e.position - e.lineStart
|
|
620
628
|
};
|
|
621
|
-
return i.snippet =
|
|
629
|
+
return i.snippet = Fl(i), new $(n, i);
|
|
622
630
|
}
|
|
623
631
|
function _(e, n) {
|
|
624
|
-
throw
|
|
632
|
+
throw wi(e, n);
|
|
625
633
|
}
|
|
626
634
|
function Ne(e, n) {
|
|
627
|
-
e.onWarning && e.onWarning.call(null,
|
|
635
|
+
e.onWarning && e.onWarning.call(null, wi(e, n));
|
|
628
636
|
}
|
|
629
637
|
var In = {
|
|
630
638
|
YAML: function(n, i, r) {
|
|
@@ -648,14 +656,14 @@ function Z(e, n, i, r) {
|
|
|
648
656
|
if (u = e.input.slice(n, i), r)
|
|
649
657
|
for (l = 0, o = u.length; l < o; l += 1)
|
|
650
658
|
t = u.charCodeAt(l), t === 9 || 32 <= t && t <= 1114111 || _(e, "expected valid JSON character");
|
|
651
|
-
else
|
|
659
|
+
else xr.test(u) && _(e, "the stream contains non-printable characters");
|
|
652
660
|
e.result += u;
|
|
653
661
|
}
|
|
654
662
|
}
|
|
655
663
|
function On(e, n, i, r) {
|
|
656
664
|
var l, o, t, u;
|
|
657
665
|
for (O.isObject(i) || _(e, "cannot merge mappings; the provided source object is unacceptable"), l = Object.keys(i), t = 0, u = l.length; t < u; t += 1)
|
|
658
|
-
o = l[t], X.call(n, o) || (n
|
|
666
|
+
o = l[t], X.call(n, o) || (gi(n, o, i[o]), r[o] = !0);
|
|
659
667
|
}
|
|
660
668
|
function fe(e, n, i, r, l, o, t, u, a) {
|
|
661
669
|
var s, m;
|
|
@@ -669,12 +677,7 @@ function fe(e, n, i, r, l, o, t, u, a) {
|
|
|
669
677
|
else
|
|
670
678
|
On(e, n, o, i);
|
|
671
679
|
else
|
|
672
|
-
!e.json && !X.call(i, l) && X.call(n, l) && (e.line = t || e.line, e.lineStart = u || e.lineStart, e.position = a || e.position, _(e, "duplicated mapping key")),
|
|
673
|
-
configurable: !0,
|
|
674
|
-
enumerable: !0,
|
|
675
|
-
writable: !0,
|
|
676
|
-
value: o
|
|
677
|
-
}) : n[l] = o, delete i[l];
|
|
680
|
+
!e.json && !X.call(i, l) && X.call(n, l) && (e.line = t || e.line, e.lineStart = u || e.lineStart, e.position = a || e.position, _(e, "duplicated mapping key")), gi(n, l, o), delete i[l];
|
|
678
681
|
return n;
|
|
679
682
|
}
|
|
680
683
|
function un(e) {
|
|
@@ -705,7 +708,7 @@ function an(e, n) {
|
|
|
705
708
|
n === 1 ? e.result += " " : n > 1 && (e.result += O.repeat(`
|
|
706
709
|
`, n - 1));
|
|
707
710
|
}
|
|
708
|
-
function
|
|
711
|
+
function Cr(e, n, i) {
|
|
709
712
|
var r, l, o, t, u, a, s, m, d = e.kind, y = e.result, b;
|
|
710
713
|
if (b = e.input.charCodeAt(e.position), U(b) || ce(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (l = e.input.charCodeAt(e.position + 1), U(l) || i && ce(l)))
|
|
711
714
|
return !1;
|
|
@@ -732,7 +735,7 @@ function kr(e, n, i) {
|
|
|
732
735
|
}
|
|
733
736
|
return Z(e, o, t, !1), e.result ? !0 : (e.kind = d, e.result = y, !1);
|
|
734
737
|
}
|
|
735
|
-
function
|
|
738
|
+
function Sr(e, n) {
|
|
736
739
|
var i, r, l;
|
|
737
740
|
if (i = e.input.charCodeAt(e.position), i !== 39)
|
|
738
741
|
return !1;
|
|
@@ -745,7 +748,7 @@ function Cr(e, n) {
|
|
|
745
748
|
else G(i) ? (Z(e, r, l, !0), an(e, T(e, !1, n)), r = l = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, l = e.position);
|
|
746
749
|
_(e, "unexpected end of the stream within a single quoted scalar");
|
|
747
750
|
}
|
|
748
|
-
function
|
|
751
|
+
function Er(e, n) {
|
|
749
752
|
var i, r, l, o, t, u;
|
|
750
753
|
if (u = e.input.charCodeAt(e.position), u !== 34)
|
|
751
754
|
return !1;
|
|
@@ -755,12 +758,12 @@ function Sr(e, n) {
|
|
|
755
758
|
if (u === 92) {
|
|
756
759
|
if (Z(e, i, e.position, !0), u = e.input.charCodeAt(++e.position), G(u))
|
|
757
760
|
T(e, !1, n);
|
|
758
|
-
else if (u < 256 &&
|
|
759
|
-
e.result +=
|
|
760
|
-
else if ((t =
|
|
761
|
+
else if (u < 256 && bi[u])
|
|
762
|
+
e.result += _i[u], e.position++;
|
|
763
|
+
else if ((t = _r(u)) > 0) {
|
|
761
764
|
for (l = t, o = 0; l > 0; l--)
|
|
762
|
-
u = e.input.charCodeAt(++e.position), (t =
|
|
763
|
-
e.result +=
|
|
765
|
+
u = e.input.charCodeAt(++e.position), (t = br(u)) >= 0 ? o = (o << 4) + t : _(e, "expected hexadecimal character");
|
|
766
|
+
e.result += Ar(o), e.position++;
|
|
764
767
|
} else
|
|
765
768
|
_(e, "unknown escape sequence");
|
|
766
769
|
i = r = e.position;
|
|
@@ -768,7 +771,7 @@ function Sr(e, n) {
|
|
|
768
771
|
}
|
|
769
772
|
_(e, "unexpected end of the stream within a double quoted scalar");
|
|
770
773
|
}
|
|
771
|
-
function
|
|
774
|
+
function Fr(e, n) {
|
|
772
775
|
var i = !0, r, l, o, t = e.tag, u, a = e.anchor, s, m, d, y, b, p = /* @__PURE__ */ Object.create(null), h, x, w, g;
|
|
773
776
|
if (g = e.input.charCodeAt(e.position), g === 91)
|
|
774
777
|
m = 93, b = !1, u = [];
|
|
@@ -783,7 +786,7 @@ function Er(e, n) {
|
|
|
783
786
|
}
|
|
784
787
|
_(e, "unexpected end of the stream within a flow collection");
|
|
785
788
|
}
|
|
786
|
-
function
|
|
789
|
+
function Tr(e, n) {
|
|
787
790
|
var i, r, l = Qe, o = !1, t = !1, u = n, a = 0, s = !1, m, d;
|
|
788
791
|
if (d = e.input.charCodeAt(e.position), d === 124)
|
|
789
792
|
r = !1;
|
|
@@ -793,8 +796,8 @@ function Fr(e, n) {
|
|
|
793
796
|
return !1;
|
|
794
797
|
for (e.kind = "scalar", e.result = ""; d !== 0; )
|
|
795
798
|
if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
|
|
796
|
-
Qe === l ? l = d === 43 ? En :
|
|
797
|
-
else if ((m =
|
|
799
|
+
Qe === l ? l = d === 43 ? En : vr : _(e, "repeat of a chomping mode identifier");
|
|
800
|
+
else if ((m = wr(d)) >= 0)
|
|
798
801
|
m === 0 ? _(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : t ? _(e, "repeat of an indentation width identifier") : (u = n + m - 1, t = !0);
|
|
799
802
|
else
|
|
800
803
|
break;
|
|
@@ -845,7 +848,7 @@ function Ln(e, n) {
|
|
|
845
848
|
}
|
|
846
849
|
return u ? (e.tag = r, e.anchor = l, e.kind = "sequence", e.result = o, !0) : !1;
|
|
847
850
|
}
|
|
848
|
-
function
|
|
851
|
+
function Ir(e, n, i) {
|
|
849
852
|
var r, l, o, t, u, a, s = e.tag, m = e.anchor, d = {}, y = /* @__PURE__ */ Object.create(null), b = null, p = null, h = null, x = !1, w = !1, g;
|
|
850
853
|
if (e.firstTabInLine !== -1) return !1;
|
|
851
854
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = d), g = e.input.charCodeAt(e.position); g !== 0; ) {
|
|
@@ -875,7 +878,7 @@ function Tr(e, n, i) {
|
|
|
875
878
|
}
|
|
876
879
|
return x && fe(e, d, y, b, p, null, t, u, a), w && (e.tag = s, e.anchor = m, e.kind = "mapping", e.result = d), w;
|
|
877
880
|
}
|
|
878
|
-
function
|
|
881
|
+
function Or(e) {
|
|
879
882
|
var n, i = !1, r = !1, l, o, t;
|
|
880
883
|
if (t = e.input.charCodeAt(e.position), t !== 33) return !1;
|
|
881
884
|
if (e.tag !== null && _(e, "duplication of a tag property"), t = e.input.charCodeAt(++e.position), t === 60 ? (i = !0, t = e.input.charCodeAt(++e.position)) : t === 33 ? (r = !0, l = "!!", t = e.input.charCodeAt(++e.position)) : l = "!", n = e.position, i) {
|
|
@@ -886,7 +889,7 @@ function Ir(e) {
|
|
|
886
889
|
} else {
|
|
887
890
|
for (; t !== 0 && !U(t); )
|
|
888
891
|
t === 33 && (r ? _(e, "tag suffix cannot contain exclamation marks") : (l = e.input.slice(n - 1, e.position + 1), xi.test(l) || _(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), t = e.input.charCodeAt(++e.position);
|
|
889
|
-
o = e.input.slice(n, e.position),
|
|
892
|
+
o = e.input.slice(n, e.position), gr.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
|
|
890
893
|
}
|
|
891
894
|
o && !yi.test(o) && _(e, "tag name cannot contain such characters: " + o);
|
|
892
895
|
try {
|
|
@@ -896,14 +899,14 @@ function Ir(e) {
|
|
|
896
899
|
}
|
|
897
900
|
return i ? e.tag = o : X.call(e.tagMap, l) ? e.tag = e.tagMap[l] + o : l === "!" ? e.tag = "!" + o : l === "!!" ? e.tag = "tag:yaml.org,2002:" + o : _(e, 'undeclared tag handle "' + l + '"'), !0;
|
|
898
901
|
}
|
|
899
|
-
function
|
|
902
|
+
function Lr(e) {
|
|
900
903
|
var n, i;
|
|
901
904
|
if (i = e.input.charCodeAt(e.position), i !== 38) return !1;
|
|
902
905
|
for (e.anchor !== null && _(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !U(i) && !ce(i); )
|
|
903
906
|
i = e.input.charCodeAt(++e.position);
|
|
904
907
|
return e.position === n && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
|
|
905
908
|
}
|
|
906
|
-
function
|
|
909
|
+
function Nr(e) {
|
|
907
910
|
var n, i, r;
|
|
908
911
|
if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
|
|
909
912
|
for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !U(r) && !ce(r); )
|
|
@@ -913,9 +916,9 @@ function Lr(e) {
|
|
|
913
916
|
function de(e, n, i, r, l) {
|
|
914
917
|
var o, t, u, a = 1, s = !1, m = !1, d, y, b, p, h, x;
|
|
915
918
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = t = u = Le === i || vi === i, r && T(e, !0, -1) && (s = !0, e.lineIndent > n ? a = 1 : e.lineIndent === n ? a = 0 : e.lineIndent < n && (a = -1)), a === 1)
|
|
916
|
-
for (;
|
|
919
|
+
for (; Or(e) || Lr(e); )
|
|
917
920
|
T(e, !0, -1) ? (s = !0, u = o, e.lineIndent > n ? a = 1 : e.lineIndent === n ? a = 0 : e.lineIndent < n && (a = -1)) : u = !1;
|
|
918
|
-
if (u && (u = s || l), (a === 1 || Le === i) && (Oe === i || hi === i ? h = n : h = n + 1, x = e.position - e.lineStart, a === 1 ? u && (Ln(e, x) ||
|
|
921
|
+
if (u && (u = s || l), (a === 1 || Le === i) && (Oe === i || hi === i ? h = n : h = n + 1, x = e.position - e.lineStart, a === 1 ? u && (Ln(e, x) || Ir(e, x, h)) || Fr(e, h) ? m = !0 : (t && Tr(e, h) || Sr(e, h) || Er(e, h) ? m = !0 : Nr(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : Cr(e, h, Oe === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : a === 0 && (m = u && Ln(e, x))), e.tag === null)
|
|
919
922
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
920
923
|
else if (e.tag === "?") {
|
|
921
924
|
for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, y = e.implicitTypes.length; d < y; d += 1)
|
|
@@ -936,7 +939,7 @@ function de(e, n, i, r, l) {
|
|
|
936
939
|
}
|
|
937
940
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || m;
|
|
938
941
|
}
|
|
939
|
-
function
|
|
942
|
+
function Mr(e) {
|
|
940
943
|
var n = e.position, i, r, l, o = !1, t;
|
|
941
944
|
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (t = e.input.charCodeAt(e.position)) !== 0 && (T(e, !0, -1), t = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || t !== 37)); ) {
|
|
942
945
|
for (o = !0, t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !U(t); )
|
|
@@ -957,7 +960,7 @@ function Nr(e) {
|
|
|
957
960
|
}
|
|
958
961
|
t !== 0 && un(e), X.call(In, r) ? In[r](e, r, l) : Ne(e, 'unknown document directive "' + r + '"');
|
|
959
962
|
}
|
|
960
|
-
if (T(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, T(e, !0, -1)) : o && _(e, "directives end mark is expected"), de(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks &&
|
|
963
|
+
if (T(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, T(e, !0, -1)) : o && _(e, "directives end mark is expected"), de(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks && yr.test(e.input.slice(n, e.position)) && Ne(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
|
|
961
964
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, T(e, !0, -1));
|
|
962
965
|
return;
|
|
963
966
|
}
|
|
@@ -966,36 +969,36 @@ function Nr(e) {
|
|
|
966
969
|
else
|
|
967
970
|
return;
|
|
968
971
|
}
|
|
969
|
-
function
|
|
972
|
+
function Ai(e, n) {
|
|
970
973
|
e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
|
|
971
974
|
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
972
|
-
var i = new
|
|
975
|
+
var i = new kr(e, n), r = e.indexOf("\0");
|
|
973
976
|
for (r !== -1 && (i.position = r, _(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
|
|
974
977
|
i.lineIndent += 1, i.position += 1;
|
|
975
978
|
for (; i.position < i.length - 1; )
|
|
976
|
-
|
|
979
|
+
Mr(i);
|
|
977
980
|
return i.documents;
|
|
978
981
|
}
|
|
979
|
-
function
|
|
982
|
+
function Dr(e, n, i) {
|
|
980
983
|
n !== null && typeof n == "object" && typeof i > "u" && (i = n, n = null);
|
|
981
|
-
var r =
|
|
984
|
+
var r = Ai(e, i);
|
|
982
985
|
if (typeof n != "function")
|
|
983
986
|
return r;
|
|
984
987
|
for (var l = 0, o = r.length; l < o; l += 1)
|
|
985
988
|
n(r[l]);
|
|
986
989
|
}
|
|
987
|
-
function
|
|
988
|
-
var i =
|
|
990
|
+
function Rr(e, n) {
|
|
991
|
+
var i = Ai(e, n);
|
|
989
992
|
if (i.length !== 0) {
|
|
990
993
|
if (i.length === 1)
|
|
991
994
|
return i[0];
|
|
992
995
|
throw new $("expected a single document in the stream, but found more");
|
|
993
996
|
}
|
|
994
997
|
}
|
|
995
|
-
var
|
|
996
|
-
loadAll:
|
|
997
|
-
load:
|
|
998
|
-
},
|
|
998
|
+
var $r = Dr, jr = Rr, ki = {
|
|
999
|
+
loadAll: $r,
|
|
1000
|
+
load: jr
|
|
1001
|
+
}, Ci = Object.prototype.toString, Si = Object.prototype.hasOwnProperty, sn = 65279, Ur = 9, ge = 10, Br = 13, Yr = 32, Pr = 33, Hr = 34, Ze = 35, Vr = 37, qr = 38, Kr = 39, zr = 42, Ei = 44, Gr = 45, Me = 58, Qr = 61, Wr = 62, Jr = 63, Zr = 64, Fi = 91, Ti = 93, Xr = 96, Ii = 123, et = 124, Oi = 125, R = {};
|
|
999
1002
|
R[0] = "\\0";
|
|
1000
1003
|
R[7] = "\\a";
|
|
1001
1004
|
R[8] = "\\b";
|
|
@@ -1011,7 +1014,7 @@ R[133] = "\\N";
|
|
|
1011
1014
|
R[160] = "\\_";
|
|
1012
1015
|
R[8232] = "\\L";
|
|
1013
1016
|
R[8233] = "\\P";
|
|
1014
|
-
var
|
|
1017
|
+
var nt = [
|
|
1015
1018
|
"y",
|
|
1016
1019
|
"Y",
|
|
1017
1020
|
"yes",
|
|
@@ -1028,15 +1031,15 @@ var et = [
|
|
|
1028
1031
|
"off",
|
|
1029
1032
|
"Off",
|
|
1030
1033
|
"OFF"
|
|
1031
|
-
],
|
|
1032
|
-
function
|
|
1034
|
+
], it = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
1035
|
+
function lt(e, n) {
|
|
1033
1036
|
var i, r, l, o, t, u, a;
|
|
1034
1037
|
if (n === null) return {};
|
|
1035
1038
|
for (i = {}, r = Object.keys(n), l = 0, o = r.length; l < o; l += 1)
|
|
1036
|
-
t = r[l], u = String(n[t]), t.slice(0, 2) === "!!" && (t = "tag:yaml.org,2002:" + t.slice(2)), a = e.compiledTypeMap.fallback[t], a &&
|
|
1039
|
+
t = r[l], u = String(n[t]), t.slice(0, 2) === "!!" && (t = "tag:yaml.org,2002:" + t.slice(2)), a = e.compiledTypeMap.fallback[t], a && Si.call(a.styleAliases, u) && (u = a.styleAliases[u]), i[t] = u;
|
|
1037
1040
|
return i;
|
|
1038
1041
|
}
|
|
1039
|
-
function
|
|
1042
|
+
function rt(e) {
|
|
1040
1043
|
var n, i, r;
|
|
1041
1044
|
if (n = e.toString(16).toUpperCase(), e <= 255)
|
|
1042
1045
|
i = "x", r = 2;
|
|
@@ -1048,9 +1051,9 @@ function lt(e) {
|
|
|
1048
1051
|
throw new $("code point within a string may not be greater than 0xFFFFFFFF");
|
|
1049
1052
|
return "\\" + i + O.repeat("0", r - n.length) + n;
|
|
1050
1053
|
}
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1053
|
-
this.schema = e.schema || on, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = O.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap =
|
|
1054
|
+
var tt = 1, be = 2;
|
|
1055
|
+
function ot(e) {
|
|
1056
|
+
this.schema = e.schema || on, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = O.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = lt(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? be : tt, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
1054
1057
|
}
|
|
1055
1058
|
function Nn(e, n) {
|
|
1056
1059
|
for (var i = O.repeat(" ", n), r = 0, l = -1, o = "", t, u = e.length; r < u; )
|
|
@@ -1063,7 +1066,7 @@ function Xe(e, n) {
|
|
|
1063
1066
|
return `
|
|
1064
1067
|
` + O.repeat(" ", e.indent * n);
|
|
1065
1068
|
}
|
|
1066
|
-
function
|
|
1069
|
+
function ut(e, n) {
|
|
1067
1070
|
var i, r, l;
|
|
1068
1071
|
for (i = 0, r = e.implicitTypes.length; i < r; i += 1)
|
|
1069
1072
|
if (l = e.implicitTypes[i], l.resolve(n))
|
|
@@ -1071,13 +1074,13 @@ function ot(e, n) {
|
|
|
1071
1074
|
return !1;
|
|
1072
1075
|
}
|
|
1073
1076
|
function De(e) {
|
|
1074
|
-
return e ===
|
|
1077
|
+
return e === Yr || e === Ur;
|
|
1075
1078
|
}
|
|
1076
1079
|
function _e(e) {
|
|
1077
1080
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== sn || 65536 <= e && e <= 1114111;
|
|
1078
1081
|
}
|
|
1079
1082
|
function Mn(e) {
|
|
1080
|
-
return _e(e) && e !== sn && e !==
|
|
1083
|
+
return _e(e) && e !== sn && e !== Br && e !== ge;
|
|
1081
1084
|
}
|
|
1082
1085
|
function Dn(e, n, i) {
|
|
1083
1086
|
var r = Mn(e), l = r && !De(e);
|
|
@@ -1086,26 +1089,26 @@ function Dn(e, n, i) {
|
|
|
1086
1089
|
(i ? (
|
|
1087
1090
|
// c = flow-in
|
|
1088
1091
|
r
|
|
1089
|
-
) : r && e !==
|
|
1092
|
+
) : r && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Oi) && e !== Ze && !(n === Me && !l) || Mn(n) && !De(n) && e === Ze || n === Me && l
|
|
1090
1093
|
);
|
|
1091
1094
|
}
|
|
1092
|
-
function ut(e) {
|
|
1093
|
-
return _e(e) && e !== sn && !De(e) && e !== zr && e !== Wr && e !== Me && e !== Si && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Ze && e !== Vr && e !== Kr && e !== Yr && e !== Xr && e !== Gr && e !== Qr && e !== qr && e !== Pr && e !== Hr && e !== Jr && e !== Zr;
|
|
1094
|
-
}
|
|
1095
1095
|
function at(e) {
|
|
1096
|
+
return _e(e) && e !== sn && !De(e) && e !== Gr && e !== Jr && e !== Me && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Oi && e !== Ze && e !== qr && e !== zr && e !== Pr && e !== et && e !== Qr && e !== Wr && e !== Kr && e !== Hr && e !== Vr && e !== Zr && e !== Xr;
|
|
1097
|
+
}
|
|
1098
|
+
function st(e) {
|
|
1096
1099
|
return !De(e) && e !== Me;
|
|
1097
1100
|
}
|
|
1098
1101
|
function he(e, n) {
|
|
1099
1102
|
var i = e.charCodeAt(n), r;
|
|
1100
1103
|
return i >= 55296 && i <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (i - 55296) * 1024 + r - 56320 + 65536 : i;
|
|
1101
1104
|
}
|
|
1102
|
-
function
|
|
1105
|
+
function Li(e) {
|
|
1103
1106
|
var n = /^\n* /;
|
|
1104
1107
|
return n.test(e);
|
|
1105
1108
|
}
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1108
|
-
var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h =
|
|
1109
|
+
var Ni = 1, en = 2, Mi = 3, Di = 4, se = 5;
|
|
1110
|
+
function ct(e, n, i, r, l, o, t, u) {
|
|
1111
|
+
var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h = at(he(e, 0)) && st(he(e, e.length - 1));
|
|
1109
1112
|
if (n || t)
|
|
1110
1113
|
for (a = 0; a < e.length; s >= 65536 ? a += 2 : a++) {
|
|
1111
1114
|
if (s = he(e, a), !_e(s))
|
|
@@ -1123,19 +1126,19 @@ function st(e, n, i, r, l, o, t, u) {
|
|
|
1123
1126
|
}
|
|
1124
1127
|
y = y || b && a - p - 1 > r && e[p + 1] !== " ";
|
|
1125
1128
|
}
|
|
1126
|
-
return !d && !y ? h && !t && !l(e) ?
|
|
1129
|
+
return !d && !y ? h && !t && !l(e) ? Ni : o === be ? se : en : i > 9 && Li(e) ? se : t ? o === be ? se : en : y ? Di : Mi;
|
|
1127
1130
|
}
|
|
1128
|
-
function
|
|
1131
|
+
function ft(e, n, i, r, l) {
|
|
1129
1132
|
e.dump = (function() {
|
|
1130
1133
|
if (n.length === 0)
|
|
1131
1134
|
return e.quotingType === be ? '""' : "''";
|
|
1132
|
-
if (!e.noCompatMode && (
|
|
1135
|
+
if (!e.noCompatMode && (nt.indexOf(n) !== -1 || it.test(n)))
|
|
1133
1136
|
return e.quotingType === be ? '"' + n + '"' : "'" + n + "'";
|
|
1134
1137
|
var o = e.indent * Math.max(1, i), t = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), u = r || e.flowLevel > -1 && i >= e.flowLevel;
|
|
1135
1138
|
function a(s) {
|
|
1136
|
-
return
|
|
1139
|
+
return ut(e, s);
|
|
1137
1140
|
}
|
|
1138
|
-
switch (
|
|
1141
|
+
switch (ct(
|
|
1139
1142
|
n,
|
|
1140
1143
|
u,
|
|
1141
1144
|
e.indent,
|
|
@@ -1145,23 +1148,23 @@ function ct(e, n, i, r, l) {
|
|
|
1145
1148
|
e.forceQuotes && !r,
|
|
1146
1149
|
l
|
|
1147
1150
|
)) {
|
|
1148
|
-
case
|
|
1151
|
+
case Ni:
|
|
1149
1152
|
return n;
|
|
1150
1153
|
case en:
|
|
1151
1154
|
return "'" + n.replace(/'/g, "''") + "'";
|
|
1152
|
-
case Ni:
|
|
1153
|
-
return "|" + Rn(n, e.indent) + $n(Nn(n, o));
|
|
1154
1155
|
case Mi:
|
|
1155
|
-
return "
|
|
1156
|
+
return "|" + Rn(n, e.indent) + $n(Nn(n, o));
|
|
1157
|
+
case Di:
|
|
1158
|
+
return ">" + Rn(n, e.indent) + $n(Nn(dt(n, t), o));
|
|
1156
1159
|
case se:
|
|
1157
|
-
return '"' +
|
|
1160
|
+
return '"' + pt(n) + '"';
|
|
1158
1161
|
default:
|
|
1159
1162
|
throw new $("impossible error: invalid scalar style");
|
|
1160
1163
|
}
|
|
1161
1164
|
})();
|
|
1162
1165
|
}
|
|
1163
1166
|
function Rn(e, n) {
|
|
1164
|
-
var i =
|
|
1167
|
+
var i = Li(e) ? String(n) : "", r = e[e.length - 1] === `
|
|
1165
1168
|
`, l = r && (e[e.length - 2] === `
|
|
1166
1169
|
` || e === `
|
|
1167
1170
|
`), o = l ? "+" : r ? "" : "-";
|
|
@@ -1172,7 +1175,7 @@ function $n(e) {
|
|
|
1172
1175
|
return e[e.length - 1] === `
|
|
1173
1176
|
` ? e.slice(0, -1) : e;
|
|
1174
1177
|
}
|
|
1175
|
-
function
|
|
1178
|
+
function dt(e, n) {
|
|
1176
1179
|
for (var i = /(\n+)([^\n]*)/g, r = (function() {
|
|
1177
1180
|
var s = e.indexOf(`
|
|
1178
1181
|
`);
|
|
@@ -1194,12 +1197,12 @@ function jn(e, n) {
|
|
|
1194
1197
|
`, e.length - l > n && t > l ? a += e.slice(l, t) + `
|
|
1195
1198
|
` + e.slice(t + 1) : a += e.slice(l), a.slice(1);
|
|
1196
1199
|
}
|
|
1197
|
-
function
|
|
1200
|
+
function pt(e) {
|
|
1198
1201
|
for (var n = "", i = 0, r, l = 0; l < e.length; i >= 65536 ? l += 2 : l++)
|
|
1199
|
-
i = he(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r ||
|
|
1202
|
+
i = he(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r || rt(i);
|
|
1200
1203
|
return n;
|
|
1201
1204
|
}
|
|
1202
|
-
function
|
|
1205
|
+
function mt(e, n, i) {
|
|
1203
1206
|
var r = "", l = e.tag, o, t, u;
|
|
1204
1207
|
for (o = 0, t = i.length; o < t; o += 1)
|
|
1205
1208
|
u = i[o], e.replacer && (u = e.replacer.call(i, String(o), u)), (W(e, n, u, !1, !1) || typeof u > "u" && W(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
@@ -1211,13 +1214,13 @@ function Un(e, n, i, r) {
|
|
|
1211
1214
|
a = i[t], e.replacer && (a = e.replacer.call(i, String(t), a)), (W(e, n + 1, a, !0, !0, !1, !0) || typeof a > "u" && W(e, n + 1, null, !0, !0, !1, !0)) && ((!r || l !== "") && (l += Xe(e, n)), e.dump && ge === e.dump.charCodeAt(0) ? l += "-" : l += "- ", l += e.dump);
|
|
1212
1215
|
e.tag = o, e.dump = l || "[]";
|
|
1213
1216
|
}
|
|
1214
|
-
function
|
|
1217
|
+
function ht(e, n, i) {
|
|
1215
1218
|
var r = "", l = e.tag, o = Object.keys(i), t, u, a, s, m;
|
|
1216
1219
|
for (t = 0, u = o.length; t < u; t += 1)
|
|
1217
1220
|
m = "", r !== "" && (m += ", "), e.condenseFlow && (m += '"'), a = o[t], s = i[a], e.replacer && (s = e.replacer.call(i, a, s)), W(e, n, a, !1, !1) && (e.dump.length > 1024 && (m += "? "), m += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), W(e, n, s, !1, !1) && (m += e.dump, r += m));
|
|
1218
1221
|
e.tag = l, e.dump = "{" + r + "}";
|
|
1219
1222
|
}
|
|
1220
|
-
function
|
|
1223
|
+
function vt(e, n, i, r) {
|
|
1221
1224
|
var l = "", o = e.tag, t = Object.keys(i), u, a, s, m, d, y;
|
|
1222
1225
|
if (e.sortKeys === !0)
|
|
1223
1226
|
t.sort();
|
|
@@ -1234,9 +1237,9 @@ function Bn(e, n, i) {
|
|
|
1234
1237
|
for (l = i ? e.explicitTypes : e.implicitTypes, o = 0, t = l.length; o < t; o += 1)
|
|
1235
1238
|
if (u = l[o], (u.instanceOf || u.predicate) && (!u.instanceOf || typeof n == "object" && n instanceof u.instanceOf) && (!u.predicate || u.predicate(n))) {
|
|
1236
1239
|
if (i ? u.multi && u.representName ? e.tag = u.representName(n) : e.tag = u.tag : e.tag = "?", u.represent) {
|
|
1237
|
-
if (a = e.styleMap[u.tag] || u.defaultStyle,
|
|
1240
|
+
if (a = e.styleMap[u.tag] || u.defaultStyle, Ci.call(u.represent) === "[object Function]")
|
|
1238
1241
|
r = u.represent(n, a);
|
|
1239
|
-
else if (
|
|
1242
|
+
else if (Si.call(u.represent, a))
|
|
1240
1243
|
r = u.represent[a](n, a);
|
|
1241
1244
|
else
|
|
1242
1245
|
throw new $("!<" + u.tag + '> tag resolver accepts not "' + a + '" style');
|
|
@@ -1248,18 +1251,18 @@ function Bn(e, n, i) {
|
|
|
1248
1251
|
}
|
|
1249
1252
|
function W(e, n, i, r, l, o, t) {
|
|
1250
1253
|
e.tag = null, e.dump = i, Bn(e, i, !1) || Bn(e, i, !0);
|
|
1251
|
-
var u =
|
|
1254
|
+
var u = Ci.call(e.dump), a = r, s;
|
|
1252
1255
|
r && (r = e.flowLevel < 0 || e.flowLevel > n);
|
|
1253
1256
|
var m = u === "[object Object]" || u === "[object Array]", d, y;
|
|
1254
1257
|
if (m && (d = e.duplicates.indexOf(i), y = d !== -1), (e.tag !== null && e.tag !== "?" || y || e.indent !== 2 && n > 0) && (l = !1), y && e.usedDuplicates[d])
|
|
1255
1258
|
e.dump = "*ref_" + d;
|
|
1256
1259
|
else {
|
|
1257
1260
|
if (m && y && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), u === "[object Object]")
|
|
1258
|
-
r && Object.keys(e.dump).length !== 0 ? (
|
|
1261
|
+
r && Object.keys(e.dump).length !== 0 ? (vt(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (ht(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1259
1262
|
else if (u === "[object Array]")
|
|
1260
|
-
r && e.dump.length !== 0 ? (e.noArrayIndent && !t && n > 0 ? Un(e, n - 1, e.dump, l) : Un(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (
|
|
1263
|
+
r && e.dump.length !== 0 ? (e.noArrayIndent && !t && n > 0 ? Un(e, n - 1, e.dump, l) : Un(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (mt(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1261
1264
|
else if (u === "[object String]")
|
|
1262
|
-
e.tag !== "?" &&
|
|
1265
|
+
e.tag !== "?" && ft(e, e.dump, n, o, a);
|
|
1263
1266
|
else {
|
|
1264
1267
|
if (u === "[object Undefined]")
|
|
1265
1268
|
return !1;
|
|
@@ -1272,7 +1275,7 @@ function W(e, n, i, r, l, o, t) {
|
|
|
1272
1275
|
}
|
|
1273
1276
|
return !0;
|
|
1274
1277
|
}
|
|
1275
|
-
function
|
|
1278
|
+
function xt(e, n) {
|
|
1276
1279
|
var i = [], r = [], l, o;
|
|
1277
1280
|
for (nn(e, i, r), l = 0, o = r.length; l < o; l += 1)
|
|
1278
1281
|
n.duplicates.push(i[r[l]]);
|
|
@@ -1290,23 +1293,23 @@ function nn(e, n, i) {
|
|
|
1290
1293
|
for (r = Object.keys(e), l = 0, o = r.length; l < o; l += 1)
|
|
1291
1294
|
nn(e[r[l]], n, i);
|
|
1292
1295
|
}
|
|
1293
|
-
function
|
|
1296
|
+
function yt(e, n) {
|
|
1294
1297
|
n = n || {};
|
|
1295
|
-
var i = new
|
|
1296
|
-
i.noRefs ||
|
|
1298
|
+
var i = new ot(n);
|
|
1299
|
+
i.noRefs || xt(e, i);
|
|
1297
1300
|
var r = e;
|
|
1298
1301
|
return i.replacer && (r = i.replacer.call({ "": r }, "", r)), W(i, 0, r, !0, !0) ? i.dump + `
|
|
1299
1302
|
` : "";
|
|
1300
1303
|
}
|
|
1301
|
-
var
|
|
1302
|
-
dump:
|
|
1304
|
+
var gt = yt, bt = {
|
|
1305
|
+
dump: gt
|
|
1303
1306
|
};
|
|
1304
1307
|
function cn(e, n) {
|
|
1305
1308
|
return function() {
|
|
1306
1309
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
|
|
1307
1310
|
};
|
|
1308
1311
|
}
|
|
1309
|
-
var
|
|
1312
|
+
var _t = N, wt = Wn, At = ei, kt = ti, Ct = oi, St = on, Ri = ki.load, Et = ki.loadAll, $i = bt.dump, Ft = $, Tt = {
|
|
1310
1313
|
binary: fi,
|
|
1311
1314
|
float: ri,
|
|
1312
1315
|
map: Xn,
|
|
@@ -1320,23 +1323,23 @@ var bt = N, _t = Wn, wt = ei, At = ti, kt = oi, Ct = on, Di = Ai.load, St = Ai.l
|
|
|
1320
1323
|
omap: di,
|
|
1321
1324
|
seq: Zn,
|
|
1322
1325
|
str: Jn
|
|
1323
|
-
},
|
|
1324
|
-
Type:
|
|
1325
|
-
Schema:
|
|
1326
|
-
FAILSAFE_SCHEMA:
|
|
1327
|
-
JSON_SCHEMA:
|
|
1328
|
-
CORE_SCHEMA:
|
|
1329
|
-
DEFAULT_SCHEMA:
|
|
1330
|
-
load:
|
|
1331
|
-
loadAll:
|
|
1332
|
-
dump:
|
|
1333
|
-
YAMLException:
|
|
1334
|
-
types:
|
|
1335
|
-
safeLoad:
|
|
1336
|
-
safeLoadAll:
|
|
1337
|
-
safeDump:
|
|
1326
|
+
}, It = cn("safeLoad", "load"), Ot = cn("safeLoadAll", "loadAll"), Lt = cn("safeDump", "dump"), Yn = {
|
|
1327
|
+
Type: _t,
|
|
1328
|
+
Schema: wt,
|
|
1329
|
+
FAILSAFE_SCHEMA: At,
|
|
1330
|
+
JSON_SCHEMA: kt,
|
|
1331
|
+
CORE_SCHEMA: Ct,
|
|
1332
|
+
DEFAULT_SCHEMA: St,
|
|
1333
|
+
load: Ri,
|
|
1334
|
+
loadAll: Et,
|
|
1335
|
+
dump: $i,
|
|
1336
|
+
YAMLException: Ft,
|
|
1337
|
+
types: Tt,
|
|
1338
|
+
safeLoad: It,
|
|
1339
|
+
safeLoadAll: Ot,
|
|
1340
|
+
safeDump: Lt
|
|
1338
1341
|
};
|
|
1339
|
-
const
|
|
1342
|
+
const Nt = {}, Mt = {
|
|
1340
1343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1341
1344
|
width: "24",
|
|
1342
1345
|
height: "24",
|
|
@@ -1348,14 +1351,14 @@ const Lt = {}, Nt = {
|
|
|
1348
1351
|
"stroke-linejoin": "round",
|
|
1349
1352
|
class: "lucide lucide-layers"
|
|
1350
1353
|
};
|
|
1351
|
-
function
|
|
1352
|
-
return C(), D("svg",
|
|
1354
|
+
function Dt(e, n) {
|
|
1355
|
+
return C(), D("svg", Mt, [...n[0] || (n[0] = [
|
|
1353
1356
|
v("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }, null, -1),
|
|
1354
1357
|
v("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }, null, -1),
|
|
1355
1358
|
v("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" }, null, -1)
|
|
1356
1359
|
])]);
|
|
1357
1360
|
}
|
|
1358
|
-
const
|
|
1361
|
+
const Rt = /* @__PURE__ */ Re(Nt, [["render", Dt]]), $t = {}, jt = {
|
|
1359
1362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1360
1363
|
width: "24",
|
|
1361
1364
|
height: "24",
|
|
@@ -1367,14 +1370,14 @@ const Dt = /* @__PURE__ */ Re(Lt, [["render", Mt]]), Rt = {}, $t = {
|
|
|
1367
1370
|
"stroke-linejoin": "round",
|
|
1368
1371
|
class: "lucide lucide-map"
|
|
1369
1372
|
};
|
|
1370
|
-
function
|
|
1371
|
-
return C(), D("svg",
|
|
1373
|
+
function Ut(e, n) {
|
|
1374
|
+
return C(), D("svg", jt, [...n[0] || (n[0] = [
|
|
1372
1375
|
v("path", { d: "M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z" }, null, -1),
|
|
1373
1376
|
v("path", { d: "M15 5.764v15" }, null, -1),
|
|
1374
1377
|
v("path", { d: "M9 3.236v15" }, null, -1)
|
|
1375
1378
|
])]);
|
|
1376
1379
|
}
|
|
1377
|
-
const
|
|
1380
|
+
const Bt = /* @__PURE__ */ Re($t, [["render", Ut]]), Yt = {}, Pt = {
|
|
1378
1381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1379
1382
|
width: "24",
|
|
1380
1383
|
height: "24",
|
|
@@ -1386,12 +1389,12 @@ const Ut = /* @__PURE__ */ Re(Rt, [["render", jt]]), Bt = {}, Yt = {
|
|
|
1386
1389
|
"stroke-linejoin": "round",
|
|
1387
1390
|
class: "lucide lucide-filter"
|
|
1388
1391
|
};
|
|
1389
|
-
function
|
|
1390
|
-
return C(), D("svg",
|
|
1392
|
+
function Ht(e, n) {
|
|
1393
|
+
return C(), D("svg", Pt, [...n[0] || (n[0] = [
|
|
1391
1394
|
v("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1)
|
|
1392
1395
|
])]);
|
|
1393
1396
|
}
|
|
1394
|
-
const
|
|
1397
|
+
const Vt = /* @__PURE__ */ Re(Yt, [["render", Ht]]), qt = { class: "flex flex-col flex-1 overflow-hidden" }, Kt = { class: "flex justify-end gap-2" }, zt = ["href"], Gt = { class: "flex flex-col flex-1 overflow-hidden" }, Qt = { class: "bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden mt-3 flex flex-col flex-1" }, Wt = { class: "relative bg-gradient-to-br from-slate-50 to-white flex-1" }, Jt = /* @__PURE__ */ ee({
|
|
1395
1398
|
__name: "vs-tab-style",
|
|
1396
1399
|
props: {
|
|
1397
1400
|
token: {},
|
|
@@ -1413,7 +1416,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1413
1416
|
const s = a ?? "";
|
|
1414
1417
|
i.styleText !== s && r("update:style-text", s);
|
|
1415
1418
|
try {
|
|
1416
|
-
const y = a ?
|
|
1419
|
+
const y = a ? Ri(a) : null;
|
|
1417
1420
|
if ((m = y == null ? void 0 : y.colorAttr) != null && m.length && ((d = i.styleYaml) == null ? void 0 : d.colorAttr) !== y.colorAttr) {
|
|
1418
1421
|
const b = await o(y.colorAttr);
|
|
1419
1422
|
y.colors = b.reduce(
|
|
@@ -1423,7 +1426,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1423
1426
|
}),
|
|
1424
1427
|
{}
|
|
1425
1428
|
);
|
|
1426
|
-
const p =
|
|
1429
|
+
const p = $i(y);
|
|
1427
1430
|
p !== l.value && (l.value = p);
|
|
1428
1431
|
}
|
|
1429
1432
|
JSON.stringify(y) !== JSON.stringify(i.styleYaml) && r(
|
|
@@ -1466,13 +1469,13 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1466
1469
|
}), console.log(s);
|
|
1467
1470
|
}
|
|
1468
1471
|
};
|
|
1469
|
-
return (a, s) => (C(), D("div",
|
|
1470
|
-
v("div",
|
|
1472
|
+
return (a, s) => (C(), D("div", qt, [
|
|
1473
|
+
v("div", Kt, [
|
|
1471
1474
|
v("a", {
|
|
1472
1475
|
target: "_blank",
|
|
1473
1476
|
href: "/api/gis-service/" + i.token + "/col",
|
|
1474
1477
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
|
|
1475
|
-
}, " Атрибути ", 8,
|
|
1478
|
+
}, " Атрибути ", 8, zt),
|
|
1476
1479
|
v("button", {
|
|
1477
1480
|
onClick: u,
|
|
1478
1481
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
|
|
@@ -1493,15 +1496,15 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1493
1496
|
v("path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" }),
|
|
1494
1497
|
v("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" })
|
|
1495
1498
|
], -1),
|
|
1496
|
-
|
|
1499
|
+
Gi(" Зберегти стилі ", -1)
|
|
1497
1500
|
])])
|
|
1498
1501
|
]),
|
|
1499
|
-
v("div",
|
|
1500
|
-
v("div",
|
|
1502
|
+
v("div", Gt, [
|
|
1503
|
+
v("div", Qt, [
|
|
1501
1504
|
s[2] || (s[2] = v("div", { class: "bg-gradient-to-r from-gray-50 to-gray-100 px-4 py-2 border-b border-gray-200 flex items-center justify-between" }, [
|
|
1502
1505
|
v("div", { class: "text-xs text-gray-400" }, "YAML")
|
|
1503
1506
|
], -1)),
|
|
1504
|
-
v("div",
|
|
1507
|
+
v("div", Wt, [
|
|
1505
1508
|
j(zn, {
|
|
1506
1509
|
modelValue: l.value,
|
|
1507
1510
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
|
|
@@ -1513,7 +1516,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1513
1516
|
])
|
|
1514
1517
|
]));
|
|
1515
1518
|
}
|
|
1516
|
-
}),
|
|
1519
|
+
}), Zt = { class: "flex flex-col flex-1 min-h-0" }, Xt = { class: "flex flex-col flex-1 min-h-0" }, eo = /* @__PURE__ */ ee({
|
|
1517
1520
|
__name: "vs-tab-popup",
|
|
1518
1521
|
props: {
|
|
1519
1522
|
token: {},
|
|
@@ -1575,7 +1578,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1575
1578
|
let p = [];
|
|
1576
1579
|
o.value === "all" ? p = i.fields || [] : o.value === "none" ? p = [] : p = l.value, p.filter((h) => !h.label).forEach((h) => h.label = h.ua), r("save", p);
|
|
1577
1580
|
}
|
|
1578
|
-
return (p, h) => (C(), D("div",
|
|
1581
|
+
return (p, h) => (C(), D("div", Zt, [
|
|
1579
1582
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
1580
1583
|
v("button", {
|
|
1581
1584
|
onClick: m,
|
|
@@ -1586,7 +1589,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1586
1589
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
|
|
1587
1590
|
}, " Зберегти попап ")
|
|
1588
1591
|
]),
|
|
1589
|
-
v("div",
|
|
1592
|
+
v("div", Xt, [
|
|
1590
1593
|
o.value === "list" ? (C(), M($e, {
|
|
1591
1594
|
key: 0,
|
|
1592
1595
|
modelValue: l.value,
|
|
@@ -1610,7 +1613,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1610
1613
|
}, null, 8, ["visible", "selection", "fields"])
|
|
1611
1614
|
]));
|
|
1612
1615
|
}
|
|
1613
|
-
}),
|
|
1616
|
+
}), no = { class: "flex flex-col flex-1 min-h-0" }, io = { class: "flex justify-between mb-3 gap-2" }, lo = { class: "p-4 space-y-4 text-sm" }, ro = { class: "space-y-1" }, to = { class: "space-y-1" }, oo = { class: "flex items-center gap-3" }, uo = { class: "flex justify-end gap-2 p-4 border-t" }, ao = /* @__PURE__ */ ee({
|
|
1614
1617
|
__name: "vs-tab-legend",
|
|
1615
1618
|
props: {
|
|
1616
1619
|
mapInfo: {},
|
|
@@ -1631,7 +1634,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1631
1634
|
const o = S(!1), t = S({
|
|
1632
1635
|
name: "",
|
|
1633
1636
|
color: "#2E86DE"
|
|
1634
|
-
}), u =
|
|
1637
|
+
}), u = Qi(
|
|
1635
1638
|
() => import("@opengis/core").then((p) => p.VsModal)
|
|
1636
1639
|
), a = [
|
|
1637
1640
|
{ key: "name", label: "Назва" },
|
|
@@ -1673,8 +1676,8 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1673
1676
|
function b() {
|
|
1674
1677
|
r("save", l.value);
|
|
1675
1678
|
}
|
|
1676
|
-
return (p, h) => (C(), D("div",
|
|
1677
|
-
v("div",
|
|
1679
|
+
return (p, h) => (C(), D("div", no, [
|
|
1680
|
+
v("div", io, [
|
|
1678
1681
|
v("button", {
|
|
1679
1682
|
onClick: h[0] || (h[0] = (x) => o.value = !0),
|
|
1680
1683
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
|
|
@@ -1699,7 +1702,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1699
1702
|
"onUpdate:visible": m
|
|
1700
1703
|
}, {
|
|
1701
1704
|
footer: We(() => [
|
|
1702
|
-
v("div",
|
|
1705
|
+
v("div", uo, [
|
|
1703
1706
|
v("button", {
|
|
1704
1707
|
type: "button",
|
|
1705
1708
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed",
|
|
@@ -1713,8 +1716,8 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1713
1716
|
])
|
|
1714
1717
|
]),
|
|
1715
1718
|
default: We(() => [
|
|
1716
|
-
v("div",
|
|
1717
|
-
v("div",
|
|
1719
|
+
v("div", lo, [
|
|
1720
|
+
v("div", ro, [
|
|
1718
1721
|
h[6] || (h[6] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Назва ", -1)),
|
|
1719
1722
|
qe(v("input", {
|
|
1720
1723
|
"onUpdate:modelValue": h[2] || (h[2] = (x) => t.value.name = x),
|
|
@@ -1725,9 +1728,9 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1725
1728
|
[Ke, t.value.name]
|
|
1726
1729
|
])
|
|
1727
1730
|
]),
|
|
1728
|
-
v("div",
|
|
1731
|
+
v("div", to, [
|
|
1729
1732
|
h[7] || (h[7] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Колір ", -1)),
|
|
1730
|
-
v("div",
|
|
1733
|
+
v("div", oo, [
|
|
1731
1734
|
qe(v("input", {
|
|
1732
1735
|
"onUpdate:modelValue": h[3] || (h[3] = (x) => t.value.color = x),
|
|
1733
1736
|
type: "color",
|
|
@@ -1751,7 +1754,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1751
1754
|
}, 8, ["visible"])
|
|
1752
1755
|
]));
|
|
1753
1756
|
}
|
|
1754
|
-
}),
|
|
1757
|
+
}), so = { class: "space-y-3 bg-gradient-to-br from-sky-50 to-blue-50 p-4 rounded-xl border border-sky-100 shadow-sm" }, co = ["onClick"], fo = ["aria-checked", "value"], po = { key: 0 }, mo = /* @__PURE__ */ ee({
|
|
1755
1758
|
__name: "view-mode-toggle",
|
|
1756
1759
|
props: {
|
|
1757
1760
|
modelValue: {},
|
|
@@ -1765,7 +1768,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1765
1768
|
{ value: "list", label: "List" },
|
|
1766
1769
|
{ value: "none", label: "None" }
|
|
1767
1770
|
];
|
|
1768
|
-
return (t, u) => (C(), D("div",
|
|
1771
|
+
return (t, u) => (C(), D("div", so, [
|
|
1769
1772
|
u[1] || (u[1] = v("label", { class: "text-sm font-medium text-gray-600" }, "Режим відображення", -1)),
|
|
1770
1773
|
v("div", {
|
|
1771
1774
|
role: "radiogroup",
|
|
@@ -1785,7 +1788,7 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1785
1788
|
value: a.value,
|
|
1786
1789
|
class: "aspect-square rounded-full border border-primary h-4 w-4 flex items-center justify-center text-sky-500"
|
|
1787
1790
|
}, [
|
|
1788
|
-
e.modelValue === a.value ? (C(), D("span",
|
|
1791
|
+
e.modelValue === a.value ? (C(), D("span", po, [...u[0] || (u[0] = [
|
|
1789
1792
|
v("svg", {
|
|
1790
1793
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1791
1794
|
viewBox: "0 0 24 24",
|
|
@@ -1803,15 +1806,15 @@ const Ht = /* @__PURE__ */ Re(Bt, [["render", Pt]]), Vt = { class: "flex flex-co
|
|
|
1803
1806
|
})
|
|
1804
1807
|
], -1)
|
|
1805
1808
|
])])) : q("", !0)
|
|
1806
|
-
], 8,
|
|
1809
|
+
], 8, fo),
|
|
1807
1810
|
v("label", {
|
|
1808
1811
|
class: ve(["text-xs font-medium cursor-pointer", e.modelValue === a.value ? "text-gray-700" : "text-gray-600"])
|
|
1809
1812
|
}, le(a.label), 3)
|
|
1810
|
-
], 10,
|
|
1813
|
+
], 10, co))), 128))
|
|
1811
1814
|
], 2)
|
|
1812
1815
|
]));
|
|
1813
1816
|
}
|
|
1814
|
-
}),
|
|
1817
|
+
}), ho = { class: "flex flex-col flex-1 min-h-0" }, vo = { class: "flex flex-col flex-1 min-h-0" }, xo = /* @__PURE__ */ ee({
|
|
1815
1818
|
__name: "vs-tab-card",
|
|
1816
1819
|
props: {
|
|
1817
1820
|
fields: {},
|
|
@@ -1933,7 +1936,7 @@ ${V}` : V;
|
|
|
1933
1936
|
{ value: "none", label: "Жодне" },
|
|
1934
1937
|
{ value: "html", label: "HTML" }
|
|
1935
1938
|
];
|
|
1936
|
-
return (x, w) => (C(), D("div",
|
|
1939
|
+
return (x, w) => (C(), D("div", ho, [
|
|
1937
1940
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
1938
1941
|
v("button", {
|
|
1939
1942
|
onClick: d,
|
|
@@ -1944,12 +1947,12 @@ ${V}` : V;
|
|
|
1944
1947
|
class: "inline-flex items-center justify-center gap-1 px-3 py-1.5 rounded-md bg-sky-100 hover:bg-sky-200 text-sky-700 font-medium text-sm transition disabled:opacity-70 disabled:cursor-not-allowed"
|
|
1945
1948
|
}, " Зберегти ")
|
|
1946
1949
|
]),
|
|
1947
|
-
j(
|
|
1950
|
+
j(mo, {
|
|
1948
1951
|
modelValue: o.value,
|
|
1949
1952
|
"onUpdate:modelValue": w[0] || (w[0] = (g) => o.value = g),
|
|
1950
1953
|
options: h
|
|
1951
1954
|
}, null, 8, ["modelValue"]),
|
|
1952
|
-
v("div",
|
|
1955
|
+
v("div", vo, [
|
|
1953
1956
|
o.value === "list" ? (C(), M($e, {
|
|
1954
1957
|
key: 0,
|
|
1955
1958
|
modelValue: l.value,
|
|
@@ -1980,7 +1983,7 @@ ${V}` : V;
|
|
|
1980
1983
|
}, null, 8, ["visible", "selection", "fields"])
|
|
1981
1984
|
]));
|
|
1982
1985
|
}
|
|
1983
|
-
}),
|
|
1986
|
+
}), yo = { class: "flex flex-col flex-1 min-h-0" }, go = /* @__PURE__ */ ee({
|
|
1984
1987
|
__name: "vs-tab-filter",
|
|
1985
1988
|
props: {
|
|
1986
1989
|
fields: {},
|
|
@@ -2046,7 +2049,7 @@ ${V}` : V;
|
|
|
2046
2049
|
let p = [];
|
|
2047
2050
|
o.value === "all" ? p = i.fields || [] : o.value === "none" ? p = [] : p = l.value, r("save", p);
|
|
2048
2051
|
}
|
|
2049
|
-
return (p, h) => (C(), D("div",
|
|
2052
|
+
return (p, h) => (C(), D("div", yo, [
|
|
2050
2053
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
2051
2054
|
v("button", {
|
|
2052
2055
|
onClick: m,
|
|
@@ -2079,7 +2082,7 @@ ${V}` : V;
|
|
|
2079
2082
|
}, null, 8, ["visible", "selection", "fields"])
|
|
2080
2083
|
]));
|
|
2081
2084
|
}
|
|
2082
|
-
}),
|
|
2085
|
+
}), bo = /* @__PURE__ */ ee({
|
|
2083
2086
|
__name: "MapDataLayer",
|
|
2084
2087
|
props: {
|
|
2085
2088
|
id: {},
|
|
@@ -2089,7 +2092,7 @@ ${V}` : V;
|
|
|
2089
2092
|
},
|
|
2090
2093
|
setup(e, { expose: n }) {
|
|
2091
2094
|
var p, h, x, w;
|
|
2092
|
-
const { map: i, flyTo: r, setZoom: l } =
|
|
2095
|
+
const { map: i, flyTo: r, setZoom: l } = nl(), o = ((h = (p = qn()) == null ? void 0 : p.appContext.config.globalProperties) == null ? void 0 : h.$settings) || null, t = e, u = t.id;
|
|
2093
2096
|
String(t.id);
|
|
2094
2097
|
const a = `${location.origin}/api/vtile/${t.id}/ua/{z}/{x}/{y}.vmt?all=1`, s = Ie(u, {
|
|
2095
2098
|
source: {
|
|
@@ -2129,19 +2132,19 @@ ${V}` : V;
|
|
|
2129
2132
|
s.remove();
|
|
2130
2133
|
}), (g, K) => null;
|
|
2131
2134
|
}
|
|
2132
|
-
}),
|
|
2135
|
+
}), _o = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, wo = { class: "flex-1 relative overflow-hidden" }, Ao = { class: "absolute top-0 left-0 w-full z-20" }, ko = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, Co = { class: "flex items-start justify-between gap-4" }, So = { class: "flex-1 min-w-0" }, Eo = { class: "flex items-center text-sm text-gray-500 mb-3" }, Fo = { class: "text-gray-900 font-medium truncate max-w-xs" }, To = { class: "flex items-center justify-between gap-4" }, Io = { class: "flex-1 min-w-0" }, Oo = { class: "flex items-center gap-3 mb-1" }, Lo = { class: "text-base font-semibold text-gray-900 truncate" }, No = {
|
|
2133
2136
|
key: 0,
|
|
2134
2137
|
class: "px-2 py-0.5 bg-green-50 border border-green-200 rounded flex-shrink-0"
|
|
2135
|
-
},
|
|
2138
|
+
}, Mo = { class: "text-xs font-medium text-green-700" }, Do = ["title"], Ro = { class: "w-full h-full bg-gradient-to-br from-sky-50 via-white to-blue-50 flex items-center justify-center relative pt-[115px]" }, $o = { class: "relative w-full h-full" }, jo = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, Uo = { class: "absolute top-4 left-4 z-20" }, Bo = { class: "absolute top-[6.5rem] right-2 space-y-1 z-20" }, Yo = { class: "absolute bottom-4 left-4 z-20" }, Po = { class: "flex-1 flex flex-col h-full" }, Ho = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, Vo = { class: "items-center justify-center text-muted-foreground grid w-full grid-cols-6 h-12 p-1 bg-gray-50 rounded-xl shadow-sm" }, qo = ["aria-selected", "onClick"], Ko = { class: "leading-none" }, zo = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, Go = "OpenGIS", Pn = 2, Fe = 5, Qo = 1e3, Wo = /* @__PURE__ */ ee({
|
|
2136
2139
|
__name: "service",
|
|
2137
2140
|
props: {
|
|
2138
2141
|
hideServiceKey: { type: Boolean, default: !1 }
|
|
2139
2142
|
},
|
|
2140
2143
|
setup(e) {
|
|
2141
2144
|
var vn, xn;
|
|
2142
|
-
const i =
|
|
2145
|
+
const i = Wi(e, "hideServiceKey"), r = Xi(), l = el(), { id: o } = r.params, t = S(null), u = S(null), a = S({}), s = S(null), m = ((xn = (vn = qn()) == null ? void 0 : vn.appContext.config.globalProperties) == null ? void 0 : xn.$settings) || null;
|
|
2143
2146
|
function d(c) {
|
|
2144
|
-
typeof document > "u" || (document.title = c ? `${c} — Сервіс` :
|
|
2147
|
+
typeof document > "u" || (document.title = c ? `${c} — Сервіс` : Go);
|
|
2145
2148
|
}
|
|
2146
2149
|
let y = null;
|
|
2147
2150
|
const b = S(!1);
|
|
@@ -2151,7 +2154,7 @@ ${V}` : V;
|
|
|
2151
2154
|
}
|
|
2152
2155
|
function h(c) {
|
|
2153
2156
|
typeof window > "u" || window.dispatchEvent(
|
|
2154
|
-
new CustomEvent(
|
|
2157
|
+
new CustomEvent(sl, {
|
|
2155
2158
|
detail: c
|
|
2156
2159
|
})
|
|
2157
2160
|
);
|
|
@@ -2235,31 +2238,31 @@ ${V}` : V;
|
|
|
2235
2238
|
}), dn = ue(() => {
|
|
2236
2239
|
const c = s.value, f = (c == null ? void 0 : c.group_name) || (c == null ? void 0 : c.group_id);
|
|
2237
2240
|
return f ? String(f).toUpperCase() : "";
|
|
2238
|
-
}),
|
|
2241
|
+
}), ji = ue(() => {
|
|
2239
2242
|
var A;
|
|
2240
2243
|
const c = (A = r.matched[r.matched.length - 1]) == null ? void 0 : A.path;
|
|
2241
2244
|
return (typeof c == "string" && c ? c : r.path).replace(/\/:id\??$/, "") || "/";
|
|
2242
|
-
}),
|
|
2245
|
+
}), Ui = ue(() => {
|
|
2243
2246
|
var f;
|
|
2244
2247
|
const c = (f = r.meta) == null ? void 0 : f.title;
|
|
2245
2248
|
return typeof c == "string" && c.trim() ? c : "Datasets";
|
|
2246
2249
|
});
|
|
2247
|
-
function
|
|
2248
|
-
l.push(
|
|
2250
|
+
function Bi() {
|
|
2251
|
+
l.push(ji.value);
|
|
2249
2252
|
}
|
|
2250
2253
|
const pn = [
|
|
2251
|
-
{ key: "style", label: "Стиль", icon:
|
|
2252
|
-
{ key: "popup", label: "Попап", icon:
|
|
2253
|
-
{ key: "filter", label: "Фільтр", icon:
|
|
2254
|
-
{ key: "legend", label: "Легенда", icon:
|
|
2255
|
-
{ key: "card", label: "Картка", icon:
|
|
2256
|
-
{ key: "metadata", label: "Метадані", icon:
|
|
2254
|
+
{ key: "style", label: "Стиль", icon: ml },
|
|
2255
|
+
{ key: "popup", label: "Попап", icon: Bt },
|
|
2256
|
+
{ key: "filter", label: "Фільтр", icon: Vt },
|
|
2257
|
+
{ key: "legend", label: "Легенда", icon: Rt },
|
|
2258
|
+
{ key: "card", label: "Картка", icon: hl },
|
|
2259
|
+
{ key: "metadata", label: "Метадані", icon: pl }
|
|
2257
2260
|
], mn = pn.map((c) => c.key), P = S("style");
|
|
2258
|
-
|
|
2261
|
+
Ji(async () => {
|
|
2259
2262
|
const c = r.query.tab;
|
|
2260
|
-
c && mn.includes(c) && (P.value = c), await Ce(),
|
|
2263
|
+
c && mn.includes(c) && (P.value = c), await Ce(), Yi();
|
|
2261
2264
|
});
|
|
2262
|
-
async function
|
|
2265
|
+
async function Yi() {
|
|
2263
2266
|
var E;
|
|
2264
2267
|
const c = p();
|
|
2265
2268
|
if (!(c != null && c.ready)) return;
|
|
@@ -2309,26 +2312,26 @@ ${V}` : V;
|
|
|
2309
2312
|
}
|
|
2310
2313
|
return Cn(He(c));
|
|
2311
2314
|
}
|
|
2312
|
-
function
|
|
2315
|
+
function Pi(c, f) {
|
|
2313
2316
|
try {
|
|
2314
2317
|
return JSON.stringify(c) === JSON.stringify(f);
|
|
2315
2318
|
} catch {
|
|
2316
2319
|
return !1;
|
|
2317
2320
|
}
|
|
2318
2321
|
}
|
|
2319
|
-
function
|
|
2322
|
+
function Hi() {
|
|
2320
2323
|
var f;
|
|
2321
2324
|
if (!s.value) return;
|
|
2322
2325
|
const c = Ve(B.value);
|
|
2323
|
-
|
|
2326
|
+
Pi(c, ((f = s.value) == null ? void 0 : f.style) ?? null) || (s.value = {
|
|
2324
2327
|
...s.value,
|
|
2325
2328
|
style: c
|
|
2326
2329
|
});
|
|
2327
2330
|
}
|
|
2328
|
-
function
|
|
2331
|
+
function Vi() {
|
|
2329
2332
|
ne && clearTimeout(ne), ne = setTimeout(() => {
|
|
2330
|
-
ne = null,
|
|
2331
|
-
},
|
|
2333
|
+
ne = null, Hi();
|
|
2334
|
+
}, Qo);
|
|
2332
2335
|
}
|
|
2333
2336
|
const Ce = async () => {
|
|
2334
2337
|
try {
|
|
@@ -2354,13 +2357,13 @@ ${V}` : V;
|
|
|
2354
2357
|
), I(
|
|
2355
2358
|
() => B.value,
|
|
2356
2359
|
() => {
|
|
2357
|
-
|
|
2360
|
+
Vi();
|
|
2358
2361
|
},
|
|
2359
2362
|
{ deep: !0 }
|
|
2360
2363
|
), Kn(() => {
|
|
2361
2364
|
ne && (clearTimeout(ne), ne = null), y == null || y(), y = null;
|
|
2362
2365
|
});
|
|
2363
|
-
async function
|
|
2366
|
+
async function qi(c) {
|
|
2364
2367
|
try {
|
|
2365
2368
|
const f = await fetch(`/api/gis-clear-vtile/${c}`), { message: A, error: E, code: L } = await f.json();
|
|
2366
2369
|
if (L === 200)
|
|
@@ -2377,7 +2380,7 @@ ${V}` : V;
|
|
|
2377
2380
|
async function Se(c, f) {
|
|
2378
2381
|
await hn({ [c]: f }, c);
|
|
2379
2382
|
}
|
|
2380
|
-
function
|
|
2383
|
+
function Ki() {
|
|
2381
2384
|
const c = He(B.value);
|
|
2382
2385
|
s.value = s.value ? { ...s.value, style: c } : s.value;
|
|
2383
2386
|
}
|
|
@@ -2408,7 +2411,7 @@ ${V}` : V;
|
|
|
2408
2411
|
}), console.error(A);
|
|
2409
2412
|
}
|
|
2410
2413
|
}
|
|
2411
|
-
async function
|
|
2414
|
+
async function zi(c, f) {
|
|
2412
2415
|
if (c !== "card") {
|
|
2413
2416
|
await Se(c, f);
|
|
2414
2417
|
return;
|
|
@@ -2422,18 +2425,18 @@ ${V}` : V;
|
|
|
2422
2425
|
}
|
|
2423
2426
|
return (c, f) => {
|
|
2424
2427
|
var A, E, L;
|
|
2425
|
-
return C(), D("div",
|
|
2426
|
-
v("div",
|
|
2427
|
-
v("div",
|
|
2428
|
-
v("div",
|
|
2429
|
-
v("div",
|
|
2430
|
-
v("div",
|
|
2431
|
-
v("div",
|
|
2428
|
+
return C(), D("div", _o, [
|
|
2429
|
+
v("div", wo, [
|
|
2430
|
+
v("div", Ao, [
|
|
2431
|
+
v("div", ko, [
|
|
2432
|
+
v("div", Co, [
|
|
2433
|
+
v("div", So, [
|
|
2434
|
+
v("div", Eo, [
|
|
2432
2435
|
v("button", {
|
|
2433
2436
|
type: "button",
|
|
2434
2437
|
class: "hover:text-gray-700 cursor-pointer transition-colors",
|
|
2435
|
-
onClick:
|
|
2436
|
-
}, le(
|
|
2438
|
+
onClick: Bi
|
|
2439
|
+
}, le(Ui.value), 1),
|
|
2437
2440
|
f[10] || (f[10] = v("svg", {
|
|
2438
2441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2439
2442
|
width: "24",
|
|
@@ -2448,25 +2451,25 @@ ${V}` : V;
|
|
|
2448
2451
|
}, [
|
|
2449
2452
|
v("path", { d: "m9 18 6-6-6-6" })
|
|
2450
2453
|
], -1)),
|
|
2451
|
-
v("span",
|
|
2454
|
+
v("span", Fo, le(((A = s.value) == null ? void 0 : A.name) || "Dataset"), 1)
|
|
2452
2455
|
]),
|
|
2453
|
-
v("div",
|
|
2454
|
-
v("div",
|
|
2455
|
-
v("div",
|
|
2456
|
-
v("h1",
|
|
2457
|
-
dn.value ? (C(), D("div",
|
|
2458
|
-
v("span",
|
|
2456
|
+
v("div", To, [
|
|
2457
|
+
v("div", Io, [
|
|
2458
|
+
v("div", Oo, [
|
|
2459
|
+
v("h1", Lo, le(((E = s.value) == null ? void 0 : E.name) || "Dataset"), 1),
|
|
2460
|
+
dn.value ? (C(), D("div", No, [
|
|
2461
|
+
v("span", Mo, le(dn.value), 1)
|
|
2459
2462
|
])) : q("", !0)
|
|
2460
2463
|
]),
|
|
2461
2464
|
Pe.value ? (C(), D("p", {
|
|
2462
2465
|
key: 0,
|
|
2463
2466
|
class: "text-xs text-gray-500 truncate",
|
|
2464
2467
|
title: Pe.value
|
|
2465
|
-
}, le(Pe.value), 9,
|
|
2468
|
+
}, le(Pe.value), 9, Do)) : q("", !0)
|
|
2466
2469
|
])
|
|
2467
2470
|
])
|
|
2468
2471
|
]),
|
|
2469
|
-
Y.value ? (C(), M(
|
|
2472
|
+
Y.value ? (C(), M(cl, {
|
|
2470
2473
|
key: 0,
|
|
2471
2474
|
class: "flex-shrink-0",
|
|
2472
2475
|
"entity-id": Y.value,
|
|
@@ -2475,36 +2478,36 @@ ${V}` : V;
|
|
|
2475
2478
|
"entity-label": "Сервіс",
|
|
2476
2479
|
"save-method": "put",
|
|
2477
2480
|
"show-xml-item": !1,
|
|
2478
|
-
"clear-tiles-handler":
|
|
2481
|
+
"clear-tiles-handler": qi,
|
|
2479
2482
|
onSaved: Ce
|
|
2480
2483
|
}, null, 8, ["entity-id", "entity-info"])) : q("", !0)
|
|
2481
2484
|
])
|
|
2482
2485
|
])
|
|
2483
2486
|
]),
|
|
2484
|
-
v("div",
|
|
2485
|
-
v("div",
|
|
2486
|
-
j(
|
|
2487
|
+
v("div", Ro, [
|
|
2488
|
+
v("div", $o, [
|
|
2489
|
+
j(il, {
|
|
2487
2490
|
ref_key: "mapViewRef",
|
|
2488
2491
|
ref: t
|
|
2489
2492
|
}, {
|
|
2490
2493
|
default: We(() => {
|
|
2491
2494
|
var k, z, F, J, H, ie, Ee;
|
|
2492
2495
|
return [
|
|
2493
|
-
(k = s.value) != null && k.service_id ? (C(), M(
|
|
2496
|
+
(k = s.value) != null && k.service_id ? (C(), M(bo, {
|
|
2494
2497
|
key: 0,
|
|
2495
2498
|
id: (z = s.value) == null ? void 0 : z.service_id,
|
|
2496
2499
|
layer: s.value,
|
|
2497
2500
|
"style-spec": ((F = s.value) == null ? void 0 : F.style) || null,
|
|
2498
2501
|
autoCenter: !1
|
|
2499
2502
|
}, null, 8, ["id", "layer", "style-spec"])) : q("", !0),
|
|
2500
|
-
Y.value ? (C(), M(
|
|
2503
|
+
Y.value ? (C(), M(ll, {
|
|
2501
2504
|
key: 1,
|
|
2502
2505
|
"layer-id": Y.value,
|
|
2503
2506
|
boundary: ((J = s.value) == null ? void 0 : J.boundary) || ((H = fn.value) == null ? void 0 : H.boundary) || null,
|
|
2504
2507
|
katottg: ((ie = s.value) == null ? void 0 : ie.katottg) || ((Ee = fn.value) == null ? void 0 : Ee.katottg) || null
|
|
2505
2508
|
}, null, 8, ["layer-id", "boundary", "katottg"])) : q("", !0),
|
|
2506
|
-
v("div",
|
|
2507
|
-
Y.value ? (C(), M(
|
|
2509
|
+
v("div", jo, [
|
|
2510
|
+
Y.value ? (C(), M(rl, {
|
|
2508
2511
|
key: 0,
|
|
2509
2512
|
"layer-id": Y.value,
|
|
2510
2513
|
filters: Ae.value
|
|
@@ -2514,10 +2517,10 @@ ${V}` : V;
|
|
|
2514
2517
|
id: "map-filter-popover-host",
|
|
2515
2518
|
class: "map-widget__filter-host"
|
|
2516
2519
|
}, null, -1)),
|
|
2517
|
-
v("div", jo, [
|
|
2518
|
-
j(rl)
|
|
2519
|
-
]),
|
|
2520
2520
|
v("div", Uo, [
|
|
2521
|
+
j(tl)
|
|
2522
|
+
]),
|
|
2523
|
+
v("div", Bo, [
|
|
2521
2524
|
j(kn),
|
|
2522
2525
|
a.value.center ? (C(), M(kn, {
|
|
2523
2526
|
key: 0,
|
|
@@ -2525,13 +2528,13 @@ ${V}` : V;
|
|
|
2525
2528
|
targetLabel: "Ценр даних"
|
|
2526
2529
|
}, null, 8, ["targetCenter"])) : q("", !0)
|
|
2527
2530
|
]),
|
|
2528
|
-
v("div",
|
|
2529
|
-
j(
|
|
2531
|
+
v("div", Yo, [
|
|
2532
|
+
j(ol, {
|
|
2530
2533
|
items: oe.value || null
|
|
2531
2534
|
}, null, 8, ["items"])
|
|
2532
2535
|
]),
|
|
2533
|
-
j(
|
|
2534
|
-
j(
|
|
2536
|
+
j(ul),
|
|
2537
|
+
j(al, {
|
|
2535
2538
|
html: a.value.html
|
|
2536
2539
|
}, null, 8, ["html"])
|
|
2537
2540
|
];
|
|
@@ -2540,7 +2543,7 @@ ${V}` : V;
|
|
|
2540
2543
|
}, 512)
|
|
2541
2544
|
])
|
|
2542
2545
|
]),
|
|
2543
|
-
j(
|
|
2546
|
+
j(fl, {
|
|
2544
2547
|
open: ke.value,
|
|
2545
2548
|
onToggle: f[0] || (f[0] = (k) => ke.value = !ke.value),
|
|
2546
2549
|
"top-class": "top-4"
|
|
@@ -2549,9 +2552,9 @@ ${V}` : V;
|
|
|
2549
2552
|
v("div", {
|
|
2550
2553
|
class: ve(["bg-white border-l border-gray-100 flex flex-col overflow-hidden shadow-lg flex-shrink-0 transition-[width] duration-100 ease-in-out", ke.value ? "w-[650px]" : "w-0"])
|
|
2551
2554
|
}, [
|
|
2552
|
-
v("div",
|
|
2553
|
-
v("div",
|
|
2554
|
-
v("div",
|
|
2555
|
+
v("div", Po, [
|
|
2556
|
+
v("div", Ho, [
|
|
2557
|
+
v("div", Vo, [
|
|
2555
2558
|
(C(), D(Hn, null, Vn(pn, (k) => v("button", {
|
|
2556
2559
|
key: k.key,
|
|
2557
2560
|
type: "button",
|
|
@@ -2563,34 +2566,34 @@ ${V}` : V;
|
|
|
2563
2566
|
]),
|
|
2564
2567
|
onClick: (z) => P.value = k.key
|
|
2565
2568
|
}, [
|
|
2566
|
-
(C(), M(
|
|
2567
|
-
v("span",
|
|
2568
|
-
], 10,
|
|
2569
|
+
(C(), M(Zi(k.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
|
|
2570
|
+
v("span", Ko, le(k.label), 1)
|
|
2571
|
+
], 10, qo)), 64))
|
|
2569
2572
|
])
|
|
2570
2573
|
]),
|
|
2571
|
-
v("div",
|
|
2572
|
-
P.value === "style" ? (C(), M(
|
|
2574
|
+
v("div", zo, [
|
|
2575
|
+
P.value === "style" ? (C(), M(Jt, {
|
|
2573
2576
|
key: 0,
|
|
2574
2577
|
token: Y.value,
|
|
2575
2578
|
"style-text": me.value,
|
|
2576
2579
|
"style-yaml": B.value,
|
|
2577
2580
|
"onUpdate:styleYaml": f[1] || (f[1] = (k) => B.value = k),
|
|
2578
2581
|
"onUpdate:styleText": f[2] || (f[2] = (k) => me.value = k),
|
|
2579
|
-
onUpdate:
|
|
2580
|
-
}, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(
|
|
2582
|
+
onUpdate: Ki
|
|
2583
|
+
}, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(ao, {
|
|
2581
2584
|
key: 1,
|
|
2582
2585
|
token: Y.value,
|
|
2583
2586
|
columns: oe.value,
|
|
2584
2587
|
"onUpdate:columns": f[3] || (f[3] = (k) => oe.value = k),
|
|
2585
2588
|
onSave: f[4] || (f[4] = (k) => Se("legend", k))
|
|
2586
|
-
}, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(
|
|
2589
|
+
}, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(eo, {
|
|
2587
2590
|
key: 2,
|
|
2588
2591
|
token: Y.value,
|
|
2589
2592
|
columns: Ue.value,
|
|
2590
2593
|
fields: a.value.fields,
|
|
2591
2594
|
"onUpdate:columns": f[5] || (f[5] = (k) => Ue.value = k),
|
|
2592
2595
|
onSave: f[6] || (f[6] = (k) => Se("popup", k))
|
|
2593
|
-
}, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(
|
|
2596
|
+
}, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(xo, {
|
|
2594
2597
|
key: 3,
|
|
2595
2598
|
token: Y.value,
|
|
2596
2599
|
columns: we.value,
|
|
@@ -2598,15 +2601,15 @@ ${V}` : V;
|
|
|
2598
2601
|
"view-mode": Be.value,
|
|
2599
2602
|
html: Ye.value,
|
|
2600
2603
|
"onUpdate:columns": f[7] || (f[7] = (k) => we.value = k),
|
|
2601
|
-
onSave:
|
|
2602
|
-
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(
|
|
2604
|
+
onSave: zi
|
|
2605
|
+
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(go, {
|
|
2603
2606
|
key: 4,
|
|
2604
2607
|
token: Y.value,
|
|
2605
2608
|
fields: a.value.fields,
|
|
2606
2609
|
columns: Ae.value,
|
|
2607
2610
|
"onUpdate:columns": f[8] || (f[8] = (k) => Ae.value = k),
|
|
2608
2611
|
onSave: f[9] || (f[9] = (k) => Se("filters", k))
|
|
2609
|
-
}, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(
|
|
2612
|
+
}, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(dl, {
|
|
2610
2613
|
key: 5,
|
|
2611
2614
|
data: s.value,
|
|
2612
2615
|
"entity-id": String(Te(o)),
|
|
@@ -2619,7 +2622,7 @@ ${V}` : V;
|
|
|
2619
2622
|
]);
|
|
2620
2623
|
};
|
|
2621
2624
|
}
|
|
2622
|
-
}),
|
|
2625
|
+
}), ou = /* @__PURE__ */ Re(Wo, [["__scopeId", "data-v-11408bee"]]);
|
|
2623
2626
|
export {
|
|
2624
|
-
|
|
2627
|
+
ou as default
|
|
2625
2628
|
};
|