zudoku 0.0.0-monetization-standalone.zd1543a39 → 0.0.0-monetization-standalone.zada7f04c
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 +1 -1
- package/dist/config/create-plugin.js +7 -5
- package/dist/config/create-plugin.js.map +1 -1
- package/dist/config/loader.js +2 -2
- package/dist/config/loader.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.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/Zudoku.d.ts +4 -1
- package/dist/lib/components/Zudoku.js +2 -2
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/index.d.ts +3 -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 +3 -1
- 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/hooks/useEvent.test.js +1 -1
- package/dist/lib/hooks/useEvent.test.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/lib/{ClaudeLogo-CUaQXKLK.js → ClaudeLogo-K64Qm6gS.js} +2 -2
- package/lib/{ClaudeLogo-CUaQXKLK.js.map → ClaudeLogo-K64Qm6gS.js.map} +1 -1
- package/lib/{MdxPage-BiAVpP8K.js → MdxPage-Cr99RARi.js} +5 -5
- package/lib/{MdxPage-BiAVpP8K.js.map → MdxPage-Cr99RARi.js.map} +1 -1
- package/lib/{OAuthErrorPage-DhJo-O2B.js → OAuthErrorPage-BRXS5AMu.js} +3 -3
- package/lib/{OAuthErrorPage-DhJo-O2B.js.map → OAuthErrorPage-BRXS5AMu.js.map} +1 -1
- package/lib/{OasProvider-DFMZwyNn.js → OasProvider-sP_SqSM7.js} +2 -2
- package/lib/{OasProvider-DFMZwyNn.js.map → OasProvider-sP_SqSM7.js.map} +1 -1
- package/lib/{OperationList-CnmLfOuu.js → OperationList-DR0APPhk.js} +5 -5
- package/lib/{OperationList-CnmLfOuu.js.map → OperationList-DR0APPhk.js.map} +1 -1
- package/lib/{SchemaList-B5ikunUd.js → SchemaList-DgqAAHSI.js} +6 -6
- package/lib/{SchemaList-B5ikunUd.js.map → SchemaList-DgqAAHSI.js.map} +1 -1
- package/lib/{SchemaView-rjji7zMf.js → SchemaView-7IyQYEqk.js} +3 -3
- package/lib/{SchemaView-rjji7zMf.js.map → SchemaView-7IyQYEqk.js.map} +1 -1
- package/lib/{SignUp-DHWDXat-.js → SignUp-D3zhMk7q.js} +2 -2
- package/lib/{SignUp-DHWDXat-.js.map → SignUp-D3zhMk7q.js.map} +1 -1
- package/lib/{Toc-vMbSQCkj.js → Toc-GluXkcIk.js} +2 -2
- package/lib/{Toc-vMbSQCkj.js.map → Toc-GluXkcIk.js.map} +1 -1
- package/lib/{circular-CLhJAE3S.js → circular-Bunzbpsy.js} +2 -2
- package/lib/{circular-CLhJAE3S.js.map → circular-Bunzbpsy.js.map} +1 -1
- package/lib/{createServer-BYtu5Pcr.js → createServer-Dl4Xwsm4.js} +4 -4
- package/lib/{createServer-BYtu5Pcr.js.map → createServer-Dl4Xwsm4.js.map} +1 -1
- package/lib/{errors-DkJIl45d.js → errors-D2NINcVk.js} +2 -2
- package/lib/{errors-DkJIl45d.js.map → errors-D2NINcVk.js.map} +1 -1
- package/lib/{firebase-CmsW0j7-.js → firebase-BVAmGV_v.js} +10 -10
- package/lib/{firebase-CmsW0j7-.js.map → firebase-BVAmGV_v.js.map} +1 -1
- package/lib/{index-k0PVZBYl.js → index-BfTLawvZ.js} +7 -7
- package/lib/{index-k0PVZBYl.js.map → index-BfTLawvZ.js.map} +1 -1
- package/lib/{index-D35F-SCL.js → index-DTjrb36R.js} +2 -2
- package/lib/{index-D35F-SCL.js.map → index-DTjrb36R.js.map} +1 -1
- package/lib/{index-ofqkdEjL.js → index-DYfX9H7i.js} +34 -29
- package/lib/{index-ofqkdEjL.js.map → index-DYfX9H7i.js.map} +1 -1
- package/lib/{index.esm-DFzsB75P.js → index.esm-GMDd_9gw.js} +2 -2
- package/lib/index.esm-GMDd_9gw.js.map +1 -0
- package/lib/zudoku.__internal.js +494 -471
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +3 -3
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-firebase.js +3 -3
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.auth-supabase.js +3 -3
- package/lib/zudoku.components.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +2 -2
- package/lib/zudoku.plugin-api-keys.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +1 -2
- package/src/app/main.tsx +1 -1
- package/src/lib/components/Slot.test.tsx +1 -1
- package/src/lib/components/Zudoku.tsx +13 -3
- 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 +52 -14
- package/src/lib/hooks/useEvent.test.tsx +1 -1
- package/lib/index.esm-DFzsB75P.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { LogOutIcon as n } from "lucide-react";
|
|
3
|
-
import { S as i, a, b as u } from "./SignUp-
|
|
3
|
+
import { S as i, a, b as u } from "./SignUp-D3zhMk7q.js";
|
|
4
4
|
import { Z as m } from "./invariant-BJAl77rw.js";
|
|
5
5
|
class h {
|
|
6
6
|
getRoutes() {
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
h as C,
|
|
43
43
|
f as O
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=errors-
|
|
45
|
+
//# sourceMappingURL=errors-D2NINcVk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-D2NINcVk.js","sources":["../src/lib/authentication/AuthenticationPlugin.tsx","../src/lib/authentication/errors.ts"],"sourcesContent":["import { LogOutIcon } from \"lucide-react\";\nimport type {\n CommonPlugin,\n NavigationPlugin,\n ProfileMenuPlugin,\n} from \"../core/plugins.js\";\nimport { SignIn } from \"./components/SignIn.js\";\nimport { SignOut } from \"./components/SignOut.js\";\nimport { SignUp } from \"./components/SignUp.js\";\n\ntype PluginInterface = NavigationPlugin & CommonPlugin & ProfileMenuPlugin;\n\nexport class CoreAuthenticationPlugin implements PluginInterface {\n getRoutes() {\n return [\n {\n path: \"/signout\",\n element: <SignOut />,\n },\n {\n path: \"/signin\",\n element: <SignIn />,\n },\n {\n path: \"/signup\",\n element: <SignUp />,\n },\n ];\n }\n\n getProfileMenuItems() {\n return [\n {\n label: \"Logout\",\n path: \"/signout\",\n category: \"bottom\",\n icon: LogOutIcon,\n } as const,\n ];\n }\n}\n","import type { OAuth2Error } from \"oauth4webapi\";\nimport { ZudokuError, type ZudokuErrorOptions } from \"../util/invariant.js\";\n\nexport class AuthorizationError extends Error {}\n\nexport class OAuthAuthorizationError extends ZudokuError {\n constructor(\n message: string,\n public error: OAuth2Error,\n options?: ZudokuErrorOptions,\n ) {\n super(message, options);\n }\n}\n\nexport type OAuthErrorType =\n // Authorization errors\n | \"invalid_request\"\n | \"unauthorized_client\"\n | \"access_denied\"\n | \"unsupported_response_type\"\n | \"invalid_scope\"\n | \"server_error\"\n | \"temporarily_unavailable\"\n // Token errors\n | \"invalid_client\"\n | \"invalid_grant\"\n | \"unsupported_grant_type\"\n // Custom errors\n | \"invalid_state\"\n | \"missing_code_verifier\"\n | \"network_error\"\n | \"token_expired\"\n | \"configuration_error\"\n | \"unknown_error\";\n"],"names":["CoreAuthenticationPlugin","SignOut","SignIn","SignUp","LogOutIcon","AuthorizationError","OAuthAuthorizationError","ZudokuError","message","error","options"],"mappings":";;;;AAYO,MAAMA,EAAoD;AAAA,EAC/D,YAAY;AACV,WAAO;AAAA,MACL;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAQ;AAAA,MAAA;AAAA,MAEpB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,MAEnB;AAAA,QACE,MAAM;AAAA,QACN,+BAAUC,GAAA,CAAA,CAAO;AAAA,MAAA;AAAA,IACnB;AAAA,EAEJ;AAAA,EAEA,sBAAsB;AACpB,WAAO;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,MAAM;AAAA,QACN,UAAU;AAAA,QACV,MAAMC;AAAA,MAAA;AAAA,IACR;AAAA,EAEJ;AACF;ACrCO,MAAMC,UAA2B,MAAM;AAAC;AAExC,MAAMC,UAAgCC,EAAY;AAAA,EACvD,YACEC,GACOC,GACPC,GACA;AACA,UAAMF,GAASE,CAAO,GAHf,KAAA,QAAAD;AAAA,EAIT;AACF;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { Z as qe } from "./invariant-BJAl77rw.js";
|
|
3
|
-
import { C as Ir, A as Te } from "./errors-
|
|
4
|
-
import { S as yr } from "./SignUp-
|
|
3
|
+
import { C as Ir, A as Te } from "./errors-D2NINcVk.js";
|
|
4
|
+
import { S as yr } from "./SignUp-D3zhMk7q.js";
|
|
5
5
|
import { j as Er, u as D } from "./ZudokuContext-CnEI8jPU.js";
|
|
6
6
|
import { e as vr } from "./useSuspenseQuery-CSB_rVek.js";
|
|
7
7
|
import { u as te } from "./useMutation-CFMGlAMW.js";
|
|
@@ -7497,31 +7497,31 @@ class $o extends Ir {
|
|
|
7497
7497
|
const uc = (n) => new $o(n), dn = async (n) => {
|
|
7498
7498
|
switch (n) {
|
|
7499
7499
|
case "google": {
|
|
7500
|
-
const { GoogleAuthProvider: e } = await import("./index.esm-
|
|
7500
|
+
const { GoogleAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7501
7501
|
return new e();
|
|
7502
7502
|
}
|
|
7503
7503
|
case "github": {
|
|
7504
|
-
const { GithubAuthProvider: e } = await import("./index.esm-
|
|
7504
|
+
const { GithubAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7505
7505
|
return new e();
|
|
7506
7506
|
}
|
|
7507
7507
|
case "facebook": {
|
|
7508
|
-
const { FacebookAuthProvider: e } = await import("./index.esm-
|
|
7508
|
+
const { FacebookAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7509
7509
|
return new e();
|
|
7510
7510
|
}
|
|
7511
7511
|
case "twitter": {
|
|
7512
|
-
const { TwitterAuthProvider: e } = await import("./index.esm-
|
|
7512
|
+
const { TwitterAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7513
7513
|
return new e();
|
|
7514
7514
|
}
|
|
7515
7515
|
case "microsoft": {
|
|
7516
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7516
|
+
const { OAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7517
7517
|
return new e("microsoft.com");
|
|
7518
7518
|
}
|
|
7519
7519
|
case "apple": {
|
|
7520
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7520
|
+
const { OAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7521
7521
|
return new e("apple.com");
|
|
7522
7522
|
}
|
|
7523
7523
|
case "yahoo": {
|
|
7524
|
-
const { OAuthProvider: e } = await import("./index.esm-
|
|
7524
|
+
const { OAuthProvider: e } = await import("./index.esm-GMDd_9gw.js");
|
|
7525
7525
|
return new e("yahoo.com");
|
|
7526
7526
|
}
|
|
7527
7527
|
}
|
|
@@ -7611,4 +7611,4 @@ export {
|
|
|
7611
7611
|
wa as x,
|
|
7612
7612
|
uc as y
|
|
7613
7613
|
};
|
|
7614
|
-
//# sourceMappingURL=firebase-
|
|
7614
|
+
//# sourceMappingURL=firebase-BVAmGV_v.js.map
|