@kosdev-code/kos-ui-plugin 0.1.0-dev.5114 → 0.1.0-dev.5115
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/index.cjs +18 -18
- package/index.cjs.map +1 -1
- package/index.js +402 -378
- package/index.js.map +1 -1
- package/lib/hooks/use-extension-component.d.ts +11 -0
- package/lib/hooks/use-extension-component.d.ts.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as te from "react/jsx-runtime";
|
|
2
2
|
import * as j from "react";
|
|
3
|
-
import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as
|
|
3
|
+
import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as L, Suspense as jt } from "react";
|
|
4
4
|
import h from "@emotion/styled";
|
|
5
5
|
import { r as ne, m as Bt, R as Kt, a as Yt, b as Wt, P as re, g as Ht, c as _e, D as Ut } from "./documentation-generator-Di4c9D9P.js";
|
|
6
|
-
import { C as
|
|
6
|
+
import { C as mi, f as gi, h as xi, e as yi, d as bi, l as vi } from "./documentation-generator-Di4c9D9P.js";
|
|
7
7
|
import { useKosTranslation as Gt } from "@kosdev-code/kos-ui-sdk";
|
|
8
8
|
import "zod";
|
|
9
9
|
function qt(e) {
|
|
@@ -20,9 +20,9 @@ function Zt(e) {
|
|
|
20
20
|
var Xt = /* @__PURE__ */ function() {
|
|
21
21
|
function e(n) {
|
|
22
22
|
var r = this;
|
|
23
|
-
this._insertTag = function(
|
|
24
|
-
var
|
|
25
|
-
r.tags.length === 0 ? r.insertionPoint ?
|
|
23
|
+
this._insertTag = function(i) {
|
|
24
|
+
var o;
|
|
25
|
+
r.tags.length === 0 ? r.insertionPoint ? o = r.insertionPoint.nextSibling : r.prepend ? o = r.container.firstChild : o = r.before : o = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, o), r.tags.push(i);
|
|
26
26
|
}, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
|
|
27
27
|
}
|
|
28
28
|
var t = e.prototype;
|
|
@@ -30,20 +30,20 @@ var Xt = /* @__PURE__ */ function() {
|
|
|
30
30
|
r.forEach(this._insertTag);
|
|
31
31
|
}, t.insert = function(r) {
|
|
32
32
|
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zt(this));
|
|
33
|
-
var
|
|
33
|
+
var i = this.tags[this.tags.length - 1];
|
|
34
34
|
if (this.isSpeedy) {
|
|
35
|
-
var
|
|
35
|
+
var o = qt(i);
|
|
36
36
|
try {
|
|
37
|
-
|
|
37
|
+
o.insertRule(r, o.cssRules.length);
|
|
38
38
|
} catch {
|
|
39
39
|
}
|
|
40
40
|
} else
|
|
41
|
-
|
|
41
|
+
i.appendChild(document.createTextNode(r));
|
|
42
42
|
this.ctr++;
|
|
43
43
|
}, t.flush = function() {
|
|
44
44
|
this.tags.forEach(function(r) {
|
|
45
|
-
var
|
|
46
|
-
return (
|
|
45
|
+
var i;
|
|
46
|
+
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
47
47
|
}), this.tags = [], this.ctr = 0;
|
|
48
48
|
}, e;
|
|
49
49
|
}(), z = "-ms-", he = "-moz-", E = "-webkit-", Qe = "comm", Te = "rule", Me = "decl", Jt = "@import", et = "@keyframes", Qt = "@layer", en = Math.abs, me = String.fromCharCode, tn = Object.assign;
|
|
@@ -65,7 +65,7 @@ function Ce(e, t) {
|
|
|
65
65
|
function A(e, t) {
|
|
66
66
|
return e.charCodeAt(t) | 0;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function ie(e, t, n) {
|
|
69
69
|
return e.slice(t, n);
|
|
70
70
|
}
|
|
71
71
|
function D(e) {
|
|
@@ -80,9 +80,9 @@ function le(e, t) {
|
|
|
80
80
|
function on(e, t) {
|
|
81
81
|
return e.map(t).join("");
|
|
82
82
|
}
|
|
83
|
-
var ge = 1, q = 1, nt = 0,
|
|
84
|
-
function xe(e, t, n, r,
|
|
85
|
-
return { value: e, root: t, parent: n, type: r, props:
|
|
83
|
+
var ge = 1, q = 1, nt = 0, O = 0, T = 0, Z = "";
|
|
84
|
+
function xe(e, t, n, r, i, o, s) {
|
|
85
|
+
return { value: e, root: t, parent: n, type: r, props: i, children: o, line: ge, column: q, length: s, return: "" };
|
|
86
86
|
}
|
|
87
87
|
function J(e, t) {
|
|
88
88
|
return tn(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -91,21 +91,21 @@ function sn() {
|
|
|
91
91
|
return T;
|
|
92
92
|
}
|
|
93
93
|
function an() {
|
|
94
|
-
return T =
|
|
94
|
+
return T = O > 0 ? A(Z, --O) : 0, q--, T === 10 && (q = 1, ge--), T;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return T =
|
|
96
|
+
function F() {
|
|
97
|
+
return T = O < nt ? A(Z, O++) : 0, q++, T === 10 && (q = 1, ge++), T;
|
|
98
98
|
}
|
|
99
99
|
function V() {
|
|
100
|
-
return A(Z,
|
|
100
|
+
return A(Z, O);
|
|
101
101
|
}
|
|
102
102
|
function fe() {
|
|
103
|
-
return
|
|
103
|
+
return O;
|
|
104
104
|
}
|
|
105
105
|
function ae(e, t) {
|
|
106
|
-
return
|
|
106
|
+
return ie(Z, e, t);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function oe(e) {
|
|
109
109
|
switch (e) {
|
|
110
110
|
case 0:
|
|
111
111
|
case 9:
|
|
@@ -138,29 +138,29 @@ function ie(e) {
|
|
|
138
138
|
return 0;
|
|
139
139
|
}
|
|
140
140
|
function rt(e) {
|
|
141
|
-
return ge = q = 1, nt = D(Z = e),
|
|
141
|
+
return ge = q = 1, nt = D(Z = e), O = 0, [];
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function it(e) {
|
|
144
144
|
return Z = "", e;
|
|
145
145
|
}
|
|
146
146
|
function ue(e) {
|
|
147
|
-
return tt(ae(
|
|
147
|
+
return tt(ae(O - 1, Se(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
148
148
|
}
|
|
149
149
|
function cn(e) {
|
|
150
150
|
for (; (T = V()) && T < 33; )
|
|
151
|
-
|
|
152
|
-
return
|
|
151
|
+
F();
|
|
152
|
+
return oe(e) > 2 || oe(T) > 3 ? "" : " ";
|
|
153
153
|
}
|
|
154
154
|
function ln(e, t) {
|
|
155
|
-
for (; --t &&
|
|
155
|
+
for (; --t && F() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
|
|
156
156
|
;
|
|
157
|
-
return ae(e, fe() + (t < 6 && V() == 32 &&
|
|
157
|
+
return ae(e, fe() + (t < 6 && V() == 32 && F() == 32));
|
|
158
158
|
}
|
|
159
159
|
function Se(e) {
|
|
160
|
-
for (;
|
|
160
|
+
for (; F(); )
|
|
161
161
|
switch (T) {
|
|
162
162
|
case e:
|
|
163
|
-
return
|
|
163
|
+
return O;
|
|
164
164
|
case 34:
|
|
165
165
|
case 39:
|
|
166
166
|
e !== 34 && e !== 39 && Se(T);
|
|
@@ -169,30 +169,30 @@ function Se(e) {
|
|
|
169
169
|
e === 41 && Se(e);
|
|
170
170
|
break;
|
|
171
171
|
case 92:
|
|
172
|
-
|
|
172
|
+
F();
|
|
173
173
|
break;
|
|
174
174
|
}
|
|
175
|
-
return
|
|
175
|
+
return O;
|
|
176
176
|
}
|
|
177
177
|
function dn(e, t) {
|
|
178
|
-
for (;
|
|
178
|
+
for (; F() && e + T !== 57; )
|
|
179
179
|
if (e + T === 84 && V() === 47)
|
|
180
180
|
break;
|
|
181
|
-
return "/*" + ae(t,
|
|
181
|
+
return "/*" + ae(t, O - 1) + "*" + me(e === 47 ? e : F());
|
|
182
182
|
}
|
|
183
183
|
function fn(e) {
|
|
184
|
-
for (; !
|
|
185
|
-
|
|
186
|
-
return ae(e,
|
|
184
|
+
for (; !oe(V()); )
|
|
185
|
+
F();
|
|
186
|
+
return ae(e, O);
|
|
187
187
|
}
|
|
188
188
|
function un(e) {
|
|
189
|
-
return
|
|
189
|
+
return it(pe("", null, null, null, [""], e = rt(e), 0, [0], e));
|
|
190
190
|
}
|
|
191
|
-
function pe(e, t, n, r,
|
|
192
|
-
for (var u = 0, d = 0,
|
|
193
|
-
switch (y = _, _ =
|
|
191
|
+
function pe(e, t, n, r, i, o, s, a, f) {
|
|
192
|
+
for (var u = 0, d = 0, c = s, x = 0, b = 0, y = 0, v = 1, M = 1, $ = 1, _ = 0, k = "", R = i, p = o, N = r, P = k; M; )
|
|
193
|
+
switch (y = _, _ = F()) {
|
|
194
194
|
case 40:
|
|
195
|
-
if (y != 108 && A(P,
|
|
195
|
+
if (y != 108 && A(P, c - 1) == 58) {
|
|
196
196
|
Ce(P += w(ue(_), "&", "&\f"), "&\f") != -1 && ($ = -1);
|
|
197
197
|
break;
|
|
198
198
|
}
|
|
@@ -214,14 +214,14 @@ function pe(e, t, n, r, o, i, s, c, f) {
|
|
|
214
214
|
switch (V()) {
|
|
215
215
|
case 42:
|
|
216
216
|
case 47:
|
|
217
|
-
le(pn(dn(
|
|
217
|
+
le(pn(dn(F(), fe()), t, n), f);
|
|
218
218
|
break;
|
|
219
219
|
default:
|
|
220
220
|
P += "/";
|
|
221
221
|
}
|
|
222
222
|
break;
|
|
223
223
|
case 123 * v:
|
|
224
|
-
|
|
224
|
+
a[u++] = D(P) * $;
|
|
225
225
|
case 125 * v:
|
|
226
226
|
case 59:
|
|
227
227
|
case 0:
|
|
@@ -230,30 +230,30 @@ function pe(e, t, n, r, o, i, s, c, f) {
|
|
|
230
230
|
case 125:
|
|
231
231
|
M = 0;
|
|
232
232
|
case 59 + d:
|
|
233
|
-
$ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) -
|
|
233
|
+
$ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) - c && le(b > 32 ? Ve(P + ";", r, n, c - 1) : Ve(w(P, " ", "") + ";", r, n, c - 2), f);
|
|
234
234
|
break;
|
|
235
235
|
case 59:
|
|
236
236
|
P += ";";
|
|
237
237
|
default:
|
|
238
|
-
if (le(N = Ie(P, t, n, u, d,
|
|
238
|
+
if (le(N = Ie(P, t, n, u, d, i, a, k, R = [], p = [], c), o), _ === 123)
|
|
239
239
|
if (d === 0)
|
|
240
|
-
pe(P, t, N, N, R,
|
|
240
|
+
pe(P, t, N, N, R, o, c, a, p);
|
|
241
241
|
else
|
|
242
242
|
switch (x === 99 && A(P, 3) === 110 ? 100 : x) {
|
|
243
243
|
case 100:
|
|
244
244
|
case 108:
|
|
245
245
|
case 109:
|
|
246
246
|
case 115:
|
|
247
|
-
pe(e, N, N, r && le(Ie(e, N, N, 0, 0,
|
|
247
|
+
pe(e, N, N, r && le(Ie(e, N, N, 0, 0, i, a, k, i, R = [], c), p), i, p, c, a, r ? R : p);
|
|
248
248
|
break;
|
|
249
249
|
default:
|
|
250
|
-
pe(P, N, N, N, [""], p, 0,
|
|
250
|
+
pe(P, N, N, N, [""], p, 0, a, p);
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
u = d = b = 0, v = $ = 1, k = P = "",
|
|
253
|
+
u = d = b = 0, v = $ = 1, k = P = "", c = s;
|
|
254
254
|
break;
|
|
255
255
|
case 58:
|
|
256
|
-
|
|
256
|
+
c = 1 + D(P), b = y;
|
|
257
257
|
default:
|
|
258
258
|
if (v < 1) {
|
|
259
259
|
if (_ == 123)
|
|
@@ -266,32 +266,32 @@ function pe(e, t, n, r, o, i, s, c, f) {
|
|
|
266
266
|
$ = d > 0 ? 1 : (P += "\f", -1);
|
|
267
267
|
break;
|
|
268
268
|
case 44:
|
|
269
|
-
|
|
269
|
+
a[u++] = (D(P) - 1) * $, $ = 1;
|
|
270
270
|
break;
|
|
271
271
|
case 64:
|
|
272
|
-
V() === 45 && (P += ue(
|
|
272
|
+
V() === 45 && (P += ue(F())), x = V(), d = c = D(k = P += fn(fe())), _++;
|
|
273
273
|
break;
|
|
274
274
|
case 45:
|
|
275
275
|
y === 45 && D(P) == 2 && (v = 0);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
return
|
|
278
|
+
return o;
|
|
279
279
|
}
|
|
280
|
-
function Ie(e, t, n, r,
|
|
281
|
-
for (var
|
|
282
|
-
for (var $ = 0, _ =
|
|
280
|
+
function Ie(e, t, n, r, i, o, s, a, f, u, d) {
|
|
281
|
+
for (var c = i - 1, x = i === 0 ? o : [""], b = Ae(x), y = 0, v = 0, M = 0; y < r; ++y)
|
|
282
|
+
for (var $ = 0, _ = ie(e, c + 1, c = en(v = s[y])), k = e; $ < b; ++$)
|
|
283
283
|
(k = tt(v > 0 ? x[$] + " " + _ : w(_, /&\f/g, x[$]))) && (f[M++] = k);
|
|
284
|
-
return xe(e, t, n,
|
|
284
|
+
return xe(e, t, n, i === 0 ? Te : a, f, u, d);
|
|
285
285
|
}
|
|
286
286
|
function pn(e, t, n) {
|
|
287
|
-
return xe(e, t, n, Qe, me(sn()),
|
|
287
|
+
return xe(e, t, n, Qe, me(sn()), ie(e, 2, -2), 0);
|
|
288
288
|
}
|
|
289
289
|
function Ve(e, t, n, r) {
|
|
290
|
-
return xe(e, t, n, Me,
|
|
290
|
+
return xe(e, t, n, Me, ie(e, 0, r), ie(e, r + 1, -1), r);
|
|
291
291
|
}
|
|
292
292
|
function G(e, t) {
|
|
293
|
-
for (var n = "", r = Ae(e),
|
|
294
|
-
n += t(e[
|
|
293
|
+
for (var n = "", r = Ae(e), i = 0; i < r; i++)
|
|
294
|
+
n += t(e[i], i, e, t) || "";
|
|
295
295
|
return n;
|
|
296
296
|
}
|
|
297
297
|
function hn(e, t, n, r) {
|
|
@@ -313,9 +313,9 @@ function hn(e, t, n, r) {
|
|
|
313
313
|
}
|
|
314
314
|
function mn(e) {
|
|
315
315
|
var t = Ae(e);
|
|
316
|
-
return function(n, r,
|
|
317
|
-
for (var s = "",
|
|
318
|
-
s += e[
|
|
316
|
+
return function(n, r, i, o) {
|
|
317
|
+
for (var s = "", a = 0; a < t; a++)
|
|
318
|
+
s += e[a](n, r, i, o) || "";
|
|
319
319
|
return s;
|
|
320
320
|
};
|
|
321
321
|
}
|
|
@@ -325,43 +325,43 @@ function gn(e) {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
var xn = function(t, n, r) {
|
|
328
|
-
for (var
|
|
329
|
-
|
|
330
|
-
return ae(t,
|
|
328
|
+
for (var i = 0, o = 0; i = o, o = V(), i === 38 && o === 12 && (n[r] = 1), !oe(o); )
|
|
329
|
+
F();
|
|
330
|
+
return ae(t, O);
|
|
331
331
|
}, yn = function(t, n) {
|
|
332
|
-
var r = -1,
|
|
332
|
+
var r = -1, i = 44;
|
|
333
333
|
do
|
|
334
|
-
switch (
|
|
334
|
+
switch (oe(i)) {
|
|
335
335
|
case 0:
|
|
336
|
-
|
|
336
|
+
i === 38 && V() === 12 && (n[r] = 1), t[r] += xn(O - 1, n, r);
|
|
337
337
|
break;
|
|
338
338
|
case 2:
|
|
339
|
-
t[r] += ue(
|
|
339
|
+
t[r] += ue(i);
|
|
340
340
|
break;
|
|
341
341
|
case 4:
|
|
342
|
-
if (
|
|
342
|
+
if (i === 44) {
|
|
343
343
|
t[++r] = V() === 58 ? "&\f" : "", n[r] = t[r].length;
|
|
344
344
|
break;
|
|
345
345
|
}
|
|
346
346
|
default:
|
|
347
|
-
t[r] += me(
|
|
347
|
+
t[r] += me(i);
|
|
348
348
|
}
|
|
349
|
-
while (
|
|
349
|
+
while (i = F());
|
|
350
350
|
return t;
|
|
351
351
|
}, bn = function(t, n) {
|
|
352
|
-
return
|
|
352
|
+
return it(yn(rt(t), n));
|
|
353
353
|
}, je = /* @__PURE__ */ new WeakMap(), vn = function(t) {
|
|
354
354
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
355
355
|
// negative .length indicates that this rule has been already prefixed
|
|
356
356
|
t.length < 1)) {
|
|
357
|
-
for (var n = t.value, r = t.parent,
|
|
357
|
+
for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
|
|
358
358
|
if (r = r.parent, !r)
|
|
359
359
|
return;
|
|
360
|
-
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !
|
|
360
|
+
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !i) {
|
|
361
361
|
je.set(t, !0);
|
|
362
|
-
for (var
|
|
363
|
-
for (var d = 0; d <
|
|
364
|
-
t.props[u] =
|
|
362
|
+
for (var o = [], s = bn(n, o), a = r.props, f = 0, u = 0; f < s.length; f++)
|
|
363
|
+
for (var d = 0; d < a.length; d++, u++)
|
|
364
|
+
t.props[u] = o[f] ? s[f].replace(/&\f/g, a[d]) : a[d] + " " + s[f];
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
}, En = function(t) {
|
|
@@ -372,7 +372,7 @@ var xn = function(t, n, r) {
|
|
|
372
372
|
n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
|
-
function
|
|
375
|
+
function ot(e, t) {
|
|
376
376
|
switch (nn(e, t)) {
|
|
377
377
|
case 5103:
|
|
378
378
|
return E + "print-" + e + e;
|
|
@@ -459,7 +459,7 @@ function it(e, t) {
|
|
|
459
459
|
case 102:
|
|
460
460
|
return w(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + he + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
461
461
|
case 115:
|
|
462
|
-
return ~Ce(e, "stretch") ?
|
|
462
|
+
return ~Ce(e, "stretch") ? ot(w(e, "stretch", "fill-available"), t) + e : e;
|
|
463
463
|
}
|
|
464
464
|
break;
|
|
465
465
|
case 4949:
|
|
@@ -486,33 +486,33 @@ function it(e, t) {
|
|
|
486
486
|
}
|
|
487
487
|
return e;
|
|
488
488
|
}
|
|
489
|
-
var wn = function(t, n, r,
|
|
489
|
+
var wn = function(t, n, r, i) {
|
|
490
490
|
if (t.length > -1 && !t.return)
|
|
491
491
|
switch (t.type) {
|
|
492
492
|
case Me:
|
|
493
|
-
t.return =
|
|
493
|
+
t.return = ot(t.value, t.length);
|
|
494
494
|
break;
|
|
495
495
|
case et:
|
|
496
496
|
return G([J(t, {
|
|
497
497
|
value: w(t.value, "@", "@" + E)
|
|
498
|
-
})],
|
|
498
|
+
})], i);
|
|
499
499
|
case Te:
|
|
500
500
|
if (t.length)
|
|
501
|
-
return on(t.props, function(
|
|
502
|
-
switch (rn(
|
|
501
|
+
return on(t.props, function(o) {
|
|
502
|
+
switch (rn(o, /(::plac\w+|:read-\w+)/)) {
|
|
503
503
|
case ":read-only":
|
|
504
504
|
case ":read-write":
|
|
505
505
|
return G([J(t, {
|
|
506
|
-
props: [w(
|
|
507
|
-
})],
|
|
506
|
+
props: [w(o, /:(read-\w+)/, ":" + he + "$1")]
|
|
507
|
+
})], i);
|
|
508
508
|
case "::placeholder":
|
|
509
509
|
return G([J(t, {
|
|
510
|
-
props: [w(
|
|
510
|
+
props: [w(o, /:(plac\w+)/, ":" + E + "input-$1")]
|
|
511
511
|
}), J(t, {
|
|
512
|
-
props: [w(
|
|
512
|
+
props: [w(o, /:(plac\w+)/, ":" + he + "$1")]
|
|
513
513
|
}), J(t, {
|
|
514
|
-
props: [w(
|
|
515
|
-
})],
|
|
514
|
+
props: [w(o, /:(plac\w+)/, z + "input-$1")]
|
|
515
|
+
})], i);
|
|
516
516
|
}
|
|
517
517
|
return "";
|
|
518
518
|
});
|
|
@@ -526,22 +526,22 @@ var wn = function(t, n, r, o) {
|
|
|
526
526
|
M.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
|
-
var
|
|
529
|
+
var i = t.stylisPlugins || Cn, o = {}, s, a = [];
|
|
530
530
|
s = t.container || document.head, Array.prototype.forEach.call(
|
|
531
531
|
// this means we will ignore elements which don't have a space in them which
|
|
532
532
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
533
533
|
document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
|
|
534
534
|
function(v) {
|
|
535
535
|
for (var M = v.getAttribute("data-emotion").split(" "), $ = 1; $ < M.length; $++)
|
|
536
|
-
|
|
537
|
-
|
|
536
|
+
o[M[$]] = !0;
|
|
537
|
+
a.push(v);
|
|
538
538
|
}
|
|
539
539
|
);
|
|
540
540
|
var f, u = [vn, En];
|
|
541
541
|
{
|
|
542
|
-
var d,
|
|
542
|
+
var d, c = [hn, gn(function(v) {
|
|
543
543
|
d.insert(v);
|
|
544
|
-
})], x = mn(u.concat(
|
|
544
|
+
})], x = mn(u.concat(i, c)), b = function(M) {
|
|
545
545
|
return G(un(M), x);
|
|
546
546
|
};
|
|
547
547
|
f = function(M, $, _, k) {
|
|
@@ -559,11 +559,11 @@ var wn = function(t, n, r, o) {
|
|
|
559
559
|
insertionPoint: t.insertionPoint
|
|
560
560
|
}),
|
|
561
561
|
nonce: t.nonce,
|
|
562
|
-
inserted:
|
|
562
|
+
inserted: o,
|
|
563
563
|
registered: {},
|
|
564
564
|
insert: f
|
|
565
565
|
};
|
|
566
|
-
return y.sheet.hydrate(
|
|
566
|
+
return y.sheet.hydrate(a), y;
|
|
567
567
|
}, Pe = { exports: {} }, C = {};
|
|
568
568
|
/** @license React v16.13.1
|
|
569
569
|
* react-is.production.min.js
|
|
@@ -578,7 +578,7 @@ function Pn() {
|
|
|
578
578
|
if (Be)
|
|
579
579
|
return C;
|
|
580
580
|
Be = 1;
|
|
581
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107,
|
|
581
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
582
582
|
function k(p) {
|
|
583
583
|
if (typeof p == "object" && p !== null) {
|
|
584
584
|
var N = p.$$typeof;
|
|
@@ -588,13 +588,13 @@ function Pn() {
|
|
|
588
588
|
case f:
|
|
589
589
|
case u:
|
|
590
590
|
case r:
|
|
591
|
-
case i:
|
|
592
591
|
case o:
|
|
593
|
-
case
|
|
592
|
+
case i:
|
|
593
|
+
case c:
|
|
594
594
|
return p;
|
|
595
595
|
default:
|
|
596
596
|
switch (p = p && p.$$typeof, p) {
|
|
597
|
-
case
|
|
597
|
+
case a:
|
|
598
598
|
case d:
|
|
599
599
|
case y:
|
|
600
600
|
case b:
|
|
@@ -612,10 +612,10 @@ function Pn() {
|
|
|
612
612
|
function R(p) {
|
|
613
613
|
return k(p) === u;
|
|
614
614
|
}
|
|
615
|
-
return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer =
|
|
615
|
+
return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer = a, C.ContextProvider = s, C.Element = t, C.ForwardRef = d, C.Fragment = r, C.Lazy = y, C.Memo = b, C.Portal = n, C.Profiler = o, C.StrictMode = i, C.Suspense = c, C.isAsyncMode = function(p) {
|
|
616
616
|
return R(p) || k(p) === f;
|
|
617
617
|
}, C.isConcurrentMode = R, C.isContextConsumer = function(p) {
|
|
618
|
-
return k(p) ===
|
|
618
|
+
return k(p) === a;
|
|
619
619
|
}, C.isContextProvider = function(p) {
|
|
620
620
|
return k(p) === s;
|
|
621
621
|
}, C.isElement = function(p) {
|
|
@@ -631,13 +631,13 @@ function Pn() {
|
|
|
631
631
|
}, C.isPortal = function(p) {
|
|
632
632
|
return k(p) === n;
|
|
633
633
|
}, C.isProfiler = function(p) {
|
|
634
|
-
return k(p) === i;
|
|
635
|
-
}, C.isStrictMode = function(p) {
|
|
636
634
|
return k(p) === o;
|
|
635
|
+
}, C.isStrictMode = function(p) {
|
|
636
|
+
return k(p) === i;
|
|
637
637
|
}, C.isSuspense = function(p) {
|
|
638
|
-
return k(p) ===
|
|
638
|
+
return k(p) === c;
|
|
639
639
|
}, C.isValidElementType = function(p) {
|
|
640
|
-
return typeof p == "string" || typeof p == "function" || p === r || p === u || p ===
|
|
640
|
+
return typeof p == "string" || typeof p == "function" || p === r || p === u || p === o || p === i || p === c || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === s || p.$$typeof === a || p.$$typeof === d || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === _ || p.$$typeof === v);
|
|
641
641
|
}, C.typeOf = k, C;
|
|
642
642
|
}
|
|
643
643
|
var S = {};
|
|
@@ -652,10 +652,10 @@ var S = {};
|
|
|
652
652
|
var Ke;
|
|
653
653
|
function kn() {
|
|
654
654
|
return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
655
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107,
|
|
655
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
656
656
|
function k(m) {
|
|
657
657
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
658
|
-
m === r || m === u || m ===
|
|
658
|
+
m === r || m === u || m === o || m === i || m === c || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === s || m.$$typeof === a || m.$$typeof === d || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === _ || m.$$typeof === v);
|
|
659
659
|
}
|
|
660
660
|
function R(m) {
|
|
661
661
|
if (typeof m == "object" && m !== null) {
|
|
@@ -667,14 +667,14 @@ function kn() {
|
|
|
667
667
|
case f:
|
|
668
668
|
case u:
|
|
669
669
|
case r:
|
|
670
|
-
case i:
|
|
671
670
|
case o:
|
|
672
|
-
case
|
|
671
|
+
case i:
|
|
672
|
+
case c:
|
|
673
673
|
return ce;
|
|
674
674
|
default:
|
|
675
675
|
var De = ce && ce.$$typeof;
|
|
676
676
|
switch (De) {
|
|
677
|
-
case
|
|
677
|
+
case a:
|
|
678
678
|
case d:
|
|
679
679
|
case y:
|
|
680
680
|
case b:
|
|
@@ -689,15 +689,15 @@ function kn() {
|
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
var p = f, N = u, P =
|
|
692
|
+
var p = f, N = u, P = a, yt = s, bt = t, vt = d, Et = r, wt = y, Ct = b, St = n, Pt = o, kt = i, $t = c, Fe = !1;
|
|
693
693
|
function Rt(m) {
|
|
694
|
-
return
|
|
694
|
+
return Fe || (Fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Le(m) || R(m) === f;
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function Le(m) {
|
|
697
697
|
return R(m) === u;
|
|
698
698
|
}
|
|
699
699
|
function _t(m) {
|
|
700
|
-
return R(m) ===
|
|
700
|
+
return R(m) === a;
|
|
701
701
|
}
|
|
702
702
|
function Tt(m) {
|
|
703
703
|
return R(m) === s;
|
|
@@ -714,22 +714,22 @@ function kn() {
|
|
|
714
714
|
function zt(m) {
|
|
715
715
|
return R(m) === y;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Ot(m) {
|
|
718
718
|
return R(m) === b;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Ft(m) {
|
|
721
721
|
return R(m) === n;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
return R(m) ===
|
|
723
|
+
function Lt(m) {
|
|
724
|
+
return R(m) === o;
|
|
725
725
|
}
|
|
726
726
|
function Dt(m) {
|
|
727
|
-
return R(m) ===
|
|
727
|
+
return R(m) === i;
|
|
728
728
|
}
|
|
729
729
|
function It(m) {
|
|
730
|
-
return R(m) ===
|
|
730
|
+
return R(m) === c;
|
|
731
731
|
}
|
|
732
|
-
S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode =
|
|
732
|
+
S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode = Le, S.isContextConsumer = _t, S.isContextProvider = Tt, S.isElement = Mt, S.isForwardRef = At, S.isFragment = Nt, S.isLazy = zt, S.isMemo = Ot, S.isPortal = Ft, S.isProfiler = Lt, S.isStrictMode = Dt, S.isSuspense = It, S.isValidElementType = k, S.typeOf = R;
|
|
733
733
|
}()), S;
|
|
734
734
|
}
|
|
735
735
|
process.env.NODE_ENV === "production" ? Pe.exports = Pn() : Pe.exports = kn();
|
|
@@ -752,12 +752,12 @@ at[st.Memo] = _n;
|
|
|
752
752
|
var Tn = !0;
|
|
753
753
|
function Mn(e, t, n) {
|
|
754
754
|
var r = "";
|
|
755
|
-
return n.split(" ").forEach(function(
|
|
756
|
-
e[
|
|
755
|
+
return n.split(" ").forEach(function(i) {
|
|
756
|
+
e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " ");
|
|
757
757
|
}), r;
|
|
758
758
|
}
|
|
759
759
|
var ct = function(t, n, r) {
|
|
760
|
-
var
|
|
760
|
+
var i = t.key + "-" + n.name;
|
|
761
761
|
// we only need to add the styles to the registered cache if the
|
|
762
762
|
// class name could be used further down
|
|
763
763
|
// the tree but if it's a string tag, we know it won't
|
|
@@ -767,25 +767,25 @@ var ct = function(t, n, r) {
|
|
|
767
767
|
// in node since emotion-server relies on whether a style is in
|
|
768
768
|
// the registered cache to know whether a style is global or not
|
|
769
769
|
// also, note that this check will be dead code eliminated in the browser
|
|
770
|
-
Tn === !1) && t.registered[
|
|
770
|
+
Tn === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles);
|
|
771
771
|
}, An = function(t, n, r) {
|
|
772
772
|
ct(t, n, r);
|
|
773
|
-
var
|
|
773
|
+
var i = t.key + "-" + n.name;
|
|
774
774
|
if (t.inserted[n.name] === void 0) {
|
|
775
|
-
var
|
|
775
|
+
var o = n;
|
|
776
776
|
do
|
|
777
|
-
t.insert(n ===
|
|
778
|
-
while (
|
|
777
|
+
t.insert(n === o ? "." + i : "", o, t.sheet, !0), o = o.next;
|
|
778
|
+
while (o !== void 0);
|
|
779
779
|
}
|
|
780
780
|
};
|
|
781
781
|
function Nn(e) {
|
|
782
|
-
for (var t = 0, n, r = 0,
|
|
782
|
+
for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
|
|
783
783
|
n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
|
|
784
784
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
785
785
|
n >>> 24, t = /* Math.imul(k, m): */
|
|
786
786
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
787
787
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
788
|
-
switch (
|
|
788
|
+
switch (i) {
|
|
789
789
|
case 3:
|
|
790
790
|
t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
791
791
|
case 2:
|
|
@@ -847,29 +847,29 @@ var zn = {
|
|
|
847
847
|
strokeOpacity: 1,
|
|
848
848
|
strokeWidth: 1
|
|
849
849
|
};
|
|
850
|
-
function
|
|
850
|
+
function On(e) {
|
|
851
851
|
var t = /* @__PURE__ */ Object.create(null);
|
|
852
852
|
return function(n) {
|
|
853
853
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
854
854
|
};
|
|
855
855
|
}
|
|
856
|
-
var
|
|
856
|
+
var Fn = /[A-Z]|^ms/g, Ln = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
|
|
857
857
|
return t.charCodeAt(1) === 45;
|
|
858
858
|
}, Ye = function(t) {
|
|
859
859
|
return t != null && typeof t != "boolean";
|
|
860
|
-
}, ve = /* @__PURE__ */
|
|
861
|
-
return lt(e) ? e : e.replace(
|
|
860
|
+
}, ve = /* @__PURE__ */ On(function(e) {
|
|
861
|
+
return lt(e) ? e : e.replace(Fn, "-$&").toLowerCase();
|
|
862
862
|
}), We = function(t, n) {
|
|
863
863
|
switch (t) {
|
|
864
864
|
case "animation":
|
|
865
865
|
case "animationName":
|
|
866
866
|
if (typeof n == "string")
|
|
867
|
-
return n.replace(
|
|
867
|
+
return n.replace(Ln, function(r, i, o) {
|
|
868
868
|
return I = {
|
|
869
|
-
name:
|
|
870
|
-
styles:
|
|
869
|
+
name: i,
|
|
870
|
+
styles: o,
|
|
871
871
|
next: I
|
|
872
|
-
},
|
|
872
|
+
}, i;
|
|
873
873
|
});
|
|
874
874
|
}
|
|
875
875
|
return zn[t] !== 1 && !lt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
@@ -884,16 +884,16 @@ function se(e, t, n) {
|
|
|
884
884
|
case "boolean":
|
|
885
885
|
return "";
|
|
886
886
|
case "object": {
|
|
887
|
-
var
|
|
888
|
-
if (
|
|
887
|
+
var i = n;
|
|
888
|
+
if (i.anim === 1)
|
|
889
889
|
return I = {
|
|
890
|
-
name:
|
|
891
|
-
styles:
|
|
890
|
+
name: i.name,
|
|
891
|
+
styles: i.styles,
|
|
892
892
|
next: I
|
|
893
|
-
},
|
|
894
|
-
var
|
|
895
|
-
if (
|
|
896
|
-
var s =
|
|
893
|
+
}, i.name;
|
|
894
|
+
var o = n;
|
|
895
|
+
if (o.styles !== void 0) {
|
|
896
|
+
var s = o.next;
|
|
897
897
|
if (s !== void 0)
|
|
898
898
|
for (; s !== void 0; )
|
|
899
899
|
I = {
|
|
@@ -901,8 +901,8 @@ function se(e, t, n) {
|
|
|
901
901
|
styles: s.styles,
|
|
902
902
|
next: I
|
|
903
903
|
}, s = s.next;
|
|
904
|
-
var
|
|
905
|
-
return
|
|
904
|
+
var a = o.styles + ";";
|
|
905
|
+
return a;
|
|
906
906
|
}
|
|
907
907
|
return Dn(e, t, n);
|
|
908
908
|
}
|
|
@@ -920,27 +920,27 @@ function se(e, t, n) {
|
|
|
920
920
|
function Dn(e, t, n) {
|
|
921
921
|
var r = "";
|
|
922
922
|
if (Array.isArray(n))
|
|
923
|
-
for (var
|
|
924
|
-
r += se(e, t, n[
|
|
923
|
+
for (var i = 0; i < n.length; i++)
|
|
924
|
+
r += se(e, t, n[i]) + ";";
|
|
925
925
|
else
|
|
926
|
-
for (var
|
|
927
|
-
var s = n[
|
|
926
|
+
for (var o in n) {
|
|
927
|
+
var s = n[o];
|
|
928
928
|
if (typeof s != "object") {
|
|
929
|
-
var
|
|
930
|
-
Ye(
|
|
929
|
+
var a = s;
|
|
930
|
+
Ye(a) && (r += ve(o) + ":" + We(o, a) + ";");
|
|
931
931
|
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
932
932
|
for (var f = 0; f < s.length; f++)
|
|
933
|
-
Ye(s[f]) && (r += ve(
|
|
933
|
+
Ye(s[f]) && (r += ve(o) + ":" + We(o, s[f]) + ";");
|
|
934
934
|
else {
|
|
935
935
|
var u = se(e, t, s);
|
|
936
|
-
switch (
|
|
936
|
+
switch (o) {
|
|
937
937
|
case "animation":
|
|
938
938
|
case "animationName": {
|
|
939
|
-
r += ve(
|
|
939
|
+
r += ve(o) + ":" + u + ";";
|
|
940
940
|
break;
|
|
941
941
|
}
|
|
942
942
|
default:
|
|
943
|
-
r +=
|
|
943
|
+
r += o + "{" + u + "}";
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
}
|
|
@@ -950,27 +950,27 @@ var He = /label:\s*([^\s;{]+)\s*(;|$)/g, I;
|
|
|
950
950
|
function Ue(e, t, n) {
|
|
951
951
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
952
952
|
return e[0];
|
|
953
|
-
var r = !0,
|
|
953
|
+
var r = !0, i = "";
|
|
954
954
|
I = void 0;
|
|
955
|
-
var
|
|
956
|
-
if (
|
|
957
|
-
r = !1,
|
|
955
|
+
var o = e[0];
|
|
956
|
+
if (o == null || o.raw === void 0)
|
|
957
|
+
r = !1, i += se(n, t, o);
|
|
958
958
|
else {
|
|
959
|
-
var s =
|
|
960
|
-
|
|
959
|
+
var s = o;
|
|
960
|
+
i += s[0];
|
|
961
961
|
}
|
|
962
|
-
for (var
|
|
963
|
-
if (
|
|
964
|
-
var f =
|
|
965
|
-
|
|
962
|
+
for (var a = 1; a < e.length; a++)
|
|
963
|
+
if (i += se(n, t, e[a]), r) {
|
|
964
|
+
var f = o;
|
|
965
|
+
i += f[a];
|
|
966
966
|
}
|
|
967
967
|
He.lastIndex = 0;
|
|
968
|
-
for (var u = "", d; (d = He.exec(
|
|
968
|
+
for (var u = "", d; (d = He.exec(i)) !== null; )
|
|
969
969
|
u += "-" + d[1];
|
|
970
|
-
var
|
|
970
|
+
var c = Nn(i) + u;
|
|
971
971
|
return {
|
|
972
|
-
name:
|
|
973
|
-
styles:
|
|
972
|
+
name: c,
|
|
973
|
+
styles: i,
|
|
974
974
|
next: I
|
|
975
975
|
};
|
|
976
976
|
}
|
|
@@ -991,8 +991,8 @@ process.env.NODE_ENV !== "production" && (Ne.displayName = "EmotionCacheContext"
|
|
|
991
991
|
Ne.Provider;
|
|
992
992
|
var Bn = function(t) {
|
|
993
993
|
return /* @__PURE__ */ Vt(function(n, r) {
|
|
994
|
-
var
|
|
995
|
-
return t(n,
|
|
994
|
+
var i = Re(Ne);
|
|
995
|
+
return t(n, i, r);
|
|
996
996
|
});
|
|
997
997
|
}, dt = /* @__PURE__ */ j.createContext({});
|
|
998
998
|
process.env.NODE_ENV !== "production" && (dt.displayName = "EmotionThemeContext");
|
|
@@ -1009,12 +1009,12 @@ var Ge = function(t) {
|
|
|
1009
1009
|
if (t)
|
|
1010
1010
|
for (var n = t.split(`
|
|
1011
1011
|
`), r = 0; r < n.length; r++) {
|
|
1012
|
-
var
|
|
1013
|
-
if (
|
|
1014
|
-
if (Yn.has(
|
|
1012
|
+
var i = Kn(n[r]);
|
|
1013
|
+
if (i) {
|
|
1014
|
+
if (Yn.has(i))
|
|
1015
1015
|
break;
|
|
1016
|
-
if (/^[A-Z]/.test(
|
|
1017
|
-
return Wn(
|
|
1016
|
+
if (/^[A-Z]/.test(i))
|
|
1017
|
+
return Wn(i);
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
}, ke = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", $e = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", ft = function(t, n) {
|
|
@@ -1022,37 +1022,37 @@ var Ge = function(t) {
|
|
|
1022
1022
|
n.css.indexOf(":") !== -1)
|
|
1023
1023
|
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + n.css + "`");
|
|
1024
1024
|
var r = {};
|
|
1025
|
-
for (var
|
|
1026
|
-
ye.call(n,
|
|
1025
|
+
for (var i in n)
|
|
1026
|
+
ye.call(n, i) && (r[i] = n[i]);
|
|
1027
1027
|
if (r[ke] = t, process.env.NODE_ENV !== "production" && n.css && (typeof n.css != "object" || typeof n.css.name != "string" || n.css.name.indexOf("-") === -1)) {
|
|
1028
|
-
var
|
|
1029
|
-
|
|
1028
|
+
var o = Hn(new Error().stack);
|
|
1029
|
+
o && (r[$e] = o);
|
|
1030
1030
|
}
|
|
1031
1031
|
return r;
|
|
1032
1032
|
}, Un = function(t) {
|
|
1033
|
-
var n = t.cache, r = t.serialized,
|
|
1034
|
-
return ct(n, r,
|
|
1035
|
-
return An(n, r,
|
|
1033
|
+
var n = t.cache, r = t.serialized, i = t.isStringTag;
|
|
1034
|
+
return ct(n, r, i), jn(function() {
|
|
1035
|
+
return An(n, r, i);
|
|
1036
1036
|
}), null;
|
|
1037
1037
|
}, ut = /* @__PURE__ */ Bn(function(e, t, n) {
|
|
1038
1038
|
var r = e.css;
|
|
1039
1039
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
1040
|
-
var
|
|
1041
|
-
typeof e.className == "string" ? s = Mn(t.registered,
|
|
1042
|
-
var
|
|
1043
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1040
|
+
var i = e[ke], o = [r], s = "";
|
|
1041
|
+
typeof e.className == "string" ? s = Mn(t.registered, o, e.className) : e.className != null && (s = e.className + " ");
|
|
1042
|
+
var a = Ue(o, void 0, j.useContext(dt));
|
|
1043
|
+
if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) {
|
|
1044
1044
|
var f = e[$e];
|
|
1045
|
-
f && (
|
|
1045
|
+
f && (a = Ue([a, "label:" + f + ";"]));
|
|
1046
1046
|
}
|
|
1047
|
-
s += t.key + "-" +
|
|
1047
|
+
s += t.key + "-" + a.name;
|
|
1048
1048
|
var u = {};
|
|
1049
1049
|
for (var d in e)
|
|
1050
1050
|
ye.call(e, d) && d !== "css" && d !== ke && (process.env.NODE_ENV === "production" || d !== $e) && (u[d] = e[d]);
|
|
1051
1051
|
return u.ref = n, u.className = s, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Un, {
|
|
1052
1052
|
cache: t,
|
|
1053
|
-
serialized:
|
|
1054
|
-
isStringTag: typeof
|
|
1055
|
-
}), /* @__PURE__ */ j.createElement(
|
|
1053
|
+
serialized: a,
|
|
1054
|
+
isStringTag: typeof i == "string"
|
|
1055
|
+
}), /* @__PURE__ */ j.createElement(i, u));
|
|
1056
1056
|
});
|
|
1057
1057
|
process.env.NODE_ENV !== "production" && (ut.displayName = "EmotionCssPropInternal");
|
|
1058
1058
|
var pt = ut, K = te.Fragment;
|
|
@@ -1071,16 +1071,16 @@ const ht = Je(null), Gn = () => {
|
|
|
1071
1071
|
return e;
|
|
1072
1072
|
};
|
|
1073
1073
|
function mt(e, t) {
|
|
1074
|
-
const n = Gn(), r = (t == null ? void 0 : t.includeDisabled) ?? !1,
|
|
1074
|
+
const n = Gn(), r = (t == null ? void 0 : t.includeDisabled) ?? !1, i = (t == null ? void 0 : t.autoResolve) ?? !1, [o, s] = B(
|
|
1075
1075
|
() => n.getExtensions(e, r)
|
|
1076
1076
|
);
|
|
1077
1077
|
W(() => (s(n.getExtensions(e, r)), n.subscribe(e, () => {
|
|
1078
1078
|
s(n.getExtensions(e, r));
|
|
1079
1079
|
})), [n, e, r]);
|
|
1080
|
-
const
|
|
1080
|
+
const a = L(() => i ? ne(o) : null, [o, i]);
|
|
1081
1081
|
return {
|
|
1082
|
-
extensions:
|
|
1083
|
-
best:
|
|
1082
|
+
extensions: o,
|
|
1083
|
+
best: a,
|
|
1084
1084
|
isLoading: !1
|
|
1085
1085
|
// Not async, so never loading
|
|
1086
1086
|
};
|
|
@@ -1094,32 +1094,32 @@ const qn = (e) => {
|
|
|
1094
1094
|
fallbackOnDisabled: n = !0,
|
|
1095
1095
|
autoSwitchOnDisabled: r = !1
|
|
1096
1096
|
}) => {
|
|
1097
|
-
const { extensions:
|
|
1097
|
+
const { extensions: i } = mt(e, {
|
|
1098
1098
|
includeDisabled: !1,
|
|
1099
1099
|
// Only get enabled contributions
|
|
1100
1100
|
autoResolve: !1
|
|
1101
1101
|
// We'll resolve manually based on module prop
|
|
1102
|
-
}), [
|
|
1102
|
+
}), [o, s] = B(
|
|
1103
1103
|
null
|
|
1104
|
-
), [
|
|
1104
|
+
), [a, f] = B(null), u = L(() => {
|
|
1105
1105
|
if (t) {
|
|
1106
|
-
const d =
|
|
1107
|
-
return d || (r && !n ? ne(
|
|
1106
|
+
const d = i[t];
|
|
1107
|
+
return d || (r && !n ? ne(i) : null);
|
|
1108
1108
|
}
|
|
1109
|
-
return ne(
|
|
1110
|
-
}, [
|
|
1109
|
+
return ne(i);
|
|
1110
|
+
}, [i, t, n, r]);
|
|
1111
1111
|
return W(() => {
|
|
1112
1112
|
async function d() {
|
|
1113
|
-
const
|
|
1114
|
-
f(
|
|
1115
|
-
const x = (
|
|
1113
|
+
const c = u;
|
|
1114
|
+
f(c ?? null);
|
|
1115
|
+
const x = (c == null ? void 0 : c.remote) || "", b = qn(c) ? c.view.component : c == null ? void 0 : c.component, y = b ? `./${b}` : "";
|
|
1116
1116
|
if (!x)
|
|
1117
1117
|
return;
|
|
1118
1118
|
const v = Y.lazy(() => Bt.loadRemoteModule(x, y));
|
|
1119
1119
|
s(v);
|
|
1120
1120
|
}
|
|
1121
1121
|
d();
|
|
1122
|
-
}, [u]), [
|
|
1122
|
+
}, [u]), [o, a];
|
|
1123
1123
|
};
|
|
1124
1124
|
class Xn extends Y.Component {
|
|
1125
1125
|
constructor(t) {
|
|
@@ -1154,23 +1154,23 @@ const Jn = h.div`
|
|
|
1154
1154
|
fallback: t,
|
|
1155
1155
|
module: n,
|
|
1156
1156
|
props: r,
|
|
1157
|
-
fallbackOnDisabled:
|
|
1158
|
-
autoSwitchOnDisabled:
|
|
1157
|
+
fallbackOnDisabled: i = !0,
|
|
1158
|
+
autoSwitchOnDisabled: o = !1
|
|
1159
1159
|
}) => {
|
|
1160
|
-
const [s,
|
|
1160
|
+
const [s, a] = Zn({
|
|
1161
1161
|
extension: e,
|
|
1162
1162
|
module: n,
|
|
1163
|
-
fallbackOnDisabled:
|
|
1164
|
-
autoSwitchOnDisabled:
|
|
1163
|
+
fallbackOnDisabled: i,
|
|
1164
|
+
autoSwitchOnDisabled: o
|
|
1165
1165
|
}), f = !s, u = t || /* @__PURE__ */ l(Jn, { children: `Dynamic component, ${e}, not found...` });
|
|
1166
1166
|
return f ? /* @__PURE__ */ l(K, { children: u }) : /* @__PURE__ */ l(Xn, { fallback: u, children: /* @__PURE__ */ l(
|
|
1167
1167
|
jt,
|
|
1168
1168
|
{
|
|
1169
|
-
fallback:
|
|
1169
|
+
fallback: a != null && a.size ? /* @__PURE__ */ l(
|
|
1170
1170
|
Qn,
|
|
1171
1171
|
{
|
|
1172
|
-
width:
|
|
1173
|
-
height:
|
|
1172
|
+
width: a.size.width,
|
|
1173
|
+
height: a.size.height
|
|
1174
1174
|
}
|
|
1175
1175
|
) : null,
|
|
1176
1176
|
children: /* @__PURE__ */ l(s, { ...r })
|
|
@@ -1204,11 +1204,11 @@ const Jn = h.div`
|
|
|
1204
1204
|
border-color: #0969da;
|
|
1205
1205
|
box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
|
|
1206
1206
|
}
|
|
1207
|
-
`,
|
|
1207
|
+
`, ir = h.div`
|
|
1208
1208
|
flex: 1;
|
|
1209
1209
|
overflow-y: auto;
|
|
1210
1210
|
min-height: 0; /* Critical for making overflow work in flexbox */
|
|
1211
|
-
`,
|
|
1211
|
+
`, or = h.div`
|
|
1212
1212
|
padding: 12px 16px;
|
|
1213
1213
|
border-bottom: 1px solid #f0f0f0;
|
|
1214
1214
|
cursor: pointer;
|
|
@@ -1258,9 +1258,9 @@ const Jn = h.div`
|
|
|
1258
1258
|
selectedExtensionId: t,
|
|
1259
1259
|
onExtensionSelect: n,
|
|
1260
1260
|
searchTerm: r,
|
|
1261
|
-
onSearchChange:
|
|
1262
|
-
className:
|
|
1263
|
-
}) => /* @__PURE__ */ g(er, { className:
|
|
1261
|
+
onSearchChange: i,
|
|
1262
|
+
className: o
|
|
1263
|
+
}) => /* @__PURE__ */ g(er, { className: o, children: [
|
|
1264
1264
|
/* @__PURE__ */ g(tr, { children: [
|
|
1265
1265
|
/* @__PURE__ */ l(nr, { children: "Extension Points" }),
|
|
1266
1266
|
/* @__PURE__ */ l(
|
|
@@ -1268,14 +1268,14 @@ const Jn = h.div`
|
|
|
1268
1268
|
{
|
|
1269
1269
|
placeholder: "Search extension points...",
|
|
1270
1270
|
value: r,
|
|
1271
|
-
onChange: (s) =>
|
|
1271
|
+
onChange: (s) => i(s.target.value)
|
|
1272
1272
|
}
|
|
1273
1273
|
)
|
|
1274
1274
|
] }),
|
|
1275
|
-
/* @__PURE__ */ l(
|
|
1276
|
-
var
|
|
1275
|
+
/* @__PURE__ */ l(ir, { children: e.length > 0 ? e.map((s) => {
|
|
1276
|
+
var a;
|
|
1277
1277
|
return /* @__PURE__ */ g(
|
|
1278
|
-
|
|
1278
|
+
or,
|
|
1279
1279
|
{
|
|
1280
1280
|
selected: s.id === t,
|
|
1281
1281
|
onClick: () => n(s.id),
|
|
@@ -1284,7 +1284,7 @@ const Jn = h.div`
|
|
|
1284
1284
|
/* @__PURE__ */ g(ar, { children: [
|
|
1285
1285
|
/* @__PURE__ */ g("div", { children: [
|
|
1286
1286
|
/* @__PURE__ */ l(qe, { variant: s.source, children: s.source }),
|
|
1287
|
-
((
|
|
1287
|
+
((a = s.metadata) == null ? void 0 : a.deprecated) && /* @__PURE__ */ l(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
|
|
1288
1288
|
] }),
|
|
1289
1289
|
/* @__PURE__ */ g("div", { children: [
|
|
1290
1290
|
s.pluginCount,
|
|
@@ -1310,8 +1310,8 @@ const Jn = h.div`
|
|
|
1310
1310
|
top: 0;
|
|
1311
1311
|
left: 0;
|
|
1312
1312
|
z-index: 10000;
|
|
1313
|
-
`,
|
|
1314
|
-
const [
|
|
1313
|
+
`, ni = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
|
|
1314
|
+
const [i, o] = B(), [s, a] = B(null), f = L(() => i != null && i.extensions ? new Kt(i.extensions) : null, [i == null ? void 0 : i.extensions]);
|
|
1315
1315
|
return W(
|
|
1316
1316
|
() => () => {
|
|
1317
1317
|
f == null || f.destroy();
|
|
@@ -1319,7 +1319,7 @@ const Jn = h.div`
|
|
|
1319
1319
|
[f]
|
|
1320
1320
|
), W(() => {
|
|
1321
1321
|
(async () => {
|
|
1322
|
-
var d,
|
|
1322
|
+
var d, c;
|
|
1323
1323
|
try {
|
|
1324
1324
|
t && (console.log(
|
|
1325
1325
|
"KosPluginProvider: Waiting for pre-initialization conditions..."
|
|
@@ -1328,18 +1328,18 @@ const Jn = h.div`
|
|
|
1328
1328
|
const b = (d = window.KosPlugins) == null ? void 0 : d.__dynamicRemotes;
|
|
1329
1329
|
x || (b && Object.keys(b).length > 0 ? (console.log(
|
|
1330
1330
|
"KosPluginProvider: Using existing plugin initialization"
|
|
1331
|
-
), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (
|
|
1331
|
+
), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (c = window.KosPlugins) == null ? void 0 : c.__dynamicRemotes));
|
|
1332
1332
|
const y = await Wt(x);
|
|
1333
|
-
|
|
1333
|
+
o(y);
|
|
1334
1334
|
} catch (x) {
|
|
1335
|
-
console.error("KosPluginProvider: Failed to initialize plugins", x),
|
|
1335
|
+
console.error("KosPluginProvider: Failed to initialize plugins", x), a(x);
|
|
1336
1336
|
}
|
|
1337
1337
|
})();
|
|
1338
1338
|
}, [e, t, n]), s ? /* @__PURE__ */ g(Ze, { children: [
|
|
1339
1339
|
/* @__PURE__ */ l("div", { children: "Failed to load plugins" }),
|
|
1340
1340
|
/* @__PURE__ */ l("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: s.message })
|
|
1341
|
-
] }) : /* @__PURE__ */ l(gt.Provider, { value:
|
|
1342
|
-
},
|
|
1341
|
+
] }) : /* @__PURE__ */ l(gt.Provider, { value: i, children: /* @__PURE__ */ l(ht.Provider, { value: f, children: i ? r : /* @__PURE__ */ l(Ze, { children: "Loading remote plugins..." }) }) });
|
|
1342
|
+
}, Oe = () => {
|
|
1343
1343
|
const e = Re(gt);
|
|
1344
1344
|
if (!e)
|
|
1345
1345
|
throw new Error(
|
|
@@ -1348,16 +1348,16 @@ const Jn = h.div`
|
|
|
1348
1348
|
return e;
|
|
1349
1349
|
};
|
|
1350
1350
|
function xt(e) {
|
|
1351
|
-
const { extensions: t } =
|
|
1352
|
-
return
|
|
1351
|
+
const { extensions: t } = Oe();
|
|
1352
|
+
return L(() => {
|
|
1353
1353
|
try {
|
|
1354
1354
|
const r = re.getExtensionPoints(
|
|
1355
1355
|
t,
|
|
1356
1356
|
e
|
|
1357
|
-
),
|
|
1357
|
+
), i = re.calculateHealthStats(r);
|
|
1358
1358
|
return {
|
|
1359
1359
|
extensionPoints: r,
|
|
1360
|
-
healthStats:
|
|
1360
|
+
healthStats: i,
|
|
1361
1361
|
isLoading: !1,
|
|
1362
1362
|
error: void 0
|
|
1363
1363
|
};
|
|
@@ -1379,7 +1379,7 @@ function xt(e) {
|
|
|
1379
1379
|
}, [t, e]);
|
|
1380
1380
|
}
|
|
1381
1381
|
function dr(e, t) {
|
|
1382
|
-
const n = xt(t), r =
|
|
1382
|
+
const n = xt(t), r = L(
|
|
1383
1383
|
() => re.filterExtensionPoints(
|
|
1384
1384
|
n.extensionPoints,
|
|
1385
1385
|
e
|
|
@@ -1391,9 +1391,9 @@ function dr(e, t) {
|
|
|
1391
1391
|
filteredExtensionPoints: r
|
|
1392
1392
|
};
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function ri(e) {
|
|
1395
1395
|
const { extensionPoints: t } = xt();
|
|
1396
|
-
return
|
|
1396
|
+
return L(
|
|
1397
1397
|
() => re.getExtensionPointById(
|
|
1398
1398
|
t,
|
|
1399
1399
|
e
|
|
@@ -1540,10 +1540,10 @@ const kr = ({
|
|
|
1540
1540
|
extensionPointId: t,
|
|
1541
1541
|
className: n
|
|
1542
1542
|
}) => {
|
|
1543
|
-
const r = re.analyzePlugin(e), { hasComponent:
|
|
1543
|
+
const r = re.analyzePlugin(e), { hasComponent: i, healthStatus: o, capabilities: s } = r, a = Ht(e.id), f = Sr(e, t), u = Pr(t);
|
|
1544
1544
|
return /* @__PURE__ */ g(fr, { className: n, children: [
|
|
1545
1545
|
/* @__PURE__ */ l(ur, { children: /* @__PURE__ */ g(pr, { children: [
|
|
1546
|
-
/* @__PURE__ */ l(hr, { status:
|
|
1546
|
+
/* @__PURE__ */ l(hr, { status: o }),
|
|
1547
1547
|
/* @__PURE__ */ l(mr, { children: e.id })
|
|
1548
1548
|
] }) }),
|
|
1549
1549
|
/* @__PURE__ */ g(gr, { children: [
|
|
@@ -1567,8 +1567,8 @@ const kr = ({
|
|
|
1567
1567
|
/* @__PURE__ */ l("span", { children: e.component })
|
|
1568
1568
|
] }),
|
|
1569
1569
|
f && u.map((d) => {
|
|
1570
|
-
const
|
|
1571
|
-
if (
|
|
1570
|
+
const c = f[d];
|
|
1571
|
+
if (c == null)
|
|
1572
1572
|
return null;
|
|
1573
1573
|
const x = d.replace(/([A-Z])/g, " $1").replace(/^./, (b) => b.toUpperCase()).trim();
|
|
1574
1574
|
return /* @__PURE__ */ g(Q, { children: [
|
|
@@ -1576,15 +1576,15 @@ const kr = ({
|
|
|
1576
1576
|
x,
|
|
1577
1577
|
":"
|
|
1578
1578
|
] }),
|
|
1579
|
-
/* @__PURE__ */ l("span", { children: String(
|
|
1579
|
+
/* @__PURE__ */ l("span", { children: String(c) })
|
|
1580
1580
|
] }, d);
|
|
1581
1581
|
}),
|
|
1582
|
-
!
|
|
1582
|
+
!i && /* @__PURE__ */ l(xr, { children: "No UI component (data/utility plugin)" }),
|
|
1583
1583
|
s.length > 0 && /* @__PURE__ */ l(yr, { children: s.map((d) => /* @__PURE__ */ l(br, { children: d }, d)) }),
|
|
1584
|
-
|
|
1584
|
+
a.length > 0 && /* @__PURE__ */ l(vr, { children: a.map((d, c) => /* @__PURE__ */ g(Er, { type: d.type, children: [
|
|
1585
1585
|
/* @__PURE__ */ l(wr, { type: d.type }),
|
|
1586
1586
|
/* @__PURE__ */ l(Cr, { children: d.message })
|
|
1587
|
-
] },
|
|
1587
|
+
] }, c)) })
|
|
1588
1588
|
] })
|
|
1589
1589
|
] });
|
|
1590
1590
|
}, $r = h.div`
|
|
@@ -1670,12 +1670,12 @@ const kr = ({
|
|
|
1670
1670
|
healthStats: e,
|
|
1671
1671
|
className: t
|
|
1672
1672
|
}) => {
|
|
1673
|
-
const { extensions: n } =
|
|
1673
|
+
const { extensions: n } = Oe(), {
|
|
1674
1674
|
totalPlugins: r,
|
|
1675
|
-
extensionPointsWithPlugins:
|
|
1676
|
-
totalExtensionPoints:
|
|
1675
|
+
extensionPointsWithPlugins: i,
|
|
1676
|
+
totalExtensionPoints: o,
|
|
1677
1677
|
simplifiedExtensionPoints: s,
|
|
1678
|
-
legacyExtensionPoints:
|
|
1678
|
+
legacyExtensionPoints: a,
|
|
1679
1679
|
deprecatedExtensionPoints: f
|
|
1680
1680
|
} = e, u = () => {
|
|
1681
1681
|
try {
|
|
@@ -1687,7 +1687,7 @@ const kr = ({
|
|
|
1687
1687
|
includeLegacyExtensions: !0,
|
|
1688
1688
|
includePluginHealth: !0
|
|
1689
1689
|
}
|
|
1690
|
-
),
|
|
1690
|
+
), c = new Blob([d.content], { type: "text/markdown" }), x = URL.createObjectURL(c), b = document.createElement("a");
|
|
1691
1691
|
b.href = x, b.download = `kos-extension-points-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.md`, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(x);
|
|
1692
1692
|
} catch (d) {
|
|
1693
1693
|
console.error("Failed to generate documentation:", d);
|
|
@@ -1704,9 +1704,9 @@ const kr = ({
|
|
|
1704
1704
|
] })
|
|
1705
1705
|
] }),
|
|
1706
1706
|
/* @__PURE__ */ l(ee, { children: /* @__PURE__ */ g("span", { children: [
|
|
1707
|
-
o,
|
|
1708
|
-
"/",
|
|
1709
1707
|
i,
|
|
1708
|
+
"/",
|
|
1709
|
+
o,
|
|
1710
1710
|
" active"
|
|
1711
1711
|
] }) })
|
|
1712
1712
|
] }),
|
|
@@ -1716,7 +1716,7 @@ const kr = ({
|
|
|
1716
1716
|
/* @__PURE__ */ l("span", { children: "simplified" })
|
|
1717
1717
|
] }),
|
|
1718
1718
|
/* @__PURE__ */ g(ee, { children: [
|
|
1719
|
-
/* @__PURE__ */ l(Ee, { variant: "legacy", children:
|
|
1719
|
+
/* @__PURE__ */ l(Ee, { variant: "legacy", children: a }),
|
|
1720
1720
|
/* @__PURE__ */ l("span", { children: "legacy" })
|
|
1721
1721
|
] }),
|
|
1722
1722
|
f > 0 && /* @__PURE__ */ g(ee, { children: [
|
|
@@ -1768,16 +1768,16 @@ const kr = ({
|
|
|
1768
1768
|
padding: 16px;
|
|
1769
1769
|
border-bottom: 1px solid #e1e5e9;
|
|
1770
1770
|
background: #f6f8fa;
|
|
1771
|
-
`,
|
|
1771
|
+
`, Or = h.h4`
|
|
1772
1772
|
margin: 0 0 8px 0;
|
|
1773
1773
|
font-size: 16px;
|
|
1774
1774
|
font-weight: 600;
|
|
1775
1775
|
color: #24292f;
|
|
1776
|
-
`,
|
|
1776
|
+
`, Fr = h.p`
|
|
1777
1777
|
margin: 0;
|
|
1778
1778
|
font-size: 14px;
|
|
1779
1779
|
color: #656d76;
|
|
1780
|
-
`,
|
|
1780
|
+
`, Lr = h.div`
|
|
1781
1781
|
flex: 1;
|
|
1782
1782
|
padding: 16px;
|
|
1783
1783
|
overflow-y: auto;
|
|
@@ -1818,14 +1818,14 @@ const kr = ({
|
|
|
1818
1818
|
showLegacyExtensions: t = !0,
|
|
1819
1819
|
extensionFilter: n = ""
|
|
1820
1820
|
}) => {
|
|
1821
|
-
const [r,
|
|
1821
|
+
const [r, i] = B(
|
|
1822
1822
|
null
|
|
1823
|
-
), [
|
|
1823
|
+
), [o, s] = B(n), { filteredExtensionPoints: a, healthStats: f, isLoading: u, error: d } = dr(o, {
|
|
1824
1824
|
includeLegacyExtensions: t
|
|
1825
|
-
}),
|
|
1825
|
+
}), c = a.find(
|
|
1826
1826
|
(y) => y.id === r
|
|
1827
1827
|
), x = (y) => {
|
|
1828
|
-
|
|
1828
|
+
i(y);
|
|
1829
1829
|
}, b = (y) => {
|
|
1830
1830
|
s(y);
|
|
1831
1831
|
};
|
|
@@ -1838,21 +1838,21 @@ const kr = ({
|
|
|
1838
1838
|
/* @__PURE__ */ l(
|
|
1839
1839
|
lr,
|
|
1840
1840
|
{
|
|
1841
|
-
extensionPoints:
|
|
1841
|
+
extensionPoints: a,
|
|
1842
1842
|
selectedExtensionId: r,
|
|
1843
1843
|
onExtensionSelect: x,
|
|
1844
|
-
searchTerm:
|
|
1844
|
+
searchTerm: o,
|
|
1845
1845
|
onSearchChange: b
|
|
1846
1846
|
}
|
|
1847
1847
|
)
|
|
1848
1848
|
] }),
|
|
1849
|
-
/* @__PURE__ */ l(Nr, { children:
|
|
1849
|
+
/* @__PURE__ */ l(Nr, { children: c ? /* @__PURE__ */ g(K, { children: [
|
|
1850
1850
|
/* @__PURE__ */ g(zr, { children: [
|
|
1851
|
-
/* @__PURE__ */ l(
|
|
1852
|
-
|
|
1851
|
+
/* @__PURE__ */ l(Or, { children: c.displayName || c.id }),
|
|
1852
|
+
c.description && /* @__PURE__ */ l(Fr, { children: c.description })
|
|
1853
1853
|
] }),
|
|
1854
|
-
/* @__PURE__ */ g(
|
|
1855
|
-
|
|
1854
|
+
/* @__PURE__ */ g(Lr, { children: [
|
|
1855
|
+
c.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
|
|
1856
1856
|
/* @__PURE__ */ g(
|
|
1857
1857
|
"h5",
|
|
1858
1858
|
{
|
|
@@ -1863,16 +1863,16 @@ const kr = ({
|
|
|
1863
1863
|
},
|
|
1864
1864
|
children: [
|
|
1865
1865
|
"Active Plugins (",
|
|
1866
|
-
|
|
1866
|
+
c.pluginCount,
|
|
1867
1867
|
")"
|
|
1868
1868
|
]
|
|
1869
1869
|
}
|
|
1870
1870
|
),
|
|
1871
|
-
/* @__PURE__ */ l(Dr, { children:
|
|
1871
|
+
/* @__PURE__ */ l(Dr, { children: c.plugins.map((y) => /* @__PURE__ */ l(
|
|
1872
1872
|
kr,
|
|
1873
1873
|
{
|
|
1874
1874
|
plugin: y,
|
|
1875
|
-
extensionPointId:
|
|
1875
|
+
extensionPointId: c.id
|
|
1876
1876
|
},
|
|
1877
1877
|
y.id
|
|
1878
1878
|
)) })
|
|
@@ -1891,28 +1891,28 @@ const kr = ({
|
|
|
1891
1891
|
),
|
|
1892
1892
|
/* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
|
|
1893
1893
|
] }),
|
|
1894
|
-
|
|
1894
|
+
c.metadata && /* @__PURE__ */ g(Ir, { children: [
|
|
1895
1895
|
/* @__PURE__ */ l(Vr, { children: "Extension Point Details" }),
|
|
1896
1896
|
/* @__PURE__ */ g(jr, { children: [
|
|
1897
1897
|
/* @__PURE__ */ l(H, { children: "ID:" }),
|
|
1898
|
-
/* @__PURE__ */ l(U, { children:
|
|
1898
|
+
/* @__PURE__ */ l(U, { children: c.id }),
|
|
1899
1899
|
/* @__PURE__ */ l(H, { children: "Source:" }),
|
|
1900
|
-
/* @__PURE__ */ l(U, { children:
|
|
1901
|
-
|
|
1900
|
+
/* @__PURE__ */ l(U, { children: c.source }),
|
|
1901
|
+
c.metadata.category && /* @__PURE__ */ g(K, { children: [
|
|
1902
1902
|
/* @__PURE__ */ l(H, { children: "Category:" }),
|
|
1903
|
-
/* @__PURE__ */ l(U, { children:
|
|
1903
|
+
/* @__PURE__ */ l(U, { children: c.metadata.category })
|
|
1904
1904
|
] }),
|
|
1905
|
-
|
|
1905
|
+
c.metadata.owner && /* @__PURE__ */ g(K, { children: [
|
|
1906
1906
|
/* @__PURE__ */ l(H, { children: "Owner:" }),
|
|
1907
|
-
/* @__PURE__ */ l(U, { children:
|
|
1907
|
+
/* @__PURE__ */ l(U, { children: c.metadata.owner })
|
|
1908
1908
|
] }),
|
|
1909
|
-
|
|
1909
|
+
c.metadata.since && /* @__PURE__ */ g(K, { children: [
|
|
1910
1910
|
/* @__PURE__ */ l(H, { children: "Since:" }),
|
|
1911
|
-
/* @__PURE__ */ l(U, { children:
|
|
1911
|
+
/* @__PURE__ */ l(U, { children: c.metadata.since })
|
|
1912
1912
|
] }),
|
|
1913
|
-
|
|
1913
|
+
c.metadata.tags && c.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
|
|
1914
1914
|
/* @__PURE__ */ l(H, { children: "Tags:" }),
|
|
1915
|
-
/* @__PURE__ */ l(U, { children:
|
|
1915
|
+
/* @__PURE__ */ l(U, { children: c.metadata.tags.join(", ") })
|
|
1916
1916
|
] })
|
|
1917
1917
|
] })
|
|
1918
1918
|
] })
|
|
@@ -2022,34 +2022,34 @@ const kr = ({
|
|
|
2022
2022
|
font-size: 12px;
|
|
2023
2023
|
color: #656d76;
|
|
2024
2024
|
margin-left: 8px;
|
|
2025
|
-
`,
|
|
2025
|
+
`, ii = ({
|
|
2026
2026
|
keyboardShortcut: e = "ctrl+shift+p",
|
|
2027
2027
|
showToggleButton: t = !0,
|
|
2028
2028
|
toggleButtonPosition: n = "bottom-right",
|
|
2029
2029
|
...r
|
|
2030
2030
|
}) => {
|
|
2031
|
-
const [
|
|
2031
|
+
const [i, o] = B(!1);
|
|
2032
2032
|
W(() => {
|
|
2033
2033
|
const f = (u) => {
|
|
2034
|
-
const
|
|
2034
|
+
const c = e.toLowerCase().split("+").map((y) => y.trim());
|
|
2035
2035
|
let x = !0;
|
|
2036
|
-
|
|
2037
|
-
const b =
|
|
2036
|
+
c.includes("ctrl") && !u.ctrlKey && (x = !1), c.includes("shift") && !u.shiftKey && (x = !1), c.includes("alt") && !u.altKey && (x = !1), c.includes("meta") && !u.metaKey && (x = !1);
|
|
2037
|
+
const b = c.find(
|
|
2038
2038
|
(y) => !["ctrl", "shift", "alt", "meta"].includes(y)
|
|
2039
2039
|
);
|
|
2040
|
-
b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(),
|
|
2040
|
+
b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), o((y) => !y));
|
|
2041
2041
|
};
|
|
2042
2042
|
return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
|
|
2043
2043
|
}, [e]), W(() => {
|
|
2044
2044
|
const f = (u) => {
|
|
2045
|
-
u.key === "Escape" &&
|
|
2045
|
+
u.key === "Escape" && i && o(!1);
|
|
2046
2046
|
};
|
|
2047
2047
|
return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
|
|
2048
|
-
}, [
|
|
2048
|
+
}, [i]);
|
|
2049
2049
|
const s = () => {
|
|
2050
|
-
|
|
2051
|
-
},
|
|
2052
|
-
f.target === f.currentTarget &&
|
|
2050
|
+
o((f) => !f);
|
|
2051
|
+
}, a = (f) => {
|
|
2052
|
+
f.target === f.currentTarget && o(!1);
|
|
2053
2053
|
};
|
|
2054
2054
|
return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(K, { children: [
|
|
2055
2055
|
t && /* @__PURE__ */ l(
|
|
@@ -2091,7 +2091,7 @@ const kr = ({
|
|
|
2091
2091
|
)
|
|
2092
2092
|
}
|
|
2093
2093
|
),
|
|
2094
|
-
/* @__PURE__ */ l(Kr, { visible:
|
|
2094
|
+
/* @__PURE__ */ l(Kr, { visible: i, onClick: a, children: /* @__PURE__ */ g(Yr, { children: [
|
|
2095
2095
|
/* @__PURE__ */ g(Wr, { children: [
|
|
2096
2096
|
/* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
2097
2097
|
/* @__PURE__ */ l(Hr, { children: "KOS Plugin Explorer" }),
|
|
@@ -2100,38 +2100,54 @@ const kr = ({
|
|
|
2100
2100
|
" to toggle"
|
|
2101
2101
|
] })
|
|
2102
2102
|
] }),
|
|
2103
|
-
/* @__PURE__ */ l(Ur, { onClick: () =>
|
|
2103
|
+
/* @__PURE__ */ l(Ur, { onClick: () => o(!1), "aria-label": "Close", children: "×" })
|
|
2104
2104
|
] }),
|
|
2105
2105
|
/* @__PURE__ */ l(Br, { ...r })
|
|
2106
2106
|
] }) })
|
|
2107
2107
|
] });
|
|
2108
2108
|
};
|
|
2109
|
-
function
|
|
2109
|
+
function oi(e) {
|
|
2110
2110
|
return Y.useMemo(() => {
|
|
2111
2111
|
if (!e.config.hasView)
|
|
2112
2112
|
return null;
|
|
2113
2113
|
const t = (n) => {
|
|
2114
|
-
const {
|
|
2114
|
+
const {
|
|
2115
|
+
module: r,
|
|
2116
|
+
fallback: i,
|
|
2117
|
+
fallbackOnDisabled: o,
|
|
2118
|
+
autoSwitchOnDisabled: s,
|
|
2119
|
+
...a
|
|
2120
|
+
} = n;
|
|
2115
2121
|
return Y.createElement(ze, {
|
|
2116
2122
|
extension: e.id,
|
|
2117
2123
|
module: r,
|
|
2118
|
-
fallback:
|
|
2119
|
-
|
|
2124
|
+
fallback: i,
|
|
2125
|
+
fallbackOnDisabled: o,
|
|
2126
|
+
autoSwitchOnDisabled: s,
|
|
2127
|
+
props: a
|
|
2120
2128
|
});
|
|
2121
2129
|
};
|
|
2122
2130
|
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
2123
2131
|
}, [e]);
|
|
2124
2132
|
}
|
|
2125
|
-
function
|
|
2133
|
+
function si(e) {
|
|
2126
2134
|
if (!e.config.hasView)
|
|
2127
2135
|
return null;
|
|
2128
2136
|
const t = (n) => {
|
|
2129
|
-
const {
|
|
2137
|
+
const {
|
|
2138
|
+
module: r,
|
|
2139
|
+
fallback: i,
|
|
2140
|
+
fallbackOnDisabled: o,
|
|
2141
|
+
autoSwitchOnDisabled: s,
|
|
2142
|
+
...a
|
|
2143
|
+
} = n;
|
|
2130
2144
|
return Y.createElement(ze, {
|
|
2131
2145
|
extension: e.id,
|
|
2132
2146
|
module: r,
|
|
2133
|
-
fallback:
|
|
2134
|
-
|
|
2147
|
+
fallback: i,
|
|
2148
|
+
fallbackOnDisabled: o,
|
|
2149
|
+
autoSwitchOnDisabled: s,
|
|
2150
|
+
props: a
|
|
2135
2151
|
});
|
|
2136
2152
|
};
|
|
2137
2153
|
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
@@ -2143,13 +2159,21 @@ function Zr(e) {
|
|
|
2143
2159
|
return console.warn(`Extension point not found: ${e}`), null;
|
|
2144
2160
|
if (!n.config.hasView)
|
|
2145
2161
|
return null;
|
|
2146
|
-
const r = (
|
|
2147
|
-
const {
|
|
2162
|
+
const r = (i) => {
|
|
2163
|
+
const {
|
|
2164
|
+
module: o,
|
|
2165
|
+
fallback: s,
|
|
2166
|
+
fallbackOnDisabled: a,
|
|
2167
|
+
autoSwitchOnDisabled: f,
|
|
2168
|
+
...u
|
|
2169
|
+
} = i;
|
|
2148
2170
|
return Y.createElement(ze, {
|
|
2149
2171
|
extension: e,
|
|
2150
|
-
module:
|
|
2172
|
+
module: o,
|
|
2151
2173
|
fallback: s,
|
|
2152
|
-
|
|
2174
|
+
fallbackOnDisabled: a,
|
|
2175
|
+
autoSwitchOnDisabled: f,
|
|
2176
|
+
props: u
|
|
2153
2177
|
});
|
|
2154
2178
|
};
|
|
2155
2179
|
return r.displayName = `${n.config.displayName || e}.Component`, r;
|
|
@@ -2164,14 +2188,14 @@ function X(e) {
|
|
|
2164
2188
|
autoResolve: !1
|
|
2165
2189
|
}
|
|
2166
2190
|
);
|
|
2167
|
-
return
|
|
2191
|
+
return L(() => {
|
|
2168
2192
|
if (typeof e == "object" && e.id) {
|
|
2169
2193
|
const r = e;
|
|
2170
2194
|
if (r.getExtensions) {
|
|
2171
|
-
const
|
|
2195
|
+
const i = r.getExtensions({
|
|
2172
2196
|
[r.id]: n
|
|
2173
2197
|
});
|
|
2174
|
-
return Object.values(
|
|
2198
|
+
return Object.values(i);
|
|
2175
2199
|
}
|
|
2176
2200
|
return Object.values(
|
|
2177
2201
|
n
|
|
@@ -2180,82 +2204,82 @@ function X(e) {
|
|
|
2180
2204
|
return Object.values(n);
|
|
2181
2205
|
}, [e, n]);
|
|
2182
2206
|
}
|
|
2183
|
-
function
|
|
2184
|
-
const { extensions: n } =
|
|
2185
|
-
return
|
|
2207
|
+
function ai(e, t) {
|
|
2208
|
+
const { extensions: n } = Oe(), r = X(e);
|
|
2209
|
+
return L(() => {
|
|
2186
2210
|
if (!r || r.length === 0)
|
|
2187
2211
|
return null;
|
|
2188
2212
|
if (t != null && t.customRanker)
|
|
2189
2213
|
return t.customRanker(r);
|
|
2190
2214
|
if (typeof e == "object" && t) {
|
|
2191
|
-
let
|
|
2192
|
-
if (t.propertyMatches && (
|
|
2215
|
+
let a = r;
|
|
2216
|
+
if (t.propertyMatches && (a = a.filter(
|
|
2193
2217
|
(u) => Object.entries(t.propertyMatches).every(
|
|
2194
|
-
([d,
|
|
2218
|
+
([d, c]) => {
|
|
2195
2219
|
var x;
|
|
2196
|
-
return ((x = u.data) == null ? void 0 : x[d]) ===
|
|
2220
|
+
return ((x = u.data) == null ? void 0 : x[d]) === c;
|
|
2197
2221
|
}
|
|
2198
2222
|
)
|
|
2199
2223
|
)), t.preferredModule) {
|
|
2200
|
-
const u =
|
|
2224
|
+
const u = a.find(
|
|
2201
2225
|
(d) => d.sectionId === t.preferredModule
|
|
2202
2226
|
);
|
|
2203
2227
|
if (u)
|
|
2204
2228
|
return u;
|
|
2205
2229
|
}
|
|
2206
|
-
const f =
|
|
2230
|
+
const f = a.reduce((u, d) => (u[d.id] = d, u), {});
|
|
2207
2231
|
return ne(f);
|
|
2208
2232
|
}
|
|
2209
|
-
const
|
|
2210
|
-
return ne(
|
|
2233
|
+
const i = typeof e == "string" ? e : e.id, o = (n == null ? void 0 : n[i]) || {};
|
|
2234
|
+
return ne(o, t == null ? void 0 : t.preferredModule);
|
|
2211
2235
|
}, [e, r, n, t]);
|
|
2212
2236
|
}
|
|
2213
|
-
function
|
|
2237
|
+
function ci(e) {
|
|
2214
2238
|
return X(e).length > 0;
|
|
2215
2239
|
}
|
|
2216
|
-
function
|
|
2240
|
+
function li(e) {
|
|
2217
2241
|
return X(e).length;
|
|
2218
2242
|
}
|
|
2219
|
-
function
|
|
2243
|
+
function di(e, t) {
|
|
2220
2244
|
const n = X(e);
|
|
2221
|
-
return
|
|
2245
|
+
return L(() => {
|
|
2222
2246
|
let r = n.filter(t.filter);
|
|
2223
2247
|
return t.sort && (r = r.sort(t.sort)), r;
|
|
2224
2248
|
}, [n, t.filter, t.sort]);
|
|
2225
2249
|
}
|
|
2226
|
-
function
|
|
2227
|
-
const n = X(e), [r,
|
|
2250
|
+
function fi(e, t) {
|
|
2251
|
+
const n = X(e), [r, i] = B(/* @__PURE__ */ new Map()), o = L(
|
|
2228
2252
|
() => t != null && t.filter ? n.filter(t.filter) : n,
|
|
2229
2253
|
[n, t == null ? void 0 : t.filter]
|
|
2230
2254
|
), s = (t == null ? void 0 : t.moduleProperty) || "module";
|
|
2231
2255
|
return W(() => {
|
|
2232
2256
|
(async () => {
|
|
2233
2257
|
var f;
|
|
2234
|
-
for (const u of
|
|
2258
|
+
for (const u of o) {
|
|
2235
2259
|
const d = u.id;
|
|
2236
2260
|
if (!r.has(d)) {
|
|
2237
|
-
|
|
2238
|
-
(
|
|
2261
|
+
i(
|
|
2262
|
+
(c) => new Map(c).set(d, {
|
|
2239
2263
|
module: null,
|
|
2240
2264
|
loading: !0,
|
|
2241
2265
|
error: null
|
|
2242
2266
|
})
|
|
2243
2267
|
);
|
|
2244
2268
|
try {
|
|
2245
|
-
const
|
|
2269
|
+
const c = ((f = u.data) == null ? void 0 : f[s]) || u[s] || `./${u.id}`, x = u.remote;
|
|
2246
2270
|
if (!x)
|
|
2247
2271
|
throw new Error(`No remote specified for extension ${d}`);
|
|
2248
|
-
const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x,
|
|
2249
|
-
|
|
2272
|
+
const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x, c);
|
|
2273
|
+
i(
|
|
2250
2274
|
(v) => new Map(v).set(d, {
|
|
2251
2275
|
module: y,
|
|
2252
2276
|
loading: !1,
|
|
2253
2277
|
error: null
|
|
2254
2278
|
})
|
|
2255
2279
|
);
|
|
2256
|
-
} catch (
|
|
2257
|
-
const x =
|
|
2258
|
-
|
|
2280
|
+
} catch (c) {
|
|
2281
|
+
const x = c instanceof Error ? c.message : "Unknown error";
|
|
2282
|
+
i(
|
|
2259
2283
|
(b) => new Map(b).set(d, {
|
|
2260
2284
|
module: null,
|
|
2261
2285
|
loading: !1,
|
|
@@ -2266,73 +2290,73 @@ function uo(e, t) {
|
|
|
2266
2290
|
}
|
|
2267
2291
|
}
|
|
2268
2292
|
})();
|
|
2269
|
-
}, [
|
|
2270
|
-
() =>
|
|
2271
|
-
const f = r.get(
|
|
2293
|
+
}, [o, s, r]), L(
|
|
2294
|
+
() => o.map((a) => {
|
|
2295
|
+
const f = r.get(a.id) || {
|
|
2272
2296
|
module: null,
|
|
2273
2297
|
loading: !0,
|
|
2274
2298
|
error: null
|
|
2275
2299
|
};
|
|
2276
2300
|
return {
|
|
2277
|
-
extension:
|
|
2301
|
+
extension: a,
|
|
2278
2302
|
module: f.module,
|
|
2279
2303
|
loading: f.loading,
|
|
2280
2304
|
error: f.error
|
|
2281
2305
|
};
|
|
2282
2306
|
}),
|
|
2283
|
-
[
|
|
2307
|
+
[o, r]
|
|
2284
2308
|
);
|
|
2285
2309
|
}
|
|
2286
|
-
function
|
|
2287
|
-
const n = X(e), r = Zr(e),
|
|
2310
|
+
function ui(e, t) {
|
|
2311
|
+
const n = X(e), r = Zr(e), i = (t == null ? void 0 : t.namespaceProperty) || "namespace", o = L(() => {
|
|
2288
2312
|
const f = n.map((u) => {
|
|
2289
2313
|
var d;
|
|
2290
|
-
return (d = u.data) == null ? void 0 : d[
|
|
2314
|
+
return (d = u.data) == null ? void 0 : d[i];
|
|
2291
2315
|
}).filter(Boolean);
|
|
2292
2316
|
return Array.from(new Set(f));
|
|
2293
|
-
}, [n,
|
|
2317
|
+
}, [n, i]), { t: s, i18n: a } = Gt(o);
|
|
2294
2318
|
return {
|
|
2295
2319
|
extensions: n,
|
|
2296
2320
|
t: s,
|
|
2297
|
-
i18n:
|
|
2321
|
+
i18n: a,
|
|
2298
2322
|
Component: r,
|
|
2299
|
-
namespaces:
|
|
2323
|
+
namespaces: o
|
|
2300
2324
|
};
|
|
2301
2325
|
}
|
|
2302
2326
|
export {
|
|
2303
|
-
|
|
2327
|
+
mi as ContributionRegistry,
|
|
2304
2328
|
ze as DynamicComponent,
|
|
2305
2329
|
lr as ExtensionPointList,
|
|
2306
|
-
|
|
2307
|
-
|
|
2330
|
+
ii as FloatingPluginExplorer,
|
|
2331
|
+
ni as KosPluginProvider,
|
|
2308
2332
|
kr as PluginCard,
|
|
2309
2333
|
Br as PluginExplorer,
|
|
2310
2334
|
Mr as PluginHealthDashboard,
|
|
2311
2335
|
Kt as ReactiveExtensionRegistry,
|
|
2312
2336
|
ht as ReactiveExtensionRegistryContext,
|
|
2313
2337
|
gt as RemotesContext,
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2338
|
+
si as createExtensionComponent,
|
|
2339
|
+
gi as defineExtensionPoint,
|
|
2340
|
+
xi as generatePluginConfiguration,
|
|
2341
|
+
yi as getContributions,
|
|
2342
|
+
bi as getExtensions,
|
|
2319
2343
|
Wt as initPluginManager,
|
|
2320
2344
|
Yt as initializeKosPlugins,
|
|
2321
|
-
|
|
2345
|
+
vi as loadExtensions,
|
|
2322
2346
|
ne as resolveBestExtension,
|
|
2323
|
-
|
|
2347
|
+
ai as useBest,
|
|
2324
2348
|
Zn as useDynamicComponent,
|
|
2325
|
-
|
|
2349
|
+
oi as useExtensionComponent,
|
|
2326
2350
|
Zr as useExtensionComponentById,
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2351
|
+
li as useExtensionCount,
|
|
2352
|
+
ui as useExtensionI18n,
|
|
2353
|
+
ri as useExtensionPoint,
|
|
2330
2354
|
X as useExtensions,
|
|
2331
2355
|
dr as useFilteredExtensionPoints,
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2356
|
+
di as useFilteredExtensions,
|
|
2357
|
+
ci as useHasExtensions,
|
|
2358
|
+
Oe as useKosPluginsContext,
|
|
2359
|
+
fi as useModules,
|
|
2336
2360
|
xt as usePluginDiscovery,
|
|
2337
2361
|
Gn as useReactiveExtensionRegistry,
|
|
2338
2362
|
mt as useReactiveExtensions
|