@kong-ui-public/entities-certificates 2.1.17 → 2.1.19
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/entities-certificates.es.js +481 -479
- package/dist/entities-certificates.umd.js +18 -18
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as Q, defineComponent as Oe, inject as ku, computed as M, resolveComponent as te, openBlock as B, createElementBlock as R, createBlock as ie, resolveDynamicComponent as Dt, mergeProps as mi, withCtx as x, createElementVNode as oe, normalizeClass as Ut, toDisplayString as
|
|
2
|
-
import { useRouter as
|
|
1
|
+
import { ref as Q, defineComponent as Oe, inject as ku, computed as M, resolveComponent as te, openBlock as B, createElementBlock as R, createBlock as ie, resolveDynamicComponent as Dt, mergeProps as mi, withCtx as x, createElementVNode as oe, normalizeClass as Ut, toDisplayString as P, createCommentVNode as he, createVNode as $, withModifiers as Mr, unref as S, normalizeStyle as wa, pushScopeId as ka, popScopeId as Aa, watch as zt, renderSlot as Ne, useCssVars as Au, useSlots as Dn, createSlots as Xt, createTextVNode as ue, normalizeProps as Op, guardReactiveProps as _p, Fragment as Ke, renderList as Le, onBeforeMount as Un, withDirectives as $r, vShow as Vr, onMounted as Tp, onUnmounted as jp, Teleport as Su, reactive as nn } from "vue";
|
|
2
|
+
import { useRouter as Vi } from "vue-router";
|
|
3
3
|
import { createI18n as Ln, i18nTComponent as Cu } from "@kong-ui-public/i18n";
|
|
4
|
-
import
|
|
5
|
-
import { BadgeMethodAppearances as
|
|
4
|
+
import $p from "axios";
|
|
5
|
+
import { BadgeMethodAppearances as Vp } from "@kong/kongponents";
|
|
6
6
|
var Qo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (C) Microsoft. All rights reserved.
|
|
@@ -71,7 +71,7 @@ var kl;
|
|
|
71
71
|
function j(D, ee) {
|
|
72
72
|
if (!le(D))
|
|
73
73
|
throw new TypeError();
|
|
74
|
-
if (!Be(ee) &&
|
|
74
|
+
if (!Be(ee) && !Pe(ee))
|
|
75
75
|
throw new TypeError();
|
|
76
76
|
Te(C, E, D, ee);
|
|
77
77
|
}
|
|
@@ -179,7 +179,7 @@ var kl;
|
|
|
179
179
|
var D = L(C, E, j);
|
|
180
180
|
if (D)
|
|
181
181
|
return !0;
|
|
182
|
-
var ee =
|
|
182
|
+
var ee = Po(E);
|
|
183
183
|
return pt(ee) ? !1 : z(C, ee, j);
|
|
184
184
|
}
|
|
185
185
|
function L(C, E, j) {
|
|
@@ -195,7 +195,7 @@ var kl;
|
|
|
195
195
|
var D = L(C, E, j);
|
|
196
196
|
if (D)
|
|
197
197
|
return Se(C, E, j);
|
|
198
|
-
var ee =
|
|
198
|
+
var ee = Po(E);
|
|
199
199
|
if (!pt(ee))
|
|
200
200
|
return ge(C, ee, j);
|
|
201
201
|
}
|
|
@@ -219,7 +219,7 @@ var kl;
|
|
|
219
219
|
ee.set(C, E);
|
|
220
220
|
}
|
|
221
221
|
function Ce(C, E) {
|
|
222
|
-
var j = Ie(C, E), D =
|
|
222
|
+
var j = Ie(C, E), D = Po(C);
|
|
223
223
|
if (D === null)
|
|
224
224
|
return j;
|
|
225
225
|
var ee = Ce(D, E);
|
|
@@ -263,7 +263,7 @@ var kl;
|
|
|
263
263
|
fe++;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Ve(C) {
|
|
267
267
|
if (C === null)
|
|
268
268
|
return 1;
|
|
269
269
|
switch (typeof C) {
|
|
@@ -296,7 +296,7 @@ var kl;
|
|
|
296
296
|
return typeof C == "object" ? C !== null : typeof C == "function";
|
|
297
297
|
}
|
|
298
298
|
function q(C, E) {
|
|
299
|
-
switch (
|
|
299
|
+
switch (Ve(C)) {
|
|
300
300
|
case 0:
|
|
301
301
|
return C;
|
|
302
302
|
case 1:
|
|
@@ -372,8 +372,8 @@ var kl;
|
|
|
372
372
|
function re(C) {
|
|
373
373
|
return typeof C == "function";
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
switch (
|
|
375
|
+
function Pe(C) {
|
|
376
|
+
switch (Ve(C)) {
|
|
377
377
|
case 3:
|
|
378
378
|
return !0;
|
|
379
379
|
case 4:
|
|
@@ -410,7 +410,7 @@ var kl;
|
|
|
410
410
|
var E = C.return;
|
|
411
411
|
E && E.call(C);
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function Po(C) {
|
|
414
414
|
var E = Object.getPrototypeOf(C);
|
|
415
415
|
if (typeof C != "function" || C === h || E !== h)
|
|
416
416
|
return E;
|
|
@@ -654,10 +654,10 @@ var kl;
|
|
|
654
654
|
* SOFTWARE.
|
|
655
655
|
*
|
|
656
656
|
*/
|
|
657
|
-
const
|
|
657
|
+
const Pp = "[object ArrayBuffer]";
|
|
658
658
|
class U {
|
|
659
659
|
static isArrayBuffer(t) {
|
|
660
|
-
return Object.prototype.toString.call(t) ===
|
|
660
|
+
return Object.prototype.toString.call(t) === Pp;
|
|
661
661
|
}
|
|
662
662
|
static toArrayBuffer(t) {
|
|
663
663
|
return this.isArrayBuffer(t) ? t : t.byteLength === t.buffer.byteLength || t.byteOffset === 0 && t.byteLength === t.buffer.byteLength ? t.buffer : this.toUint8Array(t.buffer).slice(t.byteOffset, t.byteOffset + t.byteLength).buffer;
|
|
@@ -1415,14 +1415,14 @@ class Tu extends Ot(tt) {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
Tu.NAME = "PrimitiveValueBlock";
|
|
1417
1417
|
var ju;
|
|
1418
|
-
class
|
|
1418
|
+
class Pi extends Ge {
|
|
1419
1419
|
constructor(t = {}) {
|
|
1420
1420
|
super(t, Tu), this.idBlock.isConstructed = !1;
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
ju =
|
|
1423
|
+
ju = Pi;
|
|
1424
1424
|
F.Primitive = ju;
|
|
1425
|
-
|
|
1425
|
+
Pi.NAME = "PRIMITIVE";
|
|
1426
1426
|
function Zp(e, t) {
|
|
1427
1427
|
if (e instanceof t)
|
|
1428
1428
|
return e;
|
|
@@ -1585,7 +1585,7 @@ function ei(e, t = 0, r = e.length) {
|
|
|
1585
1585
|
result: n
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function Pr(e) {
|
|
1589
1589
|
if (!e.byteLength) {
|
|
1590
1590
|
const t = new Ge({}, tt);
|
|
1591
1591
|
return t.error = "Input buffer has zero length", {
|
|
@@ -1636,7 +1636,7 @@ class er extends tt {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
er.NAME = "ConstructedValueBlock";
|
|
1639
|
-
var
|
|
1639
|
+
var $u;
|
|
1640
1640
|
class ot extends Ge {
|
|
1641
1641
|
constructor(t = {}) {
|
|
1642
1642
|
super(t, er), this.idBlock.isConstructed = !0;
|
|
@@ -1658,10 +1658,10 @@ ${t.join(`
|
|
|
1658
1658
|
`)}` : `${r} :`;
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
|
|
1662
|
-
F.Constructed =
|
|
1661
|
+
$u = ot;
|
|
1662
|
+
F.Constructed = $u;
|
|
1663
1663
|
ot.NAME = "CONSTRUCTED";
|
|
1664
|
-
class
|
|
1664
|
+
class Vu extends tt {
|
|
1665
1665
|
fromBER(t, r, i) {
|
|
1666
1666
|
return r;
|
|
1667
1667
|
}
|
|
@@ -1669,15 +1669,15 @@ class Pu extends tt {
|
|
|
1669
1669
|
return At;
|
|
1670
1670
|
}
|
|
1671
1671
|
}
|
|
1672
|
-
|
|
1673
|
-
var
|
|
1672
|
+
Vu.override = "EndOfContentValueBlock";
|
|
1673
|
+
var Pu;
|
|
1674
1674
|
class xa extends Ge {
|
|
1675
1675
|
constructor(t = {}) {
|
|
1676
|
-
super(t,
|
|
1676
|
+
super(t, Vu), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 0;
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
|
|
1680
|
-
F.EndOfContent =
|
|
1679
|
+
Pu = xa;
|
|
1680
|
+
F.EndOfContent = Pu;
|
|
1681
1681
|
xa.NAME = vi;
|
|
1682
1682
|
var Mu;
|
|
1683
1683
|
class br extends Ge {
|
|
@@ -2425,14 +2425,14 @@ Zu = Ba;
|
|
|
2425
2425
|
F.RelativeObjectIdentifier = Zu;
|
|
2426
2426
|
Ba.NAME = "RelativeObjectIdentifier";
|
|
2427
2427
|
var Qu;
|
|
2428
|
-
class
|
|
2428
|
+
class Pt extends ot {
|
|
2429
2429
|
constructor(t = {}) {
|
|
2430
2430
|
super(t), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 16;
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
Qu =
|
|
2433
|
+
Qu = Pt;
|
|
2434
2434
|
F.Sequence = Qu;
|
|
2435
|
-
|
|
2435
|
+
Pt.NAME = "SEQUENCE";
|
|
2436
2436
|
var Xu;
|
|
2437
2437
|
let Mt = class extends ot {
|
|
2438
2438
|
constructor(t = {}) {
|
|
@@ -3122,12 +3122,12 @@ const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3122
3122
|
NumericString: Jn,
|
|
3123
3123
|
ObjectIdentifier: zn,
|
|
3124
3124
|
OctetString: fr,
|
|
3125
|
-
Primitive:
|
|
3125
|
+
Primitive: Pi,
|
|
3126
3126
|
PrintableString: Yn,
|
|
3127
3127
|
RawData: th,
|
|
3128
3128
|
RelativeObjectIdentifier: Ba,
|
|
3129
3129
|
Repeated: sn,
|
|
3130
|
-
Sequence:
|
|
3130
|
+
Sequence: Pt,
|
|
3131
3131
|
Set: Mt,
|
|
3132
3132
|
TIME: Ta,
|
|
3133
3133
|
TeletexString: Zn,
|
|
@@ -3140,7 +3140,7 @@ const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3140
3140
|
ViewWriter: Hn,
|
|
3141
3141
|
VisibleString: Mi,
|
|
3142
3142
|
compareSchema: ur,
|
|
3143
|
-
fromBER:
|
|
3143
|
+
fromBER: Pr,
|
|
3144
3144
|
verifySchema: rh
|
|
3145
3145
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3146
3146
|
var _;
|
|
@@ -3218,7 +3218,7 @@ const ih = {
|
|
|
3218
3218
|
toASN: (e) => {
|
|
3219
3219
|
if (e === null)
|
|
3220
3220
|
return new br();
|
|
3221
|
-
const t =
|
|
3221
|
+
const t = Pr(e);
|
|
3222
3222
|
if (t.result.error)
|
|
3223
3223
|
throw new Error(t.result.error);
|
|
3224
3224
|
return t.result;
|
|
@@ -3264,7 +3264,7 @@ const xd = mt(Wt), uh = mt(Gn), dh = mt(Wn), fh = mt(Jn), ph = mt(Yn), hh = mt(Z
|
|
|
3264
3264
|
fromASN: () => null,
|
|
3265
3265
|
toASN: () => new br()
|
|
3266
3266
|
};
|
|
3267
|
-
function
|
|
3267
|
+
function $a(e) {
|
|
3268
3268
|
switch (e) {
|
|
3269
3269
|
case b.Any:
|
|
3270
3270
|
return ih;
|
|
@@ -3314,8 +3314,8 @@ function Va(e) {
|
|
|
3314
3314
|
return null;
|
|
3315
3315
|
}
|
|
3316
3316
|
}
|
|
3317
|
-
function
|
|
3318
|
-
return typeof e == "function" && e.prototype ? e.prototype.toASN && e.prototype.fromASN ? !0 :
|
|
3317
|
+
function Vt(e) {
|
|
3318
|
+
return typeof e == "function" && e.prototype ? e.prototype.toASN && e.prototype.fromASN ? !0 : Vt(e.prototype) : !!(e && typeof e == "object" && "toASN" in e && "fromASN" in e);
|
|
3319
3319
|
}
|
|
3320
3320
|
function Id(e) {
|
|
3321
3321
|
var t;
|
|
@@ -3371,11 +3371,11 @@ class xh {
|
|
|
3371
3371
|
throw new Error(`Cannot get ASN1 class by name '${h}'`);
|
|
3372
3372
|
l = new f({ name: a });
|
|
3373
3373
|
} else
|
|
3374
|
-
|
|
3374
|
+
Vt(s.type) ? l = new s.type().toSchema(a) : s.optional ? this.get(s.type).type === _.Choice ? l = new wr({ name: a }) : (l = this.create(s.type, !1), l.name = a) : l = new wr({ name: a });
|
|
3375
3375
|
const u = !!s.optional || s.defaultValue !== void 0;
|
|
3376
3376
|
if (s.repeated) {
|
|
3377
3377
|
l.name = "";
|
|
3378
|
-
const h = s.repeated === "set" ? Mt :
|
|
3378
|
+
const h = s.repeated === "set" ? Mt : Pt;
|
|
3379
3379
|
l = new h({
|
|
3380
3380
|
name: "",
|
|
3381
3381
|
value: [
|
|
@@ -3388,8 +3388,8 @@ class xh {
|
|
|
3388
3388
|
}
|
|
3389
3389
|
if (s.context !== null && s.context !== void 0)
|
|
3390
3390
|
if (s.implicit)
|
|
3391
|
-
if (typeof s.type == "number" ||
|
|
3392
|
-
const h = s.repeated ? ot :
|
|
3391
|
+
if (typeof s.type == "number" || Vt(s.type)) {
|
|
3392
|
+
const h = s.repeated ? ot : Pi;
|
|
3393
3393
|
n.push(new h({
|
|
3394
3394
|
name: a,
|
|
3395
3395
|
optional: u,
|
|
@@ -3426,7 +3426,7 @@ class xh {
|
|
|
3426
3426
|
}
|
|
3427
3427
|
switch (i.type) {
|
|
3428
3428
|
case _.Sequence:
|
|
3429
|
-
return new
|
|
3429
|
+
return new Pt({ value: n, name: "" });
|
|
3430
3430
|
case _.Set:
|
|
3431
3431
|
return new Mt({ value: n, name: "" });
|
|
3432
3432
|
case _.Choice:
|
|
@@ -3443,7 +3443,7 @@ class xh {
|
|
|
3443
3443
|
return r ? this.items.get(r) || this.findParentSchema(r) : null;
|
|
3444
3444
|
}
|
|
3445
3445
|
}
|
|
3446
|
-
const ht = new xh(),
|
|
3446
|
+
const ht = new xh(), V = (e) => (t) => {
|
|
3447
3447
|
let r;
|
|
3448
3448
|
ht.has(t) ? r = ht.get(t) : (r = ht.createDefault(t), ht.set(t, r)), Object.assign(r, e);
|
|
3449
3449
|
}, d = (e) => (t, r) => {
|
|
@@ -3451,7 +3451,7 @@ const ht = new xh(), P = (e) => (t) => {
|
|
|
3451
3451
|
ht.has(t.constructor) ? i = ht.get(t.constructor) : (i = ht.createDefault(t.constructor), ht.set(t.constructor, i));
|
|
3452
3452
|
const n = Object.assign({}, e);
|
|
3453
3453
|
if (typeof n.type == "number" && !n.converter) {
|
|
3454
|
-
const o =
|
|
3454
|
+
const o = $a(e.type);
|
|
3455
3455
|
if (!o)
|
|
3456
3456
|
throw new Error(`Cannot get default converter for property '${r}' of ${t.constructor.name}`);
|
|
3457
3457
|
n.converter = o;
|
|
@@ -3465,7 +3465,7 @@ class Il extends Error {
|
|
|
3465
3465
|
}
|
|
3466
3466
|
class Ih {
|
|
3467
3467
|
static parse(t, r) {
|
|
3468
|
-
const i =
|
|
3468
|
+
const i = Pr(t);
|
|
3469
3469
|
if (i.result.error)
|
|
3470
3470
|
throw new Error(i.result.error);
|
|
3471
3471
|
return this.fromASN(i.result, r);
|
|
@@ -3473,7 +3473,7 @@ class Ih {
|
|
|
3473
3473
|
static fromASN(t, r) {
|
|
3474
3474
|
var i;
|
|
3475
3475
|
try {
|
|
3476
|
-
if (
|
|
3476
|
+
if (Vt(r))
|
|
3477
3477
|
return new r().fromASN(t);
|
|
3478
3478
|
const n = ht.get(r);
|
|
3479
3479
|
ht.cache(r);
|
|
@@ -3498,7 +3498,7 @@ class Ih {
|
|
|
3498
3498
|
throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.");
|
|
3499
3499
|
const l = n.itemType;
|
|
3500
3500
|
if (typeof l == "number") {
|
|
3501
|
-
const u =
|
|
3501
|
+
const u = $a(l);
|
|
3502
3502
|
if (!u)
|
|
3503
3503
|
throw new Error(`Cannot get default converter for array item of ${r.name} ASN1 schema`);
|
|
3504
3504
|
return r.from(t.valueBlock.value, (h) => u.fromASN(h));
|
|
@@ -3510,15 +3510,15 @@ class Ih {
|
|
|
3510
3510
|
if (!u)
|
|
3511
3511
|
continue;
|
|
3512
3512
|
const h = n.items[l], f = h.type;
|
|
3513
|
-
if (typeof f == "number" ||
|
|
3514
|
-
const I = (i = h.converter) !== null && i !== void 0 ? i :
|
|
3513
|
+
if (typeof f == "number" || Vt(f)) {
|
|
3514
|
+
const I = (i = h.converter) !== null && i !== void 0 ? i : Vt(f) ? new f() : null;
|
|
3515
3515
|
if (!I)
|
|
3516
3516
|
throw new Error("Converter is empty");
|
|
3517
3517
|
if (h.repeated)
|
|
3518
3518
|
if (h.implicit) {
|
|
3519
|
-
const m = h.repeated === "sequence" ?
|
|
3519
|
+
const m = h.repeated === "sequence" ? Pt : Mt, p = new m();
|
|
3520
3520
|
p.valueBlock = u.valueBlock;
|
|
3521
|
-
const y =
|
|
3521
|
+
const y = Pr(p.toBER(!1));
|
|
3522
3522
|
if (y.offset === -1)
|
|
3523
3523
|
throw new Error(`Cannot parse the child item. ${y.result.error}`);
|
|
3524
3524
|
if (!("value" in y.result.valueBlock && Array.isArray(y.result.valueBlock.value)))
|
|
@@ -3531,7 +3531,7 @@ class Ih {
|
|
|
3531
3531
|
let m = u;
|
|
3532
3532
|
if (h.implicit) {
|
|
3533
3533
|
let p;
|
|
3534
|
-
if (
|
|
3534
|
+
if (Vt(f))
|
|
3535
3535
|
p = new f().toSchema("");
|
|
3536
3536
|
else {
|
|
3537
3537
|
const y = b[f], w = Cd[y];
|
|
@@ -3539,7 +3539,7 @@ class Ih {
|
|
|
3539
3539
|
throw new Error(`Cannot get '${y}' class from asn1js module`);
|
|
3540
3540
|
p = new w();
|
|
3541
3541
|
}
|
|
3542
|
-
p.valueBlock = m.valueBlock, m =
|
|
3542
|
+
p.valueBlock = m.valueBlock, m = Pr(p.toBER(!1)).result;
|
|
3543
3543
|
}
|
|
3544
3544
|
a[l] = I.fromASN(m);
|
|
3545
3545
|
}
|
|
@@ -3556,12 +3556,12 @@ class Ih {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
3559
|
-
class
|
|
3559
|
+
class Va {
|
|
3560
3560
|
static serialize(t) {
|
|
3561
3561
|
return t instanceof Ge ? t.toBER(!1) : this.toASN(t).toBER(!1);
|
|
3562
3562
|
}
|
|
3563
3563
|
static toASN(t) {
|
|
3564
|
-
if (t && typeof t == "object" &&
|
|
3564
|
+
if (t && typeof t == "object" && Vt(t))
|
|
3565
3565
|
return t.toASN();
|
|
3566
3566
|
if (!(t && typeof t == "object"))
|
|
3567
3567
|
throw new TypeError("Parameter 1 should be type of Object.");
|
|
@@ -3572,7 +3572,7 @@ class Pa {
|
|
|
3572
3572
|
if (!Array.isArray(t))
|
|
3573
3573
|
throw new TypeError("Parameter 1 should be type of Array.");
|
|
3574
3574
|
if (typeof i.itemType == "number") {
|
|
3575
|
-
const s =
|
|
3575
|
+
const s = $a(i.itemType);
|
|
3576
3576
|
if (!s)
|
|
3577
3577
|
throw new Error(`Cannot get default converter for array item of ${r.name} ASN1 schema`);
|
|
3578
3578
|
n = t.map((a) => s.toASN(a));
|
|
@@ -3583,12 +3583,12 @@ class Pa {
|
|
|
3583
3583
|
const a = i.items[s], l = t[s];
|
|
3584
3584
|
if (l === void 0 || a.defaultValue === l || typeof a.defaultValue == "object" && typeof l == "object" && Ch(this.serialize(a.defaultValue), this.serialize(l)))
|
|
3585
3585
|
continue;
|
|
3586
|
-
const u =
|
|
3586
|
+
const u = Va.toAsnItem(a, s, r, l);
|
|
3587
3587
|
if (typeof a.context == "number")
|
|
3588
3588
|
if (a.implicit)
|
|
3589
|
-
if (!a.repeated && (typeof a.type == "number" ||
|
|
3589
|
+
if (!a.repeated && (typeof a.type == "number" || Vt(a.type))) {
|
|
3590
3590
|
const h = {};
|
|
3591
|
-
h.valueHex = u instanceof br ? u.valueBeforeDecodeView : u.valueBlock.toBER(), n.push(new
|
|
3591
|
+
h.valueHex = u instanceof br ? u.valueBeforeDecodeView : u.valueBlock.toBER(), n.push(new Pi({
|
|
3592
3592
|
optional: a.optional,
|
|
3593
3593
|
idBlock: {
|
|
3594
3594
|
tagClass: 3,
|
|
@@ -3620,7 +3620,7 @@ class Pa {
|
|
|
3620
3620
|
let o;
|
|
3621
3621
|
switch (i.type) {
|
|
3622
3622
|
case _.Sequence:
|
|
3623
|
-
o = new
|
|
3623
|
+
o = new Pt({ value: n });
|
|
3624
3624
|
break;
|
|
3625
3625
|
case _.Set:
|
|
3626
3626
|
o = new Mt({ value: n });
|
|
@@ -3642,7 +3642,7 @@ class Pa {
|
|
|
3642
3642
|
if (t.repeated) {
|
|
3643
3643
|
if (!Array.isArray(n))
|
|
3644
3644
|
throw new TypeError("Parameter 'objProp' should be type of Array.");
|
|
3645
|
-
const a = Array.from(n, (u) => s.toASN(u)), l = t.repeated === "sequence" ?
|
|
3645
|
+
const a = Array.from(n, (u) => s.toASN(u)), l = t.repeated === "sequence" ? Pt : Mt;
|
|
3646
3646
|
o = new l({
|
|
3647
3647
|
value: a
|
|
3648
3648
|
});
|
|
@@ -3651,7 +3651,7 @@ class Pa {
|
|
|
3651
3651
|
} else if (t.repeated) {
|
|
3652
3652
|
if (!Array.isArray(n))
|
|
3653
3653
|
throw new TypeError("Parameter 'objProp' should be type of Array.");
|
|
3654
|
-
const s = Array.from(n, (l) => this.toASN(l)), a = t.repeated === "sequence" ?
|
|
3654
|
+
const s = Array.from(n, (l) => this.toASN(l)), a = t.repeated === "sequence" ? Pt : Mt;
|
|
3655
3655
|
o = new a({
|
|
3656
3656
|
value: s
|
|
3657
3657
|
});
|
|
@@ -3673,13 +3673,13 @@ class Ae extends Array {
|
|
|
3673
3673
|
}
|
|
3674
3674
|
class Y {
|
|
3675
3675
|
static serialize(t) {
|
|
3676
|
-
return
|
|
3676
|
+
return Va.serialize(t);
|
|
3677
3677
|
}
|
|
3678
3678
|
static parse(t, r) {
|
|
3679
3679
|
return Ih.parse(t, r);
|
|
3680
3680
|
}
|
|
3681
3681
|
static toString(t) {
|
|
3682
|
-
const r = U.isBufferSource(t) ? U.toArrayBuffer(t) : Y.serialize(t), i =
|
|
3682
|
+
const r = U.isBufferSource(t) ? U.toArrayBuffer(t) : Y.serialize(t), i = Pr(r);
|
|
3683
3683
|
if (i.offset === -1)
|
|
3684
3684
|
throw new Error(`Cannot decode ASN.1 data. ${i.result.error}`);
|
|
3685
3685
|
return i.result.toString();
|
|
@@ -4200,7 +4200,7 @@ c([
|
|
|
4200
4200
|
d({ type: b.BmpString })
|
|
4201
4201
|
], We.prototype, "bmpString", void 0);
|
|
4202
4202
|
We = c([
|
|
4203
|
-
|
|
4203
|
+
V({ type: _.Choice })
|
|
4204
4204
|
], We);
|
|
4205
4205
|
let Dr = class extends We {
|
|
4206
4206
|
constructor(t = {}) {
|
|
@@ -4217,7 +4217,7 @@ c([
|
|
|
4217
4217
|
d({ type: b.Any })
|
|
4218
4218
|
], Dr.prototype, "anyValue", void 0);
|
|
4219
4219
|
Dr = c([
|
|
4220
|
-
|
|
4220
|
+
V({ type: _.Choice })
|
|
4221
4221
|
], Dr);
|
|
4222
4222
|
class bi {
|
|
4223
4223
|
constructor(t = {}) {
|
|
@@ -4236,7 +4236,7 @@ let Ur = rs = class extends Ae {
|
|
|
4236
4236
|
}
|
|
4237
4237
|
};
|
|
4238
4238
|
Ur = rs = c([
|
|
4239
|
-
|
|
4239
|
+
V({ type: _.Set, itemType: bi })
|
|
4240
4240
|
], Ur);
|
|
4241
4241
|
let os = is = class extends Ae {
|
|
4242
4242
|
constructor(t) {
|
|
@@ -4244,7 +4244,7 @@ let os = is = class extends Ae {
|
|
|
4244
4244
|
}
|
|
4245
4245
|
};
|
|
4246
4246
|
os = is = c([
|
|
4247
|
-
|
|
4247
|
+
V({ type: _.Sequence, itemType: Ur })
|
|
4248
4248
|
], os);
|
|
4249
4249
|
let Re = ns = class extends os {
|
|
4250
4250
|
constructor(t) {
|
|
@@ -4252,7 +4252,7 @@ let Re = ns = class extends os {
|
|
|
4252
4252
|
}
|
|
4253
4253
|
};
|
|
4254
4254
|
Re = ns = c([
|
|
4255
|
-
|
|
4255
|
+
V({ type: _.Sequence })
|
|
4256
4256
|
], Re);
|
|
4257
4257
|
const Bh = {
|
|
4258
4258
|
fromASN: (e) => El.toString(an.fromASN(e)),
|
|
@@ -4269,17 +4269,17 @@ c([
|
|
|
4269
4269
|
c([
|
|
4270
4270
|
d({ type: b.Any, context: 0 })
|
|
4271
4271
|
], wi.prototype, "value", void 0);
|
|
4272
|
-
class
|
|
4272
|
+
class Pa {
|
|
4273
4273
|
constructor(t = {}) {
|
|
4274
4274
|
this.partyName = new We(), Object.assign(this, t);
|
|
4275
4275
|
}
|
|
4276
4276
|
}
|
|
4277
4277
|
c([
|
|
4278
4278
|
d({ type: We, optional: !0, context: 0, implicit: !0 })
|
|
4279
|
-
],
|
|
4279
|
+
], Pa.prototype, "nameAssigner", void 0);
|
|
4280
4280
|
c([
|
|
4281
4281
|
d({ type: We, context: 1, implicit: !0 })
|
|
4282
|
-
],
|
|
4282
|
+
], Pa.prototype, "partyName", void 0);
|
|
4283
4283
|
let de = class {
|
|
4284
4284
|
constructor(t = {}) {
|
|
4285
4285
|
Object.assign(this, t);
|
|
@@ -4301,7 +4301,7 @@ c([
|
|
|
4301
4301
|
d({ type: Re, context: 4, implicit: !1 })
|
|
4302
4302
|
], de.prototype, "directoryName", void 0);
|
|
4303
4303
|
c([
|
|
4304
|
-
d({ type:
|
|
4304
|
+
d({ type: Pa, context: 5 })
|
|
4305
4305
|
], de.prototype, "ediPartyName", void 0);
|
|
4306
4306
|
c([
|
|
4307
4307
|
d({ type: b.IA5String, context: 6, implicit: !0 })
|
|
@@ -4313,7 +4313,7 @@ c([
|
|
|
4313
4313
|
d({ type: b.ObjectIdentifier, context: 8, implicit: !0 })
|
|
4314
4314
|
], de.prototype, "registeredID", void 0);
|
|
4315
4315
|
de = c([
|
|
4316
|
-
|
|
4316
|
+
V({ type: _.Choice })
|
|
4317
4317
|
], de);
|
|
4318
4318
|
const Eh = "1.3.6.1.5.5.7", ti = `${Eh}.3`, Ir = "2.5.29";
|
|
4319
4319
|
var ss;
|
|
@@ -4334,7 +4334,7 @@ let Nl = ss = class extends Ae {
|
|
|
4334
4334
|
}
|
|
4335
4335
|
};
|
|
4336
4336
|
Nl = ss = c([
|
|
4337
|
-
|
|
4337
|
+
V({ type: _.Sequence, itemType: oo })
|
|
4338
4338
|
], Nl);
|
|
4339
4339
|
const as = `${Ir}.35`;
|
|
4340
4340
|
class Ma extends me {
|
|
@@ -4378,7 +4378,7 @@ let et = ls = class extends Ae {
|
|
|
4378
4378
|
}
|
|
4379
4379
|
};
|
|
4380
4380
|
et = ls = c([
|
|
4381
|
-
|
|
4381
|
+
V({ type: _.Sequence, itemType: de })
|
|
4382
4382
|
], et);
|
|
4383
4383
|
var cs;
|
|
4384
4384
|
let Ol = cs = class extends et {
|
|
@@ -4387,7 +4387,7 @@ let Ol = cs = class extends et {
|
|
|
4387
4387
|
}
|
|
4388
4388
|
};
|
|
4389
4389
|
Ol = cs = c([
|
|
4390
|
-
|
|
4390
|
+
V({ type: _.Sequence })
|
|
4391
4391
|
], Ol);
|
|
4392
4392
|
var us;
|
|
4393
4393
|
const Nd = `${Ir}.32`;
|
|
@@ -4412,7 +4412,7 @@ c([
|
|
|
4412
4412
|
d({ type: b.Utf8String })
|
|
4413
4413
|
], Lt.prototype, "utf8String", void 0);
|
|
4414
4414
|
Lt = c([
|
|
4415
|
-
|
|
4415
|
+
V({ type: _.Choice })
|
|
4416
4416
|
], Lt);
|
|
4417
4417
|
class Ra {
|
|
4418
4418
|
constructor(t = {}) {
|
|
@@ -4448,7 +4448,7 @@ c([
|
|
|
4448
4448
|
d({ type: Da })
|
|
4449
4449
|
], cn.prototype, "userNotice", void 0);
|
|
4450
4450
|
cn = c([
|
|
4451
|
-
|
|
4451
|
+
V({ type: _.Choice })
|
|
4452
4452
|
], cn);
|
|
4453
4453
|
class Ua {
|
|
4454
4454
|
constructor(t = {}) {
|
|
@@ -4478,7 +4478,7 @@ let un = us = class extends Ae {
|
|
|
4478
4478
|
}
|
|
4479
4479
|
};
|
|
4480
4480
|
un = us = c([
|
|
4481
|
-
|
|
4481
|
+
V({ type: _.Sequence, itemType: so })
|
|
4482
4482
|
], un);
|
|
4483
4483
|
let dn = class {
|
|
4484
4484
|
constructor(t = 0) {
|
|
@@ -4489,12 +4489,12 @@ c([
|
|
|
4489
4489
|
d({ type: b.Integer })
|
|
4490
4490
|
], dn.prototype, "value", void 0);
|
|
4491
4491
|
dn = c([
|
|
4492
|
-
|
|
4492
|
+
V({ type: _.Choice })
|
|
4493
4493
|
], dn);
|
|
4494
4494
|
let _l = class extends dn {
|
|
4495
4495
|
};
|
|
4496
4496
|
_l = c([
|
|
4497
|
-
|
|
4497
|
+
V({ type: _.Choice })
|
|
4498
4498
|
], _l);
|
|
4499
4499
|
var ds, bt;
|
|
4500
4500
|
(function(e) {
|
|
@@ -4521,7 +4521,7 @@ c([
|
|
|
4521
4521
|
d({ type: Ur, context: 1, implicit: !0 })
|
|
4522
4522
|
], Lr.prototype, "nameRelativeToCRLIssuer", void 0);
|
|
4523
4523
|
Lr = c([
|
|
4524
|
-
|
|
4524
|
+
V({ type: _.Choice })
|
|
4525
4525
|
], Lr);
|
|
4526
4526
|
class Di {
|
|
4527
4527
|
constructor(t = {}) {
|
|
@@ -4543,7 +4543,7 @@ let fs = ds = class extends Ae {
|
|
|
4543
4543
|
}
|
|
4544
4544
|
};
|
|
4545
4545
|
fs = ds = c([
|
|
4546
|
-
|
|
4546
|
+
V({ type: _.Sequence, itemType: Di })
|
|
4547
4547
|
], fs);
|
|
4548
4548
|
var ps;
|
|
4549
4549
|
let Tl = ps = class extends fs {
|
|
@@ -4552,7 +4552,7 @@ let Tl = ps = class extends fs {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
4554
|
Tl = ps = c([
|
|
4555
|
-
|
|
4555
|
+
V({ type: _.Sequence, itemType: Di })
|
|
4556
4556
|
], Tl);
|
|
4557
4557
|
class Ye {
|
|
4558
4558
|
constructor(t = {}) {
|
|
@@ -4597,7 +4597,7 @@ c([
|
|
|
4597
4597
|
d({ type: b.Enumerated })
|
|
4598
4598
|
], hs.prototype, "reason", void 0);
|
|
4599
4599
|
hs = c([
|
|
4600
|
-
|
|
4600
|
+
V({ type: _.Choice })
|
|
4601
4601
|
], hs);
|
|
4602
4602
|
var ys;
|
|
4603
4603
|
const _d = `${Ir}.37`;
|
|
@@ -4607,9 +4607,9 @@ let fn = ys = class extends Ae {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
fn = ys = c([
|
|
4610
|
-
|
|
4610
|
+
V({ type: _.Sequence, itemType: b.ObjectIdentifier })
|
|
4611
4611
|
], fn);
|
|
4612
|
-
const Nh = `${ti}.1`, Oh = `${ti}.2`, _h = `${ti}.3`, Th = `${ti}.4`, jh = `${ti}.8`,
|
|
4612
|
+
const Nh = `${ti}.1`, Oh = `${ti}.2`, _h = `${ti}.3`, Th = `${ti}.4`, jh = `${ti}.8`, $h = `${ti}.9`;
|
|
4613
4613
|
let gs = class {
|
|
4614
4614
|
constructor(t = new ArrayBuffer(0)) {
|
|
4615
4615
|
this.value = t;
|
|
@@ -4619,7 +4619,7 @@ c([
|
|
|
4619
4619
|
d({ type: b.Integer, converter: _e })
|
|
4620
4620
|
], gs.prototype, "value", void 0);
|
|
4621
4621
|
gs = c([
|
|
4622
|
-
|
|
4622
|
+
V({ type: _.Choice })
|
|
4623
4623
|
], gs);
|
|
4624
4624
|
let ms = class {
|
|
4625
4625
|
constructor(t) {
|
|
@@ -4630,7 +4630,7 @@ c([
|
|
|
4630
4630
|
d({ type: b.GeneralizedTime })
|
|
4631
4631
|
], ms.prototype, "value", void 0);
|
|
4632
4632
|
ms = c([
|
|
4633
|
-
|
|
4633
|
+
V({ type: _.Choice })
|
|
4634
4634
|
], ms);
|
|
4635
4635
|
var vs;
|
|
4636
4636
|
let jl = vs = class extends et {
|
|
@@ -4639,7 +4639,7 @@ let jl = vs = class extends et {
|
|
|
4639
4639
|
}
|
|
4640
4640
|
};
|
|
4641
4641
|
jl = vs = c([
|
|
4642
|
-
|
|
4642
|
+
V({ type: _.Sequence })
|
|
4643
4643
|
], jl);
|
|
4644
4644
|
const Td = `${Ir}.15`;
|
|
4645
4645
|
var wt;
|
|
@@ -4676,7 +4676,7 @@ let pn = bs = class extends Ae {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
};
|
|
4678
4678
|
pn = bs = c([
|
|
4679
|
-
|
|
4679
|
+
V({ type: _.Sequence, itemType: ao })
|
|
4680
4680
|
], pn);
|
|
4681
4681
|
class jd {
|
|
4682
4682
|
constructor(t = {}) {
|
|
@@ -4689,7 +4689,7 @@ c([
|
|
|
4689
4689
|
c([
|
|
4690
4690
|
d({ type: pn, context: 1, optional: !0, implicit: !0 })
|
|
4691
4691
|
], jd.prototype, "excludedSubtrees", void 0);
|
|
4692
|
-
class
|
|
4692
|
+
class $d {
|
|
4693
4693
|
constructor(t = {}) {
|
|
4694
4694
|
Object.assign(this, t);
|
|
4695
4695
|
}
|
|
@@ -4702,7 +4702,7 @@ c([
|
|
|
4702
4702
|
optional: !0,
|
|
4703
4703
|
converter: _e
|
|
4704
4704
|
})
|
|
4705
|
-
],
|
|
4705
|
+
], $d.prototype, "requireExplicitPolicy", void 0);
|
|
4706
4706
|
c([
|
|
4707
4707
|
d({
|
|
4708
4708
|
type: b.Integer,
|
|
@@ -4711,7 +4711,7 @@ c([
|
|
|
4711
4711
|
optional: !0,
|
|
4712
4712
|
converter: _e
|
|
4713
4713
|
})
|
|
4714
|
-
],
|
|
4714
|
+
], $d.prototype, "inhibitPolicyMapping", void 0);
|
|
4715
4715
|
var ws;
|
|
4716
4716
|
class La {
|
|
4717
4717
|
constructor(t = {}) {
|
|
@@ -4724,23 +4724,23 @@ c([
|
|
|
4724
4724
|
c([
|
|
4725
4725
|
d({ type: b.ObjectIdentifier })
|
|
4726
4726
|
], La.prototype, "subjectDomainPolicy", void 0);
|
|
4727
|
-
let
|
|
4727
|
+
let $l = ws = class extends Ae {
|
|
4728
4728
|
constructor(t) {
|
|
4729
4729
|
super(t), Object.setPrototypeOf(this, ws.prototype);
|
|
4730
4730
|
}
|
|
4731
4731
|
};
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
],
|
|
4732
|
+
$l = ws = c([
|
|
4733
|
+
V({ type: _.Sequence, itemType: La })
|
|
4734
|
+
], $l);
|
|
4735
4735
|
var ks;
|
|
4736
|
-
const
|
|
4736
|
+
const Vd = `${Ir}.17`;
|
|
4737
4737
|
let As = ks = class extends et {
|
|
4738
4738
|
constructor(t) {
|
|
4739
4739
|
super(t), Object.setPrototypeOf(this, ks.prototype);
|
|
4740
4740
|
}
|
|
4741
4741
|
};
|
|
4742
4742
|
As = ks = c([
|
|
4743
|
-
|
|
4743
|
+
V({ type: _.Sequence })
|
|
4744
4744
|
], As);
|
|
4745
4745
|
let Ht = class {
|
|
4746
4746
|
constructor(t = {}) {
|
|
@@ -4754,15 +4754,15 @@ c([
|
|
|
4754
4754
|
d({ type: b.Any, repeated: "set" })
|
|
4755
4755
|
], Ht.prototype, "values", void 0);
|
|
4756
4756
|
var Ss;
|
|
4757
|
-
let
|
|
4757
|
+
let Vl = Ss = class extends Ae {
|
|
4758
4758
|
constructor(t) {
|
|
4759
4759
|
super(t), Object.setPrototypeOf(this, Ss.prototype);
|
|
4760
4760
|
}
|
|
4761
4761
|
};
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
],
|
|
4765
|
-
const
|
|
4762
|
+
Vl = Ss = c([
|
|
4763
|
+
V({ type: _.Sequence, itemType: Ht })
|
|
4764
|
+
], Vl);
|
|
4765
|
+
const Pd = `${Ir}.14`;
|
|
4766
4766
|
class tr extends Ma {
|
|
4767
4767
|
}
|
|
4768
4768
|
class Md {
|
|
@@ -4801,14 +4801,14 @@ c([
|
|
|
4801
4801
|
d({ type: Rd })
|
|
4802
4802
|
], Dd.prototype, "entrustInfoFlags", void 0);
|
|
4803
4803
|
var Cs;
|
|
4804
|
-
let
|
|
4804
|
+
let Pl = Cs = class extends Ae {
|
|
4805
4805
|
constructor(t) {
|
|
4806
4806
|
super(t), Object.setPrototypeOf(this, Cs.prototype);
|
|
4807
4807
|
}
|
|
4808
4808
|
};
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
],
|
|
4809
|
+
Pl = Cs = c([
|
|
4810
|
+
V({ type: _.Sequence, itemType: oo })
|
|
4811
|
+
], Pl);
|
|
4812
4812
|
class G {
|
|
4813
4813
|
constructor(t = {}) {
|
|
4814
4814
|
this.algorithm = "", Object.assign(this, t);
|
|
@@ -4866,7 +4866,7 @@ c([
|
|
|
4866
4866
|
})
|
|
4867
4867
|
], Ze.prototype, "generalTime", void 0);
|
|
4868
4868
|
Ze = c([
|
|
4869
|
-
|
|
4869
|
+
V({ type: _.Choice })
|
|
4870
4870
|
], Ze);
|
|
4871
4871
|
class lo {
|
|
4872
4872
|
constructor(t) {
|
|
@@ -4904,7 +4904,7 @@ let kr = xs = class extends Ae {
|
|
|
4904
4904
|
}
|
|
4905
4905
|
};
|
|
4906
4906
|
kr = xs = c([
|
|
4907
|
-
|
|
4907
|
+
V({ type: _.Sequence, itemType: kt })
|
|
4908
4908
|
], kr);
|
|
4909
4909
|
var Hr;
|
|
4910
4910
|
(function(e) {
|
|
@@ -5057,7 +5057,7 @@ let hn = Is = class extends Ae {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
};
|
|
5059
5059
|
hn = Is = c([
|
|
5060
|
-
|
|
5060
|
+
V({ type: _.Sequence, itemType: b.ObjectIdentifier })
|
|
5061
5061
|
], hn);
|
|
5062
5062
|
class uo {
|
|
5063
5063
|
constructor(t = {}) {
|
|
@@ -5137,7 +5137,7 @@ c([
|
|
|
5137
5137
|
d({ type: fo, context: 0, implicit: !0 })
|
|
5138
5138
|
], qr.prototype, "v2Form", void 0);
|
|
5139
5139
|
qr = c([
|
|
5140
|
-
|
|
5140
|
+
V({ type: _.Choice })
|
|
5141
5141
|
], qr);
|
|
5142
5142
|
class po {
|
|
5143
5143
|
constructor(t = {}) {
|
|
@@ -5300,7 +5300,7 @@ c([
|
|
|
5300
5300
|
d({ type: go, context: 2, implicit: !0 })
|
|
5301
5301
|
], Kr.prototype, "targetCert", void 0);
|
|
5302
5302
|
Kr = c([
|
|
5303
|
-
|
|
5303
|
+
V({ type: _.Choice })
|
|
5304
5304
|
], Kr);
|
|
5305
5305
|
let _s = Os = class extends Ae {
|
|
5306
5306
|
constructor(t) {
|
|
@@ -5308,7 +5308,7 @@ let _s = Os = class extends Ae {
|
|
|
5308
5308
|
}
|
|
5309
5309
|
};
|
|
5310
5310
|
_s = Os = c([
|
|
5311
|
-
|
|
5311
|
+
V({ type: _.Sequence, itemType: Kr })
|
|
5312
5312
|
], _s);
|
|
5313
5313
|
var Ts;
|
|
5314
5314
|
let Ml = Ts = class extends Ae {
|
|
@@ -5317,7 +5317,7 @@ let Ml = Ts = class extends Ae {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
};
|
|
5319
5319
|
Ml = Ts = c([
|
|
5320
|
-
|
|
5320
|
+
V({ type: _.Sequence, itemType: _s })
|
|
5321
5321
|
], Ml);
|
|
5322
5322
|
class Hd {
|
|
5323
5323
|
constructor(t = {}) {
|
|
@@ -5371,7 +5371,7 @@ c([
|
|
|
5371
5371
|
d({ type: Ga, context: 3, implicit: !0 })
|
|
5372
5372
|
], zr.prototype, "other", void 0);
|
|
5373
5373
|
zr = c([
|
|
5374
|
-
|
|
5374
|
+
V({ type: _.Choice })
|
|
5375
5375
|
], zr);
|
|
5376
5376
|
let gn = js = class extends Ae {
|
|
5377
5377
|
constructor(t) {
|
|
@@ -5379,7 +5379,7 @@ let gn = js = class extends Ae {
|
|
|
5379
5379
|
}
|
|
5380
5380
|
};
|
|
5381
5381
|
gn = js = c([
|
|
5382
|
-
|
|
5382
|
+
V({ type: _.Set, itemType: zr })
|
|
5383
5383
|
], gn);
|
|
5384
5384
|
class ii {
|
|
5385
5385
|
constructor(t = {}) {
|
|
@@ -5404,7 +5404,7 @@ c([
|
|
|
5404
5404
|
d({ type: b.Any })
|
|
5405
5405
|
], ki.prototype, "any", void 0);
|
|
5406
5406
|
ki = c([
|
|
5407
|
-
|
|
5407
|
+
V({ type: _.Choice })
|
|
5408
5408
|
], ki);
|
|
5409
5409
|
class mo {
|
|
5410
5410
|
constructor(t = {}) {
|
|
@@ -5424,33 +5424,33 @@ var Ft;
|
|
|
5424
5424
|
let Ai = class extends G {
|
|
5425
5425
|
};
|
|
5426
5426
|
Ai = c([
|
|
5427
|
-
|
|
5427
|
+
V({ type: _.Sequence })
|
|
5428
5428
|
], Ai);
|
|
5429
5429
|
let mn = class extends G {
|
|
5430
5430
|
};
|
|
5431
5431
|
mn = c([
|
|
5432
|
-
|
|
5432
|
+
V({ type: _.Sequence })
|
|
5433
5433
|
], mn);
|
|
5434
5434
|
let Et = class extends G {
|
|
5435
5435
|
};
|
|
5436
5436
|
Et = c([
|
|
5437
|
-
|
|
5437
|
+
V({ type: _.Sequence })
|
|
5438
5438
|
], Et);
|
|
5439
5439
|
let vn = class extends G {
|
|
5440
5440
|
};
|
|
5441
5441
|
vn = c([
|
|
5442
|
-
|
|
5442
|
+
V({ type: _.Sequence })
|
|
5443
5443
|
], vn);
|
|
5444
5444
|
let Rl = class extends G {
|
|
5445
5445
|
};
|
|
5446
5446
|
Rl = c([
|
|
5447
|
-
|
|
5447
|
+
V({ type: _.Sequence })
|
|
5448
5448
|
], Rl);
|
|
5449
|
-
let
|
|
5449
|
+
let $s = class extends G {
|
|
5450
5450
|
};
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
],
|
|
5451
|
+
$s = c([
|
|
5452
|
+
V({ type: _.Sequence })
|
|
5453
|
+
], $s);
|
|
5454
5454
|
let Si = class {
|
|
5455
5455
|
constructor(t = {}) {
|
|
5456
5456
|
Object.assign(this, t);
|
|
@@ -5463,7 +5463,7 @@ c([
|
|
|
5463
5463
|
d({ type: me, converter: ch, context: 0, implicit: !0, optional: !0, repeated: "sequence" })
|
|
5464
5464
|
], Si.prototype, "constructedValue", void 0);
|
|
5465
5465
|
Si = c([
|
|
5466
|
-
|
|
5466
|
+
V({ type: _.Choice })
|
|
5467
5467
|
], Si);
|
|
5468
5468
|
class Li {
|
|
5469
5469
|
constructor(t = {}) {
|
|
@@ -5501,7 +5501,7 @@ c([
|
|
|
5501
5501
|
c([
|
|
5502
5502
|
d({ type: b.Any, optional: !0 })
|
|
5503
5503
|
], vo.prototype, "keyAttr", void 0);
|
|
5504
|
-
var
|
|
5504
|
+
var Vs;
|
|
5505
5505
|
class bo {
|
|
5506
5506
|
constructor(t = {}) {
|
|
5507
5507
|
this.subjectKeyIdentifier = new tr(), Object.assign(this, t);
|
|
@@ -5528,7 +5528,7 @@ c([
|
|
|
5528
5528
|
d({ type: ni, optional: !0 })
|
|
5529
5529
|
], Gr.prototype, "issuerAndSerialNumber", void 0);
|
|
5530
5530
|
Gr = c([
|
|
5531
|
-
|
|
5531
|
+
V({ type: _.Choice })
|
|
5532
5532
|
], Gr);
|
|
5533
5533
|
class Wa {
|
|
5534
5534
|
constructor(t = {}) {
|
|
@@ -5541,13 +5541,13 @@ c([
|
|
|
5541
5541
|
c([
|
|
5542
5542
|
d({ type: me })
|
|
5543
5543
|
], Wa.prototype, "encryptedKey", void 0);
|
|
5544
|
-
let bn =
|
|
5544
|
+
let bn = Vs = class extends Ae {
|
|
5545
5545
|
constructor(t) {
|
|
5546
|
-
super(t), Object.setPrototypeOf(this,
|
|
5546
|
+
super(t), Object.setPrototypeOf(this, Vs.prototype);
|
|
5547
5547
|
}
|
|
5548
5548
|
};
|
|
5549
|
-
bn =
|
|
5550
|
-
|
|
5549
|
+
bn = Vs = c([
|
|
5550
|
+
V({ type: _.Sequence, itemType: Wa })
|
|
5551
5551
|
], bn);
|
|
5552
5552
|
class Ja {
|
|
5553
5553
|
constructor(t = {}) {
|
|
@@ -5575,7 +5575,7 @@ c([
|
|
|
5575
5575
|
d({ type: ni, optional: !0 })
|
|
5576
5576
|
], Ar.prototype, "issuerAndSerialNumber", void 0);
|
|
5577
5577
|
Ar = c([
|
|
5578
|
-
|
|
5578
|
+
V({ type: _.Choice })
|
|
5579
5579
|
], Ar);
|
|
5580
5580
|
class oi {
|
|
5581
5581
|
constructor(t = {}) {
|
|
@@ -5609,7 +5609,7 @@ c([
|
|
|
5609
5609
|
d({ type: ni })
|
|
5610
5610
|
], Wr.prototype, "issuerAndSerialNumber", void 0);
|
|
5611
5611
|
Wr = c([
|
|
5612
|
-
|
|
5612
|
+
V({ type: _.Choice })
|
|
5613
5613
|
], Wr);
|
|
5614
5614
|
class Hi {
|
|
5615
5615
|
constructor(t = {}) {
|
|
@@ -5668,7 +5668,7 @@ c([
|
|
|
5668
5668
|
d({ type: b.Integer })
|
|
5669
5669
|
], Ki.prototype, "version", void 0);
|
|
5670
5670
|
c([
|
|
5671
|
-
d({ type:
|
|
5671
|
+
d({ type: $s, context: 0, optional: !0 })
|
|
5672
5672
|
], Ki.prototype, "keyDerivationAlgorithm", void 0);
|
|
5673
5673
|
c([
|
|
5674
5674
|
d({ type: Et })
|
|
@@ -5708,16 +5708,16 @@ c([
|
|
|
5708
5708
|
d({ type: Ya, context: 4, implicit: !0, optional: !0 })
|
|
5709
5709
|
], nr.prototype, "ori", void 0);
|
|
5710
5710
|
nr = c([
|
|
5711
|
-
|
|
5711
|
+
V({ type: _.Choice })
|
|
5712
5712
|
], nr);
|
|
5713
|
-
var
|
|
5714
|
-
let wn =
|
|
5713
|
+
var Ps;
|
|
5714
|
+
let wn = Ps = class extends Ae {
|
|
5715
5715
|
constructor(t) {
|
|
5716
|
-
super(t), Object.setPrototypeOf(this,
|
|
5716
|
+
super(t), Object.setPrototypeOf(this, Ps.prototype);
|
|
5717
5717
|
}
|
|
5718
5718
|
};
|
|
5719
|
-
wn =
|
|
5720
|
-
|
|
5719
|
+
wn = Ps = c([
|
|
5720
|
+
V({ type: _.Set, itemType: nr })
|
|
5721
5721
|
], wn);
|
|
5722
5722
|
var Ms;
|
|
5723
5723
|
class wo {
|
|
@@ -5740,7 +5740,7 @@ c([
|
|
|
5740
5740
|
d({ type: wo, context: 1, implicit: !0 })
|
|
5741
5741
|
], Ci.prototype, "other", void 0);
|
|
5742
5742
|
Ci = c([
|
|
5743
|
-
|
|
5743
|
+
V({ type: _.Choice })
|
|
5744
5744
|
], Ci);
|
|
5745
5745
|
let Rs = Ms = class extends Ae {
|
|
5746
5746
|
constructor(t) {
|
|
@@ -5748,7 +5748,7 @@ let Rs = Ms = class extends Ae {
|
|
|
5748
5748
|
}
|
|
5749
5749
|
};
|
|
5750
5750
|
Rs = Ms = c([
|
|
5751
|
-
|
|
5751
|
+
V({ type: _.Set, itemType: Ci })
|
|
5752
5752
|
], Rs);
|
|
5753
5753
|
class Za {
|
|
5754
5754
|
constructor(t = {}) {
|
|
@@ -5768,7 +5768,7 @@ let Us = Ds = class extends Ae {
|
|
|
5768
5768
|
}
|
|
5769
5769
|
};
|
|
5770
5770
|
Us = Ds = c([
|
|
5771
|
-
|
|
5771
|
+
V({ type: _.Set, itemType: ri })
|
|
5772
5772
|
], Us);
|
|
5773
5773
|
class zi {
|
|
5774
5774
|
constructor(t = {}) {
|
|
@@ -5790,7 +5790,7 @@ c([
|
|
|
5790
5790
|
c([
|
|
5791
5791
|
d({ type: Us, context: 1, implicit: !0, optional: !0 })
|
|
5792
5792
|
], zi.prototype, "unprotectedAttrs", void 0);
|
|
5793
|
-
const
|
|
5793
|
+
const Vh = "1.2.840.113549.1.7.2";
|
|
5794
5794
|
let Jr = class {
|
|
5795
5795
|
constructor(t = {}) {
|
|
5796
5796
|
Object.assign(this, t);
|
|
@@ -5803,7 +5803,7 @@ c([
|
|
|
5803
5803
|
d({ type: ni })
|
|
5804
5804
|
], Jr.prototype, "issuerAndSerialNumber", void 0);
|
|
5805
5805
|
Jr = c([
|
|
5806
|
-
|
|
5806
|
+
V({ type: _.Choice })
|
|
5807
5807
|
], Jr);
|
|
5808
5808
|
var Ls;
|
|
5809
5809
|
class Yt {
|
|
@@ -5838,7 +5838,7 @@ let kn = Ls = class extends Ae {
|
|
|
5838
5838
|
}
|
|
5839
5839
|
};
|
|
5840
5840
|
kn = Ls = c([
|
|
5841
|
-
|
|
5841
|
+
V({ type: _.Set, itemType: Yt })
|
|
5842
5842
|
], kn);
|
|
5843
5843
|
var Hs;
|
|
5844
5844
|
let An = Hs = class extends Ae {
|
|
@@ -5847,7 +5847,7 @@ let An = Hs = class extends Ae {
|
|
|
5847
5847
|
}
|
|
5848
5848
|
};
|
|
5849
5849
|
An = Hs = c([
|
|
5850
|
-
|
|
5850
|
+
V({ type: _.Set, itemType: Ai })
|
|
5851
5851
|
], An);
|
|
5852
5852
|
class si {
|
|
5853
5853
|
constructor(t = {}) {
|
|
@@ -5876,7 +5876,7 @@ const xi = "1.2.840.10045.2.1", Qa = "1.2.840.10045.4.1", Fd = "1.2.840.10045.4.
|
|
|
5876
5876
|
function Gi(e) {
|
|
5877
5877
|
return new G({ algorithm: e });
|
|
5878
5878
|
}
|
|
5879
|
-
const
|
|
5879
|
+
const Ph = Gi(Qa);
|
|
5880
5880
|
Gi(Fd);
|
|
5881
5881
|
const Mh = Gi(Xa), Rh = Gi(el), Dh = Gi(tl);
|
|
5882
5882
|
let Yr = class {
|
|
@@ -5888,7 +5888,7 @@ c([
|
|
|
5888
5888
|
d({ type: b.ObjectIdentifier })
|
|
5889
5889
|
], Yr.prototype, "namedCurve", void 0);
|
|
5890
5890
|
Yr = c([
|
|
5891
|
-
|
|
5891
|
+
V({ type: _.Choice })
|
|
5892
5892
|
], Yr);
|
|
5893
5893
|
class ko {
|
|
5894
5894
|
constructor(t = {}) {
|
|
@@ -6025,7 +6025,7 @@ let Ks = qs = class extends Ae {
|
|
|
6025
6025
|
}
|
|
6026
6026
|
};
|
|
6027
6027
|
Ks = qs = c([
|
|
6028
|
-
|
|
6028
|
+
V({ type: _.Sequence, itemType: Co })
|
|
6029
6029
|
], Ks);
|
|
6030
6030
|
class _t {
|
|
6031
6031
|
constructor(t = {}) {
|
|
@@ -6639,7 +6639,7 @@ let ql = Js = class extends Ae {
|
|
|
6639
6639
|
}
|
|
6640
6640
|
};
|
|
6641
6641
|
ql = Js = c([
|
|
6642
|
-
|
|
6642
|
+
V({ type: _.Sequence, itemType: xo })
|
|
6643
6643
|
], ql);
|
|
6644
6644
|
var Ys;
|
|
6645
6645
|
let Kl = Ys = class extends Ae {
|
|
@@ -6648,7 +6648,7 @@ let Kl = Ys = class extends Ae {
|
|
|
6648
6648
|
}
|
|
6649
6649
|
};
|
|
6650
6650
|
Kl = Ys = c([
|
|
6651
|
-
|
|
6651
|
+
V({ type: _.Sequence, itemType: ii })
|
|
6652
6652
|
], Kl);
|
|
6653
6653
|
class rf {
|
|
6654
6654
|
constructor(t = {}) {
|
|
@@ -6697,7 +6697,7 @@ let Xs = Zs = class extends Ae {
|
|
|
6697
6697
|
}
|
|
6698
6698
|
};
|
|
6699
6699
|
Xs = Zs = c([
|
|
6700
|
-
|
|
6700
|
+
V({ type: _.Sequence, itemType: Ht })
|
|
6701
6701
|
], Xs);
|
|
6702
6702
|
class Ji {
|
|
6703
6703
|
constructor(t = {}) {
|
|
@@ -6719,12 +6719,12 @@ c([
|
|
|
6719
6719
|
let zl = class extends Ji {
|
|
6720
6720
|
};
|
|
6721
6721
|
zl = c([
|
|
6722
|
-
|
|
6722
|
+
V({ type: _.Sequence })
|
|
6723
6723
|
], zl);
|
|
6724
6724
|
let Gl = class extends Io {
|
|
6725
6725
|
};
|
|
6726
6726
|
Gl = c([
|
|
6727
|
-
|
|
6727
|
+
V({ type: _.Sequence })
|
|
6728
6728
|
], Gl);
|
|
6729
6729
|
class af {
|
|
6730
6730
|
constructor(t = {}) {
|
|
@@ -6786,7 +6786,7 @@ let Wl = ea = class extends Ae {
|
|
|
6786
6786
|
}
|
|
6787
6787
|
};
|
|
6788
6788
|
Wl = ea = c([
|
|
6789
|
-
|
|
6789
|
+
V({ type: _.Sequence, itemType: Eo })
|
|
6790
6790
|
], Wl);
|
|
6791
6791
|
var ta, ra, ia;
|
|
6792
6792
|
const lf = "1.2.840.113549.1.9", cf = `${lf}.7`, al = `${lf}.14`;
|
|
@@ -6802,22 +6802,22 @@ c([
|
|
|
6802
6802
|
d({ type: b.IA5String })
|
|
6803
6803
|
], En.prototype, "ia5String", void 0);
|
|
6804
6804
|
En = c([
|
|
6805
|
-
|
|
6805
|
+
V({ type: _.Choice })
|
|
6806
6806
|
], En);
|
|
6807
6807
|
let Jl = class extends ii {
|
|
6808
6808
|
};
|
|
6809
6809
|
Jl = c([
|
|
6810
|
-
|
|
6810
|
+
V({ type: _.Sequence })
|
|
6811
6811
|
], Jl);
|
|
6812
6812
|
let Yl = class extends Bo {
|
|
6813
6813
|
};
|
|
6814
6814
|
Yl = c([
|
|
6815
|
-
|
|
6815
|
+
V({ type: _.Sequence })
|
|
6816
6816
|
], Yl);
|
|
6817
6817
|
let Zl = class extends Io {
|
|
6818
6818
|
};
|
|
6819
6819
|
Zl = c([
|
|
6820
|
-
|
|
6820
|
+
V({ type: _.Sequence })
|
|
6821
6821
|
], Zl);
|
|
6822
6822
|
let na = class {
|
|
6823
6823
|
constructor(t = "") {
|
|
@@ -6831,17 +6831,17 @@ c([
|
|
|
6831
6831
|
d({ type: b.IA5String })
|
|
6832
6832
|
], na.prototype, "value", void 0);
|
|
6833
6833
|
na = c([
|
|
6834
|
-
|
|
6834
|
+
V({ type: _.Choice })
|
|
6835
6835
|
], na);
|
|
6836
6836
|
let Ql = class extends En {
|
|
6837
6837
|
};
|
|
6838
6838
|
Ql = c([
|
|
6839
|
-
|
|
6839
|
+
V({ type: _.Choice })
|
|
6840
6840
|
], Ql);
|
|
6841
6841
|
let Xl = class extends We {
|
|
6842
6842
|
};
|
|
6843
6843
|
Xl = c([
|
|
6844
|
-
|
|
6844
|
+
V({ type: _.Choice })
|
|
6845
6845
|
], Xl);
|
|
6846
6846
|
let oa = class {
|
|
6847
6847
|
constructor(t = /* @__PURE__ */ new Date()) {
|
|
@@ -6852,12 +6852,12 @@ c([
|
|
|
6852
6852
|
d({ type: b.GeneralizedTime })
|
|
6853
6853
|
], oa.prototype, "value", void 0);
|
|
6854
6854
|
oa = c([
|
|
6855
|
-
|
|
6855
|
+
V({ type: _.Choice })
|
|
6856
6856
|
], oa);
|
|
6857
6857
|
let ec = class extends We {
|
|
6858
6858
|
};
|
|
6859
6859
|
ec = c([
|
|
6860
|
-
|
|
6860
|
+
V({ type: _.Choice })
|
|
6861
6861
|
], ec);
|
|
6862
6862
|
let sa = class {
|
|
6863
6863
|
constructor(t = "M") {
|
|
@@ -6871,7 +6871,7 @@ c([
|
|
|
6871
6871
|
d({ type: b.PrintableString })
|
|
6872
6872
|
], sa.prototype, "value", void 0);
|
|
6873
6873
|
sa = c([
|
|
6874
|
-
|
|
6874
|
+
V({ type: _.Choice })
|
|
6875
6875
|
], sa);
|
|
6876
6876
|
let Nn = class {
|
|
6877
6877
|
constructor(t = "") {
|
|
@@ -6885,17 +6885,17 @@ c([
|
|
|
6885
6885
|
d({ type: b.PrintableString })
|
|
6886
6886
|
], Nn.prototype, "value", void 0);
|
|
6887
6887
|
Nn = c([
|
|
6888
|
-
|
|
6888
|
+
V({ type: _.Choice })
|
|
6889
6889
|
], Nn);
|
|
6890
6890
|
let tc = class extends Nn {
|
|
6891
6891
|
};
|
|
6892
6892
|
tc = c([
|
|
6893
|
-
|
|
6893
|
+
V({ type: _.Choice })
|
|
6894
6894
|
], tc);
|
|
6895
6895
|
let rc = class extends We {
|
|
6896
6896
|
};
|
|
6897
6897
|
rc = c([
|
|
6898
|
-
|
|
6898
|
+
V({ type: _.Choice })
|
|
6899
6899
|
], rc);
|
|
6900
6900
|
let aa = class {
|
|
6901
6901
|
constructor(t = "") {
|
|
@@ -6909,12 +6909,12 @@ c([
|
|
|
6909
6909
|
d({ type: b.ObjectIdentifier })
|
|
6910
6910
|
], aa.prototype, "value", void 0);
|
|
6911
6911
|
aa = c([
|
|
6912
|
-
|
|
6912
|
+
V({ type: _.Choice })
|
|
6913
6913
|
], aa);
|
|
6914
6914
|
let ic = class extends Ze {
|
|
6915
6915
|
};
|
|
6916
6916
|
ic = c([
|
|
6917
|
-
|
|
6917
|
+
V({ type: _.Choice })
|
|
6918
6918
|
], ic);
|
|
6919
6919
|
let la = class {
|
|
6920
6920
|
constructor(t = 0) {
|
|
@@ -6928,17 +6928,17 @@ c([
|
|
|
6928
6928
|
d({ type: b.Integer })
|
|
6929
6929
|
], la.prototype, "value", void 0);
|
|
6930
6930
|
la = c([
|
|
6931
|
-
|
|
6931
|
+
V({ type: _.Choice })
|
|
6932
6932
|
], la);
|
|
6933
6933
|
let nc = class extends Yt {
|
|
6934
6934
|
};
|
|
6935
6935
|
nc = c([
|
|
6936
|
-
|
|
6936
|
+
V({ type: _.Sequence })
|
|
6937
6937
|
], nc);
|
|
6938
6938
|
let On = class extends We {
|
|
6939
6939
|
};
|
|
6940
6940
|
On = c([
|
|
6941
|
-
|
|
6941
|
+
V({ type: _.Choice })
|
|
6942
6942
|
], On);
|
|
6943
6943
|
let oc = ta = class extends kr {
|
|
6944
6944
|
constructor(t) {
|
|
@@ -6946,7 +6946,7 @@ let oc = ta = class extends kr {
|
|
|
6946
6946
|
}
|
|
6947
6947
|
};
|
|
6948
6948
|
oc = ta = c([
|
|
6949
|
-
|
|
6949
|
+
V({ type: _.Sequence })
|
|
6950
6950
|
], oc);
|
|
6951
6951
|
let sc = ra = class extends Ae {
|
|
6952
6952
|
constructor(t) {
|
|
@@ -6954,7 +6954,7 @@ let sc = ra = class extends Ae {
|
|
|
6954
6954
|
}
|
|
6955
6955
|
};
|
|
6956
6956
|
sc = ra = c([
|
|
6957
|
-
|
|
6957
|
+
V({ type: _.Set, itemType: ri })
|
|
6958
6958
|
], sc);
|
|
6959
6959
|
let ca = class {
|
|
6960
6960
|
constructor(t = "") {
|
|
@@ -6968,12 +6968,12 @@ c([
|
|
|
6968
6968
|
d({ type: b.BmpString })
|
|
6969
6969
|
], ca.prototype, "value", void 0);
|
|
6970
6970
|
ca = c([
|
|
6971
|
-
|
|
6971
|
+
V({ type: _.Choice })
|
|
6972
6972
|
], ca);
|
|
6973
6973
|
let ua = class extends G {
|
|
6974
6974
|
};
|
|
6975
6975
|
ua = c([
|
|
6976
|
-
|
|
6976
|
+
V({ type: _.Sequence })
|
|
6977
6977
|
], ua);
|
|
6978
6978
|
let ac = ia = class extends Ae {
|
|
6979
6979
|
constructor(t) {
|
|
@@ -6981,7 +6981,7 @@ let ac = ia = class extends Ae {
|
|
|
6981
6981
|
}
|
|
6982
6982
|
};
|
|
6983
6983
|
ac = ia = c([
|
|
6984
|
-
|
|
6984
|
+
V({ type: _.Sequence, itemType: ua })
|
|
6985
6985
|
], ac);
|
|
6986
6986
|
var da;
|
|
6987
6987
|
let _n = da = class extends Ae {
|
|
@@ -6990,7 +6990,7 @@ let _n = da = class extends Ae {
|
|
|
6990
6990
|
}
|
|
6991
6991
|
};
|
|
6992
6992
|
_n = da = c([
|
|
6993
|
-
|
|
6993
|
+
V({ type: _.Sequence, itemType: Ht })
|
|
6994
6994
|
], _n);
|
|
6995
6995
|
class ai {
|
|
6996
6996
|
constructor(t = {}) {
|
|
@@ -7086,15 +7086,15 @@ class fy {
|
|
|
7086
7086
|
const Oo = "crypto.algorithmProvider";
|
|
7087
7087
|
gt.registerSingleton(Oo, fy);
|
|
7088
7088
|
var rn;
|
|
7089
|
-
const lt = "1.3.36.3.3.2.8.1.1", lc = `${lt}.1`, cc = `${lt}.2`, uc = `${lt}.3`, dc = `${lt}.4`, fc = `${lt}.5`, pc = `${lt}.6`, hc = `${lt}.7`, yc = `${lt}.8`, gc = `${lt}.9`, mc = `${lt}.10`, vc = `${lt}.11`, bc = `${lt}.12`, wc = `${lt}.13`, kc = `${lt}.14`, Ac = "brainpoolP160r1", Sc = "brainpoolP160t1", Cc = "brainpoolP192r1", xc = "brainpoolP192t1", Ic = "brainpoolP224r1", Bc = "brainpoolP224t1", Ec = "brainpoolP256r1", Nc = "brainpoolP256t1", Oc = "brainpoolP320r1", _c = "brainpoolP320t1", Tc = "brainpoolP384r1", jc = "brainpoolP384t1",
|
|
7089
|
+
const lt = "1.3.36.3.3.2.8.1.1", lc = `${lt}.1`, cc = `${lt}.2`, uc = `${lt}.3`, dc = `${lt}.4`, fc = `${lt}.5`, pc = `${lt}.6`, hc = `${lt}.7`, yc = `${lt}.8`, gc = `${lt}.9`, mc = `${lt}.10`, vc = `${lt}.11`, bc = `${lt}.12`, wc = `${lt}.13`, kc = `${lt}.14`, Ac = "brainpoolP160r1", Sc = "brainpoolP160t1", Cc = "brainpoolP192r1", xc = "brainpoolP192t1", Ic = "brainpoolP224r1", Bc = "brainpoolP224t1", Ec = "brainpoolP256r1", Nc = "brainpoolP256t1", Oc = "brainpoolP320r1", _c = "brainpoolP320t1", Tc = "brainpoolP384r1", jc = "brainpoolP384t1", $c = "brainpoolP512r1", Vc = "brainpoolP512t1", $e = "ECDSA";
|
|
7090
7090
|
let Bi = rn = class {
|
|
7091
7091
|
toAsnAlgorithm(t) {
|
|
7092
7092
|
switch (t.name.toLowerCase()) {
|
|
7093
|
-
case
|
|
7093
|
+
case $e.toLowerCase():
|
|
7094
7094
|
if ("hash" in t)
|
|
7095
7095
|
switch ((typeof t.hash == "string" ? t.hash : t.hash.name).toLowerCase()) {
|
|
7096
7096
|
case "sha-1":
|
|
7097
|
-
return
|
|
7097
|
+
return Ph;
|
|
7098
7098
|
case "sha-256":
|
|
7099
7099
|
return Mh;
|
|
7100
7100
|
case "sha-384":
|
|
@@ -7153,10 +7153,10 @@ let Bi = rn = class {
|
|
|
7153
7153
|
case jc:
|
|
7154
7154
|
r = bc;
|
|
7155
7155
|
break;
|
|
7156
|
-
case
|
|
7156
|
+
case $c:
|
|
7157
7157
|
r = wc;
|
|
7158
7158
|
break;
|
|
7159
|
-
case
|
|
7159
|
+
case Vc:
|
|
7160
7160
|
r = kc;
|
|
7161
7161
|
break;
|
|
7162
7162
|
}
|
|
@@ -7172,53 +7172,53 @@ let Bi = rn = class {
|
|
|
7172
7172
|
toWebAlgorithm(t) {
|
|
7173
7173
|
switch (t.algorithm) {
|
|
7174
7174
|
case Qa:
|
|
7175
|
-
return { name:
|
|
7175
|
+
return { name: $e, hash: { name: "SHA-1" } };
|
|
7176
7176
|
case Xa:
|
|
7177
|
-
return { name:
|
|
7177
|
+
return { name: $e, hash: { name: "SHA-256" } };
|
|
7178
7178
|
case el:
|
|
7179
|
-
return { name:
|
|
7179
|
+
return { name: $e, hash: { name: "SHA-384" } };
|
|
7180
7180
|
case tl:
|
|
7181
|
-
return { name:
|
|
7181
|
+
return { name: $e, hash: { name: "SHA-512" } };
|
|
7182
7182
|
case xi: {
|
|
7183
7183
|
if (!t.parameters)
|
|
7184
7184
|
throw new TypeError("Cannot get required parameters from EC algorithm");
|
|
7185
7185
|
switch (Y.parse(t.parameters, Yr).namedCurve) {
|
|
7186
7186
|
case Dl:
|
|
7187
|
-
return { name:
|
|
7187
|
+
return { name: $e, namedCurve: "P-256" };
|
|
7188
7188
|
case rn.SECP256K1:
|
|
7189
|
-
return { name:
|
|
7189
|
+
return { name: $e, namedCurve: "K-256" };
|
|
7190
7190
|
case Ul:
|
|
7191
|
-
return { name:
|
|
7191
|
+
return { name: $e, namedCurve: "P-384" };
|
|
7192
7192
|
case Ll:
|
|
7193
|
-
return { name:
|
|
7193
|
+
return { name: $e, namedCurve: "P-521" };
|
|
7194
7194
|
case lc:
|
|
7195
|
-
return { name:
|
|
7195
|
+
return { name: $e, namedCurve: Ac };
|
|
7196
7196
|
case cc:
|
|
7197
|
-
return { name:
|
|
7197
|
+
return { name: $e, namedCurve: Sc };
|
|
7198
7198
|
case uc:
|
|
7199
|
-
return { name:
|
|
7199
|
+
return { name: $e, namedCurve: Cc };
|
|
7200
7200
|
case dc:
|
|
7201
|
-
return { name:
|
|
7201
|
+
return { name: $e, namedCurve: xc };
|
|
7202
7202
|
case fc:
|
|
7203
|
-
return { name:
|
|
7203
|
+
return { name: $e, namedCurve: Ic };
|
|
7204
7204
|
case pc:
|
|
7205
|
-
return { name:
|
|
7205
|
+
return { name: $e, namedCurve: Bc };
|
|
7206
7206
|
case hc:
|
|
7207
|
-
return { name:
|
|
7207
|
+
return { name: $e, namedCurve: Ec };
|
|
7208
7208
|
case yc:
|
|
7209
|
-
return { name:
|
|
7209
|
+
return { name: $e, namedCurve: Nc };
|
|
7210
7210
|
case gc:
|
|
7211
|
-
return { name:
|
|
7211
|
+
return { name: $e, namedCurve: Oc };
|
|
7212
7212
|
case mc:
|
|
7213
|
-
return { name:
|
|
7213
|
+
return { name: $e, namedCurve: _c };
|
|
7214
7214
|
case vc:
|
|
7215
|
-
return { name:
|
|
7215
|
+
return { name: $e, namedCurve: Tc };
|
|
7216
7216
|
case bc:
|
|
7217
|
-
return { name:
|
|
7217
|
+
return { name: $e, namedCurve: jc };
|
|
7218
7218
|
case wc:
|
|
7219
|
-
return { name:
|
|
7219
|
+
return { name: $e, namedCurve: $c };
|
|
7220
7220
|
case kc:
|
|
7221
|
-
return { name:
|
|
7221
|
+
return { name: $e, namedCurve: Vc };
|
|
7222
7222
|
}
|
|
7223
7223
|
}
|
|
7224
7224
|
}
|
|
@@ -7285,8 +7285,8 @@ sr.items = {
|
|
|
7285
7285
|
[_h]: "Code Signing",
|
|
7286
7286
|
[Th]: "E-mail Protection",
|
|
7287
7287
|
[jh]: "Time Stamping",
|
|
7288
|
-
[
|
|
7289
|
-
[
|
|
7288
|
+
[$h]: "OCSP Signing",
|
|
7289
|
+
[Vh]: "Signed Data"
|
|
7290
7290
|
};
|
|
7291
7291
|
class Cr {
|
|
7292
7292
|
static serialize(t) {
|
|
@@ -7615,7 +7615,7 @@ class rr {
|
|
|
7615
7615
|
return t.length >= 1 && !(!((r = t[0]) === null || r === void 0) && r.subtle) ? (n = t[0] || n, i = t[1] || ut.get()) : i = t[0] || ut.get(), await i.subtle.digest(n, this.toArrayBuffer());
|
|
7616
7616
|
}
|
|
7617
7617
|
}
|
|
7618
|
-
const hf = "Cannot initialize GeneralName from ASN.1 data.",
|
|
7618
|
+
const hf = "Cannot initialize GeneralName from ASN.1 data.", Pc = `${hf} Unsupported string format in use.`, vy = `${hf} Value doesn't match to GUID regular expression.`, Mc = /^([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})$/i, Rc = "1.3.6.1.4.1.311.25.1", Dc = "1.3.6.1.4.1.311.20.2.3", Lo = "dns", Ho = "dn", Fo = "email", qo = "ip", Ko = "url", zo = "guid", Go = "upn", Xi = "id";
|
|
7619
7619
|
class Uc extends ar {
|
|
7620
7620
|
constructor(...t) {
|
|
7621
7621
|
let r;
|
|
@@ -7693,9 +7693,9 @@ class Uc extends ar {
|
|
|
7693
7693
|
} else if (t.otherName.typeId === Dc)
|
|
7694
7694
|
this.type = Go, this.value = Y.parse(t.otherName.value, We).toString();
|
|
7695
7695
|
else
|
|
7696
|
-
throw new Error(
|
|
7696
|
+
throw new Error(Pc);
|
|
7697
7697
|
else
|
|
7698
|
-
throw new Error(
|
|
7698
|
+
throw new Error(Pc);
|
|
7699
7699
|
}
|
|
7700
7700
|
toJSON() {
|
|
7701
7701
|
return {
|
|
@@ -8165,7 +8165,7 @@ class To extends Tt {
|
|
|
8165
8165
|
this.keyId = K.ToHex(r);
|
|
8166
8166
|
} else {
|
|
8167
8167
|
const r = typeof t[0] == "string" ? K.FromHex(t[0]) : t[0], i = new tr(r);
|
|
8168
|
-
super(
|
|
8168
|
+
super(Pd, t[1], Y.serialize(i)), this.keyId = K.ToHex(r);
|
|
8169
8169
|
}
|
|
8170
8170
|
}
|
|
8171
8171
|
toTextObject() {
|
|
@@ -8176,7 +8176,7 @@ class To extends Tt {
|
|
|
8176
8176
|
To.NAME = "Subject Key Identifier";
|
|
8177
8177
|
class cl extends Tt {
|
|
8178
8178
|
constructor(...t) {
|
|
8179
|
-
U.isBufferSource(t[0]) ? super(t[0]) : super(
|
|
8179
|
+
U.isBufferSource(t[0]) ? super(t[0]) : super(Vd, t[1], new Ei(t[0] || []).rawData);
|
|
8180
8180
|
}
|
|
8181
8181
|
onInit(t) {
|
|
8182
8182
|
super.onInit(t);
|
|
@@ -8494,9 +8494,9 @@ var Gc;
|
|
|
8494
8494
|
jt.register(Ed, yf);
|
|
8495
8495
|
jt.register(_d, gf);
|
|
8496
8496
|
jt.register(Td, ll);
|
|
8497
|
-
jt.register(
|
|
8497
|
+
jt.register(Pd, To);
|
|
8498
8498
|
jt.register(as, Oi);
|
|
8499
|
-
jt.register(
|
|
8499
|
+
jt.register(Vd, cl);
|
|
8500
8500
|
jo.register(cf, vf);
|
|
8501
8501
|
jo.register(al, ul);
|
|
8502
8502
|
gt.registerSingleton(_o, Iy);
|
|
@@ -8772,10 +8772,10 @@ const Nt = {
|
|
|
8772
8772
|
prefix: "Successfully",
|
|
8773
8773
|
content: " copied to clipboard"
|
|
8774
8774
|
}
|
|
8775
|
-
},
|
|
8775
|
+
}, $y = "Copy to clipboard", Vy = {
|
|
8776
8776
|
message: jy,
|
|
8777
|
-
iconTitle:
|
|
8778
|
-
},
|
|
8777
|
+
iconTitle: $y
|
|
8778
|
+
}, Py = "kong-ui-copy-uuid-notify", Wc = "24px", My = (e, t) => {
|
|
8779
8779
|
const r = e.__vccOpts || e;
|
|
8780
8780
|
for (const [i, n] of t)
|
|
8781
8781
|
r[i] = n;
|
|
@@ -8872,7 +8872,7 @@ const Nt = {
|
|
|
8872
8872
|
width: "100%",
|
|
8873
8873
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8874
8874
|
}, [
|
|
8875
|
-
e.title ? (B(), R("title", Uy,
|
|
8875
|
+
e.title ? (B(), R("title", Uy, P(e.title), 1)) : he("", !0),
|
|
8876
8876
|
Ly
|
|
8877
8877
|
], 8, Dy))
|
|
8878
8878
|
]),
|
|
@@ -8923,7 +8923,7 @@ const Nt = {
|
|
|
8923
8923
|
},
|
|
8924
8924
|
emits: ["success", "error"],
|
|
8925
8925
|
setup(e, { emit: t }) {
|
|
8926
|
-
const { t: r } = Ln("en-us",
|
|
8926
|
+
const { t: r } = Ln("en-us", Vy), i = e, n = t, o = i.notify || ku(Py, () => {
|
|
8927
8927
|
}), s = M(() => i.idTooltip ? {
|
|
8928
8928
|
label: i.idTooltip,
|
|
8929
8929
|
positionFixed: !0,
|
|
@@ -8968,13 +8968,13 @@ const Nt = {
|
|
|
8968
8968
|
e.truncated ? "truncated-uuid" : null,
|
|
8969
8969
|
e.useMono ? "mono" : null
|
|
8970
8970
|
])
|
|
8971
|
-
},
|
|
8971
|
+
}, P(h.value), 3)
|
|
8972
8972
|
]),
|
|
8973
8973
|
_: 1
|
|
8974
8974
|
}, 16)) : he("", !0),
|
|
8975
8975
|
(B(), ie(Dt(e.tooltip ? "KTooltip" : "div"), mi(u.value, { class: "uuid-icon-wrapper" }), {
|
|
8976
8976
|
default: x(() => [
|
|
8977
|
-
|
|
8977
|
+
$(y, null, {
|
|
8978
8978
|
default: x(({ copyToClipboard: w }) => [
|
|
8979
8979
|
oe("span", {
|
|
8980
8980
|
"data-testid": "copy-to-clipboard",
|
|
@@ -8982,7 +8982,7 @@ const Nt = {
|
|
|
8982
8982
|
tabindex: "0",
|
|
8983
8983
|
onClick: Mr((g) => I(w), ["stop"])
|
|
8984
8984
|
}, [
|
|
8985
|
-
|
|
8985
|
+
$(S(Fy), {
|
|
8986
8986
|
class: "uuid-icon",
|
|
8987
8987
|
color: e.iconColor,
|
|
8988
8988
|
decorative: !!e.tooltip,
|
|
@@ -9008,7 +9008,7 @@ const Nt = {
|
|
|
9008
9008
|
var dl = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(dl || {}), gr = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(gr || {}), Qt = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Qt || {}), we = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(we || {}), xe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(xe || {});
|
|
9009
9009
|
function fl(e = {}) {
|
|
9010
9010
|
return {
|
|
9011
|
-
axiosInstance:
|
|
9011
|
+
axiosInstance: $p.create({
|
|
9012
9012
|
withCredentials: !0,
|
|
9013
9013
|
timeout: 3e4,
|
|
9014
9014
|
...e
|
|
@@ -9366,7 +9366,9 @@ function pg(e, t, r = "data") {
|
|
|
9366
9366
|
return { fetcher: async (a) => {
|
|
9367
9367
|
try {
|
|
9368
9368
|
s.value = { status: Qt.Loading };
|
|
9369
|
-
|
|
9369
|
+
let l = o(a);
|
|
9370
|
+
l.includes("filter[name]") && (l = `${l}&page[size]=${a.pageSize}&page[number]=${a.page}`);
|
|
9371
|
+
const { data: u } = await n.get(l), h = r && r.replace(/[^\w-_]/gi, "");
|
|
9370
9372
|
let f;
|
|
9371
9373
|
u[h] && Array.isArray(u[h]) ? f = u[h] : Array.isArray(u) ? f = u : f = Object.keys(u).length ? [u] : [];
|
|
9372
9374
|
const I = {
|
|
@@ -9588,14 +9590,14 @@ const He = {
|
|
|
9588
9590
|
width: "100%",
|
|
9589
9591
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9590
9592
|
}, [
|
|
9591
|
-
e.title ? (B(), R("title", Ng,
|
|
9593
|
+
e.title ? (B(), R("title", Ng, P(e.title), 1)) : he("", !0),
|
|
9592
9594
|
Og
|
|
9593
9595
|
], 8, Eg))
|
|
9594
9596
|
]),
|
|
9595
9597
|
_: 1
|
|
9596
9598
|
}, 8, ["aria-hidden", "style"]));
|
|
9597
9599
|
}
|
|
9598
|
-
}), Tg = /* @__PURE__ */ Ig(_g, [["__scopeId", "data-v-ac7fcfb4"]]), jg = "16px",
|
|
9600
|
+
}), Tg = /* @__PURE__ */ Ig(_g, [["__scopeId", "data-v-ac7fcfb4"]]), jg = "16px", $g = { class: "kong-ui-copy-uuid" }, Vg = ["onClick"], iu = 15, Pg = /* @__PURE__ */ Oe({
|
|
9599
9601
|
__name: "CopyUuid",
|
|
9600
9602
|
props: {
|
|
9601
9603
|
uuid: {
|
|
@@ -9675,7 +9677,7 @@ const He = {
|
|
|
9675
9677
|
};
|
|
9676
9678
|
return (m, p) => {
|
|
9677
9679
|
const y = te("KClipboardProvider");
|
|
9678
|
-
return B(), R("div",
|
|
9680
|
+
return B(), R("div", $g, [
|
|
9679
9681
|
e.format !== "hidden" ? (B(), ie(Dt(e.idTooltip ? "KTooltip" : "div"), mi({ key: 0 }, s.value, { "data-testid": "copy-id" }), {
|
|
9680
9682
|
default: x(() => [
|
|
9681
9683
|
oe("div", {
|
|
@@ -9684,13 +9686,13 @@ const He = {
|
|
|
9684
9686
|
e.truncated ? "truncated-uuid" : null,
|
|
9685
9687
|
e.useMono ? "mono" : null
|
|
9686
9688
|
])
|
|
9687
|
-
},
|
|
9689
|
+
}, P(h.value), 3)
|
|
9688
9690
|
]),
|
|
9689
9691
|
_: 1
|
|
9690
9692
|
}, 16)) : he("", !0),
|
|
9691
9693
|
(B(), ie(Dt(e.tooltip ? "KTooltip" : "div"), mi(u.value, { class: "uuid-icon-wrapper" }), {
|
|
9692
9694
|
default: x(() => [
|
|
9693
|
-
|
|
9695
|
+
$(y, null, {
|
|
9694
9696
|
default: x(({ copyToClipboard: w }) => [
|
|
9695
9697
|
oe("span", {
|
|
9696
9698
|
"data-testid": "copy-to-clipboard",
|
|
@@ -9698,14 +9700,14 @@ const He = {
|
|
|
9698
9700
|
tabindex: "0",
|
|
9699
9701
|
onClick: Mr((g) => I(w), ["stop"])
|
|
9700
9702
|
}, [
|
|
9701
|
-
|
|
9703
|
+
$(S(Tg), {
|
|
9702
9704
|
class: "uuid-icon",
|
|
9703
9705
|
color: e.iconColor,
|
|
9704
9706
|
decorative: !!e.tooltip,
|
|
9705
9707
|
size: S(jg),
|
|
9706
9708
|
title: S(r)("iconTitle")
|
|
9707
9709
|
}, null, 8, ["color", "decorative", "size", "title"])
|
|
9708
|
-
], 8,
|
|
9710
|
+
], 8, Vg)
|
|
9709
9711
|
]),
|
|
9710
9712
|
_: 1
|
|
9711
9713
|
})
|
|
@@ -9720,7 +9722,7 @@ const He = {
|
|
|
9720
9722
|
for (const [i, n] of t)
|
|
9721
9723
|
r[i] = n;
|
|
9722
9724
|
return r;
|
|
9723
|
-
}, Cf = /* @__PURE__ */ Mg(
|
|
9725
|
+
}, Cf = /* @__PURE__ */ Mg(Pg, [["__scopeId", "data-v-0c07874b"]]), Rg = {
|
|
9724
9726
|
key: 0,
|
|
9725
9727
|
class: "config-card-fieldset-title"
|
|
9726
9728
|
}, Dg = /* @__PURE__ */ Oe({
|
|
@@ -9752,7 +9754,7 @@ const He = {
|
|
|
9752
9754
|
}, {
|
|
9753
9755
|
default: x(() => [
|
|
9754
9756
|
e.isArrayItem ? (B(), R("legend", Rg, [
|
|
9755
|
-
oe("b", null,
|
|
9757
|
+
oe("b", null, P(a.value), 1)
|
|
9756
9758
|
])) : he("", !0),
|
|
9757
9759
|
(B(!0), R(Ke, null, Le(Object.keys(s.value), (h, f) => (B(), ie(Zi, {
|
|
9758
9760
|
key: `${n.value}-property-${f}`,
|
|
@@ -9785,13 +9787,13 @@ const He = {
|
|
|
9785
9787
|
return (r, i) => {
|
|
9786
9788
|
const n = te("KButton");
|
|
9787
9789
|
return B(), R("div", null, [
|
|
9788
|
-
|
|
9790
|
+
$(n, {
|
|
9789
9791
|
appearance: "tertiary",
|
|
9790
9792
|
class: "navigation-button",
|
|
9791
9793
|
onClick: i[0] || (i[0] = (o) => r.$emit("navigation-click", e.item))
|
|
9792
9794
|
}, {
|
|
9793
9795
|
default: x(() => [
|
|
9794
|
-
ue(
|
|
9796
|
+
ue(P(e.item.value || S(t)("baseConfigCard.commonFields.link")), 1)
|
|
9795
9797
|
]),
|
|
9796
9798
|
_: 1
|
|
9797
9799
|
})
|
|
@@ -9814,7 +9816,7 @@ const He = {
|
|
|
9814
9816
|
appearance: e.status ? "success" : "neutral"
|
|
9815
9817
|
}, {
|
|
9816
9818
|
default: x(() => [
|
|
9817
|
-
ue(
|
|
9819
|
+
ue(P(e.status ? S(t)("baseConfigCard.statusBadge.enabledLabel") : S(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
|
|
9818
9820
|
]),
|
|
9819
9821
|
_: 1
|
|
9820
9822
|
}, 8, ["appearance"]);
|
|
@@ -9984,9 +9986,9 @@ const He = {
|
|
|
9984
9986
|
"data-testid": `${e.item.key}-label`
|
|
9985
9987
|
}, [
|
|
9986
9988
|
Ne(p.$slots, "label", { item: e.item }, () => [
|
|
9987
|
-
|
|
9989
|
+
$(w, { "tooltip-attributes": { maxWidth: "500px" } }, Xt({
|
|
9988
9990
|
default: x(() => [
|
|
9989
|
-
ue(
|
|
9991
|
+
ue(P(e.item.label) + " ", 1)
|
|
9990
9992
|
]),
|
|
9991
9993
|
_: 2
|
|
9992
9994
|
}, [
|
|
@@ -9997,7 +9999,7 @@ const He = {
|
|
|
9997
9999
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
9998
10000
|
}, [
|
|
9999
10001
|
Ne(p.$slots, "label-tooltip", {}, () => [
|
|
10000
|
-
ue(
|
|
10002
|
+
ue(P(e.item.tooltip), 1)
|
|
10001
10003
|
], !0)
|
|
10002
10004
|
], 8, Yg)
|
|
10003
10005
|
]),
|
|
@@ -10028,7 +10030,7 @@ const He = {
|
|
|
10028
10030
|
"truncation-tooltip": ""
|
|
10029
10031
|
}, {
|
|
10030
10032
|
default: x(() => [
|
|
10031
|
-
ue(
|
|
10033
|
+
ue(P(v), 1)
|
|
10032
10034
|
]),
|
|
10033
10035
|
_: 2
|
|
10034
10036
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
@@ -10050,12 +10052,12 @@ const He = {
|
|
|
10050
10052
|
}, [
|
|
10051
10053
|
(B(!0), R(Ke, null, Le(e.item.value, (v, k) => (B(), ie(g, {
|
|
10052
10054
|
key: `${e.item.key}-badge-method-${k}`,
|
|
10053
|
-
appearance: Object.values(S(
|
|
10055
|
+
appearance: Object.values(S(Vp)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
|
|
10054
10056
|
class: "config-badge",
|
|
10055
10057
|
"data-testid": `${e.item.key}-badge-method-${k}`
|
|
10056
10058
|
}, {
|
|
10057
10059
|
default: x(() => [
|
|
10058
|
-
ue(
|
|
10060
|
+
ue(P(v), 1)
|
|
10059
10061
|
]),
|
|
10060
10062
|
_: 2
|
|
10061
10063
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
@@ -10079,7 +10081,7 @@ const He = {
|
|
|
10079
10081
|
ref_key: "textContent",
|
|
10080
10082
|
ref: I,
|
|
10081
10083
|
class: Ut(["attrs-data-text", { truncated: e.truncated }])
|
|
10082
|
-
},
|
|
10084
|
+
}, P(f.value.text), 3)
|
|
10083
10085
|
]),
|
|
10084
10086
|
_: 1
|
|
10085
10087
|
}, 8, ["label"]))
|
|
@@ -10348,7 +10350,7 @@ function Em(e) {
|
|
|
10348
10350
|
function Nm(e) {
|
|
10349
10351
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
10350
10352
|
}
|
|
10351
|
-
var
|
|
10353
|
+
var $f = new ze("tag:yaml.org,2002:bool", {
|
|
10352
10354
|
kind: "scalar",
|
|
10353
10355
|
resolve: Bm,
|
|
10354
10356
|
construct: Em,
|
|
@@ -10422,7 +10424,7 @@ function jm(e) {
|
|
|
10422
10424
|
}
|
|
10423
10425
|
return !(!i || n === "_");
|
|
10424
10426
|
}
|
|
10425
|
-
function
|
|
10427
|
+
function $m(e) {
|
|
10426
10428
|
var t = e, r = 1, i;
|
|
10427
10429
|
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (r = -1), t = t.slice(1), i = t[0]), t === "0")
|
|
10428
10430
|
return 0;
|
|
@@ -10436,14 +10438,14 @@ function Vm(e) {
|
|
|
10436
10438
|
}
|
|
10437
10439
|
return r * parseInt(t, 10);
|
|
10438
10440
|
}
|
|
10439
|
-
function
|
|
10441
|
+
function Vm(e) {
|
|
10440
10442
|
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !De.isNegativeZero(e);
|
|
10441
10443
|
}
|
|
10442
|
-
var
|
|
10444
|
+
var Vf = new ze("tag:yaml.org,2002:int", {
|
|
10443
10445
|
kind: "scalar",
|
|
10444
10446
|
resolve: jm,
|
|
10445
|
-
construct:
|
|
10446
|
-
predicate:
|
|
10447
|
+
construct: $m,
|
|
10448
|
+
predicate: Vm,
|
|
10447
10449
|
represent: {
|
|
10448
10450
|
binary: function(e) {
|
|
10449
10451
|
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
@@ -10466,12 +10468,12 @@ var Pf = new ze("tag:yaml.org,2002:int", {
|
|
|
10466
10468
|
decimal: [10, "dec"],
|
|
10467
10469
|
hexadecimal: [16, "hex"]
|
|
10468
10470
|
}
|
|
10469
|
-
}),
|
|
10471
|
+
}), Pm = new RegExp(
|
|
10470
10472
|
// 2.5e4, 2.5 and integers
|
|
10471
10473
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
10472
10474
|
);
|
|
10473
10475
|
function Mm(e) {
|
|
10474
|
-
return !(e === null ||
|
|
10476
|
+
return !(e === null || !Pm.test(e) || // Quick hack to not allow integers end with `_`
|
|
10475
10477
|
// Probably should update regexp & check speed
|
|
10476
10478
|
e[e.length - 1] === "_");
|
|
10477
10479
|
}
|
|
@@ -10516,7 +10518,7 @@ function Um(e, t) {
|
|
|
10516
10518
|
function Lm(e) {
|
|
10517
10519
|
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || De.isNegativeZero(e));
|
|
10518
10520
|
}
|
|
10519
|
-
var
|
|
10521
|
+
var Pf = new ze("tag:yaml.org,2002:float", {
|
|
10520
10522
|
kind: "scalar",
|
|
10521
10523
|
resolve: Mm,
|
|
10522
10524
|
construct: Rm,
|
|
@@ -10526,9 +10528,9 @@ var $f = new ze("tag:yaml.org,2002:float", {
|
|
|
10526
10528
|
}), Mf = Tf.extend({
|
|
10527
10529
|
implicit: [
|
|
10528
10530
|
jf,
|
|
10531
|
+
$f,
|
|
10529
10532
|
Vf,
|
|
10530
|
-
Pf
|
|
10531
|
-
$f
|
|
10533
|
+
Pf
|
|
10532
10534
|
]
|
|
10533
10535
|
}), Rf = Mf, Df = new RegExp(
|
|
10534
10536
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
|
|
@@ -10684,7 +10686,7 @@ var zf = new ze("tag:yaml.org,2002:set", {
|
|
|
10684
10686
|
Kf,
|
|
10685
10687
|
zf
|
|
10686
10688
|
]
|
|
10687
|
-
}), or = Object.prototype.hasOwnProperty, jn = 1, Gf = 2, Wf = 3,
|
|
10689
|
+
}), or = Object.prototype.hasOwnProperty, jn = 1, Gf = 2, Wf = 3, $n = 4, Zo = 1, sv = 2, ou = 3, av = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, lv = /[\x85\u2028\u2029]/, cv = /[,\[\]\{\}]/, Jf = /^(?:!|!!|![a-z\-]+!)$/i, Yf = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
10688
10690
|
function su(e) {
|
|
10689
10691
|
return Object.prototype.toString.call(e);
|
|
10690
10692
|
}
|
|
@@ -10740,13 +10742,13 @@ function Xf(e, t) {
|
|
|
10740
10742
|
function X(e, t) {
|
|
10741
10743
|
throw Xf(e, t);
|
|
10742
10744
|
}
|
|
10743
|
-
function
|
|
10745
|
+
function Vn(e, t) {
|
|
10744
10746
|
e.onWarning && e.onWarning.call(null, Xf(e, t));
|
|
10745
10747
|
}
|
|
10746
10748
|
var lu = {
|
|
10747
10749
|
YAML: function(e, t, r) {
|
|
10748
10750
|
var i, n, o;
|
|
10749
|
-
e.version !== null && X(e, "duplication of %YAML directive"), r.length !== 1 && X(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && X(e, "ill-formed argument of the YAML directive"), n = parseInt(i[1], 10), o = parseInt(i[2], 10), n !== 1 && X(e, "unacceptable YAML version of the document"), e.version = r[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 &&
|
|
10751
|
+
e.version !== null && X(e, "duplication of %YAML directive"), r.length !== 1 && X(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && X(e, "ill-formed argument of the YAML directive"), n = parseInt(i[1], 10), o = parseInt(i[2], 10), n !== 1 && X(e, "unacceptable YAML version of the document"), e.version = r[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Vn(e, "unsupported YAML version of the document");
|
|
10750
10752
|
},
|
|
10751
10753
|
TAG: function(e, t, r) {
|
|
10752
10754
|
var i, n;
|
|
@@ -10813,9 +10815,9 @@ function Me(e, t, r) {
|
|
|
10813
10815
|
else
|
|
10814
10816
|
break;
|
|
10815
10817
|
}
|
|
10816
|
-
return r !== -1 && i !== 0 && e.lineIndent < r &&
|
|
10818
|
+
return r !== -1 && i !== 0 && e.lineIndent < r && Vn(e, "deficient indentation"), i;
|
|
10817
10819
|
}
|
|
10818
|
-
function
|
|
10820
|
+
function $o(e) {
|
|
10819
10821
|
var t = e.position, r;
|
|
10820
10822
|
return r = e.input.charCodeAt(t), !!((r === 45 || r === 46) && r === e.input.charCodeAt(t + 1) && r === e.input.charCodeAt(t + 2) && (t += 3, r = e.input.charCodeAt(t), r === 0 || nt(r)));
|
|
10821
10823
|
}
|
|
@@ -10835,7 +10837,7 @@ function yv(e, t, r) {
|
|
|
10835
10837
|
if (i = e.input.charCodeAt(e.position - 1), nt(i))
|
|
10836
10838
|
break;
|
|
10837
10839
|
} else {
|
|
10838
|
-
if (e.position === e.lineStart &&
|
|
10840
|
+
if (e.position === e.lineStart && $o(e) || r && Tr(m))
|
|
10839
10841
|
break;
|
|
10840
10842
|
if (Bt(m))
|
|
10841
10843
|
if (l = e.line, u = e.lineStart, h = e.lineIndent, Me(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -10861,7 +10863,7 @@ function gv(e, t) {
|
|
|
10861
10863
|
else
|
|
10862
10864
|
return !0;
|
|
10863
10865
|
else
|
|
10864
|
-
Bt(r) ? (ir(e, i, n, !0), ml(e, Me(e, !1, t)), i = n = e.position) : e.position === e.lineStart &&
|
|
10866
|
+
Bt(r) ? (ir(e, i, n, !0), ml(e, Me(e, !1, t)), i = n = e.position) : e.position === e.lineStart && $o(e) ? X(e, "unexpected end of the document within a single quoted scalar") : (e.position++, n = e.position);
|
|
10865
10867
|
X(e, "unexpected end of the stream within a single quoted scalar");
|
|
10866
10868
|
}
|
|
10867
10869
|
function mv(e, t) {
|
|
@@ -10884,7 +10886,7 @@ function mv(e, t) {
|
|
|
10884
10886
|
X(e, "unknown escape sequence");
|
|
10885
10887
|
r = i = e.position;
|
|
10886
10888
|
} else
|
|
10887
|
-
Bt(a) ? (ir(e, r, i, !0), ml(e, Me(e, !1, t)), r = i = e.position) : e.position === e.lineStart &&
|
|
10889
|
+
Bt(a) ? (ir(e, r, i, !0), ml(e, Me(e, !1, t)), r = i = e.position) : e.position === e.lineStart && $o(e) ? X(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
|
|
10888
10890
|
}
|
|
10889
10891
|
X(e, "unexpected end of the stream within a double quoted scalar");
|
|
10890
10892
|
}
|
|
@@ -10990,7 +10992,7 @@ function wv(e, t, r) {
|
|
|
10990
10992
|
else
|
|
10991
10993
|
return e.tag = u, e.anchor = h, !0;
|
|
10992
10994
|
}
|
|
10993
|
-
if ((e.line === o || e.lineIndent > t) && (w && (s = e.line, a = e.lineStart, l = e.position), Xr(e, t,
|
|
10995
|
+
if ((e.line === o || e.lineIndent > t) && (w && (s = e.line, a = e.lineStart, l = e.position), Xr(e, t, $n, !0, n) && (w ? p = e.result : y = e.result), w || (jr(e, f, I, m, p, y, s, a, l), m = p = y = null), Me(e, !0, -1), A = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && A !== 0)
|
|
10994
10996
|
X(e, "bad indentation of a mapping entry");
|
|
10995
10997
|
else if (e.lineIndent < t)
|
|
10996
10998
|
break;
|
|
@@ -11037,10 +11039,10 @@ function Sv(e) {
|
|
|
11037
11039
|
}
|
|
11038
11040
|
function Xr(e, t, r, i, n) {
|
|
11039
11041
|
var o, s, a, l = 1, u = !1, h = !1, f, I, m, p, y, w;
|
|
11040
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = s = a =
|
|
11042
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = s = a = $n === r || Wf === r, i && Me(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
|
|
11041
11043
|
for (; kv(e) || Av(e); )
|
|
11042
11044
|
Me(e, !0, -1) ? (u = !0, a = o, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : a = !1;
|
|
11043
|
-
if (a && (a = u || n), (l === 1 ||
|
|
11045
|
+
if (a && (a = u || n), (l === 1 || $n === r) && (jn === r || Gf === r ? y = t : y = t + 1, w = e.position - e.lineStart, l === 1 ? a && (uu(e, w) || wv(e, w, y)) || vv(e, y) ? h = !0 : (s && bv(e, y) || gv(e, y) || mv(e, y) ? h = !0 : Sv(e) ? (h = !0, (e.tag !== null || e.anchor !== null) && X(e, "alias node should not have any properties")) : yv(e, y, jn === r) && (h = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (h = a && uu(e, w))), e.tag === null)
|
|
11044
11046
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
11045
11047
|
else if (e.tag === "?") {
|
|
11046
11048
|
for (e.result !== null && e.kind !== "scalar" && X(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), f = 0, I = e.implicitTypes.length; f < I; f += 1)
|
|
@@ -11081,9 +11083,9 @@ function Cv(e) {
|
|
|
11081
11083
|
s = e.input.charCodeAt(++e.position);
|
|
11082
11084
|
n.push(e.input.slice(r, e.position));
|
|
11083
11085
|
}
|
|
11084
|
-
s !== 0 && gl(e), or.call(lu, i) ? lu[i](e, i, n) :
|
|
11086
|
+
s !== 0 && gl(e), or.call(lu, i) ? lu[i](e, i, n) : Vn(e, 'unknown document directive "' + i + '"');
|
|
11085
11087
|
}
|
|
11086
|
-
if (Me(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, Me(e, !0, -1)) : o && X(e, "directives end mark is expected"), Xr(e, e.lineIndent - 1,
|
|
11088
|
+
if (Me(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, Me(e, !0, -1)) : o && X(e, "directives end mark is expected"), Xr(e, e.lineIndent - 1, $n, !1, !0), Me(e, !0, -1), e.checkLineBreaks && lv.test(e.input.slice(t, e.position)) && Vn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && $o(e)) {
|
|
11087
11089
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, Me(e, !0, -1));
|
|
11088
11090
|
return;
|
|
11089
11091
|
}
|
|
@@ -11121,7 +11123,7 @@ function Iv(e, t) {
|
|
|
11121
11123
|
var Bv = xv, Ev = Iv, tp = {
|
|
11122
11124
|
loadAll: Bv,
|
|
11123
11125
|
load: Ev
|
|
11124
|
-
}, rp = Object.prototype.toString, ip = Object.prototype.hasOwnProperty, vl = 65279, Nv = 9, Ti = 10, Ov = 13, _v = 32, Tv = 33, jv = 34, ga = 35,
|
|
11126
|
+
}, rp = Object.prototype.toString, ip = Object.prototype.hasOwnProperty, vl = 65279, Nv = 9, Ti = 10, Ov = 13, _v = 32, Tv = 33, jv = 34, ga = 35, $v = 37, Vv = 38, Pv = 39, Mv = 42, np = 44, Rv = 45, Pn = 58, Dv = 61, Uv = 62, Lv = 63, Hv = 64, op = 91, sp = 93, Fv = 96, ap = 123, qv = 124, lp = 125, Qe = {};
|
|
11125
11127
|
Qe[0] = "\\0";
|
|
11126
11128
|
Qe[7] = "\\a";
|
|
11127
11129
|
Qe[8] = "\\b";
|
|
@@ -11200,11 +11202,11 @@ function Zv(e, t) {
|
|
|
11200
11202
|
function Mn(e) {
|
|
11201
11203
|
return e === _v || e === Nv;
|
|
11202
11204
|
}
|
|
11203
|
-
function
|
|
11205
|
+
function $i(e) {
|
|
11204
11206
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== vl || 65536 <= e && e <= 1114111;
|
|
11205
11207
|
}
|
|
11206
11208
|
function fu(e) {
|
|
11207
|
-
return
|
|
11209
|
+
return $i(e) && e !== vl && e !== Ov && e !== Ti;
|
|
11208
11210
|
}
|
|
11209
11211
|
function pu(e, t, r) {
|
|
11210
11212
|
var i = fu(e), n = i && !Mn(e);
|
|
@@ -11213,14 +11215,14 @@ function pu(e, t, r) {
|
|
|
11213
11215
|
(r ? (
|
|
11214
11216
|
// c = flow-in
|
|
11215
11217
|
i
|
|
11216
|
-
) : i && e !== np && e !== op && e !== sp && e !== ap && e !== lp) && e !== ga && !(t ===
|
|
11218
|
+
) : i && e !== np && e !== op && e !== sp && e !== ap && e !== lp) && e !== ga && !(t === Pn && !n) || fu(t) && !Mn(t) && e === ga || t === Pn && n
|
|
11217
11219
|
);
|
|
11218
11220
|
}
|
|
11219
11221
|
function Qv(e) {
|
|
11220
|
-
return
|
|
11222
|
+
return $i(e) && e !== vl && !Mn(e) && e !== Rv && e !== Lv && e !== Pn && e !== np && e !== op && e !== sp && e !== ap && e !== lp && e !== ga && e !== Vv && e !== Mv && e !== Tv && e !== qv && e !== Dv && e !== Uv && e !== Pv && e !== jv && e !== $v && e !== Hv && e !== Fv;
|
|
11221
11223
|
}
|
|
11222
11224
|
function Xv(e) {
|
|
11223
|
-
return !Mn(e) && e !==
|
|
11225
|
+
return !Mn(e) && e !== Pn;
|
|
11224
11226
|
}
|
|
11225
11227
|
function di(e, t) {
|
|
11226
11228
|
var r = e.charCodeAt(t), i;
|
|
@@ -11235,7 +11237,7 @@ function e0(e, t, r, i, n, o, s, a) {
|
|
|
11235
11237
|
var l, u = 0, h = null, f = !1, I = !1, m = i !== -1, p = -1, y = Qv(di(e, 0)) && Xv(di(e, e.length - 1));
|
|
11236
11238
|
if (t || s)
|
|
11237
11239
|
for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
|
|
11238
|
-
if (u = di(e, l),
|
|
11240
|
+
if (u = di(e, l), !$i(u))
|
|
11239
11241
|
return _r;
|
|
11240
11242
|
y = y && pu(u, h, a), h = u;
|
|
11241
11243
|
}
|
|
@@ -11244,7 +11246,7 @@ function e0(e, t, r, i, n, o, s, a) {
|
|
|
11244
11246
|
if (u = di(e, l), u === Ti)
|
|
11245
11247
|
f = !0, m && (I = I || // Foldable line = too long, and not more-indented.
|
|
11246
11248
|
l - p - 1 > i && e[p + 1] !== " ", p = l);
|
|
11247
|
-
else if (
|
|
11249
|
+
else if (!$i(u))
|
|
11248
11250
|
return _r;
|
|
11249
11251
|
y = y && pu(u, h, a), h = u;
|
|
11250
11252
|
}
|
|
@@ -11324,7 +11326,7 @@ function gu(e, t) {
|
|
|
11324
11326
|
}
|
|
11325
11327
|
function i0(e) {
|
|
11326
11328
|
for (var t = "", r = 0, i, n = 0; n < e.length; r >= 65536 ? n += 2 : n++)
|
|
11327
|
-
r = di(e, n), i = Qe[r], !i &&
|
|
11329
|
+
r = di(e, n), i = Qe[r], !i && $i(r) ? (t += e[n], r >= 65536 && (t += e[n + 1])) : t += i || Wv(r);
|
|
11328
11330
|
return t;
|
|
11329
11331
|
}
|
|
11330
11332
|
function n0(e, t, r) {
|
|
@@ -11435,14 +11437,14 @@ function bl(e, t) {
|
|
|
11435
11437
|
}
|
|
11436
11438
|
var d0 = ze, f0 = Ef, p0 = Tf, h0 = Mf, y0 = Rf, g0 = yl, m0 = tp.load, v0 = tp.loadAll, b0 = u0.dump, w0 = Xe, k0 = {
|
|
11437
11439
|
binary: Ff,
|
|
11438
|
-
float:
|
|
11440
|
+
float: Pf,
|
|
11439
11441
|
map: _f,
|
|
11440
11442
|
null: jf,
|
|
11441
11443
|
pairs: Kf,
|
|
11442
11444
|
set: zf,
|
|
11443
11445
|
timestamp: Lf,
|
|
11444
|
-
bool:
|
|
11445
|
-
int:
|
|
11446
|
+
bool: $f,
|
|
11447
|
+
int: Vf,
|
|
11446
11448
|
merge: Hf,
|
|
11447
11449
|
omap: qf,
|
|
11448
11450
|
seq: Of,
|
|
@@ -11532,7 +11534,7 @@ const I0 = {
|
|
|
11532
11534
|
class: Ut(`config-card-details-${I}-props`),
|
|
11533
11535
|
"data-testid": `config-card-details-${I}-props`
|
|
11534
11536
|
}, [
|
|
11535
|
-
I !== "basic" ? (B(), R("div", E0,
|
|
11537
|
+
I !== "basic" ? (B(), R("div", E0, P(I === "advanced" ? S(i)("baseConfigCard.sections.advanced") : S(i)("baseConfigCard.sections.plugin")), 1)) : he("", !0),
|
|
11536
11538
|
(B(!0), R(Ke, null, Le(e.propertyCollections[I], (m) => (B(), ie(Zi, {
|
|
11537
11539
|
key: m.key,
|
|
11538
11540
|
item: m
|
|
@@ -11560,13 +11562,13 @@ const I0 = {
|
|
|
11560
11562
|
])) : he("", !0),
|
|
11561
11563
|
e.format === "json" ? (B(), R("div", N0, [
|
|
11562
11564
|
t.fetcherUrl ? (B(), R("div", O0, [
|
|
11563
|
-
|
|
11565
|
+
$(h, { appearance: "get" }, {
|
|
11564
11566
|
default: x(() => [
|
|
11565
|
-
ue(
|
|
11567
|
+
ue(P(S(i)("baseConfigCard.endpoints.get")), 1)
|
|
11566
11568
|
]),
|
|
11567
11569
|
_: 1
|
|
11568
11570
|
}),
|
|
11569
|
-
|
|
11571
|
+
$(f, {
|
|
11570
11572
|
id: "config-card-endpoint-codeblock",
|
|
11571
11573
|
code: t.fetcherUrl,
|
|
11572
11574
|
"is-single-line": "",
|
|
@@ -11574,7 +11576,7 @@ const I0 = {
|
|
|
11574
11576
|
theme: "dark"
|
|
11575
11577
|
}, null, 8, ["code"])
|
|
11576
11578
|
])) : he("", !0),
|
|
11577
|
-
|
|
11579
|
+
$(f, {
|
|
11578
11580
|
id: "config-card-codeblock",
|
|
11579
11581
|
class: Ut({ "config-card-display-json-content": t.fetcherUrl }),
|
|
11580
11582
|
code: o.value,
|
|
@@ -11583,7 +11585,7 @@ const I0 = {
|
|
|
11583
11585
|
}, null, 8, ["class", "code"])
|
|
11584
11586
|
])) : he("", !0),
|
|
11585
11587
|
e.format === "yaml" ? (B(), R("div", _0, [
|
|
11586
|
-
|
|
11588
|
+
$(f, {
|
|
11587
11589
|
id: "config-card-codeblock",
|
|
11588
11590
|
code: s.value,
|
|
11589
11591
|
language: "yaml",
|
|
@@ -11593,15 +11595,15 @@ const I0 = {
|
|
|
11593
11595
|
], 64);
|
|
11594
11596
|
};
|
|
11595
11597
|
}
|
|
11596
|
-
}), j0 = /* @__PURE__ */ Ct(T0, [["__scopeId", "data-v-27f85338"]]), bu = "24px",
|
|
11598
|
+
}), j0 = /* @__PURE__ */ Ct(T0, [["__scopeId", "data-v-27f85338"]]), bu = "24px", $0 = (e, t) => {
|
|
11597
11599
|
const r = e.__vccOpts || e;
|
|
11598
11600
|
for (const [i, n] of t)
|
|
11599
11601
|
r[i] = n;
|
|
11600
11602
|
return r;
|
|
11601
|
-
},
|
|
11603
|
+
}, V0 = (e) => (ka("data-v-84d5ee61"), e = e(), Aa(), e), P0 = ["aria-hidden"], M0 = {
|
|
11602
11604
|
key: 0,
|
|
11603
11605
|
"data-testid": "kui-icon-svg-title"
|
|
11604
|
-
}, R0 = /* @__PURE__ */
|
|
11606
|
+
}, R0 = /* @__PURE__ */ V0(() => /* @__PURE__ */ oe("path", {
|
|
11605
11607
|
d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
|
|
11606
11608
|
fill: "currentColor"
|
|
11607
11609
|
}, null, -1)), D0 = /* @__PURE__ */ Oe({
|
|
@@ -11690,14 +11692,14 @@ const I0 = {
|
|
|
11690
11692
|
width: "100%",
|
|
11691
11693
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11692
11694
|
}, [
|
|
11693
|
-
e.title ? (B(), R("title", M0,
|
|
11695
|
+
e.title ? (B(), R("title", M0, P(e.title), 1)) : he("", !0),
|
|
11694
11696
|
R0
|
|
11695
|
-
], 8,
|
|
11697
|
+
], 8, P0))
|
|
11696
11698
|
]),
|
|
11697
11699
|
_: 1
|
|
11698
11700
|
}, 8, ["aria-hidden", "style"]));
|
|
11699
11701
|
}
|
|
11700
|
-
}), U0 = /* @__PURE__ */
|
|
11702
|
+
}), U0 = /* @__PURE__ */ $0(D0, [["__scopeId", "data-v-84d5ee61"]]), L0 = { "data-testid": "config-card-title" }, H0 = { class: "config-card-actions" }, F0 = ["href"], q0 = {
|
|
11701
11703
|
key: 2,
|
|
11702
11704
|
class: "config-card-details-section"
|
|
11703
11705
|
}, K0 = {
|
|
@@ -11847,15 +11849,15 @@ const I0 = {
|
|
|
11847
11849
|
return L[1] - ge[1];
|
|
11848
11850
|
}), Z.map((L) => {
|
|
11849
11851
|
var ge, Se;
|
|
11850
|
-
const Te = L[0], Ce = (ge = g.value) == null ? void 0 : ge[Te], Ie = ((Se = n.configSchema) == null ? void 0 : Se[Te]) || {},
|
|
11852
|
+
const Te = L[0], Ce = (ge = g.value) == null ? void 0 : ge[Te], Ie = ((Se = n.configSchema) == null ? void 0 : Se[Te]) || {}, Ve = m[Te];
|
|
11851
11853
|
return {
|
|
11852
11854
|
key: Te,
|
|
11853
11855
|
value: Ce,
|
|
11854
11856
|
hidden: Ie.hidden || !1,
|
|
11855
|
-
type: Ie.type ?? ((
|
|
11856
|
-
label: Ie.label ?? ((
|
|
11857
|
-
tooltip: Ie.tooltip ?? ((
|
|
11858
|
-
section: Ie.section ?? ((
|
|
11857
|
+
type: Ie.type ?? ((Ve == null ? void 0 : Ve.type) || we.Text),
|
|
11858
|
+
label: Ie.label ?? ((Ve == null ? void 0 : Ve.label) || l(Te)),
|
|
11859
|
+
tooltip: Ie.tooltip ?? ((Ve == null ? void 0 : Ve.tooltip) || void 0),
|
|
11860
|
+
section: Ie.section ?? ((Ve == null ? void 0 : Ve.section) || xe.Advanced)
|
|
11859
11861
|
};
|
|
11860
11862
|
}).filter((L) => !L.hidden && L.key !== n.pluginConfigKey);
|
|
11861
11863
|
}), v = M(() => {
|
|
@@ -11934,7 +11936,7 @@ const I0 = {
|
|
|
11934
11936
|
"data-testid": "config-format-select-label"
|
|
11935
11937
|
}, {
|
|
11936
11938
|
default: x(() => [
|
|
11937
|
-
ue(
|
|
11939
|
+
ue(P(e.label), 1)
|
|
11938
11940
|
]),
|
|
11939
11941
|
_: 1
|
|
11940
11942
|
})) : he("", !0),
|
|
@@ -11957,7 +11959,7 @@ const I0 = {
|
|
|
11957
11959
|
rel: "noopener",
|
|
11958
11960
|
target: "_blank"
|
|
11959
11961
|
}, [
|
|
11960
|
-
|
|
11962
|
+
$(S(U0), { size: S(Gg) }, null, 8, ["size"])
|
|
11961
11963
|
], 8, F0)
|
|
11962
11964
|
]),
|
|
11963
11965
|
_: 1
|
|
@@ -11971,7 +11973,7 @@ const I0 = {
|
|
|
11971
11973
|
onClick: (Ie) => N(Ce)
|
|
11972
11974
|
}, {
|
|
11973
11975
|
default: x(() => [
|
|
11974
|
-
ue(
|
|
11976
|
+
ue(P(S(s)("baseConfigCard.actions.copy")), 1)
|
|
11975
11977
|
]),
|
|
11976
11978
|
_: 2
|
|
11977
11979
|
}, 1032, ["onClick"])) : he("", !0)
|
|
@@ -11992,12 +11994,12 @@ const I0 = {
|
|
|
11992
11994
|
"is-error": ""
|
|
11993
11995
|
}, {
|
|
11994
11996
|
message: x(() => [
|
|
11995
|
-
oe("h3", null,
|
|
11997
|
+
oe("h3", null, P(w.value), 1)
|
|
11996
11998
|
]),
|
|
11997
11999
|
_: 1
|
|
11998
12000
|
})) : he("", !0),
|
|
11999
12001
|
e.config.jsonYamlEnabled ? (B(), R("div", q0, [
|
|
12000
|
-
|
|
12002
|
+
$(j0, {
|
|
12001
12003
|
"fetcher-url": se.value,
|
|
12002
12004
|
format: f.value,
|
|
12003
12005
|
"prop-list-types": T.value,
|
|
@@ -12006,10 +12008,10 @@ const I0 = {
|
|
|
12006
12008
|
}, Xt({ _: 2 }, [
|
|
12007
12009
|
Le(Object.keys(O.$slots), (Ce) => ({
|
|
12008
12010
|
name: Ce,
|
|
12009
|
-
fn: x(({ row: Ie, rowValue:
|
|
12011
|
+
fn: x(({ row: Ie, rowValue: Ve }) => [
|
|
12010
12012
|
Ne(O.$slots, Ce, {
|
|
12011
12013
|
row: Ie,
|
|
12012
|
-
rowValue:
|
|
12014
|
+
rowValue: Ve
|
|
12013
12015
|
}, void 0, !0)
|
|
12014
12016
|
])
|
|
12015
12017
|
}))
|
|
@@ -12020,7 +12022,7 @@ const I0 = {
|
|
|
12020
12022
|
class: Ut(`config-card-details-${Ce}-props`),
|
|
12021
12023
|
"data-testid": `config-card-details-${Ce}-props`
|
|
12022
12024
|
}, [
|
|
12023
|
-
Ce !== "basic" ? (B(), R("div", G0,
|
|
12025
|
+
Ce !== "basic" ? (B(), R("div", G0, P(Ce === "advanced" ? S(s)("baseConfigCard.sections.advanced") : S(s)("baseConfigCard.sections.plugin")), 1)) : he("", !0),
|
|
12024
12026
|
(B(!0), R(Ke, null, Le(k.value[Ce], (Ie) => (B(), ie(Zi, {
|
|
12025
12027
|
key: Ie.key,
|
|
12026
12028
|
item: Ie
|
|
@@ -12028,10 +12030,10 @@ const I0 = {
|
|
|
12028
12030
|
label: x(() => [
|
|
12029
12031
|
Ne(O.$slots, `${Ie.key}-label`, { row: Ie }, void 0, !0)
|
|
12030
12032
|
]),
|
|
12031
|
-
[Ie.key]: x(({ rowValue:
|
|
12033
|
+
[Ie.key]: x(({ rowValue: Ve }) => [
|
|
12032
12034
|
Ne(O.$slots, Ie.key, {
|
|
12033
12035
|
row: Ie,
|
|
12034
|
-
rowValue:
|
|
12036
|
+
rowValue: Ve
|
|
12035
12037
|
}, void 0, !0)
|
|
12036
12038
|
]),
|
|
12037
12039
|
_: 2
|
|
@@ -12054,7 +12056,7 @@ const I0 = {
|
|
|
12054
12056
|
fn: x(() => [
|
|
12055
12057
|
oe("div", L0, [
|
|
12056
12058
|
Ne(O.$slots, "title", {}, () => [
|
|
12057
|
-
ue(
|
|
12059
|
+
ue(P(S(s)("baseConfigCard.title")), 1)
|
|
12058
12060
|
], !0)
|
|
12059
12061
|
])
|
|
12060
12062
|
]),
|
|
@@ -12116,7 +12118,7 @@ const I0 = {
|
|
|
12116
12118
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
12117
12119
|
setup(e, { emit: t }) {
|
|
12118
12120
|
var r;
|
|
12119
|
-
const i = t, n = e, o =
|
|
12121
|
+
const i = t, n = e, o = Vi(), { i18n: { t: s } } = He.useI18n(), { getMessageFromError: a } = He.useErrors(), { axiosInstance: l } = He.useAxios({
|
|
12120
12122
|
headers: (r = n.config) == null ? void 0 : r.requestHeaders
|
|
12121
12123
|
}), u = Q(!1), h = Q(!1), f = Q(""), I = M(() => n.canSubmit === !1 || n.isReadonly), m = M(() => {
|
|
12122
12124
|
var g, A;
|
|
@@ -12160,7 +12162,7 @@ const I0 = {
|
|
|
12160
12162
|
"is-error": !0
|
|
12161
12163
|
}, {
|
|
12162
12164
|
message: x(() => [
|
|
12163
|
-
oe("h3", null,
|
|
12165
|
+
oe("h3", null, P(f.value), 1)
|
|
12164
12166
|
]),
|
|
12165
12167
|
_: 1
|
|
12166
12168
|
}, 8, ["cta-text"])) : (B(), R("form", {
|
|
@@ -12178,25 +12180,25 @@ const I0 = {
|
|
|
12178
12180
|
}, null, 8, ["alert-message"])) : he("", !0),
|
|
12179
12181
|
oe("div", J0, [
|
|
12180
12182
|
Ne(g.$slots, "form-actions", {}, () => [
|
|
12181
|
-
|
|
12183
|
+
$(W, {
|
|
12182
12184
|
appearance: "secondary",
|
|
12183
12185
|
"data-testid": "form-cancel",
|
|
12184
12186
|
disabled: e.isReadonly,
|
|
12185
12187
|
type: "reset"
|
|
12186
12188
|
}, {
|
|
12187
12189
|
default: x(() => [
|
|
12188
|
-
ue(
|
|
12190
|
+
ue(P(S(s)("baseForm.actions.cancel")), 1)
|
|
12189
12191
|
]),
|
|
12190
12192
|
_: 1
|
|
12191
12193
|
}, 8, ["disabled"]),
|
|
12192
|
-
|
|
12194
|
+
$(W, {
|
|
12193
12195
|
appearance: "primary",
|
|
12194
12196
|
"data-testid": "form-submit",
|
|
12195
12197
|
disabled: I.value,
|
|
12196
12198
|
type: "submit"
|
|
12197
12199
|
}, {
|
|
12198
12200
|
default: x(() => [
|
|
12199
|
-
ue(
|
|
12201
|
+
ue(P(S(s)("baseForm.actions.save")), 1)
|
|
12200
12202
|
]),
|
|
12201
12203
|
_: 1
|
|
12202
12204
|
}, 8, ["disabled"])
|
|
@@ -12268,7 +12270,7 @@ const I0 = {
|
|
|
12268
12270
|
class: "content-wrapper"
|
|
12269
12271
|
}, [
|
|
12270
12272
|
n.value ? (B(), R("span", Z0, [
|
|
12271
|
-
|
|
12273
|
+
$(g, {
|
|
12272
12274
|
label: p.value ? f.value : "",
|
|
12273
12275
|
"max-width": "300",
|
|
12274
12276
|
placement: "bottomStart"
|
|
@@ -12460,7 +12462,7 @@ const I0 = {
|
|
|
12460
12462
|
title: e.title
|
|
12461
12463
|
}, {
|
|
12462
12464
|
default: x(() => [
|
|
12463
|
-
|
|
12465
|
+
$(J, {
|
|
12464
12466
|
ref_key: "tableRefs",
|
|
12465
12467
|
ref: h,
|
|
12466
12468
|
"cache-identifier": s.value,
|
|
@@ -12493,13 +12495,13 @@ const I0 = {
|
|
|
12493
12495
|
"onUpdate:tablePreferences": k
|
|
12494
12496
|
}, Xt({
|
|
12495
12497
|
toolbar: x(({ state: Z }) => [
|
|
12496
|
-
|
|
12498
|
+
$r(oe("div", e1, [
|
|
12497
12499
|
Ne(T.$slots, "toolbar-filter", {}, void 0, !0),
|
|
12498
12500
|
T.$slots["toolbar-button"] ? (B(), R("div", t1, [
|
|
12499
12501
|
Ne(T.$slots, "toolbar-button", {}, void 0, !0)
|
|
12500
12502
|
])) : he("", !0)
|
|
12501
12503
|
], 512), [
|
|
12502
|
-
[
|
|
12504
|
+
[Vr, a(Z)]
|
|
12503
12505
|
])
|
|
12504
12506
|
]),
|
|
12505
12507
|
actions: x(({ row: Z, rowKey: z, rowValue: L }) => [
|
|
@@ -12507,7 +12509,7 @@ const I0 = {
|
|
|
12507
12509
|
class: "actions-container",
|
|
12508
12510
|
"data-testid": Z.name
|
|
12509
12511
|
}, [
|
|
12510
|
-
|
|
12512
|
+
$(O, {
|
|
12511
12513
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
12512
12514
|
width: e.dropdownMenuWidth
|
|
12513
12515
|
}, {
|
|
@@ -12519,13 +12521,13 @@ const I0 = {
|
|
|
12519
12521
|
}, void 0, !0)
|
|
12520
12522
|
]),
|
|
12521
12523
|
default: x(() => [
|
|
12522
|
-
|
|
12524
|
+
$(N, {
|
|
12523
12525
|
class: "actions-trigger",
|
|
12524
12526
|
"data-testid": "overflow-actions-button",
|
|
12525
12527
|
size: "small"
|
|
12526
12528
|
}, {
|
|
12527
12529
|
icon: x(() => [
|
|
12528
|
-
|
|
12530
|
+
$(se, {
|
|
12529
12531
|
color: S(Kg),
|
|
12530
12532
|
icon: "more",
|
|
12531
12533
|
size: "16"
|
|
@@ -12543,7 +12545,7 @@ const I0 = {
|
|
|
12543
12545
|
Le(e.tableHeaders, (Z, z) => ({
|
|
12544
12546
|
name: z,
|
|
12545
12547
|
fn: x(({ row: L, rowKey: ge, rowValue: Se }) => [
|
|
12546
|
-
|
|
12548
|
+
$(X0, {
|
|
12547
12549
|
"key-name": String(z),
|
|
12548
12550
|
"row-el": f(L)
|
|
12549
12551
|
}, {
|
|
@@ -12553,7 +12555,7 @@ const I0 = {
|
|
|
12553
12555
|
rowKey: ge,
|
|
12554
12556
|
rowValue: Se
|
|
12555
12557
|
}, () => [
|
|
12556
|
-
ue(
|
|
12558
|
+
ue(P(Se), 1)
|
|
12557
12559
|
], !0)
|
|
12558
12560
|
]),
|
|
12559
12561
|
_: 2
|
|
@@ -12631,34 +12633,34 @@ const I0 = {
|
|
|
12631
12633
|
}, {
|
|
12632
12634
|
"body-content": x(() => [
|
|
12633
12635
|
e.error ? (B(), R("div", n1, [
|
|
12634
|
-
|
|
12636
|
+
$(h, { appearance: "danger" }, {
|
|
12635
12637
|
alertMessage: x(() => [
|
|
12636
|
-
ue(
|
|
12638
|
+
ue(P(e.error), 1)
|
|
12637
12639
|
]),
|
|
12638
12640
|
_: 1
|
|
12639
12641
|
})
|
|
12640
12642
|
])) : he("", !0),
|
|
12641
|
-
|
|
12643
|
+
$(S(r), {
|
|
12642
12644
|
class: "message",
|
|
12643
12645
|
keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
|
|
12644
12646
|
tag: "p"
|
|
12645
12647
|
}, Xt({
|
|
12646
12648
|
entityType: x(() => [
|
|
12647
|
-
ue(
|
|
12649
|
+
ue(P(i.entityType), 1)
|
|
12648
12650
|
]),
|
|
12649
12651
|
_: 2
|
|
12650
12652
|
}, [
|
|
12651
12653
|
i.entityName ? {
|
|
12652
12654
|
name: "entityName",
|
|
12653
12655
|
fn: x(() => [
|
|
12654
|
-
oe("strong", null,
|
|
12656
|
+
oe("strong", null, P(i.entityName), 1)
|
|
12655
12657
|
]),
|
|
12656
12658
|
key: "0"
|
|
12657
12659
|
} : void 0
|
|
12658
12660
|
]), 1032, ["keypath"]),
|
|
12659
12661
|
i.description || l.$slots.description ? (B(), R("div", o1, [
|
|
12660
12662
|
Ne(l.$slots, "description", {}, () => [
|
|
12661
|
-
oe("p", null,
|
|
12663
|
+
oe("p", null, P(i.description), 1)
|
|
12662
12664
|
], !0)
|
|
12663
12665
|
])) : he("", !0)
|
|
12664
12666
|
]),
|
|
@@ -12781,28 +12783,28 @@ const I0 = {
|
|
|
12781
12783
|
"onUpdate:modelValue": h
|
|
12782
12784
|
}, {
|
|
12783
12785
|
before: x(() => [
|
|
12784
|
-
|
|
12786
|
+
$(wu)
|
|
12785
12787
|
]),
|
|
12786
12788
|
_: 1
|
|
12787
12789
|
}, 8, ["model-value", "placeholder"])) : (B(), R("div", f1, [
|
|
12788
|
-
|
|
12790
|
+
$(k, {
|
|
12789
12791
|
appearance: "tertiary",
|
|
12790
12792
|
"data-testid": "filter-button",
|
|
12791
12793
|
onClick: u
|
|
12792
12794
|
}, {
|
|
12793
12795
|
default: x(() => [
|
|
12794
|
-
|
|
12795
|
-
ue(" " +
|
|
12796
|
+
$(wu),
|
|
12797
|
+
ue(" " + P(S(r)("filter.filterButtonText")) + " " + P(a.value.length > 0 ? `(${a.value.length})` : ""), 1)
|
|
12796
12798
|
]),
|
|
12797
12799
|
_: 1
|
|
12798
12800
|
}),
|
|
12799
|
-
|
|
12801
|
+
$r(oe("div", {
|
|
12800
12802
|
class: "kong-ui-entity-filter-backdrop",
|
|
12801
12803
|
onClick: u
|
|
12802
12804
|
}, null, 512), [
|
|
12803
|
-
[
|
|
12805
|
+
[Vr, o.value]
|
|
12804
12806
|
]),
|
|
12805
|
-
|
|
12807
|
+
$r($(se, { class: "kong-ui-entity-filter-menu" }, {
|
|
12806
12808
|
body: x(() => [
|
|
12807
12809
|
(B(!0), R(Ke, null, Le(l.value, (N, O) => (B(), ie(W, {
|
|
12808
12810
|
key: N.value,
|
|
@@ -12812,9 +12814,9 @@ const I0 = {
|
|
|
12812
12814
|
}, {
|
|
12813
12815
|
itemTitle: x(() => [
|
|
12814
12816
|
oe("span", p1, [
|
|
12815
|
-
ue(
|
|
12816
|
-
|
|
12817
|
-
[
|
|
12817
|
+
ue(P(N.label) + " ", 1),
|
|
12818
|
+
$r(oe("span", h1, null, 512), [
|
|
12819
|
+
[Vr, a.value.includes(N.value)]
|
|
12818
12820
|
])
|
|
12819
12821
|
])
|
|
12820
12822
|
]),
|
|
@@ -12825,7 +12827,7 @@ const I0 = {
|
|
|
12825
12827
|
oe("label", {
|
|
12826
12828
|
class: "menu-item-label",
|
|
12827
12829
|
for: f(N.value)
|
|
12828
|
-
},
|
|
12830
|
+
}, P(S(r)("filter.fieldLabel")), 9, g1),
|
|
12829
12831
|
((H = (J = e.config.schema) == null ? void 0 : J[N.value]) == null ? void 0 : H.type) === "select" ? (B(), ie(T, {
|
|
12830
12832
|
key: 0,
|
|
12831
12833
|
id: f(N.value),
|
|
@@ -12845,25 +12847,25 @@ const I0 = {
|
|
|
12845
12847
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
|
|
12846
12848
|
]),
|
|
12847
12849
|
oe("div", m1, [
|
|
12848
|
-
|
|
12850
|
+
$(k, {
|
|
12849
12851
|
appearance: "tertiary",
|
|
12850
12852
|
"data-testid": "apply-filter",
|
|
12851
12853
|
size: "small",
|
|
12852
12854
|
onClick: A[0] || (A[0] = (Z) => w(!0))
|
|
12853
12855
|
}, {
|
|
12854
12856
|
default: x(() => [
|
|
12855
|
-
ue(
|
|
12857
|
+
ue(P(S(r)("filter.applyButtonText")), 1)
|
|
12856
12858
|
]),
|
|
12857
12859
|
_: 1
|
|
12858
12860
|
}),
|
|
12859
|
-
|
|
12861
|
+
$(k, {
|
|
12860
12862
|
appearance: "tertiary",
|
|
12861
12863
|
"data-testid": "clear-filter",
|
|
12862
12864
|
size: "small",
|
|
12863
12865
|
onClick: (Z) => p(N.value)
|
|
12864
12866
|
}, {
|
|
12865
12867
|
default: x(() => [
|
|
12866
|
-
ue(
|
|
12868
|
+
ue(P(S(r)("filter.clearButtonText")), 1)
|
|
12867
12869
|
]),
|
|
12868
12870
|
_: 2
|
|
12869
12871
|
}, 1032, ["onClick"])
|
|
@@ -12875,13 +12877,13 @@ const I0 = {
|
|
|
12875
12877
|
]),
|
|
12876
12878
|
actionButton: x(() => [
|
|
12877
12879
|
oe("div", v1, [
|
|
12878
|
-
|
|
12880
|
+
$(k, {
|
|
12879
12881
|
appearance: "tertiary",
|
|
12880
12882
|
size: "small",
|
|
12881
12883
|
onClick: y
|
|
12882
12884
|
}, {
|
|
12883
12885
|
default: x(() => [
|
|
12884
|
-
ue(
|
|
12886
|
+
ue(P(S(r)("filter.clearAllButtonText")), 1)
|
|
12885
12887
|
]),
|
|
12886
12888
|
_: 1
|
|
12887
12889
|
})
|
|
@@ -12889,12 +12891,12 @@ const I0 = {
|
|
|
12889
12891
|
]),
|
|
12890
12892
|
_: 1
|
|
12891
12893
|
}, 512), [
|
|
12892
|
-
[
|
|
12894
|
+
[Vr, o.value]
|
|
12893
12895
|
])
|
|
12894
12896
|
]));
|
|
12895
12897
|
};
|
|
12896
12898
|
}
|
|
12897
|
-
}), mp = /* @__PURE__ */ Ct(b1, [["__scopeId", "data-v-15962ee2"]]),
|
|
12899
|
+
}), mp = /* @__PURE__ */ Ct(b1, [["__scopeId", "data-v-15962ee2"]]), $t = /* @__PURE__ */ Oe({
|
|
12898
12900
|
__name: "PermissionsWrapper",
|
|
12899
12901
|
props: {
|
|
12900
12902
|
/**
|
|
@@ -12967,10 +12969,10 @@ const I0 = {
|
|
|
12967
12969
|
key: 0,
|
|
12968
12970
|
class: Ut(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
12969
12971
|
}, [
|
|
12970
|
-
e.title ? (B(), R("h4", k1,
|
|
12972
|
+
e.title ? (B(), R("h4", k1, P(e.title), 1)) : he("", !0),
|
|
12971
12973
|
e.description || S(t).description ? (B(), R("div", A1, [
|
|
12972
12974
|
Ne(r.$slots, "description", {}, () => [
|
|
12973
|
-
oe("p", null,
|
|
12975
|
+
oe("p", null, P(e.description), 1)
|
|
12974
12976
|
], !0)
|
|
12975
12977
|
])) : he("", !0),
|
|
12976
12978
|
S(t).footer ? (B(), R("div", S1, [
|
|
@@ -12983,7 +12985,7 @@ const I0 = {
|
|
|
12983
12985
|
])
|
|
12984
12986
|
], 2));
|
|
12985
12987
|
}
|
|
12986
|
-
}), Rn = /* @__PURE__ */ Ct(x1, [["__scopeId", "data-v-3565daa7"]]), { useAxios:
|
|
12988
|
+
}), Rn = /* @__PURE__ */ Ct(x1, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Vo, useDeleteUrlBuilder: vp, useErrors: bp, useExternalLinkCreator: Jw, useFetchUrlBuilder: Yw, useFetcher: wp, useDebouncedFilter: Zw, useStringHelpers: kp, useHelpers: Ap, useGatewayFeatureSupported: Qw, useTruncationDetector: Xw } = He, I1 = { class: "kong-ui-entities-certificates-list" }, B1 = { key: 0 }, E1 = { key: 1 }, N1 = { key: 0 }, O1 = { key: 1 }, _1 = { key: 0 }, T1 = { key: 1 }, j1 = { key: 1 }, $1 = { key: 1 }, V1 = /* @__PURE__ */ Oe({
|
|
12987
12989
|
__name: "CertificateList",
|
|
12988
12990
|
props: {
|
|
12989
12991
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -13036,7 +13038,7 @@ const I0 = {
|
|
|
13036
13038
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
13037
13039
|
setup(e, { emit: t }) {
|
|
13038
13040
|
var le;
|
|
13039
|
-
const r = t, i = e, { i18n: { t: n, formatUnixTimeStamp: o }, i18nT: s } = Nt.useI18n(), a =
|
|
13041
|
+
const r = t, i = e, { i18n: { t: n, formatUnixTimeStamp: o }, i18nT: s } = Nt.useI18n(), a = Vi(), { axiosInstance: l } = Vo({
|
|
13040
13042
|
headers: (le = i.config) == null ? void 0 : le.requestHeaders
|
|
13041
13043
|
}), u = Q(1), h = M(() => i.config.app !== "kongManager" || !!i.config.disableSorting), I = {
|
|
13042
13044
|
subject: { label: n("certificates.list.table_headers.subject") },
|
|
@@ -13116,7 +13118,7 @@ const I0 = {
|
|
|
13116
13118
|
};
|
|
13117
13119
|
}, Z = Q(void 0), z = Q(!1), L = Q(!1), ge = Q(""), Se = vp(i.config, m.value), { certificateDataCache: Te, getCertificateData: Ce } = Nt.useCertificate(), Ie = (q) => {
|
|
13118
13120
|
Z.value = q, z.value = !0;
|
|
13119
|
-
},
|
|
13121
|
+
}, Ve = () => {
|
|
13120
13122
|
z.value = !1;
|
|
13121
13123
|
}, Be = async () => {
|
|
13122
13124
|
var q, ye, Ee;
|
|
@@ -13152,7 +13154,7 @@ const I0 = {
|
|
|
13152
13154
|
}), (q, ye) => {
|
|
13153
13155
|
const Ee = te("KButton"), Je = te("KBadge"), Fe = te("KTruncate"), ce = te("KDropdownItem"), je = te("KClipboardProvider");
|
|
13154
13156
|
return B(), R("div", I1, [
|
|
13155
|
-
|
|
13157
|
+
$(S(yp), {
|
|
13156
13158
|
"cache-identifier": e.cacheIdentifier,
|
|
13157
13159
|
"disable-pagination-page-jump": "",
|
|
13158
13160
|
"disable-sorting": h.value,
|
|
@@ -13171,7 +13173,7 @@ const I0 = {
|
|
|
13171
13173
|
onSort: v
|
|
13172
13174
|
}, {
|
|
13173
13175
|
"toolbar-filter": x(() => [
|
|
13174
|
-
|
|
13176
|
+
$(S(mp), {
|
|
13175
13177
|
modelValue: p.value,
|
|
13176
13178
|
"onUpdate:modelValue": ye[0] || (ye[0] = (re) => p.value = re),
|
|
13177
13179
|
config: y.value
|
|
@@ -13182,22 +13184,22 @@ const I0 = {
|
|
|
13182
13184
|
disabled: !e.useActionOutside,
|
|
13183
13185
|
to: "#kong-ui-app-page-header-action-button"
|
|
13184
13186
|
}, [
|
|
13185
|
-
|
|
13187
|
+
$(S($t), {
|
|
13186
13188
|
"auth-function": () => e.canCreate()
|
|
13187
13189
|
}, {
|
|
13188
13190
|
default: x(() => [
|
|
13189
|
-
|
|
13191
|
+
$r($(Ee, {
|
|
13190
13192
|
appearance: "primary",
|
|
13191
13193
|
"data-testid": "toolbar-add-certificate",
|
|
13192
13194
|
icon: "plus",
|
|
13193
13195
|
to: e.config.createRoute
|
|
13194
13196
|
}, {
|
|
13195
13197
|
default: x(() => [
|
|
13196
|
-
ue(
|
|
13198
|
+
ue(P(S(n)("certificates.list.toolbar_actions.new_certificate")), 1)
|
|
13197
13199
|
]),
|
|
13198
13200
|
_: 1
|
|
13199
13201
|
}, 8, ["to"]), [
|
|
13200
|
-
[
|
|
13202
|
+
[Vr, pt.value]
|
|
13201
13203
|
])
|
|
13202
13204
|
]),
|
|
13203
13205
|
_: 1
|
|
@@ -13205,36 +13207,36 @@ const I0 = {
|
|
|
13205
13207
|
], 8, ["disabled"]))
|
|
13206
13208
|
]),
|
|
13207
13209
|
subject: x(({ row: re }) => {
|
|
13208
|
-
var
|
|
13210
|
+
var Pe;
|
|
13209
13211
|
return [
|
|
13210
|
-
e.config.app === "konnect" ? (B(), R("b", B1,
|
|
13212
|
+
e.config.app === "konnect" ? (B(), R("b", B1, P((Pe = re == null ? void 0 : re.metadata) != null && Pe.subject ? re.metadata.subject : "-"), 1)) : (B(), R("b", E1, P(S(Ce)(re).schemaSubject || "-"), 1))
|
|
13211
13213
|
];
|
|
13212
13214
|
}),
|
|
13213
13215
|
expiry: x(({ row: re }) => {
|
|
13214
|
-
var
|
|
13216
|
+
var Pe;
|
|
13215
13217
|
return [
|
|
13216
|
-
e.config.app === "konnect" ? (B(), R("span", N1,
|
|
13218
|
+
e.config.app === "konnect" ? (B(), R("span", N1, P((Pe = re == null ? void 0 : re.metadata) != null && Pe.expiry ? S(o)(re.metadata.expiry) : "-"), 1)) : (B(), R("span", O1, P(S(Ce)(re).schemaExpiry ? S(o)(S(Ce)(re).schemaExpiry) : "-"), 1))
|
|
13217
13219
|
];
|
|
13218
13220
|
}),
|
|
13219
13221
|
san: x(({ row: re }) => {
|
|
13220
|
-
var
|
|
13222
|
+
var Pe;
|
|
13221
13223
|
return [
|
|
13222
|
-
e.config.app === "konnect" ? (B(), R("span", _1,
|
|
13224
|
+
e.config.app === "konnect" ? (B(), R("span", _1, P((Pe = re == null ? void 0 : re.metadata) != null && Pe.dns_names ? `dns=${re.metadata.dns_names.join(", ")}` : "-"), 1)) : (B(), R("span", T1, P(S(Ce)(re).schemaSanNames || "-"), 1))
|
|
13223
13225
|
];
|
|
13224
13226
|
}),
|
|
13225
13227
|
cert: x(({ row: re }) => [
|
|
13226
13228
|
re != null && re.cert ? (B(), ie(S(Jy), {
|
|
13227
13229
|
key: 0,
|
|
13228
13230
|
"data-testid": "copy-certificate-cert",
|
|
13229
|
-
notify: (
|
|
13231
|
+
notify: (Pe) => se(Pe, re),
|
|
13230
13232
|
truncated: !0,
|
|
13231
13233
|
uuid: re.cert
|
|
13232
13234
|
}, null, 8, ["notify", "uuid"])) : (B(), R("span", j1, "-"))
|
|
13233
13235
|
]),
|
|
13234
13236
|
tags: x(({ row: re }) => {
|
|
13235
|
-
var
|
|
13237
|
+
var Pe;
|
|
13236
13238
|
return [
|
|
13237
|
-
((
|
|
13239
|
+
((Pe = re == null ? void 0 : re.tags) == null ? void 0 : Pe.length) > 0 ? (B(), ie(Fe, { key: 0 }, {
|
|
13238
13240
|
default: x(() => [
|
|
13239
13241
|
(B(!0), R(Ke, null, Le(re == null ? void 0 : re.tags, (lr) => (B(), ie(Je, {
|
|
13240
13242
|
key: lr,
|
|
@@ -13242,49 +13244,49 @@ const I0 = {
|
|
|
13242
13244
|
}, ["stop"]))
|
|
13243
13245
|
}, {
|
|
13244
13246
|
default: x(() => [
|
|
13245
|
-
ue(
|
|
13247
|
+
ue(P(lr), 1)
|
|
13246
13248
|
]),
|
|
13247
13249
|
_: 2
|
|
13248
13250
|
}, 1024))), 128))
|
|
13249
13251
|
]),
|
|
13250
13252
|
_: 2
|
|
13251
|
-
}, 1024)) : (B(), R("span",
|
|
13253
|
+
}, 1024)) : (B(), R("span", $1, "-"))
|
|
13252
13254
|
];
|
|
13253
13255
|
}),
|
|
13254
13256
|
actions: x(({ row: re }) => [
|
|
13255
|
-
|
|
13256
|
-
default: x(({ copyToClipboard:
|
|
13257
|
-
|
|
13257
|
+
$(je, null, {
|
|
13258
|
+
default: x(({ copyToClipboard: Pe }) => [
|
|
13259
|
+
$(ce, {
|
|
13258
13260
|
"data-testid": "action-entity-copy-id",
|
|
13259
|
-
onClick: (lr) => T(re,
|
|
13261
|
+
onClick: (lr) => T(re, Pe)
|
|
13260
13262
|
}, {
|
|
13261
13263
|
default: x(() => [
|
|
13262
|
-
ue(
|
|
13264
|
+
ue(P(S(n)("certificates.actions.copy_id")), 1)
|
|
13263
13265
|
]),
|
|
13264
13266
|
_: 2
|
|
13265
13267
|
}, 1032, ["onClick"])
|
|
13266
13268
|
]),
|
|
13267
13269
|
_: 2
|
|
13268
13270
|
}, 1024),
|
|
13269
|
-
|
|
13270
|
-
default: x(({ copyToClipboard:
|
|
13271
|
-
|
|
13271
|
+
$(je, null, {
|
|
13272
|
+
default: x(({ copyToClipboard: Pe }) => [
|
|
13273
|
+
$(ce, {
|
|
13272
13274
|
"data-testid": "action-entity-copy-json",
|
|
13273
|
-
onClick: (lr) => W(re,
|
|
13275
|
+
onClick: (lr) => W(re, Pe)
|
|
13274
13276
|
}, {
|
|
13275
13277
|
default: x(() => [
|
|
13276
|
-
ue(
|
|
13278
|
+
ue(P(S(n)("certificates.actions.copy_json")), 1)
|
|
13277
13279
|
]),
|
|
13278
13280
|
_: 2
|
|
13279
13281
|
}, 1032, ["onClick"])
|
|
13280
13282
|
]),
|
|
13281
13283
|
_: 2
|
|
13282
13284
|
}, 1024),
|
|
13283
|
-
|
|
13285
|
+
$(S($t), {
|
|
13284
13286
|
"auth-function": () => e.canRetrieve(re)
|
|
13285
13287
|
}, {
|
|
13286
13288
|
default: x(() => [
|
|
13287
|
-
|
|
13289
|
+
$(ce, {
|
|
13288
13290
|
"data-testid": "action-entity-view",
|
|
13289
13291
|
"has-divider": "",
|
|
13290
13292
|
item: O(re.id)
|
|
@@ -13292,41 +13294,41 @@ const I0 = {
|
|
|
13292
13294
|
]),
|
|
13293
13295
|
_: 2
|
|
13294
13296
|
}, 1032, ["auth-function"]),
|
|
13295
|
-
|
|
13297
|
+
$(S($t), {
|
|
13296
13298
|
"auth-function": () => e.canEdit(re)
|
|
13297
13299
|
}, {
|
|
13298
13300
|
default: x(() => [
|
|
13299
|
-
|
|
13301
|
+
$(ce, {
|
|
13300
13302
|
"data-testid": "action-entity-edit",
|
|
13301
13303
|
item: J(re.id)
|
|
13302
13304
|
}, null, 8, ["item"])
|
|
13303
13305
|
]),
|
|
13304
13306
|
_: 2
|
|
13305
13307
|
}, 1032, ["auth-function"]),
|
|
13306
|
-
e.config.getCreateSniRoute ? (B(), ie(S(
|
|
13308
|
+
e.config.getCreateSniRoute ? (B(), ie(S($t), {
|
|
13307
13309
|
key: 0,
|
|
13308
13310
|
"auth-function": () => e.canCreateSni()
|
|
13309
13311
|
}, {
|
|
13310
13312
|
default: x(() => [
|
|
13311
|
-
|
|
13313
|
+
$(ce, {
|
|
13312
13314
|
"data-testid": "action-entity-add-sni",
|
|
13313
13315
|
item: H(re.id)
|
|
13314
13316
|
}, null, 8, ["item"])
|
|
13315
13317
|
]),
|
|
13316
13318
|
_: 2
|
|
13317
13319
|
}, 1032, ["auth-function"])) : he("", !0),
|
|
13318
|
-
|
|
13320
|
+
$(S($t), {
|
|
13319
13321
|
"auth-function": () => e.canDelete(re)
|
|
13320
13322
|
}, {
|
|
13321
13323
|
default: x(() => [
|
|
13322
|
-
|
|
13324
|
+
$(ce, {
|
|
13323
13325
|
danger: "",
|
|
13324
13326
|
"data-testid": "action-entity-delete",
|
|
13325
13327
|
"has-divider": "",
|
|
13326
|
-
onClick: (
|
|
13328
|
+
onClick: (Pe) => Ie(re)
|
|
13327
13329
|
}, {
|
|
13328
13330
|
default: x(() => [
|
|
13329
|
-
ue(
|
|
13331
|
+
ue(P(S(n)("certificates.actions.delete")), 1)
|
|
13330
13332
|
]),
|
|
13331
13333
|
_: 2
|
|
13332
13334
|
}, 1032, ["onClick"])
|
|
@@ -13336,26 +13338,26 @@ const I0 = {
|
|
|
13336
13338
|
]),
|
|
13337
13339
|
_: 1
|
|
13338
13340
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
|
|
13339
|
-
|
|
13341
|
+
$(S(gp), {
|
|
13340
13342
|
"action-pending": L.value,
|
|
13341
13343
|
"entity-type": S(dl).Certificate,
|
|
13342
13344
|
error: ge.value,
|
|
13343
13345
|
title: S(n)("certificates.delete.title"),
|
|
13344
13346
|
visible: z.value,
|
|
13345
|
-
onCancel:
|
|
13347
|
+
onCancel: Ve,
|
|
13346
13348
|
onProceed: Be
|
|
13347
13349
|
}, {
|
|
13348
13350
|
description: x(() => [
|
|
13349
|
-
|
|
13351
|
+
$(S(s), {
|
|
13350
13352
|
keypath: "certificates.delete.description",
|
|
13351
13353
|
scope: "global"
|
|
13352
13354
|
}, {
|
|
13353
13355
|
"bolded-text": x(() => [
|
|
13354
|
-
oe("b", null,
|
|
13356
|
+
oe("b", null, P(S(n)("certificates.delete.boldedText")), 1)
|
|
13355
13357
|
]),
|
|
13356
13358
|
_: 1
|
|
13357
13359
|
}),
|
|
13358
|
-
oe("p", null,
|
|
13360
|
+
oe("p", null, P(S(n)("certificates.delete.description2")), 1)
|
|
13359
13361
|
]),
|
|
13360
13362
|
_: 1
|
|
13361
13363
|
}, 8, ["action-pending", "entity-type", "error", "title", "visible"])
|
|
@@ -13367,7 +13369,7 @@ const I0 = {
|
|
|
13367
13369
|
for (const [i, n] of t)
|
|
13368
13370
|
r[i] = n;
|
|
13369
13371
|
return r;
|
|
13370
|
-
}, ek = /* @__PURE__ */ ci(
|
|
13372
|
+
}, ek = /* @__PURE__ */ ci(V1, [["__scopeId", "data-v-412e1ee1"]]), P1 = { class: "kong-ui-entities-certificates-form" }, M1 = /* @__PURE__ */ Oe({
|
|
13371
13373
|
__name: "CertificateForm",
|
|
13372
13374
|
props: {
|
|
13373
13375
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -13386,7 +13388,7 @@ const I0 = {
|
|
|
13386
13388
|
emits: ["update", "error", "loading"],
|
|
13387
13389
|
setup(e, { emit: t }) {
|
|
13388
13390
|
var v;
|
|
13389
|
-
const r = t, i = e, n =
|
|
13391
|
+
const r = t, i = e, n = Vi(), { i18nT: o, i18n: { t: s } } = Nt.useI18n(), { getMessageFromError: a } = bp(), { axiosInstance: l } = Vo({
|
|
13390
13392
|
headers: (v = i.config) == null ? void 0 : v.requestHeaders
|
|
13391
13393
|
}), u = M(() => yi.form[i.config.app].edit), h = M(() => i.certificateId ? gr.Edit : gr.Create), f = nn({
|
|
13392
13394
|
fields: {
|
|
@@ -13438,8 +13440,8 @@ const I0 = {
|
|
|
13438
13440
|
};
|
|
13439
13441
|
return (k, T) => {
|
|
13440
13442
|
const W = te("KTextArea"), se = te("KInput");
|
|
13441
|
-
return B(), R("div",
|
|
13442
|
-
|
|
13443
|
+
return B(), R("div", P1, [
|
|
13444
|
+
$(S(hp), {
|
|
13443
13445
|
"can-submit": m.value,
|
|
13444
13446
|
config: e.config,
|
|
13445
13447
|
"edit-id": e.certificateId,
|
|
@@ -13453,12 +13455,12 @@ const I0 = {
|
|
|
13453
13455
|
onSubmit: A
|
|
13454
13456
|
}, {
|
|
13455
13457
|
default: x(() => [
|
|
13456
|
-
|
|
13458
|
+
$(S(Rn), {
|
|
13457
13459
|
description: S(s)("certificates.form.sections.ssl.description"),
|
|
13458
13460
|
title: S(s)("certificates.form.sections.ssl.title")
|
|
13459
13461
|
}, {
|
|
13460
13462
|
default: x(() => [
|
|
13461
|
-
|
|
13463
|
+
$(W, {
|
|
13462
13464
|
modelValue: f.fields.cert,
|
|
13463
13465
|
"onUpdate:modelValue": T[0] || (T[0] = (N) => f.fields.cert = N),
|
|
13464
13466
|
modelModifiers: { trim: !0 },
|
|
@@ -13470,19 +13472,19 @@ const I0 = {
|
|
|
13470
13472
|
required: ""
|
|
13471
13473
|
}, {
|
|
13472
13474
|
"label-tooltip": x(() => [
|
|
13473
|
-
|
|
13475
|
+
$(S(o), {
|
|
13474
13476
|
keypath: "certificates.form.fields.cert.tooltip",
|
|
13475
13477
|
scope: "global"
|
|
13476
13478
|
}, {
|
|
13477
13479
|
emphasis: x(() => [
|
|
13478
|
-
oe("em", null,
|
|
13480
|
+
oe("em", null, P(S(s)("certificates.form.fields.cert.emphasis")), 1)
|
|
13479
13481
|
]),
|
|
13480
13482
|
_: 1
|
|
13481
13483
|
})
|
|
13482
13484
|
]),
|
|
13483
13485
|
_: 1
|
|
13484
13486
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13485
|
-
|
|
13487
|
+
$(W, {
|
|
13486
13488
|
modelValue: f.fields.key,
|
|
13487
13489
|
"onUpdate:modelValue": T[1] || (T[1] = (N) => f.fields.key = N),
|
|
13488
13490
|
modelModifiers: { trim: !0 },
|
|
@@ -13494,19 +13496,19 @@ const I0 = {
|
|
|
13494
13496
|
required: ""
|
|
13495
13497
|
}, {
|
|
13496
13498
|
"label-tooltip": x(() => [
|
|
13497
|
-
|
|
13499
|
+
$(S(o), {
|
|
13498
13500
|
keypath: "certificates.form.fields.key.tooltip",
|
|
13499
13501
|
scope: "global"
|
|
13500
13502
|
}, {
|
|
13501
13503
|
emphasis: x(() => [
|
|
13502
|
-
oe("em", null,
|
|
13504
|
+
oe("em", null, P(S(s)("certificates.form.fields.key.emphasis")), 1)
|
|
13503
13505
|
]),
|
|
13504
13506
|
_: 1
|
|
13505
13507
|
})
|
|
13506
13508
|
]),
|
|
13507
13509
|
_: 1
|
|
13508
13510
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13509
|
-
|
|
13511
|
+
$(W, {
|
|
13510
13512
|
modelValue: f.fields.certAlt,
|
|
13511
13513
|
"onUpdate:modelValue": T[2] || (T[2] = (N) => f.fields.certAlt = N),
|
|
13512
13514
|
modelModifiers: { trim: !0 },
|
|
@@ -13517,19 +13519,19 @@ const I0 = {
|
|
|
13517
13519
|
readonly: f.isReadonly
|
|
13518
13520
|
}, {
|
|
13519
13521
|
"label-tooltip": x(() => [
|
|
13520
|
-
|
|
13522
|
+
$(S(o), {
|
|
13521
13523
|
keypath: "certificates.form.fields.cert_alt.tooltip",
|
|
13522
13524
|
scope: "global"
|
|
13523
13525
|
}, {
|
|
13524
13526
|
emphasis: x(() => [
|
|
13525
|
-
oe("em", null,
|
|
13527
|
+
oe("em", null, P(S(s)("certificates.form.fields.cert_alt.emphasis")), 1)
|
|
13526
13528
|
]),
|
|
13527
13529
|
_: 1
|
|
13528
13530
|
})
|
|
13529
13531
|
]),
|
|
13530
13532
|
_: 1
|
|
13531
13533
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13532
|
-
|
|
13534
|
+
$(W, {
|
|
13533
13535
|
modelValue: f.fields.keyAlt,
|
|
13534
13536
|
"onUpdate:modelValue": T[3] || (T[3] = (N) => f.fields.keyAlt = N),
|
|
13535
13537
|
modelModifiers: { trim: !0 },
|
|
@@ -13540,12 +13542,12 @@ const I0 = {
|
|
|
13540
13542
|
readonly: f.isReadonly
|
|
13541
13543
|
}, {
|
|
13542
13544
|
"label-tooltip": x(() => [
|
|
13543
|
-
|
|
13545
|
+
$(S(o), {
|
|
13544
13546
|
keypath: "certificates.form.fields.key_alt.tooltip",
|
|
13545
13547
|
scope: "global"
|
|
13546
13548
|
}, {
|
|
13547
13549
|
emphasis: x(() => [
|
|
13548
|
-
oe("em", null,
|
|
13550
|
+
oe("em", null, P(S(s)("certificates.form.fields.key_alt.emphasis")), 1)
|
|
13549
13551
|
]),
|
|
13550
13552
|
_: 1
|
|
13551
13553
|
})
|
|
@@ -13555,12 +13557,12 @@ const I0 = {
|
|
|
13555
13557
|
]),
|
|
13556
13558
|
_: 1
|
|
13557
13559
|
}, 8, ["description", "title"]),
|
|
13558
|
-
|
|
13560
|
+
$(S(Rn), {
|
|
13559
13561
|
description: S(s)("certificates.form.sections.general.description"),
|
|
13560
13562
|
title: S(s)("certificates.form.sections.general.title")
|
|
13561
13563
|
}, {
|
|
13562
13564
|
default: x(() => [
|
|
13563
|
-
|
|
13565
|
+
$(se, {
|
|
13564
13566
|
modelValue: f.fields.tags,
|
|
13565
13567
|
"onUpdate:modelValue": T[4] || (T[4] = (N) => f.fields.tags = N),
|
|
13566
13568
|
modelModifiers: { trim: !0 },
|
|
@@ -13693,7 +13695,7 @@ const I0 = {
|
|
|
13693
13695
|
return (v, k) => {
|
|
13694
13696
|
const T = te("KCodeBlock"), W = te("KLabel"), se = te("KBadge");
|
|
13695
13697
|
return B(), R("div", R1, [
|
|
13696
|
-
|
|
13698
|
+
$(S(pp), {
|
|
13697
13699
|
config: e.config,
|
|
13698
13700
|
"config-card-doc": e.configCardDoc,
|
|
13699
13701
|
"config-schema": A.value,
|
|
@@ -13714,7 +13716,7 @@ const I0 = {
|
|
|
13714
13716
|
}, null, 8, ["id", "code"])) : he("", !0)
|
|
13715
13717
|
]),
|
|
13716
13718
|
"metadata-label": x(() => [
|
|
13717
|
-
|
|
13719
|
+
$(W, { class: "metadata-label" }, {
|
|
13718
13720
|
default: x(() => [
|
|
13719
13721
|
ue(" Metadata ")
|
|
13720
13722
|
]),
|
|
@@ -13734,13 +13736,13 @@ const I0 = {
|
|
|
13734
13736
|
}, null, 8, ["data-testid", "item"]))), 128))
|
|
13735
13737
|
]),
|
|
13736
13738
|
expiry: x(() => [
|
|
13737
|
-
ue(
|
|
13739
|
+
ue(P(p.value || "–"), 1)
|
|
13738
13740
|
]),
|
|
13739
13741
|
issuer: x(() => [
|
|
13740
|
-
ue(
|
|
13742
|
+
ue(P(m.value || "–"), 1)
|
|
13741
13743
|
]),
|
|
13742
13744
|
key_usages: x(() => [
|
|
13743
|
-
y.value.length ? he("", !0) : (B(), R("div", D1,
|
|
13745
|
+
y.value.length ? he("", !0) : (B(), R("div", D1, P("–"))),
|
|
13744
13746
|
(B(!0), R(Ke, null, Le(y.value, (N, O) => (B(), ie(se, {
|
|
13745
13747
|
key: `key_usages-badge-tag-${O}`,
|
|
13746
13748
|
class: "config-badge",
|
|
@@ -13749,7 +13751,7 @@ const I0 = {
|
|
|
13749
13751
|
"truncation-tooltip": ""
|
|
13750
13752
|
}, {
|
|
13751
13753
|
default: x(() => [
|
|
13752
|
-
ue(
|
|
13754
|
+
ue(P(N), 1)
|
|
13753
13755
|
]),
|
|
13754
13756
|
_: 2
|
|
13755
13757
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
@@ -13806,7 +13808,7 @@ const I0 = {
|
|
|
13806
13808
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
13807
13809
|
setup(e, { emit: t }) {
|
|
13808
13810
|
var pt;
|
|
13809
|
-
const r = t, i = e, { i18n: { t: n, formatUnixTimeStamp: o }, i18nT: s } = Nt.useI18n(), a =
|
|
13811
|
+
const r = t, i = e, { i18n: { t: n, formatUnixTimeStamp: o }, i18nT: s } = Nt.useI18n(), a = Vi(), { axiosInstance: l } = Vo({
|
|
13810
13812
|
headers: (pt = i.config) == null ? void 0 : pt.requestHeaders
|
|
13811
13813
|
}), u = Q(1), h = M(() => i.config.app !== "kongManager" || !!i.config.disableSorting), I = {
|
|
13812
13814
|
issuer: { label: n("ca-certificates.list.table_headers.issuer") },
|
|
@@ -13882,10 +13884,10 @@ const I0 = {
|
|
|
13882
13884
|
Z.value = !1;
|
|
13883
13885
|
}
|
|
13884
13886
|
}
|
|
13885
|
-
},
|
|
13887
|
+
}, Ve = Q(!0);
|
|
13886
13888
|
zt(g, (ae) => {
|
|
13887
13889
|
var le, q, ye, Ee;
|
|
13888
|
-
if (Array.isArray((le = ae == null ? void 0 : ae.response) == null ? void 0 : le.data) && (
|
|
13890
|
+
if (Array.isArray((le = ae == null ? void 0 : ae.response) == null ? void 0 : le.data) && (Ve.value = ae.response.data.length > 0), ae.status === Qt.Error) {
|
|
13889
13891
|
k.value = {
|
|
13890
13892
|
title: n("ca-certificates.errors.general")
|
|
13891
13893
|
}, (Ee = (ye = (q = ae.error) == null ? void 0 : q.response) == null ? void 0 : ye.data) != null && Ee.message && (k.value.message = ae.error.response.data.message), r("error", ae.error);
|
|
@@ -13904,7 +13906,7 @@ const I0 = {
|
|
|
13904
13906
|
}), (ae, le) => {
|
|
13905
13907
|
const q = te("KButton"), ye = te("KBadge"), Ee = te("KTruncate"), Je = te("KDropdownItem"), Fe = te("KClipboardProvider");
|
|
13906
13908
|
return B(), R("div", L1, [
|
|
13907
|
-
|
|
13909
|
+
$(S(yp), {
|
|
13908
13910
|
"cache-identifier": e.cacheIdentifier,
|
|
13909
13911
|
"disable-pagination-page-jump": "",
|
|
13910
13912
|
"disable-sorting": h.value,
|
|
@@ -13923,7 +13925,7 @@ const I0 = {
|
|
|
13923
13925
|
onSort: v
|
|
13924
13926
|
}, {
|
|
13925
13927
|
"toolbar-filter": x(() => [
|
|
13926
|
-
|
|
13928
|
+
$(S(mp), {
|
|
13927
13929
|
modelValue: p.value,
|
|
13928
13930
|
"onUpdate:modelValue": le[0] || (le[0] = (ce) => p.value = ce),
|
|
13929
13931
|
config: y.value
|
|
@@ -13934,22 +13936,22 @@ const I0 = {
|
|
|
13934
13936
|
disabled: !e.useActionOutside,
|
|
13935
13937
|
to: "#kong-ui-app-page-header-action-button"
|
|
13936
13938
|
}, [
|
|
13937
|
-
|
|
13939
|
+
$(S($t), {
|
|
13938
13940
|
"auth-function": () => e.canCreate()
|
|
13939
13941
|
}, {
|
|
13940
13942
|
default: x(() => [
|
|
13941
|
-
|
|
13943
|
+
$r($(q, {
|
|
13942
13944
|
appearance: "primary",
|
|
13943
13945
|
"data-testid": "toolbar-add-ca-certificate",
|
|
13944
13946
|
icon: "plus",
|
|
13945
13947
|
to: e.config.createRoute
|
|
13946
13948
|
}, {
|
|
13947
13949
|
default: x(() => [
|
|
13948
|
-
ue(
|
|
13950
|
+
ue(P(S(n)("ca-certificates.list.toolbar_actions.new_ca_certificate")), 1)
|
|
13949
13951
|
]),
|
|
13950
13952
|
_: 1
|
|
13951
13953
|
}, 8, ["to"]), [
|
|
13952
|
-
[
|
|
13954
|
+
[Vr, Ve.value]
|
|
13953
13955
|
])
|
|
13954
13956
|
]),
|
|
13955
13957
|
_: 1
|
|
@@ -13959,13 +13961,13 @@ const I0 = {
|
|
|
13959
13961
|
issuer: x(({ row: ce }) => {
|
|
13960
13962
|
var je;
|
|
13961
13963
|
return [
|
|
13962
|
-
e.config.app === "konnect" ? (B(), R("b", H1,
|
|
13964
|
+
e.config.app === "konnect" ? (B(), R("b", H1, P((je = ce == null ? void 0 : ce.metadata) != null && je.issuer ? ce.metadata.issuer : "-"), 1)) : (B(), R("b", F1, P(S(Se)(ce).schemaIssuer || "-"), 1))
|
|
13963
13965
|
];
|
|
13964
13966
|
}),
|
|
13965
13967
|
expiry: x(({ row: ce }) => {
|
|
13966
13968
|
var je;
|
|
13967
13969
|
return [
|
|
13968
|
-
e.config.app === "konnect" ? (B(), R("span", q1,
|
|
13970
|
+
e.config.app === "konnect" ? (B(), R("span", q1, P((je = ce == null ? void 0 : ce.metadata) != null && je.expiry ? S(o)(ce.metadata.expiry) : "-"), 1)) : (B(), R("span", K1, P(S(Se)(ce).schemaExpiry ? S(o)(S(Se)(ce).schemaExpiry) : "-"), 1))
|
|
13969
13971
|
];
|
|
13970
13972
|
}),
|
|
13971
13973
|
tags: x(({ row: ce }) => {
|
|
@@ -13979,7 +13981,7 @@ const I0 = {
|
|
|
13979
13981
|
}, ["stop"]))
|
|
13980
13982
|
}, {
|
|
13981
13983
|
default: x(() => [
|
|
13982
|
-
ue(
|
|
13984
|
+
ue(P(re), 1)
|
|
13983
13985
|
]),
|
|
13984
13986
|
_: 2
|
|
13985
13987
|
}, 1024))), 128))
|
|
@@ -13989,39 +13991,39 @@ const I0 = {
|
|
|
13989
13991
|
];
|
|
13990
13992
|
}),
|
|
13991
13993
|
actions: x(({ row: ce }) => [
|
|
13992
|
-
|
|
13994
|
+
$(Fe, null, {
|
|
13993
13995
|
default: x(({ copyToClipboard: je }) => [
|
|
13994
|
-
|
|
13996
|
+
$(Je, {
|
|
13995
13997
|
"data-testid": "action-entity-copy-id",
|
|
13996
13998
|
onClick: (re) => T(ce, je)
|
|
13997
13999
|
}, {
|
|
13998
14000
|
default: x(() => [
|
|
13999
|
-
ue(
|
|
14001
|
+
ue(P(S(n)("ca-certificates.actions.copy_id")), 1)
|
|
14000
14002
|
]),
|
|
14001
14003
|
_: 2
|
|
14002
14004
|
}, 1032, ["onClick"])
|
|
14003
14005
|
]),
|
|
14004
14006
|
_: 2
|
|
14005
14007
|
}, 1024),
|
|
14006
|
-
|
|
14008
|
+
$(Fe, null, {
|
|
14007
14009
|
default: x(({ copyToClipboard: je }) => [
|
|
14008
|
-
|
|
14010
|
+
$(Je, {
|
|
14009
14011
|
"data-testid": "action-entity-copy-json",
|
|
14010
14012
|
onClick: (re) => W(ce, je)
|
|
14011
14013
|
}, {
|
|
14012
14014
|
default: x(() => [
|
|
14013
|
-
ue(
|
|
14015
|
+
ue(P(S(n)("ca-certificates.actions.copy_json")), 1)
|
|
14014
14016
|
]),
|
|
14015
14017
|
_: 2
|
|
14016
14018
|
}, 1032, ["onClick"])
|
|
14017
14019
|
]),
|
|
14018
14020
|
_: 2
|
|
14019
14021
|
}, 1024),
|
|
14020
|
-
|
|
14022
|
+
$(S($t), {
|
|
14021
14023
|
"auth-function": () => e.canRetrieve(ce)
|
|
14022
14024
|
}, {
|
|
14023
14025
|
default: x(() => [
|
|
14024
|
-
|
|
14026
|
+
$(Je, {
|
|
14025
14027
|
"data-testid": "action-entity-view",
|
|
14026
14028
|
"has-divider": "",
|
|
14027
14029
|
item: N(ce.id)
|
|
@@ -14029,29 +14031,29 @@ const I0 = {
|
|
|
14029
14031
|
]),
|
|
14030
14032
|
_: 2
|
|
14031
14033
|
}, 1032, ["auth-function"]),
|
|
14032
|
-
|
|
14034
|
+
$(S($t), {
|
|
14033
14035
|
"auth-function": () => e.canEdit(ce)
|
|
14034
14036
|
}, {
|
|
14035
14037
|
default: x(() => [
|
|
14036
|
-
|
|
14038
|
+
$(Je, {
|
|
14037
14039
|
"data-testid": "action-entity-edit",
|
|
14038
14040
|
item: O(ce.id)
|
|
14039
14041
|
}, null, 8, ["item"])
|
|
14040
14042
|
]),
|
|
14041
14043
|
_: 2
|
|
14042
14044
|
}, 1032, ["auth-function"]),
|
|
14043
|
-
|
|
14045
|
+
$(S($t), {
|
|
14044
14046
|
"auth-function": () => e.canDelete(ce)
|
|
14045
14047
|
}, {
|
|
14046
14048
|
default: x(() => [
|
|
14047
|
-
|
|
14049
|
+
$(Je, {
|
|
14048
14050
|
danger: "",
|
|
14049
14051
|
"data-testid": "action-entity-delete",
|
|
14050
14052
|
"has-divider": "",
|
|
14051
14053
|
onClick: (je) => Te(ce)
|
|
14052
14054
|
}, {
|
|
14053
14055
|
default: x(() => [
|
|
14054
|
-
ue(
|
|
14056
|
+
ue(P(S(n)("ca-certificates.actions.delete")), 1)
|
|
14055
14057
|
]),
|
|
14056
14058
|
_: 2
|
|
14057
14059
|
}, 1032, ["onClick"])
|
|
@@ -14061,7 +14063,7 @@ const I0 = {
|
|
|
14061
14063
|
]),
|
|
14062
14064
|
_: 1
|
|
14063
14065
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
|
|
14064
|
-
|
|
14066
|
+
$(S(gp), {
|
|
14065
14067
|
"action-pending": Z.value,
|
|
14066
14068
|
"entity-type": S(dl).CACertificate,
|
|
14067
14069
|
error: z.value,
|
|
@@ -14071,16 +14073,16 @@ const I0 = {
|
|
|
14071
14073
|
onProceed: Ie
|
|
14072
14074
|
}, {
|
|
14073
14075
|
description: x(() => [
|
|
14074
|
-
|
|
14076
|
+
$(S(s), {
|
|
14075
14077
|
keypath: "ca-certificates.delete.description",
|
|
14076
14078
|
scope: "global"
|
|
14077
14079
|
}, {
|
|
14078
14080
|
"bolded-text": x(() => [
|
|
14079
|
-
oe("b", null,
|
|
14081
|
+
oe("b", null, P(S(n)("ca-certificates.delete.boldedText")), 1)
|
|
14080
14082
|
]),
|
|
14081
14083
|
_: 1
|
|
14082
14084
|
}),
|
|
14083
|
-
oe("p", null,
|
|
14085
|
+
oe("p", null, P(S(n)("ca-certificates.delete.description2")), 1)
|
|
14084
14086
|
]),
|
|
14085
14087
|
_: 1
|
|
14086
14088
|
}, 8, ["action-pending", "entity-type", "error", "title", "visible"])
|
|
@@ -14106,7 +14108,7 @@ const I0 = {
|
|
|
14106
14108
|
emits: ["update", "error", "loading"],
|
|
14107
14109
|
setup(e, { emit: t }) {
|
|
14108
14110
|
var A;
|
|
14109
|
-
const r = t, i = e, n =
|
|
14111
|
+
const r = t, i = e, n = Vi(), { i18n: { t: o } } = Nt.useI18n(), { getMessageFromError: s } = bp(), { axiosInstance: a } = Vo({
|
|
14110
14112
|
headers: (A = i.config) == null ? void 0 : A.requestHeaders
|
|
14111
14113
|
}), l = M(() => gi.form[i.config.app].edit), u = M(() => i.certificateId ? gr.Edit : gr.Create), h = nn({
|
|
14112
14114
|
fields: {
|
|
@@ -14153,7 +14155,7 @@ const I0 = {
|
|
|
14153
14155
|
return (v, k) => {
|
|
14154
14156
|
const T = te("KTextArea"), W = te("KInput");
|
|
14155
14157
|
return B(), R("div", W1, [
|
|
14156
|
-
|
|
14158
|
+
$(S(hp), {
|
|
14157
14159
|
"can-submit": I.value,
|
|
14158
14160
|
config: e.config,
|
|
14159
14161
|
"edit-id": e.certificateId,
|
|
@@ -14167,12 +14169,12 @@ const I0 = {
|
|
|
14167
14169
|
onSubmit: g
|
|
14168
14170
|
}, {
|
|
14169
14171
|
default: x(() => [
|
|
14170
|
-
|
|
14172
|
+
$(S(Rn), {
|
|
14171
14173
|
description: S(o)("ca-certificates.form.sections.cert.description"),
|
|
14172
14174
|
title: S(o)("ca-certificates.form.sections.cert.title")
|
|
14173
14175
|
}, {
|
|
14174
14176
|
default: x(() => [
|
|
14175
|
-
|
|
14177
|
+
$(T, {
|
|
14176
14178
|
modelValue: h.fields.cert,
|
|
14177
14179
|
"onUpdate:modelValue": k[0] || (k[0] = (se) => h.fields.cert = se),
|
|
14178
14180
|
modelModifiers: { trim: !0 },
|
|
@@ -14184,7 +14186,7 @@ const I0 = {
|
|
|
14184
14186
|
readonly: h.isReadonly,
|
|
14185
14187
|
required: ""
|
|
14186
14188
|
}, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
|
|
14187
|
-
|
|
14189
|
+
$(W, {
|
|
14188
14190
|
modelValue: h.fields.certDigest,
|
|
14189
14191
|
"onUpdate:modelValue": k[1] || (k[1] = (se) => h.fields.certDigest = se),
|
|
14190
14192
|
modelModifiers: { trim: !0 },
|
|
@@ -14197,12 +14199,12 @@ const I0 = {
|
|
|
14197
14199
|
]),
|
|
14198
14200
|
_: 1
|
|
14199
14201
|
}, 8, ["description", "title"]),
|
|
14200
|
-
|
|
14202
|
+
$(S(Rn), {
|
|
14201
14203
|
description: S(o)("ca-certificates.form.sections.general.description"),
|
|
14202
14204
|
title: S(o)("ca-certificates.form.sections.general.title")
|
|
14203
14205
|
}, {
|
|
14204
14206
|
default: x(() => [
|
|
14205
|
-
|
|
14207
|
+
$(W, {
|
|
14206
14208
|
modelValue: h.fields.tags,
|
|
14207
14209
|
"onUpdate:modelValue": k[2] || (k[2] = (se) => h.fields.tags = se),
|
|
14208
14210
|
modelModifiers: { trim: !0 },
|
|
@@ -14352,7 +14354,7 @@ const I0 = {
|
|
|
14352
14354
|
return (N, O) => {
|
|
14353
14355
|
const J = te("KCodeBlock"), H = te("KLabel"), Z = te("KBadge");
|
|
14354
14356
|
return B(), R("div", Y1, [
|
|
14355
|
-
|
|
14357
|
+
$(S(pp), {
|
|
14356
14358
|
config: e.config,
|
|
14357
14359
|
"config-card-doc": e.configCardDoc,
|
|
14358
14360
|
"config-schema": I.value,
|
|
@@ -14364,12 +14366,12 @@ const I0 = {
|
|
|
14364
14366
|
onLoading: O[2] || (O[2] = (z) => N.$emit("loading", z))
|
|
14365
14367
|
}, Xt({
|
|
14366
14368
|
"cert-label-tooltip": x(() => [
|
|
14367
|
-
|
|
14369
|
+
$(S(s), {
|
|
14368
14370
|
keypath: "certificates.form.fields.cert.tooltip",
|
|
14369
14371
|
scope: "global"
|
|
14370
14372
|
}, {
|
|
14371
14373
|
emphasis: x(() => [
|
|
14372
|
-
oe("i", null,
|
|
14374
|
+
oe("i", null, P(S(n)("certificates.form.fields.cert.emphasis")), 1)
|
|
14373
14375
|
]),
|
|
14374
14376
|
_: 1
|
|
14375
14377
|
})
|
|
@@ -14384,18 +14386,18 @@ const I0 = {
|
|
|
14384
14386
|
}, null, 8, ["id", "code"])) : he("", !0)
|
|
14385
14387
|
]),
|
|
14386
14388
|
"key-label-tooltip": x(() => [
|
|
14387
|
-
|
|
14389
|
+
$(S(s), {
|
|
14388
14390
|
keypath: "certificates.form.fields.key.tooltip",
|
|
14389
14391
|
scope: "global"
|
|
14390
14392
|
}, {
|
|
14391
14393
|
emphasis: x(() => [
|
|
14392
|
-
oe("i", null,
|
|
14394
|
+
oe("i", null, P(S(n)("certificates.form.fields.key.emphasis")), 1)
|
|
14393
14395
|
]),
|
|
14394
14396
|
_: 1
|
|
14395
14397
|
})
|
|
14396
14398
|
]),
|
|
14397
14399
|
"metadata-label": x(() => [
|
|
14398
|
-
|
|
14400
|
+
$(H, { class: "metadata-label" }, {
|
|
14399
14401
|
default: x(() => [
|
|
14400
14402
|
ue(" Metadata ")
|
|
14401
14403
|
]),
|
|
@@ -14414,41 +14416,41 @@ const I0 = {
|
|
|
14414
14416
|
}, null, 8, ["item"]))), 128))
|
|
14415
14417
|
]),
|
|
14416
14418
|
expiry: x(() => [
|
|
14417
|
-
ue(
|
|
14419
|
+
ue(P(w.value || "–"), 1)
|
|
14418
14420
|
]),
|
|
14419
14421
|
issuer: x(() => [
|
|
14420
|
-
ue(
|
|
14422
|
+
ue(P(g.value || "–"), 1)
|
|
14421
14423
|
]),
|
|
14422
14424
|
san_names: x(() => [
|
|
14423
|
-
ue(
|
|
14425
|
+
ue(P(A.value || "–"), 1)
|
|
14424
14426
|
]),
|
|
14425
14427
|
subject: x(() => [
|
|
14426
|
-
ue(
|
|
14428
|
+
ue(P(v.value || "–"), 1)
|
|
14427
14429
|
]),
|
|
14428
14430
|
"cert_alt-label-tooltip": x(() => [
|
|
14429
|
-
|
|
14431
|
+
$(S(s), {
|
|
14430
14432
|
keypath: "certificates.form.fields.cert_alt.tooltip",
|
|
14431
14433
|
scope: "global"
|
|
14432
14434
|
}, {
|
|
14433
14435
|
emphasis: x(() => [
|
|
14434
|
-
oe("i", null,
|
|
14436
|
+
oe("i", null, P(S(n)("certificates.form.fields.cert_alt.emphasis")), 1)
|
|
14435
14437
|
]),
|
|
14436
14438
|
_: 1
|
|
14437
14439
|
})
|
|
14438
14440
|
]),
|
|
14439
14441
|
"key_alt-label-tooltip": x(() => [
|
|
14440
|
-
|
|
14442
|
+
$(S(s), {
|
|
14441
14443
|
keypath: "certificates.form.fields.key_alt.tooltip",
|
|
14442
14444
|
scope: "global"
|
|
14443
14445
|
}, {
|
|
14444
14446
|
emphasis: x(() => [
|
|
14445
|
-
oe("i", null,
|
|
14447
|
+
oe("i", null, P(S(n)("certificates.form.fields.key_alt.emphasis")), 1)
|
|
14446
14448
|
]),
|
|
14447
14449
|
_: 1
|
|
14448
14450
|
})
|
|
14449
14451
|
]),
|
|
14450
14452
|
key_usages: x(() => [
|
|
14451
|
-
k.value.length ? he("", !0) : (B(), R("div", Z1,
|
|
14453
|
+
k.value.length ? he("", !0) : (B(), R("div", Z1, P("–"))),
|
|
14452
14454
|
(B(!0), R(Ke, null, Le(k.value, (z, L) => (B(), ie(Z, {
|
|
14453
14455
|
key: `key_usages-badge-tag-${L}`,
|
|
14454
14456
|
class: "config-badge",
|
|
@@ -14457,7 +14459,7 @@ const I0 = {
|
|
|
14457
14459
|
"truncation-tooltip": ""
|
|
14458
14460
|
}, {
|
|
14459
14461
|
default: x(() => [
|
|
14460
|
-
ue(
|
|
14462
|
+
ue(P(z), 1)
|
|
14461
14463
|
]),
|
|
14462
14464
|
_: 2
|
|
14463
14465
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|