Module

search-module-store

Members

# inner activeSearchFormTabName

The current selected tab in form mode (vehicle/driver/circuit)

View Source store/search_module/search_module.js, line 114

# inner hasResults

A flag to know whenever to show a back arrow to switch back to results view (Form mode)

View Source store/search_module/search_module.js, line 110

# inner isFirstAndLastDay

Used for location main search (see: premier_dernier_jour request parameter)

View Source store/search_module/search_module.js, line 99

# inner isSearchInProgress

Flag to show a loader icon inside the "Valider" button

View Source store/search_module/search_module.js, line 124

# inner lastSelectionMetadata

We keep stats from last search selection to be able to show searchDaysCount after selection is cleared see: searchDaysCount

View Source store/search_module/search_module.js, line 72

# inner mode

Will populate with the current mode (free_search/advanced_search) free_search: floating search on top of map advanced_search: legacy search form (like georedv2)

View Source store/search_module/search_module.js, line 120

# inner validatedAt

timestamp updated when the user click the "Valider" button

View Source store/search_module/search_module.js, line 82

# inner vehicleCategories

Reference data and current selection

View Source store/search_module/search_module.js, line 86

# inner vehiclesFirstFetch

Is data first fetch?

To Do:
  • refactor/remove if unused

View Source store/search_module/search_module.js, line 104

# inner view

Current component view (selection/results)

View Source store/search_module/search_module.js, line 128

Methods

# inner pushIfMissing()

To Do:
  • refactor/move into service/utils

View Source store/search_module/search_module.js, line 38

# inner spliceIfFound()

To Do:
  • refactor/move into service/utils

View Source store/search_module/search_module.js, line 47

# inner spliceRangeIfFound()

To Do:
  • refactor/move into service/utils

View Source store/search_module/search_module.js, line 56