@salla.sa/twilight-components 2.14.431 → 2.14.433
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-DfW5cyCe.js → filepond-m9UIfD4r.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BDWsEvaC.js → filepond-plugin-file-poster-CCNucuJo.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Bto6gxLP.js → filepond-plugin-file-validate-size-c8aiCeyd.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-B6YfHTAx.js → filepond-plugin-file-validate-type-DKXNy-pI.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-C-LqaX6L.js → filepond-plugin-image-edit-BeXjDMoa.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CV0h895x.js → filepond-plugin-image-exif-orientation-BeoKq6Qa.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DWzrBxJB.js → filepond-plugin-image-preview-DNGNnW2v.js} +1 -1
- package/dist/cjs/{functions-CB5lb0VM.js → functions-B5wriSSk.js} +1 -1
- package/dist/cjs/{index-D7Syi0Lt.js → index-DRte8uD2.js} +1 -1
- package/dist/cjs/{index-CPVUhQsG.js → index-ouHUBEmn.js} +14 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
- 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-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +16 -16
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +19 -10
- 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-cashback-banner.cjs.entry.js +77 -0
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +23 -7
- 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.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
- package/dist/cjs/salla-hook.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +50 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
- package/dist/cjs/salla-map.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-offer.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 +2 -2
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
- package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
- package/dist/cjs/salla-products-list.cjs.entry.js +34 -3
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
- package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
- package/dist/cjs/salla-search.cjs.entry.js +6 -6
- package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- 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 +3 -3
- 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/{tracked-promise-Duwj6C7F.js → tracked-promise-CBS0Jv4T.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-C-53deqE.js → vanilla-picker-B4KqFjgH.js} +1 -1
- package/dist/collection/assets/svg/money.svg +3 -0
- package/dist/collection/assets/svg/star-filled.svg +10 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +14 -5
- package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.css +0 -0
- package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +74 -0
- package/dist/collection/components/salla-comments/salla-comment-item.js +20 -3
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
- package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
- package/dist/collection/components/salla-filters/salla-filters.js +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
- package/dist/collection/components/salla-hook/salla-hook.js +1 -1
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
- package/dist/collection/components/salla-loading/salla-loading.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
- package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.css +0 -0
- package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +54 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
- package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
- package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
- package/dist/collection/components/salla-map/salla-map.js +3 -3
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
- package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
- package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
- package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +2 -2
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
- package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
- package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
- package/dist/collection/components/salla-products-list/salla-products-list.js +33 -2
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
- package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
- package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
- package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
- package/dist/collection/components/salla-search/salla-search.js +5 -5
- 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.css +4 -4
- 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/components/index.js +2 -2
- package/dist/components/salla-bullet-delivery.js +14 -5
- package/dist/components/salla-cashback-banner.d.ts +11 -0
- package/dist/components/salla-cashback-banner.js +96 -0
- package/dist/components/salla-comment-item2.js +36 -13
- package/dist/components/salla-comments.js +24 -18
- package/dist/components/salla-conditional-fields2.js +1 -1
- package/dist/components/salla-count-down2.js +1 -1
- package/dist/components/salla-datetime-picker2.js +1 -1
- package/dist/components/salla-file-upload2.js +2 -2
- package/dist/components/salla-filters-widget2.js +2 -2
- package/dist/components/salla-filters.js +1 -1
- package/dist/components/salla-gifting.js +2 -2
- package/dist/components/salla-hook.js +1 -1
- package/dist/components/salla-list-tile2.js +1 -1
- package/dist/components/salla-loading2.js +1 -1
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-loyalty-hero2.js +3 -3
- package/dist/components/salla-loyalty-point2.js +3 -3
- package/dist/components/salla-loyalty-points-banner.d.ts +11 -0
- package/dist/components/salla-loyalty-points-banner.js +69 -0
- package/dist/components/salla-loyalty-prize-item.js +1 -1
- package/dist/components/salla-loyalty-reward.js +2 -2
- package/dist/components/salla-maintenance-alert.js +1 -1
- package/dist/components/salla-map2.js +3 -3
- package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
- package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
- package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
- package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
- package/dist/components/salla-multiple-bundle-product.js +1 -1
- package/dist/components/salla-notification-item2.js +1 -1
- package/dist/components/salla-offer-modal.js +1 -1
- package/dist/components/salla-order-details.js +1 -1
- package/dist/components/salla-order-edit-product-card.js +1 -1
- package/dist/components/salla-order-summary.js +1 -1
- package/dist/components/salla-payments.js +2 -2
- package/dist/components/salla-placeholder2.js +1 -1
- package/dist/components/salla-price-range2.js +2 -2
- package/dist/components/salla-product-availability2.js +1 -1
- package/dist/components/salla-product-card2.js +5 -5
- package/dist/components/salla-product-size-guide.js +2 -2
- package/dist/components/salla-products-list2.js +33 -2
- package/dist/components/salla-quantity-input2.js +1 -1
- package/dist/components/salla-quick-buy2.js +1 -1
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +1 -1
- package/dist/components/salla-reward-action2.js +1 -1
- package/dist/components/salla-reward-card2.js +1 -1
- package/dist/components/salla-reward-details2.js +3 -3
- package/dist/components/salla-reward-exchange2.js +3 -3
- package/dist/components/salla-scopes.js +1 -1
- package/dist/components/salla-search.js +5 -5
- package/dist/components/salla-searchable-dropdown2.js +4 -4
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-social-share.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 +2 -2
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/esm/{filepond-b3O-B3ro.js → filepond-CKWIup4S.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DGa9Q6FE.js → filepond-plugin-file-poster-Bh-xu68e.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Bn9iVzLj.js → filepond-plugin-file-validate-size-D49X-Kke.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BjHBoevq.js → filepond-plugin-file-validate-type-CdrHe--C.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CJ2XCDbB.js → filepond-plugin-image-edit-CJW0RVuR.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DUb8DStt.js → filepond-plugin-image-exif-orientation-DLAbuFUC.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BCzQEooP.js → filepond-plugin-image-preview-CgwlEcnw.js} +1 -1
- package/dist/esm/{functions-hDIweVRL.js → functions-DEq2D5r8.js} +1 -1
- package/dist/esm/{index-DFzcviYn.js → index-BAMBfQio.js} +1 -1
- package/dist/esm/{index-Dnvn8dmm.js → index-lMbG1CIQ.js} +14 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +3 -3
- 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-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +16 -16
- package/dist/esm/salla-bullet-delivery_2.entry.js +19 -10
- 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-cashback-banner.entry.js +75 -0
- package/dist/esm/salla-comment-form_8.entry.js +23 -7
- 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.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +3 -3
- package/dist/esm/salla-hook.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/salla-localization-modal.entry.js +2 -2
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +48 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +4 -4
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +2 -2
- package/dist/esm/salla-map.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
- package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +2 -2
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +2 -2
- package/dist/esm/salla-offer.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 +2 -2
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/salla-placeholder.entry.js +2 -2
- package/dist/esm/salla-price-range.entry.js +3 -3
- package/dist/esm/salla-product-card_2.entry.js +6 -6
- package/dist/esm/salla-product-size-guide.entry.js +3 -3
- package/dist/esm/salla-products-list.entry.js +34 -3
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +11 -11
- package/dist/esm/salla-scopes.entry.js +2 -2
- package/dist/esm/salla-search.entry.js +6 -6
- package/dist/esm/salla-skeleton.entry.js +2 -2
- package/dist/esm/salla-slider.entry.js +1 -1
- 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 +3 -3
- 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/{tracked-promise-p08m2zyv.js → tracked-promise-Cuxl89VM.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-kSO_chM-.js → vanilla-picker--tIjHzZT.js} +1 -1
- package/dist/twilight/p-00142abc.entry.js +4 -0
- package/dist/twilight/{p-424110b5.entry.js → p-05a6fc4e.entry.js} +1 -1
- package/dist/twilight/p-0a1966cf.entry.js +4 -0
- package/dist/twilight/p-0bf5b2a3.entry.js +4 -0
- package/dist/twilight/{p-d82818ee.entry.js → p-0f19a6eb.entry.js} +1 -1
- package/dist/twilight/{p-2160352a.entry.js → p-0f712ca6.entry.js} +1 -1
- package/dist/twilight/{p-1c03ceaa.entry.js → p-139d18e4.entry.js} +1 -1
- package/dist/twilight/{p-348ce789.entry.js → p-18dbc68c.entry.js} +1 -1
- package/dist/twilight/{p-a1766fe4.entry.js → p-1ced495f.entry.js} +1 -1
- package/dist/twilight/p-22dd6342.entry.js +4 -0
- package/dist/twilight/{p-bcdf2adf.entry.js → p-25c7c765.entry.js} +1 -1
- package/dist/twilight/{p-fd792b46.entry.js → p-25d4c3e7.entry.js} +1 -1
- package/dist/twilight/{p-102747d8.entry.js → p-28701b83.entry.js} +1 -1
- package/dist/twilight/p-29b528fe.entry.js +4 -0
- package/dist/twilight/{p-7e288aab.entry.js → p-2caab1dd.entry.js} +1 -1
- package/dist/twilight/p-2e11b913.entry.js +4 -0
- package/dist/twilight/{p-09b8f823.entry.js → p-30ca11a7.entry.js} +1 -1
- package/dist/twilight/{p-e0c8d60c.entry.js → p-386d36ff.entry.js} +1 -1
- package/dist/twilight/{p-88032655.entry.js → p-3c2c9e2b.entry.js} +1 -1
- package/dist/twilight/{p-e206ecc7.entry.js → p-42868687.entry.js} +1 -1
- package/dist/twilight/{p-26b9358b.entry.js → p-434232b8.entry.js} +1 -1
- package/dist/twilight/{p-74998089.entry.js → p-46c69187.entry.js} +1 -1
- package/dist/twilight/{p-4ec18be2.entry.js → p-477d3cde.entry.js} +1 -1
- package/dist/twilight/{p-c936ef8d.entry.js → p-484c2f42.entry.js} +1 -1
- package/dist/twilight/{p-e47f98ab.entry.js → p-5309c2b6.entry.js} +1 -1
- package/dist/twilight/{p-3c631cc0.entry.js → p-55801b41.entry.js} +1 -1
- package/dist/twilight/{p-f6c2599b.entry.js → p-579e1d3f.entry.js} +1 -1
- package/dist/twilight/{p-2431c606.entry.js → p-58a182ef.entry.js} +1 -1
- package/dist/twilight/{p-d3b4dfd4.entry.js → p-5b0ccf4b.entry.js} +1 -1
- package/dist/twilight/{p-41119cdb.entry.js → p-5dc05ab0.entry.js} +1 -1
- package/dist/twilight/{p-402b5980.entry.js → p-602eb37d.entry.js} +1 -1
- package/dist/twilight/{p-10ad1b83.entry.js → p-63b2e9e4.entry.js} +1 -1
- package/dist/twilight/{p-666df999.entry.js → p-64364d27.entry.js} +1 -1
- package/dist/twilight/{p-8c7058b1.entry.js → p-646309b3.entry.js} +1 -1
- package/dist/twilight/{p-8ef02612.entry.js → p-6a6cc844.entry.js} +1 -1
- package/dist/twilight/{p-d118fae4.entry.js → p-6c4b0954.entry.js} +1 -1
- package/dist/twilight/p-6db2ed2d.entry.js +4 -0
- package/dist/twilight/{p-fbda5922.entry.js → p-6fe6361d.entry.js} +1 -1
- package/dist/twilight/{p-d4094247.entry.js → p-7060ae7d.entry.js} +1 -1
- package/dist/twilight/p-75cd1309.entry.js +4 -0
- package/dist/twilight/{p-abe7a229.entry.js → p-76147eb1.entry.js} +1 -1
- package/dist/twilight/{p-cf73d667.entry.js → p-77d6879d.entry.js} +1 -1
- package/dist/twilight/{p-835fa9b4.entry.js → p-781b8258.entry.js} +1 -1
- package/dist/twilight/{p-7095939b.entry.js → p-7906db6c.entry.js} +1 -1
- package/dist/twilight/{p-bd45359c.entry.js → p-793b143f.entry.js} +1 -1
- package/dist/twilight/{p-97b0e5fe.entry.js → p-7a067b88.entry.js} +1 -1
- package/dist/twilight/{p-d2551363.entry.js → p-7e74750a.entry.js} +1 -1
- package/dist/twilight/{p-809250a3.entry.js → p-83407903.entry.js} +1 -1
- package/dist/twilight/{p-4cc4260a.entry.js → p-87fc46f3.entry.js} +1 -1
- package/dist/twilight/{p-8eb27675.entry.js → p-8b19a6cd.entry.js} +1 -1
- package/dist/twilight/{p-b5281c36.entry.js → p-9029fe2f.entry.js} +1 -1
- package/dist/twilight/p-9561c440.entry.js +4 -0
- package/dist/twilight/{p-4d15bde7.entry.js → p-98409d9d.entry.js} +1 -1
- package/dist/twilight/{p-29bb512b.entry.js → p-999d8514.entry.js} +1 -1
- package/dist/twilight/{p-eb9fd475.entry.js → p-99cde2bd.entry.js} +1 -1
- package/dist/twilight/p-9b4b6171.entry.js +4 -0
- package/dist/twilight/{p-094dc909.entry.js → p-9baa8e69.entry.js} +1 -1
- package/dist/twilight/{p-D9Fh8EvL.js → p-AO-xClM5.js} +1 -1
- package/dist/twilight/{p-CUMuR5KH.js → p-BbPW5sNk.js} +1 -1
- package/dist/twilight/p-BxVFPdKb.js +9 -0
- package/dist/twilight/{p-lDyZ4jxE.js → p-C0kfWMMc.js} +1 -1
- package/dist/twilight/{p-B7njTcyQ.js → p-C7BsTxLN.js} +1 -1
- package/dist/twilight/{p-CWSAc4x3.js → p-CZ4us-OW.js} +1 -1
- package/dist/twilight/{p-uGRgz5pT.js → p-DTVc8PSy.js} +1 -1
- package/dist/twilight/{p-C9apxUCF.js → p-DkFvXnTU.js} +1 -1
- package/dist/twilight/{p-CZzwVBvr.js → p-YBYQ1IRq.js} +1 -1
- package/dist/twilight/{p-3d031db4.entry.js → p-ab717a96.entry.js} +1 -1
- package/dist/twilight/{p-ed7410d9.entry.js → p-ad4003fd.entry.js} +1 -1
- package/dist/twilight/{p-f0e36346.entry.js → p-ade89f79.entry.js} +1 -1
- package/dist/twilight/{p-bd1539f4.entry.js → p-ae107cb6.entry.js} +1 -1
- package/dist/twilight/p-akcJQPrL.js +9 -0
- package/dist/twilight/{p-4dfa5176.entry.js → p-b4b03890.entry.js} +1 -1
- package/dist/twilight/p-b5658790.entry.js +4 -0
- package/dist/twilight/{p-7ee53da2.entry.js → p-b9793df6.entry.js} +1 -1
- package/dist/twilight/{p-80b61a76.entry.js → p-ba06196b.entry.js} +1 -1
- package/dist/twilight/{p-888b361e.entry.js → p-c8a460c0.entry.js} +1 -1
- package/dist/twilight/p-c9dc08e9.entry.js +4 -0
- package/dist/twilight/{p-e825da6f.entry.js → p-cbbbf280.entry.js} +1 -1
- package/dist/twilight/{p-c3416bea.entry.js → p-cc9e266a.entry.js} +1 -1
- package/dist/twilight/{p-5e353422.entry.js → p-ce844f61.entry.js} +1 -1
- package/dist/twilight/p-d1b2c259.entry.js +4 -0
- package/dist/twilight/p-d2edf700.entry.js +4 -0
- package/dist/twilight/{p-bd24ad46.entry.js → p-d5ae1bd3.entry.js} +1 -1
- package/dist/twilight/{p-a0374cc5.entry.js → p-d72d82c2.entry.js} +1 -1
- package/dist/twilight/{p-d44de146.entry.js → p-da6e4d60.entry.js} +1 -1
- package/dist/twilight/p-deaa32fd.entry.js +4 -0
- package/dist/twilight/{p-7ca7130b.entry.js → p-e0fa2bc5.entry.js} +1 -1
- package/dist/twilight/{p-23f9bac7.entry.js → p-e3b11077.entry.js} +1 -1
- package/dist/twilight/{p-32387b75.entry.js → p-e5535ac3.entry.js} +1 -1
- package/dist/twilight/{p-a5b9b1db.entry.js → p-e9799703.entry.js} +1 -1
- package/dist/twilight/{p-4ecb3a12.entry.js → p-ea4cf5c5.entry.js} +1 -1
- package/dist/twilight/{p-d58be43c.entry.js → p-f3597f21.entry.js} +1 -1
- package/dist/twilight/{p-af191f0c.entry.js → p-f424854a.entry.js} +1 -1
- package/dist/twilight/{p-b3a426a1.entry.js → p-f5f8ab50.entry.js} +1 -1
- package/dist/twilight/{p-a037b850.entry.js → p-fc2d0c94.entry.js} +1 -1
- package/dist/twilight/{p-Bbi316x0.js → p-jvvBvp8R.js} +1 -1
- package/dist/twilight/{p-Dnvn8dmm.js → p-lMbG1CIQ.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cashback-banner/salla-cashback-banner.d.ts +20 -0
- package/dist/types/components/salla-comments/interfaces.d.ts +1 -0
- package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -0
- package/dist/types/components/salla-loyalty-points-banner/salla-loyalty-points-banner.d.ts +12 -0
- package/dist/types/components.d.ts +26 -0
- package/package.json +5 -5
- package/dist/twilight/p-1dd5a941.entry.js +0 -4
- package/dist/twilight/p-20824b36.entry.js +0 -4
- package/dist/twilight/p-22b1ab5e.entry.js +0 -4
- package/dist/twilight/p-2a88b328.entry.js +0 -4
- package/dist/twilight/p-2d47d5fd.entry.js +0 -4
- package/dist/twilight/p-5158bd60.entry.js +0 -4
- package/dist/twilight/p-56a5491f.entry.js +0 -4
- package/dist/twilight/p-640a439c.entry.js +0 -4
- package/dist/twilight/p-653349e0.entry.js +0 -4
- package/dist/twilight/p-6788c2fb.entry.js +0 -4
- package/dist/twilight/p-B798epj8.js +0 -9
- package/dist/twilight/p-BpqRyGw0.js +0 -9
- package/dist/twilight/p-d064a0b8.entry.js +0 -4
- package/dist/twilight/p-e20c4393.entry.js +0 -4
- package/dist/twilight/p-f80b718e.entry.js +0 -4
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
|
+
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
|
+
|
|
7
|
+
var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8
|
+
<g clip-path="url(#clip0_5667_2008)">
|
|
9
|
+
<path d="M9.00003 0.935974C9.37203 0.935974 9.72003 1.06797 10.044 1.33197C10.344 1.57197 10.596 1.90797 10.8 2.33997L12.114 5.00397C12.174 5.09997 12.27 5.19897 12.402 5.30097C12.534 5.40297 12.66 5.46597 12.78 5.48997L15.174 5.88597C15.618 5.95797 15.996 6.10197 16.308 6.31797C16.644 6.54597 16.869 6.83697 16.983 7.19097C17.097 7.54497 17.082 7.91397 16.938 8.29797C16.806 8.64597 16.578 8.98797 16.254 9.32397L14.4 11.196C14.316 11.28 14.247 11.409 14.193 11.583C14.139 11.757 14.13 11.91 14.166 12.042L14.688 14.364C14.808 14.88 14.832 15.342 14.76 15.75C14.676 16.206 14.475 16.551 14.157 16.785C13.839 17.019 13.452 17.106 12.996 17.046C12.588 16.998 12.156 16.836 11.7 16.56L9.45003 15.21C9.34203 15.15 9.19203 15.12 9.00003 15.12C8.80803 15.12 8.65803 15.15 8.55003 15.21L6.30003 16.56C5.84403 16.836 5.41203 16.998 5.00403 17.046C4.54803 17.106 4.16103 17.016 3.84303 16.776C3.52503 16.536 3.32403 16.194 3.24003 15.75C3.16803 15.342 3.19203 14.88 3.31203 14.364L3.83403 12.042C3.85803 11.91 3.84603 11.757 3.79803 11.583C3.75003 11.409 3.68403 11.28 3.60003 11.196L1.74603 9.32397C1.41003 8.98797 1.18203 8.64597 1.06203 8.29797C0.918027 7.91397 0.900027 7.54497 1.00803 7.19097C1.11603 6.83697 1.34403 6.54597 1.69203 6.31797C1.99203 6.10197 2.37003 5.95797 2.82603 5.88597L5.22003 5.48997C5.32803 5.46597 5.45103 5.40297 5.58903 5.30097C5.72703 5.19897 5.82003 5.09997 5.86803 5.00397L7.18203 2.33997C7.39803 1.90797 7.65603 1.57197 7.95603 1.33197C8.28003 1.06797 8.62803 0.935974 9.00003 0.935974Z" fill="white"/>
|
|
10
|
+
</g>
|
|
11
|
+
<defs>
|
|
12
|
+
<clipPath id="clip0_5667_2008">
|
|
13
|
+
<rect width="18" height="18" fill="white"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
</defs>
|
|
16
|
+
</svg>
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
const sallaCashbackBannerCss = "";
|
|
20
|
+
|
|
21
|
+
const SallaCashbackBanner = class {
|
|
22
|
+
constructor(hostRef) {
|
|
23
|
+
registerInstance(this, hostRef);
|
|
24
|
+
this.cashbackData = null;
|
|
25
|
+
this.productId = null;
|
|
26
|
+
}
|
|
27
|
+
async componentWillLoad() {
|
|
28
|
+
try {
|
|
29
|
+
await salla.onReady();
|
|
30
|
+
await salla.lang.onLoaded();
|
|
31
|
+
await setTranslations();
|
|
32
|
+
this.productId = this.host.dataset.productId || salla.config.get('page.id');
|
|
33
|
+
if (!this.productId) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const response = await salla.api
|
|
37
|
+
.request(`/products/${this.productId}/cashback-offer`)
|
|
38
|
+
.catch(() => null);
|
|
39
|
+
this.cashbackData = response?.data || null;
|
|
40
|
+
}
|
|
41
|
+
catch (e) {
|
|
42
|
+
salla?.logger?.warn?.('salla-cashback-banner: init failed', e);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
getPaymentMethodsText(methods = []) {
|
|
46
|
+
return methods
|
|
47
|
+
.map(method => String(method || '').trim())
|
|
48
|
+
.filter(Boolean)
|
|
49
|
+
.map(method => salla.lang.get(`pages.checkout.${method}`) || method)
|
|
50
|
+
.join(', ');
|
|
51
|
+
}
|
|
52
|
+
getCashbackMessage() {
|
|
53
|
+
const includedMethods = this.cashbackData?.payment_method_restrictions?.included ?? [];
|
|
54
|
+
if (includedMethods.length) {
|
|
55
|
+
return salla.lang.get('pages.loyalty_program.cashback_when_buying_product_payment_method', {
|
|
56
|
+
payment_method: this.getPaymentMethodsText(includedMethods),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return salla.lang.get('pages.loyalty_program.cashback_when_buying_product');
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
if (!this.productId || !Number(this.cashbackData?.amount)) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
const cashbackValue = this.cashbackData.amount;
|
|
66
|
+
const currency = this.cashbackData.currency;
|
|
67
|
+
const cashbackMessage = this.getCashbackMessage();
|
|
68
|
+
const cashbackType = this.cashbackData.offer_type;
|
|
69
|
+
return (h(Host, null, h("div", { class: "s-cashback-banner-container" }, h("div", { class: "s-cashback-banner-icon" }, h("span", { class: "s-cashback-banner-inner-icon", innerHTML: StarFilledIcon })), h("p", null, h("span", { class: "s-cashback-banner-label" }, salla.lang.get('pages.loyalty_program.earn'), ' '), h("span", { class: "s-cashback-banner-value" }, cashbackType === "percentage" ? "+" : "", cashbackValue, " ", ['SAR', 'ر.س'].includes(currency) ? h("i", { class: "sicon-sar" }) : currency, ' '), h("span", { class: "s-cashback-banner-label" }, cashbackMessage)))));
|
|
70
|
+
}
|
|
71
|
+
get host() { return getElement(this); }
|
|
72
|
+
};
|
|
73
|
+
SallaCashbackBanner.style = sallaCashbackBannerCss;
|
|
74
|
+
|
|
75
|
+
export { SallaCashbackBanner as salla_cashback_banner };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
6
6
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
7
7
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
@@ -75,6 +75,7 @@ const SallaCommentItem = class {
|
|
|
75
75
|
constructor(hostRef) {
|
|
76
76
|
registerInstance(this, hostRef);
|
|
77
77
|
// Translations
|
|
78
|
+
this.locked_trans = salla.lang.get('blocks.comments.locked');
|
|
78
79
|
this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
|
|
79
80
|
this.rated_trans = salla.lang.get('pages.rating.rated');
|
|
80
81
|
this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
|
|
@@ -94,8 +95,12 @@ const SallaCommentItem = class {
|
|
|
94
95
|
const setTranslations = async () => {
|
|
95
96
|
await setNestedAsync('ar.trans', 'blocks.comments.helpful', 'مفيد');
|
|
96
97
|
await setNestedAsync('en.trans', 'blocks.comments.helpful', 'Helpful');
|
|
98
|
+
await setNestedAsync('ar.trans', 'blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
|
|
99
|
+
await setNestedAsync('en.trans', 'blocks.comments.locked', 'The reply is not visible to other customers');
|
|
97
100
|
this.helpfulLabel = salla.lang.getWithDefault('blocks.comments.helpful', 'مفيد');
|
|
101
|
+
this.locked_trans = salla.lang.getWithDefault('blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
|
|
98
102
|
};
|
|
103
|
+
this.locked_trans = salla.lang.get('blocks.comments.locked');
|
|
99
104
|
this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
|
|
100
105
|
this.rated_trans = salla.lang.get('pages.rating.rated');
|
|
101
106
|
this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
|
|
@@ -104,6 +109,8 @@ const SallaCommentItem = class {
|
|
|
104
109
|
});
|
|
105
110
|
}
|
|
106
111
|
componentDidLoad() {
|
|
112
|
+
if (!this.comment)
|
|
113
|
+
return;
|
|
107
114
|
this.likesCount = this.comment.likes_count;
|
|
108
115
|
try {
|
|
109
116
|
this.likedComments = JSON.parse(localStorage.getItem('liked_comments') || '[]');
|
|
@@ -183,20 +190,29 @@ const SallaCommentItem = class {
|
|
|
183
190
|
}
|
|
184
191
|
localStorage.setItem('liked_comments', JSON.stringify(this.likedComments));
|
|
185
192
|
}
|
|
193
|
+
isPrivateComment(comment) {
|
|
194
|
+
return comment.status === 'hidden';
|
|
195
|
+
}
|
|
186
196
|
PinnedIcon() {
|
|
187
197
|
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "16", height: "16", color: "#555555", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M12 16V21" }), h("path", { d: "M8 5.2918C8 5.02079 8 4.88529 8.01312 4.77132C8.1194 3.84789 8.84789 3.1194 9.77133 3.01312C9.88529 3 10.0208 3 10.2918 3H13.7082C13.9792 3 14.1147 3 14.2287 3.01312C15.1521 3.1194 15.8806 3.84789 15.9869 4.77132C16 4.88529 16 5.02079 16 5.2918C16 5.37885 16 5.42237 15.9967 5.46264C15.9708 5.78281 15.7927 6.07104 15.5179 6.2374C15.4834 6.25832 15.4444 6.27779 15.3666 6.31672L15.1055 6.44726C14.7021 6.64897 14.5003 6.74983 14.3681 6.90564C14.26 7.03286 14.1856 7.18509 14.1515 7.34846C14.1097 7.54854 14.1539 7.76968 14.2424 8.21197L15 12H15.3333C15.9533 12 16.2633 12 16.5176 12.0681C17.2078 12.2531 17.7469 12.7922 17.9319 13.4824C18 13.7367 18 14.0467 18 14.6667C18 14.9767 18 15.1317 17.9659 15.2588C17.8735 15.6039 17.6039 15.8735 17.2588 15.9659C17.1317 16 16.9767 16 16.6667 16H7.33333C7.02334 16 6.86835 16 6.74118 15.9659C6.39609 15.8735 6.12654 15.6039 6.03407 15.2588C6 15.1317 6 14.9767 6 14.6667C6 14.0467 6 13.7367 6.06815 13.4824C6.25308 12.7922 6.79218 12.2531 7.48236 12.0681C7.73669 12 8.04669 12 8.66667 12H9L9.75761 8.21197C9.84606 7.76968 9.89029 7.54854 9.84852 7.34846C9.81441 7.18509 9.73995 7.03286 9.63194 6.90564C9.49965 6.74983 9.29794 6.64897 8.89452 6.44726L8.63344 6.31672C8.55558 6.27779 8.51665 6.25832 8.48208 6.2374C8.20731 6.07104 8.02917 5.78281 8.00326 5.46264C8 5.42237 8 5.37885 8 5.2918Z" })));
|
|
188
198
|
}
|
|
199
|
+
LockedIcon() {
|
|
200
|
+
return (h("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M3.5 4.66683V4.0835C3.5 2.1505 5.067 0.583496 7 0.583496C8.93299 0.583496 10.5 2.1505 10.5 4.0835V4.66683H11.6667C11.9888 4.66683 12.25 4.928 12.25 5.25016V12.2502C12.25 12.5723 11.9888 12.8335 11.6667 12.8335H2.33333C2.01117 12.8335 1.75 12.5723 1.75 12.2502V5.25016C1.75 4.928 2.01117 4.66683 2.33333 4.66683H3.5ZM11.0833 5.8335H2.91667V11.6668H11.0833V5.8335ZM6.41667 9.1774C6.06795 8.97568 5.83333 8.59867 5.83333 8.16683C5.83333 7.52248 6.35565 7.00016 7 7.00016C7.64435 7.00016 8.16667 7.52248 8.16667 8.16683C8.16667 8.59867 7.93205 8.97568 7.58333 9.1774V10.5002H6.41667V9.1774ZM4.66667 4.66683H9.33333V4.0835C9.33333 2.79483 8.28864 1.75016 7 1.75016C5.71134 1.75016 4.66667 2.79483 4.66667 4.0835V4.66683Z", fill: "#555555" })));
|
|
201
|
+
}
|
|
189
202
|
render() {
|
|
203
|
+
if (!this.comment) {
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
190
206
|
let isAdmin = this.comment.type == 'admin';
|
|
191
|
-
return (h(Host, {
|
|
207
|
+
return (h(Host, { class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { class: "s-comments-item-avatar" }, h("img", { "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { class: "s-comments-flex-1" }, h("div", { class: "s-comments-item-user-wrapper" }, h("div", { class: "s-comments-item-user-info" }, h("h3", { class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
|
|
192
208
|
h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
|
|
193
209
|
: null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
|
|
194
210
|
h("div", { class: "s-comments-flex" }, this.comment.has_order ?
|
|
195
211
|
[h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: SICheck }), h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
|
|
196
212
|
h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
|
|
197
|
-
: null), h("p", {
|
|
213
|
+
: null), h("p", { class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
|
|
198
214
|
h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
|
|
199
|
-
: null), h("div", {
|
|
215
|
+
: null), h("div", { class: "s-comments-item-content" }, h("div", { class: "s-comments-item-content-container" }, this.isPrivateComment(this.comment) ? (h("div", { id: `s-comments-item-${this.comment.id}-locked-icon`, class: "s-comments-item-pinned-icon" }, this.LockedIcon())) : null, h("p", { innerHTML: this.comment.content })), this.isPrivateComment(this.comment) ? (h("salla-tooltip", { text: this.locked_trans, targetId: `s-comments-item-${this.comment.id}-locked-icon` })) : null, this.allowAttachImages && h("div", { class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
|
|
200
216
|
h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
|
|
201
217
|
this.getReplies().map((reply) => {
|
|
202
218
|
return h("div", null, h("salla-comment-item", { comment: reply }));
|
|
@@ -823,7 +839,7 @@ const SallaReviewCard = class {
|
|
|
823
839
|
return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
|
|
824
840
|
}
|
|
825
841
|
render() {
|
|
826
|
-
return h("div", { key: '
|
|
842
|
+
return h("div", { key: 'ec2ded8609dba5e1bbd86056a6dbc9021f36a212', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'd1ee883d27ebb03c2877f2ec8d2b5fcb11eaa3e5', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '787ec1bef7fd4b2916f6b106e075ff1a87b06f81', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
|
|
827
843
|
}
|
|
828
844
|
get el() { return getElement(this); }
|
|
829
845
|
};
|
|
@@ -920,7 +936,7 @@ const SallaReviews = class {
|
|
|
920
936
|
});
|
|
921
937
|
}
|
|
922
938
|
render() {
|
|
923
|
-
return (h("div", { key: '
|
|
939
|
+
return (h("div", { key: '889f426abadef56e0bfbde908d5066945c7a8543', class: "s-reviews-container" }, h("div", { key: '2965a05ba4845b9662f473a9ebd170c57cf36451', class: "s-reviews-header-wrapper" }, h("h1", { key: 'c9a77566e31c32657b0db3adbe2a49fe0c0f65e0', 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: arrowLeft }))) : null), h("salla-slider", { key: '40dd000abc65ae509b451f19919f55972eeb6af3', 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", { key: 'fd32e5d7fa8b49ed07d45585d5da2acc23d0e7f2', 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 }))))))))));
|
|
924
940
|
}
|
|
925
941
|
};
|
|
926
942
|
SallaReviews.style = sallaReviewsCss;
|
|
@@ -1600,7 +1616,7 @@ const SallaReviewsPage = class {
|
|
|
1600
1616
|
return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
1601
1617
|
}
|
|
1602
1618
|
render() {
|
|
1603
|
-
return (h("host", { key: '
|
|
1619
|
+
return (h("host", { key: '9d393d47dde31817178d398dacf0be9d1961f487' }, h("div", { key: '2109c18f3cf9ebb5769291ee88dc733e2b96759f', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'f9259ac0832ea3041a517ee3dd8dccb41a3bd903', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'f49098ca0e3f911669c610a310dbf331922e9b8a', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '739397b8f7389cfab453d435868b20be49871d6d', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '92bd0f40b758f394ca3c1604ba207653e2263bac', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'a2b42e0c18c9192a3ff33f61ca21e50355655ed4', 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 => {
|
|
1604
1620
|
this.wrapper = el;
|
|
1605
1621
|
} }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
|
|
1606
1622
|
: 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));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
|
|
6
6
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
|
|
7
7
|
|
|
@@ -232,7 +232,7 @@ const SallaCountDown = class {
|
|
|
232
232
|
return this.renderCountDown();
|
|
233
233
|
}
|
|
234
234
|
render() {
|
|
235
|
-
return (h(Host, { key: '
|
|
235
|
+
return (h(Host, { key: 'b9b5d0e038afdf2dd88da15eb711752d2a9a45af', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
SallaCountDown.style = sallaCountDownCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { C as CameraIcon } from './camera-C6jIkM-X.js';
|
|
6
6
|
import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const DEBUG_KEY = 'salla-delivery-promise-debug';
|
|
7
7
|
function log(message, data) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -169,12 +169,12 @@ const SallaFiltersWidget = class {
|
|
|
169
169
|
return h("span", { class: "s-filters-option-name" }, label);
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'a3377234cae7a9565f403d859e60ee71cb9b9e00', class: "s-filters-widget-container" }, h("h3", { key: 'd797565b06c795a6b19d5fa6c93da583e291cc01', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '35e933096973744c332cfb3a0346b57f7dd28a76' }, this.option.label), h("span", { key: '2c27dacf5242da14f2cddca9f99af09bb9cb3bea', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '6f85c5af558a2b47e9779225d2fb9b99d2dd78e5', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'd6c9fe9baf08d095346d52e5e6836ca7a26dae7f', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '44ac9fc9e7488165acccbac8a7bd95a3f863dab8', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'a8350384975504985098f0b9f1ae6c086537886b', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '20acece0e29070b6f1359ab1d3f16e928d461742' }), this.option.type !== FilterOptionTypes.RANGE
|
|
173
173
|
? this.renderFilterOption(this.option)
|
|
174
174
|
: h("salla-price-range", { onChanged: (event) => {
|
|
175
175
|
this.changed.emit(event.detail);
|
|
176
176
|
}, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
|
|
177
|
-
h("a", { key: '
|
|
177
|
+
h("a", { key: 'a628397d54fc254fe36458c4bbdca0dad0a0e6ad', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
|
|
178
178
|
}
|
|
179
179
|
get host() { return getElement(this); }
|
|
180
180
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -193,7 +193,7 @@ const SallaFilters = class {
|
|
|
193
193
|
this.applyFilters();
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
|
-
return h(Host, { key: '
|
|
196
|
+
return h(Host, { key: '8fe009d0a0b52956fa634544aa414e554b77a128' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
|
|
197
197
|
this.handleOptionChange(event, option, value);
|
|
198
198
|
} })), this.filters?.length ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
|
|
199
199
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h } from './index-
|
|
4
|
+
import { r as registerInstance, h } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
@@ -554,7 +554,7 @@ const SallaGifting = class {
|
|
|
554
554
|
}
|
|
555
555
|
render() {
|
|
556
556
|
return [
|
|
557
|
-
h("div", { key: '
|
|
557
|
+
h("div", { key: '2bc4ff1b223c9b1f2e50e36c7f6e6f0448f5a51d' }, h("salla-list-tile", { key: 'b5cf74b6d00c292a1c654c695d316a0a34e70c30', class: this.generateClass() }, h("div", { key: '2e229e46039a9bbf071bc65534733c9da61545f8', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'b067244c213dd0c3c64f795f07b4c27f57c661f5' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'a8804b65526bfde36bbb82302d667bc10052ff4b', slot: "subtitle" }, h("div", { key: 'cf2ca350ab3884baa192ce1c043719eb8f9a0120' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'f68182d4324c4b56893b63e046e4298c519e449e', slot: "action" }, h("salla-button", { key: '6cf71ec0311dfe7804f4634ae1203e0ae65150be', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9b00d0c0c7a594e7e9635a79a6b4a472da73ebe3', name: "widget-btn-content" }, h("div", { key: 'a73ed9d6322c4484180f68e7c8fb7a3b4e5bdb8a', class: "s-gifting-widget-action-content" }, h("span", { key: '0ce7ec753ab1ec30269127a8426a36d55d983a6e', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'ae35a5669a30e7abb61e5d540224c2be5baae82a' }, this.sectionBtnText)))))), h("salla-modal", { key: 'dee19984ecc71f6e10c330121361359d00408448', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '10eee2481652b157c44b16d34097ffcce9325d81', slot: "loading" }, h("div", { key: '325446006a0bf5d6d480c8935912fe976ccd453d', class: "s-gifting-skeleton" }, h("div", { key: 'f256cc302b946906262450f0bb023912d034aa13', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '75bf0e81841a4c41e4105f19bd3e4fbf67ece325', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '64661720e2f94f6d8b86087d3a03538a1a419202', class: "s-gifting-modal-title" }, h("div", { key: 'd5000d6903f5a7b61beb6a0a88291953e1344ba3', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '07efd33b877468df617bab4cd2f1b73e73f2d284', height: '15px', width: '150px' })))), h("div", { key: '6fb9d9abf7e211a6ecc45ee50283d37d1755b220', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'ed76848f4c017334dea4f12c07ec6556646c397f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'cfe3e107536dac9e5b1524770eb6990ab3b6460b', height: '230px' }), h("salla-skeleton", { key: 'a35af25d98f5758bf442759841536fed09f6cdd2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '6950704fb24a07807542723f2752b6a734090d42', height: '30px' }), h("salla-skeleton", { key: 'bd65f98a07ee8d041434b9b475ce4c355318f586', height: '40px' })))), h("slot", { key: 'e946b5c7a4146d0118d321d860d332d17c3f931e', name: "header" }), !!this.hasError ?
|
|
558
558
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
|
|
559
559
|
:
|
|
560
560
|
[
|
|
@@ -574,7 +574,7 @@ const SallaGifting = class {
|
|
|
574
574
|
h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
|
|
575
575
|
h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
576
576
|
h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: arrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
|
|
577
|
-
], h("slot", { key: '
|
|
577
|
+
], h("slot", { key: '579cbbcc59818051def887c38e4d0eed6e690737', name: "footer" })))
|
|
578
578
|
];
|
|
579
579
|
}
|
|
580
580
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const SallaHook = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -15,7 +15,7 @@ const SallaHook = class {
|
|
|
15
15
|
this.host.before(element);
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return h(Host, { key: '
|
|
18
|
+
return h(Host, { key: '499483c55f2e1122d80768cd43e47f8e127a62b4' });
|
|
19
19
|
}
|
|
20
20
|
async componentDidLoad() {
|
|
21
21
|
// Register this component for hooks system, already on it logic to run componentDidLoad trigger
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
6
6
|
import './anime.es-CgtvEd63.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaListTileCss = "";
|
|
7
7
|
|
|
@@ -24,7 +24,7 @@ const SallaListTile = class {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'bb33776d01406ff1e04bbdc741312f1a17ac3b7b' }, h("a", { key: '386b417c954bf4b2bac34e40d9bae19db7f61ec3', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'cbcd8c6f92a4cbe7afbd8797c36ae6f529abed1c', class: "s-list-tile-item-icon" }, h("slot", { key: 'bff76fdb467b2491f0c3b40bd7f475eda23fa9c8', name: 'icon' })), h("div", { key: 'c80e7c032abedea8d5929d8bb36a642336724fe1', class: "s-list-tile-item-content" }, h("div", { key: '2bea0273bb4c012e0f9f7ee948b14bc9ea8afc2a', class: "s-list-tile-item-title" }, h("slot", { key: '60c872b9ec9b369ba65452abad7860b3ba6ba640', name: 'title' })), h("div", { key: 'fbb1b6e49284c74f2933f056aa16fcbc25526703', class: "s-list-tile-item-subtitle" }, h("slot", { key: '5ad1bba1b71db13d4deb594ccb0f5898f24d2f23', name: "subtitle" }))), h("div", { key: '96358bf7ed34907a799efd8c6fb2caae6ca02f43', class: "s-list-tile-item-action" }, h("slot", { key: '8d496724103f0c3959845c8f5d4e662a3095c09e', name: 'action' })))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
SallaListTile.style = sallaListTileCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const SallaLocalizationModal = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -207,7 +207,7 @@ const SallaLocalizationModal = class {
|
|
|
207
207
|
this.showTrigger
|
|
208
208
|
? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
|
|
209
209
|
: '',
|
|
210
|
-
h("salla-modal", { key: '
|
|
210
|
+
h("salla-modal", { key: '862b768f3a0f9abe079703030bb686178d418ca7', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '96ce8b449b2c96718de083df1b39bf19d18e4543', slot: 'loading' }, h("div", { key: '44ba3efdf44d8758b9824dfbee98081549aad41f', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '66c85016f14871d05eb296691962ddf0e5b8a512', width: '25%', height: '15px' }), h("div", { key: 'e3e0a9cf51572f13456f82d9b08a14a132a01657', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '4c60b249bd54e0850471967d176a789f38f95841', width: '25%', height: '15px' }), h("div", { key: '7da8613b052a1dab1b34cf54fad755f703b68e5a', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'b465504898a6861d5cce2456444cc81e7bc61376', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
211
211
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
|
|
212
212
|
h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
213
213
|
h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, F as Fragment, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { s as setTranslations } from './translations-B-Rj6b9M.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
7
|
+
import { T as TrackedPromise } from './tracked-promise-Cuxl89VM.js';
|
|
8
8
|
|
|
9
9
|
const sallaLoyaltyProgramCss = "";
|
|
10
10
|
|