@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
|
@@ -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 { i as iconCopy } from './swap-stroke-DqDX5na4.js';
|
|
6
6
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
7
7
|
|
|
@@ -84,7 +84,7 @@ const SallaOrderSummary = class {
|
|
|
84
84
|
this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("ul", { key: '
|
|
87
|
+
return (h("ul", { key: 'e63a884fdd0f46232853adf53714fa350b00c6c2', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
|
|
88
88
|
this.order_items.map((item) => (this.isDigitalCard(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, h("p", null, h("span", { innerHTML: iconCreditCard }), h("span", null, code.code)), h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, h("span", { innerHTML: this.codeCopied === code.code ? SICheck : iconCopy }), h("span", null, this.copy_text))))))) :
|
|
89
89
|
this.isDigitalProduct(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), h("ul", null, item.files.map((file) => (h("li", { class: "s-order-summary-digital-item-wrapper" }, h("div", null, h("span", { innerHTML: iconFileArchive }), h("span", null, file.name)), h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, h("span", { innerHTML: iconDownload }), h("span", null, this.download_text)))))))) : null))));
|
|
90
90
|
}
|
|
@@ -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
|
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 sallaPaymentsCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -34,12 +34,12 @@ const SallaPayments = class {
|
|
|
34
34
|
render() {
|
|
35
35
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
36
36
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'bfb363665dada7c3e5c9ca429a4174b2ed5c2ed8', class: "s-payments-list-wrap" }, h("ul", { key: '8f66db94e7e75ad5550892a319066c2101cb10fd', class: "s-payments-list" }, madeInKSA && h("li", { key: 'c570b7666e32e890966555b436d483cfe6bc888e', class: "s-payments-list-item" }, h("img", { key: '2965ba9c49df3197f6f2e0c2b8d06d999170652e', width: "100%", height: "100%", 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" ?
|
|
38
38
|
h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
39
39
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
|
|
40
40
|
h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
41
41
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
|
|
42
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '
|
|
42
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'c5d9ef3880d2620065fac5a174977899dd78ac2b', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
43
43
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
44
44
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
45
45
|
}
|
|
@@ -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
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -41,7 +41,7 @@ const SallaPlaceholder = class {
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '80c0ead7511fe00ce4fa0f92dc5ad9b3448811fa', class: this.alignmentClass() }, h("div", { key: '26e81619824a58476c66374fc79377596454969c', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '256946363be9fd8aea06f35b4ff837009a3d0b32', class: "s-placeholder-title" }, h("slot", { key: 'd519fbb70c3b3d309caa86c8740ee732fcbeeb70', name: 'title' }, h("span", { key: '6c9a6d8d7c8581944554884541c80884435fb217' }, salla.lang.get('common.elements.no_options')))), h("div", { key: '1cd09e170e1d7f44ec251522ab3bcf1d71eaff02', class: "s-placeholder-description" }, h("slot", { key: '5e38a5794f5b655131cba0a4c590ca7509ffae51', name: 'description' }, h("span", { key: 'b7c9abd6f44092a804177067e7456b7d6468d4df' }, salla.lang.get('common.errors.empty_results'))))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SallaPlaceholder.style = sallaPlaceholderCss;
|
|
@@ -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 } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-lMbG1CIQ.js';
|
|
5
5
|
import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
|
|
6
6
|
|
|
7
7
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -157,9 +157,9 @@ const SallaPriceRange = class {
|
|
|
157
157
|
this.maxPrice = value === undefined ? '' : value;
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'b3292086c1beb0d5df51712839daabb25dad2658' }, this.filterValues.map((filterValue, index) => {
|
|
161
161
|
return h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index}`, key: index }, h("input", { id: `${this.option.key}-${index}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), h("span", { innerHTML: this.getPriceLabel(filterValue) }));
|
|
162
|
-
}), h("div", { key: '
|
|
162
|
+
}), h("div", { key: 'd987fea90281b884a1db631f0f3f90a53353ce65', class: "flex justify-center items-center" }, h("div", { key: '17aec2dff1433bae4f8d06679a86af7d41019a7d', class: "relative max-w-xl w-full" }, h("div", { key: 'fad234797e87821b0df33a5275a3c4bd3ea75fa9', class: "s-price-range-inputs" }, h("div", { key: '7099b01a40271f0757149260a560d038763b0322', class: "s-price-range-relative" }, h("div", { key: '44178266832f05eaf0ca33aa0a2f6436da846100', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '70cda3b471c177958870527a4f0008cf951a381a', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: 'be3f732538589997f52d2340c72b16e419406666', class: "s-price-range-gray-text" }, " -"), h("div", { key: '5de9d9ba6e5925da36c3483b82167894e49b0088', class: "s-price-range-relative" }, h("div", { key: '903371ebc01237214fc143447789dd8011f86045', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '88dbf3b5930adb70fc16fc2a95d471185fcf760a', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: '8b10d455ca665e4a0df80fa3a6c05b3501e769f4', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '8935d722de14843a1efaa4b784e5aa487e80be77', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
|
|
163
163
|
}
|
|
164
164
|
componentDidLoad() {
|
|
165
165
|
this.isReady = true;
|
|
@@ -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 { S as Star } from './star2-D4oPi1Ov.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -114,14 +114,14 @@ const SallaProductCard = class {
|
|
|
114
114
|
's-product-card-out-of-stock': this.productData?.is_out_of_stock,
|
|
115
115
|
};
|
|
116
116
|
const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: '07e7e2bfac3f3e744e288088af63451aaaccb9dd', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '950d7c19363a90dfd44ba12469b7e59c7726f73a', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: '5df4385b43eebb43b54561f3cdca3d21ad21e110', ...hrefProp }, h("img", { key: 'be40dfaabea59a468537fa13438d0df11d7d4d32', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
|
|
118
118
|
? 'contain'
|
|
119
119
|
: this.fitImageHeight
|
|
120
120
|
? this.fitImageHeight
|
|
121
|
-
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '
|
|
122
|
-
h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '
|
|
121
|
+
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '405858af6e56aa685fdb5d869bdf3ce521d4dd0e', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
|
|
122
|
+
h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '82198e012d297a558557780355ffd16ce7241fa4', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
|
|
123
123
|
h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
|
|
124
|
-
: '', h("div", { key: '
|
|
124
|
+
: '', h("div", { key: 'cfc073356d10f50e94f8047241188625952e3157', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '8a49535a746e2608bb6d54224765ee876c9b43a6', class: "s-product-card-content-title" }, h("a", { key: '29567b47dccb5a41a916538a60d7caef1d60f59b', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
|
|
125
125
|
h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
|
|
126
126
|
: ''), this.productData?.donation && !this.minimal && !this.fullImage ?
|
|
127
127
|
[h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
|
|
@@ -130,7 +130,7 @@ const SallaProductCard = class {
|
|
|
130
130
|
this.addBtn.donatingAmount = e.target.value;
|
|
131
131
|
}, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
|
|
132
132
|
: '')]
|
|
133
|
-
: '', h("div", { key: '
|
|
133
|
+
: '', h("div", { key: 'c530bac8ba02e48672deb29819e487c3eaf1c2b6', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
|
|
134
134
|
h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))
|
|
135
135
|
: ''), this.isSpecial && this.productData.discount_ends
|
|
136
136
|
? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
|
|
@@ -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
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
7
7
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -51,11 +51,11 @@ const SallaProductSizeGuide = class {
|
|
|
51
51
|
return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("salla-modal", { key: '
|
|
54
|
+
return (h("salla-modal", { key: 'df2e5102905d69bd07e1faf02330c3453676282a', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '6a97d6b0f35ba6d90772c72c4ed20d520c97b98d', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: 'babf929a6c385e2314338a1b50ef71de3fb8c8ba', slot: "loading" }, h("div", { key: '95818d8be3112f32f78d180dda347596167fd2b6', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: '1bf1b7c5b5393b89d593b0a9e071ba9f8d158fbb', height: '15px', width: '25%' }), h("div", { key: 'bf4112773abdc284154ee6843b7eef4d1d94bdcc', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: 'dbbcc175879ed02058af3c998ec4b7aeefe25d60', height: '40px' }), h("salla-skeleton", { key: '0507d63b57bd4d6cae40f1b21d7e85c75c59e8ae', height: '40px' }), h("salla-skeleton", { key: '386c3d4e83233f953a41aea5092fc480bf7f2237', height: '40px' }), h("salla-skeleton", { key: 'bb5c6f5ac3bb1d1f64d353865bb70c410568d20e', height: '40px' })), h("div", { key: 'c9e0886006385022900d632349f93d531ff72ba8', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '588a847c1665a8f8808b91748028ab14ed40c54a', height: '15px', width: '25%' }), h("salla-skeleton", { key: '7ad4c78d9a968c26544847db18469e38ff61c32f', height: '10px', width: '75%' }), h("salla-skeleton", { key: 'cac7a94e1dcb21eeb721a535cb9ef3e1396d3f5b', height: '10px', width: '50%' }), h("salla-skeleton", { key: 'e753cfe0187d178e3640b4567fb5bf2107e52abe', height: '10px', width: '75%' }), h("salla-skeleton", { key: '8d4ade1d66244b5e1280f849b100ccd88edd8a8f', height: '10px', width: '100%' }), h("salla-skeleton", { key: '7ad153aecd33bbb345e03c54708878ea6803a93c', height: '10px', width: '25%' }), h("salla-skeleton", { key: 'f61c9db0c8ce1faf66ee4a40c4cba3bb8a51f131', height: '10px', width: '60%' }), h("salla-skeleton", { key: '1ab1002b8c35569eac30f58682834733e0948e7a', height: '10px', width: '45%' }), h("salla-skeleton", { key: 'a00cb2b88a9dfba2f8caa5b2e4ebf1fa82f969b4', height: '10px', width: '30%' })))), h("slot", { key: 'd4f0a35976d27416b60bc3d1e6959df8139359d5', name: "header" }), !this.hasError && !!this.guides ?
|
|
55
55
|
[
|
|
56
56
|
h("salla-tabs", null, this.guides.map((guide) => h("salla-tab-header", { slot: "header", name: guide.name }, h("span", null, guide.name))), this.guides.map((guide) => h("salla-tab-content", { slot: "content", name: guide.name }, h("div", { innerHTML: guide.description }))))
|
|
57
57
|
]
|
|
58
|
-
: this.showPlaceholder(), h("slot", { key: '
|
|
58
|
+
: this.showPlaceholder(), h("slot", { key: '63d8114c56ae8ede12322792df6cb60f9111f928', name: "footer" })));
|
|
59
59
|
}
|
|
60
60
|
get host() { return getElement(this); }
|
|
61
61
|
};
|
|
@@ -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 { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
|
|
7
7
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
@@ -479,7 +479,8 @@ const SallaProductsList = class {
|
|
|
479
479
|
});
|
|
480
480
|
// Manual scroll listener
|
|
481
481
|
shouldApplyManualLoad && window.addEventListener('scroll', this.boundHandleScroll);
|
|
482
|
-
|
|
482
|
+
// infinite-scroll v4: (parsedBody, requestPath, fetchResponse)
|
|
483
|
+
this.infiniteScroll?.on('load', async (response, path, httpResponse) => {
|
|
483
484
|
if (this.isProcessing)
|
|
484
485
|
return;
|
|
485
486
|
this.isProcessing = true;
|
|
@@ -505,13 +506,43 @@ const SallaProductsList = class {
|
|
|
505
506
|
}
|
|
506
507
|
catch (error) {
|
|
507
508
|
console.error('Error during load:', error);
|
|
509
|
+
try {
|
|
510
|
+
const res = httpResponse;
|
|
511
|
+
salla.analytics?.log('salla::products.list.fetch.error', {
|
|
512
|
+
source: this.getSource(),
|
|
513
|
+
nextPage: this.nextPage,
|
|
514
|
+
pageIndex: this.infiniteScroll?.pageIndex,
|
|
515
|
+
fetchPath: typeof path === 'string' ? path : undefined,
|
|
516
|
+
httpStatus: res?.status,
|
|
517
|
+
httpStatusText: res?.statusText,
|
|
518
|
+
responseUrl: res?.url,
|
|
519
|
+
itemsLength: Array.isArray(response?.data) ? response.data.length : undefined,
|
|
520
|
+
responseKeys: response && typeof response === 'object' ? Object.keys(response).slice(0, 30) : undefined,
|
|
521
|
+
errorMessage: error instanceof Error ? error.message : String(error),
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
catch { /* analytics */ }
|
|
508
525
|
}
|
|
509
526
|
finally {
|
|
510
527
|
this.isProcessing = false;
|
|
511
528
|
}
|
|
512
529
|
});
|
|
513
|
-
this.infiniteScroll?.on('error', () => {
|
|
530
|
+
this.infiniteScroll?.on('error', (error, path, httpResponse) => {
|
|
514
531
|
console.log('Error occurred during request');
|
|
532
|
+
try {
|
|
533
|
+
const res = httpResponse;
|
|
534
|
+
salla.analytics?.log('salla::products.list.fetch.error', {
|
|
535
|
+
source: this.getSource(),
|
|
536
|
+
nextPage: this.nextPage,
|
|
537
|
+
pageIndex: this.infiniteScroll?.pageIndex,
|
|
538
|
+
fetchPath: path,
|
|
539
|
+
httpStatus: res?.status,
|
|
540
|
+
httpStatusText: res?.statusText,
|
|
541
|
+
responseUrl: res?.url,
|
|
542
|
+
errorMessage: error instanceof Error ? error.message : String(error),
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
catch { /* analytics */ }
|
|
515
546
|
this.status.querySelector('.s-infinite-scroll-error').classList.remove('s-hidden');
|
|
516
547
|
this.placeholderLoader && this.placeholderLoader.remove();
|
|
517
548
|
this.loading(false);
|
|
@@ -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 { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
|
|
6
6
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
7
7
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
@@ -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 WishListIcon } from './star-ZT7ehBBk.js';
|
|
6
6
|
import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
|
|
7
7
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
5
|
-
import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-lMbG1CIQ.js';
|
|
5
|
+
import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-DEq2D5r8.js';
|
|
6
6
|
import { S as SIGift } from './gift-CXRKXFgT.js';
|
|
7
7
|
import { S as SITag } from './tag-cgSL_BIo.js';
|
|
8
8
|
import { S as SICheck } from './check-BZp0rKEO.js';
|
|
9
9
|
import { S as SICancel } from './cancel-8Tsmrwno.js';
|
|
10
|
-
import { T as TrackedPromise } from './tracked-promise-
|
|
10
|
+
import { T as TrackedPromise } from './tracked-promise-Cuxl89VM.js';
|
|
11
11
|
|
|
12
12
|
const sallaLoyaltyProgramCss$3 = "";
|
|
13
13
|
|
|
@@ -30,7 +30,7 @@ const SallaRewardAction = class {
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '95d6e753d49c7cb69e6f5e25ef6ccf3f916f4022', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
|
|
34
34
|
's-loyalty-program-rewards-action-base': true,
|
|
35
35
|
's-loyalty-program-rewards-action-on': true,
|
|
36
36
|
} }, salla.lang.get('pages.loyalty_program.shop_now'))) : (h("button", { onClick: this.handleClick, class: {
|
|
@@ -50,7 +50,7 @@ const SallaRewardCard = class {
|
|
|
50
50
|
this.actionClick = createEvent(this, "actionClick");
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '900a20618e1b3ce82778aa99715baf61689f3eee', class: "s-loyalty-program-reward-host" }, h("div", { key: '95b326008c2799ee7d38b48bc57e0860a9386184', class: "s-loyalty-program-reward-container" }, h("div", { key: 'd846dc36fa4494ed9ac6152a982f18598936969f', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: 'b8d23796827e4b07f6c271c50fa0e4aeb59f82fc', class: "s-loyalty-program-reward-img" }, h("img", { key: '04a52401941d8a731e8d310397b1ad735bfe44db', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '64fa967c98d615d7b16859c9d14b60e0c53fc5aa', class: "s-loyalty-program-reward-content" }, h("div", { key: 'bb8c34ce8f3bcec9599c87b56bea6abd793187df', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'f7d0a396cf754d1e8f9e8fddee53a7d545311148', size: "xs" }, h("span", { key: '36f4e1ed873f1a231e2d5e51a2a8cc36bdcedfee', innerHTML: SIGift }), h("span", { key: '638b3ecefbfcb424869987ab33478e67d9b5d9b8', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '6f8386fccf201836d76a86e7fe5e6d3461bb5540', class: "s-loyalty-program-reward-title" }, h("span", { key: '6d6692c44d6bac35da40108514471a3c56884d81' }, this.prize.group_title)), h("div", { key: '6ad9ad90728ac7f882ff8db9cfadb5a6e12f3e25', class: "s-loyalty-program-reward-name" }, h("div", { key: 'ef4344c7cb67785a4cd66d36e303e40a610a5375', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '5eee5a4f8b10cd790ce41e4a99d94f86bd26dd3b', class: "p-4" }, h("slot", { key: '359d50033cdd3cce41901401bf0b75ba9c5aea1f', name: "action" }, h("button", { key: 'ea7aa1c5cd50937a27cef7580e508a1e3f8f852d', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
SallaRewardCard.style = sallaLoyaltyProgramCss$2;
|
|
@@ -164,11 +164,11 @@ const SallaRewardDetails = class {
|
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
166
|
const termsAndConditions = this.getTermsAndConditions();
|
|
167
|
-
return (h("div", { key: '
|
|
167
|
+
return (h("div", { key: '280d646eff094c16596ca31ee57f4bd104958f8c', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'a39d376f170684f754c4357dc64d02b5ffbb1ed2', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '654e061c8852461a5248248ed2d95ef02a8a4711', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
|
|
168
168
|
: h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
|
|
169
169
|
'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
|
|
170
170
|
'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
|
|
171
|
-
} })), this.prize.name)), h("div", { key: '
|
|
171
|
+
} })), this.prize.name)), h("div", { key: '8dce07ce81b0d6879efc0cba88523b6d3daf42bb', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'f288d7483911af0bbc17a824ee4397ad0b3ef367', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '87686174a3a8c17558d0a97180cb4756a1edbefe', class: "s-loyalty-program-aspect-container" }, h("img", { key: '31461e1503c50715f160e75cf7ffad59939fb93c', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'ed1fc08260885fa865279a9d2fc6af35c01e2bdc', size: "sm", bg: "light" }, h("span", { key: '26eec953f9c5f3fa5aa118828faec50a4477e013', innerHTML: SIGift }), h("span", { key: 'db3bf908be0f28534e121da9e692d801d2ee6cf9', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'bfdc4d22117ae86f3bb2140546b4b5a8ecd35f8e', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: 'f03b30c0372fd83e4fa7815bbd76d307c6fbe3c1', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '245acd0b8438230ff5d503e5819abb581f0ba14a', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
|
|
172
172
|
h("salla-tab-header", { slot: "header", name: "included", style: {
|
|
173
173
|
display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
|
|
174
174
|
} }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICheck }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
|
|
@@ -178,7 +178,7 @@ const SallaRewardDetails = class {
|
|
|
178
178
|
display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
|
|
179
179
|
} }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
|
|
180
180
|
h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
|
|
181
|
-
]))), h("salla-reward-action", { key: '
|
|
181
|
+
]))), h("salla-reward-action", { key: 'e129546afde7da7fe66e250ce4de67d4523727be', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"prize": ["handlePrizeChange"]
|
|
@@ -232,11 +232,11 @@ const SallaRewardExchange = class {
|
|
|
232
232
|
this.reset(0);
|
|
233
233
|
}
|
|
234
234
|
render() {
|
|
235
|
-
return (h(Host, { key: '
|
|
235
|
+
return (h(Host, { key: '9f9e5833308a37e4fdf6b6032e42b094544a66ee' }, h("div", { key: 'a85b810c09dc44de7ed8d6889ae00c488f49bf2e', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '50fc0bca341e0650a8fe0fdeb5d93353ea331643', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '978449d432fe380771a43dc9f99c69065889af43', innerHTML: SIGift })), h("h2", { key: 'bc271df18a64c7931cc4741f1202485f4ac158f9' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '1d6fe9a9bbedd1701a7a792e0d3641d0fe549434' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: 'a9b451ca79b31bb6446d65ce74162636ab18d9a0' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '0ce60c117ab20043bd813f4a71f152a5e680fea5' }, "(", this.prize.name, ")"))), h("div", { key: '903aed1d96b6fb7ca76eebde9fdca90cbeae7d40', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'ce35e626628d93b949d29d5500bff5c69b9ef917', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: 'cd65c0ffc2ded6b3be8762c6a978be62247d751c', style: {
|
|
236
236
|
opacity: this.exchange.status !== 'pending' ? '1' : '0',
|
|
237
|
-
} }, salla.lang.get('common.elements.confirm')), h("span", { key: '
|
|
237
|
+
} }, salla.lang.get('common.elements.confirm')), h("span", { key: '7cf2af5515142b582b80ec4ad692f7d6e3475142', class: "s-loyalty-program-exchange-loading", style: {
|
|
238
238
|
opacity: this.exchange.status === 'pending' ? '1' : '0',
|
|
239
|
-
} }, h("salla-loading", { key: '
|
|
239
|
+
} }, h("salla-loading", { key: 'd75aaa299b326ab9b15f9e77c122d3fca090273a', color: "primary", size: 24 }))), h("button", { key: 'beadc051a5a75d34ea7a906c0ce97124bfa02596', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
__decorate([
|
|
@@ -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
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
|
|
7
7
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -158,7 +158,7 @@ const SallaScopees = class {
|
|
|
158
158
|
return salla.onReady();
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '3b477eba55e3d9b8067b5b2e889a66a038cdfeaa' }, h("salla-modal", { key: '82aefd868b472b3f2265140845ab40eb8a2afa72', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
|
|
162
162
|
h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' }))))
|
|
163
163
|
:
|
|
164
164
|
[h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
|
|
@@ -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
|
import { S as Search } from './search-BscTeWDc.js';
|
|
6
6
|
import { H as Helper } from './Helper-DFMXF2_h.js';
|
|
7
7
|
import './anime.es-CgtvEd63.js';
|
|
@@ -129,10 +129,10 @@ const SallaSearch = class {
|
|
|
129
129
|
this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
const searchContent = (h("div", { key: '
|
|
132
|
+
const searchContent = (h("div", { key: '9ed37ceb9eb7ef3468b69b0f9efaecdbc071f52a', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: 'bc83f0c8cc26d23c4b26b98438666c1053300ae9', class: "s-search-input-wrapper" }, h("span", { key: '5d5537a2cd6b4deadaf6451f0f301ee609ec07b6', class: "s-search-icon-wrap" }, h("span", { key: '36151c40fe3c6e48d028980c405592947d762bcc', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '3b488e2282d93b2df22309434753ce94f4ab9b8b', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
|
|
133
133
|
height: this.height + 'px',
|
|
134
134
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
135
|
-
} }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: '
|
|
135
|
+
} }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: 'e5310efe972f797f6b0be3cd283c531799852380', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
|
|
136
136
|
's-search-product': true,
|
|
137
137
|
's-search-product-not-available': !product.is_available,
|
|
138
138
|
}, innerHTML: this.productSlot
|
|
@@ -141,9 +141,9 @@ const SallaSearch = class {
|
|
|
141
141
|
.replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
|
|
142
142
|
? salla.money(product.regular_price)
|
|
143
143
|
: '')
|
|
144
|
-
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: '
|
|
145
|
-
const modalContent = (h("salla-modal", { key: '
|
|
146
|
-
const placeholderContent = (h("div", { key: '
|
|
144
|
+
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: 'b3ca75a3641d75a445e9b187dd7f91d0f3a053e1', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
|
|
145
|
+
const modalContent = (h("salla-modal", { key: '1bdb2348d3af824ba5b6d624f9613ed406145e5b', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
|
|
146
|
+
const placeholderContent = (h("div", { key: '90a4dd34c763e9390c8cc5caf09b0f8af67a671a', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '2baf596e2163e42c6b1537b23297d791f76dd382', class: "s-search-input-wrapper" }, h("span", { key: '3048a62a758cb3b5a61a50f7c7e4af1fb6f013b1', class: "s-search-icon-wrap" }, h("span", { key: '3b0336f934d449c189e01c5c9072915781779280', class: "s-search-icon", innerHTML: Search })), h("button", { key: '991d1ff811b93c2700e6526efbc2948117e58669', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
|
|
147
147
|
height: this.height + 'px',
|
|
148
148
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
149
149
|
} }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
|
|
@@ -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 sallaSkeletonCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -26,7 +26,7 @@ const SallaSkeleton = class {
|
|
|
26
26
|
's-skeleton-item': true,
|
|
27
27
|
's-skeleton-item-circular': this.type == 'circle',
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'f645a6a85c27f28f0f4753a21f0a635bd29b1066', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '7146a8905fd164c30ed54729e6e1d7a23b1df94e', class: classes }, "\u00A0")));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
SallaSkeleton.style = sallaSkeletonCss;
|
|
@@ -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 { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -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
|
import { a as anime } from './anime.es-CgtvEd63.js';
|
|
6
6
|
import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
7
7
|
import { S as SIMail } from './mail-DLNIOD9t.js';
|
|
@@ -148,7 +148,7 @@ const SallaSocialShare = class {
|
|
|
148
148
|
window.a2a?.init('page');
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h("div", { key: '
|
|
151
|
+
return (h("div", { key: '52c1d99308e8512060d0b28bfe9e8bbe6d9e421d', class: "s-social-share-wrapper" }, h("slot", { key: '9086cdb5e2a3f1544e8711c8c9c7b166fa81cb75', name: 'widget' }, h("salla-button", { key: 'b32d67924c0fd2d75bc01d026a81cc4eea06a53e', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'a18db03d476a004e779ad1b7696678dc871b4c2b', innerHTML: this.opened ? SICancel : ShareAlt }))), h("ul", { key: '133254b1c2a797fca7b8e0af40f397d8e8e7651f', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
|
|
152
152
|
return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
|
|
153
153
|
if (icon.name === platform) {
|
|
154
154
|
return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
|
|
@@ -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 { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
|
|
6
6
|
|
|
7
7
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -55,7 +55,7 @@ const SallaSocial = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const linksArray = this.getLinksArray();
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'b3377f6f933a69e9b9b8d633b6825d0f7fa1f6b0' }, h("ul", { key: 'ee82940597a4a18a721415c9c192adedbcd2c67d', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
59
59
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
60
60
|
.replace(/\{type\}/g, link.type)
|
|
61
61
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, c as createEvent, a as getElement } from './index-lMbG1CIQ.js';
|
|
5
5
|
|
|
6
6
|
const sallaTabContentCss = "";
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ const SallaTabContent = class {
|
|
|
31
31
|
's-tabs-content': true,
|
|
32
32
|
's-tabs-content-selected': this.isSelected
|
|
33
33
|
};
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '7e434cb1ef165f74434be7a81332ac03b75b7fbf', class: classes }, h("slot", { key: 'cf6f81543421fddcd25ae6a4110101e749065e58' })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
SallaTabContent.style = sallaTabContentCss;
|
|
@@ -90,7 +90,7 @@ const SallaTabHeader = class {
|
|
|
90
90
|
's-tabs-active': this.isSelected,
|
|
91
91
|
};
|
|
92
92
|
return [
|
|
93
|
-
h("div", { key: '
|
|
93
|
+
h("div", { key: '83a46a1c9b08bbbfeae3db10a482a50930645e26', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '14f194bf5d1152f4fb0976a5784e00fda3504f5e' })),
|
|
94
94
|
];
|
|
95
95
|
}
|
|
96
96
|
};
|
|
@@ -143,7 +143,7 @@ const SallaTabs = class {
|
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
145
|
return [
|
|
146
|
-
h("div", { key: '
|
|
146
|
+
h("div", { key: '5584079da6ec0297e1b5b0696b951d9a1e59737a', class: "s-tabs" }, h("div", { key: '7ccbf64b3dd3b8a0cc26dbac085b0a6b4fdd674b', class: "s-tabs-header" }, h("slot", { key: 'aad3107a146bb0ee7130b17ebb622fdb5cf6b1e7', name: "header" })), h("div", { key: '4f6a38f41b7788162549123fed9c8a256e3f7c94', class: "s-tabs-content-wrapper" }, h("slot", { key: '51cb020f8f95c76959c3b3f730d8763419570b43', name: "content" })))
|
|
147
147
|
];
|
|
148
148
|
}
|
|
149
149
|
get host() { return getElement(this); }
|