@salla.sa/twilight-components 2.14.453 → 2.14.454
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-CI66KMVO.js → filepond-omDVoR0V.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CBGq8ES2.js → filepond-plugin-file-poster-CiTwbype.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Hsu_GUsE.js → filepond-plugin-file-validate-size-BMUGogIJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CSvG7Q9E.js → filepond-plugin-file-validate-type-DU7loMuy.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DmkDmRS0.js → filepond-plugin-image-edit-BvpuxlGL.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-GPV7AlAH.js → filepond-plugin-image-exif-orientation-BltzmQ3V.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CnaFJEOv.js → filepond-plugin-image-preview-C-51g4On.js} +1 -1
- package/dist/cjs/{functions-Bqin1z7b.js → functions-BugkyX_h.js} +1 -1
- package/dist/cjs/{index-BZVIkGyK.js → index-CMdVOCIm.js} +1 -1
- package/dist/cjs/{index-gD7UGzCL.js → index-DppdveKW.js} +3 -3
- 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 +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +68 -6
- 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 +7 -3
- 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 +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-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 +1 -1
- 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-D-r7wmoZ.js → tracked-promise-D_CjjRbz.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-Bls8gs8C.js → vanilla-picker-Cx13ViIR.js} +1 -1
- package/dist/collection/components/salla-bought-together/salla-bought-together.js +67 -5
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +6 -2
- package/dist/components/index.js +3 -3
- package/dist/components/salla-bought-together.js +67 -5
- package/dist/components/salla-bullet-delivery.js +6 -2
- package/dist/esm/{filepond-CA-bRwmz.js → filepond-DFccUKfi.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CGF3FiKD.js → filepond-plugin-file-poster-BKP-dfBt.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-83VtyXAg.js → filepond-plugin-file-validate-size-Cjhw73dP.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DK5fI0Pp.js → filepond-plugin-file-validate-type-BYB_v8v7.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DiW845Zb.js → filepond-plugin-image-edit-DrvarOmH.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DuJRdepD.js → filepond-plugin-image-exif-orientation-DdeulGFN.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CE3Z4l9U.js → filepond-plugin-image-preview-CygMfjyy.js} +1 -1
- package/dist/esm/{functions-ByUw56nX.js → functions-B4JadfO-.js} +1 -1
- package/dist/esm/{index-CDZKvBjs.js → index-BsChAaWH.js} +1 -1
- package/dist/esm/{index-DuhQONDF.js → index-iW77h_OO.js} +3 -3
- 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 +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +68 -6
- 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 +7 -3
- 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 +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-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 +1 -1
- 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-D8BEggEx.js → tracked-promise-C44guOYk.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-rczekglZ.js → vanilla-picker-YDGjYiGR.js} +1 -1
- package/dist/twilight/{p-c826dc76.entry.js → p-00b84307.entry.js} +1 -1
- package/dist/twilight/{p-759d043a.entry.js → p-02dd7637.entry.js} +1 -1
- package/dist/twilight/{p-a4541cb8.entry.js → p-02f8d9f9.entry.js} +1 -1
- package/dist/twilight/{p-71970ff4.entry.js → p-05a72e81.entry.js} +1 -1
- package/dist/twilight/{p-f96e2074.entry.js → p-0649d07b.entry.js} +1 -1
- package/dist/twilight/{p-88b678c5.entry.js → p-0819daad.entry.js} +1 -1
- package/dist/twilight/p-10334bac.entry.js +4 -0
- package/dist/twilight/{p-5c918928.entry.js → p-1152d39f.entry.js} +1 -1
- package/dist/twilight/{p-b6f8c8c1.entry.js → p-13cb0ec4.entry.js} +1 -1
- package/dist/twilight/{p-9ab434b1.entry.js → p-19276c52.entry.js} +1 -1
- package/dist/twilight/{p-0372d190.entry.js → p-19f2e7d2.entry.js} +1 -1
- package/dist/twilight/{p-3cbaa7f2.entry.js → p-1b2c0753.entry.js} +1 -1
- package/dist/twilight/{p-f7adbf64.entry.js → p-1f7af2ad.entry.js} +1 -1
- package/dist/twilight/{p-86c591e2.entry.js → p-24b99485.entry.js} +1 -1
- package/dist/twilight/{p-a0d7c935.entry.js → p-256aa3f1.entry.js} +1 -1
- package/dist/twilight/{p-26d213c4.entry.js → p-28f46e76.entry.js} +1 -1
- package/dist/twilight/{p-6ff0931f.entry.js → p-290f254d.entry.js} +1 -1
- package/dist/twilight/{p-45cd6429.entry.js → p-2d4e9fb9.entry.js} +1 -1
- package/dist/twilight/{p-372157de.entry.js → p-34aa2e08.entry.js} +1 -1
- package/dist/twilight/{p-54fb9654.entry.js → p-3a4376e2.entry.js} +1 -1
- package/dist/twilight/{p-5d611546.entry.js → p-3bae0861.entry.js} +1 -1
- package/dist/twilight/{p-67c261a1.entry.js → p-3bbd0428.entry.js} +1 -1
- package/dist/twilight/{p-40951b40.entry.js → p-3c810267.entry.js} +1 -1
- package/dist/twilight/{p-f7d53109.entry.js → p-3e994db0.entry.js} +1 -1
- package/dist/twilight/{p-11747cf8.entry.js → p-3f5f9c20.entry.js} +1 -1
- package/dist/twilight/{p-8abe7b8f.entry.js → p-40c95509.entry.js} +1 -1
- package/dist/twilight/{p-59171f9a.entry.js → p-46b71bff.entry.js} +1 -1
- package/dist/twilight/{p-e19fe246.entry.js → p-498cdb6f.entry.js} +1 -1
- package/dist/twilight/{p-1017e250.entry.js → p-4c9edafa.entry.js} +1 -1
- package/dist/twilight/{p-a91f1358.entry.js → p-4cbe8713.entry.js} +1 -1
- package/dist/twilight/{p-b06aab6f.entry.js → p-4e93a3b0.entry.js} +1 -1
- package/dist/twilight/{p-f8a71d06.entry.js → p-51638221.entry.js} +1 -1
- package/dist/twilight/{p-15682643.entry.js → p-51da9e0c.entry.js} +1 -1
- package/dist/twilight/{p-a66afb4d.entry.js → p-588a366c.entry.js} +1 -1
- package/dist/twilight/{p-f96e6132.entry.js → p-5965a3d2.entry.js} +1 -1
- package/dist/twilight/{p-ae0bdaad.entry.js → p-596d016f.entry.js} +1 -1
- package/dist/twilight/{p-2007425d.entry.js → p-5ac78da9.entry.js} +1 -1
- package/dist/twilight/{p-3d099804.entry.js → p-5d9af31e.entry.js} +1 -1
- package/dist/twilight/{p-273d6a6e.entry.js → p-697a25c4.entry.js} +1 -1
- package/dist/twilight/{p-c95c6d89.entry.js → p-6c9aca7c.entry.js} +1 -1
- package/dist/twilight/{p-34f6ae6d.entry.js → p-6ed57526.entry.js} +1 -1
- package/dist/twilight/{p-a652277b.entry.js → p-721bf683.entry.js} +1 -1
- package/dist/twilight/{p-4d951693.entry.js → p-74ab39a5.entry.js} +1 -1
- package/dist/twilight/{p-795a49f3.entry.js → p-76523a14.entry.js} +1 -1
- package/dist/twilight/{p-799f30e2.entry.js → p-7afdc002.entry.js} +1 -1
- package/dist/twilight/{p-2fbde35a.entry.js → p-7ca70e4e.entry.js} +1 -1
- package/dist/twilight/{p-cefb9ceb.entry.js → p-87b489d5.entry.js} +1 -1
- package/dist/twilight/{p-cacf40b0.entry.js → p-8fea01ea.entry.js} +1 -1
- package/dist/twilight/{p-6fc8780f.entry.js → p-99cc3c6d.entry.js} +1 -1
- package/dist/twilight/{p-1aee25ae.entry.js → p-99e0fc1f.entry.js} +1 -1
- package/dist/twilight/{p-DmbvyZsW.js → p-BWfbW9uR.js} +1 -1
- package/dist/twilight/{p-BKFpjRDB.js → p-BpU1d8Q_.js} +1 -1
- package/dist/twilight/{p-Cy7YnDlp.js → p-BtQuvkil.js} +1 -1
- package/dist/twilight/{p-B3G9rfPC.js → p-CNLZvKDA.js} +1 -1
- package/dist/twilight/{p-bJly2Q9f.js → p-CgvkiAxT.js} +1 -1
- package/dist/twilight/{p-BsgWQKc7.js → p-CwIp300F.js} +1 -1
- package/dist/twilight/{p-5g_iyHqw.js → p-D--YecOb.js} +1 -1
- package/dist/twilight/{p-D6K__xxx.js → p-DPYkeBoq.js} +1 -1
- package/dist/twilight/{p-CGfi0Jw5.js → p-DQRmUn8O.js} +1 -1
- package/dist/twilight/{p-Dl_ZiF1l.js → p-JH4C3FEL.js} +2 -2
- package/dist/twilight/{p-C4dBxoYB.js → p-JqmowdAI.js} +1 -1
- package/dist/twilight/{p-4304d8dc.entry.js → p-a27bb10b.entry.js} +1 -1
- package/dist/twilight/{p-2786dded.entry.js → p-a61a9f5a.entry.js} +1 -1
- package/dist/twilight/{p-83e6fef8.entry.js → p-a6394281.entry.js} +1 -1
- package/dist/twilight/{p-576644de.entry.js → p-a6563120.entry.js} +1 -1
- package/dist/twilight/{p-67cc7166.entry.js → p-a6dca70e.entry.js} +1 -1
- package/dist/twilight/{p-18c8c629.entry.js → p-a9d9d779.entry.js} +1 -1
- package/dist/twilight/{p-69d44de0.entry.js → p-b266250b.entry.js} +1 -1
- package/dist/twilight/{p-7538d1ca.entry.js → p-ba047214.entry.js} +1 -1
- package/dist/twilight/{p-e3736f87.entry.js → p-bf5f9ac5.entry.js} +1 -1
- package/dist/twilight/{p-f0012532.entry.js → p-c0ff719e.entry.js} +1 -1
- package/dist/twilight/{p-6a0cf220.entry.js → p-c5c834f6.entry.js} +1 -1
- package/dist/twilight/{p-453e4a72.entry.js → p-c929ace3.entry.js} +1 -1
- package/dist/twilight/{p-c0ad861a.entry.js → p-cb7e203e.entry.js} +1 -1
- package/dist/twilight/p-cd7b86ca.entry.js +4 -0
- package/dist/twilight/{p-38a6f460.entry.js → p-d58e833c.entry.js} +1 -1
- package/dist/twilight/{p-ca4473c0.entry.js → p-d5dd0382.entry.js} +6 -6
- package/dist/twilight/{p-58fdeedc.entry.js → p-d742b000.entry.js} +1 -1
- package/dist/twilight/{p-d3976258.entry.js → p-d7efc079.entry.js} +1 -1
- package/dist/twilight/{p-e0e40938.entry.js → p-d85d8cc1.entry.js} +1 -1
- package/dist/twilight/{p-f2748268.entry.js → p-d9754b4d.entry.js} +1 -1
- package/dist/twilight/{p-0a4586ca.entry.js → p-da7dac3f.entry.js} +1 -1
- package/dist/twilight/{p-9ac8a7ac.entry.js → p-dc1ed927.entry.js} +1 -1
- package/dist/twilight/{p-08b7f768.entry.js → p-df7285e7.entry.js} +1 -1
- package/dist/twilight/{p-5f11aa48.entry.js → p-e6c02cf3.entry.js} +1 -1
- package/dist/twilight/p-eba853e8.entry.js +4 -0
- package/dist/twilight/{p-4f12e7c1.entry.js → p-ed14038b.entry.js} +1 -1
- package/dist/twilight/{p-2c2939d4.entry.js → p-ed5da7f4.entry.js} +1 -1
- package/dist/twilight/{p-b7756fec.entry.js → p-f05b8136.entry.js} +1 -1
- package/dist/twilight/{p-47a3ce29.entry.js → p-f0cddd1f.entry.js} +1 -1
- package/dist/twilight/{p-4de3236d.entry.js → p-f1b235e6.entry.js} +1 -1
- package/dist/twilight/{p-60816f61.entry.js → p-f2b6c9a8.entry.js} +1 -1
- package/dist/twilight/{p-2a6c1741.entry.js → p-f65dfb0b.entry.js} +1 -1
- package/dist/twilight/{p-ff6e1a63.entry.js → p-f8316f57.entry.js} +1 -1
- package/dist/twilight/{p-d647e29f.entry.js → p-f909c93a.entry.js} +1 -1
- package/dist/twilight/{p-2170acb4.entry.js → p-fb21e567.entry.js} +1 -1
- package/dist/twilight/{p-37f80d28.entry.js → p-fd293182.entry.js} +1 -1
- package/dist/twilight/{p-DuhQONDF.js → p-iW77h_OO.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bought-together/salla-bought-together.d.ts +9 -0
- package/package.json +5 -5
- package/dist/twilight/p-528b8028.entry.js +0 -4
- package/dist/twilight/p-ac41b9ff.entry.js +0 -4
- package/dist/twilight/p-dcbd726f.entry.js +0 -4
|
@@ -26,6 +26,7 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
|
|
|
26
26
|
this.subtitle = salla.lang.get('pages.products.bought_together_subtitle');
|
|
27
27
|
this.buyTogetherFor = salla.lang.get('pages.products.buy_together_for');
|
|
28
28
|
this.resolvedProductId = 0;
|
|
29
|
+
this.listViewTracked = false;
|
|
29
30
|
salla.lang.onLoaded(() => {
|
|
30
31
|
this.title = salla.lang.get('pages.products.bought_together_title');
|
|
31
32
|
this.subtitle = salla.lang.get('pages.products.bought_together_subtitle');
|
|
@@ -90,6 +91,41 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
|
|
|
90
91
|
this.isLoading = false;
|
|
91
92
|
});
|
|
92
93
|
}
|
|
94
|
+
componentDidRender() {
|
|
95
|
+
if (!this.recommendations.length || this.listViewTracked || this.intersectionObserver)
|
|
96
|
+
return;
|
|
97
|
+
this.intersectionObserver = new IntersectionObserver((entries) => {
|
|
98
|
+
if (entries.some(e => e.isIntersecting)) {
|
|
99
|
+
this.listViewTracked = true;
|
|
100
|
+
this.intersectionObserver?.disconnect();
|
|
101
|
+
this.intersectionObserver = undefined;
|
|
102
|
+
this.emitListViewed();
|
|
103
|
+
}
|
|
104
|
+
}, { threshold: 0.1 });
|
|
105
|
+
this.intersectionObserver.observe(this.el);
|
|
106
|
+
}
|
|
107
|
+
disconnectedCallback() {
|
|
108
|
+
this.intersectionObserver?.disconnect();
|
|
109
|
+
this.intersectionObserver = undefined;
|
|
110
|
+
}
|
|
111
|
+
emitListViewed() {
|
|
112
|
+
const recommendedProducts = this.recommendations
|
|
113
|
+
.filter(p => !this.isMainProduct(p.id));
|
|
114
|
+
salla.event.emit('salla-bought-together::list.viewed', {
|
|
115
|
+
products: recommendedProducts,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
isMainProduct(id) {
|
|
119
|
+
return String(id) === String(this.resolvedProductId);
|
|
120
|
+
}
|
|
121
|
+
recommendedPosition(productId) {
|
|
122
|
+
const recommendedProducts = this.recommendations.filter(p => !this.isMainProduct(p.id));
|
|
123
|
+
const index = recommendedProducts.findIndex(p => String(p.id) === String(productId));
|
|
124
|
+
return index === -1 ? -1 : index + 1;
|
|
125
|
+
}
|
|
126
|
+
emitProductClicked(product, position) {
|
|
127
|
+
salla.event.emit('salla-bought-together::product.clicked', [{ product, position }]);
|
|
128
|
+
}
|
|
93
129
|
toggleProduct(id) {
|
|
94
130
|
const next = new Set(this.selectedIds);
|
|
95
131
|
next.has(id) ? next.delete(id) : next.add(id);
|
|
@@ -108,12 +144,37 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
|
|
|
108
144
|
if (this.isAdding || !this.selectedIds.size)
|
|
109
145
|
return;
|
|
110
146
|
this.isAdding = true;
|
|
147
|
+
let hasError = false;
|
|
111
148
|
try {
|
|
112
|
-
//
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
149
|
+
// Sequential: addToCartSource is a shared global cleared on each response.
|
|
150
|
+
// Parallel adds race to clear it — only the first response would be suppressed.
|
|
151
|
+
// source:'pdp_fbt' suppresses auto Product Added tracking so we emit it manually below.
|
|
152
|
+
// endpoint:'quickAdd' mirrors quickAdd(id) exactly — no product options required.
|
|
153
|
+
for (const id of Array.from(this.selectedIds)) {
|
|
154
|
+
try {
|
|
155
|
+
if (salla.cart?.api)
|
|
156
|
+
salla.cart.api.addToCartSource = 'pdp_fbt';
|
|
157
|
+
const response = await salla.cart.addItem({ id, endpoint: 'quickAdd', source: 'pdp_fbt' });
|
|
158
|
+
const product = this.recommendations.find(p => p.id === id);
|
|
159
|
+
if (product) {
|
|
160
|
+
const position = this.isMainProduct(id) ? 0 : this.recommendedPosition(id);
|
|
161
|
+
const cartItem = response?.data?.items?.find((i) => String(i.product_id) === String(product.id))
|
|
162
|
+
?? response?.data?.items?.slice(-1)[0];
|
|
163
|
+
salla.event.emit('salla-bought-together::product.added', [{
|
|
164
|
+
product,
|
|
165
|
+
position,
|
|
166
|
+
cartItem,
|
|
167
|
+
cartId: response?.data?.id,
|
|
168
|
+
}]);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
catch (error) {
|
|
172
|
+
salla.log(error);
|
|
173
|
+
hasError = true;
|
|
174
|
+
}
|
|
116
175
|
}
|
|
176
|
+
if (hasError)
|
|
177
|
+
salla.error(salla.lang.get('common.messages.error'));
|
|
117
178
|
}
|
|
118
179
|
finally {
|
|
119
180
|
this.isAdding = false;
|
|
@@ -129,11 +190,12 @@ const SallaBoughtTogether$1 = /*@__PURE__*/ proxyCustomElement(class SallaBought
|
|
|
129
190
|
return this.getSkeletonView();
|
|
130
191
|
if (!this.recommendations.length)
|
|
131
192
|
return null;
|
|
132
|
-
return (h(Host, { class: "s-bought-together-entry" }, h("div", { class: "s-bought-together-header" }, h("h3", { class: "s-bought-together-title" }, this.title), h("p", { class: "s-bought-together-subtitle" }, this.subtitle)), h("div", { class: "s-bought-together-list" }, this.recommendations.map((product) => (h("div", { key: product.id, class: `s-bought-together-item${!this.selectedIds.has(product.id) ? ' s-bought-together-item--unchecked' : ''}` }, h("label", { class: "s-bought-together-checkbox-label" }, h("input", { type: "checkbox", class: "s-bought-together-checkbox", checked: this.selectedIds.has(product.id), onChange: () => this.toggleProduct(product.id) }), h("span", { class: "s-bought-together-checkmark" })), h("a", { class: "s-bought-together-item-link", href: product.url }, h("img", { class: "s-bought-together-item-img", src: product.image?.url || salla.url.cdn('images/s-empty.png'), alt: product.image?.alt || product.name, loading: "lazy", decoding: "async", onError: e => {
|
|
193
|
+
return (h(Host, { class: "s-bought-together-entry" }, h("div", { class: "s-bought-together-header" }, h("h3", { class: "s-bought-together-title" }, this.title), h("p", { class: "s-bought-together-subtitle" }, this.subtitle)), h("div", { class: "s-bought-together-list" }, this.recommendations.map((product) => (h("div", { key: product.id, class: `s-bought-together-item${!this.selectedIds.has(product.id) ? ' s-bought-together-item--unchecked' : ''}` }, h("label", { class: "s-bought-together-checkbox-label" }, h("input", { type: "checkbox", class: "s-bought-together-checkbox", checked: this.selectedIds.has(product.id), onChange: () => this.toggleProduct(product.id) }), h("span", { class: "s-bought-together-checkmark" })), h("a", { class: "s-bought-together-item-link", href: product.url, onClick: () => !this.isMainProduct(product.id) && this.emitProductClicked(product, this.recommendedPosition(product.id)) }, h("img", { class: "s-bought-together-item-img", src: product.image?.url || salla.url.cdn('images/s-empty.png'), alt: product.image?.alt || product.name, loading: "lazy", decoding: "async", onError: e => {
|
|
133
194
|
e.currentTarget.onerror = null;
|
|
134
195
|
e.currentTarget.src = salla.url.cdn('images/s-empty.png');
|
|
135
196
|
} }), h("span", { class: "s-bought-together-item-name" }, product.name)), h("span", { class: "s-bought-together-item-price", innerHTML: product.price != null ? salla.money(product.price) : '' }))))), h("salla-button", { class: "s-bought-together-btn", disabled: !this.selectedIds.size || this.isAdding, loading: this.isAdding, onClick: () => this.addSelectedToCart() }, h("span", { innerHTML: `${this.buyTogetherFor} ${this.totalPrice}` }))));
|
|
136
197
|
}
|
|
198
|
+
get el() { return this; }
|
|
137
199
|
static get style() { return sallaBoughtTogetherCss; }
|
|
138
200
|
}, [0, "salla-bought-together", {
|
|
139
201
|
"limit": [2],
|
|
@@ -7019,9 +7019,13 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
|
|
|
7019
7019
|
render() {
|
|
7020
7020
|
if (this.isMobileApp)
|
|
7021
7021
|
return null;
|
|
7022
|
-
return (h$4(Host, { class: "s-bullet-delivery" }, h$4("salla-modal", { ref:
|
|
7022
|
+
return (h$4(Host, { class: "s-bullet-delivery" }, h$4("salla-modal", { ref: modal => {
|
|
7023
7023
|
this.modal = modal;
|
|
7024
|
-
}, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, h$4("div", { class: "s-bullet-delivery-inner" }, h$4("div", { class: "s-bullet-delivery-header" }, h$4("h2", { class: "s-bullet-delivery-title" }, this.activeTab === 'address'
|
|
7024
|
+
}, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, h$4("div", { class: "s-bullet-delivery-inner" }, h$4("div", { class: "s-bullet-delivery-header" }, h$4("h2", { class: "s-bullet-delivery-title" }, this.activeTab === 'address'
|
|
7025
|
+
? Salla.lang.get('blocks.home.add_address_for_order_delivery')
|
|
7026
|
+
: Salla.lang.get('blocks.home.choose_branch_for_order_pickup')), h$4("p", { class: "s-bullet-delivery-subtitle" }, this.activeTab === 'address'
|
|
7027
|
+
? Salla.lang.get('blocks.home.products_available_for_delivery_shown_while_shopping')
|
|
7028
|
+
: Salla.lang.get('blocks.home.choose_branch_for_order_pickup_description'))), this.renderTabs(), this.viewMode === 'main' && this.renderMainView(), this.viewMode === 'add-address' && this.renderAddAddressForm()))));
|
|
7025
7029
|
}
|
|
7026
7030
|
componentDidLoad() {
|
|
7027
7031
|
// Mark component as ready
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-iW77h_OO.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|