@salla.sa/twilight-components 2.14.556 → 2.14.557
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-t0Yy69qV.js → filepond-B0WltAUU.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DNZM6Czl.js → filepond-plugin-file-poster-CY6apY0i.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BPMIodJt.js → filepond-plugin-file-validate-size-D4ROC-Be.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DgYmyGCI.js → filepond-plugin-file-validate-type-6lBH-fIm.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-B4itf01h.js → filepond-plugin-image-edit-zEOX3Sjw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Dj43xu10.js → filepond-plugin-image-exif-orientation-y0OgGNND.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C6Gm9i9o.js → filepond-plugin-image-preview-C-amHd3H.js} +1 -1
- package/dist/cjs/{index-DyL5Ypj3.js → index-CyKUnNvM.js} +18 -14
- package/dist/cjs/{intlTelInput-BTUy-aYK.js → intlTelInput-CTwMzcpE.js} +1 -1
- 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 +13 -3
- 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-applied-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +10 -10
- 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-bullet-delivery_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.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_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- 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.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 +835 -0
- 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_2.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 +224 -46
- package/dist/cjs/salla-payments.cjs.entry.js +76 -2
- 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.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-products-slider.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 +33 -4
- package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -2
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.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-map_3.cjs.entry.js → salla-slider.cjs.entry.js} +1 -829
- 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 +3 -165
- 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/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-C_t8j4f7.js → vanilla-picker-B_r1mvJW.js} +1 -1
- package/dist/collection/components/salla-button/salla-button.js +32 -2
- package/dist/collection/components/salla-orders/salla-orders.css +122 -0
- package/dist/collection/components/salla-orders/salla-orders.js +231 -45
- package/dist/collection/components/salla-payments/salla-payments.css +3 -0
- package/dist/collection/components/salla-payments/salla-payments.js +74 -0
- package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +32 -3
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +2 -1
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.css +1 -16
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -163
- package/dist/components/index.js +2 -2
- package/dist/components/salla-button2.js +13 -2
- package/dist/components/salla-orders.js +294 -48
- package/dist/components/salla-payments.js +75 -1
- package/dist/components/salla-rating-modal-v22.js +32 -3
- package/dist/components/salla-rating-modal2.js +2 -1
- package/dist/components/salla-trust-badges.js +2 -164
- package/dist/esm/{filepond-Dl-e9LIA.js → filepond-B9wUqRiS.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-B44qzFr7.js → filepond-plugin-file-poster-Cms0jrkz.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DeewGi6D.js → filepond-plugin-file-validate-size-B2gy-nn6.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DquQHM9K.js → filepond-plugin-file-validate-type-D_AqfbaS.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DPSC2V4u.js → filepond-plugin-image-edit-ChS3tv_T.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-A-4MC3po.js → filepond-plugin-image-exif-orientation-iLQFxzEc.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-vvc3KNls.js → filepond-plugin-image-preview-Dm1gYrYZ.js} +1 -1
- package/dist/esm/{index-BJmvvw9H.js → index-BLzx0e6P.js} +18 -14
- package/dist/esm/{intlTelInput-DFX9QeWQ.js → intlTelInput-BTOzA2B4.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 +13 -3
- 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-applied-filters.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +10 -10
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.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_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +832 -0
- 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_2.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 +224 -46
- package/dist/esm/salla-payments.entry.js +76 -2
- 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.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-products-slider.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +33 -4
- package/dist/esm/salla-rating-modal.entry.js +3 -2
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.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-map_3.entry.js → salla-slider.entry.js} +2 -828
- 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 +3 -165
- 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/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-Ld2F0WbU.js → vanilla-picker-CbIzx8P3.js} +1 -1
- package/dist/twilight/{p-d8808de5.entry.js → p-0416a2a8.entry.js} +1 -1
- package/dist/twilight/{p-8d7bfcf6.entry.js → p-05490b44.entry.js} +1 -1
- package/dist/twilight/{p-bb082b47.entry.js → p-05b66ce1.entry.js} +1 -1
- package/dist/twilight/{p-91351958.entry.js → p-06c1c936.entry.js} +1 -1
- package/dist/twilight/{p-5b148ad4.entry.js → p-07b67ef6.entry.js} +1 -1
- package/dist/twilight/{p-bfb82c90.entry.js → p-0c80fbcf.entry.js} +1 -1
- package/dist/twilight/{p-4fdc296f.entry.js → p-1420e962.entry.js} +1 -1
- package/dist/twilight/p-18d0c69f.entry.js +4 -0
- package/dist/twilight/{p-2f59ef9c.entry.js → p-1bfb9675.entry.js} +1 -1
- package/dist/twilight/{p-5527801b.entry.js → p-210095ee.entry.js} +1 -1
- package/dist/twilight/{p-45b85a45.entry.js → p-2a5b180a.entry.js} +1 -1
- package/dist/twilight/p-2b7ca018.entry.js +4 -0
- package/dist/twilight/{p-6e08f950.entry.js → p-2bd06384.entry.js} +1 -1
- package/dist/twilight/{p-95918a1a.entry.js → p-2c0870cb.entry.js} +1 -1
- package/dist/twilight/{p-fc0304bf.entry.js → p-33e0d7b8.entry.js} +1 -1
- package/dist/twilight/{p-90d5e633.entry.js → p-34f2d378.entry.js} +1 -1
- package/dist/twilight/{p-54b4dec6.entry.js → p-365745de.entry.js} +1 -1
- package/dist/twilight/{p-3bba916f.entry.js → p-3a97face.entry.js} +1 -1
- package/dist/twilight/{p-6b3e668c.entry.js → p-3b4b1f29.entry.js} +1 -1
- package/dist/twilight/{p-fa1900ec.entry.js → p-3ba22519.entry.js} +1 -1
- package/dist/twilight/{p-2fddb802.entry.js → p-3cc1a9b8.entry.js} +1 -1
- package/dist/twilight/{p-fdc36d7c.entry.js → p-407a73f4.entry.js} +1 -1
- package/dist/twilight/p-45706908.entry.js +4 -0
- package/dist/twilight/{p-5391291e.entry.js → p-46ba098a.entry.js} +1 -1
- package/dist/twilight/{p-55c89592.entry.js → p-47597499.entry.js} +1 -1
- package/dist/twilight/{p-ec27e0f4.entry.js → p-4cabeff6.entry.js} +1 -1
- package/dist/twilight/{p-1b97e436.entry.js → p-53285f66.entry.js} +1 -1
- package/dist/twilight/{p-f3eab493.entry.js → p-56b2f8d7.entry.js} +1 -1
- package/dist/twilight/{p-95b8806a.entry.js → p-595bfef8.entry.js} +1 -1
- package/dist/twilight/{p-4023d48a.entry.js → p-59ccfd64.entry.js} +1 -1
- package/dist/twilight/{p-99af9a68.entry.js → p-5bb8c263.entry.js} +1 -1
- package/dist/twilight/p-5cbd36fb.entry.js +4 -0
- package/dist/twilight/{p-88045527.entry.js → p-5cc80969.entry.js} +1 -1
- package/dist/twilight/{p-cddd3975.entry.js → p-5f6c10d6.entry.js} +1 -1
- package/dist/twilight/{p-74f730e1.entry.js → p-61b6c754.entry.js} +1 -1
- package/dist/twilight/{p-67efee3a.entry.js → p-67caf54b.entry.js} +1 -1
- package/dist/twilight/{p-f6e44ad6.entry.js → p-6866b3d6.entry.js} +1 -1
- package/dist/twilight/{p-4af910f1.entry.js → p-6af36173.entry.js} +1 -1
- package/dist/twilight/{p-e64ad9de.entry.js → p-6d8b0678.entry.js} +1 -1
- package/dist/twilight/{p-4df9ca99.entry.js → p-6ea62f2b.entry.js} +1 -1
- package/dist/twilight/{p-5af2868f.entry.js → p-738ec366.entry.js} +1 -1
- package/dist/twilight/{p-1882e5b9.entry.js → p-7767f3a7.entry.js} +1 -1
- package/dist/twilight/{p-ba5546ab.entry.js → p-7a19cb93.entry.js} +1 -1
- package/dist/twilight/{p-275b49b7.entry.js → p-7c859f0c.entry.js} +1 -1
- package/dist/twilight/{p-cc3c48b4.entry.js → p-7d86bc77.entry.js} +1 -1
- package/dist/twilight/{p-918eb4b7.entry.js → p-7f077279.entry.js} +1 -1
- package/dist/twilight/{p-e209addd.entry.js → p-7ffa452c.entry.js} +1 -1
- package/dist/twilight/{p-2815c25a.entry.js → p-809a0076.entry.js} +1 -1
- package/dist/twilight/{p-62dfd479.entry.js → p-81f8537a.entry.js} +1 -1
- package/dist/twilight/{p-5ab257bf.entry.js → p-86cd2898.entry.js} +1 -1
- package/dist/twilight/{p-0d3be88f.entry.js → p-894fdcdd.entry.js} +1 -1
- package/dist/twilight/p-8a7bb785.entry.js +4 -0
- package/dist/twilight/{p-2ce0c4ca.entry.js → p-8b81811b.entry.js} +1 -1
- package/dist/twilight/{p-75e126cc.entry.js → p-8d8c84d8.entry.js} +1 -1
- package/dist/twilight/{p-d16a17d2.entry.js → p-8e2f52b2.entry.js} +1 -1
- package/dist/twilight/{p-7e7f0849.entry.js → p-932e3bff.entry.js} +1 -1
- package/dist/twilight/{p-b654ffbd.entry.js → p-96a13e17.entry.js} +1 -1
- package/dist/twilight/{p-3eb18438.entry.js → p-96ded4cf.entry.js} +1 -1
- package/dist/twilight/{p-dff3411a.entry.js → p-98e83214.entry.js} +1 -1
- package/dist/twilight/{p-3a1fd71a.entry.js → p-99a757ac.entry.js} +1 -1
- package/dist/twilight/{p-601013e8.entry.js → p-9ddcdf20.entry.js} +1 -1
- package/dist/twilight/{p-a1ce8d6d.entry.js → p-9ef91e6b.entry.js} +1 -1
- package/dist/twilight/{p-BUfrGdXG.js → p-BBCmWsAH.js} +1 -1
- package/dist/twilight/{p-BJmvvw9H.js → p-BLzx0e6P.js} +1 -1
- package/dist/twilight/{p-DpFFhlK6.js → p-BQGQ9tVS.js} +1 -1
- package/dist/twilight/{p-pCB_h2Xn.js → p-BTjFfROl.js} +1 -1
- package/dist/twilight/{p-SDB-lCJg.js → p-Bi7BjntU.js} +1 -1
- package/dist/twilight/{p-VDJLgJLw.js → p-BqaOIJsE.js} +1 -1
- package/dist/twilight/{p-BscSw0sZ.js → p-CBW4kczX.js} +1 -1
- package/dist/twilight/{p-CLEHV1kt.js → p-C_G6bYCk.js} +1 -1
- package/dist/twilight/{p-a893e7e3.entry.js → p-a0c97ac9.entry.js} +1 -1
- package/dist/twilight/{p-d9e98286.entry.js → p-a4175383.entry.js} +1 -1
- package/dist/twilight/{p-a1738bf0.entry.js → p-a4b7ee47.entry.js} +1 -1
- package/dist/twilight/{p-12a43d43.entry.js → p-a51931ba.entry.js} +1 -1
- package/dist/twilight/{p-89a82ff5.entry.js → p-a7801576.entry.js} +1 -1
- package/dist/twilight/p-a8b41edc.entry.js +4 -0
- package/dist/twilight/{p-2f2956d9.entry.js → p-ada5f9db.entry.js} +1 -1
- package/dist/twilight/{p-cb892619.entry.js → p-b36ca739.entry.js} +1 -1
- package/dist/twilight/{p-c266feb3.entry.js → p-bba884dc.entry.js} +1 -1
- package/dist/twilight/p-bc0bc63f.entry.js +4 -0
- package/dist/twilight/{p-17522796.entry.js → p-be424137.entry.js} +1 -1
- package/dist/twilight/{p-bd68067a.entry.js → p-c0fc7756.entry.js} +1 -1
- package/dist/twilight/{p-d5a486bb.entry.js → p-c428c44b.entry.js} +1 -1
- package/dist/twilight/{p-13011571.entry.js → p-c4f963ea.entry.js} +1 -1
- package/dist/twilight/{p-99702306.entry.js → p-c69e0669.entry.js} +1 -1
- package/dist/twilight/{p-3ec284fd.entry.js → p-c9d10c9f.entry.js} +1 -1
- package/dist/twilight/{p-92992a1e.entry.js → p-cb7bc39f.entry.js} +1 -1
- package/dist/twilight/{p-f37147c7.entry.js → p-cd86c231.entry.js} +1 -1
- package/dist/twilight/{p-f0c19b59.entry.js → p-d1ba8e6e.entry.js} +1 -1
- package/dist/twilight/{p-91f9f647.entry.js → p-d84a11b8.entry.js} +1 -1
- package/dist/twilight/{p-e0f7a4e1.entry.js → p-de3b3e41.entry.js} +1 -1
- package/dist/twilight/{p-7d0e8486.entry.js → p-eb10186c.entry.js} +1 -1
- package/dist/twilight/{p-291d6f2b.entry.js → p-eb9fca37.entry.js} +1 -1
- package/dist/twilight/{p-e0e614d1.entry.js → p-ed3fc3bb.entry.js} +1 -1
- package/dist/twilight/p-ee463cf9.entry.js +4 -0
- package/dist/twilight/{p-d4263617.entry.js → p-f276a319.entry.js} +1 -1
- package/dist/twilight/{p-6d7629ee.entry.js → p-f602c556.entry.js} +1 -1
- package/dist/twilight/{p-e1cca558.entry.js → p-f87ba34e.entry.js} +1 -1
- package/dist/twilight/{p-4ca525cb.entry.js → p-fa459971.entry.js} +1 -1
- package/dist/twilight/{p-c4582e2b.entry.js → p-fa7966bd.entry.js} +1 -1
- package/dist/twilight/{p-427d38a0.entry.js → p-fad4aa22.entry.js} +1 -1
- package/dist/twilight/{p-Ye-NG0xO.js → p-iB9dUe00.js} +1 -1
- package/dist/twilight/{p-DXzyepGb.js → p-oVUukCva.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-button/salla-button.d.ts +6 -0
- package/dist/types/components/salla-orders/interface.d.ts +1 -0
- package/dist/types/components/salla-orders/salla-orders.d.ts +29 -2
- package/dist/types/components/salla-payments/salla-payments.d.ts +4 -0
- package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +7 -0
- package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +0 -22
- package/dist/types/components.d.ts +10 -0
- package/package.json +5 -5
- package/dist/twilight/p-08fa9f0b.entry.js +0 -4
- package/dist/twilight/p-1066a05c.entry.js +0 -4
- package/dist/twilight/p-11afb8be.entry.js +0 -4
- package/dist/twilight/p-164cb0d8.entry.js +0 -4
- package/dist/twilight/p-5ecc99df.entry.js +0 -4
- package/dist/twilight/p-8a640353.entry.js +0 -4
- package/dist/twilight/p-acc63da6.entry.js +0 -4
|
@@ -150,6 +150,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
150
150
|
this.confirmDeleteBtn = salla.lang.get('common.elements.confirm_delete');
|
|
151
151
|
this.updatedSuccessfullyLabel = salla.lang.get('pages.rating.review_updated_successfully');
|
|
152
152
|
this.deletedSuccessfullyLabel = salla.lang.get('pages.rating.review_deleted_successfully');
|
|
153
|
+
this.nothingToRateLabel = salla.lang.get('pages.rating.nothing_to_rate');
|
|
153
154
|
this.contactUsLabel = salla.lang.get('blocks.footer.social');
|
|
154
155
|
this.requiredFactorsLabel = salla.lang.get('pages.rating.rate_required_factors');
|
|
155
156
|
this.rateTheFollowingLabel = salla.lang.get('pages.rating.rate_the_following_factors');
|
|
@@ -371,6 +372,23 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
371
372
|
return this.getOrderProducts(order).filter(item => !this.hasRatingFeedback(item?.feedback) &&
|
|
372
373
|
(!this.productId || String(item.product.id) === String(this.productId)));
|
|
373
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* True when the order never had anything ratable to begin with (as opposed to
|
|
377
|
+
* everything already being rated). Distinguishes a genuinely broken/empty
|
|
378
|
+
* order-feedback response from the legitimate "all done, thank you" state.
|
|
379
|
+
*/
|
|
380
|
+
hasNothingToRate(order = this.order) {
|
|
381
|
+
if (!order) {
|
|
382
|
+
return true;
|
|
383
|
+
}
|
|
384
|
+
const testimonialsEverPossible = order.testimonials_enabled !== false &&
|
|
385
|
+
(order.testimonials_enabled === true || !!order.allowed_ratings?.testimonials_enabled);
|
|
386
|
+
const shippingEverPossible = !!order.shipping?.company &&
|
|
387
|
+
order.shipping_enabled !== false &&
|
|
388
|
+
(order.shipping_enabled === true || !!order.allowed_ratings?.shipping_enabled);
|
|
389
|
+
const productsEverPossible = order.products_enabled !== false && this.getOrderProducts(order).length > 0;
|
|
390
|
+
return !testimonialsEverPossible && !shippingEverPossible && !productsEverPossible;
|
|
391
|
+
}
|
|
374
392
|
getStepsCount(order = this.order) {
|
|
375
393
|
if (!order) {
|
|
376
394
|
return 0;
|
|
@@ -450,15 +468,16 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
450
468
|
this.defaultMode = true;
|
|
451
469
|
this.currentIndex = 0;
|
|
452
470
|
this.submitted = [];
|
|
471
|
+
const requestedOrderId = this.getRatingOrderId();
|
|
453
472
|
return new Promise(resolve => {
|
|
454
473
|
setTimeout(() => {
|
|
455
474
|
this.modal
|
|
456
475
|
?.open()
|
|
457
|
-
.then(() => this.order ||
|
|
476
|
+
.then(() => (this.order && this.order.id === requestedOrderId) ||
|
|
458
477
|
(this.isUnverifiedReview()
|
|
459
478
|
? this.loadUnverifiedProductOrder()
|
|
460
479
|
: salla.api
|
|
461
|
-
.withoutNotifier(() => salla.rating.api.order(
|
|
480
|
+
.withoutNotifier(() => salla.rating.api.order(requestedOrderId))
|
|
462
481
|
.then(async (res) => {
|
|
463
482
|
this.order = res.data;
|
|
464
483
|
this.productReviewFactors = await this.fetchAllProductReviewFactors(res.data);
|
|
@@ -604,6 +623,11 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
604
623
|
this.steps = this.modal?.querySelectorAll('.s-rating-modal-step');
|
|
605
624
|
this.dots = this.modal?.querySelectorAll('.s-rating-modal-step-dot');
|
|
606
625
|
if (this.stepsCount === 0) {
|
|
626
|
+
if (this.hasNothingToRate()) {
|
|
627
|
+
this.hasError = true;
|
|
628
|
+
this.errorMessage = this.nothingToRateLabel;
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
607
631
|
this.showThankYou();
|
|
608
632
|
return;
|
|
609
633
|
}
|
|
@@ -1422,7 +1446,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
1422
1446
|
if (el)
|
|
1423
1447
|
this.nextBtn = el;
|
|
1424
1448
|
}, onClick: () => this.submit() }, salla.lang.get('common.elements.next'))),
|
|
1425
|
-
]) : (h("salla-placeholder", { alignment: "center" })))));
|
|
1449
|
+
]) : (h("div", { class: "s-rating-modal-wrapper" }, h("salla-placeholder", { alignment: "center" }, this.errorMessage ? (h("span", { slot: "description" }, this.errorMessage)) : null))))));
|
|
1426
1450
|
}
|
|
1427
1451
|
}
|
|
1428
1452
|
async componentWillLoad() {
|
|
@@ -1506,6 +1530,10 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
1506
1530
|
ar: 'شاركنا صورة مع تقييمك للطلب واكسب :points نقطة ولاء',
|
|
1507
1531
|
en: 'Share a photo with your order review and earn :points loyalty points',
|
|
1508
1532
|
},
|
|
1533
|
+
'pages.rating.nothing_to_rate': {
|
|
1534
|
+
ar: 'لا يوجد شيء متاح للتقييم في هذا الطلب حاليًا.',
|
|
1535
|
+
en: 'There is nothing available to rate for this order right now.',
|
|
1536
|
+
},
|
|
1509
1537
|
});
|
|
1510
1538
|
this.contactUsLabel = salla.lang.get('blocks.footer.social');
|
|
1511
1539
|
this.dragAndDropFilesLabel = salla.lang.get('common.uploader.drag_and_drop_files');
|
|
@@ -1518,6 +1546,7 @@ const SallaRatingModalV2 = /*@__PURE__*/ proxyCustomElement(class SallaRatingMod
|
|
|
1518
1546
|
this.cancelLabel = salla.lang.get('common.elements.cancel');
|
|
1519
1547
|
this.updatedSuccessfullyLabel = salla.lang.get('pages.rating.review_updated_successfully');
|
|
1520
1548
|
this.deletedSuccessfullyLabel = salla.lang.get('pages.rating.review_deleted_successfully');
|
|
1549
|
+
this.nothingToRateLabel = salla.lang.get('pages.rating.nothing_to_rate');
|
|
1521
1550
|
this.confirmDeleteBtn = salla.lang.get('common.elements.confirm_delete');
|
|
1522
1551
|
this.requiredFactorsLabel = salla.lang.get('pages.rating.rate_required_factors');
|
|
1523
1552
|
this.rateTheFollowingLabel = salla.lang.get('pages.rating.rate_the_following_factors');
|
|
@@ -181,9 +181,10 @@ const SallaRatingModal = /*@__PURE__*/ proxyCustomElement(class SallaRatingModal
|
|
|
181
181
|
return this.getV2Ref()?.open();
|
|
182
182
|
}
|
|
183
183
|
this.defaultMode = true;
|
|
184
|
+
const requestedOrderId = this.orderId ? this.orderId : salla.config.get('page.id');
|
|
184
185
|
return new Promise((resolve) => {
|
|
185
186
|
setTimeout(() => {
|
|
186
|
-
this.modal.open().then(() => this.order || salla.api.withoutNotifier(() => salla.rating.api.order(
|
|
187
|
+
this.modal.open().then(() => (this.order && this.order.id === requestedOrderId) || salla.api.withoutNotifier(() => salla.rating.api.order(requestedOrderId)).then(res => this.order = res.data))
|
|
187
188
|
.then(() => this.readyUpLoyaltyPoints())
|
|
188
189
|
.then(() => this.modal.setTitle(`${salla.lang.get('pages.rating.rate_order')} <span class="unicode">(#${this.order.id})</span>`))
|
|
189
190
|
.then(() => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
|
|
6
|
-
const sallaTrustBadgesCss = "/*!twlt*/.
|
|
6
|
+
const sallaTrustBadgesCss = "/*!twlt*/.s-trust-badges-wrapper{display:flex;align-items:center}.s-trust-badges-wrapper>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}.s-trust-badges-wrapper:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-trust-badges-label{margin-bottom:0.25rem;font-size:0.875rem;line-height:1.25rem}.s-trust-badges-number{font-size:0.875rem;line-height:1.25rem}";
|
|
7
7
|
|
|
8
8
|
const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadges extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -15,172 +15,14 @@ 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
|
-
};
|
|
44
|
-
this.runEnforce = () => {
|
|
45
|
-
this.clearEnforceTimers();
|
|
46
|
-
this.enforceVisibility();
|
|
47
|
-
};
|
|
48
18
|
}
|
|
49
19
|
componentWillLoad() {
|
|
50
20
|
this.initializeTranslations();
|
|
51
21
|
}
|
|
52
|
-
|
|
53
|
-
await salla.onReady();
|
|
54
|
-
if (!this.isVisibilityEnforced())
|
|
55
|
-
return;
|
|
56
|
-
this.setupVisibilityGuard();
|
|
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
|
-
// Visibility enforcement is a KSA-only legal requirement.
|
|
22
|
+
// The badge image is a KSA-only legal requirement.
|
|
71
23
|
isVisibilityEnforced() {
|
|
72
24
|
return salla.config.get('store.store_country') === 'SA';
|
|
73
25
|
}
|
|
74
|
-
getAncestorChain(host) {
|
|
75
|
-
const chain = [];
|
|
76
|
-
let el = host;
|
|
77
|
-
while (el) {
|
|
78
|
-
chain.push(el);
|
|
79
|
-
if (el === document.documentElement)
|
|
80
|
-
break;
|
|
81
|
-
el = el.parentElement;
|
|
82
|
-
}
|
|
83
|
-
return chain;
|
|
84
|
-
}
|
|
85
|
-
didChainChange(host) {
|
|
86
|
-
const now = this.getAncestorChain(host);
|
|
87
|
-
if (now.length !== this.cachedChain.length)
|
|
88
|
-
return true;
|
|
89
|
-
for (let i = 0; i < now.length; i++) {
|
|
90
|
-
if (now[i] !== this.cachedChain[i])
|
|
91
|
-
return true;
|
|
92
|
-
}
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
isHostVisible(host) {
|
|
96
|
-
return typeof host.checkVisibility === 'function'
|
|
97
|
-
? host.checkVisibility({
|
|
98
|
-
contentVisibilityAuto: true,
|
|
99
|
-
opacityProperty: true,
|
|
100
|
-
visibilityProperty: true,
|
|
101
|
-
})
|
|
102
|
-
: this.isVisibleFallback(host);
|
|
103
|
-
}
|
|
104
|
-
isVisibleFallback(host) {
|
|
105
|
-
let el = host;
|
|
106
|
-
while (el) {
|
|
107
|
-
const cs = getComputedStyle(el);
|
|
108
|
-
if (cs.display === 'none')
|
|
109
|
-
return false;
|
|
110
|
-
if (cs.visibility === 'hidden' || cs.visibility === 'collapse')
|
|
111
|
-
return false;
|
|
112
|
-
if (parseFloat(cs.opacity) < SallaTrustBadges.OPACITY_THRESHOLD)
|
|
113
|
-
return false;
|
|
114
|
-
if (cs.contentVisibility === 'hidden')
|
|
115
|
-
return false;
|
|
116
|
-
if (el === document.documentElement)
|
|
117
|
-
break;
|
|
118
|
-
el = el.parentElement;
|
|
119
|
-
}
|
|
120
|
-
return true;
|
|
121
|
-
}
|
|
122
|
-
clearEnforceTimers() {
|
|
123
|
-
if (this.enforceTimer !== undefined) {
|
|
124
|
-
clearTimeout(this.enforceTimer);
|
|
125
|
-
this.enforceTimer = undefined;
|
|
126
|
-
}
|
|
127
|
-
if (this.maxWaitTimer !== undefined) {
|
|
128
|
-
clearTimeout(this.maxWaitTimer);
|
|
129
|
-
this.maxWaitTimer = undefined;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
scheduleEnforce() {
|
|
133
|
-
if (!this.isVisibilityEnforced())
|
|
134
|
-
return;
|
|
135
|
-
// Debounce waits for an entrance animation to settle; maxWait bounds it so endless chain mutations can't starve the repair.
|
|
136
|
-
if (this.enforceTimer !== undefined)
|
|
137
|
-
clearTimeout(this.enforceTimer);
|
|
138
|
-
this.enforceTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_DEBOUNCE_MS);
|
|
139
|
-
if (this.maxWaitTimer === undefined) {
|
|
140
|
-
this.maxWaitTimer = setTimeout(this.runEnforce, SallaTrustBadges.ENFORCE_MAX_WAIT_MS);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
setupVisibilityGuard() {
|
|
144
|
-
const host = this.hostEl;
|
|
145
|
-
if (!host || typeof MutationObserver === 'undefined')
|
|
146
|
-
return;
|
|
147
|
-
this.attrObserver?.disconnect();
|
|
148
|
-
this.moveObserver?.disconnect();
|
|
149
|
-
this.attrObserver = new MutationObserver(() => {
|
|
150
|
-
const h = this.hostEl;
|
|
151
|
-
if (!h || !h.isConnected)
|
|
152
|
-
return;
|
|
153
|
-
if (this.isHostVisible(h))
|
|
154
|
-
return;
|
|
155
|
-
this.scheduleEnforce();
|
|
156
|
-
});
|
|
157
|
-
this.attachAttrObserver(host);
|
|
158
|
-
this.moveObserver = new MutationObserver(() => {
|
|
159
|
-
const h = this.hostEl;
|
|
160
|
-
if (!h || !h.isConnected)
|
|
161
|
-
return;
|
|
162
|
-
if (!this.didChainChange(h))
|
|
163
|
-
return;
|
|
164
|
-
this.attachAttrObserver(h);
|
|
165
|
-
this.scheduleEnforce();
|
|
166
|
-
});
|
|
167
|
-
this.moveObserver.observe(document.documentElement, {
|
|
168
|
-
childList: true,
|
|
169
|
-
subtree: true,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
attachAttrObserver(host) {
|
|
173
|
-
if (!this.attrObserver)
|
|
174
|
-
return;
|
|
175
|
-
this.attrObserver.disconnect();
|
|
176
|
-
this.cachedChain = this.getAncestorChain(host);
|
|
177
|
-
for (const el of this.cachedChain) {
|
|
178
|
-
this.attrObserver.observe(el, {
|
|
179
|
-
attributes: true,
|
|
180
|
-
attributeFilter: ['style', 'class', 'hidden'],
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
26
|
initializeTranslations() {
|
|
185
27
|
salla.lang.onLoaded(() => {
|
|
186
28
|
// Set translations synchronously
|
|
@@ -228,16 +70,12 @@ const SallaTrustBadges$1 = /*@__PURE__*/ proxyCustomElement(class SallaTrustBadg
|
|
|
228
70
|
}
|
|
229
71
|
return (h(Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, this.isVisibilityEnforced() ? h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }) : null, 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))));
|
|
230
72
|
}
|
|
231
|
-
get hostEl() { return this; }
|
|
232
73
|
static get style() { return sallaTrustBadgesCss; }
|
|
233
74
|
}, [0, "salla-trust-badges", {
|
|
234
75
|
"dark": [4],
|
|
235
76
|
"commercialRegisterLabel": [32],
|
|
236
77
|
"freelanceLabel": [32]
|
|
237
78
|
}]);
|
|
238
|
-
SallaTrustBadges$1.OPACITY_THRESHOLD = 0.1;
|
|
239
|
-
SallaTrustBadges$1.ENFORCE_DEBOUNCE_MS = 1500;
|
|
240
|
-
SallaTrustBadges$1.ENFORCE_MAX_WAIT_MS = 3000;
|
|
241
79
|
function defineCustomElement$1() {
|
|
242
80
|
if (typeof customElements === "undefined") {
|
|
243
81
|
return;
|