@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
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
|
+
var functions = require('./functions-BWxgjDLr.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-CAEeCapf.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -58,7 +58,7 @@ const SallaRewardCard = class {
|
|
|
58
58
|
this.actionClick = index.createEvent(this, "actionClick");
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: 'ff2c85a1de1ce4275f2552cecdf822001e3ad337', class: "s-loyalty-program-reward-host" }, index.h("div", { key: 'd9a5d86af489008dd0d6025bde5dcb1e9dd29bda', class: "s-loyalty-program-reward-container" }, index.h("div", { key: 'aba7aa8ee4b3c0200a122fcdb38b4ea39c7f10ec', onClick: (e) => this.areaClick.emit(e), role: "button" }, index.h("div", { key: '71234c7e6176f7c557892ef6ffa039b0f33da1ad', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'c74287127a9784d6a5500f4cf106089ef610c140', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), index.h("div", { key: 'ee30491d21384a2a2fc60efbe4b0012b72509d4b', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '94b465db9a56ca3afdfabf63cd155a4ef124dcce', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '7e92d9c135ff7acd7acce77c0abd4ef0b81f9c5f', size: "xs" }, index.h("span", { key: '83ed6d98e353843837fcf3944f424ca722583c41', innerHTML: gift.SIGift }), index.h("span", { key: '1fbf2826e7f24b5164cedb22d5875fb6956bbcdc', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: '70ecd2efe641e411127c205c689f07bc5f10a782', class: "s-loyalty-program-reward-title" }, index.h("span", { key: '274b619ba28faf0088abf3fd4053085dad570ab7' }, this.prize.group_title)), index.h("div", { key: 'e96b5ae844b6bd8ba1058361f04d63e294c873a3', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'ef4b44f80213e85882d8a5be1bbd093564d19f3c', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), index.h("div", { key: 'bf3d981f842da109f8371fe7d2346cb837974454', class: "p-4" }, index.h("slot", { key: 'e953a9eecffad0d309953805910c6bb9a66fefcf', name: "action" }, index.h("button", { key: '828ba0093dc42732c47ea635c7ea1c2ff76b0dfe', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
SallaRewardCard.style = sallaLoyaltyProgramCss$2;
|
|
@@ -172,11 +172,11 @@ const SallaRewardDetails = class {
|
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
174
|
const termsAndConditions = this.getTermsAndConditions();
|
|
175
|
-
return (index.h("div", { key: '
|
|
175
|
+
return (index.h("div", { key: 'fb021811cdf5d33ea93109e0c096114cf10f503c', class: "s-loyalty-program-reward-modal" }, index.h("div", { key: 'c73a68336a00d019363938f8c4a5e1fa42d13b41', class: "s-loyalty-program-points-modal-header" }, index.h("h1", { key: '1fdb75d9e316d30af3ff5c6d464f78e99696ab00', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
|
|
176
176
|
: index.h("button", { class: "s-loyalty-program-back-btn", onClick: () => functions.closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, index.h("span", { class: {
|
|
177
177
|
'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
|
|
178
178
|
'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
|
|
179
|
-
} })), this.prize.name)), index.h("div", { key: '
|
|
179
|
+
} })), this.prize.name)), index.h("div", { key: '564fab411c2e3961865adcaa8e6824eeb0def4e0', class: "s-loyalty-program-modal-scrollable-content" }, index.h("div", { key: 'f5ce7fe8918888301757dcd0bac81dc189c39497', class: "s-loyalty-program-reward-details-header" }, index.h("div", { key: '2bfc154cb53dc280e26e780ab9227c03901514ed', class: "s-loyalty-program-aspect-container" }, index.h("img", { key: 'a4a5112886d3adc30b26bbcd91824fc170fa8e18', src: this.prize.image, alt: this.prize.name })), index.h("salla-badge", { key: '5612a7eeaba1e853818e04b08a6facd7d8af2925', size: "sm", bg: "light" }, index.h("span", { key: 'bffedd7d2200eaa8f56b8032579ca348dec1316b', innerHTML: gift.SIGift }), index.h("span", { key: '1dedc19cf806ff84e151ff06803bbc49cfd1b060', class: "s-loyalty-program-points-badge-points" }, functions.formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : index.h("div", { class: "s-loyalty-program-terms-and-conditions" }, index.h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), index.h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (index.h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, index.h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), index.h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), index.h("div", { key: '7875f48e05bc4dd2742886b0ba2a29fbab5fbaad', class: "s-loyalty-program-reward-info-message" }, index.h("h1", { key: '9ad44e6b950c95f11e22c945777741da0a1c1f1f', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), index.h("p", { key: 'f307a5600ee1ae6afa0c3dd9a0175cf51bff2645', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : index.h("div", { class: "s-loyalty-program-reward-details" }, index.h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
|
|
180
180
|
index.h("salla-tab-header", { slot: "header", name: "included", style: {
|
|
181
181
|
display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
|
|
182
182
|
} }, index.h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: check.SICheck }), index.h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
|
|
@@ -186,7 +186,7 @@ const SallaRewardDetails = class {
|
|
|
186
186
|
display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
|
|
187
187
|
} }, index.h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: cancel.SICancel }), index.h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
|
|
188
188
|
index.h("salla-tab-content", { slot: "content", name: "excluded" }, index.h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
|
|
189
|
-
]))), index.h("salla-reward-action", { key: '
|
|
189
|
+
]))), index.h("salla-reward-action", { key: '3d608fc6122d6335eb5e6cff9fcf9602d0217e87', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
|
|
190
190
|
}
|
|
191
191
|
static get watchers() { return {
|
|
192
192
|
"prize": ["handlePrizeChange"]
|
|
@@ -245,11 +245,11 @@ const SallaRewardExchange = class {
|
|
|
245
245
|
this.reset(0);
|
|
246
246
|
}
|
|
247
247
|
render() {
|
|
248
|
-
return (index.h(index.Host, { key: '
|
|
248
|
+
return (index.h(index.Host, { key: 'c439b30ee85140f6af8e133907d44a69ad1cbb69' }, index.h("div", { key: '335d9e5329ec4ade97913a6bd7af00758f0f2a47', class: "s-loyalty-program-exchange-heading" }, index.h("div", { key: '6d2153a978d5d0f3c3fc6b8feaed5ac96ebab0ee', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, index.h("span", { key: 'fdc6e54b514e3102b396647325c666178587a198', innerHTML: gift.SIGift })), index.h("h2", { key: '5ac423eaaf013b3c46d86e9a680707456f5478c0' }, salla.lang.get('pages.loyalty_program.redeem_reward')), index.h("p", { key: '7ab7798976d75aa3e754140a4a0939c7c49da23b' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", index.h("span", { key: '4ea9b84fe5e16de4eef4e39b9c8db8a64aee6027' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", index.h("span", { key: '167875c77af0c3a2ea16366de8f0a38a9006d793' }, "(", this.prize.name, ")"))), index.h("div", { key: 'c28a83451b8643cb8e0814c80ef5e8ebd96b78fa', class: "s-loyalty-program-exchange-btns" }, index.h("button", { key: 'e641d0cc51d38cf78ff90111d075b1fa47a27c0a', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, index.h("span", { key: '770e74035f82dadb891764191ae636f9d08b7fa4', style: {
|
|
249
249
|
opacity: this.exchange.status !== 'pending' ? '1' : '0',
|
|
250
|
-
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: '
|
|
250
|
+
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: 'dd2a8642d52b7ea26778e2b5050ad38f3933cb11', class: "s-loyalty-program-exchange-loading", style: {
|
|
251
251
|
opacity: this.exchange.status === 'pending' ? '1' : '0',
|
|
252
|
-
} }, index.h("salla-loading", { key: '
|
|
252
|
+
} }, index.h("salla-loading", { key: '384a7fc33d99393439939a9341b858a364ae19fa', color: "primary", size: 24 }))), index.h("button", { key: 'd264d1d5dcc6fe673c9f3ba7604c6b267ea7215b', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
__decorate([
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
8
|
|
|
9
9
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -160,7 +160,7 @@ const SallaScopees = class {
|
|
|
160
160
|
return salla.onReady();
|
|
161
161
|
}
|
|
162
162
|
render() {
|
|
163
|
-
return (index.h(index.Host, { key: '
|
|
163
|
+
return (index.h(index.Host, { key: 'bbf0b48e47cf334cc844cedc59ef5d430ce9cebe' }, index.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 ?
|
|
164
164
|
index.h("div", { slot: "loading" }, index.h("div", { class: "s-scopes-skeleton" }, index.h("salla-list-tile", { class: "s-scopes-header" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon" }, index.h("salla-skeleton", { type: "circle" })), index.h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, index.h("salla-skeleton", { height: '15px', width: '50%' })), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, index.h("salla-skeleton", { height: '10px' }), index.h("salla-skeleton", { height: '10px', width: '75%' }))), index.h("div", { class: "s-scopes-skeleton-search" }, index.h("salla-skeleton", { height: '10px', width: '50%' }), index.h("salla-skeleton", { height: '30px', width: '100%' })), index.h("div", { class: "s-scopes-skeleton-scopes" }, index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' })), index.h("div", { class: "s-scopes-skeleton-btn" }, index.h("salla-skeleton", { height: '40px', width: '100%' }))))
|
|
165
165
|
:
|
|
166
166
|
[index.h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), index.h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), index.h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && index.h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
8
|
var Helper = require('./Helper-CgGR9Qf8.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -131,10 +131,10 @@ const SallaSearch = class {
|
|
|
131
131
|
this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
const searchContent = (index.h("div", { key: '
|
|
134
|
+
const searchContent = (index.h("div", { key: '25c930505262a83f8a8385aa0ca665ecad2cacd1', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: '09d705b9da70c128584891672ba84d660f3c6d6a', class: "s-search-input-wrapper" }, index.h("span", { key: '5749d0cf3ad58bf845ef116e4ee377c577a770e8', class: "s-search-icon-wrap" }, index.h("span", { key: 'b1acaab31a15f447fb3de27e34a0a0833620456e', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.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: {
|
|
135
135
|
height: this.height + 'px',
|
|
136
136
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
137
|
-
} }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: '
|
|
137
|
+
} }), this.showAction ? (index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: search.Search }))) : null), index.h("div", { key: '9f3fe2a8b952ad3db8775eb3645cf837ad50acb2', class: "s-search-results" }, this.results?.data.map(product => (index.h("a", { href: product.url + '?from=search-bar', class: {
|
|
138
138
|
's-search-product': true,
|
|
139
139
|
's-search-product-not-available': !product.is_available,
|
|
140
140
|
}, innerHTML: this.productSlot
|
|
@@ -143,9 +143,9 @@ const SallaSearch = class {
|
|
|
143
143
|
.replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
|
|
144
144
|
? salla.money(product.regular_price)
|
|
145
145
|
: '')
|
|
146
|
-
.replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: '
|
|
147
|
-
const modalContent = (index.h("salla-modal", { key: '
|
|
148
|
-
const placeholderContent = (index.h("div", { key: '
|
|
146
|
+
.replace(/\{image\}/g, product.image.url) }))), index.h("p", { key: '641e4165e6538523792f33694118c618818b91c9', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
|
|
147
|
+
const modalContent = (index.h("salla-modal", { key: '043edf7878b91643b3590bb9789a44df0a558af9', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
|
|
148
|
+
const placeholderContent = (index.h("div", { key: 'f5a08dc2ced47954b5a3bb87d4bc66a59e5f2660', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: '94c66a1a7016718348a50e8b5bf07659f4dd97c7', class: "s-search-input-wrapper" }, index.h("span", { key: '9f7bd3e92af9abaf6a852437883d6485885273e8', class: "s-search-icon-wrap" }, index.h("span", { key: 'd907342a757eb19ef404c4dfccc273bc1341bac8', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: 'dcc3fb071542009d706de08a23138ab46683aa6a', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
|
|
149
149
|
height: this.height + 'px',
|
|
150
150
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
151
151
|
} }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
|
|
8
8
|
const sallaSkeletonCss = ":host{display:block}";
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ const SallaSkeleton = class {
|
|
|
28
28
|
's-skeleton-item': true,
|
|
29
29
|
's-skeleton-item-circular': this.type == 'circle',
|
|
30
30
|
};
|
|
31
|
-
return (index.h(index.Host, { key: '
|
|
31
|
+
return (index.h(index.Host, { key: '5568fdecb56f5513ffbe8f9b82da106a525af6a8', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '0a69bf54dff8093adea503ec6dbcb3f07aba9e13', class: classes }, "\u00A0")));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
SallaSkeleton.style = sallaSkeletonCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
9
9
|
var mail = require('./mail-Bgvt2hc9.js');
|
|
@@ -150,7 +150,7 @@ const SallaSocialShare = class {
|
|
|
150
150
|
window.a2a?.init('page');
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return (index.h("div", { key: '
|
|
153
|
+
return (index.h("div", { key: 'e45420682a1b9bf686cbb9d3beff5a208505e1c7', class: "s-social-share-wrapper" }, index.h("slot", { key: '265102d26da7ce2d297969e1941b9a5785da3971', name: 'widget' }, index.h("salla-button", { key: '9f36a44dc9487f4956c1d8b73f0fcc41cf8a01b8', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: 'b34ed78cd6549bff733de5c542a42ca9aaf805d0', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), index.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 => {
|
|
154
154
|
return (index.h("li", null, index.h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
|
|
155
155
|
if (icon.name === platform) {
|
|
156
156
|
return index.h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
8
8
|
|
|
9
9
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -57,7 +57,7 @@ const SallaSocial = class {
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const linksArray = this.getLinksArray();
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: 'dfd63f034c588f6f6f08200d531187bd51e0b3b4' }, index.h("ul", { key: 'e4ec12ccb3c63a1dfdd64c5d3186734bed37db77', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
61
61
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
62
62
|
.replace(/\{type\}/g, link.type)
|
|
63
63
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
|
|
8
8
|
const sallaTabContentCss = "";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTabContent = class {
|
|
|
33
33
|
's-tabs-content': true,
|
|
34
34
|
's-tabs-content-selected': this.isSelected
|
|
35
35
|
};
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '8017c442a775f17fe6f5bf3c92dd083c9daa164e', class: classes }, index.h("slot", { key: '3be5606bf4ff8f3d3332f154333d4101d9dafdb5' })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
SallaTabContent.style = sallaTabContentCss;
|
|
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
|
|
|
92
92
|
's-tabs-active': this.isSelected,
|
|
93
93
|
};
|
|
94
94
|
return [
|
|
95
|
-
index.h("div", { key: '
|
|
95
|
+
index.h("div", { key: '17847f97d80e9f52f460b7ebcc918736cafd757d', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: 'e936ad59f8255ec9ad713ecb69735404e741d294' })),
|
|
96
96
|
];
|
|
97
97
|
}
|
|
98
98
|
};
|
|
@@ -145,7 +145,7 @@ const SallaTabs = class {
|
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
147
|
return [
|
|
148
|
-
index.h("div", { key: '
|
|
148
|
+
index.h("div", { key: '2a76978734a3d8deeabbcfa7517b15a283d3071f', class: "s-tabs" }, index.h("div", { key: '0c565b46e62ed8fbcae0d9131619dbe83be61546', class: "s-tabs-header" }, index.h("slot", { key: '27ea98ff742bc51b75b35e0346733fb1c5b9526c', name: "header" })), index.h("div", { key: '9a76cba0e3c1f7ffb4c9d77d800ebc4d827e877c', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '49ffe5586016252e8e3439a851c9aab0bf4e4079', name: "content" })))
|
|
149
149
|
];
|
|
150
150
|
}
|
|
151
151
|
get host() { return index.getElement(this); }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTooltip = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: 'fa37135d001ae2cbc2ddc193aa5ddd30b062ef6c', class: "s-tooltip-container" }, index.h("div", { key: 'e2d803bfaf839308157f14e3af4599268c5123b0', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
|
|
37
37
|
}
|
|
38
38
|
get el() { return index.getElement(this); }
|
|
39
39
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -62,7 +62,7 @@ const SallaUserMenu = class {
|
|
|
62
62
|
this.rating = salla.lang.get('common.titles.rating');
|
|
63
63
|
this.wallet = salla.lang.get('common.titles.wallet');
|
|
64
64
|
this.settings = salla.lang.get('common.titles.settings');
|
|
65
|
-
this.
|
|
65
|
+
this.loyalty_points = salla.lang.get('pages.loyalty_program.loyalty_points');
|
|
66
66
|
this.logout = salla.lang.get('blocks.header.logout');
|
|
67
67
|
this.hello = salla.lang.get('pages.checkout.hello');
|
|
68
68
|
this.first_name = salla.storage.get('user.first_name') || '';
|
|
@@ -105,7 +105,7 @@ const SallaUserMenu = class {
|
|
|
105
105
|
pending_orders: cart.PendingOrdersIcon,
|
|
106
106
|
wishlist: star.WishListIcon,
|
|
107
107
|
wallet: WalletIcon,
|
|
108
|
-
|
|
108
|
+
loyalty_points: gift.SIGift,
|
|
109
109
|
profile: UserCircle
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -147,7 +147,7 @@ const SallaUserMenu = class {
|
|
|
147
147
|
this.rating = Salla.lang.get('common.titles.rating');
|
|
148
148
|
this.wallet = Salla.lang.get('common.titles.wallet');
|
|
149
149
|
this.settings = Salla.lang.get('common.titles.settings');
|
|
150
|
-
this.
|
|
150
|
+
this.loyalty_points = Salla.lang.get('pages.loyalty_program.loyalty_points');
|
|
151
151
|
this.logout = Salla.lang.get('blocks.header.logout');
|
|
152
152
|
}
|
|
153
153
|
initiate() {
|
|
@@ -240,15 +240,14 @@ const SallaUserMenu = class {
|
|
|
240
240
|
if (itemKey === 'profile' && this.profileUrl && this.sallaAccountEnabled) {
|
|
241
241
|
return { href: this.profileUrl, target: '_blank', rel: 'noopener noreferrer' };
|
|
242
242
|
}
|
|
243
|
-
|
|
244
|
-
const urlKey = itemKey === 'loyalty_program' ? 'loyalty' : itemKey;
|
|
243
|
+
const urlKey = itemKey === 'loyalty_points' ? 'loyalty' : itemKey;
|
|
245
244
|
return { href: Salla.url.get(urlKey) };
|
|
246
245
|
}
|
|
247
246
|
getMenuItem([itemKey, itemValue], i) {
|
|
248
247
|
//todo:: enhancement support slot here
|
|
249
248
|
if (itemKey === 'wallet' && !window.can_access_wallet)
|
|
250
249
|
return;
|
|
251
|
-
if (itemKey === '
|
|
250
|
+
if (itemKey === 'loyalty_points' && !Salla.config.get('store.features').includes('loyalty-system'))
|
|
252
251
|
return;
|
|
253
252
|
return (index.h("li", { class: {
|
|
254
253
|
's-user-menu-dropdown-item': true,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
|
|
8
8
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -80,7 +80,7 @@ const SallaUserSettings = class {
|
|
|
80
80
|
await salla.profile.delete().finally(() => this.confirmationModal.close());
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: 'b41aa42e4c735f854a1fe8937484561267f4fe90', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '3b96bc67e48e1350b8e98ec87e3a69c923aea26e', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '45a9605ea94b821adaa559935acbac56df42549e' }, index.h("div", { key: 'd97df220da7e4f9103f69879215a53324052fe28', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'bdba051ce6c1e356540a72668945bcd77c4fcc07', innerHTML: UserCancel })), index.h("div", { key: 'aae7512323ddaf1fbb18fc6e201d73b01c7db02a', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: 'ea5fbd35129439c8859e3ea4ec023169c9c13500', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: 'bea5c5931955307b6d8c0040d54a4c70ac0e801f', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '025c7ba7a176ee477395716c8291414451fa0f05', class: "s-toggle" }, index.h("input", { key: 'e5c8a02e85404d6a997b0bc17af807ee19908569', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '945d24a60b7474e46e934cc284239f035c4552bd', class: "s-toggle-switcher" }))))), index.h("div", { key: '81e9ea3c92a902da5b7647b8ba4dc659e44e05af', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'b4351c518cb7f7f0a9aadc3a50ff678233374c99' }, index.h("div", { key: 'c9a442d5a002c3ac3bb2d59fa1a3db5a25500b5e', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'b54eb15dbaf220a1221c6054b0e178bb51eae9c7', innerHTML: Bullhorn })), index.h("div", { key: 'a0a95bcbc40be5896ffaa080abb0f4d093dd7384', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '8090b97110dec6b555c3daa8180fbcd0e85c5248', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '1a5b8d2df3d3ffa2e680979fcf4eeb327bd95c60', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'e0ff94d938cfd5baea7f175980c891918de2a41e', class: "s-toggle" }, index.h("input", { key: '56417d910ed3661f1956df6e0d056eae54a2c711', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: 'c96e609f1dfce22d220a2afcf678387ebd31c1d5', class: "s-toggle-switcher" }))))), index.h("div", { key: '4f841e1e7a1225b24387feab7543218a90c54e44', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '7b8af0c7bb366302b87634d281807b3b19c6080b' }, index.h("div", { key: 'b78c648e4be4a222d1d85dacb4922f409f239aa9', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'bb4e18462ead89a0a6dc5e24311713d7fda311e3', innerHTML: UserOff })), index.h("div", { key: '793fc8bd434e1646fdf7917d6eff326c6db62a25', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '713a7f8c4d781d07c3f426a542f7595ab5c4c0af', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: '029ebe97a4c85ffd8f63866906908237dc36fe07', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: '8d372e8721544b3bf41e8de5ed696a7d993c0566', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: '8edab0810f1a5fcda5f50c7b1b48b7dfbe480111', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '6f9295c1d1ed58a7313f0e0d241dedc2c2dc69c7', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: 'c31ca762ee4a669acbfaa31ebfdfde8e944cb0fb', class: "s-user-settings-confirmation" }, index.h("div", { key: 'de944f8f24c22a2df7697ea82f67a43636ea8868', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: 'be82c1a8ae8697cd44d567d3e473aaa55d7ca09c', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: 'ddab3f9e5150a70ddf03e175bfd664fb63f385da', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '3ae59455becd85c11233404e54fb862564fd9f07', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SallaUserSettings.style = sallaUserSettingsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-erFsk7OI.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|