@donotdev/expo 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/__tests__/components/atomic.test.d.ts +10 -0
  2. package/dist/__tests__/components/atomic.test.d.ts.map +1 -0
  3. package/dist/__tests__/providers/ExpoAppProviders.test.d.ts +10 -0
  4. package/dist/__tests__/providers/ExpoAppProviders.test.d.ts.map +1 -0
  5. package/dist/__tests__/setup.d.ts +10 -0
  6. package/dist/__tests__/setup.d.ts.map +1 -0
  7. package/dist/__tests__/test-utils.d.ts +22 -0
  8. package/dist/__tests__/test-utils.d.ts.map +1 -0
  9. package/dist/atomic/Accordion/index.d.ts +65 -0
  10. package/dist/atomic/Accordion/index.d.ts.map +1 -0
  11. package/dist/atomic/Alert/index.d.ts +69 -0
  12. package/dist/atomic/Alert/index.d.ts.map +1 -0
  13. package/dist/atomic/AlertDialog/index.d.ts +83 -0
  14. package/dist/atomic/AlertDialog/index.d.ts.map +1 -0
  15. package/dist/atomic/Avatar/index.d.ts +53 -0
  16. package/dist/atomic/Avatar/index.d.ts.map +1 -0
  17. package/dist/atomic/Badge/index.d.ts +61 -0
  18. package/dist/atomic/Badge/index.d.ts.map +1 -0
  19. package/dist/atomic/Blockquote/index.d.ts +70 -0
  20. package/dist/atomic/Blockquote/index.d.ts.map +1 -0
  21. package/dist/atomic/Button/index.d.ts +117 -0
  22. package/dist/atomic/Button/index.d.ts.map +1 -0
  23. package/dist/atomic/Calendar/index.d.ts +55 -0
  24. package/dist/atomic/Calendar/index.d.ts.map +1 -0
  25. package/dist/atomic/CallToAction/index.d.ts +56 -0
  26. package/dist/atomic/CallToAction/index.d.ts.map +1 -0
  27. package/dist/atomic/Card/index.d.ts +102 -0
  28. package/dist/atomic/Card/index.d.ts.map +1 -0
  29. package/dist/atomic/Checkbox/index.d.ts +79 -0
  30. package/dist/atomic/Checkbox/index.d.ts.map +1 -0
  31. package/dist/atomic/Collapsible/index.d.ts +56 -0
  32. package/dist/atomic/Collapsible/index.d.ts.map +1 -0
  33. package/dist/atomic/Combobox/index.d.ts +137 -0
  34. package/dist/atomic/Combobox/index.d.ts.map +1 -0
  35. package/dist/atomic/Command/index.d.ts +94 -0
  36. package/dist/atomic/Command/index.d.ts.map +1 -0
  37. package/dist/atomic/CommandDialog/index.d.ts +62 -0
  38. package/dist/atomic/CommandDialog/index.d.ts.map +1 -0
  39. package/dist/atomic/ContextMenu/index.d.ts +60 -0
  40. package/dist/atomic/ContextMenu/index.d.ts.map +1 -0
  41. package/dist/atomic/CopyToClipboard/index.d.ts +78 -0
  42. package/dist/atomic/CopyToClipboard/index.d.ts.map +1 -0
  43. package/dist/atomic/DescriptionList/index.d.ts +60 -0
  44. package/dist/atomic/DescriptionList/index.d.ts.map +1 -0
  45. package/dist/atomic/Dialog/index.d.ts +105 -0
  46. package/dist/atomic/Dialog/index.d.ts.map +1 -0
  47. package/dist/atomic/DropdownMenu/index.d.ts +85 -0
  48. package/dist/atomic/DropdownMenu/index.d.ts.map +1 -0
  49. package/dist/atomic/DualCard/index.d.ts +101 -0
  50. package/dist/atomic/DualCard/index.d.ts.map +1 -0
  51. package/dist/atomic/FeatureFallback/index.d.ts +75 -0
  52. package/dist/atomic/FeatureFallback/index.d.ts.map +1 -0
  53. package/dist/atomic/FileButton/index.d.ts +55 -0
  54. package/dist/atomic/FileButton/index.d.ts.map +1 -0
  55. package/dist/atomic/Grid/index.d.ts +93 -0
  56. package/dist/atomic/Grid/index.d.ts.map +1 -0
  57. package/dist/atomic/HeroSection/index.d.ts +72 -0
  58. package/dist/atomic/HeroSection/index.d.ts.map +1 -0
  59. package/dist/atomic/HoverCard/index.d.ts +70 -0
  60. package/dist/atomic/HoverCard/index.d.ts.map +1 -0
  61. package/dist/atomic/Icons/index.d.ts +55 -0
  62. package/dist/atomic/Icons/index.d.ts.map +1 -0
  63. package/dist/atomic/InfiniteScroll/index.d.ts +62 -0
  64. package/dist/atomic/InfiniteScroll/index.d.ts.map +1 -0
  65. package/dist/atomic/Input/index.d.ts +100 -0
  66. package/dist/atomic/Input/index.d.ts.map +1 -0
  67. package/dist/atomic/Label/index.d.ts +49 -0
  68. package/dist/atomic/Label/index.d.ts.map +1 -0
  69. package/dist/atomic/List/index.d.ts +62 -0
  70. package/dist/atomic/List/index.d.ts.map +1 -0
  71. package/dist/atomic/NavigationMenu/index.d.ts +81 -0
  72. package/dist/atomic/NavigationMenu/index.d.ts.map +1 -0
  73. package/dist/atomic/Pagination/index.d.ts +86 -0
  74. package/dist/atomic/Pagination/index.d.ts.map +1 -0
  75. package/dist/atomic/PasswordInput/index.d.ts +95 -0
  76. package/dist/atomic/PasswordInput/index.d.ts.map +1 -0
  77. package/dist/atomic/Popover/index.d.ts +98 -0
  78. package/dist/atomic/Popover/index.d.ts.map +1 -0
  79. package/dist/atomic/Portal/index.d.ts +41 -0
  80. package/dist/atomic/Portal/index.d.ts.map +1 -0
  81. package/dist/atomic/PortalButton/index.d.ts +54 -0
  82. package/dist/atomic/PortalButton/index.d.ts.map +1 -0
  83. package/dist/atomic/Progress/index.d.ts +59 -0
  84. package/dist/atomic/Progress/index.d.ts.map +1 -0
  85. package/dist/atomic/RadioGroup/index.d.ts +91 -0
  86. package/dist/atomic/RadioGroup/index.d.ts.map +1 -0
  87. package/dist/atomic/RangeInput/index.d.ts +117 -0
  88. package/dist/atomic/RangeInput/index.d.ts.map +1 -0
  89. package/dist/atomic/Rating/index.d.ts +74 -0
  90. package/dist/atomic/Rating/index.d.ts.map +1 -0
  91. package/dist/atomic/ScrollArea/index.d.ts +59 -0
  92. package/dist/atomic/ScrollArea/index.d.ts.map +1 -0
  93. package/dist/atomic/Section/index.d.ts +83 -0
  94. package/dist/atomic/Section/index.d.ts.map +1 -0
  95. package/dist/atomic/Select/index.d.ts +116 -0
  96. package/dist/atomic/Select/index.d.ts.map +1 -0
  97. package/dist/atomic/Separator/index.d.ts +58 -0
  98. package/dist/atomic/Separator/index.d.ts.map +1 -0
  99. package/dist/atomic/Sheet/index.d.ts +106 -0
  100. package/dist/atomic/Sheet/index.d.ts.map +1 -0
  101. package/dist/atomic/Skeleton/index.d.ts +59 -0
  102. package/dist/atomic/Skeleton/index.d.ts.map +1 -0
  103. package/dist/atomic/Slider/index.d.ts +101 -0
  104. package/dist/atomic/Slider/index.d.ts.map +1 -0
  105. package/dist/atomic/Slot/index.d.ts +28 -0
  106. package/dist/atomic/Slot/index.d.ts.map +1 -0
  107. package/dist/atomic/Spinner/index.d.ts +52 -0
  108. package/dist/atomic/Spinner/index.d.ts.map +1 -0
  109. package/dist/atomic/Stack/index.d.ts +123 -0
  110. package/dist/atomic/Stack/index.d.ts.map +1 -0
  111. package/dist/atomic/Stepper/index.d.ts +102 -0
  112. package/dist/atomic/Stepper/index.d.ts.map +1 -0
  113. package/dist/atomic/Switch/index.d.ts +88 -0
  114. package/dist/atomic/Switch/index.d.ts.map +1 -0
  115. package/dist/atomic/Table/index.d.ts +107 -0
  116. package/dist/atomic/Table/index.d.ts.map +1 -0
  117. package/dist/atomic/Tabs/index.d.ts +91 -0
  118. package/dist/atomic/Tabs/index.d.ts.map +1 -0
  119. package/dist/atomic/Tag/index.d.ts +78 -0
  120. package/dist/atomic/Tag/index.d.ts.map +1 -0
  121. package/dist/atomic/Text/index.d.ts +81 -0
  122. package/dist/atomic/Text/index.d.ts.map +1 -0
  123. package/dist/atomic/Textarea/index.d.ts +66 -0
  124. package/dist/atomic/Textarea/index.d.ts.map +1 -0
  125. package/dist/atomic/Toaster/index.d.ts +69 -0
  126. package/dist/atomic/Toaster/index.d.ts.map +1 -0
  127. package/dist/atomic/Toggle/index.d.ts +76 -0
  128. package/dist/atomic/Toggle/index.d.ts.map +1 -0
  129. package/dist/atomic/ToggleGroup/index.d.ts +82 -0
  130. package/dist/atomic/ToggleGroup/index.d.ts.map +1 -0
  131. package/dist/atomic/Tooltip/index.d.ts +68 -0
  132. package/dist/atomic/Tooltip/index.d.ts.map +1 -0
  133. package/dist/atomic/VideoPlayer/index.d.ts +68 -0
  134. package/dist/atomic/VideoPlayer/index.d.ts.map +1 -0
  135. package/dist/atomic/VisuallyHidden/index.d.ts +33 -0
  136. package/dist/atomic/VisuallyHidden/index.d.ts.map +1 -0
  137. package/dist/atomic/index.d.ts +146 -0
  138. package/dist/atomic/index.d.ts.map +1 -0
  139. package/dist/crud/components/DateFilter.d.ts +29 -0
  140. package/dist/crud/components/DateFilter.d.ts.map +1 -0
  141. package/dist/crud/components/DisplayFieldRenderer.d.ts +29 -0
  142. package/dist/crud/components/DisplayFieldRenderer.d.ts.map +1 -0
  143. package/dist/crud/components/EntityCardList.d.ts +25 -0
  144. package/dist/crud/components/EntityCardList.d.ts.map +1 -0
  145. package/dist/crud/components/EntityDisplayRenderer.d.ts +26 -0
  146. package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -0
  147. package/dist/crud/components/EntityFilters.d.ts +40 -0
  148. package/dist/crud/components/EntityFilters.d.ts.map +1 -0
  149. package/dist/crud/components/EntityFormRenderer.d.ts +66 -0
  150. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -0
  151. package/dist/crud/components/EntityList.d.ts +23 -0
  152. package/dist/crud/components/EntityList.d.ts.map +1 -0
  153. package/dist/crud/components/FormFieldRenderer.d.ts +38 -0
  154. package/dist/crud/components/FormFieldRenderer.d.ts.map +1 -0
  155. package/dist/crud/components/FormLayout.d.ts +33 -0
  156. package/dist/crud/components/FormLayout.d.ts.map +1 -0
  157. package/dist/crud/components/index.d.ts +27 -0
  158. package/dist/crud/components/index.d.ts.map +1 -0
  159. package/dist/crud/contexts/UploadContext.d.ts +22 -0
  160. package/dist/crud/contexts/UploadContext.d.ts.map +1 -0
  161. package/dist/crud/forms/hooks/useEntityForm.d.ts +11 -0
  162. package/dist/crud/forms/hooks/useEntityForm.d.ts.map +1 -0
  163. package/dist/crud/hooks/useUnsavedChangesWarning.d.ts +23 -0
  164. package/dist/crud/hooks/useUnsavedChangesWarning.d.ts.map +1 -0
  165. package/dist/crud/index.d.ts +17 -0
  166. package/dist/crud/index.d.ts.map +1 -0
  167. package/dist/crud/stores/index.d.ts +11 -0
  168. package/dist/crud/stores/index.d.ts.map +1 -0
  169. package/dist/features/auth/components/AuthPartnerButton.d.ts +31 -0
  170. package/dist/features/auth/components/AuthPartnerButton.d.ts.map +1 -0
  171. package/dist/features/auth/components/ConfirmDeleteDialog.d.ts +30 -0
  172. package/dist/features/auth/components/ConfirmDeleteDialog.d.ts.map +1 -0
  173. package/dist/features/auth/components/FeatureGuard.d.ts +53 -0
  174. package/dist/features/auth/components/FeatureGuard.d.ts.map +1 -0
  175. package/dist/features/auth/components/GoogleOneTap.d.ts +19 -0
  176. package/dist/features/auth/components/GoogleOneTap.d.ts.map +1 -0
  177. package/dist/features/auth/components/LoginModal.d.ts +18 -0
  178. package/dist/features/auth/components/LoginModal.d.ts.map +1 -0
  179. package/dist/features/auth/components/MultipleAuthProviders.d.ts +37 -0
  180. package/dist/features/auth/components/MultipleAuthProviders.d.ts.map +1 -0
  181. package/dist/features/auth/components/ReauthDialog.d.ts +30 -0
  182. package/dist/features/auth/components/ReauthDialog.d.ts.map +1 -0
  183. package/dist/features/auth/components/index.d.ts +22 -0
  184. package/dist/features/auth/components/index.d.ts.map +1 -0
  185. package/dist/features/auth/hooks/index.d.ts +14 -0
  186. package/dist/features/auth/hooks/index.d.ts.map +1 -0
  187. package/dist/features/auth/hooks/useAuthState.d.ts +29 -0
  188. package/dist/features/auth/hooks/useAuthState.d.ts.map +1 -0
  189. package/dist/features/auth/hooks/useCanAccess.d.ts +25 -0
  190. package/dist/features/auth/hooks/useCanAccess.d.ts.map +1 -0
  191. package/dist/features/auth/hooks/useHasRole.d.ts +26 -0
  192. package/dist/features/auth/hooks/useHasRole.d.ts.map +1 -0
  193. package/dist/features/auth/hooks/useUserRole.d.ts +25 -0
  194. package/dist/features/auth/hooks/useUserRole.d.ts.map +1 -0
  195. package/dist/features/auth/index.d.ts +16 -0
  196. package/dist/features/auth/index.d.ts.map +1 -0
  197. package/dist/features/billing/components/ProductCard.d.ts +37 -0
  198. package/dist/features/billing/components/ProductCard.d.ts.map +1 -0
  199. package/dist/features/billing/components/SecurityNotice.d.ts +26 -0
  200. package/dist/features/billing/components/SecurityNotice.d.ts.map +1 -0
  201. package/dist/features/billing/components/StripeCheckoutButton.d.ts +41 -0
  202. package/dist/features/billing/components/StripeCheckoutButton.d.ts.map +1 -0
  203. package/dist/features/billing/components/SubscriptionManager.d.ts +29 -0
  204. package/dist/features/billing/components/SubscriptionManager.d.ts.map +1 -0
  205. package/dist/features/billing/components/index.d.ts +17 -0
  206. package/dist/features/billing/components/index.d.ts.map +1 -0
  207. package/dist/features/billing/index.d.ts +12 -0
  208. package/dist/features/billing/index.d.ts.map +1 -0
  209. package/dist/features/index.d.ts +12 -0
  210. package/dist/features/index.d.ts.map +1 -0
  211. package/dist/features/oauth/components/MultipleOAuthProviders.d.ts +42 -0
  212. package/dist/features/oauth/components/MultipleOAuthProviders.d.ts.map +1 -0
  213. package/dist/features/oauth/components/OAuthConnectionModal.d.ts +21 -0
  214. package/dist/features/oauth/components/OAuthConnectionModal.d.ts.map +1 -0
  215. package/dist/features/oauth/components/OAuthFallback.d.ts +22 -0
  216. package/dist/features/oauth/components/OAuthFallback.d.ts.map +1 -0
  217. package/dist/features/oauth/components/OAuthPartnerButton.d.ts +35 -0
  218. package/dist/features/oauth/components/OAuthPartnerButton.d.ts.map +1 -0
  219. package/dist/features/oauth/components/index.d.ts +17 -0
  220. package/dist/features/oauth/components/index.d.ts.map +1 -0
  221. package/dist/features/oauth/index.d.ts +11 -0
  222. package/dist/features/oauth/index.d.ts.map +1 -0
  223. package/dist/firebase/authPersistence.d.ts +23 -0
  224. package/dist/firebase/authPersistence.d.ts.map +1 -0
  225. package/dist/firebase/index.d.ts +10 -0
  226. package/dist/firebase/index.d.ts.map +1 -0
  227. package/dist/index.d.ts +18 -0
  228. package/dist/index.d.ts.map +1 -0
  229. package/dist/providers/ExpoAppProviders.d.ts +46 -0
  230. package/dist/providers/ExpoAppProviders.d.ts.map +1 -0
  231. package/dist/routing/components.d.ts +26 -0
  232. package/dist/routing/components.d.ts.map +1 -0
  233. package/dist/routing/hooks.d.ts +87 -0
  234. package/dist/routing/hooks.d.ts.map +1 -0
  235. package/dist/routing/index.d.ts +11 -0
  236. package/dist/routing/index.d.ts.map +1 -0
  237. package/dist/routing/utils/useFormStoreSafe.d.ts +15 -0
  238. package/dist/routing/utils/useFormStoreSafe.d.ts.map +1 -0
  239. package/dist/storage/AsyncStorageStrategy.d.ts +55 -0
  240. package/dist/storage/AsyncStorageStrategy.d.ts.map +1 -0
  241. package/dist/storage/zustandAsyncStorage.d.ts +22 -0
  242. package/dist/storage/zustandAsyncStorage.d.ts.map +1 -0
  243. package/dist/theme/ThemeProvider.d.ts +111 -0
  244. package/dist/theme/ThemeProvider.d.ts.map +1 -0
  245. package/dist/theme/index.d.ts +8 -0
  246. package/dist/theme/index.d.ts.map +1 -0
  247. package/dist/theme/tokens.d.ts +152 -0
  248. package/dist/theme/tokens.d.ts.map +1 -0
  249. package/dist/utils/constants.d.ts +73 -0
  250. package/dist/utils/constants.d.ts.map +1 -0
  251. package/dist/utils/helpers.d.ts +39 -0
  252. package/dist/utils/helpers.d.ts.map +1 -0
  253. package/dist/utils/index.d.ts +9 -0
  254. package/dist/utils/index.d.ts.map +1 -0
  255. package/dist/utils/theme-helpers.d.ts +29 -0
  256. package/dist/utils/theme-helpers.d.ts.map +1 -0
  257. package/dist/utils/useAuthSafe.d.ts +8 -0
  258. package/dist/utils/useAuthSafe.d.ts.map +1 -0
  259. package/dist/utils/variants.d.ts +25 -0
  260. package/dist/utils/variants.d.ts.map +1 -0
  261. package/package.json +85 -0
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @fileoverview SubscriptionManager component for Expo
3
+ * @description Subscription management component for React Native
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { ViewStyle } from 'react-native';
10
+ export interface SubscriptionManagerProps {
11
+ availablePlans?: Array<{
12
+ id: string;
13
+ name: string;
14
+ price: number;
15
+ currency: string;
16
+ priceId: string;
17
+ billingConfigKey: string;
18
+ }>;
19
+ allowPlanChange?: boolean;
20
+ }
21
+ /**
22
+ * SubscriptionManager - Subscription management component
23
+ */
24
+ export declare function SubscriptionManager({ availablePlans, allowPlanChange, style, testID, }: SubscriptionManagerProps & {
25
+ style?: ViewStyle;
26
+ testID?: string;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ export default SubscriptionManager;
29
+ //# sourceMappingURL=SubscriptionManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionManager.d.ts","sourceRoot":"","sources":["../../../../src/features/billing/components/SubscriptionManager.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAQH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC;QACrB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC,CAAC;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,cAAc,EACd,eAAsB,EACtB,KAAK,EACL,MAAM,GACP,EAAE,wBAAwB,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,2CAsDnE;AAED,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @fileoverview Billing components exports
3
+ * @description Exports for billing components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { ProductCard } from './ProductCard';
10
+ export type { ProductCardProps } from './ProductCard';
11
+ export { StripeCheckoutButton } from './StripeCheckoutButton';
12
+ export type { StripeCheckoutButtonProps } from './StripeCheckoutButton';
13
+ export { SecurityNotice } from './SecurityNotice';
14
+ export type { SecurityNoticeProps } from './SecurityNotice';
15
+ export { SubscriptionManager } from './SubscriptionManager';
16
+ export type { SubscriptionManagerProps } from './SubscriptionManager';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/billing/components/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @fileoverview Billing package exports for Expo
3
+ * @description Re-exports billing hooks and components with Expo-compatible components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { useStripeBilling } from '@donotdev/billing';
10
+ export type { BillingAuthState } from '@donotdev/billing';
11
+ export * from './components';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/billing/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,cAAc,cAAc,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @fileoverview Feature packages exports
3
+ * @description Exports for all feature packages with Expo-compatible components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export * from './auth';
10
+ export * from './billing';
11
+ export * from './oauth';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,cAAc,QAAQ,CAAC;AAGvB,cAAc,WAAW,CAAC;AAG1B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @fileoverview MultipleOAuthProviders component for Expo
3
+ * @description Display multiple OAuth provider buttons
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type OAuthPartnerId } from '@donotdev/core';
10
+ import type { ViewStyle } from 'react-native';
11
+ export interface MultipleOAuthProvidersProps {
12
+ /** OAuth providers to display */
13
+ providers?: OAuthPartnerId[];
14
+ /** Purpose for OAuth connections */
15
+ purpose?: 'api-access' | 'authentication';
16
+ /** Button variant to use */
17
+ variant?: string;
18
+ /** Layout of the provider buttons */
19
+ layout?: 'vertical' | 'horizontal' | 'grid';
20
+ /** Whether to show text labels on buttons */
21
+ showLabels?: boolean;
22
+ /** Whether buttons should take full width */
23
+ fullWidth?: boolean;
24
+ /** ARIA label for accessibility */
25
+ ariaLabel?: string;
26
+ /** Additional style */
27
+ style?: ViewStyle;
28
+ /** Test ID for testing */
29
+ testID?: string;
30
+ /** Callbacks */
31
+ onSuccess?: (result: any) => void;
32
+ onError?: (error: Error) => void;
33
+ }
34
+ /**
35
+ * MultipleOAuthProviders - Display multiple OAuth provider buttons
36
+ */
37
+ declare function MultipleOAuthProviders({ providers, purpose, variant, layout, showLabels, ariaLabel, fullWidth, onSuccess, onError, style, testID, }: MultipleOAuthProvidersProps & {
38
+ style?: ViewStyle;
39
+ testID?: string;
40
+ }): import("react/jsx-runtime").JSX.Element;
41
+ export default MultipleOAuthProviders;
42
+ //# sourceMappingURL=MultipleOAuthProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultipleOAuthProviders.d.ts","sourceRoot":"","sources":["../../../../src/features/oauth/components/MultipleOAuthProviders.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAA2B,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAI9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,2BAA2B;IAC1C,iCAAiC;IACjC,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,oCAAoC;IACpC,OAAO,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAAC;IAC1C,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qCAAqC;IACrC,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAC5C,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB;IAChB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAED;;GAEG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,OAAO,EACP,OAAO,EACP,MAAmB,EACnB,UAAiB,EACjB,SAAS,EACT,SAAS,EACT,SAAS,EACT,OAAO,EACP,KAAK,EACL,MAAM,GACP,EAAE,2BAA2B,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,2CAuBtE;AAED,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @fileoverview OAuthConnectionModal component for Expo
3
+ * @description Modal for OAuth connection
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export interface OAuthConnectionModalProps {
10
+ open: boolean;
11
+ onOpenChange: (open: boolean) => void;
12
+ purpose?: 'api-access' | 'authentication';
13
+ title?: string;
14
+ description?: string;
15
+ }
16
+ /**
17
+ * OAuthConnectionModal - Modal for OAuth connection
18
+ */
19
+ declare function OAuthConnectionModal({ open, onOpenChange, purpose, title, description, }: OAuthConnectionModalProps): import("react/jsx-runtime").JSX.Element;
20
+ export default OAuthConnectionModal;
21
+ //# sourceMappingURL=OAuthConnectionModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuthConnectionModal.d.ts","sourceRoot":"","sources":["../../../../src/features/oauth/components/OAuthConnectionModal.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAOH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,WAAW,GACZ,EAAE,yBAAyB,2CAgB3B;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @fileoverview OAuthFallback component for Expo
3
+ * @description Fallback component when OAuth is not available
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type ViewStyle } from 'react-native';
10
+ export interface OAuthFallbackProps {
11
+ message?: string;
12
+ showConnectButton?: boolean;
13
+ }
14
+ /**
15
+ * OAuthFallback - Fallback component when OAuth is not available
16
+ */
17
+ export declare function OAuthFallback({ message, showConnectButton, style, testID, }: OAuthFallbackProps & {
18
+ style?: ViewStyle;
19
+ testID?: string;
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ export default OAuthFallback;
22
+ //# sourceMappingURL=OAuthFallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuthFallback.d.ts","sourceRoot":"","sources":["../../../../src/features/oauth/components/OAuthFallback.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,iBAAyB,EACzB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,2CAa7D;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @fileoverview OAuthPartnerButton component for Expo
3
+ * @description OAuth provider button component
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type OAuthPartnerId } from '@donotdev/core';
10
+ import type { ViewStyle } from 'react-native';
11
+ export interface OAuthPartnerButtonProps {
12
+ /** Partner/provider ID (web compat alias: partnerId) */
13
+ partnerId?: OAuthPartnerId;
14
+ /** @deprecated Use partnerId instead */
15
+ providerId?: OAuthPartnerId;
16
+ /** Purpose for OAuth connection */
17
+ purpose?: 'api-access' | 'authentication';
18
+ /** Whether to show text label */
19
+ showLabel?: boolean;
20
+ /** Custom button content */
21
+ children?: React.ReactNode;
22
+ /** Whether button is disabled */
23
+ disabled?: boolean;
24
+ onSuccess?: (result?: any) => void;
25
+ onError?: (error: Error) => void;
26
+ }
27
+ /**
28
+ * OAuthPartnerButton - OAuth provider button component
29
+ */
30
+ declare function OAuthPartnerButton({ partnerId, providerId, purpose, showLabel, children, disabled, onSuccess, onError, style, testID, }: OAuthPartnerButtonProps & {
31
+ style?: ViewStyle;
32
+ testID?: string;
33
+ }): import("react/jsx-runtime").JSX.Element;
34
+ export default OAuthPartnerButton;
35
+ //# sourceMappingURL=OAuthPartnerButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuthPartnerButton.d.ts","sourceRoot":"","sources":["../../../../src/features/oauth/components/OAuthPartnerButton.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAKrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,wCAAwC;IACxC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,mCAAmC;IACnC,OAAO,CAAC,EAAE,YAAY,GAAG,gBAAgB,CAAC;IAC1C,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAED;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAO,EACP,KAAK,EACL,MAAM,GACP,EAAE,uBAAuB,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,2CAmClE;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @fileoverview OAuth components exports
3
+ * @description Exports for OAuth components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { default as MultipleOAuthProviders } from './MultipleOAuthProviders';
10
+ export type { MultipleOAuthProvidersProps } from './MultipleOAuthProviders';
11
+ export { default as OAuthConnectionModal } from './OAuthConnectionModal';
12
+ export type { OAuthConnectionModalProps } from './OAuthConnectionModal';
13
+ export { OAuthFallback } from './OAuthFallback';
14
+ export type { OAuthFallbackProps } from './OAuthFallback';
15
+ export { default as OAuthPartnerButton } from './OAuthPartnerButton';
16
+ export type { OAuthPartnerButtonProps } from './OAuthPartnerButton';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/oauth/components/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @fileoverview OAuth package exports for Expo
3
+ * @description Re-exports OAuth hooks and components with Expo-compatible components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { useOAuth } from '@donotdev/oauth';
10
+ export * from './components';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/oauth/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,cAAc,cAAc,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @fileoverview Firebase auth persistence for Expo
3
+ * @description Firebase auth initialization with AsyncStorage persistence
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ /**
10
+ * Initialize Firebase Auth with AsyncStorage persistence for Expo
11
+ *
12
+ * Use this instead of getAuth() when using Firebase in Expo apps.
13
+ * This ensures auth state persists across app restarts.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * import { initializeExpoAuth } from '@donotdev/expo/firebase';
18
+ * const auth = initializeExpoAuth();
19
+ * ```
20
+ */
21
+ export declare function initializeExpoAuth(): import("firebase/auth").Auth;
22
+ export default initializeExpoAuth;
23
+ //# sourceMappingURL=authPersistence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authPersistence.d.ts","sourceRoot":"","sources":["../../src/firebase/authPersistence.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAMH;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,iCAYjC;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @fileoverview Firebase exports for Expo
3
+ * @description Exports Firebase utilities for Expo
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { initializeExpoAuth } from './authPersistence';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/firebase/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @fileoverview Expo package
3
+ * @description React Native/Expo UI component library for DoNotDev framework
4
+ * @version 0.0.1
5
+ * @since 0.0.1
6
+ * @author AMBROISE PARK Consulting
7
+ */
8
+ export * from './atomic';
9
+ export * from './utils';
10
+ export * from './crud';
11
+ export * from './features';
12
+ export { AsyncStorageStrategy } from './storage/AsyncStorageStrategy';
13
+ export { zustandAsyncStorage } from './storage/zustandAsyncStorage';
14
+ export { ExpoAppProviders, getZustandAsyncStorage, } from './providers/ExpoAppProviders';
15
+ export * from './routing';
16
+ export * from './firebase';
17
+ export * from './theme';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAGH,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,QAAQ,CAAC;AAGvB,cAAc,YAAY,CAAC;AAG3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,EACL,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AAGtC,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @fileoverview Expo App Providers
3
+ * @description Provider wrapper for Expo apps with all framework providers
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { ReactNode } from 'react';
10
+ /**
11
+ * ExpoAppProviders - Provider wrapper for Expo apps
12
+ *
13
+ * Sets up:
14
+ * - AsyncStorageStrategy for StorageManager
15
+ * - Platform detection (Expo)
16
+ * - SafeAreaProvider for safe area handling
17
+ * - TanStack Query client
18
+ * - Zustand AsyncStorage persistence
19
+ *
20
+ * @version 0.0.1
21
+ * @since 0.0.1
22
+ * @author AMBROISE PARK Consulting
23
+ */
24
+ export declare function ExpoAppProviders({ children, userId, }: {
25
+ children: ReactNode;
26
+ userId?: string | null;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ /**
29
+ * Get Zustand AsyncStorage adapter for store persistence
30
+ * Use this in createDoNotDevStore persistOptions:
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const useMyStore = createDoNotDevStore({
35
+ * name: 'myStore',
36
+ * persistOptions: {
37
+ * name: 'myStore',
38
+ * storage: getZustandAsyncStorage(),
39
+ * },
40
+ * // ...
41
+ * });
42
+ * ```
43
+ */
44
+ export declare function getZustandAsyncStorage(): import("zustand/middleware").StateStorage<unknown>;
45
+ export default ExpoAppProviders;
46
+ //# sourceMappingURL=ExpoAppProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpoAppProviders.d.ts","sourceRoot":"","sources":["../../src/providers/ExpoAppProviders.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAWH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAqBvC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,2CAsCA;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,uDAErC;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @fileoverview Expo Router routing components
3
+ * @description Link and Navigate components for Expo Router
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type TouchableOpacityProps } from 'react-native';
10
+ import type { ReactNode } from 'react';
11
+ /**
12
+ * Link component for Expo Router
13
+ */
14
+ export declare function Link({ to, children, replace, ...props }: {
15
+ to: string;
16
+ children: ReactNode;
17
+ replace?: boolean;
18
+ } & TouchableOpacityProps): import("react/jsx-runtime").JSX.Element;
19
+ /**
20
+ * Navigate component (programmatic navigation)
21
+ * On mobile, this is typically handled by useNavigate hook
22
+ */
23
+ export declare function Navigate({ to }: {
24
+ to: string;
25
+ }): null;
26
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/routing/components.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,wBAAgB,IAAI,CAAC,EACnB,EAAE,EACF,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,qBAAqB,2CAMxB;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,QAI9C"}
@@ -0,0 +1,87 @@
1
+ /**
2
+ * @fileoverview Expo Router routing hooks
3
+ * @description Routing hooks implementation for Expo Router
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { NavigationRoute } from '@donotdev/core';
10
+ import type { NavigateOptions } from '@donotdev/ui';
11
+ import type { RedirectGuardOptions, RedirectGuardResult } from '@donotdev/ui';
12
+ /**
13
+ * Navigation hook for Expo Router
14
+ */
15
+ export declare function useNavigate(): (to: string, options?: NavigateOptions) => Promise<void>;
16
+ /**
17
+ * Go back hook
18
+ */
19
+ export declare function useBack(): () => void;
20
+ /**
21
+ * Refresh hook (no-op on mobile, equivalent to reload)
22
+ */
23
+ export declare function useRefresh(): () => void;
24
+ /**
25
+ * Prefetch hook (no-op on mobile)
26
+ */
27
+ export declare function usePrefetch(): () => void;
28
+ /**
29
+ * Location hook - returns pathname and search params
30
+ */
31
+ export declare function useLocation(): {
32
+ pathname: string;
33
+ search: string;
34
+ hash: string;
35
+ state: null;
36
+ key: string;
37
+ };
38
+ /**
39
+ * Route params hook
40
+ */
41
+ export declare function useParams(): Record<string, string | string[] | undefined>;
42
+ /**
43
+ * Single route param hook
44
+ */
45
+ export declare function useRouteParam(key: string): string | undefined;
46
+ /**
47
+ * Search params hook - returns URLSearchParams-like object
48
+ */
49
+ export declare function useSearchParams(): URLSearchParams;
50
+ /**
51
+ * Route match hook (simplified for Expo Router)
52
+ */
53
+ export declare function useMatch(pattern: string): boolean;
54
+ /**
55
+ * Query params hook with setter functionality.
56
+ * Uses router directly (not useNavigate) to avoid triggering the form
57
+ * navigation guard on URL-only query param updates.
58
+ */
59
+ export declare function useQueryParams(): {
60
+ query: URLSearchParams;
61
+ setQuery: (key: string, value: string) => void;
62
+ removeQuery: (key: string) => void;
63
+ clearQueries: () => void;
64
+ };
65
+ /**
66
+ * Redirect guard hook
67
+ */
68
+ export declare function useRedirectGuard(options?: RedirectGuardOptions): RedirectGuardResult;
69
+ /** Enhanced navigation item for UI components */
70
+ export interface NavigationItem extends NavigationRoute {
71
+ isActive: boolean;
72
+ hasChildren: boolean;
73
+ children?: NavigationItem[];
74
+ }
75
+ /**
76
+ * Auth-filtered navigation items for the current app.
77
+ * Used internally by useNavigationRoute.
78
+ */
79
+ export declare function useNavigationItems(): NavigationItem[];
80
+ /**
81
+ * Resolves a single navigation item by path.
82
+ * Returns undefined if the path is not registered or the user lacks access.
83
+ */
84
+ export declare function useNavigationRoute(path: string): NavigationItem | undefined;
85
+ export type { NavigateOptions } from '@donotdev/ui';
86
+ export type { RedirectGuardOptions, RedirectGuardResult } from '@donotdev/ui';
87
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/routing/hooks.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAYH,OAAO,KAAK,EAIV,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAKxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE9E;;GAEG;AACH,wBAAgB,WAAW,SAKZ,MAAM,YAAY,eAAe,mBAuB/C;AAED;;GAEG;AACH,wBAAgB,OAAO,eAGtB;AAED;;GAEG;AACH,wBAAgB,UAAU,eAKzB;AAED;;GAEG;AACH,wBAAgB,WAAW,eAI1B;AAED;;GAEG;AACH,wBAAgB,WAAW;;;;;;EAqB1B;AAED;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC,CAEzE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI7D;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,eAAe,CAWjD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAYjD;AAED;;;;GAIG;AACH,wBAAgB,cAAc;;oBAMpB,MAAM,SAAS,MAAM;uBAcrB,MAAM;;EAwBf;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,GAAE,oBAAyB,GACjC,mBAAmB,CAoGrB;AAED,iDAAiD;AACjD,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAQD;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,cAAc,EAAE,CAsBrD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAG3E;AAGD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @fileoverview Expo Router routing exports
3
+ * @description Exports for Expo Router routing hooks and components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export * from './hooks';
10
+ export * from './components';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routing/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @fileoverview Form store safe navigation check
3
+ * @description Safe navigation check for forms (works even if CRUD not installed)
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ /**
10
+ * Check if navigation is safe (no dirty forms)
11
+ * Shows a native Alert if there are dirty forms. Returns false to block navigation.
12
+ * Safe to call even if @donotdev/crud is not installed.
13
+ */
14
+ export declare function checkFormNavigationSafe(): Promise<boolean>;
15
+ //# sourceMappingURL=useFormStoreSafe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormStoreSafe.d.ts","sourceRoot":"","sources":["../../../src/routing/utils/useFormStoreSafe.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,OAAO,CAAC,CAuBhE"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @fileoverview AsyncStorage strategy
3
+ * @description Storage strategy implementation using React Native AsyncStorage
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { StorageOptions } from '@donotdev/core';
10
+ import { BaseStorageStrategy } from '@donotdev/core';
11
+ /**
12
+ * Storage strategy using React Native AsyncStorage
13
+ *
14
+ * Provides async storage using React Native's AsyncStorage API.
15
+ * Drop-in replacement for LocalStorageStrategy on mobile platforms.
16
+ *
17
+ * @version 0.0.1
18
+ * @since 0.0.1
19
+ * @author AMBROISE PARK Consulting
20
+ */
21
+ export declare class AsyncStorageStrategy extends BaseStorageStrategy {
22
+ /**
23
+ * User ID for user-scoped storage
24
+ * Can be null for non-authenticated users (only global/session storage available)
25
+ */
26
+ private userId;
27
+ /**
28
+ * Create a new AsyncStorageStrategy
29
+ * @param userId Optional user ID for user-scoped storage
30
+ */
31
+ constructor(userId?: string | null);
32
+ /**
33
+ * Set the current user ID
34
+ * @param userId User ID or null
35
+ */
36
+ setUserId(userId: string | null): void;
37
+ /**
38
+ * Retrieve data from AsyncStorage
39
+ */
40
+ get<T>(key: string, options?: StorageOptions): Promise<T | null>;
41
+ /**
42
+ * Store data in AsyncStorage
43
+ */
44
+ set<T>(key: string, value: T, options?: StorageOptions): Promise<void>;
45
+ /**
46
+ * Remove data from AsyncStorage
47
+ */
48
+ remove(key: string): Promise<void>;
49
+ /**
50
+ * Clear all data in the specified scope
51
+ */
52
+ clear(scope?: 'user' | 'global' | 'session'): Promise<void>;
53
+ }
54
+ export default AsyncStorageStrategy;
55
+ //# sourceMappingURL=AsyncStorageStrategy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AsyncStorageStrategy.d.ts","sourceRoot":"","sources":["../../src/storage/AsyncStorageStrategy.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAe,MAAM,gBAAgB,CAAC;AAElE;;;;;;;;;GASG;AACH,qBAAa,oBAAqB,SAAQ,mBAAmB;IAC3D;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAuB;IAErC;;;OAGG;gBACS,MAAM,GAAE,MAAM,GAAG,IAAW;IAKxC;;;OAGG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAI7C;;OAEG;IACU,GAAG,CAAC,CAAC,EAChB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,cAAmB,GAC3B,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IA+CpB;;OAEG;IACU,GAAG,CAAC,CAAC,EAChB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,CAAC,EACR,OAAO,GAAE,cAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC;IAuChB;;OAEG;IACU,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsB/C;;OAEG;IACU,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBzE;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @fileoverview Zustand AsyncStorage adapter
3
+ * @description StateStorage adapter for zustand persist middleware using AsyncStorage
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { StateStorage } from 'zustand/middleware';
10
+ /**
11
+ * Zustand StateStorage adapter for AsyncStorage
12
+ *
13
+ * Provides persistence for zustand stores using React Native AsyncStorage.
14
+ * Drop-in replacement for localStorage-based persistence on mobile platforms.
15
+ *
16
+ * @version 0.0.1
17
+ * @since 0.0.1
18
+ * @author AMBROISE PARK Consulting
19
+ */
20
+ export declare const zustandAsyncStorage: StateStorage;
21
+ export default zustandAsyncStorage;
22
+ //# sourceMappingURL=zustandAsyncStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zustandAsyncStorage.d.ts","sourceRoot":"","sources":["../../src/storage/zustandAsyncStorage.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAwCjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}