@salla.sa/twilight-components 2.14.541 → 2.14.543
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-plugin-file-poster-Di_D3w89.js → filepond-plugin-file-poster-Dy-GRHf0.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BiRa98qd.js → filepond-plugin-file-validate-size-BWIBGLW-.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-Bolv-kyJ.js → filepond-plugin-file-validate-type-DEVtMF0l.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-AN6huMV9.js → filepond-plugin-image-edit-DSDoJaLw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-Bwa8QtGo.js → filepond-plugin-image-exif-orientation-BdZit5hj.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CaVYLAvG.js → filepond-plugin-image-preview-Z3_zQyYR.js} +1 -1
- package/dist/cjs/{filepond-CNdvfaMJ.js → filepond-uhJt4caG.js} +1 -1
- package/dist/cjs/{index-DX2EKTCE.js → index-Bw3b6O6G.js} +14 -14
- package/dist/cjs/{intlTelInput-DnwdGAiP.js → intlTelInput-CXe3TkdL.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mail-C9D8MHae.js → mail-CO8cFZH7.js} +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +8 -2
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-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_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/{salla-comment-form_8.cjs.entry.js → salla-comment-form_9.cjs.entry.js} +259 -3
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +3 -3
- 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 +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-options-modal_2.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-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 +3 -3
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +73 -14
- package/dist/cjs/salla-rating-modal.cjs.entry.js +22 -7
- 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-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +4 -4
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +3 -3
- 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-BUFYPi-_.js → vanilla-picker-GTx-kpDm.js} +1 -1
- package/dist/collection/collection-manifest.json +14 -12
- package/dist/collection/components/salla-comments/interfaces.js +12 -0
- package/dist/collection/components/salla-comments/salla-comment-item.js +1 -1
- package/dist/collection/components/salla-comments/salla-comments.js +38 -5
- package/dist/collection/components/salla-product-options/salla-product-options.js +7 -1
- package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +119 -16
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +69 -10
- package/dist/collection/components/salla-verified-review/salla-verified-review.css +162 -0
- package/dist/collection/components/salla-verified-review/salla-verified-review.js +264 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-comment-item2.js +1 -1
- package/dist/components/salla-comments.js +40 -1
- package/dist/components/salla-product-options2.js +7 -1
- package/dist/components/salla-rating-modal-v22.js +73 -12
- package/dist/components/salla-rating-modal.js +1 -591
- package/dist/components/salla-rating-modal2.js +613 -0
- package/dist/components/salla-verified-review.d.ts +11 -0
- package/dist/components/salla-verified-review.js +325 -0
- package/dist/esm/{filepond-CKsbRWmS.js → filepond-BcXR53L3.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-B_gYCESq.js → filepond-plugin-file-poster-BTU_WzVu.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Bep6fNi3.js → filepond-plugin-file-validate-size-c_09APqP.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-r3uRmGIr.js → filepond-plugin-file-validate-type-Dz2Lgh8V.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BJcOlOFL.js → filepond-plugin-image-edit-DK7eXs2p.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DJoDaRwQ.js → filepond-plugin-image-exif-orientation-DYBURwn_.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BsuTLPS0.js → filepond-plugin-image-preview-4WNiH-ie.js} +1 -1
- package/dist/esm/{index-BVqCTDsV.js → index-BW1au-Nh.js} +14 -14
- package/dist/esm/{intlTelInput-CD2FA0nI.js → intlTelInput-DvPcVtVG.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mail-DzAIgzdz.js → mail-DmgxDvXL.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 +8 -2
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-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_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/{salla-comment-form_8.entry.js → salla-comment-form_9.entry.js} +259 -4
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +3 -3
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner_10.entry.js +3 -3
- 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 +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-options-modal_2.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-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 +3 -3
- package/dist/esm/salla-rating-modal-v2.entry.js +73 -14
- package/dist/esm/salla-rating-modal.entry.js +22 -7
- 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-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +4 -4
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +3 -3
- 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-Ba_za9Iy.js → vanilla-picker-CDk_knNu.js} +1 -1
- package/dist/twilight/p-03d77f90.entry.js +4 -0
- package/dist/twilight/{p-17940d8a.entry.js → p-07c013f9.entry.js} +1 -1
- package/dist/twilight/{p-1ec6e0fe.entry.js → p-10534171.entry.js} +1 -1
- package/dist/twilight/{p-ced4b7ac.entry.js → p-1187210a.entry.js} +1 -1
- package/dist/twilight/{p-c47ecca7.entry.js → p-1282e22a.entry.js} +1 -1
- package/dist/twilight/{p-a5d08af6.entry.js → p-13bf1c47.entry.js} +1 -1
- package/dist/twilight/{p-ee2b16d7.entry.js → p-13dbbbdc.entry.js} +1 -1
- package/dist/twilight/{p-f58d14ed.entry.js → p-16296dce.entry.js} +1 -1
- package/dist/twilight/{p-5115117b.entry.js → p-16ccbce5.entry.js} +1 -1
- package/dist/twilight/{p-2b0cf190.entry.js → p-1ba8fb02.entry.js} +1 -1
- package/dist/twilight/{p-90ee37c7.entry.js → p-1c82117c.entry.js} +1 -1
- package/dist/twilight/{p-39d9e02f.entry.js → p-26f8a482.entry.js} +1 -1
- package/dist/twilight/{p-6a3487de.entry.js → p-280e67f0.entry.js} +1 -1
- package/dist/twilight/{p-3961522a.entry.js → p-2a8f1ed4.entry.js} +1 -1
- package/dist/twilight/{p-87115499.entry.js → p-311a905b.entry.js} +1 -1
- package/dist/twilight/{p-bab59319.entry.js → p-315890b5.entry.js} +1 -1
- package/dist/twilight/{p-ee3ddc23.entry.js → p-362792d6.entry.js} +1 -1
- package/dist/twilight/{p-e2934193.entry.js → p-3ad55c42.entry.js} +1 -1
- package/dist/twilight/{p-56647774.entry.js → p-3b9dcb0f.entry.js} +1 -1
- package/dist/twilight/{p-d78998b7.entry.js → p-3c28560f.entry.js} +1 -1
- package/dist/twilight/{p-b389b1d3.entry.js → p-3cfd4fcd.entry.js} +1 -1
- package/dist/twilight/{p-96584590.entry.js → p-40555637.entry.js} +1 -1
- package/dist/twilight/{p-436dfe93.entry.js → p-46399dc8.entry.js} +1 -1
- package/dist/twilight/{p-743b79ae.entry.js → p-489d084c.entry.js} +1 -1
- package/dist/twilight/{p-1974f6da.entry.js → p-4b14e0f8.entry.js} +1 -1
- package/dist/twilight/{p-1a191989.entry.js → p-4be8900d.entry.js} +1 -1
- package/dist/twilight/p-4f052df8.entry.js +4 -0
- package/dist/twilight/{p-c48f5c6b.entry.js → p-50c0b6fa.entry.js} +1 -1
- package/dist/twilight/{p-878c2be2.entry.js → p-5335f307.entry.js} +1 -1
- package/dist/twilight/p-534e7760.entry.js +4 -0
- package/dist/twilight/{p-fbc075fe.entry.js → p-641cc01d.entry.js} +1 -1
- package/dist/twilight/{p-c53c2f59.entry.js → p-64f0c216.entry.js} +1 -1
- package/dist/twilight/{p-f195a63d.entry.js → p-65a86613.entry.js} +1 -1
- package/dist/twilight/{p-e4c9cef4.entry.js → p-664d428e.entry.js} +1 -1
- package/dist/twilight/{p-79444897.entry.js → p-66c7b9e4.entry.js} +1 -1
- package/dist/twilight/{p-723aeda4.entry.js → p-677bcf4c.entry.js} +1 -1
- package/dist/twilight/{p-89e9a91f.entry.js → p-68d6fa66.entry.js} +1 -1
- package/dist/twilight/{p-cf3365e2.entry.js → p-69f4a089.entry.js} +1 -1
- package/dist/twilight/{p-37d9f762.entry.js → p-6d3a4c41.entry.js} +1 -1
- package/dist/twilight/{p-13244c52.entry.js → p-6d6618f8.entry.js} +1 -1
- package/dist/twilight/{p-f2c688d6.entry.js → p-6e78ee63.entry.js} +1 -1
- package/dist/twilight/{p-978e4164.entry.js → p-72960bb3.entry.js} +1 -1
- package/dist/twilight/{p-659e2280.entry.js → p-75065cbf.entry.js} +1 -1
- package/dist/twilight/{p-97fc57c1.entry.js → p-7adefcd6.entry.js} +1 -1
- package/dist/twilight/{p-7b23dec7.entry.js → p-7afd066a.entry.js} +1 -1
- package/dist/twilight/{p-6d07d195.entry.js → p-80c11fae.entry.js} +1 -1
- package/dist/twilight/{p-f82cee0c.entry.js → p-821aa95a.entry.js} +1 -1
- package/dist/twilight/{p-e41e5fc7.entry.js → p-84679cc1.entry.js} +1 -1
- package/dist/twilight/{p-96a57e9c.entry.js → p-8643930a.entry.js} +1 -1
- package/dist/twilight/{p-dff6d623.entry.js → p-87af932a.entry.js} +1 -1
- package/dist/twilight/{p-50c90e0a.entry.js → p-87cc2e08.entry.js} +1 -1
- package/dist/twilight/{p-e3dab961.entry.js → p-89fe5237.entry.js} +1 -1
- package/dist/twilight/{p-fa17989b.entry.js → p-93c006fc.entry.js} +1 -1
- package/dist/twilight/{p-b6d5ae9b.entry.js → p-9b1403fc.entry.js} +1 -1
- package/dist/twilight/{p-D-zqM6k8.js → p-AncUY1nn.js} +1 -1
- package/dist/twilight/{p-CP29f7RQ.js → p-BUMDIRU5.js} +1 -1
- package/dist/twilight/{p-BVqCTDsV.js → p-BW1au-Nh.js} +1 -1
- package/dist/twilight/{p-JKh0XFIn.js → p-BjS2Vb6h.js} +1 -1
- package/dist/twilight/{p-DzW3U8TR.js → p-C6nX89oY.js} +1 -1
- package/dist/twilight/{p-DgwK96eP.js → p-CMWS1gyZ.js} +1 -1
- package/dist/twilight/{p-Cluq3aDa.js → p-D9Y6HNvi.js} +1 -1
- package/dist/twilight/{p-DJmqmO68.js → p-DPMPVhgw.js} +1 -1
- package/dist/twilight/{p-DzAIgzdz.js → p-DmgxDvXL.js} +1 -1
- package/dist/twilight/{p-B83s3cRn.js → p-UDPL8zGN.js} +2 -2
- package/dist/twilight/{p-CS-t4QAX.js → p-UIEwOe70.js} +1 -1
- package/dist/twilight/{p-0ea8365b.entry.js → p-a15b4245.entry.js} +1 -1
- package/dist/twilight/{p-eaf9d536.entry.js → p-a38dc391.entry.js} +1 -1
- package/dist/twilight/{p-75e692d1.entry.js → p-a3fdec51.entry.js} +1 -1
- package/dist/twilight/{p-fc5d5473.entry.js → p-a4436d17.entry.js} +1 -1
- package/dist/twilight/{p-14689252.entry.js → p-a7a10dbf.entry.js} +1 -1
- package/dist/twilight/p-a9674965.entry.js +4 -0
- package/dist/twilight/{p-34d5c7bf.entry.js → p-aa9fb9f5.entry.js} +1 -1
- package/dist/twilight/{p-1fcebaad.entry.js → p-ac794ed6.entry.js} +1 -1
- package/dist/twilight/{p-635265d1.entry.js → p-b1dfc455.entry.js} +1 -1
- package/dist/twilight/{p-bf4c2184.entry.js → p-b2b818a5.entry.js} +1 -1
- package/dist/twilight/{p-7bb24ad6.entry.js → p-b89d8c3c.entry.js} +1 -1
- package/dist/twilight/{p-333ea76b.entry.js → p-baa06c65.entry.js} +1 -1
- package/dist/twilight/{p-0a9093f1.entry.js → p-bcee5564.entry.js} +1 -1
- package/dist/twilight/{p-42952fac.entry.js → p-beaab93e.entry.js} +1 -1
- package/dist/twilight/{p-b862c670.entry.js → p-beb2110d.entry.js} +1 -1
- package/dist/twilight/{p-c34f8c08.entry.js → p-c214700a.entry.js} +1 -1
- package/dist/twilight/{p-f4ac8cae.entry.js → p-c23f7b95.entry.js} +1 -1
- package/dist/twilight/{p-85f95a58.entry.js → p-c7e980aa.entry.js} +1 -1
- package/dist/twilight/{p-598cadf4.entry.js → p-caa8d5ae.entry.js} +1 -1
- package/dist/twilight/{p-003499a8.entry.js → p-cbe760ce.entry.js} +1 -1
- package/dist/twilight/{p-cd805a38.entry.js → p-cc3a9188.entry.js} +1 -1
- package/dist/twilight/{p-daea3207.entry.js → p-ceb40475.entry.js} +1 -1
- package/dist/twilight/{p-f0a14b18.entry.js → p-cf4efddb.entry.js} +1 -1
- package/dist/twilight/{p-6ee096e8.entry.js → p-d018fc49.entry.js} +1 -1
- package/dist/twilight/{p-0ce2c41f.entry.js → p-d3692caf.entry.js} +1 -1
- package/dist/twilight/{p-9d18525b.entry.js → p-d54acab0.entry.js} +1 -1
- package/dist/twilight/{p-1174e53e.entry.js → p-d7a68f6c.entry.js} +1 -1
- package/dist/twilight/{p-86a1f616.entry.js → p-de83979a.entry.js} +1 -1
- package/dist/twilight/{p-3a4bb8de.entry.js → p-df202b1d.entry.js} +1 -1
- package/dist/twilight/{p-337cc9f6.entry.js → p-e184cd72.entry.js} +1 -1
- package/dist/twilight/{p-7d9288b0.entry.js → p-e1eb70d2.entry.js} +1 -1
- package/dist/twilight/{p-a774f6f0.entry.js → p-e29f28eb.entry.js} +7 -7
- package/dist/twilight/{p-409f95a8.entry.js → p-e8153a9a.entry.js} +1 -1
- package/dist/twilight/{p-a347e701.entry.js → p-edebecb3.entry.js} +1 -1
- package/dist/twilight/{p-36abc50f.entry.js → p-f0a04676.entry.js} +1 -1
- package/dist/twilight/{p-c19cf93c.entry.js → p-f3f9d1fb.entry.js} +1 -1
- package/dist/twilight/{p-cdd8ed7f.entry.js → p-f45f5f91.entry.js} +1 -1
- package/dist/twilight/{p-11ef8b82.entry.js → p-feb80402.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-comments/interfaces.d.ts +15 -0
- package/dist/types/components/salla-comments/salla-comments.d.ts +5 -2
- package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +16 -3
- package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +10 -2
- package/dist/types/components/salla-verified-review/salla-verified-review.d.ts +51 -0
- package/dist/types/components.d.ts +45 -12
- package/package.json +5 -5
- package/dist/twilight/p-0974f6c6.entry.js +0 -4
- package/dist/twilight/p-98b1ff35.entry.js +0 -4
- package/dist/twilight/p-afaa0fbe.entry.js +0 -4
- package/dist/twilight/p-e04221de.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-Bw3b6O6G.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-6RI07gZo.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.js');
|
|
7
7
|
var iphoneX = require('./iphone-x-B683VspR.js');
|
|
8
|
-
var mail = require('./mail-
|
|
8
|
+
var mail = require('./mail-CO8cFZH7.js');
|
|
9
9
|
var cancel = require('./cancel-De6vslRA.js');
|
|
10
10
|
|
|
11
11
|
var CelebrationIcon = `<!-- Generated by IcoMoon.io -->
|
|
@@ -212,7 +212,7 @@ const SallaQuickOrder = class {
|
|
|
212
212
|
? this.confirmPayButtonTitle : this.expanded ? index.h("i", { innerHTML: cancel.Cancel }) : this.confirmPayButtonTitle)), index.h("form", { onSubmit: (e) => this.submit(e), class: 's-quick-order-expandable ' + (this.expanded ? 's-quick-order-shown' : '') }, Salla.config.isGuest() &&
|
|
213
213
|
[
|
|
214
214
|
index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: PortraitIcon }), index.h("input", { type: "text", required: true, class: "s-form-control s-quick-order-phone-field", name: 'name', placeholder: this.userNameLabel, ref: el => (this.nameInput = el) })),
|
|
215
|
-
index.h("div", { class: "s-quick-order-flex-input" }, index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: iphoneX.IphoneXIcon }), index.h("salla-tel-input", { ref: el => (this.phoneInput = el) })), index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: mail.
|
|
215
|
+
index.h("div", { class: "s-quick-order-flex-input" }, index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: iphoneX.IphoneXIcon }), index.h("salla-tel-input", { ref: el => (this.phoneInput = el) })), index.h("div", { class: "s-form-group" }, index.h("span", { innerHTML: mail.MailIcon }), index.h("input", { type: "email", class: "s-form-control s-quick-order-email-field", name: 'email', required: this.isEmailRequired, placeholder: this.placeHolderEmail + ' ' + (this.isEmailRequired ? '' : this.emailOptional), ref: el => (this.emailInput = el) }))),
|
|
216
216
|
], this.isTermsRequired && (index.h("label", { htmlFor: "terms", class: "s-quick-order-terms" }, index.h("input", { type: "checkbox", required: true, name: 'terms', id: 'terms', ref: el => (this.termsInput = el), onChange: () => (this.termsChecked = this.termsInput.checked), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", index.h("div", { innerHTML: this.formatAgreementText(this.agreementText, 150) }, this.agreementText.length > 150 && (index.h("salla-button", { shape: "link", onClick: () => this.agreementModal.open() }, this.agreementShowText))), " "))), index.h("salla-button", { type: "submit", color: this.getBtnColor(), width: "wide", ref: el => (this.submitBtn = el) }, this.payButtonTitle)), index.h("salla-modal", { "modal-title": this.agreementModalHead, ref: modal => (this.agreementModal = modal) }, index.h("article", { innerHTML: this.agreementText })))));
|
|
217
217
|
}
|
|
218
218
|
componentDidLoad() {
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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');
|
|
10
10
|
var Helper = require('./Helper-6RI07gZo.js');
|
|
11
11
|
var image = require('./image-BoZ6Hums.js');
|
|
12
12
|
var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
|
|
13
|
-
var mail = require('./mail-
|
|
13
|
+
var mail = require('./mail-CO8cFZH7.js');
|
|
14
14
|
var uploadLimits = require('./upload-limits-C3RarAPN.js');
|
|
15
15
|
require('./anime.es-BqW8JHZi.js');
|
|
16
16
|
|
|
@@ -235,7 +235,7 @@ const SallaRatingModalV2 = class {
|
|
|
235
235
|
* Show the rating modal
|
|
236
236
|
*/
|
|
237
237
|
syncStoreSettings() {
|
|
238
|
-
if (
|
|
238
|
+
if (this.orderId === undefined) {
|
|
239
239
|
this.orderId = salla.config.get('page.id');
|
|
240
240
|
}
|
|
241
241
|
this.allowAttachImages = !!salla.config.get('store.settings.rating.allow_attach_images');
|
|
@@ -304,11 +304,15 @@ const SallaRatingModalV2 = class {
|
|
|
304
304
|
this.setUploaderProcessing(productId, !!detail.uploading);
|
|
305
305
|
this.scheduleUploaderHeightRefresh();
|
|
306
306
|
}
|
|
307
|
+
/** An eligible review with no order behind it — product-only, no store/shipping steps. */
|
|
308
|
+
isUnverifiedReview() {
|
|
309
|
+
return this.orderId === null && !!this.productId;
|
|
310
|
+
}
|
|
307
311
|
/** Encrypted order id from page config / prop — used to fetch order details. */
|
|
308
312
|
getRatingOrderId() {
|
|
309
313
|
return this.orderId || salla.config.get('page.id');
|
|
310
314
|
}
|
|
311
|
-
/** Numeric order id from API response — used when submitting ratings. */
|
|
315
|
+
/** Numeric order id from API response — used when submitting ratings. Null when unverified. */
|
|
312
316
|
getSubmitOrderId() {
|
|
313
317
|
return this.orderId;
|
|
314
318
|
}
|
|
@@ -377,6 +381,9 @@ const SallaRatingModalV2 = class {
|
|
|
377
381
|
return rating !== undefined && rating !== null && rating !== '' && Number(rating) > 0;
|
|
378
382
|
}
|
|
379
383
|
isTestimonialsEnabled(order = this.order) {
|
|
384
|
+
if (this.productId) {
|
|
385
|
+
return false;
|
|
386
|
+
}
|
|
380
387
|
if (order?.testimonials_enabled === false) {
|
|
381
388
|
return false;
|
|
382
389
|
}
|
|
@@ -395,6 +402,9 @@ const SallaRatingModalV2 = class {
|
|
|
395
402
|
return this.getRateableProducts(order).length > 0;
|
|
396
403
|
}
|
|
397
404
|
isShippingEnabled(order = this.order) {
|
|
405
|
+
if (this.productId) {
|
|
406
|
+
return false;
|
|
407
|
+
}
|
|
398
408
|
if (order?.shipping_enabled === false) {
|
|
399
409
|
return false;
|
|
400
410
|
}
|
|
@@ -416,7 +426,8 @@ const SallaRatingModalV2 = class {
|
|
|
416
426
|
return order.products.filter(item => item?.product?.id);
|
|
417
427
|
}
|
|
418
428
|
getRateableProducts(order = this.order) {
|
|
419
|
-
return this.getOrderProducts(order).filter(item => !this.hasRatingFeedback(item?.feedback)
|
|
429
|
+
return this.getOrderProducts(order).filter(item => !this.hasRatingFeedback(item?.feedback) &&
|
|
430
|
+
(!this.productId || String(item.product.id) === String(this.productId)));
|
|
420
431
|
}
|
|
421
432
|
getStepsCount(order = this.order) {
|
|
422
433
|
if (!order) {
|
|
@@ -439,6 +450,50 @@ const SallaRatingModalV2 = class {
|
|
|
439
450
|
this.scheduleWizardSetup = true;
|
|
440
451
|
index.forceUpdate(this);
|
|
441
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* Point the modal at a different order/product and invalidate any cached
|
|
455
|
+
* order so the next open() re-fetches instead of reusing stale data.
|
|
456
|
+
* Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
457
|
+
*/
|
|
458
|
+
async setOrder(orderId, productId) {
|
|
459
|
+
this.orderId = orderId;
|
|
460
|
+
this.productId = productId;
|
|
461
|
+
this.order = undefined;
|
|
462
|
+
this.hasError = false;
|
|
463
|
+
this.errorMessage = undefined;
|
|
464
|
+
this.showContactWidget = true;
|
|
465
|
+
}
|
|
466
|
+
/** Builds a single-product, order-less feedback target for unverified reviews. */
|
|
467
|
+
async loadUnverifiedProductOrder() {
|
|
468
|
+
const response = await salla.api
|
|
469
|
+
.withoutNotifier(() => salla.product.api.getDetails(this.productId))
|
|
470
|
+
.catch(() => null);
|
|
471
|
+
const product = response?.data;
|
|
472
|
+
this.order = {
|
|
473
|
+
products: [
|
|
474
|
+
{
|
|
475
|
+
feedback: undefined,
|
|
476
|
+
product: {
|
|
477
|
+
id: Number(this.productId),
|
|
478
|
+
name: product?.name || '',
|
|
479
|
+
thumbnail: product?.image?.url || salla.url.cdn('images/s-empty.png'),
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
products_enabled: true,
|
|
484
|
+
testimonials_enabled: false,
|
|
485
|
+
shipping_enabled: false,
|
|
486
|
+
thanks_message: '',
|
|
487
|
+
};
|
|
488
|
+
this.productReviewFactors = await this.fetchAllProductReviewFactors(this.order);
|
|
489
|
+
}
|
|
490
|
+
getModalTitle() {
|
|
491
|
+
if (this.isUnverifiedReview()) {
|
|
492
|
+
const productName = this.getRateableProducts()[0]?.product?.name || '';
|
|
493
|
+
return `${salla.lang.get('pages.rating.rate')} ${productName}`.trim();
|
|
494
|
+
}
|
|
495
|
+
return `${salla.lang.get('pages.rating.rate_order')} <span class="unicode">(#${this.order?.id})</span>`;
|
|
496
|
+
}
|
|
442
497
|
async open() {
|
|
443
498
|
await salla.onReady();
|
|
444
499
|
this.syncStoreSettings();
|
|
@@ -450,14 +505,16 @@ const SallaRatingModalV2 = class {
|
|
|
450
505
|
this.modal
|
|
451
506
|
?.open()
|
|
452
507
|
.then(() => this.order ||
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
508
|
+
(this.isUnverifiedReview()
|
|
509
|
+
? this.loadUnverifiedProductOrder()
|
|
510
|
+
: salla.api
|
|
511
|
+
.withoutNotifier(() => salla.rating.api.order(this.getRatingOrderId()))
|
|
512
|
+
.then(async (res) => {
|
|
513
|
+
this.order = res.data;
|
|
514
|
+
this.productReviewFactors = await this.fetchAllProductReviewFactors(res.data);
|
|
515
|
+
})))
|
|
459
516
|
.then(() => this.readyUpLoyaltyPoints())
|
|
460
|
-
.then(() => this.modal?.setTitle(
|
|
517
|
+
.then(() => this.modal?.setTitle(this.getModalTitle()))
|
|
461
518
|
.then(() => {
|
|
462
519
|
// Initialize productImages for all products
|
|
463
520
|
const initialImages = {};
|
|
@@ -892,7 +949,9 @@ const SallaRatingModalV2 = class {
|
|
|
892
949
|
Number(rating_product_with_image_points) + Number(rating_product_points);
|
|
893
950
|
}
|
|
894
951
|
loyaltyPointsNote() {
|
|
895
|
-
if (!this.loyaltyImageRatingPoints ||
|
|
952
|
+
if (!this.loyaltyImageRatingPoints ||
|
|
953
|
+
!this.loyaltyPointsForImagesLabel ||
|
|
954
|
+
this.isUnverifiedReview()) {
|
|
896
955
|
return null;
|
|
897
956
|
}
|
|
898
957
|
const svgIcon = (index.h("svg", { width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M10 0C13.6819 0 16.6667 2.98477 16.6667 6.66664C16.6667 9.37047 15.057 11.6984 12.7437 12.7444C11.6978 15.0575 9.3701 16.6666 6.66668 16.6666C2.98477 16.6666 0 13.6819 0 9.99998C0 7.29656 1.60918 4.96894 3.92195 3.92276C4.96827 1.60964 7.29618 0 10 0ZM6.66668 5C3.90524 5 1.66667 7.23856 1.66667 9.99998C1.66667 12.7614 3.90524 15 6.66668 15C9.4281 15 11.6667 12.7614 11.6667 9.99998C11.6667 7.23856 9.4281 5 6.66668 5ZM7.50002 5.83333V6.66664H9.16668V8.33331H5.83333C5.60322 8.33331 5.41667 8.51989 5.41667 8.74998C5.41667 8.95456 5.56407 9.12464 5.75844 9.15998L5.83333 9.16664H7.50002C8.6506 9.16664 9.58335 10.0994 9.58335 11.25C9.58335 12.4006 8.6506 13.3333 7.50002 13.3333V14.1666H5.83333V13.3333H4.16667V11.6666H7.50002C7.7301 11.6666 7.91668 11.4801 7.91668 11.25C7.91668 11.0455 7.76927 10.8753 7.57493 10.8401L7.50002 10.8333H5.83333C4.68274 10.8333 3.75 9.90056 3.75 8.74998C3.75 7.59939 4.68274 6.66664 5.83333 6.66664V5.83333H7.50002ZM10 1.66667C8.51377 1.66667 7.17893 2.31513 6.26313 3.34457C6.39704 3.33736 6.53138 3.33333 6.66668 3.33333C10.3486 3.33333 13.3333 6.3181 13.3333 9.99998C13.3333 10.1356 13.3293 10.2702 13.3213 10.4037C14.3513 9.48814 15 8.15314 15 6.66664C15 3.90524 12.7614 1.66667 10 1.66667Z", fill: "#008C56" })));
|
|
@@ -1394,7 +1453,7 @@ const SallaRatingModalV2 = class {
|
|
|
1394
1453
|
this.allowContactSupport &&
|
|
1395
1454
|
this.showContactWidget &&
|
|
1396
1455
|
(salla.config.get('store.contacts.whatsapp') ||
|
|
1397
|
-
salla.config.get('store.contacts.email')) ? (index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && (index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon })), salla.config.get('store.contacts.email') && (index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.
|
|
1456
|
+
salla.config.get('store.contacts.email')) ? (index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && (index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon })), salla.config.get('store.contacts.email') && (index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.MailIcon }))))) : (''),
|
|
1398
1457
|
index.h("div", { class: "s-rating-modal-footer" }, index.h("button", { ref: el => {
|
|
1399
1458
|
if (el)
|
|
1400
1459
|
this.backBtn = el;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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');
|
|
10
|
-
var mail = require('./mail-
|
|
10
|
+
var mail = require('./mail-CO8cFZH7.js');
|
|
11
11
|
var shippingFast = require('./shipping-fast-CsqEQE78.js');
|
|
12
12
|
var star = require('./star-DMzrN05M.js');
|
|
13
13
|
var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
|
|
@@ -30,7 +30,7 @@ const SallaRatingModal = class {
|
|
|
30
30
|
this.shouldOpenDeleteModal = false;
|
|
31
31
|
this.editItem = null;
|
|
32
32
|
this.loyaltyImageRatingPoints = 0;
|
|
33
|
-
this.enableNewPopUp =
|
|
33
|
+
this.enableNewPopUp = true;
|
|
34
34
|
this.dragAndDropFilesLabel = salla.lang.get('common.uploader.drag_and_drop_files');
|
|
35
35
|
this.contactSubjectLabel = salla.lang.get('pages.rating.contact_subject');
|
|
36
36
|
this.editReviewLabel = salla.lang.get('pages.rating.edit_review');
|
|
@@ -149,7 +149,19 @@ const SallaRatingModal = class {
|
|
|
149
149
|
return this.v2Ref ?? this.host.querySelector('salla-rating-modal-v2');
|
|
150
150
|
}
|
|
151
151
|
syncNewPopUpFlag() {
|
|
152
|
-
|
|
152
|
+
// Enable the new pop-up to all consumers:
|
|
153
|
+
this.enableNewPopUp = true;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Point the modal at a different order/product and invalidate any cached
|
|
157
|
+
* order so the next open() re-fetches instead of reusing stale data.
|
|
158
|
+
* Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
159
|
+
*/
|
|
160
|
+
async setOrder(orderId, productId) {
|
|
161
|
+
this.orderId = orderId;
|
|
162
|
+
this.productId = productId;
|
|
163
|
+
this.order = undefined;
|
|
164
|
+
await this.getV2Ref()?.setOrder(orderId, productId);
|
|
153
165
|
}
|
|
154
166
|
/**
|
|
155
167
|
* Show the rating modal
|
|
@@ -448,7 +460,7 @@ const SallaRatingModal = class {
|
|
|
448
460
|
}
|
|
449
461
|
render() {
|
|
450
462
|
if (this.enableNewPopUp) {
|
|
451
|
-
return (index.h(index.Host, { class: "s-rating-modal" }, index.h("salla-rating-modal-v2", { ref: (el) => (this.v2Ref = el), orderId: this.orderId })));
|
|
463
|
+
return (index.h(index.Host, { class: "s-rating-modal" }, index.h("salla-rating-modal-v2", { ref: (el) => (this.v2Ref = el), orderId: this.orderId, productId: this.productId })));
|
|
452
464
|
}
|
|
453
465
|
if (this.deleteMode) {
|
|
454
466
|
return index.h(index.Host, { class: "s-rating-modal" }, this.getDeleteModal());
|
|
@@ -481,12 +493,15 @@ const SallaRatingModal = class {
|
|
|
481
493
|
? index.h("div", { class: "rating-outer-form s-rating-modal-step-wrap s-rating-modal-step s-rating-modal-hidden", "data-type": "shipping" }, index.h("input", { type: "hidden", name: "shipping_company_id", value: this.order.shipping.company.id }), this.order.shipping.company.logo
|
|
482
494
|
? index.h("div", { class: "s-rating-modal-rounded-icon" }, index.h("img", { src: this.order.shipping.company.logo, class: "s-rating-modal-shipping-logo", alt: this.order.shipping.company.name }))
|
|
483
495
|
: index.h("span", { class: "s-rating-modal-icon", innerHTML: shippingFast.ShippingFast }), index.h("div", { class: "s-rating-modal-title" }, " ", `${salla.lang.get('pages.rating.rate_shipping')} ${this.order.shipping.company.name}`), index.h("div", { class: "s-rating-modal-stars-company" }, index.h("salla-rating-stars", { withLabel: true, size: "large" })), index.h("textarea", { name: "comment", class: "s-rating-modal-comment", placeholder: salla.lang.get('pages.rating.write_shipping_rate') }), index.h("small", { class: "s-rating-modal-validation-msg" }))
|
|
484
|
-
: '', index.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index.h("span", { class: "s-rating-modal-icon", innerHTML: checkCircle2.CheckCircle2 }), index.h("h3", { class: "s-rating-modal-thanks-title" }, salla.lang.get('pages.rating.thanks')), index.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), this.allowContactSupport && this.showContactWidget && (salla.config.get('store.contacts.whatsapp') || salla.config.get('store.contacts.email')) ? index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon }), salla.config.get('store.contacts.email') && index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.
|
|
496
|
+
: '', index.h("div", { class: "s-rating-modal-thanks s-rating-modal-hidden", ref: el => this.thanksTab = el }, index.h("span", { class: "s-rating-modal-icon", innerHTML: checkCircle2.CheckCircle2 }), index.h("h3", { class: "s-rating-modal-thanks-title" }, salla.lang.get('pages.rating.thanks')), index.h("div", { class: "s-rating-modal-thanks-msg", innerHTML: this.order.thanks_message }), index.h("time", { class: "s-rating-modal-thanks-time", ref: el => this.thanksTime = el }))), this.allowContactSupport && this.showContactWidget && (salla.config.get('store.contacts.whatsapp') || salla.config.get('store.contacts.email')) ? index.h("div", { class: "s-rating-modal-contact" }, index.h("p", null, this.contactUsLabel), index.h("div", { class: "s-rating-modal-contact-icons" }, salla.config.get('store.contacts.whatsapp') && index.h("span", { onClick: () => this.handleSendWhatsApp(), innerHTML: whatsapp2.WhatsappIcon }), salla.config.get('store.contacts.email') && index.h("span", { onClick: () => this.handleSendEmail(), innerHTML: mail.MailIcon }))) : '', index.h("div", { class: "s-rating-modal-footer" }, index.h("button", { ref: el => this.backBtn = el, onClick: () => this.previousTab(), class: "s-rating-modal-btn s-rating-modal-unvisiable" }, salla.lang.get('common.elements.back')), this.stepsCount > 1 ? index.h("ul", { class: "s-rating-modal-dots" }, [0, 1, 2].slice(0, this.stepsCount).map((v) => index.h("li", { key: v, class: 's-rating-modal-bg-gray s-rating-modal-step-dot' }))) : '', index.h("salla-button", { "loader-position": 'center', ref: el => this.nextBtn = el, onClick: () => this.submit() }, salla.lang.get('common.elements.next')))]
|
|
485
497
|
: index.h("salla-placeholder", { alignment: "center" }))));
|
|
486
498
|
}
|
|
487
499
|
}
|
|
488
500
|
async componentWillLoad() {
|
|
489
|
-
salla.event.on('rating::open', () =>
|
|
501
|
+
salla.event.on('rating::open', (params) => {
|
|
502
|
+
const orderId = params?.orderId || salla.config.get('page.id');
|
|
503
|
+
this.setOrder(orderId, params?.productId).then(() => this.open());
|
|
504
|
+
});
|
|
490
505
|
salla.event.on('rating::edit', (params) => this.openEditModal(params));
|
|
491
506
|
salla.event.on('rating::delete', (params) => this.openDeleteModal(params));
|
|
492
507
|
await salla.onReady();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
9
|
-
var mail = require('./mail-
|
|
9
|
+
var mail = require('./mail-CO8cFZH7.js');
|
|
10
10
|
var cancel = require('./cancel-De6vslRA.js');
|
|
11
11
|
|
|
12
12
|
var copy_link = `<!-- Generated by IcoMoon.io -->
|
|
@@ -77,7 +77,7 @@ const SallaSocialShare = class {
|
|
|
77
77
|
name: Socials.FACEBOOK,
|
|
78
78
|
},
|
|
79
79
|
{ icon: facebook.twitter, name: Socials.TWITTER },
|
|
80
|
-
{ icon: mail.
|
|
80
|
+
{ icon: mail.MailIcon, name: Socials.EMAIL },
|
|
81
81
|
{
|
|
82
82
|
icon: copy_link,
|
|
83
83
|
name: Socials.COPY_LINK,
|
|
@@ -343,7 +343,7 @@ const SallaSocialShare = class {
|
|
|
343
343
|
case Socials.TWITTER:
|
|
344
344
|
return { icon: facebook.twitter, color: '#000000', label: salla.lang.get('common.social.twitter') };
|
|
345
345
|
case Socials.EMAIL:
|
|
346
|
-
return { icon: mail.
|
|
346
|
+
return { icon: mail.MailIcon, color: '#2BA6FF', label: salla.lang.get('common.social.email') };
|
|
347
347
|
default:
|
|
348
348
|
return { icon: copy_link, color: '#6b7280', label: platform };
|
|
349
349
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.js');
|
|
7
7
|
|
|
8
8
|
const sallaTrustBadgesCss = "/*!twlt*/.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.flex{display:flex}.hidden{display:none}.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-Bw3b6O6G.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-s-x1Fshk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var mail = require('./mail-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.js');
|
|
7
|
+
var mail = require('./mail-CO8cFZH7.js');
|
|
8
8
|
|
|
9
9
|
var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
|
|
10
10
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -255,7 +255,7 @@ const SallaVerify = class {
|
|
|
255
255
|
}
|
|
256
256
|
render() {
|
|
257
257
|
return this.display == 'inline' ? index.h(index.Host, null, this.myBody()) :
|
|
258
|
-
index.h("salla-modal", { width: "xs", class: "s-verify", ref: modal => this.modal = modal, "modal-title": this.title }, index.h("span", { slot: 'icon', class: "s-verify-header-icon", innerHTML: this.type == "mobile" ? AndroidPhoneIcon : mail.
|
|
258
|
+
index.h("salla-modal", { width: "xs", class: "s-verify", ref: modal => this.modal = modal, "modal-title": this.title }, index.h("span", { slot: 'icon', class: "s-verify-header-icon", innerHTML: this.type == "mobile" ? AndroidPhoneIcon : mail.MailIcon }), this.myBody());
|
|
259
259
|
}
|
|
260
260
|
myBody() {
|
|
261
261
|
return (index.h("div", { class: "s-verify-body", ref: body => this.body = body }, index.h("div", { class: "s-verify-message", innerHTML: salla.lang.get('pages.profile.verify_message') }), index.h("slot", { name: "mobile" }), index.h("slot", { name: "email" }), index.h("input", { type: "hidden", name: "code", maxlength: "4", required: true, ref: code => this.code = code }), index.h("div", { class: { "s-verify-codes": true, "has-error": this.hasError }, dir: "ltr" }, [1, 2, 3, 4].map((i) => index.h("input", { type: "number", autocomplete: "one-time-code", pattern: "[0-9]*", inputmode: "numeric", maxlength: "1", value: "", id: `otp-${i}`, class: { "s-verify-input": true, "s-has-error": this.hasError }, onInput: e => this.handleInput(e), onPaste: e => this.handlePaste(e), onKeyUp: e => this.handleKeyUp(e), onFocus: e => this.handleFocus(e), required: true }))), this.hasError && this.errorMessage ? index.h("span", { class: "s-verify-error-message" }, this.errorMessage) : '', index.h("div", { slot: "footer", class: "s-verify-footer" }, index.h("salla-button", { class: "s-verify-submit", "loader-position": 'center', disabled: true, onClick: () => this.submit(), ref: b => this.btn = b }, salla.lang.get('pages.profile.verify')), index.h("p", { class: "s-verify-resend-message", ref: el => this.resendMessage = el }, salla.lang.get('blocks.header.resend_after'), index.h("b", { class: "s-verify-timer", ref: el => this.timer = el })), index.h("a", { href: "#", class: "s-verify-resend", onClick: () => this.resendCode(), ref: el => this.resend = el }, salla.lang.get('blocks.comments.submit'))), index.h("slot", { name: "after-footer" })));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Bw3b6O6G.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-Bw3b6O6G.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
|
|