apiuikit 2.3.1 → 2.4.0
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/{CodeSamples-BZ9XQjgB.js → CodeSamples-DlTU0NQt.js} +753 -771
- package/dist/{CodeSamples-q8uQxaVQ.cjs → CodeSamples-cudhC1Tt.cjs} +31 -31
- package/dist/{LogoExtension-Dl1WqCLh.js → LogoExtension-CB2hokoQ.js} +1 -1
- package/dist/{LogoExtension-BHflNL3k.cjs → LogoExtension-CWmh9Ac1.cjs} +1 -1
- package/dist/apiuikit.cjs.js +1 -1
- package/dist/apiuikit.es.js +1 -1
- package/dist/containers/Operation/OperationHeader.d.ts +4 -3
- package/dist/{index-CueEY-QU.js → index-9nxb2bCY.js} +1 -1
- package/dist/{index-CabXKpy5.js → index-B0PAsEtK.js} +1 -1
- package/dist/{index-Wj8fLc_a.js → index-D1eDZSHR.js} +30 -38
- package/dist/{index-BK2Ww7ke.cjs → index-Dgi7m_9C.cjs} +25 -25
- package/dist/{index-Cd6FW5xD.cjs → index-JfEtoyra.cjs} +1 -1
- package/dist/{index-CzxZNRji.cjs → index-jpFnjoiM.cjs} +1 -1
- package/dist/{protoToJsonSchema-DldJrtOQ.js → protoToJsonSchema-BtR0DMuR.js} +1 -1
- package/dist/{protoToJsonSchema-D0-qDx0Y.cjs → protoToJsonSchema-sAcBTEqG.cjs} +1 -1
- package/dist/{protobufSchemaParser-CBy9b_Wq.js → protobufSchemaParser-C5H7VtBA.js} +2 -2
- package/dist/{protobufSchemaParser-Dvl7IrZM.cjs → protobufSchemaParser-DQwQQY_N.cjs} +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("./index-Dgi7m_9C.cjs");function n({value:e}){const o=t.resolveLogo(e);return o?r.jsx("img",{src:o.url,alt:o.altText??"logo",style:o.backgroundColor?{backgroundColor:o.backgroundColor}:void 0,className:"max-h-24 max-w-24 object-contain"}):null}exports.default=n;
|
package/dist/apiuikit.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-Dgi7m_9C.cjs");exports.AsyncAPI=e.AsyncAPI;exports.AsyncAPIInfo=e.AsyncAPIInfo;exports.AsyncAPIMessage=e.AsyncAPIMessage;exports.AsyncAPIMessages=e.AsyncAPIMessages;exports.AsyncAPIOperation=e.AsyncAPIOperation;exports.AsyncAPIOperations=e.AsyncAPIOperations;exports.AsyncAPIProvider=e.AsyncAPIProvider;exports.AsyncAPIRenderer=e.AsyncAPIRenderer;exports.AsyncAPISchemas=e.AsyncAPISchemas;exports.AsyncAPIServers=e.AsyncAPIServers;exports.ErrorBoundary=e.ErrorBoundary;exports.OpenAPI=e.OpenAPI;exports.OpenAPIEndpoint=e.OpenAPIEndpoint;exports.OpenAPIEndpoints=e.OpenAPIEndpoints;exports.OpenAPIInfo=e.OpenAPIInfo;exports.OpenAPIProvider=e.OpenAPIProvider;exports.OpenAPIRenderer=e.OpenAPIRenderer;exports.OpenAPISchemas=e.OpenAPISchemas;exports.OpenAPIServers=e.OpenAPIServers;exports.OpenAPIWebhook=e.OpenAPIWebhook;exports.OpenAPIWebhooks=e.OpenAPIWebhooks;exports.PluginSlot=e.PluginSlot;exports.Schema=e.Schema;exports.SchemaTab=e.SchemaTabs;exports.SchemaTree=e.SchemaTree;exports.Schemas=e.Schemas;exports.asyncApiOperationToMarkdown=e.asyncApiOperationToMarkdown;exports.asyncApiToMarkdown=e.asyncApiToMarkdown;exports.default=e.AsyncAPI;exports.defaultConfig=e.defaultConfig;exports.documentToLlmsTxt=e.documentToLlmsTxt;exports.documentToMarkdown=e.documentToMarkdown;exports.listDocumentTargets=e.listDocumentTargets;exports.markdownForLlm=e.markdownForLlm;exports.openApiEndpointToMarkdown=e.openApiEndpointToMarkdown;exports.openApiToMarkdown=e.openApiToMarkdown;exports.parseAndRender=e.parseAndRender;exports.parseAndRenderOpenAPI=e.parseAndRender$1;exports.targetSlug=e.targetSlug;exports.useAsyncAPIDocument=e.useAsyncAPIDocument;exports.useAsyncAPIDocumentContext=e.useAsyncAPIDocumentContext;exports.useDocumentContext=e.useDocumentContext;exports.useOpenAPIDocumentContext=e.useOpenAPIDocumentContext;exports.useOperationTabPlugins=e.useOperationTabPlugins;exports.usePluginSlot=e.usePluginSlot;
|
package/dist/apiuikit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, f as n, j as o, k as A, l as r, m as t, n as P, p, q as c, s as I, E as d, O as u, t as i, v as m, w as O, x as y, y as l, z as S, B as T, D as g, F as k, P as h, S as M, G as f, H as w, I as x, J as D, K as v, A as E, L as R, M as b, N as C, Q as L, R as W, o as B, T as F, U as j, V as q, W as z, Y as G, Z as H, u as J, _ as K, $ as N, a0 as Q } from "./index-
|
|
1
|
+
import { A as e, f as n, j as o, k as A, l as r, m as t, n as P, p, q as c, s as I, E as d, O as u, t as i, v as m, w as O, x as y, y as l, z as S, B as T, D as g, F as k, P as h, S as M, G as f, H as w, I as x, J as D, K as v, A as E, L as R, M as b, N as C, Q as L, R as W, o as B, T as F, U as j, V as q, W as z, Y as G, Z as H, u as J, _ as K, $ as N, a0 as Q } from "./index-D1eDZSHR.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AsyncAPI,
|
|
4
4
|
n as AsyncAPIInfo,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Operation as OperationType } from '../../types/asyncapi/Operation';
|
|
2
2
|
/**
|
|
3
|
-
* An operation's identity: action badge and
|
|
4
|
-
* list's side-panel title (Operations.tsx) and
|
|
5
|
-
* card. Falls back to the operation key for
|
|
3
|
+
* An operation's identity: action badge and its title, or the channel address
|
|
4
|
+
* when it has none. Shared by the list's side-panel title (Operations.tsx) and
|
|
5
|
+
* the inline single-operation card. Falls back to the operation key for an
|
|
6
|
+
* untitled operation on a channel without an address.
|
|
6
7
|
*/
|
|
7
8
|
export declare function OperationTitle({ op, operationKey }: {
|
|
8
9
|
op: OperationType;
|
|
@@ -5,7 +5,7 @@ var Vp = (_i) => {
|
|
|
5
5
|
var bd = (_i, Oi, Ai) => Oi in _i ? gd(_i, Oi, { enumerable: !0, configurable: !0, writable: !0, value: Ai }) : _i[Oi] = Ai;
|
|
6
6
|
var Np = (_i, Oi, Ai) => bd(_i, typeof Oi != "symbol" ? Oi + "" : Oi, Ai), Fp = (_i, Oi, Ai) => Oi.has(_i) || Vp("Cannot " + Ai);
|
|
7
7
|
var pr = (_i, Oi, Ai) => (Fp(_i, Oi, "read from private field"), Ai ? Ai.call(_i) : Oi.get(_i)), co = (_i, Oi, Ai) => Oi.has(_i) ? Vp("Cannot add the same private member more than once") : Oi instanceof WeakSet ? Oi.add(_i) : Oi.set(_i, Ai), ca = (_i, Oi, Ai, cn) => (Fp(_i, Oi, "write to private field"), cn ? cn.call(_i, Ai) : Oi.set(_i, Ai), Ai);
|
|
8
|
-
import { g as vd } from "./index-
|
|
8
|
+
import { g as vd } from "./index-D1eDZSHR.js";
|
|
9
9
|
function jd(_i, Oi) {
|
|
10
10
|
for (var Ai = 0; Ai < Oi.length; Ai++) {
|
|
11
11
|
const cn = Oi[Ai];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Jl = Object.defineProperty;
|
|
2
2
|
var Wl = (t, e, r) => e in t ? Jl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var Xe = (t, e, r) => Wl(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { g as zn } from "./index-
|
|
4
|
+
import { g as zn } from "./index-D1eDZSHR.js";
|
|
5
5
|
function pi(t) {
|
|
6
6
|
return t.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
7
7
|
}
|
|
@@ -853,7 +853,7 @@ function dc(e) {
|
|
|
853
853
|
(n, r) => n.type === "text" ? /* @__PURE__ */ a("span", { children: n.value }, r) : /* @__PURE__ */ a("span", { className: `font-semibold ${In[t++ % In.length]}`, children: `{${n.value}}` }, r)
|
|
854
854
|
);
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function ot({ address: e, parameters: t, className: n = "text-xs", truncate: r = !1, peek: s = !1, padded: o = !0 }) {
|
|
857
857
|
const { portalHost: i } = Ce(), [l, d] = P(null), [c, u] = P({ top: 0, left: 0, placement: "top" }), [f, p] = P(!1), [h, m] = P(null), y = me(null), b = nt(), w = cc(e);
|
|
858
858
|
let E = 0;
|
|
859
859
|
K(() => {
|
|
@@ -964,7 +964,7 @@ const uc = {
|
|
|
964
964
|
sm: "px-2.5 py-1 rounded-md text-xs",
|
|
965
965
|
xs: "px-1.5 py-0.5 rounded text-[10px]"
|
|
966
966
|
};
|
|
967
|
-
function
|
|
967
|
+
function et({ method: e, size: t = "sm", className: n = "" }) {
|
|
968
968
|
return e ? /* @__PURE__ */ a(
|
|
969
969
|
"span",
|
|
970
970
|
{
|
|
@@ -1453,7 +1453,7 @@ function Nc({
|
|
|
1453
1453
|
var y;
|
|
1454
1454
|
const m = p(h);
|
|
1455
1455
|
return m != null && m.address ? /* @__PURE__ */ a(
|
|
1456
|
-
|
|
1456
|
+
ot,
|
|
1457
1457
|
{
|
|
1458
1458
|
address: m.address,
|
|
1459
1459
|
parameters: m.parameters,
|
|
@@ -1462,7 +1462,7 @@ function Nc({
|
|
|
1462
1462
|
className: "text-xs bg-transparent"
|
|
1463
1463
|
}
|
|
1464
1464
|
) : /* @__PURE__ */ g(W, { children: [
|
|
1465
|
-
/* @__PURE__ */ a(
|
|
1465
|
+
/* @__PURE__ */ a(et, { method: (y = e[h]) == null ? void 0 : y.action, size: "xs", className: "shrink-0" }),
|
|
1466
1466
|
/* @__PURE__ */ a("span", { className: "truncate", children: h })
|
|
1467
1467
|
] });
|
|
1468
1468
|
}
|
|
@@ -1595,8 +1595,8 @@ function Ec({
|
|
|
1595
1595
|
itemKey: (m) => m.key,
|
|
1596
1596
|
targetId: (m) => `endpoint-${m.key}`,
|
|
1597
1597
|
renderItem: (m) => /* @__PURE__ */ g(W, { children: [
|
|
1598
|
-
/* @__PURE__ */ a(
|
|
1599
|
-
/* @__PURE__ */ a(
|
|
1598
|
+
/* @__PURE__ */ a(et, { method: m.method, size: "xs", className: "shrink-0" }),
|
|
1599
|
+
/* @__PURE__ */ a(ot, { address: m.path, className: "text-[10px] bg-transparent p-0" })
|
|
1600
1600
|
] })
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
@@ -1607,7 +1607,7 @@ function Ec({
|
|
|
1607
1607
|
itemKey: (m) => m.key,
|
|
1608
1608
|
targetId: (m) => `webhook-${m.key}`,
|
|
1609
1609
|
renderItem: (m) => /* @__PURE__ */ g(W, { children: [
|
|
1610
|
-
/* @__PURE__ */ a(
|
|
1610
|
+
/* @__PURE__ */ a(et, { method: m.method, size: "xs", className: "shrink-0" }),
|
|
1611
1611
|
/* @__PURE__ */ a("span", { className: "truncate", children: m.path })
|
|
1612
1612
|
] })
|
|
1613
1613
|
},
|
|
@@ -3970,7 +3970,7 @@ function wt(e, t, n, r) {
|
|
|
3970
3970
|
let Mn = null, ar = null;
|
|
3971
3971
|
const Rr = /* @__PURE__ */ new Set();
|
|
3972
3972
|
function Bd() {
|
|
3973
|
-
return ar || (ar = import("./protoToJsonSchema-
|
|
3973
|
+
return ar || (ar = import("./protoToJsonSchema-BtR0DMuR.js").then((e) => {
|
|
3974
3974
|
Mn = e.protoToJsonSchema, Rr.forEach((t) => t());
|
|
3975
3975
|
})), ar;
|
|
3976
3976
|
}
|
|
@@ -4504,7 +4504,7 @@ function Oi(e) {
|
|
|
4504
4504
|
const _i = {
|
|
4505
4505
|
"x-x": () => import("./XExtension-GyRtdHLL.js"),
|
|
4506
4506
|
"x-linkedin": () => import("./LinkedInExtension-BL-4T9tt.js")
|
|
4507
|
-
}, su = () => import("./LogoExtension-
|
|
4507
|
+
}, su = () => import("./LogoExtension-CB2hokoQ.js");
|
|
4508
4508
|
function ds() {
|
|
4509
4509
|
return {
|
|
4510
4510
|
async: !1,
|
|
@@ -10861,7 +10861,7 @@ function Ia({ address: e, variables: t, children: n }) {
|
|
|
10861
10861
|
/* @__PURE__ */ g("div", { className: "border border-dotted border-black p-2 rounded-lg bg-surface", children: [
|
|
10862
10862
|
/* @__PURE__ */ a(zp, { className: "inline-block mr-1 -mt-1 h-6 text-foreground-muted" }),
|
|
10863
10863
|
e && /* @__PURE__ */ a(
|
|
10864
|
-
|
|
10864
|
+
ot,
|
|
10865
10865
|
{
|
|
10866
10866
|
address: e,
|
|
10867
10867
|
parameters: t,
|
|
@@ -11414,7 +11414,7 @@ function Zp({ requestMessages: e, reply: t, isSend: n, operationId: r }) {
|
|
|
11414
11414
|
" ",
|
|
11415
11415
|
/* @__PURE__ */ a("span", { className: "inline-flex items-center px-1.5 py-0.5 rounded text-xs font-semibold bg-surface border border-border text-foreground-secondary", children: d.location })
|
|
11416
11416
|
] }) : (l == null ? void 0 : l.address) && /* @__PURE__ */ a(
|
|
11417
|
-
|
|
11417
|
+
ot,
|
|
11418
11418
|
{
|
|
11419
11419
|
address: l.address,
|
|
11420
11420
|
parameters: l.parameters,
|
|
@@ -12646,11 +12646,15 @@ const Hh = Qt(
|
|
|
12646
12646
|
}))
|
|
12647
12647
|
);
|
|
12648
12648
|
function Ka({ op: e, operationKey: t }) {
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12649
|
+
var s;
|
|
12650
|
+
const n = e.channel, r = ((s = e.title) == null ? void 0 : s.trim()) || void 0;
|
|
12651
|
+
return r ? /* @__PURE__ */ g("div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
12652
|
+
/* @__PURE__ */ a(et, { method: e.action }),
|
|
12653
|
+
/* @__PURE__ */ a("span", { className: "min-w-0 flex-1 truncate", title: (n == null ? void 0 : n.address) ?? void 0, children: r })
|
|
12654
|
+
] }) : n != null && n.address ? /* @__PURE__ */ g("div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
12655
|
+
/* @__PURE__ */ a(et, { method: e.action }),
|
|
12652
12656
|
/* @__PURE__ */ a("div", { className: "min-w-0 flex-1 overflow-hidden", children: /* @__PURE__ */ a(
|
|
12653
|
-
|
|
12657
|
+
ot,
|
|
12654
12658
|
{
|
|
12655
12659
|
address: n.address,
|
|
12656
12660
|
parameters: n.parameters,
|
|
@@ -12685,20 +12689,8 @@ function Va({ operations: e, selectedKey: t = null, onSelectKey: n, focusSection
|
|
|
12685
12689
|
},
|
|
12686
12690
|
className: `cursor-pointer hover:bg-neutral-50 ${w ? "bg-neutral-50" : ""}`,
|
|
12687
12691
|
children: [
|
|
12688
|
-
/* @__PURE__ */ a("td", { className: "px-6 py-4 max-w-0 w-full", children: b ? /* @__PURE__ */
|
|
12689
|
-
|
|
12690
|
-
h && /* @__PURE__ */ a(
|
|
12691
|
-
et,
|
|
12692
|
-
{
|
|
12693
|
-
address: h,
|
|
12694
|
-
parameters: m,
|
|
12695
|
-
truncate: !0,
|
|
12696
|
-
padded: !1,
|
|
12697
|
-
className: "text-xs text-foreground-muted mt-0.5"
|
|
12698
|
-
}
|
|
12699
|
-
)
|
|
12700
|
-
] }) : h && /* @__PURE__ */ a(et, { address: h, parameters: m, truncate: !0 }) }),
|
|
12701
|
-
/* @__PURE__ */ a("td", { className: "px-6 py-4 w-32", children: /* @__PURE__ */ a(ot, { method: f.action, className: "w-24" }) })
|
|
12692
|
+
/* @__PURE__ */ a("td", { className: "px-6 py-4 max-w-0 w-full", children: b ? /* @__PURE__ */ a("div", { className: "truncate text-sm font-medium text-foreground", title: h ?? void 0, children: b }) : h && /* @__PURE__ */ a(ot, { address: h, parameters: m, truncate: !0 }) }),
|
|
12693
|
+
/* @__PURE__ */ a("td", { className: "px-6 py-4 w-32", children: /* @__PURE__ */ a(et, { method: f.action, className: "w-24" }) })
|
|
12702
12694
|
]
|
|
12703
12695
|
},
|
|
12704
12696
|
u
|
|
@@ -13238,7 +13230,7 @@ function nm({
|
|
|
13238
13230
|
on,
|
|
13239
13231
|
{
|
|
13240
13232
|
trigger: /* @__PURE__ */ g("span", { className: "flex items-center gap-2 text-xs font-normal min-w-0", children: [
|
|
13241
|
-
/* @__PURE__ */ a(
|
|
13233
|
+
/* @__PURE__ */ a(et, { method: l, size: "xs", className: "shrink-0" }),
|
|
13242
13234
|
/* @__PURE__ */ a("span", { className: "font-medium text-foreground-secondary shrink-0", children: o }),
|
|
13243
13235
|
/* @__PURE__ */ a("code", { className: "font-mono text-foreground-muted truncate", children: Yh(i) })
|
|
13244
13236
|
] }),
|
|
@@ -13259,7 +13251,7 @@ function nm({
|
|
|
13259
13251
|
] });
|
|
13260
13252
|
}
|
|
13261
13253
|
const rm = Qt(
|
|
13262
|
-
() => import("./CodeSamples-
|
|
13254
|
+
() => import("./CodeSamples-DlTU0NQt.js").then(({ CodeSamples: e }) => ({ default: e }))
|
|
13263
13255
|
);
|
|
13264
13256
|
function sm(e) {
|
|
13265
13257
|
return e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2");
|
|
@@ -13763,9 +13755,9 @@ function sl({
|
|
|
13763
13755
|
parameters: n
|
|
13764
13756
|
}) {
|
|
13765
13757
|
return /* @__PURE__ */ g("div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
13766
|
-
/* @__PURE__ */ a(
|
|
13758
|
+
/* @__PURE__ */ a(et, { method: e }),
|
|
13767
13759
|
/* @__PURE__ */ a("div", { className: "min-w-0 flex-1 overflow-hidden", children: /* @__PURE__ */ a(
|
|
13768
|
-
|
|
13760
|
+
ot,
|
|
13769
13761
|
{
|
|
13770
13762
|
address: t,
|
|
13771
13763
|
parameters: rl(n),
|
|
@@ -13845,7 +13837,7 @@ function Fn({
|
|
|
13845
13837
|
className: `group transition-[opacity,visibility] duration-300 ease-in-out ${C ? `cursor-pointer opacity-100 visible ${O ? "bg-neutral-50" : ""}` : "pointer-events-none invisible opacity-0"}`,
|
|
13846
13838
|
children: [
|
|
13847
13839
|
/* @__PURE__ */ a("td", { className: `px-6 max-w-0 w-full group-hover:bg-neutral-50 transition-[padding] duration-300 ease-in-out ${C ? "py-2" : "py-0"}`, children: /* @__PURE__ */ a("div", { className: `overflow-hidden transition-[max-height] duration-300 ease-in-out ${C ? "max-h-12" : "max-h-0"}`, children: /* @__PURE__ */ a(
|
|
13848
|
-
|
|
13840
|
+
ot,
|
|
13849
13841
|
{
|
|
13850
13842
|
address: x,
|
|
13851
13843
|
parameters: rl(B),
|
|
@@ -13853,7 +13845,7 @@ function Fn({
|
|
|
13853
13845
|
className: "text-xs"
|
|
13854
13846
|
}
|
|
13855
13847
|
) }) }),
|
|
13856
|
-
/* @__PURE__ */ a("td", { className: `px-6 w-28 group-hover:bg-neutral-50 transition-[padding] duration-300 ease-in-out ${C ? "py-2" : "py-0"}`, children: /* @__PURE__ */ a("div", { className: `overflow-hidden transition-[max-height] duration-300 ease-in-out ${C ? "max-h-12" : "max-h-0"}`, children: /* @__PURE__ */ a(
|
|
13848
|
+
/* @__PURE__ */ a("td", { className: `px-6 w-28 group-hover:bg-neutral-50 transition-[padding] duration-300 ease-in-out ${C ? "py-2" : "py-0"}`, children: /* @__PURE__ */ a("div", { className: `overflow-hidden transition-[max-height] duration-300 ease-in-out ${C ? "max-h-12" : "max-h-0"}`, children: /* @__PURE__ */ a(et, { method: v, className: "w-20" }) }) })
|
|
13857
13849
|
]
|
|
13858
13850
|
},
|
|
13859
13851
|
S
|
|
@@ -14281,7 +14273,7 @@ function Im(e) {
|
|
|
14281
14273
|
}
|
|
14282
14274
|
async function Om() {
|
|
14283
14275
|
try {
|
|
14284
|
-
const e = await import("./index-
|
|
14276
|
+
const e = await import("./index-9nxb2bCY.js").then((n) => n.i), t = e.default ?? e;
|
|
14285
14277
|
if (typeof t != "function")
|
|
14286
14278
|
throw new Error("Unexpected export shape from '@asyncapi/parser/browser'.");
|
|
14287
14279
|
return t;
|
|
@@ -14295,7 +14287,7 @@ async function ll(e) {
|
|
|
14295
14287
|
try {
|
|
14296
14288
|
const t = await Om(), n = new t();
|
|
14297
14289
|
Cm(n);
|
|
14298
|
-
const { registerProtobufSchemaParser: r } = await import("./protobufSchemaParser-
|
|
14290
|
+
const { registerProtobufSchemaParser: r } = await import("./protobufSchemaParser-C5H7VtBA.js");
|
|
14299
14291
|
r(n);
|
|
14300
14292
|
const { document: s, diagnostics: o } = await n.parse(e, {
|
|
14301
14293
|
validateOptions: { allowedSeverity: { error: !0 } }
|
|
@@ -14362,7 +14354,7 @@ function pg({
|
|
|
14362
14354
|
}
|
|
14363
14355
|
async function Mm() {
|
|
14364
14356
|
try {
|
|
14365
|
-
return await import("./index-
|
|
14357
|
+
return await import("./index-B0PAsEtK.js");
|
|
14366
14358
|
} catch (e) {
|
|
14367
14359
|
throw console.error("[apiuikit] Failed to load '@scalar/openapi-parser':", e), new Error(
|
|
14368
14360
|
"[apiuikit] The parsed entry requires '@scalar/openapi-parser'. Install it (`npm i @scalar/openapi-parser`), or use the `OpenAPI` component with a pre-resolved document instead."
|