@baseplate-dev/plugin-auth 0.6.12 → 0.6.13

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 +24 -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-DxRuC5lD.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-Dbjihoi-.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-CpEOtTmq.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-gRzmaSZc.js +1 -0
  124. package/dist/web/assets/{common-ooa00sM_.js → common-B4cD6OfF.js} +6 -6
  125. package/dist/web/assets/{common-C0Hur22D.js → common-B9LNVIXT.js} +4 -4
  126. package/dist/web/assets/{common-BFKR_7HQ.js → common-B9sZoKR5.js} +6 -6
  127. package/dist/web/assets/{common-B8Z1_D6-.js → common-DF9FD3lJ.js} +4 -4
  128. package/dist/web/assets/{common-CLtpg163.js → common-S36tY-P3.js} +3 -3
  129. package/dist/web/assets/{common-CTYcv1u_.js → common-sMUs9FmV.js} +3 -3
  130. package/dist/web/assets/{dist-DicVrB_Z.js → dist-CtqdAorB.js} +374 -254
  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-Bs9C6JrS.js} +2 -2
  133. package/dist/web/assets/hostInit-BtfjN9sB.js +99 -0
  134. package/dist/web/assets/{index-CR54yoeW.js → index-DVCa_MuH.js} +2 -2
  135. package/dist/web/assets/{mf-entry-bootstrap-0-4f84e81c.js → mf-entry-bootstrap-0-31a63adb.js} +5 -2
  136. package/dist/web/assets/{model-utils-CQpTF3uf.js → model-utils-BDM6ILfO.js} +42 -14
  137. package/dist/web/assets/{models-Bc3L4Vsl.js → models-1c2urnle.js} +3 -3
  138. package/dist/web/assets/{models-BIKzGkW3.js → models-DGhhwO8Q.js} +3 -3
  139. package/dist/web/assets/{plugin-definition-BhNnSvrD.js → plugin-definition-B-HRncfN.js} +3 -3
  140. package/dist/web/assets/{plugin-definition-33i4r91s.js → plugin-definition-Dluw2inU.js} +3 -3
  141. package/dist/web/assets/{styles-BT_OTXuv.js → styles-BTmSBHAy.js} +15 -12
  142. package/dist/web/assets/{virtualExposes-B_hX31Ln.js → virtualExposes-C1o-SyCQ.js} +1 -1
  143. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bs76by83.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-B5SkIaaz.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-DotA2McS.js} +50 -15
  146. package/dist/web/assets/{web-CJlCNegu.js → web-B2REeIGU.js} +3 -3
  147. package/dist/web/assets/{web-aKoJoBnQ.js → web-BEOhczx1.js} +16 -16
  148. package/dist/web/assets/{web-Dso6eI9u.js → web-Bh_3N1sv.js} +17 -17
  149. package/dist/web/assets/{web-BXB-pvWJ.js → web-CiuxQhgn.js} +20 -20
  150. package/dist/web/assets/{web-DYbNyLPi.js → web-DGv5-Arz.js} +35 -35
  151. package/dist/web/assets/{web-BDeHApaZ.js → web-jcCkQISW.js} +31 -18
  152. package/dist/web/assets/{web-BC9MejP0.js → web-wBaHshVG.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
@@ -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-CGsbw2Lx.js";
2
- import { B as useFieldArray$1, C as DialogDescription, E as DialogTitle, F as MdEdit, G as AlertDescription, K as AlertTitle, M as Button, N as MdAdd, O as useConfirmDialog, P as MdDeleteOutline, S as DialogContent, St as __mf_2, T as DialogHeader, U as useWatch, V as useForm, W as Alert, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, a as SectionListSection, b as FormActionBar, bt as __mf_0, c as SectionListSectionHeader, d as RecordViewActions, f as RecordViewItem, ft as __mf_31, i as SectionList, j as Badge, l as SectionListSectionTitle, lt as __mf_27, mt as __mf_35, o as SectionListSectionContent, p as RecordViewItemList, r as SelectFieldController, s as SectionListSectionDescription, u as RecordView, w as DialogFooter, x as Dialog, xt as __mf_1, y as InputFieldController } 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";
3
- import { c as __mf_189, d as __mf_231, f as __mf_259, n as __mf_142, o as __mf_17, p as __mf_26, 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-BX1_Ngjt.js";
4
- import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-BhNnSvrD.js";
5
- import { a as __mf_25, i as __mf_24, n as __mf_19, o as __mf_3, r as __mf_22 } 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";
6
- import { n as a, t as AuthConfigTabs } from "./styles-BT_OTXuv.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-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";
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) {
@@ -48,7 +48,7 @@ function useFieldArray(props) {
48
48
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
49
49
  function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
50
50
  const { control, handleSubmit } = useForm({
51
- resolver: a(__mf_22(createAuthRoleSchema)),
51
+ resolver: a(__mf_23(createAuthRoleSchema)),
52
52
  values: role
53
53
  });
54
54
  const onSubmit = handleSubmit((data) => {
@@ -56,39 +56,39 @@ function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
56
56
  onOpenChange?.(false);
57
57
  });
58
58
  const formId = __mf_27();
59
- return /* @__PURE__ */ __mf_1(Dialog, {
59
+ return /* @__PURE__ */ __mf_1(__mf_73, {
60
60
  open,
61
61
  onOpenChange,
62
- children: /* @__PURE__ */ __mf_1(DialogContent, { children: /* @__PURE__ */ __mf_2("form", {
62
+ children: /* @__PURE__ */ __mf_1(__mf_75, { children: /* @__PURE__ */ __mf_2("form", {
63
63
  id: formId,
64
64
  onSubmit: (e) => {
65
65
  e.stopPropagation();
66
66
  return onSubmit(e);
67
67
  },
68
68
  children: [
69
- /* @__PURE__ */ __mf_2(DialogHeader, { children: [/* @__PURE__ */ __mf_1(DialogTitle, { children: isNew ? "Add Role" : "Edit Role" }), /* @__PURE__ */ __mf_1(DialogDescription, { children: isNew ? "Enter the details for the new role." : "Update the role details below." })] }),
69
+ /* @__PURE__ */ __mf_2(__mf_78, { children: [/* @__PURE__ */ __mf_1(__mf_81, { children: isNew ? "Add Role" : "Edit Role" }), /* @__PURE__ */ __mf_1(__mf_76, { children: isNew ? "Enter the details for the new role." : "Update the role details below." })] }),
70
70
  /* @__PURE__ */ __mf_2("div", {
71
71
  className: "auth:space-y-4 auth:py-4",
72
- children: [/* @__PURE__ */ __mf_1(InputFieldController, {
72
+ children: [/* @__PURE__ */ __mf_1(__mf_124, {
73
73
  label: "Role Name",
74
74
  name: "name",
75
75
  control,
76
76
  placeholder: "Enter role name"
77
- }), /* @__PURE__ */ __mf_1(InputFieldController, {
77
+ }), /* @__PURE__ */ __mf_1(__mf_124, {
78
78
  label: "Description",
79
79
  name: "comment",
80
80
  control,
81
81
  placeholder: "Describe this role's purpose"
82
82
  })]
83
83
  }),
84
- /* @__PURE__ */ __mf_2(DialogFooter, { children: [/* @__PURE__ */ __mf_1(Button, {
84
+ /* @__PURE__ */ __mf_2(__mf_77, { children: [/* @__PURE__ */ __mf_1(__mf_27$1, {
85
85
  type: "button",
86
86
  variant: "outline",
87
87
  onClick: () => {
88
88
  onOpenChange?.(false);
89
89
  },
90
90
  children: "Cancel"
91
- }), /* @__PURE__ */ __mf_2(Button, {
91
+ }), /* @__PURE__ */ __mf_2(__mf_27$1, {
92
92
  form: formId,
93
93
  type: "submit",
94
94
  children: [isNew ? "Add" : "Update", " Role"]
@@ -101,7 +101,7 @@ function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
101
101
  //#region src/auth/core/components/role-editor-form/role-editor-form.tsx
102
102
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
103
103
  function RoleEditorForm({ className, control }) {
104
- const { requestConfirm } = useConfirmDialog();
104
+ const { requestConfirm } = __mf_266();
105
105
  const { append, update, remove } = useFieldArray({
106
106
  control,
107
107
  name: "roles"
@@ -127,27 +127,27 @@ function RoleEditorForm({ className, control }) {
127
127
  }
128
128
  });
129
129
  }
130
- return /* @__PURE__ */ __mf_2(SectionListSection, {
130
+ return /* @__PURE__ */ __mf_2(__mf_173, {
131
131
  className,
132
- children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "User Roles" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "Define roles for your application. Default roles are protected and cannot be removed." })] }), /* @__PURE__ */ __mf_2(SectionListSectionContent, {
132
+ children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "User Roles" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "Define roles for your application. Default roles are protected and cannot be removed." })] }), /* @__PURE__ */ __mf_2(__mf_174, {
133
133
  className: "auth:space-y-4",
134
134
  children: [
135
- roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(RecordView, { children: [/* @__PURE__ */ __mf_2(RecordViewItemList, { children: [/* @__PURE__ */ __mf_1(RecordViewItem, {
135
+ roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(__mf_166, { children: [/* @__PURE__ */ __mf_2(__mf_169, { children: [/* @__PURE__ */ __mf_1(__mf_168, {
136
136
  title: "Name",
137
137
  children: /* @__PURE__ */ __mf_1("div", {
138
138
  className: "auth:flex auth:items-center auth:gap-2",
139
139
  children: /* @__PURE__ */ __mf_1("span", { children: role.name })
140
140
  })
141
- }), /* @__PURE__ */ __mf_1(RecordViewItem, {
141
+ }), /* @__PURE__ */ __mf_1(__mf_168, {
142
142
  title: "Description",
143
143
  children: role.comment.trim() || /* @__PURE__ */ __mf_1("span", {
144
144
  className: "auth:text-muted-foreground",
145
145
  children: "No description"
146
146
  })
147
- })] }), /* @__PURE__ */ __mf_2(RecordViewActions, { children: [role.builtIn && /* @__PURE__ */ __mf_1(Badge, {
147
+ })] }), /* @__PURE__ */ __mf_2(__mf_167, { children: [role.builtIn && /* @__PURE__ */ __mf_1(__mf_19, {
148
148
  variant: "secondary",
149
149
  children: "Default Role"
150
- }), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(Button, {
150
+ }), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(__mf_27$1, {
151
151
  variant: "ghost",
152
152
  size: "icon",
153
153
  title: "Edit",
@@ -157,7 +157,7 @@ function RoleEditorForm({ className, control }) {
157
157
  setIsEditing(true);
158
158
  },
159
159
  children: /* @__PURE__ */ __mf_1(MdEdit, {})
160
- }), /* @__PURE__ */ __mf_1(Button, {
160
+ }), /* @__PURE__ */ __mf_1(__mf_27$1, {
161
161
  variant: "ghostDestructive",
162
162
  size: "icon",
163
163
  title: "Delete",
@@ -174,7 +174,7 @@ function RoleEditorForm({ className, control }) {
174
174
  isNew: roleToEdit ? !roles.some((r) => r.id === roleToEdit.id) : true,
175
175
  onSave: handleSaveRole
176
176
  }),
177
- /* @__PURE__ */ __mf_2(Button, {
177
+ /* @__PURE__ */ __mf_2(__mf_27$1, {
178
178
  variant: "secondary",
179
179
  size: "sm",
180
180
  onClick: () => {
@@ -196,8 +196,8 @@ function RoleEditorForm({ className, control }) {
196
196
  //#region src/auth/core/components/auth-definition-editor.tsx
197
197
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
198
198
  function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
199
- const { definition, definitionContainer, schemaParserContext, saveDefinitionWithFeedback } = __mf_24();
200
- const authPluginDefinitionSchema = __mf_22(createAuthPluginDefinitionSchema);
199
+ const { definition, definitionContainer, schemaParserContext, saveDefinitionWithFeedback } = __mf_25();
200
+ const authPluginDefinitionSchema = __mf_23(createAuthPluginDefinitionSchema);
201
201
  const availableImplementations = __mf_189(schemaParserContext.pluginStore, metadata.key);
202
202
  const defaultImplementation = availableImplementations.find((i) => i.fullyQualifiedName === "@baseplate-dev/plugin-auth:local-auth") ?? availableImplementations[0];
203
203
  const defaultValues = __mf_31(() => {
@@ -215,7 +215,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
215
215
  pluginMetadata?.config,
216
216
  defaultImplementation
217
217
  ]);
218
- const form = __mf_25({
218
+ const form = __mf_26$1({
219
219
  resolver: a(authPluginDefinitionSchema),
220
220
  defaultValues
221
221
  });
@@ -245,7 +245,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
245
245
  }, 100);
246
246
  }
247
247
  }));
248
- __mf_19({
248
+ __mf_20({
249
249
  control,
250
250
  reset,
251
251
  onSubmit
@@ -260,9 +260,9 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
260
260
  className: "auth:max-w-6xl auth:flex-1",
261
261
  children: [/* @__PURE__ */ __mf_2("div", {
262
262
  className: "auth:pb-16",
263
- children: [!isSelectedImplementationActive && selectedPlugin && !hasSelectedImplementationChanged && /* @__PURE__ */ __mf_2(Alert, {
263
+ children: [!isSelectedImplementationActive && selectedPlugin && !hasSelectedImplementationChanged && /* @__PURE__ */ __mf_2(__mf_0$1, {
264
264
  variant: "warning",
265
- children: [/* @__PURE__ */ __mf_1(AlertTitle, { children: "Implementation Provider Not Active" }), /* @__PURE__ */ __mf_1(AlertDescription, { children: /* @__PURE__ */ __mf_2("p", { children: [
265
+ children: [/* @__PURE__ */ __mf_1(__mf_2$1, { children: "Implementation Provider Not Active" }), /* @__PURE__ */ __mf_1(__mf_1$1, { children: /* @__PURE__ */ __mf_2("p", { children: [
266
266
  "The selected implementation provider is not active. Please make sure",
267
267
  " ",
268
268
  /* @__PURE__ */ __mf_1(__mf_53, {
@@ -273,7 +273,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
273
273
  " ",
274
274
  "before syncing."
275
275
  ] }) })]
276
- }), /* @__PURE__ */ __mf_2(SectionList, { children: [/* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "General Settings" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "Configure the general settings for the auth plugin." })] }), /* @__PURE__ */ __mf_2(SectionListSectionContent, {
276
+ }), /* @__PURE__ */ __mf_2(__mf_172, { children: [/* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "General Settings" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "Configure the general settings for the auth plugin." })] }), /* @__PURE__ */ __mf_2(__mf_174, {
277
277
  className: "auth:space-y-6",
278
278
  children: [
279
279
  /* @__PURE__ */ __mf_1(__mf_3, {
@@ -290,7 +290,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
290
290
  canCreate: true,
291
291
  description: "Specify the feature path where user account models will be generated"
292
292
  }),
293
- /* @__PURE__ */ __mf_1(SelectFieldController, {
293
+ /* @__PURE__ */ __mf_1(__mf_181, {
294
294
  label: "Authentication Provider",
295
295
  name: "implementationPluginKey",
296
296
  control,
@@ -311,7 +311,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
311
311
  })
312
312
  ]
313
313
  })] }), /* @__PURE__ */ __mf_1(RoleEditorForm, { control })] })]
314
- }), /* @__PURE__ */ __mf_1(FormActionBar, {
314
+ }), /* @__PURE__ */ __mf_1(__mf_116, {
315
315
  form,
316
316
  allowSaveWithoutDirty: !pluginMetadata
317
317
  })]
@@ -328,8 +328,8 @@ var PARENT_AUTH_FQN = "@baseplate-dev/plugin-auth:auth";
328
328
  var web_default = __mf_142({
329
329
  name: "web",
330
330
  dependencies: {
331
- webConfig: __mf_259,
332
- pluginDefaults: __mf_231
331
+ webConfig: __mf_262,
332
+ pluginDefaults: __mf_233
333
333
  },
334
334
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
335
335
  webConfig.components.set(pluginKey, AuthDefinitionEditor);
@@ -352,4 +352,4 @@ var web_default = __mf_142({
352
352
  //#endregion
353
353
  export { web_default as default };
354
354
 
355
- //# sourceMappingURL=web-DYbNyLPi.js.map
355
+ //# sourceMappingURL=web-DGv5-Arz.js.map
@@ -1,5 +1,5 @@
1
- import { A as ComboboxField, D as DialogTrigger, E as DialogTitle, G as AlertDescription, H as useFormState, I as useControllerMerged, K as AlertTitle, M as Button, Q as __mfDefaultExport, S as DialogContent, St as __mf_2, T as DialogHeader, V as useForm, W as Alert, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, ct as __mf_26, et as __mf_11, ft as __mf_31, j as Badge, k as create, lt as __mf_27, mt as __mf_35, n as toast, pt as __mf_34, st as __mf_23, v as JsonDiffViewer, x as Dialog, 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 { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-CQpTF3uf.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-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";
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",
@@ -14,18 +14,18 @@ function DefinitionDiffEntryRow({ entry }) {
14
14
  children: entry.label
15
15
  }), __mf_2("div", {
16
16
  className: "flex items-center gap-2",
17
- children: [__mf_1(Badge, {
17
+ children: [__mf_1(__mf_19, {
18
18
  variant: CHANGE_TYPE_BADGE_VARIANT[entry.type],
19
19
  children: entry.type
20
- }), __mf_2(Dialog, { children: [__mf_1(DialogTrigger, {
21
- render: __mf_1(Button, {
20
+ }), __mf_2(__mf_73, { children: [__mf_1(__mf_82, {
21
+ render: __mf_1(__mf_27, {
22
22
  variant: "ghost",
23
23
  size: "sm"
24
24
  }),
25
25
  children: "Details"
26
- }), __mf_2(DialogContent, {
26
+ }), __mf_2(__mf_75, {
27
27
  width: "xl",
28
- children: [__mf_1(DialogHeader, { children: __mf_2(DialogTitle, { children: [
28
+ children: [__mf_1(__mf_78, { children: __mf_2(__mf_81, { children: [
29
29
  entry.label,
30
30
  " — ",
31
31
  entry.type
@@ -37,7 +37,7 @@ function DefinitionDiffEntryRow({ entry }) {
37
37
  }) : entry.type === "removed" ? __mf_1("pre", {
38
38
  className: "text-xs whitespace-pre-wrap",
39
39
  children: JSON.stringify(entry.current, null, 2)
40
- }) : __mf_1(JsonDiffViewer, {
40
+ }) : __mf_1(__mf_141, {
41
41
  oldValue: entry.current,
42
42
  newValue: entry.merged
43
43
  })
@@ -47,9 +47,9 @@ function DefinitionDiffEntryRow({ entry }) {
47
47
  });
48
48
  }
49
49
  function DefinitionDiffAlert({ diff, upToDateMessage = "All changes are up to date. No changes needed." }) {
50
- if (!diff.hasChanges) return __mf_2(Alert, {
50
+ if (!diff.hasChanges) return __mf_2(__mf_0, {
51
51
  variant: "default",
52
- children: [__mf_1(AlertTitle, { children: "Up to Date" }), __mf_1(AlertDescription, { children: upToDateMessage })]
52
+ children: [__mf_1(__mf_2$1, { children: "Up to Date" }), __mf_1(__mf_1$1, { children: upToDateMessage })]
53
53
  });
54
54
  return __mf_2("div", {
55
55
  className: "overflow-hidden rounded-lg border",
@@ -105,7 +105,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
105
105
  value,
106
106
  canCreate
107
107
  ]);
108
- return __mf_1(ComboboxField, {
108
+ return __mf_1(__mf_57, {
109
109
  placeholder: "Select a feature",
110
110
  ...rest,
111
111
  inputValue: searchQuery,
@@ -116,7 +116,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
116
116
  });
117
117
  }
118
118
  function FeatureComboboxFieldController({ name, control, ...rest }) {
119
- const { field, fieldState: { error } } = useControllerMerged({
119
+ const { field, fieldState: { error } } = __mf_268({
120
120
  name,
121
121
  control
122
122
  }, rest);
@@ -154,7 +154,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
154
154
  value,
155
155
  canCreate
156
156
  ]);
157
- return __mf_1(ComboboxField, {
157
+ return __mf_1(__mf_57, {
158
158
  placeholder: "Select a model",
159
159
  ...rest,
160
160
  onInputValueChange: canCreate ? setSearchQuery : void 0,
@@ -163,7 +163,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
163
163
  });
164
164
  }
165
165
  function ModelComboboxFieldController({ name, control, ...rest }) {
166
- const { field, fieldState: { error } } = useControllerMerged({
166
+ const { field, fieldState: { error } } = __mf_268({
167
167
  name,
168
168
  control
169
169
  }, rest);
@@ -211,7 +211,7 @@ function useBlockBeforeContinue() {
211
211
  return requestBlocker;
212
212
  }
213
213
  function useBlockerDialog(options) {
214
- const id = __mf_27();
214
+ const id = __mf_27$1();
215
215
  const addBlocker = useBlockerDialogState((state) => state.addBlocker);
216
216
  const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);
217
217
  __mf_26(() => {
@@ -310,7 +310,7 @@ function useResettableForm(props) {
310
310
  __mf_26(() => {
311
311
  if (oldValues.current && !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
312
312
  reset(props?.defaultValues);
313
- if (isDirty && updatedExternally) toast.warning("Contents were updated externally so form was reset!");
313
+ if (isDirty && updatedExternally) __mf_263.warning("Contents were updated externally so form was reset!");
314
314
  }
315
315
  if (!oldValues.current || !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) oldValues.current = { oldDefaultValues: props?.defaultValues };
316
316
  }, [
@@ -386,12 +386,25 @@ var modelTransformerWebSpec = createFieldMapSpec("core/model-transformer-web", (
386
386
  getWebConfigs: () => [...values.transformers.values()]
387
387
  }) });
388
388
  //#endregion
389
+ //#region ../../packages/project-builder-lib/dist/web/specs/web-app-schema-extension-web-spec.js
390
+ function createWebAppSettingsWebConfig(config) {
391
+ return config;
392
+ }
393
+ /**
394
+ * Spec for registering plugin-contributed UI on the web app settings page.
395
+ *
396
+ * Keyed by plugin key; each entry supplies a React component rendered in the
397
+ * Features section, bound to the shared web app form. The schema counterpart is
398
+ * `webAppSchemaExtensionSpec`, which stores the values under `pluginData`.
399
+ */
400
+ var webAppSchemaExtensionWebSpec = createFieldMapSpec("core/web-app-schema-extension-web", (t) => ({ configs: t.map() }));
401
+ //#endregion
389
402
  //#region ../../packages/project-builder-lib/dist/web/utils/form.js
390
403
  function setUndefinedIfEmpty(value) {
391
404
  if (value === "") return void 0;
392
405
  return value;
393
406
  }
394
407
  //#endregion
395
- export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm };
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 };
396
409
 
397
- //# sourceMappingURL=web-BDeHApaZ.js.map
410
+ //# sourceMappingURL=web-jcCkQISW.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-BX1_Ngjt.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-CQuBII8a.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-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";
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-BC9MejP0.js.map
46
+ //# sourceMappingURL=web-wBaHshVG.js.map
@@ -15,8 +15,8 @@
15
15
  <meta charset="UTF-8" />
16
16
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
17
17
  <title>React Remote</title>
18
- <script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-4f84e81c.js"></script>
19
- <link rel="modulepreload" crossorigin href="./assets/hostInit-CDVLjNbq.js"><link rel="modulepreload" crossorigin href="./assets/index-CR54yoeW.js"><link rel="modulepreload" crossorigin href="./remoteEntry.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-Bd_uRhIr.js"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js"></head>
18
+ <script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-31a63adb.js"></script>
19
+ <link rel="modulepreload" crossorigin href="./assets/hostInit-BtfjN9sB.js"><link rel="modulepreload" crossorigin href="./assets/index-DVCa_MuH.js"><link rel="modulepreload" crossorigin href="./remoteEntry.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DxRuC5lD.js"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./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"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js"></head>
20
20
 
21
21
  <body>
22
22
  <div id="root"></div>
@@ -1,2 +1,2 @@
1
- import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-CtbvyMZJ.js";
1
+ import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bs76by83.js";
2
2
  export { getExposes as get, init };
@@ -3,7 +3,7 @@ import { init as init$1 } from "@module-federation/runtime";
3
3
  //#region virtual:mf-REMOTE_ENTRY_SSR_ID:__mfe_internal__plugin-auth__remoteEntry_js
4
4
  var exposesMapPromise;
5
5
  async function getExposesMap() {
6
- exposesMapPromise ??= __vitePreload(() => import("./assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-BVNjo6R7.js").then((mod) => mod.default ?? mod), [], import.meta.url);
6
+ exposesMapPromise ??= __vitePreload(() => import("./assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-B5SkIaaz.js").then((mod) => mod.default ?? mod), [], import.meta.url);
7
7
  return exposesMapPromise;
8
8
  }
9
9
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baseplate-dev/plugin-auth",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Contains the auth plugin for Baseplate",
5
5
  "keywords": [
6
6
  "authentication",
@@ -31,43 +31,43 @@
31
31
  "!dist/**/*.tsbuildinfo"
32
32
  ],
33
33
  "dependencies": {
34
- "@hookform/lenses": "0.8.1",
35
- "@hookform/resolvers": "5.2.2",
36
- "@tanstack/react-router": "1.159.5",
37
- "react": "19.1.0",
38
- "react-dom": "19.1.0",
39
- "react-hook-form": "7.71.1",
40
- "react-icons": "5.5.0",
34
+ "@hookform/lenses": "^0.8.1",
35
+ "@hookform/resolvers": "^5.2.2",
36
+ "@tanstack/react-router": "^1.159.5",
37
+ "react": "^19.1.0",
38
+ "react-dom": "^19.1.0",
39
+ "react-hook-form": "^7.71.1",
40
+ "react-icons": "^5.5.0",
41
41
  "zod": "^4.3.6",
42
- "@baseplate-dev/core-generators": "0.6.12",
43
- "@baseplate-dev/fastify-generators": "0.6.12",
44
- "@baseplate-dev/plugin-email": "0.6.12",
45
- "@baseplate-dev/plugin-queue": "0.6.12",
46
- "@baseplate-dev/plugin-rate-limit": "0.6.12",
47
- "@baseplate-dev/project-builder-lib": "0.6.12",
48
- "@baseplate-dev/react-generators": "0.6.12",
49
- "@baseplate-dev/sync": "0.6.12",
50
- "@baseplate-dev/ui-components": "0.6.12",
51
- "@baseplate-dev/utils": "0.6.12"
42
+ "@baseplate-dev/core-generators": "0.6.13",
43
+ "@baseplate-dev/fastify-generators": "0.6.13",
44
+ "@baseplate-dev/plugin-email": "0.6.13",
45
+ "@baseplate-dev/plugin-queue": "0.6.13",
46
+ "@baseplate-dev/plugin-rate-limit": "0.6.13",
47
+ "@baseplate-dev/project-builder-lib": "0.6.13",
48
+ "@baseplate-dev/react-generators": "0.6.13",
49
+ "@baseplate-dev/sync": "0.6.13",
50
+ "@baseplate-dev/ui-components": "0.6.13",
51
+ "@baseplate-dev/utils": "0.6.13"
52
52
  },
53
53
  "devDependencies": {
54
- "@module-federation/vite": "1.16.11",
54
+ "@module-federation/vite": "1.17.0",
55
55
  "@tailwindcss/vite": "4.3.1",
56
56
  "@types/node": "^24.12.0",
57
- "@types/react": "19.1.3",
58
- "@types/react-dom": "19.1.3",
57
+ "@types/react": "^19.1.3",
58
+ "@types/react-dom": "^19.1.3",
59
59
  "@vitejs/plugin-react": "6.0.3",
60
- "concurrently": "10.0.3",
60
+ "concurrently": "10.0.4",
61
61
  "cpx2": "8.0.0",
62
- "eslint": "9.39.2",
62
+ "eslint": "^9.39.2",
63
63
  "nodemon": "3.1.11",
64
64
  "oxlint": "1.67.0",
65
- "prettier": "3.8.1",
65
+ "prettier": "^3.8.1",
66
66
  "tailwindcss": "4.3.1",
67
- "typescript": "5.9.3",
67
+ "typescript": "6.0.3",
68
68
  "vite": "8.1.0",
69
69
  "vitest": "4.1.7",
70
- "@baseplate-dev/tools": "0.6.12"
70
+ "@baseplate-dev/tools": "0.6.13"
71
71
  },
72
72
  "engines": {
73
73
  "node": "^24.0.0"
@@ -1 +0,0 @@
1
- import "./get-auth-plugin-definition-DBdchbBZ.js";
@@ -1,119 +0,0 @@
1
- import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
2
- //#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__H_A_I__hostAutoInit__H_A_I__.js
3
- var __mfCacheGlobalKey = "__mf_module_cache__";
4
- globalThis[__mfCacheGlobalKey] ||= {
5
- share: {},
6
- remote: {}
7
- };
8
- globalThis[__mfCacheGlobalKey].share ||= {};
9
- globalThis[__mfCacheGlobalKey].remote ||= {};
10
- var __mfModuleCache = globalThis[__mfCacheGlobalKey];
11
- for (const __mfShareKey of Object.keys(__mfModuleCache.share)) if (__mfShareKey.startsWith("default:")) {
12
- const __mfLegacyShareKey = __mfShareKey.slice(8);
13
- if (__mfModuleCache.share[__mfLegacyShareKey] === void 0) __mfModuleCache.share[__mfLegacyShareKey] = __mfModuleCache.share[__mfShareKey];
14
- } else if (!__mfShareKey.includes(":")) {
15
- const __mfDefaultShareKey = "default:" + __mfShareKey;
16
- if (__mfModuleCache.share[__mfDefaultShareKey] === void 0) __mfModuleCache.share[__mfDefaultShareKey] = __mfModuleCache.share[__mfShareKey];
17
- }
18
- var hostInitPromise;
19
- async function initHost() {
20
- if (!hostInitPromise) hostInitPromise = (async () => {
21
- const runtime = await (await __vitePreload(() => import("../remoteEntry.js"), [], import.meta.url)).init();
22
- const usedShared = {
23
- "react": {
24
- version: "19.1.0",
25
- scope: "default",
26
- shareConfig: {
27
- singleton: true,
28
- requiredVersion: "^19.1.0",
29
- strictVersion: false
30
- }
31
- },
32
- "react-dom": {
33
- version: "19.1.0",
34
- scope: "default",
35
- shareConfig: {
36
- singleton: true,
37
- requiredVersion: "^19.1.0",
38
- strictVersion: false
39
- }
40
- },
41
- "zod": {
42
- version: "4.3.6",
43
- scope: "default",
44
- shareConfig: {
45
- singleton: true,
46
- requiredVersion: "^4.3.6",
47
- strictVersion: false
48
- }
49
- },
50
- "@baseplate-dev/ui-components": {
51
- version: "0.6.12",
52
- scope: "default",
53
- shareConfig: {
54
- singleton: true,
55
- requiredVersion: "^0.6.12",
56
- strictVersion: false
57
- }
58
- },
59
- "@baseplate-dev/project-builder-lib": {
60
- version: "0.6.12",
61
- scope: "default",
62
- shareConfig: {
63
- singleton: true,
64
- requiredVersion: "^0.6.12",
65
- strictVersion: false
66
- }
67
- },
68
- "@baseplate-dev/project-builder-lib/web": {
69
- version: "0.6.12",
70
- scope: "default",
71
- shareConfig: {
72
- singleton: true,
73
- requiredVersion: "^0.6.12",
74
- strictVersion: false
75
- }
76
- },
77
- "@tanstack/react-router": {
78
- version: "1.159.5",
79
- scope: "default",
80
- shareConfig: {
81
- singleton: true,
82
- requiredVersion: "^1.159.5",
83
- strictVersion: false
84
- }
85
- }
86
- };
87
- const __mfGetSharedCacheKey = (pkg, singleton, version, scope) => {
88
- const prefix = ((Array.isArray(scope) ? scope[0] : scope) || "default") + ":";
89
- return singleton || !version ? prefix + pkg : prefix + pkg + "@" + version;
90
- };
91
- const __mfNormalizeRuntimeShare = (mod) => {
92
- let current = mod;
93
- for (let i = 0; i < 5; i++) {
94
- const defaultExport = current?.default;
95
- if (!defaultExport || typeof defaultExport !== "object" || Object.keys(defaultExport).length === 0) break;
96
- const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
97
- if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
98
- current = defaultExport;
99
- }
100
- return current;
101
- };
102
- for (const [pkg, share] of Object.entries(usedShared)) {
103
- const cacheKey = __mfGetSharedCacheKey(pkg, share.shareConfig?.singleton, share.version, share.scope);
104
- if (__mfModuleCache.share[cacheKey] !== void 0) continue;
105
- await runtime.loadShare(pkg, { customShareInfo: { shareConfig: share.shareConfig } }).then((factory) => {
106
- const mod = typeof factory === "function" ? factory() : factory;
107
- return Promise.resolve(mod).then((resolved) => {
108
- __mfModuleCache.share[cacheKey] = __mfNormalizeRuntimeShare(resolved);
109
- });
110
- });
111
- }
112
- await Promise.all([]);
113
- return runtime;
114
- })();
115
- return hostInitPromise;
116
- }
117
- hostInitPromise = initHost();
118
- //#endregion
119
- export { hostInitPromise, initHost };