@salla.sa/twilight-components 2.14.529 → 2.14.531
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-BjuMtq1w.js → filepond-WGaXzTBW.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BxL0d9LG.js → filepond-plugin-file-poster-DatfzVym.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CJXkH4-8.js → filepond-plugin-file-validate-size-BuEKbLIP.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-D3j_FXx-.js → filepond-plugin-file-validate-type-CUgtf7Zk.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BQGmzGi6.js → filepond-plugin-image-edit-Cf4he46U.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C_HK3PYP.js → filepond-plugin-image-exif-orientation-CK4eiumx.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CQd7cIFx.js → filepond-plugin-image-preview-Cay4-TQq.js} +1 -1
- package/dist/cjs/{functions-DCXn0G_W.js → functions-sAeow1IW.js} +1 -1
- package/dist/cjs/{index-5-vSfB0w.js → index-CQCEYghd.js} +2 -2
- package/dist/cjs/{intlTelInput-CPTS8go9.js → intlTelInput-BAHlNwXB.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 +1 -1
- 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 +29 -8
- 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 +20 -11
- 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-Bbru6mxz.js → tracked-promise-C5ZXyRkz.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-D_5twiy9.js → vanilla-picker-BT0Ohl7V.js} +1 -1
- package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +28 -7
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +19 -10
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cashback-banner.js +28 -7
- package/dist/components/salla-login-modal2.js +19 -10
- package/dist/esm/{filepond-BG9J9fCn.js → filepond-C2XEDYJM.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BOpdUQw6.js → filepond-plugin-file-poster-wWLufVLJ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Clsy6NUR.js → filepond-plugin-file-validate-size-D1hdy5b2.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BEcbBqqu.js → filepond-plugin-file-validate-type-DsnFknl2.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CTfhZciS.js → filepond-plugin-image-edit-CoSswy5Y.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CXKcwp8C.js → filepond-plugin-image-exif-orientation-Zy0UYkPM.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-C2dkBPlL.js → filepond-plugin-image-preview-CHaOqZGW.js} +1 -1
- package/dist/esm/{functions-D665V8_v.js → functions-G_niF21H.js} +1 -1
- package/dist/esm/{index-vzCji15v.js → index-Itk_tTPJ.js} +2 -2
- package/dist/esm/{intlTelInput-D6ZYcNin.js → intlTelInput-CW1GUGXv.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 +1 -1
- 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 +29 -8
- 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 +20 -11
- 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-foXmUWGO.js → tracked-promise-BGlo7SqB.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-DsPfgrOx.js → vanilla-picker-BewAQTTV.js} +1 -1
- package/dist/twilight/p-05606987.entry.js +4 -0
- package/dist/twilight/{p-612366aa.entry.js → p-07466a74.entry.js} +1 -1
- package/dist/twilight/{p-ba7407d8.entry.js → p-0823202b.entry.js} +1 -1
- package/dist/twilight/{p-3bbafbee.entry.js → p-08bc29f1.entry.js} +1 -1
- package/dist/twilight/{p-1273b75f.entry.js → p-0a2c4103.entry.js} +1 -1
- package/dist/twilight/{p-1de8fc8d.entry.js → p-0a3b92b7.entry.js} +1 -1
- package/dist/twilight/{p-bf49be98.entry.js → p-0f730f1b.entry.js} +1 -1
- package/dist/twilight/{p-d37d235c.entry.js → p-1197e17a.entry.js} +1 -1
- package/dist/twilight/{p-7a13c26d.entry.js → p-15690351.entry.js} +1 -1
- package/dist/twilight/{p-8dd60442.entry.js → p-1e1cc141.entry.js} +1 -1
- package/dist/twilight/{p-5946b648.entry.js → p-22ac9c87.entry.js} +1 -1
- package/dist/twilight/{p-6bd24e12.entry.js → p-245aa0e1.entry.js} +1 -1
- package/dist/twilight/{p-8586955b.entry.js → p-2a77a688.entry.js} +1 -1
- package/dist/twilight/{p-c4c8a72d.entry.js → p-2a7bb79e.entry.js} +1 -1
- package/dist/twilight/{p-1a3c5eda.entry.js → p-2ad52f6c.entry.js} +1 -1
- package/dist/twilight/{p-2cb5bde2.entry.js → p-2caa755d.entry.js} +1 -1
- package/dist/twilight/{p-1978cff0.entry.js → p-2cce1d5c.entry.js} +1 -1
- package/dist/twilight/{p-27157c9a.entry.js → p-301f1272.entry.js} +1 -1
- package/dist/twilight/{p-a7f75ae4.entry.js → p-30637030.entry.js} +1 -1
- package/dist/twilight/{p-f32116da.entry.js → p-34ac0189.entry.js} +1 -1
- package/dist/twilight/{p-5dedde56.entry.js → p-35c5df0a.entry.js} +1 -1
- package/dist/twilight/{p-15bbf579.entry.js → p-36a90777.entry.js} +1 -1
- package/dist/twilight/{p-c1817765.entry.js → p-36f68a10.entry.js} +1 -1
- package/dist/twilight/{p-471e9730.entry.js → p-3a47a392.entry.js} +1 -1
- package/dist/twilight/{p-0f7cb6ac.entry.js → p-4212d0f4.entry.js} +1 -1
- package/dist/twilight/{p-3fa4828c.entry.js → p-48fc1043.entry.js} +1 -1
- package/dist/twilight/{p-8e456714.entry.js → p-4907fdb3.entry.js} +1 -1
- package/dist/twilight/p-4b8b6e9b.entry.js +4 -0
- package/dist/twilight/{p-9f2cb4ca.entry.js → p-4c2bcbcd.entry.js} +1 -1
- package/dist/twilight/{p-4ad61c10.entry.js → p-4c56dcee.entry.js} +1 -1
- package/dist/twilight/{p-45de9af7.entry.js → p-4f370206.entry.js} +1 -1
- package/dist/twilight/{p-09f91284.entry.js → p-552388cf.entry.js} +1 -1
- package/dist/twilight/{p-f5b32192.entry.js → p-55b174b1.entry.js} +1 -1
- package/dist/twilight/{p-f46f718b.entry.js → p-59681101.entry.js} +1 -1
- package/dist/twilight/{p-79d7ec1d.entry.js → p-5c4c7a2a.entry.js} +1 -1
- package/dist/twilight/p-5cda9718.entry.js +4 -0
- package/dist/twilight/{p-2a377e2a.entry.js → p-5eb35b01.entry.js} +1 -1
- package/dist/twilight/{p-111907cf.entry.js → p-601730a4.entry.js} +1 -1
- package/dist/twilight/{p-aac19822.entry.js → p-6317ffa5.entry.js} +1 -1
- package/dist/twilight/{p-f8583e70.entry.js → p-65d31b0c.entry.js} +1 -1
- package/dist/twilight/{p-0e202b48.entry.js → p-69c88e76.entry.js} +1 -1
- package/dist/twilight/{p-4852d70b.entry.js → p-6e542bfb.entry.js} +1 -1
- package/dist/twilight/{p-0cc78c0c.entry.js → p-6f144782.entry.js} +1 -1
- package/dist/twilight/{p-bde0b407.entry.js → p-6fe2c03d.entry.js} +1 -1
- package/dist/twilight/{p-8c653cb1.entry.js → p-73f0379a.entry.js} +1 -1
- package/dist/twilight/{p-78fc7b12.entry.js → p-76258602.entry.js} +1 -1
- package/dist/twilight/{p-652f7a4e.entry.js → p-77056a1d.entry.js} +1 -1
- package/dist/twilight/{p-e70e110a.entry.js → p-799902bc.entry.js} +1 -1
- package/dist/twilight/{p-7615fd03.entry.js → p-79b5fc28.entry.js} +1 -1
- package/dist/twilight/{p-4af5ae92.entry.js → p-7d43f610.entry.js} +1 -1
- package/dist/twilight/{p-560e9b79.entry.js → p-7fa5f083.entry.js} +1 -1
- package/dist/twilight/{p-1bd280eb.entry.js → p-88f309d1.entry.js} +1 -1
- package/dist/twilight/{p-4e3e0ff2.entry.js → p-903c2998.entry.js} +1 -1
- package/dist/twilight/{p-d96d35e2.entry.js → p-934cdbe2.entry.js} +1 -1
- package/dist/twilight/{p-8ca3f231.entry.js → p-9624d8b1.entry.js} +1 -1
- package/dist/twilight/{p-dd08b673.entry.js → p-9a496743.entry.js} +1 -1
- package/dist/twilight/{p-CiSp_1aa.js → p-BDWWIK2_.js} +1 -1
- package/dist/twilight/{p-BEnGduUm.js → p-BNNO8Okw.js} +1 -1
- package/dist/twilight/{p-C_x20F0m.js → p-Bs8HxabI.js} +2 -2
- package/dist/twilight/{p-BLantrYY.js → p-BzJ_l9MZ.js} +1 -1
- package/dist/twilight/{p-DPrMsh8G.js → p-ChWK8iO8.js} +1 -1
- package/dist/twilight/{p-DhLVhq1d.js → p-CnoDNMqt.js} +1 -1
- package/dist/twilight/{p-DfptsKS6.js → p-CrEUv4nM.js} +1 -1
- package/dist/twilight/{p-DbNkDe5Q.js → p-D6Sge7Aa.js} +2 -2
- package/dist/twilight/{p-CZVEdnVZ.js → p-DbTxwY6j.js} +2 -2
- package/dist/twilight/{p-D3EOndqi.js → p-I1aJoD3U.js} +1 -1
- package/dist/twilight/{p-vzCji15v.js → p-Itk_tTPJ.js} +1 -1
- package/dist/twilight/{p-DuAXOs35.js → p-MzXoadyY.js} +1 -1
- package/dist/twilight/{p-4d644d10.entry.js → p-a1eb8d2b.entry.js} +1 -1
- package/dist/twilight/{p-ffc5bf76.entry.js → p-a5b06c98.entry.js} +1 -1
- package/dist/twilight/{p-cdbbab0d.entry.js → p-a663baf7.entry.js} +1 -1
- package/dist/twilight/{p-5697e63d.entry.js → p-a9ed43be.entry.js} +1 -1
- package/dist/twilight/{p-403fdbd4.entry.js → p-abe7ef50.entry.js} +1 -1
- package/dist/twilight/{p-78842a7e.entry.js → p-ac1b0270.entry.js} +1 -1
- package/dist/twilight/{p-dc1fcdd8.entry.js → p-af6a29f1.entry.js} +1 -1
- package/dist/twilight/{p-dac7940b.entry.js → p-b073221f.entry.js} +1 -1
- package/dist/twilight/p-b0abd3f5.entry.js +4 -0
- package/dist/twilight/{p-aa5917bb.entry.js → p-b396921e.entry.js} +1 -1
- package/dist/twilight/{p-33b9c1e2.entry.js → p-ba4e293d.entry.js} +1 -1
- package/dist/twilight/{p-ed1cd1c2.entry.js → p-bc1faf38.entry.js} +1 -1
- package/dist/twilight/{p-92199590.entry.js → p-bd64aa68.entry.js} +1 -1
- package/dist/twilight/{p-346db51a.entry.js → p-bfb7ea6b.entry.js} +1 -1
- package/dist/twilight/{p-7af9f123.entry.js → p-bfc66454.entry.js} +1 -1
- package/dist/twilight/{p-0a98054a.entry.js → p-bff9e98c.entry.js} +1 -1
- package/dist/twilight/{p-94ec26c8.entry.js → p-c099dac1.entry.js} +1 -1
- package/dist/twilight/{p-23a09f71.entry.js → p-c2349f78.entry.js} +1 -1
- package/dist/twilight/{p-511ec472.entry.js → p-c3a6f5ff.entry.js} +1 -1
- package/dist/twilight/{p-95512e23.entry.js → p-d08acf3a.entry.js} +1 -1
- package/dist/twilight/{p-5a6d16c5.entry.js → p-d34f4c84.entry.js} +1 -1
- package/dist/twilight/{p-1d59fad3.entry.js → p-d47b535f.entry.js} +1 -1
- package/dist/twilight/{p-de6c66aa.entry.js → p-d99c79e8.entry.js} +1 -1
- package/dist/twilight/{p-886caaef.entry.js → p-da998e91.entry.js} +1 -1
- package/dist/twilight/{p-8cf487c4.entry.js → p-db0ad7a7.entry.js} +1 -1
- package/dist/twilight/{p-5c322a2e.entry.js → p-db3a70db.entry.js} +1 -1
- package/dist/twilight/{p-df22478c.entry.js → p-de07ea1c.entry.js} +1 -1
- package/dist/twilight/{p-09bc713a.entry.js → p-dea9b162.entry.js} +1 -1
- package/dist/twilight/{p-9a582aa6.entry.js → p-e39b04a2.entry.js} +1 -1
- package/dist/twilight/p-e4a8cd13.entry.js +4 -0
- package/dist/twilight/{p-0a390354.entry.js → p-e58de89c.entry.js} +1 -1
- package/dist/twilight/{p-4026d757.entry.js → p-efbccddb.entry.js} +1 -1
- package/dist/twilight/{p-9a918aa9.entry.js → p-efe786bf.entry.js} +1 -1
- package/dist/twilight/{p-1e6c7d96.entry.js → p-f16ad2f9.entry.js} +1 -1
- package/dist/twilight/{p-2c1be1d8.entry.js → p-f2cee9bd.entry.js} +1 -1
- package/dist/twilight/{p-304ab54a.entry.js → p-f3432157.entry.js} +1 -1
- package/dist/twilight/{p-35dbbd52.entry.js → p-fa882fd0.entry.js} +1 -1
- package/dist/twilight/{p-4c191bde.entry.js → p-fa9bcf3a.entry.js} +1 -1
- package/dist/twilight/{p-bb32f871.entry.js → p-fdd2fd4d.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cashback-banner/salla-cashback-banner.d.ts +3 -1
- package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +7 -0
- package/package.json +5 -5
- package/dist/twilight/p-4b6a811a.entry.js +0 -4
- package/dist/twilight/p-a2e2dac9.entry.js +0 -4
- package/dist/twilight/p-badf4658.entry.js +0 -4
- package/dist/twilight/p-cfc338d4.entry.js +0 -4
- package/dist/twilight/p-ed8df05b.entry.js +0 -4
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
var cancel = require('./cancel-B5SbMYEk.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-CQCEYghd.js');
|
|
7
7
|
var cart = require('./cart-s-x1Fshk.js');
|
|
8
8
|
var Helper = require('./Helper-B2B-kxAI.js');
|
|
9
9
|
var catalogRecommendations = require('./catalog-recommendations-dtK9Dlfw.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
var calendar = require('./calendar-D-PUoCDH.js');
|
|
8
8
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
9
9
|
var minus = require('./minus-CCryh1qf.js');
|
|
@@ -378,7 +378,7 @@ const SallaColorPicker = class {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
initColorPicker() {
|
|
381
|
-
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-
|
|
381
|
+
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-BT0Ohl7V.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
|
|
382
382
|
const Picker = mod.default;
|
|
383
383
|
const picker = new Picker({
|
|
384
384
|
parent: this.host,
|
|
@@ -838,13 +838,13 @@ const SallaFileUpload = class {
|
|
|
838
838
|
return;
|
|
839
839
|
try {
|
|
840
840
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
841
|
-
Promise.resolve().then(function () { return require('./filepond-
|
|
842
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
843
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
844
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
845
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
846
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
847
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
841
|
+
Promise.resolve().then(function () { return require('./filepond-WGaXzTBW.js'); }).then(function (n) { return n.filepond; }),
|
|
842
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-BuEKbLIP.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
843
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-CK4eiumx.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
844
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-Cay4-TQq.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
845
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-Cf4he46U.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
846
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-CUgtf7Zk.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
847
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-DatfzVym.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
848
848
|
]);
|
|
849
849
|
this.FilePond = FilePondModule;
|
|
850
850
|
// Register plugins
|
|
@@ -1445,7 +1445,7 @@ const SallaTelInput = class {
|
|
|
1445
1445
|
if (this.TelInput)
|
|
1446
1446
|
return;
|
|
1447
1447
|
try {
|
|
1448
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./intlTelInput-
|
|
1448
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./intlTelInput-BAHlNwXB.js'); }).then(function (n) { return n.intlTelInput; });
|
|
1449
1449
|
this.TelInput = telInputModule.default;
|
|
1450
1450
|
}
|
|
1451
1451
|
catch (error) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaCartCouponsCss = ".s-cart-coupons-applied-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.s-cart-coupons-applied-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;border-inline-start:3px solid #10b981}.s-cart-coupons-applied-code{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#111827}.s-cart-coupons-applied-code::before{content:\"\";width:7px;height:7px;border-radius:9999px;background:#10b981}.s-cart-coupons-applied-remove{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;color:#ef4444;background:transparent;border:0;border-radius:9999px;cursor:pointer;transition:background-color 0.15s ease, color 0.15s ease}.s-cart-coupons-applied-remove:hover{background:#fef2f2}.s-cart-coupons-applied-remove:disabled{opacity:0.5;cursor:not-allowed}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tagMoney = require('./tag-money-Cuohw_4j.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
9
|
<g clip-path="url(#clip0_5667_2008)">
|
|
@@ -22,26 +22,46 @@ const sallaCashbackBannerCss = "";
|
|
|
22
22
|
const SallaCashbackBanner = class {
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
index.registerInstance(this, hostRef);
|
|
25
|
-
this.cashbackData =
|
|
25
|
+
this.cashbackData = undefined;
|
|
26
26
|
this.productId = null;
|
|
27
|
+
this.handlePriceUpdated = (response, productId) => {
|
|
28
|
+
if (String(productId) !== String(this.productId))
|
|
29
|
+
return;
|
|
30
|
+
const cashback = response?.data?.cashback;
|
|
31
|
+
if (cashback !== undefined) {
|
|
32
|
+
this.cashbackData = cashback;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
27
35
|
}
|
|
28
36
|
async componentWillLoad() {
|
|
29
37
|
try {
|
|
38
|
+
// page.id is server-injected, resolve it before awaits so the listener is registered
|
|
39
|
+
// before salla-product-options fires its initial price event.
|
|
40
|
+
this.productId = this.host.dataset.productId || salla.config.get('page.id');
|
|
41
|
+
if (this.productId) {
|
|
42
|
+
salla.event.on('product::price.updated', this.handlePriceUpdated);
|
|
43
|
+
}
|
|
30
44
|
await salla.onReady();
|
|
31
45
|
await salla.lang.onLoaded();
|
|
32
|
-
this.productId = this.host.dataset.productId || salla.config.get('page.id');
|
|
33
46
|
if (!this.productId) {
|
|
34
47
|
return;
|
|
35
48
|
}
|
|
49
|
+
// Baseline cashback from the product-level endpoint.
|
|
50
|
+
// For products with options the price event (above) will override this with the variant-specific amount.
|
|
36
51
|
const response = await salla.api
|
|
37
52
|
.request(`/products/${this.productId}/cashback-offer`)
|
|
38
53
|
.catch(() => null);
|
|
39
|
-
this.cashbackData
|
|
54
|
+
if (this.cashbackData === undefined) {
|
|
55
|
+
this.cashbackData = response?.data ?? null;
|
|
56
|
+
}
|
|
40
57
|
}
|
|
41
58
|
catch (e) {
|
|
42
59
|
salla?.logger?.warn?.('salla-cashback-banner: init failed', e);
|
|
43
60
|
}
|
|
44
61
|
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
salla.event.off('product::price.updated', this.handlePriceUpdated);
|
|
64
|
+
}
|
|
45
65
|
getPaymentMethodsText(methods = []) {
|
|
46
66
|
return methods
|
|
47
67
|
.map(method => String(method || '').trim())
|
|
@@ -59,13 +79,14 @@ const SallaCashbackBanner = class {
|
|
|
59
79
|
return salla.lang.get('pages.loyalty_program.cashback_when_buying_product');
|
|
60
80
|
}
|
|
61
81
|
render() {
|
|
62
|
-
|
|
82
|
+
const cashbackData = this.cashbackData;
|
|
83
|
+
if (!this.productId || !cashbackData || !Number(cashbackData.amount)) {
|
|
63
84
|
return null;
|
|
64
85
|
}
|
|
65
|
-
const cashbackValue =
|
|
66
|
-
const currency =
|
|
86
|
+
const cashbackValue = cashbackData.amount;
|
|
87
|
+
const currency = cashbackData.currency;
|
|
67
88
|
const cashbackMessage = this.getCashbackMessage();
|
|
68
|
-
const cashbackType =
|
|
89
|
+
const cashbackType = cashbackData.offer_type;
|
|
69
90
|
return (index.h(index.Host, null, index.h("div", { class: "s-cashback-banner-container" }, index.h("div", { class: "s-cashback-banner-icon" }, index.h("span", { class: "s-cashback-banner-inner-icon", innerHTML: StarFilledIcon })), index.h("p", null, index.h("span", { class: "s-cashback-banner-label" }, salla.lang.get('pages.loyalty_program.earn'), ' '), index.h("span", { class: "s-cashback-banner-value" }, cashbackType === "percentage" ? "+" : "", cashbackValue, " ", ['SAR', 'ر.س'].includes(currency) ? index.h("i", { class: "sicon-sar" }) : currency, ' '), index.h("span", { class: "s-cashback-banner-label" }, cashbackMessage)))));
|
|
70
91
|
}
|
|
71
92
|
get host() { return index.getElement(this); }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaCommentsCss = ":host{display:block}.s-comments-item-review-factors-toggle{display:inline-flex;align-items:center;gap:0.35rem;padding:0;border:0;background:transparent;color:#0f6a7c;font-size:0.9rem;font-weight:500;cursor:pointer}.s-comments-item-review-factors-chevron{line-height:1;transform:rotate(180deg);transition:transform 0.2s ease}.s-comments-item-review-factors-chevron.is-open{transform:rotate(0deg)}.s-comments-item-review-factors{border:1px solid #e8e8e8;background:rgba(255, 255, 255, 0.3);border-radius:0.6rem;width:min(100%, 26rem);max-width:100%;margin:0 0 1rem;padding:0.85rem 1rem}@media (max-width: 767px){.s-comments-item-review-factors{width:100%;padding:0.75rem}}.s-comments-item-review-factor-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;direction:ltr;min-width:0}@media (max-width: 767px){.s-comments-item-review-factor-row{flex-direction:row;align-items:stretch;gap:0.35rem}}.s-comments-item-review-factor-row+.s-comments-item-review-factor-row{margin-top:0.5rem}.s-comments-item-review-factor-label,.s-comments-item-review-factor-name{color:#4b5563;font-size:0.9rem;line-height:1.45}.s-comments-item-review-factor-name{min-width:6.5rem;text-align:end;flex-shrink:0}@media (max-width: 767px){.s-comments-item-review-factor-name{min-width:5rem;text-align:end}}.s-comments-item-review-factor-label{display:inline-block;min-width:4.75rem}@media (max-width: 767px){.s-comments-item-review-factor-label{min-width:0;flex:1 1 auto}}.s-comments-item-review-factor-value{display:inline-flex;align-items:center;gap:0.35rem;min-width:0}@media (max-width: 767px){.s-comments-item-review-factor-value{width:100%;justify-content:space-between;gap:0.25rem}}.s-rating-stars-wrapper{gap:0 !important}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, 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-CQCEYghd.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
9
9
|
|
|
@@ -37,16 +37,7 @@ const SallaLoginModal = class {
|
|
|
37
37
|
this.scrolling = 'no';
|
|
38
38
|
this.direction = document.dir;
|
|
39
39
|
this.canRenderIframe = false;
|
|
40
|
-
salla.event.on('login::open', (data) =>
|
|
41
|
-
if (!this.isEmailAllowed && !this.isMobileAllowed) {
|
|
42
|
-
salla.logger.warn('Please enable atleast one login type to use this component.');
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
this.source = data?.source ?? false;
|
|
46
|
-
this.withoutReload = data?.withoutReload ?? this.withoutReload;
|
|
47
|
-
this.open(data);
|
|
48
|
-
this.openModal();
|
|
49
|
-
});
|
|
40
|
+
salla.event.on('login::open', (data) => this.onLoginOpen(data));
|
|
50
41
|
salla.event.on('modal::close', (data) => {
|
|
51
42
|
if (this.iframe)
|
|
52
43
|
this.sendMessageToIframe({
|
|
@@ -60,6 +51,24 @@ const SallaLoginModal = class {
|
|
|
60
51
|
this.storeId = salla.config.get('store.id');
|
|
61
52
|
});
|
|
62
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* `login::open` handler. Newer non-SPA native apps (>= 5.0.38) open their OWN native login
|
|
56
|
+
* screen — the mobile bridge emits `mobile::login.open` — so keep the web modal closed to avoid
|
|
57
|
+
* stacking two logins. Extracted from the constructor so it is unit-testable via the prototype
|
|
58
|
+
* (the constructor-based spec suite is quarantined; see salla-login-modal.spec.ts).
|
|
59
|
+
*/
|
|
60
|
+
onLoginOpen(data) {
|
|
61
|
+
if (salla.mobile?.isNativeLoginEnabled?.())
|
|
62
|
+
return;
|
|
63
|
+
if (!this.isEmailAllowed && !this.isMobileAllowed) {
|
|
64
|
+
salla.logger.warn('Please enable atleast one login type to use this component.');
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.source = data?.source ?? false;
|
|
68
|
+
this.withoutReload = data?.withoutReload ?? this.withoutReload;
|
|
69
|
+
this.open(data);
|
|
70
|
+
this.openModal();
|
|
71
|
+
}
|
|
63
72
|
componentDidLoad() {
|
|
64
73
|
window.addEventListener('message', (event) => {
|
|
65
74
|
// Trust only our login iframe/passkey popup at the accounts origin.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
var gift = require('./gift-DbNivqYO.js');
|
|
8
|
-
var trackedPromise = require('./tracked-promise-
|
|
8
|
+
var trackedPromise = require('./tracked-promise-C5ZXyRkz.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "@media (max-width: 639px){.s-loyalty-program-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;max-height:100dvh;overflow-y:auto !important}}.s-loyalty-exchange-card salla-product-card .s-product-card-image,.s-loyalty-exchange-card custom-salla-product-card .s-product-card-image{flex:none;aspect-ratio:1;overflow:hidden}.s-loyalty-exchange-card-btn{padding:0 1.25rem 1.25rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid{display:flex;flex-wrap:wrap;gap:1rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid>*{flex:1 1 100%;min-width:0;touch-action:pan-y}@media (min-width: 640px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 1rem) / 2)}}@media (min-width: 768px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 2rem) / 3)}}.s-loyalty-program-reward-details-products-grid>*:only-child{max-width:320px;margin-inline:auto}.s-loyalty-program-reward-details-products-grid:has(>*:nth-child(3))>*{flex-grow:0}";
|
|
11
11
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
|
+
var functions = require('./functions-sAeow1IW.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-C5ZXyRkz.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$4 = "@media (max-width: 639px){.s-loyalty-program-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;max-height:100dvh;overflow-y:auto !important}}.s-loyalty-exchange-card salla-product-card .s-product-card-image,.s-loyalty-exchange-card custom-salla-product-card .s-product-card-image{flex:none;aspect-ratio:1;overflow:hidden}.s-loyalty-exchange-card-btn{padding:0 1.25rem 1.25rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid{display:flex;flex-wrap:wrap;gap:1rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid>*{flex:1 1 100%;min-width:0;touch-action:pan-y}@media (min-width: 640px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 1rem) / 2)}}@media (min-width: 768px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 2rem) / 3)}}.s-loyalty-program-reward-details-products-grid>*:only-child{max-width:320px;margin-inline:auto}.s-loyalty-program-reward-details-products-grid:has(>*:nth-child(3))>*{flex-grow:0}";
|
|
15
15
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
|
+
var functions = require('./functions-sAeow1IW.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
10
10
|
var userAdd = require('./user-add-BCGrddZS.js');
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
|
+
var functions = require('./functions-sAeow1IW.js');
|
|
8
8
|
var star2 = require('./star2-R146a27p.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
10
10
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
11
11
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
12
12
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
13
|
-
var trackedPromise = require('./tracked-promise-
|
|
13
|
+
var trackedPromise = require('./tracked-promise-C5ZXyRkz.js');
|
|
14
14
|
|
|
15
15
|
var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
|
|
16
16
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CQCEYghd.js');
|
|
7
7
|
|
|
8
8
|
var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
9
|
<path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
|