@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,146 @@
1
+ /**
2
+ * @fileoverview Atomic Components
3
+ * @description Atomic UI components for DoNotDev Expo framework
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { default as Button } from './Button';
10
+ export { BUTTON_VARIANT } from './Button';
11
+ export type { ButtonProps, ButtonVariant } from './Button';
12
+ export { default as Card, renderCardContent, renderCardHeader } from './Card';
13
+ export type { CardProps, CardVariant, CardContent } from './Card';
14
+ export { default as Input } from './Input';
15
+ export type { InputProps } from './Input';
16
+ export { default as Stack } from './Stack';
17
+ export { STACK_DIRECTION, STACK_ALIGN, STACK_JUSTIFY } from './Stack';
18
+ export type { StackProps, StackDirection, StackAlign, StackJustify, } from './Stack';
19
+ export { default as Text } from './Text';
20
+ export { TEXT_VARIANT, TEXT_LEVEL } from './Text';
21
+ export type { TextProps, TextVariant, TextLevel } from './Text';
22
+ export { default as Alert } from './Alert';
23
+ export { ALERT_VARIANT } from './Alert';
24
+ export type { AlertProps, AlertVariant } from './Alert';
25
+ export { default as Avatar } from './Avatar';
26
+ export type { AvatarProps } from './Avatar';
27
+ export { default as Badge } from './Badge';
28
+ export { BADGE_VARIANT } from './Badge';
29
+ export type { BadgeProps, BadgeVariant } from './Badge';
30
+ export { default as Checkbox } from './Checkbox';
31
+ export type { CheckboxProps } from './Checkbox';
32
+ export { default as Separator } from './Separator';
33
+ export { SEPARATOR_ORIENTATION } from './Separator';
34
+ export type { SeparatorProps, SeparatorOrientation } from './Separator';
35
+ export { default as Switch } from './Switch';
36
+ export type { SwitchProps } from './Switch';
37
+ export { default as Label } from './Label';
38
+ export type { LabelProps } from './Label';
39
+ export { default as List } from './List';
40
+ export type { ListProps, ListItem } from './List';
41
+ export { default as Progress } from './Progress';
42
+ export type { ProgressProps } from './Progress';
43
+ export { default as Skeleton } from './Skeleton';
44
+ export type { SkeletonProps } from './Skeleton';
45
+ export { default as Spinner } from './Spinner';
46
+ export type { SpinnerProps } from './Spinner';
47
+ export { default as Textarea } from './Textarea';
48
+ export type { TextareaProps } from './Textarea';
49
+ export { default as PasswordInput } from './PasswordInput';
50
+ export type { PasswordInputProps } from './PasswordInput';
51
+ export { default as Tag } from './Tag';
52
+ export { TAG_VARIANT } from './Tag';
53
+ export type { TagProps, TagVariant } from './Tag';
54
+ export { default as Blockquote } from './Blockquote';
55
+ export { BLOCKQUOTE_VARIANT } from './Blockquote';
56
+ export type { BlockquoteProps, BlockquoteVariant } from './Blockquote';
57
+ export { default as Section } from './Section';
58
+ export type { SectionProps } from './Section';
59
+ export { default as Slot } from './Slot';
60
+ export type { SlotProps } from './Slot';
61
+ export { default as VisuallyHidden } from './VisuallyHidden';
62
+ export type { VisuallyHiddenProps } from './VisuallyHidden';
63
+ export { default as RadioGroup } from './RadioGroup';
64
+ export type { RadioGroupProps, RadioOption } from './RadioGroup';
65
+ export { default as RangeInput } from './RangeInput';
66
+ export type { RangeInputProps } from './RangeInput';
67
+ export { default as Rating } from './Rating';
68
+ export type { RatingProps } from './Rating';
69
+ export { default as Slider } from './Slider';
70
+ export type { SliderProps } from './Slider';
71
+ export { default as Toggle } from './Toggle';
72
+ export type { ToggleProps } from './Toggle';
73
+ export { default as ToggleGroup } from './ToggleGroup';
74
+ export type { ToggleGroupProps, ToggleOption } from './ToggleGroup';
75
+ export { default as Accordion } from './Accordion';
76
+ export type { AccordionProps, AccordionItemType } from './Accordion';
77
+ export { default as Collapsible } from './Collapsible';
78
+ export type { CollapsibleProps } from './Collapsible';
79
+ export { default as Grid, GridArea } from './Grid';
80
+ export type { GridProps, GridAreaProps, ResponsiveCols } from './Grid';
81
+ export { default as Pagination } from './Pagination';
82
+ export type { PaginationProps } from './Pagination';
83
+ export { default as Dialog } from './Dialog';
84
+ export type { DialogProps, ContentSize } from './Dialog';
85
+ export { default as Sheet, SHEET_VARIANT } from './Sheet';
86
+ export type { SheetProps, SheetVariant } from './Sheet';
87
+ export { default as Select } from './Select';
88
+ export type { SelectProps, SelectOption } from './Select';
89
+ export { default as Tabs } from './Tabs';
90
+ export type { TabsProps, TabItem } from './Tabs';
91
+ export { default as Tooltip, TooltipProvider } from './Tooltip';
92
+ export type { TooltipProps } from './Tooltip';
93
+ export { default as AlertDialog } from './AlertDialog';
94
+ export type { AlertDialogProps } from './AlertDialog';
95
+ export { default as Stepper } from './Stepper';
96
+ export type { StepperProps, StepperStep } from './Stepper';
97
+ export { default as DescriptionList } from './DescriptionList';
98
+ export type { DescriptionListProps, DescriptionItem } from './DescriptionList';
99
+ export { default as Popover, POPOVER_VARIANT } from './Popover';
100
+ export type { PopoverProps, PopoverVariant } from './Popover';
101
+ export { default as CopyToClipboard } from './CopyToClipboard';
102
+ export type { CopyToClipboardProps } from './CopyToClipboard';
103
+ export { default as DualCard } from './DualCard';
104
+ export type { DualCardProps } from './DualCard';
105
+ export { default as CallToAction } from './CallToAction';
106
+ export type { CallToActionProps } from './CallToAction';
107
+ export { default as HeroSection } from './HeroSection';
108
+ export type { HeroSectionProps } from './HeroSection';
109
+ export { default as Combobox } from './Combobox';
110
+ export type { ComboboxProps, ComboboxOption } from './Combobox';
111
+ export { default as Command } from './Command';
112
+ export type { CommandProps, CommandItem, CommandGroup } from './Command';
113
+ export { default as CommandDialog } from './CommandDialog';
114
+ export type { CommandDialogProps } from './CommandDialog';
115
+ export { useCommandDialogClose } from './CommandDialog';
116
+ export { default as ContextMenu } from './ContextMenu';
117
+ export type { ContextMenuProps, ContextMenuItemType } from './ContextMenu';
118
+ export { default as DropdownMenu } from './DropdownMenu';
119
+ export type { DropdownMenuProps, DropdownMenuItemData } from './DropdownMenu';
120
+ export { default as HoverCard } from './HoverCard';
121
+ export type { HoverCardProps } from './HoverCard';
122
+ export { default as NavigationMenu } from './NavigationMenu';
123
+ export type { NavigationMenuProps, NavigationMenuItem } from './NavigationMenu';
124
+ export { default as Table, DataTable } from './Table';
125
+ export type { TableColumn, DataTableProps } from './Table';
126
+ export { default as ScrollArea, ScrollBar } from './ScrollArea';
127
+ export type { ScrollAreaProps } from './ScrollArea';
128
+ export { default as Portal } from './Portal';
129
+ export type { PortalProps } from './Portal';
130
+ export { default as PortalButton } from './PortalButton';
131
+ export type { PortalButtonProps } from './PortalButton';
132
+ export { default as FileButton } from './FileButton';
133
+ export type { FileButtonProps } from './FileButton';
134
+ export { default as FeatureFallback, withFeatureFallback, } from './FeatureFallback';
135
+ export type { FeatureFallbackProps } from './FeatureFallback';
136
+ export { default as InfiniteScroll } from './InfiniteScroll';
137
+ export type { InfiniteScrollProps } from './InfiniteScroll';
138
+ export { default as VideoPlayer } from './VideoPlayer';
139
+ export type { VideoPlayerProps, VideoConfig } from './VideoPlayer';
140
+ export { default as Calendar } from './Calendar';
141
+ export type { CalendarProps } from './Calendar';
142
+ export { default as Toaster, ToastProvider, ToastAction } from './Toaster';
143
+ export type { ToasterToast } from './Toaster';
144
+ export { default as Icon } from './Icons';
145
+ export type { IconProps } from './Icons';
146
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atomic/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC9E,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAElE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACtE,YAAY,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,GACb,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,O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AC;AAE9C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @fileoverview DateFilter Component
3
+ * @description Date filter component for Expo
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export type DateFilterValue = {
10
+ min?: string;
11
+ max?: string;
12
+ };
13
+ export interface DateFilterProps {
14
+ label: string;
15
+ fieldType: 'date' | 'week' | 'month' | 'year';
16
+ value?: DateFilterValue;
17
+ onChange: (value: DateFilterValue | undefined) => void;
18
+ tCrud: (key: string, opts?: {
19
+ defaultValue?: string;
20
+ }) => string;
21
+ locale?: string;
22
+ testID?: string;
23
+ }
24
+ /**
25
+ * DateFilter - Simple date filter component
26
+ */
27
+ export declare function DateFilter({ label, fieldType, value, onChange, tCrud, locale, testID, }: DateFilterProps): import("react/jsx-runtime").JSX.Element;
28
+ export default DateFilter;
29
+ //# sourceMappingURL=DateFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateFilter.d.ts","sourceRoot":"","sources":["../../../src/crud/components/DateFilter.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAOH,MAAM,MAAM,eAAe,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC9C,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,KAAK,IAAI,CAAC;IACvD,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,SAAS,EACT,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAa,EACb,MAAM,GACP,EAAE,eAAe,2CA2MjB;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @fileoverview DisplayFieldRenderer component
3
+ * @description Renders field values as read-only display
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { FieldType, EntityField } from '@donotdev/core';
10
+ import type { ReactElement } from 'react';
11
+ export interface DisplayFieldRendererProps<T extends FieldType = FieldType> {
12
+ name: string;
13
+ config: EntityField<T>;
14
+ value: any;
15
+ t: (key: string, options?: Record<string, any>) => string;
16
+ }
17
+ /**
18
+ * Formats a value for display based on field type
19
+ */
20
+ export declare function formatValue(value: any, config: EntityField, t: (key: string, options?: Record<string, any>) => string, options?: {
21
+ compact?: boolean;
22
+ asString?: boolean;
23
+ }): string | ReactElement;
24
+ /**
25
+ * DisplayFieldRenderer - Renders a field value as read-only display
26
+ */
27
+ export declare function DisplayFieldRenderer<T extends FieldType = FieldType>({ name, config, value, t, }: DisplayFieldRendererProps<T>): ReactElement;
28
+ export default DisplayFieldRenderer;
29
+ //# sourceMappingURL=DisplayFieldRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisplayFieldRenderer.d.ts","sourceRoot":"","sources":["../../../src/crud/components/DisplayFieldRenderer.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACvB,KAAK,EAAE,GAAG,CAAC;IACX,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC;CAC3D;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,GAAG,EACV,MAAM,EAAE,WAAW,EACnB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,EACzD,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAClD,MAAM,GAAG,YAAY,CA2CvB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,EACpE,IAAI,EACJ,MAAM,EACN,KAAK,EACL,CAAC,GACF,EAAE,yBAAyB,CAAC,CAAC,CAAC,GAAG,YAAY,CAuB7C;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @fileoverview Entity Card List Component for Expo
3
+ * @description Card grid view for public/user-facing entity browsing using React Native components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { EntityCardListProps } from '@donotdev/core';
10
+ export type { EntityCardListProps };
11
+ /**
12
+ * Entity Card List Component - Card grid view for public/user-facing browsing
13
+ *
14
+ * Features:
15
+ * - Responsive card grid layout
16
+ * - Image + key fields display
17
+ * - Click card to navigate to detail
18
+ * - Simple formatted text display (labels + values)
19
+ * - Empty state handling
20
+ * - Auto-routing when handler not provided
21
+ */
22
+ export declare function EntityCardList({ entity, basePath, onClick, cols, staleTime, // 30 minutes default cache
23
+ filter, hideFilters, }: EntityCardListProps): import("react/jsx-runtime").JSX.Element;
24
+ export default EntityCardList;
25
+ //# sourceMappingURL=EntityCardList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityCardList.d.ts","sourceRoot":"","sources":["../../../src/crud/components/EntityCardList.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AA4BH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,QAAQ,EACR,OAAO,EACP,IAAmB,EACnB,SAA0B,EAAE,2BAA2B;AACvD,MAAM,EACN,WAAmB,GACpB,EAAE,mBAAmB,2CAuPrB;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @fileoverview EntityDisplayRenderer component
3
+ * @description Automatically fetches and displays entity data in read-only mode
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { Entity } from '@donotdev/core';
10
+ import type { ViewStyle } from 'react-native';
11
+ export interface EntityDisplayRendererProps<T extends Record<string, unknown> = Record<string, unknown>> {
12
+ entity: Entity;
13
+ id: string;
14
+ t?: (key: string, options?: Record<string, unknown>) => string;
15
+ style?: ViewStyle;
16
+ loadingMessage?: string;
17
+ notFoundMessage?: string;
18
+ viewerRole?: string;
19
+ testID?: string;
20
+ }
21
+ /**
22
+ * EntityDisplayRenderer - Automatically fetches and displays entity data
23
+ */
24
+ export declare function EntityDisplayRenderer<T extends Record<string, unknown> = Record<string, unknown>>({ entity, id, t, style, loadingMessage, notFoundMessage, viewerRole: viewerRoleProp, testID, }: EntityDisplayRendererProps<T>): import("react/jsx-runtime").JSX.Element;
25
+ export default EntityDisplayRenderer;
26
+ //# sourceMappingURL=EntityDisplayRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityDisplayRenderer.d.ts","sourceRoot":"","sources":["../../../src/crud/components/EntityDisplayRenderer.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAM7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,0BAA0B,CACzC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAE3D,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,EACA,MAAM,EACN,EAAE,EACF,CAAC,EACD,KAAK,EACL,cAAc,EACd,eAAe,EACf,UAAU,EAAE,cAAc,EAC1B,MAAM,GACP,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CA0I/B;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @fileoverview EntityFilters component
3
+ * @description Auto-generates filters based on entity field types
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type DateFilterValue } from './DateFilter';
10
+ import type { Entity } from '@donotdev/core';
11
+ import type { ViewStyle } from 'react-native';
12
+ /**
13
+ * Shared filter utility - checks if an item matches a filter value
14
+ */
15
+ export declare function matchesFilter(itemValue: any, filterValue: string | {
16
+ min?: string;
17
+ max?: string;
18
+ } | string[] | DateFilterValue, fieldType: string): boolean;
19
+ export interface EntityFiltersProps<T extends Record<string, any> & {
20
+ id: string;
21
+ } = Record<string, any> & {
22
+ id: string;
23
+ }> {
24
+ entity: Entity;
25
+ data?: T[];
26
+ fieldsToFilter?: string[];
27
+ variant?: 'inline' | 'sidebar';
28
+ style?: ViewStyle;
29
+ testID?: string;
30
+ }
31
+ /**
32
+ * EntityFilters - Auto-generates filter UI based on entity field types
33
+ */
34
+ export declare function EntityFilters<T extends Record<string, any> & {
35
+ id: string;
36
+ } = Record<string, any> & {
37
+ id: string;
38
+ }>({ entity, data: dataProp, fieldsToFilter, variant, style, testID, }: EntityFiltersProps<T>): import("react/jsx-runtime").JSX.Element;
39
+ export default EntityFilters;
40
+ //# sourceMappingURL=EntityFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFilters.d.ts","sourceRoot":"","sources":["../../../src/crud/components/EntityFilters.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAaH,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAQ7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;GAEG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,GAAG,EACd,WAAW,EACP,MAAM,GACN;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9B,MAAM,EAAE,GACR,eAAe,EACnB,SAAS,EAAE,MAAM,GAChB,OAAO,CA0DT;AAED,MAAM,WAAW,kBAAkB,CACjC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IACrE,EAAE,EAAE,MAAM,CAAC;CACZ;IAED,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IACrE,EAAE,EAAE,MAAM,CAAC;CACZ,EACD,EACA,MAAM,EACN,IAAI,EAAE,QAAQ,EACd,cAAc,EACd,OAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,CAAC,CAAC,CAAC,2CAoLvB;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * @fileoverview EntityFormRenderer component
3
+ * @description Renders a form from entity definition with navigation support.
4
+ * Supports cancelPath/successPath for optimistic navigation after submit/cancel.
5
+ *
6
+ * @version 0.0.2
7
+ * @since 0.0.1
8
+ * @author AMBROISE PARK Consulting
9
+ */
10
+ import type { Entity } from '@donotdev/core';
11
+ import type { ViewerRole } from '@donotdev/crud';
12
+ import type { ViewStyle } from 'react-native';
13
+ export interface EntityFormRendererProps<T extends Record<string, unknown> = Record<string, unknown>> {
14
+ /** Entity definition */
15
+ entity: Entity;
16
+ /** Form submission handler */
17
+ onSubmit: (data: T) => void | Promise<void>;
18
+ /** Translation function */
19
+ t?: (key: string, options?: Record<string, unknown>) => string;
20
+ /** Additional style */
21
+ style?: ViewStyle;
22
+ /** Submit button text */
23
+ submitText?: string;
24
+ /** Whether form data is loading */
25
+ loading?: boolean;
26
+ /** Initial form values */
27
+ defaultValues?: Partial<T>;
28
+ /** Submit button variant */
29
+ submitVariant?: 'primary' | 'destructive' | 'outline' | 'ghost' | 'link';
30
+ /** Secondary button text */
31
+ secondaryButtonText?: string;
32
+ /** Secondary button variant */
33
+ secondaryButtonVariant?: 'primary' | 'destructive' | 'outline' | 'ghost' | 'link';
34
+ /** Secondary button submission handler */
35
+ onSecondarySubmit?: (data: T) => void | Promise<void>;
36
+ /** Current viewer's role */
37
+ viewerRole?: ViewerRole;
38
+ /** Form operation type */
39
+ operation?: 'create' | 'edit';
40
+ /** Enable auto-save */
41
+ autoSave?: boolean;
42
+ /** Optional form ID */
43
+ formId?: string;
44
+ /** Cancel button text */
45
+ cancelText?: string | null;
46
+ /** Path to navigate to on cancel (uses navigate('back') if not set) */
47
+ cancelPath?: string;
48
+ /** Path to navigate to after successful submit (uses navigate('back') if not set) */
49
+ successPath?: string;
50
+ /** Callback when cancel is clicked (takes precedence over cancelPath) */
51
+ onCancel?: () => void;
52
+ /** Whether to show unsaved changes warning */
53
+ warnOnUnsavedChanges?: boolean;
54
+ /** Custom message for unsaved changes */
55
+ unsavedChangesMessage?: string;
56
+ /** Whether to hide visibility info */
57
+ hideVisibilityInfo?: boolean;
58
+ /** Test ID for testing */
59
+ testID?: string;
60
+ }
61
+ /**
62
+ * EntityFormRenderer - Renders a form from entity definition
63
+ */
64
+ export declare function EntityFormRenderer<T extends Record<string, any> = any>({ entity, onSubmit, t, style, submitText, loading, defaultValues, submitVariant, secondaryButtonText, secondaryButtonVariant, onSecondarySubmit, viewerRole: viewerRoleProp, operation, autoSave, formId: externalFormId, cancelText, cancelPath, successPath, onCancel, warnOnUnsavedChanges, unsavedChangesMessage, hideVisibilityInfo, testID, }: EntityFormRendererProps<T>): import("react/jsx-runtime").JSX.Element;
65
+ export default EntityFormRenderer;
66
+ //# sourceMappingURL=EntityFormRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFormRenderer.d.ts","sourceRoot":"","sources":["../../../src/crud/components/EntityFormRenderer.tsx"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AASH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAU7C,OAAO,KAAK,EAAE,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,uBAAuB,CACtC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAE3D,wBAAwB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,2BAA2B;IAC3B,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;IAC/D,uBAAuB;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,aAAa,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACzE,4BAA4B;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+BAA+B;IAC/B,sBAAsB,CAAC,EACnB,SAAS,GACT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1B,MAAM,GACP,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CAmL5B;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @fileoverview Entity List Component for Expo
3
+ * @description Table view for admin/internal CRUD operations using React Native components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { EntityListProps } from '@donotdev/core';
10
+ export type { EntityListProps };
11
+ /**
12
+ * Entity List Component - Table view for admin/internal operations
13
+ *
14
+ * Features:
15
+ * - Filters section (collapsible) with actions and filter inputs
16
+ * - Results section with DataTable
17
+ * - Excel-like table display with formatted values
18
+ * - Edit and Delete actions (admin only)
19
+ * - Auto-routing when handlers not provided
20
+ */
21
+ export declare function EntityList({ entity, userRole, basePath, onClick, hideFilters, pagination, pageSize: pageSizeProp, queryOptions, exportable, }: EntityListProps): import("react/jsx-runtime").JSX.Element;
22
+ export default EntityList;
23
+ //# sourceMappingURL=EntityList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityList.d.ts","sourceRoot":"","sources":["../../../src/crud/components/EntityList.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAqBH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,QAAkB,EAClB,QAAQ,EACR,OAAO,EACP,WAAmB,EACnB,UAAqB,EACrB,QAAQ,EAAE,YAAY,EACtB,YAAY,EACZ,UAAiB,GAClB,EAAE,eAAe,2CAkOjB;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @fileoverview FormFieldRenderer component
3
+ * @description Renders form fields using FieldRegistry
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { EntityField, FieldType, ValueTypeForField } from '@donotdev/core';
10
+ import type { ReactElement } from 'react';
11
+ import type { Control, FieldValues } from 'react-hook-form';
12
+ interface FormFieldRendererBaseProps<T extends FieldType = FieldType> {
13
+ name: string;
14
+ config: EntityField<T>;
15
+ t: (key: string, options?: Record<string, any>) => string;
16
+ viewerRole?: string;
17
+ }
18
+ interface UncontrolledProps<T extends FieldType> extends FormFieldRendererBaseProps<T> {
19
+ value: ValueTypeForField<T>;
20
+ onChange: (value: ValueTypeForField<T>) => void;
21
+ error?: string;
22
+ control?: never;
23
+ errors?: never;
24
+ }
25
+ interface ControlledProps<T extends FieldType, TFieldValues extends FieldValues = FieldValues> extends FormFieldRendererBaseProps<T> {
26
+ control: Control<TFieldValues>;
27
+ errors: Record<string, any>;
28
+ value?: never;
29
+ onChange?: never;
30
+ error?: never;
31
+ }
32
+ export type FormFieldRendererProps<T extends FieldType, TFieldValues extends FieldValues = FieldValues> = UncontrolledProps<T> | ControlledProps<T, TFieldValues>;
33
+ /**
34
+ * FormFieldRenderer - renders fields via registry lookup
35
+ */
36
+ export declare function FormFieldRenderer<T extends FieldType, TFieldValues extends FieldValues = FieldValues>({ name, config, t, viewerRole, ...props }: FormFieldRendererProps<T, TFieldValues>): ReactElement;
37
+ export default FormFieldRenderer;
38
+ //# sourceMappingURL=FormFieldRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormFieldRenderer.d.ts","sourceRoot":"","sources":["../../../src/crud/components/FormFieldRenderer.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAO5D,UAAU,0BAA0B,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS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V,GAAG,KAAK,EACT,EAAE,sBAAsB,CAAC,CAAC,EAAE,YAAY,CAAC,GAAG,YAAY,CAwExD;AAED,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @fileoverview FormLayout component
3
+ * @description Enhanced form layout for Expo
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { ReactNode } from 'react';
10
+ import type { UseFormReturn, FieldValues } from 'react-hook-form';
11
+ import type { ViewStyle } from 'react-native';
12
+ export interface FormLayoutProps<T extends FieldValues> {
13
+ title: string;
14
+ onSubmit: (data: T) => void | Promise<void>;
15
+ children: ReactNode;
16
+ formMethods: UseFormReturn<T>;
17
+ loading?: boolean;
18
+ submitText?: string;
19
+ cancelText?: string;
20
+ showCancel?: boolean;
21
+ onCancel?: () => void;
22
+ variant?: 'default' | 'card' | 'minimal';
23
+ columns?: 1 | 2 | 3 | 4;
24
+ description?: string;
25
+ style?: ViewStyle;
26
+ testID?: string;
27
+ }
28
+ /**
29
+ * Enhanced FormLayout with modern UX features
30
+ */
31
+ declare const FormLayout: <T extends FieldValues>({ title, onSubmit, children, formMethods, loading, submitText, cancelText, showCancel, onCancel, variant, columns, description, style, testID, }: FormLayoutProps<T>) => import("react/jsx-runtime").JSX.Element;
32
+ export default FormLayout;
33
+ //# sourceMappingURL=FormLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormLayout.d.ts","sourceRoot":"","sources":["../../../src/crud/components/FormLayout.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAQH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,WAAW;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAAE,kJAexC,eAAe,CAAC,CAAC,CAAC,4CAoEpB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @fileoverview CRUD components exports
3
+ * @description Exports for CRUD components
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { EntityFormRenderer } from './EntityFormRenderer';
10
+ export type { EntityFormRendererProps } from './EntityFormRenderer';
11
+ export { EntityDisplayRenderer } from './EntityDisplayRenderer';
12
+ export type { EntityDisplayRendererProps } from './EntityDisplayRenderer';
13
+ export { EntityList } from './EntityList';
14
+ export type { EntityListProps } from './EntityList';
15
+ export { EntityCardList } from './EntityCardList';
16
+ export type { EntityCardListProps } from './EntityCardList';
17
+ export { EntityFilters, matchesFilter } from './EntityFilters';
18
+ export type { EntityFiltersProps } from './EntityFilters';
19
+ export { FormFieldRenderer } from './FormFieldRenderer';
20
+ export type { FormFieldRendererProps } from './FormFieldRenderer';
21
+ export { DisplayFieldRenderer, formatValue } from './DisplayFieldRenderer';
22
+ export type { DisplayFieldRendererProps } from './DisplayFieldRenderer';
23
+ export { DateFilter } from './DateFilter';
24
+ export type { DateFilterProps, DateFilterValue } from './DateFilter';
25
+ export { default as FormLayout } from './FormLayout';
26
+ export type { FormLayoutProps } from './FormLayout';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/crud/components/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/D,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC3E,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @fileoverview Upload Context
3
+ * @description Provides formId to upload components via context
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { ReactNode } from 'react';
10
+ export interface UploadProviderProps {
11
+ formId?: string;
12
+ children: ReactNode;
13
+ }
14
+ /**
15
+ * UploadProvider - Provides formId to upload components via context
16
+ */
17
+ export declare function UploadProvider({ formId, children }: UploadProviderProps): import("react/jsx-runtime").JSX.Element;
18
+ /**
19
+ * useUploadContext - Get formId for upload components
20
+ */
21
+ export declare function useUploadContext(): string | undefined;
22
+ //# sourceMappingURL=UploadContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadContext.d.ts","sourceRoot":"","sources":["../../../src/crud/contexts/UploadContext.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAIvE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAErD"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @fileoverview useEntityForm hook
3
+ * @description Hook for entity form management
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ export { useEntityForm } from '@donotdev/crud';
10
+ export type { UseEntityFormOptions, EntityFormReturn } from '@donotdev/crud';
11
+ //# sourceMappingURL=useEntityForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEntityForm.d.ts","sourceRoot":"","sources":["../../../../src/crud/forms/hooks/useEntityForm.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,YAAY,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @fileoverview Unsaved changes warning hooks
3
+ * @description Hooks for handling unsaved changes warnings with native Alert dialog
4
+ *
5
+ * @version 0.0.2
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ /**
10
+ * Hook to warn about unsaved changes.
11
+ * Shows a native Alert dialog when the user presses the hardware back button.
12
+ * On "Discard", calls `onDiscard` to navigate back (falls back to router.back
13
+ * via Expo Router if no callback provided).
14
+ */
15
+ export declare function useUnsavedChangesWarning(isDirty: boolean, message?: string, onDiscard?: () => void): void;
16
+ /**
17
+ * Hook to confirm navigation with a callback.
18
+ * Shows a native Alert dialog; calls onConfirm if user chooses to discard.
19
+ */
20
+ export declare function useConfirmNavigation(isDirty: boolean, onConfirm: () => void): {
21
+ showConfirmation: () => void;
22
+ };
23
+ //# sourceMappingURL=useUnsavedChangesWarning.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useUnsavedChangesWarning.d.ts","sourceRoot":"","sources":["../../../src/crud/hooks/useUnsavedChangesWarning.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAQH;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,MAAM,IAAI,QAiCvB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI;;EAqB3E"}