@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
8
8
|
|
|
9
9
|
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}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var tag = require('./tag-D-PcUR33.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
|
|
8
8
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
|
+
var functions = require('./functions-BugkyX_h.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-D_CjjRbz.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DppdveKW.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -19,6 +19,7 @@ export class SallaBoughtTogether {
|
|
|
19
19
|
this.subtitle = salla.lang.get('pages.products.bought_together_subtitle');
|
|
20
20
|
this.buyTogetherFor = salla.lang.get('pages.products.buy_together_for');
|
|
21
21
|
this.resolvedProductId = 0;
|
|
22
|
+
this.listViewTracked = false;
|
|
22
23
|
salla.lang.onLoaded(() => {
|
|
23
24
|
this.title = salla.lang.get('pages.products.bought_together_title');
|
|
24
25
|
this.subtitle = salla.lang.get('pages.products.bought_together_subtitle');
|
|
@@ -83,6 +84,41 @@ export class SallaBoughtTogether {
|
|
|
83
84
|
this.isLoading = false;
|
|
84
85
|
});
|
|
85
86
|
}
|
|
87
|
+
componentDidRender() {
|
|
88
|
+
if (!this.recommendations.length || this.listViewTracked || this.intersectionObserver)
|
|
89
|
+
return;
|
|
90
|
+
this.intersectionObserver = new IntersectionObserver((entries) => {
|
|
91
|
+
if (entries.some(e => e.isIntersecting)) {
|
|
92
|
+
this.listViewTracked = true;
|
|
93
|
+
this.intersectionObserver?.disconnect();
|
|
94
|
+
this.intersectionObserver = undefined;
|
|
95
|
+
this.emitListViewed();
|
|
96
|
+
}
|
|
97
|
+
}, { threshold: 0.1 });
|
|
98
|
+
this.intersectionObserver.observe(this.el);
|
|
99
|
+
}
|
|
100
|
+
disconnectedCallback() {
|
|
101
|
+
this.intersectionObserver?.disconnect();
|
|
102
|
+
this.intersectionObserver = undefined;
|
|
103
|
+
}
|
|
104
|
+
emitListViewed() {
|
|
105
|
+
const recommendedProducts = this.recommendations
|
|
106
|
+
.filter(p => !this.isMainProduct(p.id));
|
|
107
|
+
salla.event.emit('salla-bought-together::list.viewed', {
|
|
108
|
+
products: recommendedProducts,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
isMainProduct(id) {
|
|
112
|
+
return String(id) === String(this.resolvedProductId);
|
|
113
|
+
}
|
|
114
|
+
recommendedPosition(productId) {
|
|
115
|
+
const recommendedProducts = this.recommendations.filter(p => !this.isMainProduct(p.id));
|
|
116
|
+
const index = recommendedProducts.findIndex(p => String(p.id) === String(productId));
|
|
117
|
+
return index === -1 ? -1 : index + 1;
|
|
118
|
+
}
|
|
119
|
+
emitProductClicked(product, position) {
|
|
120
|
+
salla.event.emit('salla-bought-together::product.clicked', [{ product, position }]);
|
|
121
|
+
}
|
|
86
122
|
toggleProduct(id) {
|
|
87
123
|
const next = new Set(this.selectedIds);
|
|
88
124
|
next.has(id) ? next.delete(id) : next.add(id);
|
|
@@ -101,12 +137,37 @@ export class SallaBoughtTogether {
|
|
|
101
137
|
if (this.isAdding || !this.selectedIds.size)
|
|
102
138
|
return;
|
|
103
139
|
this.isAdding = true;
|
|
140
|
+
let hasError = false;
|
|
104
141
|
try {
|
|
105
|
-
//
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
142
|
+
// Sequential: addToCartSource is a shared global cleared on each response.
|
|
143
|
+
// Parallel adds race to clear it — only the first response would be suppressed.
|
|
144
|
+
// source:'pdp_fbt' suppresses auto Product Added tracking so we emit it manually below.
|
|
145
|
+
// endpoint:'quickAdd' mirrors quickAdd(id) exactly — no product options required.
|
|
146
|
+
for (const id of Array.from(this.selectedIds)) {
|
|
147
|
+
try {
|
|
148
|
+
if (salla.cart?.api)
|
|
149
|
+
salla.cart.api.addToCartSource = 'pdp_fbt';
|
|
150
|
+
const response = await salla.cart.addItem({ id, endpoint: 'quickAdd', source: 'pdp_fbt' });
|
|
151
|
+
const product = this.recommendations.find(p => p.id === id);
|
|
152
|
+
if (product) {
|
|
153
|
+
const position = this.isMainProduct(id) ? 0 : this.recommendedPosition(id);
|
|
154
|
+
const cartItem = response?.data?.items?.find((i) => String(i.product_id) === String(product.id))
|
|
155
|
+
?? response?.data?.items?.slice(-1)[0];
|
|
156
|
+
salla.event.emit('salla-bought-together::product.added', [{
|
|
157
|
+
product,
|
|
158
|
+
position,
|
|
159
|
+
cartItem,
|
|
160
|
+
cartId: response?.data?.id,
|
|
161
|
+
}]);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
catch (error) {
|
|
165
|
+
salla.log(error);
|
|
166
|
+
hasError = true;
|
|
167
|
+
}
|
|
109
168
|
}
|
|
169
|
+
if (hasError)
|
|
170
|
+
salla.error(salla.lang.get('common.messages.error'));
|
|
110
171
|
}
|
|
111
172
|
finally {
|
|
112
173
|
this.isAdding = false;
|
|
@@ -122,7 +183,7 @@ export class SallaBoughtTogether {
|
|
|
122
183
|
return this.getSkeletonView();
|
|
123
184
|
if (!this.recommendations.length)
|
|
124
185
|
return null;
|
|
125
|
-
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 => {
|
|
186
|
+
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 => {
|
|
126
187
|
e.currentTarget.onerror = null;
|
|
127
188
|
e.currentTarget.src = salla.url.cdn('images/s-empty.png');
|
|
128
189
|
} }), 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}` }))));
|
|
@@ -174,4 +235,5 @@ export class SallaBoughtTogether {
|
|
|
174
235
|
"buyTogetherFor": {}
|
|
175
236
|
};
|
|
176
237
|
}
|
|
238
|
+
static get elementRef() { return "el"; }
|
|
177
239
|
}
|