@salla.sa/twilight-components 2.14.371 → 2.14.372
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-C5TyxymG.js → filepond-D6hNdSue.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-r_KI_rF5.js → filepond-plugin-file-poster-DOSqy8V3.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BJQWzaZQ.js → filepond-plugin-file-validate-size-l4VLpkoL.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DCC7JLZQ.js → filepond-plugin-file-validate-type-KYY5p5gt.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-Cg9S2nTl.js → filepond-plugin-image-edit-BzaiZ8lY.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-JUZj4EsQ.js → filepond-plugin-image-exif-orientation-Dp_AVLHw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CWGu07jL.js → filepond-plugin-image-preview-Cu_XtCoc.js} +1 -1
- package/dist/cjs/{index-9TK_5akL.js → index-BmCJSRO7.js} +1 -1
- package/dist/cjs/{index-CHuTqO3q.js → index-D2SICJqL.js} +6 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/location-DIyESLuI.js +16 -0
- package/dist/cjs/salla-accordion-body_3.cjs.entry.js +5 -11
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_4.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-booking-field_7.cjs.entry.js +17 -17
- package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1980 -0
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +17 -5
- 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_2.cjs.entry.js +7 -7
- package/dist/cjs/salla-custom-fields.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-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-prize-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +2 -2
- 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-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-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-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-size-guide.cjs.entry.js +3 -3
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-slider.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-scopes.cjs.entry.js +2 -2
- package/dist/cjs/salla-search.cjs.entry.js +4 -4
- 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/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CQjvtSaq.js → vanilla-picker-W3JKfO-o.js} +1 -1
- package/dist/collection/assets/svg/get-directions.svg +6 -0
- package/dist/collection/assets/svg/gps.svg +17 -0
- package/dist/collection/assets/svg/location.svg +8 -4
- package/dist/collection/assets/svg/marker.svg +28 -0
- package/dist/collection/assets/svg/mini-google-map.svg +33 -0
- package/dist/collection/assets/svg/mini-map.svg +31 -0
- package/dist/collection/assets/svg/store3.svg +12 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-bullet-delivery/api-service.js +135 -0
- package/dist/collection/components/salla-bullet-delivery/helpers.js +125 -0
- package/dist/collection/components/salla-bullet-delivery/interfaces.js +1 -0
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +23 -0
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +1827 -0
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +16 -4
- 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-program.js +1 -1
- 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-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 +3 -3
- 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/location.js +14 -0
- package/dist/components/salla-bullet-delivery.d.ts +11 -0
- package/dist/components/salla-bullet-delivery.js +2060 -0
- package/dist/components/salla-cart-summary.js +16 -4
- 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-prize-item.js +1 -1
- package/dist/components/salla-loyalty-program.js +1 -1
- package/dist/components/salla-maintenance-alert.js +1 -1
- package/dist/components/salla-map2.js +4 -10
- 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-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-input.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-scopes.js +1 -1
- package/dist/components/salla-search.js +3 -3
- 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-mieJwBUE.js → filepond-CVt8gG7K.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BkUmku6Y.js → filepond-plugin-file-poster-ByDhiu8k.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BDlMxVlx.js → filepond-plugin-file-validate-size-C46KRc5n.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BuvgpREx.js → filepond-plugin-file-validate-type-7wK_W1ju.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CWrWDBtL.js → filepond-plugin-image-edit-BbFosret.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CpU_nGz_.js → filepond-plugin-image-exif-orientation-DXsWsxNp.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BWz5PVcy.js → filepond-plugin-image-preview-BZoHvyw-.js} +1 -1
- package/dist/esm/{index-D7Bzwdti.js → index-SkTHIgsP.js} +6 -2
- package/dist/esm/{index-CfKLYGBH.js → index-x1gUeQbQ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/location-BO5AoBAP.js +14 -0
- package/dist/esm/salla-accordion-body_3.entry.js +5 -11
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_4.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-booking-field_7.entry.js +17 -17
- package/dist/esm/salla-bullet-delivery.entry.js +1978 -0
- package/dist/esm/salla-cart-item-offers_2.entry.js +17 -5
- 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_2.entry.js +7 -7
- package/dist/esm/salla-custom-fields.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-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-prize-item.entry.js +2 -2
- package/dist/esm/salla-loyalty-program.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +2 -2
- 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-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-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-size-guide.entry.js +3 -3
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-products-slider.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-scopes.entry.js +2 -2
- package/dist/esm/salla-search.entry.js +4 -4
- 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/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-Br_hO4Uj.js → vanilla-picker-CBzZiD3g.js} +1 -1
- package/dist/twilight/{p-29b57dba.entry.js → p-001b7ef6.entry.js} +1 -1
- package/dist/twilight/{p-44aa455b.entry.js → p-07fdc902.entry.js} +1 -1
- package/dist/twilight/{p-d1262d52.entry.js → p-0ad3a828.entry.js} +1 -1
- package/dist/twilight/{p-7c0348db.entry.js → p-0b53d638.entry.js} +1 -1
- package/dist/twilight/{p-59b665cc.entry.js → p-13b496e7.entry.js} +1 -1
- package/dist/twilight/{p-534aefd5.entry.js → p-18e52d0e.entry.js} +1 -1
- package/dist/twilight/{p-16fecad4.entry.js → p-1e8fbd9f.entry.js} +1 -1
- package/dist/twilight/{p-03c3460b.entry.js → p-236372e3.entry.js} +1 -1
- package/dist/twilight/{p-5061d57a.entry.js → p-27e70f37.entry.js} +1 -1
- package/dist/twilight/{p-45eebb06.entry.js → p-2820ce1d.entry.js} +1 -1
- package/dist/twilight/{p-eaa5265d.entry.js → p-2ab48cac.entry.js} +1 -1
- package/dist/twilight/{p-cbebd2a6.entry.js → p-2f692fcf.entry.js} +1 -1
- package/dist/twilight/{p-fc8338a5.entry.js → p-301c2f68.entry.js} +1 -1
- package/dist/twilight/{p-20a3463b.entry.js → p-3243737f.entry.js} +1 -1
- package/dist/twilight/{p-686c24b0.entry.js → p-35024791.entry.js} +1 -1
- package/dist/twilight/{p-9bd4d477.entry.js → p-3bf9141e.entry.js} +1 -1
- package/dist/twilight/{p-586766e6.entry.js → p-3eaa8925.entry.js} +1 -1
- package/dist/twilight/{p-cd127c8f.entry.js → p-3fe97989.entry.js} +1 -1
- package/dist/twilight/{p-805f75b1.entry.js → p-409f7136.entry.js} +1 -1
- package/dist/twilight/{p-8fe4e64c.entry.js → p-463e4f76.entry.js} +1 -1
- package/dist/twilight/{p-7633d0f9.entry.js → p-4cf58a9c.entry.js} +1 -1
- package/dist/twilight/{p-858639d1.entry.js → p-4fa45c6a.entry.js} +1 -1
- package/dist/twilight/p-504b5014.entry.js +4 -0
- package/dist/twilight/{p-506a4821.entry.js → p-511ca10b.entry.js} +1 -1
- package/dist/twilight/{p-adf98dcd.entry.js → p-51de8331.entry.js} +1 -1
- package/dist/twilight/{p-03b8dbdb.entry.js → p-53b2e08f.entry.js} +1 -1
- package/dist/twilight/{p-2f8591d1.entry.js → p-53cc3cef.entry.js} +1 -1
- package/dist/twilight/{p-679a2b29.entry.js → p-5905a86a.entry.js} +1 -1
- package/dist/twilight/{p-e2ea1d25.entry.js → p-59db4c52.entry.js} +1 -1
- package/dist/twilight/{p-0a5e716e.entry.js → p-5b9bc272.entry.js} +1 -1
- package/dist/twilight/{p-a13997ec.entry.js → p-5bf0ced8.entry.js} +1 -1
- package/dist/twilight/{p-CK_SuigF.js → p-5dujJcuF.js} +1 -1
- package/dist/twilight/{p-88bf4d9a.entry.js → p-6036b492.entry.js} +1 -1
- package/dist/twilight/p-6837da63.entry.js +4 -0
- package/dist/twilight/{p-5495f12b.entry.js → p-75769c80.entry.js} +1 -1
- package/dist/twilight/p-7d72642b.entry.js +4 -0
- package/dist/twilight/p-861be114.entry.js +4 -0
- package/dist/twilight/p-86982850.entry.js +4 -0
- package/dist/twilight/p-8b505e2a.entry.js +4 -0
- package/dist/twilight/{p-872afa97.entry.js → p-8e97544e.entry.js} +1 -1
- package/dist/twilight/{p-fe411065.entry.js → p-94f73964.entry.js} +1 -1
- package/dist/twilight/{p-e6290d65.entry.js → p-9d497735.entry.js} +1 -1
- package/dist/twilight/{p-4a26acfc.entry.js → p-9ebe9909.entry.js} +1 -1
- package/dist/twilight/{p-CXeCu_jM.js → p-BF4uw95J.js} +1 -1
- package/dist/twilight/p-BO5AoBAP.js +4 -0
- package/dist/twilight/{p-DxwVu0e0.js → p-BgZuVAWD.js} +1 -1
- package/dist/twilight/{p-CUatGDGo.js → p-Cp0TiBtU.js} +1 -1
- package/dist/twilight/{p-5zOaKg_9.js → p-DICe9yRT.js} +1 -1
- package/dist/twilight/{p-CW-amhuP.js → p-DPmKuJIj.js} +1 -1
- package/dist/twilight/{p-CTOX1dM4.js → p-D_zRqCzR.js} +1 -1
- package/dist/twilight/{p-DuNH_Aw7.js → p-DcBxzAOm.js} +2 -2
- package/dist/twilight/{p-DqlLeHWn.js → p-Dr5NxBjb.js} +1 -1
- package/dist/twilight/{p-D7Bzwdti.js → p-SkTHIgsP.js} +1 -1
- package/dist/twilight/p-a473108d.entry.js +4 -0
- package/dist/twilight/{p-c174520d.entry.js → p-a9e61f29.entry.js} +1 -1
- package/dist/twilight/p-acc5aba0.entry.js +4 -0
- package/dist/twilight/{p-6fdee7e3.entry.js → p-afb92112.entry.js} +1 -1
- package/dist/twilight/{p-72ce3910.entry.js → p-b3fad8c9.entry.js} +1 -1
- package/dist/twilight/{p-dd3ab123.entry.js → p-b8b9c8c0.entry.js} +1 -1
- package/dist/twilight/{p-2b1773af.entry.js → p-bc174ca1.entry.js} +1 -1
- package/dist/twilight/{p-5c801824.entry.js → p-bdb38d1b.entry.js} +1 -1
- package/dist/twilight/{p-b9f04134.entry.js → p-c1bdca57.entry.js} +1 -1
- package/dist/twilight/{p-44a5fa6e.entry.js → p-c9179f5b.entry.js} +1 -1
- package/dist/twilight/{p-67f57570.entry.js → p-d100ac0c.entry.js} +1 -1
- package/dist/twilight/{p-c1150cc5.entry.js → p-d45adf75.entry.js} +1 -1
- package/dist/twilight/{p-2f40b47e.entry.js → p-d5c633e3.entry.js} +1 -1
- package/dist/twilight/{p-d554aae1.entry.js → p-d95a2fee.entry.js} +1 -1
- package/dist/twilight/{p-c222537d.entry.js → p-d969b269.entry.js} +1 -1
- package/dist/twilight/{p-34317dbd.entry.js → p-db479d0a.entry.js} +1 -1
- package/dist/twilight/{p-9aff2e0b.entry.js → p-e100b798.entry.js} +1 -1
- package/dist/twilight/{p-321b84a0.entry.js → p-e1222500.entry.js} +1 -1
- package/dist/twilight/{p-4d25e8c9.entry.js → p-e452b815.entry.js} +1 -1
- package/dist/twilight/{p-f27a95af.entry.js → p-e5758e7c.entry.js} +1 -1
- package/dist/twilight/{p-374a338f.entry.js → p-e975235b.entry.js} +1 -1
- package/dist/twilight/p-ebb88e7b.entry.js +4 -0
- package/dist/twilight/{p-8ff1364e.entry.js → p-ec8e267b.entry.js} +1 -1
- package/dist/twilight/{p-0f21b53d.entry.js → p-f0ad1125.entry.js} +1 -1
- package/dist/twilight/{p-5a734f65.entry.js → p-f64f5502.entry.js} +1 -1
- package/dist/twilight/{p-56f61d6f.entry.js → p-f89add85.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/api-service.d.ts +61 -0
- package/dist/types/components/salla-bullet-delivery/helpers.d.ts +39 -0
- package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +297 -0
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +202 -0
- package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +2 -1
- package/dist/types/components.d.ts +57 -0
- package/package.json +5 -5
- package/dist/twilight/p-1103aa23.entry.js +0 -4
- package/dist/twilight/p-23bd128b.entry.js +0 -4
- package/dist/twilight/p-2ac4b7eb.entry.js +0 -4
- package/dist/twilight/p-407ed3e9.entry.js +0 -4
- package/dist/twilight/p-87072244.entry.js +0 -4
- package/dist/twilight/p-c34516a0.entry.js +0 -4
- package/dist/twilight/p-c68a5519.entry.js +0 -4
- package/dist/twilight/p-d6207cfd.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-D2SICJqL.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var gift = require('./gift-CJ-3Yw_x.js');
|
|
9
9
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
@@ -186,26 +186,38 @@ const SallaCartSummary = class {
|
|
|
186
186
|
return new Promise(resolve => salla.onReady(resolve));
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
* Compute cart href with scope
|
|
189
|
+
* Compute cart href with scope + allocation parameters.
|
|
190
|
+
* Uses storage (not config) so allocation_type/allocation_id set by bullet-delivery are included.
|
|
190
191
|
*/
|
|
191
192
|
getCartLink() {
|
|
192
193
|
let cartUrl = salla.url.get('cart');
|
|
193
|
-
|
|
194
|
+
// Prefer storage over config: storage holds allocation_type/allocation_id, config only has type+id
|
|
195
|
+
const scope = salla.storage.get('scope') || salla.config.get('store.scope');
|
|
194
196
|
if (scope && scope.id) {
|
|
195
197
|
try {
|
|
196
198
|
const url = new URL(cartUrl);
|
|
197
199
|
url.searchParams.set('scope', scope.id);
|
|
200
|
+
if (scope.allocation_type)
|
|
201
|
+
url.searchParams.set('allocation_type', scope.allocation_type);
|
|
202
|
+
if (scope.allocation_id)
|
|
203
|
+
url.searchParams.set('allocation_id', scope.allocation_id);
|
|
198
204
|
return url.toString();
|
|
199
205
|
}
|
|
200
206
|
catch (e) {
|
|
201
207
|
const delimiter = cartUrl.includes('?') ? '&' : '?';
|
|
202
|
-
|
|
208
|
+
const params = new URLSearchParams();
|
|
209
|
+
params.set('scope', String(scope.id));
|
|
210
|
+
if (scope.allocation_type)
|
|
211
|
+
params.set('allocation_type', scope.allocation_type);
|
|
212
|
+
if (scope.allocation_id)
|
|
213
|
+
params.set('allocation_id', scope.allocation_id);
|
|
214
|
+
return `${cartUrl}${delimiter}${params.toString()}`;
|
|
203
215
|
}
|
|
204
216
|
}
|
|
205
217
|
return cartUrl;
|
|
206
218
|
}
|
|
207
219
|
render() {
|
|
208
|
-
return (index.h(index.Host, { key: '
|
|
220
|
+
return (index.h(index.Host, { key: '4ceefb3809e2e7c1d00bb47b3d9ed58fa0e48c7b' }, index.h("a", { key: '3e4f3ab42958fb12647e53cf0a7a95e780d5727f', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: '496573ce91987c25b0cd5e16d5bb95be610f5db6', id: "s-cart-icon" }, index.h("slot", { key: '53c290cc7e7e5b9d911e1ba430038e0b7ef21dc5', name: "icon" }, index.h("i", { key: 'b9281b127f798e1738e9c59f4e0413e2852271a8', class: "s-cart-summary-icon", innerHTML: cart.PendingOrdersIcon }))), index.h("span", { key: 'aa7b03b0f1ca2155034b15420e8c5fac7e440ae1', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '4e8111bba613de3aaefc9a22fbbd6a57e5b9ca6f', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '86a8b09624647bcd715aefaf0afae43b0b8f991e', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: '426d8bf03af7a8f96793bda0ebe593b1b1eebf63', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
|
|
209
221
|
}
|
|
210
222
|
get host() { return index.getElement(this); }
|
|
211
223
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.js');
|
|
7
7
|
var check = require('./check-x3w3-gpj.js');
|
|
8
8
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -38,7 +38,7 @@ const SallaCommentForm = class {
|
|
|
38
38
|
.finally(() => this.submitBtn.stop);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '1c2cdcb7dea3afa14a9fbe7700b05241c6e36770' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
|
|
42
42
|
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))))) : ''));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -177,15 +177,15 @@ const SallaCommentItem = class {
|
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
179
|
let isAdmin = this.comment.type == 'admin';
|
|
180
|
-
return (index.h(index.Host, { key: '
|
|
180
|
+
return (index.h(index.Host, { key: '93d39f2ef35c0cfdcd6333e58e6a836845b4fe12', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: 'c160b10f946149c293cb0daeaf96aa7b06ba095e', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: '60728bde4f0293cf419b589759b6621c5f0a519a', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: 'aac6a394aa6460756c4c54d0a0c671078d1dddd6', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: 'cdca36fac4f23720084477ee889325942d25341e', class: "s-comments-item-avatar" }, index.h("img", { key: '07e8e17f7470d87607c8aaa8f15e283b129ca070', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: '6ef14e9b64d8300a24d886c081cc66ec621fd2a6', class: "s-comments-flex-1" }, index.h("div", { key: '4f72cfb690978fae30d8ef7c957e6adf53a2872d', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '413840281c0050521a8ae4fd60e502ed821f4260', class: "s-comments-item-user-info" }, index.h("h3", { key: '814c32cefc6b62585022ab3e1cdb59965553f1d2', 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 ?
|
|
181
181
|
index.h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
|
|
182
182
|
: null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
|
|
183
183
|
index.h("div", { class: "s-comments-flex" }, this.comment.has_order ?
|
|
184
184
|
[index.h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: check.iconCheck }), index.h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
|
|
185
185
|
index.h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
|
|
186
|
-
: null), index.h("p", { key: '
|
|
186
|
+
: null), index.h("p", { key: '7c6745073e250e100c8a613e4fd94d751042fb7f', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), index.h("span", { key: '011cfc88b9702e14f6ea9d8ded0fa6f8678adb18', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
|
|
187
187
|
index.h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
|
|
188
|
-
: null), index.h("div", { key: '
|
|
188
|
+
: null), index.h("div", { key: '044599867529f9526306ac258981a15e4c43e369', class: "s-comments-item-content" }, index.h("p", { key: 'd3d082f84a154205bb6eedb0d14c2bb9a83387ee', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: 'c475b4911834163084ede77e2c1f289ea9efddca', 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: '384d4555813e8e9c4bf7c6ad626def802f8f6f5a', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: 'a2be6511ff82555b87196183c6f463f4582c18c4', 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: 'c6029d94bdddf9958758fbd8c3dbca3e40ad1c01', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: 'b5febbea6d46ce3b920f5bc15866eebb54f440e4', 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 && 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 ?
|
|
189
189
|
index.h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
|
|
190
190
|
this.getReplies().map((reply) => {
|
|
191
191
|
return index.h("div", null, index.h("salla-comment-item", { comment: reply }));
|
|
@@ -773,7 +773,7 @@ const SallaReviewCard = class {
|
|
|
773
773
|
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)));
|
|
774
774
|
}
|
|
775
775
|
render() {
|
|
776
|
-
return index.h("div", { key: '
|
|
776
|
+
return index.h("div", { key: 'dc04f5504270de8eec6f4f20930b5ad8b19bfa1e', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), index.h("div", { key: 'f2c82854952afa8f1c32ca3cdc9548aa04d4920a', class: "s-review-card-content" }, this.renderHeader(), index.h("p", { key: '555f4e598c753d38736642e9a4c8913035552159', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
|
|
777
777
|
}
|
|
778
778
|
get el() { return index.getElement(this); }
|
|
779
779
|
};
|
|
@@ -870,7 +870,7 @@ const SallaReviews = class {
|
|
|
870
870
|
});
|
|
871
871
|
}
|
|
872
872
|
render() {
|
|
873
|
-
return (index.h("div", { key: '
|
|
873
|
+
return (index.h("div", { key: '87bb92617b9d324de1302a6ca936f53c32127783', class: "s-reviews-container" }, index.h("div", { key: '9f787c6c51986619ac833dbb5ec600117f44ac11', class: "s-reviews-header-wrapper" }, index.h("h1", { key: 'cfbd2cc1d756a364daae2aadeb622f562a2b2861', 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: '2ee3a757f2535a35b8361602a9f5e20700bb7f74', 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: '9560489ef5c998b0eef8f0a2a9f7eec5e2f27c6d', 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 }))))))))));
|
|
874
874
|
}
|
|
875
875
|
};
|
|
876
876
|
SallaReviews.style = sallaReviewsCss;
|
|
@@ -1550,7 +1550,7 @@ const SallaReviewsPage = class {
|
|
|
1550
1550
|
return options.map(option => (index.h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
|
|
1551
1551
|
}
|
|
1552
1552
|
render() {
|
|
1553
|
-
return (index.h("host", { key: '
|
|
1553
|
+
return (index.h("host", { key: 'a38a67a03a9ef104b0233f560d764b31e5dbe636' }, index.h("div", { key: '9bcd8e6b51ade66e2a7ec6499c03d481e9ea9462', class: "s-reviews-page-header-wrapper" }, index.h("h2", { key: '2af4f0e2f6814278c5f02a53cf20223eba0924b7', class: "s-reviews-page-title" }, this.langTitlesReviews, index.h("span", { key: '9741437a092ae5b56f2633b0cdd7629bb83bcdf4', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), index.h("div", { key: '68255bc0c46369dfbfa7966cbae3524014a020e0', class: "s-reviews-page-filter-wrapper" }, index.h("label", { key: '5aa4b79c6de3f960d235b35a3391e0aa883f1803', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), index.h("select", { key: '66ffbca8eab701b4177fbd16deb6b45cd8b03440', 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 => {
|
|
1554
1554
|
this.wrapper = el;
|
|
1555
1555
|
} }, this.reviews.map(review => (index.h("salla-review-card", { key: review.id, review: review }))))
|
|
1556
1556
|
: 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-D2SICJqL.js');
|
|
7
7
|
var star2 = require('./star2-R146a27p.js');
|
|
8
8
|
|
|
9
9
|
const sallaCountDownCss = "";
|
|
@@ -159,7 +159,7 @@ const SallaCountDown = class {
|
|
|
159
159
|
return this.renderCountDown();
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
|
-
return (index.h(index.Host, { key: '
|
|
162
|
+
return (index.h(index.Host, { key: 'de0e93d1c6bcf24dc3b07705786fb9c204bfa625', 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.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
SallaCountDown.style = sallaCountDownCss;
|
|
@@ -259,14 +259,14 @@ const SallaProductCard = class {
|
|
|
259
259
|
's-product-card-out-of-stock': this.productData?.is_out_of_stock,
|
|
260
260
|
};
|
|
261
261
|
const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
|
|
262
|
-
return (index.h(index.Host, { key: '
|
|
262
|
+
return (index.h(index.Host, { key: '9a3e099826d51b49a1ac85f71cd1bd8bc36ef3a5', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '54a68f86817e919f63ba989a2b451072f4ce410c', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: 'b8454d7fe8d9df0f802cd4bcb854097c2058450b', ...hrefProp }, index.h("img", { key: '3f0f22a74468c5a4e95936a2bcb5196191d6e115', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
|
|
263
263
|
? 'contain'
|
|
264
264
|
: this.fitImageHeight
|
|
265
265
|
? this.fitImageHeight
|
|
266
|
-
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '
|
|
267
|
-
index.h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '
|
|
266
|
+
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: 'a087db8f8b46c9be4c08a13b6707780ab3037cbc', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
|
|
267
|
+
index.h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'cf33a8c9a0dc1f2fe228516982cbab8f0cfdd2f2', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
|
|
268
268
|
index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
|
|
269
|
-
: '', index.h("div", { key: '
|
|
269
|
+
: '', index.h("div", { key: '784383a2af047842c44ed684d9112fce7661280e', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: '5719757a642d9d288a9e9cf6dbf35aca0468d3d7', class: "s-product-card-content-title" }, index.h("a", { key: 'fd7f90537667a073c08af3970f9f577ea5e79c0f', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
|
|
270
270
|
index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
|
|
271
271
|
: ''), this.productData?.donation && !this.minimal && !this.fullImage ?
|
|
272
272
|
[index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
|
|
@@ -275,7 +275,7 @@ const SallaProductCard = class {
|
|
|
275
275
|
this.addBtn.donatingAmount = e.target.value;
|
|
276
276
|
}, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
|
|
277
277
|
: '')]
|
|
278
|
-
: '', index.h("div", { key: '
|
|
278
|
+
: '', index.h("div", { key: 'ca35502d49adf1b7c7cdd0ccb719d9c41a7dfd58', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
|
|
279
279
|
index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
|
|
280
280
|
: ''), this.isSpecial && this.productData.discount_ends
|
|
281
281
|
? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.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: 'aaa423868d5ecd62a1d3dbb05a5143f7983e15ab', class: "s-filters-widget-container" }, index.h("h3", { key: '444a72e027f870fcd3f2fb01d8a52d642b1d6fab', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, index.h("span", { key: '1813e58218aefebecdd0b2d8af9ce89ce5c17b9f' }, this.option.label), index.h("span", { key: '11926f6d1343095b29c93f010b99cfc07152918a', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), index.h("div", { key: '24f151541c5da697d157f6f110fb640b316ad533', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (index.h("div", { key: '12b4adb00888f657f9d67f84b377634190e0cedd', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, index.h("input", { key: 'b14ff87ad64e594c3120be3b5e5d102c8d74cd98', 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: '9a9f76a9ca1a9ae7e474dcf771e0a58936dee7d7', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, index.h("slot", { key: '020b614afb9c6ca5aadfccafe748e73e8f2fa77a' }), 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: '4d03eccbc3b357444e27d61c647b09d435ceb1be', 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-D2SICJqL.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: '3b38160573591da8249606b8c12b72b58d03551d' }, 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-D2SICJqL.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-De6vslRA.js');
|
|
@@ -463,7 +463,7 @@ const SallaGifting = class {
|
|
|
463
463
|
}
|
|
464
464
|
render() {
|
|
465
465
|
return [
|
|
466
|
-
index.h("div", { key: '
|
|
466
|
+
index.h("div", { key: '9574380f66316cf6334d4256e410e39f3817eb59' }, index.h("salla-list-tile", { key: '651a29e6178f9a1fe47722fe76f4f703ca141c30', class: this.generateClass() }, index.h("div", { key: '82827e1d3a102ef23256e2eb157149b22f5a998a', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: '15e0b153ed7fe76a6ee55f1bde19c8421ceded59' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'f1de0351fd585fb1cfc80692575c1ba8ab6ce54b', slot: "subtitle" }, index.h("div", { key: 'e2bab5f3573295b4196bc5fa8bb93621d4b0b10c' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '2c51262f9d0915199654cbe47b402933b2088709', slot: "action" }, index.h("salla-button", { key: 'eb98eb7a087f992db8cabb3d73540b97691c8a8a', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: 'fad4f36f0dac45b19216790fb895b37d1cc5559e', name: "widget-btn-content" }, index.h("div", { key: '5a450e7c43a871ebb774a993b2aa8c5995263f85', class: "s-gifting-widget-action-content" }, index.h("span", { key: '3ab35c8fbcdf0297e9955b3272a7253a6c4268eb', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: 'be874da9ec1226a0ef72797bb57202e0dd1760cd' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '857ff6f56962093dc896fd2dc7172be29522a96e', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '03a8f004c81a6a2a89b6de2c47f3353aae11e5e8', slot: "loading" }, index.h("div", { key: '38ea94f80df85e8d4d5275f0e732343097bd21a6', class: "s-gifting-skeleton" }, index.h("div", { key: '33af109db7645e322a3208756ae2a5293d4d1456', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '2246cec7f9e041ffdb7d7fd649e81a0675801150', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '83f5633bc7141e2c42c485db361771820c4c0650', class: "s-gifting-modal-title" }, index.h("div", { key: '200855ddf40a5f04f44dd654d86811d524920b2e', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '968cf1ae36607c0a5d3b1ce09710cbba42655bc5', height: '15px', width: '150px' })))), index.h("div", { key: '4a345dee6aac2dc9bad6ef95801e18c58d90f2f8', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '11239cd329c61e72fd7ae33a987917ed7a036c9b', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '62e22fe7f980e2e9ff0b36897cc14b04810c1b77', height: '230px' }), index.h("salla-skeleton", { key: '497135a7babcedf738553b10eb8b45eeb4ce029c', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'a5661d473a1ef369115c5087bc3ee48a10e37ebf', height: '30px' }), index.h("salla-skeleton", { key: '08c21713c79c518dcf955ebc677de46382e7bb6f', height: '40px' })))), index.h("slot", { key: 'b6b3ac52af5dac166b3965ee903c5db14c63250f', name: "header" }), !!this.hasError ?
|
|
467
467
|
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" }, " "))
|
|
468
468
|
:
|
|
469
469
|
[
|
|
@@ -479,7 +479,7 @@ const SallaGifting = class {
|
|
|
479
479
|
index.h("div", null, index.h("div", { class: this.errors && this.errors['receiver.country'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), index.h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, index.h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (index.h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
|
|
480
480
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), index.h("div", { class: this.errors && this.errors['receiver.city_id'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, 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 }, 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'] ?
|
|
481
481
|
index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), index.h("div", { class: "s-gifting-info anime-item opacity-0" }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo))), !this.physicalProducts && index.h("div", { class: "anime-item opacity-0" }, 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: "s-gifting-step-two-footer anime-item opacity-0" }, 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)))))
|
|
482
|
-
], index.h("slot", { key: '
|
|
482
|
+
], index.h("slot", { key: '04b96695999357ab1b4b0cf16f853c0f5dc2d402', name: "footer" })))
|
|
483
483
|
];
|
|
484
484
|
}
|
|
485
485
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.js');
|
|
7
7
|
|
|
8
8
|
const SallaHook = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -13,7 +13,7 @@ const SallaHook = class {
|
|
|
13
13
|
this.host.before(element);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return index.h(index.Host, { key: '
|
|
16
|
+
return index.h(index.Host, { key: '61a0a169011899bd7c2bcc0e1ddd1376da071d1d' });
|
|
17
17
|
}
|
|
18
18
|
async componentDidLoad() {
|
|
19
19
|
// 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-D2SICJqL.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-D2SICJqL.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: 'c66af50f4293094425640dd48246a973a240687b' }, index.h("a", { key: '5f2969fa28b312b2df0aa8f4ea93476f3d46f415', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, index.h("div", { key: '4b92b66742957d2cb1d0961f78912ee28fd156d2', class: "s-list-tile-item-icon" }, index.h("slot", { key: '8593c413f0f7ed60d5f5b2e80a1e10880b6fd063', name: 'icon' })), index.h("div", { key: '469efd30ddfd208c1b73b6fc4485ae7fae11f914', class: "s-list-tile-item-content" }, index.h("div", { key: 'e5bebc43345b3921597d73020948ed5f913974e8', class: "s-list-tile-item-title" }, index.h("slot", { key: '306e82cccd99c6a8341c23fc5f8f35c5a656a088', name: 'title' })), index.h("div", { key: 'b148fbbc417ff3e174833a91c8b852525f6cacc1', class: "s-list-tile-item-subtitle" }, index.h("slot", { key: '44ef5d6b3aae8a7b511244be00c12700605c596a', name: "subtitle" }))), index.h("div", { key: '8cfd1fa5145a3b2adf7eb1da27f1cf96d7d96780', class: "s-list-tile-item-action" }, index.h("slot", { key: '47db71ae396cfc1cbdeb9fd7fd643afefd1af5db', 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-D2SICJqL.js');
|
|
7
7
|
|
|
8
8
|
const SallaLocalizationModal = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -106,7 +106,7 @@ const SallaLocalizationModal = class {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (index.h("salla-modal", { key: '
|
|
109
|
+
return (index.h("salla-modal", { key: 'f879ba9acb191ca879d56e8dfc2b6770c3840f98', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, index.h("div", { key: 'd740c5b855c8fce282a2825463934de5b229bbfe', slot: 'loading' }, index.h("div", { key: '089b25c5e823158a4b52e094650bdb6c7316e527', class: "s-localization-modal-skeleton" }, index.h("salla-skeleton", { key: 'a2fc0521bfc24bbe28506f2d39879d794de7a861', width: '25%', height: '15px' }), index.h("div", { key: 'f04667dc28710e1885d156b13e014d6ada7a804d', 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: '94fe914dfa3927931dabd2f7bf2fdce7c28a78d2', width: '25%', height: '15px' }), index.h("div", { key: '1c9d8fbbfe76089646ab6da1b2e6f6f1bf90031c', 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: '70e81e3e906a4f53572cff5191d64e0168d1c3b8', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
110
110
|
index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "description" }, this.errorMessage)) :
|
|
111
111
|
index.h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
112
112
|
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-D2SICJqL.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,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.js');
|
|
7
7
|
|
|
8
8
|
const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ const SallaLoyaltyPrizeItem = class {
|
|
|
16
16
|
this.prizeItemSelected.emit(this.item);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '41df19345e2a4ed6a38eb7ee1fa7a409d19fa89d' }, index.h("div", { key: '2e8fadde2fe4aefbf640fd7025b4ff807739f547', onClick: this.onPrizeItemClick.bind(this) }, index.h("img", { key: '30342789e4dc4c65756205a928cb1011a6c3e9b3', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), index.h("div", { key: 'afc2880c949c32b7acd03fafb7e67c913543e476', class: "s-loyalty-prize-item-title" }, this.item.name), index.h("div", { key: 'f59c157c72b18d5bc678882c0ba2619e15cea629', class: "s-loyalty-prize-item-subtitle" }, this.item.description), index.h("div", { key: 'a68e7ae92728ce8a17025e8ed462686c70653748', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
SallaLoyaltyPrizeItem.style = sallaLoyaltyPrizeItemCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.js');
|
|
7
7
|
var gift = require('./gift-CJ-3Yw_x.js');
|
|
8
8
|
|
|
9
9
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -78,7 +78,7 @@ const SallaWalletTable = class {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: '8db94d6959cdbfa850f64d6c37471a78e9b36fb8' }, index.h("div", { key: 'e7d4eeef9079ac87ea4d4359c6833dce82bfa11e' }, this.isLoadingLoyalty ? (index.h("salla-loading", null)) : (index.h("div", null, this.loyaltyPointsArray.length > 0 ? (index.h("div", null, index.h("table", { class: "s-loyalty-program-table" }, index.h("thead", { class: "s-loyalty-program-table-head" }, index.h("tr", { class: "s-loyalty-program-table-head-tr" }, index.h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), index.h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), index.h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), index.h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.note')), index.h("th", { scope: "col", class: "s-loyalty-program-table-head-tr-th" }, salla.lang.get('common.elements.status')))), index.h("tbody", { class: "s-loyalty-program-table-tbody" }, this.loyaltyPointsArray.map(point => (index.h("tr", { class: "s-loyalty-program-table-tbody-tr" }, index.h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, point?.type === 'plus' ? '+' : '', point?.points || '', " ", salla.lang.get('pages.loyalty_program.point')), index.h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate(point?.created_at ? Number(point.created_at) * 1000 : undefined)), index.h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, formatDate(point?.points_expire_date)), index.h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point?.key)), index.h("td", { class: "s-loyalty-program-table-tbody-tr-td" }, translateKey(point?.status_key))))))), index.h("div", { class: "s-infinite-scroll-wrapper" }, !!this.nextPageUrlLoyalty && (index.h("salla-button", { onClick: this.handleClick, loading: this.isLoadingLoyalty }, salla.lang.get('common.elements.load_more')))))) : (index.h("div", null, index.h("div", { class: "s-loyalty-program-table-empty-state" }, index.h("span", { innerHTML: gift.loyaltyProgramIcon }), index.h("div", { class: "s-loyalty-program-table-placeholder-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_title')), index.h("div", { class: "s-loyalty-program-table-placeholder-sub-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_sub_title'))))))))));
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
SallaWalletTable.style = sallaLoyaltyProgramCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D2SICJqL.js');
|
|
7
7
|
var cancel = require('./cancel-De6vslRA.js');
|
|
8
8
|
|
|
9
9
|
const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
|
|
@@ -24,7 +24,7 @@ const SallaMaintenanceAlert = class {
|
|
|
24
24
|
this.host.style.display = 'none';
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (index.h(index.Host, { key: '
|
|
27
|
+
return (index.h(index.Host, { key: '01c89bdfb43cf8167a80c3b534db99c2b065b470', class: "s-maintenance-alert-wrapper" }, index.h("button", { key: 'f0fec5518de00e00302f157b99c38c645b5c1b7b', class: "s-maintenance-alert-close", innerHTML: cancel.Cancel, onClick: () => this.closeAlert() }), index.h("div", { key: 'e1f17c022bf2c7f375c07f39f6d30e55895d8dac', class: "s-maintenance-alert-content" }, index.h("div", { key: '511254633626bb8a2b1ce31941cc738d67a90d78', class: "s-maintenance-alert-container" }, index.h("div", { key: '2d9383e29fdfb9af904e2892801518c6d6f880eb', class: "s-maintenance-alert-icon" }, index.h("img", { key: '4937284ac2ded08930bed981895ad66f08c6c6c3', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), index.h("div", { key: 'faf22e77325fc231bc03f5e78116a53110cd5b76', class: "s-maintenance-alert-text" }, index.h("h2", { key: 'a0bb82c477b0b7f2bfe096a7a1496b05649ece8f' }, this.title), index.h("p", { key: '6120b9c1029eb13b75829d4e87398b245f7e6f8c' }, this.message))), index.h("div", { key: '33513f0620a097f742dbb0c42a0612e7d25e9ac1' }, index.h("a", { key: 'de397335279f2ac6127e591599d9562029bfb462', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
|
|
28
28
|
}
|
|
29
29
|
componentDidLoad() {
|
|
30
30
|
//auto-hide the alert if close button is clicked before one hour
|