@baseplate-dev/plugin-auth 0.6.17 → 0.6.18

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 (197) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
  11. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +6 -0
  12. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +36 -0
  13. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +6 -0
  14. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +60 -0
  15. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +12 -0
  16. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +6 -0
  17. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +6 -0
  18. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +6 -0
  19. package/dist/local-auth/admin/common.js +6 -0
  20. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +531 -0
  21. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.js +119 -0
  22. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +540 -0
  23. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.js +11 -0
  24. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.d.ts +12 -0
  25. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.js +24 -0
  26. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +276 -0
  27. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.js +45 -0
  28. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +263 -0
  29. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.js +21 -0
  30. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.d.ts +2 -0
  31. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.js +2 -0
  32. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.d.ts +21 -0
  33. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +69 -0
  34. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +122 -0
  35. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
  36. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
  37. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
  38. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
  39. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
  40. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
  41. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
  42. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
  43. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
  44. package/dist/local-auth/admin/node.js +13 -0
  45. package/dist/local-auth/admin/schema/invite-user-action.d.ts +12 -0
  46. package/dist/local-auth/admin/schema/invite-user-action.js +6 -0
  47. package/dist/local-auth/admin/web.js +8 -0
  48. package/dist/local-auth/core/common.js +7 -2
  49. package/dist/local-auth/core/components/local-auth-definition-editor.js +2 -1
  50. package/dist/local-auth/core/components/local-auth-web-app-settings-form.d.ts +9 -0
  51. package/dist/local-auth/core/components/local-auth-web-app-settings-form.js +11 -0
  52. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +6 -0
  53. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +66 -6
  54. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +188 -0
  55. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
  56. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
  57. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +18 -0
  58. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +66 -0
  59. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +192 -0
  60. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +82 -1
  61. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.d.ts +19 -0
  62. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.js +20 -0
  63. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.ts +22 -0
  64. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +12 -0
  65. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +12 -0
  66. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +14 -0
  67. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.d.ts +2 -0
  68. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.js +30 -0
  69. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.ts +38 -0
  70. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.d.ts +2 -0
  71. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.js +42 -0
  72. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.ts +54 -0
  73. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -19
  74. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +1 -22
  75. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.d.ts +37 -0
  76. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.js +225 -0
  77. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.ts +333 -0
  78. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.d.ts +39 -0
  79. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.js +138 -0
  80. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +209 -0
  81. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +3 -3
  82. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +3 -2
  83. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +3 -1
  84. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +18 -3
  85. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +40 -0
  86. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +2 -0
  87. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +2 -0
  88. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +6 -0
  89. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +20 -0
  90. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +40 -0
  91. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +24 -0
  92. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.d.ts +3 -0
  93. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.js +18 -0
  94. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.tsx +57 -0
  95. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.d.ts +3 -0
  96. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.js +14 -0
  97. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.tsx +47 -0
  98. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +4 -0
  99. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +5 -1
  100. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +20 -0
  101. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -0
  102. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -0
  103. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +3 -0
  104. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +13 -0
  105. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -0
  106. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -0
  107. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +17 -0
  108. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +20 -0
  109. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +4 -0
  110. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +1 -1
  111. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +1 -1
  112. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +66 -0
  113. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +134 -0
  114. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +184 -0
  115. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +8 -0
  116. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +38 -5
  117. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +840 -268
  118. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +3 -0
  119. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +3 -0
  120. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +18 -0
  121. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +51 -0
  122. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +608 -283
  123. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +69 -23
  124. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.d.ts +9 -0
  125. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.js +10 -0
  126. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.ts +11 -0
  127. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.d.ts +7 -0
  128. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +148 -0
  129. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +264 -0
  130. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.d.ts +7 -0
  131. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.js +184 -0
  132. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +311 -0
  133. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
  134. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +2 -9
  135. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +12 -0
  136. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +6 -0
  137. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +12 -0
  138. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +6 -0
  139. package/dist/local-auth/core/node.js +24 -6
  140. package/dist/local-auth/core/schema/migrations.d.ts +3 -0
  141. package/dist/local-auth/core/schema/migrations.js +36 -0
  142. package/dist/local-auth/core/schema/models.js +8 -0
  143. package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
  144. package/dist/local-auth/core/schema/plugin-definition.js +1 -0
  145. package/dist/local-auth/core/schema/web-app-schema.d.ts +15 -0
  146. package/dist/local-auth/core/schema/web-app-schema.js +16 -0
  147. package/dist/local-auth/core/web.js +8 -1
  148. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-CKKmnLep.js} +42 -34
  149. package/dist/web/assets/{dist-DY7ZXvq4.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js} +16717 -373
  150. 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-37vlYRxk.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-D3Nvasea.js} +90 -38
  151. 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-DRSNXPPo.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-C2GDE8Py.js} +1645 -921
  152. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.js} +212 -57
  153. package/dist/web/assets/auth-CsHp2bQi.js +1 -0
  154. package/dist/web/assets/common-BGTuTgx7.js +43 -0
  155. package/dist/web/assets/common-C8_sC5pp.js +70 -0
  156. package/dist/web/assets/{common-ByxS61u8.js → common-Co5lW_TK.js} +10 -10
  157. package/dist/web/assets/{common-iHaemino.js → common-CoLuMS7U.js} +6 -6
  158. package/dist/web/assets/common-Dueu_1NG.js +36 -0
  159. package/dist/web/assets/{common-TDf_PrjX.js → common-N3skPbzk.js} +10 -10
  160. package/dist/web/assets/{dist-CrLSslv6.js → dist-DQd1TAJX.js} +273 -132
  161. package/dist/web/assets/{get-auth-plugin-definition-kDCtXq_6.js → get-auth-plugin-definition-DyokUVjX.js} +3 -3
  162. package/dist/web/assets/{hostInit-Cruek6c6.js → hostInit-BCYmw0H5.js} +32 -5
  163. package/dist/web/assets/{mf-entry-bootstrap-0-dfed0275.js → mf-entry-bootstrap-0-3ede9334.js} +2 -1
  164. package/dist/web/assets/{mf-entry-bootstrap-1-5275674a.js → mf-entry-bootstrap-1-3da85eea.js} +3 -2
  165. package/dist/web/assets/{mf-entry-bootstrap-2-39fb9255.js → mf-entry-bootstrap-2-32e24e11.js} +3 -2
  166. package/dist/web/assets/{mf-entry-bootstrap-3-49e64336.js → mf-entry-bootstrap-3-a3cfea9d.js} +3 -2
  167. package/dist/web/assets/{models-DSvs_3bA.js → models-BcPOQC5p.js} +4 -5
  168. package/dist/web/assets/{models-BZmCbizK.js → models-BcUgOGGn.js} +11 -6
  169. package/dist/web/assets/{plugin-definition-CYj29S3q.js → plugin-definition-D1EImXIf.js} +9 -10
  170. package/dist/web/assets/plugin-definition-lw-gB4hU.js +10 -0
  171. package/dist/web/assets/{styles-yjbHBTlw.js → styles-EOyEbGA4.js} +9 -10
  172. package/dist/web/assets/{virtualExposes-CbPBmicF.js → virtualExposes-DWORnjyA.js} +1 -1
  173. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-t-KnBiUh.js +747 -0
  174. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DZfE3QCR.js} +13 -13
  175. package/dist/web/assets/{web-VqBA3jxZ.js → web-CBVepebK.js} +22 -22
  176. package/dist/web/assets/{web-D0MSKfyv.js → web-Dgb85jhs.js} +47 -47
  177. package/dist/web/assets/{web-CXAHKjIY.js → web-EDeSquSP.js} +28 -28
  178. package/dist/web/assets/{web-1eTcxMhf.js → web-PqAcfBSy.js} +9 -9
  179. package/dist/web/assets/{web-CDAKPPK9.js → web-RhChfBw_.js} +21 -21
  180. package/dist/web/assets/web-kaD9AzNS.js +59 -0
  181. package/dist/web/assets/web-xJ-GnSkC.js +148 -0
  182. package/dist/web/index.html +5 -5
  183. package/dist/web/remoteEntry.js +1 -1
  184. package/package.json +14 -14
  185. 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-CO5Pvo0y.js +0 -384
  186. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js +0 -13566
  187. package/dist/web/assets/auth-BxAE0rgh.js +0 -1
  188. package/dist/web/assets/common-CKl_XlvH.js +0 -37
  189. package/dist/web/assets/common-UpVCKZeW.js +0 -41
  190. package/dist/web/assets/common-crSwCD36.js +0 -37
  191. package/dist/web/assets/model-utils-C0WDb_Ec.js +0 -1599
  192. package/dist/web/assets/plugin-definition-DOMmPL2Z.js +0 -11
  193. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js +0 -259
  194. package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js +0 -129
  195. package/dist/web/assets/web-DbeAaDTV.js +0 -118
  196. package/dist/web/assets/web-miDovYk_.js +0 -46
  197. package/dist/web/remoteEntry.ssr.js +0 -43
@@ -1,7 +1,7 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
2
- import { $ as __mf_2$3, J as __mf_2$4, Q as __mf_1$2, X as require_with_selector, Z as __mf_0$2, _t as __mf_38$2, at as __mf_19$2, ct as __mf_22$2, dt as __mf_28$2, gt as __mf_37$2, ht as __mf_34$2, it as __mf_16$2, lt as __mf_24$2, mt as __mf_33$2, nt as __mf_13$2, ot as __mf_2$2, pt as __mf_31$2, rt as __mf_14$2, st as __mf_20$2, tt as __mfDefaultExport$1, ut as __mf_25$2, vt as __mf_7$2, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
2
+ import { Q as __mf_2$3, X as __mf_0$2, Y as require_with_selector, Z as __mf_1$2, _t as __mf_7$2, at as __mf_2$2, ct as __mf_24$2, et as __mfDefaultExport$1, ft as __mf_31$2, gt as __mf_38$2, ht as __mf_37$2, it as __mf_19$2, lt as __mf_25$2, mt as __mf_34$2, nt as __mf_14$2, ot as __mf_20$2, pt as __mf_33$2, q as __mf_2$4, rt as __mf_16$2, st as __mf_22$2, tt as __mf_13$2, ut as __mf_28$2, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-C2GDE8Py.js";
3
3
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/utils.js
4
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5
5
  /**
6
6
  * React.use if available (React 19+), undefined otherwise.
7
7
  * Use dynamic lookup to avoid Webpack compilation errors with React 18.
@@ -4482,7 +4482,7 @@ function createSerializationAdapter(opts) {
4482
4482
  }
4483
4483
  //#endregion
4484
4484
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/awaited.js
4485
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4485
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4486
4486
  /** Suspend until a deferred promise resolves or rejects and return its data. */
4487
4487
  function useAwaited({ promise: _promise }) {
4488
4488
  if (reactUse) return reactUse(_promise);
@@ -4509,7 +4509,7 @@ function AwaitInner(props) {
4509
4509
  }
4510
4510
  //#endregion
4511
4511
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/CatchBoundary.js
4512
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4512
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4513
4513
  function CatchBoundary(props) {
4514
4514
  const errorComponent = props.errorComponent ?? ErrorComponent;
4515
4515
  return /* @__PURE__ */ __mf_1$2(CatchBoundaryImpl, {
@@ -4602,7 +4602,7 @@ function ErrorComponent({ error }) {
4602
4602
  }
4603
4603
  //#endregion
4604
4604
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/ClientOnly.js
4605
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4605
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4606
4606
  /**
4607
4607
  * Render the children only after the JS has loaded client-side. Use an optional
4608
4608
  * fallback component if the JS is not yet loaded.
@@ -4650,11 +4650,11 @@ function subscribe() {
4650
4650
  }
4651
4651
  //#endregion
4652
4652
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/routerContext.js
4653
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4653
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4654
4654
  var routerContext = __mf_13$2(null);
4655
4655
  //#endregion
4656
4656
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useRouter.js
4657
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4657
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4658
4658
  /**
4659
4659
  * Access the current TanStack Router instance from React context.
4660
4660
  * Must be used within a `RouterProvider`.
@@ -4670,7 +4670,7 @@ function useRouter(opts) {
4670
4670
  }
4671
4671
  //#endregion
4672
4672
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/matchContext.js
4673
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4673
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
4674
4674
  var matchContext = __mf_13$2(void 0);
4675
4675
  var dummyMatchContext = __mf_13$2(void 0);
4676
4676
  //#endregion
@@ -5022,7 +5022,7 @@ function effect(fn) {
5022
5022
  }
5023
5023
  //#endregion
5024
5024
  //#region ../../node_modules/.pnpm/@tanstack+react-store@0.9.3_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-store/dist/esm/useStore.js
5025
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5025
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5026
5026
  var import_with_selector = require_with_selector();
5027
5027
  function defaultCompare(a, b) {
5028
5028
  return a === b;
@@ -5038,7 +5038,7 @@ function useStore(atom, selector, compare = defaultCompare) {
5038
5038
  }
5039
5039
  //#endregion
5040
5040
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useMatch.js
5041
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5041
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5042
5042
  var dummyStore = {
5043
5043
  get() {},
5044
5044
  subscribe() {
@@ -5164,7 +5164,7 @@ function useSearch(opts) {
5164
5164
  }
5165
5165
  //#endregion
5166
5166
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useNavigate.js
5167
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5167
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5168
5168
  /**
5169
5169
  * Imperative navigation hook.
5170
5170
  *
@@ -5223,7 +5223,7 @@ function useRouteContext(opts) {
5223
5223
  }
5224
5224
  //#endregion
5225
5225
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/link.js
5226
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5226
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5227
5227
  /**
5228
5228
  * Build anchor-like props for declarative navigation and preloading.
5229
5229
  *
@@ -5549,7 +5549,7 @@ var linkOptions = (options) => {
5549
5549
  };
5550
5550
  //#endregion
5551
5551
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/route.js
5552
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5552
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5553
5553
  /**
5554
5554
  * Returns a route-specific API that exposes type-safe hooks pre-bound
5555
5555
  * to a single route ID. Useful for consuming a route's APIs from files
@@ -5923,7 +5923,7 @@ function createLazyFileRoute(id) {
5923
5923
  }
5924
5924
  //#endregion
5925
5925
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/lazyRouteComponent.js
5926
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5926
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5927
5927
  /**
5928
5928
  * Wrap a dynamic import to create a route component that supports
5929
5929
  * `.preload()` and friendly reload-on-module-missing behavior.
@@ -5971,7 +5971,7 @@ function lazyRouteComponent(importer, exportName) {
5971
5971
  }
5972
5972
  //#endregion
5973
5973
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/not-found.js
5974
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5974
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
5975
5975
  function CatchNotFound(props) {
5976
5976
  const router = useRouter();
5977
5977
  const resetKey = `not-found-${useStore(router.stores.location, (location) => location.pathname)}-${useStore(router.stores.status, (status) => status)}`;
@@ -6002,13 +6002,13 @@ function ScriptOnce({ children }) {
6002
6002
  }
6003
6003
  //#endregion
6004
6004
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/SafeFragment.js
6005
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6005
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6006
6006
  function SafeFragment(props) {
6007
6007
  return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: props.children });
6008
6008
  }
6009
6009
  //#endregion
6010
6010
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/renderRouteNotFound.js
6011
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6011
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6012
6012
  /**
6013
6013
  * Renders a not found component for a route when no matching route is found.
6014
6014
  *
@@ -6026,7 +6026,7 @@ function renderRouteNotFound(router, route, data) {
6026
6026
  }
6027
6027
  //#endregion
6028
6028
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Match.js
6029
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6029
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6030
6030
  var matchViewFieldsEqual = (a, b) => a.routeId === b.routeId && a._displayPending === b._displayPending;
6031
6031
  var outletMatchSelectionEqual = (a, b) => a[0] === b[0] && a[1] === b[1];
6032
6032
  var Match = __mf_19$2(function MatchImpl({ matchId }) {
@@ -6208,7 +6208,7 @@ var Outlet = __mf_19$2(function OutletImpl() {
6208
6208
  });
6209
6209
  //#endregion
6210
6210
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Transitioner.js
6211
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6211
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6212
6212
  function Transitioner() {
6213
6213
  const router = useRouter();
6214
6214
  const mountLoadForRouter = __mf_37$2({
@@ -6304,7 +6304,7 @@ function Transitioner() {
6304
6304
  }
6305
6305
  //#endregion
6306
6306
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Matches.js
6307
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6307
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6308
6308
  /**
6309
6309
  * Internal component that renders the router's active match tree with
6310
6310
  * suspense, error, and not-found boundaries. Rendered by `RouterProvider`.
@@ -6446,7 +6446,7 @@ var Router = class extends RouterCore {
6446
6446
  };
6447
6447
  //#endregion
6448
6448
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/RouterProvider.js
6449
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6449
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6450
6450
  /**
6451
6451
  * Low-level provider that places the router into React context and optionally
6452
6452
  * updates router options from props. Most apps should use `RouterProvider`.
@@ -6501,7 +6501,7 @@ function useElementScrollRestoration(options) {
6501
6501
  }
6502
6502
  //#endregion
6503
6503
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useBlocker.js
6504
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6504
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6505
6505
  function _resolveBlockerOpts(opts, condition) {
6506
6506
  if (opts === void 0) return {
6507
6507
  shouldBlockFn: () => true,
@@ -6670,7 +6670,7 @@ function useCanGoBack() {
6670
6670
  }
6671
6671
  //#endregion
6672
6672
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Asset.js
6673
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6673
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6674
6674
  var INLINE_CSS_HYDRATION_ATTR = "data-tsr-inline-css";
6675
6675
  function setScriptAttrs(script, attrs) {
6676
6676
  if (!attrs) return;
@@ -6789,7 +6789,7 @@ function Script({ attrs, children, preventScriptHoist }) {
6789
6789
  }
6790
6790
  //#endregion
6791
6791
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/headContentUtils.js
6792
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6792
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6793
6793
  /**
6794
6794
  * Build the list of head/link/meta/script tags to render for active matches.
6795
6795
  * Used internally by `HeadContent`.
@@ -6934,7 +6934,7 @@ var useTags = (assetCrossOrigin) => {
6934
6934
  };
6935
6935
  //#endregion
6936
6936
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/HeadContent.js
6937
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6937
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6938
6938
  /**
6939
6939
  * Render route-managed head tags (title, meta, links, styles, head scripts).
6940
6940
  * Place inside the document head of your app shell.
@@ -6951,7 +6951,7 @@ function HeadContent(props) {
6951
6951
  }
6952
6952
  //#endregion
6953
6953
  //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Scripts.js
6954
- init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6954
+ init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
6955
6955
  /**
6956
6956
  * Render body script tags collected from route matches and SSR manifests.
6957
6957
  * Should be placed near the end of the document body.
@@ -7102,8 +7102,8 @@ var esm_exports = /* @__PURE__ */ __exportAll({
7102
7102
  useTags: () => useTags
7103
7103
  });
7104
7104
  //#endregion
7105
- //#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild__.js
7106
- var _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports = /* @__PURE__ */ __exportAll({
7105
+ //#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild__.js
7106
+ var _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports = /* @__PURE__ */ __exportAll({
7107
7107
  Asset: () => __mf_0$1,
7108
7108
  Await: () => __mf_1$1,
7109
7109
  Block: () => __mf_2$1,
@@ -7153,7 +7153,7 @@ var _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_
7153
7153
  createRouterConfig: () => __mf_46$1,
7154
7154
  createSerializationAdapter: () => __mf_47$1,
7155
7155
  deepEqual: () => __mf_48$1,
7156
- default: () => _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default,
7156
+ default: () => _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default,
7157
7157
  defaultParseSearch: () => __mf_49$1,
7158
7158
  defaultStringifySearch: () => __mf_50$1,
7159
7159
  defer: () => __mf_51$1,
@@ -7307,9 +7307,9 @@ var __mf_96$1 = __mfPrebuildExports["useRouter"];
7307
7307
  var __mf_97$1 = __mfPrebuildExports["useRouterState"];
7308
7308
  var __mf_98$1 = __mfPrebuildExports["useSearch"];
7309
7309
  var __mf_99$1 = __mfPrebuildExports["useTags"];
7310
- var _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default = Reflect.get(esm_exports, "default") ?? esm_exports;
7310
+ var _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default = Reflect.get(esm_exports, "default") ?? esm_exports;
7311
7311
  //#endregion
7312
- //#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js
7312
+ //#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js
7313
7313
  var __mfCacheGlobalKey = "__mf_module_cache__";
7314
7314
  globalThis[__mfCacheGlobalKey] ||= {
7315
7315
  share: {},
@@ -7330,6 +7330,7 @@ var __mfReadSharedCache = (cache, descriptor) => {
7330
7330
  if (value !== void 0) return value;
7331
7331
  const aliases = descriptor.aliases || [];
7332
7332
  for (const alias of aliases) {
7333
+ if (!Object.prototype.hasOwnProperty.call(cache, alias)) continue;
7333
7334
  const aliasValue = cache[alias];
7334
7335
  if (aliasValue !== void 0) {
7335
7336
  cache[descriptor.canonical] = aliasValue;
@@ -7337,45 +7338,199 @@ var __mfReadSharedCache = (cache, descriptor) => {
7337
7338
  }
7338
7339
  }
7339
7340
  };
7340
- var __mfWriteSharedCache = (cache, descriptor, value) => {
7341
+ var __mfSharedCacheListenersKey = Symbol.for("module-federation.shared-cache-listeners");
7342
+ var __mfGetSharedCacheListeners = (cache) => {
7343
+ let listeners = cache[__mfSharedCacheListenersKey];
7344
+ if (listeners === void 0) {
7345
+ listeners = Object.create(null);
7346
+ Object.defineProperty(cache, __mfSharedCacheListenersKey, {
7347
+ value: listeners,
7348
+ enumerable: false,
7349
+ configurable: false,
7350
+ writable: false
7351
+ });
7352
+ }
7353
+ return listeners;
7354
+ };
7355
+ var __mfSubscribeSharedCache = (cache, descriptor, listener) => {
7356
+ const listeners = __mfGetSharedCacheListeners(cache);
7357
+ (listeners[descriptor.canonical] ||= /* @__PURE__ */ new Set()).add(listener);
7358
+ };
7359
+ var __mfSharedCacheOwnersKey = Symbol.for("module-federation.shared-cache-owners");
7360
+ var __mfGetSharedCacheOwners = (cache) => {
7361
+ let owners = cache[__mfSharedCacheOwnersKey];
7362
+ if (owners === void 0) {
7363
+ owners = Object.create(null);
7364
+ Object.defineProperty(cache, __mfSharedCacheOwnersKey, {
7365
+ value: owners,
7366
+ enumerable: false,
7367
+ configurable: false,
7368
+ writable: false
7369
+ });
7370
+ }
7371
+ return owners;
7372
+ };
7373
+ var __mfWriteSharedCache = (cache, descriptor, value, owner) => {
7341
7374
  cache[descriptor.canonical] = value;
7342
7375
  const aliases = descriptor.aliases || [];
7343
- for (const alias of aliases) if (cache[alias] === void 0) cache[alias] = value;
7376
+ for (const alias of aliases) Object.defineProperty(cache, alias, {
7377
+ value,
7378
+ enumerable: true,
7379
+ configurable: true,
7380
+ writable: true
7381
+ });
7382
+ const owners = cache[__mfSharedCacheOwnersKey];
7383
+ if (owner === void 0) {
7384
+ if (owners) delete owners[descriptor.canonical];
7385
+ } else __mfGetSharedCacheOwners(cache)[descriptor.canonical] = owner;
7386
+ const listeners = cache[__mfSharedCacheListenersKey]?.[descriptor.canonical];
7387
+ if (listeners) for (const listener of listeners) listener(value);
7344
7388
  return value;
7345
7389
  };
7346
7390
  var __mfNormalizeShareModule = (mod) => {
7347
- let current = mod;
7348
- for (let i = 0; i < 5; i++) {
7349
- const defaultExport = current?.default;
7350
- if (!defaultExport || typeof defaultExport !== "object") break;
7351
- const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
7352
- if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
7353
- current = defaultExport;
7354
- }
7355
- return current;
7391
+ const normalized = (() => {
7392
+ let current = mod;
7393
+ for (let i = 0; i < 5; i++) {
7394
+ const defaultExport = current?.default;
7395
+ if (!defaultExport || typeof defaultExport !== "object") break;
7396
+ const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
7397
+ if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
7398
+ current = defaultExport;
7399
+ }
7400
+ return current;
7401
+ })();
7402
+ return normalized && Object.getPrototypeOf(normalized) === null ? Object.assign({}, normalized) : normalized;
7356
7403
  };
7357
7404
  var exportModule = __mfReadSharedCache(__mfModuleCache.share, {
7358
7405
  "canonical": "default:@tanstack/react-router",
7359
7406
  "aliases": ["@tanstack/react-router"]
7360
7407
  });
7361
7408
  if (exportModule === void 0) {
7362
- exportModule = __mfNormalizeShareModule(_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports);
7409
+ exportModule = __mfNormalizeShareModule(_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports);
7363
7410
  __mfWriteSharedCache(__mfModuleCache.share, {
7364
7411
  "canonical": "default:@tanstack/react-router",
7365
7412
  "aliases": ["@tanstack/react-router"]
7366
- }, exportModule);
7367
- }
7368
- (() => {
7369
- let current = exportModule;
7370
- for (let i = 0; i < 5; i++) {
7371
- const defaultExport = current?.default;
7372
- if (!defaultExport || typeof defaultExport !== "object") return defaultExport ?? current;
7373
- current = defaultExport;
7374
- }
7375
- return current;
7376
- })();
7377
- var { Asset: __mf_0, Await: __mf_1, Block: __mf_2, CatchBoundary: __mf_3, CatchNotFound: __mf_4, ClientOnly: __mf_5, DEFAULT_PROTOCOL_ALLOWLIST: __mf_6, DefaultGlobalNotFound: __mf_7, ErrorComponent: __mf_8, FileRoute: __mf_9, FileRouteLoader: __mf_10, HeadContent: __mf_11, LazyRoute: __mf_12, Link: __mf_13, Match: __mf_14, MatchRoute: __mf_15, Matches: __mf_16, Navigate: __mf_17, NotFoundRoute: __mf_18, Outlet: __mf_19, RootRoute: __mf_20, Route: __mf_21, RouteApi: __mf_22, Router: __mf_23, RouterContextProvider: __mf_24, RouterProvider: __mf_25, ScriptOnce: __mf_26, Scripts: __mf_27, ScrollRestoration: __mf_28, SearchParamError: __mf_29, cleanPath: __mf_30, composeRewrites: __mf_31, createBrowserHistory: __mf_32, createControlledPromise: __mf_33, createFileRoute: __mf_34, createHashHistory: __mf_35, createHistory: __mf_36, createLazyFileRoute: __mf_37, createLazyRoute: __mf_38, createLink: __mf_39, createMemoryHistory: __mf_40, createRootRoute: __mf_41, createRootRouteWithContext: __mf_42, createRoute: __mf_43, createRouteMask: __mf_44, createRouter: __mf_45, createRouterConfig: __mf_46, createSerializationAdapter: __mf_47, deepEqual: __mf_48, defaultParseSearch: __mf_49, defaultStringifySearch: __mf_50, defer: __mf_51, functionalUpdate: __mf_52, getRouteApi: __mf_53, interpolatePath: __mf_54, isMatch: __mf_55, isNotFound: __mf_56, isPlainArray: __mf_57, isPlainObject: __mf_58, isRedirect: __mf_59, joinPaths: __mf_60, lazyFn: __mf_61, lazyRouteComponent: __mf_62, linkOptions: __mf_63, notFound: __mf_64, parseSearchWith: __mf_65, reactUse: __mf_66, redirect: __mf_67, replaceEqualDeep: __mf_68, resolvePath: __mf_69, retainSearchParams: __mf_70, rootRouteId: __mf_71, rootRouteWithContext: __mf_72, stringifySearchWith: __mf_73, stripSearchParams: __mf_74, trimPath: __mf_75, trimPathLeft: __mf_76, trimPathRight: __mf_77, useAwaited: __mf_78, useBlocker: __mf_79, useCanGoBack: __mf_80, useChildMatches: __mf_81, useElementScrollRestoration: __mf_82, useHydrated: __mf_83, useLayoutEffect: __mf_84, useLinkProps: __mf_85, useLoaderData: __mf_86, useLoaderDeps: __mf_87, useLocation: __mf_88, useMatch: __mf_89, useMatchRoute: __mf_90, useMatches: __mf_91, useNavigate: __mf_92, useParams: __mf_93, useParentMatches: __mf_94, useRouteContext: __mf_95, useRouter: __mf_96, useRouterState: __mf_97, useSearch: __mf_98, useTags: __mf_99 } = exportModule;
7413
+ }, exportModule, "plugin-auth");
7414
+ }
7415
+ var __mf_13;
7416
+ var __mf_92;
7417
+ var __mfApplySharedExports = (mod) => {
7418
+ mod["Asset"];
7419
+ mod["Await"];
7420
+ mod["Block"];
7421
+ mod["CatchBoundary"];
7422
+ mod["CatchNotFound"];
7423
+ mod["ClientOnly"];
7424
+ mod["DEFAULT_PROTOCOL_ALLOWLIST"];
7425
+ mod["DefaultGlobalNotFound"];
7426
+ mod["ErrorComponent"];
7427
+ mod["FileRoute"];
7428
+ mod["FileRouteLoader"];
7429
+ mod["HeadContent"];
7430
+ mod["LazyRoute"];
7431
+ __mf_13 = mod["Link"];
7432
+ mod["Match"];
7433
+ mod["MatchRoute"];
7434
+ mod["Matches"];
7435
+ mod["Navigate"];
7436
+ mod["NotFoundRoute"];
7437
+ mod["Outlet"];
7438
+ mod["RootRoute"];
7439
+ mod["Route"];
7440
+ mod["RouteApi"];
7441
+ mod["Router"];
7442
+ mod["RouterContextProvider"];
7443
+ mod["RouterProvider"];
7444
+ mod["ScriptOnce"];
7445
+ mod["Scripts"];
7446
+ mod["ScrollRestoration"];
7447
+ mod["SearchParamError"];
7448
+ mod["cleanPath"];
7449
+ mod["composeRewrites"];
7450
+ mod["createBrowserHistory"];
7451
+ mod["createControlledPromise"];
7452
+ mod["createFileRoute"];
7453
+ mod["createHashHistory"];
7454
+ mod["createHistory"];
7455
+ mod["createLazyFileRoute"];
7456
+ mod["createLazyRoute"];
7457
+ mod["createLink"];
7458
+ mod["createMemoryHistory"];
7459
+ mod["createRootRoute"];
7460
+ mod["createRootRouteWithContext"];
7461
+ mod["createRoute"];
7462
+ mod["createRouteMask"];
7463
+ mod["createRouter"];
7464
+ mod["createRouterConfig"];
7465
+ mod["createSerializationAdapter"];
7466
+ mod["deepEqual"];
7467
+ mod["defaultParseSearch"];
7468
+ mod["defaultStringifySearch"];
7469
+ mod["defer"];
7470
+ mod["functionalUpdate"];
7471
+ mod["getRouteApi"];
7472
+ mod["interpolatePath"];
7473
+ mod["isMatch"];
7474
+ mod["isNotFound"];
7475
+ mod["isPlainArray"];
7476
+ mod["isPlainObject"];
7477
+ mod["isRedirect"];
7478
+ mod["joinPaths"];
7479
+ mod["lazyFn"];
7480
+ mod["lazyRouteComponent"];
7481
+ mod["linkOptions"];
7482
+ mod["notFound"];
7483
+ mod["parseSearchWith"];
7484
+ mod["reactUse"];
7485
+ mod["redirect"];
7486
+ mod["replaceEqualDeep"];
7487
+ mod["resolvePath"];
7488
+ mod["retainSearchParams"];
7489
+ mod["rootRouteId"];
7490
+ mod["rootRouteWithContext"];
7491
+ mod["stringifySearchWith"];
7492
+ mod["stripSearchParams"];
7493
+ mod["trimPath"];
7494
+ mod["trimPathLeft"];
7495
+ mod["trimPathRight"];
7496
+ mod["useAwaited"];
7497
+ mod["useBlocker"];
7498
+ mod["useCanGoBack"];
7499
+ mod["useChildMatches"];
7500
+ mod["useElementScrollRestoration"];
7501
+ mod["useHydrated"];
7502
+ mod["useLayoutEffect"];
7503
+ mod["useLinkProps"];
7504
+ mod["useLoaderData"];
7505
+ mod["useLoaderDeps"];
7506
+ mod["useLocation"];
7507
+ mod["useMatch"];
7508
+ mod["useMatchRoute"];
7509
+ mod["useMatches"];
7510
+ __mf_92 = mod["useNavigate"];
7511
+ mod["useParams"];
7512
+ mod["useParentMatches"];
7513
+ mod["useRouteContext"];
7514
+ mod["useRouter"];
7515
+ mod["useRouterState"];
7516
+ mod["useSearch"];
7517
+ mod["useTags"];
7518
+ (() => {
7519
+ let current = mod;
7520
+ for (let i = 0; i < 5; i++) {
7521
+ const defaultExport = current?.default;
7522
+ if (!defaultExport || typeof defaultExport !== "object") return defaultExport ?? current;
7523
+ current = defaultExport;
7524
+ }
7525
+ return current;
7526
+ })();
7527
+ };
7528
+ __mfSubscribeSharedCache(__mfModuleCache.share, {
7529
+ "canonical": "default:@tanstack/react-router",
7530
+ "aliases": ["@tanstack/react-router"]
7531
+ }, __mfApplySharedExports);
7532
+ __mfApplySharedExports(exportModule);
7378
7533
  //#endregion
7379
- export { __mf_92 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_13 as t };
7534
+ export { __mf_92 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_13 as t };
7380
7535
 
7381
- //# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js.map
7536
+ //# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.js.map
@@ -0,0 +1 @@
1
+ import "./get-auth-plugin-definition-DyokUVjX.js";
@@ -0,0 +1,43 @@
1
+ import { M as __mf_0, a as __mf_119, i as __mf_114, n as __mf_111, o as __mf_120, r as __mf_112, t as __mf_106, u as __mf_155, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ //#region src/local-auth/admin/schema/invite-user-action.ts
3
+ var createAdminCrudInviteUserActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("invite-user") }));
4
+ //#endregion
5
+ //#region src/local-auth/admin/schema/manage-role-action.ts
6
+ var createAdminCrudManageRolesActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("manage-roles") }));
7
+ //#endregion
8
+ //#region src/local-auth/admin/schema/reset-password-action.ts
9
+ var createAdminCrudResetPasswordActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("reset-password") }));
10
+ //#endregion
11
+ //#region src/local-auth/admin/schema/roles-column.ts
12
+ var createAdminCrudRolesColumnSchema = __mf_155(() => __mf_119.extend({ type: __mf_0.literal("roles") }));
13
+ //#endregion
14
+ //#region src/local-auth/admin/common.ts
15
+ var common_default = __mf_55({
16
+ name: "common",
17
+ dependencies: {
18
+ adminCrudAction: __mf_106,
19
+ adminCrudColumn: __mf_114
20
+ },
21
+ initialize: ({ adminCrudAction, adminCrudColumn }) => {
22
+ adminCrudAction.actions.add(__mf_112({
23
+ name: "manage-roles",
24
+ createSchema: createAdminCrudManageRolesActionSchema
25
+ }));
26
+ adminCrudAction.actions.add(__mf_112({
27
+ name: "reset-password",
28
+ createSchema: createAdminCrudResetPasswordActionSchema
29
+ }));
30
+ adminCrudAction.actions.add(__mf_112({
31
+ name: "invite-user",
32
+ createSchema: createAdminCrudInviteUserActionSchema
33
+ }));
34
+ adminCrudColumn.columns.add(__mf_120({
35
+ name: "roles",
36
+ createSchema: createAdminCrudRolesColumnSchema
37
+ }));
38
+ }
39
+ });
40
+ //#endregion
41
+ export { common_default as default };
42
+
43
+ //# sourceMappingURL=common-BGTuTgx7.js.map
@@ -0,0 +1,70 @@
1
+ import { C as __mf_70, S as __mf_69, f as __mf_17, j as __mfDefaultExport, l as __mf_149, p as __mf_194, s as __mf_141, u as __mf_155, v as __mf_39, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DyokUVjX.js";
3
+ import "./auth-CsHp2bQi.js";
4
+ import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
5
+ import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-BcUgOGGn.js";
6
+ //#region src/local-auth/core/schema/migrations.ts
7
+ var LOCAL_AUTH_PLUGIN_CONFIG_MIGRATIONS = [{
8
+ name: "add-auth-verification-attempts",
9
+ version: 1,
10
+ migrate: () => ({ updateProjectDefinition: (draft) => {
11
+ const fields = (draft.models?.find((model) => model.name === LOCAL_AUTH_MODELS.authVerification))?.model?.fields;
12
+ if (!fields || fields.some((field) => field.name === "attempts")) return;
13
+ const timestampIndex = fields.findIndex((field) => field.name === "expiresAt");
14
+ const insertAt = timestampIndex === -1 ? fields.length : timestampIndex;
15
+ fields.splice(insertAt, 0, {
16
+ id: __mf_194.generateNewId(),
17
+ name: "attempts",
18
+ type: "int",
19
+ isOptional: false,
20
+ options: { default: "0" }
21
+ });
22
+ } })
23
+ }];
24
+ //#endregion
25
+ //#region src/local-auth/core/schema/schema-issue-checker.ts
26
+ function createLocalAuthSchemaChecker(pluginKey) {
27
+ return __mf_39({
28
+ pluginKey,
29
+ pluginLabel: "Local Auth",
30
+ buildPartialDef: (container) => {
31
+ const authConfig = getAuthPluginDefinition(container.definition);
32
+ try {
33
+ const authFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.authFeatureRef);
34
+ const accountsFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.accountsFeatureRef);
35
+ return createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName);
36
+ } catch {
37
+ return;
38
+ }
39
+ }
40
+ });
41
+ }
42
+ //#endregion
43
+ //#region src/local-auth/core/schema/web-app-schema.ts
44
+ /**
45
+ * Per-app local-auth settings contributed to the web app config via
46
+ * `webAppSchemaExtensionSpec`, stored under `pluginData[localAuthPluginKey]`.
47
+ */
48
+ var createLocalAuthWebAppSchema = __mf_155((ctx) => __mfDefaultExport.object({ disableRegistration: ctx.withDefault(__mfDefaultExport.boolean(), false) }));
49
+ //#endregion
50
+ //#region src/local-auth/core/common.ts
51
+ var common_default = __mf_55({
52
+ name: "common",
53
+ dependencies: {
54
+ pluginConfig: __mf_70,
55
+ authModels: __mf_69,
56
+ issueCheckers: __mf_149,
57
+ webAppSchemaExtension: __mf_141
58
+ },
59
+ initialize: ({ pluginConfig, authModels, issueCheckers, webAppSchemaExtension }, { pluginKey }) => {
60
+ pluginConfig.schemas.set(pluginKey, createLocalAuthPluginDefinitionSchema);
61
+ pluginConfig.migrations.set(pluginKey, LOCAL_AUTH_PLUGIN_CONFIG_MIGRATIONS);
62
+ authModels.getAuthModels.set(() => ({ user: LOCAL_AUTH_MODELS.user }));
63
+ issueCheckers.checkers.set(pluginKey, createLocalAuthSchemaChecker(pluginKey));
64
+ webAppSchemaExtension.schemas.set(pluginKey, createLocalAuthWebAppSchema);
65
+ }
66
+ });
67
+ //#endregion
68
+ export { common_default as default };
69
+
70
+ //# sourceMappingURL=common-C8_sC5pp.js.map
@@ -1,11 +1,11 @@
1
- import { n as __mf_142, o as __mf_17, r as __mf_161, t as __mf_141, u as __mf_232, v as __mf_58 } 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-CO5Pvo0y.js";
1
+ import { C as __mf_70, S as __mf_69, f as __mf_17, l as __mf_149, v as __mf_39, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
2
  import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
3
- import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-DSvs_3bA.js";
4
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-kDCtXq_6.js";
5
- import "./auth-BxAE0rgh.js";
3
+ import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BcPOQC5p.js";
4
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DyokUVjX.js";
5
+ import "./auth-CsHp2bQi.js";
6
6
  //#region src/better-auth/core/schema/schema-issue-checker.ts
7
7
  function createBetterAuthSchemaChecker(pluginKey) {
8
- return __mf_141({
8
+ return __mf_39({
9
9
  pluginKey,
10
10
  pluginLabel: "Better Auth",
11
11
  buildPartialDef: (container) => {
@@ -22,12 +22,12 @@ function createBetterAuthSchemaChecker(pluginKey) {
22
22
  }
23
23
  //#endregion
24
24
  //#region src/better-auth/core/common.ts
25
- var common_default = __mf_142({
25
+ var common_default = __mf_55({
26
26
  name: "common",
27
27
  dependencies: {
28
- pluginConfig: __mf_232,
29
- authModels: __mf_58,
30
- issueCheckers: __mf_161
28
+ pluginConfig: __mf_70,
29
+ authModels: __mf_69,
30
+ issueCheckers: __mf_149
31
31
  },
32
32
  initialize: ({ pluginConfig, authModels, issueCheckers }, { pluginKey }) => {
33
33
  pluginConfig.schemas.set(pluginKey, createBetterAuthPluginDefinitionSchema);
@@ -38,4 +38,4 @@ var common_default = __mf_142({
38
38
  //#endregion
39
39
  export { common_default as default };
40
40
 
41
- //# sourceMappingURL=common-ByxS61u8.js.map
41
+ //# sourceMappingURL=common-Co5lW_TK.js.map