@baseplate-dev/plugin-auth 1.0.4 → 1.0.6

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 (218) hide show
  1. package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +2 -2
  2. package/dist/auth/core/generators/auth-email-password/generated/index.d.ts +5 -1
  3. package/dist/auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
  4. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts +1 -1
  5. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -1
  6. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js +1 -0
  7. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -1
  8. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts +10 -2
  9. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
  10. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js +2 -0
  11. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
  12. package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +1 -1
  13. package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -1
  14. package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +3 -4
  15. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
  16. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +1 -1
  17. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
  18. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +1 -2
  19. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +0 -1
  20. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
  21. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js +2 -7
  22. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
  23. package/dist/auth/core/generators/auth-hooks/generated/index.d.ts +10 -3
  24. package/dist/auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
  25. package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts +1 -0
  26. package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
  27. package/dist/auth/core/generators/auth-hooks/generated/template-paths.js +1 -0
  28. package/dist/auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
  29. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts +5 -5
  30. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
  31. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js +9 -8
  32. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
  33. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts +20 -5
  34. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
  35. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js +22 -9
  36. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
  37. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -1
  38. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +1 -1
  39. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +1 -1
  40. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +1 -2
  41. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +5 -0
  42. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
  43. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -1
  44. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
  45. package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts +4 -0
  46. package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  47. package/dist/auth/core/generators/auth-module/auth-module.generator.js +10 -1
  48. package/dist/auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  49. package/dist/auth/core/generators/auth-module/generated/index.d.ts +14 -5
  50. package/dist/auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  51. package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts +4 -4
  52. package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
  53. package/dist/auth/core/generators/auth-module/generated/template-renderers.js +2 -0
  54. package/dist/auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
  55. package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts +23 -10
  56. package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  57. package/dist/auth/core/generators/auth-module/generated/typed-templates.js +8 -0
  58. package/dist/auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
  59. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +1 -1
  60. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -1
  61. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +1 -2
  62. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +1 -1
  63. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  64. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +1 -2
  65. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -1
  66. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js +4 -4
  67. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -1
  68. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.ts +8 -9
  69. package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts +0 -1
  70. package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  71. package/dist/auth/core/generators/auth-routes/generated/index.d.ts +3 -6
  72. package/dist/auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  73. package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts +1 -2
  74. package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  75. package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts +6 -10
  76. package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  77. package/dist/auth/core/generators/react-session/generated/index.d.ts +9 -2
  78. package/dist/auth/core/generators/react-session/generated/index.d.ts.map +1 -1
  79. package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts +1 -1
  80. package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
  81. package/dist/auth/core/generators/react-session/generated/template-renderers.js +1 -0
  82. package/dist/auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
  83. package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts +18 -4
  84. package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
  85. package/dist/auth/core/generators/react-session/generated/typed-templates.js +6 -0
  86. package/dist/auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
  87. package/dist/auth/core/generators/react-session/react-session.generator.d.ts +9 -0
  88. package/dist/auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
  89. package/dist/auth/core/generators/react-session/react-session.generator.js +16 -1
  90. package/dist/auth/core/generators/react-session/react-session.generator.js.map +1 -1
  91. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map +1 -1
  92. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js +1 -1
  93. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js.map +1 -1
  94. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.tsx +1 -2
  95. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
  96. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js +2 -2
  97. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
  98. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +4 -6
  99. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts +1 -1
  100. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map +1 -1
  101. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map +1 -1
  102. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts +2 -5
  103. package/dist/auth/core/node.d.ts.map +1 -1
  104. package/dist/auth/core/node.js +9 -17
  105. package/dist/auth/core/node.js.map +1 -1
  106. package/dist/auth/core/schema/models.js +1 -1
  107. package/dist/auth/core/schema/models.js.map +1 -1
  108. package/dist/auth0/core/node.d.ts.map +1 -1
  109. package/dist/auth0/core/node.js +13 -21
  110. package/dist/auth0/core/node.js.map +1 -1
  111. package/dist/auth0/core/schema/migrations.d.ts.map +1 -1
  112. package/dist/auth0/core/schema/migrations.js +6 -4
  113. package/dist/auth0/core/schema/migrations.js.map +1 -1
  114. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +2 -2
  115. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +2 -2
  116. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  117. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +2 -2
  118. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +11 -6
  119. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  120. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +5 -17
  121. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  122. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +6 -2
  123. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  124. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -1
  125. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
  126. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +1 -0
  127. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
  128. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +12 -4
  129. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  130. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +2 -0
  131. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  132. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +1 -2
  133. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-required-user-id.ts +1 -1
  134. package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +0 -1
  135. package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +1 -1
  136. package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +1 -3
  137. package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +1 -1
  138. package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +1 -2
  139. package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +1 -1
  140. package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +2 -4
  141. package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +1 -1
  142. package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +1 -3
  143. package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +1 -1
  144. package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +1 -2
  145. package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +1 -1
  146. package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +1 -2
  147. package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +1 -1
  148. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +0 -1
  149. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
  150. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +7 -3
  151. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  152. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -1
  153. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
  154. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +1 -0
  155. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
  156. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +14 -6
  157. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  158. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -0
  159. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  160. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -1
  161. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +1 -1
  162. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +1 -1
  163. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +1 -2
  164. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
  165. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -1
  166. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
  167. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +1 -1
  168. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +1 -1
  169. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -1
  170. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +1 -1
  171. package/dist/placeholder-auth/core/node.d.ts.map +1 -1
  172. package/dist/placeholder-auth/core/node.js +6 -14
  173. package/dist/placeholder-auth/core/node.js.map +1 -1
  174. package/dist/web/assets/{__federation_expose_auth0CoreCommon-DcWFsNod.js → __federation_expose_auth0CoreCommon-CSWdt8d_.js} +9 -7
  175. package/dist/web/assets/__federation_expose_auth0CoreCommon-CSWdt8d_.js.map +1 -0
  176. package/dist/web/assets/{__federation_expose_auth0CoreWeb-BrPTg7eC.js → __federation_expose_auth0CoreWeb-DjVw47sM.js} +6 -6
  177. package/dist/web/assets/{__federation_expose_auth0CoreWeb-BrPTg7eC.js.map → __federation_expose_auth0CoreWeb-DjVw47sM.js.map} +1 -1
  178. package/dist/web/assets/{__federation_expose_authCoreCommon-20XIFvpM.js → __federation_expose_authCoreCommon-CvHJZFIq.js} +3 -3
  179. package/dist/web/assets/{__federation_expose_authCoreCommon-20XIFvpM.js.map → __federation_expose_authCoreCommon-CvHJZFIq.js.map} +1 -1
  180. package/dist/web/assets/{__federation_expose_authCoreWeb-BB5P8uYV.js → __federation_expose_authCoreWeb-CrFEmZp3.js} +7 -7
  181. package/dist/web/assets/__federation_expose_authCoreWeb-CrFEmZp3.js.map +1 -0
  182. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-Jwt0q3ST.js → __federation_expose_placeholder-authCoreCommon-CmkiEJ6z.js} +3 -3
  183. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-Jwt0q3ST.js.map → __federation_expose_placeholder-authCoreCommon-CmkiEJ6z.js.map} +1 -1
  184. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-_Y4pVvZX.js → __federation_expose_placeholder-authCoreWeb-CpxfTdxv.js} +6 -6
  185. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-_Y4pVvZX.js.map → __federation_expose_placeholder-authCoreWeb-CpxfTdxv.js.map} +1 -1
  186. package/dist/web/assets/{__federation_fn_import-CpGU4emr.js → __federation_fn_import-CGvRdRVe.js} +2 -2
  187. package/dist/web/assets/{__federation_fn_import-CpGU4emr.js.map → __federation_fn_import-CGvRdRVe.js.map} +1 -1
  188. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-33D53Q49.js → web-D1kBtwsm.js} +5 -5
  189. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-33D53Q49.js.map → web-D1kBtwsm.js.map} +1 -1
  190. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-B8gI4CR0.js → project-builder-lib-B7442OYh.js} +254 -211
  191. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B7442OYh.js.map +1 -0
  192. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-ClpdcB7_.js → ui-components-X318M5Ml.js} +100 -86
  193. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-X318M5Ml.js.map +1 -0
  194. package/dist/web/assets/{index-47TZ-Oc4.js → index-ydDQKauE.js} +2 -2
  195. package/dist/web/assets/{index-47TZ-Oc4.js.map → index-ydDQKauE.js.map} +1 -1
  196. package/dist/web/assets/{index.esm-Erws1yaL.js → index.esm-DYWXRkn-.js} +2 -2
  197. package/dist/web/assets/{index.esm-Erws1yaL.js.map → index.esm-DYWXRkn-.js.map} +1 -1
  198. package/dist/web/assets/{model-merger-BteeU9dp.js → model-merger-BVBtbNAj.js} +39 -15
  199. package/dist/web/assets/model-merger-BVBtbNAj.js.map +1 -0
  200. package/dist/web/assets/{plugin-definition-BOUJurAr.js → plugin-definition-Bdhuga1j.js} +3 -3
  201. package/dist/web/assets/{plugin-definition-BOUJurAr.js.map → plugin-definition-Bdhuga1j.js.map} +1 -1
  202. package/dist/web/assets/{plugin-definition-BeI52Xpr.js → plugin-definition-C9d7ykhX.js} +3 -3
  203. package/dist/web/assets/{plugin-definition-BeI52Xpr.js.map → plugin-definition-C9d7ykhX.js.map} +1 -1
  204. package/dist/web/assets/{plugin-definition-CnMRuS0h.js → plugin-definition-QzgXWr1I.js} +3 -3
  205. package/dist/web/assets/{plugin-definition-CnMRuS0h.js.map → plugin-definition-QzgXWr1I.js.map} +1 -1
  206. package/dist/web/assets/{react-CIaEd3xM.js → react-B23vKoD0.js} +2 -2
  207. package/dist/web/assets/{react-CIaEd3xM.js.map → react-B23vKoD0.js.map} +1 -1
  208. package/dist/web/assets/remoteEntry.js +6 -6
  209. package/dist/web/assets/{role-editor-form-Bk9sOqqk.js → role-editor-form-BkcoVwtU.js} +4 -4
  210. package/dist/web/assets/{role-editor-form-Bk9sOqqk.js.map → role-editor-form-BkcoVwtU.js.map} +1 -1
  211. package/dist/web/assets/{styles-mSx3A02F.js → styles-Dfjm_ApH.js} +3 -3
  212. package/dist/web/assets/{styles-mSx3A02F.js.map → styles-Dfjm_ApH.js.map} +1 -1
  213. package/package.json +10 -10
  214. package/dist/web/assets/__federation_expose_auth0CoreCommon-DcWFsNod.js.map +0 -1
  215. package/dist/web/assets/__federation_expose_authCoreWeb-BB5P8uYV.js.map +0 -1
  216. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B8gI4CR0.js.map +0 -1
  217. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-ClpdcB7_.js.map +0 -1
  218. package/dist/web/assets/model-merger-BteeU9dp.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { importShared } from '../__federation_fn_import-CpGU4emr.js';
2
- import { j as jsxRuntimeExports, b as useController, u as useFormState, g as get } from '../index.esm-Erws1yaL.js';
3
- import { M as MdMoreHoriz, a as MdChevronRight, b as MdChevronLeft, c as MdExpandMore, d as MdCheck, e as MdUnfoldMore, f as MdClose, g as MdSearch, h as MdCalendarMonth, i as MdSchedule, j as MdCircle, k as MdFormatListBulleted, l as MdOutlineErrorOutline, m as MdOutlineSave } from '../index-47TZ-Oc4.js';
4
- import { c as create } from '../react-CIaEd3xM.js';
1
+ import { importShared } from '../__federation_fn_import-CGvRdRVe.js';
2
+ import { j as jsxRuntimeExports, b as useController, u as useFormState, g as get } from '../index.esm-DYWXRkn-.js';
3
+ import { M as MdMoreHoriz, a as MdChevronRight, b as MdChevronLeft, c as MdExpandMore, d as MdCheck, e as MdUnfoldMore, f as MdClose, g as MdSearch, h as MdCalendarMonth, i as MdSchedule, j as MdCircle, k as MdFormatListBulleted, l as MdOutlineErrorOutline, m as MdOutlineSave } from '../index-ydDQKauE.js';
4
+ import { c as create } from '../react-B23vKoD0.js';
5
5
 
6
6
  /**
7
7
  * Type guard to check if a value is not null or undefined.
@@ -12,47 +12,6 @@ function notEmpty(value) {
12
12
 
13
13
  function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
14
14
 
15
- const falsyToString = (value)=>typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
16
- const cx = clsx;
17
- const cva = (base, config)=>(props)=>{
18
- var _config_compoundVariants;
19
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
20
- const { variants, defaultVariants } = config;
21
- const getVariantClassNames = Object.keys(variants).map((variant)=>{
22
- const variantProp = props === null || props === void 0 ? void 0 : props[variant];
23
- const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
24
- if (variantProp === null) return null;
25
- const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
26
- return variants[variant][variantKey];
27
- });
28
- const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{
29
- let [key, value] = param;
30
- if (value === undefined) {
31
- return acc;
32
- }
33
- acc[key] = value;
34
- return acc;
35
- }, {});
36
- const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{
37
- let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
38
- return Object.entries(compoundVariantOptions).every((param)=>{
39
- let [key, value] = param;
40
- return Array.isArray(value) ? value.includes({
41
- ...defaultVariants,
42
- ...propsWithoutUndefined
43
- }[key]) : ({
44
- ...defaultVariants,
45
- ...propsWithoutUndefined
46
- })[key] === value;
47
- }) ? [
48
- ...acc,
49
- cvClass,
50
- cvClassName
51
- ] : acc;
52
- }, []);
53
- return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
54
- };
55
-
56
15
  const CLASS_PART_SEPARATOR = '-';
57
16
  const createClassGroupUtils = config => {
58
17
  const classMap = createClassMap(config);
@@ -3052,6 +3011,65 @@ function mergeRefs(...refs) {
3052
3011
  };
3053
3012
  }
3054
3013
 
3014
+ /**
3015
+ * Displays a 2 column layout with a sidebar and content.
3016
+ */
3017
+ function SidebarLayout({ className, children, }) {
3018
+ return jsxRuntimeExports.jsx("div", { className: clsx('flex h-full', className), children: children });
3019
+ }
3020
+ function SidebarLayoutSidebar({ className, children, width = 'md', noPadding, }) {
3021
+ return (jsxRuntimeExports.jsx("aside", { className: cn$1('sticky shrink-0 overflow-y-auto border-r border-border', {
3022
+ 'w-64': width === 'sm',
3023
+ 'w-72': width === 'md',
3024
+ 'w-96': width === 'lg',
3025
+ 'p-4': !noPadding,
3026
+ }, className), children: children }));
3027
+ }
3028
+ function SidebarLayoutContent({ className, children, }) {
3029
+ return (jsxRuntimeExports.jsx("div", { className: cn$1('w-full flex-auto overflow-y-auto', className), children: children }));
3030
+ }
3031
+
3032
+ const falsyToString = (value)=>typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
3033
+ const cx = clsx;
3034
+ const cva = (base, config)=>(props)=>{
3035
+ var _config_compoundVariants;
3036
+ if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
3037
+ const { variants, defaultVariants } = config;
3038
+ const getVariantClassNames = Object.keys(variants).map((variant)=>{
3039
+ const variantProp = props === null || props === void 0 ? void 0 : props[variant];
3040
+ const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
3041
+ if (variantProp === null) return null;
3042
+ const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
3043
+ return variants[variant][variantKey];
3044
+ });
3045
+ const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{
3046
+ let [key, value] = param;
3047
+ if (value === undefined) {
3048
+ return acc;
3049
+ }
3050
+ acc[key] = value;
3051
+ return acc;
3052
+ }, {});
3053
+ const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{
3054
+ let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
3055
+ return Object.entries(compoundVariantOptions).every((param)=>{
3056
+ let [key, value] = param;
3057
+ return Array.isArray(value) ? value.includes({
3058
+ ...defaultVariants,
3059
+ ...propsWithoutUndefined
3060
+ }[key]) : ({
3061
+ ...defaultVariants,
3062
+ ...propsWithoutUndefined
3063
+ })[key] === value;
3064
+ }) ? [
3065
+ ...acc,
3066
+ cvClass,
3067
+ cvClassName
3068
+ ] : acc;
3069
+ }, []);
3070
+ return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
3071
+ };
3072
+
3055
3073
  const alertVariants = cva('relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border bg-surface px-4 py-3 text-sm text-surface-foreground has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current', {
3056
3074
  variants: {
3057
3075
  variant: {
@@ -4227,7 +4245,7 @@ function assignRef(ref, value) {
4227
4245
  return ref;
4228
4246
  }
4229
4247
 
4230
- const {useState: useState$6} = await importShared('react');
4248
+ const {useState: useState$7} = await importShared('react');
4231
4249
 
4232
4250
  /**
4233
4251
  * creates a MutableRef with ref change callback
@@ -4244,7 +4262,7 @@ const {useState: useState$6} = await importShared('react');
4244
4262
  * @returns {MutableRefObject}
4245
4263
  */
4246
4264
  function useCallbackRef(initialValue, callback) {
4247
- var ref = useState$6(function () { return ({
4265
+ var ref = useState$7(function () { return ({
4248
4266
  // value
4249
4267
  value: initialValue,
4250
4268
  // last callback
@@ -7477,12 +7495,12 @@ const computePosition = (reference, floating, options) => {
7477
7495
 
7478
7496
  const React$M = await importShared('react');
7479
7497
 
7480
- const {useLayoutEffect: useLayoutEffect$1,useEffect: useEffect$4} = await importShared('react');
7498
+ const {useLayoutEffect: useLayoutEffect$1,useEffect: useEffect$5} = await importShared('react');
7481
7499
 
7482
7500
  const ReactDOM$3 = await importShared('react-dom');
7483
7501
 
7484
7502
 
7485
- var index = typeof document !== 'undefined' ? useLayoutEffect$1 : useEffect$4;
7503
+ var index = typeof document !== 'undefined' ? useLayoutEffect$1 : useEffect$5;
7486
7504
 
7487
7505
  // Fork of `fast-deep-equal` that only does the comparisons we need and compares
7488
7506
  // functions
@@ -20064,7 +20082,7 @@ function getWeeks(months) {
20064
20082
  }, initialWeeks);
20065
20083
  }
20066
20084
 
20067
- const {useState: useState$5} = await importShared('react');
20085
+ const {useState: useState$6} = await importShared('react');
20068
20086
 
20069
20087
  /**
20070
20088
  * A custom hook for managing both controlled and uncontrolled component states.
@@ -20089,12 +20107,12 @@ const {useState: useState$5} = await importShared('react');
20089
20107
  * update the value.
20090
20108
  */
20091
20109
  function useControlledValue(defaultValue, controlledValue) {
20092
- const [uncontrolledValue, setValue] = useState$5(defaultValue);
20110
+ const [uncontrolledValue, setValue] = useState$6(defaultValue);
20093
20111
  const value = controlledValue === undefined ? uncontrolledValue : controlledValue;
20094
20112
  return [value, setValue];
20095
20113
  }
20096
20114
 
20097
- const {useEffect: useEffect$3} = await importShared('react');
20115
+ const {useEffect: useEffect$4} = await importShared('react');
20098
20116
  /**
20099
20117
  * Provides the calendar object to work with the calendar in custom components.
20100
20118
  *
@@ -20111,7 +20129,7 @@ function useCalendar(props, dateLib) {
20111
20129
  const [firstMonth, setFirstMonth] = useControlledValue(initialMonth,
20112
20130
  // initialMonth is always computed from props.month if provided
20113
20131
  props.month ? initialMonth : undefined);
20114
- useEffect$3(() => {
20132
+ useEffect$4(() => {
20115
20133
  const newInitialMonth = getInitialMonth(props, dateLib);
20116
20134
  setFirstMonth(newInitialMonth);
20117
20135
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -20316,7 +20334,7 @@ function getNextFocus(moveBy, moveDir, refDay, calendarStartMonth, calendarEndMo
20316
20334
  return getNextFocus(moveBy, moveDir, focusDay, calendarStartMonth, calendarEndMonth, props, dateLib, attempt + 1);
20317
20335
  }
20318
20336
 
20319
- const {useState: useState$4} = await importShared('react');
20337
+ const {useState: useState$5} = await importShared('react');
20320
20338
  /**
20321
20339
  * Manages focus behavior for the DayPicker component, including setting,
20322
20340
  * moving, and blurring focus on calendar days.
@@ -20333,9 +20351,9 @@ const {useState: useState$4} = await importShared('react');
20333
20351
  */
20334
20352
  function useFocus(props, calendar, getModifiers, isSelected, dateLib) {
20335
20353
  const { autoFocus } = props;
20336
- const [lastFocused, setLastFocused] = useState$4();
20354
+ const [lastFocused, setLastFocused] = useState$5();
20337
20355
  const focusTarget = calculateFocusTarget(calendar.days, getModifiers, isSelected || (() => false), lastFocused);
20338
- const [focusedDay, setFocused] = useState$4(autoFocus ? focusTarget : undefined);
20356
+ const [focusedDay, setFocused] = useState$5(autoFocus ? focusTarget : undefined);
20339
20357
  const blur = () => {
20340
20358
  setLastFocused(focusedDay);
20341
20359
  setFocused(undefined);
@@ -21301,17 +21319,17 @@ function ColorPickerFieldController({ control, name, ref, ...rest }) {
21301
21319
  return jsxRuntimeExports.jsx(ColorPickerField, { error: error?.message, ...rest, ...fieldProps });
21302
21320
  }
21303
21321
 
21304
- const {useCallback: useCallback$1,useEffect: useEffect$2,useRef: useRef$2,useState: useState$3} = await importShared('react');
21322
+ const {useCallback: useCallback$1,useEffect: useEffect$3,useRef: useRef$2,useState: useState$4} = await importShared('react');
21305
21323
 
21306
21324
  function useControlledState(value, setValue, defaultValue) {
21307
21325
  const isControlled = value !== void 0;
21308
21326
  const isControlledRef = useRef$2(isControlled);
21309
21327
  const setValuePropsRef = useRef$2(setValue);
21310
- const [internalState, setInternalState] = useState$3(defaultValue);
21311
- useEffect$2(() => {
21328
+ const [internalState, setInternalState] = useState$4(defaultValue);
21329
+ useEffect$3(() => {
21312
21330
  isControlledRef.current = isControlled;
21313
21331
  }, [isControlled]);
21314
- useEffect$2(() => {
21332
+ useEffect$3(() => {
21315
21333
  setValuePropsRef.current = setValue;
21316
21334
  }, [setValue]);
21317
21335
  const setState = useCallback$1((value2) => {
@@ -21662,7 +21680,7 @@ function useConfirmDialog() {
21662
21680
  };
21663
21681
  }
21664
21682
 
21665
- const {useEffect: useEffect$1,useRef: useRef$1} = await importShared('react');
21683
+ const {useEffect: useEffect$2,useRef: useRef$1} = await importShared('react');
21666
21684
  /**
21667
21685
  * A confirm dialog that is placed at the top level of the page
21668
21686
  * enabling the use of the useConfirmDialog hook.
@@ -21673,7 +21691,7 @@ function ConfirmDialog() {
21673
21691
  // We need to store the text content in a ref because the Dialog component
21674
21692
  // will transition to fade so we need to cache the text while we close.
21675
21693
  const textOptionsCached = useRef$1(null);
21676
- useEffect$1(() => {
21694
+ useEffect$2(() => {
21677
21695
  if (confirmOptions) {
21678
21696
  textOptionsCached.current = {
21679
21697
  title: confirmOptions.title,
@@ -21703,14 +21721,14 @@ function ConfirmDialog() {
21703
21721
  }, variant: buttonConfirmVariant, children: buttonConfirmText })] })] }) }));
21704
21722
  }
21705
21723
 
21706
- const {useId: useId$2,useState: useState$2} = await importShared('react');
21724
+ const {useId: useId$2,useState: useState$3} = await importShared('react');
21707
21725
  /**
21708
21726
  * Field with label and error states that wraps a Calendar component for single date selection.
21709
21727
  */
21710
21728
  function DatePickerField({ className, wrapperClassName, disabled, placeholder = 'Pick a date', onChange, value, label, error, description, dateFormat = 'PPP', calendarProps, ref, }) {
21711
21729
  const addWrapper = label ?? error ?? description;
21712
21730
  const id = useId$2();
21713
- const [open, setOpen] = useState$2(false);
21731
+ const [open, setOpen] = useState$3(false);
21714
21732
  // Parse string value to Date for Calendar component
21715
21733
  const dateValue = value ? parseISO(value) : undefined;
21716
21734
  const handleSelect = (date) => {
@@ -21749,14 +21767,14 @@ function Input({ className, type, ...props }) {
21749
21767
  return (jsxRuntimeExports.jsx("input", { type: type, "data-slot": "input", className: cn$1(inputVariants(), className), ...props }));
21750
21768
  }
21751
21769
 
21752
- const {useId: useId$1,useState: useState$1} = await importShared('react');
21770
+ const {useId: useId$1,useState: useState$2} = await importShared('react');
21753
21771
  /**
21754
21772
  * Field with label and error states that wraps a Calendar and time input for date-time selection.
21755
21773
  */
21756
21774
  function DateTimePickerField({ className, wrapperClassName, disabled, placeholder = 'Pick date and time', onChange, value, label, error, description, dateTimeFormat = 'PPP pp', showSeconds = false, calendarProps, ref, }) {
21757
21775
  const addWrapper = label ?? error ?? description;
21758
21776
  const id = useId$1();
21759
- const [open, setOpen] = useState$1(false);
21777
+ const [open, setOpen] = useState$2(false);
21760
21778
  // Parse string value to Date for internal operations
21761
21779
  const dateTimeValue = value ? parseISO(value) : undefined;
21762
21780
  const handleDateSelect = (date) => {
@@ -21907,10 +21925,24 @@ function ErrorDisplay({ className, header, error, actions, }) {
21907
21925
  : strings.errorDisplayDefaultContent }), actions] }) }));
21908
21926
  }
21909
21927
 
21928
+ const {useEffect: useEffect$1,useState: useState$1} = await importShared('react');
21910
21929
  /**
21911
21930
  * Loader component that displays a 3-dot loading animation.
21931
+ * Only shows after the specified delay (default: 300ms) to prevent flashing for quick operations.
21912
21932
  */
21913
- function Loader$1({ className }) {
21933
+ function Loader$1({ className, delay = 300 }) {
21934
+ const [isVisible, setIsVisible] = useState$1(false);
21935
+ useEffect$1(() => {
21936
+ const timer = setTimeout(() => {
21937
+ setIsVisible(true);
21938
+ }, delay);
21939
+ return () => {
21940
+ clearTimeout(timer);
21941
+ };
21942
+ }, [delay]);
21943
+ if (!isVisible) {
21944
+ return (jsxRuntimeExports.jsx("div", { className: cn$1('flex h-full items-center justify-center', className) }));
21945
+ }
21914
21946
  return (jsxRuntimeExports.jsx("div", { className: cn$1('flex h-full items-center justify-center', className), role: "progressbar", children: jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [jsxRuntimeExports.jsx("div", { className: "size-3 animate-pulse rounded-full bg-muted-foreground" }), jsxRuntimeExports.jsx("div", { className: "size-3 animate-pulse rounded-full bg-muted-foreground delay-300" }), jsxRuntimeExports.jsx("div", { className: "size-3 animate-pulse rounded-full bg-muted-foreground delay-[600ms]" })] }) }));
21915
21947
  }
21916
21948
 
@@ -22373,24 +22405,6 @@ function SheetDescription({ className, ...props }) {
22373
22405
  return (jsxRuntimeExports.jsx(Description, { "data-slot": "sheet-description", className: cn$1('text-sm text-muted-foreground', className), ...props }));
22374
22406
  }
22375
22407
 
22376
- /**
22377
- * Displays a 2 column layout with a sidebar and content.
22378
- */
22379
- function SidebarLayout({ className, children, }) {
22380
- return jsxRuntimeExports.jsx("div", { className: clsx('flex h-full', className), children: children });
22381
- }
22382
- function SidebarLayoutSidebar({ className, children, width = 'md', noPadding, }) {
22383
- return (jsxRuntimeExports.jsx("aside", { className: cn$1('sticky shrink-0 overflow-y-auto border-r border-border', {
22384
- 'w-64': width === 'sm',
22385
- 'w-72': width === 'md',
22386
- 'w-96': width === 'lg',
22387
- 'p-4': !noPadding,
22388
- }, className), children: children }));
22389
- }
22390
- function SidebarLayoutContent({ className, children, }) {
22391
- return (jsxRuntimeExports.jsx("div", { className: cn$1('w-full flex-auto overflow-y-auto', className), children: children }));
22392
- }
22393
-
22394
22408
  /**
22395
22409
  * A responsive table component.
22396
22410
  *
@@ -23620,4 +23634,4 @@ function TooltipContent({ className, sideOffset = 0, children, ...props }) {
23620
23634
  }
23621
23635
 
23622
23636
  export { Alert, AlertDescription, AlertTitle, Badge, BadgeWithIcon, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button$1 as Button, ButtonGroup, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxField, CheckboxFieldController, CircularProgress, ColorPicker, ColorPickerField, ColorPickerFieldController, Combobox, ComboboxAction, ComboboxContent, ComboboxEmpty, ComboboxField, ComboboxFieldController, ComboboxGroup, ComboboxInput, ComboboxItem, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, DatePickerField, DatePickerFieldController, DateTimePickerField, DateTimePickerFieldController, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyDisplay, ErrorDisplay, ErrorableLoader, FormActionBar, FormControl, FormDescription, FormItem, FormLabel, FormMessage, Input, InputField, InputFieldController, Label, Loader$1 as Loader, MultiCombobox, MultiComboboxContent, MultiComboboxEmpty, MultiComboboxField, MultiComboboxFieldController, MultiComboboxGroup, MultiComboboxInput, MultiComboboxItem, MultiSwitchField, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuItemWithLink, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NavigationTabs, NavigationTabsItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RecordView, RecordViewActions, RecordViewItem, RecordViewItemList, ScrollArea, ScrollBar, SectionList, SectionListSection, SectionListSectionContent, SectionListSectionDescription, SectionListSectionHeader, SectionListSectionTitle, Select, SelectContent, SelectField, SelectFieldController, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLayout, SidebarLayoutContent, SidebarLayoutSidebar, Switch, SwitchField, SwitchFieldController, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaField, TextareaFieldController, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn$1 as cn, genericForwardRef, inputVariants, mergeRefs, navigationMenuTriggerStyle, selectCheckVariants, selectContentVariants, selectItemVariants, selectTriggerVariants, toast, useComboboxContext, useConfirmDialog, useControlledState, useControllerMerged, useEventCallback, useFormField, useMultiComboboxContext };
23623
- //# sourceMappingURL=ui-components-ClpdcB7_.js.map
23637
+ //# sourceMappingURL=ui-components-X318M5Ml.js.map