@vtex/faststore 0.0.8 → 0.0.11
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/CHANGELOG.md +101 -0
- package/README.md +0 -1
- package/dist/actions.json +48 -1
- package/dist/catalog.json +1397 -1594
- package/dist/cli/index.d.ts +66 -28
- package/dist/cli/index.js +7371 -512
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/server-runtime.js +41 -60
- package/dist/cli/server-runtime.js.map +1 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.js +2 -2
- package/dist/components.d.ts +67 -56
- package/dist/components.js +64 -53
- package/dist/content-types.json +5886 -555
- package/dist/core/dist/define-component.d.ts +7 -2
- package/dist/core/dist/define-content-type.d.ts +50 -2
- package/dist/core/dist/define-content-type.js +107 -3
- package/dist/core/dist/define-content-type.js.map +1 -1
- package/dist/core/dist/index.d.ts +2 -2
- package/dist/docs/access-code-field.md +1 -1
- package/dist/docs/access-code-sign-in.md +126 -77
- package/dist/docs/account-address-book.md +210 -95
- package/dist/docs/account-entry-point.md +4 -4
- package/dist/docs/account-menu.md +16 -17
- package/dist/docs/account-saved-cards.md +306 -0
- package/dist/docs/alert-dialog.md +3 -1
- package/dist/docs/avatar.md +4 -2
- package/dist/docs/billing-address.md +99 -30
- package/dist/docs/binding-switcher.md +157 -0
- package/dist/docs/buy-button.md +7 -8
- package/dist/docs/card-entry.md +42 -29
- package/dist/docs/card-summary.md +185 -0
- package/dist/docs/cardholder-document.md +5 -3
- package/dist/docs/carousel.md +5 -4
- package/dist/docs/cart-destination.md +251 -0
- package/dist/docs/cart-item.md +48 -15
- package/dist/docs/cart-totalizer.md +8 -6
- package/dist/docs/cart.md +240 -39
- package/dist/docs/challenge-return.md +135 -0
- package/dist/docs/client-preferences-fieldset.md +10 -5
- package/dist/docs/client-preferences.md +31 -8
- package/dist/docs/client-profile-fieldset.md +20 -6
- package/dist/docs/client-profile.md +12 -3
- package/dist/docs/copy-text.md +9 -7
- package/dist/docs/document-field.md +1 -1
- package/dist/docs/email-field.md +2 -1
- package/dist/docs/email-identification.md +12 -2
- package/dist/docs/footer-copyright.md +4 -2
- package/dist/docs/footer-social.md +1 -1
- package/dist/docs/form.md +54 -18
- package/dist/docs/free-shipping-progress.md +18 -13
- package/dist/docs/identity-edit.md +8 -2
- package/dist/docs/identity-summary.md +18 -5
- package/dist/docs/incentives.md +2 -2
- package/dist/docs/installments.md +46 -32
- package/dist/docs/logo.md +1 -1
- package/dist/docs/my-account-profile.md +16 -11
- package/dist/docs/navigation-link.md +5 -3
- package/dist/docs/order-cancel.md +3 -1
- package/dist/docs/order-delivery-address.md +7 -5
- package/dist/docs/order-delivery-group.md +1 -3
- package/dist/docs/order-details-back.md +1 -1
- package/dist/docs/order-details-header.md +1 -4
- package/dist/docs/order-invoice-download.md +60 -0
- package/dist/docs/order-list-row.md +1 -1
- package/dist/docs/order-list-search.md +13 -20
- package/dist/docs/order-list-views.md +11 -17
- package/dist/docs/order-list.md +12 -5
- package/dist/docs/order-payment.md +9 -7
- package/dist/docs/order-placed-date.md +1 -1
- package/dist/docs/order-placed-payment-summary.md +28 -15
- package/dist/docs/order-placed.md +49 -14
- package/dist/docs/order-progress.md +1 -1
- package/dist/docs/order-status-badge.md +20 -9
- package/dist/docs/order-summary.md +2 -2
- package/dist/docs/order-tracking-link.md +58 -0
- package/dist/docs/payment-method-badges.md +32 -6
- package/dist/docs/payment-methods.md +2 -2
- package/dist/docs/payment.md +36 -17
- package/dist/docs/phone-field.md +4 -4
- package/dist/docs/place-order.md +84 -36
- package/dist/docs/postal-code-field.md +3 -1
- package/dist/docs/pricing.md +21 -23
- package/dist/docs/product-gallery.md +19 -20
- package/dist/docs/product-information.md +14 -10
- package/dist/docs/product-list.md +7 -6
- package/dist/docs/product-shelf.md +7 -1
- package/dist/docs/promotion.md +4 -2
- package/dist/docs/region.md +23 -15
- package/dist/docs/save-card.md +7 -6
- package/dist/docs/saved-cards.md +65 -36
- package/dist/docs/select.md +3 -4
- package/dist/docs/shipping-address.md +57 -21
- package/dist/docs/shipping-simulator.md +53 -15
- package/dist/docs/sign-in-disclosure.md +176 -0
- package/dist/docs/sign-in-form.md +78 -47
- package/dist/docs/sign-in-redirect.md +5 -3
- package/dist/docs/sign-in.md +173 -0
- package/dist/docs/toast.md +45 -16
- package/dist/docs/variant-selector.md +15 -11
- package/dist/graphql/types.d.ts +4 -14
- package/dist/index.d.ts +3 -2
- package/dist/internal/client.d.ts +4 -3
- package/dist/internal/client.js +5 -2
- package/dist/internal/server.d.ts +10 -5
- package/dist/internal/server.js +9 -4
- package/dist/matter/access-code-sign-in/access-code-sign-in.d.ts +250 -66
- package/dist/matter/access-code-sign-in/access-code-sign-in.js +459 -188
- package/dist/matter/access-code-sign-in/access-code-sign-in.js.map +1 -1
- package/dist/matter/account-address-book/account-address-book-delete.d.ts +78 -40
- package/dist/matter/account-address-book/account-address-book-delete.js +86 -50
- package/dist/matter/account-address-book/account-address-book-delete.js.map +1 -1
- package/dist/matter/account-address-book/account-address-book-deliverability.d.ts +21 -4
- package/dist/matter/account-address-book/account-address-book-deliverability.js +45 -17
- package/dist/matter/account-address-book/account-address-book-deliverability.js.map +1 -1
- package/dist/matter/account-address-book/account-address-book-form-parts.d.ts +74 -19
- package/dist/matter/account-address-book/account-address-book-form-parts.js +77 -26
- package/dist/matter/account-address-book/account-address-book-form-parts.js.map +1 -1
- package/dist/matter/account-address-book/account-address-book-profile-notice.d.ts +27 -6
- package/dist/matter/account-address-book/account-address-book-profile-notice.js +55 -28
- package/dist/matter/account-address-book/account-address-book-profile-notice.js.map +1 -1
- package/dist/matter/account-address-book/account-address-book.d.ts +67 -14
- package/dist/matter/account-address-book/account-address-book.js +74 -33
- package/dist/matter/account-address-book/account-address-book.js.map +1 -1
- package/dist/matter/account-address-book/account-address-country-switch.js +3 -3
- package/dist/matter/account-address-book/account-address-country-switch.js.map +1 -1
- package/dist/matter/account-address-book/account-address-country.d.ts +66 -20
- package/dist/matter/account-address-book/account-address-country.js +83 -49
- package/dist/matter/account-address-book/account-address-country.js.map +1 -1
- package/dist/matter/account-address-book/account-address-form-context.d.ts +8 -4
- package/dist/matter/account-address-book/account-address-form-context.js.map +1 -1
- package/dist/matter/account-address-book/account-address-form.d.ts +468 -45
- package/dist/matter/account-address-book/account-address-form.js +518 -155
- package/dist/matter/account-address-book/account-address-form.js.map +1 -1
- package/dist/matter/account-address-book/account-address-record.d.ts +27 -6
- package/dist/matter/account-address-book/account-address-record.js +32 -17
- package/dist/matter/account-address-book/account-address-record.js.map +1 -1
- package/dist/matter/account-menu/account-menu.d.ts +34 -17
- package/dist/matter/account-menu/account-menu.js +46 -54
- package/dist/matter/account-menu/account-menu.js.map +1 -1
- package/dist/matter/account-menu-identity/account-menu-identity.js +1 -1
- package/dist/matter/account-saved-cards/account-saved-cards.d.ts +463 -0
- package/dist/matter/account-saved-cards/account-saved-cards.js +1011 -0
- package/dist/matter/account-saved-cards/account-saved-cards.js.map +1 -0
- package/dist/matter/billing-address/billing-address.d.ts +156 -74
- package/dist/matter/billing-address/billing-address.js +227 -156
- package/dist/matter/billing-address/billing-address.js.map +1 -1
- package/dist/matter/breadcrumb/breadcrumb.d.ts +21 -3
- package/dist/matter/breadcrumb/breadcrumb.js +24 -9
- package/dist/matter/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/matter/buy-button/buy-button.d.ts +8 -11
- package/dist/matter/buy-button/buy-button.js +10 -19
- package/dist/matter/buy-button/buy-button.js.map +1 -1
- package/dist/matter/card-entry/card-capture.js +12 -4
- package/dist/matter/card-entry/card-capture.js.map +1 -1
- package/dist/matter/card-entry/card-entry.d.ts +123 -32
- package/dist/matter/card-entry/card-entry.js +348 -221
- package/dist/matter/card-entry/card-entry.js.map +1 -1
- package/dist/matter/cart/cart-namespace.d.ts +11 -1
- package/dist/matter/cart/cart-namespace.js +11 -1
- package/dist/matter/cart/cart-namespace.js.map +1 -1
- package/dist/matter/cart/cart.d.ts +416 -45
- package/dist/matter/cart/cart.js +782 -101
- package/dist/matter/cart/cart.js.map +1 -1
- package/dist/matter/cart-destination/cart-destination.d.ts +233 -0
- package/dist/matter/cart-destination/cart-destination.js +703 -0
- package/dist/matter/cart-destination/cart-destination.js.map +1 -0
- package/dist/matter/cart-item/cart-item.d.ts +145 -16
- package/dist/matter/cart-item/cart-item.js +230 -54
- package/dist/matter/cart-item/cart-item.js.map +1 -1
- package/dist/matter/cart-item-compositions/cart-item-compositions.js +1 -1
- package/dist/matter/cart-item-compositions/cart-item-compositions.js.map +1 -1
- package/dist/matter/cart-item-customizations/cart-item-customizations.js +1 -1
- package/dist/matter/cart-item-customizations/cart-item-customizations.js.map +1 -1
- package/dist/matter/cart-item-discounts/cart-item-discounts.js +1 -1
- package/dist/matter/cart-item-discounts/cart-item-discounts.js.map +1 -1
- package/dist/matter/cart-item-seller-info/cart-item-seller-info.js +1 -1
- package/dist/matter/cart-item-seller-info/cart-item-seller-info.js.map +1 -1
- package/dist/matter/cart-item-variations/cart-item-variations.js +1 -1
- package/dist/matter/cart-item-variations/cart-item-variations.js.map +1 -1
- package/dist/matter/cart-totalizer/cart-totalizer.d.ts +43 -9
- package/dist/matter/cart-totalizer/cart-totalizer.js +49 -19
- package/dist/matter/cart-totalizer/cart-totalizer.js.map +1 -1
- package/dist/matter/challenge-return/challenge-return.d.ts +62 -0
- package/dist/matter/challenge-return/challenge-return.js +241 -0
- package/dist/matter/challenge-return/challenge-return.js.map +1 -0
- package/dist/matter/client-preferences/client-preferences-fieldset.d.ts +86 -17
- package/dist/matter/client-preferences/client-preferences-fieldset.js +126 -54
- package/dist/matter/client-preferences/client-preferences-fieldset.js.map +1 -1
- package/dist/matter/client-preferences/client-preferences.d.ts +50 -7
- package/dist/matter/client-preferences/client-preferences.js +84 -15
- package/dist/matter/client-preferences/client-preferences.js.map +1 -1
- package/dist/matter/client-profile/client-profile.d.ts +44 -9
- package/dist/matter/client-profile/client-profile.js +64 -24
- package/dist/matter/client-profile/client-profile.js.map +1 -1
- package/dist/matter/client-profile-form/client-profile-fieldset.d.ts +119 -22
- package/dist/matter/client-profile-form/client-profile-fieldset.js +161 -73
- package/dist/matter/client-profile-form/client-profile-fieldset.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options-accordion.d.ts +49 -4
- package/dist/matter/delivery-options/delivery-options-accordion.js +67 -14
- package/dist/matter/delivery-options/delivery-options-accordion.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options-controller.d.ts +69 -9
- package/dist/matter/delivery-options/delivery-options-controller.js +80 -14
- package/dist/matter/delivery-options/delivery-options-controller.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options.d.ts +37 -2
- package/dist/matter/delivery-options/delivery-options.js +75 -12
- package/dist/matter/delivery-options/delivery-options.js.map +1 -1
- package/dist/matter/delivery-options/use-delivery-option-selection.d.ts +1 -0
- package/dist/matter/delivery-options/use-delivery-option-selection.js +1 -1
- package/dist/matter/delivery-options/use-delivery-option-selection.js.map +1 -1
- package/dist/matter/email-identification/email-identification.d.ts +25 -3
- package/dist/matter/email-identification/email-identification.js +49 -12
- package/dist/matter/email-identification/email-identification.js.map +1 -1
- package/dist/matter/free-shipping-progress/free-shipping-progress.d.ts +85 -10
- package/dist/matter/free-shipping-progress/free-shipping-progress.js +153 -53
- package/dist/matter/free-shipping-progress/free-shipping-progress.js.map +1 -1
- package/dist/matter/identity-edit/identity-edit.d.ts +52 -10
- package/dist/matter/identity-edit/identity-edit.js +47 -19
- package/dist/matter/identity-edit/identity-edit.js.map +1 -1
- package/dist/matter/identity-summary/identity-summary.d.ts +76 -22
- package/dist/matter/identity-summary/identity-summary.js +95 -45
- package/dist/matter/identity-summary/identity-summary.js.map +1 -1
- package/dist/matter/installments/installments-select.d.ts +98 -16
- package/dist/matter/installments/installments-select.js +156 -48
- package/dist/matter/installments/installments-select.js.map +1 -1
- package/dist/matter/installments/installments.d.ts +96 -16
- package/dist/matter/installments/installments.js +115 -40
- package/dist/matter/installments/installments.js.map +1 -1
- package/dist/matter/installments/use-installments-selection.d.ts +1 -0
- package/dist/matter/installments/use-installments-selection.js +8 -3
- package/dist/matter/installments/use-installments-selection.js.map +1 -1
- package/dist/matter/my-account-profile/my-account-profile.d.ts +358 -103
- package/dist/matter/my-account-profile/my-account-profile.js +370 -174
- package/dist/matter/my-account-profile/my-account-profile.js.map +1 -1
- package/dist/matter/order-cancel/order-cancel.d.ts +65 -19
- package/dist/matter/order-cancel/order-cancel.js +118 -51
- package/dist/matter/order-cancel/order-cancel.js.map +1 -1
- package/dist/matter/order-delivery-address/order-delivery-address.d.ts +8 -18
- package/dist/matter/order-delivery-address/order-delivery-address.js +14 -23
- package/dist/matter/order-delivery-address/order-delivery-address.js.map +1 -1
- package/dist/matter/order-delivery-group/order-delivery-group.d.ts +40 -24
- package/dist/matter/order-delivery-group/order-delivery-group.js +64 -74
- package/dist/matter/order-delivery-group/order-delivery-group.js.map +1 -1
- package/dist/matter/order-details-header/order-details-header.d.ts +32 -15
- package/dist/matter/order-details-header/order-details-header.js +66 -58
- package/dist/matter/order-details-header/order-details-header.js.map +1 -1
- package/dist/matter/order-invoice-download/order-invoice-download.d.ts +78 -0
- package/dist/matter/order-invoice-download/order-invoice-download.js +173 -0
- package/dist/matter/order-invoice-download/order-invoice-download.js.map +1 -0
- package/dist/matter/order-list/order-list.d.ts +164 -19
- package/dist/matter/order-list/order-list.js +229 -87
- package/dist/matter/order-list/order-list.js.map +1 -1
- package/dist/matter/order-list-row/order-list-row.d.ts +6 -1
- package/dist/matter/order-list-row/order-list-row.js +3 -2
- package/dist/matter/order-list-row/order-list-row.js.map +1 -1
- package/dist/matter/order-list-search/order-list-search.d.ts +18 -26
- package/dist/matter/order-list-search/order-list-search.js +30 -69
- package/dist/matter/order-list-search/order-list-search.js.map +1 -1
- package/dist/matter/order-list-views/order-list-views.d.ts +15 -22
- package/dist/matter/order-list-views/order-list-views.js +22 -68
- package/dist/matter/order-list-views/order-list-views.js.map +1 -1
- package/dist/matter/order-payment/order-payment.d.ts +33 -10
- package/dist/matter/order-payment/order-payment.js +44 -39
- package/dist/matter/order-payment/order-payment.js.map +1 -1
- package/dist/matter/order-placed/order-placed-deliveries.d.ts +144 -12
- package/dist/matter/order-placed/order-placed-deliveries.js +115 -40
- package/dist/matter/order-placed/order-placed-deliveries.js.map +1 -1
- package/dist/matter/order-placed/order-placed.d.ts +198 -31
- package/dist/matter/order-placed/order-placed.js +230 -139
- package/dist/matter/order-placed/order-placed.js.map +1 -1
- package/dist/matter/order-placed-date/order-placed-date.d.ts +5 -8
- package/dist/matter/order-placed-date/order-placed-date.js +7 -8
- package/dist/matter/order-placed-date/order-placed-date.js.map +1 -1
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.d.ts +90 -17
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.js +93 -117
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.js.map +1 -1
- package/dist/matter/order-progress/order-progress.d.ts +19 -8
- package/dist/matter/order-progress/order-progress.js +37 -45
- package/dist/matter/order-progress/order-progress.js.map +1 -1
- package/dist/matter/order-summary/order-summary.d.ts +19 -9
- package/dist/matter/order-summary/order-summary.js +38 -44
- package/dist/matter/order-summary/order-summary.js.map +1 -1
- package/dist/matter/order-tracking-link/order-tracking-link.d.ts +43 -0
- package/dist/matter/order-tracking-link/order-tracking-link.js +107 -0
- package/dist/matter/order-tracking-link/order-tracking-link.js.map +1 -0
- package/dist/matter/payment/payment-card-capture.js +17 -10
- package/dist/matter/payment/payment-card-capture.js.map +1 -1
- package/dist/matter/payment/payment-controller.d.ts +4 -2
- package/dist/matter/payment/payment-controller.js +30 -9
- package/dist/matter/payment/payment-controller.js.map +1 -1
- package/dist/matter/payment/payment-method-badges.js +1 -1
- package/dist/matter/payment/payment.d.ts +69 -19
- package/dist/matter/payment/payment.js +101 -35
- package/dist/matter/payment/payment.js.map +1 -1
- package/dist/matter/payment/use-payment-method-selection.d.ts +25 -4
- package/dist/matter/payment/use-payment-method-selection.js +94 -32
- package/dist/matter/payment/use-payment-method-selection.js.map +1 -1
- package/dist/matter/payment/use-payment-submit-gate.d.ts +14 -3
- package/dist/matter/payment/use-payment-submit-gate.js +47 -8
- package/dist/matter/payment/use-payment-submit-gate.js.map +1 -1
- package/dist/matter/place-order/place-order.d.ts +171 -57
- package/dist/matter/place-order/place-order.js +376 -185
- package/dist/matter/place-order/place-order.js.map +1 -1
- package/dist/matter/pricing/pricing.d.ts +152 -13
- package/dist/matter/pricing/pricing.js +153 -52
- package/dist/matter/pricing/pricing.js.map +1 -1
- package/dist/matter/product-information/product-information.d.ts +27 -4
- package/dist/matter/product-information/product-information.js +32 -15
- package/dist/matter/product-information/product-information.js.map +1 -1
- package/dist/matter/product-list/product-list.d.ts +24 -6
- package/dist/matter/product-list/product-list.js +32 -26
- package/dist/matter/product-list/product-list.js.map +1 -1
- package/dist/matter/product-shelf/product-shelf.d.ts +8 -3
- package/dist/matter/product-shelf/product-shelf.js +111 -10
- package/dist/matter/product-shelf/product-shelf.js.map +1 -1
- package/dist/matter/region/region.d.ts +33 -16
- package/dist/matter/region/region.js +59 -52
- package/dist/matter/region/region.js.map +1 -1
- package/dist/matter/save-card/save-card.d.ts +43 -8
- package/dist/matter/save-card/save-card.js +61 -23
- package/dist/matter/save-card/save-card.js.map +1 -1
- package/dist/matter/saved-cards/saved-cards.d.ts +113 -21
- package/dist/matter/saved-cards/saved-cards.js +349 -77
- package/dist/matter/saved-cards/saved-cards.js.map +1 -1
- package/dist/matter/shipping-address/address-payload.js +25 -0
- package/dist/matter/shipping-address/address-payload.js.map +1 -0
- package/dist/matter/shipping-address/country-descriptors.js +71 -71
- package/dist/matter/shipping-address/country-descriptors.js.map +1 -1
- package/dist/matter/shipping-address/library-country-descriptors.js +136 -0
- package/dist/matter/shipping-address/library-country-descriptors.js.map +1 -0
- package/dist/matter/shipping-address/shipping-address.d.ts +312 -45
- package/dist/matter/shipping-address/shipping-address.js +443 -188
- package/dist/matter/shipping-address/shipping-address.js.map +1 -1
- package/dist/matter/shipping-simulator/shipping-simulator.d.ts +251 -25
- package/dist/matter/shipping-simulator/shipping-simulator.js +261 -51
- package/dist/matter/shipping-simulator/shipping-simulator.js.map +1 -1
- package/dist/matter/sign-in/sign-in.d.ts +108 -0
- package/dist/matter/sign-in/sign-in.js +285 -0
- package/dist/matter/sign-in/sign-in.js.map +1 -0
- package/dist/matter/sign-in-disclosure/sign-in-disclosure.d.ts +81 -0
- package/dist/matter/sign-in-disclosure/sign-in-disclosure.js +232 -0
- package/dist/matter/sign-in-disclosure/sign-in-disclosure.js.map +1 -0
- package/dist/matter/sign-in-form/sign-in-form.d.ts +93 -62
- package/dist/matter/sign-in-form/sign-in-form.js +134 -144
- package/dist/matter/sign-in-form/sign-in-form.js.map +1 -1
- package/dist/particles/binding-switcher/binding-switcher.d.ts +59 -0
- package/dist/particles/binding-switcher/binding-switcher.js +194 -0
- package/dist/particles/binding-switcher/binding-switcher.js.map +1 -0
- package/dist/particles/card-summary/card-network.d.ts +17 -0
- package/dist/particles/card-summary/card-network.js +25 -0
- package/dist/particles/card-summary/card-network.js.map +1 -0
- package/dist/particles/card-summary/card-summary.d.ts +113 -0
- package/dist/particles/card-summary/card-summary.js +221 -0
- package/dist/particles/card-summary/card-summary.js.map +1 -0
- package/dist/particles/carousel/carousel.d.ts +99 -11
- package/dist/particles/carousel/carousel.js +103 -35
- package/dist/particles/carousel/carousel.js.map +1 -1
- package/dist/particles/copy-text/copy-text.js +5 -15
- package/dist/particles/copy-text/copy-text.js.map +1 -1
- package/dist/particles/dialog/dialog.d.ts +14 -6
- package/dist/particles/dialog/dialog.js +6 -3
- package/dist/particles/dialog/dialog.js.map +1 -1
- package/dist/particles/drawer/drawer.js +1 -1
- package/dist/particles/drawer/drawer.js.map +1 -1
- package/dist/particles/email-field/email-field.d.ts +2 -1
- package/dist/particles/email-field/email-field.js +2 -1
- package/dist/particles/email-field/email-field.js.map +1 -1
- package/dist/particles/footer-link-group/footer-link-group.js +1 -0
- package/dist/particles/footer-link-group/footer-link-group.js.map +1 -1
- package/dist/particles/footer-social/footer-social.d.ts +1 -1
- package/dist/particles/footer-social/footer-social.js +1 -1
- package/dist/particles/footer-social/footer-social.js.map +1 -1
- package/dist/particles/form/form.d.ts +85 -13
- package/dist/particles/form/form.js +91 -42
- package/dist/particles/form/form.js.map +1 -1
- package/dist/particles/gallery/gallery.d.ts +129 -12
- package/dist/particles/gallery/gallery.js +121 -34
- package/dist/particles/gallery/gallery.js.map +1 -1
- package/dist/particles/incentives/incentives.d.ts +1 -1
- package/dist/particles/incentives/incentives.js +1 -1
- package/dist/particles/incentives/incentives.js.map +1 -1
- package/dist/particles/order-details-back/order-details-back.d.ts +5 -3
- package/dist/particles/order-details-back/order-details-back.js +8 -10
- package/dist/particles/order-details-back/order-details-back.js.map +1 -1
- package/dist/particles/order-status-badge/order-status-badge.d.ts +3 -3
- package/dist/particles/order-status-badge/order-status-badge.js +4 -20
- package/dist/particles/order-status-badge/order-status-badge.js.map +1 -1
- package/dist/particles/password-field/password-field.d.ts +1 -1
- package/dist/particles/password-field/password-field.js +2 -4
- package/dist/particles/password-field/password-field.js.map +1 -1
- package/dist/particles/payment-methods/payment-methods.d.ts +1 -1
- package/dist/particles/payment-methods/payment-methods.js +1 -1
- package/dist/particles/payment-methods/payment-methods.js.map +1 -1
- package/dist/particles/phone-field/phone-field.d.ts +4 -4
- package/dist/particles/phone-field/phone-field.js +8 -11
- package/dist/particles/phone-field/phone-field.js.map +1 -1
- package/dist/particles/spinner/spinner.d.ts +24 -4
- package/dist/particles/spinner/spinner.js +25 -9
- package/dist/particles/spinner/spinner.js.map +1 -1
- package/dist/particles/switch/switch.d.ts +4 -1
- package/dist/particles/switch/switch.js +3 -1
- package/dist/particles/switch/switch.js.map +1 -1
- package/dist/particles/toast/toast.d.ts +49 -9
- package/dist/particles/toast/toast.js +81 -15
- package/dist/particles/toast/toast.js.map +1 -1
- package/dist/schema.graphql +461 -89
- package/dist/sdk/actions/index.d.ts +3 -1
- package/dist/sdk/actions/index.js +3 -1
- package/dist/sdk/actions/locale-action-provider.d.ts +16 -0
- package/dist/sdk/actions/locale-action-provider.js +20 -0
- package/dist/sdk/actions/locale-action-provider.js.map +1 -0
- package/dist/sdk/actions/saved-card-action-provider.d.ts +12 -0
- package/dist/sdk/actions/saved-card-action-provider.js +16 -0
- package/dist/sdk/actions/saved-card-action-provider.js.map +1 -0
- package/dist/sdk/actions/types.d.ts +6 -2
- package/dist/sdk/address/address-fields.js +4 -4
- package/dist/sdk/address/address-fields.js.map +1 -1
- package/dist/sdk/address/constants.js +1 -6
- package/dist/sdk/address/constants.js.map +1 -1
- package/dist/sdk/address/messages.js +44 -44
- package/dist/sdk/address/messages.js.map +1 -1
- package/dist/sdk/address/postal-code.js +15 -2
- package/dist/sdk/address/postal-code.js.map +1 -1
- package/dist/sdk/address/types.d.ts +5 -3
- package/dist/sdk/address/validate-address.js +3 -3
- package/dist/sdk/address/validate-address.js.map +1 -1
- package/dist/sdk/analytics/use-analytics-actions.d.ts +1 -1
- package/dist/sdk/analytics/use-analytics-actions.js.map +1 -1
- package/dist/sdk/cache/storefront-cache.js +2 -1
- package/dist/sdk/cache/storefront-cache.js.map +1 -1
- package/dist/sdk/cart/operations.d.ts +2 -1
- package/dist/sdk/cart/operations.js +55 -1
- package/dist/sdk/cart/operations.js.map +1 -1
- package/dist/sdk/cart/optimistic.d.ts +30 -7
- package/dist/sdk/cart/optimistic.js +78 -41
- package/dist/sdk/cart/optimistic.js.map +1 -1
- package/dist/sdk/cart/use-cart-actions.d.ts +7 -0
- package/dist/sdk/cart/use-cart-actions.js +61 -15
- package/dist/sdk/cart/use-cart-actions.js.map +1 -1
- package/dist/sdk/cart/use-cart-sync-sales-channel.js +70 -0
- package/dist/sdk/cart/use-cart-sync-sales-channel.js.map +1 -0
- package/dist/sdk/data/index.js +2 -2
- package/dist/sdk/data/reactive-list-item-data-provider.js +2 -2
- package/dist/sdk/generated/gql.js +16 -12
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +197 -51
- package/dist/sdk/generated/graphql.js +2318 -91
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/i18n/format-error-code.js +23 -0
- package/dist/sdk/i18n/format-error-code.js.map +1 -0
- package/dist/sdk/i18n/message-formatter.d.ts +22 -0
- package/dist/sdk/i18n/message-formatter.js +140 -0
- package/dist/sdk/i18n/message-formatter.js.map +1 -0
- package/dist/sdk/i18n/use-message-formatter.d.ts +8 -0
- package/dist/sdk/i18n/use-message-formatter.js +18 -0
- package/dist/sdk/i18n/use-message-formatter.js.map +1 -0
- package/dist/sdk/identity/use-identity-actions.js.map +1 -1
- package/dist/sdk/locale/binding-switch-provider.d.ts +13 -0
- package/dist/sdk/locale/binding-switch-provider.js +20 -0
- package/dist/sdk/locale/binding-switch-provider.js.map +1 -0
- package/dist/sdk/locale/use-locale-actions.d.ts +16 -0
- package/dist/sdk/locale/use-locale-actions.js +70 -0
- package/dist/sdk/locale/use-locale-actions.js.map +1 -0
- package/dist/sdk/navigation/binding-switch.d.ts +39 -0
- package/dist/sdk/navigation/binding-switch.js +129 -0
- package/dist/sdk/navigation/binding-switch.js.map +1 -0
- package/dist/sdk/navigation/decode-route-params.d.ts +11 -0
- package/dist/sdk/navigation/decode-route-params.js +32 -0
- package/dist/sdk/navigation/decode-route-params.js.map +1 -0
- package/dist/sdk/navigation/redirect.d.ts +2 -0
- package/dist/sdk/navigation/redirect.js +19 -1
- package/dist/sdk/navigation/redirect.js.map +1 -1
- package/dist/sdk/navigation/types.d.ts +13 -0
- package/dist/sdk/payment/bin-format.js +20 -0
- package/dist/sdk/payment/bin-format.js.map +1 -0
- package/dist/sdk/payment/challenge-return.js +37 -0
- package/dist/sdk/payment/challenge-return.js.map +1 -0
- package/dist/sdk/payment/confirmation-last-four.js +39 -0
- package/dist/sdk/payment/confirmation-last-four.js.map +1 -0
- package/dist/sdk/payment/gateway.d.ts +1 -1
- package/dist/sdk/payment/gateway.js +8 -2
- package/dist/sdk/payment/gateway.js.map +1 -1
- package/dist/sdk/payment/operations.d.ts +1 -0
- package/dist/sdk/payment/operations.js +28 -6
- package/dist/sdk/payment/operations.js.map +1 -1
- package/dist/sdk/payment/resumed-purchase.d.ts +1 -0
- package/dist/sdk/payment/resumed-purchase.js +119 -0
- package/dist/sdk/payment/resumed-purchase.js.map +1 -0
- package/dist/sdk/payment/security-code-mask.js +16 -23
- package/dist/sdk/payment/security-code-mask.js.map +1 -1
- package/dist/sdk/payment/submission-registry.js +6 -2
- package/dist/sdk/payment/submission-registry.js.map +1 -1
- package/dist/sdk/payment/use-payment-actions.d.ts +18 -3
- package/dist/sdk/payment/use-payment-actions.js +23 -3
- package/dist/sdk/payment/use-payment-actions.js.map +1 -1
- package/dist/sdk/payment/use-place-order.d.ts +10 -2
- package/dist/sdk/payment/use-place-order.js +138 -76
- package/dist/sdk/payment/use-place-order.js.map +1 -1
- package/dist/sdk/provider/storefront-provider.d.ts +1 -7
- package/dist/sdk/provider/storefront-provider.js +4 -11
- package/dist/sdk/provider/storefront-provider.js.map +1 -1
- package/dist/sdk/saved-cards/operations.d.ts +16 -0
- package/dist/sdk/saved-cards/operations.js +41 -0
- package/dist/sdk/saved-cards/operations.js.map +1 -0
- package/dist/sdk/saved-cards/use-saved-card-actions.d.ts +26 -0
- package/dist/sdk/saved-cards/use-saved-card-actions.js +86 -0
- package/dist/sdk/saved-cards/use-saved-card-actions.js.map +1 -0
- package/dist/sdk/seo/entity-landing.d.ts +24 -0
- package/dist/sdk/seo/entity-landing.js +30 -0
- package/dist/sdk/seo/entity-landing.js.map +1 -0
- package/dist/sdk/seo/page-alternates.d.ts +8 -5
- package/dist/sdk/seo/page-alternates.js +11 -14
- package/dist/sdk/seo/page-alternates.js.map +1 -1
- package/dist/sdk/seo/search-landing.d.ts +42 -0
- package/dist/sdk/seo/search-landing.js +85 -0
- package/dist/sdk/seo/search-landing.js.map +1 -0
- package/dist/sdk/session/mock-session.d.ts +9 -0
- package/dist/sdk/session/mock-session.js +31 -0
- package/dist/sdk/session/mock-session.js.map +1 -0
- package/dist/sdk/session/read-server-session.d.ts +3 -0
- package/dist/sdk/session/read-server-session.js +5 -0
- package/dist/sdk/session/read-server-session.js.map +1 -1
- package/dist/sdk/session/return-path-segment.d.ts +10 -0
- package/dist/sdk/session/return-path-segment.js +15 -0
- package/dist/sdk/session/return-path-segment.js.map +1 -0
- package/dist/sdk/session/use-session-actions.js.map +1 -1
- package/dist/sdk/shipping/shipping-operations.d.ts +1 -1
- package/dist/sdk/shipping/shipping-operations.js +13 -0
- package/dist/sdk/shipping/shipping-operations.js.map +1 -1
- package/dist/sdk/shipping/use-cart-shipping-simulation.js.map +1 -1
- package/dist/sdk/shipping/use-shipping-actions.js.map +1 -1
- package/dist/sdk/shipping/use-shipping-simulation.js.map +1 -1
- package/dist/sdk/state/cart.d.ts +9 -2
- package/dist/sdk/state/cart.js +9 -2
- package/dist/sdk/state/cart.js.map +1 -1
- package/dist/utils/safe-href.d.ts +2 -0
- package/package.json +4 -3
- package/skills/storefront-asset/SKILL.md +2 -2
- package/skills/storefront-asset/references/api-side.md +27 -14
- package/skills/storefront-asset/references/findings.md +5 -2
- package/src/styles/tailwind.css +9 -2
- package/dist/matter/shipping-address/country-descriptors.d.ts +0 -1
- package/dist/message-locales.json +0 -7
- package/dist/sdk/i18n/client.d.ts +0 -4
- package/dist/sdk/i18n/client.js +0 -4
- package/dist/sdk/i18n/locales.d.ts +0 -8
- package/dist/sdk/i18n/locales.js +0 -57
- package/dist/sdk/i18n/locales.js.map +0 -1
- package/dist/sdk/i18n/messages/en-US.js +0 -164
- package/dist/sdk/i18n/messages/en-US.js.map +0 -1
- package/dist/sdk/i18n/messages/en-US.json +0 -159
- package/dist/sdk/i18n/messages/en-US.json.d.ts +0 -163
- package/dist/sdk/i18n/messages/es-ES.js +0 -164
- package/dist/sdk/i18n/messages/es-ES.js.map +0 -1
- package/dist/sdk/i18n/messages/es-ES.json +0 -159
- package/dist/sdk/i18n/messages/pt-BR.js +0 -164
- package/dist/sdk/i18n/messages/pt-BR.js.map +0 -1
- package/dist/sdk/i18n/messages/pt-BR.json +0 -159
- package/dist/sdk/i18n/provider.d.ts +0 -1
- package/dist/sdk/i18n/provider.js +0 -30
- package/dist/sdk/i18n/provider.js.map +0 -1
- package/dist/sdk/i18n/server.d.ts +0 -28
- package/dist/sdk/i18n/server.js +0 -59
- package/dist/sdk/i18n/server.js.map +0 -1
- package/dist/utils/resolve-authored-copy.js +0 -18
- package/dist/utils/resolve-authored-copy.js.map +0 -1
- package/dist/utils/substitute-template.js +0 -33
- package/dist/utils/substitute-template.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentValue } from "../../core/dist/define-content-type.js";
|
|
1
|
+
import { ContentValue, MessageLocaleProp } from "../../core/dist/define-content-type.js";
|
|
2
2
|
import { ComponentDefinition } from "../../core/dist/define-component.js";
|
|
3
3
|
import "../../core/dist/index.js";
|
|
4
4
|
import "../../sdk/generated/graphql.js";
|
|
@@ -29,16 +29,282 @@ export declare const CartDisclaimerContent: {
|
|
|
29
29
|
export declare const CartCheckoutLabelContent: {
|
|
30
30
|
readonly id: "cart-checkout-label";
|
|
31
31
|
readonly title: "Cart Checkout Label";
|
|
32
|
-
readonly description: "
|
|
32
|
+
readonly description: "Label for the checkout call to action.";
|
|
33
33
|
readonly schema: {
|
|
34
34
|
readonly type: "object";
|
|
35
35
|
readonly additionalProperties: false;
|
|
36
|
-
readonly required: readonly ["label"];
|
|
37
36
|
readonly properties: {
|
|
38
37
|
readonly label: {
|
|
39
38
|
readonly type: "string";
|
|
40
39
|
readonly minLength: 1;
|
|
41
40
|
readonly title: "Checkout label";
|
|
41
|
+
readonly format: "icu-message";
|
|
42
|
+
readonly messageSource: "Checkout";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const CartCountContent: {
|
|
48
|
+
readonly id: "cart-count";
|
|
49
|
+
readonly title: "Cart Count";
|
|
50
|
+
readonly description: "Text of the cart item count.";
|
|
51
|
+
readonly schema: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly additionalProperties: false;
|
|
54
|
+
readonly properties: {
|
|
55
|
+
readonly template: {
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly title: "Item count";
|
|
58
|
+
readonly format: "icu-message";
|
|
59
|
+
readonly messageSource: "{count}";
|
|
60
|
+
readonly messageArguments: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly properties: {
|
|
63
|
+
readonly count: {
|
|
64
|
+
readonly type: "integer";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly messageExample: {
|
|
69
|
+
readonly count: 3;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const CartCouponFormContent: {
|
|
76
|
+
readonly id: "cart-coupon-form";
|
|
77
|
+
readonly title: "Cart Coupon Form";
|
|
78
|
+
readonly description: "Copy for the coupon code input, its apply button and the applied toast.";
|
|
79
|
+
readonly schema: {
|
|
80
|
+
readonly type: "object";
|
|
81
|
+
readonly additionalProperties: false;
|
|
82
|
+
readonly properties: {
|
|
83
|
+
readonly placeholder: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly title: "Input placeholder";
|
|
86
|
+
readonly description: "Also the accessible name of the input.";
|
|
87
|
+
readonly format: "icu-message";
|
|
88
|
+
readonly messageSource: "Coupon code";
|
|
89
|
+
};
|
|
90
|
+
readonly applyLabel: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
readonly title: "Apply button label";
|
|
93
|
+
readonly format: "icu-message";
|
|
94
|
+
readonly messageSource: "Apply";
|
|
95
|
+
};
|
|
96
|
+
readonly appliedMessage: {
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
readonly title: "Applied toast title";
|
|
99
|
+
readonly description: "Raised after an apply whose code comes back matched; blank raises no toast.";
|
|
100
|
+
readonly format: "icu-message";
|
|
101
|
+
readonly messageSource: "Coupon applied";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare const CartAppliedCouponsContent: {
|
|
107
|
+
readonly id: "cart-applied-coupons";
|
|
108
|
+
readonly title: "Cart Applied Coupons";
|
|
109
|
+
readonly description: "Copy for the built-in remove control of each applied coupon chip.";
|
|
110
|
+
readonly schema: {
|
|
111
|
+
readonly type: "object";
|
|
112
|
+
readonly additionalProperties: false;
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly removeLabel: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly title: "Remove control accessible label";
|
|
117
|
+
readonly format: "icu-message";
|
|
118
|
+
readonly messageSource: "Remove coupon {code}";
|
|
119
|
+
readonly messageArguments: {
|
|
120
|
+
readonly type: "object";
|
|
121
|
+
readonly properties: {
|
|
122
|
+
readonly code: {
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly messageExample: {
|
|
128
|
+
readonly code: "SAVE10";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export declare const CartCouponUnmatchedContent: {
|
|
135
|
+
readonly id: "cart-coupon-unmatched";
|
|
136
|
+
readonly title: "Cart Coupon Unmatched";
|
|
137
|
+
readonly description: "Notice shown on an applied coupon whose conditions do not match the cart.";
|
|
138
|
+
readonly schema: {
|
|
139
|
+
readonly type: "object";
|
|
140
|
+
readonly additionalProperties: false;
|
|
141
|
+
readonly properties: {
|
|
142
|
+
readonly message: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly title: "Notice";
|
|
145
|
+
readonly format: "icu-message";
|
|
146
|
+
readonly messageSource: "This coupon is not being applied to your cart";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export declare const CartCouponSavingsContent: {
|
|
152
|
+
readonly id: "cart-coupon-savings";
|
|
153
|
+
readonly title: "Cart Coupon Savings";
|
|
154
|
+
readonly description: "Text of the amount an applied coupon saves.";
|
|
155
|
+
readonly schema: {
|
|
156
|
+
readonly type: "object";
|
|
157
|
+
readonly additionalProperties: false;
|
|
158
|
+
readonly properties: {
|
|
159
|
+
readonly template: {
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
readonly title: "Savings text";
|
|
162
|
+
readonly description: "`amount` is the formatted saving.";
|
|
163
|
+
readonly format: "icu-message";
|
|
164
|
+
readonly messageSource: "{amount}";
|
|
165
|
+
readonly messageArguments: {
|
|
166
|
+
readonly type: "object";
|
|
167
|
+
readonly properties: {
|
|
168
|
+
readonly amount: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly messageExample: {
|
|
174
|
+
readonly amount: "-$10.00";
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
export declare const CartUnavailableCountContent: {
|
|
181
|
+
readonly id: "cart-unavailable-count";
|
|
182
|
+
readonly title: "Cart Unavailable Count";
|
|
183
|
+
readonly description: "Summary of how many cart lines are unavailable.";
|
|
184
|
+
readonly schema: {
|
|
185
|
+
readonly type: "object";
|
|
186
|
+
readonly additionalProperties: false;
|
|
187
|
+
readonly properties: {
|
|
188
|
+
readonly template: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly title: "Unavailable count";
|
|
191
|
+
readonly format: "icu-message";
|
|
192
|
+
readonly messageSource: "{count, plural, one {# item unavailable} other {# items unavailable}}";
|
|
193
|
+
readonly messageArguments: {
|
|
194
|
+
readonly type: "object";
|
|
195
|
+
readonly properties: {
|
|
196
|
+
readonly count: {
|
|
197
|
+
readonly type: "integer";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
readonly messageExample: {
|
|
202
|
+
readonly count: 2;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
export declare const CartRemoveUnavailableContent: {
|
|
209
|
+
readonly id: "cart-remove-unavailable";
|
|
210
|
+
readonly title: "Cart Remove Unavailable";
|
|
211
|
+
readonly description: "Label for the button that removes every unavailable cart line.";
|
|
212
|
+
readonly schema: {
|
|
213
|
+
readonly type: "object";
|
|
214
|
+
readonly additionalProperties: false;
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly label: {
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
readonly title: "Button label";
|
|
219
|
+
readonly format: "icu-message";
|
|
220
|
+
readonly messageSource: "Remove unavailable items";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
export declare const ClearCartButtonContent: {
|
|
226
|
+
readonly id: "clear-cart-button";
|
|
227
|
+
readonly title: "Clear Cart Button";
|
|
228
|
+
readonly description: "Label for the button that removes every cart line.";
|
|
229
|
+
readonly schema: {
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly additionalProperties: false;
|
|
232
|
+
readonly properties: {
|
|
233
|
+
readonly label: {
|
|
234
|
+
readonly type: "string";
|
|
235
|
+
readonly title: "Button label";
|
|
236
|
+
readonly format: "icu-message";
|
|
237
|
+
readonly messageSource: "Clear cart";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
export declare const CartErrorContent: {
|
|
243
|
+
readonly id: "cart-error";
|
|
244
|
+
readonly title: "Cart Error";
|
|
245
|
+
readonly description: "Messages shown when a cart item write is refused, one per error code the shopper can act on.";
|
|
246
|
+
readonly schema: {
|
|
247
|
+
readonly type: "object";
|
|
248
|
+
readonly additionalProperties: false;
|
|
249
|
+
readonly properties: {
|
|
250
|
+
readonly invalidQuantityMessage: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly title: "Invalid quantity message";
|
|
253
|
+
readonly description: "Shown when the requested quantity is not accepted.";
|
|
254
|
+
readonly format: "icu-message";
|
|
255
|
+
readonly messageSource: "Choose a valid quantity.";
|
|
256
|
+
};
|
|
257
|
+
readonly itemNotFoundMessage: {
|
|
258
|
+
readonly type: "string";
|
|
259
|
+
readonly title: "Item not found message";
|
|
260
|
+
readonly description: "Shown when the item is no longer in the cart.";
|
|
261
|
+
readonly format: "icu-message";
|
|
262
|
+
readonly messageSource: "This item is no longer in your cart.";
|
|
263
|
+
};
|
|
264
|
+
readonly genericErrorMessage: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly title: "Generic failure message";
|
|
267
|
+
readonly description: "Shown for a network failure and for every refusal the shopper cannot act on.";
|
|
268
|
+
readonly format: "icu-message";
|
|
269
|
+
readonly messageSource: "Unable to update cart. Please try again.";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
export declare const CartCouponErrorContent: {
|
|
275
|
+
readonly id: "cart-coupon-error";
|
|
276
|
+
readonly title: "Cart Coupon Error";
|
|
277
|
+
readonly description: "Messages shown when a coupon apply or remove is refused, one per error code the shopper can act on.";
|
|
278
|
+
readonly schema: {
|
|
279
|
+
readonly type: "object";
|
|
280
|
+
readonly additionalProperties: false;
|
|
281
|
+
readonly properties: {
|
|
282
|
+
readonly couponNotFoundMessage: {
|
|
283
|
+
readonly type: "string";
|
|
284
|
+
readonly title: "Coupon not found message";
|
|
285
|
+
readonly description: "Shown when the code is unknown or not accepted by this cart.";
|
|
286
|
+
readonly format: "icu-message";
|
|
287
|
+
readonly messageSource: "This coupon is not valid for your cart.";
|
|
288
|
+
};
|
|
289
|
+
readonly couponExpiredMessage: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly title: "Coupon expired message";
|
|
292
|
+
readonly format: "icu-message";
|
|
293
|
+
readonly messageSource: "This coupon has expired.";
|
|
294
|
+
};
|
|
295
|
+
readonly couponNotCombinedMessage: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly title: "Coupon not combined message";
|
|
298
|
+
readonly description: "Shown when the code is refused while another coupon is applied. The platform does not say whether the code is unknown or cannot be combined.";
|
|
299
|
+
readonly format: "icu-message";
|
|
300
|
+
readonly messageSource: "This coupon cannot be used with the coupons already applied.";
|
|
301
|
+
};
|
|
302
|
+
readonly genericErrorMessage: {
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
readonly title: "Generic failure message";
|
|
305
|
+
readonly description: "Shown for a network failure and for every refusal the shopper cannot act on.";
|
|
306
|
+
readonly format: "icu-message";
|
|
307
|
+
readonly messageSource: "Unable to update your coupons. Please try again.";
|
|
42
308
|
};
|
|
43
309
|
};
|
|
44
310
|
};
|
|
@@ -59,35 +325,44 @@ export type CartRootProps = ComponentPropsWithRef<'div'> & {
|
|
|
59
325
|
* session, or `orderFormIdVar` is still null).
|
|
60
326
|
*/
|
|
61
327
|
$data?: CartEntity | null;
|
|
328
|
+
/** Injected by the compiler from `actions: { cart: ['syncSalesChannel'] }`. */
|
|
329
|
+
$actions?: ComponentActions;
|
|
62
330
|
};
|
|
63
331
|
export type CartListProps = ComponentPropsWithRef<'div'> & {
|
|
64
332
|
/** Number of CartItemSkeleton rows to render while the cart is still loading (FR-7). */
|
|
65
333
|
skeletonCount?: number;
|
|
66
334
|
};
|
|
335
|
+
export type CartAvailableItemsProps = ComponentPropsWithRef<'div'> & {
|
|
336
|
+
/** Number of CartItemSkeleton rows to render while the cart is still loading. */
|
|
337
|
+
skeletonCount?: number;
|
|
338
|
+
};
|
|
339
|
+
export type CartUnavailableItemsProps = ComponentPropsWithRef<'div'>;
|
|
67
340
|
export type CartTotalProps = ComponentPropsWithRef<'span'> & {
|
|
68
341
|
label?: string;
|
|
69
342
|
};
|
|
70
|
-
export type CartCountProps = ComponentPropsWithRef<'span'> & {
|
|
71
|
-
template
|
|
343
|
+
export type CartCountProps = ComponentPropsWithRef<'span'> & MessageLocaleProp & {
|
|
344
|
+
/** `template` words the count; it receives `count`. */
|
|
345
|
+
$content?: ContentValue<typeof CartCountContent>;
|
|
72
346
|
};
|
|
73
|
-
export type CartErrorProps = ComponentPropsWithRef<'div'
|
|
74
|
-
|
|
347
|
+
export type CartErrorProps = ComponentPropsWithRef<'div'> & MessageLocaleProp & {
|
|
348
|
+
/** Words each refusal code; authored `children` replace it. */
|
|
349
|
+
$content?: ContentValue<typeof CartErrorContent>;
|
|
350
|
+
};
|
|
351
|
+
export type CartGoCheckoutProps = Omit<NavigationLinkProps, 'href' | '$content'> & MessageLocaleProp & {
|
|
75
352
|
href?: PageRef | string;
|
|
76
|
-
/**
|
|
77
|
-
label?: string;
|
|
78
|
-
/** Merchant-authored label, sliced from the page/layout content entry; wins over the label prop and
|
|
79
|
-
* over children. Absent in a non-CMS store — the props are the fallback. */
|
|
353
|
+
/** `label` is the button text when no `children` are composed. */
|
|
80
354
|
$content?: ContentValue<typeof CartCheckoutLabelContent>;
|
|
81
355
|
/** Injected by the compiler from `actions: { cart: ['validate'] }`; the stock-validation write surface. */
|
|
82
356
|
$actions?: ComponentActions;
|
|
83
357
|
};
|
|
84
|
-
export type CartCouponFormProps = ComponentPropsWithRef<'form'> & {
|
|
85
|
-
|
|
86
|
-
applyLabel?: string;
|
|
358
|
+
export type CartCouponFormProps = ComponentPropsWithRef<'form'> & MessageLocaleProp & {
|
|
359
|
+
$content?: ContentValue<typeof CartCouponFormContent>;
|
|
87
360
|
/** Injected by the compiler from `actions: { cart: ['applyCoupon'] }`; the cart write surface. */
|
|
88
361
|
$actions?: ComponentActions;
|
|
89
362
|
};
|
|
90
|
-
export type CartAppliedCouponsProps = ComponentPropsWithRef<'div'> & {
|
|
363
|
+
export type CartAppliedCouponsProps = ComponentPropsWithRef<'div'> & MessageLocaleProp & {
|
|
364
|
+
/** `removeLabel` names the built-in remove control of each chip; it receives `code`. */
|
|
365
|
+
$content?: ContentValue<typeof CartAppliedCouponsContent>;
|
|
91
366
|
/** Injected by the compiler from `actions: { cart: ['removeCoupon'] }`; forwarded to the built-in chip's remove control. */
|
|
92
367
|
$actions?: ComponentActions;
|
|
93
368
|
};
|
|
@@ -100,7 +375,19 @@ export type CartCouponRemoveProps = ComponentPropsWithRef<'button'> & {
|
|
|
100
375
|
/** Injected by the compiler from `actions: { cart: ['removeCoupon'] }`; the cart write surface. */
|
|
101
376
|
$actions?: ComponentActions;
|
|
102
377
|
};
|
|
103
|
-
export type CartCouponErrorProps = ComponentPropsWithRef<'div'
|
|
378
|
+
export type CartCouponErrorProps = ComponentPropsWithRef<'div'> & MessageLocaleProp & {
|
|
379
|
+
/** Words each refusal code; authored `children` replace it. */
|
|
380
|
+
$content?: ContentValue<typeof CartCouponErrorContent>;
|
|
381
|
+
};
|
|
382
|
+
export type CartCouponEmptyProps = ComponentPropsWithRef<'div'>;
|
|
383
|
+
export type CartCouponUnmatchedProps = ComponentPropsWithRef<'output'> & MessageLocaleProp & {
|
|
384
|
+
/** `message` is the notice shown while the enclosing chip's coupon is unmatched; blank renders nothing. */
|
|
385
|
+
$content?: ContentValue<typeof CartCouponUnmatchedContent>;
|
|
386
|
+
};
|
|
387
|
+
export type CartCouponSavingsProps = Omit<ComponentPropsWithRef<'span'>, 'children'> & MessageLocaleProp & {
|
|
388
|
+
/** `template` is the chip text; it receives `amount`, the formatted saving. */
|
|
389
|
+
$content?: ContentValue<typeof CartCouponSavingsContent>;
|
|
390
|
+
};
|
|
104
391
|
export type CartDisclaimerProps = ComponentPropsWithRef<'p'> & {
|
|
105
392
|
/**
|
|
106
393
|
* Authored fallback, rendered when no CMS entry supplies the notice. Ranks below `children`:
|
|
@@ -114,26 +401,44 @@ export type CartCheckoutGuardProps = ComponentPropsWithRef<'div'>;
|
|
|
114
401
|
export type CartLoadingProps = ComponentPropsWithRef<'div'>;
|
|
115
402
|
export type CartEmptyProps = ComponentPropsWithRef<'div'>;
|
|
116
403
|
export type CartFilledProps = ComponentPropsWithRef<'div'>;
|
|
117
|
-
export type CartEmptyMessageProps = ComponentPropsWithRef<'p'> & {
|
|
118
|
-
/**
|
|
119
|
-
text?: string;
|
|
120
|
-
/** Injected by the compiler, sliced from the page's or layout's composite content entry. */
|
|
404
|
+
export type CartEmptyMessageProps = ComponentPropsWithRef<'p'> & MessageLocaleProp & {
|
|
405
|
+
/** `text` is the message; blank renders nothing. */
|
|
121
406
|
$content?: ContentValue<typeof CartEmptyMessageContent>;
|
|
122
407
|
};
|
|
123
|
-
export type CartContinueShoppingProps = ComponentPropsWithRef<'button'> & {
|
|
124
|
-
/**
|
|
125
|
-
label?: string;
|
|
126
|
-
/** Injected by the compiler, sliced from the page's or layout's composite content entry. */
|
|
408
|
+
export type CartContinueShoppingProps = ComponentPropsWithRef<'button'> & MessageLocaleProp & {
|
|
409
|
+
/** `label` is the button text when no `children` are composed. */
|
|
127
410
|
$content?: ContentValue<typeof CartContinueShoppingContent>;
|
|
128
411
|
};
|
|
129
|
-
export type CartUnavailableCountProps = ComponentPropsWithRef<'span'> & {
|
|
130
|
-
/**
|
|
131
|
-
|
|
412
|
+
export type CartUnavailableCountProps = ComponentPropsWithRef<'span'> & MessageLocaleProp & {
|
|
413
|
+
/** `template` words the count; it receives `count`. */
|
|
414
|
+
$content?: ContentValue<typeof CartUnavailableCountContent>;
|
|
415
|
+
};
|
|
416
|
+
export type ClearCartButtonProps = ComponentPropsWithRef<'button'> & MessageLocaleProp & {
|
|
417
|
+
/** `label` is the button text when no `children` are composed. */
|
|
418
|
+
$content?: ContentValue<typeof ClearCartButtonContent>;
|
|
419
|
+
/** Injected by the compiler from `actions: { cart: ['removeItems'] }`; the cart write surface. */
|
|
420
|
+
$actions?: ComponentActions;
|
|
132
421
|
};
|
|
133
|
-
export type CartRemoveUnavailableProps = ComponentPropsWithRef<'button'> & {
|
|
422
|
+
export type CartRemoveUnavailableProps = ComponentPropsWithRef<'button'> & MessageLocaleProp & {
|
|
423
|
+
/** `label` is the button text when no `children` are composed. */
|
|
424
|
+
$content?: ContentValue<typeof CartRemoveUnavailableContent>;
|
|
134
425
|
/** Injected by the compiler from `actions: { cart: ['removeItems'] }`; the cart write surface. */
|
|
135
426
|
$actions?: ComponentActions;
|
|
136
427
|
};
|
|
428
|
+
export type CartUnavailableSectionProps = ComponentPropsWithRef<'div'>;
|
|
429
|
+
export type CartUnavailableLabelProps = ComponentPropsWithRef<'p'> & MessageLocaleProp & {
|
|
430
|
+
/** `text` is the label. */
|
|
431
|
+
$content?: ContentValue<typeof CartUnavailableLabelContent>;
|
|
432
|
+
};
|
|
433
|
+
export type CartAllUnavailableProps = ComponentPropsWithRef<'div'>;
|
|
434
|
+
export type CartAllUnavailableMessageProps = ComponentPropsWithRef<'div'> & MessageLocaleProp & {
|
|
435
|
+
/** Link label. The link renders only when this and `linkHref` both resolve. No default. */
|
|
436
|
+
linkText?: string;
|
|
437
|
+
/** Link destination: a page reference, or a URL string checked by `resolveSafeHref`. No default. */
|
|
438
|
+
linkHref?: PageRef | string;
|
|
439
|
+
/** `text` is the message; `linkText` and `linkHref` win over their props when non-blank. */
|
|
440
|
+
$content?: ContentValue<typeof CartAllUnavailableMessageContent>;
|
|
441
|
+
};
|
|
137
442
|
export type CartOpenOnAddProps = {
|
|
138
443
|
children?: ReactNode;
|
|
139
444
|
/** Injected by the compiler from `actions: { cart: ['validate'] }`; drives the validate-on-open call. */
|
|
@@ -155,33 +460,99 @@ export declare const CartDataContext: React.Context<CartDataContextValue>;
|
|
|
155
460
|
export declare function useCart(): CartDataContextValue;
|
|
156
461
|
export declare const CartRootDefinition: ComponentDefinition<CartRootProps>;
|
|
157
462
|
export declare const CartListDefinition: ComponentDefinition<CartListProps>;
|
|
463
|
+
export declare const CartAvailableItemsDefinition: ComponentDefinition<CartAvailableItemsProps>;
|
|
464
|
+
export declare const CartUnavailableItemsDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
158
465
|
export declare const CartTotalDefinition: ComponentDefinition<CartTotalProps>;
|
|
159
466
|
export declare const CartCountDefinition: ComponentDefinition<CartCountProps>;
|
|
160
|
-
export declare const CartErrorDefinition: ComponentDefinition<
|
|
467
|
+
export declare const CartErrorDefinition: ComponentDefinition<CartErrorProps>;
|
|
161
468
|
export declare const CartGoCheckoutDefinition: ComponentDefinition<CartGoCheckoutProps>;
|
|
162
469
|
export declare const CartCouponFormDefinition: ComponentDefinition<CartCouponFormProps>;
|
|
163
470
|
export declare const CartAppliedCouponsDefinition: ComponentDefinition<CartAppliedCouponsProps>;
|
|
164
471
|
export declare const CartCouponRemoveDefinition: ComponentDefinition<CartCouponRemoveProps>;
|
|
165
|
-
export declare const CartCouponErrorDefinition: ComponentDefinition<
|
|
166
|
-
export declare
|
|
472
|
+
export declare const CartCouponErrorDefinition: ComponentDefinition<CartCouponErrorProps>;
|
|
473
|
+
export declare const CartCouponEmptyDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
474
|
+
export declare const CartCouponUnmatchedDefinition: ComponentDefinition<CartCouponUnmatchedProps>;
|
|
475
|
+
export declare const CartCouponSavingsDefinition: ComponentDefinition<CartCouponSavingsProps>;
|
|
476
|
+
export declare function CartRoot({ $data: $dataProp, $actions: $actionsProp, className, children, ...props }: CartRootProps): import("react/jsx-runtime").JSX.Element;
|
|
167
477
|
export declare function CartList({ className, children, skeletonCount, ...props }: CartListProps): import("react/jsx-runtime").JSX.Element;
|
|
478
|
+
export declare function CartAvailableItems({ className, children, skeletonCount, ...props }: CartAvailableItemsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
479
|
+
export declare function CartUnavailableItems({ className, children, ...props }: CartUnavailableItemsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
168
480
|
export declare function CartTotal({ label, className, children, ...props }: CartTotalProps): import("react/jsx-runtime").JSX.Element;
|
|
169
|
-
export declare function CartCount({ className, children,
|
|
170
|
-
export declare function CartError({ className, children, ...props }: CartErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
171
|
-
export declare function CartGoCheckout({ href,
|
|
172
|
-
export declare function CartCouponForm({
|
|
173
|
-
export declare function CartAppliedCoupons({ className, children, $actions: $actionsProp, ...props }: CartAppliedCouponsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
481
|
+
export declare function CartCount({ className, children, $content, $locale, ...props }: CartCountProps): import("react/jsx-runtime").JSX.Element | null;
|
|
482
|
+
export declare function CartError({ $content, $locale, className, children, ...props }: CartErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
483
|
+
export declare function CartGoCheckout({ href, className, children, onClick, $content, $locale, $actions: $actionsProp, ...props }: CartGoCheckoutProps): import("react/jsx-runtime").JSX.Element;
|
|
484
|
+
export declare function CartCouponForm({ className, children, onSubmit, $content, $locale, $actions: $actionsProp, ...props }: CartCouponFormProps): import("react/jsx-runtime").JSX.Element;
|
|
485
|
+
export declare function CartAppliedCoupons({ className, children, $content, $locale, $actions: $actionsProp, ...props }: CartAppliedCouponsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
174
486
|
export declare function CartCouponRemove({ code, className, children, onClick, $actions: $actionsProp, ...props }: CartCouponRemoveProps): import("react/jsx-runtime").JSX.Element;
|
|
175
|
-
export declare function CartCouponError({ className, children, ...props }: CartCouponErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
487
|
+
export declare function CartCouponError({ $content, $locale, className, children, ...props }: CartCouponErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
488
|
+
export declare function CartCouponEmpty({ className, children, ...props }: CartCouponEmptyProps): import("react/jsx-runtime").JSX.Element | null;
|
|
489
|
+
export declare function CartCouponUnmatched({ className, children, $content, $locale, ...props }: CartCouponUnmatchedProps): import("react/jsx-runtime").JSX.Element | null;
|
|
490
|
+
export declare function CartCouponSavings({ className, $content, $locale, ...props }: CartCouponSavingsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
176
491
|
export declare const CartCheckoutGuardDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
177
492
|
export declare const CartLoadingDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
178
493
|
export declare const CartEmptyDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
179
494
|
export declare const CartFilledDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
180
495
|
export declare const CartUnavailableCountDefinition: ComponentDefinition<CartUnavailableCountProps>;
|
|
181
496
|
export declare const CartRemoveUnavailableDefinition: ComponentDefinition<CartRemoveUnavailableProps>;
|
|
497
|
+
export declare const ClearCartButtonDefinition: ComponentDefinition<ClearCartButtonProps>;
|
|
182
498
|
export declare function CartCheckoutGuard({ className, children, ...props }: CartCheckoutGuardProps): import("react/jsx-runtime").JSX.Element;
|
|
183
|
-
export declare function CartUnavailableCount({ className, children,
|
|
184
|
-
export declare function CartRemoveUnavailable({ className, children, onClick, $actions: $actionsProp, ...props }: CartRemoveUnavailableProps): import("react/jsx-runtime").JSX.Element | null;
|
|
499
|
+
export declare function CartUnavailableCount({ className, children, $content, $locale, ...props }: CartUnavailableCountProps): import("react/jsx-runtime").JSX.Element | null;
|
|
500
|
+
export declare function CartRemoveUnavailable({ className, children, onClick, $content, $locale, $actions: $actionsProp, ...props }: CartRemoveUnavailableProps): import("react/jsx-runtime").JSX.Element | null;
|
|
501
|
+
export declare const CartUnavailableLabelContent: {
|
|
502
|
+
readonly id: "cart-unavailable-label";
|
|
503
|
+
readonly title: "Cart Unavailable Label";
|
|
504
|
+
readonly description: "Heading copy of the cart section that holds the lines the shopper cannot buy.";
|
|
505
|
+
readonly schema: {
|
|
506
|
+
readonly type: "object";
|
|
507
|
+
readonly additionalProperties: false;
|
|
508
|
+
readonly properties: {
|
|
509
|
+
readonly text: {
|
|
510
|
+
readonly type: "string";
|
|
511
|
+
readonly title: "Unavailable section label";
|
|
512
|
+
readonly format: "icu-message";
|
|
513
|
+
readonly messageSource: "Unavailable";
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
export declare const CartUnavailableSectionDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
519
|
+
export declare const CartUnavailableLabelDefinition: ComponentDefinition<CartUnavailableLabelProps>;
|
|
520
|
+
export declare function CartUnavailableSection({ className, children, ...props }: CartUnavailableSectionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
521
|
+
export declare function CartUnavailableLabel({ $content, $locale, className, ...props }: CartUnavailableLabelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
522
|
+
export declare const CartAllUnavailableMessageContent: {
|
|
523
|
+
readonly id: "cart-all-unavailable-message";
|
|
524
|
+
readonly title: "Cart All Unavailable Message";
|
|
525
|
+
readonly description: "Warning shown in the cart when none of the lines the shopper added can be bought, with an optional link.";
|
|
526
|
+
readonly schema: {
|
|
527
|
+
readonly type: "object";
|
|
528
|
+
readonly additionalProperties: false;
|
|
529
|
+
readonly properties: {
|
|
530
|
+
readonly text: {
|
|
531
|
+
readonly type: "string";
|
|
532
|
+
readonly title: "Nothing purchasable message";
|
|
533
|
+
readonly format: "icu-message";
|
|
534
|
+
readonly messageSource: "No items are available for purchase right now";
|
|
535
|
+
};
|
|
536
|
+
readonly linkText: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly minLength: 1;
|
|
539
|
+
readonly title: "Link text";
|
|
540
|
+
};
|
|
541
|
+
readonly linkHref: {
|
|
542
|
+
readonly type: "string";
|
|
543
|
+
readonly minLength: 1;
|
|
544
|
+
readonly title: "Link destination";
|
|
545
|
+
readonly format: "uri-reference";
|
|
546
|
+
readonly pattern: "^(?:https?://.*|mailto:.+|tel:.+|/(?:[^/].*)?)$";
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
export declare const CartAllUnavailableDefinition: ComponentDefinition<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
552
|
+
export declare const CartAllUnavailableMessageDefinition: ComponentDefinition<CartAllUnavailableMessageProps>;
|
|
553
|
+
export declare function CartAllUnavailable({ className, children, ...props }: CartAllUnavailableProps): import("react/jsx-runtime").JSX.Element | null;
|
|
554
|
+
export declare function CartAllUnavailableMessage({ linkText, linkHref, $content, $locale, className, ...props }: CartAllUnavailableMessageProps): import("react/jsx-runtime").JSX.Element | null;
|
|
555
|
+
export declare function ClearCartButton({ className, children, disabled, onClick, $content, $locale, $actions: $actionsProp, ...props }: ClearCartButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
185
556
|
export declare const CartOpenOnAddDefinition: ComponentDefinition<CartOpenOnAddProps>;
|
|
186
557
|
export declare const CartRedirectOnAddDefinition: ComponentDefinition<CartRedirectOnAddProps>;
|
|
187
558
|
/**
|
|
@@ -280,13 +651,13 @@ export declare const CartEmptyMessageContent: {
|
|
|
280
651
|
readonly schema: {
|
|
281
652
|
readonly type: "object";
|
|
282
653
|
readonly additionalProperties: false;
|
|
283
|
-
readonly required: readonly ["text"];
|
|
284
654
|
readonly properties: {
|
|
285
655
|
readonly text: {
|
|
286
656
|
readonly type: "string";
|
|
287
657
|
readonly minLength: 1;
|
|
288
658
|
readonly title: "Empty cart message";
|
|
289
|
-
readonly
|
|
659
|
+
readonly format: "icu-message";
|
|
660
|
+
readonly messageSource: "Your cart is empty";
|
|
290
661
|
};
|
|
291
662
|
};
|
|
292
663
|
};
|
|
@@ -298,20 +669,20 @@ export declare const CartContinueShoppingContent: {
|
|
|
298
669
|
readonly schema: {
|
|
299
670
|
readonly type: "object";
|
|
300
671
|
readonly additionalProperties: false;
|
|
301
|
-
readonly required: readonly ["label"];
|
|
302
672
|
readonly properties: {
|
|
303
673
|
readonly label: {
|
|
304
674
|
readonly type: "string";
|
|
305
675
|
readonly minLength: 1;
|
|
306
676
|
readonly title: "Continue shopping label";
|
|
307
|
-
readonly
|
|
677
|
+
readonly format: "icu-message";
|
|
678
|
+
readonly messageSource: "Continue shopping";
|
|
308
679
|
};
|
|
309
680
|
};
|
|
310
681
|
};
|
|
311
682
|
};
|
|
312
683
|
export declare const CartEmptyMessageDefinition: ComponentDefinition<CartEmptyMessageProps>;
|
|
313
684
|
export declare const CartContinueShoppingDefinition: ComponentDefinition<CartContinueShoppingProps>;
|
|
314
|
-
export declare function CartEmptyMessage({
|
|
315
|
-
export declare function CartContinueShopping({
|
|
685
|
+
export declare function CartEmptyMessage({ $content, $locale, className, ...props }: CartEmptyMessageProps): import("react/jsx-runtime").JSX.Element | null;
|
|
686
|
+
export declare function CartContinueShopping({ $content, $locale, className, children, ...props }: CartContinueShoppingProps): import("react/jsx-runtime").JSX.Element | null;
|
|
316
687
|
//#endregion
|
|
317
688
|
//# sourceMappingURL=cart.d.ts.map
|