@salla.sa/twilight-components 2.14.559 → 2.14.561
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-vI0B-67n.js → filepond-D0D0oxUA.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DTiAXF5c.js → filepond-plugin-file-poster-ClC4CTUY.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BuMc19fV.js → filepond-plugin-file-validate-size-B8C6evDL.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-5CKRAI6_.js → filepond-plugin-file-validate-type-DZAbAjHY.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CXXhiTdn.js → filepond-plugin-image-edit-hSzgTpeM.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DvMNhQGm.js → filepond-plugin-image-exif-orientation-DjmGVpWC.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-nHwj0lr7.js → filepond-plugin-image-preview-B8CJe4pP.js} +1 -1
- package/dist/cjs/{index-CwneDx5o.js → index-I65DZQe1.js} +3 -3
- package/dist/cjs/{intlTelInput-CzMsUlkW.js → intlTelInput-B6mBUv8z.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-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 +11 -11
- 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 +5 -5
- 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 +8 -3
- 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_3.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_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 +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.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 +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-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 +4 -3
- package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-BSGZg-Y0.js → vanilla-picker-CBoJGr0X.js} +1 -1
- package/dist/collection/components/salla-reviews/salla-reviews.js +6 -1
- package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
- package/dist/collection/components/salla-search/salla-search.js +3 -2
- package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +6 -1
- package/dist/components/salla-search.js +3 -2
- package/dist/components/salla-searchable-dropdown2.js +4 -4
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-social-share2.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/salla-wishlist-actions.js +1 -1
- package/dist/esm/{filepond-BkGwWgIk.js → filepond-DjuXKVOL.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-TmS7u3EZ.js → filepond-plugin-file-poster-DOjrw9sE.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DzPOS-Ef.js → filepond-plugin-file-validate-size-DjN0Q2dG.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-tOom5t-_.js → filepond-plugin-file-validate-type-BwoYZE9W.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-F_8PCaA1.js → filepond-plugin-image-edit-DhjT7l_5.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-myByjSqP.js → filepond-plugin-image-exif-orientation-BpywW_V7.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-qqR31pR_.js → filepond-plugin-image-preview-DgcXW1_l.js} +1 -1
- package/dist/esm/{index-D6VagDRi.js → index-CinT9kfz.js} +3 -3
- package/dist/esm/{intlTelInput-B1ulDRaQ.js → intlTelInput-CN-EhOKa.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-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 +11 -11
- 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 +5 -5
- 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 +8 -3
- 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_3.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_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 +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.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 +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-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +4 -3
- package/dist/esm/salla-skeleton.entry.js +2 -2
- package/dist/esm/salla-social-share.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-DvtnWkFb.js → vanilla-picker-DunYPC8M.js} +1 -1
- package/dist/twilight/{p-9060cf90.entry.js → p-01d86c3f.entry.js} +1 -1
- package/dist/twilight/{p-a1b0bcae.entry.js → p-03fd5573.entry.js} +1 -1
- package/dist/twilight/p-06ffce35.entry.js +4 -0
- package/dist/twilight/{p-13adff5c.entry.js → p-0dd51369.entry.js} +1 -1
- package/dist/twilight/{p-7275e7da.entry.js → p-0e3904b1.entry.js} +1 -1
- package/dist/twilight/{p-54034038.entry.js → p-10d45ac1.entry.js} +1 -1
- package/dist/twilight/{p-b8f46367.entry.js → p-17c3ba53.entry.js} +1 -1
- package/dist/twilight/{p-da8c1307.entry.js → p-17ed8c78.entry.js} +1 -1
- package/dist/twilight/{p-b55d6ca9.entry.js → p-22427822.entry.js} +1 -1
- package/dist/twilight/{p-96a761f3.entry.js → p-22d17873.entry.js} +1 -1
- package/dist/twilight/{p-e64d3e62.entry.js → p-22fe54c4.entry.js} +1 -1
- package/dist/twilight/{p-9bd0780a.entry.js → p-24fed356.entry.js} +1 -1
- package/dist/twilight/{p-ef33b218.entry.js → p-273baeb9.entry.js} +6 -6
- package/dist/twilight/{p-3532893e.entry.js → p-29a40548.entry.js} +1 -1
- package/dist/twilight/{p-02a00a9d.entry.js → p-2b34e283.entry.js} +1 -1
- package/dist/twilight/{p-02153797.entry.js → p-2c32010c.entry.js} +1 -1
- package/dist/twilight/{p-00dfdb20.entry.js → p-2d355d15.entry.js} +1 -1
- package/dist/twilight/{p-5d247f18.entry.js → p-31a44746.entry.js} +1 -1
- package/dist/twilight/{p-61035e79.entry.js → p-32160fa2.entry.js} +1 -1
- package/dist/twilight/{p-5dc636e9.entry.js → p-3458e64b.entry.js} +1 -1
- package/dist/twilight/{p-7348f7e3.entry.js → p-36a0017e.entry.js} +1 -1
- package/dist/twilight/{p-19fe876a.entry.js → p-37679926.entry.js} +1 -1
- package/dist/twilight/{p-51429c21.entry.js → p-37fe4eee.entry.js} +1 -1
- package/dist/twilight/{p-77305493.entry.js → p-3b156f01.entry.js} +1 -1
- package/dist/twilight/{p-4dbed954.entry.js → p-3d791486.entry.js} +1 -1
- package/dist/twilight/{p-d25c8aeb.entry.js → p-44bb74d7.entry.js} +1 -1
- package/dist/twilight/{p-56425cd0.entry.js → p-44e1dbd2.entry.js} +1 -1
- package/dist/twilight/{p-bf0e5c4b.entry.js → p-474cc03c.entry.js} +1 -1
- package/dist/twilight/{p-891abd9a.entry.js → p-53258edc.entry.js} +1 -1
- package/dist/twilight/{p-5b22403c.entry.js → p-56966afa.entry.js} +1 -1
- package/dist/twilight/{p-44d7890d.entry.js → p-56e9e187.entry.js} +1 -1
- package/dist/twilight/{p-a07f577f.entry.js → p-5c157bfe.entry.js} +1 -1
- package/dist/twilight/{p-aede1dd3.entry.js → p-5fb8335f.entry.js} +1 -1
- package/dist/twilight/{p-17a708fc.entry.js → p-61c68432.entry.js} +1 -1
- package/dist/twilight/{p-890845d7.entry.js → p-6a5f1832.entry.js} +1 -1
- package/dist/twilight/{p-451c2f06.entry.js → p-6a82d3c6.entry.js} +1 -1
- package/dist/twilight/{p-b5184b83.entry.js → p-6a85aa55.entry.js} +1 -1
- package/dist/twilight/{p-ced0ad45.entry.js → p-6a9b81d8.entry.js} +1 -1
- package/dist/twilight/{p-797317f9.entry.js → p-6de0cee5.entry.js} +1 -1
- package/dist/twilight/{p-5381aac3.entry.js → p-6e90d5f1.entry.js} +1 -1
- package/dist/twilight/{p-7cfcac49.entry.js → p-7338d661.entry.js} +1 -1
- package/dist/twilight/{p-685b00b1.entry.js → p-78b42686.entry.js} +1 -1
- package/dist/twilight/{p-bcc6a2c7.entry.js → p-7de95849.entry.js} +1 -1
- package/dist/twilight/{p-16706fe0.entry.js → p-7f2166f4.entry.js} +1 -1
- package/dist/twilight/{p-cbe27157.entry.js → p-8016c874.entry.js} +1 -1
- package/dist/twilight/{p-b731bd2b.entry.js → p-815e561c.entry.js} +1 -1
- package/dist/twilight/{p-b8739111.entry.js → p-82062737.entry.js} +1 -1
- package/dist/twilight/{p-ef2354f0.entry.js → p-82fd57a6.entry.js} +1 -1
- package/dist/twilight/{p-dd6a5747.entry.js → p-84683611.entry.js} +1 -1
- package/dist/twilight/{p-61ad5ff4.entry.js → p-85c68263.entry.js} +1 -1
- package/dist/twilight/{p-7e8965c3.entry.js → p-8837989a.entry.js} +1 -1
- package/dist/twilight/{p-56cc9936.entry.js → p-88f99cf5.entry.js} +1 -1
- package/dist/twilight/{p-155ec7a7.entry.js → p-8cbe8184.entry.js} +1 -1
- package/dist/twilight/{p-a0ac1fbf.entry.js → p-8e9a4f2e.entry.js} +1 -1
- package/dist/twilight/{p-75778e67.entry.js → p-918aec2d.entry.js} +1 -1
- package/dist/twilight/{p-04e90ca8.entry.js → p-92951d99.entry.js} +1 -1
- package/dist/twilight/{p-0d8c219a.entry.js → p-92e94f61.entry.js} +1 -1
- package/dist/twilight/{p-738d4d73.entry.js → p-96175a23.entry.js} +1 -1
- package/dist/twilight/{p-466b2437.entry.js → p-9f080f93.entry.js} +1 -1
- package/dist/twilight/{p-CsLeYzSv.js → p-AO_se7co.js} +1 -1
- package/dist/twilight/{p-DoD9b-8A.js → p-BBbglXjW.js} +1 -1
- package/dist/twilight/p-CinT9kfz.js +5 -0
- package/dist/twilight/{p-DJ8VhVEV.js → p-CytyS9Yz.js} +1 -1
- package/dist/twilight/{p-Xs77W4g6.js → p-D0QcUfl5.js} +1 -1
- package/dist/twilight/p-D0lrDCNd.js +9 -0
- package/dist/twilight/{p-BBCnGXmN.js → p-D1RKtmlI.js} +1 -1
- package/dist/twilight/{p-BE6LvdyS.js → p-D8yhYee_.js} +1 -1
- package/dist/twilight/{p-CFzua46A.js → p-D_V3hAj-.js} +1 -1
- package/dist/twilight/{p-87baa963.entry.js → p-a27265dd.entry.js} +1 -1
- package/dist/twilight/{p-d09195ba.entry.js → p-a3885a3f.entry.js} +1 -1
- package/dist/twilight/{p-ab11570d.entry.js → p-a4f06127.entry.js} +1 -1
- package/dist/twilight/{p-18e32c1b.entry.js → p-a5d454ed.entry.js} +1 -1
- package/dist/twilight/{p-e01c1fb9.entry.js → p-ac75b388.entry.js} +1 -1
- package/dist/twilight/{p-b46fa954.entry.js → p-ad023412.entry.js} +1 -1
- package/dist/twilight/{p-52212098.entry.js → p-b0281b97.entry.js} +1 -1
- package/dist/twilight/{p-57a0bb62.entry.js → p-b2cbcc57.entry.js} +1 -1
- package/dist/twilight/{p-e7b32e74.entry.js → p-b5447de1.entry.js} +1 -1
- package/dist/twilight/{p-bb3df4d4.entry.js → p-b7b92a9f.entry.js} +1 -1
- package/dist/twilight/{p-06ba1041.entry.js → p-b917cc8d.entry.js} +1 -1
- package/dist/twilight/{p-c0c80157.entry.js → p-b9ca65f5.entry.js} +1 -1
- package/dist/twilight/{p-uMDizIlo.js → p-bLp_Eheb.js} +1 -1
- package/dist/twilight/{p-0f1abf9a.entry.js → p-cb30a541.entry.js} +1 -1
- package/dist/twilight/{p-4f29e469.entry.js → p-ce826ecc.entry.js} +1 -1
- package/dist/twilight/{p-ebfb0b99.entry.js → p-d0247b0c.entry.js} +1 -1
- package/dist/twilight/{p-43c67b9f.entry.js → p-d0bc7504.entry.js} +1 -1
- package/dist/twilight/{p-f3540850.entry.js → p-d1fc9fbe.entry.js} +1 -1
- package/dist/twilight/{p-3feabe9a.entry.js → p-d2410905.entry.js} +1 -1
- package/dist/twilight/{p-91daba79.entry.js → p-d406fe3c.entry.js} +1 -1
- package/dist/twilight/{p-90b20e78.entry.js → p-d5ae720f.entry.js} +1 -1
- package/dist/twilight/{p-de5c4eb3.entry.js → p-d5c6ad16.entry.js} +1 -1
- package/dist/twilight/{p-f3cbbe3e.entry.js → p-d790567b.entry.js} +1 -1
- package/dist/twilight/{p-879aeb99.entry.js → p-d93bc523.entry.js} +1 -1
- package/dist/twilight/{p-522a6125.entry.js → p-e2c90fb8.entry.js} +1 -1
- package/dist/twilight/{p-8fd6c03b.entry.js → p-e65b3c59.entry.js} +1 -1
- package/dist/twilight/{p-731ac823.entry.js → p-e96f6e1e.entry.js} +1 -1
- package/dist/twilight/{p-019183b8.entry.js → p-ed3c25a2.entry.js} +1 -1
- package/dist/twilight/{p-af61bed0.entry.js → p-ee0bae24.entry.js} +1 -1
- package/dist/twilight/{p-e1965ea1.entry.js → p-f0085803.entry.js} +1 -1
- package/dist/twilight/{p-267f1daf.entry.js → p-f45868e4.entry.js} +1 -1
- package/dist/twilight/{p-ce60b709.entry.js → p-f4a75c1f.entry.js} +1 -1
- package/dist/twilight/{p-978695b4.entry.js → p-fedf05c6.entry.js} +1 -1
- package/dist/twilight/{p-3cad36ef.entry.js → p-ffc0ac2e.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-B8n9WvuU.js +0 -9
- package/dist/twilight/p-D6VagDRi.js +0 -5
- package/dist/twilight/p-e8393076.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var star = require('./star-DMzrN05M.js');
|
|
8
8
|
var shippingFast = require('./shipping-fast-CsqEQE78.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
9
|
var image = require('./image-BoZ6Hums.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
8
|
var cancel = require('./cancel-De6vslRA.js');
|
|
9
9
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
@@ -177,6 +177,7 @@ const SallaSearch = class {
|
|
|
177
177
|
salla.event.emit('salla-search::input.focused');
|
|
178
178
|
},
|
|
179
179
|
productClick: (product, position) => {
|
|
180
|
+
Helper.Helper.saveProductSource('search');
|
|
180
181
|
salla.event.emit('salla-search::product.clicked', [{ product, position }]);
|
|
181
182
|
},
|
|
182
183
|
recommendationClick: (term, source) => {
|
|
@@ -282,7 +283,7 @@ const SallaSearch = class {
|
|
|
282
283
|
.fetch({ source: 'search', source_value: val })
|
|
283
284
|
.then(response => {
|
|
284
285
|
this.results = response;
|
|
285
|
-
salla.event.emit('Products Searched', val);
|
|
286
|
+
salla.event.emit('Products Searched', { query: val, total: response.cursor?.count });
|
|
286
287
|
if (this.newSearchEnabled) {
|
|
287
288
|
this.searchHistory = addToSearchHistory(this.searchHistory, val);
|
|
288
289
|
saveSearchHistory(this.searchHistory);
|
|
@@ -305,7 +306,7 @@ const SallaSearch = class {
|
|
|
305
306
|
this.inputValue.length < 3 ? this.container?.classList.remove('s-search-no-results') : '';
|
|
306
307
|
}
|
|
307
308
|
renderLegacyResults() {
|
|
308
|
-
return (index.h("div", { class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
|
|
309
|
+
return (index.h("div", { class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', onClick: () => Helper.Helper.saveProductSource('search'), class: {
|
|
309
310
|
's-search-product': true,
|
|
310
311
|
's-search-product-not-available': !product.is_available,
|
|
311
312
|
}, innerHTML: this.productSlot
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
const sallaSkeletonCss = "/*!twlt*/:host{display:block}.s-loyalty-skeleton .s-loyalty-prize-item .s-skeleton-wrapper{margin-left:auto;margin-right:auto}.s-skeleton-wrapper{display:block}@keyframes pulse{50%{opacity:.5}}.s-skeleton-wrapper{animation:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite}.s-skeleton-item{height:100%;width:100%;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.s-skeleton-item:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.s-skeleton-item-circular{border-radius:9999px}";
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ const SallaSkeleton = class {
|
|
|
28
28
|
's-skeleton-item': true,
|
|
29
29
|
's-skeleton-item-circular': this.type == 'circle',
|
|
30
30
|
};
|
|
31
|
-
return (index.h(index.Host, { key: '
|
|
31
|
+
return (index.h(index.Host, { key: '77af51474bcf2166aa4afb8eaecc25c05b4715f7', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '758d3ccc09bcb56625b8c1dd7161f529ffefaeed', class: classes }, "\u00A0")));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
SallaSkeleton.style = sallaSkeletonCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
9
9
|
var mail = require('./mail-CO8cFZH7.js');
|
|
@@ -383,7 +383,7 @@ const SallaSocialShare = class {
|
|
|
383
383
|
})));
|
|
384
384
|
}
|
|
385
385
|
render() {
|
|
386
|
-
return (index.h("div", { key: '
|
|
386
|
+
return (index.h("div", { key: '74ae37141053842dc1e1b36ddc2cf5817d5d1bdc', class: "s-social-share-wrapper" }, index.h("slot", { key: '30b2597ad462b2a47c2e6cfc5fb72c46b1797880', name: "widget" }, index.h("salla-button", { key: 'f3db20153c9a2df0ccf039bfd0adaef4f04449a2', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: 'e2ca4cf8393b5c1acc78f60a42fcd5ff7c4315d2', innerHTML: this.opened ? cancel.Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
|
|
387
387
|
}
|
|
388
388
|
get host() { return index.getElement(this); }
|
|
389
389
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
8
8
|
|
|
9
9
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -57,7 +57,7 @@ const SallaSocial = class {
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const linksArray = this.getLinksArray();
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '0a25838e41939241e920cd4741adb7d16a61560d' }, index.h("ul", { key: '1744c463a3f8feda441df53eac48fb4a8e92b524', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
61
61
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
62
62
|
.replace(/\{type\}/g, link.type)
|
|
63
63
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
const sallaTabContentCss = "";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTabContent = class {
|
|
|
33
33
|
's-tabs-content': true,
|
|
34
34
|
's-tabs-content-selected': this.isSelected
|
|
35
35
|
};
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '1c0f03941a4a37f7afb926d4bf7002910fbc6cad', class: classes }, index.h("slot", { key: 'f04243b5c619a8457bc41bef190440c430549ed9' })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
SallaTabContent.style = sallaTabContentCss;
|
|
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
|
|
|
92
92
|
's-tabs-active': this.isSelected,
|
|
93
93
|
};
|
|
94
94
|
return [
|
|
95
|
-
index.h("div", { key: '
|
|
95
|
+
index.h("div", { key: '1f006a8a8e4e5ca2d27a001621203402d5765fc0', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: 'c4a036153eff97fc24d34db35c5d2937f9e9ece1' })),
|
|
96
96
|
];
|
|
97
97
|
}
|
|
98
98
|
};
|
|
@@ -145,7 +145,7 @@ const SallaTabs = class {
|
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
147
|
return [
|
|
148
|
-
index.h("div", { key: '
|
|
148
|
+
index.h("div", { key: 'e1739f5533b3b45e50fe0387a74479de7ea46965', class: "s-tabs" }, index.h("div", { key: '7eddaf514f3a3daf16c87789cda4b91223a4d6e2', class: "s-tabs-header" }, index.h("slot", { key: 'd878899ce681f3d99e910e9667261ff67a15825d', name: "header" })), index.h("div", { key: 'a1f7fb4b0fc589d5e2bad0bca96073a9e5b919d4', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '7cc75788d2c8824be1d126d2fee01a44bc4da8c6', name: "content" })))
|
|
149
149
|
];
|
|
150
150
|
}
|
|
151
151
|
get host() { return index.getElement(this); }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = "/*!twlt*/.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;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}.block{display:block}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTooltip = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '3ade782845e46f9701622d3a4a71b54dc7da37fb', class: "s-tooltip-container" }, index.h("div", { key: 'c0fba34cb9890151fa283436f6ce4033ca2f1172', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
|
|
37
37
|
}
|
|
38
38
|
get el() { return index.getElement(this); }
|
|
39
39
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
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}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-DSvlJXCH.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
var interfaces = require('./interfaces-CRqrf5RX.js');
|
|
8
8
|
|
|
9
9
|
const sallaUserProfileCss = "/*!twlt*/:host{display:block}.form-input{height:2.5rem;width:100%;border-radius:0.375rem;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.form-input:focus{border-color:var(--color-primary);--tw-ring-color:transparent}.form-input:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.form-input:focus:is(.dark *){border-color:var(--color-primary)}@media (min-width: 640px){.form-input{font-size:0.875rem;line-height:1.25rem}}.s-user-profile-wrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:1.5rem}@media (min-width: 640px){.s-user-profile-wrapper{grid-template-columns:repeat(2, minmax(0, 1fr));gap:2rem}}.s-user-profile-field-label{margin-bottom:0.5rem;display:block;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-user-profile-field-error{--tw-text-opacity:1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.s-user-profile-submit{margin-top:1.5rem;width:100%}.s-user-profile-filepond-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}.s-user-profile-filepond-placeholder-icon{margin-bottom:0.25rem}.s-user-profile-filepond-placeholder-icon svg{height:1.5rem;width:1.5rem;fill:#7c8082}.s-user-profile-skeleton-wrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:repeat(3, minmax(0, 1fr));gap:3rem}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -556,7 +556,7 @@ const SallaUserSettings = class {
|
|
|
556
556
|
return (index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
|
|
557
557
|
}
|
|
558
558
|
render() {
|
|
559
|
-
return (index.h(index.Host, { key: '
|
|
559
|
+
return (index.h(index.Host, { key: 'a281976a9dd190f20ddf5e1e7633cd954407d3b4', class: "s-user-settings-wrapper" }, this.canHideName && (index.h("div", { key: '7291eaadf516b3161d9e4fde3a5dcec7a42bb609', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '3e23e502b3031de5cfb0a49e9c8bc9756ada92af' }, index.h("div", { key: 'd426d601591da1f15c065bce33e4c7b12d0bf047', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'e4900a0e5450bc100d22e62a22de331e96958a4c', innerHTML: UserCancel })), index.h("div", { key: 'ec6110960511382dd551421ffd3a036af506109b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: 'bdfc4e7f987a7ecd0e3cf8bfeee72f055297e2d6', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: 'fad7eb6125789cdf3230314e62552452f4c84fc3', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: 'f5676bc70508fddad0506410089aa7879e4ef5db', class: "s-toggle" }, index.h("input", { key: '6b57caa5797c1b7225094cf4241a95b7a521327a', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '50073a68f078ae3592ea00581a9287f03371e122', class: "s-toggle-switcher" })))))), index.h("div", { key: 'e87388e12354cdd7559ff16c965bc51786d52af5', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'fc020c81a28c42c0a98fda40ee6f6ffaaa5a20d4' }, index.h("div", { key: 'aa90688fca635da561e4eb77309e447d6f5e6b8b', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '6448e1268f3c88e72fff6259f195e4b43312253e', innerHTML: Bullhorn })), index.h("div", { key: 'ded7da656a1b484e4144c5d8605a55682f7de912', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: 'a70d94920d012ac5a1d85b17f92b9ce733179569', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'be1325b95063cc822ee4c62d7c7a20bae08fb287', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: '181949e51caed49e6c05d10e1a1ae79472772ded', class: "s-toggle" }, index.h("input", { key: '76d423655ebab9004b130adea83f89ec92a27966', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '44a1ac3c7c6b1f0ac12ccb8853d5c75317ecce2c', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (index.h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (index.h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { innerHTML: UserOff })), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (index.h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (index.h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, index.h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (index.h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, index.h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { class: "s-user-settings-confirmation" }, index.h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
SallaUserSettings.style = sallaUserSettingsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = "/*!twlt*/.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}.absolute{position:absolute}.relative{position:relative}.flex{display:flex}.table{display:table}.hidden{display:none}.items-center{align-items:center}.p-3{padding:0.75rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.625rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}}.s-wallet-mobile-title{display:inline-block;width:8rem;font-weight:400;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.s-wallet-mobile-title{display:none}}.s-wallet-reference-id{display:none}@media (min-width: 768px){.s-wallet-reference-id{display:inline-block}}.s-wallet-buy-as-gift-icon{margin-left:0.25rem;margin-right:0.25rem;display:inline-block;color:var(--color-primary)}.s-wallet-copy-to-clipboard-button{display:flex;align-items:center}@media (min-width: 768px){.s-wallet-copy-to-clipboard-button{display:none}}.s-wallet-copy-to-clipboard-button salla-button{position:relative}.s-wallet-copy-to-clipboard-button-icon{pointer-events:none;font-size:0.75rem;line-height:1rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:0.25rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:0.25rem}@media (min-width: 768px){.s-wallet-status-container{margin-left:0px;margin-right:0px}}.s-wallet-status-container:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.s-wallet-status-container:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}.s-wallet-status-container i{margin-top:0.25rem}.s-wallet-status-container i:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0.25rem}.s-wallet-status-container i:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0.25rem}.s-wallet-rated-text{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.s-wallet-unrated-text{--tw-text-opacity:1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.s-wallet-no-content{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding-top:2.5rem;padding-bottom:5rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-no-content .icon{margin-bottom:1rem;display:flex;height:8rem;width:8rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));font-size:3rem;line-height:1;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-wallet-no-content p{margin-bottom:1rem;font-size:1rem;line-height:1.5rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-wallet-table{min-width:100%;border-collapse:separate}@media (min-width: 768px){.s-wallet-table{margin-bottom:-0.75rem;--tw-border-spacing-y:1.25rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}}.s-wallet-table-head{margin-bottom:1.25rem;display:none;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}@media (min-width: 768px){.s-wallet-table-head{display:table-header-group}}.s-wallet-table-head-tr-th{padding-left:1.5rem;padding-right:1.5rem;text-align:start;font-size:0.875rem;line-height:1.25rem;font-weight:500;text-transform:uppercase;letter-spacing:0.05em}.s-wallet-table-head-tr-th:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:left}.s-wallet-table-head-tr-th:last-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:right}.s-wallet-table-head-tr-th:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}.s-wallet-table-head-tr-th:last-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:left}.s-wallet-table-tbody-tr{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden;border-radius:var(--s-radius, 0.25rem);border-bottom-width:8px;border-top-width:8px;--tw-border-opacity:1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.5rem;transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:500ms}@media (min-width: 768px){.s-wallet-table-tbody-tr{display:table-row;flex-direction:row;flex-wrap:nowrap;padding:0px}}.s-wallet-table-tbody-tr-td{width:100%;white-space:nowrap;font-size:0.875rem;line-height:1.25rem}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}@media (min-width: 768px){.s-wallet-table-tbody-tr-td{height:5rem;width:auto}.s-wallet-table-tbody-tr-td:last-child{text-align:end}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){border-top-left-radius:0.375rem;border-bottom-left-radius:0.375rem}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){border-top-right-radius:0.375rem;border-bottom-right-radius:0.375rem}}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}.s-wallet-table-tbody-tr-td-content{position:relative;display:flex;align-items:center;justify-content:space-between;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.25rem;padding-bottom:0.25rem;font-size:0.75rem;line-height:1rem}@media (min-width: 768px){.s-wallet-table-tbody-tr-td-content{padding-left:1.5rem;padding-right:1.5rem;padding-top:1.5rem;padding-bottom:1.5rem}}.s-wallet-table-tbody-tr-td-content:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-right:0.5rem}.s-wallet-table-tbody-tr-td-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:0.5rem}.s-wallet-table-tbody-tr a{position:absolute;top:0px;bottom:0px;display:block;width:100%}.s-wallet-table-tbody-tr a:where([dir=\"ltr\"],[dir=\"ltr\"] *){left:0px}.s-wallet-table-tbody-tr a:where([dir=\"rtl\"],[dir=\"rtl\"] *){right:0px}@media (min-width: 768px){.md\\:mx-0{margin-left:0px;margin-right:0px}.md\\:inline-block{display:inline-block}.md\\:hidden{display:none}}.ltr\\:ml-auto:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.ltr\\:mr-4:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:1rem}.rtl\\:ml-4:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:1rem}.rtl\\:mr-auto:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-I65DZQe1.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = "/*!twlt*/: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}.static{position:static}.absolute{position:absolute}.relative{position:relative}.z-20{z-index:20}.mb-3{margin-bottom:0.75rem}.mt-1{margin-top:0.25rem}.mt-3{margin-top:0.75rem}.flex{display:flex}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.gap-3{gap:0.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:0.5rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-4{padding:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}";
|
|
9
9
|
|
|
@@ -319,7 +319,7 @@ const SallaWishlistActions = class {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
render() {
|
|
322
|
-
return (index.h(index.Host, { key: '
|
|
322
|
+
return (index.h(index.Host, { key: 'f2c749d47b18d8e12fb7186eec0679083f14c990' }, index.h("div", { key: '218f5eb3b07c3e626e3677f856a515fe01833311', class: "s-wishlist-actions" }, index.h("div", { key: '5c6a4cea2b16baae3e4fda8f34173467e562072b', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, index.h("div", { key: '2753d439676740b4e67f31db1774a5294cd0c150', class: "s-wishlist-actions-dropdown relative" }, index.h("salla-button", { key: '13075fc30599a336fb92ecd9e90c72d38a541253', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, index.h("div", { key: 'd5ead5b3d4fd6c90d6fa01502e5a6437d37557c8', class: "flex flex-row justify-center items-center gap-2" }, index.h("svg", { key: '7c04668fba88f122d1920f9bed9a2e5308452721', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: '8d3190b697e81cae3ebfcfb6a9c0e82c7aea465f', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z" })), this.shareLabel, index.h("svg", { key: '1a55774c008f2e0d44f2074fdaa04290a61f799c', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'd7fe9393be3a8ff7b8d9f8ffa9eade5e8185ad80', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (index.h("ul", { key: '5c35b61c80a3c148c647460a54c62beb239fb0f5', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, index.h("li", { key: '63a82032fb616eade7f23706647dc4a8a167fb37' }, index.h("button", { key: '3e586e54d47f960408486c69f23ad43486762059', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), index.h("li", { key: '1ae1a01dd873e989390686494809b4cb2361cad6' }, index.h("button", { key: '85bd5814e6a40fae55fdf797b4874cbd6058ef5d', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), index.h("salla-social-share", { key: '7a944502b2916565810d52e17ed17d83a49b58a9', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, index.h("span", { key: '3b45e9700e6b02185c6ba2d145c35785520377ef', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (index.h("div", { key: '28ec1f084cdab3490b75ff0f4c79aa892884b64e', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, index.h("label", { key: '4a82c117309d60a3a7874ae3f258c139e40778dc', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, index.h("input", { key: 'f72370d3bbd7887e14945bc7da5451f77664a764', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), index.h("span", { key: '7f7d513a5c06ffa27706519f40f33f5f86b3f581', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), index.h("div", { key: '021dd377c7bdf777f61daac64ae5a5955decbe99', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, index.h("salla-button", { key: '36edc191937c110806f1a1ab152db87712e3b63a', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), index.h("salla-button", { key: '13b1fb46a21df09c6110b168adfa2d033d2d7f5b', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
|
|
323
323
|
}
|
|
324
324
|
get host() { return index.getElement(this); }
|
|
325
325
|
};
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -85,7 +85,12 @@ export class SallaReviews {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
|
|
88
|
+
// Nothing to show until reviews load; empty results keep it hidden so the
|
|
89
|
+
// "testimonials" header never renders over an empty slider.
|
|
90
|
+
if (!this.showReviews) {
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
return (h("div", { class: "s-reviews-container" }, h("div", { class: "s-reviews-header-wrapper" }, h("h1", { class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
|
|
89
94
|
}
|
|
90
95
|
static get is() { return "salla-reviews"; }
|
|
91
96
|
static get originalStyleUrls() {
|
|
@@ -142,7 +142,7 @@ export class SallaReviewsPage {
|
|
|
142
142
|
return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h("host", { key: '
|
|
145
|
+
return (h("host", { key: '1ca6e12aafb0b83953a887286003dce5f47c9374' }, h("div", { key: '9a353471f58a1fe67800f9d0ac38b3f94095b107', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '0fc9c963af765108e42f341ac7d70c8758e4677a', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '13f2b001680a39440d3e5557bcfee46a92592ea4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'fcb5e88a598d342d4cdeff4cfba0a85ea94b911e', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e2c23398b1024647c1cfdc283392b94e3ce0e44c', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '67f5f7748db13b7c6bdf3bbbb104d9f4b001df69', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
|
|
146
146
|
this.wrapper = el;
|
|
147
147
|
} }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
|
|
148
148
|
: h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
|
|
@@ -69,6 +69,7 @@ export class SallaSearch {
|
|
|
69
69
|
salla.event.emit('salla-search::input.focused');
|
|
70
70
|
},
|
|
71
71
|
productClick: (product, position) => {
|
|
72
|
+
Helper.saveProductSource('search');
|
|
72
73
|
salla.event.emit('salla-search::product.clicked', [{ product, position }]);
|
|
73
74
|
},
|
|
74
75
|
recommendationClick: (term, source) => {
|
|
@@ -174,7 +175,7 @@ export class SallaSearch {
|
|
|
174
175
|
.fetch({ source: 'search', source_value: val })
|
|
175
176
|
.then(response => {
|
|
176
177
|
this.results = response;
|
|
177
|
-
salla.event.emit('Products Searched', val);
|
|
178
|
+
salla.event.emit('Products Searched', { query: val, total: response.cursor?.count });
|
|
178
179
|
if (this.newSearchEnabled) {
|
|
179
180
|
this.searchHistory = addToSearchHistory(this.searchHistory, val);
|
|
180
181
|
saveSearchHistory(this.searchHistory);
|
|
@@ -197,7 +198,7 @@ export class SallaSearch {
|
|
|
197
198
|
this.inputValue.length < 3 ? this.container?.classList.remove('s-search-no-results') : '';
|
|
198
199
|
}
|
|
199
200
|
renderLegacyResults() {
|
|
200
|
-
return (h("div", { class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
|
|
201
|
+
return (h("div", { class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', onClick: () => Helper.saveProductSource('search'), class: {
|
|
201
202
|
's-search-product': true,
|
|
202
203
|
's-search-product-not-available': !product.is_available,
|
|
203
204
|
}, innerHTML: this.productSlot
|
|
@@ -188,18 +188,18 @@ export class SallaSearchableDropdown {
|
|
|
188
188
|
render() {
|
|
189
189
|
const hasSelection = this.selectedItem != null;
|
|
190
190
|
const listboxId = `${this.inputId}-listbox`;
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: 'a9d8dd63b0dbc632572a6bb5f6885e5df1d6d8de', class: "s-searchable-dropdown" }, h("div", { key: 'e8e893796b20411ea11043de5119a0d91d5581e3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '4a352b4b9e88e6999ea786f05bfcc1ebe7a9d2f5', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'ee0695692ac805fbd9f2a464ae845e7f50da77b1', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'bdaa4e1e5b9992a8a4ac1a291c77f4a59d699111', class: {
|
|
192
192
|
's-searchable-dropdown-trigger': true,
|
|
193
193
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
194
194
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
195
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '
|
|
195
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '6ac4b2325e1154164fb029c2c02426fc88b12257', class: {
|
|
196
196
|
'sicon-keyboard_arrow_down': true,
|
|
197
197
|
's-searchable-dropdown-trigger-icon': true,
|
|
198
198
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
199
|
-
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '
|
|
199
|
+
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '9bf0065cf014b5e99997bf69c591388c9ba44ee9', class: {
|
|
200
200
|
's-searchable-dropdown-panel': true,
|
|
201
201
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
202
|
-
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '
|
|
202
|
+
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '1f6b03cb1e718fc6283190bb0de3ea80b4646e67', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '2dcdee4dfa87fbc38a0e1c1dd021aaa156d61cc3', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '440f49eb67a8c850b217837cc017eea0b402fc20', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: 'feefb4edcff1bfa8a0e44c4ef0e4f6ae2ca77d9e', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
203
203
|
}
|
|
204
204
|
renderListContent() {
|
|
205
205
|
if (this.searching || this.loading) {
|
|
@@ -22,7 +22,7 @@ export class SallaSkeleton {
|
|
|
22
22
|
's-skeleton-item': true,
|
|
23
23
|
's-skeleton-item-circular': this.type == 'circle',
|
|
24
24
|
};
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '77af51474bcf2166aa4afb8eaecc25c05b4715f7', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '758d3ccc09bcb56625b8c1dd7161f529ffefaeed', class: classes }, "\u00A0")));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "salla-skeleton"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -31,7 +31,7 @@ export class SallaSocial {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const linksArray = this.getLinksArray();
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '0a25838e41939241e920cd4741adb7d16a61560d' }, h("ul", { key: '1744c463a3f8feda441df53eac48fb4a8e92b524', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
35
35
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
36
36
|
.replace(/\{type\}/g, link.type)
|
|
37
37
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -355,7 +355,7 @@ export class SallaSocialShare {
|
|
|
355
355
|
})));
|
|
356
356
|
}
|
|
357
357
|
render() {
|
|
358
|
-
return (h("div", { key: '
|
|
358
|
+
return (h("div", { key: '74ae37141053842dc1e1b36ddc2cf5817d5d1bdc', class: "s-social-share-wrapper" }, h("slot", { key: '30b2597ad462b2a47c2e6cfc5fb72c46b1797880', name: "widget" }, h("salla-button", { key: 'f3db20153c9a2df0ccf039bfd0adaef4f04449a2', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'e2ca4cf8393b5c1acc78f60a42fcd5ff7c4315d2', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
|
|
359
359
|
}
|
|
360
360
|
static get is() { return "salla-social-share"; }
|
|
361
361
|
static get originalStyleUrls() {
|
|
@@ -30,7 +30,7 @@ export class SallaTabContent {
|
|
|
30
30
|
's-tabs-content': true,
|
|
31
31
|
's-tabs-content-selected': this.isSelected
|
|
32
32
|
};
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '1c0f03941a4a37f7afb926d4bf7002910fbc6cad', class: classes }, h("slot", { key: 'f04243b5c619a8457bc41bef190440c430549ed9' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "salla-tab-content"; }
|
|
36
36
|
static get originalStyleUrls() {
|
|
@@ -52,7 +52,7 @@ export class SallaTabHeader {
|
|
|
52
52
|
's-tabs-active': this.isSelected,
|
|
53
53
|
};
|
|
54
54
|
return [
|
|
55
|
-
h("div", { key: '
|
|
55
|
+
h("div", { key: '1f006a8a8e4e5ca2d27a001621203402d5765fc0', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'c4a036153eff97fc24d34db35c5d2937f9e9ece1' })),
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "salla-tab-header"; }
|
|
@@ -50,7 +50,7 @@ export class SallaTabs {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
return [
|
|
53
|
-
h("div", { key: '
|
|
53
|
+
h("div", { key: 'e1739f5533b3b45e50fe0387a74479de7ea46965', class: "s-tabs" }, h("div", { key: '7eddaf514f3a3daf16c87789cda4b91223a4d6e2', class: "s-tabs-header" }, h("slot", { key: 'd878899ce681f3d99e910e9667261ff67a15825d', name: "header" })), h("div", { key: 'a1f7fb4b0fc589d5e2bad0bca96073a9e5b919d4', class: "s-tabs-content-wrapper" }, h("slot", { key: '7cc75788d2c8824be1d126d2fee01a44bc4da8c6', name: "content" })))
|
|
54
54
|
];
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "salla-tabs"; }
|
|
@@ -138,7 +138,7 @@ export class SallaTelInput {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: 'aaf854dc9a005abf182fa4f1df3bb6ca7a2273fd', class: "s-tel-input" }, h("input", { key: '93e82604285107f8cf791fa03766d47c22151297', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '2ed465fcf44b673973203c3de95eda1c638ed829', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'da4714631df46c13b2caa0a2e2cf7b5c434c1257', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
|
|
142
142
|
}
|
|
143
143
|
componentDidLoad() {
|
|
144
144
|
this.initPromise = this.initTelInput();
|