@apiuikit/web-component 1.6.0 → 1.7.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-Dm277WGX-CiKryuS0.js → CodeSamples-DM23Rux1-ekmYilIR.js} +1048 -1066
- package/dist/{LinkedInExtension-BL-4T9tt-CFjbqkhZ.js → LinkedInExtension-BL-4T9tt-CPTJWNAI.js} +1 -1
- package/dist/{LogoExtension-Bhw9grDi-DFPgcRdp.js → LogoExtension-DgzRHghk-C-gboZmI.js} +3 -3
- package/dist/{XExtension-GyRtdHLL-hbNYWxJs.js → XExtension-GyRtdHLL-B7d4Tyjo.js} +1 -1
- package/dist/elements/asyncapi-info.js +1 -1
- package/dist/elements/asyncapi-messages.js +1 -1
- package/dist/elements/asyncapi-operations.js +1 -1
- package/dist/elements/asyncapi-renderer.js +1 -1
- package/dist/elements/asyncapi-servers.js +1 -1
- package/dist/elements/asyncapi.js +4 -4
- package/dist/elements/openapi-endpoints.js +1 -1
- package/dist/elements/openapi-info.js +1 -1
- package/dist/elements/openapi-renderer.js +1 -1
- package/dist/elements/openapi-servers.js +1 -1
- package/dist/elements/openapi-webhooks.js +1 -1
- package/dist/elements/openapi.js +5 -5
- package/dist/elements/schemas.js +4 -4
- package/dist/{index-ButmLtm3-BxvUFOqt.js → index-B6iEqqD5-pOAlv4zA.js} +1 -1
- package/dist/{index-ByTEMZ1h-D8WOAtLD.js → index-JrbC06_1-Gmece7-V.js} +1 -1
- package/dist/{protoToJsonSchema-Bu1_KtXF-DMb0R0EM.js → protoToJsonSchema-DSwxELWE-DBlwJigZ.js} +1 -1
- package/dist/{protobufSchemaParser--9dltEfO-BJdsvVd_.js → protobufSchemaParser-CXhrG3bk-BLghei1k.js} +9 -9
- package/dist/{registerElement-qkr8S33y.js → registerElement-DbKXLDu_.js} +10432 -10372
- package/dist/web-component.css +1 -1
- package/dist/web-component.es.js +22755 -22713
- package/dist/web-component.iife.js +310 -310
- package/package.json +1 -1
package/dist/{LinkedInExtension-BL-4T9tt-CFjbqkhZ.js → LinkedInExtension-BL-4T9tt-CPTJWNAI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./registerElement-
|
|
1
|
+
import { j as r } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
function t({ className: e }) {
|
|
3
3
|
return /* @__PURE__ */ r.jsx("svg", { className: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ r.jsx("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 110-4.124 2.062 2.062 0 010 4.124zM7.119 20.452H3.554V9h3.565v11.452z" }) });
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as r, j as t } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
function n({ value: a }) {
|
|
3
|
-
const o =
|
|
4
|
-
return o ? /* @__PURE__ */
|
|
3
|
+
const o = r(a);
|
|
4
|
+
return o ? /* @__PURE__ */ t.jsx(
|
|
5
5
|
"img",
|
|
6
6
|
{
|
|
7
7
|
src: o.url,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./registerElement-
|
|
1
|
+
import { j as r } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
function l({ className: e }) {
|
|
3
3
|
return /* @__PURE__ */ r.jsx("svg", { className: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ r.jsx("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) });
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as s, s as t, j as e,
|
|
1
|
+
import { d as s, s as t, j as e, R as r } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function p({ spec: n, config: i, layout: o }) {
|
|
3
3
|
return n ? /* @__PURE__ */ e.jsx(r, { document: n, config: i, layout: o }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, s as t, j as o,
|
|
1
|
+
import { d as i, s as t, j as o, M as r } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function a({ spec: s, config: n, layout: e }) {
|
|
3
3
|
return s ? /* @__PURE__ */ o.jsx(r, { document: s, config: n, layout: e }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as s, s as t, j as e,
|
|
1
|
+
import { d as s, s as t, j as e, O as r } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function p({ spec: n, config: i, layout: o }) {
|
|
3
3
|
return n ? /* @__PURE__ */ e.jsx(r, { document: n, config: i, layout: o }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, s, j as o,
|
|
1
|
+
import { d as i, s, j as o, $ as t } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function a({ spec: n, config: r, onDiagnostics: e }) {
|
|
3
3
|
return n ? /* @__PURE__ */ o.jsx(t, { raw: n, config: r, onDiagnostics: e }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as r, s as i, j as t,
|
|
1
|
+
import { d as r, s as i, j as t, _ as o } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function p({ spec: n, config: s, layout: e }) {
|
|
3
3
|
return n ? /* @__PURE__ */ t.jsx(o, { document: n, config: s, layout: e }) : null;
|
|
4
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
function p({ spec: n, resolved:
|
|
3
|
-
return n ?
|
|
1
|
+
import { d as o, s as r, j as i, a } from "../registerElement-DbKXLDu_.js";
|
|
2
|
+
function p({ spec: n, resolved: e, config: s }) {
|
|
3
|
+
return n ? e ? /* @__PURE__ */ i.jsx(a, { kind: "resolved", asyncapi: n, config: s }) : /* @__PURE__ */ i.jsx(a, { asyncapi: n, config: s }) : null;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
o(
|
|
6
6
|
"apiuikit-asyncapi",
|
|
7
7
|
r(p, {
|
|
8
8
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as t, s as e, j as p,
|
|
1
|
+
import { d as t, s as e, j as p, D as s } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function r({ spec: n, config: i, layout: o }) {
|
|
3
3
|
return n ? /* @__PURE__ */ p.jsx(s, { document: n, config: i, layout: o }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, s as t, j as p,
|
|
1
|
+
import { d as e, s as t, j as p, z as r } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function s({ spec: n, config: i, layout: o }) {
|
|
3
3
|
return n ? /* @__PURE__ */ p.jsx(r, { document: n, config: i, layout: o }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, s as o, j as s,
|
|
1
|
+
import { d as i, s as o, j as s, T as t } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function p({ spec: n, config: e, onDiagnostics: r }) {
|
|
3
3
|
return n ? /* @__PURE__ */ s.jsx(t, { raw: n, config: e, onDiagnostics: r }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, s, j as o,
|
|
1
|
+
import { d as i, s, j as o, b as t } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function p({ spec: e, config: n, layout: r }) {
|
|
3
3
|
return e ? /* @__PURE__ */ o.jsx(t, { document: e, config: n, layout: r }) : null;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, s, j as t,
|
|
1
|
+
import { d as i, s, j as t, F as p } from "../registerElement-DbKXLDu_.js";
|
|
2
2
|
function r({ spec: o, config: n, layout: e }) {
|
|
3
3
|
return o ? /* @__PURE__ */ t.jsx(p, { document: o, config: n, layout: e }) : null;
|
|
4
4
|
}
|
package/dist/elements/openapi.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as r, s, j as
|
|
2
|
-
function
|
|
3
|
-
return e ? p ? /* @__PURE__ */
|
|
1
|
+
import { d as r, s, j as o, U as i } from "../registerElement-DbKXLDu_.js";
|
|
2
|
+
function a({ spec: e, resolved: p, config: n }) {
|
|
3
|
+
return e ? p ? /* @__PURE__ */ o.jsx(i, { kind: "resolved", openapi: e, config: n }) : /* @__PURE__ */ o.jsx(i, { openapi: e, config: n }) : null;
|
|
4
4
|
}
|
|
5
5
|
r(
|
|
6
6
|
"apiuikit-openapi",
|
|
7
|
-
s(
|
|
7
|
+
s(a, {
|
|
8
8
|
props: {
|
|
9
9
|
spec: void 0,
|
|
10
10
|
resolved: "boolean",
|
|
@@ -13,5 +13,5 @@ r(
|
|
|
13
13
|
})
|
|
14
14
|
);
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
a as OpenApiElement
|
|
17
17
|
};
|
package/dist/elements/schemas.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as t, s as i, j as o,
|
|
2
|
-
function
|
|
1
|
+
import { d as t, s as i, j as o, J as r } from "../registerElement-DbKXLDu_.js";
|
|
2
|
+
function a({ spec: n, config: s, layout: e }) {
|
|
3
3
|
return n ? /* @__PURE__ */ o.jsx(r, { document: n, config: s, layout: e }) : null;
|
|
4
4
|
}
|
|
5
5
|
t(
|
|
6
6
|
"apiuikit-schemas",
|
|
7
|
-
i(
|
|
7
|
+
i(a, {
|
|
8
8
|
props: {
|
|
9
9
|
spec: void 0,
|
|
10
10
|
config: "json",
|
|
@@ -13,5 +13,5 @@ t(
|
|
|
13
13
|
})
|
|
14
14
|
);
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
a as SchemasElement
|
|
17
17
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as yd } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
var gd = Object.defineProperty, Np = (Si) => {
|
|
3
3
|
throw TypeError(Si);
|
|
4
4
|
}, bd = (Si, Ti, Ii) => Ti in Si ? gd(Si, Ti, { enumerable: !0, configurable: !0, writable: !0, value: Ii }) : Si[Ti] = Ii, vd = (Si, Ti, Ii) => bd(Si, Ti + "", Ii), Fp = (Si, Ti, Ii) => Ti.has(Si) || Np("Cannot " + Ii), $r = (Si, Ti, Ii) => (Fp(Si, Ti, "read from private field"), Ii ? Ii.call(Si) : Ti.get(Si)), Ys = (Si, Ti, Ii) => Ti.has(Si) ? Np("Cannot add the same private member more than once") : Ti instanceof WeakSet ? Ti.add(Si) : Ti.set(Si, Ii), Cp = (Si, Ti, Ii, bn) => (Fp(Si, Ti, "write to private field"), Ti.set(Si, Ii), Ii);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as Rs } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
var _f = Object.defineProperty, Of = (t, e, r) => e in t ? _f(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ct = (t, e, r) => Of(t, typeof e != "symbol" ? e + "" : e, r);
|
|
3
3
|
function oo(t) {
|
|
4
4
|
return t.replace(/~/g, "~0").replace(/\//g, "~1");
|
package/dist/{protoToJsonSchema-Bu1_KtXF-DMb0R0EM.js → protoToJsonSchema-DSwxELWE-DBlwJigZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as Ee, v as Xi } from "./registerElement-DbKXLDu_.js";
|
|
2
2
|
var Ki = Object.defineProperty, Hi = (i, e, r) => e in i ? Ki(i, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[e] = r, be = (i, e, r) => Hi(i, typeof e != "symbol" ? e + "" : e, r), xi = { exports: {} }, ki = { exports: {} }, ji = {}, Ve = {}, Ei = Qi;
|
|
3
3
|
function Qi(i, e) {
|
|
4
4
|
for (var r = new Array(arguments.length - 1), f = 0, a = 2, s = !0; a < arguments.length; )
|
package/dist/{protobufSchemaParser--9dltEfO-BJdsvVd_.js → protobufSchemaParser-CXhrG3bk-BLghei1k.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { protoToJsonSchema as e } from "./protoToJsonSchema-
|
|
2
|
-
import {
|
|
1
|
+
import { protoToJsonSchema as e } from "./protoToJsonSchema-DSwxELWE-DBlwJigZ.js";
|
|
2
|
+
import { Q as a, i as r, l as n } from "./registerElement-DbKXLDu_.js";
|
|
3
3
|
function s(o) {
|
|
4
4
|
if (typeof o != "string")
|
|
5
5
|
return ["Protobuf schema must be a string of .proto source"];
|
|
6
6
|
try {
|
|
7
7
|
return e(o), [];
|
|
8
|
-
} catch (
|
|
8
|
+
} catch (t) {
|
|
9
9
|
return [
|
|
10
|
-
|
|
10
|
+
t instanceof Error ? t.message : "Failed to parse protobuf schema"
|
|
11
11
|
];
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -31,21 +31,21 @@ function g(o) {
|
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
33
|
function c(o) {
|
|
34
|
-
return s(o.data).map((
|
|
35
|
-
message:
|
|
34
|
+
return s(o.data).map((t) => ({
|
|
35
|
+
message: t,
|
|
36
36
|
path: o.path
|
|
37
37
|
}));
|
|
38
38
|
}
|
|
39
39
|
function f(o) {
|
|
40
40
|
if (typeof o.data != "string")
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
42
|
+
[r]: "Protobuf schema must be a string of .proto source"
|
|
43
43
|
};
|
|
44
44
|
try {
|
|
45
45
|
return e(o.data);
|
|
46
|
-
} catch (
|
|
46
|
+
} catch (t) {
|
|
47
47
|
return {
|
|
48
|
-
[
|
|
48
|
+
[r]: t instanceof Error ? t.message : "Failed to convert Protobuf schema"
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
}
|