@salla.sa/twilight-components 2.14.461 → 2.14.463
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-DDAGSiBu.js → filepond-XQ49P28a.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-nmHjxMAB.js → filepond-plugin-file-poster-BPQxaVwU.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BtQEm835.js → filepond-plugin-file-validate-size-B9ApyJPA.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DZh74oiy.js → filepond-plugin-file-validate-type-Bcpy1-Yx.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CTGzmH1f.js → filepond-plugin-image-edit-DpTpDHd0.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-D851LeUg.js → filepond-plugin-image-exif-orientation-BpFgVfuH.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-BcbCu3xH.js → filepond-plugin-image-preview-Cb8nl-Sk.js} +1 -1
- package/dist/cjs/{functions-JSbmlqCR.js → functions-BWxgjDLr.js} +1 -1
- package/dist/cjs/{index-B382wYR4.js → index-C8A5Jog8.js} +1 -1
- package/dist/cjs/{index-BbEaNgXt.js → index-erFsk7OI.js} +6 -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 +1 -1
- 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 +12 -12
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
- 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 +1 -3
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +4 -4
- 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 +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -4
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -15
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -5
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -3
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +96 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +4 -7
- 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-branch.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 +29 -12
- 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 +10 -10
- 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 +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +6 -7
- 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-B0hsrPu_.js → tracked-promise-CAEeCapf.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CuSFaj7m.js → vanilla-picker-B9ah_1w1.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +0 -2
- package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +0 -2
- package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +99 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +0 -2
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +0 -2
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -10
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -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 +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-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-products-list/salla-products-list.js +28 -11
- 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.js +1 -1
- package/dist/collection/components/salla-user-menu/salla-user-menu.js +6 -7
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cashback-banner.js +0 -2
- package/dist/components/salla-loyalty-banner.js +0 -2
- package/dist/components/salla-loyalty-hero2.js +3 -3
- package/dist/components/salla-loyalty-panel.js +0 -2
- package/dist/components/salla-loyalty-point2.js +4 -10
- package/dist/components/salla-loyalty-points-banner.js +0 -2
- package/dist/components/salla-loyalty-points-history.d.ts +11 -0
- package/dist/components/salla-loyalty-points-history.js +129 -0
- package/dist/components/salla-loyalty-program.js +1 -4
- 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-products-list2.js +28 -11
- 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-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 +1 -1
- package/dist/components/salla-user-menu.js +6 -7
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/esm/{filepond-n7Tk1X1s.js → filepond-AAIlCdAO.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BSnp0vvZ.js → filepond-plugin-file-poster-CzcSk93x.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CoYRMYw6.js → filepond-plugin-file-validate-size-DRV8qwBW.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-qCOXsTrd.js → filepond-plugin-file-validate-type-CelZ69Kz.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DXpVwYXm.js → filepond-plugin-image-edit-B-hHZqmA.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BWH5RIuD.js → filepond-plugin-image-exif-orientation-BgxjrMAY.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-D2-j0VSU.js → filepond-plugin-image-preview-h6BWEU-G.js} +1 -1
- package/dist/esm/{functions-C0YAccvF.js → functions-Dg0XXbIV.js} +1 -1
- package/dist/esm/{index-CWoBHtob.js → index-BlGD97H6.js} +1 -1
- package/dist/esm/{index-DZJfoSMn.js → index-CgKcWLpf.js} +6 -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 +1 -1
- 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 +12 -12
- package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
- 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 +1 -3
- package/dist/esm/salla-comment-form_8.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -4
- package/dist/esm/salla-loyalty-hero_2.entry.js +9 -15
- package/dist/esm/salla-loyalty-panel.entry.js +3 -5
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -3
- package/dist/esm/salla-loyalty-points-history.entry.js +94 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +4 -7
- 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-branch.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 +29 -12
- 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 +10 -10
- 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 +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +6 -7
- 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-GcOA8b3a.js → tracked-promise-B-7sMH4T.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BpADmZjj.js → vanilla-picker-BcjrIc-C.js} +1 -1
- package/dist/twilight/{p-05f84e06.entry.js → p-02e79512.entry.js} +1 -1
- package/dist/twilight/{p-f4c8cace.entry.js → p-050d10dd.entry.js} +1 -1
- package/dist/twilight/{p-d04feb4a.entry.js → p-07e779b2.entry.js} +1 -1
- package/dist/twilight/{p-ebfbda5f.entry.js → p-0bb1836f.entry.js} +1 -1
- package/dist/twilight/{p-759ec1b2.entry.js → p-0bf29eb6.entry.js} +1 -1
- package/dist/twilight/{p-adb26a1f.entry.js → p-0fbd5e22.entry.js} +1 -1
- package/dist/twilight/{p-38e27a00.entry.js → p-17ae88c3.entry.js} +1 -1
- package/dist/twilight/p-17bceaf3.entry.js +4 -0
- package/dist/twilight/p-18123ac7.entry.js +4 -0
- package/dist/twilight/p-1c078509.entry.js +4 -0
- package/dist/twilight/p-1f8d103f.entry.js +4 -0
- package/dist/twilight/{p-2a900c4e.entry.js → p-23d41e5a.entry.js} +1 -1
- package/dist/twilight/{p-92bdfae5.entry.js → p-2ef068f6.entry.js} +1 -1
- package/dist/twilight/p-30cdc70c.entry.js +4 -0
- package/dist/twilight/{p-ed4a6e2d.entry.js → p-3173408c.entry.js} +1 -1
- package/dist/twilight/{p-c785365c.entry.js → p-31aa72b6.entry.js} +1 -1
- package/dist/twilight/{p-17d10d15.entry.js → p-323be2a0.entry.js} +1 -1
- package/dist/twilight/{p-ed061a5a.entry.js → p-34881ede.entry.js} +1 -1
- package/dist/twilight/{p-20ccbbe4.entry.js → p-37e5e4ba.entry.js} +1 -1
- package/dist/twilight/{p-c177ec39.entry.js → p-39a27ca2.entry.js} +1 -1
- package/dist/twilight/{p-3355b043.entry.js → p-3d5d09e5.entry.js} +1 -1
- package/dist/twilight/{p-457c98ed.entry.js → p-43f6d3aa.entry.js} +1 -1
- package/dist/twilight/{p-78ea4116.entry.js → p-46a9e49d.entry.js} +1 -1
- package/dist/twilight/p-49953509.entry.js +4 -0
- package/dist/twilight/{p-fbea393e.entry.js → p-49fef2a0.entry.js} +1 -1
- package/dist/twilight/{p-e9029b24.entry.js → p-4bd6f468.entry.js} +1 -1
- package/dist/twilight/{p-6deac135.entry.js → p-4e8fb0e3.entry.js} +1 -1
- package/dist/twilight/{p-4391b061.entry.js → p-520b00c7.entry.js} +1 -1
- package/dist/twilight/p-53b100a6.entry.js +4 -0
- package/dist/twilight/{p-ab681e13.entry.js → p-55178df6.entry.js} +1 -1
- package/dist/twilight/p-5642a30a.entry.js +4 -0
- package/dist/twilight/{p-8494470d.entry.js → p-5fe17bc8.entry.js} +1 -1
- package/dist/twilight/{p-c443a332.entry.js → p-6419fdff.entry.js} +1 -1
- package/dist/twilight/{p-8640b282.entry.js → p-65e1db2e.entry.js} +1 -1
- package/dist/twilight/p-67a831d2.entry.js +4 -0
- package/dist/twilight/{p-dc85db79.entry.js → p-684678f7.entry.js} +1 -1
- package/dist/twilight/{p-aa6980d3.entry.js → p-6868565b.entry.js} +1 -1
- package/dist/twilight/{p-60d8f39b.entry.js → p-68e221fb.entry.js} +1 -1
- package/dist/twilight/{p-aaa589b3.entry.js → p-6b25dc69.entry.js} +1 -1
- package/dist/twilight/{p-04755a75.entry.js → p-6fa42874.entry.js} +1 -1
- package/dist/twilight/p-70eced14.entry.js +4 -0
- package/dist/twilight/{p-28654655.entry.js → p-71f024e8.entry.js} +1 -1
- package/dist/twilight/{p-95916068.entry.js → p-77a23292.entry.js} +1 -1
- package/dist/twilight/{p-348ba7bc.entry.js → p-7b35061c.entry.js} +1 -1
- package/dist/twilight/{p-a2ef6d82.entry.js → p-7c4ee058.entry.js} +1 -1
- package/dist/twilight/{p-b17dff86.entry.js → p-7f27897e.entry.js} +1 -1
- package/dist/twilight/{p-3d72203e.entry.js → p-7f5f48f6.entry.js} +1 -1
- package/dist/twilight/{p-72cac49f.entry.js → p-84e636d1.entry.js} +1 -1
- package/dist/twilight/{p-57b49cdf.entry.js → p-8517f731.entry.js} +1 -1
- package/dist/twilight/{p-36b19d00.entry.js → p-86aa1fbf.entry.js} +1 -1
- package/dist/twilight/{p-ef824ee1.entry.js → p-8c72f4cc.entry.js} +1 -1
- package/dist/twilight/{p-723fd41b.entry.js → p-8dabf108.entry.js} +1 -1
- package/dist/twilight/{p-e3c42341.entry.js → p-8fc7f3d6.entry.js} +1 -1
- package/dist/twilight/{p-0707d2f3.entry.js → p-904617da.entry.js} +1 -1
- package/dist/twilight/{p-154982a2.entry.js → p-9176d7ce.entry.js} +1 -1
- package/dist/twilight/{p-ac27db7b.entry.js → p-9387dd90.entry.js} +1 -1
- package/dist/twilight/{p-e8514ae6.entry.js → p-99106873.entry.js} +1 -1
- package/dist/twilight/p-9b4fc23f.entry.js +4 -0
- package/dist/twilight/{p-0377ee4a.entry.js → p-9c28210e.entry.js} +1 -1
- package/dist/twilight/{p-AfEAfJ98.js → p-Bo2jQzcR.js} +1 -1
- package/dist/twilight/{p-D3Knumjd.js → p-BzGCvVEm.js} +1 -1
- package/dist/twilight/{p-q7sRVQkm.js → p-CC2-QEDL.js} +1 -1
- package/dist/twilight/{p-BGvyt9d0.js → p-CH7wsBUY.js} +1 -1
- package/dist/twilight/{p-DZJfoSMn.js → p-CgKcWLpf.js} +1 -1
- package/dist/twilight/{p-DPrVo6nK.js → p-CwWt5HLh.js} +1 -1
- package/dist/twilight/p-DBqJzNYt.js +4 -0
- package/dist/twilight/p-DPoo7VAM.js +9 -0
- package/dist/twilight/{p-DtRKnFMd.js → p-HVfj7cvk.js} +1 -1
- package/dist/twilight/{p-CzKVU0uc.js → p-KXvNwMUI.js} +1 -1
- package/dist/twilight/{p-3cea9d02.entry.js → p-a34163a9.entry.js} +1 -1
- package/dist/twilight/{p-d4bf9b9a.entry.js → p-a7055743.entry.js} +1 -1
- package/dist/twilight/{p-CL6oN_Q7.js → p-aZStLvlC.js} +1 -1
- package/dist/twilight/{p-7cdd0edd.entry.js → p-ab581ba2.entry.js} +1 -1
- package/dist/twilight/{p-BJydaLla.js → p-alpadDPN.js} +1 -1
- package/dist/twilight/{p-5d8e2e4e.entry.js → p-b0219eab.entry.js} +1 -1
- package/dist/twilight/p-b111e9fa.entry.js +4 -0
- package/dist/twilight/{p-92a92648.entry.js → p-b60cbdfb.entry.js} +1 -1
- package/dist/twilight/p-b6cefa97.entry.js +4 -0
- package/dist/twilight/{p-4e1dd088.entry.js → p-b987e3af.entry.js} +1 -1
- package/dist/twilight/{p-d88387cf.entry.js → p-baeac8aa.entry.js} +1 -1
- package/dist/twilight/{p-d993f567.entry.js → p-bba4aa09.entry.js} +1 -1
- package/dist/twilight/p-c246a042.entry.js +4 -0
- package/dist/twilight/{p-8e29f889.entry.js → p-c522db75.entry.js} +1 -1
- package/dist/twilight/{p-d369971e.entry.js → p-c92bc81e.entry.js} +1 -1
- package/dist/twilight/{p-b8879670.entry.js → p-ca869069.entry.js} +12 -12
- package/dist/twilight/{p-8bdb3374.entry.js → p-cd49d0b1.entry.js} +1 -1
- package/dist/twilight/{p-f7c7dd70.entry.js → p-cd86a347.entry.js} +1 -1
- package/dist/twilight/{p-30532b9c.entry.js → p-cdfbcd5c.entry.js} +1 -1
- package/dist/twilight/{p-0bba3324.entry.js → p-d076e173.entry.js} +1 -1
- package/dist/twilight/{p-c8376047.entry.js → p-d68546db.entry.js} +1 -1
- package/dist/twilight/{p-23d3fe72.entry.js → p-dd363a06.entry.js} +1 -1
- package/dist/twilight/{p-3c726469.entry.js → p-de185a77.entry.js} +1 -1
- package/dist/twilight/p-e197f3d2.entry.js +4 -0
- package/dist/twilight/p-e6a66265.entry.js +4 -0
- package/dist/twilight/{p-a77699f6.entry.js → p-eaedd514.entry.js} +1 -1
- package/dist/twilight/{p-15674f9e.entry.js → p-f0fc32fb.entry.js} +1 -1
- package/dist/twilight/{p-098f1fae.entry.js → p-f66cc02e.entry.js} +1 -1
- package/dist/twilight/p-f6a7c273.entry.js +4 -0
- package/dist/twilight/{p-f3a8ffbe.entry.js → p-f770e708.entry.js} +1 -1
- package/dist/twilight/{p-4f28f97c.entry.js → p-fade3b90.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-loyalty-points-history/salla-loyalty-points-history.d.ts +12 -0
- package/dist/types/components/salla-loyalty-program/interfaces.d.ts +3 -2
- package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +0 -1
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
- package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
- package/dist/types/components.d.ts +13 -0
- package/package.json +5 -5
- package/dist/cjs/translations-BHyDCj-Y.js +0 -306
- package/dist/collection/components/salla-loyalty-program/translations.js +0 -302
- package/dist/components/translations.js +0 -304
- package/dist/esm/translations-dn_hTofo.js +0 -304
- package/dist/twilight/p-173db748.entry.js +0 -4
- package/dist/twilight/p-23de0e4d.entry.js +0 -4
- package/dist/twilight/p-28472b7d.entry.js +0 -4
- package/dist/twilight/p-4bd6e04e.entry.js +0 -4
- package/dist/twilight/p-60ed6a43.entry.js +0 -4
- package/dist/twilight/p-6585f570.entry.js +0 -4
- package/dist/twilight/p-6fcbb71a.entry.js +0 -4
- package/dist/twilight/p-7f8842a6.entry.js +0 -4
- package/dist/twilight/p-8e0cb0b4.entry.js +0 -4
- package/dist/twilight/p-BuQQcHl4.js +0 -4
- package/dist/twilight/p-D1YyLASn.js +0 -9
- package/dist/twilight/p-c74ccdee.entry.js +0 -4
- package/dist/twilight/p-ce20b220.entry.js +0 -4
- package/dist/twilight/p-d9bc10fa.entry.js +0 -4
- package/dist/twilight/p-dn_hTofo.js +0 -4
- package/dist/twilight/p-e18d93d6.entry.js +0 -4
- package/dist/twilight/p-f44362e9.entry.js +0 -4
- package/dist/twilight/p-fcb5ea5d.entry.js +0 -4
- package/dist/twilight/p-fe4866b6.entry.js +0 -4
- package/dist/types/components/salla-loyalty-program/translations.d.ts +0 -1
|
@@ -85,7 +85,7 @@ export class SallaReviews {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: 'ab076b54664048719052cff15877bc5325c36393', class: "s-reviews-container" }, h("div", { key: 'da56343050cd2e9fe7ac7cf08b348b1d6c6af5c2', class: "s-reviews-header-wrapper" }, h("h1", { key: '64e0fb721d9c6e4763de4e116d43f3d4206452dc', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: IconArrowLeft }))) : null), h("salla-slider", { key: 'c1ccfde9f4a4a617a0a6f12f841469f953114c4a', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: 'c3c7ca7d611b20618d336e16e57b20e479bbbbee', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "salla-reviews"; }
|
|
91
91
|
static get originalStyleUrls() {
|
|
@@ -142,7 +142,7 @@ export class SallaReviewsPage {
|
|
|
142
142
|
return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h("host", { key: '
|
|
145
|
+
return (h("host", { key: '1ca6e12aafb0b83953a887286003dce5f47c9374' }, h("div", { key: '9a353471f58a1fe67800f9d0ac38b3f94095b107', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '0fc9c963af765108e42f341ac7d70c8758e4677a', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '13f2b001680a39440d3e5557bcfee46a92592ea4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'fcb5e88a598d342d4cdeff4cfba0a85ea94b911e', class: "s-reviews-page-filter-wrapper" }, h("label", { key: 'e2c23398b1024647c1cfdc283392b94e3ce0e44c', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: '67f5f7748db13b7c6bdf3bbbb104d9f4b001df69', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
|
|
146
146
|
this.wrapper = el;
|
|
147
147
|
} }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
|
|
148
148
|
: h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
|
|
@@ -146,7 +146,7 @@ export class SallaScopees {
|
|
|
146
146
|
return salla.onReady();
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: 'bbf0b48e47cf334cc844cedc59ef5d430ce9cebe' }, h("salla-modal", { key: '20f8f0edb267c2a1e7cc23e930d06060916d5c64', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
|
|
150
150
|
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%' }))))
|
|
151
151
|
:
|
|
152
152
|
[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 ?
|
|
@@ -127,10 +127,10 @@ export class SallaSearch {
|
|
|
127
127
|
this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
const searchContent = (h("div", { key: '
|
|
130
|
+
const searchContent = (h("div", { key: '25c930505262a83f8a8385aa0ca665ecad2cacd1', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '09d705b9da70c128584891672ba84d660f3c6d6a', class: "s-search-input-wrapper" }, h("span", { key: '5749d0cf3ad58bf845ef116e4ee377c577a770e8', class: "s-search-icon-wrap" }, h("span", { key: 'b1acaab31a15f447fb3de27e34a0a0833620456e', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '14bbab4ab1e8be11f25e229fb8ea0e9c982f2df7', 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: {
|
|
131
131
|
height: this.height + 'px',
|
|
132
132
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
133
|
-
} }), 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: '
|
|
133
|
+
} }), 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: '9f3fe2a8b952ad3db8775eb3645cf837ad50acb2', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
|
|
134
134
|
's-search-product': true,
|
|
135
135
|
's-search-product-not-available': !product.is_available,
|
|
136
136
|
}, innerHTML: this.productSlot
|
|
@@ -139,9 +139,9 @@ export class SallaSearch {
|
|
|
139
139
|
.replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
|
|
140
140
|
? salla.money(product.regular_price)
|
|
141
141
|
: '')
|
|
142
|
-
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: '
|
|
143
|
-
const modalContent = (h("salla-modal", { key: '
|
|
144
|
-
const placeholderContent = (h("div", { key: '
|
|
142
|
+
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: '641e4165e6538523792f33694118c618818b91c9', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
|
|
143
|
+
const modalContent = (h("salla-modal", { key: '043edf7878b91643b3590bb9789a44df0a558af9', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
|
|
144
|
+
const placeholderContent = (h("div", { key: 'f5a08dc2ced47954b5a3bb87d4bc66a59e5f2660', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '94c66a1a7016718348a50e8b5bf07659f4dd97c7', class: "s-search-input-wrapper" }, h("span", { key: '9f7bd3e92af9abaf6a852437883d6485885273e8', class: "s-search-icon-wrap" }, h("span", { key: 'd907342a757eb19ef404c4dfccc273bc1341bac8', class: "s-search-icon", innerHTML: Search })), h("button", { key: 'dcc3fb071542009d706de08a23138ab46683aa6a', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
|
|
145
145
|
height: this.height + 'px',
|
|
146
146
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
147
147
|
} }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
|
|
@@ -188,18 +188,18 @@ export class SallaSearchableDropdown {
|
|
|
188
188
|
render() {
|
|
189
189
|
const hasSelection = this.selectedItem != null;
|
|
190
190
|
const listboxId = `${this.inputId}-listbox`;
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: '59eb3c601584887ecf2ff866ed861d8d5dfb7759', class: "s-searchable-dropdown" }, h("div", { key: '687e37ddded75ed6e212cd6f4ad1ef9ff28494f3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: 'f71e75c71f035d23ae97607060b9ff0f0a6996de', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: '732c16038a1530eca7776434b600bb804a479ed0', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '7d6eabf2cbf50001c454805e3c9dc7d757178e6e', class: {
|
|
192
192
|
's-searchable-dropdown-trigger': true,
|
|
193
193
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
194
194
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
195
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '
|
|
195
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'd6ddb602b2ce32102fa3301a7e76c74316ac5167', class: {
|
|
196
196
|
'sicon-keyboard_arrow_down': true,
|
|
197
197
|
's-searchable-dropdown-trigger-icon': true,
|
|
198
198
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
199
|
-
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '
|
|
199
|
+
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '329bb23e73f73957c02a6970796e210533ac74b0', class: {
|
|
200
200
|
's-searchable-dropdown-panel': true,
|
|
201
201
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
202
|
-
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '
|
|
202
|
+
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '7f143cb798a0d75bcae0f5f4bc1d634b59fad401', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: 'da0a9ab12d17cd0c82af1864ee9e1ef440295c6f', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '6d222423a8b60fa947cc3251bdb94db770aac134', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '63d8344ca677c266617dae393a3866a13d6d5613', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
203
203
|
}
|
|
204
204
|
renderListContent() {
|
|
205
205
|
if (this.searching || this.loading) {
|
|
@@ -22,7 +22,7 @@ export class SallaSkeleton {
|
|
|
22
22
|
's-skeleton-item': true,
|
|
23
23
|
's-skeleton-item-circular': this.type == 'circle',
|
|
24
24
|
};
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '5568fdecb56f5513ffbe8f9b82da106a525af6a8', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '0a69bf54dff8093adea503ec6dbcb3f07aba9e13', class: classes }, "\u00A0")));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "salla-skeleton"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -31,7 +31,7 @@ export class SallaSocial {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const linksArray = this.getLinksArray();
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'dfd63f034c588f6f6f08200d531187bd51e0b3b4' }, h("ul", { key: 'e4ec12ccb3c63a1dfdd64c5d3186734bed37db77', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
35
35
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
36
36
|
.replace(/\{type\}/g, link.type)
|
|
37
37
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -122,7 +122,7 @@ export class SallaSocialShare {
|
|
|
122
122
|
window.a2a?.init('page');
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h("div", { key: '
|
|
125
|
+
return (h("div", { key: 'e45420682a1b9bf686cbb9d3beff5a208505e1c7', class: "s-social-share-wrapper" }, h("slot", { key: '265102d26da7ce2d297969e1941b9a5785da3971', name: 'widget' }, h("salla-button", { key: '9f36a44dc9487f4956c1d8b73f0fcc41cf8a01b8', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'b34ed78cd6549bff733de5c542a42ca9aaf805d0', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: 'f8eb408030d409880391b7d13b5a701226b0d42a', 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 => {
|
|
126
126
|
return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
|
|
127
127
|
if (icon.name === platform) {
|
|
128
128
|
return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
|
|
@@ -30,7 +30,7 @@ export class SallaTabContent {
|
|
|
30
30
|
's-tabs-content': true,
|
|
31
31
|
's-tabs-content-selected': this.isSelected
|
|
32
32
|
};
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '8017c442a775f17fe6f5bf3c92dd083c9daa164e', class: classes }, h("slot", { key: '3be5606bf4ff8f3d3332f154333d4101d9dafdb5' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "salla-tab-content"; }
|
|
36
36
|
static get originalStyleUrls() {
|
|
@@ -52,7 +52,7 @@ export class SallaTabHeader {
|
|
|
52
52
|
's-tabs-active': this.isSelected,
|
|
53
53
|
};
|
|
54
54
|
return [
|
|
55
|
-
h("div", { key: '
|
|
55
|
+
h("div", { key: '17847f97d80e9f52f460b7ebcc918736cafd757d', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'e936ad59f8255ec9ad713ecb69735404e741d294' })),
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "salla-tab-header"; }
|
|
@@ -50,7 +50,7 @@ export class SallaTabs {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
return [
|
|
53
|
-
h("div", { key: '
|
|
53
|
+
h("div", { key: '2a76978734a3d8deeabbcfa7517b15a283d3071f', class: "s-tabs" }, h("div", { key: '0c565b46e62ed8fbcae0d9131619dbe83be61546', class: "s-tabs-header" }, h("slot", { key: '27ea98ff742bc51b75b35e0346733fb1c5b9526c', name: "header" })), h("div", { key: '9a76cba0e3c1f7ffb4c9d77d800ebc4d827e877c', class: "s-tabs-content-wrapper" }, h("slot", { key: '49ffe5586016252e8e3439a851c9aab0bf4e4079', name: "content" })))
|
|
54
54
|
];
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "salla-tabs"; }
|
|
@@ -123,7 +123,7 @@ export class SallaTelInput {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '849ab0e6c311e71a21154bec43421a06ef795b5e', class: "s-tel-input" }, h("input", { key: '3b7a3d8c974b9ad4562fbfbe08bcfb3eb45d809a', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'a9fbe57c48e0f9f9bf9233736206bff717c3ab21', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '930fc644b324360483ccf7e06b9bcb169a242326', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
|
|
127
127
|
}
|
|
128
128
|
componentDidLoad() {
|
|
129
129
|
this.initTelInput();
|
|
@@ -27,7 +27,7 @@ export class SallaTooltip {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: 'fa37135d001ae2cbc2ddc193aa5ddd30b062ef6c', class: "s-tooltip-container" }, h("div", { key: 'e2d803bfaf839308157f14e3af4599268c5123b0', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "salla-tooltip"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -32,7 +32,7 @@ export class SallaUserMenu {
|
|
|
32
32
|
this.rating = salla.lang.get('common.titles.rating');
|
|
33
33
|
this.wallet = salla.lang.get('common.titles.wallet');
|
|
34
34
|
this.settings = salla.lang.get('common.titles.settings');
|
|
35
|
-
this.
|
|
35
|
+
this.loyalty_points = salla.lang.get('pages.loyalty_program.loyalty_points');
|
|
36
36
|
this.logout = salla.lang.get('blocks.header.logout');
|
|
37
37
|
this.hello = salla.lang.get('pages.checkout.hello');
|
|
38
38
|
this.first_name = salla.storage.get('user.first_name') || '';
|
|
@@ -75,7 +75,7 @@ export class SallaUserMenu {
|
|
|
75
75
|
pending_orders: PendingOrdersIcon,
|
|
76
76
|
wishlist: WishListIcon,
|
|
77
77
|
wallet: WalletIcon,
|
|
78
|
-
|
|
78
|
+
loyalty_points: loyaltyProgramIcon,
|
|
79
79
|
profile: ProfileIcon
|
|
80
80
|
};
|
|
81
81
|
}
|
|
@@ -117,7 +117,7 @@ export class SallaUserMenu {
|
|
|
117
117
|
this.rating = Salla.lang.get('common.titles.rating');
|
|
118
118
|
this.wallet = Salla.lang.get('common.titles.wallet');
|
|
119
119
|
this.settings = Salla.lang.get('common.titles.settings');
|
|
120
|
-
this.
|
|
120
|
+
this.loyalty_points = Salla.lang.get('pages.loyalty_program.loyalty_points');
|
|
121
121
|
this.logout = Salla.lang.get('blocks.header.logout');
|
|
122
122
|
}
|
|
123
123
|
initiate() {
|
|
@@ -210,15 +210,14 @@ export class SallaUserMenu {
|
|
|
210
210
|
if (itemKey === 'profile' && this.profileUrl && this.sallaAccountEnabled) {
|
|
211
211
|
return { href: this.profileUrl, target: '_blank', rel: 'noopener noreferrer' };
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
const urlKey = itemKey === 'loyalty_program' ? 'loyalty' : itemKey;
|
|
213
|
+
const urlKey = itemKey === 'loyalty_points' ? 'loyalty' : itemKey;
|
|
215
214
|
return { href: Salla.url.get(urlKey) };
|
|
216
215
|
}
|
|
217
216
|
getMenuItem([itemKey, itemValue], i) {
|
|
218
217
|
//todo:: enhancement support slot here
|
|
219
218
|
if (itemKey === 'wallet' && !window.can_access_wallet)
|
|
220
219
|
return;
|
|
221
|
-
if (itemKey === '
|
|
220
|
+
if (itemKey === 'loyalty_points' && !Salla.config.get('store.features').includes('loyalty-system'))
|
|
222
221
|
return;
|
|
223
222
|
return (h("li", { class: {
|
|
224
223
|
's-user-menu-dropdown-item': true,
|
|
@@ -376,7 +375,7 @@ export class SallaUserMenu {
|
|
|
376
375
|
"rating": {},
|
|
377
376
|
"wallet": {},
|
|
378
377
|
"settings": {},
|
|
379
|
-
"
|
|
378
|
+
"loyalty_points": {},
|
|
380
379
|
"logout": {},
|
|
381
380
|
"hello": {},
|
|
382
381
|
"first_name": {},
|
|
@@ -56,7 +56,7 @@ export class SallaUserSettings {
|
|
|
56
56
|
await salla.profile.delete().finally(() => this.confirmationModal.close());
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'b41aa42e4c735f854a1fe8937484561267f4fe90', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '3b96bc67e48e1350b8e98ec87e3a69c923aea26e', class: "s-user-settings-section" }, h("salla-list-tile", { key: '45a9605ea94b821adaa559935acbac56df42549e' }, h("div", { key: 'd97df220da7e4f9103f69879215a53324052fe28', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'bdba051ce6c1e356540a72668945bcd77c4fcc07', innerHTML: UserCancel })), h("div", { key: 'aae7512323ddaf1fbb18fc6e201d73b01c7db02a', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'ea5fbd35129439c8859e3ea4ec023169c9c13500', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: 'bea5c5931955307b6d8c0040d54a4c70ac0e801f', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '025c7ba7a176ee477395716c8291414451fa0f05', class: "s-toggle" }, h("input", { key: 'e5c8a02e85404d6a997b0bc17af807ee19908569', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '945d24a60b7474e46e934cc284239f035c4552bd', class: "s-toggle-switcher" }))))), h("div", { key: '81e9ea3c92a902da5b7647b8ba4dc659e44e05af', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'b4351c518cb7f7f0a9aadc3a50ff678233374c99' }, h("div", { key: 'c9a442d5a002c3ac3bb2d59fa1a3db5a25500b5e', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'b54eb15dbaf220a1221c6054b0e178bb51eae9c7', innerHTML: Bullhorn })), h("div", { key: 'a0a95bcbc40be5896ffaa080abb0f4d093dd7384', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '8090b97110dec6b555c3daa8180fbcd0e85c5248', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '1a5b8d2df3d3ffa2e680979fcf4eeb327bd95c60', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'e0ff94d938cfd5baea7f175980c891918de2a41e', class: "s-toggle" }, h("input", { key: '56417d910ed3661f1956df6e0d056eae54a2c711', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'c96e609f1dfce22d220a2afcf678387ebd31c1d5', class: "s-toggle-switcher" }))))), h("div", { key: '4f841e1e7a1225b24387feab7543218a90c54e44', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '7b8af0c7bb366302b87634d281807b3b19c6080b' }, h("div", { key: 'b78c648e4be4a222d1d85dacb4922f409f239aa9', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'bb4e18462ead89a0a6dc5e24311713d7fda311e3', innerHTML: UserOff })), h("div", { key: '793fc8bd434e1646fdf7917d6eff326c6db62a25', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '713a7f8c4d781d07c3f426a542f7595ab5c4c0af', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '029ebe97a4c85ffd8f63866906908237dc36fe07', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '8d372e8721544b3bf41e8de5ed696a7d993c0566', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '8edab0810f1a5fcda5f50c7b1b48b7dfbe480111', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '6f9295c1d1ed58a7313f0e0d241dedc2c2dc69c7', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: 'c31ca762ee4a669acbfaa31ebfdfde8e944cb0fb', class: "s-user-settings-confirmation" }, h("div", { key: 'de944f8f24c22a2df7697ea82f67a43636ea8868', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: 'be82c1a8ae8697cd44d567d3e473aaa55d7ca09c', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: 'ddab3f9e5150a70ddf03e175bfd664fb63f385da', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '3ae59455becd85c11233404e54fb862564fd9f07', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "salla-user-settings"; }
|
|
62
62
|
static get originalStyleUrls() {
|