@abcagency/hc-ui-components 1.6.7 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rollupPluginBabelHelpers.js +130 -306
- package/dist/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/dist/apis/hcApi.js.map +1 -1
- package/dist/clientToken.js.map +1 -1
- package/dist/components/HireControlMap.js +43 -35
- package/dist/components/HireControlMap.js.map +1 -1
- package/dist/components/containers/accordions/filter-container.js.map +1 -1
- package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
- package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
- package/dist/components/containers/filter/commute-container.js +21 -22
- package/dist/components/containers/filter/commute-container.js.map +1 -1
- package/dist/components/containers/filter/filter-container.js.map +1 -1
- package/dist/components/containers/filter/filter-item-container.js.map +1 -1
- package/dist/components/containers/filter/location-container.js.map +1 -1
- 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.map +1 -1
- package/dist/components/containers/filter/search-container.js.map +1 -1
- package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
- package/dist/components/containers/list/item-list-container.js.map +1 -1
- package/dist/components/containers/list/list-item/list-item-container.js.map +1 -1
- package/dist/components/containers/maps/info-window-content-container.js.map +1 -1
- package/dist/components/containers/maps/map-container.js +1 -1
- package/dist/components/containers/maps/map-container.js.map +1 -1
- package/dist/components/containers/maps/map-list-container.js.map +1 -1
- package/dist/components/containers/maps/map-marker-container.js.map +1 -1
- package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
- package/dist/components/modules/accordions/default.js.map +1 -1
- package/dist/components/modules/accordions/filterItem.js.map +1 -1
- package/dist/components/modules/accordions/filters.js.map +1 -1
- package/dist/components/modules/buttons/button-group-apply.js.map +1 -1
- package/dist/components/modules/buttons/default.js.map +1 -1
- package/dist/components/modules/buttons/items-pill.js.map +1 -1
- package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
- package/dist/components/modules/buttons/show-all-button.js.map +1 -1
- package/dist/components/modules/cards/default.js.map +1 -1
- package/dist/components/modules/cards/filter.js.map +1 -1
- package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
- package/dist/components/modules/filter/commute.js.map +1 -1
- package/dist/components/modules/filter/index.js.map +1 -1
- package/dist/components/modules/filter/item.js.map +1 -1
- package/dist/components/modules/filter/location.js.map +1 -1
- package/dist/components/modules/filter/radio-item.js.map +1 -1
- package/dist/components/modules/filter/search.js.map +1 -1
- package/dist/components/modules/filter/sort.js.map +1 -1
- package/dist/components/modules/grid.js.map +1 -1
- package/dist/components/modules/icon.js.map +1 -1
- package/dist/components/modules/jobListing/listing-details.js.map +1 -1
- package/dist/components/modules/list/field-mapper-desktop.js.map +1 -1
- package/dist/components/modules/list/field-mapper-mobile.js.map +1 -1
- package/dist/components/modules/list/header-item.js.map +1 -1
- package/dist/components/modules/list/header.js.map +1 -1
- package/dist/components/modules/list/item-expand-card/index.js.map +1 -1
- package/dist/components/modules/list/item-list.js.map +1 -1
- package/dist/components/modules/list/list-item/list-item.js.map +1 -1
- package/dist/components/modules/maps/info-window-card.js.map +1 -1
- package/dist/components/modules/maps/info-window-content.js.map +1 -1
- package/dist/components/modules/maps/map-list.js.map +1 -1
- package/dist/components/modules/maps/map-marker.js.map +1 -1
- package/dist/components/modules/maps/map.js.map +1 -1
- package/dist/components/modules/maps/place-marker.js.map +1 -1
- package/dist/components/modules/maps/tabs.js.map +1 -1
- package/dist/components/modules/skeleton/map-skeleton.js +197 -0
- package/dist/components/modules/skeleton/map-skeleton.js.map +1 -0
- package/dist/constants/eventTypes.js.map +1 -1
- package/dist/constants/placeTypes.js.map +1 -1
- package/dist/contexts/mapContext.js +1 -1
- package/dist/contexts/mapContext.js.map +1 -1
- package/dist/contexts/mapListContext.js +1 -1
- package/dist/contexts/mapListContext.js.map +1 -1
- package/dist/contexts/placesContext.js +20 -21
- package/dist/contexts/placesContext.js.map +1 -1
- package/dist/contexts/themeContext.js.map +1 -1
- package/dist/contexts/trackEventContext.js +1 -1
- package/dist/contexts/trackEventContext.js.map +1 -1
- package/dist/hooks/useList.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@algolia/client-common/dist/common.js +3 -6
- package/dist/node_modules/@algolia/client-common/dist/common.js.map +1 -1
- package/dist/node_modules/@algolia/requester-browser-xhr/dist/requester.xhr.js +1 -1
- package/dist/node_modules/@algolia/requester-browser-xhr/dist/requester.xhr.js.map +1 -1
- package/dist/node_modules/algoliasearch/dist/lite/builds/browser.js +2 -2
- package/dist/node_modules/algoliasearch/dist/lite/builds/browser.js.map +1 -1
- package/dist/node_modules/fuse.js/dist/fuse.js +29 -20
- package/dist/node_modules/fuse.js/dist/fuse.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +124 -162
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/services/configService.js.map +1 -1
- package/dist/services/googlePlacesNearbyService.js.map +1 -1
- package/dist/services/listingAggregatorService.js.map +1 -1
- package/dist/services/listingEntityService.js.map +1 -1
- package/dist/services/listingService.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/types/util/filterUtil.d.ts +1 -1
- package/dist/util/algoliaSearchUtil.js +38 -42
- package/dist/util/algoliaSearchUtil.js.map +1 -1
- package/dist/util/filterUtil.js +55 -66
- package/dist/util/filterUtil.js.map +1 -1
- package/dist/util/loading.js.map +1 -1
- package/dist/util/localStorageUtil.js.map +1 -1
- package/dist/util/mapIconUtil.js.map +1 -1
- package/dist/util/mapUtil.js.map +1 -1
- package/dist/util/sortUtil.js.map +1 -1
- package/dist/util/stringUtils.js.map +1 -1
- package/dist/util/twMerge.js.map +1 -1
- package/dist/util/urlFilterUtil.js +1 -1
- package/dist/util/urlFilterUtil.js.map +1 -1
- package/package.json +1 -1
- package/src/components/HireControlMap.js +22 -11
- package/src/components/modules/skeleton/map-skeleton.js +161 -0
- package/src/index.js +2 -1
- package/src/util/filterUtil.js +11 -17
- package/dist/_virtual/jsx-runtime.js +0 -4
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/apps/test-react-app/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -49
- package/dist/apps/test-react-app/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/apps/test-react-app/node_modules/react/jsx-runtime.js +0 -12
- package/dist/apps/test-react-app/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/components/modules/list/field-mapper.js +0 -102
- package/dist/components/modules/list/field-mapper.js.map +0 -1
- package/dist/components/modules/list/list-item/list-item-desktop.js +0 -50
- package/dist/components/modules/list/list-item/list-item-desktop.js.map +0 -1
- package/dist/components/modules/list/list-item/list-item-mobile.js +0 -51
- package/dist/components/modules/list/list-item/list-item-mobile.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -802
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -679
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -343
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -140
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -137
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js +0 -33
- package/dist/node_modules/@headlessui/react/dist/components/combobox/combobox.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/transitions/transition.js +0 -19
- package/dist/node_modules/@headlessui/react/dist/components/transitions/transition.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js +0 -8
- package/dist/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-computed.js +0 -8
- package/dist/node_modules/@headlessui/react/dist/hooks/use-computed.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-controllable.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-id.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/hooks/use-id.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +0 -10
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +0 -11
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +0 -8
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/form.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/form.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/once.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/once.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +0 -6
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +0 -4
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +0 -11
- package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +0 -1
- package/dist/node_modules/@iconify/react/dist/iconify.js +0 -1928
- package/dist/node_modules/@iconify/react/dist/iconify.js.map +0 -1
- package/dist/node_modules/@radix-ui/number/dist/index.js +0 -7
- package/dist/node_modules/@radix-ui/number/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -12
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +0 -304
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -26
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -145
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -19
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -80
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -320
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -212
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -27
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -208
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -16
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -279
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -18
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -120
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -42
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -221
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -1109
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -187
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -19
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -16
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -35
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/node_modules/@react-google-maps/api/dist/esm.js +0 -8515
- package/dist/node_modules/@react-google-maps/api/dist/esm.js.map +0 -1
- package/dist/node_modules/@remix-run/router/dist/router.js +0 -271
- package/dist/node_modules/@remix-run/router/dist/router.js.map +0 -1
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -43
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +0 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -669
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +0 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -61
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -137
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -9
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -17
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -12
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -10
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -161
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -107
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -57
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -11
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -32
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/node_modules/react-router/dist/index.js +0 -280
- package/dist/node_modules/react-router/dist/index.js.map +0 -1
- package/dist/node_modules/react-router-dom/dist/index.js +0 -201
- package/dist/node_modules/react-router-dom/dist/index.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -20
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -26
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -52
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -57
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -25
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -49
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -43
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/node_modules/use-places-autocomplete/dist/index.esm.js +0 -243
- package/dist/node_modules/use-places-autocomplete/dist/index.esm.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -22
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -815
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -752
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -351
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -162
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -138
- package/dist/packages/hc-ui-components/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/combobox/combobox.js +0 -33
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/combobox/combobox.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/keyboard.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/keyboard.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/transitions/transition.js +0 -19
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/transitions/transition.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js +0 -8
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-computed.js +0 -8
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-computed.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-controllable.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-controllable.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-disposables.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-document-event.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-event.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-event.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-flags.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-id.js +0 -9
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-id.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +0 -10
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-owner.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-transition.js +0 -11
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +0 -8
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-watch.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-window-event.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/internal/hidden.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/internal/hidden.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/internal/open-closed.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/internal/open-closed.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/active-element-history.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/bugs.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/bugs.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/class-names.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/class-names.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/disposables.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/disposables.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/document-ready.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/document-ready.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/env.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/env.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/focus-management.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/focus-management.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/form.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/form.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/match.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/match.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/micro-task.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/micro-task.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/once.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/once.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/owner.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/owner.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/platform.js +0 -4
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/platform.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/render.js +0 -11
- package/dist/packages/hc-ui-components/node_modules/@headlessui/react/dist/utils/render.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@iconify/react/dist/iconify.js +0 -1928
- package/dist/packages/hc-ui-components/node_modules/@iconify/react/dist/iconify.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/number/dist/index.js +0 -7
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/number/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/primitive/dist/index.js +0 -12
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-accordion/dist/index.js +0 -306
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-accordion/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-arrow/dist/index.js +0 -26
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -146
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-collection/dist/index.js +0 -71
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -40
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-context/dist/index.js +0 -80
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-dialog/dist/index.js +0 -322
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -212
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -30
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -208
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-id/dist/index.js +0 -16
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-popper/dist/index.js +0 -284
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-portal/dist/index.js +0 -18
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-presence/dist/index.js +0 -131
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-primitive/dist/index.js +0 -44
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -224
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-select/dist/index.js +0 -1155
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-select/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-slot/dist/index.js +0 -90
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-tabs/dist/index.js +0 -188
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -71
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -19
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -16
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -35
- package/dist/packages/hc-ui-components/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@react-google-maps/api/dist/esm.js +0 -8749
- package/dist/packages/hc-ui-components/node_modules/@react-google-maps/api/dist/esm.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@remix-run/router/dist/router.js +0 -271
- package/dist/packages/hc-ui-components/node_modules/@remix-run/router/dist/router.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -43
- package/dist/packages/hc-ui-components/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -730
- package/dist/packages/hc-ui-components/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -65
- package/dist/packages/hc-ui-components/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/aria-hidden/dist/es2015/index.js +0 -138
- package/dist/packages/hc-ui-components/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/fuse.js/dist/fuse.js +0 -1779
- package/dist/packages/hc-ui-components/node_modules/fuse.js/dist/fuse.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/get-nonce/dist/es2015/index.js +0 -9
- package/dist/packages/hc-ui-components/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -10
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -161
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -111
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -57
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -11
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -32
- package/dist/packages/hc-ui-components/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-router/dist/index.js +0 -280
- package/dist/packages/hc-ui-components/node_modules/react-router/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-router-dom/dist/index.js +0 -201
- package/dist/packages/hc-ui-components/node_modules/react-router-dom/dist/index.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/component.js +0 -20
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/hook.js +0 -26
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -52
- package/dist/packages/hc-ui-components/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2530
- package/dist/packages/hc-ui-components/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/tslib/tslib.es6.js +0 -57
- package/dist/packages/hc-ui-components/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -25
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -49
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -43
- package/dist/packages/hc-ui-components/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-places-autocomplete/dist/index.esm.js +0 -243
- package/dist/packages/hc-ui-components/node_modules/use-places-autocomplete/dist/index.esm.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-sidecar/dist/es2015/exports.js +0 -22
- package/dist/packages/hc-ui-components/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/packages/hc-ui-components/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
- package/dist/packages/hc-ui-components/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/types/components/modules/list/field-mapper.d.ts +0 -10
- package/dist/types/components/modules/list/list-item/list-item-desktop.d.ts +0 -12
- package/dist/types/components/modules/list/list-item/list-item-mobile.d.ts +0 -15
- package/dist/types/contexts/mapListContext.d.ts +0 -86
package/dist/packages/hc-ui-components/node_modules/@tanstack/virtual-core/dist/esm/index.js
DELETED
|
@@ -1,730 +0,0 @@
|
|
|
1
|
-
import { debounce, memo, notUndefined, approxEqual } from './utils.js';
|
|
2
|
-
|
|
3
|
-
const getRect = (element) => {
|
|
4
|
-
const { offsetWidth, offsetHeight } = element;
|
|
5
|
-
return { width: offsetWidth, height: offsetHeight };
|
|
6
|
-
};
|
|
7
|
-
const defaultKeyExtractor = (index) => index;
|
|
8
|
-
const defaultRangeExtractor = (range) => {
|
|
9
|
-
const start = Math.max(range.startIndex - range.overscan, 0);
|
|
10
|
-
const end = Math.min(range.endIndex + range.overscan, range.count - 1);
|
|
11
|
-
const arr = [];
|
|
12
|
-
for (let i = start; i <= end; i++) {
|
|
13
|
-
arr.push(i);
|
|
14
|
-
}
|
|
15
|
-
return arr;
|
|
16
|
-
};
|
|
17
|
-
const observeElementRect = (instance, cb) => {
|
|
18
|
-
const element = instance.scrollElement;
|
|
19
|
-
if (!element) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const targetWindow = instance.targetWindow;
|
|
23
|
-
if (!targetWindow) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const handler = (rect) => {
|
|
27
|
-
const { width, height } = rect;
|
|
28
|
-
cb({ width: Math.round(width), height: Math.round(height) });
|
|
29
|
-
};
|
|
30
|
-
handler(getRect(element));
|
|
31
|
-
if (!targetWindow.ResizeObserver) {
|
|
32
|
-
return () => {
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
const observer = new targetWindow.ResizeObserver((entries) => {
|
|
36
|
-
const run = () => {
|
|
37
|
-
const entry = entries[0];
|
|
38
|
-
if (entry == null ? void 0 : entry.borderBoxSize) {
|
|
39
|
-
const box = entry.borderBoxSize[0];
|
|
40
|
-
if (box) {
|
|
41
|
-
handler({ width: box.inlineSize, height: box.blockSize });
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
handler(getRect(element));
|
|
46
|
-
};
|
|
47
|
-
instance.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(run) : run();
|
|
48
|
-
});
|
|
49
|
-
observer.observe(element, { box: "border-box" });
|
|
50
|
-
return () => {
|
|
51
|
-
observer.unobserve(element);
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
const addEventListenerOptions = {
|
|
55
|
-
passive: true
|
|
56
|
-
};
|
|
57
|
-
const supportsScrollend = typeof window == "undefined" ? true : "onscrollend" in window;
|
|
58
|
-
const observeElementOffset = (instance, cb) => {
|
|
59
|
-
const element = instance.scrollElement;
|
|
60
|
-
if (!element) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
const targetWindow = instance.targetWindow;
|
|
64
|
-
if (!targetWindow) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
let offset = 0;
|
|
68
|
-
const fallback = instance.options.useScrollendEvent && supportsScrollend ? () => void 0 : debounce(
|
|
69
|
-
targetWindow,
|
|
70
|
-
() => {
|
|
71
|
-
cb(offset, false);
|
|
72
|
-
},
|
|
73
|
-
instance.options.isScrollingResetDelay
|
|
74
|
-
);
|
|
75
|
-
const createHandler = (isScrolling) => () => {
|
|
76
|
-
const { horizontal, isRtl } = instance.options;
|
|
77
|
-
offset = horizontal ? element["scrollLeft"] * (isRtl && -1 || 1) : element["scrollTop"];
|
|
78
|
-
fallback();
|
|
79
|
-
cb(offset, isScrolling);
|
|
80
|
-
};
|
|
81
|
-
const handler = createHandler(true);
|
|
82
|
-
const endHandler = createHandler(false);
|
|
83
|
-
endHandler();
|
|
84
|
-
element.addEventListener("scroll", handler, addEventListenerOptions);
|
|
85
|
-
const registerScrollendEvent = instance.options.useScrollendEvent && supportsScrollend;
|
|
86
|
-
if (registerScrollendEvent) {
|
|
87
|
-
element.addEventListener("scrollend", endHandler, addEventListenerOptions);
|
|
88
|
-
}
|
|
89
|
-
return () => {
|
|
90
|
-
element.removeEventListener("scroll", handler);
|
|
91
|
-
if (registerScrollendEvent) {
|
|
92
|
-
element.removeEventListener("scrollend", endHandler);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
const measureElement = (element, entry, instance) => {
|
|
97
|
-
if (entry == null ? void 0 : entry.borderBoxSize) {
|
|
98
|
-
const box = entry.borderBoxSize[0];
|
|
99
|
-
if (box) {
|
|
100
|
-
const size = Math.round(
|
|
101
|
-
box[instance.options.horizontal ? "inlineSize" : "blockSize"]
|
|
102
|
-
);
|
|
103
|
-
return size;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
return element[instance.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
107
|
-
};
|
|
108
|
-
const elementScroll = (offset, {
|
|
109
|
-
adjustments = 0,
|
|
110
|
-
behavior
|
|
111
|
-
}, instance) => {
|
|
112
|
-
var _a, _b;
|
|
113
|
-
const toOffset = offset + adjustments;
|
|
114
|
-
(_b = (_a = instance.scrollElement) == null ? void 0 : _a.scrollTo) == null ? void 0 : _b.call(_a, {
|
|
115
|
-
[instance.options.horizontal ? "left" : "top"]: toOffset,
|
|
116
|
-
behavior
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
class Virtualizer {
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
this.unsubs = [];
|
|
122
|
-
this.scrollElement = null;
|
|
123
|
-
this.targetWindow = null;
|
|
124
|
-
this.isScrolling = false;
|
|
125
|
-
this.measurementsCache = [];
|
|
126
|
-
this.itemSizeCache = /* @__PURE__ */ new Map();
|
|
127
|
-
this.pendingMeasuredCacheIndexes = [];
|
|
128
|
-
this.scrollRect = null;
|
|
129
|
-
this.scrollOffset = null;
|
|
130
|
-
this.scrollDirection = null;
|
|
131
|
-
this.scrollAdjustments = 0;
|
|
132
|
-
this.elementsCache = /* @__PURE__ */ new Map();
|
|
133
|
-
this.observer = /* @__PURE__ */ (() => {
|
|
134
|
-
let _ro = null;
|
|
135
|
-
const get = () => {
|
|
136
|
-
if (_ro) {
|
|
137
|
-
return _ro;
|
|
138
|
-
}
|
|
139
|
-
if (!this.targetWindow || !this.targetWindow.ResizeObserver) {
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
return _ro = new this.targetWindow.ResizeObserver((entries) => {
|
|
143
|
-
entries.forEach((entry) => {
|
|
144
|
-
const run = () => {
|
|
145
|
-
this._measureElement(entry.target, entry);
|
|
146
|
-
};
|
|
147
|
-
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(run) : run();
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
};
|
|
151
|
-
return {
|
|
152
|
-
disconnect: () => {
|
|
153
|
-
var _a;
|
|
154
|
-
(_a = get()) == null ? void 0 : _a.disconnect();
|
|
155
|
-
_ro = null;
|
|
156
|
-
},
|
|
157
|
-
observe: (target) => {
|
|
158
|
-
var _a;
|
|
159
|
-
return (_a = get()) == null ? void 0 : _a.observe(target, { box: "border-box" });
|
|
160
|
-
},
|
|
161
|
-
unobserve: (target) => {
|
|
162
|
-
var _a;
|
|
163
|
-
return (_a = get()) == null ? void 0 : _a.unobserve(target);
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
})();
|
|
167
|
-
this.range = null;
|
|
168
|
-
this.setOptions = (opts2) => {
|
|
169
|
-
Object.entries(opts2).forEach(([key, value]) => {
|
|
170
|
-
if (typeof value === "undefined") delete opts2[key];
|
|
171
|
-
});
|
|
172
|
-
this.options = {
|
|
173
|
-
debug: false,
|
|
174
|
-
initialOffset: 0,
|
|
175
|
-
overscan: 1,
|
|
176
|
-
paddingStart: 0,
|
|
177
|
-
paddingEnd: 0,
|
|
178
|
-
scrollPaddingStart: 0,
|
|
179
|
-
scrollPaddingEnd: 0,
|
|
180
|
-
horizontal: false,
|
|
181
|
-
getItemKey: defaultKeyExtractor,
|
|
182
|
-
rangeExtractor: defaultRangeExtractor,
|
|
183
|
-
onChange: () => {
|
|
184
|
-
},
|
|
185
|
-
measureElement,
|
|
186
|
-
initialRect: { width: 0, height: 0 },
|
|
187
|
-
scrollMargin: 0,
|
|
188
|
-
gap: 0,
|
|
189
|
-
indexAttribute: "data-index",
|
|
190
|
-
initialMeasurementsCache: [],
|
|
191
|
-
lanes: 1,
|
|
192
|
-
isScrollingResetDelay: 150,
|
|
193
|
-
enabled: true,
|
|
194
|
-
isRtl: false,
|
|
195
|
-
useScrollendEvent: false,
|
|
196
|
-
useAnimationFrameWithResizeObserver: false,
|
|
197
|
-
...opts2
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
this.notify = (sync) => {
|
|
201
|
-
var _a, _b;
|
|
202
|
-
(_b = (_a = this.options).onChange) == null ? void 0 : _b.call(_a, this, sync);
|
|
203
|
-
};
|
|
204
|
-
this.maybeNotify = memo(
|
|
205
|
-
() => {
|
|
206
|
-
this.calculateRange();
|
|
207
|
-
return [
|
|
208
|
-
this.isScrolling,
|
|
209
|
-
this.range ? this.range.startIndex : null,
|
|
210
|
-
this.range ? this.range.endIndex : null
|
|
211
|
-
];
|
|
212
|
-
},
|
|
213
|
-
(isScrolling) => {
|
|
214
|
-
this.notify(isScrolling);
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
key: "production" !== "production" ,
|
|
218
|
-
debug: () => this.options.debug,
|
|
219
|
-
initialDeps: [
|
|
220
|
-
this.isScrolling,
|
|
221
|
-
this.range ? this.range.startIndex : null,
|
|
222
|
-
this.range ? this.range.endIndex : null
|
|
223
|
-
]
|
|
224
|
-
}
|
|
225
|
-
);
|
|
226
|
-
this.cleanup = () => {
|
|
227
|
-
this.unsubs.filter(Boolean).forEach((d) => d());
|
|
228
|
-
this.unsubs = [];
|
|
229
|
-
this.observer.disconnect();
|
|
230
|
-
this.scrollElement = null;
|
|
231
|
-
this.targetWindow = null;
|
|
232
|
-
};
|
|
233
|
-
this._didMount = () => {
|
|
234
|
-
return () => {
|
|
235
|
-
this.cleanup();
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
this._willUpdate = () => {
|
|
239
|
-
var _a;
|
|
240
|
-
const scrollElement = this.options.enabled ? this.options.getScrollElement() : null;
|
|
241
|
-
if (this.scrollElement !== scrollElement) {
|
|
242
|
-
this.cleanup();
|
|
243
|
-
if (!scrollElement) {
|
|
244
|
-
this.maybeNotify();
|
|
245
|
-
return;
|
|
246
|
-
}
|
|
247
|
-
this.scrollElement = scrollElement;
|
|
248
|
-
if (this.scrollElement && "ownerDocument" in this.scrollElement) {
|
|
249
|
-
this.targetWindow = this.scrollElement.ownerDocument.defaultView;
|
|
250
|
-
} else {
|
|
251
|
-
this.targetWindow = ((_a = this.scrollElement) == null ? void 0 : _a.window) ?? null;
|
|
252
|
-
}
|
|
253
|
-
this.elementsCache.forEach((cached) => {
|
|
254
|
-
this.observer.observe(cached);
|
|
255
|
-
});
|
|
256
|
-
this._scrollToOffset(this.getScrollOffset(), {
|
|
257
|
-
adjustments: void 0,
|
|
258
|
-
behavior: void 0
|
|
259
|
-
});
|
|
260
|
-
this.unsubs.push(
|
|
261
|
-
this.options.observeElementRect(this, (rect) => {
|
|
262
|
-
this.scrollRect = rect;
|
|
263
|
-
this.maybeNotify();
|
|
264
|
-
})
|
|
265
|
-
);
|
|
266
|
-
this.unsubs.push(
|
|
267
|
-
this.options.observeElementOffset(this, (offset, isScrolling) => {
|
|
268
|
-
this.scrollAdjustments = 0;
|
|
269
|
-
this.scrollDirection = isScrolling ? this.getScrollOffset() < offset ? "forward" : "backward" : null;
|
|
270
|
-
this.scrollOffset = offset;
|
|
271
|
-
this.isScrolling = isScrolling;
|
|
272
|
-
this.maybeNotify();
|
|
273
|
-
})
|
|
274
|
-
);
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
this.getSize = () => {
|
|
278
|
-
if (!this.options.enabled) {
|
|
279
|
-
this.scrollRect = null;
|
|
280
|
-
return 0;
|
|
281
|
-
}
|
|
282
|
-
this.scrollRect = this.scrollRect ?? this.options.initialRect;
|
|
283
|
-
return this.scrollRect[this.options.horizontal ? "width" : "height"];
|
|
284
|
-
};
|
|
285
|
-
this.getScrollOffset = () => {
|
|
286
|
-
if (!this.options.enabled) {
|
|
287
|
-
this.scrollOffset = null;
|
|
288
|
-
return 0;
|
|
289
|
-
}
|
|
290
|
-
this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset === "function" ? this.options.initialOffset() : this.options.initialOffset);
|
|
291
|
-
return this.scrollOffset;
|
|
292
|
-
};
|
|
293
|
-
this.getFurthestMeasurement = (measurements, index) => {
|
|
294
|
-
const furthestMeasurementsFound = /* @__PURE__ */ new Map();
|
|
295
|
-
const furthestMeasurements = /* @__PURE__ */ new Map();
|
|
296
|
-
for (let m = index - 1; m >= 0; m--) {
|
|
297
|
-
const measurement = measurements[m];
|
|
298
|
-
if (furthestMeasurementsFound.has(measurement.lane)) {
|
|
299
|
-
continue;
|
|
300
|
-
}
|
|
301
|
-
const previousFurthestMeasurement = furthestMeasurements.get(
|
|
302
|
-
measurement.lane
|
|
303
|
-
);
|
|
304
|
-
if (previousFurthestMeasurement == null || measurement.end > previousFurthestMeasurement.end) {
|
|
305
|
-
furthestMeasurements.set(measurement.lane, measurement);
|
|
306
|
-
} else if (measurement.end < previousFurthestMeasurement.end) {
|
|
307
|
-
furthestMeasurementsFound.set(measurement.lane, true);
|
|
308
|
-
}
|
|
309
|
-
if (furthestMeasurementsFound.size === this.options.lanes) {
|
|
310
|
-
break;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
return furthestMeasurements.size === this.options.lanes ? Array.from(furthestMeasurements.values()).sort((a, b) => {
|
|
314
|
-
if (a.end === b.end) {
|
|
315
|
-
return a.index - b.index;
|
|
316
|
-
}
|
|
317
|
-
return a.end - b.end;
|
|
318
|
-
})[0] : void 0;
|
|
319
|
-
};
|
|
320
|
-
this.getMeasurementOptions = memo(
|
|
321
|
-
() => [
|
|
322
|
-
this.options.count,
|
|
323
|
-
this.options.paddingStart,
|
|
324
|
-
this.options.scrollMargin,
|
|
325
|
-
this.options.getItemKey,
|
|
326
|
-
this.options.enabled
|
|
327
|
-
],
|
|
328
|
-
(count, paddingStart, scrollMargin, getItemKey, enabled) => {
|
|
329
|
-
this.pendingMeasuredCacheIndexes = [];
|
|
330
|
-
return {
|
|
331
|
-
count,
|
|
332
|
-
paddingStart,
|
|
333
|
-
scrollMargin,
|
|
334
|
-
getItemKey,
|
|
335
|
-
enabled
|
|
336
|
-
};
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
key: false
|
|
340
|
-
}
|
|
341
|
-
);
|
|
342
|
-
this.getMeasurements = memo(
|
|
343
|
-
() => [this.getMeasurementOptions(), this.itemSizeCache],
|
|
344
|
-
({ count, paddingStart, scrollMargin, getItemKey, enabled }, itemSizeCache) => {
|
|
345
|
-
if (!enabled) {
|
|
346
|
-
this.measurementsCache = [];
|
|
347
|
-
this.itemSizeCache.clear();
|
|
348
|
-
return [];
|
|
349
|
-
}
|
|
350
|
-
if (this.measurementsCache.length === 0) {
|
|
351
|
-
this.measurementsCache = this.options.initialMeasurementsCache;
|
|
352
|
-
this.measurementsCache.forEach((item) => {
|
|
353
|
-
this.itemSizeCache.set(item.key, item.size);
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
const min = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
|
|
357
|
-
this.pendingMeasuredCacheIndexes = [];
|
|
358
|
-
const measurements = this.measurementsCache.slice(0, min);
|
|
359
|
-
for (let i = min; i < count; i++) {
|
|
360
|
-
const key = getItemKey(i);
|
|
361
|
-
const furthestMeasurement = this.options.lanes === 1 ? measurements[i - 1] : this.getFurthestMeasurement(measurements, i);
|
|
362
|
-
const start = furthestMeasurement ? furthestMeasurement.end + this.options.gap : paddingStart + scrollMargin;
|
|
363
|
-
const measuredSize = itemSizeCache.get(key);
|
|
364
|
-
const size = typeof measuredSize === "number" ? measuredSize : this.options.estimateSize(i);
|
|
365
|
-
const end = start + size;
|
|
366
|
-
const lane = furthestMeasurement ? furthestMeasurement.lane : i % this.options.lanes;
|
|
367
|
-
measurements[i] = {
|
|
368
|
-
index: i,
|
|
369
|
-
start,
|
|
370
|
-
size,
|
|
371
|
-
end,
|
|
372
|
-
key,
|
|
373
|
-
lane
|
|
374
|
-
};
|
|
375
|
-
}
|
|
376
|
-
this.measurementsCache = measurements;
|
|
377
|
-
return measurements;
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
key: "production" !== "production" ,
|
|
381
|
-
debug: () => this.options.debug
|
|
382
|
-
}
|
|
383
|
-
);
|
|
384
|
-
this.calculateRange = memo(
|
|
385
|
-
() => [
|
|
386
|
-
this.getMeasurements(),
|
|
387
|
-
this.getSize(),
|
|
388
|
-
this.getScrollOffset(),
|
|
389
|
-
this.options.lanes
|
|
390
|
-
],
|
|
391
|
-
(measurements, outerSize, scrollOffset, lanes) => {
|
|
392
|
-
return this.range = measurements.length > 0 && outerSize > 0 ? calculateRange({
|
|
393
|
-
measurements,
|
|
394
|
-
outerSize,
|
|
395
|
-
scrollOffset,
|
|
396
|
-
lanes
|
|
397
|
-
}) : null;
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
key: "production" !== "production" ,
|
|
401
|
-
debug: () => this.options.debug
|
|
402
|
-
}
|
|
403
|
-
);
|
|
404
|
-
this.getVirtualIndexes = memo(
|
|
405
|
-
() => {
|
|
406
|
-
let startIndex = null;
|
|
407
|
-
let endIndex = null;
|
|
408
|
-
const range = this.calculateRange();
|
|
409
|
-
if (range) {
|
|
410
|
-
startIndex = range.startIndex;
|
|
411
|
-
endIndex = range.endIndex;
|
|
412
|
-
}
|
|
413
|
-
this.maybeNotify.updateDeps([this.isScrolling, startIndex, endIndex]);
|
|
414
|
-
return [
|
|
415
|
-
this.options.rangeExtractor,
|
|
416
|
-
this.options.overscan,
|
|
417
|
-
this.options.count,
|
|
418
|
-
startIndex,
|
|
419
|
-
endIndex
|
|
420
|
-
];
|
|
421
|
-
},
|
|
422
|
-
(rangeExtractor, overscan, count, startIndex, endIndex) => {
|
|
423
|
-
return startIndex === null || endIndex === null ? [] : rangeExtractor({
|
|
424
|
-
startIndex,
|
|
425
|
-
endIndex,
|
|
426
|
-
overscan,
|
|
427
|
-
count
|
|
428
|
-
});
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
key: "production" !== "production" ,
|
|
432
|
-
debug: () => this.options.debug
|
|
433
|
-
}
|
|
434
|
-
);
|
|
435
|
-
this.indexFromElement = (node) => {
|
|
436
|
-
const attributeName = this.options.indexAttribute;
|
|
437
|
-
const indexStr = node.getAttribute(attributeName);
|
|
438
|
-
if (!indexStr) {
|
|
439
|
-
console.warn(
|
|
440
|
-
`Missing attribute name '${attributeName}={index}' on measured element.`
|
|
441
|
-
);
|
|
442
|
-
return -1;
|
|
443
|
-
}
|
|
444
|
-
return parseInt(indexStr, 10);
|
|
445
|
-
};
|
|
446
|
-
this._measureElement = (node, entry) => {
|
|
447
|
-
const index = this.indexFromElement(node);
|
|
448
|
-
const item = this.measurementsCache[index];
|
|
449
|
-
if (!item) {
|
|
450
|
-
return;
|
|
451
|
-
}
|
|
452
|
-
const key = item.key;
|
|
453
|
-
const prevNode = this.elementsCache.get(key);
|
|
454
|
-
if (prevNode !== node) {
|
|
455
|
-
if (prevNode) {
|
|
456
|
-
this.observer.unobserve(prevNode);
|
|
457
|
-
}
|
|
458
|
-
this.observer.observe(node);
|
|
459
|
-
this.elementsCache.set(key, node);
|
|
460
|
-
}
|
|
461
|
-
if (node.isConnected) {
|
|
462
|
-
this.resizeItem(index, this.options.measureElement(node, entry, this));
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
this.resizeItem = (index, size) => {
|
|
466
|
-
const item = this.measurementsCache[index];
|
|
467
|
-
if (!item) {
|
|
468
|
-
return;
|
|
469
|
-
}
|
|
470
|
-
const itemSize = this.itemSizeCache.get(item.key) ?? item.size;
|
|
471
|
-
const delta = size - itemSize;
|
|
472
|
-
if (delta !== 0) {
|
|
473
|
-
if (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(item, delta, this) : item.start < this.getScrollOffset() + this.scrollAdjustments) {
|
|
474
|
-
this._scrollToOffset(this.getScrollOffset(), {
|
|
475
|
-
adjustments: this.scrollAdjustments += delta,
|
|
476
|
-
behavior: void 0
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
this.pendingMeasuredCacheIndexes.push(item.index);
|
|
480
|
-
this.itemSizeCache = new Map(this.itemSizeCache.set(item.key, size));
|
|
481
|
-
this.notify(false);
|
|
482
|
-
}
|
|
483
|
-
};
|
|
484
|
-
this.measureElement = (node) => {
|
|
485
|
-
if (!node) {
|
|
486
|
-
this.elementsCache.forEach((cached, key) => {
|
|
487
|
-
if (!cached.isConnected) {
|
|
488
|
-
this.observer.unobserve(cached);
|
|
489
|
-
this.elementsCache.delete(key);
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
this._measureElement(node, void 0);
|
|
495
|
-
};
|
|
496
|
-
this.getVirtualItems = memo(
|
|
497
|
-
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
498
|
-
(indexes, measurements) => {
|
|
499
|
-
const virtualItems = [];
|
|
500
|
-
for (let k = 0, len = indexes.length; k < len; k++) {
|
|
501
|
-
const i = indexes[k];
|
|
502
|
-
const measurement = measurements[i];
|
|
503
|
-
virtualItems.push(measurement);
|
|
504
|
-
}
|
|
505
|
-
return virtualItems;
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
key: "production" !== "production" ,
|
|
509
|
-
debug: () => this.options.debug
|
|
510
|
-
}
|
|
511
|
-
);
|
|
512
|
-
this.getVirtualItemForOffset = (offset) => {
|
|
513
|
-
const measurements = this.getMeasurements();
|
|
514
|
-
if (measurements.length === 0) {
|
|
515
|
-
return void 0;
|
|
516
|
-
}
|
|
517
|
-
return notUndefined(
|
|
518
|
-
measurements[findNearestBinarySearch(
|
|
519
|
-
0,
|
|
520
|
-
measurements.length - 1,
|
|
521
|
-
(index) => notUndefined(measurements[index]).start,
|
|
522
|
-
offset
|
|
523
|
-
)]
|
|
524
|
-
);
|
|
525
|
-
};
|
|
526
|
-
this.getOffsetForAlignment = (toOffset, align, itemSize = 0) => {
|
|
527
|
-
const size = this.getSize();
|
|
528
|
-
const scrollOffset = this.getScrollOffset();
|
|
529
|
-
if (align === "auto") {
|
|
530
|
-
align = toOffset >= scrollOffset + size ? "end" : "start";
|
|
531
|
-
}
|
|
532
|
-
if (align === "center") {
|
|
533
|
-
toOffset += (itemSize - size) / 2;
|
|
534
|
-
} else if (align === "end") {
|
|
535
|
-
toOffset -= size;
|
|
536
|
-
}
|
|
537
|
-
const maxOffset = this.getTotalSize() + this.options.scrollMargin - size;
|
|
538
|
-
return Math.max(Math.min(maxOffset, toOffset), 0);
|
|
539
|
-
};
|
|
540
|
-
this.getOffsetForIndex = (index, align = "auto") => {
|
|
541
|
-
index = Math.max(0, Math.min(index, this.options.count - 1));
|
|
542
|
-
const item = this.measurementsCache[index];
|
|
543
|
-
if (!item) {
|
|
544
|
-
return void 0;
|
|
545
|
-
}
|
|
546
|
-
const size = this.getSize();
|
|
547
|
-
const scrollOffset = this.getScrollOffset();
|
|
548
|
-
if (align === "auto") {
|
|
549
|
-
if (item.end >= scrollOffset + size - this.options.scrollPaddingEnd) {
|
|
550
|
-
align = "end";
|
|
551
|
-
} else if (item.start <= scrollOffset + this.options.scrollPaddingStart) {
|
|
552
|
-
align = "start";
|
|
553
|
-
} else {
|
|
554
|
-
return [scrollOffset, align];
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
const toOffset = align === "end" ? item.end + this.options.scrollPaddingEnd : item.start - this.options.scrollPaddingStart;
|
|
558
|
-
return [
|
|
559
|
-
this.getOffsetForAlignment(toOffset, align, item.size),
|
|
560
|
-
align
|
|
561
|
-
];
|
|
562
|
-
};
|
|
563
|
-
this.isDynamicMode = () => this.elementsCache.size > 0;
|
|
564
|
-
this.scrollToOffset = (toOffset, { align = "start", behavior } = {}) => {
|
|
565
|
-
if (behavior === "smooth" && this.isDynamicMode()) {
|
|
566
|
-
console.warn(
|
|
567
|
-
"The `smooth` scroll behavior is not fully supported with dynamic size."
|
|
568
|
-
);
|
|
569
|
-
}
|
|
570
|
-
this._scrollToOffset(this.getOffsetForAlignment(toOffset, align), {
|
|
571
|
-
adjustments: void 0,
|
|
572
|
-
behavior
|
|
573
|
-
});
|
|
574
|
-
};
|
|
575
|
-
this.scrollToIndex = (index, { align: initialAlign = "auto", behavior } = {}) => {
|
|
576
|
-
if (behavior === "smooth" && this.isDynamicMode()) {
|
|
577
|
-
console.warn(
|
|
578
|
-
"The `smooth` scroll behavior is not fully supported with dynamic size."
|
|
579
|
-
);
|
|
580
|
-
}
|
|
581
|
-
index = Math.max(0, Math.min(index, this.options.count - 1));
|
|
582
|
-
let attempts = 0;
|
|
583
|
-
const maxAttempts = 10;
|
|
584
|
-
const tryScroll = (currentAlign) => {
|
|
585
|
-
if (!this.targetWindow) return;
|
|
586
|
-
const offsetInfo = this.getOffsetForIndex(index, currentAlign);
|
|
587
|
-
if (!offsetInfo) {
|
|
588
|
-
console.warn("Failed to get offset for index:", index);
|
|
589
|
-
return;
|
|
590
|
-
}
|
|
591
|
-
const [offset, align] = offsetInfo;
|
|
592
|
-
this._scrollToOffset(offset, { adjustments: void 0, behavior });
|
|
593
|
-
this.targetWindow.requestAnimationFrame(() => {
|
|
594
|
-
const currentOffset = this.getScrollOffset();
|
|
595
|
-
const afterInfo = this.getOffsetForIndex(index, align);
|
|
596
|
-
if (!afterInfo) {
|
|
597
|
-
console.warn("Failed to get offset for index:", index);
|
|
598
|
-
return;
|
|
599
|
-
}
|
|
600
|
-
if (!approxEqual(afterInfo[0], currentOffset)) {
|
|
601
|
-
scheduleRetry(align);
|
|
602
|
-
}
|
|
603
|
-
});
|
|
604
|
-
};
|
|
605
|
-
const scheduleRetry = (align) => {
|
|
606
|
-
if (!this.targetWindow) return;
|
|
607
|
-
attempts++;
|
|
608
|
-
if (attempts < maxAttempts) {
|
|
609
|
-
this.targetWindow.requestAnimationFrame(() => tryScroll(align));
|
|
610
|
-
} else {
|
|
611
|
-
console.warn(
|
|
612
|
-
`Failed to scroll to index ${index} after ${maxAttempts} attempts.`
|
|
613
|
-
);
|
|
614
|
-
}
|
|
615
|
-
};
|
|
616
|
-
tryScroll(initialAlign);
|
|
617
|
-
};
|
|
618
|
-
this.scrollBy = (delta, { behavior } = {}) => {
|
|
619
|
-
if (behavior === "smooth" && this.isDynamicMode()) {
|
|
620
|
-
console.warn(
|
|
621
|
-
"The `smooth` scroll behavior is not fully supported with dynamic size."
|
|
622
|
-
);
|
|
623
|
-
}
|
|
624
|
-
this._scrollToOffset(this.getScrollOffset() + delta, {
|
|
625
|
-
adjustments: void 0,
|
|
626
|
-
behavior
|
|
627
|
-
});
|
|
628
|
-
};
|
|
629
|
-
this.getTotalSize = () => {
|
|
630
|
-
var _a;
|
|
631
|
-
const measurements = this.getMeasurements();
|
|
632
|
-
let end;
|
|
633
|
-
if (measurements.length === 0) {
|
|
634
|
-
end = this.options.paddingStart;
|
|
635
|
-
} else if (this.options.lanes === 1) {
|
|
636
|
-
end = ((_a = measurements[measurements.length - 1]) == null ? void 0 : _a.end) ?? 0;
|
|
637
|
-
} else {
|
|
638
|
-
const endByLane = Array(this.options.lanes).fill(null);
|
|
639
|
-
let endIndex = measurements.length - 1;
|
|
640
|
-
while (endIndex >= 0 && endByLane.some((val) => val === null)) {
|
|
641
|
-
const item = measurements[endIndex];
|
|
642
|
-
if (endByLane[item.lane] === null) {
|
|
643
|
-
endByLane[item.lane] = item.end;
|
|
644
|
-
}
|
|
645
|
-
endIndex--;
|
|
646
|
-
}
|
|
647
|
-
end = Math.max(...endByLane.filter((val) => val !== null));
|
|
648
|
-
}
|
|
649
|
-
return Math.max(
|
|
650
|
-
end - this.options.scrollMargin + this.options.paddingEnd,
|
|
651
|
-
0
|
|
652
|
-
);
|
|
653
|
-
};
|
|
654
|
-
this._scrollToOffset = (offset, {
|
|
655
|
-
adjustments,
|
|
656
|
-
behavior
|
|
657
|
-
}) => {
|
|
658
|
-
this.options.scrollToFn(offset, { behavior, adjustments }, this);
|
|
659
|
-
};
|
|
660
|
-
this.measure = () => {
|
|
661
|
-
this.itemSizeCache = /* @__PURE__ */ new Map();
|
|
662
|
-
this.notify(false);
|
|
663
|
-
};
|
|
664
|
-
this.setOptions(opts);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
const findNearestBinarySearch = (low, high, getCurrentValue, value) => {
|
|
668
|
-
while (low <= high) {
|
|
669
|
-
const middle = (low + high) / 2 | 0;
|
|
670
|
-
const currentValue = getCurrentValue(middle);
|
|
671
|
-
if (currentValue < value) {
|
|
672
|
-
low = middle + 1;
|
|
673
|
-
} else if (currentValue > value) {
|
|
674
|
-
high = middle - 1;
|
|
675
|
-
} else {
|
|
676
|
-
return middle;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
if (low > 0) {
|
|
680
|
-
return low - 1;
|
|
681
|
-
} else {
|
|
682
|
-
return 0;
|
|
683
|
-
}
|
|
684
|
-
};
|
|
685
|
-
function calculateRange({
|
|
686
|
-
measurements,
|
|
687
|
-
outerSize,
|
|
688
|
-
scrollOffset,
|
|
689
|
-
lanes
|
|
690
|
-
}) {
|
|
691
|
-
const lastIndex = measurements.length - 1;
|
|
692
|
-
const getOffset = (index) => measurements[index].start;
|
|
693
|
-
if (measurements.length <= lanes) {
|
|
694
|
-
return {
|
|
695
|
-
startIndex: 0,
|
|
696
|
-
endIndex: lastIndex
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
let startIndex = findNearestBinarySearch(
|
|
700
|
-
0,
|
|
701
|
-
lastIndex,
|
|
702
|
-
getOffset,
|
|
703
|
-
scrollOffset
|
|
704
|
-
);
|
|
705
|
-
let endIndex = startIndex;
|
|
706
|
-
if (lanes === 1) {
|
|
707
|
-
while (endIndex < lastIndex && measurements[endIndex].end < scrollOffset + outerSize) {
|
|
708
|
-
endIndex++;
|
|
709
|
-
}
|
|
710
|
-
} else if (lanes > 1) {
|
|
711
|
-
const endPerLane = Array(lanes).fill(0);
|
|
712
|
-
while (endIndex < lastIndex && endPerLane.some((pos) => pos < scrollOffset + outerSize)) {
|
|
713
|
-
const item = measurements[endIndex];
|
|
714
|
-
endPerLane[item.lane] = item.end;
|
|
715
|
-
endIndex++;
|
|
716
|
-
}
|
|
717
|
-
const startPerLane = Array(lanes).fill(scrollOffset + outerSize);
|
|
718
|
-
while (startIndex >= 0 && startPerLane.some((pos) => pos >= scrollOffset)) {
|
|
719
|
-
const item = measurements[startIndex];
|
|
720
|
-
startPerLane[item.lane] = item.start;
|
|
721
|
-
startIndex--;
|
|
722
|
-
}
|
|
723
|
-
startIndex = Math.max(0, startIndex - startIndex % lanes);
|
|
724
|
-
endIndex = Math.min(lastIndex, endIndex + (lanes - 1 - endIndex % lanes));
|
|
725
|
-
}
|
|
726
|
-
return { startIndex, endIndex };
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export { Virtualizer, approxEqual, debounce, defaultKeyExtractor, defaultRangeExtractor, elementScroll, measureElement, memo, notUndefined, observeElementOffset, observeElementRect };
|
|
730
|
-
//# sourceMappingURL=index.js.map
|