@salla.sa/twilight-components 2.14.455 → 2.14.457
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-CASXTVVn.js → filepond-DI8ISGjS.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-NwV0t9zF.js → filepond-plugin-file-poster-ESJxh-Bw.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-S-_ZCnL0.js → filepond-plugin-file-validate-size-DxnZdfmW.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-8fAsih_V.js → filepond-plugin-file-validate-type-COsVrixD.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BdKPXtEG.js → filepond-plugin-image-edit-DiJ6-7Hm.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-iTp4daNS.js → filepond-plugin-image-exif-orientation-BWCeP8LZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-D5CX6xww.js → filepond-plugin-image-preview-pGgHkIkq.js} +1 -1
- package/dist/cjs/{functions-BlV_viZ0.js → functions-Eywmk_-l.js} +1 -1
- package/dist/cjs/{index-CXqniRSt.js → index-C1PF-Plo.js} +2 -2
- package/dist/cjs/{index-BANBu7pv.js → index-C5wAeBp0.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-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-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-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.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 +2 -2
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +7 -2
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +172 -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/{tracked-promise-TlVxYBIU.js → tracked-promise-Ct6pS37v.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-B3HS631p.js → vanilla-picker-nIHoyXND.js} +1 -1
- package/dist/collection/components/salla-offer/salla-offer.js +1 -1
- package/dist/collection/components/salla-tiered-offer/salla-tiered-offer.js +6 -1
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +171 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-offer.js +1 -1
- package/dist/components/salla-tiered-offer.js +6 -1
- package/dist/components/salla-trust-badges.js +171 -0
- package/dist/esm/{filepond-HUxLccYt.js → filepond-CfX7rWSP.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CKU5WMer.js → filepond-plugin-file-poster-Df2yVqup.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BJ7uOb2z.js → filepond-plugin-file-validate-size-BPKCT1Yo.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-ZilEA2CP.js → filepond-plugin-file-validate-type-5Jsz5nHO.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-k3H2LHPc.js → filepond-plugin-image-edit-DlpOgBS2.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-C1fWSMsF.js → filepond-plugin-image-exif-orientation-_FOJPmuq.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CBiR7yYc.js → filepond-plugin-image-preview-BeFU1che.js} +1 -1
- package/dist/esm/{functions-BUK_6AVv.js → functions-Di2eP8On.js} +1 -1
- package/dist/esm/{index-B8tvf2Er.js → index-BPFCDJsY.js} +1 -1
- package/dist/esm/{index-B27mc3DA.js → index-DzuK832n.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +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-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-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-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.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 +2 -2
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +7 -2
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +172 -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/{tracked-promise-BhMK_w_-.js → tracked-promise-DJfvIynp.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-CqDptb8B.js → vanilla-picker-Ceac_CZi.js} +1 -1
- package/dist/twilight/{p-c014a283.entry.js → p-04c6aef7.entry.js} +1 -1
- package/dist/twilight/{p-0154dd29.entry.js → p-060755f8.entry.js} +1 -1
- package/dist/twilight/{p-224aeae6.entry.js → p-06fe4aac.entry.js} +1 -1
- package/dist/twilight/{p-025899d4.entry.js → p-08d6ce33.entry.js} +1 -1
- package/dist/twilight/p-0ac67d41.entry.js +4 -0
- package/dist/twilight/{p-c151d43a.entry.js → p-0df546c7.entry.js} +1 -1
- package/dist/twilight/{p-3869c01a.entry.js → p-0eb01f59.entry.js} +1 -1
- package/dist/twilight/{p-eb395203.entry.js → p-1012a314.entry.js} +1 -1
- package/dist/twilight/{p-3194b8f1.entry.js → p-110ad875.entry.js} +1 -1
- package/dist/twilight/{p-acf1d397.entry.js → p-1165d905.entry.js} +1 -1
- package/dist/twilight/{p-39521cc9.entry.js → p-155a2173.entry.js} +1 -1
- package/dist/twilight/{p-3a824c45.entry.js → p-159bc4a8.entry.js} +1 -1
- package/dist/twilight/{p-9856394d.entry.js → p-16b6aaf1.entry.js} +1 -1
- package/dist/twilight/{p-b151943e.entry.js → p-1810a066.entry.js} +1 -1
- package/dist/twilight/{p-8ebc59c6.entry.js → p-1f2dd00f.entry.js} +1 -1
- package/dist/twilight/{p-583fbeac.entry.js → p-275bf5bc.entry.js} +1 -1
- package/dist/twilight/{p-8cc38fe2.entry.js → p-289ee72b.entry.js} +1 -1
- package/dist/twilight/{p-2f2d596c.entry.js → p-2abd6569.entry.js} +1 -1
- package/dist/twilight/{p-873b3598.entry.js → p-3414beb0.entry.js} +1 -1
- package/dist/twilight/{p-708c9d55.entry.js → p-37183635.entry.js} +1 -1
- package/dist/twilight/{p-77adb9d5.entry.js → p-3e5b5d89.entry.js} +1 -1
- package/dist/twilight/{p-87691e20.entry.js → p-3e8b2de2.entry.js} +1 -1
- package/dist/twilight/{p-295ed7eb.entry.js → p-42c91eaa.entry.js} +1 -1
- package/dist/twilight/{p-e0d55016.entry.js → p-49356d3a.entry.js} +1 -1
- package/dist/twilight/{p-9608cb48.entry.js → p-4b3fd1cd.entry.js} +1 -1
- package/dist/twilight/{p-9ac73546.entry.js → p-4db2517c.entry.js} +1 -1
- package/dist/twilight/{p-bc2df32d.entry.js → p-52a092f5.entry.js} +1 -1
- package/dist/twilight/{p-0d42f5f7.entry.js → p-57cdc67d.entry.js} +1 -1
- package/dist/twilight/{p-496b138e.entry.js → p-580161e4.entry.js} +1 -1
- package/dist/twilight/{p-f1c1c640.entry.js → p-5bcb626c.entry.js} +1 -1
- package/dist/twilight/{p-27c704c4.entry.js → p-5cc7a121.entry.js} +1 -1
- package/dist/twilight/{p-1952dfe2.entry.js → p-5e520119.entry.js} +1 -1
- package/dist/twilight/{p-3dcf296d.entry.js → p-5e636354.entry.js} +1 -1
- package/dist/twilight/p-6bd404aa.entry.js +4 -0
- package/dist/twilight/{p-e0810a73.entry.js → p-6c870b6f.entry.js} +1 -1
- package/dist/twilight/{p-4365ccdf.entry.js → p-6e4402ff.entry.js} +1 -1
- package/dist/twilight/{p-7170bbe5.entry.js → p-77e38f23.entry.js} +1 -1
- package/dist/twilight/{p-37fa2c33.entry.js → p-7863b9a5.entry.js} +1 -1
- package/dist/twilight/{p-f7139cc6.entry.js → p-7c7a6161.entry.js} +1 -1
- package/dist/twilight/{p-09fa0a96.entry.js → p-7d395fbe.entry.js} +1 -1
- package/dist/twilight/{p-c6d833e5.entry.js → p-7d827f74.entry.js} +1 -1
- package/dist/twilight/{p-1c717064.entry.js → p-7e0b913c.entry.js} +1 -1
- package/dist/twilight/{p-8a07799b.entry.js → p-838ff338.entry.js} +1 -1
- package/dist/twilight/{p-a3fb3aa0.entry.js → p-87241e88.entry.js} +1 -1
- package/dist/twilight/{p-9ada1f3d.entry.js → p-883a555a.entry.js} +1 -1
- package/dist/twilight/{p-e9b8ac57.entry.js → p-89ac6701.entry.js} +1 -1
- package/dist/twilight/{p-4cc417ec.entry.js → p-89f4edb7.entry.js} +1 -1
- package/dist/twilight/{p-D6ttjw8h.js → p-8TBr5YYa.js} +1 -1
- package/dist/twilight/{p-5414f877.entry.js → p-8ccc2e24.entry.js} +1 -1
- package/dist/twilight/{p-7d79041c.entry.js → p-920f7f1f.entry.js} +1 -1
- package/dist/twilight/{p-22cdee08.entry.js → p-925f99d0.entry.js} +1 -1
- package/dist/twilight/{p-52dccf8f.entry.js → p-93d301fe.entry.js} +1 -1
- package/dist/twilight/{p-df76f90f.entry.js → p-9545c121.entry.js} +1 -1
- package/dist/twilight/{p-a74c0330.entry.js → p-97c06c97.entry.js} +1 -1
- package/dist/twilight/{p-0cce3436.entry.js → p-9afb191a.entry.js} +1 -1
- package/dist/twilight/{p-a5b876da.entry.js → p-9ba332ef.entry.js} +1 -1
- package/dist/twilight/{p-DNVKaOjC.js → p-B_1X3ghS.js} +1 -1
- package/dist/twilight/{p-DXVnxhxo.js → p-BpqnVE1u.js} +1 -1
- package/dist/twilight/p-C8D5rUa4.js +9 -0
- package/dist/twilight/{p-C8a5AE0g.js → p-CASql_Bi.js} +1 -1
- package/dist/twilight/{p-CJxdBsuY.js → p-CJHZswvP.js} +1 -1
- package/dist/twilight/{p-kzSVkHK7.js → p-CrxsAk8y.js} +1 -1
- package/dist/twilight/{p-Tj_9K_OT.js → p-DhhUpOxO.js} +1 -1
- package/dist/twilight/{p-oKl48ETd.js → p-DxUobFF1.js} +1 -1
- package/dist/twilight/{p-B27mc3DA.js → p-DzuK832n.js} +1 -1
- package/dist/twilight/{p-3fe0b0d9.entry.js → p-a0a0a278.entry.js} +1 -1
- package/dist/twilight/{p-8b775b6c.entry.js → p-a430cf7b.entry.js} +1 -1
- package/dist/twilight/{p-28880d56.entry.js → p-a5f080a9.entry.js} +1 -1
- package/dist/twilight/{p-f1c253a9.entry.js → p-a5f1b4ee.entry.js} +1 -1
- package/dist/twilight/{p-7054b12e.entry.js → p-a79ae695.entry.js} +1 -1
- package/dist/twilight/{p-63453993.entry.js → p-b212b49f.entry.js} +1 -1
- package/dist/twilight/{p-01fd4f64.entry.js → p-b77f9e65.entry.js} +1 -1
- package/dist/twilight/{p-2ad70328.entry.js → p-b7968973.entry.js} +1 -1
- package/dist/twilight/{p-731ddff8.entry.js → p-b7a0fea9.entry.js} +1 -1
- package/dist/twilight/{p-02c191cb.entry.js → p-b93a7adb.entry.js} +1 -1
- package/dist/twilight/{p-0c369b88.entry.js → p-b9e787cb.entry.js} +1 -1
- package/dist/twilight/{p-ffe3256d.entry.js → p-bcfea8e6.entry.js} +1 -1
- package/dist/twilight/{p-4e340653.entry.js → p-bdfba028.entry.js} +1 -1
- package/dist/twilight/{p-af896a9c.entry.js → p-c33046c1.entry.js} +1 -1
- package/dist/twilight/{p-8610d773.entry.js → p-c48ca641.entry.js} +1 -1
- package/dist/twilight/{p-04555243.entry.js → p-c7359aad.entry.js} +1 -1
- package/dist/twilight/{p-0d733ece.entry.js → p-cd164d87.entry.js} +1 -1
- package/dist/twilight/{p-033a25d9.entry.js → p-cd9cec40.entry.js} +1 -1
- package/dist/twilight/{p-099511cb.entry.js → p-d231e351.entry.js} +1 -1
- package/dist/twilight/{p-3ce0ec88.entry.js → p-d96cf392.entry.js} +1 -1
- package/dist/twilight/{p-a9200d8b.entry.js → p-d97d23d8.entry.js} +1 -1
- package/dist/twilight/{p-349723b8.entry.js → p-dcc97187.entry.js} +1 -1
- package/dist/twilight/{p-cc5f66f2.entry.js → p-e1cdebc4.entry.js} +1 -1
- package/dist/twilight/{p-1eadcb01.entry.js → p-e397a094.entry.js} +1 -1
- package/dist/twilight/{p-716fa631.entry.js → p-e6d5e5be.entry.js} +1 -1
- package/dist/twilight/{p-f8f54860.entry.js → p-ea028b8c.entry.js} +1 -1
- package/dist/twilight/{p-caa938d4.entry.js → p-f13145d5.entry.js} +1 -1
- package/dist/twilight/{p-f762c572.entry.js → p-f7533e3f.entry.js} +1 -1
- package/dist/twilight/{p-0a5bffbb.entry.js → p-f8bc596f.entry.js} +1 -1
- package/dist/twilight/{p-45e86a35.entry.js → p-fa86a0bc.entry.js} +1 -1
- package/dist/twilight/{p-14ca613a.entry.js → p-fcc7ab3c.entry.js} +1 -1
- package/dist/twilight/{p-BUeUpASK.js → p-hHZs35On.js} +1 -1
- package/dist/twilight/{p-twQLVtaI.js → p-oTUgiqv4.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +25 -0
- package/package.json +5 -5
- package/dist/twilight/p-88309e40.entry.js +0 -4
- package/dist/twilight/p-BDVAyd15.js +0 -9
- package/dist/twilight/p-ef2fbf89.entry.js +0 -4
|
@@ -134,7 +134,7 @@ const SallaOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaOffer extends H
|
|
|
134
134
|
}
|
|
135
135
|
throw new Error("Merchant disabled showing the offers on product page");
|
|
136
136
|
})
|
|
137
|
-
.then(async () => salla.api.request(await this.getEndpointByPageName()))
|
|
137
|
+
.then(async () => this.currentPage == PageType.Cart ? salla.api.cart.offers() : salla.api.request(await this.getEndpointByPageName()))
|
|
138
138
|
.then(async (res) => {
|
|
139
139
|
if (!(this.offersList = res.data).length) {
|
|
140
140
|
throw new Error('salla-offers:: There is no offers!');
|
|
@@ -178,7 +178,12 @@ const SallaTieredOffer$1 = /*@__PURE__*/ proxyCustomElement(class SallaTieredOff
|
|
|
178
178
|
componentDidLoad() {
|
|
179
179
|
salla.event.on("cart::updated", async (updatedCart) => {
|
|
180
180
|
const offerData = await this.fetchTieredOfferData();
|
|
181
|
-
if (offerData)
|
|
181
|
+
if (!offerData)
|
|
182
|
+
return;
|
|
183
|
+
if (!this.tieredOfferData) {
|
|
184
|
+
this.initializeComponent(offerData);
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
182
187
|
this.updateOfferValues(updatedCart, offerData);
|
|
183
188
|
}
|
|
184
189
|
});
|
|
@@ -15,10 +15,176 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
15
15
|
this.dark = false;
|
|
16
16
|
this.commercialRegisterLabel = '';
|
|
17
17
|
this.freelanceLabel = '';
|
|
18
|
+
this.cachedChain = [];
|
|
19
|
+
this.enforceVisibility = () => {
|
|
20
|
+
const host = this.hostEl;
|
|
21
|
+
if (!host || !host.isConnected)
|
|
22
|
+
return;
|
|
23
|
+
const badgeData = this.getBadgeData();
|
|
24
|
+
if (!badgeData)
|
|
25
|
+
return;
|
|
26
|
+
if (this.isHostVisible(host))
|
|
27
|
+
return;
|
|
28
|
+
for (const el of this.getAncestorChain(host)) {
|
|
29
|
+
const computed = getComputedStyle(el);
|
|
30
|
+
if (computed.display === 'none') {
|
|
31
|
+
el.style.setProperty('display', 'flex', 'important');
|
|
32
|
+
}
|
|
33
|
+
if (computed.visibility === 'hidden' || computed.visibility === 'collapse') {
|
|
34
|
+
el.style.setProperty('visibility', 'visible', 'important');
|
|
35
|
+
}
|
|
36
|
+
if (parseFloat(computed.opacity) < SallaTrustBadges.OPACITY_THRESHOLD) {
|
|
37
|
+
el.style.setProperty('opacity', '1', 'important');
|
|
38
|
+
}
|
|
39
|
+
if (computed.contentVisibility === 'hidden') {
|
|
40
|
+
el.style.setProperty('content-visibility', 'visible', 'important');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
this.logHidePreventedOnce(badgeData.type);
|
|
44
|
+
};
|
|
45
|
+
this.runEnforce = () => {
|
|
46
|
+
this.clearEnforceTimers();
|
|
47
|
+
this.enforceVisibility();
|
|
48
|
+
};
|
|
18
49
|
}
|
|
19
50
|
componentWillLoad() {
|
|
20
51
|
this.initializeTranslations();
|
|
21
52
|
}
|
|
53
|
+
connectedCallback() {
|
|
54
|
+
this.setupVisibilityGuard();
|
|
55
|
+
}
|
|
56
|
+
componentDidLoad() {
|
|
57
|
+
this.scheduleEnforce();
|
|
58
|
+
}
|
|
59
|
+
componentDidRender() {
|
|
60
|
+
this.scheduleEnforce();
|
|
61
|
+
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
this.attrObserver?.disconnect();
|
|
64
|
+
this.attrObserver = undefined;
|
|
65
|
+
this.moveObserver?.disconnect();
|
|
66
|
+
this.moveObserver = undefined;
|
|
67
|
+
this.cachedChain = [];
|
|
68
|
+
this.clearEnforceTimers();
|
|
69
|
+
}
|
|
70
|
+
getAncestorChain(host) {
|
|
71
|
+
const chain = [];
|
|
72
|
+
let el = host;
|
|
73
|
+
while (el) {
|
|
74
|
+
chain.push(el);
|
|
75
|
+
if (el === document.documentElement)
|
|
76
|
+
break;
|
|
77
|
+
el = el.parentElement;
|
|
78
|
+
}
|
|
79
|
+
return chain;
|
|
80
|
+
}
|
|
81
|
+
didChainChange(host) {
|
|
82
|
+
const now = this.getAncestorChain(host);
|
|
83
|
+
if (now.length !== this.cachedChain.length)
|
|
84
|
+
return true;
|
|
85
|
+
for (let i = 0; i < now.length; i++) {
|
|
86
|
+
if (now[i] !== this.cachedChain[i])
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
isHostVisible(host) {
|
|
92
|
+
return typeof host.checkVisibility === 'function'
|
|
93
|
+
? host.checkVisibility({
|
|
94
|
+
contentVisibilityAuto: true,
|
|
95
|
+
opacityProperty: true,
|
|
96
|
+
visibilityProperty: true,
|
|
97
|
+
})
|
|
98
|
+
: this.isVisibleFallback(host);
|
|
99
|
+
}
|
|
100
|
+
isVisibleFallback(host) {
|
|
101
|
+
let el = host;
|
|
102
|
+
while (el) {
|
|
103
|
+
const cs = getComputedStyle(el);
|
|
104
|
+
if (cs.display === 'none')
|
|
105
|
+
return false;
|
|
106
|
+
if (cs.visibility === 'hidden' || cs.visibility === 'collapse')
|
|
107
|
+
return false;
|
|
108
|
+
if (parseFloat(cs.opacity) < SallaTrustBadges.OPACITY_THRESHOLD)
|
|
109
|
+
return false;
|
|
110
|
+
if (cs.contentVisibility === 'hidden')
|
|
111
|
+
return false;
|
|
112
|
+
if (el === document.documentElement)
|
|
113
|
+
break;
|
|
114
|
+
el = el.parentElement;
|
|
115
|
+
}
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
// Log a prevented hide attempt once per device; never let telemetry block the repair.
|
|
119
|
+
logHidePreventedOnce(type) {
|
|
120
|
+
try {
|
|
121
|
+
if (salla.storage.get(SallaTrustBadges.HIDE_PREVENTED_LOGGED_KEY))
|
|
122
|
+
return;
|
|
123
|
+
salla.analytics?.log('salla::trust-badges.hide-prevented', { type });
|
|
124
|
+
salla.storage.set(SallaTrustBadges.HIDE_PREVENTED_LOGGED_KEY, true);
|
|
125
|
+
}
|
|
126
|
+
catch { }
|
|
127
|
+
}
|
|
128
|
+
clearEnforceTimers() {
|
|
129
|
+
if (this.enforceTimer !== undefined) {
|
|
130
|
+
clearTimeout(this.enforceTimer);
|
|
131
|
+
this.enforceTimer = undefined;
|
|
132
|
+
}
|
|
133
|
+
if (this.maxWaitTimer !== undefined) {
|
|
134
|
+
clearTimeout(this.maxWaitTimer);
|
|
135
|
+
this.maxWaitTimer = undefined;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
scheduleEnforce() {
|
|
139
|
+
// Debounce waits for an entrance animation to settle; maxWait bounds it so endless chain mutations can't starve the repair.
|
|
140
|
+
if (this.enforceTimer !== undefined)
|
|
141
|
+
clearTimeout(this.enforceTimer);
|
|
142
|
+
this.enforceTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_DEBOUNCE_MS);
|
|
143
|
+
if (this.maxWaitTimer === undefined) {
|
|
144
|
+
this.maxWaitTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_MAX_WAIT_MS);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
setupVisibilityGuard() {
|
|
148
|
+
const host = this.hostEl;
|
|
149
|
+
if (!host || typeof MutationObserver === 'undefined')
|
|
150
|
+
return;
|
|
151
|
+
this.attrObserver?.disconnect();
|
|
152
|
+
this.moveObserver?.disconnect();
|
|
153
|
+
this.attrObserver = new MutationObserver(() => {
|
|
154
|
+
const h = this.hostEl;
|
|
155
|
+
if (!h || !h.isConnected)
|
|
156
|
+
return;
|
|
157
|
+
if (this.isHostVisible(h))
|
|
158
|
+
return;
|
|
159
|
+
this.scheduleEnforce();
|
|
160
|
+
});
|
|
161
|
+
this.attachAttrObserver(host);
|
|
162
|
+
this.moveObserver = new MutationObserver(() => {
|
|
163
|
+
const h = this.hostEl;
|
|
164
|
+
if (!h || !h.isConnected)
|
|
165
|
+
return;
|
|
166
|
+
if (!this.didChainChange(h))
|
|
167
|
+
return;
|
|
168
|
+
this.attachAttrObserver(h);
|
|
169
|
+
this.scheduleEnforce();
|
|
170
|
+
});
|
|
171
|
+
this.moveObserver.observe(document.documentElement, {
|
|
172
|
+
childList: true,
|
|
173
|
+
subtree: true,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
attachAttrObserver(host) {
|
|
177
|
+
if (!this.attrObserver)
|
|
178
|
+
return;
|
|
179
|
+
this.attrObserver.disconnect();
|
|
180
|
+
this.cachedChain = this.getAncestorChain(host);
|
|
181
|
+
for (const el of this.cachedChain) {
|
|
182
|
+
this.attrObserver.observe(el, {
|
|
183
|
+
attributes: true,
|
|
184
|
+
attributeFilter: ['style', 'class', 'hidden'],
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
22
188
|
initializeTranslations() {
|
|
23
189
|
salla.lang.onLoaded(() => {
|
|
24
190
|
// Set translations synchronously
|
|
@@ -66,12 +232,17 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
66
232
|
}
|
|
67
233
|
return (h(Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }), h("div", { class: "s-trust-badges-content" }, h("p", { class: "s-trust-badges-label" }, badgeData.label), h("b", { class: "s-trust-badges-number" }, badgeData.number))));
|
|
68
234
|
}
|
|
235
|
+
get hostEl() { return this; }
|
|
69
236
|
static get style() { return sallaTrustBadgesCss; }
|
|
70
237
|
}, [0, "salla-trust-badges", {
|
|
71
238
|
"dark": [4],
|
|
72
239
|
"commercialRegisterLabel": [32],
|
|
73
240
|
"freelanceLabel": [32]
|
|
74
241
|
}]);
|
|
242
|
+
SallaTrustBadges$1.OPACITY_THRESHOLD = 0.1;
|
|
243
|
+
SallaTrustBadges$1.ENFORCE_DEBOUNCE_MS = 1500;
|
|
244
|
+
SallaTrustBadges$1.ENFORCE_MAX_WAIT_MS = 3000;
|
|
245
|
+
SallaTrustBadges$1.HIDE_PREVENTED_LOGGED_KEY = 'salla::trust-badges-hide-prevented-logged';
|
|
75
246
|
function defineCustomElement$1() {
|
|
76
247
|
if (typeof customElements === "undefined") {
|
|
77
248
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DzuK832n.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|