@salla.sa/twilight-components 2.14.509 → 2.14.511
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-Dn8WkI9_.js → filepond-0TrFNLsw.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-mufjzLbD.js → filepond-plugin-file-poster-sXFNeqzk.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BC6t5UPj.js → filepond-plugin-file-validate-size-Cj55Y7tv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CaQ5Kqok.js → filepond-plugin-file-validate-type-V1HMJfKc.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DvSmfnUl.js → filepond-plugin-image-edit-C9cY0syk.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Br5ovpCW.js → filepond-plugin-image-exif-orientation-DNg_Qcvp.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C71ogaak.js → filepond-plugin-image-preview-CWOnO-Il.js} +1 -1
- package/dist/cjs/{functions-DgFPxTJv.js → functions-CDAUu5J8.js} +1 -1
- package/dist/cjs/{index-DHuZTkix.js → index-Dl2lYw7e.js} +1 -1
- package/dist/cjs/{index-CeEhEVDJ.js → index-RBECSfSj.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 +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 +36 -16
- 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 +36 -6
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +26 -3
- 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 +7 -4
- 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 -13
- 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-DDnavSzb.js → tracked-promise-Cuo4mD3A.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CyrLIKBL.js → vanilla-picker-DCpYcH-A.js} +1 -1
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +36 -15
- package/dist/collection/components/salla-products-list/salla-products-list.js +25 -2
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +35 -5
- package/dist/collection/components/salla-social-share/salla-social-share.js +6 -3
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +0 -12
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-coupons.js +36 -15
- package/dist/components/salla-products-list2.js +25 -2
- package/dist/components/salla-products-slider2.js +35 -5
- package/dist/components/salla-social-share2.js +6 -3
- package/dist/components/salla-trust-badges.js +0 -12
- package/dist/esm/{filepond-Cu0hGP46.js → filepond-CjaPhELa.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DBfLrjkx.js → filepond-plugin-file-poster-C0LSpxdn.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Cq0e60aE.js → filepond-plugin-file-validate-size-f3M1LSPs.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CpRmNAFC.js → filepond-plugin-file-validate-type-BT4JpEVj.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C-7yhkPK.js → filepond-plugin-image-edit-BEc6DVnn.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CTn5LeXC.js → filepond-plugin-image-exif-orientation-CLI5Lnpc.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BsETbqVf.js → filepond-plugin-image-preview-tL-elI_Z.js} +1 -1
- package/dist/esm/{functions-DtC2lEvS.js → functions-WS1lxmHI.js} +1 -1
- package/dist/esm/{index-BEjZOd--.js → index-BzXJjH3_.js} +2 -2
- package/dist/esm/{index-DskkoO4T.js → index-DPFFfWpp.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 +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 +36 -16
- 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 +36 -6
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +26 -3
- 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 +7 -4
- 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 -13
- 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-DzdT8znx.js → tracked-promise-8IpXGZrn.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DzKX2qA5.js → vanilla-picker-zErRrQCU.js} +1 -1
- package/dist/twilight/{p-113e7032.entry.js → p-0966f8f7.entry.js} +1 -1
- package/dist/twilight/{p-74c84c67.entry.js → p-0a5abade.entry.js} +1 -1
- package/dist/twilight/{p-05f01920.entry.js → p-0f85f426.entry.js} +1 -1
- package/dist/twilight/{p-d76f186c.entry.js → p-10813f86.entry.js} +1 -1
- package/dist/twilight/{p-d66af968.entry.js → p-12028092.entry.js} +1 -1
- package/dist/twilight/{p-8f982a91.entry.js → p-122e4c59.entry.js} +1 -1
- package/dist/twilight/{p-384febda.entry.js → p-13ecf9e4.entry.js} +1 -1
- package/dist/twilight/{p-da441555.entry.js → p-15dc5b21.entry.js} +1 -1
- package/dist/twilight/{p-7e4fea4b.entry.js → p-163f69e6.entry.js} +1 -1
- package/dist/twilight/{p-f3f0ee9b.entry.js → p-1866f9c3.entry.js} +1 -1
- package/dist/twilight/{p-4317eeb9.entry.js → p-187ded90.entry.js} +1 -1
- package/dist/twilight/{p-5201eb4f.entry.js → p-19167e8e.entry.js} +1 -1
- package/dist/twilight/{p-8c6730a9.entry.js → p-1b5a5f72.entry.js} +1 -1
- package/dist/twilight/{p-1df6827d.entry.js → p-1d457356.entry.js} +1 -1
- package/dist/twilight/{p-c4f379a8.entry.js → p-1dec09dc.entry.js} +1 -1
- package/dist/twilight/{p-804cfed5.entry.js → p-1ed9218d.entry.js} +1 -1
- package/dist/twilight/{p-6d970be9.entry.js → p-25c71303.entry.js} +1 -1
- package/dist/twilight/p-2bcc8c86.entry.js +4 -0
- package/dist/twilight/{p-62abd25a.entry.js → p-2bd92b4c.entry.js} +1 -1
- package/dist/twilight/{p-ed698e64.entry.js → p-2bfb0fb2.entry.js} +1 -1
- package/dist/twilight/{p-1c03607d.entry.js → p-2ff6b717.entry.js} +1 -1
- package/dist/twilight/{p-d6d8d12e.entry.js → p-3047dfdc.entry.js} +1 -1
- package/dist/twilight/{p-3350c805.entry.js → p-30d838f8.entry.js} +1 -1
- package/dist/twilight/{p-0a3e9f94.entry.js → p-312b9913.entry.js} +1 -1
- package/dist/twilight/{p-1bec8b0a.entry.js → p-32115a7c.entry.js} +1 -1
- package/dist/twilight/{p-2643952e.entry.js → p-361f2c67.entry.js} +1 -1
- package/dist/twilight/{p-37310557.entry.js → p-371fa310.entry.js} +1 -1
- package/dist/twilight/{p-9807935d.entry.js → p-37b787f8.entry.js} +1 -1
- package/dist/twilight/{p-03505fdd.entry.js → p-3b392d81.entry.js} +1 -1
- package/dist/twilight/{p-b2789ab4.entry.js → p-4167598b.entry.js} +1 -1
- package/dist/twilight/{p-e1842675.entry.js → p-43969215.entry.js} +1 -1
- package/dist/twilight/{p-fa7c213b.entry.js → p-43ec1827.entry.js} +1 -1
- package/dist/twilight/{p-b6322bba.entry.js → p-43fe8a0a.entry.js} +1 -1
- package/dist/twilight/{p-e69c2c35.entry.js → p-4913d6ba.entry.js} +1 -1
- package/dist/twilight/{p-fef39c48.entry.js → p-4938bf81.entry.js} +1 -1
- package/dist/twilight/{p-48cf6b68.entry.js → p-4a817d85.entry.js} +1 -1
- package/dist/twilight/{p-a476f7b2.entry.js → p-4ca2825a.entry.js} +1 -1
- package/dist/twilight/{p-30d6436e.entry.js → p-4cebda70.entry.js} +1 -1
- package/dist/twilight/p-4f959ae5.entry.js +4 -0
- package/dist/twilight/p-4fd756c5.entry.js +4 -0
- package/dist/twilight/{p-3d44e1e9.entry.js → p-5252b5a2.entry.js} +1 -1
- package/dist/twilight/{p-516e9179.entry.js → p-529997bc.entry.js} +1 -1
- package/dist/twilight/{p-33756c72.entry.js → p-53550e95.entry.js} +1 -1
- package/dist/twilight/{p-8fcc4bb0.entry.js → p-5cd30322.entry.js} +1 -1
- package/dist/twilight/{p-effae25c.entry.js → p-62ad47dd.entry.js} +1 -1
- package/dist/twilight/{p-518b6032.entry.js → p-66ed854d.entry.js} +1 -1
- package/dist/twilight/{p-bbb48f58.entry.js → p-686449c6.entry.js} +1 -1
- package/dist/twilight/{p-9eade28d.entry.js → p-6c4db562.entry.js} +1 -1
- package/dist/twilight/{p-62a86556.entry.js → p-6e277fa5.entry.js} +1 -1
- package/dist/twilight/{p-758894b7.entry.js → p-6eaca1e9.entry.js} +1 -1
- package/dist/twilight/{p-ad8eda9d.entry.js → p-70343fbe.entry.js} +1 -1
- package/dist/twilight/{p-2c7e18c5.entry.js → p-7e5a9c05.entry.js} +1 -1
- package/dist/twilight/{p-0959b41c.entry.js → p-7f216092.entry.js} +1 -1
- package/dist/twilight/{p-fc18bd83.entry.js → p-835e1720.entry.js} +1 -1
- package/dist/twilight/{p-e7b03751.entry.js → p-84a2e146.entry.js} +1 -1
- package/dist/twilight/{p-734dfd28.entry.js → p-8ce3c79b.entry.js} +1 -1
- package/dist/twilight/{p-017a1a77.entry.js → p-8db68f3d.entry.js} +1 -1
- package/dist/twilight/{p-86df9649.entry.js → p-990d73e5.entry.js} +1 -1
- package/dist/twilight/{p-09cd7f70.entry.js → p-9af863dd.entry.js} +1 -1
- package/dist/twilight/{p-193cccd3.entry.js → p-9c4551d3.entry.js} +1 -1
- package/dist/twilight/{p-8c03c0d2.entry.js → p-9fde4f40.entry.js} +1 -1
- package/dist/twilight/{p-BDLhoSt2.js → p-BhhfXcnE.js} +1 -1
- package/dist/twilight/{p--UKCKF-7.js → p-Bhltl2or.js} +1 -1
- package/dist/twilight/{p-CCH8joDb.js → p-BwKXOq15.js} +1 -1
- package/dist/twilight/{p-D2_JplO8.js → p-BysanGjD.js} +1 -1
- package/dist/twilight/p-BzXJjH3_.js +5 -0
- package/dist/twilight/p-CEF833Pb.js +9 -0
- package/dist/twilight/{p-CGahPnsw.js → p-CjEMgJ1i.js} +1 -1
- package/dist/twilight/{p-COwpiJQt.js → p-E55oFDS1.js} +1 -1
- package/dist/twilight/{p-Da0xrmo3.js → p-H-aq6XJu.js} +1 -1
- package/dist/twilight/{p-CxQVHI3A.js → p-JRV6DyMs.js} +1 -1
- package/dist/twilight/{p-BTVc7r-Z.js → p-NOKgwy8A.js} +1 -1
- package/dist/twilight/p-a301a082.entry.js +4 -0
- package/dist/twilight/{p-925af19b.entry.js → p-a3067dbe.entry.js} +1 -1
- package/dist/twilight/{p-b847e008.entry.js → p-a5d2bc90.entry.js} +1 -1
- package/dist/twilight/{p-b25fd5f0.entry.js → p-aa240b44.entry.js} +1 -1
- package/dist/twilight/{p-52c0a1b5.entry.js → p-aaa2e8e1.entry.js} +1 -1
- package/dist/twilight/{p-3791a8d0.entry.js → p-ae947a2b.entry.js} +1 -1
- package/dist/twilight/{p-abd00b41.entry.js → p-b27714a1.entry.js} +1 -1
- package/dist/twilight/{p-25f8d253.entry.js → p-b36ef4ee.entry.js} +1 -1
- package/dist/twilight/{p-27252d50.entry.js → p-b3f87110.entry.js} +1 -1
- package/dist/twilight/{p-41ac2dc0.entry.js → p-b45977fc.entry.js} +1 -1
- package/dist/twilight/{p-42c57314.entry.js → p-b86386d2.entry.js} +1 -1
- package/dist/twilight/{p-bec996fb.entry.js → p-b88d695e.entry.js} +1 -1
- package/dist/twilight/{p-d53f9574.entry.js → p-ba5c7e3e.entry.js} +1 -1
- package/dist/twilight/{p-8b9c8776.entry.js → p-bbffb514.entry.js} +1 -1
- package/dist/twilight/{p-8ddfe69e.entry.js → p-c2acc36a.entry.js} +1 -1
- package/dist/twilight/{p-8d199be5.entry.js → p-c4d46f4b.entry.js} +1 -1
- package/dist/twilight/{p-d6fbb91c.entry.js → p-c99eb3de.entry.js} +1 -1
- package/dist/twilight/{p-6c3b50e2.entry.js → p-ca53abe7.entry.js} +1 -1
- package/dist/twilight/{p-7edc5c88.entry.js → p-cb38bb75.entry.js} +1 -1
- package/dist/twilight/{p-12c571d7.entry.js → p-cb4229d4.entry.js} +1 -1
- package/dist/twilight/{p-725eeeed.entry.js → p-d1d21f23.entry.js} +1 -1
- package/dist/twilight/{p-858f485b.entry.js → p-d2bbfd4f.entry.js} +1 -1
- package/dist/twilight/{p-6681db6a.entry.js → p-d6af92b7.entry.js} +1 -1
- package/dist/twilight/{p-47a7f1a5.entry.js → p-e08df4d8.entry.js} +1 -1
- package/dist/twilight/{p-557609aa.entry.js → p-e74e02fa.entry.js} +1 -1
- package/dist/twilight/{p-de07b85c.entry.js → p-ed37ffa6.entry.js} +1 -1
- package/dist/twilight/{p-6ba99048.entry.js → p-eef23f94.entry.js} +1 -1
- package/dist/twilight/{p-296df4c6.entry.js → p-eefef4f2.entry.js} +1 -1
- package/dist/twilight/{p-3ccbdb7a.entry.js → p-f3becfdd.entry.js} +1 -1
- package/dist/twilight/{p-69758093.entry.js → p-f67fea81.entry.js} +1 -1
- package/dist/twilight/{p-27acb426.entry.js → p-f7787aa5.entry.js} +1 -1
- package/dist/twilight/{p-4d76cd8f.entry.js → p-fb03f79e.entry.js} +1 -1
- package/dist/twilight/{p-e78fe137.entry.js → p-fb21f5ee.entry.js} +1 -1
- package/dist/twilight/{p-Dv2SelMn.js → p-mtDZC_bP.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +5 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +13 -0
- package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +13 -0
- package/dist/types/components/salla-social-share/salla-social-share.d.ts +1 -0
- package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +0 -2
- package/package.json +5 -5
- package/dist/twilight/p-0950cbbb.entry.js +0 -4
- package/dist/twilight/p-19388aef.entry.js +0 -4
- package/dist/twilight/p-21870458.entry.js +0 -4
- package/dist/twilight/p-5958986c.entry.js +0 -4
- package/dist/twilight/p-BEjZOd--.js +0 -5
- package/dist/twilight/p-Dw58JgkP.js +0 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { H as Helper } from './Helper-BQ9mvrt9.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaPaymentsCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
6
6
|
|
|
7
7
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { H as Helper } from './Helper-BQ9mvrt9.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -176,7 +176,7 @@ const SallaProductsSlider = class {
|
|
|
176
176
|
}
|
|
177
177
|
componentWillLoad() {
|
|
178
178
|
return salla.onReady()
|
|
179
|
-
.then(() => {
|
|
179
|
+
.then(async () => {
|
|
180
180
|
//TODO:: check why `this.includes` not working!!
|
|
181
181
|
this.includes = Helper.parseJson(this.includes || this.host.getAttribute('includes'));
|
|
182
182
|
if (!Array.isArray(this.includes)) {
|
|
@@ -190,7 +190,7 @@ const SallaProductsSlider = class {
|
|
|
190
190
|
}
|
|
191
191
|
this.hasCustomComponent = !!customElements.get(this.productCardComponent);
|
|
192
192
|
if (this.source === 'json') {
|
|
193
|
-
this.productsData = this.getSourceValue();
|
|
193
|
+
this.productsData = await this.applyBeforeAppendItems(this.getSourceValue());
|
|
194
194
|
this.isReady = true;
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
@@ -198,18 +198,25 @@ const SallaProductsSlider = class {
|
|
|
198
198
|
this.isReady = false;
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
|
+
if (this.getSource() === 'related' &&
|
|
202
|
+
salla.config.get('store.settings.product.related_products_enabled') &&
|
|
203
|
+
salla.config.get('store.settings.product.product-recommendation-type') === 'random' &&
|
|
204
|
+
salla.config.get('store.features')?.includes('ai-driven-personalized-product')) {
|
|
205
|
+
this.sourceValue = await salla.recommendations.similarProducts(this.sourceValue, { limit: this.limit || 12 }).extractProductIds();
|
|
206
|
+
this.source = 'selected';
|
|
207
|
+
}
|
|
201
208
|
return salla.api.withoutNotifier(() => salla.product.api.fetch({
|
|
202
209
|
source: Helper.getApiSource(this.getSource()),
|
|
203
210
|
source_value: this.getSourceValue(),
|
|
204
211
|
limit: this.limit
|
|
205
212
|
}))
|
|
206
213
|
.then(response => Helper.injectExtraFieldsToResponse(response))
|
|
207
|
-
.then(response => {
|
|
208
|
-
this.productsData = response.data;
|
|
214
|
+
.then(async (response) => {
|
|
215
|
+
this.productsData = await this.applyBeforeAppendItems(response.data);
|
|
209
216
|
this.isReady = true;
|
|
210
217
|
response.source = this.getSource();
|
|
211
218
|
response.sourceValue = this.getSourceValue();
|
|
212
|
-
salla.event.emit('salla-products-slider::products.fetched',
|
|
219
|
+
salla.event.emit('salla-products-slider::products.fetched', this.productsData);
|
|
213
220
|
});
|
|
214
221
|
});
|
|
215
222
|
}
|
|
@@ -269,6 +276,29 @@ const SallaProductsSlider = class {
|
|
|
269
276
|
getSourceValue() {
|
|
270
277
|
return Helper.getProductsSourceValue(this.source, this.sourceValue);
|
|
271
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Allows bundles to modify or replace products before they are rendered.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* salla.hooks.registerHook(
|
|
284
|
+
* 'salla-products-slider',
|
|
285
|
+
* 'beforeAppendItems',
|
|
286
|
+
* async (ctx) => {
|
|
287
|
+
* ctx.items = ctx.items.filter((item) => item.is_available);
|
|
288
|
+
* },
|
|
289
|
+
* );
|
|
290
|
+
*/
|
|
291
|
+
async applyBeforeAppendItems(items) {
|
|
292
|
+
const originalItems = Array.isArray(items) ? items : [];
|
|
293
|
+
const ctx = { component: this, items: originalItems };
|
|
294
|
+
try {
|
|
295
|
+
await salla.hooks.call('salla-products-slider', 'beforeAppendItems', ctx);
|
|
296
|
+
return Array.isArray(ctx.items) ? ctx.items : originalItems;
|
|
297
|
+
}
|
|
298
|
+
catch {
|
|
299
|
+
return originalItems;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
272
302
|
render() {
|
|
273
303
|
if (!this.canRender()) {
|
|
274
304
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
|
|
7
7
|
import { H as Helper } from './Helper-BQ9mvrt9.js';
|
|
@@ -1084,12 +1084,35 @@ const SallaProductsList = class {
|
|
|
1084
1084
|
this.infiniteScroll.option({ scrollThreshold: false, loadOnScroll: false });
|
|
1085
1085
|
this.status.querySelector('.s-infinite-scroll-last').classList.remove('s-hidden');
|
|
1086
1086
|
}
|
|
1087
|
+
let items = await this.applyBeforeAppendItems(response.data);
|
|
1087
1088
|
const productCardsView = [];
|
|
1088
|
-
for (let i = 0; i <
|
|
1089
|
-
productCardsView.push(this.getItemHTML(
|
|
1089
|
+
for (let i = 0; i < items.length; i++) {
|
|
1090
|
+
productCardsView.push(this.getItemHTML(items[i]));
|
|
1090
1091
|
}
|
|
1091
1092
|
return productCardsView;
|
|
1092
1093
|
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Allows bundles to modify or replace products before they are appended.
|
|
1096
|
+
*
|
|
1097
|
+
* @example
|
|
1098
|
+
* salla.hooks.registerHook(
|
|
1099
|
+
* 'salla-products-list',
|
|
1100
|
+
* 'beforeAppendItems',
|
|
1101
|
+
* async (ctx) => {
|
|
1102
|
+
* ctx.items = ctx.items.filter((item) => item.is_available);
|
|
1103
|
+
* },
|
|
1104
|
+
* );
|
|
1105
|
+
*/
|
|
1106
|
+
async applyBeforeAppendItems(items) {
|
|
1107
|
+
const ctx = { component: this, items };
|
|
1108
|
+
try {
|
|
1109
|
+
await salla.hooks.call('salla-products-list', 'beforeAppendItems', ctx);
|
|
1110
|
+
return Array.isArray(ctx.items) ? ctx.items : items;
|
|
1111
|
+
}
|
|
1112
|
+
catch {
|
|
1113
|
+
return items;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1093
1116
|
get host() { return getElement(this); }
|
|
1094
1117
|
static get watchers() { return {
|
|
1095
1118
|
"selectable": ["onSelectableChanged"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
|
|
6
6
|
import { e as email } from './mail-DzAIgzdz.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as Star } from './star-CeFAfcTv.js';
|
|
6
6
|
import { S as ShippingFast } from './shipping-fast-lMgMt31Q.js';
|
|
7
7
|
import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
|
|
7
7
|
import { I as ImageIcon } from './image-C-tzSDxw.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
|
|
7
7
|
const CACHE_TTL = 5 * 60 * 1000;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
|
|
7
7
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
import { H as Helper } from './Helper-BQ9mvrt9.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
7
7
|
import { e as email } from './mail-DzAIgzdz.js';
|
|
@@ -108,7 +108,7 @@ const SallaSocialShare = class {
|
|
|
108
108
|
if (this.host.hasAttribute('aria-label')) {
|
|
109
109
|
this.host.removeAttribute('aria-label');
|
|
110
110
|
}
|
|
111
|
-
if (
|
|
111
|
+
if (this.supportsNativeShare() || document.getElementById('a2a-script')) {
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
const script = document.createElement('script');
|
|
@@ -237,8 +237,11 @@ const SallaSocialShare = class {
|
|
|
237
237
|
this.deferOutsideClickGuard();
|
|
238
238
|
return this.open();
|
|
239
239
|
}
|
|
240
|
+
supportsNativeShare() {
|
|
241
|
+
return !!salla.mobile?.isSpaWebview?.();
|
|
242
|
+
}
|
|
240
243
|
handleShareClick() {
|
|
241
|
-
if (
|
|
244
|
+
if (this.supportsNativeShare()) {
|
|
242
245
|
salla.event.dispatch('mobile::share.open', { url: this.getShareUrl() });
|
|
243
246
|
return;
|
|
244
247
|
}
|
|
@@ -378,7 +381,7 @@ const SallaSocialShare = class {
|
|
|
378
381
|
})));
|
|
379
382
|
}
|
|
380
383
|
render() {
|
|
381
|
-
return (h("div", { key: '
|
|
384
|
+
return (h("div", { key: 'cd2d10a50c7d07fb261471e7ca8e81891bc489e9', class: "s-social-share-wrapper" }, h("slot", { key: '94627cdb3aa11d3844c984d8890b13dc7e1f0e3c', name: "widget" }, h("salla-button", { key: '3b5ea25966484669a935e62ccbc3d383078337d8', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '3de3ea0b6f4843a24eeab1f7d6f0be3c8f85de41', innerHTML: this.opened ? SICancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
|
|
382
385
|
}
|
|
383
386
|
get host() { return getElement(this); }
|
|
384
387
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
6
6
|
|
|
7
7
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaTabContentCss = "";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaTrustBadgesCss = "";
|
|
7
7
|
|
|
@@ -39,7 +39,6 @@ const SallaTrustBadges = class {
|
|
|
39
39
|
el.style.setProperty('content-visibility', 'visible', 'important');
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
this.logHidePreventedOnce(badgeData.type);
|
|
43
42
|
};
|
|
44
43
|
this.runEnforce = () => {
|
|
45
44
|
this.clearEnforceTimers();
|
|
@@ -119,16 +118,6 @@ const SallaTrustBadges = class {
|
|
|
119
118
|
}
|
|
120
119
|
return true;
|
|
121
120
|
}
|
|
122
|
-
// Log a prevented hide attempt once per device; never let telemetry block the repair.
|
|
123
|
-
logHidePreventedOnce(type) {
|
|
124
|
-
try {
|
|
125
|
-
if (salla.storage.get(SallaTrustBadges.HIDE_PREVENTED_LOGGED_KEY))
|
|
126
|
-
return;
|
|
127
|
-
salla.analytics?.log('salla::trust-badges.hide-prevented', { type });
|
|
128
|
-
salla.storage.set(SallaTrustBadges.HIDE_PREVENTED_LOGGED_KEY, true);
|
|
129
|
-
}
|
|
130
|
-
catch { }
|
|
131
|
-
}
|
|
132
121
|
clearEnforceTimers() {
|
|
133
122
|
if (this.enforceTimer !== undefined) {
|
|
134
123
|
clearTimeout(this.enforceTimer);
|
|
@@ -243,7 +232,6 @@ const SallaTrustBadges = class {
|
|
|
243
232
|
SallaTrustBadges.OPACITY_THRESHOLD = 0.1;
|
|
244
233
|
SallaTrustBadges.ENFORCE_DEBOUNCE_MS = 1500;
|
|
245
234
|
SallaTrustBadges.ENFORCE_MAX_WAIT_MS = 3000;
|
|
246
|
-
SallaTrustBadges.HIDE_PREVENTED_LOGGED_KEY = 'salla::trust-badges-hide-prevented-logged';
|
|
247
235
|
SallaTrustBadges.style = sallaTrustBadgesCss;
|
|
248
236
|
|
|
249
237
|
export { SallaTrustBadges as salla_trust_badges };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
|
|
6
6
|
import { B as BellRing } from './bell-ring-D3mWkc-3.js';
|
|
7
7
|
import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-BzXJjH3_.js';
|
|
5
5
|
import { G as Genders } from './interfaces-OF8QcbMM.js';
|
|
6
6
|
|
|
7
7
|
const sallaUserProfileCss = ":host{display:block}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
import { e as email } from './mail-DzAIgzdz.js';
|
|
6
6
|
|
|
7
7
|
var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
const sallaWishlistActionsCss = ":host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { f as forceUpdate } from './index-
|
|
4
|
+
import { f as forceUpdate } from './index-BzXJjH3_.js';
|
|
5
5
|
|
|
6
6
|
function TrackedPromise(fn, options = {}) {
|
|
7
7
|
options = Object.assign({ initialData: undefined, initialStatus: 'idle' }, options);
|