@salla.sa/twilight-components 2.14.480 → 2.14.482
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/cjs/{filepond-kIwfFiY4.js → filepond-BHXz3A1Q.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CbAmZLgn.js → filepond-plugin-file-poster-B1el8oDJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-iH_0ezqS.js → filepond-plugin-file-validate-size-D5kDke66.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-B2YOvyGf.js → filepond-plugin-file-validate-type-CUvuoQyP.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-C5N-16uI.js → filepond-plugin-image-edit-C5LY3BCc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-aEzbNMDw.js → filepond-plugin-image-exif-orientation-DzmSRK6Z.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-RLbA7gqX.js → filepond-plugin-image-preview-Dy70l4bq.js} +1 -1
- package/dist/cjs/{functions-BVKjPPbN.js → functions-Cxbc6q17.js} +1 -1
- package/dist/cjs/{index-RKu7wZSM.js → index-B9uuwC5y.js} +6 -2
- package/dist/cjs/{index-DjrWrGKt.js → index-BjphdATw.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +349 -0
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-B8pdpxb2.js → tracked-promise-DBpdtaXl.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-B6Vd66w8.js → vanilla-picker-cyq6K0DC.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +401 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-summary-card.d.ts +11 -0
- package/dist/components/salla-cart-summary-card.js +404 -0
- package/dist/esm/{filepond-BUxO340w.js → filepond-DAX5UEU5.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DPDWNTQe.js → filepond-plugin-file-poster-CmoCs5ch.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DrF6W6HS.js → filepond-plugin-file-validate-size-Cx-BnpL2.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-ByNgdCcv.js → filepond-plugin-file-validate-type-DWn1unek.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-D6lcie1e.js → filepond-plugin-image-edit-CB-tZOhi.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CEGVilMd.js → filepond-plugin-image-exif-orientation-BoE-WIq-.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BInmqvtQ.js → filepond-plugin-image-preview-CqzJUKHP.js} +1 -1
- package/dist/esm/{functions-CwbqVd0b.js → functions-hQdz9hf-.js} +1 -1
- package/dist/esm/{index-BqFb60iF.js → index-BmFJLtoi.js} +6 -2
- package/dist/esm/{index-BrHfsf3-.js → index-DTEQDm6d.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +347 -0
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-DXr0erHx.js → tracked-promise-BoBzcOVR.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-5UIlzk8V.js → vanilla-picker-CsxkkcBh.js} +1 -1
- package/dist/twilight/{p-0c77267c.entry.js → p-0209568e.entry.js} +1 -1
- package/dist/twilight/{p-f4531bfe.entry.js → p-034745a7.entry.js} +1 -1
- package/dist/twilight/p-04752b3a.entry.js +4 -0
- package/dist/twilight/{p-57d40198.entry.js → p-069d56cc.entry.js} +1 -1
- package/dist/twilight/{p-43474ee2.entry.js → p-08af584f.entry.js} +1 -1
- package/dist/twilight/{p-91dc3de7.entry.js → p-08c5b2bb.entry.js} +1 -1
- package/dist/twilight/{p-778a42dc.entry.js → p-096a708f.entry.js} +1 -1
- package/dist/twilight/{p-b4301ee3.entry.js → p-0d7bbb06.entry.js} +1 -1
- package/dist/twilight/{p-cd3e9b52.entry.js → p-0f2a8072.entry.js} +1 -1
- package/dist/twilight/{p-3d68c74d.entry.js → p-15d93b1d.entry.js} +1 -1
- package/dist/twilight/{p-dfd88e06.entry.js → p-1630fc53.entry.js} +1 -1
- package/dist/twilight/{p-0fd430cd.entry.js → p-1671c056.entry.js} +1 -1
- package/dist/twilight/{p-9f5105fc.entry.js → p-16edb507.entry.js} +1 -1
- package/dist/twilight/{p-1a719573.entry.js → p-1732f2b2.entry.js} +1 -1
- package/dist/twilight/{p-46b9277f.entry.js → p-180c0ca5.entry.js} +1 -1
- package/dist/twilight/{p-a0855c31.entry.js → p-190364a4.entry.js} +1 -1
- package/dist/twilight/{p-e7c12354.entry.js → p-1e3bca03.entry.js} +1 -1
- package/dist/twilight/{p-d0bb3653.entry.js → p-1f01e02d.entry.js} +1 -1
- package/dist/twilight/{p-09373418.entry.js → p-23e3eb95.entry.js} +1 -1
- package/dist/twilight/{p-d66338e0.entry.js → p-25bdb907.entry.js} +1 -1
- package/dist/twilight/{p-cd40e650.entry.js → p-29f65d08.entry.js} +1 -1
- package/dist/twilight/{p-29b491ae.entry.js → p-2d92f08a.entry.js} +1 -1
- package/dist/twilight/{p-3e263ad6.entry.js → p-31153a53.entry.js} +1 -1
- package/dist/twilight/{p-81fc08bc.entry.js → p-3bae4143.entry.js} +1 -1
- package/dist/twilight/{p-7b8f78d8.entry.js → p-3de87ed4.entry.js} +1 -1
- package/dist/twilight/{p-2a8797f7.entry.js → p-3f249ea4.entry.js} +1 -1
- package/dist/twilight/{p-8b366181.entry.js → p-410a4744.entry.js} +1 -1
- package/dist/twilight/{p-f9142099.entry.js → p-495097b0.entry.js} +1 -1
- package/dist/twilight/{p-9dc040ac.entry.js → p-4a531040.entry.js} +1 -1
- package/dist/twilight/{p-ea9159eb.entry.js → p-4b3f6cd2.entry.js} +1 -1
- package/dist/twilight/{p-ff1c723f.entry.js → p-4e9a9071.entry.js} +1 -1
- package/dist/twilight/{p-92b0481d.entry.js → p-51126a79.entry.js} +1 -1
- package/dist/twilight/{p-1c834218.entry.js → p-52562de7.entry.js} +1 -1
- package/dist/twilight/{p-7c95a27d.entry.js → p-5622f4cb.entry.js} +1 -1
- package/dist/twilight/{p-daed6c53.entry.js → p-57636818.entry.js} +1 -1
- package/dist/twilight/{p-fc337ff0.entry.js → p-5c4ee6f0.entry.js} +1 -1
- package/dist/twilight/{p-96d7b307.entry.js → p-5e4239e3.entry.js} +1 -1
- package/dist/twilight/{p-026f2d7b.entry.js → p-5ed51ea1.entry.js} +1 -1
- package/dist/twilight/p-6023e80c.entry.js +4 -0
- package/dist/twilight/{p-431fac85.entry.js → p-6387b132.entry.js} +1 -1
- package/dist/twilight/{p-07ab0bf0.entry.js → p-64980c56.entry.js} +1 -1
- package/dist/twilight/{p-fd9754f2.entry.js → p-66eccd4e.entry.js} +1 -1
- package/dist/twilight/{p-fd4989e9.entry.js → p-6ce3edc6.entry.js} +1 -1
- package/dist/twilight/{p-dec1388b.entry.js → p-6db3f67b.entry.js} +1 -1
- package/dist/twilight/{p-ac45f19d.entry.js → p-72d2b19f.entry.js} +1 -1
- package/dist/twilight/{p-e23d218e.entry.js → p-739c39e9.entry.js} +1 -1
- package/dist/twilight/{p-53ce66a7.entry.js → p-760bd859.entry.js} +1 -1
- package/dist/twilight/{p-ee0e575e.entry.js → p-78246e72.entry.js} +1 -1
- package/dist/twilight/{p-e839d889.entry.js → p-78a9880e.entry.js} +1 -1
- package/dist/twilight/{p-63f568ad.entry.js → p-7cc906fd.entry.js} +1 -1
- package/dist/twilight/{p-fe86430c.entry.js → p-7d8b20c8.entry.js} +1 -1
- package/dist/twilight/{p-3fc7dfa2.entry.js → p-7dc07299.entry.js} +1 -1
- package/dist/twilight/{p-b3f07535.entry.js → p-8706b6a0.entry.js} +1 -1
- package/dist/twilight/{p-328689cc.entry.js → p-88609f65.entry.js} +1 -1
- package/dist/twilight/{p-ec1fc331.entry.js → p-8a491693.entry.js} +1 -1
- package/dist/twilight/{p-c45ce221.entry.js → p-8c729878.entry.js} +1 -1
- package/dist/twilight/{p-d9b7a9d1.entry.js → p-8d2a81b0.entry.js} +1 -1
- package/dist/twilight/{p-a0ba26aa.entry.js → p-90475264.entry.js} +1 -1
- package/dist/twilight/{p-76196f47.entry.js → p-96467104.entry.js} +1 -1
- package/dist/twilight/{p-fbd4f619.entry.js → p-994bf3ae.entry.js} +1 -1
- package/dist/twilight/{p-0b9b72c0.entry.js → p-9e6cb545.entry.js} +1 -1
- package/dist/twilight/{p-BbiGVDjx.js → p-B9arPRZj.js} +1 -1
- package/dist/twilight/{p-CsHEfbM_.js → p-BV6J7gVl.js} +1 -1
- package/dist/twilight/{p-DYL8LNIs.js → p-Bcg-je74.js} +1 -1
- package/dist/twilight/{p-BqFb60iF.js → p-BmFJLtoi.js} +1 -1
- package/dist/twilight/{p-BRP9wXBV.js → p-C95Jqawg.js} +1 -1
- package/dist/twilight/{p-tJElNMug.js → p-Ce6fXRqk.js} +1 -1
- package/dist/twilight/{p-BnXdxK21.js → p-DEKXmzPE.js} +1 -1
- package/dist/twilight/p-DGptAQB8.js +4 -0
- package/dist/twilight/{p-DsKnWz05.js → p-DT96HiMD.js} +1 -1
- package/dist/twilight/{p-Bw6Lg6Nq.js → p-DkoUjMC3.js} +1 -1
- package/dist/twilight/{p-DsHyM0bg.js → p-WuZcMqCu.js} +1 -1
- package/dist/twilight/{p-5083bfcd.entry.js → p-a99b352b.entry.js} +1 -1
- package/dist/twilight/{p-dbd2a0de.entry.js → p-a9f88f85.entry.js} +1 -1
- package/dist/twilight/{p-7cec181e.entry.js → p-ad59d8f6.entry.js} +1 -1
- package/dist/twilight/{p-3592fb4b.entry.js → p-b2c65720.entry.js} +1 -1
- package/dist/twilight/{p-5a57d395.entry.js → p-b47719b5.entry.js} +1 -1
- package/dist/twilight/{p-3889f710.entry.js → p-b48ba32a.entry.js} +1 -1
- package/dist/twilight/{p-013dfb33.entry.js → p-b5793358.entry.js} +1 -1
- package/dist/twilight/{p-b8812978.entry.js → p-b88ce9c1.entry.js} +1 -1
- package/dist/twilight/{p-67e934a3.entry.js → p-bb4affa3.entry.js} +1 -1
- package/dist/twilight/{p-d652aaf4.entry.js → p-c13103f9.entry.js} +1 -1
- package/dist/twilight/{p-23fb752f.entry.js → p-c4a37061.entry.js} +1 -1
- package/dist/twilight/{p-f5d7430f.entry.js → p-ca0f40dc.entry.js} +1 -1
- package/dist/twilight/{p-2d5469e5.entry.js → p-ccac7ed0.entry.js} +1 -1
- package/dist/twilight/{p-f13103c6.entry.js → p-d243a973.entry.js} +1 -1
- package/dist/twilight/{p-767822b5.entry.js → p-d839d4ec.entry.js} +1 -1
- package/dist/twilight/{p-248d1538.entry.js → p-dc6ba997.entry.js} +1 -1
- package/dist/twilight/{p-12eef889.entry.js → p-dd208824.entry.js} +1 -1
- package/dist/twilight/{p-315593b0.entry.js → p-de6b5801.entry.js} +1 -1
- package/dist/twilight/{p-6c4ab4ae.entry.js → p-def1cf41.entry.js} +1 -1
- package/dist/twilight/{p-1f7b2325.entry.js → p-e095a7d1.entry.js} +1 -1
- package/dist/twilight/{p-334df31d.entry.js → p-e5336dcb.entry.js} +1 -1
- package/dist/twilight/{p-95643680.entry.js → p-e74d8459.entry.js} +1 -1
- package/dist/twilight/{p-97f56b3e.entry.js → p-ec9b118c.entry.js} +1 -1
- package/dist/twilight/{p-2dbbfde8.entry.js → p-f1e04195.entry.js} +1 -1
- package/dist/twilight/{p-61e9018a.entry.js → p-f6796ea9.entry.js} +1 -1
- package/dist/twilight/{p-c5662aa2.entry.js → p-f83f5f79.entry.js} +1 -1
- package/dist/twilight/{p-0f975c51.entry.js → p-fb23d620.entry.js} +1 -1
- package/dist/twilight/{p-535aff1f.entry.js → p-fe6b38a8.entry.js} +1 -1
- package/dist/twilight/{p-Kk0reIVI.js → p-w8-d2MD6.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +67 -0
- package/dist/types/components.d.ts +37 -0
- package/package.json +5 -5
- package/dist/twilight/p-2e5bb4f4.entry.js +0 -4
- package/dist/twilight/p-DlEXuybu.js +0 -4
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
|
+
|
|
6
|
+
const SKELETON_ROWS = [
|
|
7
|
+
{ label: '100px', value: '56px' },
|
|
8
|
+
{ label: '72px', value: '64px' },
|
|
9
|
+
{ label: '96px', value: '48px' },
|
|
10
|
+
];
|
|
11
|
+
const SallaCartSummaryCard = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
registerInstance(this, hostRef);
|
|
14
|
+
this.validateForms = true;
|
|
15
|
+
this.cartCount = 0;
|
|
16
|
+
this.cartTotal = 0;
|
|
17
|
+
this.cartTotalDiscount = 0;
|
|
18
|
+
this.cartSubTotal = 0;
|
|
19
|
+
this.cartOptionsTotal = 0;
|
|
20
|
+
this.cartShippingCost = 0;
|
|
21
|
+
this.cartTaxAmount = 0;
|
|
22
|
+
this.cartHasShipping = false;
|
|
23
|
+
this.isOpen = false;
|
|
24
|
+
this.isDesktop = false;
|
|
25
|
+
/** True until the first cart payload (API response or cart event) arrives. */
|
|
26
|
+
this.isLoading = true;
|
|
27
|
+
// Original DOM location — needed to restore the host on the mobile→desktop flip.
|
|
28
|
+
this.originalParent = null;
|
|
29
|
+
this.originalNextSibling = null;
|
|
30
|
+
this.bodyObserver = null;
|
|
31
|
+
this.mediaQueryList = null;
|
|
32
|
+
this.submitObserver = null;
|
|
33
|
+
this.isSubmitting = false;
|
|
34
|
+
// Stable handler refs — anonymous functions can't be unbound from listeners.
|
|
35
|
+
this.mqlChangeHandler = (e) => {
|
|
36
|
+
this.isDesktop = e.matches;
|
|
37
|
+
this.applyMode();
|
|
38
|
+
};
|
|
39
|
+
this.cartEventNames = [
|
|
40
|
+
'cart::details.fetched',
|
|
41
|
+
'cart::updated',
|
|
42
|
+
'cart::latest.fetched',
|
|
43
|
+
'cart::coupon.added',
|
|
44
|
+
'cart::coupon.deleted',
|
|
45
|
+
];
|
|
46
|
+
this.cartEventHandler = (payload) => this.applyCartData(this.extractCart(payload));
|
|
47
|
+
this.toggleSheet = () => {
|
|
48
|
+
if (!this.isDesktop)
|
|
49
|
+
this.isOpen = !this.isOpen;
|
|
50
|
+
};
|
|
51
|
+
this.handleSubmit = async (event) => {
|
|
52
|
+
// Re-entrancy guard, set before the async validation so a second tap during
|
|
53
|
+
// that window can't fire a second submit. Covers all user types.
|
|
54
|
+
if (this.isSubmitting) {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.isSubmitting = true;
|
|
59
|
+
if (this.validateForms && !(await this.validateCartForms())) {
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
salla.notify?.error?.(salla.lang?.get?.('common.messages.required_fields'));
|
|
62
|
+
this.isSubmitting = false; // validation failed → allow retry
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const btn = this.host.querySelector('#s-cart-summary-card-submit');
|
|
66
|
+
if (typeof salla !== 'undefined' && salla.config?.get?.('user.type') !== 'guest' && btn) {
|
|
67
|
+
btn.load?.();
|
|
68
|
+
// Pin loading across re-renders; auto-clear after 10s so a failed submit
|
|
69
|
+
// doesn't lock the button forever.
|
|
70
|
+
this.submitObserver?.disconnect();
|
|
71
|
+
if (this.submitObserverTimeout)
|
|
72
|
+
clearTimeout(this.submitObserverTimeout);
|
|
73
|
+
this.submitObserver = new MutationObserver(() => {
|
|
74
|
+
if (!btn.hasAttribute('loading'))
|
|
75
|
+
btn.setAttribute('loading', '');
|
|
76
|
+
});
|
|
77
|
+
this.submitObserver.observe(btn, { attributes: true, attributeFilter: ['loading'] });
|
|
78
|
+
this.submitObserverTimeout = window.setTimeout(() => {
|
|
79
|
+
this.submitObserver?.disconnect();
|
|
80
|
+
this.submitObserver = null;
|
|
81
|
+
btn.removeAttribute?.('loading');
|
|
82
|
+
}, 10000);
|
|
83
|
+
}
|
|
84
|
+
salla.cart?.submit?.();
|
|
85
|
+
// Release after submit kicks off: success navigates away, a guest opens the
|
|
86
|
+
// login modal. Short delay blocks the double-tap race without a long lock.
|
|
87
|
+
window.setTimeout(() => { this.isSubmitting = false; }, 1500);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
// Sync: returning a promise would make Stencil defer first paint. init() runs async.
|
|
91
|
+
componentWillLoad() {
|
|
92
|
+
this.mediaQueryList = window.matchMedia(this.desktopMediaQuery());
|
|
93
|
+
this.isDesktop = this.mediaQueryList.matches;
|
|
94
|
+
if (this.isDesktop)
|
|
95
|
+
this.isOpen = true;
|
|
96
|
+
// isLoading is true by default → first paint is the skeleton.
|
|
97
|
+
this.init();
|
|
98
|
+
}
|
|
99
|
+
// Not awaited by componentWillLoad, so it can't block first paint.
|
|
100
|
+
async init() {
|
|
101
|
+
await salla.onReady();
|
|
102
|
+
await salla.lang.onLoaded();
|
|
103
|
+
this.loadTranslations();
|
|
104
|
+
// 'cart::updated' is in cartEventNames — don't also use onUpdated (it leaks, no off()).
|
|
105
|
+
this.cartEventNames.forEach(name => salla.event.on(name, this.cartEventHandler));
|
|
106
|
+
this.fetchCart();
|
|
107
|
+
}
|
|
108
|
+
loadTranslations() {
|
|
109
|
+
this.summaryLabel = salla.lang.get('pages.cart.summary');
|
|
110
|
+
this.itemsTotalLabel = salla.lang.get('pages.cart.items_total');
|
|
111
|
+
this.itemsTotalNoTaxLabel = salla.lang.get('pages.cart.items_total_without_tax');
|
|
112
|
+
this.optionsTotalLabel = salla.lang.get('pages.cart.order_options_total');
|
|
113
|
+
this.shippingCostLabel = salla.lang.get('pages.cart.shipping_cost');
|
|
114
|
+
this.vatTaxLabel = salla.lang.get('pages.cart.VAT_tax_amount');
|
|
115
|
+
this.savedLabel = salla.lang.get('pages.cart.discount');
|
|
116
|
+
this.discountBadge = salla.lang.get('pages.cart.saved');
|
|
117
|
+
this.finalTotalLabel = salla.lang.get('pages.cart.final_total');
|
|
118
|
+
this.pricesTaxedLabel = salla.lang.get('pages.cart.prices_taxed');
|
|
119
|
+
this.completeOrderLabel = salla.lang.get('pages.cart.complete_order');
|
|
120
|
+
this.openSummaryLabel = salla.lang.get('pages.cart.open_summary');
|
|
121
|
+
this.closeSummaryLabel = salla.lang.get('pages.cart.close_summary');
|
|
122
|
+
this.itemsCountTemplate = salla.lang.get('pages.cart.items_with_count');
|
|
123
|
+
}
|
|
124
|
+
/** Coerces PHP cart values: numbers, strings, and Money/MoneyTaxable objects. */
|
|
125
|
+
num(v) {
|
|
126
|
+
if (v === null || v === undefined)
|
|
127
|
+
return 0;
|
|
128
|
+
if (typeof v === 'number')
|
|
129
|
+
return isFinite(v) ? v : 0;
|
|
130
|
+
if (typeof v === 'string')
|
|
131
|
+
return parseFloat(v) || 0;
|
|
132
|
+
if (typeof v === 'object') {
|
|
133
|
+
if ('amount' in v)
|
|
134
|
+
return this.num(v.amount);
|
|
135
|
+
if ('value' in v)
|
|
136
|
+
return this.num(v.value);
|
|
137
|
+
if ('formatted' in v)
|
|
138
|
+
return this.num(v.formatted);
|
|
139
|
+
}
|
|
140
|
+
return 0;
|
|
141
|
+
}
|
|
142
|
+
// Desktop cutoff — must match the SCSS media queries so JS and CSS never diverge.
|
|
143
|
+
breakpointPx() {
|
|
144
|
+
return 1024;
|
|
145
|
+
}
|
|
146
|
+
desktopMediaQuery() {
|
|
147
|
+
return `(min-width: ${this.breakpointPx()}px)`;
|
|
148
|
+
}
|
|
149
|
+
componentDidLoad() {
|
|
150
|
+
// Capture original location BEFORE the portal relocates the host.
|
|
151
|
+
this.originalParent = this.host.parentElement;
|
|
152
|
+
this.originalNextSibling = this.host.nextSibling;
|
|
153
|
+
// Re-init if componentWillLoad failed to set it (rare hydration/race edge case).
|
|
154
|
+
if (!this.mediaQueryList) {
|
|
155
|
+
this.mediaQueryList = window.matchMedia(this.desktopMediaQuery());
|
|
156
|
+
this.isDesktop = this.mediaQueryList.matches;
|
|
157
|
+
}
|
|
158
|
+
this.applyMode();
|
|
159
|
+
// iOS Safari < 14 lacks addEventListener on MediaQueryList — fall back to addListener.
|
|
160
|
+
if (this.mediaQueryList.addEventListener) {
|
|
161
|
+
this.mediaQueryList.addEventListener('change', this.mqlChangeHandler);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
this.mediaQueryList.addListener(this.mqlChangeHandler);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
// Mobile: portal host to <body> so position:fixed escapes any transformed
|
|
168
|
+
// ancestor. Desktop: restore to its original DOM location.
|
|
169
|
+
applyMode() {
|
|
170
|
+
if (this.isDesktop) {
|
|
171
|
+
this.isOpen = true;
|
|
172
|
+
this.bodyObserver?.disconnect();
|
|
173
|
+
this.bodyObserver = null;
|
|
174
|
+
if (this.originalParent && this.host.parentElement !== this.originalParent) {
|
|
175
|
+
// Sibling may have been removed while we were portaled — fall back
|
|
176
|
+
// to appendChild instead of letting insertBefore throw.
|
|
177
|
+
const ref = this.originalNextSibling?.parentNode === this.originalParent
|
|
178
|
+
? this.originalNextSibling
|
|
179
|
+
: null;
|
|
180
|
+
this.originalParent.insertBefore(this.host, ref);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
this.pinToBodyEnd();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
// Re-pin via MutationObserver so a late-mounted footer can't paint over us.
|
|
188
|
+
pinToBodyEnd() {
|
|
189
|
+
if (this.host.parentElement !== document.body || document.body.lastElementChild !== this.host) {
|
|
190
|
+
document.body.appendChild(this.host);
|
|
191
|
+
}
|
|
192
|
+
if (!this.bodyObserver) {
|
|
193
|
+
this.bodyObserver = new MutationObserver(() => {
|
|
194
|
+
if (!this.isDesktop && document.body.lastElementChild !== this.host) {
|
|
195
|
+
document.body.appendChild(this.host);
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
this.bodyObserver.observe(document.body, { childList: true });
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
disconnectedCallback() {
|
|
202
|
+
// Fires synchronously on every removal, incl. our own reparenting — defer a
|
|
203
|
+
// microtask and bail if reconnected, else the portal loses its listeners.
|
|
204
|
+
Promise.resolve().then(() => {
|
|
205
|
+
if (this.host.isConnected)
|
|
206
|
+
return;
|
|
207
|
+
this.bodyObserver?.disconnect();
|
|
208
|
+
this.submitObserver?.disconnect();
|
|
209
|
+
if (this.submitObserverTimeout) {
|
|
210
|
+
clearTimeout(this.submitObserverTimeout);
|
|
211
|
+
this.submitObserverTimeout = undefined;
|
|
212
|
+
}
|
|
213
|
+
// Mirror the iOS-Safari-<14 path used in componentDidLoad.
|
|
214
|
+
if (this.mediaQueryList?.removeEventListener) {
|
|
215
|
+
this.mediaQueryList.removeEventListener('change', this.mqlChangeHandler);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
this.mediaQueryList?.removeListener(this.mqlChangeHandler);
|
|
219
|
+
}
|
|
220
|
+
this.mediaQueryList = null;
|
|
221
|
+
this.cartEventNames.forEach(name => salla.event.off(name, this.cartEventHandler));
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
fetchCart() {
|
|
225
|
+
const cartId = salla.config?.get?.('page.id');
|
|
226
|
+
const result = salla.cart?.api?.details?.(cartId);
|
|
227
|
+
if (result && typeof result.then === 'function') {
|
|
228
|
+
result
|
|
229
|
+
.then((res) => this.applyCartData(this.extractCart(res)))
|
|
230
|
+
// On failure, fall back to the cached summary instead of stranding the skeleton.
|
|
231
|
+
.catch(() => this.applyCachedSummary());
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
this.applyCachedSummary();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
// Cart API failed → use the SDK's cached summary (localStorage, set on
|
|
238
|
+
// cart::updated). May be stale but beats zeros; events refresh it. Clears the
|
|
239
|
+
// skeleton either way so the CTA always renders.
|
|
240
|
+
applyCachedSummary() {
|
|
241
|
+
const summary = salla.storage?.get?.('cart.summary');
|
|
242
|
+
if (summary && typeof summary === 'object')
|
|
243
|
+
this.applyCartData(summary);
|
|
244
|
+
this.isLoading = false;
|
|
245
|
+
}
|
|
246
|
+
extractCart(payload) {
|
|
247
|
+
if (!payload)
|
|
248
|
+
return null;
|
|
249
|
+
if (payload.data?.cart)
|
|
250
|
+
return payload.data.cart;
|
|
251
|
+
if (payload.cart)
|
|
252
|
+
return payload.cart;
|
|
253
|
+
return payload;
|
|
254
|
+
}
|
|
255
|
+
applyCartData(data) {
|
|
256
|
+
if (!data)
|
|
257
|
+
return;
|
|
258
|
+
// First real payload ends the skeleton.
|
|
259
|
+
this.isLoading = false;
|
|
260
|
+
if (data.count !== undefined)
|
|
261
|
+
this.cartCount = this.num(data.count);
|
|
262
|
+
if (data.total !== undefined)
|
|
263
|
+
this.cartTotal = this.num(data.total);
|
|
264
|
+
// `total_discount` is the live field (untyped); `discount` is the typed fallback.
|
|
265
|
+
const discount = data.total_discount ?? data.discount;
|
|
266
|
+
if (discount !== undefined)
|
|
267
|
+
this.cartTotalDiscount = this.num(discount);
|
|
268
|
+
if (data.sub_total !== undefined)
|
|
269
|
+
this.cartSubTotal = this.num(data.sub_total);
|
|
270
|
+
if (data.options_total !== undefined)
|
|
271
|
+
this.cartOptionsTotal = this.num(data.options_total);
|
|
272
|
+
if (data.tax_amount !== undefined)
|
|
273
|
+
this.cartTaxAmount = this.num(data.tax_amount);
|
|
274
|
+
// Shipping cost (free-shipping aware): prefer `shipping_cost`, else `real_shipping_cost`.
|
|
275
|
+
const hasFreeShipping = !!data.free_shipping_bar?.has_free_shipping;
|
|
276
|
+
if (data.shipping_cost !== undefined)
|
|
277
|
+
this.cartShippingCost = this.num(data.shipping_cost);
|
|
278
|
+
else if (data.real_shipping_cost !== undefined)
|
|
279
|
+
this.cartShippingCost = hasFreeShipping ? 0 : this.num(data.real_shipping_cost);
|
|
280
|
+
// `has_shipping` isn't in the API response — derive row visibility from the cost.
|
|
281
|
+
this.cartHasShipping = this.cartShippingCost > 0 || !!data.has_shipping;
|
|
282
|
+
}
|
|
283
|
+
// Native reportValidity() covers standard fields; custom product options
|
|
284
|
+
// validate via their own async reportValidity() (incl. multi-option required
|
|
285
|
+
// logic), so await that too — else option validation is skipped at checkout.
|
|
286
|
+
async validateCartForms() {
|
|
287
|
+
let isValid = true;
|
|
288
|
+
document
|
|
289
|
+
.querySelectorAll('form[id^="item-"]')
|
|
290
|
+
.forEach(f => {
|
|
291
|
+
if (!f.reportValidity())
|
|
292
|
+
isValid = false;
|
|
293
|
+
});
|
|
294
|
+
const optionEls = Array.from(document.querySelectorAll('form[id^="item-"] salla-product-options'));
|
|
295
|
+
for (const el of optionEls) {
|
|
296
|
+
if (typeof el.reportValidity === 'function' && !(await el.reportValidity()))
|
|
297
|
+
isValid = false;
|
|
298
|
+
}
|
|
299
|
+
return isValid;
|
|
300
|
+
}
|
|
301
|
+
money(value) {
|
|
302
|
+
try {
|
|
303
|
+
if (typeof salla !== 'undefined' && typeof salla.money === 'function') {
|
|
304
|
+
return salla.money(value);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
catch (_) { }
|
|
308
|
+
return String(value ?? 0);
|
|
309
|
+
}
|
|
310
|
+
getItemsLabel() {
|
|
311
|
+
return this.itemsCountTemplate?.replace(':count', String(this.cartCount)) ?? '';
|
|
312
|
+
}
|
|
313
|
+
// Skeleton during the initial fetch
|
|
314
|
+
renderSkeleton() {
|
|
315
|
+
return (h(Host, { class: {
|
|
316
|
+
's-cart-summary-card': true,
|
|
317
|
+
's-cart-summary-card--loading': true,
|
|
318
|
+
's-cart-summary-card--desktop': this.isDesktop,
|
|
319
|
+
's-cart-summary-card--mobile': !this.isDesktop,
|
|
320
|
+
} }, this.isDesktop && (h("div", { class: "s-cart-summary-card-sheet-wrap s-cart-summary-card-sheet-wrap--open" }, h("div", { class: "s-cart-summary-card-sheet" }, h("header", { class: "s-cart-summary-card-sheet-header" }, h("h3", { class: "s-cart-summary-card-sheet-title" }, h("salla-skeleton", { width: "140px", height: "16px" }))), SKELETON_ROWS.map(({ label, value }, i) => (h("div", { class: "s-cart-summary-card-line", key: i }, h("salla-skeleton", { width: label, height: "16px" }), h("salla-skeleton", { width: value, height: "16px" }))))))), h("div", { class: "s-cart-summary-card-bar" }, h("div", { class: "s-cart-summary-card-bar-label" }, h("div", { class: "s-cart-summary-card-bar-label-main" }, h("salla-skeleton", { width: "90px", height: "16px" }), h("salla-skeleton", { width: "48px", height: "12px" }))), h("div", { class: "s-cart-summary-card-bar-totals" }, h("div", { class: "s-cart-summary-card-bar-totals-row" }, h("salla-skeleton", { width: "80px", height: "20px" })))), h("div", { class: "s-cart-summary-card-action" }, h("salla-skeleton", { width: "100%", height: "44px" }))));
|
|
321
|
+
}
|
|
322
|
+
render() {
|
|
323
|
+
if (this.isLoading)
|
|
324
|
+
return this.renderSkeleton();
|
|
325
|
+
const showSavings = this.cartTotalDiscount > 0;
|
|
326
|
+
const subTotalLabel = this.cartTaxAmount ? this.itemsTotalNoTaxLabel : this.itemsTotalLabel;
|
|
327
|
+
// Inline transform so sheet motion doesn't depend on SCSS load order.
|
|
328
|
+
const sheetStyle = this.isDesktop
|
|
329
|
+
? {}
|
|
330
|
+
: {
|
|
331
|
+
transform: this.isOpen ? 'translateY(0)' : 'translateY(100%)',
|
|
332
|
+
transition: 'transform 0.4s cubic-bezier(0.32, 0.72, 0, 1)',
|
|
333
|
+
};
|
|
334
|
+
return (h(Host, { class: {
|
|
335
|
+
's-cart-summary-card': true,
|
|
336
|
+
's-cart-summary-card--open': this.isOpen,
|
|
337
|
+
's-cart-summary-card--desktop': this.isDesktop,
|
|
338
|
+
's-cart-summary-card--mobile': !this.isDesktop,
|
|
339
|
+
} }, h("div", { class: {
|
|
340
|
+
's-cart-summary-card-sheet-wrap': true,
|
|
341
|
+
's-cart-summary-card-sheet-wrap--open': this.isOpen,
|
|
342
|
+
}, "aria-hidden": this.isOpen ? 'false' : 'true' }, h("div", { class: "s-cart-summary-card-sheet", style: sheetStyle }, h("header", { class: "s-cart-summary-card-sheet-header" }, h("h3", { class: "s-cart-summary-card-sheet-title" }, this.summaryLabel)), h("div", { class: "s-cart-summary-card-line" }, h("span", null, subTotalLabel), h("b", { innerHTML: this.money(this.cartSubTotal) })), this.cartOptionsTotal > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.optionsTotalLabel), h("b", { innerHTML: this.money(this.cartOptionsTotal) }))), this.cartHasShipping && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.shippingCostLabel), h("b", { innerHTML: this.money(this.cartShippingCost) }))), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-line" }, h("span", null, this.vatTaxLabel), h("b", { innerHTML: this.money(this.cartTaxAmount) }))), showSavings && (h("div", { class: "s-cart-summary-card-line s-cart-summary-card-line--discount" }, h("span", null, this.savedLabel), h("b", null, "\u2212 ", h("span", { innerHTML: this.money(this.cartTotalDiscount) })))))), h("div", { class: "s-cart-summary-card-bar" }, h("div", { class: "s-cart-summary-card-bar-label" }, h("div", { class: "s-cart-summary-card-bar-label-main" }, h("span", { class: "s-cart-summary-card-bar-label-text" }, this.finalTotalLabel), h("span", { class: "s-cart-summary-card-bar-count" }, this.getItemsLabel())), this.cartTaxAmount > 0 && (h("div", { class: "s-cart-summary-card-bar-label-sub" }, this.pricesTaxedLabel))), h("div", { class: "s-cart-summary-card-bar-totals" }, h("div", { class: "s-cart-summary-card-bar-totals-row" }, showSavings && (h("s", { class: "s-cart-summary-card-bar-original" }, salla.helpers.number(this.cartTotal + this.cartTotalDiscount))), h("b", { class: "s-cart-summary-card-bar-total", innerHTML: this.money(this.cartTotal) }), !this.isDesktop && (h("button", { type: "button", class: "s-cart-summary-card-chevron", "aria-label": this.isOpen ? this.closeSummaryLabel : this.openSummaryLabel, "aria-expanded": this.isOpen ? 'true' : 'false', onClick: this.toggleSheet }, h("i", { class: "sicon-keyboard_arrow_up s-cart-summary-card-chevron-icon" })))), showSavings && (h("div", { class: "s-cart-summary-card-bar-savings-badge" }, h("span", { "aria-hidden": "true" }, "\uD83C\uDF89"), h("span", null, this.discountBadge, " ", h("span", { innerHTML: this.money(this.cartTotalDiscount) })))))), h("div", { class: "s-cart-summary-card-action" }, h("salla-button", { id: "s-cart-summary-card-submit", width: "wide", "loader-position": "center", onClick: this.handleSubmit }, this.completeOrderLabel))));
|
|
343
|
+
}
|
|
344
|
+
get host() { return getElement(this); }
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
export { SallaCartSummaryCard as salla_cart_summary_card };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<g clip-path="url(#clip0_5667_2008)">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-BmFJLtoi.js';
|
|
5
5
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
6
6
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
7
7
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
|
|
6
6
|
import { e as email } from './mail-DzAIgzdz.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h } from './index-BmFJLtoi.js';
|
|
5
5
|
import { C as CameraIcon } from './camera-C6jIkM-X.js';
|
|
6
6
|
import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const DEBUG_KEY = 'salla-delivery-promise-debug';
|
|
7
7
|
function log(message, data) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
6
6
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
6
6
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BmFJLtoi.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const SallaHook = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
import { H as Helper } from './Helper-BXj4f_Qj.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const SallaLocalizationModal = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
6
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
6
|
+
import { T as TrackedPromise } from './tracked-promise-BoBzcOVR.js';
|
|
7
7
|
|
|
8
8
|
const sallaLoyaltyProgramCss = "";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
5
|
-
import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
|
+
import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-hQdz9hf-.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
7
|
import { S as SICart2 } from './cart2-D1s2kXqL.js';
|
|
8
8
|
import { S as SIUserAdd } from './user-add-QpH8MU22.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance } from './index-
|
|
5
|
-
import { n as normalizeLoyaltyData, c as closeModals } from './functions-
|
|
4
|
+
import { h, r as registerInstance } from './index-BmFJLtoi.js';
|
|
5
|
+
import { n as normalizeLoyaltyData, c as closeModals } from './functions-hQdz9hf-.js';
|
|
6
6
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
8
8
|
import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
|
|
9
9
|
import { S as SIShipping } from './shipping-CZRcMGA9.js';
|
|
10
10
|
import { S as SICart2 } from './cart2-D1s2kXqL.js';
|
|
11
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
11
|
+
import { T as TrackedPromise } from './tracked-promise-BoBzcOVR.js';
|
|
12
12
|
|
|
13
13
|
var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BmFJLtoi.js';
|
|
5
5
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
6
6
|
|
|
7
7
|
const formatDate = (timestamp) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BmFJLtoi.js';
|
|
5
5
|
|
|
6
6
|
const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
|
|
7
7
|
|