@salla.sa/twilight-components 2.14.427 → 2.14.429
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-CnPKR-6x.js → filepond--V9rRgVA.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-D0g6EUyA.js → filepond-plugin-file-poster-DzvswSJb.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DXUJ6UPq.js → filepond-plugin-file-validate-size-C5wUWXz6.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-NgEbyq_W.js → filepond-plugin-file-validate-type-HA2w2_fC.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DU4QWlEV.js → filepond-plugin-image-edit-CXrhd-IB.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-xYuPxwvc.js → filepond-plugin-image-exif-orientation-BJnamgw6.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CY_efZwj.js → filepond-plugin-image-preview-CmdkZJij.js} +1 -1
- package/dist/cjs/{functions-CTufnsoC.js → functions-DPnm948J.js} +1 -1
- package/dist/cjs/{index-BEj17I33.js → index-D3xsx646.js} +6 -6
- package/dist/cjs/{index-Z8F5J-RV.js → index-DRfjMaC1.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
- package/dist/cjs/{salla-bullet-delivery.cjs.entry.js → salla-bullet-delivery_2.cjs.entry.js} +635 -140
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +43 -17
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +2 -2
- package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
- package/dist/cjs/salla-hook.cjs.entry.js +2 -2
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
- package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
- package/dist/cjs/salla-map.cjs.entry.js +4 -4
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +3 -3
- package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
- package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
- package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
- package/dist/cjs/salla-search.cjs.entry.js +6 -6
- package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-C_10lCIK.js → tracked-promise-CFp5Besf.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-D9nRSUSv.js → vanilla-picker-Jk2F9CAy.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/salla-bullet-delivery/api-service.js +80 -13
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +5 -0
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +344 -120
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
- package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
- package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
- package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
- package/dist/collection/components/salla-delivery-promise/delivery-promise-api.js +4 -5
- package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +40 -12
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
- package/dist/collection/components/salla-filters/salla-filters.js +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
- package/dist/collection/components/salla-fulfillment-methods/salla-fulfillment-methods.js +1 -1
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
- package/dist/collection/components/salla-hook/salla-hook.js +1 -1
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
- package/dist/collection/components/salla-loading/salla-loading.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
- package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
- package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
- package/dist/collection/components/salla-map/salla-map.js +3 -3
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
- package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
- package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
- package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +2 -2
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
- package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
- package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
- package/dist/collection/components/salla-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/interfaces.js +1 -0
- package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +566 -0
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bullet-delivery.js +445 -148
- package/dist/components/salla-cart-coupons.js +1 -1
- package/dist/components/salla-cart-summary.js +1 -1
- package/dist/components/salla-color-picker2.js +1 -1
- package/dist/components/salla-comment-form2.js +1 -1
- package/dist/components/salla-comment-item2.js +3 -3
- package/dist/components/salla-conditional-fields2.js +1 -1
- package/dist/components/salla-count-down2.js +1 -1
- package/dist/components/salla-datetime-picker2.js +1 -1
- package/dist/components/salla-delivery-promise.js +42 -16
- package/dist/components/salla-file-upload2.js +2 -2
- package/dist/components/salla-filters-widget2.js +2 -2
- package/dist/components/salla-filters.js +1 -1
- package/dist/components/salla-fulfillment-methods.js +1 -1
- package/dist/components/salla-gifting.js +2 -2
- package/dist/components/salla-hook.js +1 -1
- package/dist/components/salla-list-tile2.js +1 -1
- package/dist/components/salla-loading2.js +1 -1
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-loyalty-hero2.js +3 -3
- package/dist/components/salla-loyalty-point2.js +3 -3
- package/dist/components/salla-loyalty-prize-item.js +1 -1
- package/dist/components/salla-loyalty-reward.js +2 -2
- package/dist/components/salla-maintenance-alert.js +1 -1
- package/dist/components/salla-map2.js +3 -3
- package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
- package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
- package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
- package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
- package/dist/components/salla-multiple-bundle-product.js +1 -1
- package/dist/components/salla-notification-item2.js +1 -1
- package/dist/components/salla-offer-modal.js +1 -1
- package/dist/components/salla-order-details.js +1 -1
- package/dist/components/salla-order-edit-product-card.js +1 -1
- package/dist/components/salla-order-summary.js +1 -1
- package/dist/components/salla-payments.js +2 -2
- package/dist/components/salla-placeholder2.js +1 -1
- package/dist/components/salla-price-range2.js +2 -2
- package/dist/components/salla-product-availability2.js +1 -1
- package/dist/components/salla-product-card2.js +5 -5
- package/dist/components/salla-product-size-guide.js +2 -2
- package/dist/components/salla-quantity-input2.js +1 -1
- package/dist/components/salla-quick-buy2.js +1 -1
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +1 -1
- package/dist/components/salla-reward-action2.js +1 -1
- package/dist/components/salla-reward-card2.js +1 -1
- package/dist/components/salla-reward-details2.js +3 -3
- package/dist/components/salla-reward-exchange2.js +3 -3
- package/dist/components/salla-scopes.js +1 -1
- package/dist/components/salla-search.js +5 -5
- package/dist/components/salla-searchable-dropdown.d.ts +11 -0
- package/dist/components/salla-searchable-dropdown.js +9 -0
- package/dist/components/salla-searchable-dropdown2.js +255 -0
- 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-settings.js +1 -1
- package/dist/esm/{filepond-BRnZDx-B.js → filepond-fJKURtC4.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-D5fDjFO7.js → filepond-plugin-file-poster-Ll-3yUwR.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CFvpeu0k.js → filepond-plugin-file-validate-size-2D44oWIJ.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BhjoaDUg.js → filepond-plugin-file-validate-type-08Jawn6d.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Cenn_Vlr.js → filepond-plugin-image-edit-DmEVMjMi.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DC9TWqJo.js → filepond-plugin-image-exif-orientation-DJo_07yV.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-Bj9DJRFj.js → filepond-plugin-image-preview-Nd-PQAho.js} +1 -1
- package/dist/esm/{functions-DyAwfRCL.js → functions-GnOlk8am.js} +1 -1
- package/dist/esm/{index-COFXO9XT.js → index-Ba0YDJC7.js} +1 -1
- package/dist/esm/{index-2RfKl9ZG.js → index-DR8BHH7X.js} +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +3 -3
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +17 -17
- package/dist/esm/{salla-bullet-delivery.entry.js → salla-bullet-delivery_2.entry.js} +635 -141
- package/dist/esm/salla-cart-coupons.entry.js +2 -2
- package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
- package/dist/esm/salla-comment-form_8.entry.js +8 -8
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +2 -2
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +43 -17
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +3 -3
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +2 -2
- package/dist/esm/salla-gifting.entry.js +3 -3
- package/dist/esm/salla-hook.entry.js +2 -2
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +2 -2
- package/dist/esm/salla-localization-modal.entry.js +2 -2
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +4 -4
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +2 -2
- package/dist/esm/salla-map.entry.js +4 -4
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
- package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +2 -2
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +2 -2
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +2 -2
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +2 -2
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +3 -3
- package/dist/esm/salla-placeholder.entry.js +2 -2
- package/dist/esm/salla-price-range.entry.js +3 -3
- package/dist/esm/salla-product-card_2.entry.js +6 -6
- package/dist/esm/salla-product-size-guide.entry.js +3 -3
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +11 -11
- package/dist/esm/salla-scopes.entry.js +2 -2
- package/dist/esm/salla-search.entry.js +6 -6
- package/dist/esm/salla-skeleton.entry.js +2 -2
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/{tracked-promise-DjHV13KA.js → tracked-promise-BTkBmrok.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BoRNi1fj.js → vanilla-picker-f4lmttLY.js} +1 -1
- package/dist/twilight/p-031f8d35.entry.js +4 -0
- package/dist/twilight/{p-ddb5f8e3.entry.js → p-08c6172b.entry.js} +1 -1
- package/dist/twilight/p-097e2ba0.entry.js +4 -0
- package/dist/twilight/p-0ccf332d.entry.js +4 -0
- package/dist/twilight/{p-3d7a49d9.entry.js → p-103dc47c.entry.js} +1 -1
- package/dist/twilight/{p-c4b74217.entry.js → p-1208793a.entry.js} +1 -1
- package/dist/twilight/{p-15258fe3.entry.js → p-154e782d.entry.js} +1 -1
- package/dist/twilight/{p-b64d9557.entry.js → p-19bb31a5.entry.js} +1 -1
- package/dist/twilight/{p-022144ee.entry.js → p-1c8726e2.entry.js} +1 -1
- package/dist/twilight/{p-adf96b4c.entry.js → p-1e7d16a3.entry.js} +1 -1
- package/dist/twilight/{p-b4273ea4.entry.js → p-2d705236.entry.js} +1 -1
- package/dist/twilight/{p-7106682a.entry.js → p-2e8588ca.entry.js} +1 -1
- package/dist/twilight/{p-fb1b997d.entry.js → p-30256e5f.entry.js} +1 -1
- package/dist/twilight/p-308cfcab.entry.js +4 -0
- package/dist/twilight/{p-f1859466.entry.js → p-38a8f05e.entry.js} +1 -1
- package/dist/twilight/{p-a4f96a76.entry.js → p-3910e00f.entry.js} +1 -1
- package/dist/twilight/{p-ece0e68f.entry.js → p-3a2fdd6f.entry.js} +1 -1
- package/dist/twilight/p-3cc1582f.entry.js +4 -0
- package/dist/twilight/p-3ec34eae.entry.js +4 -0
- package/dist/twilight/{p-916187fb.entry.js → p-400257fd.entry.js} +1 -1
- package/dist/twilight/{p-a72161e7.entry.js → p-42cc9b33.entry.js} +1 -1
- package/dist/twilight/{p-7f07d192.entry.js → p-4482e672.entry.js} +1 -1
- package/dist/twilight/{p-aac173b7.entry.js → p-44b289bb.entry.js} +1 -1
- package/dist/twilight/{p-d2b90374.entry.js → p-4da58baf.entry.js} +1 -1
- package/dist/twilight/{p-390e50ee.entry.js → p-4f873363.entry.js} +1 -1
- package/dist/twilight/{p-1cc094d9.entry.js → p-5999d681.entry.js} +1 -1
- package/dist/twilight/{p-a96ae5ac.entry.js → p-59f47a08.entry.js} +1 -1
- package/dist/twilight/{p-9d20db0f.entry.js → p-5c347cd5.entry.js} +1 -1
- package/dist/twilight/{p-184fbcdf.entry.js → p-5ebbec76.entry.js} +1 -1
- package/dist/twilight/{p-56070211.entry.js → p-5ecf2b26.entry.js} +1 -1
- package/dist/twilight/{p-ce0ecd6d.entry.js → p-612c5b08.entry.js} +1 -1
- package/dist/twilight/{p-3eb30788.entry.js → p-624503ee.entry.js} +1 -1
- package/dist/twilight/{p-597273c9.entry.js → p-6339390a.entry.js} +1 -1
- package/dist/twilight/p-64376e97.entry.js +4 -0
- package/dist/twilight/{p-b75f02c5.entry.js → p-65839961.entry.js} +1 -1
- package/dist/twilight/{p-416bfa3c.entry.js → p-6c58235e.entry.js} +1 -1
- package/dist/twilight/{p-f5b4faf1.entry.js → p-6e26c815.entry.js} +1 -1
- package/dist/twilight/p-6f3da0b7.entry.js +4 -0
- package/dist/twilight/{p-63b807d8.entry.js → p-72b1e6ed.entry.js} +1 -1
- package/dist/twilight/{p-d198466f.entry.js → p-745329af.entry.js} +1 -1
- package/dist/twilight/{p-68981b47.entry.js → p-74eb04ec.entry.js} +1 -1
- package/dist/twilight/{p-be9b05ed.entry.js → p-78ce73ba.entry.js} +1 -1
- package/dist/twilight/{p-a4ee0f48.entry.js → p-7edaa78b.entry.js} +1 -1
- package/dist/twilight/{p-6fa8dc48.entry.js → p-807db423.entry.js} +1 -1
- package/dist/twilight/{p-5f4491df.entry.js → p-824dd42e.entry.js} +1 -1
- package/dist/twilight/{p-15f7a80c.entry.js → p-835c43e6.entry.js} +1 -1
- package/dist/twilight/{p-fdd9c784.entry.js → p-83c1d4b2.entry.js} +1 -1
- package/dist/twilight/{p-82b0696f.entry.js → p-8709e981.entry.js} +1 -1
- package/dist/twilight/{p-31a1aa8c.entry.js → p-8bfca6eb.entry.js} +1 -1
- package/dist/twilight/{p-26659429.entry.js → p-8fad5c91.entry.js} +1 -1
- package/dist/twilight/{p-abb0fe8a.entry.js → p-96d644b8.entry.js} +1 -1
- package/dist/twilight/{p-c57f29fb.entry.js → p-99d0fd61.entry.js} +1 -1
- package/dist/twilight/{p-9c6c3383.entry.js → p-9bde5e3c.entry.js} +1 -1
- package/dist/twilight/{p-25d69769.entry.js → p-9f320350.entry.js} +1 -1
- package/dist/twilight/{p-BRZ-xY4O.js → p-Bc2RLvfZ.js} +1 -1
- package/dist/twilight/{p-DIgIfJIX.js → p-CdbTKQNp.js} +1 -1
- package/dist/twilight/{p-BQHT0o4-.js → p-CiAXtUPQ.js} +1 -1
- package/dist/twilight/{p-gzETizzN.js → p-CmDT48y4.js} +1 -1
- package/dist/twilight/{p-f2zyoe62.js → p-D0FlIX_Z.js} +1 -1
- package/dist/twilight/{p-2RfKl9ZG.js → p-DR8BHH7X.js} +1 -1
- package/dist/twilight/{p-NH4fFDqc.js → p-Dqb1Ri2Y.js} +1 -1
- package/dist/twilight/{p-hMPmvZ4N.js → p-Dtp3srRX.js} +1 -1
- package/dist/twilight/{p-BWhaHax9.js → p-NohMjDY2.js} +1 -1
- package/dist/twilight/{p-5517f377.entry.js → p-a9cbd414.entry.js} +1 -1
- package/dist/twilight/{p-f758d06b.entry.js → p-b20265f2.entry.js} +1 -1
- package/dist/twilight/{p-826b7e39.entry.js → p-b59b7153.entry.js} +1 -1
- package/dist/twilight/{p-cd392e48.entry.js → p-bc47e256.entry.js} +1 -1
- package/dist/twilight/{p-c395af37.entry.js → p-bc76d253.entry.js} +1 -1
- package/dist/twilight/{p-f6afdeea.entry.js → p-bcf201a8.entry.js} +1 -1
- package/dist/twilight/{p-4a41c81f.entry.js → p-beb17e29.entry.js} +1 -1
- package/dist/twilight/{p-5dbfbde6.entry.js → p-c00d4e23.entry.js} +1 -1
- package/dist/twilight/p-c137e672.entry.js +4 -0
- package/dist/twilight/{p-49a31434.entry.js → p-c47e85e9.entry.js} +1 -1
- package/dist/twilight/{p-9e20aea5.entry.js → p-c4960804.entry.js} +1 -1
- package/dist/twilight/{p-0c50e6d1.entry.js → p-c52aac33.entry.js} +1 -1
- package/dist/twilight/{p-58e57008.entry.js → p-c707f55b.entry.js} +1 -1
- package/dist/twilight/p-cb8a1223.entry.js +4 -0
- package/dist/twilight/{p-0f17896f.entry.js → p-ccfe690a.entry.js} +1 -1
- package/dist/twilight/{p-B-Ntbq8B.js → p-cvulr5dQ.js} +1 -1
- package/dist/twilight/{p-674370d9.entry.js → p-d01e76f4.entry.js} +1 -1
- package/dist/twilight/{p-ea3e4838.entry.js → p-d567481d.entry.js} +1 -1
- package/dist/twilight/{p-d0a034ad.entry.js → p-d617d844.entry.js} +1 -1
- package/dist/twilight/{p-b59ea7ea.entry.js → p-df173474.entry.js} +1 -1
- package/dist/twilight/{p-85f0187e.entry.js → p-e0244c37.entry.js} +1 -1
- package/dist/twilight/{p-3c82be41.entry.js → p-e0750731.entry.js} +1 -1
- package/dist/twilight/{p-a44b9668.entry.js → p-e0af89bc.entry.js} +1 -1
- package/dist/twilight/{p-f95df964.entry.js → p-ed6007e1.entry.js} +1 -1
- package/dist/twilight/{p-6591111e.entry.js → p-ed8951c5.entry.js} +1 -1
- package/dist/twilight/p-f245d317.entry.js +4 -0
- package/dist/twilight/{p-f2cb9377.entry.js → p-f2b204a4.entry.js} +1 -1
- package/dist/twilight/{p-8fc96e64.entry.js → p-f579e8ef.entry.js} +1 -1
- package/dist/twilight/{p-ffa981ec.entry.js → p-fca971a6.entry.js} +1 -1
- package/dist/twilight/{p-3aa1e961.entry.js → p-ff75f1c4.entry.js} +1 -1
- package/dist/twilight/{p-8Cy2-80S.js → p-hkzTCOEy.js} +1 -1
- package/dist/twilight/{p-Ctl2lOrt.js → p-kg7IhfAv.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/api-service.d.ts +6 -5
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +38 -6
- package/dist/types/components/salla-delivery-promise/delivery-promise-api.d.ts +1 -1
- package/dist/types/components/salla-delivery-promise/salla-delivery-promise.d.ts +2 -0
- package/dist/types/components/salla-searchable-dropdown/interfaces.d.ts +5 -0
- package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +47 -0
- package/dist/types/components.d.ts +135 -0
- package/package.json +5 -5
- package/dist/twilight/p-5be4ae85.entry.js +0 -4
- package/dist/twilight/p-5c2dcdb0.entry.js +0 -4
- package/dist/twilight/p-637724e7.entry.js +0 -4
- package/dist/twilight/p-68f163aa.entry.js +0 -4
- package/dist/twilight/p-6bf87309.entry.js +0 -4
- package/dist/twilight/p-873eed59.entry.js +0 -4
- package/dist/twilight/p-879f08a4.entry.js +0 -4
- package/dist/twilight/p-ae6aabba.entry.js +0 -4
- package/dist/twilight/p-d0520b44.entry.js +0 -4
- package/dist/twilight/p-dd0be0da.entry.js +0 -4
- package/dist/twilight/p-ec899dc9.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
|
|
8
8
|
const sallaPaymentsCss = ":host{display:block}";
|
|
9
9
|
|
|
@@ -36,12 +36,12 @@ const SallaPayments = class {
|
|
|
36
36
|
render() {
|
|
37
37
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
38
38
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '89a4100b0a96ac9da69d1ceeafb57aacfd065923', class: "s-payments-list-wrap" }, index.h("ul", { key: 'dbbd6ea7050ce8e35f49000c09f2e927b23986f1', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '28a785784b7b2bbd4edeaa9c2a1ffdbb21fa8baa', class: "s-payments-list-item" }, index.h("img", { key: 'b2a2c0eda5ce76e0bdff63f329912a7bdcaf304c', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
40
40
|
index.h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
41
41
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
|
|
42
42
|
index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
43
43
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
|
|
44
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '
|
|
44
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '5fbda85b2a5056751f0560e1299eedc2aa4dbcb8', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
45
45
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
46
46
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
47
47
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
|
|
8
8
|
var Inbox = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -43,7 +43,7 @@ const SallaPlaceholder = class {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
46
|
+
return (index.h(index.Host, { key: 'c3b5fc484ce954bdbd3f7f42e8cb2320bcdf7eee', class: this.alignmentClass() }, index.h("div", { key: '8c9f89515a3f33f3904e0bd244527ab5638a6481', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '446700f7b323ca5d786a276aece557629d415d73', class: "s-placeholder-title" }, index.h("slot", { key: '0a857e65b6048e6d765b86c37953a54e47ae450d', name: 'title' }, index.h("span", { key: 'a9b1ab5b3ec757e4acca3dc85df8e3b185f0b33e' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '8215c957d6e7450b2d2c3901c76b6ccf7352bebe', class: "s-placeholder-description" }, index.h("slot", { key: '747c43255cff93f3fcc5d75c620a03d05801cec8', name: 'description' }, index.h("span", { key: '0bf8926e73635ad868fef5c8436f98e529fe0ced' }, salla.lang.get('common.errors.empty_results'))))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
SallaPlaceholder.style = sallaPlaceholderCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
8
8
|
|
|
9
9
|
var arrowRight = `<!-- Generated by IcoMoon.io -->
|
|
@@ -159,9 +159,9 @@ const SallaPriceRange = class {
|
|
|
159
159
|
this.maxPrice = value === undefined ? '' : value;
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (index.h(index.Host, { key: '
|
|
162
|
+
return (index.h(index.Host, { key: '6e1e078c6ae3bfd0390af00860efdca13ffa1c36' }, this.filterValues.map((filterValue, index$1) => {
|
|
163
163
|
return index.h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index$1}`, key: index$1 }, index.h("input", { id: `${this.option.key}-${index$1}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), index.h("span", { innerHTML: this.getPriceLabel(filterValue) }));
|
|
164
|
-
}), index.h("div", { key: '
|
|
164
|
+
}), index.h("div", { key: 'fa29180eb1559cf7b932021153dc4f1f93145852', class: "flex justify-center items-center" }, index.h("div", { key: '6241337067ab3702dae7fff90885b9d781c42525', class: "relative max-w-xl w-full" }, index.h("div", { key: 'b06b65c4712ad5a272fe3f3627b4b023a02f3e26', class: "s-price-range-inputs" }, index.h("div", { key: '4ac684662bf00e0155387b453e6ab900a1abeec9', class: "s-price-range-relative" }, index.h("div", { key: 'ebdf3cacf37d1d6024f3dc7bca534c90edfcb511', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '077fcabf67bd093cd97e4065c5ac62d9697fc227', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), index.h("div", { key: '392151d5eb9624fe012b2e89c2c6368d982bb100', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: 'cbd9df93ae9830846aab3fa72995511268f2162f', class: "s-price-range-relative" }, index.h("div", { key: '25e2d1b87c353d938863f52b793ba369436b2051', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'afedd6163164a0d46a879009a9cd0d4100c0aae3', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), index.h("salla-button", { key: '185be981f71138631238a5dcad581cd07c6769a2', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: '25d5c88a886933736e2d80b4d755d3c0c517b7f5', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
|
|
165
165
|
}
|
|
166
166
|
componentDidLoad() {
|
|
167
167
|
this.isReady = true;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
var star2 = require('./star2-R146a27p.js');
|
|
8
8
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -116,14 +116,14 @@ const SallaProductCard = class {
|
|
|
116
116
|
's-product-card-out-of-stock': this.productData?.is_out_of_stock,
|
|
117
117
|
};
|
|
118
118
|
const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
|
|
119
|
-
return (index.h(index.Host, { key: '
|
|
119
|
+
return (index.h(index.Host, { key: '73ea053e1ad55a72cafe36405297bf3c1328604a', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '010a3aec389bce2faecfa6527c64da1d39832cf3', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '1c716d26852c624b038ce7f22119274aaf6b1367', ...hrefProp }, index.h("img", { key: '2195caa03c5b5a66a5c0538d4fd310678991faff', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
|
|
120
120
|
? 'contain'
|
|
121
121
|
: this.fitImageHeight
|
|
122
122
|
? this.fitImageHeight
|
|
123
|
-
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '
|
|
124
|
-
index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '
|
|
123
|
+
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '9fbf6d697c2f0d1d3a21fa33d1074784597c9c3e', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
|
|
124
|
+
index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '74ee57ae671a5962a14dbbca31ba8ab28e0933cc', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
|
|
125
125
|
index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
|
|
126
|
-
: '', index.h("div", { key: '
|
|
126
|
+
: '', index.h("div", { key: '01b63d8229a415a50d5c527c6f3b76eb2155ba24', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'ea40bb9f7e35bd7517df12ab552c5e576611aca6', class: "s-product-card-content-title" }, index.h("a", { key: 'f7c9f14a2101629dcc129c55cab2942cba388f84', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
|
|
127
127
|
index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
|
|
128
128
|
: ''), this.productData?.donation && !this.minimal && !this.fullImage ?
|
|
129
129
|
[index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
|
|
@@ -132,7 +132,7 @@ const SallaProductCard = class {
|
|
|
132
132
|
this.addBtn.donatingAmount = e.target.value;
|
|
133
133
|
}, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
|
|
134
134
|
: '')]
|
|
135
|
-
: '', index.h("div", { key: '
|
|
135
|
+
: '', index.h("div", { key: 'bbaa41840b4bce96bab0b1dd1ddabcbace89dfd7', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
|
|
136
136
|
index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
|
|
137
137
|
: ''), this.isSpecial && this.productData.discount_ends
|
|
138
138
|
? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -53,11 +53,11 @@ const SallaProductSizeGuide = class {
|
|
|
53
53
|
return index.h("salla-placeholder", { alignment: "center", iconSize: "xl" }, index.h("div", { slot: "title" }, this.placeholder_title), index.h("div", { slot: "description" }, this.placeholder_description));
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h("salla-modal", { key: '
|
|
56
|
+
return (index.h("salla-modal", { key: 'b1bae59f3066898c4496e9e7946a413aadb65ca1', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: 'b25671d144823c18287460e4084d787de60ea6fc', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '4a9d9d03491a68fa59d88136469d4b7fdef58844', slot: "loading" }, index.h("div", { key: '1c61c0a1f9d97ffe07caa4155ce6166b329462be', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: '6bf1218232a710311299c4e6a8f5f48319775942', height: '15px', width: '25%' }), index.h("div", { key: '4331fe3d76d537a9f80edb0d54eba36b3989dfdc', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: 'd81e4ec5a2909a5fb0dd5d61d5d433448a40f286', height: '40px' }), index.h("salla-skeleton", { key: 'e44dbf44e2a9e3ebfec58ce7463bfefc8f0a9f00', height: '40px' }), index.h("salla-skeleton", { key: '76b73e407d4c845351a57752d6a1d62db1cb84ec', height: '40px' }), index.h("salla-skeleton", { key: 'b84a16e5f29530ef7771a9cd3de02e2c4e819041', height: '40px' })), index.h("div", { key: '0c2d143bd6239d6da10462b202585a708960fad3', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: 'daaffa11c88e83e22ddd6d971cb27da138e6a528', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: '45024e1210e6b6cc4b76556bad7fe0b95c59eae2', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: 'c168e4624518f8f4b889e0e09d09a5f703a9f6e0', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '9cf54bba39f265099301bc871380d75ff01bb195', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '5e4b06df0db206ae5b9a94d7e8532af4c48fb903', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: '3d946274064242db1f2911d315d28dbc355e31cd', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: 'd163510a54cb8230ea5e3d384781d2a0c70f74ca', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: 'ff0147a16398f0910cd6641a2bc1433ca43abdd6', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: 'f038bf93b41bb25f24761bfb0a8bc148d675ab5d', height: '10px', width: '30%' })))), index.h("slot", { key: '15ae01a63f16c58a28ee8e7871f77b4d5eb5c1c6', name: "header" }), !this.hasError && !!this.guides ?
|
|
57
57
|
[
|
|
58
58
|
index.h("salla-tabs", null, this.guides.map((guide) => index.h("salla-tab-header", { slot: "header", name: guide.name }, index.h("span", null, guide.name))), this.guides.map((guide) => index.h("salla-tab-content", { slot: "content", name: guide.name }, index.h("div", { innerHTML: guide.description }))))
|
|
59
59
|
]
|
|
60
|
-
: this.showPlaceholder(), index.h("slot", { key: '
|
|
60
|
+
: this.showPlaceholder(), index.h("slot", { key: '6c197dec0e2f7a38a07cee693b85a5cda72017f4', name: "footer" })));
|
|
61
61
|
}
|
|
62
62
|
get host() { return index.getElement(this); }
|
|
63
63
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -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-D3xsx646.js');
|
|
7
|
+
var functions = require('./functions-DPnm948J.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-CFp5Besf.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ const SallaRewardAction = class {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h("div", { key: '
|
|
35
|
+
return (index.h("div", { key: '475f3ee96420af61ec3ed127367a224fa86f7c34', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (index.h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
|
|
36
36
|
's-loyalty-program-rewards-action-base': true,
|
|
37
37
|
's-loyalty-program-rewards-action-on': true,
|
|
38
38
|
} }, salla.lang.get('pages.loyalty_program.shop_now'))) : (index.h("button", { onClick: this.handleClick, class: {
|
|
@@ -52,7 +52,7 @@ const SallaRewardCard = class {
|
|
|
52
52
|
this.actionClick = index.createEvent(this, "actionClick");
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '0c53ae71f95b242db839dd897d7288b2d95b8a64', class: "s-loyalty-program-reward-host" }, index.h("div", { key: '758426d1813b9dcc47b9c8a4d739d523e9572fff', class: "s-loyalty-program-reward-container" }, index.h("div", { key: 'f7f5819d9fb48c40fb44cf01d28593103fc62593', onClick: (e) => this.areaClick.emit(e), role: "button" }, index.h("div", { key: '5b51e12b977e17ca4b0c981ea8c1e275e72fd32e', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'bcb3279ef5c20f1bdfefc56e75879f5b186ee81f', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), index.h("div", { key: '72c3f61805cf30c54e41db61f559e82d56441e7b', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '0da8285d5913727d662d7d8d42b20c757291db38', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: 'd2938a93d63abe2ccf9da4bd6f9c5fab902dae49', size: "xs" }, index.h("span", { key: '6a5d953b0c67edca8f2b74d5fab9de28e14c5b74', innerHTML: gift.SIGift }), index.h("span", { key: 'a7f50ef7c770fd6e8f729b5e90c38f8e552dbdca', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: '52038fccca9e9a725000cff0f09ae27c1df84070', class: "s-loyalty-program-reward-title" }, index.h("span", { key: 'b584757e9514318eaf12c391055bebf1ef3cc3d3' }, this.prize.group_title)), index.h("div", { key: 'e07cf257344b9c5885b0e0cbfefd8140d6695689', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'b7ee859bdefce896e6aa8edaa33c61fef91a9188', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), index.h("div", { key: '7316be44d9e00d7031a70067100430d283b1a729', class: "p-4" }, index.h("slot", { key: '5ac564614b3ff5420e7cc74d5e3d3ec4130d38b8', name: "action" }, index.h("button", { key: '4b8f3d3b3497b842c26be65657b623a1d4f1f6d7', 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')))))));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
SallaRewardCard.style = sallaLoyaltyProgramCss$2;
|
|
@@ -166,11 +166,11 @@ const SallaRewardDetails = class {
|
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
168
|
const termsAndConditions = this.getTermsAndConditions();
|
|
169
|
-
return (index.h("div", { key: '
|
|
169
|
+
return (index.h("div", { key: 'a0d80e9a5a549bb5e57716222ab98b9bcdcd0d7a', class: "s-loyalty-program-reward-modal" }, index.h("div", { key: 'e085b601651f90de395d04ad06f901554fff1c9c', class: "s-loyalty-program-points-modal-header" }, index.h("h1", { key: 'ce51fd02e41e864db3bace40315bf8cc40d2aacf', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
|
|
170
170
|
: index.h("button", { class: "s-loyalty-program-back-btn", onClick: () => functions.closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, index.h("span", { class: {
|
|
171
171
|
'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
|
|
172
172
|
'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
|
|
173
|
-
} })), this.prize.name)), index.h("div", { key: '
|
|
173
|
+
} })), this.prize.name)), index.h("div", { key: '262fc0c0ba8a2401d0a46f4a31cb142ed71aaee2', class: "s-loyalty-program-modal-scrollable-content" }, index.h("div", { key: 'feff3505ef1cadb4b11499f4e5d4c60bc0818c3c', class: "s-loyalty-program-reward-details-header" }, index.h("div", { key: '6a206193ee11ff9efab3372324220cc081f5ee21', class: "s-loyalty-program-aspect-container" }, index.h("img", { key: 'a16fd353864eb9052a4418a01c5566fd9fae15e0', src: this.prize.image, alt: this.prize.name })), index.h("salla-badge", { key: 'f649e1b03bad2ad569425cb26eab179300bb455f', size: "sm", bg: "light" }, index.h("span", { key: '081b07570d4651792170d2219152ac5943e46219', innerHTML: gift.SIGift }), index.h("span", { key: '3057fe2961639bf42961f016c01e3f9647946c40', 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: 'e4417eea725e80ec1c6e2b3992a75b03f08792de', class: "s-loyalty-program-reward-info-message" }, index.h("h1", { key: '023fde4c635d93c4e5ea2cfcb66e903e01f7b901', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), index.h("p", { key: 'ec5a1d1a18ba05ea9f6c8daf323bdf47e851f837', 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' ? '' : [
|
|
174
174
|
index.h("salla-tab-header", { slot: "header", name: "included", style: {
|
|
175
175
|
display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
|
|
176
176
|
} }, 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`))),
|
|
@@ -180,7 +180,7 @@ const SallaRewardDetails = class {
|
|
|
180
180
|
display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
|
|
181
181
|
} }, 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`))),
|
|
182
182
|
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')))),
|
|
183
|
-
]))), index.h("salla-reward-action", { key: '
|
|
183
|
+
]))), index.h("salla-reward-action", { key: '0ef437efc19ef2f54da2e185414a2e7e4dc7a82e', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
|
|
184
184
|
}
|
|
185
185
|
static get watchers() { return {
|
|
186
186
|
"prize": ["handlePrizeChange"]
|
|
@@ -234,11 +234,11 @@ const SallaRewardExchange = class {
|
|
|
234
234
|
this.reset(0);
|
|
235
235
|
}
|
|
236
236
|
render() {
|
|
237
|
-
return (index.h(index.Host, { key: '
|
|
237
|
+
return (index.h(index.Host, { key: 'bbf843c0e37a56e494ab03443377cf0460e7af3d' }, index.h("div", { key: '4abbb59df236a8aad2edfceaa5983808095861b9', class: "s-loyalty-program-exchange-heading" }, index.h("div", { key: '701f4533e21f269626beeb09a91f1cd483fe74ec', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, index.h("span", { key: 'd8008123034729908b05b55a5d360d43ae40e119', innerHTML: gift.SIGift })), index.h("h2", { key: 'd7d6bdd5f11afd4b5c191f703f1abc073e907e0c' }, salla.lang.get('pages.loyalty_program.redeem_reward')), index.h("p", { key: 'a252cc2e2dc7724d5e9fddf051d6befe06854536' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", index.h("span", { key: '4cb815a1382cfe9ad684c9636def9ff21a4c28ed' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", index.h("span", { key: '0cbbef3bfaf2aea16006f0892b23e8aedba2b564' }, "(", this.prize.name, ")"))), index.h("div", { key: 'ce38ef18312c8674b2d4b3a5903e7296fc9979f5', class: "s-loyalty-program-exchange-btns" }, index.h("button", { key: 'fe5d7cec57211d811a6215d48ca8de622bd93e62', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, index.h("span", { key: 'faf587cbcc53de7ccf761cb2d7a94a8d0cfc813f', style: {
|
|
238
238
|
opacity: this.exchange.status !== 'pending' ? '1' : '0',
|
|
239
|
-
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: '
|
|
239
|
+
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: '0f0cdd023749431d6f31ce760ebe01ac88e6f966', class: "s-loyalty-program-exchange-loading", style: {
|
|
240
240
|
opacity: this.exchange.status === 'pending' ? '1' : '0',
|
|
241
|
-
} }, index.h("salla-loading", { key: '
|
|
241
|
+
} }, index.h("salla-loading", { key: '6191c1a572fd552a07b8c7793891398f80554088', color: "primary", size: 24 }))), index.h("button", { key: '0e8b3aa8ecafcb583cd3de51e3e9e5ade856041c', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
__decorate([
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.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: '3581a721b9a6863bf54dcdacb1c55ec0c412cf3c' }, index.h("salla-modal", { key: '3386595177109a490bb3ecada1484dd247e90f58', 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-D3xsx646.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
8
|
var Helper = require('./Helper-CU4Xuiki.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: 'a850e702d6693b06ee58242bd811f0b3fb79cc65', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, index.h("div", { key: 'b2b35a43bc93c72f30c51171e40ddc1ac859aff4', class: "s-search-input-wrapper" }, index.h("span", { key: '94734504edd9cb3459f3eefffc5564b576deefab', class: "s-search-icon-wrap" }, index.h("span", { key: 'f13a3ff73fdb0ad6bfa812263f0d468010565aef', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : search.Search })), index.h("input", { key: 'f687489b95cd7c7ea8915aa3a62e112e5635d641', 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: '6f956b79e1807f04935ad04f31787c61cf29aa5d', 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: '1199156eebec6857f934bf53e065958a88b72b3f', 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: 'ca437b25a044e96106287ab908f17f2e51efb7b0', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
|
|
148
|
+
const placeholderContent = (index.h("div", { key: '3af263b5044834c010d78ece354f91a7b50278cf', class: "s-search-placeholder-wrapper s-search-inline" }, index.h("div", { key: '970543471b3b069dea4a0e90f4c7512d2603b260', class: "s-search-input-wrapper" }, index.h("span", { key: '8d6ae3860975ef7b5870f3e1fe4176b2e6c5bfc5', class: "s-search-icon-wrap" }, index.h("span", { key: 'b37851998a7c2f7699dc473470985ea0f3b836c8', class: "s-search-icon", innerHTML: search.Search })), index.h("button", { key: 'c4b63f42425f646af93421ba55e0d3335792dd88', 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-D3xsx646.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: '2e14c27cb5a5403df46898ec1ae460fdd92f651f', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '771d8d0c6640486cab15a70e47e8418edc77863e', 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-D3xsx646.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: 'e8585bb94b5e8c8b3136fa242bccdbf5406b350e', class: "s-social-share-wrapper" }, index.h("slot", { key: '15e2187a3df06ccb32b505d5437ebcf9241046a4', name: 'widget' }, index.h("salla-button", { key: '99467cafadf06a67b087e6ba13709d0d1a612ecc', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '2b6538e88a074cd769af24b72f2629e21dff45a5', innerHTML: this.opened ? cancel.SICancel : ShareAlt }))), index.h("ul", { key: 'dc42096ad383c9e7504c5e132e8fe65f25192748', 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-D3xsx646.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: '921a2e9387ec6d8c450f222ecbb36f81be06cb30' }, index.h("ul", { key: 'b65fa02b40dcd077ec89076aea55f9cc664eb92e', 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-D3xsx646.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: '32762c93a41db3a20cd9fa98db182af388ecb084', class: classes }, index.h("slot", { key: '40caefc56a772c6f3f9a41650aec01a72e9e899b' })));
|
|
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: 'ac33877e26aac4d67f1d0f1dfdd6f34197739d8f', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: 'bc8b9b519b480f0df2203b06bde1b82086f48a1e' })),
|
|
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: 'b9b534860c70c17b22cad198696b80a5fae10d90', class: "s-tabs" }, index.h("div", { key: '7285d740077583bf211e7744d2db22e361989778', class: "s-tabs-header" }, index.h("slot", { key: '951159808cd26ce4994cbf69a3b0bed6100929dd', name: "header" })), index.h("div", { key: 'db550a026743862e8056b1a0f361da06cb78b4a3', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '3b5dacf111e5e911c1f821e38bcbf578699cae33', 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-D3xsx646.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;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:#baf3e6 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: 'e88949e9f1d97170bc61a0ab37e221863b9bc79f', class: "s-tooltip-container" }, index.h("div", { key: '1e65ce349cab58449512ba02ab11028de7fd6aa4', 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-D3xsx646.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');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D3xsx646.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: 'c130220b738d80f14cd4000b9eb4dd20df77980f', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '2bf49761f3437963ac75a6407d7ec98592417b3a', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '8a3c57c305433e0172175118b72e36901ca43fda' }, index.h("div", { key: '126853187b1c957f5a7bd81c0341bae24e8d87ea', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '0796752200d217095580a0855b8cb3c275b025ec', innerHTML: UserCancel })), index.h("div", { key: '6a2fb48adf9a08f2853f641f88d5744f1e5e79fd', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '57d60c74311b8e556008ab1bfefc3dbc7fe14d26', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '670446bf37f6aa476810e890d4f79904e39f5e72', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'aea20b164e6b47d3b23b55fd9d8ee445dc0515fe', class: "s-toggle" }, index.h("input", { key: '9fc592118faa754525faa49023909b6b1c62823a', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '485fb4402cb435fa55fd44b139bacc4502c9dd27', class: "s-toggle-switcher" }))))), index.h("div", { key: '2437e14c095e28e1cc626cb1cbf71dbd8337d954', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'cec0fbe6bbfe56eff1054869f300b905c515bd4c' }, index.h("div", { key: '3c3a370d9eac62dc871eebad8329e75e6395d3fa', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '70d16c4a2bc42eac766273ca05f67d176c6d4374', innerHTML: Bullhorn })), index.h("div", { key: 'c341c8ad97cd2fffce8e3af294bfae434314a2e4', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '54bd0cc88488863f55a9104d04a9df78f3eb6bd7', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'f5efcfb1466f3df26ff8820ccdd85a73d6395fef', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '8f1eaf0951abad13e01a0027a7975e50ad831094', class: "s-toggle" }, index.h("input", { key: '39ce354fc1d64e1540710fa06230e527c0bb0234', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: 'a40a9bbc22a3fd7a49a66fb4808abe79ad2d792e', class: "s-toggle-switcher" }))))), index.h("div", { key: '1ae760df718ca439c7cb1010c778b1b8f61f1b8f', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: 'da1fbd3e37d9ab35b4dac164801acfb55650e054' }, index.h("div", { key: '59f89006b21a2ff7bdcf63d16e5f67256877ce1d', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '53711d6f97340b6a1e3a430dbda8430adbcb00d0', innerHTML: UserOff })), index.h("div", { key: '485ddc81c283c70b948a9acab40c97e4dde8795b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '10624a62c0b9bf822a2087d36f4d4ce77548c6dd', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: 'f023d0193586f778860fda0b567eac30b9e913f5', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'ffb0af3f744c8ae24a1143d577e2b8a065bad7d1', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'ab93ecef93e4b79bcdade007ecfaea01631045bd', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '50764fa29f599b2163f81ee110f98e41900e6d82', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: '8c32d8c06fd1a86b1b585b648e4c66d8af89b2db', class: "s-user-settings-confirmation" }, index.h("div", { key: 'd5207ec65164615618977308a9a73a604fa5f122', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '7c1c4070c63620f995a14103426d54bbdf4cc4c5', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: '6ec7b830b1efd9d0acbe17a013d3ce3be2f0532b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '17929fee163ae7088656ee54698444ef477b8e41', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SallaUserSettings.style = sallaUserSettingsCss;
|