@kong-ui-public/entities-certificates 2.4.4 → 2.4.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as re, defineComponent as xe, computed as L, watch as sr, renderSlot as Oe, createCommentVNode as we, unref as S, useCssVars as Nu, useSlots as Ea, resolveComponent as se, openBlock as _, createElementBlock as H, createElementVNode as fe, createVNode as
|
|
1
|
+
import { ref as re, defineComponent as xe, computed as L, watch as sr, renderSlot as Oe, createCommentVNode as we, unref as S, useCssVars as Nu, useSlots as Ea, resolveComponent as se, openBlock as _, createElementBlock as H, createElementVNode as fe, createVNode as P, createSlots as wr, withCtx as I, createTextVNode as pe, toDisplayString as U, createBlock as de, resolveDynamicComponent as ar, normalizeProps as Lp, guardReactiveProps as Hp, Fragment as Qe, renderList as Ge, mergeProps as Fp, normalizeClass as rr, onBeforeMount as Fn, withModifiers as an, withDirectives as Vt, vShow as $t, withKeys as qp, inject as Kp, onMounted as zp, onUnmounted as Gp, normalizeStyle as qn, pushScopeId as Kn, popScopeId as zn, reactive as ln } from "vue";
|
|
2
2
|
import { useRouter as Di } from "vue-router";
|
|
3
3
|
import { createI18n as _u, i18nTComponent as Tu } from "@kong-ui-public/i18n";
|
|
4
4
|
import Tl from "axios";
|
|
@@ -63,16 +63,16 @@ var jl;
|
|
|
63
63
|
} : function(m, C) {
|
|
64
64
|
return m[C];
|
|
65
65
|
}
|
|
66
|
-
}, d = Object.getPrototypeOf(Function), E = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Vp(), w = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : $p(), p = typeof WeakMap == "function" ? WeakMap : Rp(), y = n ? Symbol.for("@reflect-metadata:registry") : void 0, v = jp(), b =
|
|
66
|
+
}, d = Object.getPrototypeOf(Function), E = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Vp(), w = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : $p(), p = typeof WeakMap == "function" ? WeakMap : Rp(), y = n ? Symbol.for("@reflect-metadata:registry") : void 0, v = jp(), b = Mp(v);
|
|
67
67
|
function B(m, C, T, R) {
|
|
68
68
|
if (ae(T)) {
|
|
69
|
-
if (!
|
|
69
|
+
if (!Me(m))
|
|
70
70
|
throw new TypeError();
|
|
71
|
-
if (!
|
|
71
|
+
if (!Pe(C))
|
|
72
72
|
throw new TypeError();
|
|
73
73
|
return $(m, C);
|
|
74
74
|
} else {
|
|
75
|
-
if (!
|
|
75
|
+
if (!Me(m))
|
|
76
76
|
throw new TypeError();
|
|
77
77
|
if (!Y(C))
|
|
78
78
|
throw new TypeError();
|
|
@@ -86,7 +86,7 @@ var jl;
|
|
|
86
86
|
function T(R, oe) {
|
|
87
87
|
if (!Y(R))
|
|
88
88
|
throw new TypeError();
|
|
89
|
-
if (!ae(oe) && !
|
|
89
|
+
if (!ae(oe) && !Pr(oe))
|
|
90
90
|
throw new TypeError();
|
|
91
91
|
Tr(m, C, R, oe);
|
|
92
92
|
}
|
|
@@ -154,7 +154,7 @@ var jl;
|
|
|
154
154
|
for (var T = m.length - 1; T >= 0; --T) {
|
|
155
155
|
var R = m[T], oe = R(C);
|
|
156
156
|
if (!ae(oe) && !le(oe)) {
|
|
157
|
-
if (!
|
|
157
|
+
if (!Pe(oe))
|
|
158
158
|
throw new TypeError();
|
|
159
159
|
C = oe;
|
|
160
160
|
}
|
|
@@ -243,7 +243,7 @@ var jl;
|
|
|
243
243
|
);
|
|
244
244
|
return T ? T.OrdinaryOwnMetadataKeys(m, C) : [];
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Pt(m) {
|
|
247
247
|
if (m === null)
|
|
248
248
|
return 1;
|
|
249
249
|
switch (typeof m) {
|
|
@@ -276,7 +276,7 @@ var jl;
|
|
|
276
276
|
return typeof m == "object" ? m !== null : typeof m == "function";
|
|
277
277
|
}
|
|
278
278
|
function Se(m, C) {
|
|
279
|
-
switch (
|
|
279
|
+
switch (Pt(m)) {
|
|
280
280
|
case 0:
|
|
281
281
|
return m;
|
|
282
282
|
case 1:
|
|
@@ -332,7 +332,7 @@ var jl;
|
|
|
332
332
|
function lt(m) {
|
|
333
333
|
return !!m;
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Mr(m) {
|
|
336
336
|
return "" + m;
|
|
337
337
|
}
|
|
338
338
|
function ce(m) {
|
|
@@ -341,19 +341,19 @@ var jl;
|
|
|
341
341
|
3
|
|
342
342
|
/* String */
|
|
343
343
|
);
|
|
344
|
-
return z(C) ? C :
|
|
344
|
+
return z(C) ? C : Mr(C);
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function Me(m) {
|
|
347
347
|
return Array.isArray ? Array.isArray(m) : m instanceof Object ? m instanceof Array : Object.prototype.toString.call(m) === "[object Array]";
|
|
348
348
|
}
|
|
349
349
|
function te(m) {
|
|
350
350
|
return typeof m == "function";
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Pe(m) {
|
|
353
353
|
return typeof m == "function";
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
switch (
|
|
355
|
+
function Pr(m) {
|
|
356
|
+
switch (Pt(m)) {
|
|
357
357
|
case 3:
|
|
358
358
|
return !0;
|
|
359
359
|
case 4:
|
|
@@ -405,7 +405,7 @@ var jl;
|
|
|
405
405
|
}
|
|
406
406
|
function Tp() {
|
|
407
407
|
var m;
|
|
408
|
-
!ae(y) && typeof r.Reflect < "u" && !(y in r.Reflect) && typeof r.Reflect.defineMetadata == "function" && (m =
|
|
408
|
+
!ae(y) && typeof r.Reflect < "u" && !(y in r.Reflect) && typeof r.Reflect.defineMetadata == "function" && (m = Pp(r.Reflect));
|
|
409
409
|
var C, T, R, oe = new p(), Ne = {
|
|
410
410
|
registerProvider: Ve,
|
|
411
411
|
getProvider: F,
|
|
@@ -485,7 +485,7 @@ var jl;
|
|
|
485
485
|
value: m
|
|
486
486
|
}), m;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Mp(m) {
|
|
489
489
|
var C = new p(), T = {
|
|
490
490
|
isProviderFor: function(Z, W) {
|
|
491
491
|
var X = C.get(Z);
|
|
@@ -584,7 +584,7 @@ var jl;
|
|
|
584
584
|
return !0;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function Pp(m) {
|
|
588
588
|
var C = m.defineMetadata, T = m.hasOwnMetadata, R = m.getOwnMetadata, oe = m.getOwnMetadataKeys, Ne = m.deleteMetadata, Ve = new p(), ge = {
|
|
589
589
|
isProviderFor: function(F, Z) {
|
|
590
590
|
var W = Ve.get(F);
|
|
@@ -902,7 +902,7 @@ class q {
|
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
904
|
const zo = "string", Yp = /^[0-9a-f]+$/i, Zp = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/, Qp = /^[a-zA-Z0-9-_]+$/;
|
|
905
|
-
class
|
|
905
|
+
class Ml {
|
|
906
906
|
static fromString(t) {
|
|
907
907
|
const r = unescape(encodeURIComponent(t)), i = new Uint8Array(r.length);
|
|
908
908
|
for (let n = 0; n < r.length; n++)
|
|
@@ -1021,7 +1021,7 @@ class G {
|
|
|
1021
1021
|
case "ascii":
|
|
1022
1022
|
return this.FromBinary(t);
|
|
1023
1023
|
case "utf8":
|
|
1024
|
-
return
|
|
1024
|
+
return Ml.fromString(t);
|
|
1025
1025
|
case "utf16":
|
|
1026
1026
|
case "utf16be":
|
|
1027
1027
|
return xt.fromString(t);
|
|
@@ -1037,7 +1037,7 @@ class G {
|
|
|
1037
1037
|
case "ascii":
|
|
1038
1038
|
return this.ToBinary(t);
|
|
1039
1039
|
case "utf8":
|
|
1040
|
-
return
|
|
1040
|
+
return Ml.toString(t);
|
|
1041
1041
|
case "utf16":
|
|
1042
1042
|
case "utf16be":
|
|
1043
1043
|
return xt.toString(t);
|
|
@@ -1164,7 +1164,7 @@ function as(...e) {
|
|
|
1164
1164
|
n.set(o, r), r += o.length;
|
|
1165
1165
|
return n;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Mu() {
|
|
1168
1168
|
const e = new Uint8Array(this.valueHex);
|
|
1169
1169
|
if (this.valueHex.byteLength >= 2) {
|
|
1170
1170
|
const a = e[0] === 255 && e[1] & 128, l = e[0] === 0 && (e[1] & 128) === 0;
|
|
@@ -1284,7 +1284,7 @@ class Gn {
|
|
|
1284
1284
|
return Oa(this.items);
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
1287
|
-
const yi = [new Uint8Array([1])],
|
|
1287
|
+
const yi = [new Uint8Array([1])], Pl = "0123456789", Go = "name", Vl = "valueHexView", rh = "isHexOnly", ih = "idBlock", nh = "tagClass", oh = "tagNumber", sh = "isConstructed", ah = "fromBER", lh = "toBER", ch = "local", rt = "", At = new ArrayBuffer(0), Wn = new Uint8Array(0), Ai = "EndOfContent", Pu = "OCTET STRING", Vu = "BIT STRING";
|
|
1288
1288
|
function Nt(e) {
|
|
1289
1289
|
var t;
|
|
1290
1290
|
return t = class extends e {
|
|
@@ -1914,7 +1914,7 @@ class zu extends Nt(et) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
fromBER(t, r, i) {
|
|
1916
1916
|
const n = q.toUint8Array(t);
|
|
1917
|
-
return Wt(this, n, r, i) ? (this.valueHexView = n.subarray(r, r + i), i > 1 && this.warnings.push("Boolean value encoded in more then 1 octet"), this.isHexOnly = !0,
|
|
1917
|
+
return Wt(this, n, r, i) ? (this.valueHexView = n.subarray(r, r + i), i > 1 && this.warnings.push("Boolean value encoded in more then 1 octet"), this.isHexOnly = !0, Mu.call(this), this.blockLength = i, r + i) : -1;
|
|
1918
1918
|
}
|
|
1919
1919
|
toBER() {
|
|
1920
1920
|
return this.valueHexView.slice();
|
|
@@ -1961,7 +1961,7 @@ class Wu extends Nt(Qt) {
|
|
|
1961
1961
|
break;
|
|
1962
1962
|
return this.error = "EndOfContent is unexpected, OCTET STRING may consists of OCTET STRINGs only", -1;
|
|
1963
1963
|
}
|
|
1964
|
-
if (s !==
|
|
1964
|
+
if (s !== Pu)
|
|
1965
1965
|
return this.error = "OCTET STRING may consists of OCTET STRINGs only", -1;
|
|
1966
1966
|
}
|
|
1967
1967
|
} else
|
|
@@ -2024,7 +2024,7 @@ let hr = class Yu extends Ke {
|
|
|
2024
2024
|
};
|
|
2025
2025
|
Ju = hr;
|
|
2026
2026
|
K.OctetString = Ju;
|
|
2027
|
-
hr.NAME =
|
|
2027
|
+
hr.NAME = Pu;
|
|
2028
2028
|
class Zu extends Nt(Qt) {
|
|
2029
2029
|
constructor({ unusedBits: t = 0, isConstructed: r = !1, ...i } = {}) {
|
|
2030
2030
|
super(i), this.unusedBits = t, this.isConstructed = r, this.blockLength = this.valueHexView.byteLength;
|
|
@@ -2189,7 +2189,7 @@ class Ta extends Nt(et) {
|
|
|
2189
2189
|
super(r), this._valueDec = 0, r.valueHex && this.setValueHex(), t !== void 0 && (this.valueDec = t);
|
|
2190
2190
|
}
|
|
2191
2191
|
setValueHex() {
|
|
2192
|
-
this.valueHexView.length >= 4 ? (this.warnings.push("Too big Integer for decoding, hex only"), this.isHexOnly = !0, this._valueDec = 0) : (this.isHexOnly = !1, this.valueHexView.length > 0 && (this._valueDec =
|
|
2192
|
+
this.valueHexView.length >= 4 ? (this.warnings.push("Too big Integer for decoding, hex only"), this.isHexOnly = !0, this._valueDec = 0) : (this.isHexOnly = !1, this.valueHexView.length > 0 && (this._valueDec = Mu.call(this)));
|
|
2193
2193
|
}
|
|
2194
2194
|
set valueDec(t) {
|
|
2195
2195
|
this._valueDec = t, this.isHexOnly = !1, this.valueHexView = new Uint8Array(eh(t));
|
|
@@ -2252,8 +2252,8 @@ class Ta extends Nt(et) {
|
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
2254
|
for (let l = 0; l < r.length; l++)
|
|
2255
|
-
r[l] && (a = !0), a && (s +=
|
|
2256
|
-
return a === !1 && (s +=
|
|
2255
|
+
r[l] && (a = !0), a && (s += Pl.charAt(r[l]));
|
|
2256
|
+
return a === !1 && (s += Pl.charAt(0)), s;
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
Xu = Ta;
|
|
@@ -3005,23 +3005,23 @@ Bf = lo;
|
|
|
3005
3005
|
K.GeneralizedTime = Bf;
|
|
3006
3006
|
lo.NAME = "GeneralizedTime";
|
|
3007
3007
|
var Ef;
|
|
3008
|
-
class
|
|
3008
|
+
class Ma extends Jt {
|
|
3009
3009
|
constructor(t = {}) {
|
|
3010
3010
|
super(t), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 31;
|
|
3011
3011
|
}
|
|
3012
3012
|
}
|
|
3013
|
-
Ef =
|
|
3013
|
+
Ef = Ma;
|
|
3014
3014
|
K.DATE = Ef;
|
|
3015
|
-
|
|
3015
|
+
Ma.NAME = "DATE";
|
|
3016
3016
|
var Of;
|
|
3017
|
-
class
|
|
3017
|
+
class Pa extends Jt {
|
|
3018
3018
|
constructor(t = {}) {
|
|
3019
3019
|
super(t), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 32;
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
|
-
Of =
|
|
3022
|
+
Of = Pa;
|
|
3023
3023
|
K.TimeOfDay = Of;
|
|
3024
|
-
|
|
3024
|
+
Pa.NAME = "TimeOfDay";
|
|
3025
3025
|
var Nf;
|
|
3026
3026
|
class Va extends Jt {
|
|
3027
3027
|
constructor(t = {}) {
|
|
@@ -3304,7 +3304,7 @@ const jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3304
3304
|
CharacterString: ao,
|
|
3305
3305
|
Choice: Da,
|
|
3306
3306
|
Constructed: nt,
|
|
3307
|
-
DATE:
|
|
3307
|
+
DATE: Ma,
|
|
3308
3308
|
DateTime: Va,
|
|
3309
3309
|
Duration: $a,
|
|
3310
3310
|
EndOfContent: _a,
|
|
@@ -3328,7 +3328,7 @@ const jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3328
3328
|
Set: Lt,
|
|
3329
3329
|
TIME: Ra,
|
|
3330
3330
|
TeletexString: ro,
|
|
3331
|
-
TimeOfDay:
|
|
3331
|
+
TimeOfDay: Pa,
|
|
3332
3332
|
UTCTime: Hi,
|
|
3333
3333
|
UniversalString: Xn,
|
|
3334
3334
|
Utf8String: Jt,
|
|
@@ -3340,10 +3340,10 @@ const jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3340
3340
|
fromBER: Lr,
|
|
3341
3341
|
verifySchema: yh
|
|
3342
3342
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3343
|
-
var
|
|
3343
|
+
var M;
|
|
3344
3344
|
(function(e) {
|
|
3345
3345
|
e[e.Sequence = 0] = "Sequence", e[e.Set = 1] = "Set", e[e.Choice = 2] = "Choice";
|
|
3346
|
-
})(
|
|
3346
|
+
})(M || (M = {}));
|
|
3347
3347
|
var g;
|
|
3348
3348
|
(function(e) {
|
|
3349
3349
|
e[e.Any = 1] = "Any", e[e.Boolean = 2] = "Boolean", e[e.OctetString = 3] = "OctetString", e[e.BitString = 4] = "BitString", e[e.Integer = 5] = "Integer", e[e.Enumerated = 6] = "Enumerated", e[e.ObjectIdentifier = 7] = "ObjectIdentifier", e[e.Utf8String = 8] = "Utf8String", e[e.BmpString = 9] = "BmpString", e[e.UniversalString = 10] = "UniversalString", e[e.NumericString = 11] = "NumericString", e[e.PrintableString = 12] = "PrintableString", e[e.TeletexString = 13] = "TeletexString", e[e.VideotexString = 14] = "VideotexString", e[e.IA5String = 15] = "IA5String", e[e.GraphicString = 16] = "GraphicString", e[e.VisibleString = 17] = "VisibleString", e[e.GeneralString = 18] = "GeneralString", e[e.CharacterString = 19] = "CharacterString", e[e.UTCTime = 20] = "UTCTime", e[e.GeneralizedTime = 21] = "GeneralizedTime", e[e.DATE = 22] = "DATE", e[e.TimeOfDay = 23] = "TimeOfDay", e[e.DateTime = 24] = "DateTime", e[e.Duration = 25] = "Duration", e[e.TIME = 26] = "TIME", e[e.Null = 27] = "Null";
|
|
@@ -3451,10 +3451,10 @@ function gt(e) {
|
|
|
3451
3451
|
toASN: (t) => new e({ value: t })
|
|
3452
3452
|
};
|
|
3453
3453
|
}
|
|
3454
|
-
const
|
|
3454
|
+
const Mf = gt(Jt), Sh = gt(Qn), Ch = gt(Xn), xh = gt(eo), Ih = gt(to), Bh = gt(ro), Eh = gt(io), Oh = gt(no), Nh = gt(oo), _h = gt(Li), Th = gt(so), jh = gt(ao), Mh = {
|
|
3455
3455
|
fromASN: (e) => e.toDate(),
|
|
3456
3456
|
toASN: (e) => new Hi({ valueDate: e })
|
|
3457
|
-
},
|
|
3457
|
+
}, Ph = {
|
|
3458
3458
|
fromASN: (e) => e.toDate(),
|
|
3459
3459
|
toASN: (e) => new lo({ valueDate: e })
|
|
3460
3460
|
}, Vh = {
|
|
@@ -3478,7 +3478,7 @@ function Ua(e) {
|
|
|
3478
3478
|
case g.GeneralString:
|
|
3479
3479
|
return Th;
|
|
3480
3480
|
case g.GeneralizedTime:
|
|
3481
|
-
return
|
|
3481
|
+
return Ph;
|
|
3482
3482
|
case g.GraphicString:
|
|
3483
3483
|
return Nh;
|
|
3484
3484
|
case g.IA5String:
|
|
@@ -3498,11 +3498,11 @@ function Ua(e) {
|
|
|
3498
3498
|
case g.TeletexString:
|
|
3499
3499
|
return Bh;
|
|
3500
3500
|
case g.UTCTime:
|
|
3501
|
-
return
|
|
3501
|
+
return Mh;
|
|
3502
3502
|
case g.UniversalString:
|
|
3503
3503
|
return Ch;
|
|
3504
3504
|
case g.Utf8String:
|
|
3505
|
-
return
|
|
3505
|
+
return Mf;
|
|
3506
3506
|
case g.VideotexString:
|
|
3507
3507
|
return Eh;
|
|
3508
3508
|
case g.VisibleString:
|
|
@@ -3514,11 +3514,11 @@ function Ua(e) {
|
|
|
3514
3514
|
function Dt(e) {
|
|
3515
3515
|
return typeof e == "function" && e.prototype ? e.prototype.toASN && e.prototype.fromASN ? !0 : Dt(e.prototype) : !!(e && typeof e == "object" && "toASN" in e && "fromASN" in e);
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function Pf(e) {
|
|
3518
3518
|
var t;
|
|
3519
3519
|
if (e) {
|
|
3520
3520
|
const r = Object.getPrototypeOf(e);
|
|
3521
|
-
return ((t = r == null ? void 0 : r.prototype) === null || t === void 0 ? void 0 : t.constructor) === Array ? !0 :
|
|
3521
|
+
return ((t = r == null ? void 0 : r.prototype) === null || t === void 0 ? void 0 : t.constructor) === Array ? !0 : Pf(r);
|
|
3522
3522
|
}
|
|
3523
3523
|
return !1;
|
|
3524
3524
|
}
|
|
@@ -3552,7 +3552,7 @@ class Rh {
|
|
|
3552
3552
|
}
|
|
3553
3553
|
createDefault(t) {
|
|
3554
3554
|
const r = {
|
|
3555
|
-
type:
|
|
3555
|
+
type: M.Sequence,
|
|
3556
3556
|
items: {}
|
|
3557
3557
|
}, i = this.findParentSchema(t);
|
|
3558
3558
|
return i && (Object.assign(r, i), r.items = Object.assign({}, r.items, i.items)), r;
|
|
@@ -3568,7 +3568,7 @@ class Rh {
|
|
|
3568
3568
|
throw new Error(`Cannot get ASN1 class by name '${h}'`);
|
|
3569
3569
|
l = new d({ name: a });
|
|
3570
3570
|
} else
|
|
3571
|
-
Dt(s.type) ? l = new s.type().toSchema(a) : s.optional ? this.get(s.type).type ===
|
|
3571
|
+
Dt(s.type) ? l = new s.type().toSchema(a) : s.optional ? this.get(s.type).type === M.Choice ? l = new Sr({ name: a }) : (l = this.create(s.type, !1), l.name = a) : l = new Sr({ name: a });
|
|
3572
3572
|
const u = !!s.optional || s.defaultValue !== void 0;
|
|
3573
3573
|
if (s.repeated) {
|
|
3574
3574
|
l.name = "";
|
|
@@ -3622,11 +3622,11 @@ class Rh {
|
|
|
3622
3622
|
l.optional = u, n.push(l);
|
|
3623
3623
|
}
|
|
3624
3624
|
switch (i.type) {
|
|
3625
|
-
case
|
|
3625
|
+
case M.Sequence:
|
|
3626
3626
|
return new Ut({ value: n, name: "" });
|
|
3627
|
-
case
|
|
3627
|
+
case M.Set:
|
|
3628
3628
|
return new Lt({ value: n, name: "" });
|
|
3629
|
-
case
|
|
3629
|
+
case M.Choice:
|
|
3630
3630
|
return new Da({ value: n, name: "" });
|
|
3631
3631
|
default:
|
|
3632
3632
|
throw new Error("Unsupported ASN1 type in use");
|
|
@@ -3675,7 +3675,7 @@ class Dh {
|
|
|
3675
3675
|
const n = pt.get(r);
|
|
3676
3676
|
pt.cache(r);
|
|
3677
3677
|
let o = n.schema;
|
|
3678
|
-
if (t.constructor === nt && n.type !==
|
|
3678
|
+
if (t.constructor === nt && n.type !== M.Choice) {
|
|
3679
3679
|
o = new nt({
|
|
3680
3680
|
idBlock: {
|
|
3681
3681
|
tagClass: 3,
|
|
@@ -3690,7 +3690,7 @@ class Dh {
|
|
|
3690
3690
|
if (!s.verified)
|
|
3691
3691
|
throw new Rl(`Data does not match to ${r.name} ASN1 schema. ${s.result.error}`);
|
|
3692
3692
|
const a = new r();
|
|
3693
|
-
if (
|
|
3693
|
+
if (Pf(r)) {
|
|
3694
3694
|
if (!("value" in t.valueBlock && Array.isArray(t.valueBlock.value)))
|
|
3695
3695
|
throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.");
|
|
3696
3696
|
const l = n.itemType;
|
|
@@ -3816,13 +3816,13 @@ class La {
|
|
|
3816
3816
|
}
|
|
3817
3817
|
let o;
|
|
3818
3818
|
switch (i.type) {
|
|
3819
|
-
case
|
|
3819
|
+
case M.Sequence:
|
|
3820
3820
|
o = new Ut({ value: n });
|
|
3821
3821
|
break;
|
|
3822
|
-
case
|
|
3822
|
+
case M.Set:
|
|
3823
3823
|
o = new Lt({ value: n });
|
|
3824
3824
|
break;
|
|
3825
|
-
case
|
|
3825
|
+
case M.Choice:
|
|
3826
3826
|
if (!n[0])
|
|
3827
3827
|
throw new Error(`Schema '${r.name}' has wrong data. Choice cannot be empty.`);
|
|
3828
3828
|
o = n[0];
|
|
@@ -4397,7 +4397,7 @@ c([
|
|
|
4397
4397
|
f({ type: g.BmpString })
|
|
4398
4398
|
], ze.prototype, "bmpString", void 0);
|
|
4399
4399
|
ze = c([
|
|
4400
|
-
V({ type:
|
|
4400
|
+
V({ type: M.Choice })
|
|
4401
4401
|
], ze);
|
|
4402
4402
|
let Fr = class extends ze {
|
|
4403
4403
|
constructor(t = {}) {
|
|
@@ -4414,7 +4414,7 @@ c([
|
|
|
4414
4414
|
f({ type: g.Any })
|
|
4415
4415
|
], Fr.prototype, "anyValue", void 0);
|
|
4416
4416
|
Fr = c([
|
|
4417
|
-
V({ type:
|
|
4417
|
+
V({ type: M.Choice })
|
|
4418
4418
|
], Fr);
|
|
4419
4419
|
class Si {
|
|
4420
4420
|
constructor(t = {}) {
|
|
@@ -4433,7 +4433,7 @@ let qr = us = class extends Ae {
|
|
|
4433
4433
|
}
|
|
4434
4434
|
};
|
|
4435
4435
|
qr = us = c([
|
|
4436
|
-
V({ type:
|
|
4436
|
+
V({ type: M.Set, itemType: Si })
|
|
4437
4437
|
], qr);
|
|
4438
4438
|
let ps = fs = class extends Ae {
|
|
4439
4439
|
constructor(t) {
|
|
@@ -4441,7 +4441,7 @@ let ps = fs = class extends Ae {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
};
|
|
4443
4443
|
ps = fs = c([
|
|
4444
|
-
V({ type:
|
|
4444
|
+
V({ type: M.Sequence, itemType: qr })
|
|
4445
4445
|
], ps);
|
|
4446
4446
|
let $e = ds = class extends ps {
|
|
4447
4447
|
constructor(t) {
|
|
@@ -4449,7 +4449,7 @@ let $e = ds = class extends ps {
|
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
4451
4451
|
$e = ds = c([
|
|
4452
|
-
V({ type:
|
|
4452
|
+
V({ type: M.Sequence })
|
|
4453
4453
|
], $e);
|
|
4454
4454
|
const Uh = {
|
|
4455
4455
|
fromASN: (e) => Ul.toString(fn.fromASN(e)),
|
|
@@ -4510,7 +4510,7 @@ c([
|
|
|
4510
4510
|
f({ type: g.ObjectIdentifier, context: 8, implicit: !0 })
|
|
4511
4511
|
], ye.prototype, "registeredID", void 0);
|
|
4512
4512
|
ye = c([
|
|
4513
|
-
V({ type:
|
|
4513
|
+
V({ type: M.Choice })
|
|
4514
4514
|
], ye);
|
|
4515
4515
|
const Lh = "1.3.6.1.5.5.7", oi = `${Lh}.3`, Or = "2.5.29";
|
|
4516
4516
|
var hs;
|
|
@@ -4531,7 +4531,7 @@ let Ll = hs = class extends Ae {
|
|
|
4531
4531
|
}
|
|
4532
4532
|
};
|
|
4533
4533
|
Ll = hs = c([
|
|
4534
|
-
V({ type:
|
|
4534
|
+
V({ type: M.Sequence, itemType: uo })
|
|
4535
4535
|
], Ll);
|
|
4536
4536
|
const ys = `${Or}.35`;
|
|
4537
4537
|
class Fa extends me {
|
|
@@ -4575,7 +4575,7 @@ let Xe = gs = class extends Ae {
|
|
|
4575
4575
|
}
|
|
4576
4576
|
};
|
|
4577
4577
|
Xe = gs = c([
|
|
4578
|
-
V({ type:
|
|
4578
|
+
V({ type: M.Sequence, itemType: ye })
|
|
4579
4579
|
], Xe);
|
|
4580
4580
|
var vs;
|
|
4581
4581
|
let Hl = vs = class extends Xe {
|
|
@@ -4584,7 +4584,7 @@ let Hl = vs = class extends Xe {
|
|
|
4584
4584
|
}
|
|
4585
4585
|
};
|
|
4586
4586
|
Hl = vs = c([
|
|
4587
|
-
V({ type:
|
|
4587
|
+
V({ type: M.Sequence })
|
|
4588
4588
|
], Hl);
|
|
4589
4589
|
var ms;
|
|
4590
4590
|
const Rf = `${Or}.32`;
|
|
@@ -4609,7 +4609,7 @@ c([
|
|
|
4609
4609
|
f({ type: g.Utf8String })
|
|
4610
4610
|
], Ft.prototype, "utf8String", void 0);
|
|
4611
4611
|
Ft = c([
|
|
4612
|
-
V({ type:
|
|
4612
|
+
V({ type: M.Choice })
|
|
4613
4613
|
], Ft);
|
|
4614
4614
|
class qa {
|
|
4615
4615
|
constructor(t = {}) {
|
|
@@ -4645,7 +4645,7 @@ c([
|
|
|
4645
4645
|
f({ type: Ka })
|
|
4646
4646
|
], pn.prototype, "userNotice", void 0);
|
|
4647
4647
|
pn = c([
|
|
4648
|
-
V({ type:
|
|
4648
|
+
V({ type: M.Choice })
|
|
4649
4649
|
], pn);
|
|
4650
4650
|
class za {
|
|
4651
4651
|
constructor(t = {}) {
|
|
@@ -4675,7 +4675,7 @@ let hn = ms = class extends Ae {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
};
|
|
4677
4677
|
hn = ms = c([
|
|
4678
|
-
V({ type:
|
|
4678
|
+
V({ type: M.Sequence, itemType: fo })
|
|
4679
4679
|
], hn);
|
|
4680
4680
|
let yn = class {
|
|
4681
4681
|
constructor(t = 0) {
|
|
@@ -4686,12 +4686,12 @@ c([
|
|
|
4686
4686
|
f({ type: g.Integer })
|
|
4687
4687
|
], yn.prototype, "value", void 0);
|
|
4688
4688
|
yn = c([
|
|
4689
|
-
V({ type:
|
|
4689
|
+
V({ type: M.Choice })
|
|
4690
4690
|
], yn);
|
|
4691
4691
|
let Fl = class extends yn {
|
|
4692
4692
|
};
|
|
4693
4693
|
Fl = c([
|
|
4694
|
-
V({ type:
|
|
4694
|
+
V({ type: M.Choice })
|
|
4695
4695
|
], Fl);
|
|
4696
4696
|
var bs, bt;
|
|
4697
4697
|
(function(e) {
|
|
@@ -4718,7 +4718,7 @@ c([
|
|
|
4718
4718
|
f({ type: qr, context: 1, implicit: !0 })
|
|
4719
4719
|
], Kr.prototype, "nameRelativeToCRLIssuer", void 0);
|
|
4720
4720
|
Kr = c([
|
|
4721
|
-
V({ type:
|
|
4721
|
+
V({ type: M.Choice })
|
|
4722
4722
|
], Kr);
|
|
4723
4723
|
class Fi {
|
|
4724
4724
|
constructor(t = {}) {
|
|
@@ -4740,7 +4740,7 @@ let ws = bs = class extends Ae {
|
|
|
4740
4740
|
}
|
|
4741
4741
|
};
|
|
4742
4742
|
ws = bs = c([
|
|
4743
|
-
V({ type:
|
|
4743
|
+
V({ type: M.Sequence, itemType: Fi })
|
|
4744
4744
|
], ws);
|
|
4745
4745
|
var ks;
|
|
4746
4746
|
let ql = ks = class extends ws {
|
|
@@ -4749,7 +4749,7 @@ let ql = ks = class extends ws {
|
|
|
4749
4749
|
}
|
|
4750
4750
|
};
|
|
4751
4751
|
ql = ks = c([
|
|
4752
|
-
V({ type:
|
|
4752
|
+
V({ type: M.Sequence, itemType: Fi })
|
|
4753
4753
|
], ql);
|
|
4754
4754
|
class We {
|
|
4755
4755
|
constructor(t = {}) {
|
|
@@ -4794,7 +4794,7 @@ c([
|
|
|
4794
4794
|
f({ type: g.Enumerated })
|
|
4795
4795
|
], As.prototype, "reason", void 0);
|
|
4796
4796
|
As = c([
|
|
4797
|
-
V({ type:
|
|
4797
|
+
V({ type: M.Choice })
|
|
4798
4798
|
], As);
|
|
4799
4799
|
var Ss;
|
|
4800
4800
|
const Uf = `${Or}.37`;
|
|
@@ -4804,7 +4804,7 @@ let gn = Ss = class extends Ae {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
};
|
|
4806
4806
|
gn = Ss = c([
|
|
4807
|
-
V({ type:
|
|
4807
|
+
V({ type: M.Sequence, itemType: g.ObjectIdentifier })
|
|
4808
4808
|
], gn);
|
|
4809
4809
|
const Hh = `${oi}.1`, Fh = `${oi}.2`, qh = `${oi}.3`, Kh = `${oi}.4`, zh = `${oi}.8`, Gh = `${oi}.9`;
|
|
4810
4810
|
let Cs = class {
|
|
@@ -4816,7 +4816,7 @@ c([
|
|
|
4816
4816
|
f({ type: g.Integer, converter: Be })
|
|
4817
4817
|
], Cs.prototype, "value", void 0);
|
|
4818
4818
|
Cs = c([
|
|
4819
|
-
V({ type:
|
|
4819
|
+
V({ type: M.Choice })
|
|
4820
4820
|
], Cs);
|
|
4821
4821
|
let xs = class {
|
|
4822
4822
|
constructor(t) {
|
|
@@ -4827,7 +4827,7 @@ c([
|
|
|
4827
4827
|
f({ type: g.GeneralizedTime })
|
|
4828
4828
|
], xs.prototype, "value", void 0);
|
|
4829
4829
|
xs = c([
|
|
4830
|
-
V({ type:
|
|
4830
|
+
V({ type: M.Choice })
|
|
4831
4831
|
], xs);
|
|
4832
4832
|
var Is;
|
|
4833
4833
|
let Kl = Is = class extends Xe {
|
|
@@ -4836,7 +4836,7 @@ let Kl = Is = class extends Xe {
|
|
|
4836
4836
|
}
|
|
4837
4837
|
};
|
|
4838
4838
|
Kl = Is = c([
|
|
4839
|
-
V({ type:
|
|
4839
|
+
V({ type: M.Sequence })
|
|
4840
4840
|
], Kl);
|
|
4841
4841
|
const Lf = `${Or}.15`;
|
|
4842
4842
|
var wt;
|
|
@@ -4873,7 +4873,7 @@ let vn = Bs = class extends Ae {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
};
|
|
4875
4875
|
vn = Bs = c([
|
|
4876
|
-
V({ type:
|
|
4876
|
+
V({ type: M.Sequence, itemType: po })
|
|
4877
4877
|
], vn);
|
|
4878
4878
|
class Hf {
|
|
4879
4879
|
constructor(t = {}) {
|
|
@@ -4927,7 +4927,7 @@ let zl = Es = class extends Ae {
|
|
|
4927
4927
|
}
|
|
4928
4928
|
};
|
|
4929
4929
|
zl = Es = c([
|
|
4930
|
-
V({ type:
|
|
4930
|
+
V({ type: M.Sequence, itemType: Ga })
|
|
4931
4931
|
], zl);
|
|
4932
4932
|
var Os;
|
|
4933
4933
|
const qf = `${Or}.17`;
|
|
@@ -4937,7 +4937,7 @@ let Ns = Os = class extends Xe {
|
|
|
4937
4937
|
}
|
|
4938
4938
|
};
|
|
4939
4939
|
Ns = Os = c([
|
|
4940
|
-
V({ type:
|
|
4940
|
+
V({ type: M.Sequence })
|
|
4941
4941
|
], Ns);
|
|
4942
4942
|
let qt = class {
|
|
4943
4943
|
constructor(t = {}) {
|
|
@@ -4957,7 +4957,7 @@ let Gl = _s = class extends Ae {
|
|
|
4957
4957
|
}
|
|
4958
4958
|
};
|
|
4959
4959
|
Gl = _s = c([
|
|
4960
|
-
V({ type:
|
|
4960
|
+
V({ type: M.Sequence, itemType: qt })
|
|
4961
4961
|
], Gl);
|
|
4962
4962
|
const Kf = `${Or}.14`;
|
|
4963
4963
|
class Xt extends Fa {
|
|
@@ -5004,7 +5004,7 @@ let Wl = Ts = class extends Ae {
|
|
|
5004
5004
|
}
|
|
5005
5005
|
};
|
|
5006
5006
|
Wl = Ts = c([
|
|
5007
|
-
V({ type:
|
|
5007
|
+
V({ type: M.Sequence, itemType: uo })
|
|
5008
5008
|
], Wl);
|
|
5009
5009
|
class Q {
|
|
5010
5010
|
constructor(t = {}) {
|
|
@@ -5063,7 +5063,7 @@ c([
|
|
|
5063
5063
|
})
|
|
5064
5064
|
], Fe.prototype, "generalTime", void 0);
|
|
5065
5065
|
Fe = c([
|
|
5066
|
-
V({ type:
|
|
5066
|
+
V({ type: M.Choice })
|
|
5067
5067
|
], Fe);
|
|
5068
5068
|
class ho {
|
|
5069
5069
|
constructor(t) {
|
|
@@ -5101,7 +5101,7 @@ let Cr = js = class extends Ae {
|
|
|
5101
5101
|
}
|
|
5102
5102
|
};
|
|
5103
5103
|
Cr = js = c([
|
|
5104
|
-
V({ type:
|
|
5104
|
+
V({ type: M.Sequence, itemType: kt })
|
|
5105
5105
|
], Cr);
|
|
5106
5106
|
var zr;
|
|
5107
5107
|
(function(e) {
|
|
@@ -5245,7 +5245,7 @@ c([
|
|
|
5245
5245
|
f({ type: si })
|
|
5246
5246
|
], Wr.prototype, "issuerAndSerialNumber", void 0);
|
|
5247
5247
|
Wr = c([
|
|
5248
|
-
V({ type:
|
|
5248
|
+
V({ type: M.Choice })
|
|
5249
5249
|
], Wr);
|
|
5250
5250
|
var Kt;
|
|
5251
5251
|
(function(e) {
|
|
@@ -5254,33 +5254,33 @@ var Kt;
|
|
|
5254
5254
|
let xi = class extends Q {
|
|
5255
5255
|
};
|
|
5256
5256
|
xi = c([
|
|
5257
|
-
V({ type:
|
|
5257
|
+
V({ type: M.Sequence })
|
|
5258
5258
|
], xi);
|
|
5259
5259
|
let mn = class extends Q {
|
|
5260
5260
|
};
|
|
5261
5261
|
mn = c([
|
|
5262
|
-
V({ type:
|
|
5262
|
+
V({ type: M.Sequence })
|
|
5263
5263
|
], mn);
|
|
5264
5264
|
let Et = class extends Q {
|
|
5265
5265
|
};
|
|
5266
5266
|
Et = c([
|
|
5267
|
-
V({ type:
|
|
5267
|
+
V({ type: M.Sequence })
|
|
5268
5268
|
], Et);
|
|
5269
5269
|
let bn = class extends Q {
|
|
5270
5270
|
};
|
|
5271
5271
|
bn = c([
|
|
5272
|
-
V({ type:
|
|
5272
|
+
V({ type: M.Sequence })
|
|
5273
5273
|
], bn);
|
|
5274
5274
|
let Jl = class extends Q {
|
|
5275
5275
|
};
|
|
5276
5276
|
Jl = c([
|
|
5277
|
-
V({ type:
|
|
5277
|
+
V({ type: M.Sequence })
|
|
5278
5278
|
], Jl);
|
|
5279
|
-
let
|
|
5279
|
+
let Ms = class extends Q {
|
|
5280
5280
|
};
|
|
5281
|
-
|
|
5282
|
-
V({ type:
|
|
5283
|
-
],
|
|
5281
|
+
Ms = c([
|
|
5282
|
+
V({ type: M.Sequence })
|
|
5283
|
+
], Ms);
|
|
5284
5284
|
let ai = class {
|
|
5285
5285
|
constructor(t = {}) {
|
|
5286
5286
|
this.attrType = "", this.attrValues = [], Object.assign(this, t);
|
|
@@ -5292,7 +5292,7 @@ c([
|
|
|
5292
5292
|
c([
|
|
5293
5293
|
f({ type: g.Any, repeated: "set" })
|
|
5294
5294
|
], ai.prototype, "attrValues", void 0);
|
|
5295
|
-
var
|
|
5295
|
+
var Ps;
|
|
5296
5296
|
class _t {
|
|
5297
5297
|
constructor(t = {}) {
|
|
5298
5298
|
this.version = Kt.v0, this.sid = new Wr(), this.digestAlgorithm = new xi(), this.signatureAlgorithm = new mn(), this.signature = new me(), Object.assign(this, t);
|
|
@@ -5319,23 +5319,23 @@ c([
|
|
|
5319
5319
|
c([
|
|
5320
5320
|
f({ type: ai, repeated: "set", context: 1, implicit: !0, optional: !0 })
|
|
5321
5321
|
], _t.prototype, "unsignedAttrs", void 0);
|
|
5322
|
-
let wn =
|
|
5322
|
+
let wn = Ps = class extends Ae {
|
|
5323
5323
|
constructor(t) {
|
|
5324
|
-
super(t), Object.setPrototypeOf(this,
|
|
5324
|
+
super(t), Object.setPrototypeOf(this, Ps.prototype);
|
|
5325
5325
|
}
|
|
5326
5326
|
};
|
|
5327
|
-
wn =
|
|
5328
|
-
V({ type:
|
|
5327
|
+
wn = Ps = c([
|
|
5328
|
+
V({ type: M.Set, itemType: _t })
|
|
5329
5329
|
], wn);
|
|
5330
5330
|
let Yl = class extends Fe {
|
|
5331
5331
|
};
|
|
5332
5332
|
Yl = c([
|
|
5333
|
-
V({ type:
|
|
5333
|
+
V({ type: M.Choice })
|
|
5334
5334
|
], Yl);
|
|
5335
5335
|
let Zl = class extends _t {
|
|
5336
5336
|
};
|
|
5337
5337
|
Zl = c([
|
|
5338
|
-
V({ type:
|
|
5338
|
+
V({ type: M.Sequence })
|
|
5339
5339
|
], Zl);
|
|
5340
5340
|
class Ja {
|
|
5341
5341
|
constructor(t = {}) {
|
|
@@ -5358,7 +5358,7 @@ let kn = Vs = class extends Ae {
|
|
|
5358
5358
|
}
|
|
5359
5359
|
};
|
|
5360
5360
|
kn = Vs = c([
|
|
5361
|
-
V({ type:
|
|
5361
|
+
V({ type: M.Sequence, itemType: g.ObjectIdentifier })
|
|
5362
5362
|
], kn);
|
|
5363
5363
|
class go {
|
|
5364
5364
|
constructor(t = {}) {
|
|
@@ -5438,7 +5438,7 @@ c([
|
|
|
5438
5438
|
f({ type: vo, context: 0, implicit: !0 })
|
|
5439
5439
|
], Jr.prototype, "v2Form", void 0);
|
|
5440
5440
|
Jr = c([
|
|
5441
|
-
V({ type:
|
|
5441
|
+
V({ type: M.Choice })
|
|
5442
5442
|
], Jr);
|
|
5443
5443
|
class mo {
|
|
5444
5444
|
constructor(t = {}) {
|
|
@@ -5601,7 +5601,7 @@ c([
|
|
|
5601
5601
|
f({ type: ko, context: 2, implicit: !0 })
|
|
5602
5602
|
], Yr.prototype, "targetCert", void 0);
|
|
5603
5603
|
Yr = c([
|
|
5604
|
-
V({ type:
|
|
5604
|
+
V({ type: M.Choice })
|
|
5605
5605
|
], Yr);
|
|
5606
5606
|
let Ls = Us = class extends Ae {
|
|
5607
5607
|
constructor(t) {
|
|
@@ -5609,7 +5609,7 @@ let Ls = Us = class extends Ae {
|
|
|
5609
5609
|
}
|
|
5610
5610
|
};
|
|
5611
5611
|
Ls = Us = c([
|
|
5612
|
-
V({ type:
|
|
5612
|
+
V({ type: M.Sequence, itemType: Yr })
|
|
5613
5613
|
], Ls);
|
|
5614
5614
|
var Hs;
|
|
5615
5615
|
let Ql = Hs = class extends Ae {
|
|
@@ -5618,7 +5618,7 @@ let Ql = Hs = class extends Ae {
|
|
|
5618
5618
|
}
|
|
5619
5619
|
};
|
|
5620
5620
|
Ql = Hs = c([
|
|
5621
|
-
V({ type:
|
|
5621
|
+
V({ type: M.Sequence, itemType: Ls })
|
|
5622
5622
|
], Ql);
|
|
5623
5623
|
class Zf {
|
|
5624
5624
|
constructor(t = {}) {
|
|
@@ -5672,7 +5672,7 @@ c([
|
|
|
5672
5672
|
f({ type: Xa, context: 3, implicit: !0 })
|
|
5673
5673
|
], Zr.prototype, "other", void 0);
|
|
5674
5674
|
Zr = c([
|
|
5675
|
-
V({ type:
|
|
5675
|
+
V({ type: M.Choice })
|
|
5676
5676
|
], Zr);
|
|
5677
5677
|
let Sn = Fs = class extends Ae {
|
|
5678
5678
|
constructor(t) {
|
|
@@ -5680,7 +5680,7 @@ let Sn = Fs = class extends Ae {
|
|
|
5680
5680
|
}
|
|
5681
5681
|
};
|
|
5682
5682
|
Sn = Fs = c([
|
|
5683
|
-
V({ type:
|
|
5683
|
+
V({ type: M.Set, itemType: Zr })
|
|
5684
5684
|
], Sn);
|
|
5685
5685
|
class li {
|
|
5686
5686
|
constructor(t = {}) {
|
|
@@ -5705,7 +5705,7 @@ c([
|
|
|
5705
5705
|
f({ type: g.Any })
|
|
5706
5706
|
], Ii.prototype, "any", void 0);
|
|
5707
5707
|
Ii = c([
|
|
5708
|
-
V({ type:
|
|
5708
|
+
V({ type: M.Choice })
|
|
5709
5709
|
], Ii);
|
|
5710
5710
|
class Ao {
|
|
5711
5711
|
constructor(t = {}) {
|
|
@@ -5730,7 +5730,7 @@ c([
|
|
|
5730
5730
|
f({ type: me, converter: Ah, context: 0, implicit: !0, optional: !0, repeated: "sequence" })
|
|
5731
5731
|
], Bi.prototype, "constructedValue", void 0);
|
|
5732
5732
|
Bi = c([
|
|
5733
|
-
V({ type:
|
|
5733
|
+
V({ type: M.Choice })
|
|
5734
5734
|
], Bi);
|
|
5735
5735
|
class Ki {
|
|
5736
5736
|
constructor(t = {}) {
|
|
@@ -5784,7 +5784,7 @@ c([
|
|
|
5784
5784
|
f({ type: si, optional: !0 })
|
|
5785
5785
|
], Qr.prototype, "issuerAndSerialNumber", void 0);
|
|
5786
5786
|
Qr = c([
|
|
5787
|
-
V({ type:
|
|
5787
|
+
V({ type: M.Choice })
|
|
5788
5788
|
], Qr);
|
|
5789
5789
|
class el {
|
|
5790
5790
|
constructor(t = {}) {
|
|
@@ -5803,7 +5803,7 @@ let Cn = qs = class extends Ae {
|
|
|
5803
5803
|
}
|
|
5804
5804
|
};
|
|
5805
5805
|
Cn = qs = c([
|
|
5806
|
-
V({ type:
|
|
5806
|
+
V({ type: M.Sequence, itemType: el })
|
|
5807
5807
|
], Cn);
|
|
5808
5808
|
class tl {
|
|
5809
5809
|
constructor(t = {}) {
|
|
@@ -5831,7 +5831,7 @@ c([
|
|
|
5831
5831
|
f({ type: si, optional: !0 })
|
|
5832
5832
|
], xr.prototype, "issuerAndSerialNumber", void 0);
|
|
5833
5833
|
xr = c([
|
|
5834
|
-
V({ type:
|
|
5834
|
+
V({ type: M.Choice })
|
|
5835
5835
|
], xr);
|
|
5836
5836
|
class ci {
|
|
5837
5837
|
constructor(t = {}) {
|
|
@@ -5865,7 +5865,7 @@ c([
|
|
|
5865
5865
|
f({ type: si })
|
|
5866
5866
|
], Xr.prototype, "issuerAndSerialNumber", void 0);
|
|
5867
5867
|
Xr = c([
|
|
5868
|
-
V({ type:
|
|
5868
|
+
V({ type: M.Choice })
|
|
5869
5869
|
], Xr);
|
|
5870
5870
|
class zi {
|
|
5871
5871
|
constructor(t = {}) {
|
|
@@ -5924,7 +5924,7 @@ c([
|
|
|
5924
5924
|
f({ type: g.Integer })
|
|
5925
5925
|
], Ji.prototype, "version", void 0);
|
|
5926
5926
|
c([
|
|
5927
|
-
f({ type:
|
|
5927
|
+
f({ type: Ms, context: 0, optional: !0 })
|
|
5928
5928
|
], Ji.prototype, "keyDerivationAlgorithm", void 0);
|
|
5929
5929
|
c([
|
|
5930
5930
|
f({ type: Et })
|
|
@@ -5964,7 +5964,7 @@ c([
|
|
|
5964
5964
|
f({ type: rl, context: 4, implicit: !0, optional: !0 })
|
|
5965
5965
|
], ir.prototype, "ori", void 0);
|
|
5966
5966
|
ir = c([
|
|
5967
|
-
V({ type:
|
|
5967
|
+
V({ type: M.Choice })
|
|
5968
5968
|
], ir);
|
|
5969
5969
|
var Ks;
|
|
5970
5970
|
let xn = Ks = class extends Ae {
|
|
@@ -5973,7 +5973,7 @@ let xn = Ks = class extends Ae {
|
|
|
5973
5973
|
}
|
|
5974
5974
|
};
|
|
5975
5975
|
xn = Ks = c([
|
|
5976
|
-
V({ type:
|
|
5976
|
+
V({ type: M.Set, itemType: ir })
|
|
5977
5977
|
], xn);
|
|
5978
5978
|
var zs;
|
|
5979
5979
|
class xo {
|
|
@@ -5996,7 +5996,7 @@ c([
|
|
|
5996
5996
|
f({ type: xo, context: 1, implicit: !0 })
|
|
5997
5997
|
], Ei.prototype, "other", void 0);
|
|
5998
5998
|
Ei = c([
|
|
5999
|
-
V({ type:
|
|
5999
|
+
V({ type: M.Choice })
|
|
6000
6000
|
], Ei);
|
|
6001
6001
|
let Gs = zs = class extends Ae {
|
|
6002
6002
|
constructor(t) {
|
|
@@ -6004,7 +6004,7 @@ let Gs = zs = class extends Ae {
|
|
|
6004
6004
|
}
|
|
6005
6005
|
};
|
|
6006
6006
|
Gs = zs = c([
|
|
6007
|
-
V({ type:
|
|
6007
|
+
V({ type: M.Set, itemType: Ei })
|
|
6008
6008
|
], Gs);
|
|
6009
6009
|
class il {
|
|
6010
6010
|
constructor(t = {}) {
|
|
@@ -6024,7 +6024,7 @@ let Js = Ws = class extends Ae {
|
|
|
6024
6024
|
}
|
|
6025
6025
|
};
|
|
6026
6026
|
Js = Ws = c([
|
|
6027
|
-
V({ type:
|
|
6027
|
+
V({ type: M.Set, itemType: ai })
|
|
6028
6028
|
], Js);
|
|
6029
6029
|
class Yi {
|
|
6030
6030
|
constructor(t = {}) {
|
|
@@ -6054,7 +6054,7 @@ let In = Ys = class extends Ae {
|
|
|
6054
6054
|
}
|
|
6055
6055
|
};
|
|
6056
6056
|
In = Ys = c([
|
|
6057
|
-
V({ type:
|
|
6057
|
+
V({ type: M.Set, itemType: xi })
|
|
6058
6058
|
], In);
|
|
6059
6059
|
class ui {
|
|
6060
6060
|
constructor(t = {}) {
|
|
@@ -6095,7 +6095,7 @@ c([
|
|
|
6095
6095
|
f({ type: g.ObjectIdentifier })
|
|
6096
6096
|
], ei.prototype, "namedCurve", void 0);
|
|
6097
6097
|
ei = c([
|
|
6098
|
-
V({ type:
|
|
6098
|
+
V({ type: M.Choice })
|
|
6099
6099
|
], ei);
|
|
6100
6100
|
class Io {
|
|
6101
6101
|
constructor(t = {}) {
|
|
@@ -6232,7 +6232,7 @@ let Xs = Qs = class extends Ae {
|
|
|
6232
6232
|
}
|
|
6233
6233
|
};
|
|
6234
6234
|
Xs = Qs = c([
|
|
6235
|
-
V({ type:
|
|
6235
|
+
V({ type: M.Sequence, itemType: Oo })
|
|
6236
6236
|
], Xs);
|
|
6237
6237
|
class Tt {
|
|
6238
6238
|
constructor(t = {}) {
|
|
@@ -6846,7 +6846,7 @@ let nc = ia = class extends Ae {
|
|
|
6846
6846
|
}
|
|
6847
6847
|
};
|
|
6848
6848
|
nc = ia = c([
|
|
6849
|
-
V({ type:
|
|
6849
|
+
V({ type: M.Sequence, itemType: No })
|
|
6850
6850
|
], nc);
|
|
6851
6851
|
var na;
|
|
6852
6852
|
let oc = na = class extends Ae {
|
|
@@ -6855,7 +6855,7 @@ let oc = na = class extends Ae {
|
|
|
6855
6855
|
}
|
|
6856
6856
|
};
|
|
6857
6857
|
oc = na = c([
|
|
6858
|
-
V({ type:
|
|
6858
|
+
V({ type: M.Sequence, itemType: li })
|
|
6859
6859
|
], oc);
|
|
6860
6860
|
class fd {
|
|
6861
6861
|
constructor(t = {}) {
|
|
@@ -6904,7 +6904,7 @@ let aa = oa = class extends Ae {
|
|
|
6904
6904
|
}
|
|
6905
6905
|
};
|
|
6906
6906
|
aa = oa = c([
|
|
6907
|
-
V({ type:
|
|
6907
|
+
V({ type: M.Sequence, itemType: qt })
|
|
6908
6908
|
], aa);
|
|
6909
6909
|
class Xi {
|
|
6910
6910
|
constructor(t = {}) {
|
|
@@ -6926,12 +6926,12 @@ c([
|
|
|
6926
6926
|
let sc = class extends Xi {
|
|
6927
6927
|
};
|
|
6928
6928
|
sc = c([
|
|
6929
|
-
V({ type:
|
|
6929
|
+
V({ type: M.Sequence })
|
|
6930
6930
|
], sc);
|
|
6931
6931
|
let ac = class extends _o {
|
|
6932
6932
|
};
|
|
6933
6933
|
ac = c([
|
|
6934
|
-
V({ type:
|
|
6934
|
+
V({ type: M.Sequence })
|
|
6935
6935
|
], ac);
|
|
6936
6936
|
class yd {
|
|
6937
6937
|
constructor(t = {}) {
|
|
@@ -6993,7 +6993,7 @@ let lc = la = class extends Ae {
|
|
|
6993
6993
|
}
|
|
6994
6994
|
};
|
|
6995
6995
|
lc = la = c([
|
|
6996
|
-
V({ type:
|
|
6996
|
+
V({ type: M.Sequence, itemType: jo })
|
|
6997
6997
|
], lc);
|
|
6998
6998
|
var ca, ua, fa;
|
|
6999
6999
|
const gd = "1.2.840.113549.1.9", vd = `${gd}.7`, pl = `${gd}.14`;
|
|
@@ -7009,22 +7009,22 @@ c([
|
|
|
7009
7009
|
f({ type: g.IA5String })
|
|
7010
7010
|
], Tn.prototype, "ia5String", void 0);
|
|
7011
7011
|
Tn = c([
|
|
7012
|
-
V({ type:
|
|
7012
|
+
V({ type: M.Choice })
|
|
7013
7013
|
], Tn);
|
|
7014
7014
|
let cc = class extends li {
|
|
7015
7015
|
};
|
|
7016
7016
|
cc = c([
|
|
7017
|
-
V({ type:
|
|
7017
|
+
V({ type: M.Sequence })
|
|
7018
7018
|
], cc);
|
|
7019
7019
|
let uc = class extends To {
|
|
7020
7020
|
};
|
|
7021
7021
|
uc = c([
|
|
7022
|
-
V({ type:
|
|
7022
|
+
V({ type: M.Sequence })
|
|
7023
7023
|
], uc);
|
|
7024
7024
|
let fc = class extends _o {
|
|
7025
7025
|
};
|
|
7026
7026
|
fc = c([
|
|
7027
|
-
V({ type:
|
|
7027
|
+
V({ type: M.Sequence })
|
|
7028
7028
|
], fc);
|
|
7029
7029
|
let da = class {
|
|
7030
7030
|
constructor(t = "") {
|
|
@@ -7038,17 +7038,17 @@ c([
|
|
|
7038
7038
|
f({ type: g.IA5String })
|
|
7039
7039
|
], da.prototype, "value", void 0);
|
|
7040
7040
|
da = c([
|
|
7041
|
-
V({ type:
|
|
7041
|
+
V({ type: M.Choice })
|
|
7042
7042
|
], da);
|
|
7043
7043
|
let dc = class extends Tn {
|
|
7044
7044
|
};
|
|
7045
7045
|
dc = c([
|
|
7046
|
-
V({ type:
|
|
7046
|
+
V({ type: M.Choice })
|
|
7047
7047
|
], dc);
|
|
7048
7048
|
let pc = class extends ze {
|
|
7049
7049
|
};
|
|
7050
7050
|
pc = c([
|
|
7051
|
-
V({ type:
|
|
7051
|
+
V({ type: M.Choice })
|
|
7052
7052
|
], pc);
|
|
7053
7053
|
let pa = class {
|
|
7054
7054
|
constructor(t = /* @__PURE__ */ new Date()) {
|
|
@@ -7059,12 +7059,12 @@ c([
|
|
|
7059
7059
|
f({ type: g.GeneralizedTime })
|
|
7060
7060
|
], pa.prototype, "value", void 0);
|
|
7061
7061
|
pa = c([
|
|
7062
|
-
V({ type:
|
|
7062
|
+
V({ type: M.Choice })
|
|
7063
7063
|
], pa);
|
|
7064
7064
|
let hc = class extends ze {
|
|
7065
7065
|
};
|
|
7066
7066
|
hc = c([
|
|
7067
|
-
V({ type:
|
|
7067
|
+
V({ type: M.Choice })
|
|
7068
7068
|
], hc);
|
|
7069
7069
|
let ha = class {
|
|
7070
7070
|
constructor(t = "M") {
|
|
@@ -7078,7 +7078,7 @@ c([
|
|
|
7078
7078
|
f({ type: g.PrintableString })
|
|
7079
7079
|
], ha.prototype, "value", void 0);
|
|
7080
7080
|
ha = c([
|
|
7081
|
-
V({ type:
|
|
7081
|
+
V({ type: M.Choice })
|
|
7082
7082
|
], ha);
|
|
7083
7083
|
let jn = class {
|
|
7084
7084
|
constructor(t = "") {
|
|
@@ -7092,17 +7092,17 @@ c([
|
|
|
7092
7092
|
f({ type: g.PrintableString })
|
|
7093
7093
|
], jn.prototype, "value", void 0);
|
|
7094
7094
|
jn = c([
|
|
7095
|
-
V({ type:
|
|
7095
|
+
V({ type: M.Choice })
|
|
7096
7096
|
], jn);
|
|
7097
7097
|
let yc = class extends jn {
|
|
7098
7098
|
};
|
|
7099
7099
|
yc = c([
|
|
7100
|
-
V({ type:
|
|
7100
|
+
V({ type: M.Choice })
|
|
7101
7101
|
], yc);
|
|
7102
7102
|
let gc = class extends ze {
|
|
7103
7103
|
};
|
|
7104
7104
|
gc = c([
|
|
7105
|
-
V({ type:
|
|
7105
|
+
V({ type: M.Choice })
|
|
7106
7106
|
], gc);
|
|
7107
7107
|
let ya = class {
|
|
7108
7108
|
constructor(t = "") {
|
|
@@ -7116,12 +7116,12 @@ c([
|
|
|
7116
7116
|
f({ type: g.ObjectIdentifier })
|
|
7117
7117
|
], ya.prototype, "value", void 0);
|
|
7118
7118
|
ya = c([
|
|
7119
|
-
V({ type:
|
|
7119
|
+
V({ type: M.Choice })
|
|
7120
7120
|
], ya);
|
|
7121
7121
|
let vc = class extends Fe {
|
|
7122
7122
|
};
|
|
7123
7123
|
vc = c([
|
|
7124
|
-
V({ type:
|
|
7124
|
+
V({ type: M.Choice })
|
|
7125
7125
|
], vc);
|
|
7126
7126
|
let ga = class {
|
|
7127
7127
|
constructor(t = 0) {
|
|
@@ -7135,25 +7135,25 @@ c([
|
|
|
7135
7135
|
f({ type: g.Integer })
|
|
7136
7136
|
], ga.prototype, "value", void 0);
|
|
7137
7137
|
ga = c([
|
|
7138
|
-
V({ type:
|
|
7138
|
+
V({ type: M.Choice })
|
|
7139
7139
|
], ga);
|
|
7140
7140
|
let mc = class extends _t {
|
|
7141
7141
|
};
|
|
7142
7142
|
mc = c([
|
|
7143
|
-
V({ type:
|
|
7143
|
+
V({ type: M.Sequence })
|
|
7144
7144
|
], mc);
|
|
7145
|
-
let
|
|
7145
|
+
let Mn = class extends ze {
|
|
7146
7146
|
};
|
|
7147
|
-
|
|
7148
|
-
V({ type:
|
|
7149
|
-
],
|
|
7147
|
+
Mn = c([
|
|
7148
|
+
V({ type: M.Choice })
|
|
7149
|
+
], Mn);
|
|
7150
7150
|
let bc = ca = class extends Cr {
|
|
7151
7151
|
constructor(t) {
|
|
7152
7152
|
super(t), Object.setPrototypeOf(this, ca.prototype);
|
|
7153
7153
|
}
|
|
7154
7154
|
};
|
|
7155
7155
|
bc = ca = c([
|
|
7156
|
-
V({ type:
|
|
7156
|
+
V({ type: M.Sequence })
|
|
7157
7157
|
], bc);
|
|
7158
7158
|
let wc = ua = class extends Ae {
|
|
7159
7159
|
constructor(t) {
|
|
@@ -7161,7 +7161,7 @@ let wc = ua = class extends Ae {
|
|
|
7161
7161
|
}
|
|
7162
7162
|
};
|
|
7163
7163
|
wc = ua = c([
|
|
7164
|
-
V({ type:
|
|
7164
|
+
V({ type: M.Set, itemType: ai })
|
|
7165
7165
|
], wc);
|
|
7166
7166
|
let va = class {
|
|
7167
7167
|
constructor(t = "") {
|
|
@@ -7175,12 +7175,12 @@ c([
|
|
|
7175
7175
|
f({ type: g.BmpString })
|
|
7176
7176
|
], va.prototype, "value", void 0);
|
|
7177
7177
|
va = c([
|
|
7178
|
-
V({ type:
|
|
7178
|
+
V({ type: M.Choice })
|
|
7179
7179
|
], va);
|
|
7180
7180
|
let ma = class extends Q {
|
|
7181
7181
|
};
|
|
7182
7182
|
ma = c([
|
|
7183
|
-
V({ type:
|
|
7183
|
+
V({ type: M.Sequence })
|
|
7184
7184
|
], ma);
|
|
7185
7185
|
let kc = fa = class extends Ae {
|
|
7186
7186
|
constructor(t) {
|
|
@@ -7188,20 +7188,20 @@ let kc = fa = class extends Ae {
|
|
|
7188
7188
|
}
|
|
7189
7189
|
};
|
|
7190
7190
|
kc = fa = c([
|
|
7191
|
-
V({ type:
|
|
7191
|
+
V({ type: M.Sequence, itemType: ma })
|
|
7192
7192
|
], kc);
|
|
7193
7193
|
var ba;
|
|
7194
|
-
let
|
|
7194
|
+
let Pn = ba = class extends Ae {
|
|
7195
7195
|
constructor(t) {
|
|
7196
7196
|
super(t), Object.setPrototypeOf(this, ba.prototype);
|
|
7197
7197
|
}
|
|
7198
7198
|
};
|
|
7199
|
-
|
|
7200
|
-
V({ type:
|
|
7201
|
-
],
|
|
7199
|
+
Pn = ba = c([
|
|
7200
|
+
V({ type: M.Sequence, itemType: qt })
|
|
7201
|
+
], Pn);
|
|
7202
7202
|
class fi {
|
|
7203
7203
|
constructor(t = {}) {
|
|
7204
|
-
this.version = 0, this.subject = new $e(), this.subjectPKInfo = new Ht(), this.attributes = new
|
|
7204
|
+
this.version = 0, this.subject = new $e(), this.subjectPKInfo = new Ht(), this.attributes = new Pn(), Object.assign(this, t);
|
|
7205
7205
|
}
|
|
7206
7206
|
}
|
|
7207
7207
|
c([
|
|
@@ -7214,7 +7214,7 @@ c([
|
|
|
7214
7214
|
f({ type: Ht })
|
|
7215
7215
|
], fi.prototype, "subjectPKInfo", void 0);
|
|
7216
7216
|
c([
|
|
7217
|
-
f({ type:
|
|
7217
|
+
f({ type: Pn, implicit: !0, context: 0 })
|
|
7218
7218
|
], fi.prototype, "attributes", void 0);
|
|
7219
7219
|
class Ni {
|
|
7220
7220
|
constructor(t = {}) {
|
|
@@ -7254,10 +7254,10 @@ c([
|
|
|
7254
7254
|
* SOFTWARE.
|
|
7255
7255
|
*
|
|
7256
7256
|
*/
|
|
7257
|
-
const
|
|
7257
|
+
const Mo = "crypto.algorithm";
|
|
7258
7258
|
class xy {
|
|
7259
7259
|
getAlgorithms() {
|
|
7260
|
-
return yt.resolveAll(
|
|
7260
|
+
return yt.resolveAll(Mo);
|
|
7261
7261
|
}
|
|
7262
7262
|
toAsnAlgorithm(t) {
|
|
7263
7263
|
({ ...t });
|
|
@@ -7290,10 +7290,10 @@ class xy {
|
|
|
7290
7290
|
};
|
|
7291
7291
|
}
|
|
7292
7292
|
}
|
|
7293
|
-
const
|
|
7294
|
-
yt.registerSingleton(
|
|
7293
|
+
const Po = "crypto.algorithmProvider";
|
|
7294
|
+
yt.registerSingleton(Po, xy);
|
|
7295
7295
|
var sn;
|
|
7296
|
-
const at = "1.3.36.3.3.2.8.1.1", Ac = `${at}.1`, Sc = `${at}.2`, Cc = `${at}.3`, xc = `${at}.4`, Ic = `${at}.5`, Bc = `${at}.6`, Ec = `${at}.7`, Oc = `${at}.8`, Nc = `${at}.9`, _c = `${at}.10`, Tc = `${at}.11`, jc = `${at}.12`,
|
|
7296
|
+
const at = "1.3.36.3.3.2.8.1.1", Ac = `${at}.1`, Sc = `${at}.2`, Cc = `${at}.3`, xc = `${at}.4`, Ic = `${at}.5`, Bc = `${at}.6`, Ec = `${at}.7`, Oc = `${at}.8`, Nc = `${at}.9`, _c = `${at}.10`, Tc = `${at}.11`, jc = `${at}.12`, Mc = `${at}.13`, Pc = `${at}.14`, Vc = "brainpoolP160r1", $c = "brainpoolP160t1", Rc = "brainpoolP192r1", Dc = "brainpoolP192t1", Uc = "brainpoolP224r1", Lc = "brainpoolP224t1", Hc = "brainpoolP256r1", Fc = "brainpoolP256t1", qc = "brainpoolP320r1", Kc = "brainpoolP320t1", zc = "brainpoolP384r1", Gc = "brainpoolP384t1", Wc = "brainpoolP512r1", Jc = "brainpoolP512t1", Ee = "ECDSA";
|
|
7297
7297
|
let _i = sn = class {
|
|
7298
7298
|
toAsnAlgorithm(t) {
|
|
7299
7299
|
switch (t.name.toLowerCase()) {
|
|
@@ -7361,10 +7361,10 @@ let _i = sn = class {
|
|
|
7361
7361
|
r = jc;
|
|
7362
7362
|
break;
|
|
7363
7363
|
case Wc:
|
|
7364
|
-
r =
|
|
7364
|
+
r = Mc;
|
|
7365
7365
|
break;
|
|
7366
7366
|
case Jc:
|
|
7367
|
-
r =
|
|
7367
|
+
r = Pc;
|
|
7368
7368
|
break;
|
|
7369
7369
|
}
|
|
7370
7370
|
if (r)
|
|
@@ -7422,9 +7422,9 @@ let _i = sn = class {
|
|
|
7422
7422
|
return { name: Ee, namedCurve: zc };
|
|
7423
7423
|
case jc:
|
|
7424
7424
|
return { name: Ee, namedCurve: Gc };
|
|
7425
|
-
case Pc:
|
|
7426
|
-
return { name: Ee, namedCurve: Wc };
|
|
7427
7425
|
case Mc:
|
|
7426
|
+
return { name: Ee, namedCurve: Wc };
|
|
7427
|
+
case Pc:
|
|
7428
7428
|
return { name: Ee, namedCurve: Jc };
|
|
7429
7429
|
}
|
|
7430
7430
|
}
|
|
@@ -7436,7 +7436,7 @@ _i.SECP256K1 = "1.3.132.0.10";
|
|
|
7436
7436
|
_i = sn = c([
|
|
7437
7437
|
dl()
|
|
7438
7438
|
], _i);
|
|
7439
|
-
yt.registerSingleton(
|
|
7439
|
+
yt.registerSingleton(Mo, _i);
|
|
7440
7440
|
const md = Symbol("name"), bd = Symbol("value");
|
|
7441
7441
|
class ke {
|
|
7442
7442
|
constructor(t, r = {}, i = "") {
|
|
@@ -7865,7 +7865,7 @@ class eu extends cr {
|
|
|
7865
7865
|
r = new ye({
|
|
7866
7866
|
otherName: new Ci({
|
|
7867
7867
|
typeId: Xc,
|
|
7868
|
-
value: ee.serialize(
|
|
7868
|
+
value: ee.serialize(Mf.toASN(t[1]))
|
|
7869
7869
|
})
|
|
7870
7870
|
});
|
|
7871
7871
|
break;
|
|
@@ -7983,7 +7983,7 @@ class Ti extends cr {
|
|
|
7983
7983
|
}
|
|
7984
7984
|
}
|
|
7985
7985
|
Ti.NAME = "GeneralNames";
|
|
7986
|
-
const bi = "-{5}", ji = "\\n", Ty = `[^${ji}]+`, jy = `${bi}BEGIN (${Ty}(?=${bi}))${bi}`,
|
|
7986
|
+
const bi = "-{5}", ji = "\\n", Ty = `[^${ji}]+`, jy = `${bi}BEGIN (${Ty}(?=${bi}))${bi}`, My = `${bi}END \\1${bi}`, ri = "\\n", Py = `[^:${ji}]+`, Vy = `(?:[^${ji}]+${ri}(?: +[^${ji}]+${ri})*)`, $y = "[a-zA-Z0-9=+/]+", Ry = `(?:${$y}${ri})+`, tu = `${jy}${ri}(?:((?:${Py}: ${Vy})+))?${ri}?(${Ry})${My}`;
|
|
7987
7987
|
class ft {
|
|
7988
7988
|
static isPem(t) {
|
|
7989
7989
|
return typeof t == "string" && new RegExp(tu, "g").test(t);
|
|
@@ -8114,7 +8114,7 @@ class vr extends zt {
|
|
|
8114
8114
|
return t.length > 1 ? (n = t[0] || n, i = t[1] || i, r = t[2] || ut.get()) : r = t[0] || ut.get(), r.subtle.importKey("spki", this.rawData, n, !0, i);
|
|
8115
8115
|
}
|
|
8116
8116
|
onInit(t) {
|
|
8117
|
-
const r = yt.resolve(
|
|
8117
|
+
const r = yt.resolve(Po), i = this.algorithm = r.toWebAlgorithm(t.algorithm);
|
|
8118
8118
|
switch (t.algorithm.algorithm) {
|
|
8119
8119
|
case ti: {
|
|
8120
8120
|
const n = ee.parse(t.subjectPublicKey, cl), o = q.toUint8Array(n.modulus);
|
|
@@ -8146,7 +8146,7 @@ class vr extends zt {
|
|
|
8146
8146
|
return t;
|
|
8147
8147
|
}
|
|
8148
8148
|
}
|
|
8149
|
-
class
|
|
8149
|
+
class Mt {
|
|
8150
8150
|
static register(t, r) {
|
|
8151
8151
|
this.items.set(t, r);
|
|
8152
8152
|
}
|
|
@@ -8155,7 +8155,7 @@ class Pt {
|
|
|
8155
8155
|
return i ? new i(t) : r;
|
|
8156
8156
|
}
|
|
8157
8157
|
}
|
|
8158
|
-
|
|
8158
|
+
Mt.items = /* @__PURE__ */ new Map();
|
|
8159
8159
|
const Vo = "crypto.signatureFormatter";
|
|
8160
8160
|
class Dy {
|
|
8161
8161
|
toAsnSignature(t, r) {
|
|
@@ -8172,7 +8172,7 @@ class Vn extends zt {
|
|
|
8172
8172
|
onInit(t) {
|
|
8173
8173
|
const r = t.tbsCertificate;
|
|
8174
8174
|
this.tbs = ee.serialize(r), this.serialNumber = G.ToHex(r.serialNumber), this.subjectName = new er(r.subject), this.subject = new er(r.subject).toString(), this.issuerName = new er(r.issuer), this.issuer = this.issuerName.toString();
|
|
8175
|
-
const i = yt.resolve(
|
|
8175
|
+
const i = yt.resolve(Po);
|
|
8176
8176
|
this.signatureAlgorithm = i.toWebAlgorithm(t.signatureAlgorithm), this.signature = t.signatureValue;
|
|
8177
8177
|
const n = r.validity.notBefore.utcTime || r.validity.notBefore.generalTime;
|
|
8178
8178
|
if (!n)
|
|
@@ -8181,7 +8181,7 @@ class Vn extends zt {
|
|
|
8181
8181
|
const o = r.validity.notAfter.utcTime || r.validity.notAfter.generalTime;
|
|
8182
8182
|
if (!o)
|
|
8183
8183
|
throw new Error("Cannot get 'notAfter' value");
|
|
8184
|
-
this.notAfter = o, this.extensions = [], r.extensions && (this.extensions = r.extensions.map((s) =>
|
|
8184
|
+
this.notAfter = o, this.extensions = [], r.extensions && (this.extensions = r.extensions.map((s) => Mt.create(ee.serialize(s)))), this.publicKey = new vr(r.subjectPublicKeyInfo);
|
|
8185
8185
|
}
|
|
8186
8186
|
getExtension(t) {
|
|
8187
8187
|
for (const r of this.extensions)
|
|
@@ -8263,13 +8263,13 @@ class Vn extends zt {
|
|
|
8263
8263
|
}
|
|
8264
8264
|
}
|
|
8265
8265
|
Vn.NAME = "Certificate";
|
|
8266
|
-
class
|
|
8266
|
+
class Mi extends jt {
|
|
8267
8267
|
static async create(t, r = !1, i = ut.get()) {
|
|
8268
8268
|
if (t instanceof Vn || gr.isCryptoKey(t)) {
|
|
8269
8269
|
const n = t instanceof Vn ? await t.publicKey.export(i) : t, o = await i.subtle.exportKey("spki", n), a = await new vr(o).getKeyIdentifier(i);
|
|
8270
|
-
return new
|
|
8270
|
+
return new Mi(G.ToHex(a), r);
|
|
8271
8271
|
} else
|
|
8272
|
-
return new
|
|
8272
|
+
return new Mi(t, r);
|
|
8273
8273
|
}
|
|
8274
8274
|
constructor(...t) {
|
|
8275
8275
|
if (q.isBufferSource(t[0]))
|
|
@@ -8298,7 +8298,7 @@ class Pi extends jt {
|
|
|
8298
8298
|
return r.authorityCertIssuer && (t["Authority Issuer"] = new Ti(r.authorityCertIssuer).toTextObject()), r.authorityCertSerialNumber && (t["Authority Serial Number"] = r.authorityCertSerialNumber), r.keyIdentifier && (t[""] = r.keyIdentifier), t;
|
|
8299
8299
|
}
|
|
8300
8300
|
}
|
|
8301
|
-
|
|
8301
|
+
Mi.NAME = "Authority Key Identifier";
|
|
8302
8302
|
class Sd extends jt {
|
|
8303
8303
|
constructor(...t) {
|
|
8304
8304
|
if (q.isBufferSource(t[0])) {
|
|
@@ -8421,7 +8421,7 @@ class xd extends jt {
|
|
|
8421
8421
|
}
|
|
8422
8422
|
}
|
|
8423
8423
|
xd.NAME = "Certificate Policies";
|
|
8424
|
-
|
|
8424
|
+
Mt.register(Rf, xd);
|
|
8425
8425
|
class di extends cr {
|
|
8426
8426
|
constructor(...t) {
|
|
8427
8427
|
let r;
|
|
@@ -8452,7 +8452,7 @@ class Id extends di {
|
|
|
8452
8452
|
if (q.isBufferSource(t[0]))
|
|
8453
8453
|
super(t[0]);
|
|
8454
8454
|
else {
|
|
8455
|
-
const i = new
|
|
8455
|
+
const i = new Mn({
|
|
8456
8456
|
printableString: t[0]
|
|
8457
8457
|
});
|
|
8458
8458
|
super(vd, [ee.serialize(i)]);
|
|
@@ -8461,7 +8461,7 @@ class Id extends di {
|
|
|
8461
8461
|
}
|
|
8462
8462
|
onInit(t) {
|
|
8463
8463
|
if (super.onInit(t), this.values[0]) {
|
|
8464
|
-
const r = ee.parse(this.values[0],
|
|
8464
|
+
const r = ee.parse(this.values[0], Mn);
|
|
8465
8465
|
this.password = r.toString();
|
|
8466
8466
|
}
|
|
8467
8467
|
}
|
|
@@ -8487,7 +8487,7 @@ class gl extends di {
|
|
|
8487
8487
|
onInit(t) {
|
|
8488
8488
|
if (super.onInit(t), this.values[0]) {
|
|
8489
8489
|
const r = ee.parse(this.values[0], Cr);
|
|
8490
|
-
this.items = r.map((i) =>
|
|
8490
|
+
this.items = r.map((i) => Mt.create(ee.serialize(i)));
|
|
8491
8491
|
}
|
|
8492
8492
|
}
|
|
8493
8493
|
toTextObject() {
|
|
@@ -8554,7 +8554,7 @@ let ka = class {
|
|
|
8554
8554
|
ka = c([
|
|
8555
8555
|
dl()
|
|
8556
8556
|
], ka);
|
|
8557
|
-
yt.registerSingleton(
|
|
8557
|
+
yt.registerSingleton(Mo, ka);
|
|
8558
8558
|
class ht {
|
|
8559
8559
|
addPadding(t, r) {
|
|
8560
8560
|
const i = q.toUint8Array(r), n = new Uint8Array(t);
|
|
@@ -8636,14 +8636,14 @@ let Aa = class {
|
|
|
8636
8636
|
Aa = c([
|
|
8637
8637
|
dl()
|
|
8638
8638
|
], Aa);
|
|
8639
|
-
yt.registerSingleton(
|
|
8639
|
+
yt.registerSingleton(Mo, Aa);
|
|
8640
8640
|
class Uy extends zt {
|
|
8641
8641
|
constructor(t) {
|
|
8642
8642
|
zt.isAsnEncoded(t) ? super(t, Ni) : super(t), this.tag = ft.CertificateRequestTag;
|
|
8643
8643
|
}
|
|
8644
8644
|
onInit(t) {
|
|
8645
8645
|
this.tbs = ee.serialize(t.certificationRequestInfo), this.publicKey = new vr(t.certificationRequestInfo.subjectPKInfo);
|
|
8646
|
-
const r = yt.resolve(
|
|
8646
|
+
const r = yt.resolve(Po);
|
|
8647
8647
|
this.signatureAlgorithm = r.toWebAlgorithm(t.signatureAlgorithm), this.signature = t.signature, this.attributes = t.certificationRequestInfo.attributes.map((n) => Ro.create(ee.serialize(n)));
|
|
8648
8648
|
const i = this.getAttribute(pl);
|
|
8649
8649
|
this.extensions = [], i instanceof gl && (this.extensions = i.items), this.subjectName = new er(t.certificationRequestInfo.subject), this.subject = this.subjectName.toString();
|
|
@@ -8701,12 +8701,12 @@ var au;
|
|
|
8701
8701
|
(function(e) {
|
|
8702
8702
|
e[e.unspecified = 0] = "unspecified", e[e.keyCompromise = 1] = "keyCompromise", e[e.cACompromise = 2] = "cACompromise", e[e.affiliationChanged = 3] = "affiliationChanged", e[e.superseded = 4] = "superseded", e[e.cessationOfOperation = 5] = "cessationOfOperation", e[e.certificateHold = 6] = "certificateHold", e[e.removeFromCRL = 8] = "removeFromCRL", e[e.privilegeWithdrawn = 9] = "privilegeWithdrawn", e[e.aACompromise = 10] = "aACompromise";
|
|
8703
8703
|
})(au || (au = {}));
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8704
|
+
Mt.register($f, Sd);
|
|
8705
|
+
Mt.register(Uf, Cd);
|
|
8706
|
+
Mt.register(Lf, hl);
|
|
8707
|
+
Mt.register(Kf, $o);
|
|
8708
|
+
Mt.register(ys, Mi);
|
|
8709
|
+
Mt.register(qf, yl);
|
|
8710
8710
|
Ro.register(vd, Id);
|
|
8711
8711
|
Ro.register(pl, gl);
|
|
8712
8712
|
yt.registerSingleton(Vo, Dy);
|
|
@@ -9348,7 +9348,7 @@ function Od(e, t) {
|
|
|
9348
9348
|
const { page: a, pageSize: l, offset: u, sortColumnKey: h, sortColumnOrder: d, query: E } = s;
|
|
9349
9349
|
try {
|
|
9350
9350
|
let w = new URL(o.value.href);
|
|
9351
|
-
return n.value && E ? (w.search = "", w = r.value.
|
|
9351
|
+
return n.value && E ? (w.search = "", w = r.value.isExactMatch ? new URL(`${w.href}/${E}/`) : new URL(`${w.href}?filter[name][contains]=${E}`)) : (n.value || new URLSearchParams(E).forEach((p, y) => {
|
|
9352
9352
|
w.searchParams.append(y, p);
|
|
9353
9353
|
}), h && w.searchParams.append("sort_by", h), d === "desc" && w.searchParams.append("sort_desc", "1"), w.searchParams.append("size", String(l))), u && a !== 1 && w.searchParams.append("offset", String(u)), w.href;
|
|
9354
9354
|
} catch (w) {
|
|
@@ -9548,7 +9548,7 @@ const He = {
|
|
|
9548
9548
|
return (r, i) => {
|
|
9549
9549
|
const n = se("KButton");
|
|
9550
9550
|
return _(), H("div", null, [
|
|
9551
|
-
|
|
9551
|
+
P(n, {
|
|
9552
9552
|
appearance: "tertiary",
|
|
9553
9553
|
class: "navigation-button",
|
|
9554
9554
|
onClick: i[0] || (i[0] = (o) => r.$emit("navigation-click", e.item))
|
|
@@ -9583,7 +9583,7 @@ const He = {
|
|
|
9583
9583
|
}, 8, ["appearance"]);
|
|
9584
9584
|
};
|
|
9585
9585
|
}
|
|
9586
|
-
}), Cg = "#0044f4", xg = "#e0e4ea", Ig = "#3a3f51", Bg = "#afb7c5", Eg = "1px", Og = "20px", Ng = { class: "config-card-details-row" }, _g = ["data-testid"], Tg = ["data-testid"], jg = ["data-testid"],
|
|
9586
|
+
}), Cg = "#0044f4", xg = "#e0e4ea", Ig = "#3a3f51", Bg = "#afb7c5", Eg = "1px", Og = "20px", Ng = { class: "config-card-details-row" }, _g = ["data-testid"], Tg = ["data-testid"], jg = ["data-testid"], Mg = ["data-testid"], Pg = { key: 1 }, Vg = ["data-testid"], $g = ["data-testid"], Rg = ["data-testid"], Dg = ["data-testid"], Ug = {
|
|
9587
9587
|
name: "ConfigCardItem",
|
|
9588
9588
|
components: { JsonCardItem: Td, StatusBadge: Sg, InternalLinkItem: Ag }
|
|
9589
9589
|
}, Lg = /* @__PURE__ */ xe({
|
|
@@ -9731,7 +9731,7 @@ const He = {
|
|
|
9731
9731
|
"data-testid": `${e.item.key}-label`
|
|
9732
9732
|
}, [
|
|
9733
9733
|
Oe(p.$slots, "label", { item: e.item }, () => [
|
|
9734
|
-
|
|
9734
|
+
P(v, { "tooltip-attributes": { maxWidth: "500px" } }, wr({
|
|
9735
9735
|
default: I(() => [
|
|
9736
9736
|
pe(U(e.item.label) + " ", 1)
|
|
9737
9737
|
]),
|
|
@@ -9760,7 +9760,7 @@ const He = {
|
|
|
9760
9760
|
Oe(p.$slots, e.item.key, {
|
|
9761
9761
|
rowValue: e.item.value
|
|
9762
9762
|
}, () => [
|
|
9763
|
-
a.value ? (_(), H("div",
|
|
9763
|
+
a.value ? (_(), H("div", Pg, [
|
|
9764
9764
|
(_(), de(ar(d.value.tag), Lp(Hp(d.value.attrs)), {
|
|
9765
9765
|
default: I(() => [
|
|
9766
9766
|
d.value.additionalComponent === "KBadge" ? (_(), H("div", {
|
|
@@ -9836,7 +9836,7 @@ const He = {
|
|
|
9836
9836
|
])) : (_(), H("div", {
|
|
9837
9837
|
key: 0,
|
|
9838
9838
|
"data-testid": `${e.item.key}-no-value`
|
|
9839
|
-
}, " – ", 8,
|
|
9839
|
+
}, " – ", 8, Mg))
|
|
9840
9840
|
], !0)
|
|
9841
9841
|
], 8, jg)
|
|
9842
9842
|
]);
|
|
@@ -9888,7 +9888,7 @@ const He = {
|
|
|
9888
9888
|
const a = se("KBadge"), l = se("KCodeBlock");
|
|
9889
9889
|
return _(), H("div", Hg, [
|
|
9890
9890
|
t.fetcherUrl && (s = t.config) != null && s.jsonYamlFormsEnabled ? (_(), H("div", Fg, [
|
|
9891
|
-
|
|
9891
|
+
P(a, {
|
|
9892
9892
|
appearance: t.requestMethod
|
|
9893
9893
|
}, {
|
|
9894
9894
|
default: I(() => [
|
|
@@ -9896,7 +9896,7 @@ const He = {
|
|
|
9896
9896
|
]),
|
|
9897
9897
|
_: 1
|
|
9898
9898
|
}, 8, ["appearance"]),
|
|
9899
|
-
|
|
9899
|
+
P(l, {
|
|
9900
9900
|
id: "json-endpoint-codeblock",
|
|
9901
9901
|
code: t.fetcherUrl,
|
|
9902
9902
|
"is-single-line": "",
|
|
@@ -9917,14 +9917,14 @@ const He = {
|
|
|
9917
9917
|
}
|
|
9918
9918
|
});
|
|
9919
9919
|
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
9920
|
-
function
|
|
9920
|
+
function Md(e) {
|
|
9921
9921
|
return typeof e > "u" || e === null;
|
|
9922
9922
|
}
|
|
9923
9923
|
function qg(e) {
|
|
9924
9924
|
return typeof e == "object" && e !== null;
|
|
9925
9925
|
}
|
|
9926
9926
|
function Kg(e) {
|
|
9927
|
-
return Array.isArray(e) ? e :
|
|
9927
|
+
return Array.isArray(e) ? e : Md(e) ? [] : [e];
|
|
9928
9928
|
}
|
|
9929
9929
|
function zg(e, t) {
|
|
9930
9930
|
var r, i, n, o;
|
|
@@ -9942,7 +9942,7 @@ function Gg(e, t) {
|
|
|
9942
9942
|
function Wg(e) {
|
|
9943
9943
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
9944
9944
|
}
|
|
9945
|
-
var Jg =
|
|
9945
|
+
var Jg = Md, Yg = qg, Zg = Kg, Qg = Gg, Xg = Wg, ev = zg, Re = {
|
|
9946
9946
|
isNothing: Jg,
|
|
9947
9947
|
isObject: Yg,
|
|
9948
9948
|
toArray: Zg,
|
|
@@ -9950,21 +9950,21 @@ var Jg = Pd, Yg = qg, Zg = Kg, Qg = Gg, Xg = Wg, ev = zg, Re = {
|
|
|
9950
9950
|
isNegativeZero: Xg,
|
|
9951
9951
|
extend: ev
|
|
9952
9952
|
};
|
|
9953
|
-
function
|
|
9953
|
+
function Pd(e, t) {
|
|
9954
9954
|
var r = "", i = e.reason || "(unknown reason)";
|
|
9955
9955
|
return e.mark ? (e.mark.name && (r += 'in "' + e.mark.name + '" '), r += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (r += `
|
|
9956
9956
|
|
|
9957
9957
|
` + e.mark.snippet), i + " " + r) : i;
|
|
9958
9958
|
}
|
|
9959
|
-
function
|
|
9960
|
-
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message =
|
|
9959
|
+
function Pi(e, t) {
|
|
9960
|
+
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Pd(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
9961
9961
|
}
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
return this.name + ": " +
|
|
9962
|
+
Pi.prototype = Object.create(Error.prototype);
|
|
9963
|
+
Pi.prototype.constructor = Pi;
|
|
9964
|
+
Pi.prototype.toString = function(e) {
|
|
9965
|
+
return this.name + ": " + Pd(this, e);
|
|
9966
9966
|
};
|
|
9967
|
-
var Ze =
|
|
9967
|
+
var Ze = Pi;
|
|
9968
9968
|
function is(e, t, r, i, n) {
|
|
9969
9969
|
var o = "", s = "", a = Math.floor(n / 2) - 1;
|
|
9970
9970
|
return i - t > a && (o = " ... ", t = i - a + o.length), r - i > a && (s = " ...", r = i + a - s.length), {
|
|
@@ -10422,16 +10422,16 @@ var Zd = new qe("tag:yaml.org,2002:binary", {
|
|
|
10422
10422
|
construct: _v,
|
|
10423
10423
|
predicate: jv,
|
|
10424
10424
|
represent: Tv
|
|
10425
|
-
}),
|
|
10425
|
+
}), Mv = Object.prototype.hasOwnProperty, Pv = Object.prototype.toString;
|
|
10426
10426
|
function Vv(e) {
|
|
10427
10427
|
if (e === null)
|
|
10428
10428
|
return !0;
|
|
10429
10429
|
var t = [], r, i, n, o, s, a = e;
|
|
10430
10430
|
for (r = 0, i = a.length; r < i; r += 1) {
|
|
10431
|
-
if (n = a[r], s = !1,
|
|
10431
|
+
if (n = a[r], s = !1, Pv.call(n) !== "[object Object]")
|
|
10432
10432
|
return !1;
|
|
10433
10433
|
for (o in n)
|
|
10434
|
-
if (
|
|
10434
|
+
if (Mv.call(n, o))
|
|
10435
10435
|
if (!s)
|
|
10436
10436
|
s = !0;
|
|
10437
10437
|
else
|
|
@@ -10996,7 +10996,7 @@ function Tm(e) {
|
|
|
10996
10996
|
return "\\" + r + Re.repeat("0", i - t.length) + t;
|
|
10997
10997
|
}
|
|
10998
10998
|
var jm = 1, $i = 2;
|
|
10999
|
-
function
|
|
10999
|
+
function Mm(e) {
|
|
11000
11000
|
this.schema = e.schema || kl, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Re.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = _m(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? $i : jm, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
11001
11001
|
}
|
|
11002
11002
|
function ku(e, t) {
|
|
@@ -11010,7 +11010,7 @@ function xa(e, t) {
|
|
|
11010
11010
|
return `
|
|
11011
11011
|
` + Re.repeat(" ", e.indent * t);
|
|
11012
11012
|
}
|
|
11013
|
-
function
|
|
11013
|
+
function Pm(e, t) {
|
|
11014
11014
|
var r, i, n;
|
|
11015
11015
|
for (r = 0, i = e.implicitTypes.length; r < i; r += 1)
|
|
11016
11016
|
if (n = e.implicitTypes[r], n.resolve(t))
|
|
@@ -11080,7 +11080,7 @@ function Dm(e, t, r, i, n) {
|
|
|
11080
11080
|
return e.quotingType === $i ? '"' + t + '"' : "'" + t + "'";
|
|
11081
11081
|
var o = e.indent * Math.max(1, r), s = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), a = i || e.flowLevel > -1 && r >= e.flowLevel;
|
|
11082
11082
|
function l(u) {
|
|
11083
|
-
return
|
|
11083
|
+
return Pm(e, u);
|
|
11084
11084
|
}
|
|
11085
11085
|
switch (Rm(
|
|
11086
11086
|
t,
|
|
@@ -11239,7 +11239,7 @@ function Ba(e, t, r) {
|
|
|
11239
11239
|
}
|
|
11240
11240
|
function zm(e, t) {
|
|
11241
11241
|
t = t || {};
|
|
11242
|
-
var r = new
|
|
11242
|
+
var r = new Mm(t);
|
|
11243
11243
|
r.noRefs || Km(e, r);
|
|
11244
11244
|
var i = e;
|
|
11245
11245
|
return r.replacer && (i = r.replacer.call({ "": i }, "", i)), Gt(r, 0, i, !0, !0) ? r.dump + `
|
|
@@ -11709,10 +11709,10 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
11709
11709
|
_: 1
|
|
11710
11710
|
}, 8, ["aria-hidden", "style"]));
|
|
11711
11711
|
}
|
|
11712
|
-
}), j0 = /* @__PURE__ */ Lo(T0, [["__scopeId", "data-v-98c34919"]]),
|
|
11712
|
+
}), j0 = /* @__PURE__ */ Lo(T0, [["__scopeId", "data-v-98c34919"]]), M0 = (e) => (Kn("data-v-19f4cbbe"), e = e(), zn(), e), P0 = ["aria-hidden"], V0 = {
|
|
11713
11713
|
key: 0,
|
|
11714
11714
|
"data-testid": "kui-icon-svg-title"
|
|
11715
|
-
}, $0 = /* @__PURE__ */
|
|
11715
|
+
}, $0 = /* @__PURE__ */ M0(() => /* @__PURE__ */ fe("path", {
|
|
11716
11716
|
d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
|
|
11717
11717
|
fill: "currentColor"
|
|
11718
11718
|
}, null, -1)), R0 = /* @__PURE__ */ xe({
|
|
@@ -11803,7 +11803,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
11803
11803
|
}, [
|
|
11804
11804
|
e.title ? (_(), H("title", V0, U(e.title), 1)) : we("", !0),
|
|
11805
11805
|
$0
|
|
11806
|
-
], 8,
|
|
11806
|
+
], 8, P0))
|
|
11807
11807
|
]),
|
|
11808
11808
|
_: 1
|
|
11809
11809
|
}, 8, ["aria-hidden", "style"]));
|
|
@@ -12028,7 +12028,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12028
12028
|
actions: I(() => [
|
|
12029
12029
|
fe("div", L0, [
|
|
12030
12030
|
Oe(x.$slots, "actions", {}, void 0, !0),
|
|
12031
|
-
|
|
12031
|
+
P(j, {
|
|
12032
12032
|
class: "config-format-select-label",
|
|
12033
12033
|
"data-testid": "config-format-select-label"
|
|
12034
12034
|
}, {
|
|
@@ -12037,7 +12037,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12037
12037
|
]),
|
|
12038
12038
|
_: 1
|
|
12039
12039
|
}),
|
|
12040
|
-
|
|
12040
|
+
P(N, {
|
|
12041
12041
|
"data-testid": "select-config-format",
|
|
12042
12042
|
items: u,
|
|
12043
12043
|
onChange: d
|
|
@@ -12054,7 +12054,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12054
12054
|
rel: "noopener",
|
|
12055
12055
|
target: "_blank"
|
|
12056
12056
|
}, [
|
|
12057
|
-
|
|
12057
|
+
P(S(B0), { size: S(Og) }, null, 8, ["size"])
|
|
12058
12058
|
], 8, H0)
|
|
12059
12059
|
]),
|
|
12060
12060
|
_: 1
|
|
@@ -12078,7 +12078,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12078
12078
|
_: 1
|
|
12079
12079
|
})) : we("", !0),
|
|
12080
12080
|
fe("div", F0, [
|
|
12081
|
-
|
|
12081
|
+
P(y0, {
|
|
12082
12082
|
config: e.config,
|
|
12083
12083
|
"fetcher-url": k.value,
|
|
12084
12084
|
format: h.value,
|
|
@@ -12244,7 +12244,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12244
12244
|
fe("div", K0, [
|
|
12245
12245
|
Oe(A.$slots, "form-actions", {}, () => [
|
|
12246
12246
|
e.config.jsonYamlFormsEnabled ? (_(), H("div", z0, [
|
|
12247
|
-
|
|
12247
|
+
P(N, {
|
|
12248
12248
|
appearance: "tertiary",
|
|
12249
12249
|
"data-testid": "form-view-configuration",
|
|
12250
12250
|
onClick: k[0] || (k[0] = (ne) => y())
|
|
@@ -12255,7 +12255,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12255
12255
|
_: 1
|
|
12256
12256
|
})
|
|
12257
12257
|
])) : we("", !0),
|
|
12258
|
-
|
|
12258
|
+
P(N, {
|
|
12259
12259
|
appearance: "secondary",
|
|
12260
12260
|
"data-testid": "form-cancel",
|
|
12261
12261
|
disabled: e.isReadonly,
|
|
@@ -12266,7 +12266,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12266
12266
|
]),
|
|
12267
12267
|
_: 1
|
|
12268
12268
|
}, 8, ["disabled"]),
|
|
12269
|
-
|
|
12269
|
+
P(N, {
|
|
12270
12270
|
appearance: "primary",
|
|
12271
12271
|
"data-testid": "form-submit",
|
|
12272
12272
|
disabled: E.value,
|
|
@@ -12280,7 +12280,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12280
12280
|
], !0)
|
|
12281
12281
|
])
|
|
12282
12282
|
], 32)),
|
|
12283
|
-
|
|
12283
|
+
P(J, {
|
|
12284
12284
|
"close-on-blur": !1,
|
|
12285
12285
|
"data-testid": "form-view-configuration-slideout",
|
|
12286
12286
|
"has-overlay": !1,
|
|
@@ -12291,12 +12291,12 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12291
12291
|
}, {
|
|
12292
12292
|
default: I(() => [
|
|
12293
12293
|
fe("div", null, U(S(s)("baseForm.configuration.message")), 1),
|
|
12294
|
-
|
|
12294
|
+
P(ue, {
|
|
12295
12295
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
12296
12296
|
tabs: O.value
|
|
12297
12297
|
}, {
|
|
12298
12298
|
json: I(() => [
|
|
12299
|
-
|
|
12299
|
+
P(jd, {
|
|
12300
12300
|
config: e.config,
|
|
12301
12301
|
"fetcher-url": p.value,
|
|
12302
12302
|
"json-record": n.formFields,
|
|
@@ -12304,7 +12304,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12304
12304
|
}, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
|
|
12305
12305
|
]),
|
|
12306
12306
|
yaml: I(() => [
|
|
12307
|
-
|
|
12307
|
+
P(kp, {
|
|
12308
12308
|
"yaml-record": n.formFields
|
|
12309
12309
|
}, null, 8, ["yaml-record"])
|
|
12310
12310
|
]),
|
|
@@ -12378,7 +12378,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12378
12378
|
class: "content-wrapper"
|
|
12379
12379
|
}, [
|
|
12380
12380
|
n.value ? (_(), H("span", W0, [
|
|
12381
|
-
|
|
12381
|
+
P(b, {
|
|
12382
12382
|
"max-width": "300",
|
|
12383
12383
|
placement: "bottomStart",
|
|
12384
12384
|
text: p.value ? d.value : ""
|
|
@@ -12570,7 +12570,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12570
12570
|
title: e.title
|
|
12571
12571
|
}, {
|
|
12572
12572
|
default: I(() => [
|
|
12573
|
-
|
|
12573
|
+
P(ue, {
|
|
12574
12574
|
ref_key: "tableRefs",
|
|
12575
12575
|
ref: h,
|
|
12576
12576
|
"cache-identifier": s.value,
|
|
@@ -12615,7 +12615,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12615
12615
|
class: "actions-container",
|
|
12616
12616
|
"data-testid": $.name
|
|
12617
12617
|
}, [
|
|
12618
|
-
|
|
12618
|
+
P(N, {
|
|
12619
12619
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
12620
12620
|
width: e.dropdownMenuWidth
|
|
12621
12621
|
}, {
|
|
@@ -12627,13 +12627,13 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12627
12627
|
}, void 0, !0)
|
|
12628
12628
|
]),
|
|
12629
12629
|
default: I(() => [
|
|
12630
|
-
|
|
12630
|
+
P(j, {
|
|
12631
12631
|
class: "actions-trigger",
|
|
12632
12632
|
"data-testid": "overflow-actions-button",
|
|
12633
12633
|
size: "small"
|
|
12634
12634
|
}, {
|
|
12635
12635
|
icon: I(() => [
|
|
12636
|
-
|
|
12636
|
+
P(D, {
|
|
12637
12637
|
color: S(Ig),
|
|
12638
12638
|
icon: "more",
|
|
12639
12639
|
size: "16"
|
|
@@ -12651,7 +12651,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12651
12651
|
Ge(e.tableHeaders, ($, ne) => ({
|
|
12652
12652
|
name: ne,
|
|
12653
12653
|
fn: I(({ row: he, rowKey: Ue, rowValue: je }) => [
|
|
12654
|
-
|
|
12654
|
+
P(Y0, {
|
|
12655
12655
|
"key-name": String(ne),
|
|
12656
12656
|
"row-el": d(he)
|
|
12657
12657
|
}, {
|
|
@@ -12671,7 +12671,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12671
12671
|
e.query ? void 0 : {
|
|
12672
12672
|
name: "empty-state-action-icon",
|
|
12673
12673
|
fn: I(() => [
|
|
12674
|
-
|
|
12674
|
+
P(S(k0))
|
|
12675
12675
|
]),
|
|
12676
12676
|
key: "0"
|
|
12677
12677
|
}
|
|
@@ -12746,14 +12746,14 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12746
12746
|
}, {
|
|
12747
12747
|
default: I(() => [
|
|
12748
12748
|
e.error ? (_(), H("div", t1, [
|
|
12749
|
-
|
|
12749
|
+
P(h, { appearance: "danger" }, {
|
|
12750
12750
|
default: I(() => [
|
|
12751
12751
|
pe(U(e.error), 1)
|
|
12752
12752
|
]),
|
|
12753
12753
|
_: 1
|
|
12754
12754
|
})
|
|
12755
12755
|
])) : we("", !0),
|
|
12756
|
-
|
|
12756
|
+
P(S(r), {
|
|
12757
12757
|
class: "message",
|
|
12758
12758
|
keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
|
|
12759
12759
|
tag: "p"
|
|
@@ -12901,10 +12901,10 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12901
12901
|
"onUpdate:modelValue": E
|
|
12902
12902
|
}, {
|
|
12903
12903
|
before: I(() => [
|
|
12904
|
-
|
|
12904
|
+
P(Ou)
|
|
12905
12905
|
]),
|
|
12906
12906
|
after: I(() => [
|
|
12907
|
-
Vt(
|
|
12907
|
+
Vt(P(S(D0), {
|
|
12908
12908
|
class: "kong-ui-entity-filter-clear",
|
|
12909
12909
|
onClick: w
|
|
12910
12910
|
}, null, 512), [
|
|
@@ -12913,13 +12913,13 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12913
12913
|
]),
|
|
12914
12914
|
_: 1
|
|
12915
12915
|
}, 8, ["model-value", "placeholder"])) : (_(), H("div", c1, [
|
|
12916
|
-
|
|
12916
|
+
P(D, {
|
|
12917
12917
|
appearance: "tertiary",
|
|
12918
12918
|
"data-testid": "filter-button",
|
|
12919
12919
|
onClick: h
|
|
12920
12920
|
}, {
|
|
12921
12921
|
default: I(() => [
|
|
12922
|
-
|
|
12922
|
+
P(Ou),
|
|
12923
12923
|
pe(" " + U(S(r)("filter.filterButtonText")) + " " + U(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
|
|
12924
12924
|
]),
|
|
12925
12925
|
_: 1
|
|
@@ -12949,7 +12949,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12949
12949
|
Vt(fe("span", p1, null, 512), [
|
|
12950
12950
|
[$t, l.value.includes(N.value)]
|
|
12951
12951
|
]),
|
|
12952
|
-
|
|
12952
|
+
P(S(j0), {
|
|
12953
12953
|
class: rr(["menu-item-expand-icon", { expanded: a.value.has(N.value) }]),
|
|
12954
12954
|
color: S(Bg)
|
|
12955
12955
|
}, null, 8, ["class", "color"])
|
|
@@ -12979,7 +12979,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12979
12979
|
[$t, a.value.has(N.value)]
|
|
12980
12980
|
]),
|
|
12981
12981
|
Vt(fe("div", g1, [
|
|
12982
|
-
|
|
12982
|
+
P(D, {
|
|
12983
12983
|
appearance: "tertiary",
|
|
12984
12984
|
"data-testid": "apply-filter",
|
|
12985
12985
|
size: "small",
|
|
@@ -12990,7 +12990,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
12990
12990
|
]),
|
|
12991
12991
|
_: 1
|
|
12992
12992
|
}),
|
|
12993
|
-
|
|
12993
|
+
P(D, {
|
|
12994
12994
|
appearance: "tertiary",
|
|
12995
12995
|
"data-testid": "clear-filter",
|
|
12996
12996
|
size: "small",
|
|
@@ -13007,7 +13007,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13007
13007
|
], 8, f1);
|
|
13008
13008
|
}), 128)),
|
|
13009
13009
|
fe("div", v1, [
|
|
13010
|
-
|
|
13010
|
+
P(D, {
|
|
13011
13011
|
appearance: "tertiary",
|
|
13012
13012
|
size: "small",
|
|
13013
13013
|
onClick: B
|
|
@@ -13113,7 +13113,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13113
13113
|
])
|
|
13114
13114
|
], 2));
|
|
13115
13115
|
}
|
|
13116
|
-
}), Hn = /* @__PURE__ */ Ct(C1, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Ho, useDeleteUrlBuilder: Bp, useErrors: Ep, useExternalLinkCreator: Yw, useFetchUrlBuilder: Zw, useFetcher: Op, useDebouncedFilter: Qw, useStringHelpers: Np, useHelpers: _p, useGatewayFeatureSupported: Xw, useTruncationDetector: ek } = He, x1 = { class: "kong-ui-entities-certificates-list" }, I1 = { key: 0 }, B1 = { key: 1 }, E1 = { key: 0 }, O1 = { key: 1 }, N1 = { key: 0 }, _1 = { key: 1 }, T1 = { key: 1 }, j1 = { key: 1 },
|
|
13116
|
+
}), Hn = /* @__PURE__ */ Ct(C1, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Ho, useDeleteUrlBuilder: Bp, useErrors: Ep, useExternalLinkCreator: Yw, useFetchUrlBuilder: Zw, useFetcher: Op, useDebouncedFilter: Qw, useStringHelpers: Np, useHelpers: _p, useGatewayFeatureSupported: Xw, useTruncationDetector: ek } = He, x1 = { class: "kong-ui-entities-certificates-list" }, I1 = { key: 0 }, B1 = { key: 1 }, E1 = { key: 0 }, O1 = { key: 1 }, N1 = { key: 0 }, _1 = { key: 1 }, T1 = { key: 1 }, j1 = { key: 1 }, M1 = /* @__PURE__ */ xe({
|
|
13117
13117
|
__name: "CertificateList",
|
|
13118
13118
|
props: {
|
|
13119
13119
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -13250,10 +13250,10 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13250
13250
|
ne.value = !1;
|
|
13251
13251
|
}
|
|
13252
13252
|
}
|
|
13253
|
-
},
|
|
13253
|
+
}, Pt = re(!0);
|
|
13254
13254
|
sr(b, (z) => {
|
|
13255
13255
|
var Y, Se, Ye, lt;
|
|
13256
|
-
if (Array.isArray((Y = z == null ? void 0 : z.response) == null ? void 0 : Y.data) && (
|
|
13256
|
+
if (Array.isArray((Y = z == null ? void 0 : z.response) == null ? void 0 : Y.data) && (Pt.value = z.response.data.length > 0), z.status === Zt.Error) {
|
|
13257
13257
|
A.value = {
|
|
13258
13258
|
title: n("certificates.errors.general")
|
|
13259
13259
|
}, (lt = (Ye = (Se = z.error) == null ? void 0 : Se.response) == null ? void 0 : Ye.data) != null && lt.message && (A.value.message = z.error.response.data.message), r("error", z.error);
|
|
@@ -13270,9 +13270,9 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13270
13270
|
return Fn(async () => {
|
|
13271
13271
|
await i.canCreate() && (ae.value.title = n("certificates.list.empty_state.title"), ae.value.ctaText = n("certificates.actions.create"));
|
|
13272
13272
|
}), (z, Y) => {
|
|
13273
|
-
const Se = se("KButton"), Ye = se("KCopy"), lt = se("KBadge"),
|
|
13273
|
+
const Se = se("KButton"), Ye = se("KCopy"), lt = se("KBadge"), Mr = se("KTruncate"), ce = se("KDropdownItem"), Me = se("KClipboardProvider");
|
|
13274
13274
|
return _(), H("div", x1, [
|
|
13275
|
-
|
|
13275
|
+
P(S(Cp), {
|
|
13276
13276
|
"cache-identifier": e.cacheIdentifier,
|
|
13277
13277
|
"disable-pagination-page-jump": "",
|
|
13278
13278
|
"disable-sorting": h.value,
|
|
@@ -13291,7 +13291,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13291
13291
|
onSort: O
|
|
13292
13292
|
}, {
|
|
13293
13293
|
"toolbar-filter": I(() => [
|
|
13294
|
-
|
|
13294
|
+
P(S(Ip), {
|
|
13295
13295
|
modelValue: p.value,
|
|
13296
13296
|
"onUpdate:modelValue": Y[0] || (Y[0] = (te) => p.value = te),
|
|
13297
13297
|
config: y.value
|
|
@@ -13302,11 +13302,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13302
13302
|
to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
|
|
13303
13303
|
}, {
|
|
13304
13304
|
default: I(() => [
|
|
13305
|
-
|
|
13305
|
+
P(S(Rt), {
|
|
13306
13306
|
"auth-function": () => e.canCreate()
|
|
13307
13307
|
}, {
|
|
13308
13308
|
default: I(() => [
|
|
13309
|
-
Vt(
|
|
13309
|
+
Vt(P(Se, {
|
|
13310
13310
|
appearance: "primary",
|
|
13311
13311
|
"data-testid": "toolbar-add-certificate",
|
|
13312
13312
|
icon: "plus",
|
|
@@ -13318,7 +13318,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13318
13318
|
]),
|
|
13319
13319
|
_: 1
|
|
13320
13320
|
}, 8, ["to"]), [
|
|
13321
|
-
[$t,
|
|
13321
|
+
[$t, Pt.value]
|
|
13322
13322
|
])
|
|
13323
13323
|
]),
|
|
13324
13324
|
_: 1
|
|
@@ -13328,21 +13328,21 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13328
13328
|
}, 8, ["to"]))
|
|
13329
13329
|
]),
|
|
13330
13330
|
subject: I(({ row: te }) => {
|
|
13331
|
-
var
|
|
13331
|
+
var Pe;
|
|
13332
13332
|
return [
|
|
13333
|
-
e.config.app === "konnect" ? (_(), H("b", I1, U((
|
|
13333
|
+
e.config.app === "konnect" ? (_(), H("b", I1, U((Pe = te == null ? void 0 : te.metadata) != null && Pe.subject ? te.metadata.subject : "-"), 1)) : (_(), H("b", B1, U(S(Le)(te).schemaSubject || "-"), 1))
|
|
13334
13334
|
];
|
|
13335
13335
|
}),
|
|
13336
13336
|
expiry: I(({ row: te }) => {
|
|
13337
|
-
var
|
|
13337
|
+
var Pe;
|
|
13338
13338
|
return [
|
|
13339
|
-
e.config.app === "konnect" ? (_(), H("span", E1, U((
|
|
13339
|
+
e.config.app === "konnect" ? (_(), H("span", E1, U((Pe = te == null ? void 0 : te.metadata) != null && Pe.expiry ? S(o)(te.metadata.expiry) : "-"), 1)) : (_(), H("span", O1, U(S(Le)(te).schemaExpiry ? S(o)(S(Le)(te).schemaExpiry) : "-"), 1))
|
|
13340
13340
|
];
|
|
13341
13341
|
}),
|
|
13342
13342
|
san: I(({ row: te }) => {
|
|
13343
|
-
var
|
|
13343
|
+
var Pe;
|
|
13344
13344
|
return [
|
|
13345
|
-
e.config.app === "konnect" ? (_(), H("span", N1, U((
|
|
13345
|
+
e.config.app === "konnect" ? (_(), H("span", N1, U((Pe = te == null ? void 0 : te.metadata) != null && Pe.dns_names ? `dns=${te.metadata.dns_names.join(", ")}` : "-"), 1)) : (_(), H("span", _1, U(S(Le)(te).schemaSanNames || "-"), 1))
|
|
13346
13346
|
];
|
|
13347
13347
|
}),
|
|
13348
13348
|
cert: I(({ row: te }) => [
|
|
@@ -13354,17 +13354,17 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13354
13354
|
}, null, 8, ["text"])) : (_(), H("span", T1, "-"))
|
|
13355
13355
|
]),
|
|
13356
13356
|
tags: I(({ row: te }) => {
|
|
13357
|
-
var
|
|
13357
|
+
var Pe;
|
|
13358
13358
|
return [
|
|
13359
|
-
((
|
|
13359
|
+
((Pe = te == null ? void 0 : te.tags) == null ? void 0 : Pe.length) > 0 ? (_(), de(Mr, { key: 0 }, {
|
|
13360
13360
|
default: I(() => [
|
|
13361
|
-
(_(!0), H(Qe, null, Ge(te == null ? void 0 : te.tags, (
|
|
13362
|
-
key:
|
|
13361
|
+
(_(!0), H(Qe, null, Ge(te == null ? void 0 : te.tags, (Pr) => (_(), de(lt, {
|
|
13362
|
+
key: Pr,
|
|
13363
13363
|
onClick: Y[1] || (Y[1] = an(() => {
|
|
13364
13364
|
}, ["stop"]))
|
|
13365
13365
|
}, {
|
|
13366
13366
|
default: I(() => [
|
|
13367
|
-
pe(U(
|
|
13367
|
+
pe(U(Pr), 1)
|
|
13368
13368
|
]),
|
|
13369
13369
|
_: 2
|
|
13370
13370
|
}, 1024))), 128))
|
|
@@ -13374,11 +13374,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13374
13374
|
];
|
|
13375
13375
|
}),
|
|
13376
13376
|
actions: I(({ row: te }) => [
|
|
13377
|
-
|
|
13378
|
-
default: I(({ copyToClipboard:
|
|
13379
|
-
|
|
13377
|
+
P(Me, null, {
|
|
13378
|
+
default: I(({ copyToClipboard: Pe }) => [
|
|
13379
|
+
P(ce, {
|
|
13380
13380
|
"data-testid": "action-entity-copy-id",
|
|
13381
|
-
onClick: (
|
|
13381
|
+
onClick: (Pr) => k(te, Pe)
|
|
13382
13382
|
}, {
|
|
13383
13383
|
default: I(() => [
|
|
13384
13384
|
pe(U(S(n)("certificates.actions.copy_id")), 1)
|
|
@@ -13388,11 +13388,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13388
13388
|
]),
|
|
13389
13389
|
_: 2
|
|
13390
13390
|
}, 1024),
|
|
13391
|
-
|
|
13392
|
-
default: I(({ copyToClipboard:
|
|
13393
|
-
|
|
13391
|
+
P(Me, null, {
|
|
13392
|
+
default: I(({ copyToClipboard: Pe }) => [
|
|
13393
|
+
P(ce, {
|
|
13394
13394
|
"data-testid": "action-entity-copy-json",
|
|
13395
|
-
onClick: (
|
|
13395
|
+
onClick: (Pr) => x(te, Pe)
|
|
13396
13396
|
}, {
|
|
13397
13397
|
default: I(() => [
|
|
13398
13398
|
pe(U(S(n)("certificates.actions.copy_json")), 1)
|
|
@@ -13402,11 +13402,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13402
13402
|
]),
|
|
13403
13403
|
_: 2
|
|
13404
13404
|
}, 1024),
|
|
13405
|
-
|
|
13405
|
+
P(S(Rt), {
|
|
13406
13406
|
"auth-function": () => e.canRetrieve(te)
|
|
13407
13407
|
}, {
|
|
13408
13408
|
default: I(() => [
|
|
13409
|
-
|
|
13409
|
+
P(ce, {
|
|
13410
13410
|
"data-testid": "action-entity-view",
|
|
13411
13411
|
"has-divider": "",
|
|
13412
13412
|
item: j(te.id)
|
|
@@ -13414,11 +13414,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13414
13414
|
]),
|
|
13415
13415
|
_: 2
|
|
13416
13416
|
}, 1032, ["auth-function"]),
|
|
13417
|
-
|
|
13417
|
+
P(S(Rt), {
|
|
13418
13418
|
"auth-function": () => e.canEdit(te)
|
|
13419
13419
|
}, {
|
|
13420
13420
|
default: I(() => [
|
|
13421
|
-
|
|
13421
|
+
P(ce, {
|
|
13422
13422
|
"data-testid": "action-entity-edit",
|
|
13423
13423
|
item: N(te.id)
|
|
13424
13424
|
}, null, 8, ["item"])
|
|
@@ -13430,22 +13430,22 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13430
13430
|
"auth-function": () => e.canCreateSni()
|
|
13431
13431
|
}, {
|
|
13432
13432
|
default: I(() => [
|
|
13433
|
-
|
|
13433
|
+
P(ce, {
|
|
13434
13434
|
"data-testid": "action-entity-add-sni",
|
|
13435
13435
|
item: ue(te.id)
|
|
13436
13436
|
}, null, 8, ["item"])
|
|
13437
13437
|
]),
|
|
13438
13438
|
_: 2
|
|
13439
13439
|
}, 1032, ["auth-function"])) : we("", !0),
|
|
13440
|
-
|
|
13440
|
+
P(S(Rt), {
|
|
13441
13441
|
"auth-function": () => e.canDelete(te)
|
|
13442
13442
|
}, {
|
|
13443
13443
|
default: I(() => [
|
|
13444
|
-
|
|
13444
|
+
P(ce, {
|
|
13445
13445
|
danger: "",
|
|
13446
13446
|
"data-testid": "action-entity-delete",
|
|
13447
13447
|
"has-divider": "",
|
|
13448
|
-
onClick: (
|
|
13448
|
+
onClick: (Pe) => Tr(te)
|
|
13449
13449
|
}, {
|
|
13450
13450
|
default: I(() => [
|
|
13451
13451
|
pe(U(S(n)("certificates.actions.delete")), 1)
|
|
@@ -13458,7 +13458,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13458
13458
|
]),
|
|
13459
13459
|
_: 1
|
|
13460
13460
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
|
|
13461
|
-
|
|
13461
|
+
P(S(xp), {
|
|
13462
13462
|
"action-pending": ne.value,
|
|
13463
13463
|
"entity-type": S(vl).Certificate,
|
|
13464
13464
|
error: he.value,
|
|
@@ -13468,7 +13468,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13468
13468
|
onProceed: ur
|
|
13469
13469
|
}, {
|
|
13470
13470
|
description: I(() => [
|
|
13471
|
-
|
|
13471
|
+
P(S(s), {
|
|
13472
13472
|
keypath: "certificates.delete.description",
|
|
13473
13473
|
scope: "global"
|
|
13474
13474
|
}, {
|
|
@@ -13489,7 +13489,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13489
13489
|
for (const [i, n] of t)
|
|
13490
13490
|
r[i] = n;
|
|
13491
13491
|
return r;
|
|
13492
|
-
}, tk = /* @__PURE__ */ pi(
|
|
13492
|
+
}, tk = /* @__PURE__ */ pi(M1, [["__scopeId", "data-v-f8690ed7"]]), P1 = { class: "kong-ui-entities-certificates-form" }, V1 = /* @__PURE__ */ xe({
|
|
13493
13493
|
__name: "CertificateForm",
|
|
13494
13494
|
props: {
|
|
13495
13495
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -13562,8 +13562,8 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13562
13562
|
};
|
|
13563
13563
|
return (k, x) => {
|
|
13564
13564
|
const D = se("KTextArea"), j = se("KInput");
|
|
13565
|
-
return _(), H("div",
|
|
13566
|
-
|
|
13565
|
+
return _(), H("div", P1, [
|
|
13566
|
+
P(S(Sp), {
|
|
13567
13567
|
"can-submit": w.value,
|
|
13568
13568
|
config: e.config,
|
|
13569
13569
|
"edit-id": e.certificateId,
|
|
@@ -13578,12 +13578,12 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13578
13578
|
onSubmit: O
|
|
13579
13579
|
}, {
|
|
13580
13580
|
default: I(() => [
|
|
13581
|
-
|
|
13581
|
+
P(S(Hn), {
|
|
13582
13582
|
description: S(s)("certificates.form.sections.ssl.description"),
|
|
13583
13583
|
title: S(s)("certificates.form.sections.ssl.title")
|
|
13584
13584
|
}, {
|
|
13585
13585
|
default: I(() => [
|
|
13586
|
-
|
|
13586
|
+
P(D, {
|
|
13587
13587
|
modelValue: d.fields.cert,
|
|
13588
13588
|
"onUpdate:modelValue": x[0] || (x[0] = (N) => d.fields.cert = N),
|
|
13589
13589
|
modelModifiers: { trim: !0 },
|
|
@@ -13595,7 +13595,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13595
13595
|
required: ""
|
|
13596
13596
|
}, {
|
|
13597
13597
|
"label-tooltip": I(() => [
|
|
13598
|
-
|
|
13598
|
+
P(S(o), {
|
|
13599
13599
|
keypath: "certificates.form.fields.cert.tooltip",
|
|
13600
13600
|
scope: "global"
|
|
13601
13601
|
}, {
|
|
@@ -13607,7 +13607,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13607
13607
|
]),
|
|
13608
13608
|
_: 1
|
|
13609
13609
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13610
|
-
|
|
13610
|
+
P(D, {
|
|
13611
13611
|
modelValue: d.fields.key,
|
|
13612
13612
|
"onUpdate:modelValue": x[1] || (x[1] = (N) => d.fields.key = N),
|
|
13613
13613
|
modelModifiers: { trim: !0 },
|
|
@@ -13619,7 +13619,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13619
13619
|
required: ""
|
|
13620
13620
|
}, {
|
|
13621
13621
|
"label-tooltip": I(() => [
|
|
13622
|
-
|
|
13622
|
+
P(S(o), {
|
|
13623
13623
|
keypath: "certificates.form.fields.key.tooltip",
|
|
13624
13624
|
scope: "global"
|
|
13625
13625
|
}, {
|
|
@@ -13631,7 +13631,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13631
13631
|
]),
|
|
13632
13632
|
_: 1
|
|
13633
13633
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13634
|
-
|
|
13634
|
+
P(D, {
|
|
13635
13635
|
modelValue: d.fields.certAlt,
|
|
13636
13636
|
"onUpdate:modelValue": x[2] || (x[2] = (N) => d.fields.certAlt = N),
|
|
13637
13637
|
modelModifiers: { trim: !0 },
|
|
@@ -13642,7 +13642,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13642
13642
|
readonly: d.isReadonly
|
|
13643
13643
|
}, {
|
|
13644
13644
|
"label-tooltip": I(() => [
|
|
13645
|
-
|
|
13645
|
+
P(S(o), {
|
|
13646
13646
|
keypath: "certificates.form.fields.cert_alt.tooltip",
|
|
13647
13647
|
scope: "global"
|
|
13648
13648
|
}, {
|
|
@@ -13654,7 +13654,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13654
13654
|
]),
|
|
13655
13655
|
_: 1
|
|
13656
13656
|
}, 8, ["modelValue", "label", "readonly"]),
|
|
13657
|
-
|
|
13657
|
+
P(D, {
|
|
13658
13658
|
modelValue: d.fields.keyAlt,
|
|
13659
13659
|
"onUpdate:modelValue": x[3] || (x[3] = (N) => d.fields.keyAlt = N),
|
|
13660
13660
|
modelModifiers: { trim: !0 },
|
|
@@ -13665,7 +13665,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13665
13665
|
readonly: d.isReadonly
|
|
13666
13666
|
}, {
|
|
13667
13667
|
"label-tooltip": I(() => [
|
|
13668
|
-
|
|
13668
|
+
P(S(o), {
|
|
13669
13669
|
keypath: "certificates.form.fields.key_alt.tooltip",
|
|
13670
13670
|
scope: "global"
|
|
13671
13671
|
}, {
|
|
@@ -13680,12 +13680,12 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13680
13680
|
]),
|
|
13681
13681
|
_: 1
|
|
13682
13682
|
}, 8, ["description", "title"]),
|
|
13683
|
-
|
|
13683
|
+
P(S(Hn), {
|
|
13684
13684
|
description: S(s)("certificates.form.sections.general.description"),
|
|
13685
13685
|
title: S(s)("certificates.form.sections.general.title")
|
|
13686
13686
|
}, {
|
|
13687
13687
|
default: I(() => [
|
|
13688
|
-
|
|
13688
|
+
P(j, {
|
|
13689
13689
|
modelValue: d.fields.tags,
|
|
13690
13690
|
"onUpdate:modelValue": x[4] || (x[4] = (N) => d.fields.tags = N),
|
|
13691
13691
|
modelModifiers: { trim: !0 },
|
|
@@ -13818,7 +13818,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13818
13818
|
return (O, A) => {
|
|
13819
13819
|
const k = se("KCodeBlock"), x = se("KLabel"), D = se("KBadge");
|
|
13820
13820
|
return _(), H("div", $1, [
|
|
13821
|
-
|
|
13821
|
+
P(S(Ap), {
|
|
13822
13822
|
config: e.config,
|
|
13823
13823
|
"config-card-doc": e.configCardDoc,
|
|
13824
13824
|
"config-schema": B.value,
|
|
@@ -13838,7 +13838,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
13838
13838
|
}, null, 8, ["id", "code"])) : we("", !0)
|
|
13839
13839
|
]),
|
|
13840
13840
|
"metadata-label": I(() => [
|
|
13841
|
-
|
|
13841
|
+
P(x, { class: "metadata-label" }, {
|
|
13842
13842
|
default: I(() => [
|
|
13843
13843
|
pe(" Metadata ")
|
|
13844
13844
|
]),
|
|
@@ -14017,22 +14017,22 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14017
14017
|
}
|
|
14018
14018
|
Ue.value = {}, A.value = null;
|
|
14019
14019
|
});
|
|
14020
|
-
const
|
|
14020
|
+
const Pt = re({
|
|
14021
14021
|
ctaPath: i.config.createRoute,
|
|
14022
14022
|
ctaText: void 0,
|
|
14023
14023
|
message: `${n("ca-certificates.list.empty_state.description")}${i.config.additionMessageForEmptyState ? ` ${i.config.additionMessageForEmptyState}` : ""}`,
|
|
14024
14024
|
title: n("ca-certificates.title")
|
|
14025
14025
|
});
|
|
14026
14026
|
return Fn(async () => {
|
|
14027
|
-
await i.canCreate() && (
|
|
14027
|
+
await i.canCreate() && (Pt.value.title = n("ca-certificates.list.empty_state.title"), Pt.value.ctaText = n("ca-certificates.actions.create"));
|
|
14028
14028
|
}), (le, z) => {
|
|
14029
|
-
const Y = se("KButton"), Se = se("KBadge"), Ye = se("KTruncate"), lt = se("KDropdownItem"),
|
|
14029
|
+
const Y = se("KButton"), Se = se("KBadge"), Ye = se("KTruncate"), lt = se("KDropdownItem"), Mr = se("KClipboardProvider");
|
|
14030
14030
|
return _(), H("div", U1, [
|
|
14031
|
-
|
|
14031
|
+
P(S(Cp), {
|
|
14032
14032
|
"cache-identifier": e.cacheIdentifier,
|
|
14033
14033
|
"disable-pagination-page-jump": "",
|
|
14034
14034
|
"disable-sorting": h.value,
|
|
14035
|
-
"empty-state-options":
|
|
14035
|
+
"empty-state-options": Pt.value,
|
|
14036
14036
|
"enable-entity-actions": "",
|
|
14037
14037
|
"error-message": A.value,
|
|
14038
14038
|
fetcher: S(v),
|
|
@@ -14047,7 +14047,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14047
14047
|
onSort: O
|
|
14048
14048
|
}, {
|
|
14049
14049
|
"toolbar-filter": I(() => [
|
|
14050
|
-
|
|
14050
|
+
P(S(Ip), {
|
|
14051
14051
|
modelValue: p.value,
|
|
14052
14052
|
"onUpdate:modelValue": z[0] || (z[0] = (ce) => p.value = ce),
|
|
14053
14053
|
config: y.value
|
|
@@ -14058,11 +14058,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14058
14058
|
to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
|
|
14059
14059
|
}, {
|
|
14060
14060
|
default: I(() => [
|
|
14061
|
-
|
|
14061
|
+
P(S(Rt), {
|
|
14062
14062
|
"auth-function": () => e.canCreate()
|
|
14063
14063
|
}, {
|
|
14064
14064
|
default: I(() => [
|
|
14065
|
-
Vt(
|
|
14065
|
+
Vt(P(Y, {
|
|
14066
14066
|
appearance: "primary",
|
|
14067
14067
|
"data-testid": "toolbar-add-ca-certificate",
|
|
14068
14068
|
icon: "plus",
|
|
@@ -14084,21 +14084,21 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14084
14084
|
}, 8, ["to"]))
|
|
14085
14085
|
]),
|
|
14086
14086
|
issuer: I(({ row: ce }) => {
|
|
14087
|
-
var
|
|
14087
|
+
var Me;
|
|
14088
14088
|
return [
|
|
14089
|
-
e.config.app === "konnect" ? (_(), H("b", L1, U((
|
|
14089
|
+
e.config.app === "konnect" ? (_(), H("b", L1, U((Me = ce == null ? void 0 : ce.metadata) != null && Me.issuer ? ce.metadata.issuer : "-"), 1)) : (_(), H("b", H1, U(S(je)(ce).schemaIssuer || "-"), 1))
|
|
14090
14090
|
];
|
|
14091
14091
|
}),
|
|
14092
14092
|
expiry: I(({ row: ce }) => {
|
|
14093
|
-
var
|
|
14093
|
+
var Me;
|
|
14094
14094
|
return [
|
|
14095
|
-
e.config.app === "konnect" ? (_(), H("span", F1, U((
|
|
14095
|
+
e.config.app === "konnect" ? (_(), H("span", F1, U((Me = ce == null ? void 0 : ce.metadata) != null && Me.expiry ? S(o)(ce.metadata.expiry) : "-"), 1)) : (_(), H("span", q1, U(S(je)(ce).schemaExpiry ? S(o)(S(je)(ce).schemaExpiry) : "-"), 1))
|
|
14096
14096
|
];
|
|
14097
14097
|
}),
|
|
14098
14098
|
tags: I(({ row: ce }) => {
|
|
14099
|
-
var
|
|
14099
|
+
var Me;
|
|
14100
14100
|
return [
|
|
14101
|
-
((
|
|
14101
|
+
((Me = ce == null ? void 0 : ce.tags) == null ? void 0 : Me.length) > 0 ? (_(), de(Ye, { key: 0 }, {
|
|
14102
14102
|
default: I(() => [
|
|
14103
14103
|
(_(!0), H(Qe, null, Ge(ce == null ? void 0 : ce.tags, (te) => (_(), de(Se, {
|
|
14104
14104
|
key: te,
|
|
@@ -14116,11 +14116,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14116
14116
|
];
|
|
14117
14117
|
}),
|
|
14118
14118
|
actions: I(({ row: ce }) => [
|
|
14119
|
-
|
|
14120
|
-
default: I(({ copyToClipboard:
|
|
14121
|
-
|
|
14119
|
+
P(Mr, null, {
|
|
14120
|
+
default: I(({ copyToClipboard: Me }) => [
|
|
14121
|
+
P(lt, {
|
|
14122
14122
|
"data-testid": "action-entity-copy-id",
|
|
14123
|
-
onClick: (te) => k(ce,
|
|
14123
|
+
onClick: (te) => k(ce, Me)
|
|
14124
14124
|
}, {
|
|
14125
14125
|
default: I(() => [
|
|
14126
14126
|
pe(U(S(n)("ca-certificates.actions.copy_id")), 1)
|
|
@@ -14130,11 +14130,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14130
14130
|
]),
|
|
14131
14131
|
_: 2
|
|
14132
14132
|
}, 1024),
|
|
14133
|
-
|
|
14134
|
-
default: I(({ copyToClipboard:
|
|
14135
|
-
|
|
14133
|
+
P(Mr, null, {
|
|
14134
|
+
default: I(({ copyToClipboard: Me }) => [
|
|
14135
|
+
P(lt, {
|
|
14136
14136
|
"data-testid": "action-entity-copy-json",
|
|
14137
|
-
onClick: (te) => x(ce,
|
|
14137
|
+
onClick: (te) => x(ce, Me)
|
|
14138
14138
|
}, {
|
|
14139
14139
|
default: I(() => [
|
|
14140
14140
|
pe(U(S(n)("ca-certificates.actions.copy_json")), 1)
|
|
@@ -14144,11 +14144,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14144
14144
|
]),
|
|
14145
14145
|
_: 2
|
|
14146
14146
|
}, 1024),
|
|
14147
|
-
|
|
14147
|
+
P(S(Rt), {
|
|
14148
14148
|
"auth-function": () => e.canRetrieve(ce)
|
|
14149
14149
|
}, {
|
|
14150
14150
|
default: I(() => [
|
|
14151
|
-
|
|
14151
|
+
P(lt, {
|
|
14152
14152
|
"data-testid": "action-entity-view",
|
|
14153
14153
|
"has-divider": "",
|
|
14154
14154
|
item: j(ce.id)
|
|
@@ -14156,26 +14156,26 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14156
14156
|
]),
|
|
14157
14157
|
_: 2
|
|
14158
14158
|
}, 1032, ["auth-function"]),
|
|
14159
|
-
|
|
14159
|
+
P(S(Rt), {
|
|
14160
14160
|
"auth-function": () => e.canEdit(ce)
|
|
14161
14161
|
}, {
|
|
14162
14162
|
default: I(() => [
|
|
14163
|
-
|
|
14163
|
+
P(lt, {
|
|
14164
14164
|
"data-testid": "action-entity-edit",
|
|
14165
14165
|
item: N(ce.id)
|
|
14166
14166
|
}, null, 8, ["item"])
|
|
14167
14167
|
]),
|
|
14168
14168
|
_: 2
|
|
14169
14169
|
}, 1032, ["auth-function"]),
|
|
14170
|
-
|
|
14170
|
+
P(S(Rt), {
|
|
14171
14171
|
"auth-function": () => e.canDelete(ce)
|
|
14172
14172
|
}, {
|
|
14173
14173
|
default: I(() => [
|
|
14174
|
-
|
|
14174
|
+
P(lt, {
|
|
14175
14175
|
danger: "",
|
|
14176
14176
|
"data-testid": "action-entity-delete",
|
|
14177
14177
|
"has-divider": "",
|
|
14178
|
-
onClick: (
|
|
14178
|
+
onClick: (Me) => Le(ce)
|
|
14179
14179
|
}, {
|
|
14180
14180
|
default: I(() => [
|
|
14181
14181
|
pe(U(S(n)("ca-certificates.actions.delete")), 1)
|
|
@@ -14188,7 +14188,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14188
14188
|
]),
|
|
14189
14189
|
_: 1
|
|
14190
14190
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
|
|
14191
|
-
|
|
14191
|
+
P(S(xp), {
|
|
14192
14192
|
"action-pending": $.value,
|
|
14193
14193
|
"entity-type": S(vl).CACertificate,
|
|
14194
14194
|
error: ne.value,
|
|
@@ -14198,7 +14198,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14198
14198
|
onProceed: jr
|
|
14199
14199
|
}, {
|
|
14200
14200
|
description: I(() => [
|
|
14201
|
-
|
|
14201
|
+
P(S(s), {
|
|
14202
14202
|
keypath: "ca-certificates.delete.description",
|
|
14203
14203
|
scope: "global"
|
|
14204
14204
|
}, {
|
|
@@ -14282,7 +14282,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14282
14282
|
return (A, k) => {
|
|
14283
14283
|
const x = se("KTextArea"), D = se("KInput");
|
|
14284
14284
|
return _(), H("div", G1, [
|
|
14285
|
-
|
|
14285
|
+
P(S(Sp), {
|
|
14286
14286
|
"can-submit": E.value,
|
|
14287
14287
|
config: e.config,
|
|
14288
14288
|
"edit-id": e.certificateId,
|
|
@@ -14297,12 +14297,12 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14297
14297
|
onSubmit: B
|
|
14298
14298
|
}, {
|
|
14299
14299
|
default: I(() => [
|
|
14300
|
-
|
|
14300
|
+
P(S(Hn), {
|
|
14301
14301
|
description: S(o)("ca-certificates.form.sections.cert.description"),
|
|
14302
14302
|
title: S(o)("ca-certificates.form.sections.cert.title")
|
|
14303
14303
|
}, {
|
|
14304
14304
|
default: I(() => [
|
|
14305
|
-
|
|
14305
|
+
P(x, {
|
|
14306
14306
|
modelValue: h.fields.cert,
|
|
14307
14307
|
"onUpdate:modelValue": k[0] || (k[0] = (j) => h.fields.cert = j),
|
|
14308
14308
|
modelModifiers: { trim: !0 },
|
|
@@ -14314,7 +14314,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14314
14314
|
readonly: h.isReadonly,
|
|
14315
14315
|
required: ""
|
|
14316
14316
|
}, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
|
|
14317
|
-
|
|
14317
|
+
P(D, {
|
|
14318
14318
|
modelValue: h.fields.certDigest,
|
|
14319
14319
|
"onUpdate:modelValue": k[1] || (k[1] = (j) => h.fields.certDigest = j),
|
|
14320
14320
|
modelModifiers: { trim: !0 },
|
|
@@ -14327,12 +14327,12 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14327
14327
|
]),
|
|
14328
14328
|
_: 1
|
|
14329
14329
|
}, 8, ["description", "title"]),
|
|
14330
|
-
|
|
14330
|
+
P(S(Hn), {
|
|
14331
14331
|
description: S(o)("ca-certificates.form.sections.general.description"),
|
|
14332
14332
|
title: S(o)("ca-certificates.form.sections.general.title")
|
|
14333
14333
|
}, {
|
|
14334
14334
|
default: I(() => [
|
|
14335
|
-
|
|
14335
|
+
P(D, {
|
|
14336
14336
|
modelValue: h.fields.tags,
|
|
14337
14337
|
"onUpdate:modelValue": k[2] || (k[2] = (j) => h.fields.tags = j),
|
|
14338
14338
|
modelModifiers: { trim: !0 },
|
|
@@ -14482,7 +14482,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14482
14482
|
return (j, N) => {
|
|
14483
14483
|
const ue = se("KCodeBlock"), J = se("KLabel"), $ = se("KBadge");
|
|
14484
14484
|
return _(), H("div", J1, [
|
|
14485
|
-
|
|
14485
|
+
P(S(Ap), {
|
|
14486
14486
|
config: e.config,
|
|
14487
14487
|
"config-card-doc": e.configCardDoc,
|
|
14488
14488
|
"config-schema": E.value,
|
|
@@ -14493,7 +14493,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14493
14493
|
onLoading: N[1] || (N[1] = (ne) => j.$emit("loading", ne))
|
|
14494
14494
|
}, wr({
|
|
14495
14495
|
"cert-label-tooltip": I(() => [
|
|
14496
|
-
|
|
14496
|
+
P(S(s), {
|
|
14497
14497
|
keypath: "certificates.form.fields.cert.tooltip",
|
|
14498
14498
|
scope: "global"
|
|
14499
14499
|
}, {
|
|
@@ -14513,7 +14513,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14513
14513
|
}, null, 8, ["id", "code"])) : we("", !0)
|
|
14514
14514
|
]),
|
|
14515
14515
|
"key-label-tooltip": I(() => [
|
|
14516
|
-
|
|
14516
|
+
P(S(s), {
|
|
14517
14517
|
keypath: "certificates.form.fields.key.tooltip",
|
|
14518
14518
|
scope: "global"
|
|
14519
14519
|
}, {
|
|
@@ -14524,7 +14524,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14524
14524
|
})
|
|
14525
14525
|
]),
|
|
14526
14526
|
"metadata-label": I(() => [
|
|
14527
|
-
|
|
14527
|
+
P(J, { class: "metadata-label" }, {
|
|
14528
14528
|
default: I(() => [
|
|
14529
14529
|
pe(" Metadata ")
|
|
14530
14530
|
]),
|
|
@@ -14555,7 +14555,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14555
14555
|
pe(U(O.value || "–"), 1)
|
|
14556
14556
|
]),
|
|
14557
14557
|
"cert_alt-label-tooltip": I(() => [
|
|
14558
|
-
|
|
14558
|
+
P(S(s), {
|
|
14559
14559
|
keypath: "certificates.form.fields.cert_alt.tooltip",
|
|
14560
14560
|
scope: "global"
|
|
14561
14561
|
}, {
|
|
@@ -14566,7 +14566,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
|
|
|
14566
14566
|
})
|
|
14567
14567
|
]),
|
|
14568
14568
|
"key_alt-label-tooltip": I(() => [
|
|
14569
|
-
|
|
14569
|
+
P(S(s), {
|
|
14570
14570
|
keypath: "certificates.form.fields.key_alt.tooltip",
|
|
14571
14571
|
scope: "global"
|
|
14572
14572
|
}, {
|