@salla.sa/twilight-components 2.14.501 → 2.14.503
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-YItpCyss.js → filepond-4EL7Y6dJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BAPK8RK2.js → filepond-plugin-file-poster-DpfDCEfm.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size--RuyRQn1.js → filepond-plugin-file-validate-size-C_vWwsvD.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CBvJsWh4.js → filepond-plugin-file-validate-type-BsPU4Pri.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CIZ-WDGk.js → filepond-plugin-image-edit-CQUu_uxt.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-RE8rudTp.js → filepond-plugin-image-exif-orientation-DS_esf9h.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C17RG4r1.js → filepond-plugin-image-preview-MQ9XW9EF.js} +1 -1
- package/dist/cjs/{functions-BYc4IT8l.js → functions-lIj44Kzp.js} +1 -1
- package/dist/cjs/{index-CB_WYB8k.js → index-BNkAXOaT.js} +1 -1
- package/dist/cjs/{index-CuQpJRcD.js → index-r130kUIm.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +65 -13
- 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-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 +2 -2
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-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-XZchciB1.js → tracked-promise-B5M6XIJs.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-DcFuBceg.js → vanilla-picker-CccSuwv_.js} +1 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +87 -7
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.css +11 -6
- package/dist/components/index.js +2 -2
- package/dist/components/salla-quick-buy2.js +66 -12
- package/dist/components/salla-rating-modal-v22.js +1 -1
- package/dist/components/salla-rating-modal.js +1 -1
- package/dist/esm/{filepond-DQgEXp69.js → filepond-XsQHT8SM.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BE5-JUQb.js → filepond-plugin-file-poster-Bm4O3j9p.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CwWpBym0.js → filepond-plugin-file-validate-size-UhmECxYX.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CovRSsjJ.js → filepond-plugin-file-validate-type-Dh3jaIG2.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DY-5oWCU.js → filepond-plugin-image-edit-CeOXp2ae.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DQROYLkj.js → filepond-plugin-image-exif-orientation-BsjFZBW3.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CZCR-9d7.js → filepond-plugin-image-preview-BqeINcJC.js} +1 -1
- package/dist/esm/{functions-DWD7tnLk.js → functions-DC6kKxwl.js} +1 -1
- package/dist/esm/{index-DW5RMC3M.js → index-BDAOgcq0.js} +2 -2
- package/dist/esm/{index-VUPjm0uj.js → index-Ds_VsqAB.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +65 -13
- 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-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 +2 -2
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-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-CZ98bqyM.js → tracked-promise-B9jBidlY.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DKozn4lm.js → vanilla-picker-WYx5-zNH.js} +1 -1
- package/dist/twilight/{p-41b9b2ef.entry.js → p-00e00a1a.entry.js} +1 -1
- package/dist/twilight/{p-ceb44ad7.entry.js → p-029b107b.entry.js} +1 -1
- package/dist/twilight/{p-485cd05f.entry.js → p-0c0e06ef.entry.js} +1 -1
- package/dist/twilight/{p-d63533f2.entry.js → p-0e3daf3b.entry.js} +1 -1
- package/dist/twilight/{p-4e60702f.entry.js → p-1072712c.entry.js} +1 -1
- package/dist/twilight/{p-015a4d45.entry.js → p-11b1f479.entry.js} +1 -1
- package/dist/twilight/{p-bd2359a7.entry.js → p-13411f43.entry.js} +1 -1
- package/dist/twilight/{p-fbc91885.entry.js → p-145321f6.entry.js} +1 -1
- package/dist/twilight/{p-bdfb4b2b.entry.js → p-1822d3e1.entry.js} +1 -1
- package/dist/twilight/{p-9bfb9e67.entry.js → p-199e8ce2.entry.js} +1 -1
- package/dist/twilight/{p-254d24b3.entry.js → p-1a348bbc.entry.js} +1 -1
- package/dist/twilight/{p-7d4ea0b4.entry.js → p-1d4df9b9.entry.js} +1 -1
- package/dist/twilight/{p-e9a35a7f.entry.js → p-20fa61e5.entry.js} +1 -1
- package/dist/twilight/{p-1decfdb8.entry.js → p-23efc7b2.entry.js} +1 -1
- package/dist/twilight/{p-686e0e20.entry.js → p-242c9aab.entry.js} +1 -1
- package/dist/twilight/{p-c66582de.entry.js → p-28f1d6d3.entry.js} +1 -1
- package/dist/twilight/{p-e47540e1.entry.js → p-2beb2187.entry.js} +1 -1
- package/dist/twilight/{p-bd7ba620.entry.js → p-2defa519.entry.js} +1 -1
- package/dist/twilight/{p-44403dab.entry.js → p-339d0e20.entry.js} +1 -1
- package/dist/twilight/{p-d047a409.entry.js → p-34779788.entry.js} +1 -1
- package/dist/twilight/{p-ff5a82a3.entry.js → p-3718a5ca.entry.js} +1 -1
- package/dist/twilight/{p-2abf736c.entry.js → p-389ee38e.entry.js} +1 -1
- package/dist/twilight/{p-2bc1991c.entry.js → p-3b28110b.entry.js} +1 -1
- package/dist/twilight/{p-66b8ffe5.entry.js → p-3f6af2a4.entry.js} +1 -1
- package/dist/twilight/{p-2fe13b65.entry.js → p-3fd91874.entry.js} +1 -1
- package/dist/twilight/{p-b9babfe5.entry.js → p-41fbfac6.entry.js} +1 -1
- package/dist/twilight/{p-5803461f.entry.js → p-42f6c2a9.entry.js} +1 -1
- package/dist/twilight/{p-9adcfb8f.entry.js → p-45b5af6c.entry.js} +1 -1
- package/dist/twilight/{p-daaa9ef7.entry.js → p-4add663c.entry.js} +1 -1
- package/dist/twilight/{p-cb675f91.entry.js → p-4d50512c.entry.js} +1 -1
- package/dist/twilight/{p-4f1b17ce.entry.js → p-54078768.entry.js} +1 -1
- package/dist/twilight/{p-8c0b1195.entry.js → p-560dd097.entry.js} +1 -1
- package/dist/twilight/{p-c2019c1f.entry.js → p-58d35d9b.entry.js} +1 -1
- package/dist/twilight/{p-5c81f957.entry.js → p-58e8f293.entry.js} +1 -1
- package/dist/twilight/p-5cdbbf4b.entry.js +4 -0
- package/dist/twilight/{p-ddbaca65.entry.js → p-60a8176c.entry.js} +1 -1
- package/dist/twilight/{p-24f1c04b.entry.js → p-62c90e02.entry.js} +1 -1
- package/dist/twilight/{p-d649f426.entry.js → p-648a3962.entry.js} +1 -1
- package/dist/twilight/{p-0f2f8564.entry.js → p-66a4a0c6.entry.js} +1 -1
- package/dist/twilight/{p-ef77963a.entry.js → p-66bad139.entry.js} +1 -1
- package/dist/twilight/{p-a9d1a6ab.entry.js → p-69b72bf4.entry.js} +1 -1
- package/dist/twilight/{p-be13f6cf.entry.js → p-70827676.entry.js} +1 -1
- package/dist/twilight/{p-4ed58afc.entry.js → p-739eb0c7.entry.js} +1 -1
- package/dist/twilight/{p-12f14fe5.entry.js → p-74a6a2eb.entry.js} +1 -1
- package/dist/twilight/{p-8fded8e8.entry.js → p-766c0d0e.entry.js} +1 -1
- package/dist/twilight/{p-bc890bf3.entry.js → p-7766fa26.entry.js} +1 -1
- package/dist/twilight/{p-d89e140a.entry.js → p-7bb98247.entry.js} +1 -1
- package/dist/twilight/{p-753c2036.entry.js → p-7c74ae05.entry.js} +1 -1
- package/dist/twilight/{p-0708708b.entry.js → p-7e48a21d.entry.js} +1 -1
- package/dist/twilight/{p-dd7a835b.entry.js → p-7e5146b6.entry.js} +1 -1
- package/dist/twilight/{p-494f93d5.entry.js → p-7ead012e.entry.js} +1 -1
- package/dist/twilight/{p-52465888.entry.js → p-7f51644d.entry.js} +1 -1
- package/dist/twilight/{p-42fb6aaa.entry.js → p-833d5b2c.entry.js} +1 -1
- package/dist/twilight/{p-bc935da0.entry.js → p-84b575c9.entry.js} +1 -1
- package/dist/twilight/{p-7fa1bb43.entry.js → p-8767b2c9.entry.js} +1 -1
- package/dist/twilight/{p-60096faf.entry.js → p-8829803d.entry.js} +1 -1
- package/dist/twilight/{p-c0373e93.entry.js → p-892fe0dc.entry.js} +1 -1
- package/dist/twilight/{p-3f47b71b.entry.js → p-895cb2a3.entry.js} +1 -1
- package/dist/twilight/{p-9b4a8482.entry.js → p-9387d8f6.entry.js} +1 -1
- package/dist/twilight/{p-90039201.entry.js → p-93e1fce9.entry.js} +1 -1
- package/dist/twilight/{p-dbc38d79.entry.js → p-9e1d9a17.entry.js} +1 -1
- package/dist/twilight/{p-8bd21221.entry.js → p-9fe5b58d.entry.js} +1 -1
- package/dist/twilight/{p-DW5RMC3M.js → p-BDAOgcq0.js} +1 -1
- package/dist/twilight/{p-BOsr_t6U.js → p-BVdpiUHg.js} +1 -1
- package/dist/twilight/{p-MxH_-y8s.js → p-BZEaULfj.js} +1 -1
- package/dist/twilight/{p-BOGl7WKm.js → p-BqhIuaLC.js} +1 -1
- package/dist/twilight/{p-BEd1gsDo.js → p-Brrm0j4S.js} +1 -1
- package/dist/twilight/{p-BmLFLdi9.js → p-CFesXKV4.js} +1 -1
- package/dist/twilight/{p-9Gnw86AG.js → p-Cjy9wz83.js} +1 -1
- package/dist/twilight/{p-Dha9oJHi.js → p-DH0mPIPC.js} +1 -1
- package/dist/twilight/{p-Bk7FtCRB.js → p-DzjKtVuN.js} +1 -1
- package/dist/twilight/{p-0aea93dd.entry.js → p-a0159981.entry.js} +1 -1
- package/dist/twilight/{p-85238859.entry.js → p-a38c8a50.entry.js} +1 -1
- package/dist/twilight/{p-17edd677.entry.js → p-a3bf7378.entry.js} +1 -1
- package/dist/twilight/{p-86b6bf59.entry.js → p-a4200654.entry.js} +1 -1
- package/dist/twilight/{p-1453e674.entry.js → p-a7ad3bc8.entry.js} +1 -1
- package/dist/twilight/{p-f2416b6d.entry.js → p-ac754175.entry.js} +1 -1
- package/dist/twilight/{p-cc0b8dec.entry.js → p-adb61085.entry.js} +1 -1
- package/dist/twilight/{p-47dd7a56.entry.js → p-b25a5f02.entry.js} +1 -1
- package/dist/twilight/{p-8091c1bb.entry.js → p-b5d9bb84.entry.js} +1 -1
- package/dist/twilight/{p-CTz-tTY_.js → p-bJmdZHN0.js} +1 -1
- package/dist/twilight/{p-693d1afd.entry.js → p-bb8cf342.entry.js} +1 -1
- package/dist/twilight/{p-18209070.entry.js → p-bcd09500.entry.js} +1 -1
- package/dist/twilight/{p-210de87e.entry.js → p-bcdf496c.entry.js} +1 -1
- package/dist/twilight/{p-629b0300.entry.js → p-bd548fb9.entry.js} +1 -1
- package/dist/twilight/{p-ce06372f.entry.js → p-c09f54a6.entry.js} +1 -1
- package/dist/twilight/{p-9ea31b28.entry.js → p-c53d5de4.entry.js} +1 -1
- package/dist/twilight/{p-cfe4f808.entry.js → p-c7bc0e89.entry.js} +1 -1
- package/dist/twilight/{p-9c7ed057.entry.js → p-c86304f5.entry.js} +1 -1
- package/dist/twilight/{p-33710edf.entry.js → p-ca9efb06.entry.js} +1 -1
- package/dist/twilight/{p-8a550a9b.entry.js → p-da12a9a4.entry.js} +1 -1
- package/dist/twilight/{p-29b848f7.entry.js → p-dd37e07e.entry.js} +1 -1
- package/dist/twilight/{p-6ea59d29.entry.js → p-dde417c0.entry.js} +1 -1
- package/dist/twilight/{p-7d778acb.entry.js → p-df1a9f37.entry.js} +1 -1
- package/dist/twilight/{p-64bddbd4.entry.js → p-df2851e1.entry.js} +1 -1
- package/dist/twilight/{p-f9c12172.entry.js → p-df8d8064.entry.js} +1 -1
- package/dist/twilight/{p-5f363172.entry.js → p-e0b3dc35.entry.js} +1 -1
- package/dist/twilight/{p-4aaba2ae.entry.js → p-e1f2e830.entry.js} +1 -1
- package/dist/twilight/{p-4ff3fcc2.entry.js → p-e3248ff0.entry.js} +1 -1
- package/dist/twilight/{p-a7da83e9.entry.js → p-eabe5998.entry.js} +1 -1
- package/dist/twilight/{p-abffebe7.entry.js → p-f046adac.entry.js} +1 -1
- package/dist/twilight/{p-234752f4.entry.js → p-f5d6e487.entry.js} +1 -1
- package/dist/twilight/{p-6c2bd4d3.entry.js → p-f885ceed.entry.js} +1 -1
- package/dist/twilight/{p-e8ada41e.entry.js → p-fa751c55.entry.js} +1 -1
- package/dist/twilight/{p-DKReyChR.js → p-iGz7tppc.js} +1 -1
- package/dist/twilight/{p-D6IFHeYy.js → p-x5XPo1DG.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +20 -0
- package/dist/types/components.d.ts +20 -0
- package/package.json +5 -5
- package/dist/twilight/p-527c985e.entry.js +0 -4
|
@@ -493,9 +493,15 @@ window.SallaApplePay = {
|
|
|
493
493
|
SallaApplePay.initDefault();
|
|
494
494
|
|
|
495
495
|
let version = SallaApplePay.getApplePaySessionVersion();
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
496
|
+
// Normalize to an array: the backend can serialize the networks list as a JSON object
|
|
497
|
+
// (non-sequential PHP array keys). Copy it so we never mutate the shared `detail` reference.
|
|
498
|
+
// Works for both legacy (plain array) and unified (object-shaped) payloads.
|
|
499
|
+
let rawNetworks = SallaApplePay.detail.supportedNetworks;
|
|
500
|
+
let supportedNetworks = Array.isArray(rawNetworks) ? [...rawNetworks] : Object.values(rawNetworks || {});
|
|
501
|
+
if (!supportedNetworks.length) {
|
|
502
|
+
supportedNetworks = ['masterCard', 'visa'];
|
|
503
|
+
}
|
|
504
|
+
if (version === 5 && !supportedNetworks.includes('mada')) {
|
|
499
505
|
supportedNetworks.push('mada');
|
|
500
506
|
}
|
|
501
507
|
|
|
@@ -876,8 +882,16 @@ window.SallaApplePay = {
|
|
|
876
882
|
payments
|
|
877
883
|
});
|
|
878
884
|
|
|
879
|
-
//
|
|
880
|
-
|
|
885
|
+
// BE-canary gate keyed on the live payload (not cached config): the unified BE adds
|
|
886
|
+
// applePay.amount, legacy BE doesn't — so gate and data can never desync.
|
|
887
|
+
if (payments?.gateways?.applePay?.amount != null) {
|
|
888
|
+
// Unified BE: Apple Pay is always charged in the store base currency.
|
|
889
|
+
SallaApplePay.detail.amount = payments.gateways.applePay.amount;
|
|
890
|
+
SallaApplePay.detail.currency = payments.gateways.applePay.currency ?? SallaApplePay.detail.currency;
|
|
891
|
+
} else {
|
|
892
|
+
// Legacy BE .
|
|
893
|
+
SallaApplePay.detail.amount = payments?.gateways?.applePay?.supportedMultiCurrency ? cart.total_in_customer_currency : cart.total;
|
|
894
|
+
}
|
|
881
895
|
SallaApplePay.detail.items = (cart.totals || cart.items).map((item) => {
|
|
882
896
|
return {
|
|
883
897
|
label: item.title,
|
|
@@ -1162,8 +1176,15 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1162
1176
|
currency: this.currency || 'SAR', // SAR
|
|
1163
1177
|
requiredShippingContactFields: this.getRequiredShippingContactFields(),
|
|
1164
1178
|
shippingMethods: this.isRequireShipping ? [] : undefined,
|
|
1165
|
-
|
|
1166
|
-
|
|
1179
|
+
// Legacy BE
|
|
1180
|
+
supportedNetworks: this.isLegacyBuyNowBE()
|
|
1181
|
+
? salla.config.get('store.settings.buy_now.networks')
|
|
1182
|
+
: ((Array.isArray(this.supportedNetworks) && this.supportedNetworks.length)
|
|
1183
|
+
? this.supportedNetworks : salla.config.get('store.settings.buy_now.supportedNetworks')),
|
|
1184
|
+
supportedCountries: this.isLegacyBuyNowBE()
|
|
1185
|
+
? salla.config.get('store.settings.buy_now.countries')
|
|
1186
|
+
: ((Array.isArray(this.supportedCountries) && this.supportedCountries.length)
|
|
1187
|
+
? this.supportedCountries : salla.config.get('store.settings.buy_now.supportedCountries')),
|
|
1167
1188
|
countryCode: salla.config.get('store.store_country') || 'SA',
|
|
1168
1189
|
onStartedSession: this.handleApplePaySessionStarted,
|
|
1169
1190
|
validateMerchant: {
|
|
@@ -1240,6 +1261,35 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1240
1261
|
}
|
|
1241
1262
|
return fields;
|
|
1242
1263
|
}
|
|
1264
|
+
/**
|
|
1265
|
+
* TEMPORARY for BE Vip sync
|
|
1266
|
+
*/
|
|
1267
|
+
isLegacyBuyNowBE() {
|
|
1268
|
+
return salla?.config?.get?.('store.settings.buy_now.networks') != null;
|
|
1269
|
+
}
|
|
1270
|
+
/** Set Apple Pay amount + currency from a price payload, always keeping the pair in one currency. */
|
|
1271
|
+
applyBaseCurrencyPrice(data) {
|
|
1272
|
+
// Legacy BE: amount only; currency is set once in runInit.
|
|
1273
|
+
if (this.isLegacyBuyNowBE()) {
|
|
1274
|
+
if (data?.price != null) {
|
|
1275
|
+
this.amount = data.price;
|
|
1276
|
+
}
|
|
1277
|
+
return;
|
|
1278
|
+
}
|
|
1279
|
+
const base = data?.base_currency_price;
|
|
1280
|
+
// Unified BE base pair (regular products): charge in base currency.
|
|
1281
|
+
if (base?.amount != null) {
|
|
1282
|
+
this.amount = base.amount;
|
|
1283
|
+
if (base?.currency) {
|
|
1284
|
+
this.currency = base.currency;
|
|
1285
|
+
}
|
|
1286
|
+
// Display-only payload (e.g. donation { id, price }): pair amount with its display currency.
|
|
1287
|
+
}
|
|
1288
|
+
else if (data?.price != null) {
|
|
1289
|
+
this.amount = data.price;
|
|
1290
|
+
this.currency = salla.config.get('user.currency_code') || this.currency || 'SAR';
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1243
1293
|
componentWillLoad() {
|
|
1244
1294
|
console.log('🍏 Pay: Quick Buy Component Loaded');
|
|
1245
1295
|
const canMakePayments = typeof window !== 'undefined' && !!window.ApplePaySession?.canMakePayments?.();
|
|
@@ -1247,7 +1297,9 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1247
1297
|
const isSallaGateway = salla?.config?.get?.('store.settings.is_salla_gateway', false) ?? true;
|
|
1248
1298
|
this.isApplePayActive = canMakePayments && storeHasApplePay && isSallaGateway;
|
|
1249
1299
|
const runInit = async () => {
|
|
1250
|
-
if (!this.currency && salla?.config?.get) {
|
|
1300
|
+
if (this.isLegacyBuyNowBE() && !this.currency && salla?.config?.get) {
|
|
1301
|
+
// Legacy BE (pre-PR): currency from the multi_currency flag. The unified BE instead
|
|
1302
|
+
// sources amount + currency from `base_currency_price` (see applyBaseCurrencyPrice).
|
|
1251
1303
|
this.currency = salla.config.get('store.settings.buy_now.multi_currency') ? salla.config.get('user.currency_code') : 'SAR';
|
|
1252
1304
|
}
|
|
1253
1305
|
if (!this.productId && salla?.config?.get && salla.url?.is_page) {
|
|
@@ -1259,7 +1311,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1259
1311
|
}
|
|
1260
1312
|
if ((!this.amount || !this.isRequireShipping) && this.productId && salla?.product?.getDetails) {
|
|
1261
1313
|
await salla.product.getDetails(this.productId, []).then((response) => {
|
|
1262
|
-
this.
|
|
1314
|
+
this.applyBaseCurrencyPrice(response?.data);
|
|
1263
1315
|
this.isRequireShipping = response?.data?.is_require_shipping || false;
|
|
1264
1316
|
}).catch((error) => {
|
|
1265
1317
|
salla?.logger?.warn?.('🍏 Pay: Failed load the quick buy, get the product details failed: ', error);
|
|
@@ -1269,11 +1321,11 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1269
1321
|
salla.event.on('product-options::donation-changed', (data) => {
|
|
1270
1322
|
if (String(data.id) !== String(this.productId))
|
|
1271
1323
|
return;
|
|
1272
|
-
this.
|
|
1324
|
+
this.applyBaseCurrencyPrice(data);
|
|
1273
1325
|
});
|
|
1274
1326
|
}
|
|
1275
1327
|
else if (salla?.url?.is_page?.('product.single') && salla?.product?.event?.onPriceUpdated) {
|
|
1276
|
-
salla.product.event.onPriceUpdated(response => { this.
|
|
1328
|
+
salla.product.event.onPriceUpdated(response => { this.applyBaseCurrencyPrice(response?.data); });
|
|
1277
1329
|
}
|
|
1278
1330
|
this.isApplePayActive = (salla?.helpers?.hasApplePay?.() ?? canMakePayments)
|
|
1279
1331
|
&& (salla?.config?.get?.('store.settings.payments')?.includes?.('apple_pay') ?? storeHasApplePay)
|
|
@@ -1296,7 +1348,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1296
1348
|
});
|
|
1297
1349
|
}
|
|
1298
1350
|
render() {
|
|
1299
|
-
return h(Host, { key: '
|
|
1351
|
+
return h(Host, { key: '8df291680d9b59f1627c8e1185a01cb30b92c2e4' }, this.quickBuyButton());
|
|
1300
1352
|
}
|
|
1301
1353
|
quickBuyButton() {
|
|
1302
1354
|
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 });
|
|
@@ -1318,6 +1370,8 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
|
|
|
1318
1370
|
"isRequireShipping": [1028, "is-require-shipping"],
|
|
1319
1371
|
"applePayOnly": [1028, "apple-pay-only"],
|
|
1320
1372
|
"validateHost": [1025, "validate-host"],
|
|
1373
|
+
"supportedNetworks": [1040, "supported-networks"],
|
|
1374
|
+
"supportedCountries": [1040, "supported-countries"],
|
|
1321
1375
|
"isApplePayActive": [32],
|
|
1322
1376
|
"quickBuy": [32]
|
|
1323
1377
|
}]);
|
|
@@ -23,7 +23,7 @@ var ShippingFast = `<!-- Generated by IcoMoon.io -->
|
|
|
23
23
|
</svg>
|
|
24
24
|
`;
|
|
25
25
|
|
|
26
|
-
const sallaRatingModalCss = ".s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{display:block;width:100
|
|
26
|
+
const sallaRatingModalCss = ".s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{position:absolute !important;inset:0;display:block;width:100% !important;max-width:100% !important;height:100% !important;object-fit:cover}.s-rating-modal-product-title{font-size:0.95rem;font-weight:600;line-height:1.5;margin:0}.s-rating-modal-stars-product{margin-top:0.5rem}.s-rating-modal-loyalty-points-note-container{display:flex;align-items:center;gap:0.625rem;width:100%;margin-top:1.5rem;margin-bottom:0.75rem;padding:0.75rem;border-radius:0.5rem;background-color:#E6F4EA}.s-rating-modal-loyalty-points-note-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:#1B7F5C}.s-rating-modal-loyalty-points-note-icon svg{width:1.5rem;height:1.5rem;fill:currentColor}.s-rating-modal-loyalty-points-note-text{flex:1;margin:0;font-size:0.875rem;line-height:1.25rem;color:#1f2937}.s-rating-modal-product-details-main{display:flex;align-items:center;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-info-row{display:flex;align-items:center;gap:0.6rem;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-main-review{width:100%;text-align:right}.s-rating-modal-product-rating-rows{display:grid;gap:0.45rem;margin:0.2rem 0 0.7rem}.s-rating-modal-product-rating-row{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-height:2rem}.s-rating-modal-product-rating-row salla-rating-stars{flex-shrink:0}.s-rating-modal-product-rating-row .s-rating-stars-wrapper{align-items:center;min-height:1.75rem}.s-rating-modal-product-rating-row .s-rating-stars-label,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag{min-width:auto;min-height:1.25rem;line-height:1.25rem;font-size:0.8rem;color:#5b6470;white-space:nowrap;text-align:end;transition:opacity 0.15s ease}.s-rating-modal-product-rating-row .s-rating-stars-label--empty,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag--empty{opacity:0}.s-rating-modal-product-rating-row-main{margin-bottom:0.35rem;padding:0.5rem 0.6rem;border:1px solid #d1d5db;border-radius:0.45rem;background:transparent}.s-rating-modal-product-factor-name{color:#5b6470;font-size:0.9rem;line-height:1.25}.s-rating-modal-product-rating-row-main .s-rating-modal-product-factor-name{font-size:1rem;color:#5b6470}.s-rating-modal-product-factor-required{color:#f87171;margin-inline-start:0.2rem}.s-rating-modal-product-img-wrap{position:relative;width:5rem !important;min-width:5rem !important;max-width:5rem !important;height:3.5rem !important;flex-shrink:0 !important;overflow:hidden;border-radius:0.375rem;background:#f3f4f6}.s-rating-modal-uploader.is-opened{height:auto !important;opacity:1 !important;overflow:visible !important;pointer-events:auto !important;margin-bottom:1rem}";
|
|
27
27
|
|
|
28
28
|
const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingModalV2 extends HTMLElement {
|
|
29
29
|
constructor() {
|
|
@@ -18,7 +18,7 @@ import { d as defineCustomElement$5 } from './salla-placeholder2.js';
|
|
|
18
18
|
import { d as defineCustomElement$3 } from './salla-rating-stars2.js';
|
|
19
19
|
import { d as defineCustomElement$2 } from './salla-skeleton2.js';
|
|
20
20
|
|
|
21
|
-
const sallaRatingModalCss = ".s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{display:block;width:100
|
|
21
|
+
const sallaRatingModalCss = ".s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{position:absolute !important;inset:0;display:block;width:100% !important;max-width:100% !important;height:100% !important;object-fit:cover}.s-rating-modal-product-title{font-size:0.95rem;font-weight:600;line-height:1.5;margin:0}.s-rating-modal-stars-product{margin-top:0.5rem}.s-rating-modal-loyalty-points-note-container{display:flex;align-items:center;gap:0.625rem;width:100%;margin-top:1.5rem;margin-bottom:0.75rem;padding:0.75rem;border-radius:0.5rem;background-color:#E6F4EA}.s-rating-modal-loyalty-points-note-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:#1B7F5C}.s-rating-modal-loyalty-points-note-icon svg{width:1.5rem;height:1.5rem;fill:currentColor}.s-rating-modal-loyalty-points-note-text{flex:1;margin:0;font-size:0.875rem;line-height:1.25rem;color:#1f2937}.s-rating-modal-product-details-main{display:flex;align-items:center;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-info-row{display:flex;align-items:center;gap:0.6rem;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-main-review{width:100%;text-align:right}.s-rating-modal-product-rating-rows{display:grid;gap:0.45rem;margin:0.2rem 0 0.7rem}.s-rating-modal-product-rating-row{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-height:2rem}.s-rating-modal-product-rating-row salla-rating-stars{flex-shrink:0}.s-rating-modal-product-rating-row .s-rating-stars-wrapper{align-items:center;min-height:1.75rem}.s-rating-modal-product-rating-row .s-rating-stars-label,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag{min-width:auto;min-height:1.25rem;line-height:1.25rem;font-size:0.8rem;color:#5b6470;white-space:nowrap;text-align:end;transition:opacity 0.15s ease}.s-rating-modal-product-rating-row .s-rating-stars-label--empty,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag--empty{opacity:0}.s-rating-modal-product-rating-row-main{margin-bottom:0.35rem;padding:0.5rem 0.6rem;border:1px solid #d1d5db;border-radius:0.45rem;background:transparent}.s-rating-modal-product-factor-name{color:#5b6470;font-size:0.9rem;line-height:1.25}.s-rating-modal-product-rating-row-main .s-rating-modal-product-factor-name{font-size:1rem;color:#5b6470}.s-rating-modal-product-factor-required{color:#f87171;margin-inline-start:0.2rem}.s-rating-modal-product-img-wrap{position:relative;width:5rem !important;min-width:5rem !important;max-width:5rem !important;height:3.5rem !important;flex-shrink:0 !important;overflow:hidden;border-radius:0.375rem;background:#f3f4f6}.s-rating-modal-uploader.is-opened{height:auto !important;opacity:1 !important;overflow:visible !important;pointer-events:auto !important;margin-bottom:1rem}";
|
|
22
22
|
|
|
23
23
|
const SallaRatingModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaRatingModal extends HTMLElement {
|
|
24
24
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-BDAOgcq0.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);
|