@baseplate-dev/plugin-auth 0.6.13 → 0.6.15

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/auth/core/components/auth-definition-editor.js +3 -0
  3. package/dist/auth/core/components/role-editor-form/role-editor-form.js +2 -0
  4. package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js +4 -0
  5. package/dist/better-auth/generators/fastify/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -2
  6. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +2 -2
  7. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +2 -5
  8. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +7 -0
  9. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +21 -0
  10. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +7 -0
  11. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +14 -0
  12. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +4 -0
  13. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +2 -1
  14. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -1
  15. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DxRuC5lD.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js} +13 -13
  16. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js} +1 -1
  17. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js} +1 -1
  18. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js} +30 -26
  19. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js} +2 -2
  20. package/dist/web/assets/auth-BA-e6ORB.js +1 -0
  21. package/dist/web/assets/{common-B9sZoKR5.js → common-2qsch56z.js} +5 -5
  22. package/dist/web/assets/{common-B4cD6OfF.js → common-2sTWj7X2.js} +5 -5
  23. package/dist/web/assets/{common-DF9FD3lJ.js → common-BJslFOaI.js} +3 -3
  24. package/dist/web/assets/{common-B9LNVIXT.js → common-BY8yEk1M.js} +3 -3
  25. package/dist/web/assets/{common-S36tY-P3.js → common-D-CUPN3f.js} +2 -2
  26. package/dist/web/assets/{common-sMUs9FmV.js → common-DtVPzGI9.js} +2 -2
  27. package/dist/web/assets/{dist-CtqdAorB.js → dist-DiQ4J8N0.js} +291 -106
  28. package/dist/web/assets/{get-auth-plugin-definition-Bs9C6JrS.js → get-auth-plugin-definition-gCzcUybB.js} +2 -2
  29. package/dist/web/assets/{hostInit-BtfjN9sB.js → hostInit-BPDI3Q4j.js} +1 -1
  30. package/dist/web/assets/{index-DVCa_MuH.js → index-BocHdii2.js} +2 -2
  31. package/dist/web/assets/{mf-entry-bootstrap-0-31a63adb.js → mf-entry-bootstrap-0-b337c957.js} +2 -2
  32. package/dist/web/assets/{model-utils-BDM6ILfO.js → model-utils-BoeoBppL.js} +44 -3
  33. package/dist/web/assets/{models-DGhhwO8Q.js → models-Bb8Sa9xa.js} +2 -2
  34. package/dist/web/assets/{models-1c2urnle.js → models-CExR9mVk.js} +2 -2
  35. package/dist/web/assets/{plugin-definition-B-HRncfN.js → plugin-definition-BSgRuyCf.js} +2 -2
  36. package/dist/web/assets/{plugin-definition-Dluw2inU.js → plugin-definition-DoLu-enC.js} +2 -2
  37. package/dist/web/assets/{styles-BTmSBHAy.js → styles-DWNihayS.js} +5 -5
  38. package/dist/web/assets/{virtualExposes-C1o-SyCQ.js → virtualExposes-ZQ3-2Iup.js} +1 -1
  39. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bs76by83.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js} +3 -3
  40. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-B5SkIaaz.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js} +13 -13
  41. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DotA2McS.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js} +13 -13
  42. package/dist/web/assets/{web-wBaHshVG.js → web-BWF6Fc7g.js} +3 -3
  43. package/dist/web/assets/{web-CiuxQhgn.js → web-BbZNg5Ko.js} +7 -7
  44. package/dist/web/assets/{web-jcCkQISW.js → web-CbftiK5A.js} +3 -3
  45. package/dist/web/assets/{web-DGv5-Arz.js → web-DUQ-iyMI.js} +9 -7
  46. package/dist/web/assets/{web-Bh_3N1sv.js → web-QvGnMr85.js} +7 -7
  47. package/dist/web/assets/{web-B2REeIGU.js → web-pdVFZ-id.js} +3 -3
  48. package/dist/web/assets/{web-BEOhczx1.js → web-sVeHdqQo.js} +8 -8
  49. package/dist/web/index.html +2 -2
  50. package/dist/web/remoteEntry.js +1 -1
  51. package/dist/web/remoteEntry.ssr.js +1 -1
  52. package/package.json +14 -13
  53. package/dist/web/assets/auth-gRzmaSZc.js +0 -1
@@ -1,4 +1,4 @@
1
- import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
1
+ import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
2
2
  //#region src/auth/utils/get-auth-plugin-definition.ts
3
3
  /**
4
4
  * Get the auth plugin definition from the project definition.
@@ -11,4 +11,4 @@ function getAuthPluginDefinition(definition) {
11
11
  //#endregion
12
12
  export { getAuthPluginDefinition as t };
13
13
 
14
- //# sourceMappingURL=get-auth-plugin-definition-Bs9C6JrS.js.map
14
+ //# sourceMappingURL=get-auth-plugin-definition-gCzcUybB.js.map
@@ -45,7 +45,7 @@ async function initHost() {
45
45
  };
46
46
  const runtime = await (await __vitePreload(() => import("../remoteEntry.js"), [], import.meta.url)).init();
47
47
  const { usedShared } = await __vitePreload(async () => {
48
- const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DxRuC5lD.js");
48
+ const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js");
49
49
  return { usedShared };
50
50
  }, [], import.meta.url);
51
51
  const __mfNormalizeRuntimeShare = (mod) => {
@@ -1,2 +1,2 @@
1
- import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DotA2McS.js";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bs76by83.js";
1
+ import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js";
@@ -25,11 +25,11 @@ const __mfImport = (src) =>
25
25
 
26
26
 
27
27
  (async () => {
28
- const __mfHostInit = await __mfImport("./hostInit-BtfjN9sB.js");
28
+ const __mfHostInit = await __mfImport("./hostInit-BPDI3Q4j.js");
29
29
  await __mfHostInit.__tla;
30
30
  const { initHost } = __mfHostInit;
31
31
  await initHost();
32
32
  if (__mfModuleCache.pendingShareLoads) {
33
33
  await Promise.all(__mfModuleCache.pendingShareLoads);
34
34
  }
35
- })().then(() => __mfImport("./index-DVCa_MuH.js"));
35
+ })().then(() => __mfImport("./index-BocHdii2.js"));
@@ -479,7 +479,7 @@ function createFieldMap(schemaBuilder, options) {
479
479
  ...schema,
480
480
  getValues: () => {
481
481
  const values = {};
482
- for (const key of Object.keys(schema)) values[key] = schema[key].getValue();
482
+ for (const [key, container] of Object.entries(schema)) values[key] = container.getValue();
483
483
  return values;
484
484
  }
485
485
  };
@@ -735,6 +735,12 @@ var expressionParserSpec = createFieldMapSpec("core/expression-parsers", (t) =>
735
735
  * ```
736
736
  */
737
737
  var RefExpressionParser = class {
738
+ /**
739
+ * One-line summary of the expression language, surfaced to MCP consumers by
740
+ * `get-entity-schema` so an agent editing this field knows it is a DSL rather
741
+ * than free-form text. Point at fuller docs rather than restating the grammar.
742
+ */
743
+ description;
738
744
  /**
739
745
  * Convenience method that combines parse() and getWarnings() into a single call.
740
746
  * Parses the expression and returns all validation warnings (including parse errors).
@@ -1095,7 +1101,9 @@ var DefinitionEntityType = class {
1095
1101
  return `${this.prefix}:${key}`;
1096
1102
  }
1097
1103
  keyFromId(id) {
1098
- return id.split(":")[1];
1104
+ const key = id.split(":")[1];
1105
+ if (key === void 0) throw new Error(`Invalid ${this.prefix} id: ${id}`);
1106
+ return key;
1099
1107
  }
1100
1108
  isId(id) {
1101
1109
  return id.startsWith(`${this.prefix}:`);
@@ -1294,13 +1302,46 @@ function isFieldSafeToFilter(field, query) {
1294
1302
  const isSubset = (subset, superset) => subset.every((role) => superset.includes(role));
1295
1303
  return isSubset(query.globalRoles, field.globalRoles) && isSubset(query.instanceRoles, field.instanceRoles);
1296
1304
  }
1305
+ /**
1306
+ * Returns the IDs of models that need an `OrderByInput` GraphQL type because
1307
+ * some *other* model exposes a list relation to them marked `orderable`.
1308
+ *
1309
+ * The `orderable` flag lives on the *referenced* model's foreign relation
1310
+ * entry (e.g. `User.todoLists`), but the input type belongs to the model the
1311
+ * relation is declared on (`TodoList`, whose `owner` relation carries the
1312
+ * matching globally-unique `foreignId`) — that is the model whose rows are
1313
+ * being sorted.
1314
+ *
1315
+ * @param projectDefinition - The project definition.
1316
+ * @returns The set of model IDs requiring an `OrderByInput` type.
1317
+ */
1318
+ function getModelIdsRequiringOrderByInput(projectDefinition) {
1319
+ const orderableForeignIds = new Set(projectDefinition.models.filter((m) => m.graphql.objectType.enabled).flatMap((m) => m.graphql.objectType.foreignRelations.filter((entry) => entry.orderable).map((entry) => entry.ref)));
1320
+ return new Set(projectDefinition.models.filter((m) => m.model.relations.some((relation) => orderableForeignIds.has(relation.foreignId))).map((m) => m.id));
1321
+ }
1322
+ /**
1323
+ * Whether the model exposes any root query returning a list of its rows.
1324
+ *
1325
+ * Offset and cursor pagination are independent surfaces, but both read through
1326
+ * the same object type, `where`/`orderBy` inputs, and role checks — so either
1327
+ * one alone requires all of them. Gate shared generation on this rather than on
1328
+ * a single surface's flag.
1329
+ *
1330
+ * @param queries - The model's `graphql.queries` config.
1331
+ * @returns Whether a list-returning root query is enabled.
1332
+ */
1333
+ function hasListSurface(queries) {
1334
+ return queries.list.enabled || queries.connection.enabled;
1335
+ }
1297
1336
  var ModelUtils = {
1298
1337
  byId,
1338
+ hasListSurface,
1299
1339
  byIdOrThrow,
1300
1340
  byName,
1301
1341
  byNameOrThrow,
1302
1342
  getScalarFieldById,
1303
1343
  getRelationsToModel,
1344
+ getModelIdsRequiringOrderByInput,
1304
1345
  getModelsForFeature,
1305
1346
  getModelIdFields,
1306
1347
  hasService,
@@ -1312,4 +1353,4 @@ var ModelUtils = {
1312
1353
  //#endregion
1313
1354
  export { getTag as $, isPlainObject as A, int32ArrayTag as B, createPluginFieldMap as C, validationHintRegistry as D, CASE_VALIDATORS as E, dataViewTag as F, regexpTag as G, mapTag as H, dateTag as I, symbolTag as J, setTag as K, float32ArrayTag as L, arrayBufferTag as M, arrayTag as N, isEqual as O, booleanTag as P, uint8ClampedArrayTag as Q, float64ArrayTag as R, createFieldMapSpec as S, runInPluginContext as T, numberTag as U, int8ArrayTag as V, objectTag as W, uint32ArrayTag as X, uint16ArrayTag as Y, uint8ArrayTag as Z, createRefContextSlot as _, featureEntityType as a, expressionParserSpec as b, createEntityType as c, definitionSchemaWithSlots as d, getSymbols as et, withPlaceholderSlots as f, withRef as g, withEnt as h, createFeaturesSchema as i, argumentsTag as j, isEqualsSameValueZero as k, createDefinitionSchemaParserContext as l, definitionDefaultRegistry as m, FeatureUtils as n, createPluginSpec as nt, featureNameSchema as o, withDefault as p, stringTag as q, createFeatureSchema as r, DefinitionEntityType as s, ModelUtils as t, sortBy as tt, definitionSchema as u, createRefContextSlotMap as v, getPluginContext as w, definitionRefRegistry as x, RefExpressionParser as y, int16ArrayTag as z };
1314
1355
 
1315
- //# sourceMappingURL=model-utils-BDM6ILfO.js.map
1356
+ //# sourceMappingURL=model-utils-BoeoBppL.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
+ import { i as __mf_163, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
3
  import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
4
4
  //#region src/local-auth/core/schema/plugin-definition.ts
5
5
  var createLocalAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({
@@ -282,4 +282,4 @@ function createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName)
282
282
  //#endregion
283
283
  export { createLocalAuthPluginDefinitionSchema as n, createLocalAuthPartialDefinition as t };
284
284
 
285
- //# sourceMappingURL=models-DGhhwO8Q.js.map
285
+ //# sourceMappingURL=models-Bb8Sa9xa.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
+ import { i as __mf_163, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
3
  import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
4
4
  //#region src/better-auth/core/schema/plugin-definition.ts
5
5
  var createBetterAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({ additionalUserAdminRoles: ctx.withDefault(__mf_0.array(ctx.withRef({
@@ -301,4 +301,4 @@ function createBetterAuthPartialDefinition(authFeatureName, accountsFeatureName)
301
301
  //#endregion
302
302
  export { createBetterAuthPluginDefinitionSchema as n, createBetterAuthPartialDefinition as t };
303
303
 
304
- //# sourceMappingURL=models-1c2urnle.js.map
304
+ //# sourceMappingURL=models-CExR9mVk.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163, s as __mf_172, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
+ import { i as __mf_163, s as __mf_172, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
3
  //#region src/auth/core/schema/roles/constants.ts
4
4
  var AUTH_DEFAULT_ROLES = [
5
5
  {
@@ -75,4 +75,4 @@ var createAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({
75
75
  //#endregion
76
76
  export { createAuthRoleSchema as n, createDefaultAuthRoles as r, createAuthPluginDefinitionSchema as t };
77
77
 
78
- //# sourceMappingURL=plugin-definition-B-HRncfN.js.map
78
+ //# sourceMappingURL=plugin-definition-BSgRuyCf.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
+ import { i as __mf_163 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
3
  //#region src/placeholder-auth/constants/model-names.ts
4
4
  var PLACEHOLDER_AUTH_MODELS = { user: "User" };
5
5
  //#endregion
@@ -8,4 +8,4 @@ var createPlaceholderAuthPluginDefinitionSchema = __mf_163(() => __mf_0.object({
8
8
  //#endregion
9
9
  export { PLACEHOLDER_AUTH_MODELS as n, createPlaceholderAuthPluginDefinitionSchema as t };
10
10
 
11
- //# sourceMappingURL=plugin-definition-Dluw2inU.js.map
11
+ //# sourceMappingURL=plugin-definition-DoLu-enC.js.map
@@ -1,8 +1,8 @@
1
- import { t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js";
2
- import { B as appendErrors, H as set, V as get, bt as __mf_2, c as __mf_157, s as __mf_156, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js";
1
+ import { t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js";
2
+ import { B as appendErrors, H as set, V as get, bt as __mf_2, c as __mf_157, s as __mf_156, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
3
3
  import { a as parseAsync, i as parse, o as $ZodError } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
4
- import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
5
- import { i as __mf_25 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
4
+ import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
5
+ import { i as __mf_25 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
6
6
  //#region ../../node_modules/.pnpm/@hookform+resolvers@5.2.2_react-hook-form@7.71.1/node_modules/@hookform/resolvers/dist/resolvers.mjs
7
7
  var r = (t, r, o) => {
8
8
  if (t && "reportValidity" in t) {
@@ -173,4 +173,4 @@ function AuthConfigTabs() {
173
173
  //#endregion
174
174
  export { a as n, AuthConfigTabs as t };
175
175
 
176
- //# sourceMappingURL=styles-BTmSBHAy.js.map
176
+ //# sourceMappingURL=styles-DWNihayS.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-DotA2McS.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-BzJkYZS3.js";
2
2
  export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as default };
@@ -49,14 +49,14 @@ async function retrySharedInit(fn) {
49
49
  }
50
50
  }
51
51
  async function getLocalSharedImportMap() {
52
- if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DxRuC5lD.js"), [], import.meta.url)).catch((e) => {
52
+ if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js"), [], import.meta.url)).catch((e) => {
53
53
  localSharedImportMapPromise = void 0;
54
54
  throw e;
55
55
  });
56
56
  return localSharedImportMapPromise;
57
57
  }
58
58
  async function getExposesMap() {
59
- if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-C1o-SyCQ.js"), [], import.meta.url)).then((mod) => mod.default ?? mod).catch((e) => {
59
+ if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-ZQ3-2Iup.js"), [], import.meta.url)).then((mod) => mod.default ?? mod).catch((e) => {
60
60
  exposesMapPromise = void 0;
61
61
  throw e;
62
62
  });
@@ -256,4 +256,4 @@ async function getExposes(moduleName) {
256
256
  //#endregion
257
257
  export { init as n, getExposes as t };
258
258
 
259
- //# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bs76by83.js.map
259
+ //# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js.map
@@ -3,7 +3,7 @@ import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
3
3
  //#region virtual:mf-exposes-ssr:__mfe_internal__plugin-auth__remoteEntry_js
4
4
  var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default = {
5
5
  "./auth/core/web": async () => {
6
- const importModule = await __vitePreload(() => import("./web-DGv5-Arz.js"), __vite__mapDeps([0]), import.meta.url);
6
+ const importModule = await __vitePreload(() => import("./web-DUQ-iyMI.js"), __vite__mapDeps([0]), import.meta.url);
7
7
  const exportModule = {};
8
8
  Object.assign(exportModule, importModule);
9
9
  Object.defineProperty(exportModule, "__esModule", {
@@ -13,7 +13,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
13
13
  return exportModule;
14
14
  },
15
15
  "./auth/core/common": async () => {
16
- const importModule = await __vitePreload(() => import("./common-DF9FD3lJ.js"), [], import.meta.url);
16
+ const importModule = await __vitePreload(() => import("./common-BJslFOaI.js"), [], import.meta.url);
17
17
  const exportModule = {};
18
18
  Object.assign(exportModule, importModule);
19
19
  Object.defineProperty(exportModule, "__esModule", {
@@ -23,7 +23,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
23
23
  return exportModule;
24
24
  },
25
25
  "./better-auth/core/web": async () => {
26
- const importModule = await __vitePreload(() => import("./web-Bh_3N1sv.js"), __vite__mapDeps([0]), import.meta.url);
26
+ const importModule = await __vitePreload(() => import("./web-QvGnMr85.js"), __vite__mapDeps([0]), import.meta.url);
27
27
  const exportModule = {};
28
28
  Object.assign(exportModule, importModule);
29
29
  Object.defineProperty(exportModule, "__esModule", {
@@ -33,7 +33,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
33
33
  return exportModule;
34
34
  },
35
35
  "./better-auth/core/common": async () => {
36
- const importModule = await __vitePreload(() => import("./common-B9sZoKR5.js"), [], import.meta.url);
36
+ const importModule = await __vitePreload(() => import("./common-2qsch56z.js"), [], import.meta.url);
37
37
  const exportModule = {};
38
38
  Object.assign(exportModule, importModule);
39
39
  Object.defineProperty(exportModule, "__esModule", {
@@ -43,7 +43,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
43
43
  return exportModule;
44
44
  },
45
45
  "./better-auth/admin/web": async () => {
46
- const importModule = await __vitePreload(() => import("./web-B2REeIGU.js"), [], import.meta.url);
46
+ const importModule = await __vitePreload(() => import("./web-pdVFZ-id.js"), [], import.meta.url);
47
47
  const exportModule = {};
48
48
  Object.assign(exportModule, importModule);
49
49
  Object.defineProperty(exportModule, "__esModule", {
@@ -53,7 +53,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
53
53
  return exportModule;
54
54
  },
55
55
  "./better-auth/admin/common": async () => {
56
- const importModule = await __vitePreload(() => import("./common-sMUs9FmV.js"), [], import.meta.url);
56
+ const importModule = await __vitePreload(() => import("./common-DtVPzGI9.js"), [], import.meta.url);
57
57
  const exportModule = {};
58
58
  Object.assign(exportModule, importModule);
59
59
  Object.defineProperty(exportModule, "__esModule", {
@@ -63,7 +63,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
63
63
  return exportModule;
64
64
  },
65
65
  "./local-auth/core/web": async () => {
66
- const importModule = await __vitePreload(() => import("./web-CiuxQhgn.js"), __vite__mapDeps([0]), import.meta.url);
66
+ const importModule = await __vitePreload(() => import("./web-BbZNg5Ko.js"), __vite__mapDeps([0]), import.meta.url);
67
67
  const exportModule = {};
68
68
  Object.assign(exportModule, importModule);
69
69
  Object.defineProperty(exportModule, "__esModule", {
@@ -73,7 +73,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
73
73
  return exportModule;
74
74
  },
75
75
  "./local-auth/core/common": async () => {
76
- const importModule = await __vitePreload(() => import("./common-B4cD6OfF.js"), [], import.meta.url);
76
+ const importModule = await __vitePreload(() => import("./common-2sTWj7X2.js"), [], import.meta.url);
77
77
  const exportModule = {};
78
78
  Object.assign(exportModule, importModule);
79
79
  Object.defineProperty(exportModule, "__esModule", {
@@ -83,7 +83,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
83
83
  return exportModule;
84
84
  },
85
85
  "./local-auth/admin/web": async () => {
86
- const importModule = await __vitePreload(() => import("./web-wBaHshVG.js"), [], import.meta.url);
86
+ const importModule = await __vitePreload(() => import("./web-BWF6Fc7g.js"), [], import.meta.url);
87
87
  const exportModule = {};
88
88
  Object.assign(exportModule, importModule);
89
89
  Object.defineProperty(exportModule, "__esModule", {
@@ -93,7 +93,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
93
93
  return exportModule;
94
94
  },
95
95
  "./local-auth/admin/common": async () => {
96
- const importModule = await __vitePreload(() => import("./common-S36tY-P3.js"), [], import.meta.url);
96
+ const importModule = await __vitePreload(() => import("./common-D-CUPN3f.js"), [], import.meta.url);
97
97
  const exportModule = {};
98
98
  Object.assign(exportModule, importModule);
99
99
  Object.defineProperty(exportModule, "__esModule", {
@@ -103,7 +103,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
103
103
  return exportModule;
104
104
  },
105
105
  "./placeholder-auth/core/web": async () => {
106
- const importModule = await __vitePreload(() => import("./web-BEOhczx1.js"), __vite__mapDeps([0]), import.meta.url);
106
+ const importModule = await __vitePreload(() => import("./web-sVeHdqQo.js"), __vite__mapDeps([0]), import.meta.url);
107
107
  const exportModule = {};
108
108
  Object.assign(exportModule, importModule);
109
109
  Object.defineProperty(exportModule, "__esModule", {
@@ -113,7 +113,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
113
113
  return exportModule;
114
114
  },
115
115
  "./placeholder-auth/core/common": async () => {
116
- const importModule = await __vitePreload(() => import("./common-B9LNVIXT.js"), [], import.meta.url);
116
+ const importModule = await __vitePreload(() => import("./common-BY8yEk1M.js"), [], import.meta.url);
117
117
  const exportModule = {};
118
118
  Object.assign(exportModule, importModule);
119
119
  Object.defineProperty(exportModule, "__esModule", {
@@ -126,4 +126,4 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
126
126
  //#endregion
127
127
  export { virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default as default };
128
128
 
129
- //# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-B5SkIaaz.js.map
129
+ //# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.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-DGv5-Arz.js"), __vite__mapDeps([0]), import.meta.url));
34
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DUQ-iyMI.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 = {};
@@ -45,7 +45,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
45
45
  "./auth/core/common": async () => {
46
46
  await injectCssAssets("./auth/core/common");
47
47
  await Promise.all([]);
48
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-DF9FD3lJ.js"), [], import.meta.url));
48
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BJslFOaI.js"), [], import.meta.url));
49
49
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
50
50
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
51
51
  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-Bh_3N1sv.js"), __vite__mapDeps([0]), import.meta.url));
62
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-QvGnMr85.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 = {};
@@ -73,7 +73,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
73
73
  "./better-auth/core/common": async () => {
74
74
  await injectCssAssets("./better-auth/core/common");
75
75
  await Promise.all([]);
76
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B9sZoKR5.js"), [], import.meta.url));
76
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-2qsch56z.js"), [], import.meta.url));
77
77
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
78
78
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
79
79
  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-B2REeIGU.js"), [], import.meta.url));
90
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-pdVFZ-id.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 = {};
@@ -101,7 +101,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
101
101
  "./better-auth/admin/common": async () => {
102
102
  await injectCssAssets("./better-auth/admin/common");
103
103
  await Promise.all([]);
104
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-sMUs9FmV.js"), [], import.meta.url));
104
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-DtVPzGI9.js"), [], import.meta.url));
105
105
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
106
106
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
107
107
  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-CiuxQhgn.js"), __vite__mapDeps([0]), import.meta.url));
118
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BbZNg5Ko.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 = {};
@@ -129,7 +129,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
129
129
  "./local-auth/core/common": async () => {
130
130
  await injectCssAssets("./local-auth/core/common");
131
131
  await Promise.all([]);
132
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B4cD6OfF.js"), [], import.meta.url));
132
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-2sTWj7X2.js"), [], import.meta.url));
133
133
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
134
134
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
135
135
  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-wBaHshVG.js"), [], import.meta.url));
146
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BWF6Fc7g.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 = {};
@@ -157,7 +157,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
157
157
  "./local-auth/admin/common": async () => {
158
158
  await injectCssAssets("./local-auth/admin/common");
159
159
  await Promise.all([]);
160
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-S36tY-P3.js"), [], import.meta.url));
160
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-D-CUPN3f.js"), [], import.meta.url));
161
161
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
162
162
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
163
163
  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-BEOhczx1.js"), __vite__mapDeps([0]), import.meta.url));
174
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-sVeHdqQo.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 = {};
@@ -185,7 +185,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
185
185
  "./placeholder-auth/core/common": async () => {
186
186
  await injectCssAssets("./placeholder-auth/core/common");
187
187
  await Promise.all([]);
188
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B9LNVIXT.js"), [], import.meta.url));
188
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BY8yEk1M.js"), [], import.meta.url));
189
189
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
190
190
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
191
191
  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-DotA2McS.js.map
203
+ //# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js.map
@@ -1,5 +1,5 @@
1
- import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
- import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
1
+ import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
2
+ import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.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_142({
@@ -43,4 +43,4 @@ var web_default = __mf_142({
43
43
  //#endregion
44
44
  export { web_default as default };
45
45
 
46
- //# sourceMappingURL=web-wBaHshVG.js.map
46
+ //# sourceMappingURL=web-BWF6Fc7g.js.map
@@ -1,9 +1,9 @@
1
- import { S as __mf_230, _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js";
2
- import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
3
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-BTmSBHAy.js";
5
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-Bs9C6JrS.js";
6
- import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-DGhhwO8Q.js";
1
+ import { S as __mf_230, _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
+ import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
5
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
6
+ import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-Bb8Sa9xa.js";
7
7
  //#region src/local-auth/core/components/local-auth-definition-editor.tsx
8
8
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
9
9
  function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
@@ -115,4 +115,4 @@ var web_default = __mf_142({
115
115
  //#endregion
116
116
  export { web_default as default };
117
117
 
118
- //# sourceMappingURL=web-CiuxQhgn.js.map
118
+ //# sourceMappingURL=web-BbZNg5Ko.js.map
@@ -1,5 +1,5 @@
1
- import { $ as __mf_11, C as __mf_263, D as __mf_57, E as __mf_27, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, T as __mf_268, W as useForm, Z as __mfDefaultExport, a as __mf_141, b as __mf_19, bt as __mf_2, ct as __mf_27$1, dt as __mf_31, ft as __mf_34, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, k as __mf_75, n as __mf_1$1, ot as __mf_23, pt as __mf_35, st as __mf_26, t as __mf_0, x as __mf_2$1, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js";
2
- import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-BDM6ILfO.js";
1
+ import { $ as __mf_11, C as __mf_263, D as __mf_57, E as __mf_27, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, T as __mf_268, W as useForm, Z as __mfDefaultExport, a as __mf_141, b as __mf_19, bt as __mf_2, ct as __mf_27$1, dt as __mf_31, ft as __mf_34, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, k as __mf_75, n as __mf_1$1, ot as __mf_23, pt as __mf_35, st as __mf_26, t as __mf_0, x as __mf_2$1, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
+ import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-BoeoBppL.js";
3
3
  //#region ../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js
4
4
  var CHANGE_TYPE_BADGE_VARIANT = {
5
5
  added: "default",
@@ -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-jcCkQISW.js.map
410
+ //# sourceMappingURL=web-CbftiK5A.js.map
@@ -1,9 +1,9 @@
1
- import { n as __mf_88, t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js";
2
- import { A as __mf_76, E as __mf_27$1, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, R as MdDeleteOutline, U as useFieldArray$1, W as useForm, _ as __mf_176, b as __mf_19, bt as __mf_2, ct as __mf_27, d as __mf_168, dt as __mf_31, f as __mf_169, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, i as __mf_124, j as __mf_77, k as __mf_75, l as __mf_166, m as __mf_173, n as __mf_1$1, p as __mf_172, pt as __mf_35, r as __mf_116, t as __mf_0$1, u as __mf_167, v as __mf_177, vt as __mf_0, w as __mf_266, x as __mf_2$1, y as __mf_181, yt as __mf_1, z as MdEdit } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js";
3
- import { c as __mf_189, d as __mf_233, f as __mf_26, n as __mf_142, o as __mf_17, p as __mf_262, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
4
- import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-B-HRncfN.js";
5
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, o as __mf_3, r as __mf_23 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
6
- import { n as a, t as AuthConfigTabs } from "./styles-BTmSBHAy.js";
1
+ import { n as __mf_88, t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js";
2
+ import { A as __mf_76, E as __mf_27$1, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, R as MdDeleteOutline, U as useFieldArray$1, W as useForm, _ as __mf_176, b as __mf_19, bt as __mf_2, ct as __mf_27, d as __mf_168, dt as __mf_31, f as __mf_169, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, i as __mf_124, j as __mf_77, k as __mf_75, l as __mf_166, m as __mf_173, n as __mf_1$1, p as __mf_172, pt as __mf_35, r as __mf_116, t as __mf_0$1, u as __mf_167, v as __mf_177, vt as __mf_0, w as __mf_266, x as __mf_2$1, y as __mf_181, yt as __mf_1, z as MdEdit } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
3
+ import { c as __mf_189, d as __mf_233, f as __mf_26, n as __mf_142, o as __mf_17, p as __mf_262, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
4
+ import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-BSgRuyCf.js";
5
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, o as __mf_3, r as __mf_23 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
6
+ import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
7
7
  //#region ../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.71.1_react@19.1.0/node_modules/@hookform/lenses/dist/rhf/index.js
8
8
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
9
9
  function useFieldArray(props) {
@@ -119,6 +119,7 @@ function RoleEditorForm({ className, control }) {
119
119
  }
120
120
  function handleDeleteRole(roleIdx) {
121
121
  const role = roles[roleIdx];
122
+ if (!role) return;
122
123
  requestConfirm({
123
124
  title: "Delete Role",
124
125
  content: `Are you sure you want to delete the role "${role.name}"?`,
@@ -204,6 +205,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
204
205
  if (pluginMetadata?.config) return pluginMetadata.config;
205
206
  const defaultAuthFeatureRef = __mf_17.getFeatureIdByNameOrDefault(definition, "accounts/auth");
206
207
  const defaultAccountsFeatureRef = __mf_17.getFeatureIdByNameOrDefault(definition, "accounts/users");
208
+ if (!defaultImplementation) throw new Error("No auth implementation plugins are available");
207
209
  return {
208
210
  implementationPluginKey: defaultImplementation.key,
209
211
  authFeatureRef: defaultAuthFeatureRef,
@@ -352,4 +354,4 @@ var web_default = __mf_142({
352
354
  //#endregion
353
355
  export { web_default as default };
354
356
 
355
- //# sourceMappingURL=web-DGv5-Arz.js.map
357
+ //# sourceMappingURL=web-DUQ-iyMI.js.map
@@ -1,9 +1,9 @@
1
- import { _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js";
2
- import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
3
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-BTmSBHAy.js";
5
- import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-1c2urnle.js";
6
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-Bs9C6JrS.js";
1
+ import { _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
+ import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
5
+ import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-CExR9mVk.js";
6
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
7
7
  //#region src/better-auth/core/components/better-auth-definition-editor.tsx
8
8
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
9
9
  function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
@@ -103,4 +103,4 @@ var web_default = __mf_142({
103
103
  //#endregion
104
104
  export { web_default as default };
105
105
 
106
- //# sourceMappingURL=web-Bh_3N1sv.js.map
106
+ //# sourceMappingURL=web-QvGnMr85.js.map
@@ -1,5 +1,5 @@
1
- import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Dbjihoi-.js";
2
- import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-CpEOtTmq.js";
1
+ import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
2
+ import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.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_142({
@@ -43,4 +43,4 @@ var web_default = __mf_142({
43
43
  //#endregion
44
44
  export { web_default as default };
45
45
 
46
- //# sourceMappingURL=web-B2REeIGU.js.map
46
+ //# sourceMappingURL=web-pdVFZ-id.js.map