zudoku 0.0.0-z25d5d85c → 0.0.0-z2f55b5ae
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/app/main.js +1 -1
- package/dist/app/main.js.map +1 -1
- package/dist/config/create-plugin.d.ts +2 -0
- package/dist/config/create-plugin.js +55 -0
- package/dist/config/create-plugin.js.map +1 -0
- package/dist/config/loader.js +2 -2
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +118 -68
- package/dist/config/validators/InputNavigationSchema.js +17 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/NavigationSchema.d.ts +10 -2
- package/dist/config/validators/NavigationSchema.js +7 -0
- package/dist/config/validators/NavigationSchema.js.map +1 -1
- package/dist/config/validators/validate.d.ts +5 -4
- package/dist/config/validators/validate.js +2 -0
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/flat-config.d.ts +36 -24
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/components/Bootstrap.js +1 -2
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +2 -1
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/Slot.test.js +1 -1
- package/dist/lib/components/Slot.test.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +7 -1
- package/dist/lib/components/TopNavigation.js +7 -2
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +4 -1
- package/dist/lib/components/Zudoku.js +4 -7
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +9 -4
- package/dist/lib/components/context/ZudokuContext.js +4 -2
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.js +1 -1
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
- package/dist/lib/components/context/ZudokuReactContext.d.ts +11 -0
- package/dist/lib/components/context/ZudokuReactContext.js +4 -0
- package/dist/lib/components/context/ZudokuReactContext.js.map +1 -0
- package/dist/lib/components/navigation/Navigation.js +4 -3
- package/dist/lib/components/navigation/Navigation.js.map +1 -1
- package/dist/lib/components/navigation/NavigationCategory.js +8 -0
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
- package/dist/lib/components/navigation/NavigationFilterContext.d.ts +8 -0
- package/dist/lib/components/navigation/NavigationFilterContext.js +12 -0
- package/dist/lib/components/navigation/NavigationFilterContext.js.map +1 -0
- package/dist/lib/components/navigation/NavigationFilterInput.d.ts +3 -0
- package/dist/lib/components/navigation/NavigationFilterInput.js +9 -0
- package/dist/lib/components/navigation/NavigationFilterInput.js.map +1 -0
- package/dist/lib/components/navigation/NavigationItem.js +11 -1
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/components/navigation/utils.d.ts +2 -1
- package/dist/lib/components/navigation/utils.js +22 -1
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +2 -1
- package/dist/lib/core/ZudokuContext.js +3 -1
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/__internal.d.ts +1 -0
- package/dist/lib/core/__internal.js +2 -0
- package/dist/lib/core/__internal.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +5 -1
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/core/transform-config.d.ts +4 -2
- package/dist/lib/core/transform-config.js +33 -13
- package/dist/lib/core/transform-config.js.map +1 -1
- package/dist/lib/core/transform-config.test.d.ts +1 -0
- package/dist/lib/core/transform-config.test.js +83 -0
- package/dist/lib/core/transform-config.test.js.map +1 -0
- package/dist/lib/errors/ErrorAlert.js +1 -2
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/hooks/useEvent.test.js +1 -1
- package/dist/lib/hooks/useEvent.test.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js +3 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/AudioPlayer.d.ts +6 -0
- package/dist/lib/plugins/openapi/playground/result-panel/AudioPlayer.js +20 -0
- package/dist/lib/plugins/openapi/playground/result-panel/AudioPlayer.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +7 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/ui/Alert.d.ts +3 -2
- package/dist/lib/ui/Alert.js +9 -5
- package/dist/lib/ui/Alert.js.map +1 -1
- package/dist/lib/ui/InputGroup.d.ts +16 -0
- package/dist/lib/ui/InputGroup.js +65 -0
- package/dist/lib/ui/InputGroup.js.map +1 -0
- package/dist/lib/ui/Secret.js +2 -2
- package/dist/lib/ui/Secret.js.map +1 -1
- package/dist/vite/config.js +5 -2
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/plugin-config.js +16 -4
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-theme.js +2 -1
- package/dist/vite/plugin-theme.js.map +1 -1
- package/dist/vite/prerender/prerender.js +3 -1
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.js +3 -1
- package/dist/vite/prerender/worker.js.map +1 -1
- package/lib/{ClaudeLogo-C6q-Xn_l.js → ClaudeLogo-Br8C_vTq.js} +3 -3
- package/lib/{ClaudeLogo-C6q-Xn_l.js.map → ClaudeLogo-Br8C_vTq.js.map} +1 -1
- package/lib/Drawer-Ch7927PF.js.map +1 -1
- package/lib/{HydrationBoundary-CNF2ZV3E.js → HydrationBoundary-CJu4vUlG.js} +6 -6
- package/lib/{HydrationBoundary-CNF2ZV3E.js.map → HydrationBoundary-CJu4vUlG.js.map} +1 -1
- package/lib/{MdxPage-B1G4W1TK.js → MdxPage-C0QFAsgv.js} +6 -6
- package/lib/{MdxPage-B1G4W1TK.js.map → MdxPage-C0QFAsgv.js.map} +1 -1
- package/lib/Mermaid-Chx5BPHn.js +104 -0
- package/lib/Mermaid-Chx5BPHn.js.map +1 -0
- package/lib/{OAuthErrorPage-01Ke086W.js → OAuthErrorPage-CFz_gBFx.js} +11 -10
- package/lib/{OAuthErrorPage-01Ke086W.js.map → OAuthErrorPage-CFz_gBFx.js.map} +1 -1
- package/lib/{OasProvider-oHPiMJZg.js → OasProvider-BnQ1_ehf.js} +3 -3
- package/lib/{OasProvider-oHPiMJZg.js.map → OasProvider-BnQ1_ehf.js.map} +1 -1
- package/lib/OperationList-Bw-3OS_8.js +5907 -0
- package/lib/OperationList-Bw-3OS_8.js.map +1 -0
- package/lib/{RouteGuard-B1lCR0C_.js → RouteGuard-CVs3yvEs.js} +3 -3
- package/lib/{RouteGuard-B1lCR0C_.js.map → RouteGuard-CVs3yvEs.js.map} +1 -1
- package/lib/{SchemaList-DoQFkJgM.js → SchemaList-IehIWcDV.js} +7 -7
- package/lib/{SchemaList-DoQFkJgM.js.map → SchemaList-IehIWcDV.js.map} +1 -1
- package/lib/{SchemaView-D2k6ZJck.js → SchemaView-BZLyoQRI.js} +3 -3
- package/lib/{SchemaView-D2k6ZJck.js.map → SchemaView-BZLyoQRI.js.map} +1 -1
- package/lib/{Secret-BDBqq4p3.js → Secret-DUpgv4V3.js} +92 -72
- package/lib/Secret-DUpgv4V3.js.map +1 -0
- package/lib/{SignUp-8kDBaLbO.js → SignUp-Dug1jAGC.js} +4 -4
- package/lib/{SignUp-8kDBaLbO.js.map → SignUp-Dug1jAGC.js.map} +1 -1
- package/lib/{SyntaxHighlight-hZOFnYl0.js → SyntaxHighlight-BMu0b_hF.js} +8 -8
- package/lib/{SyntaxHighlight-hZOFnYl0.js.map → SyntaxHighlight-BMu0b_hF.js.map} +1 -1
- package/lib/{Toc-qEIii_-W.js → Toc-BiJ2YL0O.js} +2 -2
- package/lib/{Toc-qEIii_-W.js.map → Toc-BiJ2YL0O.js.map} +1 -1
- package/lib/{Zudoku-DUsdmPME.js → Zudoku-iyiXgWFY.js} +2777 -2622
- package/lib/Zudoku-iyiXgWFY.js.map +1 -0
- package/lib/ZudokuContext-CYyb_PB_.js +175 -0
- package/lib/ZudokuContext-CYyb_PB_.js.map +1 -0
- package/lib/ZudokuReactContext-DGJAP1sN.js +222 -0
- package/lib/ZudokuReactContext-DGJAP1sN.js.map +1 -0
- package/lib/chunk-EPOLDU6W-C6C8jAwd.js.map +1 -1
- package/lib/{circular-D9tSKG2c.js → circular-CfBNz-Ot.js} +2 -2
- package/lib/{circular-D9tSKG2c.js.map → circular-CfBNz-Ot.js.map} +1 -1
- package/lib/{createServer-BprC4n85.js → createServer-BtZPTSEO.js} +4 -4
- package/lib/{createServer-BprC4n85.js.map → createServer-BtZPTSEO.js.map} +1 -1
- package/lib/{errors-7hgPDs1h.js → errors-B77S9iOc.js} +2 -2
- package/lib/{errors-7hgPDs1h.js.map → errors-B77S9iOc.js.map} +1 -1
- package/lib/{firebase-Dwn-2ju-.js → firebase-C7XKRGLf.js} +25 -24
- package/lib/{firebase-Dwn-2ju-.js.map → firebase-C7XKRGLf.js.map} +1 -1
- package/lib/{hook-ZEd1Es7D.js → hook-Dz_n9SoE.js} +16 -15
- package/lib/{hook-ZEd1Es7D.js.map → hook-Dz_n9SoE.js.map} +1 -1
- package/lib/{index-Dxdhrp-I.js → index-BDp2MTiq.js} +2 -2
- package/lib/{index-Dxdhrp-I.js.map → index-BDp2MTiq.js.map} +1 -1
- package/lib/{index-CyIW9rHv.js → index-CQ-p1wyT.js} +642 -606
- package/lib/index-CQ-p1wyT.js.map +1 -0
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-DAWHN3cH.js.map +1 -1
- package/lib/index.esm-BYObtETB.js.map +1 -1
- package/lib/index.esm-Ca5zvoff.js.map +1 -1
- package/lib/{index.esm-DG4KaDKR.js → index.esm-Cth49JBv.js} +2 -2
- package/lib/index.esm-Cth49JBv.js.map +1 -0
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
- package/lib/{mutation-BISOc7OM.js → mutation-B7eFBLZY.js} +2 -2
- package/lib/{mutation-BISOc7OM.js.map → mutation-B7eFBLZY.js.map} +1 -1
- package/lib/ui/Alert.js +32 -20
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/InputGroup.js +155 -0
- package/lib/ui/InputGroup.js.map +1 -0
- package/lib/ui/Secret.js +2 -2
- package/lib/ui/Secret.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +2 -2
- package/lib/useExposedProps-CzTDfXfq.js.map +1 -1
- package/lib/{useMutation-CFMGlAMW.js → useMutation-CErliDZ9.js} +5 -5
- package/lib/{useMutation-CFMGlAMW.js.map → useMutation-CErliDZ9.js.map} +1 -1
- package/lib/{useSuspenseQuery-CSB_rVek.js → useQuery-ht7aWJ3S.js} +432 -446
- package/lib/useQuery-ht7aWJ3S.js.map +1 -0
- package/lib/useSuspenseQuery-DQH4Bmc2.js +18 -0
- package/lib/useSuspenseQuery-DQH4Bmc2.js.map +1 -0
- package/lib/zudoku.__internal.js +1518 -1033
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +6 -5
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +14 -13
- package/lib/zudoku.auth-azureb2c.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-firebase.js +4 -4
- package/lib/zudoku.auth-openid.js +7 -6
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +4 -4
- package/lib/zudoku.components.js +3 -3
- package/lib/zudoku.hooks.js +3 -3
- package/lib/zudoku.mermaid.js +3 -3
- package/lib/zudoku.plugin-api-catalog.js +28 -27
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +98 -96
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +2 -2
- package/lib/zudoku.plugin-search-pagefind.js +19 -18
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js.map +1 -1
- package/lib/zudoku.react-query.js +26 -25
- package/lib/zudoku.react-query.js.map +1 -1
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +15 -9
- package/src/app/defaultTheme.css +4 -0
- package/src/app/main.css +2 -0
- package/src/app/main.tsx +1 -1
- package/src/lib/components/Bootstrap.tsx +1 -4
- package/src/lib/components/MobileTopNavigation.tsx +13 -8
- package/src/lib/components/Slot.test.tsx +1 -1
- package/src/lib/components/TopNavigation.tsx +25 -7
- package/src/lib/components/Zudoku.tsx +18 -14
- package/src/lib/components/context/ZudokuContext.ts +3 -6
- package/src/lib/components/context/ZudokuProvider.tsx +1 -1
- package/src/lib/components/context/ZudokuReactContext.tsx +17 -0
- package/src/lib/components/navigation/Navigation.tsx +4 -3
- package/src/lib/components/navigation/NavigationCategory.tsx +9 -0
- package/src/lib/components/navigation/NavigationFilterContext.tsx +28 -0
- package/src/lib/components/navigation/NavigationFilterInput.tsx +35 -0
- package/src/lib/components/navigation/NavigationItem.tsx +17 -1
- package/src/lib/components/navigation/utils.ts +32 -1
- package/src/lib/core/ZudokuContext.ts +7 -1
- package/src/lib/core/__internal.tsx +2 -0
- package/src/lib/core/plugins.ts +7 -3
- package/src/lib/core/transform-config.test.tsx +99 -0
- package/src/lib/core/transform-config.ts +57 -19
- package/src/lib/errors/ErrorAlert.tsx +1 -6
- package/src/lib/hooks/useEvent.test.tsx +1 -1
- package/src/lib/plugins/openapi/playground/fileUtils.ts +4 -0
- package/src/lib/plugins/openapi/playground/result-panel/AudioPlayer.tsx +50 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +33 -17
- package/src/lib/ui/Alert.tsx +17 -5
- package/src/lib/ui/InputGroup.tsx +168 -0
- package/src/lib/ui/Secret.tsx +2 -2
- package/lib/Mermaid-B1xNo-pf.js +0 -103
- package/lib/Mermaid-B1xNo-pf.js.map +0 -1
- package/lib/OperationList-CZ4OK8Pm.js +0 -5823
- package/lib/OperationList-CZ4OK8Pm.js.map +0 -1
- package/lib/Secret-BDBqq4p3.js.map +0 -1
- package/lib/Separator-BXt1LYnm.js +0 -27
- package/lib/Separator-BXt1LYnm.js.map +0 -1
- package/lib/Zudoku-DUsdmPME.js.map +0 -1
- package/lib/ZudokuContext-BBI06sOx.js +0 -387
- package/lib/ZudokuContext-BBI06sOx.js.map +0 -1
- package/lib/index-CyIW9rHv.js.map +0 -1
- package/lib/index.esm-DG4KaDKR.js.map +0 -1
- package/lib/useSuspenseQuery-CSB_rVek.js.map +0 -1
|
@@ -3,21 +3,23 @@ import { TrashIcon as me, CircleSlashIcon as z, CheckIcon as xe, XIcon as ye, Pe
|
|
|
3
3
|
import { Z as M, i as E } from "./invariant-B_t_F2s_.js";
|
|
4
4
|
import * as F from "react";
|
|
5
5
|
import { createContext as Q, useRef as A, useLayoutEffect as Ce, useEffect as re, useId as H, useContext as V, useInsertionEffect as we, useMemo as L, useCallback as ke, Children as Ee, isValidElement as Ie, useState as I } from "react";
|
|
6
|
-
import { D as
|
|
6
|
+
import { D as be, a as te, E as Ke } from "./Zudoku-iyiXgWFY.js";
|
|
7
7
|
import { Button as _ } from "./ui/Button.js";
|
|
8
|
-
import
|
|
8
|
+
import "./ZudokuReactContext-DGJAP1sN.js";
|
|
9
9
|
import "./index-DAWHN3cH.js";
|
|
10
|
-
import { u as ae } from "./hook-
|
|
11
|
-
import { F as
|
|
12
|
-
import { A as D, a as P, b as oe } from "./Mermaid-
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
10
|
+
import { u as ae } from "./hook-Dz_n9SoE.js";
|
|
11
|
+
import { F as De, g as Pe, j as Ae, h as Se, d as Re, I as Ne, a as Oe, b as Te, k as qe, c as Me } from "./Frame-DKlOmSkU.js";
|
|
12
|
+
import { A as D, a as P, b as oe } from "./Mermaid-Chx5BPHn.js";
|
|
13
|
+
import { S as Fe, a as $e, b as ze, c as Le, d as Qe, e as He, f as se, g as Ve } from "./Secret-DUpgv4V3.js";
|
|
14
|
+
import { e as B, f as S, D as Z, g as G, a as J, b as Y, c as U, d as le } from "./Dialog-hlvmmQ_c.js";
|
|
15
|
+
import { b as ce } from "./useQuery-ht7aWJ3S.js";
|
|
16
|
+
import { u as q } from "./useMutation-CErliDZ9.js";
|
|
17
|
+
import { a as _e } from "./index.esm-BYObtETB.js";
|
|
18
|
+
import { u as Be } from "./chunk-EPOLDU6W-C6C8jAwd.js";
|
|
19
|
+
import { A as Ze } from "./ActionButton-B0CXL1Lq.js";
|
|
20
|
+
import { a as W } from "./ZudokuContext-CYyb_PB_.js";
|
|
21
|
+
import { Input as Ge } from "./ui/Input.js";
|
|
22
|
+
import { u as Je } from "./useSuspenseQuery-DQH4Bmc2.js";
|
|
21
23
|
import { c as X } from "./cn-5-Gd1Dss.js";
|
|
22
24
|
import { B as k } from "./Button-GUVe7pmt.js";
|
|
23
25
|
import { I as Ye } from "./Input-Cx-GeKoF.js";
|
|
@@ -28,9 +30,9 @@ function Ue({ error: t }) {
|
|
|
28
30
|
/* @__PURE__ */ e.jsx(P, { children: r }),
|
|
29
31
|
/* @__PURE__ */ e.jsx(oe, { children: a })
|
|
30
32
|
] }),
|
|
31
|
-
s && n && /* @__PURE__ */ e.jsx(
|
|
33
|
+
s && n && /* @__PURE__ */ e.jsx(be, { className: "mb-4", children: n }),
|
|
32
34
|
s && d && /* @__PURE__ */ e.jsx(
|
|
33
|
-
|
|
35
|
+
Fe,
|
|
34
36
|
{
|
|
35
37
|
className: "max-h-[400px] [&>pre]:p-4",
|
|
36
38
|
language: "js",
|
|
@@ -43,7 +45,7 @@ const We = ({
|
|
|
43
45
|
service: t,
|
|
44
46
|
onOpenChange: a
|
|
45
47
|
}) => {
|
|
46
|
-
const s =
|
|
48
|
+
const s = W(), n = ce(), r = Be(), i = _e({
|
|
47
49
|
defaultValues: {
|
|
48
50
|
expiresOn: "30"
|
|
49
51
|
}
|
|
@@ -51,11 +53,11 @@ const We = ({
|
|
|
51
53
|
mutationFn: ({ description: c, expiresOn: u }) => {
|
|
52
54
|
if (!t.createKey)
|
|
53
55
|
throw new Error("createKey not implemented");
|
|
54
|
-
const
|
|
56
|
+
const f = u !== "never" ? Xe(Number(u)) : void 0;
|
|
55
57
|
return t.createKey({
|
|
56
58
|
apiKey: {
|
|
57
59
|
description: c || "Secret Key",
|
|
58
|
-
expiresOn:
|
|
60
|
+
expiresOn: f
|
|
59
61
|
},
|
|
60
62
|
context: s,
|
|
61
63
|
auth: o
|
|
@@ -83,16 +85,16 @@ const We = ({
|
|
|
83
85
|
] }),
|
|
84
86
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2 flex-col text-sm font-medium", children: [
|
|
85
87
|
"Name",
|
|
86
|
-
/* @__PURE__ */ e.jsx(
|
|
88
|
+
/* @__PURE__ */ e.jsx(Ge, { ...i.register("description") }),
|
|
87
89
|
"Expiration",
|
|
88
90
|
/* @__PURE__ */ e.jsxs(
|
|
89
|
-
|
|
91
|
+
$e,
|
|
90
92
|
{
|
|
91
93
|
onValueChange: (c) => i.setValue("expiresOn", c),
|
|
92
94
|
defaultValue: i.getValues("expiresOn"),
|
|
93
95
|
children: [
|
|
94
|
-
/* @__PURE__ */ e.jsx(
|
|
95
|
-
/* @__PURE__ */ e.jsx(
|
|
96
|
+
/* @__PURE__ */ e.jsx(ze, { children: /* @__PURE__ */ e.jsx(Le, {}) }),
|
|
97
|
+
/* @__PURE__ */ e.jsx(Qe, { children: /* @__PURE__ */ e.jsxs(He, { children: [
|
|
96
98
|
[7, 30, 60, 90].map((c) => /* @__PURE__ */ e.jsxs(se, { value: String(c), children: [
|
|
97
99
|
c,
|
|
98
100
|
" days"
|
|
@@ -102,9 +104,9 @@ const We = ({
|
|
|
102
104
|
]
|
|
103
105
|
}
|
|
104
106
|
),
|
|
105
|
-
/* @__PURE__ */ e.jsxs(
|
|
107
|
+
/* @__PURE__ */ e.jsxs(B, { children: [
|
|
106
108
|
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(_, { variant: "outline", children: "Cancel" }) }),
|
|
107
|
-
/* @__PURE__ */ e.jsx(
|
|
109
|
+
/* @__PURE__ */ e.jsx(Ze, { isPending: d.isPending, children: "Generate Key" })
|
|
108
110
|
] })
|
|
109
111
|
] })
|
|
110
112
|
]
|
|
@@ -121,10 +123,10 @@ const We = ({
|
|
|
121
123
|
buttonVariant: r = "outline"
|
|
122
124
|
}) => {
|
|
123
125
|
const i = /* @__PURE__ */ e.jsx(_, { variant: r, children: "Create API Key" });
|
|
124
|
-
return /* @__PURE__ */ e.jsxs(
|
|
125
|
-
/* @__PURE__ */ e.jsx(
|
|
126
|
-
/* @__PURE__ */ e.jsxs(
|
|
127
|
-
/* @__PURE__ */ e.jsx(
|
|
126
|
+
return /* @__PURE__ */ e.jsxs(Z, { open: a, onOpenChange: s, children: [
|
|
127
|
+
/* @__PURE__ */ e.jsx(G, { asChild: !0, children: n ?? i }),
|
|
128
|
+
/* @__PURE__ */ e.jsxs(J, { children: [
|
|
129
|
+
/* @__PURE__ */ e.jsx(Y, { children: /* @__PURE__ */ e.jsx(U, { children: "Create API Key" }) }),
|
|
128
130
|
/* @__PURE__ */ e.jsx(We, { service: t, onOpenChange: s })
|
|
129
131
|
] })
|
|
130
132
|
] });
|
|
@@ -133,7 +135,7 @@ function ue(t) {
|
|
|
133
135
|
const a = A(null);
|
|
134
136
|
return a.current === null && (a.current = t()), a.current;
|
|
135
137
|
}
|
|
136
|
-
const tt = typeof window < "u", st = tt ? Ce : re,
|
|
138
|
+
const tt = typeof window < "u", st = tt ? Ce : re, pe = /* @__PURE__ */ Q(null);
|
|
137
139
|
function nt(t) {
|
|
138
140
|
return typeof t == "object" && t !== null;
|
|
139
141
|
}
|
|
@@ -196,8 +198,8 @@ function ct({ children: t, isPresent: a, anchorX: s, root: n }) {
|
|
|
196
198
|
right: 0
|
|
197
199
|
}), { nonce: d } = V(rt), c = ot(i, t?.ref);
|
|
198
200
|
return we(() => {
|
|
199
|
-
const { width: u, height:
|
|
200
|
-
if (a || !i.current || !u || !
|
|
201
|
+
const { width: u, height: f, top: p, left: m, right: g } = o.current;
|
|
202
|
+
if (a || !i.current || !u || !f)
|
|
201
203
|
return;
|
|
202
204
|
const j = s === "left" ? `left: ${m}` : `right: ${g}`;
|
|
203
205
|
i.current.dataset.motionPopId = r;
|
|
@@ -208,9 +210,9 @@ function ct({ children: t, isPresent: a, anchorX: s, root: n }) {
|
|
|
208
210
|
[data-motion-pop-id="${r}"] {
|
|
209
211
|
position: absolute !important;
|
|
210
212
|
width: ${u}px !important;
|
|
211
|
-
height: ${
|
|
213
|
+
height: ${f}px !important;
|
|
212
214
|
${j}px !important;
|
|
213
|
-
top: ${
|
|
215
|
+
top: ${p}px !important;
|
|
214
216
|
}
|
|
215
217
|
`), () => {
|
|
216
218
|
x.contains(l) && x.removeChild(l);
|
|
@@ -218,9 +220,9 @@ function ct({ children: t, isPresent: a, anchorX: s, root: n }) {
|
|
|
218
220
|
}, [a]), e.jsx(lt, { isPresent: a, childRef: i, sizeRef: o, children: F.cloneElement(t, { ref: c }) });
|
|
219
221
|
}
|
|
220
222
|
const dt = ({ children: t, initial: a, isPresent: s, onExitComplete: n, custom: r, presenceAffectsLayout: i, mode: o, anchorX: d, root: c }) => {
|
|
221
|
-
const u = ue(ut),
|
|
222
|
-
let
|
|
223
|
-
id:
|
|
223
|
+
const u = ue(ut), f = H();
|
|
224
|
+
let p = !0, m = L(() => (p = !1, {
|
|
225
|
+
id: f,
|
|
224
226
|
initial: a,
|
|
225
227
|
isPresent: s,
|
|
226
228
|
custom: r,
|
|
@@ -233,17 +235,17 @@ const dt = ({ children: t, initial: a, isPresent: s, onExitComplete: n, custom:
|
|
|
233
235
|
},
|
|
234
236
|
register: (g) => (u.set(g, !1), () => u.delete(g))
|
|
235
237
|
}), [s, u, n]);
|
|
236
|
-
return i &&
|
|
238
|
+
return i && p && (m = { ...m }), L(() => {
|
|
237
239
|
u.forEach((g, j) => u.set(j, !1));
|
|
238
240
|
}, [s]), F.useEffect(() => {
|
|
239
241
|
!s && !u.size && n && n();
|
|
240
|
-
}, [s]), o === "popLayout" && (t = e.jsx(ct, { isPresent: s, anchorX: d, root: c, children: t })), e.jsx(
|
|
242
|
+
}, [s]), o === "popLayout" && (t = e.jsx(ct, { isPresent: s, anchorX: d, root: c, children: t })), e.jsx(pe.Provider, { value: m, children: t });
|
|
241
243
|
};
|
|
242
244
|
function ut() {
|
|
243
245
|
return /* @__PURE__ */ new Map();
|
|
244
246
|
}
|
|
245
|
-
function
|
|
246
|
-
const a = V(
|
|
247
|
+
function pt(t = !0) {
|
|
248
|
+
const a = V(pe);
|
|
247
249
|
if (a === null)
|
|
248
250
|
return [!0, null];
|
|
249
251
|
const { isPresent: s, onExitComplete: n, register: r } = a, i = H();
|
|
@@ -261,28 +263,28 @@ function ie(t) {
|
|
|
261
263
|
Ie(s) && a.push(s);
|
|
262
264
|
}), a;
|
|
263
265
|
}
|
|
264
|
-
const
|
|
265
|
-
const [u,
|
|
266
|
+
const ft = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presenceAffectsLayout: r = !0, mode: i = "sync", propagate: o = !1, anchorX: d = "left", root: c }) => {
|
|
267
|
+
const [u, f] = pt(o), p = L(() => ie(t), [t]), m = o && !u ? [] : p.map(R), g = A(!0), j = A(p), l = ue(() => /* @__PURE__ */ new Map()), [x, v] = I(p), [h, C] = I(p);
|
|
266
268
|
st(() => {
|
|
267
|
-
g.current = !1, j.current =
|
|
269
|
+
g.current = !1, j.current = p;
|
|
268
270
|
for (let w = 0; w < h.length; w++) {
|
|
269
271
|
const y = R(h[w]);
|
|
270
272
|
m.includes(y) ? l.delete(y) : l.get(y) !== !0 && l.set(y, !1);
|
|
271
273
|
}
|
|
272
274
|
}, [h, m.length, m.join("-")]);
|
|
273
|
-
const
|
|
274
|
-
if (
|
|
275
|
-
let w = [...
|
|
275
|
+
const K = [];
|
|
276
|
+
if (p !== x) {
|
|
277
|
+
let w = [...p];
|
|
276
278
|
for (let y = 0; y < h.length; y++) {
|
|
277
|
-
const
|
|
278
|
-
m.includes($) || (w.splice(y, 0,
|
|
279
|
+
const b = h[y], $ = R(b);
|
|
280
|
+
m.includes($) || (w.splice(y, 0, b), K.push(b));
|
|
279
281
|
}
|
|
280
|
-
return i === "wait" &&
|
|
282
|
+
return i === "wait" && K.length && (w = K), C(ie(w)), v(p), null;
|
|
281
283
|
}
|
|
282
284
|
process.env.NODE_ENV !== "production" && i === "wait" && h.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
283
|
-
const { forceRender:
|
|
285
|
+
const { forceRender: fe } = V(et);
|
|
284
286
|
return e.jsx(e.Fragment, { children: h.map((w) => {
|
|
285
|
-
const y = R(w),
|
|
287
|
+
const y = R(w), b = o && !u ? !1 : p === h || m.includes(y), $ = () => {
|
|
286
288
|
if (l.has(y))
|
|
287
289
|
l.set(y, !0);
|
|
288
290
|
else
|
|
@@ -290,9 +292,9 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
290
292
|
let ee = !0;
|
|
291
293
|
l.forEach((he) => {
|
|
292
294
|
he || (ee = !1);
|
|
293
|
-
}), ee && (
|
|
295
|
+
}), ee && (fe?.(), C(j.current), o && f?.(), n && n());
|
|
294
296
|
};
|
|
295
|
-
return e.jsx(dt, { isPresent:
|
|
297
|
+
return e.jsx(dt, { isPresent: b, initial: !g.current || s ? void 0 : !1, custom: a, presenceAffectsLayout: r, mode: i, root: c, onExitComplete: b ? void 0 : $, anchorX: d, children: w }, y);
|
|
296
298
|
}) });
|
|
297
299
|
}, ht = ({
|
|
298
300
|
apiKey: t,
|
|
@@ -301,15 +303,15 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
301
303
|
}) => {
|
|
302
304
|
const [n, r] = I(!1), { key: i, createdOn: o, expiresOn: d } = t, c = d && new Date(d) < /* @__PURE__ */ new Date(), u = d ? Math.ceil(
|
|
303
305
|
(new Date(d).getTime() - Date.now()) / (1e3 * 60 * 60 * 24)
|
|
304
|
-
) : 1 / 0,
|
|
306
|
+
) : 1 / 0, f = u <= 7 && !c;
|
|
305
307
|
return /* @__PURE__ */ e.jsxs("div", { className: X("grid col-span-full grid-cols-subgrid p-6", s), children: [
|
|
306
308
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
307
309
|
/* @__PURE__ */ e.jsx(
|
|
308
|
-
|
|
310
|
+
Ve,
|
|
309
311
|
{
|
|
310
312
|
className: "max-w-fit w-full",
|
|
311
313
|
secret: i,
|
|
312
|
-
status: c ? "expired" :
|
|
314
|
+
status: c ? "expired" : f ? "expiring" : "active",
|
|
313
315
|
revealed: n,
|
|
314
316
|
onReveal: r
|
|
315
317
|
}
|
|
@@ -321,7 +323,7 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
321
323
|
"."
|
|
322
324
|
] }),
|
|
323
325
|
" ",
|
|
324
|
-
d &&
|
|
326
|
+
d && f && /* @__PURE__ */ e.jsxs("span", { className: "text-xs text-primary", children: [
|
|
325
327
|
"Expires in ",
|
|
326
328
|
u,
|
|
327
329
|
" ",
|
|
@@ -335,14 +337,14 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
335
337
|
] })
|
|
336
338
|
] })
|
|
337
339
|
] }),
|
|
338
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex justify-end", children: d && a && /* @__PURE__ */ e.jsxs(
|
|
339
|
-
/* @__PURE__ */ e.jsx(
|
|
340
|
-
/* @__PURE__ */ e.jsxs(
|
|
341
|
-
/* @__PURE__ */ e.jsxs(
|
|
342
|
-
/* @__PURE__ */ e.jsx(
|
|
340
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex justify-end", children: d && a && /* @__PURE__ */ e.jsxs(Z, { children: [
|
|
341
|
+
/* @__PURE__ */ e.jsx(G, { asChild: !0, children: /* @__PURE__ */ e.jsx(k, { variant: "ghost", size: "icon", children: /* @__PURE__ */ e.jsx(me, { size: 16 }) }) }),
|
|
342
|
+
/* @__PURE__ */ e.jsxs(J, { children: [
|
|
343
|
+
/* @__PURE__ */ e.jsxs(Y, { children: [
|
|
344
|
+
/* @__PURE__ */ e.jsx(U, { children: "Delete API Key" }),
|
|
343
345
|
/* @__PURE__ */ e.jsx(le, { children: "Are you sure you want to delete this API key?" })
|
|
344
346
|
] }),
|
|
345
|
-
/* @__PURE__ */ e.jsxs(
|
|
347
|
+
/* @__PURE__ */ e.jsxs(B, { children: [
|
|
346
348
|
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(k, { variant: "outline", children: "Cancel" }) }),
|
|
347
349
|
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(
|
|
348
350
|
k,
|
|
@@ -366,14 +368,14 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
366
368
|
onRollKey: s,
|
|
367
369
|
onDeleteKey: n
|
|
368
370
|
}) => {
|
|
369
|
-
const [r, i] = I(!1), [o, d] = I(t.label), c = ce(), u =
|
|
371
|
+
const [r, i] = I(!1), [o, d] = I(t.label), c = ce(), u = W(), f = q({
|
|
370
372
|
mutationFn: async (l) => {
|
|
371
373
|
if (!s)
|
|
372
374
|
throw new Error("rollKey not implemented");
|
|
373
375
|
return await s?.(l, u);
|
|
374
376
|
},
|
|
375
377
|
onSuccess: () => void c.invalidateQueries({ queryKey: ["api-keys"] })
|
|
376
|
-
}),
|
|
378
|
+
}), p = q({
|
|
377
379
|
mutationFn: ({
|
|
378
380
|
consumerId: l,
|
|
379
381
|
keyId: x
|
|
@@ -389,7 +391,7 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
389
391
|
]);
|
|
390
392
|
return c.setQueryData(["api-keys"], (h) => h && h.map((C) => C.id === l ? {
|
|
391
393
|
...C,
|
|
392
|
-
apiKeys: C.apiKeys.filter((
|
|
394
|
+
apiKeys: C.apiKeys.filter((K) => K.id !== x)
|
|
393
395
|
} : C)), { previousData: v };
|
|
394
396
|
},
|
|
395
397
|
onError: (l, x, v) => {
|
|
@@ -430,24 +432,24 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
430
432
|
}), i(!1);
|
|
431
433
|
};
|
|
432
434
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
433
|
-
|
|
435
|
+
f.isError && /* @__PURE__ */ e.jsxs(D, { variant: "destructive", className: "mb-4", children: [
|
|
434
436
|
/* @__PURE__ */ e.jsx(z, { size: 16 }),
|
|
435
|
-
/* @__PURE__ */ e.jsx(P, { children:
|
|
437
|
+
/* @__PURE__ */ e.jsx(P, { children: f.error.message })
|
|
436
438
|
] }),
|
|
437
439
|
m.isError && /* @__PURE__ */ e.jsxs(D, { variant: "destructive", className: "mb-4", children: [
|
|
438
440
|
/* @__PURE__ */ e.jsx(z, { size: 16 }),
|
|
439
441
|
/* @__PURE__ */ e.jsx(P, { children: m.error.message })
|
|
440
442
|
] }),
|
|
441
|
-
|
|
443
|
+
p.isError && /* @__PURE__ */ e.jsxs(D, { variant: "destructive", className: "mb-4", children: [
|
|
442
444
|
/* @__PURE__ */ e.jsx(z, { size: 16 }),
|
|
443
|
-
/* @__PURE__ */ e.jsx(P, { children:
|
|
445
|
+
/* @__PURE__ */ e.jsx(P, { children: p.error.message })
|
|
444
446
|
] }),
|
|
445
447
|
/* @__PURE__ */ e.jsxs(
|
|
446
|
-
|
|
448
|
+
De,
|
|
447
449
|
{
|
|
448
450
|
className: "grid grid-cols-subgrid col-span-full items-center mb-4 group",
|
|
449
451
|
children: [
|
|
450
|
-
/* @__PURE__ */ e.jsxs(
|
|
452
|
+
/* @__PURE__ */ e.jsxs(Pe, { className: "col-span-full flex-row items-start justify-between gap-4", children: [
|
|
451
453
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
452
454
|
r ? /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
453
455
|
/* @__PURE__ */ e.jsx(
|
|
@@ -483,8 +485,8 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
483
485
|
}
|
|
484
486
|
)
|
|
485
487
|
] })
|
|
486
|
-
] }) : /* @__PURE__ */ e.jsx(
|
|
487
|
-
/* @__PURE__ */ e.jsxs(
|
|
488
|
+
] }) : /* @__PURE__ */ e.jsx(Ae, { children: t.label }),
|
|
489
|
+
/* @__PURE__ */ e.jsxs(Se, { children: [
|
|
488
490
|
t.createdOn && /* @__PURE__ */ e.jsxs("div", { children: [
|
|
489
491
|
"Created on ",
|
|
490
492
|
new Date(t.createdOn).toLocaleDateString()
|
|
@@ -512,38 +514,38 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
512
514
|
]
|
|
513
515
|
}
|
|
514
516
|
),
|
|
515
|
-
s && /* @__PURE__ */ e.jsxs(
|
|
516
|
-
/* @__PURE__ */ e.jsx(
|
|
517
|
+
s && /* @__PURE__ */ e.jsxs(Z, { children: [
|
|
518
|
+
/* @__PURE__ */ e.jsx(G, { asChild: !0, children: /* @__PURE__ */ e.jsxs(
|
|
517
519
|
k,
|
|
518
520
|
{
|
|
519
521
|
title: "Roll this key",
|
|
520
522
|
variant: "ghost",
|
|
521
|
-
disabled:
|
|
523
|
+
disabled: f.isPending,
|
|
522
524
|
className: "flex items-center gap-2",
|
|
523
525
|
children: [
|
|
524
526
|
/* @__PURE__ */ e.jsx(
|
|
525
527
|
je,
|
|
526
528
|
{
|
|
527
529
|
size: 16,
|
|
528
|
-
className:
|
|
530
|
+
className: f.isPending ? "animate-spin" : void 0
|
|
529
531
|
}
|
|
530
532
|
),
|
|
531
533
|
/* @__PURE__ */ e.jsx("span", { className: "hidden md:block", children: "Roll key" })
|
|
532
534
|
]
|
|
533
535
|
}
|
|
534
536
|
) }),
|
|
535
|
-
/* @__PURE__ */ e.jsxs(
|
|
536
|
-
/* @__PURE__ */ e.jsxs(
|
|
537
|
-
/* @__PURE__ */ e.jsx(
|
|
537
|
+
/* @__PURE__ */ e.jsxs(J, { children: [
|
|
538
|
+
/* @__PURE__ */ e.jsxs(Y, { children: [
|
|
539
|
+
/* @__PURE__ */ e.jsx(U, { children: "Roll API Key" }),
|
|
538
540
|
/* @__PURE__ */ e.jsx(le, { children: "Are you sure you want to roll this API key?" })
|
|
539
541
|
] }),
|
|
540
|
-
/* @__PURE__ */ e.jsxs(
|
|
542
|
+
/* @__PURE__ */ e.jsxs(B, { children: [
|
|
541
543
|
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(k, { variant: "outline", children: "Cancel" }) }),
|
|
542
544
|
/* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(
|
|
543
545
|
k,
|
|
544
546
|
{
|
|
545
547
|
onClick: () => {
|
|
546
|
-
|
|
548
|
+
f.mutate(t.id);
|
|
547
549
|
},
|
|
548
550
|
children: "Roll Key"
|
|
549
551
|
}
|
|
@@ -553,17 +555,17 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
553
555
|
] })
|
|
554
556
|
] })
|
|
555
557
|
] }),
|
|
556
|
-
/* @__PURE__ */ e.jsx(
|
|
558
|
+
/* @__PURE__ */ e.jsx(Re, { className: "p-0 grid grid-cols-subgrid col-span-full divide-y divide-border", children: /* @__PURE__ */ e.jsx(ft, { children: t.apiKeys.map((l) => /* @__PURE__ */ e.jsx(
|
|
557
559
|
ht,
|
|
558
560
|
{
|
|
559
561
|
apiKey: l,
|
|
560
562
|
onDeleteKey: () => {
|
|
561
|
-
|
|
563
|
+
p.mutate({
|
|
562
564
|
consumerId: t.id,
|
|
563
565
|
keyId: l.id
|
|
564
566
|
});
|
|
565
567
|
},
|
|
566
|
-
className:
|
|
568
|
+
className: p.variables?.keyId === l.id && p.isPending ? "opacity-10!" : void 0
|
|
567
569
|
},
|
|
568
570
|
l.id
|
|
569
571
|
)) }) })
|
|
@@ -573,7 +575,7 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
573
575
|
)
|
|
574
576
|
] });
|
|
575
577
|
}, yt = ({ service: t }) => {
|
|
576
|
-
const a =
|
|
578
|
+
const a = W(), { data: s } = Je({
|
|
577
579
|
queryFn: async () => {
|
|
578
580
|
try {
|
|
579
581
|
return await t.getConsumers(a);
|
|
@@ -629,14 +631,14 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
629
631
|
] }),
|
|
630
632
|
/* @__PURE__ */ e.jsx("p", { children: "Create, manage, and monitor your API keys" }),
|
|
631
633
|
/* @__PURE__ */ e.jsx(te.Target, { name: "api-keys-list-page-before-keys" }),
|
|
632
|
-
n.profile?.emailVerified === !1 ? /* @__PURE__ */ e.jsxs(
|
|
633
|
-
/* @__PURE__ */ e.jsxs(
|
|
634
|
-
/* @__PURE__ */ e.jsx(
|
|
635
|
-
/* @__PURE__ */ e.jsx(
|
|
634
|
+
n.profile?.emailVerified === !1 ? /* @__PURE__ */ e.jsxs(Ne, { variant: "outline", children: [
|
|
635
|
+
/* @__PURE__ */ e.jsxs(Oe, { children: [
|
|
636
|
+
/* @__PURE__ */ e.jsx(Te, { children: "Verified email required" }),
|
|
637
|
+
/* @__PURE__ */ e.jsx(qe, { children: "You need to verify your email to access API keys." })
|
|
636
638
|
] }),
|
|
637
|
-
/* @__PURE__ */ e.jsx(
|
|
639
|
+
/* @__PURE__ */ e.jsx(Me, { children: /* @__PURE__ */ e.jsx(_, { onClick: () => n.requestEmailVerification(), children: "Verify email" }) })
|
|
638
640
|
] }) : /* @__PURE__ */ e.jsx(
|
|
639
|
-
|
|
641
|
+
Ke,
|
|
640
642
|
{
|
|
641
643
|
fallbackRender: ({ error: r }) => /* @__PURE__ */ e.jsx(Ue, { error: r }),
|
|
642
644
|
children: /* @__PURE__ */ e.jsx(yt, { service: t })
|
|
@@ -733,7 +735,7 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
733
735
|
}));
|
|
734
736
|
},
|
|
735
737
|
...a
|
|
736
|
-
}),
|
|
738
|
+
}), _t = (t) => t, Bt = ({
|
|
737
739
|
deploymentName: t,
|
|
738
740
|
isZuplo: a,
|
|
739
741
|
...s
|
|
@@ -781,7 +783,7 @@ const pt = ({ children: t, custom: a, initial: s = !0, onExitComplete: n, presen
|
|
|
781
783
|
};
|
|
782
784
|
};
|
|
783
785
|
export {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
+
Bt as apiKeyPlugin,
|
|
787
|
+
_t as createApiKeyService
|
|
786
788
|
};
|
|
787
789
|
//# sourceMappingURL=zudoku.plugin-api-keys.js.map
|