@salla.sa/twilight-components 2.14.491 → 2.14.493
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-C8OgCkk4.js → filepond-DqhwRQm7.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-W7CIIo06.js → filepond-plugin-file-poster-D19muTiF.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-b6owsb9D.js → filepond-plugin-file-validate-size-DbAdnWu5.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-_rafsi9p.js → filepond-plugin-file-validate-type-avp8hUs1.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-7_W-TDnV.js → filepond-plugin-image-edit-Y4pS7CAo.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BqHzmoQr.js → filepond-plugin-image-exif-orientation-C5ctyI6s.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CXYMGZyB.js → filepond-plugin-image-preview-C9Cy8UAv.js} +1 -1
- package/dist/cjs/{functions-DEYiJNeU.js → functions-D4bL1wnj.js} +1 -1
- package/dist/cjs/{index-DFAB8ROR.js → index-C_qxP6pD.js} +2 -2
- package/dist/cjs/{index-DQxFCAkS.js → index-CyG4y8gY.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 +23 -11
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-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.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-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-options-modal_3.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 +14 -5
- 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-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-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/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-BFI0OYlh.js → tracked-promise-B35EnX6x.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-X9clH5_E.js → vanilla-picker-BofbsHQq.js} +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +13 -4
- package/dist/collection/components/salla-product-options/salla-product-options.js +22 -10
- package/dist/components/index.js +2 -2
- package/dist/components/salla-payments.js +13 -4
- package/dist/components/salla-product-options2.js +22 -10
- package/dist/esm/{filepond-DnJWzWeX.js → filepond-Coz90MV8.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CQjIyjj0.js → filepond-plugin-file-poster-CiMXS6O6.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BHmdR08m.js → filepond-plugin-file-validate-size-DycwNhLB.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DKZI4Udo.js → filepond-plugin-file-validate-type-BTWmt4Mh.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BEu3qWM8.js → filepond-plugin-image-edit-DY5Ti-2K.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BnEErRDJ.js → filepond-plugin-image-exif-orientation-BxxwFT1Z.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-C5uMnAXy.js → filepond-plugin-image-preview-CjBmoCCR.js} +1 -1
- package/dist/esm/{functions-BHv4YCak.js → functions-DhhgGPcx.js} +1 -1
- package/dist/esm/{index-DNoSNI6q.js → index-9AaLpeq_.js} +1 -1
- package/dist/esm/{index-CrMCOyRb.js → index-DGH40_w6.js} +2 -2
- 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 +23 -11
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-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.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-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-options-modal_3.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 +14 -5
- 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-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-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/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-DoP8oegK.js → tracked-promise-ILCl5q9c.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-DHvTWQwH.js → vanilla-picker-CXWkB9Rj.js} +1 -1
- package/dist/twilight/{p-95fd32d1.entry.js → p-03e5d981.entry.js} +1 -1
- package/dist/twilight/{p-f31322cc.entry.js → p-04d25025.entry.js} +1 -1
- package/dist/twilight/{p-75d546f8.entry.js → p-051cf8e8.entry.js} +1 -1
- package/dist/twilight/{p-cd6617a2.entry.js → p-060cb433.entry.js} +1 -1
- package/dist/twilight/{p-7ed01fae.entry.js → p-09d7aa92.entry.js} +1 -1
- package/dist/twilight/{p-3394398c.entry.js → p-0a1e3675.entry.js} +1 -1
- package/dist/twilight/{p-53188a50.entry.js → p-0ab66850.entry.js} +1 -1
- package/dist/twilight/{p-f2c185ff.entry.js → p-0d012154.entry.js} +1 -1
- package/dist/twilight/{p-b82011e6.entry.js → p-0d3f0c5e.entry.js} +1 -1
- package/dist/twilight/{p-f2a98eb7.entry.js → p-180f51ef.entry.js} +1 -1
- package/dist/twilight/{p-02bda539.entry.js → p-19bc5aa0.entry.js} +1 -1
- package/dist/twilight/{p-6c03ddfd.entry.js → p-1a299dab.entry.js} +1 -1
- package/dist/twilight/{p-79d53d67.entry.js → p-204f6275.entry.js} +1 -1
- package/dist/twilight/p-206a4605.entry.js +4 -0
- package/dist/twilight/{p-904d61a5.entry.js → p-246ff1db.entry.js} +1 -1
- package/dist/twilight/{p-967a0b5f.entry.js → p-280b577d.entry.js} +1 -1
- package/dist/twilight/p-2b8d6b5c.entry.js +4 -0
- package/dist/twilight/{p-0569fa78.entry.js → p-2bd896e8.entry.js} +1 -1
- package/dist/twilight/{p-3d3cebb9.entry.js → p-2ede3e52.entry.js} +1 -1
- package/dist/twilight/{p-24a33e42.entry.js → p-38b57477.entry.js} +1 -1
- package/dist/twilight/{p-92212c2c.entry.js → p-3996a786.entry.js} +1 -1
- package/dist/twilight/{p-01cd666a.entry.js → p-3b962591.entry.js} +1 -1
- package/dist/twilight/{p-cf699819.entry.js → p-3c315245.entry.js} +1 -1
- package/dist/twilight/{p-92f96da3.entry.js → p-420cd3bc.entry.js} +1 -1
- package/dist/twilight/{p-10cfb2e6.entry.js → p-546c9f58.entry.js} +1 -1
- package/dist/twilight/{p-d90c6504.entry.js → p-55150c7f.entry.js} +1 -1
- package/dist/twilight/{p-ba9d9441.entry.js → p-55ef75cb.entry.js} +1 -1
- package/dist/twilight/{p-68a0d7de.entry.js → p-58fd42b9.entry.js} +1 -1
- package/dist/twilight/{p-bc231a7f.entry.js → p-59d4fd28.entry.js} +1 -1
- package/dist/twilight/{p-a67a69d6.entry.js → p-5b2d05b7.entry.js} +1 -1
- package/dist/twilight/{p-7a4328dd.entry.js → p-5d642891.entry.js} +1 -1
- package/dist/twilight/{p-768077d9.entry.js → p-5eeda026.entry.js} +1 -1
- package/dist/twilight/{p-1a89b6e6.entry.js → p-67636846.entry.js} +1 -1
- package/dist/twilight/{p-3642805b.entry.js → p-67a110ca.entry.js} +1 -1
- package/dist/twilight/{p-fd3602a9.entry.js → p-6a3e5797.entry.js} +1 -1
- package/dist/twilight/{p-27ba15f4.entry.js → p-6c9462be.entry.js} +1 -1
- package/dist/twilight/{p-5832f8ef.entry.js → p-6d17cc72.entry.js} +1 -1
- package/dist/twilight/{p-96bc00e4.entry.js → p-6f89ecd5.entry.js} +1 -1
- package/dist/twilight/{p-c75169ad.entry.js → p-7225f304.entry.js} +1 -1
- package/dist/twilight/{p-c0fdeae5.entry.js → p-7bf35ca7.entry.js} +1 -1
- package/dist/twilight/{p-0a851930.entry.js → p-7fc61c4c.entry.js} +1 -1
- package/dist/twilight/{p-be9f3b55.entry.js → p-811f7253.entry.js} +1 -1
- package/dist/twilight/{p-da875729.entry.js → p-835a102e.entry.js} +1 -1
- package/dist/twilight/{p-c40da673.entry.js → p-843c1499.entry.js} +1 -1
- package/dist/twilight/{p-db885288.entry.js → p-8509e67b.entry.js} +1 -1
- package/dist/twilight/{p-46440c88.entry.js → p-85d51539.entry.js} +1 -1
- package/dist/twilight/{p-0b6623d1.entry.js → p-8b775260.entry.js} +1 -1
- package/dist/twilight/{p-b7e45734.entry.js → p-8e84cce0.entry.js} +1 -1
- package/dist/twilight/{p-38f0b921.entry.js → p-8e87f47b.entry.js} +1 -1
- package/dist/twilight/{p-4ee6b3e0.entry.js → p-8ec5ca1a.entry.js} +1 -1
- package/dist/twilight/{p-c4981fc4.entry.js → p-8f9578ea.entry.js} +1 -1
- package/dist/twilight/{p-698202a9.entry.js → p-902bab33.entry.js} +1 -1
- package/dist/twilight/{p-84ed1fe9.entry.js → p-94e082e5.entry.js} +1 -1
- package/dist/twilight/{p-83920e60.entry.js → p-9ae8d5cc.entry.js} +1 -1
- package/dist/twilight/{p-c1959cfa.entry.js → p-9d00311a.entry.js} +1 -1
- package/dist/twilight/{p-COcTJoQh.js → p-CRJyselG.js} +1 -1
- package/dist/twilight/{p-By0LfFQa.js → p-CRL06FLf.js} +1 -1
- package/dist/twilight/{p-D7kAm5HN.js → p-CXgH1qPi.js} +1 -1
- package/dist/twilight/{p-vj4RR8x2.js → p-CswSlMMW.js} +1 -1
- package/dist/twilight/p-DGH40_w6.js +5 -0
- package/dist/twilight/{p-pvcZDEed.js → p-DMPBYOzv.js} +1 -1
- package/dist/twilight/{p-BAPngUXX.js → p-D_66TtzK.js} +1 -1
- package/dist/twilight/{p-B8h6YT8x.js → p-DqVd28X3.js} +1 -1
- package/dist/twilight/{p-hej0tW8f.js → p-DxUIn207.js} +1 -1
- package/dist/twilight/{p-C_9dEE-y.js → p-Z-0FpgUH.js} +2 -2
- package/dist/twilight/{p-0e9f471f.entry.js → p-a2a5a087.entry.js} +1 -1
- package/dist/twilight/{p-1351776d.entry.js → p-a30673d8.entry.js} +1 -1
- package/dist/twilight/{p-2abf9e37.entry.js → p-a397eadf.entry.js} +1 -1
- package/dist/twilight/{p-ce621f89.entry.js → p-a65070ba.entry.js} +1 -1
- package/dist/twilight/{p-2565c8a8.entry.js → p-a971eb6e.entry.js} +1 -1
- package/dist/twilight/{p-346519c6.entry.js → p-acd71b9c.entry.js} +1 -1
- package/dist/twilight/{p-ea7111b7.entry.js → p-ad33426d.entry.js} +1 -1
- package/dist/twilight/{p-b02b29fa.entry.js → p-b291c768.entry.js} +1 -1
- package/dist/twilight/{p-7269d2ba.entry.js → p-b7ad635b.entry.js} +1 -1
- package/dist/twilight/{p-5619de6e.entry.js → p-bc46608a.entry.js} +1 -1
- package/dist/twilight/{p-d8b9b23d.entry.js → p-bdc874b8.entry.js} +1 -1
- package/dist/twilight/{p-5d757ebc.entry.js → p-be77d488.entry.js} +1 -1
- package/dist/twilight/{p-0f6bc387.entry.js → p-befbb594.entry.js} +1 -1
- package/dist/twilight/{p-f82bf774.entry.js → p-c3c0eafb.entry.js} +1 -1
- package/dist/twilight/{p-b0ac8f2d.entry.js → p-cc85cbb6.entry.js} +1 -1
- package/dist/twilight/{p-6b14b175.entry.js → p-cd3a98b4.entry.js} +1 -1
- package/dist/twilight/{p-158b25d6.entry.js → p-cfc04f03.entry.js} +1 -1
- package/dist/twilight/{p-484fde1d.entry.js → p-d132c3a1.entry.js} +1 -1
- package/dist/twilight/{p-f6e578f4.entry.js → p-d2706f82.entry.js} +1 -1
- package/dist/twilight/{p-1d1598f2.entry.js → p-d4bfca23.entry.js} +1 -1
- package/dist/twilight/{p-c34e8a2f.entry.js → p-d642b334.entry.js} +1 -1
- package/dist/twilight/{p-53b388e5.entry.js → p-dad28a17.entry.js} +1 -1
- package/dist/twilight/{p-6c25d25f.entry.js → p-daff5fee.entry.js} +1 -1
- package/dist/twilight/{p-831105b1.entry.js → p-e0096a71.entry.js} +1 -1
- package/dist/twilight/{p-65745dca.entry.js → p-e36a05c8.entry.js} +1 -1
- package/dist/twilight/{p-b6a9c958.entry.js → p-e7ba206e.entry.js} +1 -1
- package/dist/twilight/{p-379db48e.entry.js → p-e8e5906a.entry.js} +1 -1
- package/dist/twilight/{p-3d3f647d.entry.js → p-ee53cba1.entry.js} +1 -1
- package/dist/twilight/{p-6e7c8096.entry.js → p-f0483d2f.entry.js} +1 -1
- package/dist/twilight/{p-6c7dc86f.entry.js → p-f0ba85ef.entry.js} +1 -1
- package/dist/twilight/{p-180efa36.entry.js → p-f3832e61.entry.js} +1 -1
- package/dist/twilight/{p-43b6be6a.entry.js → p-f49f7906.entry.js} +1 -1
- package/dist/twilight/{p-a458dd2a.entry.js → p-f888055e.entry.js} +1 -1
- package/dist/twilight/{p-7a8f4587.entry.js → p-f9a495bf.entry.js} +1 -1
- package/dist/twilight/{p-14c28037.entry.js → p-fb460b15.entry.js} +1 -1
- package/dist/twilight/{p-5c7dfd69.entry.js → p-fe2dc707.entry.js} +1 -1
- package/dist/twilight/{p-3698e128.entry.js → p-ff572f0c.entry.js} +1 -1
- package/dist/twilight/{p-6b0b391f.entry.js → p-ffe0dc1e.entry.js} +1 -1
- package/dist/twilight/{p-C9sdTleU.js → p-hlvyyBTt.js} +1 -1
- package/dist/twilight/{p-CEkVObpk.js → p-ulwdkVD6.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-payments/salla-payments.d.ts +4 -0
- package/dist/types/components/salla-product-options/interfaces.d.ts +1 -0
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-2be2e677.entry.js +0 -4
- package/dist/twilight/p-3301eb04.entry.js +0 -4
- package/dist/twilight/p-CrMCOyRb.js +0 -5
|
@@ -32,15 +32,22 @@ const SallaPayments$1 = /*@__PURE__*/ proxyCustomElement(class SallaPayments ext
|
|
|
32
32
|
this.payments = salla.config.get('store.settings.payments');
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
+
/** Mini-logo URL: migrated slugs use the new assets CDN, the rest stay on the legacy host. */
|
|
36
|
+
paymentLogo(slug) {
|
|
37
|
+
const path = `images/payment/${slug}_mini.png`;
|
|
38
|
+
return SallaPayments.NEW_CDN_LOGOS.includes(slug)
|
|
39
|
+
? salla.url.assetsCdn(path, 58, 58)
|
|
40
|
+
: salla.url.cdn(path, 58, 58);
|
|
41
|
+
}
|
|
35
42
|
render() {
|
|
36
43
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
37
44
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
38
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '30665e5ed040549b19fc57e40f6d775002f946ee', class: "s-payments-list-wrap" }, h("ul", { key: '2663cf3ea7f5e0ff43cff06cf394ec9ac27a7744', class: "s-payments-list" }, madeInKSA && h("li", { key: '000a08d758762a0f8200d8a11a06798c1a5ab09b', class: "s-payments-list-item" }, h("img", { key: '86f94d04fc0cae22da67fed5fbdcf56062021dce', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
39
46
|
h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
40
|
-
.replace(/\{image\}/g,
|
|
47
|
+
.replace(/\{image\}/g, this.paymentLogo(`cod`)) }) :
|
|
41
48
|
h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
42
|
-
.replace(/\{image\}/g,
|
|
43
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '
|
|
49
|
+
.replace(/\{image\}/g, this.paymentLogo(payment))
|
|
50
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '1fb6e34239ef2fb7f5d056f24448bb86ee4118ec', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
44
51
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
45
52
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
46
53
|
}
|
|
@@ -58,6 +65,8 @@ const SallaPayments$1 = /*@__PURE__*/ proxyCustomElement(class SallaPayments ext
|
|
|
58
65
|
}, [0, "salla-payments", {
|
|
59
66
|
"exclude": [1040]
|
|
60
67
|
}]);
|
|
68
|
+
/** Slugs whose mini logo lives on the new assets CDN; add one when its logo is re-uploaded there. */
|
|
69
|
+
SallaPayments$1.NEW_CDN_LOGOS = ['tabby_installment'];
|
|
61
70
|
function defineCustomElement$1() {
|
|
62
71
|
if (typeof customElements === "undefined") {
|
|
63
72
|
return;
|
|
@@ -928,7 +928,7 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
928
928
|
/**
|
|
929
929
|
* ============= Advanced options =============
|
|
930
930
|
*/
|
|
931
|
-
getOptionDetailName(detail, outOfStock = true, optionType) {
|
|
931
|
+
getOptionDetailName(detail, outOfStock = true, optionType, format) {
|
|
932
932
|
let detailName;
|
|
933
933
|
if (optionType && optionType === DisplayType.COLOR) {
|
|
934
934
|
detailName = detail.name
|
|
@@ -936,12 +936,20 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
936
936
|
+ (detail.additional_price ? ` <p> (${salla.money(detail.additional_price, false)}) </p>` : '');
|
|
937
937
|
}
|
|
938
938
|
if (!detailName) {
|
|
939
|
-
|
|
940
|
-
+ ((outOfStock && this.isOptionDetailOut(detail) && !salla.url.is_page("cart")) && !this.hideOutLabel ? ` - ${this.outOfStockText}` : '')
|
|
939
|
+
const detailSuffix = ((outOfStock && this.isOptionDetailOut(detail) && !salla.url.is_page("cart")) && !this.hideOutLabel ? ` - ${this.outOfStockText}` : '')
|
|
941
940
|
+ (detail.additional_price ? ` (${salla.money(detail.additional_price, false)})` : '');
|
|
941
|
+
// Keep the Riyal icon markup for price-format radio options rendered via innerHTML.
|
|
942
|
+
if (format === "price") {
|
|
943
|
+
const normalizedPrice = salla.helpers.digitsOnly(detail.name);
|
|
944
|
+
const price = Number(normalizedPrice);
|
|
945
|
+
if (!normalizedPrice || !Number.isFinite(price)) {
|
|
946
|
+
return detailSuffix;
|
|
947
|
+
}
|
|
948
|
+
return salla.money(price, true) + detailSuffix;
|
|
949
|
+
}
|
|
950
|
+
detailName = detail.name + detailSuffix;
|
|
942
951
|
}
|
|
943
|
-
//
|
|
944
|
-
//and because we are using this inside select option, we need to replace the html currency symbol with the store currency symbol
|
|
952
|
+
// Text-rendered callers cannot display the icon, so use the store currency symbol.
|
|
945
953
|
return detailName.replace('<i class=sicon-sar></i>', salla.config.currency()?.symbol || 'ر.س');
|
|
946
954
|
}
|
|
947
955
|
computeAvailability() {
|
|
@@ -965,13 +973,17 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
965
973
|
renderInput(type, detail, option, isRequired, name, buttonStyle) {
|
|
966
974
|
const id = this.generateUniqueKey(`${type}-${option.id}-${detail.id}`);
|
|
967
975
|
const isOutOfStock = this.isOptionDetailOut(detail);
|
|
976
|
+
const detailName = this.getOptionDetailName(detail, true, option.type, option.format);
|
|
977
|
+
const detailClass = {
|
|
978
|
+
"s-product-options-grid-mode-span": buttonStyle,
|
|
979
|
+
"s-product-options-disabled": this.canDisabled && isOutOfStock,
|
|
980
|
+
};
|
|
968
981
|
return (h("label", { class: {
|
|
969
982
|
"s-product-options-disabled": this.canDisabled && isOutOfStock,
|
|
970
983
|
"s-product-options-option-stock-out": isOutOfStock,
|
|
971
|
-
} }, h("input", { id: id, type: type, name: name, value: detail.id, disabled: this.canDisabled && isOutOfStock, required: isRequired, checked: detail.is_selected, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }),
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
} }, this.getOptionDetailName(detail))));
|
|
984
|
+
} }, h("input", { id: id, type: type, name: name, value: detail.id, disabled: this.canDisabled && isOutOfStock, required: isRequired, checked: detail.is_selected, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }), option.format === "price"
|
|
985
|
+
? h("div", { class: detailClass, innerHTML: detailName })
|
|
986
|
+
: h("div", { class: detailClass }, detailName)));
|
|
975
987
|
}
|
|
976
988
|
/**
|
|
977
989
|
* Renders a collection of input elements for all details of an option.
|
|
@@ -1009,7 +1021,7 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
1009
1021
|
* @returns HTMLElement - The rendered single-option element.
|
|
1010
1022
|
*/
|
|
1011
1023
|
singleOption(option) {
|
|
1012
|
-
const buttonStyle = this.optionConfig?.['single-option']?.type === 'button';
|
|
1024
|
+
const buttonStyle = this.optionConfig?.['single-option']?.type === 'button' || (option.type === DisplayType.SINGLE_OPTION && option.format === "price");
|
|
1013
1025
|
const isRequired = !option.visibility_condition && option.required;
|
|
1014
1026
|
return buttonStyle
|
|
1015
1027
|
? this.renderButtonStyle('radio', option, isRequired)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DGH40_w6.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);
|