@wso2/am-core-ui 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/APIKeysManager-C0phJriD.js +241 -0
- package/dist/CatalogKindListing-DtFI2YMG.js +118 -0
- package/dist/CodeBlock-mB_Loq7I.js +21736 -0
- package/dist/EnvironmentCard-09h1XRxx.js +310 -0
- package/dist/EnvironmentSelector-B7Bl93s2.js +48 -0
- package/dist/MCPLogo-D9IJzzl7.js +30 -0
- package/dist/PolicyListSection-o4k9e8XO.js +2475 -0
- package/dist/ResourceListShell-Cx6mdeqv.js +463 -0
- package/dist/SwaggerSpecViewer-BvkhoKsi.js +106 -0
- package/dist/clipboard-YAzStmkw.js +23 -0
- package/dist/debounce-BV83M53b.js +208 -0
- package/dist/format-BEZZRyE2.js +29 -0
- package/dist/formatDistanceToNow-TErllcH8.js +100 -0
- package/dist/gatewayScripts-D8O45W8u.js +72 -0
- package/dist/highlight-BsUzxSR3.js +454 -0
- package/dist/index-B52h3RHg.js +1290 -0
- package/dist/index-BP5drcF2.js +1265 -0
- package/dist/index-BZ4vxviI.js +7981 -0
- package/dist/index-B_Z0MwXk.js +25012 -0
- package/dist/index-BfjzUWDa.js +1397 -0
- package/dist/{index-CDm_burV.js → index-BnV-PkwM.js} +22 -20
- package/dist/index-CGDYgUCH.js +711 -0
- package/dist/index-COt7nJIf.js +2286 -0
- package/dist/index-CWZjOy1h.js +2247 -0
- package/dist/index-CezvogTQ.js +116 -0
- package/dist/index-CgCWbWzN.js +2342 -0
- package/dist/index-CjCkcuuI.js +322 -0
- package/dist/index-CjXvuf9m.js +1354 -0
- package/dist/index-DD4qF7gq.js +2340 -0
- package/dist/index-DeQ-9KTC.js +737 -0
- package/dist/index-Df6OBy4E.js +3041 -0
- package/dist/index-KRsV2L4V.js +1564 -0
- package/dist/index-PUuASE1F.js +2507 -0
- package/dist/index-PWsNvJB-.js +546 -0
- package/dist/index-UqDmyMSA.js +119 -0
- package/dist/index-_0Pj_ZtW.js +459 -0
- package/dist/{index-DJABKRWO.js → index-sr-mWz4T.js} +31 -30
- package/dist/index.d.ts +496 -200
- package/dist/index.js +462 -439
- package/dist/llmProviderPayload-CzihkdNa.js +332 -0
- package/dist/schemas-DFScWdSL.js +2969 -0
- package/package.json +1 -1
- package/dist/index-B0d-vovv.js +0 -236
- package/dist/index-CCmLfbLS.js +0 -80707
- package/dist/index-qanXZe0s.js +0 -3037
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { al as h, am as be } from "./index-B_Z0MwXk.js";
|
|
2
|
+
var I, U;
|
|
3
|
+
function de() {
|
|
4
|
+
if (U) return I;
|
|
5
|
+
U = 1;
|
|
6
|
+
var r = typeof h == "object" && h && h.Object === Object && h;
|
|
7
|
+
return I = r, I;
|
|
8
|
+
}
|
|
9
|
+
var R, H;
|
|
10
|
+
function ie() {
|
|
11
|
+
if (H) return R;
|
|
12
|
+
H = 1;
|
|
13
|
+
var r = de(), e = typeof self == "object" && self && self.Object === Object && self, n = r || e || Function("return this")();
|
|
14
|
+
return R = n, R;
|
|
15
|
+
}
|
|
16
|
+
var x, X;
|
|
17
|
+
function ae() {
|
|
18
|
+
if (X) return x;
|
|
19
|
+
X = 1;
|
|
20
|
+
var r = ie(), e = r.Symbol;
|
|
21
|
+
return x = e, x;
|
|
22
|
+
}
|
|
23
|
+
var E, z;
|
|
24
|
+
function me() {
|
|
25
|
+
if (z) return E;
|
|
26
|
+
z = 1;
|
|
27
|
+
var r = ae(), e = Object.prototype, n = e.hasOwnProperty, i = e.toString, o = r ? r.toStringTag : void 0;
|
|
28
|
+
function m(u) {
|
|
29
|
+
var f = n.call(u, o), c = u[o];
|
|
30
|
+
try {
|
|
31
|
+
u[o] = void 0;
|
|
32
|
+
var t = !0;
|
|
33
|
+
} catch {
|
|
34
|
+
}
|
|
35
|
+
var s = i.call(u);
|
|
36
|
+
return t && (f ? u[o] = c : delete u[o]), s;
|
|
37
|
+
}
|
|
38
|
+
return E = m, E;
|
|
39
|
+
}
|
|
40
|
+
var k, J;
|
|
41
|
+
function le() {
|
|
42
|
+
if (J) return k;
|
|
43
|
+
J = 1;
|
|
44
|
+
var r = Object.prototype, e = r.toString;
|
|
45
|
+
function n(i) {
|
|
46
|
+
return e.call(i);
|
|
47
|
+
}
|
|
48
|
+
return k = n, k;
|
|
49
|
+
}
|
|
50
|
+
var G, K;
|
|
51
|
+
function ve() {
|
|
52
|
+
if (K) return G;
|
|
53
|
+
K = 1;
|
|
54
|
+
var r = ae(), e = me(), n = le(), i = "[object Null]", o = "[object Undefined]", m = r ? r.toStringTag : void 0;
|
|
55
|
+
function u(f) {
|
|
56
|
+
return f == null ? f === void 0 ? o : i : m && m in Object(f) ? e(f) : n(f);
|
|
57
|
+
}
|
|
58
|
+
return G = u, G;
|
|
59
|
+
}
|
|
60
|
+
var N, Q;
|
|
61
|
+
function oe() {
|
|
62
|
+
if (Q) return N;
|
|
63
|
+
Q = 1;
|
|
64
|
+
function r(e) {
|
|
65
|
+
var n = typeof e;
|
|
66
|
+
return e != null && (n == "object" || n == "function");
|
|
67
|
+
}
|
|
68
|
+
return N = r, N;
|
|
69
|
+
}
|
|
70
|
+
var w, V;
|
|
71
|
+
function ge() {
|
|
72
|
+
if (V) return w;
|
|
73
|
+
V = 1;
|
|
74
|
+
function r(e) {
|
|
75
|
+
return e != null && typeof e == "object";
|
|
76
|
+
}
|
|
77
|
+
return w = r, w;
|
|
78
|
+
}
|
|
79
|
+
var L, Y;
|
|
80
|
+
function Te() {
|
|
81
|
+
if (Y) return L;
|
|
82
|
+
Y = 1;
|
|
83
|
+
var r = ve(), e = ge(), n = "[object Symbol]";
|
|
84
|
+
function i(o) {
|
|
85
|
+
return typeof o == "symbol" || e(o) && r(o) == n;
|
|
86
|
+
}
|
|
87
|
+
return L = i, L;
|
|
88
|
+
}
|
|
89
|
+
var W, Z;
|
|
90
|
+
function je() {
|
|
91
|
+
if (Z) return W;
|
|
92
|
+
Z = 1;
|
|
93
|
+
var r = /\s/;
|
|
94
|
+
function e(n) {
|
|
95
|
+
for (var i = n.length; i-- && r.test(n.charAt(i)); )
|
|
96
|
+
;
|
|
97
|
+
return i;
|
|
98
|
+
}
|
|
99
|
+
return W = e, W;
|
|
100
|
+
}
|
|
101
|
+
var C, ee;
|
|
102
|
+
function ye() {
|
|
103
|
+
if (ee) return C;
|
|
104
|
+
ee = 1;
|
|
105
|
+
var r = je(), e = /^\s+/;
|
|
106
|
+
function n(i) {
|
|
107
|
+
return i && i.slice(0, r(i) + 1).replace(e, "");
|
|
108
|
+
}
|
|
109
|
+
return C = n, C;
|
|
110
|
+
}
|
|
111
|
+
var P, re;
|
|
112
|
+
function Se() {
|
|
113
|
+
if (re) return P;
|
|
114
|
+
re = 1;
|
|
115
|
+
var r = ye(), e = oe(), n = Te(), i = NaN, o = /^[-+]0x[0-9a-f]+$/i, m = /^0b[01]+$/i, u = /^0o[0-7]+$/i, f = parseInt;
|
|
116
|
+
function c(t) {
|
|
117
|
+
if (typeof t == "number")
|
|
118
|
+
return t;
|
|
119
|
+
if (n(t))
|
|
120
|
+
return i;
|
|
121
|
+
if (e(t)) {
|
|
122
|
+
var s = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
123
|
+
t = e(s) ? s + "" : s;
|
|
124
|
+
}
|
|
125
|
+
if (typeof t != "string")
|
|
126
|
+
return t === 0 ? t : +t;
|
|
127
|
+
t = r(t);
|
|
128
|
+
var d = m.test(t);
|
|
129
|
+
return d || u.test(t) ? f(t.slice(2), d ? 2 : 8) : o.test(t) ? i : +t;
|
|
130
|
+
}
|
|
131
|
+
return P = c, P;
|
|
132
|
+
}
|
|
133
|
+
var A, te;
|
|
134
|
+
function _e() {
|
|
135
|
+
if (te) return A;
|
|
136
|
+
te = 1;
|
|
137
|
+
var r = ie(), e = function() {
|
|
138
|
+
return r.Date.now();
|
|
139
|
+
};
|
|
140
|
+
return A = e, A;
|
|
141
|
+
}
|
|
142
|
+
var D, ne;
|
|
143
|
+
function he() {
|
|
144
|
+
if (ne) return D;
|
|
145
|
+
ne = 1;
|
|
146
|
+
var r = oe(), e = _e(), n = Se(), i = "Expected a function", o = Math.max, m = Math.min;
|
|
147
|
+
function u(f, c, t) {
|
|
148
|
+
var s, d, S, g, b, v, T = 0, F = !1, j = !1, q = !0;
|
|
149
|
+
if (typeof f != "function")
|
|
150
|
+
throw new TypeError(i);
|
|
151
|
+
c = n(c) || 0, r(t) && (F = !!t.leading, j = "maxWait" in t, S = j ? o(n(t.maxWait) || 0, c) : S, q = "trailing" in t ? !!t.trailing : q);
|
|
152
|
+
function O(a) {
|
|
153
|
+
var l = s, y = d;
|
|
154
|
+
return s = d = void 0, T = a, g = f.apply(y, l), g;
|
|
155
|
+
}
|
|
156
|
+
function ue(a) {
|
|
157
|
+
return T = a, b = setTimeout(_, c), F ? O(a) : g;
|
|
158
|
+
}
|
|
159
|
+
function fe(a) {
|
|
160
|
+
var l = a - v, y = a - T, $ = c - l;
|
|
161
|
+
return j ? m($, S - y) : $;
|
|
162
|
+
}
|
|
163
|
+
function M(a) {
|
|
164
|
+
var l = a - v, y = a - T;
|
|
165
|
+
return v === void 0 || l >= c || l < 0 || j && y >= S;
|
|
166
|
+
}
|
|
167
|
+
function _() {
|
|
168
|
+
var a = e();
|
|
169
|
+
if (M(a))
|
|
170
|
+
return B(a);
|
|
171
|
+
b = setTimeout(_, fe(a));
|
|
172
|
+
}
|
|
173
|
+
function B(a) {
|
|
174
|
+
return b = void 0, q && s ? O(a) : (s = d = void 0, g);
|
|
175
|
+
}
|
|
176
|
+
function ce() {
|
|
177
|
+
b !== void 0 && clearTimeout(b), T = 0, s = v = d = b = void 0;
|
|
178
|
+
}
|
|
179
|
+
function se() {
|
|
180
|
+
return b === void 0 ? g : B(e());
|
|
181
|
+
}
|
|
182
|
+
function p() {
|
|
183
|
+
var a = e(), l = M(a);
|
|
184
|
+
if (s = arguments, d = this, v = a, l) {
|
|
185
|
+
if (b === void 0)
|
|
186
|
+
return ue(v);
|
|
187
|
+
if (j)
|
|
188
|
+
return clearTimeout(b), b = setTimeout(_, c), O(v);
|
|
189
|
+
}
|
|
190
|
+
return b === void 0 && (b = setTimeout(_, c)), g;
|
|
191
|
+
}
|
|
192
|
+
return p.cancel = ce, p.flush = se, p;
|
|
193
|
+
}
|
|
194
|
+
return D = u, D;
|
|
195
|
+
}
|
|
196
|
+
var qe = he();
|
|
197
|
+
const pe = /* @__PURE__ */ be(qe);
|
|
198
|
+
export {
|
|
199
|
+
oe as a,
|
|
200
|
+
ie as b,
|
|
201
|
+
ge as c,
|
|
202
|
+
pe as d,
|
|
203
|
+
de as e,
|
|
204
|
+
ae as f,
|
|
205
|
+
Te as g,
|
|
206
|
+
Se as h,
|
|
207
|
+
ve as r
|
|
208
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { f as o } from "./formatDistanceToNow-TErllcH8.js";
|
|
2
|
+
function s(t) {
|
|
3
|
+
if (t !== void 0)
|
|
4
|
+
return t && (t.toLowerCase().startsWith("v") ? t : `v${t}`);
|
|
5
|
+
}
|
|
6
|
+
function f(t, i = {}) {
|
|
7
|
+
const {
|
|
8
|
+
fallback: r = "??",
|
|
9
|
+
maxChars: n = 2
|
|
10
|
+
} = i;
|
|
11
|
+
if (!t) return r;
|
|
12
|
+
const e = t.replace(/[^A-Za-z]/g, "");
|
|
13
|
+
return e ? e.slice(0, Math.max(1, n)).toUpperCase() : r;
|
|
14
|
+
}
|
|
15
|
+
function c(t, i = {}) {
|
|
16
|
+
const {
|
|
17
|
+
fallback: r = "-"
|
|
18
|
+
} = i;
|
|
19
|
+
if (t == null || t === "") return r;
|
|
20
|
+
const n = t instanceof Date ? t : new Date(t);
|
|
21
|
+
return Number.isNaN(n.getTime()) ? r : o(n, {
|
|
22
|
+
addSuffix: !0
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
c as f,
|
|
27
|
+
f as g,
|
|
28
|
+
s as n
|
|
29
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { an as u, ao as y, co as S, cp as O, cq as X, cr as I, cs as D, ct as _ } from "./index-B_Z0MwXk.js";
|
|
2
|
+
function M(n, s) {
|
|
3
|
+
const e = +u(n) - +u(s);
|
|
4
|
+
return e < 0 ? -1 : e > 0 ? 1 : e;
|
|
5
|
+
}
|
|
6
|
+
function T(n) {
|
|
7
|
+
return y(n, Date.now());
|
|
8
|
+
}
|
|
9
|
+
function Y(n, s, e) {
|
|
10
|
+
const [o, t] = S(
|
|
11
|
+
e?.in,
|
|
12
|
+
n,
|
|
13
|
+
s
|
|
14
|
+
), c = o.getFullYear() - t.getFullYear(), i = o.getMonth() - t.getMonth();
|
|
15
|
+
return c * 12 + i;
|
|
16
|
+
}
|
|
17
|
+
function w(n) {
|
|
18
|
+
return (s) => {
|
|
19
|
+
const o = (n ? Math[n] : Math.trunc)(s);
|
|
20
|
+
return o === 0 ? 0 : o;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function b(n, s) {
|
|
24
|
+
return +u(n) - +u(s);
|
|
25
|
+
}
|
|
26
|
+
function F(n, s) {
|
|
27
|
+
const e = u(n, s?.in);
|
|
28
|
+
return e.setHours(23, 59, 59, 999), e;
|
|
29
|
+
}
|
|
30
|
+
function N(n, s) {
|
|
31
|
+
const e = u(n, s?.in), o = e.getMonth();
|
|
32
|
+
return e.setFullYear(e.getFullYear(), o + 1, 0), e.setHours(23, 59, 59, 999), e;
|
|
33
|
+
}
|
|
34
|
+
function H(n, s) {
|
|
35
|
+
const e = u(n, s?.in);
|
|
36
|
+
return +F(e, s) == +N(e, s);
|
|
37
|
+
}
|
|
38
|
+
function p(n, s, e) {
|
|
39
|
+
const [o, t, c] = S(
|
|
40
|
+
e?.in,
|
|
41
|
+
n,
|
|
42
|
+
n,
|
|
43
|
+
s
|
|
44
|
+
), i = M(t, c), r = Math.abs(
|
|
45
|
+
Y(t, c)
|
|
46
|
+
);
|
|
47
|
+
if (r < 1) return 0;
|
|
48
|
+
t.getMonth() === 1 && t.getDate() > 27 && t.setDate(30), t.setMonth(t.getMonth() - i * r);
|
|
49
|
+
let l = M(t, c) === -i;
|
|
50
|
+
H(o) && r === 1 && M(o, c) === 1 && (l = !1);
|
|
51
|
+
const d = i * (r - +l);
|
|
52
|
+
return d === 0 ? 0 : d;
|
|
53
|
+
}
|
|
54
|
+
function v(n, s, e) {
|
|
55
|
+
const o = b(n, s) / 1e3;
|
|
56
|
+
return w(e?.roundingMethod)(o);
|
|
57
|
+
}
|
|
58
|
+
function z(n, s, e) {
|
|
59
|
+
const o = _(), t = e?.locale ?? o.locale ?? O, c = 2520, i = M(n, s);
|
|
60
|
+
if (isNaN(i)) throw new RangeError("Invalid time value");
|
|
61
|
+
const r = Object.assign({}, e, {
|
|
62
|
+
addSuffix: e?.addSuffix,
|
|
63
|
+
comparison: i
|
|
64
|
+
}), [l, d] = S(
|
|
65
|
+
e?.in,
|
|
66
|
+
...i > 0 ? [s, n] : [n, s]
|
|
67
|
+
), m = v(d, l), x = (X(d) - X(l)) / 1e3, a = Math.round((m - x) / 60);
|
|
68
|
+
let h;
|
|
69
|
+
if (a < 2)
|
|
70
|
+
return e?.includeSeconds ? m < 5 ? t.formatDistance("lessThanXSeconds", 5, r) : m < 10 ? t.formatDistance("lessThanXSeconds", 10, r) : m < 20 ? t.formatDistance("lessThanXSeconds", 20, r) : m < 40 ? t.formatDistance("halfAMinute", 0, r) : m < 60 ? t.formatDistance("lessThanXMinutes", 1, r) : t.formatDistance("xMinutes", 1, r) : a === 0 ? t.formatDistance("lessThanXMinutes", 1, r) : t.formatDistance("xMinutes", a, r);
|
|
71
|
+
if (a < 45)
|
|
72
|
+
return t.formatDistance("xMinutes", a, r);
|
|
73
|
+
if (a < 90)
|
|
74
|
+
return t.formatDistance("aboutXHours", 1, r);
|
|
75
|
+
if (a < I) {
|
|
76
|
+
const f = Math.round(a / 60);
|
|
77
|
+
return t.formatDistance("aboutXHours", f, r);
|
|
78
|
+
} else {
|
|
79
|
+
if (a < c)
|
|
80
|
+
return t.formatDistance("xDays", 1, r);
|
|
81
|
+
if (a < D) {
|
|
82
|
+
const f = Math.round(a / I);
|
|
83
|
+
return t.formatDistance("xDays", f, r);
|
|
84
|
+
} else if (a < D * 2)
|
|
85
|
+
return h = Math.round(a / D), t.formatDistance("aboutXMonths", h, r);
|
|
86
|
+
}
|
|
87
|
+
if (h = p(d, l), h < 12) {
|
|
88
|
+
const f = Math.round(a / D);
|
|
89
|
+
return t.formatDistance("xMonths", f, r);
|
|
90
|
+
} else {
|
|
91
|
+
const f = h % 12, g = Math.trunc(h / 12);
|
|
92
|
+
return f < 3 ? t.formatDistance("aboutXYears", g, r) : f < 9 ? t.formatDistance("overXYears", g, r) : t.formatDistance("almostXYears", g + 1, r);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function L(n, s) {
|
|
96
|
+
return z(n, T(n), s);
|
|
97
|
+
}
|
|
98
|
+
export {
|
|
99
|
+
L as f
|
|
100
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "react/compiler-runtime";
|
|
3
|
+
import { Chip as f } from "@wso2/oxygen-ui";
|
|
4
|
+
import { q as l } from "./index-B_Z0MwXk.js";
|
|
5
|
+
function h(t) {
|
|
6
|
+
const e = m(5), {
|
|
7
|
+
type: r
|
|
8
|
+
} = t, n = r.toUpperCase() === "AI", i = n ? "AI" : "Regular";
|
|
9
|
+
let a;
|
|
10
|
+
e[0] !== n ? (a = (o) => n ? {
|
|
11
|
+
color: o.vars?.palette.info.main ?? o.palette.info.main,
|
|
12
|
+
bgcolor: `rgba(${o.vars?.palette.info.mainChannel ?? "0 0 0"} / 0.08)`,
|
|
13
|
+
borderColor: `rgba(${o.vars?.palette.info.mainChannel ?? "0 0 0"} / 0.3)`
|
|
14
|
+
} : {
|
|
15
|
+
color: o.vars?.palette.text.secondary ?? o.palette.text.secondary
|
|
16
|
+
}, e[0] = n, e[1] = a) : a = e[1];
|
|
17
|
+
let s;
|
|
18
|
+
return e[2] !== i || e[3] !== a ? (s = /* @__PURE__ */ p(f, { label: i, size: "small", variant: "outlined", sx: a }), e[2] = i, e[3] = a, e[4] = s) : s = e[4], s;
|
|
19
|
+
}
|
|
20
|
+
const y = "v0.9.0";
|
|
21
|
+
function w() {
|
|
22
|
+
return l.gatewayVersion?.trim() || y;
|
|
23
|
+
}
|
|
24
|
+
function c() {
|
|
25
|
+
const t = w();
|
|
26
|
+
return t.startsWith("v") ? t.slice(1) : t;
|
|
27
|
+
}
|
|
28
|
+
function u() {
|
|
29
|
+
return l.ampVersion?.trim() || "";
|
|
30
|
+
}
|
|
31
|
+
function b() {
|
|
32
|
+
const t = u();
|
|
33
|
+
return t.startsWith("v") ? t.slice(1) : t;
|
|
34
|
+
}
|
|
35
|
+
function v() {
|
|
36
|
+
const t = u();
|
|
37
|
+
return !t || t.includes("dev") ? "main" : `amp/v${t.startsWith("v") ? t.slice(1) : t}`;
|
|
38
|
+
}
|
|
39
|
+
function d(t) {
|
|
40
|
+
return `https://raw.githubusercontent.com/wso2/agent-manager/${v()}/deployments/scripts/${t}`;
|
|
41
|
+
}
|
|
42
|
+
const A = "http://localhost:9243";
|
|
43
|
+
function g() {
|
|
44
|
+
return l.gatewayControlPlaneUrl?.trim() || l.apiBaseUrl?.trim() || A;
|
|
45
|
+
}
|
|
46
|
+
function E() {
|
|
47
|
+
return `wso2apip-ai-gateway-${c()}/configs/keys.env`;
|
|
48
|
+
}
|
|
49
|
+
function L(t) {
|
|
50
|
+
const e = new URL(g()), r = t || "<your-gateway-token>";
|
|
51
|
+
return `cat > "${E()}" << 'ENVFILE'
|
|
52
|
+
GATEWAY_CONTROLPLANE_HOST=${e}
|
|
53
|
+
GATEWAY_REGISTRATION_TOKEN=${r}
|
|
54
|
+
ENVFILE`;
|
|
55
|
+
}
|
|
56
|
+
function R(t, e = "install") {
|
|
57
|
+
const r = new URL(g()).hostname, n = t || "your-gateway-token";
|
|
58
|
+
return `helm ${e} gateway oci://ghcr.io/wso2/api-platform/helm-charts/gateway --version ${c()} \\
|
|
59
|
+
--set gateway.controller.controlPlane.host="${r}" \\
|
|
60
|
+
--set gateway.controller.controlPlane.port=443 \\
|
|
61
|
+
--set gateway.controller.controlPlane.token.value="${n}" \\
|
|
62
|
+
--set gateway.config.analytics.enabled=true`;
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
h as G,
|
|
66
|
+
b as a,
|
|
67
|
+
L as b,
|
|
68
|
+
R as c,
|
|
69
|
+
E as d,
|
|
70
|
+
c as e,
|
|
71
|
+
d as g
|
|
72
|
+
};
|