@axelor/aos-mobile-ui 9.1.10 → 9.2.0
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.
- package/lib/components/atoms/BorderBar/BorderBar.d.ts +9 -0
- package/lib/components/atoms/BorderBar/BorderBar.js +30 -0
- package/lib/components/atoms/BorderBar/BorderBar.js.map +1 -0
- package/lib/components/atoms/Card/Card.d.ts +2 -1
- package/lib/components/atoms/Card/Card.js +2 -2
- package/lib/components/atoms/Card/Card.js.map +1 -1
- package/lib/components/atoms/HorizontalRule/HorizontalRule.d.ts +3 -1
- package/lib/components/atoms/HorizontalRule/HorizontalRule.js +5 -7
- package/lib/components/atoms/HorizontalRule/HorizontalRule.js.map +1 -1
- package/lib/components/atoms/HtmlInput/HtmlInput.d.ts +3 -1
- package/lib/components/atoms/HtmlInput/HtmlInput.js +13 -8
- package/lib/components/atoms/HtmlInput/HtmlInput.js.map +1 -1
- package/lib/components/atoms/HtmlViewer/HtmlViewer.d.ts +10 -0
- package/lib/components/atoms/HtmlViewer/HtmlViewer.js +93 -0
- package/lib/components/atoms/HtmlViewer/HtmlViewer.js.map +1 -0
- package/lib/components/atoms/Icon/Icon.d.ts +2 -1
- package/lib/components/atoms/Icon/Icon.js +4 -5
- package/lib/components/atoms/Icon/Icon.js.map +1 -1
- package/lib/components/atoms/Input/Input.d.ts +5 -5
- package/lib/components/atoms/Input/Input.js +6 -5
- package/lib/components/atoms/Input/Input.js.map +1 -1
- package/lib/components/atoms/ProgressCircle/ProgressCircle.js +11 -7
- package/lib/components/atoms/ProgressCircle/ProgressCircle.js.map +1 -1
- package/lib/components/atoms/RadioButton/RadioButton.js +25 -21
- package/lib/components/atoms/RadioButton/RadioButton.js.map +1 -1
- package/lib/components/atoms/Screen/Screen.d.ts +1 -2
- package/lib/components/atoms/Screen/Screen.js +2 -9
- package/lib/components/atoms/Screen/Screen.js.map +1 -1
- package/lib/components/atoms/Switch/Switch.d.ts +1 -1
- package/lib/components/atoms/Switch/Switch.js +5 -5
- package/lib/components/atoms/Switch/Switch.js.map +1 -1
- package/lib/components/atoms/Text/Text.d.ts +2 -1
- package/lib/components/atoms/Text/Text.js +1 -1
- package/lib/components/atoms/Text/Text.js.map +1 -1
- package/lib/components/atoms/VerticalRule/VerticalRule.d.ts +8 -0
- package/lib/components/atoms/VerticalRule/VerticalRule.js +33 -0
- package/lib/components/atoms/VerticalRule/VerticalRule.js.map +1 -0
- package/lib/components/atoms/index.d.ts +3 -0
- package/lib/components/atoms/index.js +3 -0
- package/lib/components/atoms/index.js.map +1 -1
- package/lib/components/molecules/Alert/Alert.js +18 -30
- package/lib/components/molecules/Alert/Alert.js.map +1 -1
- package/lib/components/molecules/Badge/Badge.d.ts +2 -1
- package/lib/components/molecules/Badge/Badge.js +15 -12
- package/lib/components/molecules/Badge/Badge.js.map +1 -1
- package/lib/components/molecules/BottomSheet/BottomSheet.js +1 -1
- package/lib/components/molecules/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
- package/lib/components/molecules/Button/Button.d.ts +2 -1
- package/lib/components/molecules/Button/Button.js +6 -12
- package/lib/components/molecules/Button/Button.js.map +1 -1
- package/lib/components/molecules/CalendarLegend/CalendarLegend.d.ts +13 -0
- package/lib/components/molecules/CalendarLegend/CalendarLegend.js +89 -0
- package/lib/components/molecules/CalendarLegend/CalendarLegend.js.map +1 -0
- package/lib/components/molecules/CalendarLegend/index.d.ts +2 -0
- package/lib/components/molecules/CalendarLegend/index.js +19 -0
- package/lib/components/molecules/CalendarLegend/index.js.map +1 -0
- package/lib/components/molecules/CalendarLegend/types.d.ts +6 -0
- package/lib/components/molecules/CalendarLegend/types.js +19 -0
- package/lib/components/molecules/CalendarLegend/types.js.map +1 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.d.ts +15 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.js +49 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthGrid.js.map +1 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.d.ts +8 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.js +35 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarMonthTitle.js.map +1 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.d.ts +7 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.js +44 -0
- package/lib/components/molecules/CalendarMonthGrid/CalendarWeekDays.js.map +1 -0
- package/lib/components/molecules/CalendarMonthGrid/index.d.ts +3 -0
- package/lib/components/molecules/CalendarMonthGrid/index.js +21 -0
- package/lib/components/molecules/CalendarMonthGrid/index.js.map +1 -0
- package/lib/components/molecules/CardIconButton/CardIconButton.js +1 -1
- package/lib/components/molecules/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/molecules/Checkbox/Checkbox.js +11 -27
- package/lib/components/molecules/Checkbox/Checkbox.js.map +1 -1
- package/lib/components/molecules/Chip/Chip.d.ts +1 -1
- package/lib/components/molecules/Chip/Chip.js +23 -19
- package/lib/components/molecules/Chip/Chip.js.map +1 -1
- package/lib/components/molecules/CircleButton/CircleButton.js +1 -1
- package/lib/components/molecules/CircleButton/CircleButton.js.map +1 -1
- package/lib/components/molecules/ClearableCard/ClearableCard.js +2 -7
- package/lib/components/molecules/ClearableCard/ClearableCard.js.map +1 -1
- package/lib/components/molecules/DoubleIcon/DoubleIcon.js +1 -1
- package/lib/components/molecules/DoubleIcon/DoubleIcon.js.map +1 -1
- package/lib/components/molecules/DropdownCard/DropdownCard.d.ts +4 -3
- package/lib/components/molecules/DropdownCard/DropdownCard.js +36 -55
- package/lib/components/molecules/DropdownCard/DropdownCard.js.map +1 -1
- package/lib/components/molecules/DropdownMenu/DropdownMenu.d.ts +4 -2
- package/lib/components/molecules/DropdownMenu/DropdownMenu.js +52 -26
- package/lib/components/molecules/DropdownMenu/DropdownMenu.js.map +1 -1
- package/lib/components/molecules/EditableHtmlInput/EditableHtmlInput.js +2 -3
- package/lib/components/molecules/EditableHtmlInput/EditableHtmlInput.js.map +1 -1
- package/lib/components/molecules/EditableInput/EditableInput.js +4 -17
- package/lib/components/molecules/EditableInput/EditableInput.js.map +1 -1
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.d.ts +2 -2
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js +13 -23
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js.map +1 -1
- package/lib/components/molecules/FormIncrementInput/FormIncrementInput.js +6 -17
- package/lib/components/molecules/FormIncrementInput/FormIncrementInput.js.map +1 -1
- package/lib/components/molecules/FormInput/FormInput.d.ts +1 -1
- package/lib/components/molecules/FormInput/FormInput.js +2 -9
- package/lib/components/molecules/FormInput/FormInput.js.map +1 -1
- package/lib/components/molecules/FormSlider/FormSlider.js +3 -13
- package/lib/components/molecules/FormSlider/FormSlider.js.map +1 -1
- package/lib/components/molecules/GroupedCard/GroupedCard.d.ts +13 -0
- package/lib/components/molecules/GroupedCard/GroupedCard.js +60 -0
- package/lib/components/molecules/GroupedCard/GroupedCard.js.map +1 -0
- package/lib/components/molecules/HorizontalRuleText/HorizontalRuleText.js +5 -6
- package/lib/components/molecules/HorizontalRuleText/HorizontalRuleText.js.map +1 -1
- package/lib/components/molecules/IconInput/IconInput.d.ts +4 -4
- package/lib/components/molecules/IconInput/IconInput.js +15 -23
- package/lib/components/molecules/IconInput/IconInput.js.map +1 -1
- package/lib/components/molecules/IconTile/IconTile.d.ts +19 -0
- package/lib/components/molecules/IconTile/IconTile.js +43 -0
- package/lib/components/molecules/IconTile/IconTile.js.map +1 -0
- package/lib/components/molecules/Increment/Increment.d.ts +1 -1
- package/lib/components/molecules/Increment/Increment.js +3 -5
- package/lib/components/molecules/Increment/Increment.js.map +1 -1
- package/lib/components/molecules/Increment/IncrementButton.js +7 -14
- package/lib/components/molecules/Increment/IncrementButton.js.map +1 -1
- package/lib/components/molecules/Label/Label.d.ts +1 -1
- package/lib/components/molecules/Label/Label.js +11 -15
- package/lib/components/molecules/Label/Label.js.map +1 -1
- package/lib/components/molecules/LabelText/LabelText.js +6 -4
- package/lib/components/molecules/LabelText/LabelText.js.map +1 -1
- package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.d.ts +6 -7
- package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.js +91 -33
- package/lib/components/molecules/MovementIndicationCard/MovementIndicationCard.js.map +1 -1
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js +21 -33
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js.map +1 -1
- package/lib/components/molecules/NotesCard/NotesCard.d.ts +2 -1
- package/lib/components/molecules/NotesCard/NotesCard.js +11 -15
- package/lib/components/molecules/NotesCard/NotesCard.js.map +1 -1
- package/lib/components/molecules/NumberBubble/NumberBubble.js +2 -2
- package/lib/components/molecules/NumberBubble/NumberBubble.js.map +1 -1
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.d.ts +5 -3
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js +35 -28
- package/lib/components/molecules/NumberChevronInput/NumberChevronInput.js.map +1 -1
- package/lib/components/molecules/PanelTabs/PanelTabs.js +1 -1
- package/lib/components/molecules/PeriodNavigation/PeriodNavigation.d.ts +14 -0
- package/lib/components/molecules/PeriodNavigation/PeriodNavigation.js +45 -0
- package/lib/components/molecules/PeriodNavigation/PeriodNavigation.js.map +1 -0
- package/lib/components/molecules/RadioSelect/RadioSelect.js +8 -8
- package/lib/components/molecules/RadioSelect/RadioSelect.js.map +1 -1
- package/lib/components/molecules/RightIconButton/RightIconButton.d.ts +4 -1
- package/lib/components/molecules/RightIconButton/RightIconButton.js +8 -7
- package/lib/components/molecules/RightIconButton/RightIconButton.js.map +1 -1
- package/lib/components/molecules/SelectionContainer/SelectionContainer.d.ts +2 -1
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js +46 -58
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js.map +1 -1
- package/lib/components/molecules/StarScore/StarScore.d.ts +1 -1
- package/lib/components/molecules/StarScore/StarScore.js +7 -10
- package/lib/components/molecules/StarScore/StarScore.js.map +1 -1
- package/lib/components/molecules/Stepper/StepList.d.ts +2 -1
- package/lib/components/molecules/Stepper/StepList.js +14 -12
- package/lib/components/molecules/Stepper/StepList.js.map +1 -1
- package/lib/components/molecules/Stepper/Stepper.d.ts +1 -2
- package/lib/components/molecules/Stepper/Stepper.js +17 -28
- package/lib/components/molecules/Stepper/Stepper.js.map +1 -1
- package/lib/components/molecules/SwitchCard/SwitchCard.d.ts +6 -2
- package/lib/components/molecules/SwitchCard/SwitchCard.js +6 -13
- package/lib/components/molecules/SwitchCard/SwitchCard.js.map +1 -1
- package/lib/components/molecules/TextUnit/TextUnit.js +3 -3
- package/lib/components/molecules/TextUnit/TextUnit.js.map +1 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js +34 -34
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js.map +1 -1
- package/lib/components/molecules/ViewAllContainer/ViewAllContainer.d.ts +2 -1
- package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js +24 -33
- package/lib/components/molecules/ViewAllContainer/ViewAllContainer.js.map +1 -1
- package/lib/components/molecules/index.d.ts +5 -0
- package/lib/components/molecules/index.js +5 -0
- package/lib/components/molecules/index.js.map +1 -1
- package/lib/components/organisms/ActionCard/ActionCard.js +4 -5
- package/lib/components/organisms/ActionCard/ActionCard.js.map +1 -1
- package/lib/components/organisms/ActionSheet/ActionSheet.d.ts +2 -1
- package/lib/components/organisms/ActionSheet/ActionSheet.js +18 -8
- package/lib/components/organisms/ActionSheet/ActionSheet.js.map +1 -1
- package/lib/components/organisms/AgendaView/AgendaDayCell.d.ts +13 -0
- package/lib/components/organisms/AgendaView/AgendaDayCell.js +71 -0
- package/lib/components/organisms/AgendaView/AgendaDayCell.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaDayRow.d.ts +14 -0
- package/lib/components/organisms/AgendaView/AgendaDayRow.js +65 -0
- package/lib/components/organisms/AgendaView/AgendaDayRow.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaHeader.d.ts +12 -0
- package/lib/components/organisms/AgendaView/AgendaHeader.js +44 -0
- package/lib/components/organisms/AgendaView/AgendaHeader.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaItemRow.d.ts +8 -0
- package/lib/components/organisms/AgendaView/AgendaItemRow.js +58 -0
- package/lib/components/organisms/AgendaView/AgendaItemRow.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaMonth.d.ts +16 -0
- package/lib/components/organisms/AgendaView/AgendaMonth.js +26 -0
- package/lib/components/organisms/AgendaView/AgendaMonth.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaMonthSeparator.d.ts +7 -0
- package/lib/components/organisms/AgendaView/AgendaMonthSeparator.js +41 -0
- package/lib/components/organisms/AgendaView/AgendaMonthSeparator.js.map +1 -0
- package/lib/components/organisms/AgendaView/AgendaView.d.ts +24 -0
- package/lib/components/organisms/AgendaView/AgendaView.js +134 -0
- package/lib/components/organisms/AgendaView/AgendaView.js.map +1 -0
- package/lib/components/organisms/AgendaView/MonthList.d.ts +16 -0
- package/lib/components/organisms/AgendaView/MonthList.js +64 -0
- package/lib/components/organisms/AgendaView/MonthList.js.map +1 -0
- package/lib/components/organisms/AgendaView/MonthPanel.d.ts +17 -0
- package/lib/components/organisms/AgendaView/MonthPanel.js +108 -0
- package/lib/components/organisms/AgendaView/MonthPanel.js.map +1 -0
- package/lib/components/organisms/AgendaView/agenda-view.helpers.d.ts +6 -0
- package/lib/components/organisms/AgendaView/agenda-view.helpers.js +53 -0
- package/lib/components/organisms/AgendaView/agenda-view.helpers.js.map +1 -0
- package/lib/components/organisms/AgendaView/index.d.ts +3 -0
- package/lib/components/organisms/AgendaView/index.js +20 -0
- package/lib/components/organisms/AgendaView/index.js.map +1 -0
- package/lib/components/organisms/AgendaView/types.d.ts +12 -0
- package/lib/components/organisms/AgendaView/types.js +19 -0
- package/lib/components/organisms/AgendaView/types.js.map +1 -0
- package/lib/components/organisms/AgendaView/use-month-panel-drag.d.ts +13 -0
- package/lib/components/organisms/AgendaView/use-month-panel-drag.js +77 -0
- package/lib/components/organisms/AgendaView/use-month-panel-drag.js.map +1 -0
- package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js +5 -5
- package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.d.ts +2 -2
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js +13 -20
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js +8 -9
- package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js.map +1 -1
- package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.d.ts +12 -0
- package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.js +60 -0
- package/lib/components/organisms/CalendarRangePicker/CalendarDaySheet.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.d.ts +28 -0
- package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.js +140 -0
- package/lib/components/organisms/CalendarRangePicker/CalendarRangePicker.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/DayCell.d.ts +17 -0
- package/lib/components/organisms/CalendarRangePicker/DayCell.js +131 -0
- package/lib/components/organisms/CalendarRangePicker/DayCell.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/RangeMonth.d.ts +18 -0
- package/lib/components/organisms/CalendarRangePicker/RangeMonth.js +35 -0
- package/lib/components/organisms/CalendarRangePicker/RangeMonth.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.d.ts +12 -0
- package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.js +68 -0
- package/lib/components/organisms/CalendarRangePicker/calendar-range.helpers.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/index.d.ts +2 -0
- package/lib/components/organisms/CalendarRangePicker/index.js +19 -0
- package/lib/components/organisms/CalendarRangePicker/index.js.map +1 -0
- package/lib/components/organisms/CalendarRangePicker/types.d.ts +11 -0
- package/lib/components/organisms/CalendarRangePicker/types.js +19 -0
- package/lib/components/organisms/CalendarRangePicker/types.js.map +1 -0
- package/lib/components/organisms/ChipSelect/ChipSelect.js +24 -21
- package/lib/components/organisms/ChipSelect/ChipSelect.js.map +1 -1
- package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.d.ts +2 -0
- package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.js +2 -2
- package/lib/components/organisms/DropdownCardSwitch/DropdownCardSwitch.js.map +1 -1
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.d.ts +3 -2
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js +36 -34
- package/lib/components/organisms/DropdownMenuItem/DropdownMenuItem.js.map +1 -1
- package/lib/components/organisms/FloatingButton/FloatingActionButton.d.ts +2 -2
- package/lib/components/organisms/FloatingButton/FloatingActionButton.js +2 -1
- package/lib/components/organisms/FloatingButton/FloatingActionButton.js.map +1 -1
- package/lib/components/organisms/GanttView/GanttView.d.ts +36 -0
- package/lib/components/organisms/GanttView/GanttView.js +267 -0
- package/lib/components/organisms/GanttView/GanttView.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttBar.d.ts +12 -0
- package/lib/components/organisms/GanttView/body/GanttBar.js +52 -0
- package/lib/components/organisms/GanttView/body/GanttBar.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttCellStrip.d.ts +10 -0
- package/lib/components/organisms/GanttView/body/GanttCellStrip.js +55 -0
- package/lib/components/organisms/GanttView/body/GanttCellStrip.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttGridLines.d.ts +9 -0
- package/lib/components/organisms/GanttView/body/GanttGridLines.js +45 -0
- package/lib/components/organisms/GanttView/body/GanttGridLines.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttGroupHeader.d.ts +9 -0
- package/lib/components/organisms/GanttView/body/GanttGroupHeader.js +61 -0
- package/lib/components/organisms/GanttView/body/GanttGroupHeader.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttGroupLane.d.ts +10 -0
- package/lib/components/organisms/GanttView/body/GanttGroupLane.js +43 -0
- package/lib/components/organisms/GanttView/body/GanttGroupLane.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttRowLane.d.ts +13 -0
- package/lib/components/organisms/GanttView/body/GanttRowLane.js +53 -0
- package/lib/components/organisms/GanttView/body/GanttRowLane.js.map +1 -0
- package/lib/components/organisms/GanttView/body/GanttRowName.d.ts +9 -0
- package/lib/components/organisms/GanttView/body/GanttRowName.js +51 -0
- package/lib/components/organisms/GanttView/body/GanttRowName.js.map +1 -0
- package/lib/components/organisms/GanttView/body/index.d.ts +6 -0
- package/lib/components/organisms/GanttView/body/index.js +24 -0
- package/lib/components/organisms/GanttView/body/index.js.map +1 -0
- package/lib/components/organisms/GanttView/gantt-view.helpers.d.ts +19 -0
- package/lib/components/organisms/GanttView/gantt-view.helpers.js +219 -0
- package/lib/components/organisms/GanttView/gantt-view.helpers.js.map +1 -0
- package/lib/components/organisms/GanttView/gantt-view.styles.d.ts +124 -0
- package/lib/components/organisms/GanttView/gantt-view.styles.js +148 -0
- package/lib/components/organisms/GanttView/gantt-view.styles.js.map +1 -0
- package/lib/components/organisms/GanttView/header/GanttControls.d.ts +13 -0
- package/lib/components/organisms/GanttView/header/GanttControls.js +53 -0
- package/lib/components/organisms/GanttView/header/GanttControls.js.map +1 -0
- package/lib/components/organisms/GanttView/header/GanttHeader.d.ts +24 -0
- package/lib/components/organisms/GanttView/header/GanttHeader.js +75 -0
- package/lib/components/organisms/GanttView/header/GanttHeader.js.map +1 -0
- package/lib/components/organisms/GanttView/header/index.d.ts +1 -0
- package/lib/components/organisms/GanttView/header/index.js +19 -0
- package/lib/components/organisms/GanttView/header/index.js.map +1 -0
- package/lib/components/organisms/GanttView/index.d.ts +4 -0
- package/lib/components/organisms/GanttView/index.js +21 -0
- package/lib/components/organisms/GanttView/index.js.map +1 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.d.ts +10 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.js +67 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleDayRow.js.map +1 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleHeader.d.ts +15 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleHeader.js +46 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleHeader.js.map +1 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.d.ts +8 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.js +69 -0
- package/lib/components/organisms/GanttView/scale/GanttScaleSpanRow.js.map +1 -0
- package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.d.ts +6 -0
- package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.js +53 -0
- package/lib/components/organisms/GanttView/scale/gantt-scale.helpers.js.map +1 -0
- package/lib/components/organisms/GanttView/scale/index.d.ts +1 -0
- package/lib/components/organisms/GanttView/scale/index.js +19 -0
- package/lib/components/organisms/GanttView/scale/index.js.map +1 -0
- package/lib/components/organisms/GanttView/types.d.ts +87 -0
- package/lib/components/organisms/GanttView/types.js +19 -0
- package/lib/components/organisms/GanttView/types.js.map +1 -0
- package/lib/components/organisms/GanttView/use-default-zoom.d.ts +2 -0
- package/lib/components/organisms/GanttView/use-default-zoom.js +23 -0
- package/lib/components/organisms/GanttView/use-default-zoom.js.map +1 -0
- package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js +6 -2
- package/lib/components/organisms/GroupByScrollList/GroupByScrollList.js.map +1 -1
- package/lib/components/organisms/HeaderContainer/HeaderContainer.js +21 -17
- package/lib/components/organisms/HeaderContainer/HeaderContainer.js.map +1 -1
- package/lib/components/organisms/ImageBubble/ImageBubble.d.ts +1 -1
- package/lib/components/organisms/ImageBubble/ImageBubble.js +4 -7
- package/lib/components/organisms/ImageBubble/ImageBubble.js.map +1 -1
- package/lib/components/organisms/InfoBubble/InfoBubble.js +1 -1
- package/lib/components/organisms/InfoBubble/InfoBubble.js.map +1 -1
- package/lib/components/organisms/InfoButton/InfoButton.d.ts +1 -1
- package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js +6 -10
- package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js.map +1 -1
- package/lib/components/organisms/Picker/Picker.d.ts +2 -1
- package/lib/components/organisms/Picker/Picker.js +25 -29
- package/lib/components/organisms/Picker/Picker.js.map +1 -1
- package/lib/components/organisms/ProgressBar/ProgressBar.d.ts +1 -1
- package/lib/components/organisms/ProgressBar/ProgressBar.js +11 -16
- package/lib/components/organisms/ProgressBar/ProgressBar.js.map +1 -1
- package/lib/components/organisms/QuantityCard/QuantityCard.d.ts +3 -2
- package/lib/components/organisms/QuantityCard/QuantityCard.js +47 -56
- package/lib/components/organisms/QuantityCard/QuantityCard.js.map +1 -1
- package/lib/components/organisms/ScrollList/DottedButton.js +10 -18
- package/lib/components/organisms/ScrollList/DottedButton.js.map +1 -1
- package/lib/components/organisms/ScrollList/ScrollList.js +9 -7
- package/lib/components/organisms/ScrollList/ScrollList.js.map +1 -1
- package/lib/components/organisms/ScrollList/TopActions.js +5 -3
- package/lib/components/organisms/ScrollList/TopActions.js.map +1 -1
- package/lib/components/organisms/SearchBar/SearchBar.d.ts +3 -3
- package/lib/components/organisms/SearchBar/SearchBar.js +15 -32
- package/lib/components/organisms/SearchBar/SearchBar.js.map +1 -1
- package/lib/components/organisms/SingleSelectScrollList/SingleSelectScrollList.js +1 -1
- package/lib/components/organisms/ToggleButton/ToggleButton.js +2 -2
- package/lib/components/organisms/ToggleButton/ToggleButton.js.map +1 -1
- package/lib/components/organisms/ViewAllEditList/AllLinesAlert.js +14 -16
- package/lib/components/organisms/ViewAllEditList/AllLinesAlert.js.map +1 -1
- package/lib/components/organisms/ViewAllEditList/LineComponent.js +6 -8
- package/lib/components/organisms/ViewAllEditList/LineComponent.js.map +1 -1
- package/lib/components/organisms/ViewAllEditList/ViewAllEditList.d.ts +3 -2
- package/lib/components/organisms/ViewAllEditList/ViewAllEditList.js +5 -9
- package/lib/components/organisms/ViewAllEditList/ViewAllEditList.js.map +1 -1
- package/lib/components/organisms/WeekDayPicker/DayGauge.d.ts +18 -0
- package/lib/components/organisms/WeekDayPicker/DayGauge.js +112 -0
- package/lib/components/organisms/WeekDayPicker/DayGauge.js.map +1 -0
- package/lib/components/organisms/WeekDayPicker/WeekDayPicker.d.ts +18 -0
- package/lib/components/organisms/WeekDayPicker/WeekDayPicker.js +118 -0
- package/lib/components/organisms/WeekDayPicker/WeekDayPicker.js.map +1 -0
- package/lib/components/organisms/WeekDayPicker/WeekRow.d.ts +15 -0
- package/lib/components/organisms/WeekDayPicker/WeekRow.js +39 -0
- package/lib/components/organisms/WeekDayPicker/WeekRow.js.map +1 -0
- package/lib/components/organisms/WeekDayPicker/index.d.ts +3 -0
- package/lib/components/organisms/WeekDayPicker/index.js +20 -0
- package/lib/components/organisms/WeekDayPicker/index.js.map +1 -0
- package/lib/components/organisms/WeekDayPicker/types.d.ts +17 -0
- package/lib/components/organisms/WeekDayPicker/types.js +19 -0
- package/lib/components/organisms/WeekDayPicker/types.js.map +1 -0
- package/lib/components/organisms/WeekDayPicker/week-day.helpers.d.ts +9 -0
- package/lib/components/organisms/WeekDayPicker/week-day.helpers.js +83 -0
- package/lib/components/organisms/WeekDayPicker/week-day.helpers.js.map +1 -0
- package/lib/components/organisms/index.d.ts +4 -0
- package/lib/components/organisms/index.js +4 -0
- package/lib/components/organisms/index.js.map +1 -1
- package/lib/components/templates/BottomBar/BottomBar.js +81 -22
- package/lib/components/templates/BottomBar/BottomBar.js.map +1 -1
- package/lib/components/templates/BottomBar/ItemTitle.d.ts +1 -1
- package/lib/components/templates/BottomBar/ItemTitle.js +1 -2
- package/lib/components/templates/BottomBar/ItemTitle.js.map +1 -1
- package/lib/components/templates/Dashboard/Chart/BarChart.js +3 -3
- package/lib/components/templates/Dashboard/Chart/BarChart.js.map +1 -1
- package/lib/components/templates/Dashboard/Chart/IndicatorChart/IndicatorItem.js +1 -1
- package/lib/components/templates/Dashboard/Chart/IndicatorChart/IndicatorItem.js.map +1 -1
- package/lib/components/templates/Dashboard/Chart/IndicatorChart/SimpleIndicator.js +24 -20
- package/lib/components/templates/Dashboard/Chart/IndicatorChart/SimpleIndicator.js.map +1 -1
- package/lib/components/templates/ObjectCard/ObjectCard.d.ts +3 -2
- package/lib/components/templates/ObjectCard/ObjectCard.js +46 -32
- package/lib/components/templates/ObjectCard/ObjectCard.js.map +1 -1
- package/lib/components/templates/TabsScreen/Tab.js +1 -1
- package/lib/components/templates/TabsScreen/Tab.js.map +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-click-outside.js +2 -2
- package/lib/hooks/use-click-outside.js.map +1 -1
- package/lib/hooks/use-orientation.d.ts +1 -0
- package/lib/hooks/use-orientation.js +23 -0
- package/lib/hooks/use-orientation.js.map +1 -0
- package/lib/theme/color/ThemeContext.js +1 -1
- package/lib/theme/color/ThemeContext.js.map +1 -1
- package/lib/theme/color/color.defaults.js +22 -22
- package/lib/theme/color/content.helpers.d.ts +2 -1
- package/lib/theme/color/content.helpers.js +47 -45
- package/lib/theme/color/content.helpers.js.map +1 -1
- package/lib/theme/color/themes.js +83 -80
- package/lib/theme/color/themes.js.map +1 -1
- package/lib/theme/color/types.d.ts +1 -0
- package/lib/theme/writing/writingTheme.js +5 -5
- package/lib/tools/AnimationUtil.d.ts +18 -3
- package/lib/utils/calendar.d.ts +42 -0
- package/lib/utils/calendar.js +64 -0
- package/lib/utils/calendar.js.map +1 -0
- package/lib/utils/commons-styles.d.ts +8 -20
- package/lib/utils/commons-styles.js +14 -22
- package/lib/utils/commons-styles.js.map +1 -1
- package/lib/utils/commons-utlis.d.ts +1 -0
- package/lib/utils/commons-utlis.js +7 -0
- package/lib/utils/commons-utlis.js.map +1 -1
- package/lib/utils/dates.d.ts +30 -0
- package/lib/utils/dates.js +142 -0
- package/lib/utils/dates.js.map +1 -0
- package/lib/utils/index.d.ts +10 -8
- package/lib/utils/index.js +4 -2
- package/lib/utils/index.js.map +1 -1
- package/package.json +14 -14
|
@@ -0,0 +1,46 @@
|
|
|
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 { View } from 'react-native';
|
|
20
|
+
import { buildMonthBandCells, buildWeekBandCells, buildWeekRangeCells, } from './gantt-scale.helpers';
|
|
21
|
+
import GanttScaleSpanRow from './GanttScaleSpanRow';
|
|
22
|
+
import GanttScaleDayRow from './GanttScaleDayRow';
|
|
23
|
+
const GanttScaleHeader = ({ days, periods, monthBands, dayWidth, contentWidth, todayDateString, showDays, weekPrefix = '', translator, }) => {
|
|
24
|
+
const todayIndex = useMemo(() => days.findIndex(({ dateString }) => dateString === todayDateString), [days, todayDateString]);
|
|
25
|
+
const bandCells = useMemo(() => showDays
|
|
26
|
+
? buildWeekBandCells(periods, days, dayWidth, todayIndex, weekPrefix, translator)
|
|
27
|
+
: buildMonthBandCells(monthBands, dayWidth, todayIndex, translator), [
|
|
28
|
+
dayWidth,
|
|
29
|
+
days,
|
|
30
|
+
monthBands,
|
|
31
|
+
periods,
|
|
32
|
+
showDays,
|
|
33
|
+
todayIndex,
|
|
34
|
+
translator,
|
|
35
|
+
weekPrefix,
|
|
36
|
+
]);
|
|
37
|
+
const rangeCells = useMemo(() => showDays
|
|
38
|
+
? []
|
|
39
|
+
: buildWeekRangeCells(periods, days, dayWidth, todayIndex, weekPrefix), [dayWidth, days, periods, showDays, todayIndex, weekPrefix]);
|
|
40
|
+
return (<View style={{ width: contentWidth }}>
|
|
41
|
+
<GanttScaleSpanRow cells={bandCells} variant="band"/>
|
|
42
|
+
{showDays ? (<GanttScaleDayRow days={days} dayWidth={dayWidth} todayDateString={todayDateString} translator={translator}/>) : (<GanttScaleSpanRow cells={rangeCells} variant="detail"/>)}
|
|
43
|
+
</View>);
|
|
44
|
+
};
|
|
45
|
+
export default memo(GanttScaleHeader);
|
|
46
|
+
//# sourceMappingURL=GanttScaleHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GanttScaleHeader.js","sourceRoot":"","sources":["../../../../../src/components/organisms/GanttView/scale/GanttScaleHeader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,IAAI,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;AAElC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAclD,MAAM,gBAAgB,GAAG,CAAC,EACxB,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ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,CAAC,CAAC,eAAe,CAAC,CACjC,UAAU,CAAC,CAAC,UAAU,CAAC,EACvB,CACH,CAAC,CAAC,CAAC,CACF,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAG,CAC1D,CACH;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GanttScaleCell } from '../types';
|
|
3
|
+
interface GanttScaleSpanRowProps {
|
|
4
|
+
cells: GanttScaleCell[];
|
|
5
|
+
variant: 'band' | 'detail';
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ cells, variant }: GanttScaleSpanRowProps) => React.JSX.Element>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { useThemeColor } from '../../../../theme';
|
|
21
|
+
import { Text } from '../../../atoms';
|
|
22
|
+
import { GANTT_SCALE_BAND_HEIGHT, GANTT_SCALE_DETAIL_HEIGHT, } from '../gantt-view.styles';
|
|
23
|
+
const GanttScaleSpanRow = ({ cells, variant }) => {
|
|
24
|
+
const Colors = useThemeColor();
|
|
25
|
+
const isBand = variant === 'band';
|
|
26
|
+
return (<View style={[
|
|
27
|
+
isBand ? styles.bandRow : styles.detailRow,
|
|
28
|
+
{
|
|
29
|
+
borderBottomColor: isBand
|
|
30
|
+
? Colors.secondaryColor.background_light
|
|
31
|
+
: Colors.secondaryColor_dark.background_light,
|
|
32
|
+
},
|
|
33
|
+
isBand && { backgroundColor: Colors.screenBackgroundColor },
|
|
34
|
+
]}>
|
|
35
|
+
{cells.map(({ key, width, label, isCurrent }) => (<View key={key} style={[
|
|
36
|
+
styles.cell,
|
|
37
|
+
{ width, borderRightColor: Colors.secondaryColor.background_light },
|
|
38
|
+
]}>
|
|
39
|
+
<Text numberOfLines={1} fontSize={10} writingType={isBand || isCurrent ? 'important' : undefined} textColor={isCurrent
|
|
40
|
+
? Colors.primaryColor.background
|
|
41
|
+
: isBand
|
|
42
|
+
? Colors.secondaryColor.background
|
|
43
|
+
: undefined}>
|
|
44
|
+
{label}
|
|
45
|
+
</Text>
|
|
46
|
+
</View>))}
|
|
47
|
+
</View>);
|
|
48
|
+
};
|
|
49
|
+
const styles = StyleSheet.create({
|
|
50
|
+
bandRow: {
|
|
51
|
+
height: GANTT_SCALE_BAND_HEIGHT,
|
|
52
|
+
flexDirection: 'row',
|
|
53
|
+
borderBottomWidth: 1,
|
|
54
|
+
},
|
|
55
|
+
detailRow: {
|
|
56
|
+
height: GANTT_SCALE_DETAIL_HEIGHT,
|
|
57
|
+
flexDirection: 'row',
|
|
58
|
+
borderBottomWidth: 1,
|
|
59
|
+
},
|
|
60
|
+
cell: {
|
|
61
|
+
height: '100%',
|
|
62
|
+
alignItems: 'center',
|
|
63
|
+
justifyContent: 'center',
|
|
64
|
+
overflow: 'hidden',
|
|
65
|
+
borderRightWidth: 1,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
export default memo(GanttScaleSpanRow);
|
|
69
|
+
//# sourceMappingURL=GanttScaleSpanRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GanttScaleSpanRow.js","sourceRoot":"","sources":["../../../../../src/components/organisms/GanttView/scale/GanttScaleSpanRow.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,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,IAAI,EAAC,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EACL,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAO9B,MAAM,iBAAiB,GAAG,CAAC,EAAC,KAAK,EAAE,OAAO,EAAyB,EAAE,EAAE;IACrE,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,MAAM,GAAG,OAAO,KAAK,MAAM,CAAC;IAElC,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC;YACL,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS;YAC1C;gBACE,iBAAiB,EAAE,MAAM;oBACvB,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,gBAAgB;oBACxC,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,gBAAgB;aAChD;YACD,MAAM,IAAI,EAAC,eAAe,EAAE,MAAM,CAAC,qBAAqB,EAAC;SAC1D,CAAC,CACF;MAAA,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,EAAE,EAAE,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, GanttPeriod, GanttScaleCell } from '../types';
|
|
2
|
+
type Translator = (key: string) => string;
|
|
3
|
+
export declare const buildMonthBandCells: (bands: GanttMonthBand[], dayWidth: number, todayIndex: number, translator: Translator) => GanttScaleCell[];
|
|
4
|
+
export declare const buildWeekBandCells: (periods: GanttPeriod[], days: GanttDay[], dayWidth: number, todayIndex: number, weekPrefix: string, translator: Translator) => GanttScaleCell[];
|
|
5
|
+
export declare const buildWeekRangeCells: (periods: GanttPeriod[], days: GanttDay[], dayWidth: number, todayIndex: number, weekPrefix: string) => GanttScaleCell[];
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { getMonthTitleKey } from '../../../../utils';
|
|
19
|
+
const spanContains = (dayIndex, numberOfDays, targetIndex) => targetIndex >= dayIndex && targetIndex < dayIndex + numberOfDays;
|
|
20
|
+
const formatMonth = (monthIndex, year, translator) => `${translator(getMonthTitleKey(monthIndex))} ${year}`;
|
|
21
|
+
const formatMonthSpan = (first, last, translator) => {
|
|
22
|
+
if (first == null || last == null)
|
|
23
|
+
return '';
|
|
24
|
+
if (first.monthIndex === last.monthIndex && first.year === last.year)
|
|
25
|
+
return formatMonth(last.monthIndex, last.year, translator);
|
|
26
|
+
const firstMonth = translator(getMonthTitleKey(first.monthIndex));
|
|
27
|
+
return first.year === last.year
|
|
28
|
+
? `${firstMonth} / ${formatMonth(last.monthIndex, last.year, translator)}`
|
|
29
|
+
: `${formatMonth(first.monthIndex, first.year, translator)} / ${formatMonth(last.monthIndex, last.year, translator)}`;
|
|
30
|
+
};
|
|
31
|
+
export const buildMonthBandCells = (bands, dayWidth, todayIndex, translator) => bands.map(({ key, dayIndex, numberOfDays, monthIndex, year }) => ({
|
|
32
|
+
key,
|
|
33
|
+
width: numberOfDays * dayWidth,
|
|
34
|
+
label: formatMonth(monthIndex, year, translator),
|
|
35
|
+
isCurrent: spanContains(dayIndex, numberOfDays, todayIndex),
|
|
36
|
+
}));
|
|
37
|
+
export const buildWeekBandCells = (periods, days, dayWidth, todayIndex, weekPrefix, translator) => periods.map(({ key, dayIndex, numberOfDays, weekNumber }) => ({
|
|
38
|
+
key,
|
|
39
|
+
width: numberOfDays * dayWidth,
|
|
40
|
+
label: `${weekPrefix}${weekNumber} · ${formatMonthSpan(days[dayIndex], days[dayIndex + numberOfDays - 1], translator)}`,
|
|
41
|
+
isCurrent: spanContains(dayIndex, numberOfDays, todayIndex),
|
|
42
|
+
}));
|
|
43
|
+
export const buildWeekRangeCells = (periods, days, dayWidth, todayIndex, weekPrefix) => periods.map(({ key, dayIndex, numberOfDays, weekNumber }) => {
|
|
44
|
+
const first = days[dayIndex];
|
|
45
|
+
const last = days[dayIndex + numberOfDays - 1];
|
|
46
|
+
return {
|
|
47
|
+
key,
|
|
48
|
+
width: numberOfDays * dayWidth,
|
|
49
|
+
label: `${weekPrefix}${weekNumber} ${first?.dayNumber}-${last?.dayNumber}`,
|
|
50
|
+
isCurrent: spanContains(dayIndex, numberOfDays, todayIndex),
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=gantt-scale.helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gantt-scale.helpers.js","sourceRoot":"","sources":["../../../../../src/components/organisms/GanttView/scale/gantt-scale.helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAKnD,MAAM,YAAY,GAAG,CACnB,QAAgB,EAChB,YAAoB,EACpB,WAAmB,EACV,EAAE,CAAC,WAAW,IAAI,QAAQ,IAAI,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;AAE/E,MAAM,WAAW,GAAG,CAClB,UAAkB,EAClB,IAAY,EACZ,UAAsB,EACd,EAAE,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;AAEnE,MAAM,eAAe,GAAG,CACtB,KAAe,EACf,IAAc,EACd,UAAsB,EACd,EAAE;IACV,IAAI,KAAK,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;QAAE,OAAO,EAAE,CAAC;IAE7C,IAAI,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI;QAClE,OAAO,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAE7D,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;IAElE,OAAO,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI;QAC7B,CAAC,CAAC,GAAG,UAAU,MAAM,WAAW,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE;QAC1E,CAAC,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,WAAW,CACvE,IAAI,CAAC,UAAU,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,EAAE,YAAY,EAAE,UAAU,EAAC,EAAE,EAAE;IACxD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,GAAG,YAAY,GAAG,CAAC,CAAC,CAAC;IAE/C,OAAO;QACL,GAAG;QACH,KAAK,EAAE,YAAY,GAAG,QAAQ;QAC9B,KAAK,EAAE,GAAG,UAAU,GAAG,UAAU,IAAI,KAAK,EAAE,SAAS,IAAI,IAAI,EAAE,SAAS,EAAE;QAC1E,SAAS,EAAE,YAAY,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,CAAC;KAC5D,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GanttScaleHeader } from './GanttScaleHeader';
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export { default as GanttScaleHeader } from './GanttScaleHeader';
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/organisms/GanttView/scale/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Color } from '../../../theme';
|
|
2
|
+
export type GanttZoom = 'week' | 'month';
|
|
3
|
+
export interface GanttDay {
|
|
4
|
+
dateString: string;
|
|
5
|
+
dayNumber: number;
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
monthIndex: number;
|
|
8
|
+
year: number;
|
|
9
|
+
isWeekEnd: boolean;
|
|
10
|
+
isFirstDayOfWeek: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface GanttPeriod {
|
|
13
|
+
key: string;
|
|
14
|
+
dayIndex: number;
|
|
15
|
+
numberOfDays: number;
|
|
16
|
+
monthIndex: number;
|
|
17
|
+
lastMonthIndex: number;
|
|
18
|
+
weekNumber: number;
|
|
19
|
+
}
|
|
20
|
+
export interface GanttMonthBand {
|
|
21
|
+
key: string;
|
|
22
|
+
dayIndex: number;
|
|
23
|
+
numberOfDays: number;
|
|
24
|
+
monthIndex: number;
|
|
25
|
+
year: number;
|
|
26
|
+
}
|
|
27
|
+
export interface GanttScaleCell {
|
|
28
|
+
key: string;
|
|
29
|
+
width: number;
|
|
30
|
+
label: string;
|
|
31
|
+
isCurrent: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface GanttItem {
|
|
34
|
+
id: string | number;
|
|
35
|
+
startDate: string;
|
|
36
|
+
endDate: string;
|
|
37
|
+
startsAfternoon?: boolean;
|
|
38
|
+
endsMorning?: boolean;
|
|
39
|
+
title?: string;
|
|
40
|
+
color: Color;
|
|
41
|
+
priority?: number;
|
|
42
|
+
data?: any;
|
|
43
|
+
}
|
|
44
|
+
export interface GanttCell {
|
|
45
|
+
value: number;
|
|
46
|
+
label?: string;
|
|
47
|
+
color: Color;
|
|
48
|
+
}
|
|
49
|
+
export interface GanttRow {
|
|
50
|
+
key: string;
|
|
51
|
+
title: string;
|
|
52
|
+
subtitle?: string;
|
|
53
|
+
warning?: string;
|
|
54
|
+
items?: GanttItem[];
|
|
55
|
+
cells?: Record<string, GanttCell>;
|
|
56
|
+
nonWorkingDays?: Record<string, Color>;
|
|
57
|
+
data?: any;
|
|
58
|
+
}
|
|
59
|
+
export interface GanttGroup {
|
|
60
|
+
key: string;
|
|
61
|
+
title: string;
|
|
62
|
+
collapsed?: boolean;
|
|
63
|
+
rows: GanttRow[];
|
|
64
|
+
cells?: Record<string, GanttCell>;
|
|
65
|
+
nonWorkingDays?: Record<string, Color>;
|
|
66
|
+
}
|
|
67
|
+
export interface GanttRange {
|
|
68
|
+
fromDate: string;
|
|
69
|
+
toDate: string;
|
|
70
|
+
}
|
|
71
|
+
export interface GanttFill {
|
|
72
|
+
key: string;
|
|
73
|
+
left: number;
|
|
74
|
+
width: number;
|
|
75
|
+
color: Color;
|
|
76
|
+
}
|
|
77
|
+
export interface GanttRowLayout {
|
|
78
|
+
laneCount: number;
|
|
79
|
+
laneIndexByItemId: Record<string, number>;
|
|
80
|
+
height: number;
|
|
81
|
+
}
|
|
82
|
+
export interface GanttBarGeometry {
|
|
83
|
+
left: number;
|
|
84
|
+
width: number;
|
|
85
|
+
clipStart: boolean;
|
|
86
|
+
clipEnd: boolean;
|
|
87
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/organisms/GanttView/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { useIsLandscape } from '../../../hooks';
|
|
19
|
+
export const useDefaultGanttZoom = () => {
|
|
20
|
+
const isLandscape = useIsLandscape();
|
|
21
|
+
return isLandscape ? 'month' : 'week';
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=use-default-zoom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-default-zoom.js","sourceRoot":"","sources":["../../../../src/components/organisms/GanttView/use-default-zoom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAG9C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAc,EAAE;IACjD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AACxC,CAAC,CAAC"}
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
* You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
|
-
import React, { useRef, useState } from 'react';
|
|
18
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
19
19
|
import { StyleSheet, View } from 'react-native';
|
|
20
20
|
import TopSeparator from './TopSeparator';
|
|
21
21
|
import BottomSeparator from './BottomSeparator';
|
|
22
22
|
import { ScrollList } from '../ScrollList';
|
|
23
23
|
const GroupByScrollList = ({ style, loadingList = false, data = [], renderItem, fetchData = () => [], moreLoading = false, isListEnd = false, filter = false, translator, horizontal = false, disabledRefresh = false, separatorCondition, fetchTopIndicator, customTopSeparator, fetchBottomIndicator, customBottomSeparator, actionList, verticalActions, displayStickyIndicator = true, }) => {
|
|
24
|
-
const [stickyIndicator, setStickyIndicator] = useState(
|
|
24
|
+
const [stickyIndicator, setStickyIndicator] = useState();
|
|
25
25
|
const renderSeparator = (customSeparator, Separator, props) => {
|
|
26
26
|
return customSeparator ? (React.cloneElement(customSeparator, { ...props })) : (<Separator {...props}/>);
|
|
27
27
|
};
|
|
@@ -65,6 +65,10 @@ const GroupByScrollList = ({ style, loadingList = false, data = [], renderItem,
|
|
|
65
65
|
setStickyIndicator(fetchTopIndicator?.(firstItem.item));
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
if (!Array.isArray(data) || data.length === 0)
|
|
70
|
+
setStickyIndicator(undefined);
|
|
71
|
+
}, [data]);
|
|
68
72
|
return (<View style={styles.container}>
|
|
69
73
|
<View>
|
|
70
74
|
{displayStickyIndicator &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupByScrollList.js","sourceRoot":"","sources":["../../../../src/components/organisms/GroupByScrollList/GroupByScrollList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAe,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GroupByScrollList.js","sourceRoot":"","sources":["../../../../src/components/organisms/GroupByScrollList/GroupByScrollList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAe,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EAAC,UAAU,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,YAA+C,MAAM,gBAAgB,CAAC;AAC7E,OAAO,eAGN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAa,UAAU,EAAC,MAAM,eAAe,CAAC;AAwBrD,MAAM,iBAAiB,GAAG,CAAC,EACzB,KAAK,EACL,WAAW,GAAG,KAAK,EACnB,IAAI,GAAG,EAAE,EACT,UAAU,EACV,SAAS,GAAG,GAAG,EAAE,CAAC,EAAE,EACpB,WAAW,GAAG,KAAK,EACnB,SAAS,GAAG,KAAK,EACjB,MAAM,GAAG,KAAK,EACd,UAAU,EACV,UAAU,GAAG,KAAK,EAClB,eAAe,GAAG,KAAK,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,sBAAsB,GAAG,IAAI,GACN,EAAE,EAAE;IAC3B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAEnD,CAAC;IAEJ,MAAM,eAAe,GAAG,CACtB,eAAyC,EACzC,S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kB,EAAE,YAAY,EAAE,eAAe,CAAC,CACtE;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,UAAU,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,UAAU,CAAC,CAAC,WAAW,CAAC,CACxB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,eAAe,CAAC,CAAC,eAAe,CAAC,CACjC,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,eAAe,CAAC,CAAC,eAAe,CAAC,CACjC,sBAAsB,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC,EAE3D;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -34,14 +34,13 @@ const HeaderContainer = ({ style, topChildren, children, fixedItems = null, chip
|
|
|
34
34
|
setVisible(!isVisible);
|
|
35
35
|
}, [isVisible]);
|
|
36
36
|
return (<View style={[styles.container, style]} testID="headerContainerWrapper">
|
|
37
|
-
<View pointerEvents="none" style={styles.topMask}/>
|
|
38
37
|
{expandableFilter && isVisible && topChildren}
|
|
39
38
|
{fixedItems}
|
|
40
39
|
{expandableFilter && isVisible && children}
|
|
41
40
|
{chipComponent}
|
|
42
|
-
{expandableFilter && (<TouchableOpacity onPress={handleExpandPress} testID="headerContainerExpandableIcon">
|
|
41
|
+
{expandableFilter && (<TouchableOpacity style={styles.arrowTouchable} onPress={handleExpandPress} activeOpacity={0.9} testID="headerContainerExpandableIcon">
|
|
43
42
|
<View style={styles.arrowContainer}>
|
|
44
|
-
<Icon name={isVisible ? 'chevron-up' : 'chevron-down'} size={
|
|
43
|
+
<Icon name={isVisible ? 'chevron-up' : 'chevron-down'} size={18} color={Colors.primaryColor.background}/>
|
|
45
44
|
</View>
|
|
46
45
|
</TouchableOpacity>)}
|
|
47
46
|
</View>);
|
|
@@ -51,28 +50,33 @@ const getStyles = (Colors) => StyleSheet.create({
|
|
|
51
50
|
flexDirection: 'column',
|
|
52
51
|
justifyContent: 'center',
|
|
53
52
|
backgroundColor: Colors.backgroundColor,
|
|
54
|
-
elevation:
|
|
53
|
+
elevation: 3,
|
|
54
|
+
shadowOpacity: 0.5,
|
|
55
55
|
shadowColor: Colors.secondaryColor.background,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
shadowOffset: { width: 0, height: 0 },
|
|
57
|
+
marginTop: 0,
|
|
58
|
+
marginBottom: 4,
|
|
59
|
+
marginHorizontal: 10,
|
|
60
|
+
paddingVertical: 12,
|
|
61
|
+
borderRadius: 24,
|
|
62
62
|
zIndex: 10,
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
arrowTouchable: {
|
|
65
65
|
position: 'absolute',
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
right: 0,
|
|
69
|
-
height: 12,
|
|
70
|
-
backgroundColor: Colors.backgroundColor,
|
|
66
|
+
bottom: -10,
|
|
67
|
+
alignSelf: 'center',
|
|
71
68
|
},
|
|
72
69
|
arrowContainer: {
|
|
73
|
-
|
|
70
|
+
paddingHorizontal: 18,
|
|
71
|
+
paddingVertical: 3,
|
|
72
|
+
borderRadius: 14,
|
|
73
|
+
backgroundColor: Colors.backgroundColor,
|
|
74
74
|
justifyContent: 'center',
|
|
75
75
|
alignItems: 'center',
|
|
76
|
+
elevation: 3,
|
|
77
|
+
shadowOpacity: 0.5,
|
|
78
|
+
shadowColor: Colors.secondaryColor.background,
|
|
79
|
+
shadowOffset: { width: 0, height: 0 },
|
|
76
80
|
},
|
|
77
81
|
});
|
|
78
82
|
export default HeaderContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderContainer.js","sourceRoot":"","sources":["../../../../src/components/organisms/HeaderContainer/HeaderContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAc,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAY1D,MAAM,eAAe,GAAG,CAAC,EACvB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,UAAU,GAAG,IAAI,EACjB,aAAa,GAAG,IAAI,EACpB,gBAAgB,GAAG,IAAI,EACvB,kBAAkB,GAAG,KAAK,GACL,EAAE,EAAE;IACzB,MAAM,EAAC,UAAU,EAAC,GAAG,SAAS,EAAE,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,QAAQ,CACtC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CACxC,CAAC;IACF,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACtD,CAAC,EAAE,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC,CAAC;IAErC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1D,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QACzC,aAAa,CAAC,WAAW,EAAE,CAAC;QAC5B,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,wBAAwB,CACrE;MAAA,CAAC,
|
|
1
|
+
{"version":3,"file":"HeaderContainer.js","sourceRoot":"","sources":["../../../../src/components/organisms/HeaderContainer/HeaderContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAc,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAY1D,MAAM,eAAe,GAAG,CAAC,EACvB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,UAAU,GAAG,IAAI,EACjB,aAAa,GAAG,IAAI,EACpB,gBAAgB,GAAG,IAAI,EACvB,kBAAkB,GAAG,KAAK,GACL,EAAE,EAAE;IACzB,MAAM,EAAC,UAAU,EAAC,GAAG,SAAS,EAAE,CAAC;IACjC,MAAM,CAAC,SAAS,E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AAC;AAEL,eAAe,eAAe,CAAC"}
|
|
@@ -85,16 +85,13 @@ const ImageBubble = ({ source, listComponent, style, imageSize = Dimensions.get(
|
|
|
85
85
|
return (<View style={styles.container} testID="imageBubbleContainer">
|
|
86
86
|
<Image resizeMode="contain" generalStyle={[styles.generalImageStyle, style]} defaultIconSize={defaultIconSize} source={source}/>
|
|
87
87
|
<View style={styles.iconListContainer}>
|
|
88
|
-
{listComponent
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
{elt}
|
|
92
|
-
</View>);
|
|
93
|
-
})}
|
|
88
|
+
{listComponent?.map((elt, index) => (<View style={getComponentPosition(index, imageSize)} key={index}>
|
|
89
|
+
{elt}
|
|
90
|
+
</View>))}
|
|
94
91
|
</View>
|
|
95
92
|
</View>);
|
|
96
93
|
};
|
|
97
|
-
const getStyles = imageSize => StyleSheet.create({
|
|
94
|
+
const getStyles = (imageSize) => StyleSheet.create({
|
|
98
95
|
container: {
|
|
99
96
|
alignItems: 'center',
|
|
100
97
|
zIndex: 35,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageBubble.js","sourceRoot":"","sources":["../../../../src/components/organisms/ImageBubble/ImageBubble.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EACL,UAAU,EAEV,UAAU,EACV,IAAI,GAEL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,KAAK,EAAC,MAAM,iBAAiB,CAAC;AAEtC,SAAS,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"ImageBubble.js","sourceRoot":"","sources":["../../../../src/components/organisms/ImageBubble/ImageBubble.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EACL,UAAU,EAEV,UAAU,EACV,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;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,SAAiB,EAAE,EAAE,CACtC,UAAU,CAAC,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,EAAE;KACX;IACD,iBAAiB,EAAE;QACjB,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,IAAI;QACpB,YAAY,EAAE,SAAS;QACvB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;KAClB;IACD,iBAAiB,EAAE;QACjB,MAAM,EAAE,EAAE;KACX;CACF,CAAC,CAAC;AAEL,eAAe,WAAW,CAAC"}
|
|
@@ -32,7 +32,7 @@ const getStyles = (badgeColor, size) => StyleSheet.create({
|
|
|
32
32
|
justifyContent: 'center',
|
|
33
33
|
alignItems: 'center',
|
|
34
34
|
backgroundColor: badgeColor.background_light,
|
|
35
|
-
borderWidth:
|
|
35
|
+
borderWidth: 0.5,
|
|
36
36
|
borderColor: badgeColor.background,
|
|
37
37
|
borderRadius: size,
|
|
38
38
|
width: size,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoBubble.js","sourceRoot":"","sources":["../../../../src/components/organisms/InfoBubble/InfoBubble.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAchD,MAAM,UAAU,GAAG,CAAC,EAClB,KAAK,EACL,QAAQ,EACR,UAAU,EACV,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