@opengis/gis 0.2.133 → 0.2.135
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/README.md +38 -5
- package/dist/{CardIcon-C667-A5B.js → CardIcon-BNUsF1cN.js} +1 -1
- package/dist/{EntityTablePage-CcUrgtQd.js → EntityTablePage-DJphmCOK.js} +1 -1
- package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DkW7sPK-.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-_FZ0eea2.js} +1 -1
- package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-NUsY1m0k.js → HeaderActions.vue_vue_type_script_setup_true_lang-BrAsmP1I.js} +1 -1
- package/dist/{MapSettings-nlgaugUY.js → MapSettings-T3TiwUln.js} +1 -1
- package/dist/{RastersTablePage-DXnU_Mf7.js → RastersTablePage-eUmxfkBe.js} +1 -1
- package/dist/{cartocss-N1uM83tE.js → cartocss-BdkNQrEH.js} +5 -5
- package/dist/{import-utils-D8vK8vZI.js → import-utils-D42LD7no.js} +1 -1
- package/dist/index-EPs4Dfat.js +10580 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +39 -38
- package/dist/{raster-C_Mqx3id.js → raster-BL7qe1jY.js} +3 -3
- package/dist/{register-Bw4auhFJ.js → register-V01xnoKN.js} +3 -3
- package/dist/{service-Bnu79Dgq.js → service-Ll0HPrAn.js} +334 -337
- package/dist/{vs-datatable-Dcf9SLpH.js → vs-datatable-C8XIpoPE.js} +1 -1
- package/module/gis/form/gis.cartocss.form.json +10 -0
- package/module/test/cls/doc_status.json +31 -31
- package/module/test/select/core.user_uid.sql +1 -1
- package/package.json +2 -2
- package/dist/index-fOtblnh3.js +0 -10194
|
@@ -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 Vi, createVNode as j, createBlock as M, createCommentVNode as q, defineAsyncComponent as qi, unref as ve, withCtx as We, withDirectives as qe, vModelText as Ke, normalizeClass as he, Fragment as Hn, renderList as Vn, toDisplayString as ue, getCurrentInstance as qn, onBeforeUnmount as Kn, toRef as Ki, computed as Fe, onMounted as zi, resolveDynamicComponent as Gi } from "vue";
|
|
2
|
+
import { useRoute as Qi, useRouter as Wi } 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 Ji, M as Zi, g as Xi, h as el, i as nl, j as kn, k as il, l as ll, m as rl, s as Cn, n as tl } from "./index-EPs4Dfat.js";
|
|
5
|
+
import { _ as ol, a as ul, b as al, c as sl } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BrAsmP1I.js";
|
|
6
|
+
import { S as cl, C as fl } from "./CardIcon-BNUsF1cN.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-C8XIpoPE.js";
|
|
9
|
+
import { _ as ln, m as rn, r as xe } from "./import-utils-D42LD7no.js";
|
|
10
|
+
/*! js-yaml 4.1.0 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 dl(e) {
|
|
15
15
|
return typeof e == "object" && e !== null;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function pl(e) {
|
|
18
18
|
return Array.isArray(e) ? e : Gn(e) ? [] : [e];
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ml(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 hl(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 vl(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 xl = Gn, yl = dl, gl = pl, bl = hl, _l = vl, wl = ml, O = {
|
|
37
|
+
isNothing: xl,
|
|
38
|
+
isObject: yl,
|
|
39
|
+
toArray: gl,
|
|
40
|
+
repeat: bl,
|
|
41
|
+
isNegativeZero: _l,
|
|
42
|
+
extend: wl
|
|
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 Al(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 kl(e, n) {
|
|
|
96
96
|
`;
|
|
97
97
|
return u.replace(/\n$/, "");
|
|
98
98
|
}
|
|
99
|
-
var
|
|
99
|
+
var kl = Al, Cl = [
|
|
100
100
|
"kind",
|
|
101
101
|
"multi",
|
|
102
102
|
"resolve",
|
|
@@ -107,12 +107,12 @@ var Cl = kl, Sl = [
|
|
|
107
107
|
"representName",
|
|
108
108
|
"defaultStyle",
|
|
109
109
|
"styleAliases"
|
|
110
|
-
],
|
|
110
|
+
], Sl = [
|
|
111
111
|
"scalar",
|
|
112
112
|
"sequence",
|
|
113
113
|
"mapping"
|
|
114
114
|
];
|
|
115
|
-
function
|
|
115
|
+
function El(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 Fl(e) {
|
|
|
120
120
|
});
|
|
121
121
|
}), n;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Fl(e, n) {
|
|
124
124
|
if (n = n || {}, Object.keys(n).forEach(function(i) {
|
|
125
|
-
if (
|
|
125
|
+
if (Cl.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 = El(n.styleAliases || null), Sl.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 = Fl;
|
|
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 Tl() {
|
|
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 = Tl(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 Il(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 Ol() {
|
|
219
219
|
return null;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Ll(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: Il,
|
|
227
|
+
construct: Ol,
|
|
228
|
+
predicate: Ll,
|
|
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 Nl(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 Ml(e) {
|
|
254
254
|
return e === "true" || e === "True" || e === "TRUE";
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Dl(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: Nl,
|
|
262
|
+
construct: Ml,
|
|
263
|
+
predicate: Dl,
|
|
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 Rl(e) {
|
|
278
278
|
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function $l(e) {
|
|
281
281
|
return 48 <= e && e <= 55;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function jl(e) {
|
|
284
284
|
return 48 <= e && e <= 57;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Ul(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 Bl(e) {
|
|
|
300
300
|
if (l === "x") {
|
|
301
301
|
for (i++; i < n; i++)
|
|
302
302
|
if (l = e[i], l !== "_") {
|
|
303
|
-
if (
|
|
303
|
+
if (!Rl(e.charCodeAt(i))) return !1;
|
|
304
304
|
r = !0;
|
|
305
305
|
}
|
|
306
306
|
return r && l !== "_";
|
|
@@ -308,7 +308,7 @@ function Bl(e) {
|
|
|
308
308
|
if (l === "o") {
|
|
309
309
|
for (i++; i < n; i++)
|
|
310
310
|
if (l = e[i], l !== "_") {
|
|
311
|
-
if (
|
|
311
|
+
if (!$l(e.charCodeAt(i))) return !1;
|
|
312
312
|
r = !0;
|
|
313
313
|
}
|
|
314
314
|
return r && l !== "_";
|
|
@@ -317,13 +317,13 @@ function Bl(e) {
|
|
|
317
317
|
if (l === "_") return !1;
|
|
318
318
|
for (; i < n; i++)
|
|
319
319
|
if (l = e[i], l !== "_") {
|
|
320
|
-
if (!
|
|
320
|
+
if (!jl(e.charCodeAt(i)))
|
|
321
321
|
return !1;
|
|
322
322
|
r = !0;
|
|
323
323
|
}
|
|
324
324
|
return !(!r || l === "_");
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Bl(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 Yl(e) {
|
|
|
333
333
|
}
|
|
334
334
|
return i * parseInt(n, 10);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Yl(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: Ul,
|
|
342
|
+
construct: Bl,
|
|
343
|
+
predicate: Yl,
|
|
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
|
+
}), Pl = 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 Hl(e) {
|
|
371
|
+
return !(e === null || !Pl.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 Vl(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 Kl(e, n) {
|
|
381
381
|
var i;
|
|
382
382
|
if (isNaN(e))
|
|
383
383
|
switch (n) {
|
|
@@ -408,17 +408,17 @@ function zl(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 zl(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: Hl,
|
|
419
|
+
construct: Vl,
|
|
420
|
+
predicate: zl,
|
|
421
|
+
represent: Kl,
|
|
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 Gl(e) {
|
|
436
436
|
return e === null ? !1 : ui.exec(e) !== null || ai.exec(e) !== null;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function Ql(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 Wl(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 Wl(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: Gl,
|
|
456
|
+
construct: Ql,
|
|
457
457
|
instanceOf: Date,
|
|
458
|
-
represent:
|
|
458
|
+
represent: Wl
|
|
459
459
|
});
|
|
460
|
-
function
|
|
460
|
+
function Jl(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: Jl
|
|
466
466
|
}), tn = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
467
467
|
\r`;
|
|
468
|
-
function
|
|
468
|
+
function Zl(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 Xl(e) {
|
|
|
475
475
|
}
|
|
476
476
|
return r % 8 === 0;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Xl(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 er(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 nr(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: Zl,
|
|
496
|
+
construct: Xl,
|
|
497
|
+
predicate: nr,
|
|
498
|
+
represent: er
|
|
499
|
+
}), ir = Object.prototype.hasOwnProperty, lr = Object.prototype.toString;
|
|
500
|
+
function rr(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, lr.call(l) !== "[object Object]") return !1;
|
|
505
505
|
for (o in l)
|
|
506
|
-
if (
|
|
506
|
+
if (ir.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 tr(e) {
|
|
|
512
512
|
}
|
|
513
513
|
return !0;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function tr(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: rr,
|
|
521
|
+
construct: tr
|
|
522
|
+
}), or = Object.prototype.toString;
|
|
523
|
+
function ur(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], or.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 ar(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 sr(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: ur,
|
|
542
|
+
construct: ar
|
|
543
|
+
}), sr = Object.prototype.hasOwnProperty;
|
|
544
|
+
function cr(e) {
|
|
545
545
|
if (e === null) return !0;
|
|
546
546
|
var n, i = e;
|
|
547
547
|
for (n in i)
|
|
548
|
-
if (
|
|
548
|
+
if (sr.call(i, n) && i[n] !== null)
|
|
549
549
|
return !1;
|
|
550
550
|
return !0;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function fr(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: cr,
|
|
558
|
+
construct: fr
|
|
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, dr = 2, En = 3, pr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, mr = /[\x85\u2028\u2029]/, hr = /[,\[\]\{\}]/, 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,41 +583,33 @@ function U(e) {
|
|
|
583
583
|
function se(e) {
|
|
584
584
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function vr(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 xr(e) {
|
|
591
591
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function yr(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 gr(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
|
-
|
|
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);
|
|
606
|
+
var gi = new Array(256), bi = new Array(256);
|
|
615
607
|
for (var oe = 0; oe < 256; oe++)
|
|
616
|
-
|
|
617
|
-
function
|
|
608
|
+
gi[oe] = Tn(oe) ? 1 : 0, bi[oe] = Tn(oe);
|
|
609
|
+
function br(e, n) {
|
|
618
610
|
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 = [];
|
|
619
611
|
}
|
|
620
|
-
function
|
|
612
|
+
function _i(e, n) {
|
|
621
613
|
var i = {
|
|
622
614
|
name: e.filename,
|
|
623
615
|
buffer: e.input.slice(0, -1),
|
|
@@ -626,13 +618,13 @@ function wi(e, n) {
|
|
|
626
618
|
line: e.line,
|
|
627
619
|
column: e.position - e.lineStart
|
|
628
620
|
};
|
|
629
|
-
return i.snippet =
|
|
621
|
+
return i.snippet = kl(i), new $(n, i);
|
|
630
622
|
}
|
|
631
623
|
function _(e, n) {
|
|
632
|
-
throw
|
|
624
|
+
throw _i(e, n);
|
|
633
625
|
}
|
|
634
626
|
function Ne(e, n) {
|
|
635
|
-
e.onWarning && e.onWarning.call(null,
|
|
627
|
+
e.onWarning && e.onWarning.call(null, _i(e, n));
|
|
636
628
|
}
|
|
637
629
|
var In = {
|
|
638
630
|
YAML: function(n, i, r) {
|
|
@@ -656,14 +648,14 @@ function Z(e, n, i, r) {
|
|
|
656
648
|
if (u = e.input.slice(n, i), r)
|
|
657
649
|
for (l = 0, o = u.length; l < o; l += 1)
|
|
658
650
|
t = u.charCodeAt(l), t === 9 || 32 <= t && t <= 1114111 || _(e, "expected valid JSON character");
|
|
659
|
-
else
|
|
651
|
+
else pr.test(u) && _(e, "the stream contains non-printable characters");
|
|
660
652
|
e.result += u;
|
|
661
653
|
}
|
|
662
654
|
}
|
|
663
655
|
function On(e, n, i, r) {
|
|
664
656
|
var l, o, t, u;
|
|
665
657
|
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)
|
|
666
|
-
o = l[t], X.call(n, o) || (
|
|
658
|
+
o = l[t], X.call(n, o) || (n[o] = i[o], r[o] = !0);
|
|
667
659
|
}
|
|
668
660
|
function ce(e, n, i, r, l, o, t, u, a) {
|
|
669
661
|
var s, m;
|
|
@@ -677,7 +669,12 @@ function ce(e, n, i, r, l, o, t, u, a) {
|
|
|
677
669
|
else
|
|
678
670
|
On(e, n, o, i);
|
|
679
671
|
else
|
|
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")),
|
|
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")), l === "__proto__" ? Object.defineProperty(n, l, {
|
|
673
|
+
configurable: !0,
|
|
674
|
+
enumerable: !0,
|
|
675
|
+
writable: !0,
|
|
676
|
+
value: o
|
|
677
|
+
}) : n[l] = o, delete i[l];
|
|
681
678
|
return n;
|
|
682
679
|
}
|
|
683
680
|
function un(e) {
|
|
@@ -708,7 +705,7 @@ function an(e, n) {
|
|
|
708
705
|
n === 1 ? e.result += " " : n > 1 && (e.result += O.repeat(`
|
|
709
706
|
`, n - 1));
|
|
710
707
|
}
|
|
711
|
-
function
|
|
708
|
+
function _r(e, n, i) {
|
|
712
709
|
var r, l, o, t, u, a, s, m, d = e.kind, y = e.result, b;
|
|
713
710
|
if (b = e.input.charCodeAt(e.position), U(b) || se(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 && se(l)))
|
|
714
711
|
return !1;
|
|
@@ -735,7 +732,7 @@ function wr(e, n, i) {
|
|
|
735
732
|
}
|
|
736
733
|
return Z(e, o, t, !1), e.result ? !0 : (e.kind = d, e.result = y, !1);
|
|
737
734
|
}
|
|
738
|
-
function
|
|
735
|
+
function wr(e, n) {
|
|
739
736
|
var i, r, l;
|
|
740
737
|
if (i = e.input.charCodeAt(e.position), i !== 39)
|
|
741
738
|
return !1;
|
|
@@ -748,7 +745,7 @@ function Ar(e, n) {
|
|
|
748
745
|
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);
|
|
749
746
|
_(e, "unexpected end of the stream within a single quoted scalar");
|
|
750
747
|
}
|
|
751
|
-
function
|
|
748
|
+
function Ar(e, n) {
|
|
752
749
|
var i, r, l, o, t, u;
|
|
753
750
|
if (u = e.input.charCodeAt(e.position), u !== 34)
|
|
754
751
|
return !1;
|
|
@@ -758,12 +755,12 @@ function kr(e, n) {
|
|
|
758
755
|
if (u === 92) {
|
|
759
756
|
if (Z(e, i, e.position, !0), u = e.input.charCodeAt(++e.position), G(u))
|
|
760
757
|
T(e, !1, n);
|
|
761
|
-
else if (u < 256 &&
|
|
762
|
-
e.result +=
|
|
763
|
-
else if ((t =
|
|
758
|
+
else if (u < 256 && gi[u])
|
|
759
|
+
e.result += bi[u], e.position++;
|
|
760
|
+
else if ((t = xr(u)) > 0) {
|
|
764
761
|
for (l = t, o = 0; l > 0; l--)
|
|
765
|
-
u = e.input.charCodeAt(++e.position), (t =
|
|
766
|
-
e.result +=
|
|
762
|
+
u = e.input.charCodeAt(++e.position), (t = vr(u)) >= 0 ? o = (o << 4) + t : _(e, "expected hexadecimal character");
|
|
763
|
+
e.result += gr(o), e.position++;
|
|
767
764
|
} else
|
|
768
765
|
_(e, "unknown escape sequence");
|
|
769
766
|
i = r = e.position;
|
|
@@ -771,7 +768,7 @@ function kr(e, n) {
|
|
|
771
768
|
}
|
|
772
769
|
_(e, "unexpected end of the stream within a double quoted scalar");
|
|
773
770
|
}
|
|
774
|
-
function
|
|
771
|
+
function kr(e, n) {
|
|
775
772
|
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;
|
|
776
773
|
if (g = e.input.charCodeAt(e.position), g === 91)
|
|
777
774
|
m = 93, b = !1, u = [];
|
|
@@ -786,7 +783,7 @@ function Cr(e, n) {
|
|
|
786
783
|
}
|
|
787
784
|
_(e, "unexpected end of the stream within a flow collection");
|
|
788
785
|
}
|
|
789
|
-
function
|
|
786
|
+
function Cr(e, n) {
|
|
790
787
|
var i, r, l = Qe, o = !1, t = !1, u = n, a = 0, s = !1, m, d;
|
|
791
788
|
if (d = e.input.charCodeAt(e.position), d === 124)
|
|
792
789
|
r = !1;
|
|
@@ -796,8 +793,8 @@ function Sr(e, n) {
|
|
|
796
793
|
return !1;
|
|
797
794
|
for (e.kind = "scalar", e.result = ""; d !== 0; )
|
|
798
795
|
if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
|
|
799
|
-
Qe === l ? l = d === 43 ? En :
|
|
800
|
-
else if ((m =
|
|
796
|
+
Qe === l ? l = d === 43 ? En : dr : _(e, "repeat of a chomping mode identifier");
|
|
797
|
+
else if ((m = yr(d)) >= 0)
|
|
801
798
|
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);
|
|
802
799
|
else
|
|
803
800
|
break;
|
|
@@ -848,7 +845,7 @@ function Ln(e, n) {
|
|
|
848
845
|
}
|
|
849
846
|
return u ? (e.tag = r, e.anchor = l, e.kind = "sequence", e.result = o, !0) : !1;
|
|
850
847
|
}
|
|
851
|
-
function
|
|
848
|
+
function Sr(e, n, i) {
|
|
852
849
|
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;
|
|
853
850
|
if (e.firstTabInLine !== -1) return !1;
|
|
854
851
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = d), g = e.input.charCodeAt(e.position); g !== 0; ) {
|
|
@@ -878,7 +875,7 @@ function Er(e, n, i) {
|
|
|
878
875
|
}
|
|
879
876
|
return x && ce(e, d, y, b, p, null, t, u, a), w && (e.tag = s, e.anchor = m, e.kind = "mapping", e.result = d), w;
|
|
880
877
|
}
|
|
881
|
-
function
|
|
878
|
+
function Er(e) {
|
|
882
879
|
var n, i = !1, r = !1, l, o, t;
|
|
883
880
|
if (t = e.input.charCodeAt(e.position), t !== 33) return !1;
|
|
884
881
|
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) {
|
|
@@ -889,7 +886,7 @@ function Fr(e) {
|
|
|
889
886
|
} else {
|
|
890
887
|
for (; t !== 0 && !U(t); )
|
|
891
888
|
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);
|
|
892
|
-
o = e.input.slice(n, e.position),
|
|
889
|
+
o = e.input.slice(n, e.position), hr.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
|
|
893
890
|
}
|
|
894
891
|
o && !yi.test(o) && _(e, "tag name cannot contain such characters: " + o);
|
|
895
892
|
try {
|
|
@@ -899,14 +896,14 @@ function Fr(e) {
|
|
|
899
896
|
}
|
|
900
897
|
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;
|
|
901
898
|
}
|
|
902
|
-
function
|
|
899
|
+
function Fr(e) {
|
|
903
900
|
var n, i;
|
|
904
901
|
if (i = e.input.charCodeAt(e.position), i !== 38) return !1;
|
|
905
902
|
for (e.anchor !== null && _(e, "duplication of an anchor property"), i = e.input.charCodeAt(++e.position), n = e.position; i !== 0 && !U(i) && !se(i); )
|
|
906
903
|
i = e.input.charCodeAt(++e.position);
|
|
907
904
|
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;
|
|
908
905
|
}
|
|
909
|
-
function
|
|
906
|
+
function Tr(e) {
|
|
910
907
|
var n, i, r;
|
|
911
908
|
if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
|
|
912
909
|
for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !U(r) && !se(r); )
|
|
@@ -916,9 +913,9 @@ function Ir(e) {
|
|
|
916
913
|
function fe(e, n, i, r, l) {
|
|
917
914
|
var o, t, u, a = 1, s = !1, m = !1, d, y, b, p, h, x;
|
|
918
915
|
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)
|
|
919
|
-
for (;
|
|
916
|
+
for (; Er(e) || Fr(e); )
|
|
920
917
|
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;
|
|
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) ||
|
|
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) || Sr(e, x, h)) || kr(e, h) ? m = !0 : (t && Cr(e, h) || wr(e, h) || Ar(e, h) ? m = !0 : Tr(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : _r(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)
|
|
922
919
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
923
920
|
else if (e.tag === "?") {
|
|
924
921
|
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)
|
|
@@ -939,7 +936,7 @@ function fe(e, n, i, r, l) {
|
|
|
939
936
|
}
|
|
940
937
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || m;
|
|
941
938
|
}
|
|
942
|
-
function
|
|
939
|
+
function Ir(e) {
|
|
943
940
|
var n = e.position, i, r, l, o = !1, t;
|
|
944
941
|
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)); ) {
|
|
945
942
|
for (o = !0, t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !U(t); )
|
|
@@ -960,7 +957,7 @@ function Or(e) {
|
|
|
960
957
|
}
|
|
961
958
|
t !== 0 && un(e), X.call(In, r) ? In[r](e, r, l) : Ne(e, 'unknown document directive "' + r + '"');
|
|
962
959
|
}
|
|
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"), fe(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks &&
|
|
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"), fe(e, e.lineIndent - 1, Le, !1, !0), T(e, !0, -1), e.checkLineBreaks && mr.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)) {
|
|
964
961
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, T(e, !0, -1));
|
|
965
962
|
return;
|
|
966
963
|
}
|
|
@@ -969,36 +966,36 @@ function Or(e) {
|
|
|
969
966
|
else
|
|
970
967
|
return;
|
|
971
968
|
}
|
|
972
|
-
function
|
|
969
|
+
function wi(e, n) {
|
|
973
970
|
e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
|
|
974
971
|
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
975
|
-
var i = new
|
|
972
|
+
var i = new br(e, n), r = e.indexOf("\0");
|
|
976
973
|
for (r !== -1 && (i.position = r, _(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
|
|
977
974
|
i.lineIndent += 1, i.position += 1;
|
|
978
975
|
for (; i.position < i.length - 1; )
|
|
979
|
-
|
|
976
|
+
Ir(i);
|
|
980
977
|
return i.documents;
|
|
981
978
|
}
|
|
982
|
-
function
|
|
979
|
+
function Or(e, n, i) {
|
|
983
980
|
n !== null && typeof n == "object" && typeof i > "u" && (i = n, n = null);
|
|
984
|
-
var r =
|
|
981
|
+
var r = wi(e, i);
|
|
985
982
|
if (typeof n != "function")
|
|
986
983
|
return r;
|
|
987
984
|
for (var l = 0, o = r.length; l < o; l += 1)
|
|
988
985
|
n(r[l]);
|
|
989
986
|
}
|
|
990
|
-
function
|
|
991
|
-
var i =
|
|
987
|
+
function Lr(e, n) {
|
|
988
|
+
var i = wi(e, n);
|
|
992
989
|
if (i.length !== 0) {
|
|
993
990
|
if (i.length === 1)
|
|
994
991
|
return i[0];
|
|
995
992
|
throw new $("expected a single document in the stream, but found more");
|
|
996
993
|
}
|
|
997
994
|
}
|
|
998
|
-
var
|
|
999
|
-
loadAll:
|
|
1000
|
-
load:
|
|
1001
|
-
},
|
|
995
|
+
var Nr = Or, Mr = Lr, Ai = {
|
|
996
|
+
loadAll: Nr,
|
|
997
|
+
load: Mr
|
|
998
|
+
}, ki = Object.prototype.toString, Ci = Object.prototype.hasOwnProperty, sn = 65279, Dr = 9, ge = 10, Rr = 13, $r = 32, jr = 33, Ur = 34, Ze = 35, Br = 37, Yr = 38, Pr = 39, Hr = 42, Si = 44, Vr = 45, Me = 58, qr = 61, Kr = 62, zr = 63, Gr = 64, Ei = 91, Fi = 93, Qr = 96, Ti = 123, Wr = 124, Ii = 125, R = {};
|
|
1002
999
|
R[0] = "\\0";
|
|
1003
1000
|
R[7] = "\\a";
|
|
1004
1001
|
R[8] = "\\b";
|
|
@@ -1014,7 +1011,7 @@ R[133] = "\\N";
|
|
|
1014
1011
|
R[160] = "\\_";
|
|
1015
1012
|
R[8232] = "\\L";
|
|
1016
1013
|
R[8233] = "\\P";
|
|
1017
|
-
var
|
|
1014
|
+
var Jr = [
|
|
1018
1015
|
"y",
|
|
1019
1016
|
"Y",
|
|
1020
1017
|
"yes",
|
|
@@ -1031,15 +1028,15 @@ var Zr = [
|
|
|
1031
1028
|
"off",
|
|
1032
1029
|
"Off",
|
|
1033
1030
|
"OFF"
|
|
1034
|
-
],
|
|
1035
|
-
function
|
|
1031
|
+
], Zr = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
1032
|
+
function Xr(e, n) {
|
|
1036
1033
|
var i, r, l, o, t, u, a;
|
|
1037
1034
|
if (n === null) return {};
|
|
1038
1035
|
for (i = {}, r = Object.keys(n), l = 0, o = r.length; l < o; l += 1)
|
|
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 &&
|
|
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 && Ci.call(a.styleAliases, u) && (u = a.styleAliases[u]), i[t] = u;
|
|
1040
1037
|
return i;
|
|
1041
1038
|
}
|
|
1042
|
-
function
|
|
1039
|
+
function et(e) {
|
|
1043
1040
|
var n, i, r;
|
|
1044
1041
|
if (n = e.toString(16).toUpperCase(), e <= 255)
|
|
1045
1042
|
i = "x", r = 2;
|
|
@@ -1051,9 +1048,9 @@ function nt(e) {
|
|
|
1051
1048
|
throw new $("code point within a string may not be greater than 0xFFFFFFFF");
|
|
1052
1049
|
return "\\" + i + O.repeat("0", r - n.length) + n;
|
|
1053
1050
|
}
|
|
1054
|
-
var
|
|
1055
|
-
function
|
|
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 =
|
|
1051
|
+
var nt = 1, be = 2;
|
|
1052
|
+
function it(e) {
|
|
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 = Xr(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 : nt, 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;
|
|
1057
1054
|
}
|
|
1058
1055
|
function Nn(e, n) {
|
|
1059
1056
|
for (var i = O.repeat(" ", n), r = 0, l = -1, o = "", t, u = e.length; r < u; )
|
|
@@ -1066,7 +1063,7 @@ function Xe(e, n) {
|
|
|
1066
1063
|
return `
|
|
1067
1064
|
` + O.repeat(" ", e.indent * n);
|
|
1068
1065
|
}
|
|
1069
|
-
function
|
|
1066
|
+
function lt(e, n) {
|
|
1070
1067
|
var i, r, l;
|
|
1071
1068
|
for (i = 0, r = e.implicitTypes.length; i < r; i += 1)
|
|
1072
1069
|
if (l = e.implicitTypes[i], l.resolve(n))
|
|
@@ -1074,13 +1071,13 @@ function rt(e, n) {
|
|
|
1074
1071
|
return !1;
|
|
1075
1072
|
}
|
|
1076
1073
|
function De(e) {
|
|
1077
|
-
return e ===
|
|
1074
|
+
return e === $r || e === Dr;
|
|
1078
1075
|
}
|
|
1079
1076
|
function _e(e) {
|
|
1080
1077
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== sn || 65536 <= e && e <= 1114111;
|
|
1081
1078
|
}
|
|
1082
1079
|
function Mn(e) {
|
|
1083
|
-
return _e(e) && e !== sn && e !==
|
|
1080
|
+
return _e(e) && e !== sn && e !== Rr && e !== ge;
|
|
1084
1081
|
}
|
|
1085
1082
|
function Dn(e, n, i) {
|
|
1086
1083
|
var r = Mn(e), l = r && !De(e);
|
|
@@ -1089,26 +1086,26 @@ function Dn(e, n, i) {
|
|
|
1089
1086
|
(i ? (
|
|
1090
1087
|
// c = flow-in
|
|
1091
1088
|
r
|
|
1092
|
-
) : r && e !==
|
|
1089
|
+
) : r && e !== Si && e !== Ei && e !== Fi && e !== Ti && e !== Ii) && e !== Ze && !(n === Me && !l) || Mn(n) && !De(n) && e === Ze || n === Me && l
|
|
1093
1090
|
);
|
|
1094
1091
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return _e(e) && e !== sn && !De(e) && e !==
|
|
1092
|
+
function rt(e) {
|
|
1093
|
+
return _e(e) && e !== sn && !De(e) && e !== Vr && e !== zr && e !== Me && e !== Si && e !== Ei && e !== Fi && e !== Ti && e !== Ii && e !== Ze && e !== Yr && e !== Hr && e !== jr && e !== Wr && e !== qr && e !== Kr && e !== Pr && e !== Ur && e !== Br && e !== Gr && e !== Qr;
|
|
1097
1094
|
}
|
|
1098
|
-
function
|
|
1095
|
+
function tt(e) {
|
|
1099
1096
|
return !De(e) && e !== Me;
|
|
1100
1097
|
}
|
|
1101
1098
|
function me(e, n) {
|
|
1102
1099
|
var i = e.charCodeAt(n), r;
|
|
1103
1100
|
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;
|
|
1104
1101
|
}
|
|
1105
|
-
function
|
|
1102
|
+
function Oi(e) {
|
|
1106
1103
|
var n = /^\n* /;
|
|
1107
1104
|
return n.test(e);
|
|
1108
1105
|
}
|
|
1109
|
-
var
|
|
1110
|
-
function
|
|
1111
|
-
var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h =
|
|
1106
|
+
var Li = 1, en = 2, Ni = 3, Mi = 4, ae = 5;
|
|
1107
|
+
function ot(e, n, i, r, l, o, t, u) {
|
|
1108
|
+
var a, s = 0, m = null, d = !1, y = !1, b = r !== -1, p = -1, h = rt(me(e, 0)) && tt(me(e, e.length - 1));
|
|
1112
1109
|
if (n || t)
|
|
1113
1110
|
for (a = 0; a < e.length; s >= 65536 ? a += 2 : a++) {
|
|
1114
1111
|
if (s = me(e, a), !_e(s))
|
|
@@ -1126,19 +1123,19 @@ function ut(e, n, i, r, l, o, t, u) {
|
|
|
1126
1123
|
}
|
|
1127
1124
|
y = y || b && a - p - 1 > r && e[p + 1] !== " ";
|
|
1128
1125
|
}
|
|
1129
|
-
return !d && !y ? h && !t && !l(e) ?
|
|
1126
|
+
return !d && !y ? h && !t && !l(e) ? Li : o === be ? ae : en : i > 9 && Oi(e) ? ae : t ? o === be ? ae : en : y ? Mi : Ni;
|
|
1130
1127
|
}
|
|
1131
|
-
function
|
|
1128
|
+
function ut(e, n, i, r, l) {
|
|
1132
1129
|
e.dump = (function() {
|
|
1133
1130
|
if (n.length === 0)
|
|
1134
1131
|
return e.quotingType === be ? '""' : "''";
|
|
1135
|
-
if (!e.noCompatMode && (
|
|
1132
|
+
if (!e.noCompatMode && (Jr.indexOf(n) !== -1 || Zr.test(n)))
|
|
1136
1133
|
return e.quotingType === be ? '"' + n + '"' : "'" + n + "'";
|
|
1137
1134
|
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;
|
|
1138
1135
|
function a(s) {
|
|
1139
|
-
return
|
|
1136
|
+
return lt(e, s);
|
|
1140
1137
|
}
|
|
1141
|
-
switch (
|
|
1138
|
+
switch (ot(
|
|
1142
1139
|
n,
|
|
1143
1140
|
u,
|
|
1144
1141
|
e.indent,
|
|
@@ -1148,23 +1145,23 @@ function at(e, n, i, r, l) {
|
|
|
1148
1145
|
e.forceQuotes && !r,
|
|
1149
1146
|
l
|
|
1150
1147
|
)) {
|
|
1151
|
-
case
|
|
1148
|
+
case Li:
|
|
1152
1149
|
return n;
|
|
1153
1150
|
case en:
|
|
1154
1151
|
return "'" + n.replace(/'/g, "''") + "'";
|
|
1155
|
-
case
|
|
1152
|
+
case Ni:
|
|
1156
1153
|
return "|" + Rn(n, e.indent) + $n(Nn(n, o));
|
|
1157
|
-
case
|
|
1158
|
-
return ">" + Rn(n, e.indent) + $n(Nn(
|
|
1154
|
+
case Mi:
|
|
1155
|
+
return ">" + Rn(n, e.indent) + $n(Nn(at(n, t), o));
|
|
1159
1156
|
case ae:
|
|
1160
|
-
return '"' +
|
|
1157
|
+
return '"' + st(n) + '"';
|
|
1161
1158
|
default:
|
|
1162
1159
|
throw new $("impossible error: invalid scalar style");
|
|
1163
1160
|
}
|
|
1164
1161
|
})();
|
|
1165
1162
|
}
|
|
1166
1163
|
function Rn(e, n) {
|
|
1167
|
-
var i =
|
|
1164
|
+
var i = Oi(e) ? String(n) : "", r = e[e.length - 1] === `
|
|
1168
1165
|
`, l = r && (e[e.length - 2] === `
|
|
1169
1166
|
` || e === `
|
|
1170
1167
|
`), o = l ? "+" : r ? "" : "-";
|
|
@@ -1175,7 +1172,7 @@ function $n(e) {
|
|
|
1175
1172
|
return e[e.length - 1] === `
|
|
1176
1173
|
` ? e.slice(0, -1) : e;
|
|
1177
1174
|
}
|
|
1178
|
-
function
|
|
1175
|
+
function at(e, n) {
|
|
1179
1176
|
for (var i = /(\n+)([^\n]*)/g, r = (function() {
|
|
1180
1177
|
var s = e.indexOf(`
|
|
1181
1178
|
`);
|
|
@@ -1197,12 +1194,12 @@ function jn(e, n) {
|
|
|
1197
1194
|
`, e.length - l > n && t > l ? a += e.slice(l, t) + `
|
|
1198
1195
|
` + e.slice(t + 1) : a += e.slice(l), a.slice(1);
|
|
1199
1196
|
}
|
|
1200
|
-
function
|
|
1197
|
+
function st(e) {
|
|
1201
1198
|
for (var n = "", i = 0, r, l = 0; l < e.length; i >= 65536 ? l += 2 : l++)
|
|
1202
|
-
i = me(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r ||
|
|
1199
|
+
i = me(e, l), r = R[i], !r && _e(i) ? (n += e[l], i >= 65536 && (n += e[l + 1])) : n += r || et(i);
|
|
1203
1200
|
return n;
|
|
1204
1201
|
}
|
|
1205
|
-
function
|
|
1202
|
+
function ct(e, n, i) {
|
|
1206
1203
|
var r = "", l = e.tag, o, t, u;
|
|
1207
1204
|
for (o = 0, t = i.length; o < t; o += 1)
|
|
1208
1205
|
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);
|
|
@@ -1214,13 +1211,13 @@ function Un(e, n, i, r) {
|
|
|
1214
1211
|
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);
|
|
1215
1212
|
e.tag = o, e.dump = l || "[]";
|
|
1216
1213
|
}
|
|
1217
|
-
function
|
|
1214
|
+
function ft(e, n, i) {
|
|
1218
1215
|
var r = "", l = e.tag, o = Object.keys(i), t, u, a, s, m;
|
|
1219
1216
|
for (t = 0, u = o.length; t < u; t += 1)
|
|
1220
1217
|
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));
|
|
1221
1218
|
e.tag = l, e.dump = "{" + r + "}";
|
|
1222
1219
|
}
|
|
1223
|
-
function
|
|
1220
|
+
function dt(e, n, i, r) {
|
|
1224
1221
|
var l = "", o = e.tag, t = Object.keys(i), u, a, s, m, d, y;
|
|
1225
1222
|
if (e.sortKeys === !0)
|
|
1226
1223
|
t.sort();
|
|
@@ -1237,9 +1234,9 @@ function Bn(e, n, i) {
|
|
|
1237
1234
|
for (l = i ? e.explicitTypes : e.implicitTypes, o = 0, t = l.length; o < t; o += 1)
|
|
1238
1235
|
if (u = l[o], (u.instanceOf || u.predicate) && (!u.instanceOf || typeof n == "object" && n instanceof u.instanceOf) && (!u.predicate || u.predicate(n))) {
|
|
1239
1236
|
if (i ? u.multi && u.representName ? e.tag = u.representName(n) : e.tag = u.tag : e.tag = "?", u.represent) {
|
|
1240
|
-
if (a = e.styleMap[u.tag] || u.defaultStyle,
|
|
1237
|
+
if (a = e.styleMap[u.tag] || u.defaultStyle, ki.call(u.represent) === "[object Function]")
|
|
1241
1238
|
r = u.represent(n, a);
|
|
1242
|
-
else if (
|
|
1239
|
+
else if (Ci.call(u.represent, a))
|
|
1243
1240
|
r = u.represent[a](n, a);
|
|
1244
1241
|
else
|
|
1245
1242
|
throw new $("!<" + u.tag + '> tag resolver accepts not "' + a + '" style');
|
|
@@ -1251,18 +1248,18 @@ function Bn(e, n, i) {
|
|
|
1251
1248
|
}
|
|
1252
1249
|
function W(e, n, i, r, l, o, t) {
|
|
1253
1250
|
e.tag = null, e.dump = i, Bn(e, i, !1) || Bn(e, i, !0);
|
|
1254
|
-
var u =
|
|
1251
|
+
var u = ki.call(e.dump), a = r, s;
|
|
1255
1252
|
r && (r = e.flowLevel < 0 || e.flowLevel > n);
|
|
1256
1253
|
var m = u === "[object Object]" || u === "[object Array]", d, y;
|
|
1257
1254
|
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])
|
|
1258
1255
|
e.dump = "*ref_" + d;
|
|
1259
1256
|
else {
|
|
1260
1257
|
if (m && y && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), u === "[object Object]")
|
|
1261
|
-
r && Object.keys(e.dump).length !== 0 ? (
|
|
1258
|
+
r && Object.keys(e.dump).length !== 0 ? (dt(e, n, e.dump, l), y && (e.dump = "&ref_" + d + e.dump)) : (ft(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1262
1259
|
else if (u === "[object Array]")
|
|
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)) : (
|
|
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)) : (ct(e, n, e.dump), y && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1264
1261
|
else if (u === "[object String]")
|
|
1265
|
-
e.tag !== "?" &&
|
|
1262
|
+
e.tag !== "?" && ut(e, e.dump, n, o, a);
|
|
1266
1263
|
else {
|
|
1267
1264
|
if (u === "[object Undefined]")
|
|
1268
1265
|
return !1;
|
|
@@ -1275,7 +1272,7 @@ function W(e, n, i, r, l, o, t) {
|
|
|
1275
1272
|
}
|
|
1276
1273
|
return !0;
|
|
1277
1274
|
}
|
|
1278
|
-
function
|
|
1275
|
+
function pt(e, n) {
|
|
1279
1276
|
var i = [], r = [], l, o;
|
|
1280
1277
|
for (nn(e, i, r), l = 0, o = r.length; l < o; l += 1)
|
|
1281
1278
|
n.duplicates.push(i[r[l]]);
|
|
@@ -1293,23 +1290,23 @@ function nn(e, n, i) {
|
|
|
1293
1290
|
for (r = Object.keys(e), l = 0, o = r.length; l < o; l += 1)
|
|
1294
1291
|
nn(e[r[l]], n, i);
|
|
1295
1292
|
}
|
|
1296
|
-
function
|
|
1293
|
+
function mt(e, n) {
|
|
1297
1294
|
n = n || {};
|
|
1298
|
-
var i = new
|
|
1299
|
-
i.noRefs ||
|
|
1295
|
+
var i = new it(n);
|
|
1296
|
+
i.noRefs || pt(e, i);
|
|
1300
1297
|
var r = e;
|
|
1301
1298
|
return i.replacer && (r = i.replacer.call({ "": r }, "", r)), W(i, 0, r, !0, !0) ? i.dump + `
|
|
1302
1299
|
` : "";
|
|
1303
1300
|
}
|
|
1304
|
-
var
|
|
1305
|
-
dump:
|
|
1301
|
+
var ht = mt, vt = {
|
|
1302
|
+
dump: ht
|
|
1306
1303
|
};
|
|
1307
1304
|
function cn(e, n) {
|
|
1308
1305
|
return function() {
|
|
1309
1306
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
|
|
1310
1307
|
};
|
|
1311
1308
|
}
|
|
1312
|
-
var
|
|
1309
|
+
var xt = N, yt = Wn, gt = ei, bt = ti, _t = oi, wt = on, Di = Ai.load, At = Ai.loadAll, Ri = vt.dump, kt = $, Ct = {
|
|
1313
1310
|
binary: fi,
|
|
1314
1311
|
float: ri,
|
|
1315
1312
|
map: Xn,
|
|
@@ -1323,23 +1320,23 @@ var yt = N, gt = Wn, bt = ei, _t = ti, wt = oi, At = on, Ri = ki.load, kt = ki.l
|
|
|
1323
1320
|
omap: di,
|
|
1324
1321
|
seq: Zn,
|
|
1325
1322
|
str: Jn
|
|
1326
|
-
},
|
|
1327
|
-
Type:
|
|
1328
|
-
Schema:
|
|
1329
|
-
FAILSAFE_SCHEMA:
|
|
1330
|
-
JSON_SCHEMA:
|
|
1331
|
-
CORE_SCHEMA:
|
|
1332
|
-
DEFAULT_SCHEMA:
|
|
1333
|
-
load:
|
|
1334
|
-
loadAll:
|
|
1335
|
-
dump:
|
|
1336
|
-
YAMLException:
|
|
1337
|
-
types:
|
|
1338
|
-
safeLoad:
|
|
1339
|
-
safeLoadAll:
|
|
1340
|
-
safeDump:
|
|
1323
|
+
}, St = cn("safeLoad", "load"), Et = cn("safeLoadAll", "loadAll"), Ft = cn("safeDump", "dump"), Yn = {
|
|
1324
|
+
Type: xt,
|
|
1325
|
+
Schema: yt,
|
|
1326
|
+
FAILSAFE_SCHEMA: gt,
|
|
1327
|
+
JSON_SCHEMA: bt,
|
|
1328
|
+
CORE_SCHEMA: _t,
|
|
1329
|
+
DEFAULT_SCHEMA: wt,
|
|
1330
|
+
load: Di,
|
|
1331
|
+
loadAll: At,
|
|
1332
|
+
dump: Ri,
|
|
1333
|
+
YAMLException: kt,
|
|
1334
|
+
types: Ct,
|
|
1335
|
+
safeLoad: St,
|
|
1336
|
+
safeLoadAll: Et,
|
|
1337
|
+
safeDump: Ft
|
|
1341
1338
|
};
|
|
1342
|
-
const
|
|
1339
|
+
const Tt = {}, It = {
|
|
1343
1340
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1344
1341
|
width: "24",
|
|
1345
1342
|
height: "24",
|
|
@@ -1351,14 +1348,14 @@ const It = {}, Ot = {
|
|
|
1351
1348
|
"stroke-linejoin": "round",
|
|
1352
1349
|
class: "lucide lucide-layers"
|
|
1353
1350
|
};
|
|
1354
|
-
function
|
|
1355
|
-
return C(), D("svg",
|
|
1351
|
+
function Ot(e, n) {
|
|
1352
|
+
return C(), D("svg", It, [...n[0] || (n[0] = [
|
|
1356
1353
|
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),
|
|
1357
1354
|
v("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }, null, -1),
|
|
1358
1355
|
v("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" }, null, -1)
|
|
1359
1356
|
])]);
|
|
1360
1357
|
}
|
|
1361
|
-
const
|
|
1358
|
+
const Lt = /* @__PURE__ */ Re(Tt, [["render", Ot]]), Nt = {}, Mt = {
|
|
1362
1359
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1363
1360
|
width: "24",
|
|
1364
1361
|
height: "24",
|
|
@@ -1370,14 +1367,14 @@ const Nt = /* @__PURE__ */ Re(It, [["render", Lt]]), Mt = {}, Dt = {
|
|
|
1370
1367
|
"stroke-linejoin": "round",
|
|
1371
1368
|
class: "lucide lucide-map"
|
|
1372
1369
|
};
|
|
1373
|
-
function
|
|
1374
|
-
return C(), D("svg",
|
|
1370
|
+
function Dt(e, n) {
|
|
1371
|
+
return C(), D("svg", Mt, [...n[0] || (n[0] = [
|
|
1375
1372
|
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),
|
|
1376
1373
|
v("path", { d: "M15 5.764v15" }, null, -1),
|
|
1377
1374
|
v("path", { d: "M9 3.236v15" }, null, -1)
|
|
1378
1375
|
])]);
|
|
1379
1376
|
}
|
|
1380
|
-
const
|
|
1377
|
+
const Rt = /* @__PURE__ */ Re(Nt, [["render", Dt]]), $t = {}, jt = {
|
|
1381
1378
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1382
1379
|
width: "24",
|
|
1383
1380
|
height: "24",
|
|
@@ -1389,12 +1386,12 @@ const $t = /* @__PURE__ */ Re(Mt, [["render", Rt]]), jt = {}, Ut = {
|
|
|
1389
1386
|
"stroke-linejoin": "round",
|
|
1390
1387
|
class: "lucide lucide-filter"
|
|
1391
1388
|
};
|
|
1392
|
-
function
|
|
1393
|
-
return C(), D("svg",
|
|
1389
|
+
function Ut(e, n) {
|
|
1390
|
+
return C(), D("svg", jt, [...n[0] || (n[0] = [
|
|
1394
1391
|
v("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1)
|
|
1395
1392
|
])]);
|
|
1396
1393
|
}
|
|
1397
|
-
const
|
|
1394
|
+
const Bt = /* @__PURE__ */ Re($t, [["render", Ut]]), Yt = { class: "flex flex-col flex-1 overflow-hidden" }, Pt = { class: "flex justify-end gap-2" }, Ht = ["href"], Vt = { 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" }, Kt = { class: "relative bg-gradient-to-br from-slate-50 to-white flex-1" }, zt = /* @__PURE__ */ ee({
|
|
1398
1395
|
__name: "vs-tab-style",
|
|
1399
1396
|
props: {
|
|
1400
1397
|
token: {},
|
|
@@ -1416,7 +1413,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1416
1413
|
const s = a ?? "";
|
|
1417
1414
|
i.styleText !== s && r("update:style-text", s);
|
|
1418
1415
|
try {
|
|
1419
|
-
const y = a ?
|
|
1416
|
+
const y = a ? Di(a) : null;
|
|
1420
1417
|
if ((m = y == null ? void 0 : y.colorAttr) != null && m.length && ((d = i.styleYaml) == null ? void 0 : d.colorAttr) !== y.colorAttr) {
|
|
1421
1418
|
const b = await o(y.colorAttr);
|
|
1422
1419
|
y.colors = b.reduce(
|
|
@@ -1426,7 +1423,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1426
1423
|
}),
|
|
1427
1424
|
{}
|
|
1428
1425
|
);
|
|
1429
|
-
const p =
|
|
1426
|
+
const p = Ri(y);
|
|
1430
1427
|
p !== l.value && (l.value = p);
|
|
1431
1428
|
}
|
|
1432
1429
|
JSON.stringify(y) !== JSON.stringify(i.styleYaml) && r(
|
|
@@ -1469,13 +1466,13 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1469
1466
|
}), console.log(s);
|
|
1470
1467
|
}
|
|
1471
1468
|
};
|
|
1472
|
-
return (a, s) => (C(), D("div",
|
|
1473
|
-
v("div",
|
|
1469
|
+
return (a, s) => (C(), D("div", Yt, [
|
|
1470
|
+
v("div", Pt, [
|
|
1474
1471
|
v("a", {
|
|
1475
1472
|
target: "_blank",
|
|
1476
1473
|
href: "/api/gis-service/" + i.token + "/col",
|
|
1477
1474
|
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"
|
|
1478
|
-
}, " Атрибути ", 8,
|
|
1475
|
+
}, " Атрибути ", 8, Ht),
|
|
1479
1476
|
v("button", {
|
|
1480
1477
|
onClick: u,
|
|
1481
1478
|
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"
|
|
@@ -1496,15 +1493,15 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1496
1493
|
v("path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" }),
|
|
1497
1494
|
v("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" })
|
|
1498
1495
|
], -1),
|
|
1499
|
-
|
|
1496
|
+
Vi(" Зберегти стилі ", -1)
|
|
1500
1497
|
])])
|
|
1501
1498
|
]),
|
|
1502
|
-
v("div",
|
|
1503
|
-
v("div",
|
|
1499
|
+
v("div", Vt, [
|
|
1500
|
+
v("div", qt, [
|
|
1504
1501
|
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" }, [
|
|
1505
1502
|
v("div", { class: "text-xs text-gray-400" }, "YAML")
|
|
1506
1503
|
], -1)),
|
|
1507
|
-
v("div",
|
|
1504
|
+
v("div", Kt, [
|
|
1508
1505
|
j(zn, {
|
|
1509
1506
|
modelValue: l.value,
|
|
1510
1507
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
|
|
@@ -1516,7 +1513,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1516
1513
|
])
|
|
1517
1514
|
]));
|
|
1518
1515
|
}
|
|
1519
|
-
}),
|
|
1516
|
+
}), Gt = { class: "flex flex-col flex-1 min-h-0" }, Qt = { class: "flex flex-col flex-1 min-h-0" }, Wt = /* @__PURE__ */ ee({
|
|
1520
1517
|
__name: "vs-tab-popup",
|
|
1521
1518
|
props: {
|
|
1522
1519
|
token: {},
|
|
@@ -1573,7 +1570,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1573
1570
|
let p = [];
|
|
1574
1571
|
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);
|
|
1575
1572
|
}
|
|
1576
|
-
return (p, h) => (C(), D("div",
|
|
1573
|
+
return (p, h) => (C(), D("div", Gt, [
|
|
1577
1574
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
1578
1575
|
v("button", {
|
|
1579
1576
|
onClick: m,
|
|
@@ -1584,7 +1581,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1584
1581
|
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"
|
|
1585
1582
|
}, " Зберегти попап ")
|
|
1586
1583
|
]),
|
|
1587
|
-
v("div",
|
|
1584
|
+
v("div", Qt, [
|
|
1588
1585
|
o.value === "list" ? (C(), M($e, {
|
|
1589
1586
|
key: 0,
|
|
1590
1587
|
modelValue: l.value,
|
|
@@ -1608,7 +1605,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1608
1605
|
}, null, 8, ["visible", "selection", "fields"])
|
|
1609
1606
|
]));
|
|
1610
1607
|
}
|
|
1611
|
-
}),
|
|
1608
|
+
}), Jt = { class: "flex flex-col flex-1 min-h-0" }, Zt = { class: "flex justify-between mb-3 gap-2" }, Xt = { class: "p-4 space-y-4 text-sm" }, eo = { class: "space-y-1" }, no = { class: "space-y-1" }, io = { class: "flex items-center gap-3" }, lo = { class: "flex justify-end gap-2 p-4 border-t" }, ro = /* @__PURE__ */ ee({
|
|
1612
1609
|
__name: "vs-tab-legend",
|
|
1613
1610
|
props: {
|
|
1614
1611
|
mapInfo: {},
|
|
@@ -1629,7 +1626,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1629
1626
|
const o = S(!1), t = S({
|
|
1630
1627
|
name: "",
|
|
1631
1628
|
color: "#2E86DE"
|
|
1632
|
-
}), u =
|
|
1629
|
+
}), u = qi(
|
|
1633
1630
|
() => import("@opengis/core").then((p) => p.VsModal)
|
|
1634
1631
|
), a = [
|
|
1635
1632
|
{ key: "name", label: "Назва" },
|
|
@@ -1671,8 +1668,8 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1671
1668
|
function b() {
|
|
1672
1669
|
r("save", l.value);
|
|
1673
1670
|
}
|
|
1674
|
-
return (p, h) => (C(), D("div",
|
|
1675
|
-
v("div",
|
|
1671
|
+
return (p, h) => (C(), D("div", Jt, [
|
|
1672
|
+
v("div", Zt, [
|
|
1676
1673
|
v("button", {
|
|
1677
1674
|
onClick: h[0] || (h[0] = (x) => o.value = !0),
|
|
1678
1675
|
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"
|
|
@@ -1697,7 +1694,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1697
1694
|
"onUpdate:visible": m
|
|
1698
1695
|
}, {
|
|
1699
1696
|
footer: We(() => [
|
|
1700
|
-
v("div",
|
|
1697
|
+
v("div", lo, [
|
|
1701
1698
|
v("button", {
|
|
1702
1699
|
type: "button",
|
|
1703
1700
|
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",
|
|
@@ -1711,8 +1708,8 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1711
1708
|
])
|
|
1712
1709
|
]),
|
|
1713
1710
|
default: We(() => [
|
|
1714
|
-
v("div",
|
|
1715
|
-
v("div",
|
|
1711
|
+
v("div", Xt, [
|
|
1712
|
+
v("div", eo, [
|
|
1716
1713
|
h[6] || (h[6] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Назва ", -1)),
|
|
1717
1714
|
qe(v("input", {
|
|
1718
1715
|
"onUpdate:modelValue": h[2] || (h[2] = (x) => t.value.name = x),
|
|
@@ -1723,9 +1720,9 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1723
1720
|
[Ke, t.value.name]
|
|
1724
1721
|
])
|
|
1725
1722
|
]),
|
|
1726
|
-
v("div",
|
|
1723
|
+
v("div", no, [
|
|
1727
1724
|
h[7] || (h[7] = v("label", { class: "block text-xs font-medium text-gray-500 uppercase tracking-wide" }, " Колір ", -1)),
|
|
1728
|
-
v("div",
|
|
1725
|
+
v("div", io, [
|
|
1729
1726
|
qe(v("input", {
|
|
1730
1727
|
"onUpdate:modelValue": h[3] || (h[3] = (x) => t.value.color = x),
|
|
1731
1728
|
type: "color",
|
|
@@ -1749,7 +1746,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1749
1746
|
}, 8, ["visible"])
|
|
1750
1747
|
]));
|
|
1751
1748
|
}
|
|
1752
|
-
}),
|
|
1749
|
+
}), to = { class: "space-y-3 bg-gradient-to-br from-sky-50 to-blue-50 p-4 rounded-xl border border-sky-100 shadow-sm" }, oo = ["onClick"], uo = ["aria-checked", "value"], ao = { key: 0 }, so = /* @__PURE__ */ ee({
|
|
1753
1750
|
__name: "view-mode-toggle",
|
|
1754
1751
|
props: {
|
|
1755
1752
|
modelValue: {},
|
|
@@ -1763,7 +1760,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1763
1760
|
{ value: "list", label: "List" },
|
|
1764
1761
|
{ value: "none", label: "None" }
|
|
1765
1762
|
];
|
|
1766
|
-
return (t, u) => (C(), D("div",
|
|
1763
|
+
return (t, u) => (C(), D("div", to, [
|
|
1767
1764
|
u[1] || (u[1] = v("label", { class: "text-sm font-medium text-gray-600" }, "Режим відображення", -1)),
|
|
1768
1765
|
v("div", {
|
|
1769
1766
|
role: "radiogroup",
|
|
@@ -1783,7 +1780,7 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1783
1780
|
value: a.value,
|
|
1784
1781
|
class: "aspect-square rounded-full border border-primary h-4 w-4 flex items-center justify-center text-sky-500"
|
|
1785
1782
|
}, [
|
|
1786
|
-
e.modelValue === a.value ? (C(), D("span",
|
|
1783
|
+
e.modelValue === a.value ? (C(), D("span", ao, [...u[0] || (u[0] = [
|
|
1787
1784
|
v("svg", {
|
|
1788
1785
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1789
1786
|
viewBox: "0 0 24 24",
|
|
@@ -1801,15 +1798,15 @@ const Yt = /* @__PURE__ */ Re(jt, [["render", Bt]]), Pt = { class: "flex flex-co
|
|
|
1801
1798
|
})
|
|
1802
1799
|
], -1)
|
|
1803
1800
|
])])) : q("", !0)
|
|
1804
|
-
], 8,
|
|
1801
|
+
], 8, uo),
|
|
1805
1802
|
v("label", {
|
|
1806
1803
|
class: he(["text-xs font-medium cursor-pointer", e.modelValue === a.value ? "text-gray-700" : "text-gray-600"])
|
|
1807
1804
|
}, ue(a.label), 3)
|
|
1808
|
-
], 10,
|
|
1805
|
+
], 10, oo))), 128))
|
|
1809
1806
|
], 2)
|
|
1810
1807
|
]));
|
|
1811
1808
|
}
|
|
1812
|
-
}),
|
|
1809
|
+
}), co = { class: "flex flex-col flex-1 min-h-0" }, fo = { class: "flex flex-col flex-1 min-h-0" }, po = /* @__PURE__ */ ee({
|
|
1813
1810
|
__name: "vs-tab-card",
|
|
1814
1811
|
props: {
|
|
1815
1812
|
fields: {},
|
|
@@ -1926,7 +1923,7 @@ ${V}` : V;
|
|
|
1926
1923
|
{ value: "none", label: "Жодне" },
|
|
1927
1924
|
{ value: "html", label: "HTML" }
|
|
1928
1925
|
];
|
|
1929
|
-
return (x, w) => (C(), D("div",
|
|
1926
|
+
return (x, w) => (C(), D("div", co, [
|
|
1930
1927
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
1931
1928
|
v("button", {
|
|
1932
1929
|
onClick: d,
|
|
@@ -1937,12 +1934,12 @@ ${V}` : V;
|
|
|
1937
1934
|
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"
|
|
1938
1935
|
}, " Зберегти ")
|
|
1939
1936
|
]),
|
|
1940
|
-
j(
|
|
1937
|
+
j(so, {
|
|
1941
1938
|
modelValue: o.value,
|
|
1942
1939
|
"onUpdate:modelValue": w[0] || (w[0] = (g) => o.value = g),
|
|
1943
1940
|
options: h
|
|
1944
1941
|
}, null, 8, ["modelValue"]),
|
|
1945
|
-
v("div",
|
|
1942
|
+
v("div", fo, [
|
|
1946
1943
|
o.value === "list" ? (C(), M($e, {
|
|
1947
1944
|
key: 0,
|
|
1948
1945
|
modelValue: l.value,
|
|
@@ -1973,7 +1970,7 @@ ${V}` : V;
|
|
|
1973
1970
|
}, null, 8, ["visible", "selection", "fields"])
|
|
1974
1971
|
]));
|
|
1975
1972
|
}
|
|
1976
|
-
}),
|
|
1973
|
+
}), mo = { class: "flex flex-col flex-1 min-h-0" }, ho = /* @__PURE__ */ ee({
|
|
1977
1974
|
__name: "vs-tab-filter",
|
|
1978
1975
|
props: {
|
|
1979
1976
|
fields: {},
|
|
@@ -2038,7 +2035,7 @@ ${V}` : V;
|
|
|
2038
2035
|
let p = [];
|
|
2039
2036
|
o.value === "all" ? p = i.fields || [] : o.value === "none" ? p = [] : p = l.value, r("save", p);
|
|
2040
2037
|
}
|
|
2041
|
-
return (p, h) => (C(), D("div",
|
|
2038
|
+
return (p, h) => (C(), D("div", mo, [
|
|
2042
2039
|
v("div", { class: "flex justify-between mb-3 gap-2" }, [
|
|
2043
2040
|
v("button", {
|
|
2044
2041
|
onClick: m,
|
|
@@ -2071,7 +2068,7 @@ ${V}` : V;
|
|
|
2071
2068
|
}, null, 8, ["visible", "selection", "fields"])
|
|
2072
2069
|
]));
|
|
2073
2070
|
}
|
|
2074
|
-
}),
|
|
2071
|
+
}), vo = /* @__PURE__ */ ee({
|
|
2075
2072
|
__name: "MapDataLayer",
|
|
2076
2073
|
props: {
|
|
2077
2074
|
id: {},
|
|
@@ -2081,7 +2078,7 @@ ${V}` : V;
|
|
|
2081
2078
|
},
|
|
2082
2079
|
setup(e, { expose: n }) {
|
|
2083
2080
|
var p, h, x, w;
|
|
2084
|
-
const { map: i, flyTo: r, setZoom: l } =
|
|
2081
|
+
const { map: i, flyTo: r, setZoom: l } = Ji(), o = ((h = (p = qn()) == null ? void 0 : p.appContext.config.globalProperties) == null ? void 0 : h.$settings) || null, t = e, u = t.id;
|
|
2085
2082
|
String(t.id);
|
|
2086
2083
|
const a = `${location.origin}/api/vtile/${t.id}/ua/{z}/{x}/{y}.vmt?all=1`, s = Ie(u, {
|
|
2087
2084
|
source: {
|
|
@@ -2121,19 +2118,19 @@ ${V}` : V;
|
|
|
2121
2118
|
s.remove();
|
|
2122
2119
|
}), (g, K) => null;
|
|
2123
2120
|
}
|
|
2124
|
-
}),
|
|
2121
|
+
}), xo = { class: "flex h-full bg-gradient-to-br from-slate-50 to-white" }, yo = { class: "flex-1 relative overflow-hidden" }, go = { class: "absolute top-0 left-0 w-full z-20" }, bo = { class: "px-4 sm:px-6 py-4 border-b border-gray-200 bg-white shadow-sm" }, _o = { class: "flex items-start justify-between gap-4" }, wo = { class: "flex-1 min-w-0" }, Ao = { class: "flex items-center text-sm text-gray-500 mb-3" }, ko = { class: "text-gray-900 font-medium truncate max-w-xs" }, Co = { class: "flex items-center justify-between gap-4" }, So = { class: "flex-1 min-w-0" }, Eo = { class: "flex items-center gap-3 mb-1" }, Fo = { class: "text-base font-semibold text-gray-900 truncate" }, To = {
|
|
2125
2122
|
key: 0,
|
|
2126
2123
|
class: "px-2 py-0.5 bg-green-50 border border-green-200 rounded flex-shrink-0"
|
|
2127
|
-
},
|
|
2124
|
+
}, Io = { class: "text-xs font-medium text-green-700" }, Oo = ["title"], Lo = { 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]" }, No = { class: "relative w-full h-full" }, Mo = { style: { top: "17px", left: "230px", position: "absolute", "z-index": "1" } }, Do = { class: "absolute top-4 left-4 z-20" }, Ro = { class: "absolute top-[6.5rem] right-2 space-y-1 z-20" }, $o = { class: "absolute bottom-4 left-4 z-20" }, jo = { class: "flex-1 flex flex-col h-full" }, Uo = { class: "px-3 pt-3 pb-2 border-b border-gray-100" }, Bo = { 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" }, Yo = ["aria-selected", "onClick"], Po = { class: "leading-none" }, Ho = { class: "flex flex-col flex-1 overflow-y-hidden p-3" }, Vo = "OpenGIS", Pn = 2, Te = 5, qo = 1e3, Ko = /* @__PURE__ */ ee({
|
|
2128
2125
|
__name: "service",
|
|
2129
2126
|
props: {
|
|
2130
2127
|
hideServiceKey: { type: Boolean, default: !1 }
|
|
2131
2128
|
},
|
|
2132
2129
|
setup(e) {
|
|
2133
2130
|
var vn, xn;
|
|
2134
|
-
const i =
|
|
2131
|
+
const i = Ki(e, "hideServiceKey"), r = Qi(), l = Wi(), { 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;
|
|
2135
2132
|
function d(c) {
|
|
2136
|
-
typeof document > "u" || (document.title = c ? `${c} — Сервіс` :
|
|
2133
|
+
typeof document > "u" || (document.title = c ? `${c} — Сервіс` : Vo);
|
|
2137
2134
|
}
|
|
2138
2135
|
let y = null;
|
|
2139
2136
|
const b = S(!1);
|
|
@@ -2143,7 +2140,7 @@ ${V}` : V;
|
|
|
2143
2140
|
}
|
|
2144
2141
|
function h(c) {
|
|
2145
2142
|
typeof window > "u" || window.dispatchEvent(
|
|
2146
|
-
new CustomEvent(
|
|
2143
|
+
new CustomEvent(tl, {
|
|
2147
2144
|
detail: c
|
|
2148
2145
|
})
|
|
2149
2146
|
);
|
|
@@ -2228,18 +2225,18 @@ ${V}` : V;
|
|
|
2228
2225
|
const c = s.value, f = (c == null ? void 0 : c.group_name) || (c == null ? void 0 : c.group_id);
|
|
2229
2226
|
return f ? String(f).toUpperCase() : "";
|
|
2230
2227
|
}), pn = [
|
|
2231
|
-
{ key: "style", label: "Стиль", icon:
|
|
2232
|
-
{ key: "popup", label: "Попап", icon:
|
|
2233
|
-
{ key: "filter", label: "Фільтр", icon:
|
|
2234
|
-
{ key: "legend", label: "Легенда", icon:
|
|
2235
|
-
{ key: "card", label: "Картка", icon:
|
|
2236
|
-
{ key: "metadata", label: "Метадані", icon:
|
|
2228
|
+
{ key: "style", label: "Стиль", icon: cl },
|
|
2229
|
+
{ key: "popup", label: "Попап", icon: Rt },
|
|
2230
|
+
{ key: "filter", label: "Фільтр", icon: Bt },
|
|
2231
|
+
{ key: "legend", label: "Легенда", icon: Lt },
|
|
2232
|
+
{ key: "card", label: "Картка", icon: fl },
|
|
2233
|
+
{ key: "metadata", label: "Метадані", icon: sl }
|
|
2237
2234
|
], mn = pn.map((c) => c.key), P = S("style");
|
|
2238
|
-
|
|
2235
|
+
zi(async () => {
|
|
2239
2236
|
const c = r.query.tab;
|
|
2240
|
-
c && mn.includes(c) && (P.value = c), await Ce(),
|
|
2237
|
+
c && mn.includes(c) && (P.value = c), await Ce(), $i();
|
|
2241
2238
|
});
|
|
2242
|
-
async function
|
|
2239
|
+
async function $i() {
|
|
2243
2240
|
var E;
|
|
2244
2241
|
const c = p();
|
|
2245
2242
|
if (!(c != null && c.ready)) return;
|
|
@@ -2289,26 +2286,26 @@ ${V}` : V;
|
|
|
2289
2286
|
}
|
|
2290
2287
|
return Cn(He(c));
|
|
2291
2288
|
}
|
|
2292
|
-
function
|
|
2289
|
+
function ji(c, f) {
|
|
2293
2290
|
try {
|
|
2294
2291
|
return JSON.stringify(c) === JSON.stringify(f);
|
|
2295
2292
|
} catch {
|
|
2296
2293
|
return !1;
|
|
2297
2294
|
}
|
|
2298
2295
|
}
|
|
2299
|
-
function
|
|
2296
|
+
function Ui() {
|
|
2300
2297
|
var f;
|
|
2301
2298
|
if (!s.value) return;
|
|
2302
2299
|
const c = Ve(B.value);
|
|
2303
|
-
|
|
2300
|
+
ji(c, ((f = s.value) == null ? void 0 : f.style) ?? null) || (s.value = {
|
|
2304
2301
|
...s.value,
|
|
2305
2302
|
style: c
|
|
2306
2303
|
});
|
|
2307
2304
|
}
|
|
2308
|
-
function
|
|
2305
|
+
function Bi() {
|
|
2309
2306
|
ne && clearTimeout(ne), ne = setTimeout(() => {
|
|
2310
|
-
ne = null,
|
|
2311
|
-
},
|
|
2307
|
+
ne = null, Ui();
|
|
2308
|
+
}, qo);
|
|
2312
2309
|
}
|
|
2313
2310
|
const Ce = async () => {
|
|
2314
2311
|
try {
|
|
@@ -2334,13 +2331,13 @@ ${V}` : V;
|
|
|
2334
2331
|
), I(
|
|
2335
2332
|
() => B.value,
|
|
2336
2333
|
() => {
|
|
2337
|
-
|
|
2334
|
+
Bi();
|
|
2338
2335
|
},
|
|
2339
2336
|
{ deep: !0 }
|
|
2340
2337
|
), Kn(() => {
|
|
2341
2338
|
ne && (clearTimeout(ne), ne = null), y == null || y(), y = null;
|
|
2342
2339
|
});
|
|
2343
|
-
async function
|
|
2340
|
+
async function Yi(c) {
|
|
2344
2341
|
try {
|
|
2345
2342
|
const f = await fetch(`/api/gis-clear-vtile/${c}`), { message: A, error: E, code: L } = await f.json();
|
|
2346
2343
|
if (L === 200)
|
|
@@ -2357,7 +2354,7 @@ ${V}` : V;
|
|
|
2357
2354
|
async function Se(c, f) {
|
|
2358
2355
|
await hn({ [c]: f }, c);
|
|
2359
2356
|
}
|
|
2360
|
-
function
|
|
2357
|
+
function Pi() {
|
|
2361
2358
|
const c = He(B.value);
|
|
2362
2359
|
s.value = s.value ? { ...s.value, style: c } : s.value;
|
|
2363
2360
|
}
|
|
@@ -2388,7 +2385,7 @@ ${V}` : V;
|
|
|
2388
2385
|
}), console.error(A);
|
|
2389
2386
|
}
|
|
2390
2387
|
}
|
|
2391
|
-
async function
|
|
2388
|
+
async function Hi(c, f) {
|
|
2392
2389
|
if (c !== "card") {
|
|
2393
2390
|
await Se(c, f);
|
|
2394
2391
|
return;
|
|
@@ -2402,13 +2399,13 @@ ${V}` : V;
|
|
|
2402
2399
|
}
|
|
2403
2400
|
return (c, f) => {
|
|
2404
2401
|
var A, E, L;
|
|
2405
|
-
return C(), D("div",
|
|
2406
|
-
v("div",
|
|
2407
|
-
v("div",
|
|
2408
|
-
v("div",
|
|
2409
|
-
v("div",
|
|
2410
|
-
v("div",
|
|
2411
|
-
v("div",
|
|
2402
|
+
return C(), D("div", xo, [
|
|
2403
|
+
v("div", yo, [
|
|
2404
|
+
v("div", go, [
|
|
2405
|
+
v("div", bo, [
|
|
2406
|
+
v("div", _o, [
|
|
2407
|
+
v("div", wo, [
|
|
2408
|
+
v("div", Ao, [
|
|
2412
2409
|
v("button", {
|
|
2413
2410
|
type: "button",
|
|
2414
2411
|
class: "hover:text-gray-700 cursor-pointer transition-colors",
|
|
@@ -2428,25 +2425,25 @@ ${V}` : V;
|
|
|
2428
2425
|
}, [
|
|
2429
2426
|
v("path", { d: "m9 18 6-6-6-6" })
|
|
2430
2427
|
], -1)),
|
|
2431
|
-
v("span",
|
|
2428
|
+
v("span", ko, ue(((A = s.value) == null ? void 0 : A.name) || "Dataset"), 1)
|
|
2432
2429
|
]),
|
|
2433
|
-
v("div",
|
|
2434
|
-
v("div",
|
|
2435
|
-
v("div",
|
|
2436
|
-
v("h1",
|
|
2437
|
-
dn.value ? (C(), D("div",
|
|
2438
|
-
v("span",
|
|
2430
|
+
v("div", Co, [
|
|
2431
|
+
v("div", So, [
|
|
2432
|
+
v("div", Eo, [
|
|
2433
|
+
v("h1", Fo, ue(((E = s.value) == null ? void 0 : E.name) || "Dataset"), 1),
|
|
2434
|
+
dn.value ? (C(), D("div", To, [
|
|
2435
|
+
v("span", Io, ue(dn.value), 1)
|
|
2439
2436
|
])) : q("", !0)
|
|
2440
2437
|
]),
|
|
2441
2438
|
Pe.value ? (C(), D("p", {
|
|
2442
2439
|
key: 0,
|
|
2443
2440
|
class: "text-xs text-gray-500 truncate",
|
|
2444
2441
|
title: Pe.value
|
|
2445
|
-
}, ue(Pe.value), 9,
|
|
2442
|
+
}, ue(Pe.value), 9, Oo)) : q("", !0)
|
|
2446
2443
|
])
|
|
2447
2444
|
])
|
|
2448
2445
|
]),
|
|
2449
|
-
Y.value ? (C(), M(
|
|
2446
|
+
Y.value ? (C(), M(ol, {
|
|
2450
2447
|
key: 0,
|
|
2451
2448
|
class: "flex-shrink-0",
|
|
2452
2449
|
"entity-id": Y.value,
|
|
@@ -2455,36 +2452,36 @@ ${V}` : V;
|
|
|
2455
2452
|
"entity-label": "Сервіс",
|
|
2456
2453
|
"save-method": "put",
|
|
2457
2454
|
"show-xml-item": !1,
|
|
2458
|
-
"clear-tiles-handler":
|
|
2455
|
+
"clear-tiles-handler": Yi,
|
|
2459
2456
|
onSaved: Ce
|
|
2460
2457
|
}, null, 8, ["entity-id", "entity-info"])) : q("", !0)
|
|
2461
2458
|
])
|
|
2462
2459
|
])
|
|
2463
2460
|
]),
|
|
2464
|
-
v("div",
|
|
2465
|
-
v("div",
|
|
2466
|
-
j(
|
|
2461
|
+
v("div", Lo, [
|
|
2462
|
+
v("div", No, [
|
|
2463
|
+
j(Zi, {
|
|
2467
2464
|
ref_key: "mapViewRef",
|
|
2468
2465
|
ref: t
|
|
2469
2466
|
}, {
|
|
2470
2467
|
default: We(() => {
|
|
2471
2468
|
var k, z, F, J, H, ie, Ee;
|
|
2472
2469
|
return [
|
|
2473
|
-
(k = s.value) != null && k.service_id ? (C(), M(
|
|
2470
|
+
(k = s.value) != null && k.service_id ? (C(), M(vo, {
|
|
2474
2471
|
key: 0,
|
|
2475
2472
|
id: (z = s.value) == null ? void 0 : z.service_id,
|
|
2476
2473
|
layer: s.value,
|
|
2477
2474
|
"style-spec": ((F = s.value) == null ? void 0 : F.style) || null,
|
|
2478
2475
|
autoCenter: !1
|
|
2479
2476
|
}, null, 8, ["id", "layer", "style-spec"])) : q("", !0),
|
|
2480
|
-
Y.value ? (C(), M(
|
|
2477
|
+
Y.value ? (C(), M(Xi, {
|
|
2481
2478
|
key: 1,
|
|
2482
2479
|
"layer-id": Y.value,
|
|
2483
2480
|
boundary: ((J = s.value) == null ? void 0 : J.boundary) || ((H = fn.value) == null ? void 0 : H.boundary) || null,
|
|
2484
2481
|
katottg: ((ie = s.value) == null ? void 0 : ie.katottg) || ((Ee = fn.value) == null ? void 0 : Ee.katottg) || null
|
|
2485
2482
|
}, null, 8, ["layer-id", "boundary", "katottg"])) : q("", !0),
|
|
2486
|
-
v("div",
|
|
2487
|
-
Y.value ? (C(), M(
|
|
2483
|
+
v("div", Mo, [
|
|
2484
|
+
Y.value ? (C(), M(el, {
|
|
2488
2485
|
key: 0,
|
|
2489
2486
|
"layer-id": Y.value,
|
|
2490
2487
|
filters: Ae.value
|
|
@@ -2494,10 +2491,10 @@ ${V}` : V;
|
|
|
2494
2491
|
id: "map-filter-popover-host",
|
|
2495
2492
|
class: "map-widget__filter-host"
|
|
2496
2493
|
}, null, -1)),
|
|
2497
|
-
v("div",
|
|
2498
|
-
j(
|
|
2494
|
+
v("div", Do, [
|
|
2495
|
+
j(nl)
|
|
2499
2496
|
]),
|
|
2500
|
-
v("div",
|
|
2497
|
+
v("div", Ro, [
|
|
2501
2498
|
j(kn),
|
|
2502
2499
|
a.value.center ? (C(), M(kn, {
|
|
2503
2500
|
key: 0,
|
|
@@ -2505,13 +2502,13 @@ ${V}` : V;
|
|
|
2505
2502
|
targetLabel: "Ценр даних"
|
|
2506
2503
|
}, null, 8, ["targetCenter"])) : q("", !0)
|
|
2507
2504
|
]),
|
|
2508
|
-
v("div",
|
|
2509
|
-
j(
|
|
2505
|
+
v("div", $o, [
|
|
2506
|
+
j(il, {
|
|
2510
2507
|
items: te.value || null
|
|
2511
2508
|
}, null, 8, ["items"])
|
|
2512
2509
|
]),
|
|
2513
|
-
j(
|
|
2514
|
-
j(
|
|
2510
|
+
j(ll),
|
|
2511
|
+
j(rl, {
|
|
2515
2512
|
html: a.value.html
|
|
2516
2513
|
}, null, 8, ["html"])
|
|
2517
2514
|
];
|
|
@@ -2520,7 +2517,7 @@ ${V}` : V;
|
|
|
2520
2517
|
}, 512)
|
|
2521
2518
|
])
|
|
2522
2519
|
]),
|
|
2523
|
-
j(
|
|
2520
|
+
j(ul, {
|
|
2524
2521
|
open: ke.value,
|
|
2525
2522
|
onToggle: f[1] || (f[1] = (k) => ke.value = !ke.value),
|
|
2526
2523
|
"top-class": "top-4"
|
|
@@ -2529,9 +2526,9 @@ ${V}` : V;
|
|
|
2529
2526
|
v("div", {
|
|
2530
2527
|
class: he(["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"])
|
|
2531
2528
|
}, [
|
|
2532
|
-
v("div",
|
|
2533
|
-
v("div",
|
|
2534
|
-
v("div",
|
|
2529
|
+
v("div", jo, [
|
|
2530
|
+
v("div", Uo, [
|
|
2531
|
+
v("div", Bo, [
|
|
2535
2532
|
(C(), D(Hn, null, Vn(pn, (k) => v("button", {
|
|
2536
2533
|
key: k.key,
|
|
2537
2534
|
type: "button",
|
|
@@ -2543,34 +2540,34 @@ ${V}` : V;
|
|
|
2543
2540
|
]),
|
|
2544
2541
|
onClick: (z) => P.value = k.key
|
|
2545
2542
|
}, [
|
|
2546
|
-
(C(), M(
|
|
2547
|
-
v("span",
|
|
2548
|
-
], 10,
|
|
2543
|
+
(C(), M(Gi(k.icon), { class: "h-3.5 w-3.5 mb-0.5" })),
|
|
2544
|
+
v("span", Po, ue(k.label), 1)
|
|
2545
|
+
], 10, Yo)), 64))
|
|
2549
2546
|
])
|
|
2550
2547
|
]),
|
|
2551
|
-
v("div",
|
|
2552
|
-
P.value === "style" ? (C(), M(
|
|
2548
|
+
v("div", Ho, [
|
|
2549
|
+
P.value === "style" ? (C(), M(zt, {
|
|
2553
2550
|
key: 0,
|
|
2554
2551
|
token: Y.value,
|
|
2555
2552
|
"style-text": pe.value,
|
|
2556
2553
|
"style-yaml": B.value,
|
|
2557
2554
|
"onUpdate:styleYaml": f[2] || (f[2] = (k) => B.value = k),
|
|
2558
2555
|
"onUpdate:styleText": f[3] || (f[3] = (k) => pe.value = k),
|
|
2559
|
-
onUpdate:
|
|
2560
|
-
}, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(
|
|
2556
|
+
onUpdate: Pi
|
|
2557
|
+
}, null, 8, ["token", "style-text", "style-yaml"])) : P.value === "legend" ? (C(), M(ro, {
|
|
2561
2558
|
key: 1,
|
|
2562
2559
|
token: Y.value,
|
|
2563
2560
|
columns: te.value,
|
|
2564
2561
|
"onUpdate:columns": f[4] || (f[4] = (k) => te.value = k),
|
|
2565
2562
|
onSave: f[5] || (f[5] = (k) => Se("legend", k))
|
|
2566
|
-
}, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(
|
|
2563
|
+
}, null, 8, ["token", "columns"])) : P.value === "popup" ? (C(), M(Wt, {
|
|
2567
2564
|
key: 2,
|
|
2568
2565
|
token: Y.value,
|
|
2569
2566
|
columns: Ue.value,
|
|
2570
2567
|
fields: a.value.fields,
|
|
2571
2568
|
"onUpdate:columns": f[6] || (f[6] = (k) => Ue.value = k),
|
|
2572
2569
|
onSave: f[7] || (f[7] = (k) => Se("popup", k))
|
|
2573
|
-
}, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(
|
|
2570
|
+
}, null, 8, ["token", "columns", "fields"])) : P.value === "card" ? (C(), M(po, {
|
|
2574
2571
|
key: 3,
|
|
2575
2572
|
token: Y.value,
|
|
2576
2573
|
columns: we.value,
|
|
@@ -2578,15 +2575,15 @@ ${V}` : V;
|
|
|
2578
2575
|
"view-mode": Be.value,
|
|
2579
2576
|
html: Ye.value,
|
|
2580
2577
|
"onUpdate:columns": f[8] || (f[8] = (k) => we.value = k),
|
|
2581
|
-
onSave:
|
|
2582
|
-
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(
|
|
2578
|
+
onSave: Hi
|
|
2579
|
+
}, null, 8, ["token", "columns", "fields", "view-mode", "html"])) : P.value === "filter" ? (C(), M(ho, {
|
|
2583
2580
|
key: 4,
|
|
2584
2581
|
token: Y.value,
|
|
2585
2582
|
fields: a.value.fields,
|
|
2586
2583
|
columns: Ae.value,
|
|
2587
2584
|
"onUpdate:columns": f[9] || (f[9] = (k) => Ae.value = k),
|
|
2588
2585
|
onSave: f[10] || (f[10] = (k) => Se("filters", k))
|
|
2589
|
-
}, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(
|
|
2586
|
+
}, null, 8, ["token", "fields", "columns"])) : P.value === "metadata" ? (C(), M(al, {
|
|
2590
2587
|
key: 5,
|
|
2591
2588
|
data: s.value,
|
|
2592
2589
|
"entity-id": String(ve(o)),
|
|
@@ -2599,7 +2596,7 @@ ${V}` : V;
|
|
|
2599
2596
|
]);
|
|
2600
2597
|
};
|
|
2601
2598
|
}
|
|
2602
|
-
}),
|
|
2599
|
+
}), iu = /* @__PURE__ */ Re(Ko, [["__scopeId", "data-v-008c5939"]]);
|
|
2603
2600
|
export {
|
|
2604
|
-
|
|
2601
|
+
iu as default
|
|
2605
2602
|
};
|