@abcagency/hc-ui-components 1.9.35 → 1.9.36
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/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/apis/hcApi.js +91 -0
- package/dist/apis/hcApi.js.map +1 -0
- package/dist/clientToken.js +10 -0
- package/dist/clientToken.js.map +1 -0
- package/dist/components/HireControlMap.js +175 -203
- package/dist/components/HireControlMap.js.map +1 -1
- package/dist/components/containers/accordions/filter-container.js +9 -22
- package/dist/components/containers/accordions/filter-container.js.map +1 -1
- package/dist/components/containers/accordions/filter-item-container.js +11 -16
- package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
- package/dist/components/containers/accordions/map-accordion-item-container.js +12 -37
- package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
- package/dist/components/containers/filter/commute-container.js +7 -18
- package/dist/components/containers/filter/commute-container.js.map +1 -1
- package/dist/components/containers/filter/filter-container.js +16 -12
- package/dist/components/containers/filter/filter-container.js.map +1 -1
- package/dist/components/containers/filter/filter-item-container.js +28 -44
- package/dist/components/containers/filter/filter-item-container.js.map +1 -1
- package/dist/components/containers/filter/location-container.js +7 -15
- package/dist/components/containers/filter/location-container.js.map +1 -1
- package/dist/components/containers/filter/points-of-interest-container.js +8 -21
- package/dist/components/containers/filter/points-of-interest-container.js.map +1 -1
- package/dist/components/containers/filter/points-of-interest-radio-item-container.js +3 -6
- package/dist/components/containers/filter/points-of-interest-radio-item-container.js.map +1 -1
- package/dist/components/containers/filter/search-container.js +4 -11
- package/dist/components/containers/filter/search-container.js.map +1 -1
- package/dist/components/containers/jobListing/listing-details-container.js +5 -10
- package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
- package/dist/components/containers/list/item-list-container.js +15 -22
- package/dist/components/containers/list/item-list-container.js.map +1 -1
- package/dist/components/containers/list/list-item/list-item-container.js +5 -16
- package/dist/components/containers/list/list-item/list-item-container.js.map +1 -1
- package/dist/components/containers/maps/info-window-content-container.js +3 -6
- package/dist/components/containers/maps/info-window-content-container.js.map +1 -1
- package/dist/components/containers/maps/map-container.js +28 -106
- package/dist/components/containers/maps/map-container.js.map +1 -1
- package/dist/components/containers/maps/map-list-container.js +7 -35
- package/dist/components/containers/maps/map-list-container.js.map +1 -1
- package/dist/components/containers/maps/map-marker-container.js +8 -11
- package/dist/components/containers/maps/map-marker-container.js.map +1 -1
- package/dist/components/modules/accordions/MapAccordionItem.js +5 -5
- package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
- package/dist/components/modules/accordions/default.js +15 -15
- package/dist/components/modules/accordions/default.js.map +1 -1
- package/dist/components/modules/accordions/filterItem.js +7 -12
- package/dist/components/modules/accordions/filterItem.js.map +1 -1
- package/dist/components/modules/accordions/filters.js +7 -17
- package/dist/components/modules/accordions/filters.js.map +1 -1
- package/dist/components/modules/buttons/button-group-apply.js +19 -20
- package/dist/components/modules/buttons/button-group-apply.js.map +1 -1
- package/dist/components/modules/buttons/default.js +9 -9
- package/dist/components/modules/buttons/default.js.map +1 -1
- package/dist/components/modules/buttons/items-pill.js +2 -2
- package/dist/components/modules/buttons/items-pill.js.map +1 -1
- package/dist/components/modules/buttons/pill-wrapper.js +3 -4
- package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
- package/dist/components/modules/buttons/show-all-button.js +3 -3
- package/dist/components/modules/buttons/show-all-button.js.map +1 -1
- package/dist/components/modules/cards/default.js +11 -11
- package/dist/components/modules/cards/default.js.map +1 -1
- package/dist/components/modules/cards/filter.js +5 -5
- package/dist/components/modules/cards/filter.js.map +1 -1
- package/dist/components/modules/dialogs/apply-dialog.js +19 -19
- package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
- package/dist/components/modules/filter/commute.js +20 -21
- package/dist/components/modules/filter/commute.js.map +1 -1
- package/dist/components/modules/filter/index.js +30 -122
- package/dist/components/modules/filter/index.js.map +1 -1
- package/dist/components/modules/filter/item.js +9 -15
- package/dist/components/modules/filter/item.js.map +1 -1
- package/dist/components/modules/filter/location.js +6 -6
- package/dist/components/modules/filter/location.js.map +1 -1
- package/dist/components/modules/filter/radio-item.js +6 -6
- package/dist/components/modules/filter/radio-item.js.map +1 -1
- package/dist/components/modules/filter/search.js +11 -16
- package/dist/components/modules/filter/search.js.map +1 -1
- package/dist/components/modules/filter/sort.js +28 -28
- package/dist/components/modules/filter/sort.js.map +1 -1
- package/dist/components/modules/grid.js +4 -4
- package/dist/components/modules/grid.js.map +1 -1
- package/dist/components/modules/icon.js +4 -4
- package/dist/components/modules/icon.js.map +1 -1
- package/dist/components/modules/jobListing/listing-details.js +5 -8
- package/dist/components/modules/jobListing/listing-details.js.map +1 -1
- package/dist/components/modules/list/field-mapper-desktop.js +14 -38
- package/dist/components/modules/list/field-mapper-desktop.js.map +1 -1
- package/dist/components/modules/list/field-mapper-mobile.js +63 -94
- package/dist/components/modules/list/field-mapper-mobile.js.map +1 -1
- package/dist/components/modules/list/header-item.js +7 -7
- package/dist/components/modules/list/header-item.js.map +1 -1
- package/dist/components/modules/list/header.js +5 -5
- package/dist/components/modules/list/header.js.map +1 -1
- package/dist/components/modules/list/item-expand-card/index.js +3 -3
- package/dist/components/modules/list/item-expand-card/index.js.map +1 -1
- package/dist/components/modules/list/item-list.js +18 -15
- package/dist/components/modules/list/item-list.js.map +1 -1
- package/dist/components/modules/list/list-item/list-item.js +18 -95
- package/dist/components/modules/list/list-item/list-item.js.map +1 -1
- package/dist/components/modules/maps/info-window-card.js +2 -2
- package/dist/components/modules/maps/info-window-card.js.map +1 -1
- package/dist/components/modules/maps/info-window-content.js +5 -5
- package/dist/components/modules/maps/info-window-content.js.map +1 -1
- package/dist/components/modules/maps/map-list.js +5 -5
- package/dist/components/modules/maps/map-list.js.map +1 -1
- package/dist/components/modules/maps/map-marker.js +3 -3
- package/dist/components/modules/maps/map-marker.js.map +1 -1
- package/dist/components/modules/maps/map.js +5 -17
- package/dist/components/modules/maps/map.js.map +1 -1
- package/dist/components/modules/maps/place-marker.js +5 -5
- package/dist/components/modules/maps/place-marker.js.map +1 -1
- package/dist/components/modules/maps/tabs.js +25 -25
- package/dist/components/modules/maps/tabs.js.map +1 -1
- package/dist/contexts/componentContext.js +58 -6
- package/dist/contexts/componentContext.js.map +1 -1
- package/dist/contexts/mapContext.js +20 -49
- package/dist/contexts/mapContext.js.map +1 -1
- package/dist/contexts/mapListContext.js +70 -271
- package/dist/contexts/mapListContext.js.map +1 -1
- package/dist/contexts/placesContext.js +5 -7
- package/dist/contexts/placesContext.js.map +1 -1
- package/dist/contexts/themeContext.js +5 -10
- package/dist/contexts/themeContext.js.map +1 -1
- package/dist/contexts/trackEventContext.js +2 -2
- package/dist/contexts/trackEventContext.js.map +1 -1
- package/dist/hc_react_map_npm/packages/hc-ui-components/node_modules/tslib/tslib.es6.js +45 -0
- package/dist/hc_react_map_npm/packages/hc-ui-components/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/hooks/useList.js +1 -3
- package/dist/hooks/useList.js.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +1 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +802 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +679 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +343 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +140 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js +33 -0
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/transitions/transition.js +19 -0
- package/dist/node_modules/@headlessui/react/dist/components/transitions/transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-computed.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-computed.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-id.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-id.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/form.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/form.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/once.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/once.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +6 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +4 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +11 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +1 -0
- package/dist/node_modules/@iconify/react/dist/iconify.js +1928 -0
- package/dist/node_modules/@iconify/react/dist/iconify.js.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +304 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +145 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +69 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +80 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +320 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +27 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +279 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +120 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +42 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +221 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +1109 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +82 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +187 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +47 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +35 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/node_modules/@react-google-maps/api/dist/esm.js +8515 -0
- package/dist/node_modules/@react-google-maps/api/dist/esm.js.map +1 -0
- package/dist/node_modules/@remix-run/router/dist/router.js +271 -0
- package/dist/node_modules/@remix-run/router/dist/router.js.map +1 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +43 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +1 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +669 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +1 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +61 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +1 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +137 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/fuse.js/dist/fuse.js +1779 -0
- package/dist/node_modules/fuse.js/dist/fuse.js.map +1 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +9 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +17 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +12 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-loader-spinner/dist/index.js +134 -83
- package/dist/node_modules/react-loader-spinner/dist/index.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/node_modules/react-router/dist/index.js +280 -0
- package/dist/node_modules/react-router/dist/index.js.map +1 -0
- package/dist/node_modules/react-router-dom/dist/index.js +201 -0
- package/dist/node_modules/react-router-dom/dist/index.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js +716 -4
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js.map +1 -1
- package/dist/node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +5 -7
- package/dist/node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -1
- package/dist/node_modules/styled-components/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
- package/dist/node_modules/stylis/src/Enum.js +2 -2
- package/dist/node_modules/stylis/src/Enum.js.map +1 -1
- package/dist/node_modules/stylis/src/Middleware.js +59 -49
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -1
- package/dist/node_modules/stylis/src/Parser.js +135 -137
- package/dist/node_modules/stylis/src/Parser.js.map +1 -1
- package/dist/node_modules/stylis/src/Prefixer.js +187 -135
- package/dist/node_modules/stylis/src/Prefixer.js.map +1 -1
- package/dist/node_modules/stylis/src/Serializer.js +21 -18
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +121 -117
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -1
- package/dist/node_modules/stylis/src/Utility.js +26 -24
- package/dist/node_modules/stylis/src/Utility.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2530 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tinycolor2/esm/tinycolor.js.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +13 -1
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +49 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/node_modules/use-places-autocomplete/dist/index.esm.js +243 -0
- package/dist/node_modules/use-places-autocomplete/dist/index.esm.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/services/configService.js +15 -0
- package/dist/services/configService.js.map +1 -0
- package/dist/services/listingAggregatorService.js +37 -0
- package/dist/services/listingAggregatorService.js.map +1 -0
- package/dist/services/listingEntityService.js +15 -0
- package/dist/services/listingEntityService.js.map +1 -0
- package/dist/services/listingService.js +30 -0
- package/dist/services/listingService.js.map +1 -0
- package/dist/styles/index.css +3 -1
- package/dist/types/components/containers/accordions/filter-container.d.ts +11 -0
- package/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +1 -2
- package/dist/types/components/containers/filter/commute-container.d.ts +5 -0
- package/dist/types/components/containers/filter/filter-container.d.ts +7 -0
- package/dist/types/components/containers/filter/location-container.d.ts +10 -0
- package/dist/types/components/containers/filter/points-of-interest-container.d.ts +10 -0
- package/dist/types/components/containers/filter/points-of-interest-radio-item-container.d.ts +8 -0
- package/dist/types/components/containers/filter/search-container.d.ts +8 -0
- package/dist/types/components/containers/list/list-item/list-item-container.d.ts +1 -3
- package/dist/types/components/containers/maps/info-window-content-container.d.ts +5 -0
- package/dist/types/components/containers/maps/map-container.d.ts +7 -0
- package/dist/types/components/containers/maps/map-list-container.d.ts +15 -0
- package/dist/types/components/containers/maps/map-marker-container.d.ts +13 -0
- package/dist/types/components/modules/buttons/button-group-apply.d.ts +1 -2
- package/dist/types/components/modules/jobListing/listing-details.d.ts +1 -2
- package/dist/types/components/modules/list/field-mapper-desktop.d.ts +1 -2
- package/dist/types/components/modules/list/field-mapper-mobile.d.ts +1 -2
- package/dist/types/components/modules/list/list-item/list-item.d.ts +1 -1
- package/dist/types/constants/placeTypes.d.ts +8 -0
- package/dist/types/contexts/mapContext.d.ts +0 -1
- package/dist/types/contexts/mapListContext.d.ts +2 -54
- package/dist/types/contexts/placesContext.d.ts +10 -0
- package/dist/types/hooks/useList.d.ts +3 -3
- package/dist/types/services/configService.d.ts +6 -0
- package/dist/types/services/listingAggregatorService.d.ts +9 -0
- package/dist/types/services/listingEntityService.d.ts +6 -0
- package/dist/types/services/listingService.d.ts +9 -0
- package/dist/types/services/recruiterService.d.ts +6 -0
- package/dist/types/types/GetListingParams.d.ts +1 -1
- package/dist/types/types/ListingEntity.d.ts +1 -2
- package/dist/types/types/ListingFields.d.ts +2 -4
- package/dist/types/types/Listings.d.ts +1 -0
- package/dist/types/types/config/Colors.d.ts +0 -1
- package/dist/types/types/config/MapConfig.d.ts +0 -4
- package/dist/types/types/config/PointsOfInterestConfig.d.ts +0 -1
- package/dist/types/util/filterUtil.d.ts +8 -12
- package/dist/types/util/mapIconUtil.d.ts +24 -0
- package/dist/types/util/mapUtil.d.ts +3 -3
- package/dist/types/util/urlFilterUtil.d.ts +0 -1
- package/dist/util/filterUtil.js +122 -413
- package/dist/util/filterUtil.js.map +1 -1
- package/dist/util/loading.js +3 -3
- package/dist/util/loading.js.map +1 -1
- package/dist/util/mapUtil.js +25 -43
- package/dist/util/mapUtil.js.map +1 -1
- package/dist/util/urlFilterUtil.js +1 -5
- package/dist/util/urlFilterUtil.js.map +1 -1
- package/package.json +17 -66
- package/src/apis/hcApi.ts +2 -9
- package/src/components/HireControlMap.js +95 -160
- package/src/components/containers/accordions/filter-container.js +4 -14
- package/src/components/containers/accordions/filter-item-container.js +5 -7
- package/src/components/containers/accordions/map-accordion-item-container.js +7 -28
- package/src/components/containers/filter/commute-container.js +4 -15
- package/src/components/containers/filter/filter-container.js +13 -8
- package/src/components/containers/filter/filter-item-container.js +25 -39
- package/src/components/containers/filter/location-container.js +4 -9
- package/src/components/containers/filter/points-of-interest-container.js +3 -14
- package/src/components/containers/filter/points-of-interest-radio-item-container.js +1 -4
- package/src/components/containers/filter/search-container.js +2 -8
- package/src/components/containers/jobListing/listing-details-container.js +2 -6
- package/src/components/containers/list/item-list-container.tsx +13 -22
- package/src/components/containers/list/list-item/list-item-container.js +2 -11
- package/src/components/containers/maps/info-window-content-container.js +2 -5
- package/src/components/containers/maps/map-container.js +14 -92
- package/src/components/containers/maps/map-list-container.js +5 -33
- package/src/components/containers/maps/map-marker-container.js +2 -4
- package/src/components/modules/accordions/filterItem.js +3 -16
- package/src/components/modules/accordions/filters.js +4 -19
- package/src/components/modules/buttons/button-group-apply.js +9 -14
- package/src/components/modules/buttons/pill-wrapper.js +1 -2
- package/src/components/modules/dialogs/apply-dialog.js +2 -2
- package/src/components/modules/filter/commute.js +5 -7
- package/src/components/modules/filter/index.js +50 -137
- package/src/components/modules/filter/item.js +3 -16
- package/src/components/modules/filter/search.js +1 -7
- package/src/components/modules/jobListing/listing-details.js +3 -5
- package/src/components/modules/list/field-mapper-desktop.jsx +13 -32
- package/src/components/modules/list/field-mapper-mobile.jsx +80 -92
- package/src/components/modules/list/header-item.js +1 -1
- package/src/components/modules/list/item-list.tsx +5 -2
- package/src/components/modules/list/list-item/list-item.jsx +11 -85
- package/src/components/modules/maps/map-list.js +1 -1
- package/src/components/modules/maps/map.js +18 -30
- package/src/components/modules/maps/tabs.js +5 -5
- package/src/contexts/mapContext.tsx +18 -45
- package/src/contexts/mapListContext.tsx +86 -373
- package/src/contexts/placesContext.js +3 -3
- package/src/contexts/themeContext.js +3 -8
- package/src/hooks/useList.js +1 -3
- package/src/index.js +0 -9
- package/src/services/configService.ts +16 -0
- package/src/services/listingAggregatorService.ts +58 -0
- package/src/services/listingEntityService.ts +16 -0
- package/src/services/listingService.ts +40 -0
- package/src/services/recruiterService.ts +18 -0
- package/src/styles/bundle.css +1 -3
- package/src/styles/index.css +2 -4
- package/src/types/GetListingParams.ts +1 -1
- package/src/types/ListingEntity.ts +1 -2
- package/src/types/ListingFields.ts +2 -4
- package/src/types/Listings.ts +1 -0
- package/src/types/config/Colors.ts +0 -1
- package/src/types/config/MapConfig.ts +0 -2
- package/src/types/config/PointsOfInterestConfig.ts +0 -1
- package/src/util/fieldMapper.js +2 -6
- package/src/util/filterUtil.js +55 -261
- package/src/util/mapUtil.js +41 -59
- package/src/util/urlFilterUtil.js +1 -4
- package/README.md +0 -323
- package/src/components/modules/maps/map.js.bak +0 -67
- package/src/components/modules/maps/map.js.bak2 +0 -67
- package/src/contexts/componentContext.tsx +0 -226
- package/src/styles/components.css +0 -30
- package/src/util/algoliaSearchUtil.js +0 -151
- package/src/util/twMerge.js +0 -6
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default AccordionFiltersContainer;
|
|
2
|
+
declare function AccordionFiltersContainer({ className, defaultValue, setDefaultValue, setLocation, setSelectedListItem, SubcategoryRequireCategory, handleReset }: {
|
|
3
|
+
className: any;
|
|
4
|
+
defaultValue: any;
|
|
5
|
+
setDefaultValue: any;
|
|
6
|
+
setLocation: any;
|
|
7
|
+
setSelectedListItem: any;
|
|
8
|
+
SubcategoryRequireCategory: any;
|
|
9
|
+
handleReset: any;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
import React from "react";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export default MapAccordionItemContainer;
|
|
2
|
-
declare function MapAccordionItemContainer({
|
|
3
|
-
showMap: any;
|
|
2
|
+
declare function MapAccordionItemContainer({ item, itemRefs, fieldsShown, itemExpandedContent, specialFeatures, isActive, index }: {
|
|
4
3
|
item: any;
|
|
5
4
|
itemRefs: any;
|
|
6
5
|
fieldsShown: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default FilterLocationContainer;
|
|
2
|
+
declare function FilterLocationContainer({ className, defaultValue, setDefaultValue, showMap, setLocation, setSelectedListItem }: {
|
|
3
|
+
className: any;
|
|
4
|
+
defaultValue: any;
|
|
5
|
+
setDefaultValue: any;
|
|
6
|
+
showMap?: boolean | undefined;
|
|
7
|
+
setLocation: any;
|
|
8
|
+
setSelectedListItem: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
import React from "react";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default FilterPointsOfInterestContainer;
|
|
2
|
+
declare function FilterPointsOfInterestContainer({ title, pointsOfInterest, setDefaultValue, className, defaultValue, showAtZoomLevel }: {
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
pointsOfInterest: any;
|
|
5
|
+
setDefaultValue: any;
|
|
6
|
+
className: any;
|
|
7
|
+
defaultValue: any;
|
|
8
|
+
showAtZoomLevel?: number | undefined;
|
|
9
|
+
}): React.JSX.Element | null;
|
|
10
|
+
import React from "react";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default SearchContainer;
|
|
2
|
+
declare function SearchContainer({ inputPlaceholder, showSearchIcon, className, labelClassName }: {
|
|
3
|
+
inputPlaceholder?: string | undefined;
|
|
4
|
+
showSearchIcon?: boolean | undefined;
|
|
5
|
+
className: any;
|
|
6
|
+
labelClassName: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
import React from "react";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
export default ListItemContainer;
|
|
2
|
-
declare function ListItemContainer({ isActive,
|
|
2
|
+
declare function ListItemContainer({ isActive, item, fieldsShown, specialFeatures, bodyClassName, onItemSelected, ...props }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
isActive: any;
|
|
5
|
-
showMap: any;
|
|
6
5
|
item: any;
|
|
7
6
|
fieldsShown: any;
|
|
8
7
|
specialFeatures: any;
|
|
9
8
|
bodyClassName: any;
|
|
10
9
|
onItemSelected: any;
|
|
11
|
-
index: any;
|
|
12
10
|
}): React.JSX.Element;
|
|
13
11
|
import React from "react";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default MapListContainer;
|
|
2
|
+
declare function MapListContainer({ loading, containerStyle, mapDetails, markerConfigs, itemExpandedContent, fieldsShown, specialFeatures, fieldNames, showMap, placeMappings, mapPosition }: {
|
|
3
|
+
loading?: boolean | undefined;
|
|
4
|
+
containerStyle: any;
|
|
5
|
+
mapDetails: any;
|
|
6
|
+
markerConfigs: any;
|
|
7
|
+
itemExpandedContent: any;
|
|
8
|
+
fieldsShown: any;
|
|
9
|
+
specialFeatures: any;
|
|
10
|
+
fieldNames: any;
|
|
11
|
+
showMap: any;
|
|
12
|
+
placeMappings: any;
|
|
13
|
+
mapPosition: any;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
import React from "react";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default MapMarkerContainer;
|
|
2
|
+
declare function MapMarkerContainer({ item, markerRefs, infoWindowClasses, markerClickHandler, clusterer, markerIconSelected, markerIcon, selectedLocation, setMapInteracted }: {
|
|
3
|
+
item: any;
|
|
4
|
+
markerRefs: any;
|
|
5
|
+
infoWindowClasses: any;
|
|
6
|
+
markerClickHandler: any;
|
|
7
|
+
clusterer: any;
|
|
8
|
+
markerIconSelected: any;
|
|
9
|
+
markerIcon: any;
|
|
10
|
+
selectedLocation: any;
|
|
11
|
+
setMapInteracted: any;
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ButtonGroupApply;
|
|
2
|
-
declare function ButtonGroupApply({ useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, easyApplyUrl, applyNowText, isIframe, detailsUrl, detailsText, easyApplyText, className, buttonSize, applyButtonVariant, detailsButtonVariant, includeDialog, internalApplyLink, item, companyName, trackEvent, eventTypes
|
|
2
|
+
declare function ButtonGroupApply({ useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, easyApplyUrl, applyNowText, isIframe, detailsUrl, detailsText, easyApplyText, className, buttonSize, applyButtonVariant, detailsButtonVariant, includeDialog, internalApplyLink, item, companyName, trackEvent, eventTypes }: {
|
|
3
3
|
useDetailsPostMessage: any;
|
|
4
4
|
navigateToDetails: any;
|
|
5
5
|
navigateToEasyApply: any;
|
|
@@ -21,6 +21,5 @@ declare function ButtonGroupApply({ useDetailsPostMessage, navigateToDetails, na
|
|
|
21
21
|
companyName: any;
|
|
22
22
|
trackEvent: any;
|
|
23
23
|
eventTypes: any;
|
|
24
|
-
mobileDetailsCallback?: null | undefined;
|
|
25
24
|
}): React.JSX.Element;
|
|
26
25
|
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ListingDetails;
|
|
2
|
-
declare function ListingDetails({ item, useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, easyApplyUrl, easyApplyText, isIframe, useApplyDialog, internalApplyLink, companyName, jobsDomain, trackEvent, eventTypes
|
|
2
|
+
declare function ListingDetails({ item, useDetailsPostMessage, navigateToDetails, navigateToEasyApply, Link, linkFormat, easyApplyUrl, easyApplyText, isIframe, useApplyDialog, internalApplyLink, companyName, jobsDomain, trackEvent, eventTypes }: {
|
|
3
3
|
item: any;
|
|
4
4
|
useDetailsPostMessage: any;
|
|
5
5
|
navigateToDetails: any;
|
|
@@ -15,6 +15,5 @@ declare function ListingDetails({ item, useDetailsPostMessage, navigateToDetails
|
|
|
15
15
|
jobsDomain: any;
|
|
16
16
|
trackEvent: any;
|
|
17
17
|
eventTypes: any;
|
|
18
|
-
mobileDetailsCallback?: null | undefined;
|
|
19
18
|
}): React.JSX.Element | null;
|
|
20
19
|
import React from "react";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export default FieldMapperDesktop;
|
|
2
|
-
declare function FieldMapperDesktop({ item, fieldsShown, specialFeatures
|
|
2
|
+
declare function FieldMapperDesktop({ item, fieldsShown, specialFeatures }: {
|
|
3
3
|
item: any;
|
|
4
4
|
fieldsShown: any;
|
|
5
5
|
specialFeatures: any;
|
|
6
|
-
specialFeaturePills: any;
|
|
7
6
|
}): React.JSX.Element;
|
|
8
7
|
import React from "react";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export default FieldMapperMobile;
|
|
2
|
-
declare function FieldMapperMobile({ item, fieldsShown, specialFeatures,
|
|
2
|
+
declare function FieldMapperMobile({ item, fieldsShown, specialFeatures, handleFavouriteClick, isFavorite, includeFavorite }: {
|
|
3
3
|
item: any;
|
|
4
4
|
fieldsShown: any;
|
|
5
5
|
specialFeatures: any;
|
|
6
|
-
specialFeaturePills: any;
|
|
7
6
|
handleFavouriteClick: any;
|
|
8
7
|
isFavorite: any;
|
|
9
8
|
includeFavorite?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Listing } from '~/types/Listings';
|
|
3
3
|
import { ListingEntity } from '~/types/ListingEntity';
|
|
4
4
|
import { Recruiter } from '~/types/Recruiter';
|
|
@@ -22,7 +22,6 @@ interface MapListContextProps {
|
|
|
22
22
|
setMobileTab: (tab: string) => void;
|
|
23
23
|
mobileTab: string;
|
|
24
24
|
siteConfig: SiteConfig;
|
|
25
|
-
googleMapsApiKey?: string;
|
|
26
25
|
favorites: number[];
|
|
27
26
|
resetEntityFilter: () => void;
|
|
28
27
|
handleSettingFavorites: (favorites: number[] | null) => void;
|
|
@@ -52,36 +51,11 @@ interface MapListContextProps {
|
|
|
52
51
|
ExpandListComponent?: React.ComponentType<{
|
|
53
52
|
listing: any;
|
|
54
53
|
}> | ((listing: any) => JSX.Element) | null;
|
|
55
|
-
mobileDetailsCallback?: ((item: any) => void) | null;
|
|
56
|
-
noEntities?: boolean;
|
|
57
|
-
filterConfig?: {
|
|
58
|
-
hideZeroResults?: boolean;
|
|
59
|
-
dynamicCounts?: boolean;
|
|
60
|
-
showFavorites?: boolean;
|
|
61
|
-
collapsedByDefault?: boolean;
|
|
62
|
-
sortAlphabetically?: boolean;
|
|
63
|
-
classNames?: {
|
|
64
|
-
filterContainer?: string;
|
|
65
|
-
filterContent?: string;
|
|
66
|
-
filterAccordion?: string;
|
|
67
|
-
filterAccordionHeader?: string;
|
|
68
|
-
filterAccordionContent?: string;
|
|
69
|
-
filterItem?: string;
|
|
70
|
-
filterItemLabel?: string;
|
|
71
|
-
filterItemCheckbox?: string;
|
|
72
|
-
filterItemCount?: string;
|
|
73
|
-
searchInput?: string;
|
|
74
|
-
resetButton?: string;
|
|
75
|
-
showJobsButton?: string;
|
|
76
|
-
filterFooter?: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
54
|
}
|
|
80
55
|
export declare const useMapList: () => MapListContextProps;
|
|
81
56
|
interface MapListProviderProps {
|
|
82
57
|
children: ReactNode;
|
|
83
58
|
siteConfig: MapConfig;
|
|
84
|
-
googleMapsApiKey?: string;
|
|
85
59
|
resetFilters: boolean;
|
|
86
60
|
navigateToDetails: (id: number) => void;
|
|
87
61
|
navigateToEasyApply: (id: number) => void;
|
|
@@ -99,36 +73,10 @@ interface MapListProviderProps {
|
|
|
99
73
|
defaultFilters?: Record<string, any>;
|
|
100
74
|
containerStyle?: any;
|
|
101
75
|
localStorageKey: string;
|
|
102
|
-
getListingEntitiesCallback?: (origin?: string) => Promise<
|
|
76
|
+
getListingEntitiesCallback?: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
103
77
|
ExpandListComponent?: React.ComponentType<{
|
|
104
78
|
listing: Listing;
|
|
105
79
|
}> | ((listing: Listing) => JSX.Element) | null;
|
|
106
|
-
mobileDetailsCallback?: ((item: any) => void) | null;
|
|
107
|
-
hideMap?: boolean;
|
|
108
|
-
hideFilters?: boolean;
|
|
109
|
-
noEntities?: boolean;
|
|
110
|
-
filterConfig?: {
|
|
111
|
-
hideZeroResults?: boolean;
|
|
112
|
-
dynamicCounts?: boolean;
|
|
113
|
-
showFavorites?: boolean;
|
|
114
|
-
collapsedByDefault?: boolean;
|
|
115
|
-
sortAlphabetically?: boolean;
|
|
116
|
-
classNames?: {
|
|
117
|
-
filterContainer?: string;
|
|
118
|
-
filterContent?: string;
|
|
119
|
-
filterAccordion?: string;
|
|
120
|
-
filterAccordionHeader?: string;
|
|
121
|
-
filterAccordionContent?: string;
|
|
122
|
-
filterItem?: string;
|
|
123
|
-
filterItemLabel?: string;
|
|
124
|
-
filterItemCheckbox?: string;
|
|
125
|
-
filterItemCount?: string;
|
|
126
|
-
searchInput?: string;
|
|
127
|
-
resetButton?: string;
|
|
128
|
-
showJobsButton?: string;
|
|
129
|
-
filterFooter?: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
80
|
}
|
|
133
81
|
export declare const MapListProvider: React.FC<MapListProviderProps>;
|
|
134
82
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function usePlaces(): any;
|
|
2
|
+
export function PlacesProvider({ children, placeMappings, markerColors, additionalMapMarkers, googleMapsApiKey, showAtZoomLevel }: {
|
|
3
|
+
children: any;
|
|
4
|
+
placeMappings: any;
|
|
5
|
+
markerColors: any;
|
|
6
|
+
additionalMapMarkers: any;
|
|
7
|
+
googleMapsApiKey: any;
|
|
8
|
+
showAtZoomLevel?: number | undefined;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
import React from "react";
|
|
@@ -4,9 +4,9 @@ declare function useListLogic(filteredListings: any): {
|
|
|
4
4
|
expandedId: any;
|
|
5
5
|
sortSetting: null;
|
|
6
6
|
scrollPosition: number | null;
|
|
7
|
-
loader: import("react").
|
|
8
|
-
scrollContainerRef: import("react").
|
|
9
|
-
itemRefs: import("react").
|
|
7
|
+
loader: import("react").MutableRefObject<null>;
|
|
8
|
+
scrollContainerRef: import("react").MutableRefObject<null>;
|
|
9
|
+
itemRefs: import("react").MutableRefObject<{}>;
|
|
10
10
|
setSortSetting: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
11
11
|
setScrollPosition: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
12
12
|
filteredListings: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Listing } from '~/types/Listings';
|
|
2
|
+
import { ListingEntity } from '~/types/ListingEntity';
|
|
3
|
+
interface FetchListingsResult {
|
|
4
|
+
listingsResult: Listing[];
|
|
5
|
+
fetchedEntities: Record<number, ListingEntity>;
|
|
6
|
+
distinctItems: any;
|
|
7
|
+
}
|
|
8
|
+
declare const fetchListings: (commuteLocation: any | null, entities: ListingEntity[] | null, listings: Listing[] | null, getListingEntitiesCallback?: ((entityIds: number[], origin?: string) => Promise<ListingEntity[]>) | undefined) => Promise<FetchListingsResult>;
|
|
9
|
+
export default fetchListings;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ListingEntity } from '~/types/ListingEntity';
|
|
2
|
+
export declare const getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GetListingsParams } from '~/types/GetListingParams';
|
|
2
|
+
import { Listing } from '../types/Listings';
|
|
3
|
+
export declare const getListings: (params?: GetListingsParams) => Promise<Listing[]>;
|
|
4
|
+
export declare const getListingDetails: (listingId: string) => Promise<unknown>;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
getListings: (params?: GetListingsParams | undefined) => Promise<Listing[]>;
|
|
7
|
+
getListingDetails: (listingId: string) => Promise<unknown>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -2,10 +2,9 @@ export type ListingFields = {
|
|
|
2
2
|
posted?: string;
|
|
3
3
|
subTitle?: string;
|
|
4
4
|
education?: string;
|
|
5
|
-
|
|
5
|
+
position?: string;
|
|
6
6
|
category?: string;
|
|
7
|
-
|
|
8
|
-
applyUrl?: string;
|
|
7
|
+
categoryClass?: string;
|
|
9
8
|
shift?: string;
|
|
10
9
|
custom1?: string;
|
|
11
10
|
custom2?: string;
|
|
@@ -23,6 +22,5 @@ export type ListingFields = {
|
|
|
23
22
|
useClientJobUrl?: boolean;
|
|
24
23
|
dateCreated: Date;
|
|
25
24
|
dateLastEdited?: Date;
|
|
26
|
-
entityKey: string;
|
|
27
25
|
travelTime?: string;
|
|
28
26
|
};
|
|
@@ -20,9 +20,6 @@ export type MapConfig = {
|
|
|
20
20
|
locationFiltersShown: string[];
|
|
21
21
|
fieldNames: Record<string, string>;
|
|
22
22
|
specialFeatures: Record<string, string>;
|
|
23
|
-
specialFeaturePills?: Record<string, {
|
|
24
|
-
className?: string;
|
|
25
|
-
}>;
|
|
26
23
|
searchConfig: SearchConfig;
|
|
27
24
|
internalApplyLink: string;
|
|
28
25
|
useApplyDialog: boolean;
|
|
@@ -30,5 +27,4 @@ export type MapConfig = {
|
|
|
30
27
|
showMap: boolean;
|
|
31
28
|
companyId: string;
|
|
32
29
|
SubcategoryRequireCategory: boolean;
|
|
33
|
-
jobPinZoomLevel?: number;
|
|
34
30
|
};
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
export function
|
|
2
|
-
export function getFilterOptions(listings: any, filteredListings: any, field: any, excludeZeroCount?: boolean): {
|
|
1
|
+
export function getFilterOptions(listings: any, filteredListings: any, field: any, excludeZeroCount?: null): {
|
|
3
2
|
name: any;
|
|
4
3
|
count: any;
|
|
5
4
|
}[];
|
|
6
|
-
export function getSpecialFeatureOptions(listings: any, filteredListings: any, siteConfig: any, favorites: any
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
collapsedByDefault: boolean;
|
|
12
|
-
sortAlphabetically: boolean;
|
|
13
|
-
}): {
|
|
5
|
+
export function getSpecialFeatureOptions(listings: any, filteredListings: any, siteConfig: any, favorites: any): {
|
|
6
|
+
name: string;
|
|
7
|
+
count: any;
|
|
8
|
+
}[];
|
|
9
|
+
export function generateFilterOptions(filteredListings: any, allListings: any, siteConfig: any, filterOptions: any, parentField: any, favorites: any, selectedFilters: any): {
|
|
14
10
|
filters: any;
|
|
15
11
|
locations: any;
|
|
16
12
|
pointsOfInterest: {
|
|
@@ -22,10 +18,10 @@ export function generateFilterOptions(filteredListings: any, allListings: any, s
|
|
|
22
18
|
}[];
|
|
23
19
|
};
|
|
24
20
|
} | null;
|
|
25
|
-
export function applyFilters(allListings: any, selectedFilters: any, query: any, listingEntities: any, favorites: any, siteConfig: any
|
|
21
|
+
export function applyFilters(allListings: any, selectedFilters: any, query: any, listingEntities: any, favorites: any, siteConfig: any): {
|
|
26
22
|
filteredListings: any;
|
|
27
23
|
mapItems: any[];
|
|
28
|
-
}
|
|
24
|
+
};
|
|
29
25
|
export function filterListingsByLocation(allListings: any, selectedLocation: any, listingEntities: any): {
|
|
30
26
|
filteredListings: any;
|
|
31
27
|
mapItems: any[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const iconPath: "M5.5 0A5.27 5.27 0 0 0 0 5.01v.49c0 1.73 1.38 3.43 2.07 4.12s3.43 4.12 3.43 4.12 2.75-3.43 3.43-4.12 2.06-2.39 2.06-4.12c.14-2.9-2.1-5.36-5-5.5H5.5Zm-.04 5.71c-.32 0-.57-.27-.56-.58 0-.32.27-.57.58-.56.32 0 .57.27.56.58 0 .31-.25.55-.56.56h-.02Z";
|
|
2
|
+
export function markerIconProps(placeMarkerConfigs: any, type: any): {
|
|
3
|
+
url: string;
|
|
4
|
+
scaledSize: any;
|
|
5
|
+
anchor: any;
|
|
6
|
+
};
|
|
7
|
+
export function iconProps(): {
|
|
8
|
+
path: string;
|
|
9
|
+
fillOpacity: number;
|
|
10
|
+
strokeWeight: number;
|
|
11
|
+
scale: number;
|
|
12
|
+
anchor: any;
|
|
13
|
+
};
|
|
14
|
+
export function markerIcon(markerConfigs: any, count?: number): {
|
|
15
|
+
url: string;
|
|
16
|
+
scaledSize: any;
|
|
17
|
+
anchor: any;
|
|
18
|
+
};
|
|
19
|
+
export function markerIconSelected(markerConfigs: any, count?: number): {
|
|
20
|
+
url: string;
|
|
21
|
+
scaledSize: any;
|
|
22
|
+
anchor: any;
|
|
23
|
+
};
|
|
24
|
+
export function pinIcon(markerConfigs: any): string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function getDistinctItemsByProximity(items: any,
|
|
2
|
-
export function findCloseItems(
|
|
1
|
+
export function getDistinctItemsByProximity(items: any, listingEntitiesDetails: any): any[];
|
|
2
|
+
export function findCloseItems(itemsObj: any): {
|
|
3
3
|
item1: any;
|
|
4
4
|
item2: any;
|
|
5
5
|
}[];
|
|
6
|
-
export function adjustItemPositions(
|
|
6
|
+
export function adjustItemPositions(itemsObj: any, closeItemPairs: any): any;
|
|
7
7
|
export function clusterOptions(clusterGridSize: any, fillColor: any): {
|
|
8
8
|
gridSize: any;
|
|
9
9
|
maxZoom: number;
|
|
@@ -3,7 +3,6 @@ export function parseQueryParams(search: any): {};
|
|
|
3
3
|
export function filtersFromURL(location: any): {
|
|
4
4
|
filters: {};
|
|
5
5
|
query: null;
|
|
6
|
-
lsIgnore: boolean;
|
|
7
6
|
} | undefined;
|
|
8
7
|
export function hasFiltersInURL(location: any): boolean | undefined;
|
|
9
8
|
export function hasQueryInUrl(location: any): boolean | undefined;
|