@baseplate-dev/plugin-auth 0.6.12 → 0.6.14

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 (158) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -0
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -0
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -0
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -0
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -0
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -0
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -0
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -0
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -0
  11. package/dist/better-auth/constants/packages.d.ts +1 -1
  12. package/dist/better-auth/constants/packages.js +1 -1
  13. package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts +1 -0
  14. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts +2 -0
  15. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts +1 -0
  16. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts +1 -0
  17. package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts +1 -0
  18. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts +4 -0
  19. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts +1 -0
  20. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts +3 -0
  21. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +43 -6
  22. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +21 -2
  23. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +46 -10
  24. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +18 -2
  25. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +6 -2
  26. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +24 -6
  27. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +8 -5
  28. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +20 -4
  29. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +10 -5
  30. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/plugins/better-auth.plugin.ts +7 -4
  31. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +76 -59
  32. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/user-session.service.ts +58 -46
  33. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -0
  34. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -0
  35. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -0
  36. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -0
  37. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -0
  38. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -0
  39. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -0
  40. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -0
  41. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -0
  42. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -0
  43. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -0
  44. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -0
  45. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -0
  46. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -0
  47. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -0
  48. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -0
  49. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -0
  50. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +7 -23
  51. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +28 -66
  52. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +7 -23
  53. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +2 -8
  54. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +35 -66
  55. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +1 -5
  56. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +2 -2
  57. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
  58. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +8 -4
  59. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +3 -3
  60. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +4 -3
  61. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +9 -6
  62. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +2 -3
  63. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +5 -3
  64. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +1 -0
  65. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +4 -0
  66. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +1 -0
  67. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +3 -0
  68. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +62 -8
  69. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +21 -11
  70. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +152 -10
  71. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -0
  72. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -0
  73. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +52 -2
  74. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +14 -4
  75. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -3
  76. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -3
  77. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +102 -8
  78. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +19 -5
  79. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +0 -4
  80. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +2 -15
  81. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +2 -16
  82. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.d.ts +6 -0
  83. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.js +18 -0
  84. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.ts +22 -0
  85. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +1 -2
  86. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +4 -2
  87. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -1
  88. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +0 -1
  89. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +0 -2
  90. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +9 -0
  91. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +52 -0
  92. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +9 -0
  93. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +77 -0
  94. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
  95. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +1 -1
  96. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +1 -1
  97. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +1 -1
  98. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +2 -2
  99. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +2 -2
  100. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +1 -1
  101. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +1 -1
  102. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -0
  103. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -0
  104. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -0
  105. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -0
  106. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +2 -2
  107. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts +10 -2
  108. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js +8 -5
  109. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js +1 -1
  110. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts +3 -1
  111. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js +2 -1
  112. package/dist/placeholder-auth/core/generators/placeholder-auth-module/{auth-module.generator.d.ts → placeholder-auth-module.generator.d.ts} +20 -3
  113. package/dist/placeholder-auth/core/generators/placeholder-auth-module/{auth-module.generator.js → placeholder-auth-module.generator.js} +16 -1
  114. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts +5 -21
  115. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js +17 -26
  116. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.ts +21 -31
  117. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-Bd_uRhIr.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-3sV-KVGF.js} +89 -73
  118. 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-BX1_Ngjt.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-0m3QgjSy.js} +50 -13
  119. 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-CQuBII8a.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-QrOyqu9V.js} +50 -14
  120. 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-DsLoA9K7.js → _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} +6932 -6106
  121. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js} +72 -151
  122. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js} +30 -247
  123. package/dist/web/assets/auth-D8BnFQKk.js +1 -0
  124. package/dist/web/assets/{common-CLtpg163.js → common-7-ZtKO5B.js} +3 -3
  125. package/dist/web/assets/{common-ooa00sM_.js → common-Aq-HXybV.js} +6 -6
  126. package/dist/web/assets/{common-C0Hur22D.js → common-B8N9gx2s.js} +4 -4
  127. package/dist/web/assets/{common-BFKR_7HQ.js → common-BPbNs2A1.js} +6 -6
  128. package/dist/web/assets/{common-CTYcv1u_.js → common-B_XZ3l9w.js} +3 -3
  129. package/dist/web/assets/{common-B8Z1_D6-.js → common-CDrUdhRf.js} +4 -4
  130. package/dist/web/assets/{dist-DicVrB_Z.js → dist-D3CkiDKT.js} +387 -262
  131. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-CtbvyMZJ.js → dist-SBfmsOB2.js} +43 -359
  132. package/dist/web/assets/{get-auth-plugin-definition-DBdchbBZ.js → get-auth-plugin-definition-D3ocnNxw.js} +2 -2
  133. package/dist/web/assets/hostInit-D3RxwboF.js +99 -0
  134. package/dist/web/assets/{index-CR54yoeW.js → index-CozZxQl1.js} +2 -2
  135. package/dist/web/assets/{mf-entry-bootstrap-0-4f84e81c.js → mf-entry-bootstrap-0-069a3ab2.js} +5 -2
  136. package/dist/web/assets/{model-utils-CQpTF3uf.js → model-utils-CYaLYwoX.js} +48 -14
  137. package/dist/web/assets/{models-Bc3L4Vsl.js → models-BX4xFiEn.js} +3 -3
  138. package/dist/web/assets/{models-BIKzGkW3.js → models-k-iaCft-.js} +3 -3
  139. package/dist/web/assets/{plugin-definition-33i4r91s.js → plugin-definition-BI565qFo.js} +3 -3
  140. package/dist/web/assets/{plugin-definition-BhNnSvrD.js → plugin-definition-CI1aEVGv.js} +3 -3
  141. package/dist/web/assets/{styles-BT_OTXuv.js → styles-f4jHVv0S.js} +15 -12
  142. package/dist/web/assets/{virtualExposes-B_hX31Ln.js → virtualExposes-BHQhgLE-.js} +1 -1
  143. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-aH8n-Nbe.js +259 -0
  144. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-BVNjo6R7.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-I_SxfvGj.js} +13 -13
  145. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B_7IVc8D.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BQ0UMKSv.js} +50 -15
  146. package/dist/web/assets/{web-Dso6eI9u.js → web-BRvS0HRS.js} +17 -17
  147. package/dist/web/assets/{web-aKoJoBnQ.js → web-CkbTu31Q.js} +16 -16
  148. package/dist/web/assets/{web-DYbNyLPi.js → web-Cn3uvuFs.js} +35 -35
  149. package/dist/web/assets/{web-BDeHApaZ.js → web-DCK_tLVa.js} +31 -18
  150. package/dist/web/assets/{web-BXB-pvWJ.js → web-Dh6pUTrF.js} +20 -20
  151. package/dist/web/assets/{web-CJlCNegu.js → web-YXVJWeXy.js} +3 -3
  152. package/dist/web/assets/{web-BC9MejP0.js → web-nLSlkJy_.js} +3 -3
  153. package/dist/web/index.html +2 -2
  154. package/dist/web/remoteEntry.js +1 -1
  155. package/dist/web/remoteEntry.ssr.js +1 -1
  156. package/package.json +26 -26
  157. package/dist/web/assets/auth-DS8ZnZZr.js +0 -1
  158. package/dist/web/assets/hostInit-CDVLjNbq.js +0 -119
@@ -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-DYbNyLPi.js"), __vite__mapDeps([0]), import.meta.url);
6
+ const importModule = await __vitePreload(() => import("./web-Cn3uvuFs.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-B8Z1_D6-.js"), [], import.meta.url);
16
+ const importModule = await __vitePreload(() => import("./common-CDrUdhRf.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-Dso6eI9u.js"), __vite__mapDeps([0]), import.meta.url);
26
+ const importModule = await __vitePreload(() => import("./web-BRvS0HRS.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-BFKR_7HQ.js"), [], import.meta.url);
36
+ const importModule = await __vitePreload(() => import("./common-BPbNs2A1.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-CJlCNegu.js"), [], import.meta.url);
46
+ const importModule = await __vitePreload(() => import("./web-YXVJWeXy.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-CTYcv1u_.js"), [], import.meta.url);
56
+ const importModule = await __vitePreload(() => import("./common-B_XZ3l9w.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-BXB-pvWJ.js"), __vite__mapDeps([0]), import.meta.url);
66
+ const importModule = await __vitePreload(() => import("./web-Dh6pUTrF.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-ooa00sM_.js"), [], import.meta.url);
76
+ const importModule = await __vitePreload(() => import("./common-Aq-HXybV.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-BC9MejP0.js"), [], import.meta.url);
86
+ const importModule = await __vitePreload(() => import("./web-nLSlkJy_.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-CLtpg163.js"), [], import.meta.url);
96
+ const importModule = await __vitePreload(() => import("./common-7-ZtKO5B.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-aKoJoBnQ.js"), __vite__mapDeps([0]), import.meta.url);
106
+ const importModule = await __vitePreload(() => import("./web-CkbTu31Q.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-C0Hur22D.js"), [], import.meta.url);
116
+ const importModule = await __vitePreload(() => import("./common-B8N9gx2s.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-BVNjo6R7.js.map
129
+ //# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-I_SxfvGj.js.map
@@ -16,12 +16,11 @@ async function injectCssAssets(exposeKey) {
16
16
  const href = new URL(cssAsset, import.meta.url).href;
17
17
  if (injectedCssHrefs.has(href)) return Promise.resolve();
18
18
  injectedCssHrefs.add(href);
19
- if (document.querySelector(`link[rel="stylesheet"][data-mf-href="${href}"]`)) return Promise.resolve();
19
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`)) return Promise.resolve();
20
20
  return new Promise((resolve, reject) => {
21
21
  const link = document.createElement("link");
22
22
  link.rel = "stylesheet";
23
23
  link.href = href;
24
- link.setAttribute("data-mf-href", href);
25
24
  link.onload = () => resolve();
26
25
  link.onerror = () => reject(/* @__PURE__ */ new Error(`[Module Federation] Failed to load CSS asset: ${href}`));
27
26
  document.head.appendChild(link);
@@ -31,7 +30,10 @@ async function injectCssAssets(exposeKey) {
31
30
  var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
32
31
  "./auth/core/web": async () => {
33
32
  await injectCssAssets("./auth/core/web");
34
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DYbNyLPi.js"), __vite__mapDeps([0]), import.meta.url));
33
+ await Promise.all([]);
34
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-Cn3uvuFs.js"), __vite__mapDeps([0]), import.meta.url));
35
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
36
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
35
37
  const exportModule = {};
36
38
  Object.assign(exportModule, importModule);
37
39
  Object.defineProperty(exportModule, "__esModule", {
@@ -42,7 +44,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
42
44
  },
43
45
  "./auth/core/common": async () => {
44
46
  await injectCssAssets("./auth/core/common");
45
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B8Z1_D6-.js"), [], import.meta.url));
47
+ await Promise.all([]);
48
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CDrUdhRf.js"), [], import.meta.url));
49
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
50
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
46
51
  const exportModule = {};
47
52
  Object.assign(exportModule, importModule);
48
53
  Object.defineProperty(exportModule, "__esModule", {
@@ -53,7 +58,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
53
58
  },
54
59
  "./better-auth/core/web": async () => {
55
60
  await injectCssAssets("./better-auth/core/web");
56
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-Dso6eI9u.js"), __vite__mapDeps([0]), import.meta.url));
61
+ await Promise.all([]);
62
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BRvS0HRS.js"), __vite__mapDeps([0]), import.meta.url));
63
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
64
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
57
65
  const exportModule = {};
58
66
  Object.assign(exportModule, importModule);
59
67
  Object.defineProperty(exportModule, "__esModule", {
@@ -64,7 +72,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
64
72
  },
65
73
  "./better-auth/core/common": async () => {
66
74
  await injectCssAssets("./better-auth/core/common");
67
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BFKR_7HQ.js"), [], import.meta.url));
75
+ await Promise.all([]);
76
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BPbNs2A1.js"), [], import.meta.url));
77
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
78
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
68
79
  const exportModule = {};
69
80
  Object.assign(exportModule, importModule);
70
81
  Object.defineProperty(exportModule, "__esModule", {
@@ -75,7 +86,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
75
86
  },
76
87
  "./better-auth/admin/web": async () => {
77
88
  await injectCssAssets("./better-auth/admin/web");
78
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CJlCNegu.js"), [], import.meta.url));
89
+ await Promise.all([]);
90
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-YXVJWeXy.js"), [], import.meta.url));
91
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
92
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
79
93
  const exportModule = {};
80
94
  Object.assign(exportModule, importModule);
81
95
  Object.defineProperty(exportModule, "__esModule", {
@@ -86,7 +100,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
86
100
  },
87
101
  "./better-auth/admin/common": async () => {
88
102
  await injectCssAssets("./better-auth/admin/common");
89
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CTYcv1u_.js"), [], import.meta.url));
103
+ await Promise.all([]);
104
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B_XZ3l9w.js"), [], import.meta.url));
105
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
106
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
90
107
  const exportModule = {};
91
108
  Object.assign(exportModule, importModule);
92
109
  Object.defineProperty(exportModule, "__esModule", {
@@ -97,7 +114,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
97
114
  },
98
115
  "./local-auth/core/web": async () => {
99
116
  await injectCssAssets("./local-auth/core/web");
100
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BXB-pvWJ.js"), __vite__mapDeps([0]), import.meta.url));
117
+ await Promise.all([]);
118
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-Dh6pUTrF.js"), __vite__mapDeps([0]), import.meta.url));
119
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
120
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
101
121
  const exportModule = {};
102
122
  Object.assign(exportModule, importModule);
103
123
  Object.defineProperty(exportModule, "__esModule", {
@@ -108,7 +128,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
108
128
  },
109
129
  "./local-auth/core/common": async () => {
110
130
  await injectCssAssets("./local-auth/core/common");
111
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-ooa00sM_.js"), [], import.meta.url));
131
+ await Promise.all([]);
132
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-Aq-HXybV.js"), [], import.meta.url));
133
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
134
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
112
135
  const exportModule = {};
113
136
  Object.assign(exportModule, importModule);
114
137
  Object.defineProperty(exportModule, "__esModule", {
@@ -119,7 +142,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
119
142
  },
120
143
  "./local-auth/admin/web": async () => {
121
144
  await injectCssAssets("./local-auth/admin/web");
122
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BC9MejP0.js"), [], import.meta.url));
145
+ await Promise.all([]);
146
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-nLSlkJy_.js"), [], import.meta.url));
147
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
148
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
123
149
  const exportModule = {};
124
150
  Object.assign(exportModule, importModule);
125
151
  Object.defineProperty(exportModule, "__esModule", {
@@ -130,7 +156,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
130
156
  },
131
157
  "./local-auth/admin/common": async () => {
132
158
  await injectCssAssets("./local-auth/admin/common");
133
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CLtpg163.js"), [], import.meta.url));
159
+ await Promise.all([]);
160
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-7-ZtKO5B.js"), [], import.meta.url));
161
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
162
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
134
163
  const exportModule = {};
135
164
  Object.assign(exportModule, importModule);
136
165
  Object.defineProperty(exportModule, "__esModule", {
@@ -141,7 +170,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
141
170
  },
142
171
  "./placeholder-auth/core/web": async () => {
143
172
  await injectCssAssets("./placeholder-auth/core/web");
144
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-aKoJoBnQ.js"), __vite__mapDeps([0]), import.meta.url));
173
+ await Promise.all([]);
174
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CkbTu31Q.js"), __vite__mapDeps([0]), import.meta.url));
175
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
176
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
145
177
  const exportModule = {};
146
178
  Object.assign(exportModule, importModule);
147
179
  Object.defineProperty(exportModule, "__esModule", {
@@ -152,7 +184,10 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
152
184
  },
153
185
  "./placeholder-auth/core/common": async () => {
154
186
  await injectCssAssets("./placeholder-auth/core/common");
155
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-C0Hur22D.js"), [], import.meta.url));
187
+ await Promise.all([]);
188
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B8N9gx2s.js"), [], import.meta.url));
189
+ const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
190
+ if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
156
191
  const exportModule = {};
157
192
  Object.assign(exportModule, importModule);
158
193
  Object.defineProperty(exportModule, "__esModule", {
@@ -165,4 +200,4 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
165
200
  //#endregion
166
201
  export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as t };
167
202
 
168
- //# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B_7IVc8D.js.map
203
+ //# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BQ0UMKSv.js.map
@@ -1,14 +1,14 @@
1
- import { St as __mf_2, _ as MultiComboboxFieldController, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, a as SectionListSection, b as FormActionBar, c as SectionListSectionHeader, ft as __mf_31, i as SectionList, l as SectionListSectionTitle, o as SectionListSectionContent, s as SectionListSectionDescription, xt 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-DsLoA9K7.js";
2
- import { a as __mf_167, d as __mf_231, f as __mf_259, g as __mf_55, n as __mf_142, o as __mf_17, p 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-BX1_Ngjt.js";
3
- import { a as __mf_25, i as __mf_24, n as __mf_19, r as __mf_22, 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-CQuBII8a.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-BT_OTXuv.js";
5
- import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-Bc3L4Vsl.js";
6
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DBdchbBZ.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-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-0m3QgjSy.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-QrOyqu9V.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-f4jHVv0S.js";
5
+ import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BX4xFiEn.js";
6
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-D3ocnNxw.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 }) {
10
- const { definition, definitionContainer, saveDefinitionWithFeedback } = __mf_24();
11
- const betterAuthPluginDefinitionSchema = __mf_22(createBetterAuthPluginDefinitionSchema);
10
+ const { definition, definitionContainer, saveDefinitionWithFeedback } = __mf_25();
11
+ const betterAuthPluginDefinitionSchema = __mf_23(createBetterAuthPluginDefinitionSchema);
12
12
  const authDefinition = getAuthPluginDefinition(definition);
13
13
  const roles = authDefinition.roles.filter((role) => !role.builtIn).map((role) => ({
14
14
  label: role.name,
@@ -18,7 +18,7 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
18
18
  if (pluginMetadata?.config) return pluginMetadata.config;
19
19
  return { additionalUserAdminRoles: [] };
20
20
  }, [pluginMetadata?.config]);
21
- const form = __mf_25({
21
+ const form = __mf_26$1({
22
22
  resolver: a(betterAuthPluginDefinitionSchema),
23
23
  defaultValues
24
24
  });
@@ -39,7 +39,7 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
39
39
  onSave();
40
40
  }
41
41
  }));
42
- __mf_19({
42
+ __mf_20({
43
43
  control,
44
44
  reset,
45
45
  onSubmit
@@ -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(SectionList, { children: [/* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "Better Auth Configuration" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
57
+ children: /* @__PURE__ */ __mf_2(__mf_172, { children: [/* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Better Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
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(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { 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(SectionListSectionContent, {
63
+ })] }), /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_175, { 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_174, {
64
64
  className: "auth:space-y-6",
65
- children: /* @__PURE__ */ __mf_1(MultiComboboxFieldController, {
65
+ children: /* @__PURE__ */ __mf_1(__mf_145, {
66
66
  label: "Additional User Admin Roles",
67
67
  name: "additionalUserAdminRoles",
68
68
  control,
@@ -70,7 +70,7 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
70
70
  description: "Additional roles (beyond admin) that can manage users and assign roles."
71
71
  })
72
72
  })] })] })
73
- }), /* @__PURE__ */ __mf_1(FormActionBar, {
73
+ }), /* @__PURE__ */ __mf_1(__mf_116, {
74
74
  form,
75
75
  allowSaveWithoutDirty: !pluginMetadata || diff.hasChanges
76
76
  })]
@@ -85,8 +85,8 @@ var ACCOUNTS_FEATURE_NAME = "accounts/users";
85
85
  var web_default = __mf_142({
86
86
  name: "web",
87
87
  dependencies: {
88
- webConfig: __mf_259,
89
- pluginDefaults: __mf_231
88
+ webConfig: __mf_262,
89
+ pluginDefaults: __mf_233
90
90
  },
91
91
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
92
92
  webConfig.components.set(pluginKey, BetterAuthDefinitionEditor);
@@ -103,4 +103,4 @@ var web_default = __mf_142({
103
103
  //#endregion
104
104
  export { web_default as default };
105
105
 
106
- //# sourceMappingURL=web-Dso6eI9u.js.map
106
+ //# sourceMappingURL=web-BRvS0HRS.js.map
@@ -1,10 +1,10 @@
1
- import { St as __mf_2, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, a as SectionListSection, b as FormActionBar, c as SectionListSectionHeader, ft as __mf_31, i as SectionList, l as SectionListSectionTitle, o as SectionListSectionContent, s as SectionListSectionDescription, xt 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-DsLoA9K7.js";
2
- import { a as __mf_167, d as __mf_231, f as __mf_259, g as __mf_55, n as __mf_142, o as __mf_17, p 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-BX1_Ngjt.js";
3
- import { a as __mf_25, i as __mf_24, n as __mf_19, r as __mf_22, 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-CQuBII8a.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-BT_OTXuv.js";
5
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DBdchbBZ.js";
6
- import "./auth-DS8ZnZZr.js";
7
- import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-33i4r91s.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, 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-0m3QgjSy.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-QrOyqu9V.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-f4jHVv0S.js";
5
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-D3ocnNxw.js";
6
+ import "./auth-D8BnFQKk.js";
7
+ import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-BI565qFo.js";
8
8
  //#region src/placeholder-auth/core/schema/models.ts
9
9
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
10
10
  function createPlaceholderAuthPartialDefinition(authFeatureName) {
@@ -41,14 +41,14 @@ function createPlaceholderAuthPartialDefinition(authFeatureName) {
41
41
  //#endregion
42
42
  //#region src/placeholder-auth/core/components/placeholder-auth-definition-editor.tsx
43
43
  function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
44
- const { definition, definitionContainer, saveDefinitionWithFeedback } = __mf_24();
44
+ const { definition, definitionContainer, saveDefinitionWithFeedback } = __mf_25();
45
45
  const authDefinition = getAuthPluginDefinition(definition);
46
- const authPluginDefinitionSchema = __mf_22(createPlaceholderAuthPluginDefinitionSchema);
46
+ const authPluginDefinitionSchema = __mf_23(createPlaceholderAuthPluginDefinitionSchema);
47
47
  const defaultValues = __mf_31(() => {
48
48
  if (pluginMetadata?.config) return pluginMetadata.config;
49
49
  return {};
50
50
  }, [pluginMetadata?.config]);
51
- const form = __mf_25({
51
+ const form = __mf_26$1({
52
52
  resolver: a(authPluginDefinitionSchema),
53
53
  defaultValues
54
54
  });
@@ -67,7 +67,7 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
67
67
  onSave();
68
68
  }
69
69
  }));
70
- __mf_19({
70
+ __mf_20({
71
71
  control,
72
72
  reset,
73
73
  onSubmit
@@ -82,14 +82,14 @@ 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(SectionList, { children: /* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
85
+ children: /* @__PURE__ */ __mf_1(__mf_172, { children: /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
86
86
  className: "auth:space-y-6",
87
87
  children: /* @__PURE__ */ __mf_1(__mf_0, {
88
88
  diff,
89
89
  upToDateMessage: "All required models are already configured correctly. No changes needed."
90
90
  })
91
91
  })] }) })
92
- }), /* @__PURE__ */ __mf_1(FormActionBar, {
92
+ }), /* @__PURE__ */ __mf_1(__mf_116, {
93
93
  form,
94
94
  allowSaveWithoutDirty: !pluginMetadata || diff.hasChanges
95
95
  })]
@@ -103,8 +103,8 @@ var AUTH_FEATURE_NAME = "accounts/auth";
103
103
  var web_default = __mf_142({
104
104
  name: "web",
105
105
  dependencies: {
106
- webConfig: __mf_259,
107
- pluginDefaults: __mf_231
106
+ webConfig: __mf_262,
107
+ pluginDefaults: __mf_233
108
108
  },
109
109
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
110
110
  webConfig.components.set(pluginKey, PlaceholderAuthDefinitionEditor);
@@ -120,4 +120,4 @@ var web_default = __mf_142({
120
120
  //#endregion
121
121
  export { web_default as default };
122
122
 
123
- //# sourceMappingURL=web-aKoJoBnQ.js.map
123
+ //# sourceMappingURL=web-CkbTu31Q.js.map