@salla.sa/twilight-components 2.14.558 → 2.14.560
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-LS8ytqmE.js → filepond-Be8PdGvP.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DexU9y97.js → filepond-plugin-file-poster-BMRNxvi0.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BJJ_spY7.js → filepond-plugin-file-validate-size-DO8oYvvs.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BYz_biwv.js → filepond-plugin-file-validate-type-BKhUvIeN.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-C3R9xG9P.js → filepond-plugin-image-edit-CFxgfcAu.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DC7e2K9l.js → filepond-plugin-image-exif-orientation-CN8ywNZm.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DLbo1P7r.js → filepond-plugin-image-preview-BHBr-4Z3.js} +1 -1
- package/dist/cjs/{index-BkcJlC9S.js → index-C9kC1kRK.js} +2 -2
- package/dist/cjs/{intlTelInput-DvZz7cvU.js → intlTelInput-Dwp2LM7r.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +29 -8
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.cjs.entry.js +8 -3
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +35 -17
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +4 -4
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +3 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-COagKVR0.js → vanilla-picker-DhVgJ3k1.js} +1 -1
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +3 -3
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +23 -2
- package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.css +3 -0
- package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +38 -16
- package/dist/collection/components/salla-payments/salla-payments.js +3 -3
- package/dist/collection/components/salla-reviews/salla-reviews.js +6 -1
- package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
- package/dist/collection/components/salla-search/salla-search.js +2 -1
- package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bullet-delivery.js +24 -3
- package/dist/components/salla-fulfillment-methods.js +34 -16
- package/dist/components/salla-payments.js +3 -3
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +6 -1
- package/dist/components/salla-search.js +2 -1
- package/dist/components/salla-searchable-dropdown2.js +4 -4
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-social-share2.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/salla-wishlist-actions.js +1 -1
- package/dist/esm/{filepond-D5Fnwsco.js → filepond-BcpdNh_j.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BfePPO64.js → filepond-plugin-file-poster-BKryrezx.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CVpLCDVB.js → filepond-plugin-file-validate-size-D9aUOZ7B.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BhzMnQfH.js → filepond-plugin-file-validate-type-BG59KigE.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Bvj3qwXE.js → filepond-plugin-image-edit-B9VmYVON.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-NlBBLgPL.js → filepond-plugin-image-exif-orientation-Dwz_8pUe.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CA1k8ex-.js → filepond-plugin-image-preview-mBMQrMdM.js} +1 -1
- package/dist/esm/{index-B6Lo-Jz2.js → index-Bq6UVSI3.js} +2 -2
- package/dist/esm/{intlTelInput-nu7FH85H.js → intlTelInput-DS5LrotI.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-applied-filters.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +11 -11
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.entry.js +29 -8
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.entry.js +8 -3
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down_2.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +35 -17
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item_2.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-cancel.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +4 -4
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-products-slider.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +3 -2
- package/dist/esm/salla-skeleton.entry.js +2 -2
- package/dist/esm/salla-social-share.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +2 -2
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-Dn7Q0By-.js → vanilla-picker-CVxhMHbv.js} +1 -1
- package/dist/twilight/{p-adb31a76.entry.js → p-00cb37e9.entry.js} +1 -1
- package/dist/twilight/{p-a82db499.entry.js → p-049bbedb.entry.js} +1 -1
- package/dist/twilight/{p-00f3dc2a.entry.js → p-04c5076f.entry.js} +1 -1
- package/dist/twilight/{p-400c631e.entry.js → p-0549e7d3.entry.js} +1 -1
- package/dist/twilight/{p-a8d3ae7e.entry.js → p-0577fd98.entry.js} +1 -1
- package/dist/twilight/{p-051740db.entry.js → p-083b587d.entry.js} +1 -1
- package/dist/twilight/{p-86622485.entry.js → p-0de99088.entry.js} +1 -1
- package/dist/twilight/{p-4f645457.entry.js → p-11c09131.entry.js} +1 -1
- package/dist/twilight/p-13dd9de4.entry.js +4 -0
- package/dist/twilight/{p-257717f5.entry.js → p-1dc98d61.entry.js} +1 -1
- package/dist/twilight/{p-dd734bcb.entry.js → p-2108cddb.entry.js} +1 -1
- package/dist/twilight/{p-191b4fa6.entry.js → p-22fa5808.entry.js} +1 -1
- package/dist/twilight/{p-c39c8112.entry.js → p-23b0581f.entry.js} +1 -1
- package/dist/twilight/{p-5d6db148.entry.js → p-2be2b580.entry.js} +1 -1
- package/dist/twilight/{p-bf2f2a36.entry.js → p-2c8ecc82.entry.js} +1 -1
- package/dist/twilight/{p-63b48fb1.entry.js → p-2d0b5481.entry.js} +1 -1
- package/dist/twilight/{p-a50073b5.entry.js → p-32d09e29.entry.js} +1 -1
- package/dist/twilight/{p-785ac87d.entry.js → p-34157cff.entry.js} +1 -1
- package/dist/twilight/{p-1546f64d.entry.js → p-372184ac.entry.js} +1 -1
- package/dist/twilight/{p-529a60e2.entry.js → p-40071a0b.entry.js} +1 -1
- package/dist/twilight/{p-5f4331f0.entry.js → p-47bc0505.entry.js} +1 -1
- package/dist/twilight/{p-778f38ce.entry.js → p-47d4fc14.entry.js} +1 -1
- package/dist/twilight/{p-05f65278.entry.js → p-48efe58c.entry.js} +1 -1
- package/dist/twilight/{p-91ab3a03.entry.js → p-494a5801.entry.js} +1 -1
- package/dist/twilight/{p-bb94c4e4.entry.js → p-49506fda.entry.js} +1 -1
- package/dist/twilight/{p-2de7945d.entry.js → p-504accd7.entry.js} +1 -1
- package/dist/twilight/{p-4c422a3d.entry.js → p-53ded587.entry.js} +1 -1
- package/dist/twilight/{p-b695db2e.entry.js → p-545fff34.entry.js} +1 -1
- package/dist/twilight/{p-be292e0b.entry.js → p-5797a31f.entry.js} +1 -1
- package/dist/twilight/{p-11234d66.entry.js → p-59f6c454.entry.js} +1 -1
- package/dist/twilight/{p-3661b790.entry.js → p-5aabaa06.entry.js} +1 -1
- package/dist/twilight/{p-19607f60.entry.js → p-5ae8f2a6.entry.js} +1 -1
- package/dist/twilight/{p-4604590c.entry.js → p-5be3a827.entry.js} +1 -1
- package/dist/twilight/{p-2ebe428c.entry.js → p-5caadb06.entry.js} +1 -1
- package/dist/twilight/{p-be34bd30.entry.js → p-5ea66a11.entry.js} +1 -1
- package/dist/twilight/{p-0e9845d3.entry.js → p-6038bc1f.entry.js} +1 -1
- package/dist/twilight/{p-28aeea5d.entry.js → p-651448fa.entry.js} +1 -1
- package/dist/twilight/{p-0ea66288.entry.js → p-6c829f91.entry.js} +1 -1
- package/dist/twilight/{p-ba941354.entry.js → p-70890888.entry.js} +1 -1
- package/dist/twilight/{p-abce7e02.entry.js → p-719a25ba.entry.js} +1 -1
- package/dist/twilight/{p-0f9d25c2.entry.js → p-71b3dc0e.entry.js} +1 -1
- package/dist/twilight/{p-5a2150e8.entry.js → p-73041d97.entry.js} +1 -1
- package/dist/twilight/{p-8e10a9a9.entry.js → p-74562f30.entry.js} +1 -1
- package/dist/twilight/{p-8f11c556.entry.js → p-7669e0c3.entry.js} +1 -1
- package/dist/twilight/{p-c8c34286.entry.js → p-76bc9600.entry.js} +1 -1
- package/dist/twilight/{p-2cb160a8.entry.js → p-78f8ed38.entry.js} +1 -1
- package/dist/twilight/{p-ad12ab8c.entry.js → p-7a1e171c.entry.js} +1 -1
- package/dist/twilight/{p-7a78cbcd.entry.js → p-7a38c614.entry.js} +1 -1
- package/dist/twilight/{p-d41903f9.entry.js → p-7b9f7d30.entry.js} +1 -1
- package/dist/twilight/{p-d96bc0c1.entry.js → p-7dd5716f.entry.js} +1 -1
- package/dist/twilight/{p-3f12a3a2.entry.js → p-831632b2.entry.js} +1 -1
- package/dist/twilight/{p-289574f0.entry.js → p-83887c0d.entry.js} +1 -1
- package/dist/twilight/{p-e5169250.entry.js → p-848da54d.entry.js} +1 -1
- package/dist/twilight/{p-747fdf8c.entry.js → p-8968ca44.entry.js} +1 -1
- package/dist/twilight/{p-8284d68b.entry.js → p-923e86e1.entry.js} +1 -1
- package/dist/twilight/{p-7b286e8d.entry.js → p-924e4736.entry.js} +1 -1
- package/dist/twilight/{p-100cb969.entry.js → p-952035ba.entry.js} +1 -1
- package/dist/twilight/{p-78cba566.entry.js → p-9861f227.entry.js} +1 -1
- package/dist/twilight/{p-c56e1aa1.entry.js → p-98e2aa7b.entry.js} +1 -1
- package/dist/twilight/{p-bfa7a257.entry.js → p-9b0976f3.entry.js} +1 -1
- package/dist/twilight/{p-a1035984.entry.js → p-9bb448dd.entry.js} +1 -1
- package/dist/twilight/{p-Dgq6RHqV.js → p-BHmLegUm.js} +1 -1
- package/dist/twilight/{p-CUuXQJdT.js → p-BfXuHE_W.js} +1 -1
- package/dist/twilight/{p-Ble2-eBI.js → p-BiNTDfZc.js} +1 -1
- package/dist/twilight/{p-B6Lo-Jz2.js → p-Bq6UVSI3.js} +1 -1
- package/dist/twilight/{p-9L0Aq4PZ.js → p-C0ZLLrcg.js} +1 -1
- package/dist/twilight/{p-VJGJYEfb.js → p-CU58SXgA.js} +1 -1
- package/dist/twilight/{p-CvrBhStg.js → p-CgJWpkL3.js} +1 -1
- package/dist/twilight/{p-BopTxsQ2.js → p-ClTfjo3d.js} +1 -1
- package/dist/twilight/{p-DexDAAf1.js → p-DDJe0my0.js} +1 -1
- package/dist/twilight/{p-CMHD60jb.js → p-DjaYm5LR.js} +1 -1
- package/dist/twilight/{p-344e7a53.entry.js → p-a0c14784.entry.js} +1 -1
- package/dist/twilight/{p-647a1b63.entry.js → p-a7137bdd.entry.js} +1 -1
- package/dist/twilight/{p-f2fb1121.entry.js → p-a847b8dd.entry.js} +1 -1
- package/dist/twilight/{p-8ca39b58.entry.js → p-a934bec0.entry.js} +1 -1
- package/dist/twilight/{p-8ee698cc.entry.js → p-b01d88d7.entry.js} +1 -1
- package/dist/twilight/{p-d72e0350.entry.js → p-b2e7fd2f.entry.js} +1 -1
- package/dist/twilight/{p-5d6f9c3e.entry.js → p-b3aefcf6.entry.js} +1 -1
- package/dist/twilight/{p-2dc5f115.entry.js → p-b63ddbcc.entry.js} +1 -1
- package/dist/twilight/{p-1d1bbac7.entry.js → p-b7805806.entry.js} +1 -1
- package/dist/twilight/{p-29a9ff44.entry.js → p-b81d8c1b.entry.js} +1 -1
- package/dist/twilight/{p-fa7c358f.entry.js → p-b93d015e.entry.js} +1 -1
- package/dist/twilight/{p-c8c09f5c.entry.js → p-bd185f38.entry.js} +1 -1
- package/dist/twilight/{p-44f20e64.entry.js → p-be161fc4.entry.js} +1 -1
- package/dist/twilight/{p-effc8ceb.entry.js → p-c376a2ee.entry.js} +1 -1
- package/dist/twilight/{p-6840449d.entry.js → p-cc92af2c.entry.js} +1 -1
- package/dist/twilight/{p-7512638e.entry.js → p-cd45fb88.entry.js} +1 -1
- package/dist/twilight/{p-e3a45456.entry.js → p-d2168046.entry.js} +1 -1
- package/dist/twilight/{p-d55b86b5.entry.js → p-d2b07de6.entry.js} +1 -1
- package/dist/twilight/{p-1d220636.entry.js → p-dd6aae50.entry.js} +1 -1
- package/dist/twilight/{p-75ba562a.entry.js → p-e198047f.entry.js} +1 -1
- package/dist/twilight/p-e39eb1e1.entry.js +4 -0
- package/dist/twilight/{p-31c017ae.entry.js → p-e3c096ff.entry.js} +1 -1
- package/dist/twilight/{p-1d9aa36c.entry.js → p-ebb72f58.entry.js} +1 -1
- package/dist/twilight/{p-7639c5a8.entry.js → p-ed5e1f8c.entry.js} +1 -1
- package/dist/twilight/{p-db9f8104.entry.js → p-f1061001.entry.js} +21 -21
- package/dist/twilight/{p-a8d90638.entry.js → p-f2f7a15d.entry.js} +1 -1
- package/dist/twilight/{p-5dcf8a71.entry.js → p-f3878e3d.entry.js} +1 -1
- package/dist/twilight/{p-3c312812.entry.js → p-f43ad4c4.entry.js} +1 -1
- package/dist/twilight/{p-5ffdb544.entry.js → p-f5011566.entry.js} +1 -1
- package/dist/twilight/{p-ea606acc.entry.js → p-f943937f.entry.js} +1 -1
- package/dist/twilight/{p-b5a68a1a.entry.js → p-ff1d7237.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +10 -0
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +2 -0
- package/dist/types/components/salla-fulfillment-methods/salla-fulfillment-methods.d.ts +8 -2
- package/dist/types/components.d.ts +20 -4
- package/package.json +5 -5
- package/dist/twilight/p-bbfaf5ac.entry.js +0 -4
- package/dist/twilight/p-df9d5f85.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-C9kC1kRK.js');
|
|
7
7
|
|
|
8
8
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -556,7 +556,7 @@ const SallaUserSettings = class {
|
|
|
556
556
|
return (index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
|
|
557
557
|
}
|
|
558
558
|
render() {
|
|
559
|
-
return (index.h(index.Host, { key: '
|
|
559
|
+
return (index.h(index.Host, { key: 'a281976a9dd190f20ddf5e1e7633cd954407d3b4', class: "s-user-settings-wrapper" }, this.canHideName && (index.h("div", { key: '7291eaadf516b3161d9e4fde3a5dcec7a42bb609', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '3e23e502b3031de5cfb0a49e9c8bc9756ada92af' }, index.h("div", { key: 'd426d601591da1f15c065bce33e4c7b12d0bf047', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'e4900a0e5450bc100d22e62a22de331e96958a4c', innerHTML: UserCancel })), index.h("div", { key: 'ec6110960511382dd551421ffd3a036af506109b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: 'bdfc4e7f987a7ecd0e3cf8bfeee72f055297e2d6', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: 'fad7eb6125789cdf3230314e62552452f4c84fc3', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: 'f5676bc70508fddad0506410089aa7879e4ef5db', class: "s-toggle" }, index.h("input", { key: '6b57caa5797c1b7225094cf4241a95b7a521327a', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '50073a68f078ae3592ea00581a9287f03371e122', class: "s-toggle-switcher" })))))), index.h("div", { key: 'e87388e12354cdd7559ff16c965bc51786d52af5', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'fc020c81a28c42c0a98fda40ee6f6ffaaa5a20d4' }, index.h("div", { key: 'aa90688fca635da561e4eb77309e447d6f5e6b8b', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '6448e1268f3c88e72fff6259f195e4b43312253e', innerHTML: Bullhorn })), index.h("div", { key: 'ded7da656a1b484e4144c5d8605a55682f7de912', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: 'a70d94920d012ac5a1d85b17f92b9ce733179569', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'be1325b95063cc822ee4c62d7c7a20bae08fb287', slot: "action", class: "s-user-settings-section-action" }, index.h("label", { key: '181949e51caed49e6c05d10e1a1ae79472772ded', class: "s-toggle" }, index.h("input", { key: '76d423655ebab9004b130adea83f89ec92a27966', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '44a1ac3c7c6b1f0ac12ccb8853d5c75317ecce2c', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (index.h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (index.h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", null, index.h("div", { slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { innerHTML: UserOff })), index.h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { slot: "action", class: "s-user-settings-section-action" }, index.h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (index.h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (index.h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, index.h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (index.h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, index.h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { class: "s-user-settings-confirmation" }, index.h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
SallaUserSettings.style = sallaUserSettingsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C9kC1kRK.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-C9kC1kRK.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = "/*!twlt*/:host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}.static{position:static}.absolute{position:absolute}.relative{position:relative}.z-20{z-index:20}.mb-3{margin-bottom:0.75rem}.mt-1{margin-top:0.25rem}.mt-3{margin-top:0.75rem}.flex{display:flex}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.gap-3{gap:0.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:0.5rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-4{padding:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}";
|
|
9
9
|
|
|
@@ -319,7 +319,7 @@ const SallaWishlistActions = class {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
render() {
|
|
322
|
-
return (index.h(index.Host, { key: '
|
|
322
|
+
return (index.h(index.Host, { key: 'f2c749d47b18d8e12fb7186eec0679083f14c990' }, index.h("div", { key: '218f5eb3b07c3e626e3677f856a515fe01833311', class: "s-wishlist-actions" }, index.h("div", { key: '5c6a4cea2b16baae3e4fda8f34173467e562072b', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, index.h("div", { key: '2753d439676740b4e67f31db1774a5294cd0c150', class: "s-wishlist-actions-dropdown relative" }, index.h("salla-button", { key: '13075fc30599a336fb92ecd9e90c72d38a541253', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, index.h("div", { key: 'd5ead5b3d4fd6c90d6fa01502e5a6437d37557c8', class: "flex flex-row justify-center items-center gap-2" }, index.h("svg", { key: '7c04668fba88f122d1920f9bed9a2e5308452721', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: '8d3190b697e81cae3ebfcfb6a9c0e82c7aea465f', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z" })), this.shareLabel, index.h("svg", { key: '1a55774c008f2e0d44f2074fdaa04290a61f799c', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'd7fe9393be3a8ff7b8d9f8ffa9eade5e8185ad80', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (index.h("ul", { key: '5c35b61c80a3c148c647460a54c62beb239fb0f5', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, index.h("li", { key: '63a82032fb616eade7f23706647dc4a8a167fb37' }, index.h("button", { key: '3e586e54d47f960408486c69f23ad43486762059', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), index.h("li", { key: '1ae1a01dd873e989390686494809b4cb2361cad6' }, index.h("button", { key: '85bd5814e6a40fae55fdf797b4874cbd6058ef5d', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), index.h("salla-social-share", { key: '7a944502b2916565810d52e17ed17d83a49b58a9', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, index.h("span", { key: '3b45e9700e6b02185c6ba2d145c35785520377ef', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (index.h("div", { key: '28ec1f084cdab3490b75ff0f4c79aa892884b64e', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, index.h("label", { key: '4a82c117309d60a3a7874ae3f258c139e40778dc', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, index.h("input", { key: 'f72370d3bbd7887e14945bc7da5451f77664a764', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), index.h("span", { key: '7f7d513a5c06ffa27706519f40f33f5f86b3f581', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), index.h("div", { key: '021dd377c7bdf777f61daac64ae5a5955decbe99', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, index.h("salla-button", { key: '36edc191937c110806f1a1ab152db87712e3b63a', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), index.h("salla-button", { key: '13b1fb46a21df09c6110b168adfa2d033d2d7f5b', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
|
|
323
323
|
}
|
|
324
324
|
get host() { return index.getElement(this); }
|
|
325
325
|
};
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
.static {
|
|
226
226
|
position: static;
|
|
227
227
|
}
|
|
228
|
+
.mb-1 {
|
|
229
|
+
margin-bottom: 0.25rem;
|
|
230
|
+
}
|
|
228
231
|
.inline {
|
|
229
232
|
display: inline;
|
|
230
233
|
}
|
|
@@ -246,9 +249,6 @@
|
|
|
246
249
|
.gap-1 {
|
|
247
250
|
gap: 0.25rem;
|
|
248
251
|
}
|
|
249
|
-
.gap-\[2px\] {
|
|
250
|
-
gap: 2px;
|
|
251
|
-
}
|
|
252
252
|
.text-start {
|
|
253
253
|
text-align: start;
|
|
254
254
|
}
|
|
@@ -2184,7 +2184,7 @@ export class SallaBulletDelivery {
|
|
|
2184
2184
|
if (!disabled)
|
|
2185
2185
|
onClick();
|
|
2186
2186
|
}
|
|
2187
|
-
} }, h("input", { type: "radio", name: "saved_address", class: "s-bullet-delivery-radio", checked: selected, disabled: disabled }), h("span", { class: "s-bullet-delivery-address-map-icon", innerHTML: MiniMap, "aria-hidden": "true" }), h("div", { class: "s-bullet-delivery-address-content" }, h("div", { class: "s-bullet-delivery-address-lines" }, h("span", { class: "s-bullet-delivery-address-line1" }, line1), h("span", { class: "s-bullet-delivery-address-line2" }, line2)))));
|
|
2187
|
+
} }, h("input", { type: "radio", name: "saved_address", class: "s-bullet-delivery-radio", checked: selected, disabled: disabled }), h("span", { class: "s-bullet-delivery-address-map-icon", innerHTML: MiniMap, "aria-hidden": "true" }), h("div", { class: "s-bullet-delivery-address-content" }, h("div", { class: "s-bullet-delivery-address-lines" }, h("span", { class: "s-bullet-delivery-address-line1", style: { textAlign: this.isRTL ? 'right' : 'left' } }, line1), h("span", { class: "s-bullet-delivery-address-line2", style: { textAlign: this.isRTL ? 'right' : 'left' } }, line2)))));
|
|
2188
2188
|
}
|
|
2189
2189
|
renderMapSection() {
|
|
2190
2190
|
const isSA = isSaudiArabia(this.selectedCountry?.code ?? '');
|
|
@@ -2252,6 +2252,23 @@ export class SallaBulletDelivery {
|
|
|
2252
2252
|
"s-bullet-delivery-location-btn--loading": this.loadingNearestBranch,
|
|
2253
2253
|
}, onClick: () => this.handleFindNearestBranch(), disabled: this.loadingNearestBranch }, this.loadingNearestBranch ? (h("span", { class: "s-bullet-delivery-location-icon", "aria-hidden": "true" }, h("salla-skeleton", { height: "18px", width: "18px" }))) : (h("span", { class: "s-bullet-delivery-location-icon", innerHTML: GPS, "aria-hidden": "true" })), h("span", null, Salla.lang.get("pages.checkout.nearest_to_my_location")))), this.locationError && this.activeTab === "branch" && (h("span", { class: "s-bullet-delivery-error" }, this.locationError))));
|
|
2254
2254
|
}
|
|
2255
|
+
/** Renders a branch's `preparation_time_range` as a localized "from - to <unit>" label. */
|
|
2256
|
+
getPreparationTimeLabel(range) {
|
|
2257
|
+
if (!range)
|
|
2258
|
+
return null;
|
|
2259
|
+
const unitKeys = {
|
|
2260
|
+
hour: 'pages.checkout.preparation_time_hours',
|
|
2261
|
+
minute: 'pages.checkout.preparation_time_minutes',
|
|
2262
|
+
day: 'pages.checkout.preparation_time_days',
|
|
2263
|
+
};
|
|
2264
|
+
const key = unitKeys[range.from.unit];
|
|
2265
|
+
if (!key)
|
|
2266
|
+
return null;
|
|
2267
|
+
return Salla.lang
|
|
2268
|
+
.getWithDefault(key, 'من {from} إلى {to} دقائق')
|
|
2269
|
+
?.replace('{from}', String(range.from.value))
|
|
2270
|
+
?.replace('{to}', String(range.to.value));
|
|
2271
|
+
}
|
|
2255
2272
|
renderBranchList() {
|
|
2256
2273
|
if (this.loadingBranches) {
|
|
2257
2274
|
return (h("div", { class: "s-bullet-delivery-branches-wrap" }, h("div", { class: "s-bullet-delivery-branches-loading" }, [1, 2, 3, 4].map((v) => (h("div", { key: v, class: "s-bullet-delivery-branch-skeleton" }, h("salla-skeleton", { class: "s-bullet-delivery-branch-skeleton-radio", type: "circle", height: "16px", width: "16px" }), h("div", { class: "s-bullet-delivery-branch-skeleton-icon" }, h("salla-skeleton", { height: "34px", width: "34px" })), h("div", { class: "s-bullet-delivery-branch-skeleton-content" }, h("salla-skeleton", { class: "s-bullet-delivery-branch-skeleton-title", height: "12px", width: "124px" })), h("salla-skeleton", { class: "s-bullet-delivery-branch-skeleton-time", height: "12px", width: "88px" }), h("div", { class: "s-bullet-delivery-branch-skeleton-map" }, h("salla-skeleton", { height: "32px", width: "32px" }))))))));
|
|
@@ -2262,6 +2279,10 @@ export class SallaBulletDelivery {
|
|
|
2262
2279
|
return (h("div", { class: "s-bullet-delivery-branches-wrap" }, h("ul", { class: "s-bullet-delivery-branches-list s-scrollbar" }, this.filteredBranches.map(branch => {
|
|
2263
2280
|
const selectable = isBranchSelectable(branch);
|
|
2264
2281
|
const readiness = branch?.pickup_readiness;
|
|
2282
|
+
const locationText = [branch.country?.name, branch.city?.name, branch.district?.name]
|
|
2283
|
+
.filter(Boolean)
|
|
2284
|
+
.join(', ');
|
|
2285
|
+
const preparationTimeLabel = this.getPreparationTimeLabel(branch.preparation_time_range);
|
|
2265
2286
|
return (h("li", { key: branch.id, class: {
|
|
2266
2287
|
's-bullet-delivery-branch-item': true,
|
|
2267
2288
|
's-bullet-delivery-branch-item--selected': this.selectedBranch?.id === branch.id,
|
|
@@ -2272,7 +2293,7 @@ export class SallaBulletDelivery {
|
|
|
2272
2293
|
if (selectable)
|
|
2273
2294
|
this.handleBranchSelect(branch);
|
|
2274
2295
|
}
|
|
2275
|
-
} }, h("input", { type: "radio", name: "branch", class: "s-bullet-delivery-radio", checked: this.selectedBranch?.id === branch.id, disabled: !selectable }), h("span", { class: "s-bullet-delivery-branch-icon", "aria-hidden": "true" }, h("span", { innerHTML: Store })), h("div", { class: "flex flex-col
|
|
2296
|
+
} }, h("input", { type: "radio", name: "branch", class: "s-bullet-delivery-radio", checked: this.selectedBranch?.id === branch.id, disabled: !selectable }), h("span", { class: "s-bullet-delivery-branch-icon", "aria-hidden": "true" }, h("span", { innerHTML: Store })), h("div", { class: "flex flex-col" }, h("div", { class: "flex items-center gap-1 mb-1" }, h("p", { class: "s-bullet-delivery-branch-name text-start" }, branch.name), readiness?.label && (h("p", { class: `branch-status-badge${readiness.color ? ` ${readiness.color}` : ''}` }, readiness.label))), locationText ? (h("span", { class: "s-bullet-delivery-branch-prep", style: { fontSize: '0.8rem', lineHeight: '1.1rem', textAlign: this.isRTL ? 'right' : 'left' } }, h("i", { class: "sicon-location" }), "\u00A0", h("span", { class: "first-letter-cap" }, locationText))) : null, preparationTimeLabel ? (h("span", { class: "s-bullet-delivery-branch-prep", style: { fontSize: '0.8rem', lineHeight: '1.1rem', textAlign: this.isRTL ? 'right' : 'left' } }, h("i", { class: "sicon-clock" }), "\u00A0", h("span", { class: "first-letter-cap" }, Salla.lang.get('pages.checkout.pickup_duration'), ": ", preparationTimeLabel))) : null, readiness?.detail_line && (h("span", { class: "s-bullet-delivery-branch-prep", style: { fontSize: '0.8rem', lineHeight: '1.1rem', textAlign: this.isRTL ? 'right' : 'left' } }, h("i", { class: "sicon-store" }), "\u00A0", readiness.detail_line))), h("div", { style: {
|
|
2276
2297
|
width: 'full',
|
|
2277
2298
|
maxWidth: '50px',
|
|
2278
2299
|
marginInlineStart: 'auto',
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
color: var(--color-text-secondary, #6b7280);
|
|
74
74
|
line-height: 1;
|
|
75
75
|
}
|
|
76
|
+
.hidden {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
76
79
|
.shadow {
|
|
77
80
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
78
81
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -4,42 +4,63 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @name SallaFulfillmentMethods
|
|
7
|
-
* @description Displays product fulfillment options (pickup and delivery) as
|
|
7
|
+
* @description Displays product fulfillment options (pickup and delivery) as side-by-side cards.
|
|
8
|
+
* Renders only the card(s) the product actually supports, per `supports_pickup` / `supports_delivery`
|
|
9
|
+
* on the product-details response. Login Cycle, branch capabilities, and product-type eligibility are
|
|
10
|
+
* all decided server-side (see `ProductFulfillmentMethods` composer) — this component is render-only
|
|
11
|
+
* and must not re-check any of those rules on the front end.
|
|
8
12
|
* @tag salla-fulfillment-methods
|
|
9
13
|
*/
|
|
10
14
|
export class SallaFulfillmentMethods {
|
|
11
15
|
constructor() {
|
|
12
16
|
this.methods = [];
|
|
13
17
|
this.shouldRender = false;
|
|
18
|
+
this.productId = null;
|
|
14
19
|
}
|
|
15
|
-
async
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
async componentWillLoad() {
|
|
21
|
+
try {
|
|
22
|
+
// page.id is server-injected, resolve it the same way salla-cashback-banner does
|
|
23
|
+
// for this same hook slot (product:single.*).
|
|
24
|
+
this.productId = this.host.dataset.productId || Salla.config.get('page.id');
|
|
25
|
+
await Salla.onReady();
|
|
26
|
+
await Salla.lang.onLoaded();
|
|
27
|
+
if (!this.productId)
|
|
28
|
+
return;
|
|
29
|
+
const response = await Salla.product.getDetails(this.productId, []).catch(() => null);
|
|
30
|
+
this.setLabels(response?.data ?? {});
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
Salla?.logger?.warn?.('salla-fulfillment-methods: init failed', e);
|
|
34
|
+
}
|
|
22
35
|
}
|
|
23
|
-
setLabels() {
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
setLabels(flags) {
|
|
37
|
+
console.log('flags', flags);
|
|
38
|
+
const methods = [];
|
|
39
|
+
// Missing/undefined flags (BE not yet deployed, request failed) resolve to falsy → hidden.
|
|
40
|
+
// Never fall back to showing both cards.
|
|
41
|
+
if (flags?.supports_delivery) {
|
|
42
|
+
methods.push({
|
|
26
43
|
id: 'delivery',
|
|
27
44
|
title: Salla.lang.getWithDefault('pages.products.promise_delivery_title', 'متاح للتوصيل'),
|
|
28
45
|
subtitle: Salla.lang.getWithDefault('pages.products.promise_delivery_subtitle', 'طلبك يوصلك لباب البيت بسهولة.'),
|
|
29
46
|
iconClass: 'sicon-location',
|
|
30
|
-
}
|
|
31
|
-
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
if (flags?.supports_pickup) {
|
|
50
|
+
methods.push({
|
|
32
51
|
id: 'pickup',
|
|
33
52
|
title: Salla.lang.getWithDefault('pages.products.promise_pickup_title', 'متاح للاستلام'),
|
|
34
53
|
subtitle: Salla.lang.getWithDefault('pages.products.promise_pickup_subtitle', 'استلام فوري من أقرب فرع.'),
|
|
35
54
|
iconClass: 'sicon-store',
|
|
36
|
-
}
|
|
37
|
-
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
this.methods = methods;
|
|
58
|
+
this.shouldRender = methods.length > 0;
|
|
38
59
|
}
|
|
39
60
|
render() {
|
|
40
61
|
if (!this.shouldRender)
|
|
41
62
|
return null;
|
|
42
|
-
return (h(Host, { class: "s-fulfillment-methods" }, h("div", { class: "s-fulfillment-methods-list" }, this.methods.map(
|
|
63
|
+
return (h(Host, { class: "s-fulfillment-methods" }, h("div", { class: "s-fulfillment-methods-list" }, this.methods.map(method => (h("div", { key: method.id, class: "s-fulfillment-methods-card" }, h("div", { class: "s-fulfillment-methods-content" }, h("div", { class: "s-fulfillment-methods-icon-wrap" }, h("i", { class: `${method.iconClass} s-fulfillment-methods-icon` })), h("div", { class: "s-fulfillment-methods-text" }, h("span", { class: "s-fulfillment-methods-title" }, method.title), h("span", { class: "s-fulfillment-methods-subtitle" }, method.subtitle)))))))));
|
|
43
64
|
}
|
|
44
65
|
static get is() { return "salla-fulfillment-methods"; }
|
|
45
66
|
static get originalStyleUrls() {
|
|
@@ -58,4 +79,5 @@ export class SallaFulfillmentMethods {
|
|
|
58
79
|
"shouldRender": {}
|
|
59
80
|
};
|
|
60
81
|
}
|
|
82
|
+
static get elementRef() { return "host"; }
|
|
61
83
|
}
|
|
@@ -42,12 +42,12 @@ export class SallaPayments {
|
|
|
42
42
|
render() {
|
|
43
43
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
44
44
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'aaa2a9297d16666d9cf686aea17319026145ed1d', class: "s-payments-list-wrap" }, h("ul", { key: '0c9a19d7ba93555e897fdb5068572d90f64a87e5', class: "s-payments-list" }, madeInKSA && h("li", { key: '1da474ca870831495e7bee34e8e8ba538927c716', class: "s-payments-list-item" }, h("img", { key: '66b42b93ef788b7091e8343338182ffc93cae74f', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
46
46
|
h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
47
47
|
.replace(/\{image\}/g, this.paymentLogo(`cod`)) }) :
|
|
48
48
|
h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
49
49
|
.replace(/\{image\}/g, this.paymentLogo(payment))
|
|
50
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '
|
|
50
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'fd9c5984a1c6890dc9690f6e3969a76fed2f1501', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
51
51
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
52
52
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
53
53
|
}
|
|
@@ -170,5 +170,5 @@ export class SallaPayments {
|
|
|
170
170
|
static get elementRef() { return "host"; }
|
|
171
171
|
}
|
|
172
172
|
/** Slugs whose mini logo lives on the new assets CDN; add one when its logo is re-uploaded there. */
|
|
173
|
-
SallaPayments.NEW_CDN_LOGOS = ['tabby_installment', 'emkan_installment'];
|
|
173
|
+
SallaPayments.NEW_CDN_LOGOS = ['tabby_installment', 'emkan_installment', 'benefit', 'qpay'];
|
|
174
174
|
SallaPayments.audited = false;
|
|
@@ -85,7 +85,12 @@ export class SallaReviews {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
|
|
88
|
+
// Nothing to show until reviews load; empty results keep it hidden so the
|
|
89
|
+
// "testimonials" header never renders over an empty slider.
|
|
90
|
+
if (!this.showReviews) {
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
return (h("div", { class: "s-reviews-container" }, h("div", { class: "s-reviews-header-wrapper" }, h("h1", { class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
|
|
89
94
|
}
|
|
90
95
|
static get is() { return "salla-reviews"; }
|
|
91
96
|
static get originalStyleUrls() {
|
|
@@ -142,7 +142,7 @@ export class SallaReviewsPage {
|
|
|
142
142
|
return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h("host", { key: '
|
|
145
|
+
return (h("host", { key: '1ca6e12aafb0b83953a887286003dce5f47c9374' }, h("div", { key: '9a353471f58a1fe67800f9d0ac38b3f94095b107', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '0fc9c963af765108e42f341ac7d70c8758e4677a', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '13f2b001680a39440d3e5557bcfee46a92592ea4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'fcb5e88a598d342d4cdeff4cfba0a85ea94b911e', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e2c23398b1024647c1cfdc283392b94e3ce0e44c', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '67f5f7748db13b7c6bdf3bbbb104d9f4b001df69', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
|
|
146
146
|
this.wrapper = el;
|
|
147
147
|
} }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
|
|
148
148
|
: h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
|
|
@@ -69,6 +69,7 @@ export class SallaSearch {
|
|
|
69
69
|
salla.event.emit('salla-search::input.focused');
|
|
70
70
|
},
|
|
71
71
|
productClick: (product, position) => {
|
|
72
|
+
Helper.saveProductSource('search');
|
|
72
73
|
salla.event.emit('salla-search::product.clicked', [{ product, position }]);
|
|
73
74
|
},
|
|
74
75
|
recommendationClick: (term, source) => {
|
|
@@ -197,7 +198,7 @@ export class SallaSearch {
|
|
|
197
198
|
this.inputValue.length < 3 ? this.container?.classList.remove('s-search-no-results') : '';
|
|
198
199
|
}
|
|
199
200
|
renderLegacyResults() {
|
|
200
|
-
return (h("div", { class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
|
|
201
|
+
return (h("div", { class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', onClick: () => Helper.saveProductSource('search'), class: {
|
|
201
202
|
's-search-product': true,
|
|
202
203
|
's-search-product-not-available': !product.is_available,
|
|
203
204
|
}, innerHTML: this.productSlot
|
|
@@ -188,18 +188,18 @@ export class SallaSearchableDropdown {
|
|
|
188
188
|
render() {
|
|
189
189
|
const hasSelection = this.selectedItem != null;
|
|
190
190
|
const listboxId = `${this.inputId}-listbox`;
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: 'a9d8dd63b0dbc632572a6bb5f6885e5df1d6d8de', class: "s-searchable-dropdown" }, h("div", { key: 'e8e893796b20411ea11043de5119a0d91d5581e3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '4a352b4b9e88e6999ea786f05bfcc1ebe7a9d2f5', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'ee0695692ac805fbd9f2a464ae845e7f50da77b1', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'bdaa4e1e5b9992a8a4ac1a291c77f4a59d699111', class: {
|
|
192
192
|
's-searchable-dropdown-trigger': true,
|
|
193
193
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
194
194
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
195
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '
|
|
195
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '6ac4b2325e1154164fb029c2c02426fc88b12257', class: {
|
|
196
196
|
'sicon-keyboard_arrow_down': true,
|
|
197
197
|
's-searchable-dropdown-trigger-icon': true,
|
|
198
198
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
199
|
-
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '
|
|
199
|
+
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '9bf0065cf014b5e99997bf69c591388c9ba44ee9', class: {
|
|
200
200
|
's-searchable-dropdown-panel': true,
|
|
201
201
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
202
|
-
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '
|
|
202
|
+
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '1f6b03cb1e718fc6283190bb0de3ea80b4646e67', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '2dcdee4dfa87fbc38a0e1c1dd021aaa156d61cc3', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '440f49eb67a8c850b217837cc017eea0b402fc20', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: 'feefb4edcff1bfa8a0e44c4ef0e4f6ae2ca77d9e', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
203
203
|
}
|
|
204
204
|
renderListContent() {
|
|
205
205
|
if (this.searching || this.loading) {
|
|
@@ -22,7 +22,7 @@ export class SallaSkeleton {
|
|
|
22
22
|
's-skeleton-item': true,
|
|
23
23
|
's-skeleton-item-circular': this.type == 'circle',
|
|
24
24
|
};
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '77af51474bcf2166aa4afb8eaecc25c05b4715f7', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '758d3ccc09bcb56625b8c1dd7161f529ffefaeed', class: classes }, "\u00A0")));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "salla-skeleton"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -31,7 +31,7 @@ export class SallaSocial {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const linksArray = this.getLinksArray();
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '0a25838e41939241e920cd4741adb7d16a61560d' }, h("ul", { key: '1744c463a3f8feda441df53eac48fb4a8e92b524', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
35
35
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
36
36
|
.replace(/\{type\}/g, link.type)
|
|
37
37
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -355,7 +355,7 @@ export class SallaSocialShare {
|
|
|
355
355
|
})));
|
|
356
356
|
}
|
|
357
357
|
render() {
|
|
358
|
-
return (h("div", { key: '
|
|
358
|
+
return (h("div", { key: '74ae37141053842dc1e1b36ddc2cf5817d5d1bdc', class: "s-social-share-wrapper" }, h("slot", { key: '30b2597ad462b2a47c2e6cfc5fb72c46b1797880', name: "widget" }, h("salla-button", { key: 'f3db20153c9a2df0ccf039bfd0adaef4f04449a2', "aria-label": "Share", onClick: () => this.handleShareClick(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'e2ca4cf8393b5c1acc78f60a42fcd5ff7c4315d2', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
|
|
359
359
|
}
|
|
360
360
|
static get is() { return "salla-social-share"; }
|
|
361
361
|
static get originalStyleUrls() {
|
|
@@ -30,7 +30,7 @@ export class SallaTabContent {
|
|
|
30
30
|
's-tabs-content': true,
|
|
31
31
|
's-tabs-content-selected': this.isSelected
|
|
32
32
|
};
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '1c0f03941a4a37f7afb926d4bf7002910fbc6cad', class: classes }, h("slot", { key: 'f04243b5c619a8457bc41bef190440c430549ed9' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "salla-tab-content"; }
|
|
36
36
|
static get originalStyleUrls() {
|
|
@@ -52,7 +52,7 @@ export class SallaTabHeader {
|
|
|
52
52
|
's-tabs-active': this.isSelected,
|
|
53
53
|
};
|
|
54
54
|
return [
|
|
55
|
-
h("div", { key: '
|
|
55
|
+
h("div", { key: '1f006a8a8e4e5ca2d27a001621203402d5765fc0', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'c4a036153eff97fc24d34db35c5d2937f9e9ece1' })),
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "salla-tab-header"; }
|
|
@@ -50,7 +50,7 @@ export class SallaTabs {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
return [
|
|
53
|
-
h("div", { key: '
|
|
53
|
+
h("div", { key: 'e1739f5533b3b45e50fe0387a74479de7ea46965', class: "s-tabs" }, h("div", { key: '7eddaf514f3a3daf16c87789cda4b91223a4d6e2', class: "s-tabs-header" }, h("slot", { key: 'd878899ce681f3d99e910e9667261ff67a15825d', name: "header" })), h("div", { key: 'a1f7fb4b0fc589d5e2bad0bca96073a9e5b919d4', class: "s-tabs-content-wrapper" }, h("slot", { key: '7cc75788d2c8824be1d126d2fee01a44bc4da8c6', name: "content" })))
|
|
54
54
|
];
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "salla-tabs"; }
|
|
@@ -138,7 +138,7 @@ export class SallaTelInput {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: 'aaf854dc9a005abf182fa4f1df3bb6ca7a2273fd', class: "s-tel-input" }, h("input", { key: '93e82604285107f8cf791fa03766d47c22151297', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '2ed465fcf44b673973203c3de95eda1c638ed829', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'da4714631df46c13b2caa0a2e2cf7b5c434c1257', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
|
|
142
142
|
}
|
|
143
143
|
componentDidLoad() {
|
|
144
144
|
this.initPromise = this.initTelInput();
|
|
@@ -27,7 +27,7 @@ export class SallaTooltip {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '3ade782845e46f9701622d3a4a71b54dc7da37fb', class: "s-tooltip-container" }, h("div", { key: 'c0fba34cb9890151fa283436f6ce4033ca2f1172', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "salla-tooltip"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -532,7 +532,7 @@ export class SallaUserSettings {
|
|
|
532
532
|
return (h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeleteModal() }, this.capitalizeText(this.deleteAccount)));
|
|
533
533
|
}
|
|
534
534
|
render() {
|
|
535
|
-
return (h(Host, { key: '
|
|
535
|
+
return (h(Host, { key: 'a281976a9dd190f20ddf5e1e7633cd954407d3b4', class: "s-user-settings-wrapper" }, this.canHideName && (h("div", { key: '7291eaadf516b3161d9e4fde3a5dcec7a42bb609', class: "s-user-settings-section" }, h("salla-list-tile", { key: '3e23e502b3031de5cfb0a49e9c8bc9756ada92af' }, h("div", { key: 'd426d601591da1f15c065bce33e4c7b12d0bf047', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'e4900a0e5450bc100d22e62a22de331e96958a4c', innerHTML: UserCancel })), h("div", { key: 'ec6110960511382dd551421ffd3a036af506109b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'bdfc4e7f987a7ecd0e3cf8bfeee72f055297e2d6', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'fad7eb6125789cdf3230314e62552452f4c84fc3', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: 'f5676bc70508fddad0506410089aa7879e4ef5db', class: "s-toggle" }, h("input", { key: '6b57caa5797c1b7225094cf4241a95b7a521327a', class: "s-toggle-input", checked: this.isHiddenName, onChange: e => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '50073a68f078ae3592ea00581a9287f03371e122', class: "s-toggle-switcher" })))))), h("div", { key: 'e87388e12354cdd7559ff16c965bc51786d52af5', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'fc020c81a28c42c0a98fda40ee6f6ffaaa5a20d4' }, h("div", { key: 'aa90688fca635da561e4eb77309e447d6f5e6b8b', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '6448e1268f3c88e72fff6259f195e4b43312253e', innerHTML: Bullhorn })), h("div", { key: 'ded7da656a1b484e4144c5d8605a55682f7de912', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: 'a70d94920d012ac5a1d85b17f92b9ce733179569', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'be1325b95063cc822ee4c62d7c7a20bae08fb287', slot: "action", class: "s-user-settings-section-action" }, h("label", { key: '181949e51caed49e6c05d10e1a1ae79472772ded', class: "s-toggle" }, h("input", { key: '76d423655ebab9004b130adea83f89ec92a27966', class: "s-toggle-input", checked: this.isNotifiable, onChange: e => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '44a1ac3c7c6b1f0ac12ccb8853d5c75317ecce2c', class: "s-toggle-switcher" }))))), this.isDeleteAccountEnabled ? (h("div", { class: "s-user-settings-section s-user-settings-section-delete-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, this.renderUserDeleteIcon()), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deleteAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.isDeletePending ? this.deleteAccountPending : this.deleteAccountDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, this.renderDeleteSectionAction())))) : (h("div", { class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", null, h("div", { slot: "icon", class: "s-user-settings-section-icon" }, h("span", { innerHTML: UserOff })), h("div", { slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { slot: "action", class: "s-user-settings-section-action" }, h("salla-button", { fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount)))))), this.isDeleteAccountEnabled ? (h("salla-modal", { id: "salla-user-settings-delete-modal", width: "xs", centered: true, showBack: this.currentStep === 'otp', isClosable: this.currentStep !== 'success', iconStyle: this.currentStep === 'success' ? 'success' : undefined, onModalVisibilityChanged: e => this.handleModalVisibilityChanged(e), onModalBack: () => this.goBackFromOtp(), ref: modal => (this.confirmationModal = modal) }, this.currentStep !== 'success' ? (h("span", { slot: "icon", class: "s-user-settings-delete-icon" }, this.renderUserDeleteIcon())) : null, h("div", { key: this.currentStep, class: "s-user-settings-delete-step" }, this.renderDeleteStep()))) : (h("salla-modal", { width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => (this.confirmationModal = modal) }, h("span", { slot: "icon", class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { class: "s-user-settings-confirmation" }, h("div", { class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { class: "s-user-settings-confirmation-actions" }, h("salla-button", { width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { fill: "outline", loading: this.buttonLoading, width: "wide", onClick: () => this.confirmDeactivateAccount() }, this.capitalizeText(this.deactivateAccount))))))));
|
|
536
536
|
}
|
|
537
537
|
static get is() { return "salla-user-settings"; }
|
|
538
538
|
static get originalStyleUrls() {
|