@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
package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { Button } from '../../../../buttons/button/button.js';
|
|
4
|
+
import { useCountries } from '../../../../country-select/hooks/use-countries.js';
|
|
5
|
+
import { Checkbox } from '../../../../forms/elements/checkbox/checkbox.js';
|
|
6
|
+
import { Form } from '../../../../forms/layout/form/form.js';
|
|
7
|
+
import { AddressForm } from '../../../../forms/partials/address-form/address-form.js';
|
|
8
|
+
import { FormattedMessage } from '../../../../intl/formatted-message.js';
|
|
9
|
+
import { Message } from '../../../../message/message.js';
|
|
10
|
+
import { usePatchCurrentAccount } from '../../../../shared/api/storefront/hooks/account/use-patch-current-account.js';
|
|
11
|
+
import { usePatchSession } from '../../../../shared/api/storefront/hooks/authentication/use-patch-session.js';
|
|
12
|
+
import { usePostShipToAddress } from '../../../../shared/api/storefront/hooks/customer/use-post-ship-to-address.js';
|
|
13
|
+
import { DefaultErrorView } from '../../../../shared/error/default-error-view.js';
|
|
14
|
+
import { NotFoundRequestError } from '../../../../shared/fetch/request.js';
|
|
15
|
+
import { useNavigate } from '../../../../shared/routing/use-navigate.js';
|
|
16
|
+
import { usePaths } from '../../../../shared/routing/use-paths.js';
|
|
17
|
+
import { LoadingPage } from '../../../loading-page/loading-page.js';
|
|
18
|
+
import formStyles from '../../../../forms/partials/address-form/address-form.module.css.js';
|
|
19
|
+
import styles from './create-ship-to-address.module.css.js';
|
|
20
|
+
|
|
21
|
+
function ConnectedCreateShipToAddressForm({ billToId, makeDefault, returnUrl, }) {
|
|
22
|
+
const paths = usePaths();
|
|
23
|
+
const { navigate } = useNavigate();
|
|
24
|
+
const { countries, currentCountry, error: errorCountries, isFetching: isLoadingCountries, } = useCountries();
|
|
25
|
+
const { error: errorShipToAddress, isLoading: isPostingShipToAddress, isSuccess, mutate: postShipToAddress, } = usePostShipToAddress();
|
|
26
|
+
const { isLoading: isPatchingSession, mutate: patchSession } = usePatchSession();
|
|
27
|
+
const { isLoading: isPatchingCurrentAccount, mutate: patchCurrentAccount } = usePatchCurrentAccount();
|
|
28
|
+
const isPatching = isPostingShipToAddress || isPatchingSession || isPatchingCurrentAccount;
|
|
29
|
+
if (isLoadingCountries)
|
|
30
|
+
return jsx(LoadingPage, {});
|
|
31
|
+
if (errorShipToAddress && errorShipToAddress instanceof NotFoundRequestError)
|
|
32
|
+
return (jsx(DefaultErrorView, { error: new NotFoundRequestError(new Error('Address not found')) }));
|
|
33
|
+
if (errorCountries)
|
|
34
|
+
return jsx(DefaultErrorView, { error: errorCountries });
|
|
35
|
+
if (!countries) {
|
|
36
|
+
return (jsx(DefaultErrorView, { error: new Error('No countries data available.') }));
|
|
37
|
+
}
|
|
38
|
+
return (jsxs(Form, { className: formStyles.form, "data-test-selector": "shipToAddressForm", onSubmit: async ({ formData }) => {
|
|
39
|
+
const countryFormValue = formData.get('countrySelect')?.toString();
|
|
40
|
+
const country = countries.find(country => country.id === countryFormValue);
|
|
41
|
+
if (!country)
|
|
42
|
+
throw new Error(`Country not found ${formData.get('country')}`);
|
|
43
|
+
const isDefault = formData.get('setAsDefault')?.toString() === 'TRUE' || false;
|
|
44
|
+
const createdShipToAddress = await postShipToAddress({
|
|
45
|
+
billToId,
|
|
46
|
+
shipTo: {
|
|
47
|
+
address1: formData.get('address1')?.toString() || '',
|
|
48
|
+
address2: formData.get('address2')?.toString() || '',
|
|
49
|
+
address3: formData.get('address3')?.toString() || '',
|
|
50
|
+
attention: formData.get('attention')?.toString() || '',
|
|
51
|
+
city: formData.get('city')?.toString() || '',
|
|
52
|
+
companyName: formData.get('companyName')?.toString() || '',
|
|
53
|
+
country: { id: country.id },
|
|
54
|
+
email: formData.get('email')?.toString() || '',
|
|
55
|
+
firstName: formData.get('firstName')?.toString() || '',
|
|
56
|
+
id: 'Create New Address',
|
|
57
|
+
isDefault: formData.get('setAsDefault')?.toString() === 'TRUE' || false,
|
|
58
|
+
isNew: true,
|
|
59
|
+
isVmiLocation: false,
|
|
60
|
+
label: 'Create New Address',
|
|
61
|
+
lastName: formData.get('lastName')?.toString() || '',
|
|
62
|
+
oneTimeAddress: false,
|
|
63
|
+
phone: formData.get('phone')?.toString() || '',
|
|
64
|
+
postalCode: formData.get('postalCode')?.toString() || '',
|
|
65
|
+
properties: {},
|
|
66
|
+
state: null,
|
|
67
|
+
uri: undefined,
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
if (isDefault) {
|
|
71
|
+
await patchCurrentAccount({
|
|
72
|
+
account: {
|
|
73
|
+
defaultCustomerId: createdShipToAddress.id,
|
|
74
|
+
defaultFulfillmentMethod: 'Ship',
|
|
75
|
+
setDefaultCustomer: true,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
await patchSession({
|
|
79
|
+
session: {
|
|
80
|
+
customerWasUpdated: true,
|
|
81
|
+
shipTo: { id: createdShipToAddress.id, isDefault: true },
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
return navigate(`${paths.ACCOUNT_EDIT_BILL_TO_ADDRESS}/${billToId}${paths.ACCOUNT_EDIT_SHIP_TO_ADDRESS}/${createdShipToAddress.id}?returnUrl=${encodeURIComponent(returnUrl || '')}`);
|
|
86
|
+
}, children: [jsx(AddressForm, { address: undefined, countries: countries, currentCountry: currentCountry, isLoading: isPatching }), jsx(Checkbox, { defaultSelected: makeDefault, isDisabled: isPatching, name: "setAsDefault", value: "TRUE", children: jsx(FormattedMessage, { id: "Make this the default ship to address" }) }), Boolean(errorShipToAddress) && (jsx("div", { className: styles.info, children: jsx(Message, { type: "danger", children: jsx(FormattedMessage, { id: "An unexpected error occured" }) }) })), isSuccess && !isPatching && (jsx("div", { className: styles.info, children: jsx(Message, { type: "info", children: jsx(FormattedMessage, { id: "Saved" }) }) })), jsxs("div", { className: styles.actions, children: [returnUrl && (jsx(Button, { color: "secondary", isDisabled: isPatching, onClick: () => navigate(returnUrl), variant: "outline", children: jsx(FormattedMessage, { id: "Back" }) })), jsx(Button, { isLoading: isPatching ? jsx(FormattedMessage, { id: "Saving" }) : undefined, type: "submit", children: jsx(FormattedMessage, { id: "Save" }) })] })] }));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { ConnectedCreateShipToAddressForm };
|
package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { Button } from '../../../../buttons/button/button.js';
|
|
5
|
+
import { useCountries } from '../../../../country-select/hooks/use-countries.js';
|
|
6
|
+
import { Form } from '../../../../forms/layout/form/form.js';
|
|
7
|
+
import { AddressForm } from '../../../../forms/partials/address-form/address-form.js';
|
|
8
|
+
import { FormattedMessage } from '../../../../intl/formatted-message.js';
|
|
9
|
+
import { Message } from '../../../../message/message.js';
|
|
10
|
+
import { useFetchBillToAddress } from '../../../../shared/api/storefront/hooks/customer/use-fetch-bill-to-address.js';
|
|
11
|
+
import { usePatchBillToAddress } from '../../../../shared/api/storefront/hooks/customer/use-patch-bill-to-address.js';
|
|
12
|
+
import { DefaultErrorView } from '../../../../shared/error/default-error-view.js';
|
|
13
|
+
import { NotFoundRequestError } from '../../../../shared/fetch/request.js';
|
|
14
|
+
import { useNavigate } from '../../../../shared/routing/use-navigate.js';
|
|
15
|
+
import { LoadingPage } from '../../../loading-page/loading-page.js';
|
|
16
|
+
import formStyles from '../../../../forms/partials/address-form/address-form.module.css.js';
|
|
17
|
+
import styles from './edit-bill-to-address.module.css.js';
|
|
18
|
+
|
|
19
|
+
function ConnectedEditBillToAddressForm({ billToId, returnUrl, }) {
|
|
20
|
+
const { navigate } = useNavigate();
|
|
21
|
+
const { countries, currentCountry, error: errorCountries, isFetching: isLoadingCountries, } = useCountries();
|
|
22
|
+
const { data: billToAddress, error: errorBillToAddress, isLoading: isLoadingBillToAddress, } = useFetchBillToAddress({ billToId, includeValidation: true });
|
|
23
|
+
const { isLoading: isPatchingBillToAddress, isSuccess, mutate: patchBillToAddress, } = usePatchBillToAddress();
|
|
24
|
+
const isPatching = isPatchingBillToAddress;
|
|
25
|
+
const isReadonly = useMemo(() => {
|
|
26
|
+
if (billToAddress?.validation?.address1?.isDisabled)
|
|
27
|
+
return true;
|
|
28
|
+
if (billToAddress?.validation?.address2?.isDisabled)
|
|
29
|
+
return true;
|
|
30
|
+
if (billToAddress?.validation?.address3?.isDisabled)
|
|
31
|
+
return true;
|
|
32
|
+
if (billToAddress?.validation?.address4?.isDisabled)
|
|
33
|
+
return true;
|
|
34
|
+
if (billToAddress?.validation?.attention?.isDisabled)
|
|
35
|
+
return true;
|
|
36
|
+
if (billToAddress?.validation?.city?.isDisabled)
|
|
37
|
+
return true;
|
|
38
|
+
if (billToAddress?.validation?.companyName?.isDisabled)
|
|
39
|
+
return true;
|
|
40
|
+
if (billToAddress?.validation?.country?.isDisabled)
|
|
41
|
+
return true;
|
|
42
|
+
if (billToAddress?.validation?.email?.isDisabled)
|
|
43
|
+
return true;
|
|
44
|
+
if (billToAddress?.validation?.fax?.isDisabled)
|
|
45
|
+
return true;
|
|
46
|
+
if (billToAddress?.validation?.firstName?.isDisabled)
|
|
47
|
+
return true;
|
|
48
|
+
if (billToAddress?.validation?.lastName?.isDisabled)
|
|
49
|
+
return true;
|
|
50
|
+
if (billToAddress?.validation?.phone?.isDisabled)
|
|
51
|
+
return true;
|
|
52
|
+
if (billToAddress?.validation?.postalCode?.isDisabled)
|
|
53
|
+
return true;
|
|
54
|
+
if (billToAddress?.validation?.state?.isDisabled)
|
|
55
|
+
return true;
|
|
56
|
+
return false;
|
|
57
|
+
}, [billToAddress]);
|
|
58
|
+
if (isLoadingBillToAddress || isLoadingCountries)
|
|
59
|
+
return jsx(LoadingPage, {});
|
|
60
|
+
if (errorBillToAddress && errorBillToAddress instanceof NotFoundRequestError)
|
|
61
|
+
return (jsx(DefaultErrorView, { error: new NotFoundRequestError(new Error('Address not found')) }));
|
|
62
|
+
if (errorBillToAddress)
|
|
63
|
+
return jsx(DefaultErrorView, { error: errorBillToAddress });
|
|
64
|
+
if (errorCountries)
|
|
65
|
+
return jsx(DefaultErrorView, { error: errorCountries });
|
|
66
|
+
if (!billToAddress || !countries) {
|
|
67
|
+
return (jsx(DefaultErrorView, { error: new Error('No bill to address or countries data available.') }));
|
|
68
|
+
}
|
|
69
|
+
return (jsxs(Form, { className: formStyles.form, "data-test-selector": "billToAddressForm", onSubmit: ({ formData }) => {
|
|
70
|
+
const countryFormValue = formData.get('countrySelect')?.toString();
|
|
71
|
+
const country = countries.find(country => country.id === countryFormValue);
|
|
72
|
+
if (!country)
|
|
73
|
+
throw new Error(`Country not found ${formData.get('country')}`);
|
|
74
|
+
patchBillToAddress({
|
|
75
|
+
billTo: {
|
|
76
|
+
...billToAddress,
|
|
77
|
+
address1: formData.get('address1')?.toString() || '',
|
|
78
|
+
address2: formData.get('address2')?.toString() || '',
|
|
79
|
+
address3: formData.get('address3')?.toString() || '',
|
|
80
|
+
attention: formData.get('attention')?.toString() || '',
|
|
81
|
+
city: formData.get('city')?.toString() || '',
|
|
82
|
+
companyName: formData.get('companyName')?.toString() || '',
|
|
83
|
+
country,
|
|
84
|
+
email: formData.get('email')?.toString() || '',
|
|
85
|
+
firstName: formData.get('firstName')?.toString() || '',
|
|
86
|
+
lastName: formData.get('lastName')?.toString() || '',
|
|
87
|
+
phone: formData.get('phone')?.toString() || '',
|
|
88
|
+
postalCode: formData.get('postalCode')?.toString() || '',
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
}, children: [jsx(AddressForm, { address: billToAddress, countries: countries, currentCountry: currentCountry, isReadonly: isReadonly }), isSuccess && !isPatching && (jsx("div", { className: styles.info, children: jsx(Message, { type: "success", children: jsx(FormattedMessage, { id: "Saved" }) }) })), jsxs("div", { className: styles.actions, children: [returnUrl && (jsx(Button, { color: "secondary", isDisabled: isPatching, onClick: () => navigate(returnUrl), variant: "outline", children: jsx(FormattedMessage, { id: "Back" }) })), !isReadonly && (jsx(Button, { isLoading: isPatching ? jsx(FormattedMessage, { id: "Saving" }) : undefined, type: "submit", children: jsx(FormattedMessage, { id: "Save" }) }))] })] }));
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { ConnectedEditBillToAddressForm };
|
package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.js
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { Button } from '../../../../buttons/button/button.js';
|
|
5
|
+
import { useCountries } from '../../../../country-select/hooks/use-countries.js';
|
|
6
|
+
import { Checkbox } from '../../../../forms/elements/checkbox/checkbox.js';
|
|
7
|
+
import { Form } from '../../../../forms/layout/form/form.js';
|
|
8
|
+
import { AddressForm } from '../../../../forms/partials/address-form/address-form.js';
|
|
9
|
+
import { FormattedMessage } from '../../../../intl/formatted-message.js';
|
|
10
|
+
import { Message } from '../../../../message/message.js';
|
|
11
|
+
import { usePatchCurrentAccount } from '../../../../shared/api/storefront/hooks/account/use-patch-current-account.js';
|
|
12
|
+
import { usePatchSession } from '../../../../shared/api/storefront/hooks/authentication/use-patch-session.js';
|
|
13
|
+
import { useFetchShipToAddress } from '../../../../shared/api/storefront/hooks/customer/use-fetch-ship-to-address.js';
|
|
14
|
+
import { usePatchShipToAddress } from '../../../../shared/api/storefront/hooks/customer/use-patch-ship-to-address.js';
|
|
15
|
+
import { DefaultErrorView } from '../../../../shared/error/default-error-view.js';
|
|
16
|
+
import { NotFoundRequestError } from '../../../../shared/fetch/request.js';
|
|
17
|
+
import { useNavigate } from '../../../../shared/routing/use-navigate.js';
|
|
18
|
+
import { LoadingPage } from '../../../loading-page/loading-page.js';
|
|
19
|
+
import formStyles from '../../../../forms/partials/address-form/address-form.module.css.js';
|
|
20
|
+
import styles from './edit-ship-to-address.module.css.js';
|
|
21
|
+
|
|
22
|
+
function ConnectedEditShipToAddressForm({ billToId, returnUrl, shipToId, }) {
|
|
23
|
+
const { navigate } = useNavigate();
|
|
24
|
+
const { countries, currentCountry, error: errorCountries, isFetching: isLoadingCountries, } = useCountries();
|
|
25
|
+
const { data: shipToAddress, error: errorShipToAddress, isLoading: isLoadingShipToAddress, } = useFetchShipToAddress({ billToId, includeValidation: true, shipToId });
|
|
26
|
+
const { isLoading: isPatchingShipToAddress, isSuccess, mutate: patchShipToAddress, } = usePatchShipToAddress();
|
|
27
|
+
const { isLoading: isPatchingSession, mutate: patchSession } = usePatchSession();
|
|
28
|
+
const { isLoading: isPatchingCurrentAccount, mutate: patchCurrentAccount } = usePatchCurrentAccount();
|
|
29
|
+
const isPatching = isPatchingShipToAddress || isPatchingSession || isPatchingCurrentAccount;
|
|
30
|
+
const isReadonly = useMemo(() => {
|
|
31
|
+
if (shipToAddress?.validation?.address1?.isDisabled)
|
|
32
|
+
return true;
|
|
33
|
+
if (shipToAddress?.validation?.address2?.isDisabled)
|
|
34
|
+
return true;
|
|
35
|
+
if (shipToAddress?.validation?.address3?.isDisabled)
|
|
36
|
+
return true;
|
|
37
|
+
if (shipToAddress?.validation?.address4?.isDisabled)
|
|
38
|
+
return true;
|
|
39
|
+
if (shipToAddress?.validation?.attention?.isDisabled)
|
|
40
|
+
return true;
|
|
41
|
+
if (shipToAddress?.validation?.city?.isDisabled)
|
|
42
|
+
return true;
|
|
43
|
+
if (shipToAddress?.validation?.companyName?.isDisabled)
|
|
44
|
+
return true;
|
|
45
|
+
if (shipToAddress?.validation?.country?.isDisabled)
|
|
46
|
+
return true;
|
|
47
|
+
if (shipToAddress?.validation?.email?.isDisabled)
|
|
48
|
+
return true;
|
|
49
|
+
if (shipToAddress?.validation?.fax?.isDisabled)
|
|
50
|
+
return true;
|
|
51
|
+
if (shipToAddress?.validation?.firstName?.isDisabled)
|
|
52
|
+
return true;
|
|
53
|
+
if (shipToAddress?.validation?.lastName?.isDisabled)
|
|
54
|
+
return true;
|
|
55
|
+
if (shipToAddress?.validation?.phone?.isDisabled)
|
|
56
|
+
return true;
|
|
57
|
+
if (shipToAddress?.validation?.postalCode?.isDisabled)
|
|
58
|
+
return true;
|
|
59
|
+
if (shipToAddress?.validation?.state?.isDisabled)
|
|
60
|
+
return true;
|
|
61
|
+
return false;
|
|
62
|
+
}, [shipToAddress]);
|
|
63
|
+
if (isLoadingShipToAddress || isLoadingCountries)
|
|
64
|
+
return jsx(LoadingPage, {});
|
|
65
|
+
if (errorShipToAddress && errorShipToAddress instanceof NotFoundRequestError)
|
|
66
|
+
return (jsx(DefaultErrorView, { error: new NotFoundRequestError(new Error('Address not found')) }));
|
|
67
|
+
if (errorShipToAddress)
|
|
68
|
+
return jsx(DefaultErrorView, { error: errorShipToAddress });
|
|
69
|
+
if (errorCountries)
|
|
70
|
+
return jsx(DefaultErrorView, { error: errorCountries });
|
|
71
|
+
if (!shipToAddress || !countries) {
|
|
72
|
+
return (jsx(DefaultErrorView, { error: new Error('No ship to address or countries data available.') }));
|
|
73
|
+
}
|
|
74
|
+
return (jsxs(Form, { className: formStyles.form, "data-test-selector": "shipToAddressForm", onSubmit: async ({ formData }) => {
|
|
75
|
+
const countryFormValue = formData.get('countrySelect')?.toString();
|
|
76
|
+
const country = countries.find(country => country.id === countryFormValue);
|
|
77
|
+
if (!country)
|
|
78
|
+
throw new Error(`Country not found ${formData.get('country')}`);
|
|
79
|
+
const isDefault = formData.get('setAsDefault')?.toString() === 'TRUE' || false;
|
|
80
|
+
const patchedShipToAddress = await patchShipToAddress({
|
|
81
|
+
billToId,
|
|
82
|
+
shipTo: {
|
|
83
|
+
...shipToAddress,
|
|
84
|
+
address1: formData.get('address1')?.toString() || '',
|
|
85
|
+
address2: formData.get('address2')?.toString() || '',
|
|
86
|
+
address3: formData.get('address3')?.toString() || '',
|
|
87
|
+
attention: formData.get('attention')?.toString() || '',
|
|
88
|
+
city: formData.get('city')?.toString() || '',
|
|
89
|
+
companyName: formData.get('companyName')?.toString() || '',
|
|
90
|
+
country,
|
|
91
|
+
email: formData.get('email')?.toString() || '',
|
|
92
|
+
firstName: formData.get('firstName')?.toString() || '',
|
|
93
|
+
isDefault,
|
|
94
|
+
lastName: formData.get('lastName')?.toString() || '',
|
|
95
|
+
phone: formData.get('phone')?.toString() || '',
|
|
96
|
+
postalCode: formData.get('postalCode')?.toString() || '',
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
if (!shipToAddress.isDefault && isDefault) {
|
|
100
|
+
await patchSession({
|
|
101
|
+
session: {
|
|
102
|
+
customerWasUpdated: true,
|
|
103
|
+
shipTo: { id: patchedShipToAddress.id, isDefault: true },
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
await patchCurrentAccount({
|
|
107
|
+
account: {
|
|
108
|
+
defaultCustomerId: patchedShipToAddress.id,
|
|
109
|
+
defaultFulfillmentMethod: 'Ship',
|
|
110
|
+
setDefaultCustomer: true,
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
if (shipToAddress.isDefault && !isDefault) {
|
|
115
|
+
await patchCurrentAccount({
|
|
116
|
+
account: {
|
|
117
|
+
defaultCustomerId: null,
|
|
118
|
+
defaultFulfillmentMethod: 'Ship',
|
|
119
|
+
setDefaultCustomer: true,
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}, children: [jsx(AddressForm, { address: shipToAddress, countries: countries, currentCountry: currentCountry, isLoading: isPatching, isReadonly: isReadonly || isPatching }), shipToAddress.id !== 'current' && (jsx(Checkbox, { defaultSelected: shipToAddress.isDefault, isDisabled: isReadonly || isPatching, name: "setAsDefault", value: "TRUE", children: jsx(FormattedMessage, { id: "Make this the default ship to address" }) })), isSuccess && !isPatching && (jsx("div", { className: styles.info, children: jsx(Message, { type: "success", children: jsx(FormattedMessage, { id: "Saved" }) }) })), jsxs("div", { className: styles.actions, children: [returnUrl && (jsx(Button, { color: "secondary", isDisabled: isPatching, onClick: () => navigate(returnUrl), variant: "outline", children: jsx(FormattedMessage, { id: "Back" }) })), !isReadonly && (jsx(Button, { isLoading: isPatching ? jsx(FormattedMessage, { id: "Saving" }) : undefined, type: "submit", children: jsx(FormattedMessage, { id: "Save" }) }))] })] }));
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export { ConnectedEditShipToAddressForm };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
|
+
import { useFormattedMessage } from '../../../../intl/use-formatted-message.js';
|
|
5
|
+
import { useFetchCurrentAccount } from '../../../../shared/api/storefront/hooks/account/use-fetch-current-account.js';
|
|
6
|
+
import { usePatchCurrentAccount } from '../../../../shared/api/storefront/hooks/account/use-patch-current-account.js';
|
|
7
|
+
import { ExistingAccountError } from '../../../../shared/api/storefront/services/account-service.js';
|
|
8
|
+
import { EditUserInfoDialog } from './edit-user-info-dialog.js';
|
|
9
|
+
|
|
10
|
+
function ConnectedEditUserInfoDialog({ isOpen, onClose, }) {
|
|
11
|
+
const t = useFormattedMessage();
|
|
12
|
+
const [validationErrors, setValidationErrors] = useState({});
|
|
13
|
+
const { data: account, error, isLoading, } = useFetchCurrentAccount({
|
|
14
|
+
isEnabled: isOpen,
|
|
15
|
+
});
|
|
16
|
+
const { error: errorPatchCurrentAccount, isLoading: isMutating, mutate, reset, } = usePatchCurrentAccount();
|
|
17
|
+
useEffect(() => reset(), [isOpen, reset]);
|
|
18
|
+
if (!isOpen)
|
|
19
|
+
return null;
|
|
20
|
+
return (jsx(EditUserInfoDialog, { account: account, error: error || errorPatchCurrentAccount, isLoading: isLoading, isOpen: isOpen, isUpdating: isMutating, onOpenChange: isOpen => !isOpen && onClose?.(), onSubmit: async ({ formData }) => {
|
|
21
|
+
const email = formData.get('email')?.toString();
|
|
22
|
+
if (!email)
|
|
23
|
+
throw new Error('E-mail is required');
|
|
24
|
+
const lastName = formData.get('lastName')?.toString();
|
|
25
|
+
if (!lastName)
|
|
26
|
+
throw new Error('Last name is required');
|
|
27
|
+
const firstName = formData.get('firstName')?.toString();
|
|
28
|
+
if (!firstName)
|
|
29
|
+
throw new Error('First name is required');
|
|
30
|
+
try {
|
|
31
|
+
await mutate({
|
|
32
|
+
account: {
|
|
33
|
+
...account,
|
|
34
|
+
email,
|
|
35
|
+
firstName,
|
|
36
|
+
lastName,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
onClose?.();
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
if (error instanceof ExistingAccountError) {
|
|
43
|
+
setValidationErrors(errors => ({
|
|
44
|
+
...errors,
|
|
45
|
+
email: t('This email is already in use'),
|
|
46
|
+
}));
|
|
47
|
+
reset();
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, validationErrors: validationErrors }));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { ConnectedEditUserInfoDialog };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnSubmitHandler, ValidationErrors } from '../../../../forms/layout/form/form';
|
|
2
|
+
import { EditUserInfoProps } from './edit-user-info';
|
|
3
|
+
export interface EditUserInfoDialogProps extends EditUserInfoProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
isUpdating?: boolean;
|
|
6
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
7
|
+
onSubmit?: OnSubmitHandler;
|
|
8
|
+
validationErrors?: ValidationErrors;
|
|
9
|
+
}
|
|
10
|
+
export declare function EditUserInfoDialog({ account, error, isLoading, isOpen, isUpdating, onOpenChange, onSubmit, validationErrors, }: EditUserInfoDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useFormattedMessage } from '../../../../intl/use-formatted-message.js';
|
|
4
|
+
import { Dialog } from '../../../../modals/dialog/dialog.js';
|
|
5
|
+
import { UnauthorizedRequestError } from '../../../../shared/fetch/request.js';
|
|
6
|
+
import { EditUserInfo } from './edit-user-info.js';
|
|
7
|
+
|
|
8
|
+
function EditUserInfoDialog({ account, error, isLoading, isOpen = false, isUpdating = false, onOpenChange, onSubmit, validationErrors, }) {
|
|
9
|
+
const t = useFormattedMessage();
|
|
10
|
+
return (jsx(Dialog, { allowSubmit: !isLoading &&
|
|
11
|
+
!isUpdating &&
|
|
12
|
+
!(error instanceof UnauthorizedRequestError), isOpen: isOpen, isSubmitting: isUpdating, onOpenChange: onOpenChange, onSubmit: onSubmit, title: t('Edit Sonic account'), validationErrors: validationErrors, children: jsx(EditUserInfo, { account: account, error: error, isLoading: isLoading }) }));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { EditUserInfoDialog };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountModel } from '../../../../shared/api/storefront/model/storefront.model';
|
|
2
|
+
export interface EditUserInfoProps {
|
|
3
|
+
account: AccountModel | {
|
|
4
|
+
email: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
} | undefined;
|
|
8
|
+
error?: Error | null | unknown;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function EditUserInfo({ account, error, isLoading, }: EditUserInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import { TextField } from '../../../../forms/fields/text-field/text-field.js';
|
|
4
|
+
import { useFormattedMessage } from '../../../../intl/use-formatted-message.js';
|
|
5
|
+
import { ProgressCircle } from '../../../../loading/progress-circle.js';
|
|
6
|
+
import { Message } from '../../../../message/message.js';
|
|
7
|
+
import { UnauthorizedRequestError } from '../../../../shared/fetch/request.js';
|
|
8
|
+
import { validateEmail } from '../../../../shared/model/address.js';
|
|
9
|
+
import styles from './edit-user-info.module.css.js';
|
|
10
|
+
|
|
11
|
+
function EditUserInfo({ account, error, isLoading = false, }) {
|
|
12
|
+
const t = useFormattedMessage();
|
|
13
|
+
if (error instanceof UnauthorizedRequestError) {
|
|
14
|
+
return (jsx(Message, { type: "danger", children: t('You are not authorized to perform this action') }));
|
|
15
|
+
}
|
|
16
|
+
if (isLoading) {
|
|
17
|
+
return (jsx("div", { className: styles['loading-panel'], children: jsx(ProgressCircle, { variant: "gray" }) }));
|
|
18
|
+
}
|
|
19
|
+
if (!account) {
|
|
20
|
+
return jsx(Message, { type: "danger", children: t('An unexpected error occured') });
|
|
21
|
+
}
|
|
22
|
+
return (jsxs(Fragment, { children: [jsx(TextField, { autoComplete: "username", "data-test-selector": "email", defaultValue: account.email, inputMode: "email", isRequired: true, label: t('Email'), name: "email", type: "email", validate: value => {
|
|
23
|
+
if (!value)
|
|
24
|
+
return value;
|
|
25
|
+
return validateEmail(value) || t('Please enter a valid email address');
|
|
26
|
+
} }), jsx(TextField, { "data-test-selector": "firstName", defaultValue: account.firstName, isRequired: true, label: t('First name'), name: "firstName" }), jsx(TextField, { "data-test-selector": "lastName", defaultValue: account.lastName, isRequired: true, label: t('Last name'), name: "lastName" }), error && (jsx(Message, { className: styles['error-message'], type: "danger", children: t('An unexpected error occured') }))] }));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { EditUserInfo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadOrderForm(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Button } from '../../../../buttons/button/button.js';
|
|
4
|
+
import { TextField } from '../../../../forms/fields/text-field/text-field.js';
|
|
5
|
+
import { Form } from '../../../../forms/layout/form/form.js';
|
|
6
|
+
import { FormSegment } from '../../../../forms/layout/form/form-segment.js';
|
|
7
|
+
import { FormSegmentGroup } from '../../../../forms/layout/form/form-segment-group.js';
|
|
8
|
+
import styles from './upload-order.module.css.js';
|
|
9
|
+
|
|
10
|
+
function UploadOrderForm() {
|
|
11
|
+
const isDisabled = false;
|
|
12
|
+
// const isPendingUpload = false
|
|
13
|
+
const footer = (jsx(FormSegment, { children: jsx(Button, { "data-test-selector": "signIn_submit", isDisabled: isDisabled,
|
|
14
|
+
// isLoading={isPendingUpload && 'Uploading…'}
|
|
15
|
+
type: "submit", withArrow: true, children: "Upload order" }) }));
|
|
16
|
+
return (jsx(Form, { className: styles['form'], footer: footer, children: jsx(FormSegmentGroup, { children: jsx(FormSegment, { children: jsx(TextField, { autoComplete: "off", "data-test-selector": "uploadOrder_userName", isDisabled: isDisabled, isRequired: true, label: "Spreadsheet file", name: "file", showLabel: true, type: "text" }) }) }) }));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { UploadOrderForm };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Button } from '../../../../buttons/button/button.js';
|
|
4
|
+
import { useFormattedMessage } from '../../../../intl/use-formatted-message.js';
|
|
5
|
+
import { Heading } from '../../../../typography/heading/heading.js';
|
|
6
|
+
import styles from './upload-order.module.css.js';
|
|
7
|
+
|
|
8
|
+
function UploadOrderInstructions({ templatePath, }) {
|
|
9
|
+
const t = useFormattedMessage();
|
|
10
|
+
return (jsxs("section", { className: styles['instructions'], children: [jsx(Heading, { className: styles['title'], size: "xxs", tag: "h2", children: t('Instructions') }), templatePath && (jsx(Button, { className: styles['download-button'], color: "secondary", download: "orders-template.xlsx", href: templatePath, size: "sm", variant: "outline", children: t('Download spreadsheet template') })), jsx(Heading, { className: styles['title'], size: "xxxs", tag: "h3", children: t('Create or modify a spreadsheet') }), jsxs("ol", { className: styles['steps'], children: [jsx("li", { className: styles['step'], children: jsxs("div", { className: styles['step-content'], children: [t('Make sure the spreadsheet has 3 columns'), jsxs("ul", { className: styles['substeps'], children: [jsx("li", { children: t('Column 1: Item number or customer part number') }), jsx("li", { children: t('Column 2: Quantity (optional)') }), jsx("li", { children: t('Column 3: Unit of measure (optional)') })] })] }) }), jsx("li", { className: styles['step'], children: jsx("div", { className: styles['step-content'], children: t('Create a row for each product. The allowed maximum is 500 rows') }) }), jsx("li", { className: styles['step'], children: jsx("div", { className: styles['step-content'], children: t('Save the file in XLS, XLSX or CSV format') }) }), jsx("li", { className: styles['step'], children: jsx("div", { className: styles['step-content'], children: t('Select the file to upload in the form and click Upload order') }) })] })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { UploadOrderInstructions };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useFormattedMessage } from '../../../../intl/use-formatted-message.js';
|
|
4
|
+
import { UploadOrderInstructions } from './upload-order-instructions.js';
|
|
5
|
+
import styles from './upload-order.module.css.js';
|
|
6
|
+
|
|
7
|
+
function UploadOrder({ templatePath }) {
|
|
8
|
+
const t = useFormattedMessage();
|
|
9
|
+
return (jsxs("section", { className: styles['upload-order'], children: [jsxs("div", { className: styles['introduction'], children: [jsx("p", { children: t('The option to upload an Excel file with your order is temporarily unavailable.') }), jsx("p", { children: t('Please contact Customer Support if you need assistance.') })] }), jsx(UploadOrderInstructions, { templatePath: templatePath })] }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { UploadOrder };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"upload-order":"upload-order-module-m3QNF","introduction":"upload-order-module-8QySK","form":"upload-order-module-F809q","instructions":"upload-order-module-ArC-c","title":"upload-order-module-D-Bid","download-button":"upload-order-module-79aaz","steps":"upload-order-module-TOyrC","step":"upload-order-module-Orrxz","step-content":"upload-order-module-1FiVK","substeps":"upload-order-module-zV6Tn"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import styles from './my-sonic-layout.module.css.js';
|
|
4
|
+
|
|
5
|
+
function MySonicLayoutAside({ children }) {
|
|
6
|
+
return jsx("aside", { className: styles.aside, children: children });
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { MySonicLayoutAside };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import styles from './my-sonic-layout.module.css.js';
|
|
4
|
+
|
|
5
|
+
function MySonicLayoutBreadcrumb({ children, }) {
|
|
6
|
+
return jsx("div", { className: styles['breadcrumb'], children: children });
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { MySonicLayoutBreadcrumb };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import styles from './my-sonic-layout.module.css.js';
|
|
4
|
+
|
|
5
|
+
function MySonicLayoutMain({ children }) {
|
|
6
|
+
return jsx("main", { className: styles.main, children: children });
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { MySonicLayoutMain };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { MySonicLayoutMain } from './my-sonic-layout-main.js';
|
|
4
|
+
import { MySonicLayoutTitle } from './my-sonic-layout-title.js';
|
|
5
|
+
|
|
6
|
+
function MySonicLayoutPage({ children, title, }) {
|
|
7
|
+
return (jsxs(Fragment, { children: [title && jsx(MySonicLayoutTitle, { children: title }), jsx(MySonicLayoutMain, { children: children })] }));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { MySonicLayoutPage };
|