@axelor/aos-mobile-ui 9.1.12 → 9.2.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 (434) hide show
  1. package/lib/components/atoms/BorderBar/BorderBar.d.ts +9 -0
  2. package/lib/components/atoms/BorderBar/BorderBar.js +30 -0
  3. package/lib/components/atoms/BorderBar/BorderBar.js.map +1 -0
  4. package/lib/components/atoms/Card/Card.d.ts +2 -1
  5. package/lib/components/atoms/Card/Card.js +2 -2
  6. package/lib/components/atoms/Card/Card.js.map +1 -1
  7. package/lib/components/atoms/HorizontalRule/HorizontalRule.d.ts +3 -1
  8. package/lib/components/atoms/HorizontalRule/HorizontalRule.js +5 -7
  9. package/lib/components/atoms/HorizontalRule/HorizontalRule.js.map +1 -1
  10. package/lib/components/atoms/HtmlInput/HtmlInput.d.ts +3 -1
  11. package/lib/components/atoms/HtmlInput/HtmlInput.js +13 -8
  12. package/lib/components/atoms/HtmlInput/HtmlInput.js.map +1 -1
  13. package/lib/components/atoms/HtmlViewer/HtmlViewer.d.ts +10 -0
  14. package/lib/components/atoms/HtmlViewer/HtmlViewer.js +93 -0
  15. package/lib/components/atoms/HtmlViewer/HtmlViewer.js.map +1 -0
  16. package/lib/components/atoms/Icon/Icon.d.ts +2 -1
  17. package/lib/components/atoms/Icon/Icon.js +4 -5
  18. package/lib/components/atoms/Icon/Icon.js.map +1 -1
  19. package/lib/components/atoms/Input/Input.d.ts +5 -5
  20. package/lib/components/atoms/Input/Input.js +6 -5
  21. package/lib/components/atoms/Input/Input.js.map +1 -1
  22. package/lib/components/atoms/ProgressCircle/ProgressCircle.js +11 -7
  23. package/lib/components/atoms/ProgressCircle/ProgressCircle.js.map +1 -1
  24. package/lib/components/atoms/RadioButton/RadioButton.js +25 -21
  25. package/lib/components/atoms/RadioButton/RadioButton.js.map +1 -1
  26. package/lib/components/atoms/Screen/Screen.d.ts +1 -2
  27. package/lib/components/atoms/Screen/Screen.js +2 -9
  28. package/lib/components/atoms/Screen/Screen.js.map +1 -1
  29. package/lib/components/atoms/Switch/Switch.d.ts +1 -1
  30. package/lib/components/atoms/Switch/Switch.js +5 -5
  31. package/lib/components/atoms/Switch/Switch.js.map +1 -1
  32. package/lib/components/atoms/Text/Text.d.ts +2 -1
  33. package/lib/components/atoms/Text/Text.js +1 -1
  34. package/lib/components/atoms/Text/Text.js.map +1 -1
  35. package/lib/components/atoms/VerticalRule/VerticalRule.d.ts +8 -0
  36. package/lib/components/atoms/VerticalRule/VerticalRule.js +33 -0
  37. package/lib/components/atoms/VerticalRule/VerticalRule.js.map +1 -0
  38. package/lib/components/atoms/index.d.ts +3 -0
  39. package/lib/components/atoms/index.js +3 -0
  40. package/lib/components/atoms/index.js.map +1 -1
  41. package/lib/components/molecules/Alert/Alert.js +18 -30
  42. package/lib/components/molecules/Alert/Alert.js.map +1 -1
  43. package/lib/components/molecules/Badge/Badge.d.ts +2 -1
  44. package/lib/components/molecules/Badge/Badge.js +15 -12
  45. package/lib/components/molecules/Badge/Badge.js.map +1 -1
  46. package/lib/components/molecules/BottomSheet/BottomSheet.js +1 -1
  47. package/lib/components/molecules/BottomSheet/BottomSheet.js.map +1 -1
  48. package/lib/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
  49. package/lib/components/molecules/Button/Button.d.ts +2 -1
  50. package/lib/components/molecules/Button/Button.js +6 -12
  51. package/lib/components/molecules/Button/Button.js.map +1 -1
  52. package/lib/components/molecules/CalendarLegend/CalendarLegend.d.ts +13 -0
  53. package/lib/components/molecules/CalendarLegend/CalendarLegend.js +89 -0
  54. package/lib/components/molecules/CalendarLegend/CalendarLegend.js.map +1 -0
  55. package/lib/components/molecules/CalendarLegend/index.d.ts +2 -0
  56. package/lib/components/molecules/CalendarLegend/index.js +19 -0
  57. package/lib/components/molecules/CalendarLegend/index.js.map +1 -0
  58. package/lib/components/molecules/CalendarLegend/types.d.ts +6 -0
  59. package/lib/components/molecules/CalendarLegend/types.js +19 -0
  60. package/lib/components/molecules/CalendarLegend/types.js.map +1 -0
  61. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.d.ts +15 -0
  62. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.js +49 -0
  63. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.js.map +1 -0
  64. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.d.ts +8 -0
  65. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.js +35 -0
  66. package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.js.map +1 -0
  67. package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.d.ts +7 -0
  68. package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.js +44 -0
  69. package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.js.map +1 -0
  70. package/lib/components/molecules/CalendarMonthGrid/index.d.ts +3 -0
  71. package/lib/components/molecules/CalendarMonthGrid/index.js +21 -0
  72. package/lib/components/molecules/CalendarMonthGrid/index.js.map +1 -0
  73. package/lib/components/molecules/CardIconButton/CardIconButton.js +1 -1
  74. package/lib/components/molecules/Checkbox/Checkbox.d.ts +1 -1
  75. package/lib/components/molecules/Checkbox/Checkbox.js +11 -27
  76. package/lib/components/molecules/Checkbox/Checkbox.js.map +1 -1
  77. package/lib/components/molecules/Chip/Chip.d.ts +1 -1
  78. package/lib/components/molecules/Chip/Chip.js +23 -19
  79. package/lib/components/molecules/Chip/Chip.js.map +1 -1
  80. package/lib/components/molecules/CircleButton/CircleButton.js +1 -1
  81. package/lib/components/molecules/CircleButton/CircleButton.js.map +1 -1
  82. package/lib/components/molecules/ClearableCard/ClearableCard.js +2 -7
  83. package/lib/components/molecules/ClearableCard/ClearableCard.js.map +1 -1
  84. package/lib/components/molecules/DoubleIcon/DoubleIcon.js +1 -1
  85. package/lib/components/molecules/DoubleIcon/DoubleIcon.js.map +1 -1
  86. package/lib/components/molecules/DropdownCard/DropdownCard.d.ts +4 -3
  87. package/lib/components/molecules/DropdownCard/DropdownCard.js +36 -55
  88. package/lib/components/molecules/DropdownCard/DropdownCard.js.map +1 -1
  89. package/lib/components/molecules/DropdownMenu/DropdownMenu.d.ts +4 -2
  90. package/lib/components/molecules/DropdownMenu/DropdownMenu.js +52 -26
  91. package/lib/components/molecules/DropdownMenu/DropdownMenu.js.map +1 -1
  92. package/lib/components/molecules/EditableHtmlInput/EditableHtmlInput.js +2 -3
  93. package/lib/components/molecules/EditableHtmlInput/EditableHtmlInput.js.map +1 -1
  94. package/lib/components/molecules/EditableInput/EditableInput.js +4 -17
  95. package/lib/components/molecules/EditableInput/EditableInput.js.map +1 -1
  96. package/lib/components/molecules/FormHtmlInput/FormHtmlInput.d.ts +2 -2
  97. package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js +13 -23
  98. package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js.map +1 -1
  99. package/lib/components/molecules/FormIncrementInput/FormIncrementInput.js +6 -17
  100. package/lib/components/molecules/FormIncrementInput/FormIncrementInput.js.map +1 -1
  101. package/lib/components/molecules/FormInput/FormInput.d.ts +1 -1
  102. package/lib/components/molecules/FormInput/FormInput.js +2 -9
  103. package/lib/components/molecules/FormInput/FormInput.js.map +1 -1
  104. package/lib/components/molecules/FormSlider/FormSlider.js +3 -13
  105. package/lib/components/molecules/FormSlider/FormSlider.js.map +1 -1
  106. package/lib/components/molecules/GroupedCard/GroupedCard.d.ts +13 -0
  107. package/lib/components/molecules/GroupedCard/GroupedCard.js +60 -0
  108. package/lib/components/molecules/GroupedCard/GroupedCard.js.map +1 -0
  109. package/lib/components/molecules/HorizontalRuleText/HorizontalRuleText.js +5 -6
  110. package/lib/components/molecules/HorizontalRuleText/HorizontalRuleText.js.map +1 -1
  111. package/lib/components/molecules/IconInput/IconInput.d.ts +4 -4
  112. package/lib/components/molecules/IconInput/IconInput.js +15 -23
  113. package/lib/components/molecules/IconInput/IconInput.js.map +1 -1
  114. package/lib/components/molecules/IconTile/IconTile.d.ts +19 -0
  115. package/lib/components/molecules/IconTile/IconTile.js +43 -0
  116. package/lib/components/molecules/IconTile/IconTile.js.map +1 -0
  117. package/lib/components/molecules/Increment/Increment.d.ts +1 -1
  118. package/lib/components/molecules/Increment/Increment.js +3 -5
  119. package/lib/components/molecules/Increment/Increment.js.map +1 -1
  120. package/lib/components/molecules/Increment/IncrementButton.js +7 -14
  121. package/lib/components/molecules/Increment/IncrementButton.js.map +1 -1
  122. package/lib/components/molecules/Label/Label.d.ts +1 -1
  123. package/lib/components/molecules/Label/Label.js +11 -15
  124. package/lib/components/molecules/Label/Label.js.map +1 -1
  125. package/lib/components/molecules/LabelText/LabelText.js +6 -4
  126. package/lib/components/molecules/LabelText/LabelText.js.map +1 -1
  127. package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.d.ts +6 -7
  128. package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.js +91 -33
  129. package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.js.map +1 -1
  130. package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js +21 -33
  131. package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js.map +1 -1
  132. package/lib/components/molecules/NotesCard/NotesCard.d.ts +2 -1
  133. package/lib/components/molecules/NotesCard/NotesCard.js +11 -15
  134. package/lib/components/molecules/NotesCard/NotesCard.js.map +1 -1
  135. package/lib/components/molecules/NumberBubble/NumberBubble.js +2 -2
  136. package/lib/components/molecules/NumberBubble/NumberBubble.js.map +1 -1
  137. package/lib/components/molecules/NumberChevronInput/NumberChevronInput.d.ts +5 -3
  138. package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js +35 -28
  139. package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js.map +1 -1
  140. package/lib/components/molecules/PanelTabs/PanelTabs.js +1 -1
  141. package/lib/components/molecules/PeriodNavigation/PeriodNavigation.d.ts +14 -0
  142. package/lib/components/molecules/PeriodNavigation/PeriodNavigation.js +45 -0
  143. package/lib/components/molecules/PeriodNavigation/PeriodNavigation.js.map +1 -0
  144. package/lib/components/molecules/RadioSelect/RadioSelect.js +8 -8
  145. package/lib/components/molecules/RadioSelect/RadioSelect.js.map +1 -1
  146. package/lib/components/molecules/RightIconButton/RightIconButton.d.ts +4 -1
  147. package/lib/components/molecules/RightIconButton/RightIconButton.js +8 -7
  148. package/lib/components/molecules/RightIconButton/RightIconButton.js.map +1 -1
  149. package/lib/components/molecules/SelectionContainer/SelectionContainer.d.ts +2 -1
  150. package/lib/components/molecules/SelectionContainer/SelectionContainer.js +46 -58
  151. package/lib/components/molecules/SelectionContainer/SelectionContainer.js.map +1 -1
  152. package/lib/components/molecules/StarScore/StarScore.d.ts +1 -1
  153. package/lib/components/molecules/StarScore/StarScore.js +7 -10
  154. package/lib/components/molecules/StarScore/StarScore.js.map +1 -1
  155. package/lib/components/molecules/Stepper/StepList.d.ts +2 -1
  156. package/lib/components/molecules/Stepper/StepList.js +14 -12
  157. package/lib/components/molecules/Stepper/StepList.js.map +1 -1
  158. package/lib/components/molecules/Stepper/Stepper.d.ts +1 -2
  159. package/lib/components/molecules/Stepper/Stepper.js +17 -28
  160. package/lib/components/molecules/Stepper/Stepper.js.map +1 -1
  161. package/lib/components/molecules/SwitchCard/SwitchCard.d.ts +6 -2
  162. package/lib/components/molecules/SwitchCard/SwitchCard.js +6 -13
  163. package/lib/components/molecules/SwitchCard/SwitchCard.js.map +1 -1
  164. package/lib/components/molecules/TextUnit/TextUnit.js +3 -3
  165. package/lib/components/molecules/TextUnit/TextUnit.js.map +1 -1
  166. package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js +34 -34
  167. package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js.map +1 -1
  168. package/lib/components/molecules/ViewAllContainer/ViewAllContainer.d.ts +2 -1
  169. package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js +24 -33
  170. package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js.map +1 -1
  171. package/lib/components/molecules/index.d.ts +5 -0
  172. package/lib/components/molecules/index.js +5 -0
  173. package/lib/components/molecules/index.js.map +1 -1
  174. package/lib/components/organisms/ActionCard/ActionCard.js +4 -5
  175. package/lib/components/organisms/ActionCard/ActionCard.js.map +1 -1
  176. package/lib/components/organisms/ActionSheet/ActionSheet.d.ts +2 -1
  177. package/lib/components/organisms/ActionSheet/ActionSheet.js +18 -8
  178. package/lib/components/organisms/ActionSheet/ActionSheet.js.map +1 -1
  179. package/lib/components/organisms/AgendaView/AgendaDayCell.d.ts +13 -0
  180. package/lib/components/organisms/AgendaView/AgendaDayCell.js +71 -0
  181. package/lib/components/organisms/AgendaView/AgendaDayCell.js.map +1 -0
  182. package/lib/components/organisms/AgendaView/AgendaDayRow.d.ts +14 -0
  183. package/lib/components/organisms/AgendaView/AgendaDayRow.js +65 -0
  184. package/lib/components/organisms/AgendaView/AgendaDayRow.js.map +1 -0
  185. package/lib/components/organisms/AgendaView/AgendaHeader.d.ts +12 -0
  186. package/lib/components/organisms/AgendaView/AgendaHeader.js +44 -0
  187. package/lib/components/organisms/AgendaView/AgendaHeader.js.map +1 -0
  188. package/lib/components/organisms/AgendaView/AgendaItemRow.d.ts +8 -0
  189. package/lib/components/organisms/AgendaView/AgendaItemRow.js +58 -0
  190. package/lib/components/organisms/AgendaView/AgendaItemRow.js.map +1 -0
  191. package/lib/components/organisms/AgendaView/AgendaMonth.d.ts +16 -0
  192. package/lib/components/organisms/AgendaView/AgendaMonth.js +26 -0
  193. package/lib/components/organisms/AgendaView/AgendaMonth.js.map +1 -0
  194. package/lib/components/organisms/AgendaView/AgendaMonthSeparator.d.ts +7 -0
  195. package/lib/components/organisms/AgendaView/AgendaMonthSeparator.js +41 -0
  196. package/lib/components/organisms/AgendaView/AgendaMonthSeparator.js.map +1 -0
  197. package/lib/components/organisms/AgendaView/AgendaView.d.ts +24 -0
  198. package/lib/components/organisms/AgendaView/AgendaView.js +134 -0
  199. package/lib/components/organisms/AgendaView/AgendaView.js.map +1 -0
  200. package/lib/components/organisms/AgendaView/MonthList.d.ts +16 -0
  201. package/lib/components/organisms/AgendaView/MonthList.js +64 -0
  202. package/lib/components/organisms/AgendaView/MonthList.js.map +1 -0
  203. package/lib/components/organisms/AgendaView/MonthPanel.d.ts +17 -0
  204. package/lib/components/organisms/AgendaView/MonthPanel.js +108 -0
  205. package/lib/components/organisms/AgendaView/MonthPanel.js.map +1 -0
  206. package/lib/components/organisms/AgendaView/agenda-view.helpers.d.ts +6 -0
  207. package/lib/components/organisms/AgendaView/agenda-view.helpers.js +53 -0
  208. package/lib/components/organisms/AgendaView/agenda-view.helpers.js.map +1 -0
  209. package/lib/components/organisms/AgendaView/index.d.ts +3 -0
  210. package/lib/components/organisms/AgendaView/index.js +20 -0
  211. package/lib/components/organisms/AgendaView/index.js.map +1 -0
  212. package/lib/components/organisms/AgendaView/types.d.ts +12 -0
  213. package/lib/components/organisms/AgendaView/types.js +19 -0
  214. package/lib/components/organisms/AgendaView/types.js.map +1 -0
  215. package/lib/components/organisms/AgendaView/use-month-panel-drag.d.ts +13 -0
  216. package/lib/components/organisms/AgendaView/use-month-panel-drag.js +77 -0
  217. package/lib/components/organisms/AgendaView/use-month-panel-drag.js.map +1 -0
  218. package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js +5 -5
  219. package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js.map +1 -1
  220. package/lib/components/organisms/AutoCompleteSearch/ItemCard.d.ts +2 -2
  221. package/lib/components/organisms/AutoCompleteSearch/ItemCard.js +13 -20
  222. package/lib/components/organisms/AutoCompleteSearch/ItemCard.js.map +1 -1
  223. package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js +8 -9
  224. package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js.map +1 -1
  225. package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.d.ts +12 -0
  226. package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.js +60 -0
  227. package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.js.map +1 -0
  228. package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.d.ts +28 -0
  229. package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.js +140 -0
  230. package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.js.map +1 -0
  231. package/lib/components/organisms/CalendarRangePicker/DayCell.d.ts +17 -0
  232. package/lib/components/organisms/CalendarRangePicker/DayCell.js +131 -0
  233. package/lib/components/organisms/CalendarRangePicker/DayCell.js.map +1 -0
  234. package/lib/components/organisms/CalendarRangePicker/RangeMonth.d.ts +18 -0
  235. package/lib/components/organisms/CalendarRangePicker/RangeMonth.js +35 -0
  236. package/lib/components/organisms/CalendarRangePicker/RangeMonth.js.map +1 -0
  237. package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.d.ts +12 -0
  238. package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.js +68 -0
  239. package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.js.map +1 -0
  240. package/lib/components/organisms/CalendarRangePicker/index.d.ts +2 -0
  241. package/lib/components/organisms/CalendarRangePicker/index.js +19 -0
  242. package/lib/components/organisms/CalendarRangePicker/index.js.map +1 -0
  243. package/lib/components/organisms/CalendarRangePicker/types.d.ts +11 -0
  244. package/lib/components/organisms/CalendarRangePicker/types.js +19 -0
  245. package/lib/components/organisms/CalendarRangePicker/types.js.map +1 -0
  246. package/lib/components/organisms/ChipSelect/ChipSelect.js +24 -21
  247. package/lib/components/organisms/ChipSelect/ChipSelect.js.map +1 -1
  248. package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.d.ts +2 -0
  249. package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.js +2 -2
  250. package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.js.map +1 -1
  251. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.d.ts +3 -2
  252. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js +36 -34
  253. package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js.map +1 -1
  254. package/lib/components/organisms/FloatingButton/FloatingActionButton.d.ts +2 -2
  255. package/lib/components/organisms/FloatingButton/FloatingActionButton.js +2 -1
  256. package/lib/components/organisms/FloatingButton/FloatingActionButton.js.map +1 -1
  257. package/lib/components/organisms/GanttView/GanttView.d.ts +36 -0
  258. package/lib/components/organisms/GanttView/GanttView.js +267 -0
  259. package/lib/components/organisms/GanttView/GanttView.js.map +1 -0
  260. package/lib/components/organisms/GanttView/body/GanttBar.d.ts +12 -0
  261. package/lib/components/organisms/GanttView/body/GanttBar.js +52 -0
  262. package/lib/components/organisms/GanttView/body/GanttBar.js.map +1 -0
  263. package/lib/components/organisms/GanttView/body/GanttCellStrip.d.ts +10 -0
  264. package/lib/components/organisms/GanttView/body/GanttCellStrip.js +55 -0
  265. package/lib/components/organisms/GanttView/body/GanttCellStrip.js.map +1 -0
  266. package/lib/components/organisms/GanttView/body/GanttGridLines.d.ts +9 -0
  267. package/lib/components/organisms/GanttView/body/GanttGridLines.js +45 -0
  268. package/lib/components/organisms/GanttView/body/GanttGridLines.js.map +1 -0
  269. package/lib/components/organisms/GanttView/body/GanttGroupHeader.d.ts +9 -0
  270. package/lib/components/organisms/GanttView/body/GanttGroupHeader.js +61 -0
  271. package/lib/components/organisms/GanttView/body/GanttGroupHeader.js.map +1 -0
  272. package/lib/components/organisms/GanttView/body/GanttGroupLane.d.ts +10 -0
  273. package/lib/components/organisms/GanttView/body/GanttGroupLane.js +43 -0
  274. package/lib/components/organisms/GanttView/body/GanttGroupLane.js.map +1 -0
  275. package/lib/components/organisms/GanttView/body/GanttRowLane.d.ts +13 -0
  276. package/lib/components/organisms/GanttView/body/GanttRowLane.js +53 -0
  277. package/lib/components/organisms/GanttView/body/GanttRowLane.js.map +1 -0
  278. package/lib/components/organisms/GanttView/body/GanttRowName.d.ts +9 -0
  279. package/lib/components/organisms/GanttView/body/GanttRowName.js +51 -0
  280. package/lib/components/organisms/GanttView/body/GanttRowName.js.map +1 -0
  281. package/lib/components/organisms/GanttView/body/index.d.ts +6 -0
  282. package/lib/components/organisms/GanttView/body/index.js +24 -0
  283. package/lib/components/organisms/GanttView/body/index.js.map +1 -0
  284. package/lib/components/organisms/GanttView/gantt-view.helpers.d.ts +19 -0
  285. package/lib/components/organisms/GanttView/gantt-view.helpers.js +219 -0
  286. package/lib/components/organisms/GanttView/gantt-view.helpers.js.map +1 -0
  287. package/lib/components/organisms/GanttView/gantt-view.styles.d.ts +124 -0
  288. package/lib/components/organisms/GanttView/gantt-view.styles.js +148 -0
  289. package/lib/components/organisms/GanttView/gantt-view.styles.js.map +1 -0
  290. package/lib/components/organisms/GanttView/header/GanttControls.d.ts +13 -0
  291. package/lib/components/organisms/GanttView/header/GanttControls.js +53 -0
  292. package/lib/components/organisms/GanttView/header/GanttControls.js.map +1 -0
  293. package/lib/components/organisms/GanttView/header/GanttHeader.d.ts +24 -0
  294. package/lib/components/organisms/GanttView/header/GanttHeader.js +75 -0
  295. package/lib/components/organisms/GanttView/header/GanttHeader.js.map +1 -0
  296. package/lib/components/organisms/GanttView/header/index.d.ts +1 -0
  297. package/lib/components/organisms/GanttView/header/index.js +19 -0
  298. package/lib/components/organisms/GanttView/header/index.js.map +1 -0
  299. package/lib/components/organisms/GanttView/index.d.ts +4 -0
  300. package/lib/components/organisms/GanttView/index.js +21 -0
  301. package/lib/components/organisms/GanttView/index.js.map +1 -0
  302. package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.d.ts +10 -0
  303. package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.js +67 -0
  304. package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.js.map +1 -0
  305. package/lib/components/organisms/GanttView/scale/GanttScaleHeader.d.ts +15 -0
  306. package/lib/components/organisms/GanttView/scale/GanttScaleHeader.js +46 -0
  307. package/lib/components/organisms/GanttView/scale/GanttScaleHeader.js.map +1 -0
  308. package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.d.ts +8 -0
  309. package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.js +69 -0
  310. package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.js.map +1 -0
  311. package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.d.ts +6 -0
  312. package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.js +53 -0
  313. package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.js.map +1 -0
  314. package/lib/components/organisms/GanttView/scale/index.d.ts +1 -0
  315. package/lib/components/organisms/GanttView/scale/index.js +19 -0
  316. package/lib/components/organisms/GanttView/scale/index.js.map +1 -0
  317. package/lib/components/organisms/GanttView/types.d.ts +87 -0
  318. package/lib/components/organisms/GanttView/types.js +19 -0
  319. package/lib/components/organisms/GanttView/types.js.map +1 -0
  320. package/lib/components/organisms/GanttView/use-default-zoom.d.ts +2 -0
  321. package/lib/components/organisms/GanttView/use-default-zoom.js +23 -0
  322. package/lib/components/organisms/GanttView/use-default-zoom.js.map +1 -0
  323. package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js +6 -2
  324. package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js.map +1 -1
  325. package/lib/components/organisms/HeaderContainer/HeaderContainer.js +21 -17
  326. package/lib/components/organisms/HeaderContainer/HeaderContainer.js.map +1 -1
  327. package/lib/components/organisms/ImageBubble/ImageBubble.d.ts +1 -1
  328. package/lib/components/organisms/ImageBubble/ImageBubble.js +4 -7
  329. package/lib/components/organisms/ImageBubble/ImageBubble.js.map +1 -1
  330. package/lib/components/organisms/InfoBubble/InfoBubble.js +1 -1
  331. package/lib/components/organisms/InfoBubble/InfoBubble.js.map +1 -1
  332. package/lib/components/organisms/InfoButton/InfoButton.d.ts +1 -1
  333. package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js +6 -10
  334. package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js.map +1 -1
  335. package/lib/components/organisms/Picker/Picker.d.ts +2 -1
  336. package/lib/components/organisms/Picker/Picker.js +25 -29
  337. package/lib/components/organisms/Picker/Picker.js.map +1 -1
  338. package/lib/components/organisms/ProgressBar/ProgressBar.d.ts +1 -1
  339. package/lib/components/organisms/ProgressBar/ProgressBar.js +11 -16
  340. package/lib/components/organisms/ProgressBar/ProgressBar.js.map +1 -1
  341. package/lib/components/organisms/QuantityCard/QuantityCard.d.ts +3 -2
  342. package/lib/components/organisms/QuantityCard/QuantityCard.js +47 -56
  343. package/lib/components/organisms/QuantityCard/QuantityCard.js.map +1 -1
  344. package/lib/components/organisms/ScrollList/DottedButton.js +10 -18
  345. package/lib/components/organisms/ScrollList/DottedButton.js.map +1 -1
  346. package/lib/components/organisms/ScrollList/ScrollList.js +9 -7
  347. package/lib/components/organisms/ScrollList/ScrollList.js.map +1 -1
  348. package/lib/components/organisms/ScrollList/TopActions.js +5 -3
  349. package/lib/components/organisms/ScrollList/TopActions.js.map +1 -1
  350. package/lib/components/organisms/SearchBar/SearchBar.d.ts +3 -3
  351. package/lib/components/organisms/SearchBar/SearchBar.js +15 -32
  352. package/lib/components/organisms/SearchBar/SearchBar.js.map +1 -1
  353. package/lib/components/organisms/SingleSelectScrollList/SingleSelectScrollList.js +1 -1
  354. package/lib/components/organisms/ToggleButton/ToggleButton.js +2 -2
  355. package/lib/components/organisms/ToggleButton/ToggleButton.js.map +1 -1
  356. package/lib/components/organisms/ViewAllEditList/AllLinesAlert.js +14 -16
  357. package/lib/components/organisms/ViewAllEditList/AllLinesAlert.js.map +1 -1
  358. package/lib/components/organisms/ViewAllEditList/LineComponent.js +6 -8
  359. package/lib/components/organisms/ViewAllEditList/LineComponent.js.map +1 -1
  360. package/lib/components/organisms/ViewAllEditList/ViewAllEditList.d.ts +3 -2
  361. package/lib/components/organisms/ViewAllEditList/ViewAllEditList.js +5 -9
  362. package/lib/components/organisms/ViewAllEditList/ViewAllEditList.js.map +1 -1
  363. package/lib/components/organisms/WeekDayPicker/DayGauge.d.ts +18 -0
  364. package/lib/components/organisms/WeekDayPicker/DayGauge.js +112 -0
  365. package/lib/components/organisms/WeekDayPicker/DayGauge.js.map +1 -0
  366. package/lib/components/organisms/WeekDayPicker/WeekDayPicker.d.ts +18 -0
  367. package/lib/components/organisms/WeekDayPicker/WeekDayPicker.js +118 -0
  368. package/lib/components/organisms/WeekDayPicker/WeekDayPicker.js.map +1 -0
  369. package/lib/components/organisms/WeekDayPicker/WeekRow.d.ts +15 -0
  370. package/lib/components/organisms/WeekDayPicker/WeekRow.js +39 -0
  371. package/lib/components/organisms/WeekDayPicker/WeekRow.js.map +1 -0
  372. package/lib/components/organisms/WeekDayPicker/index.d.ts +3 -0
  373. package/lib/components/organisms/WeekDayPicker/index.js +20 -0
  374. package/lib/components/organisms/WeekDayPicker/index.js.map +1 -0
  375. package/lib/components/organisms/WeekDayPicker/types.d.ts +17 -0
  376. package/lib/components/organisms/WeekDayPicker/types.js +19 -0
  377. package/lib/components/organisms/WeekDayPicker/types.js.map +1 -0
  378. package/lib/components/organisms/WeekDayPicker/week-day.helpers.d.ts +9 -0
  379. package/lib/components/organisms/WeekDayPicker/week-day.helpers.js +83 -0
  380. package/lib/components/organisms/WeekDayPicker/week-day.helpers.js.map +1 -0
  381. package/lib/components/organisms/index.d.ts +4 -0
  382. package/lib/components/organisms/index.js +4 -0
  383. package/lib/components/organisms/index.js.map +1 -1
  384. package/lib/components/templates/BottomBar/BottomBar.js +81 -22
  385. package/lib/components/templates/BottomBar/BottomBar.js.map +1 -1
  386. package/lib/components/templates/BottomBar/ItemTitle.d.ts +1 -1
  387. package/lib/components/templates/BottomBar/ItemTitle.js +1 -2
  388. package/lib/components/templates/BottomBar/ItemTitle.js.map +1 -1
  389. package/lib/components/templates/Dashboard/Chart/BarChart.js +3 -3
  390. package/lib/components/templates/Dashboard/Chart/BarChart.js.map +1 -1
  391. package/lib/components/templates/Dashboard/Chart/IndicatorChart/IndicatorItem.js +1 -1
  392. package/lib/components/templates/Dashboard/Chart/IndicatorChart/IndicatorItem.js.map +1 -1
  393. package/lib/components/templates/Dashboard/Chart/IndicatorChart/SimpleIndicator.js +24 -20
  394. package/lib/components/templates/Dashboard/Chart/IndicatorChart/SimpleIndicator.js.map +1 -1
  395. package/lib/components/templates/ObjectCard/ObjectCard.d.ts +3 -2
  396. package/lib/components/templates/ObjectCard/ObjectCard.js +46 -32
  397. package/lib/components/templates/ObjectCard/ObjectCard.js.map +1 -1
  398. package/lib/components/templates/TabsScreen/Tab.js +1 -1
  399. package/lib/components/templates/TabsScreen/Tab.js.map +1 -1
  400. package/lib/hooks/index.d.ts +1 -0
  401. package/lib/hooks/index.js +1 -0
  402. package/lib/hooks/index.js.map +1 -1
  403. package/lib/hooks/use-click-outside.js +2 -2
  404. package/lib/hooks/use-click-outside.js.map +1 -1
  405. package/lib/hooks/use-orientation.d.ts +1 -0
  406. package/lib/hooks/use-orientation.js +23 -0
  407. package/lib/hooks/use-orientation.js.map +1 -0
  408. package/lib/theme/color/ThemeContext.js +1 -1
  409. package/lib/theme/color/ThemeContext.js.map +1 -1
  410. package/lib/theme/color/color.defaults.js +22 -22
  411. package/lib/theme/color/content.helpers.d.ts +2 -1
  412. package/lib/theme/color/content.helpers.js +47 -45
  413. package/lib/theme/color/content.helpers.js.map +1 -1
  414. package/lib/theme/color/themes.js +83 -80
  415. package/lib/theme/color/themes.js.map +1 -1
  416. package/lib/theme/color/types.d.ts +1 -0
  417. package/lib/theme/writing/writingTheme.js +5 -5
  418. package/lib/tools/AnimationUtil.d.ts +18 -3
  419. package/lib/utils/calendar.d.ts +42 -0
  420. package/lib/utils/calendar.js +64 -0
  421. package/lib/utils/calendar.js.map +1 -0
  422. package/lib/utils/commons-styles.d.ts +8 -20
  423. package/lib/utils/commons-styles.js +14 -22
  424. package/lib/utils/commons-styles.js.map +1 -1
  425. package/lib/utils/commons-utlis.d.ts +1 -0
  426. package/lib/utils/commons-utlis.js +7 -0
  427. package/lib/utils/commons-utlis.js.map +1 -1
  428. package/lib/utils/dates.d.ts +30 -0
  429. package/lib/utils/dates.js +142 -0
  430. package/lib/utils/dates.js.map +1 -0
  431. package/lib/utils/index.d.ts +10 -8
  432. package/lib/utils/index.js +4 -2
  433. package/lib/utils/index.js.map +1 -1
  434. package/package.json +16 -16
@@ -20,11 +20,11 @@ export const writingDefaultTheme = {
20
20
  key: 'default',
21
21
  name: 'Default',
22
22
  style: {
23
- defaultSize: 16,
24
- title: { fontSize: 18, fontWeight: 'bold', fontStyle: 'normal' },
25
- subTitle: { fontSize: 16, fontWeight: 'normal', fontStyle: 'normal' },
26
- textImportant: { fontSize: 16, fontWeight: 'bold', fontStyle: 'normal' },
27
- textDetails: { fontSize: 16, fontWeight: 'normal', fontStyle: 'italic' },
23
+ defaultSize: 12,
24
+ title: { fontSize: 16, fontWeight: 'bold', fontStyle: 'normal' },
25
+ subTitle: { fontSize: 14, fontWeight: 'normal', fontStyle: 'normal' },
26
+ textImportant: { fontSize: 14, fontWeight: 'bold', fontStyle: 'normal' },
27
+ textDetails: { fontSize: 14, fontWeight: 'normal', fontStyle: 'italic' },
28
28
  },
29
29
  };
30
30
  export const useWritingType = (type) => {
@@ -1,8 +1,23 @@
1
1
  declare class Animation {
2
2
  config: {
3
- easeInEaseOut: import("react-native").LayoutAnimationConfig;
4
- linear: import("react-native").LayoutAnimationConfig;
5
- spring: import("react-native").LayoutAnimationConfig;
3
+ easeInEaseOut: Readonly<{
4
+ duration: number;
5
+ create?: import("react-native").LayoutAnimationAnim | undefined;
6
+ update?: import("react-native").LayoutAnimationAnim | undefined;
7
+ delete?: import("react-native").LayoutAnimationAnim | undefined;
8
+ }>;
9
+ linear: Readonly<{
10
+ duration: number;
11
+ create?: import("react-native").LayoutAnimationAnim | undefined;
12
+ update?: import("react-native").LayoutAnimationAnim | undefined;
13
+ delete?: import("react-native").LayoutAnimationAnim | undefined;
14
+ }>;
15
+ spring: Readonly<{
16
+ duration: number;
17
+ create?: import("react-native").LayoutAnimationAnim | undefined;
18
+ update?: import("react-native").LayoutAnimationAnim | undefined;
19
+ delete?: import("react-native").LayoutAnimationAnim | undefined;
20
+ }>;
6
21
  };
7
22
  constructor();
8
23
  beforeAnimation(): void;
@@ -0,0 +1,42 @@
1
+ import { ViewStyle } from 'react-native';
2
+ import { CalendarMonth } from './dates';
3
+ export declare const DAY_ROW_HEIGHT = 46;
4
+ export declare const MONTH_TITLE_HEIGHT = 44;
5
+ export declare const WEEK_DAYS_ROW_HEIGHT = 26;
6
+ export declare const MAX_WEEKS_IN_MONTH = 6;
7
+ export declare const getWeeksHeight: (numberOfWeeks: number) => number;
8
+ export declare const getMonthHeight: (numberOfWeeks: number) => number;
9
+ export declare const buildMonthLayout: (months: CalendarMonth[]) => {
10
+ heights: number[];
11
+ offsets: number[];
12
+ };
13
+ export declare const getTodayOutlineStyle: (color: string) => ViewStyle;
14
+ export declare const dayCellStyles: Readonly<{
15
+ container: {
16
+ flex: number;
17
+ height: number;
18
+ alignItems: "center";
19
+ justifyContent: "center";
20
+ };
21
+ fillContainer: {
22
+ overflow: "hidden";
23
+ position: "absolute";
24
+ top: number;
25
+ bottom: number;
26
+ left: number;
27
+ right: number;
28
+ borderRadius: number;
29
+ };
30
+ outline: {
31
+ borderWidth: number;
32
+ position: "absolute";
33
+ top: number;
34
+ bottom: number;
35
+ left: number;
36
+ right: number;
37
+ borderRadius: number;
38
+ };
39
+ text: {
40
+ textAlign: "center";
41
+ };
42
+ }>;
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { Platform, StyleSheet } from 'react-native';
19
+ export const DAY_ROW_HEIGHT = 46;
20
+ export const MONTH_TITLE_HEIGHT = 44;
21
+ export const WEEK_DAYS_ROW_HEIGHT = 26;
22
+ const CELL_INSET = 3;
23
+ const CELL_RADIUS = 8;
24
+ export const MAX_WEEKS_IN_MONTH = 6;
25
+ export const getWeeksHeight = (numberOfWeeks) => numberOfWeeks * DAY_ROW_HEIGHT;
26
+ export const getMonthHeight = (numberOfWeeks) => MONTH_TITLE_HEIGHT + WEEK_DAYS_ROW_HEIGHT + getWeeksHeight(numberOfWeeks);
27
+ export const buildMonthLayout = (months) => {
28
+ const heights = [];
29
+ const offsets = [];
30
+ let offset = 0;
31
+ months.forEach(({ weeks }) => {
32
+ const height = getMonthHeight(weeks.length);
33
+ heights.push(height);
34
+ offsets.push(offset);
35
+ offset += height;
36
+ });
37
+ return { heights, offsets };
38
+ };
39
+ export const getTodayOutlineStyle = (color) => ({
40
+ borderColor: color,
41
+ borderStyle: Platform.OS === 'ios' ? 'solid' : 'dashed',
42
+ });
43
+ const inset = {
44
+ position: 'absolute',
45
+ top: CELL_INSET,
46
+ bottom: CELL_INSET,
47
+ left: CELL_INSET,
48
+ right: CELL_INSET,
49
+ borderRadius: CELL_RADIUS,
50
+ };
51
+ export const dayCellStyles = StyleSheet.create({
52
+ container: {
53
+ flex: 1,
54
+ height: DAY_ROW_HEIGHT,
55
+ alignItems: 'center',
56
+ justifyContent: 'center',
57
+ },
58
+ fillContainer: { ...inset, overflow: 'hidden' },
59
+ outline: { ...inset, borderWidth: 1 },
60
+ text: {
61
+ textAlign: 'center',
62
+ },
63
+ });
64
+ //# sourceMappingURL=calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../src/utils/calendar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,QAAQ,EAAE,UAAU,EAAY,MAAM,cAAc,CAAC;AAG7D,MAAM,CAAC,MAAM,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AK,GAAG;IACZ,QAAQ,EAAE,UAAmB;IAC7B,GAAG,EAAE,UAAU;IACf,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,UAAU;IACjB,YAAY,EAAE,WAAW;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC,MAAM,CAAC;IAC7C,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;KACzB;IACD,aAAa,EAAE,EAAC,GAAG,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAC;IAC7C,OAAO,EAAE,EAAC,GAAG,KAAK,EAAE,WAAW,EAAE,CAAC,EAAC;IACnC,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAC"}
@@ -1,14 +1,12 @@
1
- export function getCommonStyles(Colors: any, _required?: boolean): {
1
+ import { ThemeColors } from '../theme';
2
+ export declare const INPUT_MIN_HEIGHT = 40;
3
+ export declare const getCommonStyles: (Colors?: ThemeColors, _required?: boolean, _isFocused?: boolean) => Readonly<{
2
4
  filter: {
3
- backgroundColor: any;
5
+ width: string;
6
+ backgroundColor: string;
7
+ borderColor: string;
8
+ borderWidth: number;
4
9
  borderRadius: number;
5
- elevation: number;
6
- shadowOpacity: number;
7
- shadowColor: any;
8
- shadowOffset: {
9
- width: number;
10
- height: number;
11
- };
12
10
  paddingHorizontal: number;
13
11
  paddingVertical: number;
14
12
  marginVertical: number;
@@ -19,11 +17,6 @@ export function getCommonStyles(Colors: any, _required?: boolean): {
19
17
  justifyContent: "space-between";
20
18
  alignItems: "center";
21
19
  };
22
- filterSize: {
23
- width: "90%";
24
- height: number;
25
- minHeight: number;
26
- };
27
20
  button: {
28
21
  flexDirection: "row";
29
22
  alignSelf: "center";
@@ -36,10 +29,5 @@ export function getCommonStyles(Colors: any, _required?: boolean): {
36
29
  borderRadius: number;
37
30
  borderWidth: number;
38
31
  height: number;
39
- minHeight: number;
40
- };
41
- inputFocused: {
42
- borderWidth: number;
43
- borderColor: any;
44
32
  };
45
- };
33
+ }>;
@@ -16,17 +16,21 @@
16
16
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  */
18
18
  import { StyleSheet } from 'react-native';
19
- export const getCommonStyles = (Colors, _required = false) => StyleSheet.create({
19
+ export const INPUT_MIN_HEIGHT = 40;
20
+ export const getCommonStyles = (Colors, _required = false, _isFocused = false) => StyleSheet.create({
20
21
  filter: {
21
- backgroundColor: Colors.backgroundColor,
22
- borderRadius: 7,
23
- elevation: 2,
24
- shadowOpacity: 0.5,
25
- shadowColor: Colors.secondaryColor.background,
26
- shadowOffset: { width: 0, height: 0 },
27
- paddingHorizontal: 12,
22
+ width: '90%',
23
+ backgroundColor: Colors?.screenBackgroundColor,
24
+ borderColor: _required
25
+ ? Colors?.errorColor.background
26
+ : _isFocused
27
+ ? Colors?.primaryColor.background
28
+ : Colors?.secondaryColor.background_light,
29
+ borderWidth: 1,
30
+ borderRadius: 12,
31
+ paddingHorizontal: 10,
28
32
  paddingVertical: 0,
29
- marginVertical: 3,
33
+ marginVertical: 4,
30
34
  },
31
35
  filterAlign: {
32
36
  marginHorizontal: 18,
@@ -34,11 +38,6 @@ export const getCommonStyles = (Colors, _required = false) => StyleSheet.create(
34
38
  justifyContent: 'space-between',
35
39
  alignItems: 'center',
36
40
  },
37
- filterSize: {
38
- width: '90%',
39
- height: 40,
40
- minHeight: 40,
41
- },
42
41
  button: {
43
42
  flexDirection: 'row',
44
43
  alignSelf: 'center',
@@ -49,15 +48,8 @@ export const getCommonStyles = (Colors, _required = false) => StyleSheet.create(
49
48
  paddingVertical: 2,
50
49
  marginVertical: 5,
51
50
  borderRadius: 7,
52
- borderWidth: 2,
53
- height: 50,
54
- minHeight: 40,
55
- },
56
- inputFocused: {
57
51
  borderWidth: 1,
58
- borderColor: _required
59
- ? Colors.errorColor.background
60
- : Colors.primaryColor.background,
52
+ height: 50,
61
53
  },
62
54
  });
63
55
  //# sourceMappingURL=commons-styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commons-styles.js","sourceRoot":"","sources":["../../src/utils/commons-styles.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE,CAC3D,UAAU,CAAC,MAAM,CAAC;IAChB,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC,eAAe;QACvC,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;QACZ,aAAa,EAAE,GAAG;QAClB,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;QAC7C,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAC;QACnC,iBAAiB,EAAE,EAAE;QACrB,eAAe,EAAE,CAAC;QAClB,cAAc,EAAE,CAAC;KAClB;IACD,WAAW,EAAE;QACX,gBAAgB,EAAE,EAAE;QACpB,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,eAAe;QAC/B,UAAU,EAAE,QAAQ;KACrB;IACD,UAAU,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,EAAE;KACd;IACD,MAAM,EAAE;QACN,aAAa,EAAE,KAAK;QACpB,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,YAAY,EAAE,QAAQ;QACtB,iBAAiB,EAAE,EAAE;QACrB,eAAe,EAAE,CAAC;QAClB,cAAc,EAAE,CAAC;QACjB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,EAAE;KACd;IACD,YAAY,EAAE;QACZ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cAAc,EAAE,CAAC;QACjB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,EAAE;KACX;CACF,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare function hexToRgb(hex: string): string;
2
2
  export declare function addOpacityToHex(hexColor: string, opacity?: number): string;
3
+ export declare function blendHex(hexColor: string, surface: string, opacity?: number): string;
3
4
  export declare function rgbaToHex(r: number, g: number, b: number, a?: number): string;
4
5
  export declare function rgbaStringToHex(rgba: string): string;
5
6
  export declare function getBestForegroundColor(hexColor: string): "#000000" | "#FFFFFF";
@@ -27,6 +27,13 @@ export function addOpacityToHex(hexColor, opacity = 1) {
27
27
  .padStart(2, '0');
28
28
  return `${hexColor}${alpha}`;
29
29
  }
30
+ export function blendHex(hexColor, surface, opacity = 1) {
31
+ const [r, g, b] = hexToRgb(hexColor).split(', ').map(Number);
32
+ const [sr, sg, sb] = hexToRgb(surface).split(', ').map(Number);
33
+ const mix = (channel, surfaceChannel) => Math.round(channel * opacity + surfaceChannel * (1 - opacity));
34
+ const toHex = (value) => value.toString(16).padStart(2, '0');
35
+ return `#${toHex(mix(r, sr))}${toHex(mix(g, sg))}${toHex(mix(b, sb))}`;
36
+ }
30
37
  export function rgbaToHex(r, g, b, a = 1) {
31
38
  const toHex = (value) => value.toString(16).padStart(2, '0');
32
39
  return addOpacityToHex(`#${toHex(r)}${toHex(g)}${toHex(b)}`, a);
@@ -1 +1 @@
1
- {"version":3,"file":"commons-utlis.js","sourceRoot":"","sources":["../../src/utils/commons-utlis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,UAAU,QAAQ,CAAC,GAAW;IAClC,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5C,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE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AAC,IAAI,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CACtB,wDAAwD,CACzD,CAAC;IAEF,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAEzC,OAAO,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,QAAgB;IACrD,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAE7D,MAAM,SAAS,GACb,MAAM,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;IAE/D,OAAO,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;AACjD,CAAC"}
@@ -0,0 +1,30 @@
1
+ export declare const toDateString: (date: Date) => string;
2
+ export declare const fromDateString: (dateString: string) => Date;
3
+ export declare const DAYS_IN_WEEK = 7;
4
+ export declare const DEFAULT_FIRST_DAY_OF_WEEK = 1;
5
+ export declare const startOfWeek: (date: Date, firstDayOfWeek: number) => Date;
6
+ export declare const isWeekEnd: (date: Date) => boolean;
7
+ export declare const formatDateString: (dateString: string, format: string) => string;
8
+ export declare const getMonthTitleKey: (monthIndex: number) => string;
9
+ export declare const getDayTitleKey: (dayIndex: number) => string;
10
+ export declare const getWeekDayKeys: (firstDayOfWeek: number) => string[];
11
+ export declare const formatLongDate: (dateString: string | undefined, translator: (key: string) => string) => string;
12
+ export declare const formatDateRange: (fromDate: string | undefined, toDate: string | undefined, translator: (key: string) => string) => string;
13
+ export interface CalendarDay {
14
+ dateString: string;
15
+ dayNumber: number;
16
+ isWeekEnd: boolean;
17
+ isOutOfMonth: boolean;
18
+ }
19
+ export interface CalendarMonth {
20
+ key: string;
21
+ monthKey: string;
22
+ year: number;
23
+ monthIndex: number;
24
+ weeks: CalendarDay[][];
25
+ }
26
+ export declare const getMonthKey: (year: number, monthIndex: number) => string;
27
+ export declare const buildMonth: (year: number, monthIndex: number, firstDayOfWeek: number) => CalendarMonth;
28
+ export declare const buildMonths: (referenceDate: Date, monthsBefore: number, monthsAfter: number, firstDayOfWeek: number) => CalendarMonth[];
29
+ export declare const monthIndexOf: (months: CalendarMonth[], dateString: string | undefined) => number;
30
+ export declare const sliceByMonth: <T>(data: Record<string, T>, months: CalendarMonth[], emptyValue: Record<string, T>) => Record<string, Record<string, T>>;
@@ -0,0 +1,142 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2026 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ const MONTH_LONG_KEYS = [
19
+ 'Base_MonthLong_January',
20
+ 'Base_MonthLong_February',
21
+ 'Base_MonthLong_March',
22
+ 'Base_MonthLong_April',
23
+ 'Base_MonthLong_May',
24
+ 'Base_MonthLong_June',
25
+ 'Base_MonthLong_July',
26
+ 'Base_MonthLong_August',
27
+ 'Base_MonthLong_September',
28
+ 'Base_MonthLong_October',
29
+ 'Base_MonthLong_November',
30
+ 'Base_MonthLong_December',
31
+ ];
32
+ const DAY_SHORT_KEYS = [
33
+ 'Base_Day_Sun',
34
+ 'Base_Day_Mon',
35
+ 'Base_Day_Tue',
36
+ 'Base_Day_Wed',
37
+ 'Base_Day_Thu',
38
+ 'Base_Day_Fri',
39
+ 'Base_Day_Sat',
40
+ ];
41
+ const pad = (value) => (value < 10 ? `0${value}` : `${value}`);
42
+ export const toDateString = (date) => `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
43
+ export const fromDateString = (dateString) => {
44
+ const [year, month, day] = dateString.split('-').map(Number);
45
+ return new Date(year, month - 1, day);
46
+ };
47
+ export const DAYS_IN_WEEK = 7;
48
+ export const DEFAULT_FIRST_DAY_OF_WEEK = 1;
49
+ export const startOfWeek = (date, firstDayOfWeek) => {
50
+ const result = new Date(date.getFullYear(), date.getMonth(), date.getDate());
51
+ result.setDate(result.getDate() - ((result.getDay() - firstDayOfWeek + 7) % 7));
52
+ return result;
53
+ };
54
+ export const isWeekEnd = (date) => date.getDay() === 0 || date.getDay() === 6;
55
+ export const formatDateString = (dateString, format) => {
56
+ if (dateString == null || format == null)
57
+ return '';
58
+ const [year, month, day] = dateString.split('-');
59
+ return format
60
+ .replace('DD', day)
61
+ .replace('MM', month)
62
+ .replace('YYYY', year)
63
+ .replace('YY', year?.slice(2));
64
+ };
65
+ export const getMonthTitleKey = (monthIndex) => MONTH_LONG_KEYS[monthIndex];
66
+ export const getDayTitleKey = (dayIndex) => DAY_SHORT_KEYS[dayIndex];
67
+ export const getWeekDayKeys = (firstDayOfWeek) => DAY_SHORT_KEYS.map((_, index) => DAY_SHORT_KEYS[(index + firstDayOfWeek) % 7]);
68
+ export const formatLongDate = (dateString, translator) => {
69
+ if (dateString == null)
70
+ return '';
71
+ const date = fromDateString(dateString);
72
+ return `${translator(getDayTitleKey(date.getDay()))} ${date.getDate()} ${translator(getMonthTitleKey(date.getMonth()))} ${date.getFullYear()}`;
73
+ };
74
+ export const formatDateRange = (fromDate, toDate, translator) => {
75
+ if (fromDate == null || toDate == null)
76
+ return '';
77
+ const from = fromDateString(fromDate);
78
+ const to = fromDateString(toDate);
79
+ const fromMonth = translator(getMonthTitleKey(from.getMonth()));
80
+ const toMonth = translator(getMonthTitleKey(to.getMonth()));
81
+ if (from.getFullYear() !== to.getFullYear()) {
82
+ return `${from.getDate()} ${fromMonth} ${from.getFullYear()} - ${to.getDate()} ${toMonth} ${to.getFullYear()}`;
83
+ }
84
+ if (from.getMonth() !== to.getMonth()) {
85
+ return `${from.getDate()} ${fromMonth} - ${to.getDate()} ${toMonth}`;
86
+ }
87
+ return `${from.getDate()} - ${to.getDate()} ${toMonth}`;
88
+ };
89
+ export const getMonthKey = (year, monthIndex) => toDateString(new Date(year, monthIndex, 1)).slice(0, 7);
90
+ export const buildMonth = (year, monthIndex, firstDayOfWeek) => {
91
+ const firstDay = new Date(year, monthIndex, 1);
92
+ const _year = firstDay.getFullYear();
93
+ const _monthIndex = firstDay.getMonth();
94
+ const numberOfDays = new Date(_year, _monthIndex + 1, 0).getDate();
95
+ const leadingCells = (firstDay.getDay() - firstDayOfWeek + 7) % 7;
96
+ const numberOfCells = Math.ceil((leadingCells + numberOfDays) / 7) * 7;
97
+ const cells = [];
98
+ for (let index = 0; index < numberOfCells; index++) {
99
+ const day = new Date(_year, _monthIndex, index - leadingCells + 1);
100
+ cells.push({
101
+ dateString: toDateString(day),
102
+ dayNumber: day.getDate(),
103
+ isWeekEnd: isWeekEnd(day),
104
+ isOutOfMonth: day.getMonth() !== _monthIndex,
105
+ });
106
+ }
107
+ const weeks = [];
108
+ for (let index = 0; index < cells.length; index += 7) {
109
+ weeks.push(cells.slice(index, index + 7));
110
+ }
111
+ const monthKey = getMonthKey(_year, _monthIndex);
112
+ return { key: monthKey, monthKey, year: _year, monthIndex: _monthIndex, weeks };
113
+ };
114
+ export const buildMonths = (referenceDate, monthsBefore, monthsAfter, firstDayOfWeek) => {
115
+ const months = [];
116
+ for (let index = -monthsBefore; index <= monthsAfter; index++) {
117
+ months.push(buildMonth(referenceDate.getFullYear(), referenceDate.getMonth() + index, firstDayOfWeek));
118
+ }
119
+ return months;
120
+ };
121
+ export const monthIndexOf = (months, dateString) => dateString == null
122
+ ? -1
123
+ : months.findIndex(({ monthKey }) => monthKey === dateString.slice(0, 7));
124
+ export const sliceByMonth = (data, months, emptyValue) => {
125
+ const result = {};
126
+ months.forEach(({ monthKey }) => {
127
+ result[monthKey] = emptyValue;
128
+ });
129
+ if (data == null)
130
+ return result;
131
+ Object.entries(data).forEach(([dateString, value]) => {
132
+ const monthKey = dateString.slice(0, 7);
133
+ if (result[monthKey] == null)
134
+ return;
135
+ if (result[monthKey] === emptyValue) {
136
+ result[monthKey] = {};
137
+ }
138
+ result[monthKey][dateString] = value;
139
+ });
140
+ return result;
141
+ };
142
+ //# sourceMappingURL=dates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dates.js","sourceRoot":"","sources":["../../src/utils/dates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,eAAe,GAAG;IACtB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,qBAAqB;IACrB,uBAAuB;IACvB,0BAA0B;IAC1B,wBAAwB;IACxB,yBAAyB;IACzB,yBAAyB;CAC1B,CAAC;AAEF,MAAM,cAAc,GAAG;IACrB,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;CACf,CAAC;AAEF,MAAM,GAAG,GAAG,CAAC,KAAa,EAAU,EAAE,CA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E,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,IAAuB,EACvB,MAAuB,EACvB,UAA6B,EACM,EAAE;IACrC,MAAM,MAAM,GAAsC,EAAE,CAAC;IAErD,MAAM,CAAC,OAAO,CAAC,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;QAC5B,MAAM,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,IAAI,IAAI,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC;IAEhC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,EAAE;QACnD,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAExC,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI;YAAE,OAAO;QAErC,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,EAAE,CAAC;YACpC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;QACxB,CAAC;QAED,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -1,8 +1,10 @@
1
- export { getCommonStyles } from "./commons-styles";
2
- export { deepCopy } from "./objects";
3
- export * from "./commons-utlis";
4
- export { replace, indexOfElement } from "./arrays";
5
- export { formatNumber, unformatNumber } from "./formatters";
6
- export { getFromList, getItemsFromList } from "./list";
7
- export { isHalf, getIntegerPart, roundHalf, roundInteger } from "./number";
8
- export { splitInTwo, checkNullString, capitalizeFirstLetter, sliceString } from "./strings";
1
+ export { replace, indexOfElement } from './arrays';
2
+ export * from './calendar';
3
+ export { getCommonStyles, INPUT_MIN_HEIGHT } from './commons-styles';
4
+ export * from './commons-utlis';
5
+ export * from './dates';
6
+ export { formatNumber, unformatNumber } from './formatters';
7
+ export { getFromList, getItemsFromList } from './list';
8
+ export { isHalf, getIntegerPart, roundHalf, roundInteger } from './number';
9
+ export { deepCopy } from './objects';
10
+ export { splitInTwo, checkNullString, capitalizeFirstLetter, sliceString, } from './strings';
@@ -16,11 +16,13 @@
16
16
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  */
18
18
  export { replace, indexOfElement } from './arrays';
19
- export { getCommonStyles } from './commons-styles';
19
+ export * from './calendar';
20
+ export { getCommonStyles, INPUT_MIN_HEIGHT } from './commons-styles';
21
+ export * from './commons-utlis';
22
+ export * from './dates';
20
23
  export { formatNumber, unformatNumber } from './formatters';
21
24
  export { getFromList, getItemsFromList } from './list';
22
25
  export { isHalf, getIntegerPart, roundHalf, roundInteger } from './number';
23
26
  export { deepCopy } from './objects';
24
27
  export { splitInTwo, checkNullString, capitalizeFirstLetter, sliceString, } from './strings';
25
- export * from './commons-utlis';
26
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AACzE,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,WAAW,GACZ,MAAM,WAAW,CAAC;AACnB,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AACjD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AACnE,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AACzE,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,WAAW,GACZ,MAAM,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axelor/aos-mobile-ui",
3
- "version": "9.1.12",
3
+ "version": "9.2.1",
4
4
  "author": "Axelor",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -30,24 +30,24 @@
30
30
  "icons:build": "npm run icons:clean && node scripts/icons-build.js"
31
31
  },
32
32
  "peerDependencies": {
33
- "@react-native-community/slider": "5.1.2",
33
+ "@react-native-community/slider": "5.2.1",
34
34
  "bootstrap-icons": "1.13.1",
35
35
  "react": "*",
36
36
  "react-native": "*",
37
- "react-native-gesture-handler": "2.30.0",
38
- "react-native-gifted-charts": "1.4.70",
37
+ "react-native-gesture-handler": "3.3.0",
38
+ "react-native-gifted-charts": "1.4.81",
39
39
  "react-native-linear-gradient": "2.8.3",
40
40
  "react-native-pell-rich-editor": "1.10.0",
41
- "react-native-svg": "15.15.1",
41
+ "react-native-svg": "15.15.5",
42
42
  "react-native-system-navigation-bar": "2.8.0",
43
- "react-native-webview": "13.16.0"
43
+ "react-native-webview": "13.17.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@babel/runtime": "^7.25.0",
47
- "@react-native-community/slider": "5.1.2",
48
- "@react-native/babel-preset": "0.83.9",
49
- "@react-native/eslint-config": "0.83.9",
50
- "@react-native/typescript-config": "0.83.9",
47
+ "@react-native-community/slider": "5.2.1",
48
+ "@react-native/babel-preset": "0.87.1",
49
+ "@react-native/eslint-config": "0.87.1",
50
+ "@react-native/typescript-config": "0.87.1",
51
51
  "@svgr/core": "^6.5.1",
52
52
  "@svgr/plugin-jsx": "^6.5.1",
53
53
  "@svgr/plugin-prettier": "^6.5.1",
@@ -57,15 +57,15 @@
57
57
  "eslint": "8.57.0",
58
58
  "glob": "^8.1.0",
59
59
  "prettier": "^3.3.3",
60
- "react": "19.2.0",
61
- "react-native": "0.83.9",
62
- "react-native-gesture-handler": "2.30.0",
63
- "react-native-gifted-charts": "1.4.70",
60
+ "react": "19.2.3",
61
+ "react-native": "0.87.1",
62
+ "react-native-gesture-handler": "3.3.0",
63
+ "react-native-gifted-charts": "1.4.81",
64
64
  "react-native-linear-gradient": "2.8.3",
65
65
  "react-native-pell-rich-editor": "1.10.0",
66
- "react-native-svg": "15.15.1",
66
+ "react-native-svg": "15.15.5",
67
67
  "react-native-system-navigation-bar": "2.8.0",
68
- "react-native-webview": "13.16.0"
68
+ "react-native-webview": "13.17.0"
69
69
  },
70
70
  "resolutions": {
71
71
  "@types/react": "^19.2.0"