@sincpro/mobile-ui 0.1.2

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 (659) hide show
  1. package/README.md +32 -0
  2. package/lib/module/Dialog/BottomSheet/BottomSheet.Root.js +481 -0
  3. package/lib/module/Dialog/BottomSheet/BottomSheet.Root.js.map +1 -0
  4. package/lib/module/Dialog/BottomSheet/index.js +4 -0
  5. package/lib/module/Dialog/BottomSheet/index.js.map +1 -0
  6. package/lib/module/Dialog/Confirmation.context.js +108 -0
  7. package/lib/module/Dialog/Confirmation.context.js.map +1 -0
  8. package/lib/module/Dialog/Dialog.Confirmation.js +69 -0
  9. package/lib/module/Dialog/Dialog.Confirmation.js.map +1 -0
  10. package/lib/module/Dialog/Dialog.EditValue.js +115 -0
  11. package/lib/module/Dialog/Dialog.EditValue.js.map +1 -0
  12. package/lib/module/Dialog/index.js +14 -0
  13. package/lib/module/Dialog/index.js.map +1 -0
  14. package/lib/module/Display/Display.Avatar.js +58 -0
  15. package/lib/module/Display/Display.Avatar.js.map +1 -0
  16. package/lib/module/Display/Display.Badge.js +72 -0
  17. package/lib/module/Display/Display.Badge.js.map +1 -0
  18. package/lib/module/Display/Display.CopyableText.js +30 -0
  19. package/lib/module/Display/Display.CopyableText.js.map +1 -0
  20. package/lib/module/Display/Display.CountRecords.js +27 -0
  21. package/lib/module/Display/Display.CountRecords.js.map +1 -0
  22. package/lib/module/Display/Display.Date.js +35 -0
  23. package/lib/module/Display/Display.Date.js.map +1 -0
  24. package/lib/module/Display/Display.Divider.js +43 -0
  25. package/lib/module/Display/Display.Divider.js.map +1 -0
  26. package/lib/module/Display/Display.Icon.js +83 -0
  27. package/lib/module/Display/Display.Icon.js.map +1 -0
  28. package/lib/module/Display/Display.Logo.js +54 -0
  29. package/lib/module/Display/Display.Logo.js.map +1 -0
  30. package/lib/module/Display/Display.MenuButton.js +101 -0
  31. package/lib/module/Display/Display.MenuButton.js.map +1 -0
  32. package/lib/module/Display/Display.Monetary.js +36 -0
  33. package/lib/module/Display/Display.Monetary.js.map +1 -0
  34. package/lib/module/Display/index.js +28 -0
  35. package/lib/module/Display/index.js.map +1 -0
  36. package/lib/module/Feedback/ErrorBoundary.js +43 -0
  37. package/lib/module/Feedback/ErrorBoundary.js.map +1 -0
  38. package/lib/module/Feedback/Feedback.DomainSplashScreen.js +101 -0
  39. package/lib/module/Feedback/Feedback.DomainSplashScreen.js.map +1 -0
  40. package/lib/module/Feedback/Feedback.Empty.js +31 -0
  41. package/lib/module/Feedback/Feedback.Empty.js.map +1 -0
  42. package/lib/module/Feedback/Feedback.Error.js +53 -0
  43. package/lib/module/Feedback/Feedback.Error.js.map +1 -0
  44. package/lib/module/Feedback/Feedback.Loading.js +24 -0
  45. package/lib/module/Feedback/Feedback.Loading.js.map +1 -0
  46. package/lib/module/Feedback/Feedback.Spinner.js +28 -0
  47. package/lib/module/Feedback/Feedback.Spinner.js.map +1 -0
  48. package/lib/module/Feedback/Feedback.Splash.js +59 -0
  49. package/lib/module/Feedback/Feedback.Splash.js.map +1 -0
  50. package/lib/module/Feedback/index.js +17 -0
  51. package/lib/module/Feedback/index.js.map +1 -0
  52. package/lib/module/Form/Form.Button.js +442 -0
  53. package/lib/module/Form/Form.Button.js.map +1 -0
  54. package/lib/module/Form/Form.Checkbox.js +71 -0
  55. package/lib/module/Form/Form.Checkbox.js.map +1 -0
  56. package/lib/module/Form/Form.ControlledCheckbox.js +29 -0
  57. package/lib/module/Form/Form.ControlledCheckbox.js.map +1 -0
  58. package/lib/module/Form/Form.ControlledDropdown.js +7 -0
  59. package/lib/module/Form/Form.ControlledDropdown.js.map +1 -0
  60. package/lib/module/Form/Form.ControlledInput.js +43 -0
  61. package/lib/module/Form/Form.ControlledInput.js.map +1 -0
  62. package/lib/module/Form/Form.ControlledMonetaryInput.js +34 -0
  63. package/lib/module/Form/Form.ControlledMonetaryInput.js.map +1 -0
  64. package/lib/module/Form/Form.ControlledRadioButton.js +28 -0
  65. package/lib/module/Form/Form.ControlledRadioButton.js.map +1 -0
  66. package/lib/module/Form/Form.Dropdown.js +163 -0
  67. package/lib/module/Form/Form.Dropdown.js.map +1 -0
  68. package/lib/module/Form/Form.FilterButton.js +59 -0
  69. package/lib/module/Form/Form.FilterButton.js.map +1 -0
  70. package/lib/module/Form/Form.FractionalQuantityInput.js +166 -0
  71. package/lib/module/Form/Form.FractionalQuantityInput.js.map +1 -0
  72. package/lib/module/Form/Form.IconButton.js +97 -0
  73. package/lib/module/Form/Form.IconButton.js.map +1 -0
  74. package/lib/module/Form/Form.Input.js +77 -0
  75. package/lib/module/Form/Form.Input.js.map +1 -0
  76. package/lib/module/Form/Form.InputField.js +63 -0
  77. package/lib/module/Form/Form.InputField.js.map +1 -0
  78. package/lib/module/Form/Form.MonetaryInput.js +65 -0
  79. package/lib/module/Form/Form.MonetaryInput.js.map +1 -0
  80. package/lib/module/Form/Form.PasswordInput.js +37 -0
  81. package/lib/module/Form/Form.PasswordInput.js.map +1 -0
  82. package/lib/module/Form/Form.QuantitySelector.js +78 -0
  83. package/lib/module/Form/Form.QuantitySelector.js.map +1 -0
  84. package/lib/module/Form/Form.RadioButton.js +56 -0
  85. package/lib/module/Form/Form.RadioButton.js.map +1 -0
  86. package/lib/module/Form/Form.SearchBar.js +63 -0
  87. package/lib/module/Form/Form.SearchBar.js.map +1 -0
  88. package/lib/module/Form/Form.TextInput.js +19 -0
  89. package/lib/module/Form/Form.TextInput.js.map +1 -0
  90. package/lib/module/Form/index.js +45 -0
  91. package/lib/module/Form/index.js.map +1 -0
  92. package/lib/module/Navigation/Navigation.Header.js +46 -0
  93. package/lib/module/Navigation/Navigation.Header.js.map +1 -0
  94. package/lib/module/Navigation/Navigation.HeaderToolbar.js +79 -0
  95. package/lib/module/Navigation/Navigation.HeaderToolbar.js.map +1 -0
  96. package/lib/module/Navigation/Navigation.RowItem.js +35 -0
  97. package/lib/module/Navigation/Navigation.RowItem.js.map +1 -0
  98. package/lib/module/Navigation/Navigation.TabIcon.js +28 -0
  99. package/lib/module/Navigation/Navigation.TabIcon.js.map +1 -0
  100. package/lib/module/Navigation/Navigation.TabItem.js +27 -0
  101. package/lib/module/Navigation/Navigation.TabItem.js.map +1 -0
  102. package/lib/module/Navigation/index.js +16 -0
  103. package/lib/module/Navigation/index.js.map +1 -0
  104. package/lib/module/Typography/Typography.Heading.js +15 -0
  105. package/lib/module/Typography/Typography.Heading.js.map +1 -0
  106. package/lib/module/Typography/Typography.Text.js +51 -0
  107. package/lib/module/Typography/Typography.Text.js.map +1 -0
  108. package/lib/module/Typography/index.js +11 -0
  109. package/lib/module/Typography/index.js.map +1 -0
  110. package/lib/module/icons/AddItemIcon.js +53 -0
  111. package/lib/module/icons/AddItemIcon.js.map +1 -0
  112. package/lib/module/icons/ArrangeCircle.js +50 -0
  113. package/lib/module/icons/ArrangeCircle.js.map +1 -0
  114. package/lib/module/icons/ArrowDownIcon.js +37 -0
  115. package/lib/module/icons/ArrowDownIcon.js.map +1 -0
  116. package/lib/module/icons/ArrowUpIcon.js +37 -0
  117. package/lib/module/icons/ArrowUpIcon.js.map +1 -0
  118. package/lib/module/icons/BoxIcon.js +35 -0
  119. package/lib/module/icons/BoxIcon.js.map +1 -0
  120. package/lib/module/icons/BoxTimeIcon.js +29 -0
  121. package/lib/module/icons/BoxTimeIcon.js.map +1 -0
  122. package/lib/module/icons/CalendarIcon.js +81 -0
  123. package/lib/module/icons/CalendarIcon.js.map +1 -0
  124. package/lib/module/icons/CardIcon.js +46 -0
  125. package/lib/module/icons/CardIcon.js.map +1 -0
  126. package/lib/module/icons/CashierIcon.js +20 -0
  127. package/lib/module/icons/CashierIcon.js.map +1 -0
  128. package/lib/module/icons/CreditIcon.js +43 -0
  129. package/lib/module/icons/CreditIcon.js.map +1 -0
  130. package/lib/module/icons/DuoIcon.js +41 -0
  131. package/lib/module/icons/DuoIcon.js.map +1 -0
  132. package/lib/module/icons/HomeIcon.js +20 -0
  133. package/lib/module/icons/HomeIcon.js.map +1 -0
  134. package/lib/module/icons/HomeIconOutlined.js +29 -0
  135. package/lib/module/icons/HomeIconOutlined.js.map +1 -0
  136. package/lib/module/icons/LogoIcon.js +38 -0
  137. package/lib/module/icons/LogoIcon.js.map +1 -0
  138. package/lib/module/icons/MoneyReceiveIcon.js +47 -0
  139. package/lib/module/icons/MoneyReceiveIcon.js.map +1 -0
  140. package/lib/module/icons/OdooIcon.js +24 -0
  141. package/lib/module/icons/OdooIcon.js.map +1 -0
  142. package/lib/module/icons/PinIcon.js +20 -0
  143. package/lib/module/icons/PinIcon.js.map +1 -0
  144. package/lib/module/icons/PrinterIcon.js +48 -0
  145. package/lib/module/icons/PrinterIcon.js.map +1 -0
  146. package/lib/module/icons/ProfileIcon.js +23 -0
  147. package/lib/module/icons/ProfileIcon.js.map +1 -0
  148. package/lib/module/icons/SettingsIcon.js +65 -0
  149. package/lib/module/icons/SettingsIcon.js.map +1 -0
  150. package/lib/module/icons/SinpeIcon.js +37 -0
  151. package/lib/module/icons/SinpeIcon.js.map +1 -0
  152. package/lib/module/icons/ToggleOffIcon.js +29 -0
  153. package/lib/module/icons/ToggleOffIcon.js.map +1 -0
  154. package/lib/module/icons/WalletMoneyIcon.js +42 -0
  155. package/lib/module/icons/WalletMoneyIcon.js.map +1 -0
  156. package/lib/module/icons/icon_getters.js +53 -0
  157. package/lib/module/icons/icon_getters.js.map +1 -0
  158. package/lib/module/icons/props.js +2 -0
  159. package/lib/module/icons/props.js.map +1 -0
  160. package/lib/module/index.js +34 -0
  161. package/lib/module/index.js.map +1 -0
  162. package/lib/module/layouts/AuthContainer.js +66 -0
  163. package/lib/module/layouts/AuthContainer.js.map +1 -0
  164. package/lib/module/layouts/Container.js +31 -0
  165. package/lib/module/layouts/Container.js.map +1 -0
  166. package/lib/module/layouts/GradientContainer.js +20 -0
  167. package/lib/module/layouts/GradientContainer.js.map +1 -0
  168. package/lib/module/layouts/PlainLayout.js +16 -0
  169. package/lib/module/layouts/PlainLayout.js.map +1 -0
  170. package/lib/module/layouts/ScrollContainer.js +37 -0
  171. package/lib/module/layouts/ScrollContainer.js.map +1 -0
  172. package/lib/module/layouts/TabNavigatorLayout.js +132 -0
  173. package/lib/module/layouts/TabNavigatorLayout.js.map +1 -0
  174. package/lib/module/lib/date.js +127 -0
  175. package/lib/module/lib/date.js.map +1 -0
  176. package/lib/module/lib/icon.js +2 -0
  177. package/lib/module/lib/icon.js.map +1 -0
  178. package/lib/module/lib/monetary.js +31 -0
  179. package/lib/module/lib/monetary.js.map +1 -0
  180. package/lib/module/lib/quantity.js +46 -0
  181. package/lib/module/lib/quantity.js.map +1 -0
  182. package/lib/module/lib/serializer.js +47 -0
  183. package/lib/module/lib/serializer.js.map +1 -0
  184. package/lib/module/lib/timezone.js +2 -0
  185. package/lib/module/lib/timezone.js.map +1 -0
  186. package/lib/module/nativewind-env.d.js +3 -0
  187. package/lib/module/nativewind-env.d.js.map +1 -0
  188. package/lib/module/notifications/index.js +5 -0
  189. package/lib/module/notifications/index.js.map +1 -0
  190. package/lib/module/package.json +1 -0
  191. package/lib/module/primitives/BaseButton.js +391 -0
  192. package/lib/module/primitives/BaseButton.js.map +1 -0
  193. package/lib/module/primitives/Box.js +19 -0
  194. package/lib/module/primitives/Box.js.map +1 -0
  195. package/lib/module/primitives/Row.js +37 -0
  196. package/lib/module/primitives/Row.js.map +1 -0
  197. package/lib/module/primitives/Stack.js +27 -0
  198. package/lib/module/primitives/Stack.js.map +1 -0
  199. package/lib/module/primitives/index.js +6 -0
  200. package/lib/module/primitives/index.js.map +1 -0
  201. package/lib/module/providers/index.js +3 -0
  202. package/lib/module/providers/index.js.map +1 -0
  203. package/lib/module/theme/active.js +13 -0
  204. package/lib/module/theme/active.js.map +1 -0
  205. package/lib/module/theme/components/ThemedActivityIndicator.js +30 -0
  206. package/lib/module/theme/components/ThemedActivityIndicator.js.map +1 -0
  207. package/lib/module/theme/components/index.js +13 -0
  208. package/lib/module/theme/components/index.js.map +1 -0
  209. package/lib/module/theme/default.js +91 -0
  210. package/lib/module/theme/default.js.map +1 -0
  211. package/lib/module/theme/globals.css +67 -0
  212. package/lib/module/theme/index.js +6 -0
  213. package/lib/module/theme/index.js.map +1 -0
  214. package/lib/module/theme/theme.js +18 -0
  215. package/lib/module/theme/theme.js.map +1 -0
  216. package/lib/module/theme/tw.js +19 -0
  217. package/lib/module/theme/tw.js.map +1 -0
  218. package/lib/module/theme/types.js +2 -0
  219. package/lib/module/theme/types.js.map +1 -0
  220. package/lib/module/theme/typography.js +246 -0
  221. package/lib/module/theme/typography.js.map +1 -0
  222. package/lib/module/theme/useTheme.js +5 -0
  223. package/lib/module/theme/useTheme.js.map +1 -0
  224. package/lib/module/views/AuthFormView.js +46 -0
  225. package/lib/module/views/AuthFormView.js.map +1 -0
  226. package/lib/module/views/FormViewV2.context.js +47 -0
  227. package/lib/module/views/FormViewV2.context.js.map +1 -0
  228. package/lib/module/views/FormViewV2.js +220 -0
  229. package/lib/module/views/FormViewV2.js.map +1 -0
  230. package/lib/module/views/ListViewV2.context.js +51 -0
  231. package/lib/module/views/ListViewV2.context.js.map +1 -0
  232. package/lib/module/views/ListViewV2.js +503 -0
  233. package/lib/module/views/ListViewV2.js.map +1 -0
  234. package/lib/module/views/Wizard/Wizard.context.js +111 -0
  235. package/lib/module/views/Wizard/Wizard.context.js.map +1 -0
  236. package/lib/module/views/Wizard/Wizard.js +125 -0
  237. package/lib/module/views/Wizard/Wizard.js.map +1 -0
  238. package/lib/module/views/Wizard/index.js +5 -0
  239. package/lib/module/views/Wizard/index.js.map +1 -0
  240. package/lib/module/views/types/IFormView.js +4 -0
  241. package/lib/module/views/types/IFormView.js.map +1 -0
  242. package/lib/module/views/types/IListView.js +40 -0
  243. package/lib/module/views/types/IListView.js.map +1 -0
  244. package/lib/module/views/types/UIItem.js +2 -0
  245. package/lib/module/views/types/UIItem.js.map +1 -0
  246. package/lib/module/widgets/CircleButton.js +70 -0
  247. package/lib/module/widgets/CircleButton.js.map +1 -0
  248. package/lib/module/widgets/GeoPermissionCard.js +55 -0
  249. package/lib/module/widgets/GeoPermissionCard.js.map +1 -0
  250. package/lib/module/widgets/HomeHeader.js +42 -0
  251. package/lib/module/widgets/HomeHeader.js.map +1 -0
  252. package/lib/module/widgets/JSONViewer.js +196 -0
  253. package/lib/module/widgets/JSONViewer.js.map +1 -0
  254. package/lib/module/widgets/MenuCard.js +32 -0
  255. package/lib/module/widgets/MenuCard.js.map +1 -0
  256. package/lib/module/widgets/MenuGrid.js +20 -0
  257. package/lib/module/widgets/MenuGrid.js.map +1 -0
  258. package/lib/module/widgets/ScreenHeader.js +63 -0
  259. package/lib/module/widgets/ScreenHeader.js.map +1 -0
  260. package/lib/module/widgets/TimeZoneSelector.js +73 -0
  261. package/lib/module/widgets/TimeZoneSelector.js.map +1 -0
  262. package/lib/module/widgets/TimeZoneSelectorModal.js +187 -0
  263. package/lib/module/widgets/TimeZoneSelectorModal.js.map +1 -0
  264. package/lib/module/widgets/index.js +9 -0
  265. package/lib/module/widgets/index.js.map +1 -0
  266. package/lib/typescript/Dialog/BottomSheet/BottomSheet.Root.d.ts +321 -0
  267. package/lib/typescript/Dialog/BottomSheet/BottomSheet.Root.d.ts.map +1 -0
  268. package/lib/typescript/Dialog/BottomSheet/index.d.ts +2 -0
  269. package/lib/typescript/Dialog/BottomSheet/index.d.ts.map +1 -0
  270. package/lib/typescript/Dialog/Confirmation.context.d.ts +22 -0
  271. package/lib/typescript/Dialog/Confirmation.context.d.ts.map +1 -0
  272. package/lib/typescript/Dialog/Dialog.Confirmation.d.ts +13 -0
  273. package/lib/typescript/Dialog/Dialog.Confirmation.d.ts.map +1 -0
  274. package/lib/typescript/Dialog/Dialog.EditValue.d.ts +26 -0
  275. package/lib/typescript/Dialog/Dialog.EditValue.d.ts.map +1 -0
  276. package/lib/typescript/Dialog/index.d.ts +20 -0
  277. package/lib/typescript/Dialog/index.d.ts.map +1 -0
  278. package/lib/typescript/Display/Display.Avatar.d.ts +53 -0
  279. package/lib/typescript/Display/Display.Avatar.d.ts.map +1 -0
  280. package/lib/typescript/Display/Display.Badge.d.ts +109 -0
  281. package/lib/typescript/Display/Display.Badge.d.ts.map +1 -0
  282. package/lib/typescript/Display/Display.CopyableText.d.ts +14 -0
  283. package/lib/typescript/Display/Display.CopyableText.d.ts.map +1 -0
  284. package/lib/typescript/Display/Display.CountRecords.d.ts +9 -0
  285. package/lib/typescript/Display/Display.CountRecords.d.ts.map +1 -0
  286. package/lib/typescript/Display/Display.Date.d.ts +19 -0
  287. package/lib/typescript/Display/Display.Date.d.ts.map +1 -0
  288. package/lib/typescript/Display/Display.Divider.d.ts +45 -0
  289. package/lib/typescript/Display/Display.Divider.d.ts.map +1 -0
  290. package/lib/typescript/Display/Display.Icon.d.ts +16 -0
  291. package/lib/typescript/Display/Display.Icon.d.ts.map +1 -0
  292. package/lib/typescript/Display/Display.Logo.d.ts +56 -0
  293. package/lib/typescript/Display/Display.Logo.d.ts.map +1 -0
  294. package/lib/typescript/Display/Display.MenuButton.d.ts +104 -0
  295. package/lib/typescript/Display/Display.MenuButton.d.ts.map +1 -0
  296. package/lib/typescript/Display/Display.Monetary.d.ts +20 -0
  297. package/lib/typescript/Display/Display.Monetary.d.ts.map +1 -0
  298. package/lib/typescript/Display/index.d.ts +23 -0
  299. package/lib/typescript/Display/index.d.ts.map +1 -0
  300. package/lib/typescript/Feedback/ErrorBoundary.d.ts +19 -0
  301. package/lib/typescript/Feedback/ErrorBoundary.d.ts.map +1 -0
  302. package/lib/typescript/Feedback/Feedback.DomainSplashScreen.d.ts +12 -0
  303. package/lib/typescript/Feedback/Feedback.DomainSplashScreen.d.ts.map +1 -0
  304. package/lib/typescript/Feedback/Feedback.Empty.d.ts +7 -0
  305. package/lib/typescript/Feedback/Feedback.Empty.d.ts.map +1 -0
  306. package/lib/typescript/Feedback/Feedback.Error.d.ts +10 -0
  307. package/lib/typescript/Feedback/Feedback.Error.d.ts.map +1 -0
  308. package/lib/typescript/Feedback/Feedback.Loading.d.ts +10 -0
  309. package/lib/typescript/Feedback/Feedback.Loading.d.ts.map +1 -0
  310. package/lib/typescript/Feedback/Feedback.Spinner.d.ts +12 -0
  311. package/lib/typescript/Feedback/Feedback.Spinner.d.ts.map +1 -0
  312. package/lib/typescript/Feedback/Feedback.Splash.d.ts +12 -0
  313. package/lib/typescript/Feedback/Feedback.Splash.d.ts.map +1 -0
  314. package/lib/typescript/Feedback/index.d.ts +14 -0
  315. package/lib/typescript/Feedback/index.d.ts.map +1 -0
  316. package/lib/typescript/Form/Form.Button.d.ts +146 -0
  317. package/lib/typescript/Form/Form.Button.d.ts.map +1 -0
  318. package/lib/typescript/Form/Form.Checkbox.d.ts +14 -0
  319. package/lib/typescript/Form/Form.Checkbox.d.ts.map +1 -0
  320. package/lib/typescript/Form/Form.ControlledCheckbox.d.ts +10 -0
  321. package/lib/typescript/Form/Form.ControlledCheckbox.d.ts.map +1 -0
  322. package/lib/typescript/Form/Form.ControlledDropdown.d.ts +15 -0
  323. package/lib/typescript/Form/Form.ControlledDropdown.d.ts.map +1 -0
  324. package/lib/typescript/Form/Form.ControlledInput.d.ts +16 -0
  325. package/lib/typescript/Form/Form.ControlledInput.d.ts.map +1 -0
  326. package/lib/typescript/Form/Form.ControlledMonetaryInput.d.ts +13 -0
  327. package/lib/typescript/Form/Form.ControlledMonetaryInput.d.ts.map +1 -0
  328. package/lib/typescript/Form/Form.ControlledRadioButton.d.ts +10 -0
  329. package/lib/typescript/Form/Form.ControlledRadioButton.d.ts.map +1 -0
  330. package/lib/typescript/Form/Form.Dropdown.d.ts +15 -0
  331. package/lib/typescript/Form/Form.Dropdown.d.ts.map +1 -0
  332. package/lib/typescript/Form/Form.FilterButton.d.ts +13 -0
  333. package/lib/typescript/Form/Form.FilterButton.d.ts.map +1 -0
  334. package/lib/typescript/Form/Form.FractionalQuantityInput.d.ts +14 -0
  335. package/lib/typescript/Form/Form.FractionalQuantityInput.d.ts.map +1 -0
  336. package/lib/typescript/Form/Form.IconButton.d.ts +68 -0
  337. package/lib/typescript/Form/Form.IconButton.d.ts.map +1 -0
  338. package/lib/typescript/Form/Form.Input.d.ts +11 -0
  339. package/lib/typescript/Form/Form.Input.d.ts.map +1 -0
  340. package/lib/typescript/Form/Form.InputField.d.ts +11 -0
  341. package/lib/typescript/Form/Form.InputField.d.ts.map +1 -0
  342. package/lib/typescript/Form/Form.MonetaryInput.d.ts +9 -0
  343. package/lib/typescript/Form/Form.MonetaryInput.d.ts.map +1 -0
  344. package/lib/typescript/Form/Form.PasswordInput.d.ts +10 -0
  345. package/lib/typescript/Form/Form.PasswordInput.d.ts.map +1 -0
  346. package/lib/typescript/Form/Form.QuantitySelector.d.ts +12 -0
  347. package/lib/typescript/Form/Form.QuantitySelector.d.ts.map +1 -0
  348. package/lib/typescript/Form/Form.RadioButton.d.ts +8 -0
  349. package/lib/typescript/Form/Form.RadioButton.d.ts.map +1 -0
  350. package/lib/typescript/Form/Form.SearchBar.d.ts +10 -0
  351. package/lib/typescript/Form/Form.SearchBar.d.ts.map +1 -0
  352. package/lib/typescript/Form/Form.TextInput.d.ts +9 -0
  353. package/lib/typescript/Form/Form.TextInput.d.ts.map +1 -0
  354. package/lib/typescript/Form/index.d.ts +42 -0
  355. package/lib/typescript/Form/index.d.ts.map +1 -0
  356. package/lib/typescript/Navigation/Navigation.Header.d.ts +11 -0
  357. package/lib/typescript/Navigation/Navigation.Header.d.ts.map +1 -0
  358. package/lib/typescript/Navigation/Navigation.HeaderToolbar.d.ts +16 -0
  359. package/lib/typescript/Navigation/Navigation.HeaderToolbar.d.ts.map +1 -0
  360. package/lib/typescript/Navigation/Navigation.RowItem.d.ts +6 -0
  361. package/lib/typescript/Navigation/Navigation.RowItem.d.ts.map +1 -0
  362. package/lib/typescript/Navigation/Navigation.TabIcon.d.ts +15 -0
  363. package/lib/typescript/Navigation/Navigation.TabIcon.d.ts.map +1 -0
  364. package/lib/typescript/Navigation/Navigation.TabItem.d.ts +15 -0
  365. package/lib/typescript/Navigation/Navigation.TabItem.d.ts.map +1 -0
  366. package/lib/typescript/Navigation/index.d.ts +12 -0
  367. package/lib/typescript/Navigation/index.d.ts.map +1 -0
  368. package/lib/typescript/Typography/Typography.Heading.d.ts +13 -0
  369. package/lib/typescript/Typography/Typography.Heading.d.ts.map +1 -0
  370. package/lib/typescript/Typography/Typography.Text.d.ts +29 -0
  371. package/lib/typescript/Typography/Typography.Text.d.ts.map +1 -0
  372. package/lib/typescript/Typography/index.d.ts +8 -0
  373. package/lib/typescript/Typography/index.d.ts.map +1 -0
  374. package/lib/typescript/icons/AddItemIcon.d.ts +5 -0
  375. package/lib/typescript/icons/AddItemIcon.d.ts.map +1 -0
  376. package/lib/typescript/icons/ArrangeCircle.d.ts +5 -0
  377. package/lib/typescript/icons/ArrangeCircle.d.ts.map +1 -0
  378. package/lib/typescript/icons/ArrowDownIcon.d.ts +5 -0
  379. package/lib/typescript/icons/ArrowDownIcon.d.ts.map +1 -0
  380. package/lib/typescript/icons/ArrowUpIcon.d.ts +5 -0
  381. package/lib/typescript/icons/ArrowUpIcon.d.ts.map +1 -0
  382. package/lib/typescript/icons/BoxIcon.d.ts +5 -0
  383. package/lib/typescript/icons/BoxIcon.d.ts.map +1 -0
  384. package/lib/typescript/icons/BoxTimeIcon.d.ts +5 -0
  385. package/lib/typescript/icons/BoxTimeIcon.d.ts.map +1 -0
  386. package/lib/typescript/icons/CalendarIcon.d.ts +5 -0
  387. package/lib/typescript/icons/CalendarIcon.d.ts.map +1 -0
  388. package/lib/typescript/icons/CardIcon.d.ts +5 -0
  389. package/lib/typescript/icons/CardIcon.d.ts.map +1 -0
  390. package/lib/typescript/icons/CashierIcon.d.ts +5 -0
  391. package/lib/typescript/icons/CashierIcon.d.ts.map +1 -0
  392. package/lib/typescript/icons/CreditIcon.d.ts +8 -0
  393. package/lib/typescript/icons/CreditIcon.d.ts.map +1 -0
  394. package/lib/typescript/icons/DuoIcon.d.ts +5 -0
  395. package/lib/typescript/icons/DuoIcon.d.ts.map +1 -0
  396. package/lib/typescript/icons/HomeIcon.d.ts +5 -0
  397. package/lib/typescript/icons/HomeIcon.d.ts.map +1 -0
  398. package/lib/typescript/icons/HomeIconOutlined.d.ts +5 -0
  399. package/lib/typescript/icons/HomeIconOutlined.d.ts.map +1 -0
  400. package/lib/typescript/icons/LogoIcon.d.ts +5 -0
  401. package/lib/typescript/icons/LogoIcon.d.ts.map +1 -0
  402. package/lib/typescript/icons/MoneyReceiveIcon.d.ts +5 -0
  403. package/lib/typescript/icons/MoneyReceiveIcon.d.ts.map +1 -0
  404. package/lib/typescript/icons/OdooIcon.d.ts +7 -0
  405. package/lib/typescript/icons/OdooIcon.d.ts.map +1 -0
  406. package/lib/typescript/icons/PinIcon.d.ts +5 -0
  407. package/lib/typescript/icons/PinIcon.d.ts.map +1 -0
  408. package/lib/typescript/icons/PrinterIcon.d.ts +5 -0
  409. package/lib/typescript/icons/PrinterIcon.d.ts.map +1 -0
  410. package/lib/typescript/icons/ProfileIcon.d.ts +5 -0
  411. package/lib/typescript/icons/ProfileIcon.d.ts.map +1 -0
  412. package/lib/typescript/icons/SettingsIcon.d.ts +5 -0
  413. package/lib/typescript/icons/SettingsIcon.d.ts.map +1 -0
  414. package/lib/typescript/icons/SinpeIcon.d.ts +5 -0
  415. package/lib/typescript/icons/SinpeIcon.d.ts.map +1 -0
  416. package/lib/typescript/icons/ToggleOffIcon.d.ts +5 -0
  417. package/lib/typescript/icons/ToggleOffIcon.d.ts.map +1 -0
  418. package/lib/typescript/icons/WalletMoneyIcon.d.ts +5 -0
  419. package/lib/typescript/icons/WalletMoneyIcon.d.ts.map +1 -0
  420. package/lib/typescript/icons/icon_getters.d.ts +7 -0
  421. package/lib/typescript/icons/icon_getters.d.ts.map +1 -0
  422. package/lib/typescript/icons/props.d.ts +5 -0
  423. package/lib/typescript/icons/props.d.ts.map +1 -0
  424. package/lib/typescript/index.d.ts +21 -0
  425. package/lib/typescript/index.d.ts.map +1 -0
  426. package/lib/typescript/layouts/AuthContainer.d.ts +10 -0
  427. package/lib/typescript/layouts/AuthContainer.d.ts.map +1 -0
  428. package/lib/typescript/layouts/Container.d.ts +15 -0
  429. package/lib/typescript/layouts/Container.d.ts.map +1 -0
  430. package/lib/typescript/layouts/GradientContainer.d.ts +9 -0
  431. package/lib/typescript/layouts/GradientContainer.d.ts.map +1 -0
  432. package/lib/typescript/layouts/PlainLayout.d.ts +7 -0
  433. package/lib/typescript/layouts/PlainLayout.d.ts.map +1 -0
  434. package/lib/typescript/layouts/ScrollContainer.d.ts +9 -0
  435. package/lib/typescript/layouts/ScrollContainer.d.ts.map +1 -0
  436. package/lib/typescript/layouts/TabNavigatorLayout.d.ts +27 -0
  437. package/lib/typescript/layouts/TabNavigatorLayout.d.ts.map +1 -0
  438. package/lib/typescript/lib/date.d.ts +71 -0
  439. package/lib/typescript/lib/date.d.ts.map +1 -0
  440. package/lib/typescript/lib/icon.d.ts +2 -0
  441. package/lib/typescript/lib/icon.d.ts.map +1 -0
  442. package/lib/typescript/lib/monetary.d.ts +4 -0
  443. package/lib/typescript/lib/monetary.d.ts.map +1 -0
  444. package/lib/typescript/lib/quantity.d.ts +12 -0
  445. package/lib/typescript/lib/quantity.d.ts.map +1 -0
  446. package/lib/typescript/lib/serializer.d.ts +3 -0
  447. package/lib/typescript/lib/serializer.d.ts.map +1 -0
  448. package/lib/typescript/lib/timezone.d.ts +5 -0
  449. package/lib/typescript/lib/timezone.d.ts.map +1 -0
  450. package/lib/typescript/notifications/index.d.ts +2 -0
  451. package/lib/typescript/notifications/index.d.ts.map +1 -0
  452. package/lib/typescript/package.json +1 -0
  453. package/lib/typescript/primitives/BaseButton.d.ts +147 -0
  454. package/lib/typescript/primitives/BaseButton.d.ts.map +1 -0
  455. package/lib/typescript/primitives/Box.d.ts +8 -0
  456. package/lib/typescript/primitives/Box.d.ts.map +1 -0
  457. package/lib/typescript/primitives/Row.d.ts +12 -0
  458. package/lib/typescript/primitives/Row.d.ts.map +1 -0
  459. package/lib/typescript/primitives/Stack.d.ts +10 -0
  460. package/lib/typescript/primitives/Stack.d.ts.map +1 -0
  461. package/lib/typescript/primitives/index.d.ts +4 -0
  462. package/lib/typescript/primitives/index.d.ts.map +1 -0
  463. package/lib/typescript/providers/index.d.ts +1 -0
  464. package/lib/typescript/providers/index.d.ts.map +1 -0
  465. package/lib/typescript/theme/active.d.ts +4 -0
  466. package/lib/typescript/theme/active.d.ts.map +1 -0
  467. package/lib/typescript/theme/components/ThemedActivityIndicator.d.ts +22 -0
  468. package/lib/typescript/theme/components/ThemedActivityIndicator.d.ts.map +1 -0
  469. package/lib/typescript/theme/components/index.d.ts +10 -0
  470. package/lib/typescript/theme/components/index.d.ts.map +1 -0
  471. package/lib/typescript/theme/default.d.ts +3 -0
  472. package/lib/typescript/theme/default.d.ts.map +1 -0
  473. package/lib/typescript/theme/index.d.ts +5 -0
  474. package/lib/typescript/theme/index.d.ts.map +1 -0
  475. package/lib/typescript/theme/theme.d.ts +14 -0
  476. package/lib/typescript/theme/theme.d.ts.map +1 -0
  477. package/lib/typescript/theme/tw.d.ts +11 -0
  478. package/lib/typescript/theme/tw.d.ts.map +1 -0
  479. package/lib/typescript/theme/types.d.ts +93 -0
  480. package/lib/typescript/theme/types.d.ts.map +1 -0
  481. package/lib/typescript/theme/typography.d.ts +377 -0
  482. package/lib/typescript/theme/typography.d.ts.map +1 -0
  483. package/lib/typescript/theme/useTheme.d.ts +2 -0
  484. package/lib/typescript/theme/useTheme.d.ts.map +1 -0
  485. package/lib/typescript/views/AuthFormView.d.ts +10 -0
  486. package/lib/typescript/views/AuthFormView.d.ts.map +1 -0
  487. package/lib/typescript/views/FormViewV2.context.d.ts +33 -0
  488. package/lib/typescript/views/FormViewV2.context.d.ts.map +1 -0
  489. package/lib/typescript/views/FormViewV2.d.ts +61 -0
  490. package/lib/typescript/views/FormViewV2.d.ts.map +1 -0
  491. package/lib/typescript/views/ListViewV2.context.d.ts +37 -0
  492. package/lib/typescript/views/ListViewV2.context.d.ts.map +1 -0
  493. package/lib/typescript/views/ListViewV2.d.ts +132 -0
  494. package/lib/typescript/views/ListViewV2.d.ts.map +1 -0
  495. package/lib/typescript/views/Wizard/Wizard.context.d.ts +27 -0
  496. package/lib/typescript/views/Wizard/Wizard.context.d.ts.map +1 -0
  497. package/lib/typescript/views/Wizard/Wizard.d.ts +34 -0
  498. package/lib/typescript/views/Wizard/Wizard.d.ts.map +1 -0
  499. package/lib/typescript/views/Wizard/index.d.ts +5 -0
  500. package/lib/typescript/views/Wizard/index.d.ts.map +1 -0
  501. package/lib/typescript/views/types/IFormView.d.ts +23 -0
  502. package/lib/typescript/views/types/IFormView.d.ts.map +1 -0
  503. package/lib/typescript/views/types/IListView.d.ts +35 -0
  504. package/lib/typescript/views/types/IListView.d.ts.map +1 -0
  505. package/lib/typescript/views/types/UIItem.d.ts +22 -0
  506. package/lib/typescript/views/types/UIItem.d.ts.map +1 -0
  507. package/lib/typescript/widgets/CircleButton.d.ts +16 -0
  508. package/lib/typescript/widgets/CircleButton.d.ts.map +1 -0
  509. package/lib/typescript/widgets/GeoPermissionCard.d.ts +9 -0
  510. package/lib/typescript/widgets/GeoPermissionCard.d.ts.map +1 -0
  511. package/lib/typescript/widgets/HomeHeader.d.ts +10 -0
  512. package/lib/typescript/widgets/HomeHeader.d.ts.map +1 -0
  513. package/lib/typescript/widgets/JSONViewer.d.ts +6 -0
  514. package/lib/typescript/widgets/JSONViewer.d.ts.map +1 -0
  515. package/lib/typescript/widgets/MenuCard.d.ts +14 -0
  516. package/lib/typescript/widgets/MenuCard.d.ts.map +1 -0
  517. package/lib/typescript/widgets/MenuGrid.d.ts +18 -0
  518. package/lib/typescript/widgets/MenuGrid.d.ts.map +1 -0
  519. package/lib/typescript/widgets/ScreenHeader.d.ts +20 -0
  520. package/lib/typescript/widgets/ScreenHeader.d.ts.map +1 -0
  521. package/lib/typescript/widgets/TimeZoneSelector.d.ts +8 -0
  522. package/lib/typescript/widgets/TimeZoneSelector.d.ts.map +1 -0
  523. package/lib/typescript/widgets/TimeZoneSelectorModal.d.ts +10 -0
  524. package/lib/typescript/widgets/TimeZoneSelectorModal.d.ts.map +1 -0
  525. package/lib/typescript/widgets/index.d.ts +8 -0
  526. package/lib/typescript/widgets/index.d.ts.map +1 -0
  527. package/package.json +273 -0
  528. package/sincpro_mobile_ui/Dialog/BottomSheet/BottomSheet.Root.tsx +509 -0
  529. package/sincpro_mobile_ui/Dialog/BottomSheet/index.ts +1 -0
  530. package/sincpro_mobile_ui/Dialog/Confirmation.context.tsx +148 -0
  531. package/sincpro_mobile_ui/Dialog/Dialog.Confirmation.tsx +68 -0
  532. package/sincpro_mobile_ui/Dialog/Dialog.EditValue.tsx +134 -0
  533. package/sincpro_mobile_ui/Dialog/index.ts +23 -0
  534. package/sincpro_mobile_ui/Display/Display.Avatar.tsx +60 -0
  535. package/sincpro_mobile_ui/Display/Display.Badge.tsx +72 -0
  536. package/sincpro_mobile_ui/Display/Display.CopyableText.tsx +38 -0
  537. package/sincpro_mobile_ui/Display/Display.CountRecords.tsx +26 -0
  538. package/sincpro_mobile_ui/Display/Display.Date.tsx +59 -0
  539. package/sincpro_mobile_ui/Display/Display.Divider.tsx +40 -0
  540. package/sincpro_mobile_ui/Display/Display.Icon.tsx +69 -0
  541. package/sincpro_mobile_ui/Display/Display.Logo.tsx +51 -0
  542. package/sincpro_mobile_ui/Display/Display.MenuButton.tsx +103 -0
  543. package/sincpro_mobile_ui/Display/Display.Monetary.tsx +60 -0
  544. package/sincpro_mobile_ui/Display/index.ts +28 -0
  545. package/sincpro_mobile_ui/Feedback/ErrorBoundary.tsx +51 -0
  546. package/sincpro_mobile_ui/Feedback/Feedback.DomainSplashScreen.tsx +135 -0
  547. package/sincpro_mobile_ui/Feedback/Feedback.Empty.tsx +29 -0
  548. package/sincpro_mobile_ui/Feedback/Feedback.Error.tsx +47 -0
  549. package/sincpro_mobile_ui/Feedback/Feedback.Loading.tsx +27 -0
  550. package/sincpro_mobile_ui/Feedback/Feedback.Spinner.tsx +34 -0
  551. package/sincpro_mobile_ui/Feedback/Feedback.Splash.tsx +68 -0
  552. package/sincpro_mobile_ui/Feedback/index.ts +17 -0
  553. package/sincpro_mobile_ui/Form/Form.Button.tsx +461 -0
  554. package/sincpro_mobile_ui/Form/Form.Checkbox.tsx +89 -0
  555. package/sincpro_mobile_ui/Form/Form.ControlledCheckbox.tsx +34 -0
  556. package/sincpro_mobile_ui/Form/Form.ControlledDropdown.tsx +22 -0
  557. package/sincpro_mobile_ui/Form/Form.ControlledInput.tsx +53 -0
  558. package/sincpro_mobile_ui/Form/Form.ControlledMonetaryInput.tsx +41 -0
  559. package/sincpro_mobile_ui/Form/Form.ControlledRadioButton.tsx +33 -0
  560. package/sincpro_mobile_ui/Form/Form.Dropdown.tsx +171 -0
  561. package/sincpro_mobile_ui/Form/Form.FilterButton.tsx +59 -0
  562. package/sincpro_mobile_ui/Form/Form.FractionalQuantityInput.tsx +190 -0
  563. package/sincpro_mobile_ui/Form/Form.IconButton.tsx +102 -0
  564. package/sincpro_mobile_ui/Form/Form.Input.tsx +88 -0
  565. package/sincpro_mobile_ui/Form/Form.InputField.tsx +66 -0
  566. package/sincpro_mobile_ui/Form/Form.MonetaryInput.tsx +66 -0
  567. package/sincpro_mobile_ui/Form/Form.PasswordInput.tsx +42 -0
  568. package/sincpro_mobile_ui/Form/Form.QuantitySelector.tsx +81 -0
  569. package/sincpro_mobile_ui/Form/Form.RadioButton.tsx +52 -0
  570. package/sincpro_mobile_ui/Form/Form.SearchBar.tsx +64 -0
  571. package/sincpro_mobile_ui/Form/Form.TextInput.tsx +26 -0
  572. package/sincpro_mobile_ui/Form/index.ts +46 -0
  573. package/sincpro_mobile_ui/Navigation/Navigation.Header.tsx +50 -0
  574. package/sincpro_mobile_ui/Navigation/Navigation.HeaderToolbar.tsx +111 -0
  575. package/sincpro_mobile_ui/Navigation/Navigation.RowItem.tsx +33 -0
  576. package/sincpro_mobile_ui/Navigation/Navigation.TabIcon.tsx +45 -0
  577. package/sincpro_mobile_ui/Navigation/Navigation.TabItem.tsx +43 -0
  578. package/sincpro_mobile_ui/Navigation/index.ts +15 -0
  579. package/sincpro_mobile_ui/Typography/Typography.Heading.tsx +20 -0
  580. package/sincpro_mobile_ui/Typography/Typography.Text.tsx +78 -0
  581. package/sincpro_mobile_ui/Typography/index.ts +11 -0
  582. package/sincpro_mobile_ui/icons/AddItemIcon.tsx +46 -0
  583. package/sincpro_mobile_ui/icons/ArrangeCircle.tsx +50 -0
  584. package/sincpro_mobile_ui/icons/ArrowDownIcon.tsx +33 -0
  585. package/sincpro_mobile_ui/icons/ArrowUpIcon.tsx +33 -0
  586. package/sincpro_mobile_ui/icons/BoxIcon.tsx +32 -0
  587. package/sincpro_mobile_ui/icons/BoxTimeIcon.tsx +27 -0
  588. package/sincpro_mobile_ui/icons/CalendarIcon.tsx +85 -0
  589. package/sincpro_mobile_ui/icons/CardIcon.tsx +44 -0
  590. package/sincpro_mobile_ui/icons/CashierIcon.tsx +15 -0
  591. package/sincpro_mobile_ui/icons/CreditIcon.tsx +44 -0
  592. package/sincpro_mobile_ui/icons/DuoIcon.tsx +39 -0
  593. package/sincpro_mobile_ui/icons/HomeIcon.tsx +15 -0
  594. package/sincpro_mobile_ui/icons/HomeIconOutlined.tsx +24 -0
  595. package/sincpro_mobile_ui/icons/LogoIcon.tsx +39 -0
  596. package/sincpro_mobile_ui/icons/MoneyReceiveIcon.tsx +46 -0
  597. package/sincpro_mobile_ui/icons/OdooIcon.tsx +23 -0
  598. package/sincpro_mobile_ui/icons/PinIcon.tsx +15 -0
  599. package/sincpro_mobile_ui/icons/PrinterIcon.tsx +46 -0
  600. package/sincpro_mobile_ui/icons/ProfileIcon.tsx +19 -0
  601. package/sincpro_mobile_ui/icons/SettingsIcon.tsx +66 -0
  602. package/sincpro_mobile_ui/icons/SinpeIcon.tsx +29 -0
  603. package/sincpro_mobile_ui/icons/ToggleOffIcon.tsx +25 -0
  604. package/sincpro_mobile_ui/icons/WalletMoneyIcon.tsx +41 -0
  605. package/sincpro_mobile_ui/icons/icon_getters.tsx +27 -0
  606. package/sincpro_mobile_ui/icons/props.ts +4 -0
  607. package/sincpro_mobile_ui/index.ts +38 -0
  608. package/sincpro_mobile_ui/layouts/AuthContainer.tsx +73 -0
  609. package/sincpro_mobile_ui/layouts/Container.tsx +40 -0
  610. package/sincpro_mobile_ui/layouts/GradientContainer.tsx +22 -0
  611. package/sincpro_mobile_ui/layouts/PlainLayout.tsx +14 -0
  612. package/sincpro_mobile_ui/layouts/ScrollContainer.tsx +37 -0
  613. package/sincpro_mobile_ui/layouts/TabNavigatorLayout.tsx +154 -0
  614. package/sincpro_mobile_ui/lib/date.ts +149 -0
  615. package/sincpro_mobile_ui/lib/icon.ts +10 -0
  616. package/sincpro_mobile_ui/lib/monetary.ts +33 -0
  617. package/sincpro_mobile_ui/lib/quantity.ts +52 -0
  618. package/sincpro_mobile_ui/lib/serializer.ts +59 -0
  619. package/sincpro_mobile_ui/lib/timezone.ts +4 -0
  620. package/sincpro_mobile_ui/nativewind-env.d.ts +1 -0
  621. package/sincpro_mobile_ui/notifications/index.ts +2 -0
  622. package/sincpro_mobile_ui/primitives/BaseButton.tsx +404 -0
  623. package/sincpro_mobile_ui/primitives/Box.tsx +14 -0
  624. package/sincpro_mobile_ui/primitives/Row.tsx +55 -0
  625. package/sincpro_mobile_ui/primitives/Stack.tsx +29 -0
  626. package/sincpro_mobile_ui/primitives/index.ts +3 -0
  627. package/sincpro_mobile_ui/providers/index.ts +1 -0
  628. package/sincpro_mobile_ui/theme/active.ts +12 -0
  629. package/sincpro_mobile_ui/theme/components/ThemedActivityIndicator.tsx +29 -0
  630. package/sincpro_mobile_ui/theme/components/index.ts +10 -0
  631. package/sincpro_mobile_ui/theme/default.ts +81 -0
  632. package/sincpro_mobile_ui/theme/globals.css +67 -0
  633. package/sincpro_mobile_ui/theme/index.ts +4 -0
  634. package/sincpro_mobile_ui/theme/theme.ts +16 -0
  635. package/sincpro_mobile_ui/theme/tw.ts +16 -0
  636. package/sincpro_mobile_ui/theme/types.ts +109 -0
  637. package/sincpro_mobile_ui/theme/typography.ts +271 -0
  638. package/sincpro_mobile_ui/theme/useTheme.ts +3 -0
  639. package/sincpro_mobile_ui/views/AuthFormView.tsx +46 -0
  640. package/sincpro_mobile_ui/views/FormViewV2.context.tsx +79 -0
  641. package/sincpro_mobile_ui/views/FormViewV2.tsx +248 -0
  642. package/sincpro_mobile_ui/views/ListViewV2.context.tsx +87 -0
  643. package/sincpro_mobile_ui/views/ListViewV2.tsx +575 -0
  644. package/sincpro_mobile_ui/views/Wizard/Wizard.context.tsx +164 -0
  645. package/sincpro_mobile_ui/views/Wizard/Wizard.tsx +147 -0
  646. package/sincpro_mobile_ui/views/Wizard/index.ts +11 -0
  647. package/sincpro_mobile_ui/views/types/IFormView.ts +24 -0
  648. package/sincpro_mobile_ui/views/types/IListView.ts +78 -0
  649. package/sincpro_mobile_ui/views/types/UIItem.ts +23 -0
  650. package/sincpro_mobile_ui/widgets/CircleButton.tsx +63 -0
  651. package/sincpro_mobile_ui/widgets/GeoPermissionCard.tsx +62 -0
  652. package/sincpro_mobile_ui/widgets/HomeHeader.tsx +50 -0
  653. package/sincpro_mobile_ui/widgets/JSONViewer.tsx +192 -0
  654. package/sincpro_mobile_ui/widgets/MenuCard.tsx +37 -0
  655. package/sincpro_mobile_ui/widgets/MenuGrid.tsx +33 -0
  656. package/sincpro_mobile_ui/widgets/ScreenHeader.tsx +72 -0
  657. package/sincpro_mobile_ui/widgets/TimeZoneSelector.tsx +83 -0
  658. package/sincpro_mobile_ui/widgets/TimeZoneSelectorModal.tsx +179 -0
  659. package/sincpro_mobile_ui/widgets/index.ts +7 -0
@@ -0,0 +1,575 @@
1
+ import React, { ReactNode, useCallback, useEffect, useMemo, useState } from "react";
2
+ import {
3
+ FlatList,
4
+ RefreshControl,
5
+ ScrollView,
6
+ StyleProp,
7
+ TouchableOpacity,
8
+ View,
9
+ ViewStyle,
10
+ } from "react-native";
11
+
12
+ import { Display } from "../Display";
13
+ import { ErrorBoundary, Feedback } from "../Feedback";
14
+ import { Form } from "../Form";
15
+ import Container from "../layouts/Container";
16
+ import { Navigation } from "../Navigation";
17
+ import { theme } from "../theme";
18
+ import { cn, tv } from "../theme/tw";
19
+ import { Typography } from "../Typography";
20
+ import ScreenHeader, { EVariantScreenHeader } from "../widgets/ScreenHeader";
21
+ import { ListViewProvider, useListView } from "./ListViewV2.context";
22
+ import { IRowItem, toRowItems } from "./types/IListView";
23
+
24
+ interface ListViewProps<T> {
25
+ name: string;
26
+ description?: string;
27
+ items: T[];
28
+ isLoading?: boolean;
29
+ hasError?: boolean;
30
+ errorMessage?: string;
31
+ readonly?: boolean;
32
+ onRefresh?: () => Promise<void>;
33
+ onRetry?: () => void;
34
+ onPressItem?: (item: T) => void;
35
+ onDeleteItem?: (item: T) => void;
36
+ onSearch?: (query: string) => void;
37
+ onBack?: () => void;
38
+ backgroundColor?: string;
39
+ withContainer?: boolean;
40
+ children: ReactNode;
41
+ }
42
+
43
+ function ListViewRoot<T>({
44
+ name,
45
+ description,
46
+ items,
47
+ isLoading = false,
48
+ hasError = false,
49
+ errorMessage,
50
+ readonly = false,
51
+ onRefresh,
52
+ onRetry,
53
+ onPressItem,
54
+ onDeleteItem,
55
+ onSearch,
56
+ onBack,
57
+ backgroundColor,
58
+ withContainer = true,
59
+ children,
60
+ }: ListViewProps<T>) {
61
+ const Wrapper = withContainer ? Container : View;
62
+ const wrapperProps = withContainer
63
+ ? {} // Container maneja su propio backgroundColor
64
+ : { className: "flex-1 bg-bg-page" };
65
+
66
+ // Propagate contentWithMargin to ContentList via context
67
+ return (
68
+ <ListViewProvider
69
+ description={description}
70
+ errorMessage={errorMessage}
71
+ hasError={hasError}
72
+ isLoading={isLoading}
73
+ items={items}
74
+ name={name}
75
+ onBack={onBack}
76
+ onDeleteItem={onDeleteItem}
77
+ onPressItem={onPressItem}
78
+ onRefresh={onRefresh}
79
+ onRetry={onRetry}
80
+ onSearch={onSearch}
81
+ readonly={readonly}
82
+ >
83
+ <ErrorBoundary>
84
+ <Wrapper {...wrapperProps}>{children}</Wrapper>
85
+ </ErrorBoundary>
86
+ </ListViewProvider>
87
+ );
88
+ }
89
+
90
+ function Header({
91
+ variant = EVariantScreenHeader.ROUNDED_HEADER,
92
+ children,
93
+ }: {
94
+ variant?: EVariantScreenHeader;
95
+ children?: ReactNode;
96
+ }) {
97
+ const { name, description, onBack } = useListView();
98
+
99
+ return (
100
+ <ScreenHeader
101
+ onBack={onBack}
102
+ subtitle={description ? description : `Seleccionar ${name}`}
103
+ title={name}
104
+ variant={variant}
105
+ >
106
+ {children}
107
+ </ScreenHeader>
108
+ );
109
+ }
110
+
111
+ function HeaderSearch({ searchQuery = "" }: { searchQuery?: string }) {
112
+ const { name, onSearch } = useListView();
113
+ const [query, setQuery] = useState<string>(searchQuery);
114
+ const [debouncedQuery, setDebouncedQuery] = useState<string>(searchQuery);
115
+
116
+ useEffect(() => {
117
+ const timeout = setTimeout(() => {
118
+ setDebouncedQuery(query);
119
+ }, 400);
120
+
121
+ return () => clearTimeout(timeout);
122
+ }, [query]);
123
+
124
+ useEffect(() => {
125
+ if (onSearch && debouncedQuery !== undefined) {
126
+ onSearch(debouncedQuery);
127
+ }
128
+ }, [debouncedQuery]);
129
+
130
+ if (!onSearch) {
131
+ return null;
132
+ }
133
+
134
+ return (
135
+ <View className="px-4 pb-3 mt-2">
136
+ <Form.SearchBar onChangeText={setQuery} placeholder={`Buscar ${name}`} value={query} />
137
+ </View>
138
+ );
139
+ }
140
+
141
+ function HeaderActions({ children }: { children: ReactNode }) {
142
+ return (
143
+ <View className="flex-row px-4 my-3 items-center justify-between flex-1 gap-2">
144
+ {children}
145
+ </View>
146
+ );
147
+ }
148
+
149
+ function HeaderFilters({ children }: { children: ReactNode }) {
150
+ return <View className="px-4 py-2 items-center">{children}</View>;
151
+ }
152
+
153
+ interface FilterChipProps {
154
+ label: string;
155
+ active?: boolean;
156
+ onPress: () => void;
157
+ }
158
+
159
+ const filterChip = tv({
160
+ base: "py-[5px] px-2.5 items-center justify-center rounded-md",
161
+ variants: {
162
+ active: {
163
+ true: "bg-primary",
164
+ false: "bg-transparent",
165
+ },
166
+ },
167
+ defaultVariants: { active: false },
168
+ });
169
+
170
+ const filterChipText = tv({
171
+ variants: {
172
+ active: {
173
+ true: "text-text-on-primary font-semibold",
174
+ false: "text-text-secondary",
175
+ },
176
+ },
177
+ defaultVariants: { active: false },
178
+ });
179
+
180
+ function FilterChip({ label, active = false, onPress }: FilterChipProps) {
181
+ return (
182
+ <TouchableOpacity
183
+ activeOpacity={0.7}
184
+ className={filterChip({ active })}
185
+ onPress={onPress}
186
+ >
187
+ <Typography.Text className={filterChipText({ active })} variant="bodySmall">
188
+ {active ? "• " : ""}
189
+ {label}
190
+ </Typography.Text>
191
+ </TouchableOpacity>
192
+ );
193
+ }
194
+
195
+ function FilterChips({ children }: { children: ReactNode }) {
196
+ const childArray = React.Children.toArray(children);
197
+
198
+ return (
199
+ <ScrollView
200
+ contentContainerStyle={{
201
+ paddingHorizontal: 16,
202
+ }}
203
+ horizontal
204
+ showsHorizontalScrollIndicator={false}
205
+ style={{ flexGrow: 0 }}
206
+ >
207
+ <View className="flex-row bg-bg-card rounded-[10px] border-[1.5px] border-border-default self-center shadow-sm overflow-hidden">
208
+ {childArray.map((child, index) => (
209
+ <View className="flex-row items-center" key={index}>
210
+ {child}
211
+ {index < childArray.length - 1 && (
212
+ <View className="w-[1.5px] h-[22px] bg-border-divider opacity-50 my-0.5" />
213
+ )}
214
+ </View>
215
+ ))}
216
+ </View>
217
+ </ScrollView>
218
+ );
219
+ }
220
+
221
+ function Content({
222
+ children,
223
+ withMargin = true,
224
+ }: {
225
+ children?: (item: any) => ReactNode;
226
+ withMargin?: boolean;
227
+ }) {
228
+ const {
229
+ name,
230
+ items,
231
+ isLoading,
232
+ hasError,
233
+ errorMessage,
234
+ onRefresh,
235
+ onRetry,
236
+ onBack,
237
+ showRefreshing,
238
+ setShowRefreshing,
239
+ } = useListView();
240
+
241
+ const handleRefresh = useCallback(async () => {
242
+ setShowRefreshing(true);
243
+ if (onRefresh) {
244
+ await onRefresh();
245
+ }
246
+ setShowRefreshing(false);
247
+ }, [onRefresh, setShowRefreshing]);
248
+
249
+ if (isLoading) {
250
+ return <Feedback.Loading message={`Cargando ${name}...`} />;
251
+ }
252
+
253
+ if (hasError) {
254
+ return (
255
+ <ScrollView
256
+ contentContainerStyle={{
257
+ flexGrow: 1,
258
+ justifyContent: "center",
259
+ alignItems: "center",
260
+ }}
261
+ refreshControl={
262
+ <RefreshControl
263
+ colors={[theme.primary]}
264
+ onRefresh={handleRefresh}
265
+ refreshing={showRefreshing}
266
+ />
267
+ }
268
+ >
269
+ <Feedback.Error message={errorMessage} onBack={onBack} onRetry={onRetry} />
270
+ </ScrollView>
271
+ );
272
+ }
273
+
274
+ if (items.length === 0) {
275
+ return (
276
+ <ScrollView
277
+ contentContainerStyle={{
278
+ flexGrow: 1,
279
+ justifyContent: "center",
280
+ alignItems: "center",
281
+ }}
282
+ refreshControl={
283
+ <RefreshControl
284
+ colors={[theme.primary]}
285
+ onRefresh={handleRefresh}
286
+ refreshing={showRefreshing}
287
+ />
288
+ }
289
+ >
290
+ <Feedback.Empty />
291
+ </ScrollView>
292
+ );
293
+ }
294
+
295
+ return (
296
+ <View style={{ flex: 1 }}>
297
+ <Display.CountRecords count={items.length || 0} name={name} />
298
+ <ContentList contentWithMargin={withMargin}>{children}</ContentList>
299
+ </View>
300
+ );
301
+ }
302
+
303
+ function ContentList({
304
+ children,
305
+ contentWithMargin,
306
+ }: {
307
+ children?: (item: any) => ReactNode;
308
+ contentWithMargin: boolean;
309
+ }) {
310
+ const {
311
+ items,
312
+ onRefresh,
313
+ showRefreshing,
314
+ setShowRefreshing,
315
+ onPressItem,
316
+ onDeleteItem,
317
+ readonly,
318
+ } = useListView();
319
+ const rowItems = useMemo(() => toRowItems(items), [items]);
320
+
321
+ const handleRefresh = useCallback(async () => {
322
+ setShowRefreshing(true);
323
+ if (onRefresh) {
324
+ await onRefresh();
325
+ }
326
+ setShowRefreshing(false);
327
+ }, [onRefresh, setShowRefreshing]);
328
+
329
+ const renderItem = useCallback(
330
+ ({ item }: { item: IRowItem<any> }) => {
331
+ if (children) {
332
+ return <>{children(item)}</>;
333
+ }
334
+
335
+ const onPress = () => onPressItem?.(item);
336
+ const onDelete = () => onDeleteItem?.(item);
337
+ const isReadOnly = item.readonly || readonly || false;
338
+
339
+ return (
340
+ <Navigation.RowItem
341
+ item={{ ...item }}
342
+ onDelete={onDelete}
343
+ onPress={onPress}
344
+ readonly={isReadOnly}
345
+ />
346
+ );
347
+ },
348
+ [children, onPressItem, onDeleteItem, readonly],
349
+ );
350
+
351
+ return (
352
+ <View
353
+ style={{
354
+ flex: 1,
355
+ marginTop: 2,
356
+ paddingHorizontal: contentWithMargin ? 4 : 0,
357
+ }}
358
+ >
359
+ <FlatList
360
+ data={rowItems}
361
+ keyExtractor={(item) => String(item.index)}
362
+ refreshControl={
363
+ <RefreshControl
364
+ colors={[theme.primary]}
365
+ onRefresh={handleRefresh}
366
+ refreshing={showRefreshing}
367
+ />
368
+ }
369
+ renderItem={renderItem}
370
+ scrollEnabled={true}
371
+ showsVerticalScrollIndicator={false}
372
+ />
373
+ </View>
374
+ );
375
+ }
376
+
377
+ function Footer({ children }: { children: ReactNode }) {
378
+ const { items } = useListView();
379
+
380
+ if (items.length === 0) {
381
+ return null;
382
+ }
383
+
384
+ return <View className="px-4">{children}</View>;
385
+ }
386
+
387
+ function FloatingButton({ children }: { children: ReactNode }) {
388
+ return <View className="absolute bottom-[50px] right-6 z-10">{children}</View>;
389
+ }
390
+
391
+ interface RowRootProps {
392
+ children: ReactNode;
393
+ onPress?: () => void;
394
+ onLongPress?: () => void;
395
+ showDivider?: boolean;
396
+ style?: StyleProp<ViewStyle>;
397
+ backgroundColor?: string;
398
+ }
399
+
400
+ function RowRoot({
401
+ children,
402
+ onPress,
403
+ onLongPress,
404
+ showDivider = true,
405
+ style,
406
+ backgroundColor,
407
+ }: RowRootProps) {
408
+ const baseClass = "flex-row items-center py-3 px-4 bg-bg-card";
409
+ const dividerClass = showDivider ? " border-b border-border-default" : "";
410
+
411
+ const content = (
412
+ <View
413
+ className={baseClass + dividerClass}
414
+ style={[backgroundColor ? { backgroundColor } : undefined, style]}
415
+ >
416
+ {children}
417
+ </View>
418
+ );
419
+
420
+ if (onPress || onLongPress) {
421
+ return (
422
+ <TouchableOpacity activeOpacity={0.7} onLongPress={onLongPress} onPress={onPress}>
423
+ {content}
424
+ </TouchableOpacity>
425
+ );
426
+ }
427
+
428
+ return content;
429
+ }
430
+
431
+ interface RowAvatarProps {
432
+ children: ReactNode;
433
+ style?: StyleProp<ViewStyle>;
434
+ }
435
+
436
+ function RowAvatar({ children, style }: RowAvatarProps) {
437
+ return (
438
+ <View className="mr-3 justify-center items-center" style={style}>
439
+ {children}
440
+ </View>
441
+ );
442
+ }
443
+
444
+ interface RowContentProps {
445
+ children: ReactNode;
446
+ style?: StyleProp<ViewStyle>;
447
+ }
448
+
449
+ function RowContent({ children, style }: RowContentProps) {
450
+ return (
451
+ <View className="flex-1 gap-0.5" style={style}>
452
+ {children}
453
+ </View>
454
+ );
455
+ }
456
+
457
+ interface RowTitleProps {
458
+ children: ReactNode;
459
+ badge?: ReactNode;
460
+ rightComponent?: ReactNode;
461
+ numberOfLines?: number;
462
+ }
463
+
464
+ function RowTitle({ children, badge, rightComponent, numberOfLines = 1 }: RowTitleProps) {
465
+ return (
466
+ <View className="flex-row items-center justify-between gap-2">
467
+ <Typography.Text
468
+ className="flex-1 flex-shrink min-w-0"
469
+ numberOfLines={numberOfLines}
470
+ semibold
471
+ variant="body"
472
+ >
473
+ {children}
474
+ </Typography.Text>
475
+ <View className="flex-row items-center gap-2">
476
+ {badge}
477
+ {rightComponent}
478
+ </View>
479
+ </View>
480
+ );
481
+ }
482
+
483
+ interface RowSubtitleProps {
484
+ children: ReactNode;
485
+ className?: string;
486
+ }
487
+
488
+ function RowSubtitle({ children, className }: RowSubtitleProps) {
489
+ return (
490
+ <Typography.Text className={cn("text-text-secondary", className)} variant="bodySmall">
491
+ {children}
492
+ </Typography.Text>
493
+ );
494
+ }
495
+
496
+ interface RowFooterProps {
497
+ left?: ReactNode;
498
+ right?: ReactNode;
499
+ children?: ReactNode;
500
+ }
501
+
502
+ function RowFooter({ left, right, children }: RowFooterProps) {
503
+ if (children) {
504
+ return <View className="mt-1">{children}</View>;
505
+ }
506
+
507
+ return (
508
+ <View className="flex-row items-center justify-between mt-1">
509
+ <View className="flex-row items-center gap-2">{left}</View>
510
+ <View className="flex-row items-center">{right}</View>
511
+ </View>
512
+ );
513
+ }
514
+
515
+ interface RowActionsProps {
516
+ children: ReactNode;
517
+ style?: StyleProp<ViewStyle>;
518
+ }
519
+
520
+ function RowActions({ children, style }: RowActionsProps) {
521
+ return (
522
+ <View className="flex-row items-center gap-1 ml-2" style={style}>
523
+ {children}
524
+ </View>
525
+ );
526
+ }
527
+
528
+ interface RowActionButtonProps {
529
+ icon: ReactNode;
530
+ onPress?: () => void;
531
+ }
532
+
533
+ function RowActionButton({ icon, onPress }: RowActionButtonProps) {
534
+ return (
535
+ <TouchableOpacity className="p-1.5 rounded" onPress={onPress}>
536
+ {icon}
537
+ </TouchableOpacity>
538
+ );
539
+ }
540
+
541
+ const FiltersWithSubComponents = Object.assign(HeaderFilters, {
542
+ Chip: FilterChip,
543
+ Chips: FilterChips,
544
+ });
545
+
546
+ const HeaderWithSubComponents = Object.assign(Header, {
547
+ Search: HeaderSearch,
548
+ Actions: HeaderActions,
549
+ Filters: FiltersWithSubComponents,
550
+ });
551
+
552
+ const RowWithSubComponents = Object.assign(RowRoot, {
553
+ Avatar: RowAvatar,
554
+ Content: RowContent,
555
+ Title: RowTitle,
556
+ Subtitle: RowSubtitle,
557
+ Footer: RowFooter,
558
+ Actions: RowActions,
559
+ ActionButton: RowActionButton,
560
+ });
561
+
562
+ const ContentWithSubComponents = Object.assign(Content, {
563
+ List: ContentList,
564
+ Row: RowWithSubComponents,
565
+ });
566
+
567
+ export const ListViewV2 = {
568
+ Root: ListViewRoot,
569
+ Header: HeaderWithSubComponents,
570
+ Content: ContentWithSubComponents,
571
+ Footer,
572
+ FloatingButton,
573
+ };
574
+
575
+ export default ListViewV2;