@salla.sa/twilight-components 2.14.498 → 2.14.500
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-B7XPTm4d.js → filepond-B9PtMjXt.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-C5WAs5Sq.js → filepond-plugin-file-poster-CMd-UUZx.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CpzjvZP9.js → filepond-plugin-file-validate-size-DpJalosf.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CQjym5yh.js → filepond-plugin-file-validate-type-CZjeYI0w.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-JvWrX8H9.js → filepond-plugin-image-edit-Bl6fwgrn.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CaFH4vic.js → filepond-plugin-image-exif-orientation-BeQ8iCyg.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CpD30vUg.js → filepond-plugin-image-preview-BkGKXzOB.js} +1 -1
- package/dist/cjs/{functions-BUcHv9GL.js → functions-UaOjMOb2.js} +1 -1
- package/dist/cjs/{index-Dqo2RTwY.js → index-CQPk27Eg.js} +1 -1
- package/dist/cjs/{index-CxOIGeOr.js → index-Cd5xdrCT.js} +2 -2
- 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 +17 -17
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +210 -31
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +5 -5
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down_2.cjs.entry.js +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-exchange-product-card_5.cjs.entry.js +10 -10
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -9
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
- 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_2.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-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +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-embed.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +2 -2
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
- package/dist/cjs/{tracked-promise-COd7urY7.js → tracked-promise-DwUVHl1m.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-v4qaVnjr.js → vanilla-picker-BTiOI13l.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.css +63 -0
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +211 -30
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
- package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
- 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-history/salla-loyalty-points-history.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-exchange-product-card.js +2 -2
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
- 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 +1 -1
- 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-card-embed/salla-product-card-embed.js +1 -1
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -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-review-factors-tags/salla-review-factors-tags.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-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.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-coupons.js +211 -30
- package/dist/components/salla-cart-summary.js +1 -1
- package/dist/components/salla-color-picker2.js +1 -1
- package/dist/components/salla-comment-form2.js +1 -1
- 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-exchange-product-card2.js +2 -2
- package/dist/components/salla-loyalty-hero2.js +3 -3
- package/dist/components/salla-loyalty-point2.js +4 -4
- package/dist/components/salla-loyalty-points-history.js +1 -1
- 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-card-embed.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-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-review-factors-tags.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-card2.js +1 -1
- package/dist/components/salla-reward-details2.js +3 -3
- package/dist/components/salla-reward-exchange2.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-share2.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/salla-wishlist-actions.js +1 -1
- package/dist/esm/{filepond-Bztq2DfJ.js → filepond-DjtqIoeD.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-7n46TpPX.js → filepond-plugin-file-poster-CFxoEHLP.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CEaKKsXh.js → filepond-plugin-file-validate-size-BnBRYL0y.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-G_rhCCOz.js → filepond-plugin-file-validate-type-Dr5ofT9v.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-3fXrzMbo.js → filepond-plugin-image-edit-DyMeCzTZ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BXr__tdF.js → filepond-plugin-image-exif-orientation-ngtve06j.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-Deyf31fO.js → filepond-plugin-image-preview-aqxBqAYf.js} +1 -1
- package/dist/esm/{functions-BvcgTy23.js → functions-Drikk4uf.js} +1 -1
- package/dist/esm/{index-CtDVz2Sf.js → index-CaZkz-p0.js} +1 -1
- package/dist/esm/{index-DD7hlkaJ.js → index-DuoSRdS5.js} +2 -2
- 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 +17 -17
- package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
- package/dist/esm/salla-cart-coupons.entry.js +210 -31
- package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +5 -5
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down_2.entry.js +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-exchange-product-card_5.entry.js +10 -10
- package/dist/esm/salla-loyalty-hero_2.entry.js +9 -9
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
- 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_2.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-branch.entry.js +1 -1
- package/dist/esm/salla-order-cancel.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +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-embed.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-review-factors-tags.entry.js +2 -2
- package/dist/esm/salla-scopes.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +2 -2
- package/dist/esm/{tracked-promise-B5nZ0_u3.js → tracked-promise-CUM6cNiF.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DrhPsPVG.js → vanilla-picker-kF8Cgi5q.js} +1 -1
- package/dist/twilight/{p-4f9905a1.entry.js → p-00d73870.entry.js} +1 -1
- package/dist/twilight/{p-ab56087a.entry.js → p-01636f53.entry.js} +1 -1
- package/dist/twilight/{p-ed745cc5.entry.js → p-022343f3.entry.js} +1 -1
- package/dist/twilight/{p-97a7ab54.entry.js → p-03db477f.entry.js} +1 -1
- package/dist/twilight/{p-789a33ab.entry.js → p-04fadfb3.entry.js} +1 -1
- package/dist/twilight/{p-7935b94f.entry.js → p-0604eb27.entry.js} +1 -1
- package/dist/twilight/{p-d5730ccd.entry.js → p-061fdc55.entry.js} +1 -1
- package/dist/twilight/{p-f63f2040.entry.js → p-0a1f28c9.entry.js} +1 -1
- package/dist/twilight/{p-3a51e372.entry.js → p-0b814320.entry.js} +1 -1
- package/dist/twilight/{p-044967a1.entry.js → p-0bc04e3f.entry.js} +1 -1
- package/dist/twilight/{p-bb1aff39.entry.js → p-0c1721e1.entry.js} +1 -1
- package/dist/twilight/p-0daa8221.entry.js +4 -0
- package/dist/twilight/{p-3240f2c3.entry.js → p-0e6a0989.entry.js} +2 -2
- package/dist/twilight/{p-da6a525a.entry.js → p-15c3b0cc.entry.js} +1 -1
- package/dist/twilight/{p-20141d72.entry.js → p-168e3ad8.entry.js} +1 -1
- package/dist/twilight/{p-c996ee08.entry.js → p-19c6d83a.entry.js} +1 -1
- package/dist/twilight/{p-6fb9221a.entry.js → p-1d75fdd9.entry.js} +1 -1
- package/dist/twilight/{p-07fa35ce.entry.js → p-2104f800.entry.js} +1 -1
- package/dist/twilight/{p-c6-stRrD.js → p-25ZR4Fc8.js} +1 -1
- package/dist/twilight/p-286d9ba3.entry.js +4 -0
- package/dist/twilight/p-2985e01e.entry.js +4 -0
- package/dist/twilight/{p-c3639051.entry.js → p-2c4f4539.entry.js} +1 -1
- package/dist/twilight/{p-0597f278.entry.js → p-2c9c0815.entry.js} +1 -1
- package/dist/twilight/{p-e5b1f92d.entry.js → p-39389b31.entry.js} +1 -1
- package/dist/twilight/{p-b344db5c.entry.js → p-3c96d5af.entry.js} +1 -1
- package/dist/twilight/{p-bec932de.entry.js → p-404d3645.entry.js} +1 -1
- package/dist/twilight/{p-8ab2b78f.entry.js → p-47c9e882.entry.js} +1 -1
- package/dist/twilight/{p-f28da331.entry.js → p-4fb48be8.entry.js} +1 -1
- package/dist/twilight/{p-5e58c1d1.entry.js → p-4fff03a8.entry.js} +1 -1
- package/dist/twilight/{p-5d72e09d.entry.js → p-51bc9c4d.entry.js} +1 -1
- package/dist/twilight/{p-57856a68.entry.js → p-54e43314.entry.js} +1 -1
- package/dist/twilight/{p-9965cc1b.entry.js → p-56ba7f94.entry.js} +1 -1
- package/dist/twilight/{p-861bf5a5.entry.js → p-5a215130.entry.js} +1 -1
- package/dist/twilight/{p-eca28f29.entry.js → p-5cb10852.entry.js} +1 -1
- package/dist/twilight/{p-031fe0b8.entry.js → p-5f47eb12.entry.js} +1 -1
- package/dist/twilight/{p-ed713905.entry.js → p-5fe29fcf.entry.js} +1 -1
- package/dist/twilight/p-67d7bd8b.entry.js +4 -0
- package/dist/twilight/{p-8edc1c0d.entry.js → p-6e535738.entry.js} +1 -1
- package/dist/twilight/{p-da132465.entry.js → p-72291ad7.entry.js} +1 -1
- package/dist/twilight/{p-558d69d0.entry.js → p-72c9cd44.entry.js} +1 -1
- package/dist/twilight/{p-6e2214d1.entry.js → p-74cac8a8.entry.js} +1 -1
- package/dist/twilight/{p-a306ae65.entry.js → p-74e009df.entry.js} +1 -1
- package/dist/twilight/{p-492fd499.entry.js → p-77d816b8.entry.js} +1 -1
- package/dist/twilight/{p-8e987fe7.entry.js → p-7b9ed1e4.entry.js} +1 -1
- package/dist/twilight/{p-6dbbe6cb.entry.js → p-7df52f7b.entry.js} +1 -1
- package/dist/twilight/{p-ffc6f929.entry.js → p-7e730733.entry.js} +1 -1
- package/dist/twilight/{p-20b4cc9c.entry.js → p-8658fefd.entry.js} +1 -1
- package/dist/twilight/{p-1bbe31ad.entry.js → p-90d53c9b.entry.js} +1 -1
- package/dist/twilight/{p-3128bebd.entry.js → p-9196b7a9.entry.js} +1 -1
- package/dist/twilight/{p-aa5a77fa.entry.js → p-92d37b3e.entry.js} +1 -1
- package/dist/twilight/{p-0e95d192.entry.js → p-92ec265b.entry.js} +1 -1
- package/dist/twilight/{p-377b941b.entry.js → p-930ff69a.entry.js} +1 -1
- package/dist/twilight/{p-ea2d6310.entry.js → p-931c44fb.entry.js} +1 -1
- package/dist/twilight/{p-6b600ab2.entry.js → p-953da0b5.entry.js} +1 -1
- package/dist/twilight/{p-f3a4c8c3.entry.js → p-95d8a11b.entry.js} +1 -1
- package/dist/twilight/{p-40d12093.entry.js → p-98186fb3.entry.js} +1 -1
- package/dist/twilight/{p-0a4a3298.entry.js → p-982ccb80.entry.js} +1 -1
- package/dist/twilight/{p-a9b810c4.entry.js → p-99ff235e.entry.js} +1 -1
- package/dist/twilight/{p-a1faadfd.entry.js → p-9a161a84.entry.js} +1 -1
- package/dist/twilight/{p-44ceacb7.entry.js → p-9c798a1a.entry.js} +1 -1
- package/dist/twilight/{p-016788c7.entry.js → p-9cc2e54c.entry.js} +1 -1
- package/dist/twilight/{p-a92553f2.entry.js → p-9e27778a.entry.js} +1 -1
- package/dist/twilight/{p-DWmThpkK.js → p-BYpv9A8D.js} +1 -1
- package/dist/twilight/{p-DHrUX865.js → p-CHOv1Smw.js} +1 -1
- package/dist/twilight/{p-en37lqSm.js → p-Ca84RIBI.js} +1 -1
- package/dist/twilight/{p-CfWsH_qz.js → p-DMHhYV48.js} +1 -1
- package/dist/twilight/{p-CaEa1mkI.js → p-DQXp-sN5.js} +1 -1
- package/dist/twilight/{p-Dvsk1fA0.js → p-DYcV7UW8.js} +1 -1
- package/dist/twilight/{p-BVVNfOQk.js → p-DYgnIxqR.js} +1 -1
- package/dist/twilight/{p-DD7hlkaJ.js → p-DuoSRdS5.js} +1 -1
- package/dist/twilight/{p-Caj9IqWn.js → p-KZ7SFw0C.js} +1 -1
- package/dist/twilight/{p-153044cb.entry.js → p-a1d3a45f.entry.js} +1 -1
- package/dist/twilight/{p-e2a37618.entry.js → p-a2e8a9d1.entry.js} +1 -1
- package/dist/twilight/{p-3205307f.entry.js → p-a34c031b.entry.js} +1 -1
- package/dist/twilight/{p-96c1a0a1.entry.js → p-a5eeb082.entry.js} +1 -1
- package/dist/twilight/{p-9d220aff.entry.js → p-a96e5e06.entry.js} +1 -1
- package/dist/twilight/{p-279e6529.entry.js → p-ae83c325.entry.js} +1 -1
- package/dist/twilight/{p-393ced29.entry.js → p-aed6d4eb.entry.js} +1 -1
- package/dist/twilight/{p-e03a5bb9.entry.js → p-b0437615.entry.js} +1 -1
- package/dist/twilight/{p-8b746fed.entry.js → p-bd2672ee.entry.js} +1 -1
- package/dist/twilight/{p-7d0bad4e.entry.js → p-bdda14f6.entry.js} +1 -1
- package/dist/twilight/p-be973f87.entry.js +4 -0
- package/dist/twilight/{p-7fa4c6ed.entry.js → p-c3530e7a.entry.js} +1 -1
- package/dist/twilight/{p-94b5d1c0.entry.js → p-c6b82041.entry.js} +1 -1
- package/dist/twilight/{p-cf75cffe.entry.js → p-c6d64b53.entry.js} +1 -1
- package/dist/twilight/{p-87f4f9ab.entry.js → p-ca0a62f9.entry.js} +1 -1
- package/dist/twilight/{p-24244ede.entry.js → p-ca52add5.entry.js} +1 -1
- package/dist/twilight/{p-b50b5139.entry.js → p-cd65e560.entry.js} +1 -1
- package/dist/twilight/{p-99537f59.entry.js → p-d39bf8b5.entry.js} +1 -1
- package/dist/twilight/{p-ffaa3b02.entry.js → p-d3a9573e.entry.js} +1 -1
- package/dist/twilight/p-d49130fc.entry.js +4 -0
- package/dist/twilight/p-d54b75de.entry.js +4 -0
- package/dist/twilight/{p-0f6cf7ae.entry.js → p-d8c9d454.entry.js} +1 -1
- package/dist/twilight/{p-24a6d077.entry.js → p-dc6b3dfb.entry.js} +1 -1
- package/dist/twilight/{p-753029a4.entry.js → p-e5c2df5a.entry.js} +1 -1
- package/dist/twilight/p-eb2e3e67.entry.js +4 -0
- package/dist/twilight/{p-a4e19dcc.entry.js → p-ecdf7027.entry.js} +1 -1
- package/dist/twilight/{p-f424a0a2.entry.js → p-f060a3dd.entry.js} +1 -1
- package/dist/twilight/{p-ed35f803.entry.js → p-f4eba1d1.entry.js} +1 -1
- package/dist/twilight/{p-dcfab648.entry.js → p-f5ac65b4.entry.js} +1 -1
- package/dist/twilight/{p-3ca34205.entry.js → p-f8d642b2.entry.js} +1 -1
- package/dist/twilight/{p-c72ed3d3.entry.js → p-f9912293.entry.js} +1 -1
- package/dist/twilight/p-f9a3f3f4.entry.js +4 -0
- package/dist/twilight/{p-D5YVbhSD.js → p-kflOqry6.js} +1 -1
- package/dist/twilight/{p-U4GQwdjm.js → p-lYj74H1f.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +31 -3
- package/package.json +5 -5
- package/dist/collection/components/salla-conditional-offer/test/salla-conditional-offer.js +0 -12
- package/dist/twilight/p-365cb4e5.entry.js +0 -4
- package/dist/twilight/p-4c3435a8.entry.js +0 -4
- package/dist/twilight/p-4cf658b6.entry.js +0 -4
- package/dist/twilight/p-4f60cdea.entry.js +0 -4
- package/dist/twilight/p-8ea1c5b4.entry.js +0 -4
- package/dist/twilight/p-b2019ba2.entry.js +0 -4
- package/dist/twilight/p-da157fc7.entry.js +0 -4
- package/dist/twilight/p-ddfb7d95.entry.js +0 -4
- package/dist/twilight/p-ee18ef3e.entry.js +0 -4
- package/dist/types/components/salla-conditional-offer/test/salla-conditional-offer.d.ts +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaMultipleBundleProductCartCss = "";
|
|
9
9
|
|
|
@@ -36,7 +36,7 @@ const SallaMultipleBundleProductCart = class {
|
|
|
36
36
|
return (index.h("div", { slot: "html", class: "s-multiple-bundle-product-cart-header-wrapper" }, index.h("div", { class: `s-multiple-bundle-product-cart-header ${hasOptions ? '' : 's-multiple-bundle-product-cart-header-no-options'}` }, index.h("div", { class: "s-multiple-bundle-product-cart-header-content" }, index.h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-image-wrapper" }, index.h("img", { src: product?.image?.url, alt: product?.image?.alt || product?.name, class: "s-multiple-bundle-product-cart-header-image" })), index.h("div", { class: "s-multiple-bundle-product-cart-header-content-details" }, index.h("h2", { class: "s-multiple-bundle-product-cart-header-content-details-title" }, index.h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-content-details-title-link" }, product?.name)), index.h("div", { class: "s-multiple-bundle-product-cart-header-content-details-price" }, index.h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-regular" }, index.h("span", { innerHTML: product?.price ? salla.money(product?.price) : '' })), product?.sale_price > 0 && (index.h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-sale" }, index.h("span", { innerHTML: salla.money(product?.sale_price) })))), product?.quantity_in_group > 0 && product?.quantity !== 0 && (index.h("p", { class: "s-multiple-bundle-product-cart-header-content-details-quantity" }, index.h("span", null, salla.lang.get('pages.products.number_of_pieces')), index.h("span", null, product?.quantity_in_group))))), !hasOptions && (index.h("div", { class: "s-multiple-bundle-product-cart-header-remove-button" }, this.renderRemoveButton(sectionId, product, false))))));
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '78be7c4a3be811adb01cb1437473fcd9f1c17b41', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: '9b0439dffc9a2dd8d31f56dacb5d835cde903e71', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
|
|
40
40
|
return section.products.map(product => {
|
|
41
41
|
const bundleContext = {
|
|
42
42
|
sectionId: section.id,
|
|
@@ -412,9 +412,9 @@ const SallaMultipleBundleProductDetails = class {
|
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
render() {
|
|
415
|
-
return (index.h(index.Host, { key: '
|
|
415
|
+
return (index.h(index.Host, { key: '1ba2cde8fad73b16cfc2ccdd5e68331a9e3fdb7a', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: 'a72d9fc9f3df30616d3d0696c755db4e76c9a153', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index$1) => {
|
|
416
416
|
return (index.h("salla-accordion", { key: section.id, collapsed: index$1 === 0 ? false : true }, index.h("salla-accordion-head", null, this.renderAccordionHeader(section)), index.h("salla-accordion-body", null, index.h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index$1, selectedProducts: this.selectedProducts, selectionLimit: this.getEffectiveMax(section), isSelectionLocked: this.isProductSelectionLocked(section), onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
|
|
417
|
-
})), index.h("salla-multiple-bundle-product-options-modal", { key: '
|
|
417
|
+
})), index.h("salla-multiple-bundle-product-options-modal", { key: '1e2f996c2d995c62ae29dedc90826a1f1d0a1320' })));
|
|
418
418
|
}
|
|
419
419
|
get host() { return index.getElement(this); }
|
|
420
420
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -481,7 +481,7 @@ const SallaMultipleBundleProductOptionsModal = class {
|
|
|
481
481
|
const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
|
|
482
482
|
const resetToken = this.optionsResetTokens[cacheKey] || 0;
|
|
483
483
|
const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
|
|
484
|
-
return (index.h(index.Host, { key: '
|
|
484
|
+
return (index.h(index.Host, { key: '610ae038d4f9db109e3f25830e82b39a2b07a010' }, index.h("salla-modal", { key: 'b06c130448cd1862d2e879a0285fd385395cc11b', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, index.h("div", { key: '1f8b9ffa80a40f8240ede4b8996943f7eecf4098', slot: "loading" }, index.h("salla-skeleton", { key: '26463b16022e1f66fd66f4e9cd8907521352bac1', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (index.h("salla-slider", { key: 'bae60782cbe4ac7dc325fd666258198cd871a52e', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
|
|
485
485
|
centeredSlides: true,
|
|
486
486
|
centeredSlidesBounds: true,
|
|
487
487
|
slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
|
|
@@ -489,13 +489,13 @@ const SallaMultipleBundleProductOptionsModal = class {
|
|
|
489
489
|
watchSlidesProgress: true,
|
|
490
490
|
direction: 'vertical',
|
|
491
491
|
spaceBetween: 10,
|
|
492
|
-
} }, index.h("div", { key: '
|
|
492
|
+
} }, index.h("div", { key: '998afc3297e89df7e0a6b2514a6d5f4f75152492', slot: "items" }, this.product?.images &&
|
|
493
493
|
this.product?.images.map((image, index$1) => (index.h("div", { key: index$1, class: "swiper-slide" }, index.h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index$1 + 1}`, loading: "lazy", onError: e => {
|
|
494
494
|
e.target.style.display = 'none';
|
|
495
|
-
} }))))), this.product?.images && this.product?.images.length > 1 && (index.h("div", { key: '
|
|
495
|
+
} }))))), this.product?.images && this.product?.images.length > 1 && (index.h("div", { key: '935a3d01a417926e904507d0a64da43c84924068', slot: "thumbs" }, this.product?.images &&
|
|
496
496
|
this.product?.images.map((image, index$1) => (index.h("div", { key: index$1, "data-caption": `${this.product?.name} - Image ${index$1 + 1}` }, index.h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index$1 + 1}`, alt: image.alt || `${this.product?.name} - ${index$1 + 1}`, onError: e => {
|
|
497
497
|
e.target.style.display = 'none';
|
|
498
|
-
} })))))))), index.h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), index.h("div", { key: '
|
|
498
|
+
} })))))))), index.h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), index.h("div", { key: 'eeb710a27917f6134a2595ebb8e4ec485bb26254', slot: "footer" }, index.h("div", { key: '2ae3d47c461b68d61fcaa1d8f279ae6402aedf2e', class: "s-multiple-bundle-product-options-modal-footer" }, index.h("salla-button", { key: '436f64a89183f0e6d56b6800ad031449c49cc751', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
|
|
499
499
|
? salla.lang.get('common.elements.saving')
|
|
500
500
|
: salla.lang.get('common.elements.save')))))));
|
|
501
501
|
}
|
|
@@ -641,7 +641,7 @@ const SallaMultipleBundleProductSlider = class {
|
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
render() {
|
|
644
|
-
return (index.h(index.Host, { key: '
|
|
644
|
+
return (index.h(index.Host, { key: 'e473b6089ee0e7026dfec042462ed827dabd0083' }, index.h("salla-slider", { key: '492187e1a1c105c21c48543aa227888d122cfa20', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, index.h("div", { key: 'e40e816439f3b3e1bee12ebdcea60438a45fec12', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
|
|
645
645
|
const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
|
|
646
646
|
const isLocked = isChecked && this.isSelectionLocked;
|
|
647
647
|
const isDisabled = this.isProductSelectionDisabled(product, isChecked);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaMultipleBundleProductCss = ":host{display:block}";
|
|
9
9
|
|
|
@@ -58,7 +58,7 @@ const SallaMultipleBundleProduct = class {
|
|
|
58
58
|
this.parseProducts(this.bundleSections);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: 'db7efe81ce29dd1bc45cc5f1dbd45b6b03e31de8', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
|
|
62
62
|
}
|
|
63
63
|
static get watchers() { return {
|
|
64
64
|
"bundleSections": ["parseProducts"]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaNotificationsCss = "";
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ const SallaNotificationItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return index.h("a", { key: '
|
|
15
|
+
return index.h("a", { key: '59f70f3078b1a7d47bcee6ccd2d472cb8e9e0823', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, index.h("span", { key: '7cfde773f99fd97d2564bb76820fcdc10ddaf1c9', class: "s-notifications-item-icon" }, index.h("i", { key: 'c7ac49641200f8200d79d801626d819c2ad025d8', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), index.h("div", { key: '7b20a3de69f26d62185121017904ea8b73acde6d', class: "s-notifications-item-content" }, index.h("div", { key: '03e8f73de33418b41ab3dcec65a6cf916edbf670', class: "s-notifications-item-content-leading" }, index.h("h4", { key: '94f21a0c414c97f647af33f8ec84d74ec91c6de6' }, this.notification.title), index.h("p", { key: 'b821d9ba8af890d9d3b96b58488ccfe33ae681a1' }, this.notification.sub_title)), index.h("span", { key: '5aed923cbcdd3b92178de4660b2940ca1fd1958a', class: "s-notifications-item-content-trailing" }, index.h("i", { key: '283ce5224c7de7ada8afffb9c3ef43bb17f91944', class: "sicon-time s-notifications-item-content-trailing-icon" }), index.h("span", { key: 'b868dc7ecde4155c9827d6ccb2b2ac919525c71b' }, this.notification.date))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
SallaNotificationItem.style = sallaNotificationsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var tag = require('./tag-D-PcUR33.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
@@ -206,7 +206,7 @@ const SallaOfferModal = class {
|
|
|
206
206
|
// '</div>';
|
|
207
207
|
// }
|
|
208
208
|
render() {
|
|
209
|
-
return index.h("salla-modal", { key: '
|
|
209
|
+
return index.h("salla-modal", { key: '570466318b6cd66a7a8b3dd0d80424c2fd73328d', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: 'ded0c8df17d5e5c1d6e77b8e1be469e69d3ee12f', slot: 'loading' }, index.h("div", { key: 'fc96c54fcecc896b3e5a1838e2d07d545fce2f85', class: "s-offer-modal-skeleton" }, index.h("div", { key: 'ee7a6f25aabbf4263b43fc7545bbb2c7bfca9b3a', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: '9604f5f33d1d8e074cc3c314addb945b087431ee', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: '65194ecfee0a01f7c38aa72f7ce2c8c81c893b1f', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '21d466bf32f435a511dcece76f51f4052089c130', height: '10px', width: '30%' })), index.h("div", { key: '53fb44c7c60ca8236dc7ec60ff65cb71df39c03b', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: cart2.SICart2 }))))), index.h("div", { key: '52ad47514b0c00b73ec7d98073b09d21ce6a2b12', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: 'a271e30ab34d96731cc1f51c32cba9aaefee1953', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '6e199a5b1283c9d82588c60c712d3799b88c5c8d', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
|
|
210
210
|
? [index.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: specialDiscount.SpecialDiscountIcon }), this.getOfferContent(), index.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
|
|
211
211
|
index.h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
|
|
212
212
|
: '', index.h("label", { class: "s-offer-modal-remember-label" }, index.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaOrderCancelCss = ".s-order-cancel-reason .s-order-cancel-radio::before,.s-order-cancel-reason .s-radio::before{content:\"\";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:120ms transform ease-in-out;background-color:#fff;box-shadow:inset 1em 1em #fff}.s-order-cancel-reason .s-order-cancel-radio:checked::before,.s-order-cancel-reason .s-radio:checked::before{transform:scale(1);background-color:var(--color-primary);box-shadow:inset 1em 1em var(--color-primary)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaOrderDetailsCss = "";
|
|
9
9
|
|
|
@@ -39,7 +39,7 @@ const SallaOrderDetails = class {
|
|
|
39
39
|
];
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return index.h(index.Host, { key: '
|
|
42
|
+
return index.h(index.Host, { key: 'ffa22cae6c347b5acbe4836378f1f3843184e8f5', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
|
|
43
43
|
}
|
|
44
44
|
static get watchers() { return {
|
|
45
45
|
"orderDetails": ["parseOrderDetailsData"]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaOrderEditProductCard = class {
|
|
|
33
33
|
const product = this.productData;
|
|
34
34
|
const productName = product?.name || salla.lang.getWithDefault('common.elements.product', 'منتج');
|
|
35
35
|
const price = product?.price;
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: '7669432a4756da446e16d9a3093a067767c5dd9d' }, index.h("button", { key: 'd998dde2a1dc4eae7444fd398910c3a0699730f8', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, index.h("div", { key: '6a0e6eec84de332598d94be87b49564eeb2cfbc2', class: "s-order-edit-product-card-media" }, product?.image?.url ? (index.h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (index.h("div", { class: "s-order-edit-product-card-placeholder" }, index.h("i", { class: "sicon-shopping-bag" })))), index.h("div", { key: '4eeb9f7430c19f8e792b0f6856fb86a2f265eb95', class: "s-order-edit-product-card-content" }, index.h("h3", { key: '840ae549097a53f1f297673d69e3155792a4097e', class: "s-order-edit-product-card-title" }, productName), price != null && (index.h("p", { key: '32732854ca599fe446d0b47883b892ac17d90cae', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
SallaOrderEditProductCard.style = sallaOrderEditProductCardCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var swapStroke = require('./swap-stroke-CYGxjKIS.js');
|
|
8
8
|
var check = require('./check-BnVBPQNp.js');
|
|
9
9
|
|
|
@@ -86,7 +86,7 @@ const SallaOrderSummary = class {
|
|
|
86
86
|
this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (index.h("ul", { key: '
|
|
89
|
+
return (index.h("ul", { key: 'd699111d423dbb47469d813f64e5f956f5860522', class: "s-order-summary-wrapper" }, this.noItemFound ? index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" })) :
|
|
90
90
|
this.order_items.map((item) => (this.isDigitalCard(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (index.h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, index.h("p", null, index.h("span", { innerHTML: iconCreditCard }), index.h("span", null, code.code)), index.h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, index.h("span", { innerHTML: this.codeCopied === code.code ? check.SICheck : swapStroke.iconCopy }), index.h("span", null, this.copy_text))))))) :
|
|
91
91
|
this.isDigitalProduct(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), index.h("ul", null, item.files.map((file) => (index.h("li", { class: "s-order-summary-digital-item-wrapper" }, index.h("div", null, index.h("span", { innerHTML: iconFileArchive }), index.h("span", null, file.name)), index.h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, index.h("span", { innerHTML: iconDownload }), index.h("span", null, this.download_text)))))))) : null))));
|
|
92
92
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaPaymentsCss = ":host{display:block}";
|
|
9
9
|
|
|
@@ -43,12 +43,12 @@ const SallaPayments = class {
|
|
|
43
43
|
render() {
|
|
44
44
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
45
45
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
46
|
+
return (index.h(index.Host, { key: '73ab5a6358aa50ec48024274ef18ba9e3628fe4e', class: "s-payments-list-wrap" }, index.h("ul", { key: '819d1b51174aff73023235e6a730463bfaa5ca13', class: "s-payments-list" }, madeInKSA && index.h("li", { key: 'f10446c5c7981747a3308a45cd090e5e64bef668', class: "s-payments-list-item" }, index.h("img", { key: '91349a29bcf349f20d9d7914ee7991dd29b3f042', width: 58, height: 58, decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
47
47
|
index.h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
48
48
|
.replace(/\{image\}/g, this.paymentLogo(`cod`)) }) :
|
|
49
49
|
index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
50
50
|
.replace(/\{image\}/g, this.paymentLogo(payment))
|
|
51
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '
|
|
51
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: 'df1d5a5532bf4dc5d364ba85ca1c0ad828c18ff0', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
52
52
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
53
53
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
54
54
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -43,7 +43,7 @@ const SallaPlaceholder = class {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
46
|
+
return (index.h(index.Host, { key: 'c1d7092a1bfdbf8e25595ef2205d7e5721f338ed', class: this.alignmentClass() }, index.h("div", { key: '85929e725cbd6e092b18038a240fbe0bda095648', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '773b9c9723a4542ca9518833ffad1470955a973b', class: "s-placeholder-title" }, index.h("slot", { key: 'c42d3d92f66cd5917952542360aacf936bde0d23', name: 'title' }, index.h("span", { key: '850e1a5abb42bbe69ea64d7c26f196d05fcf721d' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '4f56988f2a84ab394f39ff931f5ac8858a010d1e', class: "s-placeholder-description" }, index.h("slot", { key: '886cae5311fa0ca5b763fb20ce9fe7c1845d4cab', name: 'description' }, index.h("span", { key: 'f0cb7f4c50a1449d12467aaa802d47abbb4e0e53' }, salla.lang.get('common.errors.empty_results'))))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
SallaPlaceholder.style = sallaPlaceholderCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
8
8
|
|
|
9
9
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -159,9 +159,9 @@ const SallaPriceRange = class {
|
|
|
159
159
|
this.maxPrice = value === undefined ? '' : value;
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (index.h(index.Host, { key: '
|
|
162
|
+
return (index.h(index.Host, { key: 'dc74966c1d2d9e5626b23db0a80b693fef047f41' }, this.filterValues.map((filterValue, index$1) => {
|
|
163
163
|
return index.h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index$1}`, key: index$1 }, index.h("input", { id: `${this.option.key}-${index$1}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), index.h("span", { innerHTML: this.getPriceLabel(filterValue) }));
|
|
164
|
-
}), index.h("div", { key: '
|
|
164
|
+
}), index.h("div", { key: 'b12dad0c27f3fbe9ad8a9c98b9bd1302388b35ef', class: "flex justify-center items-center" }, index.h("div", { key: 'e034058e195a94c2434e99c5b30b2e5909daff87', class: "relative max-w-xl w-full" }, index.h("div", { key: '4c59f5a3c8249717c4c6decbcdb63d97343bd871', class: "s-price-range-inputs" }, index.h("div", { key: '65de0733e3ce1ea7b37976f1d077d1f3192056c5', class: "s-price-range-relative" }, index.h("div", { key: 'ed842802aff5cd874e708c062aa79e8185d330f3', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '78d020948e3edc4e53fff976fa8e00b2e6ac6868', 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" })), index.h("div", { key: 'edfb3dd62b7898d4493a1adefeee20bdb305c89a', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: 'f2227f09a344b8cc8c1160c23a6dbc9cd96cb260', class: "s-price-range-relative" }, index.h("div", { key: 'e528e7766eb7f6b9e0791116c87374441c73afe6', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '6dda7a17097ae51c50c3d4aae290ce1b0369dcfa', 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" })), index.h("salla-button", { key: '970d39060c565e7dc18e6a2039452a3b3df04082', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: 'da9b6ed688a64d624eedc3834ad3be47533c9dd5', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
|
|
165
165
|
}
|
|
166
166
|
componentDidLoad() {
|
|
167
167
|
this.isReady = true;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
9
9
|
|
|
@@ -100,7 +100,7 @@ const SallaProductCardEmbed = class {
|
|
|
100
100
|
's-product-card-embed-card-align-right': this.align === 'right',
|
|
101
101
|
's-product-card-embed-card-align-center': this.align === 'center',
|
|
102
102
|
};
|
|
103
|
-
return (index.h(index.Host, { key: '
|
|
103
|
+
return (index.h(index.Host, { key: '3d9fb0dc8473e0959bbe13b4f8c8eea7a51830ea' }, this.hasError && index.h("span", { key: '25228d6d007d7dcda5e5767e14d2c363abfdab3e', class: "s-product-card-embed-fallback" }), index.h("div", { key: 'd66d592bfad1468b745f3a954c335f72ecda1e08', class: cardClasses, ref: (el) => {
|
|
104
104
|
this.cardContainer = el;
|
|
105
105
|
} })));
|
|
106
106
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var star2 = require('./star2-R146a27p.js');
|
|
8
8
|
var Helper = require('./Helper-B2B-kxAI.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -116,14 +116,14 @@ const SallaProductCard = class {
|
|
|
116
116
|
's-product-card-out-of-stock': this.productData?.is_out_of_stock,
|
|
117
117
|
};
|
|
118
118
|
const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
|
|
119
|
-
return (index.h(index.Host, { key: '
|
|
119
|
+
return (index.h(index.Host, { key: 'c5a6d2bc2fcf23da1a41ab8b19b2e981fb111e30', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: 'e8d5105e4dbe367c612d62ef1dd6c95d04f440b0', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '8714997fcb48ef0eaabdf0a52cb775514e53db56', ...hrefProp }, index.h("img", { key: 'eebd3c1dde0894037a7723c46e2f07f6a5aef939', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
|
|
120
120
|
? 'contain'
|
|
121
121
|
: this.fitImageHeight
|
|
122
122
|
? this.fitImageHeight
|
|
123
|
-
: '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 && index.h("a", { key: '
|
|
124
|
-
index.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() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '
|
|
123
|
+
: '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 && index.h("a", { key: '72e240315320e976dcad8d3f027711b9c1d7bcf1', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
|
|
124
|
+
index.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() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '2f0186ffc102488824cd7c346f4e07439474fc26', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
|
|
125
125
|
index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
|
|
126
|
-
: '', index.h("div", { key: '
|
|
126
|
+
: '', index.h("div", { key: 'd50ea0726d25bf3b551050e906fc615bc682e694', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'e4f39676d661a01d1aa6352cac7be6e764fa8687', class: "s-product-card-content-title" }, index.h("a", { key: '0aacc2e00a0db730d1e803da34336085082df75d', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
|
|
127
127
|
index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
|
|
128
128
|
: ''), this.productData?.donation && !this.minimal && !this.fullImage ?
|
|
129
129
|
[index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
|
|
@@ -132,7 +132,7 @@ const SallaProductCard = class {
|
|
|
132
132
|
this.addBtn.donatingAmount = e.target.value;
|
|
133
133
|
}, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
|
|
134
134
|
: '')]
|
|
135
|
-
: '', index.h("div", { key: '
|
|
135
|
+
: '', index.h("div", { key: '445a1e16fee6ebb6ab5012aca324d3845991d13e', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
|
|
136
136
|
index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
|
|
137
137
|
: ''), this.isSpecial && this.productData.discount_ends
|
|
138
138
|
? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -53,11 +53,11 @@ const SallaProductSizeGuide = class {
|
|
|
53
53
|
return index.h("salla-placeholder", { alignment: "center", iconSize: "xl" }, index.h("div", { slot: "title" }, this.placeholder_title), index.h("div", { slot: "description" }, this.placeholder_description));
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h("salla-modal", { key: '
|
|
56
|
+
return (index.h("salla-modal", { key: '063a407b20a58cd485aab5545bc36ef7bcf97bda', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: 'f3020bc65b716269d77e46bf28a6ff610ebff117', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '588de84c8b24de3331ff825a29e8332c1c426752', slot: "loading" }, index.h("div", { key: 'be0c2882631109efd8099d96cc9c8b22ff266893', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: '04030e4cb75e1f49d939d1c87b97eb0fe73eff0f', height: '15px', width: '25%' }), index.h("div", { key: '1576c0a47284315aa3ec408d75bcbb261f230b3f', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: '4edba887e3a631d1fccaa4379c3f7b9ebc8e3fb9', height: '40px' }), index.h("salla-skeleton", { key: 'da6c9bdf9eb7cb8cd6366b9dc954055ed3f79607', height: '40px' }), index.h("salla-skeleton", { key: '322e2e5d0f05949a6a957b695c6f557512acc689', height: '40px' }), index.h("salla-skeleton", { key: '4914a613bf190d2fc7029098ba7c7fd54bdace4c', height: '40px' })), index.h("div", { key: '209144302d7127ffc6933519db28d9cba949827f', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: 'cca674f6d7fe8a88c240b38df567f2980efdb9e1', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: '9754e50822954fa6a333634a40d4414cc1785c04', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: 'b18e8d9fb7d1ddb9766fb9b24285480dbeb6d678', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '6904a849b03278f8a99aa5056772f58d14ecc10e', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '357446cfbab8c5b5062ef582dabc5a41b987a2d6', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'b8d2ab21d3c68f1f7c325aac46c6574b8f62878c', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: '578de2e17060b4b8f1d8e18e77e423b8a2ca746f', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: '442da0c1997e968f77ef7d5ea14b507387004814', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '0ff2e33c0f931e577b020e83f5704454169c697a', height: '10px', width: '30%' })))), index.h("slot", { key: '83f7baaa539d8084e6efb898a865723fab3552ff', name: "header" }), !this.hasError && !!this.guides ?
|
|
57
57
|
[
|
|
58
58
|
index.h("salla-tabs", null, this.guides.map((guide) => index.h("salla-tab-header", { slot: "header", name: guide.name }, index.h("span", null, guide.name))), this.guides.map((guide) => index.h("salla-tab-content", { slot: "content", name: guide.name }, index.h("div", { innerHTML: guide.description }))))
|
|
59
59
|
]
|
|
60
|
-
: this.showPlaceholder(), index.h("slot", { key: '
|
|
60
|
+
: this.showPlaceholder(), index.h("slot", { key: '598c8e9603633bbb4d89f767237eda21282b4e04', name: "footer" })));
|
|
61
61
|
}
|
|
62
62
|
get host() { return index.getElement(this); }
|
|
63
63
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-B2B-kxAI.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var star = require('./star-DMzrN05M.js');
|
|
8
8
|
var shippingFast = require('./shipping-fast-CsqEQE78.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
9
|
var image = require('./image-BoZ6Hums.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-Cd5xdrCT.js');
|
|
7
7
|
var star2 = require('./star2-R146a27p.js');
|
|
8
8
|
|
|
9
9
|
const CACHE_TTL = 5 * 60 * 1000;
|
|
@@ -119,7 +119,7 @@ const SallaReviewFactorsTags = class {
|
|
|
119
119
|
return (index.h("div", { class: "s-review-factors-tags-factors" }, factors.map(factor => (index.h("div", { class: "s-review-factors-tags-factor-tag" }, index.h("span", { class: "s-review-factors-tags-factor-name" }, factor.name), index.h("span", { class: "s-review-factors-tags-factor-star", innerHTML: star2.Star }), index.h("span", { class: "s-review-factors-tags-factor-rating" }, factor.rating || ''))))));
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (index.h(index.Host, { key: '
|
|
122
|
+
return (index.h(index.Host, { key: '63e1ae3d8b45cdd9c82ade65cf6b33be9941f9d1', class: "s-review-factors-tags-wrapper" }, this.renderFactorTags()));
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
SallaReviewFactorsTags.style = sallaReviewFactorsTagsCss;
|