@kong-ui-public/entities-redis-configurations 1.4.1 → 1.4.2
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,7 +1,7 @@
|
|
|
1
|
-
import { computed as H, reactive as Nt, ref as
|
|
1
|
+
import { computed as H, reactive as Nt, ref as V, watch as Ie, defineComponent as Q, resolveComponent as M, createElementBlock as q, openBlock as k, createVNode as p, withCtx as w, renderSlot as vn, unref as i, mergeModels as Bt, useModel as Ft, createElementVNode as K, createTextVNode as te, toDisplayString as N, Fragment as We, renderList as mt, createBlock as F, getCurrentInstance as hn, onMounted as Tn, onUnmounted as wn, isReadonly as Sn, toRefs as En, onBeforeMount as Cn, createCommentVNode as ee, isRef as Rn, createSlots as kn, withModifiers as In, Teleport as On } from "vue";
|
|
2
2
|
import "@kong-ui-public/entities-shared/dist/style.css";
|
|
3
3
|
import "@kong-ui-public/entities-vaults/dist/style.css";
|
|
4
|
-
import { useAxios as gt, useErrors as xn, EntityBaseFormType as Ze, EntityBaseForm as Pn, SupportedEntityType as Ht, EntityFormSection as ue, EntityFilter as Kt, useDeleteUrlBuilder as An, useFetcher as Vn, FetcherStatus as $n, EntityBaseTable as Ln, PermissionsWrapper as Ue, TableTags as Mn, EntityDeleteModal as Dn, EntityTypes as Un, ConfigurationSchemaSection as
|
|
4
|
+
import { useAxios as gt, useErrors as xn, EntityBaseFormType as Ze, EntityBaseForm as Pn, SupportedEntityType as Ht, EntityFormSection as ue, EntityFilter as Kt, useDeleteUrlBuilder as An, useFetcher as Vn, FetcherStatus as $n, EntityBaseTable as Ln, PermissionsWrapper as Ue, TableTags as Mn, EntityDeleteModal as Dn, EntityTypes as Un, ConfigurationSchemaSection as x, ConfigurationSchemaType as P, EntityBaseConfigCard as jn } from "@kong-ui-public/entities-shared";
|
|
5
5
|
import { VaultSecretPickerProvider as je, VaultSecretPicker as Nn } from "@kong-ui-public/entities-vaults";
|
|
6
6
|
import { useRouter as zt } from "vue-router";
|
|
7
7
|
import { TrashIcon as Bn, AddCircleIcon as qt, AddIcon as bt, RefreshIcon as Fn, ClipboardIcon as Hn, DeployIcon as Kn } from "@kong/icons";
|
|
@@ -115,11 +115,11 @@ var en = Object.prototype, ki = en.hasOwnProperty, Ii = en.propertyIsEnumerable,
|
|
|
115
115
|
function xi() {
|
|
116
116
|
return !1;
|
|
117
117
|
}
|
|
118
|
-
var tn = typeof exports == "object" && exports && !exports.nodeType && exports, Tt = tn && typeof module == "object" && module && !module.nodeType && module, Pi = Tt && Tt.exports === tn, wt = Pi ? oe.Buffer : void 0, Ai = wt ? wt.isBuffer : void 0, dt = Ai || xi, Vi = "[object Arguments]", $i = "[object Array]", Li = "[object Boolean]", Mi = "[object Date]", Di = "[object Error]", Ui = "[object Function]", ji = "[object Map]", Ni = "[object Number]", Bi = "[object Object]", Fi = "[object RegExp]", Hi = "[object Set]", Ki = "[object String]", zi = "[object WeakMap]", qi = "[object ArrayBuffer]", Wi = "[object DataView]", Gi = "[object Float32Array]", Ji = "[object Float64Array]", Yi = "[object Int8Array]", Qi = "[object Int16Array]", Xi = "[object Int32Array]", Zi = "[object Uint8Array]", eo = "[object Uint8ClampedArray]", to = "[object Uint16Array]", no = "[object Uint32Array]",
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
var tn = typeof exports == "object" && exports && !exports.nodeType && exports, Tt = tn && typeof module == "object" && module && !module.nodeType && module, Pi = Tt && Tt.exports === tn, wt = Pi ? oe.Buffer : void 0, Ai = wt ? wt.isBuffer : void 0, dt = Ai || xi, Vi = "[object Arguments]", $i = "[object Array]", Li = "[object Boolean]", Mi = "[object Date]", Di = "[object Error]", Ui = "[object Function]", ji = "[object Map]", Ni = "[object Number]", Bi = "[object Object]", Fi = "[object RegExp]", Hi = "[object Set]", Ki = "[object String]", zi = "[object WeakMap]", qi = "[object ArrayBuffer]", Wi = "[object DataView]", Gi = "[object Float32Array]", Ji = "[object Float64Array]", Yi = "[object Int8Array]", Qi = "[object Int16Array]", Xi = "[object Int32Array]", Zi = "[object Uint8Array]", eo = "[object Uint8ClampedArray]", to = "[object Uint16Array]", no = "[object Uint32Array]", A = {};
|
|
119
|
+
A[Gi] = A[Ji] = A[Yi] = A[Qi] = A[Xi] = A[Zi] = A[eo] = A[to] = A[no] = !0;
|
|
120
|
+
A[Vi] = A[$i] = A[qi] = A[Li] = A[Wi] = A[Mi] = A[Di] = A[Ui] = A[ji] = A[Ni] = A[Bi] = A[Fi] = A[Hi] = A[Ki] = A[zi] = !1;
|
|
121
121
|
function io(e) {
|
|
122
|
-
return Oe(e) && Zt(e.length) && !!
|
|
122
|
+
return Oe(e) && Zt(e.length) && !!A[$e(e)];
|
|
123
123
|
}
|
|
124
124
|
function oo(e) {
|
|
125
125
|
return function(t) {
|
|
@@ -402,8 +402,8 @@ function rn(e, t, n, r, o, a) {
|
|
|
402
402
|
break;
|
|
403
403
|
}
|
|
404
404
|
if (E) {
|
|
405
|
-
if (!sr(t, function(
|
|
406
|
-
if (!dr(E, f) && (v ===
|
|
405
|
+
if (!sr(t, function($, f) {
|
|
406
|
+
if (!dr(E, f) && (v === $ || o(v, $, n, r, a)))
|
|
407
407
|
return E.push(f);
|
|
408
408
|
})) {
|
|
409
409
|
b = !1;
|
|
@@ -481,18 +481,18 @@ function Pr(e, t, n, r, o, a) {
|
|
|
481
481
|
a.set(e, t), a.set(t, e);
|
|
482
482
|
for (var R = m; ++S < l; ) {
|
|
483
483
|
b = _[S];
|
|
484
|
-
var
|
|
484
|
+
var $ = e[b], f = t[b];
|
|
485
485
|
if (r)
|
|
486
|
-
var c = m ? r(f,
|
|
487
|
-
if (!(c === void 0 ?
|
|
486
|
+
var c = m ? r(f, $, b, t, e, a) : r($, f, b, e, t, a);
|
|
487
|
+
if (!(c === void 0 ? $ === f || o($, f, n, r, a) : c)) {
|
|
488
488
|
s = !1;
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
R || (R = b == "constructor");
|
|
492
492
|
}
|
|
493
493
|
if (s && !R) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var B = e.constructor, I = t.constructor;
|
|
495
|
+
B != I && "constructor" in e && "constructor" in t && !(typeof B == "function" && B instanceof B && typeof I == "function" && I instanceof I) && (s = !1);
|
|
496
496
|
}
|
|
497
497
|
return a.delete(e), a.delete(t), s;
|
|
498
498
|
}
|
|
@@ -523,11 +523,11 @@ function an(e, t, n, r, o) {
|
|
|
523
523
|
function Lr(e, t) {
|
|
524
524
|
return an(e, t);
|
|
525
525
|
}
|
|
526
|
-
const
|
|
526
|
+
const j = [];
|
|
527
527
|
for (let e = 0; e < 256; ++e)
|
|
528
|
-
|
|
528
|
+
j.push((e + 256).toString(16).slice(1));
|
|
529
529
|
function Mr(e, t = 0) {
|
|
530
|
-
return (
|
|
530
|
+
return (j[e[t + 0]] + j[e[t + 1]] + j[e[t + 2]] + j[e[t + 3]] + "-" + j[e[t + 4]] + j[e[t + 5]] + "-" + j[e[t + 6]] + j[e[t + 7]] + "-" + j[e[t + 8]] + j[e[t + 9]] + "-" + j[e[t + 10]] + j[e[t + 11]] + j[e[t + 12]] + j[e[t + 13]] + j[e[t + 14]] + j[e[t + 15]]).toLowerCase();
|
|
531
531
|
}
|
|
532
532
|
let it;
|
|
533
533
|
const Dr = new Uint8Array(16);
|
|
@@ -665,13 +665,13 @@ const ln = {
|
|
|
665
665
|
},
|
|
666
666
|
readonly: !1,
|
|
667
667
|
errorMessage: ""
|
|
668
|
-
}), u =
|
|
668
|
+
}), u = V(), y = V(r), S = H(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
|
|
669
669
|
Ie(y, (f) => {
|
|
670
670
|
l.fields.type = ze(f);
|
|
671
671
|
});
|
|
672
672
|
const b = H(() => {
|
|
673
|
-
var c;
|
|
674
|
-
if (o && Lr(u.value, E.value) || !l.fields.name.length)
|
|
673
|
+
var c, B;
|
|
674
|
+
if (o && Lr(u.value, E.value) || !((c = l.fields.name) != null && c.length))
|
|
675
675
|
return !1;
|
|
676
676
|
const { config: f } = l.fields;
|
|
677
677
|
switch (y.value) {
|
|
@@ -679,9 +679,9 @@ const ln = {
|
|
|
679
679
|
case T.HOST_PORT_EE:
|
|
680
680
|
return !!f.host && f.host.length > 0 && !!f.port && f.port > 0;
|
|
681
681
|
case T.CLUSTER:
|
|
682
|
-
return !!f.cluster_nodes.length && f.cluster_nodes.every((
|
|
682
|
+
return !!f.cluster_nodes.length && f.cluster_nodes.every((I) => I.ip.length > 0);
|
|
683
683
|
case T.SENTINEL:
|
|
684
|
-
return !!f.sentinel_nodes.length && f.sentinel_nodes.every((
|
|
684
|
+
return !!f.sentinel_nodes.length && f.sentinel_nodes.every((I) => I.host.length > 0) && !!((B = f.sentinel_master) != null && B.length) && f.sentinel_role && !!f.sentinel_role.length;
|
|
685
685
|
default:
|
|
686
686
|
throw new Error("Invalid redis type");
|
|
687
687
|
}
|
|
@@ -1165,7 +1165,7 @@ const pe = {
|
|
|
1165
1165
|
"tooltip-attributes": { maxWidth: "400" }
|
|
1166
1166
|
}, {
|
|
1167
1167
|
default: w(() => [
|
|
1168
|
-
te(
|
|
1168
|
+
te(N(i(n)("form.fields.cluster_nodes.title")), 1)
|
|
1169
1169
|
]),
|
|
1170
1170
|
_: 1
|
|
1171
1171
|
}, 8, ["info"]),
|
|
@@ -1215,7 +1215,7 @@ const pe = {
|
|
|
1215
1215
|
}, {
|
|
1216
1216
|
default: w(() => [
|
|
1217
1217
|
p(i(qt)),
|
|
1218
|
-
K("span", null,
|
|
1218
|
+
K("span", null, N(i(n)("form.fields.cluster_nodes.add_button")), 1)
|
|
1219
1219
|
]),
|
|
1220
1220
|
_: 1
|
|
1221
1221
|
}, 8, ["disabled"])
|
|
@@ -1247,7 +1247,7 @@ const pe = {
|
|
|
1247
1247
|
"tooltip-attributes": { maxWidth: "400" }
|
|
1248
1248
|
}, {
|
|
1249
1249
|
default: w(() => [
|
|
1250
|
-
te(
|
|
1250
|
+
te(N(i(n)("form.fields.sentinel_nodes.title")), 1)
|
|
1251
1251
|
]),
|
|
1252
1252
|
_: 1
|
|
1253
1253
|
}, 8, ["info"]),
|
|
@@ -1297,7 +1297,7 @@ const pe = {
|
|
|
1297
1297
|
}, {
|
|
1298
1298
|
default: w(() => [
|
|
1299
1299
|
p(i(qt)),
|
|
1300
|
-
K("span", null,
|
|
1300
|
+
K("span", null, N(i(n)("form.fields.sentinel_nodes.add_button")), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
}, 8, ["disabled"])
|
|
@@ -1559,7 +1559,7 @@ function ga() {
|
|
|
1559
1559
|
return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."), null;
|
|
1560
1560
|
var y = (u == null ? void 0 : u.$isServer) || !1;
|
|
1561
1561
|
t.length >= 1 && (r = t[0]), t.length >= 2 && (o = t[1]), t.length > 2 && (a = ie(ie({}, a), t[2]));
|
|
1562
|
-
var S = y ? a.serverTTL : a.ttl, b = typeof r == "function" ? r :
|
|
1562
|
+
var S = y ? a.serverTTL : a.ttl, b = typeof r == "function" ? r : V(r);
|
|
1563
1563
|
typeof o > "u" && (o = a.fetcher);
|
|
1564
1564
|
var E = null;
|
|
1565
1565
|
E || (E = Nt({
|
|
@@ -1571,11 +1571,11 @@ function ga() {
|
|
|
1571
1571
|
}));
|
|
1572
1572
|
var v = function(f, c) {
|
|
1573
1573
|
return Te(e, void 0, void 0, function() {
|
|
1574
|
-
var
|
|
1574
|
+
var B, I, z, X, le, W, ne, Z = this;
|
|
1575
1575
|
return we(this, function(se) {
|
|
1576
1576
|
switch (se.label) {
|
|
1577
1577
|
case 0:
|
|
1578
|
-
return
|
|
1578
|
+
return B = E.data === void 0, I = b.value, I ? (z = a.cache.get(I), X = z && z.data, E.isValidating = !0, E.isLoading = !X, X && (E.data = X.data, E.error = X.error), le = f || o, !le || !a.isDocumentVisible() && !B || (c == null ? void 0 : c.forceRevalidate) !== void 0 && !(c != null && c.forceRevalidate) ? (E.isValidating = !1, E.isLoading = !1, [
|
|
1579
1579
|
2
|
|
1580
1580
|
/*return*/
|
|
1581
1581
|
]) : z && (W = !!(Date.now() - z.createdAt >= a.dedupingInterval || c != null && c.forceRevalidate), !W) ? (E.isValidating = !1, E.isLoading = !1, [
|
|
@@ -1587,15 +1587,15 @@ function ga() {
|
|
|
1587
1587
|
return we(this, function(de) {
|
|
1588
1588
|
switch (de.label) {
|
|
1589
1589
|
case 0:
|
|
1590
|
-
return G = at.get(
|
|
1590
|
+
return G = at.get(I), G ? [3, 2] : (ve = Array.isArray(I) ? I : [I], me = le.apply(void 0, fa([], ca(ve), !1)), at.set(I, me, a.dedupingInterval), [4, jt(I, me, a.cache, S)]);
|
|
1591
1591
|
case 1:
|
|
1592
1592
|
return de.sent(), [3, 4];
|
|
1593
1593
|
case 2:
|
|
1594
|
-
return [4, jt(
|
|
1594
|
+
return [4, jt(I, G.data, a.cache, S)];
|
|
1595
1595
|
case 3:
|
|
1596
1596
|
de.sent(), de.label = 4;
|
|
1597
1597
|
case 4:
|
|
1598
|
-
return E.isValidating = !1, E.isLoading = !1, at.delete(
|
|
1598
|
+
return E.isValidating = !1, E.isLoading = !1, at.delete(I), E.error !== void 0 && (he = !m && a.shouldRetryOnError && (c ? c.shouldRetryOnError : !0), he && ma(v, c ? c.errorRetryCount : 1, a)), [
|
|
1599
1599
|
2
|
|
1600
1600
|
/*return*/
|
|
1601
1601
|
];
|
|
@@ -1677,10 +1677,10 @@ function ga() {
|
|
|
1677
1677
|
});
|
|
1678
1678
|
} catch {
|
|
1679
1679
|
}
|
|
1680
|
-
var
|
|
1680
|
+
var $ = ie(ie({}, En(E)), { mutate: function(f, c) {
|
|
1681
1681
|
return v(f, ie(ie({}, c), { forceRevalidate: !0 }));
|
|
1682
1682
|
} });
|
|
1683
|
-
return
|
|
1683
|
+
return $;
|
|
1684
1684
|
}
|
|
1685
1685
|
function _a(e) {
|
|
1686
1686
|
return e !== null && typeof e == "object" && typeof e.then == "function";
|
|
@@ -1703,7 +1703,7 @@ const Le = (e) => {
|
|
|
1703
1703
|
}
|
|
1704
1704
|
};
|
|
1705
1705
|
}, _n = (e) => {
|
|
1706
|
-
const { partialId: t, config: n } = e, { fetcher: r } = Le(n), o =
|
|
1706
|
+
const { partialId: t, config: n } = e, { fetcher: r } = Le(n), o = V([]), { data: a } = ga(
|
|
1707
1707
|
gn(t),
|
|
1708
1708
|
() => r({ partialId: t }),
|
|
1709
1709
|
{
|
|
@@ -1752,7 +1752,7 @@ const Le = (e) => {
|
|
|
1752
1752
|
},
|
|
1753
1753
|
emits: ["update", "error", "loading", "cancel"],
|
|
1754
1754
|
setup(e, { emit: t }) {
|
|
1755
|
-
const n = e, r = t, { i18n: { t: o }, i18nT: a } = pe.useI18n(), m = zt(), _ =
|
|
1755
|
+
const n = e, r = t, { i18n: { t: o }, i18nT: a } = pe.useI18n(), m = zt(), _ = V(), l = V(), u = (L, g) => {
|
|
1756
1756
|
_.value = L ?? "", l.value = g;
|
|
1757
1757
|
}, y = (L) => {
|
|
1758
1758
|
var g;
|
|
@@ -1784,7 +1784,7 @@ const Le = (e) => {
|
|
|
1784
1784
|
group: o("form.options.type.open_source"),
|
|
1785
1785
|
value: T.HOST_PORT_CE,
|
|
1786
1786
|
selected: c.value === T.HOST_PORT_CE,
|
|
1787
|
-
disabled: f &&
|
|
1787
|
+
disabled: f && B.value || !f && n.disabledPartialType === Y.REDIS_CE
|
|
1788
1788
|
}
|
|
1789
1789
|
]), b = [
|
|
1790
1790
|
{ label: o("form.options.sentinel_role.master"), value: "master" },
|
|
@@ -1796,18 +1796,18 @@ const Le = (e) => {
|
|
|
1796
1796
|
}, v = () => n.disabledPartialType && ze(Se) === n.disabledPartialType ? n.disabledPartialType === Y.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : Se, {
|
|
1797
1797
|
form: s,
|
|
1798
1798
|
canSubmit: R,
|
|
1799
|
-
payload:
|
|
1799
|
+
payload: $,
|
|
1800
1800
|
isEdit: f,
|
|
1801
1801
|
redisType: c,
|
|
1802
|
-
redisTypeIsEnterprise:
|
|
1803
|
-
fetchUrl:
|
|
1802
|
+
redisTypeIsEnterprise: B,
|
|
1803
|
+
fetchUrl: I,
|
|
1804
1804
|
submit: z,
|
|
1805
1805
|
setInitialFormValues: X
|
|
1806
1806
|
} = Br({
|
|
1807
1807
|
partialId: n.partialId,
|
|
1808
1808
|
defaultRedisType: v(),
|
|
1809
1809
|
config: n.config
|
|
1810
|
-
}), { fetcher: le } = Le(n.config), W =
|
|
1810
|
+
}), { fetcher: le } = Le(n.config), W = V(!1), ne = V(!1), Z = V(0), se = async () => {
|
|
1811
1811
|
try {
|
|
1812
1812
|
if (f && !ne.value) {
|
|
1813
1813
|
const { count: g } = await le({ partialId: n.partialId });
|
|
@@ -1848,8 +1848,8 @@ const Le = (e) => {
|
|
|
1848
1848
|
"edit-id": e.partialId,
|
|
1849
1849
|
"entity-type": i(Ht).RedisConfiguration,
|
|
1850
1850
|
"error-message": i(s).errorMessage,
|
|
1851
|
-
"fetch-url": i(
|
|
1852
|
-
"form-fields": i(
|
|
1851
|
+
"fetch-url": i(I),
|
|
1852
|
+
"form-fields": i($),
|
|
1853
1853
|
"is-readonly": i(s).readonly,
|
|
1854
1854
|
"slidout-top-offset": e.slidoutTopOffset,
|
|
1855
1855
|
onCancel: ve,
|
|
@@ -1871,7 +1871,7 @@ const Le = (e) => {
|
|
|
1871
1871
|
tag: "div"
|
|
1872
1872
|
}, {
|
|
1873
1873
|
pluginCount: w(() => [
|
|
1874
|
-
K("b", null,
|
|
1874
|
+
K("b", null, N(i(o)("form.edit_warning_modal.plugin_count", { count: Z.value })), 1)
|
|
1875
1875
|
]),
|
|
1876
1876
|
_: 1
|
|
1877
1877
|
})
|
|
@@ -1896,7 +1896,7 @@ const Le = (e) => {
|
|
|
1896
1896
|
required: ""
|
|
1897
1897
|
}, {
|
|
1898
1898
|
"selected-item-template": w(({ item: d }) => [
|
|
1899
|
-
te(
|
|
1899
|
+
te(N(E(d)), 1)
|
|
1900
1900
|
]),
|
|
1901
1901
|
_: 1
|
|
1902
1902
|
}, 8, ["modelValue", "disabled", "items", "label", "readonly"])
|
|
@@ -2308,7 +2308,7 @@ const Le = (e) => {
|
|
|
2308
2308
|
tag: "div"
|
|
2309
2309
|
}, {
|
|
2310
2310
|
pluginCount: w(() => [
|
|
2311
|
-
K("b", null,
|
|
2311
|
+
K("b", null, N(i(o)("form.edit_warning_modal.plugin_count", { count: Z.value })), 1)
|
|
2312
2312
|
]),
|
|
2313
2313
|
_: 1
|
|
2314
2314
|
})
|
|
@@ -2352,7 +2352,7 @@ const Le = (e) => {
|
|
|
2352
2352
|
appearance: "info"
|
|
2353
2353
|
}, {
|
|
2354
2354
|
default: w(() => [
|
|
2355
|
-
te(" +" +
|
|
2355
|
+
te(" +" + N(i(n).length - lt), 1)
|
|
2356
2356
|
]),
|
|
2357
2357
|
_: 1
|
|
2358
2358
|
})) : ee("", !0)
|
|
@@ -2370,7 +2370,7 @@ const Le = (e) => {
|
|
|
2370
2370
|
name: t.pluginName,
|
|
2371
2371
|
size: 24
|
|
2372
2372
|
}, null, 8, ["name"]),
|
|
2373
|
-
K("span", null,
|
|
2373
|
+
K("span", null, N(t.pluginName), 1)
|
|
2374
2374
|
]));
|
|
2375
2375
|
}
|
|
2376
2376
|
}), Ea = /* @__PURE__ */ ae(Sa, [["__scopeId", "data-v-de964dc4"]]), Ca = { class: "toolbar-container" }, Ra = /* @__PURE__ */ Q({
|
|
@@ -2403,7 +2403,7 @@ const Le = (e) => {
|
|
|
2403
2403
|
{ key: "name", label: o("linked_plugins_modal.headers.plugin") },
|
|
2404
2404
|
{ key: "instance_name", label: o("linked_plugins_modal.headers.instance_name") },
|
|
2405
2405
|
{ key: "actions", hideLabel: !0 }
|
|
2406
|
-
], { fetcher: m } = Le(n.config), _ =
|
|
2406
|
+
], { fetcher: m } = Le(n.config), _ = V(0), l = async (b) => {
|
|
2407
2407
|
const { data: E, count: v } = await m({
|
|
2408
2408
|
partialId: n.partialId,
|
|
2409
2409
|
size: b.pageSize,
|
|
@@ -2416,7 +2416,7 @@ const Le = (e) => {
|
|
|
2416
2416
|
data: E
|
|
2417
2417
|
};
|
|
2418
2418
|
return r("load", s), s;
|
|
2419
|
-
}, u =
|
|
2419
|
+
}, u = V(""), y = H(() => n.config.app === "konnect" || n.isExactMatch ? {
|
|
2420
2420
|
isExactMatch: !0
|
|
2421
2421
|
} : {
|
|
2422
2422
|
isExactMatch: !1,
|
|
@@ -2440,10 +2440,10 @@ const Le = (e) => {
|
|
|
2440
2440
|
]),
|
|
2441
2441
|
"action-items": w(({ row: R }) => [
|
|
2442
2442
|
p(v, {
|
|
2443
|
-
onClick: (
|
|
2443
|
+
onClick: ($) => S(R)
|
|
2444
2444
|
}, {
|
|
2445
2445
|
default: w(() => [
|
|
2446
|
-
te(
|
|
2446
|
+
te(N(i(o)("actions.view_plugin")), 1)
|
|
2447
2447
|
]),
|
|
2448
2448
|
_: 2
|
|
2449
2449
|
}, 1032, ["onClick"])
|
|
@@ -2489,7 +2489,7 @@ const Le = (e) => {
|
|
|
2489
2489
|
},
|
|
2490
2490
|
emits: ["cancel", "proceed", "view-plugin"],
|
|
2491
2491
|
setup(e, { emit: t }) {
|
|
2492
|
-
const n = t, { i18n: { t: r } } = pe.useI18n(), o =
|
|
2492
|
+
const n = t, { i18n: { t: r } } = pe.useI18n(), o = V(0), a = H(() => r("linked_plugins_modal.title", { count: o.value })), m = () => {
|
|
2493
2493
|
n("cancel");
|
|
2494
2494
|
}, _ = () => {
|
|
2495
2495
|
n("proceed");
|
|
@@ -2544,7 +2544,7 @@ const Le = (e) => {
|
|
|
2544
2544
|
onProceed: o
|
|
2545
2545
|
}, {
|
|
2546
2546
|
default: w(() => [
|
|
2547
|
-
te(
|
|
2547
|
+
te(N(i(n)("delete.warning")), 1)
|
|
2548
2548
|
]),
|
|
2549
2549
|
_: 1
|
|
2550
2550
|
}, 8, ["action-button-text", "title", "visible"]);
|
|
@@ -2601,12 +2601,12 @@ const Le = (e) => {
|
|
|
2601
2601
|
var C, U;
|
|
2602
2602
|
let d = `${r.config.apiBaseUrl}${Ve.list[r.config.app]}`;
|
|
2603
2603
|
return r.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((C = r.config) == null ? void 0 : C.controlPlaneId) || "") : r.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (U = r.config) != null && U.workspace ? `/${r.config.workspace}` : "")), d;
|
|
2604
|
-
}), a =
|
|
2604
|
+
}), a = V(!1), m = V(""), _ = V(null), l = V(void 0), u = V(!1), y = V(!1), S = V(""), b = V(!1), E = An(r.config, o.value), v = V(1), s = H(() => r.config.app !== "kongManager" || !!r.config.disableSorting), { fetcher: R, fetcherState: $ } = Vn(r.config, o);
|
|
2605
2605
|
async function f(d) {
|
|
2606
2606
|
const C = await R({ ...d, pageSize: Va });
|
|
2607
2607
|
return C.data = C.data.filter((U) => U.type === Y.REDIS_CE || U.type === Y.REDIS_EE), C;
|
|
2608
2608
|
}
|
|
2609
|
-
const { i18n: { t: c } } = pe.useI18n(), { axiosInstance:
|
|
2609
|
+
const { i18n: { t: c } } = pe.useI18n(), { axiosInstance: B } = gt((De = r.config) == null ? void 0 : De.axiosRequestConfig), I = zt(), z = V(""), X = H(() => {
|
|
2610
2610
|
const d = r.config.app === "konnect" || r.config.isExactMatch;
|
|
2611
2611
|
if (d)
|
|
2612
2612
|
return {
|
|
@@ -2621,7 +2621,7 @@ const Le = (e) => {
|
|
|
2621
2621
|
},
|
|
2622
2622
|
schema: r.config.filterSchema
|
|
2623
2623
|
};
|
|
2624
|
-
}), { fetcher: le } = Le(r.config), W =
|
|
2624
|
+
}), { fetcher: le } = Le(r.config), W = V({
|
|
2625
2625
|
ctaPath: r.config.createRoute,
|
|
2626
2626
|
ctaText: void 0,
|
|
2627
2627
|
message: `${c("redis.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
|
|
@@ -2644,7 +2644,7 @@ const Le = (e) => {
|
|
|
2644
2644
|
z.value = "";
|
|
2645
2645
|
}, me = async (d) => {
|
|
2646
2646
|
var U;
|
|
2647
|
-
await ((U = r.canRetrieve) == null ? void 0 : U.call(r, d)) &&
|
|
2647
|
+
await ((U = r.canRetrieve) == null ? void 0 : U.call(r, d)) && I.push(r.config.getViewRoute(d.id));
|
|
2648
2648
|
}, he = () => {
|
|
2649
2649
|
u.value = !1;
|
|
2650
2650
|
}, de = (d) => {
|
|
@@ -2654,7 +2654,7 @@ const Le = (e) => {
|
|
|
2654
2654
|
if ((d = l.value) != null && d.id) {
|
|
2655
2655
|
y.value = !0;
|
|
2656
2656
|
try {
|
|
2657
|
-
await
|
|
2657
|
+
await B.delete(E(l.value.id)), y.value = !1, u.value = !1, g(), n("delete:success", l.value);
|
|
2658
2658
|
} catch (J) {
|
|
2659
2659
|
S.value = ((U = (C = J.response) == null ? void 0 : C.data) == null ? void 0 : U.message) || J.message || c("errors.delete"), n("error", J);
|
|
2660
2660
|
} finally {
|
|
@@ -2675,7 +2675,7 @@ const Le = (e) => {
|
|
|
2675
2675
|
return `${c("form.options.type.cluster")}${c("form.options.type.suffix_enterprise")}`;
|
|
2676
2676
|
}
|
|
2677
2677
|
}, Me = () => {
|
|
2678
|
-
|
|
2678
|
+
I.push(r.config.createRoute);
|
|
2679
2679
|
}, D = async (d, C) => {
|
|
2680
2680
|
const U = d.id;
|
|
2681
2681
|
if (!await C(U)) {
|
|
@@ -2692,7 +2692,7 @@ const Le = (e) => {
|
|
|
2692
2692
|
message: c("copy.success", { val: U })
|
|
2693
2693
|
});
|
|
2694
2694
|
};
|
|
2695
|
-
Ie(
|
|
2695
|
+
Ie($, (d) => {
|
|
2696
2696
|
var C, U, J;
|
|
2697
2697
|
if (d.status === $n.Error) {
|
|
2698
2698
|
_.value = {
|
|
@@ -2702,7 +2702,7 @@ const Le = (e) => {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
_.value = null;
|
|
2704
2704
|
});
|
|
2705
|
-
const ge =
|
|
2705
|
+
const ge = V(!1);
|
|
2706
2706
|
return Ie(r.canCreate, async (d) => {
|
|
2707
2707
|
ge.value = await d, ge.value ? W.value.ctaText = c("actions.create") : W.value.ctaText = void 0;
|
|
2708
2708
|
}, {
|
|
@@ -2723,13 +2723,13 @@ const Le = (e) => {
|
|
|
2723
2723
|
query: z.value,
|
|
2724
2724
|
"table-headers": ne,
|
|
2725
2725
|
onClearSearchInput: ve,
|
|
2726
|
-
"onClick:row": C[1] || (C[1] = (
|
|
2726
|
+
"onClick:row": C[1] || (C[1] = (O) => me(O)),
|
|
2727
2727
|
onSort: g
|
|
2728
2728
|
}, {
|
|
2729
2729
|
"toolbar-filter": w(() => [
|
|
2730
2730
|
p(i(Kt), {
|
|
2731
2731
|
modelValue: z.value,
|
|
2732
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
2732
|
+
"onUpdate:modelValue": C[0] || (C[0] = (O) => z.value = O),
|
|
2733
2733
|
config: X.value
|
|
2734
2734
|
}, null, 8, ["modelValue", "config"])
|
|
2735
2735
|
]),
|
|
@@ -2748,7 +2748,7 @@ const Le = (e) => {
|
|
|
2748
2748
|
}, {
|
|
2749
2749
|
default: w(() => [
|
|
2750
2750
|
p(i(bt)),
|
|
2751
|
-
te(" " +
|
|
2751
|
+
te(" " + N(i(c)("actions.create")), 1)
|
|
2752
2752
|
]),
|
|
2753
2753
|
_: 1
|
|
2754
2754
|
}, 8, ["to"])
|
|
@@ -2757,31 +2757,31 @@ const Le = (e) => {
|
|
|
2757
2757
|
}, 8, ["auth-function"])
|
|
2758
2758
|
], 8, ["disabled"]))
|
|
2759
2759
|
]),
|
|
2760
|
-
name: w(({ rowValue:
|
|
2761
|
-
K("b", null,
|
|
2760
|
+
name: w(({ rowValue: O }) => [
|
|
2761
|
+
K("b", null, N(O ?? "-"), 1)
|
|
2762
2762
|
]),
|
|
2763
|
-
type: w(({ row:
|
|
2764
|
-
te(
|
|
2763
|
+
type: w(({ row: O }) => [
|
|
2764
|
+
te(N(Qe(O)), 1)
|
|
2765
2765
|
]),
|
|
2766
|
-
tags: w(({ rowValue:
|
|
2767
|
-
p(i(Mn), { tags:
|
|
2766
|
+
tags: w(({ rowValue: O }) => [
|
|
2767
|
+
p(i(Mn), { tags: O }, null, 8, ["tags"])
|
|
2768
2768
|
]),
|
|
2769
|
-
plugins: w(({ row:
|
|
2769
|
+
plugins: w(({ row: O }) => [
|
|
2770
2770
|
p(Ta, {
|
|
2771
2771
|
config: e.config,
|
|
2772
|
-
"partial-id":
|
|
2773
|
-
onClick: In((Xe) => de(
|
|
2772
|
+
"partial-id": O.id,
|
|
2773
|
+
onClick: In((Xe) => de(O.id), ["stop"])
|
|
2774
2774
|
}, null, 8, ["config", "partial-id", "onClick"])
|
|
2775
2775
|
]),
|
|
2776
|
-
actions: w(({ row:
|
|
2776
|
+
actions: w(({ row: O }) => [
|
|
2777
2777
|
p(bn, null, {
|
|
2778
2778
|
default: w(({ copyToClipboard: Xe }) => [
|
|
2779
2779
|
p(J, {
|
|
2780
2780
|
"data-testid": "action-entity-copy-id",
|
|
2781
|
-
onClick: (Ma) => D(
|
|
2781
|
+
onClick: (Ma) => D(O, Xe)
|
|
2782
2782
|
}, {
|
|
2783
2783
|
default: w(() => [
|
|
2784
|
-
te(
|
|
2784
|
+
te(N(i(c)("actions.copy_id")), 1)
|
|
2785
2785
|
]),
|
|
2786
2786
|
_: 2
|
|
2787
2787
|
}, 1032, ["onClick"])
|
|
@@ -2789,40 +2789,40 @@ const Le = (e) => {
|
|
|
2789
2789
|
_: 2
|
|
2790
2790
|
}, 1024),
|
|
2791
2791
|
p(i(Ue), {
|
|
2792
|
-
"auth-function": () => e.canRetrieve(
|
|
2792
|
+
"auth-function": () => e.canRetrieve(O)
|
|
2793
2793
|
}, {
|
|
2794
2794
|
default: w(() => [
|
|
2795
2795
|
p(J, {
|
|
2796
2796
|
"data-testid": "action-entity-view",
|
|
2797
2797
|
"has-divider": "",
|
|
2798
|
-
item: Z(
|
|
2798
|
+
item: Z(O.id)
|
|
2799
2799
|
}, null, 8, ["item"])
|
|
2800
2800
|
]),
|
|
2801
2801
|
_: 2
|
|
2802
2802
|
}, 1032, ["auth-function"]),
|
|
2803
2803
|
p(i(Ue), {
|
|
2804
|
-
"auth-function": () => e.canEdit(
|
|
2804
|
+
"auth-function": () => e.canEdit(O)
|
|
2805
2805
|
}, {
|
|
2806
2806
|
default: w(() => [
|
|
2807
2807
|
p(J, {
|
|
2808
2808
|
"data-testid": "action-entity-edit",
|
|
2809
|
-
item: se(
|
|
2809
|
+
item: se(O.id)
|
|
2810
2810
|
}, null, 8, ["item"])
|
|
2811
2811
|
]),
|
|
2812
2812
|
_: 2
|
|
2813
2813
|
}, 1032, ["auth-function"]),
|
|
2814
2814
|
p(i(Ue), {
|
|
2815
|
-
"auth-function": () => e.canDelete(
|
|
2815
|
+
"auth-function": () => e.canDelete(O)
|
|
2816
2816
|
}, {
|
|
2817
2817
|
default: w(() => [
|
|
2818
2818
|
p(J, {
|
|
2819
2819
|
danger: "",
|
|
2820
2820
|
"data-testid": "action-entity-delete",
|
|
2821
2821
|
"has-divider": "",
|
|
2822
|
-
onClick: (Xe) => G(
|
|
2822
|
+
onClick: (Xe) => G(O)
|
|
2823
2823
|
}, {
|
|
2824
2824
|
default: w(() => [
|
|
2825
|
-
te(
|
|
2825
|
+
te(N(i(c)("actions.delete")), 1)
|
|
2826
2826
|
]),
|
|
2827
2827
|
_: 2
|
|
2828
2828
|
}, 1032, ["onClick"])
|
|
@@ -2871,7 +2871,7 @@ const Le = (e) => {
|
|
|
2871
2871
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher-cache-key", "query"]),
|
|
2872
2872
|
p(Pa, {
|
|
2873
2873
|
visible: b.value,
|
|
2874
|
-
onClose: C[2] || (C[2] = (
|
|
2874
|
+
onClose: C[2] || (C[2] = (O) => b.value = !1)
|
|
2875
2875
|
}, null, 8, ["visible"]),
|
|
2876
2876
|
p(i(Dn), {
|
|
2877
2877
|
"action-pending": y.value,
|
|
@@ -2889,9 +2889,9 @@ const Le = (e) => {
|
|
|
2889
2889
|
config: e.config,
|
|
2890
2890
|
"redis-configuration-id": m.value,
|
|
2891
2891
|
visible: a.value,
|
|
2892
|
-
onCancel: C[3] || (C[3] = (
|
|
2893
|
-
onProceed: C[4] || (C[4] = (
|
|
2894
|
-
onViewPlugin: C[5] || (C[5] = (
|
|
2892
|
+
onCancel: C[3] || (C[3] = (O) => a.value = !1),
|
|
2893
|
+
onProceed: C[4] || (C[4] = (O) => a.value = !1),
|
|
2894
|
+
onViewPlugin: C[5] || (C[5] = (O) => n("click:plugin", O))
|
|
2895
2895
|
}, null, 8, ["config", "redis-configuration-id", "visible"])
|
|
2896
2896
|
]);
|
|
2897
2897
|
};
|
|
@@ -2923,7 +2923,7 @@ const Le = (e) => {
|
|
|
2923
2923
|
},
|
|
2924
2924
|
emits: ["loading", "fetch:error", "fetch:success"],
|
|
2925
2925
|
setup(e, { emit: t }) {
|
|
2926
|
-
const n = e, r = t, { i18n: { t: o } } = pe.useI18n(), a = H(() => Ve.form[n.config.app].edit), m =
|
|
2926
|
+
const n = e, r = t, { i18n: { t: o } } = pe.useI18n(), a = H(() => Ve.form[n.config.app].edit), m = V(Se), _ = (v) => {
|
|
2927
2927
|
m.value = Ye(v), r("fetch:success", v);
|
|
2928
2928
|
}, l = H(() => {
|
|
2929
2929
|
const v = m.value === T.HOST_PORT_CE ? o("form.options.type.suffix_open_source") : o("form.options.type.suffix_enterprise");
|
|
@@ -2952,175 +2952,175 @@ const Le = (e) => {
|
|
|
2952
2952
|
type: v.type,
|
|
2953
2953
|
...v.config
|
|
2954
2954
|
}), y = (v) => {
|
|
2955
|
-
const { id: s, name: R, created_at:
|
|
2955
|
+
const { id: s, name: R, created_at: $, updated_at: f, type: c, tags: B, ...I } = v;
|
|
2956
2956
|
return {
|
|
2957
2957
|
id: s,
|
|
2958
2958
|
name: R,
|
|
2959
|
-
tags:
|
|
2960
|
-
created_at:
|
|
2959
|
+
tags: B,
|
|
2960
|
+
created_at: $,
|
|
2961
2961
|
updated_at: f,
|
|
2962
2962
|
type: c,
|
|
2963
|
-
config:
|
|
2963
|
+
config: I
|
|
2964
2964
|
};
|
|
2965
2965
|
}, S = {
|
|
2966
2966
|
id: {},
|
|
2967
2967
|
name: {
|
|
2968
|
-
type:
|
|
2969
|
-
section:
|
|
2968
|
+
type: P.Text,
|
|
2969
|
+
section: x.Basic,
|
|
2970
2970
|
label: o("form.fields.name.label")
|
|
2971
2971
|
},
|
|
2972
2972
|
tags: {
|
|
2973
|
-
type:
|
|
2974
|
-
section:
|
|
2973
|
+
type: P.BadgeTag,
|
|
2974
|
+
section: x.Basic,
|
|
2975
2975
|
label: o("form.fields.tags.label"),
|
|
2976
2976
|
tooltip: o("form.fields.tags.tooltip")
|
|
2977
2977
|
},
|
|
2978
2978
|
updated_at: {},
|
|
2979
2979
|
created_at: {},
|
|
2980
2980
|
type: {
|
|
2981
|
-
type:
|
|
2982
|
-
section:
|
|
2981
|
+
type: P.Text,
|
|
2982
|
+
section: x.Basic,
|
|
2983
2983
|
label: o("form.fields.type.label")
|
|
2984
2984
|
},
|
|
2985
2985
|
cluster_max_redirections: {
|
|
2986
|
-
type:
|
|
2987
|
-
section:
|
|
2986
|
+
type: P.Text,
|
|
2987
|
+
section: x.Basic,
|
|
2988
2988
|
tooltip: o("form.fields.cluster_max_redirections.tooltip"),
|
|
2989
2989
|
label: o("form.fields.cluster_max_redirections.label")
|
|
2990
2990
|
},
|
|
2991
2991
|
cluster_nodes: {
|
|
2992
|
-
type:
|
|
2993
|
-
section:
|
|
2992
|
+
type: P.JsonArray,
|
|
2993
|
+
section: x.Basic,
|
|
2994
2994
|
label: o("form.fields.cluster_nodes.title"),
|
|
2995
2995
|
tooltip: o("form.fields.cluster_nodes.tooltip")
|
|
2996
2996
|
},
|
|
2997
2997
|
connect_timeout: {
|
|
2998
|
-
type:
|
|
2999
|
-
section:
|
|
2998
|
+
type: P.Text,
|
|
2999
|
+
section: x.Basic,
|
|
3000
3000
|
label: o("form.fields.connect_timeout.label"),
|
|
3001
3001
|
tooltip: o("form.fields.connect_timeout.tooltip")
|
|
3002
3002
|
},
|
|
3003
3003
|
connection_is_proxied: {
|
|
3004
|
-
type:
|
|
3005
|
-
section:
|
|
3004
|
+
type: P.Text,
|
|
3005
|
+
section: x.Basic,
|
|
3006
3006
|
label: o("form.fields.connection_is_proxied.label"),
|
|
3007
3007
|
tooltip: o("form.fields.connection_is_proxied.tooltip")
|
|
3008
3008
|
},
|
|
3009
3009
|
database: {
|
|
3010
|
-
type:
|
|
3011
|
-
section:
|
|
3010
|
+
type: P.Text,
|
|
3011
|
+
section: x.Basic,
|
|
3012
3012
|
label: o("form.fields.database.label"),
|
|
3013
3013
|
tooltip: o("form.fields.database.tooltip")
|
|
3014
3014
|
},
|
|
3015
3015
|
host: {
|
|
3016
|
-
type:
|
|
3017
|
-
section:
|
|
3016
|
+
type: P.Text,
|
|
3017
|
+
section: x.Basic,
|
|
3018
3018
|
label: o("form.fields.host.label"),
|
|
3019
3019
|
tooltip: o("form.fields.host.tooltip")
|
|
3020
3020
|
},
|
|
3021
3021
|
keepalive_backlog: {
|
|
3022
|
-
type:
|
|
3023
|
-
section:
|
|
3022
|
+
type: P.Text,
|
|
3023
|
+
section: x.Basic,
|
|
3024
3024
|
label: o("form.fields.keepalive_backlog.label"),
|
|
3025
3025
|
tooltip: o("form.fields.keepalive_backlog.tooltip")
|
|
3026
3026
|
},
|
|
3027
3027
|
keepalive_pool_size: {
|
|
3028
|
-
type:
|
|
3029
|
-
section:
|
|
3028
|
+
type: P.Text,
|
|
3029
|
+
section: x.Basic,
|
|
3030
3030
|
label: o("form.fields.keepalive_pool_size.label"),
|
|
3031
3031
|
tooltip: o("form.fields.keepalive_pool_size.tooltip")
|
|
3032
3032
|
},
|
|
3033
3033
|
password: {
|
|
3034
|
-
type:
|
|
3035
|
-
section:
|
|
3034
|
+
type: P.Redacted,
|
|
3035
|
+
section: x.Basic,
|
|
3036
3036
|
label: o("form.fields.password.label"),
|
|
3037
3037
|
tooltip: o("form.fields.password.tooltip")
|
|
3038
3038
|
},
|
|
3039
3039
|
port: {
|
|
3040
|
-
type:
|
|
3041
|
-
section:
|
|
3040
|
+
type: P.Text,
|
|
3041
|
+
section: x.Basic,
|
|
3042
3042
|
label: o("form.fields.port.label"),
|
|
3043
3043
|
tooltip: o("form.fields.port.tooltip")
|
|
3044
3044
|
},
|
|
3045
3045
|
read_timeout: {
|
|
3046
|
-
type:
|
|
3047
|
-
section:
|
|
3046
|
+
type: P.Text,
|
|
3047
|
+
section: x.Basic,
|
|
3048
3048
|
label: o("form.fields.read_timeout.label"),
|
|
3049
3049
|
tooltip: o("form.fields.read_timeout.tooltip")
|
|
3050
3050
|
},
|
|
3051
3051
|
send_timeout: {
|
|
3052
|
-
type:
|
|
3053
|
-
section:
|
|
3052
|
+
type: P.Text,
|
|
3053
|
+
section: x.Basic,
|
|
3054
3054
|
label: o("form.fields.send_timeout.label"),
|
|
3055
3055
|
tooltip: o("form.fields.send_timeout.tooltip")
|
|
3056
3056
|
},
|
|
3057
3057
|
sentinel_master: {
|
|
3058
|
-
type:
|
|
3059
|
-
section:
|
|
3058
|
+
type: P.Text,
|
|
3059
|
+
section: x.Basic,
|
|
3060
3060
|
label: o("form.fields.sentinel_master.label"),
|
|
3061
3061
|
tooltip: o("form.fields.sentinel_master.tooltip")
|
|
3062
3062
|
},
|
|
3063
3063
|
sentinel_nodes: {
|
|
3064
|
-
type:
|
|
3065
|
-
section:
|
|
3064
|
+
type: P.JsonArray,
|
|
3065
|
+
section: x.Basic,
|
|
3066
3066
|
tooltip: o("form.fields.sentinel_nodes.tooltip")
|
|
3067
3067
|
},
|
|
3068
3068
|
sentinel_password: {
|
|
3069
|
-
type:
|
|
3070
|
-
section:
|
|
3069
|
+
type: P.Redacted,
|
|
3070
|
+
section: x.Basic,
|
|
3071
3071
|
label: o("form.fields.sentinel_password.label"),
|
|
3072
3072
|
tooltip: o("form.fields.sentinel_password.tooltip")
|
|
3073
3073
|
},
|
|
3074
3074
|
sentinel_role: {
|
|
3075
|
-
type:
|
|
3076
|
-
section:
|
|
3075
|
+
type: P.Text,
|
|
3076
|
+
section: x.Basic,
|
|
3077
3077
|
label: o("form.fields.sentinel_role.label"),
|
|
3078
3078
|
tooltip: o("form.fields.sentinel_role.tooltip")
|
|
3079
3079
|
},
|
|
3080
3080
|
sentinel_username: {
|
|
3081
|
-
type:
|
|
3082
|
-
section:
|
|
3081
|
+
type: P.Text,
|
|
3082
|
+
section: x.Basic,
|
|
3083
3083
|
label: o("form.fields.sentinel_username.label"),
|
|
3084
3084
|
tooltip: o("form.fields.sentinel_username.tooltip")
|
|
3085
3085
|
},
|
|
3086
3086
|
server_name: {
|
|
3087
|
-
type:
|
|
3088
|
-
section:
|
|
3087
|
+
type: P.Text,
|
|
3088
|
+
section: x.Basic,
|
|
3089
3089
|
label: o("form.fields.server_name.label"),
|
|
3090
3090
|
tooltip: o("form.fields.server_name.tooltip")
|
|
3091
3091
|
},
|
|
3092
3092
|
ssl_verify: {
|
|
3093
|
-
type:
|
|
3094
|
-
section:
|
|
3093
|
+
type: P.Text,
|
|
3094
|
+
section: x.Basic,
|
|
3095
3095
|
label: o("form.fields.ssl_verify.label"),
|
|
3096
3096
|
tooltip: o("form.fields.ssl_verify.tooltip")
|
|
3097
3097
|
},
|
|
3098
3098
|
ssl: {
|
|
3099
|
-
type:
|
|
3100
|
-
section:
|
|
3099
|
+
type: P.Text,
|
|
3100
|
+
section: x.Basic,
|
|
3101
3101
|
label: o("form.fields.ssl.label"),
|
|
3102
3102
|
tooltip: o("form.fields.ssl.tooltip")
|
|
3103
3103
|
},
|
|
3104
3104
|
timeout: {
|
|
3105
|
-
type:
|
|
3106
|
-
section:
|
|
3105
|
+
type: P.Text,
|
|
3106
|
+
section: x.Basic,
|
|
3107
3107
|
label: o("form.fields.timeout.label"),
|
|
3108
3108
|
tooltip: o("form.fields.timeout.tooltip")
|
|
3109
3109
|
},
|
|
3110
3110
|
username: {
|
|
3111
|
-
type:
|
|
3112
|
-
section:
|
|
3111
|
+
type: P.Text,
|
|
3112
|
+
section: x.Basic,
|
|
3113
3113
|
label: o("form.fields.username.label"),
|
|
3114
3114
|
tooltip: o("form.fields.username.tooltip")
|
|
3115
3115
|
}
|
|
3116
3116
|
}, b = (v) => {
|
|
3117
3117
|
const s = {}, R = Object.keys(S);
|
|
3118
|
-
for (const
|
|
3119
|
-
v.includes(
|
|
3120
|
-
...S[
|
|
3121
|
-
order: v.indexOf(
|
|
3122
|
-
} : s[
|
|
3123
|
-
...S[
|
|
3118
|
+
for (const $ of R)
|
|
3119
|
+
v.includes($) ? s[$] = {
|
|
3120
|
+
...S[$],
|
|
3121
|
+
order: v.indexOf($) + 1
|
|
3122
|
+
} : s[$] = {
|
|
3123
|
+
...S[$],
|
|
3124
3124
|
hidden: !0
|
|
3125
3125
|
};
|
|
3126
3126
|
return s;
|
|
@@ -3214,7 +3214,7 @@ const Le = (e) => {
|
|
|
3214
3214
|
onLoading: s[1] || (s[1] = (R) => v.$emit("loading", R))
|
|
3215
3215
|
}, {
|
|
3216
3216
|
type: w(() => [
|
|
3217
|
-
K("div", null,
|
|
3217
|
+
K("div", null, N(l.value), 1)
|
|
3218
3218
|
]),
|
|
3219
3219
|
_: 1
|
|
3220
3220
|
}, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
|