@salla.sa/twilight-components 2.14.426 → 2.14.428
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-510sQtuo.js → filepond-D_s3HvDq.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-z-1MNuz4.js → filepond-plugin-file-poster-C4iOlG0w.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-EWd1gmbO.js → filepond-plugin-file-validate-size-tdAA3isk.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BCBt19mU.js → filepond-plugin-file-validate-type-D9weHJX2.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-iNAVaPwf.js → filepond-plugin-image-edit-Cue4gd69.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DiM84jbH.js → filepond-plugin-image-exif-orientation-DtvYPP0B.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-sigbMp9v.js → filepond-plugin-image-preview-CCEpCBgC.js} +1 -1
- package/dist/cjs/{functions-B5bzFKvW.js → functions-DXx6pLur.js} +1 -1
- package/dist/cjs/{index-Caamiwh6.js → index-CJ1hA4la.js} +6 -6
- package/dist/cjs/{index-Lg5EBRS3.js → index-Dotxdipd.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 +4 -2
- 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-DMAN9eMT.js → tracked-promise-CXsGcQwa.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-JE6Ow90L.js → vanilla-picker-BSVxRBEK.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-next-order-coupon/salla-next-order-coupon.js +3 -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-next-order-coupon.js +3 -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-Dsmh37s8.js → filepond-EbHhfQ2h.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-D_DbNtTu.js → filepond-plugin-file-poster-NI3abP58.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-TmlZBEB7.js → filepond-plugin-file-validate-size-B6y95YaS.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CsP3KOU8.js → filepond-plugin-file-validate-type-DFmkHdVr.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CUu5Zp6h.js → filepond-plugin-image-edit-pwPBfksJ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BOQOVJ6l.js → filepond-plugin-image-exif-orientation-jJpoA9Lm.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DHbbDW9K.js → filepond-plugin-image-preview-ClEFsrPa.js} +1 -1
- package/dist/esm/{functions-DcLenERt.js → functions-CGUgaH8t.js} +1 -1
- package/dist/esm/{index-BO4PufG1.js → index-D36ugbw7.js} +6 -6
- package/dist/esm/{index-D2X1w3bP.js → index-zaYTVmuU.js} +1 -1
- 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 +4 -2
- 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-lbX3p7Ew.js → tracked-promise-27t68d0-.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-Cv5WcsNp.js → vanilla-picker-9f5m-cXz.js} +1 -1
- package/dist/twilight/{p-707cbf67.entry.js → p-00d6d5a7.entry.js} +1 -1
- package/dist/twilight/{p-0590b074.entry.js → p-06cc942b.entry.js} +1 -1
- package/dist/twilight/{p-3b116cce.entry.js → p-09428ac3.entry.js} +1 -1
- package/dist/twilight/p-09f1e7a3.entry.js +4 -0
- package/dist/twilight/{p-130f9860.entry.js → p-0e95604c.entry.js} +1 -1
- package/dist/twilight/{p-01af13c0.entry.js → p-11e4f88a.entry.js} +1 -1
- package/dist/twilight/{p-bb3be480.entry.js → p-1485beda.entry.js} +1 -1
- package/dist/twilight/{p-b18ef799.entry.js → p-18200aa4.entry.js} +1 -1
- package/dist/twilight/{p-235fe9c8.entry.js → p-19d93cc0.entry.js} +1 -1
- package/dist/twilight/{p-f99e1d01.entry.js → p-1ce63a18.entry.js} +1 -1
- package/dist/twilight/{p-dbaf2730.entry.js → p-1e06982a.entry.js} +1 -1
- package/dist/twilight/{p-e3b22019.entry.js → p-1f81ad02.entry.js} +1 -1
- package/dist/twilight/{p-e7c672a0.entry.js → p-204c0e9d.entry.js} +1 -1
- package/dist/twilight/{p-cd7fe259.entry.js → p-2286b9bd.entry.js} +1 -1
- package/dist/twilight/{p-b809a1c4.entry.js → p-2da26159.entry.js} +1 -1
- package/dist/twilight/{p-2cadcc9c.entry.js → p-2eac3905.entry.js} +1 -1
- package/dist/twilight/{p-98667c47.entry.js → p-338919cf.entry.js} +1 -1
- package/dist/twilight/{p-1ffac611.entry.js → p-38fb52dd.entry.js} +1 -1
- package/dist/twilight/{p-53fb98d5.entry.js → p-406d9fb5.entry.js} +1 -1
- package/dist/twilight/{p-7f12b845.entry.js → p-40a195c9.entry.js} +1 -1
- package/dist/twilight/p-41cd57e8.entry.js +4 -0
- package/dist/twilight/{p-bd1b9a48.entry.js → p-430c9160.entry.js} +1 -1
- package/dist/twilight/{p-a8ab7c46.entry.js → p-434aac8a.entry.js} +1 -1
- package/dist/twilight/{p-0a3e12b2.entry.js → p-4383e32a.entry.js} +1 -1
- package/dist/twilight/{p-05dc2f10.entry.js → p-45594bda.entry.js} +1 -1
- package/dist/twilight/p-49df1e46.entry.js +4 -0
- package/dist/twilight/{p-53d1424f.entry.js → p-4b7bba26.entry.js} +1 -1
- package/dist/twilight/{p-33708f2c.entry.js → p-4f7f6ada.entry.js} +1 -1
- package/dist/twilight/p-502acc91.entry.js +4 -0
- package/dist/twilight/{p-39280ec0.entry.js → p-54343a8e.entry.js} +1 -1
- package/dist/twilight/{p-a679c3b3.entry.js → p-5a6a4e59.entry.js} +1 -1
- package/dist/twilight/{p-448d8f41.entry.js → p-5bfa1bb7.entry.js} +1 -1
- package/dist/twilight/{p-6f08afa5.entry.js → p-5de03536.entry.js} +1 -1
- package/dist/twilight/{p-d9a7a0f6.entry.js → p-5dede492.entry.js} +1 -1
- package/dist/twilight/{p-cc629d48.entry.js → p-67218c7a.entry.js} +1 -1
- package/dist/twilight/{p-cf1789e5.entry.js → p-6a3e7c04.entry.js} +1 -1
- package/dist/twilight/{p-0e8d9d0f.entry.js → p-6da10576.entry.js} +1 -1
- package/dist/twilight/{p-e5bb3294.entry.js → p-6e1cdc82.entry.js} +1 -1
- package/dist/twilight/{p-BvUtr46H.js → p-7ETNA5wV.js} +1 -1
- package/dist/twilight/{p-b5663539.entry.js → p-7b663a9e.entry.js} +1 -1
- package/dist/twilight/p-7c620aae.entry.js +4 -0
- package/dist/twilight/p-7ef82df0.entry.js +4 -0
- package/dist/twilight/{p-c01fad3c.entry.js → p-7f19448e.entry.js} +1 -1
- package/dist/twilight/p-845c79a1.entry.js +4 -0
- package/dist/twilight/{p-a4e30480.entry.js → p-88c5737c.entry.js} +1 -1
- package/dist/twilight/{p-c04393ca.entry.js → p-895d6644.entry.js} +1 -1
- package/dist/twilight/{p-3582127a.entry.js → p-897d98b8.entry.js} +1 -1
- package/dist/twilight/{p-6e296143.entry.js → p-8fd38f8d.entry.js} +1 -1
- package/dist/twilight/{p-14903d46.entry.js → p-92d2ddb2.entry.js} +1 -1
- package/dist/twilight/{p-8ef579f8.entry.js → p-946b77c0.entry.js} +1 -1
- package/dist/twilight/{p-c1317994.entry.js → p-96292e66.entry.js} +1 -1
- package/dist/twilight/{p-890c1a92.entry.js → p-9a404557.entry.js} +1 -1
- package/dist/twilight/{p-80804925.entry.js → p-9a5f0f9d.entry.js} +1 -1
- package/dist/twilight/{p-46971762.entry.js → p-9a860c81.entry.js} +1 -1
- package/dist/twilight/{p-c37b818b.entry.js → p-9cc9e423.entry.js} +1 -1
- package/dist/twilight/{p-DDuo_I0r.js → p-BB7A2YQb.js} +1 -1
- package/dist/twilight/{p-D2dA64xR.js → p-BQPueUNn.js} +1 -1
- package/dist/twilight/{p-DjuY9Jnz.js → p-Bt0u20rl.js} +1 -1
- package/dist/twilight/{p-B86BGqoz.js → p-CFB0tgem.js} +1 -1
- package/dist/twilight/{p-LERSCyEP.js → p-CgXDyb0S.js} +1 -1
- package/dist/twilight/{p-BO4PufG1.js → p-D36ugbw7.js} +1 -1
- package/dist/twilight/{p-qKfSvDcI.js → p-DB4vHa_X.js} +1 -1
- package/dist/twilight/{p-2wfOtzjM.js → p-DLc4JI_x.js} +1 -1
- package/dist/twilight/{p-BspFf4Kn.js → p-DTXdHzRd.js} +1 -1
- package/dist/twilight/{p-ff880134.entry.js → p-a5d068e0.entry.js} +1 -1
- package/dist/twilight/{p-918ff81e.entry.js → p-a61cb79d.entry.js} +1 -1
- package/dist/twilight/p-a7c808b6.entry.js +4 -0
- package/dist/twilight/{p-d78e892c.entry.js → p-a9b9d4db.entry.js} +1 -1
- package/dist/twilight/p-abe816ab.entry.js +4 -0
- package/dist/twilight/{p-b7a8d181.entry.js → p-acc58cef.entry.js} +1 -1
- package/dist/twilight/{p-f793dbbd.entry.js → p-ad77def2.entry.js} +1 -1
- package/dist/twilight/{p-4ea85ab2.entry.js → p-aeaefc51.entry.js} +1 -1
- package/dist/twilight/{p-4d13a6df.entry.js → p-b0d6e0dd.entry.js} +1 -1
- package/dist/twilight/{p-39373cca.entry.js → p-b582862d.entry.js} +1 -1
- package/dist/twilight/{p-fb227bbc.entry.js → p-b7e1dedf.entry.js} +1 -1
- package/dist/twilight/p-b852909a.entry.js +4 -0
- package/dist/twilight/{p-41d1f2e9.entry.js → p-bf91ba77.entry.js} +1 -1
- package/dist/twilight/{p-3c8180cd.entry.js → p-d4fd8316.entry.js} +1 -1
- package/dist/twilight/{p-03c6a8bb.entry.js → p-d7b03f6f.entry.js} +1 -1
- package/dist/twilight/{p-50062444.entry.js → p-d8fdf8ab.entry.js} +1 -1
- package/dist/twilight/{p-870f473c.entry.js → p-dfaa2d2f.entry.js} +1 -1
- package/dist/twilight/{p-0e185c70.entry.js → p-e416b6e5.entry.js} +1 -1
- package/dist/twilight/{p-227164b2.entry.js → p-e51d3f9d.entry.js} +1 -1
- package/dist/twilight/{p-a7350994.entry.js → p-e5605bd2.entry.js} +1 -1
- package/dist/twilight/{p-bd318fd3.entry.js → p-e5695c64.entry.js} +1 -1
- package/dist/twilight/{p-ab401a6c.entry.js → p-e73ab17f.entry.js} +1 -1
- package/dist/twilight/p-e78c99c3.entry.js +4 -0
- package/dist/twilight/{p-86fb7a69.entry.js → p-eca295a4.entry.js} +1 -1
- package/dist/twilight/{p-abce7f63.entry.js → p-edbd5f07.entry.js} +1 -1
- package/dist/twilight/{p-a5d5b2d7.entry.js → p-f6058fee.entry.js} +1 -1
- package/dist/twilight/{p-315a4d3b.entry.js → p-f74ac87f.entry.js} +1 -1
- package/dist/twilight/{p-19251e7b.entry.js → p-f97d12f4.entry.js} +1 -1
- package/dist/twilight/{p-0b0b6963.entry.js → p-fd75e7df.entry.js} +1 -1
- package/dist/twilight/{p-BNErtjcV.js → p-mGTS4AOS.js} +1 -1
- package/dist/twilight/{p-jl56eEwg.js → p-puXyXCsy.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-06a2c350.entry.js +0 -4
- package/dist/twilight/p-3823e4e9.entry.js +0 -4
- package/dist/twilight/p-40156b58.entry.js +0 -4
- package/dist/twilight/p-572ef0b9.entry.js +0 -4
- package/dist/twilight/p-7f6f712b.entry.js +0 -4
- package/dist/twilight/p-8a8ebb7a.entry.js +0 -4
- package/dist/twilight/p-93b869f8.entry.js +0 -4
- package/dist/twilight/p-b7146f11.entry.js +0 -4
- package/dist/twilight/p-cb254a12.entry.js +0 -4
- package/dist/twilight/p-e6b3b54f.entry.js +0 -4
- package/dist/twilight/p-feb4e5ed.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-CJ1hA4la.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: '06e285be96e1b3cb5f30768bbde2799ba3877301' }, index.h("div", { key: '5eafc2657a6ac40069b6770cad0254ce818ca2a0', class: "s-cart-coupons-wrapper" }, index.h("div", { key: 'baffec795f630d009a64ba4fa5b8b8e95c997964', class: "s-cart-coupons-input-section" }, index.h("label", { key: '45abf5b292725af1543d32257a965404f8d30f36', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), index.h("div", { key: '144676d26effbf19c34008cdb14f20fa7c227e70', class: "s-cart-coupons-coupon-input-container" }, index.h("input", { key: 'b398928219e33171f32412bb2d41b0d9700c3369', 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: 'f6ea624d4ac233c1ecd26a3c8d11ba84bc07b940', 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: '31a5f1b35fe53207706831284a2b8ea7b7384b4a', class: "s-cart-coupons-coupon-error" }, this.couponError))), this.availableCoupons && this.availableCoupons.length > 0 && (index.h("salla-slider", { key: 'e0201b153738446fcda9d28d4ad1bab7d69c950e', type: "carousel", showControls: false, class: "s-cart-coupons-slider" }, index.h("div", { key: 'd60bfa116bef42a2a25806703e05d18d0084d466', 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-CJ1hA4la.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: '14e724a96abab2d16444b94e4e13964fb970c39a' }, index.h("a", { key: '91095f9e7e119a9a512a0f3b7c9ac5130f8224c6', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: '6aeeea8c529abd02c012a36c9d4bda66f7e1f64d', id: "s-cart-icon" }, index.h("slot", { key: 'a9de44b9c24c779905ce2a72055378632b80bb70', name: "icon" }, index.h("i", { key: 'c82466e218ba8602b7f7cccee1874c52a94a3e3e', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: '37c8068bd685f1d64dcc646369134a3302f2164c', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '7880ea8fe28b197d0874d2fbe2dc44f52ea4b364', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '1a6e2a3a26b7d23a82ede015fd660e98c03f8e86', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'ddce63b92173cc9adff16bc2805e7b154d3e5d90', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
|
|
219
219
|
}
|
|
220
220
|
get host() { return index.getElement(this); }
|
|
221
221
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
var check = require('./check-BnVBPQNp.js');
|
|
8
8
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -51,7 +51,7 @@ const SallaCommentForm = class {
|
|
|
51
51
|
.finally(() => this.submitBtn.stop());
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: 'a9caa6cb393989ab534471f5fabed599ec0a8a66' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
|
|
55
55
|
index.h("img", { class: "s-comment-form-avatar", src: salla.config.get('user.avatar'), alt: "user avatar" }) : '', index.h("div", { class: "s-comment-form-content" }, index.h("textarea", { cols: 30, rows: 5, minlength: "4", maxlength: "500", ref: field => this.commentField = field, placeholder: this.placeholder, class: "s-comment-form-input", required: true }), index.h("br", null), index.h("div", { class: "s-comment-form-action" }, index.h("salla-button", { ref: btn => this.submitBtn = btn, "loader-position": 'center', onClick: () => this.submit() }, this.submitText))))) : ''));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
@@ -190,15 +190,15 @@ const SallaCommentItem = class {
|
|
|
190
190
|
}
|
|
191
191
|
render() {
|
|
192
192
|
let isAdmin = this.comment.type == 'admin';
|
|
193
|
-
return (index.h(index.Host, { key: '
|
|
193
|
+
return (index.h(index.Host, { key: 'f17a6ca5a30774c5e1717a2dd38ea60c7f6d115f', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: '5aaee8d0d106b7ab13d7ee6d5faeca62d1a63e5a', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: '5a4a64b66ca042659fc1cea7ccdd5817d880591d', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: '2a26096e1d38747c230353c8c88de8eea5f3cec8', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: '6862b2147ddf33832f91d297bc5d8903cef65f3e', class: "s-comments-item-avatar" }, index.h("img", { key: '13e3856709d1a714e324ad164fe6cc8ac4602a69', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: '376665b2687ace024833109874642a144083a15e', class: "s-comments-flex-1" }, index.h("div", { key: 'b18b0cddaca195565a14685e48896c3f832f1c75', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '87e199f5c0c3cae12072d082042274a6e00fcdf2', class: "s-comments-item-user-info" }, index.h("h3", { key: '730741d83523f9798e795655206958ba8bd06de7', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
|
|
194
194
|
index.h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
|
|
195
195
|
: null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
|
|
196
196
|
index.h("div", { class: "s-comments-flex" }, this.comment.has_order ?
|
|
197
197
|
[index.h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: check.SICheck }), index.h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
|
|
198
198
|
index.h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
|
|
199
|
-
: null), index.h("p", { key: '
|
|
199
|
+
: null), index.h("p", { key: '0ed20c109de0bdbe61344327a633b72e3881b6ce', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), index.h("span", { key: '922b11bc062c1ce6e53e997a2a5708f545e92c2a', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
|
|
200
200
|
index.h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
|
|
201
|
-
: null), index.h("div", { key: '
|
|
201
|
+
: null), index.h("div", { key: '288ed655c6c223ec54f84da46088b57734524839', class: "s-comments-item-content" }, index.h("p", { key: '6ac007441490d1b1479811d6bcdc6841b181fa95', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: '2046daf302f3813482bc2736e5b942cc13a704c8', class: "s-comments-item-images" }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "", onClick: () => this.modal.open() }))), index.h("salla-modal", { key: '61326b451d2275514510b599e97a94e8a38a18f5', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: '4496ed68e88120e30ccbb3daf9d11dccd56dcce5', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, index.h("div", { key: 'ea919a2d8717378d56b9c541e635a932f8b8a1ff', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: 'af0aa4798aa0a1ab126799120f5bce6b2cbee777', slot: "thumbs" }, this.comment.images.map((image, index$1) => (index.h("div", { class: "s-comments-item-images-slider-thumb" }, index.h("img", { key: index$1, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? index.h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, index.h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), index.h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
|
|
202
202
|
index.h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
|
|
203
203
|
this.getReplies().map((reply) => {
|
|
204
204
|
return index.h("div", null, index.h("salla-comment-item", { comment: reply }));
|
|
@@ -825,7 +825,7 @@ const SallaReviewCard = class {
|
|
|
825
825
|
return (index.h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, index.h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), index.h("div", { class: "s-review-card-product-details" }, index.h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? index.h("p", { class: "s-review-card-product-details-purchase-count" }, index.h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
|
|
826
826
|
}
|
|
827
827
|
render() {
|
|
828
|
-
return index.h("div", { key: '
|
|
828
|
+
return index.h("div", { key: '876ac50d109430dc6d805d5e59f4dc75966212b0', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), index.h("div", { key: '6011b45689e41365d70ff59aa2b58db6069ffe6f', class: "s-review-card-content" }, this.renderHeader(), index.h("p", { key: 'c5f96d3d0161fadbc065018e4fddcdab5ce93699', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
|
|
829
829
|
}
|
|
830
830
|
get el() { return index.getElement(this); }
|
|
831
831
|
};
|
|
@@ -922,7 +922,7 @@ const SallaReviews = class {
|
|
|
922
922
|
});
|
|
923
923
|
}
|
|
924
924
|
render() {
|
|
925
|
-
return (index.h("div", { key: '
|
|
925
|
+
return (index.h("div", { key: '65b40e3af4bd3a12634c2098ca87096c96c6454a', class: "s-reviews-container" }, index.h("div", { key: '82ba3e23d074dbd13647bc7684441b9a99806efc', class: "s-reviews-header-wrapper" }, index.h("h1", { key: '2e83ff3be8bc71f1944da3e6d850cd88c865196f', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (index.h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, index.h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft.arrowLeft }))) : null), index.h("salla-slider", { key: '2d8e68fc6991f2df85b691f71c506dc375b2746f', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, index.h("div", { key: 'd5429d64b8cbd077edad73613ef663b39552677b', slot: "items" }, this.reviews.map((item, index$1) => (index.h("div", { key: index$1, class: "s-reviews-swiper-slide" }, index.h("div", { class: "s-reviews-testimonial" }, index.h("div", { class: "s-reviews-testimonial__inner" }, index.h("div", { class: "s-reviews-testimonial__avatar" }, index.h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index$1, class: "lazy" })), index.h("div", { class: "s-reviews-testimonial__text" }, index.h("p", { innerHTML: item.content }), index.h("div", { class: "s-reviews-testimonial__name_wrapper" }, index.h("div", { class: "s-reviews-testimonial__info" }, item.name && index.h("h2", null, `${item.name}`)), index.h("div", { class: "s-reviews-testimonial__rating" }, index.h("salla-rating-stars", { size: "small", value: item.stars })))), index.h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
928
|
SallaReviews.style = sallaReviewsCss;
|
|
@@ -1602,7 +1602,7 @@ const SallaReviewsPage = class {
|
|
|
1602
1602
|
return options.map(option => (index.h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
1603
1603
|
}
|
|
1604
1604
|
render() {
|
|
1605
|
-
return (index.h("host", { key: '
|
|
1605
|
+
return (index.h("host", { key: '3a03eb5fd12b0c12f7ce3507d42613e1ef6323f4' }, index.h("div", { key: '0caef3d980e06b62be4c80a1405d62c0ddbfccca', class: "s-reviews-page-header-wrapper" }, index.h("h2", { key: '5da663934595fc9978ec36e54de482ab96da33ae', class: "s-reviews-page-title" }, this.langTitlesReviews, index.h("span", { key: 'baa8507e9f4fc708f4c404cc75a6bb144ae804a4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), index.h("div", { key: '45d5864de04db086c45a2f142f23bb8babcadf45', class: "s-reviews-page-filter-wrapper" }, index.h("label", { key: '2a06fa540c6dcf102c7aaabd5077b6c077a9cac9', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), index.h("select", { key: 'ec92ba4a38470de0c60a45d74252ec729de47971', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? index.h("main", { class: "s-reviews-page-grid", ref: el => {
|
|
1606
1606
|
this.wrapper = el;
|
|
1607
1607
|
} }, this.reviews.map(review => (index.h("salla-review-card", { key: review.id, review: review }))))
|
|
1608
1608
|
: index.h("div", { class: "s-products-list-placeholder" }, index.h("span", { innerHTML: shoppingBag.ShoppingBag }), index.h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (index.h("div", { class: "s-reviews-page-load-more-container" }, index.h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
|
|
9
9
|
|
|
@@ -234,7 +234,7 @@ const SallaCountDown = class {
|
|
|
234
234
|
return this.renderCountDown();
|
|
235
235
|
}
|
|
236
236
|
render() {
|
|
237
|
-
return (index.h(index.Host, { key: '
|
|
237
|
+
return (index.h(index.Host, { key: '9e2372c96dde6479f39d197c29b8edbc7be1b2e4', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
SallaCountDown.style = sallaCountDownCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const DEBUG_KEY = 'salla-delivery-promise-debug';
|
|
9
9
|
function log(message, data) {
|
|
@@ -17,11 +17,10 @@ async function fetchCities(productId) {
|
|
|
17
17
|
const response = await salla.api.request(salla.url.api(`products/${productId}/delivery-promises/cities`));
|
|
18
18
|
if (!response.success || !Array.isArray(response.data) || response.data.length === 0) {
|
|
19
19
|
log('fetchCities: no data', { response });
|
|
20
|
-
return { cities: []
|
|
20
|
+
return { cities: [] };
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return { cities: response.data, preselected };
|
|
22
|
+
log('fetchCities success', { count: response.data.length });
|
|
23
|
+
return { cities: response.data };
|
|
25
24
|
}
|
|
26
25
|
/** Fetch the delivery promise message for a given city or branch. */
|
|
27
26
|
async function fetchDeliveryMessage(productId, id, optionType, isLoginCycleEnabled) {
|
|
@@ -142,6 +141,7 @@ function getCityDisplayName(city) {
|
|
|
142
141
|
return city.name;
|
|
143
142
|
}
|
|
144
143
|
|
|
144
|
+
const OVERRIDE_IP_KEY = 'salla-bullet-delivery-override-ip';
|
|
145
145
|
const SallaDeliveryPromise = class {
|
|
146
146
|
constructor(hostRef) {
|
|
147
147
|
index.registerInstance(this, hostRef);
|
|
@@ -208,9 +208,7 @@ const SallaDeliveryPromise = class {
|
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
210
|
if (this.isLoginCycleEnabled) {
|
|
211
|
-
this.
|
|
212
|
-
this.canRender = true;
|
|
213
|
-
window.addEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
|
|
211
|
+
await this.initLoginCycleFlow();
|
|
214
212
|
}
|
|
215
213
|
else {
|
|
216
214
|
this.selectedLabel = `${this.labels.deliveryTo} ${this.labels.selectCity}`;
|
|
@@ -220,6 +218,26 @@ const SallaDeliveryPromise = class {
|
|
|
220
218
|
disconnectedCallback() {
|
|
221
219
|
window.removeEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
|
|
222
220
|
}
|
|
221
|
+
getIPDeliveryLocation() {
|
|
222
|
+
const configPath = "store.shipping.delivery_location";
|
|
223
|
+
const ipAddress = {
|
|
224
|
+
cityId: salla.config.get(`${configPath}.city_id`),
|
|
225
|
+
cityName: salla.config.get(`${configPath}.city_name`),
|
|
226
|
+
};
|
|
227
|
+
return localStorage.getItem(OVERRIDE_IP_KEY) ?
|
|
228
|
+
JSON.parse(localStorage.getItem(OVERRIDE_IP_KEY)) : ipAddress;
|
|
229
|
+
}
|
|
230
|
+
async initLoginCycleFlow() {
|
|
231
|
+
const hasIntent = this.applyBulletIntent();
|
|
232
|
+
const { cityId, cityName } = this.getIPDeliveryLocation();
|
|
233
|
+
log("delivery promise login cycle flow getIPDeliveryLocation", this.getIPDeliveryLocation());
|
|
234
|
+
if (cityId && cityName && !hasIntent) {
|
|
235
|
+
this.selectedLabel = `${this.labels.deliveryTo} ${cityName}`;
|
|
236
|
+
await this.loadDeliveryMessage(cityId, 'city');
|
|
237
|
+
}
|
|
238
|
+
this.canRender = true;
|
|
239
|
+
window.addEventListener('bulletDeliveryConfirmed', this.onBulletDeliveryConfirmed);
|
|
240
|
+
}
|
|
223
241
|
applyBulletIntent() {
|
|
224
242
|
const resolved = resolveIntent();
|
|
225
243
|
if (!resolved) {
|
|
@@ -227,7 +245,7 @@ const SallaDeliveryPromise = class {
|
|
|
227
245
|
this.selectedCityLoginCycle = null;
|
|
228
246
|
this.selectedBranchLoginCycle = null;
|
|
229
247
|
this.deliveryMessage = null;
|
|
230
|
-
return;
|
|
248
|
+
return false;
|
|
231
249
|
}
|
|
232
250
|
if (resolved.type === 'address') {
|
|
233
251
|
this.selectedCityLoginCycle = resolved.option;
|
|
@@ -241,6 +259,7 @@ const SallaDeliveryPromise = class {
|
|
|
241
259
|
this.selectedLabel = `${this.labels.pickupFromBranch} ${resolved.option.name}`;
|
|
242
260
|
void this.loadDeliveryMessage(resolved.option.id, 'branch');
|
|
243
261
|
}
|
|
262
|
+
return true;
|
|
244
263
|
}
|
|
245
264
|
openBulletDeliveryModal() {
|
|
246
265
|
salla.event.emit('salla::bullet-delivery.modal.open.requested', buildBulletOpenPayload());
|
|
@@ -251,19 +270,27 @@ const SallaDeliveryPromise = class {
|
|
|
251
270
|
async loadCities() {
|
|
252
271
|
this.isLoadingCities = true;
|
|
253
272
|
this.hasError = false;
|
|
273
|
+
const { cityId, cityName } = this.getIPDeliveryLocation();
|
|
274
|
+
log("delivery promise standard flow getIPDeliveryLocation", this.getIPDeliveryLocation());
|
|
254
275
|
try {
|
|
255
|
-
const { cities
|
|
256
|
-
if (cities.length
|
|
276
|
+
const { cities } = await fetchCities(this.productId);
|
|
277
|
+
if (!cities.length) {
|
|
257
278
|
this.canRender = false;
|
|
258
279
|
return;
|
|
259
280
|
}
|
|
260
281
|
this.cities = cities;
|
|
261
|
-
if (preselected) {
|
|
262
|
-
this.selectedCity = preselected;
|
|
263
|
-
this.selectedLabel = `${this.labels.deliveryTo} ${getCityDisplayName(preselected)}`;
|
|
264
|
-
await this.loadDeliveryMessage(preselected.id, 'city');
|
|
265
|
-
}
|
|
266
282
|
this.canRender = true;
|
|
283
|
+
// get delivery message for the IP location
|
|
284
|
+
if (cityId && cityName) {
|
|
285
|
+
this.selectedLabel = `${this.labels.deliveryTo} ${cityName}`;
|
|
286
|
+
const autoCity = this.cities.find(c => String(c.id) === String(cityId));
|
|
287
|
+
if (autoCity) {
|
|
288
|
+
log("delivery promise standard flow autoCity found", autoCity);
|
|
289
|
+
this.selectedCity = autoCity;
|
|
290
|
+
this.modalSearchQuery = getCityDisplayName(autoCity);
|
|
291
|
+
}
|
|
292
|
+
await this.loadDeliveryMessage(cityId, 'city');
|
|
293
|
+
}
|
|
267
294
|
}
|
|
268
295
|
catch (error) {
|
|
269
296
|
this.hasError = true;
|
|
@@ -299,7 +326,6 @@ const SallaDeliveryPromise = class {
|
|
|
299
326
|
if (!this.cityModalRef)
|
|
300
327
|
return;
|
|
301
328
|
this.cityPendingSelection = null;
|
|
302
|
-
this.modalSearchQuery = '';
|
|
303
329
|
this.isCityPopoverOpen = false;
|
|
304
330
|
await this.cityModalRef.setTitle(this.labels.changeCityTitle);
|
|
305
331
|
await this.cityModalRef.open();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
8
8
|
var interfaces = require('./interfaces-DZDQwN6-.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -171,12 +171,12 @@ const SallaFiltersWidget = class {
|
|
|
171
171
|
return index.h("span", { class: "s-filters-option-name" }, label);
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return (index.h(index.Host, { key: '
|
|
174
|
+
return (index.h(index.Host, { key: '8a76246f5c11a950c79565c54579f23429d6aac7', class: "s-filters-widget-container" }, index.h("h3", { key: '77e5d39e32759bba2f4709843d799ca59f75aba0', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, index.h("span", { key: '9384511282a144b0f15e35c21b7fcc44db1b2acd' }, this.option.label), index.h("span", { key: 'd6582ecb12ed8dfa8077878617b44067b6647453', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), index.h("div", { key: '2bc04d2d6e7cc0adf38e66522e06eef5db3ed5b3', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (index.h("div", { key: '49177c27ab9dec258cf73f20464359a73db90556', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, index.h("input", { key: 'e2870973d51a1ef9ab843c4c90242fe973b3c398', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), index.h("div", { key: 'fceb876a7c16ecd45da92d8cffe8afc8a8b66964', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, index.h("slot", { key: '72c7212d72c11f592a076a6ee9a4e985857332b1' }), this.option.type !== interfaces.FilterOptionTypes.RANGE
|
|
175
175
|
? this.renderFilterOption(this.option)
|
|
176
176
|
: index.h("salla-price-range", { onChanged: (event) => {
|
|
177
177
|
this.changed.emit(event.detail);
|
|
178
178
|
}, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
|
|
179
|
-
index.h("a", { key: '
|
|
179
|
+
index.h("a", { key: '81704b05fb989d0c88388a2e277832cb94dd73aa', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
|
|
180
180
|
}
|
|
181
181
|
get host() { return index.getElement(this); }
|
|
182
182
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
var interfaces = require('./interfaces-DZDQwN6-.js');
|
|
8
8
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -195,7 +195,7 @@ const SallaFilters = class {
|
|
|
195
195
|
this.applyFilters();
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
|
-
return index.h(index.Host, { key: '
|
|
198
|
+
return index.h(index.Host, { key: '61351c8402dc63b0b122c2e83d0fc6fe989febf3' }, this.filters?.map(option => index.h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
|
|
199
199
|
this.handleOptionChange(event, option, value);
|
|
200
200
|
} })), this.filters?.length ? index.h("div", { class: "s-filters-footer" }, index.h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
|
|
201
201
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const SallaFulfillmentMethods = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -14,7 +14,7 @@ const SallaFulfillmentMethods = class {
|
|
|
14
14
|
async componentDidLoad() {
|
|
15
15
|
await Salla.onReady();
|
|
16
16
|
await Salla.lang.onLoaded();
|
|
17
|
-
if (!Salla.config.get('store.support_pickup'))
|
|
17
|
+
if (!Salla.config.get('store.shipping.support_pickup'))
|
|
18
18
|
return;
|
|
19
19
|
this.shouldRender = true;
|
|
20
20
|
this.setLabels();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
9
9
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
@@ -556,7 +556,7 @@ const SallaGifting = class {
|
|
|
556
556
|
}
|
|
557
557
|
render() {
|
|
558
558
|
return [
|
|
559
|
-
index.h("div", { key: '
|
|
559
|
+
index.h("div", { key: '9eab09a8d191d1f268aa6c70b1cca83ed8e6bbbc' }, index.h("salla-list-tile", { key: 'c56c0c1430286a492fb7afaba27af031057d9112', class: this.generateClass() }, index.h("div", { key: 'e072712d90b16f10a5fb94cdf2590f702f519052', slot: "title" }, this.vertical ? index.h("span", { innerHTML: giftSharing.SIGiftSharing }) : '', index.h("h3", { key: '11ce3fb3d72e3533ca5d3ab6b24c848f854ca074' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'dbaaf141723d74ab0bc8953cd16b5693d155de88', slot: "subtitle" }, index.h("div", { key: '9496550746b51da10964afd16f0b14d1098e5963' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: 'a74eea478aedecd9f6db0e3f28ace121771d1e5b', slot: "action" }, index.h("salla-button", { key: '53db44ebad2924d8a785a658421c58d108f98c13', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: 'a1ad93eb3612332f0464735b20aa879268a6da66', name: "widget-btn-content" }, index.h("div", { key: '7f7cff081a3d8d5d53e29a7c65d2a9cf9ac897a5', class: "s-gifting-widget-action-content" }, index.h("span", { key: 'dd3beac6683c84511ec4ba048791fa019e1ea4af', innerHTML: giftSharing.SIGiftSharing }), " \u00A0", index.h("span", { key: '4a1d029a931e051928565cec9ad821d041420a37' }, this.sectionBtnText)))))), index.h("salla-modal", { key: 'cddcacea4ba99a97286718a8fd2f9739393b73cf', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '252f2f5fe2848ca26fe9b6050bc47c96400d93ea', slot: "loading" }, index.h("div", { key: 'e8b933882138ed9c06a5ee31fc7a80f0f22857cb', class: "s-gifting-skeleton" }, index.h("div", { key: '587f61dc4e26b9cd7a634d37e638d59a4b32428d', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '6986dd5bb120de2e0a56e6a11566be8517a7de31', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: 'fa0dfd4b1faa9ce7c0e6a048a37fcc0edd209ef5', class: "s-gifting-modal-title" }, index.h("div", { key: '13d13831a3d3cf55e785fdc4153fd7f3ad4c818e', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '48a8933d1bef7c5a8e6c16f9ddd1ff2e95f1ac1f', height: '15px', width: '150px' })))), index.h("div", { key: '44686a2a7638c528fcd58855269b89af4d495a8d', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '45564ae54508c7f60332bcfc0b379bb4f35db9d4', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'ce4c13cb00ed12ee044932b2be4c11bb55067828', height: '230px' }), index.h("salla-skeleton", { key: '6682e113a5a1a5fdaf526b3003dc3d45698a4d61', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'cbaa18a09272ed058af2e4e8baa954fafd28508b', height: '30px' }), index.h("salla-skeleton", { key: '830b4ae7d3b1772b143dbf651baeecd211f880b7', height: '40px' })))), index.h("slot", { key: 'e7375a013b2dff74646ce289896dc340b0f5da9a', name: "header" }), !!this.hasError ?
|
|
560
560
|
index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), index.h("span", { slot: "description" }, " "))
|
|
561
561
|
:
|
|
562
562
|
[
|
|
@@ -576,7 +576,7 @@ const SallaGifting = class {
|
|
|
576
576
|
index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, index.h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (index.h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
|
|
577
577
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
|
|
578
578
|
index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo)), !this.isPhysical() && index.h("div", { class: this.step2ItemClass() }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
|
|
579
|
-
], index.h("slot", { key: '
|
|
579
|
+
], index.h("slot", { key: '123248e38585fd933c0221a9a3edc5601a4e0860', name: "footer" })))
|
|
580
580
|
];
|
|
581
581
|
}
|
|
582
582
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const SallaHook = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -17,7 +17,7 @@ const SallaHook = class {
|
|
|
17
17
|
this.host.before(element);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return index.h(index.Host, { key: '
|
|
20
|
+
return index.h(index.Host, { key: 'db4241e10923c84d9d15a816e6a080475be6a17d' });
|
|
21
21
|
}
|
|
22
22
|
async componentDidLoad() {
|
|
23
23
|
// Register this component for hooks system, already on it logic to run componentDidLoad trigger
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const sallaListTileCss = "";
|
|
9
9
|
|
|
@@ -26,7 +26,7 @@ const SallaListTile = class {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (index.h(index.Host, { key: '
|
|
29
|
+
return (index.h(index.Host, { key: '0ac9ef86306a47377537bed3808b85212f9a291b' }, index.h("a", { key: '6913bab0f3df27f14c626b0dd97bd5a226b59408', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, index.h("div", { key: 'b3eaea89b404802c9329be50f3172d29510af001', class: "s-list-tile-item-icon" }, index.h("slot", { key: 'd0e4b9b46ebe037eb7b937317eb1796dfe522105', name: 'icon' })), index.h("div", { key: 'd04c5a302dfc33f8107505d7037a22f892297b51', class: "s-list-tile-item-content" }, index.h("div", { key: '4d5610aaf77eff322ddd296f62840d6927625f0d', class: "s-list-tile-item-title" }, index.h("slot", { key: 'b9890a0fde7261a3cb60b7daeb3810dd72a3ef41', name: 'title' })), index.h("div", { key: '60ab7f2e78b8c0da2e1d8dd38aa50692906c7e3f', class: "s-list-tile-item-subtitle" }, index.h("slot", { key: 'a3a92374c4147c8795a7de8e6e9563fb27001293', name: "subtitle" }))), index.h("div", { key: '81732affeff85090c3084200d8d64c3231c9a123', class: "s-list-tile-item-action" }, index.h("slot", { key: '78d44f5dbadf156805d8b7ea3e484b7b250a1aa2', name: 'action' })))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
SallaListTile.style = sallaListTileCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const SallaLocalizationModal = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -209,7 +209,7 @@ const SallaLocalizationModal = class {
|
|
|
209
209
|
this.showTrigger
|
|
210
210
|
? index.h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, index.h("span", null, this.getLanguageName()), index.h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", index.h("span", { innerHTML: this.getCurrencySymbol() }))
|
|
211
211
|
: '',
|
|
212
|
-
index.h("salla-modal", { key: '
|
|
212
|
+
index.h("salla-modal", { key: '8011ed27b369f621fd5892e80490a9702042c636', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, index.h("div", { key: '17c5aaf641a668e4c8f7f625a4bb16bbea692b03', slot: 'loading' }, index.h("div", { key: 'b3eac7d8561777d746749154fb144d07596f619e', class: "s-localization-modal-skeleton" }, index.h("salla-skeleton", { key: '881169d3ec98c4d425f1d4e6a07561f6cade2858', width: '25%', height: '15px' }), index.h("div", { key: '7ccb921af00f96eca06ad59eb4c0051c02ed694d', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: 'ecbaea165f7dda315386c4ab8cdca46e1525a76a', width: '25%', height: '15px' }), index.h("div", { key: '5dcd81dd3e2017214e2139bbdc2602a970bdd5af', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: '3d549108228ad0541e96dec40f072ba6f105fbd6', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
213
213
|
index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "description" }, this.errorMessage)) :
|
|
214
214
|
index.h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
215
215
|
index.h("div", { class: "s-localization-modal-section" }, index.h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), index.h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
|
|
8
8
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
9
9
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CJ1hA4la.js');
|
|
7
7
|
var translations = require('./translations-DMwpLvqi.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
|
-
var trackedPromise = require('./tracked-promise-
|
|
9
|
+
var trackedPromise = require('./tracked-promise-CXsGcQwa.js');
|
|
10
10
|
|
|
11
11
|
const sallaLoyaltyProgramCss = "";
|
|
12
12
|
|