@baseplate-dev/plugin-auth 3.0.4 → 4.0.1

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 (352) hide show
  1. package/dist/auth/core/common.d.ts +2 -5
  2. package/dist/auth/core/common.d.ts.map +1 -1
  3. package/dist/auth/core/common.js +14 -14
  4. package/dist/auth/core/common.js.map +1 -1
  5. package/dist/auth/core/node.d.ts +3 -3
  6. package/dist/auth/core/node.d.ts.map +1 -1
  7. package/dist/auth/core/node.js +5 -8
  8. package/dist/auth/core/node.js.map +1 -1
  9. package/dist/auth/core/web.d.ts +3 -3
  10. package/dist/auth/core/web.d.ts.map +1 -1
  11. package/dist/auth/core/web.js +4 -5
  12. package/dist/auth/core/web.js.map +1 -1
  13. package/dist/auth0/core/common.d.ts +3 -5
  14. package/dist/auth0/core/common.d.ts.map +1 -1
  15. package/dist/auth0/core/common.js +11 -14
  16. package/dist/auth0/core/common.js.map +1 -1
  17. package/dist/auth0/core/node.d.ts +3 -3
  18. package/dist/auth0/core/node.d.ts.map +1 -1
  19. package/dist/auth0/core/node.js +5 -8
  20. package/dist/auth0/core/node.js.map +1 -1
  21. package/dist/auth0/core/web.d.ts +3 -3
  22. package/dist/auth0/core/web.d.ts.map +1 -1
  23. package/dist/auth0/core/web.js +4 -5
  24. package/dist/auth0/core/web.js.map +1 -1
  25. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +39 -25
  26. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  27. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +18 -24
  28. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
  29. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +16 -0
  30. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
  31. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +1 -0
  32. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -1
  33. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +1 -0
  34. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -1
  35. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +9 -0
  36. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  37. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +15 -2
  38. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +1 -1
  39. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +10 -0
  40. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
  41. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +18 -2
  42. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -1
  43. package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +22 -0
  44. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -5
  45. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  46. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -10
  47. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  48. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -18
  49. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  50. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -2
  51. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -1
  52. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -2
  53. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -1
  54. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -7
  55. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
  56. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +3 -12
  57. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
  58. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -1
  59. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
  60. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -1
  61. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
  62. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -23
  63. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  64. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +4 -33
  65. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  66. package/dist/local-auth/admin/common.d.ts +3 -2
  67. package/dist/local-auth/admin/common.d.ts.map +1 -1
  68. package/dist/local-auth/admin/common.js +6 -7
  69. package/dist/local-auth/admin/common.js.map +1 -1
  70. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +25 -4
  71. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
  72. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +16 -13
  73. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
  74. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -7
  75. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
  76. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +0 -1
  77. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -1
  78. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +0 -1
  79. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -1
  80. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +13 -6
  81. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
  82. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +5 -12
  83. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -1
  84. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -5
  85. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
  86. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +3 -12
  87. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -1
  88. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +3 -2
  89. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
  90. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +26 -7
  91. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
  92. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +34 -12
  93. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +25 -4
  94. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
  95. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +35 -25
  96. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
  97. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -7
  98. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
  99. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +0 -1
  100. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -1
  101. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +0 -1
  102. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -1
  103. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +13 -6
  104. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
  105. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +5 -12
  106. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -1
  107. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -7
  108. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
  109. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +3 -12
  110. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -1
  111. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +3 -2
  112. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
  113. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +22 -6
  114. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
  115. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +30 -11
  116. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
  117. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +7 -11
  118. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -1
  119. package/dist/local-auth/admin/node.d.ts +3 -6
  120. package/dist/local-auth/admin/node.d.ts.map +1 -1
  121. package/dist/local-auth/admin/node.js +15 -18
  122. package/dist/local-auth/admin/node.js.map +1 -1
  123. package/dist/local-auth/admin/web.d.ts +3 -4
  124. package/dist/local-auth/admin/web.d.ts.map +1 -1
  125. package/dist/local-auth/admin/web.js +22 -21
  126. package/dist/local-auth/admin/web.js.map +1 -1
  127. package/dist/local-auth/core/common.d.ts +3 -5
  128. package/dist/local-auth/core/common.d.ts.map +1 -1
  129. package/dist/local-auth/core/common.js +10 -13
  130. package/dist/local-auth/core/common.js.map +1 -1
  131. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -3
  132. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
  133. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -1
  134. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
  135. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +36 -18
  136. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
  137. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -3
  138. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
  139. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +0 -3
  140. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
  141. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +13 -6
  142. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
  143. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +5 -12
  144. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
  145. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -1
  146. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  147. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -1
  148. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
  149. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +48 -30
  150. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
  151. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +6 -49
  152. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
  153. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +1 -0
  154. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -1
  155. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +9 -2
  156. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -1
  157. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +10 -2
  158. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
  159. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
  160. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -1
  161. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
  162. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +2 -2
  163. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  164. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -0
  165. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  166. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -1
  167. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  168. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -2
  169. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  170. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +5 -2
  171. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
  172. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +16 -0
  173. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  174. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +19 -0
  175. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +12 -3
  176. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  177. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -8
  178. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
  179. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +36 -7
  180. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  181. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +0 -1
  182. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
  183. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +0 -1
  184. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
  185. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +13 -6
  186. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  187. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +5 -12
  188. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
  189. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +48 -9
  190. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  191. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -13
  192. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
  193. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +11 -2
  194. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
  195. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +12 -2
  196. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +11 -2
  197. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
  198. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +12 -2
  199. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -7
  200. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
  201. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +0 -1
  202. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -1
  203. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +0 -1
  204. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -1
  205. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +13 -7
  206. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
  207. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +5 -12
  208. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
  209. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -7
  210. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
  211. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +4 -15
  212. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
  213. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -3
  214. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
  215. package/dist/local-auth/core/generators/react-session/react-session.generator.js +0 -1
  216. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -1
  217. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
  218. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +10 -2
  219. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
  220. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +11 -2
  221. package/dist/local-auth/core/node.d.ts +3 -3
  222. package/dist/local-auth/core/node.d.ts.map +1 -1
  223. package/dist/local-auth/core/node.js +5 -8
  224. package/dist/local-auth/core/node.js.map +1 -1
  225. package/dist/local-auth/core/web.d.ts +3 -3
  226. package/dist/local-auth/core/web.d.ts.map +1 -1
  227. package/dist/local-auth/core/web.js +4 -5
  228. package/dist/local-auth/core/web.js.map +1 -1
  229. package/dist/placeholder-auth/core/common.d.ts +2 -5
  230. package/dist/placeholder-auth/core/common.d.ts.map +1 -1
  231. package/dist/placeholder-auth/core/common.js +10 -13
  232. package/dist/placeholder-auth/core/common.js.map +1 -1
  233. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +0 -12
  234. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  235. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
  236. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -1
  237. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
  238. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -1
  239. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
  240. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
  241. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
  242. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
  243. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +0 -1
  244. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  245. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +0 -1
  246. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
  247. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
  248. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  249. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -31
  250. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  251. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +0 -5
  252. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
  253. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
  254. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -1
  255. package/dist/placeholder-auth/core/node.d.ts +3 -3
  256. package/dist/placeholder-auth/core/node.d.ts.map +1 -1
  257. package/dist/placeholder-auth/core/node.js +5 -8
  258. package/dist/placeholder-auth/core/node.js.map +1 -1
  259. package/dist/placeholder-auth/core/web.d.ts +3 -3
  260. package/dist/placeholder-auth/core/web.d.ts.map +1 -1
  261. package/dist/placeholder-auth/core/web.js +4 -5
  262. package/dist/placeholder-auth/core/web.js.map +1 -1
  263. package/dist/web/assets/__federation_expose_auth0CoreCommon-DLSGXjCI.js +40 -0
  264. package/dist/web/assets/__federation_expose_auth0CoreCommon-DLSGXjCI.js.map +1 -0
  265. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js → __federation_expose_auth0CoreWeb-C7FfhlmF.js} +9 -10
  266. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js.map → __federation_expose_auth0CoreWeb-C7FfhlmF.js.map} +1 -1
  267. package/dist/web/assets/__federation_expose_authCoreCommon-BF58isGa.js +29 -0
  268. package/dist/web/assets/__federation_expose_authCoreCommon-BF58isGa.js.map +1 -0
  269. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js → __federation_expose_authCoreWeb-DMq9M88g.js} +10 -11
  270. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js.map → __federation_expose_authCoreWeb-DMq9M88g.js.map} +1 -1
  271. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js → __federation_expose_local-authAdminCommon-sQw4q5YX.js} +8 -9
  272. package/dist/web/assets/__federation_expose_local-authAdminCommon-sQw4q5YX.js.map +1 -0
  273. package/dist/web/assets/__federation_expose_local-authAdminWeb-9FbO89NR.js +41 -0
  274. package/dist/web/assets/__federation_expose_local-authAdminWeb-9FbO89NR.js.map +1 -0
  275. package/dist/web/assets/__federation_expose_local-authCoreCommon-CpUK09_4.js +21 -0
  276. package/dist/web/assets/__federation_expose_local-authCoreCommon-CpUK09_4.js.map +1 -0
  277. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js → __federation_expose_local-authCoreWeb-Czp0GaY1.js} +9 -10
  278. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js.map → __federation_expose_local-authCoreWeb-Czp0GaY1.js.map} +1 -1
  279. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js +23 -0
  280. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js.map +1 -0
  281. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js → __federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js} +9 -13
  282. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js.map → __federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js.map} +1 -1
  283. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js → __federation_fn_import-DsXcpNlB.js} +2 -2
  284. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js.map → __federation_fn_import-DsXcpNlB.js.map} +1 -1
  285. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js → web-zqe3PPcn.js} +37 -118
  286. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-zqe3PPcn.js.map +1 -0
  287. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-FK4Jv94w.js → project-builder-lib-CmgMfkI5.js} +2185 -2171
  288. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CmgMfkI5.js.map +1 -0
  289. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js → ui-components-D1Dayhn9.js} +5 -5
  290. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js.map → ui-components-D1Dayhn9.js.map} +1 -1
  291. package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-CAgM5SRt.js → utils-BO5VHrCf.js} +58 -6
  292. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BO5VHrCf.js.map +1 -0
  293. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js → react-router-CNzDweD5.js} +2 -2
  294. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js.map → react-router-CNzDweD5.js.map} +1 -1
  295. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js → get-auth-plugin-definition-BV2O8wTa.js} +2 -2
  296. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js.map → get-auth-plugin-definition-BV2O8wTa.js.map} +1 -1
  297. package/dist/web/assets/{index-Dccn3WBN.js → index-BL7fotl7.js} +2 -2
  298. package/dist/web/assets/{index-Dccn3WBN.js.map → index-BL7fotl7.js.map} +1 -1
  299. package/dist/web/assets/{index.esm-DeCjXqFv.js → index.esm-B4RpOlq_.js} +2 -2
  300. package/dist/web/assets/{index.esm-DeCjXqFv.js.map → index.esm-B4RpOlq_.js.map} +1 -1
  301. package/dist/web/assets/{isEqual-DAXqKRba.js → isEqual-BQtm2LNT.js} +5 -5
  302. package/dist/web/assets/{isEqual-DAXqKRba.js.map → isEqual-BQtm2LNT.js.map} +1 -1
  303. package/dist/web/assets/{model-merger-kOQ_dmiE.js → model-merger-BwRNqcBu.js} +194 -81
  304. package/dist/web/assets/model-merger-BwRNqcBu.js.map +1 -0
  305. package/dist/web/assets/{plugin-definition-JFxKP18O.js → plugin-definition-B9d2CoQL.js} +2 -2
  306. package/dist/web/assets/{plugin-definition-JFxKP18O.js.map → plugin-definition-B9d2CoQL.js.map} +1 -1
  307. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js → plugin-definition-BMTsmwyH.js} +2 -2
  308. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js.map → plugin-definition-BMTsmwyH.js.map} +1 -1
  309. package/dist/web/assets/{plugin-definition-DKygiFuR.js → plugin-definition-CHD5r-h7.js} +2 -2
  310. package/dist/web/assets/{plugin-definition-DKygiFuR.js.map → plugin-definition-CHD5r-h7.js.map} +1 -1
  311. package/dist/web/assets/{plugin-definition-qkkt1X28.js → plugin-definition-DA9rJBcS.js} +2 -2
  312. package/dist/web/assets/{plugin-definition-qkkt1X28.js.map → plugin-definition-DA9rJBcS.js.map} +1 -1
  313. package/dist/web/assets/{react-DA5A88WZ.js → react-B9vhIZMy.js} +2 -2
  314. package/dist/web/assets/{react-DA5A88WZ.js.map → react-B9vhIZMy.js.map} +1 -1
  315. package/dist/web/assets/remoteEntry.js +10 -10
  316. package/dist/web/assets/{styles-CfTjrsB-.js → styles-CEm5K1iU.js} +3 -3
  317. package/dist/web/assets/{styles-CfTjrsB-.js.map → styles-CEm5K1iU.js.map} +1 -1
  318. package/package.json +14 -13
  319. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
  320. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -30
  321. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +0 -7
  322. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +0 -7
  323. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
  324. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  325. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  326. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
  327. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  328. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
  329. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
  330. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -17
  331. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql +0 -7
  332. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
  333. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  334. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  335. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
  336. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  337. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -35
  338. package/dist/web/assets/__federation_expose_auth0CoreCommon-DxPG_Wc0.js +0 -43
  339. package/dist/web/assets/__federation_expose_auth0CoreCommon-DxPG_Wc0.js.map +0 -1
  340. package/dist/web/assets/__federation_expose_authCoreCommon-Cxa_7fkO.js +0 -29
  341. package/dist/web/assets/__federation_expose_authCoreCommon-Cxa_7fkO.js.map +0 -1
  342. package/dist/web/assets/__federation_expose_local-authAdminCommon-C0_ovnDb.js.map +0 -1
  343. package/dist/web/assets/__federation_expose_local-authAdminWeb-GqHU6av7.js +0 -40
  344. package/dist/web/assets/__federation_expose_local-authAdminWeb-GqHU6av7.js.map +0 -1
  345. package/dist/web/assets/__federation_expose_local-authCoreCommon-PHXPCKoj.js +0 -27
  346. package/dist/web/assets/__federation_expose_local-authCoreCommon-PHXPCKoj.js.map +0 -1
  347. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js +0 -26
  348. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js.map +0 -1
  349. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BTmJxb08.js.map +0 -1
  350. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-FK4Jv94w.js.map +0 -1
  351. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CAgM5SRt.js.map +0 -1
  352. package/dist/web/assets/model-merger-kOQ_dmiE.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-zqe3PPcn.js","sources":["../../../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/string/capitalize.mjs","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-project-definition.js","../../../../../../../packages/project-builder-lib/dist/web/components/feature-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/components/model-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/components/model-merger-result-alert.js","../../../../../../../packages/project-builder-lib/dist/web/contexts/error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-blocker-dialog.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-dirty-form-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-unsaved-changes-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-definition-schema.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-resettable-form.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-action-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-column-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-input-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/model-transformer-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/utils/form.js"],"sourcesContent":["function capitalize(str) {\n return (str.charAt(0).toUpperCase() + str.slice(1).toLowerCase());\n}\n\nexport { capitalize };\n","import React from 'react';\nexport const ProjectDefinitionContext = React.createContext(null);\nexport function useProjectDefinition() {\n const result = React.useContext(ProjectDefinitionContext);\n if (!result) {\n throw new Error(`useProjectDefinition must be used within a <ProjectDefinitionProvider>`);\n }\n return result;\n}\n//# sourceMappingURL=use-project-definition.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { FeatureUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: `Create \"${value}\"`,\n value,\n };\n}\nfunction FeatureComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState('');\n const featureOptions = useMemo(() => {\n const baseFeatures = definition.features.map((feature) => ({\n label: feature.name,\n value: feature.id,\n }));\n if (!canCreate)\n return baseFeatures;\n const newFeatureName = searchQuery ? searchQuery : value;\n const doesNewFeatureExist = !!baseFeatures.some((option) => option.label === newFeatureName || option.value === newFeatureName);\n return !doesNewFeatureExist &&\n newFeatureName &&\n FeatureUtils.validateFeatureName(newFeatureName)\n ? [...baseFeatures, createCreateOption(newFeatureName)]\n : baseFeatures;\n }, [definition.features, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a feature\", ...rest, searchQuery: canCreate ? searchQuery : undefined, onSearchQueryChange: setSearchQuery, options: featureOptions, value: value }));\n}\nfunction FeatureComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(FeatureComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { FeatureComboboxField, FeatureComboboxFieldController };\n//# sourceMappingURL=feature-combobox-field.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { ModelUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: `Create \"${value}\"`,\n value,\n };\n}\nfunction ModelComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState('');\n const modelOptions = useMemo(() => {\n const baseModels = definition.models.map((model) => ({\n label: model.name,\n value: model.id,\n }));\n if (!canCreate)\n return baseModels;\n const newModelName = searchQuery ? searchQuery : value;\n const doesNewModelExist = !!baseModels.some((option) => option.label === newModelName || option.value === newModelName);\n return !doesNewModelExist &&\n newModelName &&\n ModelUtils.validateModelName(newModelName)\n ? [...baseModels, createCreateOption(newModelName)]\n : baseModels;\n }, [definition.models, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a model\", ...rest, searchQuery: canCreate ? searchQuery : undefined, onSearchQueryChange: setSearchQuery, options: modelOptions, value: value }));\n}\nfunction ModelComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(ModelComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { ModelComboboxField, ModelComboboxFieldController };\n//# sourceMappingURL=model-combobox-field.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { Alert, AlertDescription, AlertTitle, } from '@baseplate-dev/ui-components';\nimport { capitalize } from 'es-toolkit';\nimport { modelMergerDefinitionDiffConfig } from '#src/tools/index.js';\nexport function ModelMergerResultAlert({ pendingModelChanges, }) {\n const changes = Object.values(pendingModelChanges).filter((change) => change !== undefined);\n if (changes.length === 0) {\n return (_jsxs(Alert, { variant: \"default\", children: [_jsx(AlertTitle, { children: \"Models Up to Date\" }), _jsx(AlertDescription, { children: \"All required models are already configured correctly. No changes needed.\" })] }));\n }\n return (_jsx(\"div\", { className: \"space-y-4\", children: changes.map((change) => (_jsxs(Alert, { variant: change.isNewModel ? 'default' : 'warning', children: [_jsxs(AlertTitle, { children: [change.isNewModel ? 'New Model' : 'Model Changes', \": \", change.name] }), _jsx(AlertDescription, { children: _jsxs(\"div\", { className: \"mt-2 space-y-2\", children: [change.isNewModel ? (_jsx(\"p\", { children: \"This is a new model that will be created with the following configuration:\" })) : (_jsx(\"p\", { children: \"The following changes will be applied to the model:\" })), _jsx(\"ul\", { className: \"list-disc pl-4 space-y-1\", children: Object.entries(change.changes).map(([key, value]) => {\n const field = modelMergerDefinitionDiffConfig[key];\n if (!field) {\n return null;\n }\n if (value?.length) {\n return (_jsxs(\"li\", { children: [value.length === 1 ? (capitalize(field.name)) : (_jsxs(_Fragment, { children: [_jsx(\"span\", { className: \"font-medium\", children: value.length }), ' ', field.name, \"(s)\"] })), ' ', \"will be \", field.getActionVerb(change.isNewModel)] }, key));\n }\n }) })] }) })] }, change.name))) }));\n}\n//# sourceMappingURL=model-merger-result-alert.js.map","import { createContext } from 'react';\nexport const ErrorHandlerContext = createContext(null);\n//# sourceMappingURL=error-handler.js.map","import { useEffect, useId } from 'react';\nimport { create } from 'zustand';\nexport const useBlockerDialogState = create((set) => ({\n activeBlockers: [],\n addBlocker: (options) => {\n set((state) => ({\n activeBlockers: [...state.activeBlockers, options],\n }));\n },\n removeBlocker: (id) => {\n set((state) => ({\n activeBlockers: state.activeBlockers.filter((blocker) => blocker.id !== id),\n }));\n },\n requestedBlockers: [],\n requestBlocker(options) {\n set((state) => ({\n requestedBlockers: [...state.requestedBlockers, options],\n }));\n },\n clearRequestedBlockers: () => {\n set(() => ({\n requestedBlockers: [],\n }));\n },\n}));\nexport function useBlockBeforeContinue() {\n const hasActiveBlockers = useBlockerDialogState((state) => state.activeBlockers.length > 0);\n const clearRequestedBlockers = useBlockerDialogState((state) => state.clearRequestedBlockers);\n // make sure we clear any blocker requests if we navigate away\n useEffect(() => () => {\n clearRequestedBlockers();\n }, [clearRequestedBlockers]);\n const requestBlocker = useBlockerDialogState((state) => state.requestBlocker);\n // if no blockers, continue immediately\n if (!hasActiveBlockers) {\n return ({ onContinue }) => {\n onContinue();\n };\n }\n return requestBlocker;\n}\nexport function useBlockerDialog(options) {\n const id = useId();\n const addBlocker = useBlockerDialogState((state) => state.addBlocker);\n const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);\n useEffect(() => {\n if (options.disableBlock) {\n return;\n }\n addBlocker({\n disableBlock: options.disableBlock,\n title: options.title,\n content: options.content,\n buttonContinueWithoutSaveText: options.buttonContinueWithoutSaveText,\n onContinueWithoutSave: options.onContinueWithoutSave,\n buttonContinueText: options.buttonContinueText,\n onContinue: options.onContinue,\n id,\n });\n return () => {\n removeBlocker(id);\n };\n }, [\n addBlocker,\n removeBlocker,\n options.disableBlock,\n options.buttonContinueWithoutSaveText,\n options.onContinueWithoutSave,\n options.buttonContinueText,\n options.content,\n options.title,\n options.onContinue,\n id,\n ]);\n}\n//# sourceMappingURL=use-blocker-dialog.js.map","import { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockDirtyFormNavigate(formState, reset) {\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Are you sure you want to continue?',\n buttonContinueText: 'Discard Changes',\n onContinue: () => {\n reset();\n return true;\n },\n });\n}\n//# sourceMappingURL=use-block-dirty-form-navigate.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { flattenObject } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useFormState } from 'react-hook-form';\nimport { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockUnsavedChangesNavigate({ control, reset, onSubmit, }) {\n const isDirtyRef = useRef(false);\n const formState = useFormState({ control });\n isDirtyRef.current = formState.isDirty;\n if (import.meta.env.DEV) {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- only want to run this check in dev mode for performance/usability reasons\n useEffect(() => {\n if (Object.keys(formState.dirtyFields).length === 0 &&\n formState.isDirty) {\n // a bit of a hack to figure out what the issue is but OK since we only do this in dev mode\n const { _formValues, _defaultValues } = control;\n const formValueKeys = Object.keys(flattenObject(_formValues));\n const defaultValueKeys = Object.keys(flattenObject(_defaultValues));\n const missingKeys = formValueKeys.filter((key) => !defaultValueKeys.includes(key));\n toast.error(`Form is dirty but no fields are marked as dirty. This implies that there is likely a field ` +\n `is controlled but not set in defaultValues. This can be fixed by setting the default value to the field. ` +\n `Note: You will only see this error if you are running the app in dev mode. ` +\n `Missing fields: ${missingKeys.join(', ')}`);\n }\n }, [formState.dirtyFields, formState.isDirty, control]);\n }\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Do you want to save your changes?',\n buttonContinueWithoutSaveText: 'Discard Changes',\n onContinueWithoutSave: () => {\n reset();\n return true;\n },\n buttonContinueText: 'Save',\n onContinue: async () => {\n await onSubmit();\n // a bit of a hack to make sure we get the latest form state before continuing\n // there's not an easy way of figuring out if the submission was successful or not\n // so we wait for a React re-render and then check if the form is still dirty\n await new Promise((resolve) => setTimeout(resolve, 1));\n return !isDirtyRef.current;\n },\n });\n}\n//# sourceMappingURL=use-block-unsaved-changes-navigate.js.map","import { useMemo } from 'react';\nimport { withPlaceholderSlots } from '#src/schema/index.js';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useDefinitionSchema(schemaCreator) {\n const { definitionSchemaParserContext } = useProjectDefinition();\n return useMemo(() => {\n if ('slotDefinition' in schemaCreator) {\n return withPlaceholderSlots(schemaCreator)(definitionSchemaParserContext);\n }\n return schemaCreator(definitionSchemaParserContext);\n }, [definitionSchemaParserContext, schemaCreator]);\n}\n//# sourceMappingURL=use-definition-schema.js.map","import { useContext } from 'react';\nimport { ErrorHandlerContext } from '../contexts/error-handler.js';\nexport function useErrorHandler() {\n const context = useContext(ErrorHandlerContext);\n if (!context) {\n throw new Error('useErrorHandler must be used within an ErrorHandlerContext');\n }\n return context;\n}\n//# sourceMappingURL=use-error-handler.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { isEqual } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useResettableForm(props) {\n const formProps = useForm(props);\n const { reset, formState } = formProps;\n const { isDirty } = formState;\n const { updatedExternally } = useProjectDefinition();\n const oldValues = useRef(undefined);\n useEffect(() => {\n if (oldValues.current &&\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n reset(props?.defaultValues);\n if (isDirty && updatedExternally) {\n toast.warning('Contents were updated externally so form was reset!');\n }\n }\n if (!oldValues.current ||\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n oldValues.current = {\n oldDefaultValues: props?.defaultValues,\n };\n }\n }, [props?.defaultValues, reset, updatedExternally, isDirty]);\n return formProps;\n}\n//# sourceMappingURL=use-resettable-form.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudActionWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD action web configs\n */\nexport const adminCrudActionWebSpec = createFieldMapSpec('core/admin-crud-action-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying action types at runtime\n actions: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-action-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudColumnWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD column web configs\n */\nexport const adminCrudColumnWebSpec = createFieldMapSpec('core/admin-crud-column-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying column types at runtime\n columns: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-column-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudInputWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD input web configs\n */\nexport const adminCrudInputWebSpec = createFieldMapSpec('core/admin-crud-input-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying input types at runtime\n inputs: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-input-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createModelTransformerWebConfig(config) {\n return config;\n}\n/**\n * Spec for adding web config for transformers\n */\nexport const modelTransformerWebSpec = createFieldMapSpec('core/model-transformer-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying transformer types at runtime\n transformers: t.namedArrayToMap(),\n}), {\n use: (values) => ({\n getWebConfigOrThrow(name) {\n const transformer = values.transformers.get(name);\n if (!transformer) {\n throw new Error(`Transformer ${name} not found`);\n }\n return transformer;\n },\n getWebConfigs: () => [...values.transformers.values()],\n }),\n});\n//# sourceMappingURL=model-transformer-web-spec.js.map","export function setUndefinedIfEmpty(value) {\n if (value === '')\n return undefined;\n return value;\n}\n//# sourceMappingURL=form.js.map"],"names":["ComboboxField","useControllerMerged","useMemo","use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