@salla.sa/twilight-components 2.14.429 → 2.14.431
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--V9rRgVA.js → filepond-DfW5cyCe.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DzvswSJb.js → filepond-plugin-file-poster-BDWsEvaC.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-C5wUWXz6.js → filepond-plugin-file-validate-size-Bto6gxLP.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-HA2w2_fC.js → filepond-plugin-file-validate-type-B6YfHTAx.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CXrhd-IB.js → filepond-plugin-image-edit-C-LqaX6L.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BJnamgw6.js → filepond-plugin-image-exif-orientation-CV0h895x.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CmdkZJij.js → filepond-plugin-image-preview-DWzrBxJB.js} +1 -1
- package/dist/cjs/{functions-DPnm948J.js → functions-CB5lb0VM.js} +1 -1
- package/dist/cjs/{index-D3xsx646.js → index-CPVUhQsG.js} +2 -2
- package/dist/cjs/{index-DRfjMaC1.js → index-D7Syi0Lt.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- 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 +4 -4
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +17 -17
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +208 -8
- 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 +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
- package/dist/cjs/salla-hook.cjs.entry.js +2 -2
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
- package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-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-CFp5Besf.js → tracked-promise-Duwj6C7F.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-Jk2F9CAy.js → vanilla-picker-C-53deqE.js} +1 -1
- package/dist/collection/components/salla-bought-together/salla-bought-together.css +0 -136
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +204 -4
- 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-file-upload/salla-file-upload.js +2 -2
- package/dist/collection/components/salla-filters/salla-filters.js +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
- package/dist/collection/components/salla-hook/salla-hook.js +1 -1
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
- package/dist/collection/components/salla-loading/salla-loading.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
- package/dist/collection/components/salla-loyalty-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/salla-searchable-dropdown.js +4 -4
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-bought-together.js +1 -1
- package/dist/components/salla-bullet-delivery.js +203 -3
- 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-file-upload2.js +2 -2
- package/dist/components/salla-filters-widget2.js +2 -2
- package/dist/components/salla-filters.js +1 -1
- package/dist/components/salla-gifting.js +2 -2
- package/dist/components/salla-hook.js +1 -1
- package/dist/components/salla-list-tile2.js +1 -1
- package/dist/components/salla-loading2.js +1 -1
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-loyalty-hero2.js +3 -3
- package/dist/components/salla-loyalty-point2.js +3 -3
- package/dist/components/salla-loyalty-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-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-settings.js +1 -1
- package/dist/esm/{filepond-fJKURtC4.js → filepond-b3O-B3ro.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Ll-3yUwR.js → filepond-plugin-file-poster-DGa9Q6FE.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-2D44oWIJ.js → filepond-plugin-file-validate-size-Bn9iVzLj.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-08Jawn6d.js → filepond-plugin-file-validate-type-BjHBoevq.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DmEVMjMi.js → filepond-plugin-image-edit-CJ2XCDbB.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DJo_07yV.js → filepond-plugin-image-exif-orientation-DUb8DStt.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-Nd-PQAho.js → filepond-plugin-image-preview-BCzQEooP.js} +1 -1
- package/dist/esm/{functions-GnOlk8am.js → functions-hDIweVRL.js} +1 -1
- package/dist/esm/{index-Ba0YDJC7.js → index-DFzcviYn.js} +1 -1
- package/dist/esm/{index-DR8BHH7X.js → index-Dnvn8dmm.js} +2 -2
- package/dist/esm/loader.js +2 -2
- 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 +4 -4
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +17 -17
- package/dist/esm/salla-bullet-delivery_2.entry.js +208 -8
- 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 +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +3 -3
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +3 -3
- package/dist/esm/salla-hook.entry.js +2 -2
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +2 -2
- package/dist/esm/salla-localization-modal.entry.js +2 -2
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-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-BTkBmrok.js → tracked-promise-p08m2zyv.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-f4lmttLY.js → vanilla-picker-kSO_chM-.js} +1 -1
- package/dist/twilight/p-094dc909.entry.js +4 -0
- package/dist/twilight/{p-beb17e29.entry.js → p-09b8f823.entry.js} +1 -1
- package/dist/twilight/{p-3910e00f.entry.js → p-102747d8.entry.js} +1 -1
- package/dist/twilight/{p-624503ee.entry.js → p-10ad1b83.entry.js} +1 -1
- package/dist/twilight/{p-1c8726e2.entry.js → p-1c03ceaa.entry.js} +1 -1
- package/dist/twilight/p-1dd5a941.entry.js +4 -0
- package/dist/twilight/p-20824b36.entry.js +4 -0
- package/dist/twilight/{p-59f47a08.entry.js → p-2160352a.entry.js} +1 -1
- package/dist/twilight/p-22b1ab5e.entry.js +4 -0
- package/dist/twilight/{p-74eb04ec.entry.js → p-23f9bac7.entry.js} +1 -1
- package/dist/twilight/{p-b20265f2.entry.js → p-2431c606.entry.js} +1 -1
- package/dist/twilight/{p-103dc47c.entry.js → p-26b9358b.entry.js} +1 -1
- package/dist/twilight/{p-824dd42e.entry.js → p-29bb512b.entry.js} +1 -1
- package/dist/twilight/p-2a88b328.entry.js +4 -0
- package/dist/twilight/{p-e0244c37.entry.js → p-2d47d5fd.entry.js} +1 -1
- package/dist/twilight/{p-b59b7153.entry.js → p-32387b75.entry.js} +1 -1
- package/dist/twilight/{p-ed6007e1.entry.js → p-348ce789.entry.js} +1 -1
- package/dist/twilight/{p-a9cbd414.entry.js → p-3c631cc0.entry.js} +1 -1
- package/dist/twilight/{p-83c1d4b2.entry.js → p-3d031db4.entry.js} +1 -1
- package/dist/twilight/{p-5c347cd5.entry.js → p-402b5980.entry.js} +1 -1
- package/dist/twilight/{p-f2b204a4.entry.js → p-41119cdb.entry.js} +1 -1
- package/dist/twilight/{p-ccfe690a.entry.js → p-424110b5.entry.js} +1 -1
- package/dist/twilight/p-4cc4260a.entry.js +4 -0
- package/dist/twilight/{p-3a2fdd6f.entry.js → p-4d15bde7.entry.js} +1 -1
- package/dist/twilight/{p-745329af.entry.js → p-4dfa5176.entry.js} +1 -1
- package/dist/twilight/{p-400257fd.entry.js → p-4ec18be2.entry.js} +1 -1
- package/dist/twilight/{p-ff75f1c4.entry.js → p-4ecb3a12.entry.js} +1 -1
- package/dist/twilight/p-5158bd60.entry.js +4 -0
- package/dist/twilight/p-56a5491f.entry.js +4 -0
- package/dist/twilight/p-5e353422.entry.js +4 -0
- package/dist/twilight/p-640a439c.entry.js +4 -0
- package/dist/twilight/p-653349e0.entry.js +4 -0
- package/dist/twilight/{p-65839961.entry.js → p-666df999.entry.js} +1 -1
- package/dist/twilight/p-6788c2fb.entry.js +4 -0
- package/dist/twilight/{p-fca971a6.entry.js → p-7095939b.entry.js} +1 -1
- package/dist/twilight/{p-c52aac33.entry.js → p-74998089.entry.js} +1 -1
- package/dist/twilight/{p-bc76d253.entry.js → p-7ca7130b.entry.js} +1 -1
- package/dist/twilight/{p-6339390a.entry.js → p-7e288aab.entry.js} +1 -1
- package/dist/twilight/{p-42cc9b33.entry.js → p-7ee53da2.entry.js} +1 -1
- package/dist/twilight/{p-df173474.entry.js → p-809250a3.entry.js} +1 -1
- package/dist/twilight/{p-d617d844.entry.js → p-80b61a76.entry.js} +1 -1
- package/dist/twilight/{p-2d705236.entry.js → p-835fa9b4.entry.js} +1 -1
- package/dist/twilight/{p-4f873363.entry.js → p-88032655.entry.js} +1 -1
- package/dist/twilight/{p-2e8588ca.entry.js → p-888b361e.entry.js} +1 -1
- package/dist/twilight/{p-9f320350.entry.js → p-8c7058b1.entry.js} +1 -1
- package/dist/twilight/p-8eb27675.entry.js +4 -0
- package/dist/twilight/{p-bc47e256.entry.js → p-8ef02612.entry.js} +1 -1
- package/dist/twilight/{p-72b1e6ed.entry.js → p-97b0e5fe.entry.js} +1 -1
- package/dist/twilight/p-B798epj8.js +9 -0
- package/dist/twilight/{p-hkzTCOEy.js → p-B7njTcyQ.js} +1 -1
- package/dist/twilight/{p-CiAXtUPQ.js → p-Bbi316x0.js} +1 -1
- package/dist/twilight/p-BpqRyGw0.js +9 -0
- package/dist/twilight/{p-Bc2RLvfZ.js → p-C9apxUCF.js} +1 -1
- package/dist/twilight/{p-Dqb1Ri2Y.js → p-CUMuR5KH.js} +1 -1
- package/dist/twilight/{p-CmDT48y4.js → p-CWSAc4x3.js} +1 -1
- package/dist/twilight/{p-kg7IhfAv.js → p-CZzwVBvr.js} +1 -1
- package/dist/twilight/{p-cvulr5dQ.js → p-D9Fh8EvL.js} +1 -1
- package/dist/twilight/{p-DR8BHH7X.js → p-Dnvn8dmm.js} +1 -1
- package/dist/twilight/{p-4da58baf.entry.js → p-a0374cc5.entry.js} +1 -1
- package/dist/twilight/{p-ed8951c5.entry.js → p-a037b850.entry.js} +1 -1
- package/dist/twilight/{p-1208793a.entry.js → p-a1766fe4.entry.js} +1 -1
- package/dist/twilight/{p-5ebbec76.entry.js → p-a5b9b1db.entry.js} +1 -1
- package/dist/twilight/{p-e0af89bc.entry.js → p-abe7a229.entry.js} +1 -1
- package/dist/twilight/{p-6e26c815.entry.js → p-af191f0c.entry.js} +1 -1
- package/dist/twilight/{p-6c58235e.entry.js → p-b3a426a1.entry.js} +1 -1
- package/dist/twilight/{p-154e782d.entry.js → p-b5281c36.entry.js} +1 -1
- package/dist/twilight/{p-d567481d.entry.js → p-bcdf2adf.entry.js} +1 -1
- package/dist/twilight/{p-78ce73ba.entry.js → p-bd1539f4.entry.js} +1 -1
- package/dist/twilight/{p-8bfca6eb.entry.js → p-bd24ad46.entry.js} +1 -1
- package/dist/twilight/{p-5999d681.entry.js → p-bd45359c.entry.js} +1 -1
- package/dist/twilight/{p-8709e981.entry.js → p-c3416bea.entry.js} +1 -1
- package/dist/twilight/{p-64376e97.entry.js → p-c936ef8d.entry.js} +1 -1
- package/dist/twilight/{p-1e7d16a3.entry.js → p-cf73d667.entry.js} +1 -1
- package/dist/twilight/{p-19bb31a5.entry.js → p-d064a0b8.entry.js} +1 -1
- package/dist/twilight/{p-c4960804.entry.js → p-d118fae4.entry.js} +1 -1
- package/dist/twilight/{p-38a8f05e.entry.js → p-d2551363.entry.js} +1 -1
- package/dist/twilight/{p-bcf201a8.entry.js → p-d3b4dfd4.entry.js} +1 -1
- package/dist/twilight/{p-835c43e6.entry.js → p-d4094247.entry.js} +1 -1
- package/dist/twilight/{p-c707f55b.entry.js → p-d44de146.entry.js} +1 -1
- package/dist/twilight/{p-99d0fd61.entry.js → p-d58be43c.entry.js} +1 -1
- package/dist/twilight/{p-96d644b8.entry.js → p-d82818ee.entry.js} +1 -1
- package/dist/twilight/{p-f579e8ef.entry.js → p-e0c8d60c.entry.js} +1 -1
- package/dist/twilight/{p-7edaa78b.entry.js → p-e206ecc7.entry.js} +1 -1
- package/dist/twilight/p-e20c4393.entry.js +4 -0
- package/dist/twilight/{p-9bde5e3c.entry.js → p-e47f98ab.entry.js} +1 -1
- package/dist/twilight/{p-6f3da0b7.entry.js → p-e825da6f.entry.js} +1 -1
- package/dist/twilight/{p-08c6172b.entry.js → p-eb9fd475.entry.js} +1 -1
- package/dist/twilight/{p-612c5b08.entry.js → p-ed7410d9.entry.js} +1 -1
- package/dist/twilight/{p-5ecf2b26.entry.js → p-f0e36346.entry.js} +1 -1
- package/dist/twilight/{p-d01e76f4.entry.js → p-f6c2599b.entry.js} +1 -1
- package/dist/twilight/{p-807db423.entry.js → p-f80b718e.entry.js} +1 -1
- package/dist/twilight/{p-8fad5c91.entry.js → p-fbda5922.entry.js} +1 -1
- package/dist/twilight/{p-44b289bb.entry.js → p-fd792b46.entry.js} +1 -1
- package/dist/twilight/{p-CdbTKQNp.js → p-lDyZ4jxE.js} +1 -1
- package/dist/twilight/{p-Dtp3srRX.js → p-uGRgz5pT.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +32 -0
- package/package.json +5 -5
- package/dist/twilight/p-031f8d35.entry.js +0 -4
- package/dist/twilight/p-097e2ba0.entry.js +0 -4
- package/dist/twilight/p-0ccf332d.entry.js +0 -4
- package/dist/twilight/p-30256e5f.entry.js +0 -4
- package/dist/twilight/p-308cfcab.entry.js +0 -4
- package/dist/twilight/p-3cc1582f.entry.js +0 -4
- package/dist/twilight/p-3ec34eae.entry.js +0 -4
- package/dist/twilight/p-4482e672.entry.js +0 -4
- package/dist/twilight/p-D0FlIX_Z.js +0 -9
- package/dist/twilight/p-NohMjDY2.js +0 -9
- package/dist/twilight/p-c00d4e23.entry.js +0 -4
- package/dist/twilight/p-c137e672.entry.js +0 -4
- package/dist/twilight/p-c47e85e9.entry.js +0 -4
- package/dist/twilight/p-cb8a1223.entry.js +0 -4
- package/dist/twilight/p-e0750731.entry.js +0 -4
- package/dist/twilight/p-f245d317.entry.js +0 -4
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -596,7 +596,7 @@ const SallaLoading = class {
|
|
|
596
596
|
this.bgColor = "#e5e7eb";
|
|
597
597
|
}
|
|
598
598
|
render() {
|
|
599
|
-
return (index.h(index.Host, { key: '
|
|
599
|
+
return (index.h(index.Host, { key: '64a270526fd172b66a0671749bf36acee7cc8de1', class: "s-loading-container" }, index.h("svg", { key: '380bae806d8aa39e3ac07fba3daf181cfe040f70', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'c531098ed793fcd2ec90f10bfb470bcc4543b346', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), index.h("path", { key: 'cc6b89a57e8168937ee13b5ccdc25aa024e05223', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
602
|
SallaLoading.style = sallaLoadingCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
var cart = require('./cart-s-x1Fshk.js');
|
|
8
8
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
9
9
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
@@ -243,7 +243,7 @@ const SallaAddProductButton = class {
|
|
|
243
243
|
};
|
|
244
244
|
SallaAddProductButton.style = sallaAddProductButtonCss;
|
|
245
245
|
|
|
246
|
-
const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}
|
|
246
|
+
const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}";
|
|
247
247
|
|
|
248
248
|
// Read-only recommendations key confirmed safe for client-side use by the API team — no write access or sensitive scope.
|
|
249
249
|
const XSELL_API_KEY = 'VOL5WaZu2YROp0RplCZAr1RplhL9FFGQ';
|
|
@@ -504,7 +504,7 @@ const SallaProductAvailability = class {
|
|
|
504
504
|
field.nextElementSibling['innerText'] = '* ' + errorMsg;
|
|
505
505
|
}
|
|
506
506
|
render() {
|
|
507
|
-
return (index.h(index.Host, { key: '
|
|
507
|
+
return (index.h(index.Host, { key: 'a09c35acc83cc5dd3bf5777a592a8f58ec44f7fb', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
|
|
508
508
|
? index.h("div", { class: "s-product-availability-subscribed" }, index.h("span", { innerHTML: bellRing.BellRing, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
|
|
509
509
|
:
|
|
510
510
|
index.h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
|
|
@@ -2553,7 +2553,7 @@ const SallaQuickBuy = class {
|
|
|
2553
2553
|
});
|
|
2554
2554
|
}
|
|
2555
2555
|
render() {
|
|
2556
|
-
return index.h(index.Host, { key: '
|
|
2556
|
+
return index.h(index.Host, { key: '5760621653a41e04a42beb51d982c41259250631' }, this.quickBuyButton());
|
|
2557
2557
|
}
|
|
2558
2558
|
quickBuyButton() {
|
|
2559
2559
|
return index.h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
|
|
8
8
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
var calendar = require('./calendar-D-PUoCDH.js');
|
|
8
8
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
9
9
|
var minus = require('./minus-CCryh1qf.js');
|
|
@@ -378,7 +378,7 @@ const SallaColorPicker = class {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
initColorPicker() {
|
|
381
|
-
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-
|
|
381
|
+
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-C-53deqE.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
|
|
382
382
|
const Picker = mod.default;
|
|
383
383
|
const picker = new Picker({
|
|
384
384
|
parent: this.host,
|
|
@@ -398,7 +398,7 @@ const SallaColorPicker = class {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
render() {
|
|
401
|
-
return (index.h(index.Host, { key: '
|
|
401
|
+
return (index.h(index.Host, { key: '2f142fd64afd5571574a7e1c40de3be16ede62e6', class: "s-color-picker-main" }, index.h("slot", { key: '92acdf14b2f42ac52d0a632ba6840a5dcebfa4d4', name: "widget" }, index.h("div", { key: '7ba074040299a91802109d0e1d2e78604e39d3a8', class: "s-color-picker-widget" }, index.h("div", { key: 'a6272207f79fd28e33b66e415a3e05b969ace983', class: "s-color-picker-widget-canvas", ref: dv => (this.canvas = dv) }), index.h("span", { key: 'e6fed242bb84fae6221cdec525658b68f7514ce7', innerHTML: keyboard_arrow_down.ArrowDown }))), index.h("input", { key: '9eb1673f44e663f939124da45fec79c401736203', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => (this.colorInput = color) })));
|
|
402
402
|
}
|
|
403
403
|
componentDidLoad() {
|
|
404
404
|
if (this.canvas)
|
|
@@ -547,7 +547,7 @@ const SallaConditionalFields = class {
|
|
|
547
547
|
});
|
|
548
548
|
}
|
|
549
549
|
render() {
|
|
550
|
-
return (index.h(index.Host, { key: '
|
|
550
|
+
return (index.h(index.Host, { key: '9e3ff9d4f7209583d5ef3d4f447a7a676e6857e0' }, index.h("slot", { key: '889bc28c2985d82e3bcd6e4231b135a58dca26d6' })));
|
|
551
551
|
}
|
|
552
552
|
get host() { return index.getElement(this); }
|
|
553
553
|
};
|
|
@@ -759,7 +759,7 @@ const SallaDatetimePicker = class {
|
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
render() {
|
|
762
|
-
return index.h("div", { key: '
|
|
762
|
+
return index.h("div", { key: '184743feaf2af9f31cd3b5a864a86f1a561c12fd', class: "s-datetime-picker" }, index.h("input", { key: '1736e88363b379f872490641168f49090e976e03', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
|
|
763
763
|
}
|
|
764
764
|
async componentDidLoad() {
|
|
765
765
|
// Load flatpickr before initializing
|
|
@@ -838,13 +838,13 @@ const SallaFileUpload = class {
|
|
|
838
838
|
return;
|
|
839
839
|
try {
|
|
840
840
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
841
|
-
Promise.resolve().then(function () { return require('./filepond
|
|
842
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
843
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
844
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
845
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
846
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
847
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
841
|
+
Promise.resolve().then(function () { return require('./filepond-DfW5cyCe.js'); }).then(function (n) { return n.filepond; }),
|
|
842
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-Bto6gxLP.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
843
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-CV0h895x.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
844
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-DWzrBxJB.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
845
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-C-LqaX6L.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
846
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-B6YfHTAx.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
847
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-BDWsEvaC.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
848
848
|
]);
|
|
849
849
|
this.FilePond = FilePondModule;
|
|
850
850
|
// Register plugins
|
|
@@ -1138,11 +1138,11 @@ const SallaFileUpload = class {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
render() {
|
|
1141
|
-
return (index.h(index.Host, { key: '
|
|
1141
|
+
return (index.h(index.Host, { key: '978e89fe8713e6b3db913ed8fb3c5d09f6caf705', class: {
|
|
1142
1142
|
"s-file-upload": true,
|
|
1143
1143
|
"s-file-upload-profile-image": this.profileImage,
|
|
1144
1144
|
"s-file-upload-multiple": this.allowMultiple,
|
|
1145
|
-
} }, index.h("input", { key: '
|
|
1145
|
+
} }, index.h("input", { key: 'acf6197d43b79a80e7a69219afda29271a86d4eb', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? index.h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', index.h("input", { key: 'b8624b0fcaba14f14640acce0a28c12feb78701b', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
|
|
1146
1146
|
}
|
|
1147
1147
|
async componentDidLoad() {
|
|
1148
1148
|
await Salla.onReady();
|
|
@@ -1425,7 +1425,7 @@ const SallaQuantityInput = class {
|
|
|
1425
1425
|
if (!inputAttributes['aria-label'] && !inputAttributes['aria-labelledby']) {
|
|
1426
1426
|
inputAttributes['aria-label'] = salla.lang.getWithDefault('common.elements.quantity', 'Quantity');
|
|
1427
1427
|
}
|
|
1428
|
-
return (index.h(index.Host, { key: '
|
|
1428
|
+
return (index.h(index.Host, { key: 'fe32e78fac9dba3b83957f5e476aba8c820822cd', class: "s-quantity-input" }, index.h("div", { key: '4279ee5b42092efc80fb8e5fb716b95f35162cbe', class: "s-quantity-input-container" }, index.h("button", { key: '7239d398778f75e50822a84bdce007e9dff82b53', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button", "aria-label": salla.lang.getWithDefault('common.elements.increase_quantity', 'Increase quantity') }, !this.hasIncrementSlot ? index.h("span", { innerHTML: minus.plusIcon }) : '', index.h("slot", { key: '9c21595e422b8af76daa4719e9924d067b749115', name: "increment-button" })), index.h("input", { key: '2a280bed1b32847d80895dcd3fb5b1cd2ccac991', class: "s-quantity-input-input", ...inputAttributes, ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), inputMode: "numeric", pattern: "[0-9]*", min: "1", readOnly: this.disableInput, value: this.quantity }), index.h("button", { key: 'c7ac2db9ba36b7dcb5c89884ffae4aa56dba42ce', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button", "aria-label": salla.lang.getWithDefault('common.elements.decrease_quantity', 'Decrease quantity') }, !this.hasDecrementSlot ? index.h("span", { innerHTML: minus.minusIcon }) : '', index.h("slot", { key: 'd3a10929d440c614b7788548aa72fc3a66b63b74', name: "decrement-button" })))));
|
|
1429
1429
|
}
|
|
1430
1430
|
get host() { return index.getElement(this); }
|
|
1431
1431
|
static get watchers() { return {
|
|
@@ -1445,7 +1445,7 @@ const SallaTelInput = class {
|
|
|
1445
1445
|
if (this.TelInput)
|
|
1446
1446
|
return;
|
|
1447
1447
|
try {
|
|
1448
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./index-
|
|
1448
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./index-D7Syi0Lt.js'); }).then(function (n) { return n.index; });
|
|
1449
1449
|
this.TelInput = telInputModule.default;
|
|
1450
1450
|
}
|
|
1451
1451
|
catch (error) {
|
|
@@ -1559,7 +1559,7 @@ const SallaTelInput = class {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
render() {
|
|
1562
|
-
return (index.h(index.Host, { key: '
|
|
1562
|
+
return (index.h(index.Host, { key: '52617befb5152051a2be9f65a96a4f2a8577e6c4', class: "s-tel-input" }, index.h("input", { key: '7f6e7cc0b8cde9139cfdf6fb0ba0d6efe48bcb3b', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), index.h("span", { key: 'c5b21209ee941ae455516e3b4e9c503e8c52f3c5', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), index.h("input", { key: 'a09cb211e141996066ade2a6e8b901696de65bb7', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
|
|
1563
1563
|
}
|
|
1564
1564
|
componentDidLoad() {
|
|
1565
1565
|
this.initTelInput();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
var location = require('./location-DIyESLuI.js');
|
|
9
9
|
var search = require('./search-c7Aa7lM9.js');
|
|
@@ -434,6 +434,7 @@ const SallaBulletDelivery = class {
|
|
|
434
434
|
this.open();
|
|
435
435
|
};
|
|
436
436
|
this.closeHandler = null;
|
|
437
|
+
this.bulletDeliveryMobileSelectHandler = null;
|
|
437
438
|
/** True after saved addresses have been loaded (lazy: only when address tab is shown). */
|
|
438
439
|
this.savedAddressesLoaded = false;
|
|
439
440
|
// Core state
|
|
@@ -652,7 +653,7 @@ const SallaBulletDelivery = class {
|
|
|
652
653
|
}
|
|
653
654
|
/** Whether to show delivery + pickup tabs. From store.shipping.support_pickup */
|
|
654
655
|
get supportsPickup() {
|
|
655
|
-
return Boolean(Salla.config.get("store.shipping.support_pickup"));
|
|
656
|
+
return Boolean(Salla.config.get("store.shipping.support_pickup")) || Boolean(Salla.config.get("store.support_pickup"));
|
|
656
657
|
}
|
|
657
658
|
/** The modal opening strategy: 'first_visit' | 'on_cart_click' | 'after_add_to_cart' */
|
|
658
659
|
get openingType() {
|
|
@@ -662,6 +663,9 @@ const SallaBulletDelivery = class {
|
|
|
662
663
|
get isRequired() {
|
|
663
664
|
return !!Salla.config.get("store.settings.bullet_delivery.settings.is_required");
|
|
664
665
|
}
|
|
666
|
+
get isMobileApp() {
|
|
667
|
+
return Salla.config.isMobileApp();
|
|
668
|
+
}
|
|
665
669
|
/**
|
|
666
670
|
* Opens the bullet delivery modal
|
|
667
671
|
*/
|
|
@@ -1647,6 +1651,175 @@ const SallaBulletDelivery = class {
|
|
|
1647
1651
|
form_data: { ...this.newAddressForm },
|
|
1648
1652
|
};
|
|
1649
1653
|
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Build a minimal `BulletDeliveryAllocationConfirmedAddressData` from a mobile
|
|
1656
|
+
* payload (no full SavedAddress object available). Only used for the
|
|
1657
|
+
* `salla::bullet-delivery.allocation.confirmed` event so existing listeners
|
|
1658
|
+
* keep working with the same shape they get on desktop.
|
|
1659
|
+
*/
|
|
1660
|
+
buildAllocationConfirmedAddressFromIntent(payload) {
|
|
1661
|
+
if (payload.type !== "address")
|
|
1662
|
+
return null;
|
|
1663
|
+
const details = payload.address_details;
|
|
1664
|
+
const countryId = Number(payload.country_id) || 0;
|
|
1665
|
+
return {
|
|
1666
|
+
country: details?.country
|
|
1667
|
+
? {
|
|
1668
|
+
id: details.country.id,
|
|
1669
|
+
name: details.country.name,
|
|
1670
|
+
code: details.country.code ?? payload.country_code ?? "",
|
|
1671
|
+
}
|
|
1672
|
+
: undefined,
|
|
1673
|
+
region: details?.region
|
|
1674
|
+
? {
|
|
1675
|
+
id: Number(details.region.id),
|
|
1676
|
+
name: details.region.name,
|
|
1677
|
+
country_id: countryId,
|
|
1678
|
+
code: details.region.code ?? undefined,
|
|
1679
|
+
}
|
|
1680
|
+
: undefined,
|
|
1681
|
+
city: details?.city
|
|
1682
|
+
? {
|
|
1683
|
+
id: Number(details.city.id),
|
|
1684
|
+
name: details.city.name,
|
|
1685
|
+
country_id: countryId,
|
|
1686
|
+
}
|
|
1687
|
+
: undefined,
|
|
1688
|
+
district: details?.district
|
|
1689
|
+
? {
|
|
1690
|
+
id: Number(details.district.id),
|
|
1691
|
+
name: details.district.name,
|
|
1692
|
+
city_id: Number(details.city?.id) || 0,
|
|
1693
|
+
}
|
|
1694
|
+
: undefined,
|
|
1695
|
+
short_address: details?.short_address,
|
|
1696
|
+
};
|
|
1697
|
+
}
|
|
1698
|
+
/** Synthesise a minimal `Branch` from a mobile branch intent. */
|
|
1699
|
+
buildBranchFromIntent(payload) {
|
|
1700
|
+
if (payload.type !== "branch" || !payload.branch_details)
|
|
1701
|
+
return null;
|
|
1702
|
+
const b = payload.branch_details;
|
|
1703
|
+
const branch = {
|
|
1704
|
+
id: b.id,
|
|
1705
|
+
name: b.name,
|
|
1706
|
+
};
|
|
1707
|
+
if (b.city) {
|
|
1708
|
+
branch.city = { id: 0, name: b.city };
|
|
1709
|
+
}
|
|
1710
|
+
if (b.latitude != null && b.longitude != null) {
|
|
1711
|
+
branch.location = { lat: String(b.latitude), lng: String(b.longitude) };
|
|
1712
|
+
}
|
|
1713
|
+
return branch;
|
|
1714
|
+
}
|
|
1715
|
+
/** Reconstruct the equivalent `ScopeAllocationPayload` from a mobile result. */
|
|
1716
|
+
buildAllocationRequestFromIntent(payload) {
|
|
1717
|
+
if (payload.type === "branch") {
|
|
1718
|
+
return {
|
|
1719
|
+
type: "branch",
|
|
1720
|
+
branch_id: payload.branch_id != null ? String(payload.branch_id) : "",
|
|
1721
|
+
};
|
|
1722
|
+
}
|
|
1723
|
+
if (payload.address_id != null) {
|
|
1724
|
+
return {
|
|
1725
|
+
type: "address",
|
|
1726
|
+
address_id: String(payload.address_id),
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
const details = payload.address_details;
|
|
1730
|
+
const request = {
|
|
1731
|
+
type: "address",
|
|
1732
|
+
country_id: payload.country_id != null ? String(payload.country_id) : "",
|
|
1733
|
+
city_id: details?.city?.id != null ? String(details.city.id) : "",
|
|
1734
|
+
};
|
|
1735
|
+
if (details?.region?.id != null) {
|
|
1736
|
+
request.region_id = String(details.region.id);
|
|
1737
|
+
}
|
|
1738
|
+
if (details?.district?.id != null) {
|
|
1739
|
+
request.district_id = String(details.district.id);
|
|
1740
|
+
}
|
|
1741
|
+
return request;
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Apply a selection performed inside the mobile app's native sheet.
|
|
1745
|
+
*
|
|
1746
|
+
* Mirrors the post-allocation side-effects of `handleConfirm()` so the
|
|
1747
|
+
* webview ends up in the exact same state as if the user had confirmed via
|
|
1748
|
+
* our component on desktop:
|
|
1749
|
+
* 1. Sets `s-scope-allocation-*` headers for subsequent API calls.
|
|
1750
|
+
* 2. Persists allocation in `Salla.storage.scope` (single source of truth).
|
|
1751
|
+
* 3. Marks the modal as shown for this session and stores the intent so
|
|
1752
|
+
* delivery-promise / scope-switch UIs reflect the selection.
|
|
1753
|
+
* 4. Clears the API cache so cached data from the previous scope is gone.
|
|
1754
|
+
* 5. Dispatches `salla::bullet-delivery.allocation.confirmed`,
|
|
1755
|
+
* `bulletDeliveryConfirmed`, and the header-context update event so
|
|
1756
|
+
* every listener (header pill, cart view, etc.) syncs.
|
|
1757
|
+
* 6. Reloads the page so prices, availability, and cart reflect the
|
|
1758
|
+
* newly-selected scope (matches desktop behaviour).
|
|
1759
|
+
*/
|
|
1760
|
+
applyMobileBulletDeliverySelection(payload) {
|
|
1761
|
+
if (!payload || (payload.type !== "address" && payload.type !== "branch")) {
|
|
1762
|
+
console.warn("SallaBulletDelivery: ignoring invalid mobile select payload", payload);
|
|
1763
|
+
return;
|
|
1764
|
+
}
|
|
1765
|
+
const headers = payload.allocation_headers ?? {};
|
|
1766
|
+
const allocationType = headers["s-scope-allocation-type"] ?? payload.type;
|
|
1767
|
+
const allocationId = headers["s-scope-allocation-id"];
|
|
1768
|
+
if (allocationType) {
|
|
1769
|
+
Salla.api.setHeader("s-scope-allocation-type", allocationType);
|
|
1770
|
+
}
|
|
1771
|
+
if (allocationId) {
|
|
1772
|
+
Salla.api.setHeader("s-scope-allocation-id", String(allocationId));
|
|
1773
|
+
}
|
|
1774
|
+
const existingScope = Salla.config.get("store.scope", Salla.storage.get("scope")) || {};
|
|
1775
|
+
Salla.storage.set("scope", {
|
|
1776
|
+
...existingScope,
|
|
1777
|
+
allocation_type: allocationType,
|
|
1778
|
+
allocation_id: allocationId ? String(allocationId) : undefined,
|
|
1779
|
+
});
|
|
1780
|
+
this.markShownThisSession();
|
|
1781
|
+
// Normalise headers in the persisted intent: keep only the mobile-provided
|
|
1782
|
+
// values so storefront reads see the same shape as the desktop confirm flow.
|
|
1783
|
+
const normalisedIntent = {
|
|
1784
|
+
...payload,
|
|
1785
|
+
allocation_headers: {
|
|
1786
|
+
"s-scope-allocation-type": allocationType,
|
|
1787
|
+
"s-scope-allocation-id": allocationId
|
|
1788
|
+
? String(allocationId)
|
|
1789
|
+
: undefined,
|
|
1790
|
+
},
|
|
1791
|
+
};
|
|
1792
|
+
this.setStoredIntent(normalisedIntent);
|
|
1793
|
+
clearApiCache();
|
|
1794
|
+
const branch = this.buildBranchFromIntent(normalisedIntent);
|
|
1795
|
+
const allocationConfirmedPayload = {
|
|
1796
|
+
...normalisedIntent,
|
|
1797
|
+
address: this.buildAllocationConfirmedAddressFromIntent(normalisedIntent),
|
|
1798
|
+
branch,
|
|
1799
|
+
allocation_request: this.buildAllocationRequestFromIntent(normalisedIntent),
|
|
1800
|
+
allocation_response: null,
|
|
1801
|
+
};
|
|
1802
|
+
Salla.event.dispatch("salla::bullet-delivery.allocation.confirmed", allocationConfirmedPayload);
|
|
1803
|
+
this.bulletDeliveryConfirmed.emit({
|
|
1804
|
+
...normalisedIntent,
|
|
1805
|
+
branch: branch ?? undefined,
|
|
1806
|
+
});
|
|
1807
|
+
this.emitHeaderContextUpdate(normalisedIntent, undefined, branch ?? undefined);
|
|
1808
|
+
// Reload so products / cart / header reflect the new scope, matching the
|
|
1809
|
+
// desktop confirm flow. Small delay lets the dispatched events propagate
|
|
1810
|
+
// to any in-page listeners before the navigation tears the document down.
|
|
1811
|
+
setTimeout(() => window.location.reload(), 100);
|
|
1812
|
+
}
|
|
1813
|
+
extractMobileSelectPayload(raw) {
|
|
1814
|
+
if (!raw || typeof raw !== "object")
|
|
1815
|
+
return null;
|
|
1816
|
+
// Some mobile bridges deliver the original `{ event, payload }` envelope
|
|
1817
|
+
// while a normal Salla.event dispatch passes the data directly.
|
|
1818
|
+
if ("payload" in raw && raw.payload) {
|
|
1819
|
+
return raw.payload;
|
|
1820
|
+
}
|
|
1821
|
+
return raw;
|
|
1822
|
+
}
|
|
1650
1823
|
async handleConfirm() {
|
|
1651
1824
|
if (this.isConfirmDisabled() || this.confirming)
|
|
1652
1825
|
return;
|
|
@@ -2245,13 +2418,36 @@ const SallaBulletDelivery = class {
|
|
|
2245
2418
|
}
|
|
2246
2419
|
}
|
|
2247
2420
|
render() {
|
|
2248
|
-
|
|
2421
|
+
if (this.isMobileApp)
|
|
2422
|
+
return null;
|
|
2423
|
+
return (index.h(index.Host, { class: "s-bullet-delivery" }, index.h("salla-modal", { ref: (modal) => {
|
|
2249
2424
|
this.modal = modal;
|
|
2250
|
-
}, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, index.h("div", {
|
|
2425
|
+
}, isClosable: !this.isRequired && !this.shouldForceNonClosable(), class: "s-bullet-delivery-modal", width: "sm" }, index.h("div", { class: "s-bullet-delivery-inner" }, this.viewMode === "main" && this.renderMainView(), this.viewMode === "add-address" && this.renderAddAddressForm()))));
|
|
2251
2426
|
}
|
|
2252
2427
|
componentDidLoad() {
|
|
2253
2428
|
// Mark component as ready
|
|
2254
2429
|
this.componentReady = true;
|
|
2430
|
+
if (this.isMobileApp) {
|
|
2431
|
+
// Ask the mobile app to render its native delivery sheet (replacement for our modal).
|
|
2432
|
+
Salla.event.dispatch('salla::bullet-delivery.open-sheet');
|
|
2433
|
+
// When the user confirms inside the mobile sheet, mobile dispatches
|
|
2434
|
+
// `salla::bullet-delivery.select` with a payload equivalent to what
|
|
2435
|
+
// `handleConfirm()` produces on desktop. Apply the same side-effects.
|
|
2436
|
+
this.bulletDeliveryMobileSelectHandler = (raw) => {
|
|
2437
|
+
const payload = this.extractMobileSelectPayload(raw);
|
|
2438
|
+
if (!payload) {
|
|
2439
|
+
console.warn("SallaBulletDelivery: received empty mobile select payload", raw);
|
|
2440
|
+
return;
|
|
2441
|
+
}
|
|
2442
|
+
this.applyMobileBulletDeliverySelection(payload);
|
|
2443
|
+
};
|
|
2444
|
+
Salla.event.on("salla::bullet-delivery.select", this.bulletDeliveryMobileSelectHandler);
|
|
2445
|
+
// Skip desktop-only initialisation: the auto-open strategy switch and the
|
|
2446
|
+
// cart:items.start hook mount are both no-ops or actively harmful in the
|
|
2447
|
+
// mobile webview (no modal exists, and we'd inject a non-functional HTML
|
|
2448
|
+
// pill into the native cart UI).
|
|
2449
|
+
return;
|
|
2450
|
+
}
|
|
2255
2451
|
// Handle pending open request (if event was emitted before component was ready)
|
|
2256
2452
|
if (this.pendingOpen) {
|
|
2257
2453
|
this.pendingOpen = false;
|
|
@@ -2329,6 +2525,10 @@ const SallaBulletDelivery = class {
|
|
|
2329
2525
|
Salla.event.off("salla-login::closed", this.loginClosedHandler);
|
|
2330
2526
|
this.loginClosedHandler = null;
|
|
2331
2527
|
}
|
|
2528
|
+
if (this.bulletDeliveryMobileSelectHandler) {
|
|
2529
|
+
Salla.event.off("salla::bullet-delivery.select", this.bulletDeliveryMobileSelectHandler);
|
|
2530
|
+
this.bulletDeliveryMobileSelectHandler = null;
|
|
2531
|
+
}
|
|
2332
2532
|
}
|
|
2333
2533
|
};
|
|
2334
2534
|
/**
|
|
@@ -2525,18 +2725,18 @@ const SallaSearchableDropdown = class {
|
|
|
2525
2725
|
render() {
|
|
2526
2726
|
const hasSelection = this.selectedItem != null;
|
|
2527
2727
|
const listboxId = `${this.inputId}-listbox`;
|
|
2528
|
-
return (index.h(index.Host, { key: '
|
|
2728
|
+
return (index.h(index.Host, { key: '20ebf4b42f8bb595862cddb8e187a0e568a7f441', class: "s-searchable-dropdown" }, index.h("div", { key: '76e4f06d8e7f936d1140cb7c6e25b06297ad22f3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (index.h("label", { key: 'f6752361bc4c7cfa8f1a67bb34027d46e0bac1e0', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && index.h("span", { key: 'bc255f1c31d409e8d1d7d632561158b451117e6b', class: "s-searchable-dropdown-required" }, " *"))), index.h("div", { key: 'e1694099e37ffb36394f1114f592ac9240442cfb', class: {
|
|
2529
2729
|
's-searchable-dropdown-trigger': true,
|
|
2530
2730
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
2531
2731
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
2532
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (index.h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (index.h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), index.h("i", { key: '
|
|
2732
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (index.h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (index.h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), index.h("i", { key: 'aed25a8ad3046651d984621e2a9b8f473f8830a5', class: {
|
|
2533
2733
|
'sicon-keyboard_arrow_down': true,
|
|
2534
2734
|
's-searchable-dropdown-trigger-icon': true,
|
|
2535
2735
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
2536
|
-
}, "aria-hidden": "true" })), this.isOpen && (index.h("div", { key: '
|
|
2736
|
+
}, "aria-hidden": "true" })), this.isOpen && (index.h("div", { key: '2a89c11a2e94549be786211f4284c6ae44a451d4', class: {
|
|
2537
2737
|
's-searchable-dropdown-panel': true,
|
|
2538
2738
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
2539
|
-
}, ref: (el) => (this.panelRef = el) }, index.h("div", { key: '
|
|
2739
|
+
}, ref: (el) => (this.panelRef = el) }, index.h("div", { key: '99a429ded15743eb160e353e398eadb98fbdffaf', class: "s-searchable-dropdown-search-wrap" }, index.h("i", { key: '58982ae6527a4ba06136bee2afc2d420b5e9ec14', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), index.h("input", { key: '953c944186a9e2ae8f55faf9014087584cb52abf', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), index.h("div", { key: '3fdd7d03aeec99976f505cf33a8775150fe520e3', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
2540
2740
|
}
|
|
2541
2741
|
renderListContent() {
|
|
2542
2742
|
if (this.searching || this.loading) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
|
|
8
8
|
const sallaCartCouponsCss = "";
|
|
9
9
|
|
|
@@ -242,7 +242,7 @@ const SallaCartCoupons = class {
|
|
|
242
242
|
: `${salla.lang.get('pages.cart.expires_after')} ${coupon.remaining_days} ${salla.lang.get('pages.cart.day')}`)), coupon.minimum_amount && parseFloat(coupon.minimum_amount.amount) > 0 && (index.h("div", { class: "s-cart-coupons-minimum" }, salla.lang.get('pages.cart.minimum'), " ", index.h("span", { innerHTML: salla.money(coupon.minimum_amount.amount, coupon.minimum_amount.currency) })))), index.h("div", { class: "s-cart-coupons-action" }, isEligible ? salla.lang.get('pages.cart.save_coupon') : salla.lang.get('pages.cart.coupon_not_compatible'))))));
|
|
243
243
|
}
|
|
244
244
|
render() {
|
|
245
|
-
return (index.h(index.Host, { key: '
|
|
245
|
+
return (index.h(index.Host, { key: 'f3f3d943ab2c1a6488a1da02d2cc031dbc88b482' }, index.h("div", { key: 'abf88828017041b19a6c54ba2f99e6c246bd8d04', class: "s-cart-coupons-wrapper" }, index.h("div", { key: 'c2946579a7cca935722997229f50ede603acb8b2', class: "s-cart-coupons-input-section" }, index.h("label", { key: '50042d827c86daf853babd4e41ba3a920aceda9d', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), index.h("div", { key: '4b01047727bd3a83f6cfbac37221e7732076248f', class: "s-cart-coupons-coupon-input-container" }, index.h("input", { key: '555108f68b7a60c618d9a904905ef321cd274c7a', type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, ref: el => this.couponInputRef = el, "aria-label": salla.lang.get('pages.cart.apply_coupon') }), index.h("salla-button", { key: '0416bbaf029f7d8951ca6a419cdc676ae50ee792', ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick() }, this.currentCoupon ? (index.h("i", { class: "sicon-cancel" })) : (index.h("span", null, salla.lang.get('pages.cart.save_coupon'))))), this.couponError && (index.h("span", { key: 'f7c77e8676cb07b4820b571dbd8ee25dca79a1b1', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (index.h("salla-slider", { key: 'daee9c6705de734d5f81ff86d92ad6952b5a7332', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, index.h("div", { key: '5d5ef30a6ff7f7c2b406cc5cec6622c2f028d17e', slot: "items" }, this.availableCoupons.map(coupon => this.renderCouponCard(coupon))))))));
|
|
246
246
|
}
|
|
247
247
|
get host() { return index.getElement(this); }
|
|
248
248
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CPVUhQsG.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tagMoney = require('./tag-money-Cuohw_4j.js');
|
|
@@ -215,7 +215,7 @@ const SallaCartSummary = class {
|
|
|
215
215
|
return cartUrl;
|
|
216
216
|
}
|
|
217
217
|
render() {
|
|
218
|
-
return (index.h(index.Host, { key: '
|
|
218
|
+
return (index.h(index.Host, { key: '918f027fd28cd25d653b8419f97223daaf22d428' }, index.h("a", { key: 'b74a2724ada356a01b915044d56dfb0f9953338e', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: 'b9332fe1b66b895c1e9950efaa548f04eb053d46', id: "s-cart-icon" }, index.h("slot", { key: '2b5c1cf8dea4ca23a54beeb83cfad44538ca3ab7', name: "icon" }, index.h("i", { key: 'f3145ed4a994762441d925280a3234d78c378bef', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: '26a78adf9b279019504e995216ea5373b6866876', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '60ad091221ed5cd3e2ac0d27ebc53ec9917ccd64', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '66819086b9ed7f6f21be2cd5e8baf0bc88021e40', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'a07c85971e50add3cdd5b51942e642d4daf19d82', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
|
|
219
219
|
}
|
|
220
220
|
get host() { return index.getElement(this); }
|
|
221
221
|
};
|