@salla.sa/twilight-components 2.14.439 → 2.14.440
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-DdDLuiM5.js → filepond-DOOLwTpX.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-yMQqced-.js → filepond-plugin-file-poster-D7nMzJ2p.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-ySnuQivZ.js → filepond-plugin-file-validate-size-DpCJ71im.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DZR1JS8f.js → filepond-plugin-file-validate-type-CDZ5OaBc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-D1I8S80L.js → filepond-plugin-image-edit-BzGZimte.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C9XMlwy1.js → filepond-plugin-image-exif-orientation-D1fPPBi_.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-Bb0GALoo.js → filepond-plugin-image-preview-CEhIwZKp.js} +1 -1
- package/dist/cjs/{functions-wi2J1iyx.js → functions-CdVaIsQM.js} +1 -1
- package/dist/cjs/{index-gyLHvjDh.js → index-E66k07Rj.js} +1 -1
- package/dist/cjs/{index-CzYs-dhm.js → index-oqqfD8M2.js} +2 -2
- 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-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-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.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 +247 -42
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +86 -25
- 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-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-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 +2 -2
- package/dist/cjs/salla-product-card_2.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-progress-bar.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/{tracked-promise-DT3W4yYx.js → tracked-promise-DV0VuqZL.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-BdKuUhUF.js → vanilla-picker-DvOQTQXG.js} +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +278 -41
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +18 -4
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +107 -20
- package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.css +32 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-multiple-bundle-product-details2.js +250 -42
- package/dist/components/salla-multiple-bundle-product-options-modal2.js +18 -4
- package/dist/components/salla-multiple-bundle-product-slider2.js +69 -20
- package/dist/components/salla-product-card-embed.js +1 -1
- package/dist/esm/{filepond-CuxNx4T_.js → filepond-Crf00c7G.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-B0bm9HVP.js → filepond-plugin-file-poster-B3uKBJe-.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Ndd8bi5G.js → filepond-plugin-file-validate-size-CWVDRdsV.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DrPPjEtZ.js → filepond-plugin-file-validate-type-VQGNZwF9.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C96YLlHm.js → filepond-plugin-image-edit-DOhXVk8j.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BufhQyn4.js → filepond-plugin-image-exif-orientation-Co8jzTVW.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-xyGt-4PS.js → filepond-plugin-image-preview-gQWAQlCp.js} +1 -1
- package/dist/esm/{functions-BXvEy71U.js → functions-D8zpoRMj.js} +1 -1
- package/dist/esm/{index-BVmIkaqr.js → index-DX6k_dv6.js} +1 -1
- package/dist/esm/{index-D0jpoyIT.js → index-XEcnGv2r.js} +2 -2
- 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-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-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.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 +247 -42
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +86 -25
- 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-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-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 +2 -2
- package/dist/esm/salla-product-card_2.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-progress-bar.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/{tracked-promise-2BTc0cKI.js → tracked-promise-DhOWivzL.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DN-pQ4Fw.js → vanilla-picker-C0njJzZd.js} +1 -1
- package/dist/twilight/{p-b44d2016.entry.js → p-00b633b2.entry.js} +1 -1
- package/dist/twilight/{p-9dc45b4d.entry.js → p-0238a9dd.entry.js} +1 -1
- package/dist/twilight/{p-0831e5fc.entry.js → p-05ae76f4.entry.js} +1 -1
- package/dist/twilight/{p-5eec5519.entry.js → p-06f77f81.entry.js} +1 -1
- package/dist/twilight/{p-5f7466cf.entry.js → p-07d26676.entry.js} +1 -1
- package/dist/twilight/{p-81985743.entry.js → p-07f973b1.entry.js} +1 -1
- package/dist/twilight/{p-7bdb6aca.entry.js → p-0c342e2d.entry.js} +1 -1
- package/dist/twilight/{p-1567d3b0.entry.js → p-11da2f39.entry.js} +1 -1
- package/dist/twilight/{p-9c6752e6.entry.js → p-1d8eb252.entry.js} +1 -1
- package/dist/twilight/{p-4b6e6fb8.entry.js → p-203d6ae6.entry.js} +1 -1
- package/dist/twilight/{p-19ab0abc.entry.js → p-2cae7b1c.entry.js} +1 -1
- package/dist/twilight/{p-04e8106c.entry.js → p-2dce17b0.entry.js} +1 -1
- package/dist/twilight/{p-bfe0be2b.entry.js → p-2eddcffd.entry.js} +1 -1
- package/dist/twilight/{p-4a9379a1.entry.js → p-31b06705.entry.js} +1 -1
- package/dist/twilight/{p-2ab53408.entry.js → p-33362e8b.entry.js} +1 -1
- package/dist/twilight/{p-0597375e.entry.js → p-39498902.entry.js} +1 -1
- package/dist/twilight/{p-79197700.entry.js → p-3ba87443.entry.js} +1 -1
- package/dist/twilight/{p-d9569632.entry.js → p-3e054be0.entry.js} +1 -1
- package/dist/twilight/{p-33a52238.entry.js → p-3edb7319.entry.js} +1 -1
- package/dist/twilight/{p-adc138bc.entry.js → p-461cd74c.entry.js} +1 -1
- package/dist/twilight/{p-6073673e.entry.js → p-476c4acb.entry.js} +1 -1
- package/dist/twilight/{p-078450b0.entry.js → p-4a3b5eca.entry.js} +1 -1
- package/dist/twilight/p-4e52fd6c.entry.js +4 -0
- package/dist/twilight/{p-77f85461.entry.js → p-55dfaddd.entry.js} +1 -1
- package/dist/twilight/{p-378a7e72.entry.js → p-56bd83f4.entry.js} +1 -1
- package/dist/twilight/{p-228413fa.entry.js → p-57a9293b.entry.js} +1 -1
- package/dist/twilight/{p-1ba82c7d.entry.js → p-5c972b65.entry.js} +1 -1
- package/dist/twilight/{p-0c174f16.entry.js → p-5df17c20.entry.js} +1 -1
- package/dist/twilight/{p-cd47fec2.entry.js → p-5e643edb.entry.js} +1 -1
- package/dist/twilight/{p-f81452e9.entry.js → p-5fd650c4.entry.js} +1 -1
- package/dist/twilight/{p-5b106fd4.entry.js → p-60d7a5e2.entry.js} +1 -1
- package/dist/twilight/{p-2dabb075.entry.js → p-6ab3e94b.entry.js} +1 -1
- package/dist/twilight/{p-baed03c3.entry.js → p-6c63e8a6.entry.js} +1 -1
- package/dist/twilight/{p-2a511b8a.entry.js → p-6d35b20c.entry.js} +1 -1
- package/dist/twilight/{p-90afbf42.entry.js → p-6fed57e8.entry.js} +1 -1
- package/dist/twilight/{p-637168d2.entry.js → p-6ff38910.entry.js} +1 -1
- package/dist/twilight/{p-fa049325.entry.js → p-78be4e2c.entry.js} +1 -1
- package/dist/twilight/{p-e2ad8bc7.entry.js → p-8207fb6f.entry.js} +1 -1
- package/dist/twilight/{p-eb53ef20.entry.js → p-854eb825.entry.js} +1 -1
- package/dist/twilight/{p-fadab0ac.entry.js → p-8a4da11a.entry.js} +1 -1
- package/dist/twilight/{p-e58b7d20.entry.js → p-8c34fab2.entry.js} +1 -1
- package/dist/twilight/{p-b0f25824.entry.js → p-924555bd.entry.js} +1 -1
- package/dist/twilight/p-925690e3.entry.js +4 -0
- package/dist/twilight/{p-b7e861b2.entry.js → p-925869b3.entry.js} +1 -1
- package/dist/twilight/{p-45708652.entry.js → p-93e060da.entry.js} +1 -1
- package/dist/twilight/{p-0bbf0061.entry.js → p-94b31962.entry.js} +1 -1
- package/dist/twilight/{p-b73471d3.entry.js → p-9731d50b.entry.js} +1 -1
- package/dist/twilight/{p-5131149c.entry.js → p-9b2ba1e6.entry.js} +1 -1
- package/dist/twilight/{p-68bcb0ba.entry.js → p-9c2942c3.entry.js} +1 -1
- package/dist/twilight/{p-d18400bb.entry.js → p-9c3d5fdc.entry.js} +1 -1
- package/dist/twilight/{p-xuGEmDhH.js → p-B2jZw8NF.js} +1 -1
- package/dist/twilight/{p-DwV68ec-.js → p-B5kt5KrJ.js} +1 -1
- package/dist/twilight/{p-DIsyGRAw.js → p-CMvDceec.js} +1 -1
- package/dist/twilight/{p-NBF3VaTJ.js → p-Cw0D47mx.js} +1 -1
- package/dist/twilight/{p-B3k6Ab4H.js → p-DL6eUQYK.js} +1 -1
- package/dist/twilight/{p-OK5pMKD1.js → p-DWyUFC7G.js} +1 -1
- package/dist/twilight/{p-D-wessdE.js → p-DXDm8GqM.js} +1 -1
- package/dist/twilight/p-Dar-Px4H.js +4 -0
- package/dist/twilight/{p-DvcNoEfM.js → p-DrCHWc9_.js} +1 -1
- package/dist/twilight/{p-KmhadCpx.js → p-DvOajQJL.js} +1 -1
- package/dist/twilight/{p-D0jpoyIT.js → p-XEcnGv2r.js} +1 -1
- package/dist/twilight/p-YUFLgZi3.js +9 -0
- package/dist/twilight/{p-0adb148a.entry.js → p-a14b7bb6.entry.js} +1 -1
- package/dist/twilight/{p-c207c587.entry.js → p-a2fa4306.entry.js} +1 -1
- package/dist/twilight/{p-fc3e6684.entry.js → p-a49d9c6e.entry.js} +1 -1
- package/dist/twilight/{p-3e5dbd96.entry.js → p-aaf3736b.entry.js} +1 -1
- package/dist/twilight/{p-c1823790.entry.js → p-aeeec3d8.entry.js} +1 -1
- package/dist/twilight/{p-12a6d03b.entry.js → p-b1f79652.entry.js} +1 -1
- package/dist/twilight/p-b352e237.entry.js +4 -0
- package/dist/twilight/{p-5bd8ffe5.entry.js → p-b3859adb.entry.js} +1 -1
- package/dist/twilight/{p-afdddba9.entry.js → p-b7e4542c.entry.js} +1 -1
- package/dist/twilight/{p-567ba930.entry.js → p-bea56108.entry.js} +1 -1
- package/dist/twilight/{p-d60ed03c.entry.js → p-c0162a6e.entry.js} +1 -1
- package/dist/twilight/{p-03718a72.entry.js → p-c12ff95c.entry.js} +1 -1
- package/dist/twilight/{p-3918f93c.entry.js → p-c3432589.entry.js} +1 -1
- package/dist/twilight/{p-f42fa303.entry.js → p-c5250fca.entry.js} +1 -1
- package/dist/twilight/{p-62c791c6.entry.js → p-c55b672d.entry.js} +1 -1
- package/dist/twilight/{p-083e5039.entry.js → p-c612ad0b.entry.js} +1 -1
- package/dist/twilight/{p-3f52dc98.entry.js → p-c999abc3.entry.js} +1 -1
- package/dist/twilight/{p-eec8bdb1.entry.js → p-cd5722c4.entry.js} +1 -1
- package/dist/twilight/{p-a0471050.entry.js → p-cff61b58.entry.js} +1 -1
- package/dist/twilight/{p-ef5d5f2a.entry.js → p-d0b10f8b.entry.js} +1 -1
- package/dist/twilight/{p-3c5b9e45.entry.js → p-d1808642.entry.js} +1 -1
- package/dist/twilight/{p-2404e668.entry.js → p-d1bfd0bc.entry.js} +1 -1
- package/dist/twilight/{p-e2ebc898.entry.js → p-d1e67236.entry.js} +1 -1
- package/dist/twilight/{p-0fd165b9.entry.js → p-d34f2a6c.entry.js} +1 -1
- package/dist/twilight/{p-fd7f2211.entry.js → p-d473010e.entry.js} +1 -1
- package/dist/twilight/{p-ea80046d.entry.js → p-deaebd7b.entry.js} +1 -1
- package/dist/twilight/{p-ebc0b840.entry.js → p-e50b4426.entry.js} +1 -1
- package/dist/twilight/{p-eb352a06.entry.js → p-eab889dc.entry.js} +1 -1
- package/dist/twilight/{p-e59b3e07.entry.js → p-ed55bd99.entry.js} +1 -1
- package/dist/twilight/{p-631191d2.entry.js → p-ed770165.entry.js} +1 -1
- package/dist/twilight/{p-c05648b2.entry.js → p-f076d705.entry.js} +1 -1
- package/dist/twilight/{p-b05ce2ee.entry.js → p-f1bed530.entry.js} +1 -1
- package/dist/twilight/p-f34ea06b.entry.js +4 -0
- package/dist/twilight/{p-133aea32.entry.js → p-f5207897.entry.js} +1 -1
- package/dist/twilight/{p-d44c5dcc.entry.js → p-f668e5dd.entry.js} +1 -1
- package/dist/twilight/{p-ced32f4a.entry.js → p-f8d7196e.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.d.ts +20 -0
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.d.ts +1 -0
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.d.ts +9 -0
- package/dist/types/components/salla-multiple-bundle-product/interfaces.d.ts +1 -0
- package/dist/types/components.d.ts +21 -0
- package/package.json +5 -5
- package/dist/twilight/p-1c53d114.entry.js +0 -4
- package/dist/twilight/p-4d21d259.entry.js +0 -4
- package/dist/twilight/p-COQaiMGv.js +0 -4
- package/dist/twilight/p-Cq8arVRH.js +0 -9
- package/dist/twilight/p-b33c50dc.entry.js +0 -4
- package/dist/twilight/p-e4bb0633.entry.js +0 -4
|
@@ -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-XEcnGv2r.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-XEcnGv2r.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-XEcnGv2r.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,10 +1,10 @@
|
|
|
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-XEcnGv2r.js';
|
|
5
5
|
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
7
|
+
import { T as TrackedPromise } from './tracked-promise-DhOWivzL.js';
|
|
8
8
|
|
|
9
9
|
const sallaLoyaltyProgramCss = "";
|
|
10
10
|
|
|
@@ -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 } from './functions-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-XEcnGv2r.js';
|
|
5
|
+
import { c as closeModals, f as formattedPointsJsx } from './functions-D8zpoRMj.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,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance } from './index-
|
|
4
|
+
import { h, r as registerInstance } from './index-XEcnGv2r.js';
|
|
5
5
|
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
|
-
import { n as normalizeLoyaltyData, c as closeModals } from './functions-
|
|
6
|
+
import { n as normalizeLoyaltyData, c as closeModals } from './functions-D8zpoRMj.js';
|
|
7
7
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
8
8
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
9
9
|
import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
|
|
10
10
|
import { S as SIShipping } from './shipping-CZRcMGA9.js';
|
|
11
11
|
import { S as SICart2 } from './cart2-D1s2kXqL.js';
|
|
12
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
12
|
+
import { T as TrackedPromise } from './tracked-promise-DhOWivzL.js';
|
|
13
13
|
|
|
14
14
|
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>`;
|
|
15
15
|
|
|
@@ -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-XEcnGv2r.js';
|
|
5
5
|
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
6
|
|
|
7
7
|
var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -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-XEcnGv2r.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
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance } from './index-
|
|
4
|
+
import { h, r as registerInstance } from './index-XEcnGv2r.js';
|
|
5
5
|
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
|
-
import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-
|
|
6
|
+
import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-D8zpoRMj.js';
|
|
7
7
|
import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
|
|
8
8
|
import { S as SIShipping } from './shipping-CZRcMGA9.js';
|
|
9
9
|
import { S as SICart2 } from './cart2-D1s2kXqL.js';
|
|
10
10
|
import { S as SIUserAdd } from './user-add-QpH8MU22.js';
|
|
11
11
|
import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
|
|
12
12
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
13
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
13
|
+
import { T as TrackedPromise } from './tracked-promise-DhOWivzL.js';
|
|
14
14
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
15
15
|
|
|
16
16
|
var SICartUpload = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
5
|
-
import { c as closeModals } from './functions-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h } from './index-XEcnGv2r.js';
|
|
5
|
+
import { c as closeModals } from './functions-D8zpoRMj.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
7
|
|
|
8
8
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -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-XEcnGv2r.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { S as SICancel } from './cancel-8Tsmrwno.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-XEcnGv2r.js';
|
|
5
5
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
6
6
|
|
|
7
7
|
const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
|
|
@@ -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-XEcnGv2r.js';
|
|
5
5
|
import { L as Location } from './location-BO5AoBAP.js';
|
|
6
6
|
|
|
7
7
|
var Edit = `<!-- Generated by IcoMoon.io -->
|
|
@@ -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, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-XEcnGv2r.js';
|
|
5
5
|
|
|
6
6
|
const sallaMultipleBundleProductCartCss = "";
|
|
7
7
|
|
|
@@ -62,22 +62,37 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
62
62
|
this.productSelectedHandler = null;
|
|
63
63
|
// handle selecting a product (toggle)
|
|
64
64
|
this.onSelectProduct = (sectionId, product) => {
|
|
65
|
+
const productId = product.id;
|
|
66
|
+
const wasSelected = this.selectedProducts[sectionId]?.has(productId) ?? false;
|
|
67
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
68
|
+
if (wasSelected && section && this.isProductSelectionLocked(section)) {
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
if (!wasSelected) {
|
|
72
|
+
if (!section) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (this.getEffectiveMax(section) !== 1 && this.isAtSelectionLimit(section)) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
65
79
|
this.selectedProducts = {
|
|
66
80
|
...this.selectedProducts,
|
|
67
81
|
[sectionId]: new Set(this.selectedProducts[sectionId] || []),
|
|
68
82
|
};
|
|
69
|
-
const productId = product.id;
|
|
70
|
-
const wasSelected = this.selectedProducts[sectionId].has(productId);
|
|
71
83
|
if (wasSelected) {
|
|
72
|
-
// Product is being deselected
|
|
73
84
|
this.selectedProducts[sectionId].delete(productId);
|
|
74
|
-
// Clear form data and modal options for this product in this specific section
|
|
75
85
|
this.clearProductFormData(productId, sectionId);
|
|
76
86
|
this.clearProductModalOptions(productId, sectionId);
|
|
77
87
|
}
|
|
78
88
|
else {
|
|
79
|
-
|
|
80
|
-
|
|
89
|
+
const effectiveMax = this.getEffectiveMax(section);
|
|
90
|
+
if (effectiveMax === 1) {
|
|
91
|
+
this.syncSectionSelection(sectionId, productId);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.selectedProducts[sectionId].add(productId);
|
|
95
|
+
}
|
|
81
96
|
}
|
|
82
97
|
// force re-render
|
|
83
98
|
this.selectedProducts = { ...this.selectedProducts };
|
|
@@ -97,31 +112,45 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
97
112
|
[sectionId]: new Set(this.selectedProducts[sectionId] || []),
|
|
98
113
|
};
|
|
99
114
|
const productId = product.id;
|
|
100
|
-
|
|
101
|
-
|
|
115
|
+
if (this.selectedProducts[sectionId].has(productId)) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
119
|
+
if (!section) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const effectiveMax = this.getEffectiveMax(section);
|
|
123
|
+
if (effectiveMax === 1) {
|
|
124
|
+
this.syncSectionSelection(sectionId, productId);
|
|
125
|
+
}
|
|
126
|
+
else if (effectiveMax > 1 && this.isAtSelectionLimit(section)) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
102
130
|
this.selectedProducts[sectionId].add(productId);
|
|
103
|
-
// force re-render
|
|
104
|
-
this.selectedProducts = { ...this.selectedProducts };
|
|
105
|
-
// dispatch event
|
|
106
|
-
salla.event.dispatch('on-bundle-product-selected', {
|
|
107
|
-
id: product.id,
|
|
108
|
-
name: product.name,
|
|
109
|
-
options: product.options,
|
|
110
|
-
});
|
|
111
131
|
}
|
|
132
|
+
this.selectedProducts = { ...this.selectedProducts };
|
|
133
|
+
salla.event.dispatch('on-bundle-product-selected', {
|
|
134
|
+
id: product.id,
|
|
135
|
+
name: product.name,
|
|
136
|
+
options: product.options,
|
|
137
|
+
});
|
|
112
138
|
};
|
|
113
139
|
// open product options modal
|
|
114
140
|
this.onSelectProductOptions = (product, sectionId) => {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
const
|
|
141
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
142
|
+
if (!section || !this.canSelectProductInSection(section, product.id)) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
const sectionIndex = this.sections.findIndex(s => s.id == sectionId);
|
|
146
|
+
const productIndex = section.products?.findIndex(p => p.id == product.id) ?? 0;
|
|
147
|
+
const isProductAlreadySelected = this.selectedProducts[sectionId]?.has(product.id) ?? false;
|
|
120
148
|
salla.event.dispatch('multiple-bundle-product-modal::open', {
|
|
121
149
|
product,
|
|
122
150
|
sectionId,
|
|
123
151
|
sectionIndex,
|
|
124
152
|
productIndex,
|
|
153
|
+
isProductAlreadySelected,
|
|
125
154
|
});
|
|
126
155
|
};
|
|
127
156
|
// Event handlers for bundle slider component
|
|
@@ -134,22 +163,164 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
134
163
|
this.onSelectProductOptions(product, sectionId);
|
|
135
164
|
};
|
|
136
165
|
}
|
|
166
|
+
isSingleProductSection(section) {
|
|
167
|
+
return (section.products?.length ?? 0) === 1;
|
|
168
|
+
}
|
|
169
|
+
getObligatoryMin(section) {
|
|
170
|
+
const min = section.obligatory_products;
|
|
171
|
+
if (min == null) {
|
|
172
|
+
return 0;
|
|
173
|
+
}
|
|
174
|
+
const numericMin = Number(min);
|
|
175
|
+
return Number.isNaN(numericMin) ? 0 : numericMin;
|
|
176
|
+
}
|
|
177
|
+
isProductSelectionLocked(section) {
|
|
178
|
+
return this.isSingleProductSection(section) && this.getObligatoryMin(section) === 1;
|
|
179
|
+
}
|
|
180
|
+
/** Empty max → cap is the number of products in the section. */
|
|
181
|
+
getEffectiveMax(section) {
|
|
182
|
+
const productCount = section.products?.length ?? 0;
|
|
183
|
+
const max = section.max_obligatory_products;
|
|
184
|
+
if (max != null && max > 0) {
|
|
185
|
+
return Math.min(max, productCount);
|
|
186
|
+
}
|
|
187
|
+
return productCount;
|
|
188
|
+
}
|
|
189
|
+
getSelectedCount(sectionId) {
|
|
190
|
+
return this.selectedProducts[sectionId]?.size ?? 0;
|
|
191
|
+
}
|
|
192
|
+
isAtSelectionLimit(section) {
|
|
193
|
+
return this.getSelectedCount(section.id) >= this.getEffectiveMax(section);
|
|
194
|
+
}
|
|
195
|
+
canSelectProductInSection(section, productId) {
|
|
196
|
+
if (this.selectedProducts[section.id]?.has(productId)) {
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
if (this.getEffectiveMax(section) === 1) {
|
|
200
|
+
return true;
|
|
201
|
+
}
|
|
202
|
+
return !this.isAtSelectionLimit(section);
|
|
203
|
+
}
|
|
204
|
+
async canSelectBundleProduct(sectionId, productId) {
|
|
205
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
206
|
+
if (!section) {
|
|
207
|
+
return false;
|
|
208
|
+
}
|
|
209
|
+
return this.canSelectProductInSection(section, productId);
|
|
210
|
+
}
|
|
211
|
+
queryProductCheckbox(sectionId, productIndex) {
|
|
212
|
+
const selector = `input.s-multiple-bundle-product-checkbox[name="bundle[${sectionId}][${productIndex}][id]"]`;
|
|
213
|
+
const form = this.host.closest('form');
|
|
214
|
+
const fromForm = form?.querySelector(selector);
|
|
215
|
+
if (fromForm) {
|
|
216
|
+
return fromForm;
|
|
217
|
+
}
|
|
218
|
+
for (const slider of this.host.querySelectorAll('salla-multiple-bundle-product-slider')) {
|
|
219
|
+
const root = slider.shadowRoot ?? slider;
|
|
220
|
+
const input = root.querySelector(selector);
|
|
221
|
+
if (input) {
|
|
222
|
+
return input;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
dispatchBubblingChange(target) {
|
|
228
|
+
requestAnimationFrame(() => {
|
|
229
|
+
target.dispatchEvent(new window.Event('change', { bubbles: true }));
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
/** Uncheck checkbox, remove form inputs, and reset modal state for one product slot. */
|
|
233
|
+
clearSectionProductSlot(sectionId, productId, productIndex) {
|
|
234
|
+
const checkbox = this.queryProductCheckbox(sectionId, productIndex);
|
|
235
|
+
if (checkbox) {
|
|
236
|
+
checkbox.checked = false;
|
|
237
|
+
}
|
|
238
|
+
const form = this.host.closest('form');
|
|
239
|
+
if (form) {
|
|
240
|
+
const slotPrefix = `bundle[${sectionId}][${productIndex}]`;
|
|
241
|
+
Array.from(form.querySelectorAll('input')).forEach((input) => {
|
|
242
|
+
const inSlot = input.name?.startsWith(slotPrefix) ?? false;
|
|
243
|
+
if (!inSlot) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
if (input.type === 'checkbox' && input.name?.endsWith('][id]')) {
|
|
247
|
+
input.checked = false;
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
input.remove();
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
this.clearProductModalOptions(productId, sectionId);
|
|
254
|
+
}
|
|
255
|
+
/** max=1: replace section selection and keep DOM/form in sync. */
|
|
256
|
+
syncSectionSelection(sectionId, productId) {
|
|
257
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
258
|
+
section?.products?.forEach((product, productIndex) => {
|
|
259
|
+
if (product.id != productId) {
|
|
260
|
+
this.clearSectionProductSlot(sectionId, product.id, productIndex);
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
this.selectedProducts[sectionId] = new Set([productId]);
|
|
264
|
+
const selectedIndex = section?.products?.findIndex(p => p.id == productId) ?? -1;
|
|
265
|
+
const checkbox = selectedIndex >= 0 ? this.queryProductCheckbox(sectionId, selectedIndex) : null;
|
|
266
|
+
if (checkbox) {
|
|
267
|
+
checkbox.checked = true;
|
|
268
|
+
this.dispatchBubblingChange(checkbox);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
autoSelectSingleProductSections() {
|
|
272
|
+
if (!this.sections?.length) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
const newSelectedProducts = { ...this.selectedProducts };
|
|
276
|
+
let updated = false;
|
|
277
|
+
const selectedEvents = [];
|
|
278
|
+
for (const section of this.sections) {
|
|
279
|
+
if (!this.isProductSelectionLocked(section)) {
|
|
280
|
+
continue;
|
|
281
|
+
}
|
|
282
|
+
const product = section.products?.[0];
|
|
283
|
+
if (!product || (!product.unlimited_quantity && (product.quantity ?? 0) <= 0)) {
|
|
284
|
+
continue;
|
|
285
|
+
}
|
|
286
|
+
const sectionId = section.id;
|
|
287
|
+
const currentSet = new Set(newSelectedProducts[sectionId] || []);
|
|
288
|
+
if (currentSet.has(product.id)) {
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
291
|
+
currentSet.add(product.id);
|
|
292
|
+
newSelectedProducts[sectionId] = currentSet;
|
|
293
|
+
updated = true;
|
|
294
|
+
selectedEvents.push({ product });
|
|
295
|
+
}
|
|
296
|
+
if (!updated) {
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
this.selectedProducts = newSelectedProducts;
|
|
300
|
+
selectedEvents.forEach(({ product }) => {
|
|
301
|
+
salla.event.dispatch('on-bundle-product-selected', {
|
|
302
|
+
id: product.id,
|
|
303
|
+
name: product.name,
|
|
304
|
+
options: product.options,
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
}
|
|
137
308
|
// Clear form data for a specific product in specific section
|
|
138
309
|
clearProductFormData(productId, sectionId) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
inputsToRemove.forEach(input => input.remove());
|
|
310
|
+
if (sectionId != null) {
|
|
311
|
+
const section = this.sections.find(s => s.id == sectionId);
|
|
312
|
+
const productIndex = section?.products?.findIndex(product => product.id == productId) ?? -1;
|
|
313
|
+
if (productIndex >= 0) {
|
|
314
|
+
this.clearSectionProductSlot(sectionId, productId, productIndex);
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
147
317
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
inputsToRemove.forEach(input => input.remove());
|
|
318
|
+
const form = this.host.closest('form');
|
|
319
|
+
if (!form) {
|
|
320
|
+
return;
|
|
152
321
|
}
|
|
322
|
+
const inputsToRemove = form.querySelectorAll(`[data-product-id="${productId}"]`);
|
|
323
|
+
inputsToRemove.forEach(input => input.remove());
|
|
153
324
|
}
|
|
154
325
|
// Clear modal options state for a specific product
|
|
155
326
|
clearProductModalOptions(productId, sectionId) {
|
|
@@ -173,10 +344,42 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
173
344
|
productIndex,
|
|
174
345
|
});
|
|
175
346
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
347
|
+
getProgressStatus(section) {
|
|
348
|
+
const selectedCount = this.getSelectedCount(section.id);
|
|
349
|
+
const effectiveMax = this.getEffectiveMax(section);
|
|
350
|
+
if (effectiveMax > 0) {
|
|
351
|
+
return `${selectedCount}/${effectiveMax}`;
|
|
352
|
+
}
|
|
353
|
+
return '0';
|
|
354
|
+
}
|
|
355
|
+
getSectionSelectionNote(section) {
|
|
356
|
+
const min = this.getObligatoryMin(section);
|
|
357
|
+
const max = Number(section.max_obligatory_products) || 0;
|
|
358
|
+
const hasMin = min > 0;
|
|
359
|
+
const hasMax = max > 0;
|
|
360
|
+
if (!hasMin && !hasMax) {
|
|
361
|
+
return null;
|
|
362
|
+
}
|
|
363
|
+
if (hasMin && hasMax) {
|
|
364
|
+
if (min === max) {
|
|
365
|
+
return salla.lang.getWithDefault('pages.products.bundle_select_exact', `اختر ${min} منتجات`, { count: min });
|
|
366
|
+
}
|
|
367
|
+
return salla.lang.getWithDefault('pages.products.bundle_select_range', `اختر من ${min} إلى ${max} منتجات`, { min, max });
|
|
368
|
+
}
|
|
369
|
+
if (hasMin) {
|
|
370
|
+
return salla.lang.getWithDefault('pages.products.bundle_select_min', `اختر على الأقل ${min} منتجات`, { min });
|
|
371
|
+
}
|
|
372
|
+
return salla.lang.getWithDefault('pages.products.bundle_select_max', `اختر حتى ${max} منتجات`, { max });
|
|
373
|
+
}
|
|
374
|
+
handleSectionsChange() {
|
|
375
|
+
this.autoSelectSingleProductSections();
|
|
376
|
+
}
|
|
377
|
+
componentWillLoad() {
|
|
378
|
+
this.autoSelectSingleProductSections();
|
|
379
|
+
}
|
|
380
|
+
renderAccordionHeader(section) {
|
|
381
|
+
const selectionNote = this.getSectionSelectionNote(section);
|
|
382
|
+
return (h(Fragment, null, h("h2", { slot: "title" }, section?.name), selectionNote ? h("span", { slot: "note" }, selectionNote) : null, h("span", { slot: "progress" }, this.getProgressStatus(section))));
|
|
180
383
|
}
|
|
181
384
|
componentDidLoad() {
|
|
182
385
|
// Listen for product selected event from modal
|
|
@@ -207,12 +410,14 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
207
410
|
}
|
|
208
411
|
}
|
|
209
412
|
render() {
|
|
210
|
-
return (h(Host, { key: '
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
})), h("salla-multiple-bundle-product-options-modal", { key: '6627ee4f67bcd775b16e470dd4735848e6087fd4' })));
|
|
413
|
+
return (h(Host, { key: '74b123c432e77263cf0ddcf20ab742885c54d5f4', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '24bef0958a2a7d29bb4485eac08c7e6b8614a00d', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
|
|
414
|
+
return (h("salla-accordion", { key: section.id, collapsed: index === 0 ? false : true }, h("salla-accordion-head", null, this.renderAccordionHeader(section)), h("salla-accordion-body", null, h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index, selectedProducts: this.selectedProducts, selectionLimit: this.getEffectiveMax(section), isSelectionLocked: this.isProductSelectionLocked(section), onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
|
|
415
|
+
})), h("salla-multiple-bundle-product-options-modal", { key: '556b4e51a4b79dfc00371a07296556fb74111524' })));
|
|
214
416
|
}
|
|
215
417
|
get host() { return getElement(this); }
|
|
418
|
+
static get watchers() { return {
|
|
419
|
+
"sections": ["handleSectionsChange"]
|
|
420
|
+
}; }
|
|
216
421
|
};
|
|
217
422
|
SallaMultipleBundleProductDetails.style = sallaMultipleBundleProductDetailsCss;
|
|
218
423
|
|