@baseplate-dev/plugin-auth 0.6.15 → 0.6.16

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 (138) 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 +14 -28
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  11. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
  12. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
  13. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
  14. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
  15. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
  16. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
  17. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
  18. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
  19. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
  20. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
  21. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
  22. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
  23. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
  24. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
  25. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  26. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  27. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  28. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  29. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  30. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  31. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  32. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  33. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  34. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
  35. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
  36. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
  37. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
  38. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
  39. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
  40. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
  41. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
  42. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -3
  43. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -3
  44. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +3 -2
  45. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
  46. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -3
  47. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +2 -1
  48. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +6 -3
  49. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
  50. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
  51. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
  52. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
  53. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
  54. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
  55. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
  56. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
  57. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
  58. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
  59. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
  60. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
  61. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
  62. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
  63. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js} +15 -15
  64. 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-DPxqayXr.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-BfSk5vRC.js} +5 -4
  65. 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-DGL7vJhO.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-DZIcwf2B.js} +1 -1
  66. 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-IL2CfUDN.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js} +10031 -3732
  67. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js} +3823 -2545
  68. package/dist/web/assets/arduino-BP2nYunF.js +21 -0
  69. package/dist/web/assets/auth-8qJtXAgU.js +1 -0
  70. package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
  71. package/dist/web/assets/basic-3mvohyEL.js +28 -0
  72. package/dist/web/assets/c-C7Ey31hW.js +74 -0
  73. package/dist/web/assets/clike-D9YNFwtw.js +41 -0
  74. package/dist/web/assets/{common-2sTWj7X2.js → common-23-wvKrM.js} +5 -5
  75. package/dist/web/assets/{common-D-CUPN3f.js → common-B-NI9TR-.js} +2 -2
  76. package/dist/web/assets/{common-BJslFOaI.js → common-BBriDRRy.js} +3 -3
  77. package/dist/web/assets/{common-2qsch56z.js → common-BvU-7KsV.js} +5 -5
  78. package/dist/web/assets/{common-DtVPzGI9.js → common-DBBUvtGu.js} +2 -2
  79. package/dist/web/assets/{common-BY8yEk1M.js → common-eFh2vwGb.js} +3 -3
  80. package/dist/web/assets/cpp-_RjA_yNA.js +82 -0
  81. package/dist/web/assets/csharp-0LZzOc6Q.js +301 -0
  82. package/dist/web/assets/css-D7TbgetL.js +70 -0
  83. package/dist/web/assets/diff-CtSa_15w.js +54 -0
  84. package/dist/web/assets/{dist-DiQ4J8N0.js → dist-BjxypexQ.js} +1397 -897
  85. package/dist/web/assets/{get-auth-plugin-definition-gCzcUybB.js → get-auth-plugin-definition-x8oAsN1R.js} +2 -2
  86. package/dist/web/assets/go-CzER04EZ.js +36 -0
  87. package/dist/web/assets/{hostInit-BPDI3Q4j.js → hostInit-Bay0Y9UX.js} +1 -1
  88. package/dist/web/assets/{index-BocHdii2.js → index-qso1IsKy.js} +2 -2
  89. package/dist/web/assets/ini-CU-wHLTy.js +51 -0
  90. package/dist/web/assets/java-HAvRESj1.js +116 -0
  91. package/dist/web/assets/javascript-BVAr0eZH.js +124 -0
  92. package/dist/web/assets/json-DN8T4yFI.js +38 -0
  93. package/dist/web/assets/kotlin-DkCMjTKK.js +83 -0
  94. package/dist/web/assets/less-ZXX1tgaG.js +42 -0
  95. package/dist/web/assets/lua-D9bD4wrb.js +28 -0
  96. package/dist/web/assets/makefile-CKoRpler.js +40 -0
  97. package/dist/web/assets/markdown-_2_uVr2L.js +278 -0
  98. package/dist/web/assets/markup-BVZ8HhdW.js +176 -0
  99. package/dist/web/assets/markup-templating-BDIRuVJH.js +94 -0
  100. package/dist/web/assets/{mf-entry-bootstrap-0-b337c957.js → mf-entry-bootstrap-0-659c976f.js} +2 -2
  101. package/dist/web/assets/{model-utils-BoeoBppL.js → model-utils-dNFTOjqi.js} +268 -25
  102. package/dist/web/assets/{models-CExR9mVk.js → models-BpslIbU7.js} +2 -2
  103. package/dist/web/assets/{models-Bb8Sa9xa.js → models-CKab4MTC.js} +2 -2
  104. package/dist/web/assets/objectivec-DPgB68It.js +25 -0
  105. package/dist/web/assets/perl-Cul_ma_h.js +92 -0
  106. package/dist/web/assets/php-JTON0zp9.js +298 -0
  107. package/dist/web/assets/{plugin-definition-BSgRuyCf.js → plugin-definition-8Exesd6T.js} +2 -2
  108. package/dist/web/assets/{plugin-definition-DoLu-enC.js → plugin-definition-ChBrbazJ.js} +2 -2
  109. package/dist/web/assets/python-CURlmZ7M.js +73 -0
  110. package/dist/web/assets/r-8lr7pbGm.js +30 -0
  111. package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
  112. package/dist/web/assets/ruby-BoFHz67P.js +175 -0
  113. package/dist/web/assets/rust-CpZXpaj0.js +107 -0
  114. package/dist/web/assets/sass-DG0YAnL7.js +65 -0
  115. package/dist/web/assets/scss-BDRIqhak.js +70 -0
  116. package/dist/web/assets/sql-C-bL8_gT.js +40 -0
  117. package/dist/web/assets/{styles-DWNihayS.js → styles-Cuq4wgvD.js} +7 -7
  118. package/dist/web/assets/swift-rQ52kfab.js +107 -0
  119. package/dist/web/assets/typescript-CDkIWcT8.js +57 -0
  120. package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
  121. package/dist/web/assets/{virtualExposes-ZQ3-2Iup.js → virtualExposes-BwIds34r.js} +1 -1
  122. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js} +3 -3
  123. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js} +13 -13
  124. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js} +13 -13
  125. package/dist/web/assets/{web-CbftiK5A.js → web-BZd3bM0n.js} +6 -6
  126. package/dist/web/assets/{web-sVeHdqQo.js → web-BgWG7dYl.js} +10 -10
  127. package/dist/web/assets/{web-BbZNg5Ko.js → web-CXHw8SK7.js} +13 -13
  128. package/dist/web/assets/{web-DUQ-iyMI.js → web-CnB-sqCR.js} +18 -18
  129. package/dist/web/assets/{web-QvGnMr85.js → web-DHv2aVpi.js} +10 -10
  130. package/dist/web/assets/{web-pdVFZ-id.js → web-DNrWXjpS.js} +3 -3
  131. package/dist/web/assets/{web-BWF6Fc7g.js → web-D_H-MoGI.js} +3 -3
  132. package/dist/web/assets/workerBundle-GFUata9j.js +10 -0
  133. package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
  134. package/dist/web/index.html +2 -2
  135. package/dist/web/remoteEntry.js +1 -1
  136. package/dist/web/remoteEntry.ssr.js +1 -1
  137. package/package.json +16 -16
  138. package/dist/web/assets/auth-BA-e6ORB.js +0 -1
@@ -31,7 +31,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
31
31
  "./auth/core/web": async () => {
32
32
  await injectCssAssets("./auth/core/web");
33
33
  await Promise.all([]);
34
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DUQ-iyMI.js"), __vite__mapDeps([0]), import.meta.url));
34
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CnB-sqCR.js"), __vite__mapDeps([0]), import.meta.url));
35
35
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
36
36
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
37
37
  const exportModule = {};
@@ -45,7 +45,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
45
45
  "./auth/core/common": async () => {
46
46
  await injectCssAssets("./auth/core/common");
47
47
  await Promise.all([]);
48
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BJslFOaI.js"), [], import.meta.url));
48
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BBriDRRy.js"), [], import.meta.url));
49
49
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
50
50
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
51
51
  const exportModule = {};
@@ -59,7 +59,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
59
59
  "./better-auth/core/web": async () => {
60
60
  await injectCssAssets("./better-auth/core/web");
61
61
  await Promise.all([]);
62
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-QvGnMr85.js"), __vite__mapDeps([0]), import.meta.url));
62
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DHv2aVpi.js"), __vite__mapDeps([0]), import.meta.url));
63
63
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
64
64
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
65
65
  const exportModule = {};
@@ -73,7 +73,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
73
73
  "./better-auth/core/common": async () => {
74
74
  await injectCssAssets("./better-auth/core/common");
75
75
  await Promise.all([]);
76
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-2qsch56z.js"), [], import.meta.url));
76
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BvU-7KsV.js"), [], import.meta.url));
77
77
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
78
78
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
79
79
  const exportModule = {};
@@ -87,7 +87,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
87
87
  "./better-auth/admin/web": async () => {
88
88
  await injectCssAssets("./better-auth/admin/web");
89
89
  await Promise.all([]);
90
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-pdVFZ-id.js"), [], import.meta.url));
90
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DNrWXjpS.js"), [], import.meta.url));
91
91
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
92
92
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
93
93
  const exportModule = {};
@@ -101,7 +101,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
101
101
  "./better-auth/admin/common": async () => {
102
102
  await injectCssAssets("./better-auth/admin/common");
103
103
  await Promise.all([]);
104
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-DtVPzGI9.js"), [], import.meta.url));
104
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-DBBUvtGu.js"), [], import.meta.url));
105
105
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
106
106
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
107
107
  const exportModule = {};
@@ -115,7 +115,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
115
115
  "./local-auth/core/web": async () => {
116
116
  await injectCssAssets("./local-auth/core/web");
117
117
  await Promise.all([]);
118
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BbZNg5Ko.js"), __vite__mapDeps([0]), import.meta.url));
118
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CXHw8SK7.js"), __vite__mapDeps([0]), import.meta.url));
119
119
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
120
120
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
121
121
  const exportModule = {};
@@ -129,7 +129,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
129
129
  "./local-auth/core/common": async () => {
130
130
  await injectCssAssets("./local-auth/core/common");
131
131
  await Promise.all([]);
132
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-2sTWj7X2.js"), [], import.meta.url));
132
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-23-wvKrM.js"), [], import.meta.url));
133
133
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
134
134
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
135
135
  const exportModule = {};
@@ -143,7 +143,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
143
143
  "./local-auth/admin/web": async () => {
144
144
  await injectCssAssets("./local-auth/admin/web");
145
145
  await Promise.all([]);
146
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BWF6Fc7g.js"), [], import.meta.url));
146
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-D_H-MoGI.js"), [], import.meta.url));
147
147
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
148
148
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
149
149
  const exportModule = {};
@@ -157,7 +157,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
157
157
  "./local-auth/admin/common": async () => {
158
158
  await injectCssAssets("./local-auth/admin/common");
159
159
  await Promise.all([]);
160
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-D-CUPN3f.js"), [], import.meta.url));
160
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B-NI9TR-.js"), [], import.meta.url));
161
161
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
162
162
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
163
163
  const exportModule = {};
@@ -171,7 +171,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
171
171
  "./placeholder-auth/core/web": async () => {
172
172
  await injectCssAssets("./placeholder-auth/core/web");
173
173
  await Promise.all([]);
174
- const importModule = await importExposedModule(() => __vitePreload(() => import("./web-sVeHdqQo.js"), __vite__mapDeps([0]), import.meta.url));
174
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BgWG7dYl.js"), __vite__mapDeps([0]), import.meta.url));
175
175
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
176
176
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
177
177
  const exportModule = {};
@@ -185,7 +185,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
185
185
  "./placeholder-auth/core/common": async () => {
186
186
  await injectCssAssets("./placeholder-auth/core/common");
187
187
  await Promise.all([]);
188
- const importModule = await importExposedModule(() => __vitePreload(() => import("./common-BY8yEk1M.js"), [], import.meta.url));
188
+ const importModule = await importExposedModule(() => __vitePreload(() => import("./common-eFh2vwGb.js"), [], import.meta.url));
189
189
  const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
190
190
  if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
191
191
  const exportModule = {};
@@ -200,4 +200,4 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
200
200
  //#endregion
201
201
  export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as t };
202
202
 
203
- //# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js.map
203
+ //# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js.map
@@ -1,5 +1,5 @@
1
- import { $ as __mf_11, C as __mf_263, D as __mf_57, E as __mf_27, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, T as __mf_268, W as useForm, Z as __mfDefaultExport, a as __mf_141, b as __mf_19, bt as __mf_2, ct as __mf_27$1, dt as __mf_31, ft as __mf_34, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, k as __mf_75, n as __mf_1$1, ot as __mf_23, pt as __mf_35, st as __mf_26, t as __mf_0, x as __mf_2$1, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
- import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-BoeoBppL.js";
1
+ import { $ as __mf_2, C as __mf_267, D as __mf_57, E as __mf_272, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, Q as __mf_1, W as useForm, _t as __mf_35, a as __mf_141, b as __mf_19, dt as __mf_26, ft as __mf_27$1, gt as __mf_34, ht as __mf_31, k as __mf_75, n as __mf_1$1, rt as __mf_11, t as __mf_0, tt as __mfDefaultExport, ut as __mf_23, w as __mf_27, x as __mf_2$1, 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-CXGct_48.js";
2
+ import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, rt as createPluginSpec, t as ModelUtils } from "./model-utils-dNFTOjqi.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",
@@ -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 } } = __mf_268({
119
+ const { field, fieldState: { error } } = __mf_272({
120
120
  name,
121
121
  control
122
122
  }, rest);
@@ -163,7 +163,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
163
163
  });
164
164
  }
165
165
  function ModelComboboxFieldController({ name, control, ...rest }) {
166
- const { field, fieldState: { error } } = __mf_268({
166
+ const { field, fieldState: { error } } = __mf_272({
167
167
  name,
168
168
  control
169
169
  }, rest);
@@ -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) __mf_263.warning("Contents were updated externally so form was reset!");
313
+ if (isDirty && updatedExternally) __mf_267.warning("Contents were updated externally so form was reset!");
314
314
  }
315
315
  if (!oldValues.current || !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) oldValues.current = { oldDefaultValues: props?.defaultValues };
316
316
  }, [
@@ -407,4 +407,4 @@ function setUndefinedIfEmpty(value) {
407
407
  //#endregion
408
408
  export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, createWebAppSettingsWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm, webAppSchemaExtensionWebSpec };
409
409
 
410
- //# sourceMappingURL=web-CbftiK5A.js.map
410
+ //# sourceMappingURL=web-BZd3bM0n.js.map
@@ -1,10 +1,10 @@
1
- import { _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
- import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
5
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
6
- import "./auth-BA-e6ORB.js";
7
- import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-DoLu-enC.js";
1
+ import { $ as __mf_2, Q as __mf_1, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_31, m as __mf_177, p as __mf_176, r as __mf_116, v as __mf_181, 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-CXGct_48.js";
2
+ import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } 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-BfSk5vRC.js";
3
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-Cuq4wgvD.js";
5
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-x8oAsN1R.js";
6
+ import "./auth-8qJtXAgU.js";
7
+ import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-ChBrbazJ.js";
8
8
  //#region src/placeholder-auth/core/schema/models.ts
9
9
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
10
10
  function createPlaceholderAuthPartialDefinition(authFeatureName) {
@@ -82,7 +82,7 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
82
82
  className: "auth:max-w-6xl auth:flex-1",
83
83
  children: [/* @__PURE__ */ __mf_1("div", {
84
84
  className: "auth:pb-16",
85
- children: /* @__PURE__ */ __mf_1(__mf_172, { children: /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
85
+ children: /* @__PURE__ */ __mf_1(__mf_176, { children: /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
86
86
  className: "auth:space-y-6",
87
87
  children: /* @__PURE__ */ __mf_1(__mf_0, {
88
88
  diff,
@@ -103,7 +103,7 @@ var AUTH_FEATURE_NAME = "accounts/auth";
103
103
  var web_default = __mf_142({
104
104
  name: "web",
105
105
  dependencies: {
106
- webConfig: __mf_262,
106
+ webConfig: __mf_263,
107
107
  pluginDefaults: __mf_233
108
108
  },
109
109
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
@@ -120,4 +120,4 @@ var web_default = __mf_142({
120
120
  //#endregion
121
121
  export { web_default as default };
122
122
 
123
- //# sourceMappingURL=web-sVeHdqQo.js.map
123
+ //# sourceMappingURL=web-BgWG7dYl.js.map
@@ -1,9 +1,9 @@
1
- import { S as __mf_230, _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
- import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
5
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
6
- import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-Bb8Sa9xa.js";
1
+ import { $ as __mf_2, Q as __mf_1, S as __mf_234, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_31, m as __mf_177, o as __mf_145, p as __mf_176, r as __mf_116, v as __mf_181, 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-CXGct_48.js";
2
+ import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } 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-BfSk5vRC.js";
3
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-Cuq4wgvD.js";
5
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-x8oAsN1R.js";
6
+ import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-CKab4MTC.js";
7
7
  //#region src/local-auth/core/components/local-auth-definition-editor.tsx
8
8
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
9
9
  function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
@@ -57,12 +57,12 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
57
57
  className: "auth:max-w-6xl auth:flex-1",
58
58
  children: [/* @__PURE__ */ __mf_1("div", {
59
59
  className: "auth:pb-16",
60
- children: /* @__PURE__ */ __mf_2(__mf_172, { children: [
61
- /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Local Auth User Models" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
60
+ children: /* @__PURE__ */ __mf_2(__mf_176, { children: [
61
+ /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "Local Auth User Models" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
62
62
  className: "auth:space-y-6",
63
63
  children: /* @__PURE__ */ __mf_1(__mf_0, { diff })
64
64
  })] }),
65
- /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
65
+ /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
66
66
  className: "auth:space-y-6",
67
67
  children: /* @__PURE__ */ __mf_1(__mf_145, {
68
68
  label: "Additional User Admin Roles",
@@ -72,9 +72,9 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
72
72
  description: "Additional roles (beyond admin) that can manage users and assign roles."
73
73
  })
74
74
  })] }),
75
- /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Registration Settings" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "Configure what information is collected during user registration." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
75
+ /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "Registration Settings" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "Configure what information is collected during user registration." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
76
76
  className: "auth:space-y-6",
77
- children: /* @__PURE__ */ __mf_1(__mf_230, {
77
+ children: /* @__PURE__ */ __mf_1(__mf_234, {
78
78
  label: "Require Name on Registration",
79
79
  name: "requireNameOnRegistration",
80
80
  control,
@@ -97,7 +97,7 @@ var ACCOUNTS_FEATURE_NAME = "accounts/users";
97
97
  var web_default = __mf_142({
98
98
  name: "web",
99
99
  dependencies: {
100
- webConfig: __mf_262,
100
+ webConfig: __mf_263,
101
101
  pluginDefaults: __mf_233
102
102
  },
103
103
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
@@ -115,4 +115,4 @@ var web_default = __mf_142({
115
115
  //#endregion
116
116
  export { web_default as default };
117
117
 
118
- //# sourceMappingURL=web-BbZNg5Ko.js.map
118
+ //# sourceMappingURL=web-CXHw8SK7.js.map
@@ -1,9 +1,9 @@
1
- import { n as __mf_88, t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js";
2
- import { A as __mf_76, E as __mf_27$1, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, R as MdDeleteOutline, U as useFieldArray$1, W as useForm, _ as __mf_176, b as __mf_19, bt as __mf_2, ct as __mf_27, d as __mf_168, dt as __mf_31, f as __mf_169, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, i as __mf_124, j as __mf_77, k as __mf_75, l as __mf_166, m as __mf_173, n as __mf_1$1, p as __mf_172, pt as __mf_35, r as __mf_116, t as __mf_0$1, u as __mf_167, v as __mf_177, vt as __mf_0, w as __mf_266, x as __mf_2$1, y as __mf_181, yt as __mf_1, z as MdEdit } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
3
- import { c as __mf_189, d as __mf_233, f as __mf_26, n as __mf_142, o as __mf_17, p as __mf_262, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
4
- import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-BSgRuyCf.js";
5
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, o as __mf_3, r as __mf_23 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
6
- import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
1
+ import { $ as __mf_2, A as __mf_76, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, Q as __mf_1, R as MdDeleteOutline, T as __mf_270, U as useFieldArray$1, W as useForm, Z as __mf_0, _ as __mf_180, _t as __mf_35, b as __mf_19, d as __mf_172, f as __mf_173, ft as __mf_27, g as __mf_179, h as __mf_178, ht as __mf_31, i as __mf_124, j as __mf_77, k as __mf_75, l as __mf_170, m as __mf_177, n as __mf_1$1, p as __mf_176, r as __mf_116, t as __mf_0$1, u as __mf_171, v as __mf_181, w as __mf_27$1, x as __mf_2$1, y as __mf_185, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, 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-CXGct_48.js";
2
+ import { n as __mf_92, t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.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_263, 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-BfSk5vRC.js";
4
+ import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-8Exesd6T.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-DZIcwf2B.js";
6
+ import { n as a, t as AuthConfigTabs } from "./styles-Cuq4wgvD.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) {
@@ -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 } = __mf_266();
104
+ const { requestConfirm } = __mf_270();
105
105
  const { append, update, remove } = useFieldArray({
106
106
  control,
107
107
  name: "roles"
@@ -128,24 +128,24 @@ function RoleEditorForm({ className, control }) {
128
128
  }
129
129
  });
130
130
  }
131
- return /* @__PURE__ */ __mf_2(__mf_173, {
131
+ return /* @__PURE__ */ __mf_2(__mf_177, {
132
132
  className,
133
- 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
+ children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "User Roles" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "Define roles for your application. Default roles are protected and cannot be removed." })] }), /* @__PURE__ */ __mf_2(__mf_178, {
134
134
  className: "auth:space-y-4",
135
135
  children: [
136
- roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(__mf_166, { children: [/* @__PURE__ */ __mf_2(__mf_169, { children: [/* @__PURE__ */ __mf_1(__mf_168, {
136
+ roles.map((role, roleIdx) => /* @__PURE__ */ __mf_2(__mf_170, { children: [/* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_1(__mf_172, {
137
137
  title: "Name",
138
138
  children: /* @__PURE__ */ __mf_1("div", {
139
139
  className: "auth:flex auth:items-center auth:gap-2",
140
140
  children: /* @__PURE__ */ __mf_1("span", { children: role.name })
141
141
  })
142
- }), /* @__PURE__ */ __mf_1(__mf_168, {
142
+ }), /* @__PURE__ */ __mf_1(__mf_172, {
143
143
  title: "Description",
144
144
  children: role.comment.trim() || /* @__PURE__ */ __mf_1("span", {
145
145
  className: "auth:text-muted-foreground",
146
146
  children: "No description"
147
147
  })
148
- })] }), /* @__PURE__ */ __mf_2(__mf_167, { children: [role.builtIn && /* @__PURE__ */ __mf_1(__mf_19, {
148
+ })] }), /* @__PURE__ */ __mf_2(__mf_171, { children: [role.builtIn && /* @__PURE__ */ __mf_1(__mf_19, {
149
149
  variant: "secondary",
150
150
  children: "Default Role"
151
151
  }), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(__mf_27$1, {
@@ -227,7 +227,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
227
227
  const isSelectedImplementationActive = !!__mf_26.byKey(definitionContainer.definition, implementationPluginKey);
228
228
  const hasSelectedImplementationChanged = implementationPluginKey !== (pluginMetadata?.config)?.implementationPluginKey;
229
229
  const selectedImplementationUrl = selectedPlugin ? `/plugins/edit/${selectedPlugin.key}` : void 0;
230
- const navigate = __mf_88();
230
+ const navigate = __mf_92();
231
231
  const onSubmit = handleSubmit((data) => saveDefinitionWithFeedback((draftConfig) => {
232
232
  const featureRef = __mf_17.ensureFeatureByNameRecursively(draftConfig, data.authFeatureRef);
233
233
  const accountsFeatureRef = __mf_17.ensureFeatureByNameRecursively(draftConfig, data.accountsFeatureRef);
@@ -267,7 +267,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
267
267
  children: [/* @__PURE__ */ __mf_1(__mf_2$1, { children: "Implementation Provider Not Active" }), /* @__PURE__ */ __mf_1(__mf_1$1, { children: /* @__PURE__ */ __mf_2("p", { children: [
268
268
  "The selected implementation provider is not active. Please make sure",
269
269
  " ",
270
- /* @__PURE__ */ __mf_1(__mf_53, {
270
+ /* @__PURE__ */ __mf_1(__mf_13, {
271
271
  to: selectedImplementationUrl,
272
272
  className: "auth:inline-block auth:font-medium",
273
273
  children: "configure the provider"
@@ -275,7 +275,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
275
275
  " ",
276
276
  "before syncing."
277
277
  ] }) })]
278
- }), /* @__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, {
278
+ }), /* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "General Settings" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "Configure the general settings for the auth plugin." })] }), /* @__PURE__ */ __mf_2(__mf_178, {
279
279
  className: "auth:space-y-6",
280
280
  children: [
281
281
  /* @__PURE__ */ __mf_1(__mf_3, {
@@ -292,7 +292,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
292
292
  canCreate: true,
293
293
  description: "Specify the feature path where user account models will be generated"
294
294
  }),
295
- /* @__PURE__ */ __mf_1(__mf_181, {
295
+ /* @__PURE__ */ __mf_1(__mf_185, {
296
296
  label: "Authentication Provider",
297
297
  name: "implementationPluginKey",
298
298
  control,
@@ -330,7 +330,7 @@ var PARENT_AUTH_FQN = "@baseplate-dev/plugin-auth:auth";
330
330
  var web_default = __mf_142({
331
331
  name: "web",
332
332
  dependencies: {
333
- webConfig: __mf_262,
333
+ webConfig: __mf_263,
334
334
  pluginDefaults: __mf_233
335
335
  },
336
336
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
@@ -354,4 +354,4 @@ var web_default = __mf_142({
354
354
  //#endregion
355
355
  export { web_default as default };
356
356
 
357
- //# sourceMappingURL=web-DUQ-iyMI.js.map
357
+ //# sourceMappingURL=web-CnB-sqCR.js.map
@@ -1,9 +1,9 @@
1
- import { _ as __mf_176, bt as __mf_2, dt as __mf_31, g as __mf_175, h as __mf_174, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, m as __mf_173, o as __mf_145, p as __mf_172, r as __mf_116, v as __mf_177, yt as __mf_1 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
2
- import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_262 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
3
- import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
4
- import { n as a, t as AuthConfigTabs } from "./styles-DWNihayS.js";
5
- import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-CExR9mVk.js";
6
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
1
+ import { $ as __mf_2, Q as __mf_1, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_31, m as __mf_177, o as __mf_145, p as __mf_176, r as __mf_116, v as __mf_181, 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-CXGct_48.js";
2
+ import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } 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-BfSk5vRC.js";
3
+ import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js";
4
+ import { n as a, t as AuthConfigTabs } from "./styles-Cuq4wgvD.js";
5
+ import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BpslIbU7.js";
6
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-x8oAsN1R.js";
7
7
  //#region src/better-auth/core/components/better-auth-definition-editor.tsx
8
8
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
9
9
  function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
@@ -54,13 +54,13 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
54
54
  className: "auth:max-w-6xl auth:flex-1",
55
55
  children: [/* @__PURE__ */ __mf_1("div", {
56
56
  className: "auth:pb-16",
57
- children: /* @__PURE__ */ __mf_2(__mf_172, { children: [/* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "Better Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
57
+ children: /* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "Better Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
58
58
  className: "auth:space-y-6",
59
59
  children: /* @__PURE__ */ __mf_1(__mf_0, {
60
60
  diff,
61
61
  upToDateMessage: "All required models are already configured correctly. No changes needed."
62
62
  })
63
- })] }), /* @__PURE__ */ __mf_2(__mf_173, { children: [/* @__PURE__ */ __mf_2(__mf_176, { children: [/* @__PURE__ */ __mf_1(__mf_177, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_175, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_174, {
63
+ })] }), /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
64
64
  className: "auth:space-y-6",
65
65
  children: /* @__PURE__ */ __mf_1(__mf_145, {
66
66
  label: "Additional User Admin Roles",
@@ -85,7 +85,7 @@ var ACCOUNTS_FEATURE_NAME = "accounts/users";
85
85
  var web_default = __mf_142({
86
86
  name: "web",
87
87
  dependencies: {
88
- webConfig: __mf_262,
88
+ webConfig: __mf_263,
89
89
  pluginDefaults: __mf_233
90
90
  },
91
91
  initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
@@ -103,4 +103,4 @@ var web_default = __mf_142({
103
103
  //#endregion
104
104
  export { web_default as default };
105
105
 
106
- //# sourceMappingURL=web-QvGnMr85.js.map
106
+ //# sourceMappingURL=web-DHv2aVpi.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-DPxqayXr.js";
2
- import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
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-BfSk5vRC.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-DZIcwf2B.js";
3
3
  import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
4
4
  //#region src/better-auth/admin/web.ts
5
5
  var web_default = __mf_142({
@@ -43,4 +43,4 @@ var web_default = __mf_142({
43
43
  //#endregion
44
44
  export { web_default as default };
45
45
 
46
- //# sourceMappingURL=web-pdVFZ-id.js.map
46
+ //# sourceMappingURL=web-DNrWXjpS.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-DPxqayXr.js";
2
- import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js";
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-BfSk5vRC.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-DZIcwf2B.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-BWF6Fc7g.js.map
46
+ //# sourceMappingURL=web-D_H-MoGI.js.map