@baseplate-dev/plugin-auth 0.6.19 → 0.6.20
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/CHANGELOG.md +16 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +1 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +1 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +1 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +6 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +10 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +2 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +1 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +8 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +10 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +2 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +2 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +1 -0
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-DUupKqD4.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-Ckrp2j8j.js} +12 -12
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-mszeXpf-.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js} +1 -1
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CtIleM_e.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js} +388 -254
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-BckLhSjF.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-R9lCFRaW.js} +2 -2
- package/dist/web/assets/{hostInit-DNA4kLRY.js → hostInit-CGEb3Tbe.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-0-ea77c09b.js → mf-entry-bootstrap-0-ed392701.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-1-9dee3d8d.js → mf-entry-bootstrap-1-e2d80a25.js} +2 -2
- package/dist/web/assets/{mf-entry-bootstrap-2-3179040b.js → mf-entry-bootstrap-2-ea90e6fe.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-3-370d200d.js → mf-entry-bootstrap-3-5268230e.js} +2 -2
- package/dist/web/assets/{styles-BQEcQHoR.js → styles-DZYLavnA.js} +6 -6
- package/dist/web/assets/{virtualExposes-C7fDiAmS.js → virtualExposes-DnIi4GOx.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BZBRyml2.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-rNmzkDAw.js} +3 -3
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-6SjVUCs8.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-E86pU-VB.js} +7 -7
- package/dist/web/assets/{web-CzK_la2_.js → web-BKsbE-x8.js} +15 -15
- package/dist/web/assets/{web-CypPeiVv.js → web-BNZ-0TYy.js} +13 -13
- package/dist/web/assets/{web-8wz0ad-V.js → web-C6j3Z4Pi.js} +2 -2
- package/dist/web/assets/{web-CQMfABjr.js → web-DPZssHx1.js} +7 -7
- package/dist/web/assets/{web-BxIwkN3O.js → web-DiHdy5Ov.js} +2 -2
- package/dist/web/assets/{web-BGixH_gT.js → web-RWlatCpa.js} +6 -6
- package/dist/web/assets/{web-CcNpItSu.js → web-f-cndKO0.js} +5 -5
- package/dist/web/index.html +4 -4
- package/dist/web/remoteEntry.js +1 -1
- package/package.json +13 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
|
|
2
|
-
import { Q as __mf_2$3, X as __mf_0$2, Y as require_with_selector, Z as __mf_1$2, _t as __mf_7$2, at as __mf_2$2, ct as __mf_24$2, et as __mfDefaultExport$1, ft as __mf_31$2, gt as __mf_38$2, ht as __mf_37$2, it as __mf_19$2, lt as __mf_25$2, mt as __mf_34$2, nt as __mf_14$2, ot as __mf_20$2, pt as __mf_33$2, q as __mf_2$4, rt as __mf_16$2, st as __mf_22$2, tt as __mf_13$2, ut as __mf_28$2, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
2
|
+
import { Q as __mf_2$3, X as __mf_0$2, Y as require_with_selector, Z as __mf_1$2, _t as __mf_7$2, at as __mf_2$2, ct as __mf_24$2, et as __mfDefaultExport$1, ft as __mf_31$2, gt as __mf_38$2, ht as __mf_37$2, it as __mf_19$2, lt as __mf_25$2, mt as __mf_34$2, nt as __mf_14$2, ot as __mf_20$2, pt as __mf_33$2, q as __mf_2$4, rt as __mf_16$2, st as __mf_22$2, tt as __mf_13$2, ut as __mf_28$2, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/utils.js
|
|
4
4
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5
5
|
/**
|
|
@@ -7533,4 +7533,4 @@ __mfApplySharedExports(exportModule);
|
|
|
7533
7533
|
//#endregion
|
|
7534
7534
|
export { __mf_92 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_13 as t };
|
|
7535
7535
|
|
|
7536
|
-
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
7536
|
+
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-R9lCFRaW.js.map
|
|
@@ -72,7 +72,7 @@ async function initHost() {
|
|
|
72
72
|
};
|
|
73
73
|
const runtime = await (await __vitePreload(() => import("../remoteEntry.js"), [], import.meta.url)).init();
|
|
74
74
|
const { usedShared } = await __vitePreload(async () => {
|
|
75
|
-
const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-
|
|
75
|
+
const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-Ckrp2j8j.js");
|
|
76
76
|
return { usedShared };
|
|
77
77
|
}, [], import.meta.url);
|
|
78
78
|
const __mfNormalizeRuntimeShare = (mod) => {
|
package/dist/web/assets/{mf-entry-bootstrap-0-ea77c09b.js → mf-entry-bootstrap-0-ed392701.js}
RENAMED
|
@@ -26,7 +26,7 @@ const __mfImport = (src) =>
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
(async () => {
|
|
29
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
29
|
+
const __mfHostInit = await __mfImport("./hostInit-CGEb3Tbe.js");
|
|
30
30
|
await __mfHostInit.__tla;
|
|
31
31
|
const { initHost } = __mfHostInit;
|
|
32
32
|
await initHost();
|
package/dist/web/assets/{mf-entry-bootstrap-1-9dee3d8d.js → mf-entry-bootstrap-1-e2d80a25.js}
RENAMED
|
@@ -26,11 +26,11 @@ const __mfImport = (src) =>
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
(async () => {
|
|
29
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
29
|
+
const __mfHostInit = await __mfImport("./hostInit-CGEb3Tbe.js");
|
|
30
30
|
await __mfHostInit.__tla;
|
|
31
31
|
const { initHost } = __mfHostInit;
|
|
32
32
|
await initHost();
|
|
33
33
|
if (__mfModuleCache.pendingShareLoads) {
|
|
34
34
|
await Promise.all(__mfModuleCache.pendingShareLoads);
|
|
35
35
|
}
|
|
36
|
-
})().then(() => __mfImport("./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
36
|
+
})().then(() => __mfImport("./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-E86pU-VB.js"));
|
package/dist/web/assets/{mf-entry-bootstrap-2-3179040b.js → mf-entry-bootstrap-2-ea90e6fe.js}
RENAMED
|
@@ -26,7 +26,7 @@ const __mfImport = (src) =>
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
(async () => {
|
|
29
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
29
|
+
const __mfHostInit = await __mfImport("./hostInit-CGEb3Tbe.js");
|
|
30
30
|
await __mfHostInit.__tla;
|
|
31
31
|
const { initHost } = __mfHostInit;
|
|
32
32
|
await initHost();
|
package/dist/web/assets/{mf-entry-bootstrap-3-370d200d.js → mf-entry-bootstrap-3-5268230e.js}
RENAMED
|
@@ -26,11 +26,11 @@ const __mfImport = (src) =>
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
(async () => {
|
|
29
|
-
const __mfHostInit = await __mfImport("./hostInit-
|
|
29
|
+
const __mfHostInit = await __mfImport("./hostInit-CGEb3Tbe.js");
|
|
30
30
|
await __mfHostInit.__tla;
|
|
31
31
|
const { initHost } = __mfHostInit;
|
|
32
32
|
await initHost();
|
|
33
33
|
if (__mfModuleCache.pendingShareLoads) {
|
|
34
34
|
await Promise.all(__mfModuleCache.pendingShareLoads);
|
|
35
35
|
}
|
|
36
|
-
})().then(() => __mfImport("./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
36
|
+
})().then(() => __mfImport("./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-rNmzkDAw.js"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as appendErrors, H as set, Q as __mf_2, V as get, Z as __mf_1, a as
|
|
2
|
-
import { t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
1
|
+
import { B as appendErrors, H as set, Q as __mf_2, V as get, Z as __mf_1, a as __mf_172, o as __mf_173 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
|
+
import { t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-R9lCFRaW.js";
|
|
3
3
|
import { L as parse, R as parseAsync, h as __mf_24, z as $ZodError } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
4
|
-
import { r as __mf_14 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
+
import { r as __mf_14 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.2.2_react-hook-form@7.71.1/node_modules/@hookform/resolvers/dist/resolvers.mjs
|
|
6
6
|
var r = (t, r, o) => {
|
|
7
7
|
if (t && "reportValidity" in t) {
|
|
@@ -154,14 +154,14 @@ function AuthConfigTabs() {
|
|
|
154
154
|
const implementationPluginKey = __mf_24.configByKey(definition, authPlugin.metadata.key)?.implementationPluginKey;
|
|
155
155
|
const authImplementationPlugin = schemaParserContext.pluginStore.availablePlugins.find((p) => p.metadata.key === implementationPluginKey);
|
|
156
156
|
if (!authImplementationPlugin) return null;
|
|
157
|
-
return /* @__PURE__ */ __mf_2(
|
|
157
|
+
return /* @__PURE__ */ __mf_2(__mf_172, { children: [/* @__PURE__ */ __mf_1(__mf_173, {
|
|
158
158
|
render: /* @__PURE__ */ __mf_1(__mf_13, {
|
|
159
159
|
to: "/plugins/edit/$key",
|
|
160
160
|
params: { key: authPlugin.metadata.key },
|
|
161
161
|
activeOptions: { exact: true }
|
|
162
162
|
}),
|
|
163
163
|
children: "Auth"
|
|
164
|
-
}), /* @__PURE__ */ __mf_1(
|
|
164
|
+
}), /* @__PURE__ */ __mf_1(__mf_173, {
|
|
165
165
|
render: /* @__PURE__ */ __mf_1(__mf_13, {
|
|
166
166
|
to: `/plugins/edit/${authImplementationPlugin.metadata.key}`,
|
|
167
167
|
activeOptions: { exact: true }
|
|
@@ -172,4 +172,4 @@ function AuthConfigTabs() {
|
|
|
172
172
|
//#endregion
|
|
173
173
|
export { a as n, AuthConfigTabs as t };
|
|
174
174
|
|
|
175
|
-
//# sourceMappingURL=styles-
|
|
175
|
+
//# sourceMappingURL=styles-DZYLavnA.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-E86pU-VB.js";
|
|
2
2
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as default };
|
|
@@ -125,14 +125,14 @@ var __mfResolveExternalSharedProvider = (instances, scopeRoot, shared, scopeName
|
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
async function getLocalSharedImportMap() {
|
|
128
|
-
if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-
|
|
128
|
+
if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-Ckrp2j8j.js"), [], import.meta.url)).catch((e) => {
|
|
129
129
|
localSharedImportMapPromise = void 0;
|
|
130
130
|
throw e;
|
|
131
131
|
});
|
|
132
132
|
return localSharedImportMapPromise;
|
|
133
133
|
}
|
|
134
134
|
async function getExposesMap() {
|
|
135
|
-
if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-
|
|
135
|
+
if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-DnIi4GOx.js"), [], import.meta.url)).then((mod) => mod.default ?? mod).catch((e) => {
|
|
136
136
|
exposesMapPromise = void 0;
|
|
137
137
|
throw e;
|
|
138
138
|
});
|
|
@@ -744,4 +744,4 @@ async function getExposes(moduleName) {
|
|
|
744
744
|
//#endregion
|
|
745
745
|
export { init as n, getExposes as t };
|
|
746
746
|
|
|
747
|
-
//# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
747
|
+
//# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-rNmzkDAw.js.map
|
|
@@ -31,7 +31,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
31
31
|
"./auth/core/web": async () => {
|
|
32
32
|
await injectCssAssets("./auth/core/web");
|
|
33
33
|
await Promise.all([]);
|
|
34
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
34
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BKsbE-x8.js"), __vite__mapDeps([0]), import.meta.url));
|
|
35
35
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
36
36
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
37
37
|
const exportModule = {};
|
|
@@ -59,7 +59,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
59
59
|
"./better-auth/core/web": async () => {
|
|
60
60
|
await injectCssAssets("./better-auth/core/web");
|
|
61
61
|
await Promise.all([]);
|
|
62
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
62
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DPZssHx1.js"), __vite__mapDeps([0]), import.meta.url));
|
|
63
63
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
64
64
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
65
65
|
const exportModule = {};
|
|
@@ -87,7 +87,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
87
87
|
"./better-auth/admin/web": async () => {
|
|
88
88
|
await injectCssAssets("./better-auth/admin/web");
|
|
89
89
|
await Promise.all([]);
|
|
90
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
90
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DiHdy5Ov.js"), [], import.meta.url));
|
|
91
91
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
92
92
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
93
93
|
const exportModule = {};
|
|
@@ -115,7 +115,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
115
115
|
"./local-auth/core/web": async () => {
|
|
116
116
|
await injectCssAssets("./local-auth/core/web");
|
|
117
117
|
await Promise.all([]);
|
|
118
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
118
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BNZ-0TYy.js"), __vite__mapDeps([0]), import.meta.url));
|
|
119
119
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
120
120
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
121
121
|
const exportModule = {};
|
|
@@ -143,7 +143,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
143
143
|
"./local-auth/admin/web": async () => {
|
|
144
144
|
await injectCssAssets("./local-auth/admin/web");
|
|
145
145
|
await Promise.all([]);
|
|
146
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
146
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-C6j3Z4Pi.js"), [], import.meta.url));
|
|
147
147
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
148
148
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
149
149
|
const exportModule = {};
|
|
@@ -171,7 +171,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
171
171
|
"./placeholder-auth/core/web": async () => {
|
|
172
172
|
await injectCssAssets("./placeholder-auth/core/web");
|
|
173
173
|
await Promise.all([]);
|
|
174
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
174
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-f-cndKO0.js"), __vite__mapDeps([0]), import.meta.url));
|
|
175
175
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
176
176
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
177
177
|
const exportModule = {};
|
|
@@ -200,4 +200,4 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
200
200
|
//#endregion
|
|
201
201
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as t };
|
|
202
202
|
|
|
203
|
-
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
203
|
+
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-E86pU-VB.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as __mf_86, C as __mf_3, D as __mf_6, K as useWatch, L as MdAdd, M as __mf_88, N as __mf_91, O as __mf_83, Q as __mf_2, R as MdDeleteOutline, T as __mf_5, U as useFieldArray$1, W as useForm, X as __mf_0, Z as __mf_1, _ as
|
|
2
|
-
import { n as __mf_92, t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
1
|
+
import { A as __mf_86, C as __mf_3, D as __mf_6, K as useWatch, L as MdAdd, M as __mf_88, N as __mf_91, O as __mf_83, Q as __mf_2, R as MdDeleteOutline, T as __mf_5, U as useFieldArray$1, W as useForm, X as __mf_0, Z as __mf_1, _ as __mf_208, c as __mf_191, d as __mf_196, dt as __mf_30, f as __mf_197, g as __mf_201, gt as __mf_38, h as __mf_200, j as __mf_87, k as __mf_85, l as __mf_192, m as __mf_199, mt as __mf_34, n as __mf_130, p as __mf_198, s as __mf_190, t as __mf_128, u as __mf_193, v as __mf_24, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__, w as __mf_37, x as __mf_290, z as MdEdit } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
|
+
import { n as __mf_92, t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-R9lCFRaW.js";
|
|
3
3
|
import { T as __mf_74, b as __mf_59, c as __mf_146, f as __mf_18, h as __mf_24$1, w as __mf_72, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
4
4
|
import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition--k0VAeK3.js";
|
|
5
|
-
import { i as __mf_15, n as __mf_11, r as __mf_14, s as __mf_2$1, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
6
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
5
|
+
import { i as __mf_15, n as __mf_11, r as __mf_14, s as __mf_2$1, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
6
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DZYLavnA.js";
|
|
7
7
|
//#region ../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.71.1_react@19.2.8/node_modules/@hookform/lenses/dist/rhf/index.js
|
|
8
8
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
9
9
|
function useFieldArray(props) {
|
|
@@ -70,12 +70,12 @@ function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
|
|
|
70
70
|
/* @__PURE__ */ __mf_2(__mf_88, { children: [/* @__PURE__ */ __mf_1(__mf_91, { children: isNew ? "Add Role" : "Edit Role" }), /* @__PURE__ */ __mf_1(__mf_86, { children: isNew ? "Enter the details for the new role." : "Update the role details below." })] }),
|
|
71
71
|
/* @__PURE__ */ __mf_2("div", {
|
|
72
72
|
className: "auth:space-y-4 auth:py-4",
|
|
73
|
-
children: [/* @__PURE__ */ __mf_1(
|
|
73
|
+
children: [/* @__PURE__ */ __mf_1(__mf_130, {
|
|
74
74
|
label: "Role Name",
|
|
75
75
|
name: "name",
|
|
76
76
|
control,
|
|
77
77
|
placeholder: "Enter role name"
|
|
78
|
-
}), /* @__PURE__ */ __mf_1(
|
|
78
|
+
}), /* @__PURE__ */ __mf_1(__mf_130, {
|
|
79
79
|
label: "Description",
|
|
80
80
|
name: "comment",
|
|
81
81
|
control,
|
|
@@ -102,7 +102,7 @@ function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
|
|
|
102
102
|
//#region src/auth/core/components/role-editor-form/role-editor-form.tsx
|
|
103
103
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
104
104
|
function RoleEditorForm({ className, control }) {
|
|
105
|
-
const { requestConfirm } =
|
|
105
|
+
const { requestConfirm } = __mf_290();
|
|
106
106
|
const { append, update, remove } = useFieldArray({
|
|
107
107
|
control,
|
|
108
108
|
name: "roles"
|
|
@@ -129,24 +129,24 @@ function RoleEditorForm({ className, control }) {
|
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
return /* @__PURE__ */ __mf_2(
|
|
132
|
+
return /* @__PURE__ */ __mf_2(__mf_197, {
|
|
133
133
|
className,
|
|
134
|
-
children: [/* @__PURE__ */ __mf_2(
|
|
134
|
+
children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "User Roles" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "Define roles for your application. Default roles are protected and cannot be removed." })] }), /* @__PURE__ */ __mf_2(__mf_198, {
|
|
135
135
|
className: "auth:space-y-4",
|
|
136
136
|
children: [
|
|
137
|
-
roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(
|
|
137
|
+
roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(__mf_190, { children: [/* @__PURE__ */ __mf_2(__mf_193, { children: [/* @__PURE__ */ __mf_1(__mf_192, {
|
|
138
138
|
title: "Name",
|
|
139
139
|
children: /* @__PURE__ */ __mf_1("div", {
|
|
140
140
|
className: "auth:flex auth:items-center auth:gap-2",
|
|
141
141
|
children: /* @__PURE__ */ __mf_1("span", { children: role.name })
|
|
142
142
|
})
|
|
143
|
-
}), /* @__PURE__ */ __mf_1(
|
|
143
|
+
}), /* @__PURE__ */ __mf_1(__mf_192, {
|
|
144
144
|
title: "Description",
|
|
145
145
|
children: role.comment.trim() || /* @__PURE__ */ __mf_1("span", {
|
|
146
146
|
className: "auth:text-muted-foreground",
|
|
147
147
|
children: "No description"
|
|
148
148
|
})
|
|
149
|
-
})] }), /* @__PURE__ */ __mf_2(
|
|
149
|
+
})] }), /* @__PURE__ */ __mf_2(__mf_191, { children: [role.builtIn && /* @__PURE__ */ __mf_1(__mf_24, {
|
|
150
150
|
variant: "secondary",
|
|
151
151
|
children: "Default Role"
|
|
152
152
|
}), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(__mf_37, {
|
|
@@ -276,7 +276,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
|
|
|
276
276
|
" ",
|
|
277
277
|
"before syncing."
|
|
278
278
|
] }) })]
|
|
279
|
-
}), /* @__PURE__ */ __mf_2(
|
|
279
|
+
}), /* @__PURE__ */ __mf_2(__mf_196, { children: [/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "General Settings" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "Configure the general settings for the auth plugin." })] }), /* @__PURE__ */ __mf_2(__mf_198, {
|
|
280
280
|
className: "auth:space-y-6",
|
|
281
281
|
children: [
|
|
282
282
|
/* @__PURE__ */ __mf_1(__mf_2$1, {
|
|
@@ -293,7 +293,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
|
|
|
293
293
|
canCreate: true,
|
|
294
294
|
description: "Specify the feature path where user account models will be generated"
|
|
295
295
|
}),
|
|
296
|
-
/* @__PURE__ */ __mf_1(
|
|
296
|
+
/* @__PURE__ */ __mf_1(__mf_208, {
|
|
297
297
|
label: "Authentication Provider",
|
|
298
298
|
name: "implementationPluginKey",
|
|
299
299
|
control,
|
|
@@ -355,4 +355,4 @@ var web_default = __mf_56({
|
|
|
355
355
|
//#endregion
|
|
356
356
|
export { web_default as default };
|
|
357
357
|
|
|
358
|
-
//# sourceMappingURL=web-
|
|
358
|
+
//# sourceMappingURL=web-BKsbE-x8.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Q as __mf_2, Z as __mf_1, d as
|
|
1
|
+
import { Q as __mf_2, Z as __mf_1, d as __mf_196, f as __mf_197, g as __mf_201, h as __mf_200, i as __mf_160, m as __mf_199, mt as __mf_34, p as __mf_198, t as __mf_128, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__, y as __mf_256 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
2
|
import { T as __mf_74, _ as __mf_244, f as __mf_18, g as __mf_240, h as __mf_24, w as __mf_72, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
3
|
-
import { c as __mf_25, i as __mf_15, l as __mf_26, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
3
|
+
import { c as __mf_25, i as __mf_15, l as __mf_26, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DZYLavnA.js";
|
|
5
5
|
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-BgWWHl_Y.js";
|
|
6
6
|
import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-DF6DoXt6.js";
|
|
7
7
|
//#region src/local-auth/core/components/local-auth-definition-editor.tsx
|
|
@@ -58,14 +58,14 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
58
58
|
className: "auth:max-w-6xl auth:flex-1",
|
|
59
59
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
60
60
|
className: "auth:pb-16",
|
|
61
|
-
children: /* @__PURE__ */ __mf_2(
|
|
62
|
-
/* @__PURE__ */ __mf_2(
|
|
61
|
+
children: /* @__PURE__ */ __mf_2(__mf_196, { children: [
|
|
62
|
+
/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "Local Auth User Models" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
63
63
|
className: "auth:space-y-6",
|
|
64
64
|
children: /* @__PURE__ */ __mf_1(__mf_0, { diff })
|
|
65
65
|
})] }),
|
|
66
|
-
/* @__PURE__ */ __mf_2(
|
|
66
|
+
/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
67
67
|
className: "auth:space-y-6",
|
|
68
|
-
children: /* @__PURE__ */ __mf_1(
|
|
68
|
+
children: /* @__PURE__ */ __mf_1(__mf_160, {
|
|
69
69
|
label: "Additional User Admin Roles",
|
|
70
70
|
name: "additionalUserAdminRoles",
|
|
71
71
|
control,
|
|
@@ -73,18 +73,18 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
73
73
|
description: "Additional roles (beyond admin) that can manage users and assign roles."
|
|
74
74
|
})
|
|
75
75
|
})] }),
|
|
76
|
-
/* @__PURE__ */ __mf_2(
|
|
76
|
+
/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "Registration Settings" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "Configure what information is collected during user registration." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
77
77
|
className: "auth:space-y-6",
|
|
78
|
-
children: /* @__PURE__ */ __mf_1(
|
|
78
|
+
children: /* @__PURE__ */ __mf_1(__mf_256, {
|
|
79
79
|
label: "Require Name on Registration",
|
|
80
80
|
name: "requireNameOnRegistration",
|
|
81
81
|
control,
|
|
82
82
|
description: "When enabled, users must provide their name when registering."
|
|
83
83
|
})
|
|
84
84
|
})] }),
|
|
85
|
-
/* @__PURE__ */ __mf_2(
|
|
85
|
+
/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "Sign-in Methods" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "Choose how users can sign in, in addition to email and password." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
86
86
|
className: "auth:space-y-6",
|
|
87
|
-
children: /* @__PURE__ */ __mf_1(
|
|
87
|
+
children: /* @__PURE__ */ __mf_1(__mf_256, {
|
|
88
88
|
label: "Email Sign-in Codes",
|
|
89
89
|
name: "emailOtp",
|
|
90
90
|
control,
|
|
@@ -108,7 +108,7 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
108
108
|
* web app form.
|
|
109
109
|
*/
|
|
110
110
|
function LocalAuthWebAppSettingsForm({ formProps, pluginKey }) {
|
|
111
|
-
return /* @__PURE__ */ __mf_1(
|
|
111
|
+
return /* @__PURE__ */ __mf_1(__mf_256, {
|
|
112
112
|
label: "Disable Registration",
|
|
113
113
|
description: "When enabled, this site's sign-up page and link are hidden so users can only be added via an invite.",
|
|
114
114
|
control: formProps.control,
|
|
@@ -145,4 +145,4 @@ var web_default = __mf_56({
|
|
|
145
145
|
//#endregion
|
|
146
146
|
export { web_default as default };
|
|
147
147
|
|
|
148
|
-
//# sourceMappingURL=web-
|
|
148
|
+
//# sourceMappingURL=web-BNZ-0TYy.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as __mf_22, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
2
|
-
import { a as __mf_17, o as __mf_19 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
2
|
+
import { a as __mf_17, o as __mf_19 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
3
3
|
import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
|
|
4
4
|
//#region src/local-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_56({
|
|
@@ -56,4 +56,4 @@ var web_default = __mf_56({
|
|
|
56
56
|
//#endregion
|
|
57
57
|
export { web_default as default };
|
|
58
58
|
|
|
59
|
-
//# sourceMappingURL=web-
|
|
59
|
+
//# sourceMappingURL=web-C6j3Z4Pi.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Q as __mf_2, Z as __mf_1, d as
|
|
1
|
+
import { Q as __mf_2, Z as __mf_1, d as __mf_196, f as __mf_197, g as __mf_201, h as __mf_200, i as __mf_160, m as __mf_199, mt as __mf_34, p as __mf_198, t as __mf_128, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
2
|
import { T as __mf_74, _ as __mf_244, f as __mf_18, g as __mf_240, h as __mf_24, w as __mf_72, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
3
|
-
import { i as __mf_15, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
3
|
+
import { i as __mf_15, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DZYLavnA.js";
|
|
5
5
|
import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BOeSYfRn.js";
|
|
6
6
|
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-BgWWHl_Y.js";
|
|
7
7
|
//#region src/better-auth/core/components/better-auth-definition-editor.tsx
|
|
@@ -54,15 +54,15 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
|
|
|
54
54
|
className: "auth:max-w-6xl auth:flex-1",
|
|
55
55
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
56
56
|
className: "auth:pb-16",
|
|
57
|
-
children: /* @__PURE__ */ __mf_2(
|
|
57
|
+
children: /* @__PURE__ */ __mf_2(__mf_196, { children: [/* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "Better Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
58
58
|
className: "auth:space-y-6",
|
|
59
59
|
children: /* @__PURE__ */ __mf_1(__mf_0, {
|
|
60
60
|
diff,
|
|
61
61
|
upToDateMessage: "All required models are already configured correctly. No changes needed."
|
|
62
62
|
})
|
|
63
|
-
})] }), /* @__PURE__ */ __mf_2(
|
|
63
|
+
})] }), /* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
64
64
|
className: "auth:space-y-6",
|
|
65
|
-
children: /* @__PURE__ */ __mf_1(
|
|
65
|
+
children: /* @__PURE__ */ __mf_1(__mf_160, {
|
|
66
66
|
label: "Additional User Admin Roles",
|
|
67
67
|
name: "additionalUserAdminRoles",
|
|
68
68
|
control,
|
|
@@ -103,4 +103,4 @@ var web_default = __mf_56({
|
|
|
103
103
|
//#endregion
|
|
104
104
|
export { web_default as default };
|
|
105
105
|
|
|
106
|
-
//# sourceMappingURL=web-
|
|
106
|
+
//# sourceMappingURL=web-DPZssHx1.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as __mf_22, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
2
|
-
import { a as __mf_17, o as __mf_19 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
2
|
+
import { a as __mf_17, o as __mf_19 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
3
3
|
import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
|
|
4
4
|
//#region src/better-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_56({
|
|
@@ -43,4 +43,4 @@ var web_default = __mf_56({
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { web_default as default };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=web-
|
|
46
|
+
//# sourceMappingURL=web-DiHdy5Ov.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as __mf_3, D as __mf_6, E as __mf_58, G as useFormState, I as create, M as __mf_88, N as __mf_91, O as __mf_83, P as __mf_92, Q as __mf_2, S as
|
|
1
|
+
import { C as __mf_3, D as __mf_6, E as __mf_58, G as useFormState, I as create, M as __mf_88, N as __mf_91, O as __mf_83, P as __mf_92, Q as __mf_2, S as __mf_292, T as __mf_5, W as useForm, Z as __mf_1, b as __mf_274, dt as __mf_30, et as __mfDefaultExport, gt as __mf_38, ht as __mf_37$1, k as __mf_85, lt as __mf_25, mt as __mf_34, r as __mf_156, tt as __mf_13, ut as __mf_28, v as __mf_24, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__, w as __mf_37 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
2
|
import { A as createFieldMapSpec, D as ModelUtils, F as createPluginSpec, O as FeatureUtils, P as isEqual, k as withPlaceholderSlots } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
3
3
|
//#region ../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js
|
|
4
4
|
var CHANGE_TYPE_BADGE_VARIANT = {
|
|
@@ -37,7 +37,7 @@ function DefinitionDiffEntryRow({ entry }) {
|
|
|
37
37
|
}) : entry.type === "removed" ? __mf_1("pre", {
|
|
38
38
|
className: "text-xs whitespace-pre-wrap",
|
|
39
39
|
children: JSON.stringify(entry.current, null, 2)
|
|
40
|
-
}) : __mf_1(
|
|
40
|
+
}) : __mf_1(__mf_156, {
|
|
41
41
|
oldValue: entry.current,
|
|
42
42
|
newValue: entry.merged
|
|
43
43
|
})
|
|
@@ -116,7 +116,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
function FeatureComboboxFieldController({ name, control, ...rest }) {
|
|
119
|
-
const { field, fieldState: { error } } =
|
|
119
|
+
const { field, fieldState: { error } } = __mf_292({
|
|
120
120
|
name,
|
|
121
121
|
control
|
|
122
122
|
}, rest);
|
|
@@ -163,7 +163,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
function ModelComboboxFieldController({ name, control, ...rest }) {
|
|
166
|
-
const { field, fieldState: { error } } =
|
|
166
|
+
const { field, fieldState: { error } } = __mf_292({
|
|
167
167
|
name,
|
|
168
168
|
control
|
|
169
169
|
}, rest);
|
|
@@ -310,7 +310,7 @@ function useResettableForm(props) {
|
|
|
310
310
|
__mf_28(() => {
|
|
311
311
|
if (oldValues.current && !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
|
|
312
312
|
reset(props?.defaultValues);
|
|
313
|
-
if (isDirty && updatedExternally)
|
|
313
|
+
if (isDirty && updatedExternally) __mf_274.warning("Contents were updated externally so form was reset!");
|
|
314
314
|
}
|
|
315
315
|
if (!oldValues.current || !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) oldValues.current = { oldDefaultValues: props?.defaultValues };
|
|
316
316
|
}, [
|
|
@@ -407,4 +407,4 @@ function setUndefinedIfEmpty(value) {
|
|
|
407
407
|
//#endregion
|
|
408
408
|
export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, createWebAppSettingsWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm, webAppSchemaExtensionWebSpec };
|
|
409
409
|
|
|
410
|
-
//# sourceMappingURL=web-
|
|
410
|
+
//# sourceMappingURL=web-RWlatCpa.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Q as __mf_2, Z as __mf_1, d as
|
|
1
|
+
import { Q as __mf_2, Z as __mf_1, d as __mf_196, f as __mf_197, g as __mf_201, h as __mf_200, m as __mf_199, mt as __mf_34, p as __mf_198, t as __mf_128, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-tY6BN-tn.js";
|
|
2
2
|
import { T as __mf_74, _ as __mf_244, f as __mf_18, g as __mf_240, h as __mf_24, w as __mf_72, y as __mf_56 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js";
|
|
3
|
-
import { i as __mf_15, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
3
|
+
import { i as __mf_15, n as __mf_11, r as __mf_14, t as __mf_0, u as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-aFLESEyS.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DZYLavnA.js";
|
|
5
5
|
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-BgWWHl_Y.js";
|
|
6
6
|
import "./auth-DR6QxrAW.js";
|
|
7
7
|
import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-CMwSlxsJ.js";
|
|
@@ -82,7 +82,7 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
|
|
|
82
82
|
className: "auth:max-w-6xl auth:flex-1",
|
|
83
83
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
84
84
|
className: "auth:pb-16",
|
|
85
|
-
children: /* @__PURE__ */ __mf_1(
|
|
85
|
+
children: /* @__PURE__ */ __mf_1(__mf_196, { children: /* @__PURE__ */ __mf_2(__mf_197, { children: [/* @__PURE__ */ __mf_2(__mf_200, { children: [/* @__PURE__ */ __mf_1(__mf_201, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_199, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_198, {
|
|
86
86
|
className: "auth:space-y-6",
|
|
87
87
|
children: /* @__PURE__ */ __mf_1(__mf_0, {
|
|
88
88
|
diff,
|
|
@@ -120,4 +120,4 @@ var web_default = __mf_56({
|
|
|
120
120
|
//#endregion
|
|
121
121
|
export { web_default as default };
|
|
122
122
|
|
|
123
|
-
//# sourceMappingURL=web-
|
|
123
|
+
//# sourceMappingURL=web-f-cndKO0.js.map
|
package/dist/web/index.html
CHANGED
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
<meta charset="UTF-8" />
|
|
16
16
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
17
17
|
<title>React Remote</title>
|
|
18
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-
|
|
19
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-1-
|
|
20
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-2-
|
|
21
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-3-
|
|
18
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-ed392701.js"></script>
|
|
19
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-1-e2d80a25.js"></script>
|
|
20
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-2-ea90e6fe.js"></script>
|
|
21
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-3-5268230e.js"></script>
|
|
22
22
|
</head>
|
|
23
23
|
|
|
24
24
|
<body>
|
package/dist/web/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-rNmzkDAw.js";
|
|
2
2
|
export { getExposes as get, init };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/plugin-auth",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.20",
|
|
4
4
|
"description": "Contains the auth plugin for Baseplate",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"react-hook-form": "^7.71.1",
|
|
44
44
|
"react-icons": "^5.7.0",
|
|
45
45
|
"zod": "~4.3.6",
|
|
46
|
-
"@baseplate-dev/core-generators": "0.6.
|
|
47
|
-
"@baseplate-dev/fastify-generators": "0.6.
|
|
48
|
-
"@baseplate-dev/plugin-email": "0.6.
|
|
49
|
-
"@baseplate-dev/plugin-queue": "0.6.
|
|
50
|
-
"@baseplate-dev/plugin-rate-limit": "0.6.
|
|
51
|
-
"@baseplate-dev/project-builder-lib": "0.6.
|
|
52
|
-
"@baseplate-dev/react-generators": "0.6.
|
|
53
|
-
"@baseplate-dev/sync": "0.6.
|
|
54
|
-
"@baseplate-dev/ui-components": "0.6.
|
|
55
|
-
"@baseplate-dev/utils": "0.6.
|
|
46
|
+
"@baseplate-dev/core-generators": "0.6.20",
|
|
47
|
+
"@baseplate-dev/fastify-generators": "0.6.20",
|
|
48
|
+
"@baseplate-dev/plugin-email": "0.6.20",
|
|
49
|
+
"@baseplate-dev/plugin-queue": "0.6.20",
|
|
50
|
+
"@baseplate-dev/plugin-rate-limit": "0.6.20",
|
|
51
|
+
"@baseplate-dev/project-builder-lib": "0.6.20",
|
|
52
|
+
"@baseplate-dev/react-generators": "0.6.20",
|
|
53
|
+
"@baseplate-dev/sync": "0.6.20",
|
|
54
|
+
"@baseplate-dev/ui-components": "0.6.20",
|
|
55
|
+
"@baseplate-dev/utils": "0.6.20"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@module-federation/vite": "1.20.5",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"tailwindcss": "4.3.3",
|
|
70
70
|
"typescript": "6.0.3",
|
|
71
71
|
"vite": "8.2.0",
|
|
72
|
-
"vitest": "4.1.
|
|
73
|
-
"@baseplate-dev/tools": "0.6.
|
|
72
|
+
"vitest": "4.1.11",
|
|
73
|
+
"@baseplate-dev/tools": "0.6.20"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": "^24.0.0"
|