@salla.sa/twilight-components 2.14.543 → 2.14.545
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-uhJt4caG.js → filepond-B5aWlI3l.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Dy-GRHf0.js → filepond-plugin-file-poster-BYq39KHd.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BWIBGLW-.js → filepond-plugin-file-validate-size-Bi3TAsJv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DEVtMF0l.js → filepond-plugin-file-validate-type-Ck6S5TuZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DSDoJaLw.js → filepond-plugin-image-edit-DbsdnH5j.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BdZit5hj.js → filepond-plugin-image-exif-orientation-x7TfJR-2.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-Z3_zQyYR.js → filepond-plugin-image-preview-CrU7vIRk.js} +1 -1
- package/dist/cjs/helpers-DHdDjm5V.js +340 -0
- package/dist/cjs/{index-Bw3b6O6G.js → index-DGpOR-TH.js} +14 -14
- package/dist/cjs/{intlTelInput-CXe3TkdL.js → intlTelInput-DKAXRecW.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mail-CO8cFZH7.js → mail-C9D8MHae.js} +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-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 +156 -401
- 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 → salla-comment-form_8.cjs.entry.js} +3 -259
- 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 +21 -5
- 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 +14 -73
- package/dist/cjs/salla-rating-modal.cjs.entry.js +7 -22
- 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-GTx-kpDm.js → vanilla-picker-DQDSSf6Q.js} +1 -1
- package/dist/collection/collection-manifest.json +12 -14
- package/dist/collection/components/salla-bullet-delivery/helpers.js +3 -0
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +82 -16
- package/dist/collection/components/salla-comments/interfaces.js +0 -12
- package/dist/collection/components/salla-comments/salla-comment-item.js +1 -1
- package/dist/collection/components/salla-comments/salla-comments.js +5 -38
- package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +1 -1
- package/dist/collection/components/salla-delivery-promise/delivery-promise-intent.js +9 -0
- package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +10 -3
- package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +16 -119
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +10 -69
- package/dist/components/helpers.js +319 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bullet-delivery.js +82 -327
- package/dist/components/salla-comment-item2.js +1 -1
- package/dist/components/salla-comments.js +1 -40
- package/dist/components/salla-delivery-promise.js +20 -4
- package/dist/components/salla-rating-modal-v22.js +12 -73
- package/dist/components/salla-rating-modal.js +591 -1
- package/dist/esm/{filepond-plugin-file-poster-BTU_WzVu.js → filepond-plugin-file-poster-CkWxCmZT.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-c_09APqP.js → filepond-plugin-file-validate-size-DlWS-oUK.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Dz2Lgh8V.js → filepond-plugin-file-validate-type-mdpFM1TG.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DK7eXs2p.js → filepond-plugin-image-edit-BqPLKgZU.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DYBURwn_.js → filepond-plugin-image-exif-orientation-CMqFjPu7.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-4WNiH-ie.js → filepond-plugin-image-preview-DjCwk-CI.js} +1 -1
- package/dist/esm/{filepond-BcXR53L3.js → filepond-wd7_MQSV.js} +1 -1
- package/dist/esm/helpers-BDChq2t4.js +319 -0
- package/dist/esm/{index-BW1au-Nh.js → index-CHZfg_a9.js} +14 -14
- package/dist/esm/{intlTelInput-DvPcVtVG.js → intlTelInput-B5Q8rrU9.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mail-DmgxDvXL.js → mail-DzAIgzdz.js} +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-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 +83 -328
- 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 → salla-comment-form_8.entry.js} +4 -259
- 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 +21 -5
- 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 +14 -73
- package/dist/esm/salla-rating-modal.entry.js +7 -22
- 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-CDk_knNu.js → vanilla-picker-uNDULydX.js} +1 -1
- package/dist/twilight/{p-df202b1d.entry.js → p-0495bfac.entry.js} +1 -1
- package/dist/twilight/{p-13dbbbdc.entry.js → p-0573a498.entry.js} +1 -1
- package/dist/twilight/{p-b89d8c3c.entry.js → p-06d9e1c5.entry.js} +1 -1
- package/dist/twilight/{p-b1dfc455.entry.js → p-0749cc55.entry.js} +1 -1
- package/dist/twilight/p-0ae39262.entry.js +4 -0
- package/dist/twilight/{p-de83979a.entry.js → p-12836275.entry.js} +1 -1
- package/dist/twilight/p-12f61ae1.entry.js +4 -0
- package/dist/twilight/{p-69f4a089.entry.js → p-1419a93d.entry.js} +1 -1
- package/dist/twilight/{p-baa06c65.entry.js → p-17d49c87.entry.js} +1 -1
- package/dist/twilight/{p-1282e22a.entry.js → p-1ea25389.entry.js} +1 -1
- package/dist/twilight/{p-80c11fae.entry.js → p-2305edcc.entry.js} +1 -1
- package/dist/twilight/{p-10534171.entry.js → p-235d7596.entry.js} +1 -1
- package/dist/twilight/{p-50c0b6fa.entry.js → p-25d9f1b2.entry.js} +1 -1
- package/dist/twilight/{p-16ccbce5.entry.js → p-25f51a7e.entry.js} +1 -1
- package/dist/twilight/{p-3c28560f.entry.js → p-279a1661.entry.js} +1 -1
- package/dist/twilight/{p-ac794ed6.entry.js → p-28248b6b.entry.js} +1 -1
- package/dist/twilight/{p-7afd066a.entry.js → p-2d01a4f5.entry.js} +1 -1
- package/dist/twilight/{p-66c7b9e4.entry.js → p-2d62c947.entry.js} +1 -1
- package/dist/twilight/{p-489d084c.entry.js → p-2db5e829.entry.js} +1 -1
- package/dist/twilight/{p-362792d6.entry.js → p-2de58591.entry.js} +1 -1
- package/dist/twilight/{p-16296dce.entry.js → p-32e3daa3.entry.js} +1 -1
- package/dist/twilight/{p-beb2110d.entry.js → p-345532e5.entry.js} +1 -1
- package/dist/twilight/{p-280e67f0.entry.js → p-346366ba.entry.js} +1 -1
- package/dist/twilight/{p-46399dc8.entry.js → p-35557962.entry.js} +1 -1
- package/dist/twilight/{p-d54acab0.entry.js → p-3672d4f7.entry.js} +1 -1
- package/dist/twilight/{p-315890b5.entry.js → p-37163aef.entry.js} +1 -1
- package/dist/twilight/{p-e184cd72.entry.js → p-391a2ec6.entry.js} +1 -1
- package/dist/twilight/{p-b2b818a5.entry.js → p-3a8be7df.entry.js} +1 -1
- package/dist/twilight/{p-ceb40475.entry.js → p-3f5bc617.entry.js} +1 -1
- package/dist/twilight/{p-cf4efddb.entry.js → p-419499d6.entry.js} +1 -1
- package/dist/twilight/{p-d018fc49.entry.js → p-4ac9a3b6.entry.js} +1 -1
- package/dist/twilight/{p-aa9fb9f5.entry.js → p-5074de7d.entry.js} +1 -1
- package/dist/twilight/{p-65a86613.entry.js → p-51a062cd.entry.js} +1 -1
- package/dist/twilight/p-54e2d320.entry.js +1024 -0
- package/dist/twilight/{p-84679cc1.entry.js → p-5933ba05.entry.js} +1 -1
- package/dist/twilight/{p-4b14e0f8.entry.js → p-5d9a85b0.entry.js} +1 -1
- package/dist/twilight/{p-d7a68f6c.entry.js → p-5ded000f.entry.js} +1 -1
- package/dist/twilight/{p-a3fdec51.entry.js → p-63b01300.entry.js} +1 -1
- package/dist/twilight/{p-677bcf4c.entry.js → p-64efbb2c.entry.js} +1 -1
- package/dist/twilight/{p-feb80402.entry.js → p-67b91397.entry.js} +1 -1
- package/dist/twilight/{p-9b1403fc.entry.js → p-69119c00.entry.js} +1 -1
- package/dist/twilight/{p-6e78ee63.entry.js → p-6c18cc72.entry.js} +1 -1
- package/dist/twilight/{p-1ba8fb02.entry.js → p-6d961d73.entry.js} +1 -1
- package/dist/twilight/{p-64f0c216.entry.js → p-6ff53523.entry.js} +1 -1
- package/dist/twilight/{p-75065cbf.entry.js → p-72ee7071.entry.js} +1 -1
- package/dist/twilight/{p-6d6618f8.entry.js → p-72f54055.entry.js} +1 -1
- package/dist/twilight/{p-3b9dcb0f.entry.js → p-74529abb.entry.js} +1 -1
- package/dist/twilight/{p-664d428e.entry.js → p-766a3291.entry.js} +1 -1
- package/dist/twilight/{p-d3692caf.entry.js → p-788fd019.entry.js} +1 -1
- package/dist/twilight/{p-a15b4245.entry.js → p-82fe9f82.entry.js} +1 -1
- package/dist/twilight/{p-f45f5f91.entry.js → p-832f3a98.entry.js} +1 -1
- package/dist/twilight/{p-89fe5237.entry.js → p-84380d4a.entry.js} +1 -1
- package/dist/twilight/{p-311a905b.entry.js → p-8780a467.entry.js} +1 -1
- package/dist/twilight/{p-7adefcd6.entry.js → p-87e10a68.entry.js} +1 -1
- package/dist/twilight/{p-3cfd4fcd.entry.js → p-88f50d7e.entry.js} +1 -1
- package/dist/twilight/{p-f0a04676.entry.js → p-8fc6e860.entry.js} +1 -1
- package/dist/twilight/{p-cc3a9188.entry.js → p-90e5c3ab.entry.js} +1 -1
- package/dist/twilight/{p-641cc01d.entry.js → p-93aa1b67.entry.js} +1 -1
- package/dist/twilight/{p-a4436d17.entry.js → p-93dabb47.entry.js} +1 -1
- package/dist/twilight/{p-07c013f9.entry.js → p-98108ebe.entry.js} +1 -1
- package/dist/twilight/{p-72960bb3.entry.js → p-989f2adb.entry.js} +1 -1
- package/dist/twilight/{p-4be8900d.entry.js → p-9d224252.entry.js} +1 -1
- package/dist/twilight/p-BDChq2t4.js +4 -0
- package/dist/twilight/{p-D9Y6HNvi.js → p-BPkSO6gd.js} +1 -1
- package/dist/twilight/{p-BUMDIRU5.js → p-BWvO3cE-.js} +1 -1
- package/dist/twilight/{p-BW1au-Nh.js → p-CHZfg_a9.js} +1 -1
- package/dist/twilight/{p-AncUY1nn.js → p-CdgES2Of.js} +1 -1
- package/dist/twilight/{p-DPMPVhgw.js → p-D9VjvNQq.js} +2 -2
- package/dist/twilight/{p-C6nX89oY.js → p-DO7S0QBX.js} +1 -1
- package/dist/twilight/{p-UDPL8zGN.js → p-DtV7npW9.js} +1 -1
- package/dist/twilight/{p-DmgxDvXL.js → p-DzAIgzdz.js} +1 -1
- package/dist/twilight/{p-UIEwOe70.js → p-PCp-0mbL.js} +1 -1
- package/dist/twilight/{p-BjS2Vb6h.js → p-ZinKLSYw.js} +1 -1
- package/dist/twilight/{p-1c82117c.entry.js → p-a0561bd1.entry.js} +1 -1
- package/dist/twilight/{p-1187210a.entry.js → p-a785b49f.entry.js} +1 -1
- package/dist/twilight/{p-13bf1c47.entry.js → p-aa4daadf.entry.js} +1 -1
- package/dist/twilight/p-ab41d26c.entry.js +4 -0
- package/dist/twilight/{p-87cc2e08.entry.js → p-afb03ee5.entry.js} +1 -1
- package/dist/twilight/{p-caa8d5ae.entry.js → p-b279e0bb.entry.js} +1 -1
- package/dist/twilight/{p-bcee5564.entry.js → p-b33392c6.entry.js} +1 -1
- package/dist/twilight/{p-e1eb70d2.entry.js → p-b38c4e39.entry.js} +1 -1
- package/dist/twilight/{p-26f8a482.entry.js → p-bead6e6f.entry.js} +1 -1
- package/dist/twilight/{p-8643930a.entry.js → p-c26043ff.entry.js} +1 -1
- package/dist/twilight/{p-a7a10dbf.entry.js → p-c287e498.entry.js} +1 -1
- package/dist/twilight/{p-87af932a.entry.js → p-c2fe2dbe.entry.js} +1 -1
- package/dist/twilight/{p-6d3a4c41.entry.js → p-c603722c.entry.js} +1 -1
- package/dist/twilight/{p-edebecb3.entry.js → p-c816b198.entry.js} +1 -1
- package/dist/twilight/{p-f3f9d1fb.entry.js → p-c81bce54.entry.js} +1 -1
- package/dist/twilight/{p-40555637.entry.js → p-c9146d50.entry.js} +1 -1
- package/dist/twilight/{p-5335f307.entry.js → p-c92edd6f.entry.js} +1 -1
- package/dist/twilight/{p-821aa95a.entry.js → p-c948a8a8.entry.js} +1 -1
- package/dist/twilight/{p-93c006fc.entry.js → p-d0d3609c.entry.js} +1 -1
- package/dist/twilight/{p-a38dc391.entry.js → p-d9b0fa64.entry.js} +1 -1
- package/dist/twilight/{p-534e7760.entry.js → p-dd823fde.entry.js} +1 -1
- package/dist/twilight/p-e36f62a9.entry.js +4 -0
- package/dist/twilight/{p-beaab93e.entry.js → p-e5a3b689.entry.js} +1 -1
- package/dist/twilight/{p-c7e980aa.entry.js → p-ec281904.entry.js} +1 -1
- package/dist/twilight/{p-68d6fa66.entry.js → p-f07bbbc7.entry.js} +1 -1
- package/dist/twilight/{p-3ad55c42.entry.js → p-f168109d.entry.js} +1 -1
- package/dist/twilight/{p-e8153a9a.entry.js → p-f1d8729d.entry.js} +1 -1
- package/dist/twilight/{p-2a8f1ed4.entry.js → p-f1dfe18b.entry.js} +1 -1
- package/dist/twilight/{p-c23f7b95.entry.js → p-fb1ad954.entry.js} +1 -1
- package/dist/twilight/{p-c214700a.entry.js → p-ffdf5f92.entry.js} +1 -1
- package/dist/twilight/{p-CMWS1gyZ.js → p-ryHWESoh.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/helpers.d.ts +1 -0
- package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +14 -4
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +2 -0
- package/dist/types/components/salla-comments/interfaces.d.ts +0 -15
- package/dist/types/components/salla-comments/salla-comments.d.ts +2 -5
- package/dist/types/components/salla-delivery-promise/delivery-promise-intent.d.ts +0 -4
- package/dist/types/components/salla-delivery-promise/interfaces.d.ts +2 -1
- package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +3 -16
- package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +2 -10
- package/dist/types/components.d.ts +12 -45
- package/package.json +5 -5
- package/dist/collection/components/salla-verified-review/salla-verified-review.css +0 -162
- package/dist/collection/components/salla-verified-review/salla-verified-review.js +0 -264
- package/dist/components/salla-rating-modal2.js +0 -613
- package/dist/components/salla-verified-review.d.ts +0 -11
- package/dist/components/salla-verified-review.js +0 -325
- package/dist/twilight/p-03d77f90.entry.js +0 -4
- package/dist/twilight/p-4f052df8.entry.js +0 -4
- package/dist/twilight/p-a9674965.entry.js +0 -4
- package/dist/twilight/p-cbe760ce.entry.js +0 -4
- package/dist/twilight/p-e29f28eb.entry.js +0 -1019
- package/dist/types/components/salla-verified-review/salla-verified-review.d.ts +0 -51
|
@@ -33,6 +33,7 @@ export declare const getIntentBranchId: (i?: BulletDeliveryResult | null) => num
|
|
|
33
33
|
/** Intent coordinates (branch tab only; address flow no longer uses coordinates). */
|
|
34
34
|
export declare const getIntentLatitude: (i?: BulletDeliveryResult | null) => number;
|
|
35
35
|
export declare const getIntentLongitude: (i?: BulletDeliveryResult | null) => number;
|
|
36
|
+
export declare const isMapOriginIntent: (i?: BulletDeliveryResult | null) => boolean;
|
|
36
37
|
export declare const hasSessionAddressIntent: (intent: BulletDeliveryResult | null) => boolean;
|
|
37
38
|
export declare const requireRegionAndDistrictForSA: (countryCode: string | undefined | null, regionId?: number | string | null, districtIdOrName?: number | string | null) => boolean;
|
|
38
39
|
export declare function buildAddressLocationPayloadFromSelection(options: {
|
|
@@ -189,11 +189,20 @@ export interface IntentLocation {
|
|
|
189
189
|
* Unified address details for session storage
|
|
190
190
|
*/
|
|
191
191
|
export interface IntentAddressDetails {
|
|
192
|
-
country
|
|
192
|
+
country?: IntentLocation;
|
|
193
193
|
region?: IntentLocation;
|
|
194
|
-
city
|
|
194
|
+
city?: IntentLocation;
|
|
195
195
|
district?: IntentLocation;
|
|
196
196
|
short_address?: string;
|
|
197
|
+
/** Map-origin pick: coordinates dropped on the map (no city/district resolved client-side) */
|
|
198
|
+
lat?: number;
|
|
199
|
+
lng?: number;
|
|
200
|
+
/** Map-origin pick: human-readable reverse-geocoded address */
|
|
201
|
+
formatted_address?: string;
|
|
202
|
+
/** Map-origin pick: Google Place ID (not a display string) */
|
|
203
|
+
place_id?: string;
|
|
204
|
+
/** Guest-entered address description (map flow only) */
|
|
205
|
+
description?: string;
|
|
197
206
|
}
|
|
198
207
|
/**
|
|
199
208
|
* Unified branch details for session storage
|
|
@@ -252,6 +261,9 @@ export interface BulletDeliveryAllocationConfirmedAddressData {
|
|
|
252
261
|
district_name?: string;
|
|
253
262
|
short_address?: string;
|
|
254
263
|
form_data?: NewAddressFormData;
|
|
264
|
+
lat?: number;
|
|
265
|
+
lng?: number;
|
|
266
|
+
formatted_address?: string;
|
|
255
267
|
}
|
|
256
268
|
export interface BulletDeliveryAllocationConfirmedEvent extends BulletDeliveryResult {
|
|
257
269
|
address: BulletDeliveryAllocationConfirmedAddressData | null;
|
|
@@ -305,8 +317,6 @@ export interface ScopeAllocationPayload {
|
|
|
305
317
|
region_id?: string;
|
|
306
318
|
city_id?: string;
|
|
307
319
|
district_id?: string;
|
|
308
|
-
lat?: string;
|
|
309
|
-
lng?: string;
|
|
310
320
|
address_id?: string;
|
|
311
321
|
branch_id?: string;
|
|
312
322
|
}
|
|
@@ -237,6 +237,8 @@ export declare class SallaBulletDelivery {
|
|
|
237
237
|
private canConfirmMapLocation;
|
|
238
238
|
private get isMapSettingEnabled();
|
|
239
239
|
private get isMapModeAvailable();
|
|
240
|
+
/** Guest is in map mode and has already dropped a pin (as opposed to still using the dropdowns). */
|
|
241
|
+
private get isGuestMapPick();
|
|
240
242
|
/** Center shown before geolocation resolves — the customer's IP-based default (falls back to Riyadh). */
|
|
241
243
|
private get mapInitialCenter();
|
|
242
244
|
/** Parse a config coordinate to a finite number, treating blank/whitespace strings as missing. */
|
|
@@ -3,21 +3,6 @@ export declare enum CommentType {
|
|
|
3
3
|
PRODUCT = "product",
|
|
4
4
|
BLOG = "blog"
|
|
5
5
|
}
|
|
6
|
-
export type CommentSort = 'latest' | 'oldest' | 'bottom_rating' | 'top_rating' | 'most_helpful' | 'verified_purchases';
|
|
7
|
-
export interface CommentSortOption {
|
|
8
|
-
value: CommentSort;
|
|
9
|
-
label: string;
|
|
10
|
-
selected?: boolean;
|
|
11
|
-
show?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare function isFeatureEnabled(feature: string): boolean;
|
|
14
|
-
export interface BuildCommentSortOptionsParams {
|
|
15
|
-
mostHelpfulLabel: string;
|
|
16
|
-
verifiedPurchasesLabel: string;
|
|
17
|
-
allowLikes: boolean;
|
|
18
|
-
allowVerifiedPurchasesFilter: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare function buildCommentSortOptions({ mostHelpfulLabel, verifiedPurchasesLabel, allowLikes, allowVerifiedPurchasesFilter, }: BuildCommentSortOptionsParams): CommentSortOption[];
|
|
21
6
|
export interface Comment {
|
|
22
7
|
id?: number;
|
|
23
8
|
status?: "approved" | "hidden" | 'pending';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommentType, type Pagination, type Comment
|
|
1
|
+
import { CommentType, type Pagination, type Comment } from './interfaces';
|
|
2
2
|
export declare class SallaComments {
|
|
3
3
|
constructor();
|
|
4
4
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class SallaComments {
|
|
|
36
36
|
/**
|
|
37
37
|
* Sort comments
|
|
38
38
|
*/
|
|
39
|
-
sort: string |
|
|
39
|
+
sort: string | 'latest' | 'oldest' | 'bottom_rating' | 'top_rating';
|
|
40
40
|
/**
|
|
41
41
|
* Determines if the comments are testimonials
|
|
42
42
|
*/
|
|
@@ -47,7 +47,6 @@ export declare class SallaComments {
|
|
|
47
47
|
showPlaceholder: boolean;
|
|
48
48
|
nextPage: string;
|
|
49
49
|
mostHelpfulLabel: string;
|
|
50
|
-
verifiedPurchasesLabel: string;
|
|
51
50
|
private status;
|
|
52
51
|
private btnLoader;
|
|
53
52
|
private infiniteScroll;
|
|
@@ -60,8 +59,6 @@ export declare class SallaComments {
|
|
|
60
59
|
placeholder_text: string;
|
|
61
60
|
showRatingSummary: boolean;
|
|
62
61
|
allowLikes: any;
|
|
63
|
-
allowVerifiedPurchasesFilter: boolean;
|
|
64
|
-
private get sortOptions();
|
|
65
62
|
private pluralize;
|
|
66
63
|
private wrapConsoleError;
|
|
67
64
|
private patchNextPageUrl;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bullet delivery intent helpers.
|
|
3
|
-
* Reads/writes the same storage key as salla-bullet-delivery so both components stay in sync.
|
|
4
|
-
*/
|
|
5
1
|
import type { BulletDeliveryResult } from '../salla-bullet-delivery/interfaces';
|
|
6
2
|
import type { SelectedOption } from './interfaces';
|
|
7
3
|
export declare function getStoredIntent(): BulletDeliveryResult | null;
|
|
@@ -6,7 +6,8 @@ export interface City {
|
|
|
6
6
|
}
|
|
7
7
|
export type OptionType = 'city' | 'branch';
|
|
8
8
|
export interface SelectedOption {
|
|
9
|
-
id
|
|
9
|
+
/** Absent for a map-origin address pick (coordinates only, no resolved city id). */
|
|
10
|
+
id?: number;
|
|
10
11
|
name: string;
|
|
11
12
|
}
|
|
12
13
|
/** Labels for city selector and modal; message text comes from BE */
|
|
@@ -74,11 +74,9 @@ export declare class SallaRatingModalV2 {
|
|
|
74
74
|
private MAX_VIDEO_DURATION;
|
|
75
75
|
private MAX_PARALLEL_UPLOADS;
|
|
76
76
|
/**
|
|
77
|
-
* The order id, to rate on its products & shipping
|
|
78
|
-
* Explicitly `null` means an unverified (no order) product review.
|
|
77
|
+
* The order id, to rate on its products & shipping
|
|
79
78
|
*/
|
|
80
|
-
orderId?: number
|
|
81
|
-
productId?: number | string;
|
|
79
|
+
orderId?: number;
|
|
82
80
|
host: HTMLElement | undefined;
|
|
83
81
|
/**
|
|
84
82
|
* Show the rating modal
|
|
@@ -93,11 +91,9 @@ export declare class SallaRatingModalV2 {
|
|
|
93
91
|
private setUploaderProcessing;
|
|
94
92
|
private scheduleUploaderHeightRefresh;
|
|
95
93
|
private handleGalleryCountUpdate;
|
|
96
|
-
/** An eligible review with no order behind it — product-only, no store/shipping steps. */
|
|
97
|
-
private isUnverifiedReview;
|
|
98
94
|
/** Encrypted order id from page config / prop — used to fetch order details. */
|
|
99
95
|
private getRatingOrderId;
|
|
100
|
-
/** Numeric order id from API response — used when submitting ratings.
|
|
96
|
+
/** Numeric order id from API response — used when submitting ratings. */
|
|
101
97
|
private getSubmitOrderId;
|
|
102
98
|
private isCustomerOrderShape;
|
|
103
99
|
private getBootstrapOrder;
|
|
@@ -113,15 +109,6 @@ export declare class SallaRatingModalV2 {
|
|
|
113
109
|
private getStepsCount;
|
|
114
110
|
private scheduleWizardSetup;
|
|
115
111
|
private afterOrderLoaded;
|
|
116
|
-
/**
|
|
117
|
-
* Point the modal at a different order/product and invalidate any cached
|
|
118
|
-
* order so the next open() re-fetches instead of reusing stale data.
|
|
119
|
-
* Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
120
|
-
*/
|
|
121
|
-
setOrder(orderId: number | string | null, productId?: number | string): Promise<void>;
|
|
122
|
-
/** Builds a single-product, order-less feedback target for unverified reviews. */
|
|
123
|
-
private loadUnverifiedProductOrder;
|
|
124
|
-
private getModalTitle;
|
|
125
112
|
open(): Promise<unknown>;
|
|
126
113
|
openEditModal(params: {
|
|
127
114
|
type: 'product' | 'store' | 'shipping';
|
|
@@ -56,20 +56,12 @@ export declare class SallaRatingModal {
|
|
|
56
56
|
private submitted;
|
|
57
57
|
private MAX_UPLOAD_LIMIT;
|
|
58
58
|
/**
|
|
59
|
-
* The order id, to rate on its products & shipping
|
|
60
|
-
* Explicitly `null` means an unverified (no order) product review.
|
|
59
|
+
* The order id, to rate on its products & shipping
|
|
61
60
|
*/
|
|
62
|
-
orderId
|
|
63
|
-
productId?: number | string;
|
|
61
|
+
orderId: number;
|
|
64
62
|
host: HTMLElement;
|
|
65
63
|
private getV2Ref;
|
|
66
64
|
private syncNewPopUpFlag;
|
|
67
|
-
/**
|
|
68
|
-
* Point the modal at a different order/product and invalidate any cached
|
|
69
|
-
* order so the next open() re-fetches instead of reusing stale data.
|
|
70
|
-
* Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
71
|
-
*/
|
|
72
|
-
setOrder(orderId: number | string | null, productId?: number | string): Promise<void>;
|
|
73
65
|
/**
|
|
74
66
|
* Show the rating modal
|
|
75
67
|
*/
|
|
@@ -11,7 +11,7 @@ import { Option } from "./components/salla-booking-field/interfaces";
|
|
|
11
11
|
import { AddressCreatedEvent, BulletDeliveryConfirmedEvent, HeaderContextUpdateEvent } from "./components/salla-bullet-delivery/interfaces";
|
|
12
12
|
import { Coupon } from "./components/salla-cart-coupons/interfaces";
|
|
13
13
|
import { Color, Options } from "./components/salla-color-picker/interfaces";
|
|
14
|
-
import { Comment,
|
|
14
|
+
import { Comment, CommentType, ReviewFactor } from "./components/salla-comments/interfaces";
|
|
15
15
|
import { CustomField } from "./components/salla-user-profile/interfaces";
|
|
16
16
|
import { DateLimit, DateOption, LocaleKey } from "./components/salla-datetime-picker/interfaces";
|
|
17
17
|
import { FilePondFile } from "./components/salla-file-upload/interfaces";
|
|
@@ -41,7 +41,7 @@ export { Option } from "./components/salla-booking-field/interfaces";
|
|
|
41
41
|
export { AddressCreatedEvent, BulletDeliveryConfirmedEvent, HeaderContextUpdateEvent } from "./components/salla-bullet-delivery/interfaces";
|
|
42
42
|
export { Coupon } from "./components/salla-cart-coupons/interfaces";
|
|
43
43
|
export { Color, Options } from "./components/salla-color-picker/interfaces";
|
|
44
|
-
export { Comment,
|
|
44
|
+
export { Comment, CommentType, ReviewFactor } from "./components/salla-comments/interfaces";
|
|
45
45
|
export { CustomField } from "./components/salla-user-profile/interfaces";
|
|
46
46
|
export { DateLimit, DateOption, LocaleKey } from "./components/salla-datetime-picker/interfaces";
|
|
47
47
|
export { FilePondFile } from "./components/salla-file-upload/interfaces";
|
|
@@ -610,7 +610,7 @@ export namespace Components {
|
|
|
610
610
|
/**
|
|
611
611
|
* Sort comments
|
|
612
612
|
*/
|
|
613
|
-
"sort": string |
|
|
613
|
+
"sort": string | 'latest' | 'oldest' | 'bottom_rating' | 'top_rating';
|
|
614
614
|
/**
|
|
615
615
|
* Determines if the comments are testimonials
|
|
616
616
|
* @default false
|
|
@@ -2786,14 +2786,9 @@ export namespace Components {
|
|
|
2786
2786
|
*/
|
|
2787
2787
|
"open": () => Promise<unknown>;
|
|
2788
2788
|
/**
|
|
2789
|
-
* The order id, to rate on its products & shipping
|
|
2789
|
+
* The order id, to rate on its products & shipping
|
|
2790
2790
|
*/
|
|
2791
|
-
"orderId"
|
|
2792
|
-
"productId"?: number | string;
|
|
2793
|
-
/**
|
|
2794
|
-
* Point the modal at a different order/product and invalidate any cached order so the next open() re-fetches instead of reusing stale data. Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
2795
|
-
*/
|
|
2796
|
-
"setOrder": (orderId: number | string | null, productId?: number | string) => Promise<void>;
|
|
2791
|
+
"orderId": number;
|
|
2797
2792
|
}
|
|
2798
2793
|
interface SallaRatingModalV2 {
|
|
2799
2794
|
/**
|
|
@@ -2804,14 +2799,9 @@ export namespace Components {
|
|
|
2804
2799
|
"openDeleteModal": (params: { feedback_id: number; }) => Promise<unknown>;
|
|
2805
2800
|
"openEditModal": (params: { type: "product" | "store" | "shipping"; feedback_id: number; }) => Promise<void>;
|
|
2806
2801
|
/**
|
|
2807
|
-
* The order id, to rate on its products & shipping
|
|
2808
|
-
*/
|
|
2809
|
-
"orderId"?: number | string | null;
|
|
2810
|
-
"productId"?: number | string;
|
|
2811
|
-
/**
|
|
2812
|
-
* Point the modal at a different order/product and invalidate any cached order so the next open() re-fetches instead of reusing stale data. Pass `orderId` as `null` for an eligible-but-unverified product review.
|
|
2802
|
+
* The order id, to rate on its products & shipping
|
|
2813
2803
|
*/
|
|
2814
|
-
"
|
|
2804
|
+
"orderId"?: number;
|
|
2815
2805
|
}
|
|
2816
2806
|
interface SallaRatingStars {
|
|
2817
2807
|
/**
|
|
@@ -3511,12 +3501,6 @@ export namespace Components {
|
|
|
3511
3501
|
}
|
|
3512
3502
|
interface SallaUserSettings {
|
|
3513
3503
|
}
|
|
3514
|
-
interface SallaVerifiedReview {
|
|
3515
|
-
/**
|
|
3516
|
-
* Product id to check purchase eligibility for. Falls back to `data-product-id` or the current page id.
|
|
3517
|
-
*/
|
|
3518
|
-
"productId"?: number | string;
|
|
3519
|
-
}
|
|
3520
3504
|
interface SallaVerify {
|
|
3521
3505
|
/**
|
|
3522
3506
|
* should auto reloading the page after success verification
|
|
@@ -5119,12 +5103,6 @@ declare global {
|
|
|
5119
5103
|
prototype: HTMLSallaUserSettingsElement;
|
|
5120
5104
|
new (): HTMLSallaUserSettingsElement;
|
|
5121
5105
|
};
|
|
5122
|
-
interface HTMLSallaVerifiedReviewElement extends Components.SallaVerifiedReview, HTMLStencilElement {
|
|
5123
|
-
}
|
|
5124
|
-
var HTMLSallaVerifiedReviewElement: {
|
|
5125
|
-
prototype: HTMLSallaVerifiedReviewElement;
|
|
5126
|
-
new (): HTMLSallaVerifiedReviewElement;
|
|
5127
|
-
};
|
|
5128
5106
|
interface HTMLSallaVerifyElementEventMap {
|
|
5129
5107
|
"verified": any;
|
|
5130
5108
|
}
|
|
@@ -5298,7 +5276,6 @@ declare global {
|
|
|
5298
5276
|
"salla-user-menu": HTMLSallaUserMenuElement;
|
|
5299
5277
|
"salla-user-profile": HTMLSallaUserProfileElement;
|
|
5300
5278
|
"salla-user-settings": HTMLSallaUserSettingsElement;
|
|
5301
|
-
"salla-verified-review": HTMLSallaVerifiedReviewElement;
|
|
5302
5279
|
"salla-verify": HTMLSallaVerifyElement;
|
|
5303
5280
|
"salla-wallet": HTMLSallaWalletElement;
|
|
5304
5281
|
"salla-wishlist-actions": HTMLSallaWishlistActionsElement;
|
|
@@ -5837,7 +5814,7 @@ declare namespace LocalJSX {
|
|
|
5837
5814
|
/**
|
|
5838
5815
|
* Sort comments
|
|
5839
5816
|
*/
|
|
5840
|
-
"sort"?: string |
|
|
5817
|
+
"sort"?: string | 'latest' | 'oldest' | 'bottom_rating' | 'top_rating';
|
|
5841
5818
|
/**
|
|
5842
5819
|
* Determines if the comments are testimonials
|
|
5843
5820
|
* @default false
|
|
@@ -7880,17 +7857,15 @@ declare namespace LocalJSX {
|
|
|
7880
7857
|
}
|
|
7881
7858
|
interface SallaRatingModal {
|
|
7882
7859
|
/**
|
|
7883
|
-
* The order id, to rate on its products & shipping
|
|
7860
|
+
* The order id, to rate on its products & shipping
|
|
7884
7861
|
*/
|
|
7885
|
-
"orderId"?: number
|
|
7886
|
-
"productId"?: number | string;
|
|
7862
|
+
"orderId"?: number;
|
|
7887
7863
|
}
|
|
7888
7864
|
interface SallaRatingModalV2 {
|
|
7889
7865
|
/**
|
|
7890
|
-
* The order id, to rate on its products & shipping
|
|
7866
|
+
* The order id, to rate on its products & shipping
|
|
7891
7867
|
*/
|
|
7892
|
-
"orderId"?: number
|
|
7893
|
-
"productId"?: number | string;
|
|
7868
|
+
"orderId"?: number;
|
|
7894
7869
|
}
|
|
7895
7870
|
interface SallaRatingStars {
|
|
7896
7871
|
/**
|
|
@@ -8521,12 +8496,6 @@ declare namespace LocalJSX {
|
|
|
8521
8496
|
}
|
|
8522
8497
|
interface SallaUserSettings {
|
|
8523
8498
|
}
|
|
8524
|
-
interface SallaVerifiedReview {
|
|
8525
|
-
/**
|
|
8526
|
-
* Product id to check purchase eligibility for. Falls back to `data-product-id` or the current page id.
|
|
8527
|
-
*/
|
|
8528
|
-
"productId"?: number | string;
|
|
8529
|
-
}
|
|
8530
8499
|
interface SallaVerify {
|
|
8531
8500
|
/**
|
|
8532
8501
|
* should auto reloading the page after success verification
|
|
@@ -8701,7 +8670,6 @@ declare namespace LocalJSX {
|
|
|
8701
8670
|
"salla-user-menu": SallaUserMenu;
|
|
8702
8671
|
"salla-user-profile": SallaUserProfile;
|
|
8703
8672
|
"salla-user-settings": SallaUserSettings;
|
|
8704
|
-
"salla-verified-review": SallaVerifiedReview;
|
|
8705
8673
|
"salla-verify": SallaVerify;
|
|
8706
8674
|
"salla-wallet": SallaWallet;
|
|
8707
8675
|
"salla-wishlist-actions": SallaWishlistActions;
|
|
@@ -8998,7 +8966,6 @@ declare module "@stencil/core" {
|
|
|
8998
8966
|
*/
|
|
8999
8967
|
"salla-user-profile": LocalJSX.SallaUserProfile & JSXBase.HTMLAttributes<HTMLSallaUserProfileElement>;
|
|
9000
8968
|
"salla-user-settings": LocalJSX.SallaUserSettings & JSXBase.HTMLAttributes<HTMLSallaUserSettingsElement>;
|
|
9001
|
-
"salla-verified-review": LocalJSX.SallaVerifiedReview & JSXBase.HTMLAttributes<HTMLSallaVerifiedReviewElement>;
|
|
9002
8969
|
"salla-verify": LocalJSX.SallaVerify & JSXBase.HTMLAttributes<HTMLSallaVerifyElement>;
|
|
9003
8970
|
"salla-wallet": LocalJSX.SallaWallet & JSXBase.HTMLAttributes<HTMLSallaWalletElement>;
|
|
9004
8971
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salla.sa/twilight-components",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.545",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"author": "Salla Team <support@salla.dev> (https://salla.dev)",
|
|
6
6
|
"bugs": {
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@googlemaps/markerclusterer": "2.6.2",
|
|
85
|
-
"@salla.sa/applepay": "2.14.
|
|
86
|
-
"@salla.sa/twilight": "2.14.
|
|
87
|
-
"@salla.sa/twilight-tailwind-theme": "2.14.
|
|
85
|
+
"@salla.sa/applepay": "2.14.545",
|
|
86
|
+
"@salla.sa/twilight": "2.14.545",
|
|
87
|
+
"@salla.sa/twilight-tailwind-theme": "2.14.545",
|
|
88
88
|
"@salla.sa/ui-address-autocomplete-widget": "1.2.1",
|
|
89
89
|
"@salla.sa/ui-google-map-render": "1.2.1",
|
|
90
90
|
"@types/node": "^20.4.8",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"vanilla-lazyload": "^17.8.5",
|
|
106
106
|
"vanilla-picker": "^2.12.2"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "6653a652b64118c1a709abaa33d818a54babb6ba"
|
|
109
109
|
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/*!twlt*/salla-verified-review:empty {
|
|
2
|
-
display: none;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.s-verified-review-container {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: 1rem;
|
|
10
|
-
width: 100%;
|
|
11
|
-
margin-bottom: 0.5rem;
|
|
12
|
-
margin-top: 1.25rem;
|
|
13
|
-
padding: 1rem;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
border: 1px solid #e5e7eb;
|
|
16
|
-
border-radius: 1rem;
|
|
17
|
-
background: #fff;
|
|
18
|
-
}
|
|
19
|
-
@media (min-width: 768px) {
|
|
20
|
-
.s-verified-review-container {
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
align-items: center;
|
|
23
|
-
gap: 1.25rem;
|
|
24
|
-
padding: 1.25rem;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.s-verified-review-glow {
|
|
29
|
-
pointer-events: none;
|
|
30
|
-
position: absolute;
|
|
31
|
-
top: -4rem;
|
|
32
|
-
inset-inline-end: -2.5rem;
|
|
33
|
-
width: 10rem;
|
|
34
|
-
height: 10rem;
|
|
35
|
-
border-radius: 9999px;
|
|
36
|
-
background: var(--color-primary, #008c56);
|
|
37
|
-
opacity: 0.12;
|
|
38
|
-
filter: blur(2rem);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.s-verified-review-media {
|
|
42
|
-
position: relative;
|
|
43
|
-
z-index: 1;
|
|
44
|
-
flex-shrink: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.s-verified-review-image {
|
|
48
|
-
width: 72px;
|
|
49
|
-
height: 72px;
|
|
50
|
-
border-radius: 0.75rem;
|
|
51
|
-
object-fit: cover;
|
|
52
|
-
background: #f3f4f6;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.s-verified-review-content {
|
|
56
|
-
position: relative;
|
|
57
|
-
z-index: 1;
|
|
58
|
-
display: flex;
|
|
59
|
-
flex: 1;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 0.375rem;
|
|
62
|
-
min-width: 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.s-verified-review-meta {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-wrap: wrap;
|
|
68
|
-
align-items: center;
|
|
69
|
-
gap: 0.5rem;
|
|
70
|
-
margin-bottom: 0.25rem;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.s-verified-review-badge {
|
|
74
|
-
display: inline-flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: 0.25rem;
|
|
77
|
-
padding: 0.25rem 0.625rem;
|
|
78
|
-
border-radius: 9999px;
|
|
79
|
-
background: color-mix(in srgb, var(--color-primary, #008c56) 10%, transparent);
|
|
80
|
-
color: var(--color-primary, #008c56);
|
|
81
|
-
font-size: 0.75rem;
|
|
82
|
-
font-weight: 500;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.s-verified-review-badge-icon {
|
|
86
|
-
display: inline-flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
width: 0.875rem;
|
|
90
|
-
height: 0.875rem;
|
|
91
|
-
}
|
|
92
|
-
.s-verified-review-badge-icon svg {
|
|
93
|
-
width: 0.875rem;
|
|
94
|
-
height: 0.875rem;
|
|
95
|
-
fill: currentColor;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.s-verified-review-order {
|
|
99
|
-
font-size: 0.75rem;
|
|
100
|
-
color: #6b7280;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.s-verified-review-title {
|
|
104
|
-
margin: 0;
|
|
105
|
-
color: #111827;
|
|
106
|
-
font-size: 1rem;
|
|
107
|
-
font-weight: 700;
|
|
108
|
-
line-height: 1.375;
|
|
109
|
-
}
|
|
110
|
-
@media (min-width: 768px) {
|
|
111
|
-
.s-verified-review-title {
|
|
112
|
-
font-size: 1.125rem;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.s-verified-review-subtitle {
|
|
117
|
-
margin: 0;
|
|
118
|
-
color: #6b7280;
|
|
119
|
-
font-size: 0.875rem;
|
|
120
|
-
line-height: 1.625;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.s-verified-review-loyalty {
|
|
124
|
-
margin: 0.125rem 0 0;
|
|
125
|
-
color: var(--color-primary, #008c56);
|
|
126
|
-
font-size: 0.875rem;
|
|
127
|
-
font-weight: 600;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.s-verified-review-actions {
|
|
131
|
-
position: relative;
|
|
132
|
-
z-index: 1;
|
|
133
|
-
flex-shrink: 0;
|
|
134
|
-
}
|
|
135
|
-
@media (min-width: 768px) {
|
|
136
|
-
.s-verified-review-actions {
|
|
137
|
-
margin-inline-start: auto;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.s-verified-review-cta {
|
|
142
|
-
width: 100%;
|
|
143
|
-
}
|
|
144
|
-
@media (min-width: 768px) {
|
|
145
|
-
.s-verified-review-cta {
|
|
146
|
-
width: auto;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.s-verified-review-rate-limit-message {
|
|
151
|
-
text-align: center;
|
|
152
|
-
color: #6b7280;
|
|
153
|
-
font-size: 0.875rem;
|
|
154
|
-
margin-top: -1rem;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.s-verified-review-rate-limit-footer {
|
|
158
|
-
margin-top: 1rem;
|
|
159
|
-
}
|
|
160
|
-
.outline {
|
|
161
|
-
outline-style: solid;
|
|
162
|
-
}
|