@salla.sa/twilight-components 2.14.533 → 2.14.534
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-CTU0puJK.js → filepond-CzzYqkM-.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-e2j_qdEq.js → filepond-plugin-file-poster-IGnsXbLV.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CJ2bdUHS.js → filepond-plugin-file-validate-size-BKJOg89u.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BAPOnkKm.js → filepond-plugin-file-validate-type-BBlZyrmo.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-Qg5TvRQk.js → filepond-plugin-image-edit-CkV-JfTG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CDWu2nuZ.js → filepond-plugin-image-exif-orientation-Bnr5h4aU.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-D7tinAVs.js → filepond-plugin-image-preview-YE3Qz2Qn.js} +1 -1
- package/dist/cjs/{functions-9UoEMgE8.js → functions-BToxmlJ7.js} +1 -1
- package/dist/cjs/{index-Bzkj4Mih.js → index-DOmij-lb.js} +2 -2
- package/dist/cjs/{intlTelInput-B-ymxxq7.js → intlTelInput-CXGip9wa.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +604 -47
- 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-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_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_2.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-exchange-product-card_5.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +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-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-B0bluwtb.js → tracked-promise-CuRiQ-oJ.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-b_58j2ys.js → vanilla-picker-BwXKIjHv.js} +1 -1
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +7 -4
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +18 -36
- package/dist/components/index.js +2 -2
- package/dist/components/salla-add-product-button2.js +7 -5
- package/dist/components/salla-quick-buy2.js +597 -42
- package/dist/esm/{filepond-cbwmiCMW.js → filepond-BmC2BnNt.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CnPkPMW8.js → filepond-plugin-file-poster-CSClKnVg.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DvbfP3XU.js → filepond-plugin-file-validate-size-D0cipAUK.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BmKx6JGC.js → filepond-plugin-file-validate-type-xifbBb1D.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Bs6ewOpy.js → filepond-plugin-image-edit-Clcbrj3n.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BHCRYCoF.js → filepond-plugin-image-exif-orientation-DcUAf5kZ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BcBXsocw.js → filepond-plugin-image-preview-ezr-Aasn.js} +1 -1
- package/dist/esm/{functions-BDNgBQjQ.js → functions-DPP-xnlV.js} +1 -1
- package/dist/esm/{index-_4UMswuA.js → index-DMRFX0Bm.js} +2 -2
- package/dist/esm/{intlTelInput-BqsfLR9B.js → intlTelInput-C6EYZSt7.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +604 -47
- 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-basket-gap.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_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_2.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-exchange-product-card_5.entry.js +3 -3
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-cancel.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +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-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-t43zESfb.js → tracked-promise-JX-9kfib.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-Cqv-m1pV.js → vanilla-picker-BOcd8HtV.js} +1 -1
- package/dist/twilight/{p-56daec16.entry.js → p-0019e3e8.entry.js} +1 -1
- package/dist/twilight/{p-a2579e15.entry.js → p-00f7449f.entry.js} +1 -1
- package/dist/twilight/{p-5e4c6345.entry.js → p-01ad9b56.entry.js} +1 -1
- package/dist/twilight/{p-877ef36d.entry.js → p-04edddc0.entry.js} +1 -1
- package/dist/twilight/{p-0652db81.entry.js → p-0645a5fa.entry.js} +1 -1
- package/dist/twilight/{p-336bec27.entry.js → p-07e2cff4.entry.js} +1 -1
- package/dist/twilight/{p-2a5ed2b8.entry.js → p-0c2dded8.entry.js} +1 -1
- package/dist/twilight/{p-46610835.entry.js → p-0e40a73d.entry.js} +1 -1
- package/dist/twilight/{p-146bb40b.entry.js → p-0e74721e.entry.js} +1 -1
- package/dist/twilight/{p-4cac0554.entry.js → p-16a7a8b6.entry.js} +1 -1
- package/dist/twilight/{p-0103aab1.entry.js → p-177f581c.entry.js} +1 -1
- package/dist/twilight/{p-83ec7e8a.entry.js → p-19e3ea39.entry.js} +1 -1
- package/dist/twilight/{p-646a753d.entry.js → p-1ae3bfef.entry.js} +1 -1
- package/dist/twilight/{p-380c1d1f.entry.js → p-20c7d16a.entry.js} +1 -1
- package/dist/twilight/{p-3b3d778b.entry.js → p-21b86df9.entry.js} +1 -1
- package/dist/twilight/{p-0b18a6dd.entry.js → p-23c7a7e7.entry.js} +1 -1
- package/dist/twilight/{p-431ddda2.entry.js → p-253dbb0f.entry.js} +1 -1
- package/dist/twilight/{p-a5907a8a.entry.js → p-2aaf2ebe.entry.js} +1 -1
- package/dist/twilight/{p-8ecfb854.entry.js → p-2ba1aa7a.entry.js} +1 -1
- package/dist/twilight/{p-a7353a2c.entry.js → p-2e785589.entry.js} +1 -1
- package/dist/twilight/{p-e47a4b60.entry.js → p-2fd3ca0c.entry.js} +1 -1
- package/dist/twilight/{p-3c5dabea.entry.js → p-35b7bec7.entry.js} +1 -1
- package/dist/twilight/{p-1cf132f6.entry.js → p-35bbf039.entry.js} +1 -1
- package/dist/twilight/{p-230dbdb0.entry.js → p-36f417cd.entry.js} +1 -1
- package/dist/twilight/{p-ed84e84a.entry.js → p-3a0199f5.entry.js} +1 -1
- package/dist/twilight/{p-ef02ff89.entry.js → p-3e1e3c8d.entry.js} +1 -1
- package/dist/twilight/{p-9bdabb1a.entry.js → p-414382de.entry.js} +1 -1
- package/dist/twilight/{p-8be62ddd.entry.js → p-42716366.entry.js} +1 -1
- package/dist/twilight/{p-8522445b.entry.js → p-43414c27.entry.js} +1 -1
- package/dist/twilight/{p-518fd323.entry.js → p-442964f3.entry.js} +1 -1
- package/dist/twilight/{p-414b8e8b.entry.js → p-45164ddb.entry.js} +1 -1
- package/dist/twilight/{p-0a76c201.entry.js → p-48022e4b.entry.js} +1 -1
- package/dist/twilight/{p-527caf04.entry.js → p-4e4247d2.entry.js} +1 -1
- package/dist/twilight/{p-5aa2673e.entry.js → p-4f0e5e66.entry.js} +1 -1
- package/dist/twilight/{p-fe21d16a.entry.js → p-4f664ccf.entry.js} +1 -1
- package/dist/twilight/p-5123aecb.entry.js +4 -0
- package/dist/twilight/{p-6a7f0db4.entry.js → p-529a6ad3.entry.js} +1 -1
- package/dist/twilight/{p-fcdac58f.entry.js → p-5457bf97.entry.js} +1 -1
- package/dist/twilight/{p-cc4694eb.entry.js → p-552427c8.entry.js} +1 -1
- package/dist/twilight/{p-e4c11c19.entry.js → p-59419760.entry.js} +1 -1
- package/dist/twilight/{p-5dd628bf.entry.js → p-5a1c72f6.entry.js} +1 -1
- package/dist/twilight/{p-f020c70a.entry.js → p-5bd0afb5.entry.js} +1 -1
- package/dist/twilight/{p-30a9ce5f.entry.js → p-63711930.entry.js} +1 -1
- package/dist/twilight/{p-85650252.entry.js → p-67af2790.entry.js} +1 -1
- package/dist/twilight/{p-8bdca313.entry.js → p-6813e203.entry.js} +1 -1
- package/dist/twilight/{p-9645a657.entry.js → p-6ad531a1.entry.js} +1 -1
- package/dist/twilight/{p-e242ca31.entry.js → p-6ba474ce.entry.js} +1 -1
- package/dist/twilight/{p-8db35b36.entry.js → p-6f848a95.entry.js} +1 -1
- package/dist/twilight/{p-8dd69b86.entry.js → p-73d608b3.entry.js} +1 -1
- package/dist/twilight/{p-9817c793.entry.js → p-742506a4.entry.js} +1 -1
- package/dist/twilight/{p-4c645ee5.entry.js → p-7433074e.entry.js} +1 -1
- package/dist/twilight/{p-a89c3af1.entry.js → p-7446cae3.entry.js} +1 -1
- package/dist/twilight/{p-941c3ffa.entry.js → p-7bf3d532.entry.js} +1 -1
- package/dist/twilight/{p-34a836bc.entry.js → p-7c506e86.entry.js} +1 -1
- package/dist/twilight/{p-0eb8b68f.entry.js → p-7f91c2ed.entry.js} +1 -1
- package/dist/twilight/{p-eac49193.entry.js → p-8a15ec3f.entry.js} +1 -1
- package/dist/twilight/{p-dcf83d8d.entry.js → p-935aeb6b.entry.js} +1 -1
- package/dist/twilight/{p-fbcb213b.entry.js → p-93c20cb3.entry.js} +1 -1
- package/dist/twilight/{p-cfec1c83.entry.js → p-94a435b5.entry.js} +1 -1
- package/dist/twilight/{p-4c6e6aa9.entry.js → p-9709cacf.entry.js} +1 -1
- package/dist/twilight/p-997290f2.entry.js +4 -0
- package/dist/twilight/{p-ebab9397.entry.js → p-9fe342b4.entry.js} +1 -1
- package/dist/twilight/{p-DTy2I02l.js → p-CWYfwsTI.js} +1 -1
- package/dist/twilight/{p-BeurE6_H.js → p-CjKClehN.js} +1 -1
- package/dist/twilight/{p-mFNP-Qco.js → p-DFs1TK5k.js} +1 -1
- package/dist/twilight/{p-_4UMswuA.js → p-DMRFX0Bm.js} +1 -1
- package/dist/twilight/{p-BbGG982X.js → p-DNPKdEKw.js} +1 -1
- package/dist/twilight/{p-6QnQGXyw.js → p-DjLY5QYK.js} +2 -2
- package/dist/twilight/{p-NVUJ-yak.js → p-Don-qm2w.js} +1 -1
- package/dist/twilight/{p-b92c5be6.entry.js → p-a1203169.entry.js} +1 -1
- package/dist/twilight/{p-60e976c3.entry.js → p-a398e92a.entry.js} +1 -1
- package/dist/twilight/{p-a5313de1.entry.js → p-a3fa2180.entry.js} +1 -1
- package/dist/twilight/{p-7480f7ea.entry.js → p-ade49777.entry.js} +1 -1
- package/dist/twilight/{p-da371fb5.entry.js → p-b0b7bd90.entry.js} +1 -1
- package/dist/twilight/{p-61cba9b5.entry.js → p-b2b80632.entry.js} +1 -1
- package/dist/twilight/{p-11a92952.entry.js → p-b5802fb5.entry.js} +1 -1
- package/dist/twilight/{p-452ccc3e.entry.js → p-b7be34aa.entry.js} +1 -1
- package/dist/twilight/{p-0bb747c4.entry.js → p-b82b1941.entry.js} +1 -1
- package/dist/twilight/{p-3d81a00f.entry.js → p-bd3ec0b6.entry.js} +1 -1
- package/dist/twilight/{p-aad1a140.entry.js → p-bfe5e648.entry.js} +1 -1
- package/dist/twilight/p-c3772da0.entry.js +4 -0
- package/dist/twilight/{p-012ab001.entry.js → p-c6f6646d.entry.js} +1 -1
- package/dist/twilight/{p-ee6eae74.entry.js → p-c7ebc3f4.entry.js} +1 -1
- package/dist/twilight/{p-fBq3tL2U.js → p-cFX85Of2.js} +1 -1
- package/dist/twilight/{p-3b536684.entry.js → p-ccba5864.entry.js} +1 -1
- package/dist/twilight/{p-98e4b302.entry.js → p-cd28dfd3.entry.js} +1 -1
- package/dist/twilight/{p-533b4ad3.entry.js → p-cf0387de.entry.js} +1 -1
- package/dist/twilight/{p-8a26d45f.entry.js → p-cf59df56.entry.js} +1 -1
- package/dist/twilight/{p-c1fb3330.entry.js → p-d16544a6.entry.js} +1 -1
- package/dist/twilight/{p-fb52bc60.entry.js → p-d1675995.entry.js} +1 -1
- package/dist/twilight/{p-853bcd69.entry.js → p-d4430516.entry.js} +1 -1
- package/dist/twilight/{p-2fca58b7.entry.js → p-d551636a.entry.js} +1 -1
- package/dist/twilight/{p-b60c13a0.entry.js → p-d73ac5b1.entry.js} +1 -1
- package/dist/twilight/{p-731c71ae.entry.js → p-e16de2e2.entry.js} +1 -1
- package/dist/twilight/{p-a30a0d74.entry.js → p-e5f04d7c.entry.js} +1 -1
- package/dist/twilight/{p-7f2d5291.entry.js → p-ea1ab663.entry.js} +1 -1
- package/dist/twilight/{p-64b3ec8e.entry.js → p-ebda295b.entry.js} +1 -1
- package/dist/twilight/{p-73865fc4.entry.js → p-efc3c32a.entry.js} +1 -1
- package/dist/twilight/{p-a9d7afd4.entry.js → p-f3a0306d.entry.js} +1 -1
- package/dist/twilight/{p-7a6c2a19.entry.js → p-f897bd73.entry.js} +1 -1
- package/dist/twilight/{p-d3f13515.entry.js → p-f9b68bc0.entry.js} +1 -1
- package/dist/twilight/{p-45db790d.entry.js → p-fdd367b4.entry.js} +1 -1
- package/dist/twilight/{p-041337bf.entry.js → p-ffafd845.entry.js} +1 -1
- package/dist/twilight/{p-1DFQh6fF.js → p-g97W9KXu.js} +1 -1
- package/dist/twilight/{p-Cukniya-.js → p-rAQK31DJ.js} +1 -1
- package/dist/twilight/{p-BYBXGGPY.js → p-rUVc3GKD.js} +1 -1
- package/dist/twilight/{p-CrgJZliu.js → p-v0aY0153.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +0 -4
- package/package.json +5 -5
- package/dist/twilight/p-b80d0e39.entry.js +0 -4
- package/dist/twilight/p-c1dd71f0.entry.js +0 -4
- package/dist/twilight/p-f7ab48c1.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-DOmij-lb.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-DOmij-lb.js');
|
|
7
7
|
|
|
8
8
|
const sallaOrderCancelCss = ".s-order-cancel-reason .s-order-cancel-radio::before,.s-order-cancel-reason .s-radio::before{content:\"\";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:120ms transform ease-in-out;background-color:#fff;box-shadow:inset 1em 1em #fff}.s-order-cancel-reason .s-order-cancel-radio:checked::before,.s-order-cancel-reason .s-radio:checked::before{transform:scale(1);background-color:var(--color-primary);box-shadow:inset 1em 1em var(--color-primary)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DOmij-lb.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-DOmij-lb.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-DOmij-lb.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-B2B-kxAI.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DOmij-lb.js');
|
|
7
7
|
var star = require('./star-DMzrN05M.js');
|
|
8
8
|
var shippingFast = require('./shipping-fast-CsqEQE78.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DOmij-lb.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
9
|
var image = require('./image-BoZ6Hums.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DOmij-lb.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-DOmij-lb.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-DOmij-lb.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
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DOmij-lb.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = ":host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}";
|
|
9
9
|
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -6,6 +6,7 @@ import Cart from "../../assets/svg/cart.svg";
|
|
|
6
6
|
// import SallaIcon from '../../assets/svg/salla.svg';
|
|
7
7
|
import WalletIcon from "../../assets/svg/full-wallet.svg";
|
|
8
8
|
import Helper from "../../Helpers/Helper";
|
|
9
|
+
import { canCompleteApplePay } from "@salla.sa/applepay/src/apple-pay-support";
|
|
9
10
|
import { OrderOptionsGate } from "../salla-order-options-modal/order-options-gate";
|
|
10
11
|
export class SallaAddProductButton {
|
|
11
12
|
constructor() {
|
|
@@ -151,16 +152,18 @@ export class SallaAddProductButton {
|
|
|
151
152
|
}
|
|
152
153
|
componentWillLoad() {
|
|
153
154
|
return salla.onReady()
|
|
154
|
-
.then(() => {
|
|
155
|
+
.then(async () => {
|
|
155
156
|
// this to fix not added hydrated class to html element after components loaded
|
|
156
157
|
document.documentElement.classList.add('hydrated');
|
|
157
158
|
this.showQuickBuy = this.quickBuy
|
|
158
159
|
&& salla.config.get('store.settings.buy_now')
|
|
159
160
|
&& this.productStatus == 'sale'
|
|
160
161
|
&& this.productType !== 'booking';
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
// Cross-browser Apple Pay: native (Safari) OR the Payment Request API
|
|
163
|
+
// (non-Safari browsers / non-Apple devices via the QR-code fallback).
|
|
164
|
+
this.isApplePayActive = salla.config.get('store.settings.payments')?.includes('apple_pay')
|
|
165
|
+
&& salla.config.get('store.settings.is_salla_gateway', false)
|
|
166
|
+
&& await canCompleteApplePay();
|
|
164
167
|
this.passedLabel = this.host.innerHTML.replace('<!---->', '').trim();
|
|
165
168
|
if (!!this.passedLabel && this.isDesktopViewport) {
|
|
166
169
|
return this.btn?.setText(this.passedLabel);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import "@salla.sa/applepay/src/index";
|
|
6
6
|
import { resolveApplePayOrderOptions, appendOrderOptionsToPayload, reportProductOptionsValiditySync, } from "../salla-order-options-modal/apple-pay-order-options";
|
|
7
|
+
import { applePayMerchantId, canCompleteApplePay, ensureApplePaySdk } from "@salla.sa/applepay/src/apple-pay-support";
|
|
7
8
|
export class SallaQuickBuy {
|
|
8
9
|
constructor() {
|
|
9
10
|
/**
|
|
@@ -125,16 +126,12 @@ export class SallaQuickBuy {
|
|
|
125
126
|
currency: this.currency || salla.config.get('store.settings.buy_now.currency') || 'SAR', // SAR
|
|
126
127
|
requiredShippingContactFields: this.getRequiredShippingContactFields(),
|
|
127
128
|
shippingMethods: this.isRequireShipping ? [] : undefined,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
? this.supportedNetworks : salla.config.get('store.settings.buy_now.supportedNetworks')),
|
|
133
|
-
supportedCountries: this.isLegacyBuyNowBE()
|
|
134
|
-
? salla.config.get('store.settings.buy_now.countries')
|
|
135
|
-
: ((Array.isArray(this.supportedCountries) && this.supportedCountries.length)
|
|
136
|
-
? this.supportedCountries : salla.config.get('store.settings.buy_now.supportedCountries')),
|
|
129
|
+
supportedNetworks: (Array.isArray(this.supportedNetworks) && this.supportedNetworks.length)
|
|
130
|
+
? this.supportedNetworks : salla.config.get('store.settings.buy_now.supportedNetworks'),
|
|
131
|
+
supportedCountries: (Array.isArray(this.supportedCountries) && this.supportedCountries.length)
|
|
132
|
+
? this.supportedCountries : salla.config.get('store.settings.buy_now.supportedCountries'),
|
|
137
133
|
countryCode: salla.config.get('store.store_country') || 'SA',
|
|
134
|
+
merchantIdentifier: applePayMerchantId(),
|
|
138
135
|
onStartedSession: this.handleApplePaySessionStarted,
|
|
139
136
|
validateMerchant: {
|
|
140
137
|
url: this.validateHost ? `${this.validateHost}/checkout/applepay/validate` : salla.url.get('checkout/applepay/validate'),
|
|
@@ -210,21 +207,8 @@ export class SallaQuickBuy {
|
|
|
210
207
|
}
|
|
211
208
|
return fields;
|
|
212
209
|
}
|
|
213
|
-
/**
|
|
214
|
-
* TEMPORARY for BE Vip sync
|
|
215
|
-
*/
|
|
216
|
-
isLegacyBuyNowBE() {
|
|
217
|
-
return salla?.config?.get?.('store.settings.buy_now.multi_currency') != null;
|
|
218
|
-
}
|
|
219
210
|
/** Set Apple Pay amount + currency from a price payload, always keeping the pair in one currency. */
|
|
220
211
|
applyBaseCurrencyPrice(data) {
|
|
221
|
-
// Legacy BE: amount only; currency is set once in runInit.
|
|
222
|
-
if (this.isLegacyBuyNowBE()) {
|
|
223
|
-
if (data?.price != null) {
|
|
224
|
-
this.amount = data.price;
|
|
225
|
-
}
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
212
|
const base = data?.base_currency_price;
|
|
229
213
|
// Unified BE base pair (regular products): charge in base currency.
|
|
230
214
|
if (base?.amount != null) {
|
|
@@ -246,11 +230,6 @@ export class SallaQuickBuy {
|
|
|
246
230
|
const isSallaGateway = salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? true;
|
|
247
231
|
this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway;
|
|
248
232
|
const runInit = async () => {
|
|
249
|
-
if (this.isLegacyBuyNowBE() && !this.currency && salla?.config?.get) {
|
|
250
|
-
// Legacy BE (pre-PR): currency from the multi_currency flag. The unified BE instead
|
|
251
|
-
// sources amount + currency from `base_currency_price` (see applyBaseCurrencyPrice).
|
|
252
|
-
this.currency = salla.config.get('store.settings.buy_now.multi_currency') ? salla.config.get('user.currency_code') : (salla.config.get('store.settings.buy_now.currency') || 'SAR');
|
|
253
|
-
}
|
|
254
233
|
if (!this.productId && salla?.config?.get && salla.url?.is_page) {
|
|
255
234
|
this.productId = salla.config.get('page.id');
|
|
256
235
|
}
|
|
@@ -276,16 +255,19 @@ export class SallaQuickBuy {
|
|
|
276
255
|
else if (salla?.url?.is_page?.('product.single') && salla?.product?.event?.onPriceUpdated) {
|
|
277
256
|
salla.product.event.onPriceUpdated(response => { this.applyBaseCurrencyPrice(response?.data); });
|
|
278
257
|
}
|
|
279
|
-
|
|
280
|
-
&& (salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? storeHasApplePay)
|
|
258
|
+
const storeAllowsApplePay = (salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? storeHasApplePay)
|
|
281
259
|
&& (salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? isSallaGateway);
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
document.body.appendChild(script);
|
|
260
|
+
// Preload Apple's JS SDK so the rendered <apple-pay-button> upgrades on
|
|
261
|
+
// every flow (native Safari + QR). Fire-and-forget: the element upgrades
|
|
262
|
+
// retroactively once the script defines it.
|
|
263
|
+
if (storeAllowsApplePay) {
|
|
264
|
+
ensureApplePaySdk();
|
|
288
265
|
}
|
|
266
|
+
// Cross-browser capability: native (Safari) OR the Payment Request API
|
|
267
|
+
// (non-Safari browsers / non-Apple devices via the QR-code fallback). The
|
|
268
|
+
// helper loads Apple's JS SDK and awaits it before probing, so this is a
|
|
269
|
+
// stable answer on first load (no race against the async script fetch).
|
|
270
|
+
this.isApplePayActive = storeAllowsApplePay && await canCompleteApplePay(this.currency);
|
|
289
271
|
};
|
|
290
272
|
return new Promise((resolve) => {
|
|
291
273
|
if (typeof salla?.onReady === 'function') {
|
|
@@ -297,7 +279,7 @@ export class SallaQuickBuy {
|
|
|
297
279
|
});
|
|
298
280
|
}
|
|
299
281
|
render() {
|
|
300
|
-
return h(Host, { key: '
|
|
282
|
+
return h(Host, { key: '100f3cd501d568084f3596f5cef7c9b744f7ec82' }, this.quickBuyButton());
|
|
301
283
|
}
|
|
302
284
|
quickBuyButton() {
|
|
303
285
|
return h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
|