@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
@@ -7,8 +7,9 @@ interface ActionSheetProps {
7
7
  style?: any;
8
8
  visible: boolean;
9
9
  title?: string;
10
+ headerChildren?: any;
10
11
  actionList: Action[];
11
12
  onClose?: () => void;
12
13
  }
13
- declare const ActionSheet: ({ style, visible, title, actionList, onClose, }: ActionSheetProps) => React.JSX.Element;
14
+ declare const ActionSheet: ({ style, visible, title, headerChildren, actionList, onClose, }: ActionSheetProps) => React.JSX.Element;
14
15
  export default ActionSheet;
@@ -20,7 +20,7 @@ import { StyleSheet, TouchableOpacity, View } from 'react-native';
20
20
  import { useThemeColor } from '../../../theme';
21
21
  import { Icon, Text } from '../../atoms';
22
22
  import { BottomSheet } from '../../molecules';
23
- const ActionSheet = ({ style, visible = false, title, actionList, onClose, }) => {
23
+ const ActionSheet = ({ style, visible = false, title, headerChildren, actionList, onClose, }) => {
24
24
  const Colors = useThemeColor();
25
25
  const _actionList = useMemo(() => Array.isArray(actionList)
26
26
  ? actionList.filter(action => !action.hidden)
@@ -36,26 +36,36 @@ const ActionSheet = ({ style, visible = false, title, actionList, onClose, }) =>
36
36
  onClose?.();
37
37
  };
38
38
  return (<BottomSheet visible={visible} title={title} onClose={onClose} style={style}>
39
+ {headerChildren != null && (<View style={[
40
+ styles.header,
41
+ { borderBottomColor: Colors.secondaryColor.background_light },
42
+ ]} testID="actionSheetHeader">
43
+ {headerChildren}
44
+ </View>)}
39
45
  <View testID="actionSheetContainer">
40
46
  {_actionList.map((action, index) => {
41
47
  const color = getColor(action);
42
- return (<TouchableOpacity key={index} style={styles.row} disabled={action.disabled} onPress={() => handlePress(action)} testID="actionSheetRow">
43
- <Icon name={action.iconName} color={color} size={20}/>
44
- <Text fontSize={16} style={styles.label}>
45
- {action.helper}
46
- </Text>
48
+ return (<TouchableOpacity key={index} style={styles.row} disabled={action.disabled} onPress={() => handlePress(action)} activeOpacity={0.9} testID="actionSheetRow">
49
+ <Icon name={action.iconName} color={color}/>
50
+ <Text style={styles.label}>{action.helper}</Text>
47
51
  </TouchableOpacity>);
48
52
  })}
49
53
  </View>
50
54
  </BottomSheet>);
51
55
  };
52
56
  const styles = StyleSheet.create({
57
+ header: {
58
+ paddingHorizontal: 20,
59
+ paddingBottom: 12,
60
+ marginBottom: 4,
61
+ borderBottomWidth: 1,
62
+ },
53
63
  row: {
54
64
  flexDirection: 'row',
55
65
  alignItems: 'center',
56
- paddingVertical: 14,
66
+ paddingVertical: 8,
57
67
  paddingHorizontal: 20,
58
- gap: 16,
68
+ gap: 10,
59
69
  },
60
70
  label: {
61
71
  flex: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheet.js","sourceRoot":"","sources":["../../../../src/components/organisms/ActionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAe5C,MAAM,WAAW,GAAG,CAAC,EACnB,KAAK,EACL,OAAO,GAAG,KAAK,EACf,KAAK,EACL,UAAU,EACV,OAAO,GACU,EAAE,EAAE;IACrB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CACH,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;QACvB,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;QAC7C,CAAC,CAAC,EAAE,EACR,C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,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACtC;gBAAA,CAAC,MAAM,CAAC,MAAM,CAChB;cAAA,EAAE,IAAI,CACR;YAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;QACJ,CAAC,CAAC,CACJ;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,WAAW,CAAC,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,EAAE;QACnB,iBAAiB,EAAE,EAAE;QACrB,GAAG,EAAE,EAAE;KACR;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ActionSheet.js","sourceRoot":"","sources":["../../../../src/components/organisms/ActionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAgB5C,MAAM,WAAW,GAAG,CAAC,EACnB,KAAK,EACL,OAAO,GAAG,KAAK,EACf,KAAK,EACL,cAAc,EACd,UAAU,EACV,OAAO,GACU,EAAE,EAAE;IACrB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CACH,KAAK,CAAC,OAAO,CAAC,UAAU,C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AAC,KAAK,CAAC,CACX,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAClB,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAC1B,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CACnC,aAAa,CAAC,CAAC,GAAG,CAAC,CACnB,MAAM,CAAC,gBAAgB,CACvB;cAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAC1C;cAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,CAClD;YAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;QACJ,CAAC,CAAC,CACJ;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,WAAW,CAAC,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,MAAM,EAAE;QACN,iBAAiB,EAAE,EAAE;QACrB,aAAa,EAAE,EAAE;QACjB,YAAY,EAAE,CAAC;QACf,iBAAiB,EAAE,CAAC;KACrB;IACD,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,CAAC;QAClB,iBAAiB,EAAE,EAAE;QACrB,GAAG,EAAE,EAAE;KACR;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface AgendaDayCellProps {
3
+ dateString: string;
4
+ dayNumber: number;
5
+ isWeekEnd: boolean;
6
+ isOutOfMonth: boolean;
7
+ isSelected: boolean;
8
+ isToday: boolean;
9
+ hasItems: boolean;
10
+ onPress: (dateString: string) => void;
11
+ }
12
+ declare const _default: React.MemoExoticComponent<({ dateString, dayNumber, isWeekEnd, isOutOfMonth, isSelected, isToday, hasItems, onPress, }: AgendaDayCellProps) => React.JSX.Element>;
13
+ export default _default;
@@ -0,0 +1,71 @@
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 React, { memo, useCallback, useMemo } from 'react';
19
+ import { Pressable, StyleSheet, View } from 'react-native';
20
+ import { dayCellStyles, getTodayOutlineStyle } from '../../../utils';
21
+ import { useThemeColor } from '../../../theme';
22
+ import { Text } from '../../atoms';
23
+ const DOT_SIZE = 5;
24
+ const AgendaDayCell = ({ dateString, dayNumber, isWeekEnd, isOutOfMonth, isSelected, isToday, hasItems, onPress, }) => {
25
+ const Colors = useThemeColor();
26
+ const handlePress = useCallback(() => onPress(dateString), [dateString, onPress]);
27
+ const selectionStyle = useMemo(() => ({
28
+ backgroundColor: Colors.primaryColor.background_light,
29
+ borderColor: Colors.primaryColor.background,
30
+ }), [Colors.primaryColor]);
31
+ const todayStyle = useMemo(() => getTodayOutlineStyle(Colors.secondaryColor.background), [Colors.secondaryColor.background]);
32
+ const dotStyle = useMemo(() => ({
33
+ backgroundColor: isOutOfMonth
34
+ ? Colors.secondaryColor.background
35
+ : Colors.primaryColor.background,
36
+ }), [
37
+ Colors.primaryColor.background,
38
+ Colors.secondaryColor.background,
39
+ isOutOfMonth,
40
+ ]);
41
+ const textColor = useMemo(() => {
42
+ if (isSelected)
43
+ return Colors.primaryColor.background;
44
+ if (isOutOfMonth)
45
+ return Colors.placeholderTextColor;
46
+ if (isWeekEnd)
47
+ return Colors.secondaryColor_dark.background;
48
+ return Colors.text;
49
+ }, [Colors, isOutOfMonth, isSelected, isWeekEnd]);
50
+ return (<Pressable style={dayCellStyles.container} onPress={handlePress} testID={isOutOfMonth
51
+ ? `agendaExtraDay-${dateString}`
52
+ : `agendaDay-${dateString}`}>
53
+ {isSelected && (<View style={[dayCellStyles.outline, selectionStyle]} pointerEvents="none" testID={`agendaDaySelected-${dateString}`}/>)}
54
+ {isToday && !isSelected && (<View style={[dayCellStyles.outline, todayStyle]} pointerEvents="none"/>)}
55
+ <Text style={dayCellStyles.text} textColor={textColor} writingType={isSelected || isToday ? 'important' : undefined} fontSize={12}>
56
+ {dayNumber}
57
+ </Text>
58
+ {hasItems && (<View style={[styles.dot, dotStyle]} pointerEvents="none" testID={`agendaDayDot-${dateString}`}/>)}
59
+ </Pressable>);
60
+ };
61
+ const styles = StyleSheet.create({
62
+ dot: {
63
+ position: 'absolute',
64
+ bottom: 6,
65
+ width: DOT_SIZE,
66
+ height: DOT_SIZE,
67
+ borderRadius: DOT_SIZE / 2,
68
+ },
69
+ });
70
+ export default memo(AgendaDayCell);
71
+ //# sourceMappingURL=AgendaDayCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaDayCell.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaDayCell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AACzD,OAAO,EAAC,aAAa,EAAE,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAC,aAAa,EAAC,MAA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,CAC9B,aAAa,CAAC,MAAM,CACpB,MAAM,CAAC,CAAC,gBAAgB,UAAU,EAAE,CAAC,EACrC,CACH,CACH;IAAA,EAAE,SAAS,CAAC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;QAChB,YAAY,EAAE,QAAQ,GAAG,CAAC;KAC3B;CACF,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC,aAAa,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ItemHours } from './types';
3
+ interface AgendaDayRowProps {
4
+ dateString: string;
5
+ dayNumber: number;
6
+ dayIndex: number;
7
+ isToday: boolean;
8
+ items: any[];
9
+ renderItem: (item: any) => React.ReactNode;
10
+ getItemHours?: (item: any) => ItemHours;
11
+ translator: (key: string) => string;
12
+ }
13
+ declare const _default: React.MemoExoticComponent<({ dateString, dayNumber, dayIndex, isToday, items, renderItem, getItemHours, translator, }: AgendaDayRowProps) => React.JSX.Element>;
14
+ export default _default;
@@ -0,0 +1,65 @@
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 React, { memo, useMemo } from 'react';
19
+ import { StyleSheet, View } from 'react-native';
20
+ import { getDayTitleKey } from '../../../utils';
21
+ import { useThemeColor } from '../../../theme';
22
+ import { Text } from '../../atoms';
23
+ import AgendaItemRow from './AgendaItemRow';
24
+ const AgendaDayRow = ({ dateString, dayNumber, dayIndex, isToday, items, renderItem, getItemHours, translator, }) => {
25
+ const Colors = useThemeColor();
26
+ const todayColor = useMemo(() => (isToday ? Colors.primaryColor.background : undefined), [Colors.primaryColor.background, isToday]);
27
+ return (<View style={styles.container} testID={`agendaRow-${dateString}`}>
28
+ <View style={styles.dayColumn}>
29
+ <Text writingType="important" fontSize={20} textColor={todayColor}>
30
+ {dayNumber}
31
+ </Text>
32
+ <Text textColor={todayColor}>
33
+ {translator(getDayTitleKey(dayIndex))}
34
+ </Text>
35
+ </View>
36
+ <View style={styles.itemColumn}>
37
+ {items.map((item, index) => {
38
+ const { startHour, endHour } = getItemHours?.(item) ?? {};
39
+ return (<AgendaItemRow key={item?.id ?? index} startHour={startHour} endHour={endHour} isFirst={index === 0}>
40
+ {renderItem(item)}
41
+ </AgendaItemRow>);
42
+ })}
43
+ </View>
44
+ </View>);
45
+ };
46
+ const DAY_COLUMN_WIDTH = 50;
47
+ const ROW_MIN_HEIGHT = 80;
48
+ const styles = StyleSheet.create({
49
+ container: {
50
+ flexDirection: 'row',
51
+ minHeight: ROW_MIN_HEIGHT,
52
+ },
53
+ dayColumn: {
54
+ width: DAY_COLUMN_WIDTH,
55
+ alignItems: 'center',
56
+ justifyContent: 'flex-start',
57
+ marginVertical: 16,
58
+ },
59
+ itemColumn: {
60
+ flex: 1,
61
+ justifyContent: 'center',
62
+ },
63
+ });
64
+ export default memo(AgendaDayRow);
65
+ //# sourceMappingURL=AgendaDayRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaDayRow.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaDayRow.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,IAAI,E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MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAC7B;QAAA,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YACzB,MAAM,EAAC,SAAS,EAAE,OAAO,EAAC,GAAG,YAAY,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAExD,OAAO,CACL,CAAC,aAAa,CACZ,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,IAAI,KAAK,CAAC,CACvB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,OAAO,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CACrB;cAAA,CAAC,UAAU,CAAC,IAAI,CAAC,CACnB;YAAA,EAAE,aAAa,CAAC,CACjB,CAAC;QACJ,CAAC,CAAC,CACJ;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAC5B,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,SAAS,EAAE,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,KAAK,EAAE,gBAAgB;QACvB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,YAAY;QAC5B,cAAc,EAAE,EAAE;KACnB;IACD,UAAU,EAAE;QACV,IAAI,EAAE,CAAC;QACP,cAAc,EAAE,QAAQ;KACzB;CACF,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC,YAAY,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface AgendaHeaderProps {
3
+ filters?: React.ReactNode;
4
+ headerLeft?: React.ReactNode;
5
+ showNavigation: boolean;
6
+ showTodayButton: boolean;
7
+ onPreviousWeek: () => void;
8
+ onNextWeek: () => void;
9
+ onToday: () => void;
10
+ }
11
+ declare const AgendaHeader: ({ filters, headerLeft, showNavigation, showTodayButton, onPreviousWeek, onNextWeek, onToday, }: AgendaHeaderProps) => React.JSX.Element;
12
+ export default AgendaHeader;
@@ -0,0 +1,44 @@
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 React from 'react';
19
+ import { StyleSheet, View } from 'react-native';
20
+ import { PeriodNavigation } from '../../molecules';
21
+ import { HeaderContainer } from '../../organisms';
22
+ const AgendaHeader = ({ filters, headerLeft, showNavigation, showTodayButton, onPreviousWeek, onNextWeek, onToday, }) => {
23
+ const hasButtons = showNavigation || showTodayButton;
24
+ if (filters == null && headerLeft == null && !hasButtons)
25
+ return null;
26
+ return (<HeaderContainer expandableFilter={false} fixedItems={filters} chipComponent={headerLeft == null && !hasButtons ? null : (<View style={styles.row}>
27
+ {headerLeft != null && (<View style={styles.left}>{headerLeft}</View>)}
28
+ <PeriodNavigation onPrevious={showNavigation ? onPreviousWeek : undefined} onNext={showNavigation ? onNextWeek : undefined} onToday={showTodayButton ? onToday : undefined}/>
29
+ </View>)}/>);
30
+ };
31
+ const styles = StyleSheet.create({
32
+ row: {
33
+ flexDirection: 'row',
34
+ alignItems: 'center',
35
+ justifyContent: 'flex-end',
36
+ gap: 4,
37
+ paddingHorizontal: 18,
38
+ },
39
+ left: {
40
+ flex: 1,
41
+ },
42
+ });
43
+ export default AgendaHeader;
44
+ //# sourceMappingURL=AgendaHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaHeader.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaHeader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAYhD,MAAM,YAAY,GAAG,CAAC,EACpB,OAAO,EACP,UAAU,EACV,cAAc,EACd,eAAe,EACf,cAAc,EACd,UAAU,EACV,OAAO,GACW,EAAE,EAAE;IACtB,MAAM,UAAU,GAAG,cAAc,IAAI,eAAe,CAAC;IAErD,IAAI,OAAO,IAAI,IAAI,IAAI,UAAU,IAAI,IAAI,IAAI,CAAC,UAAU;QAAE,OAAO,IAAI,CAAC;IAEtE,OAAO,CACL,CAAC,eAAe,CACd,gBAAgB,CAAC,CAAC,KAAK,CAAC,CACxB,UAAU,CAAC,CAAC,OAAO,CAAC,CACpB,aAAa,CAAC,CACZ,UAAU,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACzC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CACtB;YAAA,CAAC,UAAU,IAAI,IAAI,IAAI,CACrB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,CAC9C,CACD;YAAA,CAAC,gBAAgB,CACf,UAAU,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CACxD,MAAM,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAChD,OAAO,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,EAEnD;UAAA,EAAE,IAAI,CAAC,CAEX,CAAC,EACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,UAAU;QAC1B,GAAG,EAAE,CAAC;QACN,iBAAiB,EAAE,EAAE;KACtB;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ItemHours } from './types';
3
+ interface AgendaItemRowProps extends ItemHours {
4
+ isFirst?: boolean;
5
+ children: React.ReactNode;
6
+ }
7
+ declare const AgendaItemRow: ({ startHour, endHour, isFirst, children, }: AgendaItemRowProps) => React.JSX.Element;
8
+ export default AgendaItemRow;
@@ -0,0 +1,58 @@
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 React from 'react';
19
+ import { StyleSheet, View } from 'react-native';
20
+ import { useThemeColor } from '../../../theme';
21
+ import { HorizontalRule, Text } from '../../atoms';
22
+ const AgendaItemRow = ({ startHour, endHour, isFirst = false, children, }) => {
23
+ const Colors = useThemeColor();
24
+ return (<View>
25
+ {isFirst && (<HorizontalRule style={styles.rule} color={Colors.secondaryColor.background_light}/>)}
26
+ <View style={styles.container}>
27
+ <View style={styles.hours}>
28
+ {startHour != null && <Text style={styles.hour}>{startHour}</Text>}
29
+ {endHour != null && <Text style={styles.hour}>{endHour}</Text>}
30
+ </View>
31
+ <View style={styles.content}>{children}</View>
32
+ </View>
33
+ </View>);
34
+ };
35
+ const styles = StyleSheet.create({
36
+ rule: {
37
+ marginVertical: 10,
38
+ width: '60%',
39
+ alignSelf: 'center',
40
+ },
41
+ container: {
42
+ flexDirection: 'row',
43
+ alignItems: 'center',
44
+ },
45
+ hours: {
46
+ flexDirection: 'column',
47
+ gap: 2,
48
+ },
49
+ hour: {
50
+ textAlign: 'center',
51
+ },
52
+ content: {
53
+ alignSelf: 'flex-end',
54
+ flex: 1,
55
+ },
56
+ });
57
+ export default AgendaItemRow;
58
+ //# sourceMappingURL=AgendaItemRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaItemRow.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaItemRow.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAQjD,MAAM,aAAa,GAAG,CAAC,EACrB,SAAS,EACT,OAAO,EACP,OAAO,GAAG,KAAK,EACf,QAAQ,GACW,EAAE,EAAE;IACvB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,OAAO,CACL,CAAC,IAAI,CACH;MAAA,CAAC,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aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { CalendarMonth } from '../../../utils';
3
+ interface AgendaMonthProps {
4
+ month: CalendarMonth;
5
+ items: Record<string, any[]>;
6
+ selectedDate?: string;
7
+ todayDateString: string;
8
+ firstDayOfWeek: number;
9
+ visibleWeekIndex?: number;
10
+ showTitle?: boolean;
11
+ showWeekDays?: boolean;
12
+ translator: (key: string) => string;
13
+ onDayPress: (dateString: string) => void;
14
+ }
15
+ declare const _default: React.MemoExoticComponent<({ month, items, selectedDate, todayDateString, firstDayOfWeek, visibleWeekIndex, showTitle, showWeekDays, translator, onDayPress, }: AgendaMonthProps) => React.JSX.Element>;
16
+ export default _default;
@@ -0,0 +1,26 @@
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 React, { memo, useCallback } from 'react';
19
+ import { CalendarMonthGrid } from '../../molecules';
20
+ import AgendaDayCell from './AgendaDayCell';
21
+ const AgendaMonth = ({ month, items, selectedDate, todayDateString, firstDayOfWeek, visibleWeekIndex, showTitle, showWeekDays, translator, onDayPress, }) => {
22
+ const renderDay = useCallback((day) => (<AgendaDayCell dateString={day.dateString} dayNumber={day.dayNumber} isWeekEnd={day.isWeekEnd} isOutOfMonth={day.isOutOfMonth} isSelected={day.dateString === selectedDate} isToday={day.dateString === todayDateString} hasItems={items[day.dateString]?.length > 0} onPress={onDayPress}/>), [items, onDayPress, selectedDate, todayDateString]);
23
+ return (<CalendarMonthGrid month={month} firstDayOfWeek={firstDayOfWeek} renderDay={renderDay} visibleWeekIndex={visibleWeekIndex} showExtraDays showTitle={showTitle} showWeekDays={showWeekDays} translator={translator}/>);
24
+ };
25
+ export default memo(AgendaMonth);
26
+ //# sourceMappingURL=AgendaMonth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaMonth.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaMonth.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAe5C,MAAM,WAAW,GAAG,CAAC,EACnB,KAAK,EACL,KAAK,EACL,YAAY,EACZ,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,UAAU,GACO,EAAE,EAAE;IACrB,MAAM,SAAS,GAAG,WAAW,CAC3B,CAAC,GAAgB,EAAE,EAAE,CAAC,CACpB,CAAC,aAAa,CACZ,UAAU,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAC3B,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CACzB,SAAS,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CACzB,YAAY,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAC/B,UAAU,CAAC,CAAC,GAAG,CAAC,UAAU,KAAK,YAAY,CAAC,CAC5C,OAAO,CAAC,CAAC,GAAG,CAAC,UAAU,KAAK,eAAe,CAAC,CAC5C,QAAQ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,CAC5C,OAAO,CAAC,CAAC,UAAU,CAAC,EACpB,CACH,EACD,CAAC,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,CAAC,CACnD,CAAC;IAEF,OAAO,CACL,CAAC,iBAAiB,CAChB,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,cAAc,CAAC,CAAC,cAAc,CAAC,CAC/B,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CACnC,aAAa,CACb,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,YAAY,CAAC,CAAC,YAAY,CAAC,CAC3B,UAAU,CAAC,CAAC,UAAU,CAAC,EACvB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC,WAAW,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface AgendaMonthSeparatorProps {
3
+ monthKey: string;
4
+ translator: (key: string) => string;
5
+ }
6
+ declare const _default: React.MemoExoticComponent<({ monthKey, translator, }: AgendaMonthSeparatorProps) => React.JSX.Element>;
7
+ export default _default;
@@ -0,0 +1,41 @@
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 React, { memo } from 'react';
19
+ import { StyleSheet, View } from 'react-native';
20
+ import { getMonthTitleKey } from '../../../utils';
21
+ import { useThemeColor } from '../../../theme';
22
+ import { Text } from '../../atoms';
23
+ const AgendaMonthSeparator = ({ monthKey, translator, }) => {
24
+ const Colors = useThemeColor();
25
+ const [year, month] = monthKey.split('-');
26
+ return (<View style={styles.container}>
27
+ <Text style={styles.text} textColor={Colors.secondaryColor.background} fontSize={20}>
28
+ {`${translator(getMonthTitleKey(Number(month) - 1))} ${year}`}
29
+ </Text>
30
+ </View>);
31
+ };
32
+ const styles = StyleSheet.create({
33
+ container: {
34
+ paddingVertical: 12,
35
+ },
36
+ text: {
37
+ alignSelf: 'center',
38
+ },
39
+ });
40
+ export default memo(AgendaMonthSeparator);
41
+ //# sourceMappingURL=AgendaMonthSeparator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgendaMonthSeparator.js","sourceRoot":"","sources":["../../../../src/components/organisms/AgendaView/AgendaMonthSeparator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAClC,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AAOjC,MAAM,oBAAoB,GAAG,CAAC,EAC5B,QAAQ,EACR,UAAU,GACgB,EAAE,EAAE;IAC9B,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAE1C,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAC5B;MAAA,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CACnB,SAAS,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAC5C,QAAQ,CAAC,CAAC,EAAE,CAAC,CACb;QAAA,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAC/D;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,eAAe,EAAE,EAAE;KACpB;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { ItemHours } from './types';
3
+ interface AgendaViewProps {
4
+ itemsByDate?: Record<string, any[]>;
5
+ selectedDate: string;
6
+ onDateChange: (dateString: string) => void;
7
+ onVisibleMonthChange?: (monthKey: string) => void;
8
+ renderItem: (item: any) => React.ReactNode;
9
+ getItemHours?: (item: any) => ItemHours;
10
+ daysAhead?: number;
11
+ monthsBefore?: number;
12
+ monthsAfter?: number;
13
+ firstDayOfWeek?: number;
14
+ showNavigation?: boolean;
15
+ showTodayButton?: boolean;
16
+ filters?: React.ReactNode;
17
+ headerLeft?: React.ReactNode;
18
+ refreshing?: boolean;
19
+ onRefresh?: () => void;
20
+ translator: (key: string) => string;
21
+ style?: any;
22
+ }
23
+ declare const AgendaView: ({ itemsByDate, selectedDate, onDateChange, onVisibleMonthChange, renderItem, getItemHours, daysAhead, monthsBefore, monthsAfter, firstDayOfWeek, showNavigation, showTodayButton, filters, headerLeft, refreshing, onRefresh, translator, style, }: AgendaViewProps) => React.JSX.Element;
24
+ export default AgendaView;