autumn-js 0.0.103 → 0.0.105

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 (259) hide show
  1. package/dist/libraries/backend/better-auth.d.mts +46 -22
  2. package/dist/libraries/backend/better-auth.d.ts +46 -22
  3. package/dist/libraries/backend/better-auth.js +76 -83
  4. package/dist/libraries/backend/better-auth.mjs +7 -7
  5. package/dist/libraries/backend/{chunk-33NT3WE5.mjs → chunk-3OLXYDCU.mjs} +1 -1
  6. package/dist/libraries/backend/{chunk-AKV5N4WO.mjs → chunk-5EKNB4IJ.mjs} +1 -1
  7. package/dist/libraries/backend/{chunk-CEZHD5H6.mjs → chunk-5H6HVCOP.mjs} +1 -1
  8. package/dist/libraries/backend/{chunk-J3L3OBSS.mjs → chunk-HHMIVOXX.mjs} +18 -1
  9. package/dist/libraries/backend/{chunk-YFWJ6E4U.mjs → chunk-ICPSX5WQ.mjs} +8 -8
  10. package/dist/libraries/backend/{chunk-6VS7TU7O.mjs → chunk-IOSEAUDJ.mjs} +57 -81
  11. package/dist/libraries/backend/{chunk-RA4AC56B.mjs → chunk-K7JGEYUX.mjs} +1 -1
  12. package/dist/libraries/backend/convex.js +73 -80
  13. package/dist/libraries/backend/convex.mjs +7 -7
  14. package/dist/libraries/backend/elysia.js +73 -80
  15. package/dist/libraries/backend/elysia.mjs +7 -7
  16. package/dist/libraries/backend/express.d.mts +1 -1
  17. package/dist/libraries/backend/express.d.ts +1 -1
  18. package/dist/libraries/backend/express.js +73 -80
  19. package/dist/libraries/backend/express.mjs +7 -7
  20. package/dist/libraries/backend/fastify.js +73 -80
  21. package/dist/libraries/backend/fastify.mjs +7 -7
  22. package/dist/libraries/backend/hono.js +73 -80
  23. package/dist/libraries/backend/hono.mjs +7 -7
  24. package/dist/libraries/backend/next.js +169 -176
  25. package/dist/libraries/backend/next.mjs +101 -101
  26. package/dist/libraries/backend/react-router.js +73 -80
  27. package/dist/libraries/backend/react-router.mjs +7 -7
  28. package/dist/libraries/backend/{referralTypes-DcDxMGTp.d.mts → referralTypes-CILDqqIc.d.mts} +220 -123
  29. package/dist/libraries/backend/{referralTypes-DV8s1h8w.d.ts → referralTypes-DKd7XOdW.d.ts} +220 -123
  30. package/dist/libraries/backend/remix_dep.js +73 -80
  31. package/dist/libraries/backend/remix_dep.mjs +7 -7
  32. package/dist/libraries/backend/routes/backendRouter.js +73 -80
  33. package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
  34. package/dist/libraries/backend/routes/entityRoutes.js +56 -80
  35. package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
  36. package/dist/libraries/backend/routes/genRoutes.js +73 -80
  37. package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
  38. package/dist/libraries/backend/routes/productRoutes.js +56 -80
  39. package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
  40. package/dist/libraries/backend/routes/referralRoutes.js +56 -80
  41. package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
  42. package/dist/libraries/backend/supabase.js +73 -80
  43. package/dist/libraries/backend/supabase.mjs +7 -7
  44. package/dist/libraries/backend/tanstack.js +73 -80
  45. package/dist/libraries/backend/tanstack.mjs +7 -7
  46. package/dist/libraries/backend/utils/backendRes.js +56 -80
  47. package/dist/libraries/backend/utils/backendRes.mjs +1 -1
  48. package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
  49. package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
  50. package/dist/libraries/backend/utils/withAuth.js +56 -80
  51. package/dist/libraries/backend/utils/withAuth.mjs +2 -2
  52. package/dist/libraries/react/AutumnContext.d.mts +5 -4
  53. package/dist/libraries/react/AutumnContext.d.ts +5 -4
  54. package/dist/libraries/react/AutumnContext.js +63 -82
  55. package/dist/libraries/react/AutumnContext.mjs +6 -6
  56. package/dist/libraries/react/BaseAutumnProvider.d.mts +5 -4
  57. package/dist/libraries/react/BaseAutumnProvider.d.ts +5 -4
  58. package/dist/libraries/react/BaseAutumnProvider.js +96 -111
  59. package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
  60. package/dist/libraries/react/{ReactAutumnClient-BlxQQOXE.d.ts → ReactAutumnClient-BICsMJ-m.d.ts} +21 -10
  61. package/dist/libraries/react/{ReactAutumnClient-C8Nt-pqu.d.mts → ReactAutumnClient-BuQHr-be.d.mts} +21 -10
  62. package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
  63. package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
  64. package/dist/libraries/react/ReactAutumnProvider.js +96 -111
  65. package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
  66. package/dist/libraries/react/attachTypes-Cb7EQun_.d.ts +58 -0
  67. package/dist/libraries/react/attachTypes-CsFmlhk3.d.mts +58 -0
  68. package/dist/libraries/react/{chunk-VUBJ6JM3.mjs → chunk-253MTZP3.mjs} +7 -2
  69. package/dist/libraries/react/{chunk-CYW4LNFZ.mjs → chunk-2PVRCDDK.mjs} +68 -90
  70. package/dist/libraries/react/{chunk-LXSKONN2.mjs → chunk-4A53GN44.mjs} +5 -5
  71. package/dist/libraries/react/{chunk-X4R3V6O6.mjs → chunk-4CHWEUKX.mjs} +2 -2
  72. package/dist/libraries/react/{chunk-OAWFFAKA.mjs → chunk-6EZVNJHQ.mjs} +6 -6
  73. package/dist/libraries/react/{chunk-PZJQBCVG.mjs → chunk-6RNG47NV.mjs} +1 -1
  74. package/dist/libraries/react/{chunk-3SGSKYJ7.mjs → chunk-7DINVACK.mjs} +2 -2
  75. package/dist/libraries/react/{chunk-QBBE72EF.mjs → chunk-CBPZVSMZ.mjs} +12 -7
  76. package/dist/libraries/react/chunk-CUWUAQML.mjs +179 -0
  77. package/dist/libraries/react/chunk-DJIRJJNG.mjs +34 -0
  78. package/dist/libraries/react/{chunk-GQIE3MFB.mjs → chunk-DRAIZ3UZ.mjs} +3 -3
  79. package/dist/libraries/react/{chunk-AL3VJLFU.mjs → chunk-EV5RNY5U.mjs} +1 -1
  80. package/dist/libraries/react/{chunk-S6JUZ43Q.mjs → chunk-KDD5RMQ3.mjs} +2 -2
  81. package/dist/libraries/react/{chunk-KYSWTOMQ.mjs → chunk-KJLHVBV4.mjs} +30 -24
  82. package/dist/libraries/react/{chunk-OAPUYXBO.mjs → chunk-KWNH6C27.mjs} +6 -6
  83. package/dist/libraries/react/{chunk-CGWNDUYV.mjs → chunk-LXD6AEZW.mjs} +1 -1
  84. package/dist/libraries/react/chunk-N7LPH3DU.mjs +695 -0
  85. package/dist/libraries/react/{chunk-DBGTWERW.mjs → chunk-OEIUKLFH.mjs} +4 -3
  86. package/dist/libraries/react/{chunk-EHOBTSZ7.mjs → chunk-OM3ROIZO.mjs} +5 -8
  87. package/dist/libraries/react/{chunk-DHJ36QEV.mjs → chunk-OTYSAMRH.mjs} +2 -2
  88. package/dist/libraries/react/chunk-QUO2CYKM.mjs +30 -0
  89. package/dist/libraries/react/{chunk-BCMBFJ7E.mjs → chunk-RCTILKK3.mjs} +70 -37
  90. package/dist/libraries/react/{chunk-ZVQKDPUP.mjs → chunk-RPEGNKJH.mjs} +3 -3
  91. package/dist/libraries/react/{chunk-SDMBKRAI.mjs → chunk-WAFSQH6N.mjs} +37 -37
  92. package/dist/libraries/react/{chunk-RQN4VDAE.mjs → chunk-XXGKLOAK.mjs} +3 -3
  93. package/dist/libraries/react/client/ReactAutumnClient.d.mts +5 -5
  94. package/dist/libraries/react/client/ReactAutumnClient.d.ts +5 -5
  95. package/dist/libraries/react/client/ReactAutumnClient.js +63 -82
  96. package/dist/libraries/react/client/ReactAutumnClient.mjs +5 -5
  97. package/dist/libraries/react/client/clientCompMethods.d.mts +5 -5
  98. package/dist/libraries/react/client/clientCompMethods.d.ts +5 -5
  99. package/dist/libraries/react/client/clientCusMethods.d.mts +5 -5
  100. package/dist/libraries/react/client/clientCusMethods.d.ts +5 -5
  101. package/dist/libraries/react/client/clientEntityMethods.d.mts +5 -5
  102. package/dist/libraries/react/client/clientEntityMethods.d.ts +5 -5
  103. package/dist/libraries/react/client/clientGenMethods.d.mts +9 -7
  104. package/dist/libraries/react/client/clientGenMethods.d.ts +9 -7
  105. package/dist/libraries/react/client/clientGenMethods.js +8 -2
  106. package/dist/libraries/react/client/clientGenMethods.mjs +3 -1
  107. package/dist/libraries/react/client/clientProdMethods.d.mts +5 -5
  108. package/dist/libraries/react/client/clientProdMethods.d.ts +5 -5
  109. package/dist/libraries/react/client/clientReferralMethods.d.mts +5 -5
  110. package/dist/libraries/react/client/clientReferralMethods.d.ts +5 -5
  111. package/dist/libraries/react/client/types/clientAttachTypes.d.mts +115 -0
  112. package/dist/libraries/react/client/types/clientAttachTypes.d.ts +115 -0
  113. package/dist/libraries/react/client/types/clientAttachTypes.js +68 -0
  114. package/dist/libraries/react/client/types/clientAttachTypes.mjs +42 -0
  115. package/dist/libraries/react/client/types/clientGenTypes.d.mts +10 -81
  116. package/dist/libraries/react/client/types/clientGenTypes.d.ts +10 -81
  117. package/dist/libraries/react/client/types/clientGenTypes.js +1 -24
  118. package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -22
  119. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +213 -4
  120. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +5 -32
  121. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +5 -32
  122. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +720 -371
  123. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +30 -33
  124. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +3 -2
  125. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +3 -2
  126. package/dist/libraries/react/components/attach-dialog/lib/attach-content.js +70 -37
  127. package/dist/libraries/react/components/attach-dialog/lib/attach-content.mjs +1 -1
  128. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
  129. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
  130. package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +43 -43
  131. package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +5 -5
  132. package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
  133. package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
  134. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +3 -1
  135. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +3 -1
  136. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.js +12 -7
  137. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.mjs +1 -1
  138. package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +213 -4
  139. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
  140. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
  141. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +795 -457
  142. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +29 -26
  143. package/dist/libraries/react/components/ui/accordion.d.mts +9 -0
  144. package/dist/libraries/react/components/ui/accordion.d.ts +9 -0
  145. package/dist/libraries/react/components/ui/accordion.js +2721 -0
  146. package/dist/libraries/react/components/ui/accordion.mjs +15 -0
  147. package/dist/libraries/react/components/ui/button.d.mts +1 -1
  148. package/dist/libraries/react/components/ui/button.d.ts +1 -1
  149. package/dist/libraries/react/components/ui/button.js +3 -3
  150. package/dist/libraries/react/components/ui/button.mjs +2 -2
  151. package/dist/libraries/react/components/ui/dialog.js +43 -43
  152. package/dist/libraries/react/components/ui/dialog.mjs +3 -3
  153. package/dist/libraries/react/components/ui/input.d.mts +5 -0
  154. package/dist/libraries/react/components/ui/input.d.ts +5 -0
  155. package/dist/libraries/react/components/ui/input.js +2587 -0
  156. package/dist/libraries/react/components/ui/input.mjs +9 -0
  157. package/dist/libraries/react/components/ui/popover.d.mts +9 -0
  158. package/dist/libraries/react/components/ui/popover.d.ts +9 -0
  159. package/dist/libraries/react/components/ui/popover.js +2594 -0
  160. package/dist/libraries/react/components/ui/popover.mjs +15 -0
  161. package/dist/libraries/react/components/ui/switch.js +12 -12
  162. package/dist/libraries/react/components/ui/switch.mjs +3 -3
  163. package/dist/libraries/react/{cusTypes-CHcG59KG.d.mts → cusTypes-l9ZWuqVq.d.mts} +30 -12
  164. package/dist/libraries/react/{cusTypes-CHcG59KG.d.ts → cusTypes-l9ZWuqVq.d.ts} +30 -12
  165. package/dist/libraries/react/{entTypes-8-4TWxee.d.ts → entTypes-CFDcayTF.d.ts} +1 -1
  166. package/dist/libraries/react/{entTypes-3t7AbNhm.d.mts → entTypes-Diy1Q4vW.d.mts} +1 -1
  167. package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
  168. package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
  169. package/dist/libraries/react/hooks/useAutumn.d.mts +21 -6
  170. package/dist/libraries/react/hooks/useAutumn.d.ts +21 -6
  171. package/dist/libraries/react/hooks/useAutumn.js +94 -110
  172. package/dist/libraries/react/hooks/useAutumn.mjs +9 -9
  173. package/dist/libraries/react/hooks/useAutumnBase.d.mts +24 -9
  174. package/dist/libraries/react/hooks/useAutumnBase.d.ts +24 -9
  175. package/dist/libraries/react/hooks/useAutumnBase.js +94 -110
  176. package/dist/libraries/react/hooks/useAutumnBase.mjs +8 -8
  177. package/dist/libraries/react/hooks/useCustomer.d.mts +7 -5
  178. package/dist/libraries/react/hooks/useCustomer.d.ts +7 -5
  179. package/dist/libraries/react/hooks/useCustomer.js +96 -111
  180. package/dist/libraries/react/hooks/useCustomer.mjs +10 -10
  181. package/dist/libraries/react/hooks/useCustomerBase.d.mts +8 -5
  182. package/dist/libraries/react/hooks/useCustomerBase.d.ts +8 -5
  183. package/dist/libraries/react/hooks/useCustomerBase.js +96 -111
  184. package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
  185. package/dist/libraries/react/hooks/useEntity.d.mts +16 -9
  186. package/dist/libraries/react/hooks/useEntity.d.ts +16 -9
  187. package/dist/libraries/react/hooks/useEntity.js +94 -110
  188. package/dist/libraries/react/hooks/useEntity.mjs +10 -10
  189. package/dist/libraries/react/hooks/useEntityBase.d.mts +18 -9
  190. package/dist/libraries/react/hooks/useEntityBase.d.ts +18 -9
  191. package/dist/libraries/react/hooks/useEntityBase.js +94 -110
  192. package/dist/libraries/react/hooks/useEntityBase.mjs +9 -9
  193. package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
  194. package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
  195. package/dist/libraries/react/hooks/usePricingTable.js +66 -88
  196. package/dist/libraries/react/hooks/usePricingTable.mjs +8 -8
  197. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +6 -6
  198. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +6 -6
  199. package/dist/libraries/react/hooks/usePricingTableBase.js +66 -88
  200. package/dist/libraries/react/hooks/usePricingTableBase.mjs +7 -7
  201. package/dist/libraries/react/hooks/useProductsBase.js +63 -82
  202. package/dist/libraries/react/hooks/useProductsBase.mjs +6 -6
  203. package/dist/libraries/react/index.d.mts +217 -106
  204. package/dist/libraries/react/index.d.ts +217 -106
  205. package/dist/libraries/react/index.js +802 -464
  206. package/dist/libraries/react/index.mjs +793 -455
  207. package/dist/libraries/react/{response-DnJCkvfc.d.ts → response-BFBmXYPK.d.ts} +2 -25
  208. package/dist/libraries/react/{response-B8MYd86O.d.mts → response-D3QhcRLa.d.mts} +2 -25
  209. package/dist/next/{AutumnProvider-Xl1mqxls.d.mts → AutumnProvider-CHFySjFm.d.mts} +30 -12
  210. package/dist/next/{AutumnProvider-Xl1mqxls.d.ts → AutumnProvider-CHFySjFm.d.ts} +30 -12
  211. package/dist/next/AutumnProvider.d.mts +1 -1
  212. package/dist/next/AutumnProvider.d.ts +1 -1
  213. package/dist/next/client/NextAutumnClient.d.mts +19 -8
  214. package/dist/next/client/NextAutumnClient.d.ts +19 -8
  215. package/dist/next/client/NextAutumnClient.js +13 -2
  216. package/dist/next/client/NextAutumnClient.mjs +13 -2
  217. package/dist/next/client/NextAutumnProvider.d.mts +1 -1
  218. package/dist/next/client/NextAutumnProvider.d.ts +1 -1
  219. package/dist/next/client/attachTypes-BbjEGh-Q.d.mts +58 -0
  220. package/dist/next/client/attachTypes-BmvzLAdZ.d.ts +58 -0
  221. package/dist/next/client/{clientGenTypes-Dx1TULjb.d.ts → clientAttachTypes-DWV50ToQ.d.ts} +108 -90
  222. package/dist/next/client/{clientGenTypes-tE8HbEdV.d.mts → clientAttachTypes-xaEzXIt3.d.mts} +108 -90
  223. package/dist/next/client/clientUtils.d.mts +2 -2
  224. package/dist/next/client/clientUtils.d.ts +2 -2
  225. package/dist/next/client/{cusTypes-nWQygxXu.d.mts → cusTypes-mflRCYE_.d.mts} +30 -12
  226. package/dist/next/client/{cusTypes-nWQygxXu.d.ts → cusTypes-mflRCYE_.d.ts} +30 -12
  227. package/dist/next/client/{entTypes-DusU3WqD.d.mts → entTypes-BRNi52gE.d.mts} +1 -1
  228. package/dist/next/client/{entTypes-DDZyYuom.d.ts → entTypes-DtUiQ3Ms.d.ts} +1 -1
  229. package/dist/next/client/hooks/useAutumn.d.mts +19 -5
  230. package/dist/next/client/hooks/useAutumn.d.ts +19 -5
  231. package/dist/next/client/hooks/useCustomer.d.mts +5 -4
  232. package/dist/next/client/hooks/useCustomer.d.ts +5 -4
  233. package/dist/next/client/hooks/useEntity.d.mts +14 -8
  234. package/dist/next/client/hooks/useEntity.d.ts +14 -8
  235. package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
  236. package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
  237. package/dist/next/client/types.d.mts +2 -2
  238. package/dist/next/client/types.d.ts +2 -2
  239. package/dist/next/index.d.mts +213 -107
  240. package/dist/next/index.d.ts +213 -107
  241. package/dist/next/server/auth/withNextAuth.d.mts +1 -1
  242. package/dist/next/server/auth/withNextAuth.d.ts +1 -1
  243. package/dist/next/server/componentActions.d.mts +1 -1
  244. package/dist/next/server/componentActions.d.ts +1 -1
  245. package/dist/next/server/cusActions.d.mts +177 -98
  246. package/dist/next/server/cusActions.d.ts +177 -98
  247. package/dist/next/server/{cusTypes-Tc189V9T.d.mts → cusTypes-Bh_pVAJp.d.mts} +32 -14
  248. package/dist/next/server/{cusTypes-Tc189V9T.d.ts → cusTypes-Bh_pVAJp.d.ts} +32 -14
  249. package/dist/next/server/genActions.d.mts +3 -4
  250. package/dist/next/server/genActions.d.ts +3 -4
  251. package/dist/sdk/index.d.mts +221 -135
  252. package/dist/sdk/index.d.ts +221 -135
  253. package/dist/sdk/index.js +55 -80
  254. package/dist/sdk/index.mjs +54 -81
  255. package/dist/styles/global.css +213 -4
  256. package/dist/utils/encryptUtils.js +56 -80
  257. package/dist/utils/encryptUtils.mjs +56 -80
  258. package/package.json +7 -4
  259. package/dist/libraries/react/chunk-ZEVKOP7Z.mjs +0 -548
@@ -5,10 +5,10 @@ import {
5
5
  } from "./chunk-3JJC2VU5.mjs";
6
6
  import {
7
7
  useAutumnBase
8
- } from "./chunk-KYSWTOMQ.mjs";
8
+ } from "./chunk-KJLHVBV4.mjs";
9
9
  import {
10
10
  useAutumnContext
11
- } from "./chunk-CGWNDUYV.mjs";
11
+ } from "./chunk-LXD6AEZW.mjs";
12
12
 
13
13
  // src/libraries/react/hooks/useCustomerBase.tsx
14
14
  import useSWR from "swr";
@@ -18,7 +18,8 @@ var emptyDefaultFunctions = {
18
18
  track: "",
19
19
  cancel: "",
20
20
  openBillingPortal: "",
21
- setupPayment: ""
21
+ setupPayment: "",
22
+ checkout: ""
22
23
  };
23
24
  var useCustomerBase = ({
24
25
  params,
@@ -2,10 +2,10 @@
2
2
 
3
3
  import {
4
4
  useAutumnContext
5
- } from "./chunk-CGWNDUYV.mjs";
5
+ } from "./chunk-LXD6AEZW.mjs";
6
6
  import {
7
7
  AutumnError
8
- } from "./chunk-CYW4LNFZ.mjs";
8
+ } from "./chunk-2PVRCDDK.mjs";
9
9
 
10
10
  // src/libraries/react/hooks/usePricingTableBase.tsx
11
11
  import useSWR from "swr";
@@ -169,15 +169,13 @@ var defaultSWRConfig = {
169
169
  };
170
170
  var usePricingTableBase = ({
171
171
  AutumnContext,
172
- params,
173
- authClient
172
+ params
174
173
  }) => {
175
174
  const context = useAutumnContext({
176
175
  AutumnContext,
177
- name: "usePricingTable",
178
- errorIfNotInitialized: !authClient
176
+ name: "usePricingTable"
179
177
  });
180
- const client = authClient ? authClient.autumn : context.client;
178
+ const client = context.client;
181
179
  const fetcher = async () => {
182
180
  try {
183
181
  const { data: data2, error: error2 } = await client.products.list();
@@ -197,7 +195,6 @@ var usePricingTableBase = ({
197
195
  );
198
196
  return {
199
197
  products: mergeProductDetails(data || [], params?.productDetails),
200
- // products: data || [],
201
198
  isLoading: !error && !data,
202
199
  error,
203
200
  refetch: mutate
@@ -2,10 +2,10 @@
2
2
 
3
3
  import {
4
4
  usePricingTableBase
5
- } from "./chunk-EHOBTSZ7.mjs";
5
+ } from "./chunk-OM3ROIZO.mjs";
6
6
  import {
7
7
  AutumnContext
8
- } from "./chunk-CGWNDUYV.mjs";
8
+ } from "./chunk-LXD6AEZW.mjs";
9
9
 
10
10
  // src/libraries/react/hooks/usePricingTable.tsx
11
11
  var usePricingTable = (params) => {
@@ -0,0 +1,30 @@
1
+ "use client";
2
+
3
+ import {
4
+ cn
5
+ } from "./chunk-4J6OC4ZQ.mjs";
6
+
7
+ // src/libraries/react/components/ui/input.tsx
8
+ import * as React from "react";
9
+ import { jsx } from "react/jsx-runtime";
10
+ var Input = React.forwardRef(
11
+ ({ className, type, ...props }, ref) => {
12
+ return /* @__PURE__ */ jsx(
13
+ "input",
14
+ {
15
+ type,
16
+ className: cn(
17
+ "au-flex au-h-9 au-w-full au-rounded-md au-border au-border-input au-bg-transparent au-px-3 au-py-1 au-text-base au-shadow-sm au-transition-colors file:au-border-0 file:au-bg-transparent file:au-text-sm file:au-font-medium file:au-text-foreground placeholder:au-text-muted-foreground focus-visible:au-outline-none focus-visible:au-ring-1 focus-visible:au-ring-ring disabled:au-cursor-not-allowed disabled:au-opacity-50 md:au-text-sm",
18
+ className
19
+ ),
20
+ ref,
21
+ ...props
22
+ }
23
+ );
24
+ }
25
+ );
26
+ Input.displayName = "Input";
27
+
28
+ export {
29
+ Input
30
+ };
@@ -3,27 +3,61 @@
3
3
 
4
4
  // src/libraries/react/components/attach-dialog/lib/attach-content.tsx
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- var getAttachContent = (preview) => {
7
- const {
8
- scenario,
9
- product_name,
10
- recurring,
11
- current_product_name,
12
- next_cycle_at
13
- } = preview;
14
- const nextCycleAtStr = next_cycle_at ? new Date(next_cycle_at).toLocaleDateString() : void 0;
6
+ var getAttachContent = (checkoutResult) => {
7
+ const { product, current_product, next_cycle } = checkoutResult;
8
+ const { is_one_off, is_free, has_trial, has_prepaid } = product.properties;
9
+ const scenario = product.scenario;
10
+ const nextCycleAtStr = next_cycle ? new Date(next_cycle.starts_at).toLocaleDateString() : void 0;
11
+ const productName = product.name;
12
+ if (is_one_off) {
13
+ return {
14
+ title: /* @__PURE__ */ jsxs("p", { children: [
15
+ "Purchase ",
16
+ productName
17
+ ] }),
18
+ message: /* @__PURE__ */ jsxs("p", { children: [
19
+ "By clicking confirm, you will purchase ",
20
+ productName,
21
+ " and your card will be charged immediately."
22
+ ] })
23
+ };
24
+ }
25
+ if (scenario == "active" && has_prepaid) {
26
+ if (has_prepaid) {
27
+ return {
28
+ title: /* @__PURE__ */ jsx("p", { children: "Update Plan" }),
29
+ message: /* @__PURE__ */ jsx("p", { children: "Update your prepaid quantity. You'll be charged or credited the prorated difference based on your current billing cycle." })
30
+ };
31
+ }
32
+ }
33
+ if (has_trial) {
34
+ return {
35
+ title: /* @__PURE__ */ jsxs("p", { children: [
36
+ "Start trial for ",
37
+ productName
38
+ ] }),
39
+ message: /* @__PURE__ */ jsxs("p", { children: [
40
+ "By clicking confirm, you will start a free trial of ",
41
+ productName,
42
+ " ",
43
+ "which ends on ",
44
+ nextCycleAtStr,
45
+ "."
46
+ ] })
47
+ };
48
+ }
15
49
  switch (scenario) {
16
50
  case "scheduled":
17
51
  return {
18
52
  title: /* @__PURE__ */ jsxs("p", { children: [
19
- product_name,
53
+ productName,
20
54
  " product already scheduled"
21
55
  ] }),
22
56
  message: /* @__PURE__ */ jsxs("p", { children: [
23
57
  "You are currently on product ",
24
- current_product_name,
58
+ current_product.name,
25
59
  " and are scheduled to start ",
26
- product_name,
60
+ productName,
27
61
  " on ",
28
62
  nextCycleAtStr,
29
63
  "."
@@ -35,38 +69,37 @@ var getAttachContent = (preview) => {
35
69
  message: /* @__PURE__ */ jsx("p", { children: "You are already subscribed to this product." })
36
70
  };
37
71
  case "new":
38
- if (recurring) {
72
+ if (is_free) {
39
73
  return {
40
74
  title: /* @__PURE__ */ jsxs("p", { children: [
41
- "Subscribe to ",
42
- product_name
75
+ "Enable ",
76
+ productName
43
77
  ] }),
44
78
  message: /* @__PURE__ */ jsxs("p", { children: [
45
- "By clicking confirm, you will be subscribed to ",
46
- product_name,
47
- " and your card will be charged immediately."
48
- ] })
49
- };
50
- } else {
51
- return {
52
- title: /* @__PURE__ */ jsxs("p", { children: [
53
- "Purchase ",
54
- product_name
55
- ] }),
56
- message: /* @__PURE__ */ jsxs("p", { children: [
57
- "By clicking confirm, you will purchase ",
58
- product_name,
59
- " and your card will be charged immediately."
79
+ "By clicking confirm, ",
80
+ productName,
81
+ " will be enabled immediately."
60
82
  ] })
61
83
  };
62
84
  }
85
+ return {
86
+ title: /* @__PURE__ */ jsxs("p", { children: [
87
+ "Subscribe to ",
88
+ productName
89
+ ] }),
90
+ message: /* @__PURE__ */ jsxs("p", { children: [
91
+ "By clicking confirm, you will be subscribed to ",
92
+ productName,
93
+ " and your card will be charged immediately."
94
+ ] })
95
+ };
63
96
  case "renew":
64
97
  return {
65
98
  title: /* @__PURE__ */ jsx("p", { children: "Renew" }),
66
99
  message: /* @__PURE__ */ jsxs("p", { children: [
67
100
  "By clicking confirm, you will renew your subscription to",
68
101
  " ",
69
- product_name,
102
+ productName,
70
103
  "."
71
104
  ] })
72
105
  };
@@ -74,11 +107,11 @@ var getAttachContent = (preview) => {
74
107
  return {
75
108
  title: /* @__PURE__ */ jsxs("p", { children: [
76
109
  "Upgrade to ",
77
- product_name
110
+ productName
78
111
  ] }),
79
112
  message: /* @__PURE__ */ jsxs("p", { children: [
80
113
  "By clicking confirm, you will upgrade to ",
81
- product_name,
114
+ productName,
82
115
  " and your payment method will be charged immediately."
83
116
  ] })
84
117
  };
@@ -86,15 +119,15 @@ var getAttachContent = (preview) => {
86
119
  return {
87
120
  title: /* @__PURE__ */ jsxs("p", { children: [
88
121
  "Downgrade to ",
89
- product_name
122
+ productName
90
123
  ] }),
91
124
  message: /* @__PURE__ */ jsxs("p", { children: [
92
125
  "By clicking confirm, your current subscription to",
93
126
  " ",
94
- current_product_name,
127
+ current_product.name,
95
128
  " will be cancelled and a new subscription to",
96
129
  " ",
97
- product_name,
130
+ productName,
98
131
  " will begin on ",
99
132
  nextCycleAtStr,
100
133
  "."
@@ -105,7 +138,7 @@ var getAttachContent = (preview) => {
105
138
  title: /* @__PURE__ */ jsx("p", { children: "Cancel" }),
106
139
  message: /* @__PURE__ */ jsxs("p", { children: [
107
140
  "By clicking confirm, your subscription to ",
108
- current_product_name,
141
+ current_product.name,
109
142
  " ",
110
143
  "will end on ",
111
144
  nextCycleAtStr,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
 
3
3
 
4
- // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
4
+ // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
5
5
  import * as React2 from "react";
6
6
 
7
- // ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
7
+ // ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
8
8
  import * as React from "react";
9
9
  function setRef(ref, value) {
10
10
  if (typeof ref === "function") {
@@ -41,7 +41,7 @@ function useComposedRefs(...refs) {
41
41
  return React.useCallback(composeRefs(...refs), refs);
42
42
  }
43
43
 
44
- // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
44
+ // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
45
45
  import { Fragment as Fragment2, jsx } from "react/jsx-runtime";
46
46
  // @__NO_SIDE_EFFECTS__
47
47
  function createSlot(ownerName) {
@@ -8,11 +8,11 @@ import {
8
8
  dispatchDiscreteCustomEvent,
9
9
  useControllableState,
10
10
  useLayoutEffect2
11
- } from "./chunk-OAPUYXBO.mjs";
11
+ } from "./chunk-KWNH6C27.mjs";
12
12
  import {
13
13
  createSlot,
14
14
  useComposedRefs
15
- } from "./chunk-ZVQKDPUP.mjs";
15
+ } from "./chunk-RPEGNKJH.mjs";
16
16
  import {
17
17
  cn
18
18
  } from "./chunk-4J6OC4ZQ.mjs";
@@ -20,10 +20,10 @@ import {
20
20
  // src/libraries/react/components/ui/dialog.tsx
21
21
  import * as React17 from "react";
22
22
 
23
- // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
23
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@19.1._xkx6efnpqhhb4lkirxfs4qofci/node_modules/@radix-ui/react-dialog/dist/index.mjs
24
24
  import * as React16 from "react";
25
25
 
26
- // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
26
+ // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
27
27
  import * as React from "react";
28
28
  var useReactId = React[" useId ".trim().toString()] || (() => void 0);
29
29
  var count = 0;
@@ -35,10 +35,10 @@ function useId(deterministicId) {
35
35
  return deterministicId || (id ? `radix-${id}` : "");
36
36
  }
37
37
 
38
- // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
38
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@19.1.8__@types+_ya5augm4xgo65hmrlxfyu743vi/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
39
39
  import * as React4 from "react";
40
40
 
41
- // ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
41
+ // ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
42
42
  import * as React2 from "react";
43
43
  function useCallbackRef(callback) {
44
44
  const callbackRef = React2.useRef(callback);
@@ -48,7 +48,7 @@ function useCallbackRef(callback) {
48
48
  return React2.useMemo(() => (...args) => callbackRef.current?.(...args), []);
49
49
  }
50
50
 
51
- // ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
51
+ // ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
52
52
  import * as React3 from "react";
53
53
  function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
54
54
  const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
@@ -63,7 +63,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
63
63
  }, [onEscapeKeyDown, ownerDocument]);
64
64
  }
65
65
 
66
- // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
66
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@19.1.8__@types+_ya5augm4xgo65hmrlxfyu743vi/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
67
67
  import { jsx } from "react/jsx-runtime";
68
68
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
69
69
  var CONTEXT_UPDATE = "dismissableLayer.update";
@@ -268,7 +268,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
268
268
  }
269
269
  }
270
270
 
271
- // ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@_tzcmconc5ragkl5g7l4v5nw77e/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
271
+ // ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_7liqdxmess7vaws2bkjw22mwva/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
272
272
  import * as React5 from "react";
273
273
  import { jsx as jsx2 } from "react/jsx-runtime";
274
274
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
@@ -472,7 +472,7 @@ function removeLinks(items) {
472
472
  return items.filter((item) => item.tagName !== "A");
473
473
  }
474
474
 
475
- // ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._i6nxrodwqs37ebgrrch2pubydm/node_modules/@radix-ui/react-portal/dist/index.mjs
475
+ // ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@19.1.8_5jmzxxd65wsdfod4yurl7mkae4/node_modules/@radix-ui/react-portal/dist/index.mjs
476
476
  import * as React6 from "react";
477
477
  import ReactDOM from "react-dom";
478
478
  import { jsx as jsx3 } from "react/jsx-runtime";
@@ -486,7 +486,7 @@ var Portal = React6.forwardRef((props, forwardedRef) => {
486
486
  });
487
487
  Portal.displayName = PORTAL_NAME;
488
488
 
489
- // ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18._bzol5sev26xbtplj3ab5nkoo5a/node_modules/@radix-ui/react-presence/dist/index.mjs
489
+ // ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@19.1_2lguv7jzxii6s3eigxktbpwkji/node_modules/@radix-ui/react-presence/dist/index.mjs
490
490
  import * as React22 from "react";
491
491
  import * as React7 from "react";
492
492
  function useStateMachine(initialState, machine) {
@@ -612,7 +612,7 @@ function getElementRef(element) {
612
612
  return element.props.ref || element.ref;
613
613
  }
614
614
 
615
- // ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
615
+ // ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.8_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
616
616
  import * as React8 from "react";
617
617
  var count2 = 0;
618
618
  function useFocusGuards() {
@@ -672,19 +672,19 @@ function __spreadArray(to, from, pack) {
672
672
  return to.concat(ar || Array.prototype.slice.call(from));
673
673
  }
674
674
 
675
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
675
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
676
676
  import * as React15 from "react";
677
677
 
678
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
678
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
679
679
  import * as React11 from "react";
680
680
 
681
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
681
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
682
682
  var zeroRightClassName = "right-scroll-bar-position";
683
683
  var fullWidthClassName = "width-before-scroll-bar";
684
684
  var noScrollbarsClassName = "with-scroll-bars-hidden";
685
685
  var removedBarSizeVariable = "--removed-body-scroll-bar-size";
686
686
 
687
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
687
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.8_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
688
688
  function assignRef(ref, value) {
689
689
  if (typeof ref === "function") {
690
690
  ref(value);
@@ -694,7 +694,7 @@ function assignRef(ref, value) {
694
694
  return ref;
695
695
  }
696
696
 
697
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.js
697
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.8_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.js
698
698
  import { useState as useState6 } from "react";
699
699
  function useCallbackRef2(initialValue, callback) {
700
700
  var ref = useState6(function() {
@@ -722,7 +722,7 @@ function useCallbackRef2(initialValue, callback) {
722
722
  return ref.facade;
723
723
  }
724
724
 
725
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
725
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.8_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
726
726
  import * as React9 from "react";
727
727
  var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React9.useLayoutEffect : React9.useEffect;
728
728
  var currentValues = /* @__PURE__ */ new WeakMap();
@@ -754,7 +754,7 @@ function useMergeRefs(refs, defaultValue) {
754
754
  return callbackRef;
755
755
  }
756
756
 
757
- // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.js
757
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.8_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.js
758
758
  function ItoI(a) {
759
759
  return a;
760
760
  }
@@ -840,7 +840,7 @@ function createSidecarMedium(options) {
840
840
  return medium;
841
841
  }
842
842
 
843
- // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.js
843
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.8_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.js
844
844
  import * as React10 from "react";
845
845
  var SideCar = function(_a) {
846
846
  var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
@@ -859,10 +859,10 @@ function exportSidecar(medium, exported) {
859
859
  return SideCar;
860
860
  }
861
861
 
862
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.js
862
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.js
863
863
  var effectCar = createSidecarMedium();
864
864
 
865
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
865
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
866
866
  var nothing = function() {
867
867
  return;
868
868
  };
@@ -894,13 +894,13 @@ RemoveScroll.classNames = {
894
894
  zeroRight: zeroRightClassName
895
895
  };
896
896
 
897
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
897
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
898
898
  import * as React14 from "react";
899
899
 
900
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
900
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
901
901
  import * as React13 from "react";
902
902
 
903
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
903
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.8_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
904
904
  import * as React12 from "react";
905
905
 
906
906
  // ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
@@ -915,7 +915,7 @@ var getNonce = function() {
915
915
  return void 0;
916
916
  };
917
917
 
918
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.js
918
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.8_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.js
919
919
  function makeStyleTag() {
920
920
  if (!document)
921
921
  return null;
@@ -961,7 +961,7 @@ var stylesheetSingleton = function() {
961
961
  };
962
962
  };
963
963
 
964
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
964
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.8_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
965
965
  var styleHookSingleton = function() {
966
966
  var sheet = stylesheetSingleton();
967
967
  return function(styles, isDynamic) {
@@ -974,7 +974,7 @@ var styleHookSingleton = function() {
974
974
  };
975
975
  };
976
976
 
977
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.js
977
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.8_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.js
978
978
  var styleSingleton = function() {
979
979
  var useStyle = styleHookSingleton();
980
980
  var Sheet = function(_a) {
@@ -985,7 +985,7 @@ var styleSingleton = function() {
985
985
  return Sheet;
986
986
  };
987
987
 
988
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
988
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
989
989
  var zeroGap = {
990
990
  left: 0,
991
991
  top: 0,
@@ -1020,7 +1020,7 @@ var getGapWidth = function(gapMode) {
1020
1020
  };
1021
1021
  };
1022
1022
 
1023
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
1023
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
1024
1024
  var Style = styleSingleton();
1025
1025
  var lockAttribute = "data-scroll-locked";
1026
1026
  var getStyles = function(_a, allowRelative, gapMode, important) {
@@ -1060,7 +1060,7 @@ var RemoveScrollBar = function(_a) {
1060
1060
  return React13.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
1061
1061
  };
1062
1062
 
1063
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
1063
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
1064
1064
  var passiveSupported = false;
1065
1065
  if (typeof window !== "undefined") {
1066
1066
  try {
@@ -1079,7 +1079,7 @@ if (typeof window !== "undefined") {
1079
1079
  var options;
1080
1080
  var nonPassive = passiveSupported ? { passive: false } : false;
1081
1081
 
1082
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
1082
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
1083
1083
  var alwaysContainsScroll = function(node) {
1084
1084
  return node.tagName === "TEXTAREA";
1085
1085
  };
@@ -1179,7 +1179,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
1179
1179
  return shouldCancelScroll;
1180
1180
  };
1181
1181
 
1182
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
1182
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
1183
1183
  var getTouchXY = function(event) {
1184
1184
  return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
1185
1185
  };
@@ -1344,10 +1344,10 @@ function getOutermostShadowParent(node) {
1344
1344
  return shadowParent;
1345
1345
  }
1346
1346
 
1347
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js
1347
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js
1348
1348
  var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
1349
1349
 
1350
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
1350
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.8_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
1351
1351
  var ReactRemoveScroll = React15.forwardRef(function(props, ref) {
1352
1352
  return React15.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
1353
1353
  });
@@ -1475,7 +1475,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
1475
1475
  return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
1476
1476
  };
1477
1477
 
1478
- // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
1478
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@19.1._xkx6efnpqhhb4lkirxfs4qofci/node_modules/@radix-ui/react-dialog/dist/index.mjs
1479
1479
  import { Fragment as Fragment3, jsx as jsx4, jsxs } from "react/jsx-runtime";
1480
1480
  var DIALOG_NAME = "Dialog";
1481
1481
  var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
@@ -1796,7 +1796,7 @@ var DialogOverlay2 = React17.forwardRef(({ className, ...props }, ref) => /* @__
1796
1796
  {
1797
1797
  ref,
1798
1798
  className: cn(
1799
- "au-fixed au-inset-0 au-z-50 au-bg-black/80 data-[state=open]:au-animate-in data-[state=closed]:au-animate-out data-[state=closed]:au-fade-out-0 data-[state=open]:au-fade-in-0",
1799
+ "au-fixed au-inset-0 au-z-50 data-[state=open]:au-animate-in data-[state=closed]:au-animate-out data-[state=closed]:au-fade-out-0 data-[state=open]:au-fade-in-0 au-backdrop-blur-sm au-bg-black/40",
1800
1800
  className
1801
1801
  ),
1802
1802
  ...props
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
 
3
- import {
4
- useCustomerBase
5
- } from "./chunk-DBGTWERW.mjs";
6
3
  import {
7
4
  useDialog
8
5
  } from "./chunk-4QPHNIQ7.mjs";
6
+ import {
7
+ useCustomerBase
8
+ } from "./chunk-OEIUKLFH.mjs";
9
9
 
10
10
  // src/libraries/react/BaseAutumnProvider.tsx
11
11
  import { useState } from "react";
@@ -1,9 +1,9 @@
1
1
  import './types/clientEntTypes.mjs';
2
2
  import './types/clientGenTypes.mjs';
3
- import 'react';
4
3
  import '../error-DHbclCVh.mjs';
5
- import '../response-B8MYd86O.mjs';
6
- import '../cusTypes-CHcG59KG.mjs';
7
- export { A as AutumnClient, a as AutumnClientConfig, E as ErrorResponse, O as OmitCustomerType } from '../ReactAutumnClient-C8Nt-pqu.mjs';
8
- import '../entTypes-3t7AbNhm.mjs';
4
+ import '../response-D3QhcRLa.mjs';
5
+ import '../attachTypes-CsFmlhk3.mjs';
6
+ import '../cusTypes-l9ZWuqVq.mjs';
7
+ export { A as AutumnClient, a as AutumnClientConfig, E as ErrorResponse, O as OmitCustomerType } from '../ReactAutumnClient-BuQHr-be.mjs';
8
+ import '../entTypes-Diy1Q4vW.mjs';
9
9
  import 'zod';
@@ -1,9 +1,9 @@
1
1
  import './types/clientEntTypes.js';
2
2
  import './types/clientGenTypes.js';
3
- import 'react';
4
3
  import '../error-DHbclCVh.js';
5
- import '../response-DnJCkvfc.js';
6
- import '../cusTypes-CHcG59KG.js';
7
- export { A as AutumnClient, a as AutumnClientConfig, E as ErrorResponse, O as OmitCustomerType } from '../ReactAutumnClient-BlxQQOXE.js';
8
- import '../entTypes-8-4TWxee.js';
4
+ import '../response-BFBmXYPK.js';
5
+ import '../attachTypes-Cb7EQun_.js';
6
+ import '../cusTypes-l9ZWuqVq.js';
7
+ export { A as AutumnClient, a as AutumnClientConfig, E as ErrorResponse, O as OmitCustomerType } from '../ReactAutumnClient-BICsMJ-m.js';
8
+ import '../entTypes-CFDcayTF.js';
9
9
  import 'zod';