@salla.sa/twilight-components 3.0.13 → 3.0.15
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/{Helper-B4hqJex0.js → Helper-Dmb3FQQs.js} +1 -1
- package/dist/cjs/{filepond-CCHI2eWd.js → filepond-GmkTQy-n.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Cxy_UUyG.js → filepond-plugin-file-poster-4uwmb1PZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DHqTQezv.js → filepond-plugin-file-validate-size-CjR0En8v.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-ClS1AOS9.js → filepond-plugin-file-validate-type-HK-bIoEs.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-gVfj9y0a.js → filepond-plugin-image-edit-HiDocWlK.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CdzP8Z0F.js → filepond-plugin-image-exif-orientation-B47pLf5T.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BMhxufTW.js → filepond-plugin-image-preview-BLTfx5Xl.js} +1 -1
- package/dist/cjs/{index-BXM76OOA.js → index-Cbi9cOBy.js} +2 -2
- package/dist/cjs/{intlTelInput-CliyU8rX.js → intlTelInput-Dt8Mg1ES.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
- 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-applied-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-bullet-delivery_3.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 +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.cjs.entry.js +2 -2
- 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 +16 -7
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-free-shipping-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-free-shipping-tag.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gift-card-redeem_2.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 +2 -2
- 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_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.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 +2 -2
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
- 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-cancel.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-items.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-payment.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-rewards.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.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 +2 -2
- 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-card.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 +2 -2
- package/dist/cjs/salla-products-slider.cjs.entry.js +2 -2
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +2 -2
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
- package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.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-thank-you-header.cjs.entry.js +1 -1
- package/dist/cjs/salla-thank-you-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.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/salla-wishlist-summary.cjs.entry.js +2 -2
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-DJWJlJWt.js → vanilla-picker-D1DK9OwS.js} +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +14 -5
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.css +3 -0
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-filters-widget2.js +14 -5
- package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
- package/dist/components/salla-multiple-bundle-product.js +1 -1
- package/dist/components/salla-scopes.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{Helper-MUNhpqNu.js → Helper-3JdOXI6n.js} +1 -1
- package/dist/esm/{filepond-CaVNllXE.js → filepond-XW9UXuEd.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Bt25FJXy.js → filepond-plugin-file-poster-BIxXdtJt.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CdFPtpOe.js → filepond-plugin-file-validate-size-BIcTUDgJ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DVpxfIMn.js → filepond-plugin-file-validate-type-rvnCRjaE.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Bvu4SI2C.js → filepond-plugin-image-edit-Di_Yevfe.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DSrLViJn.js → filepond-plugin-image-exif-orientation-CoTpFDlA.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-Bg5CyutP.js → filepond-plugin-image-preview-CcPXv1Dq.js} +1 -1
- package/dist/esm/{index-BTn4Le7F.js → index-C8uMz1y8.js} +2 -2
- package/dist/esm/{intlTelInput-DYVDhkJ2.js → intlTelInput-DgLldmhL.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +2 -2
- 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-applied-filters.entry.js +2 -2
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +11 -11
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.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 +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.entry.js +2 -2
- 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 +16 -7
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-free-shipping-banner.entry.js +1 -1
- package/dist/esm/salla-free-shipping-tag.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gift-card-redeem_2.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 +2 -2
- 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_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.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 +2 -2
- package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item_2.entry.js +2 -2
- 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-cancel.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-items.entry.js +1 -1
- package/dist/esm/salla-order-options-modal.entry.js +1 -1
- package/dist/esm/salla-order-payment.entry.js +1 -1
- package/dist/esm/salla-order-rewards.entry.js +1 -1
- package/dist/esm/salla-order-shipments.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 +2 -2
- 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-card.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +2 -2
- package/dist/esm/salla-products-slider.entry.js +2 -2
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +2 -2
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +2 -2
- package/dist/esm/salla-search-product-card.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.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-thank-you-header.entry.js +1 -1
- package/dist/esm/salla-thank-you-page.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.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/salla-wishlist-summary.entry.js +2 -2
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-DyEU8qdF.js → vanilla-picker-DsA5vAX-.js} +1 -1
- package/dist/twilight/{p-ffa28556.entry.js → p-0096d200.entry.js} +1 -1
- package/dist/twilight/{p-3d6ca1aa.entry.js → p-0778e19f.entry.js} +1 -1
- package/dist/twilight/{p-5880158e.entry.js → p-0aa85305.entry.js} +1 -1
- package/dist/twilight/{p-207ea284.entry.js → p-0ddf1286.entry.js} +1 -1
- package/dist/twilight/{p-7c080411.entry.js → p-0ec2c436.entry.js} +1 -1
- package/dist/twilight/p-10e8d025.entry.js +4 -0
- package/dist/twilight/{p-4b0393b0.entry.js → p-159ed007.entry.js} +1 -1
- package/dist/twilight/{p-96227523.entry.js → p-15eed61c.entry.js} +1 -1
- package/dist/twilight/{p-25629cd3.entry.js → p-17158054.entry.js} +1 -1
- package/dist/twilight/{p-45758d30.entry.js → p-171d0cfd.entry.js} +1 -1
- package/dist/twilight/{p-c1646ef4.entry.js → p-176788e8.entry.js} +1 -1
- package/dist/twilight/{p-98ea4013.entry.js → p-1a9c0e93.entry.js} +1 -1
- package/dist/twilight/{p-9093b323.entry.js → p-1ab54476.entry.js} +1 -1
- package/dist/twilight/{p-eae40389.entry.js → p-1d0d3d74.entry.js} +1 -1
- package/dist/twilight/{p-0feb3e5a.entry.js → p-1d410bf3.entry.js} +1 -1
- package/dist/twilight/{p-3360016d.entry.js → p-20b3f75a.entry.js} +1 -1
- package/dist/twilight/{p-4158c6c8.entry.js → p-261513b2.entry.js} +1 -1
- package/dist/twilight/{p-61daece5.entry.js → p-2d4e9fe6.entry.js} +1 -1
- package/dist/twilight/{p-26770bed.entry.js → p-2fe9f590.entry.js} +1 -1
- package/dist/twilight/{p-70a20d58.entry.js → p-30403888.entry.js} +1 -1
- package/dist/twilight/p-353eb114.entry.js +4 -0
- package/dist/twilight/{p-7c0208da.entry.js → p-3639a68a.entry.js} +1 -1
- package/dist/twilight/{p-5e76904b.entry.js → p-3e0b2979.entry.js} +1 -1
- package/dist/twilight/{p-3c171699.entry.js → p-3e631a0f.entry.js} +1 -1
- package/dist/twilight/{p-f2502e8a.entry.js → p-3f4734f1.entry.js} +1 -1
- package/dist/twilight/{p-9ab3141f.entry.js → p-40a7db2e.entry.js} +1 -1
- package/dist/twilight/{p-6492ad5a.entry.js → p-4410bdbd.entry.js} +1 -1
- package/dist/twilight/{p-c3bc0c92.entry.js → p-4b8e3f78.entry.js} +1 -1
- package/dist/twilight/{p-4dd27438.entry.js → p-4bcdbf34.entry.js} +1 -1
- package/dist/twilight/{p-d15ad844.entry.js → p-51043815.entry.js} +1 -1
- package/dist/twilight/{p-a08629f9.entry.js → p-51a54a62.entry.js} +1 -1
- package/dist/twilight/{p-3018bb56.entry.js → p-52958f29.entry.js} +1 -1
- package/dist/twilight/{p-c08c6d4e.entry.js → p-5572b1a8.entry.js} +1 -1
- package/dist/twilight/{p-8cfbf521.entry.js → p-5773b84a.entry.js} +1 -1
- package/dist/twilight/{p-dd463809.entry.js → p-5a88e01b.entry.js} +1 -1
- package/dist/twilight/{p-54ca3223.entry.js → p-5a89c3c0.entry.js} +1 -1
- package/dist/twilight/{p-30eb53b2.entry.js → p-5d3f9679.entry.js} +1 -1
- package/dist/twilight/{p-957f8be8.entry.js → p-60d60008.entry.js} +1 -1
- package/dist/twilight/{p-6bb8da7d.entry.js → p-64fa15bb.entry.js} +1 -1
- package/dist/twilight/{p-6b9b02eb.entry.js → p-67238965.entry.js} +1 -1
- package/dist/twilight/{p-e0ceea14.entry.js → p-6a39fe0e.entry.js} +1 -1
- package/dist/twilight/{p-6a0d0804.entry.js → p-6b609cc4.entry.js} +1 -1
- package/dist/twilight/{p-dfb649af.entry.js → p-6c6183e7.entry.js} +1 -1
- package/dist/twilight/{p-c86e2798.entry.js → p-7077a91d.entry.js} +1 -1
- package/dist/twilight/{p-3d15565a.entry.js → p-74951208.entry.js} +1 -1
- package/dist/twilight/{p-2ff6e97c.entry.js → p-7772dddc.entry.js} +1 -1
- package/dist/twilight/{p-2e39072f.entry.js → p-785eedae.entry.js} +1 -1
- package/dist/twilight/{p-1db91cc0.entry.js → p-7a61d893.entry.js} +1 -1
- package/dist/twilight/{p-dc31cb2d.entry.js → p-7b1b78c9.entry.js} +1 -1
- package/dist/twilight/{p-2bdb8616.entry.js → p-7fdf8500.entry.js} +1 -1
- package/dist/twilight/{p-2f2d3734.entry.js → p-832fe5f6.entry.js} +1 -1
- package/dist/twilight/{p-b8421eca.entry.js → p-84720eeb.entry.js} +1 -1
- package/dist/twilight/{p-aa130c1a.entry.js → p-85dd2ada.entry.js} +1 -1
- package/dist/twilight/{p-d4e3dd77.entry.js → p-8dcd1bfa.entry.js} +1 -1
- package/dist/twilight/{p-e652db66.entry.js → p-8e6fb5aa.entry.js} +1 -1
- package/dist/twilight/{p-4f7a5995.entry.js → p-8f517227.entry.js} +1 -1
- package/dist/twilight/{p-78eb6163.entry.js → p-9225d05e.entry.js} +1 -1
- package/dist/twilight/{p-e447d8f2.entry.js → p-92e66c30.entry.js} +1 -1
- package/dist/twilight/{p-13264cfc.entry.js → p-996536d3.entry.js} +1 -1
- package/dist/twilight/{p-e98d9fae.entry.js → p-9ce34bb8.entry.js} +1 -1
- package/dist/twilight/{p-b2465771.entry.js → p-9e378fe6.entry.js} +1 -1
- package/dist/twilight/{p-BQeLrs6C.js → p-B-3v0tMD.js} +1 -1
- package/dist/twilight/{p-DkGOhV_Z.js → p-B0E1rqnW.js} +1 -1
- package/dist/twilight/p-B56yAvE0.js +9 -0
- package/dist/twilight/{p-DLsRmP3H.js → p-BBjixhqB.js} +1 -1
- package/dist/twilight/{p-FcLKUXIi.js → p-BckEvzPi.js} +1 -1
- package/dist/twilight/{p-CMy0p85X.js → p-C3oKHJJF.js} +1 -1
- package/dist/twilight/{p-BTn4Le7F.js → p-C8uMz1y8.js} +2 -2
- package/dist/twilight/{p-WDcRdcLz.js → p-DDFzkYmK.js} +1 -1
- package/dist/twilight/{p-BMtfLONi.js → p-DLJfWSBh.js} +1 -1
- package/dist/twilight/{p-DiNerIgN.js → p-DvanRMn0.js} +1 -1
- package/dist/twilight/{p-8428d792.entry.js → p-a2dc3875.entry.js} +1 -1
- package/dist/twilight/{p-3659131a.entry.js → p-a92835bd.entry.js} +1 -1
- package/dist/twilight/{p-e9ae59fd.entry.js → p-ac0577e4.entry.js} +1 -1
- package/dist/twilight/{p-637b8d57.entry.js → p-ae0e1032.entry.js} +1 -1
- package/dist/twilight/{p-5f57d799.entry.js → p-b02d0ef8.entry.js} +1 -1
- package/dist/twilight/{p-d6c99f15.entry.js → p-b039f8c2.entry.js} +1 -1
- package/dist/twilight/{p-03307069.entry.js → p-b2dca884.entry.js} +1 -1
- package/dist/twilight/{p-cdc056e9.entry.js → p-b617859a.entry.js} +1 -1
- package/dist/twilight/{p-9fddfa26.entry.js → p-b8d6dd11.entry.js} +1 -1
- package/dist/twilight/{p-3beb4e9e.entry.js → p-ba5715a3.entry.js} +1 -1
- package/dist/twilight/{p-327332a6.entry.js → p-baac53fb.entry.js} +1 -1
- package/dist/twilight/{p-78067cbf.entry.js → p-c0e176cb.entry.js} +1 -1
- package/dist/twilight/{p-c844df77.entry.js → p-c11ac4e3.entry.js} +1 -1
- package/dist/twilight/{p-a5c27985.entry.js → p-c1916998.entry.js} +1 -1
- package/dist/twilight/{p-9e6a4173.entry.js → p-c5729900.entry.js} +1 -1
- package/dist/twilight/{p-5ce8177f.entry.js → p-c89ad467.entry.js} +1 -1
- package/dist/twilight/{p-7f4fdbed.entry.js → p-d62bbbbc.entry.js} +1 -1
- package/dist/twilight/{p-cc6339ed.entry.js → p-d67bb587.entry.js} +1 -1
- package/dist/twilight/{p-b99623b1.entry.js → p-dca234ed.entry.js} +1 -1
- package/dist/twilight/p-de92709a.entry.js +4 -0
- package/dist/twilight/{p-ce752017.entry.js → p-deee6c2c.entry.js} +1 -1
- package/dist/twilight/{p-f80d2f36.entry.js → p-e1cb1c17.entry.js} +1 -1
- package/dist/twilight/{p-40137793.entry.js → p-e356b4bc.entry.js} +1 -1
- package/dist/twilight/{p-638cf188.entry.js → p-e3c7fb7b.entry.js} +1 -1
- package/dist/twilight/{p-83e1c025.entry.js → p-e7ed77ce.entry.js} +1 -1
- package/dist/twilight/{p-f4185664.entry.js → p-e9ec68cf.entry.js} +1 -1
- package/dist/twilight/{p-973d0c0e.entry.js → p-eabbf726.entry.js} +1 -1
- package/dist/twilight/{p-c073b9f7.entry.js → p-ed0ec4b8.entry.js} +1 -1
- package/dist/twilight/{p-350d64be.entry.js → p-ed788b25.entry.js} +1 -1
- package/dist/twilight/{p-f4066f38.entry.js → p-f09c49d1.entry.js} +1 -1
- package/dist/twilight/{p-291f093f.entry.js → p-f1b2568f.entry.js} +1 -1
- package/dist/twilight/{p-050278af.entry.js → p-f26ab4cd.entry.js} +1 -1
- package/dist/twilight/{p-e2d2cce4.entry.js → p-f36be45c.entry.js} +1 -1
- package/dist/twilight/{p-a15af7a7.entry.js → p-f6302b73.entry.js} +1 -1
- package/dist/twilight/{p-b4470a27.entry.js → p-f7c6ded6.entry.js} +1 -1
- package/dist/twilight/{p-7f668549.entry.js → p-f8190890.entry.js} +1 -1
- package/dist/twilight/{p-3fb4f2c5.entry.js → p-f86de75f.entry.js} +1 -1
- package/dist/twilight/{p-ee8749f3.entry.js → p-f8f810b8.entry.js} +1 -1
- package/dist/twilight/{p-71d315b9.entry.js → p-fcecebc6.entry.js} +1 -1
- package/dist/twilight/{p-39133b72.entry.js → p-fe4f4f66.entry.js} +1 -1
- package/dist/twilight/{p-06656664.entry.js → p-ffd2547a.entry.js} +1 -1
- package/dist/twilight/{p-C9qFIl1-.js → p-uaf2Kqn6.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-filters-widget/salla-filters-widget.d.ts +2 -0
- package/dist/types/components/salla-scopes/interfaces.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-77572d07.entry.js +0 -4
- package/dist/twilight/p-7d652b20.entry.js +0 -4
- package/dist/twilight/p-e1708a21.entry.js +0 -4
- package/dist/twilight/p-k0G34gr-.js +0 -9
|
@@ -128,8 +128,14 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
|
|
|
128
128
|
if (![FilterOptionTypes.VALUES, FilterOptionTypes.MINIMUM, FilterOptionTypes.VARIANTS].includes(option.type)) {
|
|
129
129
|
return '';
|
|
130
130
|
}
|
|
131
|
+
// snapshot once per widget instance: selected options float to the top on page load
|
|
132
|
+
// only, so checking a box later doesn't shuffle the list under the cursor
|
|
133
|
+
if (!this.pinnedValues) {
|
|
134
|
+
//@ts-ignore
|
|
135
|
+
this.pinnedValues = new Set(option.values.map(v => this.optionValue(v)).filter(v => this.isSelectedOption(option, v)));
|
|
136
|
+
}
|
|
131
137
|
//@ts-ignore
|
|
132
|
-
const filteredValues = option.values.filter((filterOption) => {
|
|
138
|
+
const filteredValues = [...option.values].sort((a, b) => Number(this.pinnedValues.has(this.optionValue(b))) - Number(this.pinnedValues.has(this.optionValue(a)))).filter((filterOption) => {
|
|
133
139
|
if (!this.searchQuery)
|
|
134
140
|
return true;
|
|
135
141
|
const label = typeof filterOption === 'number'
|
|
@@ -144,11 +150,14 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
|
|
|
144
150
|
return (h("div", { class: "s-filters-widget-empty-state" }, salla.lang.get('common.elements.no_options') || 'لا توجد نتائج'));
|
|
145
151
|
}
|
|
146
152
|
//@ts-ignore
|
|
147
|
-
return filteredValues.map((filterOption
|
|
148
|
-
|
|
153
|
+
return filteredValues.map((filterOption) => {
|
|
154
|
+
const value = this.optionValue(filterOption);
|
|
149
155
|
return h("label", { class: "s-filters-label", htmlFor: `${option.key}-option-${value}`, key: `${option.key}-option-${value}` }, h("input", { id: `${option.key}-option-${value}`, name: option.key, type: option.type === FilterOptionTypes.VALUES ? 'checkbox' : 'radio', checked: this.isSelectedOption(option, value), class: option.type === FilterOptionTypes.VALUES ? 's-filters-checkbox' : 's-filters-radio', onChange: event => this.changed.emit({ event, option, value }) }), this.getOptionLabel(option, filterOption));
|
|
150
156
|
});
|
|
151
157
|
}
|
|
158
|
+
optionValue(filterOption) {
|
|
159
|
+
return typeof filterOption == 'number' ? filterOption : (filterOption.key || filterOption.value);
|
|
160
|
+
}
|
|
152
161
|
isSelectedOption(option, value) {
|
|
153
162
|
if (option.type === FilterOptionTypes.MINIMUM) {
|
|
154
163
|
return this.filtersData[option.key] == value;
|
|
@@ -181,12 +190,12 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
|
|
|
181
190
|
return h("span", { class: "s-filters-option-name" }, label);
|
|
182
191
|
}
|
|
183
192
|
render() {
|
|
184
|
-
return (h(Host, { key: '
|
|
193
|
+
return (h(Host, { key: '5d0e0ab6de7efb4eb75c2e1c85421dd6f3cf3e1d', class: "s-filters-widget-container" }, h("h3", { key: 'df5a000bf4de2c59ada08cdee02e2239f6052db7', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '0e55827c11e6d936cd9fd5f489f40bdaacd636fd' }, this.option.label), h("span", { key: 'ebcd57b65904b8669a4bcb8d6d849360bfa5b2da', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '30e65251f0f2c2d88ad8232ef9c5a1dc407edcd9', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'b661a373929b51e16eb6b23190d78a4b6290117d', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '3e5eebd5d36957d09953f4a6a0629891304a3f7e', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: '774f6590dd76edbd334f41ca2d15518019e8d43a', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '0fe6b327f9065c53fbeec8a74fa01a21403b5e2b' }), this.option.type !== FilterOptionTypes.RANGE
|
|
185
194
|
? this.renderFilterOption(this.option)
|
|
186
195
|
: h("salla-price-range", { onChanged: (event) => {
|
|
187
196
|
this.changed.emit(event.detail);
|
|
188
197
|
}, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
|
|
189
|
-
h("a", { key: '
|
|
198
|
+
h("a", { key: 'a07b802f1f9432826578992bf77518f3793589a8', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
|
|
190
199
|
}
|
|
191
200
|
get host() { return this; }
|
|
192
201
|
static get style() { return sallaFiltersWidgetCss; }
|
|
@@ -142,7 +142,7 @@ const SallaMultipleBundleProductSlider = /*@__PURE__*/ proxyCustomElement(class
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: 'fc6f9cc1bbc36bbcdfc9bc4346d818cd9ac67c92', class: "s-multiple-bundle-product-slider" }, h("salla-slider", { key: '82648a1348104be40093a501ceab6ea0209ec761', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: 'a6d44237aaabb99aa4b4c8c3c5a986fe8d5afdc7', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
|
|
146
146
|
const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
|
|
147
147
|
const isLocked = isChecked && this.isSelectionLocked;
|
|
148
148
|
const isDisabled = this.isProductSelectionDisabled(product, isChecked);
|
|
@@ -24,7 +24,7 @@ import { d as defineCustomElement$4 } from './salla-progress-bar2.js';
|
|
|
24
24
|
import { d as defineCustomElement$3 } from './salla-skeleton2.js';
|
|
25
25
|
import { d as defineCustomElement$2 } from './salla-slider2.js';
|
|
26
26
|
|
|
27
|
-
const sallaMultipleBundleProductCss = "/*!twlt*/:host{display:block}.visible{visibility:visible}.hidden{display:none}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}.btn{display:inline-flex;flex:1 1 0%;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.btn:hover{opacity:0.8}.s-multiple-bundle-product-wrapper{margin-bottom:1.25rem;display:block}.s-multiple-bundle-product-wrapper-sections{display:flex;flex-direction:column;gap:1rem}.s-multiple-bundle-product-wrapper-slider .swiper{display:block !important}.s-multiple-bundle-product-wrapper-slider .swiper-pagination{position:static}.s-multiple-bundle-product-wrapper-slider .swiper-pagination .swiper-pagination-bullet{height:8px;width:8px}.s-multiple-bundle-product-slide-one-third{height:auto;width:100% !important}@media (min-width: 640px){.s-multiple-bundle-product-slide-one-third{width:100% !important}}@media (min-width: 768px){.s-multiple-bundle-product-slide-one-third{width:50% !important}}@media (min-width: 1024px){.s-multiple-bundle-product-slide-one-third{width:35.7% !important}}.s-multiple-bundle-product-slide-one-third-disabled{pointer-events:none;cursor:not-allowed}.s-multiple-bundle-product-slide-one-third-disabled .s-multiple-bundle-product-image-wrapper{opacity:0.5}.s-multiple-bundle-product-slide-one-third-disabled .s-multiple-bundle-product-button{--tw-text-opacity:1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-card{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:0.5rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.s-multiple-bundle-product-checkbox{position:absolute;top:0.25rem;right:0.5rem;height:1rem;width:1rem;border-radius:var(--s-radius, 0.25rem);--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));accent-color:#16a34a}.s-multiple-bundle-product-image-wrapper{display:flex;height:200px;justify-content:center}.s-multiple-bundle-product-image{width:100%;object-fit:cover}.s-multiple-bundle-product-content-wrapper{padding:0.5rem;line-height:1rem}.s-multiple-bundle-product-content{display:flex;align-items:flex-start;justify-content:space-between;gap:0.5rem}.s-multiple-bundle-product-details{display:flex;flex-direction:column}.s-multiple-bundle-product-title-wrapper{flex:1 1 0%}.s-multiple-bundle-product-title{font-size:9px;font-weight:500;line-height:1rem;--tw-text-opacity:1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-price-wrapper{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-price{font-size:9px;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-price-discount{margin-left:0.5rem;font-size:8px;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));text-decoration-line:line-through}.s-multiple-bundle-product-button{display:flex;align-items:center;gap:0.25rem;border-radius:0.5rem;border-width:0px;text-align:start;font-size:10px;font-weight:700;--tw-text-opacity:1;color:rgb(22 163 74 / var(--tw-text-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-multiple-bundle-product-button:hover{--tw-text-opacity:1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-button-icon{font-size:10px;font-weight:700}.s-multiple-bundle-product-button-icon svg{height:1rem;width:1rem;fill:#16a34a}.s-multiple-bundle-product-button-disabled-icon{pointer-events:none;opacity:0.5}.s-multiple-bundle-product-badge{display:flex;flex-shrink:0;align-items:center;gap:0.25rem;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1));padding-left:0.5rem;padding-right:0.5rem;font-size:7px;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-options-modal-footer{display:flex;justify-content:flex-end}.s-multiple-bundle-product-options-modal-slider{margin-top:1.25rem;display:flex;gap:1.25rem}.s-multiple-bundle-product-options-modal-slider .s-slider-container .swiper-slide{display:flex;align-items:center;justify-content:center}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs{margin-top:0px !important}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs-container{position:static;margin:0px !important;width:40px !important;transform:none !important;padding-left:0px !important;padding-right:0px !important;padding-top:0.5rem !important;padding-bottom:0.5rem !important}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs-container .swiper-slide{margin-top:0px !important;display:flex !important;height:40px !important;width:100%;align-items:center;justify-content:center;padding:0.25rem}.s-multiple-bundle-product-cart-header-wrapper{width:100%}.s-multiple-bundle-product-cart-header{display:flex;align-items:center;gap:1rem}.s-multiple-bundle-product-cart-header-no-options{justify-content:space-between}.s-multiple-bundle-product-cart-header-content{display:flex;align-items:center;gap:1rem}.s-multiple-bundle-product-cart-header-remove-button{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-cart-body-remove-button{display:flex;align-items:center;justify-content:flex-end;gap:0.25rem}.s-multiple-bundle-product-cart-header-image-wrapper{position:relative;flex-shrink:0;overflow:hidden}.s-multiple-bundle-product-cart-header-image{height:4rem;width:4rem;flex:none;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));object-fit:cover;object-position:center}.s-multiple-bundle-product-cart-header-content-details>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.25rem * var(--tw-space-y-reverse))}.s-multiple-bundle-product-cart-header-content-details-title{font-size:1rem;font-weight:500;line-height:1.5rem;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-price{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-cart-header-content-details-price-regular{font-size:0.75rem;line-height:1rem;font-weight:700;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-price-sale{font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));text-decoration-line:line-through}.s-multiple-bundle-product-cart-header-content-details-quantity{display:flex;align-items:center;gap:0.25rem;font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-title-link{font-size:1rem;line-height:1.5rem;font-weight:500}.s-multiple-bundle-product-options-modal-slider-thumb{height:100%;width:100%;overflow:hidden;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));object-fit:cover}";
|
|
27
|
+
const sallaMultipleBundleProductCss = "/*!twlt*/:host{display:block}.visible{visibility:visible}.hidden{display:none}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}.btn{display:inline-flex;flex:1 1 0%;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.btn:hover{opacity:0.8}.s-multiple-bundle-product-wrapper{margin-bottom:1.25rem;display:block}.s-multiple-bundle-product-wrapper-sections{display:flex;flex-direction:column;gap:1rem}.s-multiple-bundle-product-slider{display:block}.s-multiple-bundle-product-wrapper-slider .swiper{display:block !important}.s-multiple-bundle-product-wrapper-slider .swiper-pagination{position:static}.s-multiple-bundle-product-wrapper-slider .swiper-pagination .swiper-pagination-bullet{height:8px;width:8px}.s-multiple-bundle-product-slide-one-third{height:auto;width:100% !important}@media (min-width: 640px){.s-multiple-bundle-product-slide-one-third{width:100% !important}}@media (min-width: 768px){.s-multiple-bundle-product-slide-one-third{width:50% !important}}@media (min-width: 1024px){.s-multiple-bundle-product-slide-one-third{width:35.7% !important}}.s-multiple-bundle-product-slide-one-third-disabled{pointer-events:none;cursor:not-allowed}.s-multiple-bundle-product-slide-one-third-disabled .s-multiple-bundle-product-image-wrapper{opacity:0.5}.s-multiple-bundle-product-slide-one-third-disabled .s-multiple-bundle-product-button{--tw-text-opacity:1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-card{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:0.5rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.s-multiple-bundle-product-checkbox{position:absolute;top:0.25rem;right:0.5rem;height:1rem;width:1rem;border-radius:var(--s-radius, 0.25rem);--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));accent-color:#16a34a}.s-multiple-bundle-product-image-wrapper{display:flex;height:200px;justify-content:center}.s-multiple-bundle-product-image{width:100%;object-fit:cover}.s-multiple-bundle-product-content-wrapper{padding:0.5rem;line-height:1rem}.s-multiple-bundle-product-content{display:flex;align-items:flex-start;justify-content:space-between;gap:0.5rem}.s-multiple-bundle-product-details{display:flex;flex-direction:column}.s-multiple-bundle-product-title-wrapper{flex:1 1 0%}.s-multiple-bundle-product-title{font-size:9px;font-weight:500;line-height:1rem;--tw-text-opacity:1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-price-wrapper{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-price{font-size:9px;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-price-discount{margin-left:0.5rem;font-size:8px;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));text-decoration-line:line-through}.s-multiple-bundle-product-button{display:flex;align-items:center;gap:0.25rem;border-radius:0.5rem;border-width:0px;text-align:start;font-size:10px;font-weight:700;--tw-text-opacity:1;color:rgb(22 163 74 / var(--tw-text-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-multiple-bundle-product-button:hover{--tw-text-opacity:1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-button-icon{font-size:10px;font-weight:700}.s-multiple-bundle-product-button-icon svg{height:1rem;width:1rem;fill:#16a34a}.s-multiple-bundle-product-button-disabled-icon{pointer-events:none;opacity:0.5}.s-multiple-bundle-product-badge{display:flex;flex-shrink:0;align-items:center;gap:0.25rem;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1));padding-left:0.5rem;padding-right:0.5rem;font-size:7px;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-options-modal-footer{display:flex;justify-content:flex-end}.s-multiple-bundle-product-options-modal-slider{margin-top:1.25rem;display:flex;gap:1.25rem}.s-multiple-bundle-product-options-modal-slider .s-slider-container .swiper-slide{display:flex;align-items:center;justify-content:center}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs{margin-top:0px !important}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs-container{position:static;margin:0px !important;width:40px !important;transform:none !important;padding-left:0px !important;padding-right:0px !important;padding-top:0.5rem !important;padding-bottom:0.5rem !important}.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs-container .swiper-slide{margin-top:0px !important;display:flex !important;height:40px !important;width:100%;align-items:center;justify-content:center;padding:0.25rem}.s-multiple-bundle-product-cart-header-wrapper{width:100%}.s-multiple-bundle-product-cart-header{display:flex;align-items:center;gap:1rem}.s-multiple-bundle-product-cart-header-no-options{justify-content:space-between}.s-multiple-bundle-product-cart-header-content{display:flex;align-items:center;gap:1rem}.s-multiple-bundle-product-cart-header-remove-button{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-cart-body-remove-button{display:flex;align-items:center;justify-content:flex-end;gap:0.25rem}.s-multiple-bundle-product-cart-header-image-wrapper{position:relative;flex-shrink:0;overflow:hidden}.s-multiple-bundle-product-cart-header-image{height:4rem;width:4rem;flex:none;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));object-fit:cover;object-position:center}.s-multiple-bundle-product-cart-header-content-details>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.25rem * var(--tw-space-y-reverse))}.s-multiple-bundle-product-cart-header-content-details-title{font-size:1rem;font-weight:500;line-height:1.5rem;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-price{display:flex;align-items:center;gap:0.25rem}.s-multiple-bundle-product-cart-header-content-details-price-regular{font-size:0.75rem;line-height:1rem;font-weight:700;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-price-sale{font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));text-decoration-line:line-through}.s-multiple-bundle-product-cart-header-content-details-quantity{display:flex;align-items:center;gap:0.25rem;font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.s-multiple-bundle-product-cart-header-content-details-title-link{font-size:1rem;line-height:1.5rem;font-weight:500}.s-multiple-bundle-product-options-modal-slider-thumb{height:100%;width:100%;overflow:hidden;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));object-fit:cover}";
|
|
28
28
|
|
|
29
29
|
const SallaMultipleBundleProduct$1 = /*@__PURE__*/ proxyCustomElement(class SallaMultipleBundleProduct extends HTMLElement {
|
|
30
30
|
constructor() {
|
|
@@ -149,7 +149,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class SallaScopees extends
|
|
|
149
149
|
'id': this.current_scope.id
|
|
150
150
|
});
|
|
151
151
|
salla.cart.reset();
|
|
152
|
-
window.location.replace(salla.
|
|
152
|
+
window.location.replace(salla.scope.urlFor(this.current_scope));
|
|
153
153
|
}).catch(e => console.log(e))
|
|
154
154
|
.finally(() => {
|
|
155
155
|
this.changeBtn.stop();
|
package/dist/docs.json
CHANGED