@sonic-equipment/ui 0.0.119 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/address-info-display/address-info-display.d.ts +6 -0
- package/dist/address-info-display/address-info-display.js +10 -0
- package/dist/address-info-display/address-info-display.module.css.js +3 -0
- package/dist/algolia/algolia-active-categories.js +39 -0
- package/dist/algolia/algolia-active-filters.js +38 -0
- package/dist/algolia/algolia-categories-filters.js +27 -0
- package/dist/algolia/algolia-dummy-refinement-list-consumer.js +20 -0
- package/dist/algolia/algolia-filter-panel.js +39 -0
- package/dist/algolia/algolia-filter-panel.module.css.js +3 -0
- package/dist/algolia/algolia-hit-type.d.ts +2 -0
- package/dist/algolia/algolia-hit-type.js +6 -0
- package/dist/algolia/algolia-hits-provider.js +17 -0
- package/dist/algolia/algolia-index-config.d.ts +3 -1
- package/dist/algolia/algolia-index-config.js +77 -0
- package/dist/algolia/algolia-initialization.js +34 -0
- package/dist/algolia/algolia-insight-instant-search-provider.js +14 -0
- package/dist/algolia/algolia-insights-provider.js +25 -0
- package/dist/algolia/algolia-instant-search-state-provider.js +16 -0
- package/dist/algolia/algolia-multi-select-filter-section.js +27 -0
- package/dist/algolia/algolia-pagination.js +18 -0
- package/dist/algolia/algolia-provider.js +34 -0
- package/dist/algolia/algolia-query-string-routing.js +108 -0
- package/dist/algolia/algolia-results-count.js +22 -0
- package/dist/algolia/algolia-search-provider.js +176 -0
- package/dist/algolia/algolia-searchclient-offline.js +26 -0
- package/dist/algolia/algolia-sonic-searchclient.d.ts +2 -1
- package/dist/algolia/algolia-sonic-searchclient.js +26 -0
- package/dist/algolia/algolia-sort-by.js +29 -0
- package/dist/algolia/constants/index.d.ts +1 -0
- package/dist/algolia/constants/index.js +3 -0
- package/dist/algolia/filter-section.js +34 -0
- package/dist/algolia/filter-section.module.css.js +3 -0
- package/dist/algolia/use-algolia-hits.js +19 -0
- package/dist/algolia/use-algolia-insights-provider-global-state.js +9 -0
- package/dist/algolia/use-algolia-insights.d.ts +20 -6
- package/dist/algolia/use-algolia-insights.js +303 -0
- package/dist/algolia/use-algolia-instant-search-state.js +25 -0
- package/dist/algolia/use-algolia-search.d.ts +2 -1
- package/dist/algolia/use-algolia-search.js +41 -0
- package/dist/authentication/authenticated-container.d.ts +9 -0
- package/dist/authentication/authenticated-container.js +21 -0
- package/dist/background-overlay/background-overlay-manager.d.ts +178 -0
- package/dist/background-overlay/background-overlay-manager.js +297 -0
- package/dist/background-overlay/background-overlay.d.ts +12 -2
- package/dist/background-overlay/background-overlay.js +40 -0
- package/dist/badges/badge/badge.d.ts +5 -2
- package/dist/badges/badge/badge.js +18 -0
- package/dist/badges/badge/badge.module.css.js +3 -0
- package/dist/badges/badge/icon-with-badge/icon-with-badge.d.ts +11 -4
- package/dist/badges/badge/icon-with-badge/icon-with-badge.js +12 -0
- package/dist/badges/badge/icon-with-badge/icon-with-badge.module.css.js +3 -0
- package/dist/badges/tag/tag.js +11 -0
- package/dist/badges/tag/tag.module.css.js +3 -0
- package/dist/base.css +49 -0
- package/dist/breadcrumbs/breadcrumb.js +26 -0
- package/dist/breadcrumbs/breadcrumb.module.css.js +3 -0
- package/dist/buttons/add-to-cart-button/add-to-cart-button.d.ts +1 -3
- package/dist/buttons/add-to-cart-button/add-to-cart-button.js +118 -0
- package/dist/buttons/add-to-cart-button/add-to-cart-button.module.css.js +3 -0
- package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.d.ts +1 -1
- package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.js +126 -0
- package/dist/buttons/button/button.d.ts +14 -2
- package/dist/buttons/button/button.js +36 -0
- package/dist/buttons/button/button.module.css.js +3 -0
- package/dist/buttons/close-button/close-button.d.ts +12 -0
- package/dist/buttons/close-button/close-button.js +11 -0
- package/dist/buttons/close-button/close-button.module.css.js +3 -0
- package/dist/buttons/favorite/connected-favorite-button.d.ts +1 -1
- package/dist/buttons/favorite/connected-favorite-button.js +56 -0
- package/dist/buttons/favorite/favorite-button.d.ts +1 -1
- package/dist/buttons/favorite/favorite-button.js +15 -0
- package/dist/buttons/favorite/favorite-button.module.css.js +3 -0
- package/dist/buttons/icon-button/icon-button.d.ts +20 -6
- package/dist/buttons/icon-button/icon-button.js +24 -0
- package/dist/buttons/icon-button/icon-button.module.css.js +3 -0
- package/dist/buttons/link/link.d.ts +19 -5
- package/dist/buttons/link/link.js +18 -0
- package/dist/buttons/link/link.module.css.js +3 -0
- package/dist/buttons/print-button/print-button.d.ts +2 -1
- package/dist/buttons/print-button/print-button.js +10 -0
- package/dist/buttons/reorder-button/connected-reorder-button.d.ts +4 -0
- package/dist/buttons/reorder-button/connected-reorder-button.js +38 -0
- package/dist/buttons/reorder-button/reorder-button.d.ts +9 -0
- package/dist/buttons/reorder-button/reorder-button.js +12 -0
- package/dist/cards/category-card/category-card.d.ts +3 -2
- package/dist/cards/category-card/category-card.js +14 -0
- package/dist/cards/category-card/category-card.module.css.js +3 -0
- package/dist/cards/data-card/data-card.d.ts +39 -0
- package/dist/cards/data-card/data-card.js +68 -0
- package/dist/cards/data-card/data-card.module.css.js +3 -0
- package/dist/cards/orderline-card/connected-orderline-card.js +13 -0
- package/dist/cards/orderline-card/connected-remove-button.js +18 -0
- package/dist/cards/orderline-card/orderline-card.d.ts +4 -4
- package/dist/cards/orderline-card/orderline-card.js +22 -0
- package/dist/cards/orderline-card/orderline-card.module.css.js +3 -0
- package/dist/cards/product-card/connected-product-card.d.ts +6 -2
- package/dist/cards/product-card/connected-product-card.js +11 -0
- package/dist/cards/product-card/product-card.d.ts +4 -2
- package/dist/cards/product-card/product-card.js +22 -0
- package/dist/cards/product-card/product-card.module.css.js +3 -0
- package/dist/cards/table-card/table-card.d.ts +15 -0
- package/dist/cards/table-card/table-card.js +15 -0
- package/dist/cards/table-card/table-card.module.css.js +3 -0
- package/dist/carousel/card-carousel/card-carousel.js +24 -0
- package/dist/carousel/card-carousel/card-carousel.module.css.js +3 -0
- package/dist/carousel/carousel-navigation-button.js +12 -0
- package/dist/carousel/carousel-navigation-button.module.css.js +3 -0
- package/dist/carousel/carousel.js +69 -0
- package/dist/carousel/carousel.module.css.js +3 -0
- package/dist/carousel/category-carousel/category-carousel.js +10 -0
- package/dist/carousel/category-carousel/category-carousel.module.css.js +3 -0
- package/dist/carousel/pagination/pagination.d.ts +1 -1
- package/dist/carousel/pagination/pagination.js +36 -0
- package/dist/carousel/pagination/pagination.module.css.js +3 -0
- package/dist/carousel/pagination/transitions.js +144 -0
- package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +13 -0
- package/dist/carousel/usp-carousel/product-usp-carousel.js +10 -0
- package/dist/carousel/usp-carousel/usp-carousel.js +49 -0
- package/dist/carousel/usp-carousel/usp-carousel.module.css.js +3 -0
- package/dist/cart-totals/cart-totals-summary.d.ts +4 -2
- package/dist/cart-totals/cart-totals-summary.js +13 -0
- package/dist/cart-totals/cart-totals-summary.module.css.js +3 -0
- package/dist/cart-totals/cart-totals.d.ts +11 -6
- package/dist/cart-totals/cart-totals.js +15 -0
- package/dist/cart-totals/cart-totals.module.css.js +3 -0
- package/dist/collapsables/accordion/accordion-item.d.ts +4 -1
- package/dist/collapsables/accordion/accordion-item.js +36 -0
- package/dist/collapsables/accordion/accordion.d.ts +11 -2
- package/dist/collapsables/accordion/accordion.js +35 -0
- package/dist/collapsables/accordion/accordion.module.css.js +3 -0
- package/dist/collapsables/cascading-component/cascading-component-container-context.d.ts +2 -0
- package/dist/collapsables/cascading-component/cascading-component-container-context.js +6 -0
- package/dist/collapsables/cascading-component/cascading-component-container-provider.d.ts +7 -0
- package/dist/collapsables/cascading-component/cascading-component-container-provider.js +29 -0
- package/dist/collapsables/cascading-component/cascading-component-container.d.ts +8 -0
- package/dist/collapsables/cascading-component/cascading-component-container.js +9 -0
- package/dist/collapsables/cascading-component/cascading-component.d.ts +17 -0
- package/dist/collapsables/cascading-component/cascading-component.js +45 -0
- package/dist/collapsables/cascading-component/types.d.ts +11 -0
- package/dist/collapsables/cascading-component/use-cascading-component-container.d.ts +2 -0
- package/dist/collapsables/cascading-component/use-cascading-component-container.js +9 -0
- package/dist/collapsables/cascading-component/use-cascading-component.d.ts +2 -0
- package/dist/collapsables/cascading-component/use-cascading-component.js +15 -0
- package/dist/collapsables/cascading-component/use-has-cascading-component-container.d.ts +1 -0
- package/dist/collapsables/cascading-component/use-has-cascading-component-container.js +8 -0
- package/dist/collapsables/show-all/show-all.js +35 -0
- package/dist/collapsables/show-all/show-all.module.css.js +3 -0
- package/dist/collapsables/unmounter/unmounter.d.ts +14 -0
- package/dist/collapsables/unmounter/unmounter.js +44 -0
- package/dist/collapsables/unmounter/utils.d.ts +2 -0
- package/dist/collapsables/unmounter/utils.js +21 -0
- package/dist/config.d.ts +4 -2
- package/dist/config.js +116 -0
- package/dist/cookies/client-cookie-context.d.ts +3 -0
- package/dist/cookies/client-cookie-context.js +30 -0
- package/dist/cookies/cookie-context.d.ts +2 -0
- package/dist/cookies/cookie-context.js +6 -0
- package/dist/cookies/cookie-provider.d.ts +6 -0
- package/dist/cookies/cookie-provider.js +10 -0
- package/dist/cookies/readonly-cookie-reader.d.ts +2 -0
- package/dist/cookies/readonly-cookie-reader.js +18 -0
- package/dist/cookies/types.d.ts +14 -0
- package/dist/cookies/types.js +7 -0
- package/dist/{shared/hooks → cookies}/use-cookie.d.ts +1 -1
- package/dist/cookies/use-cookie.js +33 -0
- package/dist/country-language-selection-list/connected-country-language-selection-list.d.ts +1 -0
- package/dist/country-language-selection-list/connected-country-language-selection-list.js +267 -0
- package/dist/country-language-selection-list/country-language-selection-list.d.ts +18 -0
- package/dist/country-language-selection-list/country-language-selection-list.js +54 -0
- package/dist/country-language-selection-list/country-language-selection-list.module.css.js +3 -0
- package/dist/country-language-selector/connected-country-language-selector.d.ts +11 -0
- package/dist/country-language-selector/connected-country-language-selector.js +155 -0
- package/dist/country-language-selector/country-language-selector.d.ts +18 -0
- package/dist/country-language-selector/country-language-selector.js +52 -0
- package/dist/country-language-selector/country-language-selector.module.css.js +3 -0
- package/dist/country-language-selector-button/connected-country-language-selector-button.d.ts +1 -0
- package/dist/country-language-selector-button/connected-country-language-selector-button.js +22 -0
- package/dist/country-language-selector-button/country-language-selector-button.d.ts +7 -0
- package/dist/country-language-selector-button/country-language-selector-button.js +18 -0
- package/dist/country-language-selector-button/country-language-selector-button.module.css.js +3 -0
- package/dist/country-select/country-select.d.ts +29 -0
- package/dist/country-select/country-select.js +29 -0
- package/dist/country-select/hooks/use-countries.d.ts +12 -0
- package/dist/country-select/hooks/use-countries.js +55 -0
- package/dist/country-selector/connected-country-selector.d.ts +8 -8
- package/dist/country-selector/connected-country-selector.js +58 -0
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.d.ts +2 -2
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.js +34 -0
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.module.css.js +3 -0
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.d.ts +2 -3
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.js +24 -0
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.module.css.js +3 -0
- package/dist/country-selector/use-countries-languages.d.ts +23 -6
- package/dist/country-selector/use-countries-languages.js +95 -0
- package/dist/delivery-time/delivery-time.d.ts +2 -2
- package/dist/delivery-time/delivery-time.js +32 -0
- package/dist/delivery-time/delivery-time.module.css.js +3 -0
- package/dist/display/details/details.d.ts +7 -0
- package/dist/display/details/details.js +11 -0
- package/dist/display/details/details.module.css.js +3 -0
- package/dist/display/info-display/info-display.d.ts +7 -0
- package/dist/display/info-display/info-display.js +9 -0
- package/dist/display/info-display/info-display.module.css.js +3 -0
- package/dist/display/price/price.d.ts +18 -0
- package/dist/display/price/price.js +41 -0
- package/dist/display/price/price.module.css.js +3 -0
- package/dist/display/product-sku/product-sku.d.ts +2 -1
- package/dist/display/product-sku/product-sku.js +10 -0
- package/dist/display/product-sku/product-sku.module.css.js +3 -0
- package/dist/drawer/drawer.d.ts +28 -0
- package/dist/drawer/drawer.js +49 -0
- package/dist/drawer/drawer.module.css.js +3 -0
- package/dist/drawer/use-drawer.d.ts +17 -0
- package/dist/drawer/use-drawer.js +67 -0
- package/dist/exports.d.ts +385 -50
- package/dist/filters/active-filters/active-filters.d.ts +1 -1
- package/dist/filters/active-filters/active-filters.js +19 -0
- package/dist/filters/active-filters/active-filters.module.css.js +3 -0
- package/dist/filters/multi-select/multi-select.js +21 -0
- package/dist/filters/multi-select/multi-select.module.css.js +3 -0
- package/dist/filters/pagination/pagination.js +14 -0
- package/dist/filters/pagination/pagination.module.css.js +3 -0
- package/dist/flag/flag.d.ts +8 -0
- package/dist/flag/flag.js +11 -0
- package/dist/flag/flag.module.css.js +3 -0
- package/dist/flags/flag-ad.d.ts +1 -0
- package/dist/flags/flag-ad.js +7 -0
- package/dist/flags/flag-ae.d.ts +1 -0
- package/dist/flags/flag-ae.js +7 -0
- package/dist/flags/flag-al.d.ts +1 -0
- package/dist/flags/flag-al.js +7 -0
- package/dist/flags/flag-at.d.ts +1 -0
- package/dist/flags/flag-at.js +7 -0
- package/dist/flags/flag-ba.d.ts +1 -0
- package/dist/flags/flag-ba.js +7 -0
- package/dist/flags/flag-be.d.ts +1 -0
- package/dist/flags/flag-be.js +7 -0
- package/dist/flags/flag-bg.d.ts +1 -0
- package/dist/flags/flag-bg.js +7 -0
- package/dist/flags/flag-br.d.ts +1 -0
- package/dist/flags/flag-br.js +7 -0
- package/dist/flags/flag-ca.d.ts +1 -0
- package/dist/flags/flag-ca.js +7 -0
- package/dist/flags/flag-ch.d.ts +1 -0
- package/dist/flags/flag-ch.js +7 -0
- package/dist/flags/flag-cy.d.ts +1 -0
- package/dist/flags/flag-cy.js +7 -0
- package/dist/flags/flag-cz.d.ts +1 -0
- package/dist/flags/flag-cz.js +7 -0
- package/dist/flags/flag-de.d.ts +1 -0
- package/dist/flags/flag-de.js +7 -0
- package/dist/flags/flag-dj.d.ts +1 -0
- package/dist/flags/flag-dj.js +7 -0
- package/dist/flags/flag-dk.d.ts +1 -0
- package/dist/flags/flag-dk.js +7 -0
- package/dist/flags/flag-ec.d.ts +1 -0
- package/dist/flags/flag-ec.js +7 -0
- package/dist/flags/flag-ee.d.ts +1 -0
- package/dist/flags/flag-ee.js +7 -0
- package/dist/flags/flag-es.d.ts +1 -0
- package/dist/flags/flag-es.js +7 -0
- package/dist/flags/flag-eu.d.ts +1 -0
- package/dist/flags/flag-eu.js +7 -0
- package/dist/flags/flag-fi.d.ts +1 -0
- package/dist/flags/flag-fi.js +7 -0
- package/dist/flags/flag-fr.d.ts +1 -0
- package/dist/flags/flag-fr.js +7 -0
- package/dist/flags/flag-gb.d.ts +1 -0
- package/dist/flags/flag-gb.js +7 -0
- package/dist/flags/flag-gr.d.ts +1 -0
- package/dist/flags/flag-gr.js +7 -0
- package/dist/flags/flag-hr.d.ts +1 -0
- package/dist/flags/flag-hr.js +7 -0
- package/dist/flags/flag-hu.d.ts +1 -0
- package/dist/flags/flag-hu.js +7 -0
- package/dist/flags/flag-ie.d.ts +1 -0
- package/dist/flags/flag-ie.js +7 -0
- package/dist/flags/flag-iq.d.ts +1 -0
- package/dist/flags/flag-iq.js +7 -0
- package/dist/flags/flag-is.d.ts +1 -0
- package/dist/flags/flag-is.js +7 -0
- package/dist/flags/flag-it.d.ts +1 -0
- package/dist/flags/flag-it.js +7 -0
- package/dist/flags/flag-kw.d.ts +1 -0
- package/dist/flags/flag-kw.js +7 -0
- package/dist/flags/flag-kz.d.ts +1 -0
- package/dist/flags/flag-kz.js +7 -0
- package/dist/flags/flag-lb.d.ts +1 -0
- package/dist/flags/flag-lb.js +7 -0
- package/dist/flags/flag-lt.d.ts +1 -0
- package/dist/flags/flag-lt.js +7 -0
- package/dist/flags/flag-lu.d.ts +1 -0
- package/dist/flags/flag-lu.js +7 -0
- package/dist/flags/flag-lv.d.ts +1 -0
- package/dist/flags/flag-lv.js +7 -0
- package/dist/flags/flag-ma.d.ts +1 -0
- package/dist/flags/flag-ma.js +7 -0
- package/dist/flags/flag-mc.d.ts +1 -0
- package/dist/flags/flag-mc.js +7 -0
- package/dist/flags/flag-md.d.ts +1 -0
- package/dist/flags/flag-md.js +7 -0
- package/dist/flags/flag-me.d.ts +1 -0
- package/dist/flags/flag-me.js +7 -0
- package/dist/flags/flag-mk.d.ts +1 -0
- package/dist/flags/flag-mk.js +7 -0
- package/dist/flags/flag-mt.d.ts +1 -0
- package/dist/flags/flag-mt.js +7 -0
- package/dist/flags/flag-mx.d.ts +1 -0
- package/dist/flags/flag-mx.js +7 -0
- package/dist/flags/flag-my.d.ts +1 -0
- package/dist/flags/flag-my.js +7 -0
- package/dist/flags/flag-nl.d.ts +1 -0
- package/dist/flags/flag-nl.js +7 -0
- package/dist/flags/flag-no.d.ts +1 -0
- package/dist/flags/flag-no.js +7 -0
- package/dist/flags/flag-pl.d.ts +1 -0
- package/dist/flags/flag-pl.js +7 -0
- package/dist/flags/flag-pt.d.ts +1 -0
- package/dist/flags/flag-pt.js +7 -0
- package/dist/flags/flag-ro.d.ts +1 -0
- package/dist/flags/flag-ro.js +7 -0
- package/dist/flags/flag-rs.d.ts +1 -0
- package/dist/flags/flag-rs.js +7 -0
- package/dist/flags/flag-sa.d.ts +1 -0
- package/dist/flags/flag-sa.js +7 -0
- package/dist/flags/flag-se.d.ts +1 -0
- package/dist/flags/flag-se.js +7 -0
- package/dist/flags/flag-sg.d.ts +1 -0
- package/dist/flags/flag-sg.js +7 -0
- package/dist/flags/flag-si.d.ts +1 -0
- package/dist/flags/flag-si.js +7 -0
- package/dist/flags/flag-sk.d.ts +1 -0
- package/dist/flags/flag-sk.js +7 -0
- package/dist/flags/flag-tr.d.ts +1 -0
- package/dist/flags/flag-tr.js +7 -0
- package/dist/flags/flag-tw.d.ts +1 -0
- package/dist/flags/flag-tw.js +7 -0
- package/dist/flags/flag-ua.d.ts +1 -0
- package/dist/flags/flag-ua.js +7 -0
- package/dist/flags/flag-us.d.ts +1 -0
- package/dist/flags/flag-us.js +7 -0
- package/dist/flags/flag-vn.d.ts +1 -0
- package/dist/flags/flag-vn.js +7 -0
- package/dist/flags/flag-xk.d.ts +1 -0
- package/dist/flags/flag-xk.js +7 -0
- package/dist/flags/flag-za.d.ts +1 -0
- package/dist/flags/flag-za.js +7 -0
- package/dist/flags/index.d.ts +1 -0
- package/dist/flags/index.js +88 -0
- package/dist/footer/connected-footer.d.ts +3 -0
- package/dist/footer/connected-footer.js +21 -0
- package/dist/footer/footer.d.ts +9 -0
- package/dist/footer/footer.js +39 -0
- package/dist/footer/footer.model.d.ts +6 -0
- package/dist/footer/footer.module.css.js +3 -0
- package/dist/forms/elements/checkbox/checkbox.d.ts +23 -0
- package/dist/forms/elements/checkbox/checkbox.js +15 -0
- package/dist/forms/elements/checkbox/checkbox.module.css.js +3 -0
- package/dist/forms/elements/color-checkbox/color-checkbox.d.ts +7 -0
- package/dist/forms/elements/color-checkbox/color-checkbox.js +17 -0
- package/dist/forms/elements/field-error/field-error.d.ts +19 -0
- package/dist/forms/elements/field-error/field-error.js +27 -0
- package/dist/forms/elements/field-error/field-error.module.css.js +3 -0
- package/dist/forms/{input → elements/input}/input.d.ts +6 -0
- package/dist/forms/elements/input/input.js +31 -0
- package/dist/forms/elements/input/input.module.css.js +3 -0
- package/dist/forms/elements/label/label.d.ts +8 -0
- package/dist/forms/elements/label/label.js +13 -0
- package/dist/forms/elements/label/label.module.css.js +3 -0
- package/dist/forms/elements/select/select.d.ts +20 -0
- package/dist/forms/elements/select/select.js +37 -0
- package/dist/forms/elements/select/select.module.css.js +3 -0
- package/dist/forms/elements/switch/switch.d.ts +22 -0
- package/dist/forms/elements/switch/switch.js +15 -0
- package/dist/forms/elements/switch/switch.module.css.js +3 -0
- package/dist/forms/{textarea → elements/textarea}/textarea.d.ts +4 -0
- package/dist/forms/elements/textarea/textarea.js +55 -0
- package/dist/forms/elements/textarea/textarea.module.css.js +3 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.d.ts +10 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.js +16 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.module.css.js +3 -0
- package/dist/forms/fields/number-field/number-field.d.ts +34 -0
- package/dist/forms/fields/number-field/number-field.js +55 -0
- package/dist/forms/fields/number-field/number-field.module.css.js +3 -0
- package/dist/forms/fields/password-field/password-field.d.ts +2 -0
- package/dist/forms/fields/password-field/password-field.js +16 -0
- package/dist/forms/fields/search-field/search-field.d.ts +5 -0
- package/dist/forms/fields/search-field/search-field.js +20 -0
- package/dist/forms/fields/select-field/select-field.d.ts +34 -0
- package/dist/forms/fields/select-field/select-field.js +51 -0
- package/dist/forms/fields/select-field/select-field.module.css.js +3 -0
- package/dist/forms/fields/switch-field/switch-field.d.ts +10 -0
- package/dist/forms/fields/switch-field/switch-field.js +18 -0
- package/dist/forms/fields/switch-field/switch-field.module.css.js +3 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.d.ts +10 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.js +18 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.module.css.js +3 -0
- package/dist/forms/fields/text-field/text-field.d.ts +50 -0
- package/dist/forms/fields/text-field/text-field.js +26 -0
- package/dist/forms/fields/text-field/text-field.module.css.js +3 -0
- package/dist/forms/layout/form/form-field-layout.d.ts +10 -0
- package/dist/forms/layout/form/form-field-layout.js +10 -0
- package/dist/forms/layout/form/form-field-layout.module.css.js +3 -0
- package/dist/forms/layout/form/form-segment-group.d.ts +6 -0
- package/dist/forms/layout/form/form-segment-group.js +14 -0
- package/dist/forms/layout/form/form-segment-group.module.css.js +3 -0
- package/dist/forms/layout/form/form-segment.d.ts +6 -0
- package/dist/forms/layout/form/form-segment.js +10 -0
- package/dist/forms/layout/form/form-segment.module.css.js +3 -0
- package/dist/forms/layout/form/form.d.ts +20 -0
- package/dist/forms/layout/form/form.js +28 -0
- package/dist/forms/layout/form/form.module.css.js +3 -0
- package/dist/forms/partials/address-form/address-form.d.ts +11 -0
- package/dist/forms/partials/address-form/address-form.js +40 -0
- package/dist/forms/partials/address-form/address-form.module.css.js +3 -0
- package/dist/forms/partials/password-validation/password-validation.d.ts +4 -0
- package/dist/forms/partials/password-validation/password-validation.js +33 -0
- package/dist/global-search/categories-grid/categories-grid.js +14 -0
- package/dist/global-search/categories-grid/categories-grid.module.css.js +3 -0
- package/dist/global-search/global-search-provider/global-search-provider.d.ts +0 -6
- package/dist/global-search/global-search-provider/global-search-provider.js +9 -0
- package/dist/global-search/global-search-provider/use-search-disclosure.d.ts +1 -6
- package/dist/global-search/global-search-provider/use-search-disclosure.js +9 -0
- package/dist/global-search/global-search.d.ts +3 -1
- package/dist/global-search/global-search.js +44 -0
- package/dist/global-search/global-search.module.css.js +3 -0
- package/dist/global-search/plugins/categories-plugin.d.ts +1 -1
- package/dist/global-search/plugins/categories-plugin.js +37 -0
- package/dist/global-search/plugins/popular-categories-plugin.d.ts +1 -1
- package/dist/global-search/plugins/popular-categories-plugin.js +35 -0
- package/dist/global-search/plugins/popular-searches-plugin.d.ts +1 -1
- package/dist/global-search/plugins/popular-searches-plugin.js +24 -0
- package/dist/global-search/plugins/query-suggestions-plugin.d.ts +1 -1
- package/dist/global-search/plugins/query-suggestions-plugin.js +23 -0
- package/dist/global-search/plugins/quick-access-plugin.d.ts +1 -1
- package/dist/global-search/plugins/quick-access-plugin.js +35 -0
- package/dist/global-search/plugins/recent-searches-plugin.d.ts +1 -1
- package/dist/global-search/plugins/recent-searches-plugin.js +18 -0
- package/dist/global-search/search-highlight/highlight.d.ts +2 -1
- package/dist/global-search/search-highlight/highlight.js +15 -0
- package/dist/global-search/search-input/connected-search-input.js +22 -0
- package/dist/global-search/search-input/search-input.js +30 -0
- package/dist/global-search/search-input/search-input.module.css.js +3 -0
- package/dist/global-search/search-result-panel/panel-content.js +16 -0
- package/dist/global-search/search-result-panel/search-result-panel.js +17 -0
- package/dist/global-search/search-result-panel/search-result-panel.module.css.js +3 -0
- package/dist/global-search/search-result-panel/sections/no-search-results.d.ts +3 -1
- package/dist/global-search/search-result-panel/sections/no-search-results.js +32 -0
- package/dist/global-search/search-result-panel/sections/no-search.d.ts +5 -1
- package/dist/global-search/search-result-panel/sections/no-search.js +59 -0
- package/dist/global-search/search-result-panel/sections/search-content.module.css.js +3 -0
- package/dist/global-search/search-result-panel/sections/searching.d.ts +1 -0
- package/dist/global-search/search-result-panel/sections/searching.js +11 -0
- package/dist/global-search/search-result-panel/sections/section-container.js +9 -0
- package/dist/global-search/search-result-panel/sections/with-results.d.ts +3 -1
- package/dist/global-search/search-result-panel/sections/with-results.js +104 -0
- package/dist/global-search/search-section/search-list-item.d.ts +3 -2
- package/dist/global-search/search-section/search-list-item.js +14 -0
- package/dist/global-search/search-section/search-list-item.module.css.js +3 -0
- package/dist/global-search/search-section/search-list.js +10 -0
- package/dist/global-search/search-section/search-list.module.css.js +3 -0
- package/dist/global-search/search-section/search-section.js +10 -0
- package/dist/global-search/search-section/search-section.module.css.js +3 -0
- package/dist/global-search/types.d.ts +3 -1
- package/dist/header/buttons/account/connected-account-button.d.ts +5 -0
- package/dist/header/buttons/account/connected-account-button.js +30 -0
- package/dist/header/buttons/account/connected-account-button.module.css.js +3 -0
- package/dist/header/buttons/cart/connected-cart-button.d.ts +7 -0
- package/dist/header/buttons/cart/connected-cart-button.js +13 -0
- package/dist/header/buttons/favorites/connected-favorites-button.d.ts +7 -0
- package/dist/header/buttons/favorites/connected-favorites-button.js +11 -0
- package/dist/header/buttons/hamburger/hamburger-button.d.ts +7 -0
- package/dist/header/buttons/hamburger/hamburger-button.js +13 -0
- package/dist/header/buttons/hamburger/hamburger-button.module.css.js +3 -0
- package/dist/header/buttons/search/search-button.d.ts +7 -0
- package/dist/header/buttons/search/search-button.js +11 -0
- package/dist/header/connected-header.d.ts +3 -0
- package/dist/header/connected-header.js +21 -0
- package/dist/header/drawers/desktop-navigation-drawer.d.ts +8 -0
- package/dist/header/drawers/desktop-navigation-drawer.js +11 -0
- package/dist/header/drawers/desktop-navigation-drawer.module.css.js +3 -0
- package/dist/header/drawers/mobile-navigation-drawer.d.ts +7 -0
- package/dist/header/drawers/mobile-navigation-drawer.js +11 -0
- package/dist/header/drawers/mobile-navigation-drawer.module.css.js +3 -0
- package/dist/header/drawers/search-drawer.d.ts +5 -0
- package/dist/header/drawers/search-drawer.js +10 -0
- package/dist/header/header-layout/header-layout.d.ts +10 -0
- package/dist/header/header-layout/header-layout.js +10 -0
- package/dist/header/header-layout/header-layout.module.css.js +3 -0
- package/dist/header/header.d.ts +7 -0
- package/dist/header/header.js +76 -0
- package/dist/header/header.module.css.js +3 -0
- package/dist/header/link-list/navigation-link-list.d.ts +8 -0
- package/dist/header/link-list/navigation-link-list.js +31 -0
- package/dist/header/link-list/navigation-link-list.module.css.js +3 -0
- package/dist/header/sonic-logo/sonic-logo.d.ts +7 -0
- package/dist/header/sonic-logo/sonic-logo.js +18 -0
- package/dist/header/sonic-logo/sonic-logo.module.css.js +3 -0
- package/dist/icon/icon.d.ts +10 -0
- package/dist/icon/icon.js +11 -0
- package/dist/icon/icon.module.css.js +3 -0
- package/dist/icons/glyph/glyphs-arrow-boldcaps-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-arrow-boldcaps-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-down-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-up-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-down-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-up-icon.js +7 -0
- package/dist/icons/index.d.ts +87 -0
- package/dist/icons/index.js +90 -0
- package/dist/icons/solid/solid-add-icon.d.ts +1 -0
- package/dist/icons/solid/solid-attention-icon.js +7 -0
- package/dist/icons/solid/solid-cart-icon.js +7 -0
- package/dist/icons/solid/solid-close-icon.js +7 -0
- package/dist/icons/solid/solid-dashboard-icon.d.ts +1 -0
- package/dist/icons/solid/solid-edit-icon.d.ts +1 -0
- package/dist/icons/solid/solid-edit-icon.js +7 -0
- package/dist/icons/solid/solid-facebook-icon.d.ts +1 -0
- package/dist/icons/solid/solid-favorite-icon.js +7 -0
- package/dist/icons/solid/solid-folder-icon.d.ts +1 -0
- package/dist/icons/solid/solid-home-icon.js +7 -0
- package/dist/icons/solid/solid-information-icon.js +7 -0
- package/dist/icons/solid/solid-instagram-icon.d.ts +1 -0
- package/dist/icons/solid/solid-link-icon.d.ts +1 -0
- package/dist/icons/solid/solid-linkedin-icon.d.ts +1 -0
- package/dist/icons/solid/solid-login-icon.js +7 -0
- package/dist/icons/solid/solid-logout-icon.d.ts +1 -0
- package/dist/icons/solid/solid-logout-icon.js +7 -0
- package/dist/icons/solid/solid-mail-icon.d.ts +1 -0
- package/dist/icons/solid/solid-news-icon.js +7 -0
- package/dist/icons/solid/solid-notice-icon.js +7 -0
- package/dist/icons/solid/solid-okay-icon.js +7 -0
- package/dist/icons/solid/solid-package-icon.d.ts +1 -0
- package/dist/icons/solid/solid-payment-icon.d.ts +1 -0
- package/dist/icons/solid/solid-rating-icon.js +7 -0
- package/dist/icons/solid/solid-remove-icon.d.ts +1 -0
- package/dist/icons/solid/solid-salecategory-icon.d.ts +1 -0
- package/dist/icons/solid/solid-salecategory-icon.js +7 -0
- package/dist/icons/solid/solid-stories-icon.d.ts +1 -0
- package/dist/icons/solid/solid-tag-icon.js +7 -0
- package/dist/icons/solid/solid-thumbsdown-icon.d.ts +1 -0
- package/dist/icons/solid/solid-thumbsup-icon.d.ts +1 -0
- package/dist/icons/solid/solid-tiktok-icon.d.ts +1 -0
- package/dist/icons/solid/solid-youtube-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-3d-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-3dview-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-add-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arkit-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowdown-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowleft-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowleft-icon.js +7 -0
- package/dist/icons/stroke/stroke-arrowright-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowright-icon.js +7 -0
- package/dist/icons/stroke/stroke-arrowup-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-categories-icon.js +7 -0
- package/dist/icons/stroke/stroke-checkmark-icon.js +7 -0
- package/dist/icons/stroke/stroke-closebox-icon.js +7 -0
- package/dist/icons/stroke/stroke-dashboard-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-dehashed-icon.js +7 -0
- package/dist/icons/stroke/stroke-download-icon.js +7 -0
- package/dist/icons/stroke/stroke-edit-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-efficiency-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-event-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-event-icon.js +7 -0
- package/dist/icons/stroke/stroke-facebook-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-fallback-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-favorite-icon.js +7 -0
- package/dist/icons/stroke/stroke-filter-icon.js +7 -0
- package/dist/icons/stroke/stroke-folder-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-happy-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-hashed-icon.js +7 -0
- package/dist/icons/stroke/stroke-information-icon.js +7 -0
- package/dist/icons/stroke/stroke-innovate-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-instagram-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-link-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-linkedin-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-logout-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-mail-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-minus-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-minus-icon.js +7 -0
- package/dist/icons/stroke/stroke-modular-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-neutral-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-news-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-notice-icon.js +7 -0
- package/dist/icons/stroke/stroke-package-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-payment-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-plus-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-plus-icon.js +7 -0
- package/dist/icons/stroke/stroke-proactive-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-productivity-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-recent-icon.js +7 -0
- package/dist/icons/stroke/stroke-remove-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-sad-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-sale-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-salecategory-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-search-icon.js +7 -0
- package/dist/icons/stroke/stroke-stories-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-style-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-support-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-teamplayer-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-thumbsdown-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-thumbsup-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-tiktok-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-trash-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty10y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty1y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty3y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty5y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warrantyconsumable-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warrantylifetime-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-youtube-icon.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +584 -12972
- package/dist/info-icon-tooltip/info-icon-tooltip.d.ts +11 -0
- package/dist/info-icon-tooltip/info-icon-tooltip.js +18 -0
- package/dist/info-icon-tooltip/info-icon-tooltip.module.css.js +3 -0
- package/dist/intl/formatted-date.d.ts +4 -0
- package/dist/intl/formatted-date.js +8 -0
- package/dist/intl/formatted-message.d.ts +3 -3
- package/dist/intl/formatted-message.js +30 -0
- package/dist/intl/intl-context.d.ts +13 -5
- package/dist/intl/intl-context.js +6 -0
- package/dist/intl/intl-provider.d.ts +4 -2
- package/dist/intl/intl-provider.js +35 -0
- package/dist/intl/missing-translation-provider.d.ts +6 -0
- package/dist/intl/missing-translation-provider.js +45 -0
- package/dist/intl/translation-id.d.ts +1 -1
- package/dist/intl/types.d.ts +34 -12
- package/dist/intl/types.js +33 -0
- package/dist/intl/use-country-code.d.ts +3 -0
- package/dist/intl/use-country-code.js +15 -0
- package/dist/intl/use-culture-code.d.ts +2 -1
- package/dist/intl/use-culture-code.js +15 -0
- package/dist/intl/use-currency-code.d.ts +4 -0
- package/dist/intl/use-currency-code.js +15 -0
- package/dist/intl/use-formatted-date.d.ts +6 -0
- package/dist/intl/use-formatted-date.js +20 -0
- package/dist/intl/use-formatted-message.d.ts +2 -2
- package/dist/intl/use-formatted-message.js +17 -0
- package/dist/intl/use-intl.d.ts +1 -0
- package/dist/intl/use-intl.js +12 -0
- package/dist/intl/use-language-code.js +10 -0
- package/dist/intl/utils.js +30 -0
- package/dist/{pages/page-container/page-container.d.ts → layout/center.d.ts} +1 -1
- package/dist/layout/center.js +10 -0
- package/dist/layout/center.module.css.js +3 -0
- package/dist/lists/download-document-list/download-document-list.js +14 -0
- package/dist/lists/download-document-list/download-document-list.module.css.js +3 -0
- package/dist/lists/feature-list/feature-list.js +26 -0
- package/dist/lists/feature-list/feature-list.module.css.js +3 -0
- package/dist/lists/icon-list/icon-list.d.ts +11 -0
- package/dist/lists/icon-list/icon-list.js +13 -0
- package/dist/lists/icon-list/icon-list.module.css.js +3 -0
- package/dist/lists/menu-list/menu-list-back-button.d.ts +8 -0
- package/dist/lists/menu-list/menu-list-back-button.js +10 -0
- package/dist/lists/menu-list/menu-list-header.d.ts +8 -0
- package/dist/lists/menu-list/menu-list-header.js +11 -0
- package/dist/lists/menu-list/menu-list-item.d.ts +16 -0
- package/dist/lists/menu-list/menu-list-item.js +17 -0
- package/dist/lists/menu-list/menu-list-provider.d.ts +11 -0
- package/dist/lists/menu-list/menu-list-provider.js +30 -0
- package/dist/lists/menu-list/menu-list.d.ts +20 -0
- package/dist/lists/menu-list/menu-list.js +15 -0
- package/dist/lists/menu-list/menu-list.module.css.js +3 -0
- package/dist/lists/menu-list/use-menu-list-item.d.ts +5 -0
- package/dist/lists/menu-list/use-menu-list-item.js +13 -0
- package/dist/lists/menu-list/use-menu-list.d.ts +1 -0
- package/dist/lists/menu-list/use-menu-list.js +12 -0
- package/dist/lists/orderline-list/orderline-list.d.ts +1 -1
- package/dist/lists/orderline-list/orderline-list.js +32 -0
- package/dist/lists/orderline-list/orderline-list.module.css.js +3 -0
- package/dist/lists/product-overview-grid/product-overview-grid.js +15 -0
- package/dist/lists/product-overview-grid/product-overview-grid.module.css.js +3 -0
- package/dist/lists/widget-grid/widget-grid.d.ts +5 -0
- package/dist/lists/widget-grid/widget-grid.js +9 -0
- package/dist/lists/widget-grid/widget-grid.module.css.js +3 -0
- package/dist/lists/widget-grid/widget.d.ts +6 -0
- package/dist/lists/widget-grid/widget.js +10 -0
- package/dist/loading/blank-page-spacer.js +9 -0
- package/dist/loading/blank-page-spacer.module.css.js +3 -0
- package/dist/loading/dynamic-loading-overlay.d.ts +5 -0
- package/dist/loading/dynamic-loading-overlay.js +33 -0
- package/dist/loading/dynamic-loading-overlay.module.css.js +3 -0
- package/dist/loading/loading-overlay.js +10 -0
- package/dist/loading/loading-overlay.module.css.js +3 -0
- package/dist/loading/progress-circle.d.ts +3 -1
- package/dist/loading/progress-circle.js +10 -0
- package/dist/loading/progress-circle.module.css.js +3 -0
- package/dist/logging/logger.d.ts +11 -0
- package/dist/logging/logger.js +22 -0
- package/dist/logging/use-log-error.d.ts +1 -0
- package/dist/logging/use-log-error.js +13 -0
- package/dist/media/image/image.d.ts +3 -2
- package/dist/media/image/image.js +63 -0
- package/dist/media/image/image.module.css.js +3 -0
- package/dist/media/image-grid/images-grid.d.ts +2 -1
- package/dist/media/image-grid/images-grid.js +32 -0
- package/dist/media/image-grid/images-grid.module.css.js +3 -0
- package/dist/media/image-lightbox/image-lightbox.d.ts +2 -1
- package/dist/media/image-lightbox/image-lightbox.js +49 -0
- package/dist/media/image-lightbox/image-lightbox.module.css.js +3 -0
- package/dist/media/zoom-image/zoom-image.d.ts +1 -1
- package/dist/media/zoom-image/zoom-image.js +39 -0
- package/dist/media/zoom-image/zoom-image.module.css.js +3 -0
- package/dist/message/message.d.ts +7 -0
- package/dist/message/message.js +17 -0
- package/dist/message/message.module.css.js +3 -0
- package/dist/modals/confirmation/confirmation-dialog.d.ts +5 -3
- package/dist/modals/confirmation/confirmation-dialog.js +12 -0
- package/dist/modals/confirmation/confirmation-dialog.module.css.js +3 -0
- package/dist/modals/dialog/dialog.d.ts +12 -6
- package/dist/modals/dialog/dialog.js +36 -0
- package/dist/modals/dialog/dialog.module.css.js +3 -0
- package/dist/modals/favorite/add-to-favorite-dialog.d.ts +1 -1
- package/dist/modals/favorite/add-to-favorite-dialog.js +60 -0
- package/dist/modals/favorite/add-to-favorite-dialog.module.css.js +3 -0
- package/dist/modals/modal/modal.d.ts +1 -1
- package/dist/modals/modal/modal.js +17 -0
- package/dist/modals/modal/modal.module.css.js +3 -0
- package/dist/modals/recover-password/recover-password-dialog.d.ts +6 -0
- package/dist/modals/recover-password/recover-password-dialog.js +35 -0
- package/dist/modals/signin/sign-in-dialog.js +21 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.d.ts +8 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.js +24 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.module.css.js +3 -0
- package/dist/navigation/panel-navigation/panel-navigation.d.ts +15 -0
- package/dist/navigation/panel-navigation/panel-navigation.js +66 -0
- package/dist/navigation/panel-navigation/panel-navigation.module.css.js +3 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.d.ts +9 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.js +24 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.module.css.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/checkOptions.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createAutocomplete.js +109 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createStore.js +31 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getAutocompleteSetters.js +51 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getCompletion.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getDefaultProps.js +135 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getPropGetters.js +355 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/metadata.js +44 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onInput.js +148 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onKeyDown.js +202 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/reshape.js +48 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/resolve.js +119 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/stateReducer.js +149 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromise.js +50 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromiseList.js +42 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createConcurrentSafePromise.js +38 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getActiveItem.js +79 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getAutocompleteElementId.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNativeEvent.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNextActiveItemId.js +31 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNormalizedSources.js +53 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getPluginSubmitPromise.js +39 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isOrContainsNode.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isSamsung.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/mapToAlgoliaResponse.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/createAlgoliaRequester.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/getAlgoliaResults.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/userAgents.js +8 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createAlgoliaInsightsPlugin.js +252 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createClickedEvent.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createSearchInsightsApi.js +209 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createViewedEvents.js +18 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isAlgoliaInsightsHit.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isModernInsightsClient.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/constants.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/createQuerySuggestionsPlugin.js +118 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/getTemplates.js +64 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/addHighlightedAttribute.js +21 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/constants.js +10 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorage.js +36 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorageRecentSearchesPlugin.js +49 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createRecentSearchesPlugin.js +137 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createStorageApi.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getLocalStorage.js +33 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getTemplates.js +72 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/search.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/constants/index.js +4 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAlgoliaHitHighlight.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAttribute.js +51 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createAlgoliaRequester.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createRequester.js +37 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/getAlgoliaResults.js +19 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/search/fetchAlgoliaResults.js +69 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/utils/getAppIdAndApiKey.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/createRef.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/debounce.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/decycle.js +34 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/flatten.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/generateAutocompleteId.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getItemsCount.js +10 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.js +15 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/isEqual.js +26 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/noop.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/safelyRunOnBrowser.js +13 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/userAgents.js +8 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/version.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/warn.js +26 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/routers/history.js +341 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/stateMappings/simple.js +36 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/documentation.js +8 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/logger.js +32 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/noop.js +3 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/safelyRunOnBrowser.js +24 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/formats.js +33 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/index.js +25 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/parse.js +269 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/stringify.js +300 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/utils.js +264 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/free-mode.js +237 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.js +200 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/thumbs.js +197 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/create-element-if-not-defined.js +21 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/ssr-window.esm.js +146 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/swiper-core.js +3951 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-on-virtual-data.js +131 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-swiper.js +232 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/utils.js +315 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper-react.js +389 -0
- package/dist/notifications/announcements/announcement-list.d.ts +7 -0
- package/dist/notifications/announcements/announcement-list.js +30 -0
- package/dist/notifications/announcements/announcement-list.module.css.js +3 -0
- package/dist/notifications/announcements/announcement.d.ts +2 -1
- package/dist/notifications/announcements/announcement.js +28 -0
- package/dist/notifications/announcements/announcement.module.css.js +3 -0
- package/dist/notifications/announcements/connected-announcement-list.d.ts +3 -0
- package/dist/notifications/announcements/connected-announcement-list.js +22 -0
- package/dist/notifications/announcements/use-filter-announcements.d.ts +2 -0
- package/dist/notifications/announcements/use-filter-announcements.js +35 -0
- package/dist/observers/intersection-observer.d.ts +9 -1
- package/dist/observers/intersection-observer.js +22 -0
- package/dist/pages/account/change-password-page/change-password-page.d.ts +6 -0
- package/dist/pages/account/change-password-page/change-password-page.js +57 -0
- package/dist/pages/account/components/change-password-form/change-password-form.d.ts +16 -0
- package/dist/pages/account/components/change-password-form/change-password-form.js +49 -0
- package/dist/pages/account/components/create-account-form/create-account-form.d.ts +11 -0
- package/dist/pages/account/components/create-account-form/create-account-form.js +75 -0
- package/dist/pages/account/components/create-account-form/create-account-form.module.css.js +3 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.d.ts +28 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.js +77 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.module.css.js +3 -0
- package/dist/pages/account/create-account-page/create-account-page.d.ts +3 -0
- package/dist/pages/account/create-account-page/create-account-page.js +51 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.d.ts +6 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js +9 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +9 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +12 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +3 -0
- package/dist/pages/account/sign-in-page/sign-in-page.d.ts +3 -0
- package/dist/pages/account/sign-in-page/sign-in-page.js +103 -0
- package/dist/pages/checkout/cart-page/cart-page.js +133 -0
- package/dist/pages/checkout/cart-page/components/empty-cart-page.d.ts +1 -0
- package/dist/pages/checkout/cart-page/components/empty-cart-page.js +12 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.d.ts +7 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.js +13 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.module.css.js +3 -0
- package/dist/pages/{layouts → checkout/layouts}/checkout-page-layout/checkout-page-layout.d.ts +1 -1
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +34 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.module.css.js +3 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.d.ts +7 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.js +10 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.d.ts +8 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.js +10 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.d.ts +4 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.js +9 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.d.ts +7 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +11 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.module.css.js +3 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.d.ts +5 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +110 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.d.ts +4 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.js +30 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.d.ts +31 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.js +217 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/components/payment.d.ts +14 -0
- package/dist/pages/checkout/payment-page/components/payment.js +280 -0
- package/dist/pages/checkout/payment-page/components/payment.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.d.ts +1 -0
- package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.js +14 -0
- package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.d.ts +1 -0
- package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.js +9 -0
- package/dist/pages/checkout/payment-page/payment-page-content.d.ts +13 -0
- package/dist/pages/checkout/payment-page/payment-page-content.js +51 -0
- package/dist/pages/checkout/payment-page/payment-page.d.ts +3 -0
- package/dist/pages/checkout/payment-page/payment-page.js +64 -0
- package/dist/pages/checkout/payment-page/utils/parse-amount.d.ts +3 -0
- package/dist/pages/checkout/payment-page/utils/parse-amount.js +10 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.d.ts +6 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.js +81 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/currency-change-dialog.d.ts +6 -0
- package/dist/pages/checkout/shipping-page/components/currency-change-dialog.js +15 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.d.ts +16 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.js +49 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.d.ts +17 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.js +130 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.d.ts +8 -0
- package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.js +25 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.d.ts +1 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.js +15 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.d.ts +22 -0
- package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.js +60 -0
- package/dist/pages/checkout/shipping-page/shipping-page-content.d.ts +15 -0
- package/dist/pages/checkout/shipping-page/shipping-page-content.js +43 -0
- package/dist/pages/checkout/shipping-page/shipping-page.d.ts +1 -0
- package/dist/pages/checkout/shipping-page/shipping-page.js +190 -0
- package/dist/pages/checkout/shipping-page/shipping-page.module.css.js +3 -0
- package/dist/pages/components/page/page.d.ts +13 -0
- package/dist/pages/components/page/page.js +15 -0
- package/dist/pages/components/page-container/page-container.d.ts +10 -0
- package/dist/pages/components/page-container/page-container.js +11 -0
- package/dist/pages/components/page-container/page-container.module.css.js +3 -0
- package/dist/pages/components/page-meta-data/page-meta-data.d.ts +15 -0
- package/dist/pages/components/page-meta-data/page-meta-data.js +100 -0
- package/dist/pages/countries-page/countries-page.d.ts +1 -0
- package/dist/pages/countries-page/countries-page.js +18 -0
- package/dist/pages/error-page/error-page.d.ts +2 -1
- package/dist/pages/error-page/error-page.js +20 -0
- package/dist/pages/loading-page/loading-page.js +10 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.d.ts +16 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.js +30 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.d.ts +16 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.js +76 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.d.ts +7 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.js +50 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.d.ts +12 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.js +25 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.d.ts +8 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.js +28 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.d.ts +5 -0
- package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.js +39 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.d.ts +5 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.js +89 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/create-ship-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.d.ts +4 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.js +94 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/edit-bill-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.d.ts +5 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.js +126 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/edit-ship-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.d.ts +5 -0
- package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.js +56 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.d.ts +10 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.js +15 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.d.ts +11 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.js +29 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-form.d.ts +1 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-form.js +19 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.d.ts +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.js +13 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.d.ts +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.js +12 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.module.css.js +3 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.d.ts +5 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.d.ts +5 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.d.ts +1 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.js +15 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.d.ts +7 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.js +24 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.d.ts +5 -0
- package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.js +26 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.d.ts +21 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.js +45 -0
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.d.ts +8 -0
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.d.ts +7 -0
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.d.ts +9 -0
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/favorites/favorites-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/favorites/favorites-page.js +48 -0
- package/dist/pages/my-sonic/pages/my-account/my-account-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/my-account/my-account-page.js +30 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.d.ts +10 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.js +70 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.module.css.js +3 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-page.d.ts +8 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-page.js +42 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.js +193 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.module.css.js +3 -0
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.d.ts +4 -0
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.js +24 -0
- package/dist/pages/my-sonic/widgets/components/address-data-card.d.ts +23 -0
- package/dist/pages/my-sonic/widgets/components/address-data-card.js +43 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.js +174 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.module.css.js +3 -0
- package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.d.ts +3 -0
- package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.js +34 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.js +57 -0
- package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.d.ts +4 -0
- package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.js +39 -0
- package/dist/pages/my-sonic/widgets/connected-user-account-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-user-account-widget.js +44 -0
- package/dist/pages/product/components/product-overview.d.ts +10 -0
- package/dist/pages/product/components/product-overview.js +20 -0
- package/dist/pages/{layouts → product/layouts}/product-details-page-layout/product-details-page-layout.d.ts +2 -2
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +10 -0
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +3 -0
- package/dist/pages/{product-details-page → product/product-details-page}/components/product-details-images/product-detail-images.d.ts +1 -1
- package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.js +33 -0
- package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.module.css.js +3 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.d.ts +5 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +48 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +3 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +1 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +25 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +3 -0
- package/dist/pages/product/product-details-page/product-details-page.js +22 -0
- package/dist/pages/product/product-details-page/product-details.d.ts +5 -0
- package/dist/pages/product/product-details-page/product-details.js +47 -0
- package/dist/pages/product/product-listing-page/no-results/no-results.js +16 -0
- package/dist/pages/product/product-listing-page/no-results/no-results.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +22 -0
- package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-data-types.d.ts +3 -1
- package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-context.js +8 -0
- package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +14 -0
- package/dist/pages/product/product-listing-page/product-listing-page.js +29 -0
- package/dist/pages/product/product-listing-page/product-listing-page.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +32 -0
- package/dist/pages/product/product-listing-page/product-listing.d.ts +6 -0
- package/dist/pages/product/product-listing-page/product-listing.js +49 -0
- package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +34 -0
- package/dist/pages/product/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.js +22 -0
- package/dist/pages/product/search-result-page/search-results-page.js +53 -0
- package/dist/pages/product/search-result-page/search-results-page.module.css.js +3 -0
- package/dist/promos/promo-banner/promo-banner.js +12 -0
- package/dist/promos/promo-banner/promo-banner.module.css.js +3 -0
- package/dist/promos/promo-banners/promo-banners.d.ts +6 -5
- package/dist/promos/promo-banners/promo-banners.js +17 -0
- package/dist/promos/promo-banners/promo-banners.module.css.js +3 -0
- package/dist/promos/promo-card/promo-card.d.ts +1 -1
- package/dist/promos/promo-card/promo-card.js +11 -0
- package/dist/promos/promo-card/promo-card.module.css.js +3 -0
- package/dist/shared/api/bff/hooks/cart/use-patch-cart.d.ts +11 -0
- package/dist/shared/api/bff/hooks/cart/use-patch-cart.js +20 -0
- package/dist/shared/api/bff/hooks/cart/use-place-order.d.ts +11 -0
- package/dist/shared/api/bff/hooks/cart/use-place-order.js +21 -0
- package/dist/shared/api/{storefront → bff}/hooks/cart/use-save-cart-for-later.d.ts +3 -3
- package/dist/shared/api/bff/hooks/cart/use-save-cart-for-later.js +18 -0
- package/dist/shared/api/bff/hooks/use-fetch-announcements.js +16 -0
- package/dist/shared/api/bff/hooks/use-fetch-favorites.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-favorites.js +30 -0
- package/dist/shared/api/bff/hooks/use-fetch-navigation-links.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-navigation-links.js +16 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.js +15 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-listing-page-data.js +15 -0
- package/dist/shared/api/bff/hooks/use-fetch-products-prices.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-products-prices.js +14 -0
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.d.ts +4 -0
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.js +16 -0
- package/dist/shared/api/bff/model/bff.model.d.ts +88 -3
- package/dist/shared/api/bff/model/bff.model.js +12 -0
- package/dist/shared/api/bff/services/bff-service.d.ts +30 -5
- package/dist/shared/api/bff/services/bff-service.js +179 -0
- package/dist/shared/api/shared/hooks/use-awaitable-mutation.d.ts +31 -0
- package/dist/shared/api/shared/hooks/use-awaitable-mutation.js +47 -0
- package/dist/shared/api/shared/types.d.ts +6 -0
- package/dist/shared/api/storefront/hooks/account/use-create-account.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/account/use-create-account.js +30 -0
- package/dist/shared/api/storefront/hooks/account/use-create-guest-account.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/account/use-create-guest-account.js +38 -0
- package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.js +13 -0
- package/dist/shared/api/storefront/hooks/account/use-patch-current-account.d.ts +11 -0
- package/dist/shared/api/storefront/hooks/account/use-patch-current-account.js +20 -0
- package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.js +20 -0
- package/dist/shared/api/storefront/hooks/authentication/use-invalidate-session.js +10 -0
- package/dist/shared/api/storefront/hooks/authentication/use-is-authenticated.js +9 -0
- package/dist/shared/api/storefront/hooks/authentication/use-patch-session.d.ts +22 -0
- package/dist/shared/api/storefront/hooks/authentication/use-patch-session.js +17 -0
- package/dist/shared/api/storefront/hooks/authentication/use-recover-password.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/authentication/use-recover-password.js +16 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-in.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-in.js +33 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.d.ts +9 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.js +26 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out.d.ts +5 -1
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out.js +30 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.js +26 -0
- package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.d.ts +2 -2
- package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.d.ts +3 -3
- package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.js +19 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.d.ts +8 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.js +9 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.d.ts +52 -20
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.js +12 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.js +12 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.d.ts +40 -7
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.js +31 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.d.ts +3 -4
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.js +8 -0
- package/dist/shared/api/storefront/hooks/cart/use-invalidate-current-cart.js +10 -0
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.d.ts +6 -0
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.js +23 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.js +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.js +14 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.js +8 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.js +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.js +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.js +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.d.ts +8 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.js +14 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.d.ts +5 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.js +19 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.js +16 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.d.ts +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.d.ts +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.d.ts +17 -0
- package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.js +14 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.d.ts +9 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.js +14 -0
- package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.js +11 -0
- package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.js +15 -0
- package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.js +10 -0
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.d.ts +5 -0
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.js +17 -0
- package/dist/shared/api/storefront/hooks/translation/use-fetch-translations.js +16 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.d.ts +2 -2
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.js +16 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.d.ts +4 -2
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.js +17 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.js +17 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-settings.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/website/use-fetch-settings.js +19 -0
- package/dist/shared/api/storefront/hooks/website/use-update-locale.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/website/use-update-locale.js +12 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.js +28 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-wishlist.js +30 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-create-wishlist.js +18 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-delete-wishlist-item-from-wishlist.js +19 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.js +26 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.js +15 -0
- package/dist/shared/api/storefront/model/{shop.model.d.ts → storefront.model.d.ts} +100 -6
- package/dist/shared/api/storefront/model/storefront.model.js +74 -0
- package/dist/shared/api/storefront/services/account-service.d.ts +31 -0
- package/dist/shared/api/storefront/services/account-service.js +87 -0
- package/dist/shared/api/storefront/services/authentication-service.d.ts +37 -13
- package/dist/shared/api/storefront/services/authentication-service.js +176 -0
- package/dist/shared/api/storefront/services/cart-service.d.ts +26 -14
- package/dist/shared/api/storefront/services/cart-service.js +168 -0
- package/dist/shared/api/storefront/services/category-service.d.ts +6 -0
- package/dist/shared/api/storefront/services/category-service.js +19 -0
- package/dist/shared/api/storefront/services/customer-service.d.ts +49 -0
- package/dist/shared/api/storefront/services/customer-service.js +112 -0
- package/dist/shared/api/storefront/services/finance-service.d.ts +13 -0
- package/dist/shared/api/storefront/services/finance-service.js +17 -0
- package/dist/shared/api/storefront/services/order-service.d.ts +10 -0
- package/dist/shared/api/storefront/services/order-service.js +40 -0
- package/dist/shared/api/storefront/services/payment-service.d.ts +8 -0
- package/dist/shared/api/storefront/services/payment-service.js +29 -0
- package/dist/shared/api/storefront/services/product-service.d.ts +4 -0
- package/dist/shared/api/storefront/services/product-service.js +10 -0
- package/dist/shared/api/storefront/services/translation-service.js +21 -0
- package/dist/shared/api/storefront/services/website-service.d.ts +1 -3
- package/dist/shared/api/storefront/services/website-service.js +51 -0
- package/dist/shared/api/storefront/services/wishlist-service.d.ts +4 -1
- package/dist/shared/api/storefront/services/wishlist-service.js +87 -0
- package/dist/shared/data/cart.data.d.ts +2 -0
- package/dist/shared/data/cart.data.js +650 -0
- package/dist/shared/data/countries-languages.data.d.ts +12 -0
- package/dist/shared/data/countries-languages.data.js +74 -0
- package/dist/shared/data/navigation.d.ts +2 -0
- package/dist/shared/data/navigation.js +2605 -0
- package/dist/shared/data/order.d.ts +2 -0
- package/dist/shared/data/order.js +41 -0
- package/dist/shared/error/basic-error-view.d.ts +1 -0
- package/dist/shared/error/basic-error-view.js +10 -0
- package/dist/shared/error/basic-error-view.module.css.js +3 -0
- package/dist/shared/error/default-error-view.d.ts +2 -0
- package/dist/shared/error/default-error-view.js +17 -0
- package/dist/shared/error/default-error-view.module.css.js +3 -0
- package/dist/shared/error/error-boundary.d.ts +16 -0
- package/dist/shared/error/error-boundary.js +94 -0
- package/dist/shared/error/errors.d.ts +17 -0
- package/dist/shared/error/errors.js +62 -0
- package/dist/shared/error/global-unhandled-error-handler.d.ts +13 -0
- package/dist/shared/error/global-unhandled-error-handler.js +71 -0
- package/dist/shared/error/types.d.ts +16 -0
- package/dist/shared/feature-flags/use-feature-flags.d.ts +5 -4
- package/dist/shared/feature-flags/use-feature-flags.js +49 -0
- package/dist/shared/fetch/request.d.ts +41 -28
- package/dist/shared/fetch/request.js +290 -0
- package/dist/shared/ga/data-layer.d.ts +2 -0
- package/dist/shared/ga/data-layer.js +12 -0
- package/dist/shared/ga/google-analytics-provider.d.ts +9 -0
- package/dist/shared/ga/google-analytics-provider.js +17 -0
- package/dist/shared/ga/types.d.ts +38 -0
- package/dist/shared/ga/types.js +8 -0
- package/dist/shared/ga/use-data-layer.d.ts +54 -0
- package/dist/shared/ga/use-data-layer.js +95 -0
- package/dist/shared/hooks/use-breakpoint.js +25 -0
- package/dist/shared/hooks/use-cookiebot.d.ts +16 -0
- package/dist/shared/hooks/use-cookiebot.js +35 -0
- package/dist/shared/hooks/use-css-link.d.ts +3 -0
- package/dist/shared/hooks/use-css-link.js +21 -0
- package/dist/shared/hooks/use-debounced-callback.d.ts +5 -1
- package/dist/shared/hooks/use-debounced-callback.js +19 -0
- package/dist/shared/hooks/use-disclosure.d.ts +3 -3
- package/dist/shared/hooks/use-disclosure.js +25 -0
- package/dist/shared/hooks/use-enable-mobile-zoom.js +37 -0
- package/dist/shared/hooks/use-global-disclosure.d.ts +10 -0
- package/dist/shared/hooks/use-global-disclosure.js +26 -0
- package/dist/shared/hooks/use-inert.d.ts +3 -0
- package/dist/shared/hooks/use-inert.js +16 -0
- package/dist/shared/hooks/use-intersection-observer.d.ts +4 -1
- package/dist/shared/hooks/use-intersection-observer.js +69 -0
- package/dist/shared/hooks/use-is-breakpoint.js +20 -0
- package/dist/shared/hooks/use-is-scrolled-beyond-element.d.ts +1 -0
- package/dist/shared/hooks/use-is-scrolled-beyond-element.js +27 -0
- package/dist/shared/hooks/use-mutation-observer.d.ts +3 -0
- package/dist/shared/hooks/use-mutation-observer.js +28 -0
- package/dist/shared/hooks/use-resize-observer.d.ts +2 -2
- package/dist/shared/hooks/use-resize-observer.js +38 -0
- package/dist/shared/hooks/use-script.d.ts +15 -0
- package/dist/shared/hooks/use-script.js +34 -0
- package/dist/shared/hooks/use-scroll-lock.js +12 -0
- package/dist/shared/hooks/use-watch-css-property.d.ts +1 -0
- package/dist/shared/hooks/use-watch-css-property.js +37 -0
- package/dist/shared/local-storage/local-storage-context.d.ts +2 -0
- package/dist/shared/local-storage/local-storage-context.js +6 -0
- package/dist/shared/local-storage/local-storage-provider.d.ts +5 -0
- package/dist/shared/local-storage/local-storage-provider.js +14 -0
- package/dist/shared/local-storage/storage-mock.d.ts +10 -0
- package/dist/shared/local-storage/storage-mock.js +34 -0
- package/dist/shared/local-storage/types.d.ts +4 -0
- package/dist/shared/local-storage/use-local-storage.js +24 -0
- package/dist/shared/local-storage/use-session-storage.js +24 -0
- package/dist/shared/model/account.d.ts +19 -0
- package/dist/shared/model/account.js +4 -0
- package/dist/shared/model/address.d.ts +30 -0
- package/dist/shared/model/address.js +7 -0
- package/dist/shared/model/announcement.js +18 -0
- package/dist/shared/model/category.d.ts +5 -0
- package/dist/shared/model/category.js +31 -0
- package/dist/shared/model/countries-languages.d.ts +4 -1
- package/dist/shared/model/countries-languages.js +32 -0
- package/dist/shared/model/currency.d.ts +7 -26
- package/dist/shared/model/currency.js +29 -0
- package/dist/shared/model/defaults.d.ts +1 -0
- package/dist/shared/model/defaults.js +3 -0
- package/dist/shared/model/hit.d.ts +2 -0
- package/dist/shared/model/hit.js +46 -0
- package/dist/shared/model/image.d.ts +6 -7
- package/dist/shared/model/image.js +7 -0
- package/dist/shared/model/price.d.ts +5 -2
- package/dist/shared/providers/cart-provider.d.ts +1 -1
- package/dist/shared/providers/cart-provider.js +13 -0
- package/dist/shared/providers/favorite-provider.d.ts +4 -4
- package/dist/shared/providers/favorite-provider.js +33 -0
- package/dist/shared/providers/global-state-provider.js +82 -0
- package/dist/shared/providers/react-query-container.d.ts +9 -3
- package/dist/shared/providers/react-query-container.js +15 -0
- package/dist/shared/reset.module.css.js +3 -0
- package/dist/shared/routing/route-context.d.ts +2 -0
- package/dist/shared/routing/route-context.js +6 -0
- package/dist/shared/routing/route-provider.d.ts +13 -10
- package/dist/shared/routing/route-provider.js +16 -0
- package/dist/shared/routing/route-utils.d.ts +5 -0
- package/dist/shared/routing/route-utils.js +17 -0
- package/dist/shared/routing/types.d.ts +46 -0
- package/dist/shared/routing/use-location.d.ts +9 -0
- package/dist/shared/routing/use-location.js +18 -0
- package/dist/shared/routing/use-navigate.d.ts +6 -0
- package/dist/shared/routing/use-navigate.js +20 -0
- package/dist/shared/routing/use-on-navigate.d.ts +2 -0
- package/dist/shared/routing/use-on-navigate.js +19 -0
- package/dist/shared/routing/use-paths.d.ts +2 -0
- package/dist/shared/routing/use-paths.js +9 -0
- package/dist/shared/routing/use-route-link-element.d.ts +1 -0
- package/dist/shared/routing/use-route-link-element.js +10 -0
- package/dist/shared/routing/use-route-link.d.ts +9 -0
- package/dist/shared/routing/use-route-link.js +26 -0
- package/dist/shared/routing/use-router.d.ts +1 -0
- package/dist/shared/routing/use-router.js +13 -0
- package/dist/shared/routing/with-routing.d.ts +4 -6
- package/dist/shared/routing/with-routing.js +34 -0
- package/dist/shared/utils/array.js +5 -0
- package/dist/shared/utils/breakpoints.js +33 -0
- package/dist/shared/utils/children-to-text.d.ts +2 -0
- package/dist/shared/utils/children-to-text.js +18 -0
- package/dist/shared/utils/css.d.ts +1 -0
- package/dist/shared/utils/css.js +24 -0
- package/dist/shared/utils/date.d.ts +5 -11
- package/dist/shared/utils/date.js +13 -0
- package/dist/shared/utils/debug.d.ts +2 -0
- package/dist/shared/utils/debug.js +21 -0
- package/dist/shared/utils/environment.d.ts +3 -2
- package/dist/shared/utils/environment.js +69 -0
- package/dist/shared/utils/event-emitter.js +34 -0
- package/dist/shared/utils/greeting.d.ts +1 -0
- package/dist/shared/utils/greeting.js +15 -0
- package/dist/shared/utils/merge.js +70 -0
- package/dist/shared/utils/number.d.ts +2 -0
- package/dist/shared/utils/number.js +10 -0
- package/dist/shared/utils/price.d.ts +22 -1
- package/dist/shared/utils/price.js +79 -0
- package/dist/shared/utils/promise.d.ts +2 -0
- package/dist/shared/utils/promise.js +9 -0
- package/dist/shared/utils/query-client.d.ts +4 -0
- package/dist/shared/utils/query-client.js +33 -0
- package/dist/shared/utils/random.d.ts +10 -0
- package/dist/shared/utils/random.js +16 -0
- package/dist/shared/utils/refs.d.ts +2 -0
- package/dist/shared/utils/refs.js +14 -0
- package/dist/shared/{hooks/use-scroll-to.d.ts → utils/scrolling.d.ts} +1 -1
- package/dist/shared/utils/scrolling.js +16 -0
- package/dist/shared/utils/string.d.ts +1 -0
- package/dist/shared/utils/string.js +7 -0
- package/dist/shared/utils/time.js +9 -0
- package/dist/shared/utils/types.d.ts +4 -0
- package/dist/shared/utils/types.js +11 -0
- package/dist/shared/utils/url.d.ts +5 -0
- package/dist/shared/utils/url.js +20 -0
- package/dist/shared/utils/url.test.d.ts +1 -0
- package/dist/shared/utils/uuid.d.ts +3 -1
- package/dist/shared/utils/uuid.js +18 -0
- package/dist/sidebar/sidebar-provider.js +47 -0
- package/dist/sidebar/sidebar-provider.module.css.js +3 -0
- package/dist/sidebar/sidebar.d.ts +2 -1
- package/dist/sidebar/sidebar.js +23 -0
- package/dist/sidebar/sidebar.module.css.js +3 -0
- package/dist/sidebar/toggle-sidebar-button.js +13 -0
- package/dist/sidebar/use-sidebar.js +39 -0
- package/dist/styles.css +8497 -3468
- package/dist/table/data-table.d.ts +55 -0
- package/dist/table/data-table.js +103 -0
- package/dist/table/data-table.module.css.js +3 -0
- package/dist/table/elements/col.d.ts +7 -0
- package/dist/table/elements/col.js +10 -0
- package/dist/table/elements/switch-sort-direction.d.ts +2 -0
- package/dist/table/elements/switch-sort-direction.js +11 -0
- package/dist/table/elements/table-context.d.ts +19 -0
- package/dist/table/elements/table-context.js +6 -0
- package/dist/table/elements/table-provider.d.ts +26 -0
- package/dist/table/elements/table-provider.js +75 -0
- package/dist/table/elements/table-row-context.d.ts +14 -0
- package/dist/table/elements/table-row-context.js +17 -0
- package/dist/table/elements/table-row-provider.d.ts +4 -0
- package/dist/table/elements/table-row-provider.js +26 -0
- package/dist/table/elements/table-sort-button.d.ts +12 -0
- package/dist/table/elements/table-sort-button.js +19 -0
- package/dist/table/elements/table.d.ts +14 -0
- package/dist/table/elements/table.js +24 -0
- package/dist/table/elements/table.module.css.js +3 -0
- package/dist/table/elements/td.d.ts +7 -0
- package/dist/table/elements/td.js +13 -0
- package/dist/table/elements/th.d.ts +2 -0
- package/dist/table/elements/th.js +12 -0
- package/dist/table/elements/tr.d.ts +2 -0
- package/dist/table/elements/tr.js +11 -0
- package/dist/table/elements/types.d.ts +39 -0
- package/dist/table/elements/use-table-row.d.ts +1 -0
- package/dist/table/elements/use-table-row.js +9 -0
- package/dist/table/elements/use-table.d.ts +2 -0
- package/dist/table/elements/use-table.js +12 -0
- package/dist/table/elements/use-td.d.ts +2 -0
- package/dist/table/elements/use-td.js +28 -0
- package/dist/table/elements/use-th.d.ts +2 -0
- package/dist/table/elements/use-th.js +21 -0
- package/dist/text/highlight-text/highlight-text.d.ts +10 -0
- package/dist/text/highlight-text/highlight-text.js +20 -0
- package/dist/text/highlight-text/highlight-text.module.css.js +3 -0
- package/dist/text/status-text/status-text.d.ts +6 -0
- package/dist/text/status-text/status-text.js +9 -0
- package/dist/text/status-text/status-text.module.css.js +3 -0
- package/dist/text/truncated/truncated.d.ts +7 -0
- package/dist/text/truncated/truncated.js +12 -0
- package/dist/text/truncated/truncated.module.css.js +3 -0
- package/dist/toast/toast-provider.js +10 -0
- package/dist/toast/toast-provider.module.css.js +3 -0
- package/dist/toast/toast.js +22 -0
- package/dist/toast/toast.module.css.js +3 -0
- package/dist/toast/use-toast.js +21 -0
- package/dist/tokens/tokens.js +8 -0
- package/dist/tooltip/tooltip.d.ts +10 -0
- package/dist/tooltip/tooltip.js +32 -0
- package/dist/tooltip/tooltip.module.css.js +3 -0
- package/dist/typography/heading/heading.d.ts +8 -2
- package/dist/typography/heading/heading.js +31 -0
- package/dist/typography/heading/heading.module.css.js +3 -0
- package/package.json +73 -69
- package/dist/display/product-price/product-price.d.ts +0 -8
- package/dist/display/product-price/product-total-price.d.ts +0 -7
- package/dist/forms/checkbox/checkbox.d.ts +0 -11
- package/dist/forms/color-checkbox/color-checkbox.d.ts +0 -5
- package/dist/forms/field-error/field-error.d.ts +0 -5
- package/dist/forms/label/label.d.ts +0 -6
- package/dist/forms/number-field/number-field.d.ts +0 -31
- package/dist/forms/select/select.d.ts +0 -13
- package/dist/forms/text-field/text-field.d.ts +0 -29
- package/dist/header/cart-icon/connected-cart-icon.d.ts +0 -3
- package/dist/icons/other/career-innovate-icon.d.ts +0 -1
- package/dist/icons/other/career-proactive-icon.d.ts +0 -1
- package/dist/icons/other/career-teamplayer-icon.d.ts +0 -1
- package/dist/icons/other/fallback-icon.d.ts +0 -1
- package/dist/icons/other/some-facebook-icon.d.ts +0 -1
- package/dist/icons/other/some-instagram-icon.d.ts +0 -1
- package/dist/icons/other/some-linkedin-icon.d.ts +0 -1
- package/dist/icons/other/some-mail-icon.d.ts +0 -1
- package/dist/icons/other/some-youtube-icon.d.ts +0 -1
- package/dist/icons/other/usp-efficiency-icon.d.ts +0 -1
- package/dist/icons/other/usp-style-icon.d.ts +0 -1
- package/dist/icons/other/usp-support-icon.d.ts +0 -1
- package/dist/icons/other/warranty-10y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-1y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-3y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-5y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-consumable-icon.d.ts +0 -1
- package/dist/icons/other/warranty-lifetime-icon.d.ts +0 -1
- package/dist/icons/solid/solid-event-icon.d.ts +0 -1
- package/dist/icons/solid/solid-sale-icon.d.ts +0 -1
- package/dist/icons/solid/solid-vote-thumbsdown-icon.d.ts +0 -1
- package/dist/icons/solid/solid-vote-thumbsup-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-collapse-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-expand-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-vote-thumbsdown-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-vote-thumbsup-icon.d.ts +0 -1
- package/dist/lists/ul/list.d.ts +0 -10
- package/dist/notifications/announcements/announcement-provider.d.ts +0 -1
- package/dist/notifications/announcements/connected-announcement.d.ts +0 -5
- package/dist/pages/page/page.d.ts +0 -9
- package/dist/pages/product-details-page/components/product-details-panel/product-details-panel.d.ts +0 -4
- package/dist/pages/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +0 -4
- package/dist/shared/api/bff/model/announcement.model.d.ts +0 -12
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart.d.ts +0 -4
- package/dist/shared/api/storefront/hooks/cart/use-place-order.d.ts +0 -4
- package/dist/shared/api/storefront/hooks/cart/use-update-cart-line-by-id.d.ts +0 -6
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries.d.ts +0 -1
- package/dist/shared/routing/route-button.d.ts +0 -1
- package/dist/shared/routing/route-icon-button.d.ts +0 -1
- package/dist/shared/routing/route-link.d.ts +0 -1
- package/dist/shared/utils/local-storage.d.ts +0 -7
- package/dist/shared/utils/wait.d.ts +0 -1
- /package/dist/algolia/{algolia-intialization.d.ts → algolia-initialization.d.ts} +0 -0
- /package/dist/pages/{cart-page → checkout/cart-page}/cart-page.d.ts +0 -0
- /package/dist/pages/{product-details-page → product/product-details-page}/product-details-page.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/no-results/no-results.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-category-carousel/product-listing-page-category-carousel.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-context.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-provider.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-product-overview/product-listing-product-overview.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-result-product-overview/search-result-product-overview.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page-category-carousel/search-results-page-category-carousel.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page.d.ts +0 -0
- /package/dist/shared/{hooks → local-storage}/use-local-storage.d.ts +0 -0
- /package/dist/shared/{hooks → local-storage}/use-session-storage.d.ts +0 -0
- /package/dist/shared/utils/{date.test.d.ts → string.test.d.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Throws an error if the condition is not met in development mode.
|
|
3
|
+
* This is used to make development a better experience to provide guidance as
|
|
4
|
+
* to where the error comes from.
|
|
5
|
+
*/
|
|
6
|
+
function invariant(condition, message) {
|
|
7
|
+
if (!(process.env.NODE_ENV !== 'production')) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
if (!condition) {
|
|
11
|
+
throw new Error("[Autocomplete] ".concat(typeof message === 'function' ? message() : message));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { invariant };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function isPrimitive(obj) {
|
|
2
|
+
return obj !== Object(obj);
|
|
3
|
+
}
|
|
4
|
+
function isEqual(first, second) {
|
|
5
|
+
if (first === second) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
if (isPrimitive(first) || isPrimitive(second) || typeof first === 'function' || typeof second === 'function') {
|
|
9
|
+
return first === second;
|
|
10
|
+
}
|
|
11
|
+
if (Object.keys(first).length !== Object.keys(second).length) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
for (var _i = 0, _Object$keys = Object.keys(first); _i < _Object$keys.length; _i++) {
|
|
15
|
+
var key = _Object$keys[_i];
|
|
16
|
+
if (!(key in second)) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
if (!isEqual(first[key], second[key])) {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { isEqual };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Safely runs code meant for browser environments only.
|
|
3
|
+
*/
|
|
4
|
+
function safelyRunOnBrowser(callback) {
|
|
5
|
+
if (typeof window !== 'undefined') {
|
|
6
|
+
return callback({
|
|
7
|
+
window: window
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { safelyRunOnBrowser };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var warnCache = {
|
|
2
|
+
current: {}
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Logs a warning if the condition is not met.
|
|
7
|
+
* This is used to log issues in development environment only.
|
|
8
|
+
*/
|
|
9
|
+
function warn(condition, message) {
|
|
10
|
+
if (!(process.env.NODE_ENV !== 'production')) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (condition) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
var sanitizedMessage = message.trim();
|
|
17
|
+
var hasAlreadyPrinted = warnCache.current[sanitizedMessage];
|
|
18
|
+
if (!hasAlreadyPrinted) {
|
|
19
|
+
warnCache.current[sanitizedMessage] = true;
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line no-console
|
|
22
|
+
console.warn("[Autocomplete] ".concat(sanitizedMessage));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { warn, warnCache };
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import qs from '../../../../../../../../_virtual/index.js';
|
|
2
|
+
import { safelyRunOnBrowser } from '../utils/safelyRunOnBrowser.js';
|
|
3
|
+
import { createDocumentationLink } from '../utils/documentation.js';
|
|
4
|
+
import { warning as _warning } from '../utils/logger.js';
|
|
5
|
+
|
|
6
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
7
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
9
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
+
var setWindowTitle = function setWindowTitle(title) {
|
|
14
|
+
if (title) {
|
|
15
|
+
// This function is only executed on browsers so we can disable this check.
|
|
16
|
+
// eslint-disable-next-line no-restricted-globals
|
|
17
|
+
window.document.title = title;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
var BrowserHistory = /*#__PURE__*/function () {
|
|
21
|
+
/**
|
|
22
|
+
* Initializes a new storage provider that syncs the search state to the URL
|
|
23
|
+
* using web APIs (`window.location.pushState` and `onpopstate` event).
|
|
24
|
+
*/
|
|
25
|
+
function BrowserHistory(_ref) {
|
|
26
|
+
var _this = this;
|
|
27
|
+
var windowTitle = _ref.windowTitle,
|
|
28
|
+
_ref$writeDelay = _ref.writeDelay,
|
|
29
|
+
writeDelay = _ref$writeDelay === void 0 ? 400 : _ref$writeDelay,
|
|
30
|
+
createURL = _ref.createURL,
|
|
31
|
+
parseURL = _ref.parseURL,
|
|
32
|
+
getLocation = _ref.getLocation,
|
|
33
|
+
start = _ref.start,
|
|
34
|
+
dispose = _ref.dispose,
|
|
35
|
+
push = _ref.push,
|
|
36
|
+
cleanUrlOnDispose = _ref.cleanUrlOnDispose;
|
|
37
|
+
_classCallCheck(this, BrowserHistory);
|
|
38
|
+
_defineProperty(this, "$$type", 'ais.browser');
|
|
39
|
+
/**
|
|
40
|
+
* Transforms a UI state into a title for the page.
|
|
41
|
+
*/
|
|
42
|
+
_defineProperty(this, "windowTitle", void 0);
|
|
43
|
+
/**
|
|
44
|
+
* Time in milliseconds before performing a write in the history.
|
|
45
|
+
* It prevents from adding too many entries in the history and
|
|
46
|
+
* makes the back button more usable.
|
|
47
|
+
*
|
|
48
|
+
* @default 400
|
|
49
|
+
*/
|
|
50
|
+
_defineProperty(this, "writeDelay", void 0);
|
|
51
|
+
/**
|
|
52
|
+
* Creates a full URL based on the route state.
|
|
53
|
+
* The storage adaptor maps all syncable keys to the query string of the URL.
|
|
54
|
+
*/
|
|
55
|
+
_defineProperty(this, "_createURL", void 0);
|
|
56
|
+
/**
|
|
57
|
+
* Parses the URL into a route state.
|
|
58
|
+
* It should be symmetrical to `createURL`.
|
|
59
|
+
*/
|
|
60
|
+
_defineProperty(this, "parseURL", void 0);
|
|
61
|
+
/**
|
|
62
|
+
* Returns the location to store in the history.
|
|
63
|
+
* @default () => window.location
|
|
64
|
+
*/
|
|
65
|
+
_defineProperty(this, "getLocation", void 0);
|
|
66
|
+
_defineProperty(this, "writeTimer", void 0);
|
|
67
|
+
_defineProperty(this, "_onPopState", void 0);
|
|
68
|
+
/**
|
|
69
|
+
* Indicates if last action was back/forward in the browser.
|
|
70
|
+
*/
|
|
71
|
+
_defineProperty(this, "inPopState", false);
|
|
72
|
+
/**
|
|
73
|
+
* Indicates whether the history router is disposed or not.
|
|
74
|
+
*/
|
|
75
|
+
_defineProperty(this, "isDisposed", false);
|
|
76
|
+
/**
|
|
77
|
+
* Indicates the window.history.length before the last call to
|
|
78
|
+
* window.history.pushState (called in `write`).
|
|
79
|
+
* It allows to determine if a `pushState` has been triggered elsewhere,
|
|
80
|
+
* and thus to prevent the `write` method from calling `pushState`.
|
|
81
|
+
*/
|
|
82
|
+
_defineProperty(this, "latestAcknowledgedHistory", 0);
|
|
83
|
+
_defineProperty(this, "_start", void 0);
|
|
84
|
+
_defineProperty(this, "_dispose", void 0);
|
|
85
|
+
_defineProperty(this, "_push", void 0);
|
|
86
|
+
_defineProperty(this, "_cleanUrlOnDispose", void 0);
|
|
87
|
+
this.windowTitle = windowTitle;
|
|
88
|
+
this.writeTimer = undefined;
|
|
89
|
+
this.writeDelay = writeDelay;
|
|
90
|
+
this._createURL = createURL;
|
|
91
|
+
this.parseURL = parseURL;
|
|
92
|
+
this.getLocation = getLocation;
|
|
93
|
+
this._start = start;
|
|
94
|
+
this._dispose = dispose;
|
|
95
|
+
this._push = push;
|
|
96
|
+
this._cleanUrlOnDispose = typeof cleanUrlOnDispose === 'undefined' ? true : cleanUrlOnDispose;
|
|
97
|
+
if (process.env.NODE_ENV === 'development' && typeof cleanUrlOnDispose === 'undefined') {
|
|
98
|
+
// eslint-disable-next-line no-console
|
|
99
|
+
console.info("Starting from the next major version, InstantSearch will not clean up the URL from active refinements when it is disposed.\n\nWe recommend setting `cleanUrlOnDispose` to false to adopt this change today.\nTo stay with the current behaviour and remove this warning, set the option to true.\n\nSee documentation: ".concat(createDocumentationLink({
|
|
100
|
+
name: 'history-router'
|
|
101
|
+
}), "#widget-param-cleanurlondispose"));
|
|
102
|
+
}
|
|
103
|
+
safelyRunOnBrowser(function (_ref2) {
|
|
104
|
+
var window = _ref2.window;
|
|
105
|
+
var title = _this.windowTitle && _this.windowTitle(_this.read());
|
|
106
|
+
setWindowTitle(title);
|
|
107
|
+
_this.latestAcknowledgedHistory = window.history.length;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Reads the URL and returns a syncable UI search state.
|
|
113
|
+
*/
|
|
114
|
+
_createClass(BrowserHistory, [{
|
|
115
|
+
key: "read",
|
|
116
|
+
value: function read() {
|
|
117
|
+
return this.parseURL({
|
|
118
|
+
qsModule: qs,
|
|
119
|
+
location: this.getLocation()
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Pushes a search state into the URL.
|
|
125
|
+
*/
|
|
126
|
+
}, {
|
|
127
|
+
key: "write",
|
|
128
|
+
value: function write(routeState) {
|
|
129
|
+
var _this2 = this;
|
|
130
|
+
safelyRunOnBrowser(function (_ref3) {
|
|
131
|
+
var window = _ref3.window;
|
|
132
|
+
var url = _this2.createURL(routeState);
|
|
133
|
+
var title = _this2.windowTitle && _this2.windowTitle(routeState);
|
|
134
|
+
if (_this2.writeTimer) {
|
|
135
|
+
clearTimeout(_this2.writeTimer);
|
|
136
|
+
}
|
|
137
|
+
_this2.writeTimer = setTimeout(function () {
|
|
138
|
+
setWindowTitle(title);
|
|
139
|
+
if (_this2.shouldWrite(url)) {
|
|
140
|
+
if (_this2._push) {
|
|
141
|
+
_this2._push(url);
|
|
142
|
+
} else {
|
|
143
|
+
window.history.pushState(routeState, title || '', url);
|
|
144
|
+
}
|
|
145
|
+
_this2.latestAcknowledgedHistory = window.history.length;
|
|
146
|
+
}
|
|
147
|
+
_this2.inPopState = false;
|
|
148
|
+
_this2.writeTimer = undefined;
|
|
149
|
+
}, _this2.writeDelay);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Sets a callback on the `onpopstate` event of the history API of the current page.
|
|
155
|
+
* It enables the URL sync to keep track of the changes.
|
|
156
|
+
*/
|
|
157
|
+
}, {
|
|
158
|
+
key: "onUpdate",
|
|
159
|
+
value: function onUpdate(callback) {
|
|
160
|
+
var _this3 = this;
|
|
161
|
+
if (this._start) {
|
|
162
|
+
this._start(function () {
|
|
163
|
+
callback(_this3.read());
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
this._onPopState = function () {
|
|
167
|
+
if (_this3.writeTimer) {
|
|
168
|
+
clearTimeout(_this3.writeTimer);
|
|
169
|
+
_this3.writeTimer = undefined;
|
|
170
|
+
}
|
|
171
|
+
_this3.inPopState = true;
|
|
172
|
+
|
|
173
|
+
// We always read the state from the URL because the state of the history
|
|
174
|
+
// can be incorect in some cases (e.g. using React Router).
|
|
175
|
+
callback(_this3.read());
|
|
176
|
+
};
|
|
177
|
+
safelyRunOnBrowser(function (_ref4) {
|
|
178
|
+
var window = _ref4.window;
|
|
179
|
+
window.addEventListener('popstate', _this3._onPopState);
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Creates a complete URL from a given syncable UI state.
|
|
185
|
+
*
|
|
186
|
+
* It always generates the full URL, not a relative one.
|
|
187
|
+
* This allows to handle cases like using a <base href>.
|
|
188
|
+
* See: https://github.com/algolia/instantsearch/issues/790
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "createURL",
|
|
192
|
+
value: function createURL(routeState) {
|
|
193
|
+
var url = this._createURL({
|
|
194
|
+
qsModule: qs,
|
|
195
|
+
routeState: routeState,
|
|
196
|
+
location: this.getLocation()
|
|
197
|
+
});
|
|
198
|
+
if (process.env.NODE_ENV === 'development') {
|
|
199
|
+
try {
|
|
200
|
+
// We just want to check if the URL is valid.
|
|
201
|
+
// eslint-disable-next-line no-new
|
|
202
|
+
new URL(url);
|
|
203
|
+
} catch (e) {
|
|
204
|
+
process.env.NODE_ENV === 'development' ? _warning(false, "The URL returned by the `createURL` function is invalid.\nPlease make sure it returns an absolute URL to avoid issues, e.g: `https://algolia.com/search?query=iphone`.") : void 0;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
return url;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Removes the event listener and cleans up the URL.
|
|
212
|
+
*/
|
|
213
|
+
}, {
|
|
214
|
+
key: "dispose",
|
|
215
|
+
value: function dispose() {
|
|
216
|
+
var _this4 = this;
|
|
217
|
+
if (this._dispose) {
|
|
218
|
+
this._dispose();
|
|
219
|
+
}
|
|
220
|
+
this.isDisposed = true;
|
|
221
|
+
safelyRunOnBrowser(function (_ref5) {
|
|
222
|
+
var window = _ref5.window;
|
|
223
|
+
if (_this4._onPopState) {
|
|
224
|
+
window.removeEventListener('popstate', _this4._onPopState);
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
if (this.writeTimer) {
|
|
228
|
+
clearTimeout(this.writeTimer);
|
|
229
|
+
}
|
|
230
|
+
if (this._cleanUrlOnDispose) {
|
|
231
|
+
this.write({});
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}, {
|
|
235
|
+
key: "start",
|
|
236
|
+
value: function start() {
|
|
237
|
+
this.isDisposed = false;
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
key: "shouldWrite",
|
|
241
|
+
value: function shouldWrite(url) {
|
|
242
|
+
var _this5 = this;
|
|
243
|
+
return safelyRunOnBrowser(function (_ref6) {
|
|
244
|
+
var window = _ref6.window;
|
|
245
|
+
// When disposed and the cleanUrlOnDispose is set to false, we do not want to write the URL.
|
|
246
|
+
if (_this5.isDisposed && !_this5._cleanUrlOnDispose) {
|
|
247
|
+
return false;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// We do want to `pushState` if:
|
|
251
|
+
// - the router is not disposed, IS.js needs to update the URL
|
|
252
|
+
// OR
|
|
253
|
+
// - the last write was from InstantSearch.js
|
|
254
|
+
// (unlike a SPA, where it would have last written)
|
|
255
|
+
var lastPushWasByISAfterDispose = !(_this5.isDisposed && _this5.latestAcknowledgedHistory !== window.history.length);
|
|
256
|
+
return (
|
|
257
|
+
// When the last state change was through popstate, the IS.js state changes,
|
|
258
|
+
// but that should not write the URL.
|
|
259
|
+
!_this5.inPopState &&
|
|
260
|
+
// When the previous pushState after dispose was by IS.js, we want to write the URL.
|
|
261
|
+
lastPushWasByISAfterDispose &&
|
|
262
|
+
// When the URL is the same as the current one, we do not want to write it.
|
|
263
|
+
url !== window.location.href
|
|
264
|
+
);
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
}]);
|
|
268
|
+
return BrowserHistory;
|
|
269
|
+
}();
|
|
270
|
+
function historyRouter() {
|
|
271
|
+
var _ref7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
272
|
+
_ref7$createURL = _ref7.createURL,
|
|
273
|
+
createURL = _ref7$createURL === void 0 ? function (_ref8) {
|
|
274
|
+
var qsModule = _ref8.qsModule,
|
|
275
|
+
routeState = _ref8.routeState,
|
|
276
|
+
location = _ref8.location;
|
|
277
|
+
var protocol = location.protocol,
|
|
278
|
+
hostname = location.hostname,
|
|
279
|
+
_location$port = location.port,
|
|
280
|
+
port = _location$port === void 0 ? '' : _location$port,
|
|
281
|
+
pathname = location.pathname,
|
|
282
|
+
hash = location.hash;
|
|
283
|
+
var queryString = qsModule.stringify(routeState);
|
|
284
|
+
var portWithPrefix = port === '' ? '' : ":".concat(port);
|
|
285
|
+
|
|
286
|
+
// IE <= 11 has no proper `location.origin` so we cannot rely on it.
|
|
287
|
+
if (!queryString) {
|
|
288
|
+
return "".concat(protocol, "//").concat(hostname).concat(portWithPrefix).concat(pathname).concat(hash);
|
|
289
|
+
}
|
|
290
|
+
return "".concat(protocol, "//").concat(hostname).concat(portWithPrefix).concat(pathname, "?").concat(queryString).concat(hash);
|
|
291
|
+
} : _ref7$createURL,
|
|
292
|
+
_ref7$parseURL = _ref7.parseURL,
|
|
293
|
+
parseURL = _ref7$parseURL === void 0 ? function (_ref9) {
|
|
294
|
+
var qsModule = _ref9.qsModule,
|
|
295
|
+
location = _ref9.location;
|
|
296
|
+
// `qs` by default converts arrays with more than 20 items to an object.
|
|
297
|
+
// We want to avoid this because the data structure manipulated can therefore vary.
|
|
298
|
+
// Setting the limit to `100` seems a good number because the engine's default is 100
|
|
299
|
+
// (it can go up to 1000 but it is very unlikely to select more than 100 items in the UI).
|
|
300
|
+
//
|
|
301
|
+
// Using an `arrayLimit` of `n` allows `n + 1` items.
|
|
302
|
+
//
|
|
303
|
+
// See:
|
|
304
|
+
// - https://github.com/ljharb/qs#parsing-arrays
|
|
305
|
+
// - https://www.algolia.com/doc/api-reference/api-parameters/maxValuesPerFacet/
|
|
306
|
+
return qsModule.parse(location.search.slice(1), {
|
|
307
|
+
arrayLimit: 99
|
|
308
|
+
});
|
|
309
|
+
} : _ref7$parseURL,
|
|
310
|
+
_ref7$writeDelay = _ref7.writeDelay,
|
|
311
|
+
writeDelay = _ref7$writeDelay === void 0 ? 400 : _ref7$writeDelay,
|
|
312
|
+
windowTitle = _ref7.windowTitle,
|
|
313
|
+
_ref7$getLocation = _ref7.getLocation,
|
|
314
|
+
getLocation = _ref7$getLocation === void 0 ? function () {
|
|
315
|
+
return safelyRunOnBrowser(function (_ref10) {
|
|
316
|
+
var window = _ref10.window;
|
|
317
|
+
return window.location;
|
|
318
|
+
}, {
|
|
319
|
+
fallback: function fallback() {
|
|
320
|
+
throw new Error('You need to provide `getLocation` to the `history` router in environments where `window` does not exist.');
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
} : _ref7$getLocation,
|
|
324
|
+
start = _ref7.start,
|
|
325
|
+
dispose = _ref7.dispose,
|
|
326
|
+
push = _ref7.push,
|
|
327
|
+
cleanUrlOnDispose = _ref7.cleanUrlOnDispose;
|
|
328
|
+
return new BrowserHistory({
|
|
329
|
+
createURL: createURL,
|
|
330
|
+
parseURL: parseURL,
|
|
331
|
+
writeDelay: writeDelay,
|
|
332
|
+
windowTitle: windowTitle,
|
|
333
|
+
getLocation: getLocation,
|
|
334
|
+
start: start,
|
|
335
|
+
dispose: dispose,
|
|
336
|
+
push: push,
|
|
337
|
+
cleanUrlOnDispose: cleanUrlOnDispose
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export { historyRouter as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["configure"];
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
+
function getIndexStateWithoutConfigure(uiState) {
|
|
11
|
+
uiState.configure;
|
|
12
|
+
var trackedUiState = _objectWithoutProperties(uiState, _excluded);
|
|
13
|
+
return trackedUiState;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// technically a URL could contain any key, since users provide it,
|
|
17
|
+
// which is why the input to this function is UiState, not something
|
|
18
|
+
// which excludes "configure" as this function does.
|
|
19
|
+
function simpleStateMapping() {
|
|
20
|
+
return {
|
|
21
|
+
$$type: 'ais.simple',
|
|
22
|
+
stateToRoute: function stateToRoute(uiState) {
|
|
23
|
+
return Object.keys(uiState).reduce(function (state, indexId) {
|
|
24
|
+
return _objectSpread(_objectSpread({}, state), {}, _defineProperty({}, indexId, getIndexStateWithoutConfigure(uiState[indexId])));
|
|
25
|
+
}, {});
|
|
26
|
+
},
|
|
27
|
+
routeToState: function routeToState() {
|
|
28
|
+
var routeState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
29
|
+
return Object.keys(routeState).reduce(function (state, indexId) {
|
|
30
|
+
return _objectSpread(_objectSpread({}, state), {}, _defineProperty({}, indexId, getIndexStateWithoutConfigure(routeState[indexId])));
|
|
31
|
+
}, {});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { simpleStateMapping as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
function createDocumentationLink(_ref) {
|
|
2
|
+
var name = _ref.name,
|
|
3
|
+
_ref$connector = _ref.connector,
|
|
4
|
+
connector = _ref$connector === void 0 ? false : _ref$connector;
|
|
5
|
+
return ['https://www.algolia.com/doc/api-reference/widgets/', name, '/js/', connector ? '#connector' : ''].join('');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { createDocumentationLink };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { noop } from './noop.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Logs a warning
|
|
5
|
+
* This is used to log issues in development environment only.
|
|
6
|
+
*/
|
|
7
|
+
var warn = noop;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Logs a warning if the condition is not met.
|
|
11
|
+
* This is used to log issues in development environment only.
|
|
12
|
+
*/
|
|
13
|
+
var _warning = noop;
|
|
14
|
+
if (process.env.NODE_ENV === 'development') {
|
|
15
|
+
warn = function warn(message) {
|
|
16
|
+
// eslint-disable-next-line no-console
|
|
17
|
+
console.warn("[InstantSearch.js]: ".concat(message.trim()));
|
|
18
|
+
};
|
|
19
|
+
_warning = function warning(condition, message) {
|
|
20
|
+
if (condition) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
var hasAlreadyPrinted = _warning.cache[message];
|
|
24
|
+
if (!hasAlreadyPrinted) {
|
|
25
|
+
_warning.cache[message] = true;
|
|
26
|
+
process.env.NODE_ENV === 'development' ? warn(message) : void 0;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
_warning.cache = {};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { warn, _warning as warning };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// eslint-disable-next-line no-restricted-globals
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Runs code on browser environments safely.
|
|
5
|
+
*/
|
|
6
|
+
function safelyRunOnBrowser(callback) {
|
|
7
|
+
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
8
|
+
fallback: function fallback() {
|
|
9
|
+
return undefined;
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
fallback = _ref.fallback;
|
|
13
|
+
// eslint-disable-next-line no-restricted-globals
|
|
14
|
+
if (typeof window === 'undefined') {
|
|
15
|
+
return fallback();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line no-restricted-globals
|
|
19
|
+
return callback({
|
|
20
|
+
window: window
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { safelyRunOnBrowser };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var formats;
|
|
3
|
+
var hasRequiredFormats;
|
|
4
|
+
|
|
5
|
+
function requireFormats () {
|
|
6
|
+
if (hasRequiredFormats) return formats;
|
|
7
|
+
hasRequiredFormats = 1;
|
|
8
|
+
|
|
9
|
+
var replace = String.prototype.replace;
|
|
10
|
+
var percentTwenties = /%20/g;
|
|
11
|
+
|
|
12
|
+
var Format = {
|
|
13
|
+
RFC1738: 'RFC1738',
|
|
14
|
+
RFC3986: 'RFC3986'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
formats = {
|
|
18
|
+
'default': Format.RFC3986,
|
|
19
|
+
formatters: {
|
|
20
|
+
RFC1738: function (value) {
|
|
21
|
+
return replace.call(value, percentTwenties, '+');
|
|
22
|
+
},
|
|
23
|
+
RFC3986: function (value) {
|
|
24
|
+
return String(value);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
RFC1738: Format.RFC1738,
|
|
28
|
+
RFC3986: Format.RFC3986
|
|
29
|
+
};
|
|
30
|
+
return formats;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { requireFormats as __require };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import { __require as requireStringify } from './stringify.js';
|
|
3
|
+
import { __require as requireParse } from './parse.js';
|
|
4
|
+
import { __require as requireFormats } from './formats.js';
|
|
5
|
+
|
|
6
|
+
var lib;
|
|
7
|
+
var hasRequiredLib;
|
|
8
|
+
|
|
9
|
+
function requireLib () {
|
|
10
|
+
if (hasRequiredLib) return lib;
|
|
11
|
+
hasRequiredLib = 1;
|
|
12
|
+
|
|
13
|
+
var stringify = requireStringify();
|
|
14
|
+
var parse = requireParse();
|
|
15
|
+
var formats = requireFormats();
|
|
16
|
+
|
|
17
|
+
lib = {
|
|
18
|
+
formats: formats,
|
|
19
|
+
parse: parse,
|
|
20
|
+
stringify: stringify
|
|
21
|
+
};
|
|
22
|
+
return lib;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { requireLib as __require };
|